playbook_ui 11.11.0 → 11.13.0.pre.alpha.fileupload1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/index.js +2 -0
  3. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.jsx +21 -1
  4. data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +17 -1
  5. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb +62 -0
  6. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx +86 -0
  7. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md +17 -0
  8. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +2 -0
  9. data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +1 -0
  10. data/app/pb_kits/playbook/pb_button/_button.scss +6 -0
  11. data/app/pb_kits/playbook/pb_button/docs/_button_default.html.erb +4 -4
  12. data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +18 -17
  13. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.jsx +15 -0
  14. data/app/pb_kits/playbook/pb_circle_chart/circle_chart.rb +16 -0
  15. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb +86 -0
  16. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +114 -0
  17. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md +17 -0
  18. data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +2 -0
  19. data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +1 -0
  20. data/app/pb_kits/playbook/pb_date_picker/date_picker.test.js +50 -50
  21. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.jsx +1 -0
  22. data/app/pb_kits/playbook/pb_date_picker/plugins/timeSelect.ts +89 -89
  23. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_time_selection_styles.scss +15 -0
  24. data/app/pb_kits/playbook/pb_dialog/_dialog.scss +30 -1
  25. data/app/pb_kits/playbook/pb_dialog/dialog.html.erb +28 -0
  26. data/app/pb_kits/playbook/pb_dialog/dialog.rb +7 -35
  27. data/app/pb_kits/playbook/pb_dialog/dialogHelper.js +21 -0
  28. data/app/pb_kits/playbook/pb_dialog/dialog_body.html.erb +7 -0
  29. data/app/pb_kits/playbook/pb_dialog/dialog_body.rb +13 -0
  30. data/app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb +13 -0
  31. data/app/pb_kits/playbook/pb_dialog/dialog_footer.rb +16 -0
  32. data/app/pb_kits/playbook/pb_dialog/dialog_header.html.erb +13 -0
  33. data/app/pb_kits/playbook/pb_dialog/dialog_header.rb +3 -20
  34. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.html.erb +12 -0
  35. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.md +3 -1
  36. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.html.erb +11 -0
  37. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md +3 -0
  38. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.html.erb +29 -0
  39. data/app/pb_kits/playbook/pb_dialog/docs/example.yml +3 -0
  40. data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +38 -6
  41. data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_max_size.jsx +71 -0
  42. data/app/pb_kits/playbook/pb_file_upload/docs/example.yml +1 -0
  43. data/app/pb_kits/playbook/pb_file_upload/docs/index.js +1 -0
  44. data/app/pb_kits/playbook/pb_file_upload/fileupload.test.js +3 -3
  45. data/app/pb_kits/playbook/pb_icon/_icon.tsx +3 -1
  46. data/app/pb_kits/playbook/pb_icon/icon.rb +8 -1
  47. data/app/pb_kits/playbook/pb_icon/icon.test.js +155 -0
  48. data/app/pb_kits/playbook/pb_legend/{_legend.jsx → _legend.tsx} +6 -6
  49. data/app/pb_kits/playbook/pb_legend/legend.test.js +29 -0
  50. data/app/pb_kits/playbook/pb_line_graph/_line_graph.jsx +20 -0
  51. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.html.erb +62 -0
  52. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx +83 -0
  53. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md +17 -0
  54. data/app/pb_kits/playbook/pb_line_graph/docs/example.yml +2 -0
  55. data/app/pb_kits/playbook/pb_line_graph/docs/index.js +1 -0
  56. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +17 -1
  57. data/app/pb_kits/playbook/pb_radio/_radio.scss +1 -1
  58. data/app/pb_kits/playbook/pb_title/_title.scss +5 -0
  59. data/app/pb_kits/playbook/pb_title/_title.tsx +4 -1
  60. data/app/pb_kits/playbook/pb_title/docs/{_title_light.html.erb → _title_default.html.erb} +3 -3
  61. data/app/pb_kits/playbook/pb_title/docs/{_title_light.jsx → _title_default.jsx} +14 -14
  62. data/app/pb_kits/playbook/pb_title/docs/{_title_light.md → _title_default.md} +0 -0
  63. data/app/pb_kits/playbook/pb_title/docs/_title_light_weight.html.erb +1 -0
  64. data/app/pb_kits/playbook/pb_title/docs/_title_light_weight.jsx +19 -0
  65. data/app/pb_kits/playbook/pb_title/docs/_title_light_weight.md +4 -0
  66. data/app/pb_kits/playbook/pb_title/docs/example.yml +4 -2
  67. data/app/pb_kits/playbook/pb_title/docs/index.js +2 -1
  68. data/app/pb_kits/playbook/pb_title/title.rb +6 -1
  69. data/app/pb_kits/playbook/pb_title/title.test.js +13 -0
  70. data/app/pb_kits/playbook/playbook-rails.js +4 -0
  71. data/app/pb_kits/playbook/plugins/pb_chart.js +13 -0
  72. data/app/pb_kits/playbook/tokens/_titles.scss +10 -1
  73. data/app/pb_kits/playbook/tokens/_typography.scss +2 -2
  74. data/lib/playbook/version.rb +2 -2
  75. metadata +33 -9
  76. data/app/pb_kits/playbook/pb_dialog/_dialog.html.erb +0 -10
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: 11.11.0
4
+ version: 11.13.0.pre.alpha.fileupload1
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: 2022-10-28 00:00:00.000000000 Z
12
+ date: 2022-11-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -377,6 +377,9 @@ files:
377
377
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx
378
378
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.html.erb
379
379
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx
380
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
381
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx
382
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md
380
383
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.html.erb
381
384
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx
382
385
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.md
@@ -550,6 +553,9 @@ files:
550
553
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx
551
554
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.html.erb
552
555
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx
556
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
557
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx
558
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md
553
559
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx
554
560
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb
555
561
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx
@@ -808,19 +814,28 @@ files:
808
814
  - app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml
809
815
  - app/pb_kits/playbook/pb_date_year_stacked/docs/index.js
810
816
  - app/pb_kits/playbook/pb_dialog/_close_icon.tsx
811
- - app/pb_kits/playbook/pb_dialog/_dialog.html.erb
812
817
  - app/pb_kits/playbook/pb_dialog/_dialog.scss
813
818
  - app/pb_kits/playbook/pb_dialog/_dialog.tsx
814
819
  - app/pb_kits/playbook/pb_dialog/_dialog_context.tsx
815
820
  - app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.tsx
816
821
  - app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.tsx
817
822
  - app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.tsx
823
+ - app/pb_kits/playbook/pb_dialog/dialog.html.erb
818
824
  - app/pb_kits/playbook/pb_dialog/dialog.rb
819
825
  - app/pb_kits/playbook/pb_dialog/dialog.test.jsx
826
+ - app/pb_kits/playbook/pb_dialog/dialogHelper.js
827
+ - app/pb_kits/playbook/pb_dialog/dialog_body.html.erb
828
+ - app/pb_kits/playbook/pb_dialog/dialog_body.rb
829
+ - app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
830
+ - app/pb_kits/playbook/pb_dialog/dialog_footer.rb
831
+ - app/pb_kits/playbook/pb_dialog/dialog_header.html.erb
820
832
  - app/pb_kits/playbook/pb_dialog/dialog_header.rb
833
+ - app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.html.erb
821
834
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.jsx
822
835
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.md
836
+ - app/pb_kits/playbook/pb_dialog/docs/_dialog_default.html.erb
823
837
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx
838
+ - app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
824
839
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.jsx
825
840
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.md
826
841
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.jsx
@@ -831,6 +846,7 @@ files:
831
846
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.md
832
847
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.jsx
833
848
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.md
849
+ - app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.html.erb
834
850
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.jsx
835
851
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.jsx
836
852
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.md
@@ -863,6 +879,7 @@ files:
863
879
  - app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_description.jsx
864
880
  - app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_description.md
865
881
  - app/pb_kits/playbook/pb_file_upload/docs/_file_upload_default.jsx
882
+ - app/pb_kits/playbook/pb_file_upload/docs/_file_upload_max_size.jsx
866
883
  - app/pb_kits/playbook/pb_file_upload/docs/example.yml
867
884
  - app/pb_kits/playbook/pb_file_upload/docs/index.js
868
885
  - app/pb_kits/playbook/pb_file_upload/fileupload.test.js
@@ -1116,6 +1133,7 @@ files:
1116
1133
  - app/pb_kits/playbook/pb_icon/docs/index.js
1117
1134
  - app/pb_kits/playbook/pb_icon/icon.html.erb
1118
1135
  - app/pb_kits/playbook/pb_icon/icon.rb
1136
+ - app/pb_kits/playbook/pb_icon/icon.test.js
1119
1137
  - app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss
1120
1138
  - app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx
1121
1139
  - app/pb_kits/playbook/pb_icon_circle/docs/_description.md
@@ -1244,8 +1262,8 @@ files:
1244
1262
  - app/pb_kits/playbook/pb_layout/layout.test.js
1245
1263
  - app/pb_kits/playbook/pb_layout/sidebar.html.erb
1246
1264
  - app/pb_kits/playbook/pb_layout/sidebar.rb
1247
- - app/pb_kits/playbook/pb_legend/_legend.jsx
1248
1265
  - app/pb_kits/playbook/pb_legend/_legend.scss
1266
+ - app/pb_kits/playbook/pb_legend/_legend.tsx
1249
1267
  - app/pb_kits/playbook/pb_legend/docs/_description.md
1250
1268
  - app/pb_kits/playbook/pb_legend/docs/_footer.md
1251
1269
  - app/pb_kits/playbook/pb_legend/docs/_legend_colors.html.erb
@@ -1301,6 +1319,9 @@ files:
1301
1319
  - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx
1302
1320
  - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.html.erb
1303
1321
  - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.jsx
1322
+ - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.html.erb
1323
+ - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx
1324
+ - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md
1304
1325
  - app/pb_kits/playbook/pb_line_graph/docs/example.yml
1305
1326
  - app/pb_kits/playbook/pb_line_graph/docs/index.js
1306
1327
  - app/pb_kits/playbook/pb_line_graph/lineGraphSettings.js
@@ -1995,9 +2016,12 @@ files:
1995
2016
  - app/pb_kits/playbook/pb_title/docs/_title_colors.html.erb
1996
2017
  - app/pb_kits/playbook/pb_title/docs/_title_colors.jsx
1997
2018
  - app/pb_kits/playbook/pb_title/docs/_title_colors.md
1998
- - app/pb_kits/playbook/pb_title/docs/_title_light.html.erb
1999
- - app/pb_kits/playbook/pb_title/docs/_title_light.jsx
2000
- - app/pb_kits/playbook/pb_title/docs/_title_light.md
2019
+ - app/pb_kits/playbook/pb_title/docs/_title_default.html.erb
2020
+ - app/pb_kits/playbook/pb_title/docs/_title_default.jsx
2021
+ - app/pb_kits/playbook/pb_title/docs/_title_default.md
2022
+ - app/pb_kits/playbook/pb_title/docs/_title_light_weight.html.erb
2023
+ - app/pb_kits/playbook/pb_title/docs/_title_light_weight.jsx
2024
+ - app/pb_kits/playbook/pb_title/docs/_title_light_weight.md
2001
2025
  - app/pb_kits/playbook/pb_title/docs/example.yml
2002
2026
  - app/pb_kits/playbook/pb_title/docs/index.js
2003
2027
  - app/pb_kits/playbook/pb_title/title.html.erb
@@ -2328,9 +2352,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2328
2352
  version: '0'
2329
2353
  required_rubygems_version: !ruby/object:Gem::Requirement
2330
2354
  requirements:
2331
- - - ">="
2355
+ - - ">"
2332
2356
  - !ruby/object:Gem::Version
2333
- version: '0'
2357
+ version: 1.3.1
2334
2358
  requirements: []
2335
2359
  rubygems_version: 3.3.7
2336
2360
  signing_key:
@@ -1,10 +0,0 @@
1
- <%= content_tag(:div,
2
- id: object.id,
3
- data: object.data,
4
- class: object.classname,
5
- aria: object.aria,
6
- dark: object.dark) do %>
7
- <% if object.children %>
8
- <%= pb_rails("dialog/dialog_header", props: { children: object.children }) %>
9
- <% end %>
10
- <% end %>