kdpa-components 1.35.2 → 1.35.3
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/dist/Accordion/index.d.ts +3 -0
- package/dist/Accordion/index.d.ts.map +1 -0
- package/dist/Accordion/index.js +481 -0
- package/dist/AdvancedList/index.d.ts +2 -0
- package/dist/AdvancedList/index.d.ts.map +1 -0
- package/dist/AdvancedList/index.js +16751 -0
- package/dist/Alert/index.d.ts +5 -0
- package/dist/Alert/index.d.ts.map +1 -0
- package/dist/Alert/index.js +407 -0
- package/dist/ArrowDropDown-76613637.js +35 -0
- package/dist/Autocomplete-45ae6737.js +1670 -0
- package/dist/Avatar/index.d.ts +3 -0
- package/dist/Avatar/index.d.ts.map +1 -0
- package/dist/Avatar/index.js +210 -0
- package/dist/Badge/index.d.ts +6 -0
- package/dist/Badge/index.d.ts.map +1 -0
- package/dist/Badge/index.js +69 -0
- package/dist/Badge-26e8a2aa.js +392 -0
- package/dist/Box-a827334a.js +58 -0
- package/dist/Button-b93e890d.js +355 -0
- package/dist/ButtonBase-0f9f324d.js +655 -0
- package/dist/Buttons/index.d.ts +9 -0
- package/dist/Buttons/index.d.ts.map +1 -0
- package/dist/Buttons/index.js +83 -0
- package/dist/CSSTransition-d0281d1f.js +215 -0
- package/dist/Cards/index.d.ts +3 -0
- package/dist/Cards/index.d.ts.map +1 -0
- package/dist/Cards/index.js +144 -0
- package/dist/CheckBox/index.d.ts +3 -0
- package/dist/CheckBox/index.d.ts.map +1 -0
- package/dist/CheckBox/index.js +32 -0
- package/dist/Checkbox-2cb33932.js +199 -0
- package/dist/Chip/index.d.ts +3 -0
- package/dist/Chip/index.d.ts.map +1 -0
- package/dist/Chip/index.js +61 -0
- package/dist/Chip-7b1a25ce.js +444 -0
- package/dist/CircularProgress-2c55d9ef.js +217 -0
- package/dist/Close-ef7a3b6b.js +9 -0
- package/dist/CodeEditor/index.d.ts +2 -0
- package/dist/CodeEditor/index.d.ts.map +1 -0
- package/dist/CodeEditor/index.js +559 -0
- package/dist/Collapse/index.d.ts +3 -0
- package/dist/Collapse/index.d.ts.map +1 -0
- package/dist/Collapse/index.js +23 -0
- package/dist/Collapse-4b8b3146.js +299 -0
- package/dist/CopyToClipboard/index.d.ts +3 -0
- package/dist/CopyToClipboard/index.d.ts.map +1 -0
- package/dist/CopyToClipboard/index.js +591 -0
- package/dist/Dialog-25ebaee6.js +356 -0
- package/dist/Divider/index.d.ts +4 -0
- package/dist/Divider/index.d.ts.map +1 -0
- package/dist/Divider/index.js +31 -0
- package/dist/Divider-cadf67a7.js +231 -0
- package/dist/DropZone/index.d.ts +2 -0
- package/dist/DropZone/index.d.ts.map +1 -0
- package/dist/DropZone/index.js +1348 -0
- package/dist/Fade-aabbd0cb.js +163 -0
- package/dist/FormControl/index.d.ts +5 -0
- package/dist/FormControl/index.d.ts.map +1 -0
- package/dist/FormControl/index.js +24 -0
- package/dist/FormControl-e7294bde.js +232 -0
- package/dist/FormControlLabel-276f1b1e.js +214 -0
- package/dist/FullScreenDialog/index.d.ts +3 -0
- package/dist/FullScreenDialog/index.d.ts.map +1 -0
- package/dist/FullScreenDialog/index.js +42 -0
- package/dist/Grid/index.d.ts +3 -0
- package/dist/Grid/index.d.ts.map +1 -0
- package/dist/Grid/index.js +17 -0
- package/dist/Grid-c1f5fe6b.js +486 -0
- package/dist/Grow-151a20f6.js +193 -0
- package/dist/HTMLElementType-ff213f3c.js +9 -0
- package/dist/IconButton-fdbca6d2.js +184 -0
- package/dist/Input/index.d.ts +7 -0
- package/dist/Input/index.d.ts.map +1 -0
- package/dist/Input/index.js +88 -0
- package/dist/InputAdornment-3334ace2.js +155 -0
- package/dist/KdpaAutoComplete-40e0949e.js +8 -0
- package/dist/KdpaCollapse-d9e37824.js +11 -0
- package/dist/KdpaFormControl-2d7c1db8.js +6 -0
- package/dist/KdpaIconButton-514e0d96.js +23 -0
- package/dist/KdpaMenuItem-085f686f.js +36 -0
- package/dist/KdpaSecondaryButton-14992523.js +25 -0
- package/dist/KeyboardArrowRight-14dbe7d6.js +12 -0
- package/dist/LazyDrop/index.d.ts +3 -0
- package/dist/LazyDrop/index.d.ts.map +1 -0
- package/dist/LazyDrop/index.js +839 -0
- package/dist/ListContext-de5072f9.js +7 -0
- package/dist/ListItem-2b5c2e20.js +426 -0
- package/dist/ListItemText-fcd66149.js +150 -0
- package/dist/Loading/KdpaProgress/index.d.ts +3 -0
- package/dist/Loading/KdpaProgress/index.d.ts.map +1 -0
- package/dist/Loading/KdpaProgress/index.js +56 -0
- package/dist/Loading/index.d.ts +6 -0
- package/dist/Loading/index.d.ts.map +1 -0
- package/dist/Loading/index.js +348 -0
- package/dist/MenuItem-cc037c5b.js +240 -0
- package/dist/Modal/index.d.ts +2 -0
- package/dist/Modal/index.d.ts.map +1 -0
- package/dist/Modal/index.js +751 -0
- package/dist/Modal-5f23fcfd.js +984 -0
- package/dist/PaginationGrid/index.d.ts +3 -0
- package/dist/PaginationGrid/index.d.ts.map +1 -0
- package/dist/PaginationGrid/index.js +60 -0
- package/dist/Paper-aaec61a3.js +163 -0
- package/dist/Pickers/index.d.ts +7 -0
- package/dist/Pickers/index.d.ts.map +1 -0
- package/dist/Pickers/index.js +14408 -0
- package/dist/Popper-490e6477.js +490 -0
- package/dist/Portal-b4f8657f.js +77 -0
- package/dist/Radio/index.d.ts +5 -0
- package/dist/Radio/index.d.ts.map +1 -0
- package/dist/Radio/index.js +431 -0
- package/dist/Segment/index.d.ts +3 -0
- package/dist/Segment/index.d.ts.map +1 -0
- package/dist/Segment/index.js +84 -0
- package/dist/Selects/index.d.ts +7 -0
- package/dist/Selects/index.d.ts.map +1 -0
- package/dist/Selects/index.js +66 -0
- package/dist/SimpleList/index.d.ts +2 -0
- package/dist/SimpleList/index.d.ts.map +1 -0
- package/dist/SimpleList/index.js +1913 -0
- package/dist/Skeleton-263b2beb.js +213 -0
- package/dist/Slide-3bc7a346.js +227 -0
- package/dist/Slider/index.d.ts +3 -0
- package/dist/Slider/index.d.ts.map +1 -0
- package/dist/Slider/index.js +1322 -0
- package/dist/SweetAlerts/index.d.ts +6 -0
- package/dist/SweetAlerts/index.d.ts.map +1 -0
- package/dist/SweetAlerts/index.js +1540 -0
- package/dist/Switch/index.d.ts +3 -0
- package/dist/Switch/index.d.ts.map +1 -0
- package/dist/Switch/index.js +39 -0
- package/dist/Switch-ef584fc0.js +302 -0
- package/dist/SwitchBase-c367ca3c.js +231 -0
- package/dist/Tabs/index.d.ts +5 -0
- package/dist/Tabs/index.d.ts.map +1 -0
- package/dist/Tabs/index.js +63 -0
- package/dist/Tabs-9775b0bb.js +1084 -0
- package/dist/TextField-b8c731e8.js +4439 -0
- package/dist/ThemeProvider/index.d.ts +4 -0
- package/dist/ThemeProvider/index.d.ts.map +1 -0
- package/dist/ThemeProvider/index.js +294 -0
- package/dist/Tooltip-4b1baf1b.js +584 -0
- package/dist/Tooltips/index.d.ts +3 -0
- package/dist/Tooltips/index.d.ts.map +1 -0
- package/dist/Tooltips/index.js +46 -0
- package/dist/TransitionGroup-196acb6a.js +185 -0
- package/dist/TransitionGroupContext-7435e195.js +10 -0
- package/dist/Transitions/index.d.ts +11 -0
- package/dist/Transitions/index.d.ts.map +1 -0
- package/dist/Transitions/index.js +34 -0
- package/dist/Tree/index.d.ts +3 -0
- package/dist/Tree/index.d.ts.map +1 -0
- package/dist/Tree/index.js +1447 -0
- package/dist/TreeSelect/index.d.ts +3 -0
- package/dist/TreeSelect/index.d.ts.map +1 -0
- package/dist/TreeSelect/index.js +6888 -0
- package/dist/Typography/index.d.ts +3 -0
- package/dist/Typography/index.d.ts.map +1 -0
- package/dist/Typography/index.js +14 -0
- package/dist/Typography-dfa51fea.js +176 -0
- package/dist/Uploader/index.d.ts +3 -0
- package/dist/Uploader/index.d.ts.map +1 -0
- package/dist/Uploader/index.js +81 -0
- package/dist/Zoom-b84bdc2b.js +163 -0
- package/dist/_commonjsHelpers-92157f1b.js +36 -0
- package/dist/assertThisInitialized-05701a63.js +8 -0
- package/dist/chainPropTypes-004bf492.js +8 -0
- package/dist/createChainedFunction-68e2a88d.js +9 -0
- package/dist/createSvgIcon-b80a8a41.js +182 -0
- package/dist/dividerClasses-99758da7.js +10 -0
- package/dist/elementAcceptingRef-803dfd80.js +26 -0
- package/dist/elementTypeAcceptingRef-6c34f16b.js +23 -0
- package/dist/emotion-is-prop-valid.esm-b7f48706.js +191 -0
- package/dist/emotion-memoize.esm-021d0d4e.js +9 -0
- package/dist/emotion-react.browser.esm-d563ed65.js +255 -0
- package/dist/exactProp-3aaa3ecc.js +13 -0
- package/dist/extendSxProp-f7714a31.js +30 -0
- package/dist/extends-393586f3.js +22 -0
- package/dist/formControlState-9148c46f.js +10 -0
- package/dist/hoist-non-react-statics.cjs-ce2f2873.js +236 -0
- package/dist/iconBase-800b43ff.js +63 -0
- package/dist/identifier-9dfe30d8.js +3320 -0
- package/dist/index-116f732f.js +749 -0
- package/dist/index-7e2d793d.js +12011 -0
- package/dist/index-fa965a10.js +43 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +36 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm-b78383d3.js +35 -0
- package/dist/isMuiElement-b88a921a.js +7 -0
- package/dist/jsx-runtime-944c88e2.js +631 -0
- package/dist/kdpaSelect-4ed993c7.js +1 -0
- package/dist/listItemTextClasses-d6839c02.js +10 -0
- package/dist/ownerDocument-5430cd5b.js +6 -0
- package/dist/ownerWindow-e6cc3097.js +20 -0
- package/dist/popper-78c6b162.js +1006 -0
- package/dist/refType-af1a9f54.js +5 -0
- package/dist/setPrototypeOf-98a00546.js +8 -0
- package/dist/style.css +1 -0
- package/dist/toPropertyKey-e295cd73.js +27 -0
- package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts +1 -1
- package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts.map +1 -1
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.d.ts.map +1 -1
- package/dist/types/designerKit/components/Uploader/KdFileUploader/UploadedItems.d.ts.map +1 -1
- package/dist/types/designerKit/utils/typographyHelper.d.ts +1 -2
- package/dist/types/designerKit/utils/typographyHelper.d.ts.map +1 -1
- package/dist/unsupportedProp-3dbf01f6.js +9 -0
- package/dist/useControlled-cc2d41cb.js +31 -0
- package/dist/useEventCallback-fe4fd69c.js +16 -0
- package/dist/useForkRef-0781dda0.js +15 -0
- package/dist/useFormControl-af690c26.js +11 -0
- package/dist/useId-e7dff7be.js +19 -0
- package/dist/useIsFocusVisible-4693b580.js +68 -0
- package/dist/usePreviousProps-c1ae4548.js +10 -0
- package/dist/useSlotProps-f238319f.js +74 -0
- package/dist/useTheme-014a54ad.js +10 -0
- package/dist/useThemeProps-7d04a175.js +513 -0
- package/dist/utils-129661c6.js +370 -0
- package/package.json +1 -1
- package/dist/types/designerKit/components/Alert/Temp.d.ts +0 -3
- package/dist/types/designerKit/components/Alert/Temp.d.ts.map +0 -1
- package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts +0 -12
- package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts.map +0 -1
- package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts +0 -5
- package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts.map +0 -1
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.d.ts +0 -9
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.d.ts.map +0 -1
- package/dist/types/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.d.ts +0 -53
- package/dist/types/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.d.ts.map +0 -1
- package/dist/types/designerKit/utils/fileUtils.d.ts +0 -19
- package/dist/types/designerKit/utils/fileUtils.d.ts.map +0 -1
- package/dist/types/designerKit/utils/useTreeHelper.d.ts +0 -17
- package/dist/types/designerKit/utils/useTreeHelper.d.ts.map +0 -1
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { a as A, _ as p } from "./extends-393586f3.js";
|
|
2
|
+
import * as E from "react";
|
|
3
|
+
import { P as n } from "./identifier-9dfe30d8.js";
|
|
4
|
+
import { u as D } from "./useTheme-014a54ad.js";
|
|
5
|
+
import { T as V, r as W, g as y } from "./utils-129661c6.js";
|
|
6
|
+
import { j as $ } from "./jsx-runtime-944c88e2.js";
|
|
7
|
+
import { u as B } from "./useForkRef-0781dda0.js";
|
|
8
|
+
import { e as G } from "./elementAcceptingRef-803dfd80.js";
|
|
9
|
+
const H = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], J = {
|
|
10
|
+
entering: {
|
|
11
|
+
opacity: 1
|
|
12
|
+
},
|
|
13
|
+
entered: {
|
|
14
|
+
opacity: 1
|
|
15
|
+
}
|
|
16
|
+
}, h = /* @__PURE__ */ E.forwardRef(function(u, T) {
|
|
17
|
+
const i = D(), R = {
|
|
18
|
+
enter: i.transitions.duration.enteringScreen,
|
|
19
|
+
exit: i.transitions.duration.leavingScreen
|
|
20
|
+
}, {
|
|
21
|
+
addEndListener: f,
|
|
22
|
+
appear: b = !0,
|
|
23
|
+
children: a,
|
|
24
|
+
easing: l,
|
|
25
|
+
in: m,
|
|
26
|
+
onEnter: x,
|
|
27
|
+
onEntered: P,
|
|
28
|
+
onEntering: L,
|
|
29
|
+
onExit: g,
|
|
30
|
+
onExited: j,
|
|
31
|
+
onExiting: F,
|
|
32
|
+
style: d,
|
|
33
|
+
timeout: c = R,
|
|
34
|
+
// eslint-disable-next-line react/prop-types
|
|
35
|
+
TransitionComponent: _ = V
|
|
36
|
+
} = u, v = A(u, H), s = E.useRef(null), w = B(s, a.ref, T), o = (e) => (t) => {
|
|
37
|
+
if (e) {
|
|
38
|
+
const r = s.current;
|
|
39
|
+
t === void 0 ? e(r) : e(r, t);
|
|
40
|
+
}
|
|
41
|
+
}, C = o(L), O = o((e, t) => {
|
|
42
|
+
W(e);
|
|
43
|
+
const r = y({
|
|
44
|
+
style: d,
|
|
45
|
+
timeout: c,
|
|
46
|
+
easing: l
|
|
47
|
+
}, {
|
|
48
|
+
mode: "enter"
|
|
49
|
+
});
|
|
50
|
+
e.style.webkitTransition = i.transitions.create("opacity", r), e.style.transition = i.transitions.create("opacity", r), x && x(e, t);
|
|
51
|
+
}), k = o(P), N = o(F), S = o((e) => {
|
|
52
|
+
const t = y({
|
|
53
|
+
style: d,
|
|
54
|
+
timeout: c,
|
|
55
|
+
easing: l
|
|
56
|
+
}, {
|
|
57
|
+
mode: "exit"
|
|
58
|
+
});
|
|
59
|
+
e.style.webkitTransition = i.transitions.create("opacity", t), e.style.transition = i.transitions.create("opacity", t), g && g(e);
|
|
60
|
+
}), q = o(j), z = (e) => {
|
|
61
|
+
f && f(s.current, e);
|
|
62
|
+
};
|
|
63
|
+
return /* @__PURE__ */ $.jsx(_, p({
|
|
64
|
+
appear: b,
|
|
65
|
+
in: m,
|
|
66
|
+
nodeRef: s,
|
|
67
|
+
onEnter: O,
|
|
68
|
+
onEntered: k,
|
|
69
|
+
onEntering: C,
|
|
70
|
+
onExit: S,
|
|
71
|
+
onExited: q,
|
|
72
|
+
onExiting: N,
|
|
73
|
+
addEndListener: z,
|
|
74
|
+
timeout: c
|
|
75
|
+
}, v, {
|
|
76
|
+
children: (e, t) => /* @__PURE__ */ E.cloneElement(a, p({
|
|
77
|
+
style: p({
|
|
78
|
+
opacity: 0,
|
|
79
|
+
visibility: e === "exited" && !m ? "hidden" : void 0
|
|
80
|
+
}, J[e], d, a.props.style),
|
|
81
|
+
ref: w
|
|
82
|
+
}, t))
|
|
83
|
+
}));
|
|
84
|
+
});
|
|
85
|
+
process.env.NODE_ENV !== "production" && (h.propTypes = {
|
|
86
|
+
// ----------------------------- Warning --------------------------------
|
|
87
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
88
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
89
|
+
// ----------------------------------------------------------------------
|
|
90
|
+
/**
|
|
91
|
+
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
92
|
+
* node and a done callback. Allows for more fine grained transition end
|
|
93
|
+
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
94
|
+
*/
|
|
95
|
+
addEndListener: n.func,
|
|
96
|
+
/**
|
|
97
|
+
* Perform the enter transition when it first mounts if `in` is also `true`.
|
|
98
|
+
* Set this to `false` to disable this behavior.
|
|
99
|
+
* @default true
|
|
100
|
+
*/
|
|
101
|
+
appear: n.bool,
|
|
102
|
+
/**
|
|
103
|
+
* A single child content element.
|
|
104
|
+
*/
|
|
105
|
+
children: G.isRequired,
|
|
106
|
+
/**
|
|
107
|
+
* The transition timing function.
|
|
108
|
+
* You may specify a single easing or a object containing enter and exit values.
|
|
109
|
+
*/
|
|
110
|
+
easing: n.oneOfType([n.shape({
|
|
111
|
+
enter: n.string,
|
|
112
|
+
exit: n.string
|
|
113
|
+
}), n.string]),
|
|
114
|
+
/**
|
|
115
|
+
* If `true`, the component will transition in.
|
|
116
|
+
*/
|
|
117
|
+
in: n.bool,
|
|
118
|
+
/**
|
|
119
|
+
* @ignore
|
|
120
|
+
*/
|
|
121
|
+
onEnter: n.func,
|
|
122
|
+
/**
|
|
123
|
+
* @ignore
|
|
124
|
+
*/
|
|
125
|
+
onEntered: n.func,
|
|
126
|
+
/**
|
|
127
|
+
* @ignore
|
|
128
|
+
*/
|
|
129
|
+
onEntering: n.func,
|
|
130
|
+
/**
|
|
131
|
+
* @ignore
|
|
132
|
+
*/
|
|
133
|
+
onExit: n.func,
|
|
134
|
+
/**
|
|
135
|
+
* @ignore
|
|
136
|
+
*/
|
|
137
|
+
onExited: n.func,
|
|
138
|
+
/**
|
|
139
|
+
* @ignore
|
|
140
|
+
*/
|
|
141
|
+
onExiting: n.func,
|
|
142
|
+
/**
|
|
143
|
+
* @ignore
|
|
144
|
+
*/
|
|
145
|
+
style: n.object,
|
|
146
|
+
/**
|
|
147
|
+
* The duration for the transition, in milliseconds.
|
|
148
|
+
* You may specify a single timeout for all transitions, or individually with an object.
|
|
149
|
+
* @default {
|
|
150
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
151
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
152
|
+
* }
|
|
153
|
+
*/
|
|
154
|
+
timeout: n.oneOfType([n.number, n.shape({
|
|
155
|
+
appear: n.number,
|
|
156
|
+
enter: n.number,
|
|
157
|
+
exit: n.number
|
|
158
|
+
})])
|
|
159
|
+
});
|
|
160
|
+
const nn = h;
|
|
161
|
+
export {
|
|
162
|
+
nn as F
|
|
163
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as KdpaFormControl } from "./KdpaFormControl/KdpaFormControl";
|
|
2
|
+
export { default as KdpaFormControlLabel } from "./KdpaFormControlLabel/KdpaFormControlLabel";
|
|
3
|
+
export type { KdpaFormControlProps } from "./KdpaFormControl/KdpaFormControl";
|
|
4
|
+
export type { KdpaFormControlLabelProps } from "./KdpaFormControlLabel/KdpaFormControlLabel";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FormControl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAE9F,YAAY,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,YAAY,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { K as E } from "../KdpaFormControl-2d7c1db8.js";
|
|
2
|
+
import { j as r } from "../jsx-runtime-944c88e2.js";
|
|
3
|
+
import { F as t } from "../FormControlLabel-276f1b1e.js";
|
|
4
|
+
import "../FormControl-e7294bde.js";
|
|
5
|
+
import "../extends-393586f3.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "../identifier-9dfe30d8.js";
|
|
8
|
+
import "../emotion-memoize.esm-021d0d4e.js";
|
|
9
|
+
import "../_commonjsHelpers-92157f1b.js";
|
|
10
|
+
import "../useThemeProps-7d04a175.js";
|
|
11
|
+
import "../emotion-is-prop-valid.esm-b7f48706.js";
|
|
12
|
+
import "../useFormControl-af690c26.js";
|
|
13
|
+
import "../isMuiElement-b88a921a.js";
|
|
14
|
+
import "../formControlState-9148c46f.js";
|
|
15
|
+
import "../Typography-dfa51fea.js";
|
|
16
|
+
import "../extendSxProp-f7714a31.js";
|
|
17
|
+
import "../refType-af1a9f54.js";
|
|
18
|
+
function d(o) {
|
|
19
|
+
return /* @__PURE__ */ r.jsx(t, { ...o });
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
E as KdpaFormControl,
|
|
23
|
+
d as KdpaFormControlLabel
|
|
24
|
+
};
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { _ as d, a as L } from "./extends-393586f3.js";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { g as q, h as P, P as e } from "./identifier-9dfe30d8.js";
|
|
4
|
+
import { g as w, s as $, u as k, c as G, a as H } from "./useThemeProps-7d04a175.js";
|
|
5
|
+
import { F as J } from "./useFormControl-af690c26.js";
|
|
6
|
+
import { j as A } from "./jsx-runtime-944c88e2.js";
|
|
7
|
+
import { i as v } from "./isMuiElement-b88a921a.js";
|
|
8
|
+
function I(o) {
|
|
9
|
+
return o != null && !(Array.isArray(o) && o.length === 0);
|
|
10
|
+
}
|
|
11
|
+
function R(o, r = !1) {
|
|
12
|
+
return o && (I(o.value) && o.value !== "" || r && I(o.defaultValue) && o.defaultValue !== "");
|
|
13
|
+
}
|
|
14
|
+
function K(o) {
|
|
15
|
+
return o.startAdornment;
|
|
16
|
+
}
|
|
17
|
+
function Q(o) {
|
|
18
|
+
return q("MuiFormControl", o);
|
|
19
|
+
}
|
|
20
|
+
w("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
|
|
21
|
+
const X = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"], Y = (o) => {
|
|
22
|
+
const {
|
|
23
|
+
classes: r,
|
|
24
|
+
margin: u,
|
|
25
|
+
fullWidth: l
|
|
26
|
+
} = o, i = {
|
|
27
|
+
root: ["root", u !== "none" && `margin${P(u)}`, l && "fullWidth"]
|
|
28
|
+
};
|
|
29
|
+
return H(i, Q, r);
|
|
30
|
+
}, Z = $("div", {
|
|
31
|
+
name: "MuiFormControl",
|
|
32
|
+
slot: "Root",
|
|
33
|
+
overridesResolver: ({
|
|
34
|
+
ownerState: o
|
|
35
|
+
}, r) => d({}, r.root, r[`margin${P(o.margin)}`], o.fullWidth && r.fullWidth)
|
|
36
|
+
})(({
|
|
37
|
+
ownerState: o
|
|
38
|
+
}) => d({
|
|
39
|
+
display: "inline-flex",
|
|
40
|
+
flexDirection: "column",
|
|
41
|
+
position: "relative",
|
|
42
|
+
// Reset fieldset default style.
|
|
43
|
+
minWidth: 0,
|
|
44
|
+
padding: 0,
|
|
45
|
+
margin: 0,
|
|
46
|
+
border: 0,
|
|
47
|
+
verticalAlign: "top"
|
|
48
|
+
}, o.margin === "normal" && {
|
|
49
|
+
marginTop: 16,
|
|
50
|
+
marginBottom: 8
|
|
51
|
+
}, o.margin === "dense" && {
|
|
52
|
+
marginTop: 8,
|
|
53
|
+
marginBottom: 4
|
|
54
|
+
}, o.fullWidth && {
|
|
55
|
+
width: "100%"
|
|
56
|
+
})), U = /* @__PURE__ */ s.forwardRef(function(r, u) {
|
|
57
|
+
const l = k({
|
|
58
|
+
props: r,
|
|
59
|
+
name: "MuiFormControl"
|
|
60
|
+
}), {
|
|
61
|
+
children: i,
|
|
62
|
+
className: _,
|
|
63
|
+
color: c = "primary",
|
|
64
|
+
component: b = "div",
|
|
65
|
+
disabled: a = !1,
|
|
66
|
+
error: f = !1,
|
|
67
|
+
focused: x,
|
|
68
|
+
fullWidth: m = !1,
|
|
69
|
+
hiddenLabel: p = !1,
|
|
70
|
+
margin: j = "none",
|
|
71
|
+
required: g = !1,
|
|
72
|
+
size: h = "medium",
|
|
73
|
+
variant: y = "outlined"
|
|
74
|
+
} = l, B = L(l, X), T = d({}, l, {
|
|
75
|
+
color: c,
|
|
76
|
+
component: b,
|
|
77
|
+
disabled: a,
|
|
78
|
+
error: f,
|
|
79
|
+
fullWidth: m,
|
|
80
|
+
hiddenLabel: p,
|
|
81
|
+
margin: j,
|
|
82
|
+
required: g,
|
|
83
|
+
size: h,
|
|
84
|
+
variant: y
|
|
85
|
+
}), V = Y(T), [O, z] = s.useState(() => {
|
|
86
|
+
let t = !1;
|
|
87
|
+
return i && s.Children.forEach(i, (n) => {
|
|
88
|
+
if (!v(n, ["Input", "Select"]))
|
|
89
|
+
return;
|
|
90
|
+
const M = v(n, ["Select"]) ? n.props.input : n;
|
|
91
|
+
M && K(M.props) && (t = !0);
|
|
92
|
+
}), t;
|
|
93
|
+
}), [W, E] = s.useState(() => {
|
|
94
|
+
let t = !1;
|
|
95
|
+
return i && s.Children.forEach(i, (n) => {
|
|
96
|
+
v(n, ["Input", "Select"]) && (R(n.props, !0) || R(n.props.inputProps, !0)) && (t = !0);
|
|
97
|
+
}), t;
|
|
98
|
+
}), [N, C] = s.useState(!1);
|
|
99
|
+
a && N && C(!1);
|
|
100
|
+
const S = x !== void 0 && !a ? x : N;
|
|
101
|
+
let F;
|
|
102
|
+
if (process.env.NODE_ENV !== "production") {
|
|
103
|
+
const t = s.useRef(!1);
|
|
104
|
+
F = () => (t.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
105
|
+
`)), t.current = !0, () => {
|
|
106
|
+
t.current = !1;
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
const D = s.useMemo(() => ({
|
|
110
|
+
adornedStart: O,
|
|
111
|
+
setAdornedStart: z,
|
|
112
|
+
color: c,
|
|
113
|
+
disabled: a,
|
|
114
|
+
error: f,
|
|
115
|
+
filled: W,
|
|
116
|
+
focused: S,
|
|
117
|
+
fullWidth: m,
|
|
118
|
+
hiddenLabel: p,
|
|
119
|
+
size: h,
|
|
120
|
+
onBlur: () => {
|
|
121
|
+
C(!1);
|
|
122
|
+
},
|
|
123
|
+
onEmpty: () => {
|
|
124
|
+
E(!1);
|
|
125
|
+
},
|
|
126
|
+
onFilled: () => {
|
|
127
|
+
E(!0);
|
|
128
|
+
},
|
|
129
|
+
onFocus: () => {
|
|
130
|
+
C(!0);
|
|
131
|
+
},
|
|
132
|
+
registerEffect: F,
|
|
133
|
+
required: g,
|
|
134
|
+
variant: y
|
|
135
|
+
}), [O, c, a, f, W, S, m, p, F, g, h, y]);
|
|
136
|
+
return /* @__PURE__ */ A.jsx(J.Provider, {
|
|
137
|
+
value: D,
|
|
138
|
+
children: /* @__PURE__ */ A.jsx(Z, d({
|
|
139
|
+
as: b,
|
|
140
|
+
ownerState: T,
|
|
141
|
+
className: G(V.root, _),
|
|
142
|
+
ref: u
|
|
143
|
+
}, B, {
|
|
144
|
+
children: i
|
|
145
|
+
}))
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
process.env.NODE_ENV !== "production" && (U.propTypes = {
|
|
149
|
+
// ----------------------------- Warning --------------------------------
|
|
150
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
151
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
152
|
+
// ----------------------------------------------------------------------
|
|
153
|
+
/**
|
|
154
|
+
* The content of the component.
|
|
155
|
+
*/
|
|
156
|
+
children: e.node,
|
|
157
|
+
/**
|
|
158
|
+
* Override or extend the styles applied to the component.
|
|
159
|
+
*/
|
|
160
|
+
classes: e.object,
|
|
161
|
+
/**
|
|
162
|
+
* @ignore
|
|
163
|
+
*/
|
|
164
|
+
className: e.string,
|
|
165
|
+
/**
|
|
166
|
+
* The color of the component.
|
|
167
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
168
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
|
|
169
|
+
* @default 'primary'
|
|
170
|
+
*/
|
|
171
|
+
color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
|
|
172
|
+
/**
|
|
173
|
+
* The component used for the root node.
|
|
174
|
+
* Either a string to use a HTML element or a component.
|
|
175
|
+
*/
|
|
176
|
+
component: e.elementType,
|
|
177
|
+
/**
|
|
178
|
+
* If `true`, the label, input and helper text should be displayed in a disabled state.
|
|
179
|
+
* @default false
|
|
180
|
+
*/
|
|
181
|
+
disabled: e.bool,
|
|
182
|
+
/**
|
|
183
|
+
* If `true`, the label is displayed in an error state.
|
|
184
|
+
* @default false
|
|
185
|
+
*/
|
|
186
|
+
error: e.bool,
|
|
187
|
+
/**
|
|
188
|
+
* If `true`, the component is displayed in focused state.
|
|
189
|
+
*/
|
|
190
|
+
focused: e.bool,
|
|
191
|
+
/**
|
|
192
|
+
* If `true`, the component will take up the full width of its container.
|
|
193
|
+
* @default false
|
|
194
|
+
*/
|
|
195
|
+
fullWidth: e.bool,
|
|
196
|
+
/**
|
|
197
|
+
* If `true`, the label is hidden.
|
|
198
|
+
* This is used to increase density for a `FilledInput`.
|
|
199
|
+
* Be sure to add `aria-label` to the `input` element.
|
|
200
|
+
* @default false
|
|
201
|
+
*/
|
|
202
|
+
hiddenLabel: e.bool,
|
|
203
|
+
/**
|
|
204
|
+
* If `dense` or `normal`, will adjust vertical spacing of this and contained components.
|
|
205
|
+
* @default 'none'
|
|
206
|
+
*/
|
|
207
|
+
margin: e.oneOf(["dense", "none", "normal"]),
|
|
208
|
+
/**
|
|
209
|
+
* If `true`, the label will indicate that the `input` is required.
|
|
210
|
+
* @default false
|
|
211
|
+
*/
|
|
212
|
+
required: e.bool,
|
|
213
|
+
/**
|
|
214
|
+
* The size of the component.
|
|
215
|
+
* @default 'medium'
|
|
216
|
+
*/
|
|
217
|
+
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
218
|
+
/**
|
|
219
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
220
|
+
*/
|
|
221
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
222
|
+
/**
|
|
223
|
+
* The variant to use.
|
|
224
|
+
* @default 'outlined'
|
|
225
|
+
*/
|
|
226
|
+
variant: e.oneOf(["filled", "outlined", "standard"])
|
|
227
|
+
});
|
|
228
|
+
const ie = U;
|
|
229
|
+
export {
|
|
230
|
+
ie as M,
|
|
231
|
+
R as i
|
|
232
|
+
};
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { _ as m, a as S } from "./extends-393586f3.js";
|
|
2
|
+
import * as x from "react";
|
|
3
|
+
import { g as w, h as T, P as e } from "./identifier-9dfe30d8.js";
|
|
4
|
+
import { g as D, s as j, u as U, c as F, a as A } from "./useThemeProps-7d04a175.js";
|
|
5
|
+
import { f as W } from "./formControlState-9148c46f.js";
|
|
6
|
+
import { j as h } from "./jsx-runtime-944c88e2.js";
|
|
7
|
+
import { u as z } from "./useFormControl-af690c26.js";
|
|
8
|
+
import { T as R } from "./Typography-dfa51fea.js";
|
|
9
|
+
import { r as B } from "./refType-af1a9f54.js";
|
|
10
|
+
function H(o) {
|
|
11
|
+
return w("MuiFormControlLabel", o);
|
|
12
|
+
}
|
|
13
|
+
const I = D("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]), n = I, V = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slotProps", "value"], G = (o) => {
|
|
14
|
+
const {
|
|
15
|
+
classes: r,
|
|
16
|
+
disabled: t,
|
|
17
|
+
labelPlacement: i,
|
|
18
|
+
error: s,
|
|
19
|
+
required: l
|
|
20
|
+
} = o, d = {
|
|
21
|
+
root: ["root", t && "disabled", `labelPlacement${T(i)}`, s && "error", l && "required"],
|
|
22
|
+
label: ["label", t && "disabled"],
|
|
23
|
+
asterisk: ["asterisk", s && "error"]
|
|
24
|
+
};
|
|
25
|
+
return A(d, H, r);
|
|
26
|
+
}, J = j("label", {
|
|
27
|
+
name: "MuiFormControlLabel",
|
|
28
|
+
slot: "Root",
|
|
29
|
+
overridesResolver: (o, r) => {
|
|
30
|
+
const {
|
|
31
|
+
ownerState: t
|
|
32
|
+
} = o;
|
|
33
|
+
return [{
|
|
34
|
+
[`& .${n.label}`]: r.label
|
|
35
|
+
}, r.root, r[`labelPlacement${T(t.labelPlacement)}`]];
|
|
36
|
+
}
|
|
37
|
+
})(({
|
|
38
|
+
theme: o,
|
|
39
|
+
ownerState: r
|
|
40
|
+
}) => m({
|
|
41
|
+
display: "inline-flex",
|
|
42
|
+
alignItems: "center",
|
|
43
|
+
cursor: "pointer",
|
|
44
|
+
// For correct alignment with the text.
|
|
45
|
+
verticalAlign: "middle",
|
|
46
|
+
WebkitTapHighlightColor: "transparent",
|
|
47
|
+
marginLeft: -11,
|
|
48
|
+
marginRight: 16,
|
|
49
|
+
// used for row presentation of radio/checkbox
|
|
50
|
+
[`&.${n.disabled}`]: {
|
|
51
|
+
cursor: "default"
|
|
52
|
+
}
|
|
53
|
+
}, r.labelPlacement === "start" && {
|
|
54
|
+
flexDirection: "row-reverse",
|
|
55
|
+
marginLeft: 16,
|
|
56
|
+
// used for row presentation of radio/checkbox
|
|
57
|
+
marginRight: -11
|
|
58
|
+
}, r.labelPlacement === "top" && {
|
|
59
|
+
flexDirection: "column-reverse",
|
|
60
|
+
marginLeft: 16
|
|
61
|
+
}, r.labelPlacement === "bottom" && {
|
|
62
|
+
flexDirection: "column",
|
|
63
|
+
marginLeft: 16
|
|
64
|
+
}, {
|
|
65
|
+
[`& .${n.label}`]: {
|
|
66
|
+
[`&.${n.disabled}`]: {
|
|
67
|
+
color: (o.vars || o).palette.text.disabled
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
})), K = j("span", {
|
|
71
|
+
name: "MuiFormControlLabel",
|
|
72
|
+
slot: "Asterisk",
|
|
73
|
+
overridesResolver: (o, r) => r.asterisk
|
|
74
|
+
})(({
|
|
75
|
+
theme: o
|
|
76
|
+
}) => ({
|
|
77
|
+
[`&.${n.error}`]: {
|
|
78
|
+
color: (o.vars || o).palette.error.main
|
|
79
|
+
}
|
|
80
|
+
})), q = /* @__PURE__ */ x.forwardRef(function(r, t) {
|
|
81
|
+
var i, s;
|
|
82
|
+
const l = U({
|
|
83
|
+
props: r,
|
|
84
|
+
name: "MuiFormControlLabel"
|
|
85
|
+
}), {
|
|
86
|
+
className: d,
|
|
87
|
+
componentsProps: $ = {},
|
|
88
|
+
control: c,
|
|
89
|
+
disabled: P,
|
|
90
|
+
disableTypography: N,
|
|
91
|
+
label: k,
|
|
92
|
+
labelPlacement: _ = "end",
|
|
93
|
+
required: C,
|
|
94
|
+
slotProps: E = {}
|
|
95
|
+
} = l, M = S(l, V), b = z(), v = (i = P ?? c.props.disabled) != null ? i : b == null ? void 0 : b.disabled, u = C ?? c.props.required, L = {
|
|
96
|
+
disabled: v,
|
|
97
|
+
required: u
|
|
98
|
+
};
|
|
99
|
+
["checked", "name", "onChange", "value", "inputRef"].forEach((p) => {
|
|
100
|
+
typeof c.props[p] > "u" && typeof l[p] < "u" && (L[p] = l[p]);
|
|
101
|
+
});
|
|
102
|
+
const O = W({
|
|
103
|
+
props: l,
|
|
104
|
+
muiFormControl: b,
|
|
105
|
+
states: ["error"]
|
|
106
|
+
}), f = m({}, l, {
|
|
107
|
+
disabled: v,
|
|
108
|
+
labelPlacement: _,
|
|
109
|
+
required: u,
|
|
110
|
+
error: O.error
|
|
111
|
+
}), g = G(f), y = (s = E.typography) != null ? s : $.typography;
|
|
112
|
+
let a = k;
|
|
113
|
+
return a != null && a.type !== R && !N && (a = /* @__PURE__ */ h.jsx(R, m({
|
|
114
|
+
component: "span"
|
|
115
|
+
}, y, {
|
|
116
|
+
className: F(g.label, y == null ? void 0 : y.className),
|
|
117
|
+
children: a
|
|
118
|
+
}))), /* @__PURE__ */ h.jsxs(J, m({
|
|
119
|
+
className: F(g.root, d),
|
|
120
|
+
ownerState: f,
|
|
121
|
+
ref: t
|
|
122
|
+
}, M, {
|
|
123
|
+
children: [/* @__PURE__ */ x.cloneElement(c, L), a, u && /* @__PURE__ */ h.jsxs(K, {
|
|
124
|
+
ownerState: f,
|
|
125
|
+
"aria-hidden": !0,
|
|
126
|
+
className: g.asterisk,
|
|
127
|
+
children: [" ", "*"]
|
|
128
|
+
})]
|
|
129
|
+
}));
|
|
130
|
+
});
|
|
131
|
+
process.env.NODE_ENV !== "production" && (q.propTypes = {
|
|
132
|
+
// ----------------------------- Warning --------------------------------
|
|
133
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
134
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
135
|
+
// ----------------------------------------------------------------------
|
|
136
|
+
/**
|
|
137
|
+
* If `true`, the component appears selected.
|
|
138
|
+
*/
|
|
139
|
+
checked: e.bool,
|
|
140
|
+
/**
|
|
141
|
+
* Override or extend the styles applied to the component.
|
|
142
|
+
*/
|
|
143
|
+
classes: e.object,
|
|
144
|
+
/**
|
|
145
|
+
* @ignore
|
|
146
|
+
*/
|
|
147
|
+
className: e.string,
|
|
148
|
+
/**
|
|
149
|
+
* The props used for each slot inside.
|
|
150
|
+
* @default {}
|
|
151
|
+
*/
|
|
152
|
+
componentsProps: e.shape({
|
|
153
|
+
typography: e.object
|
|
154
|
+
}),
|
|
155
|
+
/**
|
|
156
|
+
* A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
|
|
157
|
+
*/
|
|
158
|
+
control: e.element.isRequired,
|
|
159
|
+
/**
|
|
160
|
+
* If `true`, the control is disabled.
|
|
161
|
+
*/
|
|
162
|
+
disabled: e.bool,
|
|
163
|
+
/**
|
|
164
|
+
* If `true`, the label is rendered as it is passed without an additional typography node.
|
|
165
|
+
*/
|
|
166
|
+
disableTypography: e.bool,
|
|
167
|
+
/**
|
|
168
|
+
* Pass a ref to the `input` element.
|
|
169
|
+
*/
|
|
170
|
+
inputRef: B,
|
|
171
|
+
/**
|
|
172
|
+
* A text or an element to be used in an enclosing label element.
|
|
173
|
+
*/
|
|
174
|
+
label: e.node,
|
|
175
|
+
/**
|
|
176
|
+
* The position of the label.
|
|
177
|
+
* @default 'end'
|
|
178
|
+
*/
|
|
179
|
+
labelPlacement: e.oneOf(["bottom", "end", "start", "top"]),
|
|
180
|
+
/**
|
|
181
|
+
* @ignore
|
|
182
|
+
*/
|
|
183
|
+
name: e.string,
|
|
184
|
+
/**
|
|
185
|
+
* Callback fired when the state is changed.
|
|
186
|
+
*
|
|
187
|
+
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
188
|
+
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
189
|
+
*/
|
|
190
|
+
onChange: e.func,
|
|
191
|
+
/**
|
|
192
|
+
* If `true`, the label will indicate that the `input` is required.
|
|
193
|
+
*/
|
|
194
|
+
required: e.bool,
|
|
195
|
+
/**
|
|
196
|
+
* The props used for each slot inside.
|
|
197
|
+
* @default {}
|
|
198
|
+
*/
|
|
199
|
+
slotProps: e.shape({
|
|
200
|
+
typography: e.object
|
|
201
|
+
}),
|
|
202
|
+
/**
|
|
203
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
204
|
+
*/
|
|
205
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
206
|
+
/**
|
|
207
|
+
* The value of the component.
|
|
208
|
+
*/
|
|
209
|
+
value: e.any
|
|
210
|
+
});
|
|
211
|
+
const te = q;
|
|
212
|
+
export {
|
|
213
|
+
te as F
|
|
214
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEzE,YAAY,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { j as t } from "../jsx-runtime-944c88e2.js";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { S as m } from "../Slide-3bc7a346.js";
|
|
4
|
+
import { M as p } from "../Dialog-25ebaee6.js";
|
|
5
|
+
import "../extends-393586f3.js";
|
|
6
|
+
import "../identifier-9dfe30d8.js";
|
|
7
|
+
import "../emotion-memoize.esm-021d0d4e.js";
|
|
8
|
+
import "../_commonjsHelpers-92157f1b.js";
|
|
9
|
+
import "../useTheme-014a54ad.js";
|
|
10
|
+
import "../useThemeProps-7d04a175.js";
|
|
11
|
+
import "../emotion-is-prop-valid.esm-b7f48706.js";
|
|
12
|
+
import "../utils-129661c6.js";
|
|
13
|
+
import "../TransitionGroupContext-7435e195.js";
|
|
14
|
+
import "../setPrototypeOf-98a00546.js";
|
|
15
|
+
import "react-dom";
|
|
16
|
+
import "../useForkRef-0781dda0.js";
|
|
17
|
+
import "../ownerWindow-e6cc3097.js";
|
|
18
|
+
import "../ownerDocument-5430cd5b.js";
|
|
19
|
+
import "../elementAcceptingRef-803dfd80.js";
|
|
20
|
+
import "../chainPropTypes-004bf492.js";
|
|
21
|
+
import "../HTMLElementType-ff213f3c.js";
|
|
22
|
+
import "../Modal-5f23fcfd.js";
|
|
23
|
+
import "../Fade-aabbd0cb.js";
|
|
24
|
+
import "../Portal-b4f8657f.js";
|
|
25
|
+
import "../useEventCallback-fe4fd69c.js";
|
|
26
|
+
import "../exactProp-3aaa3ecc.js";
|
|
27
|
+
import "../createChainedFunction-68e2a88d.js";
|
|
28
|
+
import "../useSlotProps-f238319f.js";
|
|
29
|
+
import "../Paper-aaec61a3.js";
|
|
30
|
+
import "../useId-e7dff7be.js";
|
|
31
|
+
const e = i.forwardRef(
|
|
32
|
+
(r, o) => /* @__PURE__ */ t.jsx(m, { direction: "up", ref: o, ...r })
|
|
33
|
+
);
|
|
34
|
+
function B({
|
|
35
|
+
children: r,
|
|
36
|
+
...o
|
|
37
|
+
}) {
|
|
38
|
+
return /* @__PURE__ */ t.jsx(p, { TransitionComponent: e, fullScreen: !0, ...o, children: r });
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
B as KdpaFullScreenDialog
|
|
42
|
+
};
|