@solostylist/ui-kit 1.0.204 → 1.0.206

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 (297) hide show
  1. package/dist/ArrowUpward-CDLbIMHR.js +6 -0
  2. package/dist/Box-CCxGQYgC.js +46 -0
  3. package/dist/{ButtonBase-CyZX7c8K.js → ButtonBase-BpUvp8ep.js} +284 -285
  4. package/dist/ChevronLeft-C7DUyLoc.js +6 -0
  5. package/dist/ChevronRight-VFk57Tte.js +6 -0
  6. package/dist/Close-OtVsJy75.js +6 -0
  7. package/dist/ContentCopy-DHDP4d6g.js +6 -0
  8. package/dist/{DefaultPropsProvider-CFaP_bh_.js → DefaultPropsProvider-DpRXvTbj.js} +48 -48
  9. package/dist/Download-Bbx6BZUJ.js +6 -0
  10. package/dist/ExpandMore-BTC1yHzp.js +6 -0
  11. package/dist/Favorite-mcH9KX-m.js +6 -0
  12. package/dist/LocalizationProvider-DxrK-c0x.js +110 -0
  13. package/dist/{Menu-BB3Khkc0.js → Menu-Dhh4e9H1.js} +544 -544
  14. package/dist/{MenuItem-CjPW2J-w.js → MenuItem-aaIy8lan.js} +39 -39
  15. package/dist/{Paper-COr98fp-.js → Paper--8Q3qCqb.js} +25 -25
  16. package/dist/{Select-B9880Uge.js → Select-C5bKKis6.js} +1282 -1279
  17. package/dist/{Stack-BJ4hQFAK.js → Stack-D-aoKnaS.js} +27 -27
  18. package/dist/{Typography-B_GHPkH2.js → Typography-CswuXQLF.js} +25 -25
  19. package/dist/avatar-BVV8tT0K.js +10 -0
  20. package/dist/{buttonBaseClasses-DqKyadLa.js → buttonBaseClasses-CzfJbQi5.js} +1 -1
  21. package/dist/checkbox-Dd2nIREk.js +57 -0
  22. package/dist/chunk-efA98nb6.js +13 -0
  23. package/dist/{createSvgIcon-Bs2KOQvq.js → createSvgIcon-KjKEsKNV.js} +50 -50
  24. package/dist/{createTheme-CMuiGmV-.js → createTheme-DuS5_nJb.js} +1 -1
  25. package/dist/{defaultTheme-C7Su92B_.js → defaultTheme-DBynruYK.js} +1 -1
  26. package/dist/entries/carousel.js +3 -3
  27. package/dist/entries/chat.js +3 -3
  28. package/dist/entries/code.js +3 -3
  29. package/dist/entries/core.js +13 -14
  30. package/dist/entries/dates.js +9 -6
  31. package/dist/entries/dropzone.js +3 -3
  32. package/dist/entries/editor.js +2 -2
  33. package/dist/entries/gallery.js +8 -6
  34. package/dist/entries/i18n.js +4 -3
  35. package/dist/entries/motion.js +24 -16
  36. package/dist/entries/scrollbar.js +0 -1
  37. package/dist/entries/stripe.js +2 -2
  38. package/dist/{extendSxProp-DC0zdi8T.js → extendSxProp-YPyfzlEb.js} +1 -1
  39. package/dist/{iconButtonClasses-BggbSXxO.js → iconButtonClasses-ApDUTw5e.js} +1 -1
  40. package/dist/main.d.ts +0 -11
  41. package/dist/main.js +54 -101
  42. package/dist/{mergeSlotProps-DKt8V_TK.js → mergeSlotProps-BG-pTgpj.js} +1 -1
  43. package/dist/{outlinedInputClasses-5cvWh4bu.js → outlinedInputClasses-bgmdcolQ.js} +1 -1
  44. package/dist/{resolveProps-BfzHOpig.js → resolveProps-CcZ6Bxlf.js} +1 -1
  45. package/dist/s-accordion/index.js +2 -3
  46. package/dist/s-accordion/s-accordion.js +2 -3
  47. package/dist/{s-accordion-Dt3fbZNh.js → s-accordion-Da1IZflX.js} +203 -203
  48. package/dist/s-action-overlay/index.js +0 -1
  49. package/dist/s-action-overlay/s-action-overlay.js +44 -44
  50. package/dist/s-autocomplete/index.js +0 -1
  51. package/dist/s-autocomplete/s-autocomplete.js +12 -12
  52. package/dist/s-avatar/index.js +0 -1
  53. package/dist/s-avatar/s-avatar.js +16 -16
  54. package/dist/s-blur-text/index.js +0 -1
  55. package/dist/s-blur-text/s-blur-text.js +34 -34
  56. package/dist/s-breadcrumbs/index.js +1 -2
  57. package/dist/s-breadcrumbs/s-breadcrumbs.js +24 -24
  58. package/dist/s-button/index.js +0 -1
  59. package/dist/s-button/s-button.js +6 -6
  60. package/dist/s-carousel/index.js +2 -3
  61. package/dist/s-carousel/s-carousel.js +2 -3
  62. package/dist/s-carousel-BoDg9pKU.js +125 -0
  63. package/dist/s-category-card/index.js +0 -1
  64. package/dist/s-category-card/s-category-card.js +31 -31
  65. package/dist/s-chat-input/index.js +2 -3
  66. package/dist/s-chat-input/s-chat-input.js +2 -3
  67. package/dist/{s-chat-input-j_4JZfmI.js → s-chat-input-v_XIZVGk.js} +85 -85
  68. package/dist/s-chat-message/index.js +2 -3
  69. package/dist/s-chat-message/s-chat-message.js +2 -3
  70. package/dist/s-chat-message-CWtxsicj.js +281 -0
  71. package/dist/s-checkbox/index.js +0 -1
  72. package/dist/s-checkbox/s-checkbox.js +13 -13
  73. package/dist/s-chip/index.js +0 -1
  74. package/dist/s-chip/s-chip.js +6 -6
  75. package/dist/s-chips/index.js +0 -1
  76. package/dist/s-chips/s-chips.js +37 -37
  77. package/dist/s-code-block/index.js +2 -3
  78. package/dist/s-code-block/s-code-block.js +2 -3
  79. package/dist/{s-code-block-BxdWmtRX.js → s-code-block-BqYdR0Em.js} +21 -21
  80. package/dist/s-comment-message/index.js +2 -3
  81. package/dist/s-comment-message/s-comment-message.js +2 -3
  82. package/dist/s-comment-message-DDAHdQqY.js +195 -0
  83. package/dist/s-copyable-text/index.js +1 -2
  84. package/dist/s-copyable-text/s-copyable-text.js +20 -20
  85. package/dist/s-countdown/index.js +1 -2
  86. package/dist/s-countdown/s-count-box.js +31 -31
  87. package/dist/s-countdown/s-count-down.js +14 -14
  88. package/dist/s-data-table/index.js +2 -3
  89. package/dist/s-data-table/s-data-table.js +2 -3
  90. package/dist/{s-data-table-B9B189jk.js → s-data-table-BjqqIsFX.js} +284 -284
  91. package/dist/s-date-picker/index.js +2 -3
  92. package/dist/s-date-picker/s-date-picker.js +2 -3
  93. package/dist/{s-date-picker-CH4q-Bfx.js → s-date-picker-B0D3WMLP.js} +75 -75
  94. package/dist/s-datetime-picker/index.js +2 -3
  95. package/dist/s-datetime-picker/s-datetime-picker.js +2 -3
  96. package/dist/{s-datetime-picker-dviksz3-.js → s-datetime-picker-BTnwnsM2.js} +1246 -1246
  97. package/dist/s-dialog/index.js +1 -2
  98. package/dist/s-dialog/s-dialog.js +28 -28
  99. package/dist/s-dialog-confirm/index.js +1 -2
  100. package/dist/s-dialog-confirm/s-dialog-confirm.js +42 -42
  101. package/dist/s-dialog-message/index.js +1 -2
  102. package/dist/s-dialog-message/s-dialog-message.js +32 -32
  103. package/dist/s-empty/index.js +0 -1
  104. package/dist/s-empty/s-empty.js +5 -5
  105. package/dist/s-error/index.js +0 -1
  106. package/dist/s-error/s-error.js +6 -6
  107. package/dist/s-error-layout/index.js +0 -1
  108. package/dist/s-error-layout/s-error-layout.js +36 -36
  109. package/dist/s-file-dropzone/index.js +2 -3
  110. package/dist/s-file-dropzone/s-file-dropzone.js +2 -3
  111. package/dist/s-file-dropzone-BJBNFC_b.js +134 -0
  112. package/dist/s-file-icon/index.js +1 -2
  113. package/dist/s-file-icon/s-file-icon.js +79 -79
  114. package/dist/s-flex-box/index.js +1 -2
  115. package/dist/s-flex-box/s-flex-box.js +7 -7
  116. package/dist/s-form/index.js +0 -1
  117. package/dist/s-form/s-form.js +11 -11
  118. package/dist/s-gallery/index.js +1 -2
  119. package/dist/s-gallery/s-gallery.js +72 -72
  120. package/dist/s-glow-button/index.js +1 -2
  121. package/dist/s-glow-button/s-glow-button.js +10 -10
  122. package/dist/s-gradient-icon/index.js +0 -1
  123. package/dist/s-gradient-icon/s-gradient-icon.js +46 -46
  124. package/dist/s-i18n-provider/index.js +0 -1
  125. package/dist/s-i18n-provider/s-i18n-provider.js +17 -18
  126. package/dist/s-icon-button/index.js +0 -1
  127. package/dist/s-icon-button/s-icon-button.js +7 -7
  128. package/dist/s-image-comparison/index.js +1 -2
  129. package/dist/s-image-comparison/s-image-comparison.js +56 -56
  130. package/dist/s-image-modal/index.js +1 -2
  131. package/dist/s-image-modal/s-image-modal.js +94 -94
  132. package/dist/s-item-not-found/index.js +0 -1
  133. package/dist/s-item-not-found/s-item-not-found.js +48 -48
  134. package/dist/s-label/index.js +2 -3
  135. package/dist/s-label/s-label.js +2 -3
  136. package/dist/s-label-Bt4vQGGN.js +30 -0
  137. package/dist/s-language-switcher/index.js +2 -3
  138. package/dist/s-language-switcher/s-language-switcher.js +2 -3
  139. package/dist/{s-language-switcher-DhcrqHJt.js → s-language-switcher-BJP1r1la.js} +53 -53
  140. package/dist/s-lazy-image/index.js +0 -1
  141. package/dist/s-lazy-image/s-lazy-image.js +27 -27
  142. package/dist/s-link/index.js +0 -1
  143. package/dist/s-link/s-link.js +15 -15
  144. package/dist/s-localization-provider/index.js +2 -3
  145. package/dist/s-localization-provider/s-localization-provider.js +2 -3
  146. package/dist/{s-localization-provider-BpoHpRVl.js → s-localization-provider-DJc4e39M.js} +9 -9
  147. package/dist/s-moving-border/index.js +0 -1
  148. package/dist/s-moving-border/s-moving-border.js +38 -38
  149. package/dist/s-multi-select/index.js +2 -3
  150. package/dist/s-multi-select/s-multi-select.js +2 -3
  151. package/dist/s-multi-select-xKP4heeG.js +64 -0
  152. package/dist/s-no-ssr/index.js +0 -1
  153. package/dist/s-no-ssr/s-no-ssr.js +10 -10
  154. package/dist/s-overlay-scrollbar/index.js +0 -1
  155. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +9 -9
  156. package/dist/s-pagination/index.js +0 -1
  157. package/dist/s-pagination/s-pagination.js +17 -17
  158. package/dist/s-pixel-reveal/index.js +1 -2
  159. package/dist/s-pixel-reveal/s-pixel-reveal.js +62 -62
  160. package/dist/s-radial-pulse-animate/index.js +1 -2
  161. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +37 -37
  162. package/dist/s-rating/index.js +0 -1
  163. package/dist/s-rating/s-rating.js +6 -6
  164. package/dist/s-review/index.js +2 -3
  165. package/dist/s-review/s-review.js +2 -3
  166. package/dist/s-review-DOBlCEU2.js +241 -0
  167. package/dist/s-scroll-reveal/index.js +0 -1
  168. package/dist/s-scroll-reveal/s-scroll-reveal.js +11 -11
  169. package/dist/s-scroll-to-top/index.js +1 -2
  170. package/dist/s-scroll-to-top/s-scroll-to-top.js +14 -14
  171. package/dist/s-scroll-velocity/index.js +0 -1
  172. package/dist/s-scroll-velocity/s-scroll-velocity.js +6 -6
  173. package/dist/s-scroll-velocity/scroll-velocity-container.js +8 -8
  174. package/dist/s-scroll-velocity/scroll-velocity-row.js +22 -22
  175. package/dist/s-select/index.js +2 -3
  176. package/dist/s-select/s-select.js +2 -3
  177. package/dist/s-select-DXbeZ0CG.js +110 -0
  178. package/dist/s-select-list/index.js +0 -1
  179. package/dist/s-select-list/s-select-list.js +17 -17
  180. package/dist/s-skeleton/index.js +0 -1
  181. package/dist/s-skeleton/s-skeleton.js +16 -16
  182. package/dist/s-snackbar-message/index.js +0 -1
  183. package/dist/s-snackbar-message/s-snackbar-message.js +24 -24
  184. package/dist/s-spotlight-cursor/index.js +0 -1
  185. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +21 -21
  186. package/dist/s-stripe/index.js +1 -2
  187. package/dist/s-stripe/s-stripe-cvc.js +8 -9
  188. package/dist/s-stripe/s-stripe-expiry.js +8 -9
  189. package/dist/s-stripe/s-stripe-number.js +8 -9
  190. package/dist/s-stripe/s-stripe.js +10 -10
  191. package/dist/s-stripe/stripe-input.js +16 -16
  192. package/dist/s-switch/index.js +0 -1
  193. package/dist/s-switch/s-switch.js +13 -13
  194. package/dist/s-tabs/index.js +0 -1
  195. package/dist/s-tabs/s-tab-panel.js +7 -7
  196. package/dist/s-tabs/s-tab.js +6 -6
  197. package/dist/s-tabs/s-tabs.js +24 -24
  198. package/dist/s-text-editor/index.js +2 -3
  199. package/dist/s-text-editor/s-text-editor-toolbar.js +2 -3
  200. package/dist/s-text-editor/s-text-editor.js +24 -24
  201. package/dist/s-text-editor-toolbar-ob6vDHU4.js +177 -0
  202. package/dist/s-text-field/index.js +2 -3
  203. package/dist/s-text-field/s-text-field.js +2 -3
  204. package/dist/s-text-field-ni42E-1x.js +41 -0
  205. package/dist/s-text-shimmer/index.js +1 -2
  206. package/dist/s-text-shimmer/s-text-shimmer.js +13 -13
  207. package/dist/s-text-truncation/index.js +0 -1
  208. package/dist/s-text-truncation/s-text-truncation.js +42 -42
  209. package/dist/s-theme-demo/index.js +2 -3
  210. package/dist/s-theme-demo/s-theme-demo.js +2 -3
  211. package/dist/{s-theme-demo-ChEG6wog.js → s-theme-demo-B4pz6fse.js} +181 -181
  212. package/dist/s-theme-provider/index.js +1 -2
  213. package/dist/s-theme-provider/s-theme-provider.js +16 -16
  214. package/dist/s-theme-switch/index.js +2 -3
  215. package/dist/s-theme-switch/s-theme-switch.js +2 -3
  216. package/dist/s-theme-switch-CCEdponC.js +37 -0
  217. package/dist/s-tip/index.js +2 -3
  218. package/dist/s-tip/s-tip.js +2 -3
  219. package/dist/s-tip-CG51Q6oR.js +34 -0
  220. package/dist/s-tool-bar/index.js +2 -3
  221. package/dist/s-tool-bar/s-tool-bar.js +2 -3
  222. package/dist/s-tool-bar-C2lZhhJm.js +404 -0
  223. package/dist/s-two-pane-layout/index.js +1 -2
  224. package/dist/s-two-pane-layout/s-two-pane-layout.js +48 -48
  225. package/dist/s-typewriter-text/index.js +0 -1
  226. package/dist/s-typewriter-text/s-typewriter-text.js +21 -21
  227. package/dist/s-zoom-image/index.js +0 -1
  228. package/dist/s-zoom-image/s-zoom-image.js +12 -12
  229. package/dist/select-D9KH9LAz.js +11 -0
  230. package/dist/{styled-CjUxhIJh.js → styled-Dz7rwAje.js} +2 -2
  231. package/dist/{svgIconClasses-DOmb6RsS.js → svgIconClasses-CygVMw0E.js} +1 -1
  232. package/dist/{tabClasses-DoD3-n6K.js → tabClasses-CIRFQ-PB.js} +1 -1
  233. package/dist/theme/components/accordion-summary.js +2 -2
  234. package/dist/theme/components/alert.js +2 -2
  235. package/dist/theme/components/avatar.js +2 -3
  236. package/dist/theme/components/button.js +2 -2
  237. package/dist/theme/components/card.js +2 -2
  238. package/dist/theme/components/checkbox.js +2 -3
  239. package/dist/theme/components/chip.js +15 -15
  240. package/dist/theme/components/components.js +6 -7
  241. package/dist/theme/components/icon-button.js +2 -2
  242. package/dist/theme/components/linear-progress.js +2 -2
  243. package/dist/theme/components/link.js +2 -2
  244. package/dist/theme/components/list-item-button.js +1 -1
  245. package/dist/theme/components/list-item.js +3 -3
  246. package/dist/theme/components/outlined-input.js +3 -3
  247. package/dist/theme/components/select.js +2 -3
  248. package/dist/theme/components/step-icon.js +2 -2
  249. package/dist/theme/components/tab.js +1 -1
  250. package/dist/theme/components/table-pagination.js +1 -1
  251. package/dist/theme/components/toggle-button-group.js +2 -2
  252. package/dist/theme/components/toggle-button.js +2 -2
  253. package/dist/theme/theme-primitives.js +2 -2
  254. package/dist/{theme-primitives-Csxbv-2Y.js → theme-primitives-BG66N-x4.js} +1 -1
  255. package/dist/{toggle-button-CAcYep44.js → toggle-button-BI6z89CX.js} +2 -2
  256. package/dist/{toggle-button-group-BCHnFS_B.js → toggle-button-group-Dzzh9mXv.js} +3 -3
  257. package/dist/{typographyClasses-YJ-sLvHS.js → typographyClasses-C0nDz5e6.js} +1 -1
  258. package/dist/{useMobilePicker-CVsWEjX5.js → useMobilePicker-5bdhOdnH.js} +9153 -9150
  259. package/dist/{useTheme-B8aCSYJ4.js → useTheme-BES_k_99.js} +1 -1
  260. package/dist/{useThemeProps-CeO0wKq2.js → useThemeProps-CJRFdjVv.js} +2 -2
  261. package/dist/utils/dayjs.js +1 -1
  262. package/package.json +58 -1
  263. package/dist/ArrowUpward-KYbUu0UZ.js +0 -5
  264. package/dist/Box-a5uPlxYL.js +0 -47
  265. package/dist/ChevronLeft-Djq7TyZX.js +0 -5
  266. package/dist/ChevronRight-BgWjUtu8.js +0 -5
  267. package/dist/Close-DD2G0QfM.js +0 -5
  268. package/dist/ContentCopy-D1OlBB-D.js +0 -6
  269. package/dist/Download-DDt8mUQX.js +0 -5
  270. package/dist/ExpandMore-3GurpYw-.js +0 -5
  271. package/dist/Favorite-gVQqn0Cm.js +0 -5
  272. package/dist/avatar-boNnyODN.js +0 -9
  273. package/dist/checkbox-CajxsIFH.js +0 -57
  274. package/dist/chunk-BQCxAhux.js +0 -23
  275. package/dist/jsx-runtime-V-UOMaX1.js +0 -180
  276. package/dist/s-carousel-B3VUHzx3.js +0 -2294
  277. package/dist/s-chat-message-DQk5XWSJ.js +0 -281
  278. package/dist/s-comment-message-D3XTOm1L.js +0 -195
  279. package/dist/s-file-dropzone-DYiYlcY8.js +0 -134
  280. package/dist/s-label-g_Qac9jO.js +0 -30
  281. package/dist/s-multi-select-CUsIS9dm.js +0 -64
  282. package/dist/s-review-C1E6ASin.js +0 -241
  283. package/dist/s-select-CmsTrYmx.js +0 -110
  284. package/dist/s-text-editor-toolbar-DC-dnSBG.js +0 -177
  285. package/dist/s-text-field-C2WdBxNO.js +0 -41
  286. package/dist/s-theme-switch-uXRVJIf_.js +0 -37
  287. package/dist/s-tip-oiH-79gR.js +0 -34
  288. package/dist/s-tool-bar-CM-cxOkI.js +0 -404
  289. package/dist/select-CjaxyZK_.js +0 -11
  290. package/dist/warning-Bc_24lbr.js +0 -110
  291. /package/dist/{createSimplePaletteValueFilter-1V26n1YK.js → createSimplePaletteValueFilter-dAWZ3p3z.js} +0 -0
  292. /package/dist/{generateUtilityClasses-i3-S3IQr.js → generateUtilityClasses-BMwEKe3O.js} +0 -0
  293. /package/dist/{objectWithoutPropertiesLoose-Dn-p_OIo.js → objectWithoutPropertiesLoose-BdL2_POW.js} +0 -0
  294. /package/dist/{useControlled-DZKvfhNx.js → useControlled-CvWtMQJF.js} +0 -0
  295. /package/dist/{useEnhancedEffect-C_B_y6Db.js → useEnhancedEffect-NLLl34XR.js} +0 -0
  296. /package/dist/{useFormControl-y5Pput5X.js → useFormControl-ngLNi8dL.js} +0 -0
  297. /package/dist/{utils-Cj6R-BZe.js → utils-Cu16ybRR.js} +0 -0
@@ -1,5 +1,4 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import "../jsx-runtime-V-UOMaX1.js";
1
+ import "../createTheme-DuS5_nJb.js";
3
2
  import { StripeTextField as e } from "./s-stripe.js";
4
3
  import { SStripeNumber as t } from "./s-stripe-number.js";
5
4
  import { SStripeExpiry as n } from "./s-stripe-expiry.js";
@@ -1,16 +1,15 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
3
- import { StripeTextField as t } from "./s-stripe.js";
1
+ import "../createTheme-DuS5_nJb.js";
2
+ import { StripeTextField as e } from "./s-stripe.js";
3
+ import { jsx as t } from "react/jsx-runtime";
4
4
  import { CardCvcElement as n } from "@stripe/react-stripe-js";
5
5
  //#region lib/s-stripe/s-stripe-cvc.tsx
6
- var r = e();
7
- function i(e) {
8
- return /* @__PURE__ */ (0, r.jsx)(t, {
6
+ function r(r) {
7
+ return /* @__PURE__ */ t(e, {
9
8
  label: "CVC",
10
9
  stripeElement: n,
11
- ...e
10
+ ...r
12
11
  });
13
12
  }
14
- i.displayName = "SStripeCVC";
13
+ r.displayName = "SStripeCVC";
15
14
  //#endregion
16
- export { i as SStripeCVC, i as default };
15
+ export { r as SStripeCVC, r as default };
@@ -1,16 +1,15 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
3
- import { StripeTextField as t } from "./s-stripe.js";
1
+ import "../createTheme-DuS5_nJb.js";
2
+ import { StripeTextField as e } from "./s-stripe.js";
3
+ import { jsx as t } from "react/jsx-runtime";
4
4
  import { CardExpiryElement as n } from "@stripe/react-stripe-js";
5
5
  //#region lib/s-stripe/s-stripe-expiry.tsx
6
- var r = e();
7
- function i(e) {
8
- return /* @__PURE__ */ (0, r.jsx)(t, {
6
+ function r(r) {
7
+ return /* @__PURE__ */ t(e, {
9
8
  label: "Expiration",
10
9
  stripeElement: n,
11
- ...e
10
+ ...r
12
11
  });
13
12
  }
14
- i.displayName = "SStripeExpiry";
13
+ r.displayName = "SStripeExpiry";
15
14
  //#endregion
16
- export { i as SStripeExpiry, i as default };
15
+ export { r as SStripeExpiry, r as default };
@@ -1,16 +1,15 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
3
- import { StripeTextField as t } from "./s-stripe.js";
1
+ import "../createTheme-DuS5_nJb.js";
2
+ import { StripeTextField as e } from "./s-stripe.js";
3
+ import { jsx as t } from "react/jsx-runtime";
4
4
  import { CardNumberElement as n } from "@stripe/react-stripe-js";
5
5
  //#region lib/s-stripe/s-stripe-number.tsx
6
- var r = e();
7
- function i(e) {
8
- return /* @__PURE__ */ (0, r.jsx)(t, {
6
+ function r(r) {
7
+ return /* @__PURE__ */ t(e, {
9
8
  label: "Card Number",
10
9
  stripeElement: n,
11
- ...e
10
+ ...r
12
11
  });
13
12
  }
14
- i.displayName = "SStripeNumber";
13
+ r.displayName = "SStripeNumber";
15
14
  //#endregion
16
- export { i as SStripeNumber, i as default };
15
+ export { r as SStripeNumber, r as default };
@@ -1,11 +1,11 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
3
- import { t } from "../s-text-field-C2WdBxNO.js";
4
- import n from "./stripe-input.js";
1
+ import "../createTheme-DuS5_nJb.js";
2
+ import { t as e } from "../s-text-field-ni42E-1x.js";
3
+ import t from "./stripe-input.js";
4
+ import { jsx as n } from "react/jsx-runtime";
5
5
  //#region lib/s-stripe/s-stripe.tsx
6
- var r = e(), i = (e) => {
7
- let { helperText: i, slotProps: a, inputProps: o, error: s, labelErrorMessage: c, stripeElement: l, ...u } = e;
8
- return /* @__PURE__ */ (0, r.jsx)(t, {
6
+ var r = (r) => {
7
+ let { helperText: i, slotProps: a, inputProps: o, error: s, labelErrorMessage: c, stripeElement: l, ...u } = r;
8
+ return /* @__PURE__ */ n(e, {
9
9
  fullWidth: !0,
10
10
  slotProps: {
11
11
  inputLabel: {
@@ -19,7 +19,7 @@ var r = e(), i = (e) => {
19
19
  ...a?.input?.inputProps,
20
20
  component: l
21
21
  },
22
- inputComponent: n
22
+ inputComponent: t
23
23
  }
24
24
  },
25
25
  error: s,
@@ -27,6 +27,6 @@ var r = e(), i = (e) => {
27
27
  ...u
28
28
  });
29
29
  };
30
- i.displayName = "StripeTextField";
30
+ r.displayName = "StripeTextField";
31
31
  //#endregion
32
- export { i as StripeTextField, i as default };
32
+ export { r as StripeTextField, r as default };
@@ -1,7 +1,7 @@
1
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
2
- import * as t from "react";
1
+ import * as e from "react";
2
+ import { jsx as t } from "react/jsx-runtime";
3
3
  import '../assets/stripe-input.css';//#region lib/s-stripe/stripe-input.tsx
4
- var n = e(), r = {
4
+ var n = {
5
5
  dark: {
6
6
  text: "#ffffff",
7
7
  textSecondary: "#94a0b8",
@@ -15,13 +15,13 @@ var n = e(), r = {
15
15
  error: "#f50a1a"
16
16
  }
17
17
  };
18
- function i() {
18
+ function r() {
19
19
  return typeof window > "u" ? "dark" : document.documentElement.getAttribute("data-mui-color-scheme") || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
20
20
  }
21
- function a() {
22
- return r[i()];
21
+ function i() {
22
+ return n[r()];
23
23
  }
24
- function o(e, t) {
24
+ function a(e, t) {
25
25
  return {
26
26
  base: {
27
27
  fontFamily: "Outfit, sans-serif",
@@ -32,13 +32,13 @@ function o(e, t) {
32
32
  invalid: { color: e.error }
33
33
  };
34
34
  }
35
- var s = t.forwardRef(function(e, r) {
36
- let { component: i, options: s, ...c } = e, [l, u] = t.useState(null);
37
- t.useImperativeHandle(r, () => ({ focus: () => l?.focus() }), [l]), t.useEffect(() => {
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(() => {
38
38
  if (!l) return;
39
39
  let e = () => {
40
- let e = a();
41
- l.update({ style: o(e, c.disabled) });
40
+ let e = i();
41
+ l.update({ style: a(e, c.disabled) });
42
42
  }, t = new MutationObserver((t) => {
43
43
  for (let n of t) if (n.attributeName === "data-mui-color-scheme" || n.attributeName === "class" || n.attributeName === "style") {
44
44
  requestAnimationFrame(e);
@@ -47,16 +47,16 @@ var s = t.forwardRef(function(e, r) {
47
47
  });
48
48
  return t.observe(document.documentElement, { attributes: !0 }), () => t.disconnect();
49
49
  }, [l, c.disabled]);
50
- let d = a();
51
- return /* @__PURE__ */ (0, n.jsx)(i, {
50
+ let d = i();
51
+ return /* @__PURE__ */ t(o, {
52
52
  onReady: u,
53
53
  options: {
54
54
  ...s,
55
- style: o(d, c.disabled),
55
+ style: a(d, c.disabled),
56
56
  disabled: c.disabled
57
57
  },
58
58
  ...c
59
59
  });
60
60
  });
61
61
  //#endregion
62
- export { s as default };
62
+ export { o as default };
@@ -1,3 +1,2 @@
1
- import "../jsx-runtime-V-UOMaX1.js";
2
1
  import { SSwitch as e } from "./s-switch.js";
3
2
  export { e as default };
@@ -1,24 +1,24 @@
1
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
2
- import { forwardRef as t, useId as n } from "react";
3
- import { Stack as r, Switch as i, Typography as a } from "@mui/material";
1
+ import { forwardRef as e, useId as t } from "react";
2
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
3
+ import { Stack as i, Switch as a, Typography as o } from "@mui/material";
4
4
  //#region lib/s-switch/s-switch.tsx
5
- var o = e(), s = t(({ content: e, ...t }, s) => {
6
- let c = n(), l = t.id ?? c;
7
- return /* @__PURE__ */ (0, o.jsxs)(r, {
5
+ var s = e(({ content: e, ...s }, c) => {
6
+ let l = t(), u = s.id ?? l;
7
+ return /* @__PURE__ */ r(i, {
8
8
  alignItems: "center",
9
9
  direction: "row",
10
10
  display: "flex",
11
11
  justifyContent: "space-between",
12
- children: [e && /* @__PURE__ */ (0, o.jsx)("label", {
13
- htmlFor: l,
14
- children: /* @__PURE__ */ (0, o.jsx)(a, {
12
+ children: [e && /* @__PURE__ */ n("label", {
13
+ htmlFor: u,
14
+ children: /* @__PURE__ */ n(o, {
15
15
  variant: "body2",
16
16
  children: e
17
17
  })
18
- }), /* @__PURE__ */ (0, o.jsx)(i, {
19
- ref: s,
20
- ...t,
21
- id: l
18
+ }), /* @__PURE__ */ n(a, {
19
+ ref: c,
20
+ ...s,
21
+ id: u
22
22
  })]
23
23
  });
24
24
  });
@@ -1,4 +1,3 @@
1
- import "../jsx-runtime-V-UOMaX1.js";
2
1
  import { STabs as e } from "./s-tabs.js";
3
2
  import t from "./s-tab.js";
4
3
  import { STabPanel as n } from "./s-tab-panel.js";
@@ -1,10 +1,10 @@
1
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
2
- import { forwardRef as t } from "react";
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t } from "react/jsx-runtime";
3
3
  import { Box as n } from "@mui/material";
4
4
  //#region lib/s-tabs/s-tab-panel.tsx
5
- var r = e(), i = t(({ children: e, value: t, index: i, keepMounted: a = !1, sx: o, ...s }, c) => {
6
- let l = t === i;
7
- return l || a ? /* @__PURE__ */ (0, r.jsx)(n, {
5
+ var r = e(({ children: e, value: r, index: i, keepMounted: a = !1, sx: o, ...s }, c) => {
6
+ let l = r === i;
7
+ return l || a ? /* @__PURE__ */ t(n, {
8
8
  ref: c,
9
9
  role: "tabpanel",
10
10
  hidden: !l,
@@ -18,6 +18,6 @@ var r = e(), i = t(({ children: e, value: t, index: i, keepMounted: a = !1, sx:
18
18
  children: e
19
19
  }) : null;
20
20
  });
21
- i.displayName = "STabPanel";
21
+ r.displayName = "STabPanel";
22
22
  //#endregion
23
- export { i as STabPanel, i as default };
23
+ export { r as STabPanel, r as default };
@@ -1,11 +1,11 @@
1
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
2
- import { forwardRef as t } from "react";
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t } from "react/jsx-runtime";
3
3
  import { Tab as n } from "@mui/material";
4
4
  //#region lib/s-tabs/s-tab.tsx
5
- var r = e(), i = t((e, t) => /* @__PURE__ */ (0, r.jsx)(n, {
6
- ref: t,
5
+ var r = e((e, r) => /* @__PURE__ */ t(n, {
6
+ ref: r,
7
7
  ...e
8
8
  }));
9
- i.displayName = "STab";
9
+ r.displayName = "STab";
10
10
  //#endregion
11
- export { i as default };
11
+ export { r as default };
@@ -1,20 +1,20 @@
1
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
2
- import t, { forwardRef as n } from "react";
3
- import { Box as r, Tab as i, Tabs as a } from "@mui/material";
1
+ import e, { forwardRef as t } from "react";
2
+ import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
3
+ import { Box as a, Tab as o, Tabs as s } from "@mui/material";
4
4
  //#region lib/s-tabs/s-tabs.tsx
5
- var o = e(), s = n(({ tabs: e, activeTab: n = 0, onTabChange: s, children: c, tabPanelProps: l, ...u }, d) => {
6
- let [f, p] = t.useState(n);
7
- t.useEffect(() => {
8
- n !== !1 && p(n);
9
- }, [n]);
10
- let m = (e, t) => {
11
- n === !1 && p(t), s?.(e, t);
12
- }, h = u.orientation === "vertical", g = /* @__PURE__ */ (0, o.jsxs)(o.Fragment, { children: [/* @__PURE__ */ (0, o.jsx)(a, {
13
- ref: d,
14
- value: f,
15
- onChange: m,
16
- ...u,
17
- children: e.map((e, t) => /* @__PURE__ */ (0, o.jsx)(i, {
5
+ var c = t(({ tabs: t, activeTab: c = 0, onTabChange: l, children: u, tabPanelProps: d, ...f }, p) => {
6
+ let [m, h] = e.useState(c);
7
+ e.useEffect(() => {
8
+ c !== !1 && h(c);
9
+ }, [c]);
10
+ let g = (e, t) => {
11
+ c === !1 && h(t), l?.(e, t);
12
+ }, _ = f.orientation === "vertical", v = /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(s, {
13
+ ref: p,
14
+ value: m,
15
+ onChange: g,
16
+ ...f,
17
+ children: t.map((e, t) => /* @__PURE__ */ r(o, {
18
18
  label: e.label,
19
19
  value: e.value ?? t,
20
20
  disabled: e.disabled,
@@ -23,17 +23,17 @@ var o = e(), s = n(({ tabs: e, activeTab: n = 0, onTabChange: s, children: c, ta
23
23
  wrapped: e.wrapped,
24
24
  ...e.tabProps
25
25
  }, t))
26
- }), c && /* @__PURE__ */ (0, o.jsx)(r, {
26
+ }), u && /* @__PURE__ */ r(a, {
27
27
  role: "tabpanel",
28
28
  padding: 2,
29
- ...l,
30
- children: t.Children.toArray(c)[e.findIndex((e, t) => (e.value ?? t) === f)]
29
+ ...d,
30
+ children: e.Children.toArray(u)[t.findIndex((e, t) => (e.value ?? t) === m)]
31
31
  })] });
32
- return h ? /* @__PURE__ */ (0, o.jsx)(r, {
32
+ return _ ? /* @__PURE__ */ r(a, {
33
33
  display: "flex",
34
- children: g
35
- }) : g;
34
+ children: v
35
+ }) : v;
36
36
  });
37
- s.displayName = "STabs";
37
+ c.displayName = "STabs";
38
38
  //#endregion
39
- export { s as STabs, s as default };
39
+ export { c as STabs, c as default };
@@ -1,5 +1,4 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import "../jsx-runtime-V-UOMaX1.js";
3
- import { t as e } from "../s-text-editor-toolbar-DC-dnSBG.js";
1
+ import "../createTheme-DuS5_nJb.js";
2
+ import { t as e } from "../s-text-editor-toolbar-ob6vDHU4.js";
4
3
  import { STextEditor as t } from "./s-text-editor.js";
5
4
  export { e as STextEditorToolbar, t as default };
@@ -1,4 +1,3 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import "../jsx-runtime-V-UOMaX1.js";
3
- import { t as e } from "../s-text-editor-toolbar-DC-dnSBG.js";
1
+ import "../createTheme-DuS5_nJb.js";
2
+ import { t as e } from "../s-text-editor-toolbar-ob6vDHU4.js";
4
3
  export { e as STextEditorToolbar };
@@ -1,39 +1,39 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import { t as e } from "../jsx-runtime-V-UOMaX1.js";
3
- import { t } from "../Box-a5uPlxYL.js";
4
- import { t as n } from "../s-text-editor-toolbar-DC-dnSBG.js";
5
- import * as r from "react";
6
- import { Link as i } from "@tiptap/extension-link";
7
- import { Placeholder as a } from "@tiptap/extension-placeholder";
8
- import { EditorContent as o, useEditor as s } from "@tiptap/react";
9
- import { StarterKit as c } from "@tiptap/starter-kit";
1
+ import "../createTheme-DuS5_nJb.js";
2
+ import { t as e } from "../Box-CCxGQYgC.js";
3
+ import { t } from "../s-text-editor-toolbar-ob6vDHU4.js";
4
+ import * as n from "react";
5
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
6
+ import { Link as a } from "@tiptap/extension-link";
7
+ import { Placeholder as o } from "@tiptap/extension-placeholder";
8
+ import { EditorContent as s, useEditor as c } from "@tiptap/react";
9
+ import { StarterKit as l } from "@tiptap/starter-kit";
10
10
  //#region lib/s-text-editor/s-text-editor.tsx
11
- var l = e(), u = ({ content: e, editable: u = !0, hideToolbar: d, onUpdate: f = () => {}, placeholder: p }) => {
12
- let m = s({
11
+ var u = ({ content: u, editable: d = !0, hideToolbar: f, onUpdate: p = () => {}, placeholder: m }) => {
12
+ let h = c({
13
13
  extensions: [
14
- c,
15
- a.configure({
14
+ l,
15
+ o.configure({
16
16
  emptyEditorClass: "is-editor-empty",
17
- placeholder: p
17
+ placeholder: m
18
18
  }),
19
- i.configure({
19
+ a.configure({
20
20
  openOnClick: !1,
21
21
  autolink: !0
22
22
  })
23
23
  ],
24
- content: e,
25
- editable: u,
26
- onUpdate: f,
24
+ content: u,
25
+ editable: d,
26
+ onUpdate: p,
27
27
  parseOptions: { preserveWhitespace: "full" }
28
28
  });
29
- return r.useEffect(() => {
30
- m && m.getHTML() !== e && m.commands.setContent(e);
31
- }, [e, m]), /* @__PURE__ */ (0, l.jsxs)(t, {
29
+ return n.useEffect(() => {
30
+ h && h.getHTML() !== u && h.commands.setContent(u);
31
+ }, [u, h]), /* @__PURE__ */ i(e, {
32
32
  className: "tiptap-root",
33
33
  sx: {
34
34
  display: "flex",
35
35
  flexDirection: "column",
36
- ...u && {
36
+ ...d && {
37
37
  border: "1px solid",
38
38
  borderColor: "divider",
39
39
  borderRadius: 1
@@ -65,9 +65,9 @@ var l = e(), u = ({ content: e, editable: u = !0, hideToolbar: d, onUpdate: f =
65
65
  }
66
66
  }
67
67
  },
68
- children: [d ? /* @__PURE__ */ (0, l.jsx)("div", {}) : /* @__PURE__ */ (0, l.jsx)(n, { editor: m }), /* @__PURE__ */ (0, l.jsx)(o, {
68
+ children: [f ? /* @__PURE__ */ r("div", {}) : /* @__PURE__ */ r(t, { editor: h }), /* @__PURE__ */ r(s, {
69
69
  className: "tiptap-container",
70
- editor: m
70
+ editor: h
71
71
  })]
72
72
  });
73
73
  };
@@ -0,0 +1,177 @@
1
+ import { n as e } from "./Menu-Dhh4e9H1.js";
2
+ import { t } from "./Stack-D-aoKnaS.js";
3
+ import { a as n, i as r, t as i } from "./Select-C5bKKis6.js";
4
+ import { t as a } from "./createSvgIcon-KjKEsKNV.js";
5
+ import { t as o } from "./s-text-field-ni42E-1x.js";
6
+ import * as s from "react";
7
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ import { MenuItem as u } from "@mui/material";
9
+ //#region ../../node_modules/@mui/icons-material/esm/Code.js
10
+ var d = a(/* @__PURE__ */ c("path", { 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" }), "Code"), f = a(/* @__PURE__ */ c("path", { 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" }), "FormatBold"), p = a(/* @__PURE__ */ c("path", { d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z" }), "FormatItalic"), m = a(/* @__PURE__ */ c("path", { 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" }), "FormatListBulleted"), h = a(/* @__PURE__ */ c("path", { d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z" }), "FormatListNumbered"), g = a(/* @__PURE__ */ c("path", { 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" }), "Link"), _ = a(/* @__PURE__ */ c("path", { 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" }), "StrikethroughS"), v = ({ editor: n }) => {
11
+ let [a, v] = s.useState(!1), [x, S] = s.useState(null), [C, w] = s.useState("");
12
+ return /* @__PURE__ */ l(s.Fragment, { children: [/* @__PURE__ */ c(t, {
13
+ className: "tiptap-toolbar",
14
+ spacing: 1,
15
+ sx: {
16
+ borderBottom: "1px solid",
17
+ borderColor: "divider",
18
+ p: "8px",
19
+ minHeight: "57px"
20
+ },
21
+ children: n ? /* @__PURE__ */ l(t, {
22
+ direction: "row",
23
+ spacing: .5,
24
+ sx: {
25
+ alignItems: "center",
26
+ flexWrap: "wrap"
27
+ },
28
+ children: [
29
+ /* @__PURE__ */ l(i, {
30
+ onChange: (e) => {
31
+ let t = e.target.value;
32
+ if (t) {
33
+ if (t === "p") {
34
+ n.chain().focus().setParagraph().run();
35
+ return;
36
+ }
37
+ if (t.startsWith("h")) {
38
+ let e = parseInt(t.replace("h", ""));
39
+ !isNaN(e) && e >= 1 && e <= 6 && n.chain().focus().setHeading({ level: e }).run();
40
+ }
41
+ }
42
+ },
43
+ value: y(n),
44
+ children: [/* @__PURE__ */ c(u, {
45
+ disabled: !n.can().chain().focus().setParagraph().run(),
46
+ value: "p",
47
+ children: "Paragraph"
48
+ }), [
49
+ 1,
50
+ 2,
51
+ 3,
52
+ 4,
53
+ 5,
54
+ 6
55
+ ].map((e) => /* @__PURE__ */ l(u, {
56
+ disabled: !n.can().chain().focus().setHeading({ level: e }).run(),
57
+ value: `h${e}`,
58
+ children: ["Heading ", e]
59
+ }, e))]
60
+ }),
61
+ /* @__PURE__ */ c(b, {
62
+ active: n.isActive("bold"),
63
+ disabled: !n.can().chain().focus().toggleBold().run(),
64
+ onClick: () => {
65
+ n.chain().focus().toggleBold().run();
66
+ },
67
+ children: /* @__PURE__ */ c(f, {})
68
+ }),
69
+ /* @__PURE__ */ c(b, {
70
+ active: n.isActive("italic"),
71
+ disabled: !n.can().chain().focus().toggleItalic().run(),
72
+ onClick: () => {
73
+ n.chain().focus().toggleItalic().run();
74
+ },
75
+ children: /* @__PURE__ */ c(p, {})
76
+ }),
77
+ /* @__PURE__ */ c(b, {
78
+ active: n.isActive("strike"),
79
+ disabled: !n.can().chain().focus().toggleStrike().run(),
80
+ onClick: () => {
81
+ n.chain().focus().toggleStrike().run();
82
+ },
83
+ children: /* @__PURE__ */ c(_, {})
84
+ }),
85
+ /* @__PURE__ */ c(b, {
86
+ active: n.isActive("codeBlock"),
87
+ disabled: !n.can().chain().focus().toggleCodeBlock().run(),
88
+ onClick: () => {
89
+ n.chain().focus().toggleCodeBlock();
90
+ },
91
+ children: /* @__PURE__ */ c(d, {})
92
+ }),
93
+ /* @__PURE__ */ c(b, {
94
+ active: n.isActive("bulletList"),
95
+ disabled: !n.can().chain().focus().toggleBulletList().run(),
96
+ onClick: () => {
97
+ n.chain().focus().toggleBulletList().run();
98
+ },
99
+ children: /* @__PURE__ */ c(m, {})
100
+ }),
101
+ /* @__PURE__ */ c(b, {
102
+ active: n.isActive("orderedList"),
103
+ disabled: !n.can().chain().focus().toggleOrderedList().run(),
104
+ onClick: () => {
105
+ n.chain().focus().toggleOrderedList().run();
106
+ },
107
+ children: /* @__PURE__ */ c(h, {})
108
+ }),
109
+ /* @__PURE__ */ c(b, {
110
+ onClick: (e) => {
111
+ w(n.getAttributes("link").href ?? ""), S(e.currentTarget), v(!0);
112
+ },
113
+ children: /* @__PURE__ */ c(g, {})
114
+ }),
115
+ /* @__PURE__ */ c(b, {
116
+ active: n.isActive("link"),
117
+ disabled: !n.can().chain().focus().unsetLink().run(),
118
+ onClick: () => {
119
+ n.chain().focus().unsetLink().run();
120
+ },
121
+ children: /* @__PURE__ */ c(g, {})
122
+ })
123
+ ]
124
+ }) : null
125
+ }), /* @__PURE__ */ c(e, {
126
+ anchorEl: x,
127
+ anchorOrigin: {
128
+ horizontal: "left",
129
+ vertical: "bottom"
130
+ },
131
+ onClose: () => {
132
+ v(!1), S(null), w("");
133
+ },
134
+ open: a,
135
+ slotProps: { paper: { sx: { p: 2 } } },
136
+ children: /* @__PURE__ */ c(r, { children: /* @__PURE__ */ c(o, {
137
+ name: "url",
138
+ label: "URL",
139
+ onChange: (e) => {
140
+ w(e.target.value);
141
+ },
142
+ onKeyUp: (e) => {
143
+ if (e.key === "Enter") {
144
+ if (C === "") {
145
+ n?.chain().focus().extendMarkRange("link").unsetLink().run();
146
+ return;
147
+ }
148
+ n?.chain().focus().setLink({ href: C }).run(), v(!1), S(null), w("");
149
+ }
150
+ },
151
+ value: C
152
+ }) })
153
+ })] });
154
+ };
155
+ function y(e) {
156
+ if (e.isActive("paragraph")) return "p";
157
+ for (let t of [
158
+ 1,
159
+ 2,
160
+ 3,
161
+ 4,
162
+ 5,
163
+ 6
164
+ ]) if (e.isActive("heading", { level: t })) return `h${t}`;
165
+ return "p";
166
+ }
167
+ var b = s.forwardRef(function({ active: e, children: t, disabled: r, onClick: i }, a) {
168
+ return /* @__PURE__ */ c(n, {
169
+ color: e ? "primary" : "inherit",
170
+ disabled: r,
171
+ onClick: i,
172
+ ref: a,
173
+ children: t
174
+ });
175
+ });
176
+ //#endregion
177
+ export { v as t };
@@ -1,4 +1,3 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import "../jsx-runtime-V-UOMaX1.js";
3
- import { t as e } from "../s-text-field-C2WdBxNO.js";
1
+ import "../createTheme-DuS5_nJb.js";
2
+ import { t as e } from "../s-text-field-ni42E-1x.js";
4
3
  export { e as default };
@@ -1,4 +1,3 @@
1
- import "../createTheme-CMuiGmV-.js";
2
- import "../jsx-runtime-V-UOMaX1.js";
3
- import { t as e } from "../s-text-field-C2WdBxNO.js";
1
+ import "../createTheme-DuS5_nJb.js";
2
+ import { t as e } from "../s-text-field-ni42E-1x.js";
4
3
  export { e as STextField, e as default };