@nvidia-elements/themes 0.0.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/CHANGELOG.md +0 -0
- package/README.md +35 -0
- package/dist/bundles/index.css +6 -0
- package/dist/compact.css +1 -0
- package/dist/compact.js +6 -0
- package/dist/compact.json +5 -0
- package/dist/custom-elements-jsx.d.ts +76 -0
- package/dist/custom-elements-vue.d.ts +15 -0
- package/dist/custom-elements.json +82 -0
- package/dist/dark.css +1 -0
- package/dist/dark.js +388 -0
- package/dist/dark.json +387 -0
- package/dist/data.css-vars.json +4017 -0
- package/dist/data.snippets.json +1 -0
- package/dist/debug.css +1 -0
- package/dist/debug.js +7 -0
- package/dist/debug.json +6 -0
- package/dist/elements.css +1 -0
- package/dist/elements.json +550 -0
- package/dist/fonts/LICENSE.md +92 -0
- package/dist/fonts/inter.css +20 -0
- package/dist/fonts/inter.woff2 +0 -0
- package/dist/high-contrast.css +1 -0
- package/dist/high-contrast.js +65 -0
- package/dist/high-contrast.json +64 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.examples.js +6 -0
- package/dist/index.examples.js.map +1 -0
- package/dist/index.examples.json +51 -0
- package/dist/index.js +551 -0
- package/dist/index.js.map +1 -0
- package/dist/index.json +550 -0
- package/dist/index.metadata.json +2966 -0
- package/dist/reduced-motion.css +1 -0
- package/dist/reduced-motion.js +10 -0
- package/dist/reduced-motion.json +9 -0
- package/dist/schema.json +586 -0
- package/package.json +185 -0
package/package.json
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nvidia-elements/themes",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"release": {
|
|
5
|
+
"extends": "../../release.config.js"
|
|
6
|
+
},
|
|
7
|
+
"description": "Themes for the Elements design system, providing comprehensive color palettes, typography, and spacing.",
|
|
8
|
+
"homepage": "https://NVIDIA.github.io/elements/",
|
|
9
|
+
"customElements": "dist/custom-elements.json",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/NVIDIA/elements.git"
|
|
13
|
+
},
|
|
14
|
+
"type": "module",
|
|
15
|
+
"contributes": {
|
|
16
|
+
"cssVars": {
|
|
17
|
+
"customData": [
|
|
18
|
+
"./dist/data.css-vars.json"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"README.md",
|
|
24
|
+
"CHANGELOG.md",
|
|
25
|
+
"package.json",
|
|
26
|
+
"dist/**/*"
|
|
27
|
+
],
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"stylelint": "17.4.0",
|
|
30
|
+
"stylelint-config-standard": "40.0.0",
|
|
31
|
+
"cssnano": "7.1.1",
|
|
32
|
+
"glob": "13.0.6",
|
|
33
|
+
"lit": "^3.3.2",
|
|
34
|
+
"postcss": "8.5.6",
|
|
35
|
+
"publint": "0.3.15",
|
|
36
|
+
"style-dictionary": "4.3.0",
|
|
37
|
+
"typescript": "6.0.2",
|
|
38
|
+
"vite": "8.0.0",
|
|
39
|
+
"vitest": "4.1.0",
|
|
40
|
+
"@internals/vite": "0.0.0"
|
|
41
|
+
},
|
|
42
|
+
"exports": {
|
|
43
|
+
"./package.json": "./package.json",
|
|
44
|
+
"./CHANGELOG.md": "./CHANGELOG.md",
|
|
45
|
+
"./*.examples.json": "./dist/*.examples.json",
|
|
46
|
+
".": {
|
|
47
|
+
"types": "./dist/index.d.ts",
|
|
48
|
+
"default": "./dist/index.js"
|
|
49
|
+
},
|
|
50
|
+
"./index.js": {
|
|
51
|
+
"types": "./dist/index.d.ts",
|
|
52
|
+
"default": "./dist/index.js"
|
|
53
|
+
},
|
|
54
|
+
"./data.css-vars.json": "./dist/data.css-vars.json",
|
|
55
|
+
"./fonts/*": "./dist/fonts/*",
|
|
56
|
+
"./bundles/*": "./dist/bundles/*",
|
|
57
|
+
"./*": "./dist/*"
|
|
58
|
+
},
|
|
59
|
+
"wireit": {
|
|
60
|
+
"ci": {
|
|
61
|
+
"dependencies": [
|
|
62
|
+
"build",
|
|
63
|
+
"publint",
|
|
64
|
+
"test:visual"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"dev": {
|
|
68
|
+
"command": "NODE_ENV=development vite build --watch",
|
|
69
|
+
"service": true,
|
|
70
|
+
"dependencies": [
|
|
71
|
+
"build"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"publint": {
|
|
75
|
+
"dependencies": [
|
|
76
|
+
"build"
|
|
77
|
+
],
|
|
78
|
+
"command": "publint",
|
|
79
|
+
"files": [
|
|
80
|
+
"package.json"
|
|
81
|
+
],
|
|
82
|
+
"output": []
|
|
83
|
+
},
|
|
84
|
+
"build": {
|
|
85
|
+
"dependencies": [
|
|
86
|
+
"build:css-var-completions",
|
|
87
|
+
"build:styledictionary"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"build:styledictionary": {
|
|
91
|
+
"clean": false,
|
|
92
|
+
"command": "NODE_ENV=production vite build && node ./build/style-dictionary.config.js && node ./build/style-dictionary.alias.js && node ./build/style-dictionary.minify.js && node ./build/fonts.js",
|
|
93
|
+
"files": [
|
|
94
|
+
"src/**",
|
|
95
|
+
"!src/**/*.test.lighthouse.ts",
|
|
96
|
+
"!src/**/*.test.visual.ts",
|
|
97
|
+
"build/style-dictionary.config.js",
|
|
98
|
+
"build/style-dictionary.alias.js",
|
|
99
|
+
"build/style-dictionary.minify.js",
|
|
100
|
+
"package.json",
|
|
101
|
+
"vite.config.ts"
|
|
102
|
+
],
|
|
103
|
+
"output": [
|
|
104
|
+
"dist/",
|
|
105
|
+
"!dist/data.css-vars.json"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"build:css-var-completions": {
|
|
109
|
+
"command": "node ./build/css-var-completions.js",
|
|
110
|
+
"files": [
|
|
111
|
+
"build/css-var-completions.js",
|
|
112
|
+
"src/**",
|
|
113
|
+
"!src/**/*.test.lighthouse.ts",
|
|
114
|
+
"!src/**/*.test.visual.ts"
|
|
115
|
+
],
|
|
116
|
+
"output": [
|
|
117
|
+
"dist/data.css-vars.json"
|
|
118
|
+
],
|
|
119
|
+
"dependencies": [
|
|
120
|
+
"build:styledictionary"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"lint": {
|
|
124
|
+
"dependencies": [
|
|
125
|
+
"lint:style"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"lint:style": {
|
|
129
|
+
"command": "stylelint 'src/**/*.css' --config=../../stylelint.config.mjs",
|
|
130
|
+
"files": [
|
|
131
|
+
"src/**/*.css",
|
|
132
|
+
"../../stylelint.config.mjs"
|
|
133
|
+
],
|
|
134
|
+
"output": []
|
|
135
|
+
},
|
|
136
|
+
"test:lighthouse": {
|
|
137
|
+
"command": "playwright-lock 'vitest run --config=vitest.lighthouse.ts'",
|
|
138
|
+
"files": [
|
|
139
|
+
"src/index.test.lighthouse.ts",
|
|
140
|
+
"src/**/*.test.lighthouse.ts",
|
|
141
|
+
"vitest.lighthouse.html",
|
|
142
|
+
"vitest.lighthouse.ts"
|
|
143
|
+
],
|
|
144
|
+
"output": [
|
|
145
|
+
".lighthouse"
|
|
146
|
+
],
|
|
147
|
+
"dependencies": [
|
|
148
|
+
"build",
|
|
149
|
+
"../internals/vite:ci"
|
|
150
|
+
],
|
|
151
|
+
"env": {
|
|
152
|
+
"NODE_ENV": "production"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"test:visual": {
|
|
156
|
+
"command": "vitest run --config=vitest.visual.ts",
|
|
157
|
+
"clean": false,
|
|
158
|
+
"files": [
|
|
159
|
+
"dist/**/*.css",
|
|
160
|
+
"src/index.test.visual.ts",
|
|
161
|
+
"src/**/*.test.visual.ts",
|
|
162
|
+
"vitest.visual.html",
|
|
163
|
+
"vitest.visual.ts"
|
|
164
|
+
],
|
|
165
|
+
"output": [
|
|
166
|
+
".visual/*.png"
|
|
167
|
+
],
|
|
168
|
+
"dependencies": [
|
|
169
|
+
"../internals/vite:ci",
|
|
170
|
+
{
|
|
171
|
+
"script": "build",
|
|
172
|
+
"cascade": false
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"scripts": {
|
|
178
|
+
"ci": "wireit",
|
|
179
|
+
"build": "wireit",
|
|
180
|
+
"dev": "wireit",
|
|
181
|
+
"lint": "wireit",
|
|
182
|
+
"test:lighthouse": "wireit",
|
|
183
|
+
"test:visual": "wireit"
|
|
184
|
+
}
|
|
185
|
+
}
|