@vhyxui/tokens 0.1.0-alpha.1 → 0.1.3-alpha
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.css +9 -1
- package/package.json +7 -7
- package/src/semantic/zindex.css +9 -1
package/index.css
CHANGED
|
@@ -390,11 +390,19 @@
|
|
|
390
390
|
--vhyx-z-hide: -1;
|
|
391
391
|
--vhyx-z-base: 0;
|
|
392
392
|
--vhyx-z-raised: 10;
|
|
393
|
-
--vhyx-z-dropdown: 100;
|
|
394
393
|
--vhyx-z-sticky: 200;
|
|
395
394
|
--vhyx-z-banner: 250;
|
|
396
395
|
--vhyx-z-overlay: 300;
|
|
397
396
|
--vhyx-z-modal: 400;
|
|
397
|
+
/*
|
|
398
|
+
* A dropdown (Select.Content, and any future Combobox/Autocomplete/Menu)
|
|
399
|
+
* is floating overlay content that must render above whatever context it
|
|
400
|
+
* was opened in, including a Dialog it's nested inside of -- the same
|
|
401
|
+
* reasoning --vhyx-z-popover already applies. Sits below popover/toast/
|
|
402
|
+
* tooltip so a genuinely higher-priority overlay (a toast, a tooltip
|
|
403
|
+
* inside the dropdown itself) can still out-rank it.
|
|
404
|
+
*/
|
|
405
|
+
--vhyx-z-dropdown: 420;
|
|
398
406
|
--vhyx-z-popover: 450;
|
|
399
407
|
--vhyx-z-toast: 500;
|
|
400
408
|
--vhyx-z-tooltip: 550;
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vhyxui/tokens",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3-alpha",
|
|
4
4
|
"description": "CSS design tokens for VhyxUI — zero JavaScript, zero build step",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"sync": "node scripts/sync-bundle.js"
|
|
8
|
+
},
|
|
6
9
|
"exports": {
|
|
7
|
-
".":
|
|
10
|
+
".": "./index.css",
|
|
8
11
|
"./index.css": "./index.css",
|
|
9
12
|
"./reset.css": "./reset.css",
|
|
10
|
-
"./dark.css":
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"sync": "node scripts/sync-bundle.js"
|
|
13
|
+
"./dark.css": "./src/themes/dark.css"
|
|
14
14
|
}
|
|
15
|
-
}
|
|
15
|
+
}
|
package/src/semantic/zindex.css
CHANGED
|
@@ -2,11 +2,19 @@
|
|
|
2
2
|
--vhyx-z-hide: -1;
|
|
3
3
|
--vhyx-z-base: 0;
|
|
4
4
|
--vhyx-z-raised: 10;
|
|
5
|
-
--vhyx-z-dropdown: 100;
|
|
6
5
|
--vhyx-z-sticky: 200;
|
|
7
6
|
--vhyx-z-banner: 250;
|
|
8
7
|
--vhyx-z-overlay: 300;
|
|
9
8
|
--vhyx-z-modal: 400;
|
|
9
|
+
/*
|
|
10
|
+
* A dropdown (Select.Content, and any future Combobox/Autocomplete/Menu)
|
|
11
|
+
* is floating overlay content that must render above whatever context it
|
|
12
|
+
* was opened in, including a Dialog it's nested inside of -- the same
|
|
13
|
+
* reasoning --vhyx-z-popover already applies. Sits below popover/toast/
|
|
14
|
+
* tooltip so a genuinely higher-priority overlay (a toast, a tooltip
|
|
15
|
+
* inside the dropdown itself) can still out-rank it.
|
|
16
|
+
*/
|
|
17
|
+
--vhyx-z-dropdown: 420;
|
|
10
18
|
--vhyx-z-popover: 450;
|
|
11
19
|
--vhyx-z-toast: 500;
|
|
12
20
|
--vhyx-z-tooltip: 550;
|