kumahq / kuma-gui

🐻 A GUI built on Vue.js for use with Kuma.
https://kuma.io/
Apache License 2.0
39 stars 22 forks source link

fix(kuma-gui/x-prompt): unsupported KPrompt prop type #3177

Closed schogges closed 2 weeks ago

schogges commented 2 weeks ago

The current version of kongponents dropped the support of the prop type on the KPrompt component. On the XPrompt component we want to continue to abstract away the new props that allow more granular control about the appearance and therefore make it easier to use. Instead of hardcoding :action-button-appearance="danger" or ="props.type" I thought it's better to keep this separated, so whenever we need to add another option for type (that is probably not available in kongponents), this should still work as :action-button-appearance has to be aligned with the options of KButton.appearance. For now the fallback to everything but danger is primary.

Closes #3178

netlify[bot] commented 2 weeks ago

Deploy Preview for kuma-gui ready!

Name Link
Latest commit c14de739ce3dfdcbcea5bf54542aa309a860a419
Latest deploy log https://app.netlify.com/sites/kuma-gui/deploys/6734e080f718560008b96b5c
Deploy Preview https://deploy-preview-3177--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.