playbook_ui_docs 14.22.0.pre.alpha.PLAY2281atcustomheaderrails8968 → 14.22.0.pre.alpha.PLAY2292advancedtablepinnedrowsloading8630

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 (57) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.md +1 -1
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +6 -8
  4. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx +15 -33
  5. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx +72 -0
  6. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md +6 -0
  7. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +15 -33
  8. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +22 -52
  9. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx +16 -12
  10. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx +15 -31
  11. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx +16 -39
  12. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx +38 -86
  13. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx +15 -32
  14. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx +64 -0
  15. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md +1 -0
  16. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx +22 -72
  17. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md +1 -1
  18. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx +15 -31
  19. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx +16 -37
  20. data/app/pb_kits/playbook/pb_bar_graph/docs/_description.md +3 -1
  21. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +3 -1
  22. data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +2 -0
  23. data/app/pb_kits/playbook/pb_body/docs/_body_truncate.jsx +3 -3
  24. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +26 -71
  25. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +16 -29
  26. data/app/pb_kits/playbook/pb_circle_chart/docs/{_circle_chart_colors_rails.md → _circle_chart_colors.md} +1 -1
  27. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx +16 -28
  28. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md +2 -4
  29. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +15 -23
  30. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +51 -81
  31. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +75 -103
  32. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md +6 -3
  33. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +13 -19
  34. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx +38 -0
  35. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md +1 -0
  36. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +17 -30
  37. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +20 -34
  38. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +20 -29
  39. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +20 -28
  40. data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +1 -0
  41. data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +1 -0
  42. data/app/pb_kits/playbook/pb_title/docs/_title_truncate.jsx +3 -3
  43. data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -1
  44. data/dist/playbook-doc.js +2 -2
  45. metadata +12 -15
  46. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb +0 -51
  47. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md +0 -1
  48. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.md +0 -3
  49. data/app/pb_kits/playbook/pb_body/docs/_body_truncate_react.md +0 -4
  50. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md +0 -2
  51. data/app/pb_kits/playbook/pb_circle_chart/docs/_description.md +0 -1
  52. data/app/pb_kits/playbook/pb_title/docs/_title_truncate_react.md +0 -4
  53. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.html.erb +0 -14
  54. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open_rails.md +0 -1
  55. /data/app/pb_kits/playbook/pb_body/docs/{_body_truncate_rails.md → _body_truncate.md} +0 -0
  56. /data/app/pb_kits/playbook/pb_title/docs/{_title_truncate_rails.md → _title_truncate.md} +0 -0
  57. /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.PLAY2281atcustomheaderrails8968
4
+ version: 14.22.0.pre.alpha.PLAY2292advancedtablepinnedrowsloading8630
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-15 00:00:00.000000000 Z
12
+ date: 2025-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -151,8 +151,6 @@ files:
151
151
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
152
152
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.jsx
153
153
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.md
154
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
155
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
156
154
  - app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
157
155
  - app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data.json
158
156
  - app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_infinite_scroll.json
@@ -232,13 +230,14 @@ files:
232
230
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.html.erb
233
231
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx
234
232
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.md
233
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx
234
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md
235
235
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.html.erb
236
236
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md
237
237
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.html.erb
238
238
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
239
239
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.html.erb
240
240
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx
241
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.md
242
241
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.html.erb
243
242
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx
244
243
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.html.erb
@@ -250,6 +249,8 @@ files:
250
249
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md
251
250
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
252
251
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
252
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx
253
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md
253
254
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.html.erb
254
255
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx
255
256
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md
@@ -275,8 +276,7 @@ files:
275
276
  - app/pb_kits/playbook/pb_body/docs/_body_styled.md
276
277
  - app/pb_kits/playbook/pb_body/docs/_body_truncate.html.erb
277
278
  - app/pb_kits/playbook/pb_body/docs/_body_truncate.jsx
278
- - app/pb_kits/playbook/pb_body/docs/_body_truncate_rails.md
279
- - app/pb_kits/playbook/pb_body/docs/_body_truncate_react.md
279
+ - app/pb_kits/playbook/pb_body/docs/_body_truncate.md
280
280
  - app/pb_kits/playbook/pb_body/docs/_description.md
281
281
  - app/pb_kits/playbook/pb_body/docs/_footer.md
282
282
  - app/pb_kits/playbook/pb_body/docs/example.yml
@@ -421,8 +421,7 @@ files:
421
421
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx
422
422
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.html.erb
423
423
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx
424
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_rails.md
425
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md
424
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.md
426
425
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.html.erb
427
426
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx
428
427
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md
@@ -434,6 +433,8 @@ files:
434
433
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx
435
434
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md
436
435
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx
436
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx
437
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md
437
438
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb
438
439
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx
439
440
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
@@ -442,7 +443,6 @@ files:
442
443
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx
443
444
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.html.erb
444
445
  - 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
446
  - app/pb_kits/playbook/pb_circle_chart/docs/example.yml
447
447
  - app/pb_kits/playbook/pb_circle_chart/docs/index.js
448
448
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx
@@ -2248,8 +2248,7 @@ files:
2248
2248
  - app/pb_kits/playbook/pb_title/docs/_title_responsive.md
2249
2249
  - app/pb_kits/playbook/pb_title/docs/_title_truncate.html.erb
2250
2250
  - app/pb_kits/playbook/pb_title/docs/_title_truncate.jsx
2251
- - app/pb_kits/playbook/pb_title/docs/_title_truncate_rails.md
2252
- - app/pb_kits/playbook/pb_title/docs/_title_truncate_react.md
2251
+ - app/pb_kits/playbook/pb_title/docs/_title_truncate.md
2253
2252
  - app/pb_kits/playbook/pb_title/docs/example.yml
2254
2253
  - app/pb_kits/playbook/pb_title/docs/index.js
2255
2254
  - app/pb_kits/playbook/pb_title_count/docs/_description.md
@@ -2286,10 +2285,8 @@ files:
2286
2285
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_props_swift.md
2287
2286
  - app/pb_kits/playbook/pb_toggle/docs/example.yml
2288
2287
  - app/pb_kits/playbook/pb_toggle/docs/index.js
2289
- - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.html.erb
2290
2288
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.jsx
2291
- - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open_rails.md
2292
- - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open_react.md
2289
+ - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.md
2293
2290
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
2294
2291
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx
2295
2292
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.md
@@ -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
- custom_header_renderer: ->(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 }) %>
@@ -1 +0,0 @@
1
- The optional `custom_header_renderer` 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,4 +0,0 @@
1
- ##### Prop
2
- `truncate` | **Type**: Enum | **Values**: 1 | 2 | 3 | 4 | 5
3
-
4
- The `truncate` prop truncates overflowing text up to a maximum of five rows and adds an ellipsis at the end.
@@ -1,2 +0,0 @@
1
- Custom data colors allow for color customization to match the needs of business requirements.
2
- Import the colors from Playbook's tokens, then set custom colors in the plotOptions.pie.colors array using the desired color variables. Hex colors are also available `eg: #CA0095`.
@@ -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,4 +0,0 @@
1
- ##### Prop
2
- `truncate` | **Type**: Enum | **Values**: 1 | 2 | 3 | 4 | 5
3
-
4
- The `truncate` prop truncates overflowing text up to a maximum of five rows and adds an ellipsis at the end.
@@ -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.