lucent-ui 0.20.0 → 0.22.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
@@ -196,12 +196,12 @@ export declare interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInpu
196
196
 
197
197
  export declare type CheckboxSize = 'sm' | 'md' | 'lg';
198
198
 
199
- export declare function Chip({ children, variant, size, onDismiss, onClick, leftIcon, swatch, dot, borderless, disabled, style, }: ChipProps): JSX_2.Element;
199
+ export declare function Chip({ children, variant, size, onDismiss, onClick, leftIcon, swatch, dot, pulse, borderless, ghost, disabled, style, }: ChipProps): JSX_2.Element;
200
200
 
201
201
  export declare const CHIP_MANIFEST: ComponentManifest;
202
202
 
203
203
  export declare interface ChipProps {
204
- children: ReactNode;
204
+ children?: ReactNode;
205
205
  variant?: ChipVariant;
206
206
  size?: ChipSize;
207
207
  /** Renders an × button. Fires when clicked. */
@@ -214,8 +214,12 @@ export declare interface ChipProps {
214
214
  swatch?: string;
215
215
  /** Status dot rendered before the label (uses variant color). */
216
216
  dot?: boolean;
217
+ /** Adds a pulsing ring animation to the status dot. Only applies when dot=true. */
218
+ pulse?: boolean;
217
219
  /** Removes the border for a filled-only look. */
218
220
  borderless?: boolean;
221
+ /** Transparent background with text color only. Overrides borderless. */
222
+ ghost?: boolean;
219
223
  disabled?: boolean;
220
224
  style?: CSSProperties;
221
225
  }
@@ -940,6 +944,25 @@ export declare type PresetProp = PresetName | {
940
944
  shadow?: ShadowName | ShadowPreset;
941
945
  };
942
946
 
947
+ export declare function Progress({ value, max, variant, size, warnAt, dangerAt, label, style, }: ProgressProps): JSX_2.Element;
948
+
949
+ export declare const ProgressManifest: ComponentManifest;
950
+
951
+ export declare interface ProgressProps {
952
+ value: number;
953
+ max?: number;
954
+ variant?: ProgressVariant;
955
+ size?: ProgressSize;
956
+ warnAt?: number;
957
+ dangerAt?: number;
958
+ label?: boolean | ReactNode;
959
+ style?: CSSProperties;
960
+ }
961
+
962
+ export declare type ProgressSize = 'sm' | 'md' | 'lg';
963
+
964
+ export declare type ProgressVariant = 'accent' | 'success' | 'warning' | 'danger';
965
+
943
966
  export declare interface PropDescriptor {
944
967
  /** Prop name as it appears in the component API */
945
968
  name: string;