ably-ui 4.5.0 → 5.0.0.dev.bf26560
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +13 -17
- data/lib/ably_ui/core/code/component.css +2 -0
- data/lib/ably_ui/core/code/component.js +7468 -1
- data/lib/ably_ui/core/connect_state_wrapper/component.js +22 -1
- data/lib/ably_ui/core/contact_footer/component.css +2 -0
- data/lib/ably_ui/core/contact_footer/component.js +211 -1
- data/lib/ably_ui/core/cookie_message/component.css +2 -0
- data/lib/ably_ui/core/cookie_message/component.js +82 -1
- data/lib/ably_ui/core/core.base.css +1 -0
- data/lib/ably_ui/core/core.components.css +49 -0
- data/lib/ably_ui/core/feature_footer/component.css +2 -0
- data/lib/ably_ui/core/feature_footer/component.js +211 -1
- data/lib/ably_ui/core/featured_link/component.css +2 -0
- data/lib/ably_ui/core/featured_link/component.js +82 -1
- data/lib/ably_ui/core/flash/component.css +2 -0
- data/lib/ably_ui/core/flash/component.js +82 -1
- data/lib/ably_ui/core/footer/component.css +2 -0
- data/lib/ably_ui/core/footer/component.js +82 -1
- data/lib/ably_ui/core/icon/component.css +1 -0
- data/lib/ably_ui/core/icon/component.js +22 -1
- data/lib/ably_ui/core/logo/component.js +22 -1
- data/lib/ably_ui/core/meganav/component.css +2 -0
- data/lib/ably_ui/core/meganav/component.js +1857 -1
- data/lib/ably_ui/core/meganav_blog_posts_list/component.js +1934 -1
- data/lib/ably_ui/core/meganav_content_developers/component.js +22 -1
- data/lib/ably_ui/core/meganav_content_platform/component.js +22 -1
- data/lib/ably_ui/core/meganav_content_use_cases/component.js +22 -1
- data/lib/ably_ui/core/meganav_content_why_ably/component.js +22 -1
- data/lib/ably_ui/core/meganav_control/component.js +208 -1
- data/lib/ably_ui/core/meganav_control_mobile_dropdown/component.js +975 -1
- data/lib/ably_ui/core/meganav_control_mobile_panel_close/component.js +142 -1
- data/lib/ably_ui/core/meganav_control_mobile_panel_open/component.js +170 -1
- data/lib/ably_ui/core/meganav_items_desktop/component.js +22 -1
- data/lib/ably_ui/core/meganav_items_mobile/component.js +22 -1
- data/lib/ably_ui/core/meganav_items_signed_in/component.js +22 -1
- data/lib/ably_ui/core/notice/component.css +2 -0
- data/lib/ably_ui/core/notice/component.js +4613 -2
- data/lib/ably_ui/core/scripts.js +1 -1
- data/lib/ably_ui/core/showcase/component.css +2 -0
- data/lib/ably_ui/core/showcase/component.js +343 -1
- data/lib/ably_ui/core/sign_out_link/component.js +22 -1
- data/lib/ably_ui/core/slider/component.css +2 -0
- data/lib/ably_ui/core/slider/component.js +38 -1
- data/lib/ably_ui/core/slider/slider.html.erb +1 -1
- data/lib/ably_ui/core/styles.base.css +1 -0
- data/lib/ably_ui/core/styles.components.css +49 -0
- data/lib/ably_ui/core/uptime/component.css +2 -0
- data/lib/ably_ui/core/uptime/component.js +82 -1
- data/lib/ably_ui/react/connect_state_wrapper/component.js +1 -0
- data/lib/ably_ui/react/scripts.js +1 -0
- data/lib/ably_ui/version.rb +1 -1
- metadata +15 -8
@@ -0,0 +1,49 @@
|
|
1
|
+
@import "./styles/buttons.css";
|
2
|
+
@import "./styles/layout.css";
|
3
|
+
@import "./styles/text.css";
|
4
|
+
|
5
|
+
@layer components {
|
6
|
+
.ui-input {
|
7
|
+
@apply text-p2 font-light bg-light-grey rounded p-input w-full leading-none appearance-none border border-mid-grey transition-input;
|
8
|
+
@apply hover:bg-white hover:shadow-input hover:border-transparent;
|
9
|
+
@apply focus:bg-white focus:shadow-input focus:border-transparent focus:outline-gui-focus;
|
10
|
+
@apply max-w-screen-sm;
|
11
|
+
}
|
12
|
+
|
13
|
+
/* Basis for icon component */
|
14
|
+
.ui-icon-cool-black {
|
15
|
+
stroke: var(--color-cool-black);
|
16
|
+
}
|
17
|
+
|
18
|
+
.ui-icon-white {
|
19
|
+
stroke: var(--color-white);
|
20
|
+
}
|
21
|
+
|
22
|
+
.ui-icon-dark-grey {
|
23
|
+
stroke: var(--color-dark-grey);
|
24
|
+
}
|
25
|
+
|
26
|
+
/* Extend how tailwind does group hover for icons */
|
27
|
+
.group {
|
28
|
+
&:hover {
|
29
|
+
.group-hover\:icon-gui-hover {
|
30
|
+
stroke: var(--color-gui-hover);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
&:focus {
|
35
|
+
.group-focus\:icon-gui-focus {
|
36
|
+
stroke: var(--color-gui-focus);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.ui-version-tag {
|
42
|
+
@apply inline-block absolute align-top uppercase font-bold whitespace-nowrap;
|
43
|
+
|
44
|
+
position: relative;
|
45
|
+
vertical-align: super;
|
46
|
+
margin-left: 3px;
|
47
|
+
font-size: 8px;
|
48
|
+
}
|
49
|
+
}
|
@@ -127,3 +127,5 @@
|
|
127
127
|
}
|
128
128
|
}
|
129
129
|
|
130
|
+
|
131
|
+
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9BYmx5VWkuQ29yZS5bbmFtZV0vLi9zcmMvY29yZS9VcHRpbWUvY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFO0lBQ0UsbUNBQW1DO0lBQ25DLDZDQUE2QztJQUM3Qyx1Q0FBdUM7SUFDdkMsOEJBQThCO0lBQzlCLHdCQUF3Qjs7SUFFeEIsNEJBQTRCO0VBQzlCOztFQUVBO0lBQ0UsNkRBQTZEO0VBQy9EOztFQUVBO0lBQ0UsMERBQTBEO0VBQzVEOztFQUVBO0lBQ0UsMkRBQTJEO0lBQzNELGlEQUFpRDtJQUNqRCxxQ0FBcUM7SUFDckMsaURBQWlEO0lBQ2pELHdCQUF3Qjs7SUFFeEIsMkJBQTJCO0lBQzNCLGlCQUFpQjtJQUNqQixZQUFZO0VBQ2Q7O0VBRUE7SUFDRSx1QkFBdUI7SUFDdkIsV0FBVztFQUNiOztFQUVBO0lBQ0UsY0FBY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11cHRpbWUtZm9vdGVyIHtcbiAgICBAYXBwbHkgbXQtNDAgZmxleCBqdXN0aWZ5LWJldHdlZW4gaXRlbXMtc3RhcnQgZmxleC1jb2w7XG4gICAgQGFwcGx5IHNtOmZsZXgtcm93IHNtOml0ZW1zLWNlbnRlcjtcbiAgfVxuXG4gIC51aS11cHRpbWUtbGluay1iYWNrIHtcbiAgICBAYXBwbHkgbXQtNDAgd2hpdGVzcGFjZS1ub3dyYXA7XG4gICAgQGFwcGx5IHNtOm10LTA7XG4gIH1cblxuICAudWktdXB0aW1lLWxpbmstYmFjayBhIHtcbiAgICBAYXBwbHkgdGV4dC1wMSB0ZXh0LWd1aS1kZWZhdWx0IGZvbnQtbWVkaXVtIG5vLXVuZGVybGluZTtcbiAgfVxufVxuIl0sInNvdXJjZVJvb3QiOiIifQ==*/
|
@@ -1 +1,82 @@
|
|
1
|
-
|
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 if(typeof exports === 'object')
|
7
|
+
exports["AblyUi"] = factory();
|
8
|
+
else
|
9
|
+
root["AblyUi"] = root["AblyUi"] || {}, root["AblyUi"]["Core"] = root["AblyUi"]["Core"] || {}, root["AblyUi"]["Core"]["Uptime"] = factory();
|
10
|
+
})(this, function() {
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
14
|
+
|
15
|
+
/***/ "./src/core/Uptime/component.css":
|
16
|
+
/*!***************************************!*\
|
17
|
+
!*** ./src/core/Uptime/component.css ***!
|
18
|
+
\***************************************/
|
19
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
20
|
+
|
21
|
+
__webpack_require__.r(__webpack_exports__);
|
22
|
+
// extracted by mini-css-extract-plugin
|
23
|
+
|
24
|
+
|
25
|
+
/***/ })
|
26
|
+
|
27
|
+
/******/ });
|
28
|
+
/************************************************************************/
|
29
|
+
/******/ // The module cache
|
30
|
+
/******/ var __webpack_module_cache__ = {};
|
31
|
+
/******/
|
32
|
+
/******/ // The require function
|
33
|
+
/******/ function __webpack_require__(moduleId) {
|
34
|
+
/******/ // Check if module is in cache
|
35
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
36
|
+
/******/ if (cachedModule !== undefined) {
|
37
|
+
/******/ return cachedModule.exports;
|
38
|
+
/******/ }
|
39
|
+
/******/ // Create a new module (and put it into the cache)
|
40
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
41
|
+
/******/ // no module.id needed
|
42
|
+
/******/ // no module.loaded needed
|
43
|
+
/******/ exports: {}
|
44
|
+
/******/ };
|
45
|
+
/******/
|
46
|
+
/******/ // Execute the module function
|
47
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
48
|
+
/******/
|
49
|
+
/******/ // Return the exports of the module
|
50
|
+
/******/ return module.exports;
|
51
|
+
/******/ }
|
52
|
+
/******/
|
53
|
+
/************************************************************************/
|
54
|
+
/******/ /* webpack/runtime/make namespace object */
|
55
|
+
/******/ (() => {
|
56
|
+
/******/ // define __esModule on exports
|
57
|
+
/******/ __webpack_require__.r = (exports) => {
|
58
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
59
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
60
|
+
/******/ }
|
61
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
62
|
+
/******/ };
|
63
|
+
/******/ })();
|
64
|
+
/******/
|
65
|
+
/************************************************************************/
|
66
|
+
var __webpack_exports__ = {};
|
67
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
68
|
+
(() => {
|
69
|
+
/*!**************************************!*\
|
70
|
+
!*** ./src/core/Uptime/component.js ***!
|
71
|
+
\**************************************/
|
72
|
+
__webpack_require__.r(__webpack_exports__);
|
73
|
+
/* harmony import */ var _component_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./component.css */ "./src/core/Uptime/component.css");
|
74
|
+
|
75
|
+
})();
|
76
|
+
|
77
|
+
__webpack_exports__ = __webpack_exports__.default;
|
78
|
+
/******/ return __webpack_exports__;
|
79
|
+
/******/ })()
|
80
|
+
;
|
81
|
+
});
|
82
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9BYmx5VWkuQ29yZS5bbmFtZV0vd2VicGFjay91bml2ZXJzYWxNb2R1bGVEZWZpbml0aW9uIiwid2VicGFjazovL0FibHlVaS5Db3JlLltuYW1lXS8uL3NyYy9jb3JlL1VwdGltZS9jb21wb25lbnQuY3NzP2Q5MmQiLCJ3ZWJwYWNrOi8vQWJseVVpLkNvcmUuW25hbWVdL3dlYnBhY2svYm9vdHN0cmFwIiwid2VicGFjazovL0FibHlVaS5Db3JlLltuYW1lXS93ZWJwYWNrL3J1bnRpbWUvbWFrZSBuYW1lc3BhY2Ugb2JqZWN0Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSx1Q0FBdUMsdURBQXVEO0FBQzlGLENBQUM7QUFDRCxPOzs7Ozs7Ozs7OztBQ1ZBOzs7Ozs7O1VDQUE7VUFDQTs7VUFFQTtVQUNBO1VBQ0E7VUFDQTtVQUNBO1VBQ0E7VUFDQTtVQUNBO1VBQ0E7VUFDQTtVQUNBO1VBQ0E7VUFDQTs7VUFFQTtVQUNBOztVQUVBO1VBQ0E7VUFDQTs7Ozs7V0N0QkE7V0FDQTtXQUNBO1dBQ0Esc0RBQXNELGtCQUFrQjtXQUN4RTtXQUNBLCtDQUErQyxjQUFjO1dBQzdELEUiLCJmaWxlIjoiY29y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|
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.React=e.AblyUi.React||{},e.AblyUi.React.ConnectStateWrapper=t())}(this,(function(){return{}.default}));
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define([,],t):"object"==typeof exports?exports.AblyUi=t(require("react"),require("react-dom")):(e.AblyUi=e.AblyUi||{},e.AblyUi.React=t(e[void 0],e[void 0]))}(this,(function(e,t){return(()=>{"use strict";var r={281:t=>{t.exports=e},645:e=>{e.exports=t}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{a.r(n),a.d(n,{reactRenderer:()=>i});var e=a(281),t=a.n(e),r=a(645),o=a.n(r);function i(e){var r=document.querySelectorAll("[data-react]");Array.from(r).forEach((function(r){var a=r.getAttribute("data-react"),n=e[a];if(!n)throw new Error('Found a data-react attribute with "'.concat(a,'" but no matching component.'));var i=r.getAttribute("data-react-props"),c=i&&JSON.parse(i||{});o().render(t().createElement(n,c),r),r.removeAttribute("data-react"),r.removeAttribute("data-react-props")}))}})(),n})()}));
|
data/lib/ably_ui/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ably-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0.dev.bf26560
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Piatek
|
8
8
|
- Arti Mathanda
|
9
9
|
- Bruce Thomas
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-11-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: view_component
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 2.33.0
|
29
|
-
description:
|
29
|
+
description:
|
30
30
|
email:
|
31
31
|
- dominik.piatek@ably.com
|
32
32
|
- arti.mathanda@ably.com
|
@@ -52,6 +52,8 @@ files:
|
|
52
52
|
- lib/ably_ui/core/contact_footer/contact_footer.rb
|
53
53
|
- lib/ably_ui/core/cookie_message/component.css
|
54
54
|
- lib/ably_ui/core/cookie_message/component.js
|
55
|
+
- lib/ably_ui/core/core.base.css
|
56
|
+
- lib/ably_ui/core/core.components.css
|
55
57
|
- lib/ably_ui/core/core.rb
|
56
58
|
- lib/ably_ui/core/feature_footer/component.css
|
57
59
|
- lib/ably_ui/core/feature_footer/component.js
|
@@ -84,6 +86,7 @@ files:
|
|
84
86
|
- lib/ably_ui/core/footer/component.js
|
85
87
|
- lib/ably_ui/core/footer/footer.html.erb
|
86
88
|
- lib/ably_ui/core/footer/footer.rb
|
89
|
+
- lib/ably_ui/core/icon/component.css
|
87
90
|
- lib/ably_ui/core/icon/component.js
|
88
91
|
- lib/ably_ui/core/icon/icon.html.erb
|
89
92
|
- lib/ably_ui/core/icon/icon.rb
|
@@ -174,11 +177,15 @@ files:
|
|
174
177
|
- lib/ably_ui/core/slider/slider.html.erb
|
175
178
|
- lib/ably_ui/core/slider/slider.rb
|
176
179
|
- lib/ably_ui/core/sprites.svg
|
180
|
+
- lib/ably_ui/core/styles.base.css
|
181
|
+
- lib/ably_ui/core/styles.components.css
|
177
182
|
- lib/ably_ui/core/styles.css
|
178
183
|
- lib/ably_ui/core/uptime/component.css
|
179
184
|
- lib/ably_ui/core/uptime/component.js
|
180
185
|
- lib/ably_ui/core/uptime/uptime.html.erb
|
181
186
|
- lib/ably_ui/core/uptime/uptime.rb
|
187
|
+
- lib/ably_ui/react/connect_state_wrapper/component.js
|
188
|
+
- lib/ably_ui/react/scripts.js
|
182
189
|
- lib/ably_ui/reset/scripts.js
|
183
190
|
- lib/ably_ui/reset/styles.css
|
184
191
|
- lib/ably_ui/version.rb
|
@@ -187,7 +194,7 @@ licenses:
|
|
187
194
|
- Apache-2.0
|
188
195
|
metadata:
|
189
196
|
source_code_uri: https://github.com/ably/ably-ui
|
190
|
-
post_install_message:
|
197
|
+
post_install_message:
|
191
198
|
rdoc_options: []
|
192
199
|
require_paths:
|
193
200
|
- lib
|
@@ -198,12 +205,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
198
205
|
version: '0'
|
199
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
207
|
requirements:
|
201
|
-
- - "
|
208
|
+
- - ">"
|
202
209
|
- !ruby/object:Gem::Version
|
203
|
-
version:
|
210
|
+
version: 1.3.1
|
204
211
|
requirements: []
|
205
212
|
rubygems_version: 3.2.3
|
206
|
-
signing_key:
|
213
|
+
signing_key:
|
207
214
|
specification_version: 4
|
208
215
|
summary: Shared component library and design system for Ably Real-time Ltd (ably.com)
|
209
216
|
test_files: []
|