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 +4 -4
- data/lib/playbook/pb_doc_helper.rb +2 -21
- data/lib/playbook/version.rb +1 -1
- metadata +2 -3
- data/app/pb_kits/playbook/pb_dawg/docs/example.yml +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ee8e7e286c406057d392df39a78b5386ccab676d22aa828c988d7ee705ef968
|
4
|
+
data.tar.gz: ee9a52e005b2d69eebf688975b86bb2e6690cbc36213745e099c53a9148b71f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
36
|
+
display_kits << render_pb_doc_kit(sub_kit, type, limit_examples, false, dark_mode)
|
37
37
|
end
|
38
|
-
|
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
|
data/lib/playbook/version.rb
CHANGED
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.
|
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-
|
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
|