@nimbus-ds/components 5.14.0-rc.1 → 5.15.0-rc.1
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 +6 -0
- package/dist/CHANGELOG.md +6 -0
- package/dist/Card/index.js +1 -1
- package/dist/Chip/index.d.ts +5 -0
- package/dist/Chip/index.js +1 -1
- package/dist/Icon/index.d.ts +3 -2
- package/dist/Icon/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +8 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2281,6 +2281,11 @@ export interface ChipProperties {
|
|
|
2281
2281
|
* Informs whether the close icon should be displayed.
|
|
2282
2282
|
*/
|
|
2283
2283
|
removable?: boolean;
|
|
2284
|
+
/**
|
|
2285
|
+
* Change the visual style of the chip.
|
|
2286
|
+
* @default neutral
|
|
2287
|
+
*/
|
|
2288
|
+
appearance?: "neutral";
|
|
2284
2289
|
}
|
|
2285
2290
|
export type ChipProps = ChipProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
|
|
2286
2291
|
export declare const Chip: React.FC<ChipProps> & ChipComponents;
|
|
@@ -2347,14 +2352,15 @@ export interface IconProperties {
|
|
|
2347
2352
|
source: ReactNode;
|
|
2348
2353
|
/**
|
|
2349
2354
|
* Set the color for the SVG fill.
|
|
2355
|
+
* Use "ai-gradient" to apply the Nimbus AI gradient.
|
|
2350
2356
|
* @default neutral-textLow
|
|
2351
2357
|
*/
|
|
2352
|
-
color?: keyof typeof icon.properties.color;
|
|
2358
|
+
color?: keyof typeof icon.properties.color | "ai-interactive";
|
|
2353
2359
|
/**
|
|
2354
2360
|
* The cursor property specifies the mouse cursor to be displayed when pointing over an element.
|
|
2355
2361
|
* @default inherit
|
|
2356
2362
|
*/
|
|
2357
|
-
cursor?: typeof icon.properties.cursor[number];
|
|
2363
|
+
cursor?: (typeof icon.properties.cursor)[number];
|
|
2358
2364
|
}
|
|
2359
2365
|
export type IconProps = IconProperties & HTMLAttributes<HTMLDivElement>;
|
|
2360
2366
|
export declare const Icon: React.FC<IconProps> & IconComponents;
|