playbook_ui 14.0.0 → 14.1.0.pre.alpha.PA1477timestampkit3536

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/Components/TableHeaderCell.tsx +5 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/SubKits/TableBody.tsx +24 -20
  4. data/app/pb_kits/playbook/pb_advanced_table/SubKits/TableHeader.tsx +17 -12
  5. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +86 -1
  6. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +5 -1
  7. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +30 -0
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.jsx +67 -0
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.md +1 -0
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -0
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +2 -1
  12. data/app/pb_kits/playbook/pb_avatar/_avatar.scss +0 -30
  13. data/app/pb_kits/playbook/pb_avatar/_avatar.tsx +19 -1
  14. data/app/pb_kits/playbook/pb_avatar/avatar.rb +44 -1
  15. data/app/pb_kits/playbook/pb_avatar/avatar.test.js +17 -0
  16. data/app/pb_kits/playbook/pb_date_picker/docs/_description.md +3 -1
  17. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss +1 -1
  18. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -0
  19. data/app/pb_kits/playbook/pb_icon/_icon.tsx +3 -0
  20. data/app/pb_kits/playbook/pb_icon/icon.rb +2 -0
  21. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx +2 -1
  22. data/app/pb_kits/playbook/pb_icon_circle/icon_circle.rb +2 -2
  23. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.scss +0 -11
  24. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.tsx +3 -2
  25. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.html.erb +1 -0
  26. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.rb +2 -2
  27. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.test.js +5 -4
  28. data/app/pb_kits/playbook/pb_nav/_horizontal_nav.scss +1 -1
  29. data/app/pb_kits/playbook/pb_online_status/_online_status.scss +52 -5
  30. data/app/pb_kits/playbook/pb_online_status/_online_status.tsx +6 -1
  31. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_no_border.html.erb +1 -0
  32. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_no_border.jsx +14 -0
  33. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_size.html.erb +3 -0
  34. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_size.jsx +25 -0
  35. data/app/pb_kits/playbook/pb_online_status/docs/example.yml +6 -2
  36. data/app/pb_kits/playbook/pb_online_status/docs/index.js +2 -0
  37. data/app/pb_kits/playbook/pb_online_status/online_status.rb +11 -1
  38. data/app/pb_kits/playbook/pb_online_status/online_status.test.js +31 -0
  39. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.html.erb +61 -0
  40. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.jsx +70 -0
  41. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.md +1 -0
  42. data/app/pb_kits/playbook/pb_overlay/docs/example.yml +4 -2
  43. data/app/pb_kits/playbook/pb_overlay/docs/index.js +1 -0
  44. data/app/pb_kits/playbook/pb_star_rating/_star_rating.scss +83 -6
  45. data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +3 -1
  46. data/app/pb_kits/playbook/pb_star_rating/index.js +73 -4
  47. data/app/pb_kits/playbook/pb_star_rating/star_rating.html.erb +1 -1
  48. data/app/pb_kits/playbook/pb_star_rating/star_rating.rb +2 -2
  49. data/app/pb_kits/playbook/pb_star_rating/stars/utils.tsx +5 -1
  50. data/app/pb_kits/playbook/pb_star_rating/subcomponents/_star_rating_interactive.tsx +50 -21
  51. data/app/pb_kits/playbook/pb_table/_table.tsx +1 -1
  52. data/app/pb_kits/playbook/pb_table/index.ts +4 -4
  53. data/app/pb_kits/playbook/pb_table/subcomponents/_table_body.tsx +1 -1
  54. data/app/pb_kits/playbook/pb_table/subcomponents/_table_cell.tsx +1 -1
  55. data/app/pb_kits/playbook/pb_table/subcomponents/_table_head.tsx +1 -1
  56. data/app/pb_kits/playbook/pb_table/subcomponents/_table_header.tsx +1 -1
  57. data/app/pb_kits/playbook/pb_table/subcomponents/_table_row.tsx +1 -1
  58. data/app/pb_kits/playbook/pb_table/table.test.js +2 -0
  59. data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -1
  60. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +1 -1
  61. data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +45 -27
  62. data/app/pb_kits/playbook/pb_textarea/index.ts +3 -3
  63. data/app/pb_kits/playbook/pb_time/_time.tsx +3 -3
  64. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.tsx +1 -1
  65. data/app/pb_kits/playbook/pb_timeline/_item.tsx +1 -1
  66. data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +1 -1
  67. data/app/pb_kits/playbook/pb_timestamp/timestamp.rb +37 -2
  68. data/app/pb_kits/playbook/pb_title_detail/_title_detail.tsx +10 -10
  69. data/app/pb_kits/playbook/pb_toggle/_toggle.tsx +1 -1
  70. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +2 -2
  71. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +1 -2
  72. data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +2 -0
  73. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +2 -2
  74. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb +1 -1
  75. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +1 -0
  76. data/app/pb_kits/playbook/pb_user/_user.tsx +1 -1
  77. data/app/pb_kits/playbook/pb_user_badge/_user_badge.tsx +6 -6
  78. data/app/pb_kits/playbook/pb_user_badge/badges/million-dollar.tsx +236 -235
  79. data/app/pb_kits/playbook/pb_user_badge/badges/veteran.tsx +1 -1
  80. data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.tsx +68 -63
  81. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.tsx +1 -1
  82. data/app/pb_kits/playbook/utilities/_positioning.scss +26 -15
  83. data/dist/chunks/_typeahead-D-4y9pbv.js +22 -0
  84. data/dist/chunks/_weekday_stacked-Cax4nrUa.js +45 -0
  85. data/dist/chunks/lazysizes-DHz07jlL.js +1 -0
  86. data/dist/chunks/{lib-Bf_E03gc.js → lib-BE0Z3F7x.js} +1 -1
  87. data/dist/chunks/{pb_form_validation-D0dhqeN2.js → pb_form_validation-TzZQ0Flx.js} +1 -1
  88. data/dist/chunks/vendor.js +1 -1
  89. data/dist/playbook-doc.js +1 -1
  90. data/dist/playbook-rails-react-bindings.js +1 -1
  91. data/dist/playbook-rails.js +1 -1
  92. data/dist/playbook.css +1 -1
  93. data/lib/playbook/version.rb +2 -2
  94. metadata +20 -11
  95. data/app/pb_kits/playbook/pb_online_status/_online_status_mixins.scss +0 -32
  96. data/dist/chunks/_typeahead-COUJ88EA.js +0 -22
  97. data/dist/chunks/_weekday_stacked-BAkwel5p.js +0 -45
  98. data/dist/chunks/lazysizes-B7xYodB-.js +0 -1
@@ -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.PA1477timestampkit3536"
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.PA1477timestampkit3536
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-21 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
@@ -1895,14 +1897,18 @@ files:
1895
1897
  - app/pb_kits/playbook/pb_nav/navTypes.ts
1896
1898
  - app/pb_kits/playbook/pb_online_status/_online_status.scss
1897
1899
  - app/pb_kits/playbook/pb_online_status/_online_status.tsx
1898
- - app/pb_kits/playbook/pb_online_status/_online_status_mixins.scss
1899
1900
  - app/pb_kits/playbook/pb_online_status/docs/_description.md
1900
1901
  - app/pb_kits/playbook/pb_online_status/docs/_online_status_default.html.erb
1901
1902
  - app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx
1903
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_no_border.html.erb
1904
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_no_border.jsx
1905
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_size.html.erb
1906
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_size.jsx
1902
1907
  - app/pb_kits/playbook/pb_online_status/docs/example.yml
1903
1908
  - app/pb_kits/playbook/pb_online_status/docs/index.js
1904
1909
  - app/pb_kits/playbook/pb_online_status/online_status.html.erb
1905
1910
  - app/pb_kits/playbook/pb_online_status/online_status.rb
1911
+ - app/pb_kits/playbook/pb_online_status/online_status.test.js
1906
1912
  - app/pb_kits/playbook/pb_overlay/_overlay.scss
1907
1913
  - app/pb_kits/playbook/pb_overlay/_overlay.tsx
1908
1914
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_default.html.erb
@@ -1911,6 +1917,9 @@ files:
1911
1917
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.html.erb
1912
1918
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
1913
1919
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md
1920
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.html.erb
1921
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.jsx
1922
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.md
1914
1923
  - app/pb_kits/playbook/pb_overlay/docs/example.yml
1915
1924
  - app/pb_kits/playbook/pb_overlay/docs/index.js
1916
1925
  - app/pb_kits/playbook/pb_overlay/overlay.html.erb
@@ -2991,11 +3000,11 @@ files:
2991
3000
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
2992
3001
  - app/pb_kits/playbook/utilities/text.ts
2993
3002
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
2994
- - dist/chunks/_typeahead-COUJ88EA.js
2995
- - dist/chunks/_weekday_stacked-BAkwel5p.js
2996
- - dist/chunks/lazysizes-B7xYodB-.js
2997
- - dist/chunks/lib-Bf_E03gc.js
2998
- - dist/chunks/pb_form_validation-D0dhqeN2.js
3003
+ - dist/chunks/_typeahead-D-4y9pbv.js
3004
+ - dist/chunks/_weekday_stacked-Cax4nrUa.js
3005
+ - dist/chunks/lazysizes-DHz07jlL.js
3006
+ - dist/chunks/lib-BE0Z3F7x.js
3007
+ - dist/chunks/pb_form_validation-TzZQ0Flx.js
2999
3008
  - dist/chunks/vendor.js
3000
3009
  - dist/menu.yml
3001
3010
  - dist/playbook-doc.js
@@ -3077,7 +3086,7 @@ homepage: https://playbook.powerapp.cloud/
3077
3086
  licenses:
3078
3087
  - ISC
3079
3088
  metadata: {}
3080
- post_install_message:
3089
+ post_install_message:
3081
3090
  rdoc_options: []
3082
3091
  require_paths:
3083
3092
  - lib
@@ -3093,7 +3102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3093
3102
  version: '0'
3094
3103
  requirements: []
3095
3104
  rubygems_version: 3.5.3
3096
- signing_key:
3105
+ signing_key:
3097
3106
  specification_version: 4
3098
3107
  summary: Playbook Design System
3099
3108
  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
- }