@still-forest/canopy 0.49.1 → 0.50.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +4 -3
  2. package/dist/index.js +2444 -2408
  3. package/package.json +17 -17
package/dist/index.d.ts CHANGED
@@ -53,12 +53,13 @@ export declare interface AlertProps {
53
53
 
54
54
  declare type AlertVariant = "info" | "success" | "warning" | "error";
55
55
 
56
- export declare const Badge: ({ label, onClick, className, variant, color }: BadgeProps) => JSX.Element;
56
+ export declare const Badge: ({ label, onClick, className, variant, color, children }: BadgeProps) => JSX.Element;
57
57
 
58
58
  export declare interface BadgeProps {
59
59
  variant?: BadgeVariant;
60
60
  color?: TailwindColor;
61
- label: string;
61
+ label?: string;
62
+ children?: React.ReactNode;
62
63
  onClick?: () => void;
63
64
  className?: string;
64
65
  }
@@ -492,7 +493,7 @@ declare interface InputGroupAddonProps extends React.ComponentProps<typeof Input
492
493
  }
493
494
 
494
495
  declare const inputGroupAddonVariants: (props?: ({
495
- align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
496
+ align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
496
497
  } & ClassProp) | undefined) => string;
497
498
 
498
499
  declare type InputGroupComponent = React.FC<InputGroupProps> & {