@texturehq/edges 1.15.0 → 1.15.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.
@@ -1446,6 +1446,21 @@ interface InteractiveMapProps {
1446
1446
  longitude: number;
1447
1447
  accuracy?: number;
1448
1448
  } | null) => void;
1449
+ /**
1450
+ * Show a marker pin at the map center
1451
+ * Useful for displaying a central location alongside other layers
1452
+ * The marker appears at the initial view state center (or current center if controlled)
1453
+ * @default false
1454
+ */
1455
+ showMarker?: boolean;
1456
+ /**
1457
+ * Custom location for the center marker (overrides view state center)
1458
+ * Only used when showMarker is true
1459
+ */
1460
+ markerLocation?: {
1461
+ latitude: number;
1462
+ longitude: number;
1463
+ };
1449
1464
  }
1450
1465
  declare const InteractiveMap: React__default.ForwardRefExoticComponent<InteractiveMapProps & React__default.RefAttributes<InteractiveMapHandle>>;
1451
1466
 
@@ -1446,6 +1446,21 @@ interface InteractiveMapProps {
1446
1446
  longitude: number;
1447
1447
  accuracy?: number;
1448
1448
  } | null) => void;
1449
+ /**
1450
+ * Show a marker pin at the map center
1451
+ * Useful for displaying a central location alongside other layers
1452
+ * The marker appears at the initial view state center (or current center if controlled)
1453
+ * @default false
1454
+ */
1455
+ showMarker?: boolean;
1456
+ /**
1457
+ * Custom location for the center marker (overrides view state center)
1458
+ * Only used when showMarker is true
1459
+ */
1460
+ markerLocation?: {
1461
+ latitude: number;
1462
+ longitude: number;
1463
+ };
1449
1464
  }
1450
1465
  declare const InteractiveMap: React__default.ForwardRefExoticComponent<InteractiveMapProps & React__default.RefAttributes<InteractiveMapHandle>>;
1451
1466
 
package/dist/server.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ActionItem, u as ActionMenuProps, x as AppShell, w as AppShellProps, z as Avatar, y as AvatarProps, k as BadgeProps, j as BaseDataPoint, aq as ChartMargin, J as CodeEditorProps, K as CodeLanguage, M as CodeTheme, Q as DateFieldProps, U as FileUploadProps, X as Heading, a0 as InteractiveMapProps, Z as Loader, _ as Logo, a3 as MapPoint, aa as MeterProps, ac as RichTextEditorProps, af as SegmentOption, ae as SegmentedControlProps, aj as SideNav, ah as SideNavItem, ai as SideNavProps, a5 as StaticMapProps, ak as TextLink, l as TooltipData, an as TooltipSeries, am as TopNav, al as TopNavProps, av as YFormatSettings, Y as YFormatType, aw as clearColorCache, ax as createCategoryColorMap, ar as createXScale, as as createYScale, at as defaultMargin, ay as getContrastingTextColor, az as getDefaultChartColor, aA as getDefaultColors, aB as getResolvedColor, aC as getThemeCategoricalColors, au as getYFormatSettings, aD as isLightColor } from './server-Bvpt61Tf.cjs';
1
+ export { A as ActionItem, u as ActionMenuProps, x as AppShell, w as AppShellProps, z as Avatar, y as AvatarProps, k as BadgeProps, j as BaseDataPoint, aq as ChartMargin, J as CodeEditorProps, K as CodeLanguage, M as CodeTheme, Q as DateFieldProps, U as FileUploadProps, X as Heading, a0 as InteractiveMapProps, Z as Loader, _ as Logo, a3 as MapPoint, aa as MeterProps, ac as RichTextEditorProps, af as SegmentOption, ae as SegmentedControlProps, aj as SideNav, ah as SideNavItem, ai as SideNavProps, a5 as StaticMapProps, ak as TextLink, l as TooltipData, an as TooltipSeries, am as TopNav, al as TopNavProps, av as YFormatSettings, Y as YFormatType, aw as clearColorCache, ax as createCategoryColorMap, ar as createXScale, as as createYScale, at as defaultMargin, ay as getContrastingTextColor, az as getDefaultChartColor, aA as getDefaultColors, aB as getResolvedColor, aC as getThemeCategoricalColors, au as getYFormatSettings, aD as isLightColor } from './server-2XGnhJXF.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, u as ActionMenuProps, x as AppShell, w as AppShellProps, z as Avatar, y as AvatarProps, k as BadgeProps, j as BaseDataPoint, aq as ChartMargin, J as CodeEditorProps, K as CodeLanguage, M as CodeTheme, Q as DateFieldProps, U as FileUploadProps, X as Heading, a0 as InteractiveMapProps, Z as Loader, _ as Logo, a3 as MapPoint, aa as MeterProps, ac as RichTextEditorProps, af as SegmentOption, ae as SegmentedControlProps, aj as SideNav, ah as SideNavItem, ai as SideNavProps, a5 as StaticMapProps, ak as TextLink, l as TooltipData, an as TooltipSeries, am as TopNav, al as TopNavProps, av as YFormatSettings, Y as YFormatType, aw as clearColorCache, ax as createCategoryColorMap, ar as createXScale, as as createYScale, at as defaultMargin, ay as getContrastingTextColor, az as getDefaultChartColor, aA as getDefaultColors, aB as getResolvedColor, aC as getThemeCategoricalColors, au as getYFormatSettings, aD as isLightColor } from './server-Bvpt61Tf.js';
1
+ export { A as ActionItem, u as ActionMenuProps, x as AppShell, w as AppShellProps, z as Avatar, y as AvatarProps, k as BadgeProps, j as BaseDataPoint, aq as ChartMargin, J as CodeEditorProps, K as CodeLanguage, M as CodeTheme, Q as DateFieldProps, U as FileUploadProps, X as Heading, a0 as InteractiveMapProps, Z as Loader, _ as Logo, a3 as MapPoint, aa as MeterProps, ac as RichTextEditorProps, af as SegmentOption, ae as SegmentedControlProps, aj as SideNav, ah as SideNavItem, ai as SideNavProps, a5 as StaticMapProps, ak as TextLink, l as TooltipData, an as TooltipSeries, am as TopNav, al as TopNavProps, av as YFormatSettings, Y as YFormatType, aw as clearColorCache, ax as createCategoryColorMap, ar as createXScale, as as createYScale, at as defaultMargin, ay as getContrastingTextColor, az as getDefaultChartColor, aA as getDefaultColors, aB as getResolvedColor, aC as getThemeCategoricalColors, au as getYFormatSettings, aD as isLightColor } from './server-2XGnhJXF.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
@@ -99,6 +99,7 @@
99
99
  --font-weight-semibold: 600;
100
100
  --font-weight-bold: 700;
101
101
  --feedback-success-text: oklch(0.314 0.095 133.748);
102
+ --color-map-marker-default: #444ae1;
102
103
  --color-background-body: #ffffff;
103
104
  --color-background-surface: #ffffff;
104
105
  --color-background-muted: #f3f4f6;
@@ -452,6 +453,7 @@
452
453
  --feedback-info-icon: oklch(0.488 0.243 255.638);
453
454
  --feedback-info-background: oklch(0.97 0.014 237.69);
454
455
  --feedback-info-border: oklch(0.809 0.105 244.039);
456
+ --color-map-marker-default: #7a8ee1;
455
457
  --color-map-streets-border: #000000;
456
458
  --color-map-neutral-border: #000000;
457
459
  --skeleton-base: #e5e7eb;
@@ -1678,6 +1680,15 @@
1678
1680
  .h-\[120px\] {
1679
1681
  height: 120px;
1680
1682
  }
1683
+ .h-\[250px\] {
1684
+ height: 250px;
1685
+ }
1686
+ .h-\[300px\] {
1687
+ height: 300px;
1688
+ }
1689
+ .h-\[350px\] {
1690
+ height: 350px;
1691
+ }
1681
1692
  .h-\[400px\] {
1682
1693
  height: 400px;
1683
1694
  }
@@ -1693,6 +1704,9 @@
1693
1704
  .h-\[calc\(100\%\+2\.5rem\)\] {
1694
1705
  height: calc(100% + 2.5rem);
1695
1706
  }
1707
+ .h-\[calc\(100\%-3rem\)\] {
1708
+ height: calc(100% - 3rem);
1709
+ }
1696
1710
  .h-\[calc\(100dvh-60px\)\] {
1697
1711
  height: calc(100dvh - 60px);
1698
1712
  }
@@ -3684,6 +3698,9 @@
3684
3698
  .text-inherit {
3685
3699
  color: inherit;
3686
3700
  }
3701
+ .text-map-marker-default {
3702
+ color: var(--color-map-marker-default);
3703
+ }
3687
3704
  .text-orange-500 {
3688
3705
  color: var(--color-orange-500);
3689
3706
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.15.0",
3
- "generatedAt": "2025-10-30T11:18:28.656Z",
2
+ "version": "1.15.1",
3
+ "generatedAt": "2025-10-30T16:22:49.376Z",
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.15.0",
3
+ "version": "1.15.1",
4
4
  "author": "Nicholas Brown <nick@texturehq.com>",
5
5
  "description": "A shared component library for Texture",
6
6
  "type": "module",