@solostylist/ui-kit 1.0.196 → 1.0.198

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 (108) hide show
  1. package/dist/{ArrowUpward-JWPHrR6I.js → ArrowUpward-D8eqD-si.js} +1 -1
  2. package/dist/{Box-p3bpOtdn.js → Box-BkXoTbe8.js} +3 -3
  3. package/dist/{ButtonBase-PbSTzuUP.js → ButtonBase-D73M0QY5.js} +7 -7
  4. package/dist/{ChevronLeft-BJjuFNNQ.js → ChevronLeft-BmgmPHp9.js} +1 -1
  5. package/dist/{ChevronRight-5ZX3FodP.js → ChevronRight-DbWSr8yz.js} +1 -1
  6. package/dist/{Close-C-pCw-CD.js → Close-lHCUMitI.js} +1 -1
  7. package/dist/{ContentCopy-CNxsEhmq.js → ContentCopy-D4SuJd86.js} +1 -1
  8. package/dist/{DefaultPropsProvider-2MEHB2yv.js → DefaultPropsProvider-DPuuPIbS.js} +2 -2
  9. package/dist/{Download-D97XSAig.js → Download-BoRQUwCf.js} +1 -1
  10. package/dist/{ExpandMore-CTZrSZlF.js → ExpandMore-C7yRQv1-.js} +1 -1
  11. package/dist/{Favorite-Cvjg7GqN.js → Favorite-Bz_HcMgN.js} +1 -1
  12. package/dist/{Menu-_ZW9WiF2.js → Menu-GVFDMHCN.js} +137 -131
  13. package/dist/{MenuItem-DTapLhin.js → MenuItem-2wG8I2HO.js} +5 -5
  14. package/dist/{Paper-5nSdRRBA.js → Paper-CR019bki.js} +6 -6
  15. package/dist/{Select-J5gDqfEk.js → Select-80JhW337.js} +7 -7
  16. package/dist/{Stack-BlwLEm6H.js → Stack-Dfjnuorw.js} +5 -5
  17. package/dist/{Typography-Cum5_Ehu.js → Typography-PcmlIqm1.js} +4 -4
  18. package/dist/assets/s-overlay-scrollbar.css +1 -1
  19. package/dist/{createSvgIcon-DTNHY3_v.js → createSvgIcon-BkbeLOhM.js} +3 -3
  20. package/dist/{createTheme-CIXJrNxb.js → createTheme-DgoJyWM-.js} +874 -871
  21. package/dist/defaultTheme-CulFxfLR.js +5 -0
  22. package/dist/{extendSxProp-CyoueGTe.js → extendSxProp-BJEIxcAx.js} +1 -1
  23. package/dist/{index-8LcCMmwl.js → index-DtGYsHSv.js} +4 -4
  24. package/dist/s-accordion/s-accordion.js +89 -89
  25. package/dist/s-action-overlay/s-action-overlay.js +7 -7
  26. package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +44 -0
  27. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +241 -272
  28. package/dist/s-avatar/s-avatar.js +2 -2
  29. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  30. package/dist/s-carousel/s-carousel.d.ts +4 -4
  31. package/dist/s-carousel/s-carousel.js +4 -4
  32. package/dist/s-chat-input/s-chat-input.js +4 -4
  33. package/dist/s-chat-message/s-chat-message.js +135 -124
  34. package/dist/s-chips/s-chips.js +35 -35
  35. package/dist/s-code-block/s-code-block.js +1 -1
  36. package/dist/s-comment-message/s-comment-message.js +5 -5
  37. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  38. package/dist/s-countdown/s-count-down.d.ts +15 -10
  39. package/dist/s-countdown/s-count-down.js +84 -101
  40. package/dist/s-data-table/s-data-table.js +75 -76
  41. package/dist/s-date-picker/s-date-picker.js +43 -47
  42. package/dist/s-datetime-picker/s-datetime-picker.js +782 -782
  43. package/dist/s-dialog/s-dialog.js +1 -1
  44. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  45. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  46. package/dist/s-empty/s-empty.js +1 -1
  47. package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
  48. package/dist/s-file-icon/s-file-icon.js +15 -15
  49. package/dist/s-flex-box/s-flex-box.js +1 -1
  50. package/dist/s-gallery/s-gallery.js +1 -1
  51. package/dist/s-gradient-icon/s-gradient-icon.js +5 -5
  52. package/dist/s-image-comparison/s-image-comparison.js +3 -3
  53. package/dist/s-image-modal/s-image-modal.js +7 -7
  54. package/dist/s-label/s-label.d.ts +1 -1
  55. package/dist/s-label/s-label.js +1 -1
  56. package/dist/s-language-switcher/s-language-switcher.js +8 -8
  57. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  58. package/dist/s-moving-border/s-moving-border.d.ts +5 -5
  59. package/dist/s-multi-select/s-multi-select.js +3 -3
  60. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +6 -6
  61. package/dist/s-pixel-reveal/s-pixel-reveal.js +76 -71
  62. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +2 -2
  63. package/dist/s-review/s-review.d.ts +3 -2
  64. package/dist/s-review/s-review.js +19 -19
  65. package/dist/s-scroll-to-top/s-scroll-to-top.js +5 -5
  66. package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +1 -1
  67. package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +3 -3
  68. package/dist/s-scroll-velocity/scroll-velocity-row.js +2 -2
  69. package/dist/s-select/s-select.d.ts +3 -0
  70. package/dist/s-select/s-select.js +60 -72
  71. package/dist/s-select-list/s-select-list.js +1 -1
  72. package/dist/s-stripe/s-stripe-cvc.d.ts +1 -1
  73. package/dist/s-stripe/s-stripe-expiry.d.ts +1 -1
  74. package/dist/s-stripe/s-stripe-number.d.ts +1 -1
  75. package/dist/s-stripe/stripe-input.d.ts +1 -1
  76. package/dist/s-text-editor/s-text-editor-toolbar.js +64 -60
  77. package/dist/s-text-editor/s-text-editor.js +1 -1
  78. package/dist/s-text-field/s-text-field.js +1 -1
  79. package/dist/s-text-shimmer/s-text-shimmer.js +3 -3
  80. package/dist/s-theme-demo/s-theme-demo.js +2 -2
  81. package/dist/s-theme-provider/s-theme-provider.d.ts +1 -1
  82. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  83. package/dist/s-tip/s-tip.js +3 -3
  84. package/dist/{styled-BR6UL29H.js → styled-8Y5KoVix.js} +2 -2
  85. package/dist/theme/components/avatar.js +1 -1
  86. package/dist/theme/components/button.d.ts +2 -2
  87. package/dist/theme/components/button.js +1 -1
  88. package/dist/theme/components/chip.d.ts +2 -2
  89. package/dist/theme/components/chip.js +1 -1
  90. package/dist/theme/components/icon-button.d.ts +2 -2
  91. package/dist/theme/components/popover.js +2 -2
  92. package/dist/theme/components/skeleton.js +1 -1
  93. package/dist/theme/components/tooltip.js +5 -5
  94. package/dist/theme/customizations/data-display.js +12 -12
  95. package/dist/theme/customizations/feedback.js +2 -2
  96. package/dist/theme/customizations/inputs.js +12 -12
  97. package/dist/theme/customizations/navigation.js +28 -28
  98. package/dist/theme/customizations/surfaces.js +11 -11
  99. package/dist/theme/theme-primitives.js +1 -1
  100. package/dist/{useMobilePicker-C0pYjskU.js → useMobilePicker-DVnEuXv1.js} +3936 -3653
  101. package/dist/{useTheme-DSvhq4Np.js → useTheme-CWPkv7g3.js} +1 -1
  102. package/dist/{useThemeProps-C-oV4Fbz.js → useThemeProps-XYgXGzjS.js} +1 -1
  103. package/dist/utils/logger.d.ts +1 -1
  104. package/dist/utils-CHdpkEZx.js +33 -0
  105. package/dist/{warning-BZ61Y8gI.js → warning-Ba-7BBAN.js} +3 -3
  106. package/package.json +59 -59
  107. package/dist/defaultTheme-DLue8Fr1.js +0 -5
  108. package/dist/utils-DJIrqgo5.js +0 -18
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "../jsx-runtime-tc70JA_2.js";
2
2
  import * as f from "react";
3
- import { C as j } from "../Close-C-pCw-CD.js";
3
+ import { C as j } from "../Close-lHCUMitI.js";
4
4
  import { Dialog as m, DialogTitle as h, Stack as g, Typography as n, IconButton as u, DialogContent as y, DialogActions as D } from "@mui/material";
5
5
  const w = f.forwardRef(
6
6
  ({
@@ -1,9 +1,9 @@
1
1
  import { j as o } from "../jsx-runtime-tc70JA_2.js";
2
2
  import * as r from "react";
3
- import { C as p } from "../Close-C-pCw-CD.js";
3
+ import { C as p } from "../Close-lHCUMitI.js";
4
4
  import { Dialog as j, DialogTitle as D, Stack as v, IconButton as y, DialogContent as b, DialogActions as k, Button as d } from "@mui/material";
5
5
  import { useDialog as w } from "../hooks/use-dialog.js";
6
- import { T as m } from "../Typography-Cum5_Ehu.js";
6
+ import { T as m } from "../Typography-PcmlIqm1.js";
7
7
  const f = ({
8
8
  title: e,
9
9
  content: n,
@@ -1,9 +1,9 @@
1
1
  import { j as o } from "../jsx-runtime-tc70JA_2.js";
2
2
  import * as t from "react";
3
- import { C as p } from "../Close-C-pCw-CD.js";
3
+ import { C as p } from "../Close-lHCUMitI.js";
4
4
  import { Dialog as u, DialogTitle as m, Stack as j, IconButton as C, DialogContent as f, DialogActions as D, Button as M } from "@mui/material";
5
5
  import { useDialog as k } from "../hooks/use-dialog.js";
6
- import { T as c } from "../Typography-Cum5_Ehu.js";
6
+ import { T as c } from "../Typography-PcmlIqm1.js";
7
7
  const d = ({
8
8
  title: s,
9
9
  content: e,
@@ -1,6 +1,6 @@
1
1
  import { j as t } from "../jsx-runtime-tc70JA_2.js";
2
2
  import { Typography as o } from "@mui/material";
3
- const r = ({ title: a }) => /* @__PURE__ */ t.jsx(o, { variant: "body2", color: "text.secondary", my: 3, children: a || "No data available." });
3
+ const r = ({ title: a }) => /* @__PURE__ */ t.jsx(o, { variant: "body2", color: "text.secondary", my: 3, children: a ?? "No data available." });
4
4
  r.displayName = "SEmpty";
5
5
  export {
6
6
  r as SEmpty,
@@ -1,14 +1,14 @@
1
1
  import { j as o } from "../jsx-runtime-tc70JA_2.js";
2
2
  import * as g from "react";
3
- import { c as l } from "../createSvgIcon-DTNHY3_v.js";
3
+ import { c as l } from "../createSvgIcon-BkbeLOhM.js";
4
4
  import { Avatar as v, Tooltip as b, IconButton as y, Button as C } from "@mui/material";
5
5
  import { useDropzone as I } from "react-dropzone";
6
6
  import { SFileIcon as S } from "../s-file-icon/s-file-icon.js";
7
7
  import { SForm as z } from "../s-form/s-form.js";
8
8
  import { bytesToSize as R } from "../utils/bytes-to-size.js";
9
- import { B as s } from "../Box-p3bpOtdn.js";
10
- import { S as e } from "../Stack-BlwLEm6H.js";
11
- import { T as t } from "../Typography-Cum5_Ehu.js";
9
+ import { B as s } from "../Box-BkXoTbe8.js";
10
+ import { S as e } from "../Stack-Dfjnuorw.js";
11
+ import { T as t } from "../Typography-PcmlIqm1.js";
12
12
  const k = l(/* @__PURE__ */ o.jsx("path", {
13
13
  d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
14
14
  }), "CloseOutlined"), D = l(/* @__PURE__ */ o.jsx("path", {
@@ -1,7 +1,7 @@
1
1
  import { j as h } from "../jsx-runtime-tc70JA_2.js";
2
- import { B as t } from "../Box-p3bpOtdn.js";
2
+ import { B as t } from "../Box-BkXoTbe8.js";
3
3
  const a = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewBox: "0 0 41 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4
- /* @__PURE__ */ h.jsxs("g", { "clip-path": "url(#a)", children: [
4
+ /* @__PURE__ */ h.jsxs("g", { clipPath: "url(#a)", children: [
5
5
  /* @__PURE__ */ h.jsx(
6
6
  "path",
7
7
  {
@@ -41,7 +41,7 @@ const a = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewB
41
41
  ] }),
42
42
  /* @__PURE__ */ h.jsx("defs", { children: /* @__PURE__ */ h.jsx("clipPath", { id: "a", children: /* @__PURE__ */ h.jsx("path", { fill: "#fff", d: "M.002 0h40v48h-40z" }) }) })
43
43
  ] }), v = () => /* @__PURE__ */ h.jsxs("svg", { width: "40", height: "48", viewBox: "0 0 40 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
44
- /* @__PURE__ */ h.jsxs("g", { "clip-path": "url(#a)", children: [
44
+ /* @__PURE__ */ h.jsxs("g", { clipPath: "url(#a)", children: [
45
45
  /* @__PURE__ */ h.jsx(
46
46
  "path",
47
47
  {
@@ -81,7 +81,7 @@ const a = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewB
81
81
  ] }),
82
82
  /* @__PURE__ */ h.jsx("defs", { children: /* @__PURE__ */ h.jsx("clipPath", { id: "a", children: /* @__PURE__ */ h.jsx("path", { fill: "#fff", d: "M0 0h40v48H0z" }) }) })
83
83
  ] }), c = () => /* @__PURE__ */ h.jsxs("svg", { width: "40", height: "48", viewBox: "0 0 40 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
84
- /* @__PURE__ */ h.jsxs("g", { "clip-path": "url(#a)", children: [
84
+ /* @__PURE__ */ h.jsxs("g", { clipPath: "url(#a)", children: [
85
85
  /* @__PURE__ */ h.jsx(
86
86
  "path",
87
87
  {
@@ -114,7 +114,7 @@ const a = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewB
114
114
  ] }),
115
115
  /* @__PURE__ */ h.jsx("defs", { children: /* @__PURE__ */ h.jsx("clipPath", { id: "a", children: /* @__PURE__ */ h.jsx("path", { fill: "#fff", d: "M0 0h39.998v48H0z" }) }) })
116
116
  ] }), d = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewBox: "0 0 41 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
117
- /* @__PURE__ */ h.jsxs("g", { "clip-path": "url(#clip0_11823_127803)", children: [
117
+ /* @__PURE__ */ h.jsxs("g", { clipPath: "url(#clip0_11823_127803)", children: [
118
118
  /* @__PURE__ */ h.jsx("g", { opacity: "0.3", children: /* @__PURE__ */ h.jsx(
119
119
  "path",
120
120
  {
@@ -179,8 +179,8 @@ const a = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewB
179
179
  /* @__PURE__ */ h.jsx("path", { d: "M24.6985 27.1121H21.9485V29.8621H24.6985V27.1121Z", fill: "#005FAD" })
180
180
  ] }),
181
181
  /* @__PURE__ */ h.jsx("defs", { children: /* @__PURE__ */ h.jsx("clipPath", { id: "clip0_11823_127803", children: /* @__PURE__ */ h.jsx("rect", { width: "40", height: "48", fill: "white", transform: "translate(0.00244141)" }) }) })
182
- ] }), p = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewBox: "0 0 41 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
183
- /* @__PURE__ */ h.jsxs("g", { "clip-path": "url(#a)", children: [
182
+ ] }), f = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewBox: "0 0 41 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
183
+ /* @__PURE__ */ h.jsxs("g", { clipPath: "url(#a)", children: [
184
184
  /* @__PURE__ */ h.jsx(
185
185
  "path",
186
186
  {
@@ -227,7 +227,7 @@ const a = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewB
227
227
  ] }),
228
228
  /* @__PURE__ */ h.jsx("defs", { children: /* @__PURE__ */ h.jsx("clipPath", { id: "a", children: /* @__PURE__ */ h.jsx("path", { fill: "#fff", d: "M0 0h40.002v48H0z" }) }) })
229
229
  ] }), i = () => /* @__PURE__ */ h.jsxs("svg", { width: "40", height: "48", viewBox: "0 0 40 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
230
- /* @__PURE__ */ h.jsxs("g", { "clip-path": "url(#a)", fill: "#6366F1", children: [
230
+ /* @__PURE__ */ h.jsxs("g", { clipPath: "url(#a)", fill: "#6366F1", children: [
231
231
  /* @__PURE__ */ h.jsx(
232
232
  "path",
233
233
  {
@@ -238,15 +238,15 @@ const a = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewB
238
238
  /* @__PURE__ */ h.jsx("path", { d: "M35.64 12.402h-4.725a3.942 3.942 0 0 1-3.939-3.937V3l8.663 9.402Zm-6.457 6.582H9.473a.716.716 0 0 1 0-1.43h19.71a.716.716 0 0 1 0 1.43Zm0 4.271H9.473a.716.716 0 0 1 0-1.43h19.71a.716.716 0 0 1 0 1.43Zm0 4.27H9.473a.716.716 0 0 1 0-1.43h19.71a.715.715 0 0 1 0 1.43Zm0 4.269H9.473a.714.714 0 1 1 0-1.43h19.71a.716.716 0 0 1 0 1.43Z" })
239
239
  ] }),
240
240
  /* @__PURE__ */ h.jsx("defs", { children: /* @__PURE__ */ h.jsx("clipPath", { id: "a", children: /* @__PURE__ */ h.jsx("path", { fill: "#fff", d: "M4.25 3h31.5v42H4.25z" }) }) })
241
- ] }), f = {
241
+ ] }), x = {
242
242
  jpeg: a,
243
243
  jpg: a,
244
244
  mp4: v,
245
245
  pdf: c,
246
246
  png: d,
247
- svg: p
248
- }, x = ({ extension: l }) => {
249
- const s = l ? f[l.toLowerCase()] ?? i : i;
247
+ svg: f
248
+ }, Z = ({ extension: l }) => {
249
+ const s = l ? x[l.toLowerCase()] ?? i : i;
250
250
  return /* @__PURE__ */ h.jsx(
251
251
  t,
252
252
  {
@@ -266,8 +266,8 @@ const a = () => /* @__PURE__ */ h.jsxs("svg", { width: "41", height: "48", viewB
266
266
  }
267
267
  );
268
268
  };
269
- x.displayName = "SFileIcon";
269
+ Z.displayName = "SFileIcon";
270
270
  export {
271
- x as SFileIcon,
272
- x as default
271
+ Z as SFileIcon,
272
+ Z as default
273
273
  };
@@ -1,5 +1,5 @@
1
1
  import { j as s } from "../jsx-runtime-tc70JA_2.js";
2
- import { B as e } from "../Box-p3bpOtdn.js";
2
+ import { B as e } from "../Box-BkXoTbe8.js";
3
3
  const r = ({ children: o, ...x }) => /* @__PURE__ */ s.jsx(e, { display: "flex", ...x, children: o });
4
4
  r.displayName = "SFlexBox";
5
5
  export {
@@ -104,7 +104,7 @@ const A = ({ item: s, sx: o, onClick: i }) => {
104
104
  F,
105
105
  {
106
106
  src: s.url,
107
- alt: s.title || "",
107
+ alt: s.title ?? "",
108
108
  width: "100%",
109
109
  height: "100%",
110
110
  style: {
@@ -16,7 +16,7 @@ const $ = ({
16
16
  fallbackColor: j,
17
17
  ...d
18
18
  }) => {
19
- const g = b(), t = h || `gradient-${g}`, s = {
19
+ const g = b(), t = h ?? `gradient-${g}`, s = {
20
20
  "blue-cyan": { start: "#1469be", end: "#43ecff" },
21
21
  "purple-pink": { start: "#8b5cf6", end: "#ec4899" },
22
22
  "orange-red": { start: "#f97316", end: "#ef4444" },
@@ -26,22 +26,22 @@ const $ = ({
26
26
  start: o.startColor,
27
27
  end: o.endColor,
28
28
  middle: o.middleColor,
29
- middlePos: o.middlePosition || 0.5
29
+ middlePos: o.middlePosition ?? 0.5
30
30
  } : { start: "#1469be", end: "#43ecff" }
31
31
  }[m], r = {
32
32
  horizontal: { x1: "0", y1: "0", x2: "1", y2: "0" },
33
33
  vertical: { x1: "0", y1: "0", x2: "0", y2: "1" },
34
34
  diagonal: { x1: "0", y1: "0", x2: "1", y2: "1" },
35
35
  radial: { x1: "0.5", y1: "0.5", x2: "0.5", y2: "0.5" }
36
- }[a], C = f || x ? `url(#${t})` : j || "var(--s-palette-text-primary)";
36
+ }[a], C = f || x ? `url(#${t})` : j ?? "var(--s-palette-text-primary)";
37
37
  return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
38
38
  /* @__PURE__ */ e.jsx("svg", { width: 0, height: 0, children: a === "radial" ? /* @__PURE__ */ e.jsxs("radialGradient", { id: t, cx: "50%", cy: "50%", r: "50%", children: [
39
39
  /* @__PURE__ */ e.jsx("stop", { offset: "0%", stopColor: s.start }),
40
- s.middle && /* @__PURE__ */ e.jsx("stop", { offset: `${(s.middlePos || 0.5) * 100}%`, stopColor: s.middle }),
40
+ s.middle && /* @__PURE__ */ e.jsx("stop", { offset: `${(s.middlePos ?? 0.5) * 100}%`, stopColor: s.middle }),
41
41
  /* @__PURE__ */ e.jsx("stop", { offset: "100%", stopColor: s.end })
42
42
  ] }) : /* @__PURE__ */ e.jsxs("linearGradient", { id: t, x1: r.x1, y1: r.y1, x2: r.x2, y2: r.y2, children: [
43
43
  /* @__PURE__ */ e.jsx("stop", { offset: "0%", stopColor: s.start }),
44
- s.middle && /* @__PURE__ */ e.jsx("stop", { offset: `${(s.middlePos || 0.5) * 100}%`, stopColor: s.middle }),
44
+ s.middle && /* @__PURE__ */ e.jsx("stop", { offset: `${(s.middlePos ?? 0.5) * 100}%`, stopColor: s.middle }),
45
45
  /* @__PURE__ */ e.jsx("stop", { offset: "100%", stopColor: s.end })
46
46
  ] }) }),
47
47
  /* @__PURE__ */ e.jsx(
@@ -1,7 +1,7 @@
1
1
  import { j as t } from "../jsx-runtime-tc70JA_2.js";
2
2
  import * as o from "react";
3
- import { C as A } from "../ChevronLeft-BJjuFNNQ.js";
4
- import { C as z } from "../ChevronRight-5ZX3FodP.js";
3
+ import { C as A } from "../ChevronLeft-BmgmPHp9.js";
4
+ import { C as z } from "../ChevronRight-DbWSr8yz.js";
5
5
  import { Box as s, IconButton as D } from "@mui/material";
6
6
  import E from "../s-lazy-image/s-lazy-image.js";
7
7
  const F = o.forwardRef(
@@ -78,7 +78,7 @@ const F = o.forwardRef(
78
78
  E,
79
79
  {
80
80
  src: m[l],
81
- alt: f[l] || f[0],
81
+ alt: f[l] ?? f[0],
82
82
  style: {
83
83
  width: "100%",
84
84
  height: "100%",
@@ -3,9 +3,9 @@ import j, { useState as C, useEffect as k } from "react";
3
3
  import { Modal as L, Box as d, Paper as m, Typography as w, IconButton as y, Stack as A } from "@mui/material";
4
4
  import { motion as b, AnimatePresence as D } from "framer-motion";
5
5
  import F from "../s-lazy-image/s-lazy-image.js";
6
- import { C as N } from "../Close-C-pCw-CD.js";
7
- import { C as T } from "../ChevronLeft-BJjuFNNQ.js";
8
- import { C as $ } from "../ChevronRight-5ZX3FodP.js";
6
+ import { C as N } from "../Close-lHCUMitI.js";
7
+ import { C as T } from "../ChevronLeft-BmgmPHp9.js";
8
+ import { C as $ } from "../ChevronRight-DbWSr8yz.js";
9
9
  const z = ({ item: r, onClick: l, style: c = {}, objectFit: e = "contain", disableVideoControls: s = !1 }) => r.type === "video" ? /* @__PURE__ */ o.jsx(
10
10
  d,
11
11
  {
@@ -25,7 +25,7 @@ const z = ({ item: r, onClick: l, style: c = {}, objectFit: e = "contain", disab
25
25
  F,
26
26
  {
27
27
  src: r.url,
28
- alt: r.title || "",
28
+ alt: r.title ?? "",
29
29
  onClick: l,
30
30
  style: {
31
31
  width: "100%",
@@ -47,7 +47,7 @@ const z = ({ item: r, onClick: l, style: c = {}, objectFit: e = "contain", disab
47
47
  showCounter: P = !0,
48
48
  modalSx: R = {}
49
49
  }) => {
50
- const [E, p] = C(r || null), t = r || E;
50
+ const [E, p] = C(r ?? null), t = r ?? E;
51
51
  k(() => {
52
52
  r && p(r);
53
53
  }, [r]);
@@ -170,7 +170,7 @@ const z = ({ item: r, onClick: l, style: c = {}, objectFit: e = "contain", disab
170
170
  right: 0,
171
171
  bottom: 0,
172
172
  p: { xs: 1.5, sm: 2, md: 3 },
173
- background: (i) => `linear-gradient(to top, ${(i.vars || i).palette.background.paper}, transparent)`
173
+ background: (i) => `linear-gradient(to top, ${(i.vars ?? i).palette.background.paper}, transparent)`
174
174
  },
175
175
  onClick: (i) => i.stopPropagation(),
176
176
  children: [
@@ -348,7 +348,7 @@ const z = ({ item: r, onClick: l, style: c = {}, objectFit: e = "contain", disab
348
348
  sx: {
349
349
  position: "absolute",
350
350
  inset: 0,
351
- background: (x) => `linear-gradient(to bottom, transparent, ${(x.vars || x).palette.action.hover}, ${(x.vars || x).palette.action.selected})`,
351
+ background: (x) => `linear-gradient(to bottom, transparent, ${(x.vars ?? x).palette.action.hover}, ${(x.vars ?? x).palette.action.selected})`,
352
352
  pointerEvents: "none"
353
353
  }
354
354
  }
@@ -12,7 +12,7 @@ export interface SLabelProps {
12
12
  /** Tooltip hint text shown on hover of the help icon */
13
13
  hint?: string;
14
14
  /** Custom styles using Material-UI sx prop for layout customization */
15
- sx?: SxProps<Theme> | undefined;
15
+ sx?: SxProps<Theme>;
16
16
  }
17
17
  /**
18
18
  * An enhanced label component that provides structured labeling with optional hints and tooltips.
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "../jsx-runtime-tc70JA_2.js";
2
- import { c as l } from "../createSvgIcon-DTNHY3_v.js";
2
+ import { c as l } from "../createSvgIcon-BkbeLOhM.js";
3
3
  import { Stack as o, Typography as n, Tooltip as i } from "@mui/material";
4
4
  const a = l(/* @__PURE__ */ t.jsx("path", {
5
5
  d: "M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"
@@ -3,13 +3,13 @@ import * as b from "react";
3
3
  import g, { createElement as j } from "react";
4
4
  import { useTranslation as E } from "react-i18next";
5
5
  import { SIconButton as F } from "../s-icon-button/s-icon-button.js";
6
- import { L as R, M as k } from "../Menu-_ZW9WiF2.js";
7
- import { g as N, M as P } from "../MenuItem-DTapLhin.js";
8
- import { P as a } from "../createTheme-CIXJrNxb.js";
6
+ import { L as R, M as k } from "../Menu-GVFDMHCN.js";
7
+ import { g as N, M as P } from "../MenuItem-2wG8I2HO.js";
8
+ import { P as a } from "../createTheme-DgoJyWM-.js";
9
9
  import { c as _ } from "../clsx-OuTLNxxd.js";
10
- import { u as A, c as D, m as M } from "../DefaultPropsProvider-2MEHB2yv.js";
11
- import { s as B } from "../styled-BR6UL29H.js";
12
- import { T as V } from "../Typography-Cum5_Ehu.js";
10
+ import { u as A, c as D, m as M } from "../DefaultPropsProvider-DPuuPIbS.js";
11
+ import { s as B } from "../styled-8Y5KoVix.js";
12
+ import { T as V } from "../Typography-PcmlIqm1.js";
13
13
  const $ = (e) => {
14
14
  const {
15
15
  alignItems: t,
@@ -197,7 +197,7 @@ const O = [
197
197
  sx: l,
198
198
  useI18n: p = !0
199
199
  }) => {
200
- const r = E(), u = p ? r.t : null, m = p ? r.i18n : null, [h, v] = g.useState(null), y = o || (m?.language ?? e[0]?.code ?? "en"), C = e.find((f) => f.code === y) || e[0], L = g.useCallback((f) => {
200
+ const r = E(), u = p ? r.t : null, m = p ? r.i18n : null, [h, v] = g.useState(null), y = o ?? m?.language ?? e[0]?.code ?? "en", C = e.find((f) => f.code === y) || e[0], L = g.useCallback((f) => {
201
201
  v(f.currentTarget);
202
202
  }, []), T = g.useCallback(() => {
203
203
  v(null);
@@ -206,7 +206,7 @@ const O = [
206
206
  t ? t(f) : m && m.changeLanguage(f);
207
207
  },
208
208
  [t, m]
209
- ), U = n || (u ? u("header:language.tooltip") : "Change language");
209
+ ), U = n ?? (u ? u("header:language.tooltip") : "Change language");
210
210
  return /* @__PURE__ */ c.jsxs(g.Fragment, { children: [
211
211
  /* @__PURE__ */ c.jsx(
212
212
  F,
@@ -1,5 +1,5 @@
1
1
  import { j as Me } from "../jsx-runtime-tc70JA_2.js";
2
- import { w as ye, L as ge } from "../warning-BZ61Y8gI.js";
2
+ import { w as ye, L as ge } from "../warning-Ba-7BBAN.js";
3
3
  import { a as Te } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
4
4
  import l from "dayjs";
5
5
  import { g as F } from "../_commonjsHelpers-ByX85dGu.js";
@@ -5,15 +5,15 @@ import { BoxProps } from '@mui/material';
5
5
  */
6
6
  export interface SMovingBorderProps extends BoxProps {
7
7
  /** Duration of one complete animation cycle in milliseconds (default: 6000) */
8
- duration?: number;
8
+ readonly duration?: number;
9
9
  /** Additional CSS class name for styling */
10
- className?: string;
10
+ readonly className?: string;
11
11
  /** Color of the glow effect (default: 'var(--s-palette-primary-main)') */
12
- glowColor?: string;
12
+ readonly glowColor?: string;
13
13
  /** Size of the glow effect in pixels (default: 250) */
14
- glowSize?: number;
14
+ readonly glowSize?: number;
15
15
  /** Content to render inside the moving border container */
16
- children: React.ReactNode;
16
+ readonly children: React.ReactNode;
17
17
  }
18
18
  /**
19
19
  * An animated border effect component that creates smooth moving light effects around the element perimeter.
@@ -1,11 +1,11 @@
1
1
  import { j as t } from "../jsx-runtime-tc70JA_2.js";
2
2
  import * as o from "react";
3
- import { c as j } from "../createSvgIcon-DTNHY3_v.js";
3
+ import { c as j } from "../createSvgIcon-BkbeLOhM.js";
4
4
  import { Stack as M, OutlinedInput as C } from "@mui/material";
5
5
  import { usePopover as b } from "../hooks/use-popover.js";
6
6
  import { SChips as v } from "../s-chips/s-chips.js";
7
- import { M as I } from "../Menu-_ZW9WiF2.js";
8
- import { M as k } from "../MenuItem-DTapLhin.js";
7
+ import { M as I } from "../Menu-GVFDMHCN.js";
8
+ import { M as k } from "../MenuItem-2wG8I2HO.js";
9
9
  const E = j(/* @__PURE__ */ t.jsx("path", {
10
10
  d: "M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z"
11
11
  }), "UnfoldMore"), L = ({
@@ -6,13 +6,13 @@ import '../assets/s-overlay-scrollbar.css';const b = d(i)(({ theme: a }) => ({
6
6
  maxHeight: "100%",
7
7
  ".os-theme-dark": {
8
8
  "--os-size": "10px",
9
- "--os-handle-bg": (a.vars || a).palette.blackAlpha.medium,
10
- "--os-handle-bg-hover": (a.vars || a).palette.blackAlpha.dark,
11
- "--os-handle-bg-active": (a.vars || a).palette.blackAlpha.dark,
9
+ "--os-handle-bg": (a.vars ?? a).palette.blackAlpha.medium,
10
+ "--os-handle-bg-hover": (a.vars ?? a).palette.blackAlpha.dark,
11
+ "--os-handle-bg-active": (a.vars ?? a).palette.blackAlpha.dark,
12
12
  ...a.applyStyles("dark", {
13
- "--os-handle-bg": (a.vars || a).palette.whiteAlpha.medium,
14
- "--os-handle-bg-hover": (a.vars || a).palette.whiteAlpha.dark,
15
- "--os-handle-bg-active": (a.vars || a).palette.whiteAlpha.dark
13
+ "--os-handle-bg": (a.vars ?? a).palette.whiteAlpha.medium,
14
+ "--os-handle-bg-hover": (a.vars ?? a).palette.whiteAlpha.dark,
15
+ "--os-handle-bg-active": (a.vars ?? a).palette.whiteAlpha.dark
16
16
  })
17
17
  }
18
18
  })), v = p(
@@ -1,5 +1,5 @@
1
- import { j as A } from "../jsx-runtime-tc70JA_2.js";
2
- import { forwardRef as Q, useRef as h, useEffect as N, useCallback as q } from "react";
1
+ import { j as q } from "../jsx-runtime-tc70JA_2.js";
2
+ import { forwardRef as Q, useRef as u, useEffect as N, useCallback as y } from "react";
3
3
  import { brand as E } from "../theme/theme-primitives.js";
4
4
  class U {
5
5
  x;
@@ -15,104 +15,109 @@ class U {
15
15
  counterStep;
16
16
  isReverse;
17
17
  isShimmer;
18
- constructor(c, l, o, z, y, M, b) {
19
- this.x = c, this.y = l, this.color = o, this.speed = (Math.random() * 0.8 + 0.1) * z, this.size = 0, this.sizeStep = Math.random() * 0.4, this.minSize = 0.5, this.maxSize = b, this.delay = y, this.counter = 0, this.counterStep = M, this.isReverse = !1, this.isShimmer = !1;
18
+ constructor(h, f, r, d, M, b, g) {
19
+ this.x = h, this.y = f, this.color = r, this.speed = (Math.random() * 0.8 + 0.1) * d, this.size = 0, this.sizeStep = Math.random() * 0.4, this.minSize = 0.5, this.maxSize = g, this.delay = M, this.counter = 0, this.counterStep = b, this.isReverse = !1, this.isShimmer = !1;
20
20
  }
21
- update(c) {
22
- return c ? this.counter < this.delay ? (this.counter += this.counterStep, !0) : (this.isShimmer ? this.isReverse ? (this.size -= this.speed, this.size <= this.minSize && (this.size = this.minSize, this.isReverse = !1)) : (this.size += this.speed, this.size >= this.maxSize && (this.size = this.maxSize, this.isReverse = !0)) : this.size < this.maxSize ? this.size += this.sizeStep : this.isShimmer = !0, !0) : (this.isShimmer = !1, this.counter = 0, this.size > 0 ? (this.size -= 0.1, !0) : !1);
21
+ update(h) {
22
+ return h ? this.counter < this.delay ? (this.counter += this.counterStep, !0) : (this.isShimmer ? this.isReverse ? (this.size -= this.speed, this.size <= this.minSize && (this.size = this.minSize, this.isReverse = !1)) : (this.size += this.speed, this.size >= this.maxSize && (this.size = this.maxSize, this.isReverse = !0)) : this.size < this.maxSize ? this.size += this.sizeStep : this.isShimmer = !0, !0) : (this.isShimmer = !1, this.counter = 0, this.size > 0 ? (this.size -= 0.1, !0) : !1);
23
23
  }
24
- draw(c, l) {
25
- const o = (l - this.size) * 0.5;
26
- c.fillRect(this.x + o, this.y + o, this.size, this.size);
24
+ draw(h, f) {
25
+ const r = (f - this.size) * 0.5;
26
+ h.fillRect(this.x + r, this.y + r, this.size, this.size);
27
27
  }
28
28
  }
29
29
  const Z = Q(
30
30
  ({
31
- gap: s = 5,
32
- speed: c = 100,
33
- colors: l = [E[400], E[500], E[600]],
34
- loading: o = !0,
35
- src: z,
36
- alt: y = "",
37
- style: M,
38
- children: b,
31
+ gap: n = 5,
32
+ speed: h = 100,
33
+ colors: f = [E[400], E[500], E[600]],
34
+ loading: r = !0,
35
+ src: d,
36
+ alt: M = "",
37
+ style: b,
38
+ children: g,
39
39
  instant: k = !0,
40
40
  ...$
41
- }, S) => {
42
- const g = h(null), w = h(null), D = h(null), p = h(/* @__PURE__ */ new Map()), a = h(null), I = h(1e3 / 60), C = h(0), P = h(!1);
41
+ }, p) => {
42
+ const C = u(null), z = u(null), D = u(null), m = u(/* @__PURE__ */ new Map()), l = u(null), I = u(1e3 / 60), P = u(0), j = u(!1);
43
43
  N(() => {
44
- P.current = typeof window < "u" ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1;
44
+ j.current = typeof window < "u" ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1;
45
45
  }, []);
46
- const O = q((e, n, u, r) => {
47
- const t = e - u, i = n - r;
46
+ const O = y((e, c, o, s) => {
47
+ const t = e - o, i = c - s;
48
48
  return t * t + i * i;
49
- }, []), V = q(() => {
50
- const e = g.current, n = e?.getContext("2d");
51
- if (!e || !n) return;
52
- p.current = /* @__PURE__ */ new Map();
53
- const u = P.current ? 0 : Math.max(0, Math.min(100, c)) * 1e-3, r = window.devicePixelRatio || 1, t = e.width / r, i = e.height / r, x = 2, X = 0.5, H = (t + i) * 0.01, T = t % s / 2, W = i % s / 2;
54
- for (let f = T; f < t; f += s)
55
- for (let m = W; m < i; m += s) {
56
- const d = l[Math.floor(Math.random() * l.length)];
57
- let v = 0;
58
- if (!k && !P.current) {
59
- const G = f + s / 2, J = m + s / 2, K = t / 2, L = i / 2;
60
- v = Math.sqrt(O(G, J, K, L));
49
+ }, []), V = y(
50
+ (e, c, o) => {
51
+ l.current && cancelAnimationFrame(l.current), P.current = performance.now();
52
+ const s = () => {
53
+ l.current = requestAnimationFrame(s);
54
+ const t = performance.now(), i = t - P.current;
55
+ if (i < I.current) return;
56
+ P.current = t - i % I.current, e.clearRect(0, 0, c, o);
57
+ let a = !1;
58
+ m.current.forEach((x, F) => {
59
+ e.fillStyle = F;
60
+ for (const S of x)
61
+ S.update(r) && (S.draw(e, n), a = !0);
62
+ }), !r && !a && l.current && (cancelAnimationFrame(l.current), l.current = null);
63
+ };
64
+ s();
65
+ },
66
+ [r, n]
67
+ ), X = y(() => {
68
+ const e = C.current, c = e?.getContext("2d");
69
+ if (!e || !c) return;
70
+ m.current = /* @__PURE__ */ new Map();
71
+ const o = j.current ? 0 : Math.max(0, Math.min(100, h)) * 1e-3, s = window.devicePixelRatio ?? 1, t = e.width / s, i = e.height / s, a = 2, x = 0.5, F = (t + i) * 0.01, S = t % n / 2, Y = i % n / 2;
72
+ for (let w = S; w < t; w += n)
73
+ for (let v = Y; v < i; v += n) {
74
+ const R = f[Math.floor(Math.random() * f.length)];
75
+ let B = 0;
76
+ if (!k && !j.current) {
77
+ const W = w + n / 2, G = v + n / 2, J = t / 2, K = i / 2;
78
+ B = Math.sqrt(O(W, G, J, K));
61
79
  }
62
- const F = Math.random() * 4 + H, R = Math.random() * (x - X) + X, B = new U(f, m, d, u, v, F, R);
63
- p.current.has(d) || p.current.set(d, []), p.current.get(d).push(B);
80
+ const H = Math.random() * 4 + F, L = Math.random() * (a - x) + x, T = new U(w, v, R, o, B, H, L);
81
+ m.current.has(R) || m.current.set(R, []), m.current.get(R).push(T);
64
82
  }
65
- a.current && cancelAnimationFrame(a.current), C.current = performance.now();
66
- const Y = () => {
67
- a.current = requestAnimationFrame(Y);
68
- const f = performance.now(), m = f - C.current;
69
- if (m < I.current) return;
70
- C.current = f - m % I.current, n.clearRect(0, 0, t, i);
71
- let d = !1;
72
- p.current.forEach((v, F) => {
73
- n.fillStyle = F;
74
- for (const R of v)
75
- R.update(o) && (R.draw(n, s), d = !0);
76
- }), !o && !d && a.current && (cancelAnimationFrame(a.current), a.current = null);
77
- };
78
- Y();
79
- }, [s, c, l, k, o, O]), j = q(() => {
80
- const e = g.current, n = w.current, u = e?.getContext("2d");
81
- if (!e || !n || !u) return;
82
- const r = n.getBoundingClientRect();
83
- if (r.width === 0 || r.height === 0) return;
84
- const t = Math.floor(r.width), i = Math.floor(r.height), x = window.devicePixelRatio || 1;
85
- e.width = t * x, e.height = i * x, e.style.width = `${t}px`, e.style.height = `${i}px`, u.setTransform(1, 0, 0, 1, 0, 0), u.scale(x, x), V();
86
- }, [V]);
83
+ V(c, t, i);
84
+ }, [n, h, f, k, r, O, V]), A = y(() => {
85
+ const e = C.current, c = z.current, o = e?.getContext("2d");
86
+ if (!e || !c || !o) return;
87
+ const s = c.getBoundingClientRect();
88
+ if (s.width === 0 || s.height === 0) return;
89
+ const t = Math.floor(s.width), i = Math.floor(s.height), a = window.devicePixelRatio ?? 1;
90
+ e.width = t * a, e.height = i * a, e.style.width = `${t}px`, e.style.height = `${i}px`, o.setTransform(1, 0, 0, 1, 0, 0), o.scale(a, a), X();
91
+ }, [X]);
87
92
  return N(() => {
88
- j();
93
+ A();
89
94
  const e = new ResizeObserver(() => {
90
- requestAnimationFrame(() => j());
95
+ requestAnimationFrame(() => A());
91
96
  });
92
- return w.current && e.observe(w.current), () => {
93
- e.disconnect(), a.current && cancelAnimationFrame(a.current);
97
+ return z.current && e.observe(z.current), () => {
98
+ e.disconnect(), l.current && cancelAnimationFrame(l.current);
94
99
  };
95
- }, [j]), /* @__PURE__ */ A.jsxs(
100
+ }, [A]), /* @__PURE__ */ q.jsxs(
96
101
  "div",
97
102
  {
98
103
  ref: (e) => {
99
- w.current = e, typeof S == "function" ? S(e) : S && (S.current = e);
104
+ z.current = e, typeof p == "function" ? p(e) : p && (p.current = e);
100
105
  },
101
106
  style: {
102
107
  position: "relative",
103
108
  width: "100%",
104
109
  height: "100%",
105
110
  overflow: "hidden",
106
- ...M
111
+ ...b
107
112
  },
108
113
  ...$,
109
114
  children: [
110
- z && /* @__PURE__ */ A.jsx(
115
+ d && /* @__PURE__ */ q.jsx(
111
116
  "img",
112
117
  {
113
118
  ref: D,
114
- src: z,
115
- alt: y,
119
+ src: d,
120
+ alt: M,
116
121
  style: {
117
122
  position: "absolute",
118
123
  inset: 0,
@@ -123,11 +128,11 @@ const Z = Q(
123
128
  }
124
129
  }
125
130
  ),
126
- b,
127
- /* @__PURE__ */ A.jsx(
131
+ g,
132
+ /* @__PURE__ */ q.jsx(
128
133
  "canvas",
129
134
  {
130
- ref: g,
135
+ ref: C,
131
136
  style: {
132
137
  position: "absolute",
133
138
  inset: 0,
@@ -20,7 +20,7 @@ const b = h`
20
20
  alignItems: "center",
21
21
  borderRadius: e.shape.borderRadius,
22
22
  border: "1px solid",
23
- borderColor: (e.vars || e).palette.divider
23
+ borderColor: (e.vars ?? e).palette.divider
24
24
  })), R = l(d)(() => ({
25
25
  position: "absolute",
26
26
  pointerEvents: "none"
@@ -31,7 +31,7 @@ const b = h`
31
31
  transform: "translate(-50%, -50%)",
32
32
  width: "60px",
33
33
  height: "60px",
34
- background: (e.vars || e).palette.ui.pulse.radialGradient,
34
+ background: (e.vars ?? e).palette.ui.pulse.radialGradient,
35
35
  borderRadius: "50%",
36
36
  animation: `${b} 3s ease-out infinite`,
37
37
  "&:nth-of-type(2)": {