@ably/ui 8.7.0-dev.602ecf0 → 8.7.0-dev.6ce15a7

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 (63) hide show
  1. package/core/.DS_Store +0 -0
  2. package/core/Code.jsx +14 -117
  3. package/core/CompanyAutocomplete/component.js +1 -1
  4. package/core/ConnectStateWrapper.jsx +13 -4
  5. package/core/ContactFooter.jsx +13 -119
  6. package/core/CookieMessage.jsx +21 -293
  7. package/core/CustomerLogos.jsx +15 -117
  8. package/core/FeaturedLink.jsx +10 -116
  9. package/core/Flash.jsx +29 -1483
  10. package/core/Footer.jsx +17 -123
  11. package/core/Icon.jsx +9 -114
  12. package/core/Loader.jsx +9 -114
  13. package/core/Logo.jsx +13 -118
  14. package/core/Meganav/component.js +1 -2
  15. package/core/Meganav.jsx +2832 -10177
  16. package/core/MeganavBlogPostsList/component.js +1 -1
  17. package/core/MeganavBlogPostsList.jsx +11 -118
  18. package/core/MeganavContentCompany.jsx +31 -124
  19. package/core/MeganavContentDevelopers.jsx +10 -116
  20. package/core/MeganavContentPlatform.jsx +11 -118
  21. package/core/MeganavContentUseCases.jsx +10 -116
  22. package/core/MeganavContentWhyAbly/component.js +5 -21
  23. package/core/MeganavContentWhyAbly.jsx +3 -3276
  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/component.js.LICENSE.txt +15 -0
  38. package/core/Notice.jsx +62 -2136
  39. package/core/SignOutLink.jsx +9 -114
  40. package/core/Slider/component.js +1 -1
  41. package/core/Slider.jsx +25 -582
  42. package/core/Uptime.jsx +15 -118
  43. package/core/fonts/.DS_Store +0 -0
  44. package/core/images/.DS_Store +0 -0
  45. package/core/scripts.js +1 -1
  46. package/core/scripts.js.LICENSE.txt +32 -0
  47. package/core/sprites.svg +3 -0
  48. package/core/styles.css +2 -3
  49. package/package.json +2 -4
  50. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/log/.keep +0 -0
  51. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/.keep +0 -0
  52. package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/pids/.keep +0 -0
  53. package/src/.DS_Store +0 -0
  54. package/src/core/.DS_Store +0 -0
  55. package/src/core/CustomerLogos/component.html.erb +2 -2
  56. package/src/core/CustomerLogos/component.jsx +3 -2
  57. package/src/core/CustomerLogos/component.rb +2 -1
  58. package/src/core/FeatureFooter/component.html.erb +3 -3
  59. package/src/core/fonts/.DS_Store +0 -0
  60. package/src/core/icons/icon-gui-link.svg +4 -0
  61. package/src/core/images/.DS_Store +0 -0
  62. package/src/core/styles/text.css +2 -3
  63. package/src/reset/.DS_Store +0 -0
@@ -1,305 +1,34 @@
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"), require("js-cookie"));
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"), require("js-cookie")) : factory(root[undefined], 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__, __WEBPACK_EXTERNAL_MODULE__9349__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
12
13
  /******/ var __webpack_modules__ = ({
13
14
 
14
- /***/ 6808:
15
- /***/ ((module, exports, __webpack_require__) => {
16
-
17
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
18
- * JavaScript Cookie v2.2.1
19
- * https://github.com/js-cookie/js-cookie
20
- *
21
- * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
22
- * Released under the MIT license
23
- */
24
- ;(function (factory) {
25
- var registeredInModuleLoader;
26
- if (true) {
27
- !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
28
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
29
- (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
30
- __WEBPACK_AMD_DEFINE_FACTORY__),
31
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
32
- registeredInModuleLoader = true;
33
- }
34
- if (true) {
35
- module.exports = factory();
36
- registeredInModuleLoader = true;
37
- }
38
- if (!registeredInModuleLoader) {
39
- var OldCookies = window.Cookies;
40
- var api = window.Cookies = factory();
41
- api.noConflict = function () {
42
- window.Cookies = OldCookies;
43
- return api;
44
- };
45
- }
46
- }(function () {
47
- function extend () {
48
- var i = 0;
49
- var result = {};
50
- for (; i < arguments.length; i++) {
51
- var attributes = arguments[ i ];
52
- for (var key in attributes) {
53
- result[key] = attributes[key];
54
- }
55
- }
56
- return result;
57
- }
58
-
59
- function decode (s) {
60
- return s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
61
- }
62
-
63
- function init (converter) {
64
- function api() {}
65
-
66
- function set (key, value, attributes) {
67
- if (typeof document === 'undefined') {
68
- return;
69
- }
70
-
71
- attributes = extend({
72
- path: '/'
73
- }, api.defaults, attributes);
74
-
75
- if (typeof attributes.expires === 'number') {
76
- attributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);
77
- }
78
-
79
- // We're using "expires" because "max-age" is not supported by IE
80
- attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';
81
-
82
- try {
83
- var result = JSON.stringify(value);
84
- if (/^[\{\[]/.test(result)) {
85
- value = result;
86
- }
87
- } catch (e) {}
88
-
89
- value = converter.write ?
90
- converter.write(value, key) :
91
- encodeURIComponent(String(value))
92
- .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
93
-
94
- key = encodeURIComponent(String(key))
95
- .replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)
96
- .replace(/[\(\)]/g, escape);
97
-
98
- var stringifiedAttributes = '';
99
- for (var attributeName in attributes) {
100
- if (!attributes[attributeName]) {
101
- continue;
102
- }
103
- stringifiedAttributes += '; ' + attributeName;
104
- if (attributes[attributeName] === true) {
105
- continue;
106
- }
107
-
108
- // Considers RFC 6265 section 5.2:
109
- // ...
110
- // 3. If the remaining unparsed-attributes contains a %x3B (";")
111
- // character:
112
- // Consume the characters of the unparsed-attributes up to,
113
- // not including, the first %x3B (";") character.
114
- // ...
115
- stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];
116
- }
117
-
118
- return (document.cookie = key + '=' + value + stringifiedAttributes);
119
- }
120
-
121
- function get (key, json) {
122
- if (typeof document === 'undefined') {
123
- return;
124
- }
125
-
126
- var jar = {};
127
- // To prevent the for loop in the first place assign an empty array
128
- // in case there are no cookies at all.
129
- var cookies = document.cookie ? document.cookie.split('; ') : [];
130
- var i = 0;
131
-
132
- for (; i < cookies.length; i++) {
133
- var parts = cookies[i].split('=');
134
- var cookie = parts.slice(1).join('=');
135
-
136
- if (!json && cookie.charAt(0) === '"') {
137
- cookie = cookie.slice(1, -1);
138
- }
139
-
140
- try {
141
- var name = decode(parts[0]);
142
- cookie = (converter.read || converter)(cookie, name) ||
143
- decode(cookie);
144
-
145
- if (json) {
146
- try {
147
- cookie = JSON.parse(cookie);
148
- } catch (e) {}
149
- }
150
-
151
- jar[name] = cookie;
152
-
153
- if (key === name) {
154
- break;
155
- }
156
- } catch (e) {}
157
- }
158
-
159
- return key ? jar[key] : jar;
160
- }
161
-
162
- api.set = set;
163
- api.get = function (key) {
164
- return get(key, false /* read as raw */);
165
- };
166
- api.getJSON = function (key) {
167
- return get(key, true /* read as json */);
168
- };
169
- api.remove = function (key, attributes) {
170
- set(key, '', extend(attributes, {
171
- expires: -1
172
- }));
173
- };
174
-
175
- api.defaults = {};
176
-
177
- api.withConverter = init;
178
-
179
- return api;
180
- }
181
-
182
- return init(function () {});
183
- }));
184
-
185
-
186
- /***/ }),
187
-
188
- /***/ 2703:
189
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
190
-
191
- "use strict";
192
- /**
193
- * Copyright (c) 2013-present, Facebook, Inc.
194
- *
195
- * This source code is licensed under the MIT license found in the
196
- * LICENSE file in the root directory of this source tree.
197
- */
198
-
199
-
200
-
201
- var ReactPropTypesSecret = __webpack_require__(414);
202
-
203
- function emptyFunction() {}
204
- function emptyFunctionWithReset() {}
205
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
206
-
207
- module.exports = function() {
208
- function shim(props, propName, componentName, location, propFullName, secret) {
209
- if (secret === ReactPropTypesSecret) {
210
- // It is still safe when called from React.
211
- return;
212
- }
213
- var err = new Error(
214
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
215
- 'Use PropTypes.checkPropTypes() to call them. ' +
216
- 'Read more at http://fb.me/use-check-prop-types'
217
- );
218
- err.name = 'Invariant Violation';
219
- throw err;
220
- };
221
- shim.isRequired = shim;
222
- function getShim() {
223
- return shim;
224
- };
225
- // Important!
226
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
227
- var ReactPropTypes = {
228
- array: shim,
229
- bool: shim,
230
- func: shim,
231
- number: shim,
232
- object: shim,
233
- string: shim,
234
- symbol: shim,
235
-
236
- any: shim,
237
- arrayOf: getShim,
238
- element: shim,
239
- elementType: shim,
240
- instanceOf: getShim,
241
- node: shim,
242
- objectOf: getShim,
243
- oneOf: getShim,
244
- oneOfType: getShim,
245
- shape: getShim,
246
- exact: getShim,
247
-
248
- checkPropTypes: emptyFunctionWithReset,
249
- resetWarningCache: emptyFunction
250
- };
251
-
252
- ReactPropTypes.PropTypes = ReactPropTypes;
253
-
254
- return ReactPropTypes;
255
- };
256
-
257
-
258
- /***/ }),
259
-
260
- /***/ 5697:
261
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
262
-
263
- /**
264
- * Copyright (c) 2013-present, Facebook, Inc.
265
- *
266
- * This source code is licensed under the MIT license found in the
267
- * LICENSE file in the root directory of this source tree.
268
- */
269
-
270
- if (false) { var throwOnDirectAccess, ReactIs; } else {
271
- // By explicitly using `prop-types` you are opting into new production behavior.
272
- // http://fb.me/prop-types-in-prod
273
- module.exports = __webpack_require__(2703)();
274
- }
15
+ /***/ 9349:
16
+ /***/ ((module) => {
275
17
 
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__9349__;
276
19
 
277
20
  /***/ }),
278
21
 
279
- /***/ 414:
22
+ /***/ 3474:
280
23
  /***/ ((module) => {
281
24
 
282
- "use strict";
283
- /**
284
- * Copyright (c) 2013-present, Facebook, Inc.
285
- *
286
- * This source code is licensed under the MIT license found in the
287
- * LICENSE file in the root directory of this source tree.
288
- */
289
-
290
-
291
-
292
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
293
-
294
- module.exports = ReactPropTypesSecret;
295
-
25
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3474__;
296
26
 
297
27
  /***/ }),
298
28
 
299
29
  /***/ 9281:
300
30
  /***/ ((module) => {
301
31
 
302
- "use strict";
303
32
  module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
304
33
 
305
34
  /***/ })
@@ -373,9 +102,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
373
102
  /******/
374
103
  /************************************************************************/
375
104
  var __webpack_exports__ = {};
376
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
105
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
377
106
  (() => {
378
- "use strict";
379
107
  // ESM COMPAT FLAG
380
108
  __webpack_require__.r(__webpack_exports__);
381
109
 
@@ -387,12 +115,12 @@ __webpack_require__.d(__webpack_exports__, {
387
115
  // EXTERNAL MODULE: external {"commonjs":"react","commonjs2":"react"}
388
116
  var external_commonjs_react_commonjs2_react_ = __webpack_require__(9281);
389
117
  var external_commonjs_react_commonjs2_react_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_react_commonjs2_react_);
390
- // EXTERNAL MODULE: ./node_modules/prop-types/index.js
391
- var prop_types = __webpack_require__(5697);
392
- var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
393
- // EXTERNAL MODULE: ./node_modules/js-cookie/src/js.cookie.js
394
- var js_cookie = __webpack_require__(6808);
395
- var js_cookie_default = /*#__PURE__*/__webpack_require__.n(js_cookie);
118
+ // EXTERNAL MODULE: external {"commonjs":"prop-types","commonjs2":"prop-types"}
119
+ var external_commonjs_prop_types_commonjs2_prop_types_ = __webpack_require__(3474);
120
+ var external_commonjs_prop_types_commonjs2_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_prop_types_commonjs2_prop_types_);
121
+ // EXTERNAL MODULE: external {"commonjs":"js-cookie","commonjs2":"js-cookie"}
122
+ var external_commonjs_js_cookie_commonjs2_js_cookie_ = __webpack_require__(9349);
123
+ var external_commonjs_js_cookie_commonjs2_js_cookie_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_js_cookie_commonjs2_js_cookie_);
396
124
  ;// CONCATENATED MODULE: ./src/core/url-base.js
397
125
  var DEFAULT_URL_BASE = "";
398
126
 
@@ -431,12 +159,12 @@ function CookieMessage(_ref) {
431
159
  setHideCookieMessage = _useState2[1];
432
160
 
433
161
  (0,external_commonjs_react_commonjs2_react_.useEffect)(function () {
434
- var isCookieSet = js_cookie_default().get(cookieId) ? true : false;
162
+ var isCookieSet = external_commonjs_js_cookie_commonjs2_js_cookie_default().get(cookieId) ? true : false;
435
163
  setHideCookieMessage(isCookieSet);
436
164
  }, []);
437
165
 
438
166
  var handleClose = function handleClose() {
439
- js_cookie_default().set(cookieId, "1", {
167
+ external_commonjs_js_cookie_commonjs2_js_cookie_default().set(cookieId, "1", {
440
168
  expires: COOKIE_EXPIRY
441
169
  });
442
170
  ref.current.classList.add("bottom-1", "opacity-0");
@@ -465,8 +193,8 @@ function CookieMessage(_ref) {
465
193
  }, "Accept and close"));
466
194
  }
467
195
  CookieMessage.propTypes = {
468
- cookieId: (prop_types_default()).string,
469
- urlBase: (prop_types_default()).string
196
+ cookieId: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
197
+ urlBase: (external_commonjs_prop_types_commonjs2_prop_types_default()).string
470
198
  };
471
199
  })();
472
200
 
@@ -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,26 +95,27 @@ 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
 
215
110
 
216
111
  var CustomerLogos = function CustomerLogos(_ref) {
217
- var companies = _ref.companies;
112
+ var companies = _ref.companies,
113
+ _ref$additionalCss = _ref.additionalCss,
114
+ additionalCss = _ref$additionalCss === void 0 ? "" : _ref$additionalCss;
218
115
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
219
116
  className: "w-full bg-white"
220
117
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("ul", {
221
- className: "py-64 flex flex-row flex-wrap md:flex-nowrap content-between m-auto items-center"
118
+ className: "py-64 flex flex-row flex-wrap md:flex-nowrap content-between m-auto items-center ".concat(additionalCss)
222
119
  }, companies.map(function (company) {
223
120
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", {
224
121
  key: company.label,
@@ -235,7 +132,8 @@ CustomerLogos.propTypes = {
235
132
  companies: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
236
133
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
237
134
  logo: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
238
- }))
135
+ })),
136
+ additionalCss: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
239
137
  };
240
138
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CustomerLogos);
241
139
  })();