Skip to content

Commit

Permalink
fix(field): stylelint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
samrichardsontylertech committed Jan 29, 2024
1 parent 42469b1 commit 8fa213d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
22 changes: 11 additions & 11 deletions src/lib/field-next/_core.layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,41 @@

@mixin block-start {
grid-template-areas:
"label"
"container"
"helper-text";
'label'
'container'
'helper-text';
grid-template-columns: 1fr;
grid-template-rows: auto auto auto;
}

@mixin inline-start {
grid-template-areas:
"label container"
". helper-text";
'label container'
'. helper-text';
grid-template-columns: auto 1fr;
grid-template-rows: auto auto;
}

@mixin inline-end {
grid-template-areas:
"container label"
"helper-text .";
'container label'
'helper-text .';
grid-template-columns: 1fr auto;
grid-template-rows: auto auto;
}

@mixin inset {
grid-template-areas:
"container"
"helper-text";
'container'
'helper-text';
grid-template-columns: 1fr;
grid-template-rows: auto auto;
}

@mixin no-label {
grid-template-areas:
"container"
"helper-text";
'container'
'helper-text';
grid-template-columns: 1fr;
grid-template-rows: auto auto;
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/field-next/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $host-tokens: [display];
align-items: center;

display: grid;
grid-template-areas: "start center end popover-icon accessory";
grid-template-areas: 'start center end popover-icon accessory';
grid-template-columns: auto 1fr auto auto auto;
grid-area: container;

Expand Down Expand Up @@ -95,7 +95,7 @@ $host-tokens: [display];
padding-inline-end: 8px;


&>* {
& > * {
transition: rotate #{token(popover-icon-transition-duration)} #{token(popover-icon-transition-timing)};
}
// transform-origin: calc(50% - 4px) 50%;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/field-next/_core.state.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
//

@mixin popover-expanded {
&>* {
& > * {
rotate: #{token(popover-icon-open-rotation)};
}
}
2 changes: 1 addition & 1 deletion src/lib/field-next/_core.variant.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
color: #{token(filled-on-surface-color)};
} @else {
outline-color: theme.variable($theme);
background: theme.variable(#{$theme}-container);
background: theme.variable(#{$theme}-container);
}
}

Expand Down

0 comments on commit 8fa213d

Please sign in to comment.