@vueland/ui 0.0.1 → 0.0.3
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/LICENSE +21 -0
- package/README.md +147 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/components/CApp/CApp.js +4 -5
- package/dist/components/CAutocomplete/CAutocomplete.js +200 -91
- package/dist/components/CBtn/CBtn.js +26 -27
- package/dist/components/CCheckbox/CCheckbox.js +40 -58
- package/dist/components/CCheckbox/CheckboxElement.js +96 -0
- package/dist/components/CCheckbox/index2.js +5 -0
- package/dist/components/CChip/CChip.js +13 -0
- package/dist/components/CDateInput/CDateInput.js +245 -0
- package/dist/components/CDateInput/index.js +5 -0
- package/dist/components/CDatePicker/CDatePicker.js +324 -0
- package/dist/components/CDatePicker/CDatePickerDates.js +300 -0
- package/dist/components/CDatePicker/CDatePickerHeader.js +62 -0
- package/dist/components/CDatePicker/CDatePickerMonths.js +114 -0
- package/dist/components/CDatePicker/CDatePickerYears.js +143 -0
- package/dist/components/CDatePicker/helpers.js +17 -0
- package/dist/components/CDatePicker/index.js +14 -0
- package/dist/components/CDatePicker/index2.js +5 -0
- package/dist/components/CDatePicker/index3.js +5 -0
- package/dist/components/CDatePicker/index4.js +5 -0
- package/dist/components/CDatePicker/index5.js +5 -0
- package/dist/components/CDatePicker/index6.js +5 -0
- package/dist/components/CDatePicker/locales/en.json.js +44 -0
- package/dist/components/CDatePicker/locales/index.js +9 -0
- package/dist/components/CDatePicker/locales/ru.json.js +44 -0
- package/dist/components/CDatePicker/utils.js +20 -0
- package/dist/components/CDialog/CDialog.js +2 -4
- package/dist/components/CField/CField.js +160 -28
- package/dist/components/CForm/CForm.js +38 -22
- package/dist/components/CGrid/CCol.js +1 -3
- package/dist/components/CGrid/CRow.js +5 -7
- package/dist/components/CIcon/CIcon.js +3 -3
- package/dist/components/CInput/CInput.js +119 -109
- package/dist/components/CList/CList.js +106 -34
- package/dist/components/CList/CListItem.js +44 -14
- package/dist/components/CMenu/CMenu.js +54 -55
- package/dist/components/COverlay/COverlay.js +6 -5
- package/dist/components/CRadio/CRadio.js +11 -5
- package/dist/components/CRadio/CRadioGroup.js +10 -0
- package/dist/components/CSelect/CSelect.js +180 -71
- package/dist/components/CSelectControl/CSelectControl.js +14 -2
- package/dist/components/CTextField/CTextField.js +79 -52
- package/dist/components/CTextField/index.js +2 -2
- package/dist/components/CTextField/index2.js +5 -0
- package/dist/components/CToolbar/CToolbar.js +1 -3
- package/dist/components/CTooltip/CTooltip.js +13 -11
- package/dist/components/CTooltip/index.js +2 -2
- package/dist/components/CTooltip/index2.js +5 -0
- package/dist/components/global-components.d.ts +44 -0
- package/dist/components/index.d.ts +841 -504
- package/dist/components/index.js +11 -7
- package/dist/composables/index.d.ts +384 -235
- package/dist/composables/index.js +22 -14
- package/dist/composables/use-activator.js +15 -25
- package/dist/composables/{use-app-scroll.js → use-application-scroll.js} +4 -8
- package/dist/composables/use-aria-activator.js +15 -0
- package/dist/composables/use-aria-dialog.js +16 -0
- package/dist/composables/use-aria-field.js +18 -0
- package/dist/composables/use-aria-listbox.js +14 -0
- package/dist/composables/use-aria-toggle.js +15 -0
- package/dist/composables/use-auto-position.js +206 -118
- package/dist/composables/use-autocomplete.js +21 -19
- package/dist/composables/use-breakpoints.js +8 -0
- package/dist/composables/use-button-presets.js +3 -7
- package/dist/composables/use-delay-actions.js +8 -2
- package/dist/composables/use-display.js +26 -18
- package/dist/composables/use-field-presets.js +82 -0
- package/dist/composables/use-icon.js +106 -34
- package/dist/composables/use-id.js +9 -0
- package/dist/composables/use-input-presets.js +88 -19
- package/dist/composables/use-keyboard.js +52 -0
- package/dist/composables/use-list.js +8 -0
- package/dist/composables/use-menu.js +8 -0
- package/dist/composables/use-normalized-items.js +22 -0
- package/dist/composables/use-overlay-stack.js +4 -1
- package/dist/composables/use-presets.js +2 -2
- package/dist/composables/use-select-control.js +8 -0
- package/dist/composables/use-selected-chips.js +40 -0
- package/dist/composables/use-validate.js +32 -24
- package/dist/constants/aria.js +32 -0
- package/dist/constants/attrs.js +21 -0
- package/dist/constants/icons.js +55 -8
- package/dist/constants/index.d.ts +187 -53
- package/dist/constants/index.js +3 -1
- package/dist/constants/provide-keys.js +2 -1
- package/dist/css/lib.css +1 -0
- package/dist/css/utils/_borders.css +1 -0
- package/dist/css/utils/_borders.js +3 -0
- package/dist/css/utils/_display.css +1 -1
- package/dist/css/utils/_flex.css +1 -1
- package/dist/css/utils/_grid.css +1 -0
- package/dist/css/utils/_grid.js +3 -0
- package/dist/css/utils/_helpers.css +1 -1
- package/dist/css/utils/_positions.css +1 -1
- package/dist/css/utils/_radius.css +1 -1
- package/dist/css/utils/_sizing.css +1 -1
- package/dist/css/utils/_spaces.css +1 -1
- package/dist/css/utils/_text.css +1 -1
- package/dist/css/utils/_transitions.css +1 -1
- package/dist/css/utils/_typography.css +1 -1
- package/dist/enums/IconName.js +13 -0
- package/dist/enums/index.d.ts +15 -2
- package/dist/helpers/preset.js +11 -0
- package/dist/helpers/theme.js +41 -0
- package/dist/library.js +31 -9
- package/dist/resolvers/font-awesome.js +30 -0
- package/dist/resolvers/index.d.ts +48 -0
- package/dist/resolvers/index.js +1 -0
- package/dist/scss/lib.scss +26 -0
- package/dist/scss/maps/colors-map.scss +342 -0
- package/dist/scss/maps/elevations-map.scss +88 -0
- package/dist/scss/maps/flexes-map.scss +24 -0
- package/dist/scss/maps/grids.scss +23 -0
- package/dist/scss/modules/_global-vars.scss +88 -0
- package/dist/scss/ress.scss +281 -0
- package/dist/scss/styles.scss +20 -0
- package/dist/scss/utils/_borders.scss +28 -0
- package/dist/scss/utils/_colors.scss +86 -0
- package/dist/scss/utils/_cursor.scss +140 -0
- package/dist/scss/utils/_display.scss +32 -0
- package/dist/scss/utils/_elevations.scss +15 -0
- package/dist/scss/utils/_flex.scss +137 -0
- package/dist/scss/utils/_grid.scss +173 -0
- package/dist/scss/utils/_helpers.scss +47 -0
- package/dist/scss/utils/_opacity.scss +13 -0
- package/dist/scss/utils/_overflow.scss +51 -0
- package/dist/scss/utils/_positions.scss +42 -0
- package/dist/scss/utils/_radius.scss +41 -0
- package/dist/scss/utils/_sizing.scss +40 -0
- package/dist/scss/utils/_spaces.scss +164 -0
- package/dist/scss/utils/_text.scss +76 -0
- package/dist/scss/utils/_transitions.scss +98 -0
- package/dist/scss/utils/_typography.scss +81 -0
- package/dist/styles.css +1 -1
- package/dist/temp-types/src/components/CApp/CApp.vue.d.ts +2 -4
- package/dist/temp-types/src/components/CApp/CApp.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CApp/types.d.ts +4 -0
- package/dist/temp-types/src/components/CApp/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CAutocomplete/CAutocomplete.vue.d.ts +7 -2
- package/dist/temp-types/src/components/CAutocomplete/CAutocomplete.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CAutocomplete/types.d.ts +16 -6
- package/dist/temp-types/src/components/CAutocomplete/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CBtn/CBtn.vue.d.ts +5 -1
- package/dist/temp-types/src/components/CBtn/CBtn.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CBtn/index.d.ts +1 -0
- package/dist/temp-types/src/components/CBtn/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CBtn/types.d.ts +1 -0
- package/dist/temp-types/src/components/CBtn/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CCheckbox/CCheckbox.vue.d.ts +2 -6
- package/dist/temp-types/src/components/CCheckbox/CCheckbox.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CCheckbox/CheckboxElement.vue.d.ts +32 -0
- package/dist/temp-types/src/components/CCheckbox/CheckboxElement.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CCheckbox/types.d.ts +7 -4
- package/dist/temp-types/src/components/CCheckbox/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CChip/CChip.vue.d.ts +13 -0
- package/dist/temp-types/src/components/CChip/CChip.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CChip/index.d.ts +2 -0
- package/dist/temp-types/src/components/CChip/index.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDateInput/CDateInput.vue.d.ts +61 -0
- package/dist/temp-types/src/components/CDateInput/CDateInput.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDateInput/index.d.ts +3 -0
- package/dist/temp-types/src/components/CDateInput/index.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePicker.vue.d.ts +82 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePicker.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerDates.vue.d.ts +60 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerDates.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerHeader.vue.d.ts +27 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerHeader.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerMonths.vue.d.ts +40 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerMonths.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerYears.vue.d.ts +34 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerYears.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/helpers.d.ts +4 -0
- package/dist/temp-types/src/components/CDatePicker/helpers.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/index.d.ts +6 -0
- package/dist/temp-types/src/components/CDatePicker/index.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/locales/index.d.ts +7 -0
- package/dist/temp-types/src/components/CDatePicker/locales/index.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/types.d.ts +22 -0
- package/dist/temp-types/src/components/CDatePicker/types.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/utils.d.ts +8 -0
- package/dist/temp-types/src/components/CDatePicker/utils.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDialog/CDialog.vue.d.ts +1 -1
- package/dist/temp-types/src/components/CDialog/CDialog.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CDialog/CDialogsStack.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CDialog/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CField/CField.vue.d.ts +26 -10
- package/dist/temp-types/src/components/CField/CField.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CField/index.d.ts +1 -0
- package/dist/temp-types/src/components/CField/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CField/types.d.ts +22 -0
- package/dist/temp-types/src/components/CField/types.d.ts.map +1 -0
- package/dist/temp-types/src/components/CForm/CForm.vue.d.ts +10 -8
- package/dist/temp-types/src/components/CForm/CForm.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CForm/types.d.ts +13 -3
- package/dist/temp-types/src/components/CForm/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CGrid/CCol.d.ts.map +1 -1
- package/dist/temp-types/src/components/CGrid/CRow.d.ts +1 -1
- package/dist/temp-types/src/components/CGrid/CRow.d.ts.map +1 -1
- package/dist/temp-types/src/components/CGrid/index.d.ts +1 -1
- package/dist/temp-types/src/components/CIcon/CIcon.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CIcon/types.d.ts +1 -2
- package/dist/temp-types/src/components/CIcon/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CInput/CInput.vue.d.ts +23 -7
- package/dist/temp-types/src/components/CInput/CInput.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CInput/types.d.ts +42 -28
- package/dist/temp-types/src/components/CInput/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CLabel/CLabel.d.ts.map +1 -1
- package/dist/temp-types/src/components/CList/CList.vue.d.ts +7 -1
- package/dist/temp-types/src/components/CList/CList.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CList/CListItem.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CList/types.d.ts +18 -1
- package/dist/temp-types/src/components/CList/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CMenu/CMenu.vue.d.ts +6 -6
- package/dist/temp-types/src/components/CMenu/CMenu.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CMenu/types.d.ts +2 -2
- package/dist/temp-types/src/components/CMenu/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/COverlay/COverlay.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CRadio/CRadio.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CRadio/CRadioGroup.vue.d.ts +13 -0
- package/dist/temp-types/src/components/CRadio/CRadioGroup.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CRadio/index.d.ts +1 -0
- package/dist/temp-types/src/components/CRadio/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CScrim/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CSelect/CSelect.vue.d.ts +7 -2
- package/dist/temp-types/src/components/CSelect/CSelect.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CSelect/types.d.ts +16 -6
- package/dist/temp-types/src/components/CSelect/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CSelectControl/CSelectControl.vue.d.ts +5 -1
- package/dist/temp-types/src/components/CSelectControl/CSelectControl.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTextField/CTextField.vue.d.ts +19 -17
- package/dist/temp-types/src/components/CTextField/CTextField.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTextField/index.d.ts +10 -1
- package/dist/temp-types/src/components/CTextField/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTextField/types.d.ts +16 -0
- package/dist/temp-types/src/components/CTextField/types.d.ts.map +1 -0
- package/dist/temp-types/src/components/CToolbar/CToolbar.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTooltip/CTooltip.vue.d.ts +3 -1
- package/dist/temp-types/src/components/CTooltip/CTooltip.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTooltip/index.d.ts +7 -1
- package/dist/temp-types/src/components/CTooltip/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/index.d.ts +17 -15
- package/dist/temp-types/src/components/index.d.ts.map +1 -1
- package/dist/temp-types/src/composables/index.d.ts +22 -14
- package/dist/temp-types/src/composables/index.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-activator.d.ts +4 -2
- package/dist/temp-types/src/composables/use-activator.d.ts.map +1 -1
- package/dist/temp-types/src/composables/{use-app-scroll.d.ts → use-application-scroll.d.ts} +2 -2
- package/dist/temp-types/src/composables/use-application-scroll.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-application.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-aria-activator.d.ts +8 -0
- package/dist/temp-types/src/composables/use-aria-activator.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-aria-dialog.d.ts +9 -0
- package/dist/temp-types/src/composables/use-aria-dialog.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-aria-field.d.ts +13 -0
- package/dist/temp-types/src/composables/use-aria-field.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-aria-listbox.d.ts +8 -0
- package/dist/temp-types/src/composables/use-aria-listbox.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-aria-toggle.d.ts +11 -0
- package/dist/temp-types/src/composables/use-aria-toggle.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-auto-position.d.ts +12 -9
- package/dist/temp-types/src/composables/use-auto-position.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-autocomplete.d.ts +9 -4
- package/dist/temp-types/src/composables/use-autocomplete.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-breakpoints.d.ts +1 -0
- package/dist/temp-types/src/composables/use-breakpoints.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-button-presets.d.ts +2 -2
- package/dist/temp-types/src/composables/use-button-presets.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-core.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-delay-actions.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-dialogs-stack.d.ts +3 -3
- package/dist/temp-types/src/composables/use-dialogs-stack.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-display.d.ts +29 -55
- package/dist/temp-types/src/composables/use-display.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-effect.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-field-presets.d.ts +12 -0
- package/dist/temp-types/src/composables/use-field-presets.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-form.d.ts +1 -1
- package/dist/temp-types/src/composables/use-form.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-icon.d.ts +32 -4
- package/dist/temp-types/src/composables/use-icon.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-id.d.ts +6 -0
- package/dist/temp-types/src/composables/use-id.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-input-presets.d.ts +6 -7
- package/dist/temp-types/src/composables/use-input-presets.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-keyboard.d.ts +11 -0
- package/dist/temp-types/src/composables/use-keyboard.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-list.d.ts +3 -0
- package/dist/temp-types/src/composables/use-list.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-menu.d.ts +2 -0
- package/dist/temp-types/src/composables/use-menu.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-normalized-items.d.ts +18 -0
- package/dist/temp-types/src/composables/use-normalized-items.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-overlay-stack.d.ts +1 -0
- package/dist/temp-types/src/composables/use-overlay-stack.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-presets.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-select-control.d.ts +2 -0
- package/dist/temp-types/src/composables/use-select-control.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-selected-chips.d.ts +16 -0
- package/dist/temp-types/src/composables/use-selected-chips.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-toggle.d.ts +1 -1
- package/dist/temp-types/src/composables/use-toggle.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-validate.d.ts +10 -8
- package/dist/temp-types/src/composables/use-validate.d.ts.map +1 -1
- package/dist/temp-types/src/constants/aria.d.ts +35 -0
- package/dist/temp-types/src/constants/aria.d.ts.map +1 -0
- package/dist/temp-types/src/constants/attrs.d.ts +2 -0
- package/dist/temp-types/src/constants/attrs.d.ts.map +1 -0
- package/dist/temp-types/src/constants/icons.d.ts +91 -18
- package/dist/temp-types/src/constants/icons.d.ts.map +1 -1
- package/dist/temp-types/src/constants/index.d.ts +3 -1
- package/dist/temp-types/src/constants/index.d.ts.map +1 -1
- package/dist/temp-types/src/constants/provide-keys.d.ts +7 -6
- package/dist/temp-types/src/constants/provide-keys.d.ts.map +1 -1
- package/dist/temp-types/src/directives/v-click-outside.d.ts.map +1 -1
- package/dist/temp-types/src/enums/IconName.d.ts +15 -2
- package/dist/temp-types/src/enums/IconName.d.ts.map +1 -1
- package/dist/temp-types/src/helpers/index.d.ts +2 -0
- package/dist/temp-types/src/helpers/index.d.ts.map +1 -1
- package/dist/temp-types/src/helpers/preset.d.ts +8 -0
- package/dist/temp-types/src/helpers/preset.d.ts.map +1 -0
- package/dist/temp-types/src/helpers/theme.d.ts +4 -0
- package/dist/temp-types/src/helpers/theme.d.ts.map +1 -0
- package/dist/temp-types/src/index.d.ts.map +1 -1
- package/dist/temp-types/src/library.d.ts +10 -3
- package/dist/temp-types/src/library.d.ts.map +1 -1
- package/dist/temp-types/src/resolvers/font-awesome.d.ts +18 -0
- package/dist/temp-types/src/resolvers/font-awesome.d.ts.map +1 -0
- package/dist/temp-types/src/resolvers/index.d.ts +2 -0
- package/dist/temp-types/src/resolvers/index.d.ts.map +1 -0
- package/dist/temp-types/src/resolvers/material.d.ts +1 -0
- package/dist/temp-types/src/resolvers/material.d.ts.map +1 -0
- package/dist/temp-types/src/types/icons.d.ts +29 -0
- package/dist/temp-types/src/types/icons.d.ts.map +1 -0
- package/dist/temp-types/src/types/index.d.ts +4 -2
- package/dist/temp-types/src/types/index.d.ts.map +1 -1
- package/dist/temp-types/src/types/presets.d.ts +35 -47
- package/dist/temp-types/src/types/presets.d.ts.map +1 -1
- package/dist/temp-types/src/types/theme.d.ts +32 -0
- package/dist/temp-types/src/types/theme.d.ts.map +1 -0
- package/dist/temp-types/src/utils/aria.d.ts +36 -0
- package/dist/temp-types/src/utils/aria.d.ts.map +1 -0
- package/dist/temp-types/src/utils/compile-css-classes.d.ts.map +1 -1
- package/dist/temp-types/src/utils/create-simple-functional.d.ts.map +1 -1
- package/dist/temp-types/src/utils/index.d.ts +3 -2
- package/dist/temp-types/src/utils/index.d.ts.map +1 -1
- package/dist/temp-types/src/utils/throttle.d.ts.map +1 -1
- package/dist/temp-types/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +125 -0
- package/dist/types.d.ts +137 -72
- package/dist/utils/aria.js +95 -0
- package/dist/utils/compile-css-classes.js +3 -13
- package/dist/utils/create-simple-functional.js +1 -5
- package/dist/utils/index.d.ts +48 -10
- package/dist/utils/index.js +3 -2
- package/package.json +35 -9
- package/dist/components/CItems/CItems.js +0 -66
- package/dist/composables/use-field-attrs.js +0 -43
- package/dist/composables/use-input-state.js +0 -41
- package/dist/composables/use-input-value.js +0 -18
- package/dist/composables/use-menu-presets.js +0 -17
- package/dist/composables/use-position-classes.js +0 -12
- package/dist/css/themes/default-theme.css +0 -1
- package/dist/temp-types/src/components/CItems/CItems.d.ts +0 -16
- package/dist/temp-types/src/components/CItems/CItems.d.ts.map +0 -1
- package/dist/temp-types/src/components/CItems/index.d.ts +0 -2
- package/dist/temp-types/src/components/CItems/index.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-app-scroll.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-field-attrs.d.ts +0 -10
- package/dist/temp-types/src/composables/use-field-attrs.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-input-state.d.ts +0 -17
- package/dist/temp-types/src/composables/use-input-state.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-input-value.d.ts +0 -3
- package/dist/temp-types/src/composables/use-input-value.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-menu-presets.d.ts +0 -7
- package/dist/temp-types/src/composables/use-menu-presets.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-position-classes.d.ts +0 -10
- package/dist/temp-types/src/composables/use-position-classes.d.ts.map +0 -1
- package/dist/temp-types/src/utils/define-preset.d.ts +0 -2
- package/dist/temp-types/src/utils/define-preset.d.ts.map +0 -1
- /package/dist/css/{themes/default-theme.js → lib.js} +0 -0
|
@@ -1,29 +1,102 @@
|
|
|
1
1
|
export declare const ICONS: {
|
|
2
|
-
"chevron-
|
|
3
|
-
body:
|
|
4
|
-
viewBox:
|
|
2
|
+
readonly "chevron-left": {
|
|
3
|
+
readonly body: "<path d=\"M169.4 342.7C156.9 330.2 156.9 309.9 169.4 297.4L361.4 105.4C373.9 92.9 394.2 92.9 406.7 105.4C419.2 117.9 419.2 138.2 406.7 150.7L237.3 320L406.6 489.3C419.1 501.8 419.1 522.1 406.6 534.6C394.1 547.1 373.8 547.1 361.3 534.6L169.3 342.6z\"/>";
|
|
4
|
+
readonly viewBox: "0 0 640 640";
|
|
5
|
+
readonly size: 20;
|
|
5
6
|
};
|
|
6
|
-
|
|
7
|
-
body:
|
|
8
|
-
viewBox:
|
|
7
|
+
readonly "chevron-right": {
|
|
8
|
+
readonly body: "<path d=\"M470.6 297.4C483.1 309.9 483.1 330.2 470.6 342.7L278.6 534.7C266.1 547.2 245.8 547.2 233.3 534.7C220.8 522.2 220.8 501.9 233.3 489.4L402.7 320L233.4 150.7C220.9 138.2 220.9 117.9 233.4 105.4C245.9 92.9 266.2 92.9 278.7 105.4L470.7 297.4z\"/>";
|
|
9
|
+
readonly viewBox: "0 0 640 640";
|
|
10
|
+
readonly size: 20;
|
|
9
11
|
};
|
|
10
|
-
|
|
11
|
-
body:
|
|
12
|
-
viewBox:
|
|
12
|
+
readonly "chevron-down": {
|
|
13
|
+
readonly body: "<path d=\"M297.4 470.6C309.9 483.1 330.2 483.1 342.7 470.6L534.7 278.6C547.2 266.1 547.2 245.8 534.7 233.3C522.2 220.8 501.9 220.8 489.4 233.3L320 402.7L150.6 233.4C138.1 220.9 117.8 220.9 105.3 233.4C92.8 245.9 92.8 266.2 105.3 278.7L297.3 470.7z\"/>";
|
|
14
|
+
readonly viewBox: "0 0 640 640";
|
|
15
|
+
readonly size: 20;
|
|
16
|
+
};
|
|
17
|
+
readonly calendar: {
|
|
18
|
+
readonly body: "<path d=\"M216 64C229.3 64 240 74.7 240 88L240 128L400 128L400 88C400 74.7 410.7 64 424 64C437.3 64 448 74.7 448 88L448 128L480 128C515.3 128 544 156.7 544 192L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 192C96 156.7 124.7 128 160 128L192 128L192 88C192 74.7 202.7 64 216 64zM480 496C488.8 496 496 488.8 496 480L496 416L408 416L408 496L480 496zM496 368L496 288L408 288L408 368L496 368zM360 368L360 288L280 288L280 368L360 368zM232 368L232 288L144 288L144 368L232 368zM144 416L144 480C144 488.8 151.2 496 160 496L232 496L232 416L144 416zM280 416L280 496L360 496L360 416L280 416zM216 176L160 176C151.2 176 144 183.2 144 192L144 240L496 240L496 192C496 183.2 488.8 176 480 176L216 176z\"/>";
|
|
19
|
+
readonly viewBox: "-30 30 640 640";
|
|
20
|
+
readonly size: 24;
|
|
21
|
+
};
|
|
22
|
+
readonly "checkbox-box": {
|
|
23
|
+
readonly body: "<path d=\"M480 144C488.8 144 496 151.2 496 160L496 480C496 488.8 488.8 496 480 496L160 496C151.2 496 144 488.8 144 480L144 160C144 151.2 151.2 144 160 144L480 144zM160 96C124.7 96 96 124.7 96 160L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 160C544 124.7 515.3 96 480 96L160 96z\"/>";
|
|
24
|
+
readonly viewBox: "0 0 640 640";
|
|
25
|
+
readonly size: 28;
|
|
26
|
+
};
|
|
27
|
+
readonly "checked-box": {
|
|
28
|
+
readonly body: "<path d=\"M480 96C515.3 96 544 124.7 544 160L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 160C96 124.7 124.7 96 160 96L480 96zM160 144C151.2 144 144 151.2 144 160L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 160C496 151.2 488.8 144 480 144L160 144zM390.7 233.9C398.5 223.2 413.5 220.8 424.2 228.6C434.9 236.4 437.3 251.4 429.5 262.1L307.4 430.1C303.3 435.8 296.9 439.4 289.9 439.9C282.9 440.4 276 437.9 271.1 433L215.2 377.1C205.8 367.7 205.8 352.5 215.2 343.2C224.6 333.9 239.8 333.8 249.1 343.2L285.1 379.2L390.7 234z\"/>";
|
|
29
|
+
readonly viewBox: "0 0 640 640";
|
|
30
|
+
readonly size: 28;
|
|
31
|
+
};
|
|
32
|
+
readonly check: {
|
|
33
|
+
readonly body: "<path d=\"M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z\"/>";
|
|
34
|
+
readonly viewBox: "0 0 640 640";
|
|
35
|
+
readonly size: 32;
|
|
36
|
+
};
|
|
37
|
+
readonly "circle-dot": {
|
|
38
|
+
readonly body: "<path d=\"M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112zM320 416C267 416 224 373 224 320C224 267 267 224 320 224C373 224 416 267 416 320C416 373 373 416 320 416z\"/>";
|
|
39
|
+
readonly viewBox: "0 0 640 640";
|
|
40
|
+
readonly size: 28;
|
|
41
|
+
};
|
|
42
|
+
readonly circle: {
|
|
43
|
+
readonly body: "<path d=\"M528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320z\"/>";
|
|
44
|
+
readonly viewBox: "0 0 640 640";
|
|
45
|
+
readonly size: 28;
|
|
46
|
+
};
|
|
47
|
+
readonly close: {
|
|
48
|
+
readonly body: "<path d=\"M183.1 137.4C170.6 124.9 150.3 124.9 137.8 137.4C125.3 149.9 125.3 170.2 137.8 182.7L275.2 320L137.9 457.4C125.4 469.9 125.4 490.2 137.9 502.7C150.4 515.2 170.7 515.2 183.2 502.7L320.5 365.3L457.9 502.6C470.4 515.1 490.7 515.1 503.2 502.6C515.7 490.1 515.7 469.8 503.2 457.3L365.8 320L503.1 182.6C515.6 170.1 515.6 149.8 503.1 137.3C490.6 124.8 470.3 124.8 457.8 137.3L320.5 274.7L183.1 137.4z\"/>";
|
|
49
|
+
readonly viewBox: "0 0 640 640";
|
|
50
|
+
};
|
|
51
|
+
readonly "close-circle": {
|
|
52
|
+
readonly body: "<path d=\"M320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM231 231C240.4 221.6 255.6 221.6 264.9 231L319.9 286L374.9 231C384.3 221.6 399.5 221.6 408.8 231C418.1 240.4 418.2 255.6 408.8 264.9L353.8 319.9L408.8 374.9C418.2 384.3 418.2 399.5 408.8 408.8C399.4 418.1 384.2 418.2 374.9 408.8L319.9 353.8L264.9 408.8C255.5 418.2 240.3 418.2 231 408.8C221.7 399.4 221.6 384.2 231 374.9L286 319.9L231 264.9C221.6 255.5 221.6 240.3 231 231z\"/>";
|
|
53
|
+
readonly viewBox: "0 0 640 640";
|
|
13
54
|
};
|
|
14
55
|
};
|
|
15
56
|
export declare const ALIASES: {
|
|
16
|
-
dropdown: {
|
|
17
|
-
body:
|
|
18
|
-
viewBox:
|
|
57
|
+
readonly dropdown: {
|
|
58
|
+
readonly body: "<path d=\"M297.4 470.6C309.9 483.1 330.2 483.1 342.7 470.6L534.7 278.6C547.2 266.1 547.2 245.8 534.7 233.3C522.2 220.8 501.9 220.8 489.4 233.3L320 402.7L150.6 233.4C138.1 220.9 117.8 220.9 105.3 233.4C92.8 245.9 92.8 266.2 105.3 278.7L297.3 470.7z\"/>";
|
|
59
|
+
readonly viewBox: "0 0 640 640";
|
|
60
|
+
readonly size: 20;
|
|
61
|
+
};
|
|
62
|
+
readonly chevronLeft: {
|
|
63
|
+
readonly body: "<path d=\"M169.4 342.7C156.9 330.2 156.9 309.9 169.4 297.4L361.4 105.4C373.9 92.9 394.2 92.9 406.7 105.4C419.2 117.9 419.2 138.2 406.7 150.7L237.3 320L406.6 489.3C419.1 501.8 419.1 522.1 406.6 534.6C394.1 547.1 373.8 547.1 361.3 534.6L169.3 342.6z\"/>";
|
|
64
|
+
readonly viewBox: "0 0 640 640";
|
|
65
|
+
readonly size: 20;
|
|
66
|
+
};
|
|
67
|
+
readonly chevronRight: {
|
|
68
|
+
readonly body: "<path d=\"M470.6 297.4C483.1 309.9 483.1 330.2 470.6 342.7L278.6 534.7C266.1 547.2 245.8 547.2 233.3 534.7C220.8 522.2 220.8 501.9 233.3 489.4L402.7 320L233.4 150.7C220.9 138.2 220.9 117.9 233.4 105.4C245.9 92.9 266.2 92.9 278.7 105.4L470.7 297.4z\"/>";
|
|
69
|
+
readonly viewBox: "0 0 640 640";
|
|
70
|
+
readonly size: 20;
|
|
71
|
+
};
|
|
72
|
+
readonly checkboxOn: {
|
|
73
|
+
readonly body: "<path d=\"M480 96C515.3 96 544 124.7 544 160L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 160C96 124.7 124.7 96 160 96L480 96zM160 144C151.2 144 144 151.2 144 160L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 160C496 151.2 488.8 144 480 144L160 144zM390.7 233.9C398.5 223.2 413.5 220.8 424.2 228.6C434.9 236.4 437.3 251.4 429.5 262.1L307.4 430.1C303.3 435.8 296.9 439.4 289.9 439.9C282.9 440.4 276 437.9 271.1 433L215.2 377.1C205.8 367.7 205.8 352.5 215.2 343.2C224.6 333.9 239.8 333.8 249.1 343.2L285.1 379.2L390.7 234z\"/>";
|
|
74
|
+
readonly viewBox: "0 0 640 640";
|
|
75
|
+
readonly size: 28;
|
|
76
|
+
};
|
|
77
|
+
readonly checkboxOff: {
|
|
78
|
+
readonly body: "<path d=\"M480 144C488.8 144 496 151.2 496 160L496 480C496 488.8 488.8 496 480 496L160 496C151.2 496 144 488.8 144 480L144 160C144 151.2 151.2 144 160 144L480 144zM160 96C124.7 96 96 124.7 96 160L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 160C544 124.7 515.3 96 480 96L160 96z\"/>";
|
|
79
|
+
readonly viewBox: "0 0 640 640";
|
|
80
|
+
readonly size: 28;
|
|
81
|
+
};
|
|
82
|
+
readonly calendar: {
|
|
83
|
+
readonly body: "<path d=\"M216 64C229.3 64 240 74.7 240 88L240 128L400 128L400 88C400 74.7 410.7 64 424 64C437.3 64 448 74.7 448 88L448 128L480 128C515.3 128 544 156.7 544 192L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 192C96 156.7 124.7 128 160 128L192 128L192 88C192 74.7 202.7 64 216 64zM480 496C488.8 496 496 488.8 496 480L496 416L408 416L408 496L480 496zM496 368L496 288L408 288L408 368L496 368zM360 368L360 288L280 288L280 368L360 368zM232 368L232 288L144 288L144 368L232 368zM144 416L144 480C144 488.8 151.2 496 160 496L232 496L232 416L144 416zM280 416L280 496L360 496L360 416L280 416zM216 176L160 176C151.2 176 144 183.2 144 192L144 240L496 240L496 192C496 183.2 488.8 176 480 176L216 176z\"/>";
|
|
84
|
+
readonly viewBox: "-30 30 640 640";
|
|
85
|
+
readonly size: 24;
|
|
86
|
+
};
|
|
87
|
+
readonly radioOn: {
|
|
88
|
+
readonly body: "<path d=\"M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112zM320 416C267 416 224 373 224 320C224 267 267 224 320 224C373 224 416 267 416 320C416 373 373 416 320 416z\"/>";
|
|
89
|
+
readonly viewBox: "0 0 640 640";
|
|
90
|
+
readonly size: 28;
|
|
19
91
|
};
|
|
20
|
-
|
|
21
|
-
body:
|
|
22
|
-
viewBox:
|
|
92
|
+
readonly radioOff: {
|
|
93
|
+
readonly body: "<path d=\"M528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320z\"/>";
|
|
94
|
+
readonly viewBox: "0 0 640 640";
|
|
95
|
+
readonly size: 28;
|
|
23
96
|
};
|
|
24
|
-
|
|
25
|
-
body:
|
|
26
|
-
viewBox:
|
|
97
|
+
readonly close: {
|
|
98
|
+
readonly body: "<path d=\"M320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM231 231C240.4 221.6 255.6 221.6 264.9 231L319.9 286L374.9 231C384.3 221.6 399.5 221.6 408.8 231C418.1 240.4 418.2 255.6 408.8 264.9L353.8 319.9L408.8 374.9C418.2 384.3 418.2 399.5 408.8 408.8C399.4 418.1 384.2 418.2 374.9 408.8L319.9 353.8L264.9 408.8C255.5 418.2 240.3 418.2 231 408.8C221.7 399.4 221.6 384.2 231 374.9L286 319.9L231 264.9C221.6 255.5 221.6 240.3 231 231z\"/>";
|
|
99
|
+
readonly viewBox: "0 0 640 640";
|
|
27
100
|
};
|
|
28
101
|
};
|
|
29
102
|
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/constants/icons.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/constants/icons.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDR,CAAA;AAEV,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUV,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { InjectionKey } from 'vue';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
export declare const $FORM_API_KEY: InjectionKey<
|
|
5
|
-
export declare const $LIST_API_KEY: InjectionKey<
|
|
2
|
+
import type { ApplicationApi, FormAPI, ListAPI } from '../components';
|
|
3
|
+
import type { DialogsStackAPI, Display } from '../composables';
|
|
4
|
+
export declare const $FORM_API_KEY: InjectionKey<FormAPI>;
|
|
5
|
+
export declare const $LIST_API_KEY: InjectionKey<ListAPI>;
|
|
6
6
|
export declare const $MENU_API_KEY: InjectionKey<any>;
|
|
7
7
|
export declare const $APP_API_KEY: InjectionKey<ApplicationApi>;
|
|
8
|
-
export declare const $
|
|
8
|
+
export declare const $SELECT_CONTROL_API_KEY: InjectionKey<any>;
|
|
9
|
+
export declare const $BREAKPOINTS_KEY: InjectionKey<Display>;
|
|
9
10
|
export declare const $VUELAND_UI_KEY: InjectionKey<any>;
|
|
10
|
-
export declare const $DIALOGS_STACK_API_KEY: InjectionKey<
|
|
11
|
+
export declare const $DIALOGS_STACK_API_KEY: InjectionKey<DialogsStackAPI>;
|
|
11
12
|
//# sourceMappingURL=provide-keys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provide-keys.d.ts","sourceRoot":"","sources":["../../../../src/constants/provide-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"provide-keys.d.ts","sourceRoot":"","sources":["../../../../src/constants/provide-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC,OAAO,KAAK,EACR,cAAc,EACd,OAAO,EACP,OAAO,EACV,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE9D,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,OAAO,CAAY,CAAA;AAC5D,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,OAAO,CAAY,CAAA;AAC5D,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,CAAY,CAAA;AACxD,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,cAAc,CAAY,CAAA;AAClE,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,GAAG,CAAY,CAAA;AAClE,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,OAAO,CAAY,CAAA;AAC/D,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,GAAG,CAAY,CAAA;AAC1D,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,eAAe,CAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v-click-outside.d.ts","sourceRoot":"","sources":["../../../../src/directives/v-click-outside.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"v-click-outside.d.ts","sourceRoot":"","sources":["../../../../src/directives/v-click-outside.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,aAAa;;;;;CAiBzB,CAAA"}
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
export declare enum IconName {
|
|
2
2
|
CHEVRON_DOWN = "chevron-down",
|
|
3
|
+
CHEVRON_LEFT = "chevron-left",
|
|
4
|
+
CHEVRON_RIGHT = "chevron-right",
|
|
3
5
|
CHECK = "check",
|
|
4
|
-
CALENDAR = "calendar"
|
|
6
|
+
CALENDAR = "calendar",
|
|
7
|
+
BOX = "checkbox-box",
|
|
8
|
+
CHECKED_BOX = "checked-box",
|
|
9
|
+
CIRCLE_DOT = "circle-dot",
|
|
10
|
+
CIRCLE = "circle",
|
|
11
|
+
CLOSE = "close",
|
|
12
|
+
CLOSE_CIRCLE = "close-circle"
|
|
5
13
|
}
|
|
6
14
|
export declare enum IconAliases {
|
|
7
15
|
DROPDOWN = "dropdown",
|
|
8
16
|
CHECKBOX_ON = "checkboxOn",
|
|
9
17
|
CHECKBOX_OFF = "checkboxOff",
|
|
10
|
-
CALENDAR = "calendar"
|
|
18
|
+
CALENDAR = "calendar",
|
|
19
|
+
CHEVRON_LEFT = "chevronLeft",
|
|
20
|
+
CHEVRON_RIGHT = "chevronRight",
|
|
21
|
+
RADIO_ON = "radioOn",
|
|
22
|
+
RADIO_OFF = "radioOff",
|
|
23
|
+
CLOSE = "close"
|
|
11
24
|
}
|
|
12
25
|
//# sourceMappingURL=IconName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconName.d.ts","sourceRoot":"","sources":["../../../../src/enums/IconName.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAChB,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,QAAQ,aAAa;
|
|
1
|
+
{"version":3,"file":"IconName.d.ts","sourceRoot":"","sources":["../../../../src/enums/IconName.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAChB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,GAAG,iBAAiB;IACpB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,YAAY,iBAAiB;CAChC;AAED,oBAAY,WAAW;IACnB,QAAQ,aAAa;IACrB,WAAW,eAAe;IAC1B,YAAY,gBAAgB;IAC5B,QAAQ,aAAa;IACrB,YAAY,gBAAgB;IAC5B,aAAa,iBAAiB;IAC9B,QAAQ,YAAY;IACpB,SAAS,aAAa;IACtB,KAAK,UAAU;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GAAI,GAAG,MAAM,MAAM,EAAE,KAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AAEvB,eAAO,MAAM,WAAW,GAAI,GAAG,MAAM,MAAM,EAAE,KAAG,MAKtC,CAAA;AAEV,eAAO,MAAM,KAAK,GAAI,KAAK,GAAG,YAA2B,CAAA;AACzD,eAAO,MAAM,UAAU,GAAI,KAAK,GAAG,YAAoC,CAAA;AAEvE,eAAO,MAAM,MAAM,GAAI,QAAQ,MAAM,KAAG,MAOvC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type PresetRecord = Record<string, any>;
|
|
2
|
+
export type PresetCondition<State extends string> = [state: State, active: boolean];
|
|
3
|
+
export declare function normalizePresetClasses(value?: string[] | null | false): string[];
|
|
4
|
+
export declare function getPresetValueWithFallback<T, State extends string>(preset: PresetRecord | undefined, zone: string, conditions: PresetCondition<State>[]): T | undefined;
|
|
5
|
+
export declare function getPresetOnly<State extends string>(preset: PresetRecord | undefined, zone: string, conditions: PresetCondition<State>[]): string[];
|
|
6
|
+
export declare function getPresetIf(condition: boolean, classes?: string[]): string[];
|
|
7
|
+
export declare function getPresetValueOnly<T, State extends string>(preset: PresetRecord | undefined, zone: string, conditions: PresetCondition<State>[]): T | undefined;
|
|
8
|
+
//# sourceMappingURL=preset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../../../src/helpers/preset.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAE9C,MAAM,MAAM,eAAe,CAAC,KAAK,SAAS,MAAM,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;AAEnF,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,EAAE,CAMhF;AAED,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,KAAK,SAAS,MAAM,EAC9D,MAAM,EAAE,YAAY,GAAG,SAAS,EAChC,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,GACrC,CAAC,GAAG,SAAS,CAQf;AAED,wBAAgB,aAAa,CAAC,KAAK,SAAS,MAAM,EAC9C,MAAM,EAAE,YAAY,GAAG,SAAS,EAChC,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,GACrC,MAAM,EAAE,CAQV;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,GAAE,MAAM,EAAO,GAAG,MAAM,EAAE,CAEhF;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,KAAK,SAAS,MAAM,EACtD,MAAM,EAAE,YAAY,GAAG,SAAS,EAChC,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,GACrC,CAAC,GAAG,SAAS,CAQf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/helpers/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AA4C/C,wBAAgB,SAAS,CAAC,KAAK,EAAE,eAAe,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAOpE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAG/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,MAAM,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,MAAM,EAAE,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,WAAW,CAAA;AAEtD,OAAO,sBAAsB,CAAA;AAE7B,cAAc,SAAS,CAAA;AAEvB,wBAAgB,eAAe,CAAC,OAAO,EAAE,UAAU,GAAG,MAAM,CAa3D"}
|
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
import { type App, type ComponentInstance, type Directive, type FunctionalComponent } from 'vue';
|
|
2
|
-
import type
|
|
2
|
+
import { BreakpointLabels, type IconAliases } from './enums';
|
|
3
|
+
import { type ThemesOptions } from './types';
|
|
3
4
|
export type IconsOptions = {
|
|
4
5
|
dir?: string;
|
|
5
6
|
aliases?: Partial<Record<IconAliases, any>>;
|
|
7
|
+
sets?: Record<string, any>;
|
|
6
8
|
};
|
|
7
9
|
export interface LibOptions {
|
|
8
10
|
components: Record<string, ComponentInstance<any> | FunctionalComponent>;
|
|
9
11
|
directives?: Record<string, Directive>;
|
|
10
|
-
themes?:
|
|
12
|
+
themes?: ThemesOptions;
|
|
13
|
+
breakpoints?: Record<BreakpointLabels, number>;
|
|
11
14
|
icons?: IconsOptions;
|
|
12
15
|
presets?: Record<string, Record<string, any>>;
|
|
16
|
+
theme?: string;
|
|
13
17
|
ssr?: boolean;
|
|
14
18
|
}
|
|
15
19
|
export declare class VuelandUI {
|
|
16
|
-
themes:
|
|
20
|
+
themes: ThemesOptions;
|
|
17
21
|
icons: IconsOptions;
|
|
18
22
|
presets: Record<string, Record<string, any>>;
|
|
23
|
+
breakpoints: Record<BreakpointLabels, number>;
|
|
24
|
+
theme?: string;
|
|
19
25
|
private installed;
|
|
26
|
+
applyTheme(name: string): void;
|
|
20
27
|
install(app: App, options: LibOptions): void;
|
|
21
28
|
}
|
|
22
29
|
//# sourceMappingURL=library.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../../src/library.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../../src/library.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,GAAG,EACR,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,mBAAmB,EAC3B,MAAM,KAAK,CAAA;AAYZ,OAAO,EAAE,gBAAgB,EAAE,KAAK,WAAW,EAAE,M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/C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IconResolver } from '../types';
|
|
2
|
+
type IconDefinition = {
|
|
3
|
+
icon: [
|
|
4
|
+
width: number,
|
|
5
|
+
height: number,
|
|
6
|
+
ligatures: unknown[],
|
|
7
|
+
unicode: string,
|
|
8
|
+
svgPathData: string | string[]
|
|
9
|
+
];
|
|
10
|
+
};
|
|
11
|
+
type FontAwesomeIconMap = Record<string, IconDefinition>;
|
|
12
|
+
export interface FontAwesomeResolverOptions {
|
|
13
|
+
icons: FontAwesomeIconMap;
|
|
14
|
+
defaultPrefix?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare function createFontAwesomeResolver(options: FontAwesomeResolverOptions): IconResolver;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=font-awesome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"font-awesome.d.ts","sourceRoot":"","sources":["../../../../src/resolvers/font-awesome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,KAAK,cAAc,GAAG;IAClB,IAAI,EAAE;QACF,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,OAAO,EAAE;QACpB,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE;KACjC,CAAA;CACJ,CAAA;AAED,KAAK,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAExD,MAAM,WAAW,0BAA0B;IACvC,KAAK,EAAE,kBAAkB,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB;AAwBD,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,0BAA0B,GAAG,YAAY,CAc3F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resolvers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=material.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"material.d.ts","sourceRoot":"","sources":["../../../../src/resolvers/material.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
export type IconMode = 'lib' | 'sprite' | 'component' | 'raw' | string;
|
|
3
|
+
export interface UseIconOptions {
|
|
4
|
+
name?: string | number;
|
|
5
|
+
source?: IconMode;
|
|
6
|
+
component?: Component | null;
|
|
7
|
+
body?: string;
|
|
8
|
+
viewBox?: string;
|
|
9
|
+
spritePrefix?: string;
|
|
10
|
+
spritePath?: string;
|
|
11
|
+
}
|
|
12
|
+
export type IconResolverResult = {
|
|
13
|
+
kind: 'svg';
|
|
14
|
+
body: string;
|
|
15
|
+
viewBox?: string;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'font';
|
|
18
|
+
className: string;
|
|
19
|
+
text?: string;
|
|
20
|
+
} | {
|
|
21
|
+
kind: 'component';
|
|
22
|
+
component: Component;
|
|
23
|
+
} | {
|
|
24
|
+
kind: 'sprite';
|
|
25
|
+
href: string;
|
|
26
|
+
viewBox?: string;
|
|
27
|
+
} | null | undefined;
|
|
28
|
+
export type IconResolver = (name: string | number, options: UseIconOptions) => IconResolverResult;
|
|
29
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/types/icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,KAAK,GAAG,MAAM,CAAA;AAEtE,MAAM,WAAW,cAAc;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,QAAQ,CAAA;IAEjB,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IAE5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,MAAM,kBAAkB,GACxB;IACE,IAAI,EAAE,KAAK,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,GACC;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,GACC;IACE,IAAI,EAAE,WAAW,CAAA;IACjB,SAAS,EAAE,SAAS,CAAA;CACvB,GACC;IACE,IAAI,EAAE,QAAQ,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,GACC,IAAI,GACJ,SAAS,CAAA;AAEf,MAAM,MAAM,YAAY,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,cAAc,KAAK,kBAAkB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type CButtonPreset = {
|
|
2
2
|
root?: string[];
|
|
3
3
|
label?: string[];
|
|
4
4
|
};
|
|
5
|
-
export type
|
|
5
|
+
export type CMenuPreset = {
|
|
6
6
|
root?: string[];
|
|
7
7
|
opened?: {
|
|
8
8
|
root?: string[];
|
|
@@ -11,54 +11,42 @@ export type MenuPreset = {
|
|
|
11
11
|
root?: string[];
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export type
|
|
14
|
+
export type CFieldZone = {
|
|
15
15
|
root?: string[];
|
|
16
|
-
field?: string[];
|
|
17
16
|
input?: string[];
|
|
18
17
|
label?: string[];
|
|
18
|
+
};
|
|
19
|
+
type CFieldCompoundState = CFieldZone & {
|
|
20
|
+
focused?: CFieldZone;
|
|
21
|
+
filled?: CFieldZone;
|
|
22
|
+
};
|
|
23
|
+
export type CFieldPreset = CFieldZone & {
|
|
24
|
+
focused?: CFieldZone;
|
|
25
|
+
filled?: CFieldZone;
|
|
26
|
+
error?: CFieldCompoundState;
|
|
27
|
+
disabled?: CFieldCompoundState;
|
|
28
|
+
readonly?: CFieldCompoundState;
|
|
29
|
+
prepended?: CFieldZone;
|
|
30
|
+
appended?: CFieldZone;
|
|
31
|
+
};
|
|
32
|
+
type CInputZone = {
|
|
33
|
+
root?: string[];
|
|
34
|
+
label?: string[];
|
|
35
|
+
input?: string[];
|
|
19
36
|
details?: string[];
|
|
20
|
-
prepend?: string[];
|
|
21
|
-
append?: string[];
|
|
22
|
-
focused?: {
|
|
23
|
-
root?: string[];
|
|
24
|
-
field?: string[];
|
|
25
|
-
label?: string[];
|
|
26
|
-
append?: string[];
|
|
27
|
-
};
|
|
28
|
-
error?: {
|
|
29
|
-
root?: string[];
|
|
30
|
-
field?: string[];
|
|
31
|
-
label?: string[];
|
|
32
|
-
input?: string[];
|
|
33
|
-
details?: string[];
|
|
34
|
-
};
|
|
35
|
-
disabled?: {
|
|
36
|
-
root?: string[];
|
|
37
|
-
field?: string[];
|
|
38
|
-
input?: string[];
|
|
39
|
-
label?: string[];
|
|
40
|
-
};
|
|
41
|
-
readonly?: {
|
|
42
|
-
root?: string[];
|
|
43
|
-
field?: string[];
|
|
44
|
-
input?: string[];
|
|
45
|
-
};
|
|
46
|
-
hasValue?: {
|
|
47
|
-
root?: string[];
|
|
48
|
-
label?: string[];
|
|
49
|
-
};
|
|
50
|
-
hasPrepend?: {
|
|
51
|
-
root?: string[];
|
|
52
|
-
field?: string[];
|
|
53
|
-
input?: string[];
|
|
54
|
-
label?: string[];
|
|
55
|
-
prepend?: string[];
|
|
56
|
-
};
|
|
57
|
-
hasAppend?: {
|
|
58
|
-
root?: string[];
|
|
59
|
-
field?: string[];
|
|
60
|
-
input?: string[];
|
|
61
|
-
append?: string[];
|
|
62
|
-
};
|
|
63
37
|
};
|
|
38
|
+
type CInputCompoundState = CInputZone & {
|
|
39
|
+
focused?: CInputZone;
|
|
40
|
+
filled?: CInputZone;
|
|
41
|
+
};
|
|
42
|
+
export type CInputPreset = CInputZone & {
|
|
43
|
+
focused?: CInputZone;
|
|
44
|
+
filled?: CInputZone;
|
|
45
|
+
error?: CInputCompoundState;
|
|
46
|
+
disabled?: CInputCompoundState;
|
|
47
|
+
readonly?: CInputCompoundState;
|
|
48
|
+
prepended?: CInputZone;
|
|
49
|
+
appended?: CInputZone;
|
|
50
|
+
};
|
|
51
|
+
export {};
|
|
64
52
|
//# sourceMappingURL=presets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../src/types/presets.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../src/types/presets.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACtB,IA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U,CAAA;IACnB,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,QAAQ,CAAC,EAAE,mBAAmB,CAAA;IAC9B,QAAQ,CAAC,EAAE,mBAAmB,CAAA;IAC9B,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,QAAQ,CAAC,EAAE,UAAU,CAAA;CACxB,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type ThemeDefinition = {
|
|
2
|
+
primary?: string;
|
|
3
|
+
onPrimary?: string;
|
|
4
|
+
secondary?: string;
|
|
5
|
+
success?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
warning?: string;
|
|
8
|
+
info?: string;
|
|
9
|
+
accent?: string;
|
|
10
|
+
background?: string;
|
|
11
|
+
surface?: string;
|
|
12
|
+
surfaceVariant?: string;
|
|
13
|
+
onSurface?: string;
|
|
14
|
+
text?: string;
|
|
15
|
+
textSecondary?: string;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
disabled?: string;
|
|
18
|
+
disabledBg?: string;
|
|
19
|
+
disabledOpacity?: string;
|
|
20
|
+
readonly?: string;
|
|
21
|
+
readonlyBg?: string;
|
|
22
|
+
focus?: string;
|
|
23
|
+
errorBg?: string;
|
|
24
|
+
hover?: string;
|
|
25
|
+
overlay?: string;
|
|
26
|
+
shadow?: string;
|
|
27
|
+
border?: string;
|
|
28
|
+
radius?: string;
|
|
29
|
+
[key: string]: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
export type ThemesOptions = Record<string, ThemeDefinition>;
|
|
32
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/types/theme.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAE1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IAGpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,MAAM,CAAA;IAGxB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IAGnB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,OAAO,CAAC,EAAE,MAAM,CAAA;IAGhB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type AriaCurrent, type AriaHaspopup, type AriaLive } from '../constants';
|
|
2
|
+
type AriaAttrs = Partial<Record<string, string>>;
|
|
3
|
+
export declare function ariaExpanded(value: boolean): AriaAttrs;
|
|
4
|
+
export declare function ariaHaspopup(value?: AriaHaspopup | boolean): AriaAttrs;
|
|
5
|
+
export declare function ariaControls(id: string | undefined): AriaAttrs;
|
|
6
|
+
export declare function ariaLabel(value: string | undefined): AriaAttrs;
|
|
7
|
+
export declare function ariaLabelledBy(id: string | undefined): AriaAttrs;
|
|
8
|
+
export declare function ariaDescribedBy(id: string | undefined): AriaAttrs;
|
|
9
|
+
export declare function ariaErrorMessage(id: string | undefined): AriaAttrs;
|
|
10
|
+
export declare function ariaHidden(value: boolean): AriaAttrs;
|
|
11
|
+
export declare function ariaDisabled(value: boolean | undefined): AriaAttrs;
|
|
12
|
+
export declare function ariaInvalid(value: boolean | undefined): AriaAttrs;
|
|
13
|
+
export declare function ariaReadonly(value: boolean | undefined): AriaAttrs;
|
|
14
|
+
export declare function ariaRequired(value: boolean | undefined): AriaAttrs;
|
|
15
|
+
export declare function ariaSelected(value: boolean | undefined): AriaAttrs;
|
|
16
|
+
export declare function ariaMultiselectable(value: boolean | undefined): AriaAttrs;
|
|
17
|
+
export declare function ariaLive(value: AriaLive): AriaAttrs;
|
|
18
|
+
export declare function ariaCurrent(value: AriaCurrent | boolean | undefined): AriaAttrs;
|
|
19
|
+
export declare function ariaPressed(value: boolean | undefined): AriaAttrs;
|
|
20
|
+
export declare function ariaChecked(value: boolean | 'mixed' | undefined): AriaAttrs;
|
|
21
|
+
export declare function ariaValue(opts: {
|
|
22
|
+
now?: number;
|
|
23
|
+
min?: number;
|
|
24
|
+
max?: number;
|
|
25
|
+
text?: string;
|
|
26
|
+
}): AriaAttrs;
|
|
27
|
+
export declare function ariaModal(value?: boolean): AriaAttrs;
|
|
28
|
+
export declare function ariaActiveDescendant(id: string | undefined): AriaAttrs;
|
|
29
|
+
export declare function ariaAutocomplete(value: 'none' | 'inline' | 'list' | 'both'): AriaAttrs;
|
|
30
|
+
export declare function ariaOrientation(value: 'horizontal' | 'vertical'): AriaAttrs;
|
|
31
|
+
export declare function ariaExpandable(expanded: boolean, opts?: {
|
|
32
|
+
haspopup?: AriaHaspopup | boolean;
|
|
33
|
+
controls?: string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ot":"","sources":["../../../../src/utils/compile-css-classes.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;AAEzD,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAEzC,UAAU,sBAAsB;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,cAAc,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,OAAO,CAAA;QACf,MAAM,CAAC,EAAE,OAAO,CAAA;KACnB,CAAA;CACJ;
|
|
1
|
+
{"version":3,"file":"compile-css-classes.d.ts","sourceRoot":"","sources":["../../../../src/utils/compile-css-classes.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;AAEzD,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAEzC,UAAU,sBAAsB;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,cAAc,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,OAAO,CAAA;QACf,MAAM,CAAC,EAAE,OAAO,CAAA;KACnB,CAAA;CACJ;AA6WD,wBAAgB,iBAAiB,CAC7B,KAAK,EAAE,gBAAgB,EACvB,OAAO,GAAE,sBAA2B,GACrC,MAAM,CAQR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-simple-functional.d.ts","sourceRoot":"","sources":["../../../../src/utils/create-simple-functional.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create-simple-functional.d.ts","sourceRoot":"","sources":["../../../../src/utils/create-simple-functional.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,KAAK,mBAAmB,EAG3B,MAAM,KAAK,CAAA;AAEZ,eAAO,MAAM,oBAAoB,GAAI,GAAG,MAAM,EAAE,WAAU,EAAE,OAAM,MAAW;;2OAe5E,CAAA;AAID,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,MAAc,GAAG,mBAAmB,CAoB/F"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './aria';
|
|
2
|
+
export * from './compile-css-classes';
|
|
2
3
|
export * from './convert-to-unit';
|
|
3
4
|
export * from './create-simple-functional';
|
|
4
5
|
export * from './globals';
|
|
5
|
-
export * from './
|
|
6
|
+
export * from './throttle';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"throttle.d.ts","sourceRoot":"","sources":["../../../../src/utils/throttle.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"throttle.d.ts","sourceRoot":"","sources":["../../../../src/utils/throttle.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,CAAC,SAAQ,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACrD,IAAI,EAAE,CAAC,EACP,KAAK,EAAE,MAAM,GACd,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CAmBlC"}
|