playbook_ui 14.4.0.pre.alpha.dependabotnpmandyarntiptapextensionparagraph2723830 → 14.4.0.pre.alpha.javascriptassets3924
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/_playbook.scss +2 -0
- data/app/pb_kits/playbook/pb_advanced_table/Components/SortIconButton.tsx +23 -4
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/_button.tsx +6 -2
- data/app/pb_kits/playbook/pb_contact/_contact.tsx +17 -5
- data/app/pb_kits/playbook/pb_contact/contact.html.erb +14 -6
- data/app/pb_kits/playbook/pb_contact/contact.rb +4 -0
- data/app/pb_kits/playbook/pb_contact/contact.test.js +1 -1
- data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +2 -6
- data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +2 -7
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +4 -3
- data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +1 -1
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +4 -0
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +6 -3
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +1 -1
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +6 -2
- data/app/pb_kits/playbook/pb_dialog/_dialog.scss +2 -0
- data/app/pb_kits/playbook/pb_dialog/dialog_header.html.erb +1 -1
- data/app/pb_kits/playbook/pb_drawer/_close_icon.tsx +25 -0
- data/app/pb_kits/playbook/pb_drawer/_drawer.scss +465 -0
- data/app/pb_kits/playbook/pb_drawer/_drawer.tsx +195 -0
- data/app/pb_kits/playbook/pb_drawer/_drawer_context.tsx +3 -0
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx +117 -0
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx +43 -0
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx +63 -0
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx +55 -0
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx +113 -0
- data/app/pb_kits/playbook/pb_drawer/docs/example.yml +12 -0
- data/app/pb_kits/playbook/pb_drawer/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_drawer/drawer.html.erb +12 -0
- data/app/pb_kits/playbook/pb_drawer/drawer.rb +8 -0
- data/app/pb_kits/playbook/pb_drawer/drawer.test.jsx +77 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.html.erb +10 -2
- data/app/pb_kits/playbook/pb_filter/docs/_filter_max_height.html.erb +5 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.html.erb +5 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.html.erb +5 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb +5 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_only.html.erb +5 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb +5 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_single.html.erb +5 -1
- data/app/pb_kits/playbook/pb_map/_map_controls.tsx +7 -1
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +15 -4
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +12 -1
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change_react.md +3 -1
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +10 -2
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list.html.erb +14 -13
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list.jsx +4 -4
- data/app/pb_kits/playbook/pb_radio/_radio.tsx +92 -33
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb +2 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx +62 -0
- data/app/pb_kits/playbook/pb_radio/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_radio/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx +12 -5
- data/app/pb_kits/playbook/pb_select/_select.tsx +5 -2
- data/app/pb_kits/playbook/pb_select/select.html.erb +1 -1
- data/app/pb_kits/playbook/pb_select/select.rb +4 -0
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +0 -1
- data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +17 -13
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +0 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +14 -0
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +3 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Control.tsx +6 -5
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.html.erb +88 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx +60 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -1
- data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +6 -1
- data/app/pb_kits/playbook/utilities/icons/allicons.tsx +136 -13
- data/app/pb_kits/playbook/utilities/icons/angle-down.svg +3 -0
- data/app/pb_kits/playbook/utilities/icons/envelope.svg +3 -0
- data/dist/chunks/_typeahead-BYw0HEgO.js +22 -0
- data/dist/chunks/_weekday_stacked-DumiyWjh.js +45 -0
- data/dist/chunks/lib-CEpcaI8y.js +29 -0
- data/dist/chunks/{pb_form_validation-zV9OpdSt.js → pb_form_validation-D9zkwt2b.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +3 -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/pagination_renderer.rb +10 -2
- data/lib/playbook/version.rb +1 -1
- metadata +26 -6
- data/dist/chunks/_typeahead-B2zRxReA.js +0 -22
- data/dist/chunks/_weekday_stacked-Co95UEiW.js +0 -45
- data/dist/chunks/lib-D2U4I1U6.js +0 -16
@@ -29,12 +29,20 @@ module Playbook
|
|
29
29
|
|
30
30
|
def previous_page
|
31
31
|
num = @collection.current_page > 1 && @collection.current_page - 1
|
32
|
-
previous_or_next_page(
|
32
|
+
previous_or_next_page(
|
33
|
+
num,
|
34
|
+
"<svg xmlns='http://www.w3.org/2000/svg' width='auto' height='auto' viewBox='0 0 30 24' fill='none' class='pb_custom_icon svg-inline--fa pb_icon_kit svg_fw svg_xs' id='' data='{}' aria='{:label=>"away"}' tabindex=''><path d='M8.20312 11.2031L17.2031 2.25C17.625 1.78125 18.3281 1.78125 18.7969 2.25C19.2188 2.67188 19.2188 3.375 18.7969 3.79688L10.5469 12L18.75 20.25C19.2188 20.6719 19.2188 21.375 18.75 21.7969C18.3281 22.2656 17.625 22.2656 17.2031 21.7969L8.20312 12.7969C7.73438 12.375 7.73438 11.6719 8.20312 11.2031Z' fill='currentColor'></path></svg>",
|
35
|
+
"prev"
|
36
|
+
)
|
33
37
|
end
|
34
38
|
|
35
39
|
def next_page
|
36
40
|
num = @collection.current_page < @collection.total_pages && @collection.current_page + 1
|
37
|
-
previous_or_next_page(
|
41
|
+
previous_or_next_page(
|
42
|
+
num,
|
43
|
+
"<svg xmlns='http://www.w3.org/2000/svg' width='auto' height='auto' viewBox='0 0 30 24' fill='none' class='pb_custom_icon svg-inline--fa pb_icon_kit svg_fw svg_xs' id='' data='{}' aria='{:label=>"away"}' tabindex=''><path d='M21.7969 11.2031C22.2188 11.6719 22.2188 12.375 21.7969 12.7969L12.7969 21.7969C12.3281 22.2656 11.625 22.2656 11.2031 21.7969C10.7344 21.375 10.7344 20.6719 11.2031 20.25L19.4062 12.0469L11.2031 3.79688C10.7344 3.375 10.7344 2.67188 11.2031 2.25C11.625 1.78125 12.3281 1.78125 12.75 2.25L21.7969 11.2031Z' fill='currentColor'></path></svg>",
|
44
|
+
"next"
|
45
|
+
)
|
38
46
|
end
|
39
47
|
end
|
40
48
|
end
|
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.4.0.pre.alpha.
|
4
|
+
version: 14.4.0.pre.alpha.javascriptassets3924
|
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: 2024-
|
12
|
+
date: 2024-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -1106,6 +1106,21 @@ files:
|
|
1106
1106
|
- app/pb_kits/playbook/pb_draggable/draggable.test.jsx
|
1107
1107
|
- app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx
|
1108
1108
|
- app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx
|
1109
|
+
- app/pb_kits/playbook/pb_drawer/_close_icon.tsx
|
1110
|
+
- app/pb_kits/playbook/pb_drawer/_drawer.scss
|
1111
|
+
- app/pb_kits/playbook/pb_drawer/_drawer.tsx
|
1112
|
+
- app/pb_kits/playbook/pb_drawer/_drawer_context.tsx
|
1113
|
+
- app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx
|
1114
|
+
- app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx
|
1115
|
+
- app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb
|
1116
|
+
- app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx
|
1117
|
+
- app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx
|
1118
|
+
- app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx
|
1119
|
+
- app/pb_kits/playbook/pb_drawer/docs/example.yml
|
1120
|
+
- app/pb_kits/playbook/pb_drawer/docs/index.js
|
1121
|
+
- app/pb_kits/playbook/pb_drawer/drawer.html.erb
|
1122
|
+
- app/pb_kits/playbook/pb_drawer/drawer.rb
|
1123
|
+
- app/pb_kits/playbook/pb_drawer/drawer.test.jsx
|
1109
1124
|
- app/pb_kits/playbook/pb_dropdown/_dropdown.scss
|
1110
1125
|
- app/pb_kits/playbook/pb_dropdown/_dropdown.tsx
|
1111
1126
|
- app/pb_kits/playbook/pb_dropdown/context/index.tsx
|
@@ -2159,6 +2174,7 @@ files:
|
|
2159
2174
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom.html.erb
|
2160
2175
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx
|
2161
2176
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
|
2177
|
+
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx
|
2162
2178
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.md
|
2163
2179
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_swift.md
|
2164
2180
|
- app/pb_kits/playbook/pb_radio/docs/_radio_default.html.erb
|
@@ -2865,6 +2881,8 @@ files:
|
|
2865
2881
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.md
|
2866
2882
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.html.erb
|
2867
2883
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
|
2884
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.html.erb
|
2885
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
|
2868
2886
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
|
2869
2887
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
|
2870
2888
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context.html.erb
|
@@ -3029,7 +3047,9 @@ files:
|
|
3029
3047
|
- app/pb_kits/playbook/utilities/globalPropNames.mjs
|
3030
3048
|
- app/pb_kits/playbook/utilities/globalProps.ts
|
3031
3049
|
- app/pb_kits/playbook/utilities/icons/allicons.tsx
|
3050
|
+
- app/pb_kits/playbook/utilities/icons/angle-down.svg
|
3032
3051
|
- app/pb_kits/playbook/utilities/icons/clock.svg
|
3052
|
+
- app/pb_kits/playbook/utilities/icons/envelope.svg
|
3033
3053
|
- app/pb_kits/playbook/utilities/icons/spinner.svg
|
3034
3054
|
- app/pb_kits/playbook/utilities/icons/times.svg
|
3035
3055
|
- app/pb_kits/playbook/utilities/object.ts
|
@@ -3050,11 +3070,11 @@ files:
|
|
3050
3070
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3051
3071
|
- app/pb_kits/playbook/utilities/text.ts
|
3052
3072
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3053
|
-
- dist/chunks/_typeahead-
|
3054
|
-
- dist/chunks/_weekday_stacked-
|
3073
|
+
- dist/chunks/_typeahead-BYw0HEgO.js
|
3074
|
+
- dist/chunks/_weekday_stacked-DumiyWjh.js
|
3055
3075
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3056
|
-
- dist/chunks/lib-
|
3057
|
-
- dist/chunks/pb_form_validation-
|
3076
|
+
- dist/chunks/lib-CEpcaI8y.js
|
3077
|
+
- dist/chunks/pb_form_validation-D9zkwt2b.js
|
3058
3078
|
- dist/chunks/vendor.js
|
3059
3079
|
- dist/menu.yml
|
3060
3080
|
- dist/playbook-doc.js
|