@photoroom/ui 0.1.570 → 0.1.572
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.
|
@@ -10,6 +10,7 @@ export type TooltipProps = Readonly<{
|
|
|
10
10
|
defaultOpen?: boolean;
|
|
11
11
|
triggerTabIndex?: number;
|
|
12
12
|
sideOffset?: number;
|
|
13
|
+
withArrow?: boolean;
|
|
13
14
|
/**
|
|
14
15
|
* Never open the tooltip from focus, only from hover (or tap on mobile). Prevents it
|
|
15
16
|
* flashing when a focus scope (e.g. a Dialog) autofocuses the trigger on mount. Pair
|
|
@@ -23,5 +24,5 @@ export type TooltipProps = Readonly<{
|
|
|
23
24
|
*
|
|
24
25
|
* ⚠️ The component that is passed as a trigger MUST forward the ref
|
|
25
26
|
*/
|
|
26
|
-
export declare const Tooltip: ({ children, content, isTriggerDisabled, className, triggerClassName, withPortal, side, defaultOpen, triggerTabIndex, sideOffset, disableFocusOpen, ...props }: TooltipProps) => import("react").JSX.Element;
|
|
27
|
+
export declare const Tooltip: ({ children, content, isTriggerDisabled, className, triggerClassName, withPortal, side, defaultOpen, triggerTabIndex, sideOffset, withArrow, disableFocusOpen, ...props }: TooltipProps) => import("react").JSX.Element;
|
|
27
28
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/unsorted/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAM5D,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC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