@qodo/design-system 0.5.4 → 0.6.1
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/design-system.css +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -7
- package/dist/index.esm.js +1172 -1166
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
12
12
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
13
13
|
import { PropsWithChildren } from 'react';
|
|
14
14
|
import * as React_2 from 'react';
|
|
15
|
+
import { ReactNode } from 'react';
|
|
15
16
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
16
17
|
import { SelectProps } from './types';
|
|
17
18
|
import { Steps as Steps_2 } from '@ark-ui/react/steps';
|
|
@@ -20,7 +21,9 @@ import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
|
20
21
|
import { TitleProps } from './types';
|
|
21
22
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
22
23
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
23
|
-
import
|
|
24
|
+
import { TooltipContentProps } from '@radix-ui/react-tooltip';
|
|
25
|
+
import { TooltipProviderProps } from '@radix-ui/react-tooltip';
|
|
26
|
+
import { TooltipTriggerProps } from '@radix-ui/react-tooltip';
|
|
24
27
|
import { UseFormClearErrors } from 'react-hook-form';
|
|
25
28
|
import { UseFormGetFieldState } from 'react-hook-form';
|
|
26
29
|
import { UseFormGetValues } from 'react-hook-form';
|
|
@@ -259,13 +262,15 @@ declare const toggleVariants: (props?: ({
|
|
|
259
262
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
260
263
|
} & ClassProp) | undefined) => string;
|
|
261
264
|
|
|
262
|
-
export declare
|
|
265
|
+
export declare const Tooltip: ({ children, content, providerProps, triggerProps, contentProps, }: TooltipProps) => JSX_2.Element;
|
|
263
266
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
declare interface TooltipProps {
|
|
268
|
+
children: ReactNode;
|
|
269
|
+
content: ReactNode;
|
|
270
|
+
providerProps?: Omit<TooltipProviderProps, "children">;
|
|
271
|
+
contentProps?: TooltipContentProps;
|
|
272
|
+
triggerProps?: TooltipTriggerProps;
|
|
273
|
+
}
|
|
269
274
|
|
|
270
275
|
export declare const typography: {
|
|
271
276
|
readonly fontFamily: {
|