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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5ef9474deca298344d2c388497f4a090ced68f56944c2f73e894b68ba08aa82
4
- data.tar.gz: 5d0f76105a845c36e6cc2d23e2e00b7a0bf85a0e1a93ec9ecdb9304ddc652f54
3
+ metadata.gz: dd75764f72b4bb2917191a2c207c70b5d15a693fddfdfa22ceecaaba99612e53
4
+ data.tar.gz: 312b4da9ec9808ad0288fd4ab4e89631160146e661dd06f2e44cff1db29f236a
5
5
  SHA512:
6
- metadata.gz: 76c46a6dd52917b5a6e794efc19c1c466a9203902a6c8d3e7660c3e72301c77d895102ebf75d7ab540ddcb4b45558255bec6d69b142ea60dde03f22e2c69309d
7
- data.tar.gz: 48304dce687cc1791dfe7bbd7d62a428d6cb65844d6b7386a7a2e379d0b5c933277a66064353da8e49a3f45fd5b5d87022ff546e761ccccfc41b1f8ce699e403
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)
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.9.0"
5
- VERSION = "13.9.0.pre.alpha.play845allkitsbytypes1264"
5
+ VERSION = "13.9.0.pre.alpha.play845allkitsbytypes1266"
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.play845allkitsbytypes1264
4
+ version: 13.9.0.pre.alpha.play845allkitsbytypes1266
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX