kdpa-components 1.1.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 +2 -2
- package/dist/Accordion/index.js +14 -14
- package/dist/Alert/index.js +17 -17
- package/dist/{ArrowDropDown-ea2f6035.js → ArrowDropDown-07b9ccae.js} +19 -20
- package/dist/Avatar/index.js +6 -6
- package/dist/Badge/index.js +19 -19
- package/dist/{Box-06b8bc37.js → Box-032e9a1d.js} +23 -24
- package/dist/{Button-28699d65.js → Button-9d9cc0bd.js} +11 -12
- package/dist/{ButtonBase-e4d95755.js → ButtonBase-fa4630c8.js} +9 -10
- package/dist/Buttons/index.js +24 -24
- package/dist/{CSSTransition-2d7d1f1e.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 +12 -12
- package/dist/Chip/index.js +16 -16
- package/dist/{Chip-95532a41.js → Chip-e5751770.js} +7 -8
- package/dist/{CircularProgress-6e67e3d8.js → CircularProgress-01a8929e.js} +15 -16
- package/dist/{Close-70f0ad0d.js → Close-db7afda5.js} +2 -2
- package/dist/Collapse/index.js +9 -9
- package/dist/{Collapse-c7000672.js → Collapse-547e6c7a.js} +35 -36
- package/dist/CopyToClipboard/index.js +23 -23
- package/dist/{Dialog-185ee62e.js → Dialog-652a3ad4.js} +15 -16
- package/dist/Divider/index.js +6 -6
- package/dist/DropZone/index.js +33 -33
- package/dist/{Fade-e6cc07e5.js → Fade-7ee2c0a4.js} +11 -12
- package/dist/FormControl/index.js +10 -10
- package/dist/{FormControl-3d1d38fe.js → FormControl-ca7447ab.js} +5 -6
- package/dist/FullScreenDialog/index.js +16 -16
- package/dist/Grid/index.js +8 -8
- package/dist/{Grid-b29d871f.js → Grid-9708b9ca.js} +59 -60
- package/dist/{Grow-bcd47732.js → Grow-55d0786d.js} +16 -17
- package/dist/{IconButton-eace4b91.js → IconButton-48d87778.js} +12 -13
- package/dist/Input/index.js +22 -22
- package/dist/{KdpaAccordions-39a4ed6e.js → KdpaAccordions-2ae65dd1.js} +125 -113
- package/dist/{KdpaAlertTitle-85b3b759.js → KdpaAlertTitle-f1549035.js} +103 -91
- package/dist/{KdpaAutoComplete-e2ccab34.js → KdpaAutoComplete-8a11974a.js} +225 -221
- package/dist/{KdpaAvatar-798f595f.js → KdpaAvatar-d297ef8a.js} +75 -71
- package/dist/{KdpaCheckBox-ca4f09b9.js → KdpaCheckBox-84d56486.js} +31 -27
- 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-2168fb05.js → KdpaCopyToClipboard-53aa97d3.js} +196 -160
- package/dist/{KdpaDateTimePicker-f6810c38.js → KdpaDateTimePicker-cb4a16d0.js} +10531 -13197
- package/dist/{KdpaDivider-8da2e22f.js → KdpaDivider-1c62c65a.js} +93 -81
- package/dist/{KdpaDropZone-3abdf72d.js → KdpaDropZone-b21d2304.js} +631 -531
- package/dist/KdpaFormControl-135b070d.js +10 -0
- package/dist/{KdpaFormControlLabel-e993132d.js → KdpaFormControlLabel-249b7622.js} +53 -49
- package/dist/KdpaFullScreenDialog-e56db731.js +24 -0
- package/dist/KdpaGrid-2a3f9346.js +12 -0
- package/dist/{KdpaGridBadge-544999b0.js → KdpaGridBadge-65b88a7a.js} +121 -101
- package/dist/KdpaIconButton-a0ee669c.js +35 -0
- package/dist/KdpaInputMultiline-231a2be1.js +68 -0
- package/dist/{KdpaLazyDrop-3f3eb039.js → KdpaLazyDrop-1985fc75.js} +253 -217
- package/dist/KdpaMenuItem-99cde871.js +56 -0
- package/dist/{KdpaModalImage-f3b07c33.js → KdpaModalImage-eb732bf0.js} +69 -61
- package/dist/{KdpaPaginationGrid-281683fd.js → KdpaPaginationGrid-97a5b164.js} +307 -247
- package/dist/{KdpaRadioGroup-123a09aa.js → KdpaRadioGroup-87122ec7.js} +101 -93
- package/dist/{KdpaRtlProvider-120dff80.js → KdpaRtlProvider-495e4bb0.js} +142 -134
- package/dist/KdpaSecondaryButton-a70aafe5.js +44 -0
- package/dist/KdpaSkeleton-f8f3aefc.js +580 -0
- package/dist/{KdpaSlider-40a1807a.js → KdpaSlider-b7226e20.js} +190 -182
- package/dist/{KdpaSwitch-603cd217.js → KdpaSwitch-b2ba7c23.js} +39 -31
- package/dist/KdpaTabs-ab618f36.js +50 -0
- package/dist/{KdpaTooltip-20c42ab8.js → KdpaTooltip-653424c7.js} +96 -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 +23 -23
- package/dist/{ListItem-8c33bc78.js → ListItem-ddec0b28.js} +8 -9
- package/dist/Loading/KdpaProgress/index.js +11 -11
- package/dist/Loading/index.js +8 -8
- package/dist/{MenuItem-db67ec92.js → MenuItem-057c85a3.js} +14 -15
- package/dist/Modal/index.js +2 -2
- package/dist/{Modal-8739c755.js → Modal-daf2a588.js} +10 -11
- package/dist/PaginationGrid/index.js +31 -31
- package/dist/{Paper-726cd077.js → Paper-00aea968.js} +15 -16
- package/dist/Pickers/index.d.ts +2 -1
- package/dist/Pickers/index.d.ts.map +1 -1
- package/dist/Pickers/index.js +38 -38
- package/dist/{Popper-708e355f.js → Popper-7adcd815.js} +8 -9
- package/dist/{Portal-90cf7ba4.js → Portal-de5e310c.js} +6 -7
- package/dist/Radio/index.js +12 -12
- package/dist/Selects/index.js +33 -33
- package/dist/{Slide-107d0b58.js → Slide-803fd098.js} +11 -12
- package/dist/Slider/index.js +7 -7
- package/dist/Switch/index.js +11 -11
- package/dist/{SwitchBase-0a37f2eb.js → SwitchBase-64e5662e.js} +7 -8
- package/dist/Tabs/index.js +14 -14
- package/dist/{Tabs-1caed6d0.js → Tabs-1140d353.js} +77 -78
- package/dist/{TextField-092190de.js → TextField-57c51dbe.js} +15 -16
- package/dist/ThemeProvider/index.js +5 -5
- package/dist/Tooltips/index.js +15 -15
- package/dist/{TransitionGroup-a1dcb75a.js → TransitionGroup-f9877c5b.js} +2 -2
- package/dist/Transitions/index.js +15 -15
- package/dist/Tree/index.js +2 -2
- package/dist/TreeSelect/index.js +3 -3
- package/dist/Typography/index.js +7 -7
- package/dist/{Typography-644bd1d9.js → Typography-db7e5ea2.js} +18 -19
- package/dist/{Zoom-39a63b9e.js → Zoom-36a189bb.js} +11 -12
- package/dist/{createSvgIcon-5491f07a.js → createSvgIcon-1aa1b2b2.js} +5 -6
- package/dist/{dividerClasses-6fed9b68.js → dividerClasses-a9b8b1ae.js} +2 -2
- package/dist/{elementAcceptingRef-f1cfc912.js → elementAcceptingRef-bd96c731.js} +1 -1
- package/dist/{elementTypeAcceptingRef-d599eee7.js → elementTypeAcceptingRef-dea9e62a.js} +1 -1
- package/dist/{emotion-react.browser.esm-7120a510.js → emotion-react.browser.esm-3fa5f721.js} +1 -1
- package/dist/{exactProp-7fadf441.js → exactProp-86f148d5.js} +1 -1
- package/dist/{extendSxProp-ee27a957.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-e017d9bf.js → index-5f8afc53.js} +5 -5
- package/dist/index.js +82 -82
- package/dist/jsx-dev-runtime-48fdc504.js +615 -0
- package/dist/{listItemTextClasses-29c5c497.js → listItemTextClasses-da281500.js} +2 -2
- package/dist/{refType-0b7ad6f5.js → refType-450337d6.js} +1 -1
- package/dist/{useSlotProps-615f7694.js → useSlotProps-3b927bcb.js} +2 -2
- package/dist/{useTheme-948a6d35.js → useTheme-6ea322ec.js} +2 -2
- package/dist/{useThemeProps-0f6826f6.js → useThemeProps-ea792506.js} +2 -2
- package/dist/{utils-765dc524.js → utils-acd98a68.js} +2 -2
- package/package.json +4 -1
- package/dist/KdpaChip-1bb449f1.js +0 -31
- package/dist/KdpaCircularProgress-18524b3d.js +0 -44
- package/dist/KdpaCollapse-0d001d1f.js +0 -11
- package/dist/KdpaCollapse-db70c13b.js +0 -8
- package/dist/KdpaFormControl-5136bd3a.js +0 -6
- package/dist/KdpaFullScreenDialog-6c8bc817.js +0 -16
- package/dist/KdpaGrid-c32b342e.js +0 -8
- package/dist/KdpaIconButton-d4c623d6.js +0 -23
- package/dist/KdpaInputMultiline-9f5ee3f0.js +0 -48
- package/dist/KdpaMenuItem-ec7a72c8.js +0 -36
- package/dist/KdpaSecondaryButton-ea9f2aeb.js +0 -28
- package/dist/KdpaSkeleton-872821e6.js +0 -540
- package/dist/KdpaTabs-8a087fe4.js +0 -38
- package/dist/KdpaTypography-0aab42ce.js +0 -6
- package/dist/KdpaZoom-dcf1dd78.js +0 -10
- package/dist/KpdaPrimaryButton-4e76c06b.js +0 -47
- package/dist/identifier-878ccaef.js +0 -3147
- package/dist/jsx-runtime-944c88e2.js +0 -631
- package/yarn-error.log +0 -7875
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as p, _ as W } from "./extends-135d7828.js";
|
|
2
2
|
import * as j from "react";
|
|
3
|
-
import { g as C, c as f, P as t } from "./identifier-
|
|
4
|
-
import { g as
|
|
5
|
-
import {
|
|
6
|
-
import { e as U } from "./extendSxProp-ee27a957.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";
|
|
7
6
|
function E(a) {
|
|
8
7
|
return C("MuiTypography", a);
|
|
9
8
|
}
|
|
10
|
-
|
|
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"]);
|
|
11
10
|
const $ = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], D = (a) => {
|
|
12
11
|
const {
|
|
13
12
|
align: o,
|
|
@@ -16,11 +15,11 @@ const $ = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
16
15
|
paragraph: i,
|
|
17
16
|
variant: e,
|
|
18
17
|
classes: h
|
|
19
|
-
} = a,
|
|
18
|
+
} = a, s = {
|
|
20
19
|
root: ["root", e, a.align !== "inherit" && `align${f(o)}`, r && "gutterBottom", n && "noWrap", i && "paragraph"]
|
|
21
20
|
};
|
|
22
|
-
return
|
|
23
|
-
}, L =
|
|
21
|
+
return _(s, E, h);
|
|
22
|
+
}, L = P("span", {
|
|
24
23
|
name: "MuiTypography",
|
|
25
24
|
slot: "Root",
|
|
26
25
|
overridesResolver: (a, o) => {
|
|
@@ -32,7 +31,7 @@ const $ = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
32
31
|
})(({
|
|
33
32
|
theme: a,
|
|
34
33
|
ownerState: o
|
|
35
|
-
}) =>
|
|
34
|
+
}) => p({
|
|
36
35
|
margin: 0
|
|
37
36
|
}, o.variant && a.typography[o.variant], o.align !== "inherit" && {
|
|
38
37
|
textAlign: o.align
|
|
@@ -63,24 +62,24 @@ const $ = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
63
62
|
textSecondary: "text.secondary",
|
|
64
63
|
error: "error.main"
|
|
65
64
|
}, w = (a) => V[a] || a, d = /* @__PURE__ */ j.forwardRef(function(o, r) {
|
|
66
|
-
const n =
|
|
65
|
+
const n = R({
|
|
67
66
|
props: o,
|
|
68
67
|
name: "MuiTypography"
|
|
69
|
-
}), i = w(n.color), e = U(
|
|
68
|
+
}), i = w(n.color), e = U(p({}, n, {
|
|
70
69
|
color: i
|
|
71
70
|
})), {
|
|
72
71
|
align: h = "inherit",
|
|
73
|
-
className:
|
|
72
|
+
className: s,
|
|
74
73
|
component: l,
|
|
75
74
|
gutterBottom: b = !1,
|
|
76
75
|
noWrap: v = !1,
|
|
77
76
|
paragraph: c = !1,
|
|
78
77
|
variant: g = "body1",
|
|
79
78
|
variantMapping: m = u
|
|
80
|
-
} = e, T = W(e, $), y =
|
|
79
|
+
} = e, T = W(e, $), y = p({}, e, {
|
|
81
80
|
align: h,
|
|
82
81
|
color: i,
|
|
83
|
-
className:
|
|
82
|
+
className: s,
|
|
84
83
|
component: l,
|
|
85
84
|
gutterBottom: b,
|
|
86
85
|
noWrap: v,
|
|
@@ -88,11 +87,11 @@ const $ = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
88
87
|
variant: g,
|
|
89
88
|
variantMapping: m
|
|
90
89
|
}), x = l || (c ? "p" : m[g] || u[g]) || "span", B = D(y);
|
|
91
|
-
return /* @__PURE__ */
|
|
90
|
+
return /* @__PURE__ */ M.jsx(L, p({
|
|
92
91
|
as: x,
|
|
93
92
|
ref: r,
|
|
94
93
|
ownerState: y,
|
|
95
|
-
className:
|
|
94
|
+
className: N(B.root, s)
|
|
96
95
|
}, T));
|
|
97
96
|
});
|
|
98
97
|
process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
@@ -170,7 +169,7 @@ process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
|
170
169
|
*/
|
|
171
170
|
variantMapping: t.object
|
|
172
171
|
});
|
|
173
|
-
const
|
|
172
|
+
const q = d;
|
|
174
173
|
export {
|
|
175
|
-
|
|
174
|
+
q as T
|
|
176
175
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as A, a as f } from "./extends-135d7828.js";
|
|
2
2
|
import * as m from "react";
|
|
3
|
-
import { P as n } from "./identifier-
|
|
4
|
-
import { u as
|
|
5
|
-
import { T as
|
|
6
|
-
import {
|
|
7
|
-
import { e as $ } from "./elementAcceptingRef-f1cfc912.js";
|
|
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";
|
|
8
7
|
import { u as B } from "./useForkRef-0781dda0.js";
|
|
9
8
|
const G = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], H = {
|
|
10
9
|
entering: {
|
|
@@ -14,7 +13,7 @@ const G = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "o
|
|
|
14
13
|
transform: "none"
|
|
15
14
|
}
|
|
16
15
|
}, y = /* @__PURE__ */ m.forwardRef(function(E, T) {
|
|
17
|
-
const o =
|
|
16
|
+
const o = F(), R = {
|
|
18
17
|
enter: o.transitions.duration.enteringScreen,
|
|
19
18
|
exit: o.transitions.duration.leavingScreen
|
|
20
19
|
}, {
|
|
@@ -32,14 +31,14 @@ const G = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "o
|
|
|
32
31
|
style: d,
|
|
33
32
|
timeout: c = R,
|
|
34
33
|
// eslint-disable-next-line react/prop-types
|
|
35
|
-
TransitionComponent: v =
|
|
34
|
+
TransitionComponent: v = V
|
|
36
35
|
} = E, w = A(E, G), s = m.useRef(null), Z = B(s, a.ref, T), r = (e) => (t) => {
|
|
37
36
|
if (e) {
|
|
38
37
|
const i = s.current;
|
|
39
38
|
t === void 0 ? e(i) : e(i, t);
|
|
40
39
|
}
|
|
41
40
|
}, C = r(L), O = r((e, t) => {
|
|
42
|
-
|
|
41
|
+
W(e);
|
|
43
42
|
const i = h({
|
|
44
43
|
style: d,
|
|
45
44
|
timeout: c,
|
|
@@ -60,7 +59,7 @@ const G = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "o
|
|
|
60
59
|
}), q = r(j), z = (e) => {
|
|
61
60
|
u && u(s.current, e);
|
|
62
61
|
};
|
|
63
|
-
return /* @__PURE__ */
|
|
62
|
+
return /* @__PURE__ */ D.jsx(v, f({
|
|
64
63
|
appear: b,
|
|
65
64
|
in: l,
|
|
66
65
|
nodeRef: s,
|
|
@@ -157,7 +156,7 @@ process.env.NODE_ENV !== "production" && (y.propTypes = {
|
|
|
157
156
|
exit: n.number
|
|
158
157
|
})])
|
|
159
158
|
});
|
|
160
|
-
const
|
|
159
|
+
const I = y;
|
|
161
160
|
export {
|
|
162
|
-
|
|
161
|
+
I as Z
|
|
163
162
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
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 { g as
|
|
5
|
-
import { g as N, s as R, u as C, c as j, a as O } from "./useThemeProps-0f6826f6.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";
|
|
6
5
|
function B(e) {
|
|
7
6
|
return T("MuiSvgIcon", e);
|
|
8
7
|
}
|
|
@@ -166,7 +165,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
166
165
|
});
|
|
167
166
|
_.muiName = "SvgIcon";
|
|
168
167
|
const I = _;
|
|
169
|
-
function
|
|
168
|
+
function D(e, t) {
|
|
170
169
|
function n(i, r) {
|
|
171
170
|
return /* @__PURE__ */ x.jsx(I, S({
|
|
172
171
|
"data-testid": `${t}Icon`,
|
|
@@ -178,5 +177,5 @@ function k(e, t) {
|
|
|
178
177
|
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = I.muiName, /* @__PURE__ */ $.memo(/* @__PURE__ */ $.forwardRef(n));
|
|
179
178
|
}
|
|
180
179
|
export {
|
|
181
|
-
|
|
180
|
+
D as c
|
|
182
181
|
};
|
package/dist/{emotion-react.browser.esm-7120a510.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 = {
|