@ably/ui 8.10.0 → 9.0.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 (53) hide show
  1. package/core/Code/component.css +3 -3
  2. package/core/Code/component.js +1 -1
  3. package/core/Code.jsx +353 -7273
  4. package/core/CompanyAutocomplete/component.js +1 -1
  5. package/core/ConnectStateWrapper.jsx +13 -4
  6. package/core/ContactFooter.jsx +13 -119
  7. package/core/CookieMessage.jsx +21 -293
  8. package/core/CustomerLogos.jsx +9 -114
  9. package/core/DropdownMenu.jsx +10 -116
  10. package/core/FeaturedLink.jsx +10 -116
  11. package/core/Flash.jsx +29 -1483
  12. package/core/Footer.jsx +17 -123
  13. package/core/Icon.jsx +9 -114
  14. package/core/Loader.jsx +9 -114
  15. package/core/Logo.jsx +13 -118
  16. package/core/Meganav/component.js +1 -2
  17. package/core/Meganav.jsx +2844 -10189
  18. package/core/MeganavBlogPostsList/component.js +1 -1
  19. package/core/MeganavBlogPostsList.jsx +11 -118
  20. package/core/MeganavContentCompany.jsx +31 -124
  21. package/core/MeganavContentDevelopers.jsx +10 -116
  22. package/core/MeganavContentPlatform.jsx +11 -118
  23. package/core/MeganavContentUseCases.jsx +10 -116
  24. package/core/MeganavControl.jsx +10 -116
  25. package/core/MeganavControlMobileDropdown/component.js +1 -1
  26. package/core/MeganavControlMobileDropdown.jsx +10 -116
  27. package/core/MeganavControlMobilePanelClose.jsx +10 -116
  28. package/core/MeganavControlMobilePanelOpen.jsx +10 -116
  29. package/core/MeganavItemsDesktop.jsx +13 -121
  30. package/core/MeganavItemsMobile.jsx +18 -132
  31. package/core/MeganavItemsSignedIn.jsx +16 -129
  32. package/core/MeganavSearch.jsx +13 -123
  33. package/core/MeganavSearchAutocomplete/component.js +1 -2
  34. package/core/MeganavSearchPanel.jsx +12 -121
  35. package/core/MeganavSearchSuggestions.jsx +11 -118
  36. package/core/Notice/component.js +1 -2
  37. package/core/Notice.jsx +62 -2136
  38. package/core/SignOutLink.jsx +9 -114
  39. package/core/Slider/component.js +1 -1
  40. package/core/Slider.jsx +25 -582
  41. package/core/Uptime.jsx +15 -118
  42. package/core/scripts.js +1 -1
  43. package/package.json +4 -4
  44. package/src/core/Code/component.css +1 -67
  45. package/src/core/Code/component.js +11 -46
  46. package/src/core/Code/component.jsx +7 -3
  47. package/src/core/FeatureFooter/component.html.erb +1 -1
  48. package/src/core/utils/syntax-highlighter-registry.js +61 -0
  49. package/src/core/utils/syntax-highlighter.css +69 -0
  50. package/src/core/utils/syntax-highlighter.js +98 -0
  51. package/core/Meganav/component.js.LICENSE.txt +0 -7
  52. package/core/MeganavSearchAutocomplete/component.js.LICENSE.txt +0 -7
  53. package/core/Notice/component.js.LICENSE.txt +0 -9
package/core/Footer.jsx CHANGED
@@ -1,26 +1,26 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("react"));
3
+ module.exports = factory(require("react"), require("prop-types"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define([], factory);
5
+ define([, ], factory);
6
6
  else {
7
- var a = typeof exports === 'object' ? factory(require("react")) : factory(root[undefined]);
7
+ var a = typeof exports === 'object' ? factory(require("react"), require("prop-types")) : factory(root[undefined], root[undefined]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__, __WEBPACK_EXTERNAL_MODULE__3474__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
12
13
  /******/ var __webpack_modules__ = ({
13
14
 
14
15
  /***/ 9008:
15
16
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16
17
 
17
- "use strict";
18
18
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
19
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
20
20
  /* harmony export */ });
21
21
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
22
22
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
23
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5697);
23
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3474);
24
24
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
25
25
  var _excluded = ["name", "size", "color", "additionalCSS"];
26
26
 
@@ -64,121 +64,16 @@ Icon.propTypes = {
64
64
 
65
65
  /***/ }),
66
66
 
67
- /***/ 2703:
68
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
69
-
70
- "use strict";
71
- /**
72
- * Copyright (c) 2013-present, Facebook, Inc.
73
- *
74
- * This source code is licensed under the MIT license found in the
75
- * LICENSE file in the root directory of this source tree.
76
- */
77
-
78
-
79
-
80
- var ReactPropTypesSecret = __webpack_require__(414);
81
-
82
- function emptyFunction() {}
83
- function emptyFunctionWithReset() {}
84
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
85
-
86
- module.exports = function() {
87
- function shim(props, propName, componentName, location, propFullName, secret) {
88
- if (secret === ReactPropTypesSecret) {
89
- // It is still safe when called from React.
90
- return;
91
- }
92
- var err = new Error(
93
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
94
- 'Use PropTypes.checkPropTypes() to call them. ' +
95
- 'Read more at http://fb.me/use-check-prop-types'
96
- );
97
- err.name = 'Invariant Violation';
98
- throw err;
99
- };
100
- shim.isRequired = shim;
101
- function getShim() {
102
- return shim;
103
- };
104
- // Important!
105
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
106
- var ReactPropTypes = {
107
- array: shim,
108
- bool: shim,
109
- func: shim,
110
- number: shim,
111
- object: shim,
112
- string: shim,
113
- symbol: shim,
114
-
115
- any: shim,
116
- arrayOf: getShim,
117
- element: shim,
118
- elementType: shim,
119
- instanceOf: getShim,
120
- node: shim,
121
- objectOf: getShim,
122
- oneOf: getShim,
123
- oneOfType: getShim,
124
- shape: getShim,
125
- exact: getShim,
126
-
127
- checkPropTypes: emptyFunctionWithReset,
128
- resetWarningCache: emptyFunction
129
- };
130
-
131
- ReactPropTypes.PropTypes = ReactPropTypes;
132
-
133
- return ReactPropTypes;
134
- };
135
-
136
-
137
- /***/ }),
138
-
139
- /***/ 5697:
140
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
141
-
142
- /**
143
- * Copyright (c) 2013-present, Facebook, Inc.
144
- *
145
- * This source code is licensed under the MIT license found in the
146
- * LICENSE file in the root directory of this source tree.
147
- */
148
-
149
- if (false) { var throwOnDirectAccess, ReactIs; } else {
150
- // By explicitly using `prop-types` you are opting into new production behavior.
151
- // http://fb.me/prop-types-in-prod
152
- module.exports = __webpack_require__(2703)();
153
- }
154
-
155
-
156
- /***/ }),
157
-
158
- /***/ 414:
67
+ /***/ 3474:
159
68
  /***/ ((module) => {
160
69
 
161
- "use strict";
162
- /**
163
- * Copyright (c) 2013-present, Facebook, Inc.
164
- *
165
- * This source code is licensed under the MIT license found in the
166
- * LICENSE file in the root directory of this source tree.
167
- */
168
-
169
-
170
-
171
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
172
-
173
- module.exports = ReactPropTypesSecret;
174
-
70
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3474__;
175
71
 
176
72
  /***/ }),
177
73
 
178
74
  /***/ 9281:
179
75
  /***/ ((module) => {
180
76
 
181
- "use strict";
182
77
  module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
183
78
 
184
79
  /***/ })
@@ -252,9 +147,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
252
147
  /******/
253
148
  /************************************************************************/
254
149
  var __webpack_exports__ = {};
255
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
150
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
256
151
  (() => {
257
- "use strict";
258
152
  // ESM COMPAT FLAG
259
153
  __webpack_require__.r(__webpack_exports__);
260
154
 
@@ -266,9 +160,9 @@ __webpack_require__.d(__webpack_exports__, {
266
160
  // EXTERNAL MODULE: external {"commonjs":"react","commonjs2":"react"}
267
161
  var external_commonjs_react_commonjs2_react_ = __webpack_require__(9281);
268
162
  var external_commonjs_react_commonjs2_react_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_react_commonjs2_react_);
269
- // EXTERNAL MODULE: ./node_modules/prop-types/index.js
270
- var prop_types = __webpack_require__(5697);
271
- var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
163
+ // EXTERNAL MODULE: external {"commonjs":"prop-types","commonjs2":"prop-types"}
164
+ var external_commonjs_prop_types_commonjs2_prop_types_ = __webpack_require__(3474);
165
+ var external_commonjs_prop_types_commonjs2_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_prop_types_commonjs2_prop_types_);
272
166
  // EXTERNAL MODULE: ./src/core/Icon/component.jsx
273
167
  var component = __webpack_require__(9008);
274
168
  ;// CONCATENATED MODULE: ./src/core/url-base.js
@@ -592,12 +486,12 @@ function Footer(_ref) {
592
486
  }))));
593
487
  }
594
488
  Footer.propTypes = {
595
- paths: prop_types_default().shape({
596
- ablyStack: (prop_types_default()).string,
597
- rocketList: (prop_types_default()).string,
598
- flexibleCompanies: (prop_types_default()).string
489
+ paths: external_commonjs_prop_types_commonjs2_prop_types_default().shape({
490
+ ablyStack: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
491
+ rocketList: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
492
+ flexibleCompanies: (external_commonjs_prop_types_commonjs2_prop_types_default()).string
599
493
  }),
600
- urlBase: (prop_types_default()).string
494
+ urlBase: (external_commonjs_prop_types_commonjs2_prop_types_default()).string
601
495
  };
602
496
  })();
603
497
 
package/core/Icon.jsx CHANGED
@@ -1,131 +1,27 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("react"));
3
+ module.exports = factory(require("react"), require("prop-types"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define([], factory);
5
+ define([, ], factory);
6
6
  else {
7
- var a = typeof exports === 'object' ? factory(require("react")) : factory(root[undefined]);
7
+ var a = typeof exports === 'object' ? factory(require("react"), require("prop-types")) : factory(root[undefined], root[undefined]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__, __WEBPACK_EXTERNAL_MODULE__3474__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
12
13
  /******/ var __webpack_modules__ = ({
13
14
 
14
- /***/ 2703:
15
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
16
-
17
- "use strict";
18
- /**
19
- * Copyright (c) 2013-present, Facebook, Inc.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */
24
-
25
-
26
-
27
- var ReactPropTypesSecret = __webpack_require__(414);
28
-
29
- function emptyFunction() {}
30
- function emptyFunctionWithReset() {}
31
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
32
-
33
- module.exports = function() {
34
- function shim(props, propName, componentName, location, propFullName, secret) {
35
- if (secret === ReactPropTypesSecret) {
36
- // It is still safe when called from React.
37
- return;
38
- }
39
- var err = new Error(
40
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
41
- 'Use PropTypes.checkPropTypes() to call them. ' +
42
- 'Read more at http://fb.me/use-check-prop-types'
43
- );
44
- err.name = 'Invariant Violation';
45
- throw err;
46
- };
47
- shim.isRequired = shim;
48
- function getShim() {
49
- return shim;
50
- };
51
- // Important!
52
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
53
- var ReactPropTypes = {
54
- array: shim,
55
- bool: shim,
56
- func: shim,
57
- number: shim,
58
- object: shim,
59
- string: shim,
60
- symbol: shim,
61
-
62
- any: shim,
63
- arrayOf: getShim,
64
- element: shim,
65
- elementType: shim,
66
- instanceOf: getShim,
67
- node: shim,
68
- objectOf: getShim,
69
- oneOf: getShim,
70
- oneOfType: getShim,
71
- shape: getShim,
72
- exact: getShim,
73
-
74
- checkPropTypes: emptyFunctionWithReset,
75
- resetWarningCache: emptyFunction
76
- };
77
-
78
- ReactPropTypes.PropTypes = ReactPropTypes;
79
-
80
- return ReactPropTypes;
81
- };
82
-
83
-
84
- /***/ }),
85
-
86
- /***/ 5697:
87
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
88
-
89
- /**
90
- * Copyright (c) 2013-present, Facebook, Inc.
91
- *
92
- * This source code is licensed under the MIT license found in the
93
- * LICENSE file in the root directory of this source tree.
94
- */
95
-
96
- if (false) { var throwOnDirectAccess, ReactIs; } else {
97
- // By explicitly using `prop-types` you are opting into new production behavior.
98
- // http://fb.me/prop-types-in-prod
99
- module.exports = __webpack_require__(2703)();
100
- }
101
-
102
-
103
- /***/ }),
104
-
105
- /***/ 414:
15
+ /***/ 3474:
106
16
  /***/ ((module) => {
107
17
 
108
- "use strict";
109
- /**
110
- * Copyright (c) 2013-present, Facebook, Inc.
111
- *
112
- * This source code is licensed under the MIT license found in the
113
- * LICENSE file in the root directory of this source tree.
114
- */
115
-
116
-
117
-
118
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
119
-
120
- module.exports = ReactPropTypesSecret;
121
-
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3474__;
122
19
 
123
20
  /***/ }),
124
21
 
125
22
  /***/ 9281:
126
23
  /***/ ((module) => {
127
24
 
128
- "use strict";
129
25
  module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
130
26
 
131
27
  /***/ })
@@ -199,16 +95,15 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
199
95
  /******/
200
96
  /************************************************************************/
201
97
  var __webpack_exports__ = {};
202
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
98
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
203
99
  (() => {
204
- "use strict";
205
100
  __webpack_require__.r(__webpack_exports__);
206
101
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
207
102
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
208
103
  /* harmony export */ });
209
104
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
210
105
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
211
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5697);
106
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3474);
212
107
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
213
108
  var _excluded = ["name", "size", "color", "additionalCSS"];
214
109
 
package/core/Loader.jsx CHANGED
@@ -1,131 +1,27 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("react"));
3
+ module.exports = factory(require("react"), require("prop-types"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define([], factory);
5
+ define([, ], factory);
6
6
  else {
7
- var a = typeof exports === 'object' ? factory(require("react")) : factory(root[undefined]);
7
+ var a = typeof exports === 'object' ? factory(require("react"), require("prop-types")) : factory(root[undefined], root[undefined]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__, __WEBPACK_EXTERNAL_MODULE__3474__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
12
13
  /******/ var __webpack_modules__ = ({
13
14
 
14
- /***/ 2703:
15
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
16
-
17
- "use strict";
18
- /**
19
- * Copyright (c) 2013-present, Facebook, Inc.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */
24
-
25
-
26
-
27
- var ReactPropTypesSecret = __webpack_require__(414);
28
-
29
- function emptyFunction() {}
30
- function emptyFunctionWithReset() {}
31
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
32
-
33
- module.exports = function() {
34
- function shim(props, propName, componentName, location, propFullName, secret) {
35
- if (secret === ReactPropTypesSecret) {
36
- // It is still safe when called from React.
37
- return;
38
- }
39
- var err = new Error(
40
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
41
- 'Use PropTypes.checkPropTypes() to call them. ' +
42
- 'Read more at http://fb.me/use-check-prop-types'
43
- );
44
- err.name = 'Invariant Violation';
45
- throw err;
46
- };
47
- shim.isRequired = shim;
48
- function getShim() {
49
- return shim;
50
- };
51
- // Important!
52
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
53
- var ReactPropTypes = {
54
- array: shim,
55
- bool: shim,
56
- func: shim,
57
- number: shim,
58
- object: shim,
59
- string: shim,
60
- symbol: shim,
61
-
62
- any: shim,
63
- arrayOf: getShim,
64
- element: shim,
65
- elementType: shim,
66
- instanceOf: getShim,
67
- node: shim,
68
- objectOf: getShim,
69
- oneOf: getShim,
70
- oneOfType: getShim,
71
- shape: getShim,
72
- exact: getShim,
73
-
74
- checkPropTypes: emptyFunctionWithReset,
75
- resetWarningCache: emptyFunction
76
- };
77
-
78
- ReactPropTypes.PropTypes = ReactPropTypes;
79
-
80
- return ReactPropTypes;
81
- };
82
-
83
-
84
- /***/ }),
85
-
86
- /***/ 5697:
87
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
88
-
89
- /**
90
- * Copyright (c) 2013-present, Facebook, Inc.
91
- *
92
- * This source code is licensed under the MIT license found in the
93
- * LICENSE file in the root directory of this source tree.
94
- */
95
-
96
- if (false) { var throwOnDirectAccess, ReactIs; } else {
97
- // By explicitly using `prop-types` you are opting into new production behavior.
98
- // http://fb.me/prop-types-in-prod
99
- module.exports = __webpack_require__(2703)();
100
- }
101
-
102
-
103
- /***/ }),
104
-
105
- /***/ 414:
15
+ /***/ 3474:
106
16
  /***/ ((module) => {
107
17
 
108
- "use strict";
109
- /**
110
- * Copyright (c) 2013-present, Facebook, Inc.
111
- *
112
- * This source code is licensed under the MIT license found in the
113
- * LICENSE file in the root directory of this source tree.
114
- */
115
-
116
-
117
-
118
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
119
-
120
- module.exports = ReactPropTypesSecret;
121
-
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3474__;
122
19
 
123
20
  /***/ }),
124
21
 
125
22
  /***/ 9281:
126
23
  /***/ ((module) => {
127
24
 
128
- "use strict";
129
25
  module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
130
26
 
131
27
  /***/ })
@@ -199,16 +95,15 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
199
95
  /******/
200
96
  /************************************************************************/
201
97
  var __webpack_exports__ = {};
202
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
98
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
203
99
  (() => {
204
- "use strict";
205
100
  __webpack_require__.r(__webpack_exports__);
206
101
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
207
102
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
208
103
  /* harmony export */ });
209
104
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
210
105
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
211
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5697);
106
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3474);
212
107
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
213
108
 
214
109
 
package/core/Logo.jsx CHANGED
@@ -1,131 +1,27 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("react"));
3
+ module.exports = factory(require("react"), require("prop-types"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define([], factory);
5
+ define([, ], factory);
6
6
  else {
7
- var a = typeof exports === 'object' ? factory(require("react")) : factory(root[undefined]);
7
+ var a = typeof exports === 'object' ? factory(require("react"), require("prop-types")) : factory(root[undefined], root[undefined]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__9281__, __WEBPACK_EXTERNAL_MODULE__3474__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
12
13
  /******/ var __webpack_modules__ = ({
13
14
 
14
- /***/ 2703:
15
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
16
-
17
- "use strict";
18
- /**
19
- * Copyright (c) 2013-present, Facebook, Inc.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */
24
-
25
-
26
-
27
- var ReactPropTypesSecret = __webpack_require__(414);
28
-
29
- function emptyFunction() {}
30
- function emptyFunctionWithReset() {}
31
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
32
-
33
- module.exports = function() {
34
- function shim(props, propName, componentName, location, propFullName, secret) {
35
- if (secret === ReactPropTypesSecret) {
36
- // It is still safe when called from React.
37
- return;
38
- }
39
- var err = new Error(
40
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
41
- 'Use PropTypes.checkPropTypes() to call them. ' +
42
- 'Read more at http://fb.me/use-check-prop-types'
43
- );
44
- err.name = 'Invariant Violation';
45
- throw err;
46
- };
47
- shim.isRequired = shim;
48
- function getShim() {
49
- return shim;
50
- };
51
- // Important!
52
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
53
- var ReactPropTypes = {
54
- array: shim,
55
- bool: shim,
56
- func: shim,
57
- number: shim,
58
- object: shim,
59
- string: shim,
60
- symbol: shim,
61
-
62
- any: shim,
63
- arrayOf: getShim,
64
- element: shim,
65
- elementType: shim,
66
- instanceOf: getShim,
67
- node: shim,
68
- objectOf: getShim,
69
- oneOf: getShim,
70
- oneOfType: getShim,
71
- shape: getShim,
72
- exact: getShim,
73
-
74
- checkPropTypes: emptyFunctionWithReset,
75
- resetWarningCache: emptyFunction
76
- };
77
-
78
- ReactPropTypes.PropTypes = ReactPropTypes;
79
-
80
- return ReactPropTypes;
81
- };
82
-
83
-
84
- /***/ }),
85
-
86
- /***/ 5697:
87
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
88
-
89
- /**
90
- * Copyright (c) 2013-present, Facebook, Inc.
91
- *
92
- * This source code is licensed under the MIT license found in the
93
- * LICENSE file in the root directory of this source tree.
94
- */
95
-
96
- if (false) { var throwOnDirectAccess, ReactIs; } else {
97
- // By explicitly using `prop-types` you are opting into new production behavior.
98
- // http://fb.me/prop-types-in-prod
99
- module.exports = __webpack_require__(2703)();
100
- }
101
-
102
-
103
- /***/ }),
104
-
105
- /***/ 414:
15
+ /***/ 3474:
106
16
  /***/ ((module) => {
107
17
 
108
- "use strict";
109
- /**
110
- * Copyright (c) 2013-present, Facebook, Inc.
111
- *
112
- * This source code is licensed under the MIT license found in the
113
- * LICENSE file in the root directory of this source tree.
114
- */
115
-
116
-
117
-
118
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
119
-
120
- module.exports = ReactPropTypesSecret;
121
-
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3474__;
122
19
 
123
20
  /***/ }),
124
21
 
125
22
  /***/ 9281:
126
23
  /***/ ((module) => {
127
24
 
128
- "use strict";
129
25
  module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
130
26
 
131
27
  /***/ })
@@ -199,9 +95,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
199
95
  /******/
200
96
  /************************************************************************/
201
97
  var __webpack_exports__ = {};
202
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
98
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
203
99
  (() => {
204
- "use strict";
205
100
  // ESM COMPAT FLAG
206
101
  __webpack_require__.r(__webpack_exports__);
207
102
 
@@ -213,9 +108,9 @@ __webpack_require__.d(__webpack_exports__, {
213
108
  // EXTERNAL MODULE: external {"commonjs":"react","commonjs2":"react"}
214
109
  var external_commonjs_react_commonjs2_react_ = __webpack_require__(9281);
215
110
  var external_commonjs_react_commonjs2_react_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_react_commonjs2_react_);
216
- // EXTERNAL MODULE: ./node_modules/prop-types/index.js
217
- var prop_types = __webpack_require__(5697);
218
- var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
111
+ // EXTERNAL MODULE: external {"commonjs":"prop-types","commonjs2":"prop-types"}
112
+ var external_commonjs_prop_types_commonjs2_prop_types_ = __webpack_require__(3474);
113
+ var external_commonjs_prop_types_commonjs2_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_prop_types_commonjs2_prop_types_);
219
114
  ;// CONCATENATED MODULE: ./node_modules/nanoid/non-secure/index.js
220
115
  let urlAlphabet =
221
116
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
@@ -325,8 +220,8 @@ var Logo = function Logo(_ref) {
325
220
  };
326
221
 
327
222
  Logo.propTypes = {
328
- dataId: (prop_types_default()).string,
329
- href: (prop_types_default()).string
223
+ dataId: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
224
+ href: (external_commonjs_prop_types_commonjs2_prop_types_default()).string
330
225
  };
331
226
  /* harmony default export */ const component = (/*#__PURE__*/external_commonjs_react_commonjs2_react_default().memo(Logo));
332
227
  })();