playbook_ui 14.4.0 → 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3931

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +3 -0
  3. data/app/pb_kits/playbook/pb_advanced_table/Components/SortIconButton.tsx +23 -4
  4. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +1 -1
  5. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.scss +3 -1
  6. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +5 -184
  7. data/app/pb_kits/playbook/pb_bar_graph/barGraph.test.js +1 -1
  8. data/app/pb_kits/playbook/pb_button/_button.tsx +6 -2
  9. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +5 -216
  10. data/app/pb_kits/playbook/pb_circle_chart/circleChart.test.js +1 -1
  11. data/app/pb_kits/playbook/pb_contact/_contact.tsx +17 -5
  12. data/app/pb_kits/playbook/pb_contact/contact.html.erb +14 -6
  13. data/app/pb_kits/playbook/pb_contact/contact.rb +4 -0
  14. data/app/pb_kits/playbook/pb_contact/contact.test.js +1 -1
  15. data/app/pb_kits/playbook/pb_dashboard/_highcharts_theme.scss +52 -0
  16. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +2 -6
  17. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +2 -7
  18. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +4 -3
  19. data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +1 -1
  20. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +4 -0
  21. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +6 -3
  22. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +1 -1
  23. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +6 -2
  24. data/app/pb_kits/playbook/pb_dialog/_dialog.scss +2 -0
  25. data/app/pb_kits/playbook/pb_dialog/dialog_header.html.erb +1 -1
  26. data/app/pb_kits/playbook/pb_drawer/_close_icon.tsx +25 -0
  27. data/app/pb_kits/playbook/pb_drawer/_drawer.scss +465 -0
  28. data/app/pb_kits/playbook/pb_drawer/_drawer.tsx +195 -0
  29. data/app/pb_kits/playbook/pb_drawer/_drawer_context.tsx +3 -0
  30. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx +117 -0
  31. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx +43 -0
  32. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb +1 -0
  33. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx +63 -0
  34. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx +55 -0
  35. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx +113 -0
  36. data/app/pb_kits/playbook/pb_drawer/docs/example.yml +12 -0
  37. data/app/pb_kits/playbook/pb_drawer/docs/index.js +5 -0
  38. data/app/pb_kits/playbook/pb_drawer/drawer.html.erb +12 -0
  39. data/app/pb_kits/playbook/pb_drawer/drawer.rb +8 -0
  40. data/app/pb_kits/playbook/pb_drawer/drawer.test.jsx +77 -0
  41. data/app/pb_kits/playbook/pb_filter/docs/_filter_default.html.erb +10 -2
  42. data/app/pb_kits/playbook/pb_filter/docs/_filter_max_height.html.erb +5 -1
  43. data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.html.erb +5 -1
  44. data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.html.erb +5 -1
  45. data/app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb +5 -1
  46. data/app/pb_kits/playbook/pb_filter/docs/_filter_only.html.erb +5 -1
  47. data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb +5 -1
  48. data/app/pb_kits/playbook/pb_filter/docs/_filter_single.html.erb +5 -1
  49. data/app/pb_kits/playbook/pb_gantt_chart/_gantt_chart.tsx +3 -64
  50. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +5 -203
  51. data/app/pb_kits/playbook/pb_gauge/gauge.test.js +1 -1
  52. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +5 -154
  53. data/app/pb_kits/playbook/pb_line_graph/lineGraph.test.js +1 -1
  54. data/app/pb_kits/playbook/pb_map/_map_controls.tsx +7 -1
  55. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +15 -4
  56. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +12 -1
  57. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change_react.md +3 -1
  58. data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +10 -2
  59. data/app/pb_kits/playbook/pb_popover/docs/_popover_list.html.erb +14 -13
  60. data/app/pb_kits/playbook/pb_popover/docs/_popover_list.jsx +4 -4
  61. data/app/pb_kits/playbook/pb_radio/_radio.tsx +92 -33
  62. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb +2 -0
  63. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx +62 -0
  64. data/app/pb_kits/playbook/pb_radio/docs/example.yml +1 -0
  65. data/app/pb_kits/playbook/pb_radio/docs/index.js +1 -0
  66. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx +12 -5
  67. data/app/pb_kits/playbook/pb_select/_select.tsx +5 -2
  68. data/app/pb_kits/playbook/pb_select/select.html.erb +1 -1
  69. data/app/pb_kits/playbook/pb_select/select.rb +4 -0
  70. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +0 -1
  71. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +17 -13
  72. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +5 -113
  73. data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +1 -1
  74. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +0 -1
  75. data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +14 -0
  76. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +3 -0
  77. data/app/pb_kits/playbook/pb_typeahead/components/Control.tsx +6 -5
  78. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.html.erb +88 -0
  79. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx +60 -0
  80. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +2 -0
  81. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +1 -0
  82. data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -1
  83. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +6 -1
  84. data/app/pb_kits/playbook/utilities/icons/allicons.tsx +136 -13
  85. data/app/pb_kits/playbook/utilities/icons/angle-down.svg +3 -0
  86. data/app/pb_kits/playbook/utilities/icons/envelope.svg +3 -0
  87. data/dist/chunks/_typeahead-BywvWGAm.js +22 -0
  88. data/dist/chunks/_weekday_stacked-5OGZKZeo.js +45 -0
  89. data/dist/chunks/lazysizes-B7xYodB-.js +1 -0
  90. data/dist/chunks/lib-DMOmCoAX.js +29 -0
  91. data/dist/chunks/{pb_form_validation-zV9OpdSt.js → pb_form_validation-Dna2I7fw.js} +1 -1
  92. data/dist/chunks/vendor.js +1 -1
  93. data/dist/menu.yml +3 -1
  94. data/dist/playbook-doc.js +1 -1
  95. data/dist/playbook-rails-react-bindings.js +1 -1
  96. data/dist/playbook-rails.js +1 -1
  97. data/dist/playbook.css +1 -1
  98. data/lib/playbook/pagination_renderer.rb +10 -2
  99. data/lib/playbook/version.rb +2 -2
  100. metadata +31 -10
  101. data/dist/chunks/_typeahead-B2zRxReA.js +0 -22
  102. data/dist/chunks/_weekday_stacked-BIfZDNDm.js +0 -45
  103. data/dist/chunks/lazysizes-DHz07jlL.js +0 -1
  104. data/dist/chunks/lib-D2U4I1U6.js +0 -16
@@ -29,12 +29,20 @@ module Playbook
29
29
 
30
30
  def previous_page
31
31
  num = @collection.current_page > 1 && @collection.current_page - 1
32
- previous_or_next_page(num, "<i class='far fa-chevron-left fa-xs'></i>", "prev")
32
+ previous_or_next_page(
33
+ num,
34
+ "<svg xmlns='http://www.w3.org/2000/svg' width='auto' height='auto' viewBox='0 0 30 24' fill='none' class='pb_custom_icon svg-inline--fa pb_icon_kit svg_fw svg_xs' id='' data='{}' aria='{:label=>&quot;away&quot;}' tabindex=''><path d='M8.20312 11.2031L17.2031 2.25C17.625 1.78125 18.3281 1.78125 18.7969 2.25C19.2188 2.67188 19.2188 3.375 18.7969 3.79688L10.5469 12L18.75 20.25C19.2188 20.6719 19.2188 21.375 18.75 21.7969C18.3281 22.2656 17.625 22.2656 17.2031 21.7969L8.20312 12.7969C7.73438 12.375 7.73438 11.6719 8.20312 11.2031Z' fill='currentColor'></path></svg>",
35
+ "prev"
36
+ )
33
37
  end
34
38
 
35
39
  def next_page
36
40
  num = @collection.current_page < @collection.total_pages && @collection.current_page + 1
37
- previous_or_next_page(num, "<i class='far fa-chevron-right fa-xs'></i>", "next")
41
+ previous_or_next_page(
42
+ num,
43
+ "<svg xmlns='http://www.w3.org/2000/svg' width='auto' height='auto' viewBox='0 0 30 24' fill='none' class='pb_custom_icon svg-inline--fa pb_icon_kit svg_fw svg_xs' id='' data='{}' aria='{:label=>&quot;away&quot;}' tabindex=''><path d='M21.7969 11.2031C22.2188 11.6719 22.2188 12.375 21.7969 12.7969L12.7969 21.7969C12.3281 22.2656 11.625 22.2656 11.2031 21.7969C10.7344 21.375 10.7344 20.6719 11.2031 20.25L19.4062 12.0469L11.2031 3.79688C10.7344 3.375 10.7344 2.67188 11.2031 2.25C11.625 1.78125 12.3281 1.78125 12.75 2.25L21.7969 11.2031Z' fill='currentColor'></path></svg>",
44
+ "next"
45
+ )
38
46
  end
39
47
  end
40
48
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "14.3.2"
5
- VERSION = "14.4.0"
4
+ PREVIOUS_VERSION = "14.5.0"
5
+ VERSION = "14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3931"
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.4.0
4
+ version: 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3931
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-09-18 00:00:00.000000000 Z
12
+ date: 2024-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -776,6 +776,7 @@ files:
776
776
  - app/pb_kits/playbook/pb_currency/docs/_description.md
777
777
  - app/pb_kits/playbook/pb_currency/docs/example.yml
778
778
  - app/pb_kits/playbook/pb_currency/docs/index.js
779
+ - app/pb_kits/playbook/pb_dashboard/_highcharts_theme.scss
779
780
  - app/pb_kits/playbook/pb_dashboard/commonSettings.js
780
781
  - app/pb_kits/playbook/pb_dashboard/pbChartsColorsHelper.ts
781
782
  - app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts
@@ -1106,6 +1107,21 @@ files:
1106
1107
  - app/pb_kits/playbook/pb_draggable/draggable.test.jsx
1107
1108
  - app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx
1108
1109
  - app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx
1110
+ - app/pb_kits/playbook/pb_drawer/_close_icon.tsx
1111
+ - app/pb_kits/playbook/pb_drawer/_drawer.scss
1112
+ - app/pb_kits/playbook/pb_drawer/_drawer.tsx
1113
+ - app/pb_kits/playbook/pb_drawer/_drawer_context.tsx
1114
+ - app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx
1115
+ - app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx
1116
+ - app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb
1117
+ - app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx
1118
+ - app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx
1119
+ - app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx
1120
+ - app/pb_kits/playbook/pb_drawer/docs/example.yml
1121
+ - app/pb_kits/playbook/pb_drawer/docs/index.js
1122
+ - app/pb_kits/playbook/pb_drawer/drawer.html.erb
1123
+ - app/pb_kits/playbook/pb_drawer/drawer.rb
1124
+ - app/pb_kits/playbook/pb_drawer/drawer.test.jsx
1109
1125
  - app/pb_kits/playbook/pb_dropdown/_dropdown.scss
1110
1126
  - app/pb_kits/playbook/pb_dropdown/_dropdown.tsx
1111
1127
  - app/pb_kits/playbook/pb_dropdown/context/index.tsx
@@ -2159,6 +2175,7 @@ files:
2159
2175
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom.html.erb
2160
2176
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx
2161
2177
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
2178
+ - app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx
2162
2179
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.md
2163
2180
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom_swift.md
2164
2181
  - app/pb_kits/playbook/pb_radio/docs/_radio_default.html.erb
@@ -2865,6 +2882,8 @@ files:
2865
2882
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.md
2866
2883
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.html.erb
2867
2884
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
2885
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.html.erb
2886
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
2868
2887
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
2869
2888
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
2870
2889
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context.html.erb
@@ -3029,7 +3048,9 @@ files:
3029
3048
  - app/pb_kits/playbook/utilities/globalPropNames.mjs
3030
3049
  - app/pb_kits/playbook/utilities/globalProps.ts
3031
3050
  - app/pb_kits/playbook/utilities/icons/allicons.tsx
3051
+ - app/pb_kits/playbook/utilities/icons/angle-down.svg
3032
3052
  - app/pb_kits/playbook/utilities/icons/clock.svg
3053
+ - app/pb_kits/playbook/utilities/icons/envelope.svg
3033
3054
  - app/pb_kits/playbook/utilities/icons/spinner.svg
3034
3055
  - app/pb_kits/playbook/utilities/icons/times.svg
3035
3056
  - app/pb_kits/playbook/utilities/object.ts
@@ -3050,11 +3071,11 @@ files:
3050
3071
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3051
3072
  - app/pb_kits/playbook/utilities/text.ts
3052
3073
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3053
- - dist/chunks/_typeahead-B2zRxReA.js
3054
- - dist/chunks/_weekday_stacked-BIfZDNDm.js
3055
- - dist/chunks/lazysizes-DHz07jlL.js
3056
- - dist/chunks/lib-D2U4I1U6.js
3057
- - dist/chunks/pb_form_validation-zV9OpdSt.js
3074
+ - dist/chunks/_typeahead-BywvWGAm.js
3075
+ - dist/chunks/_weekday_stacked-5OGZKZeo.js
3076
+ - dist/chunks/lazysizes-B7xYodB-.js
3077
+ - dist/chunks/lib-DMOmCoAX.js
3078
+ - dist/chunks/pb_form_validation-Dna2I7fw.js
3058
3079
  - dist/chunks/vendor.js
3059
3080
  - dist/menu.yml
3060
3081
  - dist/playbook-doc.js
@@ -3136,7 +3157,7 @@ homepage: https://playbook.powerapp.cloud/
3136
3157
  licenses:
3137
3158
  - ISC
3138
3159
  metadata: {}
3139
- post_install_message:
3160
+ post_install_message:
3140
3161
  rdoc_options: []
3141
3162
  require_paths:
3142
3163
  - lib
@@ -3152,7 +3173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3152
3173
  version: '0'
3153
3174
  requirements: []
3154
3175
  rubygems_version: 3.5.3
3155
- signing_key:
3176
+ signing_key:
3156
3177
  specification_version: 4
3157
3178
  summary: Playbook Design System
3158
3179
  test_files: []