@deque/cauldron-react 6.4.2-canary.40759dba → 6.4.2-canary.443249a1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cauldron.css +1 -2
- package/lib/components/IconButton/index.d.ts +1 -1
- package/lib/index.js +1 -0
- package/package.json +1 -1
package/lib/cauldron.css
CHANGED
|
@@ -19,7 +19,7 @@ export interface IconButtonProps extends PolymorphicProps<React.HTMLAttributes<H
|
|
|
19
19
|
* @deprecated use `tooltipProps.portal` instead
|
|
20
20
|
*/
|
|
21
21
|
tooltipPortal?: TooltipProps['portal'];
|
|
22
|
-
variant?: 'primary' | 'secondary' | 'error';
|
|
22
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
23
23
|
large?: boolean;
|
|
24
24
|
}
|
|
25
25
|
declare const IconButton: PolymorphicComponent<IconButtonProps>;
|
package/lib/index.js
CHANGED
|
@@ -1840,6 +1840,7 @@ var IconButton = React.forwardRef(function (_a, ref) {
|
|
|
1840
1840
|
IconButton: true,
|
|
1841
1841
|
'IconButton--primary': variant === 'primary',
|
|
1842
1842
|
'IconButton--secondary': variant === 'secondary',
|
|
1843
|
+
'IconButton--tertiary': variant === 'tertiary',
|
|
1843
1844
|
'IconButton--error': variant === 'error',
|
|
1844
1845
|
'IconButton--large': large
|
|
1845
1846
|
}), ref: internalRef, disabled: disabled, tabIndex: disabled ? -1 : tabIndex }, accessibilityProps, other),
|
package/package.json
CHANGED