@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
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, ref, useId } from "vue";
|
|
3
|
+
import { useTheme } from "#vuno/composables/useTheme";
|
|
4
|
+
import { cn } from "#vuno/utils/theme";
|
|
5
|
+
import FormLabel from "#vuno/components/FormLabel/FormLabel.vue";
|
|
6
|
+
import Tooltip from "#vuno/components/Tooltip/Tooltip.vue";
|
|
7
|
+
import SliderThumb from "./internal/SliderThumb/SliderThumb.vue";
|
|
8
|
+
import PrimitiveControl from "#vuno/primitives/PrimitiveControl/PrimitiveControl.vue";
|
|
9
|
+
import Icon from "#vuno/primitives/PrimitiveIcon/PrimitiveIcon.vue";
|
|
10
|
+
defineOptions({ name: "Slider" });
|
|
11
|
+
const model = defineModel({ type: null, ...{ default: void 0 } });
|
|
12
|
+
const valueUpper = defineModel("valueUpper", { type: null, ...{ default: void 0 } });
|
|
13
|
+
const props = defineProps({
|
|
14
|
+
id: { type: String, required: false, default: void 0 },
|
|
15
|
+
name: { type: String, required: false, default: void 0 },
|
|
16
|
+
disabled: { type: Boolean, required: false, default: false },
|
|
17
|
+
required: { type: Boolean, required: false, default: false },
|
|
18
|
+
hideLabel: { type: Boolean, required: false, default: false },
|
|
19
|
+
invalid: { type: Boolean, required: false, default: false },
|
|
20
|
+
invalidText: { type: String, required: false, default: void 0 },
|
|
21
|
+
labelText: { type: String, required: true },
|
|
22
|
+
warn: { type: Boolean, required: false, default: false },
|
|
23
|
+
warnText: { type: String, required: false, default: void 0 },
|
|
24
|
+
ariaLabelInput: { type: String, required: false, default: void 0 },
|
|
25
|
+
ariaLabelInputUpper: { type: String, required: false, default: void 0 },
|
|
26
|
+
formatLabel: { type: Function, required: false, default: void 0 },
|
|
27
|
+
hideTextInput: { type: Boolean, required: false, default: false },
|
|
28
|
+
inputType: { type: String, required: false, default: "number" },
|
|
29
|
+
max: { type: Number, required: true },
|
|
30
|
+
maxLabel: { type: String, required: false, default: void 0 },
|
|
31
|
+
min: { type: Number, required: true },
|
|
32
|
+
minLabel: { type: String, required: false, default: void 0 },
|
|
33
|
+
nameUpper: { type: String, required: false, default: void 0 },
|
|
34
|
+
readonly: { type: Boolean, required: false, default: false },
|
|
35
|
+
step: { type: Number, required: false, default: 1 },
|
|
36
|
+
stepMultiplier: { type: Number, required: false, default: 4 },
|
|
37
|
+
ui: { type: Object, required: false, default: void 0 }
|
|
38
|
+
});
|
|
39
|
+
const emit = defineEmits(["change", "release"]);
|
|
40
|
+
const activeHandle = ref("lower");
|
|
41
|
+
const corrected = ref(void 0);
|
|
42
|
+
const drafts = ref({});
|
|
43
|
+
const sliderEl = ref(null);
|
|
44
|
+
let dragging;
|
|
45
|
+
const ui = useTheme(
|
|
46
|
+
"slider",
|
|
47
|
+
() => props.ui,
|
|
48
|
+
() => ({
|
|
49
|
+
disabled: String(props.disabled),
|
|
50
|
+
invalid: String(props.invalid),
|
|
51
|
+
range: String(valueUpper.value !== void 0),
|
|
52
|
+
readOnly: String(props.readonly),
|
|
53
|
+
warn: String(!props.invalid && props.warn)
|
|
54
|
+
})
|
|
55
|
+
);
|
|
56
|
+
const fallbackId = useId();
|
|
57
|
+
const range = computed(() => valueUpper.value !== void 0);
|
|
58
|
+
const controlId = computed(() => props.id ?? fallbackId);
|
|
59
|
+
const labelId = computed(() => `${controlId.value}-label`);
|
|
60
|
+
const messageId = computed(() => `${controlId.value}-message`);
|
|
61
|
+
const describedBy = computed(() => message.value ? messageId.value : void 0);
|
|
62
|
+
const lower = computed(() => clamp(model.value ?? props.min, props.min, range.value ? valueUpper.value ?? props.max : props.max));
|
|
63
|
+
const upper = computed(() => range.value ? clamp(valueUpper.value ?? props.max, lower.value, props.max) : void 0);
|
|
64
|
+
const message = computed(() => props.invalid ? props.invalidText : props.warn ? props.warnText : void 0);
|
|
65
|
+
const handles = computed(() => {
|
|
66
|
+
const lowerHandle = {
|
|
67
|
+
id: range.value ? void 0 : controlId.value,
|
|
68
|
+
ariaLabel: range.value ? props.ariaLabelInput : void 0,
|
|
69
|
+
ariaLabelledby: range.value ? void 0 : labelId.value,
|
|
70
|
+
class: cn(ui.value.thumb, ui.value.thumbLower),
|
|
71
|
+
iconClass: ui.value.thumbIcon,
|
|
72
|
+
iconFocusClass: ui.value.thumbIconFocus,
|
|
73
|
+
percent: percentOf(lower.value),
|
|
74
|
+
position: "lower",
|
|
75
|
+
text: format(lower.value),
|
|
76
|
+
value: lower.value,
|
|
77
|
+
valueMax: range.value ? upper.value ?? props.max : props.max,
|
|
78
|
+
valueMin: props.min
|
|
79
|
+
};
|
|
80
|
+
if (!range.value) return [lowerHandle];
|
|
81
|
+
return [
|
|
82
|
+
lowerHandle,
|
|
83
|
+
{
|
|
84
|
+
id: void 0,
|
|
85
|
+
ariaLabel: props.ariaLabelInputUpper,
|
|
86
|
+
ariaLabelledby: void 0,
|
|
87
|
+
class: cn(ui.value.thumb, ui.value.thumbUpper),
|
|
88
|
+
iconClass: ui.value.thumbIcon,
|
|
89
|
+
iconFocusClass: ui.value.thumbIconFocus,
|
|
90
|
+
percent: percentOf(upper.value ?? props.max),
|
|
91
|
+
position: "upper",
|
|
92
|
+
text: format(upper.value ?? props.max),
|
|
93
|
+
value: upper.value ?? props.max,
|
|
94
|
+
valueMax: props.max,
|
|
95
|
+
valueMin: lower.value
|
|
96
|
+
}
|
|
97
|
+
];
|
|
98
|
+
});
|
|
99
|
+
const fill = computed(() => {
|
|
100
|
+
const start = range.value ? percentOf(lower.value) : 0;
|
|
101
|
+
const end = percentOf(range.value ? upper.value ?? props.max : lower.value);
|
|
102
|
+
return { inlineSize: `${Math.max(end - start, 0)}%`, insetInlineStart: `${start}%` };
|
|
103
|
+
});
|
|
104
|
+
function clamp(value, min, max) {
|
|
105
|
+
return Math.min(Math.max(value, min), max);
|
|
106
|
+
}
|
|
107
|
+
function format(value, label) {
|
|
108
|
+
return props.formatLabel ? props.formatLabel(value, label) : `${value}${label ?? ""}`;
|
|
109
|
+
}
|
|
110
|
+
function round(value) {
|
|
111
|
+
const decimals = (props.step.toString().split(".")[1] ?? "").length;
|
|
112
|
+
return Number(value.toFixed(decimals));
|
|
113
|
+
}
|
|
114
|
+
function percentOf(value) {
|
|
115
|
+
const span = props.max - props.min;
|
|
116
|
+
return span <= 0 ? 0 : clamp((value - props.min) / span, 0, 1) * 100;
|
|
117
|
+
}
|
|
118
|
+
function boundsFor(handle) {
|
|
119
|
+
if (!range.value) return { max: props.max, min: props.min };
|
|
120
|
+
return handle === "upper" ? { max: props.max, min: lower.value } : { max: upper.value ?? props.max, min: props.min };
|
|
121
|
+
}
|
|
122
|
+
function payload() {
|
|
123
|
+
return { value: lower.value, valueUpper: upper.value };
|
|
124
|
+
}
|
|
125
|
+
function apply(handle, next) {
|
|
126
|
+
const bounds = boundsFor(handle);
|
|
127
|
+
const value = round(clamp(next, bounds.min, bounds.max));
|
|
128
|
+
if (handle === "upper") {
|
|
129
|
+
if (valueUpper.value === value) return;
|
|
130
|
+
valueUpper.value = value;
|
|
131
|
+
} else {
|
|
132
|
+
if (model.value === value) return;
|
|
133
|
+
model.value = value;
|
|
134
|
+
}
|
|
135
|
+
emit("change", payload());
|
|
136
|
+
}
|
|
137
|
+
function valueFromPointer(clientX) {
|
|
138
|
+
const element = sliderEl.value;
|
|
139
|
+
if (!element) return props.min;
|
|
140
|
+
const rect = element.getBoundingClientRect();
|
|
141
|
+
const width = rect.width || 1;
|
|
142
|
+
const rtl = getComputedStyle(element).direction === "rtl";
|
|
143
|
+
const offset = rtl ? rect.right - clientX : clientX - rect.left;
|
|
144
|
+
const percent = clamp(offset / width, 0, 1);
|
|
145
|
+
const steps = Math.max(Math.floor((props.max - props.min) / props.step) + 1, 2);
|
|
146
|
+
const index = Math.round(percent * (steps - 1));
|
|
147
|
+
return index === steps - 1 ? props.max : round(props.min + props.step * index);
|
|
148
|
+
}
|
|
149
|
+
function handleFor(value) {
|
|
150
|
+
if (!range.value) return "lower";
|
|
151
|
+
return Math.abs(value - lower.value) <= Math.abs(value - (upper.value ?? props.max)) ? "lower" : "upper";
|
|
152
|
+
}
|
|
153
|
+
function focusHandle(handle) {
|
|
154
|
+
const thumbs = sliderEl.value?.querySelectorAll('[role="slider"]');
|
|
155
|
+
thumbs?.[handle === "upper" ? 1 : 0]?.focus();
|
|
156
|
+
}
|
|
157
|
+
function onPointerdown(event) {
|
|
158
|
+
if (props.disabled || props.readonly || event.button !== 0) return;
|
|
159
|
+
const next = valueFromPointer(event.clientX);
|
|
160
|
+
const handle = handleFor(next);
|
|
161
|
+
activeHandle.value = handle;
|
|
162
|
+
corrected.value = void 0;
|
|
163
|
+
dragging = event.pointerId;
|
|
164
|
+
sliderEl.value?.setPointerCapture(event.pointerId);
|
|
165
|
+
focusHandle(handle);
|
|
166
|
+
apply(handle, next);
|
|
167
|
+
event.preventDefault();
|
|
168
|
+
}
|
|
169
|
+
function onPointermove(event) {
|
|
170
|
+
if (dragging !== event.pointerId) return;
|
|
171
|
+
apply(activeHandle.value, valueFromPointer(event.clientX));
|
|
172
|
+
}
|
|
173
|
+
function onPointerup(event) {
|
|
174
|
+
if (dragging !== event.pointerId) return;
|
|
175
|
+
dragging = void 0;
|
|
176
|
+
if (sliderEl.value?.hasPointerCapture(event.pointerId)) sliderEl.value.releasePointerCapture(event.pointerId);
|
|
177
|
+
emit("release", payload());
|
|
178
|
+
}
|
|
179
|
+
function onKeydown(event) {
|
|
180
|
+
if (props.disabled || props.readonly) return;
|
|
181
|
+
corrected.value = void 0;
|
|
182
|
+
const handle = activeHandle.value;
|
|
183
|
+
const bounds = boundsFor(handle);
|
|
184
|
+
if (event.key === "End") {
|
|
185
|
+
event.preventDefault();
|
|
186
|
+
apply(handle, bounds.max);
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
if (event.key === "Home") {
|
|
190
|
+
event.preventDefault();
|
|
191
|
+
apply(handle, bounds.min);
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
const direction = ["ArrowDown", "ArrowLeft"].includes(event.key) ? -1 : ["ArrowRight", "ArrowUp"].includes(event.key) ? 1 : 0;
|
|
195
|
+
if (direction === 0) return;
|
|
196
|
+
const current = handle === "upper" ? upper.value ?? props.max : lower.value;
|
|
197
|
+
const delta = direction * props.step * (event.shiftKey ? props.stepMultiplier : 1);
|
|
198
|
+
const base = delta > 0 ? Math.round(current / props.step) * props.step : current;
|
|
199
|
+
event.preventDefault();
|
|
200
|
+
apply(handle, round(base + delta));
|
|
201
|
+
}
|
|
202
|
+
function inputValue(handle) {
|
|
203
|
+
const draft = drafts.value[handle];
|
|
204
|
+
if (draft !== void 0) return draft;
|
|
205
|
+
return String(handle === "upper" ? upper.value ?? props.max : lower.value);
|
|
206
|
+
}
|
|
207
|
+
function commitInput(handle, typed) {
|
|
208
|
+
if (props.disabled || props.readonly) return;
|
|
209
|
+
const bounds = boundsFor(handle);
|
|
210
|
+
const adjusted = clamp(typed, bounds.min, bounds.max);
|
|
211
|
+
corrected.value = adjusted === typed ? void 0 : typed;
|
|
212
|
+
delete drafts.value[handle];
|
|
213
|
+
apply(handle, adjusted);
|
|
214
|
+
}
|
|
215
|
+
function onInput(handle, event) {
|
|
216
|
+
const raw = event.target.value;
|
|
217
|
+
const typed = Number.parseFloat(raw);
|
|
218
|
+
corrected.value = void 0;
|
|
219
|
+
if (Number.isNaN(typed) || typed < props.min || typed > props.max) {
|
|
220
|
+
drafts.value[handle] = raw;
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
commitInput(handle, typed);
|
|
224
|
+
}
|
|
225
|
+
function onInputCommit(handle, event) {
|
|
226
|
+
const typed = Number.parseFloat(event.target.value);
|
|
227
|
+
if (Number.isNaN(typed)) {
|
|
228
|
+
delete drafts.value[handle];
|
|
229
|
+
corrected.value = void 0;
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
commitInput(handle, typed);
|
|
233
|
+
}
|
|
234
|
+
</script>
|
|
235
|
+
|
|
236
|
+
<template>
|
|
237
|
+
<div :class="ui.field">
|
|
238
|
+
<FormLabel
|
|
239
|
+
:id="labelId"
|
|
240
|
+
:disabled="props.disabled"
|
|
241
|
+
:for="controlId"
|
|
242
|
+
:hideLabel="props.hideLabel"
|
|
243
|
+
:invalid="props.invalid"
|
|
244
|
+
>
|
|
245
|
+
{{ props.labelText }}
|
|
246
|
+
</FormLabel>
|
|
247
|
+
|
|
248
|
+
<div :class="ui.container">
|
|
249
|
+
<div
|
|
250
|
+
v-if="range && !props.hideTextInput"
|
|
251
|
+
:class="ui.inputWrapper"
|
|
252
|
+
>
|
|
253
|
+
<PrimitiveControl :ui="{ root: ui.inputBox }">
|
|
254
|
+
<input
|
|
255
|
+
:aria-describedby="describedBy"
|
|
256
|
+
:aria-invalid="props.invalid || void 0"
|
|
257
|
+
:aria-label="props.ariaLabelInput"
|
|
258
|
+
:aria-labelledby="props.ariaLabelInput ? void 0 : labelId"
|
|
259
|
+
:class="ui.input"
|
|
260
|
+
:disabled="props.disabled"
|
|
261
|
+
:max="props.inputType === 'number' ? props.max : void 0"
|
|
262
|
+
:min="props.inputType === 'number' ? props.min : void 0"
|
|
263
|
+
:name="props.name"
|
|
264
|
+
:readonly="props.readonly"
|
|
265
|
+
:required="props.required"
|
|
266
|
+
:step="props.inputType === 'number' ? props.step : void 0"
|
|
267
|
+
:type="props.inputType"
|
|
268
|
+
:value="inputValue('lower')"
|
|
269
|
+
@blur="onInputCommit('lower', $event)"
|
|
270
|
+
@input="onInput('lower', $event)"
|
|
271
|
+
@keydown.enter="onInputCommit('lower', $event)"
|
|
272
|
+
/>
|
|
273
|
+
</PrimitiveControl>
|
|
274
|
+
</div>
|
|
275
|
+
|
|
276
|
+
<span :class="ui.rangeLabel">{{ format(props.min, props.minLabel) }}</span>
|
|
277
|
+
|
|
278
|
+
<div
|
|
279
|
+
ref="sliderEl"
|
|
280
|
+
:class="ui.slider"
|
|
281
|
+
:data-invalid="props.invalid || void 0"
|
|
282
|
+
role="presentation"
|
|
283
|
+
:tabindex="-1"
|
|
284
|
+
@keydown="onKeydown"
|
|
285
|
+
@pointercancel="onPointerup"
|
|
286
|
+
@pointerdown="onPointerdown"
|
|
287
|
+
@pointermove="onPointermove"
|
|
288
|
+
@pointerup="onPointerup"
|
|
289
|
+
>
|
|
290
|
+
<div :class="ui.track" />
|
|
291
|
+
|
|
292
|
+
<div
|
|
293
|
+
:class="ui.filledTrack"
|
|
294
|
+
:style="fill"
|
|
295
|
+
/>
|
|
296
|
+
|
|
297
|
+
<template
|
|
298
|
+
v-for="handle in handles"
|
|
299
|
+
:key="handle.position"
|
|
300
|
+
>
|
|
301
|
+
<!-- Sin caja numérica el valor solo se ve en el aviso, así que ahí sí envuelve. -->
|
|
302
|
+
<Tooltip
|
|
303
|
+
v-if="props.hideTextInput"
|
|
304
|
+
:delay="0"
|
|
305
|
+
:disabled="props.disabled"
|
|
306
|
+
:text="handle.text"
|
|
307
|
+
>
|
|
308
|
+
<!--
|
|
309
|
+
El nombre viaja escrito en la etiqueta y no solo dentro del tirador:
|
|
310
|
+
el aviso clona el nodo del disparador y, al hacerlo, solo conserva los
|
|
311
|
+
atributos que ya venían puestos en él. Sin esto, el tirador perdía su
|
|
312
|
+
`aria-labelledby` y se quedaba sin nombre accesible en cuanto se ocultaba
|
|
313
|
+
la caja numérica.
|
|
314
|
+
-->
|
|
315
|
+
<SliderThumb
|
|
316
|
+
:aria-label="handle.ariaLabel"
|
|
317
|
+
:aria-labelledby="handle.ariaLabelledby"
|
|
318
|
+
:range="range"
|
|
319
|
+
:tabbable="!props.disabled && !props.readonly"
|
|
320
|
+
:thumb="handle"
|
|
321
|
+
@focus="activeHandle = handle.position"
|
|
322
|
+
/>
|
|
323
|
+
</Tooltip>
|
|
324
|
+
|
|
325
|
+
<SliderThumb
|
|
326
|
+
v-else
|
|
327
|
+
:describedBy="describedBy"
|
|
328
|
+
:range="range"
|
|
329
|
+
:tabbable="!props.disabled && !props.readonly"
|
|
330
|
+
:thumb="handle"
|
|
331
|
+
@focus="activeHandle = handle.position"
|
|
332
|
+
/>
|
|
333
|
+
</template>
|
|
334
|
+
</div>
|
|
335
|
+
|
|
336
|
+
<span :class="ui.rangeLabel">{{ format(props.max, props.maxLabel) }}</span>
|
|
337
|
+
|
|
338
|
+
<div
|
|
339
|
+
v-if="!props.hideTextInput"
|
|
340
|
+
:class="ui.inputWrapper"
|
|
341
|
+
>
|
|
342
|
+
<PrimitiveControl :ui="{ root: ui.inputBox }">
|
|
343
|
+
<input
|
|
344
|
+
:aria-describedby="describedBy"
|
|
345
|
+
:aria-invalid="props.invalid || void 0"
|
|
346
|
+
:aria-label="range ? props.ariaLabelInputUpper : props.ariaLabelInput"
|
|
347
|
+
:aria-labelledby="range || props.ariaLabelInput ? void 0 : labelId"
|
|
348
|
+
:class="ui.input"
|
|
349
|
+
:disabled="props.disabled"
|
|
350
|
+
:max="props.inputType === 'number' ? props.max : void 0"
|
|
351
|
+
:min="props.inputType === 'number' ? props.min : void 0"
|
|
352
|
+
:name="range ? props.nameUpper : props.name"
|
|
353
|
+
:readonly="props.readonly"
|
|
354
|
+
:required="props.required"
|
|
355
|
+
:step="props.inputType === 'number' ? props.step : void 0"
|
|
356
|
+
:type="props.inputType"
|
|
357
|
+
:value="inputValue(range ? 'upper' : 'lower')"
|
|
358
|
+
@blur="onInputCommit(range ? 'upper' : 'lower', $event)"
|
|
359
|
+
@input="onInput(range ? 'upper' : 'lower', $event)"
|
|
360
|
+
@keydown.enter="onInputCommit(range ? 'upper' : 'lower', $event)"
|
|
361
|
+
/>
|
|
362
|
+
</PrimitiveControl>
|
|
363
|
+
|
|
364
|
+
<Icon
|
|
365
|
+
v-if="props.invalid"
|
|
366
|
+
:class="ui.validationIcon"
|
|
367
|
+
name="carbon:warning-filled"
|
|
368
|
+
/>
|
|
369
|
+
|
|
370
|
+
<Icon
|
|
371
|
+
v-else-if="props.warn"
|
|
372
|
+
:class="ui.validationIcon"
|
|
373
|
+
name="carbon:warning-alt-filled"
|
|
374
|
+
/>
|
|
375
|
+
</div>
|
|
376
|
+
|
|
377
|
+
<!-- Sin caja numérica el valor sigue viajando con el formulario. -->
|
|
378
|
+
<input
|
|
379
|
+
v-if="props.hideTextInput && props.name"
|
|
380
|
+
:name="props.name"
|
|
381
|
+
type="hidden"
|
|
382
|
+
:value="lower"
|
|
383
|
+
/>
|
|
384
|
+
|
|
385
|
+
<input
|
|
386
|
+
v-if="props.hideTextInput && range && props.nameUpper"
|
|
387
|
+
:name="props.nameUpper"
|
|
388
|
+
type="hidden"
|
|
389
|
+
:value="upper"
|
|
390
|
+
/>
|
|
391
|
+
</div>
|
|
392
|
+
|
|
393
|
+
<div
|
|
394
|
+
v-if="message"
|
|
395
|
+
:id="messageId"
|
|
396
|
+
:class="ui.validation"
|
|
397
|
+
>
|
|
398
|
+
{{ message }}
|
|
399
|
+
</div>
|
|
400
|
+
|
|
401
|
+
<!--
|
|
402
|
+
El texto está escrito aquí y no en `theme/messages.ts` porque añadir
|
|
403
|
+
una clave obliga a tocar `types/theme.ts`, que pertenece a otra
|
|
404
|
+
tarea. Queda anotado: su sitio es el catálogo de mensajes.
|
|
405
|
+
-->
|
|
406
|
+
<div
|
|
407
|
+
v-if="corrected !== void 0"
|
|
408
|
+
:class="ui.statusMessage"
|
|
409
|
+
role="alert"
|
|
410
|
+
>
|
|
411
|
+
El valor {{ corrected }} se ajustó al permitido más próximo.
|
|
412
|
+
</div>
|
|
413
|
+
</div>
|
|
414
|
+
</template>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { SliderChange, SliderProps } from './Slider.types.js';
|
|
2
|
+
type __VLS_Props = SliderProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: number | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* El segundo valor convierte el control en un rango.
|
|
7
|
+
*
|
|
8
|
+
* Vuno lo llama `unstable_valueUpper` porque su implementación en React
|
|
9
|
+
* todavía se mueve; aquí es `v-model:valueUpper`, el nombre de la
|
|
10
|
+
* capacidad y no el del estado de aquel código. La variante sí está
|
|
11
|
+
* documentada y estabilizada en el sistema de diseño.
|
|
12
|
+
*/
|
|
13
|
+
'valueUpper'?: number | undefined;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
change: (args_0: SliderChange) => any;
|
|
18
|
+
"update:modelValue": (value: number | undefined) => any;
|
|
19
|
+
release: (args_0: SliderChange) => any;
|
|
20
|
+
"update:valueUpper": (value: number | undefined) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
onChange?: ((args_0: SliderChange) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
|
|
24
|
+
onRelease?: ((args_0: SliderChange) => any) | undefined;
|
|
25
|
+
"onUpdate:valueUpper"?: ((value: number | undefined) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
invalid: boolean;
|
|
29
|
+
warn: boolean;
|
|
30
|
+
name: string;
|
|
31
|
+
hideLabel: boolean;
|
|
32
|
+
step: number;
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
id: string;
|
|
35
|
+
ui: import("../../types/slots.js").ComponentUi<"slider">;
|
|
36
|
+
required: boolean;
|
|
37
|
+
invalidText: string;
|
|
38
|
+
warnText: string;
|
|
39
|
+
ariaLabelInput: string;
|
|
40
|
+
ariaLabelInputUpper: string;
|
|
41
|
+
formatLabel: import("./Slider.types.js").SliderFormatLabel;
|
|
42
|
+
hideTextInput: boolean;
|
|
43
|
+
inputType: "number" | "text";
|
|
44
|
+
maxLabel: string;
|
|
45
|
+
minLabel: string;
|
|
46
|
+
nameUpper: string;
|
|
47
|
+
stepMultiplier: number;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const _default: typeof __VLS_export;
|
|
50
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { SliderHandle } from './Slider.types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Todo lo que un tirador necesita para pintarse y anunciarse.
|
|
4
|
+
*
|
|
5
|
+
* Vive aquí y no en `Slider.types.ts` porque no es contrato público: lo
|
|
6
|
+
* calcula el componente y lo consume su pieza interna, y publicarlo invitaría
|
|
7
|
+
* a construirlo desde fuera.
|
|
8
|
+
*/
|
|
9
|
+
export type SliderThumbView = {
|
|
10
|
+
id?: string;
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
ariaLabelledby?: string;
|
|
13
|
+
class: string;
|
|
14
|
+
iconClass: string;
|
|
15
|
+
iconFocusClass: string;
|
|
16
|
+
percent: number;
|
|
17
|
+
position: SliderHandle;
|
|
18
|
+
text: string;
|
|
19
|
+
value: number;
|
|
20
|
+
valueMax: number;
|
|
21
|
+
valueMin: number;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Las dos manillas del rango, copiadas de `SliderHandles.tsx` de Vuno.
|
|
25
|
+
*
|
|
26
|
+
* Son trazados y no iconos del catálogo: Vuno las dibuja a medida en el
|
|
27
|
+
* propio componente porque no existen en `upstream/icons`, y pedirlas a
|
|
28
|
+
* `@nuxt/icon` daría un icono parecido pero no el mismo. El lienzo es de
|
|
29
|
+
* 16 × 24, con la punta hacia el centro del intervalo.
|
|
30
|
+
*
|
|
31
|
+
* Cada manilla tiene dos versiones. La segunda es la de foco: repite el
|
|
32
|
+
* trazado y le añade el marco que Vuno enseña al enfocar, y el intercambio
|
|
33
|
+
* lo hace el tema con `group-focus`, no una rama en la plantilla.
|
|
34
|
+
*/
|
|
35
|
+
export declare const handlePaths: Record<SliderHandle, {
|
|
36
|
+
base: string[];
|
|
37
|
+
focus: string[];
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const handlePaths = {
|
|
2
|
+
lower: {
|
|
3
|
+
base: ["M15.08 6.46H16v11.08h-.92zM4.46 17.54c-.25 0-.46-.21-.46-.46V6.92a.465.465 0 0 1 .69-.4l8.77 5.08a.46.46 0 0 1 0 .8l-8.77 5.08c-.07.04-.15.06-.23.06Z"],
|
|
4
|
+
focus: ["M15.08 6.46H16v11.08h-.92zM4.46 17.54c-.25 0-.46-.21-.46-.46V6.92a.465.465 0 0 1 .69-.4l8.77 5.08a.46.46 0 0 1 0 .8l-8.77 5.08c-.07.04-.15.06-.23.06Z", "M15.08 0H16v6.46h-.92z", "M0 0h.92v24H0zM15.08 0H16v24h-.92z", "M0 .92V0h16v.92zM0 24v-.92h16V24z"]
|
|
5
|
+
},
|
|
6
|
+
upper: {
|
|
7
|
+
base: ["M0 6.46h.92v11.08H0zM11.54 6.46c.25 0 .46.21.46.46v10.15a.465.465 0 0 1-.69.4L2.54 12.4a.46.46 0 0 1 0-.8l8.77-5.08c.07-.04.15-.06.23-.06Z"],
|
|
8
|
+
focus: ["M0 6.46h.92v11.08H0zM11.54 6.46c.25 0 .46.21.46.46v10.15a.465.465 0 0 1-.69.4L2.54 12.4a.46.46 0 0 1 0-.8l8.77-5.08c.07-.04.15-.06.23-.06Z", "M.92 24H0v-6.46h.92z", "M16 24h-.92V0H16zM.92 24H0V0h.92z", "M16 23.08V24H0v-.92zM16 0v.92H0V0z"]
|
|
9
|
+
}
|
|
10
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SliderThumbView } from '#vuno/components/Slider/handles';
|
|
2
|
+
type Props = {
|
|
3
|
+
/** El mensaje de validación que describe el control, si lo hay. */
|
|
4
|
+
describedBy?: string;
|
|
5
|
+
/** Dibuja las manillas del rango en lugar del círculo de un solo valor. */
|
|
6
|
+
range: boolean;
|
|
7
|
+
/** Deshabilitado y solo lectura lo sacan del recorrido de foco. */
|
|
8
|
+
tabbable?: boolean;
|
|
9
|
+
thumb: SliderThumbView;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
describedBy: string;
|
|
13
|
+
tabbable: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { handlePaths } from "#vuno/components/Slider/handles";
|
|
3
|
+
defineOptions({ name: "SliderThumb" });
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
describedBy: { type: String, required: false, default: void 0 },
|
|
6
|
+
range: { type: Boolean, required: true },
|
|
7
|
+
tabbable: { type: Boolean, required: false, default: true },
|
|
8
|
+
thumb: { type: Object, required: true }
|
|
9
|
+
});
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<template>
|
|
13
|
+
<div
|
|
14
|
+
:id="props.thumb.id"
|
|
15
|
+
:aria-describedby="props.describedBy"
|
|
16
|
+
:aria-label="props.thumb.ariaLabel"
|
|
17
|
+
:aria-labelledby="props.thumb.ariaLabelledby"
|
|
18
|
+
aria-orientation="horizontal"
|
|
19
|
+
:aria-valuemax="props.thumb.valueMax"
|
|
20
|
+
:aria-valuemin="props.thumb.valueMin"
|
|
21
|
+
:aria-valuenow="props.thumb.value"
|
|
22
|
+
:aria-valuetext="props.thumb.text"
|
|
23
|
+
:class="props.thumb.class"
|
|
24
|
+
:data-handle="props.thumb.position"
|
|
25
|
+
role="slider"
|
|
26
|
+
:style="{ insetInlineStart: `${props.thumb.percent}%` }"
|
|
27
|
+
:tabindex="props.tabbable ? 0 : void 0"
|
|
28
|
+
>
|
|
29
|
+
<template v-if="props.range">
|
|
30
|
+
<svg
|
|
31
|
+
:class="props.thumb.iconClass"
|
|
32
|
+
viewBox="0 0 16 24"
|
|
33
|
+
>
|
|
34
|
+
<path
|
|
35
|
+
v-for="path in handlePaths[props.thumb.position].base"
|
|
36
|
+
:key="path"
|
|
37
|
+
:d="path"
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
|
|
41
|
+
<svg
|
|
42
|
+
:class="props.thumb.iconFocusClass"
|
|
43
|
+
viewBox="0 0 16 24"
|
|
44
|
+
>
|
|
45
|
+
<path
|
|
46
|
+
v-for="path in handlePaths[props.thumb.position].focus"
|
|
47
|
+
:key="path"
|
|
48
|
+
:d="path"
|
|
49
|
+
/>
|
|
50
|
+
</svg>
|
|
51
|
+
</template>
|
|
52
|
+
</div>
|
|
53
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SliderThumbView } from '#vuno/components/Slider/handles';
|
|
2
|
+
type Props = {
|
|
3
|
+
/** El mensaje de validación que describe el control, si lo hay. */
|
|
4
|
+
describedBy?: string;
|
|
5
|
+
/** Dibuja las manillas del rango en lugar del círculo de un solo valor. */
|
|
6
|
+
range: boolean;
|
|
7
|
+
/** Deshabilitado y solo lectura lo sacan del recorrido de foco. */
|
|
8
|
+
tabbable?: boolean;
|
|
9
|
+
thumb: SliderThumbView;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
describedBy: string;
|
|
13
|
+
tabbable: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { StackProps } from './Stack.types.js';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default?: () => unknown;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {
|
|
6
|
+
orientation: import("./Stack.types.js").StackOrientation;
|
|
7
|
+
gap: import("./Stack.types.js").StackGapStep | string;
|
|
8
|
+
as: import("vue").Component | string;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Los trece pasos de la escala espacial de Vuno —`$spacing-01` a
|
|
4
|
+
* `$spacing-13`, de 2 px a 160 px—, que es lo que `gap` acepta como número.
|
|
5
|
+
*
|
|
6
|
+
* Vuno publica en React `SPACING_STEPS = Array.from({ length: spacing.length
|
|
7
|
+
* - 1 }, (_, step) => step + 1)`, que se queda en doce: el `- 1` sobra y deja
|
|
8
|
+
* fuera el paso 13. Su propia hoja de estilos sí genera `.vuno--stack-scale-13`
|
|
9
|
+
* recorriendo el mapa completo, así que el paso existe y solo el `propTypes` de
|
|
10
|
+
* React lo rechaza. Aquí se admiten los trece: el token
|
|
11
|
+
* `--vuno-spacing-13` está declarado y `DESIGN.md` cuenta la escala con sus
|
|
12
|
+
* trece valores.
|
|
13
|
+
*/
|
|
14
|
+
export type StackGapStep = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13;
|
|
15
|
+
/** Eje en el que se apilan los hijos. Vuno apila en vertical de serie. */
|
|
16
|
+
export type StackOrientation = 'horizontal' | 'vertical';
|
|
17
|
+
export type StackProps = {
|
|
18
|
+
/**
|
|
19
|
+
* Raíz alternativa. Una pila suele ser la lista, la sección o el grupo de
|
|
20
|
+
* campos que ya existía en el marcado, y forzar un `div` obligaría a
|
|
21
|
+
* envolverla solo para recuperar la semántica.
|
|
22
|
+
*
|
|
23
|
+
* Con `ul` u `ol`, declara además `role="list"`: al cambiar el `display` a
|
|
24
|
+
* `grid` algunos lectores de pantalla dejan de anunciar la lista.
|
|
25
|
+
*/
|
|
26
|
+
as?: Component | string;
|
|
27
|
+
/**
|
|
28
|
+
* Separación entre hijos. Un número es un paso de la escala espacial de
|
|
29
|
+
* Vuno y se resuelve al token `--vuno-spacing-NN`; una cadena es un valor
|
|
30
|
+
* CSS propio —`'1.5rem'`, `'clamp(1rem, 2vw, 2rem)'`— que se usa tal cual.
|
|
31
|
+
*
|
|
32
|
+
* Sin declarar no hay separación, como en Vuno: `--vuno-stack-gap` cae a su
|
|
33
|
+
* valor de reserva `0`. Una pila no decide cuánto aire necesita el contenido
|
|
34
|
+
* que la usa.
|
|
35
|
+
*
|
|
36
|
+
* En plantilla, un paso se pasa como número: `:gap="5"`. `gap="5"` llegaría
|
|
37
|
+
* como cadena, y por comodidad se acepta —una cadena de solo dígitos dentro
|
|
38
|
+
* del rango se lee como paso—, porque un número sin unidad tampoco sería un
|
|
39
|
+
* `gap` válido en CSS. Un valor propio siempre lleva unidad y no entra en
|
|
40
|
+
* esa lectura.
|
|
41
|
+
*/
|
|
42
|
+
gap?: StackGapStep | string;
|
|
43
|
+
orientation?: StackOrientation;
|
|
44
|
+
};
|
|
File without changes
|