Skip to content

Commit

Permalink
refactor: remove duplicate fieldButton styles from number-field (#7773)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Sep 6, 2024
1 parent 6f3ad57 commit d665940
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import '@vaadin/vaadin-lumo-styles/sizing.js';
import { fieldButton } from '@vaadin/vaadin-lumo-styles/mixins/field-button.js';
import { inputFieldShared } from '@vaadin/vaadin-lumo-styles/mixins/input-field-shared.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

Expand Down Expand Up @@ -47,6 +46,6 @@ const numberField = css`
}
`;

registerStyles('vaadin-number-field', [inputFieldShared, fieldButton, numberField], {
registerStyles('vaadin-number-field', [inputFieldShared, numberField], {
moduleId: 'lumo-number-field',
});
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import { fieldButton } from '@vaadin/vaadin-material-styles/mixins/field-button.js';
import { inputFieldShared } from '@vaadin/vaadin-material-styles/mixins/input-field-shared.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

Expand All @@ -24,6 +23,6 @@ const numberField = css`
}
`;

registerStyles('vaadin-number-field', [inputFieldShared, fieldButton, numberField], {
registerStyles('vaadin-number-field', [inputFieldShared, numberField], {
moduleId: 'material-number-field',
});

0 comments on commit d665940

Please sign in to comment.