polaris_view_components 0.13.0 → 0.13.2

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: e5f1f03d372606e8a4de1d8d44619d0dc08aa856f5f7f93dca36d151288333aa
4
- data.tar.gz: a141753f0afbea09db09c58b3adbe2972c777af2b80b9aae00fac8112ce81449
3
+ metadata.gz: 47a120cfa857b75ad8035272ddaed4195c44268feb5b85145dc9ee61a6db12a1
4
+ data.tar.gz: 92d2148b91bd404487f323418e85898b768e159969b8d6c88e90ec9e7c7e08f4
5
5
  SHA512:
6
- metadata.gz: 6824f694d987658137901f355491af6b61147c91ad9dcb721a601c9325d8b11c2d7ca30f47163c610da8a72ed2ecb65f9141957e6de3b8f93e09a06c09baa6ca
7
- data.tar.gz: f0a0b93167661ef28dda645a2cc743feaa953eff74826a025e99d7db941412ebfd73d2934e80a007892aab6a1fc93cbd650c40d902c8b13853564ea33322b7f0
6
+ metadata.gz: 6473c8b183755bc59712a2a95fd7748deb0593bb8251571a781b2cfe335d0a80886cce78ba0cc89c571c13c56221bf5fb9f4c9d8b3cb9a3b8095162b177e939e
7
+ data.tar.gz: bf1888e0198ea255ad8bdffb5bf6df9897bd1c8cfbe0487bd5601f6834ecf0d81dd03d2e47a33c436666fd25ad8dffe7e5a366c71dc4e43926325be39cb87e40
@@ -14,7 +14,7 @@
14
14
  sorted: column.sorted,
15
15
  **column.system_arguments
16
16
  ) do %>
17
- <%= column.title.html_safe %>
17
+ <%= column.title&.html_safe %>
18
18
  <% end %>
19
19
  <% end %>
20
20
  </tr>
@@ -18,9 +18,12 @@
18
18
  <% end %>
19
19
 
20
20
  <div class="Polaris-TopBar__Contents">
21
- <%# FIXME: Not implemented yet %>
22
- <div class="Polaris-TopBar__SearchField"></div>
23
- <div class="Polaris-TopBar__SecondaryMenu"></div>
21
+ <div class="Polaris-TopBar__SearchField">
22
+ <%= search_field %>
23
+ </div>
24
+ <div class="Polaris-TopBar__SecondaryMenu">
25
+ <%= secondary_menu %>
26
+ </div>
24
27
  <div>
25
28
  <div class="Polaris-TopBar-Menu__ActivatorWrapper">
26
29
  <%= user_menu %>
@@ -1,5 +1,7 @@
1
1
  class Polaris::Frame::TopBarComponent < Polaris::Component
2
2
  renders_one :user_menu, Polaris::TopBar::UserMenuComponent
3
+ renders_one :search_field
4
+ renders_one :secondary_menu
3
5
 
4
6
  def initialize(logo:, **system_arguments)
5
7
  @logo = logo.is_a?(Hash) ? Polaris::Logo.new(**logo) : logo
@@ -1,5 +1,5 @@
1
1
  module Polaris
2
2
  module ViewComponents
3
- VERSION = "0.13.0"
3
+ VERSION = "0.13.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polaris_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Gamble
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-03-23 00:00:00.000000000 Z
12
+ date: 2023-04-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails