@hybridcore/ui 1.3.6 → 1.4.0

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 (128) hide show
  1. package/dist/AccordionDetails-CGs6GZQK.js +454 -0
  2. package/dist/Add-eepk2WTM.js +379 -0
  3. package/dist/Box-BPyg-Ybm.js +70 -0
  4. package/dist/Button-DLwB_sKd.js +354 -0
  5. package/dist/{ButtonBase-D6qhsxB0.js → ButtonBase-D0qccOVb.js} +6 -5
  6. package/dist/{CardContent-B8hqgH-I.js → CardContent-DFsCCOWk.js} +4 -4
  7. package/dist/{Checkbox-BFWhj3s-.js → Checkbox-qy3cjvnb.js} +134 -195
  8. package/dist/{Collapse-D_TjnyE5.js → Collapse-CL6LGGZw.js} +68 -75
  9. package/dist/Delete-OHEw9lDi.js +22 -0
  10. package/dist/DialogContent-CxOSq6h9.js +519 -0
  11. package/dist/FormControlLabel-D9KFjcIx.js +193 -0
  12. package/dist/{IconButton-D8bwME9t.js → IconButton-BaiyAtmS.js} +5 -5
  13. package/dist/{Input-Dxzguyp5.js → Input-CmCkXczh.js} +6 -6
  14. package/dist/{InputAdornment-B8ERE7Zv.js → InputAdornment-CZUPEeia.js} +5 -5
  15. package/dist/{FormControl-BMRUQKHh.js → InputLabel-CWkW8NtU.js} +316 -316
  16. package/dist/{List-DEWyK9IO.js → List-PpNAWJ_I.js} +4 -4
  17. package/dist/ListItem-CZbZ91vp.js +428 -0
  18. package/dist/{MenuItem-DstAFfik.js → MenuItem-D-INSvZa.js} +7 -7
  19. package/dist/{Modal-DNGEQJ1M.js → Modal-KrI5qFIq.js} +61 -57
  20. package/dist/{OutlinedInput-w2Cj9STF.js → OutlinedInput-DkIUD30e.js} +6 -6
  21. package/dist/{Paper-BseeergJ.js → Paper-btu3j72o.js} +5 -5
  22. package/dist/{Select-NDq3WyLt.js → Select-ClaBvSqf.js} +20 -18
  23. package/dist/Tabs-BzelDJKy.js +787 -0
  24. package/dist/TextField-D87qTh1k.js +457 -0
  25. package/dist/Typography-Bm7PFqUT.js +176 -0
  26. package/dist/assets/index.css +1 -1
  27. package/dist/assets/index2.css +1 -1
  28. package/dist/components/card/index.js +6 -6
  29. package/dist/components/card/styled.js +1 -1
  30. package/dist/components/collapsible-card/style.js +20 -466
  31. package/dist/components/confirm/dialog.js +8 -149
  32. package/dist/components/confirm/index.js +1 -1
  33. package/dist/components/container/index.js +7 -7
  34. package/dist/components/context-menu/index.js +191 -604
  35. package/dist/components/data-security-selectors/dissemination-list/index.js +12 -6
  36. package/dist/components/data-security-selectors/security-level/index.js +46 -45
  37. package/dist/components/date-time-picker/index.js +85 -64
  38. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  39. package/dist/components/geometry-picker/edit/index.js +16 -16
  40. package/dist/components/geometry-picker/geometry/index.js +35 -35
  41. package/dist/components/geometry-picker/index.js +60 -56
  42. package/dist/components/geometry-picker/kml/index.js +14 -14
  43. package/dist/components/geometry-picker/map/index.js +1 -1
  44. package/dist/components/geometry-picker/map/logic.js +38 -37
  45. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +63 -59
  46. package/dist/components/geometry-picker/parser/logic.js +33 -32
  47. package/dist/components/geometry-picker/styled.js +22 -14
  48. package/dist/components/icon-button/index.js +1 -1
  49. package/dist/components/icon-button/styled.js +0 -2
  50. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/index.js +2 -2
  51. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +15 -6
  52. package/dist/components/instance-form/components/variable/index.js +19 -0
  53. package/dist/components/instance-form/components/variables/index.js +40 -0
  54. package/dist/components/{data-management/instance-form → instance-form}/index.js +174 -155
  55. package/dist/components/instance-hierarchy-table/index.js +58 -0
  56. package/dist/components/instance-hierarchy-table/styled.js +29 -0
  57. package/dist/components/instance-table/index.js +125 -0
  58. package/dist/components/instance-table/styled.js +13 -0
  59. package/dist/components/map/helpers/ol.js +1 -1
  60. package/dist/components/map/index.js +1 -1
  61. package/dist/components/map/logic.js +1 -1
  62. package/dist/components/map/styled.js +1 -1
  63. package/dist/components/phone-input/index.js +1 -1
  64. package/dist/components/property-mapping/index.js +558 -0
  65. package/dist/components/range-selector/components/composite-list-range/index.js +81 -0
  66. package/dist/components/range-selector/components/date-range/index.js +9 -0
  67. package/dist/components/range-selector/components/geometry-range/index.js +26 -0
  68. package/dist/components/range-selector/components/number-range/index.js +86 -0
  69. package/dist/components/range-selector/components/string-range/index.js +31 -0
  70. package/dist/components/range-selector/index.js +59 -0
  71. package/dist/components/search-input/index.js +4 -4
  72. package/dist/components/tabs/appleTabs.style.js +55 -0
  73. package/dist/components/tabs/index.js +93 -0
  74. package/dist/components/tabs/tab-panel.js +18 -0
  75. package/dist/components/template-form/components/catalogue-instance-selector/index.js +158 -0
  76. package/dist/components/template-form/components/property-list/index.js +72 -0
  77. package/dist/components/template-form/components/property-list/property-list-columns.js +125 -0
  78. package/dist/components/template-form/components/property-list/property-list-form.js +16 -0
  79. package/dist/components/template-form/components/property-list/property-list-logic.js +66 -0
  80. package/dist/components/template-form/components/property-list/types.js +8 -0
  81. package/dist/components/template-form/components/recognition-property-list/index.js +69 -0
  82. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +50 -0
  83. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +174 -0
  84. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-logic.js +64 -0
  85. package/dist/components/template-form/components/recognition-property-list/types.js +8 -0
  86. package/dist/components/template-form/components/select-icon/index.js +186 -0
  87. package/dist/components/template-form/components/select-icon/styled.js +76 -0
  88. package/dist/components/template-form/index.js +338 -0
  89. package/dist/components/template-property-filters/property.js +48 -46
  90. package/dist/components/tree-select/index.js +51 -49
  91. package/dist/components/tree-select/styled.js +2 -2
  92. package/dist/components/treeview-filter/index.js +8 -8
  93. package/dist/components/treeview-filter/item/index.js +1 -1
  94. package/dist/components/treeview-filter/item-label/index.js +18 -17
  95. package/dist/constants/index.js +41 -0
  96. package/dist/{createStyled-B96gjom1.js → createStyled-BzvgQjjR.js} +487 -464
  97. package/dist/createSvgIcon-Cfm1LkEe.js +73 -0
  98. package/dist/{createSvgIcon-BNrb7rDY.js → createSvgIcon-DEXLbMwp.js} +62 -90
  99. package/dist/dialog-v5-nL5yy.js +153 -0
  100. package/dist/{exactProp-CI_rjX83.js → exactProp-DkmnwNVS.js} +3 -3
  101. package/dist/extendSxProp-qqdkfHzS.js +30 -0
  102. package/dist/{index-CSfSVkKj.js → index-B0JPwFI9.js} +6 -5
  103. package/dist/index-C1fczHEW.js +11042 -0
  104. package/dist/index-DPf5olog.js +288 -0
  105. package/dist/{index-JrtqxUdI.js → index-DlnzUkwe.js} +1 -1
  106. package/dist/{listItemTextClasses-CFiI_U7B.js → listItemTextClasses-DsHGzpPM.js} +2 -2
  107. package/dist/main.d.ts +569 -81
  108. package/dist/main.js +157 -157
  109. package/dist/{ol-BUKJ1urU.js → ol-CHaVTXvL.js} +24 -24
  110. package/dist/property-list-form-BfP9gzSo.js +391 -0
  111. package/dist/requirePropFactory-BjhhI-AW.js +18 -0
  112. package/dist/{styled-cPJbqF0E.js → styled-LNCprp4n.js} +24 -22
  113. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  114. package/dist/useControlled-BYdyS7Pn.js +31 -0
  115. package/dist/{useTheme-C-T6Qisa.js → useTheme-DBiahn6p.js} +2 -2
  116. package/dist/{useThemeProps-DeftUmqJ.js → useThemeProps-uYx_RkOH.js} +16 -14
  117. package/dist/utils/ontology.js +52 -30
  118. package/dist/{utils-CCkxV0lZ.js → utils-DNe_YYjm.js} +16 -16
  119. package/package.json +2 -1
  120. package/dist/DialogContent-BCYm_d1s.js +0 -864
  121. package/dist/FormControlLabel-DENNVXWL.js +0 -639
  122. package/dist/Typography-Dg-ROiTA.js +0 -201
  123. package/dist/components/data-management/instance-form/components/variable/index.js +0 -17
  124. package/dist/components/data-management/instance-form/components/variables/index.js +0 -39
  125. package/dist/createSvgIcon-B2WT0K4k.js +0 -87
  126. package/dist/index-B3Oj04nl.js +0 -287
  127. package/dist/components/{data-management/instance-form → instance-form}/components/policy-list/index.js +0 -0
  128. package/dist/{extends-Cyw62AD_.js → objectWithoutPropertiesLoose-BK36oJDi.js} +9 -9
@@ -0,0 +1,454 @@
1
+ import { _ as c, a as E } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
2
+ import * as i from "react";
3
+ import { r as U, P as e } from "./createStyled-BzvgQjjR.js";
4
+ import { g as M, u as w, c as R, b as _, a as V } from "./useThemeProps-uYx_RkOH.js";
5
+ import { g as O, s as y } from "./styled-LNCprp4n.js";
6
+ import { jsxs as I, jsx as g } from "react/jsx-runtime";
7
+ import { P as B } from "./Paper-btu3j72o.js";
8
+ import { u as q } from "./useControlled-BYdyS7Pn.js";
9
+ import { C as W } from "./Collapse-CL6LGGZw.js";
10
+ import { B as L } from "./ButtonBase-D0qccOVb.js";
11
+ const $ = /* @__PURE__ */ i.createContext({});
12
+ process.env.NODE_ENV !== "production" && ($.displayName = "AccordionContext");
13
+ function F(o) {
14
+ return O("MuiAccordion", o);
15
+ }
16
+ const h = M("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters", "region"]), H = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"], z = (o) => {
17
+ const {
18
+ classes: s,
19
+ square: r,
20
+ expanded: n,
21
+ disabled: a,
22
+ disableGutters: d
23
+ } = o;
24
+ return V({
25
+ root: ["root", !r && "rounded", n && "expanded", a && "disabled", !d && "gutters"],
26
+ region: ["region"]
27
+ }, F, s);
28
+ }, J = y(B, {
29
+ name: "MuiAccordion",
30
+ slot: "Root",
31
+ overridesResolver: (o, s) => {
32
+ const {
33
+ ownerState: r
34
+ } = o;
35
+ return [{
36
+ [`& .${h.region}`]: s.region
37
+ }, s.root, !r.square && s.rounded, !r.disableGutters && s.gutters];
38
+ }
39
+ })(({
40
+ theme: o
41
+ }) => {
42
+ const s = {
43
+ duration: o.transitions.duration.shortest
44
+ };
45
+ return {
46
+ position: "relative",
47
+ transition: o.transitions.create(["margin"], s),
48
+ overflowAnchor: "none",
49
+ // Keep the same scrolling position
50
+ "&:before": {
51
+ position: "absolute",
52
+ left: 0,
53
+ top: -1,
54
+ right: 0,
55
+ height: 1,
56
+ content: '""',
57
+ opacity: 1,
58
+ backgroundColor: (o.vars || o).palette.divider,
59
+ transition: o.transitions.create(["opacity", "background-color"], s)
60
+ },
61
+ "&:first-of-type": {
62
+ "&:before": {
63
+ display: "none"
64
+ }
65
+ },
66
+ [`&.${h.expanded}`]: {
67
+ "&:before": {
68
+ opacity: 0
69
+ },
70
+ "&:first-of-type": {
71
+ marginTop: 0
72
+ },
73
+ "&:last-of-type": {
74
+ marginBottom: 0
75
+ },
76
+ "& + &": {
77
+ "&:before": {
78
+ display: "none"
79
+ }
80
+ }
81
+ },
82
+ [`&.${h.disabled}`]: {
83
+ backgroundColor: (o.vars || o).palette.action.disabledBackground
84
+ }
85
+ };
86
+ }, ({
87
+ theme: o,
88
+ ownerState: s
89
+ }) => c({}, !s.square && {
90
+ borderRadius: 0,
91
+ "&:first-of-type": {
92
+ borderTopLeftRadius: (o.vars || o).shape.borderRadius,
93
+ borderTopRightRadius: (o.vars || o).shape.borderRadius
94
+ },
95
+ "&:last-of-type": {
96
+ borderBottomLeftRadius: (o.vars || o).shape.borderRadius,
97
+ borderBottomRightRadius: (o.vars || o).shape.borderRadius,
98
+ // Fix a rendering issue on Edge
99
+ "@supports (-ms-ime-align: auto)": {
100
+ borderBottomLeftRadius: 0,
101
+ borderBottomRightRadius: 0
102
+ }
103
+ }
104
+ }, !s.disableGutters && {
105
+ [`&.${h.expanded}`]: {
106
+ margin: "16px 0"
107
+ }
108
+ })), K = /* @__PURE__ */ i.forwardRef(function(s, r) {
109
+ const n = w({
110
+ props: s,
111
+ name: "MuiAccordion"
112
+ }), {
113
+ children: a,
114
+ className: d,
115
+ defaultExpanded: l = !1,
116
+ disabled: p = !1,
117
+ disableGutters: f = !1,
118
+ expanded: N,
119
+ onChange: m,
120
+ square: C = !1,
121
+ TransitionComponent: v = W,
122
+ TransitionProps: A
123
+ } = n, T = E(n, H), [t, u] = q({
124
+ controlled: N,
125
+ default: l,
126
+ name: "Accordion",
127
+ state: "expanded"
128
+ }), x = i.useCallback((k) => {
129
+ u(!t), m && m(k, !t);
130
+ }, [t, m, u]), [S, ...P] = i.Children.toArray(a), D = i.useMemo(() => ({
131
+ expanded: t,
132
+ disabled: p,
133
+ disableGutters: f,
134
+ toggle: x
135
+ }), [t, p, f, x]), j = c({}, n, {
136
+ square: C,
137
+ disabled: p,
138
+ disableGutters: f,
139
+ expanded: t
140
+ }), G = z(j);
141
+ return /* @__PURE__ */ I(J, c({
142
+ className: R(G.root, d),
143
+ ref: r,
144
+ ownerState: j,
145
+ square: C
146
+ }, T, {
147
+ children: [/* @__PURE__ */ g($.Provider, {
148
+ value: D,
149
+ children: S
150
+ }), /* @__PURE__ */ g(v, c({
151
+ in: t,
152
+ timeout: "auto"
153
+ }, A, {
154
+ children: /* @__PURE__ */ g("div", {
155
+ "aria-labelledby": S.props.id,
156
+ id: S.props["aria-controls"],
157
+ role: "region",
158
+ className: G.region,
159
+ children: P
160
+ })
161
+ }))]
162
+ }));
163
+ });
164
+ process.env.NODE_ENV !== "production" && (K.propTypes = {
165
+ // ----------------------------- Warning --------------------------------
166
+ // | These PropTypes are generated from the TypeScript type definitions |
167
+ // | To update them edit the d.ts file and run "yarn proptypes" |
168
+ // ----------------------------------------------------------------------
169
+ /**
170
+ * The content of the component.
171
+ */
172
+ children: _(e.node.isRequired, (o) => {
173
+ const s = i.Children.toArray(o.children)[0];
174
+ return U.isFragment(s) ? new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */ i.isValidElement(s) ? null : new Error("MUI: Expected the first child of Accordion to be a valid element.");
175
+ }),
176
+ /**
177
+ * Override or extend the styles applied to the component.
178
+ */
179
+ classes: e.object,
180
+ /**
181
+ * @ignore
182
+ */
183
+ className: e.string,
184
+ /**
185
+ * If `true`, expands the accordion by default.
186
+ * @default false
187
+ */
188
+ defaultExpanded: e.bool,
189
+ /**
190
+ * If `true`, the component is disabled.
191
+ * @default false
192
+ */
193
+ disabled: e.bool,
194
+ /**
195
+ * If `true`, it removes the margin between two expanded accordion items and the increase of height.
196
+ * @default false
197
+ */
198
+ disableGutters: e.bool,
199
+ /**
200
+ * If `true`, expands the accordion, otherwise collapse it.
201
+ * Setting this prop enables control over the accordion.
202
+ */
203
+ expanded: e.bool,
204
+ /**
205
+ * Callback fired when the expand/collapse state is changed.
206
+ *
207
+ * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
208
+ * @param {boolean} expanded The `expanded` state of the accordion.
209
+ */
210
+ onChange: e.func,
211
+ /**
212
+ * If `true`, rounded corners are disabled.
213
+ * @default false
214
+ */
215
+ square: e.bool,
216
+ /**
217
+ * The system prop that allows defining system overrides as well as additional CSS styles.
218
+ */
219
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
220
+ /**
221
+ * The component used for the transition.
222
+ * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
223
+ * @default Collapse
224
+ */
225
+ TransitionComponent: e.elementType,
226
+ /**
227
+ * Props applied to the transition element.
228
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
229
+ */
230
+ TransitionProps: e.object
231
+ });
232
+ function Q(o) {
233
+ return O("MuiAccordionSummary", o);
234
+ }
235
+ const b = M("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disabled", "gutters", "contentGutters", "content", "expandIconWrapper"]), X = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"], Y = (o) => {
236
+ const {
237
+ classes: s,
238
+ expanded: r,
239
+ disabled: n,
240
+ disableGutters: a
241
+ } = o;
242
+ return V({
243
+ root: ["root", r && "expanded", n && "disabled", !a && "gutters"],
244
+ focusVisible: ["focusVisible"],
245
+ content: ["content", r && "expanded", !a && "contentGutters"],
246
+ expandIconWrapper: ["expandIconWrapper", r && "expanded"]
247
+ }, Q, s);
248
+ }, Z = y(L, {
249
+ name: "MuiAccordionSummary",
250
+ slot: "Root",
251
+ overridesResolver: (o, s) => s.root
252
+ })(({
253
+ theme: o,
254
+ ownerState: s
255
+ }) => {
256
+ const r = {
257
+ duration: o.transitions.duration.shortest
258
+ };
259
+ return c({
260
+ display: "flex",
261
+ minHeight: 48,
262
+ padding: o.spacing(0, 2),
263
+ transition: o.transitions.create(["min-height", "background-color"], r),
264
+ [`&.${b.focusVisible}`]: {
265
+ backgroundColor: (o.vars || o).palette.action.focus
266
+ },
267
+ [`&.${b.disabled}`]: {
268
+ opacity: (o.vars || o).palette.action.disabledOpacity
269
+ },
270
+ [`&:hover:not(.${b.disabled})`]: {
271
+ cursor: "pointer"
272
+ }
273
+ }, !s.disableGutters && {
274
+ [`&.${b.expanded}`]: {
275
+ minHeight: 64
276
+ }
277
+ });
278
+ }), oo = y("div", {
279
+ name: "MuiAccordionSummary",
280
+ slot: "Content",
281
+ overridesResolver: (o, s) => s.content
282
+ })(({
283
+ theme: o,
284
+ ownerState: s
285
+ }) => c({
286
+ display: "flex",
287
+ flexGrow: 1,
288
+ margin: "12px 0"
289
+ }, !s.disableGutters && {
290
+ transition: o.transitions.create(["margin"], {
291
+ duration: o.transitions.duration.shortest
292
+ }),
293
+ [`&.${b.expanded}`]: {
294
+ margin: "20px 0"
295
+ }
296
+ })), eo = y("div", {
297
+ name: "MuiAccordionSummary",
298
+ slot: "ExpandIconWrapper",
299
+ overridesResolver: (o, s) => s.expandIconWrapper
300
+ })(({
301
+ theme: o
302
+ }) => ({
303
+ display: "flex",
304
+ color: (o.vars || o).palette.action.active,
305
+ transform: "rotate(0deg)",
306
+ transition: o.transitions.create("transform", {
307
+ duration: o.transitions.duration.shortest
308
+ }),
309
+ [`&.${b.expanded}`]: {
310
+ transform: "rotate(180deg)"
311
+ }
312
+ })), so = /* @__PURE__ */ i.forwardRef(function(s, r) {
313
+ const n = w({
314
+ props: s,
315
+ name: "MuiAccordionSummary"
316
+ }), {
317
+ children: a,
318
+ className: d,
319
+ expandIcon: l,
320
+ focusVisibleClassName: p,
321
+ onClick: f
322
+ } = n, N = E(n, X), {
323
+ disabled: m = !1,
324
+ disableGutters: C,
325
+ expanded: v,
326
+ toggle: A
327
+ } = i.useContext($), T = (x) => {
328
+ A && A(x), f && f(x);
329
+ }, t = c({}, n, {
330
+ expanded: v,
331
+ disabled: m,
332
+ disableGutters: C
333
+ }), u = Y(t);
334
+ return /* @__PURE__ */ I(Z, c({
335
+ focusRipple: !1,
336
+ disableRipple: !0,
337
+ disabled: m,
338
+ component: "div",
339
+ "aria-expanded": v,
340
+ className: R(u.root, d),
341
+ focusVisibleClassName: R(u.focusVisible, p),
342
+ onClick: T,
343
+ ref: r,
344
+ ownerState: t
345
+ }, N, {
346
+ children: [/* @__PURE__ */ g(oo, {
347
+ className: u.content,
348
+ ownerState: t,
349
+ children: a
350
+ }), l && /* @__PURE__ */ g(eo, {
351
+ className: u.expandIconWrapper,
352
+ ownerState: t,
353
+ children: l
354
+ })]
355
+ }));
356
+ });
357
+ process.env.NODE_ENV !== "production" && (so.propTypes = {
358
+ // ----------------------------- Warning --------------------------------
359
+ // | These PropTypes are generated from the TypeScript type definitions |
360
+ // | To update them edit the d.ts file and run "yarn proptypes" |
361
+ // ----------------------------------------------------------------------
362
+ /**
363
+ * The content of the component.
364
+ */
365
+ children: e.node,
366
+ /**
367
+ * Override or extend the styles applied to the component.
368
+ */
369
+ classes: e.object,
370
+ /**
371
+ * @ignore
372
+ */
373
+ className: e.string,
374
+ /**
375
+ * The icon to display as the expand indicator.
376
+ */
377
+ expandIcon: e.node,
378
+ /**
379
+ * This prop can help identify which element has keyboard focus.
380
+ * The class name will be applied when the element gains the focus through keyboard interaction.
381
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
382
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
383
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
384
+ * if needed.
385
+ */
386
+ focusVisibleClassName: e.string,
387
+ /**
388
+ * @ignore
389
+ */
390
+ onClick: e.func,
391
+ /**
392
+ * The system prop that allows defining system overrides as well as additional CSS styles.
393
+ */
394
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
395
+ });
396
+ function ro(o) {
397
+ return O("MuiAccordionDetails", o);
398
+ }
399
+ M("MuiAccordionDetails", ["root"]);
400
+ const no = ["className"], to = (o) => {
401
+ const {
402
+ classes: s
403
+ } = o;
404
+ return V({
405
+ root: ["root"]
406
+ }, ro, s);
407
+ }, ao = y("div", {
408
+ name: "MuiAccordionDetails",
409
+ slot: "Root",
410
+ overridesResolver: (o, s) => s.root
411
+ })(({
412
+ theme: o
413
+ }) => ({
414
+ padding: o.spacing(1, 2, 2)
415
+ })), io = /* @__PURE__ */ i.forwardRef(function(s, r) {
416
+ const n = w({
417
+ props: s,
418
+ name: "MuiAccordionDetails"
419
+ }), {
420
+ className: a
421
+ } = n, d = E(n, no), l = n, p = to(l);
422
+ return /* @__PURE__ */ g(ao, c({
423
+ className: R(p.root, a),
424
+ ref: r,
425
+ ownerState: l
426
+ }, d));
427
+ });
428
+ process.env.NODE_ENV !== "production" && (io.propTypes = {
429
+ // ----------------------------- Warning --------------------------------
430
+ // | These PropTypes are generated from the TypeScript type definitions |
431
+ // | To update them edit the d.ts file and run "yarn proptypes" |
432
+ // ----------------------------------------------------------------------
433
+ /**
434
+ * The content of the component.
435
+ */
436
+ children: e.node,
437
+ /**
438
+ * Override or extend the styles applied to the component.
439
+ */
440
+ classes: e.object,
441
+ /**
442
+ * @ignore
443
+ */
444
+ className: e.string,
445
+ /**
446
+ * The system prop that allows defining system overrides as well as additional CSS styles.
447
+ */
448
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
449
+ });
450
+ export {
451
+ K as A,
452
+ so as a,
453
+ io as b
454
+ };