playbook_ui_docs 16.7.0.pre.alpha.play2924tooltipmisalignment16200 → 16.7.0.pre.rc.0
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_grouped_headers_composition.jsx +1 -15
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_infinite_scroll.jsx +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.jsx +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows.jsx +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js +200 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading_empty_children.js +42 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_grouped_headers_composition_mock_data.json +98 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +5 -5
- data/app/pb_kits/playbook/pb_date/docs/_playground.json +17 -13
- data/app/pb_kits/playbook/pb_date/docs/_playground.overrides.json +16 -13
- data/app/pb_kits/playbook/pb_date_picker/docs/_playground.json +41 -137
- data/app/pb_kits/playbook/pb_date_picker/docs/_playground.overrides.json +44 -114
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.json +6 -48
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.json +5 -28
- data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.json +1 -1
- data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.overrides.json +1 -1
- data/app/pb_kits/playbook/pb_date_time/docs/_playground.json +3 -16
- data/app/pb_kits/playbook/pb_date_time/docs/_playground.overrides.json +3 -16
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.json +15 -11
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.overrides.json +15 -11
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.json +4 -4
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.overrides.json +4 -4
- data/app/pb_kits/playbook/pb_detail/docs/_playground.json +18 -12
- data/app/pb_kits/playbook/pb_detail/docs/_playground.overrides.json +12 -13
- data/app/pb_kits/playbook/pb_dialog/docs/_playground.json +42 -108
- data/app/pb_kits/playbook/pb_dialog/docs/_playground.overrides.json +40 -88
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.json +7 -65
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_constrain_height.jsx +0 -18
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_constrain_height_rails.html.erb +0 -11
- data/app/pb_kits/playbook/pb_dropdown/docs/_playground.json +21 -318
- data/app/pb_kits/playbook/pb_dropdown/docs/_playground.overrides.json +19 -192
- data/app/pb_kits/playbook/pb_empty_state/docs/_playground.json +12 -77
- data/app/pb_kits/playbook/pb_file_upload/docs/_playground.json +13 -98
- data/app/pb_kits/playbook/pb_link/docs/_playground.json +40 -81
- data/app/pb_kits/playbook/pb_link/docs/_playground.overrides.json +30 -88
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_external_control.jsx +1 -22
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +2 -22
- data/app/pb_kits/playbook/pb_pagination/docs/data.js +23 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.json +2 -4
- data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_templates.jsx +1 -76
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js +75 -0
- data/app/pb_kits/playbook/pb_title/docs/_playground.json +23 -72
- data/app/pb_kits/playbook/pb_title/docs/_playground.overrides.json +16 -80
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx +2 -2
- metadata +7 -11
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_inline_loading_empty_children.json +0 -41
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.overrides.json +0 -57
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.overrides.json +0 -38
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.overrides.json +0 -45
- data/app/pb_kits/playbook/pb_empty_state/docs/_playground.overrides.json +0 -79
- data/app/pb_kits/playbook/pb_file_upload/docs/_playground.overrides.json +0 -99
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.html.erb +0 -5
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.jsx +0 -14
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.md +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db7a43e2aabf6e376e78f692f2cb21ed557481e649b0796b1eb9e4a3f1c9a83e
|
|
4
|
+
data.tar.gz: 76be42ff6cbb362ed571bff8f656adf775e3fe5c6ab903abc62ff64fafb46016
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 721a40060edc77dbf2a734a70ec473d082d91e8393a5b992d41c725efae835dc466e9747e0efb66fa7b80fbac89c31300789b4f102e94b3124c7cc2155992872
|
|
7
|
+
data.tar.gz: 9ec7d26ba24b1f6ce0ab74053a56d5ecf6167a529a45b29eccf9d7bfd20dd6ba7f83b8abe96c18563916f08d7014b550e706153d26cfcfcffe4e3858c587c471
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_grouped_headers_composition.jsx
CHANGED
|
@@ -9,21 +9,7 @@ import ListItem from "../../pb_list/_list_item"
|
|
|
9
9
|
import PbReactPopover from "../../pb_popover/_popover"
|
|
10
10
|
import SectionSeparator from "../../pb_section_separator/_section_separator"
|
|
11
11
|
import StarRating from "../../pb_star_rating/_star_rating"
|
|
12
|
-
|
|
13
|
-
const COMPOSITION_MOCK_DATA = [
|
|
14
|
-
{ id: "1", year: "2015", newEnrollments: "12", scheduledMeetings: "40", attendanceRate: "62%", classCompletionRate: "28%" },
|
|
15
|
-
{ id: "2", year: "2016", newEnrollments: "88", scheduledMeetings: "12", attendanceRate: "71%", classCompletionRate: "55%" },
|
|
16
|
-
{ id: "3", year: "2017", newEnrollments: "34", scheduledMeetings: "67", attendanceRate: "58%", classCompletionRate: "41%" },
|
|
17
|
-
{ id: "4", year: "2018", newEnrollments: "05", scheduledMeetings: "91", attendanceRate: "44%", classCompletionRate: "73%" },
|
|
18
|
-
{ id: "5", year: "2019", newEnrollments: "61", scheduledMeetings: "19", attendanceRate: "83%", classCompletionRate: "36%" },
|
|
19
|
-
{ id: "6", year: "2020", newEnrollments: "19", scheduledMeetings: "54", attendanceRate: "67%", classCompletionRate: "62%" },
|
|
20
|
-
{ id: "7", year: "2021", newEnrollments: "73", scheduledMeetings: "08", attendanceRate: "52%", classCompletionRate: "49%" },
|
|
21
|
-
{ id: "8", year: "2022", newEnrollments: "50", scheduledMeetings: "50", attendanceRate: "75%", classCompletionRate: "45%" },
|
|
22
|
-
{ id: "9", year: "2023", newEnrollments: "95", scheduledMeetings: "03", attendanceRate: "69%", classCompletionRate: "81%" },
|
|
23
|
-
{ id: "10", year: "2024", newEnrollments: "27", scheduledMeetings: "76", attendanceRate: "91%", classCompletionRate: "22%" },
|
|
24
|
-
{ id: "11", year: "2025", newEnrollments: "41", scheduledMeetings: "33", attendanceRate: "48%", classCompletionRate: "94%" },
|
|
25
|
-
{ id: "12", year: "2026", newEnrollments: "66", scheduledMeetings: "66", attendanceRate: "55%", classCompletionRate: "58%" },
|
|
26
|
-
]
|
|
12
|
+
import COMPOSITION_MOCK_DATA from "./advanced_table_grouped_headers_composition_mock_data.json"
|
|
27
13
|
|
|
28
14
|
const LEAF_COUNT = "newEnrollments"
|
|
29
15
|
const LEAF_SCHEDULED = "scheduledMeetings"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import AdvancedTable from '../_advanced_table'
|
|
3
|
-
import
|
|
3
|
+
import MOCK_DATA from "./advanced_table_mock_data_infinite_scroll.json"
|
|
4
4
|
|
|
5
5
|
const AdvancedTableInfiniteScroll = (props) => {
|
|
6
6
|
const columnDefinitions = [
|
|
@@ -39,7 +39,7 @@ const AdvancedTableInfiniteScroll = (props) => {
|
|
|
39
39
|
<div>
|
|
40
40
|
<AdvancedTable
|
|
41
41
|
columnDefinitions={columnDefinitions}
|
|
42
|
-
tableData={
|
|
42
|
+
tableData={MOCK_DATA}
|
|
43
43
|
virtualizedRows
|
|
44
44
|
{...props}
|
|
45
45
|
/>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import AdvancedTable from '../../pb_advanced_table/_advanced_table'
|
|
3
3
|
import Caption from '../../pb_caption/_caption'
|
|
4
|
-
import MOCK_DATA_INLINE_LOADING from "./
|
|
5
|
-
import MOCK_DATA_INLINE_LOADING_EMPTY_CHILDREN from "./
|
|
4
|
+
import { MOCK_DATA_INLINE_LOADING } from "./_mock_data_inline_loading"
|
|
5
|
+
import { MOCK_DATA_INLINE_LOADING_EMPTY_CHILDREN } from "./_mock_data_inline_loading_empty_children"
|
|
6
6
|
|
|
7
7
|
const AdvancedTableInlineRowLoading = (props) => {
|
|
8
8
|
const columnDefinitions = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from "react"
|
|
2
2
|
import AdvancedTable from '../_advanced_table'
|
|
3
|
-
import
|
|
3
|
+
import MOCK_DATA from "./advanced_table_mock_data_with_id.json"
|
|
4
4
|
|
|
5
5
|
const AdvancedTableRowPinning = (props) => {
|
|
6
6
|
const columnDefinitions = [
|
|
@@ -43,7 +43,7 @@ const AdvancedTableRowPinning = (props) => {
|
|
|
43
43
|
columnDefinitions={columnDefinitions}
|
|
44
44
|
maxHeight="xs"
|
|
45
45
|
pinnedRows={{value: pinnedRows, onChange: setPinnedRows}}
|
|
46
|
-
tableData={
|
|
46
|
+
tableData={MOCK_DATA}
|
|
47
47
|
tableProps={{sticky: true}}
|
|
48
48
|
{...props}
|
|
49
49
|
>
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
export const MOCK_DATA_INLINE_LOADING = [
|
|
2
|
+
{
|
|
3
|
+
year: "2021",
|
|
4
|
+
quarter: null,
|
|
5
|
+
month: null,
|
|
6
|
+
day: null,
|
|
7
|
+
newEnrollments: "20",
|
|
8
|
+
scheduledMeetings: "10",
|
|
9
|
+
attendanceRate: "51%",
|
|
10
|
+
completedClasses: "3",
|
|
11
|
+
classCompletionRate: "33%",
|
|
12
|
+
graduatedStudents: "19",
|
|
13
|
+
children: [],
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
year: "2022",
|
|
17
|
+
quarter: null,
|
|
18
|
+
month: null,
|
|
19
|
+
day: null,
|
|
20
|
+
newEnrollments: "25",
|
|
21
|
+
scheduledMeetings: "17",
|
|
22
|
+
attendanceRate: "75%",
|
|
23
|
+
completedClasses: "5",
|
|
24
|
+
classCompletionRate: "45%",
|
|
25
|
+
graduatedStudents: "32",
|
|
26
|
+
children: [
|
|
27
|
+
{
|
|
28
|
+
year: "2022",
|
|
29
|
+
quarter: "Q1",
|
|
30
|
+
month: null,
|
|
31
|
+
day: null,
|
|
32
|
+
newEnrollments: "2",
|
|
33
|
+
scheduledMeetings: "35",
|
|
34
|
+
attendanceRate: "32%",
|
|
35
|
+
completedClasses: "15",
|
|
36
|
+
classCompletionRate: "52%",
|
|
37
|
+
graduatedStudents: "36",
|
|
38
|
+
children: [
|
|
39
|
+
{
|
|
40
|
+
year: "2022",
|
|
41
|
+
quarter: "Q1",
|
|
42
|
+
month: "January",
|
|
43
|
+
day: null,
|
|
44
|
+
newEnrollments: "16",
|
|
45
|
+
scheduledMeetings: "20",
|
|
46
|
+
attendanceRate: "11%",
|
|
47
|
+
completedClasses: "13",
|
|
48
|
+
classCompletionRate: "47%",
|
|
49
|
+
graduatedStudents: "28",
|
|
50
|
+
children: [
|
|
51
|
+
{
|
|
52
|
+
year: "2022",
|
|
53
|
+
quarter: "Q1",
|
|
54
|
+
month: "January",
|
|
55
|
+
day: "15",
|
|
56
|
+
newEnrollments: "34",
|
|
57
|
+
scheduledMeetings: "28",
|
|
58
|
+
attendanceRate: "97%",
|
|
59
|
+
completedClasses: "20",
|
|
60
|
+
classCompletionRate: "15%",
|
|
61
|
+
graduatedStudents: "17",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
year: "2022",
|
|
65
|
+
quarter: "Q1",
|
|
66
|
+
month: "January",
|
|
67
|
+
day: "25",
|
|
68
|
+
newEnrollments: "43",
|
|
69
|
+
scheduledMeetings: "23",
|
|
70
|
+
attendanceRate: "66%",
|
|
71
|
+
completedClasses: "26",
|
|
72
|
+
classCompletionRate: "47%",
|
|
73
|
+
graduatedStudents: "9",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
year: "2022",
|
|
79
|
+
quarter: "Q1",
|
|
80
|
+
month: "May",
|
|
81
|
+
day: null,
|
|
82
|
+
newEnrollments: "20",
|
|
83
|
+
scheduledMeetings: "41",
|
|
84
|
+
attendanceRate: "95%",
|
|
85
|
+
completedClasses: "26",
|
|
86
|
+
classCompletionRate: "83%",
|
|
87
|
+
graduatedStudents: "43",
|
|
88
|
+
children: [
|
|
89
|
+
{
|
|
90
|
+
year: "2011",
|
|
91
|
+
quarter: "Q1",
|
|
92
|
+
month: "May",
|
|
93
|
+
day: "2",
|
|
94
|
+
newEnrollments: "19",
|
|
95
|
+
scheduledMeetings: "35",
|
|
96
|
+
attendanceRate: "69%",
|
|
97
|
+
completedClasses: "8",
|
|
98
|
+
classCompletionRate: "75%",
|
|
99
|
+
graduatedStudents: "23",
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
year: "2023",
|
|
109
|
+
quarter: null,
|
|
110
|
+
month: null,
|
|
111
|
+
day: null,
|
|
112
|
+
newEnrollments: "10",
|
|
113
|
+
scheduledMeetings: "15",
|
|
114
|
+
attendanceRate: "65%",
|
|
115
|
+
completedClasses: "4",
|
|
116
|
+
classCompletionRate: "49%",
|
|
117
|
+
graduatedStudents: "29",
|
|
118
|
+
children: [
|
|
119
|
+
{
|
|
120
|
+
year: "2023",
|
|
121
|
+
quarter: "Q1",
|
|
122
|
+
month: null,
|
|
123
|
+
day: null,
|
|
124
|
+
newEnrollments: "2",
|
|
125
|
+
scheduledMeetings: "35",
|
|
126
|
+
attendanceRate: "32%",
|
|
127
|
+
completedClasses: "15",
|
|
128
|
+
classCompletionRate: "52%",
|
|
129
|
+
graduatedStudents: "36",
|
|
130
|
+
children: [
|
|
131
|
+
{
|
|
132
|
+
year: "2023",
|
|
133
|
+
quarter: "Q1",
|
|
134
|
+
month: "March",
|
|
135
|
+
day: null,
|
|
136
|
+
newEnrollments: "16",
|
|
137
|
+
scheduledMeetings: "20",
|
|
138
|
+
attendanceRate: "11%",
|
|
139
|
+
completedClasses: "13",
|
|
140
|
+
classCompletionRate: "47%",
|
|
141
|
+
graduatedStudents: "28",
|
|
142
|
+
children: [
|
|
143
|
+
{
|
|
144
|
+
year: "2023",
|
|
145
|
+
quarter: "Q1",
|
|
146
|
+
month: "March",
|
|
147
|
+
day: "10",
|
|
148
|
+
newEnrollments: "34",
|
|
149
|
+
scheduledMeetings: "28",
|
|
150
|
+
attendanceRate: "97%",
|
|
151
|
+
completedClasses: "20",
|
|
152
|
+
classCompletionRate: "15%",
|
|
153
|
+
graduatedStudents: "17",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
year: "2023",
|
|
157
|
+
quarter: "Q1",
|
|
158
|
+
month: "March",
|
|
159
|
+
day: "11",
|
|
160
|
+
newEnrollments: "43",
|
|
161
|
+
scheduledMeetings: "23",
|
|
162
|
+
attendanceRate: "66%",
|
|
163
|
+
completedClasses: "26",
|
|
164
|
+
classCompletionRate: "47%",
|
|
165
|
+
graduatedStudents: "9",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
year: "2023",
|
|
171
|
+
quarter: "Q1",
|
|
172
|
+
month: "April",
|
|
173
|
+
day: null,
|
|
174
|
+
newEnrollments: "20",
|
|
175
|
+
scheduledMeetings: "41",
|
|
176
|
+
attendanceRate: "95%",
|
|
177
|
+
completedClasses: "26",
|
|
178
|
+
classCompletionRate: "83%",
|
|
179
|
+
graduatedStudents: "43",
|
|
180
|
+
children: [
|
|
181
|
+
{
|
|
182
|
+
year: "2023",
|
|
183
|
+
quarter: "Q1",
|
|
184
|
+
month: "April",
|
|
185
|
+
day: "15",
|
|
186
|
+
newEnrollments: "19",
|
|
187
|
+
scheduledMeetings: "35",
|
|
188
|
+
attendanceRate: "69%",
|
|
189
|
+
completedClasses: "8",
|
|
190
|
+
classCompletionRate: "75%",
|
|
191
|
+
graduatedStudents: "23",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
},
|
|
199
|
+
]
|
|
200
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export const MOCK_DATA_INLINE_LOADING_EMPTY_CHILDREN = [
|
|
2
|
+
{
|
|
3
|
+
year: "2021",
|
|
4
|
+
quarter: null,
|
|
5
|
+
month: null,
|
|
6
|
+
day: null,
|
|
7
|
+
newEnrollments: "20",
|
|
8
|
+
scheduledMeetings: "10",
|
|
9
|
+
attendanceRate: "51%",
|
|
10
|
+
completedClasses: "3",
|
|
11
|
+
classCompletionRate: "33%",
|
|
12
|
+
graduatedStudents: "19",
|
|
13
|
+
children: [],
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
year: "2022",
|
|
17
|
+
quarter: null,
|
|
18
|
+
month: null,
|
|
19
|
+
day: null,
|
|
20
|
+
newEnrollments: "25",
|
|
21
|
+
scheduledMeetings: "17",
|
|
22
|
+
attendanceRate: "75%",
|
|
23
|
+
completedClasses: "5",
|
|
24
|
+
classCompletionRate: "45%",
|
|
25
|
+
graduatedStudents: "32",
|
|
26
|
+
children: [],
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
year: "2023",
|
|
30
|
+
quarter: null,
|
|
31
|
+
month: null,
|
|
32
|
+
day: null,
|
|
33
|
+
newEnrollments: "10",
|
|
34
|
+
scheduledMeetings: "15",
|
|
35
|
+
attendanceRate: "65%",
|
|
36
|
+
completedClasses: "4",
|
|
37
|
+
classCompletionRate: "49%",
|
|
38
|
+
graduatedStudents: "29",
|
|
39
|
+
children: [],
|
|
40
|
+
},
|
|
41
|
+
]
|
|
42
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "1",
|
|
4
|
+
"year": "2015",
|
|
5
|
+
"newEnrollments": "12",
|
|
6
|
+
"scheduledMeetings": "40",
|
|
7
|
+
"attendanceRate": "62%",
|
|
8
|
+
"classCompletionRate": "28%"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "2",
|
|
12
|
+
"year": "2016",
|
|
13
|
+
"newEnrollments": "88",
|
|
14
|
+
"scheduledMeetings": "12",
|
|
15
|
+
"attendanceRate": "71%",
|
|
16
|
+
"classCompletionRate": "55%"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "3",
|
|
20
|
+
"year": "2017",
|
|
21
|
+
"newEnrollments": "34",
|
|
22
|
+
"scheduledMeetings": "67",
|
|
23
|
+
"attendanceRate": "58%",
|
|
24
|
+
"classCompletionRate": "41%"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "4",
|
|
28
|
+
"year": "2018",
|
|
29
|
+
"newEnrollments": "05",
|
|
30
|
+
"scheduledMeetings": "91",
|
|
31
|
+
"attendanceRate": "44%",
|
|
32
|
+
"classCompletionRate": "73%"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "5",
|
|
36
|
+
"year": "2019",
|
|
37
|
+
"newEnrollments": "61",
|
|
38
|
+
"scheduledMeetings": "19",
|
|
39
|
+
"attendanceRate": "83%",
|
|
40
|
+
"classCompletionRate": "36%"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "6",
|
|
44
|
+
"year": "2020",
|
|
45
|
+
"newEnrollments": "19",
|
|
46
|
+
"scheduledMeetings": "54",
|
|
47
|
+
"attendanceRate": "67%",
|
|
48
|
+
"classCompletionRate": "62%"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "7",
|
|
52
|
+
"year": "2021",
|
|
53
|
+
"newEnrollments": "73",
|
|
54
|
+
"scheduledMeetings": "08",
|
|
55
|
+
"attendanceRate": "52%",
|
|
56
|
+
"classCompletionRate": "49%"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "8",
|
|
60
|
+
"year": "2022",
|
|
61
|
+
"newEnrollments": "50",
|
|
62
|
+
"scheduledMeetings": "50",
|
|
63
|
+
"attendanceRate": "75%",
|
|
64
|
+
"classCompletionRate": "45%"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "9",
|
|
68
|
+
"year": "2023",
|
|
69
|
+
"newEnrollments": "95",
|
|
70
|
+
"scheduledMeetings": "03",
|
|
71
|
+
"attendanceRate": "69%",
|
|
72
|
+
"classCompletionRate": "81%"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "10",
|
|
76
|
+
"year": "2024",
|
|
77
|
+
"newEnrollments": "27",
|
|
78
|
+
"scheduledMeetings": "76",
|
|
79
|
+
"attendanceRate": "91%",
|
|
80
|
+
"classCompletionRate": "22%"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "11",
|
|
84
|
+
"year": "2025",
|
|
85
|
+
"newEnrollments": "41",
|
|
86
|
+
"scheduledMeetings": "33",
|
|
87
|
+
"attendanceRate": "48%",
|
|
88
|
+
"classCompletionRate": "94%"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "12",
|
|
92
|
+
"year": "2026",
|
|
93
|
+
"newEnrollments": "66",
|
|
94
|
+
"scheduledMeetings": "66",
|
|
95
|
+
"attendanceRate": "55%",
|
|
96
|
+
"classCompletionRate": "58%"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
@@ -4,7 +4,7 @@ import Icon from "../../pb_icon/_icon"
|
|
|
4
4
|
import Title from "../../pb_title/_title"
|
|
5
5
|
import BreadCrumbItem from '../_bread_crumb_item'
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const Link = (props) => <BreadCrumbItem {...props} />
|
|
8
8
|
const BreadCrumbsDefault = (props) => {
|
|
9
9
|
return (
|
|
10
10
|
<BreadCrumbs
|
|
@@ -35,7 +35,7 @@ const BreadCrumbsDefault = (props) => {
|
|
|
35
35
|
size="1x"
|
|
36
36
|
{...props}
|
|
37
37
|
/>
|
|
38
|
-
<
|
|
38
|
+
<Link
|
|
39
39
|
{...props}
|
|
40
40
|
href="/users"
|
|
41
41
|
>
|
|
@@ -46,20 +46,20 @@ const BreadCrumbsDefault = (props) => {
|
|
|
46
46
|
text="Users"
|
|
47
47
|
{...props}
|
|
48
48
|
/>
|
|
49
|
-
</
|
|
49
|
+
</Link>
|
|
50
50
|
<Icon
|
|
51
51
|
icon="user"
|
|
52
52
|
size="1x"
|
|
53
53
|
{...props}
|
|
54
54
|
/>
|
|
55
|
-
<
|
|
55
|
+
<Link {...props}>
|
|
56
56
|
<Title
|
|
57
57
|
size="4"
|
|
58
58
|
tag="span"
|
|
59
59
|
text="User"
|
|
60
60
|
{...props}
|
|
61
61
|
/>
|
|
62
|
-
</
|
|
62
|
+
</Link>
|
|
63
63
|
</BreadCrumbs>
|
|
64
64
|
)
|
|
65
65
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"template": "<
|
|
2
|
+
"template": "<Date{{props}} />",
|
|
3
3
|
"propTargets": {},
|
|
4
4
|
"defaults": {
|
|
5
5
|
"alignment": "left",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"groups": [
|
|
13
13
|
{
|
|
14
|
-
"name": "
|
|
14
|
+
"name": "Content",
|
|
15
15
|
"props": [
|
|
16
16
|
"value",
|
|
17
17
|
"showDayOfWeek",
|
|
@@ -32,20 +32,21 @@
|
|
|
32
32
|
{
|
|
33
33
|
"name": "Default",
|
|
34
34
|
"props": {
|
|
35
|
-
"value": "2026-04-
|
|
35
|
+
"value": "2026-04-09T15:30:00.000Z"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
"name": "centered",
|
|
39
|
+
"name": "Large & centered",
|
|
40
40
|
"props": {
|
|
41
|
-
"value": "2026-04-
|
|
41
|
+
"value": "2026-04-09T15:30:00.000Z",
|
|
42
|
+
"size": "lg",
|
|
42
43
|
"alignment": "center"
|
|
43
44
|
}
|
|
44
45
|
},
|
|
45
46
|
{
|
|
46
47
|
"name": "Small with weekday",
|
|
47
48
|
"props": {
|
|
48
|
-
"value": "2026-06-
|
|
49
|
+
"value": "2026-06-18T10:00:00.000Z",
|
|
49
50
|
"size": "sm",
|
|
50
51
|
"showDayOfWeek": true
|
|
51
52
|
}
|
|
@@ -53,17 +54,20 @@
|
|
|
53
54
|
{
|
|
54
55
|
"name": "With icon & year",
|
|
55
56
|
"props": {
|
|
56
|
-
"value": "2024-11-
|
|
57
|
+
"value": "2024-11-02T09:00:00.000Z",
|
|
57
58
|
"showIcon": true,
|
|
58
59
|
"showCurrentYear": true
|
|
59
60
|
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "Unstyled",
|
|
64
|
+
"props": {
|
|
65
|
+
"value": "2026-04-09T15:30:00.000Z",
|
|
66
|
+
"unstyled": true,
|
|
67
|
+
"showDayOfWeek": true
|
|
68
|
+
}
|
|
60
69
|
}
|
|
61
70
|
],
|
|
62
71
|
"conditionals": {},
|
|
63
|
-
"hints": {
|
|
64
|
-
"default": {
|
|
65
|
-
"message": "Use as FormattedDate to avoid naming collisions with global Date object",
|
|
66
|
-
"type": "info"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
72
|
+
"hints": {}
|
|
69
73
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"template": "<FormattedDate{{props}} />",
|
|
3
2
|
"groups": [
|
|
4
3
|
{
|
|
5
|
-
"name": "
|
|
4
|
+
"name": "Content",
|
|
6
5
|
"props": ["value", "showDayOfWeek", "showCurrentYear", "showIcon"]
|
|
7
6
|
},
|
|
8
7
|
{
|
|
@@ -14,20 +13,21 @@
|
|
|
14
13
|
{
|
|
15
14
|
"name": "Default",
|
|
16
15
|
"props": {
|
|
17
|
-
"value": "2026-04-
|
|
16
|
+
"value": "2026-04-09T15:30:00.000Z"
|
|
18
17
|
}
|
|
19
18
|
},
|
|
20
19
|
{
|
|
21
|
-
"name": "centered",
|
|
20
|
+
"name": "Large & centered",
|
|
22
21
|
"props": {
|
|
23
|
-
"value": "2026-04-
|
|
22
|
+
"value": "2026-04-09T15:30:00.000Z",
|
|
23
|
+
"size": "lg",
|
|
24
24
|
"alignment": "center"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "Small with weekday",
|
|
29
29
|
"props": {
|
|
30
|
-
"value": "2026-06-
|
|
30
|
+
"value": "2026-06-18T10:00:00.000Z",
|
|
31
31
|
"size": "sm",
|
|
32
32
|
"showDayOfWeek": true
|
|
33
33
|
}
|
|
@@ -35,17 +35,20 @@
|
|
|
35
35
|
{
|
|
36
36
|
"name": "With icon & year",
|
|
37
37
|
"props": {
|
|
38
|
-
"value": "2024-11-
|
|
38
|
+
"value": "2024-11-02T09:00:00.000Z",
|
|
39
39
|
"showIcon": true,
|
|
40
40
|
"showCurrentYear": true
|
|
41
41
|
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "Unstyled",
|
|
45
|
+
"props": {
|
|
46
|
+
"value": "2026-04-09T15:30:00.000Z",
|
|
47
|
+
"unstyled": true,
|
|
48
|
+
"showDayOfWeek": true
|
|
49
|
+
}
|
|
42
50
|
}
|
|
43
51
|
],
|
|
44
52
|
"conditionals": {},
|
|
45
|
-
"hints": {
|
|
46
|
-
"default": {
|
|
47
|
-
"message": "Use as FormattedDate to avoid naming collisions with global Date object",
|
|
48
|
-
"type": "info"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
53
|
+
"hints": {}
|
|
51
54
|
}
|