playbook_ui 14.23.0.pre.alpha.advancedtablefix9082 → 14.23.0.pre.alpha.highchartstest9121
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/Components/TableHeaderCell.tsx +1 -0
- data/app/pb_kits/playbook/pb_advanced_table/Hooks/useTableState.ts +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +0 -1
- data/dist/chunks/{_weekday_stacked-C16ua8Si.js → _weekday_stacked-DhFTG-Jt.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +1 -1
- data/dist/playbook-doc.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +3 -5
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.jsx +0 -107
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.md +0 -1
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: 14.23.0.pre.alpha.
|
4
|
+
version: 14.23.0.pre.alpha.highchartstest9121
|
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: 2025-07-
|
12
|
+
date: 2025-07-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -407,8 +407,6 @@ files:
|
|
407
407
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
|
408
408
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.jsx
|
409
409
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.md
|
410
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.jsx
|
411
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.md
|
412
410
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
|
413
411
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
|
414
412
|
- app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
|
@@ -3633,7 +3631,7 @@ files:
|
|
3633
3631
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3634
3632
|
- dist/chunks/_line_graph-BfCo79KE.js
|
3635
3633
|
- dist/chunks/_typeahead-Db4YQA5c.js
|
3636
|
-
- dist/chunks/_weekday_stacked-
|
3634
|
+
- dist/chunks/_weekday_stacked-DhFTG-Jt.js
|
3637
3635
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3638
3636
|
- dist/chunks/lib-DnQyMxO1.js
|
3639
3637
|
- dist/chunks/pb_form_validation-kl-4Jv4t.js
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.jsx
DELETED
@@ -1,107 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import AdvancedTable from '../../pb_advanced_table/_advanced_table'
|
3
|
-
import Icon from "../../pb_icon/_icon"
|
4
|
-
import Flex from "../../pb_flex/_flex"
|
5
|
-
import Caption from "../../pb_caption/_caption"
|
6
|
-
import Tooltip from "../../pb_tooltip/_tooltip"
|
7
|
-
import MOCK_DATA from "./advanced_table_mock_data.json"
|
8
|
-
|
9
|
-
const AdvancedTableWithCustomHeaderMultiHeader = (props) => {
|
10
|
-
|
11
|
-
const columnDefinitions = [
|
12
|
-
{
|
13
|
-
accessor: "year",
|
14
|
-
label: "Year",
|
15
|
-
id: "year",
|
16
|
-
cellAccessors: ["quarter", "month", "day"],
|
17
|
-
},
|
18
|
-
{
|
19
|
-
label: "Enrollment Data",
|
20
|
-
id: "enrollmentData",
|
21
|
-
header: () => (
|
22
|
-
<Flex alignItems="center"
|
23
|
-
justifyContent="center"
|
24
|
-
>
|
25
|
-
<Caption marginRight="xs">Enrollments Data</Caption>
|
26
|
-
<Tooltip placement="top"
|
27
|
-
text="Whoa. I'm a Tooltip"
|
28
|
-
zIndex={10}
|
29
|
-
>
|
30
|
-
<Icon cursor="pointer"
|
31
|
-
icon="info"
|
32
|
-
size="xs"
|
33
|
-
/>
|
34
|
-
</Tooltip>
|
35
|
-
</Flex>
|
36
|
-
),
|
37
|
-
columns: [
|
38
|
-
{
|
39
|
-
label: "Enrollment Stats",
|
40
|
-
id: "enrollmentStats",
|
41
|
-
columns: [
|
42
|
-
{
|
43
|
-
accessor: "newEnrollments",
|
44
|
-
id: "newEnrollments",
|
45
|
-
label: "New Enrollments",
|
46
|
-
},
|
47
|
-
{
|
48
|
-
accessor: "scheduledMeetings",
|
49
|
-
id: "scheduledMeetings",
|
50
|
-
label: "Scheduled Meetings",
|
51
|
-
},
|
52
|
-
],
|
53
|
-
},
|
54
|
-
],
|
55
|
-
},
|
56
|
-
{
|
57
|
-
label: "Performance Data",
|
58
|
-
id: "performanceData",
|
59
|
-
columns: [
|
60
|
-
{
|
61
|
-
label: "Completion Metrics",
|
62
|
-
id: "completionMetrics",
|
63
|
-
columns: [
|
64
|
-
{
|
65
|
-
accessor: "completedClasses",
|
66
|
-
label: "Completed Classes",
|
67
|
-
id: "completedClasses",
|
68
|
-
},
|
69
|
-
{
|
70
|
-
accessor: "classCompletionRate",
|
71
|
-
label: "Class Completion Rate",
|
72
|
-
id: "classCompletionRate",
|
73
|
-
},
|
74
|
-
],
|
75
|
-
},
|
76
|
-
{
|
77
|
-
label: "Attendance",
|
78
|
-
id: "attendance",
|
79
|
-
columns: [
|
80
|
-
{
|
81
|
-
accessor: "attendanceRate",
|
82
|
-
label: "Attendance Rate",
|
83
|
-
id: "attendanceRate",
|
84
|
-
},
|
85
|
-
{
|
86
|
-
accessor: "scheduledMeetings",
|
87
|
-
label: "Scheduled Meetings",
|
88
|
-
id: "scheduledMeetings",
|
89
|
-
},
|
90
|
-
],
|
91
|
-
},
|
92
|
-
],
|
93
|
-
},
|
94
|
-
];
|
95
|
-
|
96
|
-
return (
|
97
|
-
<div>
|
98
|
-
<AdvancedTable
|
99
|
-
columnDefinitions={columnDefinitions}
|
100
|
-
tableData={MOCK_DATA}
|
101
|
-
{...props}
|
102
|
-
/>
|
103
|
-
</div>
|
104
|
-
)
|
105
|
-
}
|
106
|
-
|
107
|
-
export default AdvancedTableWithCustomHeaderMultiHeader;
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.md
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
The optional `header` key/value pair within `columnDefinitions` can also be used with multi headers as seen here.
|