playbook_ui 7.0.1.pre.alpha9 → 7.0.1.pre.alpha10

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: d66d4b428dba3d904c97c9b68fe1b4d113828354b240326986d9a20f267e7215
4
- data.tar.gz: d8b6c751f316a5125881c38a947ae9763c005480d9ed66eb28962fdb5378069d
3
+ metadata.gz: 564d38b6ee17565260aa12a23e6bd24ffe743ee1e76495ddb3fb6c70cce2ad52
4
+ data.tar.gz: 0fd88fa565499b96e2e71d8a6b04e3cc2b78f443360c1b966b3ae66a946239bf
5
5
  SHA512:
6
- metadata.gz: 6ba991d26f006428ff7044896bc8fc68e5d22d0347186b2d30e831c65a4f913ecc095bf84dded3206b04bcb5871d969c3186a4bdbde1851ac2c5ac3dce9b204f
7
- data.tar.gz: 6c0fd4d8ce318c87e8a2fc122953e576a088a37a9a9cfbacf5b9a34f4d7bc91919b6538d9fc5b6a826a990a8490da3ee39a270b68d0a0a40eae94842ba0bb578
6
+ metadata.gz: 4b3421ce38f65500a9eb723786150dd104fd7971f8a6ea760250a97da387c2413e8b32ad98d1439535437b7503455810be7520b17b3f7f1237e6585da686f2cb
7
+ data.tar.gz: f9e4aa1f86a1d4d281a39619c353e9084a74dae22493f1b11b872e358fa19c15559b08d9ecacdf8ecba91927e493594546de96bb86925bb8bdb545abd36df578
@@ -10,5 +10,7 @@ module Playbook
10
10
  helper Playbook::PbSampleHelper
11
11
  append_view_path Playbook::Engine.root + "app/pb_kits"
12
12
  end
13
+
14
+ ENV["playbook"] = "true"
13
15
 
14
16
  end
@@ -22,7 +22,7 @@ module Playbook
22
22
 
23
23
  private
24
24
  def rails_props(props)
25
- if cookies[:dark_mode].nil?
25
+ if cookies[:dark_mode].nil? && 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?
33
+ if cookies[:dark_mode].nil? && 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-alpha9"
3
+ VERSION = "7.0.1-alpha10"
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.alpha9
4
+ version: 7.0.1.pre.alpha10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-09-09 00:00:00.000000000 Z
12
+ date: 2020-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack