vueless 0.0.477-beta.0 → 0.0.477
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/composables/useBreakpoint.js +1 -1
- package/composables/useUI.js +1 -204
- package/constants.js +1 -2
- package/directives/clickOutside/vClickOutside.js +2 -2
- package/directives/tooltip/storybook/stories.js +5 -5
- package/{index.ts → index.js} +6 -9
- package/package.json +17 -28
- package/preset.tailwind.js +7 -16
- package/ui.button/config.js +0 -12
- package/ui.button-link/ULink.vue +1 -1
- package/ui.button-link/config.js +0 -9
- package/ui.data-list/UDataList.vue +4 -4
- package/ui.dropdown-badge/config.js +0 -1
- package/ui.dropdown-button/config.js +0 -1
- package/ui.form-checkbox/config.js +0 -9
- package/ui.form-color-picker/config.js +0 -7
- package/ui.form-input/UInput.vue +1 -1
- package/ui.form-input-money/useFormatCurrency.js +1 -1
- package/ui.form-input-number/UInputNumber.vue +3 -4
- package/ui.form-label/config.js +2 -2
- package/ui.form-radio/config.js +0 -6
- package/ui.form-switch/config.js +0 -6
- package/ui.image-avatar/config.js +0 -5
- package/ui.image-icon/config.js +0 -5
- package/ui.loader/config.js +0 -1
- package/ui.loader-overlay/config.js +0 -1
- package/ui.loader-progress/config.js +0 -1
- package/ui.navigation-progress/config.js +0 -9
- package/ui.other-dot/config.js +0 -1
- package/ui.text-alert/config.js +0 -7
- package/ui.text-badge/config.js +0 -8
- package/ui.text-block/UText.vue +62 -18
- package/ui.text-block/storybook/Docs.mdx +2 -2
- package/ui.text-block/storybook/{stories.ts → stories.js} +7 -12
- package/ui.text-block/useAttrs.js +15 -0
- package/ui.text-file/UFile.vue +14 -12
- package/ui.text-file/config.js +2 -12
- package/ui.text-files/config.js +1 -1
- package/ui.text-header/config.js +0 -1
- package/ui.text-money/config.js +0 -1
- package/ui.text-money/utilMoney.js +2 -2
- package/{utilsTs/utilTheme.ts → utils/utilTheme.js} +27 -31
- package/utils/utilUI.js +204 -0
- package/web-types.json +120 -30
- package/adatper.locale/locales/en.d.ts +0 -289
- package/adatper.locale/vue-i18n.d.ts +0 -9
- package/adatper.locale/vueless.d.ts +0 -11
- package/composables/useAutoPosition.d.ts +0 -15
- package/composables/useBreakpoint.d.ts +0 -7
- package/composables/useLocale.d.ts +0 -3
- package/composables/useMutationObserver.d.ts +0 -7
- package/composables/useUI.d.ts +0 -17
- package/composablesTs/useAutoPosition.d.ts +0 -28
- package/composablesTs/useAutoPosition.ts +0 -115
- package/composablesTs/useBreakpoint.d.ts +0 -7
- package/composablesTs/useBreakpoint.ts +0 -106
- package/composablesTs/useLocale.d.ts +0 -3
- package/composablesTs/useLocale.ts +0 -25
- package/composablesTs/useMutationObserver.d.ts +0 -8
- package/composablesTs/useMutationObserver.ts +0 -50
- package/composablesTs/useUI.d.ts +0 -68
- package/composablesTs/useUI.ts +0 -566
- package/constants.d.ts +0 -42
- package/constants.ts +0 -73
- package/directives/clickOutside/storybook/stories.d.ts +0 -653
- package/directives/clickOutside/vClickOutside.d.ts +0 -6
- package/directives/index.d.ts +0 -2
- package/directives/tooltip/storybook/stories.d.ts +0 -252
- package/directives/tooltip/vTooltip.d.ts +0 -6
- package/index.d.ts +0 -15
- package/preset.tailwind.d.ts +0 -69
- package/types.d.ts +0 -131
- package/types.ts +0 -218
- package/ui.button/UButton.vue.d.ts +0 -73
- package/ui.button/config.d.ts +0 -130
- package/ui.button/constants.d.ts +0 -1
- package/ui.button/storybook/stories.d.ts +0 -3062
- package/ui.button/useAttrs.d.ts +0 -11
- package/ui.button-link/ULink.vue.d.ts +0 -66
- package/ui.button-link/config.d.ts +0 -101
- package/ui.button-link/constants.d.ts +0 -1
- package/ui.button-link/storybook/stories.d.ts +0 -4567
- package/ui.button-link/useAttrs.d.ts +0 -14
- package/ui.button-toggle/UToggle.vue.d.ts +0 -50
- package/ui.button-toggle/config.d.ts +0 -65
- package/ui.button-toggle/constants.d.ts +0 -3
- package/ui.button-toggle/storybook/stories.d.ts +0 -2683
- package/ui.button-toggle/useAttrs.d.ts +0 -11
- package/ui.button-toggle-item/UToggleItem.vue.d.ts +0 -36
- package/ui.button-toggle-item/config.d.ts +0 -41
- package/ui.button-toggle-item/constants.d.ts +0 -1
- package/ui.button-toggle-item/storybook/stories.d.ts +0 -495
- package/ui.button-toggle-item/useAttrs.d.ts +0 -15
- package/ui.container-accordion/UAccordion.vue.d.ts +0 -32
- package/ui.container-accordion/config.d.ts +0 -40
- package/ui.container-accordion/constants.d.ts +0 -1
- package/ui.container-accordion/storybook/stories.d.ts +0 -732
- package/ui.container-accordion/useAttrs.d.ts +0 -13
- package/ui.container-card/UCard.vue.d.ts +0 -31
- package/ui.container-card/config.d.ts +0 -13
- package/ui.container-card/constants.d.ts +0 -1
- package/ui.container-card/storybook/stories.d.ts +0 -3906
- package/ui.container-card/useAttrs.d.ts +0 -11
- package/ui.container-col/UCol.vue.d.ts +0 -33
- package/ui.container-col/config.d.ts +0 -81
- package/ui.container-col/constants.d.ts +0 -1
- package/ui.container-col/storybook/stories.d.ts +0 -840
- package/ui.container-col/useAttrs.d.ts +0 -11
- package/ui.container-divider/UDivider.vue.d.ts +0 -25
- package/ui.container-divider/config.d.ts +0 -102
- package/ui.container-divider/constants.d.ts +0 -1
- package/ui.container-divider/storybook/stories.d.ts +0 -577
- package/ui.container-divider/useAttrs.d.ts +0 -11
- package/ui.container-group/UGroup.vue.d.ts +0 -33
- package/ui.container-group/config.d.ts +0 -38
- package/ui.container-group/constants.d.ts +0 -1
- package/ui.container-group/storybook/stories.d.ts +0 -2869
- package/ui.container-group/useAttrs.d.ts +0 -11
- package/ui.container-modal/UModal.vue.d.ts +0 -59
- package/ui.container-modal/config.d.ts +0 -77
- package/ui.container-modal/constants.d.ts +0 -1
- package/ui.container-modal/storybook/stories.d.ts +0 -8377
- package/ui.container-modal/useAttrs.d.ts +0 -11
- package/ui.container-modal-confirm/UModalConfirm.vue.d.ts +0 -59
- package/ui.container-modal-confirm/config.d.ts +0 -23
- package/ui.container-modal-confirm/constants.d.ts +0 -1
- package/ui.container-modal-confirm/storybook/stories.d.ts +0 -4494
- package/ui.container-modal-confirm/useAttrs.d.ts +0 -11
- package/ui.container-page/UPage.vue.d.ts +0 -47
- package/ui.container-page/config.d.ts +0 -85
- package/ui.container-page/constants.d.ts +0 -1
- package/ui.container-page/storybook/stories.d.ts +0 -8723
- package/ui.container-page/useAttrs.d.ts +0 -13
- package/ui.container-row/URow.vue.d.ts +0 -35
- package/ui.container-row/config.d.ts +0 -85
- package/ui.container-row/constants.d.ts +0 -1
- package/ui.container-row/storybook/stories.d.ts +0 -2619
- package/ui.container-row/useAttrs.d.ts +0 -11
- package/ui.data-list/UDataList.vue.d.ts +0 -74
- package/ui.data-list/config.d.ts +0 -48
- package/ui.data-list/constants.d.ts +0 -1
- package/ui.data-list/storybook/stories.d.ts +0 -3342
- package/ui.data-list/useAttrs.d.ts +0 -11
- package/ui.data-table/UTable.vue.d.ts +0 -90
- package/ui.data-table/UTableRow.vue.d.ts +0 -61
- package/ui.data-table/config.d.ts +0 -128
- package/ui.data-table/constants.d.ts +0 -1
- package/ui.data-table/storybook/stories.d.ts +0 -13069
- package/ui.data-table/useAttrs.d.ts +0 -17
- package/ui.data-table/utilTable.d.ts +0 -9
- package/ui.dropdown-badge/UDropdownBadge.vue.d.ts +0 -145
- package/ui.dropdown-badge/config.d.ts +0 -39
- package/ui.dropdown-badge/constants.d.ts +0 -1
- package/ui.dropdown-badge/storybook/stories.d.ts +0 -1246
- package/ui.dropdown-badge/useAttrs.d.ts +0 -13
- package/ui.dropdown-button/UDropdownButton.vue.d.ts +0 -151
- package/ui.dropdown-button/config.d.ts +0 -52
- package/ui.dropdown-button/constants.d.ts +0 -4
- package/ui.dropdown-button/storybook/stories.d.ts +0 -1912
- package/ui.dropdown-button/useAttrs.d.ts +0 -13
- package/ui.dropdown-link/UDropdownLink.vue.d.ts +0 -149
- package/ui.dropdown-link/config.d.ts +0 -37
- package/ui.dropdown-link/constants.d.ts +0 -1
- package/ui.dropdown-link/storybook/stories.d.ts +0 -1333
- package/ui.dropdown-link/useAttrs.d.ts +0 -13
- package/ui.dropdown-list/UDropdownList.vue.d.ts +0 -59
- package/ui.dropdown-list/config.d.ts +0 -77
- package/ui.dropdown-list/constants.d.ts +0 -1
- package/ui.dropdown-list/storybook/stories.d.ts +0 -783
- package/ui.dropdown-list/useAttrs.d.ts +0 -11
- package/ui.dropdown-list/usePointer.d.ts +0 -8
- package/ui.form-calendar/UCalendar.vue.d.ts +0 -31
- package/ui.form-calendar/UCalendarDayView.vue.d.ts +0 -26
- package/ui.form-calendar/UCalendarMonthView.vue.d.ts +0 -26
- package/ui.form-calendar/UCalendarYearView.vue.d.ts +0 -26
- package/ui.form-calendar/config.d.ts +0 -207
- package/ui.form-calendar/constants.d.ts +0 -66
- package/ui.form-calendar/storybook/stories.d.ts +0 -262
- package/ui.form-calendar/useAttrs.d.ts +0 -11
- package/ui.form-calendar/utilCalendar.d.ts +0 -8
- package/ui.form-calendar/utilDate.d.ts +0 -30
- package/ui.form-calendar/utilFormatting.d.ts +0 -68
- package/ui.form-checkbox/UCheckbox.vue.d.ts +0 -50
- package/ui.form-checkbox/config.d.ts +0 -67
- package/ui.form-checkbox/constants.d.ts +0 -1
- package/ui.form-checkbox/storybook/stories.d.ts +0 -1589
- package/ui.form-checkbox/useAttrs.d.ts +0 -14
- package/ui.form-checkbox-group/UCheckboxGroup.vue.d.ts +0 -40
- package/ui.form-checkbox-group/config.d.ts +0 -21
- package/ui.form-checkbox-group/constants.d.ts +0 -1
- package/ui.form-checkbox-group/storybook/stories.d.ts +0 -2441
- package/ui.form-checkbox-group/useAttrs.d.ts +0 -11
- package/ui.form-checkbox-multi-state/UCheckboxMultiState.vue.d.ts +0 -24
- package/ui.form-checkbox-multi-state/config.d.ts +0 -10
- package/ui.form-checkbox-multi-state/constants.d.ts +0 -1
- package/ui.form-checkbox-multi-state/storybook/stories.d.ts +0 -187
- package/ui.form-checkbox-multi-state/useAttrs.d.ts +0 -13
- package/ui.form-color-picker/UColorPicker.vue.d.ts +0 -28
- package/ui.form-color-picker/config.d.ts +0 -42
- package/ui.form-color-picker/constants.d.ts +0 -1
- package/ui.form-color-picker/storybook/stories.d.ts +0 -316
- package/ui.form-color-picker/useAttrs.d.ts +0 -11
- package/ui.form-date-picker/UDatePicker.vue.d.ts +0 -135
- package/ui.form-date-picker/config.d.ts +0 -184
- package/ui.form-date-picker/constants.d.ts +0 -1
- package/ui.form-date-picker/index.d.ts +0 -1
- package/ui.form-date-picker/storybook/stories.d.ts +0 -3242
- package/ui.form-date-picker/useAttrs.d.ts +0 -14
- package/ui.form-date-picker-range/UDatePickerRange.vue.d.ts +0 -545
- package/ui.form-date-picker-range/UDatePickerRangeInputs.vue.d.ts +0 -6
- package/ui.form-date-picker-range/UDatePickerRangePeriodMenu.vue.d.ts +0 -7
- package/ui.form-date-picker-range/config.d.ts +0 -265
- package/ui.form-date-picker-range/constants.d.ts +0 -20
- package/ui.form-date-picker-range/storybook/stories.d.ts +0 -5545
- package/ui.form-date-picker-range/useAttrs.d.ts +0 -17
- package/ui.form-date-picker-range/useUserFormat.d.ts +0 -3
- package/ui.form-date-picker-range/utilDateRange.d.ts +0 -20
- package/ui.form-date-picker-range/utilValidation.d.ts +0 -3
- package/ui.form-input/UInput.vue.d.ts +0 -59
- package/ui.form-input/config.d.ts +0 -59
- package/ui.form-input/constants.d.ts +0 -1
- package/ui.form-input/storybook/stories.d.ts +0 -5734
- package/ui.form-input/useAttrs.d.ts +0 -11
- package/ui.form-input-file/UInputFile.vue.d.ts +0 -57
- package/ui.form-input-file/config.d.ts +0 -94
- package/ui.form-input-file/constants.d.ts +0 -1
- package/ui.form-input-file/storybook/stories.d.ts +0 -1116
- package/ui.form-input-file/useAttrs.d.ts +0 -11
- package/ui.form-input-file/utilFileForm.d.ts +0 -1
- package/ui.form-input-money/UInputMoney.vue.d.ts +0 -183
- package/ui.form-input-money/config.d.ts +0 -17
- package/ui.form-input-money/constants.d.ts +0 -1
- package/ui.form-input-money/storybook/stories.d.ts +0 -7519
- package/ui.form-input-money/useAttrs.d.ts +0 -11
- package/ui.form-input-money/useFormatCurrency.d.ts +0 -5
- package/ui.form-input-money/utilFormat.d.ts +0 -7
- package/ui.form-input-number/UInputNumber.vue.d.ts +0 -30
- package/ui.form-input-number/config.d.ts +0 -40
- package/ui.form-input-number/constants.d.ts +0 -1
- package/ui.form-input-number/storybook/stories.d.ts +0 -363
- package/ui.form-input-number/useAttrs.d.ts +0 -11
- package/ui.form-input-rating/UInputRating.vue.d.ts +0 -49
- package/ui.form-input-rating/config.d.ts +0 -56
- package/ui.form-input-rating/constants.d.ts +0 -1
- package/ui.form-input-rating/storybook/stories.d.ts +0 -1336
- package/ui.form-input-rating/useAttrs.d.ts +0 -11
- package/ui.form-input-search/UInputSearch.vue.d.ts +0 -177
- package/ui.form-input-search/config.d.ts +0 -21
- package/ui.form-input-search/constants.d.ts +0 -1
- package/ui.form-input-search/storybook/stories.d.ts +0 -3325
- package/ui.form-input-search/useAttrs.d.ts +0 -11
- package/ui.form-label/ULabel.vue.d.ts +0 -46
- package/ui.form-label/config.d.ts +0 -139
- package/ui.form-label/constants.d.ts +0 -8
- package/ui.form-label/storybook/stories.d.ts +0 -1133
- package/ui.form-label/useAttrs.d.ts +0 -11
- package/ui.form-radio/URadio.vue.d.ts +0 -46
- package/ui.form-radio/config.d.ts +0 -30
- package/ui.form-radio/constants.d.ts +0 -1
- package/ui.form-radio/storybook/stories.d.ts +0 -1270
- package/ui.form-radio/useAttrs.d.ts +0 -14
- package/ui.form-radio-group/URadioGroup.vue.d.ts +0 -40
- package/ui.form-radio-group/config.d.ts +0 -21
- package/ui.form-radio-group/constants.d.ts +0 -1
- package/ui.form-radio-group/storybook/stories.d.ts +0 -1239
- package/ui.form-radio-group/useAttrs.d.ts +0 -11
- package/ui.form-select/USelect.vue.d.ts +0 -405
- package/ui.form-select/config.d.ts +0 -146
- package/ui.form-select/constants.d.ts +0 -13
- package/ui.form-select/storybook/stories.d.ts +0 -19025
- package/ui.form-select/useAttrs.d.ts +0 -15
- package/ui.form-select/utilSelect.d.ts +0 -11
- package/ui.form-switch/USwitch.vue.d.ts +0 -30
- package/ui.form-switch/config.d.ts +0 -106
- package/ui.form-switch/constants.d.ts +0 -1
- package/ui.form-switch/storybook/stories.d.ts +0 -703
- package/ui.form-switch/useAttrs.d.ts +0 -13
- package/ui.form-switch/utilVariant.d.ts +0 -169
- package/ui.form-textarea/UTextarea.vue.d.ts +0 -132
- package/ui.form-textarea/config.d.ts +0 -55
- package/ui.form-textarea/constants.d.ts +0 -1
- package/ui.form-textarea/storybook/stories.d.ts +0 -2175
- package/ui.form-textarea/useAttrs.d.ts +0 -11
- package/ui.image-avatar/UAvatar.vue.d.ts +0 -40
- package/ui.image-avatar/config.d.ts +0 -51
- package/ui.image-avatar/constants.d.ts +0 -1
- package/ui.image-avatar/storybook/stories.d.ts +0 -1640
- package/ui.image-avatar/useAttrs.d.ts +0 -11
- package/ui.image-icon/UIcon.vue.d.ts +0 -28
- package/ui.image-icon/config.d.ts +0 -52
- package/ui.image-icon/constants.d.ts +0 -1
- package/ui.image-icon/storybook/stories.d.ts +0 -516
- package/ui.image-icon/useAttrs.d.ts +0 -11
- package/ui.loader/ULoader.vue.d.ts +0 -23
- package/ui.loader/config.d.ts +0 -49
- package/ui.loader/constants.d.ts +0 -2
- package/ui.loader/storybook/stories.d.ts +0 -655
- package/ui.loader/useAttrs.d.ts +0 -11
- package/ui.loader-overlay/ULoaderOverlay.vue.d.ts +0 -21
- package/ui.loader-overlay/config.d.ts +0 -25
- package/ui.loader-overlay/constants.d.ts +0 -1
- package/ui.loader-overlay/storybook/stories.d.ts +0 -362
- package/ui.loader-overlay/useAttrs.d.ts +0 -11
- package/ui.loader-overlay/useLoaderOverlay.d.ts +0 -10
- package/ui.loader-overlay/utilLoaderOverlay.d.ts +0 -2
- package/ui.loader-progress/ULoaderProgress.vue.d.ts +0 -11
- package/ui.loader-progress/config.d.ts +0 -24
- package/ui.loader-progress/constants.d.ts +0 -3
- package/ui.loader-progress/storybook/stories.d.ts +0 -742
- package/ui.loader-progress/useAttrs.d.ts +0 -11
- package/ui.loader-progress/useLoaderProgress.d.ts +0 -15
- package/ui.loader-progress/utilLoaderProgress.d.ts +0 -5
- package/ui.navigation-pagination/UPagination.vue.d.ts +0 -54
- package/ui.navigation-pagination/config.d.ts +0 -41
- package/ui.navigation-pagination/constants.d.ts +0 -1
- package/ui.navigation-pagination/storybook/stories.d.ts +0 -1033
- package/ui.navigation-pagination/useAttrs.d.ts +0 -11
- package/ui.navigation-progress/StepperProgress.vue.d.ts +0 -15
- package/ui.navigation-progress/UProgress.vue.d.ts +0 -41
- package/ui.navigation-progress/config.d.ts +0 -139
- package/ui.navigation-progress/constants.d.ts +0 -5
- package/ui.navigation-progress/storybook/stories.d.ts +0 -2827
- package/ui.navigation-progress/useAttrs.d.ts +0 -11
- package/ui.navigation-tab/UTab.vue.d.ts +0 -27
- package/ui.navigation-tab/config.d.ts +0 -24
- package/ui.navigation-tab/constants.d.ts +0 -1
- package/ui.navigation-tab/storybook/stories.d.ts +0 -316
- package/ui.navigation-tab/useAttrs.d.ts +0 -14
- package/ui.navigation-tabs/UTabs.vue.d.ts +0 -30
- package/ui.navigation-tabs/config.d.ts +0 -24
- package/ui.navigation-tabs/constants.d.ts +0 -1
- package/ui.navigation-tabs/storybook/stories.d.ts +0 -354
- package/ui.navigation-tabs/useAttrs.d.ts +0 -11
- package/ui.other-dot/UDot.vue.d.ts +0 -13
- package/ui.other-dot/config.d.ts +0 -28
- package/ui.other-dot/constants.d.ts +0 -1
- package/ui.other-dot/storybook/stories.d.ts +0 -645
- package/ui.other-dot/useAttrs.d.ts +0 -11
- package/ui.text-alert/UAlert.vue.d.ts +0 -53
- package/ui.text-alert/config.d.ts +0 -75
- package/ui.text-alert/constants.d.ts +0 -1
- package/ui.text-alert/storybook/stories.d.ts +0 -4845
- package/ui.text-alert/useAttrs.d.ts +0 -11
- package/ui.text-badge/UBadge.vue.d.ts +0 -60
- package/ui.text-badge/config.d.ts +0 -102
- package/ui.text-badge/constants.d.ts +0 -1
- package/ui.text-badge/storybook/stories.d.ts +0 -1869
- package/ui.text-badge/useAttrs.d.ts +0 -11
- package/ui.text-block/UText.vue.d.ts +0 -21
- package/ui.text-block/config.d.ts +0 -27
- package/ui.text-block/constants.d.ts +0 -1
- package/ui.text-block/storybook/stories.d.ts +0 -12
- package/ui.text-block/types.d.ts +0 -9
- package/ui.text-block/types.ts +0 -33
- package/ui.text-block/useAttrs.d.ts +0 -3
- package/ui.text-block/useAttrs.ts +0 -18
- package/ui.text-empty/UEmpty.vue.d.ts +0 -29
- package/ui.text-empty/config.d.ts +0 -55
- package/ui.text-empty/constants.d.ts +0 -1
- package/ui.text-empty/storybook/stories.d.ts +0 -1212
- package/ui.text-empty/useAttrs.d.ts +0 -11
- package/ui.text-file/UFile.vue.d.ts +0 -57
- package/ui.text-file/config.d.ts +0 -42
- package/ui.text-file/constants.d.ts +0 -1
- package/ui.text-file/storybook/stories.d.ts +0 -136
- package/ui.text-file/useAttrs.d.ts +0 -11
- package/ui.text-files/UFiles.vue.d.ts +0 -52
- package/ui.text-files/config.d.ts +0 -10
- package/ui.text-files/constants.d.ts +0 -1
- package/ui.text-files/storybook/stories.d.ts +0 -131
- package/ui.text-files/useAttrs.d.ts +0 -11
- package/ui.text-header/UHeader.vue.d.ts +0 -33
- package/ui.text-header/config.d.ts +0 -54
- package/ui.text-header/constants.d.ts +0 -1
- package/ui.text-header/storybook/stories.d.ts +0 -694
- package/ui.text-header/useAttrs.d.ts +0 -11
- package/ui.text-money/UMoney.vue.d.ts +0 -48
- package/ui.text-money/config.d.ts +0 -77
- package/ui.text-money/constants.d.ts +0 -1
- package/ui.text-money/storybook/stories.d.ts +0 -2090
- package/ui.text-money/useAttrs.d.ts +0 -11
- package/ui.text-money/utilMoney.d.ts +0 -14
- package/ui.text-notify/UNotify.vue.d.ts +0 -13
- package/ui.text-notify/config.d.ts +0 -58
- package/ui.text-notify/constants.d.ts +0 -20
- package/ui.text-notify/storybook/stories.d.ts +0 -653
- package/ui.text-notify/useAttrs.d.ts +0 -11
- package/ui.text-notify/utilNotify.d.ts +0 -7
- package/utils/utilHelper.d.ts +0 -9
- package/utils/utilPlatform.d.ts +0 -6
- package/utils/utilStorybook.d.ts +0 -15
- package/utils/utilUI.d.ts +0 -68
- package/utilsTs/utilHelper.d.ts +0 -9
- package/utilsTs/utilHelper.ts +0 -70
- package/utilsTs/utilPlatform.d.ts +0 -7
- package/utilsTs/utilPlatform.ts +0 -53
- package/utilsTs/utilStorybook.d.ts +0 -24
- package/utilsTs/utilStorybook.ts +0 -292
- package/utilsTs/utilTailwind.d.ts +0 -1
- package/utilsTs/utilTailwind.ts +0 -38
- package/utilsTs/utilTheme.d.ts +0 -8
- package/utilsTs/utilUI.d.ts +0 -67
- package/utilsTs/utilUI.ts +0 -142
- /package/ui.text-block/{config.ts → config.js} +0 -0
- /package/ui.text-block/{constants.ts → constants.js} +0 -0
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let id: string;
|
|
3
|
-
export let title: string;
|
|
4
|
-
export { UIcon as component };
|
|
5
|
-
export let args: {};
|
|
6
|
-
export let argTypes: {
|
|
7
|
-
defaultTemplate?: {
|
|
8
|
-
table: {
|
|
9
|
-
disable: boolean;
|
|
10
|
-
};
|
|
11
|
-
} | undefined;
|
|
12
|
-
slotTemplate?: {
|
|
13
|
-
table: {
|
|
14
|
-
disable: boolean;
|
|
15
|
-
};
|
|
16
|
-
} | undefined;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export default _default;
|
|
20
|
-
export function Default(args: any): {
|
|
21
|
-
components: {
|
|
22
|
-
UIcon: import("vue").DefineComponent<{}, {
|
|
23
|
-
$emit: (event: "click", ...args: any[]) => void;
|
|
24
|
-
config: Record<string, any>;
|
|
25
|
-
name: string;
|
|
26
|
-
src: Record<string, any>;
|
|
27
|
-
tooltip: string;
|
|
28
|
-
tooltipSettings: Record<string, any>;
|
|
29
|
-
dataTest: string;
|
|
30
|
-
internal: boolean;
|
|
31
|
-
color?: string | undefined;
|
|
32
|
-
size?: string | undefined;
|
|
33
|
-
interactive?: boolean | undefined;
|
|
34
|
-
variant?: string | undefined;
|
|
35
|
-
$props: {
|
|
36
|
-
readonly config?: Record<string, any> | undefined;
|
|
37
|
-
readonly name?: string | undefined;
|
|
38
|
-
readonly src?: Record<string, any> | undefined;
|
|
39
|
-
readonly tooltip?: string | undefined;
|
|
40
|
-
readonly tooltipSettings?: Record<string, any> | undefined;
|
|
41
|
-
readonly dataTest?: string | undefined;
|
|
42
|
-
readonly internal?: boolean | undefined;
|
|
43
|
-
readonly color?: string | undefined;
|
|
44
|
-
readonly size?: string | undefined;
|
|
45
|
-
readonly interactive?: boolean | undefined;
|
|
46
|
-
readonly variant?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
-
};
|
|
50
|
-
directives: {
|
|
51
|
-
tooltip: {
|
|
52
|
-
mounted(el: any, bindings: any): void;
|
|
53
|
-
updated(el: any, bindings: any): void;
|
|
54
|
-
unmounted(el: any): void;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
setup(): {
|
|
58
|
-
args: any;
|
|
59
|
-
};
|
|
60
|
-
template: string;
|
|
61
|
-
};
|
|
62
|
-
export namespace Default {
|
|
63
|
-
export namespace args_1 {
|
|
64
|
-
let tooltip: string;
|
|
65
|
-
}
|
|
66
|
-
export { args_1 as args };
|
|
67
|
-
}
|
|
68
|
-
export function Settings(args: any): {
|
|
69
|
-
components: {
|
|
70
|
-
UIcon: import("vue").DefineComponent<{}, {
|
|
71
|
-
$emit: (event: "click", ...args: any[]) => void;
|
|
72
|
-
config: Record<string, any>;
|
|
73
|
-
name: string;
|
|
74
|
-
src: Record<string, any>;
|
|
75
|
-
tooltip: string;
|
|
76
|
-
tooltipSettings: Record<string, any>;
|
|
77
|
-
dataTest: string;
|
|
78
|
-
internal: boolean;
|
|
79
|
-
color?: string | undefined;
|
|
80
|
-
size?: string | undefined;
|
|
81
|
-
interactive?: boolean | undefined;
|
|
82
|
-
variant?: string | undefined;
|
|
83
|
-
$props: {
|
|
84
|
-
readonly config?: Record<string, any> | undefined;
|
|
85
|
-
readonly name?: string | undefined;
|
|
86
|
-
readonly src?: Record<string, any> | undefined;
|
|
87
|
-
readonly tooltip?: string | undefined;
|
|
88
|
-
readonly tooltipSettings?: Record<string, any> | undefined;
|
|
89
|
-
readonly dataTest?: string | undefined;
|
|
90
|
-
readonly internal?: boolean | undefined;
|
|
91
|
-
readonly color?: string | undefined;
|
|
92
|
-
readonly size?: string | undefined;
|
|
93
|
-
readonly interactive?: boolean | undefined;
|
|
94
|
-
readonly variant?: string | undefined;
|
|
95
|
-
};
|
|
96
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
97
|
-
};
|
|
98
|
-
directives: {
|
|
99
|
-
tooltip: {
|
|
100
|
-
mounted(el: any, bindings: any): void;
|
|
101
|
-
updated(el: any, bindings: any): void;
|
|
102
|
-
unmounted(el: any): void;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
setup(): {
|
|
106
|
-
args: any;
|
|
107
|
-
};
|
|
108
|
-
template: string;
|
|
109
|
-
};
|
|
110
|
-
export namespace Settings {
|
|
111
|
-
export namespace args_2 {
|
|
112
|
-
export namespace tooltip_1 {
|
|
113
|
-
let content: string;
|
|
114
|
-
let placement: string;
|
|
115
|
-
}
|
|
116
|
-
export { tooltip_1 as tooltip };
|
|
117
|
-
}
|
|
118
|
-
export { args_2 as args };
|
|
119
|
-
}
|
|
120
|
-
export function Placement(args: any): {
|
|
121
|
-
components: {
|
|
122
|
-
UIcon: import("vue").DefineComponent<{}, {
|
|
123
|
-
$emit: (event: "click", ...args: any[]) => void;
|
|
124
|
-
config: Record<string, any>;
|
|
125
|
-
name: string;
|
|
126
|
-
src: Record<string, any>;
|
|
127
|
-
tooltip: string;
|
|
128
|
-
tooltipSettings: Record<string, any>;
|
|
129
|
-
dataTest: string;
|
|
130
|
-
internal: boolean;
|
|
131
|
-
color?: string | undefined;
|
|
132
|
-
size?: string | undefined;
|
|
133
|
-
interactive?: boolean | undefined;
|
|
134
|
-
variant?: string | undefined;
|
|
135
|
-
$props: {
|
|
136
|
-
readonly config?: Record<string, any> | undefined;
|
|
137
|
-
readonly name?: string | undefined;
|
|
138
|
-
readonly src?: Record<string, any> | undefined;
|
|
139
|
-
readonly tooltip?: string | undefined;
|
|
140
|
-
readonly tooltipSettings?: Record<string, any> | undefined;
|
|
141
|
-
readonly dataTest?: string | undefined;
|
|
142
|
-
readonly internal?: boolean | undefined;
|
|
143
|
-
readonly color?: string | undefined;
|
|
144
|
-
readonly size?: string | undefined;
|
|
145
|
-
readonly interactive?: boolean | undefined;
|
|
146
|
-
readonly variant?: string | undefined;
|
|
147
|
-
};
|
|
148
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
149
|
-
URow: {
|
|
150
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
151
|
-
config: Record<string, any>;
|
|
152
|
-
dataTest: string;
|
|
153
|
-
reverse?: boolean | undefined;
|
|
154
|
-
content?: string | undefined;
|
|
155
|
-
gap?: string | undefined;
|
|
156
|
-
align?: string | undefined;
|
|
157
|
-
justify?: string | undefined;
|
|
158
|
-
wrap?: boolean | undefined;
|
|
159
|
-
noMobile?: boolean | undefined;
|
|
160
|
-
$props: {
|
|
161
|
-
readonly config?: Record<string, any> | undefined;
|
|
162
|
-
readonly dataTest?: string | undefined;
|
|
163
|
-
readonly reverse?: boolean | undefined;
|
|
164
|
-
readonly content?: string | undefined;
|
|
165
|
-
readonly gap?: string | undefined;
|
|
166
|
-
readonly align?: string | undefined;
|
|
167
|
-
readonly justify?: string | undefined;
|
|
168
|
-
readonly wrap?: boolean | undefined;
|
|
169
|
-
readonly noMobile?: boolean | undefined;
|
|
170
|
-
};
|
|
171
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{}> & Readonly<{}>, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
172
|
-
P: {};
|
|
173
|
-
B: {};
|
|
174
|
-
D: {};
|
|
175
|
-
C: {};
|
|
176
|
-
M: {};
|
|
177
|
-
Defaults: {};
|
|
178
|
-
}, Readonly<{}> & Readonly<{}>, {
|
|
179
|
-
config: Record<string, any>;
|
|
180
|
-
dataTest: string;
|
|
181
|
-
reverse?: boolean | undefined;
|
|
182
|
-
content?: string | undefined;
|
|
183
|
-
gap?: string | undefined;
|
|
184
|
-
align?: string | undefined;
|
|
185
|
-
justify?: string | undefined;
|
|
186
|
-
wrap?: boolean | undefined;
|
|
187
|
-
noMobile?: boolean | undefined;
|
|
188
|
-
$props: {
|
|
189
|
-
readonly config?: Record<string, any> | undefined;
|
|
190
|
-
readonly dataTest?: string | undefined;
|
|
191
|
-
readonly reverse?: boolean | undefined;
|
|
192
|
-
readonly content?: string | undefined;
|
|
193
|
-
readonly gap?: string | undefined;
|
|
194
|
-
readonly align?: string | undefined;
|
|
195
|
-
readonly justify?: string | undefined;
|
|
196
|
-
readonly wrap?: boolean | undefined;
|
|
197
|
-
readonly noMobile?: boolean | undefined;
|
|
198
|
-
};
|
|
199
|
-
}, {}, {}, {}, {}>;
|
|
200
|
-
__isFragment?: never;
|
|
201
|
-
__isTeleport?: never;
|
|
202
|
-
__isSuspense?: never;
|
|
203
|
-
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
204
|
-
config: Record<string, any>;
|
|
205
|
-
dataTest: string;
|
|
206
|
-
reverse?: boolean | undefined;
|
|
207
|
-
content?: string | undefined;
|
|
208
|
-
gap?: string | undefined;
|
|
209
|
-
align?: string | undefined;
|
|
210
|
-
justify?: string | undefined;
|
|
211
|
-
wrap?: boolean | undefined;
|
|
212
|
-
noMobile?: boolean | undefined;
|
|
213
|
-
$props: {
|
|
214
|
-
readonly config?: Record<string, any> | undefined;
|
|
215
|
-
readonly dataTest?: string | undefined;
|
|
216
|
-
readonly reverse?: boolean | undefined;
|
|
217
|
-
readonly content?: string | undefined;
|
|
218
|
-
readonly gap?: string | undefined;
|
|
219
|
-
readonly align?: string | undefined;
|
|
220
|
-
readonly justify?: string | undefined;
|
|
221
|
-
readonly wrap?: boolean | undefined;
|
|
222
|
-
readonly noMobile?: boolean | undefined;
|
|
223
|
-
};
|
|
224
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
225
|
-
$slots: {
|
|
226
|
-
default?(_: {}): any;
|
|
227
|
-
};
|
|
228
|
-
});
|
|
229
|
-
};
|
|
230
|
-
directives: {
|
|
231
|
-
tooltip: {
|
|
232
|
-
mounted(el: any, bindings: any): void;
|
|
233
|
-
updated(el: any, bindings: any): void;
|
|
234
|
-
unmounted(el: any): void;
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
setup(): {
|
|
238
|
-
args: any;
|
|
239
|
-
};
|
|
240
|
-
template: string;
|
|
241
|
-
};
|
|
242
|
-
export namespace Placement {
|
|
243
|
-
export namespace args_3 {
|
|
244
|
-
let tooltip_2: {};
|
|
245
|
-
export { tooltip_2 as tooltip };
|
|
246
|
-
let _enum: string;
|
|
247
|
-
export { _enum as enum };
|
|
248
|
-
export let options: string[];
|
|
249
|
-
}
|
|
250
|
-
export { args_3 as args };
|
|
251
|
-
}
|
|
252
|
-
import UIcon from "../../../ui.image-icon/UIcon.vue";
|
package/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { App } from 'vue';
|
|
2
|
-
import type { CreateVuelessOptions } from './types';
|
|
3
|
-
export { setTitle } from "./utils/utilHelper.js";
|
|
4
|
-
export { setTheme } from "./utilsTs/utilTheme";
|
|
5
|
-
export { default as createVueI18nAdapter } from "./adatper.locale/vue-i18n.js";
|
|
6
|
-
export { default as defaultEnLocale } from "./adatper.locale/locales/en.js";
|
|
7
|
-
export { useLocale } from "./composables/useLocale.js";
|
|
8
|
-
export { useLoaderProgress } from "./ui.loader-progress/useLoaderProgress.js";
|
|
9
|
-
export { loaderProgressOn, loaderProgressOff } from "./ui.loader-progress/utilLoaderProgress.js";
|
|
10
|
-
export { useLoaderOverlay } from "./ui.loader-overlay/useLoaderOverlay.js";
|
|
11
|
-
export { loaderOverlayOn, loaderOverlayOff } from "./ui.loader-overlay/utilLoaderOverlay.js";
|
|
12
|
-
export { notify, notifySuccess, notifyWarning, notifyError, clearNotifications, setDelayedNotify, getDelayedNotify, } from "./ui.text-notify/utilNotify.js";
|
|
13
|
-
export declare function createVueless(options?: CreateVuelessOptions): {
|
|
14
|
-
install: (app: App) => void;
|
|
15
|
-
};
|
package/preset.tailwind.d.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export function vuelessPreset(): Object;
|
|
2
|
-
export function getSafelist(): any[];
|
|
3
|
-
export const vuelessContent: string[];
|
|
4
|
-
export const vuelessContentVue: string[];
|
|
5
|
-
export const vuelessContentNuxt: string[];
|
|
6
|
-
export namespace vuelessTailwindConfig {
|
|
7
|
-
let darkMode: string[];
|
|
8
|
-
let content: string[];
|
|
9
|
-
namespace theme {
|
|
10
|
-
namespace extend {
|
|
11
|
-
namespace colors {
|
|
12
|
-
let brand: Object;
|
|
13
|
-
let gray: Object;
|
|
14
|
-
let cool: {
|
|
15
|
-
'50': "#f9fafb";
|
|
16
|
-
'100': "#f3f4f6";
|
|
17
|
-
'200': "#e5e7eb";
|
|
18
|
-
'300': "#d1d5db";
|
|
19
|
-
'400': "#9ca3af";
|
|
20
|
-
'500': "#6b7280";
|
|
21
|
-
'600': "#4b5563";
|
|
22
|
-
'700': "#374151";
|
|
23
|
-
'800': "#1f2937";
|
|
24
|
-
'900': "#111827";
|
|
25
|
-
'950': "#030712";
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
let spacing: {
|
|
29
|
-
"safe-top": string;
|
|
30
|
-
"safe-bottom": string;
|
|
31
|
-
"safe-left": string;
|
|
32
|
-
"safe-right": string;
|
|
33
|
-
};
|
|
34
|
-
let fontSize: {
|
|
35
|
-
"2xs": string[];
|
|
36
|
-
};
|
|
37
|
-
namespace borderRadius {
|
|
38
|
-
let dynamic: string;
|
|
39
|
-
}
|
|
40
|
-
namespace ringWidth {
|
|
41
|
-
let dynamic_1: string;
|
|
42
|
-
export { dynamic_1 as dynamic };
|
|
43
|
-
}
|
|
44
|
-
namespace ringOffsetWidth {
|
|
45
|
-
let dynamic_2: string;
|
|
46
|
-
export { dynamic_2 as dynamic };
|
|
47
|
-
}
|
|
48
|
-
namespace ringOffsetColor {
|
|
49
|
-
let dynamic_3: Function;
|
|
50
|
-
export { dynamic_3 as dynamic };
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
namespace configViewer {
|
|
54
|
-
let themeReplacements: {
|
|
55
|
-
constructor: Function;
|
|
56
|
-
toString(): string;
|
|
57
|
-
toLocaleString(): string;
|
|
58
|
-
valueOf(): Object;
|
|
59
|
-
hasOwnProperty(v: PropertyKey): boolean;
|
|
60
|
-
isPrototypeOf(v: Object): boolean;
|
|
61
|
-
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
62
|
-
"var(--vl-ring)": number;
|
|
63
|
-
"var(--vl-ring-offset)": number;
|
|
64
|
-
"var(--vl-ring-offset-color)": string;
|
|
65
|
-
"var(--vl-rounding)": number;
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
package/types.d.ts
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { hasSlotContent } from "./composablesTs/useUI";
|
|
2
|
-
import UTextDefaultConfig from "./ui.text-block/config";
|
|
3
|
-
import UButtonDefaultConfig from "./ui.button/config";
|
|
4
|
-
import type { ComputedRef } from "vue";
|
|
5
|
-
export interface ThemeConfig {
|
|
6
|
-
brand?: BrandColors;
|
|
7
|
-
gray?: GrayColors;
|
|
8
|
-
rounding?: number;
|
|
9
|
-
ring?: number;
|
|
10
|
-
ringOffset?: number;
|
|
11
|
-
ringOffsetColorLight?: string;
|
|
12
|
-
ringOffsetColorDark?: string;
|
|
13
|
-
darkMode?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface Config extends ThemeConfig {
|
|
16
|
-
strategy?: Strategies;
|
|
17
|
-
component?: Partial<Components>;
|
|
18
|
-
tailwindMerge?: UnknownObject;
|
|
19
|
-
}
|
|
20
|
-
export type UnknownObject = Record<string, unknown>;
|
|
21
|
-
export type ComponentNames = keyof Components;
|
|
22
|
-
export type Strategies = "merge" | "replace" | "override";
|
|
23
|
-
export type GrayColors = "slate" | "cool" | "zinc" | "neutral" | "stone";
|
|
24
|
-
export type BrandColors = "grayscale" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
25
|
-
export interface Components {
|
|
26
|
-
UText?: Partial<typeof UTextDefaultConfig>;
|
|
27
|
-
UButton?: Partial<typeof UButtonDefaultConfig>;
|
|
28
|
-
}
|
|
29
|
-
export interface Component {
|
|
30
|
-
i18n?: UnknownObject;
|
|
31
|
-
defaults?: UnknownObject;
|
|
32
|
-
safelist?: () => TailwindSafelist[];
|
|
33
|
-
strategy?: Strategies;
|
|
34
|
-
transition?: Transition;
|
|
35
|
-
safelistColors?: BrandColors;
|
|
36
|
-
[key: string]: (CVA & NestedComponent) | object | string | undefined;
|
|
37
|
-
}
|
|
38
|
-
export interface NestedComponent {
|
|
39
|
-
component: string;
|
|
40
|
-
[key: string]: Record<string, string | object> | string;
|
|
41
|
-
}
|
|
42
|
-
export interface Transition {
|
|
43
|
-
enterFromClass?: string;
|
|
44
|
-
enterActiveClass?: string;
|
|
45
|
-
enterToClass?: string;
|
|
46
|
-
leaveFromClass?: string;
|
|
47
|
-
leaveActiveClass?: string;
|
|
48
|
-
leaveToClass?: string;
|
|
49
|
-
}
|
|
50
|
-
export interface CVA {
|
|
51
|
-
base?: string;
|
|
52
|
-
variants?: UnknownObject;
|
|
53
|
-
compoundVariants?: CVACompoundVariants[] & never[];
|
|
54
|
-
defaultVariants?: UnknownObject;
|
|
55
|
-
}
|
|
56
|
-
export interface CVACompoundVariants {
|
|
57
|
-
class: string;
|
|
58
|
-
[key: string]: string | number | undefined | null;
|
|
59
|
-
}
|
|
60
|
-
export interface VueAttrs {
|
|
61
|
-
id?: string;
|
|
62
|
-
class?: string;
|
|
63
|
-
value?: string;
|
|
64
|
-
}
|
|
65
|
-
export interface UseAttrs {
|
|
66
|
-
hasSlotContent?: typeof hasSlotContent;
|
|
67
|
-
[key: string]: object | undefined;
|
|
68
|
-
}
|
|
69
|
-
export interface KeyAttrs extends VueAttrs {
|
|
70
|
-
"vl-component"?: string | null;
|
|
71
|
-
"vl-key"?: string | null;
|
|
72
|
-
"vl-child-component"?: string | null;
|
|
73
|
-
"vl-child-key"?: string | null;
|
|
74
|
-
config?: UnknownObject;
|
|
75
|
-
[key: string]: string | UnknownObject | undefined | null;
|
|
76
|
-
}
|
|
77
|
-
export interface KeysToExtend {
|
|
78
|
-
base?: ComputedRef;
|
|
79
|
-
extend?: ComputedRef;
|
|
80
|
-
}
|
|
81
|
-
export interface CreateVuelessOptions {
|
|
82
|
-
i18n?: Record<string, string | object>;
|
|
83
|
-
}
|
|
84
|
-
export interface TailwindSafelist {
|
|
85
|
-
pattern: string;
|
|
86
|
-
variants?: string[];
|
|
87
|
-
}
|
|
88
|
-
export interface TailwindColorShades {
|
|
89
|
-
DEFAULT: string;
|
|
90
|
-
50: string;
|
|
91
|
-
100: string;
|
|
92
|
-
200: string;
|
|
93
|
-
300: string;
|
|
94
|
-
400: string;
|
|
95
|
-
500: string;
|
|
96
|
-
600: string;
|
|
97
|
-
700: string;
|
|
98
|
-
800: string;
|
|
99
|
-
900: string;
|
|
100
|
-
950: string;
|
|
101
|
-
}
|
|
102
|
-
export interface VuelessCssVariables {
|
|
103
|
-
"--vl-ring": string;
|
|
104
|
-
"--vl-ring-offset": string;
|
|
105
|
-
"--vl-ring-offset-color": string;
|
|
106
|
-
"--vl-rounding": string;
|
|
107
|
-
"--vl-color-gray-50": string;
|
|
108
|
-
"--vl-color-gray-100": string;
|
|
109
|
-
"--vl-color-gray-200": string;
|
|
110
|
-
"--vl-color-gray-300": string;
|
|
111
|
-
"--vl-color-gray-400": string;
|
|
112
|
-
"--vl-color-gray-500": string;
|
|
113
|
-
"--vl-color-gray-600": string;
|
|
114
|
-
"--vl-color-gray-700": string;
|
|
115
|
-
"--vl-color-gray-800": string;
|
|
116
|
-
"--vl-color-gray-900": string;
|
|
117
|
-
"--vl-color-gray-950": string;
|
|
118
|
-
"--vl-color-gray-default": string;
|
|
119
|
-
"--vl-color-brand-50": string;
|
|
120
|
-
"--vl-color-brand-100": string;
|
|
121
|
-
"--vl-color-brand-200": string;
|
|
122
|
-
"--vl-color-brand-300": string;
|
|
123
|
-
"--vl-color-brand-400": string;
|
|
124
|
-
"--vl-color-brand-500": string;
|
|
125
|
-
"--vl-color-brand-600": string;
|
|
126
|
-
"--vl-color-brand-700": string;
|
|
127
|
-
"--vl-color-brand-800": string;
|
|
128
|
-
"--vl-color-brand-900": string;
|
|
129
|
-
"--vl-color-brand-950": string;
|
|
130
|
-
"--vl-color-brand-default": string;
|
|
131
|
-
}
|
package/types.ts
DELETED
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import { hasSlotContent } from "./composablesTs/useUI";
|
|
2
|
-
|
|
3
|
-
// TODO: Import all components here
|
|
4
|
-
import UTextDefaultConfig from "./ui.text-block/config";
|
|
5
|
-
import UButtonDefaultConfig from "./ui.button/config";
|
|
6
|
-
|
|
7
|
-
import type { ComputedRef } from "vue";
|
|
8
|
-
|
|
9
|
-
export interface ThemeConfig {
|
|
10
|
-
/**
|
|
11
|
-
* Components brand (primary) color.
|
|
12
|
-
*/
|
|
13
|
-
brand?: BrandColors;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Components gray (secondary) color.
|
|
17
|
-
*/
|
|
18
|
-
gray?: GrayColors;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Default components rounding (border-radius).
|
|
22
|
-
*/
|
|
23
|
-
rounding?: number;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Default components ring width.
|
|
27
|
-
*/
|
|
28
|
-
ring?: number;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Default components ring offset width.
|
|
32
|
-
*/
|
|
33
|
-
ringOffset?: number;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Default components ring color for light theme.
|
|
37
|
-
*/
|
|
38
|
-
ringOffsetColorLight?: string;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Default components ring color for dark theme.
|
|
42
|
-
*/
|
|
43
|
-
ringOffsetColorDark?: string;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Default dark mode state.
|
|
47
|
-
*/
|
|
48
|
-
darkMode?: boolean;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface Config extends ThemeConfig {
|
|
52
|
-
/**
|
|
53
|
-
* Component classes merge behavior.
|
|
54
|
-
* – merge (default) – smartly merge provided custom classes with default config classes.
|
|
55
|
-
* – replace – replace default config keys by provided custom keys (override only provided keys, the rest classes will be taken from the default config).
|
|
56
|
-
* – override – override default config by provided custom config (keeps only custom config, removes all default classes).
|
|
57
|
-
*/
|
|
58
|
-
strategy?: Strategies;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Component configs.
|
|
62
|
-
*/
|
|
63
|
-
component?: Partial<Components>;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Tailwind-merge config extension for custom classes.
|
|
67
|
-
* All lists of rules available here:
|
|
68
|
-
* https://github.com/dcastil/tailwind-merge/blob/v2.3.0/src/lib/default-config.ts.
|
|
69
|
-
*/
|
|
70
|
-
tailwindMerge?: UnknownObject;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export type UnknownObject = Record<string, unknown>;
|
|
74
|
-
export type ComponentNames = keyof Components; // keys union
|
|
75
|
-
export type Strategies = "merge" | "replace" | "override";
|
|
76
|
-
export type GrayColors = "slate" | "cool" | "zinc" | "neutral" | "stone";
|
|
77
|
-
export type BrandColors =
|
|
78
|
-
| "grayscale"
|
|
79
|
-
| "red"
|
|
80
|
-
| "orange"
|
|
81
|
-
| "amber"
|
|
82
|
-
| "yellow"
|
|
83
|
-
| "lime"
|
|
84
|
-
| "green"
|
|
85
|
-
| "emerald"
|
|
86
|
-
| "teal"
|
|
87
|
-
| "cyan"
|
|
88
|
-
| "sky"
|
|
89
|
-
| "blue"
|
|
90
|
-
| "indigo"
|
|
91
|
-
| "violet"
|
|
92
|
-
| "purple"
|
|
93
|
-
| "fuchsia"
|
|
94
|
-
| "pink"
|
|
95
|
-
| "rose";
|
|
96
|
-
|
|
97
|
-
export interface Components {
|
|
98
|
-
UText?: Partial<typeof UTextDefaultConfig>;
|
|
99
|
-
UButton?: Partial<typeof UButtonDefaultConfig>;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export interface Component {
|
|
103
|
-
i18n?: UnknownObject;
|
|
104
|
-
defaults?: UnknownObject;
|
|
105
|
-
safelist?: () => TailwindSafelist[];
|
|
106
|
-
strategy?: Strategies;
|
|
107
|
-
transition?: Transition;
|
|
108
|
-
safelistColors?: BrandColors;
|
|
109
|
-
[key: string]: (CVA & NestedComponent) | object | string | undefined;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export interface NestedComponent {
|
|
113
|
-
component: string;
|
|
114
|
-
[key: string]: Record<string, string | object> | string;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export interface Transition {
|
|
118
|
-
enterFromClass?: string;
|
|
119
|
-
enterActiveClass?: string;
|
|
120
|
-
enterToClass?: string;
|
|
121
|
-
leaveFromClass?: string;
|
|
122
|
-
leaveActiveClass?: string;
|
|
123
|
-
leaveToClass?: string;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export interface CVA {
|
|
127
|
-
base?: string;
|
|
128
|
-
variants?: UnknownObject;
|
|
129
|
-
compoundVariants?: CVACompoundVariants[] & never[];
|
|
130
|
-
defaultVariants?: UnknownObject;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export interface CVACompoundVariants {
|
|
134
|
-
class: string;
|
|
135
|
-
[key: string]: string | number | undefined | null;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export interface VueAttrs {
|
|
139
|
-
id?: string;
|
|
140
|
-
class?: string;
|
|
141
|
-
value?: string;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export interface UseAttrs {
|
|
145
|
-
hasSlotContent?: typeof hasSlotContent;
|
|
146
|
-
[key: string]: object | undefined;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export interface KeyAttrs extends VueAttrs {
|
|
150
|
-
"vl-component"?: string | null;
|
|
151
|
-
"vl-key"?: string | null;
|
|
152
|
-
"vl-child-component"?: string | null;
|
|
153
|
-
"vl-child-key"?: string | null;
|
|
154
|
-
config?: UnknownObject;
|
|
155
|
-
[key: string]: string | UnknownObject | undefined | null;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export interface KeysToExtend {
|
|
159
|
-
base?: ComputedRef;
|
|
160
|
-
extend?: ComputedRef;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export interface CreateVuelessOptions {
|
|
164
|
-
i18n?: Record<string, string | object>;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export interface TailwindSafelist {
|
|
168
|
-
pattern: string;
|
|
169
|
-
variants?: string[];
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export interface TailwindColorShades {
|
|
173
|
-
DEFAULT: string;
|
|
174
|
-
50: string;
|
|
175
|
-
100: string;
|
|
176
|
-
200: string;
|
|
177
|
-
300: string;
|
|
178
|
-
400: string;
|
|
179
|
-
500: string;
|
|
180
|
-
600: string;
|
|
181
|
-
700: string;
|
|
182
|
-
800: string;
|
|
183
|
-
900: string;
|
|
184
|
-
950: string;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export interface VuelessCssVariables {
|
|
188
|
-
"--vl-ring": string;
|
|
189
|
-
"--vl-ring-offset": string;
|
|
190
|
-
"--vl-ring-offset-color": string;
|
|
191
|
-
"--vl-rounding": string;
|
|
192
|
-
/* Gray CSS variables */
|
|
193
|
-
"--vl-color-gray-50": string;
|
|
194
|
-
"--vl-color-gray-100": string;
|
|
195
|
-
"--vl-color-gray-200": string;
|
|
196
|
-
"--vl-color-gray-300": string;
|
|
197
|
-
"--vl-color-gray-400": string;
|
|
198
|
-
"--vl-color-gray-500": string;
|
|
199
|
-
"--vl-color-gray-600": string;
|
|
200
|
-
"--vl-color-gray-700": string;
|
|
201
|
-
"--vl-color-gray-800": string;
|
|
202
|
-
"--vl-color-gray-900": string;
|
|
203
|
-
"--vl-color-gray-950": string;
|
|
204
|
-
"--vl-color-gray-default": string;
|
|
205
|
-
/* Brand CSS variables */
|
|
206
|
-
"--vl-color-brand-50": string;
|
|
207
|
-
"--vl-color-brand-100": string;
|
|
208
|
-
"--vl-color-brand-200": string;
|
|
209
|
-
"--vl-color-brand-300": string;
|
|
210
|
-
"--vl-color-brand-400": string;
|
|
211
|
-
"--vl-color-brand-500": string;
|
|
212
|
-
"--vl-color-brand-600": string;
|
|
213
|
-
"--vl-color-brand-700": string;
|
|
214
|
-
"--vl-color-brand-800": string;
|
|
215
|
-
"--vl-color-brand-900": string;
|
|
216
|
-
"--vl-color-brand-950": string;
|
|
217
|
-
"--vl-color-brand-default": string;
|
|
218
|
-
}
|