polaris_view_components 0.13.1 → 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: 9cfcb6498a30aca8f195a4545af6835ff1cdfaa3dbbbbb7ba97faf322e9375bd
4
- data.tar.gz: eba9e9e064bb0252c5a9fe665d0b4974e319bf3923b9aeccc3bcb679ed354eb8
3
+ metadata.gz: 47a120cfa857b75ad8035272ddaed4195c44268feb5b85145dc9ee61a6db12a1
4
+ data.tar.gz: 92d2148b91bd404487f323418e85898b768e159969b8d6c88e90ec9e7c7e08f4
5
5
  SHA512:
6
- metadata.gz: 19c595f6d66f5e688dc440ea365e9a762c505bb5934e4ca4efefc9a879c81d5f85e50f87369e591e6fa4ffcd4d5f669be442dec663d4f9f49b8f09885689df99
7
- data.tar.gz: e3aac6d472d0eee03ae6a9dec0f9279b8d013616d4ed31bdc6568b250605c6f4e567493192803821af1bd10bcc74b07ffbffcef101d1b546dd7fa784d7bb629c
6
+ metadata.gz: 6473c8b183755bc59712a2a95fd7748deb0593bb8251571a781b2cfe335d0a80886cce78ba0cc89c571c13c56221bf5fb9f4c9d8b3cb9a3b8095162b177e939e
7
+ data.tar.gz: bf1888e0198ea255ad8bdffb5bf6df9897bd1c8cfbe0487bd5601f6834ecf0d81dd03d2e47a33c436666fd25ad8dffe7e5a366c71dc4e43926325be39cb87e40
@@ -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.1"
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.1
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-04-02 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