@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
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
.cursor {
|
|
2
|
+
&-default {
|
|
3
|
+
cursor: default;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&-pointer {
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&-wait {
|
|
11
|
+
cursor: wait;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-text {
|
|
15
|
+
cursor: text;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-move {
|
|
19
|
+
cursor: move;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-help {
|
|
23
|
+
cursor: help;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&-not-allowed {
|
|
27
|
+
cursor: not-allowed;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Selection cursors */
|
|
31
|
+
&-cell {
|
|
32
|
+
cursor: cell;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-crosshair {
|
|
36
|
+
cursor: crosshair;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-vertical-text {
|
|
40
|
+
cursor: vertical-text;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-alias {
|
|
44
|
+
cursor: alias;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&-copy {
|
|
48
|
+
cursor: copy;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-no-drop {
|
|
52
|
+
cursor: no-drop;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-grab {
|
|
56
|
+
cursor: grab;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&-grabbing {
|
|
60
|
+
cursor: grabbing;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Resize cursors - edges */
|
|
64
|
+
&-n-resize {
|
|
65
|
+
cursor: n-resize;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&-e-resize {
|
|
69
|
+
cursor: e-resize;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&-s-resize {
|
|
73
|
+
cursor: s-resize;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&-w-resize {
|
|
77
|
+
cursor: w-resize;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&-ne-resize {
|
|
81
|
+
cursor: ne-resize;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&-nw-resize {
|
|
85
|
+
cursor: nw-resize;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&-se-resize {
|
|
89
|
+
cursor: se-resize;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&-sw-resize {
|
|
93
|
+
cursor: sw-resize;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Resize cursors - directions (more specific) */
|
|
97
|
+
&-ew-resize {
|
|
98
|
+
cursor: ew-resize;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&-ns-resize {
|
|
102
|
+
cursor: ns-resize;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&-nesw-resize {
|
|
106
|
+
cursor: nesw-resize;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&-nwse-resize {
|
|
110
|
+
cursor: nwse-resize;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Zoom cursors */
|
|
114
|
+
&-zoom-in {
|
|
115
|
+
cursor: zoom-in;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&-zoom-out {
|
|
119
|
+
cursor: zoom-out;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* Context menus */
|
|
123
|
+
&-context-menu {
|
|
124
|
+
cursor: context-menu;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Progress indicator */
|
|
128
|
+
&-progress {
|
|
129
|
+
cursor: progress;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* Col-resize (for table columns) */
|
|
133
|
+
&-col-resize {
|
|
134
|
+
cursor: col-resize;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&-row-resize {
|
|
138
|
+
cursor: row-resize;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@use "../maps/grids" as *;
|
|
2
|
+
|
|
3
|
+
.d-none { display: none !important; }
|
|
4
|
+
.d-block { display: block !important; }
|
|
5
|
+
.d-inline { display: inline !important; }
|
|
6
|
+
.d-inline-block { display: inline-block !important; }
|
|
7
|
+
.d-flex { display: flex !important; }
|
|
8
|
+
.d-inline-flex { display: inline-flex !important; }
|
|
9
|
+
.d-grid { display: grid !important; }
|
|
10
|
+
.d-inline-grid { display: inline-grid !important; }
|
|
11
|
+
.d-table { display: table !important; }
|
|
12
|
+
.d-table-row { display: table-row !important; }
|
|
13
|
+
.d-table-cell { display: table-cell !important; }
|
|
14
|
+
.d-contents { display: contents !important; }
|
|
15
|
+
|
|
16
|
+
@each $size, $breakpoint in $grid-breakpoints {
|
|
17
|
+
@if $breakpoint != 0 {
|
|
18
|
+
@media (min-width: $breakpoint) {
|
|
19
|
+
.#{$size}\:d-none { display: none !important; }
|
|
20
|
+
.#{$size}\:d-block { display: block !important; }
|
|
21
|
+
.#{$size}\:d-inline { display: inline !important; }
|
|
22
|
+
.#{$size}\:d-inline-block { display: inline-block !important; }
|
|
23
|
+
.#{$size}\:d-flex { display: flex !important; }
|
|
24
|
+
.#{$size}\:d-inline-flex { display: inline-flex !important; }
|
|
25
|
+
.#{$size}\:d-grid { display: grid !important; }
|
|
26
|
+
.#{$size}\:d-inline-grid { display: inline-grid !important; }
|
|
27
|
+
.#{$size}\:d-table { display: table !important; }
|
|
28
|
+
.#{$size}\:d-table-cell { display: table-cell !important; }
|
|
29
|
+
.#{$size}\:d-contents { display: contents !important; }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use "../maps/elevations-map" as *;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
|
|
4
|
+
@mixin elevation($z, $important: false) {
|
|
5
|
+
box-shadow: map.get($shadow-key-umbra, $z), map.get($shadow-key-penumbra, $z), map.get($shadow-key-ambient, $z) if(sass($important): !important)
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
$z: 24;
|
|
9
|
+
@while $z >= 0 {
|
|
10
|
+
.elevation-#{$z} {
|
|
11
|
+
@include elevation($z, $important: true);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
$z: $z - 1;
|
|
15
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
@use "../maps/grids" as *;
|
|
2
|
+
@use "../maps/flexes-map" as *;
|
|
3
|
+
@use "sass:map";
|
|
4
|
+
|
|
5
|
+
.d-flex {
|
|
6
|
+
display: flex !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.d-inline-flex {
|
|
10
|
+
display: inline-flex !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.flex-row {
|
|
14
|
+
flex-direction: row !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.flex-col {
|
|
18
|
+
flex-direction: column !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.flex-wrap {
|
|
22
|
+
flex-wrap: wrap !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.flex-nowrap {
|
|
26
|
+
flex-wrap: nowrap !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.flex-wrap-reverse{
|
|
30
|
+
flex-wrap: wrap-reverse !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@each $key in map.keys($justify) {
|
|
34
|
+
.justify-#{$key} {
|
|
35
|
+
justify-content: map.get($justify, $key) !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.content-#{$key} {
|
|
39
|
+
align-content: map.get($justify, $key) !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@each $key in map.keys($align) {
|
|
44
|
+
.items-#{$key} {
|
|
45
|
+
align-items: map.get($align, $key) !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.self-#{$key} {
|
|
49
|
+
align-self: map.get($align, $key) !important;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@for $i from 1 through $columns {
|
|
54
|
+
.order-#{$i} {
|
|
55
|
+
order: $i !important;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@for $i from 0 through $flex-grow-step {
|
|
60
|
+
.grow-#{$i} {
|
|
61
|
+
flex-grow: $i !important;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@for $i from 0 through $flex-shrink-step {
|
|
66
|
+
.shrink-#{$i} {
|
|
67
|
+
flex-shrink: $i !important;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@each $size, $breakpoint in $grid-breakpoints {
|
|
72
|
+
@if $breakpoint != 0 {
|
|
73
|
+
@media (min-width: $breakpoint) {
|
|
74
|
+
.#{$size}\:d-flex {
|
|
75
|
+
display: flex !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.#{$size}\:d-inline-flex {
|
|
79
|
+
display: inline-flex !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.#{$size}\:flex-row {
|
|
83
|
+
flex-direction: row !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.#{$size}\:flex-col {
|
|
87
|
+
flex-direction: column !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.#{$size}\:flex-wrap {
|
|
91
|
+
flex-wrap: wrap !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.#{$size}\:flex-nowrap {
|
|
95
|
+
flex-wrap: nowrap !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@each $key in map.keys($justify) {
|
|
99
|
+
.#{$size}\:justify-#{$key} {
|
|
100
|
+
justify-content: map.get($justify, $key) !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.#{$size}\:content-#{$key} {
|
|
104
|
+
align-content: map.get($justify, $key) !important;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@each $key in map.keys($align) {
|
|
109
|
+
.#{$size}\:items-#{$key} {
|
|
110
|
+
align-items: map.get($align, $key) !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.#{$size}\:self-#{$key} {
|
|
114
|
+
align-self: map.get($align, $key) !important;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@for $i from 1 through $columns {
|
|
119
|
+
.#{$size}\:order-#{$i} {
|
|
120
|
+
order: $i !important;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@for $i from 0 through $flex-grow-step {
|
|
125
|
+
.#{$size}\:grow-#{$i} {
|
|
126
|
+
flex-grow: $i !important;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@for $i from 0 through $flex-shrink-step {
|
|
131
|
+
.#{$size}\:shrink-#{$i} {
|
|
132
|
+
flex-shrink: $i !important;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
@use "../maps/grids" as *;
|
|
2
|
+
|
|
3
|
+
$grid-cols-count: $columns;
|
|
4
|
+
$grid-rows-count: 6;
|
|
5
|
+
|
|
6
|
+
// ─── grid-template-columns ───────────────────────────────────────────────────
|
|
7
|
+
|
|
8
|
+
@for $i from 1 through $grid-cols-count {
|
|
9
|
+
.grid-cols-#{$i} {
|
|
10
|
+
grid-template-columns: repeat(#{$i}, minmax(0, 1fr)) !important;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.grid-cols-none { grid-template-columns: none !important; }
|
|
15
|
+
|
|
16
|
+
// ─── grid-template-rows ──────────────────────────────────────────────────────
|
|
17
|
+
|
|
18
|
+
@for $i from 1 through $grid-rows-count {
|
|
19
|
+
.grid-rows-#{$i} {
|
|
20
|
+
grid-template-rows: repeat(#{$i}, minmax(0, 1fr)) !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.grid-rows-none { grid-template-rows: none !important; }
|
|
25
|
+
|
|
26
|
+
// ─── col-span ────────────────────────────────────────────────────────────────
|
|
27
|
+
|
|
28
|
+
@for $i from 1 through $grid-cols-count {
|
|
29
|
+
.col-span-#{$i} {
|
|
30
|
+
grid-column: span #{$i} / span #{$i} !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.col-span-full { grid-column: 1 / -1 !important; }
|
|
35
|
+
|
|
36
|
+
// ─── row-span ────────────────────────────────────────────────────────────────
|
|
37
|
+
|
|
38
|
+
@for $i from 1 through $grid-rows-count {
|
|
39
|
+
.row-span-#{$i} {
|
|
40
|
+
grid-row: span #{$i} / span #{$i} !important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.row-span-full { grid-row: 1 / -1 !important; }
|
|
45
|
+
|
|
46
|
+
// ─── col-start / col-end ─────────────────────────────────────────────────────
|
|
47
|
+
|
|
48
|
+
@for $i from 1 through ($grid-cols-count + 1) {
|
|
49
|
+
.col-start-#{$i} { grid-column-start: #{$i} !important; }
|
|
50
|
+
.col-end-#{$i} { grid-column-end: #{$i} !important; }
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.col-start-auto { grid-column-start: auto !important; }
|
|
54
|
+
.col-end-auto { grid-column-end: auto !important; }
|
|
55
|
+
|
|
56
|
+
// ─── row-start / row-end ─────────────────────────────────────────────────────
|
|
57
|
+
|
|
58
|
+
@for $i from 1 through ($grid-rows-count + 1) {
|
|
59
|
+
.row-start-#{$i} { grid-row-start: #{$i} !important; }
|
|
60
|
+
.row-end-#{$i} { grid-row-end: #{$i} !important; }
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.row-start-auto { grid-row-start: auto !important; }
|
|
64
|
+
.row-end-auto { grid-row-end: auto !important; }
|
|
65
|
+
|
|
66
|
+
// ─── grid-auto-flow ──────────────────────────────────────────────────────────
|
|
67
|
+
|
|
68
|
+
.grid-flow-row { grid-auto-flow: row !important; }
|
|
69
|
+
.grid-flow-col { grid-auto-flow: column !important; }
|
|
70
|
+
.grid-flow-dense { grid-auto-flow: dense !important; }
|
|
71
|
+
.grid-flow-row-dense { grid-auto-flow: row dense !important; }
|
|
72
|
+
.grid-flow-col-dense { grid-auto-flow: column dense !important; }
|
|
73
|
+
|
|
74
|
+
// ─── grid-auto-columns ───────────────────────────────────────────────────────
|
|
75
|
+
|
|
76
|
+
.auto-cols-auto { grid-auto-columns: auto !important; }
|
|
77
|
+
.auto-cols-min { grid-auto-columns: min-content !important; }
|
|
78
|
+
.auto-cols-max { grid-auto-columns: max-content !important; }
|
|
79
|
+
.auto-cols-fr { grid-auto-columns: minmax(0, 1fr) !important; }
|
|
80
|
+
|
|
81
|
+
// ─── grid-auto-rows ──────────────────────────────────────────────────────────
|
|
82
|
+
|
|
83
|
+
.auto-rows-auto { grid-auto-rows: auto !important; }
|
|
84
|
+
.auto-rows-min { grid-auto-rows: min-content !important; }
|
|
85
|
+
.auto-rows-max { grid-auto-rows: max-content !important; }
|
|
86
|
+
.auto-rows-fr { grid-auto-rows: minmax(0, 1fr) !important; }
|
|
87
|
+
|
|
88
|
+
// ─── place-items ─────────────────────────────────────────────────────────────
|
|
89
|
+
|
|
90
|
+
.place-items-start { place-items: start !important; }
|
|
91
|
+
.place-items-end { place-items: end !important; }
|
|
92
|
+
.place-items-center { place-items: center !important; }
|
|
93
|
+
.place-items-stretch { place-items: stretch !important; }
|
|
94
|
+
.place-items-baseline { place-items: baseline !important; }
|
|
95
|
+
|
|
96
|
+
// ─── place-content ───────────────────────────────────────────────────────────
|
|
97
|
+
|
|
98
|
+
.place-content-start { place-content: start !important; }
|
|
99
|
+
.place-content-end { place-content: end !important; }
|
|
100
|
+
.place-content-center { place-content: center !important; }
|
|
101
|
+
.place-content-stretch { place-content: stretch !important; }
|
|
102
|
+
.place-content-between { place-content: space-between !important; }
|
|
103
|
+
.place-content-around { place-content: space-around !important; }
|
|
104
|
+
.place-content-evenly { place-content: space-evenly !important; }
|
|
105
|
+
|
|
106
|
+
// ─── place-self ──────────────────────────────────────────────────────────────
|
|
107
|
+
|
|
108
|
+
.place-self-auto { place-self: auto !important; }
|
|
109
|
+
.place-self-start { place-self: start !important; }
|
|
110
|
+
.place-self-end { place-self: end !important; }
|
|
111
|
+
.place-self-center { place-self: center !important; }
|
|
112
|
+
.place-self-stretch { place-self: stretch !important; }
|
|
113
|
+
|
|
114
|
+
// ─── Responsive variants ─────────────────────────────────────────────────────
|
|
115
|
+
|
|
116
|
+
@each $size, $breakpoint in $grid-breakpoints {
|
|
117
|
+
@if $breakpoint != 0 {
|
|
118
|
+
@media (min-width: $breakpoint) {
|
|
119
|
+
|
|
120
|
+
@for $i from 1 through $grid-cols-count {
|
|
121
|
+
.#{$size}\:grid-cols-#{$i} {
|
|
122
|
+
grid-template-columns: repeat(#{$i}, minmax(0, 1fr)) !important;
|
|
123
|
+
}
|
|
124
|
+
.#{$size}\:col-span-#{$i} {
|
|
125
|
+
grid-column: span #{$i} / span #{$i} !important;
|
|
126
|
+
}
|
|
127
|
+
.#{$size}\:col-start-#{$i} { grid-column-start: #{$i} !important; }
|
|
128
|
+
.#{$size}\:col-end-#{$i} { grid-column-end: #{$i} !important; }
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.#{$size}\:grid-cols-none { grid-template-columns: none !important; }
|
|
132
|
+
.#{$size}\:col-span-full { grid-column: 1 / -1 !important; }
|
|
133
|
+
|
|
134
|
+
@for $i from 1 through $grid-rows-count {
|
|
135
|
+
.#{$size}\:grid-rows-#{$i} {
|
|
136
|
+
grid-template-rows: repeat(#{$i}, minmax(0, 1fr)) !important;
|
|
137
|
+
}
|
|
138
|
+
.#{$size}\:row-span-#{$i} {
|
|
139
|
+
grid-row: span #{$i} / span #{$i} !important;
|
|
140
|
+
}
|
|
141
|
+
.#{$size}\:row-start-#{$i} { grid-row-start: #{$i} !important; }
|
|
142
|
+
.#{$size}\:row-end-#{$i} { grid-row-end: #{$i} !important; }
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.#{$size}\:grid-rows-none { grid-template-rows: none !important; }
|
|
146
|
+
.#{$size}\:row-span-full { grid-row: 1 / -1 !important; }
|
|
147
|
+
|
|
148
|
+
.#{$size}\:grid-flow-row { grid-auto-flow: row !important; }
|
|
149
|
+
.#{$size}\:grid-flow-col { grid-auto-flow: column !important; }
|
|
150
|
+
.#{$size}\:grid-flow-dense { grid-auto-flow: dense !important; }
|
|
151
|
+
.#{$size}\:grid-flow-row-dense { grid-auto-flow: row dense !important; }
|
|
152
|
+
.#{$size}\:grid-flow-col-dense { grid-auto-flow: column dense !important; }
|
|
153
|
+
|
|
154
|
+
.#{$size}\:place-items-start { place-items: start !important; }
|
|
155
|
+
.#{$size}\:place-items-end { place-items: end !important; }
|
|
156
|
+
.#{$size}\:place-items-center { place-items: center !important; }
|
|
157
|
+
.#{$size}\:place-items-stretch { place-items: stretch !important; }
|
|
158
|
+
|
|
159
|
+
.#{$size}\:place-content-start { place-content: start !important; }
|
|
160
|
+
.#{$size}\:place-content-end { place-content: end !important; }
|
|
161
|
+
.#{$size}\:place-content-center { place-content: center !important; }
|
|
162
|
+
.#{$size}\:place-content-stretch { place-content: stretch !important; }
|
|
163
|
+
.#{$size}\:place-content-between { place-content: space-between !important; }
|
|
164
|
+
.#{$size}\:place-content-around { place-content: space-around !important; }
|
|
165
|
+
|
|
166
|
+
.#{$size}\:place-self-auto { place-self: auto !important; }
|
|
167
|
+
.#{$size}\:place-self-start { place-self: start !important; }
|
|
168
|
+
.#{$size}\:place-self-end { place-self: end !important; }
|
|
169
|
+
.#{$size}\:place-self-center { place-self: center !important; }
|
|
170
|
+
.#{$size}\:place-self-stretch { place-self: stretch !important; }
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Visually hidden (accessibility)
|
|
2
|
+
.sr-only {
|
|
3
|
+
position: absolute !important;
|
|
4
|
+
width: 1px !important;
|
|
5
|
+
height: 1px !important;
|
|
6
|
+
padding: 0 !important;
|
|
7
|
+
margin: -1px !important;
|
|
8
|
+
overflow: hidden !important;
|
|
9
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
10
|
+
white-space: nowrap !important;
|
|
11
|
+
border: 0 !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// Visibility
|
|
15
|
+
.visible { visibility: visible !important; }
|
|
16
|
+
.invisible { visibility: hidden !important; }
|
|
17
|
+
|
|
18
|
+
// Pointer events
|
|
19
|
+
.pointer-events-none { pointer-events: none !important; }
|
|
20
|
+
.pointer-events-auto { pointer-events: auto !important; }
|
|
21
|
+
|
|
22
|
+
// User select
|
|
23
|
+
.select-none { user-select: none !important; }
|
|
24
|
+
.select-text { user-select: text !important; }
|
|
25
|
+
.select-all { user-select: all !important; }
|
|
26
|
+
.select-auto { user-select: auto !important; }
|
|
27
|
+
|
|
28
|
+
// Object fit
|
|
29
|
+
.object-contain { object-fit: contain !important; }
|
|
30
|
+
.object-cover { object-fit: cover !important; }
|
|
31
|
+
.object-fill { object-fit: fill !important; }
|
|
32
|
+
.object-none { object-fit: none !important; }
|
|
33
|
+
|
|
34
|
+
// Aspect ratio
|
|
35
|
+
.aspect-square { aspect-ratio: 1 / 1 !important; }
|
|
36
|
+
.aspect-video { aspect-ratio: 16 / 9 !important; }
|
|
37
|
+
.aspect-auto { aspect-ratio: auto !important; }
|
|
38
|
+
|
|
39
|
+
// Truncate multi-line
|
|
40
|
+
@for $i from 1 through 5 {
|
|
41
|
+
.line-clamp-#{$i} {
|
|
42
|
+
display: -webkit-box !important;
|
|
43
|
+
-webkit-line-clamp: #{$i} !important;
|
|
44
|
+
-webkit-box-orient: vertical !important;
|
|
45
|
+
overflow: hidden !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.overflow-hidden {
|
|
2
|
+
overflow: hidden !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.overflow-auto {
|
|
6
|
+
overflow: auto !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.overflow-visible {
|
|
10
|
+
overflow: visible !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.overflow-scroll {
|
|
14
|
+
overflow: scroll !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.overflow-x-auto {
|
|
18
|
+
overflow-x: auto !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.overflow-y-auto {
|
|
22
|
+
overflow-y: auto !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.overflow-x-hidden {
|
|
26
|
+
overflow-x: hidden !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.overflow-y-hidden {
|
|
30
|
+
overflow-y: hidden !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.overflow-x-scroll {
|
|
34
|
+
overflow-x: scroll !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.overflow-y-scroll {
|
|
38
|
+
overflow-y: scroll !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.overflow-clip {
|
|
42
|
+
overflow: clip !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.overflow-x-clip {
|
|
46
|
+
overflow-x: clip !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.overflow-y-clip {
|
|
50
|
+
overflow-y: clip !important;
|
|
51
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@use "../maps/grids" as *;
|
|
2
|
+
|
|
3
|
+
// Position
|
|
4
|
+
.static { position: static !important; }
|
|
5
|
+
.relative { position: relative !important; }
|
|
6
|
+
.absolute { position: absolute !important; }
|
|
7
|
+
.fixed { position: fixed !important; }
|
|
8
|
+
.sticky { position: sticky !important; }
|
|
9
|
+
|
|
10
|
+
// Inset
|
|
11
|
+
.inset-0 { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; }
|
|
12
|
+
.inset-auto { top: auto !important; right: auto !important; bottom: auto !important; left: auto !important; }
|
|
13
|
+
|
|
14
|
+
// Top / Bottom / Left / Right
|
|
15
|
+
.top-0 { top: 0 !important; }
|
|
16
|
+
.top-auto { top: auto !important; }
|
|
17
|
+
.top-50 { top: 50% !important; }
|
|
18
|
+
.top-100 { top: 100% !important; }
|
|
19
|
+
|
|
20
|
+
.bottom-0 { bottom: 0 !important; }
|
|
21
|
+
.bottom-auto { bottom: auto !important; }
|
|
22
|
+
.bottom-50 { bottom: 50% !important; }
|
|
23
|
+
.bottom-100 { bottom: 100% !important; }
|
|
24
|
+
|
|
25
|
+
.left-0 { left: 0 !important; }
|
|
26
|
+
.left-auto { left: auto !important; }
|
|
27
|
+
.left-50 { left: 50% !important; }
|
|
28
|
+
.left-100 { left: 100% !important; }
|
|
29
|
+
|
|
30
|
+
.right-0 { right: 0 !important; }
|
|
31
|
+
.right-auto { right: auto !important; }
|
|
32
|
+
.right-50 { right: 50% !important; }
|
|
33
|
+
.right-100 { right: 100% !important; }
|
|
34
|
+
|
|
35
|
+
// Z-index — произвольные значения через JIT: z-[100]
|
|
36
|
+
$z-levels: 0, 1, 2, 3, 4, 5, 10, 50;
|
|
37
|
+
|
|
38
|
+
@each $z in $z-levels {
|
|
39
|
+
.z-#{$z} { z-index: $z !important; }
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.z-auto { z-index: auto !important; }
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
$radius-scale: (
|
|
2
|
+
0: 0,
|
|
3
|
+
2: 2px,
|
|
4
|
+
4: 4px,
|
|
5
|
+
6: 6px,
|
|
6
|
+
8: 8px,
|
|
7
|
+
12: 12px,
|
|
8
|
+
16: 16px,
|
|
9
|
+
24: 24px,
|
|
10
|
+
32: 32px
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
@each $key, $value in $radius-scale {
|
|
14
|
+
.radius-#{$key} {
|
|
15
|
+
border-radius: #{$value} !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.radius-tl-#{$key} {
|
|
19
|
+
border-top-left-radius: #{$value} !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.radius-tr-#{$key} {
|
|
23
|
+
border-top-right-radius: #{$value} !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.radius-bl-#{$key} {
|
|
27
|
+
border-bottom-left-radius: #{$value} !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.radius-br-#{$key} {
|
|
31
|
+
border-bottom-right-radius: #{$value} !important;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.radius-pill {
|
|
36
|
+
border-radius: 9999px !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.radius-circle {
|
|
40
|
+
border-radius: 50% !important;
|
|
41
|
+
}
|