playbook_ui 14.4.0.pre.alpha.PBNTR550typeaheadformpilltruncate3895 → 14.4.0.pre.alpha.PLAY1486highchartscssdrivenPOC3921
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/advanced_table.test.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.scss +25 -0
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +5 -184
- data/app/pb_kits/playbook/pb_bar_graph/barGraph.test.js +1 -1
- data/app/pb_kits/playbook/pb_button/_button.tsx +6 -2
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +5 -216
- data/app/pb_kits/playbook/pb_circle_chart/circleChart.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_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_form_pill/_form_pill.tsx +1 -9
- data/app/pb_kits/playbook/pb_gantt_chart/_gantt_chart.tsx +3 -64
- data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +5 -203
- data/app/pb_kits/playbook/pb_gauge/gauge.test.js +1 -1
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +5 -154
- data/app/pb_kits/playbook/pb_line_graph/lineGraph.test.js +1 -1
- 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/docs/_radio_custom_children.html.erb +2 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx +5 -2
- data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +17 -13
- data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +5 -113
- data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +1 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +1 -4
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +1 -3
- data/app/pb_kits/playbook/utilities/icons/allicons.tsx +13 -13
- data/dist/chunks/_typeahead-BywvWGAm.js +22 -0
- data/dist/chunks/_weekday_stacked-5OGZKZeo.js +45 -0
- data/dist/chunks/lib-DMOmCoAX.js +29 -0
- data/dist/chunks/{pb_form_validation-D9zkwt2b.js → pb_form_validation-Dna2I7fw.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 +21 -6
- data/dist/chunks/_typeahead-Ctc4yCCN.js +0 -22
- data/dist/chunks/_weekday_stacked-B4Xs5p_U.js +0 -45
- data/dist/chunks/lib-CEpcaI8y.js +0 -29
@@ -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.PLAY1486highchartscssdrivenPOC3921
|
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
|
@@ -3055,11 +3070,11 @@ files:
|
|
3055
3070
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3056
3071
|
- app/pb_kits/playbook/utilities/text.ts
|
3057
3072
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3058
|
-
- dist/chunks/_typeahead-
|
3059
|
-
- dist/chunks/_weekday_stacked-
|
3073
|
+
- dist/chunks/_typeahead-BywvWGAm.js
|
3074
|
+
- dist/chunks/_weekday_stacked-5OGZKZeo.js
|
3060
3075
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3061
|
-
- dist/chunks/lib-
|
3062
|
-
- dist/chunks/pb_form_validation-
|
3076
|
+
- dist/chunks/lib-DMOmCoAX.js
|
3077
|
+
- dist/chunks/pb_form_validation-Dna2I7fw.js
|
3063
3078
|
- dist/chunks/vendor.js
|
3064
3079
|
- dist/menu.yml
|
3065
3080
|
- dist/playbook-doc.js
|