@texturehq/edges 1.8.0 → 1.8.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 +19 -3
- package/dist/generated/tailwind-tokens-dark.css +36 -0
- package/dist/generated/tailwind-tokens-light.css +36 -0
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/styles.css +101 -5
- package/dist/utilities.manifest.json +2 -2
- package/package.json +5 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.8.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.8.2",
|
|
3
|
+
"generatedAt": "2025-10-21T16:01:17.557Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "ActionCell",
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
{
|
|
420
420
|
"name": "ChartBottomBar",
|
|
421
421
|
"category": "Uncategorized",
|
|
422
|
-
"description": "ChartBottomBar Chart footer component with legend and export functionality. Displays color-coded legend items and provides export options for CSV, SVG, and PNG formats.",
|
|
422
|
+
"description": "ChartBottomBar Chart footer component with legend and export functionality. Displays color-coded legend items and provides export options for CSV, SVG, and PNG formats. Respects chart margins to align legend with Y-axis and export button with X-axis end.",
|
|
423
423
|
"importRoot": "@texturehq/edges",
|
|
424
424
|
"importPath": "@texturehq/edges/components/ChartBottomBar",
|
|
425
425
|
"props": [
|
|
@@ -430,6 +430,22 @@
|
|
|
430
430
|
{
|
|
431
431
|
"name": "onExport",
|
|
432
432
|
"type": "(type: ExportType) => void | Promise<void>"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "marginLeft",
|
|
436
|
+
"type": "number"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"name": "marginRight",
|
|
440
|
+
"type": "number"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "isZoomed",
|
|
444
|
+
"type": "boolean"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "onResetZoom",
|
|
448
|
+
"type": "() => void"
|
|
433
449
|
}
|
|
434
450
|
],
|
|
435
451
|
"relatedComponents": [],
|
|
@@ -308,6 +308,42 @@
|
|
|
308
308
|
--color-action-secondary: #e5e7eb;
|
|
309
309
|
--color-action-secondary-hover: #f3f4f6;
|
|
310
310
|
--color-action-secondary-text: #111827;
|
|
311
|
+
--color-state-charging: #581c87;
|
|
312
|
+
--color-state-charging-border: #a855f7;
|
|
313
|
+
--color-state-charging-text: #e9d5ff;
|
|
314
|
+
--color-state-discharging: #78350f;
|
|
315
|
+
--color-state-discharging-border: #eab308;
|
|
316
|
+
--color-state-discharging-text: #fef3c7;
|
|
317
|
+
--color-state-heat: #7f1d1d;
|
|
318
|
+
--color-state-heat-border: #ef4444;
|
|
319
|
+
--color-state-heat-text: #fee2e2;
|
|
320
|
+
--color-state-cool: #1e3a8a;
|
|
321
|
+
--color-state-cool-border: #3b82f6;
|
|
322
|
+
--color-state-cool-text: #dbeafe;
|
|
323
|
+
--color-state-eco: #064e3b;
|
|
324
|
+
--color-state-eco-border: #10b981;
|
|
325
|
+
--color-state-eco-text: #d1fae5;
|
|
326
|
+
--color-state-auto: #7c2d12;
|
|
327
|
+
--color-state-auto-border: #fb923c;
|
|
328
|
+
--color-state-auto-text: #ffedd5;
|
|
329
|
+
--color-state-on: #134e4a;
|
|
330
|
+
--color-state-on-border: #14b8a6;
|
|
331
|
+
--color-state-on-text: #ccfbf1;
|
|
332
|
+
--color-state-idle: #374151;
|
|
333
|
+
--color-state-idle-border: #6b7280;
|
|
334
|
+
--color-state-idle-text: #e5e7eb;
|
|
335
|
+
--color-state-off: #374151;
|
|
336
|
+
--color-state-off-border: #6b7280;
|
|
337
|
+
--color-state-off-text: #e5e7eb;
|
|
338
|
+
--color-state-unknown: #1f2937;
|
|
339
|
+
--color-state-unknown-border: #6b7280;
|
|
340
|
+
--color-state-unknown-text: #ffffff;
|
|
341
|
+
--color-state-importing: #1f2937;
|
|
342
|
+
--color-state-importing-border: #6b7280;
|
|
343
|
+
--color-state-importing-text: #ffffff;
|
|
344
|
+
--color-state-exporting: #1f2937;
|
|
345
|
+
--color-state-exporting-border: #6b7280;
|
|
346
|
+
--color-state-exporting-text: #ffffff;
|
|
311
347
|
--color-map-streets-border: #ffffff;
|
|
312
348
|
--color-map-satellite-border: #ffffff;
|
|
313
349
|
--color-map-neutral-border: #ffffff;
|
|
@@ -308,4 +308,40 @@
|
|
|
308
308
|
--color-action-secondary: #333333;
|
|
309
309
|
--color-action-secondary-hover: #4b5563;
|
|
310
310
|
--color-action-secondary-text: #ffffff;
|
|
311
|
+
--color-state-charging: #f3e8ff;
|
|
312
|
+
--color-state-charging-border: #c084fc;
|
|
313
|
+
--color-state-charging-text: #6b21a8;
|
|
314
|
+
--color-state-discharging: #fffbeb;
|
|
315
|
+
--color-state-discharging-border: #facc15;
|
|
316
|
+
--color-state-discharging-text: #78350f;
|
|
317
|
+
--color-state-heat: #fee2e2;
|
|
318
|
+
--color-state-heat-border: #f87171;
|
|
319
|
+
--color-state-heat-text: #920000;
|
|
320
|
+
--color-state-cool: #dbeafe;
|
|
321
|
+
--color-state-cool-border: #60a5fa;
|
|
322
|
+
--color-state-cool-text: #0334be;
|
|
323
|
+
--color-state-eco: #ddfff1;
|
|
324
|
+
--color-state-eco-border: #34d399;
|
|
325
|
+
--color-state-eco-text: #065f46;
|
|
326
|
+
--color-state-auto: #ffedd5;
|
|
327
|
+
--color-state-auto-border: #fdba74;
|
|
328
|
+
--color-state-auto-text: #7c2d12;
|
|
329
|
+
--color-state-on: #ccfbf1;
|
|
330
|
+
--color-state-on-border: #2dd4bf;
|
|
331
|
+
--color-state-on-text: #0f766e;
|
|
332
|
+
--color-state-idle: #e5e7eb;
|
|
333
|
+
--color-state-idle-border: #9ca3af;
|
|
334
|
+
--color-state-idle-text: #374151;
|
|
335
|
+
--color-state-off: #e5e7eb;
|
|
336
|
+
--color-state-off-border: #9ca3af;
|
|
337
|
+
--color-state-off-text: #374151;
|
|
338
|
+
--color-state-unknown: #f8f8f8;
|
|
339
|
+
--color-state-unknown-border: #d1d5db;
|
|
340
|
+
--color-state-unknown-text: #000000;
|
|
341
|
+
--color-state-importing: #f8f8f8;
|
|
342
|
+
--color-state-importing-border: #d1d5db;
|
|
343
|
+
--color-state-importing-text: #000000;
|
|
344
|
+
--color-state-exporting: #f8f8f8;
|
|
345
|
+
--color-state-exporting-border: #d1d5db;
|
|
346
|
+
--color-state-exporting-text: #000000;
|
|
311
347
|
}
|