@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.js CHANGED
@@ -2382,7 +2382,7 @@ var TabsContent = t__namespace.forwardRef(({ className, animated = false, ...pro
2382
2382
  ref,
2383
2383
  className: cn(
2384
2384
  "moonui-theme",
2385
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
2385
+ "mt-6 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
2386
2386
  animated && "data-[state=active]:animate-fadeIn data-[state=inactive]:animate-fadeOut",
2387
2387
  className
2388
2388
  ),
@@ -10395,7 +10395,7 @@ function usePresence2(present) {
10395
10395
  const ownerWindow = node.ownerDocument.defaultView ?? window;
10396
10396
  const handleAnimationEnd = (event) => {
10397
10397
  const currentAnimationName = getAnimationName2(stylesRef.current);
10398
- const isCurrentAnimation = currentAnimationName.includes(event.animationName);
10398
+ const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));
10399
10399
  if (event.target === node && isCurrentAnimation) {
10400
10400
  send("ANIMATION_END");
10401
10401
  if (!prevPresentRef.current) {
@@ -10528,8 +10528,6 @@ function useDirection(localDir) {
10528
10528
  function clamp(value, [min2, max2]) {
10529
10529
  return Math.min(max2, Math.max(min2, value));
10530
10530
  }
10531
-
10532
- // ../../node_modules/@radix-ui/primitive/dist/index.mjs
10533
10531
  function composeEventHandlers2(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
10534
10532
  return function handleEvent(event) {
10535
10533
  originalEventHandler?.(event);