@solostylist/ui-kit 1.0.169 → 1.0.171
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/ContentCopy-7nFBtjhs.js +11 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +60 -58
- package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +2 -4
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +244 -277
- package/dist/s-blur-text/s-blur-text.js +19 -20
- package/dist/s-button-link/s-button-link.js +2 -2
- package/dist/s-category-card/s-category-card.js +2 -2
- package/dist/s-chat-input/s-chat-input.js +2 -2
- package/dist/s-chat-message/s-chat-message.js +77 -99
- package/dist/s-code-block/index.d.ts +2 -0
- package/dist/s-code-block/index.js +4 -0
- package/dist/s-code-block/package.json +5 -0
- package/dist/s-code-block/s-code-block.d.ts +36 -0
- package/dist/s-code-block/s-code-block.js +1061 -0
- package/dist/s-copyable-text/s-copyable-text.js +17 -21
- package/dist/s-countdown/s-count-box.js +2 -2
- package/dist/s-countdown/s-count-down.js +2 -2
- package/dist/s-error-layout/s-error-layout.js +2 -2
- package/dist/s-glow-button/s-glow-button.js +4 -5
- package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
- package/dist/s-moving-border/s-moving-border.d.ts +1 -1
- package/dist/s-moving-border/s-moving-border.js +34 -34
- package/dist/s-scroll-reveal/s-scroll-reveal.js +2 -2
- package/dist/s-skeleton/s-skeleton.js +2 -2
- package/dist/s-stripe/s-stripe.js +5 -5
- package/dist/s-tabs/s-tab-panel.js +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +13 -13
- package/dist/s-text-truncation/s-text-truncation.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +51 -88
- package/dist/s-theme-provider/s-theme-provider.js +2 -2
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/s-two-pane-layout/index.js +1 -1
- package/dist/s-two-pane-layout/s-two-pane-layout.js +2 -2
- package/dist/s-typewriter-text/s-typewriter-text.js +8 -8
- package/dist/s-zoom-image/index.js +1 -1
- package/dist/s-zoom-image/s-zoom-image.js +2 -2
- package/dist/theme/theme-primitives.d.ts +5 -0
- package/dist/theme/theme-primitives.js +23 -18
- package/package.json +4 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { j as o } from "./jsx-runtime-OVHDjVDe.js";
|
|
2
|
+
import { c } from "./createSvgIcon-DxwgGAVe.js";
|
|
3
|
+
const s = c(/* @__PURE__ */ o.jsx("path", {
|
|
4
|
+
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
5
|
+
}), "Check"), a = c(/* @__PURE__ */ o.jsx("path", {
|
|
6
|
+
d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"
|
|
7
|
+
}), "ContentCopy");
|
|
8
|
+
export {
|
|
9
|
+
s as C,
|
|
10
|
+
a
|
|
11
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -108,6 +108,8 @@ export { default as SSpotlightCursor } from './s-spotlight-cursor/index';
|
|
|
108
108
|
export type { SSpotlightCursorProps, SpotlightConfig } from './s-spotlight-cursor/index';
|
|
109
109
|
export { default as SCopyableText } from './s-copyable-text/index';
|
|
110
110
|
export type { SCopyableTextProps } from './s-copyable-text/index';
|
|
111
|
+
export { default as SCodeBlock } from './s-code-block/index';
|
|
112
|
+
export type { SCodeBlockProps } from './s-code-block/index';
|
|
111
113
|
export { default as SGallery, MediaItem } from './s-gallery/index';
|
|
112
114
|
export type { SGalleryProps, MediaItemProps, GalleryLayoutVariant } from './s-gallery/index';
|
|
113
115
|
export { default as SImageModal } from './s-image-modal/index';
|
package/dist/main.js
CHANGED
|
@@ -60,42 +60,43 @@ import { ScrollVelocityContainer as Pr } from "./s-scroll-velocity/scroll-veloci
|
|
|
60
60
|
import { ScrollVelocityRow as vr } from "./s-scroll-velocity/scroll-velocity-row.js";
|
|
61
61
|
import { SSpotlightCursor as Lr } from "./s-spotlight-cursor/s-spotlight-cursor.js";
|
|
62
62
|
import { SCopyableText as Ir } from "./s-copyable-text/s-copyable-text.js";
|
|
63
|
+
import { SCodeBlock as hr } from "./s-code-block/s-code-block.js";
|
|
63
64
|
import "./s-gallery/index.js";
|
|
64
|
-
import { SImageModal as
|
|
65
|
+
import { SImageModal as kr } from "./s-image-modal/s-image-modal.js";
|
|
65
66
|
import "./s-lazy-image/index.js";
|
|
66
|
-
import { default as
|
|
67
|
+
import { default as wr } from "./s-image-comparison/s-image-comparison.js";
|
|
67
68
|
import "./s-zoom-image/index.js";
|
|
68
|
-
import { SItemNotFound as
|
|
69
|
-
import { SCategoryCard as
|
|
70
|
-
import { SRadialPulseAnimate as
|
|
71
|
-
import { SRating as
|
|
72
|
-
import { SReview as
|
|
73
|
-
import { STabs as
|
|
74
|
-
import { default as
|
|
75
|
-
import { STabPanel as
|
|
76
|
-
import { STextShimmer as
|
|
77
|
-
import { STypewriterText as
|
|
78
|
-
import { SLanguagePopover as
|
|
79
|
-
import { SScrollToTop as
|
|
80
|
-
import { useDialog as
|
|
81
|
-
import { usePopover as
|
|
69
|
+
import { SItemNotFound as Rr } from "./s-item-not-found/s-item-not-found.js";
|
|
70
|
+
import { SCategoryCard as zr } from "./s-category-card/s-category-card.js";
|
|
71
|
+
import { SRadialPulseAnimate as Gr } from "./s-radial-pulse-animate/s-radial-pulse-animate.js";
|
|
72
|
+
import { SRating as Or } from "./s-rating/s-rating.js";
|
|
73
|
+
import { SReview as Zr } from "./s-review/s-review.js";
|
|
74
|
+
import { STabs as Hr } from "./s-tabs/s-tabs.js";
|
|
75
|
+
import { default as Kr } from "./s-tabs/s-tab.js";
|
|
76
|
+
import { STabPanel as Ur } from "./s-tabs/s-tab-panel.js";
|
|
77
|
+
import { STextShimmer as Xr } from "./s-text-shimmer/s-text-shimmer.js";
|
|
78
|
+
import { STypewriterText as _r } from "./s-typewriter-text/s-typewriter-text.js";
|
|
79
|
+
import { SLanguagePopover as oe, SLanguageSwitcher as re, defaultLanguageOptions as ee } from "./s-language-switcher/s-language-switcher.js";
|
|
80
|
+
import { SScrollToTop as me } from "./s-scroll-to-top/s-scroll-to-top.js";
|
|
81
|
+
import { useDialog as Se } from "./hooks/use-dialog.js";
|
|
82
|
+
import { usePopover as fe } from "./hooks/use-popover.js";
|
|
82
83
|
import "react";
|
|
83
|
-
import { useScrollAnimation as
|
|
84
|
-
import { useIsPassedPosition as
|
|
85
|
-
import { formatDatePosted as
|
|
86
|
-
import { bytesToSize as
|
|
87
|
-
import { LogLevel as
|
|
88
|
-
import { STwoPaneLayout as
|
|
89
|
-
import { MediaItem as
|
|
90
|
-
import { default as
|
|
91
|
-
import { SZoomImage as
|
|
92
|
-
import { default as
|
|
84
|
+
import { useScrollAnimation as ie } from "./hooks/use-scroll-animation.js";
|
|
85
|
+
import { useIsPassedPosition as se } from "./hooks/use-is-passed-position.js";
|
|
86
|
+
import { formatDatePosted as ge } from "./utils/dayjs.js";
|
|
87
|
+
import { bytesToSize as ce } from "./utils/bytes-to-size.js";
|
|
88
|
+
import { LogLevel as Te, Logger as Ce, createLogger as Pe, logger as ye } from "./utils/logger.js";
|
|
89
|
+
import { STwoPaneLayout as be } from "./s-two-pane-layout/s-two-pane-layout.js";
|
|
90
|
+
import { MediaItem as De, SGallery as Ie } from "./s-gallery/s-gallery.js";
|
|
91
|
+
import { default as he } from "./s-lazy-image/s-lazy-image.js";
|
|
92
|
+
import { SZoomImage as ke } from "./s-zoom-image/s-zoom-image.js";
|
|
93
|
+
import { default as we } from "dayjs";
|
|
93
94
|
export {
|
|
94
95
|
q as DialogConfirmProvider,
|
|
95
96
|
Q as DialogMessageProvider,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
Te as LogLevel,
|
|
98
|
+
Ce as Logger,
|
|
99
|
+
De as MediaItem,
|
|
99
100
|
f as SAccordion,
|
|
100
101
|
i as SActionOverlay,
|
|
101
102
|
s as SAiToolBar,
|
|
@@ -106,12 +107,13 @@ export {
|
|
|
106
107
|
y as SButton,
|
|
107
108
|
b as SButtonLink,
|
|
108
109
|
D as SCarousel,
|
|
109
|
-
|
|
110
|
+
zr as SCategoryCard,
|
|
110
111
|
M as SChatInput,
|
|
111
112
|
B as SChatMessage,
|
|
112
113
|
E as SCheckbox,
|
|
113
114
|
V as SChip,
|
|
114
115
|
N as SChips,
|
|
116
|
+
hr as SCodeBlock,
|
|
115
117
|
A as SCommentMessage,
|
|
116
118
|
Ir as SCopyableText,
|
|
117
119
|
j as SDataTable,
|
|
@@ -127,18 +129,18 @@ export {
|
|
|
127
129
|
ao as SFileIcon,
|
|
128
130
|
ro as SFlexBox,
|
|
129
131
|
Zo as SForm,
|
|
130
|
-
|
|
132
|
+
Ie as SGallery,
|
|
131
133
|
ir as SGlowButton,
|
|
132
134
|
fr as SGradientIcon,
|
|
133
135
|
lo as SI18nProvider,
|
|
134
136
|
no as SIconButton,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
wr as SImageComparison,
|
|
138
|
+
kr as SImageModal,
|
|
139
|
+
Rr as SItemNotFound,
|
|
138
140
|
uo as SLabel,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
141
|
+
oe as SLanguagePopover,
|
|
142
|
+
re as SLanguageSwitcher,
|
|
143
|
+
he as SLazyImage,
|
|
142
144
|
Sr as SLocalizationProvider,
|
|
143
145
|
sr as SMovingBorder,
|
|
144
146
|
To as SMultiSelect,
|
|
@@ -146,11 +148,11 @@ export {
|
|
|
146
148
|
vo as SOverlayScrollbar,
|
|
147
149
|
Io as SPagination,
|
|
148
150
|
gr as SPixelReveal,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
151
|
+
Gr as SRadialPulseAnimate,
|
|
152
|
+
Or as SRating,
|
|
153
|
+
Zr as SReview,
|
|
152
154
|
cr as SScrollReveal,
|
|
153
|
-
|
|
155
|
+
me as SScrollToTop,
|
|
154
156
|
Tr as SScrollVelocity,
|
|
155
157
|
ho as SSelect,
|
|
156
158
|
ko as SSelectList,
|
|
@@ -160,34 +162,34 @@ export {
|
|
|
160
162
|
Xo as SStripeCVC,
|
|
161
163
|
Uo as SStripeExpiry,
|
|
162
164
|
Ko as SStripeNumber,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
Kr as STab,
|
|
166
|
+
Ur as STabPanel,
|
|
167
|
+
Hr as STabs,
|
|
166
168
|
F as STextEditor,
|
|
167
169
|
Lo as STextField,
|
|
168
|
-
|
|
170
|
+
Xr as STextShimmer,
|
|
169
171
|
zo as STextTruncation,
|
|
170
172
|
_o as SThemeProvider,
|
|
171
173
|
or as SThemeSwitch,
|
|
172
174
|
Ro as STip,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
175
|
+
be as STwoPaneLayout,
|
|
176
|
+
_r as STypewriterText,
|
|
177
|
+
ke as SZoomImage,
|
|
176
178
|
Pr as ScrollVelocityContainer,
|
|
177
179
|
vr as ScrollVelocityRow,
|
|
178
180
|
No as SnackbarMessageProvider,
|
|
179
181
|
Ho as StripeTextField,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
182
|
+
ce as bytesToSize,
|
|
183
|
+
Pe as createLogger,
|
|
184
|
+
we as dayjs,
|
|
185
|
+
ee as defaultLanguageOptions,
|
|
186
|
+
ge as formatDatePosted,
|
|
187
|
+
ye as logger,
|
|
188
|
+
Se as useDialog,
|
|
187
189
|
J as useDialogConfirm,
|
|
188
190
|
W as useDialogMessage,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
191
|
+
se as useIsPassedPosition,
|
|
192
|
+
fe as usePopover,
|
|
193
|
+
ie as useScrollAnimation,
|
|
192
194
|
Oo as useSnackbarMessage
|
|
193
195
|
};
|
|
@@ -62,7 +62,6 @@ export interface SAiToolBarInput {
|
|
|
62
62
|
renderInput?: (props: {
|
|
63
63
|
value: SAiToolBarValue;
|
|
64
64
|
onChange: (value: SAiToolBarValue) => void;
|
|
65
|
-
isExpanded: boolean;
|
|
66
65
|
onFocus: () => void;
|
|
67
66
|
onBlur: () => void;
|
|
68
67
|
disabled?: boolean;
|
|
@@ -114,9 +113,8 @@ export interface SAiToolBarProps {
|
|
|
114
113
|
relative?: boolean;
|
|
115
114
|
}
|
|
116
115
|
/**
|
|
117
|
-
* A dynamic floating toolbar for AI tools with
|
|
118
|
-
* Features
|
|
119
|
-
* and portal rendering for proper z-index handling.
|
|
116
|
+
* A dynamic floating toolbar for AI tools with inputs and action buttons.
|
|
117
|
+
* Features multiple input types, built-in validation, and portal rendering for proper z-index handling.
|
|
120
118
|
*/
|
|
121
119
|
export declare const SAiToolBar: {
|
|
122
120
|
({ inputs, onProcess, onReset, onDownload, processing, uploading, inputValues, onInputChange, customActionButtons, hideProcessButton, processButtonDisabled, getInputDisabled, processTooltip, downloadTooltip, resetTooltip, infoTooltip, infoTitle, infoContent, position, relative, }: SAiToolBarProps): React.JSX.Element;
|