kdpa-components 1.0.0 → 1.2.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.
- package/CHANGELOG.md +7 -0
- package/dist/Accordion/index.js +17 -19
- package/dist/Alert/index.js +19 -20
- package/dist/{ArrowDropDown-4bc3084f.js → ArrowDropDown-07b9ccae.js} +19 -20
- package/dist/Avatar/index.js +7 -8
- package/dist/Badge/index.js +22 -24
- package/dist/{Box-af81b133.js → Box-032e9a1d.js} +25 -27
- package/dist/{Button-da8592f4.js → Button-9d9cc0bd.js} +18 -20
- package/dist/{ButtonBase-496494a5.js → ButtonBase-fa4630c8.js} +35 -37
- package/dist/Buttons/index.js +28 -30
- package/dist/{CSSTransition-5496e075.js → CSSTransition-7e2d0e80.js} +3 -3
- package/dist/Cards/index.d.ts +2 -0
- package/dist/Cards/index.d.ts.map +1 -1
- package/dist/Cards/index.js +150 -1
- package/dist/CheckBox/index.js +13 -14
- package/dist/Chip/index.js +17 -19
- package/dist/{Chip-2dfcd6e9.js → Chip-e5751770.js} +25 -27
- package/dist/{CircularProgress-e1f22f2a.js → CircularProgress-01a8929e.js} +19 -21
- package/dist/{Close-319784e1.js → Close-db7afda5.js} +2 -2
- package/dist/Collapse/index.js +10 -12
- package/dist/{Collapse-75d5ed79.js → Collapse-547e6c7a.js} +27 -30
- package/dist/CopyToClipboard/index.js +24 -26
- package/dist/{Dialog-0eadb508.js → Dialog-652a3ad4.js} +19 -21
- package/dist/Divider/index.js +7 -8
- package/dist/DropZone/index.js +34 -36
- package/dist/{Fade-6a96fc41.js → Fade-7ee2c0a4.js} +23 -25
- package/dist/FormControl/index.js +12 -13
- package/dist/{FormControl-c914b3de.js → FormControl-ca7447ab.js} +13 -15
- package/dist/FullScreenDialog/index.js +20 -22
- package/dist/Grid/index.js +9 -10
- package/dist/{Grid-4cbef6c7.js → Grid-9708b9ca.js} +65 -67
- package/dist/{Grow-8a97586f.js → Grow-55d0786d.js} +17 -19
- package/dist/{IconButton-b4e677f7.js → IconButton-48d87778.js} +30 -32
- package/dist/Input/index.js +27 -29
- package/dist/{KdpaAccordions-60fefaf0.js → KdpaAccordions-2ae65dd1.js} +126 -115
- package/dist/{KdpaAlertTitle-497100ba.js → KdpaAlertTitle-f1549035.js} +93 -82
- package/dist/{KdpaAutoComplete-9c0b8d4d.js → KdpaAutoComplete-8a11974a.js} +237 -234
- package/dist/{KdpaAvatar-da84b516.js → KdpaAvatar-d297ef8a.js} +75 -72
- package/dist/{KdpaCheckBox-d06c93b0.js → KdpaCheckBox-84d56486.js} +33 -30
- package/dist/KdpaChip-10899788.js +51 -0
- package/dist/KdpaCircularProgress-6c4605cd.js +76 -0
- package/dist/KdpaCollapse-2d23c312.js +12 -0
- package/dist/KdpaCollapse-73c03e02.js +23 -0
- package/dist/{KdpaCopyToClipboard-2c36d593.js → KdpaCopyToClipboard-53aa97d3.js} +196 -160
- package/dist/{KdpaDateTimePicker-8e9da3c8.js → KdpaDateTimePicker-cb4a16d0.js} +10530 -13197
- package/dist/{KdpaDivider-10de74db.js → KdpaDivider-1c62c65a.js} +95 -84
- package/dist/{KdpaDropZone-85943160.js → KdpaDropZone-b21d2304.js} +631 -531
- package/dist/KdpaFormControl-135b070d.js +10 -0
- package/dist/{KdpaFormControlLabel-8a6ff2a6.js → KdpaFormControlLabel-249b7622.js} +57 -54
- package/dist/KdpaFullScreenDialog-e56db731.js +24 -0
- package/dist/KdpaGrid-2a3f9346.js +12 -0
- package/dist/{KdpaGridBadge-d8a8e388.js → KdpaGridBadge-65b88a7a.js} +123 -104
- package/dist/KdpaIconButton-a0ee669c.js +35 -0
- package/dist/KdpaInputMultiline-231a2be1.js +68 -0
- package/dist/{KdpaLazyDrop-347b6e24.js → KdpaLazyDrop-1985fc75.js} +254 -217
- package/dist/KdpaMenuItem-99cde871.js +56 -0
- package/dist/{KdpaSimpleModal-6ab72b9c.js → KdpaModalImage-eb732bf0.js} +176 -185
- package/dist/{KdpaPaginationGrid-6e4cd782.js → KdpaPaginationGrid-97a5b164.js} +343 -283
- package/dist/{KdpaRadioGroup-de6c67d4.js → KdpaRadioGroup-87122ec7.js} +129 -122
- package/dist/{KdpaRtlProvider-d7cc5029.js → KdpaRtlProvider-495e4bb0.js} +169 -162
- package/dist/KdpaSecondaryButton-a70aafe5.js +44 -0
- package/dist/KdpaSkeleton-f8f3aefc.js +580 -0
- package/dist/{KdpaSlider-93a991f0.js → KdpaSlider-b7226e20.js} +196 -182
- package/dist/{KdpaSwitch-2f07cd38.js → KdpaSwitch-b2ba7c23.js} +50 -43
- package/dist/KdpaTabs-ab618f36.js +50 -0
- package/dist/{KdpaTooltip-e30e1eea.js → KdpaTooltip-653424c7.js} +95 -88
- package/dist/{KdpaTree-8428a368.js → KdpaTree-2e1df83d.js} +348 -304
- package/dist/{KdpaTreeSelect-7fe5581c.js → KdpaTreeSelect-0152302e.js} +625 -609
- package/dist/KdpaTypography-763c3238.js +10 -0
- package/dist/KdpaZoom-1b0f3404.js +22 -0
- package/dist/KpdaPrimaryButton-5416aa2c.js +79 -0
- package/dist/LazyDrop/index.js +24 -24
- package/dist/{ListItem-da6701a3.js → ListItem-ddec0b28.js} +14 -16
- package/dist/Loading/KdpaProgress/index.js +12 -13
- package/dist/Loading/index.js +11 -12
- package/dist/{MenuItem-b9a45c1d.js → MenuItem-057c85a3.js} +44 -46
- package/dist/Modal/index.d.ts +0 -2
- package/dist/Modal/index.d.ts.map +1 -1
- package/dist/Modal/index.js +3 -17
- package/dist/{Modal-1e4a342f.js → Modal-daf2a588.js} +18 -20
- package/dist/PaginationGrid/index.js +33 -34
- package/dist/{Paper-ad7ba238.js → Paper-00aea968.js} +16 -18
- package/dist/Pickers/index.d.ts +2 -1
- package/dist/Pickers/index.d.ts.map +1 -1
- package/dist/Pickers/index.js +43 -45
- package/dist/{Popper-20f4d1e9.js → Popper-7adcd815.js} +13 -15
- package/dist/{Portal-1b00a402.js → Portal-de5e310c.js} +6 -7
- package/dist/Radio/index.js +14 -15
- package/dist/Selects/index.js +39 -40
- package/dist/{Slide-d61a6d2b.js → Slide-803fd098.js} +17 -19
- package/dist/Slider/index.js +8 -9
- package/dist/Switch/index.js +12 -13
- package/dist/{SwitchBase-e8b18f94.js → SwitchBase-64e5662e.js} +14 -16
- package/dist/Tabs/index.js +16 -17
- package/dist/{Tabs-1cc5862d.js → Tabs-1140d353.js} +87 -89
- package/dist/{TextField-c2c0172a.js → TextField-57c51dbe.js} +52 -54
- package/dist/ThemeProvider/index.js +7 -8
- package/dist/Tooltips/index.js +16 -18
- package/dist/{TransitionGroup-68fd1866.js → TransitionGroup-f9877c5b.js} +2 -2
- package/dist/Transitions/index.js +22 -24
- package/dist/Tree/index.js +2 -2
- package/dist/TreeSelect/index.js +3 -3
- package/dist/Typography/index.js +8 -9
- package/dist/{Typography-9a28b393.js → Typography-db7e5ea2.js} +42 -44
- package/dist/{Zoom-64a4beac.js → Zoom-36a189bb.js} +22 -24
- package/dist/{createSvgIcon-5cb90f79.js → createSvgIcon-1aa1b2b2.js} +20 -22
- package/dist/{dividerClasses-6f4cb6be.js → dividerClasses-a9b8b1ae.js} +2 -2
- package/dist/{elementAcceptingRef-332a290a.js → elementAcceptingRef-bd96c731.js} +1 -1
- package/dist/{elementTypeAcceptingRef-05dea79e.js → elementTypeAcceptingRef-dea9e62a.js} +1 -1
- package/dist/{emotion-react.browser.esm-921c014a.js → emotion-react.browser.esm-3fa5f721.js} +1 -1
- package/dist/{exactProp-7fadf441.js → exactProp-86f148d5.js} +1 -1
- package/dist/{extendSxProp-eacd850e.js → extendSxProp-d294b946.js} +2 -2
- package/dist/{extends-393586f3.js → extends-135d7828.js} +2 -2
- package/dist/identifier-2647f844.js +3775 -0
- package/dist/{index-456f3e1b.js → index-5f8afc53.js} +5 -5
- package/dist/index.js +140 -142
- package/dist/jsx-dev-runtime-48fdc504.js +615 -0
- package/dist/kdpaSelect-4ed993c7.js +1 -0
- package/dist/{listItemTextClasses-f7759ba4.js → listItemTextClasses-da281500.js} +2 -2
- package/dist/{refType-7c2b090c.js → refType-450337d6.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useSlotProps-db1ead27.js → useSlotProps-3b927bcb.js} +2 -2
- package/dist/{useTheme-2bb6b2df.js → useTheme-6ea322ec.js} +2 -2
- package/dist/{useThemeProps-114e8d66.js → useThemeProps-ea792506.js} +11 -11
- package/dist/{Transition-2ecbc61d.js → utils-acd98a68.js} +113 -98
- package/package.json +90 -87
- package/dist/KdpaChip-f94c5b7e.js +0 -31
- package/dist/KdpaCircularProgress-aed28149.js +0 -44
- package/dist/KdpaCollapse-73e5e40c.js +0 -8
- package/dist/KdpaCollapse-7f12a32a.js +0 -11
- package/dist/KdpaFormControl-ae8f7241.js +0 -6
- package/dist/KdpaFullScreenDialog-f60e21f3.js +0 -16
- package/dist/KdpaGrid-b93fab29.js +0 -8
- package/dist/KdpaIconButton-f5146164.js +0 -23
- package/dist/KdpaInputMultiline-71dfbfe5.js +0 -48
- package/dist/KdpaMenuItem-9a9ece89.js +0 -35
- package/dist/KdpaSecondaryButton-9b81f97d.js +0 -28
- package/dist/KdpaSkeleton-4696fadd.js +0 -541
- package/dist/KdpaTabs-a76a17a7.js +0 -38
- package/dist/KdpaTypography-17403558.js +0 -6
- package/dist/KdpaZoom-96a648cb.js +0 -10
- package/dist/KpdaPrimaryButton-9a5d8d6d.js +0 -47
- package/dist/Sanitizer/index.d.ts +0 -3
- package/dist/Sanitizer/index.d.ts.map +0 -1
- package/dist/Sanitizer/index.js +0 -492
- package/dist/identifier-5cabf5ae.js +0 -2481
- package/dist/index-f4329b29.js +0 -669
- package/dist/jsx-runtime-944c88e2.js +0 -631
- package/dist/utils-8a7b223e.js +0 -18
|
@@ -1,49 +1,47 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as p, _ as W } from "./extends-135d7828.js";
|
|
2
2
|
import * as j from "react";
|
|
3
|
-
import { P as
|
|
4
|
-
import { g as
|
|
5
|
-
import {
|
|
6
|
-
import { j as _ } from "./jsx-runtime-944c88e2.js";
|
|
7
|
-
import { e as U } from "./extendSxProp-eacd850e.js";
|
|
3
|
+
import { g as C, c as f, j as M, P as t } from "./identifier-2647f844.js";
|
|
4
|
+
import { g as O, s as P, u as R, c as N, a as _ } from "./useThemeProps-ea792506.js";
|
|
5
|
+
import { e as U } from "./extendSxProp-d294b946.js";
|
|
8
6
|
function E(a) {
|
|
9
|
-
return
|
|
7
|
+
return C("MuiTypography", a);
|
|
10
8
|
}
|
|
11
|
-
|
|
9
|
+
O("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
|
|
12
10
|
const $ = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], D = (a) => {
|
|
13
11
|
const {
|
|
14
|
-
align:
|
|
12
|
+
align: o,
|
|
15
13
|
gutterBottom: r,
|
|
16
14
|
noWrap: n,
|
|
17
15
|
paragraph: i,
|
|
18
16
|
variant: e,
|
|
19
17
|
classes: h
|
|
20
|
-
} = a,
|
|
21
|
-
root: ["root", e, a.align !== "inherit" && `align${f(
|
|
18
|
+
} = a, s = {
|
|
19
|
+
root: ["root", e, a.align !== "inherit" && `align${f(o)}`, r && "gutterBottom", n && "noWrap", i && "paragraph"]
|
|
22
20
|
};
|
|
23
|
-
return
|
|
24
|
-
}, L =
|
|
21
|
+
return _(s, E, h);
|
|
22
|
+
}, L = P("span", {
|
|
25
23
|
name: "MuiTypography",
|
|
26
24
|
slot: "Root",
|
|
27
|
-
overridesResolver: (a,
|
|
25
|
+
overridesResolver: (a, o) => {
|
|
28
26
|
const {
|
|
29
27
|
ownerState: r
|
|
30
28
|
} = a;
|
|
31
|
-
return [
|
|
29
|
+
return [o.root, r.variant && o[r.variant], r.align !== "inherit" && o[`align${f(r.align)}`], r.noWrap && o.noWrap, r.gutterBottom && o.gutterBottom, r.paragraph && o.paragraph];
|
|
32
30
|
}
|
|
33
31
|
})(({
|
|
34
32
|
theme: a,
|
|
35
|
-
ownerState:
|
|
36
|
-
}) =>
|
|
33
|
+
ownerState: o
|
|
34
|
+
}) => p({
|
|
37
35
|
margin: 0
|
|
38
|
-
},
|
|
39
|
-
textAlign:
|
|
40
|
-
},
|
|
36
|
+
}, o.variant && a.typography[o.variant], o.align !== "inherit" && {
|
|
37
|
+
textAlign: o.align
|
|
38
|
+
}, o.noWrap && {
|
|
41
39
|
overflow: "hidden",
|
|
42
40
|
textOverflow: "ellipsis",
|
|
43
41
|
whiteSpace: "nowrap"
|
|
44
|
-
},
|
|
42
|
+
}, o.gutterBottom && {
|
|
45
43
|
marginBottom: "0.35em"
|
|
46
|
-
},
|
|
44
|
+
}, o.paragraph && {
|
|
47
45
|
marginBottom: 16
|
|
48
46
|
})), u = {
|
|
49
47
|
h1: "h1",
|
|
@@ -63,25 +61,25 @@ const $ = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
63
61
|
secondary: "secondary.main",
|
|
64
62
|
textSecondary: "text.secondary",
|
|
65
63
|
error: "error.main"
|
|
66
|
-
}, w = (a) => V[a] || a, d = /* @__PURE__ */ j.forwardRef(function(
|
|
67
|
-
const n =
|
|
68
|
-
props:
|
|
64
|
+
}, w = (a) => V[a] || a, d = /* @__PURE__ */ j.forwardRef(function(o, r) {
|
|
65
|
+
const n = R({
|
|
66
|
+
props: o,
|
|
69
67
|
name: "MuiTypography"
|
|
70
|
-
}), i = w(n.color), e = U(
|
|
68
|
+
}), i = w(n.color), e = U(p({}, n, {
|
|
71
69
|
color: i
|
|
72
70
|
})), {
|
|
73
71
|
align: h = "inherit",
|
|
74
|
-
className:
|
|
72
|
+
className: s,
|
|
75
73
|
component: l,
|
|
76
74
|
gutterBottom: b = !1,
|
|
77
75
|
noWrap: v = !1,
|
|
78
76
|
paragraph: c = !1,
|
|
79
77
|
variant: g = "body1",
|
|
80
78
|
variantMapping: m = u
|
|
81
|
-
} = e, T = W(e, $), y =
|
|
79
|
+
} = e, T = W(e, $), y = p({}, e, {
|
|
82
80
|
align: h,
|
|
83
81
|
color: i,
|
|
84
|
-
className:
|
|
82
|
+
className: s,
|
|
85
83
|
component: l,
|
|
86
84
|
gutterBottom: b,
|
|
87
85
|
noWrap: v,
|
|
@@ -89,11 +87,11 @@ const $ = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
89
87
|
variant: g,
|
|
90
88
|
variantMapping: m
|
|
91
89
|
}), x = l || (c ? "p" : m[g] || u[g]) || "span", B = D(y);
|
|
92
|
-
return /* @__PURE__ */
|
|
90
|
+
return /* @__PURE__ */ M.jsx(L, p({
|
|
93
91
|
as: x,
|
|
94
92
|
ref: r,
|
|
95
93
|
ownerState: y,
|
|
96
|
-
className:
|
|
94
|
+
className: N(B.root, s)
|
|
97
95
|
}, T));
|
|
98
96
|
});
|
|
99
97
|
process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
@@ -105,29 +103,29 @@ process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
|
105
103
|
* Set the text-align on the component.
|
|
106
104
|
* @default 'inherit'
|
|
107
105
|
*/
|
|
108
|
-
align:
|
|
106
|
+
align: t.oneOf(["center", "inherit", "justify", "left", "right"]),
|
|
109
107
|
/**
|
|
110
108
|
* The content of the component.
|
|
111
109
|
*/
|
|
112
|
-
children:
|
|
110
|
+
children: t.node,
|
|
113
111
|
/**
|
|
114
112
|
* Override or extend the styles applied to the component.
|
|
115
113
|
*/
|
|
116
|
-
classes:
|
|
114
|
+
classes: t.object,
|
|
117
115
|
/**
|
|
118
116
|
* @ignore
|
|
119
117
|
*/
|
|
120
|
-
className:
|
|
118
|
+
className: t.string,
|
|
121
119
|
/**
|
|
122
120
|
* The component used for the root node.
|
|
123
121
|
* Either a string to use a HTML element or a component.
|
|
124
122
|
*/
|
|
125
|
-
component:
|
|
123
|
+
component: t.elementType,
|
|
126
124
|
/**
|
|
127
125
|
* If `true`, the text will have a bottom margin.
|
|
128
126
|
* @default false
|
|
129
127
|
*/
|
|
130
|
-
gutterBottom:
|
|
128
|
+
gutterBottom: t.bool,
|
|
131
129
|
/**
|
|
132
130
|
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
133
131
|
*
|
|
@@ -135,21 +133,21 @@ process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
|
135
133
|
* (the element needs to have a width in order to overflow).
|
|
136
134
|
* @default false
|
|
137
135
|
*/
|
|
138
|
-
noWrap:
|
|
136
|
+
noWrap: t.bool,
|
|
139
137
|
/**
|
|
140
138
|
* If `true`, the element will be a paragraph element.
|
|
141
139
|
* @default false
|
|
142
140
|
*/
|
|
143
|
-
paragraph:
|
|
141
|
+
paragraph: t.bool,
|
|
144
142
|
/**
|
|
145
143
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
146
144
|
*/
|
|
147
|
-
sx:
|
|
145
|
+
sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
|
|
148
146
|
/**
|
|
149
147
|
* Applies the theme typography styles.
|
|
150
148
|
* @default 'body1'
|
|
151
149
|
*/
|
|
152
|
-
variant:
|
|
150
|
+
variant: t.oneOfType([t.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), t.string]),
|
|
153
151
|
/**
|
|
154
152
|
* The component maps the variant prop to a range of different HTML element types.
|
|
155
153
|
* For instance, subtitle1 to `<h6>`.
|
|
@@ -169,9 +167,9 @@ process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
|
169
167
|
* inherit: 'p',
|
|
170
168
|
* }
|
|
171
169
|
*/
|
|
172
|
-
variantMapping:
|
|
170
|
+
variantMapping: t.object
|
|
173
171
|
});
|
|
174
|
-
const
|
|
172
|
+
const q = d;
|
|
175
173
|
export {
|
|
176
|
-
|
|
174
|
+
q as T
|
|
177
175
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
import { P as n } from "./
|
|
4
|
-
import { u as
|
|
5
|
-
import { r as
|
|
6
|
-
import {
|
|
7
|
-
import { e as W } from "./elementAcceptingRef-332a290a.js";
|
|
8
|
-
import { T as $ } from "./Transition-2ecbc61d.js";
|
|
1
|
+
import { _ as A, a as f } from "./extends-135d7828.js";
|
|
2
|
+
import * as m from "react";
|
|
3
|
+
import { j as D, P as n } from "./identifier-2647f844.js";
|
|
4
|
+
import { u as F } from "./useTheme-6ea322ec.js";
|
|
5
|
+
import { T as V, r as W, g as h } from "./utils-acd98a68.js";
|
|
6
|
+
import { e as $ } from "./elementAcceptingRef-bd96c731.js";
|
|
9
7
|
import { u as B } from "./useForkRef-0781dda0.js";
|
|
10
8
|
const G = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], H = {
|
|
11
9
|
entering: {
|
|
@@ -14,15 +12,15 @@ const G = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "o
|
|
|
14
12
|
entered: {
|
|
15
13
|
transform: "none"
|
|
16
14
|
}
|
|
17
|
-
}, y = /* @__PURE__ */
|
|
18
|
-
const o =
|
|
15
|
+
}, y = /* @__PURE__ */ m.forwardRef(function(E, T) {
|
|
16
|
+
const o = F(), R = {
|
|
19
17
|
enter: o.transitions.duration.enteringScreen,
|
|
20
18
|
exit: o.transitions.duration.leavingScreen
|
|
21
19
|
}, {
|
|
22
|
-
addEndListener:
|
|
20
|
+
addEndListener: u,
|
|
23
21
|
appear: b = !0,
|
|
24
22
|
children: a,
|
|
25
|
-
easing:
|
|
23
|
+
easing: p,
|
|
26
24
|
in: l,
|
|
27
25
|
onEnter: x,
|
|
28
26
|
onEntered: P,
|
|
@@ -33,18 +31,18 @@ const G = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "o
|
|
|
33
31
|
style: d,
|
|
34
32
|
timeout: c = R,
|
|
35
33
|
// eslint-disable-next-line react/prop-types
|
|
36
|
-
TransitionComponent: v =
|
|
37
|
-
} = E, w = A(E, G), s =
|
|
34
|
+
TransitionComponent: v = V
|
|
35
|
+
} = E, w = A(E, G), s = m.useRef(null), Z = B(s, a.ref, T), r = (e) => (t) => {
|
|
38
36
|
if (e) {
|
|
39
37
|
const i = s.current;
|
|
40
38
|
t === void 0 ? e(i) : e(i, t);
|
|
41
39
|
}
|
|
42
40
|
}, C = r(L), O = r((e, t) => {
|
|
43
|
-
|
|
41
|
+
W(e);
|
|
44
42
|
const i = h({
|
|
45
43
|
style: d,
|
|
46
44
|
timeout: c,
|
|
47
|
-
easing:
|
|
45
|
+
easing: p
|
|
48
46
|
}, {
|
|
49
47
|
mode: "enter"
|
|
50
48
|
});
|
|
@@ -53,15 +51,15 @@ const G = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "o
|
|
|
53
51
|
const t = h({
|
|
54
52
|
style: d,
|
|
55
53
|
timeout: c,
|
|
56
|
-
easing:
|
|
54
|
+
easing: p
|
|
57
55
|
}, {
|
|
58
56
|
mode: "exit"
|
|
59
57
|
});
|
|
60
58
|
e.style.webkitTransition = o.transitions.create("transform", t), e.style.transition = o.transitions.create("transform", t), g && g(e);
|
|
61
59
|
}), q = r(j), z = (e) => {
|
|
62
|
-
|
|
60
|
+
u && u(s.current, e);
|
|
63
61
|
};
|
|
64
|
-
return /* @__PURE__ */
|
|
62
|
+
return /* @__PURE__ */ D.jsx(v, f({
|
|
65
63
|
appear: b,
|
|
66
64
|
in: l,
|
|
67
65
|
nodeRef: s,
|
|
@@ -74,8 +72,8 @@ const G = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "o
|
|
|
74
72
|
addEndListener: z,
|
|
75
73
|
timeout: c
|
|
76
74
|
}, w, {
|
|
77
|
-
children: (e, t) => /* @__PURE__ */
|
|
78
|
-
style:
|
|
75
|
+
children: (e, t) => /* @__PURE__ */ m.cloneElement(a, f({
|
|
76
|
+
style: f({
|
|
79
77
|
transform: "scale(0)",
|
|
80
78
|
visibility: e === "exited" && !l ? "hidden" : void 0
|
|
81
79
|
}, H[e], d, a.props.style),
|
|
@@ -103,7 +101,7 @@ process.env.NODE_ENV !== "production" && (y.propTypes = {
|
|
|
103
101
|
/**
|
|
104
102
|
* A single child content element.
|
|
105
103
|
*/
|
|
106
|
-
children:
|
|
104
|
+
children: $.isRequired,
|
|
107
105
|
/**
|
|
108
106
|
* The transition timing function.
|
|
109
107
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -158,7 +156,7 @@ process.env.NODE_ENV !== "production" && (y.propTypes = {
|
|
|
158
156
|
exit: n.number
|
|
159
157
|
})])
|
|
160
158
|
});
|
|
161
|
-
const
|
|
159
|
+
const I = y;
|
|
162
160
|
export {
|
|
163
|
-
|
|
161
|
+
I as Z
|
|
164
162
|
};
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as b, a as S } from "./extends-135d7828.js";
|
|
2
2
|
import * as $ from "react";
|
|
3
|
-
import { j as x } from "./
|
|
4
|
-
import {
|
|
5
|
-
import { g as T, s as N, u as R, c as C, a as j } from "./useThemeProps-114e8d66.js";
|
|
6
|
-
import { g as O, c as y } from "./identifier-5cabf5ae.js";
|
|
3
|
+
import { g as T, c as y, j as x, P as o } from "./identifier-2647f844.js";
|
|
4
|
+
import { g as N, s as R, u as C, c as j, a as O } from "./useThemeProps-ea792506.js";
|
|
7
5
|
function B(e) {
|
|
8
|
-
return
|
|
6
|
+
return T("MuiSvgIcon", e);
|
|
9
7
|
}
|
|
10
|
-
|
|
8
|
+
N("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
11
9
|
const E = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], M = (e) => {
|
|
12
10
|
const {
|
|
13
11
|
color: t,
|
|
@@ -16,8 +14,8 @@ const E = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
|
16
14
|
} = e, r = {
|
|
17
15
|
root: ["root", t !== "inherit" && `color${y(t)}`, `fontSize${y(n)}`]
|
|
18
16
|
};
|
|
19
|
-
return
|
|
20
|
-
}, V =
|
|
17
|
+
return O(r, B, i);
|
|
18
|
+
}, V = R("svg", {
|
|
21
19
|
name: "MuiSvgIcon",
|
|
22
20
|
slot: "Root",
|
|
23
21
|
overridesResolver: (e, t) => {
|
|
@@ -30,7 +28,7 @@ const E = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
|
30
28
|
theme: e,
|
|
31
29
|
ownerState: t
|
|
32
30
|
}) => {
|
|
33
|
-
var n, i, r, f, a, c, p, v, s, l, d, g,
|
|
31
|
+
var n, i, r, f, a, c, p, v, s, l, d, g, u, m, h, z, w;
|
|
34
32
|
return {
|
|
35
33
|
userSelect: "none",
|
|
36
34
|
width: "1em",
|
|
@@ -48,14 +46,14 @@ const E = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
|
48
46
|
large: ((s = e.typography) == null || (l = s.pxToRem) == null ? void 0 : l.call(s, 35)) || "2.1875rem"
|
|
49
47
|
}[t.fontSize],
|
|
50
48
|
// TODO v5 deprecate, v6 remove for sx
|
|
51
|
-
color: (d = (g = (e.vars || e).palette) == null || (
|
|
52
|
-
action: (
|
|
49
|
+
color: (d = (g = (e.vars || e).palette) == null || (u = g[t.color]) == null ? void 0 : u.main) != null ? d : {
|
|
50
|
+
action: (m = (e.vars || e).palette) == null || (h = m.action) == null ? void 0 : h.active,
|
|
53
51
|
disabled: (z = (e.vars || e).palette) == null || (w = z.action) == null ? void 0 : w.disabled,
|
|
54
52
|
inherit: void 0
|
|
55
53
|
}[t.color]
|
|
56
54
|
};
|
|
57
55
|
}), _ = /* @__PURE__ */ $.forwardRef(function(t, n) {
|
|
58
|
-
const i =
|
|
56
|
+
const i = C({
|
|
59
57
|
props: t,
|
|
60
58
|
name: "MuiSvgIcon"
|
|
61
59
|
}), {
|
|
@@ -68,26 +66,26 @@ const E = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
|
68
66
|
inheritViewBox: s = !1,
|
|
69
67
|
titleAccess: l,
|
|
70
68
|
viewBox: d = "0 0 24 24"
|
|
71
|
-
} = i, g = b(i, E),
|
|
69
|
+
} = i, g = b(i, E), u = S({}, i, {
|
|
72
70
|
color: a,
|
|
73
71
|
component: c,
|
|
74
72
|
fontSize: p,
|
|
75
73
|
instanceFontSize: t.fontSize,
|
|
76
74
|
inheritViewBox: s,
|
|
77
75
|
viewBox: d
|
|
78
|
-
}),
|
|
79
|
-
s || (
|
|
80
|
-
const h = M(
|
|
76
|
+
}), m = {};
|
|
77
|
+
s || (m.viewBox = d);
|
|
78
|
+
const h = M(u);
|
|
81
79
|
return /* @__PURE__ */ x.jsxs(V, S({
|
|
82
80
|
as: c,
|
|
83
|
-
className:
|
|
81
|
+
className: j(h.root, f),
|
|
84
82
|
focusable: "false",
|
|
85
83
|
color: v,
|
|
86
84
|
"aria-hidden": l ? void 0 : !0,
|
|
87
85
|
role: l ? "img" : void 0,
|
|
88
86
|
ref: n
|
|
89
|
-
},
|
|
90
|
-
ownerState:
|
|
87
|
+
}, m, g, {
|
|
88
|
+
ownerState: u,
|
|
91
89
|
children: [r, l ? /* @__PURE__ */ x.jsx("title", {
|
|
92
90
|
children: l
|
|
93
91
|
}) : null]
|
|
@@ -167,7 +165,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
167
165
|
});
|
|
168
166
|
_.muiName = "SvgIcon";
|
|
169
167
|
const I = _;
|
|
170
|
-
function
|
|
168
|
+
function D(e, t) {
|
|
171
169
|
function n(i, r) {
|
|
172
170
|
return /* @__PURE__ */ x.jsx(I, S({
|
|
173
171
|
"data-testid": `${t}Icon`,
|
|
@@ -179,5 +177,5 @@ function L(e, t) {
|
|
|
179
177
|
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = I.muiName, /* @__PURE__ */ $.memo(/* @__PURE__ */ $.forwardRef(n));
|
|
180
178
|
}
|
|
181
179
|
export {
|
|
182
|
-
|
|
180
|
+
D as c
|
|
183
181
|
};
|
package/dist/{emotion-react.browser.esm-921c014a.js → emotion-react.browser.esm-3fa5f721.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext as L, useRef as ve, createElement as N, Fragment as Ee } from "react";
|
|
2
|
-
import { i as P, w as V,
|
|
2
|
+
import { i as P, w as V, k as q, m as O, n as G, o as be, q as _e, t as Se } from "./identifier-2647f844.js";
|
|
3
3
|
var g = { exports: {} }, a = {};
|
|
4
4
|
/** @license React v16.13.1
|
|
5
5
|
* react-is.production.min.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a,
|
|
2
|
-
import {
|
|
1
|
+
import { _ as a, a as i } from "./extends-135d7828.js";
|
|
2
|
+
import { H as c, J as f } from "./identifier-2647f844.js";
|
|
3
3
|
const x = ["sx"], m = (t) => {
|
|
4
4
|
var s, n;
|
|
5
5
|
const o = {
|