@nexxtmove/ui 0.0.9 → 0.0.11
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/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexxtmove/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"import": "./dist/index.js"
|
|
9
9
|
},
|
|
10
|
-
"./theme": "./
|
|
10
|
+
"./theme": "./tailwind/nexxtmove.tailwind.theme.css"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
|
-
"dist"
|
|
13
|
+
"dist",
|
|
14
|
+
"tailwind"
|
|
14
15
|
],
|
|
15
16
|
"dependencies": {
|
|
16
17
|
"reka-ui": "^2.7.0"
|
|
@@ -49,7 +50,6 @@
|
|
|
49
50
|
"react-dom": "^19.2.3",
|
|
50
51
|
"remark-frontmatter": "^5.0.0",
|
|
51
52
|
"storybook": "^10.1.11",
|
|
52
|
-
"style-dictionary": "^5.1.1",
|
|
53
53
|
"typescript-eslint": "^8.52.0",
|
|
54
54
|
"vite": "^7.3.0",
|
|
55
55
|
"vite-plugin-dts": "^4.5.4",
|
|
@@ -61,14 +61,12 @@
|
|
|
61
61
|
"scripts": {
|
|
62
62
|
"test": "vitest run",
|
|
63
63
|
"test:dev": "vitest run --reporter=json --reporter=default",
|
|
64
|
-
"build": "vite build
|
|
64
|
+
"build": "vite build",
|
|
65
65
|
"format": "prettier --write .",
|
|
66
66
|
"generate:index": "node --experimental-strip-types ./scripts/generate-index.ts",
|
|
67
67
|
"lint": "eslint .",
|
|
68
68
|
"lint:fix": "eslint . --fix",
|
|
69
69
|
"storybook": "storybook dev -p 6006",
|
|
70
|
-
"storybook:build": "storybook build"
|
|
71
|
-
"sd:dev": "NODE_ENV=development node --watch --experimental-strip-types ./tokens/build-tokens.ts",
|
|
72
|
-
"sd": "node ./tokens/build-tokens.ts"
|
|
70
|
+
"storybook:build": "storybook build"
|
|
73
71
|
}
|
|
74
72
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@layer components {
|
|
6
|
+
.button-primary {
|
|
7
|
+
@apply bg-button-color-bg-primary-default text-button-color-text-primary-default;
|
|
8
|
+
&:hover {
|
|
9
|
+
@media (hover: hover) {
|
|
10
|
+
@apply bg-button-color-bg-primary-hover;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
&:focus-visible {
|
|
14
|
+
@apply bg-button-color-bg-primary-focussed outline-button-color-border-primary-focussed outline outline-solid;
|
|
15
|
+
}
|
|
16
|
+
&:active {
|
|
17
|
+
@apply bg-button-color-bg-primary-selected;
|
|
18
|
+
}
|
|
19
|
+
&:disabled {
|
|
20
|
+
@apply bg-button-color-bg-primary-disabled text-button-color-text-primary-disabled;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.button-secondary {
|
|
25
|
+
@apply bg-button-color-bg-secondary-default text-button-color-text-secondary-default border-button-color-border-secondary-default border border-solid;
|
|
26
|
+
&:hover {
|
|
27
|
+
@media (hover: hover) {
|
|
28
|
+
@apply bg-button-color-bg-secondary-hover border-button-color-border-secondary-hover;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
&:focus-visible {
|
|
32
|
+
@apply bg-button-color-bg-secondary-focussed outline-button-color-border-secondary-focussed outline outline-solid;
|
|
33
|
+
}
|
|
34
|
+
&:active {
|
|
35
|
+
@apply bg-button-color-bg-secondary-selected border-button-color-border-secondary-selected;
|
|
36
|
+
}
|
|
37
|
+
&:disabled {
|
|
38
|
+
@apply bg-button-color-bg-secondary-disabled text-button-color-text-secondary-disabled border-button-color-border-secondary-disabled;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.button {
|
|
43
|
+
@apply px-(--button-padding-x) py-(--button-padding-y) gap-(--button-gap);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
@import "./nexxtmove.tailwind.components.css" layer(components);
|
|
6
|
+
|
|
5
7
|
@theme {
|
|
6
8
|
--color-gray-50: oklch(98.24% 0.00132 286.24288);
|
|
7
9
|
--color-gray-100: oklch(95.747% 0.00455 258.34462);
|
|
@@ -181,4 +183,4 @@
|
|
|
181
183
|
--shadow-md: 0px 0px 48px 10px oklch(26.805% 0.01602 264.26805 / 12%);
|
|
182
184
|
--shadow-lg: 0px 0px 80px 15px oklch(26.805% 0.01602 264.26805 / 16%);
|
|
183
185
|
--shadow-xl: 0px 4px 112px 20px oklch(26.805% 0.01602 264.26805 / 18%);
|
|
184
|
-
}
|
|
186
|
+
}
|