@wc-kit/core 0.0.1 → 0.0.3
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/README.md +56 -0
- package/dist/index.cjs.js +871 -277
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +309 -16
- package/dist/index.es.js +3737 -1603
- package/dist/index.es.js.map +1 -1
- package/package.json +26 -10
- package/src/tokens/tokens.css +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wc-kit/core",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"description": "Framework-agnostic Web Components UI library built with Lit - 38 components, design tokens, dark mode and i18n",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"component-library",
|
|
7
|
+
"components",
|
|
8
|
+
"custom-elements",
|
|
9
|
+
"design-system",
|
|
10
|
+
"lit",
|
|
11
|
+
"ui",
|
|
12
|
+
"wc",
|
|
13
|
+
"wc-kit",
|
|
14
|
+
"web-components"
|
|
15
|
+
],
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/xianmua/wui.git",
|
|
19
|
+
"directory": "packages/core"
|
|
20
|
+
},
|
|
5
21
|
"files": [
|
|
6
22
|
"dist",
|
|
7
23
|
"src/tokens/tokens.css",
|
|
@@ -26,13 +42,6 @@
|
|
|
26
42
|
"publishConfig": {
|
|
27
43
|
"access": "public"
|
|
28
44
|
},
|
|
29
|
-
"scripts": {
|
|
30
|
-
"build": "vite build",
|
|
31
|
-
"dev": "vite build --watch",
|
|
32
|
-
"playground": "vite --config vite.playground.config.ts",
|
|
33
|
-
"test": "vitest run",
|
|
34
|
-
"test:watch": "vitest"
|
|
35
|
-
},
|
|
36
45
|
"dependencies": {
|
|
37
46
|
"lit": "^3.3.0"
|
|
38
47
|
},
|
|
@@ -42,5 +51,12 @@
|
|
|
42
51
|
"vite": "^7.0.0",
|
|
43
52
|
"vite-plugin-dts": "^4.5.0",
|
|
44
53
|
"vitest": "^3.2.0"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "vite build",
|
|
57
|
+
"dev": "vite build --watch",
|
|
58
|
+
"playground": "vite --config vite.playground.config.ts",
|
|
59
|
+
"test": "vitest run",
|
|
60
|
+
"test:watch": "vitest"
|
|
45
61
|
}
|
|
46
|
-
}
|
|
62
|
+
}
|
package/src/tokens/tokens.css
CHANGED
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
* primitive:z-index 分层(避免组件间互相覆盖失控)
|
|
125
125
|
* ============================================================ */
|
|
126
126
|
--wc-z-index-dropdown: 1000;
|
|
127
|
+
--wc-z-index-fab: 1050;
|
|
127
128
|
--wc-z-index-sticky: 1100;
|
|
128
129
|
--wc-z-index-modal: 1200;
|
|
129
130
|
--wc-z-index-drawer: 1300;
|