@khsura/sui 0.0.0-stage → 1.18.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/.claude-plugin/marketplace.json +18 -0
- package/@types/components/badge/index.d.ts +1 -0
- package/@types/components/badge/sBadge.vue.d.ts +18 -0
- package/@types/components/badge/sBadgeContent.vue.d.ts +14 -0
- package/@types/components/calendar/index.d.ts +1 -0
- package/@types/components/calendar/sCalendar.vue.d.ts +52 -0
- package/@types/components/calendar/sCalendarMonthly.vue.d.ts +51 -0
- package/@types/components/calendar/sCalendarWeekly.vue.d.ts +75 -0
- package/@types/components/cards/index.d.ts +5 -0
- package/@types/components/cards/sCard.vue.d.ts +14 -0
- package/@types/components/cards/sCardActions.vue.d.ts +15 -0
- package/@types/components/cards/sCardSubtitle.vue.d.ts +15 -0
- package/@types/components/cards/sCardText.vue.d.ts +15 -0
- package/@types/components/cards/sCardTitle.vue.d.ts +15 -0
- package/@types/components/carousel/index.d.ts +2 -0
- package/@types/components/carousel/sCarousel.vue.d.ts +34 -0
- package/@types/components/carousel/sCarouselItem.vue.d.ts +14 -0
- package/@types/components/datePicker/index.d.ts +2 -0
- package/@types/components/datePicker/sDatePicker.vue.d.ts +22 -0
- package/@types/components/datePicker/sDatePickerDate.vue.d.ts +12 -0
- package/@types/components/datePicker/sDatePickerInput.vue.d.ts +31 -0
- package/@types/components/datePicker/sDatePickerMonth.vue.d.ts +12 -0
- package/@types/components/datePicker/sDatePickerSwitch.vue.d.ts +15 -0
- package/@types/components/datePicker/sDatePickerTitle.vue.d.ts +16 -0
- package/@types/components/datePicker/sDatePickerYear.vue.d.ts +12 -0
- package/@types/components/expansionPanel/index.d.ts +4 -0
- package/@types/components/expansionPanel/sExpansionPanel.vue.d.ts +17 -0
- package/@types/components/expansionPanel/sExpansionPanelContent.vue.d.ts +15 -0
- package/@types/components/expansionPanel/sExpansionPanelHeader.vue.d.ts +21 -0
- package/@types/components/expansionPanel/sExpansionPanels.vue.d.ts +24 -0
- package/@types/components/form/common/index.d.ts +1 -0
- package/@types/components/form/common/sFormInputError.vue.d.ts +25 -0
- package/@types/components/form/index.d.ts +7 -0
- package/@types/components/form/radio/index.d.ts +2 -0
- package/@types/components/form/radio/sRadio.vue.d.ts +32 -0
- package/@types/components/form/radio/sRadioGroup.vue.d.ts +35 -0
- package/@types/components/form/sCheckbox.vue.d.ts +22 -0
- package/@types/components/form/sForm.vue.d.ts +31 -0
- package/@types/components/form/sInput.vue.d.ts +73 -0
- package/@types/components/form/sSelect.vue.d.ts +64 -0
- package/@types/components/form/sTextarea.vue.d.ts +38 -0
- package/@types/components/grids/index.d.ts +4 -0
- package/@types/components/grids/sColumn.vue.d.ts +14 -0
- package/@types/components/grids/sContainer.vue.d.ts +14 -0
- package/@types/components/grids/sRow.vue.d.ts +14 -0
- package/@types/components/grids/sSpacer.vue.d.ts +13 -0
- package/@types/components/index.d.ts +36 -0
- package/@types/components/layout/index.d.ts +8 -0
- package/@types/components/layout/sApp.vue.d.ts +15 -0
- package/@types/components/layout/sAppBar.vue.d.ts +22 -0
- package/@types/components/layout/sAppBarTitle.vue.d.ts +16 -0
- package/@types/components/layout/sBottomNavigation.vue.d.ts +24 -0
- package/@types/components/layout/sFooter.vue.d.ts +18 -0
- package/@types/components/layout/sLayout.vue.d.ts +14 -0
- package/@types/components/layout/sMain.vue.d.ts +14 -0
- package/@types/components/layout/sNavigationDrawer.vue.d.ts +45 -0
- package/@types/components/list/index.d.ts +8 -0
- package/@types/components/list/sList.vue.d.ts +14 -0
- package/@types/components/list/sListItem.vue.d.ts +18 -0
- package/@types/components/list/sListItemAction.vue.d.ts +14 -0
- package/@types/components/list/sListItemContent.vue.d.ts +13 -0
- package/@types/components/list/sListItemGroup.vue.d.ts +47 -0
- package/@types/components/list/sListItemIcon.vue.d.ts +14 -0
- package/@types/components/list/sListItemSubtitle.vue.d.ts +13 -0
- package/@types/components/list/sListItemTitle.vue.d.ts +13 -0
- package/@types/components/progress/index.d.ts +2 -0
- package/@types/components/progress/sProgressCircular.vue.d.ts +18 -0
- package/@types/components/progress/sProgressLinear.vue.d.ts +17 -0
- package/@types/components/sAlert.vue.d.ts +14 -0
- package/@types/components/sAutocomplete.vue.d.ts +57 -0
- package/@types/components/sBreadcrumbs.vue.d.ts +16 -0
- package/@types/components/sButton.vue.d.ts +20 -0
- package/@types/components/sChip.vue.d.ts +24 -0
- package/@types/components/sDialog.vue.d.ts +33 -0
- package/@types/components/sDivider.vue.d.ts +4 -0
- package/@types/components/sDroppable.vue.d.ts +28 -0
- package/@types/components/sIcon.vue.d.ts +4 -0
- package/@types/components/sImage.vue.d.ts +14 -0
- package/@types/components/sMenu.vue.d.ts +36 -0
- package/@types/components/sOverlay.vue.d.ts +26 -0
- package/@types/components/sSheet.vue.d.ts +14 -0
- package/@types/components/sSnackbar.vue.d.ts +35 -0
- package/@types/components/sSubheader.vue.d.ts +13 -0
- package/@types/components/sSwitch.vue.d.ts +23 -0
- package/@types/components/sTooltip.vue.d.ts +25 -0
- package/@types/components/slideGroup/index.d.ts +2 -0
- package/@types/components/slideGroup/sSlideGroup.vue.d.ts +42 -0
- package/@types/components/slideGroup/sSlideItem.vue.d.ts +17 -0
- package/@types/components/splitViews/index.d.ts +2 -0
- package/@types/components/splitViews/sSplitView.vue.d.ts +17 -0
- package/@types/components/splitViews/sSplitViewItem.vue.d.ts +13 -0
- package/@types/components/stepper/index.d.ts +2 -0
- package/@types/components/stepper/sStepper.vue.d.ts +26 -0
- package/@types/components/stepper/sStepperStep.vue.d.ts +14 -0
- package/@types/components/table/index.d.ts +3 -0
- package/@types/components/table/sTable.vue.d.ts +153 -0
- package/@types/components/table/sTableBodyCell.vue.d.ts +22 -0
- package/@types/components/table/sTableHeadCell.vue.d.ts +24 -0
- package/@types/components/table/sTablePagination.vue.d.ts +33 -0
- package/@types/components/tabs/index.d.ts +2 -0
- package/@types/components/tabs/sTab.vue.d.ts +14 -0
- package/@types/components/tabs/sTabs.vue.d.ts +20 -0
- package/@types/components/toggleButtonGroup/index.d.ts +2 -0
- package/@types/components/toggleButtonGroup/sToggleButton.vue.d.ts +14 -0
- package/@types/components/toggleButtonGroup/sToggleButtonGroup.vue.d.ts +31 -0
- package/@types/components/toolbar/index.d.ts +3 -0
- package/@types/components/toolbar/sToolbar.vue.d.ts +23 -0
- package/@types/components/toolbar/sToolbarItem.vue.d.ts +5 -0
- package/@types/components/toolbar/sToolbarTitle.vue.d.ts +16 -0
- package/@types/components/window/index.d.ts +2 -0
- package/@types/components/window/sWindow.vue.d.ts +57 -0
- package/@types/components/window/sWindowItem.vue.d.ts +13 -0
- package/@types/componentsTypes.d.ts +8 -0
- package/@types/configs/app.d.ts +72 -0
- package/@types/configs/color.d.ts +2 -0
- package/@types/configs/core/breakpoint.d.ts +9 -0
- package/@types/configs/core/index.d.ts +1 -0
- package/@types/configs/datePicker.d.ts +34 -0
- package/@types/configs/grids.d.ts +3 -0
- package/@types/configs/i18n.d.ts +73 -0
- package/@types/configs/iconSizes.d.ts +7 -0
- package/@types/configs/index.d.ts +11 -0
- package/@types/configs/provider.d.ts +42 -0
- package/@types/configs/size.d.ts +2 -0
- package/@types/configs/toolbar.d.ts +11 -0
- package/@types/configs/transitions.d.ts +2 -0
- package/@types/constants/alert.d.ts +52 -0
- package/@types/constants/app.d.ts +7 -0
- package/@types/constants/button.d.ts +5 -0
- package/@types/constants/color.d.ts +318 -0
- package/@types/constants/cssVariables.d.ts +4 -0
- package/@types/constants/datePicker.d.ts +14 -0
- package/@types/constants/form.d.ts +9 -0
- package/@types/constants/grids.d.ts +14 -0
- package/@types/constants/i18n.d.ts +68 -0
- package/@types/constants/imageLoader.d.ts +13 -0
- package/@types/constants/index.d.ts +20 -0
- package/@types/constants/layout.d.ts +10 -0
- package/@types/constants/lazyLoad.d.ts +5 -0
- package/@types/constants/materialDesignIcon.d.ts +3 -0
- package/@types/constants/menuDimensions.d.ts +2 -0
- package/@types/constants/navigationDrawer.d.ts +8 -0
- package/@types/constants/overlay.d.ts +1 -0
- package/@types/constants/position.d.ts +1 -0
- package/@types/constants/size.d.ts +7 -0
- package/@types/constants/toolbar.d.ts +7 -0
- package/@types/constants/transition.d.ts +6 -0
- package/@types/definitions/app.d.ts +22 -0
- package/@types/definitions/emits/emitsTable.d.ts +18 -0
- package/@types/definitions/emits/index.d.ts +1 -0
- package/@types/definitions/index.d.ts +4 -0
- package/@types/definitions/props/core/index.d.ts +18 -0
- package/@types/definitions/props/core/propsActivator.d.ts +6 -0
- package/@types/definitions/props/core/propsBorder.d.ts +5 -0
- package/@types/definitions/props/core/propsButtonVariant.d.ts +3 -0
- package/@types/definitions/props/core/propsColor.d.ts +6 -0
- package/@types/definitions/props/core/propsComponentTheme.d.ts +4 -0
- package/@types/definitions/props/core/propsContent.d.ts +5 -0
- package/@types/definitions/props/core/propsDisabled.d.ts +4 -0
- package/@types/definitions/props/core/propsElevation.d.ts +3 -0
- package/@types/definitions/props/core/propsGroup.d.ts +6 -0
- package/@types/definitions/props/core/propsGroupItem.d.ts +6 -0
- package/@types/definitions/props/core/propsLayoutBase.d.ts +3 -0
- package/@types/definitions/props/core/propsLink.d.ts +7 -0
- package/@types/definitions/props/core/propsLocation.d.ts +6 -0
- package/@types/definitions/props/core/propsMeasurableStyles.d.ts +8 -0
- package/@types/definitions/props/core/propsPosition.d.ts +4 -0
- package/@types/definitions/props/core/propsTag.d.ts +4 -0
- package/@types/definitions/props/core/propsTextColor.d.ts +3 -0
- package/@types/definitions/props/core/propsToggleButtonGroupVariant.d.ts +3 -0
- package/@types/definitions/props/index.d.ts +70 -0
- package/@types/definitions/props/propsAlert.d.ts +7 -0
- package/@types/definitions/props/propsApp.d.ts +2 -0
- package/@types/definitions/props/propsAppBar.d.ts +9 -0
- package/@types/definitions/props/propsAutocomplete.d.ts +40 -0
- package/@types/definitions/props/propsBadge.d.ts +19 -0
- package/@types/definitions/props/propsBottomNavigation.d.ts +14 -0
- package/@types/definitions/props/propsBreadcrumbs.d.ts +7 -0
- package/@types/definitions/props/propsButton.d.ts +10 -0
- package/@types/definitions/props/propsCalendar.d.ts +27 -0
- package/@types/definitions/props/propsCard.d.ts +2 -0
- package/@types/definitions/props/propsCarousel.d.ts +12 -0
- package/@types/definitions/props/propsCarouselItem.d.ts +3 -0
- package/@types/definitions/props/propsCheckbox.d.ts +9 -0
- package/@types/definitions/props/propsChip.d.ts +7 -0
- package/@types/definitions/props/propsColumn.d.ts +10 -0
- package/@types/definitions/props/propsContainer.d.ts +8 -0
- package/@types/definitions/props/propsDatePicker.d.ts +15 -0
- package/@types/definitions/props/propsDatePickerFormat.d.ts +5 -0
- package/@types/definitions/props/propsDatePickerInput.d.ts +18 -0
- package/@types/definitions/props/propsDatePickerItem.d.ts +18 -0
- package/@types/definitions/props/propsDatePickerItemSwitch.d.ts +9 -0
- package/@types/definitions/props/propsDatePickerItemTitle.d.ts +3 -0
- package/@types/definitions/props/propsDialog.d.ts +10 -0
- package/@types/definitions/props/propsDivider.d.ts +3 -0
- package/@types/definitions/props/propsDroppable.d.ts +2 -0
- package/@types/definitions/props/propsExpansionPanels.d.ts +8 -0
- package/@types/definitions/props/propsFooter.d.ts +6 -0
- package/@types/definitions/props/propsFormInput.d.ts +10 -0
- package/@types/definitions/props/propsIcon.d.ts +10 -0
- package/@types/definitions/props/propsImage.d.ts +9 -0
- package/@types/definitions/props/propsImageLoader.d.ts +11 -0
- package/@types/definitions/props/propsInput.d.ts +32 -0
- package/@types/definitions/props/propsLayout.d.ts +6 -0
- package/@types/definitions/props/propsLayoutProvider.d.ts +4 -0
- package/@types/definitions/props/propsLink.d.ts +7 -0
- package/@types/definitions/props/propsList.d.ts +10 -0
- package/@types/definitions/props/propsListItem.d.ts +7 -0
- package/@types/definitions/props/propsListMediaItem.d.ts +4 -0
- package/@types/definitions/props/propsMain.d.ts +4 -0
- package/@types/definitions/props/propsMenu.d.ts +9 -0
- package/@types/definitions/props/propsNavigationDrawer.d.ts +20 -0
- package/@types/definitions/props/propsOverlay.d.ts +8 -0
- package/@types/definitions/props/propsProgressCircular.d.ts +8 -0
- package/@types/definitions/props/propsProgressLinear.d.ts +9 -0
- package/@types/definitions/props/propsRadioGroup.d.ts +9 -0
- package/@types/definitions/props/propsRow.d.ts +11 -0
- package/@types/definitions/props/propsScrollable.d.ts +5 -0
- package/@types/definitions/props/propsSelect.d.ts +13 -0
- package/@types/definitions/props/propsSheet.d.ts +2 -0
- package/@types/definitions/props/propsSingleGroup.d.ts +6 -0
- package/@types/definitions/props/propsSingleGroupItem.d.ts +5 -0
- package/@types/definitions/props/propsSizePreset.d.ts +4 -0
- package/@types/definitions/props/propsSizeUnion.d.ts +4 -0
- package/@types/definitions/props/propsSlideGroup.d.ts +11 -0
- package/@types/definitions/props/propsSnackbar.d.ts +6 -0
- package/@types/definitions/props/propsSplitView.d.ts +9 -0
- package/@types/definitions/props/propsStepper.d.ts +10 -0
- package/@types/definitions/props/propsStepperStep.d.ts +6 -0
- package/@types/definitions/props/propsSwitch.d.ts +5 -0
- package/@types/definitions/props/propsTab.d.ts +5 -0
- package/@types/definitions/props/propsTable.d.ts +58 -0
- package/@types/definitions/props/propsTabs.d.ts +12 -0
- package/@types/definitions/props/propsTextarea.d.ts +25 -0
- package/@types/definitions/props/propsToggleButton.d.ts +3 -0
- package/@types/definitions/props/propsToggleButtonGroup.d.ts +8 -0
- package/@types/definitions/props/propsToolbar.d.ts +11 -0
- package/@types/definitions/props/propsToolbarTitle.d.ts +4 -0
- package/@types/definitions/props/propsTooltip.d.ts +9 -0
- package/@types/definitions/props/propsWindow.d.ts +13 -0
- package/@types/definitions/props/propsWindowItem.d.ts +2 -0
- package/@types/definitions/provider.d.ts +20 -0
- package/@types/directives/index.d.ts +2 -0
- package/@types/directives/resize.d.ts +2 -0
- package/@types/directives/scroll.d.ts +2 -0
- package/@types/helpers/autocompleteHelpers.d.ts +7 -0
- package/@types/helpers/colorHelpers.d.ts +3 -0
- package/@types/helpers/createAppStore.d.ts +77 -0
- package/@types/helpers/display.d.ts +1 -0
- package/@types/helpers/index.d.ts +6 -0
- package/@types/helpers/selectItemHelpers.d.ts +4 -0
- package/@types/helpers/tableHelpers.d.ts +9 -0
- package/@types/helpers/themeHelpers.d.ts +2 -0
- package/@types/index.d.ts +10 -0
- package/@types/lib/browser.d.ts +26 -0
- package/@types/lib/button.d.ts +3 -0
- package/@types/lib/color.d.ts +19 -0
- package/@types/lib/compositionApi.d.ts +2 -0
- package/@types/lib/formatNumber.d.ts +1 -0
- package/@types/lib/getCleanSetObject.d.ts +5 -0
- package/@types/lib/getNumericCssAttribute.d.ts +1 -0
- package/@types/lib/getNumericValue.d.ts +13 -0
- package/@types/lib/getPluginName.d.ts +1 -0
- package/@types/lib/htmlClass.d.ts +1 -0
- package/@types/lib/htmlToText.d.ts +2 -0
- package/@types/lib/index.d.ts +12 -0
- package/@types/lib/isEmpty.d.ts +1 -0
- package/@types/lib/retry.d.ts +1 -0
- package/@types/lib/scroll.d.ts +13 -0
- package/@types/lib/wait.d.ts +1 -0
- package/@types/modules/index.d.ts +1 -0
- package/@types/modules/sUI.d.ts +2 -0
- package/@types/repositories/calendarRepository.d.ts +3 -0
- package/@types/repositories/colorRepository.d.ts +14 -0
- package/@types/repositories/columnRepository.d.ts +9 -0
- package/@types/repositories/core/appProviderRepository.d.ts +4 -0
- package/@types/repositories/datePicker.d.ts +18 -0
- package/@types/repositories/form.d.ts +66 -0
- package/@types/repositories/htmlClassRepository.d.ts +1 -0
- package/@types/repositories/index.d.ts +9 -0
- package/@types/repositories/positionRepository.d.ts +10 -0
- package/@types/repositories/tableRepository.d.ts +2 -0
- package/@types/repositories/touchRepository.d.ts +4 -0
- package/@types/services/appBarService.d.ts +41 -0
- package/@types/services/appService.d.ts +6 -0
- package/@types/services/autocompleteService.d.ts +42 -0
- package/@types/services/backgroundScrollService.d.ts +4 -0
- package/@types/services/borderService.d.ts +12 -0
- package/@types/services/calendar/calendarEventService.d.ts +5 -0
- package/@types/services/calendar/calendarMonthlyService.d.ts +14 -0
- package/@types/services/calendar/calendarService.d.ts +8 -0
- package/@types/services/calendar/calendarWeeklyService.d.ts +28 -0
- package/@types/services/calendar/index.d.ts +8 -0
- package/@types/services/calendar/useCalendarDateFormatters.d.ts +6 -0
- package/@types/services/calendar/useCalendarEventHandlers.d.ts +19 -0
- package/@types/services/calendar/useCalendarWeeklyAllDayEvents.d.ts +20 -0
- package/@types/services/calendar/useCalendarWeeklyEventPositioning.d.ts +23 -0
- package/@types/services/colorService.d.ts +19 -0
- package/@types/services/columnService.d.ts +8 -0
- package/@types/services/componentDefaultsService.d.ts +1 -0
- package/@types/services/componentThemeService.d.ts +6 -0
- package/@types/services/core/activatorService.d.ts +16 -0
- package/@types/services/core/clickOutsideService.d.ts +9 -0
- package/@types/services/core/contentService.d.ts +13 -0
- package/@types/services/core/expandableItemCoreService.d.ts +4 -0
- package/@types/services/core/groupCoreItemService.d.ts +11 -0
- package/@types/services/core/groupCoreService.d.ts +16 -0
- package/@types/services/core/index.d.ts +9 -0
- package/@types/services/core/layoutCoreService.d.ts +21 -0
- package/@types/services/core/locationService.d.ts +11 -0
- package/@types/services/core/tableCellCommonService.d.ts +8 -0
- package/@types/services/datePicker/datePickerInputService.d.ts +9 -0
- package/@types/services/datePicker/datePickerItemCoreService.d.ts +30 -0
- package/@types/services/datePicker/datePickerItemDateService.d.ts +18 -0
- package/@types/services/datePicker/datePickerItemMonthService.d.ts +17 -0
- package/@types/services/datePicker/datePickerItemSwitchService.d.ts +11 -0
- package/@types/services/datePicker/datePickerItemTitleService.d.ts +8 -0
- package/@types/services/datePicker/datePickerItemYearService.d.ts +17 -0
- package/@types/services/datePicker/datePickerService.d.ts +7 -0
- package/@types/services/datePicker/index.d.ts +7 -0
- package/@types/services/dialogService.d.ts +32 -0
- package/@types/services/disabledService.d.ts +12 -0
- package/@types/services/displayService.d.ts +24 -0
- package/@types/services/elevationService.d.ts +6 -0
- package/@types/services/expandableItemService.d.ts +5 -0
- package/@types/services/expandableService.d.ts +5 -0
- package/@types/services/formInputService.d.ts +8 -0
- package/@types/services/groupItemService.d.ts +10 -0
- package/@types/services/groupService.d.ts +16 -0
- package/@types/services/index.d.ts +43 -0
- package/@types/services/layoutProviderService.d.ts +28 -0
- package/@types/services/layoutService.d.ts +24 -0
- package/@types/services/linkService.d.ts +21 -0
- package/@types/services/listMediaItemService.d.ts +8 -0
- package/@types/services/measurableStylesService.d.ts +11 -0
- package/@types/services/menuService.d.ts +35 -0
- package/@types/services/navigationDrawerResizeService.d.ts +10 -0
- package/@types/services/navigationDrawerService.d.ts +6 -0
- package/@types/services/positionService.d.ts +10 -0
- package/@types/services/resizeService.d.ts +4 -0
- package/@types/services/scrollService.d.ts +8 -0
- package/@types/services/scrollableService.d.ts +15 -0
- package/@types/services/singleGroupItemService.d.ts +10 -0
- package/@types/services/singleGroupService.d.ts +34 -0
- package/@types/services/sizeService.d.ts +12 -0
- package/@types/services/slideGroupService.d.ts +19 -0
- package/@types/services/table/index.d.ts +3 -0
- package/@types/services/table/tableBodyCellService.d.ts +9 -0
- package/@types/services/table/tableHeadCellService.d.ts +8 -0
- package/@types/services/table/tableService.d.ts +179 -0
- package/@types/services/tagService.d.ts +9 -0
- package/@types/services/textColorService.d.ts +15 -0
- package/@types/services/themeService.d.ts +5 -0
- package/@types/services/toolbarService.d.ts +7 -0
- package/@types/services/touchService.d.ts +2 -0
- package/@types/store/index.d.ts +5 -0
- package/@types/types/app.d.ts +36 -0
- package/@types/types/autocomplete.d.ts +7 -0
- package/@types/types/breadcrumbs.d.ts +8 -0
- package/@types/types/button.d.ts +1 -0
- package/@types/types/calendar.d.ts +61 -0
- package/@types/types/core/color.d.ts +2 -0
- package/@types/types/core/emit.d.ts +1 -0
- package/@types/types/core/form.d.ts +2 -0
- package/@types/types/core/group.d.ts +1 -0
- package/@types/types/core/index.d.ts +4 -0
- package/@types/types/datePicker.d.ts +12 -0
- package/@types/types/display.d.ts +9 -0
- package/@types/types/emits.d.ts +17 -0
- package/@types/types/form.d.ts +9 -0
- package/@types/types/grids.d.ts +2 -0
- package/@types/types/html.d.ts +1 -0
- package/@types/types/icon.d.ts +1 -0
- package/@types/types/index.d.ts +24 -0
- package/@types/types/input.d.ts +3 -0
- package/@types/types/location.d.ts +2 -0
- package/@types/types/materialDesignIcon.d.ts +2 -0
- package/@types/types/menu.d.ts +9 -0
- package/@types/types/resize.d.ts +12 -0
- package/@types/types/scroll.d.ts +26 -0
- package/@types/types/select.d.ts +6 -0
- package/@types/types/size.d.ts +2 -0
- package/@types/types/table.d.ts +39 -0
- package/@types/types/tag.d.ts +1 -0
- package/@types/types/toolbar.d.ts +2 -0
- package/@types/types/touch.d.ts +28 -0
- package/@types/validators/index.d.ts +1 -0
- package/@types/validators/numeric.d.ts +1 -0
- package/@types/vendors/dayjs.d.ts +2 -0
- package/@types/vendors/merge.d.ts +2 -0
- package/@types/vite.config.d.ts +2 -0
- package/@types/vitest.config.d.ts +2 -0
- package/README.md +210 -2
- package/dist/base.css +7282 -0
- package/dist/base.css.map +1 -0
- package/dist/s-ui.css +2 -0
- package/dist/s-ui.js +8976 -0
- package/dist/s-ui.umd.cjs +1 -0
- package/dist/styles/_helpers.scss +9 -0
- package/dist/styles/components/appBar/_variables.scss +4 -0
- package/dist/styles/components/appBar/index.scss +1 -0
- package/dist/styles/components/button/_variables.scss +51 -0
- package/dist/styles/components/button/index.scss +2 -0
- package/dist/styles/components/button/mixins.scss +60 -0
- package/dist/styles/components/cards/index.scss +1 -0
- package/dist/styles/components/cards/variables.scss +5 -0
- package/dist/styles/components/icon/_variables.scss +14 -0
- package/dist/styles/components/icon/index.scss +1 -0
- package/dist/styles/components/index.scss +10 -0
- package/dist/styles/components/layout/_mixins.scss +7 -0
- package/dist/styles/components/layout/_variables.scss +6 -0
- package/dist/styles/components/layout/index.scss +2 -0
- package/dist/styles/components/list/_mixins.scss +53 -0
- package/dist/styles/components/list/index.scss +1 -0
- package/dist/styles/components/menu/_mixins.scss +11 -0
- package/dist/styles/components/menu/index.scss +1 -0
- package/dist/styles/components/table/_mixins.scss +51 -0
- package/dist/styles/components/table/index.scss +1 -0
- package/dist/styles/components/toggleButton/_variables.scss +4 -0
- package/dist/styles/components/toggleButton/index.scss +1 -0
- package/dist/styles/components/window/_variables.scss +2 -0
- package/dist/styles/components/window/index.scss +1 -0
- package/dist/styles/generic/_common.scss +95 -0
- package/dist/styles/generic/_reset.scss +357 -0
- package/dist/styles/generic/_transitions.scss +83 -0
- package/dist/styles/generic/index.scss +3 -0
- package/dist/styles/index.scss +6 -0
- package/dist/styles/lib/_functions.scss +86 -0
- package/dist/styles/lib/index.scss +1 -0
- package/dist/styles/mixins/_app.scss +13 -0
- package/dist/styles/mixins/_border.scss +104 -0
- package/dist/styles/mixins/_dark.scss +31 -0
- package/dist/styles/mixins/_display.scss +9 -0
- package/dist/styles/mixins/_elevation.scss +15 -0
- package/dist/styles/mixins/_grids.scss +66 -0
- package/dist/styles/mixins/_media.scss +14 -0
- package/dist/styles/mixins/_text.scss +44 -0
- package/dist/styles/mixins/_utilities.scss +68 -0
- package/dist/styles/mixins/index.scss +10 -0
- package/dist/styles/modules/breakpoints.module.scss +10 -0
- package/dist/styles/tools/_breakpoint.scss +20 -0
- package/dist/styles/tools/_color.scss +35 -0
- package/dist/styles/tools/index.scss +2 -0
- package/dist/styles/variables/_border.scss +19 -0
- package/dist/styles/variables/_colors.scss +34 -0
- package/dist/styles/variables/_elevations.scss +98 -0
- package/dist/styles/variables/_font.scss +8 -0
- package/dist/styles/variables/_grid.scss +36 -0
- package/dist/styles/variables/_headings.scss +100 -0
- package/dist/styles/variables/_spacers.scss +17 -0
- package/dist/styles/variables/_transitions.scss +16 -0
- package/dist/styles/variables/_utilities.scss +360 -0
- package/dist/styles/variables/index.scss +9 -0
- package/package.json +68 -4
- package/sui-plugin/.claude-plugin/plugin.json +10 -0
- package/sui-plugin/README.md +73 -0
- package/sui-plugin/skills/sui-component/SKILL.md +133 -0
- package/sui-plugin/skills/sui-component/references/alert.md +53 -0
- package/sui-plugin/skills/sui-component/references/autocomplete.md +110 -0
- package/sui-plugin/skills/sui-component/references/badge.md +80 -0
- package/sui-plugin/skills/sui-component/references/breadcrumbs.md +67 -0
- package/sui-plugin/skills/sui-component/references/button.md +74 -0
- package/sui-plugin/skills/sui-component/references/calendar.md +120 -0
- package/sui-plugin/skills/sui-component/references/cards.md +97 -0
- package/sui-plugin/skills/sui-component/references/carousel.md +113 -0
- package/sui-plugin/skills/sui-component/references/chip.md +68 -0
- package/sui-plugin/skills/sui-component/references/date-picker.md +140 -0
- package/sui-plugin/skills/sui-component/references/dialog.md +82 -0
- package/sui-plugin/skills/sui-component/references/divider.md +52 -0
- package/sui-plugin/skills/sui-component/references/droppable.md +68 -0
- package/sui-plugin/skills/sui-component/references/expansion-panels.md +108 -0
- package/sui-plugin/skills/sui-component/references/form.md +175 -0
- package/sui-plugin/skills/sui-component/references/icon.md +61 -0
- package/sui-plugin/skills/sui-component/references/image.md +56 -0
- package/sui-plugin/skills/sui-component/references/layout.md +226 -0
- package/sui-plugin/skills/sui-component/references/list.md +153 -0
- package/sui-plugin/skills/sui-component/references/menu.md +74 -0
- package/sui-plugin/skills/sui-component/references/overlay.md +48 -0
- package/sui-plugin/skills/sui-component/references/progress.md +78 -0
- package/sui-plugin/skills/sui-component/references/sheet.md +58 -0
- package/sui-plugin/skills/sui-component/references/slide-group.md +123 -0
- package/sui-plugin/skills/sui-component/references/snackbar.md +59 -0
- package/sui-plugin/skills/sui-component/references/split-view.md +59 -0
- package/sui-plugin/skills/sui-component/references/stepper.md +92 -0
- package/sui-plugin/skills/sui-component/references/table.md +151 -0
- package/sui-plugin/skills/sui-component/references/tabs.md +88 -0
- package/sui-plugin/skills/sui-component/references/toggle-button-group.md +109 -0
- package/sui-plugin/skills/sui-component/references/toolbar.md +101 -0
- package/sui-plugin/skills/sui-component/references/tooltip.md +65 -0
- package/sui-plugin/skills/sui-component/references/window.md +75 -0
- package/sui-plugin/skills/sui-form/SKILL.md +225 -0
- package/sui-plugin/skills/sui-getting-started/SKILL.md +374 -0
- package/sui-plugin/skills/sui-layout/SKILL.md +111 -0
- package/sui-plugin/skills/sui-utilities/SKILL.md +40 -0
- package/sui-plugin/skills/sui-utilities/docs/classes.md +487 -0
- package/sui-plugin/skills/sui-utilities/docs/directives.md +200 -0
- package/sui-plugin/skills/sui-utilities/docs/helpers.md +583 -0
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
@use './spacers';
|
|
2
|
+
@use '../lib';
|
|
3
|
+
|
|
4
|
+
$s_utilities: () !default;
|
|
5
|
+
$s_textShadowColor: rgb(0 0 0 / 80%);
|
|
6
|
+
$s_utilities: lib.map-deep-merge(
|
|
7
|
+
(
|
|
8
|
+
'overflow': (
|
|
9
|
+
'name': 'overflow',
|
|
10
|
+
'modifiers': (overflow),
|
|
11
|
+
'properties': (auto, hidden, visible),
|
|
12
|
+
),
|
|
13
|
+
'overflowX': (
|
|
14
|
+
'name': 'overflowX',
|
|
15
|
+
'modifiers': (overflow-x),
|
|
16
|
+
'properties': (auto, hidden),
|
|
17
|
+
),
|
|
18
|
+
'overflowY': (
|
|
19
|
+
'name': 'overflowY',
|
|
20
|
+
'modifiers': (overflow-y),
|
|
21
|
+
'properties': (auto, hidden),
|
|
22
|
+
),
|
|
23
|
+
'display': (
|
|
24
|
+
'name': 'display',
|
|
25
|
+
'print': true,
|
|
26
|
+
'modifiers': (display),
|
|
27
|
+
'properties': (
|
|
28
|
+
'none': none,
|
|
29
|
+
'inline': inline,
|
|
30
|
+
'inlineBlock': inline-block,
|
|
31
|
+
'block': block,
|
|
32
|
+
'flex': flex,
|
|
33
|
+
'inlineFlex': inline-flex,
|
|
34
|
+
/** no use
|
|
35
|
+
'table': table,
|
|
36
|
+
'tableRow': table-row,
|
|
37
|
+
'tableCell': table-cell,
|
|
38
|
+
*/
|
|
39
|
+
),
|
|
40
|
+
'responsive': true,
|
|
41
|
+
),
|
|
42
|
+
'position': (
|
|
43
|
+
'name': 'position',
|
|
44
|
+
'modifiers': (position),
|
|
45
|
+
'properties': (
|
|
46
|
+
'unset': unset,
|
|
47
|
+
'static': static,
|
|
48
|
+
'relative': relative,
|
|
49
|
+
'absolute': absolute,
|
|
50
|
+
'fixed': fixed,
|
|
51
|
+
'sticky': sticky,
|
|
52
|
+
),
|
|
53
|
+
'unimportants': (position),
|
|
54
|
+
),
|
|
55
|
+
/* 'flexFill': (*/
|
|
56
|
+
/* 'name': 'flex',*/
|
|
57
|
+
/* 'modifiers': (flex),*/
|
|
58
|
+
/* 'properties': ('fill': 1 1 auto),*/
|
|
59
|
+
/* 'responsive': true,*/
|
|
60
|
+
/* ),*/
|
|
61
|
+
/* 'flexDirection': (*/
|
|
62
|
+
/* 'name': 'flexDirection',*/
|
|
63
|
+
/* 'modifiers': (flex-direction),*/
|
|
64
|
+
/* 'properties': ('row': row, 'column': column, 'rowReverse': row-reverse, 'columnReverse': column-reverse),*/
|
|
65
|
+
/* 'responsive': true,*/
|
|
66
|
+
/* ),*/
|
|
67
|
+
/* 'flexGrow': (*/
|
|
68
|
+
/* 'name': 'flexGrow',*/
|
|
69
|
+
/* 'modifiers': (flex-grow),*/
|
|
70
|
+
/* 'properties': (0, 1),*/
|
|
71
|
+
/* 'responsive': true,*/
|
|
72
|
+
/* ),*/
|
|
73
|
+
/* 'flexShrink': (*/
|
|
74
|
+
/* 'name': 'flexShrink',*/
|
|
75
|
+
/* 'modifiers': (flex-shrink),*/
|
|
76
|
+
/* 'properties': (0, 1),*/
|
|
77
|
+
/* 'responsive': true,*/
|
|
78
|
+
/* ),*/
|
|
79
|
+
/* 'flexWrap': (*/
|
|
80
|
+
/* 'name': 'flex',*/
|
|
81
|
+
/* 'modifiers': (flex-wrap),*/
|
|
82
|
+
/* 'properties': ('wrap': wrap, 'nowrap': nowrap, 'wrapReverse': wrap-reverse),*/
|
|
83
|
+
/* 'responsive': true,*/
|
|
84
|
+
/* ),*/
|
|
85
|
+
'justify': (
|
|
86
|
+
'name': 'justify',
|
|
87
|
+
'modifiers': (justify-content),
|
|
88
|
+
'properties': (
|
|
89
|
+
'start': flex-start,
|
|
90
|
+
'end': flex-end,
|
|
91
|
+
'center': center,
|
|
92
|
+
'spaceBetween': space-between,
|
|
93
|
+
'spaceAround': space-around,
|
|
94
|
+
),
|
|
95
|
+
'responsive': true,
|
|
96
|
+
),
|
|
97
|
+
'align': (
|
|
98
|
+
'name': 'align',
|
|
99
|
+
'modifiers': (align-items),
|
|
100
|
+
'properties': (
|
|
101
|
+
'start': flex-start,
|
|
102
|
+
'end': flex-end,
|
|
103
|
+
'center': center,
|
|
104
|
+
'baseline': baseline,
|
|
105
|
+
'stretch': stretch,
|
|
106
|
+
),
|
|
107
|
+
'responsive': true,
|
|
108
|
+
),
|
|
109
|
+
'alignContent': (
|
|
110
|
+
'name': 'alignContent',
|
|
111
|
+
'modifiers': (align-content),
|
|
112
|
+
'properties': (
|
|
113
|
+
'start': flex-start,
|
|
114
|
+
'end': flex-end,
|
|
115
|
+
'center': center,
|
|
116
|
+
'spaceBetween': space-between,
|
|
117
|
+
'spaceAround': space-around,
|
|
118
|
+
'stretch': stretch,
|
|
119
|
+
),
|
|
120
|
+
'responsive': true,
|
|
121
|
+
),
|
|
122
|
+
'alignSelf': (
|
|
123
|
+
'name': 'alignSelf',
|
|
124
|
+
'modifiers': (align-self),
|
|
125
|
+
'properties': (
|
|
126
|
+
'auto': auto,
|
|
127
|
+
'start': flex-start,
|
|
128
|
+
'end': flex-end,
|
|
129
|
+
'center': center,
|
|
130
|
+
'baseline': baseline,
|
|
131
|
+
'stretch': stretch,
|
|
132
|
+
),
|
|
133
|
+
'responsive': true,
|
|
134
|
+
),
|
|
135
|
+
'order': (
|
|
136
|
+
'name': 'order',
|
|
137
|
+
'modifiers': (order),
|
|
138
|
+
'properties': (
|
|
139
|
+
'first': -1,
|
|
140
|
+
'0': 0,
|
|
141
|
+
'1': 1,
|
|
142
|
+
'2': 2,
|
|
143
|
+
'3': 3,
|
|
144
|
+
'4': 4,
|
|
145
|
+
'5': 5,
|
|
146
|
+
'6': 6,
|
|
147
|
+
'7': 7,
|
|
148
|
+
'8': 8,
|
|
149
|
+
'9': 9,
|
|
150
|
+
'10': 10,
|
|
151
|
+
'11': 11,
|
|
152
|
+
'12': 12,
|
|
153
|
+
'last': 13,
|
|
154
|
+
),
|
|
155
|
+
'responsive': true,
|
|
156
|
+
),
|
|
157
|
+
'margin': (
|
|
158
|
+
'name': 'ma',
|
|
159
|
+
'modifiers': (margin),
|
|
160
|
+
'properties': spacers.$s_marginSpacers,
|
|
161
|
+
'responsive': true,
|
|
162
|
+
),
|
|
163
|
+
'marginX': (
|
|
164
|
+
'name': 'mx',
|
|
165
|
+
'modifiers': (margin-right, margin-left),
|
|
166
|
+
'properties': spacers.$s_marginSpacers,
|
|
167
|
+
'responsive': true,
|
|
168
|
+
),
|
|
169
|
+
'marginY': (
|
|
170
|
+
'name': 'my',
|
|
171
|
+
'modifiers': (margin-top, margin-bottom),
|
|
172
|
+
'properties': spacers.$s_marginSpacers,
|
|
173
|
+
'responsive': true,
|
|
174
|
+
),
|
|
175
|
+
'marginTop': (
|
|
176
|
+
'name': 'mt',
|
|
177
|
+
'modifiers': (margin-top),
|
|
178
|
+
'properties': spacers.$s_marginSpacers,
|
|
179
|
+
'responsive': true,
|
|
180
|
+
),
|
|
181
|
+
'marginRight': (
|
|
182
|
+
'name': 'mr',
|
|
183
|
+
'modifiers': (margin-right),
|
|
184
|
+
'properties': spacers.$s_marginSpacers,
|
|
185
|
+
'responsive': true,
|
|
186
|
+
),
|
|
187
|
+
'marginBottom': (
|
|
188
|
+
'name': 'mb',
|
|
189
|
+
'modifiers': (margin-bottom),
|
|
190
|
+
'properties': spacers.$s_marginSpacers,
|
|
191
|
+
'responsive': true,
|
|
192
|
+
),
|
|
193
|
+
'marginLeft': (
|
|
194
|
+
'name': 'ml',
|
|
195
|
+
'modifiers': (margin-left),
|
|
196
|
+
'properties': spacers.$s_marginSpacers,
|
|
197
|
+
'responsive': true,
|
|
198
|
+
),
|
|
199
|
+
/* 'marginStart': (*/
|
|
200
|
+
/* 'name': 'ms',*/
|
|
201
|
+
/* 'modifiers': (margin-left),*/
|
|
202
|
+
/* 'properties': spacers.$s_marginSpacers,*/
|
|
203
|
+
/* 'responsive': true,*/
|
|
204
|
+
/* ),*/
|
|
205
|
+
/* 'marginEnd': (*/
|
|
206
|
+
/* 'name': 'me',*/
|
|
207
|
+
/* 'modifiers': (margin-right),*/
|
|
208
|
+
/* 'properties': spacers.$s_marginSpacers,*/
|
|
209
|
+
/* 'responsive': true,*/
|
|
210
|
+
/* ),*/
|
|
211
|
+
'padding': (
|
|
212
|
+
'name': 'pa',
|
|
213
|
+
'modifiers': (padding),
|
|
214
|
+
'properties': spacers.$s_spacers,
|
|
215
|
+
'responsive': true,
|
|
216
|
+
),
|
|
217
|
+
'paddingX': (
|
|
218
|
+
'name': 'px',
|
|
219
|
+
'modifiers': (padding-right, padding-left),
|
|
220
|
+
'properties': spacers.$s_spacers,
|
|
221
|
+
'responsive': true,
|
|
222
|
+
),
|
|
223
|
+
'paddingY': (
|
|
224
|
+
'name': 'py',
|
|
225
|
+
'modifiers': (padding-top, padding-bottom),
|
|
226
|
+
'properties': spacers.$s_spacers,
|
|
227
|
+
'responsive': true,
|
|
228
|
+
),
|
|
229
|
+
'paddingTop': (
|
|
230
|
+
'name': 'pt',
|
|
231
|
+
'modifiers': (padding-top),
|
|
232
|
+
'properties': spacers.$s_spacers,
|
|
233
|
+
'responsive': true,
|
|
234
|
+
),
|
|
235
|
+
'paddingRight': (
|
|
236
|
+
'name': 'pr',
|
|
237
|
+
'modifiers': (padding-right),
|
|
238
|
+
'properties': spacers.$s_spacers,
|
|
239
|
+
'responsive': true,
|
|
240
|
+
),
|
|
241
|
+
'paddingBottom': (
|
|
242
|
+
'name': 'pb',
|
|
243
|
+
'modifiers': (padding-bottom),
|
|
244
|
+
'properties': spacers.$s_spacers,
|
|
245
|
+
'responsive': true,
|
|
246
|
+
),
|
|
247
|
+
'paddingLeft': (
|
|
248
|
+
'name': 'pl',
|
|
249
|
+
'modifiers': (padding-left),
|
|
250
|
+
'properties': spacers.$s_spacers,
|
|
251
|
+
'responsive': true,
|
|
252
|
+
),
|
|
253
|
+
/* 'paddingStart': (*/
|
|
254
|
+
/* 'name': 'ps',*/
|
|
255
|
+
/* 'modifiers': (padding-left),*/
|
|
256
|
+
/* 'properties': spacers.$s_spacers,*/
|
|
257
|
+
/* 'responsive': true,*/
|
|
258
|
+
/* ),*/
|
|
259
|
+
/* 'paddingEnd': (*/
|
|
260
|
+
/* 'name': 'pe',*/
|
|
261
|
+
/* 'modifiers': (padding-right),*/
|
|
262
|
+
/* 'properties': spacers.$s_spacers,*/
|
|
263
|
+
/* 'responsive': true,*/
|
|
264
|
+
/* ),*/
|
|
265
|
+
/* 'rounded': (*/
|
|
266
|
+
/* 'name': 'rounded',*/
|
|
267
|
+
/* 'modifiers': (border-radius),*/
|
|
268
|
+
/* 'properties': $s_rounded,*/
|
|
269
|
+
/* ),*/
|
|
270
|
+
/* 'roundedTop': (*/
|
|
271
|
+
/* 'name': 'roundedTop',*/
|
|
272
|
+
/* 'modifiers': (border-top-left-radius, border-top-right-radius),*/
|
|
273
|
+
/* 'properties': $s_rounded,*/
|
|
274
|
+
/* ),*/
|
|
275
|
+
/* 'roundedRight': (*/
|
|
276
|
+
/* 'name': 'roundedRight',*/
|
|
277
|
+
/* 'modifiers': (border-top-right-radius, border-bottom-right-radius),*/
|
|
278
|
+
/* 'properties': $s_rounded,*/
|
|
279
|
+
/* ),*/
|
|
280
|
+
/* 'roundedBottom': (*/
|
|
281
|
+
/* 'name': 'roundedBottom',*/
|
|
282
|
+
/* 'modifiers': (border-bottom-left-radius, border-bottom-right-radius),*/
|
|
283
|
+
/* 'properties': $s_rounded,*/
|
|
284
|
+
/* ),*/
|
|
285
|
+
/* 'roundedLeft': (*/
|
|
286
|
+
/* 'name': 'roundedLeft',*/
|
|
287
|
+
/* 'modifiers': (border-top-left-radius, border-bottom-left-radius),*/
|
|
288
|
+
/* 'properties': $s_rounded,*/
|
|
289
|
+
/* ),*/
|
|
290
|
+
/* 'roundedTopLeft': (*/
|
|
291
|
+
/* 'name': 'roundedTopLeft',*/
|
|
292
|
+
/* 'modifiers': (border-top-left-radius),*/
|
|
293
|
+
/* 'properties': $s_rounded,*/
|
|
294
|
+
/* ),*/
|
|
295
|
+
/* 'roundedTopRight': (*/
|
|
296
|
+
/* 'name': 'roundedTopRight',*/
|
|
297
|
+
/* 'modifiers': (border-top-right-radius),*/
|
|
298
|
+
/* 'properties': $s_rounded,*/
|
|
299
|
+
/* ),*/
|
|
300
|
+
/* 'roundedBottomRight': (*/
|
|
301
|
+
/* 'name': 'roundedBottomRight',*/
|
|
302
|
+
/* 'modifiers': (border-bottom-right-radius),*/
|
|
303
|
+
/* 'properties': $s_rounded,*/
|
|
304
|
+
/* ),*/
|
|
305
|
+
/* 'roundedBottomLeft': (*/
|
|
306
|
+
/* 'name': 'roundedBottomLeft',*/
|
|
307
|
+
/* 'modifiers': (border-bottom-left-radius),*/
|
|
308
|
+
/* 'properties': $s_rounded,*/
|
|
309
|
+
/* ),*/
|
|
310
|
+
'textAlign': (
|
|
311
|
+
'name': 'textAlign',
|
|
312
|
+
'modifiers': (text-align),
|
|
313
|
+
'properties': (left, right, center, justify, start, end),
|
|
314
|
+
'responsive': true,
|
|
315
|
+
),
|
|
316
|
+
'textDecoration': (
|
|
317
|
+
'name': 'textDecoration',
|
|
318
|
+
'modifiers': (text-decoration),
|
|
319
|
+
'properties': ('lineThrough': line-through, 'none': none, 'overline': overline, 'underline': underline),
|
|
320
|
+
),
|
|
321
|
+
'whiteSpace': (
|
|
322
|
+
'name': 'text',
|
|
323
|
+
'modifiers': (white-space),
|
|
324
|
+
'properties': (
|
|
325
|
+
'wrap': normal,
|
|
326
|
+
'noWrap': nowrap,
|
|
327
|
+
'pre': pre,
|
|
328
|
+
'preLine': pre-line,
|
|
329
|
+
'preWrap': pre-wrap,
|
|
330
|
+
)
|
|
331
|
+
),
|
|
332
|
+
'overflowWrap': (
|
|
333
|
+
'name': 'text',
|
|
334
|
+
'modifiers': (overflow-wrap, word-break),
|
|
335
|
+
'properties': (breakword: break-word),
|
|
336
|
+
),
|
|
337
|
+
'textTransform': (
|
|
338
|
+
'name': 'text',
|
|
339
|
+
'modifiers': (text-transform),
|
|
340
|
+
'properties': (capitalize, lowercase, uppercase),
|
|
341
|
+
),
|
|
342
|
+
'fontWeight': (
|
|
343
|
+
'name': 'fontWeight',
|
|
344
|
+
'modifiers': (font-weight),
|
|
345
|
+
'properties': (bold:700)
|
|
346
|
+
),
|
|
347
|
+
'textShadow': (
|
|
348
|
+
'name': 'textShadow',
|
|
349
|
+
'modifiers': (text-shadow),
|
|
350
|
+
'properties': (
|
|
351
|
+
0: unset,
|
|
352
|
+
1: (1px 1px 0 $s_textShadowColor, -1px -1px 0 $s_textShadowColor),
|
|
353
|
+
2: (2px 2px 8px $s_textShadowColor, -2px -2px 8px $s_textShadowColor),
|
|
354
|
+
3: (4px 4px 16px $s_textShadowColor, -4px -4px 16px $s_textShadowColor),
|
|
355
|
+
),
|
|
356
|
+
'unimportants': (text-shadow)
|
|
357
|
+
)
|
|
358
|
+
),
|
|
359
|
+
$s_utilities,
|
|
360
|
+
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,70 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khsura/sui",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.18.3",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"prebuild": "yarn g:rimraf dist && yarn g:rimraf @types && yarn g:rimraf .claude-plugin && yarn g:rimraf sui-plugin",
|
|
7
|
+
"build:style": "yarn g:sass styles/index.scss dist/base.css",
|
|
8
|
+
"build:type": "yarn g:vue-tsc -p tsconfig.build.json && yarn g:tsc-alias -p tsconfig.build.json",
|
|
9
|
+
"build:plugin": "cp -R ../../.claude-plugin . && cp -R ../../plugins/sui-plugin .",
|
|
10
|
+
"build": "yarn prebuild && yarn build:type && yarn g:vite build && yarn build:style && cp -R styles dist/styles && yarn build:plugin",
|
|
11
|
+
"lint": "yarn g:eslint",
|
|
12
|
+
"stylelint": "yarn g:stylelint ./**/*.{vue,css,scss}",
|
|
13
|
+
"test": "yarn g:vitest run --project unit",
|
|
14
|
+
"test-storybook": "yarn g:vitest --project storybook",
|
|
15
|
+
"release": "yarn g:publish",
|
|
16
|
+
"storybook:dev": "storybook dev --port 6006",
|
|
17
|
+
"storybook:build": "storybook build"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"@types",
|
|
22
|
+
".claude-plugin",
|
|
23
|
+
"sui-plugin"
|
|
24
|
+
],
|
|
25
|
+
"main": "./dist/s-ui.umd.cjs",
|
|
26
|
+
"module": "./dist/s-ui.js",
|
|
27
|
+
"types": "./@types/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
"./base.css": "./dist/base.css",
|
|
30
|
+
"./style.css": "./dist/s-ui.css",
|
|
31
|
+
"./style.scss": "./dist/styles/index.scss",
|
|
32
|
+
"./helpers.scss": "./dist/styles/_helpers.scss",
|
|
33
|
+
".": {
|
|
34
|
+
"import": {
|
|
35
|
+
"types": "./@types/index.d.ts",
|
|
36
|
+
"default": "./dist/s-ui.js"
|
|
37
|
+
},
|
|
38
|
+
"require": {
|
|
39
|
+
"types": "./@types/index.d.ts",
|
|
40
|
+
"default": "./dist/s-ui.umd.cjs"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@vueuse/components": "^14.3.0",
|
|
46
|
+
"@vueuse/core": "^14.3.0",
|
|
47
|
+
"dayjs": "^1.11.21",
|
|
48
|
+
"uuid": "^14.0.1",
|
|
49
|
+
"vue": "^3.5.39",
|
|
50
|
+
"vue-i18n": "^11.4.6",
|
|
51
|
+
"zod": "^4.4.3"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@storybook/addon-a11y": "^10.4.6",
|
|
55
|
+
"@storybook/addon-docs": "^10.4.6",
|
|
56
|
+
"@storybook/addon-links": "^10.4.6",
|
|
57
|
+
"@storybook/addon-mcp": "^0.7.0",
|
|
58
|
+
"@storybook/addon-vitest": "^10.4.6",
|
|
59
|
+
"@storybook/vue3-vite": "^10.4.6",
|
|
60
|
+
"@types/lodash.merge": "^4.6.9",
|
|
61
|
+
"@vitest/browser-playwright": "^4.1.9",
|
|
62
|
+
"chokidar": "^5.0.0",
|
|
63
|
+
"eslint-plugin-storybook": "10.4.6",
|
|
64
|
+
"http-server": "^14.1.1",
|
|
65
|
+
"lodash.merge": "^4.6.2",
|
|
66
|
+
"playwright": "^1.61.1",
|
|
67
|
+
"storybook": "^10.4.6",
|
|
68
|
+
"vitest": "^4.1.9"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sui-plugin",
|
|
3
|
+
"description": "Skills for building Vue 3 / Nuxt apps with @khsura/sui — setup (GitHub Packages, styles, icons, theming, i18n), per-component references, forms, layouts and utilities",
|
|
4
|
+
"version": "1.5.2",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Sura Kh",
|
|
7
|
+
"email": "sura0111@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"repository": "https://github.com/khsura/sui"
|
|
10
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# sui-plugin
|
|
2
|
+
|
|
3
|
+
Claude Code plugin that gives Claude expert knowledge of the **`@khsura/sui`** Vue 3 component framework. Install it in an app that uses `@khsura/sui` (Vue or Nuxt) and Claude can set the library up, and generate idiomatic SUI components, forms, and layouts for you.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/plugin marketplace add khsura/sui
|
|
9
|
+
/plugin install sui-plugin@sui-framework
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
To install straight from GitHub:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
/plugin marketplace add github:khsura/sui
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Or add to your project's `.claude/settings.json`:
|
|
19
|
+
|
|
20
|
+
```json
|
|
21
|
+
{
|
|
22
|
+
"extraKnownMarketplaces": {
|
|
23
|
+
"sui-framework": {
|
|
24
|
+
"source": { "source": "github", "repo": "khsura/sui" }
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"enabledPlugins": {
|
|
28
|
+
"sui-plugin@sui-framework": true
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Skills
|
|
34
|
+
|
|
35
|
+
| Skill | When to use |
|
|
36
|
+
| --- | --- |
|
|
37
|
+
| [`sui-getting-started`](./skills/sui-getting-started/SKILL.md) | Installing `@khsura/sui` from GitHub Packages, `SApp` + `createSUI`, styles and `@mdi/font`, Nuxt module, theme colors / dark mode, component defaults, vue-i18n, types, common mistakes. |
|
|
38
|
+
| [`sui-component`](./skills/sui-component/SKILL.md) | Using a specific component (`SButton`, `SCard`, `STable`, …) — routes to one per-family reference in `references/` with props, slots, events, examples and gotchas. |
|
|
39
|
+
| [`sui-form`](./skills/sui-form/SKILL.md) | Building validated forms with `SInput`, `SSelect`, `SCheckbox`, etc., including `rules` validation. |
|
|
40
|
+
| [`sui-layout`](./skills/sui-layout/SKILL.md) | Scaffolding app shells with `SLayout`, `SAppBar`, `SNavigationDrawer`, `SMain`, `SFooter`, `SBottomNavigation`. |
|
|
41
|
+
| [`sui-utilities`](./skills/sui-utilities/SKILL.md) | Looking up SUI utility classes (`s_*`), Vue directives, and SCSS helpers / mixins; restyling components without `:deep()`. |
|
|
42
|
+
|
|
43
|
+
Each skill lives in its own folder with a `SKILL.md` describing when Claude should invoke it.
|
|
44
|
+
|
|
45
|
+
## Maintenance
|
|
46
|
+
|
|
47
|
+
The plugin must work in consumer apps, where only the published package (`node_modules/@khsura/sui/dist` and `@types`) exists. Skills must not point at repository-only paths; bundle the content instead.
|
|
48
|
+
|
|
49
|
+
- `skills/sui-utilities/docs/` holds copies of `packages/app/docs/{classes,directives,helpers}.md`.
|
|
50
|
+
- `skills/sui-component/references/` holds copies of `packages/app/docs/components/*.md`, corrected against the component source and `definitions/props` (plus `alert.md`, written from source).
|
|
51
|
+
|
|
52
|
+
Update the copy and the original together whenever a component or its docs change, and bump `.claude-plugin/plugin.json` `version`.
|
|
53
|
+
|
|
54
|
+
Install the plugin rather than copying skill files into a project (`.agents/skills/`, `.claude/skills/`): copies drift out of date as SUI changes.
|
|
55
|
+
|
|
56
|
+
## Example prompts
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
/sui-component SAutocomplete with multiple selection
|
|
60
|
+
/sui-form registration form with email, password, confirm password
|
|
61
|
+
/sui-layout admin dashboard with nav drawer and toolbar
|
|
62
|
+
/sui-utilities flex utility classes
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Repository
|
|
66
|
+
|
|
67
|
+
Skills are maintained alongside the library at [github.com/khsura/sui](https://github.com/khsura/sui). Open an issue if a component is missing coverage, or edit the matching `SKILL.md` and send a PR.
|
|
68
|
+
|
|
69
|
+
## Related
|
|
70
|
+
|
|
71
|
+
- [`@khsura/sui`](https://github.com/khsura/sui/tree/main/packages/app) — the UI library this plugin documents
|
|
72
|
+
- [`@khsura/sui-nuxt`](https://github.com/khsura/sui-nuxt) — the Nuxt module
|
|
73
|
+
- [`marketplace.json`](https://github.com/khsura/sui/blob/main/.claude-plugin/marketplace.json) — the Claude Code marketplace catalog
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sui-component
|
|
3
|
+
description: Look up and use any component from @khsura/sui (SButton, SCard, SDialog, SMenu, STooltip, STable, SList, STabs, SStepper, SCarousel, SExpansionPanels, SDatePicker, SCalendar, SToggleButtonGroup, SSlideGroup, SToolbar, SSplitView, SDroppable, SBadge, SChip, SIcon, SImage, SAlert, SOverlay, …) in a Vue or Nuxt app. Use when writing or fixing template code with an S-prefixed component, choosing props/slots/events, debugging a SUI component that renders wrong or ignores a prop, or styling SUI components with theme colors. Loads one per-family reference file with the verified props table, slots, events, example and gotchas.
|
|
4
|
+
argument-hint: [component name or description of what you need]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Help the user use this SUI component: $ARGUMENTS
|
|
8
|
+
|
|
9
|
+
1. Find the component in the **Reference index** below and read **only** that reference file.
|
|
10
|
+
2. Give the import, the props you use, and a complete working example built from the reference.
|
|
11
|
+
3. If a prop isn't in the reference, check `node_modules/@khsura/sui/@types/definitions/props/props<Component>.d.ts` before using it. Never guess — unknown props are silently ignored.
|
|
12
|
+
|
|
13
|
+
All components import from `@khsura/sui`. App setup (registry, `SApp`, styles, `@mdi/font`): **sui-getting-started**.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Reference index
|
|
18
|
+
|
|
19
|
+
| Component(s) | Reference |
|
|
20
|
+
|---|---|
|
|
21
|
+
| `SAlert` | [references/alert.md](references/alert.md) |
|
|
22
|
+
| `SAutocomplete` | [references/autocomplete.md](references/autocomplete.md) |
|
|
23
|
+
| `SBadge` | [references/badge.md](references/badge.md) |
|
|
24
|
+
| `SBreadcrumbs` | [references/breadcrumbs.md](references/breadcrumbs.md) |
|
|
25
|
+
| `SButton` | [references/button.md](references/button.md) |
|
|
26
|
+
| `SCalendar` | [references/calendar.md](references/calendar.md) |
|
|
27
|
+
| `SCard`, `SCardTitle`, `SCardSubtitle`, `SCardText`, `SCardActions` | [references/cards.md](references/cards.md) |
|
|
28
|
+
| `SCarousel`, `SCarouselItem` | [references/carousel.md](references/carousel.md) |
|
|
29
|
+
| `SChip` | [references/chip.md](references/chip.md) |
|
|
30
|
+
| `SDatePicker`, `SDatePickerInput` | [references/date-picker.md](references/date-picker.md) |
|
|
31
|
+
| `SDialog` | [references/dialog.md](references/dialog.md) |
|
|
32
|
+
| `SDivider` | [references/divider.md](references/divider.md) |
|
|
33
|
+
| `SDroppable` | [references/droppable.md](references/droppable.md) |
|
|
34
|
+
| `SExpansionPanels`, `SExpansionPanel`, `SExpansionPanelHeader`, `SExpansionPanelContent` | [references/expansion-panels.md](references/expansion-panels.md) |
|
|
35
|
+
| `SForm`, `SInput`, `STextarea`, `SSelect`, `SCheckbox`, `SRadioGroup`, `SRadio`, `SSwitch` | [references/form.md](references/form.md) (and the **sui-form** skill) |
|
|
36
|
+
| `SIcon` | [references/icon.md](references/icon.md) |
|
|
37
|
+
| `SImage` | [references/image.md](references/image.md) |
|
|
38
|
+
| `SApp`, `SLayout`, `SAppBar`, `SNavigationDrawer`, `SMain`, `SFooter`, `SBottomNavigation`, `SContainer`, `SRow`, `SColumn`, `SSpacer` | [references/layout.md](references/layout.md) (and the **sui-layout** skill) |
|
|
39
|
+
| `SList`, `SListItem`, `SListItemIcon`, `SListItemContent`, `SListItemTitle`, `SListItemSubtitle`, `SListItemAction`, `SListItemGroup` | [references/list.md](references/list.md) |
|
|
40
|
+
| `SMenu` | [references/menu.md](references/menu.md) |
|
|
41
|
+
| `SOverlay` | [references/overlay.md](references/overlay.md) |
|
|
42
|
+
| `SProgressLinear`, `SProgressCircular` | [references/progress.md](references/progress.md) |
|
|
43
|
+
| `SSheet` | [references/sheet.md](references/sheet.md) |
|
|
44
|
+
| `SSlideGroup`, `SSlideItem` | [references/slide-group.md](references/slide-group.md) |
|
|
45
|
+
| `SSnackbar` | [references/snackbar.md](references/snackbar.md) |
|
|
46
|
+
| `SSplitView`, `SSplitViewItem` | [references/split-view.md](references/split-view.md) |
|
|
47
|
+
| `SStepper`, `SStepperStep` | [references/stepper.md](references/stepper.md) |
|
|
48
|
+
| `STable`, `STableHeadCell`, `STableBodyCell` | [references/table.md](references/table.md) |
|
|
49
|
+
| `STabs`, `STab` | [references/tabs.md](references/tabs.md) |
|
|
50
|
+
| `SToggleButtonGroup`, `SToggleButton` | [references/toggle-button-group.md](references/toggle-button-group.md) |
|
|
51
|
+
| `SToolbar`, `SToolbarTitle`, `SToolbarItem` | [references/toolbar.md](references/toolbar.md) |
|
|
52
|
+
| `STooltip` | [references/tooltip.md](references/tooltip.md) |
|
|
53
|
+
| `SWindow`, `SWindowItem` (exported since `@khsura/sui` 1.18) | [references/window.md](references/window.md) |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Components that do NOT exist
|
|
58
|
+
|
|
59
|
+
| ❌ Name | ✅ Use instead |
|
|
60
|
+
|---|---|
|
|
61
|
+
| `SSkeletonLoader` | `SProgressCircular indeterminate` in a centered div |
|
|
62
|
+
| `STextField` | `SInput` (single line) or `STextarea` (multi-line) |
|
|
63
|
+
| `SCol` | `SColumn` |
|
|
64
|
+
| `STablePagination` (not exported) | `STable`'s built-in pagination |
|
|
65
|
+
| `SNavigationDrawer` inside a feature component | App shell only — use `<SDialog location="end">` for feature slide-in panels |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Activator slot
|
|
70
|
+
|
|
71
|
+
**SDialog, SMenu, SSnackbar** — bind **both** `v-on="on"` and `v-bind="attrs"`:
|
|
72
|
+
|
|
73
|
+
```vue
|
|
74
|
+
<SMenu location="bottom">
|
|
75
|
+
<template #activator="{ on, attrs }">
|
|
76
|
+
<SButton v-on="on" v-bind="attrs">Open</SButton>
|
|
77
|
+
</template>
|
|
78
|
+
…
|
|
79
|
+
</SMenu>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**STooltip** passes no slot scope — put the trigger in `#activator` as is; see [references/tooltip.md](references/tooltip.md).
|
|
83
|
+
|
|
84
|
+
Popups teleport into the container rendered by `<SApp>` — without `SApp` at the app root they never show.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Unknown props are silent no-ops
|
|
89
|
+
|
|
90
|
+
| ❌ Does nothing | ✅ Do this instead |
|
|
91
|
+
|---|---|
|
|
92
|
+
| `<SDialog title="...">` | Heading inside the content: `<SCard><SCardTitle>…</SCardTitle>…</SCard>` |
|
|
93
|
+
| `<SSelect clearable / chips / multiple / placeholder>` | `SAutocomplete` |
|
|
94
|
+
| `<SInput persistent-hint hint="...">` | Render helper text yourself |
|
|
95
|
+
| `app` on `SMain` / `SFooter` / `SAppBar` | Remove it; placement comes from `SLayout` |
|
|
96
|
+
| `<SCheckbox indeterminate>` / `:value` | `SCheckbox` is a single boolean `v-model` |
|
|
97
|
+
| `<SToggleButton value="...">` | Buttons are identified by index / `key`; see [references/toggle-button-group.md](references/toggle-button-group.md) |
|
|
98
|
+
| `<SButton variant="outlined">` | `variant` is `fab` \| `text` \| `icon` only; use `outlined` boolean prop or `color` |
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Linking: `to` for a route, `href` for a URL
|
|
103
|
+
|
|
104
|
+
`SButton`, `SCard` and `SListItem` take both; pass **one**, never both.
|
|
105
|
+
|
|
106
|
+
| Prop | Renders | For |
|
|
107
|
+
|---|---|---|
|
|
108
|
+
| `to` | `router-link` | internal route |
|
|
109
|
+
| `href` | `<a>` | external URL (`target`, `rel` go with it) |
|
|
110
|
+
| neither | `div` or `tag` | not a link |
|
|
111
|
+
|
|
112
|
+
Navigating from `@click` renders a `div` — no middle-click, "copy link", or link semantics. Prefer `to` / `href`.
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## SCSS colors — use the helpers, not invented CSS variables
|
|
117
|
+
|
|
118
|
+
`@use '@khsura/sui/helpers.scss' as *;` then:
|
|
119
|
+
|
|
120
|
+
| ❌ Invalid | ✅ Correct |
|
|
121
|
+
|---|---|
|
|
122
|
+
| `var(--s-color-on-surface)` | `s_getAppColor('text')` |
|
|
123
|
+
| `rgba(var(--s-color-on-surface), 0.6)` | `color-mix(in srgb, #{s_getAppColor('text')} 60%, transparent)` |
|
|
124
|
+
| `rgb(var(--s-color-primary))` (it's a hex, not RGB channels) | `s_getPresetColor('primary')` |
|
|
125
|
+
| `rgba(var(--s-color-warning), 0.1)` | `color-mix(in srgb, #{s_getPresetColor('warning')} 10%, transparent)` |
|
|
126
|
+
| `var(--s-color-outline)` | `s_getAppColor('border')` |
|
|
127
|
+
| `var(--s-color-on-primary)` | `s_getPresetColor('primary', true)` |
|
|
128
|
+
| `var(--s-color-surface-variant)` | `color-mix(in srgb, #{s_getAppColor('text')} 8%, transparent)` |
|
|
129
|
+
|
|
130
|
+
- **`s_getPresetColor` keys:** `primary`, `secondary`, `success`, `info`, `warning`, `important`, `error` (+ any you add in `createSUI({ themes })`)
|
|
131
|
+
- **`s_getAppColor` keys:** `appBar`, `title`, `text`, `secondaryText`, `anchor`, `background`, `card`, `button`, `switch`, `border`, `disabled`, `snackbar`, `inputPlaceholderShown`, `textErrorHover`
|
|
132
|
+
|
|
133
|
+
The variables are set on `<SApp>`, so they only resolve inside it. More helpers: **sui-utilities**.
|