playbook_ui 12.9.0 → 12.9.1.pre.alpha.menucleanup342
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1989f07868254d732bff09d69a085aea374c14b76679b120efc068adbdd78237
|
4
|
+
data.tar.gz: d002dba7896b13cbfa0e2adddaebbe0a735cb8c5036ff02ec23c3ab4acb48481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 204999c57dee19b70aaf3f4a5cc9e7d361ac099201cf7074bc48b30c77661cea7b117d823ac2437ef60d606a640393b449ec281836cae477c265abd6f6672e29
|
7
|
+
data.tar.gz: 22ea9097dbedf3c02f9cc06057ccbb6e79c358038942e9c2ba06fd3bcbd392e1cda92a94e52c17f2c3b0c13c0783f57acf6641ca6e882ff48dbc90fd5f94cb71
|
@@ -27,9 +27,9 @@ module Playbook
|
|
27
27
|
|
28
28
|
# Deal with lists of kits, used in Playbook doc and Externally
|
29
29
|
# rubocop:disable Style/StringConcatenation
|
30
|
-
def pb_kits(type: "rails", limit_examples: false, dark_mode: false)
|
30
|
+
def pb_kits(type: "rails", limit_examples: false, dark_mode: false, method: get_kits)
|
31
31
|
display_kits = []
|
32
|
-
kits =
|
32
|
+
kits = method
|
33
33
|
kits.each do |kit|
|
34
34
|
if kit.is_a?(Hash)
|
35
35
|
nav_hash_array(kit).each do |sub_kit|
|
@@ -45,7 +45,12 @@ module Playbook
|
|
45
45
|
|
46
46
|
# rubocop:disable Naming/AccessorMethodName
|
47
47
|
def get_kits
|
48
|
-
menu = YAML.load_file(Playbook::Engine.root.join("
|
48
|
+
menu = YAML.load_file(Playbook::Engine.root.join("dist/menu.yml"))
|
49
|
+
menu["kits"]
|
50
|
+
end
|
51
|
+
|
52
|
+
def get_kits_pb_website
|
53
|
+
menu = YAML.load_file(Rails.root.join("config/menu.yml"))
|
49
54
|
menu["kits"]
|
50
55
|
end
|
51
56
|
# rubocop:enable Naming/AccessorMethodName
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.9.
|
4
|
+
version: 12.9.1.pre.alpha.menucleanup342
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
8
8
|
- Power Devs
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-03-
|
12
|
+
date: 2023-03-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -294,7 +294,6 @@ files:
|
|
294
294
|
- Rakefile
|
295
295
|
- app/pb_kits/playbook/_playbook.scss
|
296
296
|
- app/pb_kits/playbook/_reset.scss
|
297
|
-
- app/pb_kits/playbook/data/menu.yml
|
298
297
|
- app/pb_kits/playbook/index.js
|
299
298
|
- app/pb_kits/playbook/pb_avatar/_avatar.scss
|
300
299
|
- app/pb_kits/playbook/pb_avatar/_avatar.tsx
|
@@ -2384,6 +2383,7 @@ files:
|
|
2384
2383
|
- app/pb_kits/playbook/utilities/test/globalProps/justifySelf.test.js
|
2385
2384
|
- app/pb_kits/playbook/utilities/test/globalProps/order.test.js
|
2386
2385
|
- app/pb_kits/playbook/utilities/text.ts
|
2386
|
+
- dist/menu.yml
|
2387
2387
|
- dist/reset.css
|
2388
2388
|
- lib/playbook.rb
|
2389
2389
|
- lib/playbook/align_content.rb
|
@@ -2445,7 +2445,7 @@ homepage: http://playbook.powerapp.cloud
|
|
2445
2445
|
licenses:
|
2446
2446
|
- ISC
|
2447
2447
|
metadata: {}
|
2448
|
-
post_install_message:
|
2448
|
+
post_install_message:
|
2449
2449
|
rdoc_options: []
|
2450
2450
|
require_paths:
|
2451
2451
|
- lib
|
@@ -2456,12 +2456,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2456
2456
|
version: '0'
|
2457
2457
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2458
2458
|
requirements:
|
2459
|
-
- - "
|
2459
|
+
- - ">"
|
2460
2460
|
- !ruby/object:Gem::Version
|
2461
|
-
version:
|
2461
|
+
version: 1.3.1
|
2462
2462
|
requirements: []
|
2463
2463
|
rubygems_version: 3.3.7
|
2464
|
-
signing_key:
|
2464
|
+
signing_key:
|
2465
2465
|
specification_version: 4
|
2466
2466
|
summary: Playbook Design System
|
2467
2467
|
test_files: []
|