ably-ui 4.2.0.dev.1a5533f → 4.2.0.dev.04ce1ff

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d90d2dcabfe89fbf34064b45b05e22286e68f0508475509e6a7ab9e32ac45513
4
- data.tar.gz: f385c2cb554a828e6faa7678291d23a1f95688edbefb19ad3fe8d873a11ffcf0
3
+ metadata.gz: 3e9bcbf240a0a1b7b1ed243c7093590ed8be5713a3b806b035d012037b40d6a3
4
+ data.tar.gz: 330b62568bc989475fe6fd50ee34c223bd4d3d6a33c298affbf33be0741c5667
5
5
  SHA512:
6
- metadata.gz: e63f99bd5cb2d9736b3d5d5cf903f42d536868d862beee75fd6106613d6d4270e59f62676ed7aaa30f3191a830a31a14af6250074e9998ca3dc38c01ae631912
7
- data.tar.gz: bbbf3d2ae41413b024e2e79bc2eb90a775882a617182df8fa7856c374327847f826b1802f58b361d4c744a8462feb7ac183b696d02d1a7ab7819dd4d8189cd67
6
+ metadata.gz: 46f4b7d0fe610d29029e0bbf0ab1288f15a4adf2133aab21b78f9edaaa3384ed31790e2ff61c2208bef40becdb2ac409d2046bd28619e9b59cf131398ad4cfef
7
+ data.tar.gz: 99e9c11d107b617943e401fc7c1e0ba6b0a2bb5c4f33fe3f016c734456dc947039ad569fe811f6006e6fb719cf4d84b332f2b7dd08d6365030e0b3bb03d2245c
data/ably-ui.gemspec CHANGED
@@ -10,10 +10,10 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["dominik.piatek@ably.com", "arti.mathanda@ably.com", "bruce.thomas@ably.com"]
11
11
  spec.summary = "Shared component library and design system for Ably Real-time Ltd (ably.com)"
12
12
  spec.licenses = ['Apache-2.0']
13
- spec.homepage = "https://github.com/ably/ui"
13
+ spec.homepage = "https://github.com/ably/ably-ui"
14
14
 
15
15
  spec.metadata = {
16
- "source_code_uri" => "https://github.com/ably/ui",
16
+ "source_code_uri" => "https://github.com/ably/ably-ui",
17
17
  }
18
18
 
19
19
  spec.files = Dir['lib/**/*'] + %w[Gemfile Gemfile.lock LICENSE README.md ably-ui.gemspec]
@@ -0,0 +1 @@
1
+ @import "./styles/properties.css";
@@ -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
+ }
@@ -0,0 +1 @@
1
+ @import "./styles/properties.css";
@@ -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
+ }
@@ -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.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})()}));
@@ -1,3 +1,3 @@
1
1
  module AblyUi
2
- VERSION = '4.2.0.dev.1a5533f'
2
+ VERSION = '4.2.0.dev.04ce1ff'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ably-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0.dev.1a5533f
4
+ version: 4.2.0.dev.04ce1ff
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Piatek
@@ -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
@@ -175,19 +177,23 @@ files:
175
177
  - lib/ably_ui/core/slider/slider.html.erb
176
178
  - lib/ably_ui/core/slider/slider.rb
177
179
  - lib/ably_ui/core/sprites.svg
180
+ - lib/ably_ui/core/styles.base.css
181
+ - lib/ably_ui/core/styles.components.css
178
182
  - lib/ably_ui/core/styles.css
179
183
  - lib/ably_ui/core/uptime/component.css
180
184
  - lib/ably_ui/core/uptime/component.js
181
185
  - lib/ably_ui/core/uptime/uptime.html.erb
182
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
183
189
  - lib/ably_ui/reset/scripts.js
184
190
  - lib/ably_ui/reset/styles.css
185
191
  - lib/ably_ui/version.rb
186
- homepage: https://github.com/ably/ui
192
+ homepage: https://github.com/ably/ably-ui
187
193
  licenses:
188
194
  - Apache-2.0
189
195
  metadata:
190
- source_code_uri: https://github.com/ably/ui
196
+ source_code_uri: https://github.com/ably/ably-ui
191
197
  post_install_message:
192
198
  rdoc_options: []
193
199
  require_paths: