playbook_ui 7.0.1.pre.alpha3 → 7.0.1.pre.alpha4

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: 6391c4e2320046a0462ed94c0f1d648d90d9c3a61e01a6a382073483638ad6d4
4
- data.tar.gz: 07603a8400ecf8df7fba55fc5f30243f8ae8071b81d98112b4d913c35061c2ba
3
+ metadata.gz: 83f108b7557849e7c4a5f97ecc7c83014c2eaa7e80ca081415b4df1f5483c320
4
+ data.tar.gz: 840d5b494a12cf73de903258ac81e79a7475b10a96b30311bb38cdb8d1193544
5
5
  SHA512:
6
- metadata.gz: 2b6d8a2b7535002503b537458747100b4647b342928da707b14ab09af0d998103af105ec1bbf6c13fc9f4d8d99d96dffd926f6c8cb151b2f62737d6a99819e7c
7
- data.tar.gz: 7d2066cb522f646fcfb85693b90f8fd8602454caea865ce43d204732606b12d05c112f76aa47676c4f3a4e8734db3911e86391fe843f7931213ca4e2f5bca524
6
+ metadata.gz: 23c1e8e8e48f27fa1ebbc103946526f7def65be95245adeae5fcf37ec267917d5df501e7ae7fce9412e065d8637a3f76cc1f9da8d14544d28b89fe52572f8814
7
+ data.tar.gz: 0f5be00a781574e8bf6fe11604e15ef82bf5ed0aebf4a309d10cf79508935f60cb5e8f9c624dd11121eef88da807080685fb98ef32b57ea638b7fe86a6454c08
@@ -10,13 +10,13 @@ module Playbook
10
10
  def pb_rails(kit, props: {}, &block)
11
11
  previous = prefix_partial_path_with_controller_namespace
12
12
  self.prefix_partial_path_with_controller_namespace = false
13
- kit = build_view_model(kit.to_s, dark_mode_props(props), &block)
13
+ kit = build_view_model(kit.to_s, rails_props, &block)
14
14
  render(partial: kit, as: :object)
15
15
  ensure
16
16
  self.prefix_partial_path_with_controller_namespace = previous
17
17
  end
18
18
 
19
- def pb_react(kit, props:{dark: dark_mode}, options: {})
19
+ def pb_react(kit, props:{dark: react_props}, options: {})
20
20
  ::Webpacker::React::Component.new(kit.camelize).render(props, options)
21
21
  end
22
22
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- VERSION = "7.0.1-alpha3"
4
+ VERSION = "7.0.1-alpha4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.1.pre.alpha3
4
+ version: 7.0.1.pre.alpha4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX