playbook_ui_docs 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/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +0 -1
- data/dist/playbook-doc.js +1 -1
- metadata +2 -4
- 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
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: 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: playbook_ui
|
@@ -153,8 +153,6 @@ files:
|
|
153
153
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
|
154
154
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.jsx
|
155
155
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.md
|
156
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.jsx
|
157
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.md
|
158
156
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
|
159
157
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
|
160
158
|
- app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.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.
|