@hybridcore/ui 1.6.0 → 1.6.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 (291) hide show
  1. package/CATALOG.md +179 -0
  2. package/README.md +1 -2
  3. package/dist/AccordionSummary-CJppWeqF.js +781 -0
  4. package/dist/Add-CqcD1PWb.js +403 -0
  5. package/dist/Box-DqUMmZjL.js +31 -0
  6. package/dist/{Button-CvE2gnly.js → Button-C5yquWAB.js} +120 -133
  7. package/dist/ButtonBase-BEF7oTOe.js +887 -0
  8. package/dist/{Delete-CW0UZv1m.js → Delete-BdyYpINH.js} +9 -8
  9. package/dist/{DialogContent-B3nbEbuv.js → DialogContent-BvVjD9z3.js} +127 -124
  10. package/dist/FormGroup-CpBsIyYR.js +89 -0
  11. package/dist/{IconButton-CHwRQF-g.js → IconButton-BoGwbvrP.js} +41 -43
  12. package/dist/InputLabel-Dd8RrneV.js +341 -0
  13. package/dist/{MenuItem-xZx_w7zA.js → MenuItem-DwqJqzuM.js} +51 -53
  14. package/dist/Modal-MUZygjmQ.js +1158 -0
  15. package/dist/Paper-BkQLdsCI.js +582 -0
  16. package/dist/Select-DHUl_uG3.js +3916 -0
  17. package/dist/SwitchBase-DTndTqI8.js +235 -0
  18. package/dist/TextField-e2oKaUN1.js +669 -0
  19. package/dist/TransitionGroupContext-BDAp2T0O.js +96 -0
  20. package/dist/{Typography-CxbneZy_.js → Typography-DgsSLCFC.js} +53 -53
  21. package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
  22. package/dist/assets/index4.css +1 -0
  23. package/dist/clsx-OuTLNxxd.js +16 -0
  24. package/dist/components/access/helpers.js +1 -1
  25. package/dist/components/access/index.js +8 -15
  26. package/dist/components/access/logic.js +25 -0
  27. package/dist/components/button/index.js +10 -0
  28. package/dist/components/button/logic.js +26 -0
  29. package/dist/components/button/styled.js +9 -0
  30. package/dist/components/card/index.js +158 -498
  31. package/dist/components/card/logic.js +24 -0
  32. package/dist/components/card/styled.js +226 -51
  33. package/dist/components/card-alternate/index.js +111 -139
  34. package/dist/components/card-alternate/logic.js +17 -0
  35. package/dist/components/card-alternate/styled.js +113 -19
  36. package/dist/components/charts/_common/chart-error.js +19 -0
  37. package/dist/components/charts/candlestick/index.js +3 -3
  38. package/dist/components/charts/candlestick/logic.js +123 -113
  39. package/dist/components/charts/chart-wrapper/index.js +5 -5
  40. package/dist/components/charts/column-line-mix/index.js +9 -8
  41. package/dist/components/charts/column-line-mix/logic.js +68 -71
  42. package/dist/components/charts/drill-down-treemap/index.js +8 -7
  43. package/dist/components/charts/drill-down-treemap/logic.js +138 -144
  44. package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
  45. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
  46. package/dist/components/charts/heatmap/index.js +9 -8
  47. package/dist/components/charts/heatmap/logic.js +167 -173
  48. package/dist/components/charts/highlighting-line-data/index.js +3 -3
  49. package/dist/components/charts/line/index.js +9 -8
  50. package/dist/components/charts/line/logic.js +74 -79
  51. package/dist/components/charts/logaritmic-scale/index.js +9 -8
  52. package/dist/components/charts/logaritmic-scale/logic.js +63 -69
  53. package/dist/components/charts/multiple-value-axes/index.js +9 -8
  54. package/dist/components/charts/multiple-value-axes/logic.js +101 -107
  55. package/dist/components/charts/nested-pie/index.js +9 -8
  56. package/dist/components/charts/nested-pie/logic.js +62 -68
  57. package/dist/components/charts/packed-circles/index.js +7 -6
  58. package/dist/components/charts/packed-circles/logic.js +50 -56
  59. package/dist/components/charts/pie-chart/index.js +9 -8
  60. package/dist/components/charts/pie-chart/logic.js +49 -54
  61. package/dist/components/charts/stacked-area-radar/index.js +8 -7
  62. package/dist/components/charts/stacked-area-radar/logic.js +113 -118
  63. package/dist/components/charts/stacked-column-chart/index.js +9 -8
  64. package/dist/components/charts/stacked-column-chart/logic.js +78 -84
  65. package/dist/components/charts/xy-chart/index.js +9 -8
  66. package/dist/components/charts/xy-chart/logic.js +56 -60
  67. package/dist/components/collapsible-card/index.js +11 -10
  68. package/dist/components/collapsible-card/styled.js +1 -1
  69. package/dist/components/color-picker/index.js +7120 -0
  70. package/dist/components/color-picker/logic.js +18 -0
  71. package/dist/components/color-picker/styled.js +7 -0
  72. package/dist/components/confirm/dialog.js +3 -3
  73. package/dist/components/confirm/index.js +1 -1
  74. package/dist/components/container/index.js +28 -269
  75. package/dist/components/container/logic.js +12 -0
  76. package/dist/components/container/styled.js +29 -0
  77. package/dist/components/context-menu/index.js +25 -457
  78. package/dist/components/context-menu/logic.js +14 -0
  79. package/dist/components/context-menu/styled.js +40 -0
  80. package/dist/components/data-grid/index.js +22 -0
  81. package/dist/components/data-grid/logic.js +15 -0
  82. package/dist/components/data-grid/styled.js +20 -0
  83. package/dist/components/data-map/components/controls/index.js +4 -6
  84. package/dist/components/data-map/index.js +11 -11
  85. package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
  86. package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
  87. package/dist/components/data-security-selectors/security-level/index.js +39 -91
  88. package/dist/components/data-security-selectors/security-level/logic.js +28 -0
  89. package/dist/components/data-security-selectors/security-level/styled.js +53 -0
  90. package/dist/components/date-picker-with-custom-range/index.js +1 -1
  91. package/dist/components/date-range-picker/index.js +2748 -0
  92. package/dist/components/date-range-picker/styled.js +14 -0
  93. package/dist/components/date-time-picker/index.js +45 -46
  94. package/dist/components/divider/index.js +11 -11
  95. package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
  96. package/dist/components/document-viewer/components/navigation/index.js +9 -9
  97. package/dist/components/document-viewer/components/viewer/index.js +31 -35
  98. package/dist/components/document-viewer/index.js +31 -39
  99. package/dist/components/document-viewer/logic.js +41 -34
  100. package/dist/components/document-viewer/styled.js +115 -27
  101. package/dist/components/duration-select/index.js +27 -0
  102. package/dist/components/duration-select/logic.js +21 -0
  103. package/dist/components/duration-select/styled.js +26 -0
  104. package/dist/components/editable-text/index.js +20 -0
  105. package/dist/components/editable-text/logic.js +18 -0
  106. package/dist/components/editable-text/styled.js +22 -0
  107. package/dist/components/geometry-picker/coordinate/index.js +29 -29
  108. package/dist/components/geometry-picker/edit/index.js +18 -18
  109. package/dist/components/geometry-picker/geometry/index.js +67 -67
  110. package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
  111. package/dist/components/geometry-picker/index.js +69 -85
  112. package/dist/components/geometry-picker/kml/index.js +16 -16
  113. package/dist/components/geometry-picker/logic.js +50 -57
  114. package/dist/components/geometry-picker/map/index.js +8 -8
  115. package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
  116. package/dist/components/geometry-picker/parser/index.js +46 -50
  117. package/dist/components/geometry-picker/parser/styled.js +22 -4
  118. package/dist/components/geometry-picker/styled.js +97 -37
  119. package/dist/components/geometry-picker/wkt/index.js +13 -13
  120. package/dist/components/heat-map/components/controls/index.js +4 -6
  121. package/dist/components/heat-map/components/legend/index.js +15 -17
  122. package/dist/components/heat-map/index.js +7 -7
  123. package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
  124. package/dist/components/instance-form/components/composite-list/index.js +5 -3
  125. package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
  126. package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
  127. package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
  128. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
  129. package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
  130. package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
  131. package/dist/components/instance-form/components/policy-list/index.js +47 -81
  132. package/dist/components/instance-form/components/variable/index.js +6 -11
  133. package/dist/components/instance-form/components/variables/index.js +48 -55
  134. package/dist/components/instance-form/helpers.js +9 -0
  135. package/dist/components/instance-form/index.js +402 -518
  136. package/dist/components/instance-form/logic.js +115 -0
  137. package/dist/components/instance-form/styled.js +487 -0
  138. package/dist/components/instance-hierarchy-table/index.js +32 -37
  139. package/dist/components/instance-hierarchy-table/logic.js +16 -0
  140. package/dist/components/instance-hierarchy-table/styled.js +53 -12
  141. package/dist/components/instance-table/index.js +30 -135
  142. package/dist/components/instance-table/logic.js +122 -0
  143. package/dist/components/instance-table/styled.js +53 -11
  144. package/dist/components/instance-variable-list/index.js +11 -11
  145. package/dist/components/loading/index.js +15 -9
  146. package/dist/components/loading/logic.js +15 -0
  147. package/dist/components/loading/styled.js +26 -19
  148. package/dist/components/map/index.js +28 -6
  149. package/dist/components/map/styled.js +1 -1
  150. package/dist/components/notification/index.js +67 -0
  151. package/dist/components/notification/logic.js +30 -0
  152. package/dist/components/notification/store.js +23 -0
  153. package/dist/components/notification/styled.js +52 -0
  154. package/dist/components/object-profile-card/components/avatar/index.js +9 -10
  155. package/dist/components/object-profile-card/index.js +19 -20
  156. package/dist/components/paginated-list/index.js +2 -3
  157. package/dist/components/phone-input/index.js +18 -22
  158. package/dist/components/phone-input/logic.js +14 -0
  159. package/dist/components/phone-input/styled.js +12 -4
  160. package/dist/components/placeholder/index.js +10 -0
  161. package/dist/components/placeholder/logic.js +12 -0
  162. package/dist/components/placeholder/styled.js +32 -0
  163. package/dist/components/positional-tooltip/index.js +24 -0
  164. package/dist/components/positional-tooltip/styled.js +17 -0
  165. package/dist/components/property-mapping/index.js +204 -423
  166. package/dist/components/property-mapping/logic.js +156 -0
  167. package/dist/components/property-mapping/styled.js +199 -0
  168. package/dist/components/prr-map/components/controls/index.js +4 -6
  169. package/dist/components/prr-map/components/legend/index.js +26 -28
  170. package/dist/components/prr-map/index.js +5 -5
  171. package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
  172. package/dist/components/range-selector/components/date-range/index.js +87 -4221
  173. package/dist/components/range-selector/components/geometry-range/index.js +11 -17
  174. package/dist/components/range-selector/components/number-range/index.js +48 -53
  175. package/dist/components/range-selector/components/string-range/index.js +15 -17
  176. package/dist/components/range-selector/index.js +63 -57
  177. package/dist/components/range-selector/logic.js +12 -0
  178. package/dist/components/range-selector/styled.js +4294 -0
  179. package/dist/components/raster-grid-map/components/controls/index.js +4 -6
  180. package/dist/components/raster-grid-map/components/legend/index.js +4 -6
  181. package/dist/components/raster-grid-map/index.js +5 -5
  182. package/dist/components/scroll-drag/index.js +22 -0
  183. package/dist/components/scroll-drag/logic.js +39 -0
  184. package/dist/components/scroll-drag/styled.js +17 -0
  185. package/dist/components/search-input/logic.js +35 -33
  186. package/dist/components/simple-pivot-table/index.js +12 -12
  187. package/dist/components/sortable-list/index.js +599 -0
  188. package/dist/components/sortable-list/logic.js +18 -0
  189. package/dist/components/sortable-list/styled.js +38 -0
  190. package/dist/components/static-text/index.js +6 -6
  191. package/dist/components/stats-box/index.js +12 -0
  192. package/dist/components/stats-box/styled.js +36 -0
  193. package/dist/components/template-filters/components/filter/index.js +13 -18
  194. package/dist/components/template-filters/components/tab-panel/index.js +8 -16
  195. package/dist/components/template-filters/index.js +21 -29
  196. package/dist/components/template-filters/logic.js +18 -0
  197. package/dist/components/template-filters/styled.js +44 -1
  198. package/dist/components/template-form/components/property-list/index.js +27 -26
  199. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  200. package/dist/components/template-form/components/property-list/property-list-form.js +758 -14
  201. package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
  202. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  203. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +24 -23
  204. package/dist/components/template-form/components/select-icon/index.js +24 -24
  205. package/dist/components/template-form/helpers.js +17 -0
  206. package/dist/components/template-form/index.js +270 -309
  207. package/dist/components/template-form/logic.js +69 -0
  208. package/dist/components/template-form/styled.js +84 -0
  209. package/dist/components/template-property-filters/index.js +45 -95
  210. package/dist/components/template-property-filters/logic.js +27 -0
  211. package/dist/components/template-property-filters/property.js +105 -165
  212. package/dist/components/template-property-filters/styled.js +121 -20
  213. package/dist/components/text-overflow/index.js +6 -0
  214. package/dist/components/text-overflow/styled.js +13 -0
  215. package/dist/components/timeline/index.js +12 -12
  216. package/dist/components/toggle-view-button/index.js +35 -0
  217. package/dist/components/toggle-view-button/logic.js +22 -0
  218. package/dist/components/toggle-view-button/styled.js +11 -0
  219. package/dist/components/tree-select/index.js +52 -67
  220. package/dist/components/tree-select/logic.js +59 -0
  221. package/dist/components/tree-select/styled.js +45 -62
  222. package/dist/components/treeview-filter/index.js +43 -65
  223. package/dist/components/treeview-filter/item/index.js +43 -42
  224. package/dist/components/treeview-filter/item-label/index.js +17 -37
  225. package/dist/components/treeview-filter/logic.js +28 -0
  226. package/dist/components/treeview-filter/styled.js +86 -0
  227. package/dist/components/uploader/index.js +532 -567
  228. package/dist/components/uploader/logic.js +74 -0
  229. package/dist/components/uploader/styled.js +93 -46
  230. package/dist/components/visually-hidden-input/index.js +4 -0
  231. package/dist/components/visually-hidden-input/styled.js +18 -0
  232. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  233. package/dist/{createSvgIcon-DrtgaibK.js → createSvgIcon-Ch_cT8az.js} +69 -68
  234. package/dist/createSvgIcon-DuDuASu1.js +62 -0
  235. package/dist/{dialog-DcwXug9J.js → dialog-BYRnCztH.js} +18 -18
  236. package/dist/formControlState-vgaj2ksH.js +10 -0
  237. package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
  238. package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
  239. package/dist/index-BtlzPygz.js +470 -0
  240. package/dist/index-DH6qsPBn.js +153 -0
  241. package/dist/{index-syTc6m_V.js → index-e9xTIYWt.js} +87 -87
  242. package/dist/main.d.ts +1722 -562
  243. package/dist/main.js +161 -128
  244. package/dist/ownerWindow-wg6foiOE.js +10 -0
  245. package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
  246. package/dist/styled-Db1RdcPA.js +323 -0
  247. package/dist/unsupportedProp-DuqR2hj9.js +36 -0
  248. package/dist/useId-BW-oWmul.js +19 -0
  249. package/dist/useMobilePicker-CY8ndYRL.js +8279 -0
  250. package/dist/useSlot-B_Q4vnX5.js +42 -0
  251. package/package.json +15 -7
  252. package/dist/AccordionSummary-DgAwVTk8.js +0 -742
  253. package/dist/Add-DJLrrVHm.js +0 -382
  254. package/dist/Box-p6OtTUEo.js +0 -30
  255. package/dist/ButtonBase-2bPw77UP.js +0 -961
  256. package/dist/CardContent-CSHh-ZlM.js +0 -74
  257. package/dist/Checkbox-CWRMFTBp.js +0 -421
  258. package/dist/FormControl-BLbrq4C7.js +0 -1636
  259. package/dist/FormControlLabel-C8SPv14J.js +0 -195
  260. package/dist/InputAdornment-DLxWUE6H.js +0 -157
  261. package/dist/List-tqElle9C.js +0 -121
  262. package/dist/ListItem-CfjsIg4B.js +0 -430
  263. package/dist/Modal-DhPpOoGB.js +0 -1299
  264. package/dist/Paper-2B03OBmZ.js +0 -169
  265. package/dist/Select-BgYwkZgI.js +0 -2613
  266. package/dist/TextField-1yCesIbH.js +0 -457
  267. package/dist/assertThisInitialized-BUtkG-md.js +0 -13
  268. package/dist/capitalize-ciszXJ7R.js +0 -9
  269. package/dist/components/instance-form/components/composite-list/styled.js +0 -73
  270. package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
  271. package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
  272. package/dist/components/key-protection/index.js +0 -4
  273. package/dist/components/key-protection/menu.js +0 -85
  274. package/dist/components/key-protection/utils.js +0 -10
  275. package/dist/components/treeview-filter/item/styled.js +0 -39
  276. package/dist/createSvgIcon-BjpIhJ30.js +0 -71
  277. package/dist/createTheme-DYxDnE9u.js +0 -612
  278. package/dist/index-BMS1Otro.js +0 -183
  279. package/dist/index-CcdvNlgr.js +0 -503
  280. package/dist/index-kCJ_Zvl8.js +0 -34
  281. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  282. package/dist/isMuiElement-CxT3_ACP.js +0 -13
  283. package/dist/listItemTextClasses-C3lndiXO.js +0 -16
  284. package/dist/property-list-form-zZQfpR0X.js +0 -386
  285. package/dist/styled-eZwjUruw.js +0 -12
  286. package/dist/unsupportedProp-BND8AB6O.js +0 -25
  287. package/dist/useId-B4-oF9Mq.js +0 -34
  288. package/dist/useMobilePicker-BLg3Blg8.js +0 -7589
  289. package/dist/useThemeProps-BzzHcQyd.js +0 -58
  290. package/dist/utils-BDNynJcd.js +0 -365
  291. package/dist/utils-Bq0ye5vf.js +0 -115
@@ -1,40 +1,38 @@
1
- import { a as s, _ as h } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
1
+ import { a as t, _ as h } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
2
  import * as d from "react";
3
3
  import { P as r } from "./index-C__OZmYy.js";
4
- import { g as z, u as R, c as C, b as B, a as I } from "./useThemeProps-BzzHcQyd.js";
5
- import { alpha as g } from "@mui/system";
6
- import { s as O } from "./styled-eZwjUruw.js";
7
- import { g as T } from "./createTheme-DYxDnE9u.js";
4
+ import { c as z } from "./clsx-OuTLNxxd.js";
5
+ import { g as R, a as C, s as B, b as n, f as g, u as I, c as O } from "./generateUtilityClasses-C3ivN9Ie.js";
8
6
  import { jsx as x } from "react/jsx-runtime";
9
- import { B as $ } from "./ButtonBase-2bPw77UP.js";
10
- import { c as i } from "./capitalize-ciszXJ7R.js";
7
+ import { B as T } from "./ButtonBase-BEF7oTOe.js";
8
+ import { c as $ } from "./TransitionGroupContext-BDAp2T0O.js";
11
9
  function k(o) {
12
- return T("MuiIconButton", o);
10
+ return C("MuiIconButton", o);
13
11
  }
14
- const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), j = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], E = (o) => {
12
+ const P = R("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), _ = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], j = (o) => {
15
13
  const {
16
14
  classes: e,
17
15
  disabled: a,
18
- color: t,
19
- edge: n,
16
+ color: s,
17
+ edge: i,
20
18
  size: l
21
19
  } = o, c = {
22
- root: ["root", a && "disabled", t !== "default" && `color${i(t)}`, n && `edge${i(n)}`, `size${i(l)}`]
20
+ root: ["root", a && "disabled", s !== "default" && `color${n(s)}`, i && `edge${n(i)}`, `size${n(l)}`]
23
21
  };
24
- return I(c, k, e);
25
- }, M = O($, {
22
+ return O(c, k, e);
23
+ }, E = B(T, {
26
24
  name: "MuiIconButton",
27
25
  slot: "Root",
28
26
  overridesResolver: (o, e) => {
29
27
  const {
30
28
  ownerState: a
31
29
  } = o;
32
- return [e.root, a.color !== "default" && e[`color${i(a.color)}`], a.edge && e[`edge${i(a.edge)}`], e[`size${i(a.size)}`]];
30
+ return [e.root, a.color !== "default" && e[`color${n(a.color)}`], a.edge && e[`edge${n(a.edge)}`], e[`size${n(a.size)}`]];
33
31
  }
34
32
  })(({
35
33
  theme: o,
36
34
  ownerState: e
37
- }) => s({
35
+ }) => t({
38
36
  textAlign: "center",
39
37
  flex: "0 0 auto",
40
38
  fontSize: o.typography.pxToRem(24),
@@ -63,14 +61,14 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
63
61
  ownerState: e
64
62
  }) => {
65
63
  var a;
66
- const t = (a = (o.vars || o).palette) == null ? void 0 : a[e.color];
67
- return s({}, e.color === "inherit" && {
64
+ const s = (a = (o.vars || o).palette) == null ? void 0 : a[e.color];
65
+ return t({}, e.color === "inherit" && {
68
66
  color: "inherit"
69
- }, e.color !== "inherit" && e.color !== "default" && s({
70
- color: t == null ? void 0 : t.main
67
+ }, e.color !== "inherit" && e.color !== "default" && t({
68
+ color: s == null ? void 0 : s.main
71
69
  }, !e.disableRipple && {
72
- "&:hover": s({}, t && {
73
- backgroundColor: o.vars ? `rgba(${t.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : g(t.main, o.palette.action.hoverOpacity)
70
+ "&:hover": t({}, s && {
71
+ backgroundColor: o.vars ? `rgba(${s.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : g(s.main, o.palette.action.hoverOpacity)
74
72
  }, {
75
73
  // Reset on touch devices, it doesn't add specificity
76
74
  "@media (hover: none)": {
@@ -89,45 +87,45 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
89
87
  color: (o.vars || o).palette.action.disabled
90
88
  }
91
89
  });
92
- }), N = /* @__PURE__ */ d.forwardRef(function(e, a) {
93
- const t = R({
90
+ }), M = /* @__PURE__ */ d.forwardRef(function(e, a) {
91
+ const s = I({
94
92
  props: e,
95
93
  name: "MuiIconButton"
96
94
  }), {
97
- edge: n = !1,
95
+ edge: i = !1,
98
96
  children: l,
99
97
  className: c,
100
98
  color: b = "default",
101
99
  disabled: p = !1,
102
100
  disableFocusRipple: u = !1,
103
- size: m = "medium"
104
- } = t, v = h(t, j), f = s({}, t, {
105
- edge: n,
101
+ size: v = "medium"
102
+ } = s, m = h(s, _), f = t({}, s, {
103
+ edge: i,
106
104
  color: b,
107
105
  disabled: p,
108
106
  disableFocusRipple: u,
109
- size: m
110
- }), y = E(f);
111
- return /* @__PURE__ */ x(M, s({
112
- className: C(y.root, c),
107
+ size: v
108
+ }), y = j(f);
109
+ return /* @__PURE__ */ x(E, t({
110
+ className: z(y.root, c),
113
111
  centerRipple: !0,
114
112
  focusRipple: !u,
115
113
  disabled: p,
116
- ref: a,
117
- ownerState: f
118
- }, v, {
114
+ ref: a
115
+ }, m, {
116
+ ownerState: f,
119
117
  children: l
120
118
  }));
121
119
  });
122
- process.env.NODE_ENV !== "production" && (N.propTypes = {
123
- // ----------------------------- Warning --------------------------------
124
- // | These PropTypes are generated from the TypeScript type definitions |
125
- // | To update them edit the d.ts file and run "yarn proptypes" |
126
- // ----------------------------------------------------------------------
120
+ process.env.NODE_ENV !== "production" && (M.propTypes = {
121
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
122
+ // These PropTypes are generated from the TypeScript type definitions.
123
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
124
+ // └─────────────────────────────────────────────────────────────────────┘
127
125
  /**
128
126
  * The icon to display.
129
127
  */
130
- children: B(r.node, (o) => d.Children.toArray(o.children).some((a) => /* @__PURE__ */ d.isValidElement(a) && a.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
128
+ children: $(r.node, (o) => d.Children.toArray(o.children).some((a) => /* @__PURE__ */ d.isValidElement(a) && a.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
131
129
  `)) : null),
132
130
  /**
133
131
  * Override or extend the styles applied to the component.
@@ -140,7 +138,7 @@ process.env.NODE_ENV !== "production" && (N.propTypes = {
140
138
  /**
141
139
  * The color of the component.
142
140
  * It supports both default and custom theme colors, which can be added as shown in the
143
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
141
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
144
142
  * @default 'default'
145
143
  */
146
144
  color: r.oneOfType([r.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), r.string]),
@@ -182,5 +180,5 @@ process.env.NODE_ENV !== "production" && (N.propTypes = {
182
180
  sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
183
181
  });
184
182
  export {
185
- N as I
183
+ M as I
186
184
  };
@@ -0,0 +1,341 @@
1
+ import { a as i, _ as h } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
+ import * as k from "react";
3
+ import { P as o } from "./index-C__OZmYy.js";
4
+ import { c as y } from "./clsx-OuTLNxxd.js";
5
+ import { f as g } from "./formControlState-vgaj2ksH.js";
6
+ import { u as C } from "./useFormControl-CatNKXAi.js";
7
+ import { g as O, a as L, s as b, u as z, b as q, c as F, r as I } from "./generateUtilityClasses-C3ivN9Ie.js";
8
+ import { jsxs as v, jsx as T } from "react/jsx-runtime";
9
+ function R(e) {
10
+ return L("MuiFormLabel", e);
11
+ }
12
+ const u = O("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), j = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"], M = (e) => {
13
+ const {
14
+ classes: r,
15
+ color: a,
16
+ focused: s,
17
+ disabled: f,
18
+ error: l,
19
+ filled: c,
20
+ required: p
21
+ } = e, n = {
22
+ root: ["root", `color${q(a)}`, f && "disabled", l && "error", c && "filled", s && "focused", p && "required"],
23
+ asterisk: ["asterisk", l && "error"]
24
+ };
25
+ return F(n, R, r);
26
+ }, $ = b("label", {
27
+ name: "MuiFormLabel",
28
+ slot: "Root",
29
+ overridesResolver: ({
30
+ ownerState: e
31
+ }, r) => i({}, r.root, e.color === "secondary" && r.colorSecondary, e.filled && r.filled)
32
+ })(({
33
+ theme: e,
34
+ ownerState: r
35
+ }) => i({
36
+ color: (e.vars || e).palette.text.secondary
37
+ }, e.typography.body1, {
38
+ lineHeight: "1.4375em",
39
+ padding: 0,
40
+ position: "relative",
41
+ [`&.${u.focused}`]: {
42
+ color: (e.vars || e).palette[r.color].main
43
+ },
44
+ [`&.${u.disabled}`]: {
45
+ color: (e.vars || e).palette.text.disabled
46
+ },
47
+ [`&.${u.error}`]: {
48
+ color: (e.vars || e).palette.error.main
49
+ }
50
+ })), A = b("span", {
51
+ name: "MuiFormLabel",
52
+ slot: "Asterisk",
53
+ overridesResolver: (e, r) => r.asterisk
54
+ })(({
55
+ theme: e
56
+ }) => ({
57
+ [`&.${u.error}`]: {
58
+ color: (e.vars || e).palette.error.main
59
+ }
60
+ })), N = /* @__PURE__ */ k.forwardRef(function(r, a) {
61
+ const s = z({
62
+ props: r,
63
+ name: "MuiFormLabel"
64
+ }), {
65
+ children: f,
66
+ className: l,
67
+ component: c = "label"
68
+ } = s, p = h(s, j), n = C(), t = g({
69
+ props: s,
70
+ muiFormControl: n,
71
+ states: ["color", "required", "focused", "disabled", "error", "filled"]
72
+ }), d = i({}, s, {
73
+ color: t.color || "primary",
74
+ component: c,
75
+ disabled: t.disabled,
76
+ error: t.error,
77
+ filled: t.filled,
78
+ focused: t.focused,
79
+ required: t.required
80
+ }), m = M(d);
81
+ return /* @__PURE__ */ v($, i({
82
+ as: c,
83
+ ownerState: d,
84
+ className: y(m.root, l),
85
+ ref: a
86
+ }, p, {
87
+ children: [f, t.required && /* @__PURE__ */ v(A, {
88
+ ownerState: d,
89
+ "aria-hidden": !0,
90
+ className: m.asterisk,
91
+ children: [" ", "*"]
92
+ })]
93
+ }));
94
+ });
95
+ process.env.NODE_ENV !== "production" && (N.propTypes = {
96
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
97
+ // │ These PropTypes are generated from the TypeScript type definitions. │
98
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
99
+ // └─────────────────────────────────────────────────────────────────────┘
100
+ /**
101
+ * The content of the component.
102
+ */
103
+ children: o.node,
104
+ /**
105
+ * Override or extend the styles applied to the component.
106
+ */
107
+ classes: o.object,
108
+ /**
109
+ * @ignore
110
+ */
111
+ className: o.string,
112
+ /**
113
+ * The color of the component.
114
+ * It supports both default and custom theme colors, which can be added as shown in the
115
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
116
+ */
117
+ color: o.oneOfType([o.oneOf(["error", "info", "primary", "secondary", "success", "warning"]), o.string]),
118
+ /**
119
+ * The component used for the root node.
120
+ * Either a string to use a HTML element or a component.
121
+ */
122
+ component: o.elementType,
123
+ /**
124
+ * If `true`, the label should be displayed in a disabled state.
125
+ */
126
+ disabled: o.bool,
127
+ /**
128
+ * If `true`, the label is displayed in an error state.
129
+ */
130
+ error: o.bool,
131
+ /**
132
+ * If `true`, the label should use filled classes key.
133
+ */
134
+ filled: o.bool,
135
+ /**
136
+ * If `true`, the input of this label is focused (used by `FormGroup` components).
137
+ */
138
+ focused: o.bool,
139
+ /**
140
+ * If `true`, the label will indicate that the `input` is required.
141
+ */
142
+ required: o.bool,
143
+ /**
144
+ * The system prop that allows defining system overrides as well as additional CSS styles.
145
+ */
146
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
147
+ });
148
+ function E(e) {
149
+ return L("MuiInputLabel", e);
150
+ }
151
+ O("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
152
+ const P = ["disableAnimation", "margin", "shrink", "variant", "className"], W = (e) => {
153
+ const {
154
+ classes: r,
155
+ formControl: a,
156
+ size: s,
157
+ shrink: f,
158
+ disableAnimation: l,
159
+ variant: c,
160
+ required: p
161
+ } = e, n = {
162
+ root: ["root", a && "formControl", !l && "animated", f && "shrink", s && s !== "normal" && `size${q(s)}`, c],
163
+ asterisk: [p && "asterisk"]
164
+ }, t = F(n, E, r);
165
+ return i({}, r, t);
166
+ }, _ = b(N, {
167
+ shouldForwardProp: (e) => I(e) || e === "classes",
168
+ name: "MuiInputLabel",
169
+ slot: "Root",
170
+ overridesResolver: (e, r) => {
171
+ const {
172
+ ownerState: a
173
+ } = e;
174
+ return [{
175
+ [`& .${u.asterisk}`]: r.asterisk
176
+ }, r.root, a.formControl && r.formControl, a.size === "small" && r.sizeSmall, a.shrink && r.shrink, !a.disableAnimation && r.animated, a.focused && r.focused, r[a.variant]];
177
+ }
178
+ })(({
179
+ theme: e,
180
+ ownerState: r
181
+ }) => i({
182
+ display: "block",
183
+ transformOrigin: "top left",
184
+ whiteSpace: "nowrap",
185
+ overflow: "hidden",
186
+ textOverflow: "ellipsis",
187
+ maxWidth: "100%"
188
+ }, r.formControl && {
189
+ position: "absolute",
190
+ left: 0,
191
+ top: 0,
192
+ // slight alteration to spec spacing to match visual spec result
193
+ transform: "translate(0, 20px) scale(1)"
194
+ }, r.size === "small" && {
195
+ // Compensation for the `Input.inputSizeSmall` style.
196
+ transform: "translate(0, 17px) scale(1)"
197
+ }, r.shrink && {
198
+ transform: "translate(0, -1.5px) scale(0.75)",
199
+ transformOrigin: "top left",
200
+ maxWidth: "133%"
201
+ }, !r.disableAnimation && {
202
+ transition: e.transitions.create(["color", "transform", "max-width"], {
203
+ duration: e.transitions.duration.shorter,
204
+ easing: e.transitions.easing.easeOut
205
+ })
206
+ }, r.variant === "filled" && i({
207
+ // Chrome's autofill feature gives the input field a yellow background.
208
+ // Since the input field is behind the label in the HTML tree,
209
+ // the input field is drawn last and hides the label with an opaque background color.
210
+ // zIndex: 1 will raise the label above opaque background-colors of input.
211
+ zIndex: 1,
212
+ pointerEvents: "none",
213
+ transform: "translate(12px, 16px) scale(1)",
214
+ maxWidth: "calc(100% - 24px)"
215
+ }, r.size === "small" && {
216
+ transform: "translate(12px, 13px) scale(1)"
217
+ }, r.shrink && i({
218
+ userSelect: "none",
219
+ pointerEvents: "auto",
220
+ transform: "translate(12px, 7px) scale(0.75)",
221
+ maxWidth: "calc(133% - 24px)"
222
+ }, r.size === "small" && {
223
+ transform: "translate(12px, 4px) scale(0.75)"
224
+ })), r.variant === "outlined" && i({
225
+ // see comment above on filled.zIndex
226
+ zIndex: 1,
227
+ pointerEvents: "none",
228
+ transform: "translate(14px, 16px) scale(1)",
229
+ maxWidth: "calc(100% - 24px)"
230
+ }, r.size === "small" && {
231
+ transform: "translate(14px, 9px) scale(1)"
232
+ }, r.shrink && {
233
+ userSelect: "none",
234
+ pointerEvents: "auto",
235
+ // Theoretically, we should have (8+5)*2/0.75 = 34px
236
+ // but it feels a better when it bleeds a bit on the left, so 32px.
237
+ maxWidth: "calc(133% - 32px)",
238
+ transform: "translate(14px, -9px) scale(0.75)"
239
+ }))), w = /* @__PURE__ */ k.forwardRef(function(r, a) {
240
+ const s = z({
241
+ name: "MuiInputLabel",
242
+ props: r
243
+ }), {
244
+ disableAnimation: f = !1,
245
+ shrink: l,
246
+ className: c
247
+ } = s, p = h(s, P), n = C();
248
+ let t = l;
249
+ typeof t > "u" && n && (t = n.filled || n.focused || n.adornedStart);
250
+ const d = g({
251
+ props: s,
252
+ muiFormControl: n,
253
+ states: ["size", "variant", "required", "focused"]
254
+ }), m = i({}, s, {
255
+ disableAnimation: f,
256
+ formControl: n,
257
+ shrink: t,
258
+ size: d.size,
259
+ variant: d.variant,
260
+ required: d.required,
261
+ focused: d.focused
262
+ }), x = W(m);
263
+ return /* @__PURE__ */ T(_, i({
264
+ "data-shrink": t,
265
+ ownerState: m,
266
+ ref: a,
267
+ className: y(x.root, c)
268
+ }, p, {
269
+ classes: x
270
+ }));
271
+ });
272
+ process.env.NODE_ENV !== "production" && (w.propTypes = {
273
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
274
+ // │ These PropTypes are generated from the TypeScript type definitions. │
275
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
276
+ // └─────────────────────────────────────────────────────────────────────┘
277
+ /**
278
+ * The content of the component.
279
+ */
280
+ children: o.node,
281
+ /**
282
+ * Override or extend the styles applied to the component.
283
+ */
284
+ classes: o.object,
285
+ /**
286
+ * @ignore
287
+ */
288
+ className: o.string,
289
+ /**
290
+ * The color of the component.
291
+ * It supports both default and custom theme colors, which can be added as shown in the
292
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
293
+ */
294
+ color: o.oneOfType([o.oneOf(["error", "info", "primary", "secondary", "success", "warning"]), o.string]),
295
+ /**
296
+ * If `true`, the transition animation is disabled.
297
+ * @default false
298
+ */
299
+ disableAnimation: o.bool,
300
+ /**
301
+ * If `true`, the component is disabled.
302
+ */
303
+ disabled: o.bool,
304
+ /**
305
+ * If `true`, the label is displayed in an error state.
306
+ */
307
+ error: o.bool,
308
+ /**
309
+ * If `true`, the `input` of this label is focused.
310
+ */
311
+ focused: o.bool,
312
+ /**
313
+ * If `dense`, will adjust vertical spacing. This is normally obtained via context from
314
+ * FormControl.
315
+ */
316
+ margin: o.oneOf(["dense"]),
317
+ /**
318
+ * if `true`, the label will indicate that the `input` is required.
319
+ */
320
+ required: o.bool,
321
+ /**
322
+ * If `true`, the label is shrunk.
323
+ */
324
+ shrink: o.bool,
325
+ /**
326
+ * The size of the component.
327
+ * @default 'normal'
328
+ */
329
+ size: o.oneOfType([o.oneOf(["normal", "small"]), o.string]),
330
+ /**
331
+ * The system prop that allows defining system overrides as well as additional CSS styles.
332
+ */
333
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
334
+ /**
335
+ * The variant to use.
336
+ */
337
+ variant: o.oneOf(["filled", "outlined", "standard"])
338
+ });
339
+ export {
340
+ w as I
341
+ };
@@ -1,19 +1,17 @@
1
- import { a as l, _ as L } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
1
+ import { a as l, _ as P } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
2
  import * as d from "react";
3
3
  import { P as t } from "./index-C__OZmYy.js";
4
- import { g as V, u as j, c as x, a as E } from "./useThemeProps-BzzHcQyd.js";
5
- import { alpha as p } from "@mui/system";
6
- import { s as F, r as G } from "./styled-eZwjUruw.js";
7
- import { L as I } from "./List-tqElle9C.js";
8
- import { g as U } from "./createTheme-DYxDnE9u.js";
9
- import { jsx as $ } from "react/jsx-runtime";
10
- import { B as _, u as D, a as S } from "./ButtonBase-2bPw77UP.js";
11
- import { l as O, a as M } from "./listItemTextClasses-C3lndiXO.js";
12
- const N = V("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
13
- function h(e) {
14
- return U("MuiMenuItem", e);
4
+ import { c as I } from "./clsx-OuTLNxxd.js";
5
+ import { g as u, a as F, s as _, r as j, f as p, u as D, c as E } from "./generateUtilityClasses-C3ivN9Ie.js";
6
+ import { L as $ } from "./Select-DHUl_uG3.js";
7
+ import { jsx as M } from "react/jsx-runtime";
8
+ import { B as G } from "./ButtonBase-BEF7oTOe.js";
9
+ import { a as U, u as S } from "./TransitionGroupContext-BDAp2T0O.js";
10
+ const O = u("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), N = u("MuiListItemIcon", ["root", "alignItemsFlexStart"]), V = u("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
11
+ function H(e) {
12
+ return F("MuiMenuItem", e);
15
13
  }
16
- const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), H = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], W = (e, o) => {
14
+ const n = u("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), W = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], h = (e, o) => {
17
15
  const {
18
16
  ownerState: s
19
17
  } = e;
@@ -24,17 +22,17 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
24
22
  dense: s,
25
23
  divider: a,
26
24
  disableGutters: c,
27
- selected: u,
25
+ selected: b,
28
26
  classes: i
29
27
  } = e, r = E({
30
- root: ["root", s && "dense", o && "disabled", !c && "gutters", a && "divider", u && "selected"]
31
- }, h, i);
28
+ root: ["root", s && "dense", o && "disabled", !c && "gutters", a && "divider", b && "selected"]
29
+ }, H, i);
32
30
  return l({}, i, r);
33
- }, A = F(_, {
34
- shouldForwardProp: (e) => G(e) || e === "classes",
31
+ }, A = _(G, {
32
+ shouldForwardProp: (e) => j(e) || e === "classes",
35
33
  name: "MuiMenuItem",
36
34
  slot: "Root",
37
- overridesResolver: W
35
+ overridesResolver: h
38
36
  })(({
39
37
  theme: e,
40
38
  ownerState: o
@@ -83,21 +81,21 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
83
81
  [`&.${n.disabled}`]: {
84
82
  opacity: (e.vars || e).palette.action.disabledOpacity
85
83
  },
86
- [`& + .${N.root}`]: {
84
+ [`& + .${O.root}`]: {
87
85
  marginTop: e.spacing(1),
88
86
  marginBottom: e.spacing(1)
89
87
  },
90
- [`& + .${N.inset}`]: {
88
+ [`& + .${O.inset}`]: {
91
89
  marginLeft: 52
92
90
  },
93
- [`& .${O.root}`]: {
91
+ [`& .${V.root}`]: {
94
92
  marginTop: 0,
95
93
  marginBottom: 0
96
94
  },
97
- [`& .${O.inset}`]: {
95
+ [`& .${V.inset}`]: {
98
96
  paddingLeft: 36
99
97
  },
100
- [`& .${M.root}`]: {
98
+ [`& .${N.root}`]: {
101
99
  minWidth: 36
102
100
  }
103
101
  }, !o.dense && {
@@ -110,56 +108,56 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
110
108
  paddingTop: 4,
111
109
  paddingBottom: 4
112
110
  }, e.typography.body2, {
113
- [`& .${M.root} svg`]: {
111
+ [`& .${N.root} svg`]: {
114
112
  fontSize: "1.25rem"
115
113
  }
116
114
  }))), q = /* @__PURE__ */ d.forwardRef(function(o, s) {
117
- const a = j({
115
+ const a = D({
118
116
  props: o,
119
117
  name: "MuiMenuItem"
120
118
  }), {
121
119
  autoFocus: c = !1,
122
- component: u = "li",
120
+ component: b = "li",
123
121
  dense: i = !1,
124
- divider: f = !1,
122
+ divider: g = !1,
125
123
  disableGutters: r = !1,
126
124
  focusVisibleClassName: R,
127
125
  role: T = "menuitem",
128
- tabIndex: g,
126
+ tabIndex: v,
129
127
  className: k
130
- } = a, w = L(a, H), v = d.useContext(I), y = d.useMemo(() => ({
131
- dense: i || v.dense || !1,
128
+ } = a, w = P(a, W), y = d.useContext($), C = d.useMemo(() => ({
129
+ dense: i || y.dense || !1,
132
130
  disableGutters: r
133
- }), [v.dense, i, r]), b = d.useRef(null);
134
- D(() => {
135
- c && (b.current ? b.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
131
+ }), [y.dense, i, r]), m = d.useRef(null);
132
+ U(() => {
133
+ c && (m.current ? m.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
136
134
  }, [c]);
137
- const B = l({}, a, {
138
- dense: y.dense,
139
- divider: f,
135
+ const L = l({}, a, {
136
+ dense: C.dense,
137
+ divider: g,
140
138
  disableGutters: r
141
- }), m = z(a), P = S(b, s);
142
- let C;
143
- return a.disabled || (C = g !== void 0 ? g : -1), /* @__PURE__ */ $(I.Provider, {
144
- value: y,
145
- children: /* @__PURE__ */ $(A, l({
146
- ref: P,
139
+ }), f = z(a), B = S(m, s);
140
+ let x;
141
+ return a.disabled || (x = v !== void 0 ? v : -1), /* @__PURE__ */ M($.Provider, {
142
+ value: C,
143
+ children: /* @__PURE__ */ M(A, l({
144
+ ref: B,
147
145
  role: T,
148
- tabIndex: C,
149
- component: u,
150
- focusVisibleClassName: x(m.focusVisible, R),
151
- className: x(m.root, k)
146
+ tabIndex: x,
147
+ component: b,
148
+ focusVisibleClassName: I(f.focusVisible, R),
149
+ className: I(f.root, k)
152
150
  }, w, {
153
- ownerState: B,
154
- classes: m
151
+ ownerState: L,
152
+ classes: f
155
153
  }))
156
154
  });
157
155
  });
158
156
  process.env.NODE_ENV !== "production" && (q.propTypes = {
159
- // ----------------------------- Warning --------------------------------
160
- // | These PropTypes are generated from the TypeScript type definitions |
161
- // | To update them edit the d.ts file and run "yarn proptypes" |
162
- // ----------------------------------------------------------------------
157
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
158
+ // These PropTypes are generated from the TypeScript type definitions.
159
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
160
+ // └─────────────────────────────────────────────────────────────────────┘
163
161
  /**
164
162
  * If `true`, the list item is focused during the first mount.
165
163
  * Focus will also be triggered if the value changes from false to true.