@veevarts/design-system 1.15.0-alpha.12 → 1.15.0-alpha.13
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/dist/index.cjs +4 -4
- package/dist/index.js +525 -487
- package/dist/patterns/StatusChip/StatusChip.d.ts +9 -5
- package/package.json +1 -1
|
@@ -7,16 +7,20 @@ export interface StatusChipProps {
|
|
|
7
7
|
status: StatusChipStatus;
|
|
8
8
|
/** Visible label. Caller-supplied so no domain copy lives here. */
|
|
9
9
|
label: React.ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Visual style. HeroUI chip variants (default `'flat'`), plus the DS
|
|
12
|
+
* `'dot'` variant: a soft, radius-full pill with a leading tone dot,
|
|
13
|
+
* 12px / weight-600 text, tuned for dense admin lifecycle tables.
|
|
14
|
+
*/
|
|
15
|
+
variant?: ChipProps['variant'] | 'dot';
|
|
16
|
+
/** Chip size. Default `'sm'`. Ignored by `variant="dot"`. */
|
|
13
17
|
size?: ChipProps['size'];
|
|
14
18
|
/**
|
|
15
19
|
* Override the colour derived from `status`. Escape hatch for the
|
|
16
|
-
* rare state not covered by `StatusChipStatus`.
|
|
20
|
+
* rare state not covered by `StatusChipStatus`. Ignored by `variant="dot"`.
|
|
17
21
|
*/
|
|
18
22
|
color?: ChipProps['color'];
|
|
19
|
-
/** Optional leading element (dot, icon). */
|
|
23
|
+
/** Optional leading element (dot, icon). Ignored by `variant="dot"`. */
|
|
20
24
|
startContent?: React.ReactNode;
|
|
21
25
|
className?: string;
|
|
22
26
|
'data-testid'?: string;
|