@tarsis/toolkit 0.5.8-beta.4 → 0.6.0
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/{gl-BhrwxIv3.js → gl-DPeRBlfm.js} +1 -1
- package/dist/{gl-BWeWNwfK.cjs → gl-DgFYXJsQ.cjs} +1 -1
- package/dist/{index-CU61Vouw.js → index-BfhFT1kB.js} +1 -1
- package/dist/{index-BHvZMLod.cjs → index-C5pCwB7N.cjs} +1 -1
- package/dist/{index-By8OxZ_D.cjs → index-ZUvQTjLa.cjs} +202 -115
- package/dist/{index-BsoUKX1n.js → index-iVv-r1r7.js} +202 -115
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +482 -482
- package/package.json +1 -1
|
@@ -52094,11 +52094,11 @@ const BubblyParticlesButton = () => {
|
|
|
52094
52094
|
return /* @__PURE__ */ jsx("button", { className: styles$4H.root, onClick: handleClick, children: "Click me!" });
|
|
52095
52095
|
};
|
|
52096
52096
|
|
|
52097
|
-
const root$4i = "
|
|
52098
|
-
const button$o = "
|
|
52099
|
-
const p$1 = "
|
|
52100
|
-
const text$z = "
|
|
52101
|
-
const effects = "
|
|
52097
|
+
const root$4i = "_root_1gkhg_1";
|
|
52098
|
+
const button$o = "_button_1gkhg_13";
|
|
52099
|
+
const p$1 = "_p_1gkhg_26";
|
|
52100
|
+
const text$z = "_text_1gkhg_26";
|
|
52101
|
+
const effects = "_effects_1gkhg_240";
|
|
52102
52102
|
const styles$4G = {
|
|
52103
52103
|
root: root$4i,
|
|
52104
52104
|
button: button$o,
|
|
@@ -68228,9 +68228,9 @@ const NeonButton = ({ className = "", ...rest }) => {
|
|
|
68228
68228
|
return /* @__PURE__ */ jsx("button", { type: "button", ...rest, className: clsx(styles$48.root, className), children: "Neon" });
|
|
68229
68229
|
};
|
|
68230
68230
|
|
|
68231
|
-
const root$3P = "
|
|
68232
|
-
const i$6 = "
|
|
68233
|
-
const text$s = "
|
|
68231
|
+
const root$3P = "_root_1453i_2";
|
|
68232
|
+
const i$6 = "_i_1453i_22";
|
|
68233
|
+
const text$s = "_text_1453i_482";
|
|
68234
68234
|
const styles$47 = {
|
|
68235
68235
|
root: root$3P,
|
|
68236
68236
|
i: i$6,
|
|
@@ -78354,6 +78354,18 @@ const styles$2S = {
|
|
|
78354
78354
|
tooltipContent: tooltipContent
|
|
78355
78355
|
};
|
|
78356
78356
|
|
|
78357
|
+
const getExitOffset = (placement, offsetValue) => {
|
|
78358
|
+
switch (placement) {
|
|
78359
|
+
case "top":
|
|
78360
|
+
return { x: 0, y: offsetValue };
|
|
78361
|
+
case "bottom":
|
|
78362
|
+
return { x: 0, y: -offsetValue };
|
|
78363
|
+
case "left":
|
|
78364
|
+
return { x: offsetValue, y: 0 };
|
|
78365
|
+
case "right":
|
|
78366
|
+
return { x: -offsetValue, y: 0 };
|
|
78367
|
+
}
|
|
78368
|
+
};
|
|
78357
78369
|
const Tooltip = ({
|
|
78358
78370
|
children,
|
|
78359
78371
|
label,
|
|
@@ -78366,34 +78378,40 @@ const Tooltip = ({
|
|
|
78366
78378
|
}) => {
|
|
78367
78379
|
const [isOpen, setIsOpen] = useState(false);
|
|
78368
78380
|
const [clicked, setClicked] = useState(false);
|
|
78381
|
+
const [isPositioned, setIsPositioned] = useState(false);
|
|
78369
78382
|
const shouldReduceMotion = useReducedMotion();
|
|
78370
78383
|
const hasFinePointer = useMatchMedia("(pointer: fine)");
|
|
78371
78384
|
const isMobile = hasFinePointer === false;
|
|
78372
78385
|
const timeoutRef = useRef(null);
|
|
78373
|
-
const
|
|
78374
|
-
|
|
78375
|
-
|
|
78376
|
-
|
|
78377
|
-
|
|
78378
|
-
|
|
78379
|
-
|
|
78380
|
-
|
|
78381
|
-
|
|
78382
|
-
|
|
78383
|
-
|
|
78384
|
-
|
|
78385
|
-
|
|
78386
|
+
const rafRef = useRef(null);
|
|
78387
|
+
const variants = useMemo(
|
|
78388
|
+
() => shouldReduceMotion ? void 0 : {
|
|
78389
|
+
initial: {
|
|
78390
|
+
scale: animate ? 0.6 : 1,
|
|
78391
|
+
opacity: animate ? 0.8 : 1
|
|
78392
|
+
},
|
|
78393
|
+
animate: {
|
|
78394
|
+
scale: 1,
|
|
78395
|
+
opacity: 1,
|
|
78396
|
+
transition: {
|
|
78397
|
+
type: "spring",
|
|
78398
|
+
stiffness: 280,
|
|
78399
|
+
damping: 22,
|
|
78400
|
+
mass: 0.9
|
|
78401
|
+
}
|
|
78402
|
+
},
|
|
78403
|
+
exit: {
|
|
78404
|
+
scale: 0.3,
|
|
78405
|
+
opacity: 0,
|
|
78406
|
+
...getExitOffset(placement, offsetValue),
|
|
78407
|
+
transition: {
|
|
78408
|
+
duration: 0.2,
|
|
78409
|
+
ease: [0.33, 1, 0.68, 1]
|
|
78410
|
+
}
|
|
78386
78411
|
}
|
|
78387
78412
|
},
|
|
78388
|
-
|
|
78389
|
-
|
|
78390
|
-
opacity: animate ? 0.8 : 1,
|
|
78391
|
-
transition: {
|
|
78392
|
-
duration: 0.1,
|
|
78393
|
-
ease: "easeIn"
|
|
78394
|
-
}
|
|
78395
|
-
}
|
|
78396
|
-
};
|
|
78413
|
+
[shouldReduceMotion, animate, placement, offsetValue]
|
|
78414
|
+
);
|
|
78397
78415
|
const { refs, floatingStyles, context } = useFloating({
|
|
78398
78416
|
open: isOpen,
|
|
78399
78417
|
onOpenChange: setIsOpen,
|
|
@@ -78403,7 +78421,7 @@ const Tooltip = ({
|
|
|
78403
78421
|
whileElementsMounted: autoUpdate
|
|
78404
78422
|
});
|
|
78405
78423
|
const hover = useHover(context, {
|
|
78406
|
-
delay: { open: delay, close: delay },
|
|
78424
|
+
delay: shouldReduceMotion ? 0 : { open: delay, close: delay },
|
|
78407
78425
|
move: false,
|
|
78408
78426
|
enabled: disableOnClick ? !clicked : true
|
|
78409
78427
|
});
|
|
@@ -78433,7 +78451,82 @@ const Tooltip = ({
|
|
|
78433
78451
|
}
|
|
78434
78452
|
};
|
|
78435
78453
|
}, [isOpen, isMobile]);
|
|
78436
|
-
|
|
78454
|
+
useEffect(() => {
|
|
78455
|
+
if (!isOpen) {
|
|
78456
|
+
setIsPositioned(false);
|
|
78457
|
+
return;
|
|
78458
|
+
}
|
|
78459
|
+
if (!shouldReduceMotion) {
|
|
78460
|
+
setIsPositioned(true);
|
|
78461
|
+
return;
|
|
78462
|
+
}
|
|
78463
|
+
let attempts = 0;
|
|
78464
|
+
const maxAttempts = 10;
|
|
78465
|
+
const checkPosition = () => {
|
|
78466
|
+
const element = refs.floating.current;
|
|
78467
|
+
if (element) {
|
|
78468
|
+
const rect = element.getBoundingClientRect();
|
|
78469
|
+
if (rect.width > 0 && rect.height > 0 && (rect.left !== 0 || rect.top !== 0)) {
|
|
78470
|
+
setIsPositioned(true);
|
|
78471
|
+
rafRef.current = null;
|
|
78472
|
+
return;
|
|
78473
|
+
}
|
|
78474
|
+
}
|
|
78475
|
+
attempts += 1;
|
|
78476
|
+
if (attempts < maxAttempts) {
|
|
78477
|
+
rafRef.current = requestAnimationFrame(checkPosition);
|
|
78478
|
+
} else {
|
|
78479
|
+
setIsPositioned(true);
|
|
78480
|
+
rafRef.current = null;
|
|
78481
|
+
}
|
|
78482
|
+
};
|
|
78483
|
+
rafRef.current = requestAnimationFrame(checkPosition);
|
|
78484
|
+
return () => {
|
|
78485
|
+
if (rafRef.current !== null) {
|
|
78486
|
+
cancelAnimationFrame(rafRef.current);
|
|
78487
|
+
rafRef.current = null;
|
|
78488
|
+
}
|
|
78489
|
+
};
|
|
78490
|
+
}, [isOpen, shouldReduceMotion]);
|
|
78491
|
+
const tooltipContent = useMemo(() => {
|
|
78492
|
+
if (!isOpen) return null;
|
|
78493
|
+
const tooltipWrapper = /* @__PURE__ */ jsx(
|
|
78494
|
+
"div",
|
|
78495
|
+
{
|
|
78496
|
+
ref: refs.setFloating,
|
|
78497
|
+
style: {
|
|
78498
|
+
...floatingStyles,
|
|
78499
|
+
...shouldReduceMotion && !isPositioned ? { visibility: "hidden" } : {}
|
|
78500
|
+
},
|
|
78501
|
+
...getFloatingProps(),
|
|
78502
|
+
className: styles$2S.tooltip,
|
|
78503
|
+
children: shouldReduceMotion ? /* @__PURE__ */ jsx("div", { className: clsx(styles$2S.tooltipContent, className), children: label }) : /* @__PURE__ */ jsx(
|
|
78504
|
+
motion.div,
|
|
78505
|
+
{
|
|
78506
|
+
className: clsx(styles$2S.tooltipContent, className),
|
|
78507
|
+
variants,
|
|
78508
|
+
initial: "initial",
|
|
78509
|
+
animate: "animate",
|
|
78510
|
+
exit: "exit",
|
|
78511
|
+
children: label
|
|
78512
|
+
}
|
|
78513
|
+
)
|
|
78514
|
+
},
|
|
78515
|
+
"tooltip"
|
|
78516
|
+
);
|
|
78517
|
+
return /* @__PURE__ */ jsx(FloatingPortal, { children: shouldReduceMotion ? tooltipWrapper : /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: tooltipWrapper }) });
|
|
78518
|
+
}, [
|
|
78519
|
+
isOpen,
|
|
78520
|
+
shouldReduceMotion,
|
|
78521
|
+
isPositioned,
|
|
78522
|
+
refs.setFloating,
|
|
78523
|
+
floatingStyles,
|
|
78524
|
+
getFloatingProps,
|
|
78525
|
+
className,
|
|
78526
|
+
label,
|
|
78527
|
+
variants
|
|
78528
|
+
]);
|
|
78529
|
+
const handleClick = useCallback(() => {
|
|
78437
78530
|
if (disableOnClick) {
|
|
78438
78531
|
setClicked(true);
|
|
78439
78532
|
setIsOpen(false);
|
|
@@ -78441,25 +78534,30 @@ const Tooltip = ({
|
|
|
78441
78534
|
if (isMobile) {
|
|
78442
78535
|
setIsOpen(true);
|
|
78443
78536
|
}
|
|
78444
|
-
};
|
|
78445
|
-
const handleMouseLeave = (
|
|
78537
|
+
}, [disableOnClick, isMobile]);
|
|
78538
|
+
const handleMouseLeave = useCallback(() => {
|
|
78446
78539
|
if (disableOnClick) {
|
|
78447
78540
|
setClicked(false);
|
|
78448
78541
|
}
|
|
78449
|
-
};
|
|
78450
|
-
const mergeEventHandler = (
|
|
78451
|
-
|
|
78452
|
-
|
|
78453
|
-
|
|
78454
|
-
|
|
78455
|
-
|
|
78456
|
-
|
|
78542
|
+
}, [disableOnClick]);
|
|
78543
|
+
const mergeEventHandler = useCallback(
|
|
78544
|
+
(childHandler, tooltipHandler) => {
|
|
78545
|
+
return (e) => {
|
|
78546
|
+
childHandler?.(e);
|
|
78547
|
+
tooltipHandler?.(e);
|
|
78548
|
+
};
|
|
78549
|
+
},
|
|
78550
|
+
[]
|
|
78551
|
+
);
|
|
78552
|
+
const childRef = useMemo(() => {
|
|
78553
|
+
if (!isValidElement(children)) return null;
|
|
78554
|
+
const props = children.props;
|
|
78555
|
+
return props?.ref ?? null;
|
|
78556
|
+
}, [children]);
|
|
78457
78557
|
const mergedRef = useMergeRefs([refs.setReference, childRef]);
|
|
78458
|
-
|
|
78459
|
-
|
|
78460
|
-
|
|
78461
|
-
const tooltipProps = getReferenceProps();
|
|
78462
|
-
const mergedProps = {
|
|
78558
|
+
const tooltipProps = useMemo(() => getReferenceProps(), [getReferenceProps]);
|
|
78559
|
+
const createMergedProps = useCallback(
|
|
78560
|
+
(childProps) => ({
|
|
78463
78561
|
...childProps,
|
|
78464
78562
|
ref: mergedRef,
|
|
78465
78563
|
onClick: mergeEventHandler(
|
|
@@ -78485,30 +78583,39 @@ const Tooltip = ({
|
|
|
78485
78583
|
childProps.onBlur,
|
|
78486
78584
|
tooltipProps.onBlur
|
|
78487
78585
|
)
|
|
78488
|
-
}
|
|
78586
|
+
}),
|
|
78587
|
+
[
|
|
78588
|
+
mergedRef,
|
|
78589
|
+
mergeEventHandler,
|
|
78590
|
+
handleClick,
|
|
78591
|
+
handleMouseLeave,
|
|
78592
|
+
tooltipProps.onMouseEnter,
|
|
78593
|
+
tooltipProps.onMouseLeave,
|
|
78594
|
+
tooltipProps.onFocus,
|
|
78595
|
+
tooltipProps.onBlur
|
|
78596
|
+
]
|
|
78597
|
+
);
|
|
78598
|
+
const spanProps = useMemo(
|
|
78599
|
+
() => ({
|
|
78600
|
+
...tooltipProps,
|
|
78601
|
+
onClick: mergeEventHandler(
|
|
78602
|
+
tooltipProps.onClick,
|
|
78603
|
+
handleClick
|
|
78604
|
+
),
|
|
78605
|
+
onMouseLeave: mergeEventHandler(
|
|
78606
|
+
tooltipProps.onMouseLeave,
|
|
78607
|
+
handleMouseLeave
|
|
78608
|
+
)
|
|
78609
|
+
}),
|
|
78610
|
+
[tooltipProps, mergeEventHandler, handleClick, handleMouseLeave]
|
|
78611
|
+
);
|
|
78612
|
+
if (isValidElement(children)) {
|
|
78613
|
+
const childElement = children;
|
|
78614
|
+
const childProps = childElement.props;
|
|
78615
|
+
const mergedProps = createMergedProps(childProps);
|
|
78489
78616
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
78490
78617
|
cloneElement(childElement, mergedProps),
|
|
78491
|
-
|
|
78492
|
-
"div",
|
|
78493
|
-
{
|
|
78494
|
-
ref: refs.setFloating,
|
|
78495
|
-
style: floatingStyles,
|
|
78496
|
-
...getFloatingProps(),
|
|
78497
|
-
className: styles$2S.tooltip,
|
|
78498
|
-
children: /* @__PURE__ */ jsx(
|
|
78499
|
-
motion.div,
|
|
78500
|
-
{
|
|
78501
|
-
className: clsx(styles$2S.tooltipContent, className),
|
|
78502
|
-
variants,
|
|
78503
|
-
initial: shouldReduceMotion ? void 0 : "initial",
|
|
78504
|
-
animate: shouldReduceMotion ? void 0 : "animate",
|
|
78505
|
-
exit: shouldReduceMotion ? void 0 : "exit",
|
|
78506
|
-
children: label
|
|
78507
|
-
}
|
|
78508
|
-
)
|
|
78509
|
-
},
|
|
78510
|
-
"tooltip"
|
|
78511
|
-
) }) })
|
|
78618
|
+
tooltipContent
|
|
78512
78619
|
] });
|
|
78513
78620
|
}
|
|
78514
78621
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -78516,37 +78623,12 @@ const Tooltip = ({
|
|
|
78516
78623
|
"span",
|
|
78517
78624
|
{
|
|
78518
78625
|
ref: refs.setReference,
|
|
78519
|
-
...
|
|
78520
|
-
onClick: handleClick,
|
|
78521
|
-
onMouseLeave: mergeEventHandler(
|
|
78522
|
-
getReferenceProps().onMouseLeave,
|
|
78523
|
-
handleMouseLeave
|
|
78524
|
-
),
|
|
78626
|
+
...spanProps,
|
|
78525
78627
|
style: { display: "contents" },
|
|
78526
78628
|
children
|
|
78527
78629
|
}
|
|
78528
78630
|
),
|
|
78529
|
-
|
|
78530
|
-
"div",
|
|
78531
|
-
{
|
|
78532
|
-
ref: refs.setFloating,
|
|
78533
|
-
style: floatingStyles,
|
|
78534
|
-
...getFloatingProps(),
|
|
78535
|
-
className: styles$2S.tooltip,
|
|
78536
|
-
children: /* @__PURE__ */ jsx(
|
|
78537
|
-
motion.div,
|
|
78538
|
-
{
|
|
78539
|
-
className: clsx(styles$2S.tooltipContent, className),
|
|
78540
|
-
variants,
|
|
78541
|
-
initial: shouldReduceMotion ? void 0 : "initial",
|
|
78542
|
-
animate: shouldReduceMotion ? void 0 : "animate",
|
|
78543
|
-
exit: shouldReduceMotion ? void 0 : "exit",
|
|
78544
|
-
children: label
|
|
78545
|
-
}
|
|
78546
|
-
)
|
|
78547
|
-
},
|
|
78548
|
-
"tooltip"
|
|
78549
|
-
) }) })
|
|
78631
|
+
tooltipContent
|
|
78550
78632
|
] });
|
|
78551
78633
|
};
|
|
78552
78634
|
|
|
@@ -78792,14 +78874,17 @@ const DockMotionItem = (props) => {
|
|
|
78792
78874
|
hover === true && prefersReducedMotion === false
|
|
78793
78875
|
// maybe add `& isInteractive`
|
|
78794
78876
|
);
|
|
78795
|
-
const contentStyle = useMemo(
|
|
78796
|
-
|
|
78877
|
+
const contentStyle = useMemo(() => {
|
|
78878
|
+
return prefersReducedMotion ? {
|
|
78879
|
+
width: baseWidth * targetMultiplier,
|
|
78880
|
+
height: baseWidth,
|
|
78881
|
+
originX: "center"
|
|
78882
|
+
} : {
|
|
78797
78883
|
width: dynamicWidth,
|
|
78798
78884
|
height: size,
|
|
78799
78885
|
originX: "center"
|
|
78800
|
-
}
|
|
78801
|
-
|
|
78802
|
-
);
|
|
78886
|
+
};
|
|
78887
|
+
}, [dynamicWidth, size, prefersReducedMotion, targetMultiplier]);
|
|
78803
78888
|
const ContentElement = useMemo(() => {
|
|
78804
78889
|
if (rest.use && typeof rest.use !== "string") {
|
|
78805
78890
|
return motion.create(rest.use);
|
|
@@ -78828,7 +78913,7 @@ const DockMotionItem = (props) => {
|
|
|
78828
78913
|
{
|
|
78829
78914
|
ref: scope,
|
|
78830
78915
|
layoutId: itemId,
|
|
78831
|
-
layout: true,
|
|
78916
|
+
layout: prefersReducedMotion ? false : true,
|
|
78832
78917
|
className: clsx(styles$2Q.item, className),
|
|
78833
78918
|
onMouseEnter,
|
|
78834
78919
|
style: contentStyle,
|
|
@@ -78841,12 +78926,6 @@ const DockMotionItem = (props) => {
|
|
|
78841
78926
|
}
|
|
78842
78927
|
event.currentTarget.blur();
|
|
78843
78928
|
},
|
|
78844
|
-
drag: true,
|
|
78845
|
-
dragConstraints: { top: -12, bottom: 12, left: -12, right: 12 },
|
|
78846
|
-
dragElastic: 0,
|
|
78847
|
-
dragTransition: { bounceStiffness: 300, bounceDamping: 20 },
|
|
78848
|
-
dragSnapToOrigin: true,
|
|
78849
|
-
whileDrag: { zIndex: 1 },
|
|
78850
78929
|
...linkProps,
|
|
78851
78930
|
children: [
|
|
78852
78931
|
/* @__PURE__ */ jsx("div", { className: styles$2Q.gloss }),
|
|
@@ -78856,6 +78935,14 @@ const DockMotionItem = (props) => {
|
|
|
78856
78935
|
ref: contentRef,
|
|
78857
78936
|
className: styles$2Q.content,
|
|
78858
78937
|
style: { filter: blurFilter },
|
|
78938
|
+
whileTap: prefersReducedMotion ? void 0 : {
|
|
78939
|
+
scale: 0.75,
|
|
78940
|
+
transition: {
|
|
78941
|
+
type: "spring",
|
|
78942
|
+
stiffness: 350,
|
|
78943
|
+
damping: 20
|
|
78944
|
+
}
|
|
78945
|
+
},
|
|
78859
78946
|
children
|
|
78860
78947
|
}
|
|
78861
78948
|
)
|
|
@@ -81014,7 +81101,7 @@ const EndlessLoader = ({ container }) => {
|
|
|
81014
81101
|
return;
|
|
81015
81102
|
}
|
|
81016
81103
|
try {
|
|
81017
|
-
const GLModule = await import('./gl-
|
|
81104
|
+
const GLModule = await import('./gl-DPeRBlfm.js');
|
|
81018
81105
|
if (!isActiveRef.current) {
|
|
81019
81106
|
return;
|
|
81020
81107
|
}
|
|
@@ -86922,11 +87009,11 @@ const ScrambledText = ({ children, reveal = false }) => {
|
|
|
86922
87009
|
);
|
|
86923
87010
|
};
|
|
86924
87011
|
|
|
86925
|
-
const root$Y = "
|
|
86926
|
-
const line = "
|
|
86927
|
-
const word$1 = "
|
|
86928
|
-
const link = "
|
|
86929
|
-
const letter = "
|
|
87012
|
+
const root$Y = "_root_1b6o2_1";
|
|
87013
|
+
const line = "_line_1b6o2_9";
|
|
87014
|
+
const word$1 = "_word_1b6o2_14";
|
|
87015
|
+
const link = "_link_1b6o2_18";
|
|
87016
|
+
const letter = "_letter_1b6o2_22";
|
|
86930
87017
|
const styles$11 = {
|
|
86931
87018
|
root: root$Y,
|
|
86932
87019
|
line: line,
|
|
@@ -96880,7 +96967,7 @@ const Lock = () => {
|
|
|
96880
96967
|
}
|
|
96881
96968
|
};
|
|
96882
96969
|
const asynchronously = async () => {
|
|
96883
|
-
const Flickity = await import('./index-
|
|
96970
|
+
const Flickity = await import('./index-BfhFT1kB.js').then(n => n.i).then((m) => m.default);
|
|
96884
96971
|
if (!rowsRef.current || !window) return;
|
|
96885
96972
|
const rows = rowsRef.current.children;
|
|
96886
96973
|
for (let i = 0, len = rows.length; i < len; i++) {
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ZUvQTjLa.cjs');
|
|
6
6
|
const useWindowReady = require('./useWindowReady-Il0Ibn7I.cjs');
|
|
7
7
|
const svg = require('./svg-BT_esDTZ.cjs');
|
|
8
8
|
|
package/dist/index.d.ts
CHANGED
|
@@ -701,6 +701,8 @@ export declare const PieLoader: () => JSX.Element;
|
|
|
701
701
|
|
|
702
702
|
export declare const PinDropdown: () => JSX.Element;
|
|
703
703
|
|
|
704
|
+
declare type Placement = 'top' | 'bottom' | 'left' | 'right';
|
|
705
|
+
|
|
704
706
|
export declare const PlayPauseButton: () => JSX.Element;
|
|
705
707
|
|
|
706
708
|
export declare const PlayPauseMusicButton: () => JSX.Element;
|
|
@@ -1281,7 +1283,7 @@ export declare interface TooltipProps {
|
|
|
1281
1283
|
label: ReactNode;
|
|
1282
1284
|
delay?: number;
|
|
1283
1285
|
className?: string;
|
|
1284
|
-
placement?:
|
|
1286
|
+
placement?: Placement;
|
|
1285
1287
|
offset?: number;
|
|
1286
1288
|
animate?: boolean;
|
|
1287
1289
|
disableOnClick?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { bz as AccentShardCard, cX as AcrobaticPreloader, aw as ActivateButton, A as AdjoinedFilters, ax as AirplaneAnimation, cY as AlienSkeuomorphicLoaders, bA as AnimatedBlendedCard, cz as AnimatedHeroTitle, ay as AnimatedHoverButton, az as AnimatedHoverGlowButton, dp as AnimatedIconsNav, dq as AnimatedShareMenu, dN as ApertureVideo, p as Appearance, q as AreaLight, aA as AuroraButton, co as AutoMasonryGrid, r as AvatarHover, aq as BackgroundCircles, B as BackgroundSlider, ad as BlurVignette, s as BlurredBackground, cu as BoldHamburger, ae as BorderGradient, cP as BorderLink, t as BouncyClock, bB as BrandCard, u as BreakingProgress, aB as BubblyParticlesButton, bU as BulletsCarousel, aC as BurningButton, aD as ButtonHoverFill, aE as ButtonShimmer, aF as ButtonWithDot, cZ as CanOfDigits, bD as CaptionCard, bV as CardCarousel, v as CardDetails, bE as CardGlow, dm as CardMarquee, bF as CardTile, c_ as ChaseLoader, c3 as Checkbox, bG as ChequeredCard, c7 as Chips, w as ChromaticAberration, c$ as CircleDotsLoader, x as CircleLinesAnimation, cQ as CircleLink, af as CircleParticles, cc as CircleTextHover, aG as ClaymorphicHeart, cG as ClearInput, aH as ClickButtonParticles, cd as ClickSpark, y as CollapseAnimation, aI as ColorfulButtons, av as ComingSoonBadge, ar as ComplexGradient, aJ as ConfettiButton, cA as ContrastBackgroundText, ag as Counter, bW as CoverFlowGallery, dK as CronRedirectPage, d0 as CubeLoader, ds as CurtainRevealMenu, aL as DDDButton, bH as DDDHoverCard, dX as DDDRangeSlider, c9 as DailClock, aK as DarkMatterButton, ce as DarkMatterMouseEffect, d$ as DaySwitch, cp as DenseGrid, dt as DetachedMenu, ci as DialControl, cj as DialFuturistic, cl as Dock, aM as DockButton, cm as DockHas, cn as DockMotion, aN as DoubleArrowButton, aO as DoubleArrowCollabButton, aP as DoubleStateButton, du as DropdownMenu, j as Duck, aQ as DynamicIconButton, k as DynamicIsland, aR as EchoClickButton, cf as ElasticCursor, aS as ElectrifiedButton, aT as ElectrifiedButtonGS, cL as EmailInput, dL as EmojiLayer, d1 as EndlessLoader, e9 as EnlightenedText, bI as EnvelopeTile, ao as Expand, F as FadeUp, aU as FailedDownloadButton, d_ as FeedbackReactions, bC as FigmaLogo, z as FileIcons, l as Fingerprint, c8 as FlipChips, cH as FloatingLabelInput, cB as FluidGooeyTextBackground, aV as FootprintButton, cR as ForwardArrowLink, bX as FullScreenImageCarousel, dv as Futuristic3DHoverMenu, aW as GalaxyButton, bY as GalleryReverseScroll, cC as GlassIcon, e0 as GlassSwitch, bZ as GlideImageGallery, G as GlidingReveal, E as GlitterCard, aX as GlowButton, dY as GlowSlider, dw as GlowingDropdown, cI as GlowingInput, H as GlowingShadows, dx as GlowingTabs, dy as GlowingTabs2, ea as GlowingText, bJ as GlowingTile, aZ as GoHoverButton, aY as GodRaysButton, a_ as GooeyButton, I as GradientBorder, bK as GradientGlowingTile, eb as GrainyGradientText, a$ as GravityButton, cq as Grid3DCards, ap as GridAccordion, cr as GridHover, cs as GridViewTransition, cv as HamburgerMusic, cw as HamburgerX, cx as Header, b0 as HeartFoldButton, b1 as HoldSubmitButton, b2 as HoverGlowButton, bL as HoverTile, bM as Hoverable3DCard, dr as ITEMS, ah as Illumination, bN as ImageCard, J as ImageClipping, c4 as IndeterminateCheckboxes, d2 as InfiniteLoader, cJ as InputFirework, b3 as Ios15Button, e1 as IosSwitch, ec as JellyText, ai as LandingXYScroll, L as LayeredComponents, ct as LeaningCards, b_ as ListItemHover, d3 as LoaderGenerator, d4 as LoadingBook, d5 as LoadingWave, K as Lock, aa as LoveGlow, ch as MagicMouseEffect, ed as MagicalText, b4 as MagneticButton, dz as MagnifiedNavItems, ck as MetalCircleController, b5 as MinimalisticGlassButton, dA as MobileNavBar, b6 as MorphingSubmitButton, ca as MotionClock, O as MotionDigits, Q as MouseMoveGallery, U as MultiGradientBackground, b7 as MultiStageButton, V as MultipathSvgAnimation, N as NamedPointer, dB as NavigationMenu, b8 as NeonButton, e2 as NeonToggleSwitch, cb as NeumorphicAnalogClock, cD as NeumorphicLogo, dZ as NeumorphicSlider, e3 as NeuromorphicToggle, cM as NewsletterInput, b9 as NoisyButton, X as NotificationBell, d6 as OffTrackPreloader, ba as OrbitalSubmitButton, cS as PaintedLink, bb as PaperPlanButton, dM as ParallaxEmoji, dC as ParallaxMenu, cN as PasswordInput, bO as PhotoCard, Y as PhotoZoom, dD as PianoNav, d7 as PieLoader, dE as PinDropdown, bc as PlayPauseButton, bd as PlayPauseMusicButton, Z as PolaroidStack, be as PositionHover, bf as PredictionButton, bP as ProductTile, bQ as ProfileCard, bg as ProgressButton, bh as PsychedelicButton, d8 as PulseInLoader, d9 as PulseOutLoader, _ as QuickTimeClock, dF as RadialMenu, dG as RadialNavigation, dQ as RadioHopping, dP as RadioParticles, dO as RadioRolling, as as RaysBackground, $ as RealisticSmoke, cT as RegularLink, bi as RepostButton, a0 as RevealImageAnimation, aj as RhombusGallery, da as RingLoader, b$ as RotatedCardsCarousel, db as RoundScaleLoader, bj as RubberButton, bk as RunningButton, a1 as SchrodingerFormControls, ee as ScrambledText, ef as ScramblingLetters, dR as ScrollCountdown, dS as ScrollDrivenTextBlowOut, dU as ScrollTextHighlight, dV as ScrollTimeline, dW as ScrollWithLight, c0 as Scroller, dT as ScrollingTextReveal, cK as SearchInput, m as SegmentedControls, e4 as SegmentedToggle, c1 as ShadowedCardsList, cO as ShadowedClick, eg as ShakingText, cU as ShakyLine, n as ShapeSelection, bl as ShimmerButton, bm as ShimmeringBorderGradient, bR as ShineAnimation, bS as ShineCard, eh as ShiningText, bn as ShinyButton, dH as SinglePopoverMenu, dc as SkateboardPreloader, bo as SkeuomorphicLikeButton, a2 as SlideIn, bp as SlidingButton, cE as SlidingIcon, c2 as SlidingImages, bq as SlidingStepper, dd as SmileyPreloader, a3 as SmokeTextDisappearance, o as SmoothScroll, de as SnowballPreloader, a4 as SolarEclipse, br as SparkleButton, bs as SparklyButton, a5 as SpeechToText, df as SpinningClickAnimation, cg as SplashCursor, cF as SquircleAvatar, bt as SquishButton, bT as StackingCards, a6 as StaticSolarEclipse, cy as StickyHeader, a7 as StickyList, e5 as StretchToggle, dg as StretchyLoader, c5 as StrikethroughCheckbox, c6 as StrikethroughCheckboxes, dh as StuntPreloader, di as SubtleBorderAnimation, dj as SuccessLoader, bu as SuccessLoadingButton, dI as TabBarAnimation, ab as TextImageHover, ei as TextMorphing, ej as TextOutline, ek as TextShadow, at as Texture, ak as ThanosDisappearEffect, al as ThanosDisappearEffectList, bv as ThreadsLikeButton, dk as ThreeDotsLoader, bw as ThumbsUpButton, dn as Ticker, bx as TicklishButton, dl as TimeCirclesLoader, e6 as TippingSwitch, i as Toasts, e7 as ToggleBubble, e8 as ToggleClipPath, em as Tooltip, en as TooltipRangeSlider, a8 as TranslucentBackdrop, by as TrickButton, a9 as TurbulenceFilter, cV as UnderlinedLink, cW as UnderlinedLink2, am as ViewTransitionAddToCard, an as ViewTransitionImageGallery, ac as VoiceAnimation, dJ as WavyMenu, au as WebGLSmoke, el as WeightText } from './index-
|
|
1
|
+
export { bz as AccentShardCard, cX as AcrobaticPreloader, aw as ActivateButton, A as AdjoinedFilters, ax as AirplaneAnimation, cY as AlienSkeuomorphicLoaders, bA as AnimatedBlendedCard, cz as AnimatedHeroTitle, ay as AnimatedHoverButton, az as AnimatedHoverGlowButton, dp as AnimatedIconsNav, dq as AnimatedShareMenu, dN as ApertureVideo, p as Appearance, q as AreaLight, aA as AuroraButton, co as AutoMasonryGrid, r as AvatarHover, aq as BackgroundCircles, B as BackgroundSlider, ad as BlurVignette, s as BlurredBackground, cu as BoldHamburger, ae as BorderGradient, cP as BorderLink, t as BouncyClock, bB as BrandCard, u as BreakingProgress, aB as BubblyParticlesButton, bU as BulletsCarousel, aC as BurningButton, aD as ButtonHoverFill, aE as ButtonShimmer, aF as ButtonWithDot, cZ as CanOfDigits, bD as CaptionCard, bV as CardCarousel, v as CardDetails, bE as CardGlow, dm as CardMarquee, bF as CardTile, c_ as ChaseLoader, c3 as Checkbox, bG as ChequeredCard, c7 as Chips, w as ChromaticAberration, c$ as CircleDotsLoader, x as CircleLinesAnimation, cQ as CircleLink, af as CircleParticles, cc as CircleTextHover, aG as ClaymorphicHeart, cG as ClearInput, aH as ClickButtonParticles, cd as ClickSpark, y as CollapseAnimation, aI as ColorfulButtons, av as ComingSoonBadge, ar as ComplexGradient, aJ as ConfettiButton, cA as ContrastBackgroundText, ag as Counter, bW as CoverFlowGallery, dK as CronRedirectPage, d0 as CubeLoader, ds as CurtainRevealMenu, aL as DDDButton, bH as DDDHoverCard, dX as DDDRangeSlider, c9 as DailClock, aK as DarkMatterButton, ce as DarkMatterMouseEffect, d$ as DaySwitch, cp as DenseGrid, dt as DetachedMenu, ci as DialControl, cj as DialFuturistic, cl as Dock, aM as DockButton, cm as DockHas, cn as DockMotion, aN as DoubleArrowButton, aO as DoubleArrowCollabButton, aP as DoubleStateButton, du as DropdownMenu, j as Duck, aQ as DynamicIconButton, k as DynamicIsland, aR as EchoClickButton, cf as ElasticCursor, aS as ElectrifiedButton, aT as ElectrifiedButtonGS, cL as EmailInput, dL as EmojiLayer, d1 as EndlessLoader, e9 as EnlightenedText, bI as EnvelopeTile, ao as Expand, F as FadeUp, aU as FailedDownloadButton, d_ as FeedbackReactions, bC as FigmaLogo, z as FileIcons, l as Fingerprint, c8 as FlipChips, cH as FloatingLabelInput, cB as FluidGooeyTextBackground, aV as FootprintButton, cR as ForwardArrowLink, bX as FullScreenImageCarousel, dv as Futuristic3DHoverMenu, aW as GalaxyButton, bY as GalleryReverseScroll, cC as GlassIcon, e0 as GlassSwitch, bZ as GlideImageGallery, G as GlidingReveal, E as GlitterCard, aX as GlowButton, dY as GlowSlider, dw as GlowingDropdown, cI as GlowingInput, H as GlowingShadows, dx as GlowingTabs, dy as GlowingTabs2, ea as GlowingText, bJ as GlowingTile, aZ as GoHoverButton, aY as GodRaysButton, a_ as GooeyButton, I as GradientBorder, bK as GradientGlowingTile, eb as GrainyGradientText, a$ as GravityButton, cq as Grid3DCards, ap as GridAccordion, cr as GridHover, cs as GridViewTransition, cv as HamburgerMusic, cw as HamburgerX, cx as Header, b0 as HeartFoldButton, b1 as HoldSubmitButton, b2 as HoverGlowButton, bL as HoverTile, bM as Hoverable3DCard, dr as ITEMS, ah as Illumination, bN as ImageCard, J as ImageClipping, c4 as IndeterminateCheckboxes, d2 as InfiniteLoader, cJ as InputFirework, b3 as Ios15Button, e1 as IosSwitch, ec as JellyText, ai as LandingXYScroll, L as LayeredComponents, ct as LeaningCards, b_ as ListItemHover, d3 as LoaderGenerator, d4 as LoadingBook, d5 as LoadingWave, K as Lock, aa as LoveGlow, ch as MagicMouseEffect, ed as MagicalText, b4 as MagneticButton, dz as MagnifiedNavItems, ck as MetalCircleController, b5 as MinimalisticGlassButton, dA as MobileNavBar, b6 as MorphingSubmitButton, ca as MotionClock, O as MotionDigits, Q as MouseMoveGallery, U as MultiGradientBackground, b7 as MultiStageButton, V as MultipathSvgAnimation, N as NamedPointer, dB as NavigationMenu, b8 as NeonButton, e2 as NeonToggleSwitch, cb as NeumorphicAnalogClock, cD as NeumorphicLogo, dZ as NeumorphicSlider, e3 as NeuromorphicToggle, cM as NewsletterInput, b9 as NoisyButton, X as NotificationBell, d6 as OffTrackPreloader, ba as OrbitalSubmitButton, cS as PaintedLink, bb as PaperPlanButton, dM as ParallaxEmoji, dC as ParallaxMenu, cN as PasswordInput, bO as PhotoCard, Y as PhotoZoom, dD as PianoNav, d7 as PieLoader, dE as PinDropdown, bc as PlayPauseButton, bd as PlayPauseMusicButton, Z as PolaroidStack, be as PositionHover, bf as PredictionButton, bP as ProductTile, bQ as ProfileCard, bg as ProgressButton, bh as PsychedelicButton, d8 as PulseInLoader, d9 as PulseOutLoader, _ as QuickTimeClock, dF as RadialMenu, dG as RadialNavigation, dQ as RadioHopping, dP as RadioParticles, dO as RadioRolling, as as RaysBackground, $ as RealisticSmoke, cT as RegularLink, bi as RepostButton, a0 as RevealImageAnimation, aj as RhombusGallery, da as RingLoader, b$ as RotatedCardsCarousel, db as RoundScaleLoader, bj as RubberButton, bk as RunningButton, a1 as SchrodingerFormControls, ee as ScrambledText, ef as ScramblingLetters, dR as ScrollCountdown, dS as ScrollDrivenTextBlowOut, dU as ScrollTextHighlight, dV as ScrollTimeline, dW as ScrollWithLight, c0 as Scroller, dT as ScrollingTextReveal, cK as SearchInput, m as SegmentedControls, e4 as SegmentedToggle, c1 as ShadowedCardsList, cO as ShadowedClick, eg as ShakingText, cU as ShakyLine, n as ShapeSelection, bl as ShimmerButton, bm as ShimmeringBorderGradient, bR as ShineAnimation, bS as ShineCard, eh as ShiningText, bn as ShinyButton, dH as SinglePopoverMenu, dc as SkateboardPreloader, bo as SkeuomorphicLikeButton, a2 as SlideIn, bp as SlidingButton, cE as SlidingIcon, c2 as SlidingImages, bq as SlidingStepper, dd as SmileyPreloader, a3 as SmokeTextDisappearance, o as SmoothScroll, de as SnowballPreloader, a4 as SolarEclipse, br as SparkleButton, bs as SparklyButton, a5 as SpeechToText, df as SpinningClickAnimation, cg as SplashCursor, cF as SquircleAvatar, bt as SquishButton, bT as StackingCards, a6 as StaticSolarEclipse, cy as StickyHeader, a7 as StickyList, e5 as StretchToggle, dg as StretchyLoader, c5 as StrikethroughCheckbox, c6 as StrikethroughCheckboxes, dh as StuntPreloader, di as SubtleBorderAnimation, dj as SuccessLoader, bu as SuccessLoadingButton, dI as TabBarAnimation, ab as TextImageHover, ei as TextMorphing, ej as TextOutline, ek as TextShadow, at as Texture, ak as ThanosDisappearEffect, al as ThanosDisappearEffectList, bv as ThreadsLikeButton, dk as ThreeDotsLoader, bw as ThumbsUpButton, dn as Ticker, bx as TicklishButton, dl as TimeCirclesLoader, e6 as TippingSwitch, i as Toasts, e7 as ToggleBubble, e8 as ToggleClipPath, em as Tooltip, en as TooltipRangeSlider, a8 as TranslucentBackdrop, by as TrickButton, a9 as TurbulenceFilter, cV as UnderlinedLink, cW as UnderlinedLink2, am as ViewTransitionAddToCard, an as ViewTransitionImageGallery, ac as VoiceAnimation, dJ as WavyMenu, au as WebGLSmoke, el as WeightText } from './index-iVv-r1r7.js';
|
|
2
2
|
export { u as useAnimatedText, a as useBowser, b as useDebounce, d as useEffectEvent, e as useInterval, f as useLiveRef, g as useMatchMedia, h as useOklch, i as useOutsideClick, k as usePreviousRender, j as usePreviousState, l as useRaf, m as useThrottle, n as useTimeout, c as useUniversalLayoutEffect, o as useWindowReady } from './useWindowReady-DVV-s65K.js';
|
|
3
3
|
export { B as BaseLogger, e as animationLogger, g as apiLogger, w as chain, c as clearSession, d as componentLogger, A as delay, x as distance, f as eventLogger, j as getCurrentLogLevel, D as getPath, h as hookLogger, o as is, k as isDebugEnabled, p as isNonNullable, r as keys, z as lerp, y as lineEq, l as logger, m as move, n as noop, q as notReachable, s as setLogLevel, b as setRequestId, a as setSessionId, i as storageLogger, t as times, u as utilsLogger, v as values, C as wait } from './svg-CQLdTbLk.js';
|