playbook_ui 13.9.0.pre.alpha.play845allkitsbytypes1264 → 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: b5ef9474deca298344d2c388497f4a090ced68f56944c2f73e894b68ba08aa82
4
- data.tar.gz: 5d0f76105a845c36e6cc2d23e2e00b7a0bf85a0e1a93ec9ecdb9304ddc652f54
3
+ metadata.gz: 1459debce41784ec755eba1ac6fdf18521ee10f8dcc805dc7f2b6a0274472c8b
4
+ data.tar.gz: 9adcfdaa074bb0704240e6c7810c2d70333b8d7d8e2beb5be2e22eab3eab0b46
5
5
  SHA512:
6
- metadata.gz: 76c46a6dd52917b5a6e794efc19c1c466a9203902a6c8d3e7660c3e72301c77d895102ebf75d7ab540ddcb4b45558255bec6d69b142ea60dde03f22e2c69309d
7
- data.tar.gz: 48304dce687cc1791dfe7bbd7d62a428d6cb65844d6b7386a7a2e379d0b5c933277a66064353da8e49a3f45fd5b5d87022ff546e761ccccfc41b1f8ce699e403
6
+ metadata.gz: 4d5de57e6df1a04a6fb72d129ac9a88c0b6e92cc7ca3662f7da4655457e8eb35d13a42e480abd6e420a8de2455236630122088dd5973870950437a2bee3e2db1
7
+ data.tar.gz: 97b1ea42c177dd4b04d5f613b059cdf2c46e148ca69e68ce2430a5bd03dc9afb44760394ccceb8be8d4dd30af10a9993332f0db52ab5caf4a2ff76045e9bea66
@@ -7,22 +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
- examples = pb_doc_kit_examples(kit, type)
11
- examples = examples.first(1) if limit_examples
12
- examples.map do |example|
13
- pb_rails "docs/kit_example", props: {
14
- kit: kit,
15
- example_title: example.values.first,
16
- example_key: example.keys.first,
17
- show_code: show_code,
18
- type: type,
19
- dark: dark_mode,
20
- }
21
- end.join.yield_self(&method(:raw))
22
- end
23
-
24
- def nav_hash_array(link)
25
- link.first.last
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
26
24
  end
27
25
 
28
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.play845allkitsbytypes1264"
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.play845allkitsbytypes1264
4
+ version: 13.9.0.pre.alpha.play845allkitsbytypes1268
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX