@photoroom/ui 0.1.796 → 0.1.798

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,2 +1,3 @@
1
1
  export * from "./ImageWidget";
2
+ export * from "./ImageWidgetButton";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input/ImageWidget/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input/ImageWidget/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
@@ -8,6 +8,8 @@ export type TooltipProps = Readonly<{
8
8
  side?: TooltipPrimitive.TooltipContentProps["side"];
9
9
  withPortal?: boolean;
10
10
  defaultOpen?: boolean;
11
+ /** Shows or hides the tooltip on this alone, ignoring hover and focus. */
12
+ open?: boolean;
11
13
  triggerTabIndex?: number;
12
14
  sideOffset?: number;
13
15
  withArrow?: boolean;
@@ -24,5 +26,5 @@ export type TooltipProps = Readonly<{
24
26
  *
25
27
  * ⚠️ The component that is passed as a trigger MUST forward the ref
26
28
  */
27
- export declare const Tooltip: ({ children, content, isTriggerDisabled, className, triggerClassName, withPortal, side, defaultOpen, triggerTabIndex, sideOffset, withArrow, disableFocusOpen, ...props }: TooltipProps) => import("react").JSX.Element;
29
+ export declare const Tooltip: ({ children, content, isTriggerDisabled, className, triggerClassName, withPortal, side, defaultOpen, open: controlledOpen, triggerTabIndex, sideOffset, withArrow, disableFocusOpen, ...props }: TooltipProps) => import("react").JSX.Element;
28
30
  //# 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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O,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,OAAO,mMAejB,YAAY,gCA2Gd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipUserRow.d.ts","sourceRoot":"","sources":["../../../../src/components/unsorted/Tooltip/TooltipUserRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACxC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,YAAY,CAAC,CAAC;AAE7E,eAAO,MAAM,cAAc,yFASxB,mBAAmB,gCAmBrB,CAAC"}
1
+ {"version":3,"file":"TooltipUserRow.d.ts","sourceRoot":"","sources":["../../../../src/components/unsorted/Tooltip/TooltipUserRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACxC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,YAAY,CAAC,CAAC;AAE7E,eAAO,MAAM,cAAc,yFASxB,mBAAmB,gCAqBrB,CAAC"}