@splunk/react-ui 4.20.0 → 4.21.1
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/Accordion.js +425 -441
- package/Anchor.js +147 -193
- package/Animation.js +142 -166
- package/AnimationToggle.js +197 -253
- package/Box.js +145 -194
- package/Breadcrumbs.js +288 -298
- package/Button.js +488 -613
- package/ButtonGroup.js +160 -212
- package/ButtonSimple.js +543 -562
- package/CHANGELOG.md +26 -0
- package/Calendar.js +1107 -1195
- package/Card.js +771 -746
- package/CardLayout.js +205 -223
- package/Chip.js +509 -612
- package/Clickable.js +416 -472
- package/CloseButton.js +165 -250
- package/Code.js +1808 -2172
- package/Code.js.LICENSE.txt +8 -0
- package/CollapsiblePanel.js +586 -675
- package/Color.js +1066 -1297
- package/ColumnLayout.js +402 -465
- package/ComboBox.js +892 -969
- package/Concertina.js +998 -963
- package/ControlGroup.js +687 -718
- package/Date.js +567 -697
- package/DefinitionList.js +308 -310
- package/Divider.js +149 -194
- package/Dropdown.js +459 -558
- package/DualListbox.js +1480 -1735
- package/EventListener.js +94 -165
- package/File.js +1051 -1173
- package/FormRows.js +885 -880
- package/Heading.js +216 -263
- package/Image.js +446 -558
- package/JSONTree.js +690 -699
- package/Layer.js +442 -582
- package/Link.js +336 -361
- package/List.js +213 -237
- package/Markdown.js +510 -612
- package/Menu.js +1109 -1331
- package/Message.js +474 -629
- package/MessageBar.js +387 -561
- package/Modal.js +810 -798
- package/ModalLayer.js +326 -343
- package/Monogram.js +308 -368
- package/Multiselect.js +3558 -3998
- package/Number.js +729 -843
- package/Paginator.js +510 -615
- package/Paragraph.js +145 -188
- package/Popover.js +1470 -1693
- package/Progress.js +301 -362
- package/RadioBar.js +610 -651
- package/RadioList.js +483 -544
- package/Resize.js +530 -623
- package/ResultsMenu.js +494 -597
- package/ScreenReaderContent.js +142 -187
- package/Scroll.js +595 -598
- package/ScrollContainerContext.js +197 -278
- package/Search.js +745 -817
- package/Select.js +2441 -2746
- package/SidePanel.js +390 -392
- package/Slider.js +668 -825
- package/SlidingPanels.js +639 -645
- package/SplitButton.js +464 -499
- package/StaticContent.js +161 -217
- package/StepBar.js +386 -466
- package/Switch.js +710 -764
- package/TabBar.js +724 -815
- package/TabLayout.js +406 -438
- package/Table.js +4842 -5121
- package/Text.js +1169 -1351
- package/TextArea.js +1097 -1307
- package/Tooltip.js +624 -721
- package/TransitionOpen.js +489 -546
- package/Typography.js +176 -229
- package/WaitSpinner.js +230 -298
- package/package.json +14 -15
- package/stubs-splunkui.d.ts +4 -1
- package/types/src/ComboBox/Option.d.ts +1 -1
- package/types/src/Concertina/Concertina.d.ts +4 -0
- package/types/src/JSONTree/JSONTreeContext.d.ts +7 -0
- package/types/src/JSONTree/TreeNode.d.ts +5 -0
- package/types/src/Link/Link.d.ts +7 -3
- package/types/src/Link/docs/examples/NewWindow.d.ts +2 -0
- package/types/src/Markdown/Markdown.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownHeading.d.ts +1 -1
- package/types/src/Menu/Item.d.ts +1 -1
- package/types/src/Menu/Menu.d.ts +1 -0
- package/types/src/MessageBar/docs/examples/WithActions.d.ts +2 -0
- package/types/src/Multiselect/Option.d.ts +1 -1
- package/types/src/Search/Option.d.ts +1 -1
- package/types/src/Select/Option.d.ts +1 -1
- package/types/src/Select/OptionBase.d.ts +1 -1
- package/types/src/fixtures/FetchOptions.d.ts +2 -8
- package/useForceUpdate.js +112 -146
- package/useKeyPress.js +74 -128
- package/usePrevious.js +65 -129
- package/useRovingFocus.js +122 -218
- package/types/src/Link/docs/examples/NewTab.d.ts +0 -2
- /package/types/src/Table/docs/examples/{DockedHeader.d.ts → DockedHeaderScrollbar.d.ts} +0 -0
- /package/types/src/Table/docs/examples/prisma/{DockedHeader.d.ts → DockedHeaderScrollbar.d.ts} +0 -0
package/AnimationToggle.js
CHANGED
|
@@ -1,123 +1,79 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/******/
|
|
4
|
-
/******/
|
|
5
|
-
/******/
|
|
6
|
-
/******/
|
|
7
|
-
|
|
8
|
-
/******/
|
|
9
|
-
/******/
|
|
10
|
-
/******/
|
|
11
|
-
/******/
|
|
12
|
-
/******/
|
|
13
|
-
/******/
|
|
14
|
-
/******/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/******/
|
|
20
|
-
/******/
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/
|
|
28
|
-
/******/
|
|
29
|
-
/******/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/******/
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/
|
|
37
|
-
/******/
|
|
38
|
-
/******/
|
|
39
|
-
/******/
|
|
40
|
-
/******/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/******/
|
|
44
|
-
/******/
|
|
45
|
-
/******/
|
|
46
|
-
/******/
|
|
47
|
-
/******/
|
|
48
|
-
/******/
|
|
49
|
-
/******/
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/******/
|
|
53
|
-
/******/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
/******/
|
|
57
|
-
/******/
|
|
58
|
-
/******/
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
78
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
79
|
-
/******/
|
|
80
|
-
/******/ // __webpack_public_path__
|
|
81
|
-
/******/ __webpack_require__.p = "";
|
|
82
|
-
/******/
|
|
83
|
-
/******/
|
|
84
|
-
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s = 192);
|
|
86
|
-
/******/ })
|
|
87
|
-
/************************************************************************/
|
|
88
|
-
/******/ ({
|
|
89
|
-
|
|
90
|
-
/***/ 1:
|
|
91
|
-
/***/ (function(module, exports) {
|
|
92
|
-
|
|
93
|
-
module.exports = require("prop-types");
|
|
94
|
-
|
|
95
|
-
/***/ }),
|
|
96
|
-
|
|
97
|
-
/***/ 192:
|
|
98
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
99
|
-
|
|
100
|
-
"use strict";
|
|
101
|
-
// ESM COMPAT FLAG
|
|
102
|
-
__webpack_require__.r(__webpack_exports__);
|
|
103
|
-
|
|
104
|
-
// EXPORTS
|
|
105
|
-
__webpack_require__.d(__webpack_exports__, "default", function() { return /* reexport */ AnimationToggle_AnimationToggle; });
|
|
106
|
-
__webpack_require__.d(__webpack_exports__, "AnimationToggleContext", function() { return /* reexport */ AnimationToggleContext; });
|
|
107
|
-
__webpack_require__.d(__webpack_exports__, "AnimationToggleProvider", function() { return /* reexport */ AnimationToggleProvider_AnimationToggleProvider; });
|
|
108
|
-
__webpack_require__.d(__webpack_exports__, "useAnimationToggle", function() { return /* reexport */ useAnimationToggle_useAnimationToggle; });
|
|
109
|
-
|
|
110
|
-
// EXTERNAL MODULE: external "react"
|
|
111
|
-
var external_react_ = __webpack_require__(2);
|
|
112
|
-
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
113
|
-
|
|
114
|
-
// EXTERNAL MODULE: external "prop-types"
|
|
115
|
-
var external_prop_types_ = __webpack_require__(1);
|
|
116
|
-
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
117
|
-
|
|
118
|
-
// CONCATENATED MODULE: ./src/AnimationToggle/AnimationToggleContext.tsx
|
|
119
|
-
|
|
120
|
-
/**
|
|
1
|
+
/******/ (() => {
|
|
2
|
+
// webpackBootstrap
|
|
3
|
+
/******/ "use strict";
|
|
4
|
+
/******/ // The require scope
|
|
5
|
+
/******/ var e = {};
|
|
6
|
+
/******/
|
|
7
|
+
/************************************************************************/
|
|
8
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
9
|
+
/******/ (() => {
|
|
10
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
11
|
+
/******/ e.n = r => {
|
|
12
|
+
/******/ var t = r && r.__esModule ?
|
|
13
|
+
/******/ () => r["default"]
|
|
14
|
+
/******/ : () => r
|
|
15
|
+
/******/;
|
|
16
|
+
e.d(t, {
|
|
17
|
+
a: t
|
|
18
|
+
});
|
|
19
|
+
/******/ return t;
|
|
20
|
+
/******/ };
|
|
21
|
+
/******/ })();
|
|
22
|
+
/******/
|
|
23
|
+
/******/ /* webpack/runtime/define property getters */
|
|
24
|
+
/******/ (() => {
|
|
25
|
+
/******/ // define getter functions for harmony exports
|
|
26
|
+
/******/ e.d = (r, t) => {
|
|
27
|
+
/******/ for (var n in t) {
|
|
28
|
+
/******/ if (e.o(t, n) && !e.o(r, n)) {
|
|
29
|
+
/******/ Object.defineProperty(r, n, {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: t[n]
|
|
32
|
+
});
|
|
33
|
+
/******/ }
|
|
34
|
+
/******/ }
|
|
35
|
+
/******/ };
|
|
36
|
+
/******/ })();
|
|
37
|
+
/******/
|
|
38
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
39
|
+
/******/ (() => {
|
|
40
|
+
/******/ e.o = (e, r) => Object.prototype.hasOwnProperty.call(e, r)
|
|
41
|
+
/******/;
|
|
42
|
+
})();
|
|
43
|
+
/******/
|
|
44
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
45
|
+
/******/ (() => {
|
|
46
|
+
/******/ // define __esModule on exports
|
|
47
|
+
/******/ e.r = e => {
|
|
48
|
+
/******/ if (typeof Symbol !== "undefined" && Symbol.toStringTag) {
|
|
49
|
+
/******/ Object.defineProperty(e, Symbol.toStringTag, {
|
|
50
|
+
value: "Module"
|
|
51
|
+
});
|
|
52
|
+
/******/ }
|
|
53
|
+
/******/ Object.defineProperty(e, "__esModule", {
|
|
54
|
+
value: true
|
|
55
|
+
});
|
|
56
|
+
/******/ };
|
|
57
|
+
/******/ })();
|
|
58
|
+
/******/
|
|
59
|
+
/************************************************************************/ var r = {};
|
|
60
|
+
// ESM COMPAT FLAG
|
|
61
|
+
e.r(r);
|
|
62
|
+
// EXPORTS
|
|
63
|
+
e.d(r, {
|
|
64
|
+
AnimationToggleContext: () => /* reexport */ u,
|
|
65
|
+
AnimationToggleProvider: () => /* reexport */ h,
|
|
66
|
+
default: () => /* reexport */ b,
|
|
67
|
+
useAnimationToggle: () => /* reexport */ v
|
|
68
|
+
});
|
|
69
|
+
// CONCATENATED MODULE: external "react"
|
|
70
|
+
const t = require("react");
|
|
71
|
+
var n = e.n(t);
|
|
72
|
+
// CONCATENATED MODULE: external "prop-types"
|
|
73
|
+
const o = require("prop-types");
|
|
74
|
+
var a = e.n(o);
|
|
75
|
+
// CONCATENATED MODULE: ./src/AnimationToggle/AnimationToggleContext.tsx
|
|
76
|
+
/**
|
|
121
77
|
* A React context used to control whether animations are enabled or disabled.
|
|
122
78
|
* Prefer `useAnimationToggle` or `AnimationToggle` over consuming this context
|
|
123
79
|
* directly, since they take the user's reduced motion preference into account.
|
|
@@ -126,144 +82,132 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
126
82
|
*
|
|
127
83
|
* @public
|
|
128
84
|
*/
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
function
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
85
|
+
var u = n().createContext(true);
|
|
86
|
+
// CONCATENATED MODULE: ./src/AnimationToggle/useAnimationToggle.tsx
|
|
87
|
+
function i(e, r) {
|
|
88
|
+
return s(e) || l(e, r) || c(e, r) || f();
|
|
89
|
+
}
|
|
90
|
+
function f() {
|
|
91
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
92
|
+
}
|
|
93
|
+
function c(e, r) {
|
|
94
|
+
if (!e) return;
|
|
95
|
+
if (typeof e === "string") return d(e, r);
|
|
96
|
+
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
97
|
+
if (t === "Object" && e.constructor) t = e.constructor.name;
|
|
98
|
+
if (t === "Map" || t === "Set") return Array.from(e);
|
|
99
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return d(e, r);
|
|
100
|
+
}
|
|
101
|
+
function d(e, r) {
|
|
102
|
+
if (r == null || r > e.length) r = e.length;
|
|
103
|
+
for (var t = 0, n = new Array(r); t < r; t++) {
|
|
104
|
+
n[t] = e[t];
|
|
105
|
+
}
|
|
106
|
+
return n;
|
|
107
|
+
}
|
|
108
|
+
function l(e, r) {
|
|
109
|
+
if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(e))) return;
|
|
110
|
+
var t = [];
|
|
111
|
+
var n = true;
|
|
112
|
+
var o = false;
|
|
113
|
+
var a = undefined;
|
|
114
|
+
try {
|
|
115
|
+
for (var u = e[Symbol.iterator](), i; !(n = (i = u.next()).done); n = true) {
|
|
116
|
+
t.push(i.value);
|
|
117
|
+
if (r && t.length === r) break;
|
|
118
|
+
}
|
|
119
|
+
} catch (e) {
|
|
120
|
+
o = true;
|
|
121
|
+
a = e;
|
|
122
|
+
} finally {
|
|
123
|
+
try {
|
|
124
|
+
if (!n && u["return"] != null) u["return"]();
|
|
125
|
+
} finally {
|
|
126
|
+
if (o) throw a;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return t;
|
|
130
|
+
}
|
|
131
|
+
function s(e) {
|
|
132
|
+
if (Array.isArray(e)) return e;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
148
135
|
* A React hook that combines the animation setting (see `AnimationToggleProvider`)
|
|
149
136
|
* and the user's reduced motion preference into one value.
|
|
150
137
|
*
|
|
151
138
|
* @returns {string} `'off'` if animations are disabled. If animations are enabled
|
|
152
139
|
* and the user prefers reduced motion, `'reduced'` is returned, `'on'` otherwise.
|
|
153
140
|
* @public
|
|
154
|
-
*/
|
|
155
|
-
|
|
156
|
-
var
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
return 'off';
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
// CONCATENATED MODULE: ./src/AnimationToggle/AnimationToggle.tsx
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
var callMeMaybe = function callMeMaybe(maybeFunction) {
|
|
197
|
-
return typeof maybeFunction === 'function' ? maybeFunction() : maybeFunction;
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
var propTypes = {
|
|
201
|
-
on: external_prop_types_default.a.oneOfType([external_prop_types_default.a.node, external_prop_types_default.a.func]).isRequired,
|
|
202
|
-
off: external_prop_types_default.a.oneOfType([external_prop_types_default.a.node, external_prop_types_default.a.func]).isRequired,
|
|
203
|
-
reduced: external_prop_types_default.a.oneOfType([external_prop_types_default.a.node, external_prop_types_default.a.func])
|
|
204
|
-
};
|
|
205
|
-
/**
|
|
141
|
+
*/ var v = function e() {
|
|
142
|
+
var r = (0, t.useContext)(u);
|
|
143
|
+
var n = "screen and (prefers-reduced-motion: reduce)";
|
|
144
|
+
var o = typeof window !== "undefined" && !!window.matchMedia;
|
|
145
|
+
var a = (0, t.useState)(o && window.matchMedia(n).matches), f = i(a, 2), c = f[0], d = f[1];
|
|
146
|
+
(0, t.useEffect)((function() {
|
|
147
|
+
if (o) {
|
|
148
|
+
var e = window.matchMedia(n);
|
|
149
|
+
var r = function r() {
|
|
150
|
+
d(e.matches);
|
|
151
|
+
};
|
|
152
|
+
e.addListener(r);
|
|
153
|
+
return function() {
|
|
154
|
+
e.removeListener(r);
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
return undefined;
|
|
158
|
+
}), [ o, n ]);
|
|
159
|
+
if (r) {
|
|
160
|
+
return c ? "reduced" : "on";
|
|
161
|
+
}
|
|
162
|
+
return "off";
|
|
163
|
+
};
|
|
164
|
+
// CONCATENATED MODULE: ./src/AnimationToggle/AnimationToggle.tsx
|
|
165
|
+
var m = function e(r) {
|
|
166
|
+
return typeof r === "function" ? r() : r;
|
|
167
|
+
};
|
|
168
|
+
var y = {
|
|
169
|
+
on: a().oneOfType([ a().node, a().func ]).isRequired,
|
|
170
|
+
off: a().oneOfType([ a().node, a().func ]).isRequired,
|
|
171
|
+
reduced: a().oneOfType([ a().node, a().func ])
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
206
174
|
* Used to allow animation to be externally controlled through a provider or user preference.
|
|
207
|
-
*/
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
var AnimationToggleProvider_propTypes = {
|
|
236
|
-
children: external_prop_types_default.a.node,
|
|
237
|
-
enabled: external_prop_types_default.a.bool
|
|
238
|
-
};
|
|
239
|
-
/**
|
|
175
|
+
*/ function p(e) {
|
|
176
|
+
var r = e.on, t = e.off, o = e.reduced;
|
|
177
|
+
var a = v();
|
|
178
|
+
if (a === "on") {
|
|
179
|
+
|
|
180
|
+
return n().createElement(n().Fragment, null, m(r));
|
|
181
|
+
}
|
|
182
|
+
if (a === "reduced" && o) {
|
|
183
|
+
|
|
184
|
+
return n().createElement(n().Fragment, null, m(o));
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
return n().createElement(n().Fragment, null, m(t));
|
|
188
|
+
// react-docgen ignores components that don't use JSX/React.createElement.
|
|
189
|
+
// the following line forces detection:
|
|
190
|
+
|
|
191
|
+
return n().createElement(n().Fragment, null);
|
|
192
|
+
// eslint-disable-line no-unreachable
|
|
193
|
+
}
|
|
194
|
+
p.propTypes = y;
|
|
195
|
+
/* harmony default export */ const b = p;
|
|
196
|
+
// CONCATENATED MODULE: ./src/AnimationToggle/AnimationToggleProvider.tsx
|
|
197
|
+
var g = {
|
|
198
|
+
children: a().node,
|
|
199
|
+
enabled: a().bool
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
240
202
|
* Used to provide a setting to enable or disable animation.
|
|
241
|
-
*/
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
AnimationToggleProvider_AnimationToggleProvider.propTypes = AnimationToggleProvider_propTypes;
|
|
253
|
-
|
|
254
|
-
// CONCATENATED MODULE: ./src/AnimationToggle/index.ts
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
/***/ }),
|
|
261
|
-
|
|
262
|
-
/***/ 2:
|
|
263
|
-
/***/ (function(module, exports) {
|
|
264
|
-
|
|
265
|
-
module.exports = require("react");
|
|
266
|
-
|
|
267
|
-
/***/ })
|
|
268
|
-
|
|
269
|
-
/******/ });
|
|
203
|
+
*/ var h = function e(r) {
|
|
204
|
+
var t = r.children, o = r.enabled, a = o === void 0 ? false : o;
|
|
205
|
+
|
|
206
|
+
return n().createElement(u.Provider, {
|
|
207
|
+
value: a
|
|
208
|
+
}, t);
|
|
209
|
+
};
|
|
210
|
+
h.propTypes = g;
|
|
211
|
+
// CONCATENATED MODULE: ./src/AnimationToggle/index.ts
|
|
212
|
+
module.exports = r;
|
|
213
|
+
/******/})();
|