Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kradio): show-card-radio and card-orientation props [KHCP-13540] #2504

Merged
merged 6 commits into from
Nov 13, 2024

Conversation

portikM
Copy link
Member

@portikM portikM commented Nov 5, 2024

Summary

Addresses: https://konghq.atlassian.net/browse/KHCP-13540

Adds cardOrientation and showCardRadio props

Screenshot 2024-11-05 at 12 40 40 PM
Screenshot 2024-11-05 at 12 59 01 PM
Screenshot 2024-11-05 at 12 41 02 PM

@portikM portikM self-assigned this Nov 5, 2024
@portikM portikM requested review from adamdehaven, jillztom, Justineo and a team as code owners November 5, 2024 17:41
Copy link

netlify bot commented Nov 5, 2024

Deploy Preview for kongponents-sandbox ready!

Name Link
🔨 Latest commit ca9f295
🔍 Latest deploy log https://app.netlify.com/sites/kongponents-sandbox/deploys/6734c81b9f576e0008e31a0d
😎 Deploy Preview https://deploy-preview-2504--kongponents-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 5, 2024

Deploy Preview for kongponents ready!

Name Link
🔨 Latest commit ca9f295
🔍 Latest deploy log https://app.netlify.com/sites/kongponents/deploys/6734c81b63e4ce0008e7a783
😎 Deploy Preview https://deploy-preview-2504--kongponents.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

docs/components/radio.md Outdated Show resolved Hide resolved
Comment on lines 178 to 220
<KRadio
v-model="horizontalCard"
card
card-orientation="horizontal"
description="Choose this option if you want your APIs to only be accessible from within your private network."
label="Private"
selected-value="private"
>
<KBadge appearance="success">
Recommended
</KBadge>
</KRadio>
<KRadio
v-model="horizontalCard"
card
card-orientation="horizontal"
description="Choose this option if you want your APIs to be publicly accessible by anyone on the internet."
label="Public"
selected-value="public"
/>

```html
<KRadio
card-orientation="horizontal"
v-model="cardRadio"
description="Choose this option if you want your APIs to only be accessible from within your private network."
card
label="Private"
selected-value="private"
>
<KBadge appearance="success">
Recommended
</KBadge>
</KRadio>
<KRadio
card-orientation="horizontal"
v-model="cardRadio"
description="Choose this option if you want your APIs to be publicly accessible by anyone on the internet."
card
label="Public"
selected-value="public"
/>
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super-nit: flip the order here so that the "Public" option is first and recommended.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's super nit
I'll keep it as is if you don't mind (this order pleases me aesthetically 😅)

docs/components/radio.md Show resolved Hide resolved
docs/components/radio.md Outdated Show resolved Hide resolved
docs/components/radio.md Outdated Show resolved Hide resolved
src/components/KRadio/KRadio.vue Show resolved Hide resolved
src/components/KRadio/KRadio.vue Outdated Show resolved Hide resolved
src/components/KRadio/KRadio.vue Show resolved Hide resolved
@portikM portikM requested a review from adamdehaven November 7, 2024 20:58
@portikM portikM merged commit 61b1d74 into main Nov 13, 2024
11 checks passed
@portikM portikM deleted the fix/khcp-13540-kradio-orientation branch November 13, 2024 15:51
kongponents-bot pushed a commit that referenced this pull request Nov 13, 2024
## [9.14.12](v9.14.11...v9.14.12) (2024-11-13)

### Bug Fixes

* **kradio:** show-card-radio and card-orientation props [KHCP-13540] ([#2504](#2504)) ([61b1d74](61b1d74))
@kongponents-bot
Copy link
Collaborator

🎉 This PR is included in version 9.14.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants