playbook_ui 13.11.0 → 13.11.1

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: 0f59d5a7e839622f23cdaa72f5cf5b2bb7d35a31d9a4b97e6ca296a3ab2c1b65
4
- data.tar.gz: 7f5316cd0944997fc967be58039281008449578076f5655d45af7322bb085624
3
+ metadata.gz: 0ee8e7e286c406057d392df39a78b5386ccab676d22aa828c988d7ee705ef968
4
+ data.tar.gz: ee9a52e005b2d69eebf688975b86bb2e6690cbc36213745e099c53a9148b71f7
5
5
  SHA512:
6
- metadata.gz: 4c1519cd34041afc75360defaf2dbbcd2927a2e890d49fd317fdf6e66beca8a694b76e9676e0861c73a21dc4455fa06697d2b8c6e64ef64d19cddbad3d545576
7
- data.tar.gz: c3994a6e9c21827dfed1a8da6ce1eda1e1fa785f69d0c8e797f09c3735763b897aca48a7a73605c2115dc4353c5d28452197ffee327f21a437f0a6c3979fa1d2
6
+ metadata.gz: d56962a2defca43883e75b975d30829a1222671ebcc55b08258ec18d581937cd73252ee556ca113788388ff6f1dcc3952ca0f446ae1eba5c91acac03d5131e5e
7
+ data.tar.gz: 2295ee61c45223e3000b277bec93ac715d0f0cd134494b2d746172f93af2d979e9edc9ef76be7bfe67a689dca148063e3bac03f4ae3050e5db05f59ea4907f76
@@ -33,9 +33,9 @@ module Playbook
33
33
  kits.each do |kit|
34
34
  if kit.is_a?(Hash)
35
35
  nav_hash_array(kit).each do |sub_kit|
36
- display_kits << render_pb_doc_kit(sub_kit, type, limit_examples, false, dark_mode) if pb_doc_has_kit_type?(sub_kit, type)
36
+ display_kits << render_pb_doc_kit(sub_kit, type, limit_examples, false, dark_mode)
37
37
  end
38
- elsif pb_doc_has_kit_type?(kit, type)
38
+ else
39
39
  display_kits << render_pb_doc_kit(kit, type, limit_examples, false, dark_mode)
40
40
  end
41
41
  end
@@ -92,25 +92,6 @@ module Playbook
92
92
  end
93
93
  end
94
94
 
95
- def pb_doc_has_kit_type?(kit, type = "rails")
96
- case type
97
- when "rails"
98
- extension = "erb"
99
- query_string = extension
100
- when "react"
101
- extension = "jsx"
102
- query_string = extension
103
- when "swift"
104
- extension = "md"
105
- query_string = "_swift"
106
- end
107
-
108
- pb_doc_kit_path(kit, "docs")
109
- .glob("**/*.#{extension}")
110
- .any? { |path| path.basename.to_s.include?(query_string) }
111
- .present?
112
- end
113
-
114
95
  def pb_doc_render_clickable_title(kit, type)
115
96
  url = "#"
116
97
  begin
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.10.0"
5
- VERSION = "13.11.0"
5
+ VERSION = "13.11.1"
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.11.0
4
+ version: 13.11.1
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: 2023-11-10 00:00:00.000000000 Z
12
+ date: 2023-11-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -881,7 +881,6 @@ files:
881
881
  - app/pb_kits/playbook/pb_date_year_stacked/docs/_footer.md
882
882
  - app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml
883
883
  - app/pb_kits/playbook/pb_date_year_stacked/docs/index.js
884
- - app/pb_kits/playbook/pb_dawg/docs/example.yml
885
884
  - app/pb_kits/playbook/pb_detail/_detail.scss
886
885
  - app/pb_kits/playbook/pb_detail/_detail.tsx
887
886
  - app/pb_kits/playbook/pb_detail/_detail_mixins.scss
@@ -1,9 +0,0 @@
1
- examples:
2
-
3
- rails:
4
- - dawg_default: Default
5
-
6
-
7
- react:
8
- - dawg_default: Default
9
-