@groupteknology/vuno 2.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -611
- package/dist/module.d.mts +0 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +26 -27
- package/dist/runtime/app/AGENTS.md +30 -0
- package/dist/runtime/app/assets/css/dialog.css +1 -1
- package/dist/runtime/app/assets/css/main.css +1 -1
- package/dist/runtime/app/assets/css/skeleton.css +1 -0
- package/dist/runtime/app/assets/css/theme.css +1 -1
- package/dist/runtime/app/assets/css/tokens.css +1 -1
- package/dist/runtime/app/components/AILabel/AILabel.d.vue.ts +31 -0
- package/dist/runtime/app/components/AILabel/AILabel.theme.d.ts +89 -0
- package/dist/runtime/app/components/AILabel/AILabel.theme.js +146 -0
- package/dist/runtime/app/components/AILabel/AILabel.types.d.ts +28 -0
- package/dist/runtime/app/components/AILabel/AILabel.vue +63 -0
- package/dist/runtime/app/components/AILabel/AILabel.vue.d.ts +31 -0
- package/dist/runtime/app/components/AILabelActions/AILabelActions.d.vue.ts +13 -0
- package/dist/runtime/app/components/AILabelActions/AILabelActions.vue +8 -0
- package/dist/runtime/app/components/AILabelActions/AILabelActions.vue.d.ts +13 -0
- package/dist/runtime/app/components/AILabelContent/AILabelContent.d.vue.ts +14 -0
- package/dist/runtime/app/components/AILabelContent/AILabelContent.vue +11 -0
- package/dist/runtime/app/components/AILabelContent/AILabelContent.vue.d.ts +14 -0
- package/dist/runtime/app/components/Accordion/Accordion.context.d.ts +14 -0
- package/dist/runtime/app/components/Accordion/Accordion.context.js +1 -0
- package/dist/runtime/app/components/Accordion/Accordion.d.vue.ts +21 -0
- package/dist/runtime/app/components/Accordion/Accordion.theme.d.ts +73 -0
- package/dist/runtime/app/components/Accordion/Accordion.theme.js +56 -0
- package/dist/runtime/app/components/Accordion/Accordion.types.d.ts +20 -0
- package/dist/runtime/app/components/Accordion/Accordion.vue +26 -0
- package/dist/runtime/app/components/Accordion/Accordion.vue.d.ts +21 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.d.vue.ts +38 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.types.d.ts +16 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.vue +64 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.vue.d.ts +38 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.d.vue.ts +33 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.types.d.ts +15 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.vue +137 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.vue.d.ts +33 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.d.vue.ts +16 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.types.d.ts +31 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.types.js +1 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.vue +24 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.vue.d.ts +16 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.context.d.ts +13 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.context.js +1 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.d.vue.ts +19 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.d.ts +32 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.js +36 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.types.d.ts +12 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue +30 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue.d.ts +19 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.d.vue.ts +27 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.types.d.ts +13 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.vue +65 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.vue.d.ts +27 -0
- package/dist/runtime/app/components/Button/Button.d.vue.ts +11 -33
- package/dist/runtime/app/components/Button/Button.theme.d.ts +171 -64
- package/dist/runtime/app/components/Button/Button.theme.js +83 -48
- package/dist/runtime/app/components/Button/Button.types.d.ts +43 -0
- package/dist/runtime/app/components/Button/Button.vue +89 -43
- package/dist/runtime/app/components/Button/Button.vue.d.ts +11 -33
- package/dist/runtime/app/components/ButtonSet/ButtonSet.d.vue.ts +17 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.theme.d.ts +15 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.theme.js +12 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.types.d.ts +13 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.vue +19 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.vue.d.ts +17 -0
- package/dist/runtime/app/components/Callout/Callout.d.vue.ts +26 -0
- package/dist/runtime/app/components/Callout/Callout.types.d.ts +17 -0
- package/dist/runtime/app/components/Callout/Callout.vue +80 -0
- package/dist/runtime/app/components/Callout/Callout.vue.d.ts +26 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.d.vue.ts +35 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.theme.d.ts +63 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.theme.js +29 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.types.d.ts +27 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.vue +118 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.vue.d.ts +35 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.d.vue.ts +35 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.theme.d.ts +63 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.theme.js +24 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.types.d.ts +42 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.vue +104 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.vue.d.ts +35 -0
- package/dist/runtime/app/components/CheckboxGroup/internal/context.d.ts +19 -0
- package/dist/runtime/app/components/CheckboxGroup/internal/context.js +1 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.d.vue.ts +21 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.types.d.ts +25 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.types.js +0 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.vue +67 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.vue.d.ts +21 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.d.vue.ts +25 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.theme.d.ts +101 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.theme.js +84 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.types.d.ts +53 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.types.js +0 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.vue +232 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.vue.d.ts +25 -0
- package/dist/runtime/app/components/CodeSnippet/syntax.d.ts +8 -0
- package/dist/runtime/app/components/CodeSnippet/syntax.js +28 -0
- package/dist/runtime/app/components/Column/Column.d.vue.ts +21 -0
- package/dist/runtime/app/components/Column/Column.types.d.ts +52 -0
- package/dist/runtime/app/components/Column/Column.types.js +0 -0
- package/dist/runtime/app/components/Column/Column.vue +31 -0
- package/dist/runtime/app/components/Column/Column.vue.d.ts +21 -0
- package/dist/runtime/app/components/Column/span.d.ts +22 -0
- package/dist/runtime/app/components/Column/span.js +42 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.d.vue.ts +55 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.types.d.ts +69 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.types.js +0 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.vue +290 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.vue.d.ts +55 -0
- package/dist/runtime/app/components/ComboBox/useComboBoxState.d.ts +44 -0
- package/dist/runtime/app/components/ComboBox/useComboBoxState.js +205 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.d.vue.ts +31 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.types.d.ts +22 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.types.js +0 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.vue +78 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.vue.d.ts +31 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.context.d.ts +14 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.context.js +1 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.d.vue.ts +21 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.theme.d.ts +104 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.theme.js +48 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.types.d.ts +25 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.types.js +0 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.vue +55 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.vue.d.ts +21 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.d.vue.ts +20 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.types.d.ts +20 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.types.js +0 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.vue +90 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.vue.d.ts +20 -0
- package/dist/runtime/app/components/Content/Content.d.vue.ts +23 -0
- package/dist/runtime/app/components/Content/Content.vue +21 -0
- package/dist/runtime/app/components/Content/Content.vue.d.ts +23 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.context.d.ts +18 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.context.js +1 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.d.vue.ts +32 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.theme.d.ts +51 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.theme.js +43 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.types.d.ts +21 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.types.js +0 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.vue +56 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.vue.d.ts +32 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.d.vue.ts +18 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.theme.d.ts +7 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.theme.js +8 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.types.d.ts +29 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.types.js +0 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.vue +76 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.vue.d.ts +18 -0
- package/dist/runtime/app/components/DataTable/DataTable.context.d.ts +50 -0
- package/dist/runtime/app/components/DataTable/DataTable.context.js +16 -0
- package/dist/runtime/app/components/DataTable/DataTable.d.vue.ts +51 -0
- package/dist/runtime/app/components/DataTable/DataTable.theme.d.ts +180 -0
- package/dist/runtime/app/components/DataTable/DataTable.theme.js +175 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.d.ts +154 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.js +0 -0
- package/dist/runtime/app/components/DataTable/DataTable.vue +210 -0
- package/dist/runtime/app/components/DataTable/DataTable.vue.d.ts +51 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.d.vue.ts +45 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.theme.d.ts +151 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.theme.js +149 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.types.d.ts +64 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.types.js +0 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.vue +473 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.vue.d.ts +45 -0
- package/dist/runtime/app/components/DatePicker/date.d.ts +104 -0
- package/dist/runtime/app/components/DatePicker/date.js +151 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.d.vue.ts +25 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.theme.d.ts +66 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.theme.js +23 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.types.d.ts +43 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.types.js +0 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.vue +171 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.vue.d.ts +25 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.d.vue.ts +180 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.theme.d.ts +109 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.theme.js +206 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.types.d.ts +65 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.types.js +0 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.vue +346 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.vue.d.ts +180 -0
- package/dist/runtime/app/components/Dropdown/option.d.ts +25 -0
- package/dist/runtime/app/components/Dropdown/useDropdownState.d.ts +33 -0
- package/dist/runtime/app/components/Dropdown/useDropdownState.js +182 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.d.vue.ts +31 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.types.d.ts +27 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.types.js +0 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.vue +103 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.vue.d.ts +31 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.d.vue.ts +35 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.theme.d.ts +109 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.theme.js +87 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.types.d.ts +68 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.types.js +0 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.vue +140 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.vue.d.ts +35 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderButton/FileUploaderButton.d.vue.ts +31 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderButton/FileUploaderButton.vue +72 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderButton/FileUploaderButton.vue.d.ts +31 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderDropContainer/FileUploaderDropContainer.d.vue.ts +27 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderDropContainer/FileUploaderDropContainer.vue +109 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderDropContainer/FileUploaderDropContainer.vue.d.ts +27 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderItem/FileUploaderItem.d.vue.ts +29 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderItem/FileUploaderItem.vue +107 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderItem/FileUploaderItem.vue.d.ts +29 -0
- package/dist/runtime/app/components/FileUploader/internal/files.d.ts +62 -0
- package/dist/runtime/app/components/FileUploader/internal/files.js +59 -0
- package/dist/runtime/app/components/Form/Form.d.vue.ts +14 -49
- package/dist/runtime/app/components/Form/Form.theme.d.ts +20 -5
- package/dist/runtime/app/components/Form/Form.theme.js +6 -6
- package/dist/runtime/app/components/Form/Form.types.d.ts +1 -0
- package/dist/runtime/app/components/Form/Form.types.js +0 -0
- package/dist/runtime/app/components/Form/Form.vue +9 -119
- package/dist/runtime/app/components/Form/Form.vue.d.ts +14 -49
- package/dist/runtime/app/components/FormGroup/FormGroup.d.vue.ts +21 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.theme.d.ts +45 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.theme.js +24 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.types.d.ts +1 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.types.js +0 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.vue +48 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.vue.d.ts +21 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.d.vue.ts +21 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.theme.d.ts +42 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.theme.js +24 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.types.d.ts +1 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.types.js +0 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.vue +28 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.vue.d.ts +21 -0
- package/dist/runtime/app/components/Grid/Grid.context.d.ts +11 -0
- package/dist/runtime/app/components/Grid/Grid.context.js +1 -0
- package/dist/runtime/app/components/Grid/Grid.d.vue.ts +19 -0
- package/dist/runtime/app/components/Grid/Grid.types.d.ts +39 -0
- package/dist/runtime/app/components/Grid/Grid.types.js +0 -0
- package/dist/runtime/app/components/Grid/Grid.vue +29 -0
- package/dist/runtime/app/components/Grid/Grid.vue.d.ts +19 -0
- package/dist/runtime/app/components/Header/Header.d.vue.ts +18 -0
- package/dist/runtime/app/components/Header/Header.theme.d.ts +105 -0
- package/dist/runtime/app/components/Header/Header.theme.js +89 -0
- package/dist/runtime/app/components/Header/Header.types.d.ts +23 -0
- package/dist/runtime/app/components/Header/Header.types.js +0 -0
- package/dist/runtime/app/components/Header/Header.vue +20 -0
- package/dist/runtime/app/components/Header/Header.vue.d.ts +18 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.context.d.ts +7 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.context.js +1 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.d.vue.ts +24 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.vue +26 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.vue.d.ts +24 -0
- package/dist/runtime/app/components/HeaderGlobalAction/HeaderGlobalAction.d.vue.ts +13 -0
- package/dist/runtime/app/components/HeaderGlobalAction/HeaderGlobalAction.vue +28 -0
- package/dist/runtime/app/components/HeaderGlobalAction/HeaderGlobalAction.vue.d.ts +13 -0
- package/dist/runtime/app/components/HeaderGlobalBar/HeaderGlobalBar.d.vue.ts +19 -0
- package/dist/runtime/app/components/HeaderGlobalBar/HeaderGlobalBar.vue +14 -0
- package/dist/runtime/app/components/HeaderGlobalBar/HeaderGlobalBar.vue.d.ts +19 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.context.d.ts +18 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.context.js +1 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.d.vue.ts +26 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.vue +90 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.vue.d.ts +26 -0
- package/dist/runtime/app/components/HeaderMenuButton/HeaderMenuButton.d.vue.ts +25 -0
- package/dist/runtime/app/components/HeaderMenuButton/HeaderMenuButton.vue +47 -0
- package/dist/runtime/app/components/HeaderMenuButton/HeaderMenuButton.vue.d.ts +25 -0
- package/dist/runtime/app/components/HeaderMenuItem/HeaderMenuItem.d.vue.ts +32 -0
- package/dist/runtime/app/components/HeaderMenuItem/HeaderMenuItem.vue +52 -0
- package/dist/runtime/app/components/HeaderMenuItem/HeaderMenuItem.vue.d.ts +32 -0
- package/dist/runtime/app/components/HeaderName/HeaderName.d.vue.ts +24 -0
- package/dist/runtime/app/components/HeaderName/HeaderName.vue +31 -0
- package/dist/runtime/app/components/HeaderName/HeaderName.vue.d.ts +24 -0
- package/dist/runtime/app/components/HeaderNavigation/HeaderNavigation.d.vue.ts +23 -0
- package/dist/runtime/app/components/HeaderNavigation/HeaderNavigation.vue +22 -0
- package/dist/runtime/app/components/HeaderNavigation/HeaderNavigation.vue.d.ts +23 -0
- package/dist/runtime/app/components/HeaderPanel/HeaderPanel.d.vue.ts +37 -0
- package/dist/runtime/app/components/HeaderPanel/HeaderPanel.vue +56 -0
- package/dist/runtime/app/components/HeaderPanel/HeaderPanel.vue.d.ts +37 -0
- package/dist/runtime/app/components/HeaderSideNavItems/HeaderSideNavItems.d.vue.ts +21 -0
- package/dist/runtime/app/components/HeaderSideNavItems/HeaderSideNavItems.vue +19 -0
- package/dist/runtime/app/components/HeaderSideNavItems/HeaderSideNavItems.vue.d.ts +21 -0
- package/dist/runtime/app/components/Heading/Heading.context.d.ts +38 -0
- package/dist/runtime/app/components/Heading/Heading.context.js +11 -0
- package/dist/runtime/app/components/Heading/Heading.d.vue.ts +12 -0
- package/dist/runtime/app/components/Heading/Heading.types.d.ts +11 -0
- package/dist/runtime/app/components/Heading/Heading.types.js +1 -0
- package/dist/runtime/app/components/Heading/Heading.vue +14 -0
- package/dist/runtime/app/components/Heading/Heading.vue.d.ts +12 -0
- package/dist/runtime/app/components/IconButton/IconButton.d.vue.ts +29 -0
- package/dist/runtime/app/components/IconButton/IconButton.theme.d.ts +6 -0
- package/dist/runtime/app/components/IconButton/IconButton.theme.js +7 -0
- package/dist/runtime/app/components/IconButton/IconButton.types.d.ts +60 -0
- package/dist/runtime/app/components/IconButton/IconButton.types.js +0 -0
- package/dist/runtime/app/components/IconButton/IconButton.vue +62 -0
- package/dist/runtime/app/components/IconButton/IconButton.vue.d.ts +29 -0
- package/dist/runtime/app/components/IconSwitch/IconSwitch.d.vue.ts +35 -0
- package/dist/runtime/app/components/IconSwitch/IconSwitch.vue +42 -0
- package/dist/runtime/app/components/IconSwitch/IconSwitch.vue.d.ts +35 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.d.vue.ts +23 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.theme.d.ts +21 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.theme.js +18 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.types.d.ts +14 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.types.js +0 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.vue +70 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.vue.d.ts +23 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.d.vue.ts +27 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.theme.d.ts +132 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.theme.js +116 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.types.d.ts +44 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.types.js +0 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.vue +82 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.vue.d.ts +27 -0
- package/dist/runtime/app/components/InlineNotification/notification.d.ts +14 -0
- package/dist/runtime/app/components/InlineNotification/notification.js +12 -0
- package/dist/runtime/app/components/Layer/Layer.context.d.ts +43 -0
- package/dist/runtime/app/components/Layer/Layer.context.js +11 -0
- package/dist/runtime/app/components/Layer/Layer.d.vue.ts +17 -0
- package/dist/runtime/app/components/Layer/Layer.types.d.ts +41 -0
- package/dist/runtime/app/components/Layer/Layer.types.js +1 -0
- package/dist/runtime/app/components/Layer/Layer.vue +32 -0
- package/dist/runtime/app/components/Layer/Layer.vue.d.ts +17 -0
- package/dist/runtime/app/components/Link/Link.d.vue.ts +26 -0
- package/dist/runtime/app/components/Link/Link.theme.d.ts +40 -0
- package/dist/runtime/app/components/Link/Link.theme.js +28 -0
- package/dist/runtime/app/components/Link/Link.types.d.ts +44 -0
- package/dist/runtime/app/components/Link/Link.types.js +0 -0
- package/dist/runtime/app/components/Link/Link.vue +72 -0
- package/dist/runtime/app/components/Link/Link.vue.d.ts +26 -0
- package/dist/runtime/app/components/ListItem/ListItem.d.vue.ts +16 -0
- package/dist/runtime/app/components/ListItem/ListItem.types.d.ts +10 -0
- package/dist/runtime/app/components/ListItem/ListItem.types.js +0 -0
- package/dist/runtime/app/components/ListItem/ListItem.vue +19 -0
- package/dist/runtime/app/components/ListItem/ListItem.vue.d.ts +16 -0
- package/dist/runtime/app/components/Loading/Loading.d.vue.ts +10 -0
- package/dist/runtime/app/components/Loading/Loading.theme.d.ts +29 -0
- package/dist/runtime/app/components/Loading/Loading.theme.js +24 -0
- package/dist/runtime/app/components/Loading/Loading.types.d.ts +8 -0
- package/dist/runtime/app/components/Loading/Loading.types.js +0 -0
- package/dist/runtime/app/components/Loading/Loading.vue +71 -0
- package/dist/runtime/app/components/Loading/Loading.vue.d.ts +10 -0
- package/dist/runtime/app/components/Loading/internal/LoadingOverlay/LoadingOverlay.d.vue.ts +25 -0
- package/dist/runtime/app/components/Loading/internal/LoadingOverlay/LoadingOverlay.vue +33 -0
- package/dist/runtime/app/components/Loading/internal/LoadingOverlay/LoadingOverlay.vue.d.ts +25 -0
- package/dist/runtime/app/components/Loading/internal/focusTrap.d.ts +14 -0
- package/dist/runtime/app/components/Loading/internal/focusTrap.js +81 -0
- package/dist/runtime/app/components/Menu/Menu.context.d.ts +51 -0
- package/dist/runtime/app/components/Menu/Menu.context.js +1 -0
- package/dist/runtime/app/components/Menu/Menu.d.vue.ts +24 -22
- package/dist/runtime/app/components/Menu/Menu.theme.d.ts +102 -11
- package/dist/runtime/app/components/Menu/Menu.theme.js +61 -13
- package/dist/runtime/app/components/Menu/Menu.types.d.ts +16 -0
- package/dist/runtime/app/components/Menu/Menu.types.js +0 -0
- package/dist/runtime/app/components/Menu/Menu.vue +41 -121
- package/dist/runtime/app/components/Menu/Menu.vue.d.ts +24 -22
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.d.vue.ts +56 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue +133 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue.d.ts +56 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.d.vue.ts +33 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.types.d.ts +41 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.types.js +0 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.vue +67 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.vue.d.ts +33 -0
- package/dist/runtime/app/components/MenuButton/useMenuWidth.d.ts +32 -0
- package/dist/runtime/app/components/MenuButton/useMenuWidth.js +34 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.d.vue.ts +25 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.types.d.ts +19 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.types.js +0 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.vue +191 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.vue.d.ts +25 -0
- package/dist/runtime/app/components/MenuItemDivider/MenuItemDivider.d.vue.ts +9 -0
- package/dist/runtime/app/components/MenuItemDivider/MenuItemDivider.vue +15 -0
- package/dist/runtime/app/components/MenuItemDivider/MenuItemDivider.vue.d.ts +9 -0
- package/dist/runtime/app/components/Modal/Modal.d.vue.ts +31 -20
- package/dist/runtime/app/components/Modal/Modal.theme.d.ts +83 -43
- package/dist/runtime/app/components/Modal/Modal.theme.js +73 -37
- package/dist/runtime/app/components/Modal/Modal.types.d.ts +88 -0
- package/dist/runtime/app/components/Modal/Modal.types.js +0 -0
- package/dist/runtime/app/components/Modal/Modal.vue +258 -74
- package/dist/runtime/app/components/Modal/Modal.vue.d.ts +31 -20
- package/dist/runtime/app/components/MultiSelect/MultiSelect.d.vue.ts +63 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.types.d.ts +105 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.types.js +0 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.vue +479 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.vue.d.ts +63 -0
- package/dist/runtime/app/components/MultiSelect/sort.d.ts +20 -0
- package/dist/runtime/app/components/MultiSelect/sort.js +10 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.d.vue.ts +36 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.types.d.ts +29 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.types.js +0 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.vue +112 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.vue.d.ts +36 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.d.vue.ts +19 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.types.d.ts +32 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.types.js +0 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.vue +31 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.vue.d.ts +19 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.d.vue.ts +30 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.types.d.ts +29 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.types.js +0 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.vue +57 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.vue.d.ts +30 -0
- package/dist/runtime/app/components/Pagination/Pagination.d.vue.ts +19 -25
- package/dist/runtime/app/components/Pagination/Pagination.theme.d.ts +43 -8
- package/dist/runtime/app/components/Pagination/Pagination.theme.js +38 -9
- package/dist/runtime/app/components/Pagination/Pagination.types.d.ts +13 -0
- package/dist/runtime/app/components/Pagination/Pagination.types.js +0 -0
- package/dist/runtime/app/components/Pagination/Pagination.vue +69 -96
- package/dist/runtime/app/components/Pagination/Pagination.vue.d.ts +19 -25
- package/dist/runtime/app/components/PaginationNav/PaginationNav.d.vue.ts +15 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.types.d.ts +10 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.types.js +0 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.vue +116 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.vue.d.ts +15 -0
- package/dist/runtime/app/components/Popover/Popover.d.vue.ts +41 -0
- package/dist/runtime/app/components/Popover/Popover.theme.d.ts +113 -0
- package/dist/runtime/app/components/Popover/Popover.theme.js +68 -0
- package/dist/runtime/app/components/Popover/Popover.types.d.ts +50 -0
- package/dist/runtime/app/components/Popover/Popover.types.js +0 -0
- package/dist/runtime/app/components/Popover/Popover.vue +211 -0
- package/dist/runtime/app/components/Popover/Popover.vue.d.ts +41 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.d.vue.ts +13 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.theme.d.ts +68 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.theme.js +44 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.types.d.ts +26 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.types.js +0 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.vue +89 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.vue.d.ts +13 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.context.d.ts +21 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.context.js +1 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.d.vue.ts +31 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.theme.d.ts +121 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.theme.js +107 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.types.d.ts +25 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.types.js +0 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.vue +56 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.vue.d.ts +31 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.d.vue.ts +11 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.types.d.ts +31 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.types.js +0 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.vue +83 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.vue.d.ts +11 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.d.vue.ts +22 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.theme.d.ts +64 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.theme.js +39 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.types.d.ts +16 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.types.js +0 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.vue +76 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.vue.d.ts +22 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.d.vue.ts +36 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.theme.d.ts +52 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.theme.js +24 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.types.d.ts +21 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.types.js +0 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.vue +99 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.vue.d.ts +36 -0
- package/dist/runtime/app/components/RadioButtonGroup/internal/context.d.ts +24 -0
- package/dist/runtime/app/components/RadioButtonGroup/internal/context.js +1 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.d.vue.ts +29 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.types.d.ts +19 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.types.js +0 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.vue +71 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.vue.d.ts +29 -0
- package/dist/runtime/app/components/Search/Search.d.vue.ts +37 -0
- package/dist/runtime/app/components/Search/Search.theme.d.ts +121 -0
- package/dist/runtime/app/components/Search/Search.theme.js +94 -0
- package/dist/runtime/app/components/Search/Search.types.d.ts +59 -0
- package/dist/runtime/app/components/Search/Search.types.js +0 -0
- package/dist/runtime/app/components/Search/Search.vue +172 -0
- package/dist/runtime/app/components/Search/Search.vue.d.ts +37 -0
- package/dist/runtime/app/components/Section/Section.d.vue.ts +16 -0
- package/dist/runtime/app/components/Section/Section.types.d.ts +23 -0
- package/dist/runtime/app/components/Section/Section.types.js +0 -0
- package/dist/runtime/app/components/Section/Section.vue +25 -0
- package/dist/runtime/app/components/Section/Section.vue.d.ts +16 -0
- package/dist/runtime/app/components/Select/Select.d.vue.ts +31 -0
- package/dist/runtime/app/components/Select/Select.theme.d.ts +114 -0
- package/dist/runtime/app/components/Select/Select.theme.js +107 -0
- package/dist/runtime/app/components/Select/Select.types.d.ts +64 -0
- package/dist/runtime/app/components/Select/Select.types.js +0 -0
- package/dist/runtime/app/components/Select/Select.vue +190 -0
- package/dist/runtime/app/components/Select/Select.vue.d.ts +31 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.d.vue.ts +34 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.types.d.ts +23 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.types.js +0 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.vue +65 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.vue.d.ts +34 -0
- package/dist/runtime/app/components/SideNav/SideNav.context.d.ts +13 -0
- package/dist/runtime/app/components/SideNav/SideNav.context.js +1 -0
- package/dist/runtime/app/components/SideNav/SideNav.d.vue.ts +43 -0
- package/dist/runtime/app/components/SideNav/SideNav.theme.d.ts +128 -0
- package/dist/runtime/app/components/SideNav/SideNav.theme.js +103 -0
- package/dist/runtime/app/components/SideNav/SideNav.types.d.ts +27 -0
- package/dist/runtime/app/components/SideNav/SideNav.types.js +0 -0
- package/dist/runtime/app/components/SideNav/SideNav.vue +125 -0
- package/dist/runtime/app/components/SideNav/SideNav.vue.d.ts +43 -0
- package/dist/runtime/app/components/SideNavDivider/SideNavDivider.d.vue.ts +9 -0
- package/dist/runtime/app/components/SideNavDivider/SideNavDivider.vue +14 -0
- package/dist/runtime/app/components/SideNavDivider/SideNavDivider.vue.d.ts +9 -0
- package/dist/runtime/app/components/SideNavItems/SideNavItems.d.vue.ts +21 -0
- package/dist/runtime/app/components/SideNavItems/SideNavItems.vue +25 -0
- package/dist/runtime/app/components/SideNavItems/SideNavItems.vue.d.ts +21 -0
- package/dist/runtime/app/components/SideNavLink/SideNavLink.d.vue.ts +33 -0
- package/dist/runtime/app/components/SideNavLink/SideNavLink.vue +66 -0
- package/dist/runtime/app/components/SideNavLink/SideNavLink.vue.d.ts +33 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.context.d.ts +14 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.context.js +1 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.d.vue.ts +32 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.vue +80 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.vue.d.ts +32 -0
- package/dist/runtime/app/components/SideNavMenuItem/SideNavMenuItem.d.vue.ts +29 -0
- package/dist/runtime/app/components/SideNavMenuItem/SideNavMenuItem.vue +52 -0
- package/dist/runtime/app/components/SideNavMenuItem/SideNavMenuItem.vue.d.ts +29 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.d.vue.ts +6 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.types.d.ts +5 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.types.js +0 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.vue +19 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.vue.d.ts +6 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.d.vue.ts +6 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.types.d.ts +9 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.types.js +0 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.vue +19 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.vue.d.ts +6 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.d.vue.ts +10 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.theme.d.ts +39 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.theme.js +32 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.types.d.ts +21 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.types.js +0 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.vue +53 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.vue.d.ts +10 -0
- package/dist/runtime/app/components/SkipToContent/SkipToContent.d.vue.ts +23 -0
- package/dist/runtime/app/components/SkipToContent/SkipToContent.vue +20 -0
- package/dist/runtime/app/components/SkipToContent/SkipToContent.vue.d.ts +23 -0
- package/dist/runtime/app/components/Slider/Slider.d.vue.ts +50 -0
- package/dist/runtime/app/components/Slider/Slider.theme.d.ts +67 -0
- package/dist/runtime/app/components/Slider/Slider.theme.js +93 -0
- package/dist/runtime/app/components/Slider/Slider.types.d.ts +85 -0
- package/dist/runtime/app/components/Slider/Slider.types.js +0 -0
- package/dist/runtime/app/components/Slider/Slider.vue +414 -0
- package/dist/runtime/app/components/Slider/Slider.vue.d.ts +50 -0
- package/dist/runtime/app/components/Slider/handles.d.ts +38 -0
- package/dist/runtime/app/components/Slider/handles.js +10 -0
- package/dist/runtime/app/components/Slider/internal/SliderThumb/SliderThumb.d.vue.ts +16 -0
- package/dist/runtime/app/components/Slider/internal/SliderThumb/SliderThumb.vue +53 -0
- package/dist/runtime/app/components/Slider/internal/SliderThumb/SliderThumb.vue.d.ts +16 -0
- package/dist/runtime/app/components/Stack/Stack.d.vue.ts +17 -0
- package/dist/runtime/app/components/Stack/Stack.types.d.ts +44 -0
- package/dist/runtime/app/components/Stack/Stack.types.js +0 -0
- package/dist/runtime/app/components/Stack/Stack.vue +31 -0
- package/dist/runtime/app/components/Stack/Stack.vue.d.ts +17 -0
- package/dist/runtime/app/components/StructuredListBody/StructuredListBody.d.vue.ts +18 -0
- package/dist/runtime/app/components/StructuredListBody/StructuredListBody.vue +18 -0
- package/dist/runtime/app/components/StructuredListBody/StructuredListBody.vue.d.ts +18 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.d.vue.ts +17 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.types.d.ts +16 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.types.js +0 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.vue +29 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.vue.d.ts +17 -0
- package/dist/runtime/app/components/StructuredListHead/StructuredListHead.d.vue.ts +18 -0
- package/dist/runtime/app/components/StructuredListHead/StructuredListHead.vue +18 -0
- package/dist/runtime/app/components/StructuredListHead/StructuredListHead.vue.d.ts +18 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.d.vue.ts +10 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.types.d.ts +19 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.types.js +0 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.vue +39 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.vue.d.ts +10 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.d.vue.ts +19 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.types.d.ts +25 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.types.js +0 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.vue +58 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.vue.d.ts +19 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.context.d.ts +50 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.context.js +22 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.d.vue.ts +28 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.theme.d.ts +99 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.theme.js +42 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.types.d.ts +30 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.types.js +0 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.vue +49 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.vue.d.ts +28 -0
- package/dist/runtime/app/components/Switch/Switch.d.vue.ts +19 -0
- package/dist/runtime/app/components/Switch/Switch.types.d.ts +23 -0
- package/dist/runtime/app/components/Switch/Switch.types.js +0 -0
- package/dist/runtime/app/components/Switch/Switch.vue +43 -0
- package/dist/runtime/app/components/Switch/Switch.vue.d.ts +19 -0
- package/dist/runtime/app/components/Switcher/Switcher.context.d.ts +13 -0
- package/dist/runtime/app/components/Switcher/Switcher.context.js +1 -0
- package/dist/runtime/app/components/Switcher/Switcher.d.vue.ts +25 -0
- package/dist/runtime/app/components/Switcher/Switcher.vue +32 -0
- package/dist/runtime/app/components/Switcher/Switcher.vue.d.ts +25 -0
- package/dist/runtime/app/components/SwitcherDivider/SwitcherDivider.d.vue.ts +9 -0
- package/dist/runtime/app/components/SwitcherDivider/SwitcherDivider.vue +14 -0
- package/dist/runtime/app/components/SwitcherDivider/SwitcherDivider.vue.d.ts +9 -0
- package/dist/runtime/app/components/SwitcherItem/SwitcherItem.d.vue.ts +34 -0
- package/dist/runtime/app/components/SwitcherItem/SwitcherItem.vue +66 -0
- package/dist/runtime/app/components/SwitcherItem/SwitcherItem.vue.d.ts +34 -0
- package/dist/runtime/app/components/Tab/Tab.d.vue.ts +21 -0
- package/dist/runtime/app/components/Tab/Tab.types.d.ts +20 -0
- package/dist/runtime/app/components/Tab/Tab.types.js +0 -0
- package/dist/runtime/app/components/Tab/Tab.vue +130 -0
- package/dist/runtime/app/components/Tab/Tab.vue.d.ts +21 -0
- package/dist/runtime/app/components/TabList/TabList.context.d.ts +12 -0
- package/dist/runtime/app/components/TabList/TabList.context.js +1 -0
- package/dist/runtime/app/components/TabList/TabList.d.vue.ts +23 -0
- package/dist/runtime/app/components/TabList/TabList.types.d.ts +34 -0
- package/dist/runtime/app/components/TabList/TabList.types.js +0 -0
- package/dist/runtime/app/components/TabList/TabList.vue +166 -0
- package/dist/runtime/app/components/TabList/TabList.vue.d.ts +23 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.d.vue.ts +16 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.types.d.ts +4 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.types.js +0 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.vue +33 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.vue.d.ts +16 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.d.vue.ts +16 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.types.d.ts +4 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.types.js +0 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.vue +22 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.vue.d.ts +16 -0
- package/dist/runtime/app/components/Table/Table.d.vue.ts +17 -77
- package/dist/runtime/app/components/Table/Table.vue +33 -470
- package/dist/runtime/app/components/Table/Table.vue.d.ts +17 -77
- package/dist/runtime/app/components/TableActionList/TableActionList.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableActionList/TableActionList.vue +15 -0
- package/dist/runtime/app/components/TableActionList/TableActionList.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableBatchAction/TableBatchAction.d.vue.ts +30 -0
- package/dist/runtime/app/components/TableBatchAction/TableBatchAction.vue +28 -0
- package/dist/runtime/app/components/TableBatchAction/TableBatchAction.vue.d.ts +30 -0
- package/dist/runtime/app/components/TableBatchActions/TableBatchActions.d.vue.ts +23 -0
- package/dist/runtime/app/components/TableBatchActions/TableBatchActions.vue +65 -0
- package/dist/runtime/app/components/TableBatchActions/TableBatchActions.vue.d.ts +23 -0
- package/dist/runtime/app/components/TableBody/TableBody.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableBody/TableBody.vue +19 -0
- package/dist/runtime/app/components/TableBody/TableBody.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableCell/TableCell.d.vue.ts +22 -0
- package/dist/runtime/app/components/TableCell/TableCell.vue +27 -0
- package/dist/runtime/app/components/TableCell/TableCell.vue.d.ts +22 -0
- package/dist/runtime/app/components/TableContainer/TableContainer.d.vue.ts +22 -0
- package/dist/runtime/app/components/TableContainer/TableContainer.vue +65 -0
- package/dist/runtime/app/components/TableContainer/TableContainer.vue.d.ts +22 -0
- package/dist/runtime/app/components/TableExpandHeader/TableExpandHeader.d.vue.ts +27 -0
- package/dist/runtime/app/components/TableExpandHeader/TableExpandHeader.vue +53 -0
- package/dist/runtime/app/components/TableExpandHeader/TableExpandHeader.vue.d.ts +27 -0
- package/dist/runtime/app/components/TableExpandRow/TableExpandRow.d.vue.ts +28 -0
- package/dist/runtime/app/components/TableExpandRow/TableExpandRow.vue +58 -0
- package/dist/runtime/app/components/TableExpandRow/TableExpandRow.vue.d.ts +28 -0
- package/dist/runtime/app/components/TableExpandedRow/TableExpandedRow.d.vue.ts +21 -0
- package/dist/runtime/app/components/TableExpandedRow/TableExpandedRow.vue +34 -0
- package/dist/runtime/app/components/TableExpandedRow/TableExpandedRow.vue.d.ts +21 -0
- package/dist/runtime/app/components/TableHead/TableHead.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableHead/TableHead.vue +15 -0
- package/dist/runtime/app/components/TableHead/TableHead.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableHeader/TableHeader.d.vue.ts +25 -0
- package/dist/runtime/app/components/TableHeader/TableHeader.vue +82 -0
- package/dist/runtime/app/components/TableHeader/TableHeader.vue.d.ts +25 -0
- package/dist/runtime/app/components/TableRow/TableRow.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableRow/TableRow.vue +25 -0
- package/dist/runtime/app/components/TableRow/TableRow.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableSelectAll/TableSelectAll.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableSelectAll/TableSelectAll.vue +44 -0
- package/dist/runtime/app/components/TableSelectAll/TableSelectAll.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableSelectRow/TableSelectRow.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableSelectRow/TableSelectRow.vue +62 -0
- package/dist/runtime/app/components/TableSelectRow/TableSelectRow.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableToolbar/TableToolbar.d.vue.ts +17 -0
- package/dist/runtime/app/components/TableToolbar/TableToolbar.vue +28 -0
- package/dist/runtime/app/components/TableToolbar/TableToolbar.vue.d.ts +17 -0
- package/dist/runtime/app/components/TableToolbarAction/TableToolbarAction.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableToolbarAction/TableToolbarAction.vue +21 -0
- package/dist/runtime/app/components/TableToolbarAction/TableToolbarAction.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableToolbarContent/TableToolbarContent.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableToolbarContent/TableToolbarContent.vue +15 -0
- package/dist/runtime/app/components/TableToolbarContent/TableToolbarContent.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableToolbarMenu/TableToolbarMenu.d.vue.ts +25 -0
- package/dist/runtime/app/components/TableToolbarMenu/TableToolbarMenu.vue +43 -0
- package/dist/runtime/app/components/TableToolbarMenu/TableToolbarMenu.vue.d.ts +25 -0
- package/dist/runtime/app/components/TableToolbarSearch/TableToolbarSearch.d.vue.ts +25 -0
- package/dist/runtime/app/components/TableToolbarSearch/TableToolbarSearch.vue +46 -0
- package/dist/runtime/app/components/TableToolbarSearch/TableToolbarSearch.vue.d.ts +25 -0
- package/dist/runtime/app/components/Tabs/Tabs.context.d.ts +30 -0
- package/dist/runtime/app/components/Tabs/Tabs.context.js +1 -0
- package/dist/runtime/app/components/Tabs/Tabs.d.vue.ts +19 -38
- package/dist/runtime/app/components/Tabs/Tabs.theme.d.ts +103 -16
- package/dist/runtime/app/components/Tabs/Tabs.theme.js +101 -14
- package/dist/runtime/app/components/Tabs/Tabs.types.d.ts +40 -0
- package/dist/runtime/app/components/Tabs/Tabs.types.js +0 -0
- package/dist/runtime/app/components/Tabs/Tabs.vue +62 -103
- package/dist/runtime/app/components/Tabs/Tabs.vue.d.ts +19 -38
- package/dist/runtime/app/components/Tag/Tag.d.vue.ts +42 -0
- package/dist/runtime/app/components/Tag/Tag.theme.d.ts +144 -0
- package/dist/runtime/app/components/Tag/Tag.theme.js +78 -0
- package/dist/runtime/app/components/Tag/Tag.types.d.ts +65 -0
- package/dist/runtime/app/components/Tag/Tag.types.js +0 -0
- package/dist/runtime/app/components/Tag/Tag.vue +125 -0
- package/dist/runtime/app/components/Tag/Tag.vue.d.ts +42 -0
- package/dist/runtime/app/components/TextArea/TextArea.d.vue.ts +44 -0
- package/dist/runtime/app/components/TextArea/TextArea.theme.d.ts +149 -0
- package/dist/runtime/app/components/TextArea/TextArea.theme.js +142 -0
- package/dist/runtime/app/components/TextArea/TextArea.types.d.ts +45 -0
- package/dist/runtime/app/components/TextArea/TextArea.types.js +0 -0
- package/dist/runtime/app/components/TextArea/TextArea.vue +230 -0
- package/dist/runtime/app/components/TextArea/TextArea.vue.d.ts +44 -0
- package/dist/runtime/app/components/TextInput/TextInput.d.vue.ts +56 -0
- package/dist/runtime/app/components/TextInput/TextInput.theme.d.ts +252 -0
- package/dist/runtime/app/components/TextInput/TextInput.theme.js +205 -0
- package/dist/runtime/app/components/TextInput/TextInput.types.d.ts +81 -0
- package/dist/runtime/app/components/TextInput/TextInput.types.js +0 -0
- package/dist/runtime/app/components/TextInput/TextInput.vue +256 -0
- package/dist/runtime/app/components/TextInput/TextInput.vue.d.ts +56 -0
- package/dist/runtime/app/components/Tile/Tile.d.vue.ts +16 -0
- package/dist/runtime/app/components/Tile/Tile.theme.d.ts +106 -0
- package/dist/runtime/app/components/Tile/Tile.theme.js +115 -0
- package/dist/runtime/app/components/Tile/Tile.types.d.ts +16 -0
- package/dist/runtime/app/components/Tile/Tile.types.js +0 -0
- package/dist/runtime/app/components/Tile/Tile.vue +19 -0
- package/dist/runtime/app/components/Tile/Tile.vue.d.ts +16 -0
- package/dist/runtime/app/components/TileAboveTheFoldContent/TileAboveTheFoldContent.d.vue.ts +12 -0
- package/dist/runtime/app/components/TileAboveTheFoldContent/TileAboveTheFoldContent.vue +12 -0
- package/dist/runtime/app/components/TileAboveTheFoldContent/TileAboveTheFoldContent.vue.d.ts +12 -0
- package/dist/runtime/app/components/TileBelowTheFoldContent/TileBelowTheFoldContent.d.vue.ts +12 -0
- package/dist/runtime/app/components/TileBelowTheFoldContent/TileBelowTheFoldContent.vue +12 -0
- package/dist/runtime/app/components/TileBelowTheFoldContent/TileBelowTheFoldContent.vue.d.ts +12 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.d.vue.ts +28 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.types.d.ts +30 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.types.js +0 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.vue +47 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.vue.d.ts +28 -0
- package/dist/runtime/app/components/TileGroup/internal/context.d.ts +21 -0
- package/dist/runtime/app/components/TileGroup/internal/context.js +1 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.context.d.ts +23 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.context.js +1 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.d.vue.ts +40 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.theme.d.ts +147 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.theme.js +112 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.types.d.ts +65 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.types.js +0 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.vue +113 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.vue.d.ts +40 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.d.vue.ts +21 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.types.d.ts +43 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.types.js +0 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.vue +106 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.vue.d.ts +21 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.d.vue.ts +29 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.types.d.ts +12 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.types.js +0 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.vue +103 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.vue.d.ts +29 -0
- package/dist/runtime/app/components/Toggle/Toggle.d.vue.ts +31 -0
- package/dist/runtime/app/components/Toggle/Toggle.theme.d.ts +94 -0
- package/dist/runtime/app/components/Toggle/Toggle.theme.js +65 -0
- package/dist/runtime/app/components/Toggle/Toggle.types.d.ts +42 -0
- package/dist/runtime/app/components/Toggle/Toggle.types.js +0 -0
- package/dist/runtime/app/components/Toggle/Toggle.vue +108 -0
- package/dist/runtime/app/components/Toggle/Toggle.vue.d.ts +31 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.context.d.ts +27 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.context.js +1 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.d.vue.ts +29 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.theme.d.ts +62 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.theme.js +45 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.types.d.ts +25 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.types.js +0 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.vue +163 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.vue.d.ts +29 -0
- package/dist/runtime/app/components/ToggletipActions/ToggletipActions.d.vue.ts +13 -0
- package/dist/runtime/app/components/ToggletipActions/ToggletipActions.vue +11 -0
- package/dist/runtime/app/components/ToggletipActions/ToggletipActions.vue.d.ts +13 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.d.vue.ts +16 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.types.d.ts +11 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.types.js +0 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.vue +35 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.vue.d.ts +16 -0
- package/dist/runtime/app/components/ToggletipContent/ToggletipContent.d.vue.ts +14 -0
- package/dist/runtime/app/components/ToggletipContent/ToggletipContent.vue +43 -0
- package/dist/runtime/app/components/ToggletipContent/ToggletipContent.vue.d.ts +14 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.d.vue.ts +16 -26
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.d.ts +74 -8
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.js +34 -8
- package/dist/runtime/app/components/Tooltip/Tooltip.types.d.ts +86 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.types.js +0 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.vue +164 -70
- package/dist/runtime/app/components/Tooltip/Tooltip.vue.d.ts +16 -26
- package/dist/runtime/app/components/TreeView/TreeView.d.vue.ts +29 -0
- package/dist/runtime/app/components/TreeView/TreeView.theme.d.ts +99 -0
- package/dist/runtime/app/components/TreeView/TreeView.theme.js +82 -0
- package/dist/runtime/app/components/TreeView/TreeView.types.d.ts +48 -0
- package/dist/runtime/app/components/TreeView/TreeView.types.js +0 -0
- package/dist/runtime/app/components/TreeView/TreeView.vue +200 -0
- package/dist/runtime/app/components/TreeView/TreeView.vue.d.ts +29 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewNode/TreeViewNode.d.vue.ts +22 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewNode/TreeViewNode.vue +122 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewNode/TreeViewNode.vue.d.ts +22 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewRow/TreeViewRow.d.vue.ts +15 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewRow/TreeViewRow.vue +50 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewRow/TreeViewRow.vue.d.ts +15 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.context.d.ts +31 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.context.js +1 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.d.vue.ts +18 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.theme.d.ts +55 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.theme.js +35 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.types.d.ts +19 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.types.js +0 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.vue +30 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.vue.d.ts +18 -0
- package/dist/runtime/app/composables/internal/useAnchor.d.ts +47 -0
- package/dist/runtime/app/composables/internal/useAnchor.js +37 -0
- package/dist/runtime/app/composables/internal/useDirection.d.ts +5 -0
- package/dist/runtime/app/composables/internal/useDirection.js +8 -0
- package/dist/runtime/app/composables/internal/usePortal.d.ts +18 -0
- package/dist/runtime/app/composables/internal/usePortal.js +12 -0
- package/dist/runtime/app/composables/useTheme.d.ts +8 -8
- package/dist/runtime/app/composables/useTheme.js +11 -8
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.d.vue.ts +38 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.d.ts +35 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.js +30 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue +27 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue.d.ts +38 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.d.vue.ts +4 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.types.d.ts +3 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.types.js +0 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.vue +28 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.vue.d.ts +4 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.d.vue.ts +49 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.d.ts +24 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.js +19 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue +64 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue.d.ts +49 -0
- package/dist/runtime/app/primitives/PrimitiveNotification/PrimitiveNotification.d.vue.ts +29 -0
- package/dist/runtime/app/primitives/PrimitiveNotification/PrimitiveNotification.vue +90 -0
- package/dist/runtime/app/primitives/PrimitiveNotification/PrimitiveNotification.vue.d.ts +29 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.d.vue.ts +55 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.d.ts +117 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.js +107 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue +234 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue.d.ts +55 -0
- package/dist/runtime/app/theme/icons.d.ts +2 -2
- package/dist/runtime/app/theme/icons.js +35 -41
- package/dist/runtime/app/theme/index.d.ts +3075 -818
- package/dist/runtime/app/theme/index.js +91 -101
- package/dist/runtime/app/theme/messages.d.ts +2 -2
- package/dist/runtime/app/theme/messages.js +11 -16
- package/dist/runtime/app/theme/shared.d.ts +2 -42
- package/dist/runtime/app/theme/shared.js +1 -24
- package/dist/runtime/app/types/app-config.d.ts +2 -2
- package/dist/runtime/app/types/base.d.ts +11 -53
- package/dist/runtime/app/types/control.d.ts +30 -0
- package/dist/runtime/app/types/control.js +0 -0
- package/dist/runtime/app/types/form.d.ts +57 -62
- package/dist/runtime/app/types/index.d.ts +98 -16
- package/dist/runtime/app/types/index.js +0 -1
- package/dist/runtime/app/types/input.d.ts +2 -0
- package/dist/runtime/app/types/input.js +0 -0
- package/dist/runtime/app/types/slots.d.ts +14 -10
- package/dist/runtime/app/types/theme.d.ts +52 -78
- package/dist/runtime/app/utils/format.js +3 -2
- package/dist/runtime/app/utils/pagination.d.ts +2 -2
- package/dist/runtime/app/utils/path.js +1 -1
- package/dist/runtime/app/utils/slots.d.ts +22 -0
- package/dist/runtime/app/utils/theme.d.ts +10 -43
- package/dist/runtime/app/utils/theme.js +31 -29
- package/package.json +9 -19
- package/dist/runtime/app/assets/css/stylesheet.css +0 -1
- package/dist/runtime/app/components/Alert/Alert.d.vue.ts +0 -20
- package/dist/runtime/app/components/Alert/Alert.theme.d.ts +0 -13
- package/dist/runtime/app/components/Alert/Alert.theme.js +0 -13
- package/dist/runtime/app/components/Alert/Alert.vue +0 -59
- package/dist/runtime/app/components/Alert/Alert.vue.d.ts +0 -20
- package/dist/runtime/app/components/App/App.d.vue.ts +0 -52
- package/dist/runtime/app/components/App/App.vue +0 -150
- package/dist/runtime/app/components/App/App.vue.d.ts +0 -52
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.d.vue.ts +0 -7
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.vue +0 -39
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.vue.d.ts +0 -7
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.d.vue.ts +0 -8
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue +0 -19
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue.d.ts +0 -8
- package/dist/runtime/app/components/App/internal/Toast/Toast.d.vue.ts +0 -11
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.d.ts +0 -13
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.js +0 -18
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue +0 -64
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue.d.ts +0 -11
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.d.vue.ts +0 -11
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.d.ts +0 -15
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.js +0 -16
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.vue +0 -100
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.vue.d.ts +0 -11
- package/dist/runtime/app/components/Avatar/Avatar.d.vue.ts +0 -27
- package/dist/runtime/app/components/Avatar/Avatar.theme.d.ts +0 -30
- package/dist/runtime/app/components/Avatar/Avatar.theme.js +0 -22
- package/dist/runtime/app/components/Avatar/Avatar.vue +0 -51
- package/dist/runtime/app/components/Avatar/Avatar.vue.d.ts +0 -27
- package/dist/runtime/app/components/Badge/Badge.d.vue.ts +0 -40
- package/dist/runtime/app/components/Badge/Badge.theme.d.ts +0 -40
- package/dist/runtime/app/components/Badge/Badge.theme.js +0 -22
- package/dist/runtime/app/components/Badge/Badge.vue +0 -28
- package/dist/runtime/app/components/Badge/Badge.vue.d.ts +0 -40
- package/dist/runtime/app/components/Card/Card.d.vue.ts +0 -94
- package/dist/runtime/app/components/Card/Card.theme.d.ts +0 -57
- package/dist/runtime/app/components/Card/Card.theme.js +0 -62
- package/dist/runtime/app/components/Card/Card.vue +0 -45
- package/dist/runtime/app/components/Card/Card.vue.d.ts +0 -94
- package/dist/runtime/app/components/Code/Code.d.vue.ts +0 -19
- package/dist/runtime/app/components/Code/Code.theme.d.ts +0 -11
- package/dist/runtime/app/components/Code/Code.theme.js +0 -12
- package/dist/runtime/app/components/Code/Code.vue +0 -109
- package/dist/runtime/app/components/Code/Code.vue.d.ts +0 -19
- package/dist/runtime/app/components/Confirm/Confirm.d.vue.ts +0 -35
- package/dist/runtime/app/components/Confirm/Confirm.theme.d.ts +0 -12
- package/dist/runtime/app/components/Confirm/Confirm.theme.js +0 -13
- package/dist/runtime/app/components/Confirm/Confirm.vue +0 -83
- package/dist/runtime/app/components/Confirm/Confirm.vue.d.ts +0 -35
- package/dist/runtime/app/components/Container/Container.d.vue.ts +0 -42
- package/dist/runtime/app/components/Container/Container.theme.d.ts +0 -53
- package/dist/runtime/app/components/Container/Container.theme.js +0 -31
- package/dist/runtime/app/components/Container/Container.vue +0 -20
- package/dist/runtime/app/components/Container/Container.vue.d.ts +0 -42
- package/dist/runtime/app/components/ControlGroup/ControlGroup.d.vue.ts +0 -26
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.d.ts +0 -16
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.js +0 -13
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue +0 -26
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldArray/FieldArray.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.d.ts +0 -12
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.js +0 -13
- package/dist/runtime/app/components/FieldArray/FieldArray.vue +0 -173
- package/dist/runtime/app/components/FieldArray/FieldArray.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.js +0 -2
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.vue +0 -39
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.d.vue.ts +0 -40
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.d.ts +0 -30
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.js +0 -10
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.vue +0 -40
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.vue.d.ts +0 -40
- package/dist/runtime/app/components/FieldColor/FieldColor.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.d.ts +0 -27
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.js +0 -18
- package/dist/runtime/app/components/FieldColor/FieldColor.vue +0 -88
- package/dist/runtime/app/components/FieldColor/FieldColor.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.js +0 -2
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue +0 -51
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldFile/FieldFile.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.js +0 -2
- package/dist/runtime/app/components/FieldFile/FieldFile.vue +0 -99
- package/dist/runtime/app/components/FieldFile/FieldFile.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.d.vue.ts +0 -66
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.d.ts +0 -88
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.js +0 -55
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue +0 -187
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue.d.ts +0 -66
- package/dist/runtime/app/components/FieldInput/FieldInput.d.vue.ts +0 -24
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.js +0 -2
- package/dist/runtime/app/components/FieldInput/FieldInput.vue +0 -61
- package/dist/runtime/app/components/FieldInput/FieldInput.vue.d.ts +0 -24
- package/dist/runtime/app/components/FieldNumber/FieldNumber.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.js +0 -2
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue +0 -47
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldPassword/FieldPassword.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.js +0 -2
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue +0 -62
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldRadio/FieldRadio.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.js +0 -2
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue +0 -41
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.d.vue.ts +0 -32
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.d.ts +0 -54
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.js +0 -31
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.vue +0 -80
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.vue.d.ts +0 -32
- package/dist/runtime/app/components/FieldSearch/FieldSearch.d.vue.ts +0 -17
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.d.ts +0 -6
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.js +0 -7
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue +0 -74
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue.d.ts +0 -17
- package/dist/runtime/app/components/FieldSelect/FieldSelect.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.js +0 -2
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue +0 -45
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.d.vue.ts +0 -97
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.d.ts +0 -36
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.js +0 -49
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue +0 -196
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue.d.ts +0 -97
- package/dist/runtime/app/components/FieldSelect/internal/Select/option.d.ts +0 -25
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.d.ts +0 -30
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.js +0 -142
- package/dist/runtime/app/components/FieldSlug/FieldSlug.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.js +0 -2
- package/dist/runtime/app/components/FieldSlug/FieldSlug.vue +0 -113
- package/dist/runtime/app/components/FieldSlug/FieldSlug.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.js +0 -2
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue +0 -37
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.d.ts +0 -39
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.js +0 -20
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.vue +0 -46
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldTags/FieldTags.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.js +0 -2
- package/dist/runtime/app/components/FieldTags/FieldTags.vue +0 -41
- package/dist/runtime/app/components/FieldTags/FieldTags.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.d.ts +0 -34
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.js +0 -20
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue +0 -97
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.js +0 -2
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.vue +0 -45
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.d.vue.ts +0 -34
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.d.ts +0 -36
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.js +0 -37
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.vue +0 -43
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.vue.d.ts +0 -34
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.d.vue.ts +0 -7
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue +0 -67
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue.d.ts +0 -7
- package/dist/runtime/app/components/Form/internal/grid.d.ts +0 -9
- package/dist/runtime/app/components/Form/internal/grid.js +0 -91
- package/dist/runtime/app/components/Form/internal/standard-schema.d.ts +0 -29
- package/dist/runtime/app/components/Form/internal/standard-schema.js +0 -15
- package/dist/runtime/app/components/Form/internal/useVunoFormState.d.ts +0 -43
- package/dist/runtime/app/components/Form/internal/useVunoFormState.js +0 -81
- package/dist/runtime/app/components/FormField/FormField.d.vue.ts +0 -35
- package/dist/runtime/app/components/FormField/FormField.theme.d.ts +0 -62
- package/dist/runtime/app/components/FormField/FormField.theme.js +0 -28
- package/dist/runtime/app/components/FormField/FormField.vue +0 -124
- package/dist/runtime/app/components/FormField/FormField.vue.d.ts +0 -35
- package/dist/runtime/app/components/FormModal/FormModal.d.vue.ts +0 -63
- package/dist/runtime/app/components/FormModal/FormModal.theme.d.ts +0 -8
- package/dist/runtime/app/components/FormModal/FormModal.theme.js +0 -9
- package/dist/runtime/app/components/FormModal/FormModal.vue +0 -95
- package/dist/runtime/app/components/FormModal/FormModal.vue.d.ts +0 -63
- package/dist/runtime/app/components/FormSection/FormSection.d.vue.ts +0 -15
- package/dist/runtime/app/components/FormSection/FormSection.theme.d.ts +0 -12
- package/dist/runtime/app/components/FormSection/FormSection.theme.js +0 -14
- package/dist/runtime/app/components/FormSection/FormSection.vue +0 -45
- package/dist/runtime/app/components/FormSection/FormSection.vue.d.ts +0 -15
- package/dist/runtime/app/components/Icon/Icon.d.vue.ts +0 -6
- package/dist/runtime/app/components/Icon/Icon.vue +0 -32
- package/dist/runtime/app/components/Icon/Icon.vue.d.ts +0 -6
- package/dist/runtime/app/components/Navbar/Navbar.d.vue.ts +0 -45
- package/dist/runtime/app/components/Navbar/Navbar.theme.d.ts +0 -31
- package/dist/runtime/app/components/Navbar/Navbar.theme.js +0 -32
- package/dist/runtime/app/components/Navbar/Navbar.vue +0 -47
- package/dist/runtime/app/components/Navbar/Navbar.vue.d.ts +0 -45
- package/dist/runtime/app/components/NavigationList/NavigationList.d.vue.ts +0 -38
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.d.ts +0 -32
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.js +0 -35
- package/dist/runtime/app/components/NavigationList/NavigationList.vue +0 -187
- package/dist/runtime/app/components/NavigationList/NavigationList.vue.d.ts +0 -38
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.d.vue.ts +0 -31
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.d.ts +0 -26
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.js +0 -27
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue +0 -236
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue.d.ts +0 -31
- package/dist/runtime/app/components/NavigationToc/NavigationToc.d.vue.ts +0 -14
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.d.ts +0 -9
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.js +0 -10
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue +0 -81
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue.d.ts +0 -14
- package/dist/runtime/app/components/Page/Page.d.vue.ts +0 -40
- package/dist/runtime/app/components/Page/Page.theme.d.ts +0 -32
- package/dist/runtime/app/components/Page/Page.theme.js +0 -31
- package/dist/runtime/app/components/Page/Page.vue +0 -132
- package/dist/runtime/app/components/Page/Page.vue.d.ts +0 -40
- package/dist/runtime/app/components/Slideover/Slideover.d.vue.ts +0 -43
- package/dist/runtime/app/components/Slideover/Slideover.theme.d.ts +0 -35
- package/dist/runtime/app/components/Slideover/Slideover.theme.js +0 -24
- package/dist/runtime/app/components/Slideover/Slideover.vue +0 -58
- package/dist/runtime/app/components/Slideover/Slideover.vue.d.ts +0 -43
- package/dist/runtime/app/components/State/State.d.vue.ts +0 -14
- package/dist/runtime/app/components/State/State.theme.d.ts +0 -19
- package/dist/runtime/app/components/State/State.theme.js +0 -26
- package/dist/runtime/app/components/State/State.vue +0 -66
- package/dist/runtime/app/components/State/State.vue.d.ts +0 -14
- package/dist/runtime/app/components/Table/Table.theme.d.ts +0 -50
- package/dist/runtime/app/components/Table/Table.theme.js +0 -64
- package/dist/runtime/app/components/Table/internal/CellBadge/CellBadge.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellBadge/CellBadge.vue +0 -26
- package/dist/runtime/app/components/Table/internal/CellBadge/CellBadge.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.d.ts +0 -21
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.js +0 -11
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.vue +0 -32
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.js +0 -4
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.vue +0 -16
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.js +0 -4
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.vue +0 -21
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellImage/CellImage.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellImage/CellImage.vue +0 -24
- package/dist/runtime/app/components/Table/internal/CellImage/CellImage.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.js +0 -4
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.vue +0 -17
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellText/CellText.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.d.ts +0 -13
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.js +0 -11
- package/dist/runtime/app/components/Table/internal/CellText/CellText.vue +0 -16
- package/dist/runtime/app/components/Table/internal/CellText/CellText.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.d.vue.ts +0 -22
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.vue +0 -48
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.vue.d.ts +0 -22
- package/dist/runtime/app/components/Table/internal/column.d.ts +0 -9
- package/dist/runtime/app/components/Table/internal/column.js +0 -5
- package/dist/runtime/app/components/Table/internal/query.d.ts +0 -18
- package/dist/runtime/app/components/Table/internal/query.js +0 -8
- package/dist/runtime/app/components/Table/internal/selection.d.ts +0 -29
- package/dist/runtime/app/components/Table/internal/selection.js +0 -10
- package/dist/runtime/app/components/Table/internal/useVunoTable.d.ts +0 -93
- package/dist/runtime/app/components/Table/internal/useVunoTable.js +0 -153
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.d.ts +0 -21
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.js +0 -29
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.d.vue.ts +0 -41
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.theme.d.ts +0 -50
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.theme.js +0 -38
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.vue +0 -33
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.vue.d.ts +0 -41
- package/dist/runtime/app/components/internal/FieldShell/FieldShell.d.vue.ts +0 -23
- package/dist/runtime/app/components/internal/FieldShell/FieldShell.vue +0 -63
- package/dist/runtime/app/components/internal/FieldShell/FieldShell.vue.d.ts +0 -23
- package/dist/runtime/app/components/internal/Input/Input.d.vue.ts +0 -52
- package/dist/runtime/app/components/internal/Input/Input.theme.d.ts +0 -30
- package/dist/runtime/app/components/internal/Input/Input.theme.js +0 -21
- package/dist/runtime/app/components/internal/Input/Input.vue +0 -66
- package/dist/runtime/app/components/internal/Input/Input.vue.d.ts +0 -52
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.d.vue.ts +0 -36
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.theme.d.ts +0 -31
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.theme.js +0 -26
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.vue +0 -221
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.vue.d.ts +0 -36
- package/dist/runtime/app/composables/defineShortcuts.d.ts +0 -19
- package/dist/runtime/app/composables/defineShortcuts.js +0 -68
- package/dist/runtime/app/composables/internal/useVunoAnchor.d.ts +0 -45
- package/dist/runtime/app/composables/internal/useVunoAnchor.js +0 -35
- package/dist/runtime/app/composables/internal/useVunoControlGroup.d.ts +0 -17
- package/dist/runtime/app/composables/internal/useVunoControlGroup.js +0 -18
- package/dist/runtime/app/composables/internal/useVunoPortal.d.ts +0 -18
- package/dist/runtime/app/composables/internal/useVunoPortal.js +0 -12
- package/dist/runtime/app/composables/useConfirm.d.ts +0 -15
- package/dist/runtime/app/composables/useConfirm.js +0 -5
- package/dist/runtime/app/composables/useContext.d.ts +0 -11
- package/dist/runtime/app/composables/useContext.js +0 -9
- package/dist/runtime/app/composables/useCrud.d.ts +0 -23
- package/dist/runtime/app/composables/useCrud.js +0 -153
- package/dist/runtime/app/composables/useField.d.ts +0 -10
- package/dist/runtime/app/composables/useField.js +0 -42
- package/dist/runtime/app/composables/useForm.d.ts +0 -5
- package/dist/runtime/app/composables/useForm.js +0 -9
- package/dist/runtime/app/composables/useModal.d.ts +0 -21
- package/dist/runtime/app/composables/useModal.js +0 -24
- package/dist/runtime/app/composables/useOverlay.d.ts +0 -22
- package/dist/runtime/app/composables/useOverlay.js +0 -10
- package/dist/runtime/app/composables/useTableQuery.d.ts +0 -10
- package/dist/runtime/app/composables/useTableQuery.js +0 -126
- package/dist/runtime/app/composables/useToast.d.ts +0 -28
- package/dist/runtime/app/composables/useToast.js +0 -13
- package/dist/runtime/app/internal/keys.d.ts +0 -43
- package/dist/runtime/app/internal/keys.js +0 -8
- package/dist/runtime/app/internal/slots.d.ts +0 -22
- package/dist/runtime/app/plugins/vue-query.d.ts +0 -8
- package/dist/runtime/app/plugins/vue-query.js +0 -13
- package/dist/runtime/app/types/alert.d.ts +0 -13
- package/dist/runtime/app/types/app.d.ts +0 -83
- package/dist/runtime/app/types/confirm.d.ts +0 -19
- package/dist/runtime/app/types/crud.d.ts +0 -108
- package/dist/runtime/app/types/field-type.d.ts +0 -4
- package/dist/runtime/app/types/field.d.ts +0 -233
- package/dist/runtime/app/types/page.d.ts +0 -61
- package/dist/runtime/app/types/responsive.d.ts +0 -8
- package/dist/runtime/app/types/shortcuts.d.ts +0 -44
- package/dist/runtime/app/types/state.d.ts +0 -35
- package/dist/runtime/app/types/table.d.ts +0 -287
- package/dist/runtime/app/utils/query-key.d.ts +0 -20
- package/dist/runtime/app/utils/query-key.js +0 -7
- /package/dist/runtime/app/{types/alert.js → components/AILabel/AILabel.types.js} +0 -0
- /package/dist/runtime/app/{types/app.js → components/Accordion/Accordion.types.js} +0 -0
- /package/dist/runtime/app/{types/confirm.js → components/AccordionItem/AccordionItem.types.js} +0 -0
- /package/dist/runtime/app/{types/crud.js → components/ActionableNotification/ActionableNotification.types.js} +0 -0
- /package/dist/runtime/app/{types/field-type.js → components/Breadcrumb/Breadcrumb.types.js} +0 -0
- /package/dist/runtime/app/{types/field.js → components/BreadcrumbItem/BreadcrumbItem.types.js} +0 -0
- /package/dist/runtime/app/{types/page.js → components/Button/Button.types.js} +0 -0
- /package/dist/runtime/app/{types/responsive.js → components/ButtonSet/ButtonSet.types.js} +0 -0
- /package/dist/runtime/app/{types/shortcuts.js → components/Callout/Callout.types.js} +0 -0
- /package/dist/runtime/app/{types/state.js → components/Checkbox/Checkbox.types.js} +0 -0
- /package/dist/runtime/app/{types/table.js → components/CheckboxGroup/CheckboxGroup.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSelect/internal/Select → Dropdown}/option.js +0 -0
- /package/dist/runtime/app/{components/internal/NumberInput → primitives/PrimitiveNumberInput}/number.d.ts +0 -0
- /package/dist/runtime/app/{components/internal/NumberInput → primitives/PrimitiveNumberInput}/number.js +0 -0
- /package/dist/runtime/app/{internal → utils}/slots.js +0 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, nextTick, ref, useId, useTemplateRef } from "vue";
|
|
3
|
+
import { useTheme } from "#vuno/composables/useTheme";
|
|
4
|
+
import FormLabel from "#vuno/components/FormLabel/FormLabel.vue";
|
|
5
|
+
import TreeViewNode from "./internal/TreeViewNode/TreeViewNode.vue";
|
|
6
|
+
defineOptions({ name: "TreeView", inheritAttrs: false });
|
|
7
|
+
const active = defineModel("active", { type: null, ...{ default: void 0 } });
|
|
8
|
+
const selected = defineModel("selected", { type: Array, ...{ default: () => [] } });
|
|
9
|
+
const expanded = defineModel("expanded", { type: Array, ...{ default: () => [] } });
|
|
10
|
+
const props = defineProps({
|
|
11
|
+
id: { type: String, required: false, default: void 0 },
|
|
12
|
+
hideLabel: { type: Boolean, required: false, default: false },
|
|
13
|
+
items: { type: Array, required: true },
|
|
14
|
+
label: { type: String, required: true },
|
|
15
|
+
multiselect: { type: Boolean, required: false, default: false },
|
|
16
|
+
size: { type: String, required: false, default: "sm" },
|
|
17
|
+
ui: { type: Object, required: false, default: void 0 }
|
|
18
|
+
});
|
|
19
|
+
const emit = defineEmits(["select", "toggle"]);
|
|
20
|
+
const ui = useTheme(
|
|
21
|
+
"treeView",
|
|
22
|
+
() => props.ui,
|
|
23
|
+
() => ({ size: props.size })
|
|
24
|
+
);
|
|
25
|
+
const tree = useTemplateRef("tree");
|
|
26
|
+
const uid = useId();
|
|
27
|
+
const focusedKey = ref();
|
|
28
|
+
const treeId = computed(() => props.id ?? uid);
|
|
29
|
+
const labelId = computed(() => `${treeId.value}__label`);
|
|
30
|
+
const keyOf = (value) => `${typeof value}:${String(value)}`;
|
|
31
|
+
const keysOf = (values) => new Set(values.map(keyOf));
|
|
32
|
+
const expandedKeys = computed(() => keysOf(expanded.value));
|
|
33
|
+
const selectedKeys = computed(() => keysOf(selected.value));
|
|
34
|
+
const activeKey = computed(() => active.value === void 0 ? void 0 : keyOf(active.value));
|
|
35
|
+
const layout = computed(() => {
|
|
36
|
+
const byKey = /* @__PURE__ */ new Map();
|
|
37
|
+
let index = 0;
|
|
38
|
+
const build = (items, depth, parent) => items.map((item) => {
|
|
39
|
+
const key = keyOf(item.value);
|
|
40
|
+
const id = `${treeId.value}-node-${index++}`;
|
|
41
|
+
const node = {
|
|
42
|
+
id,
|
|
43
|
+
children: [],
|
|
44
|
+
depth,
|
|
45
|
+
disabled: Boolean(item.disabled),
|
|
46
|
+
expanded: Boolean(item.children?.length) && expandedKeys.value.has(key),
|
|
47
|
+
item,
|
|
48
|
+
key,
|
|
49
|
+
labelId: `${id}__label`,
|
|
50
|
+
parentKey: parent?.key,
|
|
51
|
+
subtreeId: `${id}-subtree`
|
|
52
|
+
};
|
|
53
|
+
byKey.set(key, node);
|
|
54
|
+
node.children = build(item.children ?? [], depth + 1, node);
|
|
55
|
+
return node;
|
|
56
|
+
});
|
|
57
|
+
return { byKey, roots: build(props.items, 0) };
|
|
58
|
+
});
|
|
59
|
+
const reachable = computed(() => {
|
|
60
|
+
const result = [];
|
|
61
|
+
const walk = (nodes) => {
|
|
62
|
+
for (const node of nodes) {
|
|
63
|
+
if (node.disabled) continue;
|
|
64
|
+
result.push(node);
|
|
65
|
+
if (node.expanded) walk(node.children);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
walk(layout.value.roots);
|
|
69
|
+
return result;
|
|
70
|
+
});
|
|
71
|
+
const focusKey = computed(() => {
|
|
72
|
+
const current = focusedKey.value;
|
|
73
|
+
if (current && reachable.value.some((node) => node.key === current)) return current;
|
|
74
|
+
return reachable.value[0]?.key;
|
|
75
|
+
});
|
|
76
|
+
function focusNode(node) {
|
|
77
|
+
if (!node) return;
|
|
78
|
+
focusedKey.value = node.key;
|
|
79
|
+
void nextTick(() => tree.value?.querySelector(`[data-tree-key="${CSS.escape(node.key)}"]`)?.focus());
|
|
80
|
+
}
|
|
81
|
+
function select(node, event) {
|
|
82
|
+
if (node.disabled) return;
|
|
83
|
+
focusedKey.value = node.key;
|
|
84
|
+
if (props.multiselect && (event.ctrlKey || event.metaKey)) {
|
|
85
|
+
selected.value = selectedKeys.value.has(node.key) ? selected.value.filter((value) => keyOf(value) !== node.key) : [...selected.value, node.item.value];
|
|
86
|
+
} else {
|
|
87
|
+
selected.value = [node.item.value];
|
|
88
|
+
active.value = node.item.value;
|
|
89
|
+
}
|
|
90
|
+
emit("select", node.item, event);
|
|
91
|
+
}
|
|
92
|
+
function toggle(node, event, force) {
|
|
93
|
+
if (node.disabled || !node.children.length) return;
|
|
94
|
+
const open = force ?? !node.expanded;
|
|
95
|
+
const rest = expanded.value.filter((value) => keyOf(value) !== node.key);
|
|
96
|
+
expanded.value = open ? [...rest, node.item.value] : rest;
|
|
97
|
+
emit("toggle", node.item, open, event);
|
|
98
|
+
}
|
|
99
|
+
function selectRange(node, toStart) {
|
|
100
|
+
const index = reachable.value.indexOf(node);
|
|
101
|
+
if (index < 0) return;
|
|
102
|
+
const range = toStart ? reachable.value.slice(0, index + 1) : reachable.value.slice(index);
|
|
103
|
+
const values = [...selected.value];
|
|
104
|
+
for (const entry of range) if (!values.some((value) => keyOf(value) === entry.key)) values.push(entry.item.value);
|
|
105
|
+
selected.value = values;
|
|
106
|
+
}
|
|
107
|
+
function move(node, step) {
|
|
108
|
+
const index = reachable.value.indexOf(node);
|
|
109
|
+
focusNode(index < 0 ? reachable.value[0] : reachable.value[index + step]);
|
|
110
|
+
}
|
|
111
|
+
function activate(node, event) {
|
|
112
|
+
if (node.item.href) {
|
|
113
|
+
tree.value?.querySelector(`[data-tree-key="${CSS.escape(node.key)}"]`)?.click();
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
select(node, event);
|
|
117
|
+
}
|
|
118
|
+
function onKeydown(event, node) {
|
|
119
|
+
if (node.disabled) return;
|
|
120
|
+
const multi = props.multiselect && (event.ctrlKey || event.metaKey);
|
|
121
|
+
switch (event.key) {
|
|
122
|
+
case "ArrowDown":
|
|
123
|
+
event.preventDefault();
|
|
124
|
+
move(node, 1);
|
|
125
|
+
break;
|
|
126
|
+
case "ArrowUp":
|
|
127
|
+
event.preventDefault();
|
|
128
|
+
move(node, -1);
|
|
129
|
+
break;
|
|
130
|
+
case "ArrowRight":
|
|
131
|
+
if (!node.children.length) return;
|
|
132
|
+
event.preventDefault();
|
|
133
|
+
if (node.expanded) focusNode(node.children.find((child) => !child.disabled));
|
|
134
|
+
else toggle(node, event, true);
|
|
135
|
+
break;
|
|
136
|
+
case "ArrowLeft":
|
|
137
|
+
event.preventDefault();
|
|
138
|
+
if (node.expanded) toggle(node, event, false);
|
|
139
|
+
else if (node.parentKey) focusNode(layout.value.byKey.get(node.parentKey));
|
|
140
|
+
break;
|
|
141
|
+
case "End":
|
|
142
|
+
case "Home": {
|
|
143
|
+
event.preventDefault();
|
|
144
|
+
const toStart = event.key === "Home";
|
|
145
|
+
if (multi && event.shiftKey) selectRange(node, toStart);
|
|
146
|
+
focusNode(toStart ? reachable.value[0] : reachable.value.at(-1));
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
case "Enter":
|
|
150
|
+
event.preventDefault();
|
|
151
|
+
if (node.children.length) toggle(node, event);
|
|
152
|
+
activate(node, event);
|
|
153
|
+
break;
|
|
154
|
+
case " ":
|
|
155
|
+
event.preventDefault();
|
|
156
|
+
activate(node, event);
|
|
157
|
+
break;
|
|
158
|
+
default:
|
|
159
|
+
if (multi && (event.key === "a" || event.key === "A")) {
|
|
160
|
+
event.preventDefault();
|
|
161
|
+
selected.value = [...selected.value, ...reachable.value.filter((entry) => !selectedKeys.value.has(entry.key)).map((entry) => entry.item.value)];
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
</script>
|
|
166
|
+
|
|
167
|
+
<template>
|
|
168
|
+
<FormLabel
|
|
169
|
+
v-if="!props.hideLabel"
|
|
170
|
+
:id="labelId"
|
|
171
|
+
>
|
|
172
|
+
{{ props.label }}
|
|
173
|
+
</FormLabel>
|
|
174
|
+
|
|
175
|
+
<ul
|
|
176
|
+
:id="treeId"
|
|
177
|
+
ref="tree"
|
|
178
|
+
v-bind="$attrs"
|
|
179
|
+
:aria-label="props.hideLabel ? props.label : void 0"
|
|
180
|
+
:aria-labelledby="props.hideLabel ? void 0 : labelId"
|
|
181
|
+
:aria-multiselectable="props.multiselect || void 0"
|
|
182
|
+
:class="ui.root"
|
|
183
|
+
role="tree"
|
|
184
|
+
>
|
|
185
|
+
<TreeViewNode
|
|
186
|
+
v-for="node in layout.roots"
|
|
187
|
+
:key="node.key"
|
|
188
|
+
:activeKey="activeKey"
|
|
189
|
+
:focusKey="focusKey"
|
|
190
|
+
:node="node"
|
|
191
|
+
:selectedKeys="selectedKeys"
|
|
192
|
+
:size="props.size"
|
|
193
|
+
:ui="props.ui"
|
|
194
|
+
@focus-node="focusedKey = $event"
|
|
195
|
+
@keydown="onKeydown"
|
|
196
|
+
@select="select"
|
|
197
|
+
@toggle="toggle"
|
|
198
|
+
/>
|
|
199
|
+
</ul>
|
|
200
|
+
</template>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { TreeViewEvent, TreeViewItem, TreeViewProps, TreeViewValue } from './TreeView.types.js';
|
|
2
|
+
type __VLS_Props = TreeViewProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
'active'?: TreeViewValue | undefined;
|
|
5
|
+
'selected'?: TreeViewValue[];
|
|
6
|
+
'expanded'?: TreeViewValue[];
|
|
7
|
+
};
|
|
8
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
select: (item: TreeViewItem, event: TreeViewEvent) => any;
|
|
11
|
+
toggle: (item: TreeViewItem, expanded: boolean, event: TreeViewEvent) => any;
|
|
12
|
+
"update:expanded": (value: TreeViewValue[]) => any;
|
|
13
|
+
"update:selected": (value: TreeViewValue[]) => any;
|
|
14
|
+
"update:active": (value: TreeViewValue | undefined) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
onSelect?: ((item: TreeViewItem, event: TreeViewEvent) => any) | undefined;
|
|
17
|
+
onToggle?: ((item: TreeViewItem, expanded: boolean, event: TreeViewEvent) => any) | undefined;
|
|
18
|
+
"onUpdate:expanded"?: ((value: TreeViewValue[]) => any) | undefined;
|
|
19
|
+
"onUpdate:selected"?: ((value: TreeViewValue[]) => any) | undefined;
|
|
20
|
+
"onUpdate:active"?: ((value: TreeViewValue | undefined) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
size: import("./TreeView.types.js").TreeViewSize;
|
|
23
|
+
hideLabel: boolean;
|
|
24
|
+
id: string;
|
|
25
|
+
ui: import("../../types/slots.js").ComponentUi<"treeView">;
|
|
26
|
+
multiselect: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { TreeViewEvent, TreeViewNode as TreeViewNodeState, TreeViewProps } from '#vuno/components/TreeView/TreeView.types';
|
|
2
|
+
type Props = {
|
|
3
|
+
activeKey?: string;
|
|
4
|
+
focusKey?: string;
|
|
5
|
+
node: TreeViewNodeState;
|
|
6
|
+
selectedKeys: Set<string>;
|
|
7
|
+
size: NonNullable<TreeViewProps['size']>;
|
|
8
|
+
ui?: TreeViewProps['ui'];
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
select: (node: TreeViewNodeState, event: TreeViewEvent) => any;
|
|
12
|
+
toggle: (node: TreeViewNodeState, event: TreeViewEvent) => any;
|
|
13
|
+
keydown: (event: KeyboardEvent, node: TreeViewNodeState) => any;
|
|
14
|
+
focusNode: (key: string) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
+
onSelect?: ((node: TreeViewNodeState, event: TreeViewEvent) => any) | undefined;
|
|
17
|
+
onToggle?: ((node: TreeViewNodeState, event: TreeViewEvent) => any) | undefined;
|
|
18
|
+
onKeydown?: ((event: KeyboardEvent, node: TreeViewNodeState) => any) | undefined;
|
|
19
|
+
onFocusNode?: ((key: string) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { useTheme } from "#vuno/composables/useTheme";
|
|
4
|
+
import TreeViewRow from "#vuno/components/TreeView/internal/TreeViewRow/TreeViewRow.vue";
|
|
5
|
+
defineOptions({ name: "TreeViewNode" });
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
activeKey: { type: String, required: false },
|
|
8
|
+
focusKey: { type: String, required: false },
|
|
9
|
+
node: { type: Object, required: true },
|
|
10
|
+
selectedKeys: { type: Set, required: true },
|
|
11
|
+
size: { type: String, required: true },
|
|
12
|
+
ui: { type: Object, required: false }
|
|
13
|
+
});
|
|
14
|
+
const emit = defineEmits(["focusNode", "keydown", "select", "toggle"]);
|
|
15
|
+
const isLink = computed(() => Boolean(props.node.item.href));
|
|
16
|
+
const isBranch = computed(() => props.node.children.length > 0);
|
|
17
|
+
const isActive = computed(() => props.activeKey === props.node.key);
|
|
18
|
+
const isSelected = computed(() => props.selectedKeys.has(props.node.key));
|
|
19
|
+
const ui = useTheme(
|
|
20
|
+
"treeView",
|
|
21
|
+
() => props.ui,
|
|
22
|
+
() => ({
|
|
23
|
+
active: isActive.value ? "true" : "false",
|
|
24
|
+
disabled: props.node.disabled ? "true" : "false",
|
|
25
|
+
expanded: props.node.expanded ? "true" : "false",
|
|
26
|
+
leaf: isBranch.value ? "false" : "true",
|
|
27
|
+
selected: isSelected.value && !props.node.disabled ? "true" : "false",
|
|
28
|
+
size: props.size,
|
|
29
|
+
withIcon: props.node.item.icon ? "true" : "false"
|
|
30
|
+
})
|
|
31
|
+
);
|
|
32
|
+
const offset = computed(() => {
|
|
33
|
+
const { depth } = props.node;
|
|
34
|
+
const withIcon = Boolean(props.node.item.icon);
|
|
35
|
+
if (isBranch.value) return withIcon ? depth + 1 + depth * 0.5 : depth + 1;
|
|
36
|
+
return withIcon ? depth + 2 + depth * 0.5 : depth + 2.5;
|
|
37
|
+
});
|
|
38
|
+
const treeitem = computed(() => ({
|
|
39
|
+
id: props.node.id,
|
|
40
|
+
"aria-current": isActive.value ? isLink.value ? "page" : "true" : void 0,
|
|
41
|
+
"aria-disabled": props.node.disabled || void 0,
|
|
42
|
+
"aria-expanded": isBranch.value ? props.node.expanded : void 0,
|
|
43
|
+
"aria-owns": isBranch.value ? props.node.subtreeId : void 0,
|
|
44
|
+
"aria-selected": props.node.disabled ? void 0 : isSelected.value,
|
|
45
|
+
"data-tree-key": props.node.key,
|
|
46
|
+
role: "treeitem",
|
|
47
|
+
tabindex: props.node.disabled ? void 0 : props.focusKey === props.node.key ? 0 : -1
|
|
48
|
+
}));
|
|
49
|
+
const wrapper = computed(() => isLink.value ? { class: ui.value.nodeLink, role: "none" } : { ...treeitem.value, class: ui.value.node });
|
|
50
|
+
const listeners = computed(
|
|
51
|
+
() => isLink.value ? {} : {
|
|
52
|
+
click: onClick,
|
|
53
|
+
keydown: onKeydown,
|
|
54
|
+
focus: () => emit("focusNode", props.node.key)
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
function onClick(event) {
|
|
58
|
+
event.stopPropagation();
|
|
59
|
+
if (props.node.disabled) return;
|
|
60
|
+
emit("select", props.node, event);
|
|
61
|
+
}
|
|
62
|
+
function onKeydown(event) {
|
|
63
|
+
event.stopPropagation();
|
|
64
|
+
emit("keydown", event, props.node);
|
|
65
|
+
}
|
|
66
|
+
</script>
|
|
67
|
+
|
|
68
|
+
<template>
|
|
69
|
+
<li
|
|
70
|
+
v-bind="wrapper"
|
|
71
|
+
v-on="listeners"
|
|
72
|
+
>
|
|
73
|
+
<a
|
|
74
|
+
v-if="isLink"
|
|
75
|
+
v-bind="treeitem"
|
|
76
|
+
:class="ui.node"
|
|
77
|
+
:href="props.node.disabled ? void 0 : props.node.item.href"
|
|
78
|
+
@click="onClick"
|
|
79
|
+
@focus="emit('focusNode', props.node.key)"
|
|
80
|
+
@keydown="onKeydown"
|
|
81
|
+
>
|
|
82
|
+
<TreeViewRow
|
|
83
|
+
:node="props.node"
|
|
84
|
+
:offset="offset"
|
|
85
|
+
:ui="ui"
|
|
86
|
+
@toggle="emit('toggle', props.node, $event)"
|
|
87
|
+
/>
|
|
88
|
+
</a>
|
|
89
|
+
|
|
90
|
+
<TreeViewRow
|
|
91
|
+
v-else
|
|
92
|
+
:node="props.node"
|
|
93
|
+
:offset="offset"
|
|
94
|
+
:ui="ui"
|
|
95
|
+
@toggle="emit('toggle', props.node, $event)"
|
|
96
|
+
/>
|
|
97
|
+
|
|
98
|
+
<ul
|
|
99
|
+
v-if="isBranch"
|
|
100
|
+
:id="props.node.subtreeId"
|
|
101
|
+
:aria-labelledby="props.node.labelId"
|
|
102
|
+
:class="ui.group"
|
|
103
|
+
:hidden="!props.node.expanded"
|
|
104
|
+
role="group"
|
|
105
|
+
>
|
|
106
|
+
<TreeViewNode
|
|
107
|
+
v-for="child in props.node.children"
|
|
108
|
+
:key="child.key"
|
|
109
|
+
:activeKey="props.activeKey"
|
|
110
|
+
:focusKey="props.focusKey"
|
|
111
|
+
:node="child"
|
|
112
|
+
:selectedKeys="props.selectedKeys"
|
|
113
|
+
:size="props.size"
|
|
114
|
+
:ui="props.ui"
|
|
115
|
+
@focus-node="emit('focusNode', $event)"
|
|
116
|
+
@keydown="(event, node) => emit('keydown', event, node)"
|
|
117
|
+
@select="(node, event) => emit('select', node, event)"
|
|
118
|
+
@toggle="(node, event) => emit('toggle', node, event)"
|
|
119
|
+
/>
|
|
120
|
+
</ul>
|
|
121
|
+
</li>
|
|
122
|
+
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { TreeViewEvent, TreeViewNode as TreeViewNodeState, TreeViewProps } from '#vuno/components/TreeView/TreeView.types';
|
|
2
|
+
type Props = {
|
|
3
|
+
activeKey?: string;
|
|
4
|
+
focusKey?: string;
|
|
5
|
+
node: TreeViewNodeState;
|
|
6
|
+
selectedKeys: Set<string>;
|
|
7
|
+
size: NonNullable<TreeViewProps['size']>;
|
|
8
|
+
ui?: TreeViewProps['ui'];
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
select: (node: TreeViewNodeState, event: TreeViewEvent) => any;
|
|
12
|
+
toggle: (node: TreeViewNodeState, event: TreeViewEvent) => any;
|
|
13
|
+
keydown: (event: KeyboardEvent, node: TreeViewNodeState) => any;
|
|
14
|
+
focusNode: (key: string) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
+
onSelect?: ((node: TreeViewNodeState, event: TreeViewEvent) => any) | undefined;
|
|
17
|
+
onToggle?: ((node: TreeViewNodeState, event: TreeViewEvent) => any) | undefined;
|
|
18
|
+
onKeydown?: ((event: KeyboardEvent, node: TreeViewNodeState) => any) | undefined;
|
|
19
|
+
onFocusNode?: ((key: string) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ResolvedSlots } from '#vuno/types/slots';
|
|
2
|
+
import type { TreeViewEvent, TreeViewNode } from '#vuno/components/TreeView/TreeView.types';
|
|
3
|
+
type Props = {
|
|
4
|
+
node: TreeViewNode;
|
|
5
|
+
/** La sangría del nivel, en `rem`: la calcula el nodo porque depende de su profundidad. */
|
|
6
|
+
offset: number;
|
|
7
|
+
ui: ResolvedSlots<'treeView'>;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
toggle: (event: TreeViewEvent) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
+
onToggle?: ((event: TreeViewEvent) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Icon from "#vuno/primitives/PrimitiveIcon/PrimitiveIcon.vue";
|
|
3
|
+
defineOptions({ name: "TreeViewRow" });
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
node: { type: Object, required: true },
|
|
6
|
+
offset: { type: Number, required: true },
|
|
7
|
+
ui: { type: Object, required: true }
|
|
8
|
+
});
|
|
9
|
+
const emit = defineEmits(["toggle"]);
|
|
10
|
+
function onToggle(event) {
|
|
11
|
+
if (props.node.disabled) return;
|
|
12
|
+
if (props.node.item.href) event.preventDefault();
|
|
13
|
+
emit("toggle", event);
|
|
14
|
+
}
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<div
|
|
19
|
+
:class="props.ui.nodeLabel"
|
|
20
|
+
:style="{ paddingInlineStart: `${props.offset}rem` }"
|
|
21
|
+
>
|
|
22
|
+
<span
|
|
23
|
+
v-if="props.node.children.length"
|
|
24
|
+
aria-hidden="true"
|
|
25
|
+
:class="props.ui.toggle"
|
|
26
|
+
data-tree-toggle
|
|
27
|
+
@click.stop="onToggle"
|
|
28
|
+
>
|
|
29
|
+
<Icon
|
|
30
|
+
:class="props.ui.toggleIcon"
|
|
31
|
+
name="carbon:caret-down"
|
|
32
|
+
/>
|
|
33
|
+
</span>
|
|
34
|
+
|
|
35
|
+
<span :class="props.ui.details">
|
|
36
|
+
<Icon
|
|
37
|
+
v-if="props.node.item.icon"
|
|
38
|
+
:class="props.ui.icon"
|
|
39
|
+
:name="props.node.item.icon"
|
|
40
|
+
/>
|
|
41
|
+
|
|
42
|
+
<span
|
|
43
|
+
:id="props.node.labelId"
|
|
44
|
+
:class="props.ui.text"
|
|
45
|
+
>
|
|
46
|
+
{{ props.node.item.label }}
|
|
47
|
+
</span>
|
|
48
|
+
</span>
|
|
49
|
+
</div>
|
|
50
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ResolvedSlots } from '#vuno/types/slots';
|
|
2
|
+
import type { TreeViewEvent, TreeViewNode } from '#vuno/components/TreeView/TreeView.types';
|
|
3
|
+
type Props = {
|
|
4
|
+
node: TreeViewNode;
|
|
5
|
+
/** La sangría del nivel, en `rem`: la calcula el nodo porque depende de su profundidad. */
|
|
6
|
+
offset: number;
|
|
7
|
+
ui: ResolvedSlots<'treeView'>;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
toggle: (event: TreeViewEvent) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
+
onToggle?: ((event: TreeViewEvent) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Marcador que pinta cada `ListItem` de una lista.
|
|
4
|
+
*
|
|
5
|
+
* `counter` es el contador propio de Vuno —un `::before` con `counter(item)`
|
|
6
|
+
* que cuelga a la izquierda—, `native` deja el marcador al navegador y `dash` y
|
|
7
|
+
* `square` son los dos niveles de la lista no ordenada: `–` en el primero y `▪`
|
|
8
|
+
* en el segundo.
|
|
9
|
+
*/
|
|
10
|
+
export type ListMarker = 'counter' | 'dash' | 'native' | 'square';
|
|
11
|
+
/**
|
|
12
|
+
* Lo que una lista decide y sus elementos —y sus listas hijas— necesitan.
|
|
13
|
+
*
|
|
14
|
+
* En Vuno estas decisiones viven en clases del contenedor y bajan por
|
|
15
|
+
* selectores de descendencia (`.vuno--list--expressive .vuno--list--nested`,
|
|
16
|
+
* `.vuno--list--unordered > .vuno--list__item::before`). Aquí cada `ListItem`
|
|
17
|
+
* resuelve su propio tema, así que las recibe.
|
|
18
|
+
*
|
|
19
|
+
* Que el contexto exista ya significa «estoy dentro de una lista»: es lo que
|
|
20
|
+
* permite que una lista anidada se reconozca sola en vez de exigir `nested` en
|
|
21
|
+
* cada nivel, como obliga React.
|
|
22
|
+
*/
|
|
23
|
+
export type ListContext = {
|
|
24
|
+
/** `body-02` en lugar de `body-01`; se hereda hacia las listas anidadas. */
|
|
25
|
+
expressive: Ref<boolean>;
|
|
26
|
+
/** Marcador que corresponde a los elementos directos de esta lista. */
|
|
27
|
+
marker: Ref<ListMarker>;
|
|
28
|
+
/** Segundo nivel o más: cambia sangría, marcador y relleno del elemento. */
|
|
29
|
+
nested: Ref<boolean>;
|
|
30
|
+
};
|
|
31
|
+
export declare const listKey: InjectionKey<ListContext>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const listKey = Symbol("list");
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { UnorderedListProps } from './UnorderedList.types.js';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<UnorderedListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UnorderedListProps> & Readonly<{}>, {
|
|
7
|
+
nested: boolean;
|
|
8
|
+
ui: import("../../types/slots.js").ComponentUi<"list">;
|
|
9
|
+
isExpressive: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export declare const listTheme: Record<"list", {
|
|
2
|
+
readonly compoundVariants: [{
|
|
3
|
+
readonly class: {
|
|
4
|
+
readonly ordered: "[counter-reset:item]";
|
|
5
|
+
};
|
|
6
|
+
readonly native: "false";
|
|
7
|
+
readonly nested: "false";
|
|
8
|
+
}, {
|
|
9
|
+
readonly class: {
|
|
10
|
+
readonly ordered: "list-decimal";
|
|
11
|
+
};
|
|
12
|
+
readonly native: "true";
|
|
13
|
+
readonly nested: "false";
|
|
14
|
+
}];
|
|
15
|
+
readonly slots: {
|
|
16
|
+
readonly item: "text-(--vuno-text-primary)";
|
|
17
|
+
readonly ordered: "m-0 list-none border-0 p-0 text-sm leading-5 font-normal tracking-[0.16px]";
|
|
18
|
+
readonly unordered: "m-0 list-none border-0 p-0 text-sm leading-5 font-normal tracking-[0.16px]";
|
|
19
|
+
};
|
|
20
|
+
readonly variants: {
|
|
21
|
+
readonly expressive: {
|
|
22
|
+
readonly false: {};
|
|
23
|
+
readonly true: {
|
|
24
|
+
readonly ordered: "text-base leading-6 tracking-normal";
|
|
25
|
+
readonly unordered: "text-base leading-6 tracking-normal";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
readonly marker: {
|
|
29
|
+
readonly counter: {
|
|
30
|
+
readonly item: "relative before:absolute before:-start-6 before:[counter-increment:item] before:content-[counter(item)_'.']";
|
|
31
|
+
};
|
|
32
|
+
readonly dash: {
|
|
33
|
+
readonly item: "relative before:absolute before:-start-4 before:content-['–']";
|
|
34
|
+
};
|
|
35
|
+
readonly native: {};
|
|
36
|
+
readonly square: {
|
|
37
|
+
readonly item: "relative before:absolute before:-start-3 before:content-['▪︎']";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
readonly native: {
|
|
41
|
+
readonly false: {};
|
|
42
|
+
readonly true: {};
|
|
43
|
+
};
|
|
44
|
+
readonly nested: {
|
|
45
|
+
readonly false: {
|
|
46
|
+
readonly unordered: "ms-4";
|
|
47
|
+
};
|
|
48
|
+
readonly true: {
|
|
49
|
+
readonly item: "ps-1";
|
|
50
|
+
readonly ordered: "ms-8 list-[lower-latin]";
|
|
51
|
+
readonly unordered: "ms-8";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineTheme } from "#vuno/utils/theme";
|
|
2
|
+
export const listTheme = defineTheme("list", {
|
|
3
|
+
compoundVariants: [
|
|
4
|
+
/* Solo la lista ordenada con contador necesita la cuenta, y solo el primer nivel la abre. */
|
|
5
|
+
{ class: { ordered: "[counter-reset:item]" }, native: "false", nested: "false" },
|
|
6
|
+
/* La lista ordenada nativa de primer nivel recupera el marcador decimal del navegador. */
|
|
7
|
+
{ class: { ordered: "list-decimal" }, native: "true", nested: "false" }
|
|
8
|
+
],
|
|
9
|
+
slots: {
|
|
10
|
+
item: "text-(--vuno-text-primary)",
|
|
11
|
+
ordered: "m-0 list-none border-0 p-0 text-sm leading-5 font-normal tracking-[0.16px]",
|
|
12
|
+
unordered: "m-0 list-none border-0 p-0 text-sm leading-5 font-normal tracking-[0.16px]"
|
|
13
|
+
},
|
|
14
|
+
variants: {
|
|
15
|
+
/* `body-02`. La escala expresiva es para contenido editorial; la productiva para producto. */
|
|
16
|
+
expressive: {
|
|
17
|
+
false: {},
|
|
18
|
+
true: { ordered: "text-base leading-6 tracking-normal", unordered: "text-base leading-6 tracking-normal" }
|
|
19
|
+
},
|
|
20
|
+
marker: {
|
|
21
|
+
counter: { item: "relative before:absolute before:-start-6 before:[counter-increment:item] before:content-[counter(item)_'.']" },
|
|
22
|
+
/* – en guion medio, no un punto: es el marcador de primer nivel de Vuno. */
|
|
23
|
+
dash: { item: "relative before:absolute before:-start-4 before:content-['\u2013']" },
|
|
24
|
+
native: {},
|
|
25
|
+
/* ▪ con selector de variación textual, para que ningún sistema lo pinte como emoji. */
|
|
26
|
+
square: { item: "relative before:absolute before:-start-3 before:content-['\u25AA\uFE0E']" }
|
|
27
|
+
},
|
|
28
|
+
native: { false: {}, true: {} },
|
|
29
|
+
nested: {
|
|
30
|
+
false: { unordered: "ms-4" },
|
|
31
|
+
/* Segundo nivel y siguientes: 32 px de sangría, letras en la ordenada y 4 px de relleno en el elemento. */
|
|
32
|
+
true: { item: "ps-1", ordered: "ms-8 list-[lower-latin]", unordered: "ms-8" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ComponentUi } from '#vuno/types/slots';
|
|
2
|
+
export type UnorderedListProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Escala expresiva: `body-02` de 16 px en lugar de `body-01` de 14 px.
|
|
5
|
+
* Vuno la reserva para contenido editorial; en producto la productiva es
|
|
6
|
+
* casi siempre la correcta. Una lista dentro de otra expresiva la hereda.
|
|
7
|
+
*/
|
|
8
|
+
isExpressive?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Segundo nivel de la lista: sangría de 32 px y `▪` en lugar de `–`.
|
|
11
|
+
*
|
|
12
|
+
* No hace falta declararla. Una lista dentro de otra lista lo detecta sola,
|
|
13
|
+
* a diferencia de React, que obliga a pasarla en cada nivel. Se conserva
|
|
14
|
+
* para el caso en que el anidamiento no sea de componente —un nivel
|
|
15
|
+
* renderizado aparte— y para mantener el contrato de Vuno.
|
|
16
|
+
*/
|
|
17
|
+
nested?: boolean;
|
|
18
|
+
ui?: ComponentUi<'list'>;
|
|
19
|
+
};
|
|
File without changes
|