@corva/ui 3.3.0-3 → 3.3.0-4
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ButtonProps as MUIButtonProps } from '@material-ui/core/Button';
|
|
2
2
|
type Variation = 'primary' | 'secondary' | 'tertiary' | 'dangerPrimary' | 'dangerSecondary' | 'default';
|
|
3
|
-
export interface ButtonProps extends MUIButtonProps {
|
|
3
|
+
export interface ButtonProps extends Partial<MUIButtonProps> {
|
|
4
4
|
color?: 'inherit' | 'primary' | 'default';
|
|
5
5
|
variant?: 'text' | 'contained';
|
|
6
6
|
variation?: Variation;
|
|
7
7
|
}
|
|
8
|
-
declare const _default:
|
|
8
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
9
9
|
export default _default;
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGzE,KAAK,SAAS,GACV,SAAS,GACT,WAAW,GACX,UAAU,GACV,eAAe,GACf,iBAAiB,GACjB,SAAS,CAAC;AAyDd,MAAM,WAAW,WAAY,SAAQ,cAAc;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGzE,KAAK,SAAS,GACV,SAAS,GACT,WAAW,GACX,UAAU,GACV,eAAe,GACf,iBAAiB,GACjB,SAAS,CAAC;AAyDd,MAAM,WAAW,WAAY,SAAQ,OAAO,CAAC,cAAc,CAAC;IAC1D,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAC1C,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;wBA6B8B,KAAK,CAAC,mBAAmB,CACtD,KAAK,CAAC,yBAAyB,CAAC,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CACtF;AAFD,wBAEE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MouseEventHandler } from 'react';
|
|
2
2
|
import { ChipProps as MuiChipProps } from '@material-ui/core';
|
|
3
|
-
export type ChipProps = Omit<MuiChipProps, 'variant' | 'color' | 'onClick' | 'children' | 'avatar'
|
|
3
|
+
export type ChipProps = Partial<Omit<MuiChipProps, 'variant' | 'color' | 'onClick' | 'children' | 'avatar'>> & {
|
|
4
4
|
variant?: 'default' | 'outlined' | 'basic';
|
|
5
5
|
/**
|
|
6
6
|
* Displays a checked icon
|
|
@@ -9,6 +9,6 @@ export type ChipProps = Omit<MuiChipProps, 'variant' | 'color' | 'onClick' | 'ch
|
|
|
9
9
|
'data-testid'?: string;
|
|
10
10
|
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
11
11
|
};
|
|
12
|
-
declare const Chip:
|
|
12
|
+
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
export default Chip;
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAc,MAAM,mBAAmB,CAAC;AAsF3F,MAAM,MAAM,SAAS,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAc,MAAM,mBAAmB,CAAC;AAsF3F,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC,CAC5E,GAAG;IACF,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;CAC7C,CAAC;AAGF,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAoCvF,CAAC;AAEL,eAAe,IAAI,CAAC"}
|