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.
Files changed (141) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/Accordion/index.js +14 -14
  3. package/dist/Alert/index.js +17 -17
  4. package/dist/{ArrowDropDown-ea2f6035.js → ArrowDropDown-07b9ccae.js} +19 -20
  5. package/dist/Avatar/index.js +6 -6
  6. package/dist/Badge/index.js +19 -19
  7. package/dist/{Box-06b8bc37.js → Box-032e9a1d.js} +23 -24
  8. package/dist/{Button-28699d65.js → Button-9d9cc0bd.js} +11 -12
  9. package/dist/{ButtonBase-e4d95755.js → ButtonBase-fa4630c8.js} +9 -10
  10. package/dist/Buttons/index.js +24 -24
  11. package/dist/{CSSTransition-2d7d1f1e.js → CSSTransition-7e2d0e80.js} +3 -3
  12. package/dist/Cards/index.d.ts +2 -0
  13. package/dist/Cards/index.d.ts.map +1 -1
  14. package/dist/Cards/index.js +150 -1
  15. package/dist/CheckBox/index.js +12 -12
  16. package/dist/Chip/index.js +16 -16
  17. package/dist/{Chip-95532a41.js → Chip-e5751770.js} +7 -8
  18. package/dist/{CircularProgress-6e67e3d8.js → CircularProgress-01a8929e.js} +15 -16
  19. package/dist/{Close-70f0ad0d.js → Close-db7afda5.js} +2 -2
  20. package/dist/Collapse/index.js +9 -9
  21. package/dist/{Collapse-c7000672.js → Collapse-547e6c7a.js} +35 -36
  22. package/dist/CopyToClipboard/index.js +23 -23
  23. package/dist/{Dialog-185ee62e.js → Dialog-652a3ad4.js} +15 -16
  24. package/dist/Divider/index.js +6 -6
  25. package/dist/DropZone/index.js +33 -33
  26. package/dist/{Fade-e6cc07e5.js → Fade-7ee2c0a4.js} +11 -12
  27. package/dist/FormControl/index.js +10 -10
  28. package/dist/{FormControl-3d1d38fe.js → FormControl-ca7447ab.js} +5 -6
  29. package/dist/FullScreenDialog/index.js +16 -16
  30. package/dist/Grid/index.js +8 -8
  31. package/dist/{Grid-b29d871f.js → Grid-9708b9ca.js} +59 -60
  32. package/dist/{Grow-bcd47732.js → Grow-55d0786d.js} +16 -17
  33. package/dist/{IconButton-eace4b91.js → IconButton-48d87778.js} +12 -13
  34. package/dist/Input/index.js +22 -22
  35. package/dist/{KdpaAccordions-39a4ed6e.js → KdpaAccordions-2ae65dd1.js} +125 -113
  36. package/dist/{KdpaAlertTitle-85b3b759.js → KdpaAlertTitle-f1549035.js} +103 -91
  37. package/dist/{KdpaAutoComplete-e2ccab34.js → KdpaAutoComplete-8a11974a.js} +225 -221
  38. package/dist/{KdpaAvatar-798f595f.js → KdpaAvatar-d297ef8a.js} +75 -71
  39. package/dist/{KdpaCheckBox-ca4f09b9.js → KdpaCheckBox-84d56486.js} +31 -27
  40. package/dist/KdpaChip-10899788.js +51 -0
  41. package/dist/KdpaCircularProgress-6c4605cd.js +76 -0
  42. package/dist/KdpaCollapse-2d23c312.js +12 -0
  43. package/dist/KdpaCollapse-73c03e02.js +23 -0
  44. package/dist/{KdpaCopyToClipboard-2168fb05.js → KdpaCopyToClipboard-53aa97d3.js} +196 -160
  45. package/dist/{KdpaDateTimePicker-f6810c38.js → KdpaDateTimePicker-cb4a16d0.js} +10531 -13197
  46. package/dist/{KdpaDivider-8da2e22f.js → KdpaDivider-1c62c65a.js} +93 -81
  47. package/dist/{KdpaDropZone-3abdf72d.js → KdpaDropZone-b21d2304.js} +631 -531
  48. package/dist/KdpaFormControl-135b070d.js +10 -0
  49. package/dist/{KdpaFormControlLabel-e993132d.js → KdpaFormControlLabel-249b7622.js} +53 -49
  50. package/dist/KdpaFullScreenDialog-e56db731.js +24 -0
  51. package/dist/KdpaGrid-2a3f9346.js +12 -0
  52. package/dist/{KdpaGridBadge-544999b0.js → KdpaGridBadge-65b88a7a.js} +121 -101
  53. package/dist/KdpaIconButton-a0ee669c.js +35 -0
  54. package/dist/KdpaInputMultiline-231a2be1.js +68 -0
  55. package/dist/{KdpaLazyDrop-3f3eb039.js → KdpaLazyDrop-1985fc75.js} +253 -217
  56. package/dist/KdpaMenuItem-99cde871.js +56 -0
  57. package/dist/{KdpaModalImage-f3b07c33.js → KdpaModalImage-eb732bf0.js} +69 -61
  58. package/dist/{KdpaPaginationGrid-281683fd.js → KdpaPaginationGrid-97a5b164.js} +307 -247
  59. package/dist/{KdpaRadioGroup-123a09aa.js → KdpaRadioGroup-87122ec7.js} +101 -93
  60. package/dist/{KdpaRtlProvider-120dff80.js → KdpaRtlProvider-495e4bb0.js} +142 -134
  61. package/dist/KdpaSecondaryButton-a70aafe5.js +44 -0
  62. package/dist/KdpaSkeleton-f8f3aefc.js +580 -0
  63. package/dist/{KdpaSlider-40a1807a.js → KdpaSlider-b7226e20.js} +190 -182
  64. package/dist/{KdpaSwitch-603cd217.js → KdpaSwitch-b2ba7c23.js} +39 -31
  65. package/dist/KdpaTabs-ab618f36.js +50 -0
  66. package/dist/{KdpaTooltip-20c42ab8.js → KdpaTooltip-653424c7.js} +96 -88
  67. package/dist/{KdpaTree-8428a368.js → KdpaTree-2e1df83d.js} +348 -304
  68. package/dist/{KdpaTreeSelect-7fe5581c.js → KdpaTreeSelect-0152302e.js} +625 -609
  69. package/dist/KdpaTypography-763c3238.js +10 -0
  70. package/dist/KdpaZoom-1b0f3404.js +22 -0
  71. package/dist/KpdaPrimaryButton-5416aa2c.js +79 -0
  72. package/dist/LazyDrop/index.js +23 -23
  73. package/dist/{ListItem-8c33bc78.js → ListItem-ddec0b28.js} +8 -9
  74. package/dist/Loading/KdpaProgress/index.js +11 -11
  75. package/dist/Loading/index.js +8 -8
  76. package/dist/{MenuItem-db67ec92.js → MenuItem-057c85a3.js} +14 -15
  77. package/dist/Modal/index.js +2 -2
  78. package/dist/{Modal-8739c755.js → Modal-daf2a588.js} +10 -11
  79. package/dist/PaginationGrid/index.js +31 -31
  80. package/dist/{Paper-726cd077.js → Paper-00aea968.js} +15 -16
  81. package/dist/Pickers/index.d.ts +2 -1
  82. package/dist/Pickers/index.d.ts.map +1 -1
  83. package/dist/Pickers/index.js +38 -38
  84. package/dist/{Popper-708e355f.js → Popper-7adcd815.js} +8 -9
  85. package/dist/{Portal-90cf7ba4.js → Portal-de5e310c.js} +6 -7
  86. package/dist/Radio/index.js +12 -12
  87. package/dist/Selects/index.js +33 -33
  88. package/dist/{Slide-107d0b58.js → Slide-803fd098.js} +11 -12
  89. package/dist/Slider/index.js +7 -7
  90. package/dist/Switch/index.js +11 -11
  91. package/dist/{SwitchBase-0a37f2eb.js → SwitchBase-64e5662e.js} +7 -8
  92. package/dist/Tabs/index.js +14 -14
  93. package/dist/{Tabs-1caed6d0.js → Tabs-1140d353.js} +77 -78
  94. package/dist/{TextField-092190de.js → TextField-57c51dbe.js} +15 -16
  95. package/dist/ThemeProvider/index.js +5 -5
  96. package/dist/Tooltips/index.js +15 -15
  97. package/dist/{TransitionGroup-a1dcb75a.js → TransitionGroup-f9877c5b.js} +2 -2
  98. package/dist/Transitions/index.js +15 -15
  99. package/dist/Tree/index.js +2 -2
  100. package/dist/TreeSelect/index.js +3 -3
  101. package/dist/Typography/index.js +7 -7
  102. package/dist/{Typography-644bd1d9.js → Typography-db7e5ea2.js} +18 -19
  103. package/dist/{Zoom-39a63b9e.js → Zoom-36a189bb.js} +11 -12
  104. package/dist/{createSvgIcon-5491f07a.js → createSvgIcon-1aa1b2b2.js} +5 -6
  105. package/dist/{dividerClasses-6fed9b68.js → dividerClasses-a9b8b1ae.js} +2 -2
  106. package/dist/{elementAcceptingRef-f1cfc912.js → elementAcceptingRef-bd96c731.js} +1 -1
  107. package/dist/{elementTypeAcceptingRef-d599eee7.js → elementTypeAcceptingRef-dea9e62a.js} +1 -1
  108. package/dist/{emotion-react.browser.esm-7120a510.js → emotion-react.browser.esm-3fa5f721.js} +1 -1
  109. package/dist/{exactProp-7fadf441.js → exactProp-86f148d5.js} +1 -1
  110. package/dist/{extendSxProp-ee27a957.js → extendSxProp-d294b946.js} +2 -2
  111. package/dist/{extends-393586f3.js → extends-135d7828.js} +2 -2
  112. package/dist/identifier-2647f844.js +3775 -0
  113. package/dist/{index-e017d9bf.js → index-5f8afc53.js} +5 -5
  114. package/dist/index.js +82 -82
  115. package/dist/jsx-dev-runtime-48fdc504.js +615 -0
  116. package/dist/{listItemTextClasses-29c5c497.js → listItemTextClasses-da281500.js} +2 -2
  117. package/dist/{refType-0b7ad6f5.js → refType-450337d6.js} +1 -1
  118. package/dist/{useSlotProps-615f7694.js → useSlotProps-3b927bcb.js} +2 -2
  119. package/dist/{useTheme-948a6d35.js → useTheme-6ea322ec.js} +2 -2
  120. package/dist/{useThemeProps-0f6826f6.js → useThemeProps-ea792506.js} +2 -2
  121. package/dist/{utils-765dc524.js → utils-acd98a68.js} +2 -2
  122. package/package.json +4 -1
  123. package/dist/KdpaChip-1bb449f1.js +0 -31
  124. package/dist/KdpaCircularProgress-18524b3d.js +0 -44
  125. package/dist/KdpaCollapse-0d001d1f.js +0 -11
  126. package/dist/KdpaCollapse-db70c13b.js +0 -8
  127. package/dist/KdpaFormControl-5136bd3a.js +0 -6
  128. package/dist/KdpaFullScreenDialog-6c8bc817.js +0 -16
  129. package/dist/KdpaGrid-c32b342e.js +0 -8
  130. package/dist/KdpaIconButton-d4c623d6.js +0 -23
  131. package/dist/KdpaInputMultiline-9f5ee3f0.js +0 -48
  132. package/dist/KdpaMenuItem-ec7a72c8.js +0 -36
  133. package/dist/KdpaSecondaryButton-ea9f2aeb.js +0 -28
  134. package/dist/KdpaSkeleton-872821e6.js +0 -540
  135. package/dist/KdpaTabs-8a087fe4.js +0 -38
  136. package/dist/KdpaTypography-0aab42ce.js +0 -6
  137. package/dist/KdpaZoom-dcf1dd78.js +0 -10
  138. package/dist/KpdaPrimaryButton-4e76c06b.js +0 -47
  139. package/dist/identifier-878ccaef.js +0 -3147
  140. package/dist/jsx-runtime-944c88e2.js +0 -631
  141. package/yarn-error.log +0 -7875
@@ -1,13 +1,12 @@
1
- import { _ as s, a as W } from "./extends-393586f3.js";
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-878ccaef.js";
4
- import { g as M, s as O, u as P, c as R, a as N } from "./useThemeProps-0f6826f6.js";
5
- import { j as _ } from "./jsx-runtime-944c88e2.js";
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
- M("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
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, p = {
18
+ } = a, s = {
20
19
  root: ["root", e, a.align !== "inherit" && `align${f(o)}`, r && "gutterBottom", n && "noWrap", i && "paragraph"]
21
20
  };
22
- return N(p, E, h);
23
- }, L = O("span", {
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
- }) => s({
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 = P({
65
+ const n = R({
67
66
  props: o,
68
67
  name: "MuiTypography"
69
- }), i = w(n.color), e = U(s({}, n, {
68
+ }), i = w(n.color), e = U(p({}, n, {
70
69
  color: i
71
70
  })), {
72
71
  align: h = "inherit",
73
- className: p,
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 = s({}, e, {
79
+ } = e, T = W(e, $), y = p({}, e, {
81
80
  align: h,
82
81
  color: i,
83
- className: p,
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__ */ _.jsx(L, s({
90
+ return /* @__PURE__ */ M.jsx(L, p({
92
91
  as: x,
93
92
  ref: r,
94
93
  ownerState: y,
95
- className: R(B.root, p)
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 F = d;
172
+ const q = d;
174
173
  export {
175
- F as T
174
+ q as T
176
175
  };
@@ -1,10 +1,9 @@
1
- import { a as A, _ as f } from "./extends-393586f3.js";
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-878ccaef.js";
4
- import { u as D } from "./useTheme-948a6d35.js";
5
- import { T as F, r as V, g as h } from "./utils-765dc524.js";
6
- import { j as W } from "./jsx-runtime-944c88e2.js";
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 = D(), R = {
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 = F
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
- V(e);
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__ */ W.jsx(v, f({
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 nn = y;
159
+ const I = y;
161
160
  export {
162
- nn as Z
161
+ I as Z
163
162
  };
@@ -1,8 +1,7 @@
1
- import { a as b, _ as S } from "./extends-393586f3.js";
1
+ import { _ as b, a as S } from "./extends-135d7828.js";
2
2
  import * as $ from "react";
3
- import { j as x } from "./jsx-runtime-944c88e2.js";
4
- import { g as T, c as y, P as o } from "./identifier-878ccaef.js";
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 k(e, t) {
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
- k as c
180
+ D as c
182
181
  };
@@ -1,5 +1,5 @@
1
- import { g as t } from "./useThemeProps-0f6826f6.js";
2
- import { g as e } from "./identifier-878ccaef.js";
1
+ import { g as t } from "./useThemeProps-ea792506.js";
2
+ import { g as e } from "./identifier-2647f844.js";
3
3
  function a(i) {
4
4
  return e("MuiDivider", i);
5
5
  }
@@ -1,4 +1,4 @@
1
- import { P as r } from "./identifier-878ccaef.js";
1
+ import { P as r } from "./identifier-2647f844.js";
2
2
  import { c } from "./chainPropTypes-004bf492.js";
3
3
  function m(n) {
4
4
  const {
@@ -1,4 +1,4 @@
1
- import { P as c } from "./identifier-878ccaef.js";
1
+ import { P as c } from "./identifier-2647f844.js";
2
2
  import { c as l } from "./chainPropTypes-004bf492.js";
3
3
  function f(n) {
4
4
  const {
@@ -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, j as q, k as O, m as G, n as be, o as _e, q as Se } from "./identifier-878ccaef.js";
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,4 +1,4 @@
1
- import { _ as n } from "./extends-393586f3.js";
1
+ import { a as n } from "./extends-135d7828.js";
2
2
  const s = "exact-prop: ​";
3
3
  function u(e) {
4
4
  return process.env.NODE_ENV === "production" ? e : n({}, e, {
@@ -1,5 +1,5 @@
1
- import { a, _ as i } from "./extends-393586f3.js";
2
- import { G as c, H as f } from "./identifier-878ccaef.js";
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 = {
@@ -17,6 +17,6 @@ function o() {
17
17
  }, o.apply(this, arguments);
18
18
  }
19
19
  export {
20
- o as _,
21
- s as a
20
+ s as _,
21
+ o as a
22
22
  };