playbook_ui 14.18.0.pre.alpha.revert4567revert4553PLAY2056ATcolbordercolors7469 → 14.18.0.pre.rc.0
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/Components/RegularTableView.tsx +3 -23
- data/app/pb_kits/playbook/pb_advanced_table/Components/TableHeaderCell.tsx +3 -67
- data/app/pb_kits/playbook/pb_advanced_table/Hooks/useTableActions.ts +2 -1
- data/app/pb_kits/playbook/pb_advanced_table/Utilities/ExpansionControlHelpers.tsx +19 -29
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +143 -365
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +1 -14
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.rb +1 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.html.erb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.jsx +2 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_rails.md +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_react.md +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md +2 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md +2 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +3 -10
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -6
- data/app/pb_kits/playbook/pb_advanced_table/index.js +0 -7
- data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/circleChart.test.js +2 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.html.erb +2 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +2 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +3 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +1 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.scss +1 -39
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.tsx +0 -4
- data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb +1 -9
- data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js +0 -14
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_copy_button/_copy_button.tsx +45 -19
- data/app/pb_kits/playbook/pb_copy_button/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_copy_button/docs/index.js +1 -2
- data/app/pb_kits/playbook/pb_copy_button/index.js +20 -46
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +0 -12
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +0 -12
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +1 -50
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.jsx +1 -4
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.md +0 -4
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.md +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.md +1 -5
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_date_picker/plugins/quickPick.tsx +0 -10
- data/app/pb_kits/playbook/pb_dialog/dialog.html.erb +1 -10
- data/app/pb_kits/playbook/pb_dialog/dialog.rb +0 -2
- data/app/pb_kits/playbook/pb_dialog/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_dialog/index.js +14 -106
- data/app/pb_kits/playbook/pb_draggable/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_draggable/draggable.rb +1 -9
- data/app/pb_kits/playbook/pb_draggable/index.js +142 -139
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.tsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_error.jsx +1 -4
- data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownOption.tsx +1 -1
- data/app/pb_kits/playbook/pb_filter/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_form_group/_form_group.scss +3 -23
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.html.erb +5 -15
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.jsx +6 -39
- data/app/pb_kits/playbook/pb_gauge/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_gauge/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_layout/_layout.scss +1 -70
- data/app/pb_kits/playbook/pb_layout/_layout.tsx +2 -29
- data/app/pb_kits/playbook/pb_layout/docs/_layout_bracket.jsx +118 -322
- data/app/pb_kits/playbook/pb_layout/docs/_layout_bracket.md +1 -1
- data/app/pb_kits/playbook/pb_layout/subcomponents/_game.tsx +43 -74
- data/app/pb_kits/playbook/pb_layout/subcomponents/_round.tsx +4 -21
- data/app/pb_kits/playbook/pb_line_graph/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_overlay/_overlay.scss +22 -83
- data/app/pb_kits/playbook/pb_overlay/_overlay.tsx +7 -39
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +7 -1
- data/app/pb_kits/playbook/pb_overlay/docs/example.yml +0 -5
- data/app/pb_kits/playbook/pb_overlay/docs/index.js +0 -5
- data/app/pb_kits/playbook/pb_overlay/overlay.test.jsx +1 -39
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +0 -13
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +1 -3
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx +1 -8
- data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +0 -3
- data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.test.js +0 -19
- data/app/pb_kits/playbook/pb_popover/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_popover/index.ts +1 -13
- data/app/pb_kits/playbook/pb_popover/popover.rb +0 -2
- data/app/pb_kits/playbook/pb_select/docs/_select_error.jsx +2 -7
- data/app/pb_kits/playbook/pb_table/_table.tsx +2 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.md +1 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows_rails.md +1 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md +1 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.md +1 -3
- data/app/pb_kits/playbook/pb_table/styles/_collapsible.scss +1 -1
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +5 -13
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_error.jsx +1 -9
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_text_input/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_text_input/inputMask.ts +1 -8
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error.jsx +1 -7
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.jsx +2 -6
- data/dist/chunks/_typeahead-C2GOKWtm.js +22 -0
- data/dist/chunks/_weekday_stacked-CFGTPT0O.js +45 -0
- data/dist/chunks/lib-BGzBzFZX.js +29 -0
- data/dist/chunks/{pb_form_validation-BWjy4bFn.js → pb_form_validation-BvNy9Bd6.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +2 -2
- data/dist/playbook-doc.js +1 -19
- 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 +2 -2
- metadata +8 -71
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color.jsx +0 -80
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color_rails.html.erb +0 -58
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color_rails.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expand_by_depth.jsx +0 -66
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expand_by_depth.md +0 -10
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns.jsx +0 -58
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns.md +0 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns_and_header.jsx +0 -64
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns_and_header.md +0 -8
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header.jsx +0 -55
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header_rails.html.erb +0 -33
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header_rails.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/scss_partials/advanced_table_sticky_mixin.scss +0 -97
- data/app/pb_kits/playbook/pb_circle_chart/circleChartTheme.ts +0 -53
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx +0 -38
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md +0 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_size.html.erb +0 -28
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_size.jsx +0 -42
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_size.md +0 -1
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook.jsx +0 -54
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook.md +0 -3
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook_rails.html.erb +0 -14
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_hook_rails.md +0 -3
- data/app/pb_kits/playbook/pb_copy_button/usePBCopy.ts +0 -45
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern.jsx +0 -34
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern.md +0 -14
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern_rails.html.erb +0 -20
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern_rails.md +0 -14
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_turbo_frames.html.erb +0 -117
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_turbo_frames_rails.md +0 -9
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones.html.erb +0 -43
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_colors.html.erb +0 -55
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_colors_rails.md +0 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_event_listeners.html.erb +0 -42
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_event_listeners.md +0 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_within_turbo_frames.html.erb +0 -41
- data/app/pb_kits/playbook/pb_filter/docs/_filter_within_turbo_frames.md +0 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_pb_styles.jsx +0 -30
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_pb_styles.md +0 -1
- data/app/pb_kits/playbook/pb_gauge/gaugeTheme.ts +0 -85
- data/app/pb_kits/playbook/pb_layout/subcomponents/_participant.tsx +0 -79
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.jsx +0 -52
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.md +0 -1
- data/app/pb_kits/playbook/pb_line_graph/lineGraphTheme.ts +0 -110
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_color.jsx +0 -63
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_color.md +0 -3
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_fullscreen_background.jsx +0 -49
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_fullscreen_background.md +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_fullscreen_opacity.jsx +0 -81
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_fullscreen_opacity.md +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_gradient_opacity.jsx +0 -39
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_gradient_opacity.md +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_layout.jsx +0 -40
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_layout.md +0 -5
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_country_search.html.erb +0 -10
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_country_search.jsx +0 -20
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_country_search.md +0 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to.html.erb +0 -46
- data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to.md +0 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_sanitize.jsx +0 -94
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_sanitize.md +0 -1
- data/dist/chunks/_typeahead-D8CsVBZO.js +0 -22
- data/dist/chunks/_weekday_stacked-D3oLTSkH.js +0 -45
- data/dist/chunks/lib-BmTAc7Nc.js +0 -29
- /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_drop_zones_react.md → _draggable_drop_zones.md} +0 -0
- /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_drop_zones_colors_react.md → _draggable_drop_zones_colors.md} +0 -0
@@ -8,31 +8,10 @@
|
|
8
8
|
@import "../tokens/screen_sizes";
|
9
9
|
@import "../tokens/shadows";
|
10
10
|
@import "../tokens/positioning";
|
11
|
-
@import "./scss_partials/advanced_table_sticky_mixin";
|
12
11
|
|
13
12
|
.pb_advanced_table {
|
14
13
|
$border-color: 1px solid $border_light;
|
15
14
|
|
16
|
-
// Base vertical border color variable setup
|
17
|
-
--column-border-color: #{$border_light};
|
18
|
-
|
19
|
-
// Define color tokens once
|
20
|
-
$border_color_options: (
|
21
|
-
"text_lt_default": $text_lt_default,
|
22
|
-
"text_lt_light": $text_lt_light,
|
23
|
-
"text_lt_lighter": $text_lt_lighter,
|
24
|
-
"text_dk_default": $text_dk_default,
|
25
|
-
"text_dk_light": $text_dk_light,
|
26
|
-
"text_dk_lighter": $text_dk_lighter
|
27
|
-
);
|
28
|
-
|
29
|
-
// Generate classes for each color option
|
30
|
-
@each $color_name, $color_value in $border_color_options {
|
31
|
-
&.column-group-border-#{$color_name} {
|
32
|
-
--column-border-color: #{$color_value};
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
15
|
[id$="-span"] {
|
37
16
|
word-wrap: normal;
|
38
17
|
}
|
@@ -114,8 +93,8 @@
|
|
114
93
|
border-right: 1px solid $border_light !important;
|
115
94
|
}
|
116
95
|
.table-header-cells-custom {
|
117
|
-
text-align:
|
118
|
-
[class^=
|
96
|
+
text-align:center;
|
97
|
+
[class^=pb_checkbox_kit] .pb_checkbox_label {
|
119
98
|
padding-left: 0px;
|
120
99
|
}
|
121
100
|
}
|
@@ -125,7 +104,7 @@
|
|
125
104
|
}
|
126
105
|
// Right align header content of first data column in selectable row no subrow setup
|
127
106
|
&.selectable-rows-enabled {
|
128
|
-
tr {
|
107
|
+
tr {
|
129
108
|
th:nth-child(2),
|
130
109
|
.pb_flex_kit_orientation_row_justify_content_start_align_items_center_spacing_none.gap_none {
|
131
110
|
justify-content: flex-end;
|
@@ -143,20 +122,13 @@
|
|
143
122
|
}
|
144
123
|
|
145
124
|
// Set fixed width for checkbox column
|
146
|
-
&.table-header-cells-custom,
|
125
|
+
&.table-header-cells-custom,
|
147
126
|
&.checkbox-cell.checkbox-cell-header {
|
148
127
|
width: 40px !important;
|
149
128
|
min-width: 40px !important;
|
150
129
|
box-sizing: border-box !important;
|
151
130
|
}
|
152
131
|
}
|
153
|
-
.expand-by-depth-dropdown-wrapper {
|
154
|
-
position: unset !important;
|
155
|
-
}
|
156
|
-
.expand-by-depth-dropdown {
|
157
|
-
width: unset !important;
|
158
|
-
text-align: left;
|
159
|
-
}
|
160
132
|
}
|
161
133
|
|
162
134
|
.pb_advanced_table_body {
|
@@ -173,7 +145,7 @@
|
|
173
145
|
.checkbox-cell {
|
174
146
|
display: flex;
|
175
147
|
justify-content: center;
|
176
|
-
[class^=
|
148
|
+
[class^=pb_checkbox_kit] .pb_checkbox_label {
|
177
149
|
padding-left: 0px;
|
178
150
|
}
|
179
151
|
}
|
@@ -201,7 +173,7 @@
|
|
201
173
|
}
|
202
174
|
}
|
203
175
|
td {
|
204
|
-
[class^=
|
176
|
+
[class^=pb_text_input_kit] .text_input_wrapper input {
|
205
177
|
padding: 0 $space_xxs;
|
206
178
|
font-size: 14px;
|
207
179
|
text-align: right;
|
@@ -258,12 +230,12 @@
|
|
258
230
|
max-height: 1920px;
|
259
231
|
overflow-y: auto;
|
260
232
|
}
|
261
|
-
|
233
|
+
|
262
234
|
// Fullscreen
|
263
235
|
&.advanced-table-allow-fullscreen {
|
264
236
|
transition: all 0.3s ease;
|
265
237
|
}
|
266
|
-
|
238
|
+
|
267
239
|
&.advanced-table-fullscreen {
|
268
240
|
background-color: $bg_light;
|
269
241
|
box-sizing: border-box;
|
@@ -276,10 +248,7 @@
|
|
276
248
|
z-index: $z_10;
|
277
249
|
|
278
250
|
.pb_table {
|
279
|
-
th,
|
280
|
-
td,
|
281
|
-
div,
|
282
|
-
button {
|
251
|
+
th, td, div, button {
|
283
252
|
font-size: calc(100%);
|
284
253
|
}
|
285
254
|
box-sizing: border-box;
|
@@ -297,7 +266,7 @@
|
|
297
266
|
}
|
298
267
|
}
|
299
268
|
}
|
300
|
-
|
269
|
+
|
301
270
|
.advanced-table-fullscreen-header {
|
302
271
|
background-color: $white;
|
303
272
|
height: 44px;
|
@@ -366,133 +335,13 @@
|
|
366
335
|
}
|
367
336
|
}
|
368
337
|
|
369
|
-
//
|
338
|
+
// Vertical separator
|
370
339
|
.table-header-cells:first-child,
|
371
340
|
.table-header-cells-custom:first-child,
|
372
341
|
td:first-child,
|
373
342
|
.pb_table_td:first-child,
|
374
343
|
.checkbox-cell.checkbox-cell-header:first-child {
|
375
|
-
box-shadow: 1px 0px 0px 0px
|
376
|
-
}
|
377
|
-
|
378
|
-
// Color for collapsible trail
|
379
|
-
.collapsible-trail {
|
380
|
-
background-color: $border_light !important;
|
381
|
-
position: absolute;
|
382
|
-
top: 0;
|
383
|
-
bottom: 0;
|
384
|
-
width: 2px;
|
385
|
-
}
|
386
|
-
|
387
|
-
// Make sure all horizontal borders use the default border color
|
388
|
-
tr, th, td {
|
389
|
-
border-top-color: $border_light !important;
|
390
|
-
border-bottom-color: $border_light !important;
|
391
|
-
}
|
392
|
-
|
393
|
-
// Apply border colors when columnGroupBorderColor is set
|
394
|
-
&[class*="column-group-border-"] {
|
395
|
-
// For top-level column groups
|
396
|
-
.pb_advanced_table_header {
|
397
|
-
// The main column group headers
|
398
|
-
> tr:first-child {
|
399
|
-
th[colspan]:not([colspan="1"]):not(:last-child) {
|
400
|
-
border-right: 1px solid var(--column-border-color) !important;
|
401
|
-
}
|
402
|
-
}
|
403
|
-
|
404
|
-
// Subgroup headers
|
405
|
-
> tr:nth-child(2) {
|
406
|
-
th[colspan]:not([colspan="1"]):not(:last-child) {
|
407
|
-
border-right: 1px solid var(--column-border-color) !important;
|
408
|
-
}
|
409
|
-
|
410
|
-
// Last cell in each subgroup
|
411
|
-
th.last-header-cell:not(:last-child) {
|
412
|
-
border-right: 1px solid var(--column-border-color) !important;
|
413
|
-
}
|
414
|
-
}
|
415
|
-
|
416
|
-
// Individual column headers at subgroup boundaries
|
417
|
-
> tr:last-child {
|
418
|
-
// Last cell in each subgroup
|
419
|
-
th.last-header-cell:not(:last-child) {
|
420
|
-
border-right: 1px solid var(--column-border-color) !important;
|
421
|
-
}
|
422
|
-
}
|
423
|
-
}
|
424
|
-
|
425
|
-
// For data cells at column group boundaries
|
426
|
-
.pb_advanced_table_body {
|
427
|
-
// Apply to cells that are at column group boundaries
|
428
|
-
td.last-cell:not(:last-child),
|
429
|
-
.pb_table_td.last-cell:not(:last-child) {
|
430
|
-
border-right: 1px solid var(--column-border-color) !important;
|
431
|
-
}
|
432
|
-
|
433
|
-
// Virtualized row cells at column group boundaries
|
434
|
-
tr.virtualized-table-row {
|
435
|
-
td.last-cell:not(:last-child) {
|
436
|
-
border-right: 1px solid var(--column-border-color) !important;
|
437
|
-
}
|
438
|
-
}
|
439
|
-
}
|
440
|
-
|
441
|
-
// Sub-row headers
|
442
|
-
.toggle-content {
|
443
|
-
td {
|
444
|
-
border-bottom: 1px solid $border_light !important;
|
445
|
-
}
|
446
|
-
}
|
447
|
-
}
|
448
|
-
|
449
|
-
// Restore vertical border styling when verticalBorder is true
|
450
|
-
.pb_table[data-vertical-border="true"] {
|
451
|
-
.pb_advanced_table_header {
|
452
|
-
> tr:not(:first-child) {
|
453
|
-
th:not(:last-child) {
|
454
|
-
border-right: 1px solid $border_light !important;
|
455
|
-
}
|
456
|
-
}
|
457
|
-
}
|
458
|
-
|
459
|
-
.pb_advanced_table_body {
|
460
|
-
td:not(:last-child),
|
461
|
-
.pb_table_td:not(:last-child) {
|
462
|
-
border-right: 1px solid $border_light !important;
|
463
|
-
}
|
464
|
-
}
|
465
|
-
|
466
|
-
tr.virtualized-table-row {
|
467
|
-
td:not(:last-child) {
|
468
|
-
border-right: 1px solid $border_light !important;
|
469
|
-
}
|
470
|
-
}
|
471
|
-
|
472
|
-
// When both verticalBorder AND columnGroupBorderColor are set,
|
473
|
-
// override the default border-light with the custom color
|
474
|
-
&.pb_advanced_table[class*="column-group-border-"] {
|
475
|
-
.pb_advanced_table_header {
|
476
|
-
> tr:not(:first-child) {
|
477
|
-
th:not(:last-child) {
|
478
|
-
border-right: 1px solid var(--column-border-color) !important;
|
479
|
-
}
|
480
|
-
}
|
481
|
-
}
|
482
|
-
|
483
|
-
.pb_advanced_table_body {
|
484
|
-
td:not(:last-child),
|
485
|
-
.pb_table_td:not(:last-child) {
|
486
|
-
border-right: 1px solid var(--column-border-color) !important;
|
487
|
-
}
|
488
|
-
}
|
489
|
-
|
490
|
-
tr.virtualized-table-row {
|
491
|
-
td:not(:last-child) {
|
492
|
-
border-right: 1px solid var(--column-border-color) !important;
|
493
|
-
}
|
494
|
-
}
|
495
|
-
}
|
344
|
+
box-shadow: 1px 0px 0px 0px $border_light !important;
|
496
345
|
}
|
497
346
|
|
498
347
|
@include chrome_styles($border-color);
|
@@ -515,74 +364,88 @@
|
|
515
364
|
height: auto;
|
516
365
|
}
|
517
366
|
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
$color_value,
|
525
|
-
$white,
|
526
|
-
lighten($silver, $opacity_7)
|
527
|
-
);
|
528
|
-
} @else if $theme == "dark" {
|
529
|
-
@include advanced-table-sticky-mixin(
|
530
|
-
$color_value,
|
531
|
-
$bg_dark_card,
|
532
|
-
$bg_dark
|
533
|
-
);
|
534
|
-
}
|
535
|
-
}
|
536
|
-
}
|
537
|
-
}
|
538
|
-
|
539
|
-
// Sticky Left Columns Styling
|
540
|
-
&[class*="advanced-table-sticky-left-columns"] {
|
541
|
-
overflow-x: scroll;
|
542
|
-
.sticky-left {
|
543
|
-
position: sticky !important;
|
544
|
-
z-index: 2;
|
545
|
-
background-color: $white;
|
546
|
-
box-shadow: $shadow_deep;
|
547
|
-
}
|
548
|
-
@include advanced-table-sticky-mixin(
|
549
|
-
$border_light,
|
550
|
-
$white,
|
551
|
-
lighten($silver, $opacity_7)
|
552
|
-
);
|
553
|
-
|
554
|
-
// Apply border colors for sticky columns
|
555
|
-
@include apply-sticky-colors("light");
|
367
|
+
.collapsible-trail {
|
368
|
+
background-color: $border_light;
|
369
|
+
position: absolute;
|
370
|
+
top: 0;
|
371
|
+
bottom: 0;
|
372
|
+
width: 2px;
|
556
373
|
}
|
557
374
|
|
558
375
|
// Responsive Styles
|
559
376
|
@media only screen and (max-width: $screen-xl-min) {
|
560
377
|
&[class*="advanced-table-responsive-scroll"] {
|
378
|
+
border-radius: 4px;
|
379
|
+
box-shadow: 1px 0 0 0px $border_light,
|
380
|
+
-1px 0 0 0px $border_light;
|
381
|
+
display: block;
|
561
382
|
overflow-x: auto;
|
562
383
|
width: 100%;
|
384
|
+
[class^=pb_table].table-sm.table-card thead tr th:first-child,
|
385
|
+
[class^=pb_table].table-sm:not(.no-hover).table-card tbody tr td:first-child {
|
386
|
+
border-left-width: 0px !important;
|
387
|
+
}
|
388
|
+
[class^=pb_table].table-sm.table-card thead tr th:last-child,
|
389
|
+
[class^=pb_table].table-sm:not(.no-hover).table-card tbody tr td:last-child {
|
390
|
+
border-right-width: 0px;
|
391
|
+
}
|
392
|
+
[class^=pb_table].table-sm.table-card tbody tr:last-child td:first-child,
|
393
|
+
[class^=pb_table].table-sm.table-card tbody tr:last-child td:last-child {
|
394
|
+
border-radius: 0 0 0 0;
|
395
|
+
}
|
396
|
+
.table-header-cells:first-child,
|
397
|
+
td:first-child,
|
398
|
+
.pb_table_td:first-child,
|
399
|
+
.checkbox-cell.checkbox-cell-header:first-child,
|
400
|
+
[class*="pinned-left"] {
|
401
|
+
background-color: $white;
|
402
|
+
box-shadow: $shadow_deep !important;
|
403
|
+
position: sticky !important;
|
404
|
+
left: 0;
|
405
|
+
z-index: 2;
|
406
|
+
}
|
407
|
+
.bg-silver td:first-child {
|
408
|
+
background-color: lighten($silver, $opacity_7);
|
409
|
+
}
|
410
|
+
.bg-white td:first-child {
|
411
|
+
background-color: $white;
|
412
|
+
}
|
563
413
|
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
414
|
+
.virtualized-table-row {
|
415
|
+
&.bg-silver td:first-child {
|
416
|
+
background-color: lighten($silver, $opacity_7);
|
417
|
+
}
|
418
|
+
&.bg-white td:first-child {
|
419
|
+
background-color: $white;
|
420
|
+
}
|
421
|
+
&.bg-row-selection td:first-child {
|
422
|
+
background-color: $info_subtle;
|
423
|
+
}
|
574
424
|
}
|
575
425
|
|
576
|
-
.
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
426
|
+
.row-selection-actions-card {
|
427
|
+
border-right-width: 0px;
|
428
|
+
border-left-width: 0px;
|
429
|
+
position: sticky;
|
430
|
+
top: 0;
|
431
|
+
left: 0;
|
432
|
+
border-radius: unset;
|
433
|
+
}
|
434
|
+
.checkbox-cell {
|
435
|
+
display: table-cell !important;
|
436
|
+
}
|
437
|
+
.sticky-header {
|
438
|
+
thead {
|
439
|
+
th:first-child {
|
440
|
+
box-shadow: 1px 0 10px -2px $border_light !important;
|
441
|
+
}
|
442
|
+
}
|
443
|
+
.pb_advanced_table_header {
|
444
|
+
box-shadow: none !important;
|
581
445
|
}
|
582
446
|
}
|
583
447
|
}
|
584
448
|
}
|
585
|
-
|
586
449
|
@media only screen and (min-width: $screen-xl-min) {
|
587
450
|
&[class*="advanced-table-responsive-scroll"] {
|
588
451
|
overflow-x: visible;
|
@@ -590,20 +453,6 @@
|
|
590
453
|
}
|
591
454
|
|
592
455
|
&.dark {
|
593
|
-
// Override default border color for dark mode
|
594
|
-
--column-border-color: #{$border_dark};
|
595
|
-
|
596
|
-
// Dark mode default border colors for trails and horizontal borders
|
597
|
-
.collapsible-trail {
|
598
|
-
background-color: $border_dark !important;
|
599
|
-
}
|
600
|
-
|
601
|
-
// Make sure all horizontal borders use the default border color in dark mode
|
602
|
-
tr, th, td {
|
603
|
-
border-top-color: $border_dark !important;
|
604
|
-
border-bottom-color: $border_dark !important;
|
605
|
-
}
|
606
|
-
|
607
456
|
.bg-white {
|
608
457
|
background: $bg_dark_card;
|
609
458
|
}
|
@@ -631,115 +480,20 @@
|
|
631
480
|
}
|
632
481
|
}
|
633
482
|
|
634
|
-
.table-header-cells:first-child,
|
635
|
-
|
636
|
-
td:first-child,
|
637
|
-
.pb_table_td:first-child,
|
638
|
-
.checkbox-cell.checkbox-cell-header:first-child {
|
639
|
-
box-shadow: 1px 0px 0px 0px var(--column-border-color) !important;
|
483
|
+
.table-header-cells:first-child, td:first-child, .pb_table_td:first-child {
|
484
|
+
box-shadow: 1px 0px 0px 0px $border_dark !important;
|
640
485
|
}
|
641
486
|
|
642
|
-
|
643
|
-
|
644
|
-
// For top-level column groups (ENROLLMENT DATA, PERFORMANCE DATA)
|
645
|
-
.pb_advanced_table_header {
|
646
|
-
// The main column group headers - NOT the last column
|
647
|
-
> tr:first-child {
|
648
|
-
th[colspan]:not([colspan="1"]):not(:last-child) {
|
649
|
-
border-right: 1px solid var(--column-border-color) !important;
|
650
|
-
}
|
651
|
-
}
|
652
|
-
|
653
|
-
// Subgroup headers
|
654
|
-
> tr:nth-child(2) {
|
655
|
-
th[colspan]:not([colspan="1"]):not(:last-child) {
|
656
|
-
border-right: 1px solid var(--column-border-color) !important;
|
657
|
-
}
|
658
|
-
|
659
|
-
// Last cell in each subgroup
|
660
|
-
th.last-header-cell:not(:last-child) {
|
661
|
-
border-right: 1px solid var(--column-border-color) !important;
|
662
|
-
}
|
663
|
-
}
|
664
|
-
|
665
|
-
// Individual column headers at subgroup boundaries
|
666
|
-
> tr:last-child {
|
667
|
-
// Last cell in each subgroup
|
668
|
-
th.last-header-cell:not(:last-child) {
|
669
|
-
border-right: 1px solid var(--column-border-color) !important;
|
670
|
-
}
|
671
|
-
}
|
672
|
-
}
|
673
|
-
|
674
|
-
// For data cells at column group boundaries in dark mode
|
675
|
-
.pb_advanced_table_body {
|
676
|
-
// Apply to cells that are at column group boundaries
|
677
|
-
td.last-cell:not(:last-child),
|
678
|
-
.pb_table_td.last-cell:not(:last-child) {
|
679
|
-
border-right: 1px solid var(--column-border-color) !important;
|
680
|
-
}
|
681
|
-
|
682
|
-
// Virtualized row cells at column group boundaries
|
683
|
-
tr.virtualized-table-row {
|
684
|
-
td.last-cell:not(:last-child) {
|
685
|
-
border-right: 1px solid var(--column-border-color) !important;
|
686
|
-
}
|
687
|
-
}
|
688
|
-
}
|
689
|
-
|
690
|
-
// Sub-row headers
|
691
|
-
.toggle-content {
|
692
|
-
td {
|
693
|
-
border-bottom: 1px solid $border_dark !important;
|
694
|
-
}
|
695
|
-
}
|
696
|
-
}
|
697
|
-
|
698
|
-
// Restore vertical border styling in dark mode when verticalBorder is true
|
699
|
-
.pb_table[data-vertical-border="true"] {
|
700
|
-
.pb_advanced_table_header {
|
701
|
-
> tr:not(:first-child) {
|
702
|
-
th:not(:last-child) {
|
703
|
-
border-right: 1px solid $border_dark !important;
|
704
|
-
}
|
705
|
-
}
|
706
|
-
}
|
707
|
-
|
708
|
-
.pb_advanced_table_body {
|
709
|
-
td:not(:last-child),
|
710
|
-
.pb_table_td:not(:last-child) {
|
711
|
-
border-right: 1px solid $border_dark !important;
|
712
|
-
}
|
713
|
-
}
|
714
|
-
|
715
|
-
// When both verticalBorder AND columnGroupBorderColor are set in dark mode,
|
716
|
-
// override the default border-dark with the custom color
|
717
|
-
&.pb_advanced_table[class*="column-group-border-"] {
|
718
|
-
.pb_advanced_table_header {
|
719
|
-
> tr:not(:first-child) {
|
720
|
-
th:not(:last-child) {
|
721
|
-
border-right: 1px solid var(--column-border-color) !important;
|
722
|
-
}
|
723
|
-
}
|
724
|
-
}
|
725
|
-
|
726
|
-
.pb_advanced_table_body {
|
727
|
-
td:not(:last-child),
|
728
|
-
.pb_table_td:not(:last-child) {
|
729
|
-
border-right: 1px solid var(--column-border-color) !important;
|
730
|
-
}
|
731
|
-
}
|
732
|
-
}
|
487
|
+
.collapsible-trail {
|
488
|
+
background-color: $border_dark !important;
|
733
489
|
}
|
734
490
|
|
735
|
-
.sort-button-icon,
|
736
|
-
.header-sort-button > div,
|
737
|
-
.pb_th_link {
|
491
|
+
.sort-button-icon, .header-sort-button > div, .pb_th_link {
|
738
492
|
color: $white !important;
|
739
493
|
}
|
740
494
|
|
741
495
|
.gray-icon {
|
742
|
-
color:
|
496
|
+
color: $text_dk_light !important;
|
743
497
|
}
|
744
498
|
|
745
499
|
.sticky-header {
|
@@ -761,6 +515,15 @@
|
|
761
515
|
}
|
762
516
|
}
|
763
517
|
|
518
|
+
// Vertical separator
|
519
|
+
.table-header-cells:first-child,
|
520
|
+
.table-header-cells-custom:first-child,
|
521
|
+
td:first-child,
|
522
|
+
.pb_table_td:first-child,
|
523
|
+
.checkbox-cell.checkbox-cell-header:first-child {
|
524
|
+
box-shadow: 1px 0px 0px 0px $border_dark !important;
|
525
|
+
}
|
526
|
+
|
764
527
|
// Fullscreen
|
765
528
|
&.advanced-table-fullscreen {
|
766
529
|
background: $bg_dark;
|
@@ -773,48 +536,63 @@
|
|
773
536
|
z-index: $z_10;
|
774
537
|
}
|
775
538
|
|
776
|
-
&[class*="advanced-table-sticky-left-columns"] {
|
777
|
-
.sticky-left {
|
778
|
-
background-color: $bg_dark;
|
779
|
-
}
|
780
|
-
@include advanced-table-sticky-mixin(
|
781
|
-
$border_dark,
|
782
|
-
$bg_dark_card,
|
783
|
-
$bg_dark
|
784
|
-
);
|
785
|
-
}
|
786
|
-
|
787
539
|
// Dark Mode Responsive Styles
|
788
540
|
@media only screen and (max-width: $screen-xl-min) {
|
789
541
|
&[class*="advanced-table-responsive-scroll"] {
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
542
|
+
border-radius: 4px;
|
543
|
+
box-shadow: 1px 0 0 0px $border_dark,
|
544
|
+
-1px 0 0 0px $border_dark;
|
545
|
+
display: block;
|
546
|
+
overflow-x: scroll;
|
547
|
+
width: 100%;
|
548
|
+
[class^=pb_table].table-sm.table-card thead tr th:first-child,
|
549
|
+
[class^=pb_table].table-sm:not(.no-hover).table-card tbody tr td:first-child {
|
550
|
+
border-left-width: 0px;
|
796
551
|
}
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
552
|
+
[class^=pb_table].table-sm.table-card thead tr th:last-child,
|
553
|
+
[class^=pb_table].table-sm:not(.no-hover).table-card tbody tr td:last-child {
|
554
|
+
border-right-width: 0px;
|
555
|
+
}
|
556
|
+
[class^=pb_table].table-sm.table-card tbody tr:last-child td:first-child,
|
557
|
+
[class^=pb_table].table-sm.table-card tbody tr:last-child td:last-child {
|
558
|
+
border-radius: 0 0 0 0;
|
559
|
+
}
|
560
|
+
.table-header-cells:first-child,
|
561
|
+
td:first-child,
|
562
|
+
.pb_table_td:first-child,
|
563
|
+
.checkbox-cell.checkbox-cell-header:first-child,
|
564
|
+
[class*="pinned-left"] {
|
565
|
+
background: $bg_dark_card;
|
566
|
+
border-right: $border_dark;
|
807
567
|
box-shadow: $shadow_deep !important;
|
568
|
+
position: sticky !important;
|
569
|
+
}
|
570
|
+
.bg-silver td:first-child {
|
571
|
+
background-color: $bg_dark;
|
572
|
+
}
|
573
|
+
.bg-white td:first-child {
|
574
|
+
background-color: $bg_dark_card;
|
808
575
|
}
|
809
576
|
|
810
|
-
|
811
|
-
.
|
812
|
-
|
813
|
-
|
814
|
-
|
577
|
+
// Dark mode virtualized rows
|
578
|
+
.virtualized-table-row {
|
579
|
+
&.bg-silver td:first-child {
|
580
|
+
background-color: $bg_dark;
|
581
|
+
}
|
582
|
+
&.bg-white td:first-child {
|
583
|
+
background-color: $bg_dark_card;
|
584
|
+
}
|
585
|
+
}
|
586
|
+
|
587
|
+
.sticky-header {
|
588
|
+
thead {
|
589
|
+
th:first-child {
|
590
|
+
background: $bg_dark;
|
591
|
+
box-shadow: 1px 0 10px -2px $border_dark !important;
|
592
|
+
}
|
815
593
|
}
|
816
594
|
}
|
817
595
|
}
|
818
596
|
}
|
819
597
|
}
|
820
|
-
}
|
598
|
+
}
|