playbook_ui 14.0.0 → 14.1.0.pre.alpha.PBNTR455ganttchartPOC3569

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +1 -0
  3. data/app/pb_kits/playbook/pb_advanced_table/Components/TableHeaderCell.tsx +5 -2
  4. data/app/pb_kits/playbook/pb_advanced_table/SubKits/TableBody.tsx +24 -20
  5. data/app/pb_kits/playbook/pb_advanced_table/SubKits/TableHeader.tsx +17 -12
  6. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +86 -1
  7. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +5 -1
  8. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +30 -0
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.jsx +67 -0
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.md +1 -0
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -0
  12. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +2 -1
  13. data/app/pb_kits/playbook/pb_avatar/_avatar.scss +0 -30
  14. data/app/pb_kits/playbook/pb_avatar/_avatar.tsx +19 -1
  15. data/app/pb_kits/playbook/pb_avatar/avatar.rb +44 -1
  16. data/app/pb_kits/playbook/pb_avatar/avatar.test.js +17 -0
  17. data/app/pb_kits/playbook/pb_date_picker/docs/_description.md +3 -1
  18. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss +1 -1
  19. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -0
  20. data/app/pb_kits/playbook/pb_gantt_chart/_gantt_chart.scss +3 -0
  21. data/app/pb_kits/playbook/pb_gantt_chart/_gantt_chart.tsx +72 -0
  22. data/app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx +53 -0
  23. data/app/pb_kits/playbook/pb_gantt_chart/docs/example.yml +7 -0
  24. data/app/pb_kits/playbook/pb_gantt_chart/docs/index.js +1 -0
  25. data/app/pb_kits/playbook/pb_gantt_chart/gantt_chart.test.jsx +19 -0
  26. data/app/pb_kits/playbook/pb_icon/_icon.tsx +3 -0
  27. data/app/pb_kits/playbook/pb_icon/icon.rb +2 -0
  28. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx +2 -1
  29. data/app/pb_kits/playbook/pb_icon_circle/icon_circle.rb +2 -2
  30. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.scss +0 -11
  31. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.tsx +3 -2
  32. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.html.erb +1 -0
  33. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.rb +2 -2
  34. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.test.js +5 -4
  35. data/app/pb_kits/playbook/pb_nav/_horizontal_nav.scss +1 -1
  36. data/app/pb_kits/playbook/pb_online_status/_online_status.scss +52 -5
  37. data/app/pb_kits/playbook/pb_online_status/_online_status.tsx +6 -1
  38. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_no_border.html.erb +1 -0
  39. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_no_border.jsx +14 -0
  40. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_size.html.erb +3 -0
  41. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_size.jsx +25 -0
  42. data/app/pb_kits/playbook/pb_online_status/docs/example.yml +6 -2
  43. data/app/pb_kits/playbook/pb_online_status/docs/index.js +2 -0
  44. data/app/pb_kits/playbook/pb_online_status/online_status.rb +11 -1
  45. data/app/pb_kits/playbook/pb_online_status/online_status.test.js +31 -0
  46. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.html.erb +61 -0
  47. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.jsx +70 -0
  48. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.md +1 -0
  49. data/app/pb_kits/playbook/pb_overlay/docs/example.yml +4 -2
  50. data/app/pb_kits/playbook/pb_overlay/docs/index.js +1 -0
  51. data/app/pb_kits/playbook/pb_rich_text_editor/_previewer_mixin.scss +132 -0
  52. data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +50 -76
  53. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_preview.jsx +73 -0
  54. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +1 -0
  55. data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +2 -1
  56. data/app/pb_kits/playbook/pb_star_rating/_star_rating.scss +83 -6
  57. data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +3 -1
  58. data/app/pb_kits/playbook/pb_star_rating/index.js +73 -4
  59. data/app/pb_kits/playbook/pb_star_rating/star_rating.html.erb +1 -1
  60. data/app/pb_kits/playbook/pb_star_rating/star_rating.rb +2 -2
  61. data/app/pb_kits/playbook/pb_star_rating/stars/utils.tsx +5 -1
  62. data/app/pb_kits/playbook/pb_star_rating/subcomponents/_star_rating_interactive.tsx +50 -21
  63. data/app/pb_kits/playbook/pb_table/_table.tsx +1 -1
  64. data/app/pb_kits/playbook/pb_table/index.ts +4 -4
  65. data/app/pb_kits/playbook/pb_table/subcomponents/_table_body.tsx +1 -1
  66. data/app/pb_kits/playbook/pb_table/subcomponents/_table_cell.tsx +1 -1
  67. data/app/pb_kits/playbook/pb_table/subcomponents/_table_head.tsx +1 -1
  68. data/app/pb_kits/playbook/pb_table/subcomponents/_table_header.tsx +1 -1
  69. data/app/pb_kits/playbook/pb_table/subcomponents/_table_row.tsx +1 -1
  70. data/app/pb_kits/playbook/pb_table/table.test.js +2 -0
  71. data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -1
  72. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +1 -1
  73. data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +45 -27
  74. data/app/pb_kits/playbook/pb_textarea/index.ts +3 -3
  75. data/app/pb_kits/playbook/pb_time/_time.tsx +3 -3
  76. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.tsx +1 -1
  77. data/app/pb_kits/playbook/pb_timeline/_item.tsx +1 -1
  78. data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +1 -1
  79. data/app/pb_kits/playbook/pb_title_detail/_title_detail.tsx +10 -10
  80. data/app/pb_kits/playbook/pb_toggle/_toggle.tsx +1 -1
  81. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +2 -2
  82. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +1 -2
  83. data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +2 -0
  84. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +2 -2
  85. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb +1 -1
  86. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +1 -0
  87. data/app/pb_kits/playbook/pb_user/_user.tsx +1 -1
  88. data/app/pb_kits/playbook/pb_user_badge/_user_badge.tsx +6 -6
  89. data/app/pb_kits/playbook/pb_user_badge/badges/million-dollar.tsx +236 -235
  90. data/app/pb_kits/playbook/pb_user_badge/badges/veteran.tsx +1 -1
  91. data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.tsx +68 -63
  92. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.tsx +1 -1
  93. data/app/pb_kits/playbook/utilities/_positioning.scss +26 -15
  94. data/dist/chunks/_typeahead-B6CmTH6o.js +22 -0
  95. data/dist/chunks/_weekday_stacked-CNZpeoOR.js +45 -0
  96. data/dist/chunks/{lib-Bf_E03gc.js → lib-XlOB2yGW.js} +2 -2
  97. data/dist/chunks/{pb_form_validation-D0dhqeN2.js → pb_form_validation-mwEv7D-z.js} +1 -1
  98. data/dist/chunks/vendor.js +1 -1
  99. data/dist/menu.yml +4 -0
  100. data/dist/playbook-doc.js +1 -1
  101. data/dist/playbook-rails-react-bindings.js +1 -1
  102. data/dist/playbook-rails.js +1 -1
  103. data/dist/playbook.css +1 -1
  104. data/lib/playbook/version.rb +2 -2
  105. metadata +27 -10
  106. data/app/pb_kits/playbook/pb_online_status/_online_status_mixins.scss +0 -32
  107. data/dist/chunks/_typeahead-COUJ88EA.js +0 -22
  108. data/dist/chunks/_weekday_stacked-BAkwel5p.js +0 -45
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "13.34.1"
5
- VERSION = "14.0.0"
4
+ PREVIOUS_VERSION = "14.1.0"
5
+ VERSION = "14.1.0.pre.alpha.PBNTR455ganttchartPOC3569"
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.0.0
4
+ version: 14.1.0.pre.alpha.PBNTR455ganttchartPOC3569
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-08-05 00:00:00.000000000 Z
12
+ date: 2024-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -276,6 +276,8 @@ files:
276
276
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.md
277
277
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.jsx
278
278
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.md
279
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.jsx
280
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.md
279
281
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.jsx
280
282
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.md
281
283
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.jsx
@@ -1343,6 +1345,12 @@ files:
1343
1345
  - app/pb_kits/playbook/pb_form_pill/docs/index.js
1344
1346
  - app/pb_kits/playbook/pb_form_pill/form_pill.html.erb
1345
1347
  - app/pb_kits/playbook/pb_form_pill/form_pill.rb
1348
+ - app/pb_kits/playbook/pb_gantt_chart/_gantt_chart.scss
1349
+ - app/pb_kits/playbook/pb_gantt_chart/_gantt_chart.tsx
1350
+ - app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
1351
+ - app/pb_kits/playbook/pb_gantt_chart/docs/example.yml
1352
+ - app/pb_kits/playbook/pb_gantt_chart/docs/index.js
1353
+ - app/pb_kits/playbook/pb_gantt_chart/gantt_chart.test.jsx
1346
1354
  - app/pb_kits/playbook/pb_gauge/_gauge.scss
1347
1355
  - app/pb_kits/playbook/pb_gauge/_gauge.tsx
1348
1356
  - app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.html.erb
@@ -1895,14 +1903,18 @@ files:
1895
1903
  - app/pb_kits/playbook/pb_nav/navTypes.ts
1896
1904
  - app/pb_kits/playbook/pb_online_status/_online_status.scss
1897
1905
  - app/pb_kits/playbook/pb_online_status/_online_status.tsx
1898
- - app/pb_kits/playbook/pb_online_status/_online_status_mixins.scss
1899
1906
  - app/pb_kits/playbook/pb_online_status/docs/_description.md
1900
1907
  - app/pb_kits/playbook/pb_online_status/docs/_online_status_default.html.erb
1901
1908
  - app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx
1909
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_no_border.html.erb
1910
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_no_border.jsx
1911
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_size.html.erb
1912
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_size.jsx
1902
1913
  - app/pb_kits/playbook/pb_online_status/docs/example.yml
1903
1914
  - app/pb_kits/playbook/pb_online_status/docs/index.js
1904
1915
  - app/pb_kits/playbook/pb_online_status/online_status.html.erb
1905
1916
  - app/pb_kits/playbook/pb_online_status/online_status.rb
1917
+ - app/pb_kits/playbook/pb_online_status/online_status.test.js
1906
1918
  - app/pb_kits/playbook/pb_overlay/_overlay.scss
1907
1919
  - app/pb_kits/playbook/pb_overlay/_overlay.tsx
1908
1920
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_default.html.erb
@@ -1911,6 +1923,9 @@ files:
1911
1923
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.html.erb
1912
1924
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
1913
1925
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md
1926
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.html.erb
1927
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.jsx
1928
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.md
1914
1929
  - app/pb_kits/playbook/pb_overlay/docs/example.yml
1915
1930
  - app/pb_kits/playbook/pb_overlay/docs/index.js
1916
1931
  - app/pb_kits/playbook/pb_overlay/overlay.html.erb
@@ -2144,6 +2159,7 @@ files:
2144
2159
  - app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarHistory.tsx
2145
2160
  - app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarNodes.tsx
2146
2161
  - app/pb_kits/playbook/pb_rich_text_editor/_dedupe_trix_toolbar.js
2162
+ - app/pb_kits/playbook/pb_rich_text_editor/_previewer_mixin.scss
2147
2163
  - app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.scss
2148
2164
  - app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx
2149
2165
  - app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss
@@ -2151,6 +2167,7 @@ files:
2151
2167
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_description.md
2152
2168
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.jsx
2153
2169
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.md
2170
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_preview.jsx
2154
2171
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.html.erb
2155
2172
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.jsx
2156
2173
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.html.erb
@@ -2991,11 +3008,11 @@ files:
2991
3008
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
2992
3009
  - app/pb_kits/playbook/utilities/text.ts
2993
3010
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
2994
- - dist/chunks/_typeahead-COUJ88EA.js
2995
- - dist/chunks/_weekday_stacked-BAkwel5p.js
3011
+ - dist/chunks/_typeahead-B6CmTH6o.js
3012
+ - dist/chunks/_weekday_stacked-CNZpeoOR.js
2996
3013
  - dist/chunks/lazysizes-B7xYodB-.js
2997
- - dist/chunks/lib-Bf_E03gc.js
2998
- - dist/chunks/pb_form_validation-D0dhqeN2.js
3014
+ - dist/chunks/lib-XlOB2yGW.js
3015
+ - dist/chunks/pb_form_validation-mwEv7D-z.js
2999
3016
  - dist/chunks/vendor.js
3000
3017
  - dist/menu.yml
3001
3018
  - dist/playbook-doc.js
@@ -3077,7 +3094,7 @@ homepage: https://playbook.powerapp.cloud/
3077
3094
  licenses:
3078
3095
  - ISC
3079
3096
  metadata: {}
3080
- post_install_message:
3097
+ post_install_message:
3081
3098
  rdoc_options: []
3082
3099
  require_paths:
3083
3100
  - lib
@@ -3093,7 +3110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3093
3110
  version: '0'
3094
3111
  requirements: []
3095
3112
  rubygems_version: 3.5.3
3096
- signing_key:
3113
+ signing_key:
3097
3114
  specification_version: 4
3098
3115
  summary: Playbook Design System
3099
3116
  test_files: []
@@ -1,32 +0,0 @@
1
- @import "../tokens/colors";
2
-
3
- $pb_online_status_size: 10px;
4
- $pb_online_status_border: 2px;
5
-
6
- $pb_online_status_statuses: (
7
- online: $success,
8
- away: $warning,
9
- offline: $neutral,
10
- success: $success,
11
- warning: $warning,
12
- error: $error,
13
- info: $info,
14
- neutral: $neutral,
15
- primary: $primary,
16
- );
17
-
18
- @mixin pb_online_status($background: $neutral) {
19
- &.dark {
20
- border-color: $bg_dark;
21
- }
22
- width: $pb_online_status_size;
23
- height: $pb_online_status_size;
24
- flex-basis: $pb_online_status_size;
25
- flex-grow: 0;
26
- flex-shrink: 0;
27
- border-width: $pb_online_status_border;
28
- border-color: $white;
29
- border-style: solid;
30
- border-radius: 50%;
31
- background: $background;
32
- }