@groupteknology/vuno 2.0.0 → 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 +193 -175
- package/dist/module.json +1 -1
- package/dist/module.mjs +7 -1
- 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/theme.css +1 -1
- package/dist/runtime/app/assets/css/tokens.css +1 -1
- package/dist/runtime/app/components/Alert/Alert.d.vue.ts +2 -2
- package/dist/runtime/app/components/Alert/Alert.theme.d.ts +7 -6
- package/dist/runtime/app/components/Alert/Alert.theme.js +7 -6
- package/dist/runtime/app/components/Alert/Alert.types.d.ts +10 -0
- package/dist/runtime/app/components/Alert/Alert.vue +17 -8
- package/dist/runtime/app/components/Alert/Alert.vue.d.ts +2 -2
- package/dist/runtime/app/components/App/App.d.vue.ts +3 -19
- package/dist/runtime/app/components/App/App.types.d.ts +4 -0
- package/dist/runtime/app/components/App/App.vue +48 -29
- package/dist/runtime/app/components/App/App.vue.d.ts +3 -19
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue +2 -3
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.d.ts +5 -5
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.js +7 -9
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue +27 -36
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.d.ts +3 -3
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.js +3 -3
- package/dist/runtime/app/components/Avatar/Avatar.d.vue.ts +5 -22
- 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/Avatar/Avatar.vue.d.ts +5 -22
- package/dist/runtime/app/components/Badge/Badge.d.vue.ts +7 -26
- 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/Badge/Badge.vue.d.ts +7 -26
- 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 +11 -31
- package/dist/runtime/app/components/Button/Button.theme.d.ts +36 -22
- package/dist/runtime/app/components/Button/Button.theme.js +28 -20
- 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 +84 -33
- package/dist/runtime/app/components/Button/Button.vue.d.ts +11 -31
- package/dist/runtime/app/components/Card/Card.d.vue.ts +7 -69
- package/dist/runtime/app/components/Card/Card.theme.d.ts +56 -13
- package/dist/runtime/app/components/Card/Card.theme.js +39 -19
- 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 +17 -11
- package/dist/runtime/app/components/Card/Card.vue.d.ts +7 -69
- package/dist/runtime/app/components/Code/Code.d.vue.ts +3 -13
- package/dist/runtime/app/components/Code/Code.theme.d.ts +1 -1
- package/dist/runtime/app/components/Code/Code.theme.js +1 -1
- 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 +12 -5
- package/dist/runtime/app/components/Code/Code.vue.d.ts +3 -13
- 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/Confirm/Confirm.d.vue.ts +2 -6
- 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/Confirm/Confirm.vue.d.ts +2 -6
- package/dist/runtime/app/components/Container/Container.d.vue.ts +4 -28
- 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/Container/Container.vue +1 -1
- package/dist/runtime/app/components/Container/Container.vue.d.ts +4 -28
- package/dist/runtime/app/components/ControlGroup/ControlGroup.d.vue.ts +5 -14
- 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.d.ts +5 -14
- package/dist/runtime/app/components/DataTable/DataTable.d.vue.ts +64 -0
- 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/DataTable/DataTable.vue.d.ts +64 -0
- package/dist/runtime/app/components/{Table/internal/useVunoTable.d.ts → DataTable/internal/useVunoDataTable.d.ts} +6 -29
- package/dist/runtime/app/components/{Table/internal/useVunoTable.js → DataTable/internal/useVunoDataTable.js} +2 -29
- package/dist/runtime/app/components/FieldArray/FieldArray.d.vue.ts +2 -2
- 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 +12 -5
- package/dist/runtime/app/components/FieldArray/FieldArray.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.d.vue.ts +2 -2
- 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 +1 -1
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.d.vue.ts +4 -3
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.vue.d.ts +4 -3
- package/dist/runtime/app/components/FieldColor/FieldColor.d.vue.ts +2 -2
- 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/FieldColor/FieldColor.vue +3 -3
- package/dist/runtime/app/components/FieldColor/FieldColor.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.d.vue.ts +2 -2
- 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 +3 -3
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldFile/FieldFile.d.vue.ts +2 -2
- 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 +1 -1
- package/dist/runtime/app/components/FieldFile/FieldFile.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.d.vue.ts +4 -3
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.d.ts +1 -0
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.js +1 -0
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue +26 -5
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue.d.ts +4 -3
- package/dist/runtime/app/components/FieldInput/FieldInput.d.vue.ts +4 -4
- 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 +3 -3
- package/dist/runtime/app/components/FieldInput/FieldInput.vue.d.ts +4 -4
- package/dist/runtime/app/components/FieldNumber/FieldNumber.d.vue.ts +2 -2
- 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 +3 -3
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldPassword/FieldPassword.d.vue.ts +2 -2
- 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 +4 -4
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldRadio/FieldRadio.d.vue.ts +3 -2
- 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 +1 -1
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue.d.ts +3 -2
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.d.vue.ts +4 -4
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.vue +6 -2
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.vue.d.ts +4 -4
- package/dist/runtime/app/components/FieldSearch/FieldSearch.d.vue.ts +3 -3
- 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 +4 -4
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue.d.ts +3 -3
- package/dist/runtime/app/components/FieldSelect/FieldSelect.d.vue.ts +3 -2
- 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 +1 -1
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue.d.ts +3 -2
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.d.vue.ts +7 -7
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue +16 -6
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue.d.ts +7 -7
- package/dist/runtime/app/components/FieldSlug/FieldSlug.d.vue.ts +2 -2
- 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/FieldSlug/FieldSlug.vue +4 -4
- package/dist/runtime/app/components/FieldSlug/FieldSlug.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.d.vue.ts +2 -2
- 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 +1 -1
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.d.vue.ts +4 -3
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.vue.d.ts +4 -3
- package/dist/runtime/app/components/FieldTags/FieldTags.d.vue.ts +2 -2
- 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 +1 -1
- package/dist/runtime/app/components/FieldTags/FieldTags.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.d.vue.ts +4 -4
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue +16 -6
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue.d.ts +4 -4
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.d.vue.ts +2 -2
- 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 +1 -1
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.vue.d.ts +2 -2
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.d.vue.ts +4 -3
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.vue +4 -4
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.vue.d.ts +4 -3
- package/dist/runtime/app/components/Form/Form.d.vue.ts +3 -19
- 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/Form/Form.vue +3 -3
- package/dist/runtime/app/components/Form/Form.vue.d.ts +3 -19
- package/dist/runtime/app/components/FormField/FormField.d.vue.ts +4 -18
- 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/FormField/FormField.vue +26 -10
- package/dist/runtime/app/components/FormField/FormField.vue.d.ts +4 -18
- package/dist/runtime/app/components/{internal → FormField/internal}/FieldShell/FieldShell.d.vue.ts +2 -3
- package/dist/runtime/app/components/{internal → FormField/internal}/FieldShell/FieldShell.vue.d.ts +2 -3
- package/dist/runtime/app/components/FormModal/FormModal.d.vue.ts +6 -25
- 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/FormModal/FormModal.vue +12 -2
- package/dist/runtime/app/components/FormModal/FormModal.vue.d.ts +6 -25
- package/dist/runtime/app/components/FormSection/FormSection.d.vue.ts +2 -13
- 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/FormSection/FormSection.vue +11 -4
- package/dist/runtime/app/components/FormSection/FormSection.vue.d.ts +2 -13
- package/dist/runtime/app/components/Icon/Icon.d.vue.ts +2 -4
- 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.d.ts +2 -4
- package/dist/runtime/app/components/Menu/Menu.d.vue.ts +4 -21
- 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 +18 -110
- package/dist/runtime/app/components/Menu/Menu.vue.d.ts +4 -21
- 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 +6 -18
- package/dist/runtime/app/components/Modal/Modal.theme.d.ts +18 -14
- package/dist/runtime/app/components/Modal/Modal.theme.js +17 -21
- 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 +99 -65
- package/dist/runtime/app/components/Modal/Modal.vue.d.ts +6 -18
- package/dist/runtime/app/components/Navbar/Navbar.d.vue.ts +3 -28
- package/dist/runtime/app/components/Navbar/Navbar.theme.d.ts +2 -3
- package/dist/runtime/app/components/Navbar/Navbar.theme.js +2 -3
- 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/Navbar/Navbar.vue.d.ts +3 -28
- package/dist/runtime/app/components/NavigationList/NavigationList.d.vue.ts +4 -33
- 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.types.d.ts +9 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.types.js +0 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.vue +65 -19
- package/dist/runtime/app/components/NavigationList/NavigationList.vue.d.ts +4 -33
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.d.vue.ts +3 -24
- 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.types.d.ts +10 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.types.js +0 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue +45 -13
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue.d.ts +3 -24
- package/dist/runtime/app/components/NavigationToc/NavigationToc.d.vue.ts +3 -10
- 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 +8 -1
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue.d.ts +3 -10
- package/dist/runtime/app/components/Pagination/Pagination.d.vue.ts +5 -23
- 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/Pagination/Pagination.vue +6 -2
- package/dist/runtime/app/components/Pagination/Pagination.vue.d.ts +5 -23
- package/dist/runtime/app/components/Slideover/Slideover.d.vue.ts +4 -13
- 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.d.ts +4 -13
- package/dist/runtime/app/components/State/State.d.vue.ts +2 -2
- 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/State/State.vue +13 -3
- package/dist/runtime/app/components/State/State.vue.d.ts +2 -2
- package/dist/runtime/app/components/Table/Table.d.vue.ts +8 -55
- package/dist/runtime/app/components/Table/Table.theme.d.ts +17 -35
- package/dist/runtime/app/components/Table/Table.theme.js +15 -48
- 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 +143 -415
- package/dist/runtime/app/components/Table/Table.vue.d.ts +8 -55
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.vue +13 -3
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.vue +8 -1
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.vue +8 -1
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.vue +8 -1
- package/dist/runtime/app/components/Table/internal/CellText/CellText.vue +8 -1
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.d.vue.ts +2 -2
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.vue.d.ts +2 -2
- package/dist/runtime/app/components/Table/internal/column.d.ts +9 -0
- package/dist/runtime/app/components/Table/internal/column.js +15 -0
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.d.ts +1 -1
- package/dist/runtime/app/components/Tabs/Tabs.d.vue.ts +5 -24
- package/dist/runtime/app/components/Tabs/Tabs.theme.d.ts +15 -6
- package/dist/runtime/app/components/Tabs/Tabs.theme.js +15 -6
- 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 +91 -17
- package/dist/runtime/app/components/Tabs/Tabs.vue.d.ts +5 -24
- 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 +5 -26
- 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/Tooltip/Tooltip.vue +1 -1
- package/dist/runtime/app/components/Tooltip/Tooltip.vue.d.ts +5 -26
- 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 +3 -4
- 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/composables/useContext.js +2 -3
- package/dist/runtime/app/composables/useForm.js +2 -3
- package/dist/runtime/app/composables/useTableQuery.d.ts +1 -1
- package/dist/runtime/app/composables/useTheme.js +6 -3
- package/dist/runtime/app/{components/internal/ControlShell/ControlShell.vue.d.ts → primitives/PrimitiveControl/PrimitiveControl.d.vue.ts} +4 -3
- package/dist/runtime/app/{components/internal/ControlShell/ControlShell.theme.d.ts → primitives/PrimitiveControl/PrimitiveControl.theme.d.ts} +1 -1
- package/dist/runtime/app/{components/internal/ControlShell/ControlShell.vue → primitives/PrimitiveControl/PrimitiveControl.vue} +1 -1
- package/dist/runtime/app/{components/internal/ControlShell/ControlShell.d.vue.ts → primitives/PrimitiveControl/PrimitiveControl.vue.d.ts} +4 -3
- package/dist/runtime/app/{components/internal/Input/Input.d.vue.ts → primitives/PrimitiveInput/PrimitiveInput.d.vue.ts} +4 -3
- package/dist/runtime/app/{components/internal/Input/Input.vue → primitives/PrimitiveInput/PrimitiveInput.vue} +4 -4
- package/dist/runtime/app/{components/internal/Input/Input.vue.d.ts → primitives/PrimitiveInput/PrimitiveInput.vue.d.ts} +4 -3
- package/dist/runtime/app/{components/internal/NumberInput/NumberInput.d.vue.ts → primitives/PrimitiveNumberInput/PrimitiveNumberInput.d.vue.ts} +3 -4
- package/dist/runtime/app/{components/internal/NumberInput/NumberInput.theme.d.ts → primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.d.ts} +3 -0
- package/dist/runtime/app/{components/internal/NumberInput/NumberInput.theme.js → primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.js} +4 -1
- package/dist/runtime/app/{components/internal/NumberInput/NumberInput.vue → primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue} +7 -5
- package/dist/runtime/app/{components/internal/NumberInput/NumberInput.vue.d.ts → primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue.d.ts} +3 -4
- package/dist/runtime/app/theme/index.d.ts +254 -96
- package/dist/runtime/app/theme/index.js +13 -5
- package/dist/runtime/app/theme/messages.js +1 -0
- package/dist/runtime/app/theme/shared.d.ts +3 -2
- package/dist/runtime/app/theme/shared.js +2 -1
- package/dist/runtime/app/types/app.d.ts +4 -2
- package/dist/runtime/app/types/base.d.ts +5 -23
- package/dist/runtime/app/types/field.d.ts +3 -1
- package/dist/runtime/app/types/form.d.ts +3 -4
- package/dist/runtime/app/types/index.d.ts +55 -7
- 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 +6 -10
- package/dist/runtime/app/types/slots.d.ts +8 -4
- package/dist/runtime/app/types/table.d.ts +28 -28
- 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 +15 -6
- package/dist/runtime/app/utils/format.js +3 -2
- package/dist/runtime/app/utils/path.js +1 -1
- package/dist/runtime/app/{internal → utils}/slots.d.ts +2 -2
- package/dist/runtime/app/utils/theme.d.ts +8 -41
- package/dist/runtime/app/utils/theme.js +31 -29
- package/package.json +9 -9
- 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/internal/keys.d.ts +0 -43
- package/dist/runtime/app/internal/keys.js +0 -8
- package/dist/runtime/app/types/alert.d.ts +0 -13
- package/dist/runtime/app/types/state.d.ts +0 -35
- /package/dist/runtime/app/{types/alert.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/components/{Table → DataTable}/internal/query.d.ts +0 -0
- /package/dist/runtime/app/components/{Table → DataTable}/internal/query.js +0 -0
- /package/dist/runtime/app/components/{internal → FormField/internal}/FieldShell/FieldShell.vue +0 -0
- /package/dist/runtime/app/{components/internal/ControlShell/ControlShell.theme.js → primitives/PrimitiveControl/PrimitiveControl.theme.js} +0 -0
- /package/dist/runtime/app/{components/internal/Input/Input.theme.d.ts → primitives/PrimitiveInput/PrimitiveInput.theme.d.ts} +0 -0
- /package/dist/runtime/app/{components/internal/Input/Input.theme.js → primitives/PrimitiveInput/PrimitiveInput.theme.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
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export { defaultIcons } from './icons.js';
|
|
2
2
|
export { defaultMessages } from './messages.js';
|
|
3
3
|
/**
|
|
4
|
-
* Tema por defecto.
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* a través de `ui.colors`, `--ui-radius` y compañía.
|
|
4
|
+
* Tema por defecto. Aporta la geometría y las clases semánticas de Vuno. La
|
|
5
|
+
* curvatura base es `rounded-sm`; el consumidor puede cambiarla globalmente
|
|
6
|
+
* con `vuno.theme.radius`, por componente o en una instancia.
|
|
8
7
|
*
|
|
9
8
|
* Las claves `field*` describen los slots del componente de Nuxt UI que
|
|
10
9
|
* cada campo envuelve. Los controles de caja ocupan todo el ancho porque el
|
|
@@ -18,13 +17,74 @@ export declare const defaultTheme: {
|
|
|
18
17
|
readonly content: "z-50 max-w-xs rounded-sm bg-vuno-surface-inverse px-2 py-1 text-xs font-medium text-vuno-inverse shadow-sm select-none";
|
|
19
18
|
};
|
|
20
19
|
};
|
|
20
|
+
toolbar: {
|
|
21
|
+
readonly slots: {
|
|
22
|
+
readonly root: "max-w-full items-stretch";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
text: {
|
|
26
|
+
readonly slots: {
|
|
27
|
+
readonly root: "";
|
|
28
|
+
};
|
|
29
|
+
readonly variants: {
|
|
30
|
+
readonly tone: {
|
|
31
|
+
readonly body: {
|
|
32
|
+
readonly root: "text-vuno-body";
|
|
33
|
+
};
|
|
34
|
+
readonly inherit: {};
|
|
35
|
+
readonly inverse: {
|
|
36
|
+
readonly root: "text-vuno-inverse";
|
|
37
|
+
};
|
|
38
|
+
readonly muted: {
|
|
39
|
+
readonly root: "text-vuno-muted";
|
|
40
|
+
};
|
|
41
|
+
readonly strong: {
|
|
42
|
+
readonly root: "text-vuno-strong";
|
|
43
|
+
};
|
|
44
|
+
readonly subtle: {
|
|
45
|
+
readonly root: "text-vuno-subtle";
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
readonly truncate: {
|
|
49
|
+
readonly false: {};
|
|
50
|
+
readonly true: {
|
|
51
|
+
readonly root: "line-clamp-(--vuno-text-lines)";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
readonly variant: {
|
|
55
|
+
readonly body: {
|
|
56
|
+
readonly root: "font-sans text-sm/5 font-normal";
|
|
57
|
+
};
|
|
58
|
+
readonly caption: {
|
|
59
|
+
readonly root: "font-sans text-xs/4 font-normal";
|
|
60
|
+
};
|
|
61
|
+
readonly code: {
|
|
62
|
+
readonly root: "font-mono text-sm/5 font-normal";
|
|
63
|
+
};
|
|
64
|
+
readonly display: {
|
|
65
|
+
readonly root: "font-sans text-3xl/9 font-semibold tracking-[-0.03em]";
|
|
66
|
+
};
|
|
67
|
+
readonly heading: {
|
|
68
|
+
readonly root: "font-sans text-xl/7 font-semibold tracking-[-0.02em]";
|
|
69
|
+
};
|
|
70
|
+
readonly inherit: {};
|
|
71
|
+
readonly label: {
|
|
72
|
+
readonly root: "font-sans text-xs/4 font-medium";
|
|
73
|
+
};
|
|
74
|
+
readonly title: {
|
|
75
|
+
readonly root: "font-sans text-base/6 font-semibold";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
21
80
|
tabs: {
|
|
22
81
|
readonly slots: {
|
|
23
82
|
readonly content: "w-full";
|
|
24
83
|
readonly icon: "size-4 shrink-0";
|
|
25
|
-
readonly
|
|
84
|
+
readonly indicator: "pointer-events-none absolute left-0 z-0 w-(--vuno-tabs-indicator-width) translate-x-(--vuno-tabs-indicator-start) opacity-0 transition-[width,translate,opacity] duration-200 ease-out motion-reduce:transition-none data-[ready=true]:opacity-100";
|
|
85
|
+
readonly list: "relative flex w-fit max-w-full items-center overflow-x-auto overscroll-x-contain [scrollbar-width:none] [&::-webkit-scrollbar]:hidden";
|
|
26
86
|
readonly root: "flex w-full flex-col";
|
|
27
|
-
readonly trigger: "-
|
|
87
|
+
readonly trigger: "relative z-1 flex shrink-0 cursor-pointer items-center gap-1.5 font-medium 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)";
|
|
28
88
|
};
|
|
29
89
|
readonly variants: {
|
|
30
90
|
readonly size: {
|
|
@@ -44,36 +104,49 @@ export declare const defaultTheme: {
|
|
|
44
104
|
readonly trigger: "text-base";
|
|
45
105
|
};
|
|
46
106
|
};
|
|
107
|
+
readonly variant: {
|
|
108
|
+
readonly segmented: {
|
|
109
|
+
readonly indicator: "inset-y-0.5 rounded-md bg-vuno-surface-2 ring-1 ring-vuno-border";
|
|
110
|
+
readonly list: "rounded-lg border border-vuno-border bg-vuno-surface-1 p-0.5";
|
|
111
|
+
readonly trigger: "rounded-md px-2.5 py-1.5 text-vuno-muted data-[state=active]:text-vuno-body";
|
|
112
|
+
};
|
|
113
|
+
readonly underline: {
|
|
114
|
+
readonly indicator: "bottom-0 h-0.5 bg-vuno-primary";
|
|
115
|
+
readonly list: "gap-1 border-b border-vuno-border";
|
|
116
|
+
readonly trigger: "-mb-px border-b-2 border-transparent px-3 py-2 text-vuno-muted data-[state=active]:font-semibold data-[state=active]:text-vuno-body";
|
|
117
|
+
};
|
|
118
|
+
};
|
|
47
119
|
};
|
|
48
120
|
};
|
|
49
121
|
table: {
|
|
50
122
|
readonly slots: {
|
|
51
|
-
readonly
|
|
52
|
-
readonly emptyCell: "px-4 py-6";
|
|
53
|
-
readonly filtersBody: "flex flex-col gap-4";
|
|
54
|
-
readonly filtersFooter: "flex items-center justify-between gap-2";
|
|
55
|
-
readonly footer: "flex flex-wrap items-center justify-between gap-4 px-1";
|
|
123
|
+
readonly caption: "px-4 py-3 text-start text-sm font-semibold text-vuno-strong";
|
|
124
|
+
readonly emptyCell: "px-4 py-6 text-center text-sm text-vuno-muted";
|
|
56
125
|
readonly headRow: "border-b border-vuno-border";
|
|
57
|
-
readonly
|
|
58
|
-
readonly pageSizeControl: "w-auto";
|
|
59
|
-
readonly pageSizeSelect: "cursor-pointer bg-transparent py-1 pr-1 outline-none";
|
|
60
|
-
readonly root: "flex w-full flex-col gap-4";
|
|
61
|
-
readonly search: "w-full sm:max-w-xs";
|
|
126
|
+
readonly interactiveRow: "cursor-pointer focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-vuno-primary";
|
|
62
127
|
readonly selectCell: "w-0";
|
|
63
|
-
readonly selection: "flex items-center justify-between gap-2 rounded-sm bg-vuno-primary/10 px-3 py-2 text-sm";
|
|
64
|
-
readonly skip: "sr-only rounded-sm bg-vuno-surface text-vuno-body focus:not-sr-only focus:outline-vuno-primary focus:z-10 focus:inline-block focus:px-3 focus:py-1.5 focus:text-sm focus:outline-2 focus:outline-offset-2";
|
|
65
128
|
readonly sortButton: "-mx-2";
|
|
129
|
+
readonly stickyColumn: "sticky z-10 bg-vuno-surface after:pointer-events-none after:absolute after:inset-y-0 after:w-6 group-hover/row:bg-vuno-surface-1 group-data-[selected=true]/row:bg-[color-mix(in_oklch,var(--color-vuno-primary)_10%,var(--color-vuno-surface))]";
|
|
130
|
+
readonly stickyColumnEnd: "end-0 after:-start-6 after:bg-linear-to-l after:from-vuno-surface after:to-transparent group-hover/row:after:from-vuno-surface-1 group-data-[selected=true]/row:after:from-[color-mix(in_oklch,var(--color-vuno-primary)_10%,var(--color-vuno-surface))]";
|
|
131
|
+
readonly stickyColumnStart: "start-0 after:-end-6 after:bg-linear-to-r after:from-vuno-surface after:to-transparent group-hover/row:after:from-vuno-surface-1 group-data-[selected=true]/row:after:from-[color-mix(in_oklch,var(--color-vuno-primary)_10%,var(--color-vuno-surface))]";
|
|
132
|
+
readonly stickyHeader: "sticky top-0 z-20 bg-vuno-surface";
|
|
133
|
+
readonly stickyIntersection: "z-30";
|
|
66
134
|
readonly table: "min-w-full";
|
|
67
|
-
readonly tableRoot: "relative overflow-auto rounded-sm border border-vuno-border";
|
|
135
|
+
readonly tableRoot: "relative isolate overflow-auto rounded-sm border border-vuno-border";
|
|
68
136
|
readonly tbody: "[&>tr]:transition-colors [&>tr]:hover:bg-vuno-surface-1";
|
|
69
137
|
readonly td: "p-4 text-sm whitespace-nowrap text-vuno-muted";
|
|
70
138
|
readonly th: "px-4 py-3.5 text-start text-sm font-semibold text-vuno-strong";
|
|
71
139
|
readonly thead: "";
|
|
72
|
-
readonly
|
|
73
|
-
readonly toolbarActions: "flex items-center gap-2";
|
|
74
|
-
readonly tr: "border-b border-vuno-border transition-colors last:border-b-0 hover:bg-vuno-surface-1 data-[selected=true]:bg-vuno-primary/10";
|
|
140
|
+
readonly tr: "group/row border-b border-vuno-border transition-colors last:border-b-0 hover:bg-vuno-surface-1 data-[selected=true]:bg-vuno-primary/10";
|
|
75
141
|
};
|
|
76
142
|
readonly variants: {
|
|
143
|
+
readonly density: {
|
|
144
|
+
readonly compact: {
|
|
145
|
+
readonly td: "px-3 py-2 text-xs";
|
|
146
|
+
readonly th: "px-3 py-2 text-xs";
|
|
147
|
+
};
|
|
148
|
+
readonly default: {};
|
|
149
|
+
};
|
|
77
150
|
readonly radius: Record<import("../types/base.js").VunoRadius, Record<"tableRoot", string>>;
|
|
78
151
|
};
|
|
79
152
|
};
|
|
@@ -182,33 +255,6 @@ export declare const defaultTheme: {
|
|
|
182
255
|
readonly root: "flex items-center";
|
|
183
256
|
};
|
|
184
257
|
};
|
|
185
|
-
page: {
|
|
186
|
-
readonly slots: {
|
|
187
|
-
readonly body: "flex w-full flex-col gap-7 px-4 py-6 sm:px-6 sm:py-8 lg:p-10";
|
|
188
|
-
readonly breadcrumb: "hidden min-w-0 sm:block";
|
|
189
|
-
readonly breadcrumbCurrent: "truncate text-sm font-semibold text-vuno-strong";
|
|
190
|
-
readonly breadcrumbItem: "flex min-w-0 items-center gap-1.5";
|
|
191
|
-
readonly breadcrumbLink: "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)";
|
|
192
|
-
readonly breadcrumbList: "flex items-center gap-1.5";
|
|
193
|
-
readonly breadcrumbSeparator: "size-4 shrink-0 text-vuno-subtle";
|
|
194
|
-
readonly description: "max-w-prose text-sm text-vuno-muted";
|
|
195
|
-
readonly heading: "flex flex-col gap-2";
|
|
196
|
-
readonly navbar: "flex h-14 shrink-0 items-center justify-between gap-3 border-b border-vuno-border bg-vuno-surface/90 px-4 backdrop-blur-xl sm:px-6";
|
|
197
|
-
readonly navbarLeft: "flex min-w-0 items-center gap-1";
|
|
198
|
-
readonly navbarRight: "flex shrink-0 items-center gap-2";
|
|
199
|
-
readonly panel: "min-h-0 flex-1 overflow-y-auto";
|
|
200
|
-
readonly root: "flex min-h-0 w-full flex-1 flex-col";
|
|
201
|
-
readonly title: "text-2xl font-bold tracking-tight text-vuno-strong sm:text-3xl";
|
|
202
|
-
};
|
|
203
|
-
readonly variants: {
|
|
204
|
-
readonly mobileNavbar: {
|
|
205
|
-
readonly false: {
|
|
206
|
-
readonly navbar: "hidden sm:flex";
|
|
207
|
-
};
|
|
208
|
-
readonly true: {};
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
258
|
navigationToc: {
|
|
213
259
|
readonly slots: {
|
|
214
260
|
readonly link: "block border-s border-vuno-border py-2 ps-3 text-sm/snug text-vuno-muted transition-colors hover:text-vuno-body focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-vuno-primary aria-[current=location]:border-vuno-primary aria-[current=location]:font-medium aria-[current=location]:text-vuno-primary";
|
|
@@ -285,41 +331,45 @@ export declare const defaultTheme: {
|
|
|
285
331
|
readonly size: "full";
|
|
286
332
|
}];
|
|
287
333
|
readonly slots: {
|
|
288
|
-
readonly body: "flex-1 overflow-y-auto p-4
|
|
289
|
-
readonly
|
|
334
|
+
readonly body: "min-h-0 flex-1 overflow-y-auto p-4 pt-0";
|
|
335
|
+
readonly bodyStandalone: "pt-4";
|
|
336
|
+
readonly close: "-me-2 -mt-2 shrink-0";
|
|
337
|
+
readonly content: "flex max-h-[calc(85dvh-0.75rem)] min-h-0 flex-col sm:max-h-[calc(100dvh-3.75rem)]";
|
|
290
338
|
readonly description: "mt-1 text-sm text-vuno-muted";
|
|
291
|
-
readonly footer: "flex items-center justify-end gap-2
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
339
|
+
readonly footer: "flex shrink-0 items-center justify-end gap-2 pt-1.5";
|
|
340
|
+
readonly frame: "flex min-h-0 flex-1 flex-col overflow-hidden rounded-lg bg-vuno-surface ring ring-vuno-border";
|
|
341
|
+
readonly header: "flex shrink-0 items-start justify-between gap-4 p-4";
|
|
342
|
+
readonly heading: "flex min-w-0 flex-col";
|
|
343
|
+
readonly root: "m-auto mb-0 max-h-[85dvh] w-dvw max-w-none overflow-hidden rounded-none border-0 bg-vuno-surface-1 p-1.5 text-vuno-body shadow-lg ring-0 sm:mb-auto sm:max-h-[calc(100dvh-3rem)] sm:w-[calc(100dvw-2rem)] sm:max-w-lg sm:rounded-sm sm:ring sm:ring-vuno-border";
|
|
294
344
|
readonly title: "font-semibold text-vuno-strong";
|
|
295
345
|
};
|
|
296
346
|
readonly variants: {
|
|
297
347
|
readonly radius: Record<import("../types/base.js").VunoRadius, Record<"root", string>>;
|
|
298
348
|
readonly size: {
|
|
299
349
|
readonly sm: {
|
|
300
|
-
readonly root: "max-w-sm";
|
|
350
|
+
readonly root: "sm:max-w-sm";
|
|
301
351
|
};
|
|
302
352
|
readonly md: {
|
|
303
|
-
readonly root: "max-w-md";
|
|
353
|
+
readonly root: "sm:max-w-md";
|
|
304
354
|
};
|
|
305
355
|
readonly lg: {
|
|
306
|
-
readonly root: "max-w-lg";
|
|
356
|
+
readonly root: "sm:max-w-lg";
|
|
307
357
|
};
|
|
308
358
|
readonly xl: {
|
|
309
|
-
readonly root: "max-w-xl";
|
|
359
|
+
readonly root: "sm:max-w-xl";
|
|
310
360
|
};
|
|
311
361
|
readonly '2xl': {
|
|
312
|
-
readonly root: "max-w-2xl";
|
|
362
|
+
readonly root: "sm:max-w-2xl";
|
|
313
363
|
};
|
|
314
364
|
readonly '3xl': {
|
|
315
|
-
readonly root: "max-w-3xl";
|
|
365
|
+
readonly root: "sm:max-w-3xl";
|
|
316
366
|
};
|
|
317
367
|
readonly '4xl': {
|
|
318
|
-
readonly root: "max-w-4xl";
|
|
368
|
+
readonly root: "sm:max-w-4xl";
|
|
319
369
|
};
|
|
320
370
|
readonly full: {
|
|
321
|
-
readonly content: "h-
|
|
322
|
-
readonly root: "m-0 h-dvh max-h-dvh w-dvw max-w-none shadow-none ring-0";
|
|
371
|
+
readonly content: "h-[calc(100dvh-0.75rem)] max-h-[calc(100dvh-0.75rem)]";
|
|
372
|
+
readonly root: "m-0 h-dvh max-h-dvh w-dvw max-w-none shadow-none ring-0 sm:rounded-none";
|
|
323
373
|
};
|
|
324
374
|
};
|
|
325
375
|
};
|
|
@@ -337,7 +387,10 @@ export declare const defaultTheme: {
|
|
|
337
387
|
};
|
|
338
388
|
numberInput: {
|
|
339
389
|
readonly slots: {
|
|
390
|
+
readonly actions: "";
|
|
340
391
|
readonly base: "w-full min-w-0 bg-transparent text-right tabular-nums outline-none placeholder:text-vuno-subtle disabled:cursor-not-allowed";
|
|
392
|
+
readonly stepper: "";
|
|
393
|
+
readonly stepperIcon: "";
|
|
341
394
|
};
|
|
342
395
|
readonly variants: {
|
|
343
396
|
readonly orientation: {
|
|
@@ -742,6 +795,7 @@ export declare const defaultTheme: {
|
|
|
742
795
|
readonly dropzoneDisabled: "cursor-not-allowed opacity-50";
|
|
743
796
|
readonly fileIcon: "shrink-0 text-vuno-muted";
|
|
744
797
|
readonly hint: "leading-snug";
|
|
798
|
+
readonly icon: "";
|
|
745
799
|
readonly item: "flex items-center gap-2 rounded-sm border border-vuno-border bg-vuno-surface p-1.5";
|
|
746
800
|
readonly itemAction: "rounded-sm";
|
|
747
801
|
readonly list: "flex w-full flex-col gap-1.5";
|
|
@@ -891,6 +945,23 @@ export declare const defaultTheme: {
|
|
|
891
945
|
readonly root: "flex w-full flex-col gap-3";
|
|
892
946
|
};
|
|
893
947
|
};
|
|
948
|
+
dataTable: {
|
|
949
|
+
readonly slots: {
|
|
950
|
+
readonly chips: "flex flex-wrap items-center gap-2";
|
|
951
|
+
readonly filtersBody: "flex flex-col gap-4";
|
|
952
|
+
readonly filtersFooter: "flex items-center justify-between gap-2";
|
|
953
|
+
readonly footer: "flex flex-wrap items-center justify-between gap-4 px-1";
|
|
954
|
+
readonly meta: "flex items-center gap-2 text-sm text-vuno-muted";
|
|
955
|
+
readonly pageSizeControl: "w-auto";
|
|
956
|
+
readonly pageSizeSelect: "cursor-pointer bg-transparent py-1 pr-1 outline-none";
|
|
957
|
+
readonly root: "flex w-full flex-col gap-4";
|
|
958
|
+
readonly search: "w-full sm:max-w-xs";
|
|
959
|
+
readonly selection: "flex items-center justify-between gap-2 rounded-sm bg-vuno-primary/10 px-3 py-2 text-sm";
|
|
960
|
+
readonly skip: "sr-only rounded-sm bg-vuno-surface text-vuno-body focus:not-sr-only focus:outline-vuno-primary focus:z-10 focus:inline-block focus:px-3 focus:py-1.5 focus:text-sm focus:outline-2 focus:outline-offset-2";
|
|
961
|
+
readonly toolbar: "flex flex-wrap items-center justify-between gap-2";
|
|
962
|
+
readonly toolbarActions: "flex items-center gap-2";
|
|
963
|
+
};
|
|
964
|
+
};
|
|
894
965
|
controlGroup: {
|
|
895
966
|
readonly slots: {
|
|
896
967
|
readonly root: "relative inline-flex";
|
|
@@ -967,9 +1038,15 @@ export declare const defaultTheme: {
|
|
|
967
1038
|
readonly color: Record<import("../types/base.js").VunoColor, Record<"icon", string>>;
|
|
968
1039
|
};
|
|
969
1040
|
};
|
|
1041
|
+
collapsible: {
|
|
1042
|
+
readonly slots: {
|
|
1043
|
+
readonly content: "min-w-0";
|
|
1044
|
+
readonly root: "relative";
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
970
1047
|
code: {
|
|
971
1048
|
readonly slots: {
|
|
972
|
-
readonly copy: "absolute inset-e-2 top-1 opacity-0 transition-opacity group-hover:opacity-100 focus-visible:opacity-100 max-sm:top-0 max-sm:size-11 max-sm:opacity-100 pointer-coarse:top-0 pointer-coarse:size-11 pointer-coarse:opacity-100";
|
|
1049
|
+
readonly copy: "!absolute inset-e-2 top-1 opacity-0 transition-opacity group-hover:opacity-100 focus-visible:opacity-100 max-sm:top-0 max-sm:size-11 max-sm:opacity-100 pointer-coarse:top-0 pointer-coarse:size-11 pointer-coarse:opacity-100";
|
|
973
1050
|
readonly copyError: "border-t border-vuno-error/25 bg-vuno-error/10 px-4 py-2 text-xs text-vuno-error";
|
|
974
1051
|
readonly fallback: "text-vuno-body";
|
|
975
1052
|
readonly header: "flex items-center gap-2 border-b border-vuno-border/70 px-4 py-2 font-mono text-xs text-vuno-muted";
|
|
@@ -982,25 +1059,69 @@ export declare const defaultTheme: {
|
|
|
982
1059
|
readonly slots: {
|
|
983
1060
|
readonly body: "p-4 text-vuno-body";
|
|
984
1061
|
readonly footer: "p-4";
|
|
985
|
-
readonly header: "p-4 font-semibold text-vuno-
|
|
986
|
-
readonly
|
|
1062
|
+
readonly header: "flex items-center gap-2 p-4 font-semibold text-(--vuno-accent)";
|
|
1063
|
+
readonly primary: "relative flex min-h-0 flex-col divide-y divide-vuno-border overflow-hidden rounded-3xl border border-transparent";
|
|
1064
|
+
readonly root: "flex w-full flex-col rounded-4xl border border-transparent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--vuno-accent)";
|
|
987
1065
|
};
|
|
988
1066
|
readonly variants: {
|
|
989
|
-
readonly
|
|
1067
|
+
readonly color: Record<import("../types/base.js").VunoColor, Record<"root", string>>;
|
|
1068
|
+
readonly radius: {
|
|
1069
|
+
xs: {
|
|
1070
|
+
primary: string;
|
|
1071
|
+
root: string;
|
|
1072
|
+
};
|
|
1073
|
+
sm: {
|
|
1074
|
+
primary: string;
|
|
1075
|
+
root: string;
|
|
1076
|
+
};
|
|
1077
|
+
md: {
|
|
1078
|
+
primary: string;
|
|
1079
|
+
root: string;
|
|
1080
|
+
};
|
|
1081
|
+
lg: {
|
|
1082
|
+
primary: string;
|
|
1083
|
+
root: string;
|
|
1084
|
+
};
|
|
1085
|
+
xl: {
|
|
1086
|
+
primary: string;
|
|
1087
|
+
root: string;
|
|
1088
|
+
};
|
|
1089
|
+
'2xl': {
|
|
1090
|
+
primary: string;
|
|
1091
|
+
root: string;
|
|
1092
|
+
};
|
|
1093
|
+
'3xl': {
|
|
1094
|
+
primary: string;
|
|
1095
|
+
root: string;
|
|
1096
|
+
};
|
|
1097
|
+
'4xl': {
|
|
1098
|
+
primary: string;
|
|
1099
|
+
root: string;
|
|
1100
|
+
};
|
|
1101
|
+
none: {
|
|
1102
|
+
primary: string;
|
|
1103
|
+
root: string;
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
990
1106
|
readonly variant: {
|
|
991
1107
|
readonly outline: {
|
|
992
|
-
readonly
|
|
1108
|
+
readonly header: "px-4 py-2";
|
|
1109
|
+
readonly primary: "border-(--vuno-accent)/20 bg-vuno-surface";
|
|
1110
|
+
readonly root: "gap-2 overflow-hidden border-(--vuno-accent)/20 bg-(--vuno-accent)/10 p-2";
|
|
993
1111
|
};
|
|
994
|
-
readonly plain: {};
|
|
995
1112
|
readonly soft: {
|
|
996
|
-
readonly
|
|
1113
|
+
readonly header: "px-4 py-2";
|
|
1114
|
+
readonly primary: "bg-vuno-surface-1";
|
|
1115
|
+
readonly root: "gap-2 overflow-hidden bg-(--vuno-accent)/10 p-2";
|
|
997
1116
|
};
|
|
998
1117
|
};
|
|
999
1118
|
};
|
|
1000
1119
|
};
|
|
1001
1120
|
button: {
|
|
1002
1121
|
readonly slots: {
|
|
1003
|
-
readonly base: "inline-flex shrink-0 cursor-pointer items-center justify-center rounded-
|
|
1122
|
+
readonly base: "group relative inline-flex shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-lg font-medium shadow-xs ring-1 ring-inset focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-vuno-focus disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 pointer-coarse:min-h-11 pointer-coarse:min-w-11";
|
|
1123
|
+
readonly content: "relative inline-flex items-center justify-center gap-(--vuno-button-gap)";
|
|
1124
|
+
readonly emphasis: "pointer-events-none absolute inset-0 rounded-[inherit] bg-linear-to-b from-(--vuno-button-emphasis-start) to-(--vuno-button-emphasis) shadow-[inset_0_1px_0_0_var(--vuno-button-emphasis-highlight)] group-hover:from-(--vuno-button-emphasis-hover)";
|
|
1004
1125
|
readonly icon: "shrink-0";
|
|
1005
1126
|
readonly label: "inline-flex items-center";
|
|
1006
1127
|
readonly spinner: "shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent";
|
|
@@ -1017,51 +1138,87 @@ export declare const defaultTheme: {
|
|
|
1017
1138
|
};
|
|
1018
1139
|
readonly radius: Record<import("../types/base.js").VunoRadius, Record<"base", string>>;
|
|
1019
1140
|
readonly shape: {
|
|
1141
|
+
readonly base: {};
|
|
1142
|
+
readonly circle: {
|
|
1143
|
+
readonly base: "w-(--vuno-button-size) rounded-full px-0";
|
|
1144
|
+
};
|
|
1020
1145
|
readonly square: {
|
|
1021
1146
|
readonly base: "w-(--vuno-button-size) px-0";
|
|
1022
1147
|
};
|
|
1023
1148
|
};
|
|
1024
1149
|
readonly size: {
|
|
1025
1150
|
readonly xs: {
|
|
1026
|
-
readonly base: "h-(--vuno-button-size)
|
|
1027
|
-
readonly icon: "size-3
|
|
1151
|
+
readonly base: "h-(--vuno-button-size) px-1.5 text-xs [--vuno-button-gap:0.25rem] [--vuno-button-size:1.25rem]";
|
|
1152
|
+
readonly icon: "size-3";
|
|
1028
1153
|
};
|
|
1029
1154
|
readonly sm: {
|
|
1030
|
-
readonly base: "h-(--vuno-button-size)
|
|
1031
|
-
readonly icon: "size-
|
|
1155
|
+
readonly base: "h-(--vuno-button-size) px-2 text-xs [--vuno-button-gap:0.25rem] [--vuno-button-size:1.625rem]";
|
|
1156
|
+
readonly icon: "size-3.5";
|
|
1032
1157
|
};
|
|
1033
1158
|
readonly md: {
|
|
1034
|
-
readonly base: "h-(--vuno-button-size)
|
|
1159
|
+
readonly base: "h-(--vuno-button-size) px-3 text-sm [--vuno-button-gap:0.375rem] [--vuno-button-size:2.25rem]";
|
|
1035
1160
|
readonly icon: "size-4";
|
|
1036
1161
|
};
|
|
1037
1162
|
readonly lg: {
|
|
1038
|
-
readonly base: "h-(--vuno-button-size)
|
|
1163
|
+
readonly base: "h-(--vuno-button-size) px-4 text-sm [--vuno-button-gap:0.5rem] [--vuno-button-size:2.5rem]";
|
|
1039
1164
|
readonly icon: "size-5";
|
|
1040
1165
|
};
|
|
1041
1166
|
readonly xl: {
|
|
1042
|
-
readonly base: "h-(--vuno-button-size)
|
|
1167
|
+
readonly base: "h-(--vuno-button-size) px-4 text-base [--vuno-button-gap:0.5rem] [--vuno-button-size:2.75rem]";
|
|
1043
1168
|
readonly icon: "size-5";
|
|
1044
1169
|
};
|
|
1045
1170
|
};
|
|
1046
1171
|
readonly variant: {
|
|
1172
|
+
readonly destructive: {
|
|
1173
|
+
readonly base: "bg-vuno-danger-solid text-vuno-danger-solid-contrast ring-vuno-danger-solid hover:bg-vuno-danger-solid-hover";
|
|
1174
|
+
};
|
|
1175
|
+
readonly 'destructive-subtle': {
|
|
1176
|
+
readonly base: "bg-vuno-control text-vuno-error ring-vuno-line hover:bg-vuno-tint hover:ring-vuno-error/30";
|
|
1177
|
+
};
|
|
1047
1178
|
readonly ghost: {
|
|
1048
|
-
readonly base: "text-
|
|
1179
|
+
readonly base: "bg-transparent text-vuno-body shadow-none ring-transparent hover:bg-vuno-tint hover:text-vuno-strong";
|
|
1049
1180
|
};
|
|
1050
1181
|
readonly link: {
|
|
1051
|
-
readonly base: "text-(--vuno-accent) hover:underline";
|
|
1182
|
+
readonly base: "bg-transparent text-(--vuno-accent) shadow-none ring-transparent hover:underline";
|
|
1052
1183
|
};
|
|
1053
1184
|
readonly outline: {
|
|
1054
|
-
readonly base: "
|
|
1185
|
+
readonly base: "bg-transparent text-vuno-body shadow-none ring-vuno-line hover:bg-vuno-tint hover:text-vuno-strong";
|
|
1186
|
+
};
|
|
1187
|
+
readonly primary: {
|
|
1188
|
+
readonly base: "bg-vuno-brand text-vuno-brand-contrast ring-vuno-brand hover:bg-vuno-brand-hover";
|
|
1189
|
+
};
|
|
1190
|
+
readonly secondary: {
|
|
1191
|
+
readonly base: "bg-vuno-control text-vuno-body ring-vuno-line hover:bg-vuno-tint hover:text-vuno-strong";
|
|
1055
1192
|
};
|
|
1056
1193
|
readonly soft: {
|
|
1057
|
-
readonly base: "bg-(--vuno-accent)/10 text-(--vuno-accent) hover:bg-(--vuno-accent)/20";
|
|
1194
|
+
readonly base: "bg-(--vuno-accent)/10 text-(--vuno-accent) ring-transparent hover:bg-(--vuno-accent)/20";
|
|
1058
1195
|
};
|
|
1059
1196
|
readonly solid: {
|
|
1060
|
-
readonly base: "bg-(--vuno-accent) text-(--vuno-accent-contrast) hover:
|
|
1197
|
+
readonly base: "bg-(--vuno-accent) text-(--vuno-accent-contrast) ring-(--vuno-accent) [--vuno-button-emphasis:var(--vuno-accent)] [--vuno-button-emphasis-highlight:color-mix(in_oklch,var(--vuno-accent),white_30%)] [--vuno-button-emphasis-hover:var(--vuno-accent)] [--vuno-button-emphasis-start:color-mix(in_oklch,var(--vuno-accent),white_15%)]";
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
readonly variantAccent: {
|
|
1201
|
+
readonly on: {
|
|
1202
|
+
readonly base: "text-(--vuno-accent) ring-(--vuno-accent) hover:bg-(--vuno-accent)/10 hover:text-(--vuno-accent)";
|
|
1061
1203
|
};
|
|
1062
1204
|
};
|
|
1063
1205
|
};
|
|
1064
1206
|
};
|
|
1207
|
+
breadcrumb: {
|
|
1208
|
+
readonly slots: {
|
|
1209
|
+
readonly collapsedItem: "hidden sm:flex";
|
|
1210
|
+
readonly collapseIndicator: "shrink-0 text-sm font-medium text-vuno-muted sm:hidden";
|
|
1211
|
+
readonly current: "flex min-w-0 items-center gap-1.5 truncate text-sm font-semibold text-vuno-strong";
|
|
1212
|
+
readonly icon: "size-4 shrink-0";
|
|
1213
|
+
readonly item: "flex min-w-0 items-center gap-1.5";
|
|
1214
|
+
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)";
|
|
1215
|
+
readonly list: "flex min-w-0 items-center gap-1.5 whitespace-nowrap";
|
|
1216
|
+
readonly root: "min-w-0";
|
|
1217
|
+
readonly separator: "size-4 shrink-0 text-vuno-subtle rtl:rotate-180";
|
|
1218
|
+
readonly skeleton: "h-4 w-24 max-w-[35vw] animate-pulse rounded-full bg-vuno-surface-2 motion-reduce:animate-none";
|
|
1219
|
+
readonly text: "flex min-w-0 items-center gap-1.5 truncate text-sm font-medium text-vuno-muted";
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1065
1222
|
badge: {
|
|
1066
1223
|
readonly slots: {
|
|
1067
1224
|
readonly base: "inline-flex shrink-0 items-center rounded-sm font-medium";
|
|
@@ -1135,18 +1292,18 @@ export declare const defaultTheme: {
|
|
|
1135
1292
|
readonly item: "pointer-events-auto";
|
|
1136
1293
|
readonly leaveActive: "absolute inset-x-0 transition duration-150 ease-in";
|
|
1137
1294
|
readonly leaveTo: "translate-x-4 opacity-0";
|
|
1138
|
-
readonly list: "flex flex-col gap-
|
|
1295
|
+
readonly list: "flex flex-col gap-3";
|
|
1139
1296
|
readonly move: "transition-transform duration-200 ease-out";
|
|
1140
|
-
readonly root: "pointer-events-none fixed inset-x-4
|
|
1297
|
+
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";
|
|
1141
1298
|
};
|
|
1142
1299
|
};
|
|
1143
1300
|
toast: {
|
|
1144
1301
|
readonly slots: {
|
|
1145
|
-
readonly
|
|
1146
|
-
readonly
|
|
1147
|
-
readonly
|
|
1148
|
-
readonly
|
|
1149
|
-
readonly
|
|
1302
|
+
readonly actions: "absolute top-2 right-2";
|
|
1303
|
+
readonly close: "rounded text-(--vuno-accent) shadow-none ring-transparent hover:bg-(--vuno-accent)/15 hover:text-(--vuno-accent)";
|
|
1304
|
+
readonly content: "pr-5";
|
|
1305
|
+
readonly description: "text-vuno-muted";
|
|
1306
|
+
readonly root: "relative rounded-xl p-4 shadow-lg ring ring-(--vuno-accent)/25";
|
|
1150
1307
|
};
|
|
1151
1308
|
readonly variants: {
|
|
1152
1309
|
readonly color: Record<import("../types/base.js").VunoColor, Record<"root", string>>;
|
|
@@ -1154,12 +1311,13 @@ export declare const defaultTheme: {
|
|
|
1154
1311
|
};
|
|
1155
1312
|
alert: {
|
|
1156
1313
|
readonly slots: {
|
|
1157
|
-
readonly actions: "
|
|
1158
|
-
readonly body: "min-w-0 flex-1";
|
|
1159
|
-
readonly
|
|
1160
|
-
readonly
|
|
1161
|
-
readonly
|
|
1162
|
-
readonly
|
|
1314
|
+
readonly actions: "flex shrink-0 flex-wrap items-center gap-2 empty:hidden";
|
|
1315
|
+
readonly body: "flex min-w-0 flex-1 flex-wrap items-center justify-between gap-3";
|
|
1316
|
+
readonly content: "flex min-w-0 flex-1 flex-col gap-0.5";
|
|
1317
|
+
readonly description: "text-sm leading-snug text-(--vuno-accent)";
|
|
1318
|
+
readonly icon: "mt-0.5 size-4 shrink-0 text-(--vuno-accent)";
|
|
1319
|
+
readonly root: "flex w-full items-start gap-3 rounded-lg bg-(--vuno-accent)/10 px-4 py-3";
|
|
1320
|
+
readonly title: "text-sm leading-snug font-medium text-(--vuno-accent)";
|
|
1163
1321
|
};
|
|
1164
1322
|
readonly variants: {
|
|
1165
1323
|
readonly color: Record<import("../types/base.js").VunoColor, Record<"root", string>>;
|
|
@@ -3,12 +3,15 @@ import { toastTheme } from "#vuno/components/App/internal/Toast/Toast.theme";
|
|
|
3
3
|
import { toasterTheme } from "#vuno/components/App/internal/Toaster/Toaster.theme";
|
|
4
4
|
import { avatarTheme } from "#vuno/components/Avatar/Avatar.theme";
|
|
5
5
|
import { badgeTheme } from "#vuno/components/Badge/Badge.theme";
|
|
6
|
+
import { breadcrumbTheme } from "#vuno/components/Breadcrumb/Breadcrumb.theme";
|
|
6
7
|
import { buttonTheme } from "#vuno/components/Button/Button.theme";
|
|
7
8
|
import { cardTheme } from "#vuno/components/Card/Card.theme";
|
|
8
9
|
import { codeTheme } from "#vuno/components/Code/Code.theme";
|
|
10
|
+
import { collapsibleTheme } from "#vuno/components/Collapsible/Collapsible.theme";
|
|
9
11
|
import { confirmTheme } from "#vuno/components/Confirm/Confirm.theme";
|
|
10
12
|
import { containerTheme } from "#vuno/components/Container/Container.theme";
|
|
11
13
|
import { controlGroupTheme } from "#vuno/components/ControlGroup/ControlGroup.theme";
|
|
14
|
+
import { dataTableTheme } from "#vuno/components/DataTable/DataTable.theme";
|
|
12
15
|
import { fieldArrayTheme } from "#vuno/components/FieldArray/FieldArray.theme";
|
|
13
16
|
import { fieldCheckboxTheme } from "#vuno/components/FieldCheckbox/FieldCheckbox.theme";
|
|
14
17
|
import { checkboxTheme } from "#vuno/components/FieldCheckbox/internal/Checkbox/Checkbox.theme";
|
|
@@ -35,16 +38,12 @@ import { formTheme } from "#vuno/components/Form/Form.theme";
|
|
|
35
38
|
import { formFieldTheme } from "#vuno/components/FormField/FormField.theme";
|
|
36
39
|
import { formModalTheme } from "#vuno/components/FormModal/FormModal.theme";
|
|
37
40
|
import { formSectionTheme } from "#vuno/components/FormSection/FormSection.theme";
|
|
38
|
-
import { controlTheme } from "#vuno/components/internal/ControlShell/ControlShell.theme";
|
|
39
|
-
import { inputTheme } from "#vuno/components/internal/Input/Input.theme";
|
|
40
|
-
import { numberInputTheme } from "#vuno/components/internal/NumberInput/NumberInput.theme";
|
|
41
41
|
import { menuTheme } from "#vuno/components/Menu/Menu.theme";
|
|
42
42
|
import { modalTheme } from "#vuno/components/Modal/Modal.theme";
|
|
43
43
|
import { navbarTheme } from "#vuno/components/Navbar/Navbar.theme";
|
|
44
44
|
import { navigationListTheme } from "#vuno/components/NavigationList/NavigationList.theme";
|
|
45
45
|
import { navigationMenuTheme } from "#vuno/components/NavigationMenu/NavigationMenu.theme";
|
|
46
46
|
import { navigationTocTheme } from "#vuno/components/NavigationToc/NavigationToc.theme";
|
|
47
|
-
import { pageTheme } from "#vuno/components/Page/Page.theme";
|
|
48
47
|
import { paginationTheme } from "#vuno/components/Pagination/Pagination.theme";
|
|
49
48
|
import { slideoverTheme } from "#vuno/components/Slideover/Slideover.theme";
|
|
50
49
|
import { stateTheme } from "#vuno/components/State/State.theme";
|
|
@@ -55,7 +54,12 @@ import { cellNumberTheme } from "#vuno/components/Table/internal/CellNumber/Cell
|
|
|
55
54
|
import { cellTextTheme } from "#vuno/components/Table/internal/CellText/CellText.theme";
|
|
56
55
|
import { tableTheme } from "#vuno/components/Table/Table.theme";
|
|
57
56
|
import { tabsTheme } from "#vuno/components/Tabs/Tabs.theme";
|
|
57
|
+
import { textTheme } from "#vuno/components/Text/Text.theme";
|
|
58
|
+
import { toolbarTheme } from "#vuno/components/Toolbar/Toolbar.theme";
|
|
58
59
|
import { tooltipTheme } from "#vuno/components/Tooltip/Tooltip.theme";
|
|
60
|
+
import { controlTheme } from "#vuno/primitives/PrimitiveControl/PrimitiveControl.theme";
|
|
61
|
+
import { inputTheme } from "#vuno/primitives/PrimitiveInput/PrimitiveInput.theme";
|
|
62
|
+
import { numberInputTheme } from "#vuno/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme";
|
|
59
63
|
export { defaultIcons } from "./icons.js";
|
|
60
64
|
export { defaultMessages } from "./messages.js";
|
|
61
65
|
export const defaultTheme = {
|
|
@@ -64,12 +68,15 @@ export const defaultTheme = {
|
|
|
64
68
|
...toasterTheme,
|
|
65
69
|
...avatarTheme,
|
|
66
70
|
...badgeTheme,
|
|
71
|
+
...breadcrumbTheme,
|
|
67
72
|
...buttonTheme,
|
|
68
73
|
...cardTheme,
|
|
69
74
|
...codeTheme,
|
|
75
|
+
...collapsibleTheme,
|
|
70
76
|
...confirmTheme,
|
|
71
77
|
...containerTheme,
|
|
72
78
|
...controlGroupTheme,
|
|
79
|
+
...dataTableTheme,
|
|
73
80
|
...fieldArrayTheme,
|
|
74
81
|
...fieldCheckboxTheme,
|
|
75
82
|
...checkboxTheme,
|
|
@@ -105,7 +112,6 @@ export const defaultTheme = {
|
|
|
105
112
|
...navigationListTheme,
|
|
106
113
|
...navigationMenuTheme,
|
|
107
114
|
...navigationTocTheme,
|
|
108
|
-
...pageTheme,
|
|
109
115
|
...paginationTheme,
|
|
110
116
|
...slideoverTheme,
|
|
111
117
|
...stateTheme,
|
|
@@ -116,5 +122,7 @@ export const defaultTheme = {
|
|
|
116
122
|
...cellTextTheme,
|
|
117
123
|
...tableTheme,
|
|
118
124
|
...tabsTheme,
|
|
125
|
+
...textTheme,
|
|
126
|
+
...toolbarTheme,
|
|
119
127
|
...tooltipTheme
|
|
120
128
|
};
|
|
@@ -22,8 +22,9 @@ export declare const accentByColor: <TSlot extends string>(slot: TSlot) => Recor
|
|
|
22
22
|
* dos: el interruptor curva la vía y el pulgar a la vez, y si solo se curvara
|
|
23
23
|
* uno quedaría un pulgar cuadrado dentro de una vía redonda.
|
|
24
24
|
*
|
|
25
|
-
* `
|
|
26
|
-
* de Tailwind, sin mantener tokens de radio paralelos
|
|
25
|
+
* `none` elimina la curvatura y `full` expresa una forma. El resto usa
|
|
26
|
+
* directamente la escala de Tailwind, sin mantener tokens de radio paralelos
|
|
27
|
+
* en Vuno.
|
|
27
28
|
*/
|
|
28
29
|
export declare const radiusByStep: <TSlot extends string>(...slots: TSlot[]) => Record<VunoRadius, Record<TSlot, string>>;
|
|
29
30
|
/**
|