@ably/ui 5.0.1-dev.baf5b97.0 → 5.3.0-dev.3c981a4
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/core/.gitignore +1 -0
- package/core/Code/component.css +70 -0
- package/core/Code/component.js +1 -0
- package/core/Code.jsx +7578 -0
- package/core/ConnectStateWrapper/component.js +1 -0
- package/core/ConnectStateWrapper.jsx +213 -0
- package/core/ContactFooter/component.css +12 -0
- package/core/ContactFooter/component.js +1 -0
- package/core/ContactFooter.jsx +448 -0
- package/core/CookieMessage/component.css +14 -0
- package/core/CookieMessage/component.js +1 -0
- package/core/CookieMessage.jsx +476 -0
- package/core/CustomerLogos/component.js +1 -0
- package/core/CustomerLogos.jsx +246 -0
- package/core/FeatureFooter/component.css +13 -0
- package/core/FeatureFooter/component.js +1 -0
- package/core/FeatureFooter.jsx +17 -0
- package/core/FeaturedLink/component.css +16 -0
- package/core/FeaturedLink/component.js +1 -0
- package/core/FeaturedLink.jsx +307 -0
- package/core/Flash/component.css +30 -0
- package/core/Flash/component.js +1 -0
- package/core/Flash.jsx +2002 -0
- package/core/Footer/component.css +14 -0
- package/core/Footer/component.js +1 -0
- package/core/Footer.jsx +593 -0
- package/core/Icon/component.css +1 -0
- package/core/Icon/component.js +1 -0
- package/core/Icon.jsx +257 -0
- package/core/Logo/component.js +1 -0
- package/core/Logo.jsx +302 -0
- package/core/Meganav/component.css +103 -0
- package/core/Meganav/component.js +1 -0
- package/core/Meganav/component.json +37 -0
- package/core/Meganav.jsx +6514 -0
- package/core/MeganavBlogPostsList/component.js +1 -0
- package/core/MeganavBlogPostsList.jsx +360 -0
- package/core/MeganavContentDevelopers/component.js +1 -0
- package/core/MeganavContentDevelopers.jsx +418 -0
- package/core/MeganavContentPlatform/component.js +1 -0
- package/core/MeganavContentPlatform.jsx +440 -0
- package/core/MeganavContentUseCases/component.js +1 -0
- package/core/MeganavContentUseCases.jsx +309 -0
- package/core/MeganavContentWhyAbly/component.js +1 -0
- package/core/MeganavContentWhyAbly.jsx +1471 -0
- package/core/MeganavControl/component.js +1 -0
- package/core/MeganavControl.jsx +301 -0
- package/core/MeganavControlMobileDropdown/component.js +1 -0
- package/core/MeganavControlMobileDropdown.jsx +303 -0
- package/core/MeganavControlMobilePanelClose/component.js +1 -0
- package/core/MeganavControlMobilePanelClose.jsx +301 -0
- package/core/MeganavControlMobilePanelOpen/component.js +1 -0
- package/core/MeganavControlMobilePanelOpen.jsx +299 -0
- package/core/MeganavItemsDesktop/component.js +1 -0
- package/core/MeganavItemsDesktop.jsx +377 -0
- package/core/MeganavItemsMobile/component.js +1 -0
- package/core/MeganavItemsMobile.jsx +581 -0
- package/core/MeganavItemsSignedIn/component.js +1 -0
- package/core/MeganavItemsSignedIn.jsx +461 -0
- package/core/Notice/component.css +8 -0
- package/core/Notice/component.js +2 -0
- package/core/Notice/component.js.LICENSE.txt +9 -0
- package/core/Notice.jsx +2915 -0
- package/core/Showcase/component.css +31 -0
- package/core/Showcase/component.js +1 -0
- package/core/Showcase.jsx +17 -0
- package/core/SignOutLink/component.js +1 -0
- package/core/SignOutLink.jsx +262 -0
- package/core/Slider/component.css +9 -0
- package/core/Slider/component.js +1 -0
- package/core/Slider.jsx +957 -0
- package/core/Test/component.js +59 -0
- package/core/Test.jsx +4 -0
- package/core/Uptime/component.css +129 -0
- package/core/Uptime/component.js +1 -0
- package/core/Uptime.jsx +1373 -0
- package/core/core.base.css +1 -0
- package/core/core.components.css +49 -0
- package/core/fonts/.DS_Store +0 -0
- package/core/fonts/NEXT-Book-Light-Italic.eot +0 -0
- package/core/fonts/NEXT-Book-Light-Italic.otf +0 -0
- package/core/fonts/NEXT-Book-Light-Italic.woff +0 -0
- package/core/fonts/NEXT-Book-Light-Italic.woff2 +0 -0
- package/core/fonts/NEXT-Book-Light.eot +0 -0
- package/core/fonts/NEXT-Book-Light.otf +0 -0
- package/core/fonts/NEXT-Book-Light.woff +0 -0
- package/core/fonts/NEXT-Book-Light.woff2 +0 -0
- package/core/fonts/NEXT-Book-Medium-Italic.eot +0 -0
- package/core/fonts/NEXT-Book-Medium-Italic.otf +0 -0
- package/core/fonts/NEXT-Book-Medium-Italic.woff +0 -0
- package/core/fonts/NEXT-Book-Medium-Italic.woff2 +0 -0
- package/core/fonts/NEXT-Book-Medium.eot +0 -0
- package/core/fonts/NEXT-Book-Medium.otf +0 -0
- package/core/fonts/NEXT-Book-Medium.woff +0 -0
- package/core/fonts/NEXT-Book-Medium.woff2 +0 -0
- package/core/fonts/next.css +59 -0
- package/core/images/.DS_Store +0 -0
- package/core/images/ably-logo.svg +15 -0
- package/core/images/ably-stack.svg +14 -0
- package/core/images/blog-thumb1.jpg +0 -0
- package/core/images/blog-thumb2.jpg +0 -0
- package/core/images/blog-thumb3.jpg +0 -0
- package/core/images/cust-logo-ao-col-pos.png +0 -0
- package/core/images/cust-logo-ao-col-pos@2x.png +0 -0
- package/core/images/cust-logo-ausopen-col-pos.png +0 -0
- package/core/images/cust-logo-ausopen-col-pos@2x.png +0 -0
- package/core/images/cust-logo-ausopen-mono-pos.svg +5 -0
- package/core/images/cust-logo-bloomberg-mono-pos.svg +11 -0
- package/core/images/cust-logo-hopin-mono-pos.svg +4 -0
- package/core/images/cust-logo-hubspot-col-pos.png +0 -0
- package/core/images/cust-logo-hubspot-col-pos@2x.png +0 -0
- package/core/images/cust-logo-hubspot-mono-pos.svg +4 -0
- package/core/images/cust-logo-lightspeed-col-pos.png +0 -0
- package/core/images/cust-logo-lightspeed-col-pos@2x.png +0 -0
- package/core/images/cust-logo-lightspeed-syst-col-pos.png +0 -0
- package/core/images/cust-logo-lightspeed-syst-col-pos@2x.png +0 -0
- package/core/images/cust-logo-split-col-pos.png +0 -0
- package/core/images/cust-logo-split-col-pos@2x.png +0 -0
- package/core/images/cust-logo-split-mono-pos.svg +9 -0
- package/core/images/cust-logo-toyota-mono-pos.svg +18 -0
- package/core/images/cust-logo-vitac-col-pos.png +0 -0
- package/core/images/cust-logo-vitac-col-pos@2x.png +0 -0
- package/core/images/cust-photo-hubspot-max-freiert.jpg +0 -0
- package/core/images/cust-photo-split-pato-echague.jpg +0 -0
- package/core/images/cust-photo-vitac-joe-antonio.jpg +0 -0
- package/core/images/flexible-companies.png +0 -0
- package/core/images/rocket-list-2021.png +0 -0
- package/core/images/scale-motif-open-empathetic.svg +1 -0
- package/core/images/technical-support-01-800x533.jpg +0 -0
- package/core/scripts.js +1 -0
- package/core/sprites.svg +130 -0
- package/core/styles.base.css +1 -0
- package/core/styles.components.css +49 -0
- package/core/styles.css +560 -0
- package/package.json +1 -1
- package/preview/log/.keep +0 -0
- package/preview/tmp/.keep +0 -0
- package/preview/tmp/pids/.keep +0 -0
- package/reset/.gitignore +1 -0
- package/reset/scripts.js +1 -0
- package/reset/styles.css +487 -0
- package/src/.DS_Store +0 -0
- package/src/core/.DS_Store +0 -0
- package/src/core/Code/component.html.erb +3 -3
- package/src/core/Code/component.jsx +3 -2
- package/src/core/Code/component.rb +2 -1
- package/src/core/CustomerLogos/component.html.erb +9 -0
- package/src/core/CustomerLogos/component.js +0 -0
- package/src/core/CustomerLogos/component.jsx +27 -0
- package/src/core/CustomerLogos/component.rb +13 -0
- package/src/core/FeaturedLink/component.css +1 -2
- package/src/core/FeaturedLink/component.html.erb +1 -1
- package/src/core/FeaturedLink/component.rb +3 -1
- package/src/core/MeganavItemsSignedIn/component.html.erb +1 -1
- package/src/core/MeganavItemsSignedIn/component.jsx +1 -1
- package/src/core/Slider/component.html.erb +2 -2
- package/src/core/Slider/component.js +2 -2
- package/src/core/Slider/component.jsx +2 -2
- package/src/core/icons/icon-display-api-keys.svg +3 -0
- package/src/core/icons/icon-display-cloud-servers.svg +3 -0
- package/src/core/icons/icon-display-map-pin.svg +1 -1
- package/src/core/icons/icon-display-servers.svg +3 -0
- package/src/core/icons/icon-gui-history.svg +3 -0
- package/src/core/icons/icon-gui-refresh.svg +10 -0
- package/src/core/images/cust-logo-ausopen-mono-pos.svg +5 -0
- package/src/core/images/cust-logo-bloomberg-mono-pos.svg +11 -0
- package/src/core/images/cust-logo-hopin-mono-pos.svg +4 -0
- package/src/core/images/cust-logo-hubspot-mono-pos.svg +4 -0
- package/src/core/images/cust-logo-split-mono-pos.svg +9 -0
- package/src/core/images/cust-logo-toyota-mono-pos.svg +18 -0
- package/src/core/styles/buttons.css +91 -4
- package/src/core/styles/forms.css +50 -0
- package/src/core/styles/properties.css +34 -6
- package/src/core/styles/text.css +62 -1
- package/src/core/styles.components.css +1 -0
- package/tailwind.config.js +22 -1
package/core/Icon.jsx
ADDED
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("react"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define([], factory);
|
|
6
|
+
else {
|
|
7
|
+
var a = typeof exports === 'object' ? factory(require("react")) : factory(root[undefined]);
|
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
|
+
}
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__9281__) {
|
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ var __webpack_modules__ = ({
|
|
13
|
+
|
|
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:
|
|
106
|
+
/***/ ((module) => {
|
|
107
|
+
|
|
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
|
+
|
|
122
|
+
|
|
123
|
+
/***/ }),
|
|
124
|
+
|
|
125
|
+
/***/ 9281:
|
|
126
|
+
/***/ ((module) => {
|
|
127
|
+
|
|
128
|
+
"use strict";
|
|
129
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
|
|
130
|
+
|
|
131
|
+
/***/ })
|
|
132
|
+
|
|
133
|
+
/******/ });
|
|
134
|
+
/************************************************************************/
|
|
135
|
+
/******/ // The module cache
|
|
136
|
+
/******/ var __webpack_module_cache__ = {};
|
|
137
|
+
/******/
|
|
138
|
+
/******/ // The require function
|
|
139
|
+
/******/ function __webpack_require__(moduleId) {
|
|
140
|
+
/******/ // Check if module is in cache
|
|
141
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
142
|
+
/******/ if (cachedModule !== undefined) {
|
|
143
|
+
/******/ return cachedModule.exports;
|
|
144
|
+
/******/ }
|
|
145
|
+
/******/ // Create a new module (and put it into the cache)
|
|
146
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
147
|
+
/******/ // no module.id needed
|
|
148
|
+
/******/ // no module.loaded needed
|
|
149
|
+
/******/ exports: {}
|
|
150
|
+
/******/ };
|
|
151
|
+
/******/
|
|
152
|
+
/******/ // Execute the module function
|
|
153
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
154
|
+
/******/
|
|
155
|
+
/******/ // Return the exports of the module
|
|
156
|
+
/******/ return module.exports;
|
|
157
|
+
/******/ }
|
|
158
|
+
/******/
|
|
159
|
+
/************************************************************************/
|
|
160
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
161
|
+
/******/ (() => {
|
|
162
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
163
|
+
/******/ __webpack_require__.n = (module) => {
|
|
164
|
+
/******/ var getter = module && module.__esModule ?
|
|
165
|
+
/******/ () => (module['default']) :
|
|
166
|
+
/******/ () => (module);
|
|
167
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
168
|
+
/******/ return getter;
|
|
169
|
+
/******/ };
|
|
170
|
+
/******/ })();
|
|
171
|
+
/******/
|
|
172
|
+
/******/ /* webpack/runtime/define property getters */
|
|
173
|
+
/******/ (() => {
|
|
174
|
+
/******/ // define getter functions for harmony exports
|
|
175
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
176
|
+
/******/ for(var key in definition) {
|
|
177
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
178
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
179
|
+
/******/ }
|
|
180
|
+
/******/ }
|
|
181
|
+
/******/ };
|
|
182
|
+
/******/ })();
|
|
183
|
+
/******/
|
|
184
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
185
|
+
/******/ (() => {
|
|
186
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
187
|
+
/******/ })();
|
|
188
|
+
/******/
|
|
189
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
190
|
+
/******/ (() => {
|
|
191
|
+
/******/ // define __esModule on exports
|
|
192
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
193
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
194
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
195
|
+
/******/ }
|
|
196
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
197
|
+
/******/ };
|
|
198
|
+
/******/ })();
|
|
199
|
+
/******/
|
|
200
|
+
/************************************************************************/
|
|
201
|
+
var __webpack_exports__ = {};
|
|
202
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
203
|
+
(() => {
|
|
204
|
+
"use strict";
|
|
205
|
+
__webpack_require__.r(__webpack_exports__);
|
|
206
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
207
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
208
|
+
/* harmony export */ });
|
|
209
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
|
|
210
|
+
/* 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);
|
|
212
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
213
|
+
var _excluded = ["name", "size", "color", "additionalCSS"];
|
|
214
|
+
|
|
215
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
216
|
+
|
|
217
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
218
|
+
|
|
219
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
var Icon = function Icon(_ref) {
|
|
225
|
+
var name = _ref.name,
|
|
226
|
+
_ref$size = _ref.size,
|
|
227
|
+
size = _ref$size === void 0 ? "0.75rem" : _ref$size,
|
|
228
|
+
_ref$color = _ref.color,
|
|
229
|
+
color = _ref$color === void 0 ? "" : _ref$color,
|
|
230
|
+
_ref$additionalCSS = _ref.additionalCSS,
|
|
231
|
+
additionalCSS = _ref$additionalCSS === void 0 ? "" : _ref$additionalCSS,
|
|
232
|
+
additionalAttributes = _objectWithoutProperties(_ref, _excluded);
|
|
233
|
+
|
|
234
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", _extends({
|
|
235
|
+
className: "".concat(color, " ").concat(additionalCSS),
|
|
236
|
+
style: {
|
|
237
|
+
width: size,
|
|
238
|
+
height: size
|
|
239
|
+
}
|
|
240
|
+
}, additionalAttributes), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("use", {
|
|
241
|
+
xlinkHref: "#sprite-".concat(name)
|
|
242
|
+
}));
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
Icon.propTypes = {
|
|
246
|
+
name: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string.isRequired),
|
|
247
|
+
size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
248
|
+
color: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
249
|
+
additionalCSS: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
250
|
+
};
|
|
251
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
|
252
|
+
})();
|
|
253
|
+
|
|
254
|
+
/******/ return __webpack_exports__;
|
|
255
|
+
/******/ })()
|
|
256
|
+
;
|
|
257
|
+
});
|
|
@@ -0,0 +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.Logo=o())}(this,(function(){return{}.default}));
|
package/core/Logo.jsx
ADDED
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("react"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define([], factory);
|
|
6
|
+
else {
|
|
7
|
+
var a = typeof exports === 'object' ? factory(require("react")) : factory(root[undefined]);
|
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
|
+
}
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__9281__) {
|
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ var __webpack_modules__ = ({
|
|
13
|
+
|
|
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:
|
|
106
|
+
/***/ ((module) => {
|
|
107
|
+
|
|
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
|
+
|
|
122
|
+
|
|
123
|
+
/***/ }),
|
|
124
|
+
|
|
125
|
+
/***/ 9281:
|
|
126
|
+
/***/ ((module) => {
|
|
127
|
+
|
|
128
|
+
"use strict";
|
|
129
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
|
|
130
|
+
|
|
131
|
+
/***/ })
|
|
132
|
+
|
|
133
|
+
/******/ });
|
|
134
|
+
/************************************************************************/
|
|
135
|
+
/******/ // The module cache
|
|
136
|
+
/******/ var __webpack_module_cache__ = {};
|
|
137
|
+
/******/
|
|
138
|
+
/******/ // The require function
|
|
139
|
+
/******/ function __webpack_require__(moduleId) {
|
|
140
|
+
/******/ // Check if module is in cache
|
|
141
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
142
|
+
/******/ if (cachedModule !== undefined) {
|
|
143
|
+
/******/ return cachedModule.exports;
|
|
144
|
+
/******/ }
|
|
145
|
+
/******/ // Create a new module (and put it into the cache)
|
|
146
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
147
|
+
/******/ // no module.id needed
|
|
148
|
+
/******/ // no module.loaded needed
|
|
149
|
+
/******/ exports: {}
|
|
150
|
+
/******/ };
|
|
151
|
+
/******/
|
|
152
|
+
/******/ // Execute the module function
|
|
153
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
154
|
+
/******/
|
|
155
|
+
/******/ // Return the exports of the module
|
|
156
|
+
/******/ return module.exports;
|
|
157
|
+
/******/ }
|
|
158
|
+
/******/
|
|
159
|
+
/************************************************************************/
|
|
160
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
161
|
+
/******/ (() => {
|
|
162
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
163
|
+
/******/ __webpack_require__.n = (module) => {
|
|
164
|
+
/******/ var getter = module && module.__esModule ?
|
|
165
|
+
/******/ () => (module['default']) :
|
|
166
|
+
/******/ () => (module);
|
|
167
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
168
|
+
/******/ return getter;
|
|
169
|
+
/******/ };
|
|
170
|
+
/******/ })();
|
|
171
|
+
/******/
|
|
172
|
+
/******/ /* webpack/runtime/define property getters */
|
|
173
|
+
/******/ (() => {
|
|
174
|
+
/******/ // define getter functions for harmony exports
|
|
175
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
176
|
+
/******/ for(var key in definition) {
|
|
177
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
178
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
179
|
+
/******/ }
|
|
180
|
+
/******/ }
|
|
181
|
+
/******/ };
|
|
182
|
+
/******/ })();
|
|
183
|
+
/******/
|
|
184
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
185
|
+
/******/ (() => {
|
|
186
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
187
|
+
/******/ })();
|
|
188
|
+
/******/
|
|
189
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
190
|
+
/******/ (() => {
|
|
191
|
+
/******/ // define __esModule on exports
|
|
192
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
193
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
194
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
195
|
+
/******/ }
|
|
196
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
197
|
+
/******/ };
|
|
198
|
+
/******/ })();
|
|
199
|
+
/******/
|
|
200
|
+
/************************************************************************/
|
|
201
|
+
var __webpack_exports__ = {};
|
|
202
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
203
|
+
(() => {
|
|
204
|
+
"use strict";
|
|
205
|
+
__webpack_require__.r(__webpack_exports__);
|
|
206
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
207
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
208
|
+
/* harmony export */ });
|
|
209
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
|
|
210
|
+
/* 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);
|
|
212
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
var Logo = function Logo(_ref) {
|
|
217
|
+
var theme = _ref.theme,
|
|
218
|
+
dataId = _ref.dataId,
|
|
219
|
+
_ref$href = _ref.href,
|
|
220
|
+
href = _ref$href === void 0 ? "/" : _ref$href;
|
|
221
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
|
222
|
+
href: href,
|
|
223
|
+
className: "h-32"
|
|
224
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", {
|
|
225
|
+
"data-id": dataId,
|
|
226
|
+
className: "".concat(theme.logoTextColor, " transition-colors"),
|
|
227
|
+
width: "108",
|
|
228
|
+
height: "32",
|
|
229
|
+
viewBox: "0 0 108 32",
|
|
230
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
231
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", {
|
|
232
|
+
d: "M62.922 24.9786V4.08813H66.6933V11.6512C67.9709 10.435 69.6164 9.76044 71.3538 9.76044C75.4318 9.76044 79.0498 12.8674 79.0498 17.5484C79.0498 22.2293 75.4318 25.3465 71.3538 25.3465C69.5244 25.3465 67.7971 24.6209 66.5094 23.3024V24.9786H62.922ZM75.2785 17.5484C75.2785 14.932 73.4183 13.1025 70.9859 13.1025C68.6148 13.1025 66.7853 14.84 66.6933 17.3644V17.5484C66.6933 20.1648 68.5534 21.9942 70.9859 21.9942C73.4183 21.9942 75.2785 20.1648 75.2785 17.5484ZM80.7975 24.9786V4.08813H84.5688V24.9786H80.7975ZM89.8425 30.3954L92.0399 25.1523L86.0712 10.1284H90.1491L93.9511 20.6247L97.8144 10.1284H101.954L93.8591 30.4056H89.8425V30.3954ZM56.9329 10.1284V12.0191C55.6247 10.5883 53.7952 9.77066 51.9147 9.77066C47.8367 9.77066 44.2187 12.8777 44.2187 17.5586C44.2187 22.2497 47.8367 25.3465 51.9147 25.3465C53.8668 25.3465 55.7166 24.4982 57.0555 22.9754V24.9888H60.3465V10.1284H56.9329ZM56.5649 17.5484C56.5649 20.1341 54.7048 21.9942 52.2724 21.9942C49.8399 21.9942 47.9798 20.1341 47.9798 17.5484C47.9798 14.9626 49.8399 13.1025 52.2724 13.1025C54.6435 13.1025 56.473 14.8706 56.5649 17.3644V17.5484Z",
|
|
233
|
+
fill: "currentColor"
|
|
234
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", {
|
|
235
|
+
d: "M19.2858 0L3.14788 29.5369L0 27.3293L14.932 0H19.2858ZM19.5107 0L35.6487 29.5369L38.7965 27.3293L23.8646 0H19.5107Z",
|
|
236
|
+
fill: "url(#paint0_linear)"
|
|
237
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", {
|
|
238
|
+
d: "M35.4238 29.7107L19.3983 17.16L3.37271 29.7107L6.64323 32L19.3983 22.0147L32.1533 32L35.4238 29.7107Z",
|
|
239
|
+
fill: "url(#paint1_linear)"
|
|
240
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("defs", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("linearGradient", {
|
|
241
|
+
id: "paint0_linear",
|
|
242
|
+
x1: "5.47361",
|
|
243
|
+
y1: "37.4219",
|
|
244
|
+
x2: "32.4603",
|
|
245
|
+
y2: "7.45023",
|
|
246
|
+
gradientUnits: "userSpaceOnUse"
|
|
247
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
248
|
+
stopColor: "#FF5416"
|
|
249
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
250
|
+
offset: "0.2535",
|
|
251
|
+
stopColor: "#FF5115"
|
|
252
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
253
|
+
offset: "0.461",
|
|
254
|
+
stopColor: "#FF4712"
|
|
255
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
256
|
+
offset: "0.6523",
|
|
257
|
+
stopColor: "#FF350E"
|
|
258
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
259
|
+
offset: "0.8327",
|
|
260
|
+
stopColor: "#FF1E08"
|
|
261
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
262
|
+
offset: "1",
|
|
263
|
+
stopColor: "#FF0000"
|
|
264
|
+
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("linearGradient", {
|
|
265
|
+
id: "paint1_linear",
|
|
266
|
+
x1: "10.7084",
|
|
267
|
+
y1: "39.3593",
|
|
268
|
+
x2: "26.6583",
|
|
269
|
+
y2: "21.6452",
|
|
270
|
+
gradientUnits: "userSpaceOnUse"
|
|
271
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
272
|
+
stopColor: "#FF5416"
|
|
273
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
274
|
+
offset: "0.2535",
|
|
275
|
+
stopColor: "#FF5115"
|
|
276
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
277
|
+
offset: "0.461",
|
|
278
|
+
stopColor: "#FF4712"
|
|
279
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
280
|
+
offset: "0.6523",
|
|
281
|
+
stopColor: "#FF350E"
|
|
282
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
283
|
+
offset: "0.8327",
|
|
284
|
+
stopColor: "#FF1E08"
|
|
285
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("stop", {
|
|
286
|
+
offset: "1",
|
|
287
|
+
stopColor: "#FF0000"
|
|
288
|
+
})))));
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
Logo.propTypes = {
|
|
292
|
+
dataId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
293
|
+
theme: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),
|
|
294
|
+
href: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
295
|
+
};
|
|
296
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(Logo));
|
|
297
|
+
})();
|
|
298
|
+
|
|
299
|
+
/******/ return __webpack_exports__;
|
|
300
|
+
/******/ })()
|
|
301
|
+
;
|
|
302
|
+
});
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.ui-meganav-wrapper {
|
|
3
|
+
/* Define values for new stacking context defined by position: fixed */
|
|
4
|
+
--stacking-context-meganav-dropdown: 10;
|
|
5
|
+
--stacking-context-meganav-mobile-panel: 20;
|
|
6
|
+
|
|
7
|
+
z-index: var(--stacking-context-page-meganav);
|
|
8
|
+
|
|
9
|
+
@apply fixed top-0 w-full;
|
|
10
|
+
@apply antialiased font-sans transition-colors;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ui-meganav {
|
|
14
|
+
height: var(--ui-meganav-height);
|
|
15
|
+
|
|
16
|
+
@apply flex justify-between items-center max-w-screen-xl mx-auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ui-meganav-panel,
|
|
20
|
+
.ui-meganav-mobile-dropdown,
|
|
21
|
+
.ui-meganav-panel-account {
|
|
22
|
+
z-index: var(--stacking-context-meganav-dropdown);
|
|
23
|
+
|
|
24
|
+
@apply absolute left-0 right-0;
|
|
25
|
+
@apply border-mid-grey border-t shadow-container;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ui-meganav-panel {
|
|
29
|
+
@apply bg-white;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ui-meganav-panel-mobile {
|
|
33
|
+
z-index: var(--stacking-context-meganav-mobile-panel);
|
|
34
|
+
|
|
35
|
+
/* Prevents momentum-based scrolling https://devdocs.io/css/-webkit-overflow-scrolling */
|
|
36
|
+
-webkit-overflow-scrolling: auto;
|
|
37
|
+
|
|
38
|
+
@apply bg-white pt-16 border-0;
|
|
39
|
+
@apply border-mid-grey border-t shadow-container;
|
|
40
|
+
@apply fixed top-64 left-0 right-0 overflow-y-auto;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ui-meganav-panel-account {
|
|
44
|
+
left: auto;
|
|
45
|
+
min-width: 20rem;
|
|
46
|
+
@apply bg-white rounded-t-none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ui-meganav-link {
|
|
50
|
+
@apply text-menu2 font-medium block;
|
|
51
|
+
@apply mx-8 lg:mx-12 px-0 py-20;
|
|
52
|
+
@apply hover:text-gui-hover focus:text-gui-focus focus:outline-none;
|
|
53
|
+
@apply transition-colors;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ui-meganav-mobile-link {
|
|
57
|
+
@apply p-menu-row relative -left-8 w-extend-8;
|
|
58
|
+
@apply text-menu2 font-medium block text-cool-black text-left;
|
|
59
|
+
@apply flex items-center;
|
|
60
|
+
@apply focus:text-gui-focus focus:outline-none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ui-meganav-account-link {
|
|
64
|
+
@apply block px-8 py-8 hover:bg-light-grey hover:text-gui-hover rounded relative -left-8 text-menu3 w-extend-8 font-light;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.ui-meganav-content {
|
|
68
|
+
@apply max-w-screen-xl py-24 lg:py-32 mx-auto;
|
|
69
|
+
@apply grid grid-cols-1;
|
|
70
|
+
@apply px-24 md:px-32 lg:px-32 xl:px-64;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.ui-meganav-media {
|
|
74
|
+
@apply block px-8 py-8 hover:bg-light-grey rounded relative -left-8 w-extend-8;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ui-meganav-media-with-image {
|
|
78
|
+
grid-template-columns: -webkit-max-content 1fr;
|
|
79
|
+
grid-template-columns: max-content 1fr;
|
|
80
|
+
grid-template-rows: -webkit-min-content 1fr;
|
|
81
|
+
grid-template-rows: min-content 1fr;
|
|
82
|
+
|
|
83
|
+
@apply block px-8 py-8 hover:bg-light-grey rounded relative -left-8 w-extend-8;
|
|
84
|
+
@apply grid gap-x-16;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ui-meganav-media-heading {
|
|
88
|
+
@apply text-menu3 text-cool-black font-medium group-hover:text-gui-hover group-focus:text-gui-focus;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ui-meganav-media-copy {
|
|
92
|
+
@apply text-p3 text-dark-grey font-light;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.ui-meganav-overline {
|
|
96
|
+
@apply text-overline2 text-cool-black uppercase font-medium tracking-widen-0.15 p-overline;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ui-meganav-hr {
|
|
100
|
+
@apply my-0 text-mid-grey;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|