playbook_ui_docs 16.7.0.pre.alpha.tablewidths16409 → 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.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx +0 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.md +0 -10
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_grouped_headers_composition.jsx +1 -15
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_infinite_scroll.jsx +2 -2
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.jsx +2 -2
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows.jsx +2 -2
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js +200 -0
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading_empty_children.js +42 -0
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.json +5807 -150
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.overrides.json +30 -5
  12. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_styling.json +1 -6
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_grouped_headers_composition_mock_data.json +98 -0
  14. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +5 -5
  15. data/app/pb_kits/playbook/pb_date/docs/_playground.json +17 -13
  16. data/app/pb_kits/playbook/pb_date/docs/_playground.overrides.json +16 -13
  17. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +2 -0
  18. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.jsx +2 -0
  19. data/app/pb_kits/playbook/pb_date_picker/docs/_playground.json +42 -136
  20. data/app/pb_kits/playbook/pb_date_picker/docs/_playground.overrides.json +45 -113
  21. data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.json +6 -48
  22. data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.json +5 -28
  23. data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.json +1 -1
  24. data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.overrides.json +1 -1
  25. data/app/pb_kits/playbook/pb_date_time/docs/_playground.json +3 -16
  26. data/app/pb_kits/playbook/pb_date_time/docs/_playground.overrides.json +3 -16
  27. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.json +15 -11
  28. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.overrides.json +15 -11
  29. data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.json +4 -4
  30. data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.overrides.json +4 -4
  31. data/app/pb_kits/playbook/pb_detail/docs/_playground.json +18 -12
  32. data/app/pb_kits/playbook/pb_detail/docs/_playground.overrides.json +12 -13
  33. data/app/pb_kits/playbook/pb_dialog/docs/_playground.json +42 -108
  34. data/app/pb_kits/playbook/pb_dialog/docs/_playground.overrides.json +40 -88
  35. data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.json +7 -65
  36. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_constrain_height.jsx +0 -18
  37. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_constrain_height_rails.html.erb +0 -11
  38. data/app/pb_kits/playbook/pb_dropdown/docs/_playground.json +21 -318
  39. data/app/pb_kits/playbook/pb_dropdown/docs/_playground.overrides.json +19 -192
  40. data/app/pb_kits/playbook/pb_empty_state/docs/_playground.json +12 -77
  41. data/app/pb_kits/playbook/pb_file_upload/docs/_playground.json +13 -98
  42. data/app/pb_kits/playbook/pb_link/docs/_playground.json +40 -81
  43. data/app/pb_kits/playbook/pb_link/docs/_playground.overrides.json +30 -88
  44. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_external_control.jsx +1 -22
  45. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +2 -22
  46. data/app/pb_kits/playbook/pb_pagination/docs/data.js +23 -0
  47. data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.json +2 -4
  48. data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +0 -2
  49. data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +0 -1
  50. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_templates.jsx +1 -76
  51. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +0 -2
  52. data/app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js +75 -0
  53. data/app/pb_kits/playbook/pb_title/docs/_playground.json +23 -72
  54. data/app/pb_kits/playbook/pb_title/docs/_playground.overrides.json +16 -80
  55. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx +2 -2
  56. metadata +7 -15
  57. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_inline_loading_empty_children.json +0 -41
  58. data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.overrides.json +0 -57
  59. data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.overrides.json +0 -38
  60. data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.overrides.json +0 -45
  61. data/app/pb_kits/playbook/pb_empty_state/docs/_playground.overrides.json +0 -79
  62. data/app/pb_kits/playbook/pb_file_upload/docs/_playground.overrides.json +0 -99
  63. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.html.erb +0 -5
  64. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.jsx +0 -14
  65. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.md +0 -3
  66. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_default.html.erb +0 -1
  67. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_default.md +0 -12
  68. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_simple.html.erb +0 -9
  69. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_simple.md +0 -8
@@ -5,9 +5,7 @@
5
5
  "color": "default",
6
6
  "disabled": false,
7
7
  "tag": "a",
8
- "underline": false,
9
- "href": "#link-example",
10
- "text": "Link text"
8
+ "underline": false
11
9
  },
12
10
  "children": {
13
11
  "editable": true,
@@ -30,7 +28,6 @@
30
28
  "props": [
31
29
  "href",
32
30
  "target",
33
- "disabled",
34
31
  "tabIndex"
35
32
  ]
36
33
  },
@@ -39,95 +36,78 @@
39
36
  "props": [
40
37
  "color",
41
38
  "underline",
42
- "tag",
43
- "dark"
39
+ "disabled",
40
+ "tag"
44
41
  ]
45
42
  }
46
43
  ],
47
44
  "presets": [
48
45
  {
49
46
  "name": "Default",
50
- "props": {
51
- "href": "#link-example",
52
- "text": "Link text"
53
- }
47
+ "props": {},
48
+ "children": "Link text"
54
49
  },
55
50
  {
56
- "name": "Body color",
51
+ "name": "Muted underline",
57
52
  "props": {
58
- "color": "body",
59
- "href": "#body-link",
60
- "text": "Inline body link"
61
- }
53
+ "color": "muted",
54
+ "underline": true
55
+ },
56
+ "children": "Secondary link"
62
57
  },
63
58
  {
64
- "name": "Muted underline",
59
+ "name": "Body color",
65
60
  "props": {
66
- "color": "muted",
67
- "href": "#secondary-link",
68
- "underline": true,
69
- "text": "Secondary link"
70
- }
61
+ "color": "body"
62
+ },
63
+ "children": "Inline body link"
71
64
  },
72
65
  {
73
66
  "name": "Destructive",
74
67
  "props": {
75
- "color": "destructive",
76
- "href": "#delete-account",
77
- "text": "Delete account"
78
- }
68
+ "color": "destructive"
69
+ },
70
+ "children": "Delete account"
79
71
  },
80
72
  {
81
- "name": "Leading icon",
73
+ "name": "With icon",
82
74
  "props": {
83
75
  "color": "default",
84
- "href": "#continue",
85
- "icon": "arrow-up-right-from-square",
86
- "text": "Continue"
87
- }
76
+ "icon": "arrow-up-right-from-square"
77
+ },
78
+ "children": "Continue"
88
79
  },
89
80
  {
90
- "name": "Trailing icon",
81
+ "name": "Icon both sides",
91
82
  "props": {
92
- "href": "#details",
93
83
  "icon": "plus",
94
- "iconRight": "chevron-right",
95
- "text": "Open document"
96
- }
84
+ "iconRight": "chevron-right"
85
+ },
86
+ "children": "Open document"
97
87
  },
98
88
  {
99
- "name": "Disabled",
89
+ "name": "As heading tag",
100
90
  "props": {
101
- "disabled": true,
102
- "href": "#disabled",
103
- "text": "Disabled link"
104
- }
91
+ "tag": "span"
92
+ },
93
+ "children": "Styled as link"
105
94
  },
106
95
  {
107
- "name": "Heading tag",
96
+ "name": "With href",
108
97
  "props": {
109
- "href": "#heading-link",
110
- "icon": "arrow-up-right-from-square",
111
- "tag": "h3",
112
- "text": "Heading link"
113
- }
98
+ "href": "/dashboard",
99
+ "color": "default"
100
+ },
101
+ "children": "Go to dashboard"
114
102
  },
115
103
  {
116
104
  "name": "External new tab",
117
105
  "props": {
118
106
  "href": "https://example.com",
119
107
  "target": "_blank",
120
- "icon": "arrow-up-right-from-square",
121
- "text": "Example.com"
122
- }
123
- },
124
- {
125
- "name": "Span tag",
126
- "props": {
127
- "href": "#span-link",
128
- "tag": "span",
129
- "text": "Span link example"
130
- }
108
+ "icon": "arrow-up-right-from-square"
109
+ },
110
+ "children": "Example.com"
131
111
  }
132
112
  ],
133
113
  "conditionals": {
@@ -139,32 +119,11 @@
139
119
  }
140
120
  },
141
121
  "hints": {
142
- "external_target_info": {
143
- "when": {
144
- "target": "_blank"
145
- },
146
- "message": "Use target=\"_blank\" for external destinations that should open in a new tab.",
147
- "type": "info"
148
- },
149
- "icon_pairing_info": {
150
- "when": {
151
- "iconRight": "chevron-right"
152
- },
153
- "message": "iconRight is available only when icon is also set, so the link can render a balanced icon treatment.",
154
- "type": "info"
155
- },
156
- "disabled_info": {
157
- "when": {
158
- "disabled": true
159
- },
160
- "message": "Disabled links keep their visual treatment but should not be the only way to reach important actions.",
161
- "type": "info"
162
- },
163
- "tag_semantics_info": {
122
+ "target_needs_href": {
164
123
  "when": {
165
- "tag": "h3"
124
+ "target": true
166
125
  },
167
- "message": "Use tag to borrow link styling on semantic headings or inline text, but keep href when the element should still navigate.",
126
+ "message": "The target attribute only applies when href is set.",
168
127
  "type": "info"
169
128
  }
170
129
  }
@@ -2,14 +2,6 @@
2
2
  "children": {
3
3
  "default": "Link text"
4
4
  },
5
- "defaults": {
6
- "color": "default",
7
- "disabled": false,
8
- "href": "#link-example",
9
- "tag": "a",
10
- "text": "Link text",
11
- "underline": false
12
- },
13
5
  "groups": [
14
6
  {
15
7
  "name": "Content",
@@ -17,97 +9,62 @@
17
9
  },
18
10
  {
19
11
  "name": "Behavior",
20
- "props": ["href", "target", "disabled", "tabIndex"]
12
+ "props": ["href", "target", "tabIndex"]
21
13
  },
22
14
  {
23
15
  "name": "Appearance",
24
- "props": ["color", "underline", "tag", "dark"]
16
+ "props": ["color", "underline", "disabled", "tag"]
25
17
  }
26
18
  ],
27
19
  "presets": [
28
20
  {
29
21
  "name": "Default",
30
- "props": {
31
- "href": "#link-example",
32
- "text": "Link text"
33
- }
22
+ "props": {},
23
+ "children": "Link text"
34
24
  },
35
25
  {
36
- "name": "Body color",
37
- "props": {
38
- "color": "body",
39
- "href": "#body-link",
40
- "text": "Inline body link"
41
- }
26
+ "name": "Muted underline",
27
+ "props": { "color": "muted", "underline": true },
28
+ "children": "Secondary link"
42
29
  },
43
30
  {
44
- "name": "Muted underline",
45
- "props": {
46
- "color": "muted",
47
- "href": "#secondary-link",
48
- "underline": true,
49
- "text": "Secondary link"
50
- }
31
+ "name": "Body color",
32
+ "props": { "color": "body" },
33
+ "children": "Inline body link"
51
34
  },
52
35
  {
53
36
  "name": "Destructive",
54
- "props": {
55
- "color": "destructive",
56
- "href": "#delete-account",
57
- "text": "Delete account"
58
- }
37
+ "props": { "color": "destructive" },
38
+ "children": "Delete account"
59
39
  },
60
40
  {
61
- "name": "Leading icon",
62
- "props": {
63
- "color": "default",
64
- "href": "#continue",
65
- "icon": "arrow-up-right-from-square",
66
- "text": "Continue"
67
- }
41
+ "name": "With icon",
42
+ "props": { "color": "default", "icon": "arrow-up-right-from-square" },
43
+ "children": "Continue"
68
44
  },
69
45
  {
70
- "name": "Trailing icon",
71
- "props": {
72
- "href": "#details",
73
- "icon": "plus",
74
- "iconRight": "chevron-right",
75
- "text": "Open document"
76
- }
46
+ "name": "Icon both sides",
47
+ "props": { "icon": "plus", "iconRight": "chevron-right" },
48
+ "children": "Open document"
77
49
  },
78
50
  {
79
- "name": "Disabled",
80
- "props": {
81
- "disabled": true,
82
- "href": "#disabled",
83
- "text": "Disabled link"
84
- }
51
+ "name": "As heading tag",
52
+ "props": { "tag": "span" },
53
+ "children": "Styled as link"
85
54
  },
86
55
  {
87
- "name": "Heading tag",
88
- "props": {
89
- "href": "#heading-link",
90
- "icon": "arrow-up-right-from-square",
91
- "tag": "h3",
92
- "text": "Heading link"
93
- }
56
+ "name": "With href",
57
+ "props": { "href": "/dashboard", "color": "default" },
58
+ "children": "Go to dashboard"
94
59
  },
95
60
  {
96
61
  "name": "External new tab",
97
62
  "props": {
98
63
  "href": "https://example.com",
99
64
  "target": "_blank",
100
- "icon": "arrow-up-right-from-square",
101
- "text": "Example.com"
102
- }
103
- },
104
- {
105
- "name": "Span tag",
106
- "props": {
107
- "href": "#span-link",
108
- "tag": "span",
109
- "text": "Span link example"
110
- }
65
+ "icon": "arrow-up-right-from-square"
66
+ },
67
+ "children": "Example.com"
111
68
  }
112
69
  ],
113
70
  "conditionals": {
@@ -115,24 +72,9 @@
115
72
  "iconRight": { "requires": "icon" }
116
73
  },
117
74
  "hints": {
118
- "external_target_info": {
119
- "when": { "target": "_blank" },
120
- "message": "Use target=\"_blank\" for external destinations that should open in a new tab.",
121
- "type": "info"
122
- },
123
- "icon_pairing_info": {
124
- "when": { "iconRight": "chevron-right" },
125
- "message": "iconRight is available only when icon is also set, so the link can render a balanced icon treatment.",
126
- "type": "info"
127
- },
128
- "disabled_info": {
129
- "when": { "disabled": true },
130
- "message": "Disabled links keep their visual treatment but should not be the only way to reach important actions.",
131
- "type": "info"
132
- },
133
- "tag_semantics_info": {
134
- "when": { "tag": "h3" },
135
- "message": "Use tag to borrow link styling on semantic headings or inline text, but keep href when the element should still navigate.",
75
+ "target_needs_href": {
76
+ "when": { "target": true },
77
+ "message": "The target attribute only applies when href is set.",
136
78
  "type": "info"
137
79
  }
138
80
  }
@@ -4,28 +4,7 @@ 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
- 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
- ];
7
+ import { data } from "./data";
29
8
 
30
9
  const PaginationExternalControl = (props) => {
31
10
  const [totalItems, setTotalItems] = useState(20);
@@ -2,28 +2,8 @@ import React, { useState } from "react";
2
2
  import Table from '../../pb_table/_table'
3
3
  import Pagination from '../../pb_pagination/_pagination'
4
4
 
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
- ];
5
+
6
+ import { data } from "./data";
27
7
 
28
8
  const PaginationPageChange = (props) => {
29
9
 
@@ -0,0 +1,23 @@
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
+
@@ -13,8 +13,7 @@
13
13
  "value": "",
14
14
  "formatAsYouType": false,
15
15
  "strictMode": false,
16
- "countrySearch": false,
17
- "showPlaceholder": false
16
+ "countrySearch": false
18
17
  },
19
18
  "groups": [
20
19
  {
@@ -38,8 +37,7 @@
38
37
  "value",
39
38
  "formatAsYouType",
40
39
  "strictMode",
41
- "countrySearch",
42
- "showPlaceholder"
40
+ "countrySearch"
43
41
  ]
44
42
  }
45
43
  ],
@@ -2,7 +2,6 @@ examples:
2
2
 
3
3
  react:
4
4
  - phone_number_input_default: Default
5
- - phone_number_input_show_placeholder: Show Placeholder
6
5
  - phone_number_input_preferred_countries: Preferred Countries
7
6
  - phone_number_input_initial_country: Initial Country
8
7
  - phone_number_input_only_countries: Only Countries
@@ -17,7 +16,6 @@ examples:
17
16
 
18
17
  rails:
19
18
  - phone_number_input_default: Default
20
- - phone_number_input_show_placeholder: Show Placeholder
21
19
  - phone_number_input_preferred_countries: Preferred Countries
22
20
  - phone_number_input_initial_country: Initial Country
23
21
  - phone_number_input_only_countries: Only Countries
@@ -10,4 +10,3 @@ 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,82 +5,7 @@ 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
-
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&nbsp;</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
- `
8
+ import { changelog, release } from './templates.js'
84
9
 
85
10
  const RichTextEditorAdvancedTemplates = (props) => {
86
11
 
@@ -1,8 +1,6 @@
1
1
  examples:
2
2
 
3
3
  rails:
4
- - rich_text_editor_rails_default: "Rails (TipTap)"
5
- - rich_text_editor_rails_simple: "Rails (TipTap — Simple toolbar)"
6
4
 
7
5
  react:
8
6
  - rich_text_editor_advanced_default: Advanced Default
@@ -0,0 +1,75 @@
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&nbsp;</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
+ `