playbook_ui_docs 14.23.0.pre.alpha.PLAY2205atborderbug9085 → 14.23.0.pre.alpha.PLAY2243customindeterminatemaincheckboxlabels9046
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_with_custom_header.md +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md +1 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb +1 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_rails.md +2 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md +1 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_description.md +3 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.jsx +17 -36
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx +16 -31
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx +31 -63
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx +16 -35
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.jsx +16 -41
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx +62 -107
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md +7 -4
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.jsx +52 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.md +1 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/index.js +1 -0
- 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_table/docs/_table_with_selectable_rows.html.erb +1 -0
- data/dist/playbook-doc.js +1 -1
- metadata +6 -13
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.html.erb +0 -46
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_rails.md +0 -7
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb +0 -51
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md +0 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors_react.md +0 -3
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.md +0 -3
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.html.erb +0 -10
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.jsx +0 -26
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.md +0 -3
- /data/app/pb_kits/playbook/pb_advanced_table/docs/{_advanced_table_row_styling_react.md → _advanced_table_row_styling.md} +0 -0
- /data/app/pb_kits/playbook/pb_line_graph/docs/{_line_graph_colors_rails.md → _line_graph_colors.md} +0 -0
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.23.0.pre.alpha.
|
4
|
+
version: 14.23.0.pre.alpha.PLAY2243customindeterminatemaincheckboxlabels9046
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-07-
|
12
|
+
date: 2025-07-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -105,10 +105,8 @@ files:
|
|
105
105
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.html.erb
|
106
106
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.jsx
|
107
107
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.md
|
108
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.html.erb
|
109
108
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.jsx
|
110
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/
|
111
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_react.md
|
109
|
+
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.md
|
112
110
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_scrollbar_none.html.erb
|
113
111
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_scrollbar_none.jsx
|
114
112
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.jsx
|
@@ -153,8 +151,6 @@ files:
|
|
153
151
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
|
154
152
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.jsx
|
155
153
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.md
|
156
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
|
157
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
|
158
154
|
- app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
|
159
155
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data.json
|
160
156
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_infinite_scroll.json
|
@@ -1327,13 +1323,11 @@ files:
|
|
1327
1323
|
- app/pb_kits/playbook/pb_line_graph/docs/_description.md
|
1328
1324
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.html.erb
|
1329
1325
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.jsx
|
1330
|
-
- app/pb_kits/playbook/pb_line_graph/docs/
|
1331
|
-
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors_react.md
|
1326
|
+
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.md
|
1332
1327
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.html.erb
|
1333
1328
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx
|
1334
1329
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.html.erb
|
1335
1330
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
|
1336
|
-
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.md
|
1337
1331
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.html.erb
|
1338
1332
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx
|
1339
1333
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.html.erb
|
@@ -1341,6 +1335,8 @@ files:
|
|
1341
1335
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.html.erb
|
1342
1336
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx
|
1343
1337
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md
|
1338
|
+
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.jsx
|
1339
|
+
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.md
|
1344
1340
|
- app/pb_kits/playbook/pb_line_graph/docs/example.yml
|
1345
1341
|
- app/pb_kits/playbook/pb_line_graph/docs/index.js
|
1346
1342
|
- app/pb_kits/playbook/pb_link/docs/_link_color.html.erb
|
@@ -1667,9 +1663,6 @@ files:
|
|
1667
1663
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb
|
1668
1664
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx
|
1669
1665
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
|
1670
|
-
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.html.erb
|
1671
|
-
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.jsx
|
1672
|
-
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.md
|
1673
1666
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb
|
1674
1667
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx
|
1675
1668
|
- app/pb_kits/playbook/pb_phone_number_input/docs/example.yml
|
@@ -1,46 +0,0 @@
|
|
1
|
-
<% column_definitions = [
|
2
|
-
{
|
3
|
-
accessor: "year",
|
4
|
-
label: "Year",
|
5
|
-
cellAccessors: ["quarter", "month", "day"],
|
6
|
-
},
|
7
|
-
{
|
8
|
-
accessor: "newEnrollments",
|
9
|
-
label: "New Enrollments",
|
10
|
-
},
|
11
|
-
{
|
12
|
-
accessor: "scheduledMeetings",
|
13
|
-
label: "Scheduled Meetings",
|
14
|
-
},
|
15
|
-
{
|
16
|
-
accessor: "attendanceRate",
|
17
|
-
label: "Attendance Rate",
|
18
|
-
},
|
19
|
-
{
|
20
|
-
accessor: "completedClasses",
|
21
|
-
label: "Completed Classes",
|
22
|
-
},
|
23
|
-
{
|
24
|
-
accessor: "classCompletionRate",
|
25
|
-
label: "Class Completion Rate",
|
26
|
-
},
|
27
|
-
{
|
28
|
-
accessor: "graduatedStudents",
|
29
|
-
label: "Graduated Students",
|
30
|
-
}
|
31
|
-
] %>
|
32
|
-
|
33
|
-
<% row_styling = [
|
34
|
-
{
|
35
|
-
row_id: "1",
|
36
|
-
background_color: "#F9BB00",
|
37
|
-
},
|
38
|
-
{
|
39
|
-
row_id: "8",
|
40
|
-
background_color: "#0056CF",
|
41
|
-
font_color: "white",
|
42
|
-
expand_button_color: "white",
|
43
|
-
},
|
44
|
-
] %>
|
45
|
-
|
46
|
-
<%= pb_rails("advanced_table", props: { id: "row-styling", table_data: @table_data_with_id, column_definitions: column_definitions, row_styling: row_styling }) %>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
The `row_styling` prop can be used in conjunction with row ids to control certain styling options on individual rows. Currently, `row_styling` gives you 3 optional controls:
|
2
|
-
|
3
|
-
- `background_color` : use this to control the background color of the row
|
4
|
-
- `font_color`: use this to control font color for each row if needed, for example if using a darker background color.
|
5
|
-
- `expand_button_color`: use this to control the color of the expand icon if needed, for example if using a darker background color.
|
6
|
-
|
7
|
-
**NOTE:** Each object within the `table_data` Array must contain a unique id in order to attach an id to all Rows for this to function.
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
column_definitions = [
|
3
|
-
{
|
4
|
-
accessor: "year",
|
5
|
-
label: "Year",
|
6
|
-
cellAccessors: ["quarter", "month", "day"],
|
7
|
-
},
|
8
|
-
{
|
9
|
-
accessor: "newEnrollments",
|
10
|
-
label: "New Enrollments",
|
11
|
-
header: ->(cell, label) {
|
12
|
-
capture do
|
13
|
-
pb_rails("flex", props: { align_items: "center", justify_content: "center" }) do
|
14
|
-
pb_rails("caption", props: { margin_right: "xs", text: "New Enrollments" }) +
|
15
|
-
pb_rails("icon", props: { id: "tooltip-interact", icon: "info", size: "xs" }) +
|
16
|
-
pb_rails("tooltip", props: {
|
17
|
-
trigger_element_id: "tooltip-interact",
|
18
|
-
tooltip_id: "example-custom-tooltip",
|
19
|
-
position: "top",
|
20
|
-
z_index: "10"
|
21
|
-
}) do
|
22
|
-
"Whoa. I'm a Tooltip"
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
}
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "scheduledMeetings",
|
30
|
-
label: "Scheduled Meetings",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
accessor: "attendanceRate",
|
34
|
-
label: "Attendance Rate",
|
35
|
-
},
|
36
|
-
{
|
37
|
-
accessor: "completedClasses",
|
38
|
-
label: "Completed Classes",
|
39
|
-
},
|
40
|
-
{
|
41
|
-
accessor: "classCompletionRate",
|
42
|
-
label: "Class Completion Rate",
|
43
|
-
},
|
44
|
-
{
|
45
|
-
accessor: "graduatedStudents",
|
46
|
-
label: "Graduated Students",
|
47
|
-
}
|
48
|
-
]
|
49
|
-
%>
|
50
|
-
|
51
|
-
<%= pb_rails("advanced_table", props: { id: "custom_header_table", table_data: @table_data, column_definitions: column_definitions }) %>
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
The optional `header` item can be used within `column_definitions` to render a custom header. This example shows an Icon and Tooltip being used but other kits can be used as well.
|
@@ -1,3 +0,0 @@
|
|
1
|
-
By default, Highcharts have a height of 400px, but this can be customized. You can override the default by specifying either a percentage or a fixed pixel value.
|
2
|
-
|
3
|
-
Using a percentage maintains a consistent aspect ratio across different responsive sizes. For example, setting the height to 50% makes the chart’s height half of its width.
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
|
3
|
-
import Body from '../../pb_body/_body'
|
4
|
-
import PhoneNumberInput from '../../pb_phone_number_input/_phone_number_input'
|
5
|
-
|
6
|
-
const PhoneNumberInputStrictMode = (props) => {
|
7
|
-
|
8
|
-
return (
|
9
|
-
<>
|
10
|
-
<PhoneNumberInput
|
11
|
-
id="strict"
|
12
|
-
strictMode
|
13
|
-
{...props}
|
14
|
-
/>
|
15
|
-
<Body>With formatAsYouType</Body>
|
16
|
-
<PhoneNumberInput
|
17
|
-
formatAsYouType
|
18
|
-
id="strict"
|
19
|
-
strictMode
|
20
|
-
{...props}
|
21
|
-
/>
|
22
|
-
</>
|
23
|
-
);
|
24
|
-
};
|
25
|
-
|
26
|
-
export default PhoneNumberInputStrictMode;
|
File without changes
|
/data/app/pb_kits/playbook/pb_line_graph/docs/{_line_graph_colors_rails.md → _line_graph_colors.md}
RENAMED
File without changes
|