ably-ui 6.9.0 → 6.10.0.dev.67b3652

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08110eedef59aff1a62acf4bb45c830c8423c83ba6d51acad95bc1311d53de6b'
4
- data.tar.gz: 8a69de889ed443e3a5401327cd625a16bfe38f16df492f4153dce152c0597954
3
+ metadata.gz: b85482965125b8bf93e4f5f7217b98612fa4a15259acab8f450d9a2d9956c25f
4
+ data.tar.gz: dd1859c485cde829f68c541a89e3ce60acc2066801ea01a62f1c899812201edf
5
5
  SHA512:
6
- metadata.gz: c1a7db3ddb08408e7c4a046e4106dfceb6040f939cd9cc8a2f6d8179ec1f6d85637c2bac05d9f827fb1a84bb5cf8e8264b9de93e75304723291067f355b4f462
7
- data.tar.gz: c1dd3a749fd6c9afc1a72e447f7b2ea4b1479fa16166e4174d6dd2eb76583bc4b8e07965addacb4a08d243d436fc3091f4bb8a3c374b6b933cd288c7e67c79f2
6
+ metadata.gz: 7b9cd51756b105e9ff664be5a3fdc713ffc1319d05a00c96ebaec5805cd85b21006cb392db296ea16257a425061608fc29a2334277f04547b9a92977ee5b4635
7
+ data.tar.gz: 0e1d3f98f8eba8d5e9a2a595f15daef872961f907a89a651bee916714d38251e24590d69c8c3ff22fa618e97f8d304a159ac39358812ee21385ca68fae3d0b47
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ably-ui (6.5.3.dev.efd8d9f)
4
+ ably-ui (6.10.0)
5
5
  view_component (>= 2.33, < 2.50)
6
6
 
7
7
  GEM
@@ -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-code1')
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
@@ -1,5 +1,5 @@
1
1
  @layer base {
2
- @import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap");
2
+ @import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@600&display=swap");
3
3
  }
4
4
 
5
5
  @layer components {
@@ -96,8 +96,7 @@
96
96
  --fs-menu2: 1rem;
97
97
  --fs-menu3: 0.875rem;
98
98
  --fs-quote: 1.5rem;
99
- --fs-code1: 1rem;
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-code1 {
404
- @apply font-mono font-normal text-code1;
403
+ .ui-text-code {
404
+ @apply font-mono font-semibold text-code;
405
405
  }
406
406
 
407
- .ui-text-code2 {
408
- @apply font-mono font-normal text-code2;
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-disc;
453
+ @apply ml-24 list-circle;
440
454
  }
441
455
 
442
456
  .ui-unordered-list-with-emphasis ul ul {
443
- @apply list-circle;
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})()}));
@@ -1,3 +1,3 @@
1
1
  module AblyUi
2
- VERSION = '6.9.0'
2
+ VERSION = '6.10.0.dev.67b3652'
3
3
  end
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.9.0
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-18 00:00:00.000000000 Z
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: '0'
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: []