@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,84 @@
|
|
|
1
|
+
import { defineTheme } from "#vuno/utils/theme";
|
|
2
|
+
const fade = "[--snippet-fade:to_right] rtl:[--snippet-fade:to_left]";
|
|
3
|
+
const focusOutline = "focus:outline-solid focus:outline-2 focus:-outline-offset-2 focus:outline-(--vuno-focus)";
|
|
4
|
+
export const codeSnippetTheme = defineTheme("codeSnippet", {
|
|
5
|
+
compoundVariants: [
|
|
6
|
+
/* Sin botón de copiar no hay hueco que reservar al final. */
|
|
7
|
+
{ class: { root: "pe-0 ps-0" }, noCopy: "true", type: "single" },
|
|
8
|
+
{ class: { pre: "pe-0" }, noCopy: "true", type: "multi" },
|
|
9
|
+
/*
|
|
10
|
+
* El `inline` sin copia deja de ser un control: ni cursor de mano ni
|
|
11
|
+
* cambio al posar el ratón. Vuno además lo pasa a `inline-block`.
|
|
12
|
+
*/
|
|
13
|
+
{ class: { root: "inline-block cursor-auto hover:bg-(--vuno-layer-01) active:bg-(--vuno-layer-01)" }, noCopy: "true", type: "inline" },
|
|
14
|
+
/* El aire que separa la última línea de la acción de replegar. */
|
|
15
|
+
{ class: { container: "pb-4" }, expanded: "true", type: "multi" },
|
|
16
|
+
/* Vuno solo envuelve en `multi`; una línea envuelta dejaría de serlo. */
|
|
17
|
+
{ class: { pre: "break-words whitespace-pre-wrap" }, type: "multi", wrapText: "true" },
|
|
18
|
+
{ class: { root: "text-(--vuno-text-disabled)" }, disabled: "true", type: "multi" },
|
|
19
|
+
{ class: { root: "text-(--vuno-text-disabled)" }, disabled: "true", type: "single" }
|
|
20
|
+
],
|
|
21
|
+
slots: {
|
|
22
|
+
code: "font-mono text-xs leading-4 tracking-[0.32px]",
|
|
23
|
+
container: "relative",
|
|
24
|
+
/** Se funde en el `ui` del botón, así que `tailwind-merge` resuelve los choques. */
|
|
25
|
+
copy: "absolute end-0 top-0 hover:bg-(--vuno-layer-hover-01) focus:shadow-none focus:outline-solid focus:outline-2 focus:-outline-offset-2 focus:outline-(--vuno-focus) active:bg-(--vuno-layer-active-01)",
|
|
26
|
+
copyIcon: "group-disabled:text-(--vuno-icon-disabled)",
|
|
27
|
+
/**
|
|
28
|
+
* El fallo de copia no es un estado de Vuno: ahí el portapapeles no
|
|
29
|
+
* falla. Va en absoluto bajo el bloque porque la raíz es una fila y un
|
|
30
|
+
* aviso en flujo se colocaría al lado del código en vez de debajo.
|
|
31
|
+
*/
|
|
32
|
+
error: "absolute inset-x-0 top-full z-10 border-t border-(--vuno-support-error) bg-(--vuno-notification-background-error) px-4 py-2 text-xs text-(--vuno-support-error)",
|
|
33
|
+
/* El borde del botón se apaga al enfocar: sin eso compite con el contorno, que es la señal. */
|
|
34
|
+
expand: "absolute end-0 bottom-0 z-10 h-8 bg-(--vuno-layer-01) ps-4 pe-4 text-(--vuno-text-primary) hover:bg-(--vuno-layer-hover-01) hover:text-(--vuno-text-primary) active:text-(--vuno-text-primary) focus:border-transparent focus:shadow-none focus:outline-solid focus:outline-2 focus:-outline-offset-2 focus:outline-(--vuno-focus) active:bg-(--vuno-layer-active-01) disabled:bg-(--vuno-layer-01) disabled:text-(--vuno-text-disabled) disabled:hover:bg-(--vuno-layer-01)",
|
|
35
|
+
expandIcon: "transition-transform duration-(--vuno-duration-moderate-01) ease-(--vuno-easing-standard-productive) group-disabled:text-(--vuno-icon-disabled) motion-reduce:transition-none",
|
|
36
|
+
expandLabel: "relative -top-px",
|
|
37
|
+
live: "sr-only",
|
|
38
|
+
pre: "m-0 font-mono text-xs leading-4 tracking-[0.32px]",
|
|
39
|
+
root: "group"
|
|
40
|
+
},
|
|
41
|
+
variants: {
|
|
42
|
+
disabled: {
|
|
43
|
+
false: {},
|
|
44
|
+
/* Vuno deja el fondo donde está y apaga solo el texto y los iconos. */
|
|
45
|
+
true: {}
|
|
46
|
+
},
|
|
47
|
+
expanded: {
|
|
48
|
+
false: {},
|
|
49
|
+
true: { expandIcon: "rotate-180" }
|
|
50
|
+
},
|
|
51
|
+
noCopy: {
|
|
52
|
+
false: {},
|
|
53
|
+
true: {}
|
|
54
|
+
},
|
|
55
|
+
type: {
|
|
56
|
+
inline: {
|
|
57
|
+
code: "px-2 whitespace-pre",
|
|
58
|
+
root: "relative inline cursor-pointer rounded-[4px] border border-transparent bg-(--vuno-layer-01) p-0 text-(--vuno-text-primary) hover:bg-(--vuno-layer-hover-01) focus:border-(--vuno-focus) focus:outline-none active:bg-(--vuno-layer-active-01) forced-colors:focus:text-[Highlight] forced-colors:focus:outline-solid forced-colors:focus:outline-1 forced-colors:focus:outline-[Highlight]"
|
|
59
|
+
},
|
|
60
|
+
multi: {
|
|
61
|
+
container: `order-1 w-full overflow-auto ${fade} [mask-composite:intersect] [mask-image:linear-gradient(var(--snippet-fade),#000_calc(100%_-_2rem),transparent_100%),linear-gradient(to_bottom,#000_calc(100%_-_1rem),transparent_100%)] transition-[max-height] duration-(--vuno-duration-moderate-01) ease-(--vuno-easing-standard-productive) ${focusOutline} group-focus-within:[mask-image:none] motion-reduce:transition-none`,
|
|
62
|
+
copy: "end-2 top-2 z-10",
|
|
63
|
+
/*
|
|
64
|
+
* El desplazamiento vive en el contenedor y no aquí. El contenedor es
|
|
65
|
+
* el que lleva `role="textbox"` y `tabindex`, así que es el único que
|
|
66
|
+
* se puede alcanzar con el teclado: una segunda región desplazable en
|
|
67
|
+
* el `pre` dejaba las líneas largas fuera del alcance de quien no usa
|
|
68
|
+
* ratón. Es también donde lo pone el sistema de origen.
|
|
69
|
+
*/
|
|
70
|
+
pre: "pb-6 pe-6",
|
|
71
|
+
root: "relative flex w-full max-w-3xl min-w-0 bg-(--vuno-layer-01) p-4 text-(--vuno-text-primary) forced-colors:[outline:1px_solid_transparent]"
|
|
72
|
+
},
|
|
73
|
+
single: {
|
|
74
|
+
container: `flex h-full min-w-0 items-center overflow-x-auto ps-4 ${fade} [mask-image:linear-gradient(var(--snippet-fade),#000_calc(100%_-_2rem),transparent_100%)] ${focusOutline} group-focus-within:[mask-image:none]`,
|
|
75
|
+
pre: "pe-8 whitespace-pre",
|
|
76
|
+
root: "relative flex h-10 w-full max-w-3xl min-w-0 items-center bg-(--vuno-layer-01) pe-10 text-(--vuno-text-primary) forced-colors:[outline:1px_solid_transparent]"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
wrapText: {
|
|
80
|
+
false: {},
|
|
81
|
+
true: {}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ComponentUi } from '#vuno/types/slots';
|
|
2
|
+
import type { TooltipSide } from '#vuno/components/Tooltip/Tooltip.types';
|
|
3
|
+
export type CodeSnippetType = 'inline' | 'multi' | 'single';
|
|
4
|
+
export type CodeSnippetLanguage = 'text' | 'typescript' | 'vue';
|
|
5
|
+
/**
|
|
6
|
+
* Vuno nombra `align` a la colocación del aviso de la acción de copiar y
|
|
7
|
+
* admite también las variantes `-start` y `-end`. Aquí el aviso lo pone
|
|
8
|
+
* `Tooltip`, que solo resuelve los cuatro lados, así que el contrato reutiliza
|
|
9
|
+
* su tipo en vez de prometer alineaciones que nadie colocaría.
|
|
10
|
+
*/
|
|
11
|
+
export type CodeSnippetAlign = TooltipSide;
|
|
12
|
+
export type CodeSnippetProps = {
|
|
13
|
+
/** Lado por el que aparece el aviso de la acción de copiar. */
|
|
14
|
+
align?: CodeSnippetAlign;
|
|
15
|
+
/**
|
|
16
|
+
* Nombre de la región desplazable. Vuno la expone como caja de texto de
|
|
17
|
+
* solo lectura para que el teclado pueda entrar a desplazarla, y una caja
|
|
18
|
+
* de texto sin nombre no se puede anunciar.
|
|
19
|
+
*/
|
|
20
|
+
ariaLabel?: string;
|
|
21
|
+
/** El texto que se muestra y el que se copia: son el mismo, sin reformatear. */
|
|
22
|
+
code: string;
|
|
23
|
+
/** Descripción de la acción de copiar; es su nombre accesible y su aviso. */
|
|
24
|
+
copyButtonDescription?: string;
|
|
25
|
+
/** Solo `single` y `multi`. Vuno deja `inline` sin tratamiento visual propio. */
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
/** Lo que sustituye a la descripción mientras dura la confirmación de copia. */
|
|
28
|
+
feedback?: string;
|
|
29
|
+
feedbackTimeout?: number;
|
|
30
|
+
hideCopyButton?: boolean;
|
|
31
|
+
/** Lenguaje usado para resaltar el código sin modificar el texto copiado. */
|
|
32
|
+
language?: CodeSnippetLanguage;
|
|
33
|
+
/**
|
|
34
|
+
* Filas visibles como máximo en `multi` sin desplegar. Con `0` no hay
|
|
35
|
+
* límite y tampoco aparece la acción de desplegar.
|
|
36
|
+
*/
|
|
37
|
+
maxCollapsedNumberOfRows?: number;
|
|
38
|
+
/** Filas visibles como máximo una vez desplegado. Con `0` crece sin tope. */
|
|
39
|
+
maxExpandedNumberOfRows?: number;
|
|
40
|
+
/** Altura mínima reservada sin desplegar, en filas. */
|
|
41
|
+
minCollapsedNumberOfRows?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Altura mínima reservada al desplegar, en filas. Si el contenido encoge
|
|
44
|
+
* por debajo, Vuno vuelve a plegar: desplegar ya no aportaba nada.
|
|
45
|
+
*/
|
|
46
|
+
minExpandedNumberOfRows?: number;
|
|
47
|
+
showLessText?: string;
|
|
48
|
+
showMoreText?: string;
|
|
49
|
+
type?: CodeSnippetType;
|
|
50
|
+
ui?: ComponentUi<'codeSnippet'>;
|
|
51
|
+
/** Solo tiene efecto en `multi`: `inline` y `single` conservan una línea. */
|
|
52
|
+
wrapText?: boolean;
|
|
53
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, onBeforeUnmount, ref, watch } from "vue";
|
|
3
|
+
import { useIcons, useMessages, useTheme } from "#vuno/composables/useTheme";
|
|
4
|
+
import Button from "#vuno/components/Button/Button.vue";
|
|
5
|
+
import Tooltip from "#vuno/components/Tooltip/Tooltip.vue";
|
|
6
|
+
import { tokenizeCode } from "./syntax";
|
|
7
|
+
defineOptions({ name: "CodeSnippet", inheritAttrs: false });
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
align: { type: String, required: false, default: "bottom" },
|
|
10
|
+
ariaLabel: { type: String, required: false, default: void 0 },
|
|
11
|
+
code: { type: String, required: true },
|
|
12
|
+
copyButtonDescription: { type: String, required: false, default: void 0 },
|
|
13
|
+
disabled: { type: Boolean, required: false },
|
|
14
|
+
feedback: { type: String, required: false, default: void 0 },
|
|
15
|
+
feedbackTimeout: { type: Number, required: false, default: 2e3 },
|
|
16
|
+
hideCopyButton: { type: Boolean, required: false, default: false },
|
|
17
|
+
language: { type: String, required: false, default: "text" },
|
|
18
|
+
maxCollapsedNumberOfRows: { type: Number, required: false, default: 15 },
|
|
19
|
+
maxExpandedNumberOfRows: { type: Number, required: false, default: 0 },
|
|
20
|
+
minCollapsedNumberOfRows: { type: Number, required: false, default: 3 },
|
|
21
|
+
minExpandedNumberOfRows: { type: Number, required: false, default: 16 },
|
|
22
|
+
showLessText: { type: String, required: false, default: "Mostrar menos" },
|
|
23
|
+
showMoreText: { type: String, required: false, default: "Mostrar m\xE1s" },
|
|
24
|
+
type: { type: String, required: false, default: "single" },
|
|
25
|
+
ui: { type: Object, required: false, default: void 0 },
|
|
26
|
+
wrapText: { type: Boolean, required: false, default: false }
|
|
27
|
+
});
|
|
28
|
+
const emit = defineEmits(["click"]);
|
|
29
|
+
const rowHeight = 16;
|
|
30
|
+
const icons = useIcons();
|
|
31
|
+
const messages = useMessages();
|
|
32
|
+
const codeEl = ref(null);
|
|
33
|
+
const copied = ref(false);
|
|
34
|
+
const copyFailed = ref(false);
|
|
35
|
+
const expanded = ref(false);
|
|
36
|
+
const measured = ref(null);
|
|
37
|
+
const preEl = ref(null);
|
|
38
|
+
const copyDescription = computed(() => props.copyButtonDescription ?? messages.value.codeCopy);
|
|
39
|
+
const feedbackText = computed(() => props.feedback ?? messages.value.codeCopied);
|
|
40
|
+
const isInline = computed(() => props.type === "inline");
|
|
41
|
+
const isMulti = computed(() => props.type === "multi");
|
|
42
|
+
const regionLabel = computed(() => props.ariaLabel ?? messages.value.codeRegion);
|
|
43
|
+
const tooltipText = computed(() => copied.value ? feedbackText.value : copyDescription.value);
|
|
44
|
+
const contentHeight = computed(() => measured.value ?? props.code.split("\n").length * rowHeight);
|
|
45
|
+
const syntaxTokens = computed(() => tokenizeCode(props.code, props.language));
|
|
46
|
+
const syntaxClass = {
|
|
47
|
+
angleBracket: "text-(--vuno-syntax-angle-bracket)",
|
|
48
|
+
attribute: "text-(--vuno-syntax-attribute-name)",
|
|
49
|
+
comment: "text-(--vuno-syntax-comment)",
|
|
50
|
+
keyword: "text-(--vuno-syntax-keyword)",
|
|
51
|
+
number: "text-(--vuno-syntax-number)",
|
|
52
|
+
string: "text-(--vuno-syntax-special-string)",
|
|
53
|
+
tag: "text-(--vuno-syntax-tag-name)"
|
|
54
|
+
};
|
|
55
|
+
const expandable = computed(() => isMulti.value && props.maxCollapsedNumberOfRows > 0 && (props.maxExpandedNumberOfRows <= 0 || props.maxExpandedNumberOfRows > props.maxCollapsedNumberOfRows) && contentHeight.value > props.maxCollapsedNumberOfRows * rowHeight);
|
|
56
|
+
const containerStyle = computed(() => {
|
|
57
|
+
if (!isMulti.value) return void 0;
|
|
58
|
+
const maximum = expanded.value ? props.maxExpandedNumberOfRows : props.maxCollapsedNumberOfRows;
|
|
59
|
+
const minimum = expanded.value ? props.minExpandedNumberOfRows : props.minCollapsedNumberOfRows;
|
|
60
|
+
return {
|
|
61
|
+
maxHeight: maximum > 0 ? `${maximum * rowHeight}px` : void 0,
|
|
62
|
+
minHeight: minimum > 0 ? `${minimum * rowHeight}px` : void 0
|
|
63
|
+
};
|
|
64
|
+
});
|
|
65
|
+
const ui = useTheme(
|
|
66
|
+
"codeSnippet",
|
|
67
|
+
() => props.ui,
|
|
68
|
+
() => ({
|
|
69
|
+
disabled: props.disabled ? "true" : "false",
|
|
70
|
+
expanded: expanded.value ? "true" : "false",
|
|
71
|
+
noCopy: props.hideCopyButton ? "true" : "false",
|
|
72
|
+
type: props.type,
|
|
73
|
+
wrapText: props.wrapText ? "true" : "false"
|
|
74
|
+
})
|
|
75
|
+
);
|
|
76
|
+
let timer;
|
|
77
|
+
async function copy(event) {
|
|
78
|
+
emit("click", event);
|
|
79
|
+
copyFailed.value = false;
|
|
80
|
+
try {
|
|
81
|
+
await navigator.clipboard.writeText(props.code);
|
|
82
|
+
} catch {
|
|
83
|
+
copied.value = false;
|
|
84
|
+
copyFailed.value = true;
|
|
85
|
+
clearTimeout(timer);
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
copied.value = true;
|
|
89
|
+
clearTimeout(timer);
|
|
90
|
+
timer = setTimeout(() => copied.value = false, props.feedbackTimeout);
|
|
91
|
+
}
|
|
92
|
+
watch(contentHeight, (height) => {
|
|
93
|
+
if (!expanded.value || props.minExpandedNumberOfRows <= 0) return;
|
|
94
|
+
if (height <= props.minExpandedNumberOfRows * rowHeight) expanded.value = false;
|
|
95
|
+
});
|
|
96
|
+
watch(preEl, (element, _previous, onCleanup) => {
|
|
97
|
+
if (!element || typeof ResizeObserver === "undefined") return;
|
|
98
|
+
const observer = new ResizeObserver(() => measured.value = codeEl.value?.getBoundingClientRect().height || null);
|
|
99
|
+
observer.observe(element);
|
|
100
|
+
onCleanup(() => observer.disconnect());
|
|
101
|
+
});
|
|
102
|
+
onBeforeUnmount(() => clearTimeout(timer));
|
|
103
|
+
</script>
|
|
104
|
+
|
|
105
|
+
<template>
|
|
106
|
+
<!-- Sin copia, el `inline` deja de ser un control: un botón inerte seguiría en el recorrido del tabulador. -->
|
|
107
|
+
<span
|
|
108
|
+
v-if="isInline && props.hideCopyButton"
|
|
109
|
+
v-bind="$attrs"
|
|
110
|
+
:class="ui.root"
|
|
111
|
+
>
|
|
112
|
+
<code :class="ui.code">
|
|
113
|
+
<template
|
|
114
|
+
v-for="(token, index) in syntaxTokens"
|
|
115
|
+
:key="index"
|
|
116
|
+
>
|
|
117
|
+
<span
|
|
118
|
+
v-if="token.kind !== 'plain'"
|
|
119
|
+
:class="syntaxClass[token.kind]"
|
|
120
|
+
:data-syntax="token.kind"
|
|
121
|
+
>
|
|
122
|
+
{{ token.value }}
|
|
123
|
+
</span>
|
|
124
|
+
<template v-else>{{ token.value }}</template>
|
|
125
|
+
</template>
|
|
126
|
+
</code>
|
|
127
|
+
</span>
|
|
128
|
+
|
|
129
|
+
<Tooltip
|
|
130
|
+
v-else-if="isInline"
|
|
131
|
+
:side="props.align"
|
|
132
|
+
:text="tooltipText"
|
|
133
|
+
>
|
|
134
|
+
<button
|
|
135
|
+
v-bind="$attrs"
|
|
136
|
+
:aria-label="copyDescription"
|
|
137
|
+
:class="ui.root"
|
|
138
|
+
:disabled="props.disabled"
|
|
139
|
+
type="button"
|
|
140
|
+
@click="copy"
|
|
141
|
+
>
|
|
142
|
+
<code :class="ui.code">
|
|
143
|
+
<template
|
|
144
|
+
v-for="(token, index) in syntaxTokens"
|
|
145
|
+
:key="index"
|
|
146
|
+
>
|
|
147
|
+
<span
|
|
148
|
+
v-if="token.kind !== 'plain'"
|
|
149
|
+
:class="syntaxClass[token.kind]"
|
|
150
|
+
:data-syntax="token.kind"
|
|
151
|
+
>
|
|
152
|
+
{{ token.value }}
|
|
153
|
+
</span>
|
|
154
|
+
<template v-else>{{ token.value }}</template>
|
|
155
|
+
</template>
|
|
156
|
+
</code>
|
|
157
|
+
</button>
|
|
158
|
+
</Tooltip>
|
|
159
|
+
|
|
160
|
+
<div
|
|
161
|
+
v-else
|
|
162
|
+
v-bind="$attrs"
|
|
163
|
+
:class="ui.root"
|
|
164
|
+
>
|
|
165
|
+
<div
|
|
166
|
+
:aria-label="regionLabel"
|
|
167
|
+
:aria-multiline="isMulti ? 'true' : void 0"
|
|
168
|
+
aria-readonly="true"
|
|
169
|
+
:class="ui.container"
|
|
170
|
+
role="textbox"
|
|
171
|
+
:style="containerStyle"
|
|
172
|
+
:tabindex="props.disabled ? void 0 : 0"
|
|
173
|
+
>
|
|
174
|
+
<pre
|
|
175
|
+
ref="preEl"
|
|
176
|
+
:class="ui.pre"
|
|
177
|
+
><code
|
|
178
|
+
ref="codeEl"
|
|
179
|
+
:class="ui.code"
|
|
180
|
+
><template
|
|
181
|
+
v-for="(token, index) in syntaxTokens"
|
|
182
|
+
:key="index"
|
|
183
|
+
><span
|
|
184
|
+
v-if="token.kind !== 'plain'"
|
|
185
|
+
:class="syntaxClass[token.kind]"
|
|
186
|
+
:data-syntax="token.kind"
|
|
187
|
+
>{{ token.value }}</span><template v-else>{{ token.value }}</template></template></code></pre>
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
<Tooltip
|
|
191
|
+
v-if="!props.hideCopyButton"
|
|
192
|
+
:side="props.align"
|
|
193
|
+
:text="tooltipText"
|
|
194
|
+
>
|
|
195
|
+
<Button
|
|
196
|
+
:disabled="props.disabled"
|
|
197
|
+
:icon="copied ? icons.codeCopied : icons.codeCopy"
|
|
198
|
+
:iconDescription="copyDescription"
|
|
199
|
+
kind="ghost"
|
|
200
|
+
:size="isMulti ? 'sm' : 'md'"
|
|
201
|
+
:ui="{ base: ui.copy, icon: ui.copyIcon }"
|
|
202
|
+
@click="copy"
|
|
203
|
+
/>
|
|
204
|
+
</Tooltip>
|
|
205
|
+
|
|
206
|
+
<Button
|
|
207
|
+
v-if="expandable"
|
|
208
|
+
:disabled="props.disabled"
|
|
209
|
+
:icon="icons.dropdownOpen"
|
|
210
|
+
kind="ghost"
|
|
211
|
+
:label="expanded ? props.showLessText : props.showMoreText"
|
|
212
|
+
size="sm"
|
|
213
|
+
:ui="{ base: ui.expand, icon: ui.expandIcon, label: ui.expandLabel }"
|
|
214
|
+
@click="expanded = !expanded"
|
|
215
|
+
/>
|
|
216
|
+
|
|
217
|
+
<p
|
|
218
|
+
v-if="copyFailed"
|
|
219
|
+
:class="ui.error"
|
|
220
|
+
role="alert"
|
|
221
|
+
>
|
|
222
|
+
{{ messages.codeCopyFailed }}
|
|
223
|
+
</p>
|
|
224
|
+
|
|
225
|
+
<span
|
|
226
|
+
aria-live="polite"
|
|
227
|
+
:class="ui.live"
|
|
228
|
+
>
|
|
229
|
+
{{ copied ? messages.codeCopiedAnnouncement : "" }}
|
|
230
|
+
</span>
|
|
231
|
+
</div>
|
|
232
|
+
</template>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { CodeSnippetProps } from './CodeSnippet.types.js';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CodeSnippetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
click: (event: MouseEvent) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<CodeSnippetProps> & Readonly<{
|
|
5
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
align: import("./CodeSnippet.types.js").CodeSnippetAlign;
|
|
8
|
+
type: import("./CodeSnippet.types.js").CodeSnippetType;
|
|
9
|
+
wrapText: boolean;
|
|
10
|
+
ui: import("../../types/slots.js").ComponentUi<"codeSnippet">;
|
|
11
|
+
ariaLabel: string;
|
|
12
|
+
copyButtonDescription: string;
|
|
13
|
+
feedback: string;
|
|
14
|
+
feedbackTimeout: number;
|
|
15
|
+
hideCopyButton: boolean;
|
|
16
|
+
language: import("./CodeSnippet.types.js").CodeSnippetLanguage;
|
|
17
|
+
maxCollapsedNumberOfRows: number;
|
|
18
|
+
maxExpandedNumberOfRows: number;
|
|
19
|
+
minCollapsedNumberOfRows: number;
|
|
20
|
+
minExpandedNumberOfRows: number;
|
|
21
|
+
showLessText: string;
|
|
22
|
+
showMoreText: string;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CodeSnippetLanguage } from './CodeSnippet.types.js';
|
|
2
|
+
export type CodeSnippetTokenKind = 'angleBracket' | 'attribute' | 'comment' | 'keyword' | 'number' | 'plain' | 'string' | 'tag';
|
|
3
|
+
export type CodeSnippetToken = {
|
|
4
|
+
kind: CodeSnippetTokenKind;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
/** Divide el código en fragmentos visuales conservando cada carácter original. */
|
|
8
|
+
export declare function tokenizeCode(code: string, language: CodeSnippetLanguage): CodeSnippetToken[];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const keywords = /* @__PURE__ */ new Set(["async", "await", "const", "else", "export", "false", "from", "function", "if", "import", "interface", "let", "null", "return", "true", "type", "undefined", "var"]);
|
|
2
|
+
const typescriptPattern = /\/\*[\s\S]*?\*\/|\/\/[^\n]*|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\b[A-Za-z_$][\w$]*\b|\b\d+(?:\.\d+)?\b/g;
|
|
3
|
+
const vuePattern = /<!--[\s\S]*?-->|\/\*[\s\S]*?\*\/|\/\/[^\n]*|<\/?[A-Za-z][\w.-]*|\/?>|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|[:@]?[A-Za-z_][\w:.-]*(?=\s*=)|\b[A-Za-z_$][\w$]*\b|\b\d+(?:\.\d+)?\b/g;
|
|
4
|
+
export function tokenizeCode(code, language) {
|
|
5
|
+
if (language === "text" || code.length === 0) return [{ kind: "plain", value: code }];
|
|
6
|
+
const pattern = language === "vue" ? vuePattern : typescriptPattern;
|
|
7
|
+
const tokens = [];
|
|
8
|
+
let cursor = 0;
|
|
9
|
+
for (const match of code.matchAll(pattern)) {
|
|
10
|
+
const index = match.index ?? cursor;
|
|
11
|
+
if (index > cursor) tokens.push({ kind: "plain", value: code.slice(cursor, index) });
|
|
12
|
+
const followedByEquals = /^\s*=/.test(code.slice(index + match[0].length));
|
|
13
|
+
tokens.push({ kind: kindOf(match[0], language, followedByEquals), value: match[0] });
|
|
14
|
+
cursor = index + match[0].length;
|
|
15
|
+
}
|
|
16
|
+
if (cursor < code.length) tokens.push({ kind: "plain", value: code.slice(cursor) });
|
|
17
|
+
return tokens;
|
|
18
|
+
}
|
|
19
|
+
function kindOf(value, language, followedByEquals) {
|
|
20
|
+
if (value.startsWith("<!--") || value.startsWith("/*") || value.startsWith("//")) return "comment";
|
|
21
|
+
if (value.startsWith('"') || value.startsWith("'")) return "string";
|
|
22
|
+
if (/^\d/.test(value)) return "number";
|
|
23
|
+
if (keywords.has(value)) return "keyword";
|
|
24
|
+
if (language === "vue" && value.startsWith("<")) return "tag";
|
|
25
|
+
if (language === "vue" && /^\/?>$/.test(value)) return "angleBracket";
|
|
26
|
+
if (language === "vue" && followedByEquals) return "attribute";
|
|
27
|
+
return "plain";
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ColumnProps } from './Column.types.js';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default?: () => unknown;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<ColumnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ColumnProps> & Readonly<{}>, {
|
|
6
|
+
sm: import("./Column.types.js").ColumnValue;
|
|
7
|
+
md: import("./Column.types.js").ColumnValue;
|
|
8
|
+
lg: import("./Column.types.js").ColumnValue;
|
|
9
|
+
span: import("./Column.types.js").ColumnValue;
|
|
10
|
+
as: import("vue").Component | string;
|
|
11
|
+
max: import("./Column.types.js").ColumnValue;
|
|
12
|
+
xlg: import("./Column.types.js").ColumnValue;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
/** Puntos de ruptura de la retícula 2x. `span.ts` guarda su orden. */
|
|
3
|
+
export type ColumnBreakpoint = 'lg' | 'max' | 'md' | 'sm' | 'xlg';
|
|
4
|
+
/**
|
|
5
|
+
* Fracción de la retícula, resuelta en columnas enteras en cada punto de
|
|
6
|
+
* ruptura: `'50%'` son dos columnas en `sm`, cuatro en `md` y ocho desde `lg`.
|
|
7
|
+
* `'100%'` no cuenta columnas, ocupa de la primera línea a la última.
|
|
8
|
+
*/
|
|
9
|
+
export type ColumnPercent = '25%' | '50%' | '75%' | '100%';
|
|
10
|
+
/**
|
|
11
|
+
* Ancho de una columna: un número de columnas, una fracción o `true` para dejar
|
|
12
|
+
* que la retícula la coloque sola —el `auto` de CSS Grid—. `0` la oculta.
|
|
13
|
+
*/
|
|
14
|
+
export type ColumnSpan = boolean | ColumnPercent | number;
|
|
15
|
+
/**
|
|
16
|
+
* Ancho y posición a la vez. `offset` es la forma declarativa de «déjame tantas
|
|
17
|
+
* columnas por delante» y `start` la línea exacta; ambas describen la misma
|
|
18
|
+
* línea inicial, y `start` gana cuando se declaran las dos.
|
|
19
|
+
*/
|
|
20
|
+
export type ColumnPlacement = {
|
|
21
|
+
/** Línea final exclusiva. Con `start` describe el tramo sin contar columnas. */
|
|
22
|
+
end?: number;
|
|
23
|
+
/** Columnas libres por delante. `0` devuelve la colocación automática. */
|
|
24
|
+
offset?: number;
|
|
25
|
+
span?: ColumnSpan;
|
|
26
|
+
/** Línea inicial, contando desde 1. `0` devuelve la colocación automática. */
|
|
27
|
+
start?: number;
|
|
28
|
+
};
|
|
29
|
+
export type ColumnValue = ColumnPlacement | ColumnSpan;
|
|
30
|
+
export type ColumnProps = {
|
|
31
|
+
/** Desde 320 px. Cuatro columnas. */
|
|
32
|
+
sm?: ColumnValue;
|
|
33
|
+
/** Desde 672 px. Ocho columnas. */
|
|
34
|
+
md?: ColumnValue;
|
|
35
|
+
/** Desde 1056 px. Dieciséis columnas. */
|
|
36
|
+
lg?: ColumnValue;
|
|
37
|
+
/**
|
|
38
|
+
* Raíz alternativa. Una columna es a menudo una región con nombre o un
|
|
39
|
+
* elemento de lista, y forzar un `div` obligaría a envolverla.
|
|
40
|
+
*/
|
|
41
|
+
as?: Component | string;
|
|
42
|
+
/** Desde 1584 px. Dieciséis columnas. */
|
|
43
|
+
max?: ColumnValue;
|
|
44
|
+
/**
|
|
45
|
+
* Ancho y posición que no dependen del punto de ruptura. Es el valor de
|
|
46
|
+
* partida: cualquier punto de ruptura declarado lo sustituye desde su ancho
|
|
47
|
+
* hacia arriba.
|
|
48
|
+
*/
|
|
49
|
+
span?: ColumnValue;
|
|
50
|
+
/** Desde 1312 px. Dieciséis columnas. */
|
|
51
|
+
xlg?: ColumnValue;
|
|
52
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { resolveColumnGeometry } from "./span";
|
|
4
|
+
defineOptions({ name: "Column" });
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
sm: { type: [Object, Boolean, String, Number], required: false, default: void 0 },
|
|
7
|
+
md: { type: [Object, Boolean, String, Number], required: false, default: void 0 },
|
|
8
|
+
lg: { type: [Object, Boolean, String, Number], required: false, default: void 0 },
|
|
9
|
+
as: { type: null, required: false, default: "div" },
|
|
10
|
+
max: { type: [Object, Boolean, String, Number], required: false, default: void 0 },
|
|
11
|
+
span: { type: [Object, Boolean, String, Number], required: false, default: void 0 },
|
|
12
|
+
xlg: { type: [Object, Boolean, String, Number], required: false, default: void 0 }
|
|
13
|
+
});
|
|
14
|
+
defineSlots();
|
|
15
|
+
const geometry = computed(() => resolveColumnGeometry(props));
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<component
|
|
20
|
+
:is="props.as"
|
|
21
|
+
:data-spans="geometry.spans || void 0"
|
|
22
|
+
data-vuno-column
|
|
23
|
+
:style="geometry.variables"
|
|
24
|
+
>
|
|
25
|
+
<slot />
|
|
26
|
+
</component>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<style scoped>
|
|
30
|
+
[data-vuno-column]{--vuno-grid-mode-start:var(--vuno-grid-gutter-start);--vuno-grid-mode-end:var(--vuno-grid-gutter-end);grid-column-end:var(--vuno-column-end-sm,auto);grid-column-start:var(--vuno-column-start-sm,auto);margin-inline:var(--vuno-grid-gutter-start) var(--vuno-grid-gutter-end)}[data-vuno-column][data-spans~=sm]{--vuno-grid-columns:var(--vuno-column-columns-sm);display:var(--vuno-column-display-sm)}@media (min-width:42rem){[data-vuno-column]{grid-column-end:var(--vuno-column-end-md,auto);grid-column-start:var(--vuno-column-start-md,auto)}[data-vuno-column][data-spans~=md]{--vuno-grid-columns:var(--vuno-column-columns-md);display:var(--vuno-column-display-md)}}@media (min-width:66rem){[data-vuno-column]{grid-column-end:var(--vuno-column-end-lg,auto);grid-column-start:var(--vuno-column-start-lg,auto)}[data-vuno-column][data-spans~=lg]{--vuno-grid-columns:var(--vuno-column-columns-lg);display:var(--vuno-column-display-lg)}}@media (min-width:82rem){[data-vuno-column]{grid-column-end:var(--vuno-column-end-xlg,auto);grid-column-start:var(--vuno-column-start-xlg,auto)}[data-vuno-column][data-spans~=xlg]{--vuno-grid-columns:var(--vuno-column-columns-xlg);display:var(--vuno-column-display-xlg)}}@media (min-width:99rem){[data-vuno-column]{grid-column-end:var(--vuno-column-end-max,auto);grid-column-start:var(--vuno-column-start-max,auto)}[data-vuno-column][data-spans~=max]{--vuno-grid-columns:var(--vuno-column-columns-max);display:var(--vuno-column-display-max)}}
|
|
31
|
+
</style>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ColumnProps } from './Column.types.js';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default?: () => unknown;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<ColumnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ColumnProps> & Readonly<{}>, {
|
|
6
|
+
sm: import("./Column.types.js").ColumnValue;
|
|
7
|
+
md: import("./Column.types.js").ColumnValue;
|
|
8
|
+
lg: import("./Column.types.js").ColumnValue;
|
|
9
|
+
span: import("./Column.types.js").ColumnValue;
|
|
10
|
+
as: import("vue").Component | string;
|
|
11
|
+
max: import("./Column.types.js").ColumnValue;
|
|
12
|
+
xlg: import("./Column.types.js").ColumnValue;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ColumnBreakpoint, ColumnProps } from './Column.types.js';
|
|
2
|
+
/** De menor a mayor: el orden en que un valor se arrastra hacia arriba. */
|
|
3
|
+
export declare const columnBreakpoints: readonly ColumnBreakpoint[];
|
|
4
|
+
/** Variables y puntos de ruptura activos que `Column` lleva al marcado. */
|
|
5
|
+
export type ColumnGeometry = {
|
|
6
|
+
/** Los puntos de ruptura que fijan ancho o visibilidad, separados por espacio. */
|
|
7
|
+
spans: string;
|
|
8
|
+
variables: Record<string, number | string>;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Resuelve la geometría de la columna en los cinco puntos de ruptura.
|
|
12
|
+
*
|
|
13
|
+
* Vuno emite una clase por punto de ruptura y deja que la cascada complete los
|
|
14
|
+
* huecos: `sm={4}` sin más vale a cualquier ancho porque su regla no lleva
|
|
15
|
+
* consulta de medios. Aquí el arrastre se hace antes, al resolver, para que cada
|
|
16
|
+
* punto de ruptura publique su valor efectivo completo. El resultado visible es
|
|
17
|
+
* el mismo y la hoja de estilos deja de depender del orden de sus reglas.
|
|
18
|
+
*
|
|
19
|
+
* La precedencia es la de Vuno en la práctica: `span` es el valor de partida y
|
|
20
|
+
* el punto de ruptura declarado más cercano por debajo lo sustituye.
|
|
21
|
+
*/
|
|
22
|
+
export declare function resolveColumnGeometry(props: Pick<ColumnProps, 'lg' | 'max' | 'md' | 'sm' | 'span' | 'xlg'>): ColumnGeometry;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export const columnBreakpoints = ["sm", "md", "lg", "xlg", "max"];
|
|
2
|
+
const breakpointColumns = { sm: 4, md: 8, lg: 16, max: 16, xlg: 16 };
|
|
3
|
+
const percentFractions = { "25%": 0.25, "50%": 0.5, "75%": 0.75, "100%": 1 };
|
|
4
|
+
export function resolveColumnGeometry(props) {
|
|
5
|
+
const spans = [];
|
|
6
|
+
const variables = {};
|
|
7
|
+
let inherited = {};
|
|
8
|
+
for (const breakpoint of columnBreakpoints) {
|
|
9
|
+
const columns = breakpointColumns[breakpoint];
|
|
10
|
+
inherited = { ...inherited, ...resolvePlacement(props[breakpoint], columns) };
|
|
11
|
+
const placement = { ...resolvePlacement(props.span, columns), ...inherited };
|
|
12
|
+
if (placement.start) variables[`--vuno-column-start-${breakpoint}`] = placement.start;
|
|
13
|
+
if (placement.end) variables[`--vuno-column-end-${breakpoint}`] = placement.end;
|
|
14
|
+
if (placement.columns === void 0 && !placement.display) continue;
|
|
15
|
+
spans.push(breakpoint);
|
|
16
|
+
variables[`--vuno-column-columns-${breakpoint}`] = placement.columns ?? 0;
|
|
17
|
+
variables[`--vuno-column-display-${breakpoint}`] = placement.display ?? "block";
|
|
18
|
+
}
|
|
19
|
+
return { spans: spans.join(" "), variables };
|
|
20
|
+
}
|
|
21
|
+
function trackSpan(span) {
|
|
22
|
+
return { columns: span, end: `span ${span}`, start: `span ${span}` };
|
|
23
|
+
}
|
|
24
|
+
function resolveSpan(span, columns) {
|
|
25
|
+
if (span === void 0 || typeof span === "boolean") return span ? { end: "auto", start: "auto" } : {};
|
|
26
|
+
if (typeof span === "string") {
|
|
27
|
+
if (span === "100%") return { end: "-1", start: "1" };
|
|
28
|
+
return trackSpan(Math.round(columns * percentFractions[span]));
|
|
29
|
+
}
|
|
30
|
+
if (span <= 0) return { display: "none" };
|
|
31
|
+
return { ...trackSpan(span), display: "block" };
|
|
32
|
+
}
|
|
33
|
+
function resolvePlacement(value, columns) {
|
|
34
|
+
if (value === void 0 || value === null) return {};
|
|
35
|
+
if (typeof value === "boolean") return value ? { end: "auto", start: "auto" } : {};
|
|
36
|
+
if (typeof value === "number" || typeof value === "string") return resolveSpan(value, columns);
|
|
37
|
+
const placement = resolveSpan(value.span, columns);
|
|
38
|
+
if (typeof value.offset === "number") placement.start = value.offset > 0 ? String(value.offset + 1) : "auto";
|
|
39
|
+
if (typeof value.start === "number") placement.start = value.start > 0 ? String(value.start) : "auto";
|
|
40
|
+
if (typeof value.end === "number") placement.end = String(value.end);
|
|
41
|
+
return placement;
|
|
42
|
+
}
|