@aziontech/theme 4.0.0 → 4.2.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 +31 -0
- package/dist/v4/globals.scss +31 -0
- package/package.json +1 -1
- package/src/scripts/build-tokens.mjs +4 -0
- 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/src/tokens/semantic/z-indices.data.d.ts +38 -0
- package/src/tokens/semantic/z-indices.data.d.ts.map +1 -0
- package/src/tokens/semantic/z-indices.data.js +30 -0
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;
|
|
@@ -661,6 +669,9 @@
|
|
|
661
669
|
--spacing-sm: 0.75rem;
|
|
662
670
|
--spacing-xs: 0.5rem;
|
|
663
671
|
--spacing-xxs: 0.25rem;
|
|
672
|
+
--z-input-field: 1;
|
|
673
|
+
--z-input-popup: 10;
|
|
674
|
+
--z-input-overlay: 1100;
|
|
664
675
|
--text-big-number-md-font-size: 1.25rem;
|
|
665
676
|
--text-big-number-md-line-height: 1.25;
|
|
666
677
|
--text-big-number-md-font-weight: 400;
|
|
@@ -979,6 +990,26 @@
|
|
|
979
990
|
100% { opacity: 0; transform: scale(0.95); }
|
|
980
991
|
}
|
|
981
992
|
|
|
993
|
+
@keyframes slideInLeft {
|
|
994
|
+
0% { transform: translateX(-100%); }
|
|
995
|
+
100% { transform: translateX(0); }
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
@keyframes slideOutLeft {
|
|
999
|
+
0% { transform: translateX(0); }
|
|
1000
|
+
100% { transform: translateX(-100%); }
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
@keyframes slideInRight {
|
|
1004
|
+
0% { transform: translateX(100%); }
|
|
1005
|
+
100% { transform: translateX(0); }
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
@keyframes slideOutRight {
|
|
1009
|
+
0% { transform: translateX(0); }
|
|
1010
|
+
100% { transform: translateX(100%); }
|
|
1011
|
+
}
|
|
1012
|
+
|
|
982
1013
|
@keyframes progressIndeterminate {
|
|
983
1014
|
0% { inset-inline-start: -35%; inset-inline-end: 100%; }
|
|
984
1015
|
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;
|
|
@@ -661,6 +669,9 @@
|
|
|
661
669
|
--spacing-sm: 0.75rem;
|
|
662
670
|
--spacing-xs: 0.5rem;
|
|
663
671
|
--spacing-xxs: 0.25rem;
|
|
672
|
+
--z-input-field: 1;
|
|
673
|
+
--z-input-popup: 10;
|
|
674
|
+
--z-input-overlay: 1100;
|
|
664
675
|
--text-big-number-md-font-size: 1.25rem;
|
|
665
676
|
--text-big-number-md-line-height: 1.25;
|
|
666
677
|
--text-big-number-md-font-weight: 400;
|
|
@@ -979,6 +990,26 @@
|
|
|
979
990
|
100% { opacity: 0; transform: scale(0.95); }
|
|
980
991
|
}
|
|
981
992
|
|
|
993
|
+
@keyframes slideInLeft {
|
|
994
|
+
0% { transform: translateX(-100%); }
|
|
995
|
+
100% { transform: translateX(0); }
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
@keyframes slideOutLeft {
|
|
999
|
+
0% { transform: translateX(0); }
|
|
1000
|
+
100% { transform: translateX(-100%); }
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
@keyframes slideInRight {
|
|
1004
|
+
0% { transform: translateX(100%); }
|
|
1005
|
+
100% { transform: translateX(0); }
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
@keyframes slideOutRight {
|
|
1009
|
+
0% { transform: translateX(0); }
|
|
1010
|
+
100% { transform: translateX(100%); }
|
|
1011
|
+
}
|
|
1012
|
+
|
|
982
1013
|
@keyframes progressIndeterminate {
|
|
983
1014
|
0% { inset-inline-start: -35%; inset-inline-end: 100%; }
|
|
984
1015
|
60% { inset-inline-start: 100%; inset-inline-end: -90%; }
|
package/package.json
CHANGED
|
@@ -34,6 +34,7 @@ import { compileThemeCss, compileThemeVars } from './compile-theme.js';
|
|
|
34
34
|
import { containersData } from '../tokens/semantic/containers.data.js';
|
|
35
35
|
import { spacingsData } from '../tokens/semantic/spacings.data.js';
|
|
36
36
|
import { textsData } from '../tokens/semantic/texts.data.js';
|
|
37
|
+
import { zIndicesData } from '../tokens/semantic/z-indices.data.js';
|
|
37
38
|
|
|
38
39
|
const BREAKPOINT_ORDER = ['sm', 'md', 'lg', 'xl', '2xl'];
|
|
39
40
|
|
|
@@ -91,6 +92,7 @@ const buildFlatModel = () => ({
|
|
|
91
92
|
primitives: flattenPrimitives(),
|
|
92
93
|
containers: flattenSingleValue(containersData, (k) => `--container-${k}`),
|
|
93
94
|
spacings: flattenSingleValue(spacingsData, (k) => `--${k}`),
|
|
95
|
+
zIndices: flattenSingleValue(zIndicesData, (k) => `--${k}`),
|
|
94
96
|
texts: flattenBundle(textsData),
|
|
95
97
|
});
|
|
96
98
|
|
|
@@ -295,6 +297,7 @@ const emitCssV4 = () => {
|
|
|
295
297
|
...rootPrimitiveVars,
|
|
296
298
|
...(m.containers._ || {}),
|
|
297
299
|
...(m.spacings._ || {}),
|
|
300
|
+
...(m.zIndices._ || {}),
|
|
298
301
|
...(m.texts._ || {}),
|
|
299
302
|
};
|
|
300
303
|
|
|
@@ -303,6 +306,7 @@ const emitCssV4 = () => {
|
|
|
303
306
|
const merged = {
|
|
304
307
|
...(m.containers[bp] || {}),
|
|
305
308
|
...(m.spacings[bp] || {}),
|
|
309
|
+
...(m.zIndices[bp] || {}),
|
|
306
310
|
...(m.texts[bp] || {}),
|
|
307
311
|
};
|
|
308
312
|
if (Object.keys(merged).length === 0) continue;
|
|
@@ -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 }
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Declarative z-index tokens.
|
|
3
|
+
*
|
|
4
|
+
* Intra-input stacking:
|
|
5
|
+
*
|
|
6
|
+
* - `z-input-field` → native field / interactive foreground (e.g. an
|
|
7
|
+
* `<input>` or trigger button) sitting above the
|
|
8
|
+
* input's own background surface, icons, and
|
|
9
|
+
* adornments so keyboard/mouse focus is never
|
|
10
|
+
* hijacked by a decorative sibling.
|
|
11
|
+
* - `z-input-popup` → inline (non-teleported) overlays anchored to the
|
|
12
|
+
* input — dropdown menus, option lists, popovers —
|
|
13
|
+
* that must sit above surrounding form content but
|
|
14
|
+
* within the current stacking context.
|
|
15
|
+
* - `z-input-overlay` → teleported overlays (rendered under `<body>` via
|
|
16
|
+
* `<Teleport>`) that must clear application chrome
|
|
17
|
+
* such as drawers, modals, and fixed headers.
|
|
18
|
+
*
|
|
19
|
+
* Values are intentionally small and well-spaced to make future additions
|
|
20
|
+
* obvious. Consume as `z-[var(--z-input-*)]` in components — do not
|
|
21
|
+
* introduce ad-hoc numeric z-index in input `.vue` files.
|
|
22
|
+
*/
|
|
23
|
+
export const zIndicesData: {
|
|
24
|
+
'z-input-field': {
|
|
25
|
+
_: string;
|
|
26
|
+
};
|
|
27
|
+
'z-input-popup': {
|
|
28
|
+
_: string;
|
|
29
|
+
};
|
|
30
|
+
'z-input-overlay': {
|
|
31
|
+
_: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
declare namespace _default {
|
|
35
|
+
export { zIndicesData };
|
|
36
|
+
}
|
|
37
|
+
export default _default;
|
|
38
|
+
//# sourceMappingURL=z-indices.data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-indices.data.d.ts","sourceRoot":"","sources":["z-indices.data.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;;;;;;;EAIE"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Declarative z-index tokens.
|
|
3
|
+
*
|
|
4
|
+
* Intra-input stacking:
|
|
5
|
+
*
|
|
6
|
+
* - `z-input-field` → native field / interactive foreground (e.g. an
|
|
7
|
+
* `<input>` or trigger button) sitting above the
|
|
8
|
+
* input's own background surface, icons, and
|
|
9
|
+
* adornments so keyboard/mouse focus is never
|
|
10
|
+
* hijacked by a decorative sibling.
|
|
11
|
+
* - `z-input-popup` → inline (non-teleported) overlays anchored to the
|
|
12
|
+
* input — dropdown menus, option lists, popovers —
|
|
13
|
+
* that must sit above surrounding form content but
|
|
14
|
+
* within the current stacking context.
|
|
15
|
+
* - `z-input-overlay` → teleported overlays (rendered under `<body>` via
|
|
16
|
+
* `<Teleport>`) that must clear application chrome
|
|
17
|
+
* such as drawers, modals, and fixed headers.
|
|
18
|
+
*
|
|
19
|
+
* Values are intentionally small and well-spaced to make future additions
|
|
20
|
+
* obvious. Consume as `z-[var(--z-input-*)]` in components — do not
|
|
21
|
+
* introduce ad-hoc numeric z-index in input `.vue` files.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
export const zIndicesData = {
|
|
25
|
+
'z-input-field': { _: '1' },
|
|
26
|
+
'z-input-popup': { _: '10' },
|
|
27
|
+
'z-input-overlay': { _: '1100' },
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export default { zIndicesData };
|