ably-ui 7.7.0 → 7.8.0.dev.4eda5fb

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: bfb93de8288f8ec1f88c71491d38290670429835fdb35be4543bf33ecf8bb219
4
- data.tar.gz: 318867338b578cdb17408a346ce76fa9679d61f19e7e863dc1d8ae83c5d691f8
3
+ metadata.gz: 256ee86e4d9e2083b6fa33eca1781ee848a3d4571a01a386b90218b220ed53c0
4
+ data.tar.gz: cc46fb94ad1fd8293446a48682ca7e1347b56b4a18f1c27031052f4e7e70226e
5
5
  SHA512:
6
- metadata.gz: 3151ccff6f906260e953418d8a11b1c08a95e6b1952658e191f8cac209d2c775b694cf373b319cc0ff9b6b7776212c9b68d07f1aaf82f0b1b9df4f02847a726d
7
- data.tar.gz: 462dfa105593093897562f6936150be75027786450d96952eedd96e000e5719c3b2305f77596957a6c08b611995d7d7683a0bdbd6cba0db3282e4aa9089f5f15
6
+ metadata.gz: a263dcf585992028321bd547303355e768a31ad6173c57f4e9a6ce2c2095c14df018c9188f585aa3fb051cafcbb1ba980c962dc1db51ce60512bf209b2ece8d4
7
+ data.tar.gz: e68040a1d926dd166c7df58a8501ae473a5e7704fdd425454388026140405bf909f9508edd58a56e612c576850e2a14b9f8e3faa8a76bd8c9175eb50f5d0102d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ably-ui (7.6.0)
4
+ ably-ui (7.8.0.dev.ba22343)
5
5
  view_component (>= 2.33, < 2.50)
6
6
 
7
7
  GEM
@@ -1,13 +1,13 @@
1
1
  <%= link_to logo_href, class: 'h-32' do %>
2
- <%= tag.svg class: ["transition-colors", theme(:logo_text_color)], data: { id: data_id }, width: "108", height: "32", viewBox: "0 0 108 32", xmlns: "http://www.w3.org/2000/svg" do %>
2
+ <%= tag.svg class: ["transition-colors", "text-cool-black"], data: { id: data_id }, width: "108", height: "32", viewBox: "0 0 108 32", xmlns: "http://www.w3.org/2000/svg" do %>
3
3
  <path
4
4
  d="M62.922 24.9786V4.08813H66.6933V11.6512C67.9709 10.435 69.6164 9.76044 71.3538 9.76044C75.4318 9.76044 79.0498 12.8674 79.0498 17.5484C79.0498 22.2293 75.4318 25.3465 71.3538 25.3465C69.5244 25.3465 67.7971 24.6209 66.5094 23.3024V24.9786H62.922ZM75.2785 17.5484C75.2785 14.932 73.4183 13.1025 70.9859 13.1025C68.6148 13.1025 66.7853 14.84 66.6933 17.3644V17.5484C66.6933 20.1648 68.5534 21.9942 70.9859 21.9942C73.4183 21.9942 75.2785 20.1648 75.2785 17.5484ZM80.7975 24.9786V4.08813H84.5688V24.9786H80.7975ZM89.8425 30.3954L92.0399 25.1523L86.0712 10.1284H90.1491L93.9511 20.6247L97.8144 10.1284H101.954L93.8591 30.4056H89.8425V30.3954ZM56.9329 10.1284V12.0191C55.6247 10.5883 53.7952 9.77066 51.9147 9.77066C47.8367 9.77066 44.2187 12.8777 44.2187 17.5586C44.2187 22.2497 47.8367 25.3465 51.9147 25.3465C53.8668 25.3465 55.7166 24.4982 57.0555 22.9754V24.9888H60.3465V10.1284H56.9329ZM56.5649 17.5484C56.5649 20.1341 54.7048 21.9942 52.2724 21.9942C49.8399 21.9942 47.9798 20.1341 47.9798 17.5484C47.9798 14.9626 49.8399 13.1025 52.2724 13.1025C54.6435 13.1025 56.473 14.8706 56.5649 17.3644V17.5484Z"
5
5
  fill="currentColor"
6
6
  />
7
- <path d="M19.2858 0L3.14788 29.5369L0 27.3293L14.932 0H19.2858ZM19.5107 0L35.6487 29.5369L38.7965 27.3293L23.8646 0H19.5107Z" fill="url(#paint0_linear)" />
8
- <path d="M35.4238 29.7107L19.3983 17.16L3.37271 29.7107L6.64323 32L19.3983 22.0147L32.1533 32L35.4238 29.7107Z" fill="url(#paint1_linear)" />
7
+ <path d="M19.2858 0L3.14788 29.5369L0 27.3293L14.932 0H19.2858ZM19.5107 0L35.6487 29.5369L38.7965 27.3293L23.8646 0H19.5107Z" fill="url(#<%= gradient_id_0 %>)" />
8
+ <path d="M35.4238 29.7107L19.3983 17.16L3.37271 29.7107L6.64323 32L19.3983 22.0147L32.1533 32L35.4238 29.7107Z" fill="url(#<%= gradient_id_1 %>)" />
9
9
  <defs>
10
- <linearGradient id="paint0_linear" x1="5.47361" y1="37.4219" x2="32.4603" y2="7.45023" gradientUnits="userSpaceOnUse">
10
+ <linearGradient id="<%= gradient_id_0 %>" x1="5.47361" y1="37.4219" x2="32.4603" y2="7.45023" gradientUnits="userSpaceOnUse">
11
11
  <stop stop-color="#FF5416" />
12
12
  <stop offset="0.2535" stop-color="#FF5115" />
13
13
  <stop offset="0.461" stop-color="#FF4712" />
@@ -15,7 +15,7 @@
15
15
  <stop offset="0.8327" stop-color="#FF1E08" />
16
16
  <stop offset="1" stop-color="#FF0000" />
17
17
  </linearGradient>
18
- <linearGradient id="paint1_linear" x1="10.7084" y1="39.3593" x2="26.6583" y2="21.6452" gradientUnits="userSpaceOnUse">
18
+ <linearGradient id="<%= gradient_id_1 %>" x1="10.7084" y1="39.3593" x2="26.6583" y2="21.6452" gradientUnits="userSpaceOnUse">
19
19
  <stop stop-color="#FF5416" />
20
20
  <stop offset="0.2535" stop-color="#FF5115" />
21
21
  <stop offset="0.461" stop-color="#FF4712" />
@@ -3,12 +3,13 @@ module AblyUi
3
3
  class Logo < ViewComponent::Base
4
4
  include AblyUi::Core::MeganavConfig
5
5
 
6
- attr_reader :href, :data_id
6
+ attr_reader :href, :data_id, :gradient_id_0, :gradient_id_1
7
7
 
8
- def initialize(theme_name:, data_id: '', href:)
8
+ def initialize(data_id: '', href:)
9
9
  @data_id = data_id
10
10
  @href = href
11
- theme_setup(theme_name)
11
+ @gradient_id_0 = "paint_linear_#{Date.now}"
12
+ @gradient_id_1 = "paint_linear_#{Date.now}"
12
13
  end
13
14
 
14
15
  def logo_href
@@ -2,7 +2,7 @@
2
2
  <%= notice %>
3
3
 
4
4
  <div class="ui-meganav ui-grid-px">
5
- <%= render(AblyUi::Core::Logo.new(theme_name: @theme_name, data_id: "meganav-logo", href: logo_link)) %>
5
+ <%= render(AblyUi::Core::Logo.new(data_id: "meganav-logo", href: logo_link)) %>
6
6
  <%= render(AblyUi::Core::MeganavItemsDesktop.new(theme_name: @theme_name, url_base: url_base)) %>
7
7
 
8
8
  <% if @session_data[:signedIn] %>
@@ -338,7 +338,7 @@
338
338
 
339
339
  .ui-text-h4 {
340
340
  @apply font-sans font-medium text-cool-black;
341
- @apply text-h4;
341
+ @apply text-h4 uppercase;
342
342
  @apply tracking-widen-0.1;
343
343
  }
344
344
 
@@ -1,3 +1,3 @@
1
1
  module AblyUi
2
- VERSION = '7.7.0'
2
+ VERSION = '7.8.0.dev.4eda5fb'
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.7.0
4
+ version: 7.8.0.dev.4eda5fb
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-12 00:00:00.000000000 Z
13
+ date: 2022-05-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: view_component
@@ -222,9 +222,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
222
  version: '0'
223
223
  required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  requirements:
225
- - - ">="
225
+ - - ">"
226
226
  - !ruby/object:Gem::Version
227
- version: '0'
227
+ version: 1.3.1
228
228
  requirements: []
229
229
  rubygems_version: 3.2.3
230
230
  signing_key: