playbook_ui_docs 14.22.0.pre.alpha.play2253rowlevelcoloringadvancedtablerails8971 → 14.22.0.pre.alpha.play2261highchartsbargraphimportedstyles8730
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +6 -8
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx +2 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx +2 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_description.md +1 -1
- data/app/pb_kits/playbook/pb_body/docs/_body_truncate.jsx +3 -3
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +26 -71
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +16 -29
- data/app/pb_kits/playbook/pb_circle_chart/docs/{_circle_chart_colors_rails.md → _circle_chart_colors.md} +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx +16 -28
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md +2 -4
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +15 -23
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +51 -81
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +75 -103
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md +6 -3
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +13 -19
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx +38 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md +1 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +17 -30
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +20 -34
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +20 -29
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +20 -28
- data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_truncate.jsx +3 -3
- data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -1
- data/dist/playbook-doc.js +2 -2
- metadata +9 -15
- 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_body/docs/_body_truncate_react.md +0 -4
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md +0 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_description.md +0 -1
- data/app/pb_kits/playbook/pb_title/docs/_title_truncate_react.md +0 -4
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.html.erb +0 -14
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open_rails.md +0 -1
- /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_body/docs/{_body_truncate_rails.md → _body_truncate.md} +0 -0
- /data/app/pb_kits/playbook/pb_title/docs/{_title_truncate_rails.md → _title_truncate.md} +0 -0
- /data/app/pb_kits/playbook/pb_tooltip/docs/{_tooltip_click_open_react.md → _tooltip_click_open.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.22.0.pre.alpha.
|
4
|
+
version: 14.22.0.pre.alpha.play2261highchartsbargraphimportedstyles8730
|
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-01 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
|
@@ -275,8 +273,7 @@ files:
|
|
275
273
|
- app/pb_kits/playbook/pb_body/docs/_body_styled.md
|
276
274
|
- app/pb_kits/playbook/pb_body/docs/_body_truncate.html.erb
|
277
275
|
- app/pb_kits/playbook/pb_body/docs/_body_truncate.jsx
|
278
|
-
- app/pb_kits/playbook/pb_body/docs/
|
279
|
-
- app/pb_kits/playbook/pb_body/docs/_body_truncate_react.md
|
276
|
+
- app/pb_kits/playbook/pb_body/docs/_body_truncate.md
|
280
277
|
- app/pb_kits/playbook/pb_body/docs/_description.md
|
281
278
|
- app/pb_kits/playbook/pb_body/docs/_footer.md
|
282
279
|
- app/pb_kits/playbook/pb_body/docs/example.yml
|
@@ -421,8 +418,7 @@ files:
|
|
421
418
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx
|
422
419
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.html.erb
|
423
420
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx
|
424
|
-
- app/pb_kits/playbook/pb_circle_chart/docs/
|
425
|
-
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md
|
421
|
+
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.md
|
426
422
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.html.erb
|
427
423
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx
|
428
424
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md
|
@@ -434,6 +430,8 @@ files:
|
|
434
430
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx
|
435
431
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md
|
436
432
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx
|
433
|
+
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx
|
434
|
+
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md
|
437
435
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb
|
438
436
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx
|
439
437
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
|
@@ -442,7 +440,6 @@ files:
|
|
442
440
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx
|
443
441
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.html.erb
|
444
442
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
|
445
|
-
- app/pb_kits/playbook/pb_circle_chart/docs/_description.md
|
446
443
|
- app/pb_kits/playbook/pb_circle_chart/docs/example.yml
|
447
444
|
- app/pb_kits/playbook/pb_circle_chart/docs/index.js
|
448
445
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx
|
@@ -2248,8 +2245,7 @@ files:
|
|
2248
2245
|
- app/pb_kits/playbook/pb_title/docs/_title_responsive.md
|
2249
2246
|
- app/pb_kits/playbook/pb_title/docs/_title_truncate.html.erb
|
2250
2247
|
- app/pb_kits/playbook/pb_title/docs/_title_truncate.jsx
|
2251
|
-
- app/pb_kits/playbook/pb_title/docs/
|
2252
|
-
- app/pb_kits/playbook/pb_title/docs/_title_truncate_react.md
|
2248
|
+
- app/pb_kits/playbook/pb_title/docs/_title_truncate.md
|
2253
2249
|
- app/pb_kits/playbook/pb_title/docs/example.yml
|
2254
2250
|
- app/pb_kits/playbook/pb_title/docs/index.js
|
2255
2251
|
- app/pb_kits/playbook/pb_title_count/docs/_description.md
|
@@ -2286,10 +2282,8 @@ files:
|
|
2286
2282
|
- app/pb_kits/playbook/pb_toggle/docs/_toggle_props_swift.md
|
2287
2283
|
- app/pb_kits/playbook/pb_toggle/docs/example.yml
|
2288
2284
|
- app/pb_kits/playbook/pb_toggle/docs/index.js
|
2289
|
-
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.html.erb
|
2290
2285
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.jsx
|
2291
|
-
- app/pb_kits/playbook/pb_tooltip/docs/
|
2292
|
-
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open_react.md
|
2286
|
+
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.md
|
2293
2287
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
|
2294
2288
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx
|
2295
2289
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.md
|
@@ -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.
|
@@ -1 +0,0 @@
|
|
1
|
-
**Important Note for the React Kit**: In order to leverage this kit, you must install `highcharts` and `highcharts-react-official` into your project as shown below. To then apply Playbook styles to your Highchart, import circleChartTheme.ts from playbook-ui and merge it with your Highchart options. Then, pass the merged value to the options prop. Playbook’s styling will be applied automatically. See the examples in the documentation below.
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<%= pb_rails("button", props: {
|
2
|
-
text: "Click to Open",
|
3
|
-
id: "click-tooltip-trigger-1",
|
4
|
-
variant: "primary"
|
5
|
-
}) %>
|
6
|
-
|
7
|
-
<%= pb_rails("tooltip", props: {
|
8
|
-
trigger_element_selector: "#click-tooltip-trigger-1",
|
9
|
-
tooltip_id: "click-tooltip-1",
|
10
|
-
position: "top",
|
11
|
-
use_click_to_open: true
|
12
|
-
}) do %>
|
13
|
-
Tooltip opened by click! Click trigger again to close.
|
14
|
-
<% end %>
|
@@ -1 +0,0 @@
|
|
1
|
-
Set the prop `use_click_to_open` as `true` so that the tooltip will only appear when an item is clicked rather than hovered over.
|
File without changes
|
File without changes
|
File without changes
|
/data/app/pb_kits/playbook/pb_tooltip/docs/{_tooltip_click_open_react.md → _tooltip_click_open.md}
RENAMED
File without changes
|