@indielayer/ui 1.18.1 → 2.1.0
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/docs/App.vue +19 -4
- package/docs/assets/css/hljs.css +0 -1
- package/docs/assets/css/tailwind.css +40 -9
- package/docs/components/Cookies.vue +3 -1
- package/docs/components/common/CodePreview.vue +1 -1
- package/docs/components/common/CodeSnippet.vue +30 -18
- package/docs/components/common/DocsCopyPage.vue +200 -0
- package/docs/components/common/DocsHero.vue +3 -3
- package/docs/components/common/DocumentPage.vue +105 -50
- package/docs/components/common/ExampleBlocks.vue +147 -8
- package/docs/components/menu/DocsMenu.vue +3 -1
- package/docs/components/toolbar/PreToolbar.vue +1 -1
- package/docs/components/toolbar/Toolbar.vue +1 -1
- package/docs/components/toolbar/ToolbarColorToggle.vue +29 -18
- package/docs/components/toolbar/ToolbarSearch.vue +7 -7
- package/docs/composables/useDocMeta.ts +63 -4
- package/docs/icons.ts +3 -0
- package/docs/main.ts +26 -22
- package/docs/pages/colors.vue +11 -19
- package/docs/pages/component/accordion/index.vue +2 -2
- package/docs/pages/component/alert/index.vue +2 -2
- package/docs/pages/component/avatar/index.vue +4 -4
- package/docs/pages/component/badge/index.vue +2 -2
- package/docs/pages/component/breadcrumbs/index.vue +2 -2
- package/docs/pages/component/button/button-group.vue +3 -3
- package/docs/pages/component/button/index.vue +14 -7
- package/docs/pages/component/button/tooltip.vue +10 -0
- package/docs/pages/component/button/variants.vue +1 -1
- package/docs/pages/component/card/index.vue +2 -2
- package/docs/pages/component/carousel/index.vue +2 -2
- package/docs/pages/component/checkbox/index.vue +5 -5
- package/docs/pages/component/container/index.vue +2 -2
- package/docs/pages/component/datepicker/index.vue +2 -2
- package/docs/pages/component/divider/index.vue +4 -4
- package/docs/pages/component/drawer/index.vue +3 -3
- package/docs/pages/component/empty/actions.vue +11 -0
- package/docs/pages/component/empty/bordered.vue +7 -0
- package/docs/pages/component/empty/index.vue +43 -0
- package/docs/pages/component/empty/usage.vue +6 -0
- package/docs/pages/component/form/index.vue +2 -2
- package/docs/pages/component/form/usage.vue +36 -0
- package/docs/pages/component/formGroup/index.vue +3 -3
- package/docs/pages/component/icon/formats.vue +65 -0
- package/docs/pages/component/icon/index.vue +11 -4
- package/docs/pages/component/icon/usage.vue +52 -4
- package/docs/pages/component/image/index.vue +16 -2
- package/docs/pages/component/image/sizing.vue +42 -0
- package/docs/pages/component/image/states.vue +45 -0
- package/docs/pages/component/image/usage.vue +9 -6
- package/docs/pages/component/infiniteLoader/composable.vue +7 -5
- package/docs/pages/component/infiniteLoader/index.vue +3 -3
- package/docs/pages/component/infiniteLoader/usage.vue +7 -5
- package/docs/pages/component/input/index.vue +6 -6
- package/docs/pages/component/input/variants.vue +11 -0
- package/docs/pages/component/inputGroup/index.vue +43 -0
- package/docs/pages/component/inputGroup/mixed.vue +18 -0
- package/docs/pages/component/inputGroup/usage.vue +20 -0
- package/docs/pages/component/inputGroup/validation.vue +38 -0
- package/docs/pages/component/link/index.vue +2 -2
- package/docs/pages/component/loader/index.vue +2 -2
- package/docs/pages/component/menu/index.vue +2 -2
- package/docs/pages/component/modal/index.vue +3 -3
- package/docs/pages/component/notifications/index.vue +2 -2
- package/docs/pages/component/pagination/index.vue +2 -2
- package/docs/pages/component/popover/index.vue +2 -2
- package/docs/pages/component/popover/usage.vue +14 -0
- package/docs/pages/component/progress/index.vue +3 -3
- package/docs/pages/component/qrCode/index.vue +2 -2
- package/docs/pages/component/radio/index.vue +26 -12
- package/docs/pages/component/radio/payment-method.vue +28 -0
- package/docs/pages/component/radio/radio-button-form-group.vue +28 -0
- package/docs/pages/component/radio/radio-button.vue +26 -0
- package/docs/pages/component/scroll/index.vue +3 -3
- package/docs/pages/component/select/index.vue +5 -5
- package/docs/pages/component/skeleton/index.vue +2 -2
- package/docs/pages/component/skeleton/usage.vue +1 -1
- package/docs/pages/component/slider/index.vue +2 -2
- package/docs/pages/component/spacer/index.vue +2 -2
- package/docs/pages/component/spinner/index.vue +3 -3
- package/docs/pages/component/stepper/index.vue +9 -2
- package/docs/pages/component/stepper/usage.vue +56 -12
- package/docs/pages/component/stepper/wizard.vue +126 -0
- package/docs/pages/component/table/index.vue +5 -5
- package/docs/pages/component/table/states.vue +5 -3
- package/docs/pages/component/table/virtual.vue +1 -1
- package/docs/pages/component/tabs/index.vue +2 -2
- package/docs/pages/component/tabs/usage.vue +26 -0
- package/docs/pages/component/tag/index.vue +2 -2
- package/docs/pages/component/textarea/index.vue +4 -4
- package/docs/pages/component/toggle/index.vue +4 -4
- package/docs/pages/component/tooltip/content.vue +11 -0
- package/docs/pages/component/tooltip/index.vue +30 -2
- package/docs/pages/component/tooltip/placement.vue +18 -0
- package/docs/pages/component/tooltip/states.vue +5 -0
- package/docs/pages/component/tooltip/toggle-tip.vue +6 -0
- package/docs/pages/component/tooltip/usage.vue +8 -9
- package/docs/pages/component/upload/index.vue +2 -2
- package/docs/pages/component/upload/usage.vue +1 -0
- package/docs/pages/component/virtualGrid/index.vue +2 -2
- package/docs/pages/component/virtualGrid/usage.vue +5 -2
- package/docs/pages/component/virtualList/dynamicHeight.vue +8 -8
- package/docs/pages/component/virtualList/index.vue +3 -3
- package/docs/pages/component/virtualList/usage.vue +5 -2
- package/docs/pages/icons.vue +2 -2
- package/docs/pages/index.vue +30 -33
- package/docs/router/index.ts +39 -44
- package/docs/search/components.json +1 -1
- package/docs/search/index.json +1 -1
- package/docs/utils/shikiHighlighter.ts +22 -0
- package/exports/nuxt.mjs +1 -1
- package/exports/nuxt.plugin.js +1 -0
- package/exports/tailwind.css +74 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +7 -8
- package/lib/_virtual/_rolldown/runtime.js +17 -0
- package/lib/common/buttonGroupRadius.d.ts +3 -0
- package/lib/common/buttonGroupRadius.js +6 -0
- package/lib/common/colors.js +370 -19
- package/lib/common/icons.d.ts +1 -0
- package/lib/common/icons.js +4 -22
- package/lib/common/inputGroupRadius.d.ts +2 -0
- package/lib/common/inputGroupRadius.js +6 -0
- package/lib/common/props.d.ts +27 -0
- package/lib/common/props.js +19 -0
- package/lib/common/utils.js +17 -24
- package/lib/componentDefaults.d.ts +18 -0
- package/lib/components/accordion/Accordion.js +5 -0
- package/lib/components/accordion/Accordion.vue.d.ts +45 -13
- package/lib/components/accordion/Accordion.vue_vue_type_script_setup_true_lang.js +49 -0
- package/lib/components/accordion/AccordionItem.js +5 -0
- package/lib/components/accordion/AccordionItem.vue.d.ts +36 -10
- package/lib/components/accordion/AccordionItem.vue_vue_type_script_setup_true_lang.js +163 -0
- package/lib/components/accordion/theme/Accordion.base.theme.js +4 -8
- package/lib/components/accordion/theme/Accordion.carbon.theme.js +4 -4
- package/lib/components/accordion/theme/AccordionItem.base.theme.js +14 -16
- package/lib/components/accordion/theme/AccordionItem.carbon.theme.js +4 -4
- package/lib/components/alert/Alert.js +6 -0
- package/lib/components/alert/Alert.vue.d.ts +39 -22
- package/lib/components/alert/Alert.vue_vue_type_script_setup_true_lang.js +68 -0
- package/lib/components/alert/Alert.vue_vue_type_style_index_0_lang.module.js +6 -0
- package/lib/components/alert/theme/Alert.base.theme.js +38 -40
- package/lib/components/alert/theme/Alert.carbon.theme.js +38 -40
- package/lib/components/avatar/Avatar.js +6 -0
- package/lib/components/avatar/Avatar.vue.d.ts +51 -17
- package/lib/components/avatar/Avatar.vue_vue_type_script_setup_true_lang.js +77 -0
- package/lib/components/avatar/Avatar.vue_vue_type_style_index_0_lang.module.js +3 -0
- package/lib/components/avatar/theme/Avatar.base.theme.js +17 -21
- package/lib/components/avatar/theme/Avatar.carbon.theme.js +4 -4
- package/lib/components/badge/Badge.js +5 -0
- package/lib/components/badge/Badge.vue.d.ts +60 -17
- package/lib/components/badge/Badge.vue_vue_type_script_setup_true_lang.js +93 -0
- package/lib/components/badge/theme/Badge.base.theme.js +9 -11
- package/lib/components/badge/theme/Badge.carbon.theme.js +4 -4
- package/lib/components/breadcrumbs/Breadcrumbs.js +5 -0
- package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +36 -14
- package/lib/components/breadcrumbs/Breadcrumbs.vue_vue_type_script_setup_true_lang.js +70 -0
- package/lib/components/breadcrumbs/theme/Breadcrumbs.base.theme.js +8 -10
- package/lib/components/breadcrumbs/theme/Breadcrumbs.carbon.theme.js +7 -9
- package/lib/components/button/Button.js +6 -0
- package/lib/components/button/Button.vue.d.ts +161 -56
- package/lib/components/button/Button.vue_vue_type_script_setup_true_lang.js +261 -0
- package/lib/components/button/Button.vue_vue_type_style_index_0_scoped_486cb9c0_lang.module.js +6 -0
- package/lib/components/button/ButtonGroup.js +5 -0
- package/lib/components/button/ButtonGroup.vue.d.ts +75 -30
- package/lib/components/button/ButtonGroup.vue_vue_type_script_setup_true_lang.js +56 -0
- package/lib/components/button/theme/Button.base.theme.js +140 -140
- package/lib/components/button/theme/Button.carbon.theme.js +137 -137
- package/lib/components/button/theme/ButtonGroup.base.theme.js +4 -8
- package/lib/components/button/theme/ButtonGroup.carbon.theme.js +4 -8
- package/lib/components/card/Card.js +5 -0
- package/lib/components/card/Card.vue.d.ts +6 -4
- package/lib/components/card/Card.vue_vue_type_script_setup_true_lang.js +28 -0
- package/lib/components/card/theme/Card.base.theme.js +4 -8
- package/lib/components/card/theme/Card.carbon.theme.js +4 -4
- package/lib/components/carousel/Carousel.js +5 -0
- package/lib/components/carousel/Carousel.vue.d.ts +24 -7
- package/lib/components/carousel/Carousel.vue_vue_type_script_setup_true_lang.js +109 -0
- package/lib/components/carousel/CarouselSlide.js +6 -0
- package/lib/components/carousel/CarouselSlide.vue.d.ts +3 -0
- package/lib/components/carousel/CarouselSlide.vue_vue_type_script_setup_true_lang.js +28 -0
- package/lib/components/carousel/CarouselSlide.vue_vue_type_style_index_0_scoped_4f559831_lang.module.js +4 -0
- package/lib/components/carousel/theme/Carousel.base.theme.js +14 -16
- package/lib/components/carousel/theme/Carousel.carbon.theme.js +4 -4
- package/lib/components/carousel/theme/CarouselSlide.base.theme.js +4 -8
- package/lib/components/carousel/theme/CarouselSlide.carbon.theme.js +4 -4
- package/lib/components/checkbox/Checkbox.js +6 -0
- package/lib/components/checkbox/Checkbox.vue.d.ts +201 -49
- package/lib/components/checkbox/Checkbox.vue_vue_type_script_setup_true_lang.js +146 -0
- package/lib/components/checkbox/Checkbox.vue_vue_type_style_index_0_lang.module.js +4 -0
- package/lib/components/checkbox/theme/Checkbox.base.theme.js +58 -58
- package/lib/components/checkbox/theme/Checkbox.carbon.theme.js +58 -58
- package/lib/components/container/Container.js +5 -0
- package/lib/components/container/Container.vue.d.ts +6 -0
- package/lib/components/container/Container.vue_vue_type_script_setup_true_lang.js +31 -0
- package/lib/components/container/theme/Container.base.theme.js +7 -11
- package/lib/components/container/theme/Container.carbon.theme.js +4 -4
- package/lib/components/datepicker/Datepicker.js +6 -0
- package/lib/components/datepicker/Datepicker.vue.d.ts +471 -41
- package/lib/components/datepicker/Datepicker.vue_vue_type_script_setup_true_lang.js +779 -0
- package/lib/components/datepicker/theme/Datepicker.base.theme.js +26 -61
- package/lib/components/datepicker/theme/Datepicker.carbon.theme.js +4 -4
- package/lib/components/divider/Divider.js +5 -0
- package/lib/components/divider/Divider.vue.d.ts +16 -9
- package/lib/components/divider/Divider.vue_vue_type_script_setup_true_lang.js +47 -0
- package/lib/components/divider/theme/Divider.base.theme.js +8 -10
- package/lib/components/divider/theme/Divider.carbon.theme.js +4 -4
- package/lib/components/drawer/Drawer.js +5 -0
- package/lib/components/drawer/Drawer.vue.d.ts +39 -6
- package/lib/components/drawer/Drawer.vue_vue_type_script_setup_true_lang.js +172 -0
- package/lib/components/drawer/theme/Drawer.base.theme.js +7 -9
- package/lib/components/drawer/theme/Drawer.carbon.theme.js +4 -4
- package/lib/components/empty/Empty.js +5 -0
- package/lib/components/empty/Empty.vue.d.ts +86 -0
- package/lib/components/empty/Empty.vue_vue_type_script_setup_true_lang.js +80 -0
- package/lib/components/empty/index.d.ts +2 -0
- package/lib/components/empty/theme/Empty.base.theme.d.ts +3 -0
- package/lib/components/empty/theme/Empty.base.theme.js +20 -0
- package/lib/components/empty/theme/Empty.carbon.theme.d.ts +3 -0
- package/lib/components/empty/theme/Empty.carbon.theme.js +5 -0
- package/lib/components/form/Form.js +5 -0
- package/lib/components/form/Form.vue.d.ts +48 -9
- package/lib/components/form/Form.vue_vue_type_script_setup_true_lang.js +124 -0
- package/lib/components/form/theme/Form.base.theme.js +10 -12
- package/lib/components/form/theme/Form.carbon.theme.js +10 -12
- package/lib/components/formGroup/FormGroup.js +5 -0
- package/lib/components/formGroup/FormGroup.vue.d.ts +180 -41
- package/lib/components/formGroup/FormGroup.vue_vue_type_script_setup_true_lang.js +97 -0
- package/lib/components/formGroup/theme/FormGroup.base.theme.js +7 -11
- package/lib/components/formGroup/theme/FormGroup.carbon.theme.js +7 -11
- package/lib/components/icon/Icon.js +5 -0
- package/lib/components/icon/Icon.vue.d.ts +12 -4
- package/lib/components/icon/Icon.vue_vue_type_script_setup_true_lang.js +88 -0
- package/lib/components/icon/theme/Icon.base.theme.js +4 -11
- package/lib/components/icon/theme/Icon.carbon.theme.js +4 -11
- package/lib/components/image/Image.js +5 -0
- package/lib/components/image/Image.vue.d.ts +12 -3
- package/lib/components/image/Image.vue_vue_type_script_setup_true_lang.js +29 -0
- package/lib/components/image/theme/Image.base.theme.js +4 -8
- package/lib/components/image/theme/Image.carbon.theme.js +4 -4
- package/lib/components/index.d.ts +3 -0
- package/lib/components/index.js +128 -120
- package/lib/components/input/Input.js +5 -0
- package/lib/components/input/Input.vue.d.ts +308 -83
- package/lib/components/input/Input.vue_vue_type_script_setup_true_lang.js +276 -0
- package/lib/components/input/theme/Input.base.theme.js +22 -16
- package/lib/components/input/theme/Input.carbon.theme.js +21 -16
- package/lib/components/inputFooter/InputFooter.js +5 -0
- package/lib/components/inputFooter/InputFooter.vue.d.ts +52 -18
- package/lib/components/inputFooter/InputFooter.vue_vue_type_script_setup_true_lang.js +50 -0
- package/lib/components/inputFooter/theme/InputFooter.base.theme.js +10 -12
- package/lib/components/inputFooter/theme/InputFooter.carbon.theme.js +10 -12
- package/lib/components/inputGroup/InputGroup.js +5 -0
- package/lib/components/inputGroup/InputGroup.vue.d.ts +296 -0
- package/lib/components/inputGroup/InputGroup.vue_vue_type_script_setup_true_lang.js +125 -0
- package/lib/components/inputGroup/index.d.ts +2 -0
- package/lib/components/inputGroup/theme/InputGroup.base.theme.d.ts +3 -0
- package/lib/components/inputGroup/theme/InputGroup.base.theme.js +4 -0
- package/lib/components/inputGroup/theme/InputGroup.carbon.theme.d.ts +3 -0
- package/lib/components/inputGroup/theme/InputGroup.carbon.theme.js +5 -0
- package/lib/components/label/Label.js +5 -0
- package/lib/components/label/Label.vue.d.ts +83 -20
- package/lib/components/label/Label.vue_vue_type_script_setup_true_lang.js +79 -0
- package/lib/components/label/theme/Label.base.theme.js +13 -15
- package/lib/components/label/theme/Label.carbon.theme.js +10 -12
- package/lib/components/link/Link.js +6 -0
- package/lib/components/link/Link.vue.d.ts +27 -15
- package/lib/components/link/Link.vue_vue_type_script_setup_true_lang.js +52 -0
- package/lib/components/link/Link.vue_vue_type_style_index_0_scoped_3ee61e03_lang.module.js +6 -0
- package/lib/components/link/theme/Link.base.theme.js +18 -24
- package/lib/components/link/theme/Link.carbon.theme.js +18 -24
- package/lib/components/loader/Loader.js +5 -0
- package/lib/components/loader/Loader.vue.d.ts +30 -6
- package/lib/components/loader/Loader.vue_vue_type_script_setup_true_lang.js +69 -0
- package/lib/components/loader/theme/Loader.base.theme.js +9 -11
- package/lib/components/loader/theme/Loader.carbon.theme.js +9 -11
- package/lib/components/menu/Menu.js +5 -0
- package/lib/components/menu/Menu.vue.d.ts +57 -17
- package/lib/components/menu/Menu.vue_vue_type_script_setup_true_lang.js +194 -0
- package/lib/components/menu/MenuItem.js +6 -0
- package/lib/components/menu/MenuItem.vue.d.ts +204 -53
- package/lib/components/menu/MenuItem.vue_vue_type_script_setup_true_lang.js +210 -0
- package/lib/components/menu/MenuItem.vue_vue_type_style_index_0_scoped_5aebaff3_lang.module.js +7 -0
- package/lib/components/menu/theme/Menu.base.theme.js +4 -8
- package/lib/components/menu/theme/Menu.carbon.theme.js +4 -4
- package/lib/components/menu/theme/MenuItem.base.theme.js +71 -75
- package/lib/components/menu/theme/MenuItem.carbon.theme.js +4 -4
- package/lib/components/modal/Modal.js +5 -0
- package/lib/components/modal/Modal.vue.d.ts +177 -39
- package/lib/components/modal/Modal.vue_vue_type_script_setup_true_lang.js +275 -0
- package/lib/components/modal/theme/Modal.base.theme.js +25 -27
- package/lib/components/modal/theme/Modal.carbon.theme.js +27 -29
- package/lib/components/notifications/Notifications.js +5 -0
- package/lib/components/notifications/Notifications.vue.d.ts +24 -0
- package/lib/components/notifications/Notifications.vue_vue_type_script_setup_true_lang.js +261 -0
- package/lib/components/notifications/theme/Notifications.base.theme.js +8 -10
- package/lib/components/notifications/theme/Notifications.carbon.theme.js +8 -10
- package/lib/components/pagination/Pagination.js +5 -0
- package/lib/components/pagination/Pagination.vue.d.ts +15 -4
- package/lib/components/pagination/Pagination.vue_vue_type_script_setup_true_lang.js +156 -0
- package/lib/components/pagination/PaginationItem.js +5 -0
- package/lib/components/pagination/PaginationItem.vue.d.ts +21 -7
- package/lib/components/pagination/PaginationItem.vue_vue_type_script_setup_true_lang.js +49 -0
- package/lib/components/pagination/theme/Pagination.base.theme.js +12 -12
- package/lib/components/pagination/theme/Pagination.carbon.theme.js +4 -4
- package/lib/components/pagination/theme/PaginationItem.base.theme.js +4 -8
- package/lib/components/pagination/theme/PaginationItem.carbon.theme.js +4 -4
- package/lib/components/popover/Popover.js +6 -0
- package/lib/components/popover/Popover.vue.d.ts +204 -45
- package/lib/components/popover/Popover.vue_vue_type_script_setup_true_lang.js +280 -0
- package/lib/components/popover/PopoverContainer.js +5 -0
- package/lib/components/popover/PopoverContainer.vue.d.ts +3 -0
- package/lib/components/popover/PopoverContainer.vue_vue_type_script_setup_true_lang.js +24 -0
- package/lib/components/popover/PopoverContentBoundary.js +5 -0
- package/lib/components/popover/PopoverContentBoundary.vue.d.ts +9 -0
- package/lib/components/popover/PopoverContentBoundary.vue_vue_type_script_setup_true_lang.js +18 -0
- package/lib/components/popover/theme/Popover.base.theme.js +7 -9
- package/lib/components/popover/theme/Popover.carbon.theme.js +4 -4
- package/lib/components/popover/theme/PopoverContainer.base.theme.js +4 -8
- package/lib/components/popover/theme/PopoverContainer.carbon.theme.js +4 -8
- package/lib/components/progress/Progress.js +5 -0
- package/lib/components/progress/Progress.vue.d.ts +15 -8
- package/lib/components/progress/Progress.vue_vue_type_script_setup_true_lang.js +41 -0
- package/lib/components/progress/theme/Progress.base.theme.js +13 -17
- package/lib/components/progress/theme/Progress.carbon.theme.js +4 -4
- package/lib/components/qrCode/QrCode.js +5 -0
- package/lib/components/qrCode/QrCode.vue.d.ts +24 -3
- package/lib/components/qrCode/QrCode.vue_vue_type_script_setup_true_lang.js +87 -0
- package/lib/components/qrCode/qrcodegen.js +766 -571
- package/lib/components/qrCode/theme/QrCode.base.theme.js +4 -8
- package/lib/components/qrCode/theme/QrCode.carbon.theme.js +4 -4
- package/lib/components/radio/Radio.js +6 -0
- package/lib/components/radio/Radio.vue.d.ts +189 -46
- package/lib/components/radio/Radio.vue_vue_type_script_setup_true_lang.js +124 -0
- package/lib/components/radio/Radio.vue_vue_type_style_index_0_lang.module.js +7 -0
- package/lib/components/radio/theme/Radio.base.theme.js +69 -69
- package/lib/components/radio/theme/Radio.carbon.theme.js +63 -63
- package/lib/components/radioButton/RadioButton.js +6 -0
- package/lib/components/radioButton/RadioButton.vue.d.ts +326 -0
- package/lib/components/radioButton/RadioButton.vue_vue_type_script_setup_true_lang.js +91 -0
- package/lib/components/radioButton/RadioButton.vue_vue_type_style_index_0_lang.module.js +6 -0
- package/lib/components/radioButton/index.d.ts +2 -0
- package/lib/components/radioButton/theme/RadioButton.base.theme.d.ts +3 -0
- package/lib/components/radioButton/theme/RadioButton.base.theme.js +110 -0
- package/lib/components/radioButton/theme/RadioButton.carbon.theme.d.ts +3 -0
- package/lib/components/radioButton/theme/RadioButton.carbon.theme.js +15 -0
- package/lib/components/scroll/Scroll.js +6 -0
- package/lib/components/scroll/Scroll.vue.d.ts +12 -12
- package/lib/components/scroll/Scroll.vue_vue_type_script_setup_true_lang.js +53 -0
- package/lib/components/scroll/Scroll.vue_vue_type_style_index_0_lang.module.js +12 -0
- package/lib/components/scroll/theme/Scroll.base.theme.js +4 -8
- package/lib/components/scroll/theme/Scroll.carbon.theme.js +4 -4
- package/lib/components/select/Select.js +5 -0
- package/lib/components/select/Select.vue.d.ts +714 -383
- package/lib/components/select/Select.vue_vue_type_script_setup_true_lang.js +583 -0
- package/lib/components/select/theme/Select.base.theme.js +26 -25
- package/lib/components/select/theme/Select.carbon.theme.js +23 -23
- package/lib/components/skeleton/Skeleton.js +5 -0
- package/lib/components/skeleton/Skeleton.vue.d.ts +6 -0
- package/lib/components/skeleton/Skeleton.vue_vue_type_script_setup_true_lang.js +33 -0
- package/lib/components/skeleton/theme/Skeleton.base.theme.js +7 -11
- package/lib/components/skeleton/theme/Skeleton.carbon.theme.js +4 -4
- package/lib/components/slider/Slider.js +7 -0
- package/lib/components/slider/Slider.vue.d.ts +180 -39
- package/lib/components/slider/Slider.vue_vue_type_script_setup_true_lang.js +117 -0
- package/lib/components/slider/theme/Slider.base.theme.js +17 -19
- package/lib/components/slider/theme/Slider.carbon.theme.js +4 -4
- package/lib/components/spacer/Spacer.js +9 -11
- package/lib/components/spinner/Spinner.js +5 -0
- package/lib/components/spinner/Spinner.vue.d.ts +6 -0
- package/lib/components/spinner/Spinner.vue_vue_type_script_setup_true_lang.js +25 -0
- package/lib/components/stepper/Stepper.js +5 -0
- package/lib/components/stepper/Stepper.vue.d.ts +242 -41
- package/lib/components/stepper/Stepper.vue_vue_type_script_setup_true_lang.js +425 -0
- package/lib/components/stepper/index.d.ts +1 -1
- package/lib/components/stepper/theme/Stepper.base.theme.js +33 -20
- package/lib/components/stepper/theme/Stepper.carbon.theme.js +4 -4
- package/lib/components/tab/Tab.js +5 -0
- package/lib/components/tab/Tab.vue.d.ts +113 -33
- package/lib/components/tab/Tab.vue_vue_type_script_setup_true_lang.js +210 -0
- package/lib/components/tab/TabGroup.js +5 -0
- package/lib/components/tab/TabGroup.vue.d.ts +53 -20
- package/lib/components/tab/TabGroup.vue_vue_type_script_setup_true_lang.js +166 -0
- package/lib/components/tab/theme/Tab.base.theme.js +13 -15
- package/lib/components/tab/theme/Tab.carbon.theme.js +16 -18
- package/lib/components/tab/theme/TabGroup.base.theme.js +30 -30
- package/lib/components/tab/theme/TabGroup.carbon.theme.js +30 -30
- package/lib/components/table/Table.js +5 -0
- package/lib/components/table/Table.vue.d.ts +94 -313
- package/lib/components/table/Table.vue_vue_type_script_setup_true_lang.js +440 -0
- package/lib/components/table/TableBody.js +9 -14
- package/lib/components/table/TableCell.js +5 -0
- package/lib/components/table/TableCell.vue.d.ts +60 -20
- package/lib/components/table/TableCell.vue_vue_type_script_setup_true_lang.js +96 -0
- package/lib/components/table/TableHead.js +5 -0
- package/lib/components/table/TableHead.vue.d.ts +4 -6
- package/lib/components/table/TableHead.vue_vue_type_script_setup_true_lang.js +18 -0
- package/lib/components/table/TableHeader.js +5 -0
- package/lib/components/table/TableHeader.vue.d.ts +21 -7
- package/lib/components/table/TableHeader.vue_vue_type_script_setup_true_lang.js +84 -0
- package/lib/components/table/TableRow.js +5 -0
- package/lib/components/table/TableRow.vue.d.ts +24 -15
- package/lib/components/table/TableRow.vue_vue_type_script_setup_true_lang.js +44 -0
- package/lib/components/table/theme/Table.base.theme.js +11 -13
- package/lib/components/table/theme/Table.carbon.theme.js +11 -13
- package/lib/components/table/theme/TableCell.base.theme.js +7 -11
- package/lib/components/table/theme/TableCell.carbon.theme.js +7 -11
- package/lib/components/table/theme/TableHead.base.theme.js +10 -12
- package/lib/components/table/theme/TableHead.carbon.theme.js +10 -12
- package/lib/components/table/theme/TableHeader.base.theme.js +14 -16
- package/lib/components/table/theme/TableHeader.carbon.theme.js +10 -12
- package/lib/components/table/theme/TableRow.base.theme.js +7 -11
- package/lib/components/table/theme/TableRow.carbon.theme.js +7 -11
- package/lib/components/tag/Tag.js +5 -0
- package/lib/components/tag/Tag.vue.d.ts +45 -22
- package/lib/components/tag/Tag.vue_vue_type_script_setup_true_lang.js +76 -0
- package/lib/components/tag/theme/Tag.base.theme.js +21 -23
- package/lib/components/tag/theme/Tag.carbon.theme.js +21 -23
- package/lib/components/textarea/Textarea.js +5 -0
- package/lib/components/textarea/Textarea.vue.d.ts +263 -83
- package/lib/components/textarea/Textarea.vue_vue_type_script_setup_true_lang.js +222 -0
- package/lib/components/textarea/theme/Textarea.base.theme.js +17 -13
- package/lib/components/textarea/theme/Textarea.carbon.theme.js +16 -13
- package/lib/components/themeProvider/ThemeProvider.js +5 -0
- package/lib/components/themeProvider/ThemeProvider.vue.d.ts +10 -4
- package/lib/components/themeProvider/ThemeProvider.vue_vue_type_script_setup_true_lang.js +20 -0
- package/lib/components/toggle/Toggle.js +5 -0
- package/lib/components/toggle/Toggle.vue.d.ts +177 -43
- package/lib/components/toggle/Toggle.vue_vue_type_script_setup_true_lang.js +105 -0
- package/lib/components/toggle/theme/Toggle.base.theme.js +23 -28
- package/lib/components/toggle/theme/Toggle.carbon.theme.js +4 -4
- package/lib/components/tooltip/ToggleTip.js +5 -0
- package/lib/components/tooltip/ToggleTip.vue.d.ts +24 -6
- package/lib/components/tooltip/ToggleTip.vue_vue_type_script_setup_true_lang.js +32 -0
- package/lib/components/tooltip/Tooltip.js +5 -0
- package/lib/components/tooltip/Tooltip.vue.d.ts +30 -6
- package/lib/components/tooltip/Tooltip.vue_vue_type_script_setup_true_lang.js +117 -0
- package/lib/components/tooltip/theme/Tooltip.base.theme.js +4 -8
- package/lib/components/tooltip/theme/Tooltip.carbon.theme.js +4 -4
- package/lib/components/upload/Upload.js +5 -0
- package/lib/components/upload/Upload.vue.d.ts +272 -66
- package/lib/components/upload/Upload.vue_vue_type_script_setup_true_lang.js +292 -0
- package/lib/components/upload/fileAccept.d.ts +6 -0
- package/lib/components/upload/fileAccept.js +17 -0
- package/lib/components/upload/theme/Upload.base.theme.js +4 -8
- package/lib/components/upload/theme/Upload.carbon.theme.js +4 -4
- package/lib/composables/index.d.ts +1 -0
- package/lib/composables/keys.d.ts +2 -0
- package/lib/composables/keys.js +4 -12
- package/lib/composables/resolveComponentDefaults.d.ts +4 -0
- package/lib/composables/resolveComponentDefaults.js +15 -0
- package/lib/composables/useCSS.js +29 -25
- package/lib/composables/useColors.d.ts +1 -0
- package/lib/composables/useColors.js +45 -51
- package/lib/composables/useCommon.d.ts +1 -0
- package/lib/composables/useCommon.js +16 -17
- package/lib/composables/useFocusTrap.js +50 -53
- package/lib/composables/useInputtable.d.ts +57 -12
- package/lib/composables/useInputtable.js +177 -113
- package/lib/composables/useInteractive.d.ts +13 -3
- package/lib/composables/useInteractive.js +24 -20
- package/lib/composables/useNotifications.js +8 -8
- package/lib/composables/useTheme.js +44 -56
- package/lib/composables/useVirtualList.d.ts +1 -2
- package/lib/composables/useVirtualList.js +120 -115
- package/lib/create.d.ts +2 -0
- package/lib/create.js +21 -24
- package/lib/index.d.ts +1 -0
- package/lib/index.js +87 -169
- package/lib/index.umd.js +56 -41
- package/lib/install.js +14 -18
- package/lib/node_modules/.pnpm/@floating-ui_core@1.5.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +321 -489
- package/lib/node_modules/.pnpm/@floating-ui_dom@1.1.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.js +288 -215
- package/lib/node_modules/.pnpm/@floating-ui_utils@0.2.1/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +99 -115
- package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.34_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5380 -0
- package/lib/node_modules/.pnpm/@vueuse_core@11.1.0_vue@3.5.34_typescript@5.2.2_/node_modules/@vueuse/core/index.js +407 -0
- package/lib/node_modules/.pnpm/@vueuse_shared@11.1.0_vue@3.5.34_typescript@5.2.2_/node_modules/@vueuse/shared/index.js +75 -0
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/addLeadingZeros.js +5 -6
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.js +6 -6
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/format/formatters.js +378 -513
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/format/lightFormatters.js +42 -58
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/format/longFormatters.js +39 -51
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -17
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.js +7 -10
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeInterval.js +10 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/protectedTokens.js +19 -17
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/add.js +10 -19
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addDays.js +8 -9
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addHours.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addMilliseconds.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addMonths.js +11 -20
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addQuarters.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addYears.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/compareAsc.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.js +6 -9
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInCalendarDays.js +10 -15
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInCalendarYears.js +7 -12
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInYears.js +11 -16
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/eachDayOfInterval.js +14 -19
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/eachQuarterOfInterval.js +13 -19
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfQuarter.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfWeek.js +8 -10
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfYear.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/format.js +57 -58
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDay.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDayOfYear.js +9 -10
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDaysInMonth.js +8 -9
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDefaultOptions.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getHours.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISODay.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeek.js +10 -11
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeekYear.js +13 -14
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getMinutes.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getMonth.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getQuarter.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getSeconds.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeek.js +10 -11
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeekYear.js +14 -16
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getYear.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isAfter.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isBefore.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isDate.js +5 -6
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isEqual.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameQuarter.js +8 -13
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isValid.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +8 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +16 -17
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +19 -28
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -16
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +68 -69
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -32
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -11
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.js +200 -153
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.js +123 -109
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.js +17 -18
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/Parser.js +15 -21
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/Setter.js +29 -40
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/constants.js +29 -48
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +45 -48
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +45 -48
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/DateParser.js +63 -60
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +40 -50
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/DayParser.js +61 -44
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +43 -48
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/EraParser.js +24 -29
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +26 -20
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +14 -21
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +28 -31
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +30 -31
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +31 -32
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +29 -32
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +73 -98
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +27 -47
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +27 -47
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +39 -48
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +33 -39
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +76 -73
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +38 -47
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +47 -68
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +22 -31
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +58 -70
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +57 -69
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +22 -31
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +76 -73
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +58 -70
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +57 -69
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +14 -20
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +14 -20
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/YearParser.js +42 -48
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers.js +66 -66
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/utils.js +64 -93
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse.js +61 -88
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/set.js +9 -10
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setDay.js +9 -11
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setHours.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setISODay.js +9 -10
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setISOWeek.js +8 -9
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setMilliseconds.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setMinutes.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setMonth.js +11 -12
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setSeconds.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setWeek.js +8 -9
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setYear.js +8 -9
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfDay.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeek.js +9 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeekYear.js +9 -10
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfMonth.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfQuarter.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.js +8 -10
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeekYear.js +10 -12
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfYear.js +7 -8
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/sub.js +9 -18
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subDays.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subMonths.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subYears.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.js +6 -7
- package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/transpose.js +9 -16
- package/lib/node_modules/.pnpm/floating-vue@5.2.2_@nuxt_kit@4.4.6_magicast@0.5.3__vue@3.5.34_typescript@5.2.2_/node_modules/floating-vue/dist/floating-vue.js +1243 -0
- package/lib/node_modules/.pnpm/vue-demi@0.14.10_vue@3.5.34_typescript@5.2.2_/node_modules/vue-demi/lib/index.js +28 -0
- package/lib/nuxt.mjs +1 -1
- package/lib/nuxt.plugin.js +1 -0
- package/lib/tailwind.css +74 -0
- package/lib/theme.d.ts +4 -1
- package/lib/theme.js +12 -13
- package/lib/themes/base/components.d.ts +3 -0
- package/lib/themes/base/components.js +118 -108
- package/lib/themes/base/index.js +10 -10
- package/lib/themes/base/styles.d.ts +1 -1
- package/lib/themes/base/styles.js +4 -91
- package/lib/themes/carbon/components.d.ts +3 -0
- package/lib/themes/carbon/components.js +118 -108
- package/lib/themes/carbon/index.js +23 -13
- package/lib/themes/carbon/styles.d.ts +1 -1
- package/lib/themes/carbon/styles.js +4 -87
- package/lib/version.d.ts +1 -1
- package/lib/version.js +4 -4
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.js +5 -0
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue.d.ts +27 -16
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue_vue_type_script_setup_true_lang.js +38 -0
- package/lib/virtual/components/virtualGrid/VirtualGrid.js +5 -0
- package/lib/virtual/components/virtualGrid/VirtualGrid.vue.d.ts +108 -86
- package/lib/virtual/components/virtualGrid/VirtualGrid.vue_vue_type_script_setup_true_lang.js +264 -0
- package/lib/virtual/components/virtualList/VirtualList.js +5 -0
- package/lib/virtual/components/virtualList/VirtualList.vue.d.ts +62 -48
- package/lib/virtual/components/virtualList/VirtualList.vue_vue_type_script_setup_true_lang.js +190 -0
- package/lib/virtual/components/virtualList/isDynamicRowHeight.js +5 -5
- package/lib/virtual/components/virtualList/useDynamicRowHeight.js +59 -67
- package/lib/virtual/composables/infinite-loader/scanForUnloadedIndices.js +26 -40
- package/lib/virtual/composables/infinite-loader/useInfiniteLoader.js +30 -41
- package/lib/virtual/core/createCachedBounds.js +40 -54
- package/lib/virtual/core/getEstimatedSize.js +11 -21
- package/lib/virtual/core/getOffsetForIndex.js +17 -39
- package/lib/virtual/core/getStartStopIndices.js +21 -30
- package/lib/virtual/core/useCachedBounds.js +10 -16
- package/lib/virtual/core/useIsRtl.js +10 -14
- package/lib/virtual/core/useItemSize.js +15 -26
- package/lib/virtual/core/useVirtualizer.js +145 -170
- package/lib/virtual/utils/adjustScrollOffsetForRtl.js +15 -23
- package/lib/virtual/utils/assert.js +5 -6
- package/lib/virtual/utils/getRTLOffsetType.js +12 -12
- package/lib/virtual/utils/getScrollbarSize.js +10 -10
- package/lib/virtual/utils/isRtl.js +10 -11
- package/lib/virtual/utils/parseNumericStyleValue.js +10 -14
- package/lib/virtual/utils/shallowCompare.js +9 -13
- package/package.json +23 -23
- package/src/common/__tests__/inputGroupRadius.spec.ts +14 -0
- package/src/common/buttonGroupRadius.ts +16 -0
- package/src/common/icons.ts +1 -0
- package/src/common/inputGroupRadius.ts +11 -0
- package/src/common/props.ts +35 -0
- package/src/componentDefaults.ts +19 -0
- package/src/components/accordion/Accordion.vue +22 -4
- package/src/components/accordion/AccordionItem.vue +30 -3
- package/src/components/alert/Alert.vue +46 -26
- package/src/components/avatar/Avatar.vue +23 -6
- package/src/components/badge/Badge.vue +29 -6
- package/src/components/breadcrumbs/Breadcrumbs.vue +17 -5
- package/src/components/button/Button.vue +237 -59
- package/src/components/button/ButtonGroup.vue +47 -33
- package/src/components/button/__tests__/ Button.spec.ts +41 -0
- package/src/components/button/__tests__/ ButtonGroup.spec.ts +32 -0
- package/src/components/button/theme/Button.base.theme.ts +10 -2
- package/src/components/button/theme/Button.carbon.theme.ts +9 -2
- package/src/components/card/Card.vue +12 -2
- package/src/components/card/theme/Card.base.theme.ts +1 -1
- package/src/components/carousel/Carousel.vue +24 -2
- package/src/components/carousel/CarouselSlide.vue +7 -1
- package/src/components/checkbox/Checkbox.vue +28 -9
- package/src/components/checkbox/theme/Checkbox.carbon.theme.ts +1 -1
- package/src/components/container/Container.vue +10 -1
- package/src/components/datepicker/Datepicker.vue +498 -111
- package/src/components/datepicker/__tests__/Datepicker.spec.ts +31 -0
- package/src/components/divider/Divider.vue +11 -4
- package/src/components/divider/theme/Divider.base.theme.ts +2 -2
- package/src/components/drawer/Drawer.vue +27 -2
- package/src/components/empty/Empty.vue +101 -0
- package/src/components/empty/__tests__/Empty.spec.ts +11 -0
- package/src/components/empty/index.ts +2 -0
- package/src/components/empty/theme/Empty.base.theme.ts +40 -0
- package/src/components/empty/theme/Empty.carbon.theme.ts +7 -0
- package/src/components/form/Form.vue +32 -3
- package/src/components/formGroup/FormGroup.vue +31 -7
- package/src/components/formGroup/__tests__/FormGroup.spec.ts +37 -2
- package/src/components/formGroup/theme/FormGroup.base.theme.ts +7 -3
- package/src/components/formGroup/theme/FormGroup.carbon.theme.ts +7 -3
- package/src/components/icon/Icon.vue +6 -1
- package/src/components/image/Image.vue +8 -2
- package/src/components/index.ts +3 -0
- package/src/components/input/Input.vue +165 -44
- package/src/components/input/__tests__/Input.spec.ts +28 -1
- package/src/components/input/theme/Input.base.theme.ts +10 -1
- package/src/components/input/theme/Input.carbon.theme.ts +5 -0
- package/src/components/inputFooter/InputFooter.vue +23 -6
- package/src/components/inputGroup/InputGroup.vue +196 -0
- package/src/components/inputGroup/__tests__/InputGroup.spec.ts +104 -0
- package/src/components/inputGroup/index.ts +2 -0
- package/src/components/inputGroup/theme/InputGroup.base.theme.ts +9 -0
- package/src/components/inputGroup/theme/InputGroup.carbon.theme.ts +7 -0
- package/src/components/label/Label.vue +52 -8
- package/src/components/label/theme/Label.base.theme.ts +2 -2
- package/src/components/label/theme/Label.carbon.theme.ts +2 -2
- package/src/components/link/Link.vue +47 -31
- package/src/components/loader/Loader.vue +10 -2
- package/src/components/menu/Menu.vue +25 -5
- package/src/components/menu/MenuItem.vue +115 -56
- package/src/components/modal/Modal.vue +90 -15
- package/src/components/notifications/Notifications.vue +23 -0
- package/src/components/notifications/__tests__/Notifications.spec.ts +44 -4
- package/src/components/pagination/Pagination.vue +11 -1
- package/src/components/pagination/PaginationItem.vue +13 -2
- package/src/components/popover/Popover.vue +125 -33
- package/src/components/popover/PopoverContainer.vue +9 -1
- package/src/components/popover/PopoverContentBoundary.vue +32 -0
- package/src/components/popover/__tests__/Popover.spec.ts +51 -0
- package/src/components/popover/theme/PopoverContainer.base.theme.ts +1 -1
- package/src/components/progress/Progress.vue +10 -3
- package/src/components/qrCode/QrCode.vue +9 -1
- package/src/components/radio/Radio.vue +42 -25
- package/src/components/radio/theme/Radio.base.theme.ts +1 -1
- package/src/components/radio/theme/Radio.carbon.theme.ts +1 -1
- package/src/components/radioButton/RadioButton.vue +168 -0
- package/src/components/radioButton/__tests__/RadioButton.spec.ts +48 -0
- package/src/components/radioButton/index.ts +2 -0
- package/src/components/radioButton/theme/RadioButton.base.theme.ts +155 -0
- package/src/components/radioButton/theme/RadioButton.carbon.theme.ts +31 -0
- package/src/components/scroll/Scroll.vue +18 -5
- package/src/components/select/Select.vue +99 -21
- package/src/components/select/theme/Select.base.theme.ts +7 -1
- package/src/components/select/theme/Select.carbon.theme.ts +2 -0
- package/src/components/skeleton/Skeleton.vue +3 -0
- package/src/components/slider/Slider.vue +34 -8
- package/src/components/spacer/Spacer.tsx +1 -1
- package/src/components/spacer/__tests__/Spacer.spec.ts +1 -1
- package/src/components/spinner/Spinner.vue +2 -0
- package/src/components/stepper/Stepper.vue +654 -83
- package/src/components/stepper/__tests__/Stepper.spec.ts +199 -5
- package/src/components/stepper/index.ts +4 -0
- package/src/components/stepper/theme/Stepper.base.theme.ts +49 -19
- package/src/components/tab/Tab.vue +157 -63
- package/src/components/tab/TabGroup.vue +116 -28
- package/src/components/tab/__tests__/Tab.spec.ts +53 -0
- package/src/components/tab/__tests__/TabGroup.spec.ts +113 -0
- package/src/components/tab/theme/Tab.base.theme.ts +24 -2
- package/src/components/tab/theme/Tab.carbon.theme.ts +30 -7
- package/src/components/tab/theme/TabGroup.base.theme.ts +12 -9
- package/src/components/tab/theme/TabGroup.carbon.theme.ts +6 -2
- package/src/components/table/Table.vue +98 -21
- package/src/components/table/TableCell.vue +27 -6
- package/src/components/table/TableHead.vue +11 -2
- package/src/components/table/TableHeader.vue +18 -3
- package/src/components/table/TableRow.vue +19 -5
- package/src/components/table/__tests__/Table.spec.ts +53 -0
- package/src/components/table/theme/Table.carbon.theme.ts +1 -1
- package/src/components/tag/Tag.vue +30 -10
- package/src/components/textarea/Textarea.vue +117 -24
- package/src/components/textarea/theme/Textarea.base.theme.ts +10 -1
- package/src/components/textarea/theme/Textarea.carbon.theme.ts +5 -0
- package/src/components/themeProvider/ThemeProvider.vue +22 -7
- package/src/components/toggle/Toggle.vue +11 -1
- package/src/components/tooltip/ToggleTip.vue +12 -3
- package/src/components/tooltip/Tooltip.vue +19 -3
- package/src/components/upload/Upload.vue +50 -16
- package/src/components/upload/__tests__/fileAccept.spec.ts +39 -0
- package/src/components/upload/fileAccept.ts +29 -0
- package/src/composables/__tests__/resolveComponentDefaults.spec.ts +139 -0
- package/src/composables/index.ts +1 -0
- package/src/composables/keys.ts +2 -0
- package/src/composables/resolveComponentDefaults.ts +33 -0
- package/src/composables/useColors.ts +1 -0
- package/src/composables/useCommon.ts +1 -0
- package/src/composables/useFocusTrap.ts +3 -1
- package/src/composables/useInputtable.ts +122 -19
- package/src/composables/useInteractive.ts +13 -3
- package/src/composables/useTheme.ts +10 -3
- package/src/composables/useVirtualList.ts +1 -2
- package/src/create.ts +2 -0
- package/src/index.ts +1 -0
- package/src/theme.ts +6 -0
- package/src/themes/base/components.ts +3 -0
- package/src/themes/base/styles.ts +27 -20
- package/src/themes/carbon/components.ts +3 -0
- package/src/themes/carbon/styles.ts +24 -17
- package/src/version.ts +1 -1
- package/src/virtual/components/infiniteLoader/InfiniteLoader.vue +33 -1
- package/src/virtual/components/virtualGrid/VirtualGrid.vue +104 -10
- package/src/virtual/components/virtualList/VirtualList.test.ts +42 -4
- package/src/virtual/components/virtualList/VirtualList.vue +73 -8
- package/src/virtual/components/virtualList/useDynamicRowHeight.ts +9 -2
- package/src/virtual/core/useVirtualizer.ts +18 -4
- package/volar.d.ts +3 -0
- package/docs/layouts/simple.vue +0 -5
- package/docs/pages/component/radio/variants.vue +0 -39
- package/exports/tailwind.preset.js +0 -40
- package/lib/components/accordion/Accordion.vue.js +0 -40
- package/lib/components/accordion/Accordion.vue2.js +0 -4
- package/lib/components/accordion/AccordionItem.vue.js +0 -150
- package/lib/components/accordion/AccordionItem.vue2.js +0 -4
- package/lib/components/accordion/__tests__/Accordion.spec.d.ts +0 -1
- package/lib/components/alert/Alert.vue.js +0 -9
- package/lib/components/alert/Alert.vue2.js +0 -62
- package/lib/components/alert/Alert.vue3.js +0 -8
- package/lib/components/alert/__tests__/Alert.spec.d.ts +0 -1
- package/lib/components/avatar/Avatar.vue.js +0 -9
- package/lib/components/avatar/Avatar.vue2.js +0 -76
- package/lib/components/avatar/Avatar.vue3.js +0 -7
- package/lib/components/avatar/__tests__/Avatar.spec.d.ts +0 -1
- package/lib/components/badge/Badge.vue.js +0 -93
- package/lib/components/badge/Badge.vue2.js +0 -4
- package/lib/components/badge/__tests__/Badge.spec.d.ts +0 -1
- package/lib/components/breadcrumbs/Breadcrumbs.vue.js +0 -69
- package/lib/components/breadcrumbs/Breadcrumbs.vue2.js +0 -4
- package/lib/components/breadcrumbs/__tests__/Breadcrumbs.spec.d.ts +0 -1
- package/lib/components/button/Button.vue.js +0 -9
- package/lib/components/button/Button.vue2.js +0 -117
- package/lib/components/button/Button.vue3.js +0 -8
- package/lib/components/button/ButtonGroup.vue.js +0 -9
- package/lib/components/button/ButtonGroup.vue2.js +0 -53
- package/lib/components/button/ButtonGroup.vue3.js +0 -7
- package/lib/components/button/__tests__/ Button.spec.d.ts +0 -1
- package/lib/components/button/__tests__/ ButtonGroup.spec.d.ts +0 -1
- package/lib/components/card/Card.vue.js +0 -30
- package/lib/components/card/Card.vue2.js +0 -4
- package/lib/components/card/__tests__/Card.spec.d.ts +0 -1
- package/lib/components/carousel/Carousel.vue.js +0 -97
- package/lib/components/carousel/Carousel.vue2.js +0 -4
- package/lib/components/carousel/CarouselSlide.vue.js +0 -9
- package/lib/components/carousel/CarouselSlide.vue2.js +0 -32
- package/lib/components/carousel/CarouselSlide.vue3.js +0 -6
- package/lib/components/carousel/__tests__/Carousel.spec.d.ts +0 -1
- package/lib/components/checkbox/Checkbox.vue.js +0 -9
- package/lib/components/checkbox/Checkbox.vue2.js +0 -143
- package/lib/components/checkbox/Checkbox.vue3.js +0 -6
- package/lib/components/checkbox/__tests__/Checkbox.spec.d.ts +0 -1
- package/lib/components/container/Container.vue.js +0 -33
- package/lib/components/container/Container.vue2.js +0 -4
- package/lib/components/container/__tests__/Container.spec.d.ts +0 -1
- package/lib/components/datepicker/Datepicker.vue.js +0 -309
- package/lib/components/datepicker/Datepicker.vue2.js +0 -4
- package/lib/components/datepicker/Datepicker.vue3.js +0 -5
- package/lib/components/datepicker/__tests__/Datepicker.spec.d.ts +0 -1
- package/lib/components/divider/Divider.vue.js +0 -52
- package/lib/components/divider/Divider.vue2.js +0 -4
- package/lib/components/divider/__tests__/Divider.spec.d.ts +0 -1
- package/lib/components/drawer/Drawer.vue.js +0 -160
- package/lib/components/drawer/Drawer.vue2.js +0 -4
- package/lib/components/drawer/__tests__/Drawer.spec.d.ts +0 -1
- package/lib/components/form/Form.vue.js +0 -111
- package/lib/components/form/Form.vue2.js +0 -4
- package/lib/components/form/__tests__/Form.spec.d.ts +0 -1
- package/lib/components/formGroup/FormGroup.vue.js +0 -91
- package/lib/components/formGroup/FormGroup.vue2.js +0 -4
- package/lib/components/formGroup/__tests__/FormGroup.spec.d.ts +0 -1
- package/lib/components/icon/Icon.vue.js +0 -73
- package/lib/components/icon/Icon.vue2.js +0 -4
- package/lib/components/icon/__tests__/Icon.spec.d.ts +0 -1
- package/lib/components/image/Image.vue.js +0 -31
- package/lib/components/image/Image.vue2.js +0 -4
- package/lib/components/image/__tests__/Image.spec.d.ts +0 -1
- package/lib/components/input/Input.vue.js +0 -164
- package/lib/components/input/Input.vue2.js +0 -4
- package/lib/components/input/__tests__/Input.spec.d.ts +0 -1
- package/lib/components/inputFooter/InputFooter.vue.js +0 -43
- package/lib/components/inputFooter/InputFooter.vue2.js +0 -4
- package/lib/components/inputFooter/__tests__/InputFooter.spec.d.ts +0 -1
- package/lib/components/label/Label.vue.js +0 -54
- package/lib/components/label/Label.vue2.js +0 -4
- package/lib/components/label/__tests__/Label.spec.d.ts +0 -1
- package/lib/components/link/Link.vue.js +0 -9
- package/lib/components/link/Link.vue2.js +0 -47
- package/lib/components/link/Link.vue3.js +0 -8
- package/lib/components/link/__tests__/Link.spec.d.ts +0 -1
- package/lib/components/loader/Loader.vue.js +0 -54
- package/lib/components/loader/Loader.vue2.js +0 -4
- package/lib/components/loader/__tests__/Loader.spec.d.ts +0 -1
- package/lib/components/menu/Menu.vue.js +0 -141
- package/lib/components/menu/Menu.vue2.js +0 -4
- package/lib/components/menu/MenuItem.vue.js +0 -9
- package/lib/components/menu/MenuItem.vue2.js +0 -164
- package/lib/components/menu/MenuItem.vue3.js +0 -7
- package/lib/components/menu/__tests__/Menu.spec.d.ts +0 -1
- package/lib/components/menu/__tests__/MenuItem.spec.d.ts +0 -1
- package/lib/components/modal/Modal.vue.js +0 -211
- package/lib/components/modal/Modal.vue2.js +0 -4
- package/lib/components/modal/__tests__/Modal.spec.d.ts +0 -1
- package/lib/components/notifications/Notifications.vue.js +0 -266
- package/lib/components/notifications/Notifications.vue2.js +0 -4
- package/lib/components/notifications/__tests__/Notifications.spec.d.ts +0 -1
- package/lib/components/pagination/Pagination.vue.js +0 -131
- package/lib/components/pagination/Pagination.vue2.js +0 -4
- package/lib/components/pagination/PaginationItem.vue.js +0 -47
- package/lib/components/pagination/PaginationItem.vue2.js +0 -4
- package/lib/components/pagination/__tests__/Pagination.spec.d.ts +0 -1
- package/lib/components/pagination/__tests__/PaginationItem.spec.d.ts +0 -1
- package/lib/components/popover/Popover.vue.js +0 -134
- package/lib/components/popover/Popover.vue2.js +0 -4
- package/lib/components/popover/Popover.vue3.js +0 -5
- package/lib/components/popover/PopoverContainer.vue.js +0 -29
- package/lib/components/popover/PopoverContainer.vue2.js +0 -4
- package/lib/components/popover/__tests__/Popover.spec.d.ts +0 -1
- package/lib/components/popover/__tests__/PopoverContainer.spec.d.ts +0 -1
- package/lib/components/progress/Progress.vue.js +0 -50
- package/lib/components/progress/Progress.vue2.js +0 -4
- package/lib/components/progress/__tests__/Progress.spec.d.ts +0 -1
- package/lib/components/qrCode/QrCode.vue.js +0 -93
- package/lib/components/qrCode/QrCode.vue2.js +0 -4
- package/lib/components/qrCode/__tests__/QrCode.spec.d.ts +0 -1
- package/lib/components/radio/Radio.vue.js +0 -9
- package/lib/components/radio/Radio.vue2.js +0 -132
- package/lib/components/radio/Radio.vue3.js +0 -10
- package/lib/components/radio/__tests__/Radio.spec.d.ts +0 -1
- package/lib/components/scroll/Scroll.vue.js +0 -9
- package/lib/components/scroll/Scroll.vue2.js +0 -63
- package/lib/components/scroll/Scroll.vue3.js +0 -17
- package/lib/components/scroll/__tests__/Scroll.spec.d.ts +0 -1
- package/lib/components/select/Select.vue.js +0 -696
- package/lib/components/select/Select.vue2.js +0 -4
- package/lib/components/select/__tests__/Select.spec.d.ts +0 -1
- package/lib/components/skeleton/Skeleton.vue.js +0 -39
- package/lib/components/skeleton/Skeleton.vue2.js +0 -4
- package/lib/components/skeleton/__tests__/Skeleton.spec.d.ts +0 -1
- package/lib/components/slider/Slider.vue.js +0 -7
- package/lib/components/slider/Slider.vue2.js +0 -103
- package/lib/components/slider/Slider.vue3.js +0 -4
- package/lib/components/slider/__tests__/Slider.spec.d.ts +0 -1
- package/lib/components/spacer/__tests__/Spacer.spec.d.ts +0 -1
- package/lib/components/spinner/Spinner.vue.js +0 -27
- package/lib/components/spinner/Spinner.vue2.js +0 -4
- package/lib/components/spinner/__tests__/Spinner.spec.d.ts +0 -1
- package/lib/components/stepper/Stepper.vue.js +0 -129
- package/lib/components/stepper/Stepper.vue2.js +0 -4
- package/lib/components/stepper/__tests__/Stepper.spec.d.ts +0 -1
- package/lib/components/tab/Tab.vue.js +0 -150
- package/lib/components/tab/Tab.vue2.js +0 -4
- package/lib/components/tab/TabGroup.vue.js +0 -135
- package/lib/components/tab/TabGroup.vue2.js +0 -4
- package/lib/components/tab/__tests__/Tab.spec.d.ts +0 -1
- package/lib/components/tab/__tests__/TabGroup.spec.d.ts +0 -1
- package/lib/components/table/Table.vue.js +0 -424
- package/lib/components/table/Table.vue2.js +0 -4
- package/lib/components/table/TableCell.vue.js +0 -65
- package/lib/components/table/TableCell.vue2.js +0 -4
- package/lib/components/table/TableHead.vue.js +0 -24
- package/lib/components/table/TableHead.vue2.js +0 -4
- package/lib/components/table/TableHeader.vue.js +0 -82
- package/lib/components/table/TableHeader.vue2.js +0 -4
- package/lib/components/table/TableRow.vue.js +0 -30
- package/lib/components/table/TableRow.vue2.js +0 -4
- package/lib/components/table/__tests__/Table.spec.d.ts +0 -1
- package/lib/components/tag/Tag.vue.js +0 -73
- package/lib/components/tag/Tag.vue2.js +0 -4
- package/lib/components/tag/__tests__/Tag.spec.d.ts +0 -1
- package/lib/components/textarea/Textarea.vue.js +0 -141
- package/lib/components/textarea/Textarea.vue2.js +0 -4
- package/lib/components/textarea/__tests__/Textarea.spec.d.ts +0 -1
- package/lib/components/themeProvider/ThemeProvider.vue.js +0 -18
- package/lib/components/themeProvider/ThemeProvider.vue2.js +0 -4
- package/lib/components/toggle/Toggle.vue.js +0 -108
- package/lib/components/toggle/Toggle.vue2.js +0 -4
- package/lib/components/toggle/__tests__/Toggle.spec.d.ts +0 -1
- package/lib/components/tooltip/ToggleTip.vue.js +0 -29
- package/lib/components/tooltip/ToggleTip.vue2.js +0 -4
- package/lib/components/tooltip/Tooltip.vue.js +0 -132
- package/lib/components/tooltip/Tooltip.vue2.js +0 -4
- package/lib/components/tooltip/__tests__/ToggleTip.spec.d.ts +0 -1
- package/lib/components/tooltip/__tests__/Tooltip.spec.d.ts +0 -1
- package/lib/components/upload/Upload.vue.js +0 -275
- package/lib/components/upload/Upload.vue2.js +0 -4
- package/lib/components/upload/__tests__/Upload.spec.d.ts +0 -1
- package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.10_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -4
- package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.10_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +0 -5210
- package/lib/node_modules/.pnpm/@vueuse_core@11.1.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js +0 -501
- package/lib/node_modules/.pnpm/@vueuse_shared@11.1.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/shared/index.js +0 -96
- package/lib/node_modules/.pnpm/floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.5.10_typescript@5.2.2_/node_modules/floating-vue/dist/floating-vue.js +0 -1371
- package/lib/tailwind.preset.js +0 -40
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue.js +0 -21
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue2.js +0 -4
- package/lib/virtual/components/virtualGrid/VirtualGrid.vue.js +0 -241
- package/lib/virtual/components/virtualGrid/VirtualGrid.vue2.js +0 -4
- package/lib/virtual/components/virtualList/VirtualList.vue.js +0 -159
- package/lib/virtual/components/virtualList/VirtualList.vue2.js +0 -4
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { type ExtractPublicPropTypes, type ComputedRef } from 'vue';
|
|
2
|
+
import { type ThemeComponent } from '../../composables/useTheme';
|
|
3
|
+
import { type Size } from '../../composables/useCommon';
|
|
4
|
+
import type { XFormInputMethods } from '../../composables/useInputtable';
|
|
5
|
+
declare const inputGroupProps: {
|
|
6
|
+
block: import("vue").Prop<boolean | undefined>;
|
|
7
|
+
modelValue: {
|
|
8
|
+
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
9
|
+
readonly default: undefined;
|
|
10
|
+
readonly description: "Bound value (v-model).";
|
|
11
|
+
};
|
|
12
|
+
id: {
|
|
13
|
+
readonly type: StringConstructor;
|
|
14
|
+
readonly description: "Native id attribute for the input element.";
|
|
15
|
+
};
|
|
16
|
+
name: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly description: "Native name attribute for form submission.";
|
|
19
|
+
};
|
|
20
|
+
readonly: {
|
|
21
|
+
readonly type: BooleanConstructor;
|
|
22
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
23
|
+
};
|
|
24
|
+
required: {
|
|
25
|
+
readonly type: BooleanConstructor;
|
|
26
|
+
readonly description: "Marks the field as required for validation.";
|
|
27
|
+
};
|
|
28
|
+
validateOnInput: {
|
|
29
|
+
readonly type: BooleanConstructor;
|
|
30
|
+
readonly default: true;
|
|
31
|
+
readonly description: "Runs validation on each input event when true.";
|
|
32
|
+
};
|
|
33
|
+
label: {
|
|
34
|
+
readonly type: StringConstructor;
|
|
35
|
+
readonly description: "Visible label text for the field.";
|
|
36
|
+
};
|
|
37
|
+
helper: {
|
|
38
|
+
readonly type: StringConstructor;
|
|
39
|
+
readonly description: "Helper text shown below the field.";
|
|
40
|
+
};
|
|
41
|
+
error: {
|
|
42
|
+
readonly type: StringConstructor;
|
|
43
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
44
|
+
};
|
|
45
|
+
hideFooter: {
|
|
46
|
+
readonly type: BooleanConstructor;
|
|
47
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
48
|
+
};
|
|
49
|
+
rules: {
|
|
50
|
+
readonly type: ArrayConstructor;
|
|
51
|
+
readonly default: () => never[];
|
|
52
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
53
|
+
};
|
|
54
|
+
tooltip: {
|
|
55
|
+
readonly type: StringConstructor;
|
|
56
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
57
|
+
};
|
|
58
|
+
skipFormRegistry: {
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
61
|
+
};
|
|
62
|
+
disabled: {
|
|
63
|
+
readonly type: BooleanConstructor;
|
|
64
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
65
|
+
};
|
|
66
|
+
loading: {
|
|
67
|
+
readonly type: BooleanConstructor;
|
|
68
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
69
|
+
};
|
|
70
|
+
loadingLabel: {
|
|
71
|
+
readonly type: StringConstructor;
|
|
72
|
+
readonly description: "Accessible label announced while loading.";
|
|
73
|
+
};
|
|
74
|
+
loadingStatus: {
|
|
75
|
+
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
76
|
+
readonly default: "active";
|
|
77
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
78
|
+
};
|
|
79
|
+
size: {
|
|
80
|
+
readonly type: import("vue").PropType<Size>;
|
|
81
|
+
readonly default: "md";
|
|
82
|
+
readonly validator: (value: string) => boolean;
|
|
83
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export type InputGroupProps = ExtractPublicPropTypes<typeof inputGroupProps>;
|
|
87
|
+
export type InputGroupPosition = 'only' | 'first' | 'middle' | 'last';
|
|
88
|
+
export type InputGroupInjection = {
|
|
89
|
+
registerChild: (id: string) => void;
|
|
90
|
+
unregisterChild: (id: string) => void;
|
|
91
|
+
registerInput: (name: string, methods: XFormInputMethods) => void;
|
|
92
|
+
unregisterInput: (name: string) => void;
|
|
93
|
+
getPosition: (id: string) => InputGroupPosition;
|
|
94
|
+
childOrder: ComputedRef<string[]>;
|
|
95
|
+
isInsideInputGroup: boolean;
|
|
96
|
+
groupProps: {
|
|
97
|
+
size?: Size;
|
|
98
|
+
disabled?: boolean;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export type InputGroupInput = {
|
|
102
|
+
name: string;
|
|
103
|
+
methods: XFormInputMethods;
|
|
104
|
+
};
|
|
105
|
+
type InternalClasses = 'wrapper';
|
|
106
|
+
export interface InputGroupTheme extends ThemeComponent<InputGroupProps, InternalClasses> {
|
|
107
|
+
}
|
|
108
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
109
|
+
block: import("vue").Prop<boolean | undefined>;
|
|
110
|
+
modelValue: {
|
|
111
|
+
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
112
|
+
readonly default: undefined;
|
|
113
|
+
readonly description: "Bound value (v-model).";
|
|
114
|
+
};
|
|
115
|
+
id: {
|
|
116
|
+
readonly type: StringConstructor;
|
|
117
|
+
readonly description: "Native id attribute for the input element.";
|
|
118
|
+
};
|
|
119
|
+
name: {
|
|
120
|
+
readonly type: StringConstructor;
|
|
121
|
+
readonly description: "Native name attribute for form submission.";
|
|
122
|
+
};
|
|
123
|
+
readonly: {
|
|
124
|
+
readonly type: BooleanConstructor;
|
|
125
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
126
|
+
};
|
|
127
|
+
required: {
|
|
128
|
+
readonly type: BooleanConstructor;
|
|
129
|
+
readonly description: "Marks the field as required for validation.";
|
|
130
|
+
};
|
|
131
|
+
validateOnInput: {
|
|
132
|
+
readonly type: BooleanConstructor;
|
|
133
|
+
readonly default: true;
|
|
134
|
+
readonly description: "Runs validation on each input event when true.";
|
|
135
|
+
};
|
|
136
|
+
label: {
|
|
137
|
+
readonly type: StringConstructor;
|
|
138
|
+
readonly description: "Visible label text for the field.";
|
|
139
|
+
};
|
|
140
|
+
helper: {
|
|
141
|
+
readonly type: StringConstructor;
|
|
142
|
+
readonly description: "Helper text shown below the field.";
|
|
143
|
+
};
|
|
144
|
+
error: {
|
|
145
|
+
readonly type: StringConstructor;
|
|
146
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
147
|
+
};
|
|
148
|
+
hideFooter: {
|
|
149
|
+
readonly type: BooleanConstructor;
|
|
150
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
151
|
+
};
|
|
152
|
+
rules: {
|
|
153
|
+
readonly type: ArrayConstructor;
|
|
154
|
+
readonly default: () => never[];
|
|
155
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
156
|
+
};
|
|
157
|
+
tooltip: {
|
|
158
|
+
readonly type: StringConstructor;
|
|
159
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
160
|
+
};
|
|
161
|
+
skipFormRegistry: {
|
|
162
|
+
readonly type: BooleanConstructor;
|
|
163
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
164
|
+
};
|
|
165
|
+
disabled: {
|
|
166
|
+
readonly type: BooleanConstructor;
|
|
167
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
168
|
+
};
|
|
169
|
+
loading: {
|
|
170
|
+
readonly type: BooleanConstructor;
|
|
171
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
172
|
+
};
|
|
173
|
+
loadingLabel: {
|
|
174
|
+
readonly type: StringConstructor;
|
|
175
|
+
readonly description: "Accessible label announced while loading.";
|
|
176
|
+
};
|
|
177
|
+
loadingStatus: {
|
|
178
|
+
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
179
|
+
readonly default: "active";
|
|
180
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
181
|
+
};
|
|
182
|
+
size: {
|
|
183
|
+
readonly type: import("vue").PropType<Size>;
|
|
184
|
+
readonly default: "md";
|
|
185
|
+
readonly validator: (value: string) => boolean;
|
|
186
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
187
|
+
};
|
|
188
|
+
}>, {
|
|
189
|
+
focus: () => void;
|
|
190
|
+
blur: () => void;
|
|
191
|
+
reset: () => void;
|
|
192
|
+
validate: () => boolean;
|
|
193
|
+
setError: (val: string) => void;
|
|
194
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
195
|
+
block: import("vue").Prop<boolean | undefined>;
|
|
196
|
+
modelValue: {
|
|
197
|
+
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
198
|
+
readonly default: undefined;
|
|
199
|
+
readonly description: "Bound value (v-model).";
|
|
200
|
+
};
|
|
201
|
+
id: {
|
|
202
|
+
readonly type: StringConstructor;
|
|
203
|
+
readonly description: "Native id attribute for the input element.";
|
|
204
|
+
};
|
|
205
|
+
name: {
|
|
206
|
+
readonly type: StringConstructor;
|
|
207
|
+
readonly description: "Native name attribute for form submission.";
|
|
208
|
+
};
|
|
209
|
+
readonly: {
|
|
210
|
+
readonly type: BooleanConstructor;
|
|
211
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
212
|
+
};
|
|
213
|
+
required: {
|
|
214
|
+
readonly type: BooleanConstructor;
|
|
215
|
+
readonly description: "Marks the field as required for validation.";
|
|
216
|
+
};
|
|
217
|
+
validateOnInput: {
|
|
218
|
+
readonly type: BooleanConstructor;
|
|
219
|
+
readonly default: true;
|
|
220
|
+
readonly description: "Runs validation on each input event when true.";
|
|
221
|
+
};
|
|
222
|
+
label: {
|
|
223
|
+
readonly type: StringConstructor;
|
|
224
|
+
readonly description: "Visible label text for the field.";
|
|
225
|
+
};
|
|
226
|
+
helper: {
|
|
227
|
+
readonly type: StringConstructor;
|
|
228
|
+
readonly description: "Helper text shown below the field.";
|
|
229
|
+
};
|
|
230
|
+
error: {
|
|
231
|
+
readonly type: StringConstructor;
|
|
232
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
233
|
+
};
|
|
234
|
+
hideFooter: {
|
|
235
|
+
readonly type: BooleanConstructor;
|
|
236
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
237
|
+
};
|
|
238
|
+
rules: {
|
|
239
|
+
readonly type: ArrayConstructor;
|
|
240
|
+
readonly default: () => never[];
|
|
241
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
242
|
+
};
|
|
243
|
+
tooltip: {
|
|
244
|
+
readonly type: StringConstructor;
|
|
245
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
246
|
+
};
|
|
247
|
+
skipFormRegistry: {
|
|
248
|
+
readonly type: BooleanConstructor;
|
|
249
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
250
|
+
};
|
|
251
|
+
disabled: {
|
|
252
|
+
readonly type: BooleanConstructor;
|
|
253
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
254
|
+
};
|
|
255
|
+
loading: {
|
|
256
|
+
readonly type: BooleanConstructor;
|
|
257
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
258
|
+
};
|
|
259
|
+
loadingLabel: {
|
|
260
|
+
readonly type: StringConstructor;
|
|
261
|
+
readonly description: "Accessible label announced while loading.";
|
|
262
|
+
};
|
|
263
|
+
loadingStatus: {
|
|
264
|
+
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
265
|
+
readonly default: "active";
|
|
266
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
267
|
+
};
|
|
268
|
+
size: {
|
|
269
|
+
readonly type: import("vue").PropType<Size>;
|
|
270
|
+
readonly default: "md";
|
|
271
|
+
readonly validator: (value: string) => boolean;
|
|
272
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
273
|
+
};
|
|
274
|
+
}>> & Readonly<{
|
|
275
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
276
|
+
}>, {
|
|
277
|
+
disabled: boolean;
|
|
278
|
+
size: Size;
|
|
279
|
+
loading: boolean;
|
|
280
|
+
loadingStatus: import("../loader/Loader.vue").LoaderStatus;
|
|
281
|
+
modelValue: string | number | boolean | object | any[] | undefined;
|
|
282
|
+
readonly: boolean;
|
|
283
|
+
required: boolean;
|
|
284
|
+
validateOnInput: boolean;
|
|
285
|
+
hideFooter: boolean;
|
|
286
|
+
rules: unknown[];
|
|
287
|
+
skipFormRegistry: boolean;
|
|
288
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
289
|
+
default?(_: {}): any;
|
|
290
|
+
}>;
|
|
291
|
+
export default _default;
|
|
292
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
293
|
+
new (): {
|
|
294
|
+
$slots: S;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { injectInputGroupKey as e } from "../../composables/keys.js";
|
|
2
|
+
import { useTheme as t } from "../../composables/useTheme.js";
|
|
3
|
+
import { optionalBooleanProp as n } from "../../common/props.js";
|
|
4
|
+
import { useCommon as r } from "../../composables/useCommon.js";
|
|
5
|
+
import { useInteractive as i } from "../../composables/useInteractive.js";
|
|
6
|
+
import { useInputtable as a } from "../../composables/useInputtable.js";
|
|
7
|
+
import o from "../inputFooter/InputFooter.js";
|
|
8
|
+
import s from "../label/Label.js";
|
|
9
|
+
import { computed as c, createBlock as l, createCommentVNode as u, createElementVNode as d, defineComponent as f, mergeProps as p, normalizeClass as m, openBlock as h, provide as g, ref as _, renderSlot as v, toHandlers as y, unref as b, withCtx as x, withKeys as S } from "vue";
|
|
10
|
+
//#region src/components/inputGroup/InputGroup.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var C = {
|
|
12
|
+
...r.props(),
|
|
13
|
+
...i.props(),
|
|
14
|
+
...a.props(),
|
|
15
|
+
block: n("Stretches the group to the full width of the parent.")
|
|
16
|
+
}, w = /* @__PURE__ */ f({
|
|
17
|
+
name: "XInputGroup",
|
|
18
|
+
validators: { ...r.validators() },
|
|
19
|
+
docs: {
|
|
20
|
+
slots: { default: "Grouped controls (inputs, buttons, or other adornments)." },
|
|
21
|
+
emits: { ...a.emitDocs() },
|
|
22
|
+
methods: { ...a.methodDocs() }
|
|
23
|
+
},
|
|
24
|
+
props: C,
|
|
25
|
+
emits: a.emits(),
|
|
26
|
+
setup(n, { expose: r, emit: i }) {
|
|
27
|
+
let f = n, C = [], w = _([]), T = c(() => w.value);
|
|
28
|
+
function E(e) {
|
|
29
|
+
let t = T.value, n = t.indexOf(e);
|
|
30
|
+
return n === -1 || t.length === 0 || t.length === 1 ? "only" : n === 0 ? "first" : n === t.length - 1 ? "last" : "middle";
|
|
31
|
+
}
|
|
32
|
+
function D(e) {
|
|
33
|
+
w.value.includes(e) || (w.value = [...w.value, e]);
|
|
34
|
+
}
|
|
35
|
+
function O(e) {
|
|
36
|
+
w.value = w.value.filter((t) => t !== e);
|
|
37
|
+
}
|
|
38
|
+
g(e, {
|
|
39
|
+
registerChild: D,
|
|
40
|
+
unregisterChild: O,
|
|
41
|
+
registerInput: (e, t) => {
|
|
42
|
+
C.push({
|
|
43
|
+
name: e,
|
|
44
|
+
methods: t
|
|
45
|
+
}), D(e);
|
|
46
|
+
},
|
|
47
|
+
unregisterInput: (e) => {
|
|
48
|
+
let t = C.findIndex((t) => t.name === e);
|
|
49
|
+
C.splice(t, 1), O(e);
|
|
50
|
+
},
|
|
51
|
+
getPosition: E,
|
|
52
|
+
childOrder: T,
|
|
53
|
+
isInsideInputGroup: !0,
|
|
54
|
+
groupProps: {
|
|
55
|
+
get size() {
|
|
56
|
+
return f.size;
|
|
57
|
+
},
|
|
58
|
+
get disabled() {
|
|
59
|
+
return f.disabled;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
function k() {
|
|
64
|
+
C[0]?.methods.focus();
|
|
65
|
+
}
|
|
66
|
+
function A() {}
|
|
67
|
+
function j() {
|
|
68
|
+
return f.modelValue === void 0 ? C.map((e) => e.methods.getValue()) : f.modelValue;
|
|
69
|
+
}
|
|
70
|
+
function M() {
|
|
71
|
+
for (let e of C) if (!e.methods.validate()) {
|
|
72
|
+
let t = e.methods.getError();
|
|
73
|
+
return t && R(t), !1;
|
|
74
|
+
}
|
|
75
|
+
return f.rules.length ? L(j()) : (N.value = "", !0);
|
|
76
|
+
}
|
|
77
|
+
let { errorInternal: N, isInsideForm: P, isFirstValidation: F, reset: I, validate: L, setError: R } = a(f, {
|
|
78
|
+
focus: k,
|
|
79
|
+
emit: i,
|
|
80
|
+
formValidate: M
|
|
81
|
+
}), z = M, B = { change: () => {
|
|
82
|
+
f.validateOnInput && !F.value && z();
|
|
83
|
+
} };
|
|
84
|
+
function V() {
|
|
85
|
+
f.validateOnInput && !F.value && z();
|
|
86
|
+
}
|
|
87
|
+
let { styles: H, classes: U, className: W } = t("InputGroup", {}, f, { errorInternal: N });
|
|
88
|
+
return r({
|
|
89
|
+
focus: k,
|
|
90
|
+
blur: A,
|
|
91
|
+
reset: I,
|
|
92
|
+
validate: z,
|
|
93
|
+
setError: R
|
|
94
|
+
}), (e, t) => (h(), l(s, p({
|
|
95
|
+
tag: "fieldset",
|
|
96
|
+
style: b(H),
|
|
97
|
+
block: e.block,
|
|
98
|
+
disabled: e.disabled,
|
|
99
|
+
required: e.required,
|
|
100
|
+
"is-inside-form": b(P),
|
|
101
|
+
"is-inside-input-group": !1,
|
|
102
|
+
label: e.label,
|
|
103
|
+
class: [b(W)],
|
|
104
|
+
tooltip: e.tooltip
|
|
105
|
+
}, y(B), { onKeyup: S(V, ["space"]) }), {
|
|
106
|
+
default: x(() => [d("div", { class: m(b(U).wrapper) }, [v(e.$slots, "default")], 2), e.hideFooter ? u("", !0) : (h(), l(o, {
|
|
107
|
+
key: 0,
|
|
108
|
+
error: b(N),
|
|
109
|
+
helper: e.helper
|
|
110
|
+
}, null, 8, ["error", "helper"]))]),
|
|
111
|
+
_: 3
|
|
112
|
+
}, 16, [
|
|
113
|
+
"style",
|
|
114
|
+
"block",
|
|
115
|
+
"disabled",
|
|
116
|
+
"required",
|
|
117
|
+
"is-inside-form",
|
|
118
|
+
"label",
|
|
119
|
+
"class",
|
|
120
|
+
"tooltip"
|
|
121
|
+
]));
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
//#endregion
|
|
125
|
+
export { w as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/components/inputGroup/theme/InputGroup.base.theme.ts
|
|
2
|
+
var e = { classes: { wrapper: "inline-flex w-full items-stretch -space-x-px [&>*]:relative [&>*:focus-within]:z-10 [&>*:focus]:z-10 [&>.x-datepicker]:flex-1 [&>.x-datepicker]:min-w-0" } };
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
@@ -1,20 +1,41 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
import { type ThemeComponent } from '../../composables/useTheme';
|
|
3
3
|
declare const labelProps: {
|
|
4
|
-
label:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
label: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
required: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
block: import("vue").Prop<boolean | undefined>;
|
|
17
|
+
isInsideForm: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
isInsideInputGroup: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
9
25
|
tag: {
|
|
10
26
|
type: StringConstructor;
|
|
11
27
|
default: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
tooltip: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
description: string;
|
|
12
33
|
};
|
|
13
|
-
tooltip: StringConstructor;
|
|
14
34
|
size: {
|
|
15
35
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
16
36
|
readonly default: "md";
|
|
17
37
|
readonly validator: (value: string) => boolean;
|
|
38
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
18
39
|
};
|
|
19
40
|
};
|
|
20
41
|
export type LabelProps = ExtractPublicPropTypes<typeof labelProps>;
|
|
@@ -22,44 +43,86 @@ type InternalClasses = 'wrapper' | 'label';
|
|
|
22
43
|
export interface LabelTheme extends ThemeComponent<LabelProps, InternalClasses> {
|
|
23
44
|
}
|
|
24
45
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
25
|
-
label:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
46
|
+
label: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
disabled: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
description: string;
|
|
53
|
+
};
|
|
54
|
+
required: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
block: import("vue").Prop<boolean | undefined>;
|
|
59
|
+
isInsideForm: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
isInsideInputGroup: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
30
67
|
tag: {
|
|
31
68
|
type: StringConstructor;
|
|
32
69
|
default: string;
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
tooltip: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
description: string;
|
|
33
75
|
};
|
|
34
|
-
tooltip: StringConstructor;
|
|
35
76
|
size: {
|
|
36
77
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
37
78
|
readonly default: "md";
|
|
38
79
|
readonly validator: (value: string) => boolean;
|
|
80
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
39
81
|
};
|
|
40
82
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
-
label:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
83
|
+
label: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
required: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
95
|
+
block: import("vue").Prop<boolean | undefined>;
|
|
96
|
+
isInsideForm: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
description: string;
|
|
99
|
+
};
|
|
100
|
+
isInsideInputGroup: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
description: string;
|
|
103
|
+
};
|
|
46
104
|
tag: {
|
|
47
105
|
type: StringConstructor;
|
|
48
106
|
default: string;
|
|
107
|
+
description: string;
|
|
108
|
+
};
|
|
109
|
+
tooltip: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
description: string;
|
|
49
112
|
};
|
|
50
|
-
tooltip: StringConstructor;
|
|
51
113
|
size: {
|
|
52
114
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
53
115
|
readonly default: "md";
|
|
54
116
|
readonly validator: (value: string) => boolean;
|
|
117
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
55
118
|
};
|
|
56
119
|
}>> & Readonly<{}>, {
|
|
57
120
|
disabled: boolean;
|
|
58
121
|
tag: string;
|
|
59
122
|
size: import("../../composables/useCommon").Size;
|
|
60
|
-
block: boolean;
|
|
61
123
|
required: boolean;
|
|
62
124
|
isInsideForm: boolean;
|
|
125
|
+
isInsideInputGroup: boolean;
|
|
63
126
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
64
127
|
default?(_: {}): any;
|
|
65
128
|
}>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { injectInputGroupKey as e } from "../../composables/keys.js";
|
|
2
|
+
import { useTheme as t } from "../../composables/useTheme.js";
|
|
3
|
+
import { optionalBooleanProp as n } from "../../common/props.js";
|
|
4
|
+
import { useCommon as r } from "../../composables/useCommon.js";
|
|
5
|
+
import i from "../tooltip/ToggleTip.js";
|
|
6
|
+
import { computed as a, createBlock as o, createCommentVNode as s, createElementVNode as c, defineComponent as l, inject as u, normalizeClass as d, normalizeStyle as f, openBlock as p, renderSlot as m, resolveDynamicComponent as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
|
|
7
|
+
//#region src/components/label/Label.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var y = {
|
|
9
|
+
...r.props(),
|
|
10
|
+
label: {
|
|
11
|
+
type: String,
|
|
12
|
+
description: "Visible label text."
|
|
13
|
+
},
|
|
14
|
+
disabled: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
description: "Applies disabled styling to the label."
|
|
17
|
+
},
|
|
18
|
+
required: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
description: "Marks the label as required for form fields."
|
|
21
|
+
},
|
|
22
|
+
block: n("Stretches to the full width of the parent."),
|
|
23
|
+
isInsideForm: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
description: "Indicates the label is rendered inside a form layout."
|
|
26
|
+
},
|
|
27
|
+
isInsideInputGroup: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
description: "Indicates the label is rendered inside an input group."
|
|
30
|
+
},
|
|
31
|
+
tag: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: "label",
|
|
34
|
+
description: "Root element tag. Use `fieldset` for grouped controls."
|
|
35
|
+
},
|
|
36
|
+
tooltip: {
|
|
37
|
+
type: String,
|
|
38
|
+
description: "Tooltip text shown next to the label via a toggle tip."
|
|
39
|
+
}
|
|
40
|
+
}, b = /* @__PURE__ */ l({
|
|
41
|
+
name: "XLabel",
|
|
42
|
+
validators: { ...r.validators() },
|
|
43
|
+
docs: { slots: { default: "Labeled control or content." } },
|
|
44
|
+
props: y,
|
|
45
|
+
setup(n) {
|
|
46
|
+
let r = n, l = u(e, {
|
|
47
|
+
registerChild: () => {},
|
|
48
|
+
unregisterChild: () => {},
|
|
49
|
+
registerInput: () => {},
|
|
50
|
+
unregisterInput: () => {},
|
|
51
|
+
getPosition: () => "only",
|
|
52
|
+
childOrder: a(() => []),
|
|
53
|
+
isInsideInputGroup: !1,
|
|
54
|
+
groupProps: {}
|
|
55
|
+
}), { styles: y, classes: b, className: x } = t("Label", {}, a(() => ({
|
|
56
|
+
...r,
|
|
57
|
+
isInsideInputGroup: r.isInsideInputGroup ?? l.isInsideInputGroup
|
|
58
|
+
})));
|
|
59
|
+
return (e, t) => (p(), o(h(e.tag), {
|
|
60
|
+
style: f(_(y)),
|
|
61
|
+
class: d([_(x), _(b).wrapper])
|
|
62
|
+
}, {
|
|
63
|
+
default: v(() => [e.label ? (p(), o(h(e.tag === "fieldset" ? "legend" : "p"), {
|
|
64
|
+
key: 0,
|
|
65
|
+
title: e.label,
|
|
66
|
+
class: d(_(b).label)
|
|
67
|
+
}, {
|
|
68
|
+
default: v(() => [c("span", null, g(e.label), 1), e.tooltip ? (p(), o(i, {
|
|
69
|
+
key: 0,
|
|
70
|
+
content: e.tooltip
|
|
71
|
+
}, null, 8, ["content"])) : s("", !0)]),
|
|
72
|
+
_: 1
|
|
73
|
+
}, 8, ["title", "class"])) : s("", !0), m(e.$slots, "default")]),
|
|
74
|
+
_: 3
|
|
75
|
+
}, 8, ["style", "class"]));
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
//#endregion
|
|
79
|
+
export { b as default };
|