@nimbus-ds/components 5.15.0-rc.3 → 5.16.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/CHANGELOG.md +6 -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.js +1 -1
- package/dist/CHANGELOG.md +6 -0
- package/dist/Card/index.js +1 -1
- package/dist/Checkbox/index.js +1 -1
- package/dist/Chip/index.d.ts +0 -5
- package/dist/Chip/index.js +1 -1
- package/dist/FileUploader/index.js +1 -1
- 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.d.ts +57 -0
- package/dist/ProgressBar/index.js +2 -0
- 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 +31 -5
- package/dist/index.js +1 -1
- package/package.json +7 -3
package/dist/index.d.ts
CHANGED
|
@@ -2282,11 +2282,6 @@ export interface ChipProperties {
|
|
|
2282
2282
|
* Informs whether the close icon should be displayed.
|
|
2283
2283
|
*/
|
|
2284
2284
|
removable?: boolean;
|
|
2285
|
-
/**
|
|
2286
|
-
* Change the visual style of the chip.
|
|
2287
|
-
* @default neutral
|
|
2288
|
-
*/
|
|
2289
|
-
appearance?: "neutral";
|
|
2290
2285
|
}
|
|
2291
2286
|
export type ChipProps = ChipProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
|
|
2292
2287
|
export declare const Chip: React.FC<ChipProps> & ChipComponents;
|
|
@@ -3002,6 +2997,37 @@ export interface TooltipProperties extends TooltipSprinkle {
|
|
|
3002
2997
|
}
|
|
3003
2998
|
export type TooltipProps = TooltipProperties & HTMLAttributes<HTMLDivElement>;
|
|
3004
2999
|
export declare const Tooltip: React.FC<TooltipProps>;
|
|
3000
|
+
export type ProgressBarSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "height" | "data-testid">>;
|
|
3001
|
+
declare const ProgressBarSkeleton: React.FC<ProgressBarSkeletonProperties>;
|
|
3002
|
+
export interface ProgressBarComponents {
|
|
3003
|
+
Skeleton: typeof ProgressBarSkeleton;
|
|
3004
|
+
}
|
|
3005
|
+
export interface ProgressBarProperties {
|
|
3006
|
+
/**
|
|
3007
|
+
* Progress value from 0 to 100
|
|
3008
|
+
* @note Always renders with a minimum 8px width for visual consistency
|
|
3009
|
+
*/
|
|
3010
|
+
value: number;
|
|
3011
|
+
/**
|
|
3012
|
+
* Change the visual style of the progress bar.
|
|
3013
|
+
* @default neutral
|
|
3014
|
+
*/
|
|
3015
|
+
appearance?: "primary" | "success" | "warning" | "danger" | "neutral" | "ai-generative";
|
|
3016
|
+
}
|
|
3017
|
+
/**
|
|
3018
|
+
* ProgressBar component displays the progress of an operation or task in a visual format.
|
|
3019
|
+
* It provides a horizontal bar that fills based on the completion percentage.
|
|
3020
|
+
*
|
|
3021
|
+
* @component
|
|
3022
|
+
* @example
|
|
3023
|
+
* <ProgressBar value={50} appearance="primary" />
|
|
3024
|
+
*
|
|
3025
|
+
* @example
|
|
3026
|
+
* // With skeleton loading state
|
|
3027
|
+
* <ProgressBar.Skeleton width="200px" />
|
|
3028
|
+
*/
|
|
3029
|
+
export declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProperties & Omit<React.HTMLAttributes<HTMLDivElement>, keyof ProgressBarProperties> & React.RefAttributes<HTMLDivElement>> & ProgressBarComponents;
|
|
3030
|
+
export type ProgressBarProps = ComponentPropsWithRef<typeof ProgressBar>;
|
|
3005
3031
|
export interface AccordionBodyProperties {
|
|
3006
3032
|
/**
|
|
3007
3033
|
* The content of the accordion body.
|