@nimbus-ds/components 5.19.0 → 5.21.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/dist/index.d.ts CHANGED
@@ -829,7 +829,7 @@ declare const fileUploader: {
829
829
  };
830
830
  declare const icon: {
831
831
  sprinkle: ((props: {
832
- color?: "currentColor" | "primary-interactive" | "primary-surface" | "primary-textLow" | "success-textLow" | "success-surface" | "warning-interactive" | "warning-surface" | "warning-textLow" | "danger-interactive" | "danger-surface" | "danger-textLow" | "neutral-background" | "neutral-interactive" | "neutral-surface" | "neutral-textLow" | "success-interactive" | "primary-textHigh" | "success-textHigh" | "warning-textHigh" | "danger-textHigh" | "neutral-textDisabled" | "neutral-textHigh" | "ai-generative" | undefined;
832
+ color?: "currentColor" | "primary-interactive" | "primary-surface" | "primary-textLow" | "success-textLow" | "success-surface" | "warning-interactive" | "warning-surface" | "warning-textLow" | "danger-interactive" | "danger-surface" | "danger-textLow" | "neutral-background" | "neutral-interactive" | "neutral-surface" | "neutral-textLow" | "success-interactive" | "ai-generative" | "primary-textHigh" | "success-textHigh" | "warning-textHigh" | "danger-textHigh" | "neutral-textDisabled" | "neutral-textHigh" | undefined;
833
833
  cursor?: Cursor | undefined;
834
834
  }) => string) & {
835
835
  properties: Set<"color" | "cursor">;
@@ -2290,6 +2290,11 @@ export interface ChipProperties {
2290
2290
  * Informs whether the close icon should be displayed.
2291
2291
  */
2292
2292
  removable?: boolean;
2293
+ /**
2294
+ * Highlights the chip to indicate its value was generated by AI.
2295
+ * Applies AI gradient border and an AI outline.
2296
+ */
2297
+ aiGenerated?: boolean;
2293
2298
  }
2294
2299
  export type ChipProps = ChipProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
2295
2300
  export declare const Chip: React.FC<ChipProps> & ChipComponents;
@@ -2412,6 +2417,11 @@ export interface IconButtonProperties extends IconButtonSprinkle {
2412
2417
  * @TJS-type React.ReactNode
2413
2418
  */
2414
2419
  source: ReactNode;
2420
+ /**
2421
+ * Set the color for the inner Icon fill.
2422
+ * @default neutral-textHigh
2423
+ */
2424
+ color?: IconProps["color"];
2415
2425
  }
2416
2426
  export type IconButtonProps = IconButtonProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
2417
2427
  export declare const IconButton: React.FC<IconButtonProps> & IconButtonComponents;