@underverse-ui/underverse 0.2.14 → 0.2.15
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 +21 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2537,39 +2537,36 @@ var shadcnAnimationStyles = `
|
|
|
2537
2537
|
* Uses spring-like cubic-bezier for natural feel
|
|
2538
2538
|
* ============================================ */
|
|
2539
2539
|
|
|
2540
|
+
/* Native-like Combobox Animation - Mimics browser default select */
|
|
2540
2541
|
[data-state="open"][data-combobox-dropdown] {
|
|
2541
|
-
animation: comboboxOpen
|
|
2542
|
+
animation: comboboxOpen 150ms cubic-bezier(0.2, 0, 0, 1);
|
|
2542
2543
|
transform-origin: top center;
|
|
2543
2544
|
}
|
|
2544
|
-
|
|
2545
|
+
|
|
2545
2546
|
[data-state="closed"][data-combobox-dropdown] {
|
|
2546
|
-
animation: comboboxClose
|
|
2547
|
+
animation: comboboxClose 120ms cubic-bezier(0.4, 0, 1, 1);
|
|
2547
2548
|
transform-origin: top center;
|
|
2548
2549
|
}
|
|
2549
|
-
|
|
2550
|
+
|
|
2550
2551
|
@keyframes comboboxOpen {
|
|
2551
2552
|
0% {
|
|
2552
2553
|
opacity: 0;
|
|
2553
|
-
transform: translateY(-
|
|
2554
|
-
}
|
|
2555
|
-
50% {
|
|
2556
|
-
opacity: 0.8;
|
|
2557
|
-
transform: translateY(2px) scale(1.01);
|
|
2554
|
+
transform: translateY(-4px) scaleY(0.9);
|
|
2558
2555
|
}
|
|
2559
2556
|
100% {
|
|
2560
2557
|
opacity: 1;
|
|
2561
|
-
transform: translateY(0)
|
|
2558
|
+
transform: translateY(0) scaleY(1);
|
|
2562
2559
|
}
|
|
2563
2560
|
}
|
|
2564
|
-
|
|
2561
|
+
|
|
2565
2562
|
@keyframes comboboxClose {
|
|
2566
2563
|
0% {
|
|
2567
2564
|
opacity: 1;
|
|
2568
|
-
transform: translateY(0)
|
|
2565
|
+
transform: translateY(0) scaleY(1);
|
|
2569
2566
|
}
|
|
2570
2567
|
100% {
|
|
2571
2568
|
opacity: 0;
|
|
2572
|
-
transform: translateY(-
|
|
2569
|
+
transform: translateY(-4px) scaleY(0.9);
|
|
2573
2570
|
}
|
|
2574
2571
|
}
|
|
2575
2572
|
|
|
@@ -2605,41 +2602,29 @@ var shadcnAnimationStyles = `
|
|
|
2605
2602
|
}
|
|
2606
2603
|
|
|
2607
2604
|
/* ============================================
|
|
2608
|
-
* DROPDOWN ITEMS -
|
|
2605
|
+
* DROPDOWN ITEMS - Native-like instant appearance
|
|
2609
2606
|
* ============================================ */
|
|
2610
|
-
|
|
2607
|
+
|
|
2608
|
+
/* Fast staggered animation for native feel */
|
|
2611
2609
|
.dropdown-item {
|
|
2612
2610
|
opacity: 0;
|
|
2613
|
-
animation:
|
|
2614
|
-
will-change: opacity, transform;
|
|
2611
|
+
animation: itemFadeIn 120ms cubic-bezier(0.2, 0, 0, 1) forwards;
|
|
2615
2612
|
}
|
|
2616
|
-
|
|
2617
|
-
@keyframes
|
|
2613
|
+
|
|
2614
|
+
@keyframes itemFadeIn {
|
|
2618
2615
|
0% {
|
|
2619
2616
|
opacity: 0;
|
|
2620
|
-
transform:
|
|
2621
|
-
}
|
|
2622
|
-
60% {
|
|
2623
|
-
opacity: 0.9;
|
|
2624
|
-
transform: translateX(2px);
|
|
2617
|
+
transform: translateY(-2px);
|
|
2625
2618
|
}
|
|
2626
2619
|
100% {
|
|
2627
2620
|
opacity: 1;
|
|
2628
|
-
transform:
|
|
2621
|
+
transform: translateY(0);
|
|
2629
2622
|
}
|
|
2630
2623
|
}
|
|
2631
|
-
|
|
2632
|
-
/*
|
|
2624
|
+
|
|
2625
|
+
/* Subtle hover effect */
|
|
2633
2626
|
.dropdown-item {
|
|
2634
|
-
transition: background-color
|
|
2635
|
-
}
|
|
2636
|
-
|
|
2637
|
-
.dropdown-item:hover {
|
|
2638
|
-
transform: translateX(2px);
|
|
2639
|
-
}
|
|
2640
|
-
|
|
2641
|
-
.dropdown-item:active {
|
|
2642
|
-
transform: scale(0.98);
|
|
2627
|
+
transition: background-color 100ms ease;
|
|
2643
2628
|
}
|
|
2644
2629
|
|
|
2645
2630
|
/* ============================================
|