playbook_ui_docs 15.8.0.pre.rc.1 → 16.1.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 (123) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options.md +1 -1
  3. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.html.erb +135 -0
  4. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.jsx +147 -0
  5. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.md +1 -0
  6. data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +2 -0
  7. data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +1 -0
  8. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_description.md +6 -1
  9. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_description.md +6 -1
  10. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_description.md +6 -1
  11. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_description.md +6 -1
  12. metadata +5 -113
  13. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.html.erb +0 -26
  14. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx +0 -55
  15. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.md +0 -2
  16. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.html.erb +0 -42
  17. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md +0 -2
  18. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.html.erb +0 -26
  19. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +0 -55
  20. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.html.erb +0 -26
  21. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +0 -69
  22. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.md +0 -3
  23. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.html.erb +0 -58
  24. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx +0 -64
  25. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.html.erb +0 -14
  26. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx +0 -40
  27. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.html.erb +0 -15
  28. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx +0 -48
  29. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb +0 -62
  30. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx +0 -136
  31. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md +0 -17
  32. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb +0 -23
  33. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx +0 -52
  34. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.html.erb +0 -26
  35. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx +0 -86
  36. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md +0 -3
  37. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.html.erb +0 -20
  38. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx +0 -46
  39. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.md +0 -2
  40. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.html.erb +0 -22
  41. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx +0 -55
  42. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.md +0 -1
  43. data/app/pb_kits/playbook/pb_bar_graph/docs/_description.md +0 -1
  44. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +0 -28
  45. data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +0 -11
  46. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.html.erb +0 -26
  47. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +0 -88
  48. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.html.erb +0 -20
  49. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +0 -44
  50. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_rails.md +0 -2
  51. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md +0 -2
  52. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.html.erb +0 -20
  53. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx +0 -43
  54. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md +0 -5
  55. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.html.erb +0 -19
  56. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +0 -38
  57. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.html.erb +0 -136
  58. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +0 -152
  59. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb +0 -86
  60. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +0 -142
  61. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md +0 -14
  62. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +0 -63
  63. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb +0 -22
  64. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +0 -45
  65. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb +0 -37
  66. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +0 -61
  67. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.html.erb +0 -22
  68. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +0 -41
  69. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.html.erb +0 -38
  70. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +0 -55
  71. data/app/pb_kits/playbook/pb_circle_chart/docs/_description.md +0 -1
  72. data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +0 -26
  73. data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +0 -11
  74. data/app/pb_kits/playbook/pb_gauge/docs/_description.md +0 -1
  75. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.html.erb +0 -12
  76. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.jsx +0 -36
  77. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors_rails.md +0 -2
  78. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors_react.md +0 -2
  79. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.html.erb +0 -32
  80. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.jsx +0 -146
  81. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex_rails.md +0 -1
  82. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex_react.md +0 -1
  83. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_default.html.erb +0 -11
  84. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_default.jsx +0 -30
  85. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_disable_animation.html.erb +0 -12
  86. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_disable_animation.jsx +0 -36
  87. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_full_circle.html.erb +0 -14
  88. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_full_circle.jsx +0 -49
  89. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_height.html.erb +0 -15
  90. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx +0 -62
  91. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_live_data.jsx +0 -76
  92. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.html.erb +0 -15
  93. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx +0 -54
  94. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.md +0 -1
  95. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.html.erb +0 -27
  96. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.jsx +0 -80
  97. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.md +0 -2
  98. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_title.html.erb +0 -14
  99. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_title.jsx +0 -38
  100. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb +0 -29
  101. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx +0 -72
  102. data/app/pb_kits/playbook/pb_gauge/docs/_gauge_units_react.md +0 -1
  103. data/app/pb_kits/playbook/pb_gauge/docs/example.yml +0 -27
  104. data/app/pb_kits/playbook/pb_gauge/docs/index.js +0 -11
  105. data/app/pb_kits/playbook/pb_line_graph/docs/_description.md +0 -1
  106. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.html.erb +0 -26
  107. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.jsx +0 -56
  108. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors_rails.md +0 -2
  109. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors_react.md +0 -3
  110. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.html.erb +0 -26
  111. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx +0 -52
  112. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.html.erb +0 -26
  113. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx +0 -70
  114. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.md +0 -3
  115. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.html.erb +0 -15
  116. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx +0 -43
  117. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.html.erb +0 -16
  118. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.jsx +0 -49
  119. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.html.erb +0 -62
  120. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx +0 -129
  121. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md +0 -14
  122. data/app/pb_kits/playbook/pb_line_graph/docs/example.yml +0 -18
  123. data/app/pb_kits/playbook/pb_line_graph/docs/index.js +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a612c6c091108d9138ab2347e702724f60e3552d290ed4906963d21670aa6640
4
- data.tar.gz: be4708b10ee105fb088c285bd02258a5dd0a82c80facd06d1206981035c3b227
3
+ metadata.gz: 1a500947d189faf49975a04214fc6a7777068bb6e97e701b56120716e8ea496e
4
+ data.tar.gz: cda73d66b6a43912b4729d9852e46fcd1521e4066b79f1b60a4290b8bbb6a256
5
5
  SHA512:
6
- metadata.gz: 181954b1ed65ad06151aa58630e13d047949e1473c25b74e7b71b458a180727a7da624f7bc5a56796249a0350d869c2fda91788ca5bcf66f75c0f7ba74cf798f
7
- data.tar.gz: f5f298f097108651578094e2fe4b15b6f1609eef7958c3f02a4674a4b989cc795beea1c84bbdb0f36983d6780bc349515665c19d5176c69d231e9b65d3acf561
6
+ metadata.gz: df07ec138ac3b2a63260de43aa35051bc3fd6d8cbbba11989e789d02a486092763e936cf69c6856145cacf3b1197f0486b83dad239885c842e8165071b86428e
7
+ data.tar.gz: 1e2254818a11b43ce09a4dc1c319abaa7fa1be93a793d5917be95d5d966f9da7e5f345d9d895e03982b956df10874fddab545066849d30cdbf32fa81bbc6b3e4
@@ -1 +1 @@
1
- individual items can also be disabled by including the `disabled:true` within the object on the treeData for the `returnAllSelected`/`return_all_selected` variant. As noted above, this variant will return data on all checked nodes from the dropdown, irrespective of whether it is a parent or child node.
1
+ Individual items can also be disabled by including the `disabled:true` within the object on the treeData for the `returnAllSelected`/`return_all_selected` variant. As noted above, this variant will return data on all checked nodes from the dropdown, irrespective of whether it is a parent or child node.
@@ -0,0 +1,135 @@
1
+ <% treeData = [
2
+ {
3
+ label: "HQ",
4
+ value: "hQ",
5
+ id: "hq2",
6
+ },
7
+ {
8
+ label: "Philadelphia",
9
+ value: "philadelphia",
10
+ id: "phl2",
11
+ disabled: true,
12
+ children: [
13
+ {
14
+ label: "Marketing & Sales PHL",
15
+ value: "marketingAndSalesPhl",
16
+ id: "marketingPHL2",
17
+ },
18
+ {
19
+ label: "Installation Office PHL",
20
+ value: "installationOfficePhl",
21
+ id: "installationPHL2",
22
+ },
23
+ {
24
+ label: "Warehouse PHL",
25
+ value: "warehousePhl",
26
+ id: "warehousePHL2",
27
+ },
28
+ ]
29
+ },
30
+ {
31
+ label: "New Jersey",
32
+ value: "newJersey",
33
+ id: "nj2",
34
+ children: [
35
+ {
36
+ label: "New Jersey",
37
+ value: "newJersey",
38
+ id: "nj12",
39
+ children: [
40
+ {
41
+ label: "Marketing & Sales NJ",
42
+ value: "marketingAndSalesNj",
43
+ id: "marketingNJ2",
44
+ disabled: true,
45
+ },
46
+ {
47
+ label: "Installation Office NJ",
48
+ value: "installationOfficeNj",
49
+ id: "installationNJ2",
50
+ },
51
+ {
52
+ label: "Warehouse NJ",
53
+ value: "warehouseNj",
54
+ id: "warehouseNJ2",
55
+ },
56
+ ],
57
+ },
58
+ {
59
+ label: "Princeton",
60
+ value: "princeton",
61
+ id: "princeton2",
62
+ children: [
63
+ {
64
+ label: "Marketing & Sales Princeton",
65
+ value: "marketingAndSalesPrinceton",
66
+ id: "marketingPR2",
67
+ },
68
+ {
69
+ label: "Installation Office Princeton",
70
+ value: "installationOfficePrinceton",
71
+ id: "installationPR2",
72
+ disabled: true,
73
+ },
74
+ {
75
+ label: "Warehouse Princeton",
76
+ value: "warehousePrinceton",
77
+ id: "warehousePR2",
78
+ },
79
+ ]
80
+ },
81
+ ]
82
+ },
83
+ {
84
+ label: "Maryland",
85
+ value: "maryland",
86
+ id: "MD2",
87
+ children: [
88
+ {
89
+ label: "Marketing & Sales MD",
90
+ value: "marketingAndSalesMd",
91
+ id: "marketingMD2",
92
+ },
93
+ {
94
+ label: "Installation Office MD",
95
+ value: "installationOfficeMd",
96
+ id: "installationMD2",
97
+ },
98
+ {
99
+ label: "Warehouse MD",
100
+ value: "warehouseMd",
101
+ id: "warehouseMD2",
102
+ },
103
+ ]
104
+ },
105
+ {
106
+ label: "Connecticut",
107
+ value: "connecticut",
108
+ id: "CT2",
109
+ children: [
110
+ {
111
+ label: "Marketing & Sales CT",
112
+ value: "marketingAndSalesCt",
113
+ id: "marketingCT2",
114
+ },
115
+ {
116
+ label: "Installation Office CT",
117
+ value: "installationOfficeCt",
118
+ id: "installationCT2",
119
+ },
120
+ {
121
+ label: "Warehouse CT",
122
+ value: "warehouseCt",
123
+ id: "warehouseCT2",
124
+ },
125
+ ]
126
+ },
127
+ ] %>
128
+
129
+ <%= pb_rails("multi_level_select", props: {
130
+ id: "multi-level-select-single-disabled-rails",
131
+ name: "single_disabled",
132
+ tree_data: treeData,
133
+ input_name: "Power",
134
+ variant: "single"
135
+ }) %>
@@ -0,0 +1,147 @@
1
+ import React from "react";
2
+ import MultiLevelSelect from "../_multi_level_select";
3
+
4
+ const treeData = [
5
+ {
6
+ label: "HQ",
7
+ value: "hQ",
8
+ id: "hq2",
9
+ },
10
+ {
11
+ label: "Philadelphia",
12
+ value: "philadelphia",
13
+ id: "phl2",
14
+ disabled: true,
15
+ children: [
16
+ {
17
+ label: "Marketing & Sales PHL",
18
+ value: "marketingAndSalesPhl",
19
+ id: "marketingPHL2",
20
+ },
21
+ {
22
+ label: "Installation Office PHL",
23
+ value: "installationOfficePhl",
24
+ id: "installationPHL2",
25
+ },
26
+ {
27
+ label: "Warehouse PHL",
28
+ value: "warehousePhl",
29
+ id: "warehousePHL2",
30
+ },
31
+ ]
32
+ },
33
+ {
34
+ label: "New Jersey",
35
+ value: "newJersey",
36
+ id: "nj2",
37
+ children: [
38
+ {
39
+ label: "New Jersey",
40
+ value: "newJersey",
41
+ id: "nj12",
42
+ children: [
43
+ {
44
+ label: "Marketing & Sales NJ",
45
+ value: "marketingAndSalesNj",
46
+ id: "marketingNJ2",
47
+ disabled: true,
48
+ },
49
+ {
50
+ label: "Installation Office NJ",
51
+ value: "installationOfficeNj",
52
+ id: "installationNJ2",
53
+ },
54
+ {
55
+ label: "Warehouse NJ",
56
+ value: "warehouseNj",
57
+ id: "warehouseNJ2",
58
+ },
59
+ ],
60
+ },
61
+ {
62
+ label: "Princeton",
63
+ value: "princeton",
64
+ id: "princeton2",
65
+ children: [
66
+ {
67
+ label: "Marketing & Sales Princeton",
68
+ value: "marketingAndSalesPrinceton",
69
+ id: "marketingPR2",
70
+ },
71
+ {
72
+ label: "Installation Office Princeton",
73
+ value: "installationOfficePrinceton",
74
+ id: "installationPR2",
75
+ disabled: true,
76
+ },
77
+ {
78
+ label: "Warehouse Princeton",
79
+ value: "warehousePrinceton",
80
+ id: "warehousePR2",
81
+ },
82
+ ]
83
+ },
84
+ ]
85
+ },
86
+ {
87
+ label: "Maryland",
88
+ value: "maryland",
89
+ id: "MD2",
90
+ children: [
91
+ {
92
+ label: "Marketing & Sales MD",
93
+ value: "marketingAndSalesMd",
94
+ id: "marketingMD2",
95
+ },
96
+ {
97
+ label: "Installation Office MD",
98
+ value: "installationOfficeMd",
99
+ id: "installationMD2",
100
+ },
101
+ {
102
+ label: "Warehouse MD",
103
+ value: "warehouseMd",
104
+ id: "warehouseMD2",
105
+ },
106
+ ]
107
+ },
108
+ {
109
+ label: "Connecticut",
110
+ value: "connecticut",
111
+ id: "CT2",
112
+ children: [
113
+ {
114
+ label: "Marketing & Sales CT",
115
+ value: "marketingAndSalesCt",
116
+ id: "marketingCT2",
117
+ },
118
+ {
119
+ label: "Installation Office CT",
120
+ value: "installationOfficeCt",
121
+ id: "installationCT2",
122
+ },
123
+ {
124
+ label: "Warehouse CT",
125
+ value: "warehouseCt",
126
+ id: "warehouseCT2",
127
+ },
128
+ ]
129
+ },
130
+ ];
131
+
132
+ const MultiLevelSelectSingleDisabled = (props) => {
133
+ return (
134
+ <div>
135
+ <MultiLevelSelect
136
+ id="multiselect-single-disabled"
137
+ inputName="Power"
138
+ onSelect={(selectedNode) => console.log("Selected Node", selectedNode)}
139
+ treeData={treeData}
140
+ variant="single"
141
+ {...props}
142
+ />
143
+ </div>
144
+ )
145
+ };
146
+
147
+ export default MultiLevelSelectSingleDisabled;
@@ -0,0 +1 @@
1
+ Individual items can be disabled by including `disabled: true` within the object on the treeData for the `single` variant. Disabled options are visibly disabled in the dropdown UI and cannot be selected via mouse click or keyboard navigation. When a parent node is disabled, all of its children are automatically disabled as well.
@@ -15,6 +15,7 @@ examples:
15
15
  - multi_level_select_disabled_options: Disabled Options (Return All Selected)
16
16
  - multi_level_select_disabled_options_parent_default: Disabled Parent Option (Default)
17
17
  - multi_level_select_disabled_options_parent: Disabled Parent Option (Return All Selected)
18
+ - multi_level_select_single_disabled: Disabled Options (Single Select)
18
19
 
19
20
  react:
20
21
  - multi_level_select_default: Default
@@ -33,3 +34,4 @@ examples:
33
34
  - multi_level_select_disabled_options: Disabled Options (Return All Selected)
34
35
  - multi_level_select_disabled_options_parent_default: Disabled Parent Option (Default)
35
36
  - multi_level_select_disabled_options_parent: Disabled Parent Option (Return All Selected)
37
+ - multi_level_select_single_disabled: Disabled Options (Single Select)
@@ -14,3 +14,4 @@ export { default as MultiLevelSelectDisabledOptionsParent } from './_multi_level
14
14
  export { default as MultiLevelSelectDisabledOptionsParentDefault } from './_multi_level_select_disabled_options_parent_default.jsx'
15
15
  export { default as MultiLevelSelectDisabledOptionsDefault } from './_multi_level_select_disabled_options_default.jsx'
16
16
  export { default as MultiLevelSelectLabel } from './_multi_level_select_label.jsx'
17
+ export { default as MultiLevelSelectSingleDisabled } from './_multi_level_select_single_disabled.jsx'
@@ -2,4 +2,9 @@
2
2
 
3
3
  This kit is a wrapper around the Highcharts library. It applies styling and default settings but does NOT ship Highcharts. Once 'highcharts' and 'highcharts-react-official are installed into your repo, any prop or functionality provided by Highcharts can be used with this kit without requiring specific props from Playbook. The doc examples below showcase a few common usecases but are not a comprehensive list of all the functionalities possible.
4
4
 
5
- See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
5
+ See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
6
+
7
+ **NOTE**: All chart kits are available through a separate entrypoint to keep Highcharts optional. Import them using:
8
+ ```javascript
9
+ import { PbBarGraph } from 'playbook-ui/charts'
10
+ ```
@@ -2,4 +2,9 @@
2
2
 
3
3
  This kit is a wrapper around the Highcharts library. It applies styling and default settings but does NOT ship Highcharts. Once 'highcharts' and 'highcharts-react-official are installed into your repo, any prop or functionality provided by Highcharts can be used with this kit without requiring specific props from Playbook. The doc examples below showcase a few common usecases but are not a comprehensive list of all the functionalities possible.
4
4
 
5
- See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
5
+ See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
6
+
7
+ **NOTE**: All chart kits are available through a separate entrypoint to keep Highcharts optional. Import them using:
8
+ ```javascript
9
+ import { PbCircleChart } from 'playbook-ui/charts'
10
+ ```
@@ -2,4 +2,9 @@
2
2
 
3
3
  This kit is a wrapper around the Highcharts library. It applies styling and default settings but does NOT ship Highcharts. Once 'highcharts' and 'highcharts-react-official are installed into your repo, any prop or functionality provided by Highcharts can be used with this kit without requiring specific props from Playbook. The doc examples below showcase a few common usecases but are not a comprehensive list of all the functionalities possible.
4
4
 
5
- See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
5
+ See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
6
+
7
+ **NOTE**: All chart kits are available through a separate entrypoint to keep Highcharts optional. Import them using:
8
+ ```javascript
9
+ import { PbGaugeChart } from 'playbook-ui/charts'
10
+ ```
@@ -2,4 +2,9 @@
2
2
 
3
3
  This kit is a wrapper around the Highcharts library. It applies styling and default settings but does NOT ship Highcharts. Once 'highcharts' and 'highcharts-react-official are installed into your repo, any prop or functionality provided by Highcharts can be used with this kit without requiring specific props from Playbook. The doc examples below showcase a few common usecases but are not a comprehensive list of all the functionalities possible.
4
4
 
5
- See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
5
+ See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
6
+
7
+ **NOTE**: All chart kits are available through a separate entrypoint to keep Highcharts optional. Import them using:
8
+ ```javascript
9
+ import { PbLineGraph } from 'playbook-ui/charts'
10
+ ```
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: 15.8.0.pre.rc.1
4
+ version: 16.1.0.pre.rc.0
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-01-08 00:00:00.000000000 Z
12
+ date: 2026-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -259,39 +259,6 @@ files:
259
259
  - app/pb_kits/playbook/pb_badge/docs/_description.md
260
260
  - app/pb_kits/playbook/pb_badge/docs/example.yml
261
261
  - app/pb_kits/playbook/pb_badge/docs/index.js
262
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.html.erb
263
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx
264
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.md
265
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.html.erb
266
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md
267
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.html.erb
268
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
269
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.html.erb
270
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx
271
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.md
272
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.html.erb
273
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx
274
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.html.erb
275
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx
276
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.html.erb
277
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx
278
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
279
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx
280
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md
281
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
282
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
283
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.html.erb
284
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx
285
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md
286
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.html.erb
287
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx
288
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.md
289
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.html.erb
290
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
291
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.md
292
- - app/pb_kits/playbook/pb_bar_graph/docs/_description.md
293
- - app/pb_kits/playbook/pb_bar_graph/docs/example.yml
294
- - app/pb_kits/playbook/pb_bar_graph/docs/index.js
295
262
  - app/pb_kits/playbook/pb_body/docs/_body_articles.html.erb
296
263
  - app/pb_kits/playbook/pb_body/docs/_body_articles.jsx
297
264
  - app/pb_kits/playbook/pb_body/docs/_body_articles.md
@@ -451,34 +418,6 @@ files:
451
418
  - app/pb_kits/playbook/pb_checkbox/docs/_description.md
452
419
  - app/pb_kits/playbook/pb_checkbox/docs/example.yml
453
420
  - app/pb_kits/playbook/pb_checkbox/docs/index.js
454
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.html.erb
455
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx
456
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.html.erb
457
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx
458
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_rails.md
459
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md
460
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.html.erb
461
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx
462
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md
463
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.html.erb
464
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx
465
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.html.erb
466
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx
467
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
468
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx
469
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md
470
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx
471
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb
472
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx
473
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
474
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
475
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.html.erb
476
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx
477
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.html.erb
478
- - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
479
- - app/pb_kits/playbook/pb_circle_chart/docs/_description.md
480
- - app/pb_kits/playbook/pb_circle_chart/docs/example.yml
481
- - app/pb_kits/playbook/pb_circle_chart/docs/index.js
482
421
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx
483
422
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.html.erb
484
423
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx
@@ -1172,37 +1111,6 @@ files:
1172
1111
  - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_wrapped.md
1173
1112
  - app/pb_kits/playbook/pb_form_pill/docs/example.yml
1174
1113
  - app/pb_kits/playbook/pb_form_pill/docs/index.js
1175
- - app/pb_kits/playbook/pb_gauge/docs/_description.md
1176
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.html.erb
1177
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.jsx
1178
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_colors_rails.md
1179
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_colors_react.md
1180
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.html.erb
1181
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.jsx
1182
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_complex_rails.md
1183
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_complex_react.md
1184
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_default.html.erb
1185
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_default.jsx
1186
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_disable_animation.html.erb
1187
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_disable_animation.jsx
1188
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_full_circle.html.erb
1189
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_full_circle.jsx
1190
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_height.html.erb
1191
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
1192
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_live_data.jsx
1193
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.html.erb
1194
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx
1195
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.md
1196
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.html.erb
1197
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.jsx
1198
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.md
1199
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_title.html.erb
1200
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_title.jsx
1201
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
1202
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
1203
- - app/pb_kits/playbook/pb_gauge/docs/_gauge_units_react.md
1204
- - app/pb_kits/playbook/pb_gauge/docs/example.yml
1205
- - app/pb_kits/playbook/pb_gauge/docs/index.js
1206
1114
  - app/pb_kits/playbook/pb_hashtag/docs/_description.md
1207
1115
  - app/pb_kits/playbook/pb_hashtag/docs/_footer.md
1208
1116
  - app/pb_kits/playbook/pb_hashtag/docs/_hashtag_default.html.erb
@@ -1410,25 +1318,6 @@ files:
1410
1318
  - app/pb_kits/playbook/pb_lightbox/docs/_lightbox_multiple.md
1411
1319
  - app/pb_kits/playbook/pb_lightbox/docs/example.yml
1412
1320
  - app/pb_kits/playbook/pb_lightbox/docs/index.js
1413
- - app/pb_kits/playbook/pb_line_graph/docs/_description.md
1414
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.html.erb
1415
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.jsx
1416
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors_rails.md
1417
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors_react.md
1418
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.html.erb
1419
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx
1420
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.html.erb
1421
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
1422
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.md
1423
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.html.erb
1424
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx
1425
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.html.erb
1426
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.jsx
1427
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.html.erb
1428
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx
1429
- - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md
1430
- - app/pb_kits/playbook/pb_line_graph/docs/example.yml
1431
- - app/pb_kits/playbook/pb_line_graph/docs/index.js
1432
1321
  - app/pb_kits/playbook/pb_link/docs/_link_color.html.erb
1433
1322
  - app/pb_kits/playbook/pb_link/docs/_link_color.jsx
1434
1323
  - app/pb_kits/playbook/pb_link/docs/_link_disabled.html.erb
@@ -1540,6 +1429,9 @@ files:
1540
1429
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb
1541
1430
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx
1542
1431
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.md
1432
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.html.erb
1433
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.jsx
1434
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.md
1543
1435
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.jsx
1544
1436
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.md
1545
1437
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.jsx
@@ -1,26 +0,0 @@
1
- <% data = [{
2
- name: 'Installation',
3
- data: [1475,200,3000,654,656]
4
- }, {
5
- name: 'Manufacturing',
6
- data: [4434,524,2320,440,500]
7
- }, {
8
- name: 'Sales & Distribution',
9
- data: [3387,743,1344,434,440,]
10
- }, {
11
- name: 'Project Development',
12
- data: [3227,878,999,780,1000]
13
- }, {
14
- name: 'Other',
15
- data: [1111,677,3245,500,200]
16
- }] %>
17
-
18
- <%= pb_rails("bar_graph", props: {
19
- axis_title: 'Number of Employees',
20
- chart_data: data,
21
- id: "bar-colors",
22
- y_axis_min: 0,
23
- x_axis_categories:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],
24
- title: 'Bar Graph with Custom Data Colors',
25
- colors: ['data-4', 'data-5', 'data-6', 'data-7', 'data-8']
26
- }) %>
@@ -1,55 +0,0 @@
1
- import React from 'react'
2
- import colors from '../../tokens/exports/_colors.module.scss'
3
- import barGraphTheme from '../barGraphTheme';
4
- import Highcharts from "highcharts";
5
- import HighchartsReact from "highcharts-react-official";
6
-
7
-
8
-
9
- const chartData = [{
10
- name: 'Installation',
11
- data: [1475, 200, 3000, 654, 656],
12
- }, {
13
- name: 'Manufacturing',
14
- data: [4434, 524, 2320, 440, 500],
15
- }, {
16
- name: 'Sales & Distribution',
17
- data: [3387, 743, 1344, 434, 440],
18
- }, {
19
- name: 'Project Development',
20
- data: [3227, 878, 999, 780, 1000],
21
- }, {
22
- name: 'Other',
23
- data: [1111, 677, 3245, 500, 200],
24
- }]
25
-
26
- const chartOptions = {
27
- series: chartData,
28
- title: {
29
- text: "Bar Graph with Custom Data Colors",
30
- },
31
- xAxis: {
32
- categories: ["Jan", "Feb", "Mar", "Apr", "May"],
33
- },
34
- yAxis: {
35
- title: {
36
- text: "Number of Employees",
37
- },
38
- },
39
- colors: [colors.data_4, colors.data_5, colors.data_6, colors.data_7, colors.data_8],
40
- }
41
-
42
- const BarGraphColors = () => {
43
- const options = Highcharts.merge({}, barGraphTheme, chartOptions)
44
-
45
- return (
46
- <div>
47
- <HighchartsReact
48
- highcharts={Highcharts}
49
- options={options}
50
- />
51
- </div>
52
- )
53
- }
54
-
55
- export default BarGraphColors
@@ -1,2 +0,0 @@
1
- Custom data `colors` allow for color customization to match the needs of business requirements.
2
- Pass the prop colors and use desired values `data-1 | data-2 | data-3 | data-4 | data-5 | data-6 | data-7 | data-8` in an array. Hex colors are also available `eg: #CA0095`
@@ -1,42 +0,0 @@
1
- <% data = [{
2
- name: 'Role',
3
- data: [0, 200, 300, 654, 656],
4
- }, {
5
- name: 'Company',
6
- data: [150, 524, 320, 440, 500],
7
- }] %>
8
-
9
- <% bar_graph_options = {
10
- customOptions: {
11
- yAxis: {
12
- tickInterval: 5,
13
- },
14
- xAxis: {
15
- categories: [
16
- raw(pb_rails("icon", props: { icon: "frown", color: "error", size: "2x" })),
17
- raw(pb_rails("icon", props: { icon: "frown", color: "warning", size: "2x" })),
18
- raw(pb_rails("icon", props: { icon: "frown-open", color: "neutral", size: "2x" })),
19
- raw(pb_rails("icon", props: { icon: "smile", color: "category_7", size: "2x" })),
20
- raw(pb_rails("icon", props: { icon: "smile-beam", color: "success", size: "2x" }))
21
- ],
22
- labels: {
23
- useHTML: true,
24
- sytle: {
25
- fontSize: '1.4em',
26
- },
27
- y: 42,
28
- },
29
- },
30
- legend: {
31
- itemMarginTop: 62,
32
- },
33
- }
34
- } %>
35
-
36
- <%= pb_rails("bar_graph", props: {
37
- chart_data: data,
38
- id: "bar-default",
39
- legend: true,
40
- title: 'Bar Graph with Custom Overrides',
41
- custom_options: bar_graph_options
42
- }) %>