@groupteknology/vuno 2.0.0 → 4.0.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/README.md +23 -611
- package/dist/module.d.mts +0 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +26 -27
- package/dist/runtime/app/AGENTS.md +30 -0
- package/dist/runtime/app/assets/css/dialog.css +1 -1
- package/dist/runtime/app/assets/css/main.css +1 -1
- package/dist/runtime/app/assets/css/skeleton.css +1 -0
- package/dist/runtime/app/assets/css/theme.css +1 -1
- package/dist/runtime/app/assets/css/tokens.css +1 -1
- package/dist/runtime/app/components/AILabel/AILabel.d.vue.ts +31 -0
- package/dist/runtime/app/components/AILabel/AILabel.theme.d.ts +89 -0
- package/dist/runtime/app/components/AILabel/AILabel.theme.js +146 -0
- package/dist/runtime/app/components/AILabel/AILabel.types.d.ts +28 -0
- package/dist/runtime/app/components/AILabel/AILabel.vue +63 -0
- package/dist/runtime/app/components/AILabel/AILabel.vue.d.ts +31 -0
- package/dist/runtime/app/components/AILabelActions/AILabelActions.d.vue.ts +13 -0
- package/dist/runtime/app/components/AILabelActions/AILabelActions.vue +8 -0
- package/dist/runtime/app/components/AILabelActions/AILabelActions.vue.d.ts +13 -0
- package/dist/runtime/app/components/AILabelContent/AILabelContent.d.vue.ts +14 -0
- package/dist/runtime/app/components/AILabelContent/AILabelContent.vue +11 -0
- package/dist/runtime/app/components/AILabelContent/AILabelContent.vue.d.ts +14 -0
- package/dist/runtime/app/components/Accordion/Accordion.context.d.ts +14 -0
- package/dist/runtime/app/components/Accordion/Accordion.context.js +1 -0
- package/dist/runtime/app/components/Accordion/Accordion.d.vue.ts +21 -0
- package/dist/runtime/app/components/Accordion/Accordion.theme.d.ts +73 -0
- package/dist/runtime/app/components/Accordion/Accordion.theme.js +56 -0
- package/dist/runtime/app/components/Accordion/Accordion.types.d.ts +20 -0
- package/dist/runtime/app/components/Accordion/Accordion.vue +26 -0
- package/dist/runtime/app/components/Accordion/Accordion.vue.d.ts +21 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.d.vue.ts +38 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.types.d.ts +16 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.vue +64 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.vue.d.ts +38 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.d.vue.ts +33 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.types.d.ts +15 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.vue +137 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.vue.d.ts +33 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.d.vue.ts +16 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.types.d.ts +31 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.types.js +1 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.vue +24 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.vue.d.ts +16 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.context.d.ts +13 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.context.js +1 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.d.vue.ts +19 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.d.ts +32 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.js +36 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.types.d.ts +12 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue +30 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue.d.ts +19 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.d.vue.ts +27 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.types.d.ts +13 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.vue +65 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.vue.d.ts +27 -0
- package/dist/runtime/app/components/Button/Button.d.vue.ts +11 -33
- package/dist/runtime/app/components/Button/Button.theme.d.ts +171 -64
- package/dist/runtime/app/components/Button/Button.theme.js +83 -48
- package/dist/runtime/app/components/Button/Button.types.d.ts +43 -0
- package/dist/runtime/app/components/Button/Button.vue +89 -43
- package/dist/runtime/app/components/Button/Button.vue.d.ts +11 -33
- package/dist/runtime/app/components/ButtonSet/ButtonSet.d.vue.ts +17 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.theme.d.ts +15 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.theme.js +12 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.types.d.ts +13 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.vue +19 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.vue.d.ts +17 -0
- package/dist/runtime/app/components/Callout/Callout.d.vue.ts +26 -0
- package/dist/runtime/app/components/Callout/Callout.types.d.ts +17 -0
- package/dist/runtime/app/components/Callout/Callout.vue +80 -0
- package/dist/runtime/app/components/Callout/Callout.vue.d.ts +26 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.d.vue.ts +35 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.theme.d.ts +63 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.theme.js +29 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.types.d.ts +27 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.vue +118 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.vue.d.ts +35 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.d.vue.ts +35 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.theme.d.ts +63 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.theme.js +24 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.types.d.ts +42 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.vue +104 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.vue.d.ts +35 -0
- package/dist/runtime/app/components/CheckboxGroup/internal/context.d.ts +19 -0
- package/dist/runtime/app/components/CheckboxGroup/internal/context.js +1 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.d.vue.ts +21 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.types.d.ts +25 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.types.js +0 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.vue +67 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.vue.d.ts +21 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.d.vue.ts +25 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.theme.d.ts +101 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.theme.js +84 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.types.d.ts +53 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.types.js +0 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.vue +232 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.vue.d.ts +25 -0
- package/dist/runtime/app/components/CodeSnippet/syntax.d.ts +8 -0
- package/dist/runtime/app/components/CodeSnippet/syntax.js +28 -0
- package/dist/runtime/app/components/Column/Column.d.vue.ts +21 -0
- package/dist/runtime/app/components/Column/Column.types.d.ts +52 -0
- package/dist/runtime/app/components/Column/Column.types.js +0 -0
- package/dist/runtime/app/components/Column/Column.vue +31 -0
- package/dist/runtime/app/components/Column/Column.vue.d.ts +21 -0
- package/dist/runtime/app/components/Column/span.d.ts +22 -0
- package/dist/runtime/app/components/Column/span.js +42 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.d.vue.ts +55 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.types.d.ts +69 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.types.js +0 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.vue +290 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.vue.d.ts +55 -0
- package/dist/runtime/app/components/ComboBox/useComboBoxState.d.ts +44 -0
- package/dist/runtime/app/components/ComboBox/useComboBoxState.js +205 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.d.vue.ts +31 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.types.d.ts +22 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.types.js +0 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.vue +78 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.vue.d.ts +31 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.context.d.ts +14 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.context.js +1 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.d.vue.ts +21 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.theme.d.ts +104 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.theme.js +48 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.types.d.ts +25 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.types.js +0 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.vue +55 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.vue.d.ts +21 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.d.vue.ts +20 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.types.d.ts +20 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.types.js +0 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.vue +90 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.vue.d.ts +20 -0
- package/dist/runtime/app/components/Content/Content.d.vue.ts +23 -0
- package/dist/runtime/app/components/Content/Content.vue +21 -0
- package/dist/runtime/app/components/Content/Content.vue.d.ts +23 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.context.d.ts +18 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.context.js +1 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.d.vue.ts +32 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.theme.d.ts +51 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.theme.js +43 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.types.d.ts +21 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.types.js +0 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.vue +56 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.vue.d.ts +32 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.d.vue.ts +18 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.theme.d.ts +7 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.theme.js +8 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.types.d.ts +29 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.types.js +0 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.vue +76 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.vue.d.ts +18 -0
- package/dist/runtime/app/components/DataTable/DataTable.context.d.ts +50 -0
- package/dist/runtime/app/components/DataTable/DataTable.context.js +16 -0
- package/dist/runtime/app/components/DataTable/DataTable.d.vue.ts +51 -0
- package/dist/runtime/app/components/DataTable/DataTable.theme.d.ts +180 -0
- package/dist/runtime/app/components/DataTable/DataTable.theme.js +175 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.d.ts +154 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.js +0 -0
- package/dist/runtime/app/components/DataTable/DataTable.vue +210 -0
- package/dist/runtime/app/components/DataTable/DataTable.vue.d.ts +51 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.d.vue.ts +45 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.theme.d.ts +151 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.theme.js +149 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.types.d.ts +64 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.types.js +0 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.vue +473 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.vue.d.ts +45 -0
- package/dist/runtime/app/components/DatePicker/date.d.ts +104 -0
- package/dist/runtime/app/components/DatePicker/date.js +151 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.d.vue.ts +25 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.theme.d.ts +66 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.theme.js +23 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.types.d.ts +43 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.types.js +0 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.vue +171 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.vue.d.ts +25 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.d.vue.ts +180 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.theme.d.ts +109 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.theme.js +206 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.types.d.ts +65 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.types.js +0 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.vue +346 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.vue.d.ts +180 -0
- package/dist/runtime/app/components/Dropdown/option.d.ts +25 -0
- package/dist/runtime/app/components/Dropdown/useDropdownState.d.ts +33 -0
- package/dist/runtime/app/components/Dropdown/useDropdownState.js +182 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.d.vue.ts +31 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.types.d.ts +27 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.types.js +0 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.vue +103 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.vue.d.ts +31 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.d.vue.ts +35 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.theme.d.ts +109 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.theme.js +87 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.types.d.ts +68 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.types.js +0 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.vue +140 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.vue.d.ts +35 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderButton/FileUploaderButton.d.vue.ts +31 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderButton/FileUploaderButton.vue +72 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderButton/FileUploaderButton.vue.d.ts +31 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderDropContainer/FileUploaderDropContainer.d.vue.ts +27 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderDropContainer/FileUploaderDropContainer.vue +109 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderDropContainer/FileUploaderDropContainer.vue.d.ts +27 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderItem/FileUploaderItem.d.vue.ts +29 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderItem/FileUploaderItem.vue +107 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderItem/FileUploaderItem.vue.d.ts +29 -0
- package/dist/runtime/app/components/FileUploader/internal/files.d.ts +62 -0
- package/dist/runtime/app/components/FileUploader/internal/files.js +59 -0
- package/dist/runtime/app/components/Form/Form.d.vue.ts +14 -49
- package/dist/runtime/app/components/Form/Form.theme.d.ts +20 -5
- package/dist/runtime/app/components/Form/Form.theme.js +6 -6
- package/dist/runtime/app/components/Form/Form.types.d.ts +1 -0
- package/dist/runtime/app/components/Form/Form.types.js +0 -0
- package/dist/runtime/app/components/Form/Form.vue +9 -119
- package/dist/runtime/app/components/Form/Form.vue.d.ts +14 -49
- package/dist/runtime/app/components/FormGroup/FormGroup.d.vue.ts +21 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.theme.d.ts +45 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.theme.js +24 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.types.d.ts +1 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.types.js +0 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.vue +48 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.vue.d.ts +21 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.d.vue.ts +21 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.theme.d.ts +42 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.theme.js +24 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.types.d.ts +1 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.types.js +0 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.vue +28 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.vue.d.ts +21 -0
- package/dist/runtime/app/components/Grid/Grid.context.d.ts +11 -0
- package/dist/runtime/app/components/Grid/Grid.context.js +1 -0
- package/dist/runtime/app/components/Grid/Grid.d.vue.ts +19 -0
- package/dist/runtime/app/components/Grid/Grid.types.d.ts +39 -0
- package/dist/runtime/app/components/Grid/Grid.types.js +0 -0
- package/dist/runtime/app/components/Grid/Grid.vue +29 -0
- package/dist/runtime/app/components/Grid/Grid.vue.d.ts +19 -0
- package/dist/runtime/app/components/Header/Header.d.vue.ts +18 -0
- package/dist/runtime/app/components/Header/Header.theme.d.ts +105 -0
- package/dist/runtime/app/components/Header/Header.theme.js +89 -0
- package/dist/runtime/app/components/Header/Header.types.d.ts +23 -0
- package/dist/runtime/app/components/Header/Header.types.js +0 -0
- package/dist/runtime/app/components/Header/Header.vue +20 -0
- package/dist/runtime/app/components/Header/Header.vue.d.ts +18 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.context.d.ts +7 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.context.js +1 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.d.vue.ts +24 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.vue +26 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.vue.d.ts +24 -0
- package/dist/runtime/app/components/HeaderGlobalAction/HeaderGlobalAction.d.vue.ts +13 -0
- package/dist/runtime/app/components/HeaderGlobalAction/HeaderGlobalAction.vue +28 -0
- package/dist/runtime/app/components/HeaderGlobalAction/HeaderGlobalAction.vue.d.ts +13 -0
- package/dist/runtime/app/components/HeaderGlobalBar/HeaderGlobalBar.d.vue.ts +19 -0
- package/dist/runtime/app/components/HeaderGlobalBar/HeaderGlobalBar.vue +14 -0
- package/dist/runtime/app/components/HeaderGlobalBar/HeaderGlobalBar.vue.d.ts +19 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.context.d.ts +18 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.context.js +1 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.d.vue.ts +26 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.vue +90 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.vue.d.ts +26 -0
- package/dist/runtime/app/components/HeaderMenuButton/HeaderMenuButton.d.vue.ts +25 -0
- package/dist/runtime/app/components/HeaderMenuButton/HeaderMenuButton.vue +47 -0
- package/dist/runtime/app/components/HeaderMenuButton/HeaderMenuButton.vue.d.ts +25 -0
- package/dist/runtime/app/components/HeaderMenuItem/HeaderMenuItem.d.vue.ts +32 -0
- package/dist/runtime/app/components/HeaderMenuItem/HeaderMenuItem.vue +52 -0
- package/dist/runtime/app/components/HeaderMenuItem/HeaderMenuItem.vue.d.ts +32 -0
- package/dist/runtime/app/components/HeaderName/HeaderName.d.vue.ts +24 -0
- package/dist/runtime/app/components/HeaderName/HeaderName.vue +31 -0
- package/dist/runtime/app/components/HeaderName/HeaderName.vue.d.ts +24 -0
- package/dist/runtime/app/components/HeaderNavigation/HeaderNavigation.d.vue.ts +23 -0
- package/dist/runtime/app/components/HeaderNavigation/HeaderNavigation.vue +22 -0
- package/dist/runtime/app/components/HeaderNavigation/HeaderNavigation.vue.d.ts +23 -0
- package/dist/runtime/app/components/HeaderPanel/HeaderPanel.d.vue.ts +37 -0
- package/dist/runtime/app/components/HeaderPanel/HeaderPanel.vue +56 -0
- package/dist/runtime/app/components/HeaderPanel/HeaderPanel.vue.d.ts +37 -0
- package/dist/runtime/app/components/HeaderSideNavItems/HeaderSideNavItems.d.vue.ts +21 -0
- package/dist/runtime/app/components/HeaderSideNavItems/HeaderSideNavItems.vue +19 -0
- package/dist/runtime/app/components/HeaderSideNavItems/HeaderSideNavItems.vue.d.ts +21 -0
- package/dist/runtime/app/components/Heading/Heading.context.d.ts +38 -0
- package/dist/runtime/app/components/Heading/Heading.context.js +11 -0
- package/dist/runtime/app/components/Heading/Heading.d.vue.ts +12 -0
- package/dist/runtime/app/components/Heading/Heading.types.d.ts +11 -0
- package/dist/runtime/app/components/Heading/Heading.types.js +1 -0
- package/dist/runtime/app/components/Heading/Heading.vue +14 -0
- package/dist/runtime/app/components/Heading/Heading.vue.d.ts +12 -0
- package/dist/runtime/app/components/IconButton/IconButton.d.vue.ts +29 -0
- package/dist/runtime/app/components/IconButton/IconButton.theme.d.ts +6 -0
- package/dist/runtime/app/components/IconButton/IconButton.theme.js +7 -0
- package/dist/runtime/app/components/IconButton/IconButton.types.d.ts +60 -0
- package/dist/runtime/app/components/IconButton/IconButton.types.js +0 -0
- package/dist/runtime/app/components/IconButton/IconButton.vue +62 -0
- package/dist/runtime/app/components/IconButton/IconButton.vue.d.ts +29 -0
- package/dist/runtime/app/components/IconSwitch/IconSwitch.d.vue.ts +35 -0
- package/dist/runtime/app/components/IconSwitch/IconSwitch.vue +42 -0
- package/dist/runtime/app/components/IconSwitch/IconSwitch.vue.d.ts +35 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.d.vue.ts +23 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.theme.d.ts +21 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.theme.js +18 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.types.d.ts +14 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.types.js +0 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.vue +70 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.vue.d.ts +23 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.d.vue.ts +27 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.theme.d.ts +132 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.theme.js +116 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.types.d.ts +44 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.types.js +0 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.vue +82 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.vue.d.ts +27 -0
- package/dist/runtime/app/components/InlineNotification/notification.d.ts +14 -0
- package/dist/runtime/app/components/InlineNotification/notification.js +12 -0
- package/dist/runtime/app/components/Layer/Layer.context.d.ts +43 -0
- package/dist/runtime/app/components/Layer/Layer.context.js +11 -0
- package/dist/runtime/app/components/Layer/Layer.d.vue.ts +17 -0
- package/dist/runtime/app/components/Layer/Layer.types.d.ts +41 -0
- package/dist/runtime/app/components/Layer/Layer.types.js +1 -0
- package/dist/runtime/app/components/Layer/Layer.vue +32 -0
- package/dist/runtime/app/components/Layer/Layer.vue.d.ts +17 -0
- package/dist/runtime/app/components/Link/Link.d.vue.ts +26 -0
- package/dist/runtime/app/components/Link/Link.theme.d.ts +40 -0
- package/dist/runtime/app/components/Link/Link.theme.js +28 -0
- package/dist/runtime/app/components/Link/Link.types.d.ts +44 -0
- package/dist/runtime/app/components/Link/Link.types.js +0 -0
- package/dist/runtime/app/components/Link/Link.vue +72 -0
- package/dist/runtime/app/components/Link/Link.vue.d.ts +26 -0
- package/dist/runtime/app/components/ListItem/ListItem.d.vue.ts +16 -0
- package/dist/runtime/app/components/ListItem/ListItem.types.d.ts +10 -0
- package/dist/runtime/app/components/ListItem/ListItem.types.js +0 -0
- package/dist/runtime/app/components/ListItem/ListItem.vue +19 -0
- package/dist/runtime/app/components/ListItem/ListItem.vue.d.ts +16 -0
- package/dist/runtime/app/components/Loading/Loading.d.vue.ts +10 -0
- package/dist/runtime/app/components/Loading/Loading.theme.d.ts +29 -0
- package/dist/runtime/app/components/Loading/Loading.theme.js +24 -0
- package/dist/runtime/app/components/Loading/Loading.types.d.ts +8 -0
- package/dist/runtime/app/components/Loading/Loading.types.js +0 -0
- package/dist/runtime/app/components/Loading/Loading.vue +71 -0
- package/dist/runtime/app/components/Loading/Loading.vue.d.ts +10 -0
- package/dist/runtime/app/components/Loading/internal/LoadingOverlay/LoadingOverlay.d.vue.ts +25 -0
- package/dist/runtime/app/components/Loading/internal/LoadingOverlay/LoadingOverlay.vue +33 -0
- package/dist/runtime/app/components/Loading/internal/LoadingOverlay/LoadingOverlay.vue.d.ts +25 -0
- package/dist/runtime/app/components/Loading/internal/focusTrap.d.ts +14 -0
- package/dist/runtime/app/components/Loading/internal/focusTrap.js +81 -0
- package/dist/runtime/app/components/Menu/Menu.context.d.ts +51 -0
- package/dist/runtime/app/components/Menu/Menu.context.js +1 -0
- package/dist/runtime/app/components/Menu/Menu.d.vue.ts +24 -22
- package/dist/runtime/app/components/Menu/Menu.theme.d.ts +102 -11
- package/dist/runtime/app/components/Menu/Menu.theme.js +61 -13
- package/dist/runtime/app/components/Menu/Menu.types.d.ts +16 -0
- package/dist/runtime/app/components/Menu/Menu.types.js +0 -0
- package/dist/runtime/app/components/Menu/Menu.vue +41 -121
- package/dist/runtime/app/components/Menu/Menu.vue.d.ts +24 -22
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.d.vue.ts +56 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue +133 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue.d.ts +56 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.d.vue.ts +33 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.types.d.ts +41 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.types.js +0 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.vue +67 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.vue.d.ts +33 -0
- package/dist/runtime/app/components/MenuButton/useMenuWidth.d.ts +32 -0
- package/dist/runtime/app/components/MenuButton/useMenuWidth.js +34 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.d.vue.ts +25 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.types.d.ts +19 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.types.js +0 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.vue +191 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.vue.d.ts +25 -0
- package/dist/runtime/app/components/MenuItemDivider/MenuItemDivider.d.vue.ts +9 -0
- package/dist/runtime/app/components/MenuItemDivider/MenuItemDivider.vue +15 -0
- package/dist/runtime/app/components/MenuItemDivider/MenuItemDivider.vue.d.ts +9 -0
- package/dist/runtime/app/components/Modal/Modal.d.vue.ts +31 -20
- package/dist/runtime/app/components/Modal/Modal.theme.d.ts +83 -43
- package/dist/runtime/app/components/Modal/Modal.theme.js +73 -37
- package/dist/runtime/app/components/Modal/Modal.types.d.ts +88 -0
- package/dist/runtime/app/components/Modal/Modal.types.js +0 -0
- package/dist/runtime/app/components/Modal/Modal.vue +258 -74
- package/dist/runtime/app/components/Modal/Modal.vue.d.ts +31 -20
- package/dist/runtime/app/components/MultiSelect/MultiSelect.d.vue.ts +63 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.types.d.ts +105 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.types.js +0 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.vue +479 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.vue.d.ts +63 -0
- package/dist/runtime/app/components/MultiSelect/sort.d.ts +20 -0
- package/dist/runtime/app/components/MultiSelect/sort.js +10 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.d.vue.ts +36 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.types.d.ts +29 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.types.js +0 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.vue +112 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.vue.d.ts +36 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.d.vue.ts +19 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.types.d.ts +32 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.types.js +0 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.vue +31 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.vue.d.ts +19 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.d.vue.ts +30 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.types.d.ts +29 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.types.js +0 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.vue +57 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.vue.d.ts +30 -0
- package/dist/runtime/app/components/Pagination/Pagination.d.vue.ts +19 -25
- package/dist/runtime/app/components/Pagination/Pagination.theme.d.ts +43 -8
- package/dist/runtime/app/components/Pagination/Pagination.theme.js +38 -9
- package/dist/runtime/app/components/Pagination/Pagination.types.d.ts +13 -0
- package/dist/runtime/app/components/Pagination/Pagination.types.js +0 -0
- package/dist/runtime/app/components/Pagination/Pagination.vue +69 -96
- package/dist/runtime/app/components/Pagination/Pagination.vue.d.ts +19 -25
- package/dist/runtime/app/components/PaginationNav/PaginationNav.d.vue.ts +15 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.types.d.ts +10 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.types.js +0 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.vue +116 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.vue.d.ts +15 -0
- package/dist/runtime/app/components/Popover/Popover.d.vue.ts +41 -0
- package/dist/runtime/app/components/Popover/Popover.theme.d.ts +113 -0
- package/dist/runtime/app/components/Popover/Popover.theme.js +68 -0
- package/dist/runtime/app/components/Popover/Popover.types.d.ts +50 -0
- package/dist/runtime/app/components/Popover/Popover.types.js +0 -0
- package/dist/runtime/app/components/Popover/Popover.vue +211 -0
- package/dist/runtime/app/components/Popover/Popover.vue.d.ts +41 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.d.vue.ts +13 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.theme.d.ts +68 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.theme.js +44 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.types.d.ts +26 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.types.js +0 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.vue +89 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.vue.d.ts +13 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.context.d.ts +21 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.context.js +1 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.d.vue.ts +31 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.theme.d.ts +121 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.theme.js +107 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.types.d.ts +25 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.types.js +0 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.vue +56 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.vue.d.ts +31 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.d.vue.ts +11 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.types.d.ts +31 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.types.js +0 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.vue +83 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.vue.d.ts +11 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.d.vue.ts +22 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.theme.d.ts +64 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.theme.js +39 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.types.d.ts +16 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.types.js +0 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.vue +76 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.vue.d.ts +22 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.d.vue.ts +36 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.theme.d.ts +52 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.theme.js +24 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.types.d.ts +21 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.types.js +0 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.vue +99 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.vue.d.ts +36 -0
- package/dist/runtime/app/components/RadioButtonGroup/internal/context.d.ts +24 -0
- package/dist/runtime/app/components/RadioButtonGroup/internal/context.js +1 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.d.vue.ts +29 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.types.d.ts +19 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.types.js +0 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.vue +71 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.vue.d.ts +29 -0
- package/dist/runtime/app/components/Search/Search.d.vue.ts +37 -0
- package/dist/runtime/app/components/Search/Search.theme.d.ts +121 -0
- package/dist/runtime/app/components/Search/Search.theme.js +94 -0
- package/dist/runtime/app/components/Search/Search.types.d.ts +59 -0
- package/dist/runtime/app/components/Search/Search.types.js +0 -0
- package/dist/runtime/app/components/Search/Search.vue +172 -0
- package/dist/runtime/app/components/Search/Search.vue.d.ts +37 -0
- package/dist/runtime/app/components/Section/Section.d.vue.ts +16 -0
- package/dist/runtime/app/components/Section/Section.types.d.ts +23 -0
- package/dist/runtime/app/components/Section/Section.types.js +0 -0
- package/dist/runtime/app/components/Section/Section.vue +25 -0
- package/dist/runtime/app/components/Section/Section.vue.d.ts +16 -0
- package/dist/runtime/app/components/Select/Select.d.vue.ts +31 -0
- package/dist/runtime/app/components/Select/Select.theme.d.ts +114 -0
- package/dist/runtime/app/components/Select/Select.theme.js +107 -0
- package/dist/runtime/app/components/Select/Select.types.d.ts +64 -0
- package/dist/runtime/app/components/Select/Select.types.js +0 -0
- package/dist/runtime/app/components/Select/Select.vue +190 -0
- package/dist/runtime/app/components/Select/Select.vue.d.ts +31 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.d.vue.ts +34 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.types.d.ts +23 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.types.js +0 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.vue +65 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.vue.d.ts +34 -0
- package/dist/runtime/app/components/SideNav/SideNav.context.d.ts +13 -0
- package/dist/runtime/app/components/SideNav/SideNav.context.js +1 -0
- package/dist/runtime/app/components/SideNav/SideNav.d.vue.ts +43 -0
- package/dist/runtime/app/components/SideNav/SideNav.theme.d.ts +128 -0
- package/dist/runtime/app/components/SideNav/SideNav.theme.js +103 -0
- package/dist/runtime/app/components/SideNav/SideNav.types.d.ts +27 -0
- package/dist/runtime/app/components/SideNav/SideNav.types.js +0 -0
- package/dist/runtime/app/components/SideNav/SideNav.vue +125 -0
- package/dist/runtime/app/components/SideNav/SideNav.vue.d.ts +43 -0
- package/dist/runtime/app/components/SideNavDivider/SideNavDivider.d.vue.ts +9 -0
- package/dist/runtime/app/components/SideNavDivider/SideNavDivider.vue +14 -0
- package/dist/runtime/app/components/SideNavDivider/SideNavDivider.vue.d.ts +9 -0
- package/dist/runtime/app/components/SideNavItems/SideNavItems.d.vue.ts +21 -0
- package/dist/runtime/app/components/SideNavItems/SideNavItems.vue +25 -0
- package/dist/runtime/app/components/SideNavItems/SideNavItems.vue.d.ts +21 -0
- package/dist/runtime/app/components/SideNavLink/SideNavLink.d.vue.ts +33 -0
- package/dist/runtime/app/components/SideNavLink/SideNavLink.vue +66 -0
- package/dist/runtime/app/components/SideNavLink/SideNavLink.vue.d.ts +33 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.context.d.ts +14 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.context.js +1 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.d.vue.ts +32 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.vue +80 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.vue.d.ts +32 -0
- package/dist/runtime/app/components/SideNavMenuItem/SideNavMenuItem.d.vue.ts +29 -0
- package/dist/runtime/app/components/SideNavMenuItem/SideNavMenuItem.vue +52 -0
- package/dist/runtime/app/components/SideNavMenuItem/SideNavMenuItem.vue.d.ts +29 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.d.vue.ts +6 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.types.d.ts +5 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.types.js +0 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.vue +19 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.vue.d.ts +6 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.d.vue.ts +6 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.types.d.ts +9 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.types.js +0 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.vue +19 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.vue.d.ts +6 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.d.vue.ts +10 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.theme.d.ts +39 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.theme.js +32 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.types.d.ts +21 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.types.js +0 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.vue +53 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.vue.d.ts +10 -0
- package/dist/runtime/app/components/SkipToContent/SkipToContent.d.vue.ts +23 -0
- package/dist/runtime/app/components/SkipToContent/SkipToContent.vue +20 -0
- package/dist/runtime/app/components/SkipToContent/SkipToContent.vue.d.ts +23 -0
- package/dist/runtime/app/components/Slider/Slider.d.vue.ts +50 -0
- package/dist/runtime/app/components/Slider/Slider.theme.d.ts +67 -0
- package/dist/runtime/app/components/Slider/Slider.theme.js +93 -0
- package/dist/runtime/app/components/Slider/Slider.types.d.ts +85 -0
- package/dist/runtime/app/components/Slider/Slider.types.js +0 -0
- package/dist/runtime/app/components/Slider/Slider.vue +414 -0
- package/dist/runtime/app/components/Slider/Slider.vue.d.ts +50 -0
- package/dist/runtime/app/components/Slider/handles.d.ts +38 -0
- package/dist/runtime/app/components/Slider/handles.js +10 -0
- package/dist/runtime/app/components/Slider/internal/SliderThumb/SliderThumb.d.vue.ts +16 -0
- package/dist/runtime/app/components/Slider/internal/SliderThumb/SliderThumb.vue +53 -0
- package/dist/runtime/app/components/Slider/internal/SliderThumb/SliderThumb.vue.d.ts +16 -0
- package/dist/runtime/app/components/Stack/Stack.d.vue.ts +17 -0
- package/dist/runtime/app/components/Stack/Stack.types.d.ts +44 -0
- package/dist/runtime/app/components/Stack/Stack.types.js +0 -0
- package/dist/runtime/app/components/Stack/Stack.vue +31 -0
- package/dist/runtime/app/components/Stack/Stack.vue.d.ts +17 -0
- package/dist/runtime/app/components/StructuredListBody/StructuredListBody.d.vue.ts +18 -0
- package/dist/runtime/app/components/StructuredListBody/StructuredListBody.vue +18 -0
- package/dist/runtime/app/components/StructuredListBody/StructuredListBody.vue.d.ts +18 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.d.vue.ts +17 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.types.d.ts +16 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.types.js +0 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.vue +29 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.vue.d.ts +17 -0
- package/dist/runtime/app/components/StructuredListHead/StructuredListHead.d.vue.ts +18 -0
- package/dist/runtime/app/components/StructuredListHead/StructuredListHead.vue +18 -0
- package/dist/runtime/app/components/StructuredListHead/StructuredListHead.vue.d.ts +18 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.d.vue.ts +10 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.types.d.ts +19 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.types.js +0 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.vue +39 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.vue.d.ts +10 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.d.vue.ts +19 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.types.d.ts +25 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.types.js +0 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.vue +58 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.vue.d.ts +19 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.context.d.ts +50 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.context.js +22 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.d.vue.ts +28 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.theme.d.ts +99 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.theme.js +42 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.types.d.ts +30 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.types.js +0 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.vue +49 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.vue.d.ts +28 -0
- package/dist/runtime/app/components/Switch/Switch.d.vue.ts +19 -0
- package/dist/runtime/app/components/Switch/Switch.types.d.ts +23 -0
- package/dist/runtime/app/components/Switch/Switch.types.js +0 -0
- package/dist/runtime/app/components/Switch/Switch.vue +43 -0
- package/dist/runtime/app/components/Switch/Switch.vue.d.ts +19 -0
- package/dist/runtime/app/components/Switcher/Switcher.context.d.ts +13 -0
- package/dist/runtime/app/components/Switcher/Switcher.context.js +1 -0
- package/dist/runtime/app/components/Switcher/Switcher.d.vue.ts +25 -0
- package/dist/runtime/app/components/Switcher/Switcher.vue +32 -0
- package/dist/runtime/app/components/Switcher/Switcher.vue.d.ts +25 -0
- package/dist/runtime/app/components/SwitcherDivider/SwitcherDivider.d.vue.ts +9 -0
- package/dist/runtime/app/components/SwitcherDivider/SwitcherDivider.vue +14 -0
- package/dist/runtime/app/components/SwitcherDivider/SwitcherDivider.vue.d.ts +9 -0
- package/dist/runtime/app/components/SwitcherItem/SwitcherItem.d.vue.ts +34 -0
- package/dist/runtime/app/components/SwitcherItem/SwitcherItem.vue +66 -0
- package/dist/runtime/app/components/SwitcherItem/SwitcherItem.vue.d.ts +34 -0
- package/dist/runtime/app/components/Tab/Tab.d.vue.ts +21 -0
- package/dist/runtime/app/components/Tab/Tab.types.d.ts +20 -0
- package/dist/runtime/app/components/Tab/Tab.types.js +0 -0
- package/dist/runtime/app/components/Tab/Tab.vue +130 -0
- package/dist/runtime/app/components/Tab/Tab.vue.d.ts +21 -0
- package/dist/runtime/app/components/TabList/TabList.context.d.ts +12 -0
- package/dist/runtime/app/components/TabList/TabList.context.js +1 -0
- package/dist/runtime/app/components/TabList/TabList.d.vue.ts +23 -0
- package/dist/runtime/app/components/TabList/TabList.types.d.ts +34 -0
- package/dist/runtime/app/components/TabList/TabList.types.js +0 -0
- package/dist/runtime/app/components/TabList/TabList.vue +166 -0
- package/dist/runtime/app/components/TabList/TabList.vue.d.ts +23 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.d.vue.ts +16 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.types.d.ts +4 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.types.js +0 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.vue +33 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.vue.d.ts +16 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.d.vue.ts +16 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.types.d.ts +4 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.types.js +0 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.vue +22 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.vue.d.ts +16 -0
- package/dist/runtime/app/components/Table/Table.d.vue.ts +17 -77
- package/dist/runtime/app/components/Table/Table.vue +33 -470
- package/dist/runtime/app/components/Table/Table.vue.d.ts +17 -77
- package/dist/runtime/app/components/TableActionList/TableActionList.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableActionList/TableActionList.vue +15 -0
- package/dist/runtime/app/components/TableActionList/TableActionList.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableBatchAction/TableBatchAction.d.vue.ts +30 -0
- package/dist/runtime/app/components/TableBatchAction/TableBatchAction.vue +28 -0
- package/dist/runtime/app/components/TableBatchAction/TableBatchAction.vue.d.ts +30 -0
- package/dist/runtime/app/components/TableBatchActions/TableBatchActions.d.vue.ts +23 -0
- package/dist/runtime/app/components/TableBatchActions/TableBatchActions.vue +65 -0
- package/dist/runtime/app/components/TableBatchActions/TableBatchActions.vue.d.ts +23 -0
- package/dist/runtime/app/components/TableBody/TableBody.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableBody/TableBody.vue +19 -0
- package/dist/runtime/app/components/TableBody/TableBody.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableCell/TableCell.d.vue.ts +22 -0
- package/dist/runtime/app/components/TableCell/TableCell.vue +27 -0
- package/dist/runtime/app/components/TableCell/TableCell.vue.d.ts +22 -0
- package/dist/runtime/app/components/TableContainer/TableContainer.d.vue.ts +22 -0
- package/dist/runtime/app/components/TableContainer/TableContainer.vue +65 -0
- package/dist/runtime/app/components/TableContainer/TableContainer.vue.d.ts +22 -0
- package/dist/runtime/app/components/TableExpandHeader/TableExpandHeader.d.vue.ts +27 -0
- package/dist/runtime/app/components/TableExpandHeader/TableExpandHeader.vue +53 -0
- package/dist/runtime/app/components/TableExpandHeader/TableExpandHeader.vue.d.ts +27 -0
- package/dist/runtime/app/components/TableExpandRow/TableExpandRow.d.vue.ts +28 -0
- package/dist/runtime/app/components/TableExpandRow/TableExpandRow.vue +58 -0
- package/dist/runtime/app/components/TableExpandRow/TableExpandRow.vue.d.ts +28 -0
- package/dist/runtime/app/components/TableExpandedRow/TableExpandedRow.d.vue.ts +21 -0
- package/dist/runtime/app/components/TableExpandedRow/TableExpandedRow.vue +34 -0
- package/dist/runtime/app/components/TableExpandedRow/TableExpandedRow.vue.d.ts +21 -0
- package/dist/runtime/app/components/TableHead/TableHead.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableHead/TableHead.vue +15 -0
- package/dist/runtime/app/components/TableHead/TableHead.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableHeader/TableHeader.d.vue.ts +25 -0
- package/dist/runtime/app/components/TableHeader/TableHeader.vue +82 -0
- package/dist/runtime/app/components/TableHeader/TableHeader.vue.d.ts +25 -0
- package/dist/runtime/app/components/TableRow/TableRow.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableRow/TableRow.vue +25 -0
- package/dist/runtime/app/components/TableRow/TableRow.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableSelectAll/TableSelectAll.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableSelectAll/TableSelectAll.vue +44 -0
- package/dist/runtime/app/components/TableSelectAll/TableSelectAll.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableSelectRow/TableSelectRow.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableSelectRow/TableSelectRow.vue +62 -0
- package/dist/runtime/app/components/TableSelectRow/TableSelectRow.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableToolbar/TableToolbar.d.vue.ts +17 -0
- package/dist/runtime/app/components/TableToolbar/TableToolbar.vue +28 -0
- package/dist/runtime/app/components/TableToolbar/TableToolbar.vue.d.ts +17 -0
- package/dist/runtime/app/components/TableToolbarAction/TableToolbarAction.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableToolbarAction/TableToolbarAction.vue +21 -0
- package/dist/runtime/app/components/TableToolbarAction/TableToolbarAction.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableToolbarContent/TableToolbarContent.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableToolbarContent/TableToolbarContent.vue +15 -0
- package/dist/runtime/app/components/TableToolbarContent/TableToolbarContent.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableToolbarMenu/TableToolbarMenu.d.vue.ts +25 -0
- package/dist/runtime/app/components/TableToolbarMenu/TableToolbarMenu.vue +43 -0
- package/dist/runtime/app/components/TableToolbarMenu/TableToolbarMenu.vue.d.ts +25 -0
- package/dist/runtime/app/components/TableToolbarSearch/TableToolbarSearch.d.vue.ts +25 -0
- package/dist/runtime/app/components/TableToolbarSearch/TableToolbarSearch.vue +46 -0
- package/dist/runtime/app/components/TableToolbarSearch/TableToolbarSearch.vue.d.ts +25 -0
- package/dist/runtime/app/components/Tabs/Tabs.context.d.ts +30 -0
- package/dist/runtime/app/components/Tabs/Tabs.context.js +1 -0
- package/dist/runtime/app/components/Tabs/Tabs.d.vue.ts +19 -38
- package/dist/runtime/app/components/Tabs/Tabs.theme.d.ts +103 -16
- package/dist/runtime/app/components/Tabs/Tabs.theme.js +101 -14
- package/dist/runtime/app/components/Tabs/Tabs.types.d.ts +40 -0
- package/dist/runtime/app/components/Tabs/Tabs.types.js +0 -0
- package/dist/runtime/app/components/Tabs/Tabs.vue +62 -103
- package/dist/runtime/app/components/Tabs/Tabs.vue.d.ts +19 -38
- package/dist/runtime/app/components/Tag/Tag.d.vue.ts +42 -0
- package/dist/runtime/app/components/Tag/Tag.theme.d.ts +144 -0
- package/dist/runtime/app/components/Tag/Tag.theme.js +78 -0
- package/dist/runtime/app/components/Tag/Tag.types.d.ts +65 -0
- package/dist/runtime/app/components/Tag/Tag.types.js +0 -0
- package/dist/runtime/app/components/Tag/Tag.vue +125 -0
- package/dist/runtime/app/components/Tag/Tag.vue.d.ts +42 -0
- package/dist/runtime/app/components/TextArea/TextArea.d.vue.ts +44 -0
- package/dist/runtime/app/components/TextArea/TextArea.theme.d.ts +149 -0
- package/dist/runtime/app/components/TextArea/TextArea.theme.js +142 -0
- package/dist/runtime/app/components/TextArea/TextArea.types.d.ts +45 -0
- package/dist/runtime/app/components/TextArea/TextArea.types.js +0 -0
- package/dist/runtime/app/components/TextArea/TextArea.vue +230 -0
- package/dist/runtime/app/components/TextArea/TextArea.vue.d.ts +44 -0
- package/dist/runtime/app/components/TextInput/TextInput.d.vue.ts +56 -0
- package/dist/runtime/app/components/TextInput/TextInput.theme.d.ts +252 -0
- package/dist/runtime/app/components/TextInput/TextInput.theme.js +205 -0
- package/dist/runtime/app/components/TextInput/TextInput.types.d.ts +81 -0
- package/dist/runtime/app/components/TextInput/TextInput.types.js +0 -0
- package/dist/runtime/app/components/TextInput/TextInput.vue +256 -0
- package/dist/runtime/app/components/TextInput/TextInput.vue.d.ts +56 -0
- package/dist/runtime/app/components/Tile/Tile.d.vue.ts +16 -0
- package/dist/runtime/app/components/Tile/Tile.theme.d.ts +106 -0
- package/dist/runtime/app/components/Tile/Tile.theme.js +115 -0
- package/dist/runtime/app/components/Tile/Tile.types.d.ts +16 -0
- package/dist/runtime/app/components/Tile/Tile.types.js +0 -0
- package/dist/runtime/app/components/Tile/Tile.vue +19 -0
- package/dist/runtime/app/components/Tile/Tile.vue.d.ts +16 -0
- package/dist/runtime/app/components/TileAboveTheFoldContent/TileAboveTheFoldContent.d.vue.ts +12 -0
- package/dist/runtime/app/components/TileAboveTheFoldContent/TileAboveTheFoldContent.vue +12 -0
- package/dist/runtime/app/components/TileAboveTheFoldContent/TileAboveTheFoldContent.vue.d.ts +12 -0
- package/dist/runtime/app/components/TileBelowTheFoldContent/TileBelowTheFoldContent.d.vue.ts +12 -0
- package/dist/runtime/app/components/TileBelowTheFoldContent/TileBelowTheFoldContent.vue +12 -0
- package/dist/runtime/app/components/TileBelowTheFoldContent/TileBelowTheFoldContent.vue.d.ts +12 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.d.vue.ts +28 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.types.d.ts +30 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.types.js +0 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.vue +47 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.vue.d.ts +28 -0
- package/dist/runtime/app/components/TileGroup/internal/context.d.ts +21 -0
- package/dist/runtime/app/components/TileGroup/internal/context.js +1 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.context.d.ts +23 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.context.js +1 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.d.vue.ts +40 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.theme.d.ts +147 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.theme.js +112 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.types.d.ts +65 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.types.js +0 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.vue +113 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.vue.d.ts +40 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.d.vue.ts +21 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.types.d.ts +43 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.types.js +0 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.vue +106 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.vue.d.ts +21 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.d.vue.ts +29 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.types.d.ts +12 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.types.js +0 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.vue +103 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.vue.d.ts +29 -0
- package/dist/runtime/app/components/Toggle/Toggle.d.vue.ts +31 -0
- package/dist/runtime/app/components/Toggle/Toggle.theme.d.ts +94 -0
- package/dist/runtime/app/components/Toggle/Toggle.theme.js +65 -0
- package/dist/runtime/app/components/Toggle/Toggle.types.d.ts +42 -0
- package/dist/runtime/app/components/Toggle/Toggle.types.js +0 -0
- package/dist/runtime/app/components/Toggle/Toggle.vue +108 -0
- package/dist/runtime/app/components/Toggle/Toggle.vue.d.ts +31 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.context.d.ts +27 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.context.js +1 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.d.vue.ts +29 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.theme.d.ts +62 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.theme.js +45 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.types.d.ts +25 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.types.js +0 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.vue +163 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.vue.d.ts +29 -0
- package/dist/runtime/app/components/ToggletipActions/ToggletipActions.d.vue.ts +13 -0
- package/dist/runtime/app/components/ToggletipActions/ToggletipActions.vue +11 -0
- package/dist/runtime/app/components/ToggletipActions/ToggletipActions.vue.d.ts +13 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.d.vue.ts +16 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.types.d.ts +11 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.types.js +0 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.vue +35 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.vue.d.ts +16 -0
- package/dist/runtime/app/components/ToggletipContent/ToggletipContent.d.vue.ts +14 -0
- package/dist/runtime/app/components/ToggletipContent/ToggletipContent.vue +43 -0
- package/dist/runtime/app/components/ToggletipContent/ToggletipContent.vue.d.ts +14 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.d.vue.ts +16 -26
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.d.ts +74 -8
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.js +34 -8
- package/dist/runtime/app/components/Tooltip/Tooltip.types.d.ts +86 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.types.js +0 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.vue +164 -70
- package/dist/runtime/app/components/Tooltip/Tooltip.vue.d.ts +16 -26
- package/dist/runtime/app/components/TreeView/TreeView.d.vue.ts +29 -0
- package/dist/runtime/app/components/TreeView/TreeView.theme.d.ts +99 -0
- package/dist/runtime/app/components/TreeView/TreeView.theme.js +82 -0
- package/dist/runtime/app/components/TreeView/TreeView.types.d.ts +48 -0
- package/dist/runtime/app/components/TreeView/TreeView.types.js +0 -0
- package/dist/runtime/app/components/TreeView/TreeView.vue +200 -0
- package/dist/runtime/app/components/TreeView/TreeView.vue.d.ts +29 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewNode/TreeViewNode.d.vue.ts +22 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewNode/TreeViewNode.vue +122 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewNode/TreeViewNode.vue.d.ts +22 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewRow/TreeViewRow.d.vue.ts +15 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewRow/TreeViewRow.vue +50 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewRow/TreeViewRow.vue.d.ts +15 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.context.d.ts +31 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.context.js +1 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.d.vue.ts +18 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.theme.d.ts +55 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.theme.js +35 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.types.d.ts +19 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.types.js +0 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.vue +30 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.vue.d.ts +18 -0
- package/dist/runtime/app/composables/internal/useAnchor.d.ts +47 -0
- package/dist/runtime/app/composables/internal/useAnchor.js +37 -0
- package/dist/runtime/app/composables/internal/useDirection.d.ts +5 -0
- package/dist/runtime/app/composables/internal/useDirection.js +8 -0
- package/dist/runtime/app/composables/internal/usePortal.d.ts +18 -0
- package/dist/runtime/app/composables/internal/usePortal.js +12 -0
- package/dist/runtime/app/composables/useTheme.d.ts +8 -8
- package/dist/runtime/app/composables/useTheme.js +11 -8
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.d.vue.ts +38 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.d.ts +35 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.js +30 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue +27 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue.d.ts +38 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.d.vue.ts +4 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.types.d.ts +3 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.types.js +0 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.vue +28 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.vue.d.ts +4 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.d.vue.ts +49 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.d.ts +24 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.js +19 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue +64 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue.d.ts +49 -0
- package/dist/runtime/app/primitives/PrimitiveNotification/PrimitiveNotification.d.vue.ts +29 -0
- package/dist/runtime/app/primitives/PrimitiveNotification/PrimitiveNotification.vue +90 -0
- package/dist/runtime/app/primitives/PrimitiveNotification/PrimitiveNotification.vue.d.ts +29 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.d.vue.ts +55 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.d.ts +117 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.js +107 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue +234 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue.d.ts +55 -0
- package/dist/runtime/app/theme/icons.d.ts +2 -2
- package/dist/runtime/app/theme/icons.js +35 -41
- package/dist/runtime/app/theme/index.d.ts +3075 -818
- package/dist/runtime/app/theme/index.js +91 -101
- package/dist/runtime/app/theme/messages.d.ts +2 -2
- package/dist/runtime/app/theme/messages.js +11 -16
- package/dist/runtime/app/theme/shared.d.ts +2 -42
- package/dist/runtime/app/theme/shared.js +1 -24
- package/dist/runtime/app/types/app-config.d.ts +2 -2
- package/dist/runtime/app/types/base.d.ts +11 -53
- package/dist/runtime/app/types/control.d.ts +30 -0
- package/dist/runtime/app/types/control.js +0 -0
- package/dist/runtime/app/types/form.d.ts +57 -62
- package/dist/runtime/app/types/index.d.ts +98 -16
- package/dist/runtime/app/types/index.js +0 -1
- package/dist/runtime/app/types/input.d.ts +2 -0
- package/dist/runtime/app/types/input.js +0 -0
- package/dist/runtime/app/types/slots.d.ts +14 -10
- package/dist/runtime/app/types/theme.d.ts +52 -78
- package/dist/runtime/app/utils/format.js +3 -2
- package/dist/runtime/app/utils/pagination.d.ts +2 -2
- package/dist/runtime/app/utils/path.js +1 -1
- package/dist/runtime/app/utils/slots.d.ts +22 -0
- package/dist/runtime/app/utils/theme.d.ts +10 -43
- package/dist/runtime/app/utils/theme.js +31 -29
- package/package.json +9 -19
- package/dist/runtime/app/assets/css/stylesheet.css +0 -1
- package/dist/runtime/app/components/Alert/Alert.d.vue.ts +0 -20
- package/dist/runtime/app/components/Alert/Alert.theme.d.ts +0 -13
- package/dist/runtime/app/components/Alert/Alert.theme.js +0 -13
- package/dist/runtime/app/components/Alert/Alert.vue +0 -59
- package/dist/runtime/app/components/Alert/Alert.vue.d.ts +0 -20
- package/dist/runtime/app/components/App/App.d.vue.ts +0 -52
- package/dist/runtime/app/components/App/App.vue +0 -150
- package/dist/runtime/app/components/App/App.vue.d.ts +0 -52
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.d.vue.ts +0 -7
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.vue +0 -39
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.vue.d.ts +0 -7
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.d.vue.ts +0 -8
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue +0 -19
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue.d.ts +0 -8
- package/dist/runtime/app/components/App/internal/Toast/Toast.d.vue.ts +0 -11
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.d.ts +0 -13
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.js +0 -18
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue +0 -64
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue.d.ts +0 -11
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.d.vue.ts +0 -11
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.d.ts +0 -15
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.js +0 -16
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.vue +0 -100
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.vue.d.ts +0 -11
- package/dist/runtime/app/components/Avatar/Avatar.d.vue.ts +0 -27
- package/dist/runtime/app/components/Avatar/Avatar.theme.d.ts +0 -30
- package/dist/runtime/app/components/Avatar/Avatar.theme.js +0 -22
- package/dist/runtime/app/components/Avatar/Avatar.vue +0 -51
- package/dist/runtime/app/components/Avatar/Avatar.vue.d.ts +0 -27
- package/dist/runtime/app/components/Badge/Badge.d.vue.ts +0 -40
- package/dist/runtime/app/components/Badge/Badge.theme.d.ts +0 -40
- package/dist/runtime/app/components/Badge/Badge.theme.js +0 -22
- package/dist/runtime/app/components/Badge/Badge.vue +0 -28
- package/dist/runtime/app/components/Badge/Badge.vue.d.ts +0 -40
- package/dist/runtime/app/components/Card/Card.d.vue.ts +0 -94
- package/dist/runtime/app/components/Card/Card.theme.d.ts +0 -57
- package/dist/runtime/app/components/Card/Card.theme.js +0 -62
- package/dist/runtime/app/components/Card/Card.vue +0 -45
- package/dist/runtime/app/components/Card/Card.vue.d.ts +0 -94
- package/dist/runtime/app/components/Code/Code.d.vue.ts +0 -19
- package/dist/runtime/app/components/Code/Code.theme.d.ts +0 -11
- package/dist/runtime/app/components/Code/Code.theme.js +0 -12
- package/dist/runtime/app/components/Code/Code.vue +0 -109
- package/dist/runtime/app/components/Code/Code.vue.d.ts +0 -19
- package/dist/runtime/app/components/Confirm/Confirm.d.vue.ts +0 -35
- package/dist/runtime/app/components/Confirm/Confirm.theme.d.ts +0 -12
- package/dist/runtime/app/components/Confirm/Confirm.theme.js +0 -13
- package/dist/runtime/app/components/Confirm/Confirm.vue +0 -83
- package/dist/runtime/app/components/Confirm/Confirm.vue.d.ts +0 -35
- package/dist/runtime/app/components/Container/Container.d.vue.ts +0 -42
- package/dist/runtime/app/components/Container/Container.theme.d.ts +0 -53
- package/dist/runtime/app/components/Container/Container.theme.js +0 -31
- package/dist/runtime/app/components/Container/Container.vue +0 -20
- package/dist/runtime/app/components/Container/Container.vue.d.ts +0 -42
- package/dist/runtime/app/components/ControlGroup/ControlGroup.d.vue.ts +0 -26
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.d.ts +0 -16
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.js +0 -13
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue +0 -26
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldArray/FieldArray.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.d.ts +0 -12
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.js +0 -13
- package/dist/runtime/app/components/FieldArray/FieldArray.vue +0 -173
- package/dist/runtime/app/components/FieldArray/FieldArray.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.js +0 -2
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.vue +0 -39
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.d.vue.ts +0 -40
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.d.ts +0 -30
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.js +0 -10
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.vue +0 -40
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.vue.d.ts +0 -40
- package/dist/runtime/app/components/FieldColor/FieldColor.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.d.ts +0 -27
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.js +0 -18
- package/dist/runtime/app/components/FieldColor/FieldColor.vue +0 -88
- package/dist/runtime/app/components/FieldColor/FieldColor.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.js +0 -2
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue +0 -51
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldFile/FieldFile.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.js +0 -2
- package/dist/runtime/app/components/FieldFile/FieldFile.vue +0 -99
- package/dist/runtime/app/components/FieldFile/FieldFile.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.d.vue.ts +0 -66
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.d.ts +0 -88
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.js +0 -55
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue +0 -187
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue.d.ts +0 -66
- package/dist/runtime/app/components/FieldInput/FieldInput.d.vue.ts +0 -24
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.js +0 -2
- package/dist/runtime/app/components/FieldInput/FieldInput.vue +0 -61
- package/dist/runtime/app/components/FieldInput/FieldInput.vue.d.ts +0 -24
- package/dist/runtime/app/components/FieldNumber/FieldNumber.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.js +0 -2
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue +0 -47
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldPassword/FieldPassword.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.js +0 -2
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue +0 -62
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldRadio/FieldRadio.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.js +0 -2
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue +0 -41
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.d.vue.ts +0 -32
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.d.ts +0 -54
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.js +0 -31
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.vue +0 -80
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.vue.d.ts +0 -32
- package/dist/runtime/app/components/FieldSearch/FieldSearch.d.vue.ts +0 -17
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.d.ts +0 -6
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.js +0 -7
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue +0 -74
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue.d.ts +0 -17
- package/dist/runtime/app/components/FieldSelect/FieldSelect.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.js +0 -2
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue +0 -45
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.d.vue.ts +0 -97
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.d.ts +0 -36
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.js +0 -49
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue +0 -196
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue.d.ts +0 -97
- package/dist/runtime/app/components/FieldSelect/internal/Select/option.d.ts +0 -25
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.d.ts +0 -30
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.js +0 -142
- package/dist/runtime/app/components/FieldSlug/FieldSlug.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.js +0 -2
- package/dist/runtime/app/components/FieldSlug/FieldSlug.vue +0 -113
- package/dist/runtime/app/components/FieldSlug/FieldSlug.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.js +0 -2
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue +0 -37
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.d.ts +0 -39
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.js +0 -20
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.vue +0 -46
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldTags/FieldTags.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.js +0 -2
- package/dist/runtime/app/components/FieldTags/FieldTags.vue +0 -41
- package/dist/runtime/app/components/FieldTags/FieldTags.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.d.ts +0 -34
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.js +0 -20
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue +0 -97
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.js +0 -2
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.vue +0 -45
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.d.vue.ts +0 -34
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.d.ts +0 -36
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.js +0 -37
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.vue +0 -43
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.vue.d.ts +0 -34
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.d.vue.ts +0 -7
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue +0 -67
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue.d.ts +0 -7
- package/dist/runtime/app/components/Form/internal/grid.d.ts +0 -9
- package/dist/runtime/app/components/Form/internal/grid.js +0 -91
- package/dist/runtime/app/components/Form/internal/standard-schema.d.ts +0 -29
- package/dist/runtime/app/components/Form/internal/standard-schema.js +0 -15
- package/dist/runtime/app/components/Form/internal/useVunoFormState.d.ts +0 -43
- package/dist/runtime/app/components/Form/internal/useVunoFormState.js +0 -81
- package/dist/runtime/app/components/FormField/FormField.d.vue.ts +0 -35
- package/dist/runtime/app/components/FormField/FormField.theme.d.ts +0 -62
- package/dist/runtime/app/components/FormField/FormField.theme.js +0 -28
- package/dist/runtime/app/components/FormField/FormField.vue +0 -124
- package/dist/runtime/app/components/FormField/FormField.vue.d.ts +0 -35
- package/dist/runtime/app/components/FormModal/FormModal.d.vue.ts +0 -63
- package/dist/runtime/app/components/FormModal/FormModal.theme.d.ts +0 -8
- package/dist/runtime/app/components/FormModal/FormModal.theme.js +0 -9
- package/dist/runtime/app/components/FormModal/FormModal.vue +0 -95
- package/dist/runtime/app/components/FormModal/FormModal.vue.d.ts +0 -63
- package/dist/runtime/app/components/FormSection/FormSection.d.vue.ts +0 -15
- package/dist/runtime/app/components/FormSection/FormSection.theme.d.ts +0 -12
- package/dist/runtime/app/components/FormSection/FormSection.theme.js +0 -14
- package/dist/runtime/app/components/FormSection/FormSection.vue +0 -45
- package/dist/runtime/app/components/FormSection/FormSection.vue.d.ts +0 -15
- package/dist/runtime/app/components/Icon/Icon.d.vue.ts +0 -6
- package/dist/runtime/app/components/Icon/Icon.vue +0 -32
- package/dist/runtime/app/components/Icon/Icon.vue.d.ts +0 -6
- package/dist/runtime/app/components/Navbar/Navbar.d.vue.ts +0 -45
- package/dist/runtime/app/components/Navbar/Navbar.theme.d.ts +0 -31
- package/dist/runtime/app/components/Navbar/Navbar.theme.js +0 -32
- package/dist/runtime/app/components/Navbar/Navbar.vue +0 -47
- package/dist/runtime/app/components/Navbar/Navbar.vue.d.ts +0 -45
- package/dist/runtime/app/components/NavigationList/NavigationList.d.vue.ts +0 -38
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.d.ts +0 -32
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.js +0 -35
- package/dist/runtime/app/components/NavigationList/NavigationList.vue +0 -187
- package/dist/runtime/app/components/NavigationList/NavigationList.vue.d.ts +0 -38
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.d.vue.ts +0 -31
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.d.ts +0 -26
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.js +0 -27
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue +0 -236
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue.d.ts +0 -31
- package/dist/runtime/app/components/NavigationToc/NavigationToc.d.vue.ts +0 -14
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.d.ts +0 -9
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.js +0 -10
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue +0 -81
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue.d.ts +0 -14
- package/dist/runtime/app/components/Page/Page.d.vue.ts +0 -40
- package/dist/runtime/app/components/Page/Page.theme.d.ts +0 -32
- package/dist/runtime/app/components/Page/Page.theme.js +0 -31
- package/dist/runtime/app/components/Page/Page.vue +0 -132
- package/dist/runtime/app/components/Page/Page.vue.d.ts +0 -40
- package/dist/runtime/app/components/Slideover/Slideover.d.vue.ts +0 -43
- package/dist/runtime/app/components/Slideover/Slideover.theme.d.ts +0 -35
- package/dist/runtime/app/components/Slideover/Slideover.theme.js +0 -24
- package/dist/runtime/app/components/Slideover/Slideover.vue +0 -58
- package/dist/runtime/app/components/Slideover/Slideover.vue.d.ts +0 -43
- package/dist/runtime/app/components/State/State.d.vue.ts +0 -14
- package/dist/runtime/app/components/State/State.theme.d.ts +0 -19
- package/dist/runtime/app/components/State/State.theme.js +0 -26
- package/dist/runtime/app/components/State/State.vue +0 -66
- package/dist/runtime/app/components/State/State.vue.d.ts +0 -14
- package/dist/runtime/app/components/Table/Table.theme.d.ts +0 -50
- package/dist/runtime/app/components/Table/Table.theme.js +0 -64
- package/dist/runtime/app/components/Table/internal/CellBadge/CellBadge.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellBadge/CellBadge.vue +0 -26
- package/dist/runtime/app/components/Table/internal/CellBadge/CellBadge.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.d.ts +0 -21
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.js +0 -11
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.vue +0 -32
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.js +0 -4
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.vue +0 -16
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.js +0 -4
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.vue +0 -21
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellImage/CellImage.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellImage/CellImage.vue +0 -24
- package/dist/runtime/app/components/Table/internal/CellImage/CellImage.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.js +0 -4
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.vue +0 -17
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellText/CellText.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.d.ts +0 -13
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.js +0 -11
- package/dist/runtime/app/components/Table/internal/CellText/CellText.vue +0 -16
- package/dist/runtime/app/components/Table/internal/CellText/CellText.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.d.vue.ts +0 -22
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.vue +0 -48
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.vue.d.ts +0 -22
- package/dist/runtime/app/components/Table/internal/column.d.ts +0 -9
- package/dist/runtime/app/components/Table/internal/column.js +0 -5
- package/dist/runtime/app/components/Table/internal/query.d.ts +0 -18
- package/dist/runtime/app/components/Table/internal/query.js +0 -8
- package/dist/runtime/app/components/Table/internal/selection.d.ts +0 -29
- package/dist/runtime/app/components/Table/internal/selection.js +0 -10
- package/dist/runtime/app/components/Table/internal/useVunoTable.d.ts +0 -93
- package/dist/runtime/app/components/Table/internal/useVunoTable.js +0 -153
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.d.ts +0 -21
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.js +0 -29
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.d.vue.ts +0 -41
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.theme.d.ts +0 -50
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.theme.js +0 -38
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.vue +0 -33
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.vue.d.ts +0 -41
- package/dist/runtime/app/components/internal/FieldShell/FieldShell.d.vue.ts +0 -23
- package/dist/runtime/app/components/internal/FieldShell/FieldShell.vue +0 -63
- package/dist/runtime/app/components/internal/FieldShell/FieldShell.vue.d.ts +0 -23
- package/dist/runtime/app/components/internal/Input/Input.d.vue.ts +0 -52
- package/dist/runtime/app/components/internal/Input/Input.theme.d.ts +0 -30
- package/dist/runtime/app/components/internal/Input/Input.theme.js +0 -21
- package/dist/runtime/app/components/internal/Input/Input.vue +0 -66
- package/dist/runtime/app/components/internal/Input/Input.vue.d.ts +0 -52
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.d.vue.ts +0 -36
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.theme.d.ts +0 -31
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.theme.js +0 -26
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.vue +0 -221
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.vue.d.ts +0 -36
- package/dist/runtime/app/composables/defineShortcuts.d.ts +0 -19
- package/dist/runtime/app/composables/defineShortcuts.js +0 -68
- package/dist/runtime/app/composables/internal/useVunoAnchor.d.ts +0 -45
- package/dist/runtime/app/composables/internal/useVunoAnchor.js +0 -35
- package/dist/runtime/app/composables/internal/useVunoControlGroup.d.ts +0 -17
- package/dist/runtime/app/composables/internal/useVunoControlGroup.js +0 -18
- package/dist/runtime/app/composables/internal/useVunoPortal.d.ts +0 -18
- package/dist/runtime/app/composables/internal/useVunoPortal.js +0 -12
- package/dist/runtime/app/composables/useConfirm.d.ts +0 -15
- package/dist/runtime/app/composables/useConfirm.js +0 -5
- package/dist/runtime/app/composables/useContext.d.ts +0 -11
- package/dist/runtime/app/composables/useContext.js +0 -9
- package/dist/runtime/app/composables/useCrud.d.ts +0 -23
- package/dist/runtime/app/composables/useCrud.js +0 -153
- package/dist/runtime/app/composables/useField.d.ts +0 -10
- package/dist/runtime/app/composables/useField.js +0 -42
- package/dist/runtime/app/composables/useForm.d.ts +0 -5
- package/dist/runtime/app/composables/useForm.js +0 -9
- package/dist/runtime/app/composables/useModal.d.ts +0 -21
- package/dist/runtime/app/composables/useModal.js +0 -24
- package/dist/runtime/app/composables/useOverlay.d.ts +0 -22
- package/dist/runtime/app/composables/useOverlay.js +0 -10
- package/dist/runtime/app/composables/useTableQuery.d.ts +0 -10
- package/dist/runtime/app/composables/useTableQuery.js +0 -126
- package/dist/runtime/app/composables/useToast.d.ts +0 -28
- package/dist/runtime/app/composables/useToast.js +0 -13
- package/dist/runtime/app/internal/keys.d.ts +0 -43
- package/dist/runtime/app/internal/keys.js +0 -8
- package/dist/runtime/app/internal/slots.d.ts +0 -22
- package/dist/runtime/app/plugins/vue-query.d.ts +0 -8
- package/dist/runtime/app/plugins/vue-query.js +0 -13
- package/dist/runtime/app/types/alert.d.ts +0 -13
- package/dist/runtime/app/types/app.d.ts +0 -83
- package/dist/runtime/app/types/confirm.d.ts +0 -19
- package/dist/runtime/app/types/crud.d.ts +0 -108
- package/dist/runtime/app/types/field-type.d.ts +0 -4
- package/dist/runtime/app/types/field.d.ts +0 -233
- package/dist/runtime/app/types/page.d.ts +0 -61
- package/dist/runtime/app/types/responsive.d.ts +0 -8
- package/dist/runtime/app/types/shortcuts.d.ts +0 -44
- package/dist/runtime/app/types/state.d.ts +0 -35
- package/dist/runtime/app/types/table.d.ts +0 -287
- package/dist/runtime/app/utils/query-key.d.ts +0 -20
- package/dist/runtime/app/utils/query-key.js +0 -7
- /package/dist/runtime/app/{types/alert.js → components/AILabel/AILabel.types.js} +0 -0
- /package/dist/runtime/app/{types/app.js → components/Accordion/Accordion.types.js} +0 -0
- /package/dist/runtime/app/{types/confirm.js → components/AccordionItem/AccordionItem.types.js} +0 -0
- /package/dist/runtime/app/{types/crud.js → components/ActionableNotification/ActionableNotification.types.js} +0 -0
- /package/dist/runtime/app/{types/field-type.js → components/Breadcrumb/Breadcrumb.types.js} +0 -0
- /package/dist/runtime/app/{types/field.js → components/BreadcrumbItem/BreadcrumbItem.types.js} +0 -0
- /package/dist/runtime/app/{types/page.js → components/Button/Button.types.js} +0 -0
- /package/dist/runtime/app/{types/responsive.js → components/ButtonSet/ButtonSet.types.js} +0 -0
- /package/dist/runtime/app/{types/shortcuts.js → components/Callout/Callout.types.js} +0 -0
- /package/dist/runtime/app/{types/state.js → components/Checkbox/Checkbox.types.js} +0 -0
- /package/dist/runtime/app/{types/table.js → components/CheckboxGroup/CheckboxGroup.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSelect/internal/Select → Dropdown}/option.js +0 -0
- /package/dist/runtime/app/{components/internal/NumberInput → primitives/PrimitiveNumberInput}/number.d.ts +0 -0
- /package/dist/runtime/app/{components/internal/NumberInput → primitives/PrimitiveNumberInput}/number.js +0 -0
- /package/dist/runtime/app/{internal → utils}/slots.js +0 -0
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { computed, nextTick, ref } from "vue";
|
|
2
|
+
import { fromOptionKey, toOptionKey } from "#vuno/components/Dropdown/option";
|
|
3
|
+
export function useComboBoxState(options) {
|
|
4
|
+
const open = ref(false);
|
|
5
|
+
const highlighted = ref(-1);
|
|
6
|
+
const query = ref("");
|
|
7
|
+
const typing = ref(false);
|
|
8
|
+
const suggestion = ref("");
|
|
9
|
+
const selectedKey = computed(() => options.model.value === void 0 ? void 0 : toOptionKey(options.model.value));
|
|
10
|
+
const selectedLabel = computed(() => {
|
|
11
|
+
const key = selectedKey.value;
|
|
12
|
+
if (key === void 0) return "";
|
|
13
|
+
return options.items().find((item) => toOptionKey(item.value) === key)?.label ?? fromOptionKey(key);
|
|
14
|
+
});
|
|
15
|
+
const text = computed(() => typing.value ? query.value : selectedLabel.value);
|
|
16
|
+
const visibleItems = computed(() => {
|
|
17
|
+
const needle = typing.value ? query.value.trim() : "";
|
|
18
|
+
if (needle === "") return options.items();
|
|
19
|
+
if (options.typeahead()) return options.items().filter((item) => normalize(item.label).startsWith(normalize(needle)));
|
|
20
|
+
const filter = options.filter() ?? defaultFilter;
|
|
21
|
+
return options.items().filter((item) => filter(item, needle));
|
|
22
|
+
});
|
|
23
|
+
const selectableIndexes = computed(() => visibleItems.value.map((item, index) => item.disabled ? -1 : index).filter((index) => index >= 0));
|
|
24
|
+
const activeKey = computed(() => {
|
|
25
|
+
const item = visibleItems.value[highlighted.value];
|
|
26
|
+
return item ? toOptionKey(item.value) : void 0;
|
|
27
|
+
});
|
|
28
|
+
const clearable = computed(() => text.value !== "");
|
|
29
|
+
const isSelected = (item) => selectedKey.value !== void 0 && toOptionKey(item.value) === selectedKey.value;
|
|
30
|
+
function scrollHighlightIntoView() {
|
|
31
|
+
void nextTick(() => {
|
|
32
|
+
const key = activeKey.value;
|
|
33
|
+
if (!key) return;
|
|
34
|
+
options.list()?.querySelector(`#${CSS.escape(options.optionId(key))}`)?.scrollIntoView({ block: "nearest" });
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function moveHighlight(step) {
|
|
38
|
+
const candidates = selectableIndexes.value;
|
|
39
|
+
if (candidates.length === 0) return;
|
|
40
|
+
const current = candidates.indexOf(highlighted.value);
|
|
41
|
+
const entry = step === 1 ? 0 : candidates.length - 1;
|
|
42
|
+
const next = current === -1 ? entry : (current + step + candidates.length) % candidates.length;
|
|
43
|
+
highlighted.value = candidates[next] ?? -1;
|
|
44
|
+
scrollHighlightIntoView();
|
|
45
|
+
}
|
|
46
|
+
function highlightEdge(edge) {
|
|
47
|
+
const candidates = selectableIndexes.value;
|
|
48
|
+
highlighted.value = (edge === "first" ? candidates[0] : candidates[candidates.length - 1]) ?? -1;
|
|
49
|
+
scrollHighlightIntoView();
|
|
50
|
+
}
|
|
51
|
+
function revert() {
|
|
52
|
+
typing.value = false;
|
|
53
|
+
query.value = "";
|
|
54
|
+
suggestion.value = "";
|
|
55
|
+
highlighted.value = -1;
|
|
56
|
+
}
|
|
57
|
+
function close(refocus = false) {
|
|
58
|
+
if (!open.value) return;
|
|
59
|
+
open.value = false;
|
|
60
|
+
highlighted.value = -1;
|
|
61
|
+
if (refocus) options.input()?.focus();
|
|
62
|
+
}
|
|
63
|
+
function openList(edge) {
|
|
64
|
+
if (options.disabled() || options.readonly() || open.value) return;
|
|
65
|
+
open.value = true;
|
|
66
|
+
if (edge) highlightEdge(edge);
|
|
67
|
+
else highlighted.value = visibleItems.value.findIndex(isSelected);
|
|
68
|
+
void nextTick(scrollHighlightIntoView);
|
|
69
|
+
}
|
|
70
|
+
function choose(item) {
|
|
71
|
+
if (item.disabled) return;
|
|
72
|
+
options.model.value = item.value;
|
|
73
|
+
revert();
|
|
74
|
+
close();
|
|
75
|
+
}
|
|
76
|
+
function clear() {
|
|
77
|
+
options.model.value = void 0;
|
|
78
|
+
revert();
|
|
79
|
+
options.onQuery("");
|
|
80
|
+
options.input()?.focus();
|
|
81
|
+
}
|
|
82
|
+
function toggle() {
|
|
83
|
+
if (options.disabled() || options.readonly()) return;
|
|
84
|
+
if (open.value) close(true);
|
|
85
|
+
else {
|
|
86
|
+
options.input()?.focus();
|
|
87
|
+
openList();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function commit() {
|
|
91
|
+
if (!typing.value) return;
|
|
92
|
+
const typed = query.value.trim();
|
|
93
|
+
if (typed === "") {
|
|
94
|
+
options.model.value = void 0;
|
|
95
|
+
revert();
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
const match = options.items().find((item) => !item.disabled && normalize(item.label) === normalize(typed));
|
|
99
|
+
if (match) options.model.value = match.value;
|
|
100
|
+
else if (options.allowCustomValue()) options.model.value = typed;
|
|
101
|
+
revert();
|
|
102
|
+
}
|
|
103
|
+
function suggest(deleting) {
|
|
104
|
+
suggestion.value = "";
|
|
105
|
+
if (!options.typeahead() || deleting || query.value === "") return;
|
|
106
|
+
const match = visibleItems.value.find((item) => !item.disabled);
|
|
107
|
+
if (!match || match.label.length <= query.value.length) return;
|
|
108
|
+
suggestion.value = match.label;
|
|
109
|
+
void nextTick(() => {
|
|
110
|
+
const element = options.input();
|
|
111
|
+
if (!element || suggestion.value !== match.label) return;
|
|
112
|
+
element.value = match.label;
|
|
113
|
+
element.setSelectionRange(query.value.length, match.label.length);
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
function acceptSuggestion() {
|
|
117
|
+
const proposed = suggestion.value;
|
|
118
|
+
if (!proposed) return false;
|
|
119
|
+
const match = options.items().find((item) => item.label === proposed);
|
|
120
|
+
if (!match) return false;
|
|
121
|
+
choose(match);
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
function onInput(event) {
|
|
125
|
+
const element = event.target;
|
|
126
|
+
typing.value = true;
|
|
127
|
+
query.value = element.value;
|
|
128
|
+
options.onQuery(element.value);
|
|
129
|
+
if (!open.value) openList();
|
|
130
|
+
highlighted.value = selectableIndexes.value[0] ?? -1;
|
|
131
|
+
suggest(event.inputType?.startsWith("delete") ?? false);
|
|
132
|
+
}
|
|
133
|
+
function onAltKey(event) {
|
|
134
|
+
if (!event.altKey) return false;
|
|
135
|
+
if (event.key === "ArrowDown") {
|
|
136
|
+
event.preventDefault();
|
|
137
|
+
openList();
|
|
138
|
+
return true;
|
|
139
|
+
}
|
|
140
|
+
if (event.key === "ArrowUp") {
|
|
141
|
+
event.preventDefault();
|
|
142
|
+
close();
|
|
143
|
+
return true;
|
|
144
|
+
}
|
|
145
|
+
return false;
|
|
146
|
+
}
|
|
147
|
+
function onNavigationKey(event) {
|
|
148
|
+
if (event.key !== "ArrowDown" && event.key !== "ArrowUp") return false;
|
|
149
|
+
event.preventDefault();
|
|
150
|
+
if (open.value) moveHighlight(event.key === "ArrowDown" ? 1 : -1);
|
|
151
|
+
else openList(event.key === "ArrowDown" ? "first" : "last");
|
|
152
|
+
return true;
|
|
153
|
+
}
|
|
154
|
+
function onEnterKey(event) {
|
|
155
|
+
event.preventDefault();
|
|
156
|
+
const item = open.value ? visibleItems.value[highlighted.value] : void 0;
|
|
157
|
+
if (item) {
|
|
158
|
+
choose(item);
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
if (!open.value && !typing.value) {
|
|
162
|
+
openList();
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
commit();
|
|
166
|
+
close();
|
|
167
|
+
}
|
|
168
|
+
function onKeydown(event) {
|
|
169
|
+
if (options.disabled()) return;
|
|
170
|
+
if (options.readonly()) {
|
|
171
|
+
if (event.key !== "Tab") event.preventDefault();
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
if (onAltKey(event)) return;
|
|
175
|
+
if (onNavigationKey(event)) return;
|
|
176
|
+
if (event.key === "Enter") {
|
|
177
|
+
onEnterKey(event);
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
if (event.key === "Escape") {
|
|
181
|
+
event.preventDefault();
|
|
182
|
+
if (open.value) close(true);
|
|
183
|
+
else revert();
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
if (event.key === "Tab") {
|
|
187
|
+
if (acceptSuggestion()) return;
|
|
188
|
+
commit();
|
|
189
|
+
close();
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
function onFocusout(event, root) {
|
|
193
|
+
const next = event.relatedTarget;
|
|
194
|
+
if (next && (root?.contains(next) || options.list()?.contains(next))) return;
|
|
195
|
+
commit();
|
|
196
|
+
close();
|
|
197
|
+
}
|
|
198
|
+
return { onFocusout, onInput, onKeydown, activeKey, choose, clear, clearable, close, highlighted, isSelected, open, text, toggle, visibleItems };
|
|
199
|
+
}
|
|
200
|
+
function normalize(value) {
|
|
201
|
+
return value.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
|
|
202
|
+
}
|
|
203
|
+
function defaultFilter(item, query) {
|
|
204
|
+
return normalize(item.label).includes(normalize(query));
|
|
205
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ComboButtonProps } from './ComboButton.types.js';
|
|
2
|
+
type __VLS_Props = ComboButtonProps;
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
default?: () => unknown;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
'open'?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:open": (value: boolean) => any;
|
|
12
|
+
click: (event: MouseEvent) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
size: import("../MenuButton/MenuButton.types.js").MenuButtonSize;
|
|
19
|
+
ui: import("../../types/slots.js").ComponentUi<"menu">;
|
|
20
|
+
iconDescription: string;
|
|
21
|
+
portal: import("#vuno/types/base").PortalTarget;
|
|
22
|
+
menuAlignment: import("../MenuButton/MenuButton.types.js").MenuAlignment;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { PortalTarget } from '#vuno/types/base';
|
|
2
|
+
import type { ComponentUi } from '#vuno/types/slots';
|
|
3
|
+
import type { MenuAlignment, MenuButtonSize } from '#vuno/components/MenuButton/MenuButton.types';
|
|
4
|
+
export type ComboButtonProps = {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Nombre accesible del disparador del menú.
|
|
8
|
+
*
|
|
9
|
+
* Es el nombre que el sistema de origen resuelve con
|
|
10
|
+
* `translateWithId('combo-button.additional-actions')`: el caret no tiene
|
|
11
|
+
* texto visible y sin nombre no se puede anunciar ni distinguir de la
|
|
12
|
+
* acción principal. También nombra el panel.
|
|
13
|
+
*/
|
|
14
|
+
iconDescription?: string;
|
|
15
|
+
/** La acción por defecto, la más probable. Es la única visible. */
|
|
16
|
+
label: string;
|
|
17
|
+
menuAlignment?: MenuAlignment;
|
|
18
|
+
portal?: PortalTarget;
|
|
19
|
+
/** El tamaño manda a la vez sobre los dos botones y sobre las filas del menú. */
|
|
20
|
+
size?: MenuButtonSize;
|
|
21
|
+
ui?: ComponentUi<'menu'>;
|
|
22
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, ref } from "vue";
|
|
3
|
+
import Button from "#vuno/components/Button/Button.vue";
|
|
4
|
+
import Menu from "#vuno/components/Menu/Menu.vue";
|
|
5
|
+
import { useMenuWidth } from "#vuno/components/MenuButton/useMenuWidth";
|
|
6
|
+
defineOptions({ name: "ComboButton" });
|
|
7
|
+
const open = defineModel("open", { type: Boolean, ...{ default: false } });
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
disabled: { type: Boolean, required: false, default: false },
|
|
10
|
+
iconDescription: { type: String, required: false, default: "M\xE1s acciones" },
|
|
11
|
+
label: { type: String, required: true },
|
|
12
|
+
menuAlignment: { type: String, required: false, default: "bottom" },
|
|
13
|
+
portal: { type: [String, Boolean], required: false, default: void 0 },
|
|
14
|
+
size: { type: String, required: false, default: "lg" },
|
|
15
|
+
ui: { type: Object, required: false, default: void 0 }
|
|
16
|
+
});
|
|
17
|
+
const emit = defineEmits(["click"]);
|
|
18
|
+
defineSlots();
|
|
19
|
+
const root = ref(null);
|
|
20
|
+
const centered = computed(() => props.menuAlignment === "bottom" || props.menuAlignment === "top");
|
|
21
|
+
useMenuWidth({
|
|
22
|
+
enabled: () => centered.value,
|
|
23
|
+
measure: () => root.value,
|
|
24
|
+
open: () => open.value,
|
|
25
|
+
trigger: () => root.value?.querySelector('[aria-haspopup="menu"]') ?? null
|
|
26
|
+
});
|
|
27
|
+
const placement = computed(() => props.menuAlignment === "bottom" ? "bottom-end" : props.menuAlignment === "top" ? "top-end" : props.menuAlignment);
|
|
28
|
+
const primaryWidth = { xs: "", sm: "min-w-[127px]", md: "min-w-[119px]", lg: "min-w-[111px]" };
|
|
29
|
+
const primaryUi = {
|
|
30
|
+
/* Vuno: la acción principal ocupa su hueco y se recorta entre 111 y 239 px. */
|
|
31
|
+
base: "w-full max-w-[239px] min-w-[111px]",
|
|
32
|
+
/** La etiqueta larga se recorta con puntos suspensivos; el `title` la completa. */
|
|
33
|
+
label: "block overflow-hidden text-ellipsis whitespace-nowrap"
|
|
34
|
+
};
|
|
35
|
+
const triggerUi = computed(() => ({
|
|
36
|
+
icon: ["transition-transform duration-(--vuno-duration-fast-02) ease-(--vuno-easing-standard-productive) motion-reduce:transition-none", open.value ? "rotate-180" : ""]
|
|
37
|
+
}));
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<template>
|
|
41
|
+
<!-- La costura de 1 px deja ver el fondo entre los dos controles: son dos, no uno. -->
|
|
42
|
+
<div
|
|
43
|
+
ref="root"
|
|
44
|
+
class="inline-flex gap-px"
|
|
45
|
+
>
|
|
46
|
+
<div :class="primaryWidth[props.size]">
|
|
47
|
+
<Button
|
|
48
|
+
:disabled="props.disabled"
|
|
49
|
+
:label="props.label"
|
|
50
|
+
:size="props.size"
|
|
51
|
+
:title="props.label"
|
|
52
|
+
:ui="primaryUi"
|
|
53
|
+
@click="emit('click', $event)"
|
|
54
|
+
/>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<Menu
|
|
58
|
+
v-model:open="open"
|
|
59
|
+
:placement="placement"
|
|
60
|
+
:portal="props.portal"
|
|
61
|
+
:size="props.size"
|
|
62
|
+
:ui="props.ui"
|
|
63
|
+
>
|
|
64
|
+
<template #trigger>
|
|
65
|
+
<Button
|
|
66
|
+
:disabled="props.disabled"
|
|
67
|
+
icon="carbon:chevron-down"
|
|
68
|
+
:iconDescription="props.iconDescription"
|
|
69
|
+
kind="primary"
|
|
70
|
+
:size="props.size"
|
|
71
|
+
:ui="triggerUi"
|
|
72
|
+
/>
|
|
73
|
+
</template>
|
|
74
|
+
|
|
75
|
+
<slot />
|
|
76
|
+
</Menu>
|
|
77
|
+
</div>
|
|
78
|
+
</template>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ComboButtonProps } from './ComboButton.types.js';
|
|
2
|
+
type __VLS_Props = ComboButtonProps;
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
default?: () => unknown;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
'open'?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:open": (value: boolean) => any;
|
|
12
|
+
click: (event: MouseEvent) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
size: import("../MenuButton/MenuButton.types.js").MenuButtonSize;
|
|
19
|
+
ui: import("../../types/slots.js").ComponentUi<"menu">;
|
|
20
|
+
iconDescription: string;
|
|
21
|
+
portal: import("#vuno/types/base").PortalTarget;
|
|
22
|
+
menuAlignment: import("../MenuButton/MenuButton.types.js").MenuAlignment;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import type { ContainedListKind, ContainedListSize } from './ContainedList.types.js';
|
|
3
|
+
/**
|
|
4
|
+
* Lo que la lista decide y cada fila necesita para pintarse. En Vuno estas
|
|
5
|
+
* tres decisiones viven en clases del contenedor y bajan por selectores de
|
|
6
|
+
* descendencia; aquí cada `ContainedListItem` resuelve su propio tema, así que
|
|
7
|
+
* las recibe.
|
|
8
|
+
*/
|
|
9
|
+
export type ContainedListContext = {
|
|
10
|
+
inset: Ref<boolean>;
|
|
11
|
+
kind: Ref<ContainedListKind>;
|
|
12
|
+
size: Ref<ContainedListSize>;
|
|
13
|
+
};
|
|
14
|
+
export declare const containedListKey: InjectionKey<ContainedListContext>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const containedListKey = Symbol("contained-list");
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ContainedListProps } from './ContainedList.types.js';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
action?: () => unknown;
|
|
4
|
+
default?: () => unknown;
|
|
5
|
+
label?: () => unknown;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<ContainedListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContainedListProps> & Readonly<{}>, {
|
|
8
|
+
size: import("./ContainedList.types.js").ContainedListSize;
|
|
9
|
+
kind: import("./ContainedList.types.js").ContainedListKind;
|
|
10
|
+
label: string;
|
|
11
|
+
ui: import("../../types/slots.js").ComponentUi<"containedList">;
|
|
12
|
+
isInset: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export declare const containedListTheme: Record<"containedList", {
|
|
2
|
+
readonly compoundVariants: [{
|
|
3
|
+
readonly class: {
|
|
4
|
+
readonly header: "h-8";
|
|
5
|
+
};
|
|
6
|
+
readonly kind: "on-page";
|
|
7
|
+
readonly size: "sm";
|
|
8
|
+
}, {
|
|
9
|
+
readonly class: {
|
|
10
|
+
readonly header: "h-10";
|
|
11
|
+
};
|
|
12
|
+
readonly kind: "on-page";
|
|
13
|
+
readonly size: "md";
|
|
14
|
+
}, {
|
|
15
|
+
readonly class: {
|
|
16
|
+
readonly header: "h-12";
|
|
17
|
+
};
|
|
18
|
+
readonly kind: "on-page";
|
|
19
|
+
readonly size: "lg";
|
|
20
|
+
}, {
|
|
21
|
+
readonly class: {
|
|
22
|
+
readonly header: "h-16";
|
|
23
|
+
};
|
|
24
|
+
readonly kind: "on-page";
|
|
25
|
+
readonly size: "xl";
|
|
26
|
+
}, {
|
|
27
|
+
readonly class: {
|
|
28
|
+
readonly content: "hover:bg-(--vuno-layer-hover-01) active:bg-(--vuno-layer-active-01)";
|
|
29
|
+
};
|
|
30
|
+
readonly clickable: "true";
|
|
31
|
+
readonly disabled: "false";
|
|
32
|
+
}, {
|
|
33
|
+
readonly class: {
|
|
34
|
+
readonly content: "cursor-not-allowed text-(--vuno-text-disabled)";
|
|
35
|
+
};
|
|
36
|
+
readonly clickable: "true";
|
|
37
|
+
readonly disabled: "true";
|
|
38
|
+
}];
|
|
39
|
+
readonly slots: {
|
|
40
|
+
readonly action: "pointer-events-none absolute inset-x-0 top-0 flex justify-end [&>*]:pointer-events-auto";
|
|
41
|
+
readonly content: "box-border block w-full px-4 text-sm leading-5 font-normal tracking-[0.16px] text-(--vuno-text-primary)";
|
|
42
|
+
readonly header: "sticky top-0 z-1 box-border flex items-center px-4";
|
|
43
|
+
readonly icon: "mt-0.5 size-4 shrink-0";
|
|
44
|
+
readonly item: "relative m-0 list-item list-none before:absolute before:bottom-0 before:h-px before:bg-(--vuno-border-subtle-00) before:content-[''] last-of-type:before:hidden forced-colors:before:pointer-events-none forced-colors:before:z-1 forced-colors:before:bg-[CanvasText] [&:not(:first-of-type)]:-mt-px";
|
|
45
|
+
readonly label: "w-full";
|
|
46
|
+
readonly list: "m-0 list-none p-0";
|
|
47
|
+
readonly root: "w-full";
|
|
48
|
+
readonly text: "min-w-0";
|
|
49
|
+
};
|
|
50
|
+
readonly variants: {
|
|
51
|
+
readonly clickable: {
|
|
52
|
+
readonly false: {};
|
|
53
|
+
readonly true: {
|
|
54
|
+
readonly content: "m-0 cursor-pointer appearance-none border-0 bg-transparent text-start font-sans no-underline transition-colors duration-(--vuno-duration-moderate-01) ease-(--vuno-easing-standard-productive) focus:outline-none focus:after:absolute focus:after:inset-0 focus:after:outline-solid focus:after:outline-2 focus:after:-outline-offset-2 focus:after:outline-(--vuno-focus) focus:after:content-[''] motion-reduce:transition-none";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
readonly disabled: {
|
|
58
|
+
readonly false: {};
|
|
59
|
+
readonly true: {};
|
|
60
|
+
};
|
|
61
|
+
readonly inset: {
|
|
62
|
+
readonly false: {
|
|
63
|
+
readonly item: "before:inset-x-0";
|
|
64
|
+
};
|
|
65
|
+
readonly true: {
|
|
66
|
+
readonly item: "before:inset-x-4";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
readonly kind: {
|
|
70
|
+
readonly disclosed: {
|
|
71
|
+
readonly header: "h-8 bg-(--vuno-layer-01) text-xs leading-4 font-normal tracking-[0.32px] text-(--vuno-text-secondary)";
|
|
72
|
+
};
|
|
73
|
+
readonly 'on-page': {
|
|
74
|
+
readonly header: "border-b border-(--vuno-border-subtle-00) bg-(--vuno-layer-background-01) text-sm leading-[1.125rem] font-semibold tracking-[0.16px] text-(--vuno-text-primary)";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
readonly size: {
|
|
78
|
+
readonly sm: {
|
|
79
|
+
readonly content: "min-h-8 py-1.5";
|
|
80
|
+
};
|
|
81
|
+
readonly md: {
|
|
82
|
+
readonly content: "min-h-10 py-2.5";
|
|
83
|
+
};
|
|
84
|
+
readonly lg: {
|
|
85
|
+
readonly content: "min-h-12 py-3.5";
|
|
86
|
+
};
|
|
87
|
+
readonly xl: {
|
|
88
|
+
readonly content: "min-h-16 py-5.5";
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
readonly withAction: {
|
|
92
|
+
readonly false: {};
|
|
93
|
+
readonly true: {
|
|
94
|
+
readonly content: "pe-16";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
readonly withIcon: {
|
|
98
|
+
readonly false: {};
|
|
99
|
+
readonly true: {
|
|
100
|
+
readonly content: "grid grid-cols-[1rem_1fr] gap-x-3";
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { defineTheme } from "#vuno/utils/theme";
|
|
2
|
+
export const containedListTheme = defineTheme("containedList", {
|
|
3
|
+
compoundVariants: [
|
|
4
|
+
/* Solo `on-page` iguala la altura de la cabecera a la de sus filas; `disclosed` mide siempre 32 px. */
|
|
5
|
+
{ class: { header: "h-8" }, kind: "on-page", size: "sm" },
|
|
6
|
+
{ class: { header: "h-10" }, kind: "on-page", size: "md" },
|
|
7
|
+
{ class: { header: "h-12" }, kind: "on-page", size: "lg" },
|
|
8
|
+
{ class: { header: "h-16" }, kind: "on-page", size: "xl" },
|
|
9
|
+
/* Vuno solo tiñe de estado la fila que de verdad se puede activar. */
|
|
10
|
+
{ class: { content: "hover:bg-(--vuno-layer-hover-01) active:bg-(--vuno-layer-active-01)" }, clickable: "true", disabled: "false" },
|
|
11
|
+
{ class: { content: "cursor-not-allowed text-(--vuno-text-disabled)" }, clickable: "true", disabled: "true" }
|
|
12
|
+
],
|
|
13
|
+
slots: {
|
|
14
|
+
action: "pointer-events-none absolute inset-x-0 top-0 flex justify-end [&>*]:pointer-events-auto",
|
|
15
|
+
content: "box-border block w-full px-4 text-sm leading-5 font-normal tracking-[0.16px] text-(--vuno-text-primary)",
|
|
16
|
+
header: "sticky top-0 z-1 box-border flex items-center px-4",
|
|
17
|
+
icon: "mt-0.5 size-4 shrink-0",
|
|
18
|
+
item: "relative m-0 list-item list-none before:absolute before:bottom-0 before:h-px before:bg-(--vuno-border-subtle-00) before:content-[''] last-of-type:before:hidden forced-colors:before:pointer-events-none forced-colors:before:z-1 forced-colors:before:bg-[CanvasText] [&:not(:first-of-type)]:-mt-px",
|
|
19
|
+
label: "w-full",
|
|
20
|
+
list: "m-0 list-none p-0",
|
|
21
|
+
root: "w-full",
|
|
22
|
+
text: "min-w-0"
|
|
23
|
+
},
|
|
24
|
+
variants: {
|
|
25
|
+
clickable: {
|
|
26
|
+
false: {},
|
|
27
|
+
true: { content: "m-0 cursor-pointer appearance-none border-0 bg-transparent text-start font-sans no-underline transition-colors duration-(--vuno-duration-moderate-01) ease-(--vuno-easing-standard-productive) focus:outline-none focus:after:absolute focus:after:inset-0 focus:after:outline-solid focus:after:outline-2 focus:after:-outline-offset-2 focus:after:outline-(--vuno-focus) focus:after:content-[''] motion-reduce:transition-none" }
|
|
28
|
+
},
|
|
29
|
+
disabled: { false: {}, true: {} },
|
|
30
|
+
inset: {
|
|
31
|
+
false: { item: "before:inset-x-0" },
|
|
32
|
+
true: { item: "before:inset-x-4" }
|
|
33
|
+
},
|
|
34
|
+
kind: {
|
|
35
|
+
disclosed: { header: "h-8 bg-(--vuno-layer-01) text-xs leading-4 font-normal tracking-[0.32px] text-(--vuno-text-secondary)" },
|
|
36
|
+
"on-page": { header: "border-b border-(--vuno-border-subtle-00) bg-(--vuno-layer-background-01) text-sm leading-[1.125rem] font-semibold tracking-[0.16px] text-(--vuno-text-primary)" }
|
|
37
|
+
},
|
|
38
|
+
size: {
|
|
39
|
+
sm: { content: "min-h-8 py-1.5" },
|
|
40
|
+
md: { content: "min-h-10 py-2.5" },
|
|
41
|
+
lg: { content: "min-h-12 py-3.5" },
|
|
42
|
+
xl: { content: "min-h-16 py-5.5" }
|
|
43
|
+
},
|
|
44
|
+
/* La acción flota sobre el final de la fila: el texto se aparta 64 px para no pasar por debajo. */
|
|
45
|
+
withAction: { false: {}, true: { content: "pe-16" } },
|
|
46
|
+
withIcon: { false: {}, true: { content: "grid grid-cols-[1rem_1fr] gap-x-3" } }
|
|
47
|
+
}
|
|
48
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ComponentUi } from '#vuno/types/slots';
|
|
2
|
+
export type ContainedListKind = 'disclosed' | 'on-page';
|
|
3
|
+
export type ContainedListSize = 'lg' | 'md' | 'sm' | 'xl';
|
|
4
|
+
export type ContainedListProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Sangra las líneas divisorias 16 px por cada lado en lugar de trazarlas de
|
|
7
|
+
* borde a borde. Vuno lo reserva para listas que conviven con otros
|
|
8
|
+
* componentes con divisorias, donde las líneas completas chocan entre sí.
|
|
9
|
+
*/
|
|
10
|
+
isInset?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* `on-page` para una lista permanente de la página —tarjeta, barra
|
|
13
|
+
* lateral—; `disclosed` para una lista dentro de un contexto temporal
|
|
14
|
+
* —popover, capa— que ya aporta su propio borde o sombra.
|
|
15
|
+
*/
|
|
16
|
+
kind?: ContainedListKind;
|
|
17
|
+
/** Nombre del grupo de filas; el slot `label` lo sustituye por contenido. */
|
|
18
|
+
label?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Altura de fila: 32, 40, 48 o 64 px. En `on-page` la cabecera adopta la
|
|
21
|
+
* misma altura; en `disclosed` siempre mide 32 px.
|
|
22
|
+
*/
|
|
23
|
+
size?: ContainedListSize;
|
|
24
|
+
ui?: ComponentUi<'containedList'>;
|
|
25
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, provide, toRef, useId } from "vue";
|
|
3
|
+
import { useTheme } from "#vuno/composables/useTheme";
|
|
4
|
+
import { filled } from "#vuno/utils/slots";
|
|
5
|
+
import { containedListKey } from "./ContainedList.context";
|
|
6
|
+
defineOptions({ name: "ContainedList" });
|
|
7
|
+
const props = defineProps({
|
|
8
|
+
isInset: { type: Boolean, required: false, default: false },
|
|
9
|
+
kind: { type: String, required: false, default: "on-page" },
|
|
10
|
+
label: { type: String, required: false, default: void 0 },
|
|
11
|
+
size: { type: String, required: false, default: "lg" },
|
|
12
|
+
ui: { type: Object, required: false, default: void 0 }
|
|
13
|
+
});
|
|
14
|
+
const slots = defineSlots();
|
|
15
|
+
const labelId = useId();
|
|
16
|
+
const hasLabel = computed(() => Boolean(props.label) || filled(slots.label));
|
|
17
|
+
const hasAction = computed(() => filled(slots.action));
|
|
18
|
+
const hasItems = computed(() => filled(slots.default));
|
|
19
|
+
provide(containedListKey, { inset: toRef(props, "isInset"), kind: toRef(props, "kind"), size: toRef(props, "size") });
|
|
20
|
+
const ui = useTheme(
|
|
21
|
+
"containedList",
|
|
22
|
+
() => props.ui,
|
|
23
|
+
() => ({ inset: String(props.isInset), kind: props.kind, size: props.size })
|
|
24
|
+
);
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<template>
|
|
28
|
+
<div :class="ui.root">
|
|
29
|
+
<div
|
|
30
|
+
v-if="hasLabel"
|
|
31
|
+
:class="ui.header"
|
|
32
|
+
>
|
|
33
|
+
<div
|
|
34
|
+
:id="labelId"
|
|
35
|
+
:class="ui.label"
|
|
36
|
+
>
|
|
37
|
+
<slot name="label">{{ props.label }}</slot>
|
|
38
|
+
</div>
|
|
39
|
+
<div
|
|
40
|
+
v-if="hasAction"
|
|
41
|
+
:class="ui.action"
|
|
42
|
+
>
|
|
43
|
+
<slot name="action" />
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<ul
|
|
47
|
+
v-if="hasItems"
|
|
48
|
+
:aria-labelledby="hasLabel ? labelId : void 0"
|
|
49
|
+
:class="ui.list"
|
|
50
|
+
role="list"
|
|
51
|
+
>
|
|
52
|
+
<slot />
|
|
53
|
+
</ul>
|
|
54
|
+
</div>
|
|
55
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ContainedListProps } from './ContainedList.types.js';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
action?: () => unknown;
|
|
4
|
+
default?: () => unknown;
|
|
5
|
+
label?: () => unknown;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<ContainedListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContainedListProps> & Readonly<{}>, {
|
|
8
|
+
size: import("./ContainedList.types.js").ContainedListSize;
|
|
9
|
+
kind: import("./ContainedList.types.js").ContainedListKind;
|
|
10
|
+
label: string;
|
|
11
|
+
ui: import("../../types/slots.js").ComponentUi<"containedList">;
|
|
12
|
+
isInset: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|