@nimbus-ds/components 5.17.1-rc.3 → 5.17.2
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 +588 -0
- package/dist/Accordion/index.js +1 -1
- package/dist/Alert/index.js +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/Button/index.d.ts +5 -0
- package/dist/Button/index.js +1 -1
- package/dist/CHANGELOG.md +18 -0
- package/dist/Card/index.js +1 -1
- package/dist/Checkbox/index.js +1 -1
- package/dist/Chip/index.js +1 -1
- package/dist/FileUploader/index.js +1 -1
- package/dist/Icon/index.d.ts +4 -4
- package/dist/Icon/index.js +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/Input/index.js +1 -1
- package/dist/Label/index.js +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/List/index.js +1 -1
- package/dist/Modal/index.js +1 -1
- package/dist/MultiSelect/index.js +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollPane/index.js +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Sidebar/index.js +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/Tag/index.js +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/Textarea/index.js +1 -1
- package/dist/Thumbnail/index.js +1 -1
- package/dist/Title/index.js +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toggle/index.js +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +9 -4
- package/dist/index.js +1 -1
- package/package.json +4 -4
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|