@naculus/connect-appkit-ui 0.1.8 → 0.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/README.md +4 -4
- package/dist/index.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +696 -0
- package/dist/index.d.ts +696 -0
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +2 -0
- package/dist/styles/tokens.css +44 -0
- package/dist/styles/utilities.css +14 -0
- package/package.json +15 -9
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--background: 0 0% 100%;
|
|
3
|
+
--foreground: 222.2 84% 4.9%;
|
|
4
|
+
--card: 0 0% 100%;
|
|
5
|
+
--card-foreground: 222.2 84% 4.9%;
|
|
6
|
+
--popover: 0 0% 100%;
|
|
7
|
+
--popover-foreground: 222.2 84% 4.9%;
|
|
8
|
+
--primary: 222.2 47.4% 11.2%;
|
|
9
|
+
--primary-foreground: 210 40% 98%;
|
|
10
|
+
--secondary: 210 40% 96.1%;
|
|
11
|
+
--secondary-foreground: 222.2 47.4% 11.2%;
|
|
12
|
+
--muted: 210 40% 96.1%;
|
|
13
|
+
--muted-foreground: 215.4 16.3% 46.9%;
|
|
14
|
+
--accent: 210 40% 96.1%;
|
|
15
|
+
--accent-foreground: 222.2 47.4% 11.2%;
|
|
16
|
+
--destructive: 0 84.2% 60.2%;
|
|
17
|
+
--destructive-foreground: 210 40% 98%;
|
|
18
|
+
--border: 214.3 31.8% 91.4%;
|
|
19
|
+
--input: 214.3 31.8% 91.4%;
|
|
20
|
+
--ring: 222.2 84% 4.9%;
|
|
21
|
+
--radius: 0.5rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.dark {
|
|
25
|
+
--background: 222.2 84% 4.9%;
|
|
26
|
+
--foreground: 210 40% 98%;
|
|
27
|
+
--card: 222.2 84% 4.9%;
|
|
28
|
+
--card-foreground: 210 40% 98%;
|
|
29
|
+
--popover: 222.2 84% 4.9%;
|
|
30
|
+
--popover-foreground: 210 40% 98%;
|
|
31
|
+
--primary: 210 40% 98%;
|
|
32
|
+
--primary-foreground: 222.2 47.4% 11.2%;
|
|
33
|
+
--secondary: 217.2 32.6% 17.5%;
|
|
34
|
+
--secondary-foreground: 210 40% 98%;
|
|
35
|
+
--muted: 217.2 32.6% 17.5%;
|
|
36
|
+
--muted-foreground: 215 20.2% 65.1%;
|
|
37
|
+
--accent: 217.2 32.6% 17.5%;
|
|
38
|
+
--accent-foreground: 210 40% 98%;
|
|
39
|
+
--destructive: 0 62.8% 30.6%;
|
|
40
|
+
--destructive-foreground: 210 40% 98%;
|
|
41
|
+
--border: 217.2 32.6% 17.5%;
|
|
42
|
+
--input: 217.2 32.6% 17.5%;
|
|
43
|
+
--ring: 212.7 26.8% 83.9%;
|
|
44
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* Framework-neutral utility layer. Keep this file dependency-free so it can
|
|
2
|
+
be imported from plain CSS, React, Vue, or Web Components. */
|
|
3
|
+
:where(*, *::before, *::after) {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:where(button, input, textarea, select) {
|
|
8
|
+
font: inherit;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:where(a) {
|
|
12
|
+
color: inherit;
|
|
13
|
+
text-decoration: inherit;
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naculus/connect-appkit-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "./dist/index.
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.js",
|
|
6
7
|
"types": "./dist/index.d.ts",
|
|
7
8
|
"exports": {
|
|
8
9
|
".": {
|
|
9
10
|
"types": "./dist/index.d.ts",
|
|
10
|
-
"
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
11
13
|
},
|
|
12
14
|
"./styles": {
|
|
13
15
|
"default": "./dist/styles/index.css"
|
|
@@ -37,21 +39,25 @@
|
|
|
37
39
|
"tailwind-merge": "^3.0.0"
|
|
38
40
|
},
|
|
39
41
|
"peerDependencies": {
|
|
40
|
-
"@naculus/connect-appkit-react": "^0.
|
|
41
|
-
"@naculus/connect-core": "^0.
|
|
42
|
+
"@naculus/connect-appkit-react": "^0.2.0",
|
|
43
|
+
"@naculus/connect-core": "^0.2.0",
|
|
42
44
|
"react": "^18.0.0 || ^19.0.0",
|
|
43
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
45
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
46
|
+
"@naculus/connect-appkit-core": "^0.2.0"
|
|
44
47
|
},
|
|
45
48
|
"devDependencies": {
|
|
46
|
-
"@naculus/connect-core": "^0.
|
|
49
|
+
"@naculus/connect-core": "^0.2.0",
|
|
50
|
+
"@testing-library/react": "^16.3.0",
|
|
47
51
|
"@types/qrcode": "^1.5.6",
|
|
48
52
|
"@types/react": "^19.0.0",
|
|
49
53
|
"@types/react-dom": "^19.0.0",
|
|
54
|
+
"jsdom": "^25.0.0 || ^26.0.0 || ^28.0.0",
|
|
50
55
|
"react": "^19.0.0",
|
|
51
56
|
"react-dom": "^19.0.0",
|
|
52
57
|
"tsup": "^8.3.6",
|
|
53
58
|
"typescript": "^5.9.3",
|
|
54
|
-
"@naculus/connect-appkit-
|
|
59
|
+
"@naculus/connect-appkit-core": "0.2.0",
|
|
60
|
+
"@naculus/connect-appkit-react": "0.2.0"
|
|
55
61
|
},
|
|
56
62
|
"publishConfig": {
|
|
57
63
|
"access": "public",
|
|
@@ -75,7 +81,7 @@
|
|
|
75
81
|
"css"
|
|
76
82
|
],
|
|
77
83
|
"scripts": {
|
|
78
|
-
"build": "tsup",
|
|
84
|
+
"build": "tsup && node scripts/copy-assets.mjs",
|
|
79
85
|
"clean": "rm -rf dist",
|
|
80
86
|
"test:run": "vitest run",
|
|
81
87
|
"typecheck": "tsc --noEmit"
|