@motiadev/ui 0.17.1-beta.183-312326 → 0.17.1-beta.183-767430
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.
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { FC, HTMLAttributes } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/badge.d.ts
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
7
|
variant?: "info" | "success" | "error" | "default" | "outline" | "warning" | null | undefined;
|
|
8
|
-
} &
|
|
8
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
9
9
|
interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}
|
|
10
10
|
declare const Badge: FC<BadgeProps>;
|
|
11
11
|
//#endregion
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react14 from "react";
|
|
3
3
|
import { ButtonHTMLAttributes } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/button.d.ts
|
|
7
7
|
declare const buttonVariants: (props?: ({
|
|
8
8
|
variant?: "link" | "default" | "outline" | "accent" | "light" | "secondary" | "destructive" | "ghost" | "icon" | null | undefined;
|
|
9
9
|
size?: "default" | "icon" | "sm" | "md" | "lg" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
11
11
|
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
12
12
|
asChild?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const Button:
|
|
14
|
+
declare const Button: react14.ForwardRefExoticComponent<ButtonProps & react14.RefAttributes<HTMLButtonElement>>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { Button, ButtonProps };
|
|
17
17
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","names":[],"sources":["../../../src/components/ui/button.tsx"],"sourcesContent":[],"mappings":";;;;;;cAMM;;;IA4BL,+BAAA,CAAA;AA5BK,UA8BW,WAAA,SAAoB,oBAFpC,CAEyD,iBAFzD,CAAA,EAE6E,YAF7E,CAAA,OAEiG,cAFjG,CAAA,CAAA;EAEgB,OAAA,CAAA,EAAA,OAAY;;AAAqE,cAIrF,MAJqF,EAI/E,
|
|
1
|
+
{"version":3,"file":"button.d.ts","names":[],"sources":["../../../src/components/ui/button.tsx"],"sourcesContent":[],"mappings":";;;;;;cAMM;;;IA4BL,+BAAA,CAAA;AA5BK,UA8BW,WAAA,SAAoB,oBAFpC,CAEyD,iBAFzD,CAAA,EAE6E,YAF7E,CAAA,OAEiG,cAFjG,CAAA,CAAA;EAEgB,OAAA,CAAA,EAAA,OAAY;;AAAqE,cAIrF,MAJqF,EAI/E,OAAA,CAAA,yBAJ+E,CAI/E,WAJ+E,GAI/E,OAAA,CAAA,aAJ+E,CAI/E,iBAJ+E,CAAA,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react0 from "react";
|
|
3
3
|
import { InputHTMLAttributes } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/input.d.ts
|
|
7
7
|
declare const inputVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "outline" | "shade" | "outlineReadonly" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
interface InputProps extends InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {}
|
|
11
|
-
declare const Input:
|
|
11
|
+
declare const Input: react0.ForwardRefExoticComponent<InputProps & react0.RefAttributes<HTMLInputElement>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Input };
|
|
14
14
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react7 from "react";
|
|
2
2
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/tooltip.d.ts
|
|
5
|
-
declare const TooltipProvider:
|
|
6
|
-
declare const Tooltip:
|
|
7
|
-
declare const TooltipTrigger:
|
|
8
|
-
declare const TooltipContent:
|
|
5
|
+
declare const TooltipProvider: react7.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
6
|
+
declare const Tooltip: react7.FC<TooltipPrimitive.TooltipProps>;
|
|
7
|
+
declare const TooltipTrigger: react7.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & react7.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const TooltipContent: react7.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & react7.RefAttributes<HTMLDivElement>, "ref"> & react7.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
11
11
|
//# sourceMappingURL=tooltip.d.ts.map
|
package/package.json
CHANGED