@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.AblyUi=r():(t.AblyUi=t.AblyUi||{},t.AblyUi.Core=t.AblyUi.Core||{},t.AblyUi.Core.MeganavBlogPostsList=r())}(this,(function(){return(()=>{var t={7757:(t,r,e)=>{e(5666)},5666:t=>{var r=function(t){"use strict";var r,e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(t){u=function(t,r,e){return t[r]=e}}function l(t,r,e,n){var o=r&&r.prototype instanceof v?r:v,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(t,r,e){var n=s;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw i;return C()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=E(a,e);if(c){if(c===d)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===s)throw n=y,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var u=f(t,r,e);if("normal"===u.type){if(n=e.done?y:h,u.arg===d)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n=y,e.method="throw",e.arg=u.arg)}}}(t,e,a),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var s="suspendedStart",h="suspendedYield",p="executing",y="completed",d={};function v(){}function g(){}function m(){}var b={};b[i]=function(){return this};var w=Object.getPrototypeOf,x=w&&w(w(_([])));x&&x!==e&&n.call(x,i)&&(b=x);var O=m.prototype=v.prototype=Object.create(b);function L(t){["next","throw","return"].forEach((function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function j(t,r){function e(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?r.resolve(s.__await).then((function(t){e("next",t,a,c)}),(function(t){e("throw",t,a,c)})):r.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return e("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}}function E(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,E(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=f(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function A(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function P(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function _(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}return{next:C}}function C(){return{value:r,done:!0}}return g.prototype=O.constructor=m,m.constructor=g,g.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},L(j.prototype),j.prototype[a]=function(){return this},t.AsyncIterator=j,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new j(l(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(O),u(O,c,"Generator"),O[i]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),d},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),d}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;P(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:_(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),d}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r);var n={};return(()=>{"use strict";e.d(n,{default:()=>l});var t=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return r.querySelectorAll("[data-id=".concat(t,"]"))};function r(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(r){i(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function i(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}e(7757);var a={recent:null},c=(i({},"blogPosts",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"blog/loaded":return o(o({},t),{},{recent:r.payload});default:return t}})),function(t){var r;return null===(r=t.getState().blogPosts)||void 0===r?void 0:r.recent});function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}const l=function(){var r,e,n,o;r=c,e=function(r){if(Array.isArray(r)&&r.length>0){var e=t("meganav-why-ably-panel-blog-section"),n=t("meganav-why-ably-panel-recent-blog-posts");Array.from(n).forEach((function(t){var e=document.createDocumentFragment();r.forEach((function(t){return e.appendChild((i=(r=t).link,a=r.title,c=r.pubDate,n=["li","a","p","p"].map((function(t){return document.createElement(t)})),o=4,l=function(t){if(Array.isArray(t))return t}(n)||function(t,r){var e=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=e){var n,o,i=[],a=!0,c=!1;try{for(e=e.call(t);!(a=(n=e.next()).done)&&(i.push(n.value),!r||i.length!==r);a=!0);}catch(t){c=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(c)throw o}}return i}}(n,o)||function(t,r){if(t){if("string"==typeof t)return u(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,r):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),f=l[0],s=l[1],h=l[2],p=l[3],s.href=i,s.classList.add("ui-meganav-media","group"),h.textContent=a,h.classList.add("ui-meganav-media-heading"),p.textContent=c,p.classList.add("ui-meganav-media-copy"),s.appendChild(h),s.appendChild(p),f.appendChild(s),f));var r,n,o,i,a,c,l,f,s,h,p})),t.appendChild(e)})),Array.from(e).forEach((function(t){return t.classList.remove("hidden")}))}},n=function(){if(!window.AblyUi.RemoteDataStore)throw new Error("Remote store was called before one was created");return window.AblyUi.RemoteDataStore}(),o=r(n),n.subscribe((function(){var t=r(n);t!==o&&(o=t,e(t))}))}})(),n.default})()}));
|
|
@@ -0,0 +1,360 @@
|
|
|
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
|
+
/***/ 5751:
|
|
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
|
+
/* harmony import */ var _Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9008);
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
var FeaturedLink = function FeaturedLink(_ref) {
|
|
31
|
+
var url = _ref.url,
|
|
32
|
+
_ref$textSize = _ref.textSize,
|
|
33
|
+
textSize = _ref$textSize === void 0 ? "text-menu3" : _ref$textSize,
|
|
34
|
+
_ref$iconColor = _ref.iconColor,
|
|
35
|
+
iconColor = _ref$iconColor === void 0 ? "text-cool-black" : _ref$iconColor,
|
|
36
|
+
_ref$flush = _ref.flush,
|
|
37
|
+
flush = _ref$flush === void 0 ? false : _ref$flush,
|
|
38
|
+
children = _ref.children;
|
|
39
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
|
40
|
+
href: url,
|
|
41
|
+
className: "ui-featured-link ".concat(textSize, " ").concat(flush ? "" : "py-8", " "),
|
|
42
|
+
style: {
|
|
43
|
+
"--featured-link-icon-size": "var(".concat(textSize.replace("text", "--fs"), ")")
|
|
44
|
+
}
|
|
45
|
+
}, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon_component_jsx__WEBPACK_IMPORTED_MODULE_2__.default, {
|
|
46
|
+
name: "icon-gui-link-arrow",
|
|
47
|
+
size: "calc(var(--featured-link-icon-size) * 1.25)",
|
|
48
|
+
color: iconColor,
|
|
49
|
+
additionalCSS: "ui-featured-link-icon"
|
|
50
|
+
}));
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
FeaturedLink.propTypes = {
|
|
54
|
+
url: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
55
|
+
children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
|
56
|
+
textSize: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
57
|
+
iconColor: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
58
|
+
flush: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
|
|
59
|
+
};
|
|
60
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FeaturedLink);
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 9008:
|
|
65
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
66
|
+
|
|
67
|
+
"use strict";
|
|
68
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
69
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
70
|
+
/* harmony export */ });
|
|
71
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
|
|
72
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
73
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5697);
|
|
74
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
75
|
+
var _excluded = ["name", "size", "color", "additionalCSS"];
|
|
76
|
+
|
|
77
|
+
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); }
|
|
78
|
+
|
|
79
|
+
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; }
|
|
80
|
+
|
|
81
|
+
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; }
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
var Icon = function Icon(_ref) {
|
|
87
|
+
var name = _ref.name,
|
|
88
|
+
_ref$size = _ref.size,
|
|
89
|
+
size = _ref$size === void 0 ? "0.75rem" : _ref$size,
|
|
90
|
+
_ref$color = _ref.color,
|
|
91
|
+
color = _ref$color === void 0 ? "" : _ref$color,
|
|
92
|
+
_ref$additionalCSS = _ref.additionalCSS,
|
|
93
|
+
additionalCSS = _ref$additionalCSS === void 0 ? "" : _ref$additionalCSS,
|
|
94
|
+
additionalAttributes = _objectWithoutProperties(_ref, _excluded);
|
|
95
|
+
|
|
96
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", _extends({
|
|
97
|
+
className: "".concat(color, " ").concat(additionalCSS),
|
|
98
|
+
style: {
|
|
99
|
+
width: size,
|
|
100
|
+
height: size
|
|
101
|
+
}
|
|
102
|
+
}, additionalAttributes), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("use", {
|
|
103
|
+
xlinkHref: "#sprite-".concat(name)
|
|
104
|
+
}));
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
Icon.propTypes = {
|
|
108
|
+
name: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string.isRequired),
|
|
109
|
+
size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
110
|
+
color: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
111
|
+
additionalCSS: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
112
|
+
};
|
|
113
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
|
114
|
+
|
|
115
|
+
/***/ }),
|
|
116
|
+
|
|
117
|
+
/***/ 2703:
|
|
118
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
119
|
+
|
|
120
|
+
"use strict";
|
|
121
|
+
/**
|
|
122
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
123
|
+
*
|
|
124
|
+
* This source code is licensed under the MIT license found in the
|
|
125
|
+
* LICENSE file in the root directory of this source tree.
|
|
126
|
+
*/
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
var ReactPropTypesSecret = __webpack_require__(414);
|
|
131
|
+
|
|
132
|
+
function emptyFunction() {}
|
|
133
|
+
function emptyFunctionWithReset() {}
|
|
134
|
+
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
135
|
+
|
|
136
|
+
module.exports = function() {
|
|
137
|
+
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
138
|
+
if (secret === ReactPropTypesSecret) {
|
|
139
|
+
// It is still safe when called from React.
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
var err = new Error(
|
|
143
|
+
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
144
|
+
'Use PropTypes.checkPropTypes() to call them. ' +
|
|
145
|
+
'Read more at http://fb.me/use-check-prop-types'
|
|
146
|
+
);
|
|
147
|
+
err.name = 'Invariant Violation';
|
|
148
|
+
throw err;
|
|
149
|
+
};
|
|
150
|
+
shim.isRequired = shim;
|
|
151
|
+
function getShim() {
|
|
152
|
+
return shim;
|
|
153
|
+
};
|
|
154
|
+
// Important!
|
|
155
|
+
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
156
|
+
var ReactPropTypes = {
|
|
157
|
+
array: shim,
|
|
158
|
+
bool: shim,
|
|
159
|
+
func: shim,
|
|
160
|
+
number: shim,
|
|
161
|
+
object: shim,
|
|
162
|
+
string: shim,
|
|
163
|
+
symbol: shim,
|
|
164
|
+
|
|
165
|
+
any: shim,
|
|
166
|
+
arrayOf: getShim,
|
|
167
|
+
element: shim,
|
|
168
|
+
elementType: shim,
|
|
169
|
+
instanceOf: getShim,
|
|
170
|
+
node: shim,
|
|
171
|
+
objectOf: getShim,
|
|
172
|
+
oneOf: getShim,
|
|
173
|
+
oneOfType: getShim,
|
|
174
|
+
shape: getShim,
|
|
175
|
+
exact: getShim,
|
|
176
|
+
|
|
177
|
+
checkPropTypes: emptyFunctionWithReset,
|
|
178
|
+
resetWarningCache: emptyFunction
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
182
|
+
|
|
183
|
+
return ReactPropTypes;
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
/***/ }),
|
|
188
|
+
|
|
189
|
+
/***/ 5697:
|
|
190
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
194
|
+
*
|
|
195
|
+
* This source code is licensed under the MIT license found in the
|
|
196
|
+
* LICENSE file in the root directory of this source tree.
|
|
197
|
+
*/
|
|
198
|
+
|
|
199
|
+
if (false) { var throwOnDirectAccess, ReactIs; } else {
|
|
200
|
+
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
201
|
+
// http://fb.me/prop-types-in-prod
|
|
202
|
+
module.exports = __webpack_require__(2703)();
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
/***/ }),
|
|
207
|
+
|
|
208
|
+
/***/ 414:
|
|
209
|
+
/***/ ((module) => {
|
|
210
|
+
|
|
211
|
+
"use strict";
|
|
212
|
+
/**
|
|
213
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
214
|
+
*
|
|
215
|
+
* This source code is licensed under the MIT license found in the
|
|
216
|
+
* LICENSE file in the root directory of this source tree.
|
|
217
|
+
*/
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
222
|
+
|
|
223
|
+
module.exports = ReactPropTypesSecret;
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
/***/ }),
|
|
227
|
+
|
|
228
|
+
/***/ 9281:
|
|
229
|
+
/***/ ((module) => {
|
|
230
|
+
|
|
231
|
+
"use strict";
|
|
232
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9281__;
|
|
233
|
+
|
|
234
|
+
/***/ })
|
|
235
|
+
|
|
236
|
+
/******/ });
|
|
237
|
+
/************************************************************************/
|
|
238
|
+
/******/ // The module cache
|
|
239
|
+
/******/ var __webpack_module_cache__ = {};
|
|
240
|
+
/******/
|
|
241
|
+
/******/ // The require function
|
|
242
|
+
/******/ function __webpack_require__(moduleId) {
|
|
243
|
+
/******/ // Check if module is in cache
|
|
244
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
245
|
+
/******/ if (cachedModule !== undefined) {
|
|
246
|
+
/******/ return cachedModule.exports;
|
|
247
|
+
/******/ }
|
|
248
|
+
/******/ // Create a new module (and put it into the cache)
|
|
249
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
250
|
+
/******/ // no module.id needed
|
|
251
|
+
/******/ // no module.loaded needed
|
|
252
|
+
/******/ exports: {}
|
|
253
|
+
/******/ };
|
|
254
|
+
/******/
|
|
255
|
+
/******/ // Execute the module function
|
|
256
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
257
|
+
/******/
|
|
258
|
+
/******/ // Return the exports of the module
|
|
259
|
+
/******/ return module.exports;
|
|
260
|
+
/******/ }
|
|
261
|
+
/******/
|
|
262
|
+
/************************************************************************/
|
|
263
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
264
|
+
/******/ (() => {
|
|
265
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
266
|
+
/******/ __webpack_require__.n = (module) => {
|
|
267
|
+
/******/ var getter = module && module.__esModule ?
|
|
268
|
+
/******/ () => (module['default']) :
|
|
269
|
+
/******/ () => (module);
|
|
270
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
271
|
+
/******/ return getter;
|
|
272
|
+
/******/ };
|
|
273
|
+
/******/ })();
|
|
274
|
+
/******/
|
|
275
|
+
/******/ /* webpack/runtime/define property getters */
|
|
276
|
+
/******/ (() => {
|
|
277
|
+
/******/ // define getter functions for harmony exports
|
|
278
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
279
|
+
/******/ for(var key in definition) {
|
|
280
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
281
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
282
|
+
/******/ }
|
|
283
|
+
/******/ }
|
|
284
|
+
/******/ };
|
|
285
|
+
/******/ })();
|
|
286
|
+
/******/
|
|
287
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
288
|
+
/******/ (() => {
|
|
289
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
290
|
+
/******/ })();
|
|
291
|
+
/******/
|
|
292
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
293
|
+
/******/ (() => {
|
|
294
|
+
/******/ // define __esModule on exports
|
|
295
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
296
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
297
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
298
|
+
/******/ }
|
|
299
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
300
|
+
/******/ };
|
|
301
|
+
/******/ })();
|
|
302
|
+
/******/
|
|
303
|
+
/************************************************************************/
|
|
304
|
+
var __webpack_exports__ = {};
|
|
305
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
306
|
+
(() => {
|
|
307
|
+
"use strict";
|
|
308
|
+
__webpack_require__.r(__webpack_exports__);
|
|
309
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
310
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
311
|
+
/* harmony export */ });
|
|
312
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9281);
|
|
313
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
314
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5697);
|
|
315
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
316
|
+
/* harmony import */ var _FeaturedLink_component_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5751);
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
var MeganavBlogPostsList = function MeganavBlogPostsList(_ref) {
|
|
322
|
+
var recentBlogPosts = _ref.recentBlogPosts,
|
|
323
|
+
absUrl = _ref.absUrl;
|
|
324
|
+
return recentBlogPosts ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h3", {
|
|
325
|
+
className: "ui-meganav-overline",
|
|
326
|
+
id: "meganav-why-ably-panel-list-blog"
|
|
327
|
+
}, "Blog"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("ul", {
|
|
328
|
+
className: "mb-8",
|
|
329
|
+
"aria-labelledby": "meganav-why-ably-panel-list-blog"
|
|
330
|
+
}, recentBlogPosts.map(function (post) {
|
|
331
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", {
|
|
332
|
+
key: post.link
|
|
333
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
|
334
|
+
href: post.link,
|
|
335
|
+
className: "ui-meganav-media group"
|
|
336
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
|
|
337
|
+
className: "ui-meganav-media-heading"
|
|
338
|
+
}, post.title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
|
|
339
|
+
className: "ui-meganav-media-copy"
|
|
340
|
+
}, post.pubDate)));
|
|
341
|
+
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_FeaturedLink_component_jsx__WEBPACK_IMPORTED_MODULE_2__.default, {
|
|
342
|
+
url: absUrl("/blog")
|
|
343
|
+
}, "More from our Blog")) : null;
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
MeganavBlogPostsList.propTypes = {
|
|
347
|
+
recentBlogPosts: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
|
|
348
|
+
link: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
349
|
+
title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
350
|
+
pubDate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
351
|
+
})),
|
|
352
|
+
absUrl: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
|
|
353
|
+
};
|
|
354
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MeganavBlogPostsList);
|
|
355
|
+
})();
|
|
356
|
+
|
|
357
|
+
/******/ return __webpack_exports__;
|
|
358
|
+
/******/ })()
|
|
359
|
+
;
|
|
360
|
+
});
|
|
@@ -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.MeganavContentDevelopers=o())}(this,(function(){return{}.default}));
|