@moontra/moonui 2.3.4 → 2.3.5
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.global.js +27 -27
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/ui/tabs.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2350,7 +2350,7 @@ var TabsContent = t.forwardRef(({ className, animated = false, ...props }, ref)
|
|
|
2350
2350
|
ref,
|
|
2351
2351
|
className: cn(
|
|
2352
2352
|
"moonui-theme",
|
|
2353
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
2353
|
+
"mt-6 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
2354
2354
|
animated && "data-[state=active]:animate-fadeIn data-[state=inactive]:animate-fadeOut",
|
|
2355
2355
|
className
|
|
2356
2356
|
),
|
|
@@ -10363,7 +10363,7 @@ function usePresence2(present) {
|
|
|
10363
10363
|
const ownerWindow = node.ownerDocument.defaultView ?? window;
|
|
10364
10364
|
const handleAnimationEnd = (event) => {
|
|
10365
10365
|
const currentAnimationName = getAnimationName2(stylesRef.current);
|
|
10366
|
-
const isCurrentAnimation = currentAnimationName.includes(event.animationName);
|
|
10366
|
+
const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));
|
|
10367
10367
|
if (event.target === node && isCurrentAnimation) {
|
|
10368
10368
|
send("ANIMATION_END");
|
|
10369
10369
|
if (!prevPresentRef.current) {
|
|
@@ -10496,8 +10496,6 @@ function useDirection(localDir) {
|
|
|
10496
10496
|
function clamp(value, [min2, max2]) {
|
|
10497
10497
|
return Math.min(max2, Math.max(min2, value));
|
|
10498
10498
|
}
|
|
10499
|
-
|
|
10500
|
-
// ../../node_modules/@radix-ui/primitive/dist/index.mjs
|
|
10501
10499
|
function composeEventHandlers2(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
10502
10500
|
return function handleEvent(event) {
|
|
10503
10501
|
originalEventHandler?.(event);
|