@auth0/quantum-product 1.5.8 → 1.5.9

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.
@@ -5,7 +5,7 @@ import { ISpinnerProps } from '../spinner';
5
5
  export declare const buttonComponentName: "QuantumButton";
6
6
  export { buttonClasses };
7
7
  export interface IButtonTypeMap<P = {}, D extends React.ElementType = 'button'> {
8
- props: P & Omit<MuiButtonProps, 'disableFocusRipple' | 'disableElevation' | 'disableRipple' | 'disableTouchRipple' | 'component'> & {
8
+ props: P & Omit<MuiButtonProps, 'disableFocusRipple' | 'disableElevation' | 'disableRipple' | 'disableTouchRipple' | 'component' | 'variant'> & {
9
9
  isLoading?: boolean;
10
10
  component?: React.ElementType;
11
11
  target?: string;
@@ -13,6 +13,7 @@ export interface IButtonTypeMap<P = {}, D extends React.ElementType = 'button'>
13
13
  /** Alternative to using `props.children`. This is a convenience prop for other components using an `action` prop */
14
14
  label?: React.ReactNode;
15
15
  SpinnerProps?: Partial<ISpinnerProps>;
16
+ variant?: 'link' | 'outlined' | 'contained';
16
17
  };
17
18
  defaultComponent: D;
18
19
  }
@@ -4,6 +4,9 @@ import { OverridableComponent, OverrideProps, OverridableTypeMap } from '../over
4
4
  export declare const IconButtonComponentName: "QuantumIconButton";
5
5
  export { iconButtonClasses };
6
6
  export declare type IIconButtonTypeMap<ExtraPropsType = {}, DefaultElementType extends React.ElementType = IconButtonTypeMap['defaultComponent']> = IconButtonTypeMap<ExtraPropsType & {
7
+ /**
8
+ * @default contained
9
+ */
7
10
  variant?: 'link' | 'outlined' | 'contained';
8
11
  shape?: 'circular' | 'default';
9
12
  href?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auth0/quantum-product",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "sideEffects": false,
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {