playbook_ui 13.9.0.pre.alpha.play845allkitsbytypes1266 → 13.9.0.pre.alpha.play845allkitsbytypes1268

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: dd75764f72b4bb2917191a2c207c70b5d15a693fddfdfa22ceecaaba99612e53
4
- data.tar.gz: 312b4da9ec9808ad0288fd4ab4e89631160146e661dd06f2e44cff1db29f236a
3
+ metadata.gz: 1459debce41784ec755eba1ac6fdf18521ee10f8dcc805dc7f2b6a0274472c8b
4
+ data.tar.gz: 9adcfdaa074bb0704240e6c7810c2d70333b8d7d8e2beb5be2e22eab3eab0b46
5
5
  SHA512:
6
- metadata.gz: a3cb3ac2786b777f5b619e44b2ccb3a9fcefcde3c30823d8228f823974b597dc8b4bd20374c7c62d6d2969917a82195d36d257074c6eac73c2642f79ce2ec152
7
- data.tar.gz: b1d30a2524cdda08af688d5b2546ab3136e31beda614af2792b6c08c551e684c1d4844fb5796b9e37a10107b59acc4f2f1a9cab6f0de442ef5f17b37efe0b00c
6
+ metadata.gz: 4d5de57e6df1a04a6fb72d129ac9a88c0b6e92cc7ca3662f7da4655457e8eb35d13a42e480abd6e420a8de2455236630122088dd5973870950437a2bee3e2db1
7
+ data.tar.gz: 97b1ea42c177dd4b04d5f613b059cdf2c46e148ca69e68ce2430a5bd03dc9afb44760394ccceb8be8d4dd30af10a9993332f0db52ab5caf4a2ff76045e9bea66
@@ -7,21 +7,20 @@ module Playbook
7
7
  end
8
8
 
9
9
  def pb_kit(kit: "", type: "rails", show_code: true, limit_examples: false, dark_mode: false)
10
- # Check if the type is "swift" and return an empty string if it is
11
- return "" if type == "swift"
12
-
13
- examples = pb_doc_kit_examples(kit, type)
14
- examples = examples.first(1) if limit_examples
15
- examples.map do |example|
16
- pb_rails "docs/kit_example", props: {
17
- kit: kit,
18
- example_title: example.values.first,
19
- example_key: example.keys.first,
20
- show_code: show_code,
21
- type: type,
22
- dark: dark_mode,
23
- }
24
- end.join.yield_self(&method(:raw))
10
+ unless type == "swift"
11
+ examples = pb_doc_kit_examples(kit, type)
12
+ examples = examples.first(1) if limit_examples
13
+ examples.map do |example|
14
+ pb_rails "docs/kit_example", props: {
15
+ kit: kit,
16
+ example_title: example.values.first,
17
+ example_key: example.keys.first,
18
+ show_code: show_code,
19
+ type: type,
20
+ dark: dark_mode,
21
+ }
22
+ end.join.yield_self(&method(:raw))
23
+ end
25
24
  end
26
25
 
27
26
  # Deal with lists of kits, used in Playbook doc and Externally
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.9.0"
5
- VERSION = "13.9.0.pre.alpha.play845allkitsbytypes1266"
5
+ VERSION = "13.9.0.pre.alpha.play845allkitsbytypes1268"
6
6
  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: 13.9.0.pre.alpha.play845allkitsbytypes1266
4
+ version: 13.9.0.pre.alpha.play845allkitsbytypes1268
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX