playbook_ui 13.1.0 → 13.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +1 -1
  3. data/app/pb_kits/playbook/pb_nav/_bold_mixin.scss +16 -14
  4. data/app/pb_kits/playbook/pb_nav/_collapsible_nav.scss +86 -115
  5. data/app/pb_kits/playbook/pb_nav/_collapsible_trail_mixin.scss +16 -0
  6. data/app/pb_kits/playbook/pb_nav/_horizontal_nav.scss +58 -58
  7. data/app/pb_kits/playbook/pb_nav/_item.tsx +242 -138
  8. data/app/pb_kits/playbook/pb_nav/_nav.scss +38 -0
  9. data/app/pb_kits/playbook/pb_nav/_nav.tsx +17 -1
  10. data/app/pb_kits/playbook/pb_nav/_subtle_mixin.scss +9 -11
  11. data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +50 -59
  12. data/app/pb_kits/playbook/pb_nav/docs/_block_no_title_nav.jsx +1 -1
  13. data/app/pb_kits/playbook/pb_nav/docs/_borderless_nav.jsx +4 -1
  14. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.html.erb +4 -4
  15. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx +4 -10
  16. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.md +1 -1
  17. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.jsx +6 -1
  18. data/app/pb_kits/playbook/pb_nav/docs/{_collapsible_nav_emphasize.jsx → _collapsible_nav_item_spacing.jsx} +18 -17
  19. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_item_spacing.md +1 -0
  20. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_with_all_options.html.erb +23 -0
  21. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_with_all_options.jsx +55 -0
  22. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_with_all_options.md +4 -0
  23. data/app/pb_kits/playbook/pb_nav/docs/_nav_with_font_control.html.erb +6 -0
  24. data/app/pb_kits/playbook/pb_nav/docs/_nav_with_font_control.jsx +46 -0
  25. data/app/pb_kits/playbook/pb_nav/docs/_nav_with_font_control.md +4 -0
  26. data/app/pb_kits/playbook/pb_nav/docs/_nav_with_spacing_control.html.erb +6 -0
  27. data/app/pb_kits/playbook/pb_nav/docs/_nav_with_spacing_control.jsx +47 -0
  28. data/app/pb_kits/playbook/pb_nav/docs/_nav_with_spacing_control.md +1 -0
  29. data/app/pb_kits/playbook/pb_nav/docs/_no_highlight_nav.jsx +4 -1
  30. data/app/pb_kits/playbook/pb_nav/docs/_subtle_nav.jsx +4 -1
  31. data/app/pb_kits/playbook/pb_nav/docs/_subtle_with_icons_nav.jsx +4 -1
  32. data/app/pb_kits/playbook/pb_nav/docs/example.yml +10 -5
  33. data/app/pb_kits/playbook/pb_nav/docs/index.js +4 -1
  34. data/app/pb_kits/playbook/pb_nav/item.html.erb +19 -12
  35. data/app/pb_kits/playbook/pb_nav/item.rb +55 -14
  36. data/app/pb_kits/playbook/pb_nav/nav.html.erb +3 -1
  37. data/app/pb_kits/playbook/pb_nav/navTypes.ts +25 -0
  38. data/app/pb_kits/playbook/pb_select/docs/_select_multiple.md +1 -1
  39. data/dist/playbook-rails.js +2 -2
  40. data/lib/playbook/version.rb +2 -2
  41. metadata +15 -6
  42. data/app/pb_kits/playbook/pb_nav/_mixins.scss +0 -5
  43. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.html.erb +0 -23
  44. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.md +0 -1
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "13.0.0"
5
- VERSION = "13.1.0"
4
+ PREVIOUS_VERSION = "13.1.0"
5
+ VERSION = "13.2.0"
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.1.0
4
+ version: 13.2.0
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-08-29 00:00:00.000000000 Z
12
+ date: 2023-09-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -1525,9 +1525,9 @@ files:
1525
1525
  - app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.rb
1526
1526
  - app/pb_kits/playbook/pb_nav/_bold_mixin.scss
1527
1527
  - app/pb_kits/playbook/pb_nav/_collapsible_nav.scss
1528
+ - app/pb_kits/playbook/pb_nav/_collapsible_trail_mixin.scss
1528
1529
  - app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
1529
1530
  - app/pb_kits/playbook/pb_nav/_item.tsx
1530
- - app/pb_kits/playbook/pb_nav/_mixins.scss
1531
1531
  - app/pb_kits/playbook/pb_nav/_nav.scss
1532
1532
  - app/pb_kits/playbook/pb_nav/_nav.test.js
1533
1533
  - app/pb_kits/playbook/pb_nav/_nav.tsx
@@ -1549,14 +1549,22 @@ files:
1549
1549
  - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.md
1550
1550
  - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.jsx
1551
1551
  - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.md
1552
- - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.html.erb
1553
- - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.jsx
1554
- - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.md
1552
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_item_spacing.jsx
1553
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_item_spacing.md
1554
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_with_all_options.html.erb
1555
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_with_all_options.jsx
1556
+ - app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_with_all_options.md
1555
1557
  - app/pb_kits/playbook/pb_nav/docs/_default_nav.html.erb
1556
1558
  - app/pb_kits/playbook/pb_nav/docs/_default_nav.jsx
1557
1559
  - app/pb_kits/playbook/pb_nav/docs/_description.md
1558
1560
  - app/pb_kits/playbook/pb_nav/docs/_horizontal_nav.html.erb
1559
1561
  - app/pb_kits/playbook/pb_nav/docs/_horizontal_nav.jsx
1562
+ - app/pb_kits/playbook/pb_nav/docs/_nav_with_font_control.html.erb
1563
+ - app/pb_kits/playbook/pb_nav/docs/_nav_with_font_control.jsx
1564
+ - app/pb_kits/playbook/pb_nav/docs/_nav_with_font_control.md
1565
+ - app/pb_kits/playbook/pb_nav/docs/_nav_with_spacing_control.html.erb
1566
+ - app/pb_kits/playbook/pb_nav/docs/_nav_with_spacing_control.jsx
1567
+ - app/pb_kits/playbook/pb_nav/docs/_nav_with_spacing_control.md
1560
1568
  - app/pb_kits/playbook/pb_nav/docs/_new_tab.html.erb
1561
1569
  - app/pb_kits/playbook/pb_nav/docs/_new_tab.jsx
1562
1570
  - app/pb_kits/playbook/pb_nav/docs/_no_highlight_nav.html.erb
@@ -1580,6 +1588,7 @@ files:
1580
1588
  - app/pb_kits/playbook/pb_nav/item.rb
1581
1589
  - app/pb_kits/playbook/pb_nav/nav.html.erb
1582
1590
  - app/pb_kits/playbook/pb_nav/nav.rb
1591
+ - app/pb_kits/playbook/pb_nav/navTypes.ts
1583
1592
  - app/pb_kits/playbook/pb_online_status/_online_status.scss
1584
1593
  - app/pb_kits/playbook/pb_online_status/_online_status.tsx
1585
1594
  - app/pb_kits/playbook/pb_online_status/_online_status_mixins.scss
@@ -1,5 +0,0 @@
1
- @mixin collapsible_trail_class {
2
- .pb_collapsible_content_kit {
3
- border-color: $border_light;
4
- }
5
- }
@@ -1,23 +0,0 @@
1
- <%= pb_rails("nav", props: { variant: "subtle" }) do %>
2
- <%= pb_rails("nav/item", props: { text: "Overview", link: "#", font_weight:"bolder", font_size:"small", collapsible: true, icon_left:"city", collapsible_trail: true }) do %>
3
- <%= pb_rails("nav", props: { variant: "subtle" }) do %>
4
- <%= pb_rails("nav/item", props: { text: "City", link: "#" }) %>
5
- <%= pb_rails("nav/item", props: { text: "People", link: "#" }) %>
6
- <%= pb_rails("nav/item", props: { text: "Business", link: "#" }) %>
7
- <% end %>
8
- <% end %>
9
- <%= pb_rails("nav/item", props: { text: "Albums", link: "#", font_weight:"bolder", font_size:"small", collapsible: true, icon_left: "theater-masks", collapsible_trail:true }) do %>
10
- <%= pb_rails("nav", props: { variant: "subtle" }) do %>
11
- <%= pb_rails("nav/item", props: { text: "Entertainment", link: "#" }) %>
12
- <%= pb_rails("nav/item", props: { text: "Food", link: "#" }) %>
13
- <%= pb_rails("nav/item", props: { text: "Style", link: "#" }) %>
14
- <% end %>
15
- <% end %>
16
- <%= pb_rails("nav/item", props: { text: "Similar Artists", link: "#", font_weight:"bolder", font_size:"small", collapsible: true, icon_left: "city", collapsible_trail:true }) do %>
17
- <%= pb_rails("nav", props: { variant: "subtle" }) do %>
18
- <%= pb_rails("nav/item", props: { text: "City", link: "#" }) %>
19
- <%= pb_rails("nav/item", props: { text: "People", link: "#" }) %>
20
- <%= pb_rails("nav/item", props: { text: "Business", link: "#" }) %>
21
- <% end %>
22
- <% end %>
23
- <% end %>
@@ -1 +0,0 @@
1
- The ` navBold` prop can be passed to NavItem