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,53 +1,52 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import {
|
|
5
|
-
import { P as e } from "./
|
|
6
|
-
import { g as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return _("MuiAlert", o);
|
|
1
|
+
import { j as S } from "./jsx-dev-runtime-48fdc504.js";
|
|
2
|
+
import * as B from "react";
|
|
3
|
+
import { forwardRef as Y } from "react";
|
|
4
|
+
import { a, _ as P } from "./extends-135d7828.js";
|
|
5
|
+
import { g as k, j as r, c as w, d as M, l as N, P as e } from "./identifier-2647f844.js";
|
|
6
|
+
import { g as z, s as u, u as E, c as L, a as _ } from "./useThemeProps-ea792506.js";
|
|
7
|
+
import { c as g } from "./createSvgIcon-1aa1b2b2.js";
|
|
8
|
+
import { C as oo } from "./Close-db7afda5.js";
|
|
9
|
+
import { M as eo } from "./Paper-00aea968.js";
|
|
10
|
+
import { I as to } from "./IconButton-48d87778.js";
|
|
11
|
+
import { T as so } from "./Typography-db7e5ea2.js";
|
|
12
|
+
function no(o) {
|
|
13
|
+
return k("MuiAlert", o);
|
|
15
14
|
}
|
|
16
|
-
const ro =
|
|
15
|
+
const ro = z("MuiAlert", ["root", "action", "icon", "message", "filled", "filledSuccess", "filledInfo", "filledWarning", "filledError", "outlined", "outlinedSuccess", "outlinedInfo", "outlinedWarning", "outlinedError", "standard", "standardSuccess", "standardInfo", "standardWarning", "standardError"]), $ = ro, lo = g(/* @__PURE__ */ r.jsx("path", {
|
|
17
16
|
d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"
|
|
18
|
-
}), "SuccessOutlined"),
|
|
17
|
+
}), "SuccessOutlined"), ao = g(/* @__PURE__ */ r.jsx("path", {
|
|
19
18
|
d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
20
|
-
}), "ReportProblemOutlined"),
|
|
19
|
+
}), "ReportProblemOutlined"), co = g(/* @__PURE__ */ r.jsx("path", {
|
|
21
20
|
d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
22
|
-
}), "ErrorOutline"),
|
|
21
|
+
}), "ErrorOutline"), io = g(/* @__PURE__ */ r.jsx("path", {
|
|
23
22
|
d: "M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"
|
|
24
|
-
}), "InfoOutlined"),
|
|
23
|
+
}), "InfoOutlined"), po = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"], uo = (o) => {
|
|
25
24
|
const {
|
|
26
25
|
variant: t,
|
|
27
26
|
color: n,
|
|
28
27
|
severity: l,
|
|
29
28
|
classes: s
|
|
30
29
|
} = o, c = {
|
|
31
|
-
root: ["root", `${t}${
|
|
30
|
+
root: ["root", `${t}${w(n || l)}`, `${t}`],
|
|
32
31
|
icon: ["icon"],
|
|
33
32
|
message: ["message"],
|
|
34
33
|
action: ["action"]
|
|
35
34
|
};
|
|
36
|
-
return
|
|
37
|
-
},
|
|
35
|
+
return _(c, no, s);
|
|
36
|
+
}, fo = u(eo, {
|
|
38
37
|
name: "MuiAlert",
|
|
39
38
|
slot: "Root",
|
|
40
39
|
overridesResolver: (o, t) => {
|
|
41
40
|
const {
|
|
42
41
|
ownerState: n
|
|
43
42
|
} = o;
|
|
44
|
-
return [t.root, t[n.variant], t[`${n.variant}${
|
|
43
|
+
return [t.root, t[n.variant], t[`${n.variant}${w(n.color || n.severity)}`]];
|
|
45
44
|
}
|
|
46
45
|
})(({
|
|
47
46
|
theme: o,
|
|
48
47
|
ownerState: t
|
|
49
48
|
}) => {
|
|
50
|
-
const n = o.palette.mode === "light" ?
|
|
49
|
+
const n = o.palette.mode === "light" ? M : N, l = o.palette.mode === "light" ? N : M, s = t.color || t.severity;
|
|
51
50
|
return a({}, o.typography.body2, {
|
|
52
51
|
backgroundColor: "transparent",
|
|
53
52
|
display: "flex",
|
|
@@ -55,7 +54,7 @@ const ro = P("MuiAlert", ["root", "action", "icon", "message", "filled", "filled
|
|
|
55
54
|
}, s && t.variant === "standard" && {
|
|
56
55
|
color: o.vars ? o.vars.palette.Alert[`${s}Color`] : n(o.palette[s].light, 0.6),
|
|
57
56
|
backgroundColor: o.vars ? o.vars.palette.Alert[`${s}StandardBg`] : l(o.palette[s].light, 0.9),
|
|
58
|
-
[`& .${
|
|
57
|
+
[`& .${$.icon}`]: o.vars ? {
|
|
59
58
|
color: o.vars.palette.Alert[`${s}IconColor`]
|
|
60
59
|
} : {
|
|
61
60
|
color: o.palette[s].main
|
|
@@ -63,7 +62,7 @@ const ro = P("MuiAlert", ["root", "action", "icon", "message", "filled", "filled
|
|
|
63
62
|
}, s && t.variant === "outlined" && {
|
|
64
63
|
color: o.vars ? o.vars.palette.Alert[`${s}Color`] : n(o.palette[s].light, 0.6),
|
|
65
64
|
border: `1px solid ${(o.vars || o).palette[s].light}`,
|
|
66
|
-
[`& .${
|
|
65
|
+
[`& .${$.icon}`]: o.vars ? {
|
|
67
66
|
color: o.vars.palette.Alert[`${s}IconColor`]
|
|
68
67
|
} : {
|
|
69
68
|
color: o.palette[s].main
|
|
@@ -77,7 +76,7 @@ const ro = P("MuiAlert", ["root", "action", "icon", "message", "filled", "filled
|
|
|
77
76
|
backgroundColor: o.palette.mode === "dark" ? o.palette[s].dark : o.palette[s].main,
|
|
78
77
|
color: o.palette.getContrastText(o.palette[s].main)
|
|
79
78
|
}));
|
|
80
|
-
}),
|
|
79
|
+
}), go = u("div", {
|
|
81
80
|
name: "MuiAlert",
|
|
82
81
|
slot: "Icon",
|
|
83
82
|
overridesResolver: (o, t) => t.icon
|
|
@@ -87,7 +86,7 @@ const ro = P("MuiAlert", ["root", "action", "icon", "message", "filled", "filled
|
|
|
87
86
|
display: "flex",
|
|
88
87
|
fontSize: 22,
|
|
89
88
|
opacity: 0.9
|
|
90
|
-
}),
|
|
89
|
+
}), mo = u("div", {
|
|
91
90
|
name: "MuiAlert",
|
|
92
91
|
slot: "Message",
|
|
93
92
|
overridesResolver: (o, t) => t.message
|
|
@@ -105,82 +104,82 @@ const ro = P("MuiAlert", ["root", "action", "icon", "message", "filled", "filled
|
|
|
105
104
|
padding: "4px 0 0 16px",
|
|
106
105
|
marginLeft: "auto",
|
|
107
106
|
marginRight: -8
|
|
108
|
-
}),
|
|
109
|
-
success: /* @__PURE__ */ r.jsx(
|
|
107
|
+
}), R = {
|
|
108
|
+
success: /* @__PURE__ */ r.jsx(lo, {
|
|
110
109
|
fontSize: "inherit"
|
|
111
110
|
}),
|
|
112
|
-
warning: /* @__PURE__ */ r.jsx(
|
|
111
|
+
warning: /* @__PURE__ */ r.jsx(ao, {
|
|
113
112
|
fontSize: "inherit"
|
|
114
113
|
}),
|
|
115
|
-
error: /* @__PURE__ */ r.jsx(
|
|
114
|
+
error: /* @__PURE__ */ r.jsx(co, {
|
|
116
115
|
fontSize: "inherit"
|
|
117
116
|
}),
|
|
118
|
-
info: /* @__PURE__ */ r.jsx(
|
|
117
|
+
info: /* @__PURE__ */ r.jsx(io, {
|
|
119
118
|
fontSize: "inherit"
|
|
120
119
|
})
|
|
121
|
-
},
|
|
120
|
+
}, W = /* @__PURE__ */ B.forwardRef(function(t, n) {
|
|
122
121
|
var l, s, c, p, f, x;
|
|
123
|
-
const m =
|
|
122
|
+
const m = E({
|
|
124
123
|
props: t,
|
|
125
124
|
name: "MuiAlert"
|
|
126
125
|
}), {
|
|
127
126
|
action: v,
|
|
128
|
-
children:
|
|
129
|
-
className:
|
|
127
|
+
children: V,
|
|
128
|
+
className: K,
|
|
130
129
|
closeText: y = "Close",
|
|
131
|
-
color:
|
|
130
|
+
color: U,
|
|
132
131
|
components: C = {},
|
|
133
132
|
componentsProps: h = {},
|
|
134
133
|
icon: j,
|
|
135
|
-
iconMapping:
|
|
136
|
-
onClose:
|
|
137
|
-
role:
|
|
134
|
+
iconMapping: H = R,
|
|
135
|
+
onClose: T,
|
|
136
|
+
role: F = "alert",
|
|
138
137
|
severity: A = "success",
|
|
139
|
-
slotProps:
|
|
140
|
-
slots:
|
|
141
|
-
variant:
|
|
142
|
-
} = m,
|
|
143
|
-
color:
|
|
138
|
+
slotProps: b = {},
|
|
139
|
+
slots: I = {},
|
|
140
|
+
variant: Z = "standard"
|
|
141
|
+
} = m, q = P(m, po), i = a({}, m, {
|
|
142
|
+
color: U,
|
|
144
143
|
severity: A,
|
|
145
|
-
variant:
|
|
146
|
-
}), d =
|
|
147
|
-
return /* @__PURE__ */ r.jsxs(
|
|
148
|
-
role:
|
|
144
|
+
variant: Z
|
|
145
|
+
}), d = uo(i), G = (l = (s = I.closeButton) != null ? s : C.CloseButton) != null ? l : to, J = (c = (p = I.closeIcon) != null ? p : C.CloseIcon) != null ? c : oo, Q = (f = b.closeButton) != null ? f : h.closeButton, X = (x = b.closeIcon) != null ? x : h.closeIcon;
|
|
146
|
+
return /* @__PURE__ */ r.jsxs(fo, a({
|
|
147
|
+
role: F,
|
|
149
148
|
elevation: 0,
|
|
150
149
|
ownerState: i,
|
|
151
|
-
className:
|
|
150
|
+
className: L(d.root, K),
|
|
152
151
|
ref: n
|
|
153
|
-
},
|
|
154
|
-
children: [j !== !1 ? /* @__PURE__ */ r.jsx(
|
|
152
|
+
}, q, {
|
|
153
|
+
children: [j !== !1 ? /* @__PURE__ */ r.jsx(go, {
|
|
155
154
|
ownerState: i,
|
|
156
155
|
className: d.icon,
|
|
157
|
-
children: j ||
|
|
158
|
-
}) : null, /* @__PURE__ */ r.jsx(
|
|
156
|
+
children: j || H[A] || R[A]
|
|
157
|
+
}) : null, /* @__PURE__ */ r.jsx(mo, {
|
|
159
158
|
ownerState: i,
|
|
160
159
|
className: d.message,
|
|
161
|
-
children:
|
|
160
|
+
children: V
|
|
162
161
|
}), v != null ? /* @__PURE__ */ r.jsx(O, {
|
|
163
162
|
ownerState: i,
|
|
164
163
|
className: d.action,
|
|
165
164
|
children: v
|
|
166
|
-
}) : null, v == null &&
|
|
165
|
+
}) : null, v == null && T ? /* @__PURE__ */ r.jsx(O, {
|
|
167
166
|
ownerState: i,
|
|
168
167
|
className: d.action,
|
|
169
|
-
children: /* @__PURE__ */ r.jsx(
|
|
168
|
+
children: /* @__PURE__ */ r.jsx(G, a({
|
|
170
169
|
size: "small",
|
|
171
170
|
"aria-label": y,
|
|
172
171
|
title: y,
|
|
173
172
|
color: "inherit",
|
|
174
|
-
onClick:
|
|
175
|
-
},
|
|
176
|
-
children: /* @__PURE__ */ r.jsx(
|
|
173
|
+
onClick: T
|
|
174
|
+
}, Q, {
|
|
175
|
+
children: /* @__PURE__ */ r.jsx(J, a({
|
|
177
176
|
fontSize: "small"
|
|
178
|
-
},
|
|
177
|
+
}, X))
|
|
179
178
|
}))
|
|
180
179
|
}) : null]
|
|
181
180
|
}));
|
|
182
181
|
});
|
|
183
|
-
process.env.NODE_ENV !== "production" && (
|
|
182
|
+
process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
184
183
|
// ----------------------------- Warning --------------------------------
|
|
185
184
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
186
185
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -306,19 +305,19 @@ process.env.NODE_ENV !== "production" && (k.propTypes = {
|
|
|
306
305
|
*/
|
|
307
306
|
variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
|
|
308
307
|
});
|
|
309
|
-
const
|
|
310
|
-
function
|
|
311
|
-
return
|
|
308
|
+
const vo = W;
|
|
309
|
+
function Ao(o) {
|
|
310
|
+
return k("MuiAlertTitle", o);
|
|
312
311
|
}
|
|
313
|
-
|
|
314
|
-
const
|
|
312
|
+
z("MuiAlertTitle", ["root"]);
|
|
313
|
+
const xo = ["className"], yo = (o) => {
|
|
315
314
|
const {
|
|
316
315
|
classes: t
|
|
317
316
|
} = o;
|
|
318
|
-
return
|
|
317
|
+
return _({
|
|
319
318
|
root: ["root"]
|
|
320
|
-
},
|
|
321
|
-
},
|
|
319
|
+
}, Ao, t);
|
|
320
|
+
}, Co = u(so, {
|
|
322
321
|
name: "MuiAlertTitle",
|
|
323
322
|
slot: "Root",
|
|
324
323
|
overridesResolver: (o, t) => t.root
|
|
@@ -327,22 +326,22 @@ const Ao = ["className"], xo = (o) => {
|
|
|
327
326
|
}) => ({
|
|
328
327
|
fontWeight: o.typography.fontWeightMedium,
|
|
329
328
|
marginTop: -2
|
|
330
|
-
})),
|
|
331
|
-
const l =
|
|
329
|
+
})), D = /* @__PURE__ */ B.forwardRef(function(t, n) {
|
|
330
|
+
const l = E({
|
|
332
331
|
props: t,
|
|
333
332
|
name: "MuiAlertTitle"
|
|
334
333
|
}), {
|
|
335
334
|
className: s
|
|
336
|
-
} = l, c =
|
|
337
|
-
return /* @__PURE__ */ r.jsx(
|
|
335
|
+
} = l, c = P(l, xo), p = l, f = yo(p);
|
|
336
|
+
return /* @__PURE__ */ r.jsx(Co, a({
|
|
338
337
|
gutterBottom: !0,
|
|
339
338
|
component: "div",
|
|
340
339
|
ownerState: p,
|
|
341
340
|
ref: n,
|
|
342
|
-
className:
|
|
341
|
+
className: L(f.root, s)
|
|
343
342
|
}, c));
|
|
344
343
|
});
|
|
345
|
-
process.env.NODE_ENV !== "production" && (
|
|
344
|
+
process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
346
345
|
// ----------------------------- Warning --------------------------------
|
|
347
346
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
348
347
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -364,25 +363,37 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
|
364
363
|
*/
|
|
365
364
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
366
365
|
});
|
|
367
|
-
const
|
|
366
|
+
const ho = D, Bo = Y(function(t, n) {
|
|
368
367
|
const l = {
|
|
369
368
|
success: "bg-light-success",
|
|
370
369
|
info: "bg-light-info",
|
|
371
370
|
warning: "bg-light-warning",
|
|
372
371
|
error: "bg-light-danger"
|
|
373
372
|
}[t.severity ?? "info"], s = t.className ?? "d-flex align-items-center mb-50";
|
|
374
|
-
return /* @__PURE__ */
|
|
375
|
-
|
|
373
|
+
return /* @__PURE__ */ S.jsxDEV(
|
|
374
|
+
vo,
|
|
376
375
|
{
|
|
377
376
|
ref: n,
|
|
378
377
|
severity: t.severity,
|
|
379
378
|
className: `${s} ${l}`,
|
|
380
379
|
children: t.children
|
|
381
|
-
}
|
|
380
|
+
},
|
|
381
|
+
void 0,
|
|
382
|
+
!1,
|
|
383
|
+
{
|
|
384
|
+
fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Alert/KdpaAlert.tsx",
|
|
385
|
+
lineNumber: 19,
|
|
386
|
+
columnNumber: 5
|
|
387
|
+
},
|
|
388
|
+
this
|
|
382
389
|
);
|
|
383
390
|
});
|
|
384
391
|
function Po(o) {
|
|
385
|
-
return /* @__PURE__ */
|
|
392
|
+
return /* @__PURE__ */ S.jsxDEV(ho, { className: o.className ?? "", children: o.children }, void 0, !1, {
|
|
393
|
+
fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Alert/KdpaAlertTitle.tsx",
|
|
394
|
+
lineNumber: 7,
|
|
395
|
+
columnNumber: 5
|
|
396
|
+
}, this);
|
|
386
397
|
}
|
|
387
398
|
export {
|
|
388
399
|
Bo as K,
|