@texturehq/edges 1.12.1 → 1.12.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/index.css CHANGED
@@ -1,2 +1,2 @@
1
- .mapboxgl-ctrl-attrib,.mapboxgl-ctrl-logo{display:none!important}
1
+ .mapboxgl-ctrl-attrib,.mapboxgl-ctrl-logo{display:none!important}.map-tooltip .mapboxgl-popup-content{padding:.75rem 1rem;background-color:var(--color-background-surface);border:1px solid var(--color-border-default);border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;font-family:inherit}.map-tooltip .mapboxgl-popup-tip{border-top-color:var(--color-background-surface)}
2
2
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Maps/mapbox-overrides.css"],"sourcesContent":["/* Hide Mapbox attribution */\n.mapboxgl-ctrl-attrib {\n display: none !important;\n}\n\n/* Hide Mapbox logo */\n.mapboxgl-ctrl-logo {\n display: none !important;\n}\n"],"mappings":"AACA,CAAC,qBAKD,CAAC,mBAJC,QAAS,cACX","names":[]}
1
+ {"version":3,"sources":["../src/components/Maps/mapbox-overrides.css"],"sourcesContent":["/* Hide Mapbox attribution */\n.mapboxgl-ctrl-attrib {\n display: none !important;\n}\n\n/* Hide Mapbox logo */\n.mapboxgl-ctrl-logo {\n display: none !important;\n}\n\n/* Tooltip popup styling */\n.map-tooltip .mapboxgl-popup-content {\n padding: 0.75rem 1rem;\n background-color: var(--color-background-surface);\n border: 1px solid var(--color-border-default);\n border-radius: 0.5rem;\n box-shadow:\n 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n font-family: inherit;\n}\n\n.map-tooltip .mapboxgl-popup-tip {\n border-top-color: var(--color-background-surface);\n}\n"],"mappings":"AACA,CAAC,qBAKD,CAAC,mBAJC,QAAS,cACX,CAQA,CAAC,YAAY,CAAC,uBAXd,QAYW,OAAQ,KACjB,iBAAkB,IAAI,4BACtB,OAAQ,IAAI,MAAM,IAAI,wBAdxB,cAeiB,MACf,WACE,EAAE,KAAK,KAAK,KAAK,SAAgB,CACjC,EAAE,IAAI,KAAK,KAAK,UAClB,YAAa,OACf,CAEA,CAXC,YAWY,CAAC,mBACZ,iBAAkB,IAAI,2BACxB","names":[]}
package/dist/index.d.cts CHANGED
@@ -2,8 +2,8 @@ import { Key, ValidationResult, BreadcrumbProps, BreadcrumbsProps, ButtonProps a
2
2
  export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger } from 'react-aria-components';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { HTMLAttributes, ReactNode, ComponentProps, CSSProperties, ComponentType, Component, ErrorInfo } from 'react';
5
- import { F as FieldValue, B as BooleanFormat, a as FormattedValue, C as CurrentFormat, D as DateFormat, b as DistanceFormat, E as EnergyFormat, c as CurrencyFormat, N as NumberFormat, P as PhoneFormat, d as PowerFormat, e as FormatterFunction, R as ResistanceFormat, T as TemperatureUnitString, f as TemperatureUnit, g as TemperatureFormat, h as TextFormat, V as VoltageFormat, i as FieldFormat, j as BaseDataPoint, I as Icon, Y as YFormatType, k as TooltipData, l as IconName$2, m as ComponentFormatter, L as LayerSpec, n as CustomPinsSpec, G as GeoJsonLayerSpec, o as RasterLayerSpec, p as VectorLayerSpec } from './server-BwR7EOd8.cjs';
6
- export { A as ActionItem, r as ActionMenu, q as ActionMenuProps, t as AppShell, s as AppShellProps, v as Avatar, u as AvatarProps, x as Badge, w as BadgeProps, aE as BaseFormat, al as ChartContext, an as ChartMargin, J as CodeEditor, y as CodeEditorProps, z as CodeLanguage, H as CodeTheme, X as ColorSpec, aB as ComponentFormatOptions, aL as CurrentUnit, aO as CustomFormat, M as DateField, K as DateFieldProps, aH as DateFormatStyle, aN as DistanceUnit, aI as EnergyUnit, Q as FileUpload, O as FileUploadProps, S as Heading, a4 as InteractiveMap, Z as InteractiveMapProps, _ as LayerFeature, $ as LayerStyle, U as Loader, W as Logo, a5 as MAP_TYPES, a0 as MapPoint, a8 as Meter, a7 as MeterProps, aJ as PowerUnit, a1 as RenderType, aM as ResistanceUnit, aa as RichTextEditor, a9 as RichTextEditorProps, ac as SegmentOption, ad as SegmentedControl, ab as SegmentedControlProps, ag as SideNav, ae as SideNavItem, af as SideNavProps, a6 as StaticMap, a2 as StaticMapProps, ah as TextLink, aF as TextTransform, aG as TextTruncatePosition, ak as TooltipSeries, aj as TopNav, ai as TopNavProps, aK as VoltageUnit, as as YFormatSettings, a3 as ZoomStops, at as clearColorCache, au as createCategoryColorMap, ao as createXScale, ap as createYScale, aq as defaultMargin, aC as formatComponentValue, av as getContrastingTextColor, aw as getDefaultChartColor, ax as getDefaultColors, ay as getResolvedColor, az as getThemeCategoricalColors, ar as getYFormatSettings, aA as isLightColor, am as useChartContext, aD as useComponentFormatter } from './server-BwR7EOd8.cjs';
5
+ import { F as FieldValue, B as BooleanFormat, a as FormattedValue, C as CurrentFormat, D as DateFormat, b as DistanceFormat, E as EnergyFormat, c as CurrencyFormat, N as NumberFormat, P as PhoneFormat, d as PowerFormat, e as FormatterFunction, R as ResistanceFormat, T as TemperatureUnitString, f as TemperatureUnit, g as TemperatureFormat, h as TextFormat, V as VoltageFormat, i as FieldFormat, j as BaseDataPoint, I as Icon, Y as YFormatType, k as TooltipData, l as IconName$2, m as ComponentFormatter, L as LayerSpec, n as CustomPinsSpec, G as GeoJsonLayerSpec, o as RasterLayerSpec, p as VectorLayerSpec, q as ClusteredVectorLayerSpec } from './server-8T44SFVa.cjs';
6
+ export { A as ActionItem, s as ActionMenu, r as ActionMenuProps, u as AppShell, t as AppShellProps, w as Avatar, v as AvatarProps, y as Badge, x as BadgeProps, aF as BaseFormat, am as ChartContext, ao as ChartMargin, K as CodeEditor, z as CodeEditorProps, H as CodeLanguage, J as CodeTheme, Z as ColorSpec, aC as ComponentFormatOptions, aM as CurrentUnit, aP as CustomFormat, O as DateField, M as DateFieldProps, aI as DateFormatStyle, aO as DistanceUnit, aJ as EnergyUnit, S as FileUpload, Q as FileUploadProps, U as Heading, a5 as InteractiveMap, _ as InteractiveMapProps, $ as LayerFeature, a0 as LayerStyle, W as Loader, X as Logo, a6 as MAP_TYPES, a1 as MapPoint, a9 as Meter, a8 as MeterProps, aK as PowerUnit, a2 as RenderType, aN as ResistanceUnit, ab as RichTextEditor, aa as RichTextEditorProps, ad as SegmentOption, ae as SegmentedControl, ac as SegmentedControlProps, ah as SideNav, af as SideNavItem, ag as SideNavProps, a7 as StaticMap, a3 as StaticMapProps, ai as TextLink, aG as TextTransform, aH as TextTruncatePosition, al as TooltipSeries, ak as TopNav, aj as TopNavProps, aL as VoltageUnit, at as YFormatSettings, a4 as ZoomStops, au as clearColorCache, av as createCategoryColorMap, ap as createXScale, aq as createYScale, ar as defaultMargin, aD as formatComponentValue, aw as getContrastingTextColor, ax as getDefaultChartColor, ay as getDefaultColors, az as getResolvedColor, aA as getThemeCategoricalColors, as as getYFormatSettings, aB as isLightColor, an as useChartContext, aE as useComponentFormatter } from './server-8T44SFVa.cjs';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import { ScaleTime, ScaleLinear } from 'd3-scale';
9
9
  import '@phosphor-icons/react';
@@ -2839,6 +2839,14 @@ declare const layer: {
2839
2839
  * Raster layers display images rather than vector data.
2840
2840
  */
2841
2841
  raster: (config: Omit<RasterLayerSpec, "kind">) => RasterLayerSpec;
2842
+ /**
2843
+ * Create a clustered vector tile layer
2844
+ *
2845
+ * Use this for server-side clustered MVT tiles with large numbers of point features.
2846
+ * The backend service pre-clusters points and provides cluster metadata.
2847
+ * Automatically handles cluster styling, tooltips, and zoom interactions.
2848
+ */
2849
+ clusteredVector: (config: Omit<ClusteredVectorLayerSpec, "kind">) => ClusteredVectorLayerSpec;
2842
2850
  };
2843
2851
  /**
2844
2852
  * Type guard to check if a layer is a vector layer
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import { Key, ValidationResult, BreadcrumbProps, BreadcrumbsProps, ButtonProps a
2
2
  export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger } from 'react-aria-components';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { HTMLAttributes, ReactNode, ComponentProps, CSSProperties, ComponentType, Component, ErrorInfo } from 'react';
5
- import { F as FieldValue, B as BooleanFormat, a as FormattedValue, C as CurrentFormat, D as DateFormat, b as DistanceFormat, E as EnergyFormat, c as CurrencyFormat, N as NumberFormat, P as PhoneFormat, d as PowerFormat, e as FormatterFunction, R as ResistanceFormat, T as TemperatureUnitString, f as TemperatureUnit, g as TemperatureFormat, h as TextFormat, V as VoltageFormat, i as FieldFormat, j as BaseDataPoint, I as Icon, Y as YFormatType, k as TooltipData, l as IconName$2, m as ComponentFormatter, L as LayerSpec, n as CustomPinsSpec, G as GeoJsonLayerSpec, o as RasterLayerSpec, p as VectorLayerSpec } from './server-BwR7EOd8.js';
6
- export { A as ActionItem, r as ActionMenu, q as ActionMenuProps, t as AppShell, s as AppShellProps, v as Avatar, u as AvatarProps, x as Badge, w as BadgeProps, aE as BaseFormat, al as ChartContext, an as ChartMargin, J as CodeEditor, y as CodeEditorProps, z as CodeLanguage, H as CodeTheme, X as ColorSpec, aB as ComponentFormatOptions, aL as CurrentUnit, aO as CustomFormat, M as DateField, K as DateFieldProps, aH as DateFormatStyle, aN as DistanceUnit, aI as EnergyUnit, Q as FileUpload, O as FileUploadProps, S as Heading, a4 as InteractiveMap, Z as InteractiveMapProps, _ as LayerFeature, $ as LayerStyle, U as Loader, W as Logo, a5 as MAP_TYPES, a0 as MapPoint, a8 as Meter, a7 as MeterProps, aJ as PowerUnit, a1 as RenderType, aM as ResistanceUnit, aa as RichTextEditor, a9 as RichTextEditorProps, ac as SegmentOption, ad as SegmentedControl, ab as SegmentedControlProps, ag as SideNav, ae as SideNavItem, af as SideNavProps, a6 as StaticMap, a2 as StaticMapProps, ah as TextLink, aF as TextTransform, aG as TextTruncatePosition, ak as TooltipSeries, aj as TopNav, ai as TopNavProps, aK as VoltageUnit, as as YFormatSettings, a3 as ZoomStops, at as clearColorCache, au as createCategoryColorMap, ao as createXScale, ap as createYScale, aq as defaultMargin, aC as formatComponentValue, av as getContrastingTextColor, aw as getDefaultChartColor, ax as getDefaultColors, ay as getResolvedColor, az as getThemeCategoricalColors, ar as getYFormatSettings, aA as isLightColor, am as useChartContext, aD as useComponentFormatter } from './server-BwR7EOd8.js';
5
+ import { F as FieldValue, B as BooleanFormat, a as FormattedValue, C as CurrentFormat, D as DateFormat, b as DistanceFormat, E as EnergyFormat, c as CurrencyFormat, N as NumberFormat, P as PhoneFormat, d as PowerFormat, e as FormatterFunction, R as ResistanceFormat, T as TemperatureUnitString, f as TemperatureUnit, g as TemperatureFormat, h as TextFormat, V as VoltageFormat, i as FieldFormat, j as BaseDataPoint, I as Icon, Y as YFormatType, k as TooltipData, l as IconName$2, m as ComponentFormatter, L as LayerSpec, n as CustomPinsSpec, G as GeoJsonLayerSpec, o as RasterLayerSpec, p as VectorLayerSpec, q as ClusteredVectorLayerSpec } from './server-8T44SFVa.js';
6
+ export { A as ActionItem, s as ActionMenu, r as ActionMenuProps, u as AppShell, t as AppShellProps, w as Avatar, v as AvatarProps, y as Badge, x as BadgeProps, aF as BaseFormat, am as ChartContext, ao as ChartMargin, K as CodeEditor, z as CodeEditorProps, H as CodeLanguage, J as CodeTheme, Z as ColorSpec, aC as ComponentFormatOptions, aM as CurrentUnit, aP as CustomFormat, O as DateField, M as DateFieldProps, aI as DateFormatStyle, aO as DistanceUnit, aJ as EnergyUnit, S as FileUpload, Q as FileUploadProps, U as Heading, a5 as InteractiveMap, _ as InteractiveMapProps, $ as LayerFeature, a0 as LayerStyle, W as Loader, X as Logo, a6 as MAP_TYPES, a1 as MapPoint, a9 as Meter, a8 as MeterProps, aK as PowerUnit, a2 as RenderType, aN as ResistanceUnit, ab as RichTextEditor, aa as RichTextEditorProps, ad as SegmentOption, ae as SegmentedControl, ac as SegmentedControlProps, ah as SideNav, af as SideNavItem, ag as SideNavProps, a7 as StaticMap, a3 as StaticMapProps, ai as TextLink, aG as TextTransform, aH as TextTruncatePosition, al as TooltipSeries, ak as TopNav, aj as TopNavProps, aL as VoltageUnit, at as YFormatSettings, a4 as ZoomStops, au as clearColorCache, av as createCategoryColorMap, ap as createXScale, aq as createYScale, ar as defaultMargin, aD as formatComponentValue, aw as getContrastingTextColor, ax as getDefaultChartColor, ay as getDefaultColors, az as getResolvedColor, aA as getThemeCategoricalColors, as as getYFormatSettings, aB as isLightColor, an as useChartContext, aE as useComponentFormatter } from './server-8T44SFVa.js';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import { ScaleTime, ScaleLinear } from 'd3-scale';
9
9
  import '@phosphor-icons/react';
@@ -2839,6 +2839,14 @@ declare const layer: {
2839
2839
  * Raster layers display images rather than vector data.
2840
2840
  */
2841
2841
  raster: (config: Omit<RasterLayerSpec, "kind">) => RasterLayerSpec;
2842
+ /**
2843
+ * Create a clustered vector tile layer
2844
+ *
2845
+ * Use this for server-side clustered MVT tiles with large numbers of point features.
2846
+ * The backend service pre-clusters points and provides cluster metadata.
2847
+ * Automatically handles cluster styling, tooltips, and zoom interactions.
2848
+ */
2849
+ clusteredVector: (config: Omit<ClusteredVectorLayerSpec, "kind">) => ClusteredVectorLayerSpec;
2842
2850
  };
2843
2851
  /**
2844
2852
  * Type guard to check if a layer is a vector layer