@capillarytech/blaze-ui 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/CapButton/index.js +1 -43
  2. package/dist/CapButton/index.js.map +1 -1
  3. package/dist/CapError/CapError.d.ts +8 -0
  4. package/dist/CapError/CapError.d.ts.map +1 -0
  5. package/dist/CapError/CapError.interfaces.d.ts +14 -0
  6. package/dist/CapError/CapError.interfaces.d.ts.map +1 -0
  7. package/dist/CapError/README.md +88 -0
  8. package/dist/CapError/index.d.ts +3 -0
  9. package/dist/CapError/index.d.ts.map +1 -0
  10. package/dist/CapError/index.js +708 -0
  11. package/dist/CapError/index.js.map +1 -0
  12. package/dist/CapError/tests/CapError.mockData.d.ts +46 -0
  13. package/dist/CapError/tests/CapError.mockData.d.ts.map +1 -0
  14. package/dist/CapError/tests/CapError.test.d.ts +2 -0
  15. package/dist/CapError/tests/CapError.test.d.ts.map +1 -0
  16. package/dist/CapIcon/CapIcon.d.ts.map +1 -1
  17. package/dist/CapIcon/index.js +1 -43
  18. package/dist/CapIcon/index.js.map +1 -1
  19. package/dist/CapImage/CapImage.d.ts +1 -0
  20. package/dist/CapImage/CapImage.d.ts.map +1 -1
  21. package/dist/CapImage/index.js +2 -2
  22. package/dist/CapImage/index.js.map +1 -1
  23. package/dist/CapTooltipWithInfo/index.js +1 -43
  24. package/dist/CapTooltipWithInfo/index.js.map +1 -1
  25. package/dist/CapUnifiedSelect/index.js +1 -43
  26. package/dist/CapUnifiedSelect/index.js.map +1 -1
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +97 -422
  30. package/dist/index.js.map +1 -1
  31. package/dist/styled/variables.scss +0 -2
  32. package/package.json +11 -6
  33. package/dist/CapSlideBox/CapSlideBox.d.ts +0 -5
  34. package/dist/CapSlideBox/CapSlideBox.d.ts.map +0 -1
  35. package/dist/CapSlideBox/CapSlideBox.interfaces.d.ts +0 -15
  36. package/dist/CapSlideBox/CapSlideBox.interfaces.d.ts.map +0 -1
  37. package/dist/CapSlideBox/README.md +0 -68
  38. package/dist/CapSlideBox/index.d.ts +0 -3
  39. package/dist/CapSlideBox/index.d.ts.map +0 -1
  40. package/dist/CapSlideBox/index.js +0 -18456
  41. package/dist/CapSlideBox/index.js.map +0 -1
  42. package/dist/CapSlideBox/tests/CapSlideBox.mockData.d.ts +0 -16
  43. package/dist/CapSlideBox/tests/CapSlideBox.mockData.d.ts.map +0 -1
  44. package/dist/CapSlideBox/tests/CapSlideBox.test.d.ts +0 -2
  45. package/dist/CapSlideBox/tests/CapSlideBox.test.d.ts.map +0 -1
  46. package/dist/CapSlideBox/tests/__snapshots__/CapSlideBox.test.tsx.snap +0 -637
  47. package/dist/assets/Icons/Back.d.ts +0 -7
  48. package/dist/assets/Icons/Back.d.ts.map +0 -1
  49. package/dist/assets/Icons/index.d.ts +0 -2
  50. package/dist/assets/Icons/index.d.ts.map +0 -1
@@ -0,0 +1,708 @@
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ var __webpack_modules__ = ({
3
+
4
+ /***/ 540:
5
+ /***/ ((module) => {
6
+
7
+ "use strict";
8
+
9
+
10
+ /* istanbul ignore next */
11
+ function insertStyleElement(options) {
12
+ var element = document.createElement("style");
13
+ options.setAttributes(element, options.attributes);
14
+ options.insert(element, options.options);
15
+ return element;
16
+ }
17
+ module.exports = insertStyleElement;
18
+
19
+ /***/ }),
20
+
21
+ /***/ 1020:
22
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
23
+
24
+ "use strict";
25
+ /**
26
+ * @license React
27
+ * react-jsx-runtime.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */
34
+ var f=__webpack_require__(9206),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
35
+ function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;
36
+
37
+
38
+ /***/ }),
39
+
40
+ /***/ 1601:
41
+ /***/ ((module) => {
42
+
43
+ "use strict";
44
+
45
+
46
+ module.exports = function (i) {
47
+ return i[1];
48
+ };
49
+
50
+ /***/ }),
51
+
52
+ /***/ 2913:
53
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
54
+
55
+ "use strict";
56
+
57
+
58
+ exports.__esModule = true;
59
+ exports["default"] = void 0;
60
+ var _classnames = _interopRequireDefault(__webpack_require__(6942));
61
+ var _react = _interopRequireDefault(__webpack_require__(9206));
62
+ var _styles = _interopRequireDefault(__webpack_require__(4555));
63
+ var _jsxRuntime = __webpack_require__(4848);
64
+ const _excluded = ["children", "type", "className", "style"],
65
+ _excluded2 = ["children", "type", "className", "style"];
66
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
67
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
68
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
69
+ const CapError = _ref => {
70
+ let {
71
+ children,
72
+ type = 'error',
73
+ className = '',
74
+ style = {}
75
+ } = _ref,
76
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
77
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _extends({
78
+ className: (0, _classnames.default)(_styles.default['cap-error'], _styles.default[type], className),
79
+ style: style
80
+ }, rest, {
81
+ children: children
82
+ }));
83
+ };
84
+ const CapErrorInline = _ref2 => {
85
+ let {
86
+ children,
87
+ type = 'error',
88
+ className = '',
89
+ style = {}
90
+ } = _ref2,
91
+ rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
92
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
93
+ className: (0, _classnames.default)(_styles.default['cap-error'], _styles.default['cap-error-inline'], _styles.default[type], className),
94
+ style: style
95
+ }, rest, {
96
+ children: children
97
+ }));
98
+ };
99
+ const CapErrorWithStatic = CapError;
100
+ CapErrorWithStatic.CapErrorInline = CapErrorInline;
101
+ var _default = exports["default"] = CapErrorWithStatic;
102
+
103
+ /***/ }),
104
+
105
+ /***/ 3752:
106
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
107
+
108
+ // Imports
109
+ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
110
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
111
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
112
+ // Module
113
+ ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-error{font-size:.857rem;font-weight:400;line-height:1.429rem}.blaze-ui-cap-error.blaze-ui-error{color:#ea213a}.blaze-ui-cap-error.blaze-ui-warning{color:#f87d23}.blaze-ui-cap-error.blaze-ui-cap-error-inline{display:inline}`, ""]);
114
+ // Exports
115
+ ___CSS_LOADER_EXPORT___.locals = {
116
+ "cap-error": `blaze-ui-cap-error`,
117
+ "error": `blaze-ui-error`,
118
+ "warning": `blaze-ui-warning`,
119
+ "cap-error-inline": `blaze-ui-cap-error-inline`
120
+ };
121
+ module.exports = ___CSS_LOADER_EXPORT___;
122
+
123
+
124
+ /***/ }),
125
+
126
+ /***/ 4284:
127
+ /***/ ((module) => {
128
+
129
+ "use strict";
130
+
131
+
132
+ /* istanbul ignore next */
133
+ var replaceText = function replaceText() {
134
+ var textStore = [];
135
+ return function replace(index, replacement) {
136
+ textStore[index] = replacement;
137
+ return textStore.filter(Boolean).join("\n");
138
+ };
139
+ }();
140
+
141
+ /* istanbul ignore next */
142
+ function apply(styleElement, index, remove, obj) {
143
+ var css;
144
+ if (remove) {
145
+ css = "";
146
+ } else {
147
+ css = "";
148
+ if (obj.supports) {
149
+ css += "@supports (".concat(obj.supports, ") {");
150
+ }
151
+ if (obj.media) {
152
+ css += "@media ".concat(obj.media, " {");
153
+ }
154
+ var needLayer = typeof obj.layer !== "undefined";
155
+ if (needLayer) {
156
+ css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
157
+ }
158
+ css += obj.css;
159
+ if (needLayer) {
160
+ css += "}";
161
+ }
162
+ if (obj.media) {
163
+ css += "}";
164
+ }
165
+ if (obj.supports) {
166
+ css += "}";
167
+ }
168
+ }
169
+
170
+ // For old IE
171
+ /* istanbul ignore if */
172
+ if (styleElement.styleSheet) {
173
+ styleElement.styleSheet.cssText = replaceText(index, css);
174
+ } else {
175
+ var cssNode = document.createTextNode(css);
176
+ var childNodes = styleElement.childNodes;
177
+ if (childNodes[index]) {
178
+ styleElement.removeChild(childNodes[index]);
179
+ }
180
+ if (childNodes.length) {
181
+ styleElement.insertBefore(cssNode, childNodes[index]);
182
+ } else {
183
+ styleElement.appendChild(cssNode);
184
+ }
185
+ }
186
+ }
187
+ var singletonData = {
188
+ singleton: null,
189
+ singletonCounter: 0
190
+ };
191
+
192
+ /* istanbul ignore next */
193
+ function domAPI(options) {
194
+ if (typeof document === "undefined") return {
195
+ update: function update() {},
196
+ remove: function remove() {}
197
+ };
198
+
199
+ // eslint-disable-next-line no-undef,no-use-before-define
200
+ var styleIndex = singletonData.singletonCounter++;
201
+ var styleElement =
202
+ // eslint-disable-next-line no-undef,no-use-before-define
203
+ singletonData.singleton || (
204
+ // eslint-disable-next-line no-undef,no-use-before-define
205
+ singletonData.singleton = options.insertStyleElement(options));
206
+ return {
207
+ update: function update(obj) {
208
+ apply(styleElement, styleIndex, false, obj);
209
+ },
210
+ remove: function remove(obj) {
211
+ apply(styleElement, styleIndex, true, obj);
212
+ }
213
+ };
214
+ }
215
+ module.exports = domAPI;
216
+
217
+ /***/ }),
218
+
219
+ /***/ 4555:
220
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
221
+
222
+ "use strict";
223
+ __webpack_require__.r(__webpack_exports__);
224
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
225
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
226
+ /* harmony export */ });
227
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
228
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
229
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
230
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
231
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
232
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
233
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
234
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
235
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
236
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
237
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3752);
238
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__);
239
+ /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
240
+ /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
241
+ /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+ var options = {};
254
+
255
+ ;
256
+ options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
257
+ options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
258
+ options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
259
+ options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
260
+
261
+ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()), options);
262
+
263
+
264
+
265
+
266
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
267
+
268
+
269
+ /***/ }),
270
+
271
+ /***/ 4848:
272
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
273
+
274
+ "use strict";
275
+
276
+
277
+ if (true) {
278
+ module.exports = __webpack_require__(1020);
279
+ } else // removed by dead control flow
280
+ {}
281
+
282
+
283
+ /***/ }),
284
+
285
+ /***/ 5056:
286
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
287
+
288
+ "use strict";
289
+
290
+
291
+ /* istanbul ignore next */
292
+ function setAttributesWithoutAttributes(styleElement) {
293
+ var nonce = true ? __webpack_require__.nc : 0;
294
+ if (nonce) {
295
+ styleElement.setAttribute("nonce", nonce);
296
+ }
297
+ }
298
+ module.exports = setAttributesWithoutAttributes;
299
+
300
+ /***/ }),
301
+
302
+ /***/ 5072:
303
+ /***/ ((module) => {
304
+
305
+ "use strict";
306
+
307
+
308
+ var stylesInDOM = [];
309
+ function getIndexByIdentifier(identifier) {
310
+ var result = -1;
311
+ for (var i = 0; i < stylesInDOM.length; i++) {
312
+ if (stylesInDOM[i].identifier === identifier) {
313
+ result = i;
314
+ break;
315
+ }
316
+ }
317
+ return result;
318
+ }
319
+ function modulesToDom(list, options) {
320
+ var idCountMap = {};
321
+ var identifiers = [];
322
+ for (var i = 0; i < list.length; i++) {
323
+ var item = list[i];
324
+ var id = options.base ? item[0] + options.base : item[0];
325
+ var count = idCountMap[id] || 0;
326
+ var identifier = "".concat(id, " ").concat(count);
327
+ idCountMap[id] = count + 1;
328
+ var indexByIdentifier = getIndexByIdentifier(identifier);
329
+ var obj = {
330
+ css: item[1],
331
+ media: item[2],
332
+ sourceMap: item[3],
333
+ supports: item[4],
334
+ layer: item[5]
335
+ };
336
+ if (indexByIdentifier !== -1) {
337
+ stylesInDOM[indexByIdentifier].references++;
338
+ stylesInDOM[indexByIdentifier].updater(obj);
339
+ } else {
340
+ var updater = addElementStyle(obj, options);
341
+ options.byIndex = i;
342
+ stylesInDOM.splice(i, 0, {
343
+ identifier: identifier,
344
+ updater: updater,
345
+ references: 1
346
+ });
347
+ }
348
+ identifiers.push(identifier);
349
+ }
350
+ return identifiers;
351
+ }
352
+ function addElementStyle(obj, options) {
353
+ var api = options.domAPI(options);
354
+ api.update(obj);
355
+ var updater = function updater(newObj) {
356
+ if (newObj) {
357
+ if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
358
+ return;
359
+ }
360
+ api.update(obj = newObj);
361
+ } else {
362
+ api.remove();
363
+ }
364
+ };
365
+ return updater;
366
+ }
367
+ module.exports = function (list, options) {
368
+ options = options || {};
369
+ list = list || [];
370
+ var lastIdentifiers = modulesToDom(list, options);
371
+ return function update(newList) {
372
+ newList = newList || [];
373
+ for (var i = 0; i < lastIdentifiers.length; i++) {
374
+ var identifier = lastIdentifiers[i];
375
+ var index = getIndexByIdentifier(identifier);
376
+ stylesInDOM[index].references--;
377
+ }
378
+ var newLastIdentifiers = modulesToDom(newList, options);
379
+ for (var _i = 0; _i < lastIdentifiers.length; _i++) {
380
+ var _identifier = lastIdentifiers[_i];
381
+ var _index = getIndexByIdentifier(_identifier);
382
+ if (stylesInDOM[_index].references === 0) {
383
+ stylesInDOM[_index].updater();
384
+ stylesInDOM.splice(_index, 1);
385
+ }
386
+ }
387
+ lastIdentifiers = newLastIdentifiers;
388
+ };
389
+ };
390
+
391
+ /***/ }),
392
+
393
+ /***/ 6314:
394
+ /***/ ((module) => {
395
+
396
+ "use strict";
397
+
398
+
399
+ /*
400
+ MIT License http://www.opensource.org/licenses/mit-license.php
401
+ Author Tobias Koppers @sokra
402
+ */
403
+ module.exports = function (cssWithMappingToString) {
404
+ var list = [];
405
+
406
+ // return the list of modules as css string
407
+ list.toString = function toString() {
408
+ return this.map(function (item) {
409
+ var content = "";
410
+ var needLayer = typeof item[5] !== "undefined";
411
+ if (item[4]) {
412
+ content += "@supports (".concat(item[4], ") {");
413
+ }
414
+ if (item[2]) {
415
+ content += "@media ".concat(item[2], " {");
416
+ }
417
+ if (needLayer) {
418
+ content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
419
+ }
420
+ content += cssWithMappingToString(item);
421
+ if (needLayer) {
422
+ content += "}";
423
+ }
424
+ if (item[2]) {
425
+ content += "}";
426
+ }
427
+ if (item[4]) {
428
+ content += "}";
429
+ }
430
+ return content;
431
+ }).join("");
432
+ };
433
+
434
+ // import a list of modules into the list
435
+ list.i = function i(modules, media, dedupe, supports, layer) {
436
+ if (typeof modules === "string") {
437
+ modules = [[null, modules, undefined]];
438
+ }
439
+ var alreadyImportedModules = {};
440
+ if (dedupe) {
441
+ for (var k = 0; k < this.length; k++) {
442
+ var id = this[k][0];
443
+ if (id != null) {
444
+ alreadyImportedModules[id] = true;
445
+ }
446
+ }
447
+ }
448
+ for (var _k = 0; _k < modules.length; _k++) {
449
+ var item = [].concat(modules[_k]);
450
+ if (dedupe && alreadyImportedModules[item[0]]) {
451
+ continue;
452
+ }
453
+ if (typeof layer !== "undefined") {
454
+ if (typeof item[5] === "undefined") {
455
+ item[5] = layer;
456
+ } else {
457
+ item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
458
+ item[5] = layer;
459
+ }
460
+ }
461
+ if (media) {
462
+ if (!item[2]) {
463
+ item[2] = media;
464
+ } else {
465
+ item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
466
+ item[2] = media;
467
+ }
468
+ }
469
+ if (supports) {
470
+ if (!item[4]) {
471
+ item[4] = "".concat(supports);
472
+ } else {
473
+ item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
474
+ item[4] = supports;
475
+ }
476
+ }
477
+ list.push(item);
478
+ }
479
+ };
480
+ return list;
481
+ };
482
+
483
+ /***/ }),
484
+
485
+ /***/ 6942:
486
+ /***/ ((module, exports) => {
487
+
488
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
489
+ Copyright (c) 2018 Jed Watson.
490
+ Licensed under the MIT License (MIT), see
491
+ http://jedwatson.github.io/classnames
492
+ */
493
+ /* global define */
494
+
495
+ (function () {
496
+ 'use strict';
497
+
498
+ var hasOwn = {}.hasOwnProperty;
499
+
500
+ function classNames () {
501
+ var classes = '';
502
+
503
+ for (var i = 0; i < arguments.length; i++) {
504
+ var arg = arguments[i];
505
+ if (arg) {
506
+ classes = appendClass(classes, parseValue(arg));
507
+ }
508
+ }
509
+
510
+ return classes;
511
+ }
512
+
513
+ function parseValue (arg) {
514
+ if (typeof arg === 'string' || typeof arg === 'number') {
515
+ return arg;
516
+ }
517
+
518
+ if (typeof arg !== 'object') {
519
+ return '';
520
+ }
521
+
522
+ if (Array.isArray(arg)) {
523
+ return classNames.apply(null, arg);
524
+ }
525
+
526
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
527
+ return arg.toString();
528
+ }
529
+
530
+ var classes = '';
531
+
532
+ for (var key in arg) {
533
+ if (hasOwn.call(arg, key) && arg[key]) {
534
+ classes = appendClass(classes, key);
535
+ }
536
+ }
537
+
538
+ return classes;
539
+ }
540
+
541
+ function appendClass (value, newClass) {
542
+ if (!newClass) {
543
+ return value;
544
+ }
545
+
546
+ if (value) {
547
+ return value + ' ' + newClass;
548
+ }
549
+
550
+ return value + newClass;
551
+ }
552
+
553
+ if ( true && module.exports) {
554
+ classNames.default = classNames;
555
+ module.exports = classNames;
556
+ } else if (true) {
557
+ // register as 'classnames', consistent with npm package name
558
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
559
+ return classNames;
560
+ }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
561
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
562
+ } else // removed by dead control flow
563
+ {}
564
+ }());
565
+
566
+
567
+ /***/ }),
568
+
569
+ /***/ 7659:
570
+ /***/ ((module) => {
571
+
572
+ "use strict";
573
+
574
+
575
+ var memo = {};
576
+
577
+ /* istanbul ignore next */
578
+ function getTarget(target) {
579
+ if (typeof memo[target] === "undefined") {
580
+ var styleTarget = document.querySelector(target);
581
+
582
+ // Special case to return head of iframe instead of iframe itself
583
+ if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
584
+ try {
585
+ // This will throw an exception if access to iframe is blocked
586
+ // due to cross-origin restrictions
587
+ styleTarget = styleTarget.contentDocument.head;
588
+ } catch (e) {
589
+ // istanbul ignore next
590
+ styleTarget = null;
591
+ }
592
+ }
593
+ memo[target] = styleTarget;
594
+ }
595
+ return memo[target];
596
+ }
597
+
598
+ /* istanbul ignore next */
599
+ function insertBySelector(insert, style) {
600
+ var target = getTarget(insert);
601
+ if (!target) {
602
+ throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
603
+ }
604
+ target.appendChild(style);
605
+ }
606
+ module.exports = insertBySelector;
607
+
608
+ /***/ }),
609
+
610
+ /***/ 9206:
611
+ /***/ ((module) => {
612
+
613
+ "use strict";
614
+ module.exports = require("react");
615
+
616
+ /***/ })
617
+
618
+ /******/ });
619
+ /************************************************************************/
620
+ /******/ // The module cache
621
+ /******/ var __webpack_module_cache__ = {};
622
+ /******/
623
+ /******/ // The require function
624
+ /******/ function __webpack_require__(moduleId) {
625
+ /******/ // Check if module is in cache
626
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
627
+ /******/ if (cachedModule !== undefined) {
628
+ /******/ return cachedModule.exports;
629
+ /******/ }
630
+ /******/ // Create a new module (and put it into the cache)
631
+ /******/ var module = __webpack_module_cache__[moduleId] = {
632
+ /******/ id: moduleId,
633
+ /******/ // no module.loaded needed
634
+ /******/ exports: {}
635
+ /******/ };
636
+ /******/
637
+ /******/ // Execute the module function
638
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
639
+ /******/
640
+ /******/ // Return the exports of the module
641
+ /******/ return module.exports;
642
+ /******/ }
643
+ /******/
644
+ /************************************************************************/
645
+ /******/ /* webpack/runtime/compat get default export */
646
+ /******/ (() => {
647
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
648
+ /******/ __webpack_require__.n = (module) => {
649
+ /******/ var getter = module && module.__esModule ?
650
+ /******/ () => (module['default']) :
651
+ /******/ () => (module);
652
+ /******/ __webpack_require__.d(getter, { a: getter });
653
+ /******/ return getter;
654
+ /******/ };
655
+ /******/ })();
656
+ /******/
657
+ /******/ /* webpack/runtime/define property getters */
658
+ /******/ (() => {
659
+ /******/ // define getter functions for harmony exports
660
+ /******/ __webpack_require__.d = (exports, definition) => {
661
+ /******/ for(var key in definition) {
662
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
663
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
664
+ /******/ }
665
+ /******/ }
666
+ /******/ };
667
+ /******/ })();
668
+ /******/
669
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
670
+ /******/ (() => {
671
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
672
+ /******/ })();
673
+ /******/
674
+ /******/ /* webpack/runtime/make namespace object */
675
+ /******/ (() => {
676
+ /******/ // define __esModule on exports
677
+ /******/ __webpack_require__.r = (exports) => {
678
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
679
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
680
+ /******/ }
681
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
682
+ /******/ };
683
+ /******/ })();
684
+ /******/
685
+ /******/ /* webpack/runtime/nonce */
686
+ /******/ (() => {
687
+ /******/ __webpack_require__.nc = undefined;
688
+ /******/ })();
689
+ /******/
690
+ /************************************************************************/
691
+ var __webpack_exports__ = {};
692
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
693
+ (() => {
694
+ "use strict";
695
+ var exports = __webpack_exports__;
696
+
697
+
698
+ exports.__esModule = true;
699
+ exports["default"] = void 0;
700
+ var _CapError = _interopRequireDefault(__webpack_require__(2913));
701
+ exports["default"] = _CapError.default;
702
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
703
+ })();
704
+
705
+ module.exports = __webpack_exports__;
706
+ /******/ })()
707
+ ;
708
+ //# sourceMappingURL=index.js.map