@solostylist/ui-kit 2.0.0 → 2.0.1

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 (268) hide show
  1. package/dist/{gradients-90SYkAC0.js → gradients-DSnBONEQ.js} +1 -1
  2. package/dist/main.js +1 -1
  3. package/dist/palettes/index.js +1 -1
  4. package/dist/{palettes-Dw3PEYF5.js → palettes-CJLuEy1m.js} +163 -163
  5. package/dist/s-accordion/index.js +1 -1
  6. package/dist/s-accordion/s-accordion.js +70 -2
  7. package/dist/s-action-overlay/s-action-overlay.js +21 -21
  8. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  9. package/dist/s-avatar/s-avatar.js +17 -17
  10. package/dist/s-blur-text/s-blur-text.js +16 -16
  11. package/dist/s-brand-logo/index.js +1 -1
  12. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  13. package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
  14. package/dist/s-carousel/index.js +1 -1
  15. package/dist/s-carousel/s-carousel.js +184 -2
  16. package/dist/s-category-card/s-category-card.js +22 -22
  17. package/dist/s-chat-input/index.js +1 -1
  18. package/dist/s-chat-input/s-chat-input.js +398 -2
  19. package/dist/s-chat-message/index.js +1 -1
  20. package/dist/s-chat-message/s-chat-message.js +314 -2
  21. package/dist/s-checkbox/s-checkbox.js +18 -19
  22. package/dist/s-chips/index.js +1 -1
  23. package/dist/s-chips/s-chips.js +174 -2
  24. package/dist/s-code-block/index.js +1 -1
  25. package/dist/s-code-block/s-code-block.js +103 -2
  26. package/dist/s-comment-message/index.js +1 -1
  27. package/dist/s-comment-message/s-comment-message.js +189 -2
  28. package/dist/s-copyable-text/s-copyable-text.js +18 -18
  29. package/dist/s-countdown/s-count-box.js +18 -18
  30. package/dist/s-data-table/index.js +1 -1
  31. package/dist/s-data-table/s-data-table.js +213 -2
  32. package/dist/s-date-picker/index.js +1 -1
  33. package/dist/s-date-picker/s-date-picker.js +106 -2
  34. package/dist/s-datetime-picker/index.js +1 -1
  35. package/dist/s-datetime-picker/s-datetime-picker.js +108 -2
  36. package/dist/s-dialog/index.js +1 -1
  37. package/dist/s-dialog/s-dialog.js +80 -2
  38. package/dist/s-dialog-confirm/s-dialog-confirm.js +32 -33
  39. package/dist/s-dialog-message/s-dialog-message.js +31 -32
  40. package/dist/s-empty/s-empty.js +13 -14
  41. package/dist/s-file-dropzone/index.js +1 -1
  42. package/dist/s-file-dropzone/s-file-dropzone.js +219 -2
  43. package/dist/s-file-icon/s-file-icon.js +87 -88
  44. package/dist/s-flex-box/s-flex-box.js +11 -12
  45. package/dist/s-form/s-form.js +15 -15
  46. package/dist/s-gallery/s-gallery.js +1 -1
  47. package/dist/s-glow-button/s-glow-button.js +9 -10
  48. package/dist/s-icon-button/s-icon-button.js +15 -16
  49. package/dist/s-image-comparison/s-image-comparison.js +29 -31
  50. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  51. package/dist/s-image-viewer/index.js +3 -3
  52. package/dist/s-image-viewer/s-image-viewer.js +266 -2
  53. package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
  54. package/dist/s-label/s-label.js +26 -27
  55. package/dist/s-language-switcher/index.js +2 -2
  56. package/dist/s-language-switcher/s-language-switcher.js +150 -2
  57. package/dist/s-lazy-image/s-lazy-image.js +17 -18
  58. package/dist/s-link/index.js +1 -1
  59. package/dist/s-link/s-link.js +5 -2
  60. package/dist/s-localization-provider/index.js +1 -1
  61. package/dist/s-localization-provider/s-localization-provider.js +12 -2
  62. package/dist/s-nav-item/s-nav-item.js +16 -16
  63. package/dist/s-nav-items/index.js +2 -2
  64. package/dist/s-nav-items/s-nav-items.js +167 -2
  65. package/dist/s-no-ssr/index.js +1 -1
  66. package/dist/s-no-ssr/s-no-ssr.js +5 -2
  67. package/dist/s-pagination/index.js +1 -1
  68. package/dist/s-pagination/s-pagination.js +85 -2
  69. package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
  70. package/dist/s-quantity-input/index.js +1 -1
  71. package/dist/s-quantity-input/s-quantity-input.js +246 -2
  72. package/dist/s-review/index.js +1 -1
  73. package/dist/s-review/s-review.js +272 -2
  74. package/dist/s-scroll-reveal/s-scroll-reveal.js +7 -8
  75. package/dist/s-scroll-to-top/s-scroll-to-top.js +27 -28
  76. package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
  77. package/dist/s-select/index.js +1 -1
  78. package/dist/s-select/s-select.js +201 -2
  79. package/dist/s-select-list/s-select-list.js +47 -50
  80. package/dist/s-skeleton/s-skeleton.js +16 -17
  81. package/dist/s-snackbar-message/index.js +2 -2
  82. package/dist/s-snackbar-message/s-snackbar-message.js +89 -2
  83. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
  84. package/dist/s-status-illustration/s-status-illustration.js +74 -74
  85. package/dist/s-stripe/s-stripe.js +11 -12
  86. package/dist/s-stripe/stripe-input.js +3 -2
  87. package/dist/s-switch/index.js +1 -1
  88. package/dist/s-switch/s-switch.js +48 -2
  89. package/dist/s-tabs/s-tabs.js +48 -50
  90. package/dist/s-text-editor/index.js +1 -1
  91. package/dist/s-text-editor/s-text-editor-toolbar.js +216 -2
  92. package/dist/s-text-editor/s-text-editor.js +25 -26
  93. package/dist/s-text-field/index.js +1 -1
  94. package/dist/s-text-field/s-text-field.js +52 -2
  95. package/dist/s-text-shimmer/s-text-shimmer.js +1 -3
  96. package/dist/s-text-truncation/s-text-truncation.js +20 -20
  97. package/dist/s-theme-demo/s-theme-demo.js +8 -8
  98. package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
  99. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  100. package/dist/s-theme-demo/theme-demo-components-section.js +265 -2
  101. package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
  102. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  103. package/dist/s-theme-switch/index.js +1 -1
  104. package/dist/s-theme-switch/s-theme-switch.js +60 -2
  105. package/dist/s-tip/index.js +1 -1
  106. package/dist/s-tip/s-tip.js +61 -2
  107. package/dist/s-tool-bar/s-tool-bar.js +28 -28
  108. package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
  109. package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
  110. package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
  111. package/dist/s-tool-item/s-tool-item.js +22 -22
  112. package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
  113. package/dist/s-zoom-image/s-zoom-image.js +18 -19
  114. package/dist/theme/components/autocomplete.js +43 -2
  115. package/dist/theme/components/avatar.js +9 -2
  116. package/dist/theme/components/card.js +3 -3
  117. package/dist/theme/components/checkbox.js +90 -2
  118. package/dist/theme/components/chip.js +3 -3
  119. package/dist/theme/components/components.js +20 -20
  120. package/dist/theme/components/date-calendar.js +1 -0
  121. package/dist/theme/components/day-calendar.js +1 -0
  122. package/dist/theme/components/field-label-styles.js +19 -2
  123. package/dist/theme/components/form-label.js +1 -1
  124. package/dist/theme/components/list-item-button.js +1 -1
  125. package/dist/theme/components/list-item.js +7 -7
  126. package/dist/theme/components/month-calendar.js +14 -13
  127. package/dist/theme/components/multi-section-digital-clock-section.js +1 -0
  128. package/dist/theme/components/outlined-input.js +6 -6
  129. package/dist/theme/components/picker-day.js +1 -0
  130. package/dist/theme/components/pickers-arrow-switcher.js +1 -0
  131. package/dist/theme/components/pickers-calendar-header.js +3 -2
  132. package/dist/theme/components/select.js +6 -6
  133. package/dist/theme/components/switch.js +1 -1
  134. package/dist/theme/components/table-pagination.js +1 -1
  135. package/dist/theme/components/toggle-button.js +93 -2
  136. package/dist/theme/components/year-calendar.js +14 -13
  137. package/dist/theme/theme-primitives.js +2 -2
  138. package/dist/{theme-primitives-Dt_DT9b5.js → theme-primitives-CRfnMsNy.js} +108 -109
  139. package/dist/utils/dayjs.js +9 -146
  140. package/package.json +1 -1
  141. package/dist/Add-COc9VdNg.js +0 -6
  142. package/dist/ArrowUpward-D88i2k4q.js +0 -6
  143. package/dist/Box-9oeZgA1U.js +0 -46
  144. package/dist/Button-DgIFcM44.js +0 -534
  145. package/dist/ButtonBase-DxKtpFYs.js +0 -747
  146. package/dist/Checkbox-BoZu9z2l.js +0 -152
  147. package/dist/ChevronRight-BxsM4W78.js +0 -6
  148. package/dist/Close-o4HFfK0I.js +0 -6
  149. package/dist/Collapse-zgIFP5Sj.js +0 -266
  150. package/dist/ContentCopy-5unyTYXy.js +0 -6
  151. package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
  152. package/dist/DialogContent-CAry6lVf.js +0 -450
  153. package/dist/Download-DtvoRwpl.js +0 -6
  154. package/dist/ExpandMore-Ba5bg6s-.js +0 -6
  155. package/dist/Favorite-B_GsElm0.js +0 -6
  156. package/dist/FormControl-BxmM9UP6.js +0 -221
  157. package/dist/FormControlLabel-DzgppcC_.js +0 -173
  158. package/dist/Grow-zRRuwUl-.js +0 -121
  159. package/dist/InfoOutlined-VC7X46pc.js +0 -6
  160. package/dist/List-CnGIAXAS.js +0 -103
  161. package/dist/ListContext-B1HQt3OD.js +0 -6
  162. package/dist/Menu-C4Zabc9U.js +0 -504
  163. package/dist/MenuItem-rXJfQzDC.js +0 -223
  164. package/dist/MenuList-DDV8J-yd.js +0 -407
  165. package/dist/Modal-jAiibALV.js +0 -707
  166. package/dist/Paper-ixxCeml9.js +0 -115
  167. package/dist/Popper-CVYyMS3c.js +0 -1350
  168. package/dist/Portal-AnyvFRC4.js +0 -53
  169. package/dist/RtlProvider-B7uVJXUY.js +0 -19
  170. package/dist/Skeleton-iZFynl7z.js +0 -220
  171. package/dist/Stack-UMc4dV4G.js +0 -158
  172. package/dist/SwitchBase-D7zqrstO.js +0 -198
  173. package/dist/Tooltip-DbCd6rgF.js +0 -447
  174. package/dist/Typography-yXjc7kVP.js +0 -168
  175. package/dist/UnfoldMoreRounded-DsN0HVDV.js +0 -6
  176. package/dist/appendOwnerState-CELpvdMz.js +0 -17
  177. package/dist/assets/stripe-input.css +0 -1
  178. package/dist/autocomplete-B_4y84Ba.js +0 -43
  179. package/dist/avatar-BHuZu3DN.js +0 -10
  180. package/dist/buttonBaseClasses-BvBqFLb_.js +0 -13
  181. package/dist/capitalize-CccCFNpQ.js +0 -5
  182. package/dist/checkbox-BKMZEVU5.js +0 -88
  183. package/dist/checkboxClasses-CEsqS4sc.js +0 -18
  184. package/dist/chunk-C_CI6nMA.js +0 -13
  185. package/dist/clsx-DGZSe4Nt.js +0 -16
  186. package/dist/colorManipulator-DmUjcif3.js +0 -129
  187. package/dist/contains-WOhYaq1E.js +0 -16
  188. package/dist/createSimplePaletteValueFilter-C1gWywW_.js +0 -14
  189. package/dist/createSvgIcon-B0SZlJF1.js +0 -155
  190. package/dist/createTheme-xB2Em0Na.js +0 -1869
  191. package/dist/defaultTheme-BaGcIzCh.js +0 -210
  192. package/dist/elementAcceptingRef-DhkNAkFH.js +0 -472
  193. package/dist/exactProp-C_IsucXf.js +0 -13
  194. package/dist/field-label-styles-BOyhp6gw.js +0 -50
  195. package/dist/formLabelClasses-B0Fa-86T.js +0 -18
  196. package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
  197. package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
  198. package/dist/iconButtonClasses-CkciZuIe.js +0 -27
  199. package/dist/inputAdornmentClasses-D5yYK5bM.js +0 -19
  200. package/dist/inputBaseClasses-DuWQGq8Z.js +0 -25
  201. package/dist/integerPropType-Disnft4a.js +0 -27
  202. package/dist/isEventHandler-8dPdzK9U.js +0 -7
  203. package/dist/isFocusVisible-Y7157FQS.js +0 -35
  204. package/dist/isLayoutSupported-Ceir7nyK.js +0 -21
  205. package/dist/listItemButtonClasses-DbL-aTVf.js +0 -18
  206. package/dist/memoTheme-qFyKAk7y.js +0 -15
  207. package/dist/mergeSlotProps-xl1-PgWL.js +0 -45
  208. package/dist/monthCalendarClasses-BYVHyEfI.js +0 -14
  209. package/dist/objectWithoutPropertiesLoose-Cpds-4w8.js +0 -23
  210. package/dist/outlinedInputClasses-DECY98u0.js +0 -17
  211. package/dist/pickersCalendarHeaderClasses-CIj0gBye.js +0 -12
  212. package/dist/prop-types-BzYPyWN7.js +0 -516
  213. package/dist/resolveProps-7jIA45vn.js +0 -30
  214. package/dist/s-accordion-B8nlrdFc.js +0 -487
  215. package/dist/s-carousel-Dnjke4JQ.js +0 -1353
  216. package/dist/s-chat-input-DCS0mJE4.js +0 -419
  217. package/dist/s-chat-message-9oollJJq.js +0 -315
  218. package/dist/s-chips-WqGdqHW9.js +0 -176
  219. package/dist/s-code-block-DzGoGg5e.js +0 -658
  220. package/dist/s-comment-message-C6kfgRjv.js +0 -191
  221. package/dist/s-data-table-B1TGVupB.js +0 -805
  222. package/dist/s-date-picker-BpX4HmBp.js +0 -656
  223. package/dist/s-datetime-picker-ByzW44E0.js +0 -3878
  224. package/dist/s-dialog-BLiyjLkx.js +0 -123
  225. package/dist/s-file-dropzone-CVQpYRdY.js +0 -422
  226. package/dist/s-image-viewer-DNIEYdtL.js +0 -269
  227. package/dist/s-language-switcher-D-1nywT3.js +0 -251
  228. package/dist/s-link-CAMTGfd9.js +0 -234
  229. package/dist/s-localization-provider-Xw3NO2uP.js +0 -519
  230. package/dist/s-nav-items-BUp7DddG.js +0 -327
  231. package/dist/s-no-ssr-D8tPdDfh.js +0 -25
  232. package/dist/s-pagination-Dt8Pk5Tp.js +0 -606
  233. package/dist/s-quantity-input-mYCixlJc.js +0 -246
  234. package/dist/s-review-DSXXtWlL.js +0 -272
  235. package/dist/s-select-dwY2DYa9.js +0 -204
  236. package/dist/s-snackbar-message-3Z6VySlB.js +0 -808
  237. package/dist/s-switch-B8bZAzLh.js +0 -307
  238. package/dist/s-text-editor-toolbar-D-XgFQix.js +0 -2121
  239. package/dist/s-text-field-BM4qk0mf.js +0 -51
  240. package/dist/s-theme-switch-BLMz1_m2.js +0 -60
  241. package/dist/s-tip-ty41ePQm.js +0 -62
  242. package/dist/selectClasses-DoUlWfzV.js +0 -22
  243. package/dist/styled-Bog8QCl3.js +0 -163
  244. package/dist/svgIconClasses-C8D4AsMj.js +0 -20
  245. package/dist/switchClasses-eiq1bkQN.js +0 -23
  246. package/dist/theme-demo-components-section-gtIYRngY.js +0 -267
  247. package/dist/toggle-button-Cxi5CfXC.js +0 -104
  248. package/dist/tool-bar-action-buttons-Dt-pV3GA.js +0 -54
  249. package/dist/tool-bar-image-input-BXlll_hV.js +0 -148
  250. package/dist/typographyClasses-BLM3NmYd.js +0 -31
  251. package/dist/useControlled-BeB0W_Ui.js +0 -5
  252. package/dist/useControlled-C4QJnpiR.js +0 -29
  253. package/dist/useEnhancedEffect-Bc3gBClC.js +0 -5
  254. package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
  255. package/dist/useEventCallback-CVqMfiG_.js +0 -14
  256. package/dist/useForkRef-CKneCEtr.js +0 -29
  257. package/dist/useFormControl-iWLrn7Ek.js +0 -18
  258. package/dist/useMobilePicker-C4UQFvkj.js +0 -7580
  259. package/dist/useSlot-iIu8ek6E.js +0 -83
  260. package/dist/useTheme-BIWMbX3i.js +0 -9
  261. package/dist/useThemeProps-BI9yq95N.js +0 -19
  262. package/dist/useThemeProps-Cr28OQu3.js +0 -13
  263. package/dist/utils-oJyTAkZY.js +0 -214
  264. package/dist/warning-CNkSZkq6.js +0 -98
  265. package/dist/yearCalendarClasses-CuAQumpz.js +0 -14
  266. /package/dist/{colors-DKqWMRgW.js → colors-CNjL5fhq.js} +0 -0
  267. /package/dist/{s-brand-logo-jtAJZQIv.js → s-brand-logo-CErW9Slg.js} +0 -0
  268. /package/dist/{utils-DaSrTYUS.js → utils-CMeAWSRO.js} +0 -0
@@ -1,21 +1,20 @@
1
- import { t as e } from "../styled-Bog8QCl3.js";
2
- import { t } from "../useThemeProps-Cr28OQu3.js";
3
- import { toSxArray as n } from "../utils/sx.js";
4
- import { t as r } from "../mergeSlotProps-xl1-PgWL.js";
5
- import { SLazyImage as i } from "../s-lazy-image/s-lazy-image.js";
6
- import a, { useState as o } from "react";
7
- import { jsx as s } from "react/jsx-runtime";
8
- import { Box as c } from "@mui/material";
1
+ import { toSxArray as e } from "../utils/sx.js";
2
+ import { SLazyImage as t } from "../s-lazy-image/s-lazy-image.js";
3
+ import { styled as n, useThemeProps as r } from "@mui/material/styles";
4
+ import i, { useState as a } from "react";
5
+ import { jsx as o } from "react/jsx-runtime";
6
+ import { Box as s } from "@mui/material";
7
+ import { mergeSlotProps as c } from "@mui/material/utils";
9
8
  import { motion as l, useMotionValue as u, useReducedMotion as d, useSpring as f, useTransform as p } from "framer-motion";
10
9
  //#region lib/s-zoom-image/s-zoom-image.tsx
11
- var m = e(c, {
10
+ var m = n(s, {
12
11
  name: "SZoomImage",
13
12
  slot: "Root"
14
- })({}), h = a.forwardRef((e, a) => {
15
- let h = t({
16
- props: e,
13
+ })({}), h = i.forwardRef((n, i) => {
14
+ let h = r({
15
+ props: n,
17
16
  name: "SZoomImage"
18
- }), { src: g, alt: _, zoomScale: v = 1.2, transitionDuration: y = .3, borderRadius: b = 1, skeletonVariant: x = "rounded", height: S = "100%", width: C = "100%", slots: w, slotProps: T, onMouseLeave: E, onMouseMove: D, sx: O, ...k } = h, [A, j] = o(null), M = A === g, N = d(), P = u(50), F = u(50), I = {
17
+ }), { src: g, alt: _, zoomScale: v = 1.2, transitionDuration: y = .3, borderRadius: b = 1, skeletonVariant: x = "rounded", height: S = "100%", width: C = "100%", slots: w, slotProps: T, onMouseLeave: E, onMouseMove: D, sx: O, ...k } = h, [A, j] = a(null), M = A === g, N = d(), P = u(50), F = u(50), I = {
19
18
  damping: 20,
20
19
  stiffness: 150,
21
20
  mass: .5
@@ -33,7 +32,7 @@ var m = e(c, {
33
32
  transitionDuration: y,
34
33
  width: C,
35
34
  zoomScale: v
36
- }, V = r(T?.image, {
35
+ }, V = c(T?.image, {
37
36
  onLoad: () => j(g),
38
37
  sx: {
39
38
  borderRadius: "inherit",
@@ -41,8 +40,8 @@ var m = e(c, {
41
40
  objectFit: "cover"
42
41
  }
43
42
  });
44
- return /* @__PURE__ */ s(m, {
45
- ref: a,
43
+ return /* @__PURE__ */ o(m, {
44
+ ref: i,
46
45
  ownerState: B,
47
46
  onMouseMove: R,
48
47
  onMouseLeave: z,
@@ -52,9 +51,9 @@ var m = e(c, {
52
51
  height: "auto",
53
52
  overflow: "hidden",
54
53
  borderRadius: b
55
- }, ...n(O)],
54
+ }, ...e(O)],
56
55
  ...k,
57
- children: /* @__PURE__ */ s(c, {
56
+ children: /* @__PURE__ */ o(s, {
58
57
  component: l.div,
59
58
  style: { transformOrigin: N ? "50% 50%" : L },
60
59
  animate: { scale: 1 },
@@ -64,7 +63,7 @@ var m = e(c, {
64
63
  duration: y,
65
64
  bounce: 0
66
65
  },
67
- children: /* @__PURE__ */ s(i, {
66
+ children: /* @__PURE__ */ o(t, {
68
67
  src: g,
69
68
  alt: _,
70
69
  variant: x,
@@ -1,2 +1,43 @@
1
- import { t as e } from "../../autocomplete-B_4y84Ba.js";
2
- export { e as MuiAutocomplete };
1
+ import e from "@mui/icons-material/UnfoldMoreRounded";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { autocompleteClasses as n } from "@mui/material/Autocomplete";
4
+ //#region lib/theme/components/autocomplete.tsx
5
+ var r = {
6
+ defaultProps: {
7
+ popupIcon: /* @__PURE__ */ t(e, { fontSize: "small" }),
8
+ slotProps: { clearIndicator: {
9
+ edge: "end",
10
+ size: "small"
11
+ } }
12
+ },
13
+ styleOverrides: {
14
+ paper: ({ theme: e }) => ({
15
+ marginTop: 2,
16
+ border: "1px solid",
17
+ borderColor: (e.vars ?? e).palette.divider
18
+ }),
19
+ popupIndicator: {
20
+ pointerEvents: "none",
21
+ background: "none",
22
+ "&:hover": { background: "none" }
23
+ },
24
+ popupIndicatorOpen: { transform: "none" },
25
+ endAdornment: ({ theme: e }) => ({
26
+ display: "flex",
27
+ alignItems: "center",
28
+ right: e.spacing(1),
29
+ color: "inherit",
30
+ ".MuiAutocomplete-inputRoot:has(input:placeholder-shown) &": { color: (e.vars ?? e).palette.text.secondary },
31
+ ".Mui-disabled &": { color: (e.vars ?? e).palette.text.disabled }
32
+ }),
33
+ inputRoot: ({ theme: e }) => ({
34
+ "&.MuiOutlinedInput-root": { padding: `${e.spacing(1)} ${e.spacing(1.5)} !important` },
35
+ [`& .${n.endAdornment}`]: { right: `${e.spacing(1)} !important` },
36
+ [`&.${n.hasPopupIcon}, &.${n.hasClearIcon}`]: { paddingRight: `${e.spacing(4.5)} !important` },
37
+ [`&.${n.hasPopupIcon}.${n.hasClearIcon}`]: { paddingRight: `${e.spacing(8)} !important` },
38
+ "& .MuiAutocomplete-input": { padding: 0 }
39
+ })
40
+ }
41
+ };
42
+ //#endregion
43
+ export { r as MuiAutocomplete };
@@ -1,2 +1,9 @@
1
- import { t as e } from "../../avatar-BHuZu3DN.js";
2
- export { e as MuiAvatar };
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { Person as t } from "@mui/icons-material";
3
+ //#region lib/theme/components/avatar.tsx
4
+ var n = {
5
+ defaultProps: { children: /* @__PURE__ */ e(t, { sx: { color: "text.primary" } }) },
6
+ styleOverrides: { rounded: ({ theme: e }) => ({ borderRadius: e.radius.lg }) }
7
+ };
8
+ //#endregion
9
+ export { n as MuiAvatar };
@@ -1,5 +1,5 @@
1
- import { t as e } from "../../colorManipulator-DmUjcif3.js";
2
- import { r as t } from "../../colors-DKqWMRgW.js";
1
+ import { r as e } from "../../colors-CNjL5fhq.js";
2
+ import { alpha as t } from "@mui/material/styles";
3
3
  //#region lib/theme/components/card.tsx
4
4
  var n = { styleOverrides: { root: ({ theme: n }) => ({
5
5
  gap: 16,
@@ -16,7 +16,7 @@ var n = { styleOverrides: { root: ({ theme: n }) => ({
16
16
  border: `1px solid ${(n.vars ?? n).palette.divider}`,
17
17
  boxShadow: "none",
18
18
  background: "rgb(255, 255, 255)",
19
- ...n.applyStyles("dark", { background: e(t[900], .4) })
19
+ ...n.applyStyles("dark", { background: t(e[900], .4) })
20
20
  }
21
21
  }]
22
22
  }) } };
@@ -1,2 +1,90 @@
1
- import { t as e } from "../../checkbox-BKMZEVU5.js";
2
- export { e as MuiCheckbox };
1
+ import { r as e } from "../../colors-CNjL5fhq.js";
2
+ import { alpha as t } from "@mui/material/styles";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import r from "@mui/icons-material/CheckBoxOutlineBlankRounded";
5
+ import i from "@mui/icons-material/CheckRounded";
6
+ import a from "@mui/icons-material/RemoveRounded";
7
+ import { checkboxClasses as o } from "@mui/material/Checkbox";
8
+ //#region lib/theme/components/checkbox.tsx
9
+ var s = {
10
+ defaultProps: {
11
+ disableRipple: !0,
12
+ icon: /* @__PURE__ */ n(r, { sx: { color: "hsla(210, 0%, 0%, 0.0)" } }),
13
+ checkedIcon: /* @__PURE__ */ n(i, { sx: {
14
+ height: 14,
15
+ width: 14
16
+ } }),
17
+ indeterminateIcon: /* @__PURE__ */ n(a, { sx: {
18
+ height: 14,
19
+ width: 14
20
+ } })
21
+ },
22
+ styleOverrides: { root: ({ theme: n }) => ({
23
+ margin: 8,
24
+ marginLeft: 0,
25
+ height: 16,
26
+ width: 16,
27
+ borderRadius: n.radius.sm,
28
+ border: "1px solid",
29
+ borderColor: t(e[300], .8),
30
+ boxShadow: "0 0 0 1.5px hsla(210, 0%, 0%, 0.04) inset",
31
+ backgroundColor: t(e[100], .4),
32
+ transition: "border-color, background-color, 120ms ease-in",
33
+ "&:hover": { borderColor: (n.vars ?? n).palette.primary[300] },
34
+ "&.Mui-focusVisible": {
35
+ outline: `3px solid rgba(${(n.vars ?? n).palette.primary.mainChannel} / 0.5)`,
36
+ outlineOffset: "2px",
37
+ borderColor: (n.vars ?? n).palette.primary[400]
38
+ },
39
+ [`&.Mui-checked, &.${o.indeterminate}`]: {
40
+ color: "white",
41
+ backgroundColor: (n.vars ?? n).palette.primary[500],
42
+ borderColor: (n.vars ?? n).palette.primary[500],
43
+ boxShadow: "none",
44
+ "&:hover": { backgroundColor: (n.vars ?? n).palette.primary[600] }
45
+ },
46
+ [`&.${o.disabled}`]: {
47
+ color: (n.vars ?? n).palette.grey[100],
48
+ borderColor: (n.vars ?? n).palette.grey[300],
49
+ backgroundColor: (n.vars ?? n).palette.grey[100],
50
+ boxShadow: "none",
51
+ cursor: "not-allowed",
52
+ "&:hover": {
53
+ borderColor: (n.vars ?? n).palette.grey[300],
54
+ backgroundColor: (n.vars ?? n).palette.grey[100]
55
+ }
56
+ },
57
+ [`&.${o.checked}.${o.disabled}, &.${o.indeterminate}.${o.disabled}`]: {
58
+ color: (n.vars ?? n).palette.grey[100],
59
+ borderColor: (n.vars ?? n).palette.grey[300],
60
+ backgroundColor: (n.vars ?? n).palette.grey[300]
61
+ },
62
+ ...n.applyStyles("dark", {
63
+ borderColor: t(e[700], .8),
64
+ boxShadow: "0 0 0 1.5px hsl(210, 0%, 0%) inset",
65
+ backgroundColor: t(e[900], .8),
66
+ "&:hover": { borderColor: (n.vars ?? n).palette.primary[300] },
67
+ "&.Mui-focusVisible": {
68
+ borderColor: (n.vars ?? n).palette.primary[400],
69
+ outline: `3px solid rgba(${(n.vars ?? n).palette.primary.mainChannel} / 0.5)`,
70
+ outlineOffset: "2px"
71
+ },
72
+ [`&.${o.disabled}`]: {
73
+ color: (n.vars ?? n).palette.grey[700],
74
+ borderColor: (n.vars ?? n).palette.grey[600],
75
+ backgroundColor: (n.vars ?? n).palette.grey[700],
76
+ "&:hover": {
77
+ borderColor: (n.vars ?? n).palette.grey[600],
78
+ backgroundColor: (n.vars ?? n).palette.grey[700]
79
+ }
80
+ },
81
+ [`&.${o.checked}.${o.disabled}, &.${o.indeterminate}.${o.disabled}`]: {
82
+ color: (n.vars ?? n).palette.grey[700],
83
+ borderColor: (n.vars ?? n).palette.grey[600],
84
+ backgroundColor: (n.vars ?? n).palette.grey[600]
85
+ }
86
+ })
87
+ }) }
88
+ };
89
+ //#endregion
90
+ export { s as MuiCheckbox };
@@ -1,6 +1,6 @@
1
1
  import { actionHoverMedia as e, getFocusVisibleStyle as t, getSemanticActionTokens as n, isSemanticActionColor as r } from "./action-styles.js";
2
- import { t as i } from "../../Close-o4HFfK0I.js";
3
- import { jsx as a } from "react/jsx-runtime";
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ import { Close as a } from "@mui/icons-material";
4
4
  import { chipClasses as o } from "@mui/material";
5
5
  //#region lib/theme/components/chip.tsx
6
6
  var s = (e, t) => {
@@ -80,7 +80,7 @@ var s = (e, t) => {
80
80
  defaultProps: {
81
81
  variant: "filled",
82
82
  size: "small",
83
- deleteIcon: /* @__PURE__ */ a(i, {})
83
+ deleteIcon: /* @__PURE__ */ i(a, {})
84
84
  },
85
85
  styleOverrides: { root: ({ theme: e }) => ({
86
86
  border: "1px solid",
@@ -1,6 +1,6 @@
1
1
  import { MuiYearCalendar as e } from "./year-calendar.js";
2
2
  import { MuiTooltip as t } from "./tooltip.js";
3
- import { t as n } from "../../toggle-button-Cxi5CfXC.js";
3
+ import { MuiToggleButton as n } from "./toggle-button.js";
4
4
  import { MuiToggleButtonGroup as r } from "./toggle-button-group.js";
5
5
  import { MuiTabs as i } from "./tabs.js";
6
6
  import { MuiTablePagination as a } from "./table-pagination.js";
@@ -55,16 +55,16 @@ import { MuiAccordionDetails as $ } from "./accordion-details.js";
55
55
  import { MuiAccordionSummary as ee } from "./accordion-summary.js";
56
56
  import { MuiAlert as te } from "./alert.js";
57
57
  import { MuiAppBar as ne } from "./app-bar.js";
58
- import { t as re } from "../../autocomplete-B_4y84Ba.js";
59
- import { t as ie } from "../../checkbox-BKMZEVU5.js";
60
- import { t as ae } from "../../avatar-BHuZu3DN.js";
61
- import { MuiBackdrop as oe } from "./backdrop.js";
62
- import { MuiButton as se } from "./button.js";
63
- import { MuiButtonBase as ce } from "./button-base.js";
64
- import { MuiCard as le } from "./card.js";
65
- import { MuiCardActions as ue } from "./card-actions.js";
66
- import { MuiCardContent as de } from "./card-content.js";
67
- import { MuiCardHeader as fe } from "./card-header.js";
58
+ import { MuiAutocomplete as re } from "./autocomplete.js";
59
+ import { MuiAvatar as ie } from "./avatar.js";
60
+ import { MuiBackdrop as ae } from "./backdrop.js";
61
+ import { MuiButton as oe } from "./button.js";
62
+ import { MuiButtonBase as se } from "./button-base.js";
63
+ import { MuiCard as ce } from "./card.js";
64
+ import { MuiCardActions as le } from "./card-actions.js";
65
+ import { MuiCardContent as ue } from "./card-content.js";
66
+ import { MuiCardHeader as de } from "./card-header.js";
67
+ import { MuiCheckbox as fe } from "./checkbox.js";
68
68
  import { MuiChip as pe } from "./chip.js";
69
69
  //#region lib/theme/components/components.ts
70
70
  var me = {
@@ -74,15 +74,15 @@ var me = {
74
74
  MuiAlert: te,
75
75
  MuiAppBar: ne,
76
76
  MuiAutocomplete: re,
77
- MuiAvatar: ae,
78
- MuiBackdrop: oe,
79
- MuiButton: se,
80
- MuiButtonBase: ce,
81
- MuiCard: le,
82
- MuiCardActions: ue,
83
- MuiCardContent: de,
84
- MuiCardHeader: fe,
85
- MuiCheckbox: ie,
77
+ MuiAvatar: ie,
78
+ MuiBackdrop: ae,
79
+ MuiButton: oe,
80
+ MuiButtonBase: se,
81
+ MuiCard: ce,
82
+ MuiCardActions: le,
83
+ MuiCardContent: ue,
84
+ MuiCardHeader: de,
85
+ MuiCheckbox: fe,
86
86
  MuiChip: pe,
87
87
  MuiContainer: Z,
88
88
  MuiCssBaseline: X,
@@ -1,3 +1,4 @@
1
+ import "@mui/x-date-pickers/themeAugmentation";
1
2
  //#region lib/theme/components/date-calendar.tsx
2
3
  var e = { styleOverrides: { root: ({ theme: e }) => ({
3
4
  width: e.spacing(38),
@@ -1,3 +1,4 @@
1
+ import "@mui/x-date-pickers/themeAugmentation";
1
2
  //#region lib/theme/components/day-calendar.tsx
2
3
  var e = { styleOverrides: {
3
4
  weekDayLabel: ({ theme: e }) => ({
@@ -1,2 +1,19 @@
1
- import { t as e } from "../../field-label-styles-BOyhp6gw.js";
2
- export { e as staticFieldLabelStyles };
1
+ import { inputClasses as e } from "@mui/material/Input";
2
+ import { inputLabelClasses as t } from "@mui/material/InputLabel";
3
+ //#region lib/theme/components/field-label-styles.ts
4
+ var n = {
5
+ [`& .${t.root}`]: {
6
+ maxWidth: "100%",
7
+ pointerEvents: "auto",
8
+ position: "static",
9
+ transform: "none",
10
+ transformOrigin: "initial"
11
+ },
12
+ [`& .${t.shrink}`]: {
13
+ maxWidth: "100%",
14
+ transform: "none"
15
+ },
16
+ [`& .${t.root} + .${e.root}`]: { marginTop: 0 }
17
+ };
18
+ //#endregion
19
+ export { n as staticFieldLabelStyles };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../formLabelClasses-B0Fa-86T.js";
1
+ import { formLabelClasses as e } from "@mui/material/FormLabel";
2
2
  //#region lib/theme/components/form-label.tsx
3
3
  var t = { styleOverrides: { root: ({ theme: t }) => ({
4
4
  color: (t.vars ?? t).palette.text.primary,
@@ -1,5 +1,5 @@
1
1
  import { actionHoverMedia as e, getFocusVisibleStyle as t } from "./action-styles.js";
2
- import { n } from "../../svgIconClasses-C8D4AsMj.js";
2
+ import { svgIconClasses as n } from "@mui/material/SvgIcon";
3
3
  //#region lib/theme/components/list-item-button.tsx
4
4
  var r = (r) => ({
5
5
  alignItems: "center",
@@ -1,12 +1,12 @@
1
- import { t as e } from "../../buttonBaseClasses-BvBqFLb_.js";
2
- import { n as t } from "../../svgIconClasses-C8D4AsMj.js";
3
- import { n } from "../../typographyClasses-BLM3NmYd.js";
4
- import { listItemButtonStyles as r } from "./list-item-button.js";
1
+ import { listItemButtonStyles as e } from "./list-item-button.js";
2
+ import { buttonBaseClasses as t } from "@mui/material/ButtonBase";
3
+ import { svgIconClasses as n } from "@mui/material/SvgIcon";
4
+ import { typographyClasses as r } from "@mui/material/Typography";
5
5
  //#region lib/theme/components/list-item.tsx
6
6
  var i = { styleOverrides: { root: ({ theme: i }) => ({
7
- [`& .${t.root}`]: { color: (i.vars ?? i).palette.text.secondary },
8
- [`& .${n.root}`]: { fontWeight: 500 },
9
- [`& .${e.root}`]: r(i)
7
+ [`& .${n.root}`]: { color: (i.vars ?? i).palette.text.secondary },
8
+ [`& .${r.root}`]: { fontWeight: 500 },
9
+ [`& .${t.root}`]: e(i)
10
10
  }) } };
11
11
  //#endregion
12
12
  export { i as MuiListItem };
@@ -1,11 +1,12 @@
1
- import { t as e } from "../../styled-Bog8QCl3.js";
2
- import { t } from "../../ButtonBase-DxKtpFYs.js";
3
- import { actionHoverMedia as n, getFocusVisibleStyle as r, getSelectedActionStyle as i } from "./action-styles.js";
4
- import { n as a } from "../../monthCalendarClasses-BYVHyEfI.js";
1
+ import { actionHoverMedia as e, getFocusVisibleStyle as t, getSelectedActionStyle as n } from "./action-styles.js";
2
+ import { styled as r } from "@mui/material/styles";
3
+ import i from "@mui/material/ButtonBase";
4
+ import "@mui/x-date-pickers/themeAugmentation";
5
+ import { monthCalendarClasses as a } from "@mui/x-date-pickers/MonthCalendar";
5
6
  var o = {
6
7
  defaultProps: {
7
8
  monthsPerRow: 4,
8
- slots: { monthButton: e(t, {
9
+ slots: { monthButton: r(i, {
9
10
  name: "MuiMonthCalendar",
10
11
  slot: "Button"
11
12
  })(({ theme: e }) => ({
@@ -24,14 +25,14 @@ var o = {
24
25
  paddingTop: 0,
25
26
  paddingBottom: 0
26
27
  }),
27
- button: ({ theme: e }) => ({
28
- height: e.spacing(4),
29
- width: `calc((100% - ${e.spacing(3)}) / 4)`,
30
- borderRadius: (e.vars ?? e).shape.borderRadius,
31
- [n]: { "&:hover": { backgroundColor: (e.vars ?? e).palette.action.hover } },
32
- "&.Mui-focusVisible": r(e),
33
- "&.Mui-disabled": { color: (e.vars ?? e).palette.action.disabled },
34
- [`&.${a.selected}`]: { ...i(e, "primary") }
28
+ button: ({ theme: r }) => ({
29
+ height: r.spacing(4),
30
+ width: `calc((100% - ${r.spacing(3)}) / 4)`,
31
+ borderRadius: (r.vars ?? r).shape.borderRadius,
32
+ [e]: { "&:hover": { backgroundColor: (r.vars ?? r).palette.action.hover } },
33
+ "&.Mui-focusVisible": t(r),
34
+ "&.Mui-disabled": { color: (r.vars ?? r).palette.action.disabled },
35
+ [`&.${a.selected}`]: { ...n(r, "primary") }
35
36
  })
36
37
  }
37
38
  };
@@ -1,4 +1,5 @@
1
1
  import { actionHoverMedia as e, getFocusVisibleStyle as t, getSelectedActionStyle as n } from "./action-styles.js";
2
+ import "@mui/x-date-pickers/themeAugmentation";
2
3
  //#region lib/theme/components/multi-section-digital-clock-section.tsx
3
4
  var r = { styleOverrides: {
4
5
  root: ({ theme: e }) => ({
@@ -1,5 +1,5 @@
1
- import { n as e } from "../../outlinedInputClasses-DECY98u0.js";
2
- import { n as t } from "../../inputAdornmentClasses-D5yYK5bM.js";
1
+ import { inputAdornmentClasses as e } from "@mui/material/InputAdornment";
2
+ import { outlinedInputClasses as t } from "@mui/material/OutlinedInput";
3
3
  //#region lib/theme/components/outlined-input.tsx
4
4
  var n = { styleOverrides: {
5
5
  input: ({ theme: e }) => ({
@@ -30,16 +30,16 @@ var n = { styleOverrides: {
30
30
  "&:hover": { borderColor: (n.vars ?? n).palette.grey[500] },
31
31
  "&:not(.MuiInputBase-sizeSmall)": { minHeight: n.spacing(5) },
32
32
  "&.MuiInputBase-sizeSmall": { height: n.spacing(4.5) },
33
- [`&:has(input:placeholder-shown) .${t.root}`]: { color: (n.vars ?? n).palette.text.secondary },
34
- [`&.${e.focused}`]: {
33
+ [`&:has(input:placeholder-shown) .${e.root}`]: { color: (n.vars ?? n).palette.text.secondary },
34
+ [`&.${t.focused}`]: {
35
35
  outline: `3px solid rgba(${(n.vars ?? n).palette.primary.mainChannel} / 0.5)`,
36
36
  borderColor: (n.vars ?? n).palette.primary[400]
37
37
  },
38
- [`&.${e.error}:not(.${e.disabled})`]: {
38
+ [`&.${t.error}:not(.${t.disabled})`]: {
39
39
  borderColor: (n.vars ?? n).palette.error.main,
40
40
  "&:hover": { borderColor: (n.vars ?? n).palette.error.main }
41
41
  },
42
- [`&.${e.error}.${e.focused}`]: {
42
+ [`&.${t.error}.${t.focused}`]: {
43
43
  outline: `3px solid rgba(${(n.vars ?? n).palette.error.mainChannel} / 0.5)`,
44
44
  borderColor: (n.vars ?? n).palette.error.main
45
45
  }
@@ -1,4 +1,5 @@
1
1
  import { actionHoverMedia as e, getFocusVisibleStyle as t, getSelectedActionStyle as n } from "./action-styles.js";
2
+ import "@mui/x-date-pickers/themeAugmentation";
2
3
  //#region lib/theme/components/picker-day.tsx
3
4
  var r = { styleOverrides: { root: ({ theme: r }) => ({
4
5
  fontSize: r.typography.subtitle1.fontSize,
@@ -1,3 +1,4 @@
1
+ import "@mui/x-date-pickers/themeAugmentation";
1
2
  //#region lib/theme/components/pickers-arrow-switcher.tsx
2
3
  var e = { styleOverrides: { spacer: ({ theme: e }) => ({ width: e.spacing(4) }) } };
3
4
  //#endregion
@@ -1,6 +1,7 @@
1
1
  import { reducedMotionMedia as e } from "./action-styles.js";
2
- import { t } from "../../ExpandMore-Ba5bg6s-.js";
3
- import { n } from "../../pickersCalendarHeaderClasses-CIj0gBye.js";
2
+ import "@mui/x-date-pickers/themeAugmentation";
3
+ import t from "@mui/icons-material/ExpandMore";
4
+ import { pickersCalendarHeaderClasses as n } from "@mui/x-date-pickers/PickersCalendarHeader";
4
5
  //#region lib/theme/components/pickers-calendar-header.tsx
5
6
  var r = {
6
7
  defaultProps: { slots: { switchViewIcon: t } },
@@ -1,12 +1,12 @@
1
- import { t as e } from "../../UnfoldMoreRounded-DsN0HVDV.js";
2
- import { n as t } from "../../selectClasses-DoUlWfzV.js";
3
- import * as n from "react";
1
+ import * as e from "react";
2
+ import t from "@mui/icons-material/UnfoldMoreRounded";
3
+ import { selectClasses as n } from "@mui/material/Select";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region lib/theme/components/select.tsx
6
6
  var i = {
7
- defaultProps: { IconComponent: n.forwardRef((t, n) => /* @__PURE__ */ r(e, {
7
+ defaultProps: { IconComponent: e.forwardRef((e, n) => /* @__PURE__ */ r(t, {
8
8
  fontSize: "small",
9
- ...t,
9
+ ...e,
10
10
  ref: n
11
11
  })) },
12
12
  styleOverrides: {
@@ -18,7 +18,7 @@ var i = {
18
18
  color: "inherit",
19
19
  right: e.spacing(1)
20
20
  }),
21
- root: ({ theme: e }) => ({ [`&:has(.${t.select} > span) .${t.icon}`]: { color: (e.vars ?? e).palette.text.secondary } })
21
+ root: ({ theme: e }) => ({ [`&:has(.${n.select} > span) .${n.icon}`]: { color: (e.vars ?? e).palette.text.secondary } })
22
22
  }
23
23
  };
24
24
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as e } from "../../switchClasses-eiq1bkQN.js";
1
+ import { switchClasses as e } from "@mui/material/Switch";
2
2
  //#region lib/theme/components/switch.tsx
3
3
  var t = {
4
4
  defaultProps: { disableRipple: !0 },
@@ -1,4 +1,4 @@
1
- import { n as e } from "../../iconButtonClasses-CkciZuIe.js";
1
+ import { iconButtonClasses as e } from "@mui/material/IconButton";
2
2
  //#region lib/theme/components/table-pagination.tsx
3
3
  var t = { styleOverrides: { actions: {
4
4
  display: "flex",
@@ -1,2 +1,93 @@
1
- import { t as e } from "../../toggle-button-Cxi5CfXC.js";
2
- export { e as MuiToggleButton };
1
+ import { actionHoverMedia as e, getFocusVisibleStyle as t, getSelectedActionStyle as n, isSemanticActionColor as r, reducedPressMotionStyle as i, semanticActionColors as a } from "./action-styles.js";
2
+ import { buttonBaseClasses as o } from "@mui/material/ButtonBase";
3
+ import { toggleButtonClasses as s } from "@mui/material/ToggleButton";
4
+ //#region lib/theme/components/toggle-button.tsx
5
+ var c = (n) => {
6
+ let r = (n.vars ?? n).palette;
7
+ return {
8
+ backgroundColor: r.action.selected,
9
+ color: r.text.primary,
10
+ [`&.${o.focusVisible}`]: {
11
+ ...t(n),
12
+ backgroundColor: r.action.selected
13
+ },
14
+ [e]: { "&:hover": {
15
+ backgroundColor: r.action.selected,
16
+ color: r.text.primary
17
+ } },
18
+ [`&.${s.disabled}`]: {
19
+ backgroundColor: r.action.disabledBackground,
20
+ borderColor: "transparent",
21
+ color: r.action.disabled
22
+ }
23
+ };
24
+ }, l = {
25
+ defaultProps: { disableFocusRipple: !0 },
26
+ styleOverrides: { root: ({ ownerState: l, theme: u }) => {
27
+ let d = (u.vars ?? u).palette, f = l.color ?? "standard", p = r(f) ? d[f] : d.primary;
28
+ return {
29
+ borderRadius: (u.vars ?? u).shape.borderRadius,
30
+ boxSizing: "border-box",
31
+ gap: u.spacing(1),
32
+ fontWeight: 500,
33
+ paddingBlock: 0,
34
+ textTransform: "none",
35
+ transition: u.transitions.create([
36
+ "background-color",
37
+ "border-color",
38
+ "color"
39
+ ], { duration: u.transitions.duration.shorter }),
40
+ [`&.${o.focusVisible}`]: t(u, p),
41
+ [e]: { [`&:hover:not(.${s.selected})`]: {
42
+ backgroundColor: d.action.hover,
43
+ color: d.text.primary
44
+ } },
45
+ [`&:active:not(.${s.disabled}):not(.${s.selected})`]: { backgroundColor: d.action.selected },
46
+ [`&.${s.disabled}:not(.${s.selected})`]: {
47
+ backgroundColor: "transparent",
48
+ borderColor: d.action.disabledBackground,
49
+ color: d.action.disabled
50
+ },
51
+ ...i,
52
+ variants: [
53
+ {
54
+ props: { size: "small" },
55
+ style: {
56
+ height: u.spacing(4.5),
57
+ minWidth: u.spacing(4.5),
58
+ paddingInline: u.spacing(1.5)
59
+ }
60
+ },
61
+ {
62
+ props: { size: "medium" },
63
+ style: {
64
+ height: u.spacing(5),
65
+ minWidth: u.spacing(5),
66
+ paddingInline: u.spacing(2)
67
+ }
68
+ },
69
+ {
70
+ props: { size: "large" },
71
+ style: {
72
+ height: u.spacing(5.5),
73
+ minWidth: u.spacing(5.5),
74
+ paddingInline: u.spacing(2.5)
75
+ }
76
+ },
77
+ {
78
+ props: { color: "standard" },
79
+ style: { [`&.${s.selected}`]: c(u) }
80
+ },
81
+ ...a.map((e) => ({
82
+ props: { color: e },
83
+ style: { [`&.${s.selected}`]: {
84
+ ...n(u, e),
85
+ borderColor: "transparent"
86
+ } }
87
+ }))
88
+ ]
89
+ };
90
+ } }
91
+ };
92
+ //#endregion
93
+ export { l as MuiToggleButton };