@groupteknology/vuno 1.0.1 → 3.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 +227 -183
- package/dist/module.d.mts +2 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +40 -13
- 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/stylesheet.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/Alert/Alert.d.vue.ts +20 -0
- package/dist/runtime/app/components/Alert/Alert.theme.d.ts +14 -0
- package/dist/runtime/app/components/Alert/Alert.theme.js +14 -0
- package/dist/runtime/app/components/Alert/Alert.types.d.ts +10 -0
- package/dist/runtime/app/components/Alert/Alert.vue +68 -0
- package/dist/runtime/app/components/Alert/Alert.vue.d.ts +20 -0
- package/dist/runtime/app/components/{overlays → App}/App.d.vue.ts +3 -20
- package/dist/runtime/app/components/App/App.types.d.ts +4 -0
- package/dist/runtime/app/components/{overlays → App}/App.vue +56 -41
- package/dist/runtime/app/components/{overlays → App}/App.vue.d.ts +3 -20
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.d.vue.ts +7 -0
- package/dist/runtime/app/components/{overlays → App/internal/Overlay}/Overlay.vue +5 -6
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.vue.d.ts +7 -0
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.d.vue.ts +8 -0
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue +18 -0
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue.d.ts +8 -0
- package/dist/runtime/app/components/{overlays → App/internal/Toast}/Toast.d.vue.ts +3 -3
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.d.ts +13 -0
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.js +16 -0
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue +55 -0
- package/dist/runtime/app/components/{overlays → App/internal/Toast}/Toast.vue.d.ts +3 -3
- package/dist/runtime/app/components/{overlays → App/internal/Toaster}/Toaster.d.vue.ts +3 -3
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.d.ts +15 -0
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.js +16 -0
- package/dist/runtime/app/components/{overlays → App/internal/Toaster}/Toaster.vue +3 -2
- package/dist/runtime/app/components/{overlays → App/internal/Toaster}/Toaster.vue.d.ts +3 -3
- package/dist/runtime/app/components/Avatar/Avatar.d.vue.ts +10 -0
- package/dist/runtime/app/components/Avatar/Avatar.theme.d.ts +30 -0
- package/dist/runtime/app/components/Avatar/Avatar.theme.js +22 -0
- package/dist/runtime/app/components/Avatar/Avatar.types.d.ts +10 -0
- package/dist/runtime/app/components/Avatar/Avatar.types.js +0 -0
- package/dist/runtime/app/components/{actions → Avatar}/Avatar.vue +7 -5
- package/dist/runtime/app/components/Avatar/Avatar.vue.d.ts +10 -0
- package/dist/runtime/app/components/Badge/Badge.d.vue.ts +21 -0
- package/dist/runtime/app/components/Badge/Badge.theme.d.ts +40 -0
- package/dist/runtime/app/components/Badge/Badge.theme.js +22 -0
- package/dist/runtime/app/components/Badge/Badge.types.d.ts +12 -0
- package/dist/runtime/app/components/Badge/Badge.types.js +0 -0
- package/dist/runtime/app/components/{actions → Badge}/Badge.vue +3 -0
- package/dist/runtime/app/components/Badge/Badge.vue.d.ts +21 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.d.vue.ts +7 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.d.ts +15 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.js +16 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.types.d.ts +7 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.types.js +0 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue +109 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue.d.ts +7 -0
- package/dist/runtime/app/components/Button/Button.d.vue.ts +29 -0
- package/dist/runtime/app/components/Button/Button.theme.d.ts +102 -0
- package/dist/runtime/app/components/Button/Button.theme.js +67 -0
- package/dist/runtime/app/components/Button/Button.types.d.ts +24 -0
- package/dist/runtime/app/components/Button/Button.types.js +0 -0
- package/dist/runtime/app/components/Button/Button.vue +129 -0
- package/dist/runtime/app/components/Button/Button.vue.d.ts +29 -0
- package/dist/runtime/app/components/Card/Card.d.vue.ts +32 -0
- package/dist/runtime/app/components/Card/Card.theme.d.ts +100 -0
- package/dist/runtime/app/components/Card/Card.theme.js +82 -0
- package/dist/runtime/app/components/Card/Card.types.d.ts +12 -0
- package/dist/runtime/app/components/Card/Card.types.js +0 -0
- package/dist/runtime/app/components/Card/Card.vue +51 -0
- package/dist/runtime/app/components/Card/Card.vue.d.ts +32 -0
- package/dist/runtime/app/components/Code/Code.d.vue.ts +9 -0
- package/dist/runtime/app/components/Code/Code.theme.d.ts +11 -0
- package/dist/runtime/app/components/Code/Code.theme.js +12 -0
- package/dist/runtime/app/components/Code/Code.types.d.ts +8 -0
- package/dist/runtime/app/components/Code/Code.types.js +0 -0
- package/dist/runtime/app/components/Code/Code.vue +116 -0
- package/dist/runtime/app/components/Code/Code.vue.d.ts +9 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.d.vue.ts +31 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.theme.d.ts +6 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.theme.js +7 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.types.d.ts +4 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.types.js +0 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.vue +72 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.vue.d.ts +31 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.d.vue.ts +12 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.types.d.ts +13 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.types.js +0 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.vue +55 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.vue.d.ts +12 -0
- package/dist/runtime/app/components/{overlays → Confirm}/Confirm.d.vue.ts +2 -6
- package/dist/runtime/app/components/Confirm/Confirm.theme.d.ts +12 -0
- package/dist/runtime/app/components/Confirm/Confirm.theme.js +13 -0
- package/dist/runtime/app/components/Confirm/Confirm.types.d.ts +6 -0
- package/dist/runtime/app/components/Confirm/Confirm.types.js +0 -0
- package/dist/runtime/app/components/{overlays → Confirm}/Confirm.vue +10 -5
- package/dist/runtime/app/components/{overlays → Confirm}/Confirm.vue.d.ts +2 -6
- package/dist/runtime/app/components/Container/Container.d.vue.ts +18 -0
- package/dist/runtime/app/components/Container/Container.theme.d.ts +53 -0
- package/dist/runtime/app/components/Container/Container.theme.js +31 -0
- package/dist/runtime/app/components/Container/Container.types.d.ts +9 -0
- package/dist/runtime/app/components/Container/Container.types.js +0 -0
- package/dist/runtime/app/components/{structure → Container}/Container.vue +3 -2
- package/dist/runtime/app/components/Container/Container.vue.d.ts +18 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.d.vue.ts +17 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.d.ts +16 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.js +13 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.types.d.ts +9 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.types.js +0 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue +26 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue.d.ts +17 -0
- package/dist/runtime/app/components/{structure/Table.d.vue.ts → DataTable/DataTable.d.vue.ts} +6 -19
- package/dist/runtime/app/components/DataTable/DataTable.theme.d.ts +17 -0
- package/dist/runtime/app/components/DataTable/DataTable.theme.js +19 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.d.ts +13 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.js +0 -0
- package/dist/runtime/app/components/DataTable/DataTable.vue +356 -0
- package/dist/runtime/app/components/{structure/Table.vue.d.ts → DataTable/DataTable.vue.d.ts} +6 -19
- package/dist/runtime/app/{internal/useVunoTable.d.ts → components/DataTable/internal/useVunoDataTable.d.ts} +8 -30
- package/dist/runtime/app/{internal/useVunoTable.js → components/DataTable/internal/useVunoDataTable.js} +2 -29
- package/dist/runtime/app/components/FieldArray/FieldArray.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.d.ts +12 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.js +13 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.types.js +0 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.vue +180 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.vue.d.ts +13 -0
- package/dist/runtime/app/components/{forms/Switch.d.vue.ts → FieldCheckbox/FieldCheckbox.d.vue.ts} +4 -12
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.js +2 -0
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.types.js +0 -0
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.vue +39 -0
- package/dist/runtime/app/components/{forms/Switch.vue.d.ts → FieldCheckbox/FieldCheckbox.vue.d.ts} +4 -12
- package/dist/runtime/app/components/{forms → FieldCheckbox/internal/Checkbox}/Checkbox.d.vue.ts +12 -6
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.d.ts +30 -0
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.js +10 -0
- package/dist/runtime/app/components/{forms → FieldCheckbox/internal/Checkbox}/Checkbox.vue +7 -4
- package/dist/runtime/app/components/{forms → FieldCheckbox/internal/Checkbox}/Checkbox.vue.d.ts +12 -6
- package/dist/runtime/app/components/FieldColor/FieldColor.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.d.ts +27 -0
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.js +18 -0
- package/dist/runtime/app/components/FieldColor/FieldColor.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldColor/FieldColor.types.js +0 -0
- package/dist/runtime/app/components/{forms/fields → FieldColor}/FieldColor.vue +39 -32
- package/dist/runtime/app/components/FieldColor/FieldColor.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.js +2 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.types.js +0 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue +51 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue.d.ts +13 -0
- package/dist/runtime/app/components/{forms/fields → FieldFile}/FieldFile.d.vue.ts +11 -3
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.js +2 -0
- package/dist/runtime/app/components/FieldFile/FieldFile.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldFile/FieldFile.types.js +0 -0
- package/dist/runtime/app/components/FieldFile/FieldFile.vue +99 -0
- package/dist/runtime/app/components/{forms/fields → FieldFile}/FieldFile.vue.d.ts +11 -3
- package/dist/runtime/app/components/{forms → FieldFile/internal/FileUpload}/FileUpload.d.vue.ts +26 -20
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.d.ts +89 -0
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.js +56 -0
- package/dist/runtime/app/components/{forms → FieldFile/internal/FileUpload}/FileUpload.vue +46 -24
- package/dist/runtime/app/components/{forms → FieldFile/internal/FileUpload}/FileUpload.vue.d.ts +26 -20
- package/dist/runtime/app/components/FieldInput/FieldInput.d.vue.ts +24 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.js +2 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.types.js +0 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.vue +61 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.vue.d.ts +24 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.js +2 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.types.js +0 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue +47 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.js +2 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.types.js +0 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue +62 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.d.vue.ts +14 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.js +2 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.types.js +0 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue +41 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue.d.ts +14 -0
- package/dist/runtime/app/components/{forms → FieldRadio/internal/RadioGroup}/RadioGroup.d.vue.ts +11 -9
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.d.ts +54 -0
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.js +31 -0
- package/dist/runtime/app/components/{forms → FieldRadio/internal/RadioGroup}/RadioGroup.vue +12 -5
- package/dist/runtime/app/components/{forms → FieldRadio/internal/RadioGroup}/RadioGroup.vue.d.ts +11 -9
- package/dist/runtime/app/components/FieldSearch/FieldSearch.d.vue.ts +17 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.d.ts +6 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.js +7 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.types.js +0 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue +74 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue.d.ts +17 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.d.vue.ts +14 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.js +2 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.types.js +0 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue +45 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue.d.ts +14 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.d.vue.ts +97 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.d.ts +36 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.js +49 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue +206 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue.d.ts +97 -0
- package/dist/runtime/app/{utils → components/FieldSelect/internal/Select}/option.d.ts +3 -4
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.d.ts +30 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.js +142 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.js +2 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.types.js +0 -0
- package/dist/runtime/app/components/{forms/fields → FieldSlug}/FieldSlug.vue +58 -47
- package/dist/runtime/app/components/FieldSlug/FieldSlug.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.js +2 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.types.js +0 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue +37 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.d.vue.ts +27 -0
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.d.ts +39 -0
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.js +20 -0
- package/dist/runtime/app/components/{forms → FieldSwitch/internal/Switch}/Switch.vue +4 -2
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.vue.d.ts +27 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.js +2 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.types.js +0 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.vue +41 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.d.vue.ts +26 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.d.ts +34 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.js +20 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue +107 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue.d.ts +26 -0
- package/dist/runtime/app/components/{forms/fields → FieldTextarea}/FieldTextarea.d.vue.ts +11 -3
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.js +2 -0
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.types.js +0 -0
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.vue +45 -0
- package/dist/runtime/app/components/{forms/fields → FieldTextarea}/FieldTextarea.vue.d.ts +11 -3
- package/dist/runtime/app/components/{forms → FieldTextarea/internal/Textarea}/Textarea.d.vue.ts +12 -6
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.d.ts +36 -0
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.js +37 -0
- package/dist/runtime/app/components/{forms → FieldTextarea/internal/Textarea}/Textarea.vue +9 -7
- package/dist/runtime/app/components/{forms → FieldTextarea/internal/Textarea}/Textarea.vue.d.ts +12 -6
- package/dist/runtime/app/components/Form/Form.d.vue.ts +36 -0
- package/dist/runtime/app/components/Form/Form.theme.d.ts +9 -0
- package/dist/runtime/app/components/Form/Form.theme.js +10 -0
- package/dist/runtime/app/components/Form/Form.types.d.ts +8 -0
- package/dist/runtime/app/components/Form/Form.types.js +0 -0
- package/dist/runtime/app/components/{forms → Form}/Form.vue +10 -9
- package/dist/runtime/app/components/Form/Form.vue.d.ts +36 -0
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.d.vue.ts +7 -0
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue +67 -0
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue.d.ts +7 -0
- package/dist/runtime/app/components/Form/internal/standard-schema.d.ts +29 -0
- package/dist/runtime/app/{internal → components/Form/internal}/useVunoFormState.d.ts +5 -3
- package/dist/runtime/app/{internal → components/Form/internal}/useVunoFormState.js +4 -3
- package/dist/runtime/app/components/FormField/FormField.d.vue.ts +21 -0
- package/dist/runtime/app/components/FormField/FormField.theme.d.ts +62 -0
- package/dist/runtime/app/components/FormField/FormField.theme.js +28 -0
- package/dist/runtime/app/components/FormField/FormField.types.d.ts +14 -0
- package/dist/runtime/app/components/FormField/FormField.types.js +0 -0
- package/dist/runtime/app/components/{forms → FormField}/FormField.vue +78 -43
- package/dist/runtime/app/components/FormField/FormField.vue.d.ts +21 -0
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.d.vue.ts +22 -0
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.vue +63 -0
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.vue.d.ts +22 -0
- package/dist/runtime/app/components/FormModal/FormModal.d.vue.ts +44 -0
- package/dist/runtime/app/components/FormModal/FormModal.theme.d.ts +8 -0
- package/dist/runtime/app/components/FormModal/FormModal.theme.js +9 -0
- package/dist/runtime/app/components/FormModal/FormModal.types.d.ts +14 -0
- package/dist/runtime/app/components/FormModal/FormModal.types.js +0 -0
- package/dist/runtime/app/components/{forms → FormModal}/FormModal.vue +27 -14
- package/dist/runtime/app/components/FormModal/FormModal.vue.d.ts +44 -0
- package/dist/runtime/app/components/FormSection/FormSection.d.vue.ts +4 -0
- package/dist/runtime/app/components/FormSection/FormSection.theme.d.ts +12 -0
- package/dist/runtime/app/components/FormSection/FormSection.theme.js +14 -0
- package/dist/runtime/app/components/FormSection/FormSection.types.d.ts +7 -0
- package/dist/runtime/app/components/FormSection/FormSection.types.js +0 -0
- package/dist/runtime/app/components/{forms → FormSection}/FormSection.vue +16 -7
- package/dist/runtime/app/components/FormSection/FormSection.vue.d.ts +4 -0
- package/dist/runtime/app/components/Icon/Icon.d.vue.ts +4 -0
- package/dist/runtime/app/components/Icon/Icon.types.d.ts +3 -0
- package/dist/runtime/app/components/Icon/Icon.types.js +0 -0
- package/dist/runtime/app/components/Icon/Icon.vue +32 -0
- package/dist/runtime/app/components/Icon/Icon.vue.d.ts +4 -0
- package/dist/runtime/app/components/Menu/Menu.d.vue.ts +19 -0
- package/dist/runtime/app/components/Menu/Menu.theme.d.ts +17 -0
- package/dist/runtime/app/components/Menu/Menu.theme.js +20 -0
- package/dist/runtime/app/components/Menu/Menu.types.d.ts +7 -0
- package/dist/runtime/app/components/Menu/Menu.types.js +0 -0
- package/dist/runtime/app/components/Menu/Menu.vue +90 -0
- package/dist/runtime/app/components/Menu/Menu.vue.d.ts +19 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.d.vue.ts +26 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue +167 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue.d.ts +26 -0
- package/dist/runtime/app/components/Modal/Modal.d.vue.ts +31 -0
- package/dist/runtime/app/components/Modal/Modal.theme.d.ts +63 -0
- package/dist/runtime/app/components/Modal/Modal.theme.js +43 -0
- package/dist/runtime/app/components/Modal/Modal.types.d.ts +12 -0
- package/dist/runtime/app/components/Modal/Modal.types.js +0 -0
- package/dist/runtime/app/components/Modal/Modal.vue +249 -0
- package/dist/runtime/app/components/Modal/Modal.vue.d.ts +31 -0
- package/dist/runtime/app/components/Navbar/Navbar.d.vue.ts +20 -0
- package/dist/runtime/app/components/Navbar/Navbar.theme.d.ts +30 -0
- package/dist/runtime/app/components/Navbar/Navbar.theme.js +31 -0
- package/dist/runtime/app/components/Navbar/Navbar.types.d.ts +4 -0
- package/dist/runtime/app/components/Navbar/Navbar.types.js +0 -0
- package/dist/runtime/app/components/{structure → Navbar}/Navbar.vue +1 -0
- package/dist/runtime/app/components/Navbar/Navbar.vue.d.ts +20 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.d.vue.ts +9 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.keys.d.ts +3 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.keys.js +1 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.d.ts +32 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.js +35 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.types.d.ts +9 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.types.js +0 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.vue +233 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.vue.d.ts +9 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.d.vue.ts +10 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.keys.d.ts +7 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.keys.js +3 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.d.ts +26 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.js +27 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.types.d.ts +10 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.types.js +0 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue +268 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue.d.ts +10 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.d.vue.ts +7 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.d.ts +9 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.js +10 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.types.d.ts +7 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.types.js +0 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue +88 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue.d.ts +7 -0
- package/dist/runtime/app/components/Pagination/Pagination.d.vue.ts +15 -0
- package/dist/runtime/app/components/Pagination/Pagination.theme.d.ts +13 -0
- package/dist/runtime/app/components/Pagination/Pagination.theme.js +14 -0
- package/dist/runtime/app/components/Pagination/Pagination.types.d.ts +11 -0
- package/dist/runtime/app/components/Pagination/Pagination.types.js +0 -0
- package/dist/runtime/app/components/{structure → Pagination}/Pagination.vue +9 -3
- package/dist/runtime/app/components/Pagination/Pagination.vue.d.ts +15 -0
- package/dist/runtime/app/components/{overlays/Modal.d.vue.ts → Slideover/Slideover.d.vue.ts} +5 -22
- package/dist/runtime/app/components/Slideover/Slideover.theme.d.ts +35 -0
- package/dist/runtime/app/components/Slideover/Slideover.theme.js +24 -0
- package/dist/runtime/app/components/Slideover/Slideover.types.d.ts +12 -0
- package/dist/runtime/app/components/Slideover/Slideover.types.js +0 -0
- package/dist/runtime/app/components/Slideover/Slideover.vue +58 -0
- package/dist/runtime/app/components/{overlays/Modal.vue.d.ts → Slideover/Slideover.vue.d.ts} +5 -22
- package/dist/runtime/app/components/State/State.d.vue.ts +14 -0
- package/dist/runtime/app/components/State/State.theme.d.ts +19 -0
- package/dist/runtime/app/components/State/State.theme.js +26 -0
- package/dist/runtime/app/components/State/State.types.d.ts +15 -0
- package/dist/runtime/app/components/State/State.types.js +0 -0
- package/dist/runtime/app/components/{structure → State}/State.vue +21 -6
- package/dist/runtime/app/components/State/State.vue.d.ts +14 -0
- package/dist/runtime/app/components/Table/Table.d.vue.ts +33 -0
- package/dist/runtime/app/components/Table/Table.theme.d.ts +32 -0
- package/dist/runtime/app/components/Table/Table.theme.js +31 -0
- package/dist/runtime/app/components/Table/Table.types.d.ts +9 -0
- package/dist/runtime/app/components/Table/Table.types.js +0 -0
- package/dist/runtime/app/components/Table/Table.vue +211 -0
- package/dist/runtime/app/components/Table/Table.vue.d.ts +33 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellBadge}/CellBadge.vue +2 -1
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.d.ts +21 -0
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.js +11 -0
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.vue +42 -0
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.d.ts +5 -0
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.js +4 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellCurrency}/CellCurrency.vue +9 -1
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.d.ts +5 -0
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.js +4 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellDate}/CellDate.vue +9 -1
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellImage}/CellImage.vue +2 -1
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.d.ts +5 -0
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.js +4 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellNumber}/CellNumber.vue +9 -1
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.d.ts +13 -0
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.js +11 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellText}/CellText.vue +9 -1
- package/dist/runtime/app/components/{structure → Table/internal/TableCell}/TableCell.d.vue.ts +2 -2
- package/dist/runtime/app/components/{structure → Table/internal/TableCell}/TableCell.vue +9 -8
- package/dist/runtime/app/components/{structure → Table/internal/TableCell}/TableCell.vue.d.ts +2 -2
- package/dist/runtime/app/{utils → components/Table/internal}/column.d.ts +9 -0
- package/dist/runtime/app/components/Table/internal/column.js +20 -0
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.d.ts +21 -0
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.js +29 -0
- package/dist/runtime/app/components/{structure → Tabs}/Tabs.d.vue.ts +5 -23
- package/dist/runtime/app/components/Tabs/Tabs.theme.d.ts +41 -0
- package/dist/runtime/app/components/Tabs/Tabs.theme.js +32 -0
- package/dist/runtime/app/components/Tabs/Tabs.types.d.ts +10 -0
- package/dist/runtime/app/components/Tabs/Tabs.types.js +0 -0
- package/dist/runtime/app/components/Tabs/Tabs.vue +193 -0
- package/dist/runtime/app/components/{structure → Tabs}/Tabs.vue.d.ts +5 -23
- package/dist/runtime/app/components/Text/Text.d.vue.ts +19 -0
- package/dist/runtime/app/components/Text/Text.theme.d.ts +55 -0
- package/dist/runtime/app/components/Text/Text.theme.js +28 -0
- package/dist/runtime/app/components/Text/Text.types.d.ts +9 -0
- package/dist/runtime/app/components/Text/Text.types.js +0 -0
- package/dist/runtime/app/components/Text/Text.vue +37 -0
- package/dist/runtime/app/components/Text/Text.vue.d.ts +19 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.d.vue.ts +17 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.theme.d.ts +5 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.theme.js +6 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.types.d.ts +9 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.types.js +0 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.vue +76 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.vue.d.ts +17 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.d.vue.ts +19 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.d.ts +12 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.js +13 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.types.d.ts +11 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.types.js +0 -0
- package/dist/runtime/app/components/{actions → Tooltip}/Tooltip.vue +10 -23
- package/dist/runtime/app/components/Tooltip/Tooltip.vue.d.ts +19 -0
- package/dist/runtime/app/composables/defineShortcuts.d.ts +19 -0
- package/dist/runtime/app/composables/defineShortcuts.js +68 -0
- package/dist/runtime/app/{internal → composables/internal}/useVunoAnchor.d.ts +6 -4
- package/dist/runtime/app/{internal → composables/internal}/useVunoAnchor.js +3 -2
- package/dist/runtime/app/composables/internal/useVunoContext.d.ts +5 -0
- package/dist/runtime/app/composables/internal/useVunoContext.js +8 -0
- package/dist/runtime/app/composables/internal/useVunoControlGroup.d.ts +16 -0
- package/dist/runtime/app/composables/internal/useVunoControlGroup.js +18 -0
- package/dist/runtime/app/composables/internal/useVunoDirection.d.ts +5 -0
- package/dist/runtime/app/composables/internal/useVunoDirection.js +8 -0
- package/dist/runtime/app/composables/internal/useVunoFormContext.d.ts +5 -0
- package/dist/runtime/app/composables/internal/useVunoFormContext.js +8 -0
- package/dist/runtime/app/composables/internal/useVunoOverlayBehind.d.ts +6 -0
- package/dist/runtime/app/composables/internal/useVunoOverlayBehind.js +8 -0
- package/dist/runtime/app/{internal → composables/internal}/useVunoPortal.d.ts +3 -8
- package/dist/runtime/app/composables/internal/useVunoPortal.js +12 -0
- package/dist/runtime/app/composables/useContext.js +2 -3
- package/dist/runtime/app/composables/useCrud.js +5 -4
- package/dist/runtime/app/composables/useField.d.ts +3 -3
- package/dist/runtime/app/composables/useField.js +16 -8
- package/dist/runtime/app/composables/useForm.d.ts +3 -0
- package/dist/runtime/app/composables/useForm.js +4 -5
- package/dist/runtime/app/composables/useModal.js +1 -3
- package/dist/runtime/app/composables/useTableQuery.d.ts +1 -1
- package/dist/runtime/app/composables/useTableQuery.js +29 -13
- package/dist/runtime/app/composables/useTheme.d.ts +3 -2
- package/dist/runtime/app/composables/useTheme.js +8 -3
- package/dist/runtime/app/plugins/vue-query.d.ts +8 -0
- package/dist/runtime/app/plugins/vue-query.js +13 -0
- package/dist/runtime/app/{components/forms/ControlShell.d.vue.ts → primitives/PrimitiveControl/PrimitiveControl.d.vue.ts} +12 -7
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.d.ts +50 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.js +38 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue +33 -0
- package/dist/runtime/app/{components/forms/ControlShell.vue.d.ts → primitives/PrimitiveControl/PrimitiveControl.vue.d.ts} +12 -7
- package/dist/runtime/app/{components/forms/Input.d.vue.ts → primitives/PrimitiveInput/PrimitiveInput.d.vue.ts} +18 -12
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.d.ts +30 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.js +21 -0
- package/dist/runtime/app/{components/forms/Input.vue → primitives/PrimitiveInput/PrimitiveInput.vue} +10 -8
- package/dist/runtime/app/{components/forms/Input.vue.d.ts → primitives/PrimitiveInput/PrimitiveInput.vue.d.ts} +18 -12
- package/dist/runtime/app/{components/forms/NumberInput.d.vue.ts → primitives/PrimitiveNumberInput/PrimitiveNumberInput.d.vue.ts} +15 -10
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.d.ts +34 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.js +29 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue +223 -0
- package/dist/runtime/app/{components/forms/NumberInput.vue.d.ts → primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue.d.ts} +15 -10
- package/dist/runtime/app/{utils → primitives/PrimitiveNumberInput}/number.d.ts +7 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/number.js +64 -0
- package/dist/runtime/app/theme/icons.js +4 -1
- package/dist/runtime/app/theme/index.d.ts +1320 -8
- package/dist/runtime/app/theme/index.js +124 -10
- package/dist/runtime/app/theme/messages.js +11 -3
- package/dist/runtime/app/theme/shared.d.ts +20 -3
- package/dist/runtime/app/theme/shared.js +16 -1
- package/dist/runtime/app/types/app.d.ts +4 -2
- package/dist/runtime/app/types/base.d.ts +13 -13
- package/dist/runtime/app/types/field-type.d.ts +4 -0
- package/dist/runtime/app/types/field-type.js +0 -0
- package/dist/runtime/app/types/field.d.ts +135 -27
- package/dist/runtime/app/types/form.d.ts +29 -4
- package/dist/runtime/app/types/index.d.ts +63 -12
- package/dist/runtime/app/types/menu.d.ts +22 -0
- package/dist/runtime/app/types/menu.js +0 -0
- package/dist/runtime/app/types/page.d.ts +14 -10
- package/dist/runtime/app/types/shortcuts.d.ts +44 -0
- package/dist/runtime/app/types/shortcuts.js +0 -0
- package/dist/runtime/app/types/slots.d.ts +34 -0
- package/dist/runtime/app/types/slots.js +0 -0
- package/dist/runtime/app/types/table.d.ts +31 -30
- package/dist/runtime/app/types/text.d.ts +6 -0
- package/dist/runtime/app/types/text.js +0 -0
- package/dist/runtime/app/types/theme.d.ts +64 -17
- package/dist/runtime/app/utils/format.js +5 -4
- package/dist/runtime/app/utils/path.js +5 -3
- package/dist/runtime/app/{internal → utils}/slots.d.ts +5 -2
- package/dist/runtime/app/utils/slots.js +24 -0
- package/dist/runtime/app/utils/theme.d.ts +9 -24
- package/dist/runtime/app/utils/theme.js +35 -15
- package/package.json +24 -9
- package/dist/runtime/app/components/actions/Avatar.d.vue.ts +0 -23
- package/dist/runtime/app/components/actions/Avatar.vue.d.ts +0 -23
- package/dist/runtime/app/components/actions/Badge.d.vue.ts +0 -36
- package/dist/runtime/app/components/actions/Badge.vue.d.ts +0 -36
- package/dist/runtime/app/components/actions/Button.d.vue.ts +0 -45
- package/dist/runtime/app/components/actions/Button.vue +0 -71
- package/dist/runtime/app/components/actions/Button.vue.d.ts +0 -45
- package/dist/runtime/app/components/actions/Icon.d.vue.ts +0 -6
- package/dist/runtime/app/components/actions/Icon.vue +0 -32
- package/dist/runtime/app/components/actions/Icon.vue.d.ts +0 -6
- package/dist/runtime/app/components/actions/Menu.d.vue.ts +0 -34
- package/dist/runtime/app/components/actions/Menu.vue +0 -189
- package/dist/runtime/app/components/actions/Menu.vue.d.ts +0 -34
- package/dist/runtime/app/components/actions/Tooltip.d.vue.ts +0 -40
- package/dist/runtime/app/components/actions/Tooltip.vue.d.ts +0 -40
- package/dist/runtime/app/components/forms/ControlShell.vue +0 -19
- package/dist/runtime/app/components/forms/Form.d.vue.ts +0 -53
- package/dist/runtime/app/components/forms/Form.vue.d.ts +0 -53
- package/dist/runtime/app/components/forms/FormField.d.vue.ts +0 -32
- package/dist/runtime/app/components/forms/FormField.vue.d.ts +0 -32
- package/dist/runtime/app/components/forms/FormFieldRenderer.d.vue.ts +0 -7
- package/dist/runtime/app/components/forms/FormFieldRenderer.vue +0 -88
- package/dist/runtime/app/components/forms/FormFieldRenderer.vue.d.ts +0 -7
- package/dist/runtime/app/components/forms/FormModal.d.vue.ts +0 -61
- package/dist/runtime/app/components/forms/FormModal.vue.d.ts +0 -61
- package/dist/runtime/app/components/forms/FormSection.d.vue.ts +0 -12
- package/dist/runtime/app/components/forms/FormSection.vue.d.ts +0 -12
- package/dist/runtime/app/components/forms/NumberInput.vue +0 -160
- package/dist/runtime/app/components/forms/Select.d.vue.ts +0 -61
- package/dist/runtime/app/components/forms/Select.vue +0 -336
- package/dist/runtime/app/components/forms/Select.vue.d.ts +0 -61
- package/dist/runtime/app/components/forms/fields/FieldArray.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldArray.vue +0 -129
- package/dist/runtime/app/components/forms/fields/FieldArray.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldCheckbox.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldCheckbox.vue +0 -31
- package/dist/runtime/app/components/forms/fields/FieldCheckbox.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldColor.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldColor.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldEmail.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldEmail.vue +0 -38
- package/dist/runtime/app/components/forms/fields/FieldEmail.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldFile.vue +0 -91
- package/dist/runtime/app/components/forms/fields/FieldNumber.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldNumber.vue +0 -39
- package/dist/runtime/app/components/forms/fields/FieldNumber.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldPassword.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldPassword.vue +0 -36
- package/dist/runtime/app/components/forms/fields/FieldPassword.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldRadio.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldRadio.vue +0 -33
- package/dist/runtime/app/components/forms/fields/FieldRadio.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSelect.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSelect.vue +0 -37
- package/dist/runtime/app/components/forms/fields/FieldSelect.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSlug.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSlug.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSwitch.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSwitch.vue +0 -29
- package/dist/runtime/app/components/forms/fields/FieldSwitch.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldText.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldText.vue +0 -39
- package/dist/runtime/app/components/forms/fields/FieldText.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldTextarea.vue +0 -37
- package/dist/runtime/app/components/layouts/dashboard/DashboardAside.d.vue.ts +0 -56
- package/dist/runtime/app/components/layouts/dashboard/DashboardAside.vue +0 -96
- package/dist/runtime/app/components/layouts/dashboard/DashboardAside.vue.d.ts +0 -56
- package/dist/runtime/app/components/layouts/dashboard/DashboardLayout.d.vue.ts +0 -57
- package/dist/runtime/app/components/layouts/dashboard/DashboardLayout.vue +0 -164
- package/dist/runtime/app/components/layouts/dashboard/DashboardLayout.vue.d.ts +0 -57
- package/dist/runtime/app/components/layouts/dashboard/DashboardPage.d.vue.ts +0 -49
- package/dist/runtime/app/components/layouts/dashboard/DashboardPage.vue +0 -45
- package/dist/runtime/app/components/layouts/dashboard/DashboardPage.vue.d.ts +0 -49
- package/dist/runtime/app/components/layouts/public/PublicLayout.d.vue.ts +0 -50
- package/dist/runtime/app/components/layouts/public/PublicLayout.vue +0 -56
- package/dist/runtime/app/components/layouts/public/PublicLayout.vue.d.ts +0 -50
- package/dist/runtime/app/components/overlays/Context.d.vue.ts +0 -3
- package/dist/runtime/app/components/overlays/Context.vue +0 -7
- package/dist/runtime/app/components/overlays/Context.vue.d.ts +0 -3
- package/dist/runtime/app/components/overlays/Modal.vue +0 -158
- package/dist/runtime/app/components/overlays/Overlay.d.vue.ts +0 -7
- package/dist/runtime/app/components/overlays/Overlay.vue.d.ts +0 -7
- package/dist/runtime/app/components/overlays/Toast.vue +0 -63
- package/dist/runtime/app/components/structure/Card.d.vue.ts +0 -90
- package/dist/runtime/app/components/structure/Card.vue +0 -43
- package/dist/runtime/app/components/structure/Card.vue.d.ts +0 -90
- package/dist/runtime/app/components/structure/Container.d.vue.ts +0 -42
- package/dist/runtime/app/components/structure/Container.vue.d.ts +0 -42
- package/dist/runtime/app/components/structure/Navbar.d.vue.ts +0 -49
- package/dist/runtime/app/components/structure/Navbar.vue.d.ts +0 -49
- package/dist/runtime/app/components/structure/Navigation.d.vue.ts +0 -14
- package/dist/runtime/app/components/structure/Navigation.vue +0 -147
- package/dist/runtime/app/components/structure/Navigation.vue.d.ts +0 -14
- package/dist/runtime/app/components/structure/Page.d.vue.ts +0 -39
- package/dist/runtime/app/components/structure/Page.vue +0 -124
- package/dist/runtime/app/components/structure/Page.vue.d.ts +0 -39
- package/dist/runtime/app/components/structure/Pagination.d.vue.ts +0 -32
- package/dist/runtime/app/components/structure/Pagination.vue.d.ts +0 -32
- package/dist/runtime/app/components/structure/State.d.vue.ts +0 -14
- package/dist/runtime/app/components/structure/State.vue.d.ts +0 -14
- package/dist/runtime/app/components/structure/Table.vue +0 -493
- package/dist/runtime/app/components/structure/Tabs.vue +0 -114
- package/dist/runtime/app/components/structure/cells/CellBoolean.vue +0 -26
- package/dist/runtime/app/composables/useDashboard.d.ts +0 -14
- package/dist/runtime/app/composables/useDashboard.js +0 -9
- package/dist/runtime/app/internal/keys.d.ts +0 -37
- package/dist/runtime/app/internal/keys.js +0 -5
- package/dist/runtime/app/internal/slots.js +0 -12
- package/dist/runtime/app/internal/useVunoDashboard.d.ts +0 -15
- package/dist/runtime/app/internal/useVunoDashboard.js +0 -5
- package/dist/runtime/app/internal/useVunoPortal.js +0 -8
- package/dist/runtime/app/theme/actions.d.ts +0 -2
- package/dist/runtime/app/theme/actions.js +0 -123
- package/dist/runtime/app/theme/forms.d.ts +0 -2
- package/dist/runtime/app/theme/forms.js +0 -442
- package/dist/runtime/app/theme/layouts.d.ts +0 -2
- package/dist/runtime/app/theme/layouts.js +0 -76
- package/dist/runtime/app/theme/overlays.d.ts +0 -2
- package/dist/runtime/app/theme/overlays.js +0 -90
- package/dist/runtime/app/theme/structure.d.ts +0 -2
- package/dist/runtime/app/theme/structure.js +0 -351
- package/dist/runtime/app/types/dashboard.d.ts +0 -7
- package/dist/runtime/app/types/state.d.ts +0 -35
- package/dist/runtime/app/utils/column.js +0 -5
- package/dist/runtime/app/utils/number.js +0 -30
- package/dist/runtime/app/utils/standard-schema.d.ts +0 -62
- /package/dist/runtime/app/{types/dashboard.js → components/Alert/Alert.types.js} +0 -0
- /package/dist/runtime/app/{types/state.js → components/App/App.types.js} +0 -0
- /package/dist/runtime/app/{utils → components/DataTable/internal}/query.d.ts +0 -0
- /package/dist/runtime/app/{utils → components/DataTable/internal}/query.js +0 -0
- /package/dist/runtime/app/{utils → components/FieldSelect/internal/Select}/option.js +0 -0
- /package/dist/runtime/app/{utils → components/Form/internal}/grid.d.ts +0 -0
- /package/dist/runtime/app/{utils → components/Form/internal}/grid.js +0 -0
- /package/dist/runtime/app/{utils → components/Form/internal}/standard-schema.js +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellBadge}/CellBadge.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellBadge}/CellBadge.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellBoolean}/CellBoolean.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellBoolean}/CellBoolean.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellCurrency}/CellCurrency.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellCurrency}/CellCurrency.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellDate}/CellDate.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellDate}/CellDate.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellImage}/CellImage.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellImage}/CellImage.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellNumber}/CellNumber.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellNumber}/CellNumber.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellText}/CellText.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellText}/CellText.vue.d.ts +0 -0
- /package/dist/runtime/app/{utils → components/Table/internal}/selection.d.ts +0 -0
- /package/dist/runtime/app/{utils → components/Table/internal}/selection.js +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { VunoNotification } from '#vuno/types/app';
|
|
2
|
-
type
|
|
2
|
+
type Props = {
|
|
3
3
|
notification: VunoNotification;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
dismiss: () => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
8
|
onDismiss?: (() => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** El apilado lo añade `Overlay`; aquí solo lo que sea del proyecto. */
|
|
2
|
+
export declare const toastTheme: Record<"toast", {
|
|
3
|
+
readonly slots: {
|
|
4
|
+
readonly actions: "absolute top-2 right-2";
|
|
5
|
+
readonly close: "rounded text-(--vuno-accent) shadow-none ring-transparent hover:bg-(--vuno-accent)/15 hover:text-(--vuno-accent)";
|
|
6
|
+
readonly content: "pr-5";
|
|
7
|
+
readonly description: "text-vuno-muted";
|
|
8
|
+
readonly root: "relative rounded-xl p-4 shadow-lg ring ring-(--vuno-accent)/25";
|
|
9
|
+
};
|
|
10
|
+
readonly variants: {
|
|
11
|
+
readonly color: Record<import("../../../../types/base.js").VunoColor, Record<"root", string>>;
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { accentByColor } from "#vuno/theme/shared";
|
|
2
|
+
import { defineTheme } from "#vuno/utils/theme";
|
|
3
|
+
export const toastTheme = defineTheme("toast", {
|
|
4
|
+
slots: {
|
|
5
|
+
actions: "absolute top-2 right-2",
|
|
6
|
+
close: "rounded text-(--vuno-accent) shadow-none ring-transparent hover:bg-(--vuno-accent)/15 hover:text-(--vuno-accent)",
|
|
7
|
+
content: "pr-5",
|
|
8
|
+
description: "text-vuno-muted",
|
|
9
|
+
/*
|
|
10
|
+
* `Alert` aporta el layout, el icono y el tinte semántico. El toast
|
|
11
|
+
* solo lo eleva sobre la página y reserva sitio para cerrarlo.
|
|
12
|
+
*/
|
|
13
|
+
root: "relative rounded-xl p-4 shadow-lg ring ring-(--vuno-accent)/25"
|
|
14
|
+
},
|
|
15
|
+
variants: { color: accentByColor("root") }
|
|
16
|
+
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useIcons, useMessages, useTheme } from "#vuno/composables/useTheme";
|
|
3
|
+
import Alert from "#vuno/components/Alert/Alert.vue";
|
|
4
|
+
import Button from "#vuno/components/Button/Button.vue";
|
|
5
|
+
defineOptions({ name: "VunoToast" });
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
notification: { type: Object, required: true }
|
|
8
|
+
});
|
|
9
|
+
const emit = defineEmits(["dismiss"]);
|
|
10
|
+
const icons = useIcons();
|
|
11
|
+
const messages = useMessages();
|
|
12
|
+
const ui = useTheme("toast", void 0, () => ({ color: props.notification.color ?? "neutral" }));
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<!--
|
|
17
|
+
**Sin semántica de zona en vivo, y a propósito.**
|
|
18
|
+
|
|
19
|
+
Esto es la tarjeta; quien anuncia es `Toaster.vue`, que tiene dos
|
|
20
|
+
regiones permanentes y es el único que sabe cuándo llega un aviso. Si
|
|
21
|
+
además lo anunciara la tarjeta, un aviso normal se oiría **dos veces**, y
|
|
22
|
+
un anuncio duplicado es peor que uno tardío: quien lo oye no sabe si han
|
|
23
|
+
pasado dos cosas.
|
|
24
|
+
|
|
25
|
+
El hueco que deja: un `<VToast>` suelto, fuera del toaster, no se anuncia
|
|
26
|
+
solo. Queda dicho aquí y en su ficha para que sea un hueco conocido y no
|
|
27
|
+
un defecto futuro.
|
|
28
|
+
-->
|
|
29
|
+
<Alert
|
|
30
|
+
:color="props.notification.color"
|
|
31
|
+
:description="props.notification.description"
|
|
32
|
+
:icon="props.notification.icon"
|
|
33
|
+
:role="null"
|
|
34
|
+
:title="props.notification.title"
|
|
35
|
+
:ui="{
|
|
36
|
+
actions: ui.actions,
|
|
37
|
+
content: ui.content,
|
|
38
|
+
description: ui.description,
|
|
39
|
+
root: ui.root
|
|
40
|
+
}"
|
|
41
|
+
>
|
|
42
|
+
<template #actions>
|
|
43
|
+
<Button
|
|
44
|
+
:aria-label="messages.close"
|
|
45
|
+
color="neutral"
|
|
46
|
+
:icon="icons.close"
|
|
47
|
+
shape="square"
|
|
48
|
+
size="xs"
|
|
49
|
+
:ui="{ base: ui.close }"
|
|
50
|
+
variant="ghost"
|
|
51
|
+
@click="emit('dismiss')"
|
|
52
|
+
/>
|
|
53
|
+
</template>
|
|
54
|
+
</Alert>
|
|
55
|
+
</template>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { VunoNotification } from '#vuno/types/app';
|
|
2
|
-
type
|
|
2
|
+
type Props = {
|
|
3
3
|
notification: VunoNotification;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
dismiss: () => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
8
|
onDismiss?: (() => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { VunoNotification } from '#vuno/types/app';
|
|
2
|
-
type
|
|
2
|
+
type Props = {
|
|
3
3
|
notifications: VunoNotification[];
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
dismiss: (id: number) => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
8
|
onDismiss?: ((id: number) => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const toasterTheme: Record<"toaster", {
|
|
2
|
+
readonly slots: {
|
|
3
|
+
/** Entra deslizando desde la derecha; sale encogiendo. */
|
|
4
|
+
readonly enterActive: "transition duration-200 ease-out";
|
|
5
|
+
readonly enterFrom: "translate-x-4 opacity-0";
|
|
6
|
+
readonly item: "pointer-events-auto";
|
|
7
|
+
readonly leaveActive: "absolute inset-x-0 transition duration-150 ease-in";
|
|
8
|
+
readonly leaveTo: "translate-x-4 opacity-0";
|
|
9
|
+
readonly list: "flex flex-col gap-3";
|
|
10
|
+
/** Sin esto, al cerrar una de en medio las de abajo dan un salto. */
|
|
11
|
+
readonly move: "transition-transform duration-200 ease-out";
|
|
12
|
+
/** Fijo abajo a la derecha; en móvil ocupa el ancho con margen. */
|
|
13
|
+
readonly root: "pointer-events-none fixed inset-x-4 bottom-4 z-100 flex flex-col gap-3 sm:inset-x-auto sm:right-8 sm:bottom-8 sm:w-85";
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineTheme } from "#vuno/utils/theme";
|
|
2
|
+
export const toasterTheme = defineTheme("toaster", {
|
|
3
|
+
slots: {
|
|
4
|
+
/** Entra deslizando desde la derecha; sale encogiendo. */
|
|
5
|
+
enterActive: "transition duration-200 ease-out",
|
|
6
|
+
enterFrom: "translate-x-4 opacity-0",
|
|
7
|
+
item: "pointer-events-auto",
|
|
8
|
+
leaveActive: "absolute inset-x-0 transition duration-150 ease-in",
|
|
9
|
+
leaveTo: "translate-x-4 opacity-0",
|
|
10
|
+
list: "flex flex-col gap-3",
|
|
11
|
+
/** Sin esto, al cerrar una de en medio las de abajo dan un salto. */
|
|
12
|
+
move: "transition-transform duration-200 ease-out",
|
|
13
|
+
/** Fijo abajo a la derecha; en móvil ocupa el ancho con margen. */
|
|
14
|
+
root: "pointer-events-none fixed inset-x-4 bottom-4 z-100 flex flex-col gap-3 sm:inset-x-auto sm:right-8 sm:bottom-8 sm:w-85"
|
|
15
|
+
}
|
|
16
|
+
});
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { nextTick, ref, watch } from "vue";
|
|
3
|
-
import Toast from "#vuno/components/overlays/Toast.vue";
|
|
4
3
|
import { useTheme } from "#vuno/composables/useTheme";
|
|
4
|
+
import Toast from "#vuno/components/App/internal/Toast/Toast.vue";
|
|
5
|
+
defineOptions({ name: "VunoToaster" });
|
|
5
6
|
const props = defineProps({
|
|
6
7
|
notifications: { type: Array, required: true }
|
|
7
8
|
});
|
|
8
9
|
const emit = defineEmits(["dismiss"]);
|
|
9
10
|
const ui = useTheme("toaster");
|
|
10
|
-
const polite = ref("");
|
|
11
11
|
const assertive = ref("");
|
|
12
|
+
const polite = ref("");
|
|
12
13
|
const announced = /* @__PURE__ */ new Set();
|
|
13
14
|
const owners = { assertive: null, polite: null };
|
|
14
15
|
async function announce(region, text) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { VunoNotification } from '#vuno/types/app';
|
|
2
|
-
type
|
|
2
|
+
type Props = {
|
|
3
3
|
notifications: VunoNotification[];
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
dismiss: (id: number) => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
8
|
onDismiss?: ((id: number) => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { VunoAvatarProps } from './Avatar.types.js';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<VunoAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VunoAvatarProps> & Readonly<{}>, {
|
|
3
|
+
radius: import("../../types/base.js").VunoRadius;
|
|
4
|
+
size: import("./Avatar.types.js").VunoAvatarSize;
|
|
5
|
+
alt: string;
|
|
6
|
+
ui: import("../../types/slots.js").VunoUi<"avatar">;
|
|
7
|
+
src: string;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const avatarTheme: Record<"avatar", {
|
|
2
|
+
/**
|
|
3
|
+
* La escala es la de Nuxt UI y no una propia, para que `size: 'sm'` siga
|
|
4
|
+
* midiendo los mismos 28 px que hoy en la columna de imagen.
|
|
5
|
+
*/
|
|
6
|
+
readonly slots: {
|
|
7
|
+
readonly image: "size-full rounded-[inherit] object-cover";
|
|
8
|
+
readonly root: "inline-flex shrink-0 items-center justify-center rounded-sm bg-vuno-surface-1 align-middle font-medium text-vuno-muted select-none";
|
|
9
|
+
};
|
|
10
|
+
readonly variants: {
|
|
11
|
+
readonly radius: Record<import("../../types/base.js").VunoRadius, Record<"root", string>>;
|
|
12
|
+
readonly size: {
|
|
13
|
+
readonly xs: {
|
|
14
|
+
readonly root: "size-6 text-xs";
|
|
15
|
+
};
|
|
16
|
+
readonly sm: {
|
|
17
|
+
readonly root: "size-7 text-sm";
|
|
18
|
+
};
|
|
19
|
+
readonly md: {
|
|
20
|
+
readonly root: "size-8 text-sm";
|
|
21
|
+
};
|
|
22
|
+
readonly lg: {
|
|
23
|
+
readonly root: "size-9 text-sm";
|
|
24
|
+
};
|
|
25
|
+
readonly xl: {
|
|
26
|
+
readonly root: "size-10 text-base";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { radiusByStep } from "#vuno/theme/shared";
|
|
2
|
+
import { defineTheme } from "#vuno/utils/theme";
|
|
3
|
+
export const avatarTheme = defineTheme("avatar", {
|
|
4
|
+
/**
|
|
5
|
+
* La escala es la de Nuxt UI y no una propia, para que `size: 'sm'` siga
|
|
6
|
+
* midiendo los mismos 28 px que hoy en la columna de imagen.
|
|
7
|
+
*/
|
|
8
|
+
slots: {
|
|
9
|
+
image: "size-full rounded-[inherit] object-cover",
|
|
10
|
+
root: "inline-flex shrink-0 items-center justify-center rounded-sm bg-vuno-surface-1 align-middle font-medium text-vuno-muted select-none"
|
|
11
|
+
},
|
|
12
|
+
variants: {
|
|
13
|
+
radius: radiusByStep("root"),
|
|
14
|
+
size: {
|
|
15
|
+
xs: { root: "size-6 text-xs" },
|
|
16
|
+
sm: { root: "size-7 text-sm" },
|
|
17
|
+
md: { root: "size-8 text-sm" },
|
|
18
|
+
lg: { root: "size-9 text-sm" },
|
|
19
|
+
xl: { root: "size-10 text-base" }
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { VunoRadius, VunoSize } from '#vuno/types/base';
|
|
2
|
+
import type { VunoUi } from '#vuno/types/slots';
|
|
3
|
+
export type VunoAvatarSize = Extract<VunoSize, 'lg' | 'md' | 'sm' | 'xl' | 'xs'>;
|
|
4
|
+
export type VunoAvatarProps = {
|
|
5
|
+
alt?: string;
|
|
6
|
+
radius?: VunoRadius;
|
|
7
|
+
size?: VunoAvatarSize;
|
|
8
|
+
src?: string;
|
|
9
|
+
ui?: VunoUi<'avatar'>;
|
|
10
|
+
};
|
|
File without changes
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed, ref, watch } from "vue";
|
|
3
3
|
import { useTheme } from "#vuno/composables/useTheme";
|
|
4
|
+
defineOptions({ name: "VunoAvatar" });
|
|
4
5
|
const props = defineProps({
|
|
5
6
|
alt: { type: String, required: false, default: "" },
|
|
7
|
+
radius: { type: String, required: false, default: void 0 },
|
|
6
8
|
size: { type: String, required: false, default: "md" },
|
|
7
9
|
src: { type: String, required: false, default: void 0 },
|
|
8
10
|
ui: { type: Object, required: false, default: void 0 }
|
|
@@ -10,19 +12,19 @@ const props = defineProps({
|
|
|
10
12
|
const ui = useTheme(
|
|
11
13
|
"avatar",
|
|
12
14
|
() => props.ui,
|
|
13
|
-
() => ({ size: props.size })
|
|
15
|
+
() => ({ radius: props.radius, size: props.size })
|
|
14
16
|
);
|
|
15
17
|
const failed = ref(false);
|
|
18
|
+
const showImage = computed(() => Boolean(props.src) && !failed.value);
|
|
19
|
+
const initials = computed(
|
|
20
|
+
() => props.alt.split(/\s+/).filter(Boolean).slice(0, 2).map((word) => [...word][0]?.toLocaleUpperCase() ?? "").join("")
|
|
21
|
+
);
|
|
16
22
|
watch(
|
|
17
23
|
() => props.src,
|
|
18
24
|
() => {
|
|
19
25
|
failed.value = false;
|
|
20
26
|
}
|
|
21
27
|
);
|
|
22
|
-
const showImage = computed(() => Boolean(props.src) && !failed.value);
|
|
23
|
-
const initials = computed(
|
|
24
|
-
() => props.alt.split(/\s+/).filter(Boolean).slice(0, 2).map((word) => [...word][0]?.toLocaleUpperCase() ?? "").join("")
|
|
25
|
-
);
|
|
26
28
|
</script>
|
|
27
29
|
|
|
28
30
|
<template>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { VunoAvatarProps } from './Avatar.types.js';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<VunoAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VunoAvatarProps> & Readonly<{}>, {
|
|
3
|
+
radius: import("../../types/base.js").VunoRadius;
|
|
4
|
+
size: import("./Avatar.types.js").VunoAvatarSize;
|
|
5
|
+
alt: string;
|
|
6
|
+
ui: import("../../types/slots.js").VunoUi<"avatar">;
|
|
7
|
+
src: string;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { VunoBadgeProps } from './Badge.types.js';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<VunoBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VunoBadgeProps> & Readonly<{}>, {
|
|
7
|
+
color: import("../../types/base.js").VunoColor;
|
|
8
|
+
radius: import("../../types/base.js").VunoRadius;
|
|
9
|
+
size: import("./Badge.types.js").VunoBadgeSize;
|
|
10
|
+
variant: import("./Badge.types.js").VunoBadgeVariant;
|
|
11
|
+
label: string;
|
|
12
|
+
ui: import("../../types/slots.js").VunoUi<"badge">;
|
|
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,40 @@
|
|
|
1
|
+
export declare const badgeTheme: Record<"badge", {
|
|
2
|
+
readonly slots: {
|
|
3
|
+
readonly base: "inline-flex shrink-0 items-center rounded-sm font-medium";
|
|
4
|
+
};
|
|
5
|
+
readonly variants: {
|
|
6
|
+
readonly color: Record<import("../../types/base.js").VunoColor, Record<"base", string>>;
|
|
7
|
+
readonly radius: Record<import("../../types/base.js").VunoRadius, Record<"base", string>>;
|
|
8
|
+
readonly size: {
|
|
9
|
+
readonly xs: {
|
|
10
|
+
readonly base: "gap-0.5 px-1.5 py-0.5 text-xs";
|
|
11
|
+
};
|
|
12
|
+
readonly sm: {
|
|
13
|
+
readonly base: "gap-1 px-1.5 py-0.5 text-xs";
|
|
14
|
+
};
|
|
15
|
+
readonly md: {
|
|
16
|
+
readonly base: "gap-1 px-2 py-0.5 text-xs";
|
|
17
|
+
};
|
|
18
|
+
readonly lg: {
|
|
19
|
+
readonly base: "gap-1.5 px-2 py-1 text-sm";
|
|
20
|
+
};
|
|
21
|
+
readonly xl: {
|
|
22
|
+
readonly base: "gap-1.5 px-2.5 py-1 text-sm";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
readonly variant: {
|
|
26
|
+
readonly outline: {
|
|
27
|
+
readonly base: "border border-(--vuno-accent) text-(--vuno-accent)";
|
|
28
|
+
};
|
|
29
|
+
readonly soft: {
|
|
30
|
+
readonly base: "bg-(--vuno-accent)/10 text-(--vuno-accent)";
|
|
31
|
+
};
|
|
32
|
+
readonly solid: {
|
|
33
|
+
readonly base: "bg-(--vuno-accent) text-(--vuno-accent-contrast)";
|
|
34
|
+
};
|
|
35
|
+
readonly subtle: {
|
|
36
|
+
readonly base: "bg-(--vuno-accent)/10 text-(--vuno-accent) ring-1 ring-(--vuno-accent)/25 ring-inset";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { accentByColor, radiusByStep } from "#vuno/theme/shared";
|
|
2
|
+
import { defineTheme } from "#vuno/utils/theme";
|
|
3
|
+
export const badgeTheme = defineTheme("badge", {
|
|
4
|
+
slots: { base: "inline-flex shrink-0 items-center rounded-sm font-medium" },
|
|
5
|
+
variants: {
|
|
6
|
+
color: accentByColor("base"),
|
|
7
|
+
radius: radiusByStep("base"),
|
|
8
|
+
size: {
|
|
9
|
+
xs: { base: "gap-0.5 px-1.5 py-0.5 text-xs" },
|
|
10
|
+
sm: { base: "gap-1 px-1.5 py-0.5 text-xs" },
|
|
11
|
+
md: { base: "gap-1 px-2 py-0.5 text-xs" },
|
|
12
|
+
lg: { base: "gap-1.5 px-2 py-1 text-sm" },
|
|
13
|
+
xl: { base: "gap-1.5 px-2.5 py-1 text-sm" }
|
|
14
|
+
},
|
|
15
|
+
variant: {
|
|
16
|
+
outline: { base: "border border-(--vuno-accent) text-(--vuno-accent)" },
|
|
17
|
+
soft: { base: "bg-(--vuno-accent)/10 text-(--vuno-accent)" },
|
|
18
|
+
solid: { base: "bg-(--vuno-accent) text-(--vuno-accent-contrast)" },
|
|
19
|
+
subtle: { base: "bg-(--vuno-accent)/10 text-(--vuno-accent) ring-1 ring-(--vuno-accent)/25 ring-inset" }
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { VunoColor, VunoRadius, VunoSize } from '#vuno/types/base';
|
|
2
|
+
import type { VunoUi } from '#vuno/types/slots';
|
|
3
|
+
export type VunoBadgeSize = Extract<VunoSize, 'lg' | 'md' | 'sm' | 'xl' | 'xs'>;
|
|
4
|
+
export type VunoBadgeVariant = 'outline' | 'soft' | 'solid' | 'subtle';
|
|
5
|
+
export type VunoBadgeProps = {
|
|
6
|
+
color?: VunoColor;
|
|
7
|
+
label?: string;
|
|
8
|
+
radius?: VunoRadius;
|
|
9
|
+
size?: VunoBadgeSize;
|
|
10
|
+
ui?: VunoUi<'badge'>;
|
|
11
|
+
variant?: VunoBadgeVariant;
|
|
12
|
+
};
|
|
File without changes
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { useTheme } from "#vuno/composables/useTheme";
|
|
3
|
+
defineOptions({ name: "VunoBadge" });
|
|
3
4
|
const props = defineProps({
|
|
4
5
|
color: { type: String, required: false, default: "primary" },
|
|
5
6
|
label: { type: String, required: false, default: void 0 },
|
|
7
|
+
radius: { type: String, required: false, default: void 0 },
|
|
6
8
|
size: { type: String, required: false, default: "md" },
|
|
7
9
|
ui: { type: Object, required: false, default: void 0 },
|
|
8
10
|
variant: { type: String, required: false, default: "solid" }
|
|
@@ -12,6 +14,7 @@ const ui = useTheme(
|
|
|
12
14
|
() => props.ui,
|
|
13
15
|
() => ({
|
|
14
16
|
color: props.color,
|
|
17
|
+
radius: props.radius,
|
|
15
18
|
size: props.size,
|
|
16
19
|
variant: props.variant
|
|
17
20
|
})
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { VunoBadgeProps } from './Badge.types.js';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<VunoBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VunoBadgeProps> & Readonly<{}>, {
|
|
7
|
+
color: import("../../types/base.js").VunoColor;
|
|
8
|
+
radius: import("../../types/base.js").VunoRadius;
|
|
9
|
+
size: import("./Badge.types.js").VunoBadgeSize;
|
|
10
|
+
variant: import("./Badge.types.js").VunoBadgeVariant;
|
|
11
|
+
label: string;
|
|
12
|
+
ui: import("../../types/slots.js").VunoUi<"badge">;
|
|
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,7 @@
|
|
|
1
|
+
import type { VunoBreadcrumbProps } from './Breadcrumb.types.js';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<VunoBreadcrumbProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VunoBreadcrumbProps> & Readonly<{}>, {
|
|
3
|
+
ui: import("../../types/slots.js").VunoUi<"breadcrumb">;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const breadcrumbTheme: Record<"breadcrumb", {
|
|
2
|
+
readonly slots: {
|
|
3
|
+
readonly collapsedItem: "hidden sm:flex";
|
|
4
|
+
readonly collapseIndicator: "shrink-0 text-sm font-medium text-vuno-muted sm:hidden";
|
|
5
|
+
readonly current: "flex min-w-0 items-center gap-1.5 truncate text-sm font-semibold text-vuno-strong";
|
|
6
|
+
readonly icon: "size-4 shrink-0";
|
|
7
|
+
readonly item: "flex min-w-0 items-center gap-1.5";
|
|
8
|
+
readonly link: "flex min-w-0 items-center gap-1.5 truncate rounded-sm text-sm font-medium text-vuno-muted transition-colors [--vuno-accent:var(--color-vuno-primary)] hover:text-vuno-body focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--vuno-accent)";
|
|
9
|
+
readonly list: "flex min-w-0 items-center gap-1.5 whitespace-nowrap";
|
|
10
|
+
readonly root: "min-w-0";
|
|
11
|
+
readonly separator: "size-4 shrink-0 text-vuno-subtle rtl:rotate-180";
|
|
12
|
+
readonly skeleton: "h-4 w-24 max-w-[35vw] animate-pulse rounded-full bg-vuno-surface-2 motion-reduce:animate-none";
|
|
13
|
+
readonly text: "flex min-w-0 items-center gap-1.5 truncate text-sm font-medium text-vuno-muted";
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineTheme } from "#vuno/utils/theme";
|
|
2
|
+
export const breadcrumbTheme = defineTheme("breadcrumb", {
|
|
3
|
+
slots: {
|
|
4
|
+
collapsedItem: "hidden sm:flex",
|
|
5
|
+
collapseIndicator: "shrink-0 text-sm font-medium text-vuno-muted sm:hidden",
|
|
6
|
+
current: "flex min-w-0 items-center gap-1.5 truncate text-sm font-semibold text-vuno-strong",
|
|
7
|
+
icon: "size-4 shrink-0",
|
|
8
|
+
item: "flex min-w-0 items-center gap-1.5",
|
|
9
|
+
link: "flex min-w-0 items-center gap-1.5 truncate rounded-sm text-sm font-medium text-vuno-muted transition-colors [--vuno-accent:var(--color-vuno-primary)] hover:text-vuno-body focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--vuno-accent)",
|
|
10
|
+
list: "flex min-w-0 items-center gap-1.5 whitespace-nowrap",
|
|
11
|
+
root: "min-w-0",
|
|
12
|
+
separator: "size-4 shrink-0 text-vuno-subtle rtl:rotate-180",
|
|
13
|
+
skeleton: "h-4 w-24 max-w-[35vw] animate-pulse rounded-full bg-vuno-surface-2 motion-reduce:animate-none",
|
|
14
|
+
text: "flex min-w-0 items-center gap-1.5 truncate text-sm font-medium text-vuno-muted"
|
|
15
|
+
}
|
|
16
|
+
});
|
|
File without changes
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useIcons, useMessages, useTheme } from "#vuno/composables/useTheme";
|
|
3
|
+
import Icon from "#vuno/components/Icon/Icon.vue";
|
|
4
|
+
import Text from "#vuno/components/Text/Text.vue";
|
|
5
|
+
defineOptions({ name: "VunoBreadcrumb" });
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
items: { type: Array, required: true },
|
|
8
|
+
loading: { type: Boolean, required: false, default: false },
|
|
9
|
+
ui: { type: Object, required: false, default: void 0 }
|
|
10
|
+
});
|
|
11
|
+
const icons = useIcons();
|
|
12
|
+
const messages = useMessages();
|
|
13
|
+
const ui = useTheme("breadcrumb", () => props.ui);
|
|
14
|
+
function isCollapsedItem(index) {
|
|
15
|
+
return props.items.length > 3 && index < props.items.length - 2;
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<template>
|
|
20
|
+
<nav
|
|
21
|
+
v-if="props.items.length"
|
|
22
|
+
:aria-busy="props.loading ? 'true' : void 0"
|
|
23
|
+
:aria-label="messages.breadcrumb"
|
|
24
|
+
:class="ui.root"
|
|
25
|
+
>
|
|
26
|
+
<ol :class="ui.list">
|
|
27
|
+
<li
|
|
28
|
+
v-if="props.items.length > 3"
|
|
29
|
+
aria-hidden="true"
|
|
30
|
+
:class="[ui.item, ui.collapseIndicator]"
|
|
31
|
+
>
|
|
32
|
+
…
|
|
33
|
+
</li>
|
|
34
|
+
|
|
35
|
+
<li
|
|
36
|
+
v-for="(item, index) in props.items"
|
|
37
|
+
:key="`${index}:${item.to ?? ''}:${item.label}`"
|
|
38
|
+
:class="[ui.item, isCollapsedItem(index) ? ui.collapsedItem : void 0]"
|
|
39
|
+
>
|
|
40
|
+
<Icon
|
|
41
|
+
v-if="index > 0"
|
|
42
|
+
aria-hidden="true"
|
|
43
|
+
:class="ui.separator"
|
|
44
|
+
:name="icons.breadcrumbSeparator"
|
|
45
|
+
/>
|
|
46
|
+
|
|
47
|
+
<Text
|
|
48
|
+
v-if="index === props.items.length - 1"
|
|
49
|
+
:aria-busy="props.loading ? 'true' : void 0"
|
|
50
|
+
aria-current="page"
|
|
51
|
+
:aria-label="props.loading ? item.label : void 0"
|
|
52
|
+
:class="ui.current"
|
|
53
|
+
tag="span"
|
|
54
|
+
tone="inherit"
|
|
55
|
+
variant="inherit"
|
|
56
|
+
>
|
|
57
|
+
<Text
|
|
58
|
+
v-if="props.loading"
|
|
59
|
+
aria-hidden="true"
|
|
60
|
+
:class="ui.skeleton"
|
|
61
|
+
tag="span"
|
|
62
|
+
tone="inherit"
|
|
63
|
+
variant="inherit"
|
|
64
|
+
/>
|
|
65
|
+
|
|
66
|
+
<template v-else>
|
|
67
|
+
<Icon
|
|
68
|
+
v-if="item.icon"
|
|
69
|
+
aria-hidden="true"
|
|
70
|
+
:class="ui.icon"
|
|
71
|
+
:name="item.icon"
|
|
72
|
+
/>
|
|
73
|
+
{{ item.label }}
|
|
74
|
+
</template>
|
|
75
|
+
</Text>
|
|
76
|
+
|
|
77
|
+
<NuxtLink
|
|
78
|
+
v-else-if="item.to"
|
|
79
|
+
:class="ui.link"
|
|
80
|
+
:to="item.to"
|
|
81
|
+
>
|
|
82
|
+
<Icon
|
|
83
|
+
v-if="item.icon"
|
|
84
|
+
aria-hidden="true"
|
|
85
|
+
:class="ui.icon"
|
|
86
|
+
:name="item.icon"
|
|
87
|
+
/>
|
|
88
|
+
{{ item.label }}
|
|
89
|
+
</NuxtLink>
|
|
90
|
+
|
|
91
|
+
<Text
|
|
92
|
+
v-else
|
|
93
|
+
:class="ui.text"
|
|
94
|
+
tag="span"
|
|
95
|
+
tone="inherit"
|
|
96
|
+
variant="inherit"
|
|
97
|
+
>
|
|
98
|
+
<Icon
|
|
99
|
+
v-if="item.icon"
|
|
100
|
+
aria-hidden="true"
|
|
101
|
+
:class="ui.icon"
|
|
102
|
+
:name="item.icon"
|
|
103
|
+
/>
|
|
104
|
+
{{ item.label }}
|
|
105
|
+
</Text>
|
|
106
|
+
</li>
|
|
107
|
+
</ol>
|
|
108
|
+
</nav>
|
|
109
|
+
</template>
|