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

refactor: update Kongponents to KModal/KPrompt milestone #2118

Merged
merged 4 commits into from
Feb 5, 2024
Merged

refactor: update Kongponents to KModal/KPrompt milestone #2118

merged 4 commits into from
Feb 5, 2024

Conversation

kleinfreund
Copy link
Contributor

@kleinfreund kleinfreund commented Jan 31, 2024

chore(KModal): address breaking changes

Rename props.isVisible to props.visible.

Rename canceled event to cancel.

Remove header-content slot use as it’s not needed anymore. The props.title string will be used automatically.

Change body-content slot to default slot.

Change action-buttons slot to footer-actions slot.

chore(KPrompt): address breaking changes

Rename props.isVisible to props.visible.

Rename canceled event to cancel.

Change body-content slot to default slot.

chore(zones): remove divider from single item dropdown item

Signed-off-by: Philipp Rudloff philipp.rudloff@konghq.com


Previous Kongponents v9 adoption PRs:

@kleinfreund kleinfreund self-assigned this Jan 31, 2024
Copy link

netlify bot commented Jan 31, 2024

Deploy Preview for kuma-gui ready!

Name Link
🔨 Latest commit a681b12
🔍 Latest deploy log https://app.netlify.com/sites/kuma-gui/deploys/65c102c468b910000808c3b3
😎 Deploy Preview https://deploy-preview-2118--kuma-gui.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.

@kleinfreund kleinfreund marked this pull request as ready for review February 5, 2024 13:33
@kleinfreund kleinfreund requested a review from a team as a code owner February 5, 2024 13:33
@kleinfreund kleinfreund requested review from johncowen and removed request for a team February 5, 2024 13:33
Copy link
Contributor

@johncowen johncowen left a comment

Choose a reason for hiding this comment

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

LGTM, I very much like that these are looking/feeling much more like HTML components with the shorter attribute names etc 👍

Philipp Rudloff added 4 commits February 5, 2024 16:46
Signed-off-by: Philipp Rudloff <philipp.rudloff@konghq.com>
Rename `props.isVisible` to `props.visible`.

Rename `canceled` event to `cancel`.

Remove `header-content` slot use as it’s not needed anymore. The `props.title` string will be used automatically.

Change `body-content` slot to default slot.

Change `action-buttons` slot to `footer-actions` slot.

Signed-off-by: Philipp Rudloff <philipp.rudloff@konghq.com>
Rename `props.isVisible` to `props.visible`.

Rename `canceled` event to `cancel`.

Change `body-content` slot to default slot.

Signed-off-by: Philipp Rudloff <philipp.rudloff@konghq.com>
Signed-off-by: Philipp Rudloff <philipp.rudloff@konghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants