playbook_ui 13.9.0.pre.alpha.play845allkitsbytypes1264 → 13.9.0.pre.alpha.play845allkitsbytypes1266
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/playbook/pb_doc_helper.rb +3 -4
- data/lib/playbook/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd75764f72b4bb2917191a2c207c70b5d15a693fddfdfa22ceecaaba99612e53
|
4
|
+
data.tar.gz: 312b4da9ec9808ad0288fd4ab4e89631160146e661dd06f2e44cff1db29f236a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3cb3ac2786b777f5b619e44b2ccb3a9fcefcde3c30823d8228f823974b597dc8b4bd20374c7c62d6d2969917a82195d36d257074c6eac73c2642f79ce2ec152
|
7
|
+
data.tar.gz: b1d30a2524cdda08af688d5b2546ab3136e31beda614af2792b6c08c551e684c1d4844fb5796b9e37a10107b59acc4f2f1a9cab6f0de442ef5f17b37efe0b00c
|
@@ -7,6 +7,9 @@ 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
|
+
|
10
13
|
examples = pb_doc_kit_examples(kit, type)
|
11
14
|
examples = examples.first(1) if limit_examples
|
12
15
|
examples.map do |example|
|
@@ -21,10 +24,6 @@ module Playbook
|
|
21
24
|
end.join.yield_self(&method(:raw))
|
22
25
|
end
|
23
26
|
|
24
|
-
def nav_hash_array(link)
|
25
|
-
link.first.last
|
26
|
-
end
|
27
|
-
|
28
27
|
# Deal with lists of kits, used in Playbook doc and Externally
|
29
28
|
def pb_kits(type: "rails", limit_examples: false, dark_mode: false)
|
30
29
|
kits = get_kits(type)
|
data/lib/playbook/version.rb
CHANGED