ably-ui 8.7.0.dev.73348b7 → 8.7.0.dev.454726f

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c33782081e68f845761cb8f551a75beb7426538759f078e02b8ef78a0cb5cf9a
4
- data.tar.gz: 48827854d26442f43f216a55b8f93d21f22ba3e046c621e54f36fd1a2c9edf3d
3
+ metadata.gz: 66c728410b3541753a92c2f6bf13bd2c8ee6da1fc6839b65d74f0880cd6b0b14
4
+ data.tar.gz: efb6bc85c6a539ce60ae3d701e0bc3b501927c054f33ae10ca24265b42084bb6
5
5
  SHA512:
6
- metadata.gz: 5818adf79060a48b998517273bd2a05fc0edbe08e94d0b495144b97e077e433e6b29dad1e99662b688f2f0049b422562f1c0815fceffe424058c40032d07ff46
7
- data.tar.gz: 2f560667c9b36b507e3c8d31737d248902b134a33c6d1a2bab8fc985a4a0e000bf274f4117566ef9f5a68d878e76003a1c114cb72213b738829ff4c2280ccdf8
6
+ metadata.gz: de2220c0b26e2937100098668ac4c0dc30bd18190b1e34eba6d71408970406c607c5340a148231cf1c54059d40a9109263c7dd40b881c535e93173c1e00158fd
7
+ data.tar.gz: 21d96ef380439a637cee5d67ee452ab502a611f9e52cac8c913c25f2f5592b560ba5a07951d34cc5056dabd311aa0d6f7ffa28550e96f6778bcf5902082b9850
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ably-ui (8.7.0)
4
+ ably-ui (8.7.0.dev.73348b7)
5
5
  view_component (>= 2.33, < 2.50)
6
6
 
7
7
  GEM
@@ -1,9 +1,9 @@
1
1
  <section class="w-full bg-white">
2
- <ul class="py-64 flex flex-row flex-wrap md:flex-nowrap content-between m-auto items-center">
2
+ <%= tag.ul class: "py-64 flex flex-row flex-wrap md:flex-nowrap content-between m-auto items-center #{@additional_css}" do %>
3
3
  <% companies.each do |company| %>
4
4
  <li class="flex-auto text-center sm:w-1/3 w-1/2">
5
5
  <%= image_tag company[:logo], alt: "#{company[:label]} logo", class: 'mx-auto' %>
6
6
  </li>
7
7
  <% end %>
8
- </ul>
8
+ <% end %>
9
9
  </section>
@@ -5,8 +5,9 @@ module AblyUi
5
5
  class CustomerLogos < ViewComponent::Base
6
6
  attr_reader :companies
7
7
 
8
- def initialize(companies:)
8
+ def initialize(companies:, additional_css: '')
9
9
  @companies = companies
10
+ @additional_css = additional_css
10
11
  end
11
12
  end
12
13
  end
@@ -1,3 +1,3 @@
1
1
  module AblyUi
2
- VERSION = '8.7.0.dev.73348b7'
2
+ VERSION = '8.7.0.dev.454726f'
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: 8.7.0.dev.73348b7
4
+ version: 8.7.0.dev.454726f
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-09-30 00:00:00.000000000 Z
13
+ date: 2022-10-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: view_component
@@ -212,8 +212,6 @@ files:
212
212
  - lib/ably_ui/core/uptime/component.js
213
213
  - lib/ably_ui/core/uptime/uptime.html.erb
214
214
  - lib/ably_ui/core/uptime/uptime.rb
215
- - lib/ably_ui/react/connect_state_wrapper/component.js
216
- - lib/ably_ui/react/scripts.js
217
215
  - lib/ably_ui/reset/scripts.js
218
216
  - lib/ably_ui/reset/styles.css
219
217
  - lib/ably_ui/version.rb
@@ -1 +0,0 @@
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}));
@@ -1 +0,0 @@
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})()}));