Skip to content

Commit

Permalink
Feat(web): Switch Select component to v3 design tokens #DS-1447
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen committed Sep 17, 2024
1 parent e4c8059 commit 9970915
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 deletions.
5 changes: 2 additions & 3 deletions packages/web/src/scss/components/Select/_Select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@use '../../theme/form-fields' as form-fields-theme;
@use '../../tools/form-fields' as form-fields-tools;
@use '../../tools/reset';
@use 'theme';

$_field-name: 'Select';

Expand Down Expand Up @@ -39,7 +38,7 @@ $_field-name: 'Select';
align-items: center;
justify-content: center;
aspect-ratio: 1;
color: theme.$icon-color-default;
color: form-fields-theme.$box-field-input-color-default;
pointer-events: none;
}

Expand Down Expand Up @@ -90,7 +89,7 @@ $_field-name: 'Select';
}

:is(.Select--disabled, .Select.is-disabled) .Select__icon {
color: theme.$icon-color-disabled;
color: form-fields-theme.$input-color-disabled;
}

:is(.Select--disabled, .Select.is-disabled) > :is(.Select__validationText, [data-spirit-element='validation_text']) {
Expand Down
4 changes: 0 additions & 4 deletions packages/web/src/scss/components/Select/_theme.scss

This file was deleted.

3 changes: 1 addition & 2 deletions packages/web/src/scss/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@

// @forward 'Radio';
@forward 'ScrollView';

// @forward 'Select';
@forward 'Select';
@forward 'Stack';
@forward 'Tabs';
@forward 'Tag';
Expand Down
1 change: 0 additions & 1 deletion tests/e2e/demo-components-compare.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const IGNORED_TESTS: string[] = [
'Link',
'Pill',
'Radio',
'Select',
'Spinner',
'Stack',
'Text',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9970915

Please sign in to comment.