playbook_ui 15.5.0.pre.rc.1 → 15.5.0.pre.rc.3
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_copy_button/_copy_button.tsx +21 -8
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_icon_variant.jsx +24 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_icon_variant_react.md +1 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_rails.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_react.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.html.erb +10 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx +10 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_rails.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_react.md +1 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.html.erb +7 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.jsx +7 -0
- data/app/pb_kits/playbook/pb_currency/docs/_description.md +2 -2
- data/app/pb_kits/playbook/pb_date_time/_date_time.tsx +3 -0
- data/app/pb_kits/playbook/pb_date_time/date_time.html.erb +1 -0
- data/app/pb_kits/playbook/pb_date_time/date_time.rb +1 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.jsx +14 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_rails.md +1 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_react.md +1 -0
- data/app/pb_kits/playbook/pb_date_time/docs/example.yml +3 -1
- data/app/pb_kits/playbook/pb_date_time/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.tsx +3 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.html.erb +2 -2
- data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.rb +2 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.test.js +33 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.jsx +22 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.md +1 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml +3 -1
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_progress_step/_progress_step.scss +384 -262
- data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +1 -5
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.html.erb +14 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.jsx +29 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.md +3 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.jsx +31 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.md +1 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +4 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +14 -3
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.md +3 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.md +3 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb +1 -7
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.md +1 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +3 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_progress_step/progress_step.test.js +41 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.tsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +8 -61
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.html.erb +2 -10
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.html.erb +11 -19
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_simple.html.erb +1 -5
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.html.erb +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +2 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.rb +7 -16
- data/app/pb_kits/playbook/pb_table/_table.tsx +28 -26
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +4 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +1 -0
- data/app/pb_kits/playbook/utilities/_truncate.scss +2 -0
- data/app/pb_kits/playbook/utilities/globalProps.ts +26 -8
- data/app/pb_kits/playbook/utilities/test/globalProps/alignContent.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/alignItems.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/alignSelf.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/display.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/flex.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/flexDirection.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/flexGrow.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/flexShrink.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/flexWrap.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/justifyContent.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/justifySelf.test.js +18 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/order.test.js +18 -0
- data/dist/chunks/{_line_graph-8BUASxIP.js → _line_graph-Co6PvNPL.js} +1 -1
- data/dist/chunks/_typeahead-D0OX5RuZ.js +6 -0
- data/dist/chunks/{_weekday_stacked-EQMaMJvC.js → _weekday_stacked-HzVLtvcd.js} +2 -2
- data/dist/chunks/{lib-CzQFzKzw.js → lib-COXg9aPA.js} +1 -1
- data/dist/chunks/{pb_form_validation-Bf9TK15t.js → pb_form_validation-DR765aoq.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +19 -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/version.rb +1 -1
- metadata +30 -10
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default_rails.md +0 -7
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline_rails.md +0 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky_rails.md +0 -1
- data/dist/chunks/_typeahead-DESMSfUO.js +0 -24
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: 15.5.0.pre.rc.
|
|
4
|
+
version: 15.5.0.pre.rc.3
|
|
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-11-
|
|
12
|
+
date: 2025-11-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: actionpack
|
|
@@ -912,6 +912,8 @@ files:
|
|
|
912
912
|
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook.md
|
|
913
913
|
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook_rails.html.erb
|
|
914
914
|
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook_rails.md
|
|
915
|
+
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_icon_variant.jsx
|
|
916
|
+
- app/pb_kits/playbook/pb_copy_button/docs/_copy_button_icon_variant_react.md
|
|
915
917
|
- app/pb_kits/playbook/pb_copy_button/docs/example.yml
|
|
916
918
|
- app/pb_kits/playbook/pb_copy_button/docs/index.js
|
|
917
919
|
- app/pb_kits/playbook/pb_copy_button/index.js
|
|
@@ -923,6 +925,7 @@ files:
|
|
|
923
925
|
- app/pb_kits/playbook/pb_currency/currency.test.js
|
|
924
926
|
- app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.html.erb
|
|
925
927
|
- app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.jsx
|
|
928
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.md
|
|
926
929
|
- app/pb_kits/playbook/pb_currency/docs/_currency_alignment.html.erb
|
|
927
930
|
- app/pb_kits/playbook/pb_currency/docs/_currency_alignment.jsx
|
|
928
931
|
- app/pb_kits/playbook/pb_currency/docs/_currency_alignment_swift.md
|
|
@@ -931,10 +934,15 @@ files:
|
|
|
931
934
|
- app/pb_kits/playbook/pb_currency/docs/_currency_comma_separator.md
|
|
932
935
|
- app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals.html.erb
|
|
933
936
|
- app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals.jsx
|
|
937
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_rails.md
|
|
938
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_react.md
|
|
934
939
|
- app/pb_kits/playbook/pb_currency/docs/_currency_negative.html.erb
|
|
935
940
|
- app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx
|
|
941
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_negative.md
|
|
936
942
|
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.html.erb
|
|
937
943
|
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx
|
|
944
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_rails.md
|
|
945
|
+
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_react.md
|
|
938
946
|
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb
|
|
939
947
|
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx
|
|
940
948
|
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display_rails.md
|
|
@@ -1170,6 +1178,10 @@ files:
|
|
|
1170
1178
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
|
|
1171
1179
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_default_swift.md
|
|
1172
1180
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_props_swift.md
|
|
1181
|
+
- app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.html.erb
|
|
1182
|
+
- app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.jsx
|
|
1183
|
+
- app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_rails.md
|
|
1184
|
+
- app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_react.md
|
|
1173
1185
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_size.html.erb
|
|
1174
1186
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_size.jsx
|
|
1175
1187
|
- app/pb_kits/playbook/pb_date_time/docs/_date_time_size_swift.md
|
|
@@ -1185,6 +1197,9 @@ files:
|
|
|
1185
1197
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default.jsx
|
|
1186
1198
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default_swift.md
|
|
1187
1199
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_props_swift.md
|
|
1200
|
+
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.html.erb
|
|
1201
|
+
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.jsx
|
|
1202
|
+
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.md
|
|
1188
1203
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml
|
|
1189
1204
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/index.js
|
|
1190
1205
|
- app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.scss
|
|
@@ -2733,15 +2748,23 @@ files:
|
|
|
2733
2748
|
- app/pb_kits/playbook/pb_progress_step/_progress_step.tsx
|
|
2734
2749
|
- app/pb_kits/playbook/pb_progress_step/_progress_step_item.tsx
|
|
2735
2750
|
- app/pb_kits/playbook/pb_progress_step/docs/_description.md
|
|
2751
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.html.erb
|
|
2752
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.jsx
|
|
2753
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.md
|
|
2736
2754
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.html.erb
|
|
2755
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.jsx
|
|
2756
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.md
|
|
2737
2757
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb
|
|
2738
2758
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx
|
|
2759
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.md
|
|
2739
2760
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tooltip.html.erb
|
|
2740
2761
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.html.erb
|
|
2741
2762
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx
|
|
2763
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.md
|
|
2742
2764
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker_click_events.jsx
|
|
2743
2765
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb
|
|
2744
2766
|
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx
|
|
2767
|
+
- app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.md
|
|
2745
2768
|
- app/pb_kits/playbook/pb_progress_step/docs/example.yml
|
|
2746
2769
|
- app/pb_kits/playbook/pb_progress_step/docs/index.js
|
|
2747
2770
|
- app/pb_kits/playbook/pb_progress_step/progress_step.html.erb
|
|
@@ -2817,12 +2840,10 @@ files:
|
|
|
2817
2840
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.jsx
|
|
2818
2841
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.html.erb
|
|
2819
2842
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
|
|
2820
|
-
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default_rails.md
|
|
2821
2843
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.html.erb
|
|
2822
2844
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.jsx
|
|
2823
2845
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.html.erb
|
|
2824
2846
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.jsx
|
|
2825
|
-
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline_rails.md
|
|
2826
2847
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_more_extensions.jsx
|
|
2827
2848
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_more_extensions.md
|
|
2828
2849
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.html.erb
|
|
@@ -2831,7 +2852,6 @@ files:
|
|
|
2831
2852
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_simple.jsx
|
|
2832
2853
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.html.erb
|
|
2833
2854
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.jsx
|
|
2834
|
-
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky_rails.md
|
|
2835
2855
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.html.erb
|
|
2836
2856
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.jsx
|
|
2837
2857
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.html.erb
|
|
@@ -3832,13 +3852,13 @@ files:
|
|
|
3832
3852
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
|
3833
3853
|
- app/pb_kits/playbook/utilities/text.ts
|
|
3834
3854
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
|
3835
|
-
- dist/chunks/_line_graph-
|
|
3836
|
-
- dist/chunks/_typeahead-
|
|
3837
|
-
- dist/chunks/_weekday_stacked-
|
|
3855
|
+
- dist/chunks/_line_graph-Co6PvNPL.js
|
|
3856
|
+
- dist/chunks/_typeahead-D0OX5RuZ.js
|
|
3857
|
+
- dist/chunks/_weekday_stacked-HzVLtvcd.js
|
|
3838
3858
|
- dist/chunks/componentRegistry-DzmmLR2x.js
|
|
3839
3859
|
- dist/chunks/lazysizes-B7xYodB-.js
|
|
3840
|
-
- dist/chunks/lib-
|
|
3841
|
-
- dist/chunks/pb_form_validation-
|
|
3860
|
+
- dist/chunks/lib-COXg9aPA.js
|
|
3861
|
+
- dist/chunks/pb_form_validation-DR765aoq.js
|
|
3842
3862
|
- dist/chunks/vendor.js
|
|
3843
3863
|
- dist/menu.yml
|
|
3844
3864
|
- dist/playbook-doc.js
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
The Rails RichTextEditor is a React-Rendered-Rails component that uses [Tiptap](https://tiptap.dev/) and requires the following packages to be installed in your project:
|
|
2
|
-
|
|
3
|
-
- `@tiptap/react`
|
|
4
|
-
- `@tiptap/starter-kit`
|
|
5
|
-
- `@tiptap/extension-link`
|
|
6
|
-
|
|
7
|
-
Once installed, the editor is initialized automatically when you use the component. Unlike the [React Advanced RichTextEditor](https://playbook.powerapp.cloud/kits/rich_text_editor/react#advanced-default) variant, [custom extensions](https://playbook.powerapp.cloud/kits/rich_text_editor/react#advanced-extra-extensions) are not currently supported. The doc examples below showcase some preset prop-enabled Rails RichTextEditor customizations.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
When the optional `inline` prop is set to true, the editor borders and the toolbar will only be visible when hovered or focused on.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Use the optional `sticky` prop to make the toolbar sticky on scroll.
|