playbook_ui 14.16.0.pre.alpha.PLAY1938completetooltipfloatinguitransition6830 → 14.16.0.pre.alpha.play1756pbcontenttag6933

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 (70) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +34 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +86 -84
  4. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +2 -2
  5. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.rb +10 -0
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination.jsx +0 -1
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.html.erb +39 -0
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.html.erb +33 -0
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows_rails.md +1 -0
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_rails.md +6 -0
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +2 -0
  12. data/app/pb_kits/playbook/pb_advanced_table/index.js +1 -1
  13. data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +4 -2
  14. data/app/pb_kits/playbook/pb_advanced_table/table_header.html.erb +19 -9
  15. data/app/pb_kits/playbook/pb_advanced_table/table_header.rb +38 -1
  16. data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +49 -37
  17. data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +39 -0
  18. data/app/pb_kits/playbook/pb_button/_button.scss +5 -5
  19. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +34 -34
  20. data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +2 -2
  21. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +16 -0
  22. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +0 -11
  23. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.jsx +0 -7
  24. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_inline_styles.scss +28 -24
  25. data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.tsx +3 -4
  26. data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.tsx +2 -3
  27. data/app/pb_kits/playbook/pb_form/pb_form_validation.js +1 -1
  28. data/app/pb_kits/playbook/pb_lightbox/hooks/useVisibility.js +1 -1
  29. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +2 -1
  30. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +29 -11
  31. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.html.erb +1 -1
  32. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.html.erb +4 -4
  33. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.rb +2 -0
  34. data/app/pb_kits/playbook/pb_table/_table.tsx +4 -0
  35. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.jsx +50 -0
  36. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_react.md +1 -0
  37. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.jsx +59 -0
  38. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_react.md +1 -0
  39. data/app/pb_kits/playbook/pb_table/docs/example.yml +2 -0
  40. data/app/pb_kits/playbook/pb_table/docs/index.js +2 -0
  41. data/app/pb_kits/playbook/pb_table/styles/_headers.scss +76 -0
  42. data/app/pb_kits/playbook/pb_table/subcomponents/_table_head.tsx +11 -1
  43. data/app/pb_kits/playbook/pb_table/subcomponents/_table_header.tsx +11 -1
  44. data/app/pb_kits/playbook/pb_table/subcomponents/_table_row.tsx +5 -0
  45. data/app/pb_kits/playbook/pb_table/table.test.js +17 -0
  46. data/app/pb_kits/playbook/pb_tooltip/index.js +1 -1
  47. data/app/pb_kits/playbook/pb_tooltip/tooltip.html.erb +2 -5
  48. data/app/pb_kits/playbook/pb_typeahead/index.ts +2 -2
  49. data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -5
  50. data/app/pb_kits/playbook/pb_user/user.html.erb +1 -6
  51. data/app/pb_kits/playbook/pb_user_badge/user_badge.html.erb +1 -6
  52. data/app/pb_kits/playbook/utilities/globalProps.ts +1 -1
  53. data/app/pb_kits/playbook/utilities/object.test.js +149 -1
  54. data/app/pb_kits/playbook/utilities/object.ts +124 -42
  55. data/dist/chunks/_typeahead-Djo6qCne.js +22 -0
  56. data/dist/chunks/_weekday_stacked-DIIHW0OV.js +45 -0
  57. data/dist/chunks/{lib-BgzBJfYr.js → lib-BGzBzFZX.js} +3 -3
  58. data/dist/chunks/{pb_form_validation-CJD-PyIw.js → pb_form_validation-BvNy9Bd6.js} +1 -1
  59. data/dist/chunks/vendor.js +1 -1
  60. data/dist/playbook-doc.js +1 -1
  61. data/dist/playbook-rails-react-bindings.js +1 -1
  62. data/dist/playbook-rails.js +1 -1
  63. data/dist/playbook.css +1 -1
  64. data/lib/playbook/kit_base.rb +4 -4
  65. data/lib/playbook/version.rb +1 -1
  66. metadata +16 -8
  67. data/dist/chunks/_typeahead-BEyzuDQy.js +0 -22
  68. data/dist/chunks/_weekday_stacked-BWYgED9z.js +0 -45
  69. /data/app/pb_kits/playbook/pb_advanced_table/docs/{_advanced_table_selectable_rows_no_subrows.md → _advanced_table_selectable_rows_no_subrows_react.md} +0 -0
  70. /data/app/pb_kits/playbook/pb_advanced_table/docs/{_advanced_table_selectable_rows.md → _advanced_table_selectable_rows_react.md} +0 -0
@@ -91,11 +91,11 @@ module Playbook
91
91
  # rubocop:disable Layout/CommentIndentation
92
92
  # pb_content_tag information (potentially to be abstracted into its own dev doc in the future)
93
93
  # The pb_content_tag generates HTML content tags for rails kits with flexible options.
94
- # Modify a generated kit.html.erb file accordingly (the default_options listed below no longer need to be explictly outlined in that file, only modifications).
94
+ # Modify a generated kit.html.erb file accordingly (the kit_base_default_options listed below no longer need to be explictly outlined in that file, only modifications).
95
95
  # name - the first argument is for HTML tag. The default is :div.
96
96
  # content_or_options_with_block - additional content or options for the tag (i.e., the customizations a dev adds to kit.html.erb).
97
97
  # options - Within combined_options, the empty options hash allows for customizations to
98
- # merge with the default_options and combined_html_options.
98
+ # merge with the kit_base_default_options and combined_html_options.
99
99
  # escape - set to true, this allows for HTML-escape.
100
100
  # block - an optional block for content inside the tag.
101
101
  # The return is a HTML tag that includes any provided customizations. If nothing is specified in kit.html.erb, the default shape is:
@@ -111,7 +111,7 @@ module Playbook
111
111
  def pb_content_tag(name = :div, content_or_options_with_block = {}, options = {}, escape = true, &block)
112
112
  combined_options = options
113
113
  .merge(combined_html_options)
114
- .merge(default_options.merge(content_or_options_with_block))
114
+ .merge(kit_base_default_options.merge(content_or_options_with_block))
115
115
  content_tag(name, combined_options, options, escape, &block)
116
116
  end
117
117
  # rubocop:enable Style/OptionalBooleanParameter
@@ -146,7 +146,7 @@ module Playbook
146
146
 
147
147
  private
148
148
 
149
- def default_options
149
+ def kit_base_default_options
150
150
  options = {
151
151
  id: id,
152
152
  data: data,
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.16.0"
5
- VERSION = "14.16.0.pre.alpha.PLAY1938completetooltipfloatinguitransition6830"
5
+ VERSION = "14.16.0.pre.alpha.play1756pbcontenttag6933"
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: 14.16.0.pre.alpha.PLAY1938completetooltipfloatinguitransition6830
4
+ version: 14.16.0.pre.alpha.play1756pbcontenttag6933
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-03-24 00:00:00.000000000 Z
12
+ date: 2025-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -326,14 +326,18 @@ files:
326
326
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.html.erb
327
327
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.jsx
328
328
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.md
329
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.html.erb
329
330
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.jsx
330
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.md
331
331
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.jsx
332
332
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.md
333
333
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.jsx
334
334
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.md
335
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.html.erb
335
336
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.jsx
336
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.md
337
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows_rails.md
338
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows_react.md
339
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_rails.md
340
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_react.md
337
341
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.jsx
338
342
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.md
339
343
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.jsx
@@ -2856,6 +2860,10 @@ files:
2856
2860
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md
2857
2861
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.html.erb
2858
2862
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.md
2863
+ - app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.jsx
2864
+ - app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_react.md
2865
+ - app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.jsx
2866
+ - app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_react.md
2859
2867
  - app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.html.erb
2860
2868
  - app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.jsx
2861
2869
  - app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.md
@@ -3452,11 +3460,11 @@ files:
3452
3460
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3453
3461
  - app/pb_kits/playbook/utilities/text.ts
3454
3462
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3455
- - dist/chunks/_typeahead-BEyzuDQy.js
3456
- - dist/chunks/_weekday_stacked-BWYgED9z.js
3463
+ - dist/chunks/_typeahead-Djo6qCne.js
3464
+ - dist/chunks/_weekday_stacked-DIIHW0OV.js
3457
3465
  - dist/chunks/lazysizes-B7xYodB-.js
3458
- - dist/chunks/lib-BgzBJfYr.js
3459
- - dist/chunks/pb_form_validation-CJD-PyIw.js
3466
+ - dist/chunks/lib-BGzBzFZX.js
3467
+ - dist/chunks/pb_form_validation-BvNy9Bd6.js
3460
3468
  - dist/chunks/vendor.js
3461
3469
  - dist/menu.yml
3462
3470
  - dist/playbook-doc.js