@texturehq/edges 1.19.0 → 1.19.2
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 +5 -5
- package/dist/form/index.cjs +1 -1
- package/dist/form/index.cjs.map +1 -1
- package/dist/form/index.js +1 -1
- package/dist/form/index.js.map +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -16
- package/dist/index.d.ts +47 -16
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/rhf/index.cjs.map +1 -1
- package/dist/rhf/index.js.map +1 -1
- package/dist/server.cjs +1 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/styles.css +45 -8
- package/dist/utilities.manifest.json +2 -2
- package/package.json +174 -172
package/dist/styles.css
CHANGED
|
@@ -1575,6 +1575,9 @@
|
|
|
1575
1575
|
.mr-2 {
|
|
1576
1576
|
margin-right: var(--spacing-2);
|
|
1577
1577
|
}
|
|
1578
|
+
.mb-0\.5 {
|
|
1579
|
+
margin-bottom: calc(var(--spacing) * 0.5);
|
|
1580
|
+
}
|
|
1578
1581
|
.mb-1 {
|
|
1579
1582
|
margin-bottom: var(--spacing-1);
|
|
1580
1583
|
}
|
|
@@ -1812,6 +1815,9 @@
|
|
|
1812
1815
|
.min-h-\[20px\] {
|
|
1813
1816
|
min-height: 20px;
|
|
1814
1817
|
}
|
|
1818
|
+
.min-h-\[32px\] {
|
|
1819
|
+
min-height: 32px;
|
|
1820
|
+
}
|
|
1815
1821
|
.min-h-\[44px\] {
|
|
1816
1822
|
min-height: 44px;
|
|
1817
1823
|
}
|
|
@@ -1827,6 +1833,9 @@
|
|
|
1827
1833
|
.min-h-\[280px\] {
|
|
1828
1834
|
min-height: 280px;
|
|
1829
1835
|
}
|
|
1836
|
+
.min-h-\[300px\] {
|
|
1837
|
+
min-height: 300px;
|
|
1838
|
+
}
|
|
1830
1839
|
.min-h-\[320px\] {
|
|
1831
1840
|
min-height: 320px;
|
|
1832
1841
|
}
|
|
@@ -2081,6 +2090,9 @@
|
|
|
2081
2090
|
.min-w-\[180px\] {
|
|
2082
2091
|
min-width: 180px;
|
|
2083
2092
|
}
|
|
2093
|
+
.min-w-\[200px\] {
|
|
2094
|
+
min-width: 200px;
|
|
2095
|
+
}
|
|
2084
2096
|
.min-w-\[208px\] {
|
|
2085
2097
|
min-width: 208px;
|
|
2086
2098
|
}
|
|
@@ -2312,6 +2324,9 @@
|
|
|
2312
2324
|
.grid-cols-\[1fr_auto\] {
|
|
2313
2325
|
grid-template-columns: 1fr auto;
|
|
2314
2326
|
}
|
|
2327
|
+
.grid-cols-\[1fr_auto_auto\] {
|
|
2328
|
+
grid-template-columns: 1fr auto auto;
|
|
2329
|
+
}
|
|
2315
2330
|
.grid-cols-\[3rem_1fr\] {
|
|
2316
2331
|
grid-template-columns: 3rem 1fr;
|
|
2317
2332
|
}
|
|
@@ -2498,6 +2513,10 @@
|
|
|
2498
2513
|
-moz-column-gap: var(--spacing-0);
|
|
2499
2514
|
column-gap: var(--spacing-0);
|
|
2500
2515
|
}
|
|
2516
|
+
.gap-x-1 {
|
|
2517
|
+
-moz-column-gap: var(--spacing-1);
|
|
2518
|
+
column-gap: var(--spacing-1);
|
|
2519
|
+
}
|
|
2501
2520
|
.gap-x-2 {
|
|
2502
2521
|
-moz-column-gap: var(--spacing-2);
|
|
2503
2522
|
column-gap: var(--spacing-2);
|
|
@@ -2610,9 +2629,6 @@
|
|
|
2610
2629
|
.overflow-y-auto {
|
|
2611
2630
|
overflow-y: auto;
|
|
2612
2631
|
}
|
|
2613
|
-
.overflow-y-hidden {
|
|
2614
|
-
overflow-y: hidden;
|
|
2615
|
-
}
|
|
2616
2632
|
.overscroll-contain {
|
|
2617
2633
|
overscroll-behavior: contain;
|
|
2618
2634
|
}
|
|
@@ -3996,6 +4012,9 @@
|
|
|
3996
4012
|
text-decoration-color: color-mix(in oklab, var(--color-text-link-default) 30%, transparent);
|
|
3997
4013
|
}
|
|
3998
4014
|
}
|
|
4015
|
+
.decoration-dotted {
|
|
4016
|
+
text-decoration-style: dotted;
|
|
4017
|
+
}
|
|
3999
4018
|
.decoration-1 {
|
|
4000
4019
|
text-decoration-thickness: 1px;
|
|
4001
4020
|
}
|
|
@@ -4127,6 +4146,9 @@
|
|
|
4127
4146
|
--tw-ring-color: color-mix(in oklab, var(--color-black) 5%, transparent);
|
|
4128
4147
|
}
|
|
4129
4148
|
}
|
|
4149
|
+
.ring-border-default {
|
|
4150
|
+
--tw-ring-color: var(--color-border-default);
|
|
4151
|
+
}
|
|
4130
4152
|
.ring-border-muted {
|
|
4131
4153
|
--tw-ring-color: var(--color-border-muted);
|
|
4132
4154
|
}
|
|
@@ -5049,6 +5071,11 @@
|
|
|
5049
5071
|
outline-style: none;
|
|
5050
5072
|
}
|
|
5051
5073
|
}
|
|
5074
|
+
.active\:bg-background-muted {
|
|
5075
|
+
&:active {
|
|
5076
|
+
background-color: var(--color-background-muted);
|
|
5077
|
+
}
|
|
5078
|
+
}
|
|
5052
5079
|
.disabled\:cursor-not-allowed {
|
|
5053
5080
|
&:disabled {
|
|
5054
5081
|
cursor: not-allowed;
|
|
@@ -5255,6 +5282,16 @@
|
|
|
5255
5282
|
grid-column: 1 / -1;
|
|
5256
5283
|
}
|
|
5257
5284
|
}
|
|
5285
|
+
.sm\:block {
|
|
5286
|
+
@media (width >= 40rem) {
|
|
5287
|
+
display: block;
|
|
5288
|
+
}
|
|
5289
|
+
}
|
|
5290
|
+
.sm\:flex {
|
|
5291
|
+
@media (width >= 40rem) {
|
|
5292
|
+
display: flex;
|
|
5293
|
+
}
|
|
5294
|
+
}
|
|
5258
5295
|
.sm\:grid {
|
|
5259
5296
|
@media (width >= 40rem) {
|
|
5260
5297
|
display: grid;
|
|
@@ -5265,6 +5302,11 @@
|
|
|
5265
5302
|
display: none;
|
|
5266
5303
|
}
|
|
5267
5304
|
}
|
|
5305
|
+
.sm\:inline {
|
|
5306
|
+
@media (width >= 40rem) {
|
|
5307
|
+
display: inline;
|
|
5308
|
+
}
|
|
5309
|
+
}
|
|
5268
5310
|
.sm\:max-w-\[300px\] {
|
|
5269
5311
|
@media (width >= 40rem) {
|
|
5270
5312
|
max-width: 300px;
|
|
@@ -6252,11 +6294,6 @@
|
|
|
6252
6294
|
color: var(--color-blue-200);
|
|
6253
6295
|
}
|
|
6254
6296
|
}
|
|
6255
|
-
.dark\:text-gray-100 {
|
|
6256
|
-
@media (prefers-color-scheme: dark) {
|
|
6257
|
-
color: var(--color-gray-100);
|
|
6258
|
-
}
|
|
6259
|
-
}
|
|
6260
6297
|
.dark\:text-gray-300 {
|
|
6261
6298
|
@media (prefers-color-scheme: dark) {
|
|
6262
6299
|
color: var(--color-gray-300);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.19.
|
|
3
|
-
"generatedAt": "2025-11-
|
|
2
|
+
"version": "1.19.2",
|
|
3
|
+
"generatedAt": "2025-11-14T20:30:11.223Z",
|
|
4
4
|
"categories": {
|
|
5
5
|
"hooks": {
|
|
6
6
|
"description": "React hooks for common functionality like breakpoints, debouncing, local storage, and media queries",
|
package/package.json
CHANGED
|
@@ -1,174 +1,176 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
2
|
+
"name": "@texturehq/edges",
|
|
3
|
+
"version": "1.19.2",
|
|
4
|
+
"author": "Nicholas Brown <nick@texturehq.com>",
|
|
5
|
+
"description": "A shared component library for Texture",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/**",
|
|
13
|
+
"templates/**",
|
|
14
|
+
"scripts/**"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"react-server": "./dist/server.js",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./server": {
|
|
24
|
+
"types": "./dist/server.d.ts",
|
|
25
|
+
"import": "./dist/server.js",
|
|
26
|
+
"default": "./dist/server.js"
|
|
27
|
+
},
|
|
28
|
+
"./rhf": {
|
|
29
|
+
"types": "./dist/rhf/index.d.ts",
|
|
30
|
+
"import": "./dist/rhf/index.js",
|
|
31
|
+
"default": "./dist/rhf/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./form": {
|
|
34
|
+
"types": "./dist/form/index.d.ts",
|
|
35
|
+
"import": "./dist/form/index.js",
|
|
36
|
+
"default": "./dist/form/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./styles.css": "./dist/styles.css",
|
|
39
|
+
"./dist/styles.css": "./dist/styles.css",
|
|
40
|
+
"./theme.css": "./dist/theme.css",
|
|
41
|
+
"./dist/theme.css": "./dist/theme.css"
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"dev": "yarn watch",
|
|
45
|
+
"watch": "tsup --watch",
|
|
46
|
+
"build": "yarn tokens:build && tsup && yarn build:post",
|
|
47
|
+
"build:post": "postcss src/styles.css -o dist/styles.css && node scripts/copy-assets.js && node scripts/generate-edges-docs.js",
|
|
48
|
+
"tokens:build": "node style-dictionary.config.mjs && node scripts/generate-viz-runtime.js",
|
|
49
|
+
"tokens:build:tailwind": "node style-dictionary.config.mjs",
|
|
50
|
+
"tokens:watch": "nodemon --watch tokens --ext json --exec 'yarn tokens:build'",
|
|
51
|
+
"tokens:watch:tailwind": "nodemon --watch tokens --ext json --exec 'yarn tokens:build:tailwind'",
|
|
52
|
+
"tokens:validate": "node scripts/validate-tokens.js",
|
|
53
|
+
"build:yalc": "yarn build && npx yalc publish && npx yalc push",
|
|
54
|
+
"dev:yalc": "yarn build && npx yalc publish && npx yalc push && echo 'Package updated! Run in target project: yarn install && yarn dev'",
|
|
55
|
+
"dev:yalc:force": "yarn build && npx yalc publish && npx yalc push && echo 'Package updated! Run in target project: rm -rf .vite && yarn cache clean && yarn dev --force'",
|
|
56
|
+
"clean": "rm -rf dist",
|
|
57
|
+
"lint": "biome check src/",
|
|
58
|
+
"lint:quiet": "biome check --reporter=github src/",
|
|
59
|
+
"lint:fix": "biome check --write src/",
|
|
60
|
+
"format": "biome format --write src/",
|
|
61
|
+
"format:check": "biome format src/",
|
|
62
|
+
"test": "vitest run",
|
|
63
|
+
"test:watch": "vitest",
|
|
64
|
+
"test:coverage": "vitest run --coverage",
|
|
65
|
+
"test:ui": "vitest --ui",
|
|
66
|
+
"storybook": "VITE_MAPBOX_ACCESS_TOKEN=pk.eyJ1IjoidmljdG9yLXRleHR1cmUiLCJhIjoiY2x1cXM5dnVqMDFvYTJrcWszbnZmdGo4cCJ9.uEu0gqmITLtBMKEVW0aFtA storybook dev -p 6010 --no-open",
|
|
67
|
+
"build-storybook": "storybook build",
|
|
68
|
+
"postinstall": "node scripts/setup-cursor-rules.js || echo \"! setup-cursor-rules: non-fatal error\""
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"@hookform/resolvers": "^3.x",
|
|
72
|
+
"next": "*",
|
|
73
|
+
"react": "^19.0.0",
|
|
74
|
+
"react-dom": "^19.0.0",
|
|
75
|
+
"react-hook-form": "^7.x",
|
|
76
|
+
"zod": "^3.x"
|
|
77
|
+
},
|
|
78
|
+
"peerDependenciesMeta": {
|
|
79
|
+
"@hookform/resolvers": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"react-hook-form": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"zod": {
|
|
86
|
+
"optional": true
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"dependencies": {
|
|
90
|
+
"@phosphor-icons/react": "^2.1.7",
|
|
91
|
+
"@tanstack/react-virtual": "^3.13.12",
|
|
92
|
+
"@tiptap/core": "^3.4.5",
|
|
93
|
+
"@tiptap/extension-link": "^3.4.5",
|
|
94
|
+
"@tiptap/pm": "^3.4.5",
|
|
95
|
+
"@tiptap/react": "^3.4.5",
|
|
96
|
+
"@tiptap/starter-kit": "^3.4.5",
|
|
97
|
+
"@types/react-map-gl": "6.1.6",
|
|
98
|
+
"@visx/axis": "^3.10.1",
|
|
99
|
+
"@visx/brush": "^3.12.0",
|
|
100
|
+
"@visx/curve": "^3.3.0",
|
|
101
|
+
"@visx/drag": "^3.12.0",
|
|
102
|
+
"@visx/event": "^3.3.0",
|
|
103
|
+
"@visx/gradient": "^3.3.0",
|
|
104
|
+
"@visx/pattern": "^3.12.0",
|
|
105
|
+
"@visx/responsive": "^3.10.2",
|
|
106
|
+
"@visx/scale": "^3.5.0",
|
|
107
|
+
"@visx/shape": "^3.5.0",
|
|
108
|
+
"@visx/tooltip": "^3.3.0",
|
|
109
|
+
"@visx/zoom": "^3.12.0",
|
|
110
|
+
"ace-builds": "^1.43.3",
|
|
111
|
+
"chance": "^1.1.13",
|
|
112
|
+
"d3-array": "^3.2.4",
|
|
113
|
+
"date-fns": "^4.1.0",
|
|
114
|
+
"file-saver": "^2.0.5",
|
|
115
|
+
"filestack-react": "^6.0.0",
|
|
116
|
+
"framer-motion": "^12.23.18",
|
|
117
|
+
"fuse.js": "^7.0.0",
|
|
118
|
+
"lucide-react": "^0.544.0",
|
|
119
|
+
"luxon": "^3.4.4",
|
|
120
|
+
"mapbox-gl": "3.7.0",
|
|
121
|
+
"next-intl": "^4.0.2",
|
|
122
|
+
"papaparse": "^5.5.3",
|
|
123
|
+
"react-ace": "^14.0.1",
|
|
124
|
+
"react-aria-components": "^1.7.1",
|
|
125
|
+
"react-colorful": "^5.6.1",
|
|
126
|
+
"react-map-gl": "7.1.7",
|
|
127
|
+
"react-stately": "^3.35.0",
|
|
128
|
+
"tailwind-merge": "^3.2.0"
|
|
129
|
+
},
|
|
130
|
+
"devDependencies": {
|
|
131
|
+
"@biomejs/biome": "^2.2.4",
|
|
132
|
+
"@hookform/resolvers": "^3.9.0",
|
|
133
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
134
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
135
|
+
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
136
|
+
"@storybook/addon-themes": "^8.6.14",
|
|
137
|
+
"@storybook/blocks": "^8.6.14",
|
|
138
|
+
"@storybook/react": "^8.6.14",
|
|
139
|
+
"@storybook/react-vite": "^8.6.14",
|
|
140
|
+
"@storybook/test": "^8.6.14",
|
|
141
|
+
"@tailwindcss/postcss": "^4.1.14",
|
|
142
|
+
"@testing-library/dom": "^10.4.0",
|
|
143
|
+
"@testing-library/jest-dom": "^6.4.2",
|
|
144
|
+
"@testing-library/react": "^16.3.0",
|
|
145
|
+
"@testing-library/user-event": "^14.5.2",
|
|
146
|
+
"@types/chance": "^1.1.7",
|
|
147
|
+
"@types/file-saver": "^2.0.7",
|
|
148
|
+
"@types/luxon": "^3.7.1",
|
|
149
|
+
"@types/node": "^20.11.30",
|
|
150
|
+
"@types/papaparse": "^5.3.16",
|
|
151
|
+
"@types/react": "^19.2.2",
|
|
152
|
+
"@types/react-dom": "^19.2.1",
|
|
153
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
154
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
155
|
+
"@vitest/ui": "^3.1.1",
|
|
156
|
+
"acorn": "^8.15.0",
|
|
157
|
+
"acorn-jsx": "^5.3.2",
|
|
158
|
+
"autoprefixer": "^10.4.19",
|
|
159
|
+
"jsdom": "^24.0.0",
|
|
160
|
+
"postcss": "^8.5.6",
|
|
161
|
+
"postcss-cli": "^11.0.0",
|
|
162
|
+
"react": "19.2.0",
|
|
163
|
+
"react-dom": "19.2.0",
|
|
164
|
+
"react-hook-form": "^7.53.0",
|
|
165
|
+
"storybook": "^8.6.14",
|
|
166
|
+
"style-dictionary": "^5.0.4",
|
|
167
|
+
"tailwindcss": "^4.1.14",
|
|
168
|
+
"tsup": "^8.0.2",
|
|
169
|
+
"typescript": "~5.9.2",
|
|
170
|
+
"vite": "^5.1.6",
|
|
171
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
172
|
+
"vitest": "^3.1.1",
|
|
173
|
+
"yalc": "^1.0.0-pre.53",
|
|
174
|
+
"zod": "^3.23.8"
|
|
175
|
+
}
|
|
174
176
|
}
|