mblabs-roccato-frontend-commons 0.1.0 → 0.1.2
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 +14 -0
- package/dist/mblabs-roccato-frontend-commons.js +3141 -3062
- package/package.json +1 -1
- package/src/components/icons/index.ts +6 -0
- package/src/components/icons/presentation-chart-02.tsx +14 -0
- package/src/components/icons/settings-03.tsx +14 -0
- package/src/components/icons/tool-02.tsx +14 -0
- package/src/components/icons/user-check-01.tsx +14 -0
- package/src/components/icons/user-circle.tsx +14 -0
- package/src/components/icons/users-01.tsx +14 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useFormContext.ts +7 -0
package/dist/index.d.ts
CHANGED
|
@@ -758,6 +758,8 @@ export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<Popo
|
|
|
758
758
|
|
|
759
759
|
export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
760
760
|
|
|
761
|
+
export declare function PresentationChart02(props: ComponentProps<'svg'>): JSX.Element;
|
|
762
|
+
|
|
761
763
|
export declare function Progress({ className, value, ...props }: React_2.ComponentProps<typeof ProgressPrimitive.Root>): JSX.Element;
|
|
762
764
|
|
|
763
765
|
export declare const ProgressSteps: MemoExoticComponent<({ steps }: ProgressStepsProps) => JSX.Element | null>;
|
|
@@ -845,6 +847,8 @@ export declare function Separator({ className, orientation, decorative, ...props
|
|
|
845
847
|
|
|
846
848
|
export declare function Settings01(props: ComponentProps<'svg'>): JSX.Element;
|
|
847
849
|
|
|
850
|
+
export declare function Settings03(props: ComponentProps<'svg'>): JSX.Element;
|
|
851
|
+
|
|
848
852
|
export declare function Share05(props: ComponentProps<'svg'>): JSX.Element;
|
|
849
853
|
|
|
850
854
|
export declare function Sheet({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
|
|
@@ -1025,6 +1029,8 @@ export declare const toggleVariants: (props?: ({
|
|
|
1025
1029
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1026
1030
|
} & ClassProp) | undefined) => string;
|
|
1027
1031
|
|
|
1032
|
+
export declare function Tool02(props: ComponentProps<'svg'>): JSX.Element;
|
|
1033
|
+
|
|
1028
1034
|
export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;
|
|
1029
1035
|
|
|
1030
1036
|
export declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Content>): JSX.Element;
|
|
@@ -1051,6 +1057,8 @@ export declare function uniqueArrayElements<T>(arr: T[]): T[];
|
|
|
1051
1057
|
|
|
1052
1058
|
export declare const useForm: <T extends z.ZodRawShape>(schema: z.ZodEffects<z.ZodObject<T>> | z.ZodObject<T>, defaultValues?: DefaultValues<z.infer<typeof schema>>) => UseFormReturn<z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, any, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_2 ? { [k in keyof T_2]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never>;
|
|
1053
1059
|
|
|
1060
|
+
export declare const useFormContext: () => UseFormReturn<FieldValues, any, FieldValues>;
|
|
1061
|
+
|
|
1054
1062
|
export declare const useFormField: () => {
|
|
1055
1063
|
invalid: boolean;
|
|
1056
1064
|
isDirty: boolean;
|
|
@@ -1072,6 +1080,12 @@ export declare function User01(props: ComponentProps<'svg'>): JSX.Element;
|
|
|
1072
1080
|
|
|
1073
1081
|
export declare function User03(props: ComponentProps<'svg'>): JSX.Element;
|
|
1074
1082
|
|
|
1083
|
+
export declare function UserCheck01(props: ComponentProps<'svg'>): JSX.Element;
|
|
1084
|
+
|
|
1085
|
+
export declare function UserCircle(props: ComponentProps<'svg'>): JSX.Element;
|
|
1086
|
+
|
|
1087
|
+
export declare function Users01(props: ComponentProps<'svg'>): JSX.Element;
|
|
1088
|
+
|
|
1075
1089
|
export declare function useScreenSize(): ScreenSizes;
|
|
1076
1090
|
|
|
1077
1091
|
export declare function useSidebar(): SidebarContextProps;
|