-
Notifications
You must be signed in to change notification settings - Fork 24
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
Conversation
✅ Deploy Preview for kongponents-sandbox ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for kongponents ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
docs/components/radio.md
Outdated
<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" | ||
/> | ||
``` |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 😅)
Co-authored-by: Adam DeHaven <[email protected]>
## [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))
🎉 This PR is included in version 9.14.12 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
Addresses: https://konghq.atlassian.net/browse/KHCP-13540
Adds
cardOrientation
andshowCardRadio
props