@solostylist/ui-kit 1.0.228 → 1.0.229

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.
Files changed (61) hide show
  1. package/dist/{FormControl-BbzvApma.js → FormControl-DsRIRfTs.js} +204 -177
  2. package/dist/{MenuItem-CwAhn4sd.js → MenuItem-IOMcBScJ.js} +2 -2
  3. package/dist/{MenuList-5C2nFAWS.js → MenuList-vtqACjea.js} +1 -1
  4. package/dist/{Modal-Cu5Cgh-q.js → Modal-CLdC2-Th.js} +372 -395
  5. package/dist/Popover-ZneFWo2r.js +333 -0
  6. package/dist/{checkbox-B5GlJYcB.js → checkbox-DC-OoGvh.js} +1 -1
  7. package/dist/s-chat-message/index.js +1 -1
  8. package/dist/s-chat-message/s-chat-message.js +1 -1
  9. package/dist/{s-chat-message-B9JOBvzP.js → s-chat-message-C-d9amiC.js} +2 -2
  10. package/dist/s-code-block/index.js +1 -1
  11. package/dist/s-code-block/s-code-block.js +1 -1
  12. package/dist/{s-code-block-B5k-1Acd.js → s-code-block-DEojINTt.js} +16 -11
  13. package/dist/s-comment-message/index.js +1 -1
  14. package/dist/s-comment-message/s-comment-message.js +1 -1
  15. package/dist/{s-comment-message-BPE5a6p6.js → s-comment-message-Dum0P6de.js} +2 -2
  16. package/dist/s-data-table/index.js +1 -1
  17. package/dist/s-data-table/s-data-table.d.ts +1 -5
  18. package/dist/s-data-table/s-data-table.js +1 -1
  19. package/dist/{s-data-table-D-esZw_W.js → s-data-table-DfGYIIvn.js} +202 -172
  20. package/dist/s-date-picker/index.js +1 -1
  21. package/dist/s-date-picker/picker-action-bar.d.ts +3 -7
  22. package/dist/s-date-picker/picker-action-bar.js +33 -19
  23. package/dist/s-date-picker/s-date-picker.js +1 -1
  24. package/dist/{s-date-picker-CdH1pta6.js → s-date-picker-C06rlE6_.js} +1 -1
  25. package/dist/s-datetime-picker/index.js +1 -1
  26. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  27. package/dist/{s-datetime-picker-BHkWSJKj.js → s-datetime-picker-DnIK-QnQ.js} +24 -24
  28. package/dist/s-error-layout/s-error-layout.d.ts +2 -2
  29. package/dist/s-error-layout/s-error-layout.js +1 -1
  30. package/dist/s-language-switcher/index.js +1 -1
  31. package/dist/s-language-switcher/s-language-switcher.d.ts +2 -5
  32. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  33. package/dist/s-language-switcher-B96dUknj.js +192 -0
  34. package/dist/s-link/s-link.d.ts +2 -2
  35. package/dist/s-link/s-link.js +8 -5
  36. package/dist/s-moving-border/s-moving-border.d.ts +6 -9
  37. package/dist/s-moving-border/s-moving-border.js +73 -81
  38. package/dist/s-pagination/s-pagination.js +2 -2
  39. package/dist/s-review/index.js +1 -1
  40. package/dist/s-review/s-review.js +1 -1
  41. package/dist/{s-review-CRnakHRo.js → s-review-CvTVBxTZ.js} +3 -3
  42. package/dist/s-skeleton/index.d.ts +1 -1
  43. package/dist/s-skeleton/s-skeleton.d.ts +25 -9
  44. package/dist/s-skeleton/s-skeleton.js +59 -63
  45. package/dist/s-text-editor/index.js +1 -1
  46. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  47. package/dist/s-text-editor/s-text-editor.js +1 -1
  48. package/dist/{s-text-editor-toolbar-BEFVwZ-B.js → s-text-editor-toolbar-ChtNCg2A.js} +900 -736
  49. package/dist/s-theme-demo/index.js +1 -1
  50. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  51. package/dist/s-theme-demo-Bnv7lPIh.js +867 -0
  52. package/dist/theme/components/checkbox.d.ts +0 -9
  53. package/dist/theme/components/checkbox.js +1 -1
  54. package/dist/theme/components/components.js +1 -1
  55. package/dist/theme/components/pickers-calendar-header.d.ts +14 -1
  56. package/dist/theme/components/pickers-calendar-header.js +5 -2
  57. package/dist/{useMobilePicker-Dw1IxoE6.js → useMobilePicker-CQA6fYLQ.js} +384 -384
  58. package/package.json +1 -1
  59. package/dist/Menu-Ct_sL_Dg.js +0 -497
  60. package/dist/s-language-switcher-UgSBC_n_.js +0 -199
  61. package/dist/s-theme-demo-Fktc-UlY.js +0 -857
@@ -0,0 +1,333 @@
1
+ import { n as e } from "./chunk-C_CI6nMA.js";
2
+ import { _ as t } from "./createTheme-Bnw5w28O.js";
3
+ import { o as n, r } from "./memoTheme-QMocAblm.js";
4
+ import { t as i } from "./clsx-Bv8WXdlr.js";
5
+ import { t as a } from "./generateUtilityClass-tRYNDrlH.js";
6
+ import { t as o } from "./generateUtilityClasses-XrPHiTcM.js";
7
+ import { t as s } from "./styled-BTDmdi4c.js";
8
+ import { c, p as l, s as u, t as d } from "./Modal-CLdC2-Th.js";
9
+ import { i as f } from "./ButtonBase-BDefit5I.js";
10
+ import { p as ee, s as p, t as m } from "./useSlot-IwEDsR9t.js";
11
+ import { d as h, f as g, p as _ } from "./MenuList-vtqACjea.js";
12
+ import { t as te } from "./mergeSlotProps-slENzJO5.js";
13
+ import { n as v, t as y } from "./Paper-CPC6sMxx.js";
14
+ import * as b from "react";
15
+ import { jsx as x } from "react/jsx-runtime";
16
+ //#region ../../node_modules/@mui/material/Popover/popoverClasses.mjs
17
+ var S = /* @__PURE__ */ e(t(), 1);
18
+ function C(e) {
19
+ return a("MuiPopover", e);
20
+ }
21
+ o("MuiPopover", ["root", "paper"]);
22
+ //#endregion
23
+ //#region ../../node_modules/@mui/material/Popover/Popover.mjs
24
+ function w(e, t) {
25
+ let n = 0;
26
+ return typeof t == "number" ? n = t : t === "center" ? n = e.height / 2 : t === "bottom" && (n = e.height), n;
27
+ }
28
+ function T(e, t) {
29
+ let n = 0;
30
+ return typeof t == "number" ? n = t : t === "center" ? n = e.width / 2 : t === "right" && (n = e.width), n;
31
+ }
32
+ function E(e) {
33
+ return [e.horizontal, e.vertical].map((e) => typeof e == "number" ? `${e}px` : e).join(" ");
34
+ }
35
+ function D(e) {
36
+ return typeof e == "function" ? e() : e;
37
+ }
38
+ var O = (e) => {
39
+ let { classes: t } = e;
40
+ return n({
41
+ root: ["root"],
42
+ paper: ["paper"]
43
+ }, C, t);
44
+ }, k = s(d, {
45
+ name: "MuiPopover",
46
+ slot: "Root"
47
+ })({}), A = s(y, {
48
+ name: "MuiPopover",
49
+ slot: "Paper"
50
+ })({
51
+ position: "absolute",
52
+ overflowY: "auto",
53
+ overflowX: "hidden",
54
+ minWidth: 16,
55
+ minHeight: 16,
56
+ maxWidth: "calc(100% - 32px)",
57
+ maxHeight: "calc(100% - 32px)",
58
+ outline: 0
59
+ }), j = /* @__PURE__ */ b.forwardRef(function(e, t) {
60
+ let n = r({
61
+ props: e,
62
+ name: "MuiPopover"
63
+ }), { action: a, anchorEl: o, anchorOrigin: s = {
64
+ vertical: "top",
65
+ horizontal: "left"
66
+ }, anchorPosition: l, anchorReference: d = "anchorEl", children: f, className: p, container: v, disableAutoFocus: y = !1, elevation: S = 8, marginThreshold: C = 16, open: j, slots: M = {}, slotProps: N = {}, transformOrigin: P = {
67
+ vertical: "top",
68
+ horizontal: "left"
69
+ }, transitionDuration: F = "auto", disableScrollLock: I = !1, ...L } = n, R = b.useRef(), z = {
70
+ ...n,
71
+ anchorOrigin: s,
72
+ anchorReference: d,
73
+ elevation: S,
74
+ marginThreshold: C,
75
+ transformOrigin: P,
76
+ transitionDuration: F
77
+ }, B = O(z), V = b.useCallback(() => {
78
+ if (d === "anchorPosition") return process.env.NODE_ENV !== "production" && (l || console.error("MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference=\"anchorPosition\" />.")), l;
79
+ let e = D(o), t = e && e.nodeType === 1 ? e : g(R.current).body, n = t.getBoundingClientRect();
80
+ if (process.env.NODE_ENV !== "production") {
81
+ let e = t.getBoundingClientRect();
82
+ c() && e.top === 0 && e.left === 0 && e.right === 0 && e.bottom === 0 && console.warn([
83
+ "MUI: The `anchorEl` prop provided to the component is invalid.",
84
+ "The anchor element should be part of the document layout.",
85
+ "Make sure the element is present in the document or that it's not display none."
86
+ ].join("\n"));
87
+ }
88
+ return {
89
+ top: n.top + w(n, s.vertical),
90
+ left: n.left + T(n, s.horizontal)
91
+ };
92
+ }, [
93
+ o,
94
+ s.horizontal,
95
+ s.vertical,
96
+ l,
97
+ d
98
+ ]), H = b.useCallback((e) => ({
99
+ vertical: w(e, P.vertical),
100
+ horizontal: T(e, P.horizontal)
101
+ }), [P.horizontal, P.vertical]), U = b.useCallback((e) => {
102
+ let t = {
103
+ width: e.offsetWidth,
104
+ height: e.offsetHeight
105
+ }, n = H(t);
106
+ if (d === "none") return {
107
+ top: null,
108
+ left: null,
109
+ transformOrigin: E(n)
110
+ };
111
+ let r = V(), i = r.top - n.vertical, a = r.left - n.horizontal, s = i + t.height, c = a + t.width, l = h(D(o)), u = l.innerHeight - C, f = l.innerWidth - C;
112
+ if (C != null && i < C) {
113
+ let e = i - C;
114
+ i -= e, n.vertical += e;
115
+ } else if (C != null && s > u) {
116
+ let e = s - u;
117
+ i -= e, n.vertical += e;
118
+ }
119
+ if (process.env.NODE_ENV !== "production" && t.height > u && t.height && u && console.error([
120
+ "MUI: The popover component is too tall.",
121
+ `Some part of it can not be seen on the screen (${t.height - u}px).`,
122
+ "Please consider adding a `max-height` to improve the user-experience."
123
+ ].join("\n")), C != null && a < C) {
124
+ let e = a - C;
125
+ a -= e, n.horizontal += e;
126
+ } else if (c > f) {
127
+ let e = c - f;
128
+ a -= e, n.horizontal += e;
129
+ }
130
+ return {
131
+ top: `${Math.round(i)}px`,
132
+ left: `${Math.round(a)}px`,
133
+ transformOrigin: E(n)
134
+ };
135
+ }, [
136
+ o,
137
+ d,
138
+ V,
139
+ H,
140
+ C
141
+ ]), [W, G] = b.useState(j), K = b.useCallback(() => {
142
+ let e = R.current;
143
+ if (!e) return;
144
+ let t = U(e);
145
+ t.top != null && e.style.setProperty("top", t.top), t.left != null && (e.style.left = t.left), e.style.transformOrigin = t.transformOrigin, G(!0);
146
+ }, [U]);
147
+ b.useEffect(() => (I && window.addEventListener("scroll", K), () => window.removeEventListener("scroll", K)), [
148
+ o,
149
+ I,
150
+ K
151
+ ]);
152
+ let q = () => {
153
+ K();
154
+ }, J = () => {
155
+ G(!1);
156
+ };
157
+ b.useEffect(() => {
158
+ j && K();
159
+ }), b.useImperativeHandle(a, () => j ? { updatePosition: () => {
160
+ K();
161
+ } } : null, [j, K]), b.useEffect(() => {
162
+ if (!j) return;
163
+ let e = _(() => {
164
+ K();
165
+ }), t = h(D(o));
166
+ return t.addEventListener("resize", e), () => {
167
+ e.clear(), t.removeEventListener("resize", e);
168
+ };
169
+ }, [
170
+ o,
171
+ j,
172
+ K
173
+ ]);
174
+ let Y = F, X = {
175
+ slots: M,
176
+ slotProps: N
177
+ }, [Z, ne] = m("transition", {
178
+ elementType: u,
179
+ externalForwardedProps: X,
180
+ ownerState: z,
181
+ getSlotProps: (e) => ({
182
+ ...e,
183
+ onEntering: (t, n) => {
184
+ e.onEntering?.(t, n), q();
185
+ },
186
+ onExited: (t) => {
187
+ e.onExited?.(t), J();
188
+ }
189
+ }),
190
+ additionalProps: {
191
+ appear: !0,
192
+ in: j
193
+ }
194
+ });
195
+ F === "auto" && !Z.muiSupportAuto && (Y = void 0);
196
+ let re = v || (o ? g(D(o)).body : void 0), [Q, { slots: $, slotProps: ie, ...ae }] = m("root", {
197
+ ref: t,
198
+ elementType: k,
199
+ externalForwardedProps: {
200
+ ...X,
201
+ ...L
202
+ },
203
+ shouldForwardComponentProp: !0,
204
+ additionalProps: {
205
+ slots: { backdrop: M.backdrop },
206
+ slotProps: { backdrop: te(typeof N.backdrop == "function" ? N.backdrop(z) : N.backdrop, { invisible: !0 }) },
207
+ container: re,
208
+ open: j
209
+ },
210
+ ownerState: z,
211
+ className: i(B.root, p)
212
+ }), [oe, se] = m("paper", {
213
+ ref: R,
214
+ className: B.paper,
215
+ elementType: A,
216
+ externalForwardedProps: X,
217
+ shouldForwardComponentProp: !0,
218
+ additionalProps: {
219
+ elevation: S,
220
+ style: W ? void 0 : { opacity: 0 }
221
+ },
222
+ ownerState: z
223
+ });
224
+ return /* @__PURE__ */ x(Q, {
225
+ ...ae,
226
+ ...!ee(Q) && {
227
+ slots: $,
228
+ slotProps: ie,
229
+ disableAutoFocus: y,
230
+ disableScrollLock: I
231
+ },
232
+ children: /* @__PURE__ */ x(Z, {
233
+ ...ne,
234
+ timeout: Y,
235
+ children: /* @__PURE__ */ x(oe, {
236
+ ...se,
237
+ children: f
238
+ })
239
+ })
240
+ });
241
+ });
242
+ process.env.NODE_ENV !== "production" && (j.propTypes = {
243
+ action: f,
244
+ anchorEl: p(S.default.oneOfType([l, S.default.func]), (e) => {
245
+ if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) {
246
+ let t = D(e.anchorEl);
247
+ if (t && t.nodeType === 1) {
248
+ let e = t.getBoundingClientRect();
249
+ if (process.env.NODE_ENV !== "production" && c() && e.top === 0 && e.left === 0 && e.right === 0 && e.bottom === 0) return Error([
250
+ "MUI: The `anchorEl` prop provided to the component is invalid.",
251
+ "The anchor element should be part of the document layout.",
252
+ "Make sure the element is present in the document or that it's not display none."
253
+ ].join("\n"));
254
+ } else return Error(["MUI: The `anchorEl` prop provided to the component is invalid.", `It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join("\n"));
255
+ }
256
+ return null;
257
+ }),
258
+ anchorOrigin: S.default.shape({
259
+ horizontal: S.default.oneOfType([S.default.oneOf([
260
+ "center",
261
+ "left",
262
+ "right"
263
+ ]), S.default.number]).isRequired,
264
+ vertical: S.default.oneOfType([S.default.oneOf([
265
+ "bottom",
266
+ "center",
267
+ "top"
268
+ ]), S.default.number]).isRequired
269
+ }),
270
+ anchorPosition: S.default.shape({
271
+ left: S.default.number.isRequired,
272
+ top: S.default.number.isRequired
273
+ }),
274
+ anchorReference: S.default.oneOf([
275
+ "anchorEl",
276
+ "anchorPosition",
277
+ "none"
278
+ ]),
279
+ children: S.default.node,
280
+ classes: S.default.object,
281
+ className: S.default.string,
282
+ container: S.default.oneOfType([l, S.default.func]),
283
+ disableAutoFocus: S.default.bool,
284
+ disableScrollLock: S.default.bool,
285
+ elevation: v,
286
+ marginThreshold: S.default.number,
287
+ onClose: S.default.func,
288
+ open: S.default.bool.isRequired,
289
+ slotProps: S.default.shape({
290
+ backdrop: S.default.oneOfType([S.default.func, S.default.object]),
291
+ paper: S.default.oneOfType([S.default.func, S.default.object]),
292
+ root: S.default.oneOfType([S.default.func, S.default.object]),
293
+ transition: S.default.oneOfType([S.default.func, S.default.object])
294
+ }),
295
+ slots: S.default.shape({
296
+ backdrop: S.default.elementType,
297
+ paper: S.default.elementType,
298
+ root: S.default.elementType,
299
+ transition: S.default.elementType
300
+ }),
301
+ sx: S.default.oneOfType([
302
+ S.default.arrayOf(S.default.oneOfType([
303
+ S.default.func,
304
+ S.default.object,
305
+ S.default.bool
306
+ ])),
307
+ S.default.func,
308
+ S.default.object
309
+ ]),
310
+ transformOrigin: S.default.shape({
311
+ horizontal: S.default.oneOfType([S.default.oneOf([
312
+ "center",
313
+ "left",
314
+ "right"
315
+ ]), S.default.number]).isRequired,
316
+ vertical: S.default.oneOfType([S.default.oneOf([
317
+ "bottom",
318
+ "center",
319
+ "top"
320
+ ]), S.default.number]).isRequired
321
+ }),
322
+ transitionDuration: S.default.oneOfType([
323
+ S.default.oneOf(["auto"]),
324
+ S.default.number,
325
+ S.default.shape({
326
+ appear: S.default.number,
327
+ enter: S.default.number,
328
+ exit: S.default.number
329
+ })
330
+ ])
331
+ });
332
+ //#endregion
333
+ export { A as n, j as t };
@@ -34,7 +34,7 @@ var o = r(/* @__PURE__ */ a("path", { d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1
34
34
  outlineOffset: "2px",
35
35
  borderColor: n[400]
36
36
  },
37
- "&.Mui-checked": {
37
+ [`&.Mui-checked, &.${i.indeterminate}`]: {
38
38
  color: "white",
39
39
  backgroundColor: n[500],
40
40
  borderColor: n[500],
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chat-message-B9JOBvzP.js";
1
+ import { t as e } from "../s-chat-message-C-d9amiC.js";
2
2
  export { e as SChatMessage, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chat-message-B9JOBvzP.js";
1
+ import { t as e } from "../s-chat-message-C-d9amiC.js";
2
2
  export { e as SChatMessage, e as default };
@@ -22,7 +22,7 @@ var h = n(/* @__PURE__ */ l("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.8
22
22
  }, ...Array.isArray(a) ? a : [a]],
23
23
  children: [
24
24
  t && !e && /* @__PURE__ */ l(o, {
25
- component: "rounded-avatar",
25
+ variant: "circular",
26
26
  width: 36,
27
27
  height: 36
28
28
  }),
@@ -75,7 +75,7 @@ var h = n(/* @__PURE__ */ l("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.8
75
75
  ]
76
76
  }),
77
77
  t && e && /* @__PURE__ */ l(o, {
78
- component: "rounded-avatar",
78
+ variant: "circular",
79
79
  width: 36,
80
80
  height: 36
81
81
  })
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-code-block-B5k-1Acd.js";
1
+ import { t as e } from "../s-code-block-DEojINTt.js";
2
2
  export { e as SCodeBlock, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-code-block-B5k-1Acd.js";
1
+ import { t as e } from "../s-code-block-DEojINTt.js";
2
2
  export { e as SCodeBlock, e as default };
@@ -1,7 +1,8 @@
1
1
  import { n as e, t } from "./ContentCopy-BMQ2JTA0.js";
2
- import { useMemo as n, useState as r } from "react";
3
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
- import { Box as o, IconButton as s, useColorScheme as c } from "@mui/material";
2
+ import { SIconButton as n } from "./s-icon-button/s-icon-button.js";
3
+ import { useMemo as r, useState as i } from "react";
4
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
5
+ import { Box as s, useColorScheme as c } from "@mui/material";
5
6
  import { Prism as l } from "react-syntax-highlighter";
6
7
  //#region ../../node_modules/react-syntax-highlighter/dist/esm/styles/prism/one-dark.js
7
8
  var u = {
@@ -561,7 +562,7 @@ var u = {
561
562
  ".prism-previewer-easing.prism-previewer-easing path": { stroke: "hsl(230, 8%, 24%)" },
562
563
  ".prism-previewer-easing.prism-previewer-easing line": { stroke: "hsl(230, 8%, 24%)" }
563
564
  }, f = ({ code: f, language: p = "typescript", showLineNumbers: m = !0, showCopyButton: h = !0, customStyle: g, onCopied: _ }) => {
564
- let [v, y] = r(!1), { mode: b } = c(), x = n(() => {
565
+ let [v, y] = i(!1), { mode: b } = c(), x = r(() => {
565
566
  let e = b === "dark" ? u : d;
566
567
  return {
567
568
  ...e,
@@ -579,12 +580,13 @@ var u = {
579
580
  }
580
581
  };
581
582
  }, [b]);
582
- return f ? /* @__PURE__ */ a(o, {
583
+ return f ? /* @__PURE__ */ o(s, {
583
584
  sx: {
584
585
  position: "relative",
585
586
  width: "100%"
586
587
  },
587
- children: [h && /* @__PURE__ */ i(s, {
588
+ children: [h && /* @__PURE__ */ a(n, {
589
+ "aria-label": v ? "Code copied" : "Copy code",
588
590
  onClick: async () => {
589
591
  if (f) try {
590
592
  await navigator.clipboard.writeText(f), y(!0), setTimeout(() => y(!1), 2e3), _?.();
@@ -594,19 +596,22 @@ var u = {
594
596
  },
595
597
  sx: {
596
598
  position: "absolute",
597
- top: 8,
598
- right: 8,
599
+ top: "50%",
600
+ right: 16,
601
+ transform: "translateY(-50%)",
599
602
  zIndex: 1,
600
603
  color: v ? "success.main" : "text.primary",
601
- backdropFilter: "blur(8px)"
604
+ backdropFilter: "blur(8px)",
605
+ "&:active": { backgroundColor: "action.selected" }
602
606
  },
603
- children: i(v ? e : t, {})
604
- }), /* @__PURE__ */ i(l, {
607
+ children: a(v ? e : t, {})
608
+ }), /* @__PURE__ */ a(l, {
605
609
  language: p,
606
610
  style: x,
607
611
  showLineNumbers: m,
608
612
  customStyle: {
609
613
  margin: 0,
614
+ padding: 16,
610
615
  borderRadius: "var(--s-shape-borderRadius)",
611
616
  fontSize: "0.875rem",
612
617
  backgroundColor: "var(--s-palette-background-paper)",
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-comment-message-BPE5a6p6.js";
1
+ import { t as e } from "../s-comment-message-Dum0P6de.js";
2
2
  export { e as SCommentMessage, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-comment-message-BPE5a6p6.js";
1
+ import { t as e } from "../s-comment-message-Dum0P6de.js";
2
2
  export { e as SCommentMessage, e as default };
@@ -31,7 +31,7 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
31
31
  spacing: 2,
32
32
  sx: { alignItems: "flex-start" },
33
33
  children: [/* @__PURE__ */ l(i, {
34
- component: "rounded-avatar",
34
+ variant: "circular",
35
35
  width: N,
36
36
  height: N
37
37
  }), /* @__PURE__ */ u(d, {
@@ -71,7 +71,7 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
71
71
  spacing: 1,
72
72
  sx: { alignItems: "center" },
73
73
  children: [
74
- /* @__PURE__ */ l(i, { component: "icon-button" }),
74
+ /* @__PURE__ */ l(i, { preset: "icon-button" }),
75
75
  /* @__PURE__ */ l(i, {
76
76
  width: 20,
77
77
  height: 16
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-data-table-D-esZw_W.js";
1
+ import { t as e } from "../s-data-table-DfGYIIvn.js";
2
2
  export { e as SDataTable, e as default };
@@ -47,11 +47,7 @@ export interface SDataTableProps<TRowModel> extends Omit<TableProps, 'onClick'>
47
47
  onSelectAll?: (event: React.ChangeEvent) => void;
48
48
  /** Handler for selecting individual rows */
49
49
  onSelectOne?: (event: React.ChangeEvent, row: TRowModel) => void;
50
- /**
51
- * Handler invoked when a sortable column header is clicked. Receives the
52
- * column's sort key and the next direction. Sorting is controlled: the
53
- * parent is responsible for reordering `rows` in response.
54
- */
50
+ /** Fired when a sortable header is clicked with the sort key and next direction; parent reorders `rows` */
55
51
  onSort?: (sortKey: SortKey, direction: SortDirection) => void;
56
52
  /** Array of data objects to display in table rows */
57
53
  rows: TRowModel[];
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-data-table-D-esZw_W.js";
1
+ import { t as e } from "../s-data-table-DfGYIIvn.js";
2
2
  export { e as SDataTable, e as default };