@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/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.