ably-ui 7.6.0 → 7.8.0.dev.57f3505

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: 1d14e897d9f91ab9224fd1ade63ffb675b25deb3cce28e78f1fb5143639ef22b
4
- data.tar.gz: 0f004a2ee88df2568e367d3ac39854c77503d7daf675af8f00587f081e628ed3
3
+ metadata.gz: f7f809e3972682d9b37ea1ff1702d538e406d66c0d96d44781dc0a6ae2667e40
4
+ data.tar.gz: e5cc6cbdb8e17c1e71b77d3e326693b5a1dde2531cf7cafdfbc35400897809f9
5
5
  SHA512:
6
- metadata.gz: f6a5ee6f629c50363efd5ea1cd64732a1c53206634c42f7518040f53f22d5eb7d04c1bdbb5af6b915582d8416e31ecec36b4cae69dfadeb3cf645a686ad0de55
7
- data.tar.gz: 783050df6104f94df0129c9734962090166b3582f29bf193bfe94ded9ecbd6ffdc19b130e45d6eabcee529d3305079e1920647b37dd3d5eabdf91b63bd015423
6
+ metadata.gz: 1f5640cac25cb835d79daf43381cca440d0eed4cb28cb96ff178d6f77b88219ab397c87071dfd932aa1deceedc734a032bce7b36f697f88c6025e417fa0c64ee
7
+ data.tar.gz: 36b26298efb904d0eff74807e6b6bd7ca56d611202e713f4c2c62ac192fdb08717865da7a3146b779f151638c35aa81765ac31cedf0acb37ea4900c572fa8b86
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ably-ui (7.5.0.dev.e375d71)
4
+ ably-ui (7.8.0)
5
5
  view_component (>= 2.33, < 2.50)
6
6
 
7
7
  GEM
@@ -0,0 +1,3 @@
1
+ @layer base {
2
+ @import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@600&display=swap");
3
+ }
@@ -15,9 +15,10 @@
15
15
  --color-charcoal-grey: #292831;
16
16
  --color-gui-default: #0073e6;
17
17
  --color-gui-hover: #0867c4;
18
- --color-gui-focus: #80b9f2;
18
+ --color-gui-focus: #0073e6;
19
+ --color-gui-focus-outline: #80b9f2;
19
20
  --color-gui-active: #074095;
20
- --color-gui-viewed: #4887c2;
21
+ --color-gui-visited: #4887c2;
21
22
  --color-gui-unavailable: #a8a8a8;
22
23
  --color-gui-error: #fb0c0c;
23
24
  --color-gui-success: #11cb24;
@@ -155,7 +156,7 @@
155
156
  /* In components, when looking at implementing viewport margin and spacing between elements,
156
157
  the values in the comments can be used as guide as they represent the grid the elements (should) sit on.
157
158
  alternatively, look for ui-grid-* helpers. */
158
- --bp-xs: 375px; /* gutters 8px, side-margin 24px */
159
+ --bp-xs: 428px; /* gutters 8px, side-margin 24px */
159
160
  --bp-sm: 768px; /* gutters 16px, side-margin 32px */
160
161
  --bp-md: 1040px; /* gutters 24px, side-margin 40px, meganav desktop */
161
162
  --bp-lg: 1280px; /* gutters 24px, side-margin 64px */
@@ -338,22 +339,22 @@
338
339
 
339
340
  .ui-text-h4 {
340
341
  @apply font-sans font-medium text-cool-black;
341
- @apply text-h4;
342
+ @apply text-h4 uppercase;
342
343
  @apply tracking-widen-0.1;
343
344
  }
344
345
 
345
346
  .ui-text-p1 {
346
- @apply font-sans font-light text-cool-black;
347
+ @apply font-sans font-light text-charcoal-grey;
347
348
  @apply text-p1;
348
349
  }
349
350
 
350
351
  .ui-text-p2 {
351
- @apply font-sans font-light text-cool-black;
352
+ @apply font-sans font-light text-charcoal-grey;
352
353
  @apply text-p2;
353
354
  }
354
355
 
355
356
  .ui-text-p3 {
356
- @apply font-sans font-light text-cool-black;
357
+ @apply font-sans font-light text-charcoal-grey;
357
358
  @apply text-p3;
358
359
  }
359
360
 
@@ -459,24 +460,18 @@
459
460
  @apply list-square;
460
461
  }
461
462
 
462
- /* visited needs to come before :hover et all else it overrides them */
463
- .ui-link:visited {
464
- @apply text-gui-viewed;
465
- }
466
-
467
463
  .ui-link {
468
- @apply hover:text-active-orange active:text-red-orange;
469
- -webkit-text-decoration-color: var(--color-active-orange);
470
- text-decoration-color: var(--color-active-orange);
471
- text-underline-offset: 4px; /* px used here as behaves weird with rem's */
472
- -webkit-text-decoration-line: underline;
473
- text-decoration-line: underline;
474
- text-decoration-thickness: 0.125rem;
464
+ @apply visited:text-gui-visited;
465
+ @apply hover:text-gui-hover active:text-gui-active disabled:text-gui-unavailable;
466
+ @apply focus:text-gui-focus focus:outline-gui-focus;
467
+ @apply underline;
475
468
  }
476
469
 
477
- .ui-link:focus {
478
- @apply focus:text-white focus:bg-active-orange focus:outline-none;
479
- text-decoration: none;
470
+ .ui-link-neutral {
471
+ @apply visited:text-dark-grey;
472
+ @apply hover:text-dark-grey active:text-cool-black disabled:text-gui-unavailable;
473
+ @apply focus:text-gui-focus focus:outline-gui-focus-neutral;
474
+ @apply underline;
480
475
  }
481
476
  }
482
477
  @layer components {
@@ -528,6 +523,32 @@
528
523
  .ui-checkbox-input:checked + .ui-checkbox-styled svg {
529
524
  @apply block;
530
525
  }
526
+
527
+ .ui-textarea {
528
+ @apply font-sans font-light text-cool-black text-p1;
529
+ @apply p-input mb-16;
530
+ @apply bg-light-grey border-mid-grey transition-input border rounded block w-full;
531
+ @apply hover:bg-white hover:shadow-input hover:border-transparent;
532
+ @apply focus:bg-white focus:shadow-input focus:border-transparent focus:outline-gui-focus;
533
+ }
534
+
535
+ .ui-textarea::-moz-placeholder {
536
+ /* CSS vars don't work in ::placeholder in Webkit :( */
537
+ /* color: var(--text-dark-grey); */
538
+ color: #76767c;
539
+ }
540
+
541
+ .ui-textarea:-ms-input-placeholder {
542
+ /* CSS vars don't work in ::placeholder in Webkit :( */
543
+ /* color: var(--text-dark-grey); */
544
+ color: #76767c;
545
+ }
546
+
547
+ .ui-textarea::placeholder {
548
+ /* CSS vars don't work in ::placeholder in Webkit :( */
549
+ /* color: var(--text-dark-grey); */
550
+ color: #76767c;
551
+ }
531
552
  }
532
553
  @layer components {
533
554
  .ui-input {
@@ -1,3 +1,3 @@
1
1
  module AblyUi
2
- VERSION = '7.6.0'
2
+ VERSION = '7.8.0.dev.57f3505'
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: 7.6.0
4
+ version: 7.8.0.dev.57f3505
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Piatek
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-05-06 00:00:00.000000000 Z
13
+ date: 2022-05-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: view_component
@@ -91,6 +91,7 @@ files:
91
91
  - lib/ably_ui/core/fonts/NEXT-Book-Medium.woff
92
92
  - lib/ably_ui/core/fonts/NEXT-Book-Medium.woff2
93
93
  - lib/ably_ui/core/fonts/next.css
94
+ - lib/ably_ui/core/fonts/source-code-pro.css
94
95
  - lib/ably_ui/core/footer/component.css
95
96
  - lib/ably_ui/core/footer/component.js
96
97
  - lib/ably_ui/core/footer/footer.html.erb
@@ -222,9 +223,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
223
  version: '0'
223
224
  required_rubygems_version: !ruby/object:Gem::Requirement
224
225
  requirements:
225
- - - ">="
226
+ - - ">"
226
227
  - !ruby/object:Gem::Version
227
- version: '0'
228
+ version: 1.3.1
228
229
  requirements: []
229
230
  rubygems_version: 3.2.3
230
231
  signing_key: