@innovaccer/design-system 4.19.2 → 4.20.0
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/CHANGELOG.md +36 -0
- package/css/dist/index.css +77 -77
- package/css/dist/index.css.map +1 -1
- package/css/src/components/button.module.css +47 -35
- package/css/src/components/checkbox.module.css +10 -15
- package/css/src/components/radio.module.css +14 -16
- package/css/src/components/select.module.css +0 -8
- package/css/src/components/spinner.module.css +3 -3
- package/css/src/variables/index.css +3 -0
- package/dist/brotli/index.js +1 -1
- package/dist/brotli/index.js.br +0 -0
- package/dist/cjs/index.js +1 -1
- package/dist/core/components/atoms/_chip/index.d.ts +3 -1
- package/dist/core/components/atoms/legend/Legend.d.ts +1 -1
- package/dist/core/components/atoms/spinner/Spinner.d.ts +1 -0
- package/dist/esm/index.js +869 -669
- package/dist/gzip/index.js +1 -1
- package/dist/gzip/index.js.gz +0 -0
- package/dist/index.js +554 -255
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +77 -77
- package/dist/index.umd.js +1 -1
- package/dist/types/tsconfig.type.tsbuildinfo +53 -52
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Name } from "../chip/Chip";
|
|
2
|
+
import { Name, ChipType } from "../chip/Chip";
|
|
3
3
|
import { BaseProps } from "../../../utils/types";
|
|
4
4
|
import { IconType, TChipSize } from "../../../common.type";
|
|
5
5
|
export interface GenericChipProps extends BaseProps {
|
|
@@ -15,6 +15,8 @@ export interface GenericChipProps extends BaseProps {
|
|
|
15
15
|
name: Name;
|
|
16
16
|
maxWidth: string | number;
|
|
17
17
|
size?: TChipSize;
|
|
18
|
+
type?: ChipType;
|
|
19
|
+
role?: string;
|
|
18
20
|
}
|
|
19
21
|
export declare const GenericChip: {
|
|
20
22
|
(props: GenericChipProps): React.JSX.Element;
|
|
@@ -7,7 +7,7 @@ export interface LegendProps extends BaseProps {
|
|
|
7
7
|
labelAppearance?: TextAppearance;
|
|
8
8
|
iconSize: number;
|
|
9
9
|
labelWeight?: 'strong' | 'medium';
|
|
10
|
-
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
10
|
+
onClick?: (e: React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>) => void;
|
|
11
11
|
onMouseEnter?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
12
12
|
onMouseLeave?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
13
13
|
}
|
|
@@ -5,6 +5,7 @@ export declare type SpinnerSize = 'xsmall' | 'small' | 'medium' | 'large';
|
|
|
5
5
|
export interface SpinnerProps extends BaseProps {
|
|
6
6
|
appearance: SpinnerAppearance;
|
|
7
7
|
size: SpinnerSize;
|
|
8
|
+
ariaLabel?: string;
|
|
8
9
|
}
|
|
9
10
|
export declare const Spinner: {
|
|
10
11
|
(props: SpinnerProps): React.JSX.Element;
|