playbook_ui_docs 16.6.0.pre.alpha.emptystatepresets15848 → 16.6.0.pre.alpha.play294216115
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 +15 -1
- 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/advanced_table_mock_data_inline_loading_empty_children.json +41 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +5 -5
- data/app/pb_kits/playbook/pb_empty_state/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_empty_state/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_external_control.jsx +22 -1
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +22 -2
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.html.erb +5 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.jsx +14 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.md +3 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_templates.jsx +76 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_error.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_inline.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_inline_compact.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_inline_show_arrow.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_multiple.html.erb +3 -3
- data/app/pb_kits/playbook/pb_select/docs/_select_multiple.jsx +5 -5
- data/app/pb_kits/playbook/pb_select/docs/_select_react_hook.jsx +5 -5
- data/app/pb_kits/playbook/pb_select/docs/_select_required_indicator.jsx +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx +2 -2
- metadata +6 -11
- data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js +0 -200
- data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading_empty_children.js +0 -42
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_grouped_headers_composition_mock_data.json +0 -98
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_presets.html.erb +0 -14
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_presets.jsx +0 -27
- data/app/pb_kits/playbook/pb_empty_state/docs/default_image/this_is_fine.svg +0 -21
- data/app/pb_kits/playbook/pb_empty_state/docs/default_image/travolta_lost.gif +0 -0
- data/app/pb_kits/playbook/pb_pagination/docs/data.js +0 -23
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js +0 -75
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a5d9f950e919f47c147d1f95c0b170197c9d514b8f61198166d50de453ede99
|
|
4
|
+
data.tar.gz: 8e5dec3ba99e8b9630f95761bf367739d95698600dfe6e62d5e40da6e2e13b80
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28f3ded5dbd94bdb3389b95451bf7af8a8969495d3a256d2da628bf183dfa9f8fbfe03c6dd8f269fc02c6934d287f46403bbb70a77018271980be6f76c4cf3f8
|
|
7
|
+
data.tar.gz: 05df6897bf70d1ba70ed9761e23e42c8b1be884ca35d80472f4cfaeec336a47c4ed87429cf7ebba19d847e7e624383e3c782c83d2443fc0ba787512f20eecf64
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_grouped_headers_composition.jsx
CHANGED
|
@@ -9,7 +9,21 @@ 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
|
-
|
|
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
|
+
]
|
|
13
27
|
|
|
14
28
|
const LEAF_COUNT = "newEnrollments"
|
|
15
29
|
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 INFINITE_SCROLL_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={INFINITE_SCROLL_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
|
|
5
|
-
import
|
|
4
|
+
import MOCK_DATA_INLINE_LOADING from "./advanced_table_mock_data_inline_loading.json"
|
|
5
|
+
import MOCK_DATA_INLINE_LOADING_EMPTY_CHILDREN from "./advanced_table_mock_data_inline_loading_empty_children.json"
|
|
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_WITH_ID 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_WITH_ID}
|
|
47
47
|
tableProps={{sticky: true}}
|
|
48
48
|
{...props}
|
|
49
49
|
>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[
|
|
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
|
+
]
|
|
@@ -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 LinkSection = (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
|
+
<LinkSection
|
|
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
|
+
</LinkSection>
|
|
50
50
|
<Icon
|
|
51
51
|
icon="user"
|
|
52
52
|
size="1x"
|
|
53
53
|
{...props}
|
|
54
54
|
/>
|
|
55
|
-
<
|
|
55
|
+
<LinkSection {...props}>
|
|
56
56
|
<Title
|
|
57
57
|
size="4"
|
|
58
58
|
tag="span"
|
|
59
59
|
text="User"
|
|
60
60
|
{...props}
|
|
61
61
|
/>
|
|
62
|
-
</
|
|
62
|
+
</LinkSection>
|
|
63
63
|
</BreadCrumbs>
|
|
64
64
|
)
|
|
65
65
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
examples:
|
|
2
2
|
rails:
|
|
3
3
|
- empty_state_default: Default
|
|
4
|
-
- empty_state_presets: Illustration presets
|
|
5
4
|
- empty_state_size: Size
|
|
6
5
|
- empty_state_orientation: Orientation
|
|
7
6
|
- empty_state_alignment: Alignment
|
|
8
7
|
|
|
9
8
|
react:
|
|
10
9
|
- empty_state_default: Default
|
|
11
|
-
- empty_state_presets: Illustration presets
|
|
12
10
|
- empty_state_size: Size
|
|
13
11
|
- empty_state_orientation: Orientation
|
|
14
12
|
- empty_state_alignment: Alignment
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { default as EmptyStateDefault } from './_empty_state_default.jsx'
|
|
2
|
-
export { default as EmptyStatePresets } from './_empty_state_presets.jsx'
|
|
3
2
|
export { default as EmptyStateOrientation } from './_empty_state_orientation.jsx'
|
|
4
3
|
export { default as EmptyStateSize } from './_empty_state_size.jsx'
|
|
5
4
|
export { default as EmptyStateAlignment } from './_empty_state_alignment.jsx'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<%= pb_rails("pagination", props: { model: @
|
|
1
|
+
<%= pb_rails("pagination", props: { model: @extra_users, view: self }) %>
|
|
2
2
|
|
|
@@ -4,7 +4,28 @@ import Pagination from '../../pb_pagination/_pagination'
|
|
|
4
4
|
import Select from '../../pb_select/_select'
|
|
5
5
|
import Table from '../../pb_table/_table'
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
const data = [
|
|
8
|
+
["Value 1", "Value 2", "Value 3", "Value 4", "Value 5"],
|
|
9
|
+
["Value 6", "Value 7", "Value 8", "Value 9", "Value 10"],
|
|
10
|
+
["Value 11", "Value 12", "Value 13", "Value 14", "Value 15"],
|
|
11
|
+
["Value 16", "Value 17", "Value 18", "Value 19", "Value 20"],
|
|
12
|
+
["Value 21", "Value 22", "Value 23", "Value 24", "Value 25"],
|
|
13
|
+
["Value 26", "Value 27", "Value 28", "Value 29", "Value 30"],
|
|
14
|
+
["Value 31", "Value 32", "Value 33", "Value 34", "Value 35"],
|
|
15
|
+
["Value 36", "Value 37", "Value 38", "Value 39", "Value 40"],
|
|
16
|
+
["Value 41", "Value 42", "Value 43", "Value 44", "Value 45"],
|
|
17
|
+
["Value 46", "Value 47", "Value 48", "Value 49", "Value 50"],
|
|
18
|
+
["Value 51", "Value 52", "Value 53", "Value 54", "Value 55"],
|
|
19
|
+
["Value 56", "Value 57", "Value 58", "Value 59", "Value 60"],
|
|
20
|
+
["Value 61", "Value 62", "Value 63", "Value 64", "Value 65"],
|
|
21
|
+
["Value 66", "Value 67", "Value 68", "Value 69", "Value 70"],
|
|
22
|
+
["Value 71", "Value 72", "Value 73", "Value 74", "Value 75"],
|
|
23
|
+
["Value 76", "Value 77", "Value 78", "Value 79", "Value 80"],
|
|
24
|
+
["Value 81", "Value 82", "Value 83", "Value 84", "Value 85"],
|
|
25
|
+
["Value 86", "Value 87", "Value 88", "Value 89", "Value 90"],
|
|
26
|
+
["Value 91", "Value 92", "Value 93", "Value 94", "Value 95"],
|
|
27
|
+
["Value 96", "Value 97", "Value 98", "Value 99", "Value 100"],
|
|
28
|
+
];
|
|
8
29
|
|
|
9
30
|
const PaginationExternalControl = (props) => {
|
|
10
31
|
const [totalItems, setTotalItems] = useState(20);
|
|
@@ -2,8 +2,28 @@ import React, { useState } from "react";
|
|
|
2
2
|
import Table from '../../pb_table/_table'
|
|
3
3
|
import Pagination from '../../pb_pagination/_pagination'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
const data = [
|
|
6
|
+
["Value 1", "Value 2", "Value 3", "Value 4", "Value 5"],
|
|
7
|
+
["Value 6", "Value 7", "Value 8", "Value 9", "Value 10"],
|
|
8
|
+
["Value 11", "Value 12", "Value 13", "Value 14", "Value 15"],
|
|
9
|
+
["Value 16", "Value 17", "Value 18", "Value 19", "Value 20"],
|
|
10
|
+
["Value 21", "Value 22", "Value 23", "Value 24", "Value 25"],
|
|
11
|
+
["Value 26", "Value 27", "Value 28", "Value 29", "Value 30"],
|
|
12
|
+
["Value 31", "Value 32", "Value 33", "Value 34", "Value 35"],
|
|
13
|
+
["Value 36", "Value 37", "Value 38", "Value 39", "Value 40"],
|
|
14
|
+
["Value 41", "Value 42", "Value 43", "Value 44", "Value 45"],
|
|
15
|
+
["Value 46", "Value 47", "Value 48", "Value 49", "Value 50"],
|
|
16
|
+
["Value 51", "Value 52", "Value 53", "Value 54", "Value 55"],
|
|
17
|
+
["Value 56", "Value 57", "Value 58", "Value 59", "Value 60"],
|
|
18
|
+
["Value 61", "Value 62", "Value 63", "Value 64", "Value 65"],
|
|
19
|
+
["Value 66", "Value 67", "Value 68", "Value 69", "Value 70"],
|
|
20
|
+
["Value 71", "Value 72", "Value 73", "Value 74", "Value 75"],
|
|
21
|
+
["Value 76", "Value 77", "Value 78", "Value 79", "Value 80"],
|
|
22
|
+
["Value 81", "Value 82", "Value 83", "Value 84", "Value 85"],
|
|
23
|
+
["Value 86", "Value 87", "Value 88", "Value 89", "Value 90"],
|
|
24
|
+
["Value 91", "Value 92", "Value 93", "Value 94", "Value 95"],
|
|
25
|
+
["Value 96", "Value 97", "Value 98", "Value 99", "Value 100"],
|
|
26
|
+
];
|
|
7
27
|
|
|
8
28
|
const PaginationPageChange = (props) => {
|
|
9
29
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import PhoneNumberInput from '../../pb_phone_number_input/_phone_number_input'
|
|
3
|
+
|
|
4
|
+
const PhoneNumberInputShowPlaceholder = (props) => (
|
|
5
|
+
<>
|
|
6
|
+
<PhoneNumberInput
|
|
7
|
+
id='phone_number_input_show_placeholder'
|
|
8
|
+
label='Phone Number'
|
|
9
|
+
showPlaceholder
|
|
10
|
+
{...props} />
|
|
11
|
+
</>
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
export default PhoneNumberInputShowPlaceholder
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
The `showPlaceholder`/`show_placeholder` prop enables the country-specific example placeholder in the phone input.
|
|
2
|
+
|
|
3
|
+
By default, the Phone Number Input does not show a placeholder. When enabled, the placeholder appears while the field is empty and unfocused, hides on focus, and returns on blur if no value is entered.
|
|
@@ -2,6 +2,7 @@ examples:
|
|
|
2
2
|
|
|
3
3
|
react:
|
|
4
4
|
- phone_number_input_default: Default
|
|
5
|
+
- phone_number_input_show_placeholder: Show Placeholder
|
|
5
6
|
- phone_number_input_preferred_countries: Preferred Countries
|
|
6
7
|
- phone_number_input_initial_country: Initial Country
|
|
7
8
|
- phone_number_input_only_countries: Only Countries
|
|
@@ -16,6 +17,7 @@ examples:
|
|
|
16
17
|
|
|
17
18
|
rails:
|
|
18
19
|
- phone_number_input_default: Default
|
|
20
|
+
- phone_number_input_show_placeholder: Show Placeholder
|
|
19
21
|
- phone_number_input_preferred_countries: Preferred Countries
|
|
20
22
|
- phone_number_input_initial_country: Initial Country
|
|
21
23
|
- phone_number_input_only_countries: Only Countries
|
|
@@ -10,3 +10,4 @@ export { default as PhoneNumberInputFormat } from './_phone_number_input_format'
|
|
|
10
10
|
export { default as PhoneNumberInputStrictMode } from './_phone_number_input_strict_mode'
|
|
11
11
|
export { default as PhoneNumberInputCountrySearch } from './_phone_number_input_country_search'
|
|
12
12
|
export { default as PhoneNumberInputRequiredIndicator } from './_phone_number_input_required_indicator.jsx'
|
|
13
|
+
export { default as PhoneNumberInputShowPlaceholder } from './_phone_number_input_show_placeholder'
|
|
@@ -5,7 +5,82 @@ import StarterKit from "@tiptap/starter-kit"
|
|
|
5
5
|
import Link from '@tiptap/extension-link'
|
|
6
6
|
|
|
7
7
|
import Select from '../../pb_select/_select'
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
const release = `
|
|
10
|
+
<div>
|
|
11
|
+
<div>
|
|
12
|
+
<strong>Story Background</strong>
|
|
13
|
+
</div>
|
|
14
|
+
<div>
|
|
15
|
+
Follow the{" "}
|
|
16
|
+
<a href='https://github.com/powerhome/playbook/wiki/Release-Team-Guide'>
|
|
17
|
+
release process
|
|
18
|
+
</a>{" "}
|
|
19
|
+
to create a new version, create a gem, and package. Create a Ninja testing
|
|
20
|
+
plan, then update Nitro with the new version.
|
|
21
|
+
</div>
|
|
22
|
+
<div>
|
|
23
|
+
<br />
|
|
24
|
+
</div>
|
|
25
|
+
<div>
|
|
26
|
+
<strong>Timeline / Due Date</strong>
|
|
27
|
+
</div>
|
|
28
|
+
<div>
|
|
29
|
+
<em>Release End of business Thursday</em>
|
|
30
|
+
</div>
|
|
31
|
+
<div>
|
|
32
|
+
<em>Testing on Nitro End of business Friday</em>
|
|
33
|
+
</div>
|
|
34
|
+
<div>
|
|
35
|
+
<br />
|
|
36
|
+
</div>
|
|
37
|
+
<div>
|
|
38
|
+
<strong>Definition of done</strong>
|
|
39
|
+
</div>
|
|
40
|
+
<ol>
|
|
41
|
+
<li>Merge all PR’s</li>
|
|
42
|
+
<li>Update the final CHANGELOG</li>
|
|
43
|
+
<li>Version up and generate NPM, and RubyGem</li>
|
|
44
|
+
<li>Create next version branch and milestone</li>
|
|
45
|
+
<li>Update default branch and branch protection rules </li>
|
|
46
|
+
<li>Notify Everyone of new version</li>
|
|
47
|
+
<li>
|
|
48
|
+
Generate testing plan and pages to test for Ninjas (update runway
|
|
49
|
+
ticket)
|
|
50
|
+
</li>
|
|
51
|
+
<li>Update version on Nitro and get on Demo</li>
|
|
52
|
+
<li>Send Ninjas demo and runway ticket for testing</li>
|
|
53
|
+
<li>Ninja Approved + PR Approved</li>
|
|
54
|
+
</ol>
|
|
55
|
+
<div>
|
|
56
|
+
<br />
|
|
57
|
+
</div>
|
|
58
|
+
<div>
|
|
59
|
+
<strong>Stakeholders / Sign-off</strong>
|
|
60
|
+
</div>
|
|
61
|
+
<ul>
|
|
62
|
+
<li>Code Owners</li>
|
|
63
|
+
</ul>
|
|
64
|
+
<div>
|
|
65
|
+
<br />
|
|
66
|
+
<strong>Cadence</strong>
|
|
67
|
+
<br />
|
|
68
|
+
Jason, Jon, Stephen, Jasper, Brendan, Cole
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
`
|
|
72
|
+
|
|
73
|
+
const changelog = `
|
|
74
|
+
<div>
|
|
75
|
+
<strong>Changelog:<br></strong>
|
|
76
|
+
[INSERT LINK]<br><br>
|
|
77
|
+
You can test the normal spots of Playbook rails and react on
|
|
78
|
+
dev docs plus the following:
|
|
79
|
+
</div>
|
|
80
|
+
<div>
|
|
81
|
+
<br>
|
|
82
|
+
</div>
|
|
83
|
+
`
|
|
9
84
|
|
|
10
85
|
const RichTextEditorAdvancedTemplates = (props) => {
|
|
11
86
|
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
value_text: "BBQ",
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
value: "
|
|
25
|
+
value: "5",
|
|
26
26
|
value_text: "Sushi",
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
value: "
|
|
29
|
+
value: "6",
|
|
30
30
|
value_text: "Chinese",
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
value: "
|
|
33
|
+
value: "7",
|
|
34
34
|
value_text: "Hot Dogs",
|
|
35
35
|
},
|
|
36
36
|
]
|
|
@@ -17,19 +17,19 @@ const SelectMultiple = (props) => {
|
|
|
17
17
|
text: 'Tacos',
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
value: '
|
|
20
|
+
value: '4',
|
|
21
21
|
text: 'BBQ',
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
value: '
|
|
24
|
+
value: '5',
|
|
25
25
|
text: 'Sushi',
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
value: '
|
|
28
|
+
value: '6',
|
|
29
29
|
text: 'Chinese',
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
value: '
|
|
32
|
+
value: '7',
|
|
33
33
|
text: 'Hot Dogs',
|
|
34
34
|
},
|
|
35
35
|
]
|
|
@@ -39,7 +39,7 @@ const SelectMultiple = (props) => {
|
|
|
39
39
|
<Select
|
|
40
40
|
label="Favorite Food"
|
|
41
41
|
multiple
|
|
42
|
-
name="food"
|
|
42
|
+
name="food-multiple"
|
|
43
43
|
options={options}
|
|
44
44
|
{...props}
|
|
45
45
|
/>
|
|
@@ -7,12 +7,12 @@ import Button from "../../pb_button/_button"
|
|
|
7
7
|
const SelectReactHook = (props) => {
|
|
8
8
|
const { register, handleSubmit, formState: { errors } } = useForm({
|
|
9
9
|
defaultValues: {
|
|
10
|
-
food: '',
|
|
10
|
+
"food-react-hook": '',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
13
|
|
|
14
14
|
const [submittedData, setSubmittedData] = useState({
|
|
15
|
-
food: '',
|
|
15
|
+
"food-react-hook": '',
|
|
16
16
|
})
|
|
17
17
|
|
|
18
18
|
const onSubmit = (data) => {
|
|
@@ -39,8 +39,8 @@ const SelectReactHook = (props) => {
|
|
|
39
39
|
<form onSubmit={handleSubmit(onSubmit)}>
|
|
40
40
|
<Select
|
|
41
41
|
{...props}
|
|
42
|
-
{...register("food", { required: true })}
|
|
43
|
-
error={errors
|
|
42
|
+
{...register("food-react-hook", { required: true })}
|
|
43
|
+
error={errors["food-react-hook"] ? "Please select a food." : null}
|
|
44
44
|
label="Favorite Food"
|
|
45
45
|
options={options}
|
|
46
46
|
/>
|
|
@@ -51,7 +51,7 @@ const SelectReactHook = (props) => {
|
|
|
51
51
|
/>
|
|
52
52
|
</form>
|
|
53
53
|
<Body padding="xs"
|
|
54
|
-
text={`Food: ${submittedData
|
|
54
|
+
text={`Food: ${submittedData["food-react-hook"]}`}
|
|
55
55
|
/>
|
|
56
56
|
</>
|
|
57
57
|
)
|
|
@@ -17,7 +17,7 @@ const languages = [
|
|
|
17
17
|
{ label: 'PHP', value: '1995', category: 'Web Development' },
|
|
18
18
|
]
|
|
19
19
|
|
|
20
|
-
const
|
|
20
|
+
const colorOptions = [
|
|
21
21
|
{ label: 'Orange', value: '#FFA500' },
|
|
22
22
|
{ label: 'Red', value: '#FF0000' },
|
|
23
23
|
{ label: 'Green', value: '#00FF00' },
|
|
@@ -51,7 +51,7 @@ const TypeaheadReactHook = (props) => {
|
|
|
51
51
|
<Typeahead
|
|
52
52
|
label="Colors"
|
|
53
53
|
marginTop="lg"
|
|
54
|
-
options={
|
|
54
|
+
options={colorOptions}
|
|
55
55
|
{...props}
|
|
56
56
|
{...register('color')}
|
|
57
57
|
/>
|
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.6.0.pre.alpha.
|
|
4
|
+
version: 16.6.0.pre.alpha.play294216115
|
|
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-04-
|
|
12
|
+
date: 2026-04-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: playbook_ui
|
|
@@ -193,8 +193,6 @@ files:
|
|
|
193
193
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header_rails.md
|
|
194
194
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
|
|
195
195
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
|
|
196
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
|
|
197
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading_empty_children.js
|
|
198
196
|
- app/pb_kits/playbook/pb_advanced_table/docs/_playground.json
|
|
199
197
|
- app/pb_kits/playbook/pb_advanced_table/docs/_playground.overrides.json
|
|
200
198
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_grouped_simple.json
|
|
@@ -203,10 +201,10 @@ files:
|
|
|
203
201
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_standard_sort.json
|
|
204
202
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_styling.json
|
|
205
203
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_with_ids.json
|
|
206
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_grouped_headers_composition_mock_data.json
|
|
207
204
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data.json
|
|
208
205
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_infinite_scroll.json
|
|
209
206
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_inline_loading.json
|
|
207
|
+
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_inline_loading_empty_children.json
|
|
210
208
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_no_subrows.json
|
|
211
209
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_with_id.json
|
|
212
210
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_pagination_mock_data.json
|
|
@@ -1054,14 +1052,10 @@ files:
|
|
|
1054
1052
|
- app/pb_kits/playbook/pb_empty_state/docs/_empty_state_default.jsx
|
|
1055
1053
|
- app/pb_kits/playbook/pb_empty_state/docs/_empty_state_orientation.html.erb
|
|
1056
1054
|
- app/pb_kits/playbook/pb_empty_state/docs/_empty_state_orientation.jsx
|
|
1057
|
-
- app/pb_kits/playbook/pb_empty_state/docs/_empty_state_presets.html.erb
|
|
1058
|
-
- app/pb_kits/playbook/pb_empty_state/docs/_empty_state_presets.jsx
|
|
1059
1055
|
- app/pb_kits/playbook/pb_empty_state/docs/_empty_state_size.html.erb
|
|
1060
1056
|
- app/pb_kits/playbook/pb_empty_state/docs/_empty_state_size.jsx
|
|
1061
1057
|
- app/pb_kits/playbook/pb_empty_state/docs/_playground.json
|
|
1062
1058
|
- app/pb_kits/playbook/pb_empty_state/docs/default_image/computer_fly_no_branding.svg
|
|
1063
|
-
- app/pb_kits/playbook/pb_empty_state/docs/default_image/this_is_fine.svg
|
|
1064
|
-
- app/pb_kits/playbook/pb_empty_state/docs/default_image/travolta_lost.gif
|
|
1065
1059
|
- app/pb_kits/playbook/pb_empty_state/docs/default_image/utils.tsx
|
|
1066
1060
|
- app/pb_kits/playbook/pb_empty_state/docs/example.yml
|
|
1067
1061
|
- app/pb_kits/playbook/pb_empty_state/docs/index.js
|
|
@@ -1776,7 +1770,6 @@ files:
|
|
|
1776
1770
|
- app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change_react.md
|
|
1777
1771
|
- app/pb_kits/playbook/pb_pagination/docs/_playground.json
|
|
1778
1772
|
- app/pb_kits/playbook/pb_pagination/docs/_playground.overrides.json
|
|
1779
|
-
- app/pb_kits/playbook/pb_pagination/docs/data.js
|
|
1780
1773
|
- app/pb_kits/playbook/pb_pagination/docs/example.yml
|
|
1781
1774
|
- app/pb_kits/playbook/pb_pagination/docs/index.js
|
|
1782
1775
|
- app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.html.erb
|
|
@@ -1973,6 +1966,9 @@ files:
|
|
|
1973
1966
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_required_indicator.html.erb
|
|
1974
1967
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_required_indicator.jsx
|
|
1975
1968
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_required_indicator.md
|
|
1969
|
+
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.html.erb
|
|
1970
|
+
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.jsx
|
|
1971
|
+
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.md
|
|
1976
1972
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.html.erb
|
|
1977
1973
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.jsx
|
|
1978
1974
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.md
|
|
@@ -2143,7 +2139,6 @@ files:
|
|
|
2143
2139
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.md
|
|
2144
2140
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml
|
|
2145
2141
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/index.js
|
|
2146
|
-
- app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js
|
|
2147
2142
|
- app/pb_kits/playbook/pb_section_separator/docs/_description.md
|
|
2148
2143
|
- app/pb_kits/playbook/pb_section_separator/docs/_footer.md
|
|
2149
2144
|
- app/pb_kits/playbook/pb_section_separator/docs/_playground.json
|
|
@@ -1,200 +0,0 @@
|
|
|
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
|
-
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading_empty_children.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,98 +0,0 @@
|
|
|
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
|
-
]
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<%= pb_rails("flex", props: { align: "start", justify: "start", orientation: "column", gap: "xl" }) do %>
|
|
2
|
-
<%= pb_rails("empty_state", props: {
|
|
3
|
-
description: "This error was unexpected. Please try again in a moment.",
|
|
4
|
-
header: "Something went wrong",
|
|
5
|
-
image: "this_is_fine",
|
|
6
|
-
primary_button: "Back to home",
|
|
7
|
-
}) %>
|
|
8
|
-
<%= pb_rails("empty_state", props: {
|
|
9
|
-
description: "We could not load this resource. Check the URL or try again later.",
|
|
10
|
-
header: "We are not sure what happened",
|
|
11
|
-
image: "travolta_lost",
|
|
12
|
-
link_button: "Contact support",
|
|
13
|
-
}) %>
|
|
14
|
-
<% end %>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import EmptyState from '../_empty_state'
|
|
3
|
-
import Flex from '../../pb_flex/_flex'
|
|
4
|
-
|
|
5
|
-
const EmptyStatePresets = (props) => (
|
|
6
|
-
<Flex align="start"
|
|
7
|
-
gap="xl"
|
|
8
|
-
orientation="column"
|
|
9
|
-
>
|
|
10
|
-
<EmptyState
|
|
11
|
-
{...props}
|
|
12
|
-
description="This error was unexpected. Please try again in a moment."
|
|
13
|
-
header="Something went wrong"
|
|
14
|
-
image="this_is_fine"
|
|
15
|
-
primaryButton="Back to home"
|
|
16
|
-
/>
|
|
17
|
-
<EmptyState
|
|
18
|
-
{...props}
|
|
19
|
-
description="We could not load this resource. Check the URL or try again later."
|
|
20
|
-
header="We are not sure what happened"
|
|
21
|
-
image="travolta_lost"
|
|
22
|
-
linkButton="Contact support"
|
|
23
|
-
/>
|
|
24
|
-
</Flex>
|
|
25
|
-
)
|
|
26
|
-
|
|
27
|
-
export default EmptyStatePresets
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48" id="This-Is-Fine--Streamline-Memes" height="48" width="48">
|
|
2
|
-
<desc>
|
|
3
|
-
This Is Fine Streamline Element: https://streamlinehq.com
|
|
4
|
-
</desc>
|
|
5
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M26.114 37.139c1.314 -0.422 1.896 -0.882 2.638 -2.15" stroke-width="1"></path>
|
|
6
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M11.726 44.394c0 -2.35 0.052 -5.692 0.305 -9.019m11.61 -16.063c1.866 0.475 3.82 1.753 4.843 4.157" stroke-width="1"></path>
|
|
7
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M26.578 32.669c2.365 -1.31 6.05 -2.796 8.844 -2.614m-5.034 13.948c-0.078 -1.642 -0.558 -5.164 -0.789 -6.72 4.062 1.425 9.68 1.069 9.68 -2.758 0 -0.116 0.005 -0.337 0 -0.449" stroke-width="1"></path>
|
|
8
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M27.653 36.382c0.576 0.348 1.237 0.651 1.946 0.9" stroke-width="1"></path>
|
|
9
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M34.17 32.74a3.224 2.638 -11.758 1 0 6.312 -1.314 3.224 2.638 -11.758 1 0 -6.312 1.314" stroke-width="1"></path>
|
|
10
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M23.04 15.784a2.442 2.442 0 0 1 0.7 3.383c-1.22 1.856 -2.515 3.357 -4.302 4.265 -1.793 0.91 -3.746 1.053 -5.9 0.932a2.442 2.442 0 0 1 -2.303 -2.575c0.076 -1.347 1.223 -1.64 2.57 -1.565 1.836 0.103 3.096 0.07 3.75 -0.261 0.66 -0.335 1.83 -1.544 2.879 -3.14 0.74 -1.128 1.479 -1.78 2.606 -1.039Z" clip-rule="evenodd" stroke-width="1"></path>
|
|
11
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="m13.938 20.219 -0.234 -3.244a2.712 2.712 0 0 1 1.276 -2.5v0a2.712 2.712 0 0 1 3.212 0.263l2.275 1.986" stroke-width="1"></path>
|
|
12
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M20.388 16.662c-1.114 -0.27 -2.606 -0.078 -4.06 0.617 -1.035 0.494 -1.883 1.163 -2.463 1.881l0.07 0.977c2.046 0.297 3.364 0.077 4.565 -0.914 0.591 -0.575 1.285 -1.414 1.934 -2.4l0.05 -0.076 -0.096 -0.085Z" stroke-width="1"></path>
|
|
13
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M16.563 30.91a3.615 4.69 0 1 0 7.23 0 3.615 4.69 0 1 0 -7.23 0" stroke-width="1"></path>
|
|
14
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M25.161 27.393a3.615 3.908 0 1 0 7.23 0 3.615 3.908 0 1 0 -7.23 0" stroke-width="1"></path>
|
|
15
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M12.744 24.327c-0.696 1.224 -1.644 2.243 -2.558 3.225 -1.676 1.802 -3.237 3.478 -2.908 6.065 0.456 3.596 4.147 3.122 5.753 0.66 1.838 -2.817 2.145 -7.709 0.577 -9.891a27.982 27.982 0 0 1 -0.57 -0.027 2.769 2.769 0 0 1 -0.294 -0.032Z" stroke-width="1"></path>
|
|
16
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M15.732 40.583s-0.488 2.834 0 4.006" stroke-width="1"></path>
|
|
17
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M17.98 40.779c-0.257 1.792 -0.088 2.584 0.488 3.81" stroke-width="1"></path>
|
|
18
|
-
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M3.54 44.274C2.694 43.428 1 39.054 1 35.46c1.407 1.407 2.931 1.563 3.517 1.466 -0.977 -1.433 -2.93 -5.16 -2.93 -8.599 1.563 1.563 3.32 1.953 4.004 1.953C4.29 28 2.172 22.405 4.127 18.262c0 0 1.27 2.639 3.029 3.616C6.765 20.118 14.19 7.71 9.89 3.41c8.109 0 19.835 3.615 21.692 13.874 1.042 -0.488 3.185 -2.052 3.42 -4.397 2.188 3.518 1.888 8.696 1.465 10.846 1.798 -1.173 3.094 -3.55 3.517 -4.592 2.614 3.02 3.953 6.401 2.741 11.567 2.033 -1.172 3.655 -3.91 4.274 -4.528 0.032 3.387 -2.56 14.81 -5.842 18.093" stroke-width="1"></path>
|
|
19
|
-
<path fill="#000000" fill-rule="evenodd" d="M29.376 26.341a1.432 1.432 0 1 0 0 2.864 1.432 1.432 0 0 0 0 -2.864Z" clip-rule="evenodd" stroke-width="1"></path>
|
|
20
|
-
<path fill="#000000" fill-rule="evenodd" d="M20.598 29.478a1.432 1.432 0 1 0 0 2.864 1.432 1.432 0 0 0 0 -2.864Z" clip-rule="evenodd" stroke-width="1"></path>
|
|
21
|
-
</svg>
|
|
Binary file
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export const data = [
|
|
2
|
-
["Value 1", "Value 2", "Value 3", "Value 4", "Value 5"],
|
|
3
|
-
["Value 6", "Value 7", "Value 8", "Value 9", "Value 10"],
|
|
4
|
-
["Value 11", "Value 12", "Value 13", "Value 14", "Value 15"],
|
|
5
|
-
["Value 16", "Value 17", "Value 18", "Value 19", "Value 20"],
|
|
6
|
-
["Value 21", "Value 22", "Value 23", "Value 24", "Value 25"],
|
|
7
|
-
["Value 26", "Value 27", "Value 28", "Value 29", "Value 30"],
|
|
8
|
-
["Value 31", "Value 32", "Value 33", "Value 34", "Value 35"],
|
|
9
|
-
["Value 36", "Value 37", "Value 38", "Value 39", "Value 40"],
|
|
10
|
-
["Value 41", "Value 42", "Value 43", "Value 44", "Value 45"],
|
|
11
|
-
["Value 46", "Value 47", "Value 48", "Value 49", "Value 50"],
|
|
12
|
-
["Value 51", "Value 52", "Value 53", "Value 54", "Value 55"],
|
|
13
|
-
["Value 56", "Value 57", "Value 58", "Value 59", "Value 60"],
|
|
14
|
-
["Value 61", "Value 62", "Value 63", "Value 64", "Value 65"],
|
|
15
|
-
["Value 66", "Value 67", "Value 68", "Value 69", "Value 70"],
|
|
16
|
-
["Value 71", "Value 72", "Value 73", "Value 74", "Value 75"],
|
|
17
|
-
["Value 76", "Value 77", "Value 78", "Value 79", "Value 80"],
|
|
18
|
-
["Value 81", "Value 82", "Value 83", "Value 84", "Value 85"],
|
|
19
|
-
["Value 86", "Value 87", "Value 88", "Value 89", "Value 90"],
|
|
20
|
-
["Value 91", "Value 92", "Value 93", "Value 94", "Value 95"],
|
|
21
|
-
["Value 96", "Value 97", "Value 98", "Value 99", "Value 100"],
|
|
22
|
-
];
|
|
23
|
-
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
export const release = `
|
|
2
|
-
<div>
|
|
3
|
-
<div>
|
|
4
|
-
<strong>Story Background</strong>
|
|
5
|
-
</div>
|
|
6
|
-
<div>
|
|
7
|
-
Follow the{" "}
|
|
8
|
-
<a href='https://github.com/powerhome/playbook/wiki/Release-Team-Guide'>
|
|
9
|
-
release process
|
|
10
|
-
</a>{" "}
|
|
11
|
-
to create a new version, create a gem, and package. Create a Ninja testing
|
|
12
|
-
plan, then update Nitro with the new version.
|
|
13
|
-
</div>
|
|
14
|
-
<div>
|
|
15
|
-
<br />
|
|
16
|
-
</div>
|
|
17
|
-
<div>
|
|
18
|
-
<strong>Timeline / Due Date</strong>
|
|
19
|
-
</div>
|
|
20
|
-
<div>
|
|
21
|
-
<em>Release End of business Thursday</em>
|
|
22
|
-
</div>
|
|
23
|
-
<div>
|
|
24
|
-
<em>Testing on Nitro End of business Friday</em>
|
|
25
|
-
</div>
|
|
26
|
-
<div>
|
|
27
|
-
<br />
|
|
28
|
-
</div>
|
|
29
|
-
<div>
|
|
30
|
-
<strong>Definition of done</strong>
|
|
31
|
-
</div>
|
|
32
|
-
<ol>
|
|
33
|
-
<li>Merge all PR’s</li>
|
|
34
|
-
<li>Update the final CHANGELOG</li>
|
|
35
|
-
<li>Version up and generate NPM, and RubyGem</li>
|
|
36
|
-
<li>Create next version branch and milestone</li>
|
|
37
|
-
<li>Update default branch and branch protection rules </li>
|
|
38
|
-
<li>Notify Everyone of new version</li>
|
|
39
|
-
<li>
|
|
40
|
-
Generate testing plan and pages to test for Ninjas (update runway
|
|
41
|
-
ticket)
|
|
42
|
-
</li>
|
|
43
|
-
<li>Update version on Nitro and get on Demo</li>
|
|
44
|
-
<li>Send Ninjas demo and runway ticket for testing</li>
|
|
45
|
-
<li>Ninja Approved + PR Approved</li>
|
|
46
|
-
</ol>
|
|
47
|
-
<div>
|
|
48
|
-
<br />
|
|
49
|
-
</div>
|
|
50
|
-
<div>
|
|
51
|
-
<strong>Stakeholders / Sign-off</strong>
|
|
52
|
-
</div>
|
|
53
|
-
<ul>
|
|
54
|
-
<li>Code Owners</li>
|
|
55
|
-
</ul>
|
|
56
|
-
<div>
|
|
57
|
-
<br />
|
|
58
|
-
<strong>Cadence</strong>
|
|
59
|
-
<br />
|
|
60
|
-
Jason, Jon, Stephen, Jasper, Brendan, Cole
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
`
|
|
64
|
-
|
|
65
|
-
export const changelog = `
|
|
66
|
-
<div>
|
|
67
|
-
<strong>Changelog:<br></strong>
|
|
68
|
-
[INSERT LINK]<br><br>
|
|
69
|
-
You can test the normal spots of Playbook rails and react on
|
|
70
|
-
dev docs plus the following:
|
|
71
|
-
</div>
|
|
72
|
-
<div>
|
|
73
|
-
<br>
|
|
74
|
-
</div>
|
|
75
|
-
`
|