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