@poppy-ui/vue 0.0.0-dev.36.93ba5b2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +103 -0
- package/dist/ClassWrapper-BNZO3mhP.cjs +2 -0
- package/dist/ClassWrapper-BNZO3mhP.cjs.map +1 -0
- package/dist/ClassWrapper-DdnnHfAj.js +24 -0
- package/dist/ClassWrapper-DdnnHfAj.js.map +1 -0
- package/dist/Toast-DuytECg8.cjs +2 -0
- package/dist/Toast-DuytECg8.cjs.map +1 -0
- package/dist/Toast-fSQWLl0R.js +63 -0
- package/dist/Toast-fSQWLl0R.js.map +1 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/_plugin-vue_export-helper-BTmtiIyf.cjs +1 -0
- package/dist/build-class.util-Cp-ZBFgO.js +1730 -0
- package/dist/build-class.util-Cp-ZBFgO.js.map +1 -0
- package/dist/build-class.util-Lo1-M_t1.cjs +2 -0
- package/dist/build-class.util-Lo1-M_t1.cjs.map +1 -0
- package/dist/components/ClassWrapper.d.ts +27 -0
- package/dist/components/ClassWrapper.d.ts.map +1 -0
- package/dist/components/actions/button/Button.d.ts +21 -0
- package/dist/components/actions/button/Button.d.ts.map +1 -0
- package/dist/components/actions/button/button.context.d.ts +2 -0
- package/dist/components/actions/button/button.context.d.ts.map +1 -0
- package/dist/components/actions/button/button.props.d.ts +58 -0
- package/dist/components/actions/button/button.props.d.ts.map +1 -0
- package/dist/components/actions/button/button.types.d.ts +7 -0
- package/dist/components/actions/button/button.types.d.ts.map +1 -0
- package/dist/components/actions/dropdown/Dropdown.d.ts +25 -0
- package/dist/components/actions/dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/actions/dropdown/dropdown.context.d.ts +2 -0
- package/dist/components/actions/dropdown/dropdown.context.d.ts.map +1 -0
- package/dist/components/actions/dropdown/dropdown.props.d.ts +60 -0
- package/dist/components/actions/dropdown/dropdown.props.d.ts.map +1 -0
- package/dist/components/actions/dropdown/dropdown.types.d.ts +4 -0
- package/dist/components/actions/dropdown/dropdown.types.d.ts.map +1 -0
- package/dist/components/actions/fab/Fab.d.ts +16 -0
- package/dist/components/actions/fab/Fab.d.ts.map +1 -0
- package/dist/components/actions/fab/fab.context.d.ts +2 -0
- package/dist/components/actions/fab/fab.context.d.ts.map +1 -0
- package/dist/components/actions/fab/fab.props.d.ts +11 -0
- package/dist/components/actions/fab/fab.props.d.ts.map +1 -0
- package/dist/components/actions/fab/fab.types.d.ts +2 -0
- package/dist/components/actions/fab/fab.types.d.ts.map +1 -0
- package/dist/components/actions/modal/Modal.d.ts +42 -0
- package/dist/components/actions/modal/Modal.d.ts.map +1 -0
- package/dist/components/actions/modal/modal.context.d.ts +2 -0
- package/dist/components/actions/modal/modal.context.d.ts.map +1 -0
- package/dist/components/actions/modal/modal.props.d.ts +31 -0
- package/dist/components/actions/modal/modal.props.d.ts.map +1 -0
- package/dist/components/actions/modal/modal.types.d.ts +2 -0
- package/dist/components/actions/modal/modal.types.d.ts.map +1 -0
- package/dist/components/actions/public.d.ts +6 -0
- package/dist/components/actions/public.d.ts.map +1 -0
- package/dist/components/actions/public.es.js +323 -0
- package/dist/components/actions/public.es.js.map +1 -0
- package/dist/components/actions/public.types.d.ts +11 -0
- package/dist/components/actions/public.types.d.ts.map +1 -0
- package/dist/components/actions/public.umd.js +2 -0
- package/dist/components/actions/public.umd.js.map +1 -0
- package/dist/components/actions/swap/Swap.d.ts +36 -0
- package/dist/components/actions/swap/Swap.d.ts.map +1 -0
- package/dist/components/actions/swap/swap.context.d.ts +2 -0
- package/dist/components/actions/swap/swap.context.d.ts.map +1 -0
- package/dist/components/actions/swap/swap.props.d.ts +18 -0
- package/dist/components/actions/swap/swap.props.d.ts.map +1 -0
- package/dist/components/actions/swap/swap.types.d.ts +2 -0
- package/dist/components/actions/swap/swap.types.d.ts.map +1 -0
- package/dist/components/app/PoppyApp.d.ts +14 -0
- package/dist/components/app/PoppyApp.d.ts.map +1 -0
- package/dist/components/app/public.d.ts +2 -0
- package/dist/components/app/public.d.ts.map +1 -0
- package/dist/components/app/public.es.js +42 -0
- package/dist/components/app/public.es.js.map +1 -0
- package/dist/components/app/public.umd.js +2 -0
- package/dist/components/app/public.umd.js.map +1 -0
- package/dist/components/data/checkbox/Checkbox.d.ts +25 -0
- package/dist/components/data/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/data/checkbox/checkbox.context.d.ts +2 -0
- package/dist/components/data/checkbox/checkbox.context.d.ts.map +1 -0
- package/dist/components/data/checkbox/checkbox.props.d.ts +44 -0
- package/dist/components/data/checkbox/checkbox.props.d.ts.map +1 -0
- package/dist/components/data/checkbox/checkbox.types.d.ts +4 -0
- package/dist/components/data/checkbox/checkbox.types.d.ts.map +1 -0
- package/dist/components/data/field-set/FieldSet.d.ts +21 -0
- package/dist/components/data/field-set/FieldSet.d.ts.map +1 -0
- package/dist/components/data/field-set/field-set.props.d.ts +20 -0
- package/dist/components/data/field-set/field-set.props.d.ts.map +1 -0
- package/dist/components/data/form/Form.d.ts +37 -0
- package/dist/components/data/form/Form.d.ts.map +1 -0
- package/dist/components/data/form/form.context.d.ts +57 -0
- package/dist/components/data/form/form.context.d.ts.map +1 -0
- package/dist/components/data/form/form.props.d.ts +28 -0
- package/dist/components/data/form/form.props.d.ts.map +1 -0
- package/dist/components/data/form/form.types.d.ts +25 -0
- package/dist/components/data/form/form.types.d.ts.map +1 -0
- package/dist/components/data/form-field/FormField.d.ts +28 -0
- package/dist/components/data/form-field/FormField.d.ts.map +1 -0
- package/dist/components/data/form-field/form-field.context.d.ts +53 -0
- package/dist/components/data/form-field/form-field.context.d.ts.map +1 -0
- package/dist/components/data/form-field/form-field.props.d.ts +37 -0
- package/dist/components/data/form-field/form-field.props.d.ts.map +1 -0
- package/dist/components/data/form-field/form-field.types.d.ts +2 -0
- package/dist/components/data/form-field/form-field.types.d.ts.map +1 -0
- package/dist/components/data/input/Input.d.ts +31 -0
- package/dist/components/data/input/Input.d.ts.map +1 -0
- package/dist/components/data/input/input.context.d.ts +2 -0
- package/dist/components/data/input/input.context.d.ts.map +1 -0
- package/dist/components/data/input/input.props.d.ts +78 -0
- package/dist/components/data/input/input.props.d.ts.map +1 -0
- package/dist/components/data/input/input.types.d.ts +6 -0
- package/dist/components/data/input/input.types.d.ts.map +1 -0
- package/dist/components/data/public.d.ts +13 -0
- package/dist/components/data/public.d.ts.map +1 -0
- package/dist/components/data/public.es.js +1816 -0
- package/dist/components/data/public.es.js.map +1 -0
- package/dist/components/data/public.types.d.ts +21 -0
- package/dist/components/data/public.types.d.ts.map +1 -0
- package/dist/components/data/public.umd.js +2 -0
- package/dist/components/data/public.umd.js.map +1 -0
- package/dist/components/data/radio/Radio.d.ts +25 -0
- package/dist/components/data/radio/Radio.d.ts.map +1 -0
- package/dist/components/data/radio/radio.context.d.ts +2 -0
- package/dist/components/data/radio/radio.context.d.ts.map +1 -0
- package/dist/components/data/radio/radio.props.d.ts +47 -0
- package/dist/components/data/radio/radio.props.d.ts.map +1 -0
- package/dist/components/data/radio/radio.types.d.ts +4 -0
- package/dist/components/data/radio/radio.types.d.ts.map +1 -0
- package/dist/components/data/radio-group/RadioGroup.d.ts +28 -0
- package/dist/components/data/radio-group/RadioGroup.d.ts.map +1 -0
- package/dist/components/data/radio-group/radio-group.context.d.ts +13 -0
- package/dist/components/data/radio-group/radio-group.context.d.ts.map +1 -0
- package/dist/components/data/radio-group/radio-group.props.d.ts +12 -0
- package/dist/components/data/radio-group/radio-group.props.d.ts.map +1 -0
- package/dist/components/data/rating/Rating.d.ts +26 -0
- package/dist/components/data/rating/Rating.d.ts.map +1 -0
- package/dist/components/data/rating/rating.context.d.ts +2 -0
- package/dist/components/data/rating/rating.context.d.ts.map +1 -0
- package/dist/components/data/rating/rating.props.d.ts +44 -0
- package/dist/components/data/rating/rating.props.d.ts.map +1 -0
- package/dist/components/data/rating/rating.types.d.ts +6 -0
- package/dist/components/data/rating/rating.types.d.ts.map +1 -0
- package/dist/components/data/select/Select.d.ts +79 -0
- package/dist/components/data/select/Select.d.ts.map +1 -0
- package/dist/components/data/select/select.context.d.ts +2 -0
- package/dist/components/data/select/select.context.d.ts.map +1 -0
- package/dist/components/data/select/select.props.d.ts +99 -0
- package/dist/components/data/select/select.props.d.ts.map +1 -0
- package/dist/components/data/select/select.types.d.ts +20 -0
- package/dist/components/data/select/select.types.d.ts.map +1 -0
- package/dist/components/data/slider/Slider.d.ts +29 -0
- package/dist/components/data/slider/Slider.d.ts.map +1 -0
- package/dist/components/data/slider/slider.context.d.ts +2 -0
- package/dist/components/data/slider/slider.context.d.ts.map +1 -0
- package/dist/components/data/slider/slider.props.d.ts +70 -0
- package/dist/components/data/slider/slider.props.d.ts.map +1 -0
- package/dist/components/data/slider/slider.types.d.ts +7 -0
- package/dist/components/data/slider/slider.types.d.ts.map +1 -0
- package/dist/components/data/textarea/Textarea.d.ts +22 -0
- package/dist/components/data/textarea/Textarea.d.ts.map +1 -0
- package/dist/components/data/textarea/textarea.context.d.ts +2 -0
- package/dist/components/data/textarea/textarea.context.d.ts.map +1 -0
- package/dist/components/data/textarea/textarea.props.d.ts +64 -0
- package/dist/components/data/textarea/textarea.props.d.ts.map +1 -0
- package/dist/components/data/textarea/textarea.types.d.ts +5 -0
- package/dist/components/data/textarea/textarea.types.d.ts.map +1 -0
- package/dist/components/data/toggle/Toggle.d.ts +31 -0
- package/dist/components/data/toggle/Toggle.d.ts.map +1 -0
- package/dist/components/data/toggle/toggle.context.d.ts +2 -0
- package/dist/components/data/toggle/toggle.context.d.ts.map +1 -0
- package/dist/components/data/toggle/toggle.props.d.ts +38 -0
- package/dist/components/data/toggle/toggle.props.d.ts.map +1 -0
- package/dist/components/data/toggle/toggle.types.d.ts +4 -0
- package/dist/components/data/toggle/toggle.types.d.ts.map +1 -0
- package/dist/components/display/accordion/Accordion.d.ts +42 -0
- package/dist/components/display/accordion/Accordion.d.ts.map +1 -0
- package/dist/components/display/accordion/AccordionItem.d.ts +35 -0
- package/dist/components/display/accordion/AccordionItem.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion-item.context.d.ts +2 -0
- package/dist/components/display/accordion/accordion-item.context.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion-item.props.d.ts +19 -0
- package/dist/components/display/accordion/accordion-item.props.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion-item.types.d.ts +2 -0
- package/dist/components/display/accordion/accordion-item.types.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion.context.d.ts +9 -0
- package/dist/components/display/accordion/accordion.context.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion.props.d.ts +15 -0
- package/dist/components/display/accordion/accordion.props.d.ts.map +1 -0
- package/dist/components/display/avatar/Avatar.d.ts +14 -0
- package/dist/components/display/avatar/Avatar.d.ts.map +1 -0
- package/dist/components/display/avatar/avatar.context.d.ts +2 -0
- package/dist/components/display/avatar/avatar.context.d.ts.map +1 -0
- package/dist/components/display/avatar/avatar.props.d.ts +45 -0
- package/dist/components/display/avatar/avatar.props.d.ts.map +1 -0
- package/dist/components/display/avatar/avatar.types.d.ts +5 -0
- package/dist/components/display/avatar/avatar.types.d.ts.map +1 -0
- package/dist/components/display/badge/Badge.d.ts +12 -0
- package/dist/components/display/badge/Badge.d.ts.map +1 -0
- package/dist/components/display/badge/badge.context.d.ts +2 -0
- package/dist/components/display/badge/badge.context.d.ts.map +1 -0
- package/dist/components/display/badge/badge.props.d.ts +20 -0
- package/dist/components/display/badge/badge.props.d.ts.map +1 -0
- package/dist/components/display/badge/badge.types.d.ts +5 -0
- package/dist/components/display/badge/badge.types.d.ts.map +1 -0
- package/dist/components/display/card/Card.d.ts +12 -0
- package/dist/components/display/card/Card.d.ts.map +1 -0
- package/dist/components/display/card/CardActions.d.ts +12 -0
- package/dist/components/display/card/CardActions.d.ts.map +1 -0
- package/dist/components/display/card/CardBody.d.ts +14 -0
- package/dist/components/display/card/CardBody.d.ts.map +1 -0
- package/dist/components/display/card/CardTitle.d.ts +14 -0
- package/dist/components/display/card/CardTitle.d.ts.map +1 -0
- package/dist/components/display/card/card-actions.context.d.ts +2 -0
- package/dist/components/display/card/card-actions.context.d.ts.map +1 -0
- package/dist/components/display/card/card-actions.props.d.ts +15 -0
- package/dist/components/display/card/card-actions.props.d.ts.map +1 -0
- package/dist/components/display/card/card-actions.types.d.ts +2 -0
- package/dist/components/display/card/card-actions.types.d.ts.map +1 -0
- package/dist/components/display/card/card.context.d.ts +2 -0
- package/dist/components/display/card/card.context.d.ts.map +1 -0
- package/dist/components/display/card/card.props.d.ts +30 -0
- package/dist/components/display/card/card.props.d.ts.map +1 -0
- package/dist/components/display/card/card.types.d.ts +4 -0
- package/dist/components/display/card/card.types.d.ts.map +1 -0
- package/dist/components/display/carousel/Carousel.d.ts +16 -0
- package/dist/components/display/carousel/Carousel.d.ts.map +1 -0
- package/dist/components/display/carousel/carousel.context.d.ts +2 -0
- package/dist/components/display/carousel/carousel.context.d.ts.map +1 -0
- package/dist/components/display/carousel/carousel.props.d.ts +52 -0
- package/dist/components/display/carousel/carousel.props.d.ts.map +1 -0
- package/dist/components/display/carousel/carousel.types.d.ts +3 -0
- package/dist/components/display/carousel/carousel.types.d.ts.map +1 -0
- package/dist/components/display/chat/Chat.d.ts +20 -0
- package/dist/components/display/chat/Chat.d.ts.map +1 -0
- package/dist/components/display/chat/chat.context.d.ts +2 -0
- package/dist/components/display/chat/chat.context.d.ts.map +1 -0
- package/dist/components/display/chat/chat.props.d.ts +18 -0
- package/dist/components/display/chat/chat.props.d.ts.map +1 -0
- package/dist/components/display/chat/chat.types.d.ts +3 -0
- package/dist/components/display/chat/chat.types.d.ts.map +1 -0
- package/dist/components/display/countdown/Countdown.d.ts +38 -0
- package/dist/components/display/countdown/Countdown.d.ts.map +1 -0
- package/dist/components/display/countdown/countdown.context.d.ts +2 -0
- package/dist/components/display/countdown/countdown.context.d.ts.map +1 -0
- package/dist/components/display/countdown/countdown.props.d.ts +25 -0
- package/dist/components/display/countdown/countdown.props.d.ts.map +1 -0
- package/dist/components/display/countdown/countdown.types.d.ts +23 -0
- package/dist/components/display/countdown/countdown.types.d.ts.map +1 -0
- package/dist/components/display/diff/Diff.d.ts +16 -0
- package/dist/components/display/diff/Diff.d.ts.map +1 -0
- package/dist/components/display/hover-3d/Hover3d.d.ts +12 -0
- package/dist/components/display/hover-3d/Hover3d.d.ts.map +1 -0
- package/dist/components/display/hover-3d/hover-3d.props.d.ts +9 -0
- package/dist/components/display/hover-3d/hover-3d.props.d.ts.map +1 -0
- package/dist/components/display/hover-gallery/HoverGallery.d.ts +14 -0
- package/dist/components/display/hover-gallery/HoverGallery.d.ts.map +1 -0
- package/dist/components/display/kbd/Kbd.d.ts +12 -0
- package/dist/components/display/kbd/Kbd.d.ts.map +1 -0
- package/dist/components/display/kbd/kbd.context.d.ts +2 -0
- package/dist/components/display/kbd/kbd.context.d.ts.map +1 -0
- package/dist/components/display/kbd/kbd.props.d.ts +12 -0
- package/dist/components/display/kbd/kbd.props.d.ts.map +1 -0
- package/dist/components/display/kbd/kbd.types.d.ts +3 -0
- package/dist/components/display/kbd/kbd.types.d.ts.map +1 -0
- package/dist/components/display/list/List.d.ts +17 -0
- package/dist/components/display/list/List.d.ts.map +1 -0
- package/dist/components/display/list/ListItem.d.ts +22 -0
- package/dist/components/display/list/ListItem.d.ts.map +1 -0
- package/dist/components/display/list/list-item.props.d.ts +17 -0
- package/dist/components/display/list/list-item.props.d.ts.map +1 -0
- package/dist/components/display/list/list.props.d.ts +8 -0
- package/dist/components/display/list/list.props.d.ts.map +1 -0
- package/dist/components/display/public.d.ts +21 -0
- package/dist/components/display/public.d.ts.map +1 -0
- package/dist/components/display/public.es.js +2 -0
- package/dist/components/display/public.types.d.ts +28 -0
- package/dist/components/display/public.types.d.ts.map +1 -0
- package/dist/components/display/public.umd.js +1 -0
- package/dist/components/display/stat/Stat.d.ts +22 -0
- package/dist/components/display/stat/Stat.d.ts.map +1 -0
- package/dist/components/display/stat/Stats.d.ts +12 -0
- package/dist/components/display/stat/Stats.d.ts.map +1 -0
- package/dist/components/display/stat/stat.context.d.ts +2 -0
- package/dist/components/display/stat/stat.context.d.ts.map +1 -0
- package/dist/components/display/stat/stat.props.d.ts +42 -0
- package/dist/components/display/stat/stat.props.d.ts.map +1 -0
- package/dist/components/display/stat/stat.types.d.ts +2 -0
- package/dist/components/display/stat/stat.types.d.ts.map +1 -0
- package/dist/components/display/stat/stats.context.d.ts +2 -0
- package/dist/components/display/stat/stats.context.d.ts.map +1 -0
- package/dist/components/display/stat/stats.props.d.ts +11 -0
- package/dist/components/display/stat/stats.props.d.ts.map +1 -0
- package/dist/components/display/stat/stats.types.d.ts +2 -0
- package/dist/components/display/stat/stats.types.d.ts.map +1 -0
- package/dist/components/display/status/Status.d.ts +5 -0
- package/dist/components/display/status/Status.d.ts.map +1 -0
- package/dist/components/display/status/status.context.d.ts +2 -0
- package/dist/components/display/status/status.context.d.ts.map +1 -0
- package/dist/components/display/status/status.props.d.ts +27 -0
- package/dist/components/display/status/status.props.d.ts.map +1 -0
- package/dist/components/display/status/status.types.d.ts +5 -0
- package/dist/components/display/status/status.types.d.ts.map +1 -0
- package/dist/components/feedback/alert/Alert.d.ts +14 -0
- package/dist/components/feedback/alert/Alert.d.ts.map +1 -0
- package/dist/components/feedback/alert/alert.context.d.ts +2 -0
- package/dist/components/feedback/alert/alert.context.d.ts.map +1 -0
- package/dist/components/feedback/alert/alert.props.d.ts +27 -0
- package/dist/components/feedback/alert/alert.props.d.ts.map +1 -0
- package/dist/components/feedback/alert/alert.types.d.ts +4 -0
- package/dist/components/feedback/alert/alert.types.d.ts.map +1 -0
- package/dist/components/feedback/loading/Loading.d.ts +5 -0
- package/dist/components/feedback/loading/Loading.d.ts.map +1 -0
- package/dist/components/feedback/loading/loading.context.d.ts +2 -0
- package/dist/components/feedback/loading/loading.context.d.ts.map +1 -0
- package/dist/components/feedback/loading/loading.props.d.ts +23 -0
- package/dist/components/feedback/loading/loading.props.d.ts.map +1 -0
- package/dist/components/feedback/loading/loading.types.d.ts +5 -0
- package/dist/components/feedback/loading/loading.types.d.ts.map +1 -0
- package/dist/components/feedback/progress/Progress.d.ts +5 -0
- package/dist/components/feedback/progress/Progress.d.ts.map +1 -0
- package/dist/components/feedback/progress/progress.context.d.ts +2 -0
- package/dist/components/feedback/progress/progress.context.d.ts.map +1 -0
- package/dist/components/feedback/progress/progress.props.d.ts +28 -0
- package/dist/components/feedback/progress/progress.props.d.ts.map +1 -0
- package/dist/components/feedback/progress/progress.types.d.ts +2 -0
- package/dist/components/feedback/progress/progress.types.d.ts.map +1 -0
- package/dist/components/feedback/public.d.ts +6 -0
- package/dist/components/feedback/public.d.ts.map +1 -0
- package/dist/components/feedback/public.es.js +128 -0
- package/dist/components/feedback/public.es.js.map +1 -0
- package/dist/components/feedback/public.types.d.ts +13 -0
- package/dist/components/feedback/public.types.d.ts.map +1 -0
- package/dist/components/feedback/public.umd.js +2 -0
- package/dist/components/feedback/public.umd.js.map +1 -0
- package/dist/components/feedback/radial-progress/radial-progress.context.d.ts +2 -0
- package/dist/components/feedback/radial-progress/radial-progress.context.d.ts.map +1 -0
- package/dist/components/feedback/radial-progress/radial-progress.props.d.ts +32 -0
- package/dist/components/feedback/radial-progress/radial-progress.props.d.ts.map +1 -0
- package/dist/components/feedback/radial-progress/radial-progress.types.d.ts +2 -0
- package/dist/components/feedback/radial-progress/radial-progress.types.d.ts.map +1 -0
- package/dist/components/feedback/toast/Toast.d.ts +12 -0
- package/dist/components/feedback/toast/Toast.d.ts.map +1 -0
- package/dist/components/feedback/toast/toast.context.d.ts +9 -0
- package/dist/components/feedback/toast/toast.context.d.ts.map +1 -0
- package/dist/components/feedback/toast/toast.props.d.ts +31 -0
- package/dist/components/feedback/toast/toast.props.d.ts.map +1 -0
- package/dist/components/feedback/toast/toast.types.d.ts +5 -0
- package/dist/components/feedback/toast/toast.types.d.ts.map +1 -0
- package/dist/components/feedback/tooltip/Tooltip.d.ts +14 -0
- package/dist/components/feedback/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/feedback/tooltip/tooltip.context.d.ts +2 -0
- package/dist/components/feedback/tooltip/tooltip.context.d.ts.map +1 -0
- package/dist/components/feedback/tooltip/tooltip.props.d.ts +39 -0
- package/dist/components/feedback/tooltip/tooltip.props.d.ts.map +1 -0
- package/dist/components/feedback/tooltip/tooltip.types.d.ts +3 -0
- package/dist/components/feedback/tooltip/tooltip.types.d.ts.map +1 -0
- package/dist/components/layout/divider/Divider.d.ts +12 -0
- package/dist/components/layout/divider/Divider.d.ts.map +1 -0
- package/dist/components/layout/divider/divider.context.d.ts +2 -0
- package/dist/components/layout/divider/divider.context.d.ts.map +1 -0
- package/dist/components/layout/divider/divider.props.d.ts +26 -0
- package/dist/components/layout/divider/divider.props.d.ts.map +1 -0
- package/dist/components/layout/divider/divider.types.d.ts +4 -0
- package/dist/components/layout/divider/divider.types.d.ts.map +1 -0
- package/dist/components/layout/drawer/Drawer.d.ts +39 -0
- package/dist/components/layout/drawer/Drawer.d.ts.map +1 -0
- package/dist/components/layout/drawer/drawer.context.d.ts +2 -0
- package/dist/components/layout/drawer/drawer.context.d.ts.map +1 -0
- package/dist/components/layout/drawer/drawer.props.d.ts +27 -0
- package/dist/components/layout/drawer/drawer.props.d.ts.map +1 -0
- package/dist/components/layout/drawer/drawer.types.d.ts +6 -0
- package/dist/components/layout/drawer/drawer.types.d.ts.map +1 -0
- package/dist/components/layout/indicator/Indicator.d.ts +14 -0
- package/dist/components/layout/indicator/Indicator.d.ts.map +1 -0
- package/dist/components/layout/indicator/indicator.context.d.ts +2 -0
- package/dist/components/layout/indicator/indicator.context.d.ts.map +1 -0
- package/dist/components/layout/indicator/indicator.props.d.ts +28 -0
- package/dist/components/layout/indicator/indicator.props.d.ts.map +1 -0
- package/dist/components/layout/indicator/indicator.types.d.ts +3 -0
- package/dist/components/layout/indicator/indicator.types.d.ts.map +1 -0
- package/dist/components/layout/join/Join.d.ts +12 -0
- package/dist/components/layout/join/Join.d.ts.map +1 -0
- package/dist/components/layout/join/join.context.d.ts +2 -0
- package/dist/components/layout/join/join.context.d.ts.map +1 -0
- package/dist/components/layout/join/join.props.d.ts +14 -0
- package/dist/components/layout/join/join.props.d.ts.map +1 -0
- package/dist/components/layout/join/join.types.d.ts +2 -0
- package/dist/components/layout/join/join.types.d.ts.map +1 -0
- package/dist/components/layout/mask/Mask.d.ts +12 -0
- package/dist/components/layout/mask/Mask.d.ts.map +1 -0
- package/dist/components/layout/mask/mask.context.d.ts +2 -0
- package/dist/components/layout/mask/mask.context.d.ts.map +1 -0
- package/dist/components/layout/mask/mask.props.d.ts +37 -0
- package/dist/components/layout/mask/mask.props.d.ts.map +1 -0
- package/dist/components/layout/mask/mask.types.d.ts +3 -0
- package/dist/components/layout/mask/mask.types.d.ts.map +1 -0
- package/dist/components/layout/public.d.ts +7 -0
- package/dist/components/layout/public.d.ts.map +1 -0
- package/dist/components/layout/public.es.js +206 -0
- package/dist/components/layout/public.es.js.map +1 -0
- package/dist/components/layout/public.types.d.ts +13 -0
- package/dist/components/layout/public.types.d.ts.map +1 -0
- package/dist/components/layout/public.umd.js +2 -0
- package/dist/components/layout/public.umd.js.map +1 -0
- package/dist/components/layout/stack/Stack.d.ts +12 -0
- package/dist/components/layout/stack/Stack.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.context.d.ts +2 -0
- package/dist/components/layout/stack/stack.context.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.props.d.ts +12 -0
- package/dist/components/layout/stack/stack.props.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.types.d.ts +2 -0
- package/dist/components/layout/stack/stack.types.d.ts.map +1 -0
- package/dist/components/media/img/Img.d.ts +15 -0
- package/dist/components/media/img/Img.d.ts.map +1 -0
- package/dist/components/media/img/img.context.d.ts +2 -0
- package/dist/components/media/img/img.context.d.ts.map +1 -0
- package/dist/components/media/img/img.props.d.ts +76 -0
- package/dist/components/media/img/img.props.d.ts.map +1 -0
- package/dist/components/media/img/img.types.d.ts +33 -0
- package/dist/components/media/img/img.types.d.ts.map +1 -0
- package/dist/components/media/public.d.ts +2 -0
- package/dist/components/media/public.d.ts.map +1 -0
- package/dist/components/media/public.es.js +143 -0
- package/dist/components/media/public.es.js.map +1 -0
- package/dist/components/media/public.types.d.ts +3 -0
- package/dist/components/media/public.types.d.ts.map +1 -0
- package/dist/components/media/public.umd.js +2 -0
- package/dist/components/media/public.umd.js.map +1 -0
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +5 -0
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.context.d.ts +2 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.context.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.props.d.ts +17 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.props.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.types.d.ts +11 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.types.d.ts.map +1 -0
- package/dist/components/navigation/dock/Dock.d.ts +12 -0
- package/dist/components/navigation/dock/Dock.d.ts.map +1 -0
- package/dist/components/navigation/dock/DockItem.d.ts +5 -0
- package/dist/components/navigation/dock/DockItem.d.ts.map +1 -0
- package/dist/components/navigation/dock/dock.context.d.ts +3 -0
- package/dist/components/navigation/dock/dock.context.d.ts.map +1 -0
- package/dist/components/navigation/dock/dock.props.d.ts +30 -0
- package/dist/components/navigation/dock/dock.props.d.ts.map +1 -0
- package/dist/components/navigation/dock/dock.types.d.ts +3 -0
- package/dist/components/navigation/dock/dock.types.d.ts.map +1 -0
- package/dist/components/navigation/link/Link.d.ts +12 -0
- package/dist/components/navigation/link/Link.d.ts.map +1 -0
- package/dist/components/navigation/link/link.context.d.ts +2 -0
- package/dist/components/navigation/link/link.context.d.ts.map +1 -0
- package/dist/components/navigation/link/link.props.d.ts +21 -0
- package/dist/components/navigation/link/link.props.d.ts.map +1 -0
- package/dist/components/navigation/link/link.types.d.ts +2 -0
- package/dist/components/navigation/link/link.types.d.ts.map +1 -0
- package/dist/components/navigation/menu/Menu.d.ts +12 -0
- package/dist/components/navigation/menu/Menu.d.ts.map +1 -0
- package/dist/components/navigation/menu/MenuItem.d.ts +36 -0
- package/dist/components/navigation/menu/MenuItem.d.ts.map +1 -0
- package/dist/components/navigation/menu/menu.context.d.ts +3 -0
- package/dist/components/navigation/menu/menu.context.d.ts.map +1 -0
- package/dist/components/navigation/menu/menu.props.d.ts +61 -0
- package/dist/components/navigation/menu/menu.props.d.ts.map +1 -0
- package/dist/components/navigation/menu/menu.types.d.ts +4 -0
- package/dist/components/navigation/menu/menu.types.d.ts.map +1 -0
- package/dist/components/navigation/navbar/Navbar.d.ts +4 -0
- package/dist/components/navigation/navbar/Navbar.d.ts.map +1 -0
- package/dist/components/navigation/public.d.ts +10 -0
- package/dist/components/navigation/public.d.ts.map +1 -0
- package/dist/components/navigation/public.es.js +2 -0
- package/dist/components/navigation/public.types.d.ts +11 -0
- package/dist/components/navigation/public.types.d.ts.map +1 -0
- package/dist/components/navigation/public.umd.js +1 -0
- package/dist/components/navigation/tab/Tab.d.ts +19 -0
- package/dist/components/navigation/tab/Tab.d.ts.map +1 -0
- package/dist/components/navigation/tab/Tabs.d.ts +20 -0
- package/dist/components/navigation/tab/Tabs.d.ts.map +1 -0
- package/dist/components/navigation/tab/tab.context.d.ts +10 -0
- package/dist/components/navigation/tab/tab.context.d.ts.map +1 -0
- package/dist/components/navigation/tab/tab.props.d.ts +59 -0
- package/dist/components/navigation/tab/tab.props.d.ts.map +1 -0
- package/dist/components/navigation/tab/tab.types.d.ts +5 -0
- package/dist/components/navigation/tab/tab.types.d.ts.map +1 -0
- package/dist/composables/public.d.ts +6 -0
- package/dist/composables/public.d.ts.map +1 -0
- package/dist/composables/public.es.js +39 -0
- package/dist/composables/public.es.js.map +1 -0
- package/dist/composables/public.umd.js +2 -0
- package/dist/composables/public.umd.js.map +1 -0
- package/dist/composables/use-component-config.d.ts +27 -0
- package/dist/composables/use-component-config.d.ts.map +1 -0
- package/dist/composables/use-config.d.ts +2 -0
- package/dist/composables/use-config.d.ts.map +1 -0
- package/dist/composables/use-form-field.d.ts +24 -0
- package/dist/composables/use-form-field.d.ts.map +1 -0
- package/dist/composables/use-select-counter.d.ts +13 -0
- package/dist/composables/use-select-counter.d.ts.map +1 -0
- package/dist/composables/use-toast.d.ts +36 -0
- package/dist/composables/use-toast.d.ts.map +1 -0
- package/dist/config/config.type.d.ts +96 -0
- package/dist/config/config.type.d.ts.map +1 -0
- package/dist/config/public.d.ts +3 -0
- package/dist/config/public.d.ts.map +1 -0
- package/dist/config/public.es.js +2 -0
- package/dist/config/public.types.d.ts +2 -0
- package/dist/config/public.types.d.ts.map +1 -0
- package/dist/config/public.umd.js +1 -0
- package/dist/config/size.context.d.ts +4 -0
- package/dist/config/size.context.d.ts.map +1 -0
- package/dist/config/symbol.d.ts +4 -0
- package/dist/config/symbol.d.ts.map +1 -0
- package/dist/plugin-vue.d.ts +33 -0
- package/dist/plugin-vue.d.ts.map +1 -0
- package/dist/public-1PFjXgZ6.cjs +2 -0
- package/dist/public-1PFjXgZ6.cjs.map +1 -0
- package/dist/public-D_MhbTxP.cjs +2 -0
- package/dist/public-D_MhbTxP.cjs.map +1 -0
- package/dist/public-Dqelew6J.js +615 -0
- package/dist/public-Dqelew6J.js.map +1 -0
- package/dist/public-H9TCdoJr.js +296 -0
- package/dist/public-H9TCdoJr.js.map +1 -0
- package/dist/public.d.ts +12 -0
- package/dist/public.d.ts.map +1 -0
- package/dist/public.es.js +15 -0
- package/dist/public.es.js.map +1 -0
- package/dist/public.umd.js +2 -0
- package/dist/public.umd.js.map +1 -0
- package/dist/style.css +2 -0
- package/dist/symbol-Cleu4XHu.cjs +2 -0
- package/dist/symbol-Cleu4XHu.cjs.map +1 -0
- package/dist/symbol-CziS7Pho.js +13 -0
- package/dist/symbol-CziS7Pho.js.map +1 -0
- package/dist/toast.context-BNg0Zn09.cjs +2 -0
- package/dist/toast.context-BNg0Zn09.cjs.map +1 -0
- package/dist/toast.context-CTPY2imu.js +7 -0
- package/dist/toast.context-CTPY2imu.js.map +1 -0
- package/dist/types/public.d.ts +3 -0
- package/dist/types/public.d.ts.map +1 -0
- package/dist/types/public.es.js +0 -0
- package/dist/types/public.umd.js +1 -0
- package/dist/types/size.type.d.ts +2 -0
- package/dist/types/size.type.d.ts.map +1 -0
- package/dist/types/utils.type.d.ts +5 -0
- package/dist/types/utils.type.d.ts.map +1 -0
- package/dist/use-component-config-C-IlXF0W.cjs +2 -0
- package/dist/use-component-config-C-IlXF0W.cjs.map +1 -0
- package/dist/use-component-config-CaJQbJOW.js +20 -0
- package/dist/use-component-config-CaJQbJOW.js.map +1 -0
- package/dist/use-select-counter-CgQha-_T.cjs +2 -0
- package/dist/use-select-counter-CgQha-_T.cjs.map +1 -0
- package/dist/use-select-counter-D_-Qwz61.js +72 -0
- package/dist/use-select-counter-D_-Qwz61.js.map +1 -0
- package/dist/utils/build-class.util.d.ts +4 -0
- package/dist/utils/build-class.util.d.ts.map +1 -0
- package/dist/utils/get-validation-message.d.ts +22 -0
- package/dist/utils/get-validation-message.d.ts.map +1 -0
- package/dist/utils/path.d.ts +20 -0
- package/dist/utils/path.d.ts.map +1 -0
- package/dist/utils/props.util.d.ts +2 -0
- package/dist/utils/props.util.d.ts.map +1 -0
- package/dist/utils/public.d.ts +2 -0
- package/dist/utils/public.d.ts.map +1 -0
- package/package.json +138 -0
- package/src/components/ClassWrapper.vue +42 -0
- package/src/components/actions/button/Button.story.vue +184 -0
- package/src/components/actions/button/Button.vue +110 -0
- package/src/components/actions/button/button.context.ts +3 -0
- package/src/components/actions/button/button.props.ts +56 -0
- package/src/components/actions/button/button.types.ts +7 -0
- package/src/components/actions/dropdown/Dropdown.story.vue +360 -0
- package/src/components/actions/dropdown/Dropdown.vue +218 -0
- package/src/components/actions/dropdown/dropdown.context.ts +3 -0
- package/src/components/actions/dropdown/dropdown.props.ts +59 -0
- package/src/components/actions/dropdown/dropdown.types.ts +4 -0
- package/src/components/actions/fab/Fab.story.vue +227 -0
- package/src/components/actions/fab/Fab.vue +33 -0
- package/src/components/actions/fab/fab.context.ts +3 -0
- package/src/components/actions/fab/fab.props.ts +11 -0
- package/src/components/actions/fab/fab.types.ts +1 -0
- package/src/components/actions/modal/Modal.story.vue +285 -0
- package/src/components/actions/modal/Modal.vue +106 -0
- package/src/components/actions/modal/modal.context.ts +3 -0
- package/src/components/actions/modal/modal.props.ts +29 -0
- package/src/components/actions/modal/modal.types.ts +1 -0
- package/src/components/actions/public.ts +5 -0
- package/src/components/actions/public.types.ts +15 -0
- package/src/components/actions/swap/Swap.story.vue +302 -0
- package/src/components/actions/swap/Swap.vue +59 -0
- package/src/components/actions/swap/swap.context.ts +3 -0
- package/src/components/actions/swap/swap.props.ts +17 -0
- package/src/components/actions/swap/swap.types.ts +1 -0
- package/src/components/app/PoppyApp.vue +48 -0
- package/src/components/app/public.ts +1 -0
- package/src/components/data/checkbox/Checkbox.story.vue +206 -0
- package/src/components/data/checkbox/Checkbox.vue +139 -0
- package/src/components/data/checkbox/checkbox.context.ts +3 -0
- package/src/components/data/checkbox/checkbox.props.ts +42 -0
- package/src/components/data/checkbox/checkbox.types.ts +5 -0
- package/src/components/data/field-set/FieldSet.story.vue +163 -0
- package/src/components/data/field-set/FieldSet.vue +22 -0
- package/src/components/data/field-set/field-set.props.ts +21 -0
- package/src/components/data/form/Form.story.vue +144 -0
- package/src/components/data/form/Form.vue +235 -0
- package/src/components/data/form/form.context.ts +82 -0
- package/src/components/data/form/form.props.ts +30 -0
- package/src/components/data/form/form.types.ts +25 -0
- package/src/components/data/form-field/FormField.vue +176 -0
- package/src/components/data/form-field/form-field.context.ts +71 -0
- package/src/components/data/form-field/form-field.props.ts +42 -0
- package/src/components/data/form-field/form-field.types.ts +1 -0
- package/src/components/data/input/Input.story.vue +276 -0
- package/src/components/data/input/Input.vue +233 -0
- package/src/components/data/input/input.context.ts +3 -0
- package/src/components/data/input/input.props.ts +87 -0
- package/src/components/data/input/input.types.ts +10 -0
- package/src/components/data/public.ts +12 -0
- package/src/components/data/public.types.ts +30 -0
- package/src/components/data/radio/Radio.story.vue +228 -0
- package/src/components/data/radio/Radio.vue +152 -0
- package/src/components/data/radio/radio.context.ts +3 -0
- package/src/components/data/radio/radio.props.ts +53 -0
- package/src/components/data/radio/radio.types.ts +5 -0
- package/src/components/data/radio-group/RadioGroup.story.vue +155 -0
- package/src/components/data/radio-group/RadioGroup.vue +65 -0
- package/src/components/data/radio-group/radio-group.context.ts +14 -0
- package/src/components/data/radio-group/radio-group.props.ts +12 -0
- package/src/components/data/rating/Rating.story.vue +150 -0
- package/src/components/data/rating/Rating.vue +190 -0
- package/src/components/data/rating/rating.context.ts +3 -0
- package/src/components/data/rating/rating.props.ts +43 -0
- package/src/components/data/rating/rating.types.ts +8 -0
- package/src/components/data/select/Select.story.vue +317 -0
- package/src/components/data/select/Select.vue +747 -0
- package/src/components/data/select/select.context.ts +3 -0
- package/src/components/data/select/select.props.ts +110 -0
- package/src/components/data/select/select.types.ts +24 -0
- package/src/components/data/slider/Slider.story.vue +276 -0
- package/src/components/data/slider/Slider.vue +802 -0
- package/src/components/data/slider/slider.context.ts +3 -0
- package/src/components/data/slider/slider.props.ts +69 -0
- package/src/components/data/slider/slider.types.ts +11 -0
- package/src/components/data/textarea/Textarea.story.vue +222 -0
- package/src/components/data/textarea/Textarea.vue +168 -0
- package/src/components/data/textarea/textarea.context.ts +3 -0
- package/src/components/data/textarea/textarea.props.ts +71 -0
- package/src/components/data/textarea/textarea.types.ts +7 -0
- package/src/components/data/toggle/Toggle.story.vue +195 -0
- package/src/components/data/toggle/Toggle.vue +136 -0
- package/src/components/data/toggle/toggle.context.ts +3 -0
- package/src/components/data/toggle/toggle.props.ts +40 -0
- package/src/components/data/toggle/toggle.types.ts +5 -0
- package/src/components/display/accordion/Accordion.story.vue +482 -0
- package/src/components/display/accordion/Accordion.vue +112 -0
- package/src/components/display/accordion/AccordionItem.vue +111 -0
- package/src/components/display/accordion/accordion-item.context.ts +3 -0
- package/src/components/display/accordion/accordion-item.props.ts +20 -0
- package/src/components/display/accordion/accordion-item.types.ts +1 -0
- package/src/components/display/accordion/accordion.context.ts +10 -0
- package/src/components/display/accordion/accordion.props.ts +16 -0
- package/src/components/display/avatar/Avatar.story.vue +341 -0
- package/src/components/display/avatar/Avatar.vue +57 -0
- package/src/components/display/avatar/avatar.context.ts +3 -0
- package/src/components/display/avatar/avatar.props.ts +44 -0
- package/src/components/display/avatar/avatar.types.ts +5 -0
- package/src/components/display/badge/Badge.story.vue +156 -0
- package/src/components/display/badge/Badge.vue +51 -0
- package/src/components/display/badge/badge.context.ts +3 -0
- package/src/components/display/badge/badge.props.ts +22 -0
- package/src/components/display/badge/badge.types.ts +5 -0
- package/src/components/display/card/Card.story.vue +312 -0
- package/src/components/display/card/Card.vue +40 -0
- package/src/components/display/card/CardActions.vue +30 -0
- package/src/components/display/card/CardBody.vue +5 -0
- package/src/components/display/card/CardTitle.vue +5 -0
- package/src/components/display/card/card-actions.context.ts +3 -0
- package/src/components/display/card/card-actions.props.ts +15 -0
- package/src/components/display/card/card-actions.types.ts +1 -0
- package/src/components/display/card/card.context.ts +3 -0
- package/src/components/display/card/card.props.ts +29 -0
- package/src/components/display/card/card.types.ts +4 -0
- package/src/components/display/carousel/Carousel.story.vue +216 -0
- package/src/components/display/carousel/Carousel.vue +156 -0
- package/src/components/display/carousel/carousel.context.ts +3 -0
- package/src/components/display/carousel/carousel.props.ts +51 -0
- package/src/components/display/carousel/carousel.types.ts +2 -0
- package/src/components/display/chat/Chat.story.vue +251 -0
- package/src/components/display/chat/Chat.vue +56 -0
- package/src/components/display/chat/chat.context.ts +3 -0
- package/src/components/display/chat/chat.props.ts +19 -0
- package/src/components/display/chat/chat.types.ts +2 -0
- package/src/components/display/countdown/Countdown.story.vue +285 -0
- package/src/components/display/countdown/Countdown.vue +114 -0
- package/src/components/display/countdown/countdown.context.ts +3 -0
- package/src/components/display/countdown/countdown.props.ts +26 -0
- package/src/components/display/countdown/countdown.types.ts +24 -0
- package/src/components/display/diff/Diff.story.vue +118 -0
- package/src/components/display/diff/Diff.vue +13 -0
- package/src/components/display/hover-3d/Hover3d.story.vue +154 -0
- package/src/components/display/hover-3d/Hover3d.vue +37 -0
- package/src/components/display/hover-3d/hover-3d.props.ts +9 -0
- package/src/components/display/hover-gallery/HoverGallery.story.vue +121 -0
- package/src/components/display/hover-gallery/HoverGallery.vue +5 -0
- package/src/components/display/kbd/Kbd.story.vue +214 -0
- package/src/components/display/kbd/Kbd.vue +32 -0
- package/src/components/display/kbd/kbd.context.ts +3 -0
- package/src/components/display/kbd/kbd.props.ts +12 -0
- package/src/components/display/kbd/kbd.types.ts +3 -0
- package/src/components/display/list/List.story.vue +381 -0
- package/src/components/display/list/List.vue +14 -0
- package/src/components/display/list/ListItem.vue +53 -0
- package/src/components/display/list/list-item.props.ts +19 -0
- package/src/components/display/list/list.props.ts +7 -0
- package/src/components/display/public.ts +20 -0
- package/src/components/display/public.types.ts +40 -0
- package/src/components/display/stat/Stat.story.vue +181 -0
- package/src/components/display/stat/Stat.vue +43 -0
- package/src/components/display/stat/Stats.vue +29 -0
- package/src/components/display/stat/stat.context.ts +3 -0
- package/src/components/display/stat/stat.props.ts +50 -0
- package/src/components/display/stat/stat.types.ts +1 -0
- package/src/components/display/stat/stats.context.ts +3 -0
- package/src/components/display/stat/stats.props.ts +11 -0
- package/src/components/display/stat/stats.types.ts +1 -0
- package/src/components/display/status/Status.story.vue +195 -0
- package/src/components/display/status/Status.vue +70 -0
- package/src/components/display/status/status.context.ts +3 -0
- package/src/components/display/status/status.props.ts +30 -0
- package/src/components/display/status/status.types.ts +5 -0
- package/src/components/feedback/alert/Alert.story.vue +243 -0
- package/src/components/feedback/alert/Alert.vue +46 -0
- package/src/components/feedback/alert/alert.context.ts +3 -0
- package/src/components/feedback/alert/alert.props.ts +29 -0
- package/src/components/feedback/alert/alert.types.ts +3 -0
- package/src/components/feedback/loading/Loading.story.vue +156 -0
- package/src/components/feedback/loading/Loading.vue +55 -0
- package/src/components/feedback/loading/loading.context.ts +3 -0
- package/src/components/feedback/loading/loading.props.ts +25 -0
- package/src/components/feedback/loading/loading.types.ts +5 -0
- package/src/components/feedback/progress/Progress.story.vue +96 -0
- package/src/components/feedback/progress/Progress.vue +36 -0
- package/src/components/feedback/progress/progress.context.ts +3 -0
- package/src/components/feedback/progress/progress.props.ts +27 -0
- package/src/components/feedback/progress/progress.types.ts +1 -0
- package/src/components/feedback/public.ts +5 -0
- package/src/components/feedback/public.types.ts +18 -0
- package/src/components/feedback/radial-progress/RadialProgress.story.vue +118 -0
- package/src/components/feedback/radial-progress/RadialProgress.vue +46 -0
- package/src/components/feedback/radial-progress/radial-progress.context.ts +3 -0
- package/src/components/feedback/radial-progress/radial-progress.props.ts +35 -0
- package/src/components/feedback/radial-progress/radial-progress.types.ts +9 -0
- package/src/components/feedback/toast/Toast.story.vue +356 -0
- package/src/components/feedback/toast/Toast.vue +40 -0
- package/src/components/feedback/toast/toast.context.ts +12 -0
- package/src/components/feedback/toast/toast.props.ts +33 -0
- package/src/components/feedback/toast/toast.types.ts +5 -0
- package/src/components/feedback/tooltip/Tooltip.story.vue +256 -0
- package/src/components/feedback/tooltip/Tooltip.vue +123 -0
- package/src/components/feedback/tooltip/tooltip.context.ts +3 -0
- package/src/components/feedback/tooltip/tooltip.props.ts +44 -0
- package/src/components/feedback/tooltip/tooltip.types.ts +2 -0
- package/src/components/layout/divider/Divider.story.vue +217 -0
- package/src/components/layout/divider/Divider.vue +48 -0
- package/src/components/layout/divider/divider.context.ts +3 -0
- package/src/components/layout/divider/divider.props.ts +28 -0
- package/src/components/layout/divider/divider.types.ts +3 -0
- package/src/components/layout/drawer/Drawer.story.vue +301 -0
- package/src/components/layout/drawer/Drawer.vue +88 -0
- package/src/components/layout/drawer/drawer.context.ts +3 -0
- package/src/components/layout/drawer/drawer.props.ts +25 -0
- package/src/components/layout/drawer/drawer.types.ts +6 -0
- package/src/components/layout/indicator/Indicator.story.vue +264 -0
- package/src/components/layout/indicator/Indicator.vue +43 -0
- package/src/components/layout/indicator/indicator.context.ts +3 -0
- package/src/components/layout/indicator/indicator.props.ts +27 -0
- package/src/components/layout/indicator/indicator.types.ts +2 -0
- package/src/components/layout/join/Join.story.vue +147 -0
- package/src/components/layout/join/Join.vue +32 -0
- package/src/components/layout/join/join.context.ts +3 -0
- package/src/components/layout/join/join.props.ts +14 -0
- package/src/components/layout/join/join.types.ts +1 -0
- package/src/components/layout/mask/Mask.story.vue +181 -0
- package/src/components/layout/mask/Mask.vue +49 -0
- package/src/components/layout/mask/mask.context.ts +3 -0
- package/src/components/layout/mask/mask.props.ts +36 -0
- package/src/components/layout/mask/mask.types.ts +18 -0
- package/src/components/layout/public.ts +6 -0
- package/src/components/layout/public.types.ts +18 -0
- package/src/components/layout/stack/Stack.story.vue +170 -0
- package/src/components/layout/stack/Stack.vue +29 -0
- package/src/components/layout/stack/stack.context.ts +3 -0
- package/src/components/layout/stack/stack.props.ts +12 -0
- package/src/components/layout/stack/stack.types.ts +1 -0
- package/src/components/media/img/Img.story.vue +214 -0
- package/src/components/media/img/Img.vue +189 -0
- package/src/components/media/img/img.context.ts +3 -0
- package/src/components/media/img/img.props.ts +88 -0
- package/src/components/media/img/img.types.ts +35 -0
- package/src/components/media/public.ts +1 -0
- package/src/components/media/public.types.ts +3 -0
- package/src/components/navigation/breadcrumbs/Breadcrumbs.story.vue +94 -0
- package/src/components/navigation/breadcrumbs/Breadcrumbs.vue +53 -0
- package/src/components/navigation/breadcrumbs/breadcrumbs.context.ts +3 -0
- package/src/components/navigation/breadcrumbs/breadcrumbs.props.ts +18 -0
- package/src/components/navigation/breadcrumbs/breadcrumbs.types.ts +13 -0
- package/src/components/navigation/dock/Dock.story.vue +109 -0
- package/src/components/navigation/dock/Dock.vue +32 -0
- package/src/components/navigation/dock/DockItem.vue +50 -0
- package/src/components/navigation/dock/dock.context.ts +4 -0
- package/src/components/navigation/dock/dock.props.ts +34 -0
- package/src/components/navigation/dock/dock.types.ts +3 -0
- package/src/components/navigation/link/Link.story.vue +129 -0
- package/src/components/navigation/link/Link.vue +57 -0
- package/src/components/navigation/link/link.context.ts +3 -0
- package/src/components/navigation/link/link.props.ts +20 -0
- package/src/components/navigation/link/link.types.ts +1 -0
- package/src/components/navigation/menu/Menu.story.vue +284 -0
- package/src/components/navigation/menu/Menu.vue +41 -0
- package/src/components/navigation/menu/MenuItem.vue +106 -0
- package/src/components/navigation/menu/menu.context.ts +4 -0
- package/src/components/navigation/menu/menu.props.ts +59 -0
- package/src/components/navigation/menu/menu.types.ts +4 -0
- package/src/components/navigation/navbar/Navbar.story.vue +154 -0
- package/src/components/navigation/navbar/Navbar.vue +8 -0
- package/src/components/navigation/public.ts +9 -0
- package/src/components/navigation/public.types.ts +15 -0
- package/src/components/navigation/tab/Tab.story.vue +186 -0
- package/src/components/navigation/tab/Tab.vue +106 -0
- package/src/components/navigation/tab/Tabs.vue +76 -0
- package/src/components/navigation/tab/tab.context.ts +13 -0
- package/src/components/navigation/tab/tab.props.ts +57 -0
- package/src/components/navigation/tab/tab.types.ts +5 -0
- package/src/composables/public.ts +5 -0
- package/src/composables/use-component-config.ts +44 -0
- package/src/composables/use-config.ts +6 -0
- package/src/composables/use-form-field.ts +99 -0
- package/src/composables/use-select-counter.ts +58 -0
- package/src/composables/use-toast.ts +47 -0
- package/src/config/config.type.ts +109 -0
- package/src/config/public.ts +2 -0
- package/src/config/public.types.ts +1 -0
- package/src/config/size.context.ts +4 -0
- package/src/config/symbol.ts +15 -0
- package/src/histoire.css +8 -0
- package/src/plugin-vue.ts +54 -0
- package/src/public.ts +12 -0
- package/src/stories/Configuration.story.md +55 -0
- package/src/types/public.ts +2 -0
- package/src/types/size.type.ts +1 -0
- package/src/types/utils.type.ts +5 -0
- package/src/utils/build-class.util.ts +38 -0
- package/src/utils/get-validation-message.ts +61 -0
- package/src/utils/path.ts +102 -0
- package/src/utils/props.util.ts +11 -0
- package/src/utils/public.ts +1 -0
- package/src/vite-env.d.ts +11 -0
- package/src/vue.d.ts +15 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { computed, useSlots } from 'vue'
|
|
3
|
+
import { RouterLink } from 'vue-router'
|
|
4
|
+
import type { ListItemProps } from './list-item.props'
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<script setup lang="ts">
|
|
8
|
+
const props = defineProps<ListItemProps>()
|
|
9
|
+
|
|
10
|
+
const tag = computed(() => props.to ? props.to === '#' ? 'a' : RouterLink : 'li')
|
|
11
|
+
const attr = computed(() => {
|
|
12
|
+
if (tag.value === 'a') {
|
|
13
|
+
return {
|
|
14
|
+
href: props.to
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
if (tag.value === 'li') {
|
|
18
|
+
return {}
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
to: props.to
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
const slots = useSlots()
|
|
26
|
+
const hasContent = computed(() => !!props.title || !!props.description || !!slots.title || !!slots.description)
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<component
|
|
31
|
+
:is="tag"
|
|
32
|
+
class="list-row"
|
|
33
|
+
v-bind="attr"
|
|
34
|
+
>
|
|
35
|
+
<slot name="prefix" />
|
|
36
|
+
|
|
37
|
+
<div v-if="hasContent" class="list-col-grow">
|
|
38
|
+
<slot name="title">
|
|
39
|
+
<div>{{ title }}</div>
|
|
40
|
+
</slot>
|
|
41
|
+
<slot name="description">
|
|
42
|
+
<div class="text-xs uppercase font-semibold opacity-60">{{ description }}</div>
|
|
43
|
+
</slot>
|
|
44
|
+
</div>
|
|
45
|
+
<slot v-else />
|
|
46
|
+
|
|
47
|
+
<div v-if="$slots.details" class="list-col-wrap text-xs opacity-60">
|
|
48
|
+
<slot name="details" />
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<slot name="actions" />
|
|
52
|
+
</component>
|
|
53
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { RouteLocationRaw } from 'vue-router'
|
|
2
|
+
|
|
3
|
+
export interface ListItemProps {
|
|
4
|
+
/**
|
|
5
|
+
* If provided, the component renders as a `RouterLink`.
|
|
6
|
+
* Accepts a string path or a route location object.
|
|
7
|
+
*/
|
|
8
|
+
to?: RouteLocationRaw
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Title text for the list item. Can also be passed via #title slot.
|
|
12
|
+
*/
|
|
13
|
+
title?: string
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Description text for the list item. Can also be passed via #description slot.
|
|
17
|
+
*/
|
|
18
|
+
description?: string
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { default as Accordion } from './accordion/Accordion.vue'
|
|
2
|
+
export { default as AccordionItem } from './accordion/AccordionItem.vue'
|
|
3
|
+
export { default as Avatar } from './avatar/Avatar.vue'
|
|
4
|
+
export { default as Badge } from './badge/Badge.vue'
|
|
5
|
+
export { default as Card } from './card/Card.vue'
|
|
6
|
+
export { default as CardActions } from './card/CardActions.vue'
|
|
7
|
+
export { default as CardBody } from './card/CardBody.vue'
|
|
8
|
+
export { default as CardTitle } from './card/CardTitle.vue'
|
|
9
|
+
export { default as Carousel } from './carousel/Carousel.vue'
|
|
10
|
+
export { default as Chat } from './chat/Chat.vue'
|
|
11
|
+
export { default as Countdown } from './countdown/Countdown.vue'
|
|
12
|
+
export { default as Diff } from './diff/Diff.vue'
|
|
13
|
+
export { default as Hover3d } from './hover-3d/Hover3d.vue'
|
|
14
|
+
export { default as HoverGallery } from './hover-gallery/HoverGallery.vue'
|
|
15
|
+
export { default as Kbd } from './kbd/Kbd.vue'
|
|
16
|
+
export { default as List } from './list/List.vue'
|
|
17
|
+
export { default as ListItem } from './list/ListItem.vue'
|
|
18
|
+
export { default as Stat } from './stat/Stat.vue'
|
|
19
|
+
export { default as Stats } from './stat/Stats.vue'
|
|
20
|
+
export { default as Status } from './status/Status.vue'
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Accordion
|
|
2
|
+
export type { AccordionProps } from './accordion/accordion.props'
|
|
3
|
+
export type { AccordionItemProps } from './accordion/accordion-item.props'
|
|
4
|
+
export * from './accordion/accordion-item.types'
|
|
5
|
+
// Avatar
|
|
6
|
+
export type { AvatarProps } from './avatar/avatar.props'
|
|
7
|
+
export * from './avatar/avatar.types'
|
|
8
|
+
// Badge
|
|
9
|
+
export type { BadgeProps } from './badge/badge.props'
|
|
10
|
+
export * from './badge/badge.types'
|
|
11
|
+
// Card
|
|
12
|
+
export type { CardProps } from './card/card.props'
|
|
13
|
+
export * from './card/card.types'
|
|
14
|
+
export type { CardActionsProps } from './card/card-actions.props'
|
|
15
|
+
export * from './card/card-actions.types'
|
|
16
|
+
// Carousel
|
|
17
|
+
export type { CarouselProps } from './carousel/carousel.props'
|
|
18
|
+
export * from './carousel/carousel.types'
|
|
19
|
+
// Chat
|
|
20
|
+
export type { ChatProps } from './chat/chat.props'
|
|
21
|
+
export * from './chat/chat.types'
|
|
22
|
+
// Countdown
|
|
23
|
+
export type { CountdownProps } from './countdown/countdown.props'
|
|
24
|
+
export * from './countdown/countdown.types'
|
|
25
|
+
// Hover3d
|
|
26
|
+
export type { Hover3dProps } from './hover-3d/hover-3d.props'
|
|
27
|
+
// Kbd
|
|
28
|
+
export type { KbdProps } from './kbd/kbd.props'
|
|
29
|
+
export * from './kbd/kbd.types'
|
|
30
|
+
// List
|
|
31
|
+
export type { ListItemProps } from './list/list-item.props'
|
|
32
|
+
// Stat
|
|
33
|
+
export type { StatConfigurableProps, StatProps } from './stat/stat.props'
|
|
34
|
+
export * from './stat/stat.types'
|
|
35
|
+
// Stats
|
|
36
|
+
export type { StatsConfigurableProps, StatsProps } from './stat/stats.props'
|
|
37
|
+
export * from './stat/stats.types'
|
|
38
|
+
// Status
|
|
39
|
+
export type { StatusProps } from './status/status.props'
|
|
40
|
+
export * from './status/status.types'
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import Stat from './Stat.vue'
|
|
3
|
+
import Stats from './Stats.vue'
|
|
4
|
+
</script>
|
|
5
|
+
|
|
6
|
+
<template>
|
|
7
|
+
<Story group="components" title="Display/Stat" auto-props-disabled>
|
|
8
|
+
<template #default>
|
|
9
|
+
<Variant title="Default" id="default">
|
|
10
|
+
<Stats>
|
|
11
|
+
<Stat title="Total Page Views" value="89,400" desc="21% more than last month" />
|
|
12
|
+
</Stats>
|
|
13
|
+
</Variant>
|
|
14
|
+
|
|
15
|
+
<Variant title="With Icon" id="with-icon">
|
|
16
|
+
<Stats>
|
|
17
|
+
<Stat>
|
|
18
|
+
<template #figure>
|
|
19
|
+
<svg
|
|
20
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
21
|
+
fill="none"
|
|
22
|
+
viewBox="0 0 24 24"
|
|
23
|
+
class="inline-block h-8 w-8 stroke-current text-primary"
|
|
24
|
+
>
|
|
25
|
+
<path
|
|
26
|
+
stroke-linecap="round"
|
|
27
|
+
stroke-linejoin="round"
|
|
28
|
+
stroke-width="2"
|
|
29
|
+
d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"
|
|
30
|
+
/>
|
|
31
|
+
</svg>
|
|
32
|
+
</template>
|
|
33
|
+
<template #title>Total Likes</template>
|
|
34
|
+
<template #value>25.6K</template>
|
|
35
|
+
<template #desc>21% more than last month</template>
|
|
36
|
+
</Stat>
|
|
37
|
+
</Stats>
|
|
38
|
+
</Variant>
|
|
39
|
+
|
|
40
|
+
<Variant title="Centered" id="centered">
|
|
41
|
+
<Stats>
|
|
42
|
+
<Stat align="center" title="Downloads" value="31K" desc="Jan 1st - Feb 1st" />
|
|
43
|
+
</Stats>
|
|
44
|
+
</Variant>
|
|
45
|
+
|
|
46
|
+
<Variant title="Multiple Horizontal" id="multiple-horizontal">
|
|
47
|
+
<Stats>
|
|
48
|
+
<Stat title="Downloads" value="31K" desc="Jan 1st - Feb 1st" />
|
|
49
|
+
<Stat title="New Users" value="4,200" desc="↗︎ 400 (22%)" />
|
|
50
|
+
<Stat title="New Registers" value="1,200" desc="↘︎ 90 (14%)" />
|
|
51
|
+
</Stats>
|
|
52
|
+
</Variant>
|
|
53
|
+
|
|
54
|
+
<Variant title="Vertical" id="vertical">
|
|
55
|
+
<Stats direction="vertical">
|
|
56
|
+
<Stat title="Downloads" value="31K" desc="Jan 1st - Feb 1st" />
|
|
57
|
+
<Stat title="New Users" value="4,200" desc="↗︎ 400 (22%)" />
|
|
58
|
+
<Stat title="New Registers" value="1,200" desc="↘︎ 90 (14%)" />
|
|
59
|
+
</Stats>
|
|
60
|
+
</Variant>
|
|
61
|
+
|
|
62
|
+
<Variant title="With Actions" id="with-actions">
|
|
63
|
+
<Stats>
|
|
64
|
+
<Stat title="Account balance" value="$89,400">
|
|
65
|
+
<template #actions>
|
|
66
|
+
<button class="btn btn-xs btn-success">Add funds</button>
|
|
67
|
+
</template>
|
|
68
|
+
</Stat>
|
|
69
|
+
</Stats>
|
|
70
|
+
</Variant>
|
|
71
|
+
|
|
72
|
+
<Variant title="Responsive" id="responsive">
|
|
73
|
+
<Stats direction="vertical" class="lg:stats-horizontal">
|
|
74
|
+
<Stat title="Downloads" value="31K" desc="Jan 1st - Feb 1st" />
|
|
75
|
+
<Stat title="New Users" value="4,200" desc="↗︎ 400 (22%)" />
|
|
76
|
+
<Stat title="New Registers" value="1,200" desc="↘︎ 90 (14%)" />
|
|
77
|
+
</Stats>
|
|
78
|
+
</Variant>
|
|
79
|
+
</template>
|
|
80
|
+
</Story>
|
|
81
|
+
</template>
|
|
82
|
+
|
|
83
|
+
<docs lang="md">
|
|
84
|
+
# Stat
|
|
85
|
+
|
|
86
|
+
## Description
|
|
87
|
+
|
|
88
|
+
A component used to display key metrics, statistics, or numerical data with optional titles, descriptions, icons, and actions.
|
|
89
|
+
|
|
90
|
+
## API
|
|
91
|
+
|
|
92
|
+
<details>
|
|
93
|
+
<summary>Stats</summary>
|
|
94
|
+
|
|
95
|
+
### Props
|
|
96
|
+
|
|
97
|
+
| Prop | Type | Default | Required | Configurable | Description |
|
|
98
|
+
|-------------|------------------|----------------|----------|--------------------|--------------------------------|
|
|
99
|
+
| `direction` | `StatsDirection` | `'horizontal'` | :x: | :white_check_mark: | Direction of the stats layout. |
|
|
100
|
+
|
|
101
|
+
> **Configurable** props can be set globally via the Poppy UI plugin (`components.stats` option). See [Plugin Configuration](../../../stories/Configuration.story.md) for more information.
|
|
102
|
+
|
|
103
|
+
### Slots (Stats)
|
|
104
|
+
|
|
105
|
+
| Slot | Bindings | Description |
|
|
106
|
+
|-----------|----------|---------------------------------|
|
|
107
|
+
| `default` | - | Contains `<Stat />` components. |
|
|
108
|
+
|
|
109
|
+
</details>
|
|
110
|
+
|
|
111
|
+
<details>
|
|
112
|
+
<summary>Stat</summary>
|
|
113
|
+
|
|
114
|
+
### Props
|
|
115
|
+
|
|
116
|
+
| Prop | Type | Default | Required | Configurable | Description |
|
|
117
|
+
|----------------|--------------------|-------------|----------|--------------------|-----------------------------------------|
|
|
118
|
+
| `title` | `string` | `undefined` | :x: | :x: | Title of the stat. |
|
|
119
|
+
| `value` | `string \| number` | `undefined` | :x: | :x: | Value displayed in the stat. |
|
|
120
|
+
| `desc` | `string` | `undefined` | :x: | :x: | Description text for the stat. |
|
|
121
|
+
| `align` | `StatAlign` | `undefined` | :x: | :white_check_mark: | Alignment of the stat content. |
|
|
122
|
+
| `titleClass` | `string` | `undefined` | :x: | :white_check_mark: | Custom class for the title. |
|
|
123
|
+
| `valueClass` | `string` | `undefined` | :x: | :white_check_mark: | Custom class for the value. |
|
|
124
|
+
| `descClass` | `string` | `undefined` | :x: | :white_check_mark: | Custom class for the description. |
|
|
125
|
+
| `figureClass` | `string` | `undefined` | :x: | :white_check_mark: | Custom class for the figure container. |
|
|
126
|
+
| `actionsClass` | `string` | `undefined` | :x: | :white_check_mark: | Custom class for the actions container. |
|
|
127
|
+
|
|
128
|
+
### Slots
|
|
129
|
+
|
|
130
|
+
| Slot | Bindings | Description |
|
|
131
|
+
|-----------| -------- |--------------------------------------|
|
|
132
|
+
| `default` | - | Default content of the stat. |
|
|
133
|
+
| `figure` | - | Icon or figure displayed at the top. |
|
|
134
|
+
| `title` | - | Custom title content. |
|
|
135
|
+
| `value` | - | Custom value content. |
|
|
136
|
+
| `desc` | - | Custom description content. |
|
|
137
|
+
| `actions` | - | Actions container (e.g., buttons). |
|
|
138
|
+
|
|
139
|
+
</details>
|
|
140
|
+
|
|
141
|
+
## Usage
|
|
142
|
+
|
|
143
|
+
```vue
|
|
144
|
+
<!-- Basic -->
|
|
145
|
+
<Stats>
|
|
146
|
+
<Stat title="Total Page Views" value="89,400" desc="21% more than last month" />
|
|
147
|
+
</Stats>
|
|
148
|
+
|
|
149
|
+
<!-- With icon -->
|
|
150
|
+
<Stats>
|
|
151
|
+
<Stat>
|
|
152
|
+
<template #figure>
|
|
153
|
+
<Icon name="heart" />
|
|
154
|
+
</template>
|
|
155
|
+
<template #title>Total Likes</template>
|
|
156
|
+
<template #value>25.6K</template>
|
|
157
|
+
<template #desc>21% more than last month</template>
|
|
158
|
+
</Stat>
|
|
159
|
+
</Stats>
|
|
160
|
+
|
|
161
|
+
<!-- Centered -->
|
|
162
|
+
<Stats>
|
|
163
|
+
<Stat align="center" title="Downloads" value="31K" desc="Jan 1st - Feb 1st" />
|
|
164
|
+
</Stats>
|
|
165
|
+
|
|
166
|
+
<!-- With actions -->
|
|
167
|
+
<Stats>
|
|
168
|
+
<Stat title="Account balance" value="$89,400">
|
|
169
|
+
<template #actions>
|
|
170
|
+
<button class="btn btn-xs">Add funds</button>
|
|
171
|
+
</template>
|
|
172
|
+
</Stat>
|
|
173
|
+
</Stats>
|
|
174
|
+
|
|
175
|
+
<!-- Vertical layout -->
|
|
176
|
+
<Stats direction="vertical">
|
|
177
|
+
<Stat title="Downloads" value="31K" />
|
|
178
|
+
<Stat title="New Users" value="4,200" />
|
|
179
|
+
</Stats>
|
|
180
|
+
```
|
|
181
|
+
</docs>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { useComponentConfig } from '@/composables/use-component-config'
|
|
3
|
+
import type { ComponentClass } from '@/types/utils.type'
|
|
4
|
+
import { getClass } from '@/utils/build-class.util'
|
|
5
|
+
import { STAT_CONFIG } from './stat.context'
|
|
6
|
+
import type { StatProps } from './stat.props'
|
|
7
|
+
import type { StatAlign } from './stat.types'
|
|
8
|
+
|
|
9
|
+
const statAligns: ComponentClass<'place-items', StatAlign> = {
|
|
10
|
+
start: 'place-items-start',
|
|
11
|
+
center: 'place-items-center',
|
|
12
|
+
end: 'place-items-end',
|
|
13
|
+
}
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<script setup lang="ts">
|
|
17
|
+
const props = defineProps<StatProps>()
|
|
18
|
+
const config = useComponentConfig(STAT_CONFIG, props, {})
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<template>
|
|
22
|
+
<div
|
|
23
|
+
class="stat"
|
|
24
|
+
:class="getClass(statAligns, config.align)"
|
|
25
|
+
>
|
|
26
|
+
<div v-if="$slots.figure" class="stat-figure" :class="figureClass">
|
|
27
|
+
<slot name="figure" />
|
|
28
|
+
</div>
|
|
29
|
+
<div v-if="title || $slots.title" class="stat-title" :class="titleClass">
|
|
30
|
+
<slot name="title">{{ title }}</slot>
|
|
31
|
+
</div>
|
|
32
|
+
<div v-if="value !== undefined || $slots.value" class="stat-value" :class="valueClass">
|
|
33
|
+
<slot name="value">{{ value }}</slot>
|
|
34
|
+
</div>
|
|
35
|
+
<div v-if="desc || $slots.desc" class="stat-desc" :class="descClass">
|
|
36
|
+
<slot name="desc">{{ desc }}</slot>
|
|
37
|
+
</div>
|
|
38
|
+
<div v-if="$slots.actions" class="stat-actions" :class="actionsClass">
|
|
39
|
+
<slot name="actions" />
|
|
40
|
+
</div>
|
|
41
|
+
<slot />
|
|
42
|
+
</div>
|
|
43
|
+
</template>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { useComponentConfig } from '@/composables/use-component-config'
|
|
3
|
+
import type { ComponentClass } from '@/types/utils.type'
|
|
4
|
+
import { getClass } from '@/utils/build-class.util'
|
|
5
|
+
import { STATS_CONFIG } from './stats.context'
|
|
6
|
+
import type { StatsProps } from './stats.props'
|
|
7
|
+
import type { StatsDirection } from './stats.types'
|
|
8
|
+
|
|
9
|
+
const statsDirections: ComponentClass<'stats', StatsDirection> = {
|
|
10
|
+
horizontal: 'stats-horizontal',
|
|
11
|
+
vertical: 'stats-vertical',
|
|
12
|
+
}
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<script setup lang="ts">
|
|
16
|
+
const props = defineProps<StatsProps>()
|
|
17
|
+
const config = useComponentConfig(STATS_CONFIG, props, {
|
|
18
|
+
direction: 'horizontal',
|
|
19
|
+
})
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<div
|
|
24
|
+
class="stats"
|
|
25
|
+
:class="getClass(statsDirections, config.direction)"
|
|
26
|
+
>
|
|
27
|
+
<slot />
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { StatAlign } from './stat.types'
|
|
2
|
+
|
|
3
|
+
export interface StatConfigurableProps {
|
|
4
|
+
/**
|
|
5
|
+
* Alignment of the stat content.
|
|
6
|
+
*/
|
|
7
|
+
align?: StatAlign
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Custom class for the title.
|
|
11
|
+
*/
|
|
12
|
+
titleClass?: string
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Custom class for the value.
|
|
16
|
+
*/
|
|
17
|
+
valueClass?: string
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Custom class for the description.
|
|
21
|
+
*/
|
|
22
|
+
descClass?: string
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Custom class for the figure container.
|
|
26
|
+
*/
|
|
27
|
+
figureClass?: string
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Custom class for the actions container.
|
|
31
|
+
*/
|
|
32
|
+
actionsClass?: string
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface StatProps extends StatConfigurableProps {
|
|
36
|
+
/**
|
|
37
|
+
* Title of the stat.
|
|
38
|
+
*/
|
|
39
|
+
title?: string
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Value displayed in the stat.
|
|
43
|
+
*/
|
|
44
|
+
value?: string | number
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Description text for the stat.
|
|
48
|
+
*/
|
|
49
|
+
desc?: string
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type StatAlign = 'start' | 'center' | 'end'
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StatsDirection } from './stats.types'
|
|
2
|
+
|
|
3
|
+
export interface StatsConfigurableProps {
|
|
4
|
+
/**
|
|
5
|
+
* Direction of the stats container.
|
|
6
|
+
* @default 'horizontal'
|
|
7
|
+
*/
|
|
8
|
+
direction?: StatsDirection
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface StatsProps extends StatsConfigurableProps {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type StatsDirection = 'horizontal' | 'vertical'
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { reactive } from 'vue'
|
|
3
|
+
import Status from './Status.vue'
|
|
4
|
+
import type { StatusProps } from './status.props'
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<script setup lang="ts">
|
|
8
|
+
const state = reactive<StatusProps>({
|
|
9
|
+
color: undefined,
|
|
10
|
+
size: 'md',
|
|
11
|
+
animation: undefined,
|
|
12
|
+
label: 'status',
|
|
13
|
+
})
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<Story group="components" title="Display/Status" auto-props-disabled>
|
|
18
|
+
<template #default>
|
|
19
|
+
|
|
20
|
+
<Variant title="Default">
|
|
21
|
+
<template #controls>
|
|
22
|
+
<HstSelect title="Color" v-model="state.color" :options="[{ label: '-- default --', value: undefined }, 'neutral', 'primary', 'secondary', 'accent', 'info', 'success', 'warning', 'error']" />
|
|
23
|
+
<HstSelect title="Size" v-model="state.size" :options="['xs', 'sm', 'md', 'lg', 'xl']" />
|
|
24
|
+
<HstSelect title="Animation" v-model="state.animation" :options="[{ label: '-- default --', value: undefined }, 'ping', 'bounce']" />
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<template #source>
|
|
28
|
+
<textarea v-pre>
|
|
29
|
+
<Status color="success" size="md" />
|
|
30
|
+
</textarea>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<Status v-bind="state" />
|
|
34
|
+
</Variant>
|
|
35
|
+
|
|
36
|
+
<Variant title="Colors">
|
|
37
|
+
<div class="status-story status-story--row">
|
|
38
|
+
<div v-for="color in (['neutral', 'primary', 'secondary', 'accent', 'info', 'success', 'warning', 'error'])" :key="color" class="status-story--item">
|
|
39
|
+
<Status :color="color" />
|
|
40
|
+
<span class="status-story--label">{{ color }}</span>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</Variant>
|
|
44
|
+
|
|
45
|
+
<Variant title="Sizes">
|
|
46
|
+
<div class="status-story status-story--row" style="align-items: flex-end;">
|
|
47
|
+
<div v-for="size in (['xs', 'sm', 'md', 'lg', 'xl'])" :key="size" class="status-story--item">
|
|
48
|
+
<Status color="primary" :size="size" />
|
|
49
|
+
<span class="status-story--label">{{ size }}</span>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</Variant>
|
|
53
|
+
|
|
54
|
+
<Variant title="Animations">
|
|
55
|
+
<template #source>
|
|
56
|
+
<textarea v-pre>
|
|
57
|
+
<!-- Ping -->
|
|
58
|
+
<Status color="error" animation="ping" />
|
|
59
|
+
|
|
60
|
+
<!-- Bounce -->
|
|
61
|
+
<Status color="info" animation="bounce" />
|
|
62
|
+
</textarea>
|
|
63
|
+
</template>
|
|
64
|
+
|
|
65
|
+
<div class="status-story status-story--col">
|
|
66
|
+
<div class="status-story--item-group">
|
|
67
|
+
<span class="status-story--label">ping</span>
|
|
68
|
+
<div class="status-story status-story--row">
|
|
69
|
+
<div v-for="color in (['neutral', 'primary', 'secondary', 'accent', 'info', 'success', 'warning', 'error'])" :key="color" class="status-story--item">
|
|
70
|
+
<Status :color="color" animation="ping" />
|
|
71
|
+
<span class="status-story--label">{{ color }}</span>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="status-story--item-group">
|
|
76
|
+
<span class="status-story--label">bounce</span>
|
|
77
|
+
<div class="status-story status-story--row">
|
|
78
|
+
<div v-for="color in (['neutral', 'primary', 'secondary', 'accent', 'info', 'success', 'warning', 'error'])" :key="color" class="status-story--item">
|
|
79
|
+
<Status :color="color" animation="bounce" />
|
|
80
|
+
<span class="status-story--label">{{ color }}</span>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</Variant>
|
|
86
|
+
|
|
87
|
+
<Variant title="Composition">
|
|
88
|
+
<div class="status-story status-story--col">
|
|
89
|
+
<div class="status-story--item-row">
|
|
90
|
+
<Status color="error" animation="ping" />
|
|
91
|
+
<span class="text-sm">Server is down</span>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="status-story--item-row">
|
|
94
|
+
<Status color="success" />
|
|
95
|
+
<span class="text-sm">All systems operational</span>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="status-story--item-row">
|
|
98
|
+
<Status color="warning" animation="ping" />
|
|
99
|
+
<span class="text-sm">Degraded performance</span>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="status-story--item-row">
|
|
102
|
+
<Status color="info" animation="bounce" size="sm" />
|
|
103
|
+
<span class="text-sm">Unread messages</span>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="status-story--item-row">
|
|
106
|
+
<Status color="neutral" />
|
|
107
|
+
<span class="text-sm">Unknown</span>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</Variant>
|
|
111
|
+
|
|
112
|
+
</template>
|
|
113
|
+
</Story>
|
|
114
|
+
</template>
|
|
115
|
+
|
|
116
|
+
<style scoped>
|
|
117
|
+
.status-story {
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-wrap: wrap;
|
|
120
|
+
gap: 1rem;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.status-story--row {
|
|
124
|
+
align-items: center;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.status-story--col {
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
gap: 1rem;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.status-story--item {
|
|
133
|
+
display: flex;
|
|
134
|
+
flex-direction: column;
|
|
135
|
+
align-items: center;
|
|
136
|
+
gap: 0.375rem;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.status-story--item-row {
|
|
140
|
+
display: flex;
|
|
141
|
+
align-items: center;
|
|
142
|
+
gap: 0.5rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.status-story--item-group {
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
gap: 0.5rem;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.status-story--label {
|
|
152
|
+
font-size: 0.7rem;
|
|
153
|
+
color: #9ca3af;
|
|
154
|
+
font-family: monospace;
|
|
155
|
+
}
|
|
156
|
+
</style>
|
|
157
|
+
|
|
158
|
+
<docs lang="md">
|
|
159
|
+
# Status
|
|
160
|
+
|
|
161
|
+
## Description
|
|
162
|
+
|
|
163
|
+
A small visual indicator used to represent the current state of an element — online, offline, error, etc.
|
|
164
|
+
Built on DaisyUI's `status` class system. Supports colors, sizes, and animations for active states.
|
|
165
|
+
|
|
166
|
+
## Props
|
|
167
|
+
|
|
168
|
+
| Prop | Type | Default | Required | Configurable | Description |
|
|
169
|
+
|-------------|-------------------|-------------|----------|--------------------|------------------------------------------------------------------------------------|
|
|
170
|
+
| `color` | `StatusColor` | `undefined` | :x: | :white_check_mark: | Color theme based on the DaisyUI palette. |
|
|
171
|
+
| `size` | `StatusSize` | `'md'` | :x: | :white_check_mark: | Size of the indicator. `xs` / `sm` / `md` / `lg` / `xl`. |
|
|
172
|
+
| `animation` | `StatusAnimation` | `undefined` | :x: | :white_check_mark: | `'ping'` renders two overlapping elements for urgency. `'bounce'` draws attention. |
|
|
173
|
+
| `label` | `string` | `undefined` | :x: | :x: | Accessible label set as `aria-label` on the root element. |
|
|
174
|
+
|
|
175
|
+
> **Configurable** props can be set globally via the Poppy UI plugin (`components.status` option). See [Plugin Configuration](../../../stories/Configuration.story.md) for more information.
|
|
176
|
+
|
|
177
|
+
## Usage
|
|
178
|
+
|
|
179
|
+
```vue
|
|
180
|
+
<!-- Basic -->
|
|
181
|
+
<Status color="success" />
|
|
182
|
+
|
|
183
|
+
<!-- Ping animation -->
|
|
184
|
+
<Status color="error" animation="ping" />
|
|
185
|
+
|
|
186
|
+
<!-- Bounce animation -->
|
|
187
|
+
<Status color="info" animation="bounce" />
|
|
188
|
+
|
|
189
|
+
<!-- Inline with text -->
|
|
190
|
+
<div class="flex items-center gap-2">
|
|
191
|
+
<Status color="success" size="sm" />
|
|
192
|
+
<span>Online</span>
|
|
193
|
+
</div>
|
|
194
|
+
```
|
|
195
|
+
</docs>
|