@still-forest/canopy 0.19.4 → 0.20.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 +6 -1
- package/dist/index.js +1778 -1602
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,10 +24,11 @@ declare interface AlertProps {
|
|
|
24
24
|
className?: string;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export declare const Badge: ({ label, onClick, className, variant }: BadgeProps) => JSX.Element;
|
|
27
|
+
export declare const Badge: ({ label, onClick, className, variant, color }: BadgeProps) => JSX.Element;
|
|
28
28
|
|
|
29
29
|
declare interface BadgeProps {
|
|
30
30
|
variant?: "default" | "secondary" | "destructive" | "outline";
|
|
31
|
+
color?: TailwindColor;
|
|
31
32
|
label: string;
|
|
32
33
|
onClick?: () => void;
|
|
33
34
|
className?: string;
|
|
@@ -512,6 +513,10 @@ export declare function TabsList({ className, ...props }: React_2.ComponentProps
|
|
|
512
513
|
|
|
513
514
|
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): JSX.Element;
|
|
514
515
|
|
|
516
|
+
declare const TAILWIND_COLORS: readonly ["red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose", "slate", "gray", "zinc", "neutral", "stone", "white", "black"];
|
|
517
|
+
|
|
518
|
+
declare type TailwindColor = (typeof TAILWIND_COLORS)[number];
|
|
519
|
+
|
|
515
520
|
declare const Text_2: default_2.ForwardRefExoticComponent<Omit<any, "ref"> & default_2.RefAttributes<Element>>;
|
|
516
521
|
export { Text_2 as Text }
|
|
517
522
|
|