@indielayer/ui 2.0.0 → 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/tailwind.css +7 -1
- package/docs/components/Cookies.vue +3 -1
- package/docs/components/common/CodePreview.vue +1 -1
- package/docs/components/common/DocsCopyPage.vue +200 -0
- package/docs/components/common/DocumentPage.vue +76 -23
- package/docs/components/toolbar/ToolbarColorToggle.vue +29 -18
- package/docs/components/toolbar/ToolbarSearch.vue +4 -4
- package/docs/composables/useDocMeta.ts +63 -4
- package/docs/icons.ts +3 -0
- package/docs/main.ts +25 -26
- 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/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 +2 -2
- package/docs/pages/component/empty/index.vue +3 -3
- package/docs/pages/component/form/index.vue +2 -2
- package/docs/pages/component/formGroup/index.vue +2 -2
- package/docs/pages/component/infiniteLoader/index.vue +3 -3
- package/docs/pages/component/input/index.vue +5 -5
- package/docs/pages/component/inputGroup/index.vue +3 -3
- package/docs/pages/component/inputGroup/validation.vue +6 -1
- 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 +3 -3
- 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/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/table/index.vue +4 -4
- 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/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/virtualList/index.vue +3 -3
- package/docs/pages/icons.vue +2 -2
- package/docs/router/index.ts +39 -44
- package/docs/search/components.json +1 -1
- package/docs/search/index.json +1 -1
- package/lib/common/buttonGroupRadius.d.ts +3 -0
- package/lib/common/buttonGroupRadius.js +6 -0
- package/lib/common/props.d.ts +1 -1
- package/lib/common/props.js +10 -9
- package/lib/components/accordion/Accordion.vue.d.ts +42 -9
- package/lib/components/accordion/Accordion.vue_vue_type_script_setup_true_lang.js +18 -6
- package/lib/components/accordion/AccordionItem.vue.d.ts +33 -6
- package/lib/components/accordion/AccordionItem.vue_vue_type_script_setup_true_lang.js +31 -6
- package/lib/components/alert/Alert.vue.d.ts +27 -6
- package/lib/components/alert/Alert.vue_vue_type_script_setup_true_lang.js +20 -6
- package/lib/components/avatar/Avatar.vue.d.ts +45 -9
- package/lib/components/avatar/Avatar.vue_vue_type_script_setup_true_lang.js +17 -6
- package/lib/components/badge/Badge.vue.d.ts +54 -9
- package/lib/components/badge/Badge.vue_vue_type_script_setup_true_lang.js +26 -9
- package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +30 -6
- package/lib/components/breadcrumbs/Breadcrumbs.vue_vue_type_script_setup_true_lang.js +13 -5
- package/lib/components/button/Button.js +2 -2
- package/lib/components/button/Button.vue.d.ts +138 -28
- package/lib/components/button/Button.vue_vue_type_script_setup_true_lang.js +192 -70
- package/lib/components/button/ButtonGroup.js +4 -5
- package/lib/components/button/ButtonGroup.vue.d.ts +54 -10
- package/lib/components/button/ButtonGroup.vue_vue_type_script_setup_true_lang.js +30 -19
- package/lib/components/button/theme/Button.base.theme.js +6 -5
- package/lib/components/button/theme/Button.carbon.theme.js +6 -5
- package/lib/components/card/Card.vue.d.ts +3 -0
- package/lib/components/card/Card.vue_vue_type_script_setup_true_lang.js +4 -2
- package/lib/components/carousel/Carousel.vue.d.ts +21 -3
- package/lib/components/carousel/Carousel.vue_vue_type_script_setup_true_lang.js +23 -5
- package/lib/components/carousel/CarouselSlide.js +2 -2
- package/lib/components/carousel/CarouselSlide.vue.d.ts +3 -0
- package/lib/components/carousel/CarouselSlide.vue_vue_type_script_setup_true_lang.js +3 -1
- package/lib/components/carousel/{CarouselSlide.vue_vue_type_style_index_0_scoped_e90d2127_lang.module.js → CarouselSlide.vue_vue_type_style_index_0_scoped_4f559831_lang.module.js} +1 -1
- package/lib/components/checkbox/Checkbox.vue.d.ts +198 -45
- package/lib/components/checkbox/Checkbox.vue_vue_type_script_setup_true_lang.js +20 -3
- package/lib/components/container/Container.vue.d.ts +6 -0
- package/lib/components/container/Container.vue_vue_type_script_setup_true_lang.js +5 -2
- package/lib/components/datepicker/Datepicker.vue.d.ts +462 -36
- package/lib/components/datepicker/Datepicker.vue_vue_type_script_setup_true_lang.js +294 -153
- package/lib/components/divider/Divider.vue.d.ts +12 -3
- package/lib/components/divider/Divider.vue_vue_type_script_setup_true_lang.js +6 -2
- package/lib/components/drawer/Drawer.vue.d.ts +39 -6
- package/lib/components/drawer/Drawer.vue_vue_type_script_setup_true_lang.js +30 -7
- package/lib/components/empty/Empty.vue.d.ts +30 -6
- package/lib/components/empty/Empty.vue_vue_type_script_setup_true_lang.js +17 -4
- package/lib/components/form/Form.vue.d.ts +48 -9
- package/lib/components/form/Form.vue_vue_type_script_setup_true_lang.js +34 -7
- package/lib/components/formGroup/FormGroup.vue.d.ts +171 -39
- package/lib/components/formGroup/FormGroup.vue_vue_type_script_setup_true_lang.js +15 -9
- package/lib/components/icon/Icon.vue.d.ts +9 -0
- package/lib/components/icon/Icon.vue_vue_type_script_setup_true_lang.js +6 -3
- package/lib/components/image/Image.vue.d.ts +12 -3
- package/lib/components/image/Image.vue_vue_type_script_setup_true_lang.js +5 -1
- package/lib/components/index.js +18 -18
- package/lib/components/input/Input.vue.d.ts +291 -66
- package/lib/components/input/Input.vue_vue_type_script_setup_true_lang.js +53 -15
- package/lib/components/inputFooter/InputFooter.vue.d.ts +48 -12
- package/lib/components/inputFooter/InputFooter.vue_vue_type_script_setup_true_lang.js +18 -5
- package/lib/components/inputGroup/InputGroup.vue.d.ts +171 -39
- package/lib/components/inputGroup/InputGroup.vue_vue_type_script_setup_true_lang.js +6 -1
- package/lib/components/label/Label.vue.d.ts +78 -18
- package/lib/components/label/Label.vue_vue_type_script_setup_true_lang.js +28 -8
- package/lib/components/link/Link.js +2 -2
- package/lib/components/link/Link.vue.d.ts +18 -3
- package/lib/components/link/Link.vue_vue_type_script_setup_true_lang.js +10 -5
- package/lib/components/loader/Loader.vue.d.ts +30 -6
- package/lib/components/loader/Loader.vue_vue_type_script_setup_true_lang.js +11 -3
- package/lib/components/menu/Menu.vue.d.ts +51 -9
- package/lib/components/menu/Menu.vue_vue_type_script_setup_true_lang.js +24 -8
- package/lib/components/menu/MenuItem.js +2 -2
- package/lib/components/menu/MenuItem.vue.d.ts +198 -45
- package/lib/components/menu/MenuItem.vue_vue_type_script_setup_true_lang.js +84 -23
- package/lib/components/menu/{MenuItem.vue_vue_type_style_index_0_scoped_2a6b7341_lang.module.js → MenuItem.vue_vue_type_style_index_0_scoped_5aebaff3_lang.module.js} +1 -1
- package/lib/components/modal/Modal.vue.d.ts +177 -39
- package/lib/components/modal/Modal.vue_vue_type_script_setup_true_lang.js +104 -23
- package/lib/components/notifications/Notifications.vue.d.ts +24 -0
- package/lib/components/notifications/Notifications.vue_vue_type_script_setup_true_lang.js +39 -12
- package/lib/components/pagination/Pagination.vue.d.ts +12 -0
- package/lib/components/pagination/Pagination.vue_vue_type_script_setup_true_lang.js +8 -4
- package/lib/components/pagination/PaginationItem.vue.d.ts +18 -3
- package/lib/components/pagination/PaginationItem.vue_vue_type_script_setup_true_lang.js +8 -3
- package/lib/components/popover/Popover.vue.d.ts +204 -45
- package/lib/components/popover/Popover.vue_vue_type_script_setup_true_lang.js +157 -66
- package/lib/components/popover/PopoverContainer.vue.d.ts +3 -0
- package/lib/components/popover/PopoverContainer.vue_vue_type_script_setup_true_lang.js +3 -1
- 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/PopoverContainer.base.theme.js +1 -1
- package/lib/components/progress/Progress.vue.d.ts +9 -0
- package/lib/components/progress/Progress.vue_vue_type_script_setup_true_lang.js +7 -4
- package/lib/components/qrCode/QrCode.vue.d.ts +24 -3
- package/lib/components/qrCode/QrCode.vue_vue_type_script_setup_true_lang.js +13 -5
- package/lib/components/radio/Radio.vue.d.ts +186 -42
- package/lib/components/radio/Radio.vue_vue_type_script_setup_true_lang.js +10 -2
- package/lib/components/radioButton/RadioButton.vue.d.ts +186 -42
- package/lib/components/radioButton/RadioButton.vue_vue_type_script_setup_true_lang.js +9 -1
- package/lib/components/scroll/Scroll.vue.d.ts +3 -0
- package/lib/components/scroll/Scroll.vue_vue_type_script_setup_true_lang.js +9 -4
- package/lib/components/select/Select.vue.d.ts +633 -144
- package/lib/components/select/Select.vue_vue_type_script_setup_true_lang.js +224 -189
- package/lib/components/skeleton/Skeleton.vue.d.ts +6 -0
- package/lib/components/skeleton/Skeleton.vue_vue_type_script_setup_true_lang.js +5 -2
- package/lib/components/slider/Slider.js +1 -1
- package/lib/components/slider/Slider.vue.d.ts +180 -39
- package/lib/components/slider/Slider.vue_vue_type_script_setup_true_lang.js +14 -3
- package/lib/components/spinner/Spinner.vue.d.ts +6 -0
- package/lib/components/spinner/Spinner.vue_vue_type_script_setup_true_lang.js +3 -1
- package/lib/components/stepper/Stepper.vue.d.ts +120 -24
- package/lib/components/stepper/Stepper.vue_vue_type_script_setup_true_lang.js +63 -15
- package/lib/components/tab/Tab.vue.d.ts +112 -31
- package/lib/components/tab/Tab.vue_vue_type_script_setup_true_lang.js +166 -95
- package/lib/components/tab/TabGroup.vue.d.ts +47 -12
- package/lib/components/tab/TabGroup.vue_vue_type_script_setup_true_lang.js +93 -49
- package/lib/components/tab/theme/Tab.base.theme.js +6 -6
- package/lib/components/tab/theme/Tab.carbon.theme.js +6 -6
- package/lib/components/tab/theme/TabGroup.base.theme.js +7 -7
- package/lib/components/tab/theme/TabGroup.carbon.theme.js +3 -3
- package/lib/components/table/Table.vue.d.ts +45 -9
- package/lib/components/table/Table.vue_vue_type_script_setup_true_lang.js +82 -27
- package/lib/components/table/TableCell.vue.d.ts +54 -12
- package/lib/components/table/TableCell.vue_vue_type_script_setup_true_lang.js +23 -8
- package/lib/components/table/TableHead.vue_vue_type_script_setup_true_lang.js +2 -1
- package/lib/components/table/TableHeader.vue.d.ts +18 -3
- package/lib/components/table/TableHeader.vue_vue_type_script_setup_true_lang.js +10 -4
- package/lib/components/table/TableRow.vue.d.ts +15 -3
- package/lib/components/table/TableRow.vue_vue_type_script_setup_true_lang.js +10 -5
- package/lib/components/tag/Tag.vue.d.ts +33 -6
- package/lib/components/tag/Tag.vue_vue_type_script_setup_true_lang.js +21 -7
- package/lib/components/textarea/Textarea.vue.d.ts +237 -54
- package/lib/components/textarea/Textarea.vue_vue_type_script_setup_true_lang.js +38 -13
- package/lib/components/themeProvider/ThemeProvider.vue.d.ts +10 -4
- package/lib/components/themeProvider/ThemeProvider.vue_vue_type_script_setup_true_lang.js +6 -1
- package/lib/components/toggle/Toggle.vue.d.ts +174 -39
- package/lib/components/toggle/Toggle.vue_vue_type_script_setup_true_lang.js +5 -1
- package/lib/components/tooltip/ToggleTip.vue.d.ts +24 -6
- package/lib/components/tooltip/ToggleTip.vue_vue_type_script_setup_true_lang.js +9 -2
- package/lib/components/tooltip/Tooltip.vue.d.ts +30 -6
- package/lib/components/tooltip/Tooltip.vue_vue_type_script_setup_true_lang.js +16 -4
- package/lib/components/upload/Upload.vue.d.ts +249 -57
- package/lib/components/upload/Upload.vue_vue_type_script_setup_true_lang.js +156 -125
- package/lib/components/upload/fileAccept.d.ts +6 -0
- package/lib/components/upload/fileAccept.js +17 -0
- package/lib/composables/useColors.d.ts +1 -0
- package/lib/composables/useColors.js +2 -1
- package/lib/composables/useCommon.d.ts +1 -0
- package/lib/composables/useCommon.js +2 -1
- package/lib/composables/useFocusTrap.js +1 -1
- package/lib/composables/useInputtable.d.ts +45 -10
- package/lib/composables/useInputtable.js +56 -14
- package/lib/composables/useInteractive.d.ts +13 -3
- package/lib/composables/useInteractive.js +14 -4
- package/lib/index.js +12 -12
- package/lib/index.umd.js +9 -10
- package/lib/themes/base/styles.d.ts +1 -1
- package/lib/themes/base/styles.js +1 -1
- package/lib/themes/carbon/styles.d.ts +1 -1
- package/lib/themes/carbon/styles.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- 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 +25 -5
- 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 +91 -21
- 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 +64 -13
- package/lib/virtual/components/virtualList/useDynamicRowHeight.js +4 -3
- package/package.json +5 -3
- package/src/common/buttonGroupRadius.ts +16 -0
- package/src/common/props.ts +10 -9
- package/src/components/accordion/Accordion.vue +20 -4
- package/src/components/accordion/AccordionItem.vue +28 -3
- package/src/components/alert/Alert.vue +22 -6
- package/src/components/avatar/Avatar.vue +20 -5
- package/src/components/badge/Badge.vue +24 -5
- package/src/components/breadcrumbs/Breadcrumbs.vue +15 -5
- package/src/components/button/Button.vue +140 -5
- package/src/components/button/ButtonGroup.vue +41 -25
- 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 +4 -1
- package/src/components/button/theme/Button.carbon.theme.ts +5 -4
- package/src/components/card/Card.vue +10 -2
- package/src/components/carousel/Carousel.vue +22 -2
- package/src/components/carousel/CarouselSlide.vue +6 -0
- package/src/components/checkbox/Checkbox.vue +22 -3
- package/src/components/container/Container.vue +10 -1
- package/src/components/datepicker/Datepicker.vue +466 -101
- package/src/components/datepicker/__tests__/Datepicker.spec.ts +31 -0
- package/src/components/divider/Divider.vue +9 -3
- package/src/components/drawer/Drawer.vue +27 -2
- package/src/components/empty/Empty.vue +18 -3
- package/src/components/form/Form.vue +32 -3
- package/src/components/formGroup/FormGroup.vue +12 -0
- package/src/components/icon/Icon.vue +4 -1
- package/src/components/image/Image.vue +8 -2
- package/src/components/input/Input.vue +54 -12
- package/src/components/inputFooter/InputFooter.vue +21 -6
- package/src/components/inputGroup/InputGroup.vue +12 -1
- package/src/components/label/Label.vue +31 -7
- package/src/components/link/Link.vue +16 -5
- package/src/components/loader/Loader.vue +10 -2
- package/src/components/menu/Menu.vue +23 -5
- package/src/components/menu/MenuItem.vue +78 -17
- 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 +9 -1
- package/src/components/pagination/PaginationItem.vue +11 -2
- package/src/components/popover/Popover.vue +113 -18
- 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 +8 -3
- package/src/components/qrCode/QrCode.vue +9 -1
- package/src/components/radio/Radio.vue +16 -2
- package/src/components/radioButton/RadioButton.vue +15 -1
- package/src/components/scroll/Scroll.vue +15 -4
- package/src/components/select/Select.vue +53 -16
- package/src/components/skeleton/Skeleton.vue +3 -0
- package/src/components/slider/Slider.vue +15 -0
- package/src/components/spinner/Spinner.vue +2 -0
- package/src/components/stepper/Stepper.vue +57 -9
- package/src/components/tab/Tab.vue +153 -63
- package/src/components/tab/TabGroup.vue +110 -26
- 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 +76 -19
- package/src/components/table/TableCell.vue +25 -6
- package/src/components/table/TableHead.vue +9 -2
- package/src/components/table/TableHeader.vue +16 -3
- package/src/components/table/TableRow.vue +17 -5
- package/src/components/tag/Tag.vue +22 -6
- package/src/components/textarea/Textarea.vue +40 -11
- package/src/components/themeProvider/ThemeProvider.vue +22 -7
- package/src/components/toggle/Toggle.vue +9 -1
- package/src/components/tooltip/ToggleTip.vue +12 -3
- package/src/components/tooltip/Tooltip.vue +19 -3
- package/src/components/upload/Upload.vue +46 -16
- package/src/components/upload/__tests__/fileAccept.spec.ts +39 -0
- package/src/components/upload/fileAccept.ts +29 -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 +66 -10
- package/src/composables/useInteractive.ts +13 -3
- package/src/themes/base/styles.ts +2 -3
- package/src/themes/carbon/styles.ts +2 -3
- 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.vue +73 -8
- package/src/virtual/components/virtualList/useDynamicRowHeight.ts +9 -2
- package/volar.d.ts +3 -0
- package/docs/layouts/simple.vue +0 -5
- package/lib/components/button/ButtonGroup.vue_vue_type_style_index_0_lang.module.js +0 -7
- /package/lib/components/button/{Button.vue_vue_type_style_index_0_scoped_4402fde2_lang.module.js → Button.vue_vue_type_style_index_0_scoped_486cb9c0_lang.module.js} +0 -0
- /package/lib/components/link/{Link.vue_vue_type_style_index_0_scoped_8e0e4d08_lang.module.js → Link.vue_vue_type_style_index_0_scoped_3ee61e03_lang.module.js} +0 -0
package/docs/search/index.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"Icons","description":"Custom icon set integration for Indielayer UI components.","url":"/icons","category":"guide"},{"name":"Colors","description":"Color palette, semantic tokens, and color props on components.","url":"/colors","category":"guide"},{"name":"Typography","description":"Type scale and typography utilities used across the library.","url":"/typography","category":"guide"},{"name":"Accordion","description":"Accordion is a component that allows you to collapse and expand content.","url":"/component/accordion","category":"component"},{"name":"Alert","description":"Alerts are used to communicate a state that affects a system, feature or page.","url":"/component/alert","category":"component"},{"name":"Avatar","description":"Avatars are used to represent a user.","url":"/component/avatar","category":"component"},{"name":"Badge","description":"Badges are used to display a small amount of information.","url":"/component/badge","category":"component"},{"name":"Breadcrumbs","description":"Breadcrumbs are used to indicate the current page\\","url":"/component/breadcrumbs","category":"component"},{"name":"Button","description":"Buttons allow users to perform actions and make choices with a single click. They are commonly used for submitting forms, opening dialogs or menus, and executing commands. Buttons can be customized with different styles, sizes, and icons to fit various use cases.","url":"/component/button","category":"component"},{"name":"Card","description":"Cards are used to display content in an organized manner.","url":"/component/card","category":"component"},{"name":"Carousel","description":"A carousel is a rotating set of images.","url":"/component/carousel","category":"component"},{"name":"Checkbox","description":"Checkboxes enable users to select one or multiple options from a list. They are ideal for toggling settings or making selections where more than one choice is allowed. Each checkbox can be checked or unchecked independently.","url":"/component/checkbox","category":"component"},{"name":"Container","description":"Containers provide a flexible layout element for grouping and organizing content. They help structure pages by controlling width, alignment, and spacing, ensuring consistent presentation across different sections.","url":"/component/container","category":"component"},{"name":"Datepicker","description":"The datepicker component is used to select a date or time.","url":"/component/datepicker","category":"component"},{"name":"Divider","description":"Dividers are used to separate content.","url":"/component/divider","category":"component"},{"name":"Drawer","description":"Drawers slide in from the edge of the screen to present navigation, options, or additional content without disrupting the main view. They are ideal for menus, filters, or contextual panels.","url":"/component/drawer","category":"component"},{"name":"Empty","description":"Empty states communicate when there is no content to show. Use them in tables, lists, and panels with a title, description, optional icon, and actions.","url":"/component/empty","category":"component"},{"name":"Form","description":"Forms provide a structured way to collect and validate user input, such as text, selections, and files. They support features like validation, grouping, and submission handling, making it easy to build interactive and accessible data entry interfaces.","url":"/component/form","category":"component"},{"name":"FormGroup","description":"Form groups organize related form elements together, providing structure and shared validation. They help group checkboxes, radio buttons, or inputs that belong to the same logical section.","url":"/component/formGroup","category":"component"},{"name":"Icon","description":"Icons visually represent actions and concepts. Register SVG paths in a global map, then reference them by name on XIcon.","url":"/component/icon","category":"component"},{"name":"Image","description":"Loads a remote image after preloading. Use a background on the wrapper for a visible placeholder until load completes.","url":"/component/image","category":"component"},{"name":"InfiniteLoader","description":"InfiniteLoader is a component that allows you to load data on demand as users scroll through a list.","url":"/component/infiniteLoader","category":"component"},{"name":"Input","description":"This is a text input component that allows users to enter and edit text.","url":"/component/input","category":"component"},{"name":"Input Group","description":"Input groups combine multiple inline fields (Input, Textarea, Select, Datepicker, Button) into one control with a shared label and footer.","url":"/component/inputGroup","category":"component"},{"name":"Link","description":"Links are used to navigate to a different page.","url":"/component/link","category":"component"},{"name":"Loader","description":"Loader component is used to show a loading state.","url":"/component/loader","category":"component"},{"name":"Menu","description":"Menus are used to display a list of options.","url":"/component/menu","category":"component"},{"name":"Modal","description":"Modals are used to display content on top of the current page.","url":"/component/modal","category":"component"},{"name":"Notifications","description":"Notifications provide timely feedback or alerts to users, such as success messages, warnings, or errors. They help keep users informed about important events or actions.","url":"/component/notifications","category":"component"},{"name":"Pagination","description":"Pagination divides large sets of content into manageable pages, allowing users to navigate through items efficiently. It is commonly used in tables, lists, and search results to improve usability and performance.","url":"/component/pagination","category":"component"},{"name":"Popover","description":"Popovers display additional information or interactive content in a floating overlay, anchored to a trigger element. They are useful for tooltips, menus, or contextual actions without navigating away from the current view.","url":"/component/popover","category":"component"},{"name":"Progress","description":"Progress indicators visually communicate the completion status of a task or process, such as file uploads or data loading. They help users understand how much work remains.","url":"/component/progress","category":"component"},{"name":"QR Code","description":"The QR Code component is used to generate a QR code.","url":"/component/qrCode","category":"component"},{"name":"Radio","description":"Radios allow the user to select one option from a set. Use classic radios for standard options, or x-radio-button for a button-shaped variant. Place several x-radio-button options inside x-form-group for a joined segmented control.","url":"/component/radio","category":"component"},{"name":"Scroll","description":"The Scroll component enhances scrolling experiences by adding visual cues, such as inner shadows, to indicate additional content. It is useful for horizontally or vertically scrolling lists and containers.","url":"/component/scroll","category":"component"},{"name":"Select","description":"Selects allow the user to select one or more options from a set.","url":"/component/select","category":"component"},{"name":"Skeleton","description":"Skeletons provide placeholder elements that mimic the layout of content while data is loading. They improve perceived performance by giving users a visual cue that content is being fetched.","url":"/component/skeleton","category":"component"},{"name":"Slider","description":"Sliders allow users to select a numeric value or range by dragging a handle along a track. They are ideal for adjusting settings such as volume, brightness, or price filters.","url":"/component/slider","category":"component"},{"name":"Spacer","description":"Spacers create adjustable gaps between elements within flex layouts, helping to control spacing and alignment without using margin or padding directly.","url":"/component/spacer","category":"component"},{"name":"Spinner","description":"Spinners visually indicate that a background process or operation is ongoing, such as loading data or submitting a form. They help manage user expectations by signaling that the system is working.","url":"/component/spinner","category":"component"},{"name":"Stepper","description":"Multi-step wizard with declarative steps, named panel slots, programmatic next/prev navigation, validation hooks, and optional sidebar summaries.","url":"/component/stepper","category":"component"},{"name":"Table","description":"Tables display tabular data with single- or multi-column sorting, selection, expandable rows, and virtual lists.","url":"/component/table","category":"component"},{"name":"Tabs","description":"Tabs are used to navigate through a set of views.","url":"/component/tabs","category":"component"},{"name":"Tag","description":"Tags are compact elements used to display brief information, such as categories, statuses, or labels. They help organize content and provide quick context or filtering options within lists and interfaces.","url":"/component/tag","category":"component"},{"name":"Textarea","description":"Textareas provide a multi-line input field for users to enter longer text, such as comments, descriptions, or messages. They support resizing and can be customized for different use cases.","url":"/component/textarea","category":"component"},{"name":"Toggle","description":"Toggles provide a simple switch interface for enabling or disabling a setting, or switching between two mutually exclusive states. They are ideal for binary options such as on/off, active/inactive, or show/hide.","url":"/component/toggle","category":"component"},{"name":"Tooltip","description":"Tooltips display contextual help on hover. Use XToggleTip for a compact info-icon pattern beside labels.","url":"/component/tooltip","category":"component"},{"name":"Upload","description":"Upload is a component that allows you to upload files.","url":"/component/upload","category":"component"},{"name":"VirtualGrid","description":"VirtualGrid is a component that allows you to render a grid of items in a virtualized way. It is a high-performance component that is used to render large grids of items.","url":"/component/virtualGrid","category":"component"},{"name":"VirtualList","description":"VirtualList is a component that allows you to render a list of items in a virtualized way. It is a high-performance component that is used to render large lists of items.","url":"/component/virtualList","category":"component"}]
|
|
1
|
+
[{"name":"Icons","description":"Custom icon set integration for Indielayer UI components.","url":"/icons","category":"guide"},{"name":"Colors","description":"Color palette, semantic tokens, and color props on components.","url":"/colors","category":"guide"},{"name":"Typography","description":"Type scale and typography utilities used across the library.","url":"/typography","category":"guide"},{"name":"Accordion","description":"Collapsible panels for showing and hiding related content. Use x-accordion with x-accordion-item when space is limited and users need progressive disclosure.","url":"/component/accordion","category":"component"},{"name":"Alert","description":"Inline notices for system, feature, or page status—success, warning, error, or info. Use alerts when the message should stay visible until addressed.","url":"/component/alert","category":"component"},{"name":"Avatar","description":"Displays a user's photo, initials, or icon in a compact frame. Use avatars in lists, headers, and comments to identify people at a glance.","url":"/component/avatar","category":"component"},{"name":"Badge","description":"Small status indicators that overlay or sit beside another element—counts, labels, or presence dots. Use badges to draw attention without interrupting the layout.","url":"/component/badge","category":"component"},{"name":"Breadcrumbs","description":"Shows the current page's place in a navigational hierarchy. Use breadcrumbs for deep page trees so users can jump back to parent sections.","url":"/component/breadcrumbs","category":"component"},{"name":"Button","description":"Clickable controls for primary actions—submit, open dialogs, or run commands. Customize style, size, and icons; group related actions with x-button-group.","url":"/component/button","category":"component"},{"name":"Card","description":"A bordered content container for grouping related information, media, and actions. Use cards in grids and dashboards when each block should stand alone.","url":"/component/card","category":"component"},{"name":"Carousel","description":"A sliding viewport for cycling through images or content panels. Use carousels for galleries and featured items when horizontal space is limited.","url":"/component/carousel","category":"component"},{"name":"Checkbox","description":"Multi-select controls for choosing one or more options independently. Use checkboxes for settings and lists where more than one choice can be active.","url":"/component/checkbox","category":"component"},{"name":"Container","description":"Layout wrapper that constrains content width and alignment for consistent page structure. Use containers to center and pad main content across breakpoints.","url":"/component/container","category":"component"},{"name":"Datepicker","description":"Date and time picker styled as a wrapper around @vuepic/vue-datepicker. Use it for forms that need calendar or datetime selection with Indielayer look and feel.","url":"/component/datepicker","category":"component"},{"name":"Divider","description":"A horizontal or vertical rule that separates sections of content. Use dividers in lists, toolbars, and layouts to create clear visual breaks.","url":"/component/divider","category":"component"},{"name":"Drawer","description":"Panels that slide in from the screen edge for navigation, filters, or extra content. Use drawers when side context should overlay without leaving the page.","url":"/component/drawer","category":"component"},{"name":"Empty","description":"Empty states communicate when there is no content to show. Use them in tables, lists, and panels with a title, description, optional icon, and actions.","url":"/component/empty","category":"component"},{"name":"Form","description":"Structured form wrapper for collecting and validating user input. Use x-form to group fields, run validation, and handle submit in one place.","url":"/component/form","category":"component"},{"name":"FormGroup","description":"Groups related fields with a shared label and validation context. Use form groups for checkboxes, radios, or inputs that belong to one logical section.","url":"/component/formGroup","category":"component"},{"name":"Icon","description":"Icons visually represent actions and concepts. Register SVG paths in a global map, then reference them by name on XIcon.","url":"/component/icon","category":"component"},{"name":"Image","description":"Loads a remote image after preloading. Use a background on the wrapper for a visible placeholder until load completes.","url":"/component/image","category":"component"},{"name":"InfiniteLoader","description":"Loads more list items as the user scrolls near the end of a container. Use InfiniteLoader for feeds and catalogs that grow on demand.","url":"/component/infiniteLoader","category":"component"},{"name":"Input","description":"Single-line text field for entering and editing short values. Use x-input in forms for names, emails, search, and other one-line data.","url":"/component/input","category":"component"},{"name":"Input Group","description":"Input groups combine multiple inline fields (Input, Textarea, Select, Datepicker, Button) into one control with a shared label and footer.","url":"/component/inputGroup","category":"component"},{"name":"Link","description":"Styled anchor for navigating to another page or external URL. Use x-link when you need consistent link styling, external indicators, and accessibility.","url":"/component/link","category":"component"},{"name":"Loader","description":"Full-area loading overlay that blocks interaction while content or an action completes. Use Loader when the whole region should wait before continuing.","url":"/component/loader","category":"component"},{"name":"Menu","description":"Dropdown list of actionable items triggered from a button or other control. Use x-menu with x-menu-item for contextual actions and navigation.","url":"/component/menu","category":"component"},{"name":"Modal","description":"Dialog overlay that focuses attention on a task or message above the current page. Use modals for confirmations, forms, and details that need temporary focus.","url":"/component/modal","category":"component"},{"name":"Notifications","description":"Toast-style feedback for success, warning, or error after an action. Use notifications for transient messages that should not block the page.","url":"/component/notifications","category":"component"},{"name":"Pagination","description":"Controls for moving through large result sets page by page. Use pagination with tables, lists, and search results to keep each view manageable.","url":"/component/pagination","category":"component"},{"name":"Popover","description":"Floating panel anchored to a trigger for extra content or actions. Use popovers for menus and contextual UI without leaving the current view.","url":"/component/popover","category":"component"},{"name":"Progress","description":"Bar that shows how far a task or process has completed. Use progress for uploads, multi-step jobs, and determinate loading states.","url":"/component/progress","category":"component"},{"name":"QR Code","description":"Renders a QR code from a string or URL for scanning with mobile devices. Use it for share links, payments, and quick machine-readable payloads.","url":"/component/qrCode","category":"component"},{"name":"Radio","description":"Radios allow the user to select one option from a set. Use classic radios for standard options, or x-radio-button for a button-shaped variant. Place several x-radio-button options inside x-form-group for a joined segmented control.","url":"/component/radio","category":"component"},{"name":"Scroll","description":"Scroll container with optional edge shadows that hint at more content. Use Scroll for overflow lists and panels that scroll vertically or horizontally.","url":"/component/scroll","category":"component"},{"name":"Select","description":"Dropdown for choosing one or more options from a predefined list. Use Select for enums, filters, and form fields where free text is not needed.","url":"/component/select","category":"component"},{"name":"Skeleton","description":"Placeholder shapes that mirror content layout while data loads. Use skeletons to reduce layout shift and improve perceived loading performance.","url":"/component/skeleton","category":"component"},{"name":"Slider","description":"Track with a draggable handle for picking a numeric value or range. Use sliders for volume, brightness, price filters, and similar continuous settings.","url":"/component/slider","category":"component"},{"name":"Spacer","description":"Flex-friendly gap that expands or shrinks between siblings without extra margin or padding. Use spacers to push items apart in toolbars and rows.","url":"/component/spacer","category":"component"},{"name":"Spinner","description":"Animated indicator that a background process is still running. Use spinners for indeterminate loading when completion percentage is unknown.","url":"/component/spinner","category":"component"},{"name":"Stepper","description":"Multi-step wizard with declarative steps, named panel slots, programmatic next/prev navigation, validation hooks, and optional sidebar summaries.","url":"/component/stepper","category":"component"},{"name":"Table","description":"Tables display tabular data with single- or multi-column sorting, selection, expandable rows, and virtual lists.","url":"/component/table","category":"component"},{"name":"Tabs","description":"Tabbed navigation that switches between related views in the same region. Use x-tab-group with x-tab when content shares context but not space.","url":"/component/tabs","category":"component"},{"name":"Tag","description":"Compact labels for categories, statuses, or filters. Use tags in lists and chip groups when a short keyword should stand out.","url":"/component/tag","category":"component"},{"name":"Textarea","description":"Multi-line text field for longer content such as comments and descriptions. Use Textarea when a single-line input is not enough.","url":"/component/textarea","category":"component"},{"name":"Toggle","description":"Binary switch for on/off settings and mutually exclusive states. Use toggles when the choice should feel instant and reversible.","url":"/component/toggle","category":"component"},{"name":"Tooltip","description":"Tooltips display contextual help on hover. Use XToggleTip for a compact info-icon pattern beside labels.","url":"/component/tooltip","category":"component"},{"name":"Upload","description":"File picker with drag-and-drop for selecting one or more files to upload. Use Upload when forms need images, documents, or other file input with accept filters.","url":"/component/upload","category":"component"},{"name":"VirtualGrid","description":"Renders only visible cells of a large grid for better scroll performance. Use VirtualGrid when a dense grid would be too heavy to mount all at once.","url":"/component/virtualGrid","category":"component"},{"name":"VirtualList","description":"Renders only visible rows of a long list for better scroll performance. Use VirtualList for feeds and catalogs with thousands of items.","url":"/component/virtualList","category":"component"}]
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/common/buttonGroupRadius.ts
|
|
2
|
+
function e(e, t = !1) {
|
|
3
|
+
return e ? e === "only" ? [t ? "rounded-full" : "rounded-md"] : e === "first" ? [t ? "rounded-s-full" : "rounded-s-md"] : e === "last" ? [t ? "rounded-e-full" : "rounded-e-md"] : ["rounded-none"] : [];
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as buttonGroupRadiusClasses };
|
package/lib/common/props.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import type { Prop } from 'vue';
|
|
|
14
14
|
* Plain `Boolean` props are cast to `false` when absent in Vue 3.
|
|
15
15
|
* @see https://vuejs.org/guide/components/props.html#boolean-casting
|
|
16
16
|
*/
|
|
17
|
-
export declare function optionalBooleanProp(): Prop<boolean | undefined>;
|
|
17
|
+
export declare function optionalBooleanProp(description?: string): Prop<boolean | undefined>;
|
|
18
18
|
/** Shared variant booleans for Button and ButtonGroup. */
|
|
19
19
|
export declare const variantBooleanProps: () => {
|
|
20
20
|
outlined: Prop<boolean | undefined>;
|
package/lib/common/props.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
//#region src/common/props.ts
|
|
2
|
-
function e() {
|
|
2
|
+
function e(e) {
|
|
3
3
|
return {
|
|
4
4
|
type: Boolean,
|
|
5
|
-
default: void 0
|
|
5
|
+
default: void 0,
|
|
6
|
+
...e ? { description: e } : {}
|
|
6
7
|
};
|
|
7
8
|
}
|
|
8
9
|
var t = () => ({
|
|
9
|
-
outlined: e(),
|
|
10
|
-
rounded: e(),
|
|
11
|
-
glow: e(),
|
|
12
|
-
ghost: e(),
|
|
13
|
-
light: e(),
|
|
14
|
-
flat: e(),
|
|
15
|
-
block: e()
|
|
10
|
+
outlined: e("Outline style with a transparent fill."),
|
|
11
|
+
rounded: e("Fully rounded corners (pill shape)."),
|
|
12
|
+
glow: e("Soft colored glow behind the control."),
|
|
13
|
+
ghost: e("Minimal style with no background until hover."),
|
|
14
|
+
light: e("Tinted background using the color at low opacity."),
|
|
15
|
+
flat: e("Removes elevation and border emphasis."),
|
|
16
|
+
block: e("Stretches to the full width of the parent.")
|
|
16
17
|
});
|
|
17
18
|
//#endregion
|
|
18
19
|
export { e as optionalBooleanProp, t as variantBooleanProps };
|
|
@@ -4,15 +4,26 @@ declare const accordionProps: {
|
|
|
4
4
|
tag: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
description: string;
|
|
7
12
|
};
|
|
8
|
-
disabled: BooleanConstructor;
|
|
9
13
|
expanded: import("vue").Prop<boolean | undefined>;
|
|
10
14
|
showIcon: {
|
|
11
15
|
type: BooleanConstructor;
|
|
12
16
|
default: boolean;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
icon: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
iconAlign: {
|
|
24
|
+
type: PropType<"left" | "right">;
|
|
25
|
+
description: string;
|
|
13
26
|
};
|
|
14
|
-
icon: StringConstructor;
|
|
15
|
-
iconAlign: PropType<"left" | "right">;
|
|
16
27
|
};
|
|
17
28
|
export type AccordionProps = ExtractPublicPropTypes<typeof accordionProps>;
|
|
18
29
|
export type AccordionInjection = AccordionProps & {
|
|
@@ -25,28 +36,50 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
25
36
|
tag: {
|
|
26
37
|
type: StringConstructor;
|
|
27
38
|
default: string;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
description: string;
|
|
28
44
|
};
|
|
29
|
-
disabled: BooleanConstructor;
|
|
30
45
|
expanded: import("vue").Prop<boolean | undefined>;
|
|
31
46
|
showIcon: {
|
|
32
47
|
type: BooleanConstructor;
|
|
33
48
|
default: boolean;
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
icon: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
iconAlign: {
|
|
56
|
+
type: PropType<"left" | "right">;
|
|
57
|
+
description: string;
|
|
34
58
|
};
|
|
35
|
-
icon: StringConstructor;
|
|
36
|
-
iconAlign: PropType<"left" | "right">;
|
|
37
59
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
60
|
tag: {
|
|
39
61
|
type: StringConstructor;
|
|
40
62
|
default: string;
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
disabled: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
description: string;
|
|
41
68
|
};
|
|
42
|
-
disabled: BooleanConstructor;
|
|
43
69
|
expanded: import("vue").Prop<boolean | undefined>;
|
|
44
70
|
showIcon: {
|
|
45
71
|
type: BooleanConstructor;
|
|
46
72
|
default: boolean;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
icon: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
iconAlign: {
|
|
80
|
+
type: PropType<"left" | "right">;
|
|
81
|
+
description: string;
|
|
47
82
|
};
|
|
48
|
-
icon: StringConstructor;
|
|
49
|
-
iconAlign: PropType<"left" | "right">;
|
|
50
83
|
}>> & Readonly<{}>, {
|
|
51
84
|
disabled: boolean;
|
|
52
85
|
tag: string;
|
|
@@ -6,19 +6,31 @@ import { createElementBlock as r, defineComponent as i, normalizeClass as a, nor
|
|
|
6
6
|
var d = /* @__PURE__ */ i({
|
|
7
7
|
name: "XAccordion",
|
|
8
8
|
validators: {},
|
|
9
|
+
docs: { slots: { default: "Accordion items (typically x-accordion-item children)." } },
|
|
9
10
|
props: {
|
|
10
11
|
tag: {
|
|
11
12
|
type: String,
|
|
12
|
-
default: "div"
|
|
13
|
+
default: "div",
|
|
14
|
+
description: "Root element tag."
|
|
13
15
|
},
|
|
14
|
-
disabled:
|
|
15
|
-
|
|
16
|
+
disabled: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
description: "Disables all accordion items when set."
|
|
19
|
+
},
|
|
20
|
+
expanded: n("Default expanded state passed to child items."),
|
|
16
21
|
showIcon: {
|
|
17
22
|
type: Boolean,
|
|
18
|
-
default: !0
|
|
23
|
+
default: !0,
|
|
24
|
+
description: "Shows the expand/collapse icon on child items."
|
|
19
25
|
},
|
|
20
|
-
icon:
|
|
21
|
-
|
|
26
|
+
icon: {
|
|
27
|
+
type: String,
|
|
28
|
+
description: "Default expand/collapse icon name for child items."
|
|
29
|
+
},
|
|
30
|
+
iconAlign: {
|
|
31
|
+
type: String,
|
|
32
|
+
description: "Default icon alignment for child items (left or right)."
|
|
33
|
+
}
|
|
22
34
|
},
|
|
23
35
|
setup(n) {
|
|
24
36
|
let i = n;
|
|
@@ -5,17 +5,26 @@ declare const accordionItemProps: {
|
|
|
5
5
|
tag: {
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
default: string;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
description: string;
|
|
8
13
|
};
|
|
9
|
-
disabled: BooleanConstructor;
|
|
10
14
|
expanded: import("vue").Prop<boolean | undefined>;
|
|
11
15
|
showIcon: {
|
|
12
16
|
type: BooleanConstructor;
|
|
13
17
|
default: boolean;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
icon: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
description: string;
|
|
14
23
|
};
|
|
15
|
-
icon: StringConstructor;
|
|
16
24
|
iconAlign: {
|
|
17
25
|
type: PropType<"left" | "right">;
|
|
18
26
|
default: string;
|
|
27
|
+
description: string;
|
|
19
28
|
};
|
|
20
29
|
};
|
|
21
30
|
export type AccordionItemAlign = typeof accordionItemAlign[number];
|
|
@@ -31,17 +40,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
31
40
|
tag: {
|
|
32
41
|
type: StringConstructor;
|
|
33
42
|
default: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
disabled: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
description: string;
|
|
34
48
|
};
|
|
35
|
-
disabled: BooleanConstructor;
|
|
36
49
|
expanded: import("vue").Prop<boolean | undefined>;
|
|
37
50
|
showIcon: {
|
|
38
51
|
type: BooleanConstructor;
|
|
39
52
|
default: boolean;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
icon: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
description: string;
|
|
40
58
|
};
|
|
41
|
-
icon: StringConstructor;
|
|
42
59
|
iconAlign: {
|
|
43
60
|
type: PropType<"left" | "right">;
|
|
44
61
|
default: string;
|
|
62
|
+
description: string;
|
|
45
63
|
};
|
|
46
64
|
}>, {
|
|
47
65
|
toggle: () => void;
|
|
@@ -51,17 +69,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
51
69
|
tag: {
|
|
52
70
|
type: StringConstructor;
|
|
53
71
|
default: string;
|
|
72
|
+
description: string;
|
|
73
|
+
};
|
|
74
|
+
disabled: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
description: string;
|
|
54
77
|
};
|
|
55
|
-
disabled: BooleanConstructor;
|
|
56
78
|
expanded: import("vue").Prop<boolean | undefined>;
|
|
57
79
|
showIcon: {
|
|
58
80
|
type: BooleanConstructor;
|
|
59
81
|
default: boolean;
|
|
82
|
+
description: string;
|
|
83
|
+
};
|
|
84
|
+
icon: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
description: string;
|
|
60
87
|
};
|
|
61
|
-
icon: StringConstructor;
|
|
62
88
|
iconAlign: {
|
|
63
89
|
type: PropType<"left" | "right">;
|
|
64
90
|
default: string;
|
|
91
|
+
description: string;
|
|
65
92
|
};
|
|
66
93
|
}>> & Readonly<{
|
|
67
94
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -14,22 +14,47 @@ var T = { class: "flex-1 overflow-hidden" }, E = {
|
|
|
14
14
|
}, D = ["left", "right"], O = {
|
|
15
15
|
tag: {
|
|
16
16
|
type: String,
|
|
17
|
-
default: "div"
|
|
17
|
+
default: "div",
|
|
18
|
+
description: "Root element tag."
|
|
18
19
|
},
|
|
19
|
-
disabled:
|
|
20
|
-
|
|
20
|
+
disabled: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
description: "Prevents expanding and collapsing."
|
|
23
|
+
},
|
|
24
|
+
expanded: n("Whether the item content starts expanded."),
|
|
21
25
|
showIcon: {
|
|
22
26
|
type: Boolean,
|
|
23
|
-
default: !0
|
|
27
|
+
default: !0,
|
|
28
|
+
description: "Shows the expand/collapse icon."
|
|
29
|
+
},
|
|
30
|
+
icon: {
|
|
31
|
+
type: String,
|
|
32
|
+
description: "Custom expand/collapse icon name. Falls back to a chevron."
|
|
24
33
|
},
|
|
25
|
-
icon: String,
|
|
26
34
|
iconAlign: {
|
|
27
35
|
type: String,
|
|
28
|
-
default: "right"
|
|
36
|
+
default: "right",
|
|
37
|
+
description: "Icon placement relative to the header (left or right)."
|
|
29
38
|
}
|
|
30
39
|
}, k = /* @__PURE__ */ d({
|
|
31
40
|
name: "XAccordionItem",
|
|
32
41
|
validators: { iconAlign: D },
|
|
42
|
+
docs: {
|
|
43
|
+
slots: {
|
|
44
|
+
default: "Header label. Slot props: expand, collapsed.",
|
|
45
|
+
summary: "Optional summary below the header. Slot props: expand, collapsed.",
|
|
46
|
+
content: "Collapsible body. Slot props: expand, collapsed."
|
|
47
|
+
},
|
|
48
|
+
emits: {
|
|
49
|
+
expand: "Emitted when expand() is called from a slot.",
|
|
50
|
+
change: "Emitted when expanded state changes. Payload is the new expanded boolean."
|
|
51
|
+
},
|
|
52
|
+
methods: {
|
|
53
|
+
toggle: "Toggle expanded state when not disabled.",
|
|
54
|
+
open: "Expand the item. Pass false to skip animation.",
|
|
55
|
+
close: "Collapse the item. Pass false to skip animation."
|
|
56
|
+
}
|
|
57
|
+
},
|
|
33
58
|
props: O,
|
|
34
59
|
emits: ["expand", "change"],
|
|
35
60
|
setup(n, { expose: d, emit: D }) {
|
|
@@ -2,15 +2,22 @@ import { type ExtractPublicPropTypes, type PropType } from 'vue';
|
|
|
2
2
|
import { type ThemeComponent } from '../../composables/useTheme';
|
|
3
3
|
declare const alertType: readonly ["info", "success", "error", "warning"];
|
|
4
4
|
declare const alertProps: {
|
|
5
|
-
type:
|
|
5
|
+
type: {
|
|
6
|
+
type: PropType<"error" | "info" | "success" | "warning">;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
6
9
|
glow: import("vue").Prop<boolean | undefined>;
|
|
7
10
|
light: import("vue").Prop<boolean | undefined>;
|
|
8
11
|
outlined: import("vue").Prop<boolean | undefined>;
|
|
9
12
|
removable: import("vue").Prop<boolean | undefined>;
|
|
10
|
-
closeLabel:
|
|
13
|
+
closeLabel: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
11
17
|
color: {
|
|
12
18
|
readonly type: StringConstructor;
|
|
13
19
|
readonly default: string | undefined;
|
|
20
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
14
21
|
};
|
|
15
22
|
};
|
|
16
23
|
export type AlertType = typeof alertType[number];
|
|
@@ -19,26 +26,40 @@ type InternalClasses = 'wrapper';
|
|
|
19
26
|
export interface AlertTheme extends ThemeComponent<AlertProps, InternalClasses> {
|
|
20
27
|
}
|
|
21
28
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
22
|
-
type:
|
|
29
|
+
type: {
|
|
30
|
+
type: PropType<"error" | "info" | "success" | "warning">;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
23
33
|
glow: import("vue").Prop<boolean | undefined>;
|
|
24
34
|
light: import("vue").Prop<boolean | undefined>;
|
|
25
35
|
outlined: import("vue").Prop<boolean | undefined>;
|
|
26
36
|
removable: import("vue").Prop<boolean | undefined>;
|
|
27
|
-
closeLabel:
|
|
37
|
+
closeLabel: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
28
41
|
color: {
|
|
29
42
|
readonly type: StringConstructor;
|
|
30
43
|
readonly default: string | undefined;
|
|
44
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
31
45
|
};
|
|
32
46
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
type:
|
|
47
|
+
type: {
|
|
48
|
+
type: PropType<"error" | "info" | "success" | "warning">;
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
34
51
|
glow: import("vue").Prop<boolean | undefined>;
|
|
35
52
|
light: import("vue").Prop<boolean | undefined>;
|
|
36
53
|
outlined: import("vue").Prop<boolean | undefined>;
|
|
37
54
|
removable: import("vue").Prop<boolean | undefined>;
|
|
38
|
-
closeLabel:
|
|
55
|
+
closeLabel: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
39
59
|
color: {
|
|
40
60
|
readonly type: StringConstructor;
|
|
41
61
|
readonly default: string | undefined;
|
|
62
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
42
63
|
};
|
|
43
64
|
}>> & Readonly<{
|
|
44
65
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
@@ -13,15 +13,29 @@ var C = ["aria-label"], w = [
|
|
|
13
13
|
"warning"
|
|
14
14
|
], T = {
|
|
15
15
|
...t.props(),
|
|
16
|
-
type:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
type: {
|
|
17
|
+
type: String,
|
|
18
|
+
description: "Semantic alert type (info, success, error, warning). Controls the default icon."
|
|
19
|
+
},
|
|
20
|
+
glow: r("Soft colored glow behind the alert."),
|
|
21
|
+
light: r("Tinted background using the color at low opacity."),
|
|
22
|
+
outlined: r("Outline style with a transparent fill."),
|
|
23
|
+
removable: r("Shows a close control that emits `remove`."),
|
|
24
|
+
closeLabel: {
|
|
25
|
+
type: String,
|
|
26
|
+
description: "Accessible label for the remove button."
|
|
27
|
+
}
|
|
22
28
|
}, E = /* @__PURE__ */ _({
|
|
23
29
|
name: "XAlert",
|
|
24
30
|
validators: { type: w },
|
|
31
|
+
docs: {
|
|
32
|
+
slots: {
|
|
33
|
+
default: "Alert message content.",
|
|
34
|
+
icon: "Custom icon; overrides the type-based icon.",
|
|
35
|
+
removeIcon: "Custom icon for the remove button."
|
|
36
|
+
},
|
|
37
|
+
emits: { remove: "Emitted when the remove button is clicked." }
|
|
38
|
+
},
|
|
25
39
|
props: T,
|
|
26
40
|
emits: ["remove"],
|
|
27
41
|
setup(t) {
|
|
@@ -4,20 +4,32 @@ declare const avatarProps: {
|
|
|
4
4
|
tag: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
name: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
alt: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
image: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
description: string;
|
|
7
20
|
};
|
|
8
|
-
name: StringConstructor;
|
|
9
|
-
alt: StringConstructor;
|
|
10
|
-
image: StringConstructor;
|
|
11
21
|
outlined: import("vue").Prop<boolean | undefined>;
|
|
12
22
|
rounded: import("vue").Prop<boolean | undefined>;
|
|
13
23
|
color: {
|
|
14
24
|
readonly type: StringConstructor;
|
|
15
25
|
readonly default: string | undefined;
|
|
26
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
16
27
|
};
|
|
17
28
|
size: {
|
|
18
29
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
19
30
|
readonly default: "md";
|
|
20
31
|
readonly validator: (value: string) => boolean;
|
|
32
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
21
33
|
};
|
|
22
34
|
};
|
|
23
35
|
export type AvatarProps = ExtractPublicPropTypes<typeof avatarProps>;
|
|
@@ -31,39 +43,63 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
31
43
|
tag: {
|
|
32
44
|
type: StringConstructor;
|
|
33
45
|
default: string;
|
|
46
|
+
description: string;
|
|
47
|
+
};
|
|
48
|
+
name: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
alt: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
image: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
description: string;
|
|
34
59
|
};
|
|
35
|
-
name: StringConstructor;
|
|
36
|
-
alt: StringConstructor;
|
|
37
|
-
image: StringConstructor;
|
|
38
60
|
outlined: import("vue").Prop<boolean | undefined>;
|
|
39
61
|
rounded: import("vue").Prop<boolean | undefined>;
|
|
40
62
|
color: {
|
|
41
63
|
readonly type: StringConstructor;
|
|
42
64
|
readonly default: string | undefined;
|
|
65
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
43
66
|
};
|
|
44
67
|
size: {
|
|
45
68
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
46
69
|
readonly default: "md";
|
|
47
70
|
readonly validator: (value: string) => boolean;
|
|
71
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
48
72
|
};
|
|
49
73
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
74
|
tag: {
|
|
51
75
|
type: StringConstructor;
|
|
52
76
|
default: string;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
name: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
alt: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
image: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
description: string;
|
|
53
90
|
};
|
|
54
|
-
name: StringConstructor;
|
|
55
|
-
alt: StringConstructor;
|
|
56
|
-
image: StringConstructor;
|
|
57
91
|
outlined: import("vue").Prop<boolean | undefined>;
|
|
58
92
|
rounded: import("vue").Prop<boolean | undefined>;
|
|
59
93
|
color: {
|
|
60
94
|
readonly type: StringConstructor;
|
|
61
95
|
readonly default: string | undefined;
|
|
96
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
62
97
|
};
|
|
63
98
|
size: {
|
|
64
99
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
65
100
|
readonly default: "md";
|
|
66
101
|
readonly validator: (value: string) => boolean;
|
|
102
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
67
103
|
};
|
|
68
104
|
}>> & Readonly<{}>, {
|
|
69
105
|
tag: string;
|
|
@@ -14,16 +14,27 @@ var S = ["alt", "src"], C = {
|
|
|
14
14
|
...e.props("primary"),
|
|
15
15
|
tag: {
|
|
16
16
|
type: String,
|
|
17
|
-
default: "div"
|
|
17
|
+
default: "div",
|
|
18
|
+
description: "Root element tag."
|
|
18
19
|
},
|
|
19
|
-
name:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
name: {
|
|
21
|
+
type: String,
|
|
22
|
+
description: "Display name used to derive initials when no image is loaded."
|
|
23
|
+
},
|
|
24
|
+
alt: {
|
|
25
|
+
type: String,
|
|
26
|
+
description: "Alt text for the image when `image` is set."
|
|
27
|
+
},
|
|
28
|
+
image: {
|
|
29
|
+
type: String,
|
|
30
|
+
description: "Image URL. Falls back to initials or the avatar icon if unloadable."
|
|
31
|
+
},
|
|
32
|
+
outlined: n("Outline style with a transparent fill."),
|
|
33
|
+
rounded: n("Fully rounded corners (circle).")
|
|
24
34
|
}, T = /* @__PURE__ */ d({
|
|
25
35
|
name: "XAvatar",
|
|
26
36
|
validators: r.validators(),
|
|
37
|
+
docs: { slots: { avatarIcon: "Fallback icon when no name or image is available." } },
|
|
27
38
|
props: w,
|
|
28
39
|
setup(e) {
|
|
29
40
|
let n = e, r = h(), d = o(() => {
|