@solostylist/ui-kit 1.0.203 → 1.0.205

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 (365) hide show
  1. package/dist/ArrowUpward-CDLbIMHR.js +6 -0
  2. package/dist/Box-CCxGQYgC.js +46 -0
  3. package/dist/ButtonBase-BpUvp8ep.js +801 -0
  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-DpRXvTbj.js +157 -0
  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/Menu-Dhh4e9H1.js +1662 -0
  13. package/dist/MenuItem-aaIy8lan.js +213 -0
  14. package/dist/Paper--8Q3qCqb.js +329 -0
  15. package/dist/Select-B5RvkbDO.js +2545 -0
  16. package/dist/Stack-D-aoKnaS.js +158 -0
  17. package/dist/Typography-CswuXQLF.js +187 -0
  18. package/dist/assets/s-carousel.css +1 -1
  19. package/dist/assets/s-overlay-scrollbar.css +10 -1
  20. package/dist/assets/stripe-input.css +1 -1
  21. package/dist/avatar-BVV8tT0K.js +10 -0
  22. package/dist/buttonBaseClasses-CzfJbQi5.js +13 -0
  23. package/dist/checkbox-Dd2nIREk.js +57 -0
  24. package/dist/chunk-efA98nb6.js +13 -0
  25. package/dist/createSimplePaletteValueFilter-dAWZ3p3z.js +14 -0
  26. package/dist/createSvgIcon-KjKEsKNV.js +153 -0
  27. package/dist/createTheme-DuS5_nJb.js +2430 -0
  28. package/dist/defaultTheme-DBynruYK.js +5 -0
  29. package/dist/entries/carousel.js +3 -4
  30. package/dist/entries/chat.js +3 -4
  31. package/dist/entries/code.js +3 -4
  32. package/dist/entries/core.js +56 -122
  33. package/dist/entries/dates.js +7 -12
  34. package/dist/entries/dropzone.js +3 -4
  35. package/dist/entries/editor.js +2 -4
  36. package/dist/entries/gallery.js +7 -13
  37. package/dist/entries/i18n.js +3 -7
  38. package/dist/entries/motion.js +14 -27
  39. package/dist/entries/scrollbar.js +2 -4
  40. package/dist/entries/stripe.js +6 -10
  41. package/dist/extendSxProp-YPyfzlEb.js +29 -0
  42. package/dist/generateUtilityClass-DdqZpZoW.js +34 -0
  43. package/dist/generateUtilityClasses-BMwEKe3O.js +10 -0
  44. package/dist/hooks/index.js +5 -11
  45. package/dist/hooks/use-count-down.js +85 -76
  46. package/dist/hooks/use-dialog.js +21 -18
  47. package/dist/hooks/use-is-passed-position.js +20 -20
  48. package/dist/hooks/use-popover.js +18 -18
  49. package/dist/hooks/use-scroll-animation.js +74 -56
  50. package/dist/iconButtonClasses-ApDUTw5e.js +27 -0
  51. package/dist/identifier-_S1f0Pg2.js +190 -0
  52. package/dist/main.js +103 -196
  53. package/dist/mergeSlotProps-BG-pTgpj.js +48 -0
  54. package/dist/objectWithoutPropertiesLoose-BdL2_POW.js +23 -0
  55. package/dist/outlinedInputClasses-bgmdcolQ.js +43 -0
  56. package/dist/resolveProps-CcZ6Bxlf.js +30 -0
  57. package/dist/s-accordion/index.js +3 -4
  58. package/dist/s-accordion/s-accordion.js +3 -949
  59. package/dist/s-accordion-Da1IZflX.js +712 -0
  60. package/dist/s-action-overlay/index.js +2 -4
  61. package/dist/s-action-overlay/s-action-overlay.js +108 -109
  62. package/dist/s-autocomplete/index.js +2 -4
  63. package/dist/s-autocomplete/s-autocomplete.js +25 -31
  64. package/dist/s-avatar/index.js +2 -4
  65. package/dist/s-avatar/s-avatar.js +32 -22
  66. package/dist/s-blur-text/index.js +2 -4
  67. package/dist/s-blur-text/s-blur-text.js +67 -81
  68. package/dist/s-breadcrumbs/index.js +2 -3
  69. package/dist/s-breadcrumbs/s-breadcrumbs.js +49 -44
  70. package/dist/s-button/index.js +2 -4
  71. package/dist/s-button/s-button.js +11 -9
  72. package/dist/s-carousel/index.js +3 -4
  73. package/dist/s-carousel/s-carousel.js +3 -2480
  74. package/dist/s-carousel-BoDg9pKU.js +125 -0
  75. package/dist/s-category-card/index.js +1 -3
  76. package/dist/s-category-card/s-category-card.js +70 -105
  77. package/dist/s-chat-input/index.js +3 -4
  78. package/dist/s-chat-input/s-chat-input.js +3 -319
  79. package/dist/s-chat-input-v_XIZVGk.js +283 -0
  80. package/dist/s-chat-message/index.js +3 -4
  81. package/dist/s-chat-message/s-chat-message.js +3 -283
  82. package/dist/s-chat-message-CWtxsicj.js +281 -0
  83. package/dist/s-checkbox/index.js +2 -4
  84. package/dist/s-checkbox/s-checkbox.js +27 -17
  85. package/dist/s-chip/index.js +2 -4
  86. package/dist/s-chip/s-chip.js +11 -9
  87. package/dist/s-chips/index.js +2 -4
  88. package/dist/s-chips/s-chips.js +91 -86
  89. package/dist/s-code-block/index.js +3 -4
  90. package/dist/s-code-block/s-code-block.js +3 -1052
  91. package/dist/s-code-block-BqYdR0Em.js +608 -0
  92. package/dist/s-comment-message/index.js +3 -4
  93. package/dist/s-comment-message/s-comment-message.js +3 -123
  94. package/dist/s-comment-message-DDAHdQqY.js +195 -0
  95. package/dist/s-copyable-text/index.js +3 -4
  96. package/dist/s-copyable-text/s-copyable-text.js +50 -54
  97. package/dist/s-countdown/index.js +3 -5
  98. package/dist/s-countdown/s-count-box.js +102 -106
  99. package/dist/s-countdown/s-count-down.js +101 -109
  100. package/dist/s-data-table/index.js +3 -4
  101. package/dist/s-data-table/s-data-table.js +3 -1291
  102. package/dist/s-data-table-BjqqIsFX.js +893 -0
  103. package/dist/s-date-picker/index.js +3 -4
  104. package/dist/s-date-picker/s-date-picker.js +3 -1521
  105. package/dist/s-date-picker-BYqxsjPU.js +581 -0
  106. package/dist/s-datetime-picker/index.js +3 -4
  107. package/dist/s-datetime-picker/s-datetime-picker.js +3 -5180
  108. package/dist/s-datetime-picker-BtwGoxL3.js +3808 -0
  109. package/dist/s-dialog/index.js +2 -3
  110. package/dist/s-dialog/s-dialog.js +44 -36
  111. package/dist/s-dialog-confirm/index.js +3 -6
  112. package/dist/s-dialog-confirm/s-dialog-confirm.js +85 -74
  113. package/dist/s-dialog-message/index.js +3 -6
  114. package/dist/s-dialog-message/s-dialog-message.js +75 -66
  115. package/dist/s-empty/index.js +1 -3
  116. package/dist/s-empty/s-empty.js +13 -8
  117. package/dist/s-error/index.js +2 -4
  118. package/dist/s-error/s-error.js +31 -20
  119. package/dist/s-error-layout/index.js +2 -4
  120. package/dist/s-error-layout/s-error-layout.js +78 -56
  121. package/dist/s-file-dropzone/index.js +3 -4
  122. package/dist/s-file-dropzone/s-file-dropzone.js +3 -124
  123. package/dist/s-file-dropzone-BJBNFC_b.js +134 -0
  124. package/dist/s-file-icon/index.js +3 -4
  125. package/dist/s-file-icon/s-file-icon.js +327 -272
  126. package/dist/s-flex-box/index.js +3 -4
  127. package/dist/s-flex-box/s-flex-box.js +12 -8
  128. package/dist/s-form/index.js +2 -4
  129. package/dist/s-form/s-form.js +23 -15
  130. package/dist/s-gallery/index.js +3 -5
  131. package/dist/s-gallery/s-gallery.js +310 -346
  132. package/dist/s-glow-button/index.js +3 -4
  133. package/dist/s-glow-button/s-glow-button.js +29 -42
  134. package/dist/s-gradient-icon/index.js +2 -4
  135. package/dist/s-gradient-icon/s-gradient-icon.js +124 -79
  136. package/dist/s-i18n-provider/index.js +2 -4
  137. package/dist/s-i18n-provider/s-i18n-provider.js +23 -27
  138. package/dist/s-icon-button/index.js +2 -4
  139. package/dist/s-icon-button/s-icon-button.js +11 -8
  140. package/dist/s-image-comparison/index.js +3 -4
  141. package/dist/s-image-comparison/s-image-comparison.js +169 -207
  142. package/dist/s-image-modal/index.js +3 -5
  143. package/dist/s-image-modal/s-image-modal.js +396 -387
  144. package/dist/s-item-not-found/index.js +1 -3
  145. package/dist/s-item-not-found/s-item-not-found.js +240 -262
  146. package/dist/s-label/index.js +3 -4
  147. package/dist/s-label/s-label.js +3 -17
  148. package/dist/s-label-Bt4vQGGN.js +30 -0
  149. package/dist/s-language-switcher/index.js +3 -6
  150. package/dist/s-language-switcher/s-language-switcher.js +3 -252
  151. package/dist/s-language-switcher-BJP1r1la.js +198 -0
  152. package/dist/s-lazy-image/index.js +2 -4
  153. package/dist/s-lazy-image/s-lazy-image.js +41 -56
  154. package/dist/s-link/index.js +2 -4
  155. package/dist/s-link/s-link.js +30 -37
  156. package/dist/s-localization-provider/index.js +3 -4
  157. package/dist/s-localization-provider/s-localization-provider.js +3 -562
  158. package/dist/s-localization-provider-CeOR72Ti.js +537 -0
  159. package/dist/s-moving-border/index.js +1 -3
  160. package/dist/s-moving-border/s-moving-border.js +117 -131
  161. package/dist/s-multi-select/index.js +3 -4
  162. package/dist/s-multi-select/s-multi-select.js +3 -82
  163. package/dist/s-multi-select-xKP4heeG.js +64 -0
  164. package/dist/s-no-ssr/index.js +2 -4
  165. package/dist/s-no-ssr/s-no-ssr.js +13 -14
  166. package/dist/s-overlay-scrollbar/index.js +2 -4
  167. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +34 -37
  168. package/dist/s-pagination/index.js +2 -4
  169. package/dist/s-pagination/s-pagination.js +32 -15
  170. package/dist/s-pixel-reveal/index.js +3 -4
  171. package/dist/s-pixel-reveal/s-pixel-reveal.js +138 -156
  172. package/dist/s-radial-pulse-animate/index.js +3 -4
  173. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +80 -122
  174. package/dist/s-rating/index.js +1 -3
  175. package/dist/s-rating/s-rating.js +11 -9
  176. package/dist/s-review/index.js +3 -4
  177. package/dist/s-review/s-review.js +3 -160
  178. package/dist/s-review-DOBlCEU2.js +241 -0
  179. package/dist/s-scroll-reveal/index.js +2 -4
  180. package/dist/s-scroll-reveal/s-scroll-reveal.js +68 -64
  181. package/dist/s-scroll-to-top/index.js +3 -4
  182. package/dist/s-scroll-to-top/s-scroll-to-top.js +45 -44
  183. package/dist/s-scroll-velocity/index.js +4 -8
  184. package/dist/s-scroll-velocity/s-scroll-velocity.js +14 -8
  185. package/dist/s-scroll-velocity/scroll-velocity-container.js +25 -30
  186. package/dist/s-scroll-velocity/scroll-velocity-row.js +97 -118
  187. package/dist/s-select/index.js +3 -4
  188. package/dist/s-select/s-select.js +3 -112
  189. package/dist/s-select-DXbeZ0CG.js +110 -0
  190. package/dist/s-select-list/index.js +2 -4
  191. package/dist/s-select-list/s-select-list.js +44 -49
  192. package/dist/s-skeleton/index.js +2 -4
  193. package/dist/s-skeleton/s-skeleton.js +69 -35
  194. package/dist/s-snackbar-message/index.js +2 -6
  195. package/dist/s-snackbar-message/s-snackbar-message.js +48 -61
  196. package/dist/s-spotlight-cursor/index.js +2 -4
  197. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +58 -61
  198. package/dist/s-stripe/index.js +6 -10
  199. package/dist/s-stripe/s-stripe-cvc.js +14 -10
  200. package/dist/s-stripe/s-stripe-expiry.js +14 -10
  201. package/dist/s-stripe/s-stripe-number.js +14 -10
  202. package/dist/s-stripe/s-stripe.js +31 -37
  203. package/dist/s-stripe/stripe-input.js +57 -81
  204. package/dist/s-switch/index.js +1 -3
  205. package/dist/s-switch/s-switch.js +27 -17
  206. package/dist/s-tabs/index.js +4 -8
  207. package/dist/s-tabs/s-tab-panel.js +23 -29
  208. package/dist/s-tabs/s-tab.js +11 -8
  209. package/dist/s-tabs/s-tabs.js +39 -35
  210. package/dist/s-text-editor/index.js +3 -5
  211. package/dist/s-text-editor/s-text-editor-toolbar.js +3 -207
  212. package/dist/s-text-editor/s-text-editor.js +75 -81
  213. package/dist/s-text-editor-toolbar-BDDttdIt.js +177 -0
  214. package/dist/s-text-field/index.js +3 -4
  215. package/dist/s-text-field/s-text-field.js +3 -49
  216. package/dist/s-text-field-ni42E-1x.js +41 -0
  217. package/dist/s-text-shimmer/index.js +3 -4
  218. package/dist/s-text-shimmer/s-text-shimmer.js +31 -32
  219. package/dist/s-text-truncation/index.js +1 -3
  220. package/dist/s-text-truncation/s-text-truncation.js +79 -81
  221. package/dist/s-theme-demo/index.js +3 -4
  222. package/dist/s-theme-demo/s-theme-demo.js +3 -380
  223. package/dist/s-theme-demo-B4pz6fse.js +828 -0
  224. package/dist/s-theme-provider/index.js +3 -4
  225. package/dist/s-theme-provider/s-theme-provider.js +35 -50
  226. package/dist/s-theme-switch/index.js +3 -4
  227. package/dist/s-theme-switch/s-theme-switch.js +3 -41
  228. package/dist/s-theme-switch-CCEdponC.js +37 -0
  229. package/dist/s-tip/index.js +3 -4
  230. package/dist/s-tip/s-tip.js +3 -34
  231. package/dist/s-tip-CG51Q6oR.js +34 -0
  232. package/dist/s-tool-bar/index.js +3 -4
  233. package/dist/s-tool-bar/s-tool-bar.js +3 -478
  234. package/dist/s-tool-bar-C2lZhhJm.js +404 -0
  235. package/dist/s-two-pane-layout/index.js +2 -3
  236. package/dist/s-two-pane-layout/s-two-pane-layout.js +102 -101
  237. package/dist/s-typewriter-text/index.js +2 -4
  238. package/dist/s-typewriter-text/s-typewriter-text.js +39 -45
  239. package/dist/s-zoom-image/index.js +1 -3
  240. package/dist/s-zoom-image/s-zoom-image.js +62 -88
  241. package/dist/select-D9KH9LAz.js +11 -0
  242. package/dist/styled-Dz7rwAje.js +168 -0
  243. package/dist/svgIconClasses-CygVMw0E.js +20 -0
  244. package/dist/tabClasses-CIRFQ-PB.js +21 -0
  245. package/dist/theme/components/accordion-details.js +7 -8
  246. package/dist/theme/components/accordion-summary.js +12 -17
  247. package/dist/theme/components/accordion.js +24 -32
  248. package/dist/theme/components/alert.js +45 -72
  249. package/dist/theme/components/app-bar.js +12 -18
  250. package/dist/theme/components/autocomplete.js +19 -30
  251. package/dist/theme/components/avatar.js +3 -13
  252. package/dist/theme/components/backdrop.js +13 -12
  253. package/dist/theme/components/button-base.js +12 -14
  254. package/dist/theme/components/button.js +92 -138
  255. package/dist/theme/components/card-actions.js +4 -10
  256. package/dist/theme/components/card-content.js +4 -11
  257. package/dist/theme/components/card-header.js +4 -10
  258. package/dist/theme/components/card.js +23 -35
  259. package/dist/theme/components/checkbox.js +3 -65
  260. package/dist/theme/components/chip.js +67 -106
  261. package/dist/theme/components/components.js +112 -111
  262. package/dist/theme/components/container.js +4 -6
  263. package/dist/theme/components/dialog-actions.js +4 -10
  264. package/dist/theme/components/dialog.js +11 -17
  265. package/dist/theme/components/drawer.js +4 -10
  266. package/dist/theme/components/form-control.js +4 -10
  267. package/dist/theme/components/form-label.js +7 -11
  268. package/dist/theme/components/icon-button.js +82 -132
  269. package/dist/theme/components/icon.js +9 -21
  270. package/dist/theme/components/input-adornment.js +7 -13
  271. package/dist/theme/components/input-base.js +10 -16
  272. package/dist/theme/components/linear-progress.js +11 -16
  273. package/dist/theme/components/link.js +31 -37
  274. package/dist/theme/components/list-item-button.js +27 -44
  275. package/dist/theme/components/list-item-icon.js +4 -10
  276. package/dist/theme/components/list-item-text.js +14 -16
  277. package/dist/theme/components/list-item.js +12 -20
  278. package/dist/theme/components/list-subheader.js +10 -14
  279. package/dist/theme/components/list.js +9 -13
  280. package/dist/theme/components/menu-item.js +7 -8
  281. package/dist/theme/components/menu.js +20 -22
  282. package/dist/theme/components/outlined-input.js +41 -64
  283. package/dist/theme/components/pagination-item.js +8 -18
  284. package/dist/theme/components/paper.js +4 -8
  285. package/dist/theme/components/popover.js +11 -13
  286. package/dist/theme/components/rating.js +4 -8
  287. package/dist/theme/components/select.js +3 -13
  288. package/dist/theme/components/skeleton.js +4 -10
  289. package/dist/theme/components/slider.js +4 -8
  290. package/dist/theme/components/step-connector.js +9 -13
  291. package/dist/theme/components/step-icon.js +39 -46
  292. package/dist/theme/components/step-label.js +7 -13
  293. package/dist/theme/components/svg-icon.js +20 -37
  294. package/dist/theme/components/tab.js +20 -34
  295. package/dist/theme/components/table-cell.js +4 -10
  296. package/dist/theme/components/table-pagination.js +14 -18
  297. package/dist/theme/components/tabs.js +20 -24
  298. package/dist/theme/components/toggle-button-group.js +3 -23
  299. package/dist/theme/components/toggle-button.js +3 -21
  300. package/dist/theme/components/tooltip.js +23 -23
  301. package/dist/theme/theme-primitives.js +3 -410
  302. package/dist/theme-primitives-BG66N-x4.js +398 -0
  303. package/dist/toggle-button-BI6z89CX.js +26 -0
  304. package/dist/toggle-button-group-Dzzh9mXv.js +28 -0
  305. package/dist/typographyClasses-C0nDz5e6.js +32 -0
  306. package/dist/useControlled-CvWtMQJF.js +32 -0
  307. package/dist/useEnhancedEffect-NLLl34XR.js +5 -0
  308. package/dist/useFormControl-ngLNi8dL.js +11 -0
  309. package/dist/useMobilePicker-DdH0AzNe.js +10635 -0
  310. package/dist/useTheme-BES_k_99.js +34 -0
  311. package/dist/useThemeProps-CJRFdjVv.js +19 -0
  312. package/dist/utils/dayjs.js +161 -113
  313. package/dist/utils/index.js +3 -11
  314. package/dist/utils/logger.js +45 -46
  315. package/dist/utils-Cu16ybRR.js +72 -0
  316. package/dist/warning-D7iWhOZI.js +110 -0
  317. package/package.json +29 -29
  318. package/dist/ArrowUpward-D8eqD-si.js +0 -8
  319. package/dist/Box-BkXoTbe8.js +0 -62
  320. package/dist/ButtonBase-D73M0QY5.js +0 -1099
  321. package/dist/ChevronLeft-BmgmPHp9.js +0 -8
  322. package/dist/ChevronRight-DbWSr8yz.js +0 -8
  323. package/dist/Close-lHCUMitI.js +0 -8
  324. package/dist/ContentCopy-D4SuJd86.js +0 -11
  325. package/dist/DefaultPropsProvider-DPuuPIbS.js +0 -64
  326. package/dist/Download-BoRQUwCf.js +0 -8
  327. package/dist/ExpandMore-C7yRQv1-.js +0 -8
  328. package/dist/Favorite-Bz_HcMgN.js +0 -8
  329. package/dist/Menu-GVFDMHCN.js +0 -2441
  330. package/dist/MenuItem-2wG8I2HO.js +0 -269
  331. package/dist/Paper-CR019bki.js +0 -553
  332. package/dist/Select-D2l9rDWL.js +0 -3966
  333. package/dist/Stack-Dfjnuorw.js +0 -174
  334. package/dist/Typography-PcmlIqm1.js +0 -253
  335. package/dist/_commonjsHelpers-ByX85dGu.js +0 -33
  336. package/dist/buttonBaseClasses-jtnoTmPn.js +0 -10
  337. package/dist/clsx-OuTLNxxd.js +0 -16
  338. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  339. package/dist/createSvgIcon-BkbeLOhM.js +0 -242
  340. package/dist/createTheme-DgoJyWM-.js +0 -2929
  341. package/dist/defaultTheme-CulFxfLR.js +0 -5
  342. package/dist/extendSxProp-BJEIxcAx.js +0 -36
  343. package/dist/generateUtilityClass-BhfUaMgk.js +0 -35
  344. package/dist/generateUtilityClasses-E9gROIFd.js +0 -10
  345. package/dist/iconButtonClasses-BMfIhNTh.js +0 -10
  346. package/dist/identifier-BKLqN993.js +0 -4
  347. package/dist/index-D3G5Rwl-.js +0 -211
  348. package/dist/index-DtGYsHSv.js +0 -94
  349. package/dist/jsx-runtime-tc70JA_2.js +0 -264
  350. package/dist/mergeSlotProps-CuzBQdlp.js +0 -62
  351. package/dist/objectWithoutPropertiesLoose-DiWPeE4c.js +0 -22
  352. package/dist/outlinedInputClasses-DnwW3ujt.js +0 -19
  353. package/dist/resolveProps-BDH0VJjn.js +0 -39
  354. package/dist/styled-8Y5KoVix.js +0 -203
  355. package/dist/svgIconClasses-C6auqaBA.js +0 -10
  356. package/dist/tabClasses-DFvXsFrN.js +0 -10
  357. package/dist/typographyClasses-jmoWZuXc.js +0 -10
  358. package/dist/useControlled-D1L5tREc.js +0 -31
  359. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  360. package/dist/useFormControl-CatNKXAi.js +0 -10
  361. package/dist/useMobilePicker-B-bNHHXB.js +0 -13498
  362. package/dist/useTheme-CWPkv7g3.js +0 -18
  363. package/dist/useThemeProps-XYgXGzjS.js +0 -27
  364. package/dist/utils-D1UMIV0b.js +0 -40
  365. package/dist/warning-Ba-7BBAN.js +0 -135
@@ -1,174 +0,0 @@
1
- import { P as e, h as O, r as m, f as V, g as C, m as D, e as E, j as b } from "./createTheme-DgoJyWM-.js";
2
- import { c as N, s as R } from "./styled-8Y5KoVix.js";
3
- import * as f from "react";
4
- import { c as F } from "./clsx-OuTLNxxd.js";
5
- import { j as B } from "./jsx-runtime-tc70JA_2.js";
6
- import { e as M } from "./extendSxProp-BJEIxcAx.js";
7
- import { u as w } from "./useThemeProps-XYgXGzjS.js";
8
- import { c as G, u as U } from "./DefaultPropsProvider-DPuuPIbS.js";
9
- import { g as $ } from "./generateUtilityClass-BhfUaMgk.js";
10
- const A = N(), _ = E(), I = A("div", {
11
- name: "MuiStack",
12
- slot: "Root"
13
- });
14
- function L(o) {
15
- return w({
16
- props: o,
17
- name: "MuiStack",
18
- defaultTheme: _
19
- });
20
- }
21
- function q(o, t) {
22
- const c = f.Children.toArray(o).filter(Boolean);
23
- return c.reduce((a, i, s) => (a.push(i), s < c.length - 1 && a.push(/* @__PURE__ */ f.cloneElement(t, {
24
- key: `separator-${s}`
25
- })), a), []);
26
- }
27
- const z = (o) => ({
28
- row: "Left",
29
- "row-reverse": "Right",
30
- column: "Top",
31
- "column-reverse": "Bottom"
32
- })[o], H = ({
33
- ownerState: o,
34
- theme: t
35
- }) => {
36
- let c = {
37
- display: "flex",
38
- flexDirection: "column",
39
- ...O({
40
- theme: t
41
- }, m({
42
- values: o.direction,
43
- breakpoints: t.breakpoints.values
44
- }), (a) => ({
45
- flexDirection: a
46
- }))
47
- };
48
- if (o.spacing) {
49
- const a = V(t), i = Object.keys(t.breakpoints.values).reduce((r, n) => ((typeof o.spacing == "object" && o.spacing[n] != null || typeof o.direction == "object" && o.direction[n] != null) && (r[n] = !0), r), {}), s = m({
50
- values: o.direction,
51
- base: i
52
- }), l = m({
53
- values: o.spacing,
54
- base: i
55
- });
56
- typeof s == "object" && Object.keys(s).forEach((r, n, p) => {
57
- if (!s[r]) {
58
- const u = n > 0 ? s[p[n - 1]] : "column";
59
- s[r] = u;
60
- }
61
- }), c = C(c, O({
62
- theme: t
63
- }, l, (r, n) => o.useFlexGap ? {
64
- gap: b(a, r)
65
- } : {
66
- // The useFlexGap={false} implement relies on each child to give up control of the margin.
67
- // We need to reset the margin to avoid double spacing.
68
- "& > :not(style):not(style)": {
69
- margin: 0
70
- },
71
- "& > :not(style) ~ :not(style)": {
72
- [`margin${z(n ? s[n] : o.direction)}`]: b(a, r)
73
- }
74
- }));
75
- }
76
- return c = D(t.breakpoints, c), c;
77
- };
78
- function J(o = {}) {
79
- const {
80
- // This will allow adding custom styled fn (for example for custom sx style function)
81
- createStyledComponent: t = I,
82
- useThemeProps: c = L,
83
- componentName: a = "MuiStack"
84
- } = o, i = () => G({
85
- root: ["root"]
86
- }, (r) => $(a, r), {}), s = t(H), l = /* @__PURE__ */ f.forwardRef(function(r, n) {
87
- const p = c(r), y = M(p), {
88
- component: u = "div",
89
- direction: T = "column",
90
- spacing: j = 0,
91
- divider: v,
92
- children: g,
93
- className: h,
94
- useFlexGap: k = !1,
95
- ...x
96
- } = y, P = {
97
- direction: T,
98
- spacing: j,
99
- useFlexGap: k
100
- }, S = i();
101
- return /* @__PURE__ */ B.jsx(s, {
102
- as: u,
103
- ownerState: P,
104
- ref: n,
105
- className: F(S.root, h),
106
- ...x,
107
- children: v ? q(g, v) : g
108
- });
109
- });
110
- return process.env.NODE_ENV !== "production" && (l.propTypes = {
111
- children: e.node,
112
- direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
113
- divider: e.node,
114
- spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
115
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
116
- }), l;
117
- }
118
- const K = J({
119
- createStyledComponent: R("div", {
120
- name: "MuiStack",
121
- slot: "Root"
122
- }),
123
- useThemeProps: (o) => U({
124
- props: o,
125
- name: "MuiStack"
126
- })
127
- });
128
- process.env.NODE_ENV !== "production" && (K.propTypes = {
129
- // ┌────────────────────────────── Warning ──────────────────────────────┐
130
- // │ These PropTypes are generated from the TypeScript type definitions. │
131
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
132
- // └─────────────────────────────────────────────────────────────────────┘
133
- /**
134
- * The content of the component.
135
- */
136
- children: e.node,
137
- /**
138
- * The component used for the root node.
139
- * Either a string to use a HTML element or a component.
140
- */
141
- component: e.elementType,
142
- /**
143
- * Defines the `flex-direction` style property.
144
- * It is applied for all screen sizes.
145
- * @default 'column'
146
- */
147
- direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
148
- /**
149
- * Add an element between each child.
150
- */
151
- divider: e.node,
152
- /**
153
- * Defines the space between immediate children.
154
- * @default 0
155
- */
156
- spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
157
- /**
158
- * The system prop, which allows defining system overrides as well as additional CSS styles.
159
- */
160
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
161
- /**
162
- * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
163
- *
164
- * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
165
- * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
166
- *
167
- * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
168
- * @default false
169
- */
170
- useFlexGap: e.bool
171
- });
172
- export {
173
- K as S
174
- };
@@ -1,253 +0,0 @@
1
- import * as j from "react";
2
- import { c, P as r } from "./createTheme-DgoJyWM-.js";
3
- import { c as O } from "./clsx-OuTLNxxd.js";
4
- import { i as S } from "./index-DtGYsHSv.js";
5
- import { u as w, c as B, m as P } from "./DefaultPropsProvider-DPuuPIbS.js";
6
- import { c as W } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
7
- import { g as C } from "./typographyClasses-jmoWZuXc.js";
8
- import { j as R } from "./jsx-runtime-tc70JA_2.js";
9
- import { s as M } from "./styled-8Y5KoVix.js";
10
- const N = {
11
- primary: !0,
12
- secondary: !0,
13
- error: !0,
14
- info: !0,
15
- success: !0,
16
- warning: !0,
17
- textPrimary: !0,
18
- textSecondary: !0,
19
- textDisabled: !0
20
- }, D = S(), E = (e) => {
21
- const {
22
- align: t,
23
- gutterBottom: o,
24
- noWrap: a,
25
- paragraph: s,
26
- variant: i,
27
- classes: p
28
- } = e, n = {
29
- root: ["root", i, e.align !== "inherit" && `align${c(t)}`, o && "gutterBottom", a && "noWrap", s && "paragraph"]
30
- };
31
- return B(n, C, p);
32
- }, A = M("span", {
33
- name: "MuiTypography",
34
- slot: "Root",
35
- overridesResolver: (e, t) => {
36
- const {
37
- ownerState: o
38
- } = e;
39
- return [t.root, o.variant && t[o.variant], o.align !== "inherit" && t[`align${c(o.align)}`], o.noWrap && t.noWrap, o.gutterBottom && t.gutterBottom, o.paragraph && t.paragraph];
40
- }
41
- })(P(({
42
- theme: e
43
- }) => ({
44
- margin: 0,
45
- variants: [{
46
- props: {
47
- variant: "inherit"
48
- },
49
- style: {
50
- // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
51
- font: "inherit",
52
- lineHeight: "inherit",
53
- letterSpacing: "inherit"
54
- }
55
- }, ...Object.entries(e.typography).filter(([t, o]) => t !== "inherit" && o && typeof o == "object").map(([t, o]) => ({
56
- props: {
57
- variant: t
58
- },
59
- style: o
60
- })), ...Object.entries(e.palette).filter(W()).map(([t]) => ({
61
- props: {
62
- color: t
63
- },
64
- style: {
65
- color: (e.vars || e).palette[t].main
66
- }
67
- })), ...Object.entries(e.palette?.text || {}).filter(([, t]) => typeof t == "string").map(([t]) => ({
68
- props: {
69
- color: `text${c(t)}`
70
- },
71
- style: {
72
- color: (e.vars || e).palette.text[t]
73
- }
74
- })), {
75
- props: ({
76
- ownerState: t
77
- }) => t.align !== "inherit",
78
- style: {
79
- textAlign: "var(--Typography-textAlign)"
80
- }
81
- }, {
82
- props: ({
83
- ownerState: t
84
- }) => t.noWrap,
85
- style: {
86
- overflow: "hidden",
87
- textOverflow: "ellipsis",
88
- whiteSpace: "nowrap"
89
- }
90
- }, {
91
- props: ({
92
- ownerState: t
93
- }) => t.gutterBottom,
94
- style: {
95
- marginBottom: "0.35em"
96
- }
97
- }, {
98
- props: ({
99
- ownerState: t
100
- }) => t.paragraph,
101
- style: {
102
- marginBottom: 16
103
- }
104
- }]
105
- }))), b = {
106
- h1: "h1",
107
- h2: "h2",
108
- h3: "h3",
109
- h4: "h4",
110
- h5: "h5",
111
- h6: "h6",
112
- subtitle1: "h6",
113
- subtitle2: "h6",
114
- body1: "p",
115
- body2: "p",
116
- inherit: "p"
117
- }, V = /* @__PURE__ */ j.forwardRef(function(t, o) {
118
- const {
119
- color: a,
120
- ...s
121
- } = w({
122
- props: t,
123
- name: "MuiTypography"
124
- }), i = !N[a], p = D({
125
- ...s,
126
- ...i && {
127
- color: a
128
- }
129
- }), {
130
- align: n = "inherit",
131
- className: g,
132
- component: h,
133
- gutterBottom: x = !1,
134
- noWrap: d = !1,
135
- paragraph: y = !1,
136
- variant: l = "body1",
137
- variantMapping: m = b,
138
- ...f
139
- } = p, u = {
140
- ...p,
141
- align: n,
142
- color: a,
143
- className: g,
144
- component: h,
145
- gutterBottom: x,
146
- noWrap: d,
147
- paragraph: y,
148
- variant: l,
149
- variantMapping: m
150
- }, v = h || (y ? "p" : m[l] || b[l]) || "span", T = E(u);
151
- return /* @__PURE__ */ R.jsx(A, {
152
- as: v,
153
- ref: o,
154
- className: O(T.root, g),
155
- ...f,
156
- ownerState: u,
157
- style: {
158
- ...n !== "inherit" && {
159
- "--Typography-textAlign": n
160
- },
161
- ...f.style
162
- }
163
- });
164
- });
165
- process.env.NODE_ENV !== "production" && (V.propTypes = {
166
- // ┌────────────────────────────── Warning ──────────────────────────────┐
167
- // │ These PropTypes are generated from the TypeScript type definitions. │
168
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
169
- // └─────────────────────────────────────────────────────────────────────┘
170
- /**
171
- * Set the text-align on the component.
172
- * @default 'inherit'
173
- */
174
- align: r.oneOf(["center", "inherit", "justify", "left", "right"]),
175
- /**
176
- * The content of the component.
177
- */
178
- children: r.node,
179
- /**
180
- * Override or extend the styles applied to the component.
181
- */
182
- classes: r.object,
183
- /**
184
- * @ignore
185
- */
186
- className: r.string,
187
- /**
188
- * The color of the component.
189
- * It supports both default and custom theme colors, which can be added as shown in the
190
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
191
- */
192
- color: r.oneOfType([r.oneOf(["primary", "secondary", "success", "error", "info", "warning", "textPrimary", "textSecondary", "textDisabled"]), r.string]),
193
- /**
194
- * The component used for the root node.
195
- * Either a string to use a HTML element or a component.
196
- */
197
- component: r.elementType,
198
- /**
199
- * If `true`, the text will have a bottom margin.
200
- * @default false
201
- */
202
- gutterBottom: r.bool,
203
- /**
204
- * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
205
- *
206
- * Note that text overflow can only happen with block or inline-block level elements
207
- * (the element needs to have a width in order to overflow).
208
- * @default false
209
- */
210
- noWrap: r.bool,
211
- /**
212
- * If `true`, the element will be a paragraph element.
213
- * @default false
214
- * @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
215
- */
216
- paragraph: r.bool,
217
- /**
218
- * @ignore
219
- */
220
- style: r.object,
221
- /**
222
- * The system prop that allows defining system overrides as well as additional CSS styles.
223
- */
224
- sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
225
- /**
226
- * Applies the theme typography styles.
227
- * @default 'body1'
228
- */
229
- variant: r.oneOfType([r.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), r.string]),
230
- /**
231
- * The component maps the variant prop to a range of different HTML element types.
232
- * For instance, subtitle1 to `<h6>`.
233
- * If you wish to change that mapping, you can provide your own.
234
- * Alternatively, you can use the `component` prop.
235
- * @default {
236
- * h1: 'h1',
237
- * h2: 'h2',
238
- * h3: 'h3',
239
- * h4: 'h4',
240
- * h5: 'h5',
241
- * h6: 'h6',
242
- * subtitle1: 'h6',
243
- * subtitle2: 'h6',
244
- * body1: 'p',
245
- * body2: 'p',
246
- * inherit: 'p',
247
- * }
248
- */
249
- variantMapping: r.object
250
- });
251
- export {
252
- V as T
253
- };
@@ -1,33 +0,0 @@
1
- var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function a(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- function f(e) {
6
- if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
7
- var n = e.default;
8
- if (typeof n == "function") {
9
- var t = function r() {
10
- var o = !1;
11
- try {
12
- o = this instanceof r;
13
- } catch {
14
- }
15
- return o ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
16
- };
17
- t.prototype = n.prototype;
18
- } else t = {};
19
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
20
- var o = Object.getOwnPropertyDescriptor(e, r);
21
- Object.defineProperty(t, r, o.get ? o : {
22
- enumerable: !0,
23
- get: function() {
24
- return e[r];
25
- }
26
- });
27
- }), t;
28
- }
29
- export {
30
- f as a,
31
- u as c,
32
- a as g
33
- };
@@ -1,10 +0,0 @@
1
- import { g as s } from "./generateUtilityClasses-E9gROIFd.js";
2
- import { g as e } from "./generateUtilityClass-BhfUaMgk.js";
3
- function o(t) {
4
- return e("MuiButtonBase", t);
5
- }
6
- const n = s("MuiButtonBase", ["root", "disabled", "focusVisible"]);
7
- export {
8
- n as b,
9
- o as g
10
- };
@@ -1,16 +0,0 @@
1
- function a(r) {
2
- var f, n, t = "";
3
- if (typeof r == "string" || typeof r == "number") t += r;
4
- else if (typeof r == "object") if (Array.isArray(r)) {
5
- var o = r.length;
6
- for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
7
- } else for (n in r) r[n] && (t && (t += " "), t += n);
8
- return t;
9
- }
10
- function i() {
11
- for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
12
- return t;
13
- }
14
- export {
15
- i as c
16
- };
@@ -1,17 +0,0 @@
1
- function n(e) {
2
- return typeof e.main == "string";
3
- }
4
- function a(e, r = []) {
5
- if (!n(e))
6
- return !1;
7
- for (const t of r)
8
- if (!e.hasOwnProperty(t) || typeof e[t] != "string")
9
- return !1;
10
- return !0;
11
- }
12
- function i(e = []) {
13
- return ([, r]) => r && a(r, e);
14
- }
15
- export {
16
- i as c
17
- };