@solostylist/ui-kit 1.0.225 → 1.0.226

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 (242) hide show
  1. package/dist/{ArrowUpward-BMKLosZj.js → ArrowUpward-DONVUi9Q.js} +1 -1
  2. package/dist/{ButtonBase-Bo6ysVGS.js → ButtonBase-BDefit5I.js} +100 -99
  3. package/dist/{ChevronRight-OLNOfW9P.js → ChevronRight-cBbrlMYh.js} +1 -1
  4. package/dist/{Close-Bj2HYB9Q.js → Close-DRS0T6Yu.js} +1 -1
  5. package/dist/{Collapse-CnXmaDqT.js → Collapse-Dtji6IrM.js} +4 -3
  6. package/dist/{ContentCopy-Br2p19dq.js → ContentCopy-C4mVqexq.js} +1 -1
  7. package/dist/{Download-BhSXOhCI.js → Download-D277qwl2.js} +1 -1
  8. package/dist/{ExpandMore-Bu7_1g6Q.js → ExpandMore-DIsT5FOp.js} +1 -1
  9. package/dist/{Favorite-BJSuHe0H.js → Favorite-CbvuQfe4.js} +1 -1
  10. package/dist/{FormControl-DYkaP-oD.js → FormControl-DMZWdEWz.js} +6 -6
  11. package/dist/{InfoOutlined-C1AW3f5V.js → InfoOutlined-BCzG-5py.js} +1 -1
  12. package/dist/{Menu-C-0KEauj.js → Menu-CbHevx8q.js} +20 -20
  13. package/dist/{MenuItem-DWivWkNb.js → MenuItem-CCClg9Si.js} +8 -8
  14. package/dist/{MenuList-5HOyYdgq.js → MenuList-5C2nFAWS.js} +45 -45
  15. package/dist/{Modal-C1VRVWBZ.js → Modal-Cu5Cgh-q.js} +109 -108
  16. package/dist/{Paper-BY4X6-u_.js → Paper-Cy7rReyx.js} +1 -1
  17. package/dist/{Typography-EsraKPZO.js → Typography-DqtTB0ZJ.js} +2 -2
  18. package/dist/{UnfoldMoreRounded-pz7NMMy3.js → UnfoldMoreRounded-Cbt8Oi8S.js} +1 -1
  19. package/dist/{autocomplete-qLj7AqcP.js → autocomplete-Du0flrk6.js} +1 -1
  20. package/dist/{avatar-BuMhUthq.js → avatar-DQtjHpOs.js} +2 -2
  21. package/dist/{checkbox-B95Vlykq.js → checkbox-BGA2cVbl.js} +17 -17
  22. package/dist/{createSvgIcon-BdNZIlKS.js → createSvgIcon-HW-tbFcL.js} +1 -1
  23. package/dist/{mergeSlotProps-DBBJwoun.js → mergeSlotProps-slENzJO5.js} +1 -1
  24. package/dist/monthCalendarClasses-C1jHkjgt.js +14 -0
  25. package/dist/s-accordion/index.js +1 -1
  26. package/dist/s-accordion/s-accordion.js +1 -1
  27. package/dist/{s-accordion-CXHBadZ_.js → s-accordion-D2VsBSgb.js} +7 -7
  28. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  29. package/dist/s-carousel/index.js +1 -1
  30. package/dist/s-carousel/s-carousel.js +1 -1
  31. package/dist/{s-carousel-BUJYCigy.js → s-carousel-S6CRrrpW.js} +7 -9
  32. package/dist/s-category-card/s-category-card.js +0 -1
  33. package/dist/s-chat-input/index.js +1 -1
  34. package/dist/s-chat-input/s-chat-input.js +1 -1
  35. package/dist/s-chat-input-DNptuBb0.js +352 -0
  36. package/dist/s-chat-message/index.js +1 -1
  37. package/dist/s-chat-message/s-chat-message.js +1 -1
  38. package/dist/{s-chat-message-Cb1npIQO.js → s-chat-message-Bsvsh45G.js} +4 -6
  39. package/dist/s-chips/index.js +1 -1
  40. package/dist/s-chips/s-chips.js +1 -1
  41. package/dist/{s-chips-DelHx6zM.js → s-chips-CH0zKaz-.js} +1 -1
  42. package/dist/s-code-block/index.js +1 -1
  43. package/dist/s-code-block/s-code-block.js +1 -1
  44. package/dist/{s-code-block-sjt0AQb_.js → s-code-block-ByNQ4Zq5.js} +1 -1
  45. package/dist/s-comment-message/index.js +1 -1
  46. package/dist/s-comment-message/s-comment-message.js +1 -1
  47. package/dist/{s-comment-message-DzjXXLZQ.js → s-comment-message-DF580Qxk.js} +13 -19
  48. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  49. package/dist/s-data-table/index.js +1 -1
  50. package/dist/s-data-table/s-data-table.js +1 -1
  51. package/dist/{s-data-table-TrCdKq9r.js → s-data-table-B8llaX-A.js} +9 -9
  52. package/dist/s-date-picker/index.js +1 -1
  53. package/dist/s-date-picker/picker-action-bar.d.ts +12 -0
  54. package/dist/s-date-picker/picker-action-bar.js +52 -0
  55. package/dist/s-date-picker/s-date-picker.d.ts +1 -4
  56. package/dist/s-date-picker/s-date-picker.js +1 -1
  57. package/dist/s-date-picker-CLncO3oo.js +640 -0
  58. package/dist/s-datetime-picker/index.js +1 -1
  59. package/dist/s-datetime-picker/s-datetime-picker.d.ts +1 -4
  60. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  61. package/dist/{s-datetime-picker-rCWovez1.js → s-datetime-picker-Dy1fX3rI.js} +806 -799
  62. package/dist/s-dialog/s-dialog.js +2 -3
  63. package/dist/s-dialog-confirm/s-dialog-confirm.js +3 -4
  64. package/dist/s-dialog-message/s-dialog-message.js +3 -4
  65. package/dist/s-empty/s-empty.js +2 -5
  66. package/dist/s-error/s-error.js +1 -1
  67. package/dist/s-error-layout/s-error-layout.d.ts +1 -1
  68. package/dist/s-error-layout/s-error-layout.js +3 -2
  69. package/dist/s-file-dropzone/index.js +1 -1
  70. package/dist/s-file-dropzone/s-file-dropzone.d.ts +1 -4
  71. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  72. package/dist/{s-file-dropzone-oaQoRV92.js → s-file-dropzone-CbaOf3_3.js} +47 -42
  73. package/dist/s-gallery/gallery-grid-item.d.ts +17 -0
  74. package/dist/s-gallery/gallery-grid-item.js +112 -0
  75. package/dist/s-gallery/gallery-layout.d.ts +16 -0
  76. package/dist/s-gallery/gallery-layout.js +50 -0
  77. package/dist/s-gallery/gallery-media-item.d.ts +15 -0
  78. package/dist/s-gallery/gallery-media-item.js +112 -0
  79. package/dist/s-gallery/index.d.ts +5 -2
  80. package/dist/s-gallery/index.js +2 -1
  81. package/dist/s-gallery/s-gallery.d.ts +1 -17
  82. package/dist/s-gallery/s-gallery.js +38 -284
  83. package/dist/s-image-comparison/s-image-comparison.js +46 -42
  84. package/dist/s-image-modal/default-media-item.d.ts +9 -0
  85. package/dist/s-image-modal/default-media-item.js +34 -0
  86. package/dist/s-image-modal/image-modal-thumbnail-dock.d.ts +11 -0
  87. package/dist/s-image-modal/image-modal-thumbnail-dock.js +102 -0
  88. package/dist/s-image-modal/index.d.ts +2 -2
  89. package/dist/s-image-modal/index.js +2 -1
  90. package/dist/s-image-modal/s-image-modal.d.ts +1 -58
  91. package/dist/s-image-modal/s-image-modal.js +2 -2
  92. package/dist/s-image-modal/types.d.ts +52 -0
  93. package/dist/s-image-modal/types.js +0 -0
  94. package/dist/s-image-modal/use-image-modal-navigation.d.ts +29 -0
  95. package/dist/s-image-modal/use-image-modal-navigation.js +57 -0
  96. package/dist/s-image-modal-hhRD4727.js +243 -0
  97. package/dist/s-label/s-label.js +1 -1
  98. package/dist/s-language-switcher/index.js +1 -1
  99. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  100. package/dist/{s-language-switcher-vievp2VS.js → s-language-switcher-BKK0r8Kh.js} +4 -4
  101. package/dist/s-localization-provider/index.js +1 -1
  102. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  103. package/dist/{s-localization-provider-YCsec18c.js → s-localization-provider-DDO9UEu_.js} +4 -4
  104. package/dist/s-nav-item/s-nav-item.js +1 -1
  105. package/dist/s-nav-items/s-nav-items.js +4 -7
  106. package/dist/s-pagination/s-pagination.js +12 -15
  107. package/dist/s-review/index.js +1 -1
  108. package/dist/s-review/s-review.js +1 -1
  109. package/dist/{s-review-DjvDY-h4.js → s-review-f0OI1oqM.js} +18 -27
  110. package/dist/s-scroll-reveal/s-scroll-reveal.js +1 -1
  111. package/dist/s-scroll-to-top/s-scroll-to-top.js +1 -1
  112. package/dist/s-select/index.js +1 -1
  113. package/dist/s-select/s-select.js +1 -1
  114. package/dist/{s-select-B-dEcddK.js → s-select-BqWS_5Bs.js} +1 -1
  115. package/dist/s-select-list/s-select-list.js +2 -11
  116. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +23 -15
  117. package/dist/s-stripe/s-stripe-cvc.d.ts +1 -5
  118. package/dist/s-stripe/s-stripe-cvc.js +11 -11
  119. package/dist/s-stripe/s-stripe-expiry.d.ts +1 -5
  120. package/dist/s-stripe/s-stripe-expiry.js +11 -11
  121. package/dist/s-stripe/s-stripe-number.d.ts +1 -5
  122. package/dist/s-stripe/s-stripe-number.js +11 -11
  123. package/dist/s-stripe/s-stripe.d.ts +11 -4
  124. package/dist/s-stripe/s-stripe.js +19 -17
  125. package/dist/s-stripe/stripe-input.js +41 -32
  126. package/dist/s-text-editor/index.js +1 -1
  127. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  128. package/dist/s-text-editor/s-text-editor.d.ts +1 -4
  129. package/dist/s-text-editor/s-text-editor.js +21 -24
  130. package/dist/{s-text-editor-toolbar-DP0MkICo.js → s-text-editor-toolbar-DrQ8v-4J.js} +45 -44
  131. package/dist/s-text-field/index.js +1 -1
  132. package/dist/s-text-field/s-text-field.d.ts +1 -4
  133. package/dist/s-text-field/s-text-field.js +1 -1
  134. package/dist/{s-text-field-GqcwXwta.js → s-text-field-DLSDoq7u.js} +20 -19
  135. package/dist/s-theme-demo/index.js +1 -1
  136. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  137. package/dist/{s-theme-demo-BpeyFRKt.js → s-theme-demo-DeY0K6MC.js} +4 -4
  138. package/dist/s-theme-provider/s-theme-provider.js +26 -25
  139. package/dist/s-theme-switch/index.js +1 -1
  140. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  141. package/dist/{s-theme-switch-V3Q58mkG.js → s-theme-switch-B0KHb2wu.js} +1 -1
  142. package/dist/s-tip/index.js +1 -1
  143. package/dist/s-tip/s-tip.js +1 -1
  144. package/dist/{s-tip-Dwu5T2u0.js → s-tip-Beuy9MLR.js} +2 -2
  145. package/dist/s-tool-bar/index.d.ts +1 -1
  146. package/dist/s-tool-bar/index.js +1 -1
  147. package/dist/s-tool-bar/s-tool-bar.d.ts +1 -155
  148. package/dist/s-tool-bar/s-tool-bar.js +114 -2
  149. package/dist/s-tool-bar/tool-bar-action-buttons.d.ts +15 -0
  150. package/dist/s-tool-bar/tool-bar-action-buttons.js +2 -0
  151. package/dist/s-tool-bar/tool-bar-image-input.d.ts +8 -0
  152. package/dist/s-tool-bar/tool-bar-image-input.js +2 -0
  153. package/dist/s-tool-bar/tool-bar-inputs.d.ts +3 -0
  154. package/dist/s-tool-bar/tool-bar-inputs.js +139 -0
  155. package/dist/s-tool-bar/types.d.ts +170 -0
  156. package/dist/s-tool-bar/types.js +0 -0
  157. package/dist/s-tool-bar/utils.d.ts +10 -0
  158. package/dist/s-tool-bar/utils.js +22 -0
  159. package/dist/theme/components/accordion-summary.js +2 -2
  160. package/dist/theme/components/accordion.js +1 -1
  161. package/dist/theme/components/alert.d.ts +1 -1
  162. package/dist/theme/components/alert.js +1 -1
  163. package/dist/theme/components/autocomplete.js +1 -1
  164. package/dist/theme/components/avatar.d.ts +10 -1
  165. package/dist/theme/components/avatar.js +1 -1
  166. package/dist/theme/components/card.js +4 -4
  167. package/dist/theme/components/checkbox.js +1 -1
  168. package/dist/theme/components/chip.js +17 -6
  169. package/dist/theme/components/components.js +134 -118
  170. package/dist/theme/components/date-calendar.d.ts +13 -0
  171. package/dist/theme/components/date-calendar.js +7 -0
  172. package/dist/theme/components/day-calendar.d.ts +14 -1
  173. package/dist/theme/components/day-calendar.js +14 -1
  174. package/dist/theme/components/dialog-actions.js +1 -1
  175. package/dist/theme/components/dialog-content.d.ts +13 -0
  176. package/dist/theme/components/dialog-content.js +7 -0
  177. package/dist/theme/components/dialog-title.d.ts +21 -0
  178. package/dist/theme/components/dialog-title.js +7 -0
  179. package/dist/theme/components/form-label.js +1 -1
  180. package/dist/theme/components/icon-button.d.ts +5 -1
  181. package/dist/theme/components/icon-button.js +18 -24
  182. package/dist/theme/components/linear-progress.js +2 -2
  183. package/dist/theme/components/link.d.ts +1 -1
  184. package/dist/theme/components/link.js +2 -2
  185. package/dist/theme/components/list-item-button.js +2 -2
  186. package/dist/theme/components/list-item.js +3 -3
  187. package/dist/theme/components/month-calendar.d.ts +27 -0
  188. package/dist/theme/components/month-calendar.js +14 -0
  189. package/dist/theme/components/multi-section-digital-clock-section.js +25 -0
  190. package/dist/theme/components/outlined-input.js +6 -6
  191. package/dist/theme/components/picker-day.d.ts +16 -2
  192. package/dist/theme/components/picker-day.js +13 -1
  193. package/dist/theme/components/pickers-arrow-switcher.d.ts +12 -0
  194. package/dist/theme/components/pickers-arrow-switcher.js +4 -0
  195. package/dist/theme/components/pickers-calendar-header.d.ts +38 -0
  196. package/dist/theme/components/pickers-calendar-header.js +24 -0
  197. package/dist/theme/components/select.js +2 -2
  198. package/dist/theme/components/slider.d.ts +29 -2
  199. package/dist/theme/components/slider.js +14 -2
  200. package/dist/theme/components/step-connector.d.ts +1 -1
  201. package/dist/theme/components/step-connector.js +1 -1
  202. package/dist/theme/components/step-icon.js +1 -1
  203. package/dist/theme/components/tab.js +1 -1
  204. package/dist/theme/components/table-pagination.js +1 -1
  205. package/dist/theme/components/toggle-button-group.js +1 -1
  206. package/dist/theme/components/toggle-button.js +1 -1
  207. package/dist/theme/components/year-calendar.d.ts +36 -0
  208. package/dist/theme/components/year-calendar.js +17 -0
  209. package/dist/theme/theme-primitives.d.ts +36 -0
  210. package/dist/theme/theme-primitives.js +2 -2
  211. package/dist/{theme-primitives-D2vHHGiX.js → theme-primitives-7ruiI7gY.js} +10 -3
  212. package/dist/{toggle-button-group-ABwIhV4P.js → toggle-button-group-Dx9fvVok.js} +4 -4
  213. package/dist/{toggle-button-BUsRxHn0.js → toggle-button-j6VLaPoa.js} +3 -3
  214. package/dist/tool-bar-action-buttons-B4QhqdK_.js +50 -0
  215. package/dist/tool-bar-image-input-BKFAtyJ1.js +138 -0
  216. package/dist/{useControlled-DXKqhylj.js → useControlled-BtZNCHV0.js} +1 -1
  217. package/dist/useForkRef-yOYCJHzF.js +29 -0
  218. package/dist/{useMobilePicker-ujH2nH2-.js → useMobilePicker-C8toWhEP.js} +7657 -7674
  219. package/dist/{useSlot-Dkc1Mj31.js → useSlot-IwEDsR9t.js} +107 -133
  220. package/dist/{utils-CCnIUPad.js → utils-CU6O7jrX.js} +5 -5
  221. package/dist/{LocalizationProvider-BdaUKqz3.js → warning-CFMmJJnf.js} +51 -51
  222. package/dist/yearCalendarClasses-DypEe_Vn.js +14 -0
  223. package/package.json +1 -1
  224. package/dist/s-chat-input-cOCqPTUS.js +0 -299
  225. package/dist/s-date-picker-BkZIEZoz.js +0 -634
  226. package/dist/s-image-modal-Za71QD3d.js +0 -397
  227. package/dist/s-tool-bar-DaZ2wT09.js +0 -454
  228. /package/dist/{buttonBaseClasses-BLZbMisL.js → buttonBaseClasses-BVDyR-hz.js} +0 -0
  229. /package/dist/{checkboxClasses-DSyvUOsN.js → checkboxClasses-DPzQcJz-.js} +0 -0
  230. /package/dist/{createSimplePaletteValueFilter-GHK52GLU.js → createSimplePaletteValueFilter-5v48HHyU.js} +0 -0
  231. /package/dist/{extends-D8CDMpIy.js → extends-DM-C9PwL.js} +0 -0
  232. /package/dist/{formLabelClasses-Cv7W0Roi.js → formLabelClasses-BfRVjiBm.js} +0 -0
  233. /package/dist/{iconButtonClasses-9jjSQ9-U.js → iconButtonClasses-LyjwljJq.js} +0 -0
  234. /package/dist/{inputAdornmentClasses-VKwluNTs.js → inputAdornmentClasses-DHmz00nZ.js} +0 -0
  235. /package/dist/{objectWithoutPropertiesLoose-BpY-kC5L.js → objectWithoutPropertiesLoose-kj3TmhoA.js} +0 -0
  236. /package/dist/{outlinedInputClasses-Cz4pnn0X.js → outlinedInputClasses-Z5R6RJE3.js} +0 -0
  237. /package/dist/{selectClasses-DvT1febA.js → selectClasses-vjNpSSyQ.js} +0 -0
  238. /package/dist/{svgIconClasses-D46YUMKp.js → svgIconClasses-BtHvkhy5.js} +0 -0
  239. /package/dist/{tabClasses-KqPlYv0c.js → tabClasses-CmFw6sbs.js} +0 -0
  240. /package/dist/{typographyClasses-CFf0OFiD.js → typographyClasses-CspzYrIn.js} +0 -0
  241. /package/dist/{useControlled-2-C6cXjG.js → useControlled-DuSwFVhD.js} +0 -0
  242. /package/dist/{useFormControl-B4z6ONhx.js → useFormControl-bYnTwZE5.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import { SSkeleton as e } from "../s-skeleton/s-skeleton.js";
2
2
  import "react";
3
3
  import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
4
- import { Box as i, Pagination as a, Stack as o, useMediaQuery as s, useTheme as c } from "@mui/material";
4
+ import { Pagination as i, Stack as a, useMediaQuery as o, useTheme as s } from "@mui/material";
5
5
  //#region lib/s-pagination/s-pagination.tsx
6
- var l = ({ style: t }) => /* @__PURE__ */ r(o, {
6
+ var c = ({ style: t }) => /* @__PURE__ */ r(a, {
7
7
  direction: "row",
8
8
  style: t,
9
9
  sx: {
10
+ display: "inline-flex",
10
11
  flexWrap: "wrap",
11
- gap: 1,
12
- justifyContent: "center"
12
+ gap: 1
13
13
  },
14
14
  children: [
15
15
  /* @__PURE__ */ n(e, { component: "icon-button" }),
@@ -19,17 +19,14 @@ var l = ({ style: t }) => /* @__PURE__ */ r(o, {
19
19
  }),
20
20
  /* @__PURE__ */ n(e, { component: "icon-button" })
21
21
  ]
22
- }), u = ({ loading: e, count: r = 0, ...o }) => {
23
- let u = s(c().breakpoints.down("sm"));
24
- return r === 0 ? /* @__PURE__ */ n(t, {}) : e ? /* @__PURE__ */ n(l, { style: o.style }) : /* @__PURE__ */ n(i, {
25
- sx: { width: "100%" },
26
- children: /* @__PURE__ */ n(a, {
27
- size: u ? "small" : "medium",
28
- count: r,
29
- ...o
30
- })
22
+ }), l = ({ loading: e, count: r = 0, ...a }) => {
23
+ let l = o(s().breakpoints.down("sm"));
24
+ return r === 0 ? /* @__PURE__ */ n(t, {}) : e ? /* @__PURE__ */ n(c, { style: a.style }) : /* @__PURE__ */ n(i, {
25
+ size: l ? "small" : "medium",
26
+ count: r,
27
+ ...a
31
28
  });
32
29
  };
33
- u.displayName = "SPagination";
30
+ l.displayName = "SPagination";
34
31
  //#endregion
35
- export { u as SPagination, u as default };
32
+ export { l as SPagination, l as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-review-DjvDY-h4.js";
1
+ import { t as e } from "../s-review-f0OI1oqM.js";
2
2
  export { e as SReview, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-review-DjvDY-h4.js";
1
+ import { t as e } from "../s-review-f0OI1oqM.js";
2
2
  export { e as SReview, e as default };
@@ -1,6 +1,6 @@
1
1
  import { i as e } from "./utils-B5Rl6Zwv.js";
2
- import { t } from "./createSvgIcon-BdNZIlKS.js";
3
- import { n } from "./s-image-modal-Za71QD3d.js";
2
+ import { t } from "./createSvgIcon-HW-tbFcL.js";
3
+ import { t as n } from "./s-image-modal-hhRD4727.js";
4
4
  import r from "./s-lazy-image/s-lazy-image.js";
5
5
  import { SSkeleton as i } from "./s-skeleton/s-skeleton.js";
6
6
  import { SAvatar as a } from "./s-avatar/s-avatar.js";
@@ -116,34 +116,25 @@ var _ = t(/* @__PURE__ */ u("path", { d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02
116
116
  }), /* @__PURE__ */ d(f, {
117
117
  sx: { flex: 1 },
118
118
  children: [
119
- /* @__PURE__ */ d(h, {
120
- direction: "row",
121
- spacing: 2,
122
- sx: {
123
- alignItems: "center",
124
- mb: 1
125
- },
126
- children: [/* @__PURE__ */ u(g, { children: y }), /* @__PURE__ */ u("div", { children: /* @__PURE__ */ u(g, {
127
- variant: "caption",
128
- children: $
129
- }) })]
130
- }),
131
- /* @__PURE__ */ u(f, {
132
- sx: { mb: 1 },
133
- children: /* @__PURE__ */ u(o, {
134
- value: x,
135
- max: j,
136
- readOnly: M
137
- })
119
+ /* @__PURE__ */ u(g, {
120
+ variant: "subtitle1",
121
+ children: y
138
122
  }),
123
+ /* @__PURE__ */ u(f, { children: /* @__PURE__ */ u(o, {
124
+ value: x,
125
+ max: j,
126
+ readOnly: M
127
+ }) }),
139
128
  /* @__PURE__ */ u(g, {
140
- variant: "body2",
141
- sx: {
142
- mb: 2,
143
- lineHeight: 1.6
144
- },
129
+ variant: "body1",
130
+ sx: { lineHeight: 1.6 },
145
131
  children: S
146
132
  }),
133
+ /* @__PURE__ */ u(f, { children: /* @__PURE__ */ u(g, {
134
+ variant: "caption",
135
+ sx: { mb: 2 },
136
+ children: $
137
+ }) }),
147
138
  w && w.length > 0 && /* @__PURE__ */ u(h, {
148
139
  direction: "row",
149
140
  spacing: 1,
@@ -179,7 +170,7 @@ var _ = t(/* @__PURE__ */ u("path", { d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02
179
170
  },
180
171
  children: [
181
172
  /* @__PURE__ */ u(g, {
182
- variant: "caption",
173
+ variant: "body2",
183
174
  sx: { mr: 2 },
184
175
  children: "Was this review helpful?"
185
176
  }),
@@ -8,7 +8,7 @@ function a(e) {
8
8
  return t.isValidElement(e) && e.key != null ? e.key : typeof e == "string" || typeof e == "number" ? e : null;
9
9
  }
10
10
  function o(e, t, n, r) {
11
- return e ? t ? "visible" : r : n;
11
+ return t ? e ? "visible" : "hidden" : e ? r : n;
12
12
  }
13
13
  var s = ({ children: s, duration: c = .6, ease: l = "easeOut", threshold: u, rootMargin: d, delay: f, direction: p, distance: m, scale: h = !0, rotate: g = !1, stagger: _ = !0, staggerDelay: v = .1, sx: y, ...b }) => {
14
14
  let { ref: x, animate: S, initialPosition: C, finalPosition: w } = e({
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../styled-BTDmdi4c.js";
2
- import { t } from "../ArrowUpward-BMKLosZj.js";
2
+ import { t } from "../ArrowUpward-DONVUi9Q.js";
3
3
  import { useIsPassedPosition as n } from "../hooks/use-is-passed-position.js";
4
4
  import { SIconButton as r } from "../s-icon-button/s-icon-button.js";
5
5
  import i from "react";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-select-B-dEcddK.js";
1
+ import { t as e } from "../s-select-BqWS_5Bs.js";
2
2
  export { e as SSelect, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-select-B-dEcddK.js";
1
+ import { t as e } from "../s-select-BqWS_5Bs.js";
2
2
  export { e as SSelect, e as default };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createSvgIcon-BdNZIlKS.js";
1
+ import { t as e } from "./createSvgIcon-HW-tbFcL.js";
2
2
  import { SForm as t } from "./s-form/s-form.js";
3
3
  import { forwardRef as n, useState as r } from "react";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
@@ -6,7 +6,7 @@ var s = o(n, { shouldForwardProp: (e) => e !== "selected" })(({ theme: e, select
6
6
  display: "flex",
7
7
  alignItems: "center",
8
8
  justifyContent: "space-between",
9
- borderRadius: 8,
9
+ borderRadius: e.radius.md,
10
10
  padding: e.spacing(1),
11
11
  paddingLeft: e.spacing(2),
12
12
  paddingRight: e.spacing(2),
@@ -20,16 +20,7 @@ var s = o(n, { shouldForwardProp: (e) => e !== "selected" })(({ theme: e, select
20
20
  return /* @__PURE__ */ t(n, { children: [/* @__PURE__ */ t(s, {
21
21
  selected: o,
22
22
  onClick: () => l(a.id),
23
- children: [/* @__PURE__ */ e(n, {
24
- sx: {
25
- display: "flex",
26
- alignItems: "center",
27
- gap: 2,
28
- flex: 1,
29
- borderRadius: 8
30
- },
31
- children: u(a, o)
32
- }), f && /* @__PURE__ */ e(i, { checked: o })]
23
+ children: [u(a, o), f && /* @__PURE__ */ e(i, { checked: o })]
33
24
  }), p && /* @__PURE__ */ e(r, {
34
25
  in: o,
35
26
  children: /* @__PURE__ */ e(n, {
@@ -9,24 +9,32 @@ var i = (n) => {
9
9
  if (!e) return;
10
10
  let t = e.getContext("2d");
11
11
  if (!t) return;
12
- let i, a = -1e3, o = -1e3, s = () => {
13
- e.width = window.innerWidth, e.height = window.innerHeight;
14
- }, c = (e) => {
15
- a = e.clientX, o = e.clientY;
16
- }, l = () => {
17
- a = -1e3, o = -1e3;
18
- }, u = (e) => {
12
+ let i, a = 0, o = 0, s = -1e3, c = -1e3, l = e.parentElement, u = l ?? e, d = l?.style.position, f = () => {
13
+ let n = u.getBoundingClientRect(), r = window.devicePixelRatio || 1;
14
+ a = n.width, o = n.height, e.width = Math.max(1, Math.round(a * r)), e.height = Math.max(1, Math.round(o * r)), t.setTransform(r, 0, 0, r, 0, 0);
15
+ }, p = (t) => {
16
+ let n = e.getBoundingClientRect(), r = t.clientX - n.left, i = t.clientY - n.top;
17
+ if (r < 0 || r > n.width || i < 0 || i > n.height) {
18
+ s = -1e3, c = -1e3;
19
+ return;
20
+ }
21
+ s = r, c = i;
22
+ }, m = () => {
23
+ s = -1e3, c = -1e3;
24
+ }, h = (e) => {
19
25
  let t = parseInt(e.slice(1), 16);
20
26
  return `${t >> 16 & 255},${t >> 8 & 255},${t & 255}`;
21
- }, d = () => {
22
- if (t.clearRect(0, 0, e.width, e.height), a !== -1e3 && o !== -1e3) {
23
- let r = t.createRadialGradient(a, o, 0, a, o, n.radius || 200), i = u(n.color);
24
- r.addColorStop(0, `rgba(${i}, ${n.brightness})`), r.addColorStop(1, "rgba(0,0,0,0)"), t.fillStyle = r, t.fillRect(0, 0, e.width, e.height);
27
+ }, g = () => {
28
+ if (t.clearRect(0, 0, a, o), s !== -1e3 && c !== -1e3) {
29
+ let e = t.createRadialGradient(s, c, 0, s, c, n.radius || 200), r = h(n.color);
30
+ e.addColorStop(0, `rgba(${r}, ${n.brightness})`), e.addColorStop(1, "rgba(0,0,0,0)"), t.fillStyle = e, t.fillRect(0, 0, a, o);
25
31
  }
26
- i = requestAnimationFrame(d);
32
+ i = requestAnimationFrame(g);
27
33
  };
28
- return s(), window.addEventListener("resize", s), window.addEventListener("mousemove", c), window.addEventListener("mouseleave", l), i = requestAnimationFrame(d), () => {
29
- window.removeEventListener("resize", s), window.removeEventListener("mousemove", c), window.removeEventListener("mouseleave", l), cancelAnimationFrame(i);
34
+ l && window.getComputedStyle(l).position === "static" && (l.style.position = "relative"), f();
35
+ let _ = new ResizeObserver(f);
36
+ return _.observe(u), window.addEventListener("resize", f), u.addEventListener("mousemove", p), u.addEventListener("mouseleave", m), i = requestAnimationFrame(g), () => {
37
+ _.disconnect(), window.removeEventListener("resize", f), u.removeEventListener("mousemove", p), u.removeEventListener("mouseleave", m), l && d !== void 0 && (l.style.position = d), cancelAnimationFrame(i);
30
38
  };
31
39
  }, [
32
40
  n.radius,
@@ -43,7 +51,7 @@ var i = (n) => {
43
51
  ref: i(e),
44
52
  className: t,
45
53
  sx: {
46
- position: "fixed",
54
+ position: "absolute",
47
55
  top: 0,
48
56
  left: 0,
49
57
  pointerEvents: "none",
@@ -1,7 +1,3 @@
1
- import { CardCvcElement } from '@stripe/react-stripe-js';
2
1
  import { StripeTextFieldProps } from './s-stripe';
3
- export declare function SStripeCVC(props: Readonly<StripeTextFieldProps<typeof CardCvcElement>>): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace SStripeCVC {
5
- var displayName: string;
6
- }
2
+ export declare const SStripeCVC: import('react').ForwardRefExoticComponent<Omit<StripeTextFieldProps<import('@stripe/react-stripe-js').CardCvcElementComponent>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
7
3
  export default SStripeCVC;
@@ -1,14 +1,14 @@
1
1
  import { StripeTextField as e } from "./s-stripe.js";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { CardCvcElement as n } from "@stripe/react-stripe-js";
2
+ import { forwardRef as t } from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { CardCvcElement as r } from "@stripe/react-stripe-js";
4
5
  //#region lib/s-stripe/s-stripe-cvc.tsx
5
- function r(r) {
6
- return /* @__PURE__ */ t(e, {
7
- label: "CVC",
8
- stripeElement: n,
9
- ...r
10
- });
11
- }
12
- r.displayName = "SStripeCVC";
6
+ var i = t((t, i) => /* @__PURE__ */ n(e, {
7
+ ref: i,
8
+ label: "CVC",
9
+ stripeElement: r,
10
+ ...t
11
+ }));
12
+ i.displayName = "SStripeCVC";
13
13
  //#endregion
14
- export { r as SStripeCVC, r as default };
14
+ export { i as SStripeCVC, i as default };
@@ -1,7 +1,3 @@
1
- import { CardExpiryElement } from '@stripe/react-stripe-js';
2
1
  import { StripeTextFieldProps } from './s-stripe';
3
- export declare function SStripeExpiry(props: Readonly<StripeTextFieldProps<typeof CardExpiryElement>>): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace SStripeExpiry {
5
- var displayName: string;
6
- }
2
+ export declare const SStripeExpiry: import('react').ForwardRefExoticComponent<Omit<StripeTextFieldProps<import('@stripe/react-stripe-js').CardExpiryElementComponent>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
7
3
  export default SStripeExpiry;
@@ -1,14 +1,14 @@
1
1
  import { StripeTextField as e } from "./s-stripe.js";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { CardExpiryElement as n } from "@stripe/react-stripe-js";
2
+ import { forwardRef as t } from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { CardExpiryElement as r } from "@stripe/react-stripe-js";
4
5
  //#region lib/s-stripe/s-stripe-expiry.tsx
5
- function r(r) {
6
- return /* @__PURE__ */ t(e, {
7
- label: "Expiration",
8
- stripeElement: n,
9
- ...r
10
- });
11
- }
12
- r.displayName = "SStripeExpiry";
6
+ var i = t((t, i) => /* @__PURE__ */ n(e, {
7
+ ref: i,
8
+ label: "Expiration",
9
+ stripeElement: r,
10
+ ...t
11
+ }));
12
+ i.displayName = "SStripeExpiry";
13
13
  //#endregion
14
- export { r as SStripeExpiry, r as default };
14
+ export { i as SStripeExpiry, i as default };
@@ -1,7 +1,3 @@
1
- import { CardNumberElement } from '@stripe/react-stripe-js';
2
1
  import { StripeTextFieldProps } from './s-stripe';
3
- export declare function SStripeNumber(props: Readonly<StripeTextFieldProps<typeof CardNumberElement>>): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace SStripeNumber {
5
- var displayName: string;
6
- }
2
+ export declare const SStripeNumber: import('react').ForwardRefExoticComponent<Omit<StripeTextFieldProps<import('@stripe/react-stripe-js').CardNumberElementComponent>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
7
3
  export default SStripeNumber;
@@ -1,14 +1,14 @@
1
1
  import { StripeTextField as e } from "./s-stripe.js";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { CardNumberElement as n } from "@stripe/react-stripe-js";
2
+ import { forwardRef as t } from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { CardNumberElement as r } from "@stripe/react-stripe-js";
4
5
  //#region lib/s-stripe/s-stripe-number.tsx
5
- function r(r) {
6
- return /* @__PURE__ */ t(e, {
7
- label: "Card Number",
8
- stripeElement: n,
9
- ...r
10
- });
11
- }
12
- r.displayName = "SStripeNumber";
6
+ var i = t((t, i) => /* @__PURE__ */ n(e, {
7
+ ref: i,
8
+ label: "Card Number",
9
+ stripeElement: r,
10
+ ...t
11
+ }));
12
+ i.displayName = "SStripeNumber";
13
13
  //#endregion
14
- export { r as SStripeNumber, r as default };
14
+ export { i as SStripeNumber, i as default };
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { AuBankAccountElement, CardCvcElement, CardExpiryElement, CardNumberElement, IbanElement } from '@stripe/react-stripe-js';
2
3
  import { STextFieldProps } from '../s-text-field';
3
4
  /**
@@ -19,8 +20,14 @@ export interface StripeTextFieldProps<T extends StripeElement> extends Omit<STex
19
20
  /** The Stripe Element component to render */
20
21
  stripeElement?: T;
21
22
  }
22
- export declare const StripeTextField: {
23
- <T extends StripeElement>(props: StripeTextFieldProps<T>): import("react/jsx-runtime").JSX.Element;
24
- displayName: string;
25
- };
23
+ /**
24
+ * Type definition for StripeTextField component with generic Stripe Element support
25
+ */
26
+ export interface StripeTextFieldComponent {
27
+ <T extends StripeElement>(props: StripeTextFieldProps<T> & {
28
+ ref?: React.ForwardedRef<HTMLDivElement>;
29
+ }): React.JSX.Element;
30
+ displayName?: string;
31
+ }
32
+ export declare const StripeTextField: StripeTextFieldComponent;
26
33
  export default StripeTextField;
@@ -1,31 +1,33 @@
1
- import { t as e } from "../s-text-field-GqcwXwta.js";
1
+ import { t as e } from "../s-text-field-DLSDoq7u.js";
2
2
  import t from "./stripe-input.js";
3
- import { jsx as n } from "react/jsx-runtime";
3
+ import { forwardRef as n } from "react";
4
+ import { jsx as r } from "react/jsx-runtime";
4
5
  //#region lib/s-stripe/s-stripe.tsx
5
- var r = (r) => {
6
- let { helperText: i, slotProps: a, inputProps: o, error: s, labelErrorMessage: c, stripeElement: l, onChange: u, ...d } = r, f = typeof a?.input == "object" ? a.input.inputProps : void 0;
7
- return /* @__PURE__ */ n(e, {
6
+ var i = n((n, i) => {
7
+ let { helperText: a, slotProps: o, inputProps: s, error: c, labelErrorMessage: l, stripeElement: u, onChange: d, ...f } = n, p = typeof o?.input == "object" ? o.input.inputProps : void 0;
8
+ return /* @__PURE__ */ r(e, {
9
+ ref: i,
8
10
  slotProps: {
9
11
  inputLabel: {
10
- ...a?.inputLabel,
12
+ ...o?.inputLabel,
11
13
  shrink: !0
12
14
  },
13
15
  input: {
14
- ...a?.input,
16
+ ...o?.input,
15
17
  inputProps: {
16
- ...o,
17
- ...f,
18
- component: l
18
+ ...s,
19
+ ...p,
20
+ component: u
19
21
  },
20
22
  inputComponent: t
21
23
  }
22
24
  },
23
- error: s,
24
- helperText: s ? c : i,
25
- onChange: u,
26
- ...d
25
+ error: c,
26
+ helperText: c ? l : a,
27
+ onChange: d,
28
+ ...f
27
29
  });
28
- };
29
- r.displayName = "StripeTextField";
30
+ });
31
+ i.displayName = "StripeTextField";
30
32
  //#endregion
31
- export { r as StripeTextField, r as default };
33
+ export { i as StripeTextField, i as default };
@@ -1,27 +1,36 @@
1
- import * as e from "react";
2
- import { jsx as t } from "react/jsx-runtime";
1
+ import { t as e } from "../theme-primitives-7ruiI7gY.js";
2
+ import * as t from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
3
4
  import '../assets/stripe-input.css';//#region lib/s-stripe/stripe-input.tsx
4
- var n = {
5
- dark: {
6
- text: "#ffffff",
7
- textSecondary: "#94a0b8",
8
- placeholder: "#94a0b8",
9
- error: "#910808"
10
- },
11
- light: {
12
- text: "#202124",
13
- textSecondary: "#5e6B78",
14
- placeholder: "#5e6B78",
15
- error: "#f50a1a"
16
- }
5
+ function r(e) {
6
+ let t = e.match(/^hsl\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%\s*\)$/i);
7
+ if (!t) return e;
8
+ let n = Number(t[1]), r = Number(t[2]) / 100, i = Number(t[3]) / 100, a = (e) => {
9
+ let t = (e + n / 30) % 12, a = i - r * Math.min(i, 1 - i) * Math.max(-1, Math.min(t - 3, 9 - t, 1));
10
+ return Math.round(255 * a).toString(16).padStart(2, "0");
11
+ };
12
+ return `#${a(0)}${a(8)}${a(4)}`;
13
+ }
14
+ function i(t) {
15
+ let { palette: n } = e[t];
16
+ return {
17
+ text: r(n.text.primary),
18
+ textSecondary: r(n.text.secondary),
19
+ placeholder: r(n.text.secondary),
20
+ error: r(n.error.main)
21
+ };
22
+ }
23
+ var a = {
24
+ dark: i("dark"),
25
+ light: i("light")
17
26
  };
18
- function r() {
27
+ function o() {
19
28
  return typeof window > "u" ? "dark" : document.documentElement.getAttribute("data-mui-color-scheme") || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
20
29
  }
21
- function i() {
22
- return n[r()];
30
+ function s() {
31
+ return a[o()];
23
32
  }
24
- function a(e, t) {
33
+ function c(e, t) {
25
34
  return {
26
35
  base: {
27
36
  fontFamily: "Outfit, sans-serif",
@@ -32,13 +41,13 @@ function a(e, t) {
32
41
  invalid: { color: e.error }
33
42
  };
34
43
  }
35
- var o = e.forwardRef(function(n, r) {
36
- let { component: o, options: s, ...c } = n, [l, u] = e.useState(null);
37
- e.useImperativeHandle(r, () => ({ focus: () => l?.focus() }), [l]), e.useEffect(() => {
44
+ var l = t.forwardRef(function(e, r) {
45
+ let { component: i, options: a, ...o } = e, [l, u] = t.useState(null);
46
+ t.useImperativeHandle(r, () => ({ focus: () => l?.focus() }), [l]), t.useEffect(() => {
38
47
  if (!l) return;
39
48
  let e = () => {
40
- let e = i();
41
- l.update({ style: a(e, c.disabled) });
49
+ let e = s();
50
+ l.update({ style: c(e, o.disabled) });
42
51
  }, t = new MutationObserver((t) => {
43
52
  for (let n of t) if (n.attributeName === "data-mui-color-scheme" || n.attributeName === "class" || n.attributeName === "style") {
44
53
  requestAnimationFrame(e);
@@ -46,17 +55,17 @@ var o = e.forwardRef(function(n, r) {
46
55
  }
47
56
  });
48
57
  return t.observe(document.documentElement, { attributes: !0 }), () => t.disconnect();
49
- }, [l, c.disabled]);
50
- let d = i();
51
- return /* @__PURE__ */ t(o, {
58
+ }, [l, o.disabled]);
59
+ let d = s();
60
+ return /* @__PURE__ */ n(i, {
52
61
  onReady: u,
53
62
  options: {
54
- ...s,
55
- style: a(d, c.disabled),
56
- disabled: c.disabled
63
+ ...a,
64
+ style: c(d, o.disabled),
65
+ disabled: o.disabled
57
66
  },
58
- ...c
67
+ ...o
59
68
  });
60
69
  });
61
70
  //#endregion
62
- export { o as default };
71
+ export { l as default };
@@ -1,3 +1,3 @@
1
- import { t as e } from "../s-text-editor-toolbar-DP0MkICo.js";
1
+ import { t as e } from "../s-text-editor-toolbar-DrQ8v-4J.js";
2
2
  import { STextEditor as t } from "./s-text-editor.js";
3
3
  export { t as STextEditor, t as default, e as STextEditorToolbar };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-text-editor-toolbar-DP0MkICo.js";
1
+ import { t as e } from "../s-text-editor-toolbar-DrQ8v-4J.js";
2
2
  export { e as STextEditorToolbar };
@@ -15,8 +15,5 @@ export interface STextEditorProps {
15
15
  /** Placeholder text shown when editor is empty */
16
16
  placeholder?: string;
17
17
  }
18
- export declare const STextEditor: {
19
- ({ content, editable, hideToolbar, onUpdate, placeholder, }: STextEditorProps): React.JSX.Element;
20
- displayName: string;
21
- };
18
+ export declare const STextEditor: React.ForwardRefExoticComponent<STextEditorProps & React.RefAttributes<HTMLDivElement>>;
22
19
  export default STextEditor;
@@ -1,39 +1,36 @@
1
1
  import { tint as e } from "../theme/utils.js";
2
2
  import { t } from "../Box-BlmynALm.js";
3
- import { t as n } from "../s-text-editor-toolbar-DP0MkICo.js";
3
+ import { t as n } from "../s-text-editor-toolbar-DrQ8v-4J.js";
4
4
  import * as r from "react";
5
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
- import { Link as o } from "@tiptap/extension-link";
5
+ import { forwardRef as i } from "react";
6
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  import { Placeholder as s } from "@tiptap/extension-placeholder";
8
8
  import { EditorContent as c, useEditor as l } from "@tiptap/react";
9
9
  import { StarterKit as u } from "@tiptap/starter-kit";
10
10
  //#region lib/s-text-editor/s-text-editor.tsx
11
- var d = ({ content: d, editable: f = !0, hideToolbar: p, onUpdate: m = () => {}, placeholder: h }) => {
11
+ var d = i(({ content: i, editable: d = !0, hideToolbar: f, onUpdate: p = () => {}, placeholder: m }, h) => {
12
12
  let g = l({
13
- extensions: [
14
- u,
15
- s.configure({
16
- emptyEditorClass: "is-editor-empty",
17
- placeholder: h
18
- }),
19
- o.configure({
20
- openOnClick: !1,
21
- autolink: !0
22
- })
23
- ],
24
- content: d,
25
- editable: f,
26
- onUpdate: m,
13
+ extensions: [u.configure({ link: {
14
+ openOnClick: !1,
15
+ autolink: !0
16
+ } }), s.configure({
17
+ emptyEditorClass: "is-editor-empty",
18
+ placeholder: m
19
+ })],
20
+ content: i,
21
+ editable: d,
22
+ onUpdate: p,
27
23
  parseOptions: { preserveWhitespace: "full" }
28
24
  });
29
25
  return r.useEffect(() => {
30
- !g || g.isDestroyed || g.getHTML() !== d && g.commands.setContent(d);
31
- }, [d, g]), /* @__PURE__ */ a(t, {
26
+ !g || g.isDestroyed || g.getHTML() !== i && g.commands.setContent(i);
27
+ }, [i, g]), /* @__PURE__ */ o(t, {
28
+ ref: h,
32
29
  className: "tiptap-root",
33
30
  sx: (t) => ({
34
31
  display: "flex",
35
32
  flexDirection: "column",
36
- ...f && {
33
+ ...d && {
37
34
  border: "1px solid",
38
35
  borderColor: "divider",
39
36
  borderRadius: 1,
@@ -55,7 +52,7 @@ var d = ({ content: d, editable: f = !0, hideToolbar: p, onUpdate: m = () => {},
55
52
  color: "text.primary",
56
53
  flex: "1 1 auto",
57
54
  overflow: "auto",
58
- fontSize: "0.875rem",
55
+ fontSize: t.typography.body1.fontSize,
59
56
  p: "8px 16px",
60
57
  "&:focus-visible": { outline: "none" },
61
58
  "&.resize-cursor": {
@@ -71,12 +68,12 @@ var d = ({ content: d, editable: f = !0, hideToolbar: p, onUpdate: m = () => {},
71
68
  }
72
69
  }
73
70
  }),
74
- children: [p ? /* @__PURE__ */ i("div", {}) : /* @__PURE__ */ i(n, { editor: g }), /* @__PURE__ */ i(c, {
71
+ children: [f ? /* @__PURE__ */ a("div", {}) : /* @__PURE__ */ a(n, { editor: g }), /* @__PURE__ */ a(c, {
75
72
  className: "tiptap-container",
76
73
  editor: g
77
74
  })]
78
75
  });
79
- };
76
+ });
80
77
  d.displayName = "STextEditor";
81
78
  //#endregion
82
79
  export { d as STextEditor, d as default };