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,39 +1,39 @@
1
- import { j as d } from "./jsx-runtime-944c88e2.js";
2
- import { _ as i, a as w } from "./extends-393586f3.js";
3
- import * as m from "react";
4
- import { g as N, P as t } from "./identifier-878ccaef.js";
5
- import { g as S, s as b, u as C, c as D, a as I } from "./useThemeProps-0f6826f6.js";
6
- import { c as T } from "./createSvgIcon-5491f07a.js";
7
- const z = T(/* @__PURE__ */ d.jsx("path", {
1
+ import { j as D } from "./jsx-dev-runtime-48fdc504.js";
2
+ import { a as i, _ as P } from "./extends-135d7828.js";
3
+ import * as g from "react";
4
+ import { j as p, g as w, P as r } from "./identifier-2647f844.js";
5
+ import { g as S, s as b, u as T, c as C, a as I } from "./useThemeProps-ea792506.js";
6
+ import { c as z } from "./createSvgIcon-1aa1b2b2.js";
7
+ const M = z(/* @__PURE__ */ p.jsx("path", {
8
8
  d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
9
9
  }), "Person");
10
- function M(e) {
11
- return N("MuiAvatar", e);
10
+ function E(e) {
11
+ return w("MuiAvatar", e);
12
12
  }
13
13
  S("MuiAvatar", ["root", "colorDefault", "circular", "rounded", "square", "img", "fallback"]);
14
14
  const F = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"], O = (e) => {
15
15
  const {
16
- classes: r,
17
- variant: a,
16
+ classes: a,
17
+ variant: t,
18
18
  colorDefault: o
19
19
  } = e;
20
20
  return I({
21
- root: ["root", a, o && "colorDefault"],
21
+ root: ["root", t, o && "colorDefault"],
22
22
  img: ["img"],
23
23
  fallback: ["fallback"]
24
- }, M, r);
24
+ }, E, a);
25
25
  }, _ = b("div", {
26
26
  name: "MuiAvatar",
27
27
  slot: "Root",
28
- overridesResolver: (e, r) => {
28
+ overridesResolver: (e, a) => {
29
29
  const {
30
- ownerState: a
30
+ ownerState: t
31
31
  } = e;
32
- return [r.root, r[a.variant], a.colorDefault && r.colorDefault];
32
+ return [a.root, a[t.variant], t.colorDefault && a.colorDefault];
33
33
  }
34
34
  })(({
35
35
  theme: e,
36
- ownerState: r
36
+ ownerState: a
37
37
  }) => i({
38
38
  position: "relative",
39
39
  display: "flex",
@@ -48,20 +48,20 @@ const F = ["alt", "children", "className", "component", "imgProps", "sizes", "sr
48
48
  borderRadius: "50%",
49
49
  overflow: "hidden",
50
50
  userSelect: "none"
51
- }, r.variant === "rounded" && {
51
+ }, a.variant === "rounded" && {
52
52
  borderRadius: (e.vars || e).shape.borderRadius
53
- }, r.variant === "square" && {
53
+ }, a.variant === "square" && {
54
54
  borderRadius: 0
55
- }, r.colorDefault && i({
55
+ }, a.colorDefault && i({
56
56
  color: (e.vars || e).palette.background.default
57
57
  }, e.vars ? {
58
58
  backgroundColor: e.vars.palette.Avatar.defaultBg
59
59
  } : {
60
60
  backgroundColor: e.palette.mode === "light" ? e.palette.grey[400] : e.palette.grey[600]
61
- }))), E = b("img", {
61
+ }))), U = b("img", {
62
62
  name: "MuiAvatar",
63
63
  slot: "Img",
64
- overridesResolver: (e, r) => r.img
64
+ overridesResolver: (e, a) => a.img
65
65
  })({
66
66
  width: "100%",
67
67
  height: "100%",
@@ -72,23 +72,23 @@ const F = ["alt", "children", "className", "component", "imgProps", "sizes", "sr
72
72
  color: "transparent",
73
73
  // Hide the image broken icon, only works on Chrome.
74
74
  textIndent: 1e4
75
- }), U = b(z, {
75
+ }), q = b(M, {
76
76
  name: "MuiAvatar",
77
77
  slot: "Fallback",
78
- overridesResolver: (e, r) => r.fallback
78
+ overridesResolver: (e, a) => a.fallback
79
79
  })({
80
80
  width: "75%",
81
81
  height: "75%"
82
82
  });
83
- function q({
83
+ function K({
84
84
  crossOrigin: e,
85
- referrerPolicy: r,
86
- src: a,
85
+ referrerPolicy: a,
86
+ src: t,
87
87
  srcSet: o
88
88
  }) {
89
- const [n, l] = m.useState(!1);
90
- return m.useEffect(() => {
91
- if (!a && !o)
89
+ const [n, l] = g.useState(!1);
90
+ return g.useEffect(() => {
91
+ if (!t && !o)
92
92
  return;
93
93
  l(!1);
94
94
  let c = !0;
@@ -97,51 +97,51 @@ function q({
97
97
  c && l("loaded");
98
98
  }, s.onerror = () => {
99
99
  c && l("error");
100
- }, s.crossOrigin = e, s.referrerPolicy = r, s.src = a, o && (s.srcset = o), () => {
100
+ }, s.crossOrigin = e, s.referrerPolicy = a, s.src = t, o && (s.srcset = o), () => {
101
101
  c = !1;
102
102
  };
103
- }, [e, r, a, o]), n;
103
+ }, [e, a, t, o]), n;
104
104
  }
105
- const A = /* @__PURE__ */ m.forwardRef(function(r, a) {
106
- const o = C({
107
- props: r,
105
+ const A = /* @__PURE__ */ g.forwardRef(function(a, t) {
106
+ const o = T({
107
+ props: a,
108
108
  name: "MuiAvatar"
109
109
  }), {
110
110
  alt: n,
111
111
  children: l,
112
112
  className: c,
113
113
  component: s = "div",
114
- imgProps: y,
114
+ imgProps: h,
115
115
  sizes: j,
116
- src: p,
117
- srcSet: g,
118
- variant: R = "circular"
119
- } = o, k = w(o, F);
116
+ src: f,
117
+ srcSet: m,
118
+ variant: k = "circular"
119
+ } = o, R = P(o, F);
120
120
  let u = null;
121
- const P = q(i({}, y, {
122
- src: p,
123
- srcSet: g
124
- })), h = p || g, x = h && P !== "error", f = i({}, o, {
125
- colorDefault: !x,
121
+ const N = K(i({}, h, {
122
+ src: f,
123
+ srcSet: m
124
+ })), x = f || m, y = x && N !== "error", d = i({}, o, {
125
+ colorDefault: !y,
126
126
  component: s,
127
- variant: R
128
- }), v = O(f);
129
- return x ? u = /* @__PURE__ */ d.jsx(E, i({
127
+ variant: k
128
+ }), v = O(d);
129
+ return y ? u = /* @__PURE__ */ p.jsx(U, i({
130
130
  alt: n,
131
- src: p,
132
- srcSet: g,
131
+ src: f,
132
+ srcSet: m,
133
133
  sizes: j,
134
- ownerState: f,
134
+ ownerState: d,
135
135
  className: v.img
136
- }, y)) : l != null ? u = l : h && n ? u = n[0] : u = /* @__PURE__ */ d.jsx(U, {
137
- ownerState: f,
136
+ }, h)) : l != null ? u = l : x && n ? u = n[0] : u = /* @__PURE__ */ p.jsx(q, {
137
+ ownerState: d,
138
138
  className: v.fallback
139
- }), /* @__PURE__ */ d.jsx(_, i({
139
+ }), /* @__PURE__ */ p.jsx(_, i({
140
140
  as: s,
141
- ownerState: f,
142
- className: D(v.root, c),
143
- ref: a
144
- }, k, {
141
+ ownerState: d,
142
+ className: C(v.root, c),
143
+ ref: t
144
+ }, R, {
145
145
  children: u
146
146
  }));
147
147
  });
@@ -154,54 +154,58 @@ process.env.NODE_ENV !== "production" && (A.propTypes = {
154
154
  * Used in combination with `src` or `srcSet` to
155
155
  * provide an alt attribute for the rendered `img` element.
156
156
  */
157
- alt: t.string,
157
+ alt: r.string,
158
158
  /**
159
159
  * Used to render icon or text elements inside the Avatar if `src` is not set.
160
160
  * This can be an element, or just a string.
161
161
  */
162
- children: t.node,
162
+ children: r.node,
163
163
  /**
164
164
  * Override or extend the styles applied to the component.
165
165
  */
166
- classes: t.object,
166
+ classes: r.object,
167
167
  /**
168
168
  * @ignore
169
169
  */
170
- className: t.string,
170
+ className: r.string,
171
171
  /**
172
172
  * The component used for the root node.
173
173
  * Either a string to use a HTML element or a component.
174
174
  */
175
- component: t.elementType,
175
+ component: r.elementType,
176
176
  /**
177
177
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
178
178
  * It can be used to listen for the loading error event.
179
179
  */
180
- imgProps: t.object,
180
+ imgProps: r.object,
181
181
  /**
182
182
  * The `sizes` attribute for the `img` element.
183
183
  */
184
- sizes: t.string,
184
+ sizes: r.string,
185
185
  /**
186
186
  * The `src` attribute for the `img` element.
187
187
  */
188
- src: t.string,
188
+ src: r.string,
189
189
  /**
190
190
  * The `srcSet` attribute for the `img` element.
191
191
  * Use this attribute for responsive image display.
192
192
  */
193
- srcSet: t.string,
193
+ srcSet: r.string,
194
194
  /**
195
195
  * The system prop that allows defining system overrides as well as additional CSS styles.
196
196
  */
197
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
197
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
198
198
  /**
199
199
  * The shape of the avatar.
200
200
  * @default 'circular'
201
201
  */
202
- variant: t.oneOfType([t.oneOf(["circular", "rounded", "square"]), t.string])
202
+ variant: r.oneOfType([r.oneOf(["circular", "rounded", "square"]), r.string])
203
203
  });
204
- const L = A, $ = ({ children: e, ...r }) => /* @__PURE__ */ d.jsx(L, { ...r, children: e });
204
+ const L = A, G = ({ children: e, ...a }) => /* @__PURE__ */ D.jsxDEV(L, { ...a, children: e }, void 0, !1, {
205
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Avatar/KdpaAvatar.tsx",
206
+ lineNumber: 6,
207
+ columnNumber: 10
208
+ }, globalThis);
205
209
  export {
206
- $ as K
210
+ G as K
207
211
  };
@@ -1,32 +1,32 @@
1
- import { j as t } from "./jsx-runtime-944c88e2.js";
1
+ import { j as R } from "./jsx-dev-runtime-48fdc504.js";
2
2
  import * as p from "react";
3
- import O from "react";
4
- import { _ as a, a as R } from "./extends-393586f3.js";
5
- import { g as $, c as C, a as B, P as o } from "./identifier-878ccaef.js";
6
- import { g as _, s as N, b as S, u as T, c as M, a as E } from "./useThemeProps-0f6826f6.js";
7
- import { S as H } from "./SwitchBase-0a37f2eb.js";
8
- import { c as u } from "./createSvgIcon-5491f07a.js";
9
- import { r as V } from "./refType-0b7ad6f5.js";
10
- const w = u(/* @__PURE__ */ t.jsx("path", {
3
+ import B from "react";
4
+ import { a, _ as O } from "./extends-135d7828.js";
5
+ import { j as t, g as $, c as C, a as N, P as o } from "./identifier-2647f844.js";
6
+ import { g as T, s as _, b as S, u as E, c as M, a as V } from "./useThemeProps-ea792506.js";
7
+ import { S as H } from "./SwitchBase-64e5662e.js";
8
+ import { c as u } from "./createSvgIcon-1aa1b2b2.js";
9
+ import { r as w } from "./refType-450337d6.js";
10
+ const D = u(/* @__PURE__ */ t.jsx("path", {
11
11
  d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
12
12
  }), "CheckBoxOutlineBlank"), U = u(/* @__PURE__ */ t.jsx("path", {
13
13
  d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
14
- }), "CheckBox"), L = u(/* @__PURE__ */ t.jsx("path", {
14
+ }), "CheckBox"), K = u(/* @__PURE__ */ t.jsx("path", {
15
15
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
16
16
  }), "IndeterminateCheckBox");
17
- function F(e) {
17
+ function L(e) {
18
18
  return $("MuiCheckbox", e);
19
19
  }
20
- const K = _("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary"]), m = K, q = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], D = (e) => {
20
+ const F = T("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary"]), m = F, q = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], W = (e) => {
21
21
  const {
22
22
  classes: c,
23
23
  indeterminate: n,
24
24
  color: r
25
25
  } = e, i = {
26
26
  root: ["root", n && "indeterminate", `color${C(r)}`]
27
- }, s = E(i, F, c);
27
+ }, s = V(i, L, c);
28
28
  return a({}, c, s);
29
- }, W = N(H, {
29
+ }, A = _(H, {
30
30
  shouldForwardProp: (e) => S(e) || e === "classes",
31
31
  name: "MuiCheckbox",
32
32
  slot: "Root",
@@ -43,7 +43,7 @@ const K = _("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
43
43
  color: (e.vars || e).palette.text.secondary
44
44
  }, !c.disableRipple && {
45
45
  "&:hover": {
46
- backgroundColor: e.vars ? `rgba(${c.color === "default" ? e.vars.palette.action.activeChannel : e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})` : B(c.color === "default" ? e.palette.action.active : e.palette[c.color].main, e.palette.action.hoverOpacity),
46
+ backgroundColor: e.vars ? `rgba(${c.color === "default" ? e.vars.palette.action.activeChannel : e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})` : N(c.color === "default" ? e.palette.action.active : e.palette[c.color].main, e.palette.action.hoverOpacity),
47
47
  // Reset on touch devices, it doesn't add specificity
48
48
  "@media (hover: none)": {
49
49
  backgroundColor: "transparent"
@@ -56,26 +56,26 @@ const K = _("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
56
56
  [`&.${m.disabled}`]: {
57
57
  color: (e.vars || e).palette.action.disabled
58
58
  }
59
- })), A = /* @__PURE__ */ t.jsx(U, {}), G = /* @__PURE__ */ t.jsx(w, {}), J = /* @__PURE__ */ t.jsx(L, {}), v = /* @__PURE__ */ p.forwardRef(function(c, n) {
59
+ })), G = /* @__PURE__ */ t.jsx(U, {}), J = /* @__PURE__ */ t.jsx(D, {}), Q = /* @__PURE__ */ t.jsx(K, {}), v = /* @__PURE__ */ p.forwardRef(function(c, n) {
60
60
  var r, i;
61
- const s = T({
61
+ const s = E({
62
62
  props: c,
63
63
  name: "MuiCheckbox"
64
64
  }), {
65
- checkedIcon: y = A,
65
+ checkedIcon: y = G,
66
66
  color: I = "primary",
67
- icon: g = G,
67
+ icon: g = J,
68
68
  indeterminate: l = !1,
69
- indeterminateIcon: f = J,
69
+ indeterminateIcon: f = Q,
70
70
  inputProps: j,
71
71
  size: d = "medium",
72
72
  className: z
73
- } = s, P = R(s, q), h = l ? f : g, x = l ? f : y, b = a({}, s, {
73
+ } = s, P = O(s, q), h = l ? f : g, x = l ? f : y, b = a({}, s, {
74
74
  color: I,
75
75
  indeterminate: l,
76
76
  size: d
77
- }), k = D(b);
78
- return /* @__PURE__ */ t.jsx(W, a({
77
+ }), k = W(b);
78
+ return /* @__PURE__ */ t.jsx(A, a({
79
79
  type: "checkbox",
80
80
  inputProps: a({
81
81
  "data-indeterminate": l
@@ -165,7 +165,7 @@ process.env.NODE_ENV !== "production" && (v.propTypes = {
165
165
  /**
166
166
  * Pass a ref to the `input` element.
167
167
  */
168
- inputRef: V,
168
+ inputRef: w,
169
169
  /**
170
170
  * Callback fired when the state is changed.
171
171
  *
@@ -194,9 +194,13 @@ process.env.NODE_ENV !== "production" && (v.propTypes = {
194
194
  */
195
195
  value: o.any
196
196
  });
197
- const Q = v, so = O.forwardRef(
198
- (e, c) => /* @__PURE__ */ t.jsx(Q, { ...e, className: e.className, inputRef: c })
197
+ const X = v, ao = B.forwardRef(
198
+ (e, c) => /* @__PURE__ */ R.jsxDEV(X, { ...e, className: e.className, inputRef: c }, void 0, !1, {
199
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/CheckBox/KdpaCheckBox.tsx",
200
+ lineNumber: 8,
201
+ columnNumber: 12
202
+ }, globalThis)
199
203
  );
200
204
  export {
201
- so as K
205
+ ao as K
202
206
  };
@@ -0,0 +1,51 @@
1
+ import { j as e } from "./jsx-dev-runtime-48fdc504.js";
2
+ import { K as t } from "./KdpaTooltip-653424c7.js";
3
+ import { G as l } from "./iconBase-800b43ff.js";
4
+ function m(a) {
5
+ return l({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm52.7 283.3L256 278.6l-52.7 52.7c-6.2 6.2-16.4 6.2-22.6 0-3.1-3.1-4.7-7.2-4.7-11.3 0-4.1 1.6-8.2 4.7-11.3l52.7-52.7-52.7-52.7c-3.1-3.1-4.7-7.2-4.7-11.3 0-4.1 1.6-8.2 4.7-11.3 6.2-6.2 16.4-6.2 22.6 0l52.7 52.7 52.7-52.7c6.2-6.2 16.4-6.2 22.6 0 6.2 6.2 6.2 16.4 0 22.6L278.6 256l52.7 52.7c6.2 6.2 6.2 16.4 0 22.6-6.2 6.3-16.4 6.3-22.6 0z" } }] })(a);
6
+ }
7
+ function u({
8
+ color: a,
9
+ title: p,
10
+ children: s,
11
+ className: o = "",
12
+ onClose: i,
13
+ onClick: c,
14
+ ...n
15
+ }) {
16
+ return /* @__PURE__ */ e.jsxDEV(t, { ...n, title: p, placement: "top", children: /* @__PURE__ */ e.jsxDEV(
17
+ "span",
18
+ {
19
+ style: { color: `${a}`, backgroundColor: `${a}1f` },
20
+ className: `kdpa-chip kdpa-chip--pill ${o}`,
21
+ onClick: c,
22
+ children: [
23
+ s,
24
+ i && /* @__PURE__ */ e.jsxDEV("span", { className: "kdpa-chip__close-button", onClick: i, children: /* @__PURE__ */ e.jsxDEV(m, { size: 18 }, void 0, !1, {
25
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Chip/KdpaChip.tsx",
26
+ lineNumber: 37,
27
+ columnNumber: 13
28
+ }, this) }, void 0, !1, {
29
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Chip/KdpaChip.tsx",
30
+ lineNumber: 36,
31
+ columnNumber: 11
32
+ }, this)
33
+ ]
34
+ },
35
+ void 0,
36
+ !0,
37
+ {
38
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Chip/KdpaChip.tsx",
39
+ lineNumber: 28,
40
+ columnNumber: 7
41
+ },
42
+ this
43
+ ) }, void 0, !1, {
44
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Chip/KdpaChip.tsx",
45
+ lineNumber: 27,
46
+ columnNumber: 5
47
+ }, this);
48
+ }
49
+ export {
50
+ u as K
51
+ };
@@ -0,0 +1,76 @@
1
+ import { j as e } from "./jsx-dev-runtime-48fdc504.js";
2
+ import { K as o } from "./KdpaTypography-763c3238.js";
3
+ import { B as a } from "./Box-032e9a1d.js";
4
+ import { C as i } from "./CircularProgress-01a8929e.js";
5
+ const m = ({
6
+ value: r,
7
+ showPercent: s = !1
8
+ }) => r === 0 ? null : /* @__PURE__ */ e.jsxDEV(e.Fragment, { children: /* @__PURE__ */ e.jsxDEV(
9
+ a,
10
+ {
11
+ className: "mx-1",
12
+ position: "relative",
13
+ display: "inline-flex",
14
+ right: 7,
15
+ top: 10,
16
+ children: [
17
+ /* @__PURE__ */ e.jsxDEV(i, { variant: "determinate", value: r, size: 35 }, void 0, !1, {
18
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Loading/KdpaProgress/KdpaCircularProgress.tsx",
19
+ lineNumber: 23,
20
+ columnNumber: 9
21
+ }, globalThis),
22
+ /* @__PURE__ */ e.jsxDEV(
23
+ a,
24
+ {
25
+ top: 0,
26
+ left: 0,
27
+ bottom: 0,
28
+ right: 0,
29
+ position: "absolute",
30
+ display: "flex",
31
+ alignItems: "center",
32
+ justifyContent: "center",
33
+ children: s && /* @__PURE__ */ e.jsxDEV(
34
+ o,
35
+ {
36
+ variant: "caption",
37
+ color: "textSecondary",
38
+ children: `${Math.round(r)}%`
39
+ },
40
+ void 0,
41
+ !1,
42
+ {
43
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Loading/KdpaProgress/KdpaCircularProgress.tsx",
44
+ lineNumber: 35,
45
+ columnNumber: 13
46
+ },
47
+ globalThis
48
+ )
49
+ },
50
+ void 0,
51
+ !1,
52
+ {
53
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Loading/KdpaProgress/KdpaCircularProgress.tsx",
54
+ lineNumber: 24,
55
+ columnNumber: 9
56
+ },
57
+ globalThis
58
+ )
59
+ ]
60
+ },
61
+ void 0,
62
+ !0,
63
+ {
64
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Loading/KdpaProgress/KdpaCircularProgress.tsx",
65
+ lineNumber: 16,
66
+ columnNumber: 7
67
+ },
68
+ globalThis
69
+ ) }, void 0, !1, {
70
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Loading/KdpaProgress/KdpaCircularProgress.tsx",
71
+ lineNumber: 15,
72
+ columnNumber: 5
73
+ }, globalThis);
74
+ export {
75
+ m as K
76
+ };
@@ -0,0 +1,12 @@
1
+ import { j as a } from "./jsx-dev-runtime-48fdc504.js";
2
+ import { C as o } from "./Collapse-547e6c7a.js";
3
+ function i(e) {
4
+ return /* @__PURE__ */ a.jsxDEV(o, { ...e, children: e.children }, void 0, !1, {
5
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Collapse/KdpaCollapse.tsx",
6
+ lineNumber: 6,
7
+ columnNumber: 10
8
+ }, this);
9
+ }
10
+ export {
11
+ i as K
12
+ };
@@ -0,0 +1,23 @@
1
+ import { j as e } from "./jsx-dev-runtime-48fdc504.js";
2
+ import n from "react";
3
+ import { F as p } from "./Fade-7ee2c0a4.js";
4
+ import { C as d } from "./Collapse-547e6c7a.js";
5
+ const c = n.forwardRef(function({ children: a, ...o }, i) {
6
+ return /* @__PURE__ */ e.jsxDEV(p, { ref: i, ...o, children: /* @__PURE__ */ e.jsxDEV("div", { children: a }, void 0, !1, {
7
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Transitions/KdpaFade/KdpaFade.tsx",
8
+ lineNumber: 12,
9
+ columnNumber: 7
10
+ }, this) }, void 0, !1, {
11
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Transitions/KdpaFade/KdpaFade.tsx",
12
+ lineNumber: 11,
13
+ columnNumber: 5
14
+ }, this);
15
+ }), f = ({ children: s, ...a }) => /* @__PURE__ */ e.jsxDEV(d, { ...a, children: s }, void 0, !1, {
16
+ fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Transitions/KdpaCollapse/KdpaCollapse.tsx",
17
+ lineNumber: 6,
18
+ columnNumber: 10
19
+ }, globalThis);
20
+ export {
21
+ c as K,
22
+ f as a
23
+ };