@clasing/ui 0.1.59 → 0.1.61

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
@@ -30,7 +30,7 @@ export declare const Badge: ForwardRefExoticComponent<IBadgeProps & RefAttribute
30
30
 
31
31
  declare const badgeStyles: (props?: ({
32
32
  utility?: "error" | "warning" | "success" | "info" | null | undefined;
33
- intent?: "neutral" | "brand" | "brand-subtle" | "blue" | "blue-subtle" | "yellow" | "yellow-subtle" | null | undefined;
33
+ intent?: "neutral" | "brand" | "brand-subtle" | "brand-bolder" | "blue" | "blue-subtle" | "blue-bolder" | "yellow" | "yellow-subtle" | "yellow-bolder" | "violet-subtle" | "violet" | "violet-bolder" | null | undefined;
34
34
  size?: "xs" | "sm" | "md" | "lg" | null | undefined;
35
35
  weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
36
36
  rounded?: "rectangle" | "full" | null | undefined;
@@ -286,12 +286,14 @@ declare interface IInteractiveCardProps extends React.HTMLAttributes<HTMLDivElem
286
286
  text?: string;
287
287
  helperText?: string;
288
288
  disabled?: boolean;
289
- utilityBadge?: 'error' | 'warning' | 'success' | 'info';
289
+ utilityBadge?: IBadgeProps['utility'];
290
+ colorBadge?: IBadgeProps['intent'];
290
291
  badgeText?: string;
291
292
  badgeSize?: 'xs' | 'sm' | 'md' | 'lg';
292
293
  iconName?: TablerIconName;
293
294
  iconText?: string;
294
295
  tooltipText?: string;
296
+ tooltipTitle?: string;
295
297
  tooltipIconName?: TablerIconName;
296
298
  tooltipPlacement?: 'top' | 'bottom';
297
299
  }
@@ -365,10 +367,11 @@ declare interface ITextProps extends React.HTMLAttributes<HTMLSpanElement>, Vari
365
367
  }
366
368
 
367
369
  declare interface ITooltipProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tooltipStyles> {
370
+ title?: string;
368
371
  content: string;
369
372
  }
370
373
 
371
- export declare const Modal: ({ className, children, isOpen, setIsOpen, canClose, intent, closeOnClickOutside, closeButtonAriaLabel, }: ModalProps) => ReactPortal | null;
374
+ export declare const Modal: ({ className, children, isOpen, setIsOpen, canClose, intent, overlay, closeOnClickOutside, closeButtonAriaLabel, }: ModalProps) => ReactPortal | null;
372
375
 
373
376
  declare interface ModalProps {
374
377
  className?: string;
@@ -377,6 +380,7 @@ declare interface ModalProps {
377
380
  setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
378
381
  canClose?: boolean;
379
382
  intent?: 'card' | 'sheet';
383
+ overlay?: 'blur' | 'opacity';
380
384
  closeOnClickOutside?: boolean;
381
385
  closeButtonAriaLabel?: string;
382
386
  }
@@ -462,7 +466,7 @@ declare const tooltipStyles: (props?: ({
462
466
  placement?: "left" | "right" | "top" | "bottom" | null | undefined;
463
467
  delay?: 0 | 200 | 75 | 100 | 150 | 300 | 500 | null | undefined;
464
468
  closeDelay?: 0 | 200 | 75 | 100 | 150 | 300 | 500 | null | undefined;
465
- rounded?: "sm" | "full" | null | undefined;
469
+ rounded?: "sm" | "md" | "lg" | "full" | null | undefined;
466
470
  } & ClassProp) | undefined) => string;
467
471
 
468
472
  export declare const useOutsideClick: ({ ref, handler }: OutsideClickHandlerProps) => void;