@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.
Files changed (176) hide show
  1. package/core/.gitignore +1 -0
  2. package/core/Code/component.css +70 -0
  3. package/core/Code/component.js +1 -0
  4. package/core/Code.jsx +7578 -0
  5. package/core/ConnectStateWrapper/component.js +1 -0
  6. package/core/ConnectStateWrapper.jsx +213 -0
  7. package/core/ContactFooter/component.css +12 -0
  8. package/core/ContactFooter/component.js +1 -0
  9. package/core/ContactFooter.jsx +448 -0
  10. package/core/CookieMessage/component.css +14 -0
  11. package/core/CookieMessage/component.js +1 -0
  12. package/core/CookieMessage.jsx +476 -0
  13. package/core/CustomerLogos/component.js +1 -0
  14. package/core/CustomerLogos.jsx +246 -0
  15. package/core/FeatureFooter/component.css +13 -0
  16. package/core/FeatureFooter/component.js +1 -0
  17. package/core/FeatureFooter.jsx +17 -0
  18. package/core/FeaturedLink/component.css +16 -0
  19. package/core/FeaturedLink/component.js +1 -0
  20. package/core/FeaturedLink.jsx +307 -0
  21. package/core/Flash/component.css +30 -0
  22. package/core/Flash/component.js +1 -0
  23. package/core/Flash.jsx +2002 -0
  24. package/core/Footer/component.css +14 -0
  25. package/core/Footer/component.js +1 -0
  26. package/core/Footer.jsx +593 -0
  27. package/core/Icon/component.css +1 -0
  28. package/core/Icon/component.js +1 -0
  29. package/core/Icon.jsx +257 -0
  30. package/core/Logo/component.js +1 -0
  31. package/core/Logo.jsx +302 -0
  32. package/core/Meganav/component.css +103 -0
  33. package/core/Meganav/component.js +1 -0
  34. package/core/Meganav/component.json +37 -0
  35. package/core/Meganav.jsx +6514 -0
  36. package/core/MeganavBlogPostsList/component.js +1 -0
  37. package/core/MeganavBlogPostsList.jsx +360 -0
  38. package/core/MeganavContentDevelopers/component.js +1 -0
  39. package/core/MeganavContentDevelopers.jsx +418 -0
  40. package/core/MeganavContentPlatform/component.js +1 -0
  41. package/core/MeganavContentPlatform.jsx +440 -0
  42. package/core/MeganavContentUseCases/component.js +1 -0
  43. package/core/MeganavContentUseCases.jsx +309 -0
  44. package/core/MeganavContentWhyAbly/component.js +1 -0
  45. package/core/MeganavContentWhyAbly.jsx +1471 -0
  46. package/core/MeganavControl/component.js +1 -0
  47. package/core/MeganavControl.jsx +301 -0
  48. package/core/MeganavControlMobileDropdown/component.js +1 -0
  49. package/core/MeganavControlMobileDropdown.jsx +303 -0
  50. package/core/MeganavControlMobilePanelClose/component.js +1 -0
  51. package/core/MeganavControlMobilePanelClose.jsx +301 -0
  52. package/core/MeganavControlMobilePanelOpen/component.js +1 -0
  53. package/core/MeganavControlMobilePanelOpen.jsx +299 -0
  54. package/core/MeganavItemsDesktop/component.js +1 -0
  55. package/core/MeganavItemsDesktop.jsx +377 -0
  56. package/core/MeganavItemsMobile/component.js +1 -0
  57. package/core/MeganavItemsMobile.jsx +581 -0
  58. package/core/MeganavItemsSignedIn/component.js +1 -0
  59. package/core/MeganavItemsSignedIn.jsx +461 -0
  60. package/core/Notice/component.css +8 -0
  61. package/core/Notice/component.js +2 -0
  62. package/core/Notice/component.js.LICENSE.txt +9 -0
  63. package/core/Notice.jsx +2915 -0
  64. package/core/Showcase/component.css +31 -0
  65. package/core/Showcase/component.js +1 -0
  66. package/core/Showcase.jsx +17 -0
  67. package/core/SignOutLink/component.js +1 -0
  68. package/core/SignOutLink.jsx +262 -0
  69. package/core/Slider/component.css +9 -0
  70. package/core/Slider/component.js +1 -0
  71. package/core/Slider.jsx +957 -0
  72. package/core/Test/component.js +59 -0
  73. package/core/Test.jsx +4 -0
  74. package/core/Uptime/component.css +129 -0
  75. package/core/Uptime/component.js +1 -0
  76. package/core/Uptime.jsx +1373 -0
  77. package/core/core.base.css +1 -0
  78. package/core/core.components.css +49 -0
  79. package/core/fonts/.DS_Store +0 -0
  80. package/core/fonts/NEXT-Book-Light-Italic.eot +0 -0
  81. package/core/fonts/NEXT-Book-Light-Italic.otf +0 -0
  82. package/core/fonts/NEXT-Book-Light-Italic.woff +0 -0
  83. package/core/fonts/NEXT-Book-Light-Italic.woff2 +0 -0
  84. package/core/fonts/NEXT-Book-Light.eot +0 -0
  85. package/core/fonts/NEXT-Book-Light.otf +0 -0
  86. package/core/fonts/NEXT-Book-Light.woff +0 -0
  87. package/core/fonts/NEXT-Book-Light.woff2 +0 -0
  88. package/core/fonts/NEXT-Book-Medium-Italic.eot +0 -0
  89. package/core/fonts/NEXT-Book-Medium-Italic.otf +0 -0
  90. package/core/fonts/NEXT-Book-Medium-Italic.woff +0 -0
  91. package/core/fonts/NEXT-Book-Medium-Italic.woff2 +0 -0
  92. package/core/fonts/NEXT-Book-Medium.eot +0 -0
  93. package/core/fonts/NEXT-Book-Medium.otf +0 -0
  94. package/core/fonts/NEXT-Book-Medium.woff +0 -0
  95. package/core/fonts/NEXT-Book-Medium.woff2 +0 -0
  96. package/core/fonts/next.css +59 -0
  97. package/core/images/.DS_Store +0 -0
  98. package/core/images/ably-logo.svg +15 -0
  99. package/core/images/ably-stack.svg +14 -0
  100. package/core/images/blog-thumb1.jpg +0 -0
  101. package/core/images/blog-thumb2.jpg +0 -0
  102. package/core/images/blog-thumb3.jpg +0 -0
  103. package/core/images/cust-logo-ao-col-pos.png +0 -0
  104. package/core/images/cust-logo-ao-col-pos@2x.png +0 -0
  105. package/core/images/cust-logo-ausopen-col-pos.png +0 -0
  106. package/core/images/cust-logo-ausopen-col-pos@2x.png +0 -0
  107. package/core/images/cust-logo-ausopen-mono-pos.svg +5 -0
  108. package/core/images/cust-logo-bloomberg-mono-pos.svg +11 -0
  109. package/core/images/cust-logo-hopin-mono-pos.svg +4 -0
  110. package/core/images/cust-logo-hubspot-col-pos.png +0 -0
  111. package/core/images/cust-logo-hubspot-col-pos@2x.png +0 -0
  112. package/core/images/cust-logo-hubspot-mono-pos.svg +4 -0
  113. package/core/images/cust-logo-lightspeed-col-pos.png +0 -0
  114. package/core/images/cust-logo-lightspeed-col-pos@2x.png +0 -0
  115. package/core/images/cust-logo-lightspeed-syst-col-pos.png +0 -0
  116. package/core/images/cust-logo-lightspeed-syst-col-pos@2x.png +0 -0
  117. package/core/images/cust-logo-split-col-pos.png +0 -0
  118. package/core/images/cust-logo-split-col-pos@2x.png +0 -0
  119. package/core/images/cust-logo-split-mono-pos.svg +9 -0
  120. package/core/images/cust-logo-toyota-mono-pos.svg +18 -0
  121. package/core/images/cust-logo-vitac-col-pos.png +0 -0
  122. package/core/images/cust-logo-vitac-col-pos@2x.png +0 -0
  123. package/core/images/cust-photo-hubspot-max-freiert.jpg +0 -0
  124. package/core/images/cust-photo-split-pato-echague.jpg +0 -0
  125. package/core/images/cust-photo-vitac-joe-antonio.jpg +0 -0
  126. package/core/images/flexible-companies.png +0 -0
  127. package/core/images/rocket-list-2021.png +0 -0
  128. package/core/images/scale-motif-open-empathetic.svg +1 -0
  129. package/core/images/technical-support-01-800x533.jpg +0 -0
  130. package/core/scripts.js +1 -0
  131. package/core/sprites.svg +130 -0
  132. package/core/styles.base.css +1 -0
  133. package/core/styles.components.css +49 -0
  134. package/core/styles.css +560 -0
  135. package/package.json +1 -1
  136. package/preview/log/.keep +0 -0
  137. package/preview/tmp/.keep +0 -0
  138. package/preview/tmp/pids/.keep +0 -0
  139. package/reset/.gitignore +1 -0
  140. package/reset/scripts.js +1 -0
  141. package/reset/styles.css +487 -0
  142. package/src/.DS_Store +0 -0
  143. package/src/core/.DS_Store +0 -0
  144. package/src/core/Code/component.html.erb +3 -3
  145. package/src/core/Code/component.jsx +3 -2
  146. package/src/core/Code/component.rb +2 -1
  147. package/src/core/CustomerLogos/component.html.erb +9 -0
  148. package/src/core/CustomerLogos/component.js +0 -0
  149. package/src/core/CustomerLogos/component.jsx +27 -0
  150. package/src/core/CustomerLogos/component.rb +13 -0
  151. package/src/core/FeaturedLink/component.css +1 -2
  152. package/src/core/FeaturedLink/component.html.erb +1 -1
  153. package/src/core/FeaturedLink/component.rb +3 -1
  154. package/src/core/MeganavItemsSignedIn/component.html.erb +1 -1
  155. package/src/core/MeganavItemsSignedIn/component.jsx +1 -1
  156. package/src/core/Slider/component.html.erb +2 -2
  157. package/src/core/Slider/component.js +2 -2
  158. package/src/core/Slider/component.jsx +2 -2
  159. package/src/core/icons/icon-display-api-keys.svg +3 -0
  160. package/src/core/icons/icon-display-cloud-servers.svg +3 -0
  161. package/src/core/icons/icon-display-map-pin.svg +1 -1
  162. package/src/core/icons/icon-display-servers.svg +3 -0
  163. package/src/core/icons/icon-gui-history.svg +3 -0
  164. package/src/core/icons/icon-gui-refresh.svg +10 -0
  165. package/src/core/images/cust-logo-ausopen-mono-pos.svg +5 -0
  166. package/src/core/images/cust-logo-bloomberg-mono-pos.svg +11 -0
  167. package/src/core/images/cust-logo-hopin-mono-pos.svg +4 -0
  168. package/src/core/images/cust-logo-hubspot-mono-pos.svg +4 -0
  169. package/src/core/images/cust-logo-split-mono-pos.svg +9 -0
  170. package/src/core/images/cust-logo-toyota-mono-pos.svg +18 -0
  171. package/src/core/styles/buttons.css +91 -4
  172. package/src/core/styles/forms.css +50 -0
  173. package/src/core/styles/properties.css +34 -6
  174. package/src/core/styles/text.css +62 -1
  175. package/src/core/styles.components.css +1 -0
  176. package/tailwind.config.js +22 -1
@@ -0,0 +1,246 @@
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 CustomerLogos = function CustomerLogos(_ref) {
217
+ var companies = _ref.companies;
218
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
219
+ className: "w-full bg-white"
220
+ }, /*#__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"
222
+ }, companies.map(function (company) {
223
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", {
224
+ key: company.label,
225
+ className: "flex-auto text-center sm:w-1/3 w-1/2"
226
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("img", {
227
+ alt: company.label,
228
+ src: company.logo,
229
+ className: "mx-auto"
230
+ }));
231
+ })));
232
+ };
233
+
234
+ CustomerLogos.propTypes = {
235
+ companies: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
236
+ label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
237
+ logo: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
238
+ }))
239
+ };
240
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CustomerLogos);
241
+ })();
242
+
243
+ /******/ return __webpack_exports__;
244
+ /******/ })()
245
+ ;
246
+ });
@@ -0,0 +1,13 @@
1
+ @layer components {
2
+ .ui-feature-footer {
3
+ background: var(--gradient-active-orange);
4
+ background-size: 100% 100%;
5
+ background-position: right center;
6
+ @apply w-full font-sans antialiased bg-gradient-active-orange;
7
+ }
8
+
9
+ .ui-feature-footer-box {
10
+ @apply p-24 sm:p-32 xl:p-40 flex flex-col justify-between rounded-sm;
11
+ }
12
+ }
13
+
@@ -0,0 +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.FeatureFooter=t())}(this,(function(){return(()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{default:()=>a});var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return t.querySelector("[data-id=".concat(e,"]"))};function o(e,t){e.disabled=!1,e.innerText=t}function r(e,t){e.disabled=!0,e.innerText=t}var i=30;const a=function(){return function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).dataId,t=n(e),a=n("open-chat-widget",t),d=a.dataset.enabledLabel,u=a.dataset.disabledLabel;if(e&&t){var c,l=n("open-chat-widget",t),f=function e(t){var n,r,a=null===(n=window)||void 0===n||null===(r=n.HubSpotConversations)||void 0===r?void 0:r.widget,u=document.querySelector("#hubspot-messages-iframe-container");c=function(e){e.preventDefault(),a.open()},a&&u?(l.addEventListener("click",c),o(l,d)):--i&&setTimeout((function(){return e(100)}),t)};return r(l,u),f(0),function(){r(l,u),l.removeEventListener("click",c)}}}({dataId:"feature-footer"})};return t.default})()}));
@@ -0,0 +1,17 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define([], factory);
6
+ else {
7
+ var a = factory();
8
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
+ }
10
+ })(this, function() {
11
+ return /******/ (() => { // webpackBootstrap
12
+ var __webpack_exports__ = {};
13
+
14
+ /******/ return __webpack_exports__;
15
+ /******/ })()
16
+ ;
17
+ });
@@ -0,0 +1,16 @@
1
+ @layer components {
2
+ .ui-featured-link {
3
+ @apply font-sans font-medium block;
4
+ @apply text-gui-default hover:text-gui-hover focus:text-gui-focus focus:outline-gui-focus;
5
+ }
6
+
7
+ .ui-featured-link:hover svg {
8
+ @apply left-0;
9
+ }
10
+
11
+ .ui-featured-link-icon {
12
+ transition: left 100ms ease-in-out;
13
+ @apply align-middle ml-8 relative -top-1 -left-4;
14
+ }
15
+ }
16
+
@@ -0,0 +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.FeaturedLink=t())}(this,(function(){return(()=>{"use strict";var e={};return e.default})()}));
@@ -0,0 +1,307 @@
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
+ /***/ 9008:
15
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16
+
17
+ "use strict";
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
20
+ /* harmony export */ });
21
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
22
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
23
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5697);
24
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
25
+ var _excluded = ["name", "size", "color", "additionalCSS"];
26
+
27
+ 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); }
28
+
29
+ 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; }
30
+
31
+ 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; }
32
+
33
+
34
+
35
+
36
+ var Icon = function Icon(_ref) {
37
+ var name = _ref.name,
38
+ _ref$size = _ref.size,
39
+ size = _ref$size === void 0 ? "0.75rem" : _ref$size,
40
+ _ref$color = _ref.color,
41
+ color = _ref$color === void 0 ? "" : _ref$color,
42
+ _ref$additionalCSS = _ref.additionalCSS,
43
+ additionalCSS = _ref$additionalCSS === void 0 ? "" : _ref$additionalCSS,
44
+ additionalAttributes = _objectWithoutProperties(_ref, _excluded);
45
+
46
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", _extends({
47
+ className: "".concat(color, " ").concat(additionalCSS),
48
+ style: {
49
+ width: size,
50
+ height: size
51
+ }
52
+ }, additionalAttributes), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("use", {
53
+ xlinkHref: "#sprite-".concat(name)
54
+ }));
55
+ };
56
+
57
+ Icon.propTypes = {
58
+ name: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string.isRequired),
59
+ size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
60
+ color: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
61
+ additionalCSS: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
62
+ };
63
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
64
+
65
+ /***/ }),
66
+
67
+ /***/ 2703:
68
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
69
+
70
+ "use strict";
71
+ /**
72
+ * Copyright (c) 2013-present, Facebook, Inc.
73
+ *
74
+ * This source code is licensed under the MIT license found in the
75
+ * LICENSE file in the root directory of this source tree.
76
+ */
77
+
78
+
79
+
80
+ var ReactPropTypesSecret = __webpack_require__(414);
81
+
82
+ function emptyFunction() {}
83
+ function emptyFunctionWithReset() {}
84
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
85
+
86
+ module.exports = function() {
87
+ function shim(props, propName, componentName, location, propFullName, secret) {
88
+ if (secret === ReactPropTypesSecret) {
89
+ // It is still safe when called from React.
90
+ return;
91
+ }
92
+ var err = new Error(
93
+ 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
94
+ 'Use PropTypes.checkPropTypes() to call them. ' +
95
+ 'Read more at http://fb.me/use-check-prop-types'
96
+ );
97
+ err.name = 'Invariant Violation';
98
+ throw err;
99
+ };
100
+ shim.isRequired = shim;
101
+ function getShim() {
102
+ return shim;
103
+ };
104
+ // Important!
105
+ // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
106
+ var ReactPropTypes = {
107
+ array: shim,
108
+ bool: shim,
109
+ func: shim,
110
+ number: shim,
111
+ object: shim,
112
+ string: shim,
113
+ symbol: shim,
114
+
115
+ any: shim,
116
+ arrayOf: getShim,
117
+ element: shim,
118
+ elementType: shim,
119
+ instanceOf: getShim,
120
+ node: shim,
121
+ objectOf: getShim,
122
+ oneOf: getShim,
123
+ oneOfType: getShim,
124
+ shape: getShim,
125
+ exact: getShim,
126
+
127
+ checkPropTypes: emptyFunctionWithReset,
128
+ resetWarningCache: emptyFunction
129
+ };
130
+
131
+ ReactPropTypes.PropTypes = ReactPropTypes;
132
+
133
+ return ReactPropTypes;
134
+ };
135
+
136
+
137
+ /***/ }),
138
+
139
+ /***/ 5697:
140
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
141
+
142
+ /**
143
+ * Copyright (c) 2013-present, Facebook, Inc.
144
+ *
145
+ * This source code is licensed under the MIT license found in the
146
+ * LICENSE file in the root directory of this source tree.
147
+ */
148
+
149
+ if (false) { var throwOnDirectAccess, ReactIs; } else {
150
+ // By explicitly using `prop-types` you are opting into new production behavior.
151
+ // http://fb.me/prop-types-in-prod
152
+ module.exports = __webpack_require__(2703)();
153
+ }
154
+
155
+
156
+ /***/ }),
157
+
158
+ /***/ 414:
159
+ /***/ ((module) => {
160
+
161
+ "use strict";
162
+ /**
163
+ * Copyright (c) 2013-present, Facebook, Inc.
164
+ *
165
+ * This source code is licensed under the MIT license found in the
166
+ * LICENSE file in the root directory of this source tree.
167
+ */
168
+
169
+
170
+
171
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
172
+
173
+ module.exports = ReactPropTypesSecret;
174
+
175
+
176
+ /***/ }),
177
+
178
+ /***/ 9281:
179
+ /***/ ((module) => {
180
+
181
+ "use strict";
182
+ module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
183
+
184
+ /***/ })
185
+
186
+ /******/ });
187
+ /************************************************************************/
188
+ /******/ // The module cache
189
+ /******/ var __webpack_module_cache__ = {};
190
+ /******/
191
+ /******/ // The require function
192
+ /******/ function __webpack_require__(moduleId) {
193
+ /******/ // Check if module is in cache
194
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
195
+ /******/ if (cachedModule !== undefined) {
196
+ /******/ return cachedModule.exports;
197
+ /******/ }
198
+ /******/ // Create a new module (and put it into the cache)
199
+ /******/ var module = __webpack_module_cache__[moduleId] = {
200
+ /******/ // no module.id needed
201
+ /******/ // no module.loaded needed
202
+ /******/ exports: {}
203
+ /******/ };
204
+ /******/
205
+ /******/ // Execute the module function
206
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
207
+ /******/
208
+ /******/ // Return the exports of the module
209
+ /******/ return module.exports;
210
+ /******/ }
211
+ /******/
212
+ /************************************************************************/
213
+ /******/ /* webpack/runtime/compat get default export */
214
+ /******/ (() => {
215
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
216
+ /******/ __webpack_require__.n = (module) => {
217
+ /******/ var getter = module && module.__esModule ?
218
+ /******/ () => (module['default']) :
219
+ /******/ () => (module);
220
+ /******/ __webpack_require__.d(getter, { a: getter });
221
+ /******/ return getter;
222
+ /******/ };
223
+ /******/ })();
224
+ /******/
225
+ /******/ /* webpack/runtime/define property getters */
226
+ /******/ (() => {
227
+ /******/ // define getter functions for harmony exports
228
+ /******/ __webpack_require__.d = (exports, definition) => {
229
+ /******/ for(var key in definition) {
230
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
231
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
232
+ /******/ }
233
+ /******/ }
234
+ /******/ };
235
+ /******/ })();
236
+ /******/
237
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
238
+ /******/ (() => {
239
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
240
+ /******/ })();
241
+ /******/
242
+ /******/ /* webpack/runtime/make namespace object */
243
+ /******/ (() => {
244
+ /******/ // define __esModule on exports
245
+ /******/ __webpack_require__.r = (exports) => {
246
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
247
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
248
+ /******/ }
249
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
250
+ /******/ };
251
+ /******/ })();
252
+ /******/
253
+ /************************************************************************/
254
+ var __webpack_exports__ = {};
255
+ // This entry need to be wrapped in an IIFE because it need to be in strict mode.
256
+ (() => {
257
+ "use strict";
258
+ __webpack_require__.r(__webpack_exports__);
259
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
260
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
261
+ /* harmony export */ });
262
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
263
+ /* 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__(5697);
265
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
266
+ /* harmony import */ var _Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9008);
267
+
268
+
269
+
270
+
271
+ var FeaturedLink = function FeaturedLink(_ref) {
272
+ var url = _ref.url,
273
+ _ref$textSize = _ref.textSize,
274
+ textSize = _ref$textSize === void 0 ? "text-menu3" : _ref$textSize,
275
+ _ref$iconColor = _ref.iconColor,
276
+ iconColor = _ref$iconColor === void 0 ? "text-cool-black" : _ref$iconColor,
277
+ _ref$flush = _ref.flush,
278
+ flush = _ref$flush === void 0 ? false : _ref$flush,
279
+ children = _ref.children;
280
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
281
+ href: url,
282
+ className: "ui-featured-link ".concat(textSize, " ").concat(flush ? "" : "py-8", " "),
283
+ style: {
284
+ "--featured-link-icon-size": "var(".concat(textSize.replace("text", "--fs"), ")")
285
+ }
286
+ }, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__.default, {
287
+ name: "icon-gui-link-arrow",
288
+ size: "calc(var(--featured-link-icon-size) * 1.25)",
289
+ color: iconColor,
290
+ additionalCSS: "ui-featured-link-icon"
291
+ }));
292
+ };
293
+
294
+ FeaturedLink.propTypes = {
295
+ url: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
296
+ children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
297
+ textSize: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
298
+ iconColor: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
299
+ flush: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
300
+ };
301
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FeaturedLink);
302
+ })();
303
+
304
+ /******/ return __webpack_exports__;
305
+ /******/ })()
306
+ ;
307
+ });
@@ -0,0 +1,30 @@
1
+ @layer components {
2
+ .ui-flash {
3
+ @apply w-full fixed;
4
+ top: 5.5rem;
5
+ z-index: calc(var(--stacking-context-page-meganav) - 10);
6
+ transition: margin-top 200ms;
7
+ }
8
+
9
+ .ui-flash-message {
10
+ @apply font-sans font-light antialiased max-w-screen-xl mx-auto mt-8 opacity-0 relative;
11
+ transition: opacity 200ms, transform 200ms, height 200ms 200ms,
12
+ margin-top 200ms 200ms;
13
+ transform: translateY(-200%) rotateX(-90deg);
14
+ }
15
+
16
+ .ui-flash-text {
17
+ @apply mr-16 text-p1;
18
+ }
19
+
20
+ /* dynamic content inside flash, can't add classes */
21
+ .ui-flash-text a {
22
+ @apply underline;
23
+ }
24
+
25
+ .ui-flash-message-enter {
26
+ @apply opacity-100;
27
+ transform: translateY(0) rotateX(0);
28
+ }
29
+ }
30
+
@@ -0,0 +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.Flash=t())}(this,(function(){return(()=>{"use strict";var e={};return e.default})()}));