@groupteknology/vuno 3.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 -629
- package/dist/module.d.mts +0 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +20 -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 +16 -4
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.d.ts +26 -9
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.js +29 -9
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.types.d.ts +11 -6
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue +15 -94
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue.d.ts +16 -4
- 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 +10 -12
- package/dist/runtime/app/components/Button/Button.theme.d.ts +170 -77
- package/dist/runtime/app/components/Button/Button.theme.js +81 -54
- package/dist/runtime/app/components/Button/Button.types.d.ts +31 -12
- package/dist/runtime/app/components/Button/Button.vue +75 -80
- package/dist/runtime/app/components/Button/Button.vue.d.ts +10 -12
- 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.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.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.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.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.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.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.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.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.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 +48 -61
- package/dist/runtime/app/components/DataTable/DataTable.theme.d.ts +176 -13
- package/dist/runtime/app/components/DataTable/DataTable.theme.js +170 -14
- package/dist/runtime/app/components/DataTable/DataTable.types.d.ts +153 -12
- package/dist/runtime/app/components/DataTable/DataTable.vue +187 -333
- package/dist/runtime/app/components/DataTable/DataTable.vue.d.ts +48 -61
- 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.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.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.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.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.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 -33
- 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 -8
- package/dist/runtime/app/components/Form/Form.vue +9 -119
- package/dist/runtime/app/components/Form/Form.vue.d.ts +14 -33
- 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.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.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.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.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.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.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.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.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.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.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 -5
- 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 +15 -6
- package/dist/runtime/app/components/Menu/Menu.vue +28 -16
- package/dist/runtime/app/components/Menu/Menu.vue.d.ts +24 -5
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.d.vue.ts +42 -12
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue +101 -135
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue.d.ts +42 -12
- 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.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.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 -8
- package/dist/runtime/app/components/Modal/Modal.theme.d.ts +83 -47
- package/dist/runtime/app/components/Modal/Modal.theme.js +74 -34
- package/dist/runtime/app/components/Modal/Modal.types.d.ts +86 -10
- package/dist/runtime/app/components/Modal/Modal.vue +258 -108
- package/dist/runtime/app/components/Modal/Modal.vue.d.ts +31 -8
- 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.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.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.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.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 -7
- 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 +10 -8
- package/dist/runtime/app/components/Pagination/Pagination.vue +69 -100
- package/dist/runtime/app/components/Pagination/Pagination.vue.d.ts +19 -7
- 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.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.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.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.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.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.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.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.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.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.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.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 -30
- package/dist/runtime/app/components/Table/Table.vue +30 -195
- package/dist/runtime/app/components/Table/Table.vue.d.ts +17 -30
- 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 -19
- package/dist/runtime/app/components/Tabs/Tabs.theme.d.ts +100 -22
- package/dist/runtime/app/components/Tabs/Tabs.theme.js +97 -19
- package/dist/runtime/app/components/Tabs/Tabs.types.d.ts +39 -9
- package/dist/runtime/app/components/Tabs/Tabs.vue +60 -175
- package/dist/runtime/app/components/Tabs/Tabs.vue.d.ts +19 -19
- 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 -5
- 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 +82 -7
- package/dist/runtime/app/components/Tooltip/Tooltip.vue +163 -69
- package/dist/runtime/app/components/Tooltip/Tooltip.vue.d.ts +16 -5
- 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 +6 -6
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.d.vue.ts +6 -10
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.d.ts +4 -19
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.js +4 -12
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue +2 -8
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue.d.ts +6 -10
- 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 +6 -10
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.d.ts +2 -8
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.js +3 -5
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue +2 -4
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue.d.ts +6 -10
- 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 +33 -13
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.d.ts +85 -2
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.js +81 -3
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue +32 -21
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue.d.ts +33 -13
- 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 +3049 -950
- package/dist/runtime/app/theme/index.js +85 -103
- package/dist/runtime/app/theme/messages.d.ts +2 -2
- package/dist/runtime/app/theme/messages.js +10 -16
- package/dist/runtime/app/theme/shared.d.ts +2 -43
- package/dist/runtime/app/theme/shared.js +1 -25
- package/dist/runtime/app/types/app-config.d.ts +2 -2
- package/dist/runtime/app/types/base.d.ts +11 -35
- 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 -61
- package/dist/runtime/app/types/index.d.ts +89 -55
- 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 +8 -8
- package/dist/runtime/app/types/theme.d.ts +49 -84
- package/dist/runtime/app/utils/pagination.d.ts +2 -2
- package/dist/runtime/app/utils/theme.d.ts +5 -5
- package/package.json +3 -13
- 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 -14
- package/dist/runtime/app/components/Alert/Alert.theme.js +0 -14
- package/dist/runtime/app/components/Alert/Alert.types.d.ts +0 -10
- package/dist/runtime/app/components/Alert/Alert.vue +0 -68
- package/dist/runtime/app/components/Alert/Alert.vue.d.ts +0 -20
- package/dist/runtime/app/components/App/App.d.vue.ts +0 -36
- package/dist/runtime/app/components/App/App.types.d.ts +0 -4
- package/dist/runtime/app/components/App/App.vue +0 -169
- package/dist/runtime/app/components/App/App.vue.d.ts +0 -36
- 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 -18
- 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 -16
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue +0 -55
- 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 -10
- 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.types.d.ts +0 -10
- package/dist/runtime/app/components/Avatar/Avatar.vue +0 -51
- package/dist/runtime/app/components/Avatar/Avatar.vue.d.ts +0 -10
- package/dist/runtime/app/components/Badge/Badge.d.vue.ts +0 -21
- 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.types.d.ts +0 -12
- package/dist/runtime/app/components/Badge/Badge.vue +0 -28
- package/dist/runtime/app/components/Badge/Badge.vue.d.ts +0 -21
- package/dist/runtime/app/components/Card/Card.d.vue.ts +0 -32
- package/dist/runtime/app/components/Card/Card.theme.d.ts +0 -100
- package/dist/runtime/app/components/Card/Card.theme.js +0 -82
- package/dist/runtime/app/components/Card/Card.types.d.ts +0 -12
- package/dist/runtime/app/components/Card/Card.vue +0 -51
- package/dist/runtime/app/components/Card/Card.vue.d.ts +0 -32
- package/dist/runtime/app/components/Code/Code.d.vue.ts +0 -9
- 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.types.d.ts +0 -8
- package/dist/runtime/app/components/Code/Code.vue +0 -116
- package/dist/runtime/app/components/Code/Code.vue.d.ts +0 -9
- package/dist/runtime/app/components/Collapsible/Collapsible.d.vue.ts +0 -31
- package/dist/runtime/app/components/Collapsible/Collapsible.theme.d.ts +0 -6
- package/dist/runtime/app/components/Collapsible/Collapsible.theme.js +0 -7
- package/dist/runtime/app/components/Collapsible/Collapsible.types.d.ts +0 -4
- package/dist/runtime/app/components/Collapsible/Collapsible.vue +0 -72
- package/dist/runtime/app/components/Collapsible/Collapsible.vue.d.ts +0 -31
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.d.vue.ts +0 -12
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.types.d.ts +0 -13
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.vue +0 -55
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.vue.d.ts +0 -12
- package/dist/runtime/app/components/Confirm/Confirm.d.vue.ts +0 -31
- 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.types.d.ts +0 -6
- package/dist/runtime/app/components/Confirm/Confirm.vue +0 -83
- package/dist/runtime/app/components/Confirm/Confirm.vue.d.ts +0 -31
- package/dist/runtime/app/components/Container/Container.d.vue.ts +0 -18
- 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.types.d.ts +0 -9
- package/dist/runtime/app/components/Container/Container.vue +0 -20
- package/dist/runtime/app/components/Container/Container.vue.d.ts +0 -18
- package/dist/runtime/app/components/ControlGroup/ControlGroup.d.vue.ts +0 -17
- 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.types.d.ts +0 -9
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue +0 -26
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue.d.ts +0 -17
- package/dist/runtime/app/components/DataTable/internal/query.d.ts +0 -18
- package/dist/runtime/app/components/DataTable/internal/query.js +0 -8
- package/dist/runtime/app/components/DataTable/internal/useVunoDataTable.d.ts +0 -70
- package/dist/runtime/app/components/DataTable/internal/useVunoDataTable.js +0 -126
- 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.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldArray/FieldArray.vue +0 -180
- 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.types.d.ts +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 -41
- 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 -41
- 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.types.d.ts +0 -2
- 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.types.d.ts +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.types.d.ts +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 -67
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.d.ts +0 -89
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.js +0 -56
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue +0 -208
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue.d.ts +0 -67
- 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.types.d.ts +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.types.d.ts +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.types.d.ts +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 -14
- 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.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue +0 -41
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue.d.ts +0 -14
- 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 -84
- 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.types.d.ts +0 -2
- 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 -14
- 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.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue +0 -45
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue.d.ts +0 -14
- 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 -206
- 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.types.d.ts +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.types.d.ts +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 -27
- 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 -27
- 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.types.d.ts +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 -107
- 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.types.d.ts +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 -35
- 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 -35
- 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 -21
- 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.types.d.ts +0 -14
- package/dist/runtime/app/components/FormField/FormField.vue +0 -140
- package/dist/runtime/app/components/FormField/FormField.vue.d.ts +0 -21
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.d.vue.ts +0 -22
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.vue +0 -63
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.vue.d.ts +0 -22
- package/dist/runtime/app/components/FormModal/FormModal.d.vue.ts +0 -44
- 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.types.d.ts +0 -14
- package/dist/runtime/app/components/FormModal/FormModal.vue +0 -105
- package/dist/runtime/app/components/FormModal/FormModal.vue.d.ts +0 -44
- package/dist/runtime/app/components/FormSection/FormSection.d.vue.ts +0 -4
- 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.types.d.ts +0 -7
- package/dist/runtime/app/components/FormSection/FormSection.vue +0 -52
- package/dist/runtime/app/components/FormSection/FormSection.vue.d.ts +0 -4
- package/dist/runtime/app/components/Icon/Icon.d.vue.ts +0 -4
- package/dist/runtime/app/components/Icon/Icon.types.d.ts +0 -3
- package/dist/runtime/app/components/Icon/Icon.vue +0 -32
- package/dist/runtime/app/components/Icon/Icon.vue.d.ts +0 -4
- package/dist/runtime/app/components/Navbar/Navbar.d.vue.ts +0 -20
- package/dist/runtime/app/components/Navbar/Navbar.theme.d.ts +0 -30
- package/dist/runtime/app/components/Navbar/Navbar.theme.js +0 -31
- package/dist/runtime/app/components/Navbar/Navbar.types.d.ts +0 -4
- package/dist/runtime/app/components/Navbar/Navbar.vue +0 -47
- package/dist/runtime/app/components/Navbar/Navbar.vue.d.ts +0 -20
- package/dist/runtime/app/components/NavigationList/NavigationList.d.vue.ts +0 -9
- package/dist/runtime/app/components/NavigationList/NavigationList.keys.d.ts +0 -3
- package/dist/runtime/app/components/NavigationList/NavigationList.keys.js +0 -1
- 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.types.d.ts +0 -9
- package/dist/runtime/app/components/NavigationList/NavigationList.vue +0 -233
- package/dist/runtime/app/components/NavigationList/NavigationList.vue.d.ts +0 -9
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.d.vue.ts +0 -10
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.keys.d.ts +0 -7
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.keys.js +0 -3
- 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.types.d.ts +0 -10
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue +0 -268
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue.d.ts +0 -10
- package/dist/runtime/app/components/NavigationToc/NavigationToc.d.vue.ts +0 -7
- 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.types.d.ts +0 -7
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue +0 -88
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue.d.ts +0 -7
- package/dist/runtime/app/components/Slideover/Slideover.d.vue.ts +0 -34
- 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.types.d.ts +0 -12
- package/dist/runtime/app/components/Slideover/Slideover.vue +0 -58
- package/dist/runtime/app/components/Slideover/Slideover.vue.d.ts +0 -34
- 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.types.d.ts +0 -15
- package/dist/runtime/app/components/State/State.vue +0 -76
- package/dist/runtime/app/components/State/State.vue.d.ts +0 -14
- package/dist/runtime/app/components/Table/Table.theme.d.ts +0 -32
- package/dist/runtime/app/components/Table/Table.theme.js +0 -31
- package/dist/runtime/app/components/Table/Table.types.d.ts +0 -9
- 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 -42
- 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 -23
- 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 -28
- 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 -24
- 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 -23
- 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 -18
- package/dist/runtime/app/components/Table/internal/column.js +0 -20
- 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/useVunoTableSelection.d.ts +0 -21
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.js +0 -29
- package/dist/runtime/app/components/Text/Text.d.vue.ts +0 -19
- package/dist/runtime/app/components/Text/Text.theme.d.ts +0 -55
- package/dist/runtime/app/components/Text/Text.theme.js +0 -28
- package/dist/runtime/app/components/Text/Text.types.d.ts +0 -9
- package/dist/runtime/app/components/Text/Text.vue +0 -37
- package/dist/runtime/app/components/Text/Text.vue.d.ts +0 -19
- package/dist/runtime/app/components/Toolbar/Toolbar.d.vue.ts +0 -17
- package/dist/runtime/app/components/Toolbar/Toolbar.theme.d.ts +0 -5
- package/dist/runtime/app/components/Toolbar/Toolbar.theme.js +0 -6
- package/dist/runtime/app/components/Toolbar/Toolbar.types.d.ts +0 -9
- package/dist/runtime/app/components/Toolbar/Toolbar.vue +0 -76
- package/dist/runtime/app/components/Toolbar/Toolbar.vue.d.ts +0 -17
- 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/useVunoContext.d.ts +0 -5
- package/dist/runtime/app/composables/internal/useVunoContext.js +0 -8
- package/dist/runtime/app/composables/internal/useVunoControlGroup.d.ts +0 -16
- package/dist/runtime/app/composables/internal/useVunoControlGroup.js +0 -18
- package/dist/runtime/app/composables/internal/useVunoDirection.d.ts +0 -5
- package/dist/runtime/app/composables/internal/useVunoDirection.js +0 -8
- package/dist/runtime/app/composables/internal/useVunoFormContext.d.ts +0 -5
- package/dist/runtime/app/composables/internal/useVunoFormContext.js +0 -8
- package/dist/runtime/app/composables/internal/useVunoOverlayBehind.d.ts +0 -6
- package/dist/runtime/app/composables/internal/useVunoOverlayBehind.js +0 -8
- 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 -8
- 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 -8
- 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/plugins/vue-query.d.ts +0 -8
- package/dist/runtime/app/plugins/vue-query.js +0 -13
- package/dist/runtime/app/types/app.d.ts +0 -85
- 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 -235
- package/dist/runtime/app/types/menu.d.ts +0 -22
- package/dist/runtime/app/types/page.d.ts +0 -57
- 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/table.d.ts +0 -287
- package/dist/runtime/app/types/text.d.ts +0 -6
- 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/components/{Alert/Alert.types.js → AILabel/AILabel.types.js} +0 -0
- /package/dist/runtime/app/components/{App/App.types.js → Accordion/Accordion.types.js} +0 -0
- /package/dist/runtime/app/components/{Avatar/Avatar.types.js → AccordionItem/AccordionItem.types.js} +0 -0
- /package/dist/runtime/app/components/{Badge/Badge.types.js → ActionableNotification/ActionableNotification.types.js} +0 -0
- /package/dist/runtime/app/components/{Card/Card.types.js → BreadcrumbItem/BreadcrumbItem.types.js} +0 -0
- /package/dist/runtime/app/components/{Code/Code.types.js → ButtonSet/ButtonSet.types.js} +0 -0
- /package/dist/runtime/app/components/{Collapsible/Collapsible.types.js → Callout/Callout.types.js} +0 -0
- /package/dist/runtime/app/components/{ColorModeButton/ColorModeButton.types.js → Checkbox/Checkbox.types.js} +0 -0
- /package/dist/runtime/app/components/{Confirm/Confirm.types.js → CheckboxGroup/CheckboxGroup.types.js} +0 -0
- /package/dist/runtime/app/components/{Container/Container.types.js → ClickableTile/ClickableTile.types.js} +0 -0
- /package/dist/runtime/app/components/{ControlGroup/ControlGroup.types.js → CodeSnippet/CodeSnippet.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldArray/FieldArray.types.js → Column/Column.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldCheckbox/FieldCheckbox.types.js → ComboBox/ComboBox.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldColor/FieldColor.types.js → ComboButton/ComboButton.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldCurrency/FieldCurrency.types.js → ContainedList/ContainedList.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldFile/FieldFile.types.js → ContainedListItem/ContainedListItem.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldInput/FieldInput.types.js → ContentSwitcher/ContentSwitcher.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldNumber/FieldNumber.types.js → CopyButton/CopyButton.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldPassword/FieldPassword.types.js → DatePicker/DatePicker.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldRadio/FieldRadio.types.js → DefinitionTooltip/DefinitionTooltip.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSearch/FieldSearch.types.js → Dropdown/Dropdown.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSelect/internal/Select → Dropdown}/option.js +0 -0
- /package/dist/runtime/app/components/{FieldSelect/FieldSelect.types.js → ExpandableTile/ExpandableTile.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSlug/FieldSlug.types.js → FileUploader/FileUploader.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSwitch/FieldSwitch.types.js → FormGroup/FormGroup.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldTags/FieldTags.types.js → FormLabel/FormLabel.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldTextarea/FieldTextarea.types.js → Grid/Grid.types.js} +0 -0
- /package/dist/runtime/app/components/{FormField/FormField.types.js → Header/Header.types.js} +0 -0
- /package/dist/runtime/app/components/{FormModal/FormModal.types.js → IconButton/IconButton.types.js} +0 -0
- /package/dist/runtime/app/components/{FormSection/FormSection.types.js → InlineLoading/InlineLoading.types.js} +0 -0
- /package/dist/runtime/app/components/{Icon/Icon.types.js → InlineNotification/InlineNotification.types.js} +0 -0
- /package/dist/runtime/app/components/{Navbar/Navbar.types.js → Link/Link.types.js} +0 -0
- /package/dist/runtime/app/components/{NavigationList/NavigationList.types.js → ListItem/ListItem.types.js} +0 -0
- /package/dist/runtime/app/components/{NavigationMenu/NavigationMenu.types.js → Loading/Loading.types.js} +0 -0
- /package/dist/runtime/app/components/{NavigationToc/NavigationToc.types.js → MenuButton/MenuButton.types.js} +0 -0
- /package/dist/runtime/app/components/{Slideover/Slideover.types.js → MenuItem/MenuItem.types.js} +0 -0
- /package/dist/runtime/app/components/{State/State.types.js → MultiSelect/MultiSelect.types.js} +0 -0
- /package/dist/runtime/app/components/{Table/Table.types.js → NumberInput/NumberInput.types.js} +0 -0
- /package/dist/runtime/app/components/{Text/Text.types.js → OrderedList/OrderedList.types.js} +0 -0
- /package/dist/runtime/app/components/{Toolbar/Toolbar.types.js → OverflowMenu/OverflowMenu.types.js} +0 -0
- /package/dist/runtime/app/{types/app.js → components/PaginationNav/PaginationNav.types.js} +0 -0
- /package/dist/runtime/app/{types/confirm.js → components/Popover/Popover.types.js} +0 -0
- /package/dist/runtime/app/{types/crud.js → components/ProgressBar/ProgressBar.types.js} +0 -0
- /package/dist/runtime/app/{types/field-type.js → components/ProgressIndicator/ProgressIndicator.types.js} +0 -0
- /package/dist/runtime/app/{types/field.js → components/ProgressStep/ProgressStep.types.js} +0 -0
- /package/dist/runtime/app/{types/menu.js → components/RadioButton/RadioButton.types.js} +0 -0
- /package/dist/runtime/app/{types/page.js → components/RadioButtonGroup/RadioButtonGroup.types.js} +0 -0
- /package/dist/runtime/app/{types/responsive.js → components/RadioTile/RadioTile.types.js} +0 -0
- /package/dist/runtime/app/{types/shortcuts.js → components/Search/Search.types.js} +0 -0
- /package/dist/runtime/app/{types/table.js → components/Section/Section.types.js} +0 -0
- /package/dist/runtime/app/{types/text.js → components/Select/Select.types.js} +0 -0
|
@@ -1,167 +1,133 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { offset } from "@floating-ui/dom";
|
|
3
|
+
import { computed, nextTick, onMounted, provide, ref } from "vue";
|
|
4
|
+
import { useAnchor } from "#vuno/composables/internal/useAnchor";
|
|
4
5
|
import { useTheme } from "#vuno/composables/useTheme";
|
|
5
|
-
import
|
|
6
|
+
import { menuLevelKey } from "#vuno/components/Menu/Menu.context";
|
|
6
7
|
const props = defineProps({
|
|
8
|
+
ariaLabel: { type: String, required: false, default: void 0 },
|
|
9
|
+
backgroundToken: { type: String, required: true },
|
|
10
|
+
border: { type: Boolean, required: true },
|
|
7
11
|
depth: { type: Number, required: false, default: 0 },
|
|
12
|
+
distance: { type: Number, required: false, default: 0 },
|
|
8
13
|
initialFocus: { type: String, required: false, default: "none" },
|
|
9
|
-
|
|
14
|
+
labelledBy: { type: String, required: false, default: void 0 },
|
|
10
15
|
menuId: { type: String, required: true },
|
|
11
16
|
placement: { type: String, required: true },
|
|
17
|
+
size: { type: String, required: true },
|
|
18
|
+
ui: { type: Object, required: false, default: void 0 },
|
|
12
19
|
reference: { type: Function, required: false, default: void 0 }
|
|
13
20
|
});
|
|
14
|
-
const emit = defineEmits(["back", "dismiss"
|
|
15
|
-
|
|
16
|
-
const childFocus = ref("none");
|
|
17
|
-
const childMenuId = useId();
|
|
21
|
+
const emit = defineEmits(["back", "dismiss"]);
|
|
22
|
+
defineSlots();
|
|
18
23
|
const contentEl = ref(null);
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
|
|
24
|
+
const iconCount = ref(0);
|
|
25
|
+
const items = ref([]);
|
|
26
|
+
const selectionCount = ref(0);
|
|
27
|
+
const hasIcons = computed(() => iconCount.value > 0);
|
|
28
|
+
const hasSelection = computed(() => selectionCount.value > 0);
|
|
29
|
+
const appearance = computed(() => ({ backgroundToken: props.backgroundToken, border: props.border, size: props.size }));
|
|
30
|
+
const ui = useTheme(
|
|
31
|
+
"menu",
|
|
32
|
+
() => props.ui,
|
|
33
|
+
() => ({
|
|
34
|
+
backgroundToken: props.backgroundToken,
|
|
35
|
+
border: String(props.border),
|
|
36
|
+
withIcons: String(hasIcons.value),
|
|
37
|
+
withSelection: String(hasSelection.value)
|
|
38
|
+
})
|
|
27
39
|
);
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
const
|
|
34
|
-
async function
|
|
35
|
-
|
|
36
|
-
|
|
40
|
+
const { anchor } = useAnchor({
|
|
41
|
+
distance: () => props.distance,
|
|
42
|
+
middleware: () => props.depth > 0 ? [offset({ crossAxis: -6 })] : [],
|
|
43
|
+
placement: () => props.placement
|
|
44
|
+
});
|
|
45
|
+
const enabled = () => items.value.filter((item) => !item.disabled());
|
|
46
|
+
async function focus(item) {
|
|
47
|
+
if (!item) return;
|
|
48
|
+
items.value.forEach((candidate) => candidate !== item && candidate.closeSubmenu());
|
|
37
49
|
await nextTick();
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
function step(delta) {
|
|
41
|
-
const order = enabled.value;
|
|
42
|
-
if (order.length === 0) return;
|
|
43
|
-
const current = order.indexOf(active.value);
|
|
44
|
-
const entry = delta > 0 ? 0 : order.length - 1;
|
|
45
|
-
const next = current === -1 ? entry : (current + delta + order.length) % order.length;
|
|
46
|
-
void focusItem(order[next]);
|
|
47
|
-
}
|
|
48
|
-
function openSubmenu(index, focus) {
|
|
49
|
-
const item = props.items[index];
|
|
50
|
-
if (!item || item.disabled || !isSubmenu(item) || item.children.length === 0) return;
|
|
51
|
-
active.value = index;
|
|
52
|
-
childFocus.value = focus;
|
|
53
|
-
openChild.value = index;
|
|
50
|
+
item.element()?.focus();
|
|
54
51
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
itemEls.value[index]?.focus();
|
|
52
|
+
function register(item) {
|
|
53
|
+
items.value.push(item);
|
|
54
|
+
return () => {
|
|
55
|
+
items.value = items.value.filter((candidate) => candidate !== item);
|
|
56
|
+
};
|
|
61
57
|
}
|
|
62
|
-
function
|
|
63
|
-
if (
|
|
64
|
-
if (
|
|
65
|
-
|
|
58
|
+
function declare(traits) {
|
|
59
|
+
if (traits.icon) iconCount.value += 1;
|
|
60
|
+
if (traits.selection) selectionCount.value += 1;
|
|
61
|
+
return () => {
|
|
62
|
+
if (traits.icon) iconCount.value -= 1;
|
|
63
|
+
if (traits.selection) selectionCount.value -= 1;
|
|
64
|
+
};
|
|
66
65
|
}
|
|
67
|
-
function highlight(item
|
|
68
|
-
if (item.disabled) return;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
function highlight(item) {
|
|
67
|
+
if (item.disabled()) return;
|
|
68
|
+
items.value.forEach((candidate) => candidate !== item && candidate.closeSubmenu());
|
|
69
|
+
item.element()?.focus();
|
|
70
|
+
if (item.hasSubmenu()) item.openSubmenu("none");
|
|
72
71
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
72
|
+
provide(menuLevelKey, {
|
|
73
|
+
appearance,
|
|
74
|
+
declare,
|
|
75
|
+
depth: props.depth,
|
|
76
|
+
hasIcons,
|
|
77
|
+
hasSelection,
|
|
78
|
+
highlight,
|
|
79
|
+
register,
|
|
80
|
+
activate: (item, event) => item.activate(event),
|
|
81
|
+
dismiss: (returnFocus = true) => emit("dismiss", returnFocus)
|
|
82
|
+
});
|
|
83
|
+
function onKeydown(event) {
|
|
84
|
+
const available = enabled();
|
|
85
|
+
const current = available.findIndex((item2) => item2.element() === document.activeElement);
|
|
86
|
+
const item = available[current];
|
|
87
|
+
const target = event.key === "Home" ? available[0] : event.key === "End" ? available.at(-1) : event.key === "ArrowDown" ? available[(current + 1 + available.length) % available.length] : event.key === "ArrowUp" ? available[(current - 1 + available.length) % available.length] : void 0;
|
|
88
|
+
if (target) {
|
|
89
|
+
event.preventDefault();
|
|
90
|
+
event.stopPropagation();
|
|
91
|
+
void focus(target);
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
if (event.key === "ArrowRight" && item?.hasSubmenu()) {
|
|
95
|
+
event.preventDefault();
|
|
96
|
+
event.stopPropagation();
|
|
97
|
+
item.openSubmenu("first");
|
|
98
|
+
} else if (event.key === "ArrowLeft" && props.depth > 0) {
|
|
99
|
+
event.preventDefault();
|
|
100
|
+
event.stopPropagation();
|
|
101
|
+
emit("back");
|
|
102
|
+
} else if (event.key === "Escape") {
|
|
103
|
+
event.preventDefault();
|
|
104
|
+
event.stopPropagation();
|
|
105
|
+
if (props.depth > 0) emit("back");
|
|
106
|
+
else emit("dismiss");
|
|
107
|
+
} else if (event.key === "Tab") {
|
|
108
|
+
emit("dismiss", false);
|
|
109
|
+
}
|
|
89
110
|
}
|
|
90
111
|
onMounted(async () => {
|
|
91
112
|
anchor(props.reference?.(), contentEl.value ?? void 0);
|
|
92
113
|
if (props.initialFocus === "panel") return contentEl.value?.focus();
|
|
93
|
-
if (props.initialFocus === "
|
|
94
|
-
|
|
95
|
-
if (order.length > 0) await focusItem(order[0]);
|
|
114
|
+
if (props.initialFocus === "first") await focus(enabled()[0]);
|
|
115
|
+
if (props.initialFocus === "last") await focus(enabled().at(-1));
|
|
96
116
|
});
|
|
97
117
|
</script>
|
|
98
118
|
|
|
99
119
|
<template>
|
|
100
|
-
<
|
|
120
|
+
<ul
|
|
101
121
|
:id="props.menuId"
|
|
102
122
|
ref="contentEl"
|
|
123
|
+
:aria-label="props.ariaLabel"
|
|
124
|
+
:aria-labelledby="props.labelledBy"
|
|
103
125
|
:class="ui.content"
|
|
104
126
|
role="menu"
|
|
105
127
|
style="position: fixed; top: 0; left: 0"
|
|
106
128
|
tabindex="-1"
|
|
107
|
-
@keydown="
|
|
129
|
+
@keydown="onKeydown"
|
|
108
130
|
>
|
|
109
|
-
<
|
|
110
|
-
|
|
111
|
-
:key="`${item.label}-${index}`"
|
|
112
|
-
>
|
|
113
|
-
<hr
|
|
114
|
-
v-if="item.separator && index > 0"
|
|
115
|
-
:class="ui.separator"
|
|
116
|
-
/>
|
|
117
|
-
|
|
118
|
-
<div role="presentation">
|
|
119
|
-
<div
|
|
120
|
-
:ref="(el) => captureItem(index, el)"
|
|
121
|
-
:aria-controls="isSubmenu(item) && openChild === index ? submenuId(index) : void 0"
|
|
122
|
-
:aria-disabled="item.disabled ? 'true' : void 0"
|
|
123
|
-
:aria-expanded="isSubmenu(item) ? openChild === index ? 'true' : 'false' : void 0"
|
|
124
|
-
:aria-haspopup="isSubmenu(item) ? 'menu' : void 0"
|
|
125
|
-
:class="item.color ? itemByColor[item.color] : ui.item"
|
|
126
|
-
:data-disabled="item.disabled ? '' : void 0"
|
|
127
|
-
:data-highlighted="active === index ? '' : void 0"
|
|
128
|
-
role="menuitem"
|
|
129
|
-
:tabindex="active === index ? 0 : -1"
|
|
130
|
-
@click="activate(item, index)"
|
|
131
|
-
@focus="active = index"
|
|
132
|
-
@keydown.enter.prevent.stop="activate(item, index)"
|
|
133
|
-
@keydown.space.prevent.stop="activate(item, index)"
|
|
134
|
-
@pointermove="highlight(item, index)"
|
|
135
|
-
>
|
|
136
|
-
<Icon
|
|
137
|
-
v-if="item.icon"
|
|
138
|
-
:class="ui.icon"
|
|
139
|
-
:name="item.icon"
|
|
140
|
-
/>
|
|
141
|
-
|
|
142
|
-
<span class="truncate">{{ item.label }}</span>
|
|
143
|
-
|
|
144
|
-
<Icon
|
|
145
|
-
v-if="isSubmenu(item)"
|
|
146
|
-
aria-hidden="true"
|
|
147
|
-
:class="[ui.icon, 'ml-auto']"
|
|
148
|
-
name="lucide:chevron-right"
|
|
149
|
-
/>
|
|
150
|
-
</div>
|
|
151
|
-
|
|
152
|
-
<MenuLevel
|
|
153
|
-
v-if="isSubmenu(item) && item.children.length > 0 && openChild === index"
|
|
154
|
-
:depth="props.depth + 1"
|
|
155
|
-
:initialFocus="childFocus"
|
|
156
|
-
:items="item.children"
|
|
157
|
-
:menuId="submenuId(index)"
|
|
158
|
-
placement="right-start"
|
|
159
|
-
:reference="() => itemEls[index] ?? void 0"
|
|
160
|
-
@back="closeSubmenu(true)"
|
|
161
|
-
@dismiss="emit('dismiss', $event)"
|
|
162
|
-
@select="emit('select', $event)"
|
|
163
|
-
/>
|
|
164
|
-
</div>
|
|
165
|
-
</template>
|
|
166
|
-
</div>
|
|
131
|
+
<slot />
|
|
132
|
+
</ul>
|
|
167
133
|
</template>
|
|
@@ -1,26 +1,56 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
type
|
|
1
|
+
import type { Placement } from '#vuno/types/base';
|
|
2
|
+
import type { ComponentUi } from '#vuno/types/slots';
|
|
3
|
+
import type { MenuInitialFocus } from '#vuno/components/Menu/Menu.context';
|
|
4
|
+
import type { MenuBackgroundToken, MenuSize } from '#vuno/components/Menu/Menu.types';
|
|
5
|
+
/**
|
|
6
|
+
* Un nivel de la cascada: el panel `role="menu"` con su recorrido de teclado.
|
|
7
|
+
*
|
|
8
|
+
* Lo comparten el menú raíz y cada submenú, y por eso la apariencia entra por
|
|
9
|
+
* props y se vuelve a proveer: un submenú la hereda del nivel que lo abre, como
|
|
10
|
+
* en Vuno, y no la vuelve a decidir.
|
|
11
|
+
*/
|
|
4
12
|
type Props = {
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
backgroundToken: MenuBackgroundToken;
|
|
15
|
+
border: boolean;
|
|
5
16
|
depth?: number;
|
|
6
|
-
|
|
7
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Separación contra el ancla. El menú raíz va pegado al disparador (0) y un
|
|
19
|
+
* submenú se solapa 6 px con el panel que lo abre, que es lo que alinea su
|
|
20
|
+
* primera opción con la opción padre.
|
|
21
|
+
*/
|
|
22
|
+
distance?: number;
|
|
23
|
+
initialFocus?: MenuInitialFocus;
|
|
24
|
+
labelledBy?: string;
|
|
8
25
|
menuId: string;
|
|
9
|
-
placement:
|
|
26
|
+
placement: Placement;
|
|
27
|
+
size: MenuSize;
|
|
28
|
+
ui?: ComponentUi<'menu'>;
|
|
10
29
|
reference?: () => HTMLElement | undefined;
|
|
11
30
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
31
|
+
type __VLS_Slots = {
|
|
32
|
+
default?: () => unknown;
|
|
33
|
+
};
|
|
34
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
35
|
back: () => any;
|
|
36
|
+
dismiss: (returnFocus?: boolean | undefined) => any;
|
|
16
37
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
-
onSelect?: ((item: VunoMenuAction) => any) | undefined;
|
|
18
|
-
onDismiss?: ((returnFocus?: boolean | undefined) => any) | undefined;
|
|
19
38
|
onBack?: (() => any) | undefined;
|
|
39
|
+
onDismiss?: ((returnFocus?: boolean | undefined) => any) | undefined;
|
|
20
40
|
}>, {
|
|
41
|
+
ui: ComponentUi<"menu">;
|
|
42
|
+
ariaLabel: string;
|
|
21
43
|
reference: () => HTMLElement | undefined;
|
|
44
|
+
distance: number;
|
|
22
45
|
depth: number;
|
|
23
|
-
initialFocus:
|
|
46
|
+
initialFocus: MenuInitialFocus;
|
|
47
|
+
labelledBy: string;
|
|
24
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
50
|
declare const _default: typeof __VLS_export;
|
|
26
51
|
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { MenuButtonProps } from './MenuButton.types.js';
|
|
2
|
+
type __VLS_Props = MenuButtonProps;
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
default?: () => unknown;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
/** El estado viaja fuera para que la página pueda abrirlo o cerrarlo. */
|
|
8
|
+
'open'?: boolean;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:open": (value: boolean) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
size: import("./MenuButton.types.js").MenuButtonSize;
|
|
18
|
+
kind: import("./MenuButton.types.js").MenuButtonKind;
|
|
19
|
+
ui: import("../../types/slots.js").ComponentUi<"menu">;
|
|
20
|
+
portal: import("../../types/base.js").PortalTarget;
|
|
21
|
+
menuAlignment: import("./MenuButton.types.js").MenuAlignment;
|
|
22
|
+
tabIndex: number;
|
|
23
|
+
menuBackgroundToken: import("../Menu/Menu.types.js").MenuBackgroundToken;
|
|
24
|
+
menuBorder: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Placement, PortalTarget } from '#vuno/types/base';
|
|
2
|
+
import type { ComponentUi } from '#vuno/types/slots';
|
|
3
|
+
import type { ButtonKind, ButtonSize } from '#vuno/components/Button/Button.types';
|
|
4
|
+
import type { MenuBackgroundToken } from '#vuno/components/Menu/Menu.types';
|
|
5
|
+
/**
|
|
6
|
+
* Las seis alineaciones que Vuno admite para el menú de un disparador.
|
|
7
|
+
*
|
|
8
|
+
* Es el `menuAlignment` de Vuno y lo comparten `MenuButton` y `ComboButton`;
|
|
9
|
+
* `OverflowMenu` usa solo las cuatro de esquina. Vive aquí por la misma razón
|
|
10
|
+
* que en el sistema de origen vive en `MenuButton`: es quien lo estrena.
|
|
11
|
+
*
|
|
12
|
+
* `bottom` y `top` son las **centradas**, y son las únicas en las que el menú
|
|
13
|
+
* copia el ancho del disparador.
|
|
14
|
+
*/
|
|
15
|
+
export type MenuAlignment = Extract<Placement, 'bottom' | 'bottom-end' | 'bottom-start' | 'top' | 'top-end' | 'top-start'>;
|
|
16
|
+
/** Los tres `kind` de botón que Vuno deja usar como disparador de menú. */
|
|
17
|
+
export type MenuButtonKind = Extract<ButtonKind, 'ghost' | 'primary' | 'tertiary'>;
|
|
18
|
+
/** Los cuatro tamaños de la familia: 24, 32, 40 y 48 px de alto. */
|
|
19
|
+
export type MenuButtonSize = Extract<ButtonSize, 'lg' | 'md' | 'sm' | 'xs'>;
|
|
20
|
+
export type MenuButtonProps = {
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
kind?: MenuButtonKind;
|
|
23
|
+
label: string;
|
|
24
|
+
menuAlignment?: MenuAlignment;
|
|
25
|
+
/** Token de fondo del panel. Vuno: `layer` por defecto. */
|
|
26
|
+
menuBackgroundToken?: MenuBackgroundToken;
|
|
27
|
+
/** Contorno del panel. Vuno lo dibuja siempre desde la v12. */
|
|
28
|
+
menuBorder?: boolean;
|
|
29
|
+
portal?: PortalTarget;
|
|
30
|
+
/** El tamaño manda a la vez sobre el botón y sobre las filas del menú. */
|
|
31
|
+
size?: MenuButtonSize;
|
|
32
|
+
/**
|
|
33
|
+
* Posición del disparador en el recorrido del tabulador.
|
|
34
|
+
*
|
|
35
|
+
* Existe como prop y no como atributo suelto porque los atributos caen en
|
|
36
|
+
* el contenedor, y quien quiere sacar el control del recorrido lo quiere
|
|
37
|
+
* sacar del botón.
|
|
38
|
+
*/
|
|
39
|
+
tabIndex?: number;
|
|
40
|
+
ui?: ComponentUi<'menu'>;
|
|
41
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
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 "./useMenuWidth";
|
|
6
|
+
defineOptions({ name: "MenuButton" });
|
|
7
|
+
const open = defineModel("open", { type: Boolean, ...{ default: false } });
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
disabled: { type: Boolean, required: false, default: false },
|
|
10
|
+
kind: { type: String, required: false, default: "primary" },
|
|
11
|
+
label: { type: String, required: true },
|
|
12
|
+
menuAlignment: { type: String, required: false, default: "bottom" },
|
|
13
|
+
menuBackgroundToken: { type: String, required: false, default: "layer" },
|
|
14
|
+
menuBorder: { type: Boolean, required: false, default: true },
|
|
15
|
+
portal: { type: [String, Boolean], required: false, default: void 0 },
|
|
16
|
+
size: { type: String, required: false, default: "lg" },
|
|
17
|
+
tabIndex: { type: Number, required: false, default: void 0 },
|
|
18
|
+
ui: { type: Object, required: false, default: void 0 }
|
|
19
|
+
});
|
|
20
|
+
defineSlots();
|
|
21
|
+
const root = ref(null);
|
|
22
|
+
const trigger = () => root.value?.querySelector('[aria-haspopup="menu"]') ?? null;
|
|
23
|
+
useMenuWidth({
|
|
24
|
+
measure: trigger,
|
|
25
|
+
trigger,
|
|
26
|
+
enabled: () => props.menuAlignment === "bottom" || props.menuAlignment === "top",
|
|
27
|
+
open: () => open.value
|
|
28
|
+
});
|
|
29
|
+
const triggerUi = computed(() => ({
|
|
30
|
+
/* Vuno: `.vuno--menu-button__trigger:not(.vuno--btn--ghost) { min-inline-size: 12rem }`. */
|
|
31
|
+
base: props.kind === "ghost" ? void 0 : "min-w-48",
|
|
32
|
+
/* El caret gira media vuelta al abrir, con la duración y la curva de Vuno. */
|
|
33
|
+
icon: ["transition-transform duration-(--vuno-duration-fast-02) ease-(--vuno-easing-standard-productive) motion-reduce:transition-none", open.value ? "rotate-180" : ""]
|
|
34
|
+
}));
|
|
35
|
+
</script>
|
|
36
|
+
|
|
37
|
+
<template>
|
|
38
|
+
<!-- `inline-flex` es el `.vuno--menu-button__container` de Vuno: el contenedor mide lo que el botón. -->
|
|
39
|
+
<div
|
|
40
|
+
ref="root"
|
|
41
|
+
class="inline-flex"
|
|
42
|
+
>
|
|
43
|
+
<Menu
|
|
44
|
+
v-model:open="open"
|
|
45
|
+
:backgroundToken="props.menuBackgroundToken"
|
|
46
|
+
:border="props.menuBorder"
|
|
47
|
+
:placement="props.menuAlignment"
|
|
48
|
+
:portal="props.portal"
|
|
49
|
+
:size="props.size"
|
|
50
|
+
:ui="props.ui"
|
|
51
|
+
>
|
|
52
|
+
<template #trigger>
|
|
53
|
+
<Button
|
|
54
|
+
:disabled="props.disabled"
|
|
55
|
+
icon="carbon:chevron-down"
|
|
56
|
+
:kind="props.kind"
|
|
57
|
+
:label="props.label"
|
|
58
|
+
:size="props.size"
|
|
59
|
+
:tabindex="props.tabIndex"
|
|
60
|
+
:ui="triggerUi"
|
|
61
|
+
/>
|
|
62
|
+
</template>
|
|
63
|
+
|
|
64
|
+
<slot />
|
|
65
|
+
</Menu>
|
|
66
|
+
</div>
|
|
67
|
+
</template>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { MenuButtonProps } from './MenuButton.types.js';
|
|
2
|
+
type __VLS_Props = MenuButtonProps;
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
default?: () => unknown;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
/** El estado viaja fuera para que la página pueda abrirlo o cerrarlo. */
|
|
8
|
+
'open'?: boolean;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:open": (value: boolean) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
size: import("./MenuButton.types.js").MenuButtonSize;
|
|
18
|
+
kind: import("./MenuButton.types.js").MenuButtonKind;
|
|
19
|
+
ui: import("../../types/slots.js").ComponentUi<"menu">;
|
|
20
|
+
portal: import("../../types/base.js").PortalTarget;
|
|
21
|
+
menuAlignment: import("./MenuButton.types.js").MenuAlignment;
|
|
22
|
+
tabIndex: number;
|
|
23
|
+
menuBackgroundToken: import("../Menu/Menu.types.js").MenuBackgroundToken;
|
|
24
|
+
menuBorder: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Iguala el ancho del menú al del disparador cuando la alineación es centrada.
|
|
3
|
+
*
|
|
4
|
+
* No es un adorno: la guía de Vuno lo pide con un «do» y un «dont» —«if the
|
|
5
|
+
* button labels become longer, the menu component should not appear narrower
|
|
6
|
+
* but should extend to match the width of the menu buttons»— y en React lo
|
|
7
|
+
* resuelve el middleware `size` de Floating UI, que escribe
|
|
8
|
+
* `elements.floating.style.width = rects.reference.width` **solo** cuando
|
|
9
|
+
* `menuAlignment` es `bottom` o `top`. Con las alineaciones `-start` y `-end` el
|
|
10
|
+
* menú conserva su ancho natural.
|
|
11
|
+
*
|
|
12
|
+
* El ancho se escribe en línea y no como clase porque es una medida, no una
|
|
13
|
+
* decisión de diseño: Tailwind necesita literales en el código fuente y aquí el
|
|
14
|
+
* valor sale de medir la página. El mínimo de 10rem y el máximo de 18rem del
|
|
15
|
+
* panel siguen mandando, que es justo lo que hace Vuno: `min-inline-size` y
|
|
16
|
+
* `max-inline-size` ganan a `inline-size` en CSS.
|
|
17
|
+
*
|
|
18
|
+
* El panel se localiza por `aria-controls`, que es contrato público del
|
|
19
|
+
* disparador y no interior de `Menu`: mientras está abierto, el botón publica
|
|
20
|
+
* ahí el identificador de su panel.
|
|
21
|
+
*
|
|
22
|
+
* @param options.enabled ¿Toca copiar el ancho? Falso con alineaciones laterales.
|
|
23
|
+
* @param options.measure Qué se mide. En `ComboButton` es el contenedor entero.
|
|
24
|
+
* @param options.open Estado del menú.
|
|
25
|
+
* @param options.trigger El control que publica `aria-controls`.
|
|
26
|
+
*/
|
|
27
|
+
export declare function useMenuWidth(options: {
|
|
28
|
+
enabled: () => boolean;
|
|
29
|
+
measure: () => HTMLElement | null | undefined;
|
|
30
|
+
open: () => boolean;
|
|
31
|
+
trigger: () => HTMLElement | null | undefined;
|
|
32
|
+
}): void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { nextTick, onScopeDispose, watch } from "vue";
|
|
2
|
+
export function useMenuWidth(options) {
|
|
3
|
+
let observer;
|
|
4
|
+
function panel() {
|
|
5
|
+
const id = options.trigger()?.getAttribute("aria-controls");
|
|
6
|
+
if (!id || typeof document === "undefined") return null;
|
|
7
|
+
return document.getElementById(id);
|
|
8
|
+
}
|
|
9
|
+
function apply() {
|
|
10
|
+
const reference = options.measure();
|
|
11
|
+
const content = panel();
|
|
12
|
+
if (!reference || !content) return;
|
|
13
|
+
content.style.width = `${reference.getBoundingClientRect().width}px`;
|
|
14
|
+
}
|
|
15
|
+
function release() {
|
|
16
|
+
observer?.disconnect();
|
|
17
|
+
observer = void 0;
|
|
18
|
+
}
|
|
19
|
+
watch(
|
|
20
|
+
() => options.open() && options.enabled(),
|
|
21
|
+
async (active) => {
|
|
22
|
+
release();
|
|
23
|
+
if (!active) return;
|
|
24
|
+
await nextTick();
|
|
25
|
+
apply();
|
|
26
|
+
const reference = options.measure();
|
|
27
|
+
if (!reference || typeof ResizeObserver === "undefined") return;
|
|
28
|
+
observer = new ResizeObserver(apply);
|
|
29
|
+
observer.observe(reference);
|
|
30
|
+
},
|
|
31
|
+
{ flush: "post" }
|
|
32
|
+
);
|
|
33
|
+
onScopeDispose(release);
|
|
34
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { MenuItemProps } from './MenuItem.types.js';
|
|
2
|
+
declare var __VLS_25: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_25) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<MenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
click: (event: KeyboardEvent | MouseEvent) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<MenuItemProps> & Readonly<{
|
|
9
|
+
onClick?: ((event: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
kind: import("./MenuItem.types.js").MenuItemKind;
|
|
13
|
+
icon: string;
|
|
14
|
+
shortcut: string;
|
|
15
|
+
ui: import("../../types/slots.js").ComponentUi<"menu">;
|
|
16
|
+
dangerDescription: string;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ComponentUi } from '#vuno/types/slots';
|
|
2
|
+
export type MenuItemKind = 'danger' | 'default';
|
|
3
|
+
export type MenuItemProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Lo que un lector de pantalla añade a una acción destructiva. Sin texto no
|
|
6
|
+
* se anuncia nada: el color no es la única señal, pero tampoco se inventa una.
|
|
7
|
+
*/
|
|
8
|
+
dangerDescription?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
icon?: string;
|
|
11
|
+
kind?: MenuItemKind;
|
|
12
|
+
label: string;
|
|
13
|
+
/**
|
|
14
|
+
* El atajo de teclado de esta acción, como pista. No lo registra: quien lo
|
|
15
|
+
* anuncia aquí tiene que seguir atendiéndolo donde corresponda.
|
|
16
|
+
*/
|
|
17
|
+
shortcut?: string;
|
|
18
|
+
ui?: ComponentUi<'menu'>;
|
|
19
|
+
};
|