playbook_ui 14.16.0.pre.alpha.play1964tablekitheadertextstylefix7023 → 14.16.0.pre.alpha.play1964tablekitheadertextstylefix7091
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +5 -5
- data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +14 -7
- data/app/pb_kits/playbook/pb_contact/contact.test.js +7 -7
- data/app/pb_kits/playbook/pb_date_range_inline/date_range_inline.test.js +2 -2
- data/app/pb_kits/playbook/pb_date_range_stacked/date_range_stacked.test.js +1 -1
- data/app/pb_kits/playbook/pb_draggable/context/index.tsx +58 -17
- data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +3 -3
- data/app/pb_kits/playbook/pb_dropdown/dropdown.test.jsx +3 -3
- data/app/pb_kits/playbook/pb_form_group/_form_group.scss +22 -0
- data/app/pb_kits/playbook/pb_icon/icon.test.js +9 -9
- data/app/pb_kits/playbook/pb_icon_circle/icon_circle.test.js +1 -1
- data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.test.js +1 -1
- data/app/pb_kits/playbook/pb_icon_value/icon_value.test.js +1 -1
- data/app/pb_kits/playbook/pb_label_value/label_value.test.js +1 -1
- data/app/pb_kits/playbook/pb_link/link.test.jsx +2 -2
- data/app/pb_kits/playbook/pb_nav/_nav_item.test.js +5 -3
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.md +1 -0
- data/app/pb_kits/playbook/pb_stat_change/stat_change.test.js +8 -4
- data/app/pb_kits/playbook/pb_table/styles/_headers.scss +10 -2
- data/app/pb_kits/playbook/pb_tooltip/tooltip.html.erb +2 -5
- data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -5
- data/app/pb_kits/playbook/pb_user/user.html.erb +1 -6
- data/app/pb_kits/playbook/pb_user_badge/user_badge.html.erb +1 -6
- data/dist/chunks/{_typeahead-Djo6qCne.js → _typeahead-7W5Ha5Td.js} +1 -1
- data/dist/chunks/{_weekday_stacked-BV8x7Ogy.js → _weekday_stacked-DSKatW3m.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/kit_base.rb +4 -4
- data/lib/playbook/version.rb +1 -1
- metadata +5 -4
data/lib/playbook/kit_base.rb
CHANGED
@@ -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
|
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
|
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(
|
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
|
149
|
+
def kit_base_default_options
|
150
150
|
options = {
|
151
151
|
id: id,
|
152
152
|
data: data,
|
data/lib/playbook/version.rb
CHANGED
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.
|
4
|
+
version: 14.16.0.pre.alpha.play1964tablekitheadertextstylefix7091
|
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-04-
|
12
|
+
date: 2025-04-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -2531,6 +2531,7 @@ files:
|
|
2531
2531
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_swift.md
|
2532
2532
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.html.erb
|
2533
2533
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.jsx
|
2534
|
+
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.md
|
2534
2535
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical_swift.md
|
2535
2536
|
- app/pb_kits/playbook/pb_section_separator/docs/example.yml
|
2536
2537
|
- app/pb_kits/playbook/pb_section_separator/docs/index.js
|
@@ -3466,8 +3467,8 @@ files:
|
|
3466
3467
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3467
3468
|
- app/pb_kits/playbook/utilities/text.ts
|
3468
3469
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3469
|
-
- dist/chunks/_typeahead-
|
3470
|
-
- dist/chunks/_weekday_stacked-
|
3470
|
+
- dist/chunks/_typeahead-7W5Ha5Td.js
|
3471
|
+
- dist/chunks/_weekday_stacked-DSKatW3m.js
|
3471
3472
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3472
3473
|
- dist/chunks/lib-BGzBzFZX.js
|
3473
3474
|
- dist/chunks/pb_form_validation-BvNy9Bd6.js
|