@solostylist/ui-kit 1.0.166 → 1.0.167
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/main.d.ts +2 -0
- package/dist/main.js +73 -71
- package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +12 -2
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +233 -200
- package/dist/s-pixel-reveal/index.d.ts +2 -0
- package/dist/s-pixel-reveal/index.js +4 -0
- package/dist/s-pixel-reveal/package.json +5 -0
- package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +13 -0
- package/dist/s-pixel-reveal/s-pixel-reveal.js +151 -0
- package/dist/theme/components/alert.d.ts +52 -52
- package/dist/theme/components/button.d.ts +80 -80
- package/dist/theme/components/chip.d.ts +2 -2
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ export { default as SGlowButton } from './s-glow-button/index';
|
|
|
98
98
|
export type { SGlowButtonProps } from './s-glow-button/index';
|
|
99
99
|
export { default as SMovingBorder } from './s-moving-border/index';
|
|
100
100
|
export type { SMovingBorderProps } from './s-moving-border/index';
|
|
101
|
+
export { default as SPixelReveal } from './s-pixel-reveal/index';
|
|
102
|
+
export type { SPixelRevealProps } from './s-pixel-reveal/index';
|
|
101
103
|
export { default as SScrollReveal } from './s-scroll-reveal/index';
|
|
102
104
|
export type { SScrollRevealProps } from './s-scroll-reveal/index';
|
|
103
105
|
export { default as SSpotlightCursor } from './s-spotlight-cursor/index';
|
package/dist/main.js
CHANGED
|
@@ -6,7 +6,7 @@ import { default as d } from "./s-avatar/s-avatar.js";
|
|
|
6
6
|
import { default as i } from "./s-breadcrumbs/s-breadcrumbs.js";
|
|
7
7
|
import { default as g } from "./s-button/s-button.js";
|
|
8
8
|
import { default as T } from "./s-button-link/s-button-link.js";
|
|
9
|
-
import { default as
|
|
9
|
+
import { default as C } from "./s-carousel/s-carousel.js";
|
|
10
10
|
import { default as b } from "./s-chat-input/s-chat-input.js";
|
|
11
11
|
import { default as y } from "./s-chat-message/s-chat-message.js";
|
|
12
12
|
import { default as I } from "./s-comment-message/s-comment-message.js";
|
|
@@ -15,7 +15,7 @@ import "./s-text-editor/s-text-editor-toolbar.js";
|
|
|
15
15
|
import { default as B } from "./s-checkbox/s-checkbox.js";
|
|
16
16
|
import { default as F } from "./s-chip/s-chip.js";
|
|
17
17
|
import { default as E } from "./s-chips/s-chips.js";
|
|
18
|
-
import { default as
|
|
18
|
+
import { default as z } from "./s-data-table/s-data-table.js";
|
|
19
19
|
import { DialogConfirmProvider as N, default as O, useDialogConfirm as j } from "./s-dialog-confirm/s-dialog-confirm.js";
|
|
20
20
|
import { DialogMessageProvider as Z, default as q, useDialogMessage as H } from "./s-dialog-message/s-dialog-message.js";
|
|
21
21
|
import { default as K } from "./s-error/s-error.js";
|
|
@@ -32,14 +32,14 @@ import { default as de } from "./s-label/s-label.js";
|
|
|
32
32
|
import { default as ie } from "./s-multi-select/s-multi-select.js";
|
|
33
33
|
import { default as ge } from "./s-no-ssr/s-no-ssr.js";
|
|
34
34
|
import { default as Te } from "./s-overlay-scrollbar/s-overlay-scrollbar.js";
|
|
35
|
-
import { default as
|
|
35
|
+
import { default as Ce } from "./s-text-field/s-text-field.js";
|
|
36
36
|
import { default as be } from "./s-pagination/s-pagination.js";
|
|
37
37
|
import { default as ye } from "./s-select/s-select.js";
|
|
38
38
|
import { default as Ie } from "./s-select-list/s-select-list.js";
|
|
39
39
|
import { default as he } from "./s-skeleton/s-skeleton.js";
|
|
40
40
|
import { default as Be } from "./s-tip/s-tip.js";
|
|
41
41
|
import { default as Fe } from "./s-text-truncation/s-text-truncation.js";
|
|
42
|
-
import { default as Ee, SnackbarMessageProvider as
|
|
42
|
+
import { default as Ee, SnackbarMessageProvider as Re, useSnackbarMessage as ze } from "./s-snackbar-message/s-snackbar-message.js";
|
|
43
43
|
import { default as Ne } from "./s-form/s-form.js";
|
|
44
44
|
import { SStripeCVC as je, SStripeExpiry as Ve, SStripeNumber as Ze, StripeTextField as qe } from "./s-stripe/s-stripe.js";
|
|
45
45
|
import { default as Je } from "./s-theme-provider/s-theme-provider.js";
|
|
@@ -50,41 +50,42 @@ import { default as $e } from "./s-localization-provider/s-localization-provider
|
|
|
50
50
|
import { default as oo } from "./s-gradient-icon/s-gradient-icon.js";
|
|
51
51
|
import { default as ao } from "./s-glow-button/s-glow-button.js";
|
|
52
52
|
import { default as fo } from "./s-moving-border/s-moving-border.js";
|
|
53
|
-
import { default as so } from "./s-
|
|
54
|
-
import { default as po } from "./s-
|
|
55
|
-
import { default as So } from "./s-
|
|
56
|
-
import {
|
|
57
|
-
import { default as co } from "./s-
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as vo } from "./s-image
|
|
60
|
-
import { default as Lo } from "./s-
|
|
61
|
-
import { default as Do } from "./s-
|
|
62
|
-
import { default as Mo } from "./s-
|
|
63
|
-
import { default as ko } from "./s-
|
|
64
|
-
import { default as Ao } from "./s-
|
|
65
|
-
import { default as wo } from "./s-
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as Go } from "./s-tabs/s-
|
|
68
|
-
import { default as Oo } from "./s-tabs/s-tab
|
|
69
|
-
import { default as Vo } from "./s-
|
|
70
|
-
import { default as qo } from "./s-
|
|
71
|
-
import {
|
|
72
|
-
import { default as Wo } from "./s-
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
53
|
+
import { default as so } from "./s-pixel-reveal/s-pixel-reveal.js";
|
|
54
|
+
import { default as po } from "./s-scroll-reveal/s-scroll-reveal.js";
|
|
55
|
+
import { default as So } from "./s-spotlight-cursor/s-spotlight-cursor.js";
|
|
56
|
+
import { default as io } from "./s-copyable-text/s-copyable-text.js";
|
|
57
|
+
import { MediaItem as go, default as co } from "./s-gallery/s-gallery.js";
|
|
58
|
+
import { default as Po } from "./s-image-modal/s-image-modal.js";
|
|
59
|
+
import { default as vo } from "./s-lazy-image/s-lazy-image.js";
|
|
60
|
+
import { default as Lo } from "./s-image-comparison/s-image-comparison.js";
|
|
61
|
+
import { default as Do } from "./s-zoom-image/s-zoom-image.js";
|
|
62
|
+
import { default as Mo } from "./s-item-not-found/s-item-not-found.js";
|
|
63
|
+
import { default as ko } from "./s-category-card/s-category-card.js";
|
|
64
|
+
import { default as Ao } from "./s-radial-pulse-animate/s-radial-pulse-animate.js";
|
|
65
|
+
import { default as wo } from "./s-rating/s-rating.js";
|
|
66
|
+
import { default as Ro } from "./s-review/s-review.js";
|
|
67
|
+
import { default as Go } from "./s-tabs/s-tabs.js";
|
|
68
|
+
import { default as Oo } from "./s-tabs/s-tab.js";
|
|
69
|
+
import { default as Vo } from "./s-tabs/s-tab-panel.js";
|
|
70
|
+
import { default as qo } from "./s-text-shimmer/s-text-shimmer.js";
|
|
71
|
+
import { default as Jo } from "./s-typewriter-text/s-typewriter-text.js";
|
|
72
|
+
import { SLanguagePopover as Qo, default as Uo, defaultLanguageOptions as Wo } from "./s-language-switcher/s-language-switcher.js";
|
|
73
|
+
import { default as Yo } from "./s-scroll-to-top/s-scroll-to-top.js";
|
|
74
|
+
import { useDialog as $o } from "./hooks/use-dialog.js";
|
|
75
|
+
import { usePopover as or } from "./hooks/use-popover.js";
|
|
75
76
|
import "react";
|
|
76
|
-
import { useScrollAnimation as
|
|
77
|
-
import { useIsPassedPosition as
|
|
78
|
-
import { formatDatePosted as
|
|
79
|
-
import { bytesToSize as
|
|
80
|
-
import { LogLevel as
|
|
81
|
-
import { default as
|
|
77
|
+
import { useScrollAnimation as ar } from "./hooks/use-scroll-animation.js";
|
|
78
|
+
import { useIsPassedPosition as fr } from "./hooks/use-is-passed-position.js";
|
|
79
|
+
import { formatDatePosted as sr } from "./utils/dayjs.js";
|
|
80
|
+
import { bytesToSize as pr } from "./utils/bytes-to-size.js";
|
|
81
|
+
import { LogLevel as Sr, Logger as dr, createLogger as xr, logger as ir } from "./utils/logger.js";
|
|
82
|
+
import { default as gr } from "dayjs";
|
|
82
83
|
export {
|
|
83
84
|
N as DialogConfirmProvider,
|
|
84
85
|
Z as DialogMessageProvider,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
Sr as LogLevel,
|
|
87
|
+
dr as Logger,
|
|
88
|
+
go as MediaItem,
|
|
88
89
|
t as SAccordion,
|
|
89
90
|
l as SActionOverlay,
|
|
90
91
|
m as SAiToolBar,
|
|
@@ -93,16 +94,16 @@ export {
|
|
|
93
94
|
i as SBreadcrumbs,
|
|
94
95
|
g as SButton,
|
|
95
96
|
T as SButtonLink,
|
|
96
|
-
|
|
97
|
-
|
|
97
|
+
C as SCarousel,
|
|
98
|
+
ko as SCategoryCard,
|
|
98
99
|
b as SChatInput,
|
|
99
100
|
y as SChatMessage,
|
|
100
101
|
B as SCheckbox,
|
|
101
102
|
F as SChip,
|
|
102
103
|
E as SChips,
|
|
103
104
|
I as SCommentMessage,
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
io as SCopyableText,
|
|
106
|
+
z as SDataTable,
|
|
106
107
|
Ye as SDatePicker,
|
|
107
108
|
We as SDateTimePicker,
|
|
108
109
|
ee as SDialog,
|
|
@@ -115,63 +116,64 @@ export {
|
|
|
115
116
|
le as SFileIcon,
|
|
116
117
|
X as SFlexBox,
|
|
117
118
|
Ne as SForm,
|
|
118
|
-
|
|
119
|
+
co as SGallery,
|
|
119
120
|
ao as SGlowButton,
|
|
120
121
|
oo as SGradientIcon,
|
|
121
122
|
me as SI18nProvider,
|
|
122
123
|
ue as SIconButton,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
Lo as SImageComparison,
|
|
125
|
+
Po as SImageModal,
|
|
126
|
+
Mo as SItemNotFound,
|
|
126
127
|
de as SLabel,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
Qo as SLanguagePopover,
|
|
129
|
+
Uo as SLanguageSwitcher,
|
|
130
|
+
vo as SLazyImage,
|
|
130
131
|
$e as SLocalizationProvider,
|
|
131
132
|
fo as SMovingBorder,
|
|
132
133
|
ie as SMultiSelect,
|
|
133
134
|
ge as SNoSsr,
|
|
134
135
|
Te as SOverlayScrollbar,
|
|
135
136
|
be as SPagination,
|
|
136
|
-
|
|
137
|
-
Ao as
|
|
138
|
-
wo as
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
so as SPixelReveal,
|
|
138
|
+
Ao as SRadialPulseAnimate,
|
|
139
|
+
wo as SRating,
|
|
140
|
+
Ro as SReview,
|
|
141
|
+
po as SScrollReveal,
|
|
142
|
+
Yo as SScrollToTop,
|
|
141
143
|
ye as SSelect,
|
|
142
144
|
Ie as SSelectList,
|
|
143
145
|
he as SSkeleton,
|
|
144
146
|
Ee as SSnackbarMessage,
|
|
145
|
-
|
|
147
|
+
So as SSpotlightCursor,
|
|
146
148
|
je as SStripeCVC,
|
|
147
149
|
Ve as SStripeExpiry,
|
|
148
150
|
Ze as SStripeNumber,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
151
|
+
Oo as STab,
|
|
152
|
+
Vo as STabPanel,
|
|
153
|
+
Go as STabs,
|
|
152
154
|
h as STextEditor,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
Ce as STextField,
|
|
156
|
+
qo as STextShimmer,
|
|
155
157
|
Fe as STextTruncation,
|
|
156
158
|
Je as SThemeProvider,
|
|
157
159
|
Qe as SThemeSwitch,
|
|
158
160
|
Be as STip,
|
|
159
161
|
_ as STwoPaneLayout,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
Jo as STypewriterText,
|
|
163
|
+
Do as SZoomImage,
|
|
164
|
+
Re as SnackbarMessageProvider,
|
|
163
165
|
qe as StripeTextField,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
166
|
+
pr as bytesToSize,
|
|
167
|
+
xr as createLogger,
|
|
168
|
+
gr as dayjs,
|
|
169
|
+
Wo as defaultLanguageOptions,
|
|
170
|
+
sr as formatDatePosted,
|
|
171
|
+
ir as logger,
|
|
172
|
+
$o as useDialog,
|
|
171
173
|
j as useDialogConfirm,
|
|
172
174
|
H as useDialogMessage,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
fr as useIsPassedPosition,
|
|
176
|
+
or as usePopover,
|
|
177
|
+
ar as useScrollAnimation,
|
|
178
|
+
ze as useSnackbarMessage
|
|
177
179
|
};
|
|
@@ -8,12 +8,12 @@ export interface SAiToolBarInput {
|
|
|
8
8
|
/** Display label for the input */
|
|
9
9
|
label: string;
|
|
10
10
|
/** Input type */
|
|
11
|
-
type: 'textarea' | 'slider' | 'image' | 'number';
|
|
11
|
+
type: 'textarea' | 'slider' | 'image' | 'number' | 'select';
|
|
12
12
|
/** Whether the input is required */
|
|
13
13
|
required?: boolean;
|
|
14
14
|
/** Default value for the input */
|
|
15
15
|
defaultValue?: any;
|
|
16
|
-
/** Placeholder text (for textarea/number inputs) */
|
|
16
|
+
/** Placeholder text (for textarea/number/select inputs) */
|
|
17
17
|
placeholder?: string;
|
|
18
18
|
/** Minimum value (for slider/number inputs) */
|
|
19
19
|
min?: number;
|
|
@@ -29,6 +29,16 @@ export interface SAiToolBarInput {
|
|
|
29
29
|
multiple?: boolean;
|
|
30
30
|
/** Maximum number of images (for image inputs with multiple=true) */
|
|
31
31
|
maxImages?: number;
|
|
32
|
+
/** Select options (for select inputs) */
|
|
33
|
+
options?: any[];
|
|
34
|
+
/** Key to extract label from option objects (for select inputs) */
|
|
35
|
+
optionLabel?: string;
|
|
36
|
+
/** Key to extract value from option objects (for select inputs) */
|
|
37
|
+
optionValue?: string;
|
|
38
|
+
/** Enable search functionality in select dropdown */
|
|
39
|
+
searchable?: boolean;
|
|
40
|
+
/** Placeholder for search input in select dropdown */
|
|
41
|
+
searchPlaceholder?: string;
|
|
32
42
|
/** Custom renderer for the input */
|
|
33
43
|
renderInput?: (props: {
|
|
34
44
|
value: any;
|