@amateescu/portal-ui-components 0.0.23 → 0.0.25-react19
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.
- package/dist/Box-DQNjUj2G.js +102 -0
- package/dist/Button-D2XVkO19.js +676 -0
- package/dist/ButtonBase-D-XlpvIZ.js +954 -0
- package/dist/CircularProgress-BOkP0juA.js +247 -0
- package/dist/{EllipsisOutlined-CtmB5yDB.js → EllipsisOutlined-DfTPoz8U.js} +667 -672
- package/dist/PurePanel-ByiFMw5U.js +2213 -0
- package/dist/{Skeleton-XFbjx7LJ.js → Skeleton-Imy-56Lv.js} +161 -158
- package/dist/{UserInfoDropdown-DGaplQo6.js → UserInfoDropdown-6aB5cQyF.js} +1540 -1505
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.js +1 -1
- package/dist/components/ConfirmationModal/ConfirmationModal.stories.js +1 -1
- package/dist/components/CustomButton/CustomButton.js +1 -1
- package/dist/components/CustomPagination/CustomPagination.js +455 -344
- package/dist/components/ErrorModal/ErrorModal.js +5 -6
- package/dist/components/ErrorModal/ErrorModal.stories.js +1 -1
- package/dist/components/InfoModal/InfoModal.js +1 -1
- package/dist/components/InfoModal/InfoModal.stories.js +1 -1
- package/dist/components/KpiCard/KpiCard.js +1003 -892
- package/dist/components/LoadingAnimation/LoadingAnimation.js +6 -215
- package/dist/components/Login/Login.js +4485 -3820
- package/dist/components/Login/Login.stories.js +1586 -1546
- package/dist/components/SideMenu/SideMenu.js +1 -1
- package/dist/components/SideMenu/SideMenu.types.d.ts +1 -0
- package/dist/components/TotalDataGrid/TotalDataGrid.js +6 -6
- package/dist/components/UserInfoDropdown/UserInfoDropdown.js +1 -1
- package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/context-D_FWkiDE.js +7383 -0
- package/dist/createSimplePaletteValueFilter-CshNo3IR.js +3439 -0
- package/dist/index-CR8gh-dS.js +1689 -0
- package/dist/index-CyFfYou3.js +411 -0
- package/dist/main.js +33 -30
- package/dist/objectWithoutPropertiesLoose-BTau6TOn.js +33 -0
- package/dist/portal-utils/formatters.js +68 -0
- package/dist/portal-utils/index.d.ts +1 -0
- package/dist/portal-utils/index.js +13 -10
- package/dist/portal-utils/loggerService.d.ts +12 -0
- package/dist/portal-utils/loggerService.js +16 -0
- package/dist/useSlot-kDVPuVrn.js +431 -0
- package/package.json +38 -38
- package/dist/Box-CmKt1PwF.js +0 -68
- package/dist/Button-BT8r3F_d.js +0 -355
- package/dist/ButtonBase-By486Sca.js +0 -966
- package/dist/PurePanel-CfZ1n-M8.js +0 -4782
- package/dist/assertThisInitialized-BUtkG-md.js +0 -13
- package/dist/createSvgIcon-B8ya7kb4.js +0 -250
- package/dist/generateUtilityClasses-Bhjgm_6-.js +0 -3270
- package/dist/index-1vDmwq0E.js +0 -19089
- package/dist/index-DsP9yT3s.js +0 -1551
- package/dist/objectWithoutPropertiesLoose-CIT-1_kH.js +0 -227
- package/dist/useId-DbfH3PlN.js +0 -5397
package/dist/Button-BT8r3F_d.js
DELETED
|
@@ -1,355 +0,0 @@
|
|
|
1
|
-
import { _ as j, a as t } from "./objectWithoutPropertiesLoose-CIT-1_kH.js";
|
|
2
|
-
import * as p from "react";
|
|
3
|
-
import { g as D, a as F, r as G, u as U, c as r, b as H, s as f, f as A, h as v, d as m, P as n } from "./generateUtilityClasses-Bhjgm_6-.js";
|
|
4
|
-
import { jsx as R, jsxs as q } from "react/jsx-runtime";
|
|
5
|
-
import { B as J } from "./ButtonBase-By486Sca.js";
|
|
6
|
-
function K(o) {
|
|
7
|
-
return D("MuiButton", o);
|
|
8
|
-
}
|
|
9
|
-
const b = F("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge"]), h = /* @__PURE__ */ p.createContext({});
|
|
10
|
-
process.env.NODE_ENV !== "production" && (h.displayName = "ButtonGroupContext");
|
|
11
|
-
const E = /* @__PURE__ */ p.createContext(void 0);
|
|
12
|
-
process.env.NODE_ENV !== "production" && (E.displayName = "ButtonGroupButtonContext");
|
|
13
|
-
const Q = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"], X = (o) => {
|
|
14
|
-
const {
|
|
15
|
-
color: a,
|
|
16
|
-
disableElevation: i,
|
|
17
|
-
fullWidth: l,
|
|
18
|
-
size: s,
|
|
19
|
-
variant: e,
|
|
20
|
-
classes: c
|
|
21
|
-
} = o, g = {
|
|
22
|
-
root: ["root", e, `${e}${r(a)}`, `size${r(s)}`, `${e}Size${r(s)}`, `color${r(a)}`, i && "disableElevation", l && "fullWidth"],
|
|
23
|
-
label: ["label"],
|
|
24
|
-
startIcon: ["icon", "startIcon", `iconSize${r(s)}`],
|
|
25
|
-
endIcon: ["icon", "endIcon", `iconSize${r(s)}`]
|
|
26
|
-
}, x = H(g, K, c);
|
|
27
|
-
return t({}, c, x);
|
|
28
|
-
}, N = (o) => t({}, o.size === "small" && {
|
|
29
|
-
"& > *:nth-of-type(1)": {
|
|
30
|
-
fontSize: 18
|
|
31
|
-
}
|
|
32
|
-
}, o.size === "medium" && {
|
|
33
|
-
"& > *:nth-of-type(1)": {
|
|
34
|
-
fontSize: 20
|
|
35
|
-
}
|
|
36
|
-
}, o.size === "large" && {
|
|
37
|
-
"& > *:nth-of-type(1)": {
|
|
38
|
-
fontSize: 22
|
|
39
|
-
}
|
|
40
|
-
}), Y = f(J, {
|
|
41
|
-
shouldForwardProp: (o) => A(o) || o === "classes",
|
|
42
|
-
name: "MuiButton",
|
|
43
|
-
slot: "Root",
|
|
44
|
-
overridesResolver: (o, a) => {
|
|
45
|
-
const {
|
|
46
|
-
ownerState: i
|
|
47
|
-
} = o;
|
|
48
|
-
return [a.root, a[i.variant], a[`${i.variant}${r(i.color)}`], a[`size${r(i.size)}`], a[`${i.variant}Size${r(i.size)}`], i.color === "inherit" && a.colorInherit, i.disableElevation && a.disableElevation, i.fullWidth && a.fullWidth];
|
|
49
|
-
}
|
|
50
|
-
})(({
|
|
51
|
-
theme: o,
|
|
52
|
-
ownerState: a
|
|
53
|
-
}) => {
|
|
54
|
-
var i, l;
|
|
55
|
-
const s = o.palette.mode === "light" ? o.palette.grey[300] : o.palette.grey[800], e = o.palette.mode === "light" ? o.palette.grey.A100 : o.palette.grey[700];
|
|
56
|
-
return t({}, o.typography.button, {
|
|
57
|
-
minWidth: 64,
|
|
58
|
-
padding: "6px 16px",
|
|
59
|
-
borderRadius: (o.vars || o).shape.borderRadius,
|
|
60
|
-
transition: o.transitions.create(["background-color", "box-shadow", "border-color", "color"], {
|
|
61
|
-
duration: o.transitions.duration.short
|
|
62
|
-
}),
|
|
63
|
-
"&:hover": t({
|
|
64
|
-
textDecoration: "none",
|
|
65
|
-
backgroundColor: o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : v(o.palette.text.primary, o.palette.action.hoverOpacity),
|
|
66
|
-
// Reset on touch devices, it doesn't add specificity
|
|
67
|
-
"@media (hover: none)": {
|
|
68
|
-
backgroundColor: "transparent"
|
|
69
|
-
}
|
|
70
|
-
}, a.variant === "text" && a.color !== "inherit" && {
|
|
71
|
-
backgroundColor: o.vars ? `rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : v(o.palette[a.color].main, o.palette.action.hoverOpacity),
|
|
72
|
-
// Reset on touch devices, it doesn't add specificity
|
|
73
|
-
"@media (hover: none)": {
|
|
74
|
-
backgroundColor: "transparent"
|
|
75
|
-
}
|
|
76
|
-
}, a.variant === "outlined" && a.color !== "inherit" && {
|
|
77
|
-
border: `1px solid ${(o.vars || o).palette[a.color].main}`,
|
|
78
|
-
backgroundColor: o.vars ? `rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : v(o.palette[a.color].main, o.palette.action.hoverOpacity),
|
|
79
|
-
// Reset on touch devices, it doesn't add specificity
|
|
80
|
-
"@media (hover: none)": {
|
|
81
|
-
backgroundColor: "transparent"
|
|
82
|
-
}
|
|
83
|
-
}, a.variant === "contained" && {
|
|
84
|
-
backgroundColor: o.vars ? o.vars.palette.Button.inheritContainedHoverBg : e,
|
|
85
|
-
boxShadow: (o.vars || o).shadows[4],
|
|
86
|
-
// Reset on touch devices, it doesn't add specificity
|
|
87
|
-
"@media (hover: none)": {
|
|
88
|
-
boxShadow: (o.vars || o).shadows[2],
|
|
89
|
-
backgroundColor: (o.vars || o).palette.grey[300]
|
|
90
|
-
}
|
|
91
|
-
}, a.variant === "contained" && a.color !== "inherit" && {
|
|
92
|
-
backgroundColor: (o.vars || o).palette[a.color].dark,
|
|
93
|
-
// Reset on touch devices, it doesn't add specificity
|
|
94
|
-
"@media (hover: none)": {
|
|
95
|
-
backgroundColor: (o.vars || o).palette[a.color].main
|
|
96
|
-
}
|
|
97
|
-
}),
|
|
98
|
-
"&:active": t({}, a.variant === "contained" && {
|
|
99
|
-
boxShadow: (o.vars || o).shadows[8]
|
|
100
|
-
}),
|
|
101
|
-
[`&.${b.focusVisible}`]: t({}, a.variant === "contained" && {
|
|
102
|
-
boxShadow: (o.vars || o).shadows[6]
|
|
103
|
-
}),
|
|
104
|
-
[`&.${b.disabled}`]: t({
|
|
105
|
-
color: (o.vars || o).palette.action.disabled
|
|
106
|
-
}, a.variant === "outlined" && {
|
|
107
|
-
border: `1px solid ${(o.vars || o).palette.action.disabledBackground}`
|
|
108
|
-
}, a.variant === "contained" && {
|
|
109
|
-
color: (o.vars || o).palette.action.disabled,
|
|
110
|
-
boxShadow: (o.vars || o).shadows[0],
|
|
111
|
-
backgroundColor: (o.vars || o).palette.action.disabledBackground
|
|
112
|
-
})
|
|
113
|
-
}, a.variant === "text" && {
|
|
114
|
-
padding: "6px 8px"
|
|
115
|
-
}, a.variant === "text" && a.color !== "inherit" && {
|
|
116
|
-
color: (o.vars || o).palette[a.color].main
|
|
117
|
-
}, a.variant === "outlined" && {
|
|
118
|
-
padding: "5px 15px",
|
|
119
|
-
border: "1px solid currentColor"
|
|
120
|
-
}, a.variant === "outlined" && a.color !== "inherit" && {
|
|
121
|
-
color: (o.vars || o).palette[a.color].main,
|
|
122
|
-
border: o.vars ? `1px solid rgba(${o.vars.palette[a.color].mainChannel} / 0.5)` : `1px solid ${v(o.palette[a.color].main, 0.5)}`
|
|
123
|
-
}, a.variant === "contained" && {
|
|
124
|
-
color: o.vars ? (
|
|
125
|
-
// this is safe because grey does not change between default light/dark mode
|
|
126
|
-
o.vars.palette.text.primary
|
|
127
|
-
) : (i = (l = o.palette).getContrastText) == null ? void 0 : i.call(l, o.palette.grey[300]),
|
|
128
|
-
backgroundColor: o.vars ? o.vars.palette.Button.inheritContainedBg : s,
|
|
129
|
-
boxShadow: (o.vars || o).shadows[2]
|
|
130
|
-
}, a.variant === "contained" && a.color !== "inherit" && {
|
|
131
|
-
color: (o.vars || o).palette[a.color].contrastText,
|
|
132
|
-
backgroundColor: (o.vars || o).palette[a.color].main
|
|
133
|
-
}, a.color === "inherit" && {
|
|
134
|
-
color: "inherit",
|
|
135
|
-
borderColor: "currentColor"
|
|
136
|
-
}, a.size === "small" && a.variant === "text" && {
|
|
137
|
-
padding: "4px 5px",
|
|
138
|
-
fontSize: o.typography.pxToRem(13)
|
|
139
|
-
}, a.size === "large" && a.variant === "text" && {
|
|
140
|
-
padding: "8px 11px",
|
|
141
|
-
fontSize: o.typography.pxToRem(15)
|
|
142
|
-
}, a.size === "small" && a.variant === "outlined" && {
|
|
143
|
-
padding: "3px 9px",
|
|
144
|
-
fontSize: o.typography.pxToRem(13)
|
|
145
|
-
}, a.size === "large" && a.variant === "outlined" && {
|
|
146
|
-
padding: "7px 21px",
|
|
147
|
-
fontSize: o.typography.pxToRem(15)
|
|
148
|
-
}, a.size === "small" && a.variant === "contained" && {
|
|
149
|
-
padding: "4px 10px",
|
|
150
|
-
fontSize: o.typography.pxToRem(13)
|
|
151
|
-
}, a.size === "large" && a.variant === "contained" && {
|
|
152
|
-
padding: "8px 22px",
|
|
153
|
-
fontSize: o.typography.pxToRem(15)
|
|
154
|
-
}, a.fullWidth && {
|
|
155
|
-
width: "100%"
|
|
156
|
-
});
|
|
157
|
-
}, ({
|
|
158
|
-
ownerState: o
|
|
159
|
-
}) => o.disableElevation && {
|
|
160
|
-
boxShadow: "none",
|
|
161
|
-
"&:hover": {
|
|
162
|
-
boxShadow: "none"
|
|
163
|
-
},
|
|
164
|
-
[`&.${b.focusVisible}`]: {
|
|
165
|
-
boxShadow: "none"
|
|
166
|
-
},
|
|
167
|
-
"&:active": {
|
|
168
|
-
boxShadow: "none"
|
|
169
|
-
},
|
|
170
|
-
[`&.${b.disabled}`]: {
|
|
171
|
-
boxShadow: "none"
|
|
172
|
-
}
|
|
173
|
-
}), Z = f("span", {
|
|
174
|
-
name: "MuiButton",
|
|
175
|
-
slot: "StartIcon",
|
|
176
|
-
overridesResolver: (o, a) => {
|
|
177
|
-
const {
|
|
178
|
-
ownerState: i
|
|
179
|
-
} = o;
|
|
180
|
-
return [a.startIcon, a[`iconSize${r(i.size)}`]];
|
|
181
|
-
}
|
|
182
|
-
})(({
|
|
183
|
-
ownerState: o
|
|
184
|
-
}) => t({
|
|
185
|
-
display: "inherit",
|
|
186
|
-
marginRight: 8,
|
|
187
|
-
marginLeft: -4
|
|
188
|
-
}, o.size === "small" && {
|
|
189
|
-
marginLeft: -2
|
|
190
|
-
}, N(o))), w = f("span", {
|
|
191
|
-
name: "MuiButton",
|
|
192
|
-
slot: "EndIcon",
|
|
193
|
-
overridesResolver: (o, a) => {
|
|
194
|
-
const {
|
|
195
|
-
ownerState: i
|
|
196
|
-
} = o;
|
|
197
|
-
return [a.endIcon, a[`iconSize${r(i.size)}`]];
|
|
198
|
-
}
|
|
199
|
-
})(({
|
|
200
|
-
ownerState: o
|
|
201
|
-
}) => t({
|
|
202
|
-
display: "inherit",
|
|
203
|
-
marginRight: -4,
|
|
204
|
-
marginLeft: 8
|
|
205
|
-
}, o.size === "small" && {
|
|
206
|
-
marginRight: -2
|
|
207
|
-
}, N(o))), oo = /* @__PURE__ */ p.forwardRef(function(a, i) {
|
|
208
|
-
const l = p.useContext(h), s = p.useContext(E), e = G(l, a), c = U({
|
|
209
|
-
props: e,
|
|
210
|
-
name: "MuiButton"
|
|
211
|
-
}), {
|
|
212
|
-
children: g,
|
|
213
|
-
color: x = "primary",
|
|
214
|
-
component: y = "button",
|
|
215
|
-
className: O,
|
|
216
|
-
disabled: z = !1,
|
|
217
|
-
disableElevation: k = !1,
|
|
218
|
-
disableFocusRipple: C = !1,
|
|
219
|
-
endIcon: I,
|
|
220
|
-
focusVisibleClassName: T,
|
|
221
|
-
fullWidth: P = !1,
|
|
222
|
-
size: W = "medium",
|
|
223
|
-
startIcon: $,
|
|
224
|
-
type: B,
|
|
225
|
-
variant: S = "text"
|
|
226
|
-
} = c, M = j(c, Q), u = t({}, c, {
|
|
227
|
-
color: x,
|
|
228
|
-
component: y,
|
|
229
|
-
disabled: z,
|
|
230
|
-
disableElevation: k,
|
|
231
|
-
disableFocusRipple: C,
|
|
232
|
-
fullWidth: P,
|
|
233
|
-
size: W,
|
|
234
|
-
type: B,
|
|
235
|
-
variant: S
|
|
236
|
-
}), d = X(u), V = $ && /* @__PURE__ */ R(Z, {
|
|
237
|
-
className: d.startIcon,
|
|
238
|
-
ownerState: u,
|
|
239
|
-
children: $
|
|
240
|
-
}), _ = I && /* @__PURE__ */ R(w, {
|
|
241
|
-
className: d.endIcon,
|
|
242
|
-
ownerState: u,
|
|
243
|
-
children: I
|
|
244
|
-
}), L = s || "";
|
|
245
|
-
return /* @__PURE__ */ q(Y, t({
|
|
246
|
-
ownerState: u,
|
|
247
|
-
className: m(l.className, d.root, O, L),
|
|
248
|
-
component: y,
|
|
249
|
-
disabled: z,
|
|
250
|
-
focusRipple: !C,
|
|
251
|
-
focusVisibleClassName: m(d.focusVisible, T),
|
|
252
|
-
ref: i,
|
|
253
|
-
type: B
|
|
254
|
-
}, M, {
|
|
255
|
-
classes: d,
|
|
256
|
-
children: [V, g, _]
|
|
257
|
-
}));
|
|
258
|
-
});
|
|
259
|
-
process.env.NODE_ENV !== "production" && (oo.propTypes = {
|
|
260
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
261
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
262
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
263
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
264
|
-
/**
|
|
265
|
-
* The content of the component.
|
|
266
|
-
*/
|
|
267
|
-
children: n.node,
|
|
268
|
-
/**
|
|
269
|
-
* Override or extend the styles applied to the component.
|
|
270
|
-
*/
|
|
271
|
-
classes: n.object,
|
|
272
|
-
/**
|
|
273
|
-
* @ignore
|
|
274
|
-
*/
|
|
275
|
-
className: n.string,
|
|
276
|
-
/**
|
|
277
|
-
* The color of the component.
|
|
278
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
279
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
280
|
-
* @default 'primary'
|
|
281
|
-
*/
|
|
282
|
-
color: n.oneOfType([n.oneOf(["inherit", "primary", "secondary", "success", "error", "info", "warning"]), n.string]),
|
|
283
|
-
/**
|
|
284
|
-
* The component used for the root node.
|
|
285
|
-
* Either a string to use a HTML element or a component.
|
|
286
|
-
*/
|
|
287
|
-
component: n.elementType,
|
|
288
|
-
/**
|
|
289
|
-
* If `true`, the component is disabled.
|
|
290
|
-
* @default false
|
|
291
|
-
*/
|
|
292
|
-
disabled: n.bool,
|
|
293
|
-
/**
|
|
294
|
-
* If `true`, no elevation is used.
|
|
295
|
-
* @default false
|
|
296
|
-
*/
|
|
297
|
-
disableElevation: n.bool,
|
|
298
|
-
/**
|
|
299
|
-
* If `true`, the keyboard focus ripple is disabled.
|
|
300
|
-
* @default false
|
|
301
|
-
*/
|
|
302
|
-
disableFocusRipple: n.bool,
|
|
303
|
-
/**
|
|
304
|
-
* If `true`, the ripple effect is disabled.
|
|
305
|
-
*
|
|
306
|
-
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
307
|
-
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
308
|
-
* @default false
|
|
309
|
-
*/
|
|
310
|
-
disableRipple: n.bool,
|
|
311
|
-
/**
|
|
312
|
-
* Element placed after the children.
|
|
313
|
-
*/
|
|
314
|
-
endIcon: n.node,
|
|
315
|
-
/**
|
|
316
|
-
* @ignore
|
|
317
|
-
*/
|
|
318
|
-
focusVisibleClassName: n.string,
|
|
319
|
-
/**
|
|
320
|
-
* If `true`, the button will take up the full width of its container.
|
|
321
|
-
* @default false
|
|
322
|
-
*/
|
|
323
|
-
fullWidth: n.bool,
|
|
324
|
-
/**
|
|
325
|
-
* The URL to link to when the button is clicked.
|
|
326
|
-
* If defined, an `a` element will be used as the root node.
|
|
327
|
-
*/
|
|
328
|
-
href: n.string,
|
|
329
|
-
/**
|
|
330
|
-
* The size of the component.
|
|
331
|
-
* `small` is equivalent to the dense button styling.
|
|
332
|
-
* @default 'medium'
|
|
333
|
-
*/
|
|
334
|
-
size: n.oneOfType([n.oneOf(["small", "medium", "large"]), n.string]),
|
|
335
|
-
/**
|
|
336
|
-
* Element placed before the children.
|
|
337
|
-
*/
|
|
338
|
-
startIcon: n.node,
|
|
339
|
-
/**
|
|
340
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
341
|
-
*/
|
|
342
|
-
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
|
|
343
|
-
/**
|
|
344
|
-
* @ignore
|
|
345
|
-
*/
|
|
346
|
-
type: n.oneOfType([n.oneOf(["button", "reset", "submit"]), n.string]),
|
|
347
|
-
/**
|
|
348
|
-
* The variant to use.
|
|
349
|
-
* @default 'text'
|
|
350
|
-
*/
|
|
351
|
-
variant: n.oneOfType([n.oneOf(["contained", "outlined", "text"]), n.string])
|
|
352
|
-
});
|
|
353
|
-
export {
|
|
354
|
-
oo as B
|
|
355
|
-
};
|