@nimbus-ds/components 5.16.0 → 5.17.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/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-interactive" | 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" | "primary-textHigh" | "success-textHigh" | "warning-textHigh" | "danger-textHigh" | "neutral-textDisabled" | "neutral-textHigh" | "ai-generative" | undefined;
833
833
  cursor?: Cursor | undefined;
834
834
  }) => string) & {
835
835
  properties: Set<"color" | "cursor">;
@@ -859,7 +859,7 @@ declare const icon: {
859
859
  "neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
860
860
  "neutral-textDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
861
861
  "neutral-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
862
- "ai-interactive": string;
862
+ "ai-generative": string;
863
863
  };
864
864
  cursor: Cursor[];
865
865
  };
@@ -2217,6 +2217,11 @@ export interface ButtonProperties {
2217
2217
  * @default false
2218
2218
  */
2219
2219
  disabled?: boolean;
2220
+ /**
2221
+ * Determines if the button should grow to fill the full width of its container.
2222
+ * @default false
2223
+ */
2224
+ fullWidth?: boolean;
2220
2225
  }
2221
2226
  export type ButtonBaseProps = ButtonProperties & ButtonHTMLAttributes<HTMLButtonElement>;
2222
2227
  export declare const Button: PolymorphicForwardRefComponent<"button" | "a", ButtonBaseProps> & ButtonComponents;
@@ -2348,10 +2353,10 @@ export interface IconProperties {
2348
2353
  source: ReactNode;
2349
2354
  /**
2350
2355
  * Set the color for the SVG fill.
2351
- * Use "ai-interactive" to apply the Nimbus AI interactive gradient.
2356
+ * Use "ai-generative" to apply the Nimbus AI generative gradient.
2352
2357
  * @default neutral-textLow
2353
2358
  */
2354
- color?: keyof typeof icon.properties.color | "ai-interactive";
2359
+ color?: keyof typeof icon.properties.color | "ai-generative";
2355
2360
  /**
2356
2361
  * The cursor property specifies the mouse cursor to be displayed when pointing over an element.
2357
2362
  * @default inherit