@reeverdev/ui 0.2.254 → 0.2.256
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -216,23 +216,25 @@ 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 */
|
|
231
231
|
align?: Align$3;
|
|
232
232
|
/** Alignment offset (px) */
|
|
233
233
|
alignOffset?: number;
|
|
234
234
|
/** Delay before tooltip appears (ms) */
|
|
235
235
|
delayDuration?: number;
|
|
236
|
+
/** Show arrow pointing to trigger */
|
|
237
|
+
showArrow?: boolean;
|
|
236
238
|
/** Controlled open state */
|
|
237
239
|
open?: boolean;
|
|
238
240
|
/** Default open state */
|
package/dist/index.d.ts
CHANGED
|
@@ -216,23 +216,25 @@ 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 */
|
|
231
231
|
align?: Align$3;
|
|
232
232
|
/** Alignment offset (px) */
|
|
233
233
|
alignOffset?: number;
|
|
234
234
|
/** Delay before tooltip appears (ms) */
|
|
235
235
|
delayDuration?: number;
|
|
236
|
+
/** Show arrow pointing to trigger */
|
|
237
|
+
showArrow?: boolean;
|
|
236
238
|
/** Controlled open state */
|
|
237
239
|
open?: boolean;
|
|
238
240
|
/** Default open state */
|