playbook_ui_docs 16.1.0.pre.alpha.play279914268 → 16.1.0.pre.alpha.testingrailsfix14159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.md +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.html.erb +1 -1
- data/app/pb_kits/playbook/pb_nav/docs/example.yml +6 -2
- data/app/pb_kits/playbook/pb_nav/docs/index.js +1 -2
- metadata +2 -4
- data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_disabled_item.html.erb +0 -24
- data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_disabled_item.jsx +0 -87
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 528f6574471c23f672e0c7ed43b82d327ecb4b3424a10462ee8a6fafb0b2d0f4
|
|
4
|
+
data.tar.gz: edd37ff44192554be84163878ae59d0381e6e7e0ff22ce5c4eb1438b434cbece
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf6d0036275beb97ab2f9500a0af143fa33be7dbbccb954c3e94e14e33efc9ae5129beee4f0676506d2fc270e09931dddba98231155cf5b4e0a9c154a11354e2
|
|
7
|
+
data.tar.gz: 3691319c65ccf760fca005ceef32b86634c776d72197a9ca01de7e4327b94ffc58034ac7717ff6080669f2b5eae2a77c27c37dd627c3e065fde0ef4aed2594b7
|
|
@@ -2,4 +2,4 @@ the `enableSorting` prop is a boolean prop set to false by default. If true, the
|
|
|
2
2
|
|
|
3
3
|
### sortIcon
|
|
4
4
|
|
|
5
|
-
An optional prop, `sortIcon` allows you to customize your icon sets by passing it an array of any comma-separated pair of icon values. The first icon value will replace the kit's default icon when sort direction is desc, and the second value will replace the default icon when sort direction is asc. `sortIcon` also allows you to pass it a single icon as a string, in which case the icon will not toggle with the sort state. Default for this prop is `["arrow-up-wide
|
|
5
|
+
An optional prop, `sortIcon` allows you to customize your icon sets by passing it an array of any comma-separated pair of icon values. The first icon value will replace the kit's default icon when sort direction is desc, and the second value will replace the default icon when sort direction is asc. `sortIcon` also allows you to pass it a single icon as a string, in which case the icon will not toggle with the sort state. Default for this prop is `["arrow-up-short-wide", "arrow-down-short-wide"]`. All strings must be valid FA icons.
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
const option = e.detail;
|
|
77
77
|
const dropdown = e.target;
|
|
78
78
|
|
|
79
|
-
const display = dropdown.querySelector("
|
|
79
|
+
const display = dropdown.querySelector("#dropdown_trigger_custom_display");
|
|
80
80
|
if (!display) return;
|
|
81
81
|
|
|
82
82
|
const nameEl = display.querySelector("#dropdown-avatar-name");
|
|
@@ -14,7 +14,6 @@ examples:
|
|
|
14
14
|
- collapsible_nav: Collapsible Nav
|
|
15
15
|
- collapsible_nav_with_all_options: Collapsible Nav With Options
|
|
16
16
|
- collapsible_nav_no_icon: Collapsible Nav No Icon
|
|
17
|
-
- collapsible_nav_disabled_item: Collapsible Nav With Disabled Item
|
|
18
17
|
- horizontal_nav: Horizontal Nav
|
|
19
18
|
- subtle_horizontal_nav: Subtle Horizontal Nav
|
|
20
19
|
- bold_horizontal_nav: Bold Horizontal Nav
|
|
@@ -43,7 +42,6 @@ examples:
|
|
|
43
42
|
- collapsible_nav_item_spacing: Collapsible Nav With ItemSpacing
|
|
44
43
|
- collapsible_nav_custom: Collapsible Nav With Custom Toggling
|
|
45
44
|
- collapsible_nav_no_icon: Collapsible Nav No Icon
|
|
46
|
-
- collapsible_nav_disabled_item: Collapsible Nav With Disabled Item
|
|
47
45
|
- horizontal_nav: Horizontal Nav
|
|
48
46
|
- subtle_horizontal_nav: Subtle Horizontal Nav
|
|
49
47
|
- bold_horizontal_nav: Bold Horizontal Nav
|
|
@@ -64,3 +62,9 @@ examples:
|
|
|
64
62
|
- nav_horizontal_subtle_no_highlight_swift: Horizontal Subtle No Highlight
|
|
65
63
|
- nav_horizontal_bold_swift: Horizontal Bold
|
|
66
64
|
- nav_props_swift: ""
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
@@ -22,5 +22,4 @@ export { default as CollapsibleNavItemSpacing } from "./_collapsible_nav_item_sp
|
|
|
22
22
|
export { default as CollapsibleNavNoIcon } from "./_collapsible_nav_no_icon.jsx"
|
|
23
23
|
export { default as HorizontalNavExtendedunderline } from './_horizontal_nav_extendedunderline.jsx'
|
|
24
24
|
export { default as HorizontalNavDisabled } from './_horizontal_nav_disabled.jsx'
|
|
25
|
-
export { default as VerticalNavDisabled } from './_vertical_nav_disabled.jsx'
|
|
26
|
-
export { default as CollapsibleNavDisabledItem } from './_collapsible_nav_disabled_item.jsx'
|
|
25
|
+
export { default as VerticalNavDisabled } from './_vertical_nav_disabled.jsx'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: playbook_ui_docs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 16.1.0.pre.alpha.
|
|
4
|
+
version: 16.1.0.pre.alpha.testingrailsfix14159
|
|
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: 2026-02-
|
|
12
|
+
date: 2026-02-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: playbook_ui
|
|
@@ -1510,8 +1510,6 @@ files:
|
|
|
1510
1510
|
- app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.md
|
|
1511
1511
|
- app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.jsx
|
|
1512
1512
|
- app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.md
|
|
1513
|
-
- app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_disabled_item.html.erb
|
|
1514
|
-
- app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_disabled_item.jsx
|
|
1515
1513
|
- app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_item_spacing.jsx
|
|
1516
1514
|
- app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_item_spacing.md
|
|
1517
1515
|
- app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_no_icon.html.erb
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<%= pb_rails("nav", props: { variant: "bold" }) do %>
|
|
2
|
-
<%= pb_rails("nav/item", props: { text: "Overview", link: "#", collapsible: true, icon_left:"city", disabled: true }) do %>
|
|
3
|
-
<%= pb_rails("nav", props: { variant: "bold" }) 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: "#", active: true, collapsible: true, icon_left: "theater-masks" }) do %>
|
|
10
|
-
<%= pb_rails("nav", props: { variant: "bold" }) 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: "#", collapsible: true, icon_left: "city" }) do %>
|
|
17
|
-
<%= pb_rails("nav", props: { variant: "bold" }) do %>
|
|
18
|
-
<%= pb_rails("nav/item", props: { text: "City", link: "#", disabled: true }) %>
|
|
19
|
-
<%= pb_rails("nav/item", props: { text: "People", link: "#" }) %>
|
|
20
|
-
<%= pb_rails("nav/item", props: { text: "Business", link: "#" }) %>
|
|
21
|
-
<% end %>
|
|
22
|
-
<% end %>
|
|
23
|
-
<% end %>
|
|
24
|
-
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import Nav from '../../pb_nav/_nav'
|
|
3
|
-
import NavItem from '../../pb_nav/_item'
|
|
4
|
-
|
|
5
|
-
const CollapsibleNavDisabledItem = (props) => {
|
|
6
|
-
return (
|
|
7
|
-
<Nav
|
|
8
|
-
variant="bold"
|
|
9
|
-
{...props}
|
|
10
|
-
>
|
|
11
|
-
<NavItem
|
|
12
|
-
collapsed={false}
|
|
13
|
-
collapsible
|
|
14
|
-
disabled
|
|
15
|
-
iconLeft="city"
|
|
16
|
-
link="#"
|
|
17
|
-
text="Overview"
|
|
18
|
-
{...props}
|
|
19
|
-
>
|
|
20
|
-
<NavItem
|
|
21
|
-
link="#"
|
|
22
|
-
text="City"
|
|
23
|
-
{...props}
|
|
24
|
-
/>
|
|
25
|
-
<NavItem
|
|
26
|
-
link="#"
|
|
27
|
-
text="People"
|
|
28
|
-
{...props}
|
|
29
|
-
/>
|
|
30
|
-
<NavItem
|
|
31
|
-
link="#"
|
|
32
|
-
text="Business"
|
|
33
|
-
{...props}
|
|
34
|
-
/>
|
|
35
|
-
</NavItem>
|
|
36
|
-
<NavItem
|
|
37
|
-
collapsible
|
|
38
|
-
iconLeft="theater-masks"
|
|
39
|
-
link="#"
|
|
40
|
-
text="Albums"
|
|
41
|
-
{...props}
|
|
42
|
-
>
|
|
43
|
-
<NavItem
|
|
44
|
-
disabled
|
|
45
|
-
link="#"
|
|
46
|
-
text="Entertainment"
|
|
47
|
-
{...props}
|
|
48
|
-
/>
|
|
49
|
-
<NavItem
|
|
50
|
-
link="#"
|
|
51
|
-
text="Food"
|
|
52
|
-
{...props}
|
|
53
|
-
/>
|
|
54
|
-
<NavItem
|
|
55
|
-
link="#"
|
|
56
|
-
text="Style"
|
|
57
|
-
{...props}
|
|
58
|
-
/>
|
|
59
|
-
</NavItem>
|
|
60
|
-
<NavItem
|
|
61
|
-
collapsible
|
|
62
|
-
iconLeft="city"
|
|
63
|
-
link="#"
|
|
64
|
-
text="Similar Artists"
|
|
65
|
-
{...props}
|
|
66
|
-
>
|
|
67
|
-
<NavItem
|
|
68
|
-
link="#"
|
|
69
|
-
text="City"
|
|
70
|
-
{...props}
|
|
71
|
-
/>
|
|
72
|
-
<NavItem
|
|
73
|
-
link="#"
|
|
74
|
-
text="People"
|
|
75
|
-
{...props}
|
|
76
|
-
/>
|
|
77
|
-
<NavItem
|
|
78
|
-
link="#"
|
|
79
|
-
text="Business"
|
|
80
|
-
{...props}
|
|
81
|
-
/>
|
|
82
|
-
</NavItem>
|
|
83
|
-
</Nav>
|
|
84
|
-
);
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
export default CollapsibleNavDisabledItem
|