@texturehq/edges 1.31.1 → 1.33.1
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/{colors-CIlEq8T6.d.ts → colors-Cgs2MGZ8.d.ts} +12 -0
- package/dist/{colors-oRbPetNs.d.cts → colors-DGRiGzgj.d.cts} +12 -0
- package/dist/generated/tailwind-tokens-dark.css +11 -0
- package/dist/generated/tailwind-tokens-light.css +15 -0
- package/dist/index.cjs +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +274 -6
- package/dist/index.d.ts +274 -6
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/styles.css +44 -7
- package/package.json +1 -1
|
@@ -1267,6 +1267,18 @@ interface InteractiveMapHandle {
|
|
|
1267
1267
|
* Get the underlying Mapbox map instance
|
|
1268
1268
|
*/
|
|
1269
1269
|
getMap: () => MapRef | null;
|
|
1270
|
+
/**
|
|
1271
|
+
* Mark the map as user-moved so the "Reset zoom" button surfaces.
|
|
1272
|
+
*
|
|
1273
|
+
* The internal `hasUserMovedMap` flag only flips on real pointer / wheel
|
|
1274
|
+
* input — programmatic `flyTo` / `fitBounds` calls from consumers don't
|
|
1275
|
+
* trigger it, so a page that drives the camera via an in-app affordance
|
|
1276
|
+
* (clicking an alert row, a search result, etc.) leaves the user with
|
|
1277
|
+
* no way back to the default frame. Consumers should call this after
|
|
1278
|
+
* any programmatic camera change that the user could reasonably want
|
|
1279
|
+
* to undo.
|
|
1280
|
+
*/
|
|
1281
|
+
markMapAsMoved: () => void;
|
|
1270
1282
|
}
|
|
1271
1283
|
interface InteractiveMapProps {
|
|
1272
1284
|
/**
|
|
@@ -1267,6 +1267,18 @@ interface InteractiveMapHandle {
|
|
|
1267
1267
|
* Get the underlying Mapbox map instance
|
|
1268
1268
|
*/
|
|
1269
1269
|
getMap: () => MapRef | null;
|
|
1270
|
+
/**
|
|
1271
|
+
* Mark the map as user-moved so the "Reset zoom" button surfaces.
|
|
1272
|
+
*
|
|
1273
|
+
* The internal `hasUserMovedMap` flag only flips on real pointer / wheel
|
|
1274
|
+
* input — programmatic `flyTo` / `fitBounds` calls from consumers don't
|
|
1275
|
+
* trigger it, so a page that drives the camera via an in-app affordance
|
|
1276
|
+
* (clicking an alert row, a search result, etc.) leaves the user with
|
|
1277
|
+
* no way back to the default frame. Consumers should call this after
|
|
1278
|
+
* any programmatic camera change that the user could reasonably want
|
|
1279
|
+
* to undo.
|
|
1280
|
+
*/
|
|
1281
|
+
markMapAsMoved: () => void;
|
|
1270
1282
|
}
|
|
1271
1283
|
interface InteractiveMapProps {
|
|
1272
1284
|
/**
|
|
@@ -163,6 +163,17 @@
|
|
|
163
163
|
--action-destructive-text: #ffffff;
|
|
164
164
|
--action-disabled-background: #d1d5db;
|
|
165
165
|
--action-disabled-text: #6b7280;
|
|
166
|
+
--elevation-surface-default: #1a2038;
|
|
167
|
+
--elevation-surface-raised: #1a2038;
|
|
168
|
+
--elevation-surface-floating: #1a2038;
|
|
169
|
+
--elevation-surface-overlay: #1a2038;
|
|
170
|
+
--shadow-none: none;
|
|
171
|
+
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.06);
|
|
172
|
+
--shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
173
|
+
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10), 0 2px 4px rgba(0, 0, 0, 0.06);
|
|
174
|
+
--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
|
|
175
|
+
--shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.08);
|
|
176
|
+
--shadow-overflow: 0 4px 12px rgba(0, 0, 0, 0.10);
|
|
166
177
|
--feedback-success-text: oklch(0.314 0.095 133.748);
|
|
167
178
|
--feedback-success-icon: oklch(0.437 0.154 132.474);
|
|
168
179
|
--feedback-success-background: oklch(0.99 0.01 131.68);
|
|
@@ -176,6 +176,17 @@
|
|
|
176
176
|
--action-destructive-text: #ffffff;
|
|
177
177
|
--action-disabled-background: #d1d5db;
|
|
178
178
|
--action-disabled-text: #6b7280;
|
|
179
|
+
--elevation-surface-default: #ffffff;
|
|
180
|
+
--elevation-surface-raised: #ffffff;
|
|
181
|
+
--elevation-surface-floating: #ffffff;
|
|
182
|
+
--elevation-surface-overlay: #ffffff;
|
|
183
|
+
--shadow-none: none;
|
|
184
|
+
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.06);
|
|
185
|
+
--shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
186
|
+
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10), 0 2px 4px rgba(0, 0, 0, 0.06);
|
|
187
|
+
--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
|
|
188
|
+
--shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.08);
|
|
189
|
+
--shadow-overflow: 0 4px 12px rgba(0, 0, 0, 0.10);
|
|
179
190
|
--feedback-success-text: oklch(0.314 0.095 133.748);
|
|
180
191
|
--feedback-success-icon: oklch(0.437 0.154 132.474);
|
|
181
192
|
--feedback-success-background: oklch(0.99 0.01 131.68);
|
|
@@ -474,6 +485,10 @@
|
|
|
474
485
|
--action-destructive-text: var(--color-white);
|
|
475
486
|
--action-disabled-background: var(--color-gray-300);
|
|
476
487
|
--action-disabled-text: var(--color-gray-500);
|
|
488
|
+
--elevation-surface-default: var(--color-background-surface);
|
|
489
|
+
--elevation-surface-raised: var(--color-background-surface);
|
|
490
|
+
--elevation-surface-floating: var(--color-background-surface);
|
|
491
|
+
--elevation-surface-overlay: var(--color-background-surface);
|
|
477
492
|
--feedback-success-text: var(--color-green-900);
|
|
478
493
|
--feedback-success-icon: var(--color-green-700);
|
|
479
494
|
--feedback-success-border: var(--color-green-600);
|