@texturehq/edges 1.7.0 → 1.7.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.
@@ -1205,6 +1205,21 @@ interface InteractiveMapProps {
1205
1205
  * controls={false}
1206
1206
  */
1207
1207
  controls?: MapControl[] | "default" | false;
1208
+ /**
1209
+ * Show user location as a blue dot marker (like Google/Apple Maps)
1210
+ * This only controls the visibility of the blue dot marker.
1211
+ * Location tracking is automatically started when the user clicks the geolocate button.
1212
+ * @default true
1213
+ */
1214
+ showUserLocation?: boolean;
1215
+ /**
1216
+ * Callback when user location changes
1217
+ */
1218
+ onUserLocationChange?: (location: {
1219
+ latitude: number;
1220
+ longitude: number;
1221
+ accuracy?: number;
1222
+ } | null) => void;
1208
1223
  }
1209
1224
  declare const InteractiveMap: React__default.ForwardRefExoticComponent<InteractiveMapProps & React__default.RefAttributes<InteractiveMapHandle>>;
1210
1225
 
@@ -1205,6 +1205,21 @@ interface InteractiveMapProps {
1205
1205
  * controls={false}
1206
1206
  */
1207
1207
  controls?: MapControl[] | "default" | false;
1208
+ /**
1209
+ * Show user location as a blue dot marker (like Google/Apple Maps)
1210
+ * This only controls the visibility of the blue dot marker.
1211
+ * Location tracking is automatically started when the user clicks the geolocate button.
1212
+ * @default true
1213
+ */
1214
+ showUserLocation?: boolean;
1215
+ /**
1216
+ * Callback when user location changes
1217
+ */
1218
+ onUserLocationChange?: (location: {
1219
+ latitude: number;
1220
+ longitude: number;
1221
+ accuracy?: number;
1222
+ } | null) => void;
1208
1223
  }
1209
1224
  declare const InteractiveMap: React__default.ForwardRefExoticComponent<InteractiveMapProps & React__default.RefAttributes<InteractiveMapHandle>>;
1210
1225
 
package/dist/server.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ActionItem, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, B as BaseDataPoint, l as Card, a6 as ChartMargin, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, D as DateFieldProps, F as FileUploadProps, H as Heading, v as InteractiveMapProps, s as Loader, t as Logo, M as MapPoint, N as Meter, K as MeterProps, O as RichTextEditorProps, U as SegmentOption, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, S as StaticMapProps, a0 as TextLink, T as TooltipData, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Y as YFormatType, ac as clearColorCache, ad as createCategoryColorMap, a7 as createXScale, a8 as createYScale, a9 as defaultMargin, ae as getContrastingTextColor, af as getDefaultChartColor, ag as getDefaultColors, ah as getResolvedColor, ai as getThemeCategoricalColors, aa as getYFormatSettings, aj as isLightColor } from './server-gOGAJU90.cjs';
1
+ export { A as ActionItem, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, B as BaseDataPoint, l as Card, a6 as ChartMargin, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, D as DateFieldProps, F as FileUploadProps, H as Heading, v as InteractiveMapProps, s as Loader, t as Logo, M as MapPoint, N as Meter, K as MeterProps, O as RichTextEditorProps, U as SegmentOption, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, S as StaticMapProps, a0 as TextLink, T as TooltipData, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Y as YFormatType, ac as clearColorCache, ad as createCategoryColorMap, a7 as createXScale, a8 as createYScale, a9 as defaultMargin, ae as getContrastingTextColor, af as getDefaultChartColor, ag as getDefaultColors, ah as getResolvedColor, ai as getThemeCategoricalColors, aa as getYFormatSettings, aj as isLightColor } from './server-DAd0A202.cjs';
2
2
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
package/dist/server.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ActionItem, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, B as BaseDataPoint, l as Card, a6 as ChartMargin, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, D as DateFieldProps, F as FileUploadProps, H as Heading, v as InteractiveMapProps, s as Loader, t as Logo, M as MapPoint, N as Meter, K as MeterProps, O as RichTextEditorProps, U as SegmentOption, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, S as StaticMapProps, a0 as TextLink, T as TooltipData, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Y as YFormatType, ac as clearColorCache, ad as createCategoryColorMap, a7 as createXScale, a8 as createYScale, a9 as defaultMargin, ae as getContrastingTextColor, af as getDefaultChartColor, ag as getDefaultColors, ah as getResolvedColor, ai as getThemeCategoricalColors, aa as getYFormatSettings, aj as isLightColor } from './server-gOGAJU90.js';
1
+ export { A as ActionItem, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, B as BaseDataPoint, l as Card, a6 as ChartMargin, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, D as DateFieldProps, F as FileUploadProps, H as Heading, v as InteractiveMapProps, s as Loader, t as Logo, M as MapPoint, N as Meter, K as MeterProps, O as RichTextEditorProps, U as SegmentOption, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, S as StaticMapProps, a0 as TextLink, T as TooltipData, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Y as YFormatType, ac as clearColorCache, ad as createCategoryColorMap, a7 as createXScale, a8 as createYScale, a9 as defaultMargin, ae as getContrastingTextColor, af as getDefaultChartColor, ag as getDefaultColors, ah as getResolvedColor, ai as getThemeCategoricalColors, aa as getYFormatSettings, aj as isLightColor } from './server-DAd0A202.js';
2
2
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
package/dist/styles.css CHANGED
@@ -1818,6 +1818,9 @@
1818
1818
  .transform {
1819
1819
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
1820
1820
  }
1821
+ .animate-\[ping_2s_ease-in-out_infinite\] {
1822
+ animation: ping 2s ease-in-out infinite;
1823
+ }
1821
1824
  .animate-bounce {
1822
1825
  animation: var(--animate-bounce);
1823
1826
  }
@@ -2411,6 +2414,12 @@
2411
2414
  .border-brand-primary {
2412
2415
  border-color: var(--color-brand-primary);
2413
2416
  }
2417
+ .border-brand-primary\/20 {
2418
+ border-color: color-mix(in srgb, #444ae1 20%, transparent);
2419
+ @supports (color: color-mix(in lab, red, red)) {
2420
+ border-color: color-mix(in oklab, var(--color-brand-primary) 20%, transparent);
2421
+ }
2422
+ }
2414
2423
  .border-current {
2415
2424
  border-color: currentcolor;
2416
2425
  }
@@ -2573,6 +2582,12 @@
2573
2582
  .bg-brand-primary {
2574
2583
  background-color: var(--color-brand-primary);
2575
2584
  }
2585
+ .bg-brand-primary\/10 {
2586
+ background-color: color-mix(in srgb, #444ae1 10%, transparent);
2587
+ @supports (color: color-mix(in lab, red, red)) {
2588
+ background-color: color-mix(in oklab, var(--color-brand-primary) 10%, transparent);
2589
+ }
2590
+ }
2576
2591
  .bg-current {
2577
2592
  background-color: currentcolor;
2578
2593
  }
@@ -4954,12 +4969,6 @@
4954
4969
  border-top-width: 1px;
4955
4970
  }
4956
4971
  }
4957
- .lg\:border-b {
4958
- @media (width >= 64rem) {
4959
- border-bottom-style: var(--tw-border-style);
4960
- border-bottom-width: 1px;
4961
- }
4962
- }
4963
4972
  .xl\:col-auto {
4964
4973
  @media (width >= 80rem) {
4965
4974
  grid-column: auto;
@@ -6468,6 +6477,12 @@
6468
6477
  transform: rotate(360deg);
6469
6478
  }
6470
6479
  }
6480
+ @keyframes ping {
6481
+ 75%, 100% {
6482
+ transform: scale(2);
6483
+ opacity: 0;
6484
+ }
6485
+ }
6471
6486
  @keyframes pulse {
6472
6487
  50% {
6473
6488
  opacity: 0.5;
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.7.0",
3
- "generatedAt": "2025-10-15T17:18:21.444Z",
2
+ "version": "1.7.2",
3
+ "generatedAt": "2025-10-16T00:46:31.195Z",
4
4
  "categories": {
5
5
  "hooks": {
6
6
  "description": "React hooks for common functionality like debouncing, local storage, and time controls",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texturehq/edges",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "author": "Nicholas Brown <nick@texturehq.com>",
5
5
  "description": "A shared component library for Texture",
6
6
  "type": "module",