Skip to content

Commit bfa8edc

Browse files
refactor(grid): remove grid theme advanced filtering params + schemas (#461)
Co-authored-by: Simeon Simeonoff <sim.simeonoff@gmail.com>
1 parent d12d560 commit bfa8edc

2 files changed

Lines changed: 0 additions & 92 deletions

File tree

sass/themes/components/grid/_grid-theme.scss

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@
7575
/// @param {Color} $drop-area-icon-color [null] - The drop area icon color.
7676
/// @param {Color} $drop-area-background [null] - The drop area background color.
7777
/// @param {Color} $drop-area-on-drop-background [null] - The drop area background on drop color.
78-
/// @param {Color} $filtering-background-and [null] - The background color of advanced filtering "AND" condition.
79-
/// @param {Color} $filtering-background-and--focus [null] - The background color on focus/selected of advanced filtering "AND" condition.
80-
/// @param {Color} $filtering-background-or [null] - The background color of advanced filtering "OR" condition.
81-
/// @param {Color} $filtering-background-or--focus [null] - The background color on focus/selected of advanced filtering "OR" condition.
8278
/// @param {Color} $filtering-header-background [null] - The background color of the filtered column header.
8379
/// @param {Color} $filtering-header-text-color [null] - The text color of the filtered column header.
8480
/// @param {Color} $filtering-row-background [null] - The background color of the filtering row.
@@ -185,10 +181,6 @@
185181
$filtering-header-text-color: null,
186182
$filtering-row-background: null,
187183
$filtering-row-text-color: null,
188-
$filtering-background-and: null,
189-
$filtering-background-or: null,
190-
$filtering-background-and--focus: null,
191-
$filtering-background-or--focus: null,
192184
$tree-filtered-text-color: null,
193185
$tree-selected-filtered-row-text-color: null,
194186
$tree-selected-filtered-cell-text-color: null,
@@ -555,10 +547,6 @@
555547
filtering-header-text-color: $filtering-header-text-color,
556548
filtering-row-background: $filtering-row-background,
557549
filtering-row-text-color: $filtering-row-text-color,
558-
filtering-background-and: $filtering-background-and,
559-
filtering-background-or: $filtering-background-or,
560-
filtering-background-and--focus: $filtering-background-and--focus,
561-
filtering-background-or--focus: $filtering-background-or--focus,
562550

563551
excel-filtering-header-foreground: $excel-filtering-header-foreground,
564552
excel-filtering-subheader-foreground: $excel-filtering-subheader-foreground,

sass/themes/schemas/components/light/_grid.scss

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@
7070
/// @prop {Map} tree-filtered-text-color [color: ('gray', 500)] - grouping row background color on focus.
7171
/// @prop {Map} filtering-header-background [color: ('gray', 50)] - The background color of the filtered column header.
7272
/// @prop {Map} filtering-header-text-color [color: ('gray', 800)] - The text color of the filtered column header.
73-
/// @prop {Map} filtering-background-and [color: ('primary', 300)] - The background color of advanced filtering "AND" condition.
74-
/// @prop {Map} filtering-background-and--focus [color: ('primary', 700)] - The background color on focus/selected of advanced filtering "AND" condition.
75-
/// @prop {Map} filtering-background-or [color: ('secondary', 300)] - The background color of advanced filtering "OR" condition.
76-
/// @prop {Map} filtering-background-or--focus [color: ('secondary', 700)] - The background color on focus/selected of advanced filtering "OR" condition.
7773
/// @prop {Map} filtering-row-background [color: 'gray', 50)] - The background color of the filtering row.
7874
/// @prop {Map} filtering-row-text-color [color: ('gray', 800)] - The text color of the filtering row.
7975
/// @prop {Map} excel-filtering-header-foreground [color: ('gray', 700)] - The text color of the header in the excel style filtering.
@@ -194,34 +190,6 @@ $light-grid: extend(
194190
),
195191
),
196192

197-
filtering-background-and: (
198-
color: (
199-
'primary',
200-
300,
201-
),
202-
),
203-
204-
filtering-background-or: (
205-
color: (
206-
'secondary',
207-
300,
208-
),
209-
),
210-
211-
filtering-background-and--focus: (
212-
color: (
213-
'primary',
214-
700,
215-
),
216-
),
217-
218-
filtering-background-or--focus: (
219-
color: (
220-
'secondary',
221-
700,
222-
),
223-
),
224-
225193
excel-filtering-header-foreground: (
226194
color: (
227195
'gray',
@@ -747,8 +715,6 @@ $material-grid: extend(
747715
/// @prop {number} grid-elevation [0] - The elevation level, between 0-24, to be used for the grid.
748716
/// @prop {number} drag-elevation [1] - The elevation level, between 0-24, to be used for movable elements (ex. column header).
749717
/// @prop {List} drop-area-border-radius [(rem(2px), rem(0), rem(16px))] - The border radius used for drop-area.
750-
/// @prop {Map} filtering-background-or [color: ('error', .5)] - The background color of advanced filtering "OR" condition.
751-
/// @prop {Map} filtering-background-or--focus [color: ('error')] - The background color on focus/selected of advanced filtering "OR" condition.
752718
/// @prop {Map} tree-selected-filtered-row-text-color [color: ('primary', 400)] - The selected filtered row text color of the tree.
753719
/// @prop {Map} cell-selected-within-background [color: ('gray', 300)] - The background of the selected cell inside a selected row/column.
754720
/// @prop {Map} cell-selected-within-text-color [contrast-color: ('gray', 300)] - The color of the selected cell inside a selected row/column.
@@ -760,20 +726,6 @@ $fluent-grid: extend(
760726
$light-grid,
761727
$fluent-elevation-grid,
762728
(
763-
filtering-background-or: (
764-
color: (
765-
'error',
766-
500,
767-
0.5,
768-
),
769-
),
770-
771-
filtering-background-or--focus: (
772-
color: (
773-
'error',
774-
),
775-
),
776-
777729
grid-border-color: (
778730
color: (
779731
'gray',
@@ -1073,10 +1025,6 @@ $bootstrap-grid: extend(
10731025
/// @prop {Map} header-selected-text-color [color: 'gray', 900] - The table header text color when selected (ex. column selection).
10741026
/// @prop {Map} header-border-color [color: ('gray', 400)] - The color used for header borders.
10751027
/// @prop {Map} filtering-row-background [color: ('surface', 500)] - The background color of the filtering row.
1076-
/// @prop {Map} filtering-background-and [color: ('primary', 400)] - The background color of advanced filtering "AND" condition.
1077-
/// @prop {Map} filtering-background-and--focus [color: ('primary', 300)] - The background color on focus/selected of advanced filtering "AND" condition.
1078-
/// @prop {Map} filtering-background-or [color: ('success', 500)] - The background color of advanced filtering "OR" condition.
1079-
/// @prop {Map} filtering-background-or--focus [color: ('success', 400)] - The background color on focus/selected of advanced filtering "OR" condition.
10801028
/// @prop {Map} edited-row-indicator [color: ('primary', 400)] - The indicator's color of edited row.
10811029
/// @prop {Map} cell-selected-background [color: ('primary', 50)] - The selected cell background color.
10821030
/// @prop {Map} ghost-header-text-color [color: 'gray', 700] - The dragged header text color.
@@ -1191,34 +1139,6 @@ $indigo-grid: extend(
11911139
),
11921140
),
11931141

1194-
filtering-background-and: (
1195-
color: (
1196-
'primary',
1197-
400,
1198-
),
1199-
),
1200-
1201-
filtering-background-and--focus: (
1202-
color: (
1203-
'primary',
1204-
300,
1205-
),
1206-
),
1207-
1208-
filtering-background-or: (
1209-
color: (
1210-
'success',
1211-
500,
1212-
),
1213-
),
1214-
1215-
filtering-background-or--focus: (
1216-
color: (
1217-
'success',
1218-
400,
1219-
),
1220-
),
1221-
12221142
edited-row-indicator: (
12231143
color: (
12241144
'primary',

0 commit comments

Comments
 (0)