File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
packages/buttons/src/styled Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,10 @@ consider additional positioning prop support on a case-by-case basis.
197197- Utility function ` getColor ` has been refactored with a signature that supports
198198 v9 light/dark modes. Replace usage with ` getColorV8 ` until custom components can
199199 be upgraded to utilize the new ` getColor ` function.
200+ - Utility functions ` getFocusBoxShadow ` and ` focusStyles ` no longer take ` hue ` ,
201+ ` shade ` , ` spacerHue ` , or ` spacerShade ` parameters. Use the ` color ` or
202+ ` shadeColor ` parameters instead. The new object parameters take the shape of
203+ refactored ` getColor ` .
200204- Utility function ` getDocument ` has been removed. Use ` useDocument ` instead.
201205- Utility function ` isRtl ` has been removed. Use ` props.theme.rtl ` instead.
202206- The following exports have changed:
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ const groupStyles = (props: IButtonProps & ThemeProps<DefaultTheme>) => {
223223 getFocusBoxShadow ( {
224224 theme,
225225 inset : focusInset ,
226- spacerColor : { hue : 'primaryHue' , shade : 700 } ,
226+ spacerColor : { hue : focusColor } ,
227227 color : { hue : 'transparent' }
228228 } ) ;
229229
You can’t perform that action at this time.
0 commit comments