playbook_ui 12.9.0 → 12.9.1.pre.alpha.menucleanup345
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: 332bb185698e65bbff441d57efd503570b759137f2460d3d5025335cb95339f7
|
4
|
+
data.tar.gz: 948fb06c5f69f1703ea49726895a5fb6a65e51c229bbb2d49786adc8fa1410cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fe91a1a0345f1e4a545192509319f919aa47cb0ab3dec9af2b85ee0513f432509759987a45132389a5b3270f0f501ab718ad9e73f156d01172f53945060674b
|
7
|
+
data.tar.gz: 2a2372c64a47f38bc9fe639e5c1d791ee855aaed1ece5ccc6661146600e171b7c66bd05492c9212fbb3906842f34e02562424a6697593ac966990dc466ac9056
|
@@ -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.menucleanup345
|
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-20 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: []
|