@ably/ui 8.7.0-dev.602ecf0 → 8.7.0-dev.63cc1c3

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 (57) hide show
  1. package/core/.DS_Store +0 -0
  2. package/core/Code.jsx +14 -117
  3. package/core/ConnectStateWrapper.jsx +13 -4
  4. package/core/ContactFooter.jsx +13 -119
  5. package/core/CookieMessage.jsx +21 -293
  6. package/core/CustomerLogos.jsx +15 -117
  7. package/core/FeaturedLink.jsx +10 -116
  8. package/core/Flash.jsx +29 -1483
  9. package/core/Footer.jsx +17 -123
  10. package/core/Icon.jsx +9 -114
  11. package/core/Loader.jsx +9 -114
  12. package/core/Logo.jsx +13 -118
  13. package/core/Meganav.jsx +2832 -10177
  14. package/core/MeganavBlogPostsList.jsx +11 -118
  15. package/core/MeganavContentCompany.jsx +31 -124
  16. package/core/MeganavContentDevelopers.jsx +10 -116
  17. package/core/MeganavContentPlatform.jsx +11 -118
  18. package/core/MeganavContentUseCases.jsx +10 -116
  19. package/core/MeganavContentWhyAbly/component.js +5 -21
  20. package/core/MeganavContentWhyAbly.jsx +3 -3276
  21. package/core/MeganavControl.jsx +10 -116
  22. package/core/MeganavControlMobileDropdown.jsx +10 -116
  23. package/core/MeganavControlMobilePanelClose.jsx +10 -116
  24. package/core/MeganavControlMobilePanelOpen.jsx +10 -116
  25. package/core/MeganavItemsDesktop.jsx +13 -121
  26. package/core/MeganavItemsMobile.jsx +18 -132
  27. package/core/MeganavItemsSignedIn.jsx +16 -129
  28. package/core/MeganavSearch.jsx +13 -123
  29. package/core/MeganavSearchPanel.jsx +12 -121
  30. package/core/MeganavSearchSuggestions.jsx +11 -118
  31. package/core/Notice/component.js +1 -1
  32. package/core/Notice/component.js.LICENSE.txt +15 -0
  33. package/core/Notice.jsx +62 -2136
  34. package/core/SignOutLink.jsx +9 -114
  35. package/core/Slider.jsx +25 -582
  36. package/core/Uptime.jsx +15 -118
  37. package/core/fonts/.DS_Store +0 -0
  38. package/core/images/.DS_Store +0 -0
  39. package/core/scripts.js +2 -1
  40. package/core/scripts.js.LICENSE.txt +32 -0
  41. package/core/sprites.svg +3 -0
  42. package/core/styles.css +2 -3
  43. package/package.json +2 -3
  44. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/log/.keep +0 -0
  45. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/.keep +0 -0
  46. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/pids/.keep +0 -0
  47. package/src/.DS_Store +0 -0
  48. package/src/core/.DS_Store +0 -0
  49. package/src/core/CustomerLogos/component.html.erb +2 -2
  50. package/src/core/CustomerLogos/component.jsx +3 -2
  51. package/src/core/CustomerLogos/component.rb +2 -1
  52. package/src/core/FeatureFooter/component.html.erb +3 -3
  53. package/src/core/fonts/.DS_Store +0 -0
  54. package/src/core/icons/icon-gui-link.svg +4 -0
  55. package/src/core/images/.DS_Store +0 -0
  56. package/src/core/styles/text.css +2 -3
  57. package/src/reset/.DS_Store +0 -0
package/core/.DS_Store ADDED
Binary file
package/core/Code.jsx CHANGED
@@ -1,13 +1,13 @@
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
12
  /******/ var __webpack_modules__ = ({
13
13
 
@@ -7172,114 +7172,11 @@ module.exports = xml;
7172
7172
 
7173
7173
  /***/ }),
7174
7174
 
7175
- /***/ 2703:
7176
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7177
-
7178
- "use strict";
7179
- /**
7180
- * Copyright (c) 2013-present, Facebook, Inc.
7181
- *
7182
- * This source code is licensed under the MIT license found in the
7183
- * LICENSE file in the root directory of this source tree.
7184
- */
7185
-
7186
-
7187
-
7188
- var ReactPropTypesSecret = __webpack_require__(414);
7189
-
7190
- function emptyFunction() {}
7191
- function emptyFunctionWithReset() {}
7192
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
7193
-
7194
- module.exports = function() {
7195
- function shim(props, propName, componentName, location, propFullName, secret) {
7196
- if (secret === ReactPropTypesSecret) {
7197
- // It is still safe when called from React.
7198
- return;
7199
- }
7200
- var err = new Error(
7201
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
7202
- 'Use PropTypes.checkPropTypes() to call them. ' +
7203
- 'Read more at http://fb.me/use-check-prop-types'
7204
- );
7205
- err.name = 'Invariant Violation';
7206
- throw err;
7207
- };
7208
- shim.isRequired = shim;
7209
- function getShim() {
7210
- return shim;
7211
- };
7212
- // Important!
7213
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
7214
- var ReactPropTypes = {
7215
- array: shim,
7216
- bool: shim,
7217
- func: shim,
7218
- number: shim,
7219
- object: shim,
7220
- string: shim,
7221
- symbol: shim,
7222
-
7223
- any: shim,
7224
- arrayOf: getShim,
7225
- element: shim,
7226
- elementType: shim,
7227
- instanceOf: getShim,
7228
- node: shim,
7229
- objectOf: getShim,
7230
- oneOf: getShim,
7231
- oneOfType: getShim,
7232
- shape: getShim,
7233
- exact: getShim,
7234
-
7235
- checkPropTypes: emptyFunctionWithReset,
7236
- resetWarningCache: emptyFunction
7237
- };
7238
-
7239
- ReactPropTypes.PropTypes = ReactPropTypes;
7240
-
7241
- return ReactPropTypes;
7242
- };
7243
-
7244
-
7245
- /***/ }),
7246
-
7247
- /***/ 5697:
7248
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7249
-
7250
- /**
7251
- * Copyright (c) 2013-present, Facebook, Inc.
7252
- *
7253
- * This source code is licensed under the MIT license found in the
7254
- * LICENSE file in the root directory of this source tree.
7255
- */
7256
-
7257
- if (false) { var throwOnDirectAccess, ReactIs; } else {
7258
- // By explicitly using `prop-types` you are opting into new production behavior.
7259
- // http://fb.me/prop-types-in-prod
7260
- module.exports = __webpack_require__(2703)();
7261
- }
7262
-
7263
-
7264
- /***/ }),
7265
-
7266
- /***/ 414:
7175
+ /***/ 3474:
7267
7176
  /***/ ((module) => {
7268
7177
 
7269
7178
  "use strict";
7270
- /**
7271
- * Copyright (c) 2013-present, Facebook, Inc.
7272
- *
7273
- * This source code is licensed under the MIT license found in the
7274
- * LICENSE file in the root directory of this source tree.
7275
- */
7276
-
7277
-
7278
-
7279
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
7280
-
7281
- module.exports = ReactPropTypesSecret;
7282
-
7179
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3474__;
7283
7180
 
7284
7181
  /***/ }),
7285
7182
 
@@ -7374,9 +7271,9 @@ __webpack_require__.d(__webpack_exports__, {
7374
7271
  // EXTERNAL MODULE: external {"commonjs":"react","commonjs2":"react"}
7375
7272
  var external_commonjs_react_commonjs2_react_ = __webpack_require__(9281);
7376
7273
  var external_commonjs_react_commonjs2_react_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_react_commonjs2_react_);
7377
- // EXTERNAL MODULE: ./node_modules/prop-types/index.js
7378
- var prop_types = __webpack_require__(5697);
7379
- var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
7274
+ // EXTERNAL MODULE: external {"commonjs":"prop-types","commonjs2":"prop-types"}
7275
+ var external_commonjs_prop_types_commonjs2_prop_types_ = __webpack_require__(3474);
7276
+ var external_commonjs_prop_types_commonjs2_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_prop_types_commonjs2_prop_types_);
7380
7277
  // EXTERNAL MODULE: ./node_modules/highlight.js/lib/core.js
7381
7278
  var core = __webpack_require__(7802);
7382
7279
  var core_default = /*#__PURE__*/__webpack_require__.n(core);
@@ -7569,11 +7466,11 @@ var Code = function Code(_ref) {
7569
7466
  };
7570
7467
 
7571
7468
  Code.propTypes = {
7572
- language: (prop_types_default()).string,
7573
- snippet: (prop_types_default()).string,
7574
- textSize: (prop_types_default()).string,
7575
- padding: (prop_types_default()).string,
7576
- additionalCSS: (prop_types_default()).string
7469
+ language: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
7470
+ snippet: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
7471
+ textSize: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
7472
+ padding: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
7473
+ additionalCSS: (external_commonjs_prop_types_commonjs2_prop_types_default()).string
7577
7474
  };
7578
7475
  /* harmony default export */ const Code_component = (Code);
7579
7476
  })();
@@ -1,13 +1,13 @@
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("redux"));
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("redux")) : 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__5044__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
@@ -20,6 +20,8 @@ return /******/ (() => { // webpackBootstrap
20
20
  /* harmony export */ "kZ": () => (/* binding */ connectState)
21
21
  /* harmony export */ });
22
22
  /* unused harmony exports attachStoreToWindow, createRemoteDataStore */
23
+ /* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5044);
24
+ /* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(redux__WEBPACK_IMPORTED_MODULE_0__);
23
25
 
24
26
  var attachStoreToWindow = function attachStoreToWindow(store) {
25
27
  window.AblyUi = window.AblyUi || {};
@@ -57,6 +59,13 @@ var createRemoteDataStore = function createRemoteDataStore(reducers) {
57
59
 
58
60
  module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
59
61
 
62
+ /***/ }),
63
+
64
+ /***/ 5044:
65
+ /***/ ((module) => {
66
+
67
+ module.exports = __WEBPACK_EXTERNAL_MODULE__5044__;
68
+
60
69
  /***/ })
61
70
 
62
71
  /******/ });
@@ -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
@@ -438,7 +332,7 @@ function ContactFooter(_ref) {
438
332
  }, "Get support now"))));
439
333
  }
440
334
  ContactFooter.propTypes = {
441
- urlBase: (prop_types_default()).string
335
+ urlBase: (external_commonjs_prop_types_commonjs2_prop_types_default()).string
442
336
  };
443
337
  })();
444
338