@solostylist/ui-kit 1.0.197 → 1.0.200

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 (196) 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/entries/core.d.ts +2 -2
  23. package/dist/entries/core.js +28 -30
  24. package/dist/{extendSxProp-CyoueGTe.js → extendSxProp-BJEIxcAx.js} +1 -1
  25. package/dist/{index-8LcCMmwl.js → index-DtGYsHSv.js} +4 -4
  26. package/dist/main.js +92 -94
  27. package/dist/s-accordion/s-accordion.js +89 -89
  28. package/dist/s-action-overlay/s-action-overlay.js +7 -7
  29. package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +44 -0
  30. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +241 -272
  31. package/dist/s-avatar/s-avatar.js +2 -2
  32. package/dist/s-blur-text/s-blur-text.js +25 -24
  33. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  34. package/dist/s-carousel/s-carousel.d.ts +4 -4
  35. package/dist/s-carousel/s-carousel.js +4 -4
  36. package/dist/s-chat-input/s-chat-input.js +4 -4
  37. package/dist/s-chat-message/s-chat-message.js +135 -124
  38. package/dist/s-chips/s-chips.js +35 -35
  39. package/dist/s-code-block/s-code-block.js +1 -1
  40. package/dist/s-comment-message/s-comment-message.js +5 -5
  41. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  42. package/dist/s-countdown/s-count-box.js +40 -37
  43. package/dist/s-countdown/s-count-down.d.ts +15 -10
  44. package/dist/s-countdown/s-count-down.js +79 -124
  45. package/dist/s-data-table/s-data-table.js +75 -76
  46. package/dist/s-date-picker/s-date-picker.js +43 -47
  47. package/dist/s-datetime-picker/s-datetime-picker.js +782 -782
  48. package/dist/s-dialog/s-dialog.js +1 -1
  49. package/dist/s-dialog-confirm/index.d.ts +1 -1
  50. package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +1 -1
  51. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  52. package/dist/s-dialog-message/index.d.ts +1 -1
  53. package/dist/s-dialog-message/s-dialog-message.d.ts +1 -1
  54. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  55. package/dist/s-empty/s-empty.js +1 -1
  56. package/dist/s-file-dropzone/s-file-dropzone.js +16 -16
  57. package/dist/s-file-icon/s-file-icon.js +15 -15
  58. package/dist/s-flex-box/s-flex-box.js +1 -1
  59. package/dist/s-gallery/s-gallery.js +1 -1
  60. package/dist/s-gradient-icon/s-gradient-icon.js +5 -5
  61. package/dist/s-image-comparison/s-image-comparison.js +3 -3
  62. package/dist/s-image-modal/s-image-modal.js +7 -7
  63. package/dist/s-label/s-label.d.ts +1 -1
  64. package/dist/s-label/s-label.js +1 -1
  65. package/dist/s-language-switcher/s-language-switcher.js +8 -8
  66. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  67. package/dist/s-moving-border/s-moving-border.d.ts +5 -5
  68. package/dist/s-multi-select/s-multi-select.js +3 -3
  69. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +6 -6
  70. package/dist/s-pixel-reveal/s-pixel-reveal.js +76 -71
  71. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +2 -2
  72. package/dist/s-review/s-review.d.ts +3 -2
  73. package/dist/s-review/s-review.js +19 -19
  74. package/dist/s-scroll-to-top/s-scroll-to-top.js +5 -5
  75. package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +1 -1
  76. package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +3 -3
  77. package/dist/s-scroll-velocity/scroll-velocity-row.js +2 -2
  78. package/dist/s-select/s-select.js +54 -67
  79. package/dist/s-select-list/s-select-list.js +1 -1
  80. package/dist/s-snackbar-message/s-snackbar-message.js +18 -18
  81. package/dist/s-stripe/s-stripe-cvc.d.ts +1 -1
  82. package/dist/s-stripe/s-stripe-expiry.d.ts +1 -1
  83. package/dist/s-stripe/s-stripe-number.d.ts +1 -1
  84. package/dist/s-stripe/stripe-input.d.ts +1 -1
  85. package/dist/s-text-editor/s-text-editor-toolbar.js +64 -60
  86. package/dist/s-text-editor/s-text-editor.js +1 -1
  87. package/dist/s-text-field/s-text-field.js +1 -1
  88. package/dist/s-text-shimmer/s-text-shimmer.js +3 -3
  89. package/dist/s-theme-demo/s-theme-demo.js +2 -2
  90. package/dist/s-theme-provider/s-theme-provider.d.ts +1 -1
  91. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  92. package/dist/s-tip/s-tip.js +3 -3
  93. package/dist/{styled-BR6UL29H.js → styled-8Y5KoVix.js} +2 -2
  94. package/dist/theme/components/avatar.js +1 -1
  95. package/dist/theme/components/button.d.ts +2 -2
  96. package/dist/theme/components/button.js +1 -1
  97. package/dist/theme/components/chip.d.ts +2 -2
  98. package/dist/theme/components/chip.js +1 -1
  99. package/dist/theme/components/icon-button.d.ts +2 -2
  100. package/dist/theme/components/popover.js +2 -2
  101. package/dist/theme/components/skeleton.js +1 -1
  102. package/dist/theme/components/tooltip.js +5 -5
  103. package/dist/theme/customizations/data-display.js +12 -12
  104. package/dist/theme/customizations/feedback.js +2 -2
  105. package/dist/theme/customizations/inputs.js +12 -12
  106. package/dist/theme/customizations/navigation.js +28 -28
  107. package/dist/theme/customizations/surfaces.js +11 -11
  108. package/dist/theme/theme-primitives.js +1 -1
  109. package/dist/{useMobilePicker-C0pYjskU.js → useMobilePicker-DVnEuXv1.js} +3936 -3653
  110. package/dist/{useTheme-DSvhq4Np.js → useTheme-CWPkv7g3.js} +1 -1
  111. package/dist/{useThemeProps-C-oV4Fbz.js → useThemeProps-XYgXGzjS.js} +1 -1
  112. package/dist/utils/index.d.ts +0 -1
  113. package/dist/utils/index.js +7 -9
  114. package/dist/utils/logger.d.ts +1 -1
  115. package/dist/utils-D1UMIV0b.js +40 -0
  116. package/dist/{warning-BZ61Y8gI.js → warning-Ba-7BBAN.js} +3 -3
  117. package/package.json +67 -62
  118. package/dist/defaultTheme-DLue8Fr1.js +0 -5
  119. package/dist/s-accordion/package.json +0 -5
  120. package/dist/s-action-overlay/package.json +0 -5
  121. package/dist/s-ai-tool-bar/package.json +0 -5
  122. package/dist/s-autocomplete/package.json +0 -5
  123. package/dist/s-avatar/package.json +0 -5
  124. package/dist/s-blur-text/package.json +0 -5
  125. package/dist/s-breadcrumbs/package.json +0 -5
  126. package/dist/s-button/package.json +0 -5
  127. package/dist/s-button-link/package.json +0 -5
  128. package/dist/s-carousel/package.json +0 -5
  129. package/dist/s-category-card/package.json +0 -5
  130. package/dist/s-chat-input/package.json +0 -5
  131. package/dist/s-chat-message/package.json +0 -5
  132. package/dist/s-checkbox/package.json +0 -5
  133. package/dist/s-chip/package.json +0 -5
  134. package/dist/s-chips/package.json +0 -5
  135. package/dist/s-code-block/package.json +0 -5
  136. package/dist/s-comment-message/package.json +0 -5
  137. package/dist/s-copyable-text/package.json +0 -5
  138. package/dist/s-countdown/package.json +0 -5
  139. package/dist/s-data-table/package.json +0 -5
  140. package/dist/s-date-picker/package.json +0 -5
  141. package/dist/s-datetime-picker/package.json +0 -5
  142. package/dist/s-dialog/package.json +0 -5
  143. package/dist/s-dialog-confirm/package.json +0 -5
  144. package/dist/s-dialog-message/package.json +0 -5
  145. package/dist/s-empty/package.json +0 -5
  146. package/dist/s-error/package.json +0 -5
  147. package/dist/s-error-layout/package.json +0 -5
  148. package/dist/s-file-dropzone/package.json +0 -5
  149. package/dist/s-file-icon/package.json +0 -5
  150. package/dist/s-flex-box/package.json +0 -5
  151. package/dist/s-form/package.json +0 -5
  152. package/dist/s-gallery/package.json +0 -5
  153. package/dist/s-glow-button/package.json +0 -5
  154. package/dist/s-gradient-icon/package.json +0 -5
  155. package/dist/s-i18n-provider/package.json +0 -5
  156. package/dist/s-icon-button/package.json +0 -5
  157. package/dist/s-image-comparison/package.json +0 -5
  158. package/dist/s-image-modal/package.json +0 -5
  159. package/dist/s-item-not-found/package.json +0 -5
  160. package/dist/s-label/package.json +0 -5
  161. package/dist/s-language-switcher/package.json +0 -5
  162. package/dist/s-lazy-image/package.json +0 -5
  163. package/dist/s-localization-provider/package.json +0 -5
  164. package/dist/s-moving-border/package.json +0 -5
  165. package/dist/s-multi-select/package.json +0 -5
  166. package/dist/s-no-ssr/package.json +0 -5
  167. package/dist/s-overlay-scrollbar/package.json +0 -5
  168. package/dist/s-pagination/package.json +0 -5
  169. package/dist/s-pixel-reveal/package.json +0 -5
  170. package/dist/s-radial-pulse-animate/package.json +0 -5
  171. package/dist/s-rating/package.json +0 -5
  172. package/dist/s-review/package.json +0 -5
  173. package/dist/s-scroll-reveal/package.json +0 -6
  174. package/dist/s-scroll-to-top/package.json +0 -5
  175. package/dist/s-scroll-velocity/package.json +0 -5
  176. package/dist/s-select/package.json +0 -5
  177. package/dist/s-select-list/package.json +0 -5
  178. package/dist/s-skeleton/package.json +0 -5
  179. package/dist/s-snackbar-message/package.json +0 -5
  180. package/dist/s-spotlight-cursor/package.json +0 -5
  181. package/dist/s-stripe/package.json +0 -5
  182. package/dist/s-tabs/package.json +0 -4
  183. package/dist/s-text-editor/package.json +0 -5
  184. package/dist/s-text-field/package.json +0 -5
  185. package/dist/s-text-shimmer/package.json +0 -5
  186. package/dist/s-text-truncation/package.json +0 -5
  187. package/dist/s-theme-demo/package.json +0 -5
  188. package/dist/s-theme-provider/package.json +0 -5
  189. package/dist/s-theme-switch/package.json +0 -5
  190. package/dist/s-tip/package.json +0 -5
  191. package/dist/s-two-pane-layout/package.json +0 -5
  192. package/dist/s-typewriter-text/package.json +0 -6
  193. package/dist/s-zoom-image/package.json +0 -5
  194. package/dist/utils/bytes-to-size.d.ts +0 -1
  195. package/dist/utils/bytes-to-size.js +0 -9
  196. 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 a from "react";
3
- import { Snackbar as S, Alert as h } from "@mui/material";
3
+ import { Snackbar as k, Alert as h } from "@mui/material";
4
4
  import { useDialog as x } from "../hooks/use-dialog.js";
5
5
  const c = ({
6
6
  message: s,
@@ -10,7 +10,7 @@ const c = ({
10
10
  snackbarProps: t,
11
11
  alertProps: o
12
12
  }) => /* @__PURE__ */ r.jsx(
13
- S,
13
+ k,
14
14
  {
15
15
  open: n,
16
16
  autoHideDuration: 1e4,
@@ -21,21 +21,21 @@ const c = ({
21
21
  }
22
22
  );
23
23
  c.displayName = "SSnackbarMessage";
24
- const l = a.createContext(null), C = ({ children: s }) => {
24
+ const i = a.createContext(null), j = ({ children: s }) => {
25
25
  const e = x(), [n, t] = a.useState({
26
26
  message: ""
27
- }), [o, i] = a.useState({}), [p, u] = a.useState({}), g = {
28
- handleOpen: a.useCallback(
29
- ({ snackbarMessageOptions: d, snackbarProps: b = {}, alertProps: m = {} }) => {
30
- const { message: k } = d || { message: "" };
31
- t({ message: k }), i(b), u(m), e.handleOpen();
27
+ }), [o, l] = a.useState({}), [p, u] = a.useState({}), g = a.useMemo(
28
+ () => ({
29
+ handleOpen: ({ snackbarMessageOptions: d, snackbarProps: m = {}, alertProps: b = {} }) => {
30
+ const { message: S } = d || { message: "" };
31
+ t({ message: S }), l(m), u(b), e.handleOpen();
32
32
  },
33
- [e]
34
- ),
35
- handleClose: e.handleClose,
36
- open: e.open
37
- };
38
- return /* @__PURE__ */ r.jsxs(l.Provider, { value: g, children: [
33
+ handleClose: e.handleClose,
34
+ open: e.open
35
+ }),
36
+ [e]
37
+ );
38
+ return /* @__PURE__ */ r.jsxs(i.Provider, { value: g, children: [
39
39
  /* @__PURE__ */ r.jsx(
40
40
  c,
41
41
  {
@@ -48,15 +48,15 @@ const l = a.createContext(null), C = ({ children: s }) => {
48
48
  ),
49
49
  s
50
50
  ] });
51
- }, j = () => {
52
- const s = a.useContext(l);
51
+ }, v = () => {
52
+ const s = a.useContext(i);
53
53
  if (!s)
54
54
  throw new Error("useSnackbarMessage must be used within a SnackbarMessageProvider");
55
55
  return s;
56
56
  };
57
57
  export {
58
58
  c as SSnackbarMessage,
59
- C as SnackbarMessageProvider,
59
+ j as SnackbarMessageProvider,
60
60
  c as default,
61
- j as useSnackbarMessage
61
+ v as useSnackbarMessage
62
62
  };
@@ -1,7 +1,7 @@
1
1
  import { CardCvcElement } from '@stripe/react-stripe-js';
2
2
  import { StripeTextFieldProps } from './s-stripe';
3
3
  /** Card security code (CVC/CVV) input field with Stripe integration. */
4
- export declare function SStripeCVC(props: StripeTextFieldProps<typeof CardCvcElement>): import("react/jsx-runtime").JSX.Element;
4
+ export declare function SStripeCVC(props: Readonly<StripeTextFieldProps<typeof CardCvcElement>>): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace SStripeCVC {
6
6
  var displayName: string;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { CardExpiryElement } from '@stripe/react-stripe-js';
2
2
  import { StripeTextFieldProps } from './s-stripe';
3
3
  /** Card expiration date input field with Stripe integration. */
4
- export declare function SStripeExpiry(props: StripeTextFieldProps<typeof CardExpiryElement>): import("react/jsx-runtime").JSX.Element;
4
+ export declare function SStripeExpiry(props: Readonly<StripeTextFieldProps<typeof CardExpiryElement>>): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace SStripeExpiry {
6
6
  var displayName: string;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { CardNumberElement } from '@stripe/react-stripe-js';
2
2
  import { StripeTextFieldProps } from './s-stripe';
3
3
  /** Card number input field with Stripe integration. */
4
- export declare function SStripeNumber(props: StripeTextFieldProps<typeof CardNumberElement>): import("react/jsx-runtime").JSX.Element;
4
+ export declare function SStripeNumber(props: Readonly<StripeTextFieldProps<typeof CardNumberElement>>): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace SStripeNumber {
6
6
  var displayName: string;
7
7
  }
@@ -7,5 +7,5 @@ import * as React from 'react';
7
7
  * @param ref - Forward ref for focus management
8
8
  * @returns JSX element containing configured Stripe element
9
9
  */
10
- declare const StripeInput: React.ForwardRefExoticComponent<Omit<InputBaseComponentProps, "ref"> & React.RefAttributes<any>>;
10
+ declare const StripeInput: React.ForwardRefExoticComponent<Omit<InputBaseComponentProps, "ref"> & React.RefAttributes<unknown>>;
11
11
  export default StripeInput;
@@ -1,30 +1,30 @@
1
1
  import { j as c } from "../jsx-runtime-tc70JA_2.js";
2
- import * as o from "react";
3
- import { c as a } from "../createSvgIcon-DTNHY3_v.js";
4
- import { MenuItem as p } from "@mui/material";
5
- import { STextField as d } from "../s-text-field/s-text-field.js";
6
- import { I as f, S as j, F as k } from "../Select-J5gDqfEk.js";
7
- import { S as m } from "../Stack-BlwLEm6H.js";
8
- import { P as H } from "../Menu-_ZW9WiF2.js";
2
+ import * as l from "react";
3
+ import { c as a } from "../createSvgIcon-BkbeLOhM.js";
4
+ import { MenuItem as m } from "@mui/material";
5
+ import { STextField as x } from "../s-text-field/s-text-field.js";
6
+ import { I as d, S as j, F as k } from "../Select-80JhW337.js";
7
+ import { S as f } from "../Stack-Dfjnuorw.js";
8
+ import { P as H } from "../Menu-GVFDMHCN.js";
9
9
  const L = a(/* @__PURE__ */ c.jsx("path", {
10
10
  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"
11
11
  }), "Code"), b = a(/* @__PURE__ */ c.jsx("path", {
12
12
  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"
13
13
  }), "FormatBold"), C = a(/* @__PURE__ */ c.jsx("path", {
14
14
  d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"
15
- }), "FormatItalic"), A = a(/* @__PURE__ */ c.jsx("path", {
15
+ }), "FormatItalic"), I = a(/* @__PURE__ */ c.jsx("path", {
16
16
  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"
17
- }), "FormatListBulleted"), I = a(/* @__PURE__ */ c.jsx("path", {
17
+ }), "FormatListBulleted"), S = a(/* @__PURE__ */ c.jsx("path", {
18
18
  d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z"
19
- }), "FormatListNumbered"), x = a(/* @__PURE__ */ c.jsx("path", {
19
+ }), "FormatListNumbered"), g = a(/* @__PURE__ */ c.jsx("path", {
20
20
  d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
21
- }), "Link"), S = a(/* @__PURE__ */ c.jsx("path", {
21
+ }), "Link"), z = a(/* @__PURE__ */ c.jsx("path", {
22
22
  d: "M6.85 7.08C6.85 4.37 9.45 3 12.24 3c1.64 0 3 .49 3.9 1.28.77.65 1.46 1.73 1.46 3.24h-3.01c0-.31-.05-.59-.15-.85-.29-.86-1.2-1.28-2.25-1.28-1.86 0-2.34 1.02-2.34 1.7 0 .48.25.88.74 1.21.38.25.77.48 1.41.7H7.39c-.21-.34-.54-.89-.54-1.92M21 12v-2H3v2h9.62c1.15.45 1.96.75 1.96 1.97 0 1-.81 1.67-2.28 1.67-1.54 0-2.93-.54-2.93-2.51H6.4c0 .55.08 1.13.24 1.58.81 2.29 3.29 3.3 5.67 3.3 2.27 0 5.3-.89 5.3-4.05 0-.3-.01-1.16-.48-1.94H21z"
23
23
  }), "StrikethroughS"), N = ({ editor: n }) => {
24
- const [v, t] = o.useState(!1), [g, i] = o.useState(null), [l, r] = o.useState("");
25
- return /* @__PURE__ */ c.jsxs(o.Fragment, { children: [
24
+ const [o, e] = l.useState(!1), [p, i] = l.useState(null), [r, h] = l.useState("");
25
+ return /* @__PURE__ */ c.jsxs(l.Fragment, { children: [
26
26
  /* @__PURE__ */ c.jsx(
27
- m,
27
+ f,
28
28
  {
29
29
  className: "tiptap-toolbar",
30
30
  spacing: 1,
@@ -34,43 +34,43 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
34
34
  p: "8px",
35
35
  minHeight: "57px"
36
36
  },
37
- children: n ? /* @__PURE__ */ c.jsxs(m, { direction: "row", spacing: 0.5, sx: { alignItems: "center", flexWrap: "wrap" }, children: [
37
+ children: n ? /* @__PURE__ */ c.jsxs(f, { direction: "row", spacing: 0.5, sx: { alignItems: "center", flexWrap: "wrap" }, children: [
38
38
  /* @__PURE__ */ c.jsxs(
39
39
  j,
40
40
  {
41
- onChange: (e) => {
42
- const h = e.target.value;
43
- if (h) {
44
- if (h === "p") {
41
+ onChange: (s) => {
42
+ const u = s.target.value;
43
+ if (u) {
44
+ if (u === "p") {
45
45
  n.chain().focus().setParagraph().run();
46
46
  return;
47
47
  }
48
- if (h.startsWith("h")) {
49
- const u = parseInt(h.replace("h", ""));
50
- !isNaN(u) && u >= 1 && u <= 6 && n.chain().focus().setHeading({ level: u }).run();
48
+ if (u.startsWith("h")) {
49
+ const v = parseInt(u.replace("h", ""));
50
+ !isNaN(v) && v >= 1 && v <= 6 && n.chain().focus().setHeading({ level: v }).run();
51
51
  }
52
52
  }
53
53
  },
54
- value: z(n),
54
+ value: B(n),
55
55
  children: [
56
- /* @__PURE__ */ c.jsx(p, { disabled: !n.can().chain().focus().setParagraph().run(), value: "p", children: "Paragraph" }),
57
- [1, 2, 3, 4, 5, 6].map((e) => /* @__PURE__ */ c.jsxs(
58
- p,
56
+ /* @__PURE__ */ c.jsx(m, { disabled: !n.can().chain().focus().setParagraph().run(), value: "p", children: "Paragraph" }),
57
+ [1, 2, 3, 4, 5, 6].map((s) => /* @__PURE__ */ c.jsxs(
58
+ m,
59
59
  {
60
- disabled: !n.can().chain().focus().setHeading({ level: e }).run(),
61
- value: `h${e}`,
60
+ disabled: !n.can().chain().focus().setHeading({ level: s }).run(),
61
+ value: `h${s}`,
62
62
  children: [
63
63
  "Heading ",
64
- e
64
+ s
65
65
  ]
66
66
  },
67
- e
67
+ s
68
68
  ))
69
69
  ]
70
70
  }
71
71
  ),
72
72
  /* @__PURE__ */ c.jsx(
73
- s,
73
+ t,
74
74
  {
75
75
  active: n.isActive("bold"),
76
76
  disabled: !n.can().chain().focus().toggleBold().run(),
@@ -81,7 +81,7 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
81
81
  }
82
82
  ),
83
83
  /* @__PURE__ */ c.jsx(
84
- s,
84
+ t,
85
85
  {
86
86
  active: n.isActive("italic"),
87
87
  disabled: !n.can().chain().focus().toggleItalic().run(),
@@ -92,18 +92,18 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
92
92
  }
93
93
  ),
94
94
  /* @__PURE__ */ c.jsx(
95
- s,
95
+ t,
96
96
  {
97
97
  active: n.isActive("strike"),
98
98
  disabled: !n.can().chain().focus().toggleStrike().run(),
99
99
  onClick: () => {
100
100
  n.chain().focus().toggleStrike().run();
101
101
  },
102
- children: /* @__PURE__ */ c.jsx(S, {})
102
+ children: /* @__PURE__ */ c.jsx(z, {})
103
103
  }
104
104
  ),
105
105
  /* @__PURE__ */ c.jsx(
106
- s,
106
+ t,
107
107
  {
108
108
  active: n.isActive("codeBlock"),
109
109
  disabled: !n.can().chain().focus().toggleCodeBlock().run(),
@@ -114,45 +114,45 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
114
114
  }
115
115
  ),
116
116
  /* @__PURE__ */ c.jsx(
117
- s,
117
+ t,
118
118
  {
119
119
  active: n.isActive("bulletList"),
120
120
  disabled: !n.can().chain().focus().toggleBulletList().run(),
121
121
  onClick: () => {
122
122
  n.chain().focus().toggleBulletList().run();
123
123
  },
124
- children: /* @__PURE__ */ c.jsx(A, {})
124
+ children: /* @__PURE__ */ c.jsx(I, {})
125
125
  }
126
126
  ),
127
127
  /* @__PURE__ */ c.jsx(
128
- s,
128
+ t,
129
129
  {
130
130
  active: n.isActive("orderedList"),
131
131
  disabled: !n.can().chain().focus().toggleOrderedList().run(),
132
132
  onClick: () => {
133
133
  n.chain().focus().toggleOrderedList().run();
134
134
  },
135
- children: /* @__PURE__ */ c.jsx(I, {})
135
+ children: /* @__PURE__ */ c.jsx(S, {})
136
136
  }
137
137
  ),
138
138
  /* @__PURE__ */ c.jsx(
139
- s,
139
+ t,
140
140
  {
141
- onClick: (e) => {
142
- r(n.getAttributes("link").href ?? ""), i(e.currentTarget), t(!0);
141
+ onClick: (s) => {
142
+ h(n.getAttributes("link").href ?? ""), i(s.currentTarget), e(!0);
143
143
  },
144
- children: /* @__PURE__ */ c.jsx(x, {})
144
+ children: /* @__PURE__ */ c.jsx(g, {})
145
145
  }
146
146
  ),
147
147
  /* @__PURE__ */ c.jsx(
148
- s,
148
+ t,
149
149
  {
150
150
  active: n.isActive("link"),
151
151
  disabled: !n.can().chain().focus().unsetLink().run(),
152
152
  onClick: () => {
153
153
  n.chain().focus().unsetLink().run();
154
154
  },
155
- children: /* @__PURE__ */ c.jsx(x, {})
155
+ children: /* @__PURE__ */ c.jsx(g, {})
156
156
  }
157
157
  )
158
158
  ] }) : null
@@ -161,42 +161,46 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
161
161
  /* @__PURE__ */ c.jsx(
162
162
  H,
163
163
  {
164
- anchorEl: g,
164
+ anchorEl: p,
165
165
  anchorOrigin: { horizontal: "left", vertical: "bottom" },
166
166
  onClose: () => {
167
- t(!1), i(null), r("");
167
+ e(!1), i(null), h("");
168
168
  },
169
- open: v,
169
+ open: o,
170
170
  slotProps: { paper: { sx: { p: 2 } } },
171
171
  children: /* @__PURE__ */ c.jsx(k, { children: /* @__PURE__ */ c.jsx(
172
- d,
172
+ x,
173
173
  {
174
174
  name: "url",
175
175
  label: "URL",
176
- onChange: (e) => {
177
- r(e.target.value);
176
+ onChange: (s) => {
177
+ h(s.target.value);
178
178
  },
179
- onKeyUp: (e) => {
180
- if (e.key === "Enter") {
181
- if (l === "") {
179
+ onKeyUp: (s) => {
180
+ if (s.key === "Enter") {
181
+ if (r === "") {
182
182
  n?.chain().focus().extendMarkRange("link").unsetLink().run();
183
183
  return;
184
184
  }
185
- n?.chain().focus().setLink({ href: l }).run(), t(!1), i(null), r("");
185
+ n?.chain().focus().setLink({ href: r }).run(), e(!1), i(null), h("");
186
186
  }
187
187
  },
188
- value: l
188
+ value: r
189
189
  }
190
190
  ) })
191
191
  }
192
192
  )
193
193
  ] });
194
194
  };
195
- function z(n) {
196
- return n.isActive("paragraph") ? "p" : n.isActive("heading", { level: 1 }) ? "h1" : n.isActive("heading", { level: 2 }) ? "h2" : n.isActive("heading", { level: 3 }) ? "h3" : n.isActive("heading", { level: 4 }) ? "h4" : n.isActive("heading", { level: 5 }) ? "h5" : n.isActive("heading", { level: 6 }) ? "h6" : "p";
195
+ function B(n) {
196
+ if (n.isActive("paragraph")) return "p";
197
+ const o = [1, 2, 3, 4, 5, 6];
198
+ for (const e of o)
199
+ if (n.isActive("heading", { level: e })) return `h${e}`;
200
+ return "p";
197
201
  }
198
- const s = o.forwardRef(function({ active: v, children: t, disabled: g, onClick: i }, l) {
199
- return /* @__PURE__ */ c.jsx(f, { color: v ? "primary" : "inherit", disabled: g, onClick: i, ref: l, children: t });
202
+ const t = l.forwardRef(function({ active: o, children: e, disabled: p, onClick: i }, r) {
203
+ return /* @__PURE__ */ c.jsx(d, { color: o ? "primary" : "inherit", disabled: p, onClick: i, ref: r, children: e });
200
204
  });
201
205
  export {
202
206
  N as STextEditorToolbar
@@ -5,7 +5,7 @@ import { Placeholder as m } from "@tiptap/extension-placeholder";
5
5
  import { useEditor as f, EditorContent as d } from "@tiptap/react";
6
6
  import { StarterKit as c } from "@tiptap/starter-kit";
7
7
  import { STextEditorToolbar as x } from "./s-text-editor-toolbar.js";
8
- import { B as u } from "../Box-p3bpOtdn.js";
8
+ import { B as u } from "../Box-BkXoTbe8.js";
9
9
  const h = ({
10
10
  content: o,
11
11
  editable: t = !0,
@@ -2,7 +2,7 @@ import { j as s } from "../jsx-runtime-tc70JA_2.js";
2
2
  import { useState as u } from "react";
3
3
  import { TextField as j, InputAdornment as h, IconButton as w } from "@mui/material";
4
4
  import { SForm as y } from "../s-form/s-form.js";
5
- import { c as r } from "../createSvgIcon-DTNHY3_v.js";
5
+ import { c as r } from "../createSvgIcon-BkbeLOhM.js";
6
6
  const b = r(/* @__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"), g = r(/* @__PURE__ */ s.jsx("path", {
@@ -1,7 +1,7 @@
1
1
  import { j as i } from "../jsx-runtime-tc70JA_2.js";
2
2
  import { forwardRef as s, useMemo as p } from "react";
3
3
  import { Typography as d } from "@mui/material";
4
- import { s as m } from "../styled-BR6UL29H.js";
4
+ import { s as m } from "../styled-8Y5KoVix.js";
5
5
  import { keyframes as c } from "@emotion/react";
6
6
  const l = c`
7
7
  0% {
@@ -22,8 +22,8 @@ const l = c`
22
22
  backgroundRepeat: "no-repeat, padding-box",
23
23
  animation: `${l} ${e}s linear infinite`,
24
24
  "--spread": `${a}px`,
25
- "--base-color": (r.vars || r).palette.text.disabled,
26
- "--base-gradient-color": (r.vars || r).palette.text.primary,
25
+ "--base-color": (r.vars ?? r).palette.text.disabled,
26
+ "--base-gradient-color": (r.vars ?? r).palette.text.primary,
27
27
  backgroundImage: "linear-gradient(90deg, transparent calc(50% - var(--spread)), var(--base-gradient-color), transparent calc(50% + var(--spread))), linear-gradient(var(--base-color), var(--base-color))"
28
28
  })), b = s(
29
29
  ({ children: r, duration: e = 2, spread: a = 2, ...o }, t) => {
@@ -5,8 +5,8 @@ import { SButton as i } from "../s-button/s-button.js";
5
5
  import { SForm as v } from "../s-form/s-form.js";
6
6
  import { STextField as m } from "../s-text-field/s-text-field.js";
7
7
  import y from "../s-theme-switch/s-theme-switch.js";
8
- import { c as p } from "../createSvgIcon-DTNHY3_v.js";
9
- import { F as b } from "../Favorite-Cvjg7GqN.js";
8
+ import { c as p } from "../createSvgIcon-BkbeLOhM.js";
9
+ import { F as b } from "../Favorite-Bz_HcMgN.js";
10
10
  const f = p(/* @__PURE__ */ r.jsx("path", {
11
11
  d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
12
12
  }), "Add"), S = p(/* @__PURE__ */ r.jsx("path", {
@@ -11,7 +11,7 @@ export interface SThemeProviderProps extends Omit<ThemeProviderProps, 'defaultMo
11
11
  /** Additional theme component overrides */
12
12
  themeComponents?: ThemeOptions['components'];
13
13
  /** Default color mode (defaults to 'system') */
14
- defaultMode?: 'light' | 'dark' | 'system' | undefined;
14
+ defaultMode?: 'light' | 'dark' | 'system';
15
15
  /** Custom theme object to merge with internal theme */
16
16
  theme?: Theme;
17
17
  }
@@ -2,7 +2,7 @@ import { j as t } from "../jsx-runtime-tc70JA_2.js";
2
2
  import { useRef as M, useCallback as m } from "react";
3
3
  import { IconButton as f } from "@mui/material";
4
4
  import { flushSync as w } from "react-dom";
5
- import { c as d } from "../createSvgIcon-DTNHY3_v.js";
5
+ import { c as d } from "../createSvgIcon-BkbeLOhM.js";
6
6
  const k = d(/* @__PURE__ */ t.jsx("path", {
7
7
  d: "M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"
8
8
  }), "DarkMode"), j = d(/* @__PURE__ */ t.jsx("path", {
@@ -1,7 +1,7 @@
1
1
  import { j as t } from "../jsx-runtime-tc70JA_2.js";
2
- import { c as i } from "../createSvgIcon-DTNHY3_v.js";
3
- import { S as s } from "../Stack-BlwLEm6H.js";
4
- import { T as o } from "../Typography-Cum5_Ehu.js";
2
+ import { c as i } from "../createSvgIcon-BkbeLOhM.js";
3
+ import { S as s } from "../Stack-Dfjnuorw.js";
4
+ import { T as o } from "../Typography-PcmlIqm1.js";
5
5
  const c = i(/* @__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"), e = ({ message: r }) => /* @__PURE__ */ t.jsxs(
@@ -1,7 +1,7 @@
1
- import { d as N } from "./defaultTheme-DLue8Fr1.js";
1
+ import { d as N } from "./defaultTheme-CulFxfLR.js";
2
2
  import { T as q } from "./identifier-BKLqN993.js";
3
3
  import { i as S, a as G, s as J } from "./index-D3G5Rwl-.js";
4
- import { k as E, e as Q, s as L, i as U, c as X } from "./createTheme-CIXJrNxb.js";
4
+ import { k as E, e as Q, s as L, i as U, c as X } from "./createTheme-DgoJyWM-.js";
5
5
  function V(e, n = "") {
6
6
  return e.displayName || e.name || n;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import { j as r } from "../../jsx-runtime-tc70JA_2.js";
2
- import { c as o } from "../../createSvgIcon-DTNHY3_v.js";
2
+ import { c as o } from "../../createSvgIcon-BkbeLOhM.js";
3
3
  const s = o(/* @__PURE__ */ r.jsx("path", {
4
4
  d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"
5
5
  }), "Person"), c = {
@@ -5,10 +5,10 @@ export declare const MuiButton: {
5
5
  };
6
6
  styleOverrides: {
7
7
  root: ({ theme, ownerState }: import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "loading" | "size" | "disabled" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loadingIndicator" | "startIcon" | "fullWidth" | "disableElevation" | "endIcon" | "loadingPosition"> & {
8
- component?: React.ElementType;
8
+ component?: React.ElementType | undefined;
9
9
  } & Record<string, unknown> & {
10
10
  ownerState: import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "loading" | "size" | "disabled" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loadingIndicator" | "startIcon" | "fullWidth" | "disableElevation" | "endIcon" | "loadingPosition"> & {
11
- component?: React.ElementType;
11
+ component?: React.ElementType | undefined;
12
12
  } & Record<string, unknown>;
13
13
  } & {
14
14
  theme: Theme;
@@ -51,7 +51,7 @@ const o = (i, r) => i === "text" || i === "outlined" ? "transparent" : r, s = (i
51
51
  styleOverrides: {
52
52
  root: ({ theme: i, ownerState: r }) => ({
53
53
  boxShadow: "none",
54
- borderRadius: (i.vars || i).shape.borderRadius,
54
+ borderRadius: (i.vars ?? i).shape.borderRadius,
55
55
  textTransform: "none",
56
56
  transition: "all 0.2s ease-in-out",
57
57
  variants: [
@@ -11,10 +11,10 @@ export declare const MuiChip: {
11
11
  };
12
12
  styleOverrides: {
13
13
  root: ({ theme }: import('@mui/material').ChipOwnProps & import('@mui/material').ChipSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "size" | "icon" | "disabled" | "slots" | "slotProps" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & {
14
- component?: React.ElementType;
14
+ component?: React.ElementType | undefined;
15
15
  } & Record<string, unknown> & {
16
16
  ownerState: import('@mui/material').ChipOwnProps & import('@mui/material').ChipSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "size" | "icon" | "disabled" | "slots" | "slotProps" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & {
17
- component?: React.ElementType;
17
+ component?: React.ElementType | undefined;
18
18
  } & Record<string, unknown>;
19
19
  } & {
20
20
  theme: Theme;
@@ -1,7 +1,7 @@
1
1
  import { j as p } from "../../jsx-runtime-tc70JA_2.js";
2
2
  import { chipClasses as l } from "@mui/material";
3
3
  import { gray as a, lightGray as i, brand as n, lightBrand as t, purple as c, lightPurple as d, green as y, lightGreen as g, red as u, lightRed as b, orange as f, lightOrange as m, blue as x, lightBlue as $ } from "../theme-primitives.js";
4
- import { C } from "../../Close-C-pCw-CD.js";
4
+ import { C } from "../../Close-lHCUMitI.js";
5
5
  const o = (r, e, s) => ({
6
6
  border: "none",
7
7
  ...r.applyStyles("light", {
@@ -2,10 +2,10 @@ import { Theme } from '@mui/material';
2
2
  export declare const MuiIconButton: {
3
3
  styleOverrides: {
4
4
  root: ({ theme }: import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "tabIndex" | "color" | "loading" | "size" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loadingIndicator"> & {
5
- component?: React.ElementType;
5
+ component?: React.ElementType | undefined;
6
6
  } & Record<string, unknown> & {
7
7
  ownerState: import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "tabIndex" | "color" | "loading" | "size" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loadingIndicator"> & {
8
- component?: React.ElementType;
8
+ component?: React.ElementType | undefined;
9
9
  } & Record<string, unknown>;
10
10
  } & {
11
11
  theme: Theme;
@@ -2,10 +2,10 @@ const o = {
2
2
  defaultProps: { elevation: 0 },
3
3
  styleOverrides: {
4
4
  paper: ({ theme: r }) => ({
5
- borderRadius: (r.vars || r).shape.borderRadius,
5
+ borderRadius: (r.vars ?? r).shape.borderRadius,
6
6
  marginTop: 4,
7
7
  border: "1px solid",
8
- borderColor: (r.vars || r).palette.divider
8
+ borderColor: (r.vars ?? r).palette.divider
9
9
  })
10
10
  }
11
11
  };
@@ -1,7 +1,7 @@
1
1
  const r = {
2
2
  styleOverrides: {
3
3
  root: ({ theme: o }) => ({
4
- backgroundColor: (o.vars || o).palette.divider
4
+ backgroundColor: (o.vars ?? o).palette.divider
5
5
  })
6
6
  }
7
7
  };
@@ -5,16 +5,16 @@ const o = {
5
5
  },
6
6
  styleOverrides: {
7
7
  tooltip: ({ theme: r }) => ({
8
- backgroundColor: (r.vars || r).palette.background.default,
8
+ backgroundColor: (r.vars ?? r).palette.background.default,
9
9
  border: "1px solid",
10
- borderColor: (r.vars || r).palette.divider,
11
- color: (r.vars || r).palette.text.primary
10
+ borderColor: (r.vars ?? r).palette.divider,
11
+ color: (r.vars ?? r).palette.text.primary
12
12
  }),
13
13
  arrow: ({ theme: r }) => ({
14
- color: (r.vars || r).palette.background.default,
14
+ color: (r.vars ?? r).palette.background.default,
15
15
  "&::before": {
16
16
  border: "1px solid",
17
- borderColor: (r.vars || r).palette.divider
17
+ borderColor: (r.vars ?? r).palette.divider
18
18
  }
19
19
  })
20
20
  }