playbook_ui 7.0.1.pre.alpha10 → 7.0.1.pre.alpha11

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: 564d38b6ee17565260aa12a23e6bd24ffe743ee1e76495ddb3fb6c70cce2ad52
4
- data.tar.gz: 0fd88fa565499b96e2e71d8a6b04e3cc2b78f443360c1b966b3ae66a946239bf
3
+ metadata.gz: 4c32403a6cb41b9155eb58cb9d56a0e0460a8beea17b160ea95d72cabe17965b
4
+ data.tar.gz: 596af6f87f57a2256b9b92a9911755ad0a396408dd9e47e1d2c131dc1a66ed85
5
5
  SHA512:
6
- metadata.gz: 4b3421ce38f65500a9eb723786150dd104fd7971f8a6ea760250a97da387c2413e8b32ad98d1439535437b7503455810be7520b17b3f7f1237e6585da686f2cb
7
- data.tar.gz: f9e4aa1f86a1d4d281a39619c353e9084a74dae22493f1b11b872e358fa19c15559b08d9ecacdf8ecba91927e493594546de96bb86925bb8bdb545abd36df578
6
+ metadata.gz: 8b97712fe73c092847611e612ad8058556b1cc852490993ffe3231ddfee1c4879bf5bb0972a0192b82c3ee986feb69dfd8b1de8dd8133740d1e6a7ba3f7fe38b
7
+ data.tar.gz: 3689749d6443734eefa3e5570171fe9b6d068a0f986ca1f91a7be2eb300d2d4c9ec50364babc961497fa90389557ec6e6b153006b10d0168b84967a40b9a518c
@@ -22,7 +22,7 @@ module Playbook
22
22
 
23
23
  private
24
24
  def rails_props(props)
25
- if cookies[:dark_mode].nil? && ENV["playbook"].nil?
25
+ if ENV["playbook"].nil?
26
26
  props
27
27
  else
28
28
  dark_mode_props(props)
@@ -30,7 +30,7 @@ module Playbook
30
30
  end
31
31
 
32
32
  def react_props
33
- if cookies[:dark_mode].nil? && ENV["playbook"].nil?
33
+ if ENV["playbook"].nil?
34
34
  false
35
35
  else
36
36
  dark_mode
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Playbook
3
- VERSION = "7.0.1-alpha10"
3
+ VERSION = "7.0.1-alpha11"
4
4
  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.alpha10
4
+ version: 7.0.1.pre.alpha11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX