@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,357 @@
|
|
|
1
|
+
@use '../variables';
|
|
2
|
+
|
|
3
|
+
html,
|
|
4
|
+
body {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
padding: 0;
|
|
7
|
+
margin: 0;
|
|
8
|
+
|
|
9
|
+
/* Prevent adjustments of font size after orientation changes in iOS */
|
|
10
|
+
word-break: normal;
|
|
11
|
+
tab-size: 4;
|
|
12
|
+
|
|
13
|
+
/* All browsers without overlaying scrollbars */
|
|
14
|
+
text-size-adjust: 100%;
|
|
15
|
+
text-rendering: optimizelegibility;
|
|
16
|
+
-webkit-font-smoothing: antialiased;
|
|
17
|
+
-moz-osx-font-smoothing: grayscale;
|
|
18
|
+
-webkit-tap-highlight-color: rgb(0 0 0 / 0%);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
html {
|
|
22
|
+
overflow-y: scroll;
|
|
23
|
+
font-size: variables.$s_fontSize;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@supports (-webkit-touch-callout: none) {
|
|
27
|
+
body {
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* # =================================================================
|
|
33
|
+
# General elements
|
|
34
|
+
# ================================================================= */
|
|
35
|
+
|
|
36
|
+
hr {
|
|
37
|
+
/* Show the overflow in Edge and IE */
|
|
38
|
+
height: 0;
|
|
39
|
+
overflow: visible;
|
|
40
|
+
|
|
41
|
+
/* Add the correct box sizing in Firefox */
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
details,
|
|
45
|
+
main {
|
|
46
|
+
display: block;
|
|
47
|
+
|
|
48
|
+
/* Render the `main` element consistently in IE. */
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
summary {
|
|
52
|
+
display: list-item;
|
|
53
|
+
|
|
54
|
+
/* Add the correct display in all browsers */
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
small {
|
|
58
|
+
font-size: 80%;
|
|
59
|
+
|
|
60
|
+
/* Set font-size to 80% in `small` elements */
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[hidden] {
|
|
64
|
+
display: none;
|
|
65
|
+
|
|
66
|
+
/* Add the correct display in IE */
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
abbr[title] {
|
|
70
|
+
/* Remove the bottom border in Chrome 57 */
|
|
71
|
+
|
|
72
|
+
/* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
|
|
73
|
+
text-decoration: underline;
|
|
74
|
+
text-decoration: underline dotted;
|
|
75
|
+
border-bottom: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
a {
|
|
79
|
+
background-color: transparent;
|
|
80
|
+
|
|
81
|
+
/* Remove the gray background on active links in IE 10 */
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
a:active,
|
|
85
|
+
a:hover {
|
|
86
|
+
outline-width: 0;
|
|
87
|
+
|
|
88
|
+
/* Remove the outline when hovering in all browsers */
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
code,
|
|
92
|
+
kbd,
|
|
93
|
+
pre,
|
|
94
|
+
samp {
|
|
95
|
+
font-family: Lucida, Osaka, Monaco, monospace;
|
|
96
|
+
|
|
97
|
+
/* Specify the font family of code elements */
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
pre {
|
|
101
|
+
font-size: 1em;
|
|
102
|
+
|
|
103
|
+
/* Correct the odd `em` font sizing in all browsers */
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
b,
|
|
107
|
+
strong {
|
|
108
|
+
font-weight: 700;
|
|
109
|
+
|
|
110
|
+
/* Add the correct font weight in Chrome, Edge, and Safari */
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* https://gist.github.com/unruthless/413930 */
|
|
114
|
+
sub,
|
|
115
|
+
sup {
|
|
116
|
+
position: relative;
|
|
117
|
+
font-size: 75%;
|
|
118
|
+
line-height: 0;
|
|
119
|
+
vertical-align: baseline;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
sub {
|
|
123
|
+
bottom: -0.25em;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
sup {
|
|
127
|
+
top: -0.5em;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* # =================================================================
|
|
131
|
+
# Forms
|
|
132
|
+
# ================================================================= */
|
|
133
|
+
|
|
134
|
+
button {
|
|
135
|
+
overflow: visible;
|
|
136
|
+
appearance: auto;
|
|
137
|
+
background-color: transparent;
|
|
138
|
+
border-style: none;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
button,
|
|
142
|
+
select {
|
|
143
|
+
text-transform: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Specify font inheritance of form elements */
|
|
147
|
+
button,
|
|
148
|
+
input,
|
|
149
|
+
optgroup,
|
|
150
|
+
select,
|
|
151
|
+
textarea {
|
|
152
|
+
font-family: inherit;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
button,
|
|
156
|
+
[type='button'],
|
|
157
|
+
[type='reset'],
|
|
158
|
+
[type='submit'],
|
|
159
|
+
[role='button'] {
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Remove inner padding and border in Firefox 4+ */
|
|
164
|
+
button::-moz-focus-inner,
|
|
165
|
+
[type='button']::-moz-focus-inner,
|
|
166
|
+
[type='reset']::-moz-focus-inner,
|
|
167
|
+
[type='submit']::-moz-focus-inner {
|
|
168
|
+
padding: 0;
|
|
169
|
+
border-style: none;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Replace focus style removed in the border reset above */
|
|
173
|
+
button:-moz-focusring,
|
|
174
|
+
[type='button']::-moz-focus-inner,
|
|
175
|
+
[type='reset']::-moz-focus-inner,
|
|
176
|
+
[type='submit']::-moz-focus-inner {
|
|
177
|
+
outline: 1px dotted ButtonText;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
textarea {
|
|
181
|
+
overflow: auto;
|
|
182
|
+
|
|
183
|
+
/* Internet Explorer 11+ */
|
|
184
|
+
resize: vertical;
|
|
185
|
+
|
|
186
|
+
/* Specify textarea resizability */
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* # =================================================================
|
|
190
|
+
# Accessibility
|
|
191
|
+
# ================================================================= */
|
|
192
|
+
|
|
193
|
+
/* Hide content from screens but not screenreaders */
|
|
194
|
+
|
|
195
|
+
@media screen {
|
|
196
|
+
[hidden~='screen'] {
|
|
197
|
+
display: inherit;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
[hidden~='screen']:not(:active, :focus, :target) {
|
|
201
|
+
position: absolute !important;
|
|
202
|
+
clip-path: inset(50%) !important;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* Specify the progress cursor of updating elements */
|
|
207
|
+
[aria-busy='true'] {
|
|
208
|
+
cursor: progress;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/* Specify the pointer cursor of trigger elements */
|
|
212
|
+
[aria-controls] {
|
|
213
|
+
cursor: pointer;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
|
|
217
|
+
[aria-disabled='true'] {
|
|
218
|
+
cursor: default;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
blockquote {
|
|
222
|
+
padding: variables.$s_spacer * 4 0 variables.$s_spacer * 4 variables.$s_spacer * 6;
|
|
223
|
+
font-size: variables.$s_blockquote__fontSize;
|
|
224
|
+
font-weight: variables.$s_blockquote__fontWeight;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
input::-webkit-outer-spin-button,
|
|
228
|
+
input::-webkit-inner-spin-button {
|
|
229
|
+
margin: 0;
|
|
230
|
+
appearance: none;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
input[type='number'] {
|
|
234
|
+
appearance: textfield;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
[type='button'],
|
|
238
|
+
[type='reset'],
|
|
239
|
+
[type='submit'] {
|
|
240
|
+
appearance: auto;
|
|
241
|
+
|
|
242
|
+
/* Correct the inability to style clickable types in iOS */
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
*,
|
|
246
|
+
::before,
|
|
247
|
+
::after {
|
|
248
|
+
/* Set `background-repeat: no-repeat` to all elements and pseudo elements */
|
|
249
|
+
box-sizing: inherit;
|
|
250
|
+
background-repeat: no-repeat;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
::before,
|
|
254
|
+
::after {
|
|
255
|
+
/* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
|
|
256
|
+
vertical-align: inherit;
|
|
257
|
+
text-decoration: inherit;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
p {
|
|
261
|
+
margin-block: 0.5em;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
ul,
|
|
265
|
+
ol {
|
|
266
|
+
padding-inline-start: 1.5em;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* # =================================================================
|
|
270
|
+
# Forms
|
|
271
|
+
# ================================================================= */
|
|
272
|
+
|
|
273
|
+
input {
|
|
274
|
+
border-radius: 0;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* Replace pointer cursor in disabled elements */
|
|
278
|
+
[disabled] {
|
|
279
|
+
cursor: default;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
[type='number']::-webkit-inner-spin-button,
|
|
283
|
+
[type='number']::-webkit-outer-spin-button {
|
|
284
|
+
height: auto;
|
|
285
|
+
|
|
286
|
+
/* Correct the cursor style of increment and decrement buttons in Chrome */
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
[type='search'] {
|
|
290
|
+
appearance: textfield;
|
|
291
|
+
|
|
292
|
+
/* Correct the odd appearance in Chrome and Safari */
|
|
293
|
+
outline-offset: -2px;
|
|
294
|
+
|
|
295
|
+
/* Correct the outline style in Safari */
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
[type='search']::-webkit-search-cancel-button,
|
|
299
|
+
[type='search']::-webkit-search-decoration {
|
|
300
|
+
appearance: none;
|
|
301
|
+
|
|
302
|
+
/* Remove the inner padding in Chrome and Safari on macOS */
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
optgroup {
|
|
306
|
+
font-weight: 500;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* Style select like a standard input */
|
|
310
|
+
select {
|
|
311
|
+
appearance: none;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
select::-ms-expand {
|
|
315
|
+
display: none;
|
|
316
|
+
|
|
317
|
+
/* Internet Explorer 11+ */
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
select::-ms-value {
|
|
321
|
+
color: currentcolor;
|
|
322
|
+
|
|
323
|
+
/* Internet Explorer 11+ */
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
legend {
|
|
327
|
+
display: table;
|
|
328
|
+
max-width: 100%;
|
|
329
|
+
color: inherit;
|
|
330
|
+
white-space: normal;
|
|
331
|
+
border: 0;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
::-webkit-file-upload-button {
|
|
335
|
+
font: inherit;
|
|
336
|
+
color: inherit;
|
|
337
|
+
|
|
338
|
+
/* Correct the inability to style clickable types in iOS and Safari */
|
|
339
|
+
appearance: auto;
|
|
340
|
+
|
|
341
|
+
/* Change font properties to `inherit` in Chrome and Safari */
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/* # =================================================================
|
|
345
|
+
# Specify media element style
|
|
346
|
+
# ================================================================= */
|
|
347
|
+
|
|
348
|
+
img {
|
|
349
|
+
border-style: none;
|
|
350
|
+
|
|
351
|
+
/* Remove border when inside `a` element in IE 8/9/10 */
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
|
|
355
|
+
progress {
|
|
356
|
+
vertical-align: baseline;
|
|
357
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../variables';
|
|
3
|
+
|
|
4
|
+
@mixin s_transitionDefault() {
|
|
5
|
+
&-enter-active,
|
|
6
|
+
&-leave-active {
|
|
7
|
+
transition: variables.$s_primaryTransition !important;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Bounce transition
|
|
12
|
+
.s_transition--bounce {
|
|
13
|
+
&-enter-active {
|
|
14
|
+
animation: s-bounce-animation 0.5s;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-leave-active {
|
|
18
|
+
transform: scale(0);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Fade transition
|
|
23
|
+
.s_transition--fade {
|
|
24
|
+
@include s_transitionDefault();
|
|
25
|
+
|
|
26
|
+
&-enter-from,
|
|
27
|
+
&-leave-to {
|
|
28
|
+
opacity: 0 !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Appear transition
|
|
33
|
+
.s_transition--appear {
|
|
34
|
+
&-enter-active,
|
|
35
|
+
&-leave-active {
|
|
36
|
+
transition: opacity, transform 0.1s map.get(variables.$s_transitions, 'fast-in-fast-out') !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-enter-from,
|
|
40
|
+
&-leave-to {
|
|
41
|
+
opacity: 0 !important;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** ------------- Animations ------------------- */
|
|
46
|
+
|
|
47
|
+
@keyframes s-bounce-animation {
|
|
48
|
+
0% {
|
|
49
|
+
transform: scale(0);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
50% {
|
|
53
|
+
transform: scale(1.25);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
transform: scale(1);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes s-indeterminate-animation {
|
|
62
|
+
0% {
|
|
63
|
+
transform: translateX(0) scaleX(0);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
40% {
|
|
67
|
+
transform: translateX(0) scaleX(0.4);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
100% {
|
|
71
|
+
transform: translateX(100%) scaleX(0.5);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@keyframes s-spin-animation {
|
|
76
|
+
from {
|
|
77
|
+
transform: rotate(0deg);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
to {
|
|
81
|
+
transform: rotate(360deg);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:meta';
|
|
3
|
+
|
|
4
|
+
/* stylelint-disable-next-line scss/at-function-pattern */
|
|
5
|
+
@function map-deep-set($map, $keys, $value) {
|
|
6
|
+
$maps: ($map,);
|
|
7
|
+
$result: null;
|
|
8
|
+
|
|
9
|
+
// If the last key is a map already
|
|
10
|
+
// Warn the user we will be overriding it with $value
|
|
11
|
+
@if meta.type-of(nth($keys, -1)) == 'map' {
|
|
12
|
+
@warn 'The last key you specified is a map; it will be overrided with `#{$value}`.';
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// If $keys is a single key
|
|
16
|
+
// Just merge and return
|
|
17
|
+
@if length($keys) == 1 {
|
|
18
|
+
@return map-merge($map, ( $keys: $value ));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Loop from the first to the second to last key from $keys
|
|
22
|
+
// Store the associated map to this key in the $maps list
|
|
23
|
+
// If the key doesn't exist, throw an error
|
|
24
|
+
@for $i from 1 through length($keys) - 1 {
|
|
25
|
+
$current-key: list.nth($keys, $i);
|
|
26
|
+
$current-map: list.nth($maps, -1);
|
|
27
|
+
$current-get: map.get($current-map, $current-key);
|
|
28
|
+
|
|
29
|
+
@if not $current-get {
|
|
30
|
+
@error "Key `#{$key}` doesn't exist at current level in map.";
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
$maps: list.append($maps, $current-get);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Loop from the last map to the first one
|
|
37
|
+
// Merge it with the previous one
|
|
38
|
+
@for $i from length($maps) through 1 {
|
|
39
|
+
$current-map: list.nth($maps, $i);
|
|
40
|
+
$current-key: list.nth($keys, $i);
|
|
41
|
+
|
|
42
|
+
@if $i == list.length($maps) {
|
|
43
|
+
$current-val: $value;
|
|
44
|
+
} @else {
|
|
45
|
+
$current-val: $result;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
$result: map.merge($current-map, ($current-key: $current-val));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@return $result;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* stylelint-disable-next-line scss/at-function-pattern */
|
|
55
|
+
@function map-deep-get($map, $keys...) {
|
|
56
|
+
@each $key in $keys {
|
|
57
|
+
$map: map.get($map, $key);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@return $map;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// Adapted from
|
|
64
|
+
// https://gist.github.com/pentzzsolt/4949bbd7691d43d00616dc4f1451cae9#file-non-destructive-map-merge-4-scss
|
|
65
|
+
|
|
66
|
+
/* stylelint-disable-next-line scss/at-function-pattern */
|
|
67
|
+
@function map-deep-merge($parent-map, $child-map) {
|
|
68
|
+
$result: $parent-map;
|
|
69
|
+
|
|
70
|
+
@each $key, $child in $child-map {
|
|
71
|
+
$parent-has-key: map.has-key($result, $key);
|
|
72
|
+
$parent-value: map.get($result, $key);
|
|
73
|
+
$parent-type: meta.type-of($parent-value);
|
|
74
|
+
$child-type: meta.type-of($child);
|
|
75
|
+
$parent-is-map: $parent-type == map;
|
|
76
|
+
$child-is-map: $child-type == map;
|
|
77
|
+
|
|
78
|
+
@if not $parent-has-key or ($parent-type != $child-type) or not ($parent-is-map and $child-is-map) {
|
|
79
|
+
$result: map.merge($result, ( $key: $child ));
|
|
80
|
+
} @else {
|
|
81
|
+
$result: map.merge($result, ( $key: map-deep-merge($parent-value, $child) ));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@return $result;
|
|
86
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward './functions';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use '../tools';
|
|
2
|
+
|
|
3
|
+
@mixin s_disabled($isText: false) {
|
|
4
|
+
color: tools.s_getAppColor('text');
|
|
5
|
+
pointer-events: none;
|
|
6
|
+
opacity: 0.5;
|
|
7
|
+
|
|
8
|
+
@if $isText {
|
|
9
|
+
background-color: unset;
|
|
10
|
+
} @else {
|
|
11
|
+
background-color: tools.s_getAppColor('disabled');
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../tools';
|
|
3
|
+
@use '../variables';
|
|
4
|
+
@use './dark';
|
|
5
|
+
|
|
6
|
+
@mixin s_tile($important: false) {
|
|
7
|
+
@if $important {
|
|
8
|
+
border-radius: 0 !important;
|
|
9
|
+
} @else {
|
|
10
|
+
border-radius: 0;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin s_borderRadius($r: null, $important: false) {
|
|
15
|
+
// Key exists within the $rounded variable
|
|
16
|
+
@if map.has-key(variables.$s_rounded, $r) {
|
|
17
|
+
@if $important {
|
|
18
|
+
border-radius: map.get(variables.$s_rounded, $r) !important;
|
|
19
|
+
} @else {
|
|
20
|
+
border-radius: map.get(variables.$s_rounded, $r);
|
|
21
|
+
}
|
|
22
|
+
} @else {
|
|
23
|
+
@if $important {
|
|
24
|
+
border-radius: $r !important;
|
|
25
|
+
} @else {
|
|
26
|
+
border-radius: $r;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin s_underlined($color: null, $width: variables.$s_underlined__borderWidth, $important: false) {
|
|
32
|
+
$className: &;
|
|
33
|
+
|
|
34
|
+
@if $color {
|
|
35
|
+
@if $important {
|
|
36
|
+
border-bottom: variables.$s_underlined__borderWidth $color solid !important;
|
|
37
|
+
} @else {
|
|
38
|
+
border-bottom: variables.$s_underlined__borderWidth $color solid;
|
|
39
|
+
}
|
|
40
|
+
} @else {
|
|
41
|
+
@if $important {
|
|
42
|
+
border-bottom: $width tools.s_getAppColor('border') solid !important;
|
|
43
|
+
} @else {
|
|
44
|
+
border-bottom: $width tools.s_getAppColor('border') solid;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin s_outlined($color: null, $width: variables.$s_outlined__borderWidth) {
|
|
50
|
+
$className: &;
|
|
51
|
+
border-style: solid;
|
|
52
|
+
border-width: $width;
|
|
53
|
+
|
|
54
|
+
@if $color {
|
|
55
|
+
@if list.index($s_presetColorNames, $color) {
|
|
56
|
+
border-color: tools.s_getPresetColor($color);
|
|
57
|
+
} @else if tools.s_getAppColor($color) {
|
|
58
|
+
border-color: tools.s_getAppColor($color);
|
|
59
|
+
} @else {
|
|
60
|
+
border-color: $color;
|
|
61
|
+
}
|
|
62
|
+
} @else {
|
|
63
|
+
border-color: tools.s_getAppColor('border');
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@mixin s_buttonOutlined($width: variables.$s_outlined__borderWidth) {
|
|
68
|
+
$className: &;
|
|
69
|
+
margin: -#{$width};
|
|
70
|
+
color: tools.s_getAppColor('text');
|
|
71
|
+
background-color: transparent;
|
|
72
|
+
border-style: solid;
|
|
73
|
+
border-width: $width;
|
|
74
|
+
|
|
75
|
+
@include dark.s_dark(false);
|
|
76
|
+
|
|
77
|
+
&[class*='s_textColor'],
|
|
78
|
+
&[style*='color'] {
|
|
79
|
+
border-color: currentcolor;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:not([class*='s_textColor'], [style*='color']) {
|
|
83
|
+
border-color: tools.s_getAppColor('border');
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@mixin s_buttonUnderlined($width: variables.$s_underlined__borderWidth) {
|
|
88
|
+
$className: &;
|
|
89
|
+
color: tools.s_getAppColor('text');
|
|
90
|
+
background-color: transparent;
|
|
91
|
+
border-bottom-style: solid;
|
|
92
|
+
border-bottom-width: $width;
|
|
93
|
+
|
|
94
|
+
@include dark.s_dark(false);
|
|
95
|
+
|
|
96
|
+
&[class*='s_textColor'],
|
|
97
|
+
&[style*='color'] {
|
|
98
|
+
border-bottom-color: currentcolor;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&:not([class*='s_textColor'], [style*='color']) {
|
|
102
|
+
border-bottom-color: tools.s_getAppColor('border');
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@use '../tools';
|
|
2
|
+
@use '../variables';
|
|
3
|
+
|
|
4
|
+
// used with colorService
|
|
5
|
+
@mixin s_dark($fillBackground: true, $isChild: false) {
|
|
6
|
+
@each $themeName in variables.$s_themeNames {
|
|
7
|
+
@if $isChild {
|
|
8
|
+
.s_#{$themeName} {
|
|
9
|
+
color: tools.s_getThemeColor('text', $themeName);
|
|
10
|
+
|
|
11
|
+
@if $fillBackground {
|
|
12
|
+
background-color: tools.s_getThemeColor('card', $themeName);
|
|
13
|
+
} @else {
|
|
14
|
+
// do nothing
|
|
15
|
+
}
|
|
16
|
+
fill: tools.s_getThemeColor('text', $themeName);
|
|
17
|
+
}
|
|
18
|
+
} @else {
|
|
19
|
+
&.s_#{$themeName} {
|
|
20
|
+
color: tools.s_getThemeColor('text', $themeName);
|
|
21
|
+
|
|
22
|
+
@if $fillBackground {
|
|
23
|
+
background-color: tools.s_getThemeColor('card', $themeName);
|
|
24
|
+
} @else {
|
|
25
|
+
// do nothing
|
|
26
|
+
}
|
|
27
|
+
fill: tools.s_getThemeColor('text', $themeName);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../variables';
|
|
3
|
+
|
|
4
|
+
@mixin s_elevation($z, $important: false) {
|
|
5
|
+
/* stylelint-disable-next-line max-line-length */
|
|
6
|
+
@if $important {
|
|
7
|
+
box-shadow: map.get(variables.$s_shadowKeyUmbra, $z), map.get(variables.$s_shadowKeyPenumbra, $z), map.get(variables.$s_shadowKeyAmbient, $z) !important;
|
|
8
|
+
} @else {
|
|
9
|
+
box-shadow: map.get(variables.$s_shadowKeyUmbra, $z), map.get(variables.$s_shadowKeyPenumbra, $z), map.get(variables.$s_shadowKeyAmbient, $z);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin s_elevationTransition($duration: 280ms, $easing: cubic-bezier(0.4, 0, 0.2, 1)) {
|
|
14
|
+
transition: box-shadow $duration $easing;
|
|
15
|
+
}
|