playbook_ui 14.11.1.pre.alpha.PBNTR769sticky5359 → 14.11.1.pre.alpha.PBNTR798datepickerturbo5537
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/pb_advanced_table/_advanced_table.scss +0 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.md +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -2
- data/app/pb_kits/playbook/pb_button/button.html.erb +2 -3
- data/app/pb_kits/playbook/pb_checkbox/checkbox.html.erb +1 -6
- data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +24 -16
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +2 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.md +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames.html.erb +13 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames_rails.md +3 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.html.erb +3 -9
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.md +5 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.html.erb +38 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.md +3 -0
- data/app/pb_kits/playbook/pb_draggable/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.md +1 -1
- data/app/pb_kits/playbook/pb_dropdown/dropdown.html.erb +7 -12
- data/app/pb_kits/playbook/pb_dropdown/dropdown_container.html.erb +9 -14
- data/app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb +6 -11
- data/app/pb_kits/playbook/pb_dropdown/dropdown_trigger.html.erb +8 -14
- data/app/pb_kits/playbook/pb_list/item.html.erb +30 -8
- data/app/pb_kits/playbook/pb_list/item.rb +7 -0
- data/app/pb_kits/playbook/pb_list/list.html.erb +31 -11
- data/app/pb_kits/playbook/pb_list/list.rb +4 -0
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +6 -1
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +30 -12
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.html.erb +15 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.jsx +24 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.md +1 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +3 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +3 -0
- data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.test.js +20 -1
- data/app/pb_kits/playbook/pb_radio/_radio.scss +12 -8
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx +8 -3
- data/app/pb_kits/playbook/pb_selectable_list/selectable_list.html.erb +17 -3
- data/app/pb_kits/playbook/pb_selectable_list/selectable_list.rb +3 -0
- data/app/pb_kits/playbook/pb_selectable_list/selectable_list_item.html.erb +11 -4
- data/app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb +3 -0
- data/app/pb_kits/playbook/pb_table/_table.tsx +2 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.html.erb +74 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_rails.md +3 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_rails.md +2 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.html.erb +74 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_rails.md +3 -0
- data/app/pb_kits/playbook/pb_table/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_table/index.ts +93 -34
- data/app/pb_kits/playbook/pb_table/styles/_scroll.scss +6 -5
- data/app/pb_kits/playbook/pb_table/table.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/table.rb +17 -2
- data/app/pb_kits/playbook/pb_table/utilities/addDataTitle.ts +22 -0
- data/app/pb_kits/playbook/pb_timeline/_timeline.scss +30 -30
- data/dist/chunks/{_typeahead-BNULwihE.js → _typeahead-TN5aDUj9.js} +2 -2
- data/dist/chunks/_weekday_stacked-BcnpLG66.js +45 -0
- data/dist/chunks/{lib-B7sgJtGS.js → lib-OFT985dg.js} +2 -2
- data/dist/chunks/{pb_form_validation-C5Cc0-1v.js → pb_form_validation-CrsXd1-Y.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/version.rb +1 -1
- metadata +33 -7
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header_responsive.jsx +0 -52
- data/dist/chunks/_weekday_stacked-BKWemDAe.js +0 -45
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.11.1.pre.alpha.
|
4
|
+
version: 14.11.1.pre.alpha.PBNTR798datepickerturbo5537
|
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-01-
|
12
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -95,6 +95,20 @@ dependencies:
|
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: 0.3.2
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: brakeman
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 7.0.0
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - '='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 7.0.0
|
98
112
|
- !ruby/object:Gem::Dependency
|
99
113
|
name: byebug
|
100
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -298,7 +312,6 @@ files:
|
|
298
312
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.md
|
299
313
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.jsx
|
300
314
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.md
|
301
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header_responsive.jsx
|
302
315
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.jsx
|
303
316
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.md
|
304
317
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.jsx
|
@@ -917,6 +930,8 @@ files:
|
|
917
930
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.html.erb
|
918
931
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.jsx
|
919
932
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.md
|
933
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames.html.erb
|
934
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames_rails.md
|
920
935
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.html.erb
|
921
936
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.jsx
|
922
937
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.md
|
@@ -1133,8 +1148,11 @@ files:
|
|
1133
1148
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx
|
1134
1149
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md
|
1135
1150
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.html.erb
|
1151
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.md
|
1136
1152
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx
|
1137
1153
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.md
|
1154
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.html.erb
|
1155
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.md
|
1138
1156
|
- app/pb_kits/playbook/pb_draggable/docs/example.yml
|
1139
1157
|
- app/pb_kits/playbook/pb_draggable/docs/index.js
|
1140
1158
|
- app/pb_kits/playbook/pb_draggable/draggable.html.erb
|
@@ -2141,6 +2159,9 @@ files:
|
|
2141
2159
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.html.erb
|
2142
2160
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.jsx
|
2143
2161
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.md
|
2162
|
+
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.html.erb
|
2163
|
+
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.jsx
|
2164
|
+
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.md
|
2144
2165
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.html.erb
|
2145
2166
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.jsx
|
2146
2167
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.md
|
@@ -2646,13 +2667,17 @@ files:
|
|
2646
2667
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.html.erb
|
2647
2668
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.jsx
|
2648
2669
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.md
|
2670
|
+
- app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.html.erb
|
2649
2671
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.jsx
|
2672
|
+
- app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_rails.md
|
2650
2673
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_react.md
|
2651
2674
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.html.erb
|
2652
2675
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.jsx
|
2653
2676
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_rails.md
|
2654
2677
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md
|
2678
|
+
- app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.html.erb
|
2655
2679
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.jsx
|
2680
|
+
- app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_rails.md
|
2656
2681
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_react.md
|
2657
2682
|
- app/pb_kits/playbook/pb_table/docs/_table_striped.html.erb
|
2658
2683
|
- app/pb_kits/playbook/pb_table/docs/_table_striped.jsx
|
@@ -2730,6 +2755,7 @@ files:
|
|
2730
2755
|
- app/pb_kits/playbook/pb_table/table_header.rb
|
2731
2756
|
- app/pb_kits/playbook/pb_table/table_row.html.erb
|
2732
2757
|
- app/pb_kits/playbook/pb_table/table_row.rb
|
2758
|
+
- app/pb_kits/playbook/pb_table/utilities/addDataTitle.ts
|
2733
2759
|
- app/pb_kits/playbook/pb_text_input/_text_input.scss
|
2734
2760
|
- app/pb_kits/playbook/pb_text_input/_text_input.tsx
|
2735
2761
|
- app/pb_kits/playbook/pb_text_input/add_on.html.erb
|
@@ -3238,11 +3264,11 @@ files:
|
|
3238
3264
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3239
3265
|
- app/pb_kits/playbook/utilities/text.ts
|
3240
3266
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3241
|
-
- dist/chunks/_typeahead-
|
3242
|
-
- dist/chunks/_weekday_stacked-
|
3267
|
+
- dist/chunks/_typeahead-TN5aDUj9.js
|
3268
|
+
- dist/chunks/_weekday_stacked-BcnpLG66.js
|
3243
3269
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3244
|
-
- dist/chunks/lib-
|
3245
|
-
- dist/chunks/pb_form_validation-
|
3270
|
+
- dist/chunks/lib-OFT985dg.js
|
3271
|
+
- dist/chunks/pb_form_validation-CrsXd1-Y.js
|
3246
3272
|
- dist/chunks/vendor.js
|
3247
3273
|
- dist/menu.yml
|
3248
3274
|
- dist/playbook-doc.js
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header_responsive.jsx
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import { AdvancedTable } from "playbook-ui"
|
3
|
-
import MOCK_DATA from "./advanced_table_mock_data.json"
|
4
|
-
|
5
|
-
const AdvancedTableStickyHeaderResponsive = (props) => {
|
6
|
-
const columnDefinitions = [
|
7
|
-
{
|
8
|
-
accessor: "year",
|
9
|
-
label: "Year",
|
10
|
-
cellAccessors: ["quarter", "month", "day"],
|
11
|
-
},
|
12
|
-
{
|
13
|
-
accessor: "newEnrollments",
|
14
|
-
label: "New Enrollments",
|
15
|
-
},
|
16
|
-
{
|
17
|
-
accessor: "scheduledMeetings",
|
18
|
-
label: "Scheduled Meetings",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
accessor: "attendanceRate",
|
22
|
-
label: "Attendance Rate",
|
23
|
-
},
|
24
|
-
{
|
25
|
-
accessor: "completedClasses",
|
26
|
-
label: "Completed Classes",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "classCompletionRate",
|
30
|
-
label: "Class Completion Rate",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
accessor: "graduatedStudents",
|
34
|
-
label: "Graduated Students",
|
35
|
-
},
|
36
|
-
]
|
37
|
-
|
38
|
-
|
39
|
-
return (
|
40
|
-
<div>
|
41
|
-
<AdvancedTable
|
42
|
-
columnDefinitions={columnDefinitions}
|
43
|
-
htmlOptions={{style: { maxHeight: "100vh" }}}
|
44
|
-
tableData={MOCK_DATA}
|
45
|
-
tableProps={{sticky:true}}
|
46
|
-
{...props}
|
47
|
-
/>
|
48
|
-
</div>
|
49
|
-
)
|
50
|
-
}
|
51
|
-
|
52
|
-
export default AdvancedTableStickyHeaderResponsive
|