File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 33
44import type { StoryFn , Meta , StoryObj } from '@storybook/html' ;
55import { action } from '@storybook/addon-actions' ;
6- import { getFaIcon , } from '../utilities/storybook' ;
6+ import { getFaIcon } from '../utilities/storybook' ;
77import { Combobox } from './index' ;
88
99export default {
@@ -103,7 +103,7 @@ Default.args = {
103103 autocomplete : 'none' ,
104104 ariaInvalid : false ,
105105 onChange : action ( 'change' ) ,
106- onInvalid : action ( 'invalid' ) ,
106+ onInvalid : action ( 'invalid' )
107107} ;
108108
109109export const WithOpen : StoryObj = { render : Template . bind ( { } ) } ;
Original file line number Diff line number Diff line change @@ -153,7 +153,8 @@ export const radioStyles: FoundationElementTemplate<
153153 border : calc (${ strokeWidth } * 1px ) solid ${ accentFillHover } ;
154154 }
155155
156- : host ([aria-invalid = 'true' ][aria-checked = 'true' ]: not ([disabled ])) .control : hover {
156+ : host ([aria-invalid = 'true' ][aria-checked = 'true' ]: not ([disabled ]))
157+ .control : hover {
157158 background-color : ${ errorFillHover } ;
158159 border-color : ${ errorFillHover } ;
159160 }
@@ -170,7 +171,8 @@ export const radioStyles: FoundationElementTemplate<
170171 border : calc (${ strokeWidth } * 1px ) solid ${ accentFillActive } ;
171172 }
172173
173- : host ([aria-invalid = 'true' ][aria-checked = 'true' ]: not ([disabled ])) .control : active {
174+ : host ([aria-invalid = 'true' ][aria-checked = 'true' ]: not ([disabled ]))
175+ .control : active {
174176 background-color : ${ errorFillActive } ;
175177 border-color : ${ errorFillActive } ;
176178 }
Original file line number Diff line number Diff line change @@ -191,7 +191,8 @@ export const switchStyles: FoundationElementTemplate<
191191 border-color : ${ errorFillRest } ;
192192 }
193193
194- : host ([aria-invalid = 'true' ][aria-checked = 'true' ]: not ([disabled ])) .switch : hover {
194+ : host ([aria-invalid = 'true' ][aria-checked = 'true' ]: not ([disabled ]))
195+ .switch : hover {
195196 background-color : ${ errorFillHover } ;
196197 border-color : ${ errorFillHover } ;
197198 }
@@ -207,7 +208,8 @@ export const switchStyles: FoundationElementTemplate<
207208 border-color : ${ accentFillActive } ;
208209 }
209210
210- : host ([aria-invalid = 'true' ][aria-checked = 'true' ]: not ([disabled ])) .switch : active {
211+ : host ([aria-invalid = 'true' ][aria-checked = 'true' ]: not ([disabled ]))
212+ .switch : active {
211213 background-color : ${ errorFillActive } ;
212214 border-color : ${ errorFillActive } ;
213215 }
You can’t perform that action at this time.
0 commit comments