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,255 @@
|
|
|
1
|
+
import { s as p, w as x, b as g, u as v, i as w, c as E, r as N, d as k } from "./identifier-9dfe30d8.js";
|
|
2
|
+
import * as u from "react";
|
|
3
|
+
import "./hoist-non-react-statics.cjs-ce2f2873.js";
|
|
4
|
+
var _ = {
|
|
5
|
+
name: "@emotion/react",
|
|
6
|
+
version: "11.11.0",
|
|
7
|
+
main: "dist/emotion-react.cjs.js",
|
|
8
|
+
module: "dist/emotion-react.esm.js",
|
|
9
|
+
browser: {
|
|
10
|
+
"./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
|
|
11
|
+
},
|
|
12
|
+
exports: {
|
|
13
|
+
".": {
|
|
14
|
+
module: {
|
|
15
|
+
worker: "./dist/emotion-react.worker.esm.js",
|
|
16
|
+
browser: "./dist/emotion-react.browser.esm.js",
|
|
17
|
+
default: "./dist/emotion-react.esm.js"
|
|
18
|
+
},
|
|
19
|
+
import: "./dist/emotion-react.cjs.mjs",
|
|
20
|
+
default: "./dist/emotion-react.cjs.js"
|
|
21
|
+
},
|
|
22
|
+
"./jsx-runtime": {
|
|
23
|
+
module: {
|
|
24
|
+
worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",
|
|
25
|
+
browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
|
|
26
|
+
default: "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
|
|
27
|
+
},
|
|
28
|
+
import: "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
|
|
29
|
+
default: "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
|
|
30
|
+
},
|
|
31
|
+
"./_isolated-hnrs": {
|
|
32
|
+
module: {
|
|
33
|
+
worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",
|
|
34
|
+
browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
|
|
35
|
+
default: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
|
|
36
|
+
},
|
|
37
|
+
import: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
|
|
38
|
+
default: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
|
|
39
|
+
},
|
|
40
|
+
"./jsx-dev-runtime": {
|
|
41
|
+
module: {
|
|
42
|
+
worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",
|
|
43
|
+
browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
|
|
44
|
+
default: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
|
|
45
|
+
},
|
|
46
|
+
import: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
|
|
47
|
+
default: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
|
|
48
|
+
},
|
|
49
|
+
"./package.json": "./package.json",
|
|
50
|
+
"./types/css-prop": "./types/css-prop.d.ts",
|
|
51
|
+
"./macro": {
|
|
52
|
+
types: {
|
|
53
|
+
import: "./macro.d.mts",
|
|
54
|
+
default: "./macro.d.ts"
|
|
55
|
+
},
|
|
56
|
+
default: "./macro.js"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
types: "types/index.d.ts",
|
|
60
|
+
files: [
|
|
61
|
+
"src",
|
|
62
|
+
"dist",
|
|
63
|
+
"jsx-runtime",
|
|
64
|
+
"jsx-dev-runtime",
|
|
65
|
+
"_isolated-hnrs",
|
|
66
|
+
"types/*.d.ts",
|
|
67
|
+
"macro.*"
|
|
68
|
+
],
|
|
69
|
+
sideEffects: !1,
|
|
70
|
+
author: "Emotion Contributors",
|
|
71
|
+
license: "MIT",
|
|
72
|
+
scripts: {
|
|
73
|
+
"test:typescript": "dtslint types"
|
|
74
|
+
},
|
|
75
|
+
dependencies: {
|
|
76
|
+
"@babel/runtime": "^7.18.3",
|
|
77
|
+
"@emotion/babel-plugin": "^11.11.0",
|
|
78
|
+
"@emotion/cache": "^11.11.0",
|
|
79
|
+
"@emotion/serialize": "^1.1.2",
|
|
80
|
+
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
|
|
81
|
+
"@emotion/utils": "^1.2.1",
|
|
82
|
+
"@emotion/weak-memoize": "^0.3.1",
|
|
83
|
+
"hoist-non-react-statics": "^3.3.1"
|
|
84
|
+
},
|
|
85
|
+
peerDependencies: {
|
|
86
|
+
react: ">=16.8.0"
|
|
87
|
+
},
|
|
88
|
+
peerDependenciesMeta: {
|
|
89
|
+
"@types/react": {
|
|
90
|
+
optional: !0
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
devDependencies: {
|
|
94
|
+
"@definitelytyped/dtslint": "0.0.112",
|
|
95
|
+
"@emotion/css": "11.11.0",
|
|
96
|
+
"@emotion/css-prettifier": "1.1.3",
|
|
97
|
+
"@emotion/server": "11.11.0",
|
|
98
|
+
"@emotion/styled": "11.11.0",
|
|
99
|
+
"html-tag-names": "^1.1.2",
|
|
100
|
+
react: "16.14.0",
|
|
101
|
+
"svg-tag-names": "^1.1.1",
|
|
102
|
+
typescript: "^4.5.5"
|
|
103
|
+
},
|
|
104
|
+
repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
|
|
105
|
+
publishConfig: {
|
|
106
|
+
access: "public"
|
|
107
|
+
},
|
|
108
|
+
"umd:main": "dist/emotion-react.umd.min.js",
|
|
109
|
+
preconstruct: {
|
|
110
|
+
entrypoints: [
|
|
111
|
+
"./index.js",
|
|
112
|
+
"./jsx-runtime.js",
|
|
113
|
+
"./jsx-dev-runtime.js",
|
|
114
|
+
"./_isolated-hnrs.js"
|
|
115
|
+
],
|
|
116
|
+
umdName: "emotionReact",
|
|
117
|
+
exports: {
|
|
118
|
+
envConditions: [
|
|
119
|
+
"browser",
|
|
120
|
+
"worker"
|
|
121
|
+
],
|
|
122
|
+
extra: {
|
|
123
|
+
"./types/css-prop": "./types/css-prop.d.ts",
|
|
124
|
+
"./macro": {
|
|
125
|
+
types: {
|
|
126
|
+
import: "./macro.d.mts",
|
|
127
|
+
default: "./macro.d.ts"
|
|
128
|
+
},
|
|
129
|
+
default: "./macro.js"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}, j = !1, C = /* @__PURE__ */ x(function(i, e) {
|
|
135
|
+
process.env.NODE_ENV !== "production" && !j && // check for className as well since the user is
|
|
136
|
+
// probably using the custom createElement which
|
|
137
|
+
// means it will be turned into a className prop
|
|
138
|
+
// $FlowFixMe I don't really want to add it to the type since it shouldn't be used
|
|
139
|
+
(i.className || i.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), j = !0);
|
|
140
|
+
var t = i.styles, r = p([t], void 0, u.useContext(g)), o = u.useRef();
|
|
141
|
+
return v(function() {
|
|
142
|
+
var n = e.key + "-global", s = new e.sheet.constructor({
|
|
143
|
+
key: n,
|
|
144
|
+
nonce: e.sheet.nonce,
|
|
145
|
+
container: e.sheet.container,
|
|
146
|
+
speedy: e.sheet.isSpeedy
|
|
147
|
+
}), a = !1, l = document.querySelector('style[data-emotion="' + n + " " + r.name + '"]');
|
|
148
|
+
return e.sheet.tags.length && (s.before = e.sheet.tags[0]), l !== null && (a = !0, l.setAttribute("data-emotion", n), s.hydrate([l])), o.current = [s, a], function() {
|
|
149
|
+
s.flush();
|
|
150
|
+
};
|
|
151
|
+
}, [e]), v(function() {
|
|
152
|
+
var n = o.current, s = n[0], a = n[1];
|
|
153
|
+
if (a) {
|
|
154
|
+
n[1] = !1;
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
if (r.next !== void 0 && w(e, r.next, !0), s.tags.length) {
|
|
158
|
+
var l = s.tags[s.tags.length - 1].nextElementSibling;
|
|
159
|
+
s.before = l, s.flush();
|
|
160
|
+
}
|
|
161
|
+
e.insert("", r, s, !1);
|
|
162
|
+
}, [e, r.name]), null;
|
|
163
|
+
});
|
|
164
|
+
process.env.NODE_ENV !== "production" && (C.displayName = "EmotionGlobal");
|
|
165
|
+
function O() {
|
|
166
|
+
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
167
|
+
e[t] = arguments[t];
|
|
168
|
+
return p(e);
|
|
169
|
+
}
|
|
170
|
+
var A = function() {
|
|
171
|
+
var e = O.apply(void 0, arguments), t = "animation-" + e.name;
|
|
172
|
+
return {
|
|
173
|
+
name: t,
|
|
174
|
+
styles: "@keyframes " + t + "{" + e.styles + "}",
|
|
175
|
+
anim: 1,
|
|
176
|
+
toString: function() {
|
|
177
|
+
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
}, S = function i(e) {
|
|
181
|
+
for (var t = e.length, r = 0, o = ""; r < t; r++) {
|
|
182
|
+
var n = e[r];
|
|
183
|
+
if (n != null) {
|
|
184
|
+
var s = void 0;
|
|
185
|
+
switch (typeof n) {
|
|
186
|
+
case "boolean":
|
|
187
|
+
break;
|
|
188
|
+
case "object": {
|
|
189
|
+
if (Array.isArray(n))
|
|
190
|
+
s = i(n);
|
|
191
|
+
else {
|
|
192
|
+
process.env.NODE_ENV !== "production" && n.styles !== void 0 && n.name !== void 0 && console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."), s = "";
|
|
193
|
+
for (var a in n)
|
|
194
|
+
n[a] && a && (s && (s += " "), s += a);
|
|
195
|
+
}
|
|
196
|
+
break;
|
|
197
|
+
}
|
|
198
|
+
default:
|
|
199
|
+
s = n;
|
|
200
|
+
}
|
|
201
|
+
s && (o && (o += " "), o += s);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
return o;
|
|
205
|
+
};
|
|
206
|
+
function D(i, e, t) {
|
|
207
|
+
var r = [], o = k(i, r, t);
|
|
208
|
+
return r.length < 2 ? t : o + e(r);
|
|
209
|
+
}
|
|
210
|
+
var z = function(e) {
|
|
211
|
+
var t = e.cache, r = e.serializedArr;
|
|
212
|
+
return E(function() {
|
|
213
|
+
for (var o = 0; o < r.length; o++)
|
|
214
|
+
w(t, r[o], !1);
|
|
215
|
+
}), null;
|
|
216
|
+
}, R = /* @__PURE__ */ x(function(i, e) {
|
|
217
|
+
var t = !1, r = [], o = function() {
|
|
218
|
+
if (t && process.env.NODE_ENV !== "production")
|
|
219
|
+
throw new Error("css can only be used during render");
|
|
220
|
+
for (var d = arguments.length, c = new Array(d), m = 0; m < d; m++)
|
|
221
|
+
c[m] = arguments[m];
|
|
222
|
+
var f = p(c, e.registered);
|
|
223
|
+
return r.push(f), N(e, f, !1), e.key + "-" + f.name;
|
|
224
|
+
}, n = function() {
|
|
225
|
+
if (t && process.env.NODE_ENV !== "production")
|
|
226
|
+
throw new Error("cx can only be used during render");
|
|
227
|
+
for (var d = arguments.length, c = new Array(d), m = 0; m < d; m++)
|
|
228
|
+
c[m] = arguments[m];
|
|
229
|
+
return D(e.registered, o, S(c));
|
|
230
|
+
}, s = {
|
|
231
|
+
css: o,
|
|
232
|
+
cx: n,
|
|
233
|
+
theme: u.useContext(g)
|
|
234
|
+
}, a = i.children(s);
|
|
235
|
+
return t = !0, /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement(z, {
|
|
236
|
+
cache: e,
|
|
237
|
+
serializedArr: r
|
|
238
|
+
}), a);
|
|
239
|
+
});
|
|
240
|
+
process.env.NODE_ENV !== "production" && (R.displayName = "EmotionClassNames");
|
|
241
|
+
if (process.env.NODE_ENV !== "production") {
|
|
242
|
+
var h = !0, I = typeof jest < "u" || typeof vi < "u";
|
|
243
|
+
if (h && !I) {
|
|
244
|
+
var y = (
|
|
245
|
+
// $FlowIgnore
|
|
246
|
+
typeof globalThis < "u" ? globalThis : h ? window : global
|
|
247
|
+
), b = "__EMOTION_REACT_" + _.version.split(".")[0] + "__";
|
|
248
|
+
y[b] && console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."), y[b] = !0;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
export {
|
|
252
|
+
C as G,
|
|
253
|
+
O as c,
|
|
254
|
+
A as k
|
|
255
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const n = "exact-prop: ";
|
|
2
|
+
function p(e) {
|
|
3
|
+
return process.env.NODE_ENV === "production" ? e : {
|
|
4
|
+
...e,
|
|
5
|
+
[n]: (o) => {
|
|
6
|
+
const t = Object.keys(o).filter((r) => !e.hasOwnProperty(r));
|
|
7
|
+
return t.length > 0 ? new Error(`The following props are not supported: ${t.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
p as e
|
|
13
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { a as u, _ as i } from "./extends-393586f3.js";
|
|
2
|
+
import { e as a, f as c } from "./identifier-9dfe30d8.js";
|
|
3
|
+
const x = ["sx"], m = (t) => {
|
|
4
|
+
var s, n;
|
|
5
|
+
const o = {
|
|
6
|
+
systemProps: {},
|
|
7
|
+
otherProps: {}
|
|
8
|
+
}, r = (s = t == null || (n = t.theme) == null ? void 0 : n.unstable_sxConfig) != null ? s : a;
|
|
9
|
+
return Object.keys(t).forEach((e) => {
|
|
10
|
+
r[e] ? o.systemProps[e] = t[e] : o.otherProps[e] = t[e];
|
|
11
|
+
}), o;
|
|
12
|
+
};
|
|
13
|
+
function d(t) {
|
|
14
|
+
const {
|
|
15
|
+
sx: s
|
|
16
|
+
} = t, n = u(t, x), {
|
|
17
|
+
systemProps: o,
|
|
18
|
+
otherProps: r
|
|
19
|
+
} = m(n);
|
|
20
|
+
let e;
|
|
21
|
+
return Array.isArray(s) ? e = [o, ...s] : typeof s == "function" ? e = (...f) => {
|
|
22
|
+
const l = s(...f);
|
|
23
|
+
return c(l) ? i({}, o, l) : o;
|
|
24
|
+
} : e = i({}, o, s), i({}, r, {
|
|
25
|
+
sx: e
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
d as e
|
|
30
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function s(t, e) {
|
|
2
|
+
if (t == null)
|
|
3
|
+
return {};
|
|
4
|
+
var n = {}, r = Object.keys(t), a, i;
|
|
5
|
+
for (i = 0; i < r.length; i++)
|
|
6
|
+
a = r[i], !(e.indexOf(a) >= 0) && (n[a] = t[a]);
|
|
7
|
+
return n;
|
|
8
|
+
}
|
|
9
|
+
function o() {
|
|
10
|
+
return o = Object.assign ? Object.assign.bind() : function(t) {
|
|
11
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
12
|
+
var n = arguments[e];
|
|
13
|
+
for (var r in n)
|
|
14
|
+
Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
|
|
15
|
+
}
|
|
16
|
+
return t;
|
|
17
|
+
}, o.apply(this, arguments);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
o as _,
|
|
21
|
+
s as a
|
|
22
|
+
};
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { g as ue } from "./_commonjsHelpers-92157f1b.js";
|
|
2
|
+
var M = { exports: {} }, o = {};
|
|
3
|
+
/** @license React v16.13.1
|
|
4
|
+
* react-is.production.min.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
var I;
|
|
12
|
+
function le() {
|
|
13
|
+
if (I)
|
|
14
|
+
return o;
|
|
15
|
+
I = 1;
|
|
16
|
+
var t = typeof Symbol == "function" && Symbol.for, s = t ? Symbol.for("react.element") : 60103, d = t ? Symbol.for("react.portal") : 60106, u = t ? Symbol.for("react.fragment") : 60107, f = t ? Symbol.for("react.strict_mode") : 60108, y = t ? Symbol.for("react.profiler") : 60114, m = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, i = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, v = t ? Symbol.for("react.forward_ref") : 60112, S = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, E = t ? Symbol.for("react.memo") : 60115, _ = t ? Symbol.for("react.lazy") : 60116, R = t ? Symbol.for("react.block") : 60121, $ = t ? Symbol.for("react.fundamental") : 60117, C = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
|
|
17
|
+
function c(e) {
|
|
18
|
+
if (typeof e == "object" && e !== null) {
|
|
19
|
+
var T = e.$$typeof;
|
|
20
|
+
switch (T) {
|
|
21
|
+
case s:
|
|
22
|
+
switch (e = e.type, e) {
|
|
23
|
+
case i:
|
|
24
|
+
case p:
|
|
25
|
+
case u:
|
|
26
|
+
case y:
|
|
27
|
+
case f:
|
|
28
|
+
case S:
|
|
29
|
+
return e;
|
|
30
|
+
default:
|
|
31
|
+
switch (e = e && e.$$typeof, e) {
|
|
32
|
+
case l:
|
|
33
|
+
case v:
|
|
34
|
+
case _:
|
|
35
|
+
case E:
|
|
36
|
+
case m:
|
|
37
|
+
return e;
|
|
38
|
+
default:
|
|
39
|
+
return T;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
case d:
|
|
43
|
+
return T;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function a(e) {
|
|
48
|
+
return c(e) === p;
|
|
49
|
+
}
|
|
50
|
+
return o.AsyncMode = i, o.ConcurrentMode = p, o.ContextConsumer = l, o.ContextProvider = m, o.Element = s, o.ForwardRef = v, o.Fragment = u, o.Lazy = _, o.Memo = E, o.Portal = d, o.Profiler = y, o.StrictMode = f, o.Suspense = S, o.isAsyncMode = function(e) {
|
|
51
|
+
return a(e) || c(e) === i;
|
|
52
|
+
}, o.isConcurrentMode = a, o.isContextConsumer = function(e) {
|
|
53
|
+
return c(e) === l;
|
|
54
|
+
}, o.isContextProvider = function(e) {
|
|
55
|
+
return c(e) === m;
|
|
56
|
+
}, o.isElement = function(e) {
|
|
57
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
58
|
+
}, o.isForwardRef = function(e) {
|
|
59
|
+
return c(e) === v;
|
|
60
|
+
}, o.isFragment = function(e) {
|
|
61
|
+
return c(e) === u;
|
|
62
|
+
}, o.isLazy = function(e) {
|
|
63
|
+
return c(e) === _;
|
|
64
|
+
}, o.isMemo = function(e) {
|
|
65
|
+
return c(e) === E;
|
|
66
|
+
}, o.isPortal = function(e) {
|
|
67
|
+
return c(e) === d;
|
|
68
|
+
}, o.isProfiler = function(e) {
|
|
69
|
+
return c(e) === y;
|
|
70
|
+
}, o.isStrictMode = function(e) {
|
|
71
|
+
return c(e) === f;
|
|
72
|
+
}, o.isSuspense = function(e) {
|
|
73
|
+
return c(e) === S;
|
|
74
|
+
}, o.isValidElementType = function(e) {
|
|
75
|
+
return typeof e == "string" || typeof e == "function" || e === u || e === p || e === y || e === f || e === S || e === b || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === E || e.$$typeof === m || e.$$typeof === l || e.$$typeof === v || e.$$typeof === $ || e.$$typeof === C || e.$$typeof === x || e.$$typeof === R);
|
|
76
|
+
}, o.typeOf = c, o;
|
|
77
|
+
}
|
|
78
|
+
var n = {};
|
|
79
|
+
/** @license React v16.13.1
|
|
80
|
+
* react-is.development.js
|
|
81
|
+
*
|
|
82
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the MIT license found in the
|
|
85
|
+
* LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/
|
|
87
|
+
var Y;
|
|
88
|
+
function ye() {
|
|
89
|
+
return Y || (Y = 1, process.env.NODE_ENV !== "production" && function() {
|
|
90
|
+
var t = typeof Symbol == "function" && Symbol.for, s = t ? Symbol.for("react.element") : 60103, d = t ? Symbol.for("react.portal") : 60106, u = t ? Symbol.for("react.fragment") : 60107, f = t ? Symbol.for("react.strict_mode") : 60108, y = t ? Symbol.for("react.profiler") : 60114, m = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, i = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, v = t ? Symbol.for("react.forward_ref") : 60112, S = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, E = t ? Symbol.for("react.memo") : 60115, _ = t ? Symbol.for("react.lazy") : 60116, R = t ? Symbol.for("react.block") : 60121, $ = t ? Symbol.for("react.fundamental") : 60117, C = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
|
|
91
|
+
function c(r) {
|
|
92
|
+
return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
93
|
+
r === u || r === p || r === y || r === f || r === S || r === b || typeof r == "object" && r !== null && (r.$$typeof === _ || r.$$typeof === E || r.$$typeof === m || r.$$typeof === l || r.$$typeof === v || r.$$typeof === $ || r.$$typeof === C || r.$$typeof === x || r.$$typeof === R);
|
|
94
|
+
}
|
|
95
|
+
function a(r) {
|
|
96
|
+
if (typeof r == "object" && r !== null) {
|
|
97
|
+
var A = r.$$typeof;
|
|
98
|
+
switch (A) {
|
|
99
|
+
case s:
|
|
100
|
+
var P = r.type;
|
|
101
|
+
switch (P) {
|
|
102
|
+
case i:
|
|
103
|
+
case p:
|
|
104
|
+
case u:
|
|
105
|
+
case y:
|
|
106
|
+
case f:
|
|
107
|
+
case S:
|
|
108
|
+
return P;
|
|
109
|
+
default:
|
|
110
|
+
var F = P && P.$$typeof;
|
|
111
|
+
switch (F) {
|
|
112
|
+
case l:
|
|
113
|
+
case v:
|
|
114
|
+
case _:
|
|
115
|
+
case E:
|
|
116
|
+
case m:
|
|
117
|
+
return F;
|
|
118
|
+
default:
|
|
119
|
+
return A;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
case d:
|
|
123
|
+
return A;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
var e = i, T = p, V = l, q = m, U = s, W = v, K = u, B = _, G = E, X = d, Z = y, H = f, J = S, w = !1;
|
|
128
|
+
function Q(r) {
|
|
129
|
+
return w || (w = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), N(r) || a(r) === i;
|
|
130
|
+
}
|
|
131
|
+
function N(r) {
|
|
132
|
+
return a(r) === p;
|
|
133
|
+
}
|
|
134
|
+
function k(r) {
|
|
135
|
+
return a(r) === l;
|
|
136
|
+
}
|
|
137
|
+
function ee(r) {
|
|
138
|
+
return a(r) === m;
|
|
139
|
+
}
|
|
140
|
+
function re(r) {
|
|
141
|
+
return typeof r == "object" && r !== null && r.$$typeof === s;
|
|
142
|
+
}
|
|
143
|
+
function te(r) {
|
|
144
|
+
return a(r) === v;
|
|
145
|
+
}
|
|
146
|
+
function oe(r) {
|
|
147
|
+
return a(r) === u;
|
|
148
|
+
}
|
|
149
|
+
function ne(r) {
|
|
150
|
+
return a(r) === _;
|
|
151
|
+
}
|
|
152
|
+
function ae(r) {
|
|
153
|
+
return a(r) === E;
|
|
154
|
+
}
|
|
155
|
+
function ce(r) {
|
|
156
|
+
return a(r) === d;
|
|
157
|
+
}
|
|
158
|
+
function se(r) {
|
|
159
|
+
return a(r) === y;
|
|
160
|
+
}
|
|
161
|
+
function fe(r) {
|
|
162
|
+
return a(r) === f;
|
|
163
|
+
}
|
|
164
|
+
function ie(r) {
|
|
165
|
+
return a(r) === S;
|
|
166
|
+
}
|
|
167
|
+
n.AsyncMode = e, n.ConcurrentMode = T, n.ContextConsumer = V, n.ContextProvider = q, n.Element = U, n.ForwardRef = W, n.Fragment = K, n.Lazy = B, n.Memo = G, n.Portal = X, n.Profiler = Z, n.StrictMode = H, n.Suspense = J, n.isAsyncMode = Q, n.isConcurrentMode = N, n.isContextConsumer = k, n.isContextProvider = ee, n.isElement = re, n.isForwardRef = te, n.isFragment = oe, n.isLazy = ne, n.isMemo = ae, n.isPortal = ce, n.isProfiler = se, n.isStrictMode = fe, n.isSuspense = ie, n.isValidElementType = c, n.typeOf = a;
|
|
168
|
+
}()), n;
|
|
169
|
+
}
|
|
170
|
+
process.env.NODE_ENV === "production" ? M.exports = le() : M.exports = ye();
|
|
171
|
+
var me = M.exports, O = me, de = {
|
|
172
|
+
childContextTypes: !0,
|
|
173
|
+
contextType: !0,
|
|
174
|
+
contextTypes: !0,
|
|
175
|
+
defaultProps: !0,
|
|
176
|
+
displayName: !0,
|
|
177
|
+
getDefaultProps: !0,
|
|
178
|
+
getDerivedStateFromError: !0,
|
|
179
|
+
getDerivedStateFromProps: !0,
|
|
180
|
+
mixins: !0,
|
|
181
|
+
propTypes: !0,
|
|
182
|
+
type: !0
|
|
183
|
+
}, pe = {
|
|
184
|
+
name: !0,
|
|
185
|
+
length: !0,
|
|
186
|
+
prototype: !0,
|
|
187
|
+
caller: !0,
|
|
188
|
+
callee: !0,
|
|
189
|
+
arguments: !0,
|
|
190
|
+
arity: !0
|
|
191
|
+
}, ve = {
|
|
192
|
+
$$typeof: !0,
|
|
193
|
+
render: !0,
|
|
194
|
+
defaultProps: !0,
|
|
195
|
+
displayName: !0,
|
|
196
|
+
propTypes: !0
|
|
197
|
+
}, j = {
|
|
198
|
+
$$typeof: !0,
|
|
199
|
+
compare: !0,
|
|
200
|
+
defaultProps: !0,
|
|
201
|
+
displayName: !0,
|
|
202
|
+
propTypes: !0,
|
|
203
|
+
type: !0
|
|
204
|
+
}, g = {};
|
|
205
|
+
g[O.ForwardRef] = ve;
|
|
206
|
+
g[O.Memo] = j;
|
|
207
|
+
function h(t) {
|
|
208
|
+
return O.isMemo(t) ? j : g[t.$$typeof] || de;
|
|
209
|
+
}
|
|
210
|
+
var Se = Object.defineProperty, Ee = Object.getOwnPropertyNames, D = Object.getOwnPropertySymbols, _e = Object.getOwnPropertyDescriptor, Te = Object.getPrototypeOf, L = Object.prototype;
|
|
211
|
+
function z(t, s, d) {
|
|
212
|
+
if (typeof s != "string") {
|
|
213
|
+
if (L) {
|
|
214
|
+
var u = Te(s);
|
|
215
|
+
u && u !== L && z(t, u, d);
|
|
216
|
+
}
|
|
217
|
+
var f = Ee(s);
|
|
218
|
+
D && (f = f.concat(D(s)));
|
|
219
|
+
for (var y = h(t), m = h(s), l = 0; l < f.length; ++l) {
|
|
220
|
+
var i = f[l];
|
|
221
|
+
if (!pe[i] && !(d && d[i]) && !(m && m[i]) && !(y && y[i])) {
|
|
222
|
+
var p = _e(s, i);
|
|
223
|
+
try {
|
|
224
|
+
Se(t, i, p);
|
|
225
|
+
} catch {
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
return t;
|
|
231
|
+
}
|
|
232
|
+
var Pe = z;
|
|
233
|
+
const Re = /* @__PURE__ */ ue(Pe);
|
|
234
|
+
export {
|
|
235
|
+
Re as y
|
|
236
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import i from "react";
|
|
2
|
+
var f = {
|
|
3
|
+
color: void 0,
|
|
4
|
+
size: void 0,
|
|
5
|
+
className: void 0,
|
|
6
|
+
style: void 0,
|
|
7
|
+
attr: void 0
|
|
8
|
+
}, s = i.createContext && i.createContext(f), l = globalThis && globalThis.__assign || function() {
|
|
9
|
+
return l = Object.assign || function(e) {
|
|
10
|
+
for (var r, t = 1, n = arguments.length; t < n; t++) {
|
|
11
|
+
r = arguments[t];
|
|
12
|
+
for (var a in r)
|
|
13
|
+
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
14
|
+
}
|
|
15
|
+
return e;
|
|
16
|
+
}, l.apply(this, arguments);
|
|
17
|
+
}, d = globalThis && globalThis.__rest || function(e, r) {
|
|
18
|
+
var t = {};
|
|
19
|
+
for (var n in e)
|
|
20
|
+
Object.prototype.hasOwnProperty.call(e, n) && r.indexOf(n) < 0 && (t[n] = e[n]);
|
|
21
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
22
|
+
for (var a = 0, n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
23
|
+
r.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (t[n[a]] = e[n[a]]);
|
|
24
|
+
return t;
|
|
25
|
+
};
|
|
26
|
+
function m(e) {
|
|
27
|
+
return e && e.map(function(r, t) {
|
|
28
|
+
return i.createElement(r.tag, l({
|
|
29
|
+
key: t
|
|
30
|
+
}, r.attr), m(r.child));
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function v(e) {
|
|
34
|
+
return function(r) {
|
|
35
|
+
return i.createElement(h, l({
|
|
36
|
+
attr: l({}, e.attr)
|
|
37
|
+
}, r), m(e.child));
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function h(e) {
|
|
41
|
+
var r = function(t) {
|
|
42
|
+
var n = e.attr, a = e.size, c = e.title, g = d(e, ["attr", "size", "title"]), u = a || t.size || "1em", o;
|
|
43
|
+
return t.className && (o = t.className), e.className && (o = (o ? o + " " : "") + e.className), i.createElement("svg", l({
|
|
44
|
+
stroke: "currentColor",
|
|
45
|
+
fill: "currentColor",
|
|
46
|
+
strokeWidth: "0"
|
|
47
|
+
}, t.attr, n, g, {
|
|
48
|
+
className: o,
|
|
49
|
+
style: l(l({
|
|
50
|
+
color: e.color || t.color
|
|
51
|
+
}, t.style), e.style),
|
|
52
|
+
height: u,
|
|
53
|
+
width: u,
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
55
|
+
}), c && i.createElement("title", null, c), e.children);
|
|
56
|
+
};
|
|
57
|
+
return s !== void 0 ? i.createElement(s.Consumer, null, function(t) {
|
|
58
|
+
return r(t);
|
|
59
|
+
}) : r(f);
|
|
60
|
+
}
|
|
61
|
+
export {
|
|
62
|
+
v as G
|
|
63
|
+
};
|