@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/styles.css CHANGED
@@ -140,6 +140,42 @@
140
140
  --color-action-secondary: #333333;
141
141
  --color-action-secondary-hover: #4b5563;
142
142
  --color-action-secondary-text: #ffffff;
143
+ --color-state-charging: #f3e8ff;
144
+ --color-state-charging-border: #c084fc;
145
+ --color-state-charging-text: #6b21a8;
146
+ --color-state-discharging: #fffbeb;
147
+ --color-state-discharging-border: #facc15;
148
+ --color-state-discharging-text: #78350f;
149
+ --color-state-heat: #fee2e2;
150
+ --color-state-heat-border: #f87171;
151
+ --color-state-heat-text: #920000;
152
+ --color-state-cool: #dbeafe;
153
+ --color-state-cool-border: #60a5fa;
154
+ --color-state-cool-text: #0334be;
155
+ --color-state-eco: #ddfff1;
156
+ --color-state-eco-border: #34d399;
157
+ --color-state-eco-text: #065f46;
158
+ --color-state-auto: #ffedd5;
159
+ --color-state-auto-border: #fdba74;
160
+ --color-state-auto-text: #7c2d12;
161
+ --color-state-on: #ccfbf1;
162
+ --color-state-on-border: #2dd4bf;
163
+ --color-state-on-text: #0f766e;
164
+ --color-state-idle: #e5e7eb;
165
+ --color-state-idle-border: #9ca3af;
166
+ --color-state-idle-text: #374151;
167
+ --color-state-off: #e5e7eb;
168
+ --color-state-off-border: #9ca3af;
169
+ --color-state-off-text: #374151;
170
+ --color-state-unknown: #f8f8f8;
171
+ --color-state-unknown-border: #d1d5db;
172
+ --color-state-unknown-text: #000000;
173
+ --color-state-importing: #f8f8f8;
174
+ --color-state-importing-border: #d1d5db;
175
+ --color-state-importing-text: #000000;
176
+ --color-state-exporting: #f8f8f8;
177
+ --color-state-exporting-border: #d1d5db;
178
+ --color-state-exporting-text: #000000;
143
179
  --control-sm: 0.75rem;
144
180
  --control-md: 0.875rem;
145
181
  --control-lg: 1rem;
@@ -540,6 +576,42 @@
540
576
  --color-action-secondary: #e5e7eb;
541
577
  --color-action-secondary-hover: #f3f4f6;
542
578
  --color-action-secondary-text: #111827;
579
+ --color-state-charging: #581c87;
580
+ --color-state-charging-border: #a855f7;
581
+ --color-state-charging-text: #e9d5ff;
582
+ --color-state-discharging: #78350f;
583
+ --color-state-discharging-border: #eab308;
584
+ --color-state-discharging-text: #fef3c7;
585
+ --color-state-heat: #7f1d1d;
586
+ --color-state-heat-border: #ef4444;
587
+ --color-state-heat-text: #fee2e2;
588
+ --color-state-cool: #1e3a8a;
589
+ --color-state-cool-border: #3b82f6;
590
+ --color-state-cool-text: #dbeafe;
591
+ --color-state-eco: #064e3b;
592
+ --color-state-eco-border: #10b981;
593
+ --color-state-eco-text: #d1fae5;
594
+ --color-state-auto: #7c2d12;
595
+ --color-state-auto-border: #fb923c;
596
+ --color-state-auto-text: #ffedd5;
597
+ --color-state-on: #134e4a;
598
+ --color-state-on-border: #14b8a6;
599
+ --color-state-on-text: #ccfbf1;
600
+ --color-state-idle: #374151;
601
+ --color-state-idle-border: #6b7280;
602
+ --color-state-idle-text: #e5e7eb;
603
+ --color-state-off: #374151;
604
+ --color-state-off-border: #6b7280;
605
+ --color-state-off-text: #e5e7eb;
606
+ --color-state-unknown: #1f2937;
607
+ --color-state-unknown-border: #6b7280;
608
+ --color-state-unknown-text: #ffffff;
609
+ --color-state-importing: #1f2937;
610
+ --color-state-importing-border: #6b7280;
611
+ --color-state-importing-text: #ffffff;
612
+ --color-state-exporting: #1f2937;
613
+ --color-state-exporting-border: #6b7280;
614
+ --color-state-exporting-text: #ffffff;
543
615
  --color-map-streets-border: #ffffff;
544
616
  --color-map-satellite-border: #ffffff;
545
617
  --color-map-neutral-border: #ffffff;
@@ -1761,6 +1833,9 @@
1761
1833
  .w-\[700px\] {
1762
1834
  width: 700px;
1763
1835
  }
1836
+ .w-\[800px\] {
1837
+ width: 800px;
1838
+ }
1764
1839
  .w-auto {
1765
1840
  width: auto;
1766
1841
  }
@@ -1862,6 +1937,9 @@
1862
1937
  .min-w-\[208px\] {
1863
1938
  min-width: 208px;
1864
1939
  }
1940
+ .min-w-full {
1941
+ min-width: 100%;
1942
+ }
1865
1943
  .flex-1 {
1866
1944
  flex: 1;
1867
1945
  }
@@ -1891,6 +1969,14 @@
1891
1969
  --tw-border-spacing-y: var(--spacing-0);
1892
1970
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
1893
1971
  }
1972
+ .border-spacing-x-4 {
1973
+ --tw-border-spacing-x: var(--spacing-4);
1974
+ border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
1975
+ }
1976
+ .border-spacing-y-3 {
1977
+ --tw-border-spacing-y: var(--spacing-3);
1978
+ border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
1979
+ }
1894
1980
  .origin-bottom {
1895
1981
  transform-origin: bottom;
1896
1982
  }
@@ -3146,6 +3232,9 @@
3146
3232
  .pr-3 {
3147
3233
  padding-right: var(--spacing-3);
3148
3234
  }
3235
+ .pr-4 {
3236
+ padding-right: var(--spacing-4);
3237
+ }
3149
3238
  .pr-6 {
3150
3239
  padding-right: var(--spacing-6);
3151
3240
  }
@@ -3230,6 +3319,9 @@
3230
3319
  .align-text-bottom {
3231
3320
  vertical-align: text-bottom;
3232
3321
  }
3322
+ .align-top {
3323
+ vertical-align: top;
3324
+ }
3233
3325
  .font-mono {
3234
3326
  font-family: var(--font-mono);
3235
3327
  }
@@ -3714,6 +3806,10 @@
3714
3806
  --tw-grayscale: grayscale(100%);
3715
3807
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
3716
3808
  }
3809
+ .invert {
3810
+ --tw-invert: invert(100%);
3811
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
3812
+ }
3717
3813
  .filter {
3718
3814
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
3719
3815
  }
@@ -4050,6 +4146,11 @@
4050
4146
  border-bottom-width: 0px;
4051
4147
  }
4052
4148
  }
4149
+ .last\:pr-0 {
4150
+ &:last-child {
4151
+ padding-right: var(--spacing-0);
4152
+ }
4153
+ }
4053
4154
  .visited\:text-action-primary {
4054
4155
  &:visited {
4055
4156
  color: var(--color-action-primary);
@@ -5510,11 +5611,6 @@
5510
5611
  border-color: var(--color-blue-800);
5511
5612
  }
5512
5613
  }
5513
- .dark\:border-gray-700 {
5514
- @media (prefers-color-scheme: dark) {
5515
- border-color: var(--color-gray-700);
5516
- }
5517
- }
5518
5614
  .dark\:border-white\/5 {
5519
5615
  @media (prefers-color-scheme: dark) {
5520
5616
  border-color: color-mix(in srgb, #ffffff 5%, transparent);
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.8.0",
3
- "generatedAt": "2025-10-20T15:55:24.562Z",
2
+ "version": "1.8.2",
3
+ "generatedAt": "2025-10-21T16:01:17.559Z",
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@texturehq/edges",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
4
4
  "author": "Nicholas Brown <nick@texturehq.com>",
5
5
  "description": "A shared component library for Texture",
6
6
  "type": "module",
@@ -71,12 +71,16 @@
71
71
  "@tiptap/starter-kit": "^3.4.5",
72
72
  "@types/react-map-gl": "6.1.6",
73
73
  "@visx/axis": "^3.10.1",
74
+ "@visx/brush": "^3.12.0",
74
75
  "@visx/curve": "^3.3.0",
76
+ "@visx/drag": "^3.12.0",
75
77
  "@visx/event": "^3.3.0",
78
+ "@visx/pattern": "^3.12.0",
76
79
  "@visx/responsive": "^3.10.2",
77
80
  "@visx/scale": "^3.5.0",
78
81
  "@visx/shape": "^3.5.0",
79
82
  "@visx/tooltip": "^3.3.0",
83
+ "@visx/zoom": "^3.12.0",
80
84
  "ace-builds": "^1.43.3",
81
85
  "d3-array": "^3.2.4",
82
86
  "file-saver": "^2.0.5",