diff --git a/packages/@react-spectrum/s2/src/ActionButton.tsx b/packages/@react-spectrum/s2/src/ActionButton.tsx index 09f390349d3..7d5cd63d0d9 100644 --- a/packages/@react-spectrum/s2/src/ActionButton.tsx +++ b/packages/@react-spectrum/s2/src/ActionButton.tsx @@ -238,6 +238,15 @@ export const btnStyles = style {typeof props.children === 'string' ? {props.children} : props.children} @@ -369,6 +385,7 @@ export const ActionButton = forwardRef(function ActionButton(props: ActionButton styles={style({ size: { size: { + XS: 12, S: 14, M: 18, L: 20, diff --git a/packages/@react-spectrum/s2/src/style-utils.ts b/packages/@react-spectrum/s2/src/style-utils.ts index ca5461afce6..07f2334db24 100644 --- a/packages/@react-spectrum/s2/src/style-utils.ts +++ b/packages/@react-spectrum/s2/src/style-utils.ts @@ -302,7 +302,9 @@ const allowedOverrides = [ 'insetX', 'insetY', 'insetStart', - 'insetEnd' + 'insetEnd', + 'opacity', + 'visibility' ] as const; const widthProperties = [