@texturehq/edges 2.2.4 → 2.2.6
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/dist/{colors-B5VySgyM.d.ts → colors-BR-DX69l.d.ts} +17 -0
- package/dist/{colors-Be1yXUVs.d.cts → colors-DsSW-pdc.d.cts} +17 -0
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/rhf/index.cjs +2 -2
- package/dist/rhf/index.cjs.map +1 -1
- package/dist/rhf/index.d.cts +2 -1
- package/dist/rhf/index.d.ts +2 -1
- package/dist/rhf/index.js +1 -1
- package/dist/rhf/index.js.map +1 -1
- package/dist/server.cjs +2 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/package.json +5 -2
- package/scripts/check-legacy-font-colors.mjs +4 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@texturehq/edges",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.6",
|
|
4
4
|
"author": "Nicholas Brown <nick@texturehq.com>",
|
|
5
5
|
"description": "A shared component library for Texture",
|
|
6
6
|
"type": "module",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"react": "^19.0.0",
|
|
73
73
|
"react-dom": "^19.0.0",
|
|
74
74
|
"react-hook-form": "^7.x",
|
|
75
|
+
"react-map-gl": "^7.1.7",
|
|
75
76
|
"zod": "^3.x || ^4.x"
|
|
76
77
|
},
|
|
77
78
|
"peerDependenciesMeta": {
|
|
@@ -81,6 +82,9 @@
|
|
|
81
82
|
"react-hook-form": {
|
|
82
83
|
"optional": true
|
|
83
84
|
},
|
|
85
|
+
"react-map-gl": {
|
|
86
|
+
"optional": true
|
|
87
|
+
},
|
|
84
88
|
"zod": {
|
|
85
89
|
"optional": true
|
|
86
90
|
}
|
|
@@ -126,7 +130,6 @@
|
|
|
126
130
|
"react-ace": "^14.0.1",
|
|
127
131
|
"react-aria-components": "^1.7.1",
|
|
128
132
|
"react-colorful": "^5.6.1",
|
|
129
|
-
"react-map-gl": "7.1.7",
|
|
130
133
|
"react-stately": "^3.35.0",
|
|
131
134
|
"tailwind-merge": "^3.2.0"
|
|
132
135
|
},
|
|
@@ -36,10 +36,7 @@ const deprecatedPatterns = [
|
|
|
36
36
|
];
|
|
37
37
|
|
|
38
38
|
const extensions = new Set([".ts", ".tsx", ".css", ".md", ".mdx"]);
|
|
39
|
-
const allowlistedFiles = new Set([
|
|
40
|
-
"src/styles/theme-light-override.css",
|
|
41
|
-
"theme.css",
|
|
42
|
-
]);
|
|
39
|
+
const allowlistedFiles = new Set(["src/styles/theme-light-override.css", "theme.css"]);
|
|
43
40
|
|
|
44
41
|
function hasSupportedExtension(path) {
|
|
45
42
|
if (path.endsWith("README.md")) return true;
|
|
@@ -84,7 +81,9 @@ for (const scanRoot of scanRoots) {
|
|
|
84
81
|
}
|
|
85
82
|
|
|
86
83
|
if (violations.length > 0) {
|
|
87
|
-
console.error(
|
|
84
|
+
console.error(
|
|
85
|
+
"Deprecated font color tokens found. Use text-primary/text-secondary/text-inverse/text-disabled instead.\n"
|
|
86
|
+
);
|
|
88
87
|
console.error(violations.join("\n"));
|
|
89
88
|
process.exit(1);
|
|
90
89
|
}
|