ably-ui 6.9.0 → 6.10.0.dev.67b3652
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ably_ui/core/code/code.rb +1 -1
- data/lib/ably_ui/core/code/component.css +1 -1
- data/lib/ably_ui/core/styles.css +22 -8
- 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 +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b85482965125b8bf93e4f5f7217b98612fa4a15259acab8f450d9a2d9956c25f
|
4
|
+
data.tar.gz: dd1859c485cde829f68c541a89e3ce60acc2066801ea01a62f1c899812201edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b9cd51756b105e9ff664be5a3fdc713ffc1319d05a00c96ebaec5805cd85b21006cb392db296ea16257a425061608fc29a2334277f04547b9a92977ee5b4635
|
7
|
+
data.tar.gz: 0e1d3f98f8eba8d5e9a2a595f15daef872961f907a89a651bee916714d38251e24590d69c8c3ff22fa618e97f8d304a159ac39358812ee21385ca68fae3d0b47
|
data/Gemfile.lock
CHANGED
@@ -2,7 +2,7 @@ module AblyUi
|
|
2
2
|
module Core
|
3
3
|
class Code < ViewComponent::Base
|
4
4
|
include AblyUi::Core::Util
|
5
|
-
def initialize(language:, snippet:, text_size: 'ui-text-
|
5
|
+
def initialize(language:, snippet:, text_size: 'ui-text-code')
|
6
6
|
@language = language
|
7
7
|
@snippet = snippet.try(:strip)
|
8
8
|
@text_size = text_size
|
data/lib/ably_ui/core/styles.css
CHANGED
@@ -96,8 +96,7 @@
|
|
96
96
|
--fs-menu2: 1rem;
|
97
97
|
--fs-menu3: 0.875rem;
|
98
98
|
--fs-quote: 1.5rem;
|
99
|
-
--fs-
|
100
|
-
--fs-code2: 0.875rem;
|
99
|
+
--fs-code: 0.875rem;
|
101
100
|
|
102
101
|
--lh-dense: 1;
|
103
102
|
--lh-tight: 1.125;
|
@@ -149,6 +148,7 @@
|
|
149
148
|
--spacing-chip-small: 0.5rem 0.75rem; /* 8px 12px */
|
150
149
|
--spacing-chip: 0.75rem 1rem; /* 6px 8px */
|
151
150
|
--spacing-chip-large: 1rem 1.25rem; /* 16px 20px */
|
151
|
+
--spacing-inline-code: 0.375rem 0.5rem; /* 6px 8px */
|
152
152
|
|
153
153
|
/* In components, when looking at implementing viewport margin and spacing between elements,
|
154
154
|
the values in the comments can be used as guide as they represent the grid the elements (should) sit on.
|
@@ -400,12 +400,12 @@
|
|
400
400
|
@apply text-menu3;
|
401
401
|
}
|
402
402
|
|
403
|
-
.ui-text-
|
404
|
-
@apply font-mono font-
|
403
|
+
.ui-text-code {
|
404
|
+
@apply font-mono font-semibold text-code;
|
405
405
|
}
|
406
406
|
|
407
|
-
.ui-text-
|
408
|
-
@apply font-mono font-
|
407
|
+
.ui-text-code-inline {
|
408
|
+
@apply font-mono font-semibold text-code text-charcoal-grey bg-light-grey p-inline-code rounded-sm mx-1;
|
409
409
|
}
|
410
410
|
|
411
411
|
.ui-unordered-list {
|
@@ -413,10 +413,24 @@
|
|
413
413
|
@apply list-disc ml-32 mb-24;
|
414
414
|
}
|
415
415
|
|
416
|
+
.ui-ordered-list {
|
417
|
+
@apply text-p1 font-light text-cool-black;
|
418
|
+
@apply ml-32 mb-24 list-decimal;
|
419
|
+
}
|
420
|
+
|
421
|
+
.ui-unordered-list li > *:last-of-type:not(ul):not(ol),
|
422
|
+
.ui-ordered-list li > *:last-of-type:not(ul):not(ol) {
|
423
|
+
margin-bottom: 0;
|
424
|
+
}
|
425
|
+
|
416
426
|
.ui-unordered-list ul {
|
417
427
|
@apply ml-24 mt-16 list-circle;
|
418
428
|
}
|
419
429
|
|
430
|
+
.ui-ordered-list ol {
|
431
|
+
@apply ml-24 mt-16 list-decimal;
|
432
|
+
}
|
433
|
+
|
420
434
|
.ui-unordered-list ul ul {
|
421
435
|
@apply list-square;
|
422
436
|
}
|
@@ -436,11 +450,11 @@
|
|
436
450
|
|
437
451
|
.ui-unordered-list-with-emphasis ul {
|
438
452
|
margin-top: calc(var(--spacing-16) + var(--spacing-8));
|
439
|
-
@apply ml-24 list-
|
453
|
+
@apply ml-24 list-circle;
|
440
454
|
}
|
441
455
|
|
442
456
|
.ui-unordered-list-with-emphasis ul ul {
|
443
|
-
@apply list-
|
457
|
+
@apply list-square;
|
444
458
|
}
|
445
459
|
|
446
460
|
/* visited needs to come before :hover et all else it overrides them */
|
@@ -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})()}));
|
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: 6.
|
4
|
+
version: 6.10.0.dev.67b3652
|
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: 2022-03-
|
13
|
+
date: 2022-03-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: view_component
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '2.50'
|
35
|
-
description:
|
35
|
+
description:
|
36
36
|
email:
|
37
37
|
- dominik.piatek@ably.com
|
38
38
|
- arti.mathanda@ably.com
|
@@ -196,6 +196,8 @@ files:
|
|
196
196
|
- lib/ably_ui/core/uptime/component.js
|
197
197
|
- lib/ably_ui/core/uptime/uptime.html.erb
|
198
198
|
- lib/ably_ui/core/uptime/uptime.rb
|
199
|
+
- lib/ably_ui/react/connect_state_wrapper/component.js
|
200
|
+
- lib/ably_ui/react/scripts.js
|
199
201
|
- lib/ably_ui/reset/scripts.js
|
200
202
|
- lib/ably_ui/reset/styles.css
|
201
203
|
- lib/ably_ui/version.rb
|
@@ -204,7 +206,7 @@ licenses:
|
|
204
206
|
- Apache-2.0
|
205
207
|
metadata:
|
206
208
|
source_code_uri: https://github.com/ably/ably-ui
|
207
|
-
post_install_message:
|
209
|
+
post_install_message:
|
208
210
|
rdoc_options: []
|
209
211
|
require_paths:
|
210
212
|
- lib
|
@@ -215,12 +217,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
215
217
|
version: '0'
|
216
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
217
219
|
requirements:
|
218
|
-
- - "
|
220
|
+
- - ">"
|
219
221
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
222
|
+
version: 1.3.1
|
221
223
|
requirements: []
|
222
224
|
rubygems_version: 3.2.3
|
223
|
-
signing_key:
|
225
|
+
signing_key:
|
224
226
|
specification_version: 4
|
225
227
|
summary: Shared component library and design system for Ably Real-time Ltd (ably.com)
|
226
228
|
test_files: []
|