@reeverdev/ui 0.2.255 → 0.2.257
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -216,15 +216,15 @@ interface AvatarFallbackProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
|
216
216
|
}
|
|
217
217
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
218
218
|
|
|
219
|
-
type
|
|
219
|
+
type Position = "top" | "right" | "bottom" | "left";
|
|
220
220
|
type Align$3 = "start" | "center" | "end";
|
|
221
221
|
interface TooltipProps {
|
|
222
222
|
/** The element that triggers the tooltip */
|
|
223
223
|
children: React$1.ReactElement;
|
|
224
224
|
/** Tooltip content */
|
|
225
225
|
content: React$1.ReactNode;
|
|
226
|
-
/** Preferred
|
|
227
|
-
|
|
226
|
+
/** Preferred position */
|
|
227
|
+
position?: Position;
|
|
228
228
|
/** Offset from trigger (px) */
|
|
229
229
|
offset?: number;
|
|
230
230
|
/** Alignment on the side */
|
package/dist/index.d.ts
CHANGED
|
@@ -216,15 +216,15 @@ interface AvatarFallbackProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
|
216
216
|
}
|
|
217
217
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
218
218
|
|
|
219
|
-
type
|
|
219
|
+
type Position = "top" | "right" | "bottom" | "left";
|
|
220
220
|
type Align$3 = "start" | "center" | "end";
|
|
221
221
|
interface TooltipProps {
|
|
222
222
|
/** The element that triggers the tooltip */
|
|
223
223
|
children: React$1.ReactElement;
|
|
224
224
|
/** Tooltip content */
|
|
225
225
|
content: React$1.ReactNode;
|
|
226
|
-
/** Preferred
|
|
227
|
-
|
|
226
|
+
/** Preferred position */
|
|
227
|
+
position?: Position;
|
|
228
228
|
/** Offset from trigger (px) */
|
|
229
229
|
offset?: number;
|
|
230
230
|
/** Alignment on the side */
|