@sikka/hawa 0.18.10-next → 0.18.11-next
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.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8,6 +8,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
8
8
|
import { VariantProps } from 'class-variance-authority';
|
|
9
9
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
10
10
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
11
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
11
12
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
12
13
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
13
14
|
import * as embla_carousel_react from 'embla-carousel-react';
|
|
@@ -489,6 +490,7 @@ type TooltipTypes = {
|
|
|
489
490
|
onOpenChange?: any;
|
|
490
491
|
/** Duration of the delay before the tooltip appears. */
|
|
491
492
|
delayDuration?: any;
|
|
493
|
+
triggerProps?: TooltipPrimitive.TooltipTriggerProps;
|
|
492
494
|
};
|
|
493
495
|
declare const Tooltip: React__default.FunctionComponent<TooltipTypes>;
|
|
494
496
|
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
8
8
|
import { VariantProps } from 'class-variance-authority';
|
|
9
9
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
10
10
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
11
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
11
12
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
12
13
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
13
14
|
import * as embla_carousel_react from 'embla-carousel-react';
|
|
@@ -489,6 +490,7 @@ type TooltipTypes = {
|
|
|
489
490
|
onOpenChange?: any;
|
|
490
491
|
/** Duration of the delay before the tooltip appears. */
|
|
491
492
|
delayDuration?: any;
|
|
493
|
+
triggerProps?: TooltipPrimitive.TooltipTriggerProps;
|
|
492
494
|
};
|
|
493
495
|
declare const Tooltip: React__default.FunctionComponent<TooltipTypes>;
|
|
494
496
|
|
package/dist/index.js
CHANGED
|
@@ -3011,6 +3011,7 @@ var Tooltip = ({
|
|
|
3011
3011
|
children,
|
|
3012
3012
|
defaultOpen,
|
|
3013
3013
|
onOpenChange,
|
|
3014
|
+
triggerProps,
|
|
3014
3015
|
delayDuration = 300,
|
|
3015
3016
|
...props
|
|
3016
3017
|
}) => {
|
|
@@ -3021,7 +3022,7 @@ var Tooltip = ({
|
|
|
3021
3022
|
defaultOpen,
|
|
3022
3023
|
onOpenChange
|
|
3023
3024
|
},
|
|
3024
|
-
/* @__PURE__ */ import_react9.default.createElement(TooltipPrimitive.Trigger, {
|
|
3025
|
+
/* @__PURE__ */ import_react9.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
|
3025
3026
|
/* @__PURE__ */ import_react9.default.createElement(TooltipContent, { side, align: "center", ...props }, content)
|
|
3026
3027
|
));
|
|
3027
3028
|
};
|
|
@@ -3613,7 +3614,7 @@ var Switch = React20.forwardRef(
|
|
|
3613
3614
|
"data-[state=checked]:hawa-bg-primary",
|
|
3614
3615
|
"hawa-relative hawa-cursor-pointer hawa-rounded hawa-outline-none",
|
|
3615
3616
|
rootRoundednessStyles[roundedness],
|
|
3616
|
-
|
|
3617
|
+
className,
|
|
3617
3618
|
rootSize[size]
|
|
3618
3619
|
),
|
|
3619
3620
|
...props,
|
package/dist/index.mjs
CHANGED
|
@@ -2786,6 +2786,7 @@ var Tooltip = ({
|
|
|
2786
2786
|
children,
|
|
2787
2787
|
defaultOpen,
|
|
2788
2788
|
onOpenChange,
|
|
2789
|
+
triggerProps,
|
|
2789
2790
|
delayDuration = 300,
|
|
2790
2791
|
...props
|
|
2791
2792
|
}) => {
|
|
@@ -2796,7 +2797,7 @@ var Tooltip = ({
|
|
|
2796
2797
|
defaultOpen,
|
|
2797
2798
|
onOpenChange
|
|
2798
2799
|
},
|
|
2799
|
-
/* @__PURE__ */ React13.createElement(TooltipPrimitive.Trigger, {
|
|
2800
|
+
/* @__PURE__ */ React13.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
|
2800
2801
|
/* @__PURE__ */ React13.createElement(TooltipContent, { side, align: "center", ...props }, content)
|
|
2801
2802
|
));
|
|
2802
2803
|
};
|
|
@@ -3388,7 +3389,7 @@ var Switch = React20.forwardRef(
|
|
|
3388
3389
|
"data-[state=checked]:hawa-bg-primary",
|
|
3389
3390
|
"hawa-relative hawa-cursor-pointer hawa-rounded hawa-outline-none",
|
|
3390
3391
|
rootRoundednessStyles[roundedness],
|
|
3391
|
-
|
|
3392
|
+
className,
|
|
3392
3393
|
rootSize[size]
|
|
3393
3394
|
),
|
|
3394
3395
|
...props,
|