@solostylist/ui-kit 1.0.32 → 1.0.33

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 (50) hide show
  1. package/dist/{Box-Cu0PvgiL.js → Box-BuuxG3Tr.js} +19 -20
  2. package/dist/{Menu-C2llDJyI.js → Menu-DmnT6o5K.js} +610 -600
  3. package/dist/{Stack-uu0uVXox.js → Stack-CkxaDtxz.js} +31 -33
  4. package/dist/{Typography-DlhXzj-D.js → Typography-Ct1tfVOf.js} +5 -5
  5. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  6. package/dist/{buttonBaseClasses-Cs778eg3.js → buttonBaseClasses-CTh1kkSM.js} +2 -2
  7. package/dist/{createSvgIcon-DK6yVt3w.js → createSvgIcon-C26LSZjW.js} +4 -4
  8. package/dist/{createTheme-DgQJeYRt.js → createTheme-o5OrEPBx.js} +2 -1
  9. package/dist/{extendSxProp-KlKrlfYx.js → extendSxProp-B1Bo-Q7i.js} +1 -1
  10. package/dist/{generateUtilityClasses-C-O1qWa9.js → generateUtilityClasses-BEerdfFd.js} +1 -1
  11. package/dist/{iconButtonClasses-BvY27R_O.js → iconButtonClasses-BAXUV9zR.js} +2 -2
  12. package/dist/identifier-BWKW9pab.js +234 -0
  13. package/dist/{index-NeW0SZ-C.js → index-DP0FdjAl.js} +5 -5
  14. package/dist/main.d.ts +0 -2
  15. package/dist/main.js +24 -26
  16. package/dist/{memoTheme-1tTQAxpP.js → memoTheme-BUxBXdzq.js} +37 -35
  17. package/dist/{menuItemClasses-DtZ7DoOq.js → menuItemClasses-D0q3bQU7.js} +2 -2
  18. package/dist/{outlinedInputClasses-Dh9m5x_6.js → outlinedInputClasses-Bng2WHfn.js} +2 -2
  19. package/dist/s-data-table/s-data-table.js +32 -34
  20. package/dist/s-dialog-confirm/s-dialog-confirm.js +1 -1
  21. package/dist/s-dialog-message/s-dialog-message.js +1 -1
  22. package/dist/s-file-dropzone/s-file-dropzone.js +3 -3
  23. package/dist/s-file-icon/s-file-icon.js +1 -1
  24. package/dist/s-multi-select/s-multi-select.js +8 -8
  25. package/dist/s-smart-text-field/index.d.ts +0 -2
  26. package/dist/s-smart-text-field/index.js +1 -4
  27. package/dist/s-smart-text-field/s-text-field.d.ts +0 -6
  28. package/dist/s-smart-text-field/s-text-field.js +0 -27133
  29. package/dist/s-text-editor/s-text-editor-toolbar.js +443 -429
  30. package/dist/s-text-editor/s-text-editor.js +1 -1
  31. package/dist/s-tip/s-tip.js +2 -2
  32. package/dist/{selectClasses-Dfh_2m_V.js → selectClasses-BFIcGZVT.js} +2 -2
  33. package/dist/{svgIconClasses-BqT1l2-6.js → svgIconClasses-CvmRPAiT.js} +2 -2
  34. package/dist/theme/customizations/data-display.js +6 -6
  35. package/dist/theme/customizations/feedback.js +1 -1
  36. package/dist/theme/customizations/inputs.js +5 -5
  37. package/dist/theme/customizations/navigation.js +6 -6
  38. package/dist/theme/customizations/surfaces.js +1 -1
  39. package/dist/theme/theme-primitives.js +1 -1
  40. package/dist/{typographyClasses-CYLH9eLg.js → typographyClasses-Dp267WAR.js} +2 -2
  41. package/dist/{useControlled-Bvu9pDu8.js → useControlled-DnifWmuD.js} +15 -15
  42. package/dist/useSlot-DkkwzAuc.js +1179 -0
  43. package/dist/{useTheme-COYkWUCG.js → useTheme-DvS2uOCK.js} +1 -1
  44. package/dist/utils/dayjs.js +1 -1
  45. package/package.json +1 -3
  46. package/dist/TransitionGroup-CqOrg-mA.js +0 -216
  47. package/dist/_commonjsHelpers-B4e78b8K.js +0 -28
  48. package/dist/emotion-serialize.esm-lgBmL_7o.js +0 -195
  49. package/dist/identifier-CdaB--DW.js +0 -46
  50. package/dist/useSlot-D9YvaBTd.js +0 -969
@@ -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 x } from "@tiptap/starter-kit";
7
7
  import { STextEditorToolbar as d } from "./s-text-editor-toolbar.js";
8
- import { B as u } from "../Box-Cu0PvgiL.js";
8
+ import { B as u } from "../Box-BuuxG3Tr.js";
9
9
  const S = ({
10
10
  content: o,
11
11
  editable: r = !0,
@@ -1,7 +1,7 @@
1
1
  import { j as r } from "../jsx-runtime-C5mzlN2N.js";
2
2
  import { IconBulb as e } from "@tabler/icons-react";
3
- import { S as s } from "../Stack-uu0uVXox.js";
4
- import { T as o } from "../Typography-DlhXzj-D.js";
3
+ import { S as s } from "../Stack-CkxaDtxz.js";
4
+ import { T as o } from "../Typography-Ct1tfVOf.js";
5
5
  const c = ({ message: t }) => /* @__PURE__ */ r.jsxs(
6
6
  s,
7
7
  {
@@ -1,5 +1,5 @@
1
- import { g as t } from "./generateUtilityClasses-C-O1qWa9.js";
2
- import { g as i } from "./createTheme-DgQJeYRt.js";
1
+ import { g as t } from "./generateUtilityClasses-BEerdfFd.js";
2
+ import { g as i } from "./createTheme-o5OrEPBx.js";
3
3
  function n(e) {
4
4
  return i("MuiSelect", e);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { g as r } from "./createTheme-DgQJeYRt.js";
2
- import { g as t } from "./generateUtilityClasses-C-O1qWa9.js";
1
+ import { g as r } from "./createTheme-o5OrEPBx.js";
2
+ import { g as t } from "./generateUtilityClasses-BEerdfFd.js";
3
3
  function s(o) {
4
4
  return r("MuiSvgIcon", o);
5
5
  }
@@ -1,12 +1,12 @@
1
1
  import { j as n } from "../../jsx-runtime-C5mzlN2N.js";
2
2
  import { IconCircleX as s } from "@tabler/icons-react";
3
3
  import { gray as e, green as l, red as a } from "../theme-primitives.js";
4
- import { i as c } from "../../iconButtonClasses-BvY27R_O.js";
5
- import { g as d } from "../../generateUtilityClasses-C-O1qWa9.js";
6
- import { s as i } from "../../svgIconClasses-BqT1l2-6.js";
7
- import { b as p } from "../../buttonBaseClasses-Cs778eg3.js";
8
- import { t as y } from "../../typographyClasses-CYLH9eLg.js";
9
- import { a as t } from "../../createTheme-DgQJeYRt.js";
4
+ import { i as c } from "../../iconButtonClasses-BAXUV9zR.js";
5
+ import { g as d } from "../../generateUtilityClasses-BEerdfFd.js";
6
+ import { s as i } from "../../svgIconClasses-CvmRPAiT.js";
7
+ import { b as p } from "../../buttonBaseClasses-CTh1kkSM.js";
8
+ import { t as y } from "../../typographyClasses-Dp267WAR.js";
9
+ import { a as t } from "../../createTheme-o5OrEPBx.js";
10
10
  const r = d("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), z = {
11
11
  MuiList: {
12
12
  styleOverrides: {
@@ -1,5 +1,5 @@
1
1
  import { gray as e, orange as o } from "../theme-primitives.js";
2
- import { a } from "../../createTheme-DgQJeYRt.js";
2
+ import { a } from "../../createTheme-o5OrEPBx.js";
3
3
  const l = {
4
4
  MuiAlert: {
5
5
  styleOverrides: {
@@ -1,10 +1,10 @@
1
1
  import { j as t } from "../../jsx-runtime-C5mzlN2N.js";
2
- import { c as l } from "../../createSvgIcon-DK6yVt3w.js";
2
+ import { c as l } from "../../createSvgIcon-C26LSZjW.js";
3
3
  import { brand as e, gray as o } from "../theme-primitives.js";
4
- import { o as i } from "../../outlinedInputClasses-Dh9m5x_6.js";
5
- import { g as n } from "../../generateUtilityClasses-C-O1qWa9.js";
6
- import { s } from "../../svgIconClasses-BqT1l2-6.js";
7
- import { a } from "../../createTheme-DgQJeYRt.js";
4
+ import { o as i } from "../../outlinedInputClasses-Bng2WHfn.js";
5
+ import { g as n } from "../../generateUtilityClasses-BEerdfFd.js";
6
+ import { s } from "../../svgIconClasses-CvmRPAiT.js";
7
+ import { a } from "../../createTheme-o5OrEPBx.js";
8
8
  const p = l(/* @__PURE__ */ t.jsx("path", {
9
9
  d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1m1-16H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"
10
10
  }), "CheckBoxOutlineBlankRounded"), c = l(/* @__PURE__ */ t.jsx("path", {
@@ -1,12 +1,12 @@
1
1
  import { j as l } from "../../jsx-runtime-C5mzlN2N.js";
2
2
  import * as i from "react";
3
- import { c as p } from "../../createSvgIcon-DK6yVt3w.js";
3
+ import { c as p } from "../../createSvgIcon-C26LSZjW.js";
4
4
  import { gray as r, brand as n } from "../theme-primitives.js";
5
- import { d as c, m as e } from "../../menuItemClasses-DtZ7DoOq.js";
6
- import { g as b } from "../../generateUtilityClasses-C-O1qWa9.js";
7
- import { s } from "../../selectClasses-Dfh_2m_V.js";
8
- import { b as u } from "../../buttonBaseClasses-Cs778eg3.js";
9
- import { a } from "../../createTheme-DgQJeYRt.js";
5
+ import { d as c, m as e } from "../../menuItemClasses-D0q3bQU7.js";
6
+ import { g as b } from "../../generateUtilityClasses-BEerdfFd.js";
7
+ import { s } from "../../selectClasses-BFIcGZVT.js";
8
+ import { b as u } from "../../buttonBaseClasses-CTh1kkSM.js";
9
+ import { a } from "../../createTheme-o5OrEPBx.js";
10
10
  const x = p(/* @__PURE__ */ l.jsx("path", {
11
11
  d: "m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L12.7 3.7a.996.996 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0zm0 12.34-2.46-2.46a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"
12
12
  }), "UnfoldMoreRounded"), t = b("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), R = {
@@ -1,5 +1,5 @@
1
1
  import { gray as o } from "../theme-primitives.js";
2
- import { a } from "../../createTheme-DgQJeYRt.js";
2
+ import { a } from "../../createTheme-o5OrEPBx.js";
3
3
  const i = {
4
4
  MuiAccordion: {
5
5
  defaultProps: {
@@ -1,4 +1,4 @@
1
- import { b as n, a as o } from "../createTheme-DgQJeYRt.js";
1
+ import { b as n, a as o } from "../createTheme-o5OrEPBx.js";
2
2
  const e = n(), p = [...e.shadows], t = {
3
3
  50: "hsl(210, 100%, 95%)",
4
4
  100: "hsl(210, 100%, 92%)",
@@ -1,5 +1,5 @@
1
- import { g as a } from "./generateUtilityClasses-C-O1qWa9.js";
2
- import { g as i } from "./createTheme-DgQJeYRt.js";
1
+ import { g as a } from "./generateUtilityClasses-BEerdfFd.js";
2
+ import { g as i } from "./createTheme-o5OrEPBx.js";
3
3
  function e(t) {
4
4
  return i("MuiTypography", t);
5
5
  }
@@ -1,38 +1,38 @@
1
1
  import * as e from "react";
2
2
  const c = /* @__PURE__ */ e.createContext(void 0);
3
3
  process.env.NODE_ENV !== "production" && (c.displayName = "FormControlContext");
4
- function a() {
4
+ function m() {
5
5
  return e.useContext(c);
6
6
  }
7
- function h({
8
- controlled: n,
9
- default: r,
10
- name: o,
11
- state: s = "value"
12
- }) {
7
+ function p(i) {
13
8
  const {
9
+ controlled: n,
10
+ default: r,
11
+ name: o,
12
+ state: s = "value"
13
+ } = i, {
14
14
  current: t
15
- } = e.useRef(n !== void 0), [l, u] = e.useState(r), f = t ? n : l;
15
+ } = e.useRef(n !== void 0), [u, a] = e.useState(r), d = t ? n : u;
16
16
  if (process.env.NODE_ENV !== "production") {
17
17
  e.useEffect(() => {
18
18
  t !== (n !== void 0) && console.error([`MUI: A component is changing the ${t ? "" : "un"}controlled ${s} state of ${o} to be ${t ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${o} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
19
19
  `));
20
20
  }, [s, o, n]);
21
21
  const {
22
- current: i
22
+ current: l
23
23
  } = e.useRef(r);
24
24
  e.useEffect(() => {
25
- !t && !Object.is(i, r) && console.error([`MUI: A component is changing the default ${s} state of an uncontrolled ${o} after being initialized. To suppress this warning opt to use a controlled ${o}.`].join(`
25
+ !t && !Object.is(l, r) && console.error([`MUI: A component is changing the default ${s} state of an uncontrolled ${o} after being initialized. To suppress this warning opt to use a controlled ${o}.`].join(`
26
26
  `));
27
27
  }, [JSON.stringify(r)]);
28
28
  }
29
- const d = e.useCallback((i) => {
30
- t || u(i);
29
+ const f = e.useCallback((l) => {
30
+ t || a(l);
31
31
  }, []);
32
- return [f, d];
32
+ return [d, f];
33
33
  }
34
34
  export {
35
35
  c as F,
36
- a,
37
- h as u
36
+ m as a,
37
+ p as u
38
38
  };