@solostylist/ui-kit 1.0.88 → 1.0.89

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 (65) hide show
  1. package/dist/{Box-Cf99MewL.js → Box-CJmG1mTu.js} +3 -3
  2. package/dist/ButtonBase-C0g54hXq.js +910 -0
  3. package/dist/{ChevronRight-D5BryGH5.js → ChevronRight-CtkI4XwH.js} +1 -1
  4. package/dist/{Close-CKpTrk7X.js → Close--Sf9yZGB.js} +1 -1
  5. package/dist/{Menu-D2LDo0yd.js → Menu-BuktPpzX.js} +914 -1453
  6. package/dist/{MenuItem-JkMrBIMD.js → MenuItem-sL2AcofB.js} +8 -8
  7. package/dist/Paper-CH6cuu9i.js +553 -0
  8. package/dist/{Select-4BjFewNI.js → Select-D2lV25sl.js} +16 -15
  9. package/dist/{Stack-UjxgGQu9.js → Stack-CIrlOUXL.js} +4 -4
  10. package/dist/{TransitionGroup-DzGaAPUk.js → TransitionGroup-SToIdl-5.js} +3 -3
  11. package/dist/{Typography-CGoVq27h.js → Typography-D-VP4V1G.js} +3 -3
  12. package/dist/{createSvgIcon-vJH0FaMW.js → createSvgIcon-DpVs_nKR.js} +5 -5
  13. package/dist/{createTheme-DjqDAiZm.js → createTheme-DbdaZ0Ku.js} +3 -2
  14. package/dist/{defaultTheme-CaAxts6z.js → defaultTheme-CFAmbghg.js} +1 -1
  15. package/dist/{extendSxProp-BnfiUPQK.js → extendSxProp-CQnEn3aw.js} +1 -1
  16. package/dist/{index-DcImsw9J.js → index-CjPqjRDL.js} +4 -4
  17. package/dist/main.d.ts +4 -0
  18. package/dist/main.js +117 -113
  19. package/dist/mergeSlotProps-N47mO9C9.js +62 -0
  20. package/dist/s-accordion/index.d.ts +2 -0
  21. package/dist/s-accordion/index.js +4 -0
  22. package/dist/s-accordion/package.json +5 -0
  23. package/dist/s-accordion/s-accordion.d.ts +9 -0
  24. package/dist/s-accordion/s-accordion.js +924 -0
  25. package/dist/s-avatar/index.d.ts +2 -0
  26. package/dist/s-avatar/index.js +4 -0
  27. package/dist/s-avatar/package.json +5 -0
  28. package/dist/s-avatar/s-avatar.d.ts +10 -0
  29. package/dist/s-avatar/s-avatar.js +9 -0
  30. package/dist/s-chat-input/s-chat-input.js +6 -6
  31. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  32. package/dist/s-data-table/s-data-table.js +12 -10
  33. package/dist/s-date-picker/s-date-picker.js +24 -24
  34. package/dist/s-datetime-picker/s-datetime-picker.js +13 -12
  35. package/dist/s-dialog/s-dialog.js +1 -1
  36. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  37. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  38. package/dist/s-file-dropzone/s-file-dropzone.js +8 -8
  39. package/dist/s-file-icon/s-file-icon.js +1 -1
  40. package/dist/s-image-comparison/s-image-comparison.js +1 -1
  41. package/dist/s-image-modal/s-image-modal.js +2 -2
  42. package/dist/s-label/s-label.js +1 -1
  43. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  44. package/dist/s-multi-select/s-multi-select.js +5 -5
  45. package/dist/s-smart-text-field/s-smart-text-field.js +2 -2
  46. package/dist/s-text-editor/s-text-editor-toolbar.js +8 -8
  47. package/dist/s-text-editor/s-text-editor.js +1 -1
  48. package/dist/s-text-field/s-text-field.js +5 -5
  49. package/dist/s-tip/s-tip.js +3 -3
  50. package/dist/theme/components/avatar.js +3 -3
  51. package/dist/theme/components/button.d.ts +2 -2
  52. package/dist/theme/components/chip.js +1 -1
  53. package/dist/theme/components/components.d.ts +2 -2
  54. package/dist/theme/customizations/inputs.js +1 -1
  55. package/dist/theme/customizations/navigation.js +1 -1
  56. package/dist/theme/theme-primitives.js +1 -1
  57. package/dist/useControlled-nm4pBabJ.js +31 -0
  58. package/dist/useFormControl-CatNKXAi.js +10 -0
  59. package/dist/{useMobilePicker-DmFQ075P.js → useMobilePicker-CRxlxUeh.js} +100 -98
  60. package/dist/{useTheme-DPtt6ExE.js → useTheme-CjYoxoob.js} +1 -1
  61. package/dist/{useThemeProps-DQiCrjPQ.js → useThemeProps-DdCEfRBE.js} +2 -2
  62. package/dist/{warning-UxpRUL3s.js → warning-CiVr8tE6.js} +3 -3
  63. package/package.json +1 -1
  64. package/dist/useFormControl-B3RPiDsz.js +0 -38
  65. package/dist/useSlot-DFSsVuMw.js +0 -969
@@ -0,0 +1,2 @@
1
+ export { default } from './s-avatar';
2
+ export type { SAvatarProps } from './s-avatar';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./s-avatar.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,10 @@
1
+ import { AvatarProps } from '@mui/material';
2
+ export interface SAvatarProps {
3
+ avatar?: string;
4
+ name?: string;
5
+ showName?: boolean;
6
+ size?: number;
7
+ avatarProps?: AvatarProps;
8
+ }
9
+ declare const SAvatar: ({ avatar, name, showName, size, avatarProps }: SAvatarProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default SAvatar;
@@ -0,0 +1,9 @@
1
+ import { j as t } from "../jsx-runtime-DywqP_6a.js";
2
+ import { Box as e, Avatar as x, Typography as l } from "@mui/material";
3
+ const f = ({ avatar: i, name: r, showName: o = !1, size: s = 40, avatarProps: a }) => /* @__PURE__ */ t.jsxs(e, { display: "flex", alignItems: "center", gap: 2, children: [
4
+ /* @__PURE__ */ t.jsx(x, { sx: { width: s, height: s, fontSize: 16 }, src: i, ...a, children: (r == null ? void 0 : r[0]) || "A" }),
5
+ o && /* @__PURE__ */ t.jsx(l, { variant: "body1", fontSize: 20, children: r })
6
+ ] });
7
+ export {
8
+ f as default
9
+ };
@@ -4,14 +4,14 @@ import { Box as o, outlinedInputClasses as K } from "@mui/material";
4
4
  import A from "../s-file-icon/s-file-icon.js";
5
5
  import j from "../s-icon-button/s-icon-button.js";
6
6
  import O from "../s-text-field/s-text-field.js";
7
- import { C as P } from "../Close-CKpTrk7X.js";
8
- import { c as I } from "../createSvgIcon-vJH0FaMW.js";
9
- const W = I(/* @__PURE__ */ t.jsx("path", {
7
+ import { C as P } from "../Close--Sf9yZGB.js";
8
+ import { b } from "../createSvgIcon-DpVs_nKR.js";
9
+ const W = b(/* @__PURE__ */ t.jsx("path", {
10
10
  d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"
11
- }), "ArrowUpward"), B = I(/* @__PURE__ */ t.jsx("path", {
11
+ }), "ArrowUpward"), B = b(/* @__PURE__ */ t.jsx("path", {
12
12
  d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6z"
13
13
  }), "AttachFile"), N = k(
14
- ({ onSubmit: c, onFileSelect: d, disabled: i, acceptedFileTypes: b, maxFileSize: g, ...C }, U) => {
14
+ ({ onSubmit: c, onFileSelect: d, disabled: i, acceptedFileTypes: I, maxFileSize: g, ...C }, U) => {
15
15
  const [p, v] = x(""), [l, m] = x([]), [a, h] = x(/* @__PURE__ */ new Map()), w = F(), u = (e) => e.type.startsWith("image/"), z = (e) => {
16
16
  const s = `${e.name}-${e.size}-${e.lastModified}`;
17
17
  if (a.has(s))
@@ -138,7 +138,7 @@ const W = I(/* @__PURE__ */ t.jsx("path", {
138
138
  {
139
139
  type: "file",
140
140
  multiple: !0,
141
- accept: b,
141
+ accept: I,
142
142
  onChange: L,
143
143
  style: { display: "none" },
144
144
  id: `file-attachment-input-${w}`,
@@ -1,7 +1,7 @@
1
1
  import { j as e } from "../jsx-runtime-DywqP_6a.js";
2
2
  import { useState as x } from "react";
3
3
  import { Paper as d, Box as m, IconButton as h, Typography as u } from "@mui/material";
4
- import { c as n } from "../createSvgIcon-vJH0FaMW.js";
4
+ import { b as n } from "../createSvgIcon-DpVs_nKR.js";
5
5
  const f = n(/* @__PURE__ */ e.jsx("path", {
6
6
  d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
7
7
  }), "Check"), j = n(/* @__PURE__ */ e.jsx("path", {
@@ -1,13 +1,15 @@
1
1
  import { j as r } from "../jsx-runtime-DywqP_6a.js";
2
2
  import * as y from "react";
3
3
  import ve from "../s-empty/s-empty.js";
4
- import { c as j, P as e } from "../createTheme-DjqDAiZm.js";
5
- import { s as S, b as N, r as se, c as q, u as $, a as I, m as _ } from "../createSvgIcon-vJH0FaMW.js";
4
+ import { c as j, P as e } from "../createTheme-DbdaZ0Ku.js";
5
+ import { s as S, a as N, r as se, b as q, u as $, c as I, m as _ } from "../createSvgIcon-DpVs_nKR.js";
6
6
  import { g as B } from "../colorManipulator-ep5lERxB.js";
7
7
  import { g as M } from "../generateUtilityClasses-BtVDwGrk.js";
8
- import { u as Te, a as Ce } from "../useFormControl-B3RPiDsz.js";
9
- import { b as L, B as ke, r as je, m as we } from "../useSlot-DFSsVuMw.js";
8
+ import { u as Te } from "../useFormControl-CatNKXAi.js";
9
+ import { d as L, B as Ce, r as ke } from "../ButtonBase-C0g54hXq.js";
10
+ import { u as je } from "../useControlled-nm4pBabJ.js";
10
11
  import { c as X } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
12
+ import { m as we } from "../mergeSlotProps-N47mO9C9.js";
11
13
  function Re(o) {
12
14
  return B("PrivateSwitchBase", o);
13
15
  }
@@ -23,7 +25,7 @@ const Oe = (o) => {
23
25
  input: ["input"]
24
26
  };
25
27
  return N(n, Re, t);
26
- }, Pe = S(ke, {
28
+ }, Pe = S(Ce, {
27
29
  name: "MuiSwitchBase"
28
30
  })({
29
31
  padding: 9,
@@ -100,12 +102,12 @@ const Oe = (o) => {
100
102
  slots: le = {},
101
103
  slotProps: ce = {},
102
104
  ...pe
103
- } = t, [G, de] = Te({
105
+ } = t, [G, de] = je({
104
106
  controlled: i,
105
107
  default: !!p,
106
108
  name: "SwitchBase",
107
109
  state: "checked"
108
- }), O = Ce(), ue = (b) => {
110
+ }), O = Te(), ue = (b) => {
109
111
  m && m(b), O && O.onFocus && O.onFocus(b);
110
112
  }, fe = (b) => {
111
113
  c && c(b), O && O.onBlur && O.onBlur(b);
@@ -251,7 +253,7 @@ process.env.NODE_ENV !== "production" && (ae.propTypes = {
251
253
  /**
252
254
  * Pass a ref to the `input` element.
253
255
  */
254
- inputRef: je,
256
+ inputRef: ke,
255
257
  /*
256
258
  * @ignore
257
259
  */
@@ -1162,7 +1164,7 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
1162
1164
  */
1163
1165
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1164
1166
  });
1165
- function fo({
1167
+ function yo({
1166
1168
  columns: o,
1167
1169
  hideHead: t,
1168
1170
  hover: s,
@@ -1264,5 +1266,5 @@ function fo({
1264
1266
  ] });
1265
1267
  }
1266
1268
  export {
1267
- fo as default
1269
+ yo as default
1268
1270
  };
@@ -1,16 +1,16 @@
1
- import { j as b } from "../jsx-runtime-DywqP_6a.js";
1
+ import { j as p } from "../jsx-runtime-DywqP_6a.js";
2
2
  import { useTheme as I, TextField as z } from "@mui/material";
3
3
  import L from "../s-form/s-form.js";
4
4
  import { _ as O, a } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
5
- import * as p from "react";
6
- import { P as e } from "../createTheme-DjqDAiZm.js";
7
- import { u as P, a as Y, b as U, c as Q, r as T, d as q, P as B, e as H, f as $, g as K, h as Z, i as G, j as J, C as X, k as m, l as M, m as ee, v as F, s as R, n as oe, D as te, o as se } from "../useMobilePicker-DmFQ075P.js";
8
- import { u as y } from "../warning-UxpRUL3s.js";
5
+ import * as b from "react";
6
+ import { P as e } from "../createTheme-DbdaZ0Ku.js";
7
+ import { u as P, a as Y, b as U, c as Q, r as T, d as q, P as B, e as H, f as $, g as K, h as Z, i as G, j as J, C as X, k as m, l as M, m as ee, v as F, s as R, n as oe, D as te, o as se } from "../useMobilePicker-CRxlxUeh.js";
8
+ import { u as y } from "../warning-CiVr8tE6.js";
9
9
  import { g as ae } from "../colorManipulator-ep5lERxB.js";
10
10
  import { g as ne } from "../generateUtilityClasses-BtVDwGrk.js";
11
- import { s as N, b as re } from "../createSvgIcon-vJH0FaMW.js";
12
- import { T as le } from "../Typography-CGoVq27h.js";
13
- import { r as h, a as C } from "../useSlot-DFSsVuMw.js";
11
+ import { s as N, a as re } from "../createSvgIcon-DpVs_nKR.js";
12
+ import { T as le } from "../Typography-D-VP4V1G.js";
13
+ import { r as h, a as C } from "../ButtonBase-C0g54hXq.js";
14
14
  function ie(l) {
15
15
  return ae("MuiDatePickerToolbar", l);
16
16
  }
@@ -33,7 +33,7 @@ const ce = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ue =
33
33
  margin: "auto 16px auto auto"
34
34
  }
35
35
  }]
36
- }), g = /* @__PURE__ */ p.forwardRef(function(n, t) {
36
+ }), g = /* @__PURE__ */ b.forwardRef(function(n, t) {
37
37
  const r = y({
38
38
  props: n,
39
39
  name: "MuiDatePickerToolbar"
@@ -46,7 +46,7 @@ const ce = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ue =
46
46
  value: u,
47
47
  views: v,
48
48
  orientation: E
49
- } = Y(), V = U(), _ = Q(), w = ue(f), A = p.useMemo(() => {
49
+ } = Y(), V = U(), _ = Q(), w = ue(f), A = b.useMemo(() => {
50
50
  if (!d.isValid(u))
51
51
  return s;
52
52
  const W = T(d, {
@@ -55,12 +55,12 @@ const ce = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ue =
55
55
  }, !0);
56
56
  return d.formatByString(u, W);
57
57
  }, [u, o, s, d, v]);
58
- return /* @__PURE__ */ b.jsx(de, a({
58
+ return /* @__PURE__ */ p.jsx(de, a({
59
59
  ref: t,
60
60
  toolbarTitle: V.datePickerToolbarTitle,
61
61
  className: q(w.root, i)
62
62
  }, c, {
63
- children: /* @__PURE__ */ b.jsx(fe, {
63
+ children: /* @__PURE__ */ p.jsx(fe, {
64
64
  variant: "h4",
65
65
  align: E === "landscape" ? "left" : "center",
66
66
  ownerState: _,
@@ -104,7 +104,7 @@ function S(l, n) {
104
104
  const t = y({
105
105
  props: l,
106
106
  name: n
107
- }), r = H(t), o = p.useMemo(() => {
107
+ }), r = H(t), o = b.useMemo(() => {
108
108
  var s;
109
109
  return ((s = t.localeText) == null ? void 0 : s.toolbarTitle) == null ? t.localeText : a({}, t.localeText, {
110
110
  datePickerToolbarTitle: t.localeText.toolbarTitle
@@ -123,25 +123,25 @@ function S(l, n) {
123
123
  }, t.slots)
124
124
  });
125
125
  }
126
- const be = (l) => {
126
+ const pe = (l) => {
127
127
  const n = K(l);
128
128
  return Z({
129
129
  manager: n,
130
130
  props: l
131
131
  });
132
- }, pe = ["slots", "slotProps"], D = /* @__PURE__ */ p.forwardRef(function(n, t) {
132
+ }, be = ["slots", "slotProps"], D = /* @__PURE__ */ b.forwardRef(function(n, t) {
133
133
  const r = y({
134
134
  props: n,
135
135
  name: "MuiDateField"
136
136
  }), {
137
137
  slots: o,
138
138
  slotProps: s
139
- } = r, i = O(r, pe), f = G({
139
+ } = r, i = O(r, be), f = G({
140
140
  slotProps: s,
141
141
  ref: t,
142
142
  externalForwardedProps: i
143
- }), c = be(f);
144
- return /* @__PURE__ */ b.jsx(J, {
143
+ }), c = pe(f);
144
+ return /* @__PURE__ */ p.jsx(J, {
145
145
  slots: o,
146
146
  slotProps: s,
147
147
  fieldResponse: c,
@@ -430,7 +430,7 @@ process.env.NODE_ENV !== "production" && (D.propTypes = {
430
430
  */
431
431
  variant: e.oneOf(["filled", "outlined", "standard"])
432
432
  });
433
- const k = /* @__PURE__ */ p.forwardRef(function(n, t) {
433
+ const k = /* @__PURE__ */ b.forwardRef(function(n, t) {
434
434
  var c;
435
435
  const r = P(), o = S(n, "MuiDesktopDatePicker"), s = a({
436
436
  day: m,
@@ -780,7 +780,7 @@ k.propTypes = {
780
780
  */
781
781
  yearsPerRow: e.oneOf([3, 4])
782
782
  };
783
- const j = /* @__PURE__ */ p.forwardRef(function(n, t) {
783
+ const j = /* @__PURE__ */ b.forwardRef(function(n, t) {
784
784
  var c;
785
785
  const r = P(), o = S(n, "MuiMobileDatePicker"), s = a({
786
786
  day: m,
@@ -1128,7 +1128,7 @@ j.propTypes = {
1128
1128
  */
1129
1129
  yearsPerRow: e.oneOf([3, 4])
1130
1130
  };
1131
- const me = ["desktopModeMediaQuery"], x = /* @__PURE__ */ p.forwardRef(function(n, t) {
1131
+ const me = ["desktopModeMediaQuery"], x = /* @__PURE__ */ b.forwardRef(function(n, t) {
1132
1132
  const r = y({
1133
1133
  props: n,
1134
1134
  name: "MuiDatePicker"
@@ -1137,9 +1137,9 @@ const me = ["desktopModeMediaQuery"], x = /* @__PURE__ */ p.forwardRef(function(
1137
1137
  } = r, s = O(r, me);
1138
1138
  return se(o, {
1139
1139
  defaultMatches: !0
1140
- }) ? /* @__PURE__ */ b.jsx(k, a({
1140
+ }) ? /* @__PURE__ */ p.jsx(k, a({
1141
1141
  ref: t
1142
- }, s)) : /* @__PURE__ */ b.jsx(j, a({
1142
+ }, s)) : /* @__PURE__ */ p.jsx(j, a({
1143
1143
  ref: t
1144
1144
  }, s));
1145
1145
  });
@@ -1466,7 +1466,7 @@ process.env.NODE_ENV !== "production" && (x.propTypes = {
1466
1466
  });
1467
1467
  function Me({ label: l, required: n = !1, error: t, htmlFor: r, hint: o, ...s }) {
1468
1468
  const i = I();
1469
- return /* @__PURE__ */ b.jsx(L, { label: l, required: n, error: t, htmlFor: r, hint: o, children: /* @__PURE__ */ b.jsx(
1469
+ return /* @__PURE__ */ p.jsx(L, { label: l, required: n, error: t, htmlFor: r, hint: o, children: /* @__PURE__ */ p.jsx(
1470
1470
  x,
1471
1471
  {
1472
1472
  enableAccessibleFieldDOMStructure: !1,
@@ -3,18 +3,19 @@ import { useTheme as jt, TextField as Nt } from "@mui/material";
3
3
  import Rt from "../s-form/s-form.js";
4
4
  import { a as w, _ as pe } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
5
5
  import * as c from "react";
6
- import { P as e, c as Yo, j as Ft } from "../createTheme-DjqDAiZm.js";
7
- import { p as Et, q as To, s as Ce, v as Bt, u as xe, t as Lt, w as Fo, x as At, b as ze, h as $t, i as _t, j as Wt, C as Ht, y as zt, T as Ut, z as to, a as go, d as De, A as Ze, B as Yt, E as Kt, c as qt, F as Ko, M as Ae, G as $e, P as Xt, H as Gt, I as Je, r as Eo, J as Bo, K as Ee, f as Qt, L as Zt, S as Jt, N as qo, O as Xo, Q as Go, R as Qo, U as Zo, V as eo, W as Lo, X as en, Y as on, Z as tn, _ as Xe, k as Be, l as Jo, m as nn, $ as mo, a0 as sn, a1 as Ao, n as rn, a2 as an, a3 as ln, D as cn, o as un } from "../useMobilePicker-DmFQ075P.js";
8
- import { u as fe } from "../warning-UxpRUL3s.js";
6
+ import { P as e, c as Yo, l as Ft } from "../createTheme-DbdaZ0Ku.js";
7
+ import { p as Et, q as To, s as Ce, v as Bt, u as xe, t as Lt, w as Fo, x as At, b as ze, h as $t, i as _t, j as Wt, C as Ht, y as zt, T as Ut, z as to, a as go, d as De, A as Ze, B as Yt, E as Kt, c as qt, F as Ko, M as Ae, G as $e, P as Xt, H as Gt, I as Je, r as Eo, J as Bo, K as Ee, f as Qt, L as Zt, S as Jt, N as qo, O as Xo, Q as Go, R as Qo, U as Zo, V as eo, W as Lo, X as en, Y as on, Z as tn, _ as Xe, k as Be, l as Jo, m as nn, $ as mo, a0 as sn, a1 as Ao, n as rn, a2 as an, a3 as ln, D as cn, o as un } from "../useMobilePicker-CRxlxUeh.js";
8
+ import { u as fe } from "../warning-CiVr8tE6.js";
9
9
  import { g as ke, a as oo } from "../colorManipulator-ep5lERxB.js";
10
10
  import { g as Pe } from "../generateUtilityClasses-BtVDwGrk.js";
11
- import { u as no, s as $, a as ve, b as ce, m as Ue, c as et, f as so } from "../createSvgIcon-vJH0FaMW.js";
11
+ import { u as no, s as $, c as ve, a as ce, m as Ue, b as et, f as so } from "../createSvgIcon-DpVs_nKR.js";
12
12
  import { g as dn, t as se } from "../tabClasses-Bub2PPlp.js";
13
- import { B as ot, r as Ye, d as Ve, b as Fe, u as tt, a as nt } from "../useSlot-DFSsVuMw.js";
14
- import { d as st, a as rt, u as yo, b as _e, c as mn, o as pn, e as at } from "../Menu-D2LDo0yd.js";
13
+ import { B as ot, r as Ye, f as Ve, d as Fe, u as tt, a as nt } from "../ButtonBase-C0g54hXq.js";
14
+ import { d as st, a as rt, u as yo, b as _e, o as mn, c as at } from "../Menu-BuktPpzX.js";
15
+ import { u as pn } from "../Paper-CH6cuu9i.js";
15
16
  import { u as vo } from "../useEnhancedEffect-CJGo-L3B.js";
16
- import { T as fn } from "../Typography-CGoVq27h.js";
17
- import { g as bn, M as it } from "../MenuItem-JkMrBIMD.js";
17
+ import { T as fn } from "../Typography-D-VP4V1G.js";
18
+ import { g as bn, M as it } from "../MenuItem-sL2AcofB.js";
18
19
  const hn = (o) => {
19
20
  const {
20
21
  absolute: t,
@@ -1479,7 +1480,7 @@ const mt = /* @__PURE__ */ c.forwardRef(function(t, s) {
1479
1480
  const n = no({
1480
1481
  props: t,
1481
1482
  name: "MuiTabs"
1482
- }), r = mn(), a = yo(), {
1483
+ }), r = pn(), a = yo(), {
1483
1484
  "aria-label": i,
1484
1485
  "aria-labelledby": l,
1485
1486
  action: m,
@@ -1772,7 +1773,7 @@ const mt = /* @__PURE__ */ c.forwardRef(function(t, s) {
1772
1773
  }), Ct = (u) => {
1773
1774
  if (u.altKey || u.shiftKey || u.ctrlKey || u.metaKey)
1774
1775
  return;
1775
- const b = le.current, P = pn(b).activeElement;
1776
+ const b = le.current, P = mn(b).activeElement;
1776
1777
  if (P.getAttribute("role") !== "tab")
1777
1778
  return;
1778
1779
  let H = C === "horizontal" ? "ArrowLeft" : "ArrowUp", me = C === "horizontal" ? "ArrowRight" : "ArrowDown";
@@ -5122,7 +5123,7 @@ process.env.NODE_ENV !== "production" && (Mo.propTypes = {
5122
5123
  */
5123
5124
  yearsPerRow: e.oneOf([3, 4])
5124
5125
  });
5125
- function qs({
5126
+ function Xs({
5126
5127
  label: o,
5127
5128
  required: t = !1,
5128
5129
  error: s,
@@ -5160,5 +5161,5 @@ function qs({
5160
5161
  ) });
5161
5162
  }
5162
5163
  export {
5163
- qs as default
5164
+ Xs as default
5164
5165
  };
@@ -1,5 +1,5 @@
1
1
  import { j as r } from "../jsx-runtime-DywqP_6a.js";
2
- import { C as j } from "../Close-CKpTrk7X.js";
2
+ import { C as j } from "../Close--Sf9yZGB.js";
3
3
  import { Dialog as h, DialogTitle as p, Stack as f, Typography as t, IconButton as m, DialogContent as g, DialogActions as u } from "@mui/material";
4
4
  const v = ({
5
5
  title: s,
@@ -1,9 +1,9 @@
1
1
  import { j as n } from "../jsx-runtime-DywqP_6a.js";
2
2
  import * as r from "react";
3
- import { C as p } from "../Close-CKpTrk7X.js";
3
+ import { C as p } from "../Close--Sf9yZGB.js";
4
4
  import { Dialog as g, DialogTitle as j, Stack as D, IconButton as v, DialogContent as y, DialogActions as b, Button as d } from "@mui/material";
5
5
  import { useDialog as k } from "../hooks/use-dialog.js";
6
- import { T as m } from "../Typography-CGoVq27h.js";
6
+ import { T as m } from "../Typography-D-VP4V1G.js";
7
7
  const w = ({
8
8
  title: e,
9
9
  content: o,
@@ -1,9 +1,9 @@
1
1
  import { j as o } from "../jsx-runtime-DywqP_6a.js";
2
2
  import * as s from "react";
3
- import { C as u } from "../Close-CKpTrk7X.js";
3
+ import { C as u } from "../Close--Sf9yZGB.js";
4
4
  import { Dialog as p, DialogTitle as g, Stack as m, IconButton as j, DialogContent as C, DialogActions as f, Button as D } from "@mui/material";
5
5
  import { useDialog as k } from "../hooks/use-dialog.js";
6
- import { T as c } from "../Typography-CGoVq27h.js";
6
+ import { T as c } from "../Typography-D-VP4V1G.js";
7
7
  const v = ({
8
8
  title: t,
9
9
  content: e,
@@ -1,14 +1,14 @@
1
1
  import { j as e } from "../jsx-runtime-DywqP_6a.js";
2
- import * as y from "react";
3
- import { c as d } from "../createSvgIcon-vJH0FaMW.js";
4
- import { Avatar as b, Tooltip as C, IconButton as I, Button as z } from "@mui/material";
2
+ import * as b from "react";
3
+ import { b as d } from "../createSvgIcon-DpVs_nKR.js";
4
+ import { Avatar as y, Tooltip as C, IconButton as I, Button as z } from "@mui/material";
5
5
  import { useDropzone as S } from "react-dropzone";
6
6
  import k from "../s-file-icon/s-file-icon.js";
7
7
  import w from "../s-form/s-form.js";
8
8
  import { bytesToSize as B } from "../utils/bytes-to-size.js";
9
- import { B as c } from "../Box-Cf99MewL.js";
10
- import { S as t } from "../Stack-UjxgGQu9.js";
11
- import { T as o } from "../Typography-CGoVq27h.js";
9
+ import { B as c } from "../Box-CJmG1mTu.js";
10
+ import { S as t } from "../Stack-CIrlOUXL.js";
11
+ import { T as o } from "../Typography-D-VP4V1G.js";
12
12
  const D = d(/* @__PURE__ */ e.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"), F = d(/* @__PURE__ */ e.jsx("path", {
@@ -27,7 +27,7 @@ const D = d(/* @__PURE__ */ e.jsx("path", {
27
27
  }) => {
28
28
  var a, l;
29
29
  const { getRootProps: f, getInputProps: g, isDragActive: i } = S(n);
30
- return /* @__PURE__ */ e.jsxs(y.Fragment, { children: [
30
+ return /* @__PURE__ */ e.jsxs(b.Fragment, { children: [
31
31
  /* @__PURE__ */ e.jsx(w, { error: m, label: x, required: u, hint: p, children: /* @__PURE__ */ e.jsxs(
32
32
  c,
33
33
  {
@@ -58,7 +58,7 @@ const D = d(/* @__PURE__ */ e.jsx("path", {
58
58
  /* @__PURE__ */ e.jsx("input", { ...g() }),
59
59
  /* @__PURE__ */ e.jsxs(t, { direction: "row", spacing: 1, sx: { alignItems: "center" }, children: [
60
60
  /* @__PURE__ */ e.jsx(
61
- b,
61
+ y,
62
62
  {
63
63
  sx: {
64
64
  border: "1px dashed var(--s-palette-divider)",
@@ -1,5 +1,5 @@
1
1
  import { j as e } from "../jsx-runtime-DywqP_6a.js";
2
- import { B as i } from "../Box-Cf99MewL.js";
2
+ import { B as i } from "../Box-CJmG1mTu.js";
3
3
  const o = {
4
4
  jpeg: "/assets/icon-jpg.svg",
5
5
  jpg: "/assets/icon-jpg.svg",
@@ -1,6 +1,6 @@
1
1
  import { j as e } from "../jsx-runtime-DywqP_6a.js";
2
2
  import * as s from "react";
3
- import { C as y, a as I } from "../ChevronRight-D5BryGH5.js";
3
+ import { C as y, a as I } from "../ChevronRight-CtkI4XwH.js";
4
4
  import { Box as o, IconButton as L } from "@mui/material";
5
5
  const R = s.forwardRef(
6
6
  ({ sx: f, leftImage: v, rightImage: g, altLeft: b = "Left image", altRight: w = "Right image", initialPosition: j = 50, ...E }, i) => {
@@ -2,8 +2,8 @@ import { j as o } from "../jsx-runtime-DywqP_6a.js";
2
2
  import { useState as k, useEffect as w } from "react";
3
3
  import { Modal as A, Box as d, Paper as b, Typography as z, IconButton as m, Stack as L } from "@mui/material";
4
4
  import { motion as h, AnimatePresence as T } from "framer-motion";
5
- import { C as F } from "../Close-CKpTrk7X.js";
6
- import { C as $, a as B } from "../ChevronRight-D5BryGH5.js";
5
+ import { C as F } from "../Close--Sf9yZGB.js";
6
+ import { C as $, a as B } from "../ChevronRight-CtkI4XwH.js";
7
7
  const I = ({ item: s, onClick: l, style: x = {}, objectFit: e = "contain", disableVideoControls: n = !1 }) => s.type === "video" ? /* @__PURE__ */ o.jsx(
8
8
  d,
9
9
  {
@@ -1,5 +1,5 @@
1
1
  import { j as e } from "../jsx-runtime-DywqP_6a.js";
2
- import { c as r } from "../createSvgIcon-vJH0FaMW.js";
2
+ import { b as r } from "../createSvgIcon-DpVs_nKR.js";
3
3
  import { Stack as i, Tooltip as s } from "@mui/material";
4
4
  const c = r(/* @__PURE__ */ e.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"
@@ -1,5 +1,5 @@
1
1
  import { j as Mt } from "../jsx-runtime-DywqP_6a.js";
2
- import { w as yt, L as gt } from "../warning-UxpRUL3s.js";
2
+ import { w as yt, L as gt } from "../warning-CiVr8tE6.js";
3
3
  import { a as Tt } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
4
4
  import c from "dayjs";
5
5
  import { g as F } from "../_commonjsHelpers-B4e78b8K.js";
@@ -1,11 +1,11 @@
1
1
  import { j as t } from "../jsx-runtime-DywqP_6a.js";
2
2
  import * as c from "react";
3
- import { c as h } from "../createSvgIcon-vJH0FaMW.js";
3
+ import { b as h } from "../createSvgIcon-DpVs_nKR.js";
4
4
  import { Stack as j, OutlinedInput as M } from "@mui/material";
5
5
  import { usePopover as v } from "../hooks/use-popover.js";
6
6
  import S from "../s-chips/s-chips.js";
7
- import { M as R } from "../Menu-D2LDo0yd.js";
8
- import { M as b } from "../MenuItem-JkMrBIMD.js";
7
+ import { M as b } from "../Menu-BuktPpzX.js";
8
+ import { M as R } from "../MenuItem-sL2AcofB.js";
9
9
  const I = h(/* @__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");
@@ -51,7 +51,7 @@ function P({
51
51
  }
52
52
  ),
53
53
  /* @__PURE__ */ t.jsx(
54
- R,
54
+ b,
55
55
  {
56
56
  anchorEl: r.anchorRef.current,
57
57
  onClose: r.handleClose,
@@ -60,7 +60,7 @@ function P({
60
60
  children: a.map((e) => {
61
61
  const s = l.includes(e.value);
62
62
  return /* @__PURE__ */ t.jsx(
63
- b,
63
+ R,
64
64
  {
65
65
  onClick: () => {
66
66
  m(e.value, !s);
@@ -5,12 +5,12 @@ import le, { useCallback as pe, useState as Re, useMemo as rt, useEffect as ye,
5
5
  import { g as Cn, c as Zt, a as er } from "../_commonjsHelpers-B4e78b8K.js";
6
6
  import mi, { flushSync as kl } from "react-dom";
7
7
  import { a as re, _ as ut } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
8
- import { P, j as rs } from "../createTheme-DjqDAiZm.js";
8
+ import { P, l as rs } from "../createTheme-DbdaZ0Ku.js";
9
9
  import qd from "@emotion/styled";
10
10
  import { s as Zn } from "../emotion-serialize.esm-lgBmL_7o.js";
11
11
  import { CacheProvider as Hd, Global as Kd, ThemeContext as Gd, css as Yd, keyframes as ga } from "@emotion/react";
12
12
  import Ll from "@emotion/cache";
13
- import { T as Xd } from "../TransitionGroup-DzGaAPUk.js";
13
+ import { a as Xd } from "../TransitionGroup-SToIdl-5.js";
14
14
  import { styled as Zd, alpha as ns, outlinedInputClasses as Jd } from "@mui/material";
15
15
  import Qd from "../s-form/s-form.js";
16
16
  import { brand as jn, gray as as } from "../theme/theme-primitives.js";
@@ -1,19 +1,19 @@
1
1
  import { j as c } from "../jsx-runtime-DywqP_6a.js";
2
2
  import * as r from "react";
3
- import { c as i } from "../createSvgIcon-vJH0FaMW.js";
3
+ import { b as i } from "../createSvgIcon-DpVs_nKR.js";
4
4
  import { MenuItem as u } from "@mui/material";
5
5
  import { usePopover as p } from "../hooks/use-popover.js";
6
6
  import m from "../s-text-field/s-text-field.js";
7
- import { I as f, S as x, F as d } from "../Select-4BjFewNI.js";
8
- import { S as v } from "../Stack-UjxgGQu9.js";
9
- import { P as j } from "../Menu-D2LDo0yd.js";
7
+ import { I as f, S as x, F as d } from "../Select-D2lV25sl.js";
8
+ import { S as v } from "../Stack-CIrlOUXL.js";
9
+ import { P as j } from "../Menu-BuktPpzX.js";
10
10
  const k = i(/* @__PURE__ */ c.jsx("path", {
11
11
  d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
12
12
  }), "Code"), H = i(/* @__PURE__ */ c.jsx("path", {
13
13
  d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42M10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5"
14
- }), "FormatBold"), L = i(/* @__PURE__ */ c.jsx("path", {
14
+ }), "FormatBold"), b = i(/* @__PURE__ */ c.jsx("path", {
15
15
  d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"
16
- }), "FormatItalic"), b = i(/* @__PURE__ */ c.jsx("path", {
16
+ }), "FormatItalic"), L = i(/* @__PURE__ */ c.jsx("path", {
17
17
  d: "M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5m0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5m0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5M7 19h14v-2H7zm0-6h14v-2H7zm0-8v2h14V5z"
18
18
  }), "FormatListBulleted"), C = i(/* @__PURE__ */ c.jsx("path", {
19
19
  d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z"
@@ -88,7 +88,7 @@ const k = i(/* @__PURE__ */ c.jsx("path", {
88
88
  onClick: () => {
89
89
  n.chain().focus().toggleItalic().run();
90
90
  },
91
- children: /* @__PURE__ */ c.jsx(L, {})
91
+ children: /* @__PURE__ */ c.jsx(b, {})
92
92
  }
93
93
  ),
94
94
  /* @__PURE__ */ c.jsx(
@@ -121,7 +121,7 @@ const k = i(/* @__PURE__ */ c.jsx("path", {
121
121
  onClick: () => {
122
122
  n.chain().focus().toggleBulletList().run();
123
123
  },
124
- children: /* @__PURE__ */ c.jsx(b, {})
124
+ children: /* @__PURE__ */ c.jsx(L, {})
125
125
  }
126
126
  ),
127
127
  /* @__PURE__ */ c.jsx(
@@ -5,7 +5,7 @@ import { Placeholder as m } from "@tiptap/extension-placeholder";
5
5
  import { useEditor as c, EditorContent as f } from "@tiptap/react";
6
6
  import { StarterKit as u } from "@tiptap/starter-kit";
7
7
  import { STextEditorToolbar as x } from "./s-text-editor-toolbar.js";
8
- import { B as d } from "../Box-Cf99MewL.js";
8
+ import { B as d } from "../Box-CJmG1mTu.js";
9
9
  const z = ({
10
10
  content: r,
11
11
  editable: o = !0,
@@ -1,8 +1,8 @@
1
1
  import { j as s } from "../jsx-runtime-DywqP_6a.js";
2
2
  import { useState as j } from "react";
3
- import { TextField as h, InputAdornment as w, IconButton as b } from "@mui/material";
3
+ import { TextField as b, InputAdornment as h, IconButton as w } from "@mui/material";
4
4
  import y from "../s-form/s-form.js";
5
- import { c } from "../createSvgIcon-vJH0FaMW.js";
5
+ import { b as c } from "../createSvgIcon-DpVs_nKR.js";
6
6
  const g = c(/* @__PURE__ */ s.jsx("path", {
7
7
  d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
8
8
  }), "Visibility"), P = c(/* @__PURE__ */ s.jsx("path", {
@@ -19,8 +19,8 @@ const g = c(/* @__PURE__ */ s.jsx("path", {
19
19
  var r;
20
20
  const [t, m] = j(!1), n = o === "password", x = () => {
21
21
  m(!t);
22
- }, f = n && t ? "text" : o, u = n ? /* @__PURE__ */ s.jsx(w, { position: "end", children: /* @__PURE__ */ s.jsx(
23
- b,
22
+ }, f = n && t ? "text" : o, u = n ? /* @__PURE__ */ s.jsx(h, { position: "end", children: /* @__PURE__ */ s.jsx(
23
+ w,
24
24
  {
25
25
  "aria-label": "toggle password visibility",
26
26
  onClick: x,
@@ -30,7 +30,7 @@ const g = c(/* @__PURE__ */ s.jsx("path", {
30
30
  }
31
31
  ) }) : void 0;
32
32
  return /* @__PURE__ */ s.jsx(y, { label: d, hint: p, error: i, required: a, htmlFor: e, children: /* @__PURE__ */ s.jsx(
33
- h,
33
+ b,
34
34
  {
35
35
  fullWidth: !0,
36
36
  type: f,
@@ -1,7 +1,7 @@
1
1
  import { j as t } from "../jsx-runtime-DywqP_6a.js";
2
- import { c as e } from "../createSvgIcon-vJH0FaMW.js";
3
- import { S as s } from "../Stack-UjxgGQu9.js";
4
- import { T as r } from "../Typography-CGoVq27h.js";
2
+ import { b as e } from "../createSvgIcon-DpVs_nKR.js";
3
+ import { S as s } from "../Stack-CIrlOUXL.js";
4
+ import { T as r } from "../Typography-D-VP4V1G.js";
5
5
  const a = e(/* @__PURE__ */ t.jsx("path", {
6
6
  d: "M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7m2 11.7V16h-4v-2.3C8.48 12.63 7 11.53 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.49-1.51 3.65-3 4.7"
7
7
  }), "LightbulbOutline"), l = ({ message: o }) => /* @__PURE__ */ t.jsxs(