@almadar/ui 5.122.5 → 5.122.6
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/avl/index.cjs +1 -1
- package/dist/avl/index.js +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/providers/index.cjs +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/runtime/index.cjs +1 -1
- package/dist/runtime/index.js +1 -1
- package/package.json +1 -1
- package/tailwind-preset.cjs +7 -7
package/dist/avl/index.cjs
CHANGED
|
@@ -5152,7 +5152,7 @@ function usePresence(show, opts) {
|
|
|
5152
5152
|
}, [show, animate, clearSafe, finishExit]);
|
|
5153
5153
|
React91.useEffect(() => () => clearSafe(), [clearSafe]);
|
|
5154
5154
|
const disabled = !animate || !isMotionEnabled();
|
|
5155
|
-
const className = disabled ? "" :
|
|
5155
|
+
const className = disabled ? "" : show ? `animate-${animation}-in` : `animate-${animation}-out`;
|
|
5156
5156
|
const onAnimationEnd = React91.useCallback(
|
|
5157
5157
|
(e) => {
|
|
5158
5158
|
if (e.target !== e.currentTarget) return;
|
package/dist/avl/index.js
CHANGED
|
@@ -5106,7 +5106,7 @@ function usePresence(show, opts) {
|
|
|
5106
5106
|
}, [show, animate, clearSafe, finishExit]);
|
|
5107
5107
|
useEffect(() => () => clearSafe(), [clearSafe]);
|
|
5108
5108
|
const disabled = !animate || !isMotionEnabled();
|
|
5109
|
-
const className = disabled ? "" :
|
|
5109
|
+
const className = disabled ? "" : show ? `animate-${animation}-in` : `animate-${animation}-out`;
|
|
5110
5110
|
const onAnimationEnd = useCallback(
|
|
5111
5111
|
(e) => {
|
|
5112
5112
|
if (e.target !== e.currentTarget) return;
|
|
@@ -4141,7 +4141,7 @@ function usePresence(show, opts) {
|
|
|
4141
4141
|
}, [show, animate, clearSafe, finishExit]);
|
|
4142
4142
|
React74.useEffect(() => () => clearSafe(), [clearSafe]);
|
|
4143
4143
|
const disabled = !animate || !isMotionEnabled();
|
|
4144
|
-
const className = disabled ? "" :
|
|
4144
|
+
const className = disabled ? "" : show ? `animate-${animation}-in` : `animate-${animation}-out`;
|
|
4145
4145
|
const onAnimationEnd = React74.useCallback(
|
|
4146
4146
|
(e) => {
|
|
4147
4147
|
if (e.target !== e.currentTarget) return;
|
package/dist/components/index.js
CHANGED
|
@@ -4096,7 +4096,7 @@ function usePresence(show, opts) {
|
|
|
4096
4096
|
}, [show, animate, clearSafe, finishExit]);
|
|
4097
4097
|
useEffect(() => () => clearSafe(), [clearSafe]);
|
|
4098
4098
|
const disabled = !animate || !isMotionEnabled();
|
|
4099
|
-
const className = disabled ? "" :
|
|
4099
|
+
const className = disabled ? "" : show ? `animate-${animation}-in` : `animate-${animation}-out`;
|
|
4100
4100
|
const onAnimationEnd = useCallback(
|
|
4101
4101
|
(e) => {
|
|
4102
4102
|
if (e.target !== e.currentTarget) return;
|
package/dist/providers/index.cjs
CHANGED
|
@@ -1323,7 +1323,7 @@ function usePresence(show, opts) {
|
|
|
1323
1323
|
}, [show, animate, clearSafe, finishExit]);
|
|
1324
1324
|
React84.useEffect(() => () => clearSafe(), [clearSafe]);
|
|
1325
1325
|
const disabled = !animate || !isMotionEnabled();
|
|
1326
|
-
const className = disabled ? "" :
|
|
1326
|
+
const className = disabled ? "" : show ? `animate-${animation}-in` : `animate-${animation}-out`;
|
|
1327
1327
|
const onAnimationEnd = React84.useCallback(
|
|
1328
1328
|
(e) => {
|
|
1329
1329
|
if (e.target !== e.currentTarget) return;
|
package/dist/providers/index.js
CHANGED
|
@@ -1278,7 +1278,7 @@ function usePresence(show, opts) {
|
|
|
1278
1278
|
}, [show, animate, clearSafe, finishExit]);
|
|
1279
1279
|
useEffect(() => () => clearSafe(), [clearSafe]);
|
|
1280
1280
|
const disabled = !animate || !isMotionEnabled();
|
|
1281
|
-
const className = disabled ? "" :
|
|
1281
|
+
const className = disabled ? "" : show ? `animate-${animation}-in` : `animate-${animation}-out`;
|
|
1282
1282
|
const onAnimationEnd = useCallback(
|
|
1283
1283
|
(e) => {
|
|
1284
1284
|
if (e.target !== e.currentTarget) return;
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -1801,7 +1801,7 @@ function usePresence(show, opts) {
|
|
|
1801
1801
|
}, [show, animate, clearSafe, finishExit]);
|
|
1802
1802
|
React82.useEffect(() => () => clearSafe(), [clearSafe]);
|
|
1803
1803
|
const disabled = !animate || !isMotionEnabled();
|
|
1804
|
-
const className = disabled ? "" :
|
|
1804
|
+
const className = disabled ? "" : show ? `animate-${animation}-in` : `animate-${animation}-out`;
|
|
1805
1805
|
const onAnimationEnd = React82.useCallback(
|
|
1806
1806
|
(e) => {
|
|
1807
1807
|
if (e.target !== e.currentTarget) return;
|
package/dist/runtime/index.js
CHANGED
|
@@ -1757,7 +1757,7 @@ function usePresence(show, opts) {
|
|
|
1757
1757
|
}, [show, animate, clearSafe, finishExit]);
|
|
1758
1758
|
useEffect(() => () => clearSafe(), [clearSafe]);
|
|
1759
1759
|
const disabled = !animate || !isMotionEnabled();
|
|
1760
|
-
const className = disabled ? "" :
|
|
1760
|
+
const className = disabled ? "" : show ? `animate-${animation}-in` : `animate-${animation}-out`;
|
|
1761
1761
|
const onAnimationEnd = useCallback(
|
|
1762
1762
|
(e) => {
|
|
1763
1763
|
if (e.target !== e.currentTarget) return;
|
package/package.json
CHANGED
package/tailwind-preset.cjs
CHANGED
|
@@ -510,20 +510,20 @@ module.exports = {
|
|
|
510
510
|
// Motion-token-driven durations/easings (fall back to legacy
|
|
511
511
|
// --transition-* so themes that haven't migrated keep working).
|
|
512
512
|
'modal-in': 'modal-in var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
513
|
-
'modal-out': 'modal-out var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
513
|
+
'modal-out': 'modal-out var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1))) forwards',
|
|
514
514
|
'overlay-in': 'overlay-in var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
515
|
-
'overlay-out': 'overlay-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
515
|
+
'overlay-out': 'overlay-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1))) forwards',
|
|
516
516
|
'slide-up': 'slide-up var(--duration-slow, var(--transition-slow, 400ms)) var(--easing-emphasized, cubic-bezier(0.2, 0, 0, 1))',
|
|
517
517
|
'drawer-in': 'drawer-in var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-emphasized, cubic-bezier(0.2, 0, 0, 1))',
|
|
518
|
-
'drawer-out': 'drawer-out var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-emphasized, cubic-bezier(0.2, 0, 0, 1))',
|
|
518
|
+
'drawer-out': 'drawer-out var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-emphasized, cubic-bezier(0.2, 0, 0, 1)) forwards',
|
|
519
519
|
'popover-in': 'popover-in var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
520
|
-
'popover-out': 'popover-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
520
|
+
'popover-out': 'popover-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1))) forwards',
|
|
521
521
|
'toast-in': 'toast-in var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-emphasized, cubic-bezier(0.2, 0, 0, 1))',
|
|
522
|
-
'toast-out': 'toast-out var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
522
|
+
'toast-out': 'toast-out var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1))) forwards',
|
|
523
523
|
'fade-in': 'fade-in var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
524
|
-
'fade-out': 'fade-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
524
|
+
'fade-out': 'fade-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1))) forwards',
|
|
525
525
|
'page-in': 'page-in var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
526
|
-
'page-out': 'page-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
526
|
+
'page-out': 'page-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1))) forwards',
|
|
527
527
|
'shimmer': 'shimmer var(--duration-shimmer, 1.5s) var(--easing-linear, linear) infinite',
|
|
528
528
|
},
|
|
529
529
|
// Density-axis spacing scale. Tailwind's default `p-3` / `gap-4` resolve
|