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,36 +1,35 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import { P as
|
|
5
|
-
import { s as x, u as
|
|
6
|
-
import { g as
|
|
7
|
-
|
|
8
|
-
const $ = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"], L = (t) => {
|
|
1
|
+
import { j as g } from "./jsx-dev-runtime-48fdc504.js";
|
|
2
|
+
import { a as o, _ as j } from "./extends-135d7828.js";
|
|
3
|
+
import * as w from "react";
|
|
4
|
+
import { a as C, j as m, P as t } from "./identifier-2647f844.js";
|
|
5
|
+
import { s as x, u as T, c as I, a as W } from "./useThemeProps-ea792506.js";
|
|
6
|
+
import { g as k } from "./dividerClasses-a9b8b1ae.js";
|
|
7
|
+
const O = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"], $ = (e) => {
|
|
9
8
|
const {
|
|
10
9
|
absolute: i,
|
|
11
10
|
children: r,
|
|
12
11
|
classes: l,
|
|
13
|
-
flexItem:
|
|
12
|
+
flexItem: c,
|
|
14
13
|
light: s,
|
|
15
14
|
orientation: a,
|
|
16
15
|
textAlign: n,
|
|
17
|
-
variant:
|
|
18
|
-
} =
|
|
19
|
-
return
|
|
20
|
-
root: ["root", i && "absolute",
|
|
16
|
+
variant: d
|
|
17
|
+
} = e;
|
|
18
|
+
return W({
|
|
19
|
+
root: ["root", i && "absolute", d, s && "light", a === "vertical" && "vertical", c && "flexItem", r && "withChildren", r && a === "vertical" && "withChildrenVertical", n === "right" && a !== "vertical" && "textAlignRight", n === "left" && a !== "vertical" && "textAlignLeft"],
|
|
21
20
|
wrapper: ["wrapper", a === "vertical" && "wrapperVertical"]
|
|
22
|
-
},
|
|
23
|
-
},
|
|
21
|
+
}, k, l);
|
|
22
|
+
}, L = x("div", {
|
|
24
23
|
name: "MuiDivider",
|
|
25
24
|
slot: "Root",
|
|
26
|
-
overridesResolver: (
|
|
25
|
+
overridesResolver: (e, i) => {
|
|
27
26
|
const {
|
|
28
27
|
ownerState: r
|
|
29
|
-
} =
|
|
28
|
+
} = e;
|
|
30
29
|
return [i.root, r.absolute && i.absolute, i[r.variant], r.light && i.light, r.orientation === "vertical" && i.vertical, r.flexItem && i.flexItem, r.children && i.withChildren, r.children && r.orientation === "vertical" && i.withChildrenVertical, r.textAlign === "right" && r.orientation !== "vertical" && i.textAlignRight, r.textAlign === "left" && r.orientation !== "vertical" && i.textAlignLeft];
|
|
31
30
|
}
|
|
32
31
|
})(({
|
|
33
|
-
theme:
|
|
32
|
+
theme: e,
|
|
34
33
|
ownerState: i
|
|
35
34
|
}) => o({
|
|
36
35
|
margin: 0,
|
|
@@ -38,7 +37,7 @@ const $ = ["absolute", "children", "className", "component", "flexItem", "light"
|
|
|
38
37
|
flexShrink: 0,
|
|
39
38
|
borderWidth: 0,
|
|
40
39
|
borderStyle: "solid",
|
|
41
|
-
borderColor: (
|
|
40
|
+
borderColor: (e.vars || e).palette.divider,
|
|
42
41
|
borderBottomWidth: "thin"
|
|
43
42
|
}, i.absolute && {
|
|
44
43
|
position: "absolute",
|
|
@@ -46,15 +45,15 @@ const $ = ["absolute", "children", "className", "component", "flexItem", "light"
|
|
|
46
45
|
left: 0,
|
|
47
46
|
width: "100%"
|
|
48
47
|
}, i.light && {
|
|
49
|
-
borderColor:
|
|
48
|
+
borderColor: e.vars ? `rgba(${e.vars.palette.dividerChannel} / 0.08)` : C(e.palette.divider, 0.08)
|
|
50
49
|
}, i.variant === "inset" && {
|
|
51
50
|
marginLeft: 72
|
|
52
51
|
}, i.variant === "middle" && i.orientation === "horizontal" && {
|
|
53
|
-
marginLeft:
|
|
54
|
-
marginRight:
|
|
52
|
+
marginLeft: e.spacing(2),
|
|
53
|
+
marginRight: e.spacing(2)
|
|
55
54
|
}, i.variant === "middle" && i.orientation === "vertical" && {
|
|
56
|
-
marginTop:
|
|
57
|
-
marginBottom:
|
|
55
|
+
marginTop: e.spacing(1),
|
|
56
|
+
marginBottom: e.spacing(1)
|
|
58
57
|
}, i.orientation === "vertical" && {
|
|
59
58
|
height: "100%",
|
|
60
59
|
borderBottomWidth: 0,
|
|
@@ -63,8 +62,8 @@ const $ = ["absolute", "children", "className", "component", "flexItem", "light"
|
|
|
63
62
|
alignSelf: "stretch",
|
|
64
63
|
height: "auto"
|
|
65
64
|
}), ({
|
|
66
|
-
ownerState:
|
|
67
|
-
}) => o({},
|
|
65
|
+
ownerState: e
|
|
66
|
+
}) => o({}, e.children && {
|
|
68
67
|
display: "flex",
|
|
69
68
|
whiteSpace: "nowrap",
|
|
70
69
|
textAlign: "center",
|
|
@@ -74,32 +73,32 @@ const $ = ["absolute", "children", "className", "component", "flexItem", "light"
|
|
|
74
73
|
alignSelf: "center"
|
|
75
74
|
}
|
|
76
75
|
}), ({
|
|
77
|
-
theme:
|
|
76
|
+
theme: e,
|
|
78
77
|
ownerState: i
|
|
79
78
|
}) => o({}, i.children && i.orientation !== "vertical" && {
|
|
80
79
|
"&::before, &::after": {
|
|
81
80
|
width: "100%",
|
|
82
|
-
borderTop: `thin solid ${(
|
|
81
|
+
borderTop: `thin solid ${(e.vars || e).palette.divider}`
|
|
83
82
|
}
|
|
84
83
|
}), ({
|
|
85
|
-
theme:
|
|
84
|
+
theme: e,
|
|
86
85
|
ownerState: i
|
|
87
86
|
}) => o({}, i.children && i.orientation === "vertical" && {
|
|
88
87
|
flexDirection: "column",
|
|
89
88
|
"&::before, &::after": {
|
|
90
89
|
height: "100%",
|
|
91
|
-
borderLeft: `thin solid ${(
|
|
90
|
+
borderLeft: `thin solid ${(e.vars || e).palette.divider}`
|
|
92
91
|
}
|
|
93
92
|
}), ({
|
|
94
|
-
ownerState:
|
|
95
|
-
}) => o({},
|
|
93
|
+
ownerState: e
|
|
94
|
+
}) => o({}, e.textAlign === "right" && e.orientation !== "vertical" && {
|
|
96
95
|
"&::before": {
|
|
97
96
|
width: "90%"
|
|
98
97
|
},
|
|
99
98
|
"&::after": {
|
|
100
99
|
width: "10%"
|
|
101
100
|
}
|
|
102
|
-
},
|
|
101
|
+
}, e.textAlign === "left" && e.orientation !== "vertical" && {
|
|
103
102
|
"&::before": {
|
|
104
103
|
width: "10%"
|
|
105
104
|
},
|
|
@@ -109,62 +108,62 @@ const $ = ["absolute", "children", "className", "component", "flexItem", "light"
|
|
|
109
108
|
})), V = x("span", {
|
|
110
109
|
name: "MuiDivider",
|
|
111
110
|
slot: "Wrapper",
|
|
112
|
-
overridesResolver: (
|
|
111
|
+
overridesResolver: (e, i) => {
|
|
113
112
|
const {
|
|
114
113
|
ownerState: r
|
|
115
|
-
} =
|
|
114
|
+
} = e;
|
|
116
115
|
return [i.wrapper, r.orientation === "vertical" && i.wrapperVertical];
|
|
117
116
|
}
|
|
118
117
|
})(({
|
|
119
|
-
theme:
|
|
118
|
+
theme: e,
|
|
120
119
|
ownerState: i
|
|
121
120
|
}) => o({
|
|
122
121
|
display: "inline-block",
|
|
123
|
-
paddingLeft: `calc(${
|
|
124
|
-
paddingRight: `calc(${
|
|
122
|
+
paddingLeft: `calc(${e.spacing(1)} * 1.2)`,
|
|
123
|
+
paddingRight: `calc(${e.spacing(1)} * 1.2)`
|
|
125
124
|
}, i.orientation === "vertical" && {
|
|
126
|
-
paddingTop: `calc(${
|
|
127
|
-
paddingBottom: `calc(${
|
|
128
|
-
})),
|
|
129
|
-
const l =
|
|
125
|
+
paddingTop: `calc(${e.spacing(1)} * 1.2)`,
|
|
126
|
+
paddingBottom: `calc(${e.spacing(1)} * 1.2)`
|
|
127
|
+
})), b = /* @__PURE__ */ w.forwardRef(function(i, r) {
|
|
128
|
+
const l = T({
|
|
130
129
|
props: i,
|
|
131
130
|
name: "MuiDivider"
|
|
132
131
|
}), {
|
|
133
|
-
absolute:
|
|
132
|
+
absolute: c = !1,
|
|
134
133
|
children: s,
|
|
135
134
|
className: a,
|
|
136
135
|
component: n = s ? "div" : "hr",
|
|
137
|
-
flexItem:
|
|
138
|
-
light:
|
|
139
|
-
orientation:
|
|
140
|
-
role:
|
|
136
|
+
flexItem: d = !1,
|
|
137
|
+
light: f = !1,
|
|
138
|
+
orientation: D = "horizontal",
|
|
139
|
+
role: v = n !== "hr" ? "separator" : void 0,
|
|
141
140
|
textAlign: A = "center",
|
|
142
|
-
variant:
|
|
143
|
-
} = l, R =
|
|
144
|
-
absolute:
|
|
141
|
+
variant: N = "fullWidth"
|
|
142
|
+
} = l, R = j(l, O), p = o({}, l, {
|
|
143
|
+
absolute: c,
|
|
145
144
|
component: n,
|
|
146
|
-
flexItem:
|
|
147
|
-
light:
|
|
148
|
-
orientation:
|
|
149
|
-
role:
|
|
145
|
+
flexItem: d,
|
|
146
|
+
light: f,
|
|
147
|
+
orientation: D,
|
|
148
|
+
role: v,
|
|
150
149
|
textAlign: A,
|
|
151
|
-
variant:
|
|
152
|
-
}),
|
|
153
|
-
return /* @__PURE__ */
|
|
150
|
+
variant: N
|
|
151
|
+
}), h = $(p);
|
|
152
|
+
return /* @__PURE__ */ m.jsx(L, o({
|
|
154
153
|
as: n,
|
|
155
|
-
className:
|
|
156
|
-
role:
|
|
154
|
+
className: I(h.root, a),
|
|
155
|
+
role: v,
|
|
157
156
|
ref: r,
|
|
158
|
-
ownerState:
|
|
157
|
+
ownerState: p
|
|
159
158
|
}, R, {
|
|
160
|
-
children: s ? /* @__PURE__ */
|
|
161
|
-
className:
|
|
162
|
-
ownerState:
|
|
159
|
+
children: s ? /* @__PURE__ */ m.jsx(V, {
|
|
160
|
+
className: h.wrapper,
|
|
161
|
+
ownerState: p,
|
|
163
162
|
children: s
|
|
164
163
|
}) : null
|
|
165
164
|
}));
|
|
166
165
|
});
|
|
167
|
-
process.env.NODE_ENV !== "production" && (
|
|
166
|
+
process.env.NODE_ENV !== "production" && (b.propTypes = {
|
|
168
167
|
// ----------------------------- Warning --------------------------------
|
|
169
168
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
170
169
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -173,66 +172,66 @@ process.env.NODE_ENV !== "production" && (u.propTypes = {
|
|
|
173
172
|
* Absolutely position the element.
|
|
174
173
|
* @default false
|
|
175
174
|
*/
|
|
176
|
-
absolute:
|
|
175
|
+
absolute: t.bool,
|
|
177
176
|
/**
|
|
178
177
|
* The content of the component.
|
|
179
178
|
*/
|
|
180
|
-
children:
|
|
179
|
+
children: t.node,
|
|
181
180
|
/**
|
|
182
181
|
* Override or extend the styles applied to the component.
|
|
183
182
|
*/
|
|
184
|
-
classes:
|
|
183
|
+
classes: t.object,
|
|
185
184
|
/**
|
|
186
185
|
* @ignore
|
|
187
186
|
*/
|
|
188
|
-
className:
|
|
187
|
+
className: t.string,
|
|
189
188
|
/**
|
|
190
189
|
* The component used for the root node.
|
|
191
190
|
* Either a string to use a HTML element or a component.
|
|
192
191
|
*/
|
|
193
|
-
component:
|
|
192
|
+
component: t.elementType,
|
|
194
193
|
/**
|
|
195
194
|
* If `true`, a vertical divider will have the correct height when used in flex container.
|
|
196
195
|
* (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
|
|
197
196
|
* @default false
|
|
198
197
|
*/
|
|
199
|
-
flexItem:
|
|
198
|
+
flexItem: t.bool,
|
|
200
199
|
/**
|
|
201
200
|
* If `true`, the divider will have a lighter color.
|
|
202
201
|
* @default false
|
|
203
202
|
*/
|
|
204
|
-
light:
|
|
203
|
+
light: t.bool,
|
|
205
204
|
/**
|
|
206
205
|
* The component orientation.
|
|
207
206
|
* @default 'horizontal'
|
|
208
207
|
*/
|
|
209
|
-
orientation:
|
|
208
|
+
orientation: t.oneOf(["horizontal", "vertical"]),
|
|
210
209
|
/**
|
|
211
210
|
* @ignore
|
|
212
211
|
*/
|
|
213
|
-
role:
|
|
212
|
+
role: t.string,
|
|
214
213
|
/**
|
|
215
214
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
216
215
|
*/
|
|
217
|
-
sx:
|
|
216
|
+
sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
|
|
218
217
|
/**
|
|
219
218
|
* The text alignment.
|
|
220
219
|
* @default 'center'
|
|
221
220
|
*/
|
|
222
|
-
textAlign:
|
|
221
|
+
textAlign: t.oneOf(["center", "left", "right"]),
|
|
223
222
|
/**
|
|
224
223
|
* The variant to use.
|
|
225
224
|
* @default 'fullWidth'
|
|
226
225
|
*/
|
|
227
|
-
variant:
|
|
226
|
+
variant: t.oneOfType([t.oneOf(["fullWidth", "inset", "middle"]), t.string])
|
|
228
227
|
});
|
|
229
|
-
const
|
|
230
|
-
function
|
|
231
|
-
gridActionsStyle:
|
|
228
|
+
const u = b;
|
|
229
|
+
function y({
|
|
230
|
+
gridActionsStyle: e = !1,
|
|
232
231
|
...i
|
|
233
232
|
}) {
|
|
234
|
-
return
|
|
235
|
-
|
|
233
|
+
return e ? /* @__PURE__ */ g.jsxDEV(
|
|
234
|
+
u,
|
|
236
235
|
{
|
|
237
236
|
orientation: "vertical",
|
|
238
237
|
variant: "middle",
|
|
@@ -242,9 +241,21 @@ function M({
|
|
|
242
241
|
alignSelf: "center"
|
|
243
242
|
},
|
|
244
243
|
...i
|
|
245
|
-
}
|
|
246
|
-
|
|
244
|
+
},
|
|
245
|
+
void 0,
|
|
246
|
+
!1,
|
|
247
|
+
{
|
|
248
|
+
fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Divider/KdpaDivider.tsx",
|
|
249
|
+
lineNumber: 15,
|
|
250
|
+
columnNumber: 7
|
|
251
|
+
},
|
|
252
|
+
this
|
|
253
|
+
) : /* @__PURE__ */ g.jsxDEV(u, { ...i }, void 0, !1, {
|
|
254
|
+
fileName: "D:/a.dakhili/kdpa/packages/components/src/components/Divider/KdpaDivider.tsx",
|
|
255
|
+
lineNumber: 26,
|
|
256
|
+
columnNumber: 15
|
|
257
|
+
}, this);
|
|
247
258
|
}
|
|
248
259
|
export {
|
|
249
|
-
|
|
260
|
+
y as K
|
|
250
261
|
};
|