@solostylist/ui-kit 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/s-animated-gradient-text/index.d.ts +2 -0
- package/dist/s-animated-gradient-text/index.js +2 -0
- package/dist/s-animated-gradient-text/s-animated-gradient-text.d.ts +64 -0
- package/dist/s-animated-gradient-text/s-animated-gradient-text.js +92 -0
- package/dist/s-announcement-bar/index.d.ts +2 -0
- package/dist/s-announcement-bar/index.js +2 -0
- package/dist/s-announcement-bar/s-announcement-bar.d.ts +113 -0
- package/dist/s-announcement-bar/s-announcement-bar.js +272 -0
- package/dist/s-carousel/s-carousel.d.ts +2 -0
- package/dist/s-carousel/s-carousel.js +52 -50
- package/dist/s-date-picker/s-date-picker.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
- package/dist/s-drawer/index.d.ts +3 -0
- package/dist/s-drawer/index.js +2 -0
- package/dist/s-drawer/s-drawer.d.ts +70 -0
- package/dist/s-drawer/s-drawer.js +139 -0
- package/dist/s-gradient-blob-pulse/index.d.ts +2 -0
- package/dist/s-gradient-blob-pulse/index.js +2 -0
- package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.d.ts +62 -0
- package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +236 -0
- package/dist/s-gradient-icon/index.d.ts +1 -1
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +4 -4
- package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
- package/dist/s-icon-button/s-icon-button.d.ts +6 -2
- package/dist/s-interactive-card/index.d.ts +3 -0
- package/dist/s-interactive-card/index.js +2 -0
- package/dist/s-interactive-card/s-interactive-card.d.ts +57 -0
- package/dist/s-interactive-card/s-interactive-card.js +150 -0
- package/dist/s-language-switcher/s-language-switcher.js +66 -71
- package/dist/s-list-action-item/index.d.ts +2 -0
- package/dist/s-list-action-item/index.js +2 -0
- package/dist/s-list-action-item/s-list-action-item.d.ts +89 -0
- package/dist/s-list-action-item/s-list-action-item.js +149 -0
- package/dist/s-mega-menu/index.d.ts +3 -0
- package/dist/s-mega-menu/index.js +2 -0
- package/dist/s-mega-menu/mega-menu-panel.d.ts +38 -0
- package/dist/s-mega-menu/mega-menu-panel.js +251 -0
- package/dist/s-mega-menu/mega-menu-slots.d.ts +65 -0
- package/dist/s-mega-menu/mega-menu-slots.js +232 -0
- package/dist/s-mega-menu/mega-menu-trigger.d.ts +35 -0
- package/dist/s-mega-menu/mega-menu-trigger.js +49 -0
- package/dist/s-mega-menu/s-mega-menu.d.ts +23 -0
- package/dist/s-mega-menu/s-mega-menu.js +225 -0
- package/dist/s-mega-menu/types.d.ts +188 -0
- package/dist/s-mega-menu/types.js +0 -0
- package/dist/s-mega-menu/utils.d.ts +51 -0
- package/dist/s-mega-menu/utils.js +51 -0
- package/dist/s-mobile-dock/index.d.ts +3 -0
- package/dist/s-mobile-dock/index.js +2 -0
- package/dist/s-mobile-dock/s-mobile-dock.d.ts +96 -0
- package/dist/s-mobile-dock/s-mobile-dock.js +145 -0
- package/dist/s-nav-item/index.d.ts +1 -1
- package/dist/s-nav-item/s-nav-item.d.ts +35 -16
- package/dist/s-nav-item/s-nav-item.js +55 -77
- package/dist/s-nav-items/s-nav-items.js +68 -112
- package/dist/s-number-range/index.d.ts +3 -0
- package/dist/s-number-range/index.js +2 -0
- package/dist/s-number-range/s-number-range.d.ts +109 -0
- package/dist/s-number-range/s-number-range.js +250 -0
- package/dist/s-popover/index.d.ts +5 -0
- package/dist/s-popover/index.js +3 -0
- package/dist/s-popover/placement.d.ts +14 -0
- package/dist/s-popover/placement.js +65 -0
- package/dist/s-popover/s-popover-content.d.ts +22 -0
- package/dist/s-popover/s-popover-content.js +21 -0
- package/dist/s-popover/s-popover.d.ts +59 -0
- package/dist/s-popover/s-popover.js +66 -0
- package/dist/s-product-card/index.d.ts +3 -0
- package/dist/s-product-card/index.js +2 -0
- package/dist/s-product-card/s-product-card.d.ts +216 -0
- package/dist/s-product-card/s-product-card.js +499 -0
- package/dist/s-product-gallery/index.d.ts +3 -0
- package/dist/s-product-gallery/index.js +2 -0
- package/dist/s-product-gallery/s-product-gallery.d.ts +116 -0
- package/dist/s-product-gallery/s-product-gallery.js +427 -0
- package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +1 -1
- package/dist/s-segmented-control/index.d.ts +3 -0
- package/dist/s-segmented-control/index.js +2 -0
- package/dist/s-segmented-control/s-segmented-control.d.ts +94 -0
- package/dist/s-segmented-control/s-segmented-control.js +298 -0
- package/dist/s-stepper/index.d.ts +3 -0
- package/dist/s-stepper/index.js +2 -0
- package/dist/s-stepper/s-stepper.d.ts +90 -0
- package/dist/s-stepper/s-stepper.js +102 -0
- package/dist/s-swatch/index.d.ts +3 -0
- package/dist/s-swatch/index.js +2 -0
- package/dist/s-swatch/s-swatch.d.ts +235 -0
- package/dist/s-swatch/s-swatch.js +218 -0
- package/dist/s-text-editor/s-text-editor-toolbar.js +105 -108
- package/dist/s-tool-item/s-tool-item.d.ts +10 -6
- package/dist/s-tool-item/s-tool-item.js +12 -12
- package/dist/theme/component-augmentation.d.ts +65 -1
- package/dist/theme/components/drawer.d.ts +1 -0
- package/dist/theme/components/drawer.js +4 -1
- package/dist/theme/components/slider.js +18 -1
- package/dist/theme/components/step-connector.d.ts +0 -3
- package/dist/theme/components/step-connector.js +1 -6
- package/dist/theme/components/step-icon.d.ts +3 -12
- package/dist/theme/components/step-icon.js +3 -14
- package/package.json +7 -2
- package/dist/theme/components/components.d.ts +0 -2
- package/dist/theme/components/slider.d.ts +0 -34
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ComponentsOverrides, ComponentsVariants } from '@mui/material/styles';
|
|
2
2
|
import { SAccordionProps } from '../s-accordion/s-accordion';
|
|
3
3
|
import { SActionOverlayProps } from '../s-action-overlay/s-action-overlay';
|
|
4
|
+
import { SAnimatedGradientTextProps } from '../s-animated-gradient-text/s-animated-gradient-text';
|
|
5
|
+
import { SAnnouncementBarProps } from '../s-announcement-bar/s-announcement-bar';
|
|
4
6
|
import { SAutocompleteProps } from '../s-autocomplete/s-autocomplete';
|
|
5
7
|
import { SAvatarProps } from '../s-avatar/s-avatar';
|
|
6
8
|
import { SBlurTextProps } from '../s-blur-text/s-blur-text';
|
|
@@ -19,35 +21,49 @@ import { SDataTableProps } from '../s-data-table/s-data-table';
|
|
|
19
21
|
import { SDialogConfirmProps } from '../s-dialog-confirm/s-dialog-confirm';
|
|
20
22
|
import { SDialogMessageProps } from '../s-dialog-message/s-dialog-message';
|
|
21
23
|
import { SDialogProps } from '../s-dialog/s-dialog';
|
|
24
|
+
import { SDrawerProps } from '../s-drawer/s-drawer';
|
|
22
25
|
import { SEmptyProps } from '../s-empty/s-empty';
|
|
23
26
|
import { SFileIconProps } from '../s-file-icon/s-file-icon';
|
|
24
27
|
import { SFlexBoxProps } from '../s-flex-box/s-flex-box';
|
|
25
28
|
import { SFormProps } from '../s-form/s-form';
|
|
26
29
|
import { SGalleryProps } from '../s-gallery/s-gallery';
|
|
27
30
|
import { SGlowButtonProps } from '../s-glow-button/s-glow-button';
|
|
31
|
+
import { SGradientBlobPulseProps } from '../s-gradient-blob-pulse/s-gradient-blob-pulse';
|
|
28
32
|
import { SGradientIconProps } from '../s-gradient-icon/s-gradient-icon';
|
|
29
33
|
import { SIconButtonProps } from '../s-icon-button/s-icon-button';
|
|
30
34
|
import { SImageComparisonProps } from '../s-image-comparison/s-image-comparison';
|
|
31
35
|
import { SImageViewerProps } from '../s-image-viewer/types';
|
|
36
|
+
import { SInteractiveCardProps } from '../s-interactive-card/s-interactive-card';
|
|
32
37
|
import { SLabelProps } from '../s-label/s-label';
|
|
33
38
|
import { SLanguagePopoverProps, SLanguageSwitcherProps } from '../s-language-switcher/s-language-switcher';
|
|
34
39
|
import { SLazyImageProps } from '../s-lazy-image/s-lazy-image';
|
|
40
|
+
import { SListActionItemProps } from '../s-list-action-item/s-list-action-item';
|
|
41
|
+
import { SMegaMenuProps } from '../s-mega-menu/types';
|
|
42
|
+
import { SMobileDockProps } from '../s-mobile-dock/s-mobile-dock';
|
|
35
43
|
import { SMovingBorderProps } from '../s-moving-border/s-moving-border';
|
|
36
44
|
import { SNavItemProps } from '../s-nav-item/s-nav-item';
|
|
37
45
|
import { SNavItemsProps } from '../s-nav-items/s-nav-items';
|
|
46
|
+
import { SNumberRangeProps } from '../s-number-range/s-number-range';
|
|
38
47
|
import { SPaginationProps } from '../s-pagination/s-pagination';
|
|
39
48
|
import { SPixelRevealProps } from '../s-pixel-reveal/s-pixel-reveal';
|
|
49
|
+
import { SPopoverProps } from '../s-popover/s-popover';
|
|
50
|
+
import { SPopoverContentProps } from '../s-popover/s-popover-content';
|
|
51
|
+
import { SProductCardProps } from '../s-product-card/s-product-card';
|
|
52
|
+
import { SProductGalleryProps } from '../s-product-gallery/s-product-gallery';
|
|
40
53
|
import { SQuantityInputProps } from '../s-quantity-input/s-quantity-input';
|
|
41
54
|
import { SRadialPulseAnimateProps } from '../s-radial-pulse-animate/s-radial-pulse-animate';
|
|
42
55
|
import { SReviewProps } from '../s-review/s-review';
|
|
43
56
|
import { SScrollToTopProps } from '../s-scroll-to-top/s-scroll-to-top';
|
|
44
57
|
import { SScrollVelocityProps } from '../s-scroll-velocity/s-scroll-velocity';
|
|
58
|
+
import { SSegmentedControlProps } from '../s-segmented-control/s-segmented-control';
|
|
45
59
|
import { SSelectListProps } from '../s-select-list/s-select-list';
|
|
46
60
|
import { SSelectProps } from '../s-select/s-select';
|
|
47
61
|
import { SSkeletonProps } from '../s-skeleton/s-skeleton';
|
|
48
62
|
import { SSnackbarMessageProps } from '../s-snackbar-message/s-snackbar-message';
|
|
49
63
|
import { SSpotlightCursorProps } from '../s-spotlight-cursor/s-spotlight-cursor';
|
|
50
64
|
import { SStatusIllustrationProps } from '../s-status-illustration/s-status-illustration';
|
|
65
|
+
import { SStepperProps } from '../s-stepper/s-stepper';
|
|
66
|
+
import { SSwatchProps } from '../s-swatch/s-swatch';
|
|
51
67
|
import { SSwitchProps } from '../s-switch/s-switch';
|
|
52
68
|
import { STabPanelProps } from '../s-tabs/s-tab-panel';
|
|
53
69
|
import { STabsProps } from '../s-tabs/s-tabs';
|
|
@@ -65,6 +81,8 @@ declare module '@mui/material/styles' {
|
|
|
65
81
|
interface ComponentsPropsList {
|
|
66
82
|
SAccordion: SAccordionProps;
|
|
67
83
|
SActionOverlay: SActionOverlayProps;
|
|
84
|
+
SAnimatedGradientText: SAnimatedGradientTextProps;
|
|
85
|
+
SAnnouncementBar: SAnnouncementBarProps;
|
|
68
86
|
SAutocomplete: SAutocompleteProps<unknown, boolean | undefined, boolean | undefined, boolean | undefined>;
|
|
69
87
|
SAvatar: SAvatarProps;
|
|
70
88
|
SBlurText: SBlurTextProps;
|
|
@@ -73,6 +91,7 @@ declare module '@mui/material/styles' {
|
|
|
73
91
|
SCategoryCard: SCategoryCardProps;
|
|
74
92
|
SChatInput: SChatInputProps;
|
|
75
93
|
SChatMessage: SChatMessageProps;
|
|
94
|
+
SStepper: SStepperProps;
|
|
76
95
|
SCommentMessage: SCommentMessageProps;
|
|
77
96
|
SCheckbox: SCheckboxProps;
|
|
78
97
|
SChips: SChipsProps;
|
|
@@ -89,30 +108,43 @@ declare module '@mui/material/styles' {
|
|
|
89
108
|
SFlexBox: SFlexBoxProps;
|
|
90
109
|
SGallery: SGalleryProps;
|
|
91
110
|
SGlowButton: SGlowButtonProps;
|
|
111
|
+
SGradientBlobPulse: SGradientBlobPulseProps;
|
|
92
112
|
SGradientIcon: SGradientIconProps;
|
|
93
113
|
SIconButton: SIconButtonProps;
|
|
94
114
|
SImageViewer: SImageViewerProps;
|
|
95
115
|
SImageComparison: SImageComparisonProps;
|
|
116
|
+
SInteractiveCard: SInteractiveCardProps;
|
|
96
117
|
SLabel: SLabelProps;
|
|
97
118
|
SLanguagePopover: SLanguagePopoverProps;
|
|
98
119
|
SLanguageSwitcher: SLanguageSwitcherProps;
|
|
99
120
|
SLazyImage: SLazyImageProps;
|
|
121
|
+
SListActionItem: SListActionItemProps;
|
|
122
|
+
SMegaMenu: SMegaMenuProps<unknown>;
|
|
123
|
+
SMobileDock: SMobileDockProps;
|
|
100
124
|
SMovingBorder: SMovingBorderProps;
|
|
101
125
|
SNavItem: SNavItemProps;
|
|
102
126
|
SNavItems: SNavItemsProps;
|
|
127
|
+
SNumberRange: SNumberRangeProps;
|
|
103
128
|
SPagination: SPaginationProps;
|
|
104
129
|
SPixelReveal: SPixelRevealProps;
|
|
130
|
+
SPopoverContent: SPopoverContentProps;
|
|
131
|
+
SPopover: SPopoverProps;
|
|
132
|
+
SProductCard: SProductCardProps;
|
|
133
|
+
SProductGallery: SProductGalleryProps;
|
|
105
134
|
SQuantityInput: SQuantityInputProps;
|
|
106
135
|
SRadialPulseAnimate: SRadialPulseAnimateProps;
|
|
107
136
|
SReview: SReviewProps;
|
|
108
137
|
SScrollToTop: SScrollToTopProps;
|
|
109
138
|
SScrollVelocity: SScrollVelocityProps;
|
|
139
|
+
SSegmentedControl: SSegmentedControlProps<string>;
|
|
110
140
|
SSelect: SSelectProps;
|
|
111
141
|
SSelectList: SSelectListProps<unknown>;
|
|
142
|
+
SDrawer: SDrawerProps;
|
|
112
143
|
SSkeleton: SSkeletonProps;
|
|
113
144
|
SSnackbarMessage: SSnackbarMessageProps;
|
|
114
145
|
SSpotlightCursor: SSpotlightCursorProps;
|
|
115
146
|
SStatusIllustration: SStatusIllustrationProps;
|
|
147
|
+
SSwatch: SSwatchProps;
|
|
116
148
|
SSwitch: SSwitchProps;
|
|
117
149
|
STabPanel: STabPanelProps;
|
|
118
150
|
STabs: STabsProps;
|
|
@@ -130,6 +162,8 @@ declare module '@mui/material/styles' {
|
|
|
130
162
|
interface ComponentNameToClassKey {
|
|
131
163
|
SAccordion: 'root';
|
|
132
164
|
SActionOverlay: 'root';
|
|
165
|
+
SAnimatedGradientText: 'root';
|
|
166
|
+
SAnnouncementBar: 'actions' | 'badge' | 'container' | 'dismissButton' | 'expandToggle' | 'glowEnd' | 'glowStart' | 'message' | 'root';
|
|
133
167
|
SAutocomplete: 'root';
|
|
134
168
|
SAvatar: 'root';
|
|
135
169
|
SBlurText: 'root';
|
|
@@ -138,6 +172,7 @@ declare module '@mui/material/styles' {
|
|
|
138
172
|
SCategoryCard: 'root' | 'title';
|
|
139
173
|
SChatInput: 'root';
|
|
140
174
|
SChatMessage: 'root';
|
|
175
|
+
SStepper: 'connector' | 'icon' | 'label' | 'root' | 'step';
|
|
141
176
|
SCommentMessage: 'root';
|
|
142
177
|
SCheckbox: 'root';
|
|
143
178
|
SChips: 'root';
|
|
@@ -154,30 +189,43 @@ declare module '@mui/material/styles' {
|
|
|
154
189
|
SFlexBox: 'root';
|
|
155
190
|
SGallery: 'root';
|
|
156
191
|
SGlowButton: 'root';
|
|
192
|
+
SGradientBlobPulse: 'blob' | 'content' | 'root';
|
|
157
193
|
SGradientIcon: 'root';
|
|
158
194
|
SIconButton: 'root';
|
|
159
195
|
SImageViewer: 'root';
|
|
160
196
|
SImageComparison: 'root';
|
|
197
|
+
SInteractiveCard: 'actionArea' | 'overlay' | 'root';
|
|
161
198
|
SLabel: 'root';
|
|
162
199
|
SLanguagePopover: 'root';
|
|
163
200
|
SLanguageSwitcher: 'root';
|
|
164
201
|
SLazyImage: 'image' | 'root' | 'skeleton';
|
|
202
|
+
SListActionItem: 'description' | 'icon' | 'label' | 'root' | 'text' | 'trailing';
|
|
203
|
+
SMegaMenu: 'column' | 'heading' | 'item' | 'panel' | 'popover' | 'root' | 'submenu' | 'submenuNode' | 'trigger' | 'triggerArrow';
|
|
204
|
+
SMobileDock: 'action' | 'badge' | 'icon' | 'label' | 'root';
|
|
165
205
|
SMovingBorder: 'root';
|
|
166
|
-
SNavItem: 'root';
|
|
206
|
+
SNavItem: 'icon' | 'item' | 'label' | 'root' | 'trailing';
|
|
167
207
|
SNavItems: 'root';
|
|
208
|
+
SNumberRange: 'inputs' | 'label' | 'maxInput' | 'minInput' | 'root' | 'separator' | 'slider';
|
|
168
209
|
SPagination: 'root';
|
|
169
210
|
SPixelReveal: 'root';
|
|
211
|
+
SPopoverContent: 'root';
|
|
212
|
+
SPopover: 'paper' | 'root';
|
|
213
|
+
SProductCard: 'actions' | 'badge' | 'content' | 'favoriteButton' | 'footer' | 'hoverActions' | 'hoverImage' | 'image' | 'link' | 'media' | 'meta' | 'originalPrice' | 'price' | 'rating' | 'root' | 'swatches' | 'title';
|
|
214
|
+
SProductGallery: 'carousel' | 'image' | 'media' | 'root' | 'stage' | 'thumbnail' | 'thumbnails' | 'video' | 'videoFrame' | 'videoIndicator' | 'videoPlayButton';
|
|
170
215
|
SQuantityInput: 'root';
|
|
171
216
|
SRadialPulseAnimate: 'label' | 'root';
|
|
172
217
|
SReview: 'root';
|
|
173
218
|
SScrollToTop: 'root';
|
|
174
219
|
SScrollVelocity: 'root';
|
|
220
|
+
SSegmentedControl: 'badge' | 'icon' | 'indicator' | 'label' | 'option' | 'root';
|
|
175
221
|
SSelect: 'root';
|
|
176
222
|
SSelectList: 'details' | 'item' | 'label' | 'option' | 'radio' | 'root' | 'transition';
|
|
223
|
+
SDrawer: 'body' | 'closeButton' | 'header' | 'headerActions' | 'root' | 'title';
|
|
177
224
|
SSkeleton: 'root';
|
|
178
225
|
SSnackbarMessage: 'root';
|
|
179
226
|
SSpotlightCursor: 'root';
|
|
180
227
|
SStatusIllustration: 'root';
|
|
228
|
+
SSwatch: 'image' | 'indicator' | 'root' | 'strikethrough' | 'swatch';
|
|
181
229
|
SSwitch: 'root';
|
|
182
230
|
STabPanel: 'root';
|
|
183
231
|
STabs: 'root';
|
|
@@ -195,6 +243,8 @@ declare module '@mui/material/styles' {
|
|
|
195
243
|
interface Components<Theme = unknown> {
|
|
196
244
|
SAccordion?: CustomComponent<'SAccordion', Theme>;
|
|
197
245
|
SActionOverlay?: CustomComponent<'SActionOverlay', Theme>;
|
|
246
|
+
SAnimatedGradientText?: CustomComponent<'SAnimatedGradientText', Theme>;
|
|
247
|
+
SAnnouncementBar?: CustomComponent<'SAnnouncementBar', Theme>;
|
|
198
248
|
SAutocomplete?: CustomComponent<'SAutocomplete', Theme>;
|
|
199
249
|
SAvatar?: CustomComponent<'SAvatar', Theme>;
|
|
200
250
|
SBlurText?: CustomComponent<'SBlurText', Theme>;
|
|
@@ -203,6 +253,7 @@ declare module '@mui/material/styles' {
|
|
|
203
253
|
SCategoryCard?: CustomComponent<'SCategoryCard', Theme>;
|
|
204
254
|
SChatInput?: CustomComponent<'SChatInput', Theme>;
|
|
205
255
|
SChatMessage?: CustomComponent<'SChatMessage', Theme>;
|
|
256
|
+
SStepper?: CustomComponent<'SStepper', Theme>;
|
|
206
257
|
SCommentMessage?: CustomComponent<'SCommentMessage', Theme>;
|
|
207
258
|
SCheckbox?: CustomComponent<'SCheckbox', Theme>;
|
|
208
259
|
SChips?: CustomComponent<'SChips', Theme>;
|
|
@@ -219,30 +270,43 @@ declare module '@mui/material/styles' {
|
|
|
219
270
|
SFlexBox?: CustomComponent<'SFlexBox', Theme>;
|
|
220
271
|
SGallery?: CustomComponent<'SGallery', Theme>;
|
|
221
272
|
SGlowButton?: CustomComponent<'SGlowButton', Theme>;
|
|
273
|
+
SGradientBlobPulse?: CustomComponent<'SGradientBlobPulse', Theme>;
|
|
222
274
|
SGradientIcon?: CustomComponent<'SGradientIcon', Theme>;
|
|
223
275
|
SIconButton?: CustomComponent<'SIconButton', Theme>;
|
|
224
276
|
SImageViewer?: CustomComponent<'SImageViewer', Theme>;
|
|
225
277
|
SImageComparison?: CustomComponent<'SImageComparison', Theme>;
|
|
278
|
+
SInteractiveCard?: CustomComponent<'SInteractiveCard', Theme>;
|
|
226
279
|
SLabel?: CustomComponent<'SLabel', Theme>;
|
|
227
280
|
SLanguagePopover?: CustomComponent<'SLanguagePopover', Theme>;
|
|
228
281
|
SLanguageSwitcher?: CustomComponent<'SLanguageSwitcher', Theme>;
|
|
229
282
|
SLazyImage?: CustomComponent<'SLazyImage', Theme>;
|
|
283
|
+
SListActionItem?: CustomComponent<'SListActionItem', Theme>;
|
|
284
|
+
SMegaMenu?: CustomComponent<'SMegaMenu', Theme>;
|
|
285
|
+
SMobileDock?: CustomComponent<'SMobileDock', Theme>;
|
|
230
286
|
SMovingBorder?: CustomComponent<'SMovingBorder', Theme>;
|
|
231
287
|
SNavItem?: CustomComponent<'SNavItem', Theme>;
|
|
232
288
|
SNavItems?: CustomComponent<'SNavItems', Theme>;
|
|
289
|
+
SNumberRange?: CustomComponent<'SNumberRange', Theme>;
|
|
233
290
|
SPagination?: CustomComponent<'SPagination', Theme>;
|
|
234
291
|
SPixelReveal?: CustomComponent<'SPixelReveal', Theme>;
|
|
292
|
+
SPopoverContent?: CustomComponent<'SPopoverContent', Theme>;
|
|
293
|
+
SPopover?: CustomComponent<'SPopover', Theme>;
|
|
294
|
+
SProductCard?: CustomComponent<'SProductCard', Theme>;
|
|
295
|
+
SProductGallery?: CustomComponent<'SProductGallery', Theme>;
|
|
235
296
|
SQuantityInput?: CustomComponent<'SQuantityInput', Theme>;
|
|
236
297
|
SRadialPulseAnimate?: CustomComponent<'SRadialPulseAnimate', Theme>;
|
|
237
298
|
SReview?: CustomComponent<'SReview', Theme>;
|
|
238
299
|
SScrollToTop?: CustomComponent<'SScrollToTop', Theme>;
|
|
239
300
|
SScrollVelocity?: CustomComponent<'SScrollVelocity', Theme>;
|
|
301
|
+
SSegmentedControl?: CustomComponent<'SSegmentedControl', Theme>;
|
|
240
302
|
SSelect?: CustomComponent<'SSelect', Theme>;
|
|
241
303
|
SSelectList?: CustomComponent<'SSelectList', Theme>;
|
|
304
|
+
SDrawer?: CustomComponent<'SDrawer', Theme>;
|
|
242
305
|
SSkeleton?: CustomComponent<'SSkeleton', Theme>;
|
|
243
306
|
SSnackbarMessage?: CustomComponent<'SSnackbarMessage', Theme>;
|
|
244
307
|
SSpotlightCursor?: CustomComponent<'SSpotlightCursor', Theme>;
|
|
245
308
|
SStatusIllustration?: CustomComponent<'SStatusIllustration', Theme>;
|
|
309
|
+
SSwatch?: CustomComponent<'SSwatch', Theme>;
|
|
246
310
|
SSwitch?: CustomComponent<'SSwitch', Theme>;
|
|
247
311
|
STabPanel?: CustomComponent<'STabPanel', Theme>;
|
|
248
312
|
STabs?: CustomComponent<'STabs', Theme>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
//#region lib/theme/components/drawer.tsx
|
|
2
|
-
var e = { styleOverrides: { paper: ({ theme: e }) => ({
|
|
2
|
+
var e = { styleOverrides: { paper: ({ theme: e }) => ({
|
|
3
|
+
backgroundColor: (e.vars ?? e).palette.background.default,
|
|
4
|
+
backgroundImage: "none"
|
|
5
|
+
}) } };
|
|
3
6
|
//#endregion
|
|
4
7
|
export { e as MuiDrawer };
|
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
import { tint as e } from "../utils.js";
|
|
2
2
|
//#region lib/theme/components/slider.tsx
|
|
3
3
|
var t = { styleOverrides: {
|
|
4
|
-
valueLabel: ({ theme: e }) => ({
|
|
4
|
+
valueLabel: ({ theme: e }) => ({
|
|
5
|
+
...e.typography.body1,
|
|
6
|
+
backgroundColor: (e.vars ?? e).palette.background.default,
|
|
7
|
+
border: "1px solid",
|
|
8
|
+
borderColor: (e.vars ?? e).palette.divider,
|
|
9
|
+
borderRadius: (e.vars ?? e).shape.borderRadius,
|
|
10
|
+
color: (e.vars ?? e).palette.text.primary,
|
|
11
|
+
padding: e.spacing(.5, 1),
|
|
12
|
+
zIndex: e.zIndex.tooltip,
|
|
13
|
+
"&::before": {
|
|
14
|
+
backgroundColor: "inherit",
|
|
15
|
+
borderBottom: "1px solid",
|
|
16
|
+
borderBottomColor: (e.vars ?? e).palette.divider,
|
|
17
|
+
borderRight: "1px solid",
|
|
18
|
+
borderRightColor: (e.vars ?? e).palette.divider,
|
|
19
|
+
boxSizing: "border-box"
|
|
20
|
+
}
|
|
21
|
+
}),
|
|
5
22
|
thumb: ({ theme: t }) => {
|
|
6
23
|
let n = e((t.vars ?? t).palette.primary.main, 16);
|
|
7
24
|
return {
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
//#region lib/theme/components/step-connector.tsx
|
|
2
|
-
var e = { styleOverrides: { line: ({ theme: e }) => ({
|
|
3
|
-
borderTop: "1px solid",
|
|
4
|
-
borderColor: (e.vars ?? e).palette.divider,
|
|
5
|
-
flex: 1,
|
|
6
|
-
borderRadius: e.radius.full
|
|
7
|
-
}) } };
|
|
2
|
+
var e = { styleOverrides: { line: ({ theme: e }) => ({ borderColor: (e.vars ?? e).palette.divider }) } };
|
|
8
3
|
//#endregion
|
|
9
4
|
export { e as MuiStepConnector };
|
|
@@ -6,15 +6,6 @@ export declare const MuiStepIcon: {
|
|
|
6
6
|
} & {
|
|
7
7
|
theme: Theme;
|
|
8
8
|
}) => {
|
|
9
|
-
variants: {
|
|
10
|
-
props: {
|
|
11
|
-
completed: true;
|
|
12
|
-
};
|
|
13
|
-
style: {
|
|
14
|
-
width: number;
|
|
15
|
-
height: number;
|
|
16
|
-
};
|
|
17
|
-
}[];
|
|
18
9
|
accentColor?: readonly string[] | import("csstype").Property.AccentColor | readonly import("csstype").Property.AccentColor[] | undefined;
|
|
19
10
|
alignContent?: readonly string[] | import("csstype").Property.AlignContent | readonly import("csstype").Property.AlignContent[] | undefined;
|
|
20
11
|
alignItems?: readonly string[] | import("csstype").Property.AlignItems | readonly import("csstype").Property.AlignItems[] | undefined;
|
|
@@ -154,7 +145,7 @@ export declare const MuiStepIcon: {
|
|
|
154
145
|
fontLanguageOverride?: readonly string[] | import("csstype").Property.FontLanguageOverride | readonly import("csstype").Property.FontLanguageOverride[] | undefined;
|
|
155
146
|
fontOpticalSizing?: import("csstype").Property.FontOpticalSizing | readonly NonNullable<import("csstype").Property.FontOpticalSizing | undefined>[] | readonly import("csstype").Property.FontOpticalSizing[] | undefined;
|
|
156
147
|
fontPalette?: readonly string[] | import("csstype").Property.FontPalette | readonly import("csstype").Property.FontPalette[] | undefined;
|
|
157
|
-
fontSize
|
|
148
|
+
fontSize: string | number | readonly NonNullable<import("csstype").Property.FontSize<string | number> | undefined>[];
|
|
158
149
|
fontSizeAdjust?: import("csstype").Property.FontSizeAdjust | readonly NonNullable<import("csstype").Property.FontSizeAdjust | undefined>[] | readonly ((string & {}) | import('csstype').Globals | "none" | "from-font")[] | undefined;
|
|
159
150
|
fontSmooth?: readonly string[] | import("csstype").Property.FontSmooth<string | number> | readonly NonNullable<import("csstype").Property.FontSmooth<string | number> | undefined>[] | undefined;
|
|
160
151
|
fontStyle?: readonly string[] | import("csstype").Property.FontStyle | readonly import("csstype").Property.FontStyle[] | undefined;
|
|
@@ -186,7 +177,7 @@ export declare const MuiStepIcon: {
|
|
|
186
177
|
gridTemplateColumns?: import("csstype").Property.GridTemplateColumns<string | number> | readonly NonNullable<import("csstype").Property.GridTemplateColumns<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
187
178
|
gridTemplateRows?: import("csstype").Property.GridTemplateRows<string | number> | readonly NonNullable<import("csstype").Property.GridTemplateRows<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
188
179
|
hangingPunctuation?: readonly string[] | import("csstype").Property.HangingPunctuation | readonly import("csstype").Property.HangingPunctuation[] | undefined;
|
|
189
|
-
height
|
|
180
|
+
height?: import("csstype").Property.Height<string | number> | readonly NonNullable<import("csstype").Property.Height<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
190
181
|
hyphenateCharacter?: readonly string[] | import("csstype").Property.HyphenateCharacter | readonly import("csstype").Property.HyphenateCharacter[] | undefined;
|
|
191
182
|
hyphenateLimitChars?: import("csstype").Property.HyphenateLimitChars | readonly NonNullable<import("csstype").Property.HyphenateLimitChars | undefined>[] | readonly ((string & {}) | import('csstype').Globals | "auto")[] | undefined;
|
|
192
183
|
hyphens?: import("csstype").Property.Hyphens | readonly NonNullable<import("csstype").Property.Hyphens | undefined>[] | readonly import("csstype").Property.Hyphens[] | undefined;
|
|
@@ -426,7 +417,7 @@ export declare const MuiStepIcon: {
|
|
|
426
417
|
whiteSpace?: readonly string[] | import("csstype").Property.WhiteSpace | readonly import("csstype").Property.WhiteSpace[] | undefined;
|
|
427
418
|
whiteSpaceCollapse?: import("csstype").Property.WhiteSpaceCollapse | readonly NonNullable<import("csstype").Property.WhiteSpaceCollapse | undefined>[] | readonly import("csstype").Property.WhiteSpaceCollapse[] | undefined;
|
|
428
419
|
widows?: import("csstype").Property.Widows | readonly NonNullable<import("csstype").Property.Widows | undefined>[] | readonly ((string & {}) | import('csstype').Globals)[] | undefined;
|
|
429
|
-
width
|
|
420
|
+
width?: import("csstype").Property.Width<string | number> | readonly NonNullable<import("csstype").Property.Width<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
430
421
|
willChange?: readonly string[] | import("csstype").Property.WillChange | readonly import("csstype").Property.WillChange[] | undefined;
|
|
431
422
|
wordBreak?: import("csstype").Property.WordBreak | readonly NonNullable<import("csstype").Property.WordBreak | undefined>[] | readonly import("csstype").Property.WordBreak[] | undefined;
|
|
432
423
|
wordSpacing?: readonly string[] | import("csstype").Property.WordSpacing<string | number> | readonly NonNullable<import("csstype").Property.WordSpacing<string | number> | undefined>[] | undefined;
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
var e = { styleOverrides: { root: ({ theme: e }) => ({
|
|
3
3
|
color: "transparent",
|
|
4
4
|
border: `1px solid ${(e.vars ?? e).palette.grey[400]}`,
|
|
5
|
-
|
|
6
|
-
height: 12,
|
|
5
|
+
fontSize: e.typography.pxToRem(24),
|
|
7
6
|
borderRadius: "50%",
|
|
8
7
|
"& text": { display: "none" },
|
|
9
8
|
"&.Mui-active": {
|
|
@@ -20,18 +19,8 @@ var e = { styleOverrides: { root: ({ theme: e }) => ({
|
|
|
20
19
|
border: "none",
|
|
21
20
|
color: (e.vars ?? e).palette.primary.light
|
|
22
21
|
},
|
|
23
|
-
"&.Mui-completed": {
|
|
24
|
-
|
|
25
|
-
color: (e.vars ?? e).palette.success.light
|
|
26
|
-
}
|
|
27
|
-
}),
|
|
28
|
-
variants: [{
|
|
29
|
-
props: { completed: !0 },
|
|
30
|
-
style: {
|
|
31
|
-
width: 12,
|
|
32
|
-
height: 12
|
|
33
|
-
}
|
|
34
|
-
}]
|
|
22
|
+
"&.Mui-completed": { border: "none" }
|
|
23
|
+
})
|
|
35
24
|
}) } };
|
|
36
25
|
//#endregion
|
|
37
26
|
export { e as MuiStepIcon };
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.0.
|
|
6
|
+
"version": "2.0.3",
|
|
7
7
|
"description": "advanced ui kit for solostylist",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "dist/main.js",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsc --p ./tsconfig-build.json && vite build",
|
|
55
55
|
"dev": "tsc --p ./tsconfig-build.json --watch",
|
|
56
|
+
"test": "vitest run",
|
|
56
57
|
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
|
|
57
58
|
"lint:fix": "eslint . --fix --report-unused-disable-directives --max-warnings 0",
|
|
58
59
|
"format": "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx,json,md}\" --cache",
|
|
@@ -175,6 +176,8 @@
|
|
|
175
176
|
"@mui/x-date-pickers": "^9.2.0",
|
|
176
177
|
"@stripe/react-stripe-js": "^5.6.1",
|
|
177
178
|
"@stripe/stripe-js": "^8.11.0",
|
|
179
|
+
"@testing-library/dom": "^10.4.1",
|
|
180
|
+
"@testing-library/react": "^16.3.2",
|
|
178
181
|
"@tiptap/core": "^3.23.4",
|
|
179
182
|
"@tiptap/extension-link": "^3.23.4",
|
|
180
183
|
"@tiptap/extension-placeholder": "^3.23.4",
|
|
@@ -202,6 +205,7 @@
|
|
|
202
205
|
"husky": "^9.1.7",
|
|
203
206
|
"i18next": "^25.10.10",
|
|
204
207
|
"i18next-http-backend": "^3.0.6",
|
|
208
|
+
"jsdom": "^30.0.1",
|
|
205
209
|
"lint-staged": "^16.4.0",
|
|
206
210
|
"overlayscrollbars": "^2.16.0",
|
|
207
211
|
"overlayscrollbars-react": "^0.5.6",
|
|
@@ -218,7 +222,8 @@
|
|
|
218
222
|
"uuid": "^13.0.2",
|
|
219
223
|
"vite": "^8.0.13",
|
|
220
224
|
"vite-plugin-dts": "^4.5.4",
|
|
221
|
-
"vite-plugin-lib-inject-css": "^2.2.2"
|
|
225
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
226
|
+
"vitest": "^4.1.10"
|
|
222
227
|
},
|
|
223
228
|
"lint-staged": {
|
|
224
229
|
"*.{js,jsx,ts,tsx}": [
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Theme } from '../types';
|
|
2
|
-
export declare const MuiSlider: {
|
|
3
|
-
styleOverrides: {
|
|
4
|
-
valueLabel: ({ theme }: import('@mui/material').SliderOwnProps<number | number[]> & import('@mui/material').SliderSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "name" | "color" | "scale" | "className" | "style" | "classes" | "onChange" | "sx" | "track" | "disabled" | "slots" | "slotProps" | "defaultValue" | "tabIndex" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "step" | "max" | "min" | "orientation" | "value" | "size" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat"> & {
|
|
5
|
-
component?: React.ElementType | undefined;
|
|
6
|
-
} & Record<string, unknown> & {
|
|
7
|
-
ownerState: import('@mui/material').SliderOwnProps<number | number[]> & import('@mui/material').SliderSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "name" | "color" | "scale" | "className" | "style" | "classes" | "onChange" | "sx" | "track" | "disabled" | "slots" | "slotProps" | "defaultValue" | "tabIndex" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "step" | "max" | "min" | "orientation" | "value" | "size" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat"> & {
|
|
8
|
-
component?: React.ElementType | undefined;
|
|
9
|
-
} & Record<string, unknown>;
|
|
10
|
-
} & {
|
|
11
|
-
theme: Theme;
|
|
12
|
-
}) => {
|
|
13
|
-
borderRadius: string | number;
|
|
14
|
-
};
|
|
15
|
-
thumb: ({ theme }: import('@mui/material').SliderOwnProps<number | number[]> & import('@mui/material').SliderSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "name" | "color" | "scale" | "className" | "style" | "classes" | "onChange" | "sx" | "track" | "disabled" | "slots" | "slotProps" | "defaultValue" | "tabIndex" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "step" | "max" | "min" | "orientation" | "value" | "size" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat"> & {
|
|
16
|
-
component?: React.ElementType | undefined;
|
|
17
|
-
} & Record<string, unknown> & {
|
|
18
|
-
ownerState: import('@mui/material').SliderOwnProps<number | number[]> & import('@mui/material').SliderSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "name" | "color" | "scale" | "className" | "style" | "classes" | "onChange" | "sx" | "track" | "disabled" | "slots" | "slotProps" | "defaultValue" | "tabIndex" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "step" | "max" | "min" | "orientation" | "value" | "size" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat"> & {
|
|
19
|
-
component?: React.ElementType | undefined;
|
|
20
|
-
} & Record<string, unknown>;
|
|
21
|
-
} & {
|
|
22
|
-
theme: Theme;
|
|
23
|
-
}) => {
|
|
24
|
-
width: number;
|
|
25
|
-
height: number;
|
|
26
|
-
'&:hover, &.Mui-focusVisible': {
|
|
27
|
-
boxShadow: string;
|
|
28
|
-
};
|
|
29
|
-
'&.Mui-active': {
|
|
30
|
-
boxShadow: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|