@solostylist/ui-kit 2.0.1 → 2.0.2

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 (379) hide show
  1. package/dist/Add-CEnTWsXs.js +6 -0
  2. package/dist/ArrowUpward-udL1ltj2.js +6 -0
  3. package/dist/Box-9oeZgA1U.js +46 -0
  4. package/dist/Button-DaLr1m20.js +534 -0
  5. package/dist/ButtonBase-DovDC6-1.js +700 -0
  6. package/dist/Checkbox-C-Xjbzzh.js +152 -0
  7. package/dist/ChevronRight-DsPfsFKB.js +6 -0
  8. package/dist/Close-CIYOM-Sc.js +6 -0
  9. package/dist/Collapse-DPUr1cbP.js +266 -0
  10. package/dist/ContentCopy-Hlh3azVb.js +6 -0
  11. package/dist/DefaultPropsProvider-ebWx4_5E.js +128 -0
  12. package/dist/DialogContent-b3xbJVC6.js +450 -0
  13. package/dist/Download-D9PkFi7a.js +6 -0
  14. package/dist/ExpandMore-sOgvEha9.js +6 -0
  15. package/dist/Favorite-BP343hjM.js +6 -0
  16. package/dist/FavoriteBorder-D15j9xEL.js +6 -0
  17. package/dist/FormControl-DwMfZCiz.js +215 -0
  18. package/dist/FormControlLabel-Ihga1FTB.js +173 -0
  19. package/dist/Grow-BQR7x52V.js +121 -0
  20. package/dist/IconButton-CE-4GamO.js +448 -0
  21. package/dist/InfoOutlined-lpvhO6P8.js +6 -0
  22. package/dist/List-RNcZhRdr.js +105 -0
  23. package/dist/Menu-CnyB4SDS.js +180 -0
  24. package/dist/MenuItem-Ck30dBOR.js +224 -0
  25. package/dist/MenuList-Cc98uWXq.js +160 -0
  26. package/dist/Modal-CD2EBfU8.js +702 -0
  27. package/dist/Paper-_3qggtBp.js +115 -0
  28. package/dist/Popover-BFdKSYI5.js +340 -0
  29. package/dist/Popper-DYNAMSDd.js +1351 -0
  30. package/dist/Portal-i_wgIe9-.js +49 -0
  31. package/dist/Remove-DDEn8ek8.js +6 -0
  32. package/dist/RtlProvider-B7uVJXUY.js +19 -0
  33. package/dist/Skeleton-iZFynl7z.js +220 -0
  34. package/dist/Stack-C0LGzM4c.js +158 -0
  35. package/dist/SwitchBase-CjWtDdmE.js +198 -0
  36. package/dist/Tooltip-B1sn94L0.js +448 -0
  37. package/dist/Typography-_P0svrkO.js +168 -0
  38. package/dist/UnfoldMoreRounded-CuCrdxoy.js +6 -0
  39. package/dist/appendOwnerState-CFQTq3pb.js +17 -0
  40. package/dist/assets/stripe-input.css +1 -0
  41. package/dist/autocomplete-BgARERpp.js +43 -0
  42. package/dist/avatar-XNOdbbRz.js +10 -0
  43. package/dist/buttonBaseClasses-B90LjsNK.js +13 -0
  44. package/dist/capitalize-C0baBJCm.js +5 -0
  45. package/dist/chainPropTypes-CkMRtDjQ.js +8 -0
  46. package/dist/checkbox-D1U_JKqs.js +88 -0
  47. package/dist/checkboxClasses-B1up2lUn.js +18 -0
  48. package/dist/chunk-C_CI6nMA.js +13 -0
  49. package/dist/clsx-DGZSe4Nt.js +16 -0
  50. package/dist/colorManipulator-DmUjcif3.js +129 -0
  51. package/dist/contains-DnqPQsQU.js +16 -0
  52. package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +14 -0
  53. package/dist/createSvgIcon-3y-gS0r1.js +155 -0
  54. package/dist/createTheme-xB2Em0Na.js +1869 -0
  55. package/dist/defaultTheme-BaGcIzCh.js +210 -0
  56. package/dist/elementAcceptingRef-pKEY6jPR.js +25 -0
  57. package/dist/elementTypeAcceptingRef-xl_04Y5-.js +19 -0
  58. package/dist/exactProp-C_IsucXf.js +13 -0
  59. package/dist/extends-DXMyyJCW.js +12 -0
  60. package/dist/field-label-styles-4praXMaE.js +50 -0
  61. package/dist/formLabelClasses-AuZHWfTs.js +18 -0
  62. package/dist/generateUtilityClass-PAIOm1jC.js +34 -0
  63. package/dist/generateUtilityClasses-DvX505Gy.js +10 -0
  64. package/dist/getActiveElement-BfBkhgy6.js +8 -0
  65. package/dist/{gradients-DSnBONEQ.js → gradients-mQAYCK0_.js} +1 -1
  66. package/dist/iconButtonClasses-CVVRFXRo.js +27 -0
  67. package/dist/inputAdornmentClasses-BbB8s-Z4.js +19 -0
  68. package/dist/inputBaseClasses-Ce_jjdp9.js +25 -0
  69. package/dist/integerPropType-CCkQD1JY.js +27 -0
  70. package/dist/isEventHandler-QShLXBxE.js +7 -0
  71. package/dist/isFocusVisible-4OIE8TST.js +11 -0
  72. package/dist/isLayoutSupported-Btg2X3QE.js +6 -0
  73. package/dist/isMuiElement-CPjhi284.js +10 -0
  74. package/dist/main.js +1 -1
  75. package/dist/mega-menu-trigger-BcOo8I5_.js +53 -0
  76. package/dist/memoTheme-qFyKAk7y.js +15 -0
  77. package/dist/mergeSlotProps-DC8r4QzS.js +45 -0
  78. package/dist/monthCalendarClasses-b964KRbc.js +14 -0
  79. package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +12 -0
  80. package/dist/outlinedInputClasses-ci1zDasn.js +17 -0
  81. package/dist/ownerDocument-CJjQZweZ.js +6 -0
  82. package/dist/ownerDocument-pYjJiXem.js +5 -0
  83. package/dist/ownerWindow-SSeeoqPT.js +18 -0
  84. package/dist/palettes/index.js +1 -1
  85. package/dist/{palettes-CJLuEy1m.js → palettes-B1FcGUYs.js} +163 -163
  86. package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +12 -0
  87. package/dist/prop-types-BzYPyWN7.js +516 -0
  88. package/dist/refType-j5S9pc_e.js +6 -0
  89. package/dist/resolveProps-7jIA45vn.js +30 -0
  90. package/dist/s-accordion/index.js +1 -1
  91. package/dist/s-accordion/s-accordion.js +2 -70
  92. package/dist/s-accordion-1oLxQhod.js +487 -0
  93. package/dist/s-action-overlay/s-action-overlay.js +21 -21
  94. package/dist/s-animated-gradient-text/index.d.ts +2 -0
  95. package/dist/s-animated-gradient-text/index.js +2 -0
  96. package/dist/s-animated-gradient-text/s-animated-gradient-text.d.ts +64 -0
  97. package/dist/s-animated-gradient-text/s-animated-gradient-text.js +93 -0
  98. package/dist/s-announcement-bar/index.d.ts +2 -0
  99. package/dist/s-announcement-bar/index.js +2 -0
  100. package/dist/s-announcement-bar/s-announcement-bar.d.ts +113 -0
  101. package/dist/s-announcement-bar/s-announcement-bar.js +275 -0
  102. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  103. package/dist/s-avatar/s-avatar.js +17 -17
  104. package/dist/s-blur-text/s-blur-text.js +16 -16
  105. package/dist/s-brand-logo/index.js +1 -1
  106. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  107. package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
  108. package/dist/s-carousel/index.js +1 -1
  109. package/dist/s-carousel/s-carousel.d.ts +2 -0
  110. package/dist/s-carousel/s-carousel.js +2 -184
  111. package/dist/s-carousel-CAyAl3ka.js +1355 -0
  112. package/dist/s-category-card/s-category-card.js +22 -22
  113. package/dist/s-chat-input/index.js +1 -1
  114. package/dist/s-chat-input/s-chat-input.js +2 -398
  115. package/dist/s-chat-input-T3gyan60.js +419 -0
  116. package/dist/s-chat-message/index.js +1 -1
  117. package/dist/s-chat-message/s-chat-message.js +2 -314
  118. package/dist/s-chat-message-NFTpNgt5.js +315 -0
  119. package/dist/s-checkbox/s-checkbox.js +19 -18
  120. package/dist/s-chips/index.js +1 -1
  121. package/dist/s-chips/s-chips.js +2 -174
  122. package/dist/s-chips-Dqq1fgz-.js +176 -0
  123. package/dist/s-code-block/index.js +1 -1
  124. package/dist/s-code-block/s-code-block.js +2 -103
  125. package/dist/s-code-block-DyDtctGG.js +658 -0
  126. package/dist/s-comment-message/index.js +1 -1
  127. package/dist/s-comment-message/s-comment-message.js +2 -189
  128. package/dist/s-comment-message-DpCVBKiE.js +192 -0
  129. package/dist/s-copyable-text/s-copyable-text.js +18 -18
  130. package/dist/s-countdown/s-count-box.js +18 -18
  131. package/dist/s-data-table/index.js +1 -1
  132. package/dist/s-data-table/s-data-table.js +2 -213
  133. package/dist/s-data-table-D4V58HFR.js +805 -0
  134. package/dist/s-date-picker/index.js +1 -1
  135. package/dist/s-date-picker/s-date-picker.js +2 -106
  136. package/dist/s-date-picker-BFIQOA8C.js +657 -0
  137. package/dist/s-datetime-picker/index.js +1 -1
  138. package/dist/s-datetime-picker/s-datetime-picker.js +2 -108
  139. package/dist/s-datetime-picker-zfg7BEOW.js +3886 -0
  140. package/dist/s-dialog/index.js +1 -1
  141. package/dist/s-dialog/s-dialog.js +2 -80
  142. package/dist/s-dialog-BNlXsVVP.js +123 -0
  143. package/dist/s-dialog-confirm/s-dialog-confirm.js +33 -32
  144. package/dist/s-dialog-message/s-dialog-message.js +32 -31
  145. package/dist/s-drawer/index.d.ts +3 -0
  146. package/dist/s-drawer/index.js +2 -0
  147. package/dist/s-drawer/s-drawer.d.ts +70 -0
  148. package/dist/s-drawer/s-drawer.js +2 -0
  149. package/dist/s-drawer-4h5ZyoM8.js +562 -0
  150. package/dist/s-empty/s-empty.js +14 -13
  151. package/dist/s-file-dropzone/index.js +1 -1
  152. package/dist/s-file-dropzone/s-file-dropzone.js +2 -219
  153. package/dist/s-file-dropzone-Cfzv1Cm8.js +422 -0
  154. package/dist/s-file-icon/s-file-icon.js +88 -87
  155. package/dist/s-flex-box/s-flex-box.js +12 -11
  156. package/dist/s-form/s-form.js +15 -15
  157. package/dist/s-gallery/s-gallery.js +1 -1
  158. package/dist/s-glow-button/s-glow-button.js +10 -9
  159. package/dist/s-gradient-blob-pulse/index.d.ts +2 -0
  160. package/dist/s-gradient-blob-pulse/index.js +2 -0
  161. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.d.ts +62 -0
  162. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +237 -0
  163. package/dist/s-gradient-icon/index.d.ts +1 -1
  164. package/dist/s-gradient-icon/s-gradient-icon.d.ts +4 -4
  165. package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
  166. package/dist/s-icon-button/s-icon-button.d.ts +6 -2
  167. package/dist/s-icon-button/s-icon-button.js +14 -13
  168. package/dist/s-image-comparison/s-image-comparison.js +31 -29
  169. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  170. package/dist/s-image-viewer/index.js +3 -3
  171. package/dist/s-image-viewer/s-image-viewer.js +2 -266
  172. package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
  173. package/dist/s-image-viewer-CjK67-rs.js +269 -0
  174. package/dist/s-interactive-card/index.d.ts +3 -0
  175. package/dist/s-interactive-card/index.js +2 -0
  176. package/dist/s-interactive-card/s-interactive-card.d.ts +57 -0
  177. package/dist/s-interactive-card/s-interactive-card.js +152 -0
  178. package/dist/s-label/s-label.js +26 -25
  179. package/dist/s-language-switcher/index.js +2 -2
  180. package/dist/s-language-switcher/s-language-switcher.js +2 -150
  181. package/dist/s-language-switcher-PaMgHWc2.js +246 -0
  182. package/dist/s-lazy-image/s-lazy-image.js +18 -17
  183. package/dist/s-link/index.js +1 -1
  184. package/dist/s-link/s-link.js +2 -5
  185. package/dist/s-link-Db1aabHh.js +235 -0
  186. package/dist/s-list-action-item/index.d.ts +2 -0
  187. package/dist/s-list-action-item/index.js +2 -0
  188. package/dist/s-list-action-item/s-list-action-item.d.ts +89 -0
  189. package/dist/s-list-action-item/s-list-action-item.js +150 -0
  190. package/dist/s-localization-provider/index.js +1 -1
  191. package/dist/s-localization-provider/s-localization-provider.js +2 -12
  192. package/dist/s-localization-provider-CeyB_SGz.js +519 -0
  193. package/dist/s-mega-menu/index.d.ts +3 -0
  194. package/dist/s-mega-menu/index.js +2 -0
  195. package/dist/s-mega-menu/mega-menu-panel.d.ts +38 -0
  196. package/dist/s-mega-menu/mega-menu-panel.js +253 -0
  197. package/dist/s-mega-menu/mega-menu-slots.d.ts +65 -0
  198. package/dist/s-mega-menu/mega-menu-slots.js +232 -0
  199. package/dist/s-mega-menu/mega-menu-trigger.d.ts +35 -0
  200. package/dist/s-mega-menu/mega-menu-trigger.js +2 -0
  201. package/dist/s-mega-menu/s-mega-menu.d.ts +23 -0
  202. package/dist/s-mega-menu/s-mega-menu.js +228 -0
  203. package/dist/s-mega-menu/types.d.ts +188 -0
  204. package/dist/s-mega-menu/types.js +0 -0
  205. package/dist/s-mega-menu/utils.d.ts +51 -0
  206. package/dist/s-mega-menu/utils.js +51 -0
  207. package/dist/s-mobile-dock/index.d.ts +3 -0
  208. package/dist/s-mobile-dock/index.js +2 -0
  209. package/dist/s-mobile-dock/s-mobile-dock.d.ts +96 -0
  210. package/dist/s-mobile-dock/s-mobile-dock.js +2 -0
  211. package/dist/s-mobile-dock-8F3UWAb8.js +615 -0
  212. package/dist/s-nav-item/index.d.ts +1 -1
  213. package/dist/s-nav-item/s-nav-item.d.ts +35 -16
  214. package/dist/s-nav-item/s-nav-item.js +56 -77
  215. package/dist/s-nav-items/s-nav-items.js +78 -121
  216. package/dist/s-no-ssr/index.js +1 -1
  217. package/dist/s-no-ssr/s-no-ssr.js +2 -5
  218. package/dist/s-no-ssr-DH57_uP_.js +25 -0
  219. package/dist/s-number-range/index.d.ts +3 -0
  220. package/dist/s-number-range/index.js +2 -0
  221. package/dist/s-number-range/s-number-range.d.ts +109 -0
  222. package/dist/s-number-range/s-number-range.js +2 -0
  223. package/dist/s-number-range-Low5QjuD.js +253 -0
  224. package/dist/s-pagination/index.js +1 -1
  225. package/dist/s-pagination/s-pagination.js +2 -85
  226. package/dist/s-pagination-s46hBifh.js +606 -0
  227. package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
  228. package/dist/s-popover/index.d.ts +5 -0
  229. package/dist/s-popover/index.js +3 -0
  230. package/dist/s-popover/placement.d.ts +14 -0
  231. package/dist/s-popover/placement.js +65 -0
  232. package/dist/s-popover/s-popover-content.d.ts +22 -0
  233. package/dist/s-popover/s-popover-content.js +22 -0
  234. package/dist/s-popover/s-popover.d.ts +59 -0
  235. package/dist/s-popover/s-popover.js +68 -0
  236. package/dist/s-product-card/index.d.ts +3 -0
  237. package/dist/s-product-card/index.js +2 -0
  238. package/dist/s-product-card/s-product-card.d.ts +216 -0
  239. package/dist/s-product-card/s-product-card.js +502 -0
  240. package/dist/s-product-gallery/index.d.ts +3 -0
  241. package/dist/s-product-gallery/index.js +2 -0
  242. package/dist/s-product-gallery/s-product-gallery.d.ts +116 -0
  243. package/dist/s-product-gallery/s-product-gallery.js +2 -0
  244. package/dist/s-product-gallery-Dj9eGg5i.js +430 -0
  245. package/dist/s-quantity-input/s-quantity-input.js +24 -24
  246. package/dist/s-review/index.js +1 -1
  247. package/dist/s-review/s-review.js +2 -272
  248. package/dist/s-review--Q2C0ngO.js +272 -0
  249. package/dist/s-scroll-reveal/s-scroll-reveal.js +8 -7
  250. package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +1 -1
  251. package/dist/s-scroll-to-top/s-scroll-to-top.js +28 -27
  252. package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
  253. package/dist/s-segmented-control/index.d.ts +3 -0
  254. package/dist/s-segmented-control/index.js +2 -0
  255. package/dist/s-segmented-control/s-segmented-control.d.ts +94 -0
  256. package/dist/s-segmented-control/s-segmented-control.js +302 -0
  257. package/dist/s-select/index.js +1 -1
  258. package/dist/s-select/s-select.js +2 -201
  259. package/dist/s-select-CtVKEOZ5.js +204 -0
  260. package/dist/s-select-list/s-select-list.js +50 -47
  261. package/dist/s-skeleton/s-skeleton.js +13 -12
  262. package/dist/s-snackbar-message/index.js +2 -2
  263. package/dist/s-snackbar-message/s-snackbar-message.js +2 -89
  264. package/dist/s-snackbar-message-DsfJlDYd.js +810 -0
  265. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
  266. package/dist/s-status-illustration/s-status-illustration.js +74 -74
  267. package/dist/s-stepper/index.d.ts +3 -0
  268. package/dist/s-stepper/index.js +2 -0
  269. package/dist/s-stepper/s-stepper.d.ts +90 -0
  270. package/dist/s-stepper/s-stepper.js +2 -0
  271. package/dist/s-stepper-BtODHVro.js +892 -0
  272. package/dist/s-stripe/s-stripe.js +12 -11
  273. package/dist/s-stripe/stripe-input.js +2 -3
  274. package/dist/s-swatch/index.d.ts +3 -0
  275. package/dist/s-swatch/index.js +2 -0
  276. package/dist/s-swatch/s-swatch.d.ts +235 -0
  277. package/dist/s-swatch/s-swatch.js +219 -0
  278. package/dist/s-switch/index.js +1 -1
  279. package/dist/s-switch/s-switch.js +2 -48
  280. package/dist/s-switch-BCeBoxWf.js +307 -0
  281. package/dist/s-tabs/s-tabs.js +50 -48
  282. package/dist/s-text-editor/index.js +1 -1
  283. package/dist/s-text-editor/s-text-editor-toolbar.js +2 -216
  284. package/dist/s-text-editor/s-text-editor.js +26 -25
  285. package/dist/s-text-editor-toolbar-D5eQ-jCs.js +2124 -0
  286. package/dist/s-text-field/index.js +1 -1
  287. package/dist/s-text-field/s-text-field.js +2 -52
  288. package/dist/s-text-field-HYyDf1Jo.js +51 -0
  289. package/dist/s-text-shimmer/s-text-shimmer.js +3 -1
  290. package/dist/s-text-truncation/s-text-truncation.js +20 -20
  291. package/dist/s-theme-demo/s-theme-demo.js +8 -8
  292. package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
  293. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  294. package/dist/s-theme-demo/theme-demo-components-section.js +2 -265
  295. package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
  296. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  297. package/dist/s-theme-switch/index.js +1 -1
  298. package/dist/s-theme-switch/s-theme-switch.js +2 -60
  299. package/dist/s-theme-switch-BFWpADh3.js +60 -0
  300. package/dist/s-tip/index.js +1 -1
  301. package/dist/s-tip/s-tip.js +2 -61
  302. package/dist/s-tip-jbL7vtoU.js +62 -0
  303. package/dist/s-tool-bar/s-tool-bar.js +28 -28
  304. package/dist/s-tool-bar/tool-bar-action-buttons.js +2 -55
  305. package/dist/s-tool-bar/tool-bar-image-input.js +2 -148
  306. package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
  307. package/dist/s-tool-item/s-tool-item.d.ts +10 -6
  308. package/dist/s-tool-item/s-tool-item.js +29 -29
  309. package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
  310. package/dist/s-zoom-image/s-zoom-image.js +19 -18
  311. package/dist/selectClasses-CPxME5jE.js +22 -0
  312. package/dist/setRef-BWPyWnrr.js +6 -0
  313. package/dist/styled-Bog8QCl3.js +163 -0
  314. package/dist/svgIconClasses-1kWGzgux.js +20 -0
  315. package/dist/switchClasses-BtweO7PC.js +23 -0
  316. package/dist/theme/component-augmentation.d.ts +65 -1
  317. package/dist/theme/components/autocomplete.js +2 -43
  318. package/dist/theme/components/avatar.js +2 -9
  319. package/dist/theme/components/card.js +3 -3
  320. package/dist/theme/components/checkbox.js +2 -90
  321. package/dist/theme/components/chip.js +3 -3
  322. package/dist/theme/components/components.js +20 -20
  323. package/dist/theme/components/date-calendar.js +0 -1
  324. package/dist/theme/components/day-calendar.js +0 -1
  325. package/dist/theme/components/drawer.d.ts +1 -0
  326. package/dist/theme/components/drawer.js +4 -1
  327. package/dist/theme/components/field-label-styles.js +2 -19
  328. package/dist/theme/components/form-label.js +1 -1
  329. package/dist/theme/components/list-item-button.js +1 -1
  330. package/dist/theme/components/list-item.js +7 -7
  331. package/dist/theme/components/month-calendar.js +13 -14
  332. package/dist/theme/components/multi-section-digital-clock-section.js +0 -1
  333. package/dist/theme/components/outlined-input.js +6 -6
  334. package/dist/theme/components/picker-day.js +0 -1
  335. package/dist/theme/components/pickers-arrow-switcher.js +0 -1
  336. package/dist/theme/components/pickers-calendar-header.js +2 -3
  337. package/dist/theme/components/select.js +6 -6
  338. package/dist/theme/components/slider.js +18 -1
  339. package/dist/theme/components/step-connector.d.ts +0 -3
  340. package/dist/theme/components/step-connector.js +1 -6
  341. package/dist/theme/components/step-icon.d.ts +3 -12
  342. package/dist/theme/components/step-icon.js +3 -14
  343. package/dist/theme/components/switch.js +1 -1
  344. package/dist/theme/components/table-pagination.js +1 -1
  345. package/dist/theme/components/toggle-button.js +2 -93
  346. package/dist/theme/components/year-calendar.js +13 -14
  347. package/dist/theme/theme-primitives.js +2 -2
  348. package/dist/theme-demo-components-section-C7l_2KAo.js +267 -0
  349. package/dist/{theme-primitives-CRfnMsNy.js → theme-primitives-CXtaMdVj.js} +109 -108
  350. package/dist/toggle-button-BsGb-tOr.js +104 -0
  351. package/dist/tool-bar-action-buttons-v1koaasr.js +54 -0
  352. package/dist/tool-bar-image-input-DtXTyEe1.js +148 -0
  353. package/dist/typographyClasses-BH_-zLwg.js +31 -0
  354. package/dist/unsupportedProp-whMV_uOi.js +11 -0
  355. package/dist/useControlled-DqNPBJNp.js +5 -0
  356. package/dist/useControlled-uxVKygk1.js +29 -0
  357. package/dist/useEnhancedEffect-DFq_FMGX.js +5 -0
  358. package/dist/useEnhancedEffect-dBFfkm1e.js +5 -0
  359. package/dist/useEventCallback-DGCsaRIu.js +5 -0
  360. package/dist/useEventCallback-DhCPBxRG.js +11 -0
  361. package/dist/useForkRef-BuNFTXxE.js +29 -0
  362. package/dist/useFormControl-gXwNeUM1.js +18 -0
  363. package/dist/useMobilePicker-CdrT935R.js +7584 -0
  364. package/dist/useRovingTabIndex-DPlW997R.js +242 -0
  365. package/dist/useSlot-BG8ReOxN.js +83 -0
  366. package/dist/useSlotProps-BOO3qaI9.js +16 -0
  367. package/dist/useTheme-BIWMbX3i.js +9 -0
  368. package/dist/useThemeProps-Dw9dmKyT.js +29 -0
  369. package/dist/useTimeout-CoK-Khfm.js +49 -0
  370. package/dist/utils/dayjs.js +146 -9
  371. package/dist/utils-Bfqbev5I.js +248 -0
  372. package/dist/warning-D5YhCbje.js +99 -0
  373. package/dist/yearCalendarClasses-D9k_KT38.js +14 -0
  374. package/package.json +1 -1
  375. package/dist/theme/components/components.d.ts +0 -2
  376. package/dist/theme/components/slider.d.ts +0 -34
  377. /package/dist/{colors-CNjL5fhq.js → colors-Bik9qOU9.js} +0 -0
  378. /package/dist/{s-brand-logo-CErW9Slg.js → s-brand-logo-D7Jovf5K.js} +0 -0
  379. /package/dist/{utils-CMeAWSRO.js → utils-DOY6v6ln.js} +0 -0
@@ -0,0 +1,242 @@
1
+ import { t as e } from "./useEnhancedEffect-DFq_FMGX.js";
2
+ import { n as t } from "./useForkRef-BuNFTXxE.js";
3
+ import { t as n } from "./useEventCallback-DhCPBxRG.js";
4
+ import { t as r } from "./getActiveElement-BfBkhgy6.js";
5
+ import { t as i } from "./ownerDocument-CJjQZweZ.js";
6
+ import { t as a } from "./setRef-BWPyWnrr.js";
7
+ import * as o from "react";
8
+ //#region ../../node_modules/@mui/utils/useRovingTabIndex/RovingTabIndexContext.mjs
9
+ var s = /* @__PURE__ */ o.createContext(void 0);
10
+ process.env.NODE_ENV !== "production" && (s.displayName = "RovingTabIndexContext");
11
+ function c() {
12
+ let e = o.useContext(s);
13
+ if (e === void 0) throw Error("MUI: RovingTabIndexContext is missing. Roving tab index items must be placed within a roving tab index provider.");
14
+ return e;
15
+ }
16
+ //#endregion
17
+ //#region ../../node_modules/@mui/utils/fastObjectShallowCompare/fastObjectShallowCompare.mjs
18
+ var l = Object.is;
19
+ function u(e, t) {
20
+ if (e === t) return !0;
21
+ if (!(e instanceof Object) || !(t instanceof Object)) return !1;
22
+ let n = 0, r = 0;
23
+ for (let r in e) if (n += 1, !l(e[r], t[r]) || !(r in t)) return !1;
24
+ for (let e in t) r += 1;
25
+ return n === r;
26
+ }
27
+ //#endregion
28
+ //#region ../../node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.mjs
29
+ var d = [
30
+ "ArrowRight",
31
+ "ArrowLeft",
32
+ "ArrowUp",
33
+ "ArrowDown",
34
+ "Home",
35
+ "End"
36
+ ];
37
+ function f(e) {
38
+ let { activeItemId: t, getDefaultActiveItemId: a, orientation: s, isRtl: c = !1, isItemFocusable: l = E, wrap: f = !0 } = e, [p, h] = o.useState(t), g = o.useRef(t), y = p;
39
+ t !== g.current && (g.current = t, t !== void 0 && t !== p && (y = t, h(t)));
40
+ let x = o.useRef(null), T = o.useRef(/* @__PURE__ */ new Map()), [D, O] = o.useState(0), A = o.useMemo(() => C(T.current), [D]), j = m(y, A, l, a), M = o.useRef(j);
41
+ M.current = j;
42
+ let N = o.useCallback(() => {
43
+ let e = C(T.current);
44
+ return b(e, m(M.current, e, l, a));
45
+ }, [a, l]), P = o.useCallback(() => T.current, []), F = n((e) => {
46
+ u(T.current.get(e.id) ?? null, e) || (T.current.set(e.id, e), O((e) => e + 1));
47
+ }), I = n((e) => {
48
+ T.current.delete(e) && O((e) => e + 1);
49
+ }), L = n((e) => {
50
+ h(e);
51
+ }), R = o.useCallback((e) => M.current === e, []), z = o.useCallback((e, t, n, r) => {
52
+ let i = v(w(T.current), e, t, n, r ?? l);
53
+ return i ? (i.element?.focus(), h(i.id), i) : null;
54
+ }, [l]), B = o.useCallback((e) => ({
55
+ onFocus: (e) => {
56
+ let t = w(T.current), n = S(t, e.target);
57
+ n !== -1 && h(t[n].id);
58
+ },
59
+ onKeyDown: (e) => {
60
+ if (e.altKey || e.shiftKey || e.ctrlKey || e.metaKey || !d.includes(e.key)) return;
61
+ let t = s === "horizontal" ? "ArrowLeft" : "ArrowUp", n = s === "horizontal" ? "ArrowRight" : "ArrowDown";
62
+ s === "horizontal" && c && (t = "ArrowRight", n = "ArrowLeft");
63
+ let a = w(T.current), o = r(i(x.current)), l = o === x.current, u = _(a, o, M.current), p = "next";
64
+ switch (e.key) {
65
+ case t:
66
+ p = "previous", e.preventDefault(), l && (u = a.length);
67
+ break;
68
+ case n:
69
+ e.preventDefault(), l && (u = -1);
70
+ break;
71
+ case "Home":
72
+ e.preventDefault(), u = -1;
73
+ break;
74
+ case "End":
75
+ e.preventDefault(), p = "previous", u = a.length;
76
+ break;
77
+ default: return;
78
+ }
79
+ z(u, p, f);
80
+ },
81
+ ref: k(e, (e) => {
82
+ x.current = e;
83
+ })
84
+ }), [
85
+ z,
86
+ c,
87
+ s,
88
+ f
89
+ ]), V = o.useCallback((e) => {
90
+ let t = w(T.current), n = r(i(x.current));
91
+ return z(n === x.current ? -1 : _(t, n, M.current), "next", !0, e)?.id ?? null;
92
+ }, [z]);
93
+ return o.useMemo(() => ({
94
+ activeItemId: j,
95
+ focusNext: V,
96
+ getActiveItem: N,
97
+ getContainerProps: B,
98
+ getItemMap: P,
99
+ isItemActive: R,
100
+ registerItem: F,
101
+ setActiveItemId: L,
102
+ unregisterItem: I
103
+ }), [
104
+ j,
105
+ V,
106
+ N,
107
+ B,
108
+ P,
109
+ R,
110
+ F,
111
+ L,
112
+ I
113
+ ]);
114
+ }
115
+ function p(n) {
116
+ let { activeItemId: r, registerItem: i, unregisterItem: a } = c(), s = o.useRef(null), l = o.useMemo(() => ({
117
+ disabled: n.disabled ?? !1,
118
+ element: null,
119
+ focusableWhenDisabled: n.focusableWhenDisabled ?? !1,
120
+ id: n.id,
121
+ selected: n.selected ?? !1,
122
+ textValue: n.textValue
123
+ }), [
124
+ n.disabled,
125
+ n.focusableWhenDisabled,
126
+ n.id,
127
+ n.selected,
128
+ n.textValue
129
+ ]), u = o.useRef(l);
130
+ u.current = l;
131
+ let d = o.useCallback((e) => {
132
+ if (s.current = e, e == null) {
133
+ queueMicrotask(() => {
134
+ s.current ?? a(n.id);
135
+ });
136
+ return;
137
+ }
138
+ i({
139
+ ...u.current,
140
+ element: e
141
+ });
142
+ }, [
143
+ n.id,
144
+ i,
145
+ a
146
+ ]), f = t(n.ref, d);
147
+ return e(() => {
148
+ s.current && i({
149
+ ...l,
150
+ element: s.current
151
+ });
152
+ }, [l, i]), e(() => {
153
+ let e = n.id;
154
+ return () => {
155
+ a(e);
156
+ };
157
+ }, [n.id, a]), {
158
+ ref: f,
159
+ tabIndex: r === n.id ? 0 : -1
160
+ };
161
+ }
162
+ function m(e, t, n, r) {
163
+ return e == null ? g(t, n, r) : h(e, t, n);
164
+ }
165
+ function h(e, t, n) {
166
+ let r = x(t, e);
167
+ return r === -1 ? y(t, n) : n(t[r]) ? t[r].id : v(t, r, "next", !1, n)?.id ?? null;
168
+ }
169
+ function g(e, t, n) {
170
+ let r = n?.(e);
171
+ if (r != null) {
172
+ let n = b(e, r);
173
+ if (n && t(n)) return n.id;
174
+ }
175
+ return y(e, t);
176
+ }
177
+ function _(e, t, n) {
178
+ if (t) {
179
+ let n = S(e, t);
180
+ if (n !== -1) return n;
181
+ }
182
+ return x(e, n);
183
+ }
184
+ function v(e, t, n, r, i) {
185
+ let a = e.length - 1;
186
+ if (a === -1) return null;
187
+ let o = !1, s = T(t, a, n, r), c = s;
188
+ for (; s !== -1;) {
189
+ if (s === c) {
190
+ if (o) return null;
191
+ o = !0;
192
+ }
193
+ let t = e[s];
194
+ if (!t || !i(t)) s = T(s, a, n, r);
195
+ else return t;
196
+ }
197
+ return null;
198
+ }
199
+ function y(e, t) {
200
+ return e.find((e) => t(e))?.id ?? null;
201
+ }
202
+ function b(e, t) {
203
+ return t == null ? null : e.find((e) => e.id === t) ?? null;
204
+ }
205
+ function x(e, t) {
206
+ return t == null ? -1 : e.findIndex((e) => e.id === t);
207
+ }
208
+ function S(e, t) {
209
+ return t ? e.findIndex((e) => e.element === t || e.element?.contains(t)) : -1;
210
+ }
211
+ function C(e) {
212
+ let t = Array.from(e.values());
213
+ if (t.every((e) => e.element == null)) return t;
214
+ let n = t.filter(D).sort((e, t) => O(e.element, t.element)), r = t.filter((e) => !D(e));
215
+ return [...n, ...r];
216
+ }
217
+ function w(e) {
218
+ return C(e).filter(D);
219
+ }
220
+ function T(e, t, n, r = !0) {
221
+ return n === "next" ? e === t ? r ? 0 : -1 : e + 1 : e === 0 ? r ? t : -1 : e - 1;
222
+ }
223
+ function E(e) {
224
+ return e.element ? e.focusableWhenDisabled ? !0 : !e.disabled && !e.element.hasAttribute("disabled") && e.element.getAttribute("aria-disabled") !== "true" && e.element.hasAttribute("tabindex") : !1;
225
+ }
226
+ function D(e) {
227
+ return e.element != null && e.element.isConnected;
228
+ }
229
+ function O(e, t) {
230
+ if (e === t) return 0;
231
+ let n = e.compareDocumentPosition(t);
232
+ return n & Node.DOCUMENT_POSITION_FOLLOWING || n & Node.DOCUMENT_POSITION_CONTAINED_BY ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING || n & Node.DOCUMENT_POSITION_CONTAINS ? 1 : 0;
233
+ }
234
+ function k(...e) {
235
+ return (t) => {
236
+ e.forEach((e) => {
237
+ a(e ?? null, t);
238
+ });
239
+ };
240
+ }
241
+ //#endregion
242
+ export { c as a, s as i, p as n, f as r, E as t };
@@ -0,0 +1,83 @@
1
+ import { t as e } from "./clsx-DGZSe4Nt.js";
2
+ import { n as t } from "./useForkRef-BuNFTXxE.js";
3
+ import { t as n } from "./appendOwnerState-CFQTq3pb.js";
4
+ import { t as r } from "./isEventHandler-QShLXBxE.js";
5
+ //#region ../../node_modules/@mui/utils/extractEventHandlers/extractEventHandlers.mjs
6
+ function i(e) {
7
+ if (e === void 0) return {};
8
+ let t = {};
9
+ for (let n of Object.keys(e)) r(n, e[n]) && (t[n] = e[n]);
10
+ return t;
11
+ }
12
+ //#endregion
13
+ //#region ../../node_modules/@mui/utils/omitEventHandlers/omitEventHandlers.mjs
14
+ function a(e) {
15
+ if (e === void 0) return {};
16
+ let t = {};
17
+ return Object.keys(e).filter((t) => !(t.match(/^on[A-Z]/) && typeof e[t] == "function")).forEach((n) => {
18
+ t[n] = e[n];
19
+ }), t;
20
+ }
21
+ //#endregion
22
+ //#region ../../node_modules/@mui/utils/mergeSlotProps/mergeSlotProps.mjs
23
+ function o(t) {
24
+ let { getSlotProps: n, additionalProps: r, externalSlotProps: o, externalForwardedProps: s, className: c } = t;
25
+ if (!n) {
26
+ let t = e(r?.className, c, s?.className, o?.className), n = {
27
+ ...r?.style,
28
+ ...s?.style,
29
+ ...o?.style
30
+ }, i = {
31
+ ...r,
32
+ ...s,
33
+ ...o
34
+ };
35
+ return t.length > 0 && (i.className = t), Object.keys(n).length > 0 && (i.style = n), {
36
+ props: i,
37
+ internalRef: void 0
38
+ };
39
+ }
40
+ let l = i({
41
+ ...s,
42
+ ...o
43
+ }), u = a(o), d = a(s), f = n(l), p = e(f?.className, r?.className, c, s?.className, o?.className), m = {
44
+ ...f?.style,
45
+ ...r?.style,
46
+ ...s?.style,
47
+ ...o?.style
48
+ }, h = {
49
+ ...f,
50
+ ...r,
51
+ ...d,
52
+ ...u
53
+ };
54
+ return p.length > 0 && (h.className = p), Object.keys(m).length > 0 && (h.style = m), {
55
+ props: h,
56
+ internalRef: f.ref
57
+ };
58
+ }
59
+ //#endregion
60
+ //#region ../../node_modules/@mui/utils/resolveComponentProps/resolveComponentProps.mjs
61
+ function s(e, t, n) {
62
+ return typeof e == "function" ? e(t, n) : e;
63
+ }
64
+ //#endregion
65
+ //#region ../../node_modules/@mui/material/utils/useSlot.mjs
66
+ function c(e, r) {
67
+ let { className: i, elementType: a, ownerState: c, externalForwardedProps: l, internalForwardedProps: u, shouldForwardComponentProp: d = !1, ...f } = r, { component: p, slots: m = { [e]: void 0 }, slotProps: h = { [e]: void 0 }, ...g } = l, _ = m[e] || a, v = s(h[e], c), { props: { component: y, ...b }, internalRef: x } = o({
68
+ className: i,
69
+ ...f,
70
+ externalForwardedProps: e === "root" ? g : void 0,
71
+ externalSlotProps: v
72
+ }), S = t(x, v?.ref, r.ref), C = e === "root" ? y || p : y;
73
+ return [_, n(_, {
74
+ ...e === "root" && !p && !m[e] && u,
75
+ ...e !== "root" && !m[e] && u,
76
+ ...b,
77
+ ...C && !d && { as: C },
78
+ ...C && d && { component: C },
79
+ ref: S
80
+ }, c)];
81
+ }
82
+ //#endregion
83
+ export { i, s as n, o as r, c as t };
@@ -0,0 +1,16 @@
1
+ import { n as e } from "./useForkRef-BuNFTXxE.js";
2
+ import { t } from "./appendOwnerState-CFQTq3pb.js";
3
+ import { n, r } from "./useSlot-BG8ReOxN.js";
4
+ //#region ../../node_modules/@mui/utils/useSlotProps/useSlotProps.mjs
5
+ function i(i) {
6
+ let { elementType: a, externalSlotProps: o, ownerState: s, skipResolvingSlotProps: c = !1, ...l } = i, u = c ? {} : n(o, s), { props: d, internalRef: f } = r({
7
+ ...l,
8
+ externalSlotProps: u
9
+ }), p = e(f, u?.ref, i.additionalProps?.ref);
10
+ return t(a, {
11
+ ...d,
12
+ ref: p
13
+ }, s);
14
+ }
15
+ //#endregion
16
+ export { i as t };
@@ -0,0 +1,9 @@
1
+ import { n as e, t } from "./defaultTheme-BaGcIzCh.js";
2
+ import * as n from "react";
3
+ //#region ../../node_modules/@mui/material/styles/useTheme.mjs
4
+ function r() {
5
+ let r = e(t);
6
+ return process.env.NODE_ENV !== "production" && n.useDebugValue(r), r.$$material || r;
7
+ }
8
+ //#endregion
9
+ export { r as t };
@@ -0,0 +1,29 @@
1
+ import { l as e, n as t, t as n } from "./defaultTheme-BaGcIzCh.js";
2
+ import { t as r } from "./resolveProps-7jIA45vn.js";
3
+ //#region ../../node_modules/@mui/system/useThemeProps/getThemeProps.mjs
4
+ function i(e) {
5
+ let { theme: t, name: n, props: i } = e;
6
+ return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? i : r(t.components[n].defaultProps, i);
7
+ }
8
+ //#endregion
9
+ //#region ../../node_modules/@mui/system/useThemeProps/useThemeProps.mjs
10
+ function a({ props: e, name: n, defaultTheme: r, themeId: a }) {
11
+ let o = t(r);
12
+ return a && (o = o[a] || o), i({
13
+ theme: o,
14
+ name: n,
15
+ props: e
16
+ });
17
+ }
18
+ //#endregion
19
+ //#region ../../node_modules/@mui/material/styles/useThemeProps.mjs
20
+ function o({ props: t, name: r }) {
21
+ return a({
22
+ props: t,
23
+ name: r,
24
+ defaultTheme: n,
25
+ themeId: e
26
+ });
27
+ }
28
+ //#endregion
29
+ export { a as n, i as r, o as t };
@@ -0,0 +1,49 @@
1
+ import * as e from "react";
2
+ import t from "react";
3
+ //#region ../../node_modules/@mui/utils/useLazyRef/useLazyRef.mjs
4
+ var n = {};
5
+ function r(t, r) {
6
+ let i = e.useRef(n);
7
+ return i.current === n && (i.current = t(r)), i;
8
+ }
9
+ //#endregion
10
+ //#region ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
11
+ function i(e, t) {
12
+ return i = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
13
+ return e.__proto__ = t, e;
14
+ }, i(e, t);
15
+ }
16
+ //#endregion
17
+ //#region ../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
18
+ function a(e, t) {
19
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, i(e, t);
20
+ }
21
+ //#endregion
22
+ //#region ../../node_modules/react-transition-group/esm/TransitionGroupContext.js
23
+ var o = t.createContext(null), s = [];
24
+ function c(t) {
25
+ e.useEffect(t, s);
26
+ }
27
+ //#endregion
28
+ //#region ../../node_modules/@mui/utils/useTimeout/useTimeout.mjs
29
+ var l = class e {
30
+ static create() {
31
+ return new e();
32
+ }
33
+ currentId = null;
34
+ start(e, t) {
35
+ this.clear(), this.currentId = setTimeout(() => {
36
+ this.currentId = null, t();
37
+ }, e);
38
+ }
39
+ clear = () => {
40
+ this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
41
+ };
42
+ disposeEffect = () => this.clear;
43
+ };
44
+ function u() {
45
+ let e = r(l.create).current;
46
+ return c(e.disposeEffect), e;
47
+ }
48
+ //#endregion
49
+ export { r as a, a as i, u as n, o as r, l as t };
@@ -1,8 +1,145 @@
1
- import e, { extend as t } from "dayjs";
2
- import n from "dayjs/plugin/isToday";
3
- import r from "dayjs/plugin/relativeTime";
4
- import i from "dayjs/plugin/updateLocale";
5
- t(r), t(i), e.extend(r), e.extend(n), e.updateLocale("en", { relativeTime: {
1
+ import { n as e, t } from "../chunk-C_CI6nMA.js";
2
+ import n, { extend as r } from "dayjs";
3
+ //#region ../../node_modules/dayjs/plugin/isToday.js
4
+ var i = /* @__PURE__ */ t(((e, t) => {
5
+ (function(n, r) {
6
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isToday = r();
7
+ })(e, (function() {
8
+ return function(e, t, n) {
9
+ t.prototype.isToday = function() {
10
+ var e = "YYYY-MM-DD", t = n();
11
+ return this.format(e) === t.format(e);
12
+ };
13
+ };
14
+ }));
15
+ })), a = /* @__PURE__ */ t(((e, t) => {
16
+ (function(n, r) {
17
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_relativeTime = r();
18
+ })(e, (function() {
19
+ return function(e, t, n) {
20
+ e ||= {};
21
+ var r = t.prototype, i = {
22
+ future: "in %s",
23
+ past: "%s ago",
24
+ s: "a few seconds",
25
+ m: "a minute",
26
+ mm: "%d minutes",
27
+ h: "an hour",
28
+ hh: "%d hours",
29
+ d: "a day",
30
+ dd: "%d days",
31
+ M: "a month",
32
+ MM: "%d months",
33
+ y: "a year",
34
+ yy: "%d years"
35
+ };
36
+ function a(e, t, n, i) {
37
+ return r.fromToBase(e, t, n, i);
38
+ }
39
+ n.en.relativeTime = i, r.fromToBase = function(t, r, a, o, s) {
40
+ for (var c, l, u, d = a.$locale().relativeTime || i, f = e.thresholds || [
41
+ {
42
+ l: "s",
43
+ r: 44,
44
+ d: "second"
45
+ },
46
+ {
47
+ l: "m",
48
+ r: 89
49
+ },
50
+ {
51
+ l: "mm",
52
+ r: 44,
53
+ d: "minute"
54
+ },
55
+ {
56
+ l: "h",
57
+ r: 89
58
+ },
59
+ {
60
+ l: "hh",
61
+ r: 21,
62
+ d: "hour"
63
+ },
64
+ {
65
+ l: "d",
66
+ r: 35
67
+ },
68
+ {
69
+ l: "dd",
70
+ r: 25,
71
+ d: "day"
72
+ },
73
+ {
74
+ l: "M",
75
+ r: 45
76
+ },
77
+ {
78
+ l: "MM",
79
+ r: 10,
80
+ d: "month"
81
+ },
82
+ {
83
+ l: "y",
84
+ r: 17
85
+ },
86
+ {
87
+ l: "yy",
88
+ d: "year"
89
+ }
90
+ ], p = f.length, m = 0; m < p; m += 1) {
91
+ var h = f[m];
92
+ h.d && (c = o ? n(t).diff(a, h.d, !0) : a.diff(t, h.d, !0));
93
+ var g = (e.rounding || Math.round)(Math.abs(c));
94
+ if (u = c > 0, g <= h.r || !h.r) {
95
+ g <= 1 && m > 0 && (h = f[m - 1]);
96
+ var _ = d[h.l];
97
+ s && (g = s("" + g)), l = typeof _ == "string" ? _.replace("%d", g) : _(g, r, h.l, u);
98
+ break;
99
+ }
100
+ }
101
+ if (r) return l;
102
+ var v = u ? d.future : d.past;
103
+ return typeof v == "function" ? v(l) : v.replace("%s", l);
104
+ }, r.to = function(e, t) {
105
+ return a(e, t, this, !0);
106
+ }, r.from = function(e, t) {
107
+ return a(e, t, this);
108
+ };
109
+ var o = function(e) {
110
+ return e.$u ? n.utc() : n();
111
+ };
112
+ r.toNow = function(e) {
113
+ return this.to(o(this), e);
114
+ }, r.fromNow = function(e) {
115
+ return this.from(o(this), e);
116
+ };
117
+ };
118
+ }));
119
+ })), o = /* @__PURE__ */ t(((e, t) => {
120
+ (function(n, r) {
121
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_updateLocale = r();
122
+ })(e, (function() {
123
+ function e() {
124
+ return e = Object.assign || function(e) {
125
+ for (var t = 1; t < arguments.length; t++) {
126
+ var n = arguments[t];
127
+ for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
128
+ }
129
+ return e;
130
+ }, e.apply(this, arguments);
131
+ }
132
+ return function(t, n, r) {
133
+ r.updateLocale = function(t, n) {
134
+ var i = r.Ls[t];
135
+ if (i) return (n ? Object.keys(n) : []).forEach((function(t) {
136
+ i[t] && n[t] && typeof i[t] == "object" && typeof n[t] == "object" && !Array.isArray(i[t]) ? i[t] = e({}, i[t], n[t]) : i[t] = n[t];
137
+ })), i;
138
+ };
139
+ };
140
+ }));
141
+ })), s = /* @__PURE__ */ e(i(), 1), c = /* @__PURE__ */ e(a(), 1), l = /* @__PURE__ */ e(o(), 1);
142
+ r(c.default), r(l.default), n.extend(c.default), n.extend(s.default), n.updateLocale("en", { relativeTime: {
6
143
  future: "in %s",
7
144
  past: "%s ago",
8
145
  s: "a few sec",
@@ -17,9 +154,9 @@ t(r), t(i), e.extend(r), e.extend(n), e.updateLocale("en", { relativeTime: {
17
154
  y: "a year",
18
155
  yy: "%d years"
19
156
  } });
20
- var a = (t) => {
21
- let n = e(t), r = e().diff(n, "day");
22
- return n.isToday() || r === 0 ? "Today" : r < 6 && r > 0 ? `${r}d ago` : n.format("MMM-DD");
157
+ var u = (e) => {
158
+ let t = n(e), r = n().diff(t, "day");
159
+ return t.isToday() || r === 0 ? "Today" : r < 6 && r > 0 ? `${r}d ago` : t.format("MMM-DD");
23
160
  };
24
161
  //#endregion
25
- export { e as dayjs, a as formatDatePosted };
162
+ export { n as dayjs, u as formatDatePosted };