@ably/ui 8.7.0-dev.471ada5 → 8.7.0-dev.47532ac
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -5
- package/core/Code/component.css +3 -3
- package/core/Code/component.js +1 -1
- package/core/Code.jsx +373 -7273
- package/core/CompanyAutocomplete/component.js +1 -1
- package/core/ConnectStateWrapper/component.js +1 -1
- package/core/ConnectStateWrapper.jsx +16 -7
- package/core/ContactFooter/component.js +1 -1
- package/core/ContactFooter.jsx +20 -126
- package/core/CookieMessage/component.js +1 -1
- package/core/CookieMessage.jsx +24 -296
- package/core/CustomerLogos/component.js +1 -1
- package/core/CustomerLogos.jsx +12 -117
- package/core/DropdownMenu/component.js +1 -1
- package/core/DropdownMenu.jsx +16 -126
- package/core/FeatureFooter/component.js +1 -1
- package/core/FeatureFooter.jsx +17 -0
- package/core/FeaturedLink/component.js +1 -1
- package/core/FeaturedLink.jsx +15 -121
- package/core/Flash/component.js +1 -1
- package/core/Flash.jsx +151 -1533
- package/core/Footer/component.css +21 -1
- package/core/Footer/component.js +1 -1
- package/core/Footer.jsx +165 -190
- package/core/Icon/component.css +1 -0
- package/core/Icon/component.js +1 -1
- package/core/Icon.jsx +12 -117
- package/core/Loader/component.js +1 -1
- package/core/Loader.jsx +12 -117
- package/core/Logo/component.js +1 -1
- package/core/Logo.jsx +38 -228
- package/core/Meganav/component.css +1 -3
- package/core/Meganav/component.js +1 -2
- package/core/Meganav/component.json +2 -2
- package/core/Meganav.jsx +2228 -9551
- package/core/MeganavBlogPostsList/component.js +1 -1
- package/core/MeganavBlogPostsList.jsx +18 -125
- package/core/MeganavContentCompany/component.js +1 -1
- package/core/MeganavContentCompany.jsx +60 -141
- package/core/MeganavContentDevelopers/component.js +1 -1
- package/core/MeganavContentDevelopers.jsx +65 -134
- package/core/MeganavContentPlatform.jsx +41 -67
- package/core/MeganavContentProducts/component.js +1 -0
- package/core/MeganavContentProducts.jsx +333 -0
- package/core/MeganavContentUseCases/component.js +1 -1
- package/core/MeganavContentUseCases.jsx +68 -166
- package/core/MeganavContentWhyAbly/component.js +1 -0
- package/core/MeganavContentWhyAbly.jsx +1458 -0
- package/core/MeganavControl/component.js +1 -1
- package/core/MeganavControl.jsx +15 -121
- package/core/MeganavControlMobileDropdown/component.js +1 -1
- package/core/MeganavControlMobileDropdown.jsx +16 -122
- package/core/MeganavControlMobilePanelClose/component.js +1 -1
- package/core/MeganavControlMobilePanelClose.jsx +15 -121
- package/core/MeganavControlMobilePanelOpen/component.js +1 -1
- package/core/MeganavControlMobilePanelOpen.jsx +15 -121
- package/core/MeganavItemsDesktop/component.js +1 -1
- package/core/MeganavItemsDesktop.jsx +22 -130
- package/core/MeganavItemsMobile/component.js +1 -1
- package/core/MeganavItemsMobile.jsx +44 -158
- package/core/MeganavItemsSignedIn/component.js +1 -1
- package/core/MeganavItemsSignedIn.jsx +38 -151
- package/core/MeganavSearch/component.js +1 -1
- package/core/MeganavSearch.jsx +28 -138
- package/core/MeganavSearchAutocomplete/component.js +1 -2
- package/core/MeganavSearchAutocomplete.jsx +4 -4
- package/core/MeganavSearchPanel/component.js +1 -1
- package/core/MeganavSearchPanel.jsx +24 -133
- package/core/MeganavSearchSuggestions/component.js +1 -1
- package/core/MeganavSearchSuggestions.jsx +18 -125
- package/core/Notice/component.js +1 -2
- package/core/Notice.jsx +187 -2189
- package/core/Showcase/component.js +1 -1
- package/core/Showcase.jsx +1 -1
- package/core/SignOutLink/component.js +1 -1
- package/core/SignOutLink.jsx +12 -117
- package/core/Slider/component.js +1 -1
- package/core/Slider.jsx +31 -588
- package/core/Uptime/component.js +1 -1
- package/core/Uptime.jsx +24 -127
- package/core/images/ably-logo.png +0 -0
- package/core/images/high-performer-2022.png +0 -0
- package/core/images/highest-user-adoption-2022.png +0 -0
- package/core/images/users-love-us-2022.png +0 -0
- package/core/scripts.js +1 -1
- package/core/sprites.svg +133 -1
- package/core/styles.css +3 -7
- package/package.json +4 -4
- package/reset/scripts.js +1 -1
- package/reset/styles.css +1 -11
- package/src/core/Code/component.css +1 -67
- package/src/core/Code/component.js +11 -46
- package/src/core/Code/component.jsx +7 -3
- package/src/core/DropdownMenu/component.jsx +0 -2
- package/src/core/FeatureFooter/component.html.erb +1 -1
- package/src/core/Flash/component.jsx +40 -14
- package/src/core/Footer/component.css +21 -1
- package/src/core/Footer/component.html.erb +118 -62
- package/src/core/Footer/component.jsx +125 -60
- package/src/core/Logo/component.html.erb +2 -27
- package/src/core/Logo/component.jsx +7 -40
- package/src/core/Logo/component.rb +15 -6
- package/src/core/Meganav/component.css +1 -1
- package/src/core/Meganav/component.html.erb +1 -1
- package/src/core/Meganav/component.json +2 -2
- package/src/core/Meganav/component.jsx +3 -3
- package/src/core/Meganav/component.rb +7 -6
- package/src/core/MeganavContentCompany/component.html.erb +9 -0
- package/src/core/MeganavContentCompany/component.jsx +9 -0
- package/src/core/MeganavContentDevelopers/component.html.erb +35 -10
- package/src/core/MeganavContentDevelopers/component.jsx +37 -9
- package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.html.erb +15 -33
- package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.jsx +17 -38
- package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.rb +1 -1
- package/src/core/MeganavContentUseCases/component.html.erb +43 -39
- package/src/core/MeganavContentUseCases/component.jsx +42 -39
- package/src/core/MeganavItemsDesktop/component.jsx +1 -1
- package/src/core/MeganavItemsDesktop/component.rb +1 -1
- package/src/core/MeganavSearchSuggestions/component.html.erb +1 -1
- package/src/core/core.rb +12 -4
- package/src/core/icons/github.svg +1 -1
- package/src/core/icons/google.svg +3 -0
- package/src/core/icons/icon-display-asset-tracking-col.svg +18 -0
- package/src/core/icons/icon-display-chat-col.svg +4 -0
- package/src/core/icons/icon-display-data-broadcast-col.svg +26 -0
- package/src/core/icons/icon-display-data-synchronization-col.svg +14 -0
- package/src/core/icons/icon-display-events-col.svg +13 -0
- package/src/core/icons/icon-display-examples-col.svg +11 -0
- package/src/core/icons/icon-display-integrations-col.svg +8 -0
- package/src/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
- package/src/core/icons/icon-display-push-notifications-col.svg +6 -0
- package/src/core/icons/icon-gui-check-circled-fill-black.svg +4 -0
- package/src/core/icons/icon-gui-filter-flow-step-1.svg +5 -0
- package/src/core/icons/icon-gui-filter-flow-step-2.svg +5 -0
- package/src/core/icons/icon-gui-filter-flow-step-3.svg +5 -0
- package/src/core/icons/icon-gui-resources.svg +3 -0
- package/src/core/icons/icon-tech-apachekafka.svg +3 -0
- package/src/core/icons/stackoverflow.svg +3 -0
- package/src/core/icons/youtube.svg +11 -0
- package/src/core/images/ably-logo.png +0 -0
- package/src/core/images/high-performer-2022.png +0 -0
- package/src/core/images/highest-user-adoption-2022.png +0 -0
- package/src/core/images/users-love-us-2022.png +0 -0
- package/src/core/styles/properties.css +2 -0
- package/src/core/styles/text.css +1 -1
- package/src/core/utils/syntax-highlighter-registry.js +63 -0
- package/src/core/utils/syntax-highlighter.css +69 -0
- package/src/core/utils/syntax-highlighter.js +103 -0
- package/tailwind.config.js +1 -0
- package/core/DropdownMenuPreview/component.js +0 -6
- package/core/DropdownMenuPreview.jsx +0 -6
- package/core/Meganav/component.js.LICENSE.txt +0 -7
- package/core/MeganavSearchAutocomplete/component.js.LICENSE.txt +0 -7
- /package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AblyUi=t():(e.AblyUi=e.AblyUi||{},e.AblyUi.Core=e.AblyUi.Core||{},e.AblyUi.Core.MeganavControlMobilePanelOpen=t())}(this,(
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AblyUi=t():(e.AblyUi=e.AblyUi||{},e.AblyUi.Core=e.AblyUi.Core||{},e.AblyUi.Core.MeganavControlMobilePanelOpen=t())}(this,(()=>(()=>{"use strict";var e={9581:(e,t,n)=>{n.d(t,{A:()=>o,n:()=>r});var o=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector("[data-id=".concat(e,"]"))},r=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelectorAll("[data-id=".concat(e,"]"))}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};return(()=>{n.d(o,{default:()=>t});var e=n(9581);const t=function(){var t,n=Array.from((0,e.n)("meganav-control-mobile-panel-close")),o=Array.from((0,e.n)("meganav-control-mobile-panel-open")),r=(0,e.A)("meganav-mobile-dropdown"),i=(t=getComputedStyle(document.documentElement).getPropertyValue("--ui-meganav-height"),parseFloat(t)*parseFloat(getComputedStyle(document.documentElement).fontSize));return o.map((function(e){var t=n.find((function(t){return t.getAttribute("aria-controls")===e.getAttribute("aria-controls")})),o=document.querySelector("#".concat(e.getAttribute("aria-controls"))),a=function(e,t,n){return function(){e.setAttribute("aria-expanded",!0),t.setAttribute("aria-expanded",!0),n.classList.replace("hidden","block"),n.style.height="".concat(window.innerHeight-i>n.offsetHeight?n.offsetHeight:window.innerHeight-i,"px")}}(e,t,o);return e.addEventListener("click",a),{teardown:function(){return e.removeEventListener("click",a)},clear:function(){o.classList.replace("block","hidden"),r.classList.remove("ui-meganav-mobile-dropdown-expand"),e.setAttribute("aria-expanded",!1),o.style.height=null}}}))}})(),o.default})()));
|
|
@@ -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,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__5225__, __WEBPACK_EXTERNAL_MODULE__6073__) => {
|
|
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
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
21
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
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__(
|
|
23
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
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,122 +64,17 @@ Icon.propTypes = {
|
|
|
64
64
|
|
|
65
65
|
/***/ }),
|
|
66
66
|
|
|
67
|
-
/***/
|
|
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
|
+
/***/ 6073:
|
|
159
68
|
/***/ ((module) => {
|
|
160
69
|
|
|
161
|
-
|
|
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__6073__;
|
|
175
71
|
|
|
176
72
|
/***/ }),
|
|
177
73
|
|
|
178
|
-
/***/
|
|
74
|
+
/***/ 5225:
|
|
179
75
|
/***/ ((module) => {
|
|
180
76
|
|
|
181
|
-
|
|
182
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
|
|
77
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
183
78
|
|
|
184
79
|
/***/ })
|
|
185
80
|
|
|
@@ -252,16 +147,15 @@ 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
|
|
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
|
__webpack_require__.r(__webpack_exports__);
|
|
259
153
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
260
154
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
261
155
|
/* harmony export */ });
|
|
262
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
156
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
263
157
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
264
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
158
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
265
159
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
266
160
|
/* harmony import */ var _Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9008);
|
|
267
161
|
|
|
@@ -278,7 +172,7 @@ var MeganavControlMobilePanelOpen = function MeganavControlMobilePanelOpen(_ref)
|
|
|
278
172
|
"aria-expanded": "false",
|
|
279
173
|
"aria-controls": ariaControls,
|
|
280
174
|
"aria-label": "Show ".concat(children)
|
|
281
|
-
}, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__
|
|
175
|
+
}, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
282
176
|
name: "icon-gui-disclosure-arrow",
|
|
283
177
|
color: "text-cool-black",
|
|
284
178
|
size: "1.5rem",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.AblyUi=o():(e.AblyUi=e.AblyUi||{},e.AblyUi.Core=e.AblyUi.Core||{},e.AblyUi.Core.MeganavItemsDesktop=o())}(this,(
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.AblyUi=o():(e.AblyUi=e.AblyUi||{},e.AblyUi.Core=e.AblyUi.Core||{},e.AblyUi.Core.MeganavItemsDesktop=o())}(this,(()=>({}.default)));
|
|
@@ -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,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__5225__, __WEBPACK_EXTERNAL_MODULE__6073__) => {
|
|
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
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
21
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
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__(
|
|
23
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
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
|
|
|
@@ -67,13 +67,12 @@ Icon.propTypes = {
|
|
|
67
67
|
/***/ 140:
|
|
68
68
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
69
69
|
|
|
70
|
-
"use strict";
|
|
71
70
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
72
71
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
73
72
|
/* harmony export */ });
|
|
74
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
73
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
75
74
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
76
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
75
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
77
76
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
78
77
|
/* harmony import */ var _Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9008);
|
|
79
78
|
|
|
@@ -93,7 +92,7 @@ var MeganavControl = function MeganavControl(_ref) {
|
|
|
93
92
|
"aria-expanded": "false",
|
|
94
93
|
"aria-controls": ariaControls,
|
|
95
94
|
"aria-label": "Show ".concat(ariaLabel, " panel")
|
|
96
|
-
}, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__
|
|
95
|
+
}, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
97
96
|
name: "icon-gui-disclosure-arrow",
|
|
98
97
|
color: "text-cool-black",
|
|
99
98
|
size: "1.5rem",
|
|
@@ -112,130 +111,24 @@ MeganavControl.propTypes = {
|
|
|
112
111
|
|
|
113
112
|
/***/ }),
|
|
114
113
|
|
|
115
|
-
/***/
|
|
116
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
117
|
-
|
|
118
|
-
"use strict";
|
|
119
|
-
/**
|
|
120
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
121
|
-
*
|
|
122
|
-
* This source code is licensed under the MIT license found in the
|
|
123
|
-
* LICENSE file in the root directory of this source tree.
|
|
124
|
-
*/
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
var ReactPropTypesSecret = __webpack_require__(414);
|
|
129
|
-
|
|
130
|
-
function emptyFunction() {}
|
|
131
|
-
function emptyFunctionWithReset() {}
|
|
132
|
-
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
133
|
-
|
|
134
|
-
module.exports = function() {
|
|
135
|
-
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
136
|
-
if (secret === ReactPropTypesSecret) {
|
|
137
|
-
// It is still safe when called from React.
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
var err = new Error(
|
|
141
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
142
|
-
'Use PropTypes.checkPropTypes() to call them. ' +
|
|
143
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
144
|
-
);
|
|
145
|
-
err.name = 'Invariant Violation';
|
|
146
|
-
throw err;
|
|
147
|
-
};
|
|
148
|
-
shim.isRequired = shim;
|
|
149
|
-
function getShim() {
|
|
150
|
-
return shim;
|
|
151
|
-
};
|
|
152
|
-
// Important!
|
|
153
|
-
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
154
|
-
var ReactPropTypes = {
|
|
155
|
-
array: shim,
|
|
156
|
-
bool: shim,
|
|
157
|
-
func: shim,
|
|
158
|
-
number: shim,
|
|
159
|
-
object: shim,
|
|
160
|
-
string: shim,
|
|
161
|
-
symbol: shim,
|
|
162
|
-
|
|
163
|
-
any: shim,
|
|
164
|
-
arrayOf: getShim,
|
|
165
|
-
element: shim,
|
|
166
|
-
elementType: shim,
|
|
167
|
-
instanceOf: getShim,
|
|
168
|
-
node: shim,
|
|
169
|
-
objectOf: getShim,
|
|
170
|
-
oneOf: getShim,
|
|
171
|
-
oneOfType: getShim,
|
|
172
|
-
shape: getShim,
|
|
173
|
-
exact: getShim,
|
|
174
|
-
|
|
175
|
-
checkPropTypes: emptyFunctionWithReset,
|
|
176
|
-
resetWarningCache: emptyFunction
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
180
|
-
|
|
181
|
-
return ReactPropTypes;
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
/***/ }),
|
|
186
|
-
|
|
187
|
-
/***/ 5697:
|
|
188
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
192
|
-
*
|
|
193
|
-
* This source code is licensed under the MIT license found in the
|
|
194
|
-
* LICENSE file in the root directory of this source tree.
|
|
195
|
-
*/
|
|
196
|
-
|
|
197
|
-
if (false) { var throwOnDirectAccess, ReactIs; } else {
|
|
198
|
-
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
199
|
-
// http://fb.me/prop-types-in-prod
|
|
200
|
-
module.exports = __webpack_require__(2703)();
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
/***/ }),
|
|
205
|
-
|
|
206
|
-
/***/ 414:
|
|
114
|
+
/***/ 6073:
|
|
207
115
|
/***/ ((module) => {
|
|
208
116
|
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
212
|
-
*
|
|
213
|
-
* This source code is licensed under the MIT license found in the
|
|
214
|
-
* LICENSE file in the root directory of this source tree.
|
|
215
|
-
*/
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
220
|
-
|
|
221
|
-
module.exports = ReactPropTypesSecret;
|
|
222
|
-
|
|
117
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6073__;
|
|
223
118
|
|
|
224
119
|
/***/ }),
|
|
225
120
|
|
|
226
|
-
/***/
|
|
121
|
+
/***/ 5225:
|
|
227
122
|
/***/ ((module) => {
|
|
228
123
|
|
|
229
|
-
|
|
230
|
-
module.exports = JSON.parse('{"h":[{"label":"Platform","shortLabel":"Platform","id":"platform-panel","component":"MeganavContentPlatform"},{"label":"Use Cases & Solutions","shortLabel":"Use Cases","id":"use-cases-panel","component":"MeganavContentUseCases"},{"label":"Company","shortLabel":"Company","id":"company-panel","component":"MeganavContentCompany"},{"label":"Developers","shortLabel":"Developers","id":"developers-panel","component":"MeganavContentDevelopers"}]}');
|
|
124
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5225__;
|
|
231
125
|
|
|
232
126
|
/***/ }),
|
|
233
127
|
|
|
234
|
-
/***/
|
|
128
|
+
/***/ 3166:
|
|
235
129
|
/***/ ((module) => {
|
|
236
130
|
|
|
237
|
-
"use
|
|
238
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
|
|
131
|
+
module.exports = JSON.parse('{"h":[{"label":"Products","shortLabel":"Products","id":"products-panel","component":"MeganavContentProducts"},{"label":"Solutions","shortLabel":"Solutions","id":"use-cases-panel","component":"MeganavContentUseCases"},{"label":"Company","shortLabel":"Company","id":"company-panel","component":"MeganavContentCompany"},{"label":"Developers","shortLabel":"Developers","id":"developers-panel","component":"MeganavContentDevelopers"}]}');
|
|
239
132
|
|
|
240
133
|
/***/ })
|
|
241
134
|
|
|
@@ -308,18 +201,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
|
|
|
308
201
|
/******/
|
|
309
202
|
/************************************************************************/
|
|
310
203
|
var __webpack_exports__ = {};
|
|
311
|
-
// This entry need to be wrapped in an IIFE because it need to be in
|
|
204
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
312
205
|
(() => {
|
|
313
|
-
"use strict";
|
|
314
206
|
__webpack_require__.r(__webpack_exports__);
|
|
315
207
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316
208
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317
209
|
/* harmony export */ });
|
|
318
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
210
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5225);
|
|
319
211
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
320
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
212
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6073);
|
|
321
213
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
322
|
-
/* harmony import */ var _Meganav_component_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
214
|
+
/* harmony import */ var _Meganav_component_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3166);
|
|
323
215
|
/* harmony import */ var _MeganavControl_component_jsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(140);
|
|
324
216
|
|
|
325
217
|
|
|
@@ -336,11 +228,11 @@ var MeganavDesktopItems = function MeganavDesktopItems(_ref) {
|
|
|
336
228
|
"data-id": "meganav-items-desktop"
|
|
337
229
|
}, _Meganav_component_json__WEBPACK_IMPORTED_MODULE_2__/* .panels.map */ .h.map(function (panel) {
|
|
338
230
|
var PanelComponent = panels[panel.component];
|
|
339
|
-
var bgCSS = ["
|
|
231
|
+
var bgCSS = ["products-panel", "use-cases-panel"].includes(panel.id) ? "ui-meganav-panel-split-bg" : "";
|
|
340
232
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", {
|
|
341
233
|
className: "ui-meganav-item",
|
|
342
234
|
key: panel.id
|
|
343
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MeganavControl_component_jsx__WEBPACK_IMPORTED_MODULE_3__
|
|
235
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MeganavControl_component_jsx__WEBPACK_IMPORTED_MODULE_3__["default"], {
|
|
344
236
|
theme: theme,
|
|
345
237
|
ariaControls: panel.id,
|
|
346
238
|
ariaLabel: panel.label
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.AblyUi=o():(e.AblyUi=e.AblyUi||{},e.AblyUi.Core=e.AblyUi.Core||{},e.AblyUi.Core.MeganavItemsMobile=o())}(this,(
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.AblyUi=o():(e.AblyUi=e.AblyUi||{},e.AblyUi.Core=e.AblyUi.Core||{},e.AblyUi.Core.MeganavItemsMobile=o())}(this,(()=>({}.default)));
|