ably-ui 7.1.0 → 7.2.0

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: 9ec5ccd54e6c1f484f6eedc575460bc5a737c3ef07171bcd8d42a273fb1aac03
4
- data.tar.gz: a74a343c08b9207daf6b98cd89c45fb12dee1b568f2a71417890d03b8db850a3
3
+ metadata.gz: 5e8ea235b9540a6f33ff71df69fe0d80bfbfdd9a52cc40b8649c4d7f3f57378e
4
+ data.tar.gz: 9a710ebd9eb8690273277994b3307d81b1ede423972288fbc8f1ed4024d4256a
5
5
  SHA512:
6
- metadata.gz: 57c5bd278a0362bcbc4b2385c16533cd73cbc8ca58047021b19f02615411973f8cf1979fefd02e6e8f6bae7973a9ec5a71bfe7e882a47c58040d1153a7671361
7
- data.tar.gz: 45f1b08f3f89239dc4fc513efa66914d0f2734ab337556e966e907b60826ae7fad4409cf45a7f42e6a79231269aba7b37bd99d6209874bfd4a770b2fa7ac21af
6
+ metadata.gz: 7c94bc8c8cb9011df14e74479c90e2ba38047e44ddc3b407667bc30a50013669e59a5656bb1d18d2a32d71865fbda7961b4450542cfd687ac7d7471592f43969
7
+ data.tar.gz: d1e6bf484e1062c7b6a5c6119441bceee87535129a73a5283875530189d5ff4760b52168665ece4e8b69bb497d8dc853d172043ee9510c089285686dee99eb1e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ably-ui (7.0.1.dev.778adc0)
4
+ ably-ui (7.1.0.dev.97a5585)
5
5
  view_component (>= 2.33, < 2.50)
6
6
 
7
7
  GEM
@@ -74,10 +74,10 @@
74
74
  <h2 class="ui-footer-col-title">Developers</h2>
75
75
  <ul>
76
76
  <li class="p-menu-row-snug">
77
- <%= link_to 'Start in 5 minutes', abs_url("/documentation/quick-start-guide"), class: "ui-footer-menu-row-link" %>
77
+ <%= link_to 'Start in 5 minutes', abs_url("/docs/quick-start-guide"), class: "ui-footer-menu-row-link" %>
78
78
  </li>
79
79
  <li class="p-menu-row-snug">
80
- <%= link_to 'Documentation', abs_url("/documentation"), class: "ui-footer-menu-row-link" %>
80
+ <%= link_to 'Documentation', abs_url("/docs"), class: "ui-footer-menu-row-link" %>
81
81
  </li>
82
82
  <li class="p-menu-row-snug">
83
83
  <%= link_to 'Tutorials', abs_url("/tutorials"), class: "ui-footer-menu-row-link" %>
@@ -0,0 +1 @@
1
+ !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.AblyUi=o():(e.AblyUi=e.AblyUi||{},e.AblyUi.Core=e.AblyUi.Core||{},e.AblyUi.Core.Loader=o())}(this,(function(){return{}.default}));
@@ -0,0 +1,18 @@
1
+ <%= tag.svg class: "#{ring_color} #{additional_css}", style: "width: #{size}; height: #{size}", width: "24", height: "24", view_box: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" do %>
2
+ <style>
3
+ @keyframes chunk-animation {
4
+ to {
5
+ transform: rotate(360deg);
6
+ }
7
+ }
8
+
9
+ .chunk {
10
+ transform: rotate(0deg);
11
+ transform-origin: center;
12
+ animation: chunk-animation 0.6s cubic-bezier(.44,.15,.66,.98) forwards infinite;
13
+ }
14
+ </style>
15
+
16
+ <path fill="currentColor" d="m12 1.99976c-1.9778 0-3.91121.58649-5.5557 1.6853s-2.92621 2.6606-3.68309 4.48786c-.75688 1.82728-.95491 3.83788-.56906 5.77778.38585 1.9398 1.33826 3.7216 2.73679 5.1201 1.39852 1.3985 3.18035 2.351 5.12016 2.7368 1.9398.3859 3.9505.1878 5.7777-.569 1.8273-.7569 3.3891-2.0387 4.4879-3.6831 1.0988-1.6445 1.6853-3.5779 1.6853-5.5557 0-1.3133-.2587-2.61362-.7612-3.82688-.5025-1.21325-1.2391-2.31565-2.1677-3.24423-.9286-.92859-2.031-1.66518-3.2443-2.16773-1.2132-.50255-2.5136-.7612-3.8268-.7612zm0 18.00004c-1.5822 0-3.12896-.4692-4.44456-1.3483-1.31559-.879-2.34097-2.1285-2.94647-3.5903s-.76393-3.0703-.45525-4.6222c.30868-1.55181 1.07061-2.97728 2.18943-4.0961s2.54428-1.88074 4.09615-2.18943c1.5518-.30868 3.1604-.15025 4.6222.45525s2.7112 1.63088 3.5903 2.94647c.879 1.3156 1.3482 2.86231 1.3482 4.44461 0 2.1217-.8428 4.1565-2.3431 5.6568s-3.5352 2.3432-5.6569 2.3432z" opacity=".5"/>
17
+ <path className="chunk" d="m20 11.9998h2c0-1.3133-.2587-2.61362-.7612-3.82688-.5026-1.21325-1.2391-2.31565-2.1677-3.24423-.9286-.92859-2.031-1.66518-3.2443-2.16773-1.2132-.50255-2.5136-.7612-3.8268-.7612v2c2.1217 0 4.1566.84285 5.6569 2.34314 1.5002 1.50029 2.3431 3.53512 2.3431 5.6569z" fill="#ff5416"/>
18
+ <% end %>
@@ -0,0 +1,19 @@
1
+ module AblyUi
2
+ module Core
3
+ class Loader < ViewComponent::Base
4
+ attr_reader :size
5
+ attr_reader :ring_color
6
+ attr_reader :additional_css
7
+
8
+ def initialize(
9
+ size: '1.5rem',
10
+ ring_color: 'text-dark-grey',
11
+ additional_css: ''
12
+ )
13
+ @size = size
14
+ @ring_color = ring_color
15
+ @additional_css = additional_css
16
+ end
17
+ end
18
+ end
19
+ end
@@ -11,7 +11,7 @@
11
11
  Docs, quick start guides, tutorials, and API reference to help you start building with Ably’s platform and APIs.
12
12
  </p>
13
13
 
14
- <%= render(AblyUi::Core::FeaturedLink.new(url: abs_url("/documentation"))) do %>Visit Documentation<% end %>
14
+ <%= render(AblyUi::Core::FeaturedLink.new(url: abs_url("/docs"))) do %>Visit Documentation<% end %>
15
15
  </div>
16
16
 
17
17
  <div>
@@ -19,13 +19,13 @@
19
19
  --color-gui-viewed: #4887c2;
20
20
  --color-gui-unavailable: #a8a8a8;
21
21
  --color-gui-error: #fb0c0c;
22
+ --color-gui-success: #11cb24;
22
23
 
23
24
  /* code syntax: theme */
24
25
  --syntax-black: var(--color-cool-black);
25
26
  --syntax-dark-grey: var(--color-dark-grey);
26
27
  --syntax-mid-grey: var(--color-mid-grey);
27
28
  --syntax-light-grey: var(--color-light-grey);
28
-
29
29
  --syntax-orange: #e78c45;
30
30
  --syntax-yellow: #e7c547;
31
31
  --syntax-blue: #3490ec;
@@ -154,7 +154,7 @@
154
154
  the values in the comments can be used as guide as they represent the grid the elements (should) sit on.
155
155
  alternatively, look for ui-grid-* helpers. */
156
156
  --bp-xs: 375px; /* gutters 8px, side-margin 24px */
157
- --bp-sm: 600px; /* gutters 16px, side-margin 32px */
157
+ --bp-sm: 768px; /* gutters 16px, side-margin 32px */
158
158
  --bp-md: 1040px; /* gutters 24px, side-margin 40px, meganav desktop */
159
159
  --bp-lg: 1280px; /* gutters 24px, side-margin 64px */
160
160
  --bp-xl: 1440px; /* gutters 32px, side-margin 64px */
@@ -1,3 +1,3 @@
1
1
  module AblyUi
2
- VERSION = '7.1.0'
2
+ VERSION = '7.2.0'
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.1.0
4
+ version: 7.2.0
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-04-01 00:00:00.000000000 Z
13
+ date: 2022-04-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: view_component
@@ -130,6 +130,9 @@ files:
130
130
  - lib/ably_ui/core/images/rocket-list-2021.png
131
131
  - lib/ably_ui/core/images/scale-motif-open-empathetic.svg
132
132
  - lib/ably_ui/core/images/technical-support-01-800x533.jpg
133
+ - lib/ably_ui/core/loader/component.js
134
+ - lib/ably_ui/core/loader/loader.html.erb
135
+ - lib/ably_ui/core/loader/loader.rb
133
136
  - lib/ably_ui/core/logo/component.js
134
137
  - lib/ably_ui/core/logo/logo.html.erb
135
138
  - lib/ably_ui/core/logo/logo.rb