playbook_ui 15.5.0.pre.alpha.draggablefix12589 → 15.5.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 (177) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +6 -96
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx +1 -2
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.jsx +1 -1
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_fullscreen.jsx +1 -3
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_infinite_scroll.jsx +1 -1
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_editing.jsx +1 -3
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.jsx +1 -2
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.html.erb +1 -1
  10. data/app/pb_kits/playbook/pb_bar_graph/BarGraphStyles.scss +58 -0
  11. data/app/pb_kits/playbook/pb_copy_button/_copy_button.tsx +8 -21
  12. data/app/pb_kits/playbook/pb_copy_button/copy_button.html.erb +2 -6
  13. data/app/pb_kits/playbook/pb_copy_button/copy_button.rb +0 -3
  14. data/app/pb_kits/playbook/pb_copy_button/copy_button.test.jsx +0 -24
  15. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.html.erb +2 -2
  16. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.jsx +2 -1
  17. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.html.erb +2 -2
  18. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.jsx +0 -2
  19. data/app/pb_kits/playbook/pb_copy_button/docs/example.yml +0 -2
  20. data/app/pb_kits/playbook/pb_copy_button/docs/index.js +0 -1
  21. data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.html.erb +0 -10
  22. data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx +0 -10
  23. data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.html.erb +0 -7
  24. data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.jsx +0 -7
  25. data/app/pb_kits/playbook/pb_currency/docs/_description.md +2 -2
  26. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +3 -44
  27. data/app/pb_kits/playbook/pb_date_time/_date_time.tsx +0 -3
  28. data/app/pb_kits/playbook/pb_date_time/date_time.html.erb +0 -1
  29. data/app/pb_kits/playbook/pb_date_time/date_time.rb +0 -1
  30. data/app/pb_kits/playbook/pb_date_time/docs/example.yml +1 -3
  31. data/app/pb_kits/playbook/pb_date_time/docs/index.js +0 -1
  32. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.tsx +0 -3
  33. data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.html.erb +2 -2
  34. data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.rb +0 -2
  35. data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.test.js +0 -33
  36. data/app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml +1 -3
  37. data/app/pb_kits/playbook/pb_date_time_stacked/docs/index.js +0 -1
  38. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.html.erb +2 -2
  39. data/app/pb_kits/playbook/pb_draggable/context/index.tsx +6 -156
  40. data/app/pb_kits/playbook/pb_draggable/context/types.ts +3 -8
  41. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +2 -3
  42. data/app/pb_kits/playbook/pb_draggable/docs/index.js +1 -2
  43. data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +1 -77
  44. data/app/pb_kits/playbook/pb_dropdown/index.js +13 -31
  45. data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_alignment.jsx +1 -2
  46. data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_default.jsx +1 -2
  47. data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_orientation.jsx +1 -2
  48. data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_size.jsx +1 -2
  49. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_wrapped.jsx +1 -4
  50. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.jsx +1 -1
  51. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_description.md +1 -3
  52. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_colors.jsx +1 -1
  53. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.jsx +1 -1
  54. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.jsx +1 -1
  55. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_horizontal.jsx +1 -1
  56. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend.jsx +1 -1
  57. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_non_clickable.jsx +2 -1
  58. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.html.erb +1 -1
  59. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.jsx +1 -1
  60. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_negative_numbers.jsx +1 -1
  61. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_secondary_y_axis.jsx +1 -1
  62. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_spline.jsx +2 -1
  63. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_stacked.jsx +2 -1
  64. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_description.md +1 -3
  65. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_block_content.jsx +1 -2
  66. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_color_overrides.jsx +1 -2
  67. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_custom_tooltip.jsx +1 -1
  68. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_custom_tooltip.md +1 -2
  69. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_legend_position.jsx +1 -2
  70. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_labels.jsx +1 -1
  71. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_legend.jsx +1 -1
  72. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.jsx +1 -1
  73. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_inner_sizes.jsx +1 -1
  74. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_live_data.jsx +1 -2
  75. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_rounded.jsx +1 -1
  76. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_with_title.jsx +1 -1
  77. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_description.md +1 -3
  78. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_color.jsx +1 -1
  79. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_color.md +2 -2
  80. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_complex.jsx +1 -2
  81. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_full_circle.jsx +1 -2
  82. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_height.jsx +1 -2
  83. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_min_max.jsx +1 -2
  84. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_units.jsx +1 -2
  85. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_description.md +1 -3
  86. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.jsx +1 -1
  87. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_position.html.erb +1 -1
  88. data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to.jsx +1 -4
  89. data/app/pb_kits/playbook/pb_progress_step/_progress_step.scss +262 -384
  90. data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +5 -1
  91. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +1 -4
  92. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +3 -14
  93. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb +7 -1
  94. data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +0 -3
  95. data/app/pb_kits/playbook/pb_progress_step/docs/index.js +0 -2
  96. data/app/pb_kits/playbook/pb_progress_step/progress_step.test.js +0 -41
  97. data/app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.jsx +1 -3
  98. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.tsx +1 -1
  99. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +61 -8
  100. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default_rails.md +7 -0
  101. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.html.erb +10 -2
  102. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline_rails.md +1 -0
  103. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.html.erb +19 -11
  104. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_simple.html.erb +5 -1
  105. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.html.erb +1 -1
  106. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky_rails.md +1 -0
  107. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +2 -2
  108. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.rb +16 -7
  109. data/app/pb_kits/playbook/pb_select/docs/_select_react_hook.jsx +1 -3
  110. data/app/pb_kits/playbook/pb_table/_table.tsx +26 -28
  111. data/app/pb_kits/playbook/pb_table/styles/_vertical_border.scss +0 -49
  112. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_sizing.jsx +1 -4
  113. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +0 -4
  114. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +0 -1
  115. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx +1 -2
  116. data/app/pb_kits/playbook/pb_user/docs/_user_font_options.jsx +1 -1
  117. data/app/pb_kits/playbook/utilities/_truncate.scss +0 -2
  118. data/app/pb_kits/playbook/utilities/globalProps.ts +8 -26
  119. data/app/pb_kits/playbook/utilities/test/globalProps/alignContent.test.js +0 -18
  120. data/app/pb_kits/playbook/utilities/test/globalProps/alignItems.test.js +0 -18
  121. data/app/pb_kits/playbook/utilities/test/globalProps/alignSelf.test.js +0 -18
  122. data/app/pb_kits/playbook/utilities/test/globalProps/display.test.js +0 -18
  123. data/app/pb_kits/playbook/utilities/test/globalProps/flex.test.js +0 -18
  124. data/app/pb_kits/playbook/utilities/test/globalProps/flexDirection.test.js +0 -18
  125. data/app/pb_kits/playbook/utilities/test/globalProps/flexGrow.test.js +0 -18
  126. data/app/pb_kits/playbook/utilities/test/globalProps/flexShrink.test.js +0 -18
  127. data/app/pb_kits/playbook/utilities/test/globalProps/flexWrap.test.js +0 -18
  128. data/app/pb_kits/playbook/utilities/test/globalProps/justifyContent.test.js +0 -18
  129. data/app/pb_kits/playbook/utilities/test/globalProps/justifySelf.test.js +0 -18
  130. data/app/pb_kits/playbook/utilities/test/globalProps/order.test.js +0 -18
  131. data/dist/chunks/_line_graph-eQNOB_GQ.js +1 -0
  132. data/dist/chunks/_typeahead-vbfetkuE.js +24 -0
  133. data/dist/chunks/_weekday_stacked-CvJHyUq6.js +37 -0
  134. data/dist/chunks/componentRegistry-DzmmLR2x.js +1 -0
  135. data/dist/chunks/lib-BCrK6CFU.js +29 -0
  136. data/dist/chunks/pb_form_validation-Cj4vdjWI.js +1 -0
  137. data/dist/chunks/vendor.js +1 -37
  138. data/dist/playbook-doc.js +1 -0
  139. data/dist/playbook-rails-react-bindings.js +1 -1
  140. data/dist/playbook-rails.js +1 -1
  141. data/dist/playbook.css +1 -1
  142. data/lib/playbook/version.rb +2 -2
  143. metadata +13 -36
  144. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.html.erb +0 -9
  145. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.jsx +0 -24
  146. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_rails.md +0 -1
  147. data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_react.md +0 -1
  148. data/app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.md +0 -1
  149. data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_rails.md +0 -1
  150. data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_react.md +0 -1
  151. data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.md +0 -1
  152. data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_rails.md +0 -1
  153. data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_react.md +0 -1
  154. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.html.erb +0 -4
  155. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.jsx +0 -14
  156. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_rails.md +0 -1
  157. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_react.md +0 -1
  158. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.html.erb +0 -4
  159. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.jsx +0 -22
  160. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.md +0 -1
  161. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.jsx +0 -180
  162. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.md +0 -20
  163. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.md +0 -1
  164. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.md +0 -11
  165. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.md +0 -1
  166. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_default.md +0 -1
  167. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_default.md +0 -1
  168. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.html.erb +0 -14
  169. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.jsx +0 -29
  170. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.md +0 -3
  171. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.jsx +0 -31
  172. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.md +0 -1
  173. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.md +0 -3
  174. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.md +0 -3
  175. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.md +0 -1
  176. data/dist/chunks/_typeahead-DUmTKJUc.js +0 -6
  177. data/dist/chunks/lib-CgpqUb6l.js +0 -29
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "15.5.0"
5
- VERSION = "15.5.0.pre.alpha.draggablefix12589"
4
+ PREVIOUS_VERSION = "15.4.0"
5
+ VERSION = "15.5.0.pre.rc.0"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.5.0.pre.alpha.draggablefix12589
4
+ version: 15.5.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: 2025-11-25 00:00:00.000000000 Z
12
+ date: 2025-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -524,6 +524,7 @@ files:
524
524
  - app/pb_kits/playbook/pb_badge/docs/_description.md
525
525
  - app/pb_kits/playbook/pb_badge/docs/example.yml
526
526
  - app/pb_kits/playbook/pb_badge/docs/index.js
527
+ - app/pb_kits/playbook/pb_bar_graph/BarGraphStyles.scss
527
528
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.scss
528
529
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx
529
530
  - app/pb_kits/playbook/pb_bar_graph/barGraph.test.js
@@ -902,10 +903,6 @@ files:
902
903
  - app/pb_kits/playbook/pb_copy_button/copy_button.html.erb
903
904
  - app/pb_kits/playbook/pb_copy_button/copy_button.rb
904
905
  - app/pb_kits/playbook/pb_copy_button/copy_button.test.jsx
905
- - app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.html.erb
906
- - app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.jsx
907
- - app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_rails.md
908
- - app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_react.md
909
906
  - app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.html.erb
910
907
  - app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.jsx
911
908
  - app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.html.erb
@@ -926,7 +923,6 @@ files:
926
923
  - app/pb_kits/playbook/pb_currency/currency.test.js
927
924
  - app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.html.erb
928
925
  - app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.jsx
929
- - app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.md
930
926
  - app/pb_kits/playbook/pb_currency/docs/_currency_alignment.html.erb
931
927
  - app/pb_kits/playbook/pb_currency/docs/_currency_alignment.jsx
932
928
  - app/pb_kits/playbook/pb_currency/docs/_currency_alignment_swift.md
@@ -935,15 +931,10 @@ files:
935
931
  - app/pb_kits/playbook/pb_currency/docs/_currency_comma_separator.md
936
932
  - app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals.html.erb
937
933
  - app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals.jsx
938
- - app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_rails.md
939
- - app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_react.md
940
934
  - app/pb_kits/playbook/pb_currency/docs/_currency_negative.html.erb
941
935
  - app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx
942
- - app/pb_kits/playbook/pb_currency/docs/_currency_negative.md
943
936
  - app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.html.erb
944
937
  - app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx
945
- - app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_rails.md
946
- - app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_react.md
947
938
  - app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb
948
939
  - app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx
949
940
  - app/pb_kits/playbook/pb_currency/docs/_currency_null_display_rails.md
@@ -1179,10 +1170,6 @@ files:
1179
1170
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
1180
1171
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_default_swift.md
1181
1172
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_props_swift.md
1182
- - app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.html.erb
1183
- - app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.jsx
1184
- - app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_rails.md
1185
- - app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_react.md
1186
1173
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_size.html.erb
1187
1174
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_size.jsx
1188
1175
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_size_swift.md
@@ -1198,9 +1185,6 @@ files:
1198
1185
  - app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default.jsx
1199
1186
  - app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default_swift.md
1200
1187
  - app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_props_swift.md
1201
- - app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.html.erb
1202
- - app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.jsx
1203
- - app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.md
1204
1188
  - app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml
1205
1189
  - app/pb_kits/playbook/pb_date_time_stacked/docs/index.js
1206
1190
  - app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.scss
@@ -1330,8 +1314,6 @@ files:
1330
1314
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_event_listeners_react.md
1331
1315
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.html.erb
1332
1316
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx
1333
- - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.jsx
1334
- - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.md
1335
1317
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_rails.md
1336
1318
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_react.md
1337
1319
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.html.erb
@@ -2468,7 +2450,6 @@ files:
2468
2450
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_colors_react.md
2469
2451
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.html.erb
2470
2452
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.jsx
2471
- - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.md
2472
2453
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.html.erb
2473
2454
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.jsx
2474
2455
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.md
@@ -2479,7 +2460,6 @@ files:
2479
2460
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_non_clickable.jsx
2480
2461
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.html.erb
2481
2462
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.jsx
2482
- - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.md
2483
2463
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_negative_numbers.html.erb
2484
2464
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_negative_numbers.jsx
2485
2465
  - app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_secondary_y_axis.html.erb
@@ -2515,7 +2495,6 @@ files:
2515
2495
  - app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_legend.jsx
2516
2496
  - app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.html.erb
2517
2497
  - app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.jsx
2518
- - app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.md
2519
2498
  - app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_inner_sizes.html.erb
2520
2499
  - app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_inner_sizes.jsx
2521
2500
  - app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_live_data.jsx
@@ -2540,7 +2519,6 @@ files:
2540
2519
  - app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_complex.md
2541
2520
  - app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_default.html.erb
2542
2521
  - app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_default.jsx
2543
- - app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_default.md
2544
2522
  - app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_disable_animation.html.erb
2545
2523
  - app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_disable_animation.jsx
2546
2524
  - app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_full_circle.html.erb
@@ -2573,7 +2551,6 @@ files:
2573
2551
  - app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.md
2574
2552
  - app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_default.html.erb
2575
2553
  - app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_default.jsx
2576
- - app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_default.md
2577
2554
  - app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_height.html.erb
2578
2555
  - app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_height.jsx
2579
2556
  - app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_height.md
@@ -2751,23 +2728,15 @@ files:
2751
2728
  - app/pb_kits/playbook/pb_progress_step/_progress_step.tsx
2752
2729
  - app/pb_kits/playbook/pb_progress_step/_progress_step_item.tsx
2753
2730
  - app/pb_kits/playbook/pb_progress_step/docs/_description.md
2754
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.html.erb
2755
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.jsx
2756
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.md
2757
2731
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.html.erb
2758
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.jsx
2759
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.md
2760
2732
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb
2761
2733
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx
2762
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.md
2763
2734
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tooltip.html.erb
2764
2735
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.html.erb
2765
2736
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx
2766
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.md
2767
2737
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker_click_events.jsx
2768
2738
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb
2769
2739
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx
2770
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.md
2771
2740
  - app/pb_kits/playbook/pb_progress_step/docs/example.yml
2772
2741
  - app/pb_kits/playbook/pb_progress_step/docs/index.js
2773
2742
  - app/pb_kits/playbook/pb_progress_step/progress_step.html.erb
@@ -2843,10 +2812,12 @@ files:
2843
2812
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.jsx
2844
2813
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.html.erb
2845
2814
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
2815
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default_rails.md
2846
2816
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.html.erb
2847
2817
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.jsx
2848
2818
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.html.erb
2849
2819
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.jsx
2820
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline_rails.md
2850
2821
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_more_extensions.jsx
2851
2822
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_more_extensions.md
2852
2823
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.html.erb
@@ -2855,6 +2826,7 @@ files:
2855
2826
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_simple.jsx
2856
2827
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.html.erb
2857
2828
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.jsx
2829
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky_rails.md
2858
2830
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.html.erb
2859
2831
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.jsx
2860
2832
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.html.erb
@@ -3855,11 +3827,16 @@ files:
3855
3827
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3856
3828
  - app/pb_kits/playbook/utilities/text.ts
3857
3829
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3858
- - dist/chunks/_typeahead-DUmTKJUc.js
3830
+ - dist/chunks/_line_graph-eQNOB_GQ.js
3831
+ - dist/chunks/_typeahead-vbfetkuE.js
3832
+ - dist/chunks/_weekday_stacked-CvJHyUq6.js
3833
+ - dist/chunks/componentRegistry-DzmmLR2x.js
3859
3834
  - dist/chunks/lazysizes-B7xYodB-.js
3860
- - dist/chunks/lib-CgpqUb6l.js
3835
+ - dist/chunks/lib-BCrK6CFU.js
3836
+ - dist/chunks/pb_form_validation-Cj4vdjWI.js
3861
3837
  - dist/chunks/vendor.js
3862
3838
  - dist/menu.yml
3839
+ - dist/playbook-doc.js
3863
3840
  - dist/playbook-rails-react-bindings.js
3864
3841
  - dist/playbook-rails.js
3865
3842
  - dist/playbook.css
@@ -1,9 +0,0 @@
1
- <%= pb_rails("copy_button", props: {
2
- text: "Copy Text",
3
- tooltip_position: "right",
4
- tooltip_text: "Text copied!",
5
- value: "Playbook makes it easy to support bleeding edge, or legacy systems. Use Playbook's 200+ components and end-to-end design language to create simple, intuitive and beautiful experiences with ease.",
6
- variant: "button",
7
- }) %>
8
-
9
- <%= pb_rails("textarea", props: { margin_top: "xs", placeholder: "Copy and paste here" }) %>
@@ -1,24 +0,0 @@
1
- import React from 'react'
2
-
3
- import CopyButton from '../_copy_button'
4
- import Textarea from '../../pb_textarea/_textarea'
5
-
6
- const CopyButtonVariant = (props) => (
7
- <div>
8
- <CopyButton
9
- {...props}
10
- text="Copy Text"
11
- tooltipPlacement="right"
12
- tooltipText="Text copied!"
13
- value="Playbook makes it easy to support bleeding edge, or legacy systems. Use Playbook’s 200+ components and end-to-end design language to create simple, intuitive and beautiful experiences with ease."
14
- variant="button"
15
- />
16
-
17
- <Textarea
18
- {...props}
19
- placeholder="Copy and paste here"
20
- />
21
- </div>
22
- )
23
-
24
- export default CopyButtonVariant
@@ -1 +0,0 @@
1
- Pass in `variant: "button"` to replace the Circle Icon Button with the Button kit. Set the button's text with the `text` prop.
@@ -1 +0,0 @@
1
- Pass in `variant="button"` to replace the Circle Icon Button with the Button kit. Set the button's text with the `text` prop.
@@ -1 +0,0 @@
1
- Abbreviate larger amounts into thousands (K), millions (M), billions (B), and even trillions (T).
@@ -1 +0,0 @@
1
- Use `decimals: "matching"` when you want the full decimal amount displayed as a single number rather than split visually.
@@ -1 +0,0 @@
1
- Use `decimals="matching"` when you want the full decimal amount displayed as a single number rather than split visually.
@@ -1 +0,0 @@
1
- Small `Currency` kits have the negative sign on the lefthand side of the "$" symbol.
@@ -1 +0,0 @@
1
- Remove the "$" symbol by setting an empty string: `symbol: ""`.
@@ -1 +0,0 @@
1
- Remove the "$" symbol by setting an empty string: `symbol=""`.
@@ -1,4 +0,0 @@
1
- <%= pb_rails("date_time", props: {
2
- date: DateTime.now,
3
- show_current_year: true
4
- }) %>
@@ -1,14 +0,0 @@
1
- import React from 'react'
2
- import DateTime from '../_date_time'
3
-
4
- const DateTimeShowCurrentYear = (props) => (
5
- <div>
6
- <DateTime
7
- datetime={new Date()}
8
- showCurrentYear
9
- {...props}
10
- />
11
- </div>
12
- )
13
-
14
- export default DateTimeShowCurrentYear
@@ -1 +0,0 @@
1
- Pass in `show_current_year` to show this date's current year.
@@ -1 +0,0 @@
1
- Pass in `showCurrentYear` to show this date's current year.
@@ -1,4 +0,0 @@
1
- <%= pb_rails("date_time_stacked", props: { date_time: DateTime.now, show_current_year: true }) %>
2
- <br>
3
- <%= pb_rails("date_time_stacked", props: { date_time: DateTime.now, show_current_year: true, timezone: "America/Denver" }) %>
4
-
@@ -1,22 +0,0 @@
1
- import React from 'react'
2
-
3
- import DateTimeStacked from '../_date_time_stacked'
4
-
5
- const DateTimeStackedShowCurrentYear = (props) => (
6
- <div>
7
- <DateTimeStacked
8
- datetime={new Date()}
9
- showCurrentYear
10
- {...props}
11
- />
12
- <br />
13
- <DateTimeStacked
14
- datetime={new Date()}
15
- showCurrentYear
16
- timeZone="America/Denver"
17
- {...props}
18
- />
19
- </div>
20
- );
21
-
22
- export default DateTimeStackedShowCurrentYear;
@@ -1 +0,0 @@
1
- By default, the Date Time Stacked kit does NOT display the year if it is the current year. If you want to display the current year you can do so by setting `showCurrentYear`/`show_current_year` to true as shown here.
@@ -1,180 +0,0 @@
1
- import React, { useState } from "react";
2
-
3
- import Flex from '../../pb_flex/_flex'
4
- import Draggable from '../../pb_draggable/_draggable'
5
- import { DraggableProvider } from '../../pb_draggable/context'
6
- import Badge from '../../pb_badge/_badge'
7
- import Title from '../../pb_title/_title'
8
- import Caption from '../../pb_caption/_caption'
9
- import Card from '../../pb_card/_card'
10
- import FlexItem from '../../pb_flex/_flex_item'
11
- import Avatar from '../../pb_avatar/_avatar'
12
- import Body from '../../pb_body/_body'
13
-
14
- // Initial groups to drag between
15
- const containers = ["To Do", "In Progress", "Done"];
16
-
17
- // Initial items to be dragged
18
- const data = [
19
- {
20
- id: "11",
21
- container: "To Do",
22
- title: "Task 1",
23
- description: "Bug fixes",
24
- assignee_name: "Terry Miles",
25
- assignee_img: "https://randomuser.me/api/portraits/men/44.jpg",
26
- },
27
- {
28
- id: "12",
29
- container: "To Do",
30
- title: "Task 2",
31
- description: "Documentation",
32
- assignee_name: "Sophia Miles",
33
- assignee_img: "https://randomuser.me/api/portraits/women/8.jpg",
34
- },
35
- {
36
- id: "13",
37
- container: "In Progress",
38
- title: "Task 3",
39
- description: "Add a variant",
40
- assignee_name: "Alice Jones",
41
- assignee_img: "https://randomuser.me/api/portraits/women/10.jpg",
42
- },
43
- {
44
- id: "14",
45
- container: "To Do",
46
- title: "Task 4",
47
- description: "Add jest tests",
48
- assignee_name: "Mike James",
49
- assignee_img: "https://randomuser.me/api/portraits/men/8.jpg",
50
- },
51
- {
52
- id: "15",
53
- container: "Done",
54
- title: "Task 5",
55
- description: "Alpha testing",
56
- assignee_name: "James Guy",
57
- assignee_img: "https://randomuser.me/api/portraits/men/18.jpg",
58
- },
59
- {
60
- id: "16",
61
- container: "In Progress",
62
- title: "Task 6",
63
- description: "Release",
64
- assignee_name: "Sally Jones",
65
- assignee_img: "https://randomuser.me/api/portraits/women/28.jpg",
66
- },
67
- ];
68
-
69
- const DraggableMultipleContainersDropzone = (props) => {
70
- const [initialState, setInitialState] = useState(data);
71
-
72
- const badgeProperties = (container) => {
73
- switch (container) {
74
- case "To Do":
75
- return { text: "queue", color: "warning" };
76
- case "In Progress":
77
- return { text: "progress", color: "primary" };
78
- default:
79
- return { text: "done", color: "success" };
80
- }
81
- };
82
-
83
- return (
84
- <DraggableProvider
85
- dropZone={{type: "outline"}}
86
- enableCrossContainerPreview
87
- initialItems={data}
88
- onDragEnd={(draggedItemId, finalContainer, originalContainer, itemAbove, itemBelow) => {
89
- console.log(`Dragged Item ID: ${draggedItemId}`);
90
- console.log(`Final Container: ${finalContainer}`);
91
- console.log(`Original Container: ${originalContainer}`);
92
- console.log('Item Above:', itemAbove);
93
- console.log('Item Below:', itemBelow);
94
- }}
95
- onDrop={(draggedItemId, droppedContainer, originalContainer, item, itemAbove, itemBelow) => {
96
- console.log(`Dragged Item ID: ${draggedItemId}`);
97
- console.log(`Dropped Container: ${droppedContainer}`);
98
- console.log(`Original Container: ${originalContainer}`);
99
- console.log('Dropped Item:', item);
100
- console.log('Item Above:', itemAbove);
101
- console.log('Item Below:', itemBelow);
102
- }}
103
- onReorder={(items) => setInitialState(items)}
104
- >
105
- <Flex
106
- justifyContent="center"
107
- {...props}
108
- >
109
- {containers?.map((container) => (
110
- <Draggable.Container
111
- container={container}
112
- htmlOptions={{style:{ width: "200px", height: "70vh"}}}
113
- key={container}
114
- padding="sm"
115
- >
116
- <Caption textAlign="center">{container}</Caption>
117
- <Flex
118
- alignItems="stretch"
119
- gap="sm"
120
- orientation="column"
121
- >
122
- {initialState
123
- .filter((item) => item.container === container)
124
- .map(
125
- ({
126
- assignee_img,
127
- assignee_name,
128
- description,
129
- id,
130
- title,
131
- }) => (
132
- <Draggable.Item
133
- container={container}
134
- dragId={id}
135
- key={id}
136
- >
137
- <Card
138
- padding="sm"
139
- {...props}
140
- >
141
- <Flex justify="between">
142
- <FlexItem>
143
- <Flex>
144
- <Avatar
145
- imageUrl={assignee_img}
146
- name={assignee_name}
147
- size="xxs"
148
- />
149
- <Title paddingLeft="xs"
150
- size={4}
151
- text={title}
152
- {...props}
153
- />
154
- </Flex>
155
- </FlexItem>
156
- <Badge
157
- marginLeft="sm"
158
- rounded
159
- text={badgeProperties(container).text}
160
- variant={badgeProperties(container).color}
161
- {...props}
162
- />
163
- </Flex>
164
- <Body paddingTop="xs"
165
- text={description}
166
- {...props}
167
- />
168
- </Card>
169
- </Draggable.Item>
170
- )
171
- )}
172
- </Flex>
173
- </Draggable.Container>
174
- ))}
175
- </Flex>
176
- </DraggableProvider>
177
- );
178
- };
179
-
180
- export default DraggableMultipleContainersDropzone;
@@ -1,20 +0,0 @@
1
- The multiple container functionality also supports customized dropzone styling as shown here.
2
-
3
- In addition to this, the `onDrop` and `onDragEnd` event listeners provide several arguments to allow developers more context from the drag event.
4
-
5
- The `onDrop` callback is triggered when an item is successfully dropped into a container. It provides the following arguments:
6
-
7
- - `draggedItemId` - The ID of the item that was dragged
8
- - `droppedContainer` - The container where the item was dropped
9
- - `originalContainer` - The container where the drag started
10
- - `item` - The complete item object with all properties (including the updated container)
11
- - `itemAbove` - The item directly above the dropped item in the final position (null if at the top)
12
- - `itemBelow` - The item directly below the dropped item in the final position (null if at the bottom)
13
-
14
- The `onDragEnd` callback is triggered when a drag operation ends, whether it was dropped or cancelled. It provides the following arguments:
15
-
16
- - `draggedItemId` - The ID of the item that was dragged
17
- - `finalContainer` - The container where the item ended up (could be same as original if drag was cancelled)
18
- - `originalContainer` - The container where the drag started
19
- - `itemAbove` - The item directly above the dragged item in the final position (null if at the top)
20
- - `itemBelow` - The item directly below the dragged item in the final position (null if at the bottom)
@@ -1 +0,0 @@
1
- In order to use this kit, 'highcharts' and 'highcharts-react-official' must be installed in your repo.
@@ -1,11 +0,0 @@
1
- Highcharts provides many options for customizing the legend display. This example showcases the following:
2
-
3
- `align` can be used to align the legend left, right or center (defaults to center)
4
-
5
- `verticalAlign` can be used to place the legend above the graph. Options are top, middle, bottom with default set to bottom
6
-
7
- `layout` determines the position of the legend items. Options are horizontal, vertical or proximate with default set to horizontal `layout: proximate` will place the legend items as close as possible to the graphs they're representing. It will also determine whether to place the legend above/below or on the side of the plot area, if the legend is in a corner.
8
-
9
- `x` offsets the legend relative to its horizontal alignment. Negative x moves it to the left, positive x moves it to the right (defaults to 0)
10
-
11
- `y` offsets the legend relative to its vertical alignment. Negative y moves it up, positive y moves it down (defaults to 0)
@@ -1 +0,0 @@
1
- In order to use this kit, 'highcharts' and 'highcharts-react-official' must be installed in your repo.
@@ -1 +0,0 @@
1
- In order to use this kit, 'highcharts' and 'highcharts-react-official' must be installed in your repo.
@@ -1 +0,0 @@
1
- In order to use this kit, 'highcharts' and 'highcharts-react-official' must be installed in your repo.
@@ -1,14 +0,0 @@
1
- <br><br>
2
- <%= pb_rails("progress_step",props:{ variant:"tracker", icon:true, color: "info"}) do %>
3
- <%= pb_rails("progress_step/progress_step_item", props: {status: "complete"}) do %>
4
- <%= pb_rails("caption", props:{text: "Ordered"})%>
5
- <% end %>
6
- <%= pb_rails("progress_step/progress_step_item", props: {status: "active"}) do %>
7
- <%= pb_rails("caption", props:{text: "Shipped"})%>
8
- <% end %>
9
- <%= pb_rails("progress_step/progress_step_item", props: {status: "inactive"}) do %>
10
- <%= pb_rails("caption", props:{text: "Delivered"})%>
11
- <% end %>
12
- <% end %>
13
-
14
- <br>
@@ -1,29 +0,0 @@
1
- import React from 'react'
2
-
3
- import ProgressStep from '../_progress_step.tsx'
4
- import ProgressStepItem from '../_progress_step_item.tsx'
5
- import Caption from '../../pb_caption/_caption'
6
-
7
- const ProgressStepColor = (props) => (
8
- <div>
9
- <br />
10
- <ProgressStep
11
- color="info"
12
- icon
13
- variant="tracker"
14
- {...props}
15
- >
16
- <ProgressStepItem status="complete">
17
- <Caption>{'Ordered'}</Caption>
18
- </ProgressStepItem>
19
- <ProgressStepItem status="active">
20
- <Caption>{'Shipped'}</Caption>
21
- </ProgressStepItem>
22
- <ProgressStepItem status="inactive">
23
- <Caption>{'Delivered'}</Caption>
24
- </ProgressStepItem>
25
- </ProgressStep>
26
- </div>
27
- )
28
-
29
- export default ProgressStepColor
@@ -1,3 +0,0 @@
1
- The `color` prop can also be used to set color for the tracker variant. Options for color are `primary` and `info` with default being set to `primary`.
2
-
3
- **NOTE**: The `color` prop is only available with the `tracker` variant.
@@ -1,31 +0,0 @@
1
- import React from 'react'
2
-
3
- import ProgressStep from '../_progress_step.tsx'
4
- import ProgressStepItem from '../_progress_step_item.tsx'
5
- import Caption from '../../pb_caption/_caption'
6
-
7
- const ProgressStepCustomIcon = (props) => (
8
- <div>
9
- <br />
10
- <ProgressStep
11
- icon
12
- variant="tracker"
13
- {...props}
14
- >
15
- <ProgressStepItem status="complete">
16
- <Caption>{'Ordered'}</Caption>
17
- </ProgressStepItem>
18
- <ProgressStepItem
19
- icon="exclamation-triangle"
20
- status="active"
21
- >
22
- <Caption>{'Shipped'}</Caption>
23
- </ProgressStepItem>
24
- <ProgressStepItem status="inactive">
25
- <Caption>{'Delivered'}</Caption>
26
- </ProgressStepItem>
27
- </ProgressStep>
28
- </div>
29
- )
30
-
31
- export default ProgressStepCustomIcon
@@ -1 +0,0 @@
1
- Custom icons can also be set for individual steps. Simply use the `icon` prop for the relevant `ProgressStepItem`/`progress_step_item` as shown here.