@trackunit/ui-design-tokens 0.0.113 → 0.0.114
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/index.cjs.js +8 -5
- package/index.esm.js +8 -5
- package/package.json +1 -1
- package/src/tokens/zIndex.d.ts +12 -9
package/index.cjs.js
CHANGED
|
@@ -855,16 +855,19 @@ const fontFamily = `'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe
|
|
|
855
855
|
const themeZIndex = {
|
|
856
856
|
hidden: -1,
|
|
857
857
|
default: 1,
|
|
858
|
-
top:
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
858
|
+
top: 30,
|
|
859
|
+
"main-menu-drawer": 40,
|
|
860
|
+
"main-menu": 50,
|
|
861
|
+
overlay: 60,
|
|
862
|
+
popover: 70,
|
|
863
|
+
toast: 80,
|
|
863
864
|
};
|
|
864
865
|
const zIndex = {
|
|
865
866
|
hidden: themeZIndex.hidden,
|
|
866
867
|
default: themeZIndex.default,
|
|
867
868
|
top: themeZIndex.top,
|
|
869
|
+
"main-menu-drawer": themeZIndex["main-menu-drawer"],
|
|
870
|
+
"main-menu": themeZIndex["main-menu"],
|
|
868
871
|
overlay: themeZIndex.overlay,
|
|
869
872
|
popover: themeZIndex.popover,
|
|
870
873
|
toast: themeZIndex.toast,
|
package/index.esm.js
CHANGED
|
@@ -853,16 +853,19 @@ const fontFamily = `'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe
|
|
|
853
853
|
const themeZIndex = {
|
|
854
854
|
hidden: -1,
|
|
855
855
|
default: 1,
|
|
856
|
-
top:
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
856
|
+
top: 30,
|
|
857
|
+
"main-menu-drawer": 40,
|
|
858
|
+
"main-menu": 50,
|
|
859
|
+
overlay: 60,
|
|
860
|
+
popover: 70,
|
|
861
|
+
toast: 80,
|
|
861
862
|
};
|
|
862
863
|
const zIndex = {
|
|
863
864
|
hidden: themeZIndex.hidden,
|
|
864
865
|
default: themeZIndex.default,
|
|
865
866
|
top: themeZIndex.top,
|
|
867
|
+
"main-menu-drawer": themeZIndex["main-menu-drawer"],
|
|
868
|
+
"main-menu": themeZIndex["main-menu"],
|
|
866
869
|
overlay: themeZIndex.overlay,
|
|
867
870
|
popover: themeZIndex.popover,
|
|
868
871
|
toast: themeZIndex.toast,
|
package/package.json
CHANGED
package/src/tokens/zIndex.d.ts
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
export declare const themeZIndex: {
|
|
2
2
|
readonly hidden: -1;
|
|
3
3
|
readonly default: 1;
|
|
4
|
-
readonly top:
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
4
|
+
readonly top: 30;
|
|
5
|
+
readonly "main-menu-drawer": 40;
|
|
6
|
+
readonly "main-menu": 50;
|
|
7
|
+
readonly overlay: 60;
|
|
8
|
+
readonly popover: 70;
|
|
9
|
+
readonly toast: 80;
|
|
9
10
|
};
|
|
10
11
|
export declare const zIndex: {
|
|
11
12
|
readonly hidden: -1;
|
|
12
13
|
readonly default: 1;
|
|
13
|
-
readonly top:
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
14
|
+
readonly top: 30;
|
|
15
|
+
readonly "main-menu-drawer": 40;
|
|
16
|
+
readonly "main-menu": 50;
|
|
17
|
+
readonly overlay: 60;
|
|
18
|
+
readonly popover: 70;
|
|
19
|
+
readonly toast: 80;
|
|
17
20
|
};
|
|
18
21
|
export type ZIndex = typeof zIndex;
|