@texturehq/edges 1.9.0 → 1.10.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/dist/components.manifest.json +19 -19
- package/dist/generated/tailwind-tokens-dark.css +105 -103
- package/dist/generated/tailwind-tokens-light.css +105 -103
- package/dist/generated/viz-runtime.css +89 -89
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +44 -22
- package/dist/index.d.ts +44 -22
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/{server-5Bc5-7Uc.d.cts → server-BwR7EOd8.d.cts} +7 -2
- package/dist/{server-5Bc5-7Uc.d.ts → server-BwR7EOd8.d.ts} +7 -2
- 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/dist/styles/computed.css +1 -1
- package/dist/styles.css +314 -307
- package/dist/utilities.manifest.json +9 -2
- package/package.json +1 -1
- package/scripts/generate-edges-docs.js +2 -0
- package/scripts/generate-viz-runtime.js +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.10.0",
|
|
3
|
+
"generatedAt": "2025-10-22T14:55:00.108Z",
|
|
4
4
|
"categories": {
|
|
5
5
|
"hooks": {
|
|
6
6
|
"description": "React hooks for common functionality like breakpoints, debouncing, local storage, and media queries",
|
|
@@ -33,6 +33,13 @@
|
|
|
33
33
|
"category": "hooks",
|
|
34
34
|
"file": "hooks/useDebounce.ts"
|
|
35
35
|
},
|
|
36
|
+
{
|
|
37
|
+
"name": "useElementSize",
|
|
38
|
+
"type": "function",
|
|
39
|
+
"description": "useElementSize A performant hook that tracks the dimensions of a DOM element using ResizeObserver. Returns a callback ref to attach to the element and its current width/height. Performance optimizations: - Uses ResizeObserver for efficient resize detection - Debounces updates using requestAnimationFrame - Cleans up observer on unmount ```tsx const { ref, width, height } = useElementSize(); return ( <div ref={ref}> Width: {width}px, Height: {height}px </div> ); ```",
|
|
40
|
+
"category": "hooks",
|
|
41
|
+
"file": "hooks/useElementSize.ts"
|
|
42
|
+
},
|
|
36
43
|
{
|
|
37
44
|
"name": "useLocalStorage",
|
|
38
45
|
"type": "function",
|
package/package.json
CHANGED
|
@@ -741,7 +741,9 @@ The theme includes ${Object.keys(colorVars).length} color variables organized by
|
|
|
741
741
|
|
|
742
742
|
### Action Colors
|
|
743
743
|
- \`action-primary\` - Primary actions
|
|
744
|
+
- \`action-brand\` - Brand-focused actions
|
|
744
745
|
- \`action-secondary\` - Secondary actions
|
|
746
|
+
- \`action-default\` - Default gray actions
|
|
745
747
|
- \`action-destructive\` - Destructive actions
|
|
746
748
|
|
|
747
749
|
### Feedback Colors
|
|
@@ -61,9 +61,9 @@ function generateVizRuntime() {
|
|
|
61
61
|
* because Tailwind 4's @theme directive filters them out (similar issue as data-* prefix).
|
|
62
62
|
*
|
|
63
63
|
* AUTO-GENERATED by scripts/generate-viz-runtime.js
|
|
64
|
-
* DO NOT EDIT MANUALLY - Edit
|
|
65
|
-
*
|
|
66
|
-
*
|
|
64
|
+
* DO NOT EDIT MANUALLY - Edit theme-specific viz colors in:
|
|
65
|
+
* - tokens/themes/light.json (light mode viz colors)
|
|
66
|
+
* - tokens/themes/dark.json (dark mode viz colors)
|
|
67
67
|
*/
|
|
68
68
|
|
|
69
69
|
/* Light theme (default) */
|