@texturehq/edges 1.22.4 → 1.23.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 +15 -2
- 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/generated/tailwind-tokens-dark.css +12 -0
- package/dist/generated/tailwind-tokens-light.css +12 -0
- package/dist/generated/viz-runtime.css +28 -0
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +85 -2
- package/dist/index.d.ts +85 -2
- package/dist/index.js +5 -5
- 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.map +1 -1
- package/dist/server.js.map +1 -1
- package/dist/styles.css +60 -18
- package/dist/utilities.manifest.json +2 -9
- package/package.json +2 -1
- package/scripts/generate-viz-runtime.js +13 -0
|
@@ -241,39 +241,51 @@
|
|
|
241
241
|
--color-action-default-hover: #ffffff;
|
|
242
242
|
--color-action-default-text: #111827;
|
|
243
243
|
--color-state-charging: #581c87;
|
|
244
|
+
--color-state-charging-data: #8038bf;
|
|
244
245
|
--color-state-charging-border: #a855f7;
|
|
245
246
|
--color-state-charging-text: #e9d5ff;
|
|
246
247
|
--color-state-discharging: #78350f;
|
|
248
|
+
--color-state-discharging-data: #b1740b;
|
|
247
249
|
--color-state-discharging-border: #eab308;
|
|
248
250
|
--color-state-discharging-text: #fef3c7;
|
|
249
251
|
--color-state-heat: #7f1d1d;
|
|
252
|
+
--color-state-heat-data: #b73030;
|
|
250
253
|
--color-state-heat-border: #ef4444;
|
|
251
254
|
--color-state-heat-text: #fee2e2;
|
|
252
255
|
--color-state-cool: #1e3a8a;
|
|
256
|
+
--color-state-cool-data: #2c5ec0;
|
|
253
257
|
--color-state-cool-border: #3b82f6;
|
|
254
258
|
--color-state-cool-text: #dbeafe;
|
|
255
259
|
--color-state-eco: #064e3b;
|
|
260
|
+
--color-state-eco-data: #0b835e;
|
|
256
261
|
--color-state-eco-border: #10b981;
|
|
257
262
|
--color-state-eco-text: #d1fae5;
|
|
258
263
|
--color-state-auto: #7c2d12;
|
|
264
|
+
--color-state-auto-data: #bb5f27;
|
|
259
265
|
--color-state-auto-border: #fb923c;
|
|
260
266
|
--color-state-auto-text: #ffedd5;
|
|
261
267
|
--color-state-on: #134e4a;
|
|
268
|
+
--color-state-on-data: #138378;
|
|
262
269
|
--color-state-on-border: #14b8a6;
|
|
263
270
|
--color-state-on-text: #ccfbf1;
|
|
264
271
|
--color-state-idle: #374151;
|
|
272
|
+
--color-state-idle-data: #515968;
|
|
265
273
|
--color-state-idle-border: #6b7280;
|
|
266
274
|
--color-state-idle-text: #e5e7eb;
|
|
267
275
|
--color-state-off: #374151;
|
|
276
|
+
--color-state-off-data: #515968;
|
|
268
277
|
--color-state-off-border: #6b7280;
|
|
269
278
|
--color-state-off-text: #e5e7eb;
|
|
270
279
|
--color-state-unknown: #1f2937;
|
|
280
|
+
--color-state-unknown-data: #454d5b;
|
|
271
281
|
--color-state-unknown-border: #6b7280;
|
|
272
282
|
--color-state-unknown-text: #ffffff;
|
|
273
283
|
--color-state-importing: #1e3a8a;
|
|
284
|
+
--color-state-importing-data: #3f6fc2;
|
|
274
285
|
--color-state-importing-border: #60a5fa;
|
|
275
286
|
--color-state-importing-text: #dbeafe;
|
|
276
287
|
--color-state-exporting: #78350f;
|
|
288
|
+
--color-state-exporting-data: #b97a19;
|
|
277
289
|
--color-state-exporting-border: #fbbf24;
|
|
278
290
|
--color-state-exporting-text: #fef3c7;
|
|
279
291
|
--color-map-streets-border: #ffffff;
|
|
@@ -241,39 +241,51 @@
|
|
|
241
241
|
--color-action-default-hover: #4b5563;
|
|
242
242
|
--color-action-default-text: #ffffff;
|
|
243
243
|
--color-state-charging: #f3e8ff;
|
|
244
|
+
--color-state-charging-data: #d9b6fd;
|
|
244
245
|
--color-state-charging-border: #c084fc;
|
|
245
246
|
--color-state-charging-text: #6b21a8;
|
|
246
247
|
--color-state-discharging: #fffbeb;
|
|
248
|
+
--color-state-discharging-data: #fce380;
|
|
247
249
|
--color-state-discharging-border: #facc15;
|
|
248
250
|
--color-state-discharging-text: #78350f;
|
|
249
251
|
--color-state-heat: #fee2e2;
|
|
252
|
+
--color-state-heat-data: #fba9a9;
|
|
250
253
|
--color-state-heat-border: #f87171;
|
|
251
254
|
--color-state-heat-text: #920000;
|
|
252
255
|
--color-state-cool: #dbeafe;
|
|
256
|
+
--color-state-cool-data: #9dc7fc;
|
|
253
257
|
--color-state-cool-border: #60a5fa;
|
|
254
258
|
--color-state-cool-text: #0334be;
|
|
255
259
|
--color-state-eco: #ddfff1;
|
|
260
|
+
--color-state-eco-data: #88e9c5;
|
|
256
261
|
--color-state-eco-border: #34d399;
|
|
257
262
|
--color-state-eco-text: #065f46;
|
|
258
263
|
--color-state-auto: #ffedd5;
|
|
264
|
+
--color-state-auto-data: #fed3a4;
|
|
259
265
|
--color-state-auto-border: #fdba74;
|
|
260
266
|
--color-state-auto-text: #7c2d12;
|
|
261
267
|
--color-state-on: #ccfbf1;
|
|
268
|
+
--color-state-on-data: #7ce7d8;
|
|
262
269
|
--color-state-on-border: #2dd4bf;
|
|
263
270
|
--color-state-on-text: #0f766e;
|
|
264
271
|
--color-state-idle: #e5e7eb;
|
|
272
|
+
--color-state-idle-data: #c0c5cd;
|
|
265
273
|
--color-state-idle-border: #9ca3af;
|
|
266
274
|
--color-state-idle-text: #374151;
|
|
267
275
|
--color-state-off: #e5e7eb;
|
|
276
|
+
--color-state-off-data: #c0c5cd;
|
|
268
277
|
--color-state-off-border: #9ca3af;
|
|
269
278
|
--color-state-off-text: #374151;
|
|
270
279
|
--color-state-unknown: #f8f8f8;
|
|
280
|
+
--color-state-unknown-data: #e4e6e9;
|
|
271
281
|
--color-state-unknown-border: #d1d5db;
|
|
272
282
|
--color-state-unknown-text: #000000;
|
|
273
283
|
--color-state-importing: #dbeafe;
|
|
284
|
+
--color-state-importing-data: #8bb6fa;
|
|
274
285
|
--color-state-importing-border: #3b82f6;
|
|
275
286
|
--color-state-importing-text: #1e40af;
|
|
276
287
|
--color-state-exporting: #fef3c7;
|
|
288
|
+
--color-state-exporting-data: #f9c869;
|
|
277
289
|
--color-state-exporting-border: #f59e0b;
|
|
278
290
|
--color-state-exporting-text: #92400e;
|
|
279
291
|
--color-viz-default: #0082ff;
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
* WORKAROUND: These variables are defined here instead of in tailwind-tokens-*.css
|
|
5
5
|
* because Tailwind 4's @theme directive filters them out (similar issue as data-* prefix).
|
|
6
6
|
*
|
|
7
|
+
* Includes:
|
|
8
|
+
* - Generic viz colors (--color-viz-*)
|
|
9
|
+
* - Device state data viz colors (--color-state-*-data)
|
|
10
|
+
*
|
|
7
11
|
* AUTO-GENERATED by scripts/generate-viz-runtime.js
|
|
8
12
|
* DO NOT EDIT MANUALLY - Edit theme-specific viz colors in:
|
|
9
13
|
* - tokens/themes/light.json (light mode viz colors)
|
|
@@ -109,6 +113,18 @@
|
|
|
109
113
|
--color-viz-diverging-red-blue-8: #7080b5;
|
|
110
114
|
--color-viz-diverging-red-blue-9: #4d5e99;
|
|
111
115
|
--color-viz-diverging-red-blue-10: #2b3d70;
|
|
116
|
+
--color-state-charging-data: #d9b6fd;
|
|
117
|
+
--color-state-discharging-data: #fce380;
|
|
118
|
+
--color-state-heat-data: #fba9a9;
|
|
119
|
+
--color-state-cool-data: #9dc7fc;
|
|
120
|
+
--color-state-eco-data: #88e9c5;
|
|
121
|
+
--color-state-auto-data: #fed3a4;
|
|
122
|
+
--color-state-on-data: #7ce7d8;
|
|
123
|
+
--color-state-idle-data: #c0c5cd;
|
|
124
|
+
--color-state-off-data: #c0c5cd;
|
|
125
|
+
--color-state-unknown-data: #e4e6e9;
|
|
126
|
+
--color-state-importing-data: #8bb6fa;
|
|
127
|
+
--color-state-exporting-data: #f9c869;
|
|
112
128
|
}
|
|
113
129
|
|
|
114
130
|
/* Dark theme */
|
|
@@ -210,4 +226,16 @@
|
|
|
210
226
|
--color-viz-diverging-red-blue-8: #8494ca;
|
|
211
227
|
--color-viz-diverging-red-blue-9: #5d6fb0;
|
|
212
228
|
--color-viz-diverging-red-blue-10: #374f88;
|
|
229
|
+
--color-state-charging-data: #8038bf;
|
|
230
|
+
--color-state-discharging-data: #b1740b;
|
|
231
|
+
--color-state-heat-data: #b73030;
|
|
232
|
+
--color-state-cool-data: #2c5ec0;
|
|
233
|
+
--color-state-eco-data: #0b835e;
|
|
234
|
+
--color-state-auto-data: #bb5f27;
|
|
235
|
+
--color-state-on-data: #138378;
|
|
236
|
+
--color-state-idle-data: #515968;
|
|
237
|
+
--color-state-off-data: #515968;
|
|
238
|
+
--color-state-unknown-data: #454d5b;
|
|
239
|
+
--color-state-importing-data: #3f6fc2;
|
|
240
|
+
--color-state-exporting-data: #b97a19;
|
|
213
241
|
}
|