@aziontech/theme 4.0.0 → 4.1.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/v4/globals.css +28 -0
- package/dist/v4/globals.scss +28 -0
- package/package.json +1 -1
- package/src/tokens/primitives/animations/animate.d.ts +25 -0
- package/src/tokens/primitives/animations/animate.d.ts.map +1 -1
- package/src/tokens/primitives/animations/animate.js +29 -1
- package/src/tokens/primitives/animations/keyframes.d.ts +16 -0
- package/src/tokens/primitives/animations/keyframes.d.ts.map +1 -1
- package/src/tokens/primitives/animations/keyframes.js +31 -15
package/dist/v4/globals.css
CHANGED
|
@@ -407,6 +407,10 @@
|
|
|
407
407
|
--animate-highlight-fade: highlight ease-in forwards;
|
|
408
408
|
--animate-popup-scale-in: popupScaleIn 150ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
409
409
|
--animate-popup-scale-out: popupScaleOut 110ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
410
|
+
--animate-slide-in-left: slideInLeft 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
411
|
+
--animate-slide-out-left: slideOutLeft 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
412
|
+
--animate-slide-in-right: slideInRight 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
413
|
+
--animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
410
414
|
--animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
|
|
411
415
|
--animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
|
|
412
416
|
}
|
|
@@ -648,6 +652,10 @@
|
|
|
648
652
|
--animate-highlight-fade: highlight ease-in forwards;
|
|
649
653
|
--animate-popup-scale-in: popupScaleIn 150ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
650
654
|
--animate-popup-scale-out: popupScaleOut 110ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
655
|
+
--animate-slide-in-left: slideInLeft 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
656
|
+
--animate-slide-out-left: slideOutLeft 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
657
|
+
--animate-slide-in-right: slideInRight 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
658
|
+
--animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
651
659
|
--animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
|
|
652
660
|
--animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
|
|
653
661
|
--ring-offset: 0.5px;
|
|
@@ -979,6 +987,26 @@
|
|
|
979
987
|
100% { opacity: 0; transform: scale(0.95); }
|
|
980
988
|
}
|
|
981
989
|
|
|
990
|
+
@keyframes slideInLeft {
|
|
991
|
+
0% { transform: translateX(-100%); }
|
|
992
|
+
100% { transform: translateX(0); }
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
@keyframes slideOutLeft {
|
|
996
|
+
0% { transform: translateX(0); }
|
|
997
|
+
100% { transform: translateX(-100%); }
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
@keyframes slideInRight {
|
|
1001
|
+
0% { transform: translateX(100%); }
|
|
1002
|
+
100% { transform: translateX(0); }
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
@keyframes slideOutRight {
|
|
1006
|
+
0% { transform: translateX(0); }
|
|
1007
|
+
100% { transform: translateX(100%); }
|
|
1008
|
+
}
|
|
1009
|
+
|
|
982
1010
|
@keyframes progressIndeterminate {
|
|
983
1011
|
0% { inset-inline-start: -35%; inset-inline-end: 100%; }
|
|
984
1012
|
60% { inset-inline-start: 100%; inset-inline-end: -90%; }
|
package/dist/v4/globals.scss
CHANGED
|
@@ -407,6 +407,10 @@
|
|
|
407
407
|
--animate-highlight-fade: highlight ease-in forwards;
|
|
408
408
|
--animate-popup-scale-in: popupScaleIn 150ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
409
409
|
--animate-popup-scale-out: popupScaleOut 110ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
410
|
+
--animate-slide-in-left: slideInLeft 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
411
|
+
--animate-slide-out-left: slideOutLeft 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
412
|
+
--animate-slide-in-right: slideInRight 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
413
|
+
--animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
410
414
|
--animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
|
|
411
415
|
--animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
|
|
412
416
|
}
|
|
@@ -648,6 +652,10 @@
|
|
|
648
652
|
--animate-highlight-fade: highlight ease-in forwards;
|
|
649
653
|
--animate-popup-scale-in: popupScaleIn 150ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
650
654
|
--animate-popup-scale-out: popupScaleOut 110ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
655
|
+
--animate-slide-in-left: slideInLeft 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
656
|
+
--animate-slide-out-left: slideOutLeft 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
657
|
+
--animate-slide-in-right: slideInRight 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
658
|
+
--animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
651
659
|
--animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
|
|
652
660
|
--animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
|
|
653
661
|
--ring-offset: 0.5px;
|
|
@@ -979,6 +987,26 @@
|
|
|
979
987
|
100% { opacity: 0; transform: scale(0.95); }
|
|
980
988
|
}
|
|
981
989
|
|
|
990
|
+
@keyframes slideInLeft {
|
|
991
|
+
0% { transform: translateX(-100%); }
|
|
992
|
+
100% { transform: translateX(0); }
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
@keyframes slideOutLeft {
|
|
996
|
+
0% { transform: translateX(0); }
|
|
997
|
+
100% { transform: translateX(-100%); }
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
@keyframes slideInRight {
|
|
1001
|
+
0% { transform: translateX(100%); }
|
|
1002
|
+
100% { transform: translateX(0); }
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
@keyframes slideOutRight {
|
|
1006
|
+
0% { transform: translateX(0); }
|
|
1007
|
+
100% { transform: translateX(100%); }
|
|
1008
|
+
}
|
|
1009
|
+
|
|
982
1010
|
@keyframes progressIndeterminate {
|
|
983
1011
|
0% { inset-inline-start: -35%; inset-inline-end: 100%; }
|
|
984
1012
|
60% { inset-inline-start: 100%; inset-inline-end: -90%; }
|
package/package.json
CHANGED
|
@@ -27,6 +27,30 @@ export const animate: {
|
|
|
27
27
|
'highlight-fade': string;
|
|
28
28
|
'popup-scale-in': string;
|
|
29
29
|
'popup-scale-out': string;
|
|
30
|
+
'slide-in-left': string;
|
|
31
|
+
'slide-out-left': string;
|
|
32
|
+
'slide-in-right': string;
|
|
33
|
+
'slide-out-right': string;
|
|
34
|
+
'progress-indeterminate': string;
|
|
35
|
+
'progress-indeterminate-short': string;
|
|
36
|
+
};
|
|
37
|
+
export const useWhen: {
|
|
38
|
+
spin: string;
|
|
39
|
+
ping: string;
|
|
40
|
+
pulse: string;
|
|
41
|
+
bounce: string;
|
|
42
|
+
shimmer: string;
|
|
43
|
+
blink: string;
|
|
44
|
+
'fade-in': string;
|
|
45
|
+
'fade-out': string;
|
|
46
|
+
'slide-down': string;
|
|
47
|
+
'highlight-fade': string;
|
|
48
|
+
'popup-scale-in': string;
|
|
49
|
+
'popup-scale-out': string;
|
|
50
|
+
'slide-in-left': string;
|
|
51
|
+
'slide-out-left': string;
|
|
52
|
+
'slide-in-right': string;
|
|
53
|
+
'slide-out-right': string;
|
|
30
54
|
'progress-indeterminate': string;
|
|
31
55
|
'progress-indeterminate-short': string;
|
|
32
56
|
};
|
|
@@ -34,6 +58,7 @@ declare namespace _default {
|
|
|
34
58
|
export { animate };
|
|
35
59
|
export { curve };
|
|
36
60
|
export { duration };
|
|
61
|
+
export { useWhen };
|
|
37
62
|
}
|
|
38
63
|
export default _default;
|
|
39
64
|
//# sourceMappingURL=animate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animate.d.ts","sourceRoot":"","sources":["animate.js"],"names":[],"mappings":"AAAA;;;;;EAKC;AAED;;;;;;;;;EASC;AAED
|
|
1
|
+
{"version":3,"file":"animate.d.ts","sourceRoot":"","sources":["animate.js"],"names":[],"mappings":"AAAA;;;;;EAKC;AAED;;;;;;;;;EASC;AAED;;;;;;;;;;;;;;;;;;;EAmBC;AAED;;;;;;;;;;;;;;;;;;;EAsBC"}
|
|
@@ -29,8 +29,36 @@ export const animate = {
|
|
|
29
29
|
'highlight-fade': 'highlight ease-in forwards',
|
|
30
30
|
'popup-scale-in': `popupScaleIn ${duration['moderate-01']} ${curve['productive-entrance']}`,
|
|
31
31
|
'popup-scale-out': `popupScaleOut ${duration['fast-02']} ${curve['productive-exit']}`,
|
|
32
|
+
'slide-in-left': `slideInLeft ${duration['moderate-02']} ${curve['productive-entrance']}`,
|
|
33
|
+
'slide-out-left': `slideOutLeft ${duration['moderate-01']} ${curve['productive-exit']}`,
|
|
34
|
+
'slide-in-right': `slideInRight ${duration['moderate-02']} ${curve['productive-entrance']}`,
|
|
35
|
+
'slide-out-right': `slideOutRight ${duration['moderate-01']} ${curve['productive-exit']}`,
|
|
32
36
|
'progress-indeterminate': `progressIndeterminate ${duration['slow-04']} ${curve['productive-entrance']} infinite`,
|
|
33
37
|
'progress-indeterminate-short': `progressIndeterminateShort ${duration['slow-04']} ${curve['expressive-entrance']} ${duration['slow-03']} infinite`
|
|
34
38
|
}
|
|
35
39
|
|
|
36
|
-
export
|
|
40
|
+
export const useWhen = {
|
|
41
|
+
spin: 'Indeterminate circular spinners (loading icons).',
|
|
42
|
+
ping: 'One-off attention ring radiating from a small element (notification dot).',
|
|
43
|
+
pulse: 'Skeleton/placeholder opacity pulse while content loads.',
|
|
44
|
+
bounce: 'Playful attention bounce (scroll-down hints); use sparingly.',
|
|
45
|
+
shimmer: 'Skeleton shimmer sweep while content loads.',
|
|
46
|
+
blink: 'Text caret / terminal cursor blink.',
|
|
47
|
+
'fade-in': 'Content or backdrop appearing in place (no directional origin).',
|
|
48
|
+
'fade-out': 'Content or backdrop leaving in place (pair of fade-in).',
|
|
49
|
+
'slide-down': 'Vertical disclosure expanding (accordion panel, expandable row).',
|
|
50
|
+
'highlight-fade': 'Row/item briefly highlighted after an update (recently changed).',
|
|
51
|
+
'popup-scale-in':
|
|
52
|
+
'Anchored overlays opening (dropdown, popover, tooltip, menu); set --popup-origin.',
|
|
53
|
+
'popup-scale-out': 'Anchored overlays closing (pair of popup-scale-in).',
|
|
54
|
+
'slide-in-left':
|
|
55
|
+
'Left-anchored panel entering (sidebar, navigation drawer). Wrap the v-if region in a Vue Transition with enter-active-class.',
|
|
56
|
+
'slide-out-left':
|
|
57
|
+
'Left-anchored panel leaving (pair of slide-in-left; use as leave-active-class).',
|
|
58
|
+
'slide-in-right': 'Right-anchored panel entering (settings/detail drawer).',
|
|
59
|
+
'slide-out-right': 'Right-anchored panel leaving (pair of slide-in-right).',
|
|
60
|
+
'progress-indeterminate': 'Indeterminate linear progress bar (primary sweep).',
|
|
61
|
+
'progress-indeterminate-short': 'Indeterminate linear progress bar (secondary short sweep).'
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export default { animate, curve, duration, useWhen }
|
|
@@ -31,6 +31,22 @@ export namespace keyframes {
|
|
|
31
31
|
'0%': string;
|
|
32
32
|
'100%': string;
|
|
33
33
|
};
|
|
34
|
+
let slideInLeft: {
|
|
35
|
+
'0%': string;
|
|
36
|
+
'100%': string;
|
|
37
|
+
};
|
|
38
|
+
let slideOutLeft: {
|
|
39
|
+
'0%': string;
|
|
40
|
+
'100%': string;
|
|
41
|
+
};
|
|
42
|
+
let slideInRight: {
|
|
43
|
+
'0%': string;
|
|
44
|
+
'100%': string;
|
|
45
|
+
};
|
|
46
|
+
let slideOutRight: {
|
|
47
|
+
'0%': string;
|
|
48
|
+
'100%': string;
|
|
49
|
+
};
|
|
34
50
|
let progressIndeterminate: {
|
|
35
51
|
'0%': string;
|
|
36
52
|
'60%': string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyframes.d.ts","sourceRoot":"","sources":["keyframes.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keyframes.d.ts","sourceRoot":"","sources":["keyframes.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EA;;;;GAIG;AACH;;;;;;;EAGC"}
|
|
@@ -14,47 +14,63 @@
|
|
|
14
14
|
export const keyframes = {
|
|
15
15
|
fadeIn: {
|
|
16
16
|
'0%': 'opacity: 0',
|
|
17
|
-
'100%': 'opacity: 1'
|
|
17
|
+
'100%': 'opacity: 1'
|
|
18
18
|
},
|
|
19
19
|
fadeOut: {
|
|
20
20
|
'0%': 'opacity: 1',
|
|
21
|
-
'100%': 'opacity: 0'
|
|
21
|
+
'100%': 'opacity: 0'
|
|
22
22
|
},
|
|
23
23
|
slideDown: {
|
|
24
24
|
'0%': 'height: 0',
|
|
25
|
-
'100%': 'height: auto'
|
|
25
|
+
'100%': 'height: auto'
|
|
26
26
|
},
|
|
27
27
|
blink: {
|
|
28
28
|
'0%, 100%': 'opacity: 1',
|
|
29
|
-
'50%': 'opacity: 0'
|
|
29
|
+
'50%': 'opacity: 0'
|
|
30
30
|
},
|
|
31
31
|
highlight: {
|
|
32
32
|
'0%': 'background-color: var(--surface-hover); font-weight: 500',
|
|
33
|
-
'100%': 'background-color: var(--surface-hover); font-weight: 500'
|
|
33
|
+
'100%': 'background-color: var(--surface-hover); font-weight: 500'
|
|
34
34
|
},
|
|
35
35
|
shimmer: {
|
|
36
36
|
'0%': 'background-position: 200% 0',
|
|
37
|
-
'100%': 'background-position: -200% 0'
|
|
37
|
+
'100%': 'background-position: -200% 0'
|
|
38
38
|
},
|
|
39
39
|
popupScaleIn: {
|
|
40
40
|
'0%': 'opacity: 0; transform: scale(0.95)',
|
|
41
|
-
'100%': 'opacity: 1; transform: scale(1)'
|
|
41
|
+
'100%': 'opacity: 1; transform: scale(1)'
|
|
42
42
|
},
|
|
43
43
|
popupScaleOut: {
|
|
44
44
|
'0%': 'opacity: 1; transform: scale(1)',
|
|
45
|
-
'100%': 'opacity: 0; transform: scale(0.95)'
|
|
45
|
+
'100%': 'opacity: 0; transform: scale(0.95)'
|
|
46
|
+
},
|
|
47
|
+
slideInLeft: {
|
|
48
|
+
'0%': 'transform: translateX(-100%)',
|
|
49
|
+
'100%': 'transform: translateX(0)'
|
|
50
|
+
},
|
|
51
|
+
slideOutLeft: {
|
|
52
|
+
'0%': 'transform: translateX(0)',
|
|
53
|
+
'100%': 'transform: translateX(-100%)'
|
|
54
|
+
},
|
|
55
|
+
slideInRight: {
|
|
56
|
+
'0%': 'transform: translateX(100%)',
|
|
57
|
+
'100%': 'transform: translateX(0)'
|
|
58
|
+
},
|
|
59
|
+
slideOutRight: {
|
|
60
|
+
'0%': 'transform: translateX(0)',
|
|
61
|
+
'100%': 'transform: translateX(100%)'
|
|
46
62
|
},
|
|
47
63
|
progressIndeterminate: {
|
|
48
64
|
'0%': 'inset-inline-start: -35%; inset-inline-end: 100%',
|
|
49
65
|
'60%': 'inset-inline-start: 100%; inset-inline-end: -90%',
|
|
50
|
-
'100%': 'inset-inline-start: 100%; inset-inline-end: -90%'
|
|
66
|
+
'100%': 'inset-inline-start: 100%; inset-inline-end: -90%'
|
|
51
67
|
},
|
|
52
68
|
progressIndeterminateShort: {
|
|
53
69
|
'0%': 'inset-inline-start: -200%; inset-inline-end: 100%',
|
|
54
70
|
'60%': 'inset-inline-start: 107%; inset-inline-end: -8%',
|
|
55
|
-
'100%': 'inset-inline-start: 107%; inset-inline-end: -8%'
|
|
56
|
-
}
|
|
57
|
-
}
|
|
71
|
+
'100%': 'inset-inline-start: 107%; inset-inline-end: -8%'
|
|
72
|
+
}
|
|
73
|
+
}
|
|
58
74
|
|
|
59
75
|
/**
|
|
60
76
|
* Utilities that need CSS properties beyond the `animation` shorthand
|
|
@@ -63,7 +79,7 @@ export const keyframes = {
|
|
|
63
79
|
*/
|
|
64
80
|
export const animateExtras = {
|
|
65
81
|
'animate-popup-scale-in': { 'transform-origin': 'var(--popup-origin, center)' },
|
|
66
|
-
'animate-popup-scale-out': { 'transform-origin': 'var(--popup-origin, center)' }
|
|
67
|
-
}
|
|
82
|
+
'animate-popup-scale-out': { 'transform-origin': 'var(--popup-origin, center)' }
|
|
83
|
+
}
|
|
68
84
|
|
|
69
|
-
export default { keyframes, animateExtras }
|
|
85
|
+
export default { keyframes, animateExtras }
|