@texturehq/edges 1.2.1 → 1.3.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/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
- import { I as Icon, B as BaseDataPoint, Y as YFormatType, T as TooltipData, a as IconName$2 } from './server-C1hypeJ9.cjs';
2
- export { A as ActionItem, c as ActionMenu, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, k as Card, C as CardProps, j as CardVariant, V as ChartContext, X as ChartMargin, o as CodeEditor, l as CodeEditorProps, m as CodeLanguage, n as CodeTheme, p as DateField, D as DateFieldProps, q as FileUpload, F as FileUploadProps, H as Heading, t as InteractiveMap, s as InteractiveMapProps, L as Loader, r as Logo, u as MAPBOX_THEMES, M as MapPoint, x as Meter, w as MeterProps, y as RichTextEditor, R as RichTextEditorProps, E as SegmentOption, G as SegmentedControl, z as SegmentedControlProps, N as SideNav, J as SideNavItem, K as SideNavProps, v as StaticMap, S as StaticMapProps, O as TextLink, U as TooltipSeries, Q as TopNav, P as TopNavProps, a1 as YFormatSettings, a2 as clearColorCache, a3 as createCategoryColorMap, Z as createXScale, _ as createYScale, $ as defaultMargin, a4 as getContrastingTextColor, a5 as getDefaultChartColor, a6 as getDefaultColors, a7 as getResolvedColor, a8 as getThemeCategoricalColors, a0 as getYFormatSettings, a9 as isLightColor, W as useChartContext } from './server-C1hypeJ9.cjs';
1
+ import { I as Icon, B as BaseDataPoint, Y as YFormatType, T as TooltipData, a as IconName$2, L as LayerSpec, C as CustomPinsSpec, G as GeoJsonLayerSpec, R as RasterLayerSpec, V as VectorLayerSpec } from './server-Utz6Sv9w.cjs';
2
+ export { A as ActionItem, c as ActionMenu, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, l as Card, j as CardProps, k as CardVariant, a4 as ChartContext, a6 as ChartMargin, p as CodeEditor, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, u as ColorSpec, q as DateField, D as DateFieldProps, r as FileUpload, F as FileUploadProps, H as Heading, z as InteractiveMap, v as InteractiveMapProps, w as LayerFeature, x as LayerStyle, s as Loader, t as Logo, E as MAP_TYPES, M as MapPoint, N as Meter, K as MeterProps, y as RenderType, P as RichTextEditor, O as RichTextEditorProps, U as SegmentOption, W as SegmentedControl, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, J as StaticMap, S as StaticMapProps, a0 as TextLink, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Z as ZoomStops, 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, a5 as useChartContext } from './server-Utz6Sv9w.cjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as React$1 from 'react';
5
- import React__default, { ComponentProps, ReactNode, ComponentType, Component, ErrorInfo } from 'react';
5
+ import React__default, { ComponentProps, ReactNode, ComponentType, Component, ErrorInfo, CSSProperties } from 'react';
6
6
  import { Key, ValidationResult, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, DateValue, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, CheckboxRenderProps, CheckboxGroupProps as CheckboxGroupProps$1, DateRangePickerProps as DateRangePickerProps$1, DialogProps, TextProps, FormProps, ListBoxProps as ListBoxProps$1, ListBoxItemProps, NumberFieldProps as NumberFieldProps$1, PopoverProps as PopoverProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, RangeCalendarProps as RangeCalendarProps$1, SelectProps as SelectProps$1, SwitchProps as SwitchProps$1, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps, TabsProps as TabsProps$2, TextFieldProps as TextFieldProps$1, TimeFieldProps as TimeFieldProps$1, TimeValue, TooltipProps as TooltipProps$1 } from 'react-aria-components';
7
7
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
8
8
  import { ScaleTime, ScaleLinear } from 'd3-scale';
@@ -1938,6 +1938,219 @@ declare namespace KpiGroup {
1938
1938
  var displayName: string;
1939
1939
  }
1940
1940
 
1941
+ interface ListProps<T = unknown> {
1942
+ id?: string;
1943
+ items: T[];
1944
+ /** Render a row; receives item + selection/hover state */
1945
+ renderItem: (args: {
1946
+ item: T;
1947
+ index: number;
1948
+ isSelected: boolean;
1949
+ isHovered: boolean;
1950
+ rowProps: {
1951
+ id: string;
1952
+ role: string;
1953
+ "aria-selected": boolean;
1954
+ "aria-current"?: "page";
1955
+ tabIndex: number;
1956
+ onClick: (id: string) => void;
1957
+ onMouseEnter: (id: string) => void;
1958
+ onMouseLeave: (id: string) => void;
1959
+ onFocus: (id: string) => void;
1960
+ onBlur: (id: string) => void;
1961
+ ref?: (el: HTMLElement | null) => void;
1962
+ };
1963
+ }) => ReactNode;
1964
+ /** Controlled selection (single) */
1965
+ selectedId?: string | null;
1966
+ onSelect?: (id: string | null, item?: T) => void;
1967
+ /** Map/hover sync (e.g., highlight pin) */
1968
+ onHoverChange?: (id: string | null, item?: T) => void;
1969
+ /** Loading & error UI gates */
1970
+ isLoading?: boolean;
1971
+ error?: string | null;
1972
+ /** Empty state */
1973
+ emptyMessage?: string;
1974
+ /** Density & dividers */
1975
+ variant?: "dense" | "relaxed";
1976
+ showDividers?: boolean;
1977
+ /** Virtualization hook (deferred) */
1978
+ /** ARIA */
1979
+ "aria-label"?: string;
1980
+ className?: string;
1981
+ style?: CSSProperties;
1982
+ }
1983
+ /**
1984
+ * List
1985
+ *
1986
+ * A semantic wrapper and state manager for rows. Handles selection, hover,
1987
+ * keyboard navigation, and accessibility. Composes with ListItem for visual rows.
1988
+ *
1989
+ * Example usage:
1990
+ * ```tsx
1991
+ * <List
1992
+ * items={sites}
1993
+ * selectedId={selectedSiteId}
1994
+ * onSelect={(id) => openDetail(id)}
1995
+ * onHoverChange={(id) => highlightOnMap(id)}
1996
+ * renderItem={({ item, rowProps, isSelected }) => (
1997
+ * <ListItem
1998
+ * id={item.id}
1999
+ * title={item.name}
2000
+ * subtitle={item.address?.city}
2001
+ * isSelected={isSelected}
2002
+ * {...rowProps}
2003
+ * />
2004
+ * )}
2005
+ * />
2006
+ * ```
2007
+ */
2008
+ declare function List<T>({ items, renderItem, selectedId, onSelect, onHoverChange, isLoading, error, emptyMessage, variant, showDividers, "aria-label": ariaLabel, className, style, }: ListProps<T>): react_jsx_runtime.JSX.Element;
2009
+
2010
+ interface Filter {
2011
+ id: string;
2012
+ label: string;
2013
+ value: string;
2014
+ onRemove: (id: string) => void;
2015
+ }
2016
+ interface SortOption {
2017
+ value: string;
2018
+ label: string;
2019
+ }
2020
+ interface ListHeaderProps {
2021
+ /** Optional title for the list context */
2022
+ title?: string;
2023
+ /** Search input props */
2024
+ search?: {
2025
+ value: string;
2026
+ placeholder?: string;
2027
+ onChange: (value: string) => void;
2028
+ onClear?: () => void;
2029
+ };
2030
+ /** Active filters to display as chips */
2031
+ filters?: Filter[];
2032
+ /** Sort options */
2033
+ sort?: {
2034
+ value: string;
2035
+ options: SortOption[];
2036
+ onChange: (value: string) => void;
2037
+ };
2038
+ /** Optional actions aligned to the right */
2039
+ actions?: ReactNode;
2040
+ /** Clear all filters action */
2041
+ onClearAll?: () => void;
2042
+ /** Layout variant for responsive behavior */
2043
+ variant?: "compact" | "spacious";
2044
+ className?: string;
2045
+ style?: CSSProperties;
2046
+ }
2047
+ /**
2048
+ * ListHeader
2049
+ *
2050
+ * A control bar that sits above any list, providing search, filters, sort, and actions.
2051
+ * Layout is responsive: compact in a sidebar, spacious in a full-page list.
2052
+ *
2053
+ * Example usage:
2054
+ * ```tsx
2055
+ * <ListHeader
2056
+ * title="Sites"
2057
+ * search={{
2058
+ * value: searchQuery,
2059
+ * placeholder: "Search sites...",
2060
+ * onChange: setSearchQuery,
2061
+ * }}
2062
+ * filters={activeFilters}
2063
+ * sort={{
2064
+ * value: sortBy,
2065
+ * options: sortOptions,
2066
+ * onChange: setSortBy,
2067
+ * }}
2068
+ * actions={<Button variant="primary">Save Collection</Button>}
2069
+ * onClearAll={clearAllFilters}
2070
+ * />
2071
+ * ```
2072
+ */
2073
+ declare function ListHeader({ title, search, filters, sort, actions, onClearAll, variant, className, style, }: ListHeaderProps): react_jsx_runtime.JSX.Element;
2074
+
2075
+ interface ListItemProps {
2076
+ id: string;
2077
+ title: ReactNode;
2078
+ subtitle?: ReactNode;
2079
+ meta?: ReactNode;
2080
+ leading?: ReactNode;
2081
+ trailing?: ReactNode;
2082
+ isSelected?: boolean;
2083
+ isHovered?: boolean;
2084
+ disabled?: boolean;
2085
+ /** If provided, renders as <a> with proper a11y; otherwise <button> */
2086
+ href?: string;
2087
+ onClick?: (id: string) => void;
2088
+ onMouseEnter?: (id: string) => void;
2089
+ onMouseLeave?: (id: string) => void;
2090
+ className?: string;
2091
+ style?: CSSProperties;
2092
+ }
2093
+ /**
2094
+ * ListItem
2095
+ *
2096
+ * A visual row component with consistent anatomy and states for use within List.
2097
+ * Supports both button and link variants with proper accessibility.
2098
+ *
2099
+ * Example usage:
2100
+ * ```tsx
2101
+ * <ListItem
2102
+ * id="item-1"
2103
+ * title="Site Name"
2104
+ * subtitle="City, Region"
2105
+ * meta={<span>12 devices</span>}
2106
+ * leading={<Icon name="MapPin" />}
2107
+ * trailing={<Button variant="icon" icon="Plus" />}
2108
+ * isSelected={true}
2109
+ * onClick={(id) => handleSelect(id)}
2110
+ * />
2111
+ * ```
2112
+ */
2113
+ declare function ListItem({ id, title, subtitle, meta, leading, trailing, isSelected, isHovered, disabled, href, onClick, onMouseEnter, onMouseLeave, className, style, }: ListItemProps): react_jsx_runtime.JSX.Element;
2114
+
2115
+ interface ListPaneProps {
2116
+ /** Content for the header area (typically ListHeader) */
2117
+ header?: ReactNode;
2118
+ /** Main content area (typically List with ListItems) */
2119
+ children: ReactNode;
2120
+ /** Optional footer content */
2121
+ footer?: ReactNode;
2122
+ /** Width of the pane */
2123
+ width?: "sm" | "md" | "lg" | "xl" | "2xl" | "auto";
2124
+ /** Theming */
2125
+ tone?: "neutral" | "subtle" | "brand";
2126
+ elevation?: "none" | "sm" | "md";
2127
+ showDivider?: boolean;
2128
+ /** Accessibility */
2129
+ "aria-label"?: string;
2130
+ "aria-labelledby"?: string;
2131
+ className?: string;
2132
+ style?: React.CSSProperties;
2133
+ }
2134
+ /**
2135
+ * ListPane
2136
+ *
2137
+ * A simple container component for list-driven UIs.
2138
+ * Provides a structured layout with optional header and footer,
2139
+ * suitable for wrapping ListHeader, List, and ListItem components.
2140
+ *
2141
+ * Example usage:
2142
+ * ```tsx
2143
+ * <ListPane
2144
+ * width="md"
2145
+ * header={<ListHeader title="Sites" search={...} />}
2146
+ * footer={<Button>Add Site</Button>}
2147
+ * >
2148
+ * <List items={sites} renderItem={...} />
2149
+ * </ListPane>
2150
+ * ```
2151
+ */
2152
+ declare function ListPane({ header, children, footer, width, tone, elevation, showDivider, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className, style, }: ListPaneProps): react_jsx_runtime.JSX.Element;
2153
+
1941
2154
  /**
1942
2155
  * ListBox
1943
2156
  *
@@ -1960,6 +2173,74 @@ interface ExtendedListBoxItemProps extends Omit<ListBoxItemProps, "className"> {
1960
2173
  }
1961
2174
  declare function ListBoxItem({ size, className, ...props }: ExtendedListBoxItemProps): react_jsx_runtime.JSX.Element;
1962
2175
 
2176
+ /**
2177
+ * Layer Builder Functions
2178
+ *
2179
+ * Friendly constructor functions that provide:
2180
+ * - TypeScript autocomplete and type safety
2181
+ * - Clear intent (layer.vector vs layer.geojson)
2182
+ * - Automatic 'kind' discriminator injection
2183
+ */
2184
+
2185
+ /**
2186
+ * Layer builder namespace - use like:
2187
+ *
2188
+ * @example
2189
+ * const myLayer = layer.vector({
2190
+ * id: 'feeders',
2191
+ * tileset: 'mapbox://texture.feeders',
2192
+ * sourceLayer: 'feeders',
2193
+ * renderAs: 'line',
2194
+ * style: { color: { token: 'brand-primary' } }
2195
+ * });
2196
+ */
2197
+ declare const layer: {
2198
+ /**
2199
+ * Create a vector tile layer
2200
+ *
2201
+ * Vector tiles are efficient for large datasets served from Mapbox or
2202
+ * custom tile servers. Use this for infrastructure layers, boundaries, etc.
2203
+ */
2204
+ vector: (config: Omit<VectorLayerSpec, "kind">) => VectorLayerSpec;
2205
+ /**
2206
+ * Create a GeoJSON layer
2207
+ *
2208
+ * GeoJSON is great for smaller datasets or data that changes frequently.
2209
+ * Can load from an object or URL. Supports client-side clustering.
2210
+ */
2211
+ geojson: (config: Omit<GeoJsonLayerSpec, "kind">) => GeoJsonLayerSpec;
2212
+ /**
2213
+ * Create a custom markers layer with React components
2214
+ *
2215
+ * Use this when you need fully custom UI for markers (cards, badges, etc.)
2216
+ * Good for small numbers of markers. For many markers, consider vector tiles.
2217
+ */
2218
+ customPins: <T = any>(config: Omit<CustomPinsSpec<T>, "kind">) => CustomPinsSpec<T>;
2219
+ /**
2220
+ * Create a raster layer from image tiles
2221
+ *
2222
+ * Use this for satellite imagery, weather overlays, heatmaps from tile servers, etc.
2223
+ * Raster layers display images rather than vector data.
2224
+ */
2225
+ raster: (config: Omit<RasterLayerSpec, "kind">) => RasterLayerSpec;
2226
+ };
2227
+ /**
2228
+ * Type guard to check if a layer is a vector layer
2229
+ */
2230
+ declare function isVectorLayer(layer: LayerSpec): layer is VectorLayerSpec;
2231
+ /**
2232
+ * Type guard to check if a layer is a GeoJSON layer
2233
+ */
2234
+ declare function isGeoJsonLayer(layer: LayerSpec): layer is GeoJsonLayerSpec;
2235
+ /**
2236
+ * Type guard to check if a layer is a custom pins layer
2237
+ */
2238
+ declare function isCustomPinsLayer(layer: LayerSpec): layer is CustomPinsSpec;
2239
+ /**
2240
+ * Type guard to check if a layer is a raster layer
2241
+ */
2242
+ declare function isRasterLayer(layer: LayerSpec): layer is RasterLayerSpec;
2243
+
1963
2244
  type NoticeVariant = "success" | "error" | "warning" | "info";
1964
2245
  interface NoticeProps {
1965
2246
  /** Unique identifier for the notice */
@@ -2723,4 +3004,4 @@ interface ColorModeProviderProps {
2723
3004
  }
2724
3005
  declare const ColorModeProvider: React.FC<ColorModeProviderProps>;
2725
3006
 
2726
- export { type Action, ActionCell, type ActionCellProps, AreaSeries, AutoMobileRenderer, Autocomplete, BarSeries, BaseDataPoint, type BaseFormat, type BaseInputProps, type BaseProps, BooleanCell, type BooleanCellProps, type BooleanFormat, Breadcrumb, type BreadcrumbItem, Breadcrumbs, Button, Calendar, CardMobileRenderer, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, type ChartExportMetadata, ChartTooltip, Checkbox, CheckboxGroup, Chip, ClearButton, ColorModeProvider, type Column, type ComponentFormatOptions, type ComponentFormatter, CopyToClipboard, type CurrencyFormat, type CurrentFormat, type CurrentUnit, type CustomFormat, DataTable, type DataTableProps, DateCell, type DateCellProps, type DateFormat, type DateFormatStyle, DateRangePicker, Description, type DescriptionProps, Dialog, DialogHeader, type DistanceFormat, type DistanceUnit, Drawer, type EnergyFormat, type EnergyUnit, ErrorBoundary, type ExportType, FieldError, type FieldErrorProps, type FieldFormat, FieldGroup, type FieldGroupProps, type FieldValue, Form, FormatRegistry, type FormattedValue, type FormatterFunction, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, Icon, Input, type InputProps, type InputStyleProps, InputWrapper, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, Label, type LabelProps, LineSeries, type LinkBehavior, ListBox, ListBoxItem, type MobileBreakpoint, type MobileConfig, type MobileRenderer, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberField, type NumberFormat, type PageActionsProps, type PageAsideProps, type PageContentProps, type PageFiltersProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PhoneFormat, PlaceSearch, Popover, type PowerFormat, type PowerUnit, ProgressBar, Radio, RadioGroup, RangeCalendar, type ResistanceFormat, type ResistanceUnit, type ResponsiveValue, SKELETON_SIZES, Section, type SectionProps, type SectionSpacing, type SectionVariant, Select, SelectCell, type SelectCellProps, Skeleton, Slider, type SortConfig, type SortDirection, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone, type StatValue, Switch, Tab, TabList, TabPanel, type TableDensity, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, type TemperatureFormat, type TemperatureUnit, type TemperatureUnitString, TextArea, TextAreaWithChips, TextCell, type TextCellProps, TextField, type TextFormat, type TextTransform, type TextTruncatePosition, TimeField, ToggleButton, Tooltip, TooltipData, type TrendPoint, type VoltageFormat, type VoltageUnit, YFormatType, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createFormat, enumToSentenceCase, exportChart, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, formatBoolean, formatComponentValue, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPhone, formatPhoneNumber, formatPower, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getFieldGroupStyles, getInputBackgroundStyles, getInputBaseStyles, getInputStateStyles, getNumericColorClasses, getSkeletonSize, inchesToCentimeters, isExportSupported, isNil, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, resolveValue, snakeCaseToWords, temperatureStringToSymbol, toA, toActiveInactive, toAmps, toBoolean, toCelsius, toCentimeters, toCheckmark, toCompactNumber, toCurrency, toCustomDateFormat, toDateString, toEnabledDisabled, toFahrenheit, toFeet, toFloat, toFormattedNumber, toFullDateTime, toGW, toGWh, toGigawatts, toISOString, toInches, toInteger, toKA, toKV, toKW, toKelvin, toKiloamps, toKilohms, toKilometers, toKilovolts, toKilowatts, toLowerCase, toMA, toMV, toMW, toMWh, toMegawatts, toMegohms, toMeters, toMiles, toMilliamps, toMillimeters, toMilliohms, toMillivolts, toNauticalMiles, toOhms, toOnOff, toPercentage, toRelativeTime, toScientificNotation, toSecret, toSentenceCase, toTemperature, toTitleCase, toTrueFalse, toUpperCase, toV, toVolts, toW, toWatts, toWh, toYards, tokWh, truncateEnd, truncateMiddle, truncateStart, ucFirst, useColorMode, useComponentFormatter, useDebounce, useInputFocus, useLocalStorage, useNotice, yardsToMeters };
3007
+ export { type Action, ActionCell, type ActionCellProps, AreaSeries, AutoMobileRenderer, Autocomplete, BarSeries, BaseDataPoint, type BaseFormat, type BaseInputProps, type BaseProps, BooleanCell, type BooleanCellProps, type BooleanFormat, Breadcrumb, type BreadcrumbItem, Breadcrumbs, Button, Calendar, CardMobileRenderer, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, type ChartExportMetadata, ChartTooltip, Checkbox, CheckboxGroup, Chip, ClearButton, ColorModeProvider, type Column, type ComponentFormatOptions, type ComponentFormatter, CopyToClipboard, type CurrencyFormat, type CurrentFormat, type CurrentUnit, type CustomFormat, CustomPinsSpec, DataTable, type DataTableProps, DateCell, type DateCellProps, type DateFormat, type DateFormatStyle, DateRangePicker, Description, type DescriptionProps, Dialog, DialogHeader, type DistanceFormat, type DistanceUnit, Drawer, type EnergyFormat, type EnergyUnit, ErrorBoundary, type ExportType, FieldError, type FieldErrorProps, type FieldFormat, FieldGroup, type FieldGroupProps, type FieldValue, type Filter, Form, FormatRegistry, type FormattedValue, type FormatterFunction, GeoJsonLayerSpec, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, Icon, Input, type InputProps, type InputStyleProps, InputWrapper, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, Label, type LabelProps, LayerSpec, LineSeries, type LinkBehavior, List, ListBox, ListBoxItem, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberField, type NumberFormat, type PageActionsProps, type PageAsideProps, type PageContentProps, type PageFiltersProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PhoneFormat, PlaceSearch, Popover, type PowerFormat, type PowerUnit, ProgressBar, Radio, RadioGroup, RangeCalendar, RasterLayerSpec, type ResistanceFormat, type ResistanceUnit, type ResponsiveValue, SKELETON_SIZES, Section, type SectionProps, type SectionSpacing, type SectionVariant, Select, SelectCell, type SelectCellProps, Skeleton, Slider, type SortConfig, type SortDirection, type SortOption, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone, type StatValue, Switch, Tab, TabList, TabPanel, type TableDensity, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, type TemperatureFormat, type TemperatureUnit, type TemperatureUnitString, TextArea, TextAreaWithChips, TextCell, type TextCellProps, TextField, type TextFormat, type TextTransform, type TextTruncatePosition, TimeField, ToggleButton, Tooltip, TooltipData, type TrendPoint, VectorLayerSpec, type VoltageFormat, type VoltageUnit, YFormatType, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createFormat, enumToSentenceCase, exportChart, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, formatBoolean, formatComponentValue, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPhone, formatPhoneNumber, formatPower, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getFieldGroupStyles, getInputBackgroundStyles, getInputBaseStyles, getInputStateStyles, getNumericColorClasses, getSkeletonSize, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, resolveValue, snakeCaseToWords, temperatureStringToSymbol, toA, toActiveInactive, toAmps, toBoolean, toCelsius, toCentimeters, toCheckmark, toCompactNumber, toCurrency, toCustomDateFormat, toDateString, toEnabledDisabled, toFahrenheit, toFeet, toFloat, toFormattedNumber, toFullDateTime, toGW, toGWh, toGigawatts, toISOString, toInches, toInteger, toKA, toKV, toKW, toKelvin, toKiloamps, toKilohms, toKilometers, toKilovolts, toKilowatts, toLowerCase, toMA, toMV, toMW, toMWh, toMegawatts, toMegohms, toMeters, toMiles, toMilliamps, toMillimeters, toMilliohms, toMillivolts, toNauticalMiles, toOhms, toOnOff, toPercentage, toRelativeTime, toScientificNotation, toSecret, toSentenceCase, toTemperature, toTitleCase, toTrueFalse, toUpperCase, toV, toVolts, toW, toWatts, toWh, toYards, tokWh, truncateEnd, truncateMiddle, truncateStart, ucFirst, useColorMode, useComponentFormatter, useDebounce, useInputFocus, useLocalStorage, useNotice, yardsToMeters };
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { I as Icon, B as BaseDataPoint, Y as YFormatType, T as TooltipData, a as IconName$2 } from './server-C1hypeJ9.js';
2
- export { A as ActionItem, c as ActionMenu, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, k as Card, C as CardProps, j as CardVariant, V as ChartContext, X as ChartMargin, o as CodeEditor, l as CodeEditorProps, m as CodeLanguage, n as CodeTheme, p as DateField, D as DateFieldProps, q as FileUpload, F as FileUploadProps, H as Heading, t as InteractiveMap, s as InteractiveMapProps, L as Loader, r as Logo, u as MAPBOX_THEMES, M as MapPoint, x as Meter, w as MeterProps, y as RichTextEditor, R as RichTextEditorProps, E as SegmentOption, G as SegmentedControl, z as SegmentedControlProps, N as SideNav, J as SideNavItem, K as SideNavProps, v as StaticMap, S as StaticMapProps, O as TextLink, U as TooltipSeries, Q as TopNav, P as TopNavProps, a1 as YFormatSettings, a2 as clearColorCache, a3 as createCategoryColorMap, Z as createXScale, _ as createYScale, $ as defaultMargin, a4 as getContrastingTextColor, a5 as getDefaultChartColor, a6 as getDefaultColors, a7 as getResolvedColor, a8 as getThemeCategoricalColors, a0 as getYFormatSettings, a9 as isLightColor, W as useChartContext } from './server-C1hypeJ9.js';
1
+ import { I as Icon, B as BaseDataPoint, Y as YFormatType, T as TooltipData, a as IconName$2, L as LayerSpec, C as CustomPinsSpec, G as GeoJsonLayerSpec, R as RasterLayerSpec, V as VectorLayerSpec } from './server-Utz6Sv9w.js';
2
+ export { A as ActionItem, c as ActionMenu, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, l as Card, j as CardProps, k as CardVariant, a4 as ChartContext, a6 as ChartMargin, p as CodeEditor, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, u as ColorSpec, q as DateField, D as DateFieldProps, r as FileUpload, F as FileUploadProps, H as Heading, z as InteractiveMap, v as InteractiveMapProps, w as LayerFeature, x as LayerStyle, s as Loader, t as Logo, E as MAP_TYPES, M as MapPoint, N as Meter, K as MeterProps, y as RenderType, P as RichTextEditor, O as RichTextEditorProps, U as SegmentOption, W as SegmentedControl, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, J as StaticMap, S as StaticMapProps, a0 as TextLink, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Z as ZoomStops, 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, a5 as useChartContext } from './server-Utz6Sv9w.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as React$1 from 'react';
5
- import React__default, { ComponentProps, ReactNode, ComponentType, Component, ErrorInfo } from 'react';
5
+ import React__default, { ComponentProps, ReactNode, ComponentType, Component, ErrorInfo, CSSProperties } from 'react';
6
6
  import { Key, ValidationResult, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, DateValue, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, CheckboxRenderProps, CheckboxGroupProps as CheckboxGroupProps$1, DateRangePickerProps as DateRangePickerProps$1, DialogProps, TextProps, FormProps, ListBoxProps as ListBoxProps$1, ListBoxItemProps, NumberFieldProps as NumberFieldProps$1, PopoverProps as PopoverProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, RangeCalendarProps as RangeCalendarProps$1, SelectProps as SelectProps$1, SwitchProps as SwitchProps$1, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps, TabsProps as TabsProps$2, TextFieldProps as TextFieldProps$1, TimeFieldProps as TimeFieldProps$1, TimeValue, TooltipProps as TooltipProps$1 } from 'react-aria-components';
7
7
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
8
8
  import { ScaleTime, ScaleLinear } from 'd3-scale';
@@ -1938,6 +1938,219 @@ declare namespace KpiGroup {
1938
1938
  var displayName: string;
1939
1939
  }
1940
1940
 
1941
+ interface ListProps<T = unknown> {
1942
+ id?: string;
1943
+ items: T[];
1944
+ /** Render a row; receives item + selection/hover state */
1945
+ renderItem: (args: {
1946
+ item: T;
1947
+ index: number;
1948
+ isSelected: boolean;
1949
+ isHovered: boolean;
1950
+ rowProps: {
1951
+ id: string;
1952
+ role: string;
1953
+ "aria-selected": boolean;
1954
+ "aria-current"?: "page";
1955
+ tabIndex: number;
1956
+ onClick: (id: string) => void;
1957
+ onMouseEnter: (id: string) => void;
1958
+ onMouseLeave: (id: string) => void;
1959
+ onFocus: (id: string) => void;
1960
+ onBlur: (id: string) => void;
1961
+ ref?: (el: HTMLElement | null) => void;
1962
+ };
1963
+ }) => ReactNode;
1964
+ /** Controlled selection (single) */
1965
+ selectedId?: string | null;
1966
+ onSelect?: (id: string | null, item?: T) => void;
1967
+ /** Map/hover sync (e.g., highlight pin) */
1968
+ onHoverChange?: (id: string | null, item?: T) => void;
1969
+ /** Loading & error UI gates */
1970
+ isLoading?: boolean;
1971
+ error?: string | null;
1972
+ /** Empty state */
1973
+ emptyMessage?: string;
1974
+ /** Density & dividers */
1975
+ variant?: "dense" | "relaxed";
1976
+ showDividers?: boolean;
1977
+ /** Virtualization hook (deferred) */
1978
+ /** ARIA */
1979
+ "aria-label"?: string;
1980
+ className?: string;
1981
+ style?: CSSProperties;
1982
+ }
1983
+ /**
1984
+ * List
1985
+ *
1986
+ * A semantic wrapper and state manager for rows. Handles selection, hover,
1987
+ * keyboard navigation, and accessibility. Composes with ListItem for visual rows.
1988
+ *
1989
+ * Example usage:
1990
+ * ```tsx
1991
+ * <List
1992
+ * items={sites}
1993
+ * selectedId={selectedSiteId}
1994
+ * onSelect={(id) => openDetail(id)}
1995
+ * onHoverChange={(id) => highlightOnMap(id)}
1996
+ * renderItem={({ item, rowProps, isSelected }) => (
1997
+ * <ListItem
1998
+ * id={item.id}
1999
+ * title={item.name}
2000
+ * subtitle={item.address?.city}
2001
+ * isSelected={isSelected}
2002
+ * {...rowProps}
2003
+ * />
2004
+ * )}
2005
+ * />
2006
+ * ```
2007
+ */
2008
+ declare function List<T>({ items, renderItem, selectedId, onSelect, onHoverChange, isLoading, error, emptyMessage, variant, showDividers, "aria-label": ariaLabel, className, style, }: ListProps<T>): react_jsx_runtime.JSX.Element;
2009
+
2010
+ interface Filter {
2011
+ id: string;
2012
+ label: string;
2013
+ value: string;
2014
+ onRemove: (id: string) => void;
2015
+ }
2016
+ interface SortOption {
2017
+ value: string;
2018
+ label: string;
2019
+ }
2020
+ interface ListHeaderProps {
2021
+ /** Optional title for the list context */
2022
+ title?: string;
2023
+ /** Search input props */
2024
+ search?: {
2025
+ value: string;
2026
+ placeholder?: string;
2027
+ onChange: (value: string) => void;
2028
+ onClear?: () => void;
2029
+ };
2030
+ /** Active filters to display as chips */
2031
+ filters?: Filter[];
2032
+ /** Sort options */
2033
+ sort?: {
2034
+ value: string;
2035
+ options: SortOption[];
2036
+ onChange: (value: string) => void;
2037
+ };
2038
+ /** Optional actions aligned to the right */
2039
+ actions?: ReactNode;
2040
+ /** Clear all filters action */
2041
+ onClearAll?: () => void;
2042
+ /** Layout variant for responsive behavior */
2043
+ variant?: "compact" | "spacious";
2044
+ className?: string;
2045
+ style?: CSSProperties;
2046
+ }
2047
+ /**
2048
+ * ListHeader
2049
+ *
2050
+ * A control bar that sits above any list, providing search, filters, sort, and actions.
2051
+ * Layout is responsive: compact in a sidebar, spacious in a full-page list.
2052
+ *
2053
+ * Example usage:
2054
+ * ```tsx
2055
+ * <ListHeader
2056
+ * title="Sites"
2057
+ * search={{
2058
+ * value: searchQuery,
2059
+ * placeholder: "Search sites...",
2060
+ * onChange: setSearchQuery,
2061
+ * }}
2062
+ * filters={activeFilters}
2063
+ * sort={{
2064
+ * value: sortBy,
2065
+ * options: sortOptions,
2066
+ * onChange: setSortBy,
2067
+ * }}
2068
+ * actions={<Button variant="primary">Save Collection</Button>}
2069
+ * onClearAll={clearAllFilters}
2070
+ * />
2071
+ * ```
2072
+ */
2073
+ declare function ListHeader({ title, search, filters, sort, actions, onClearAll, variant, className, style, }: ListHeaderProps): react_jsx_runtime.JSX.Element;
2074
+
2075
+ interface ListItemProps {
2076
+ id: string;
2077
+ title: ReactNode;
2078
+ subtitle?: ReactNode;
2079
+ meta?: ReactNode;
2080
+ leading?: ReactNode;
2081
+ trailing?: ReactNode;
2082
+ isSelected?: boolean;
2083
+ isHovered?: boolean;
2084
+ disabled?: boolean;
2085
+ /** If provided, renders as <a> with proper a11y; otherwise <button> */
2086
+ href?: string;
2087
+ onClick?: (id: string) => void;
2088
+ onMouseEnter?: (id: string) => void;
2089
+ onMouseLeave?: (id: string) => void;
2090
+ className?: string;
2091
+ style?: CSSProperties;
2092
+ }
2093
+ /**
2094
+ * ListItem
2095
+ *
2096
+ * A visual row component with consistent anatomy and states for use within List.
2097
+ * Supports both button and link variants with proper accessibility.
2098
+ *
2099
+ * Example usage:
2100
+ * ```tsx
2101
+ * <ListItem
2102
+ * id="item-1"
2103
+ * title="Site Name"
2104
+ * subtitle="City, Region"
2105
+ * meta={<span>12 devices</span>}
2106
+ * leading={<Icon name="MapPin" />}
2107
+ * trailing={<Button variant="icon" icon="Plus" />}
2108
+ * isSelected={true}
2109
+ * onClick={(id) => handleSelect(id)}
2110
+ * />
2111
+ * ```
2112
+ */
2113
+ declare function ListItem({ id, title, subtitle, meta, leading, trailing, isSelected, isHovered, disabled, href, onClick, onMouseEnter, onMouseLeave, className, style, }: ListItemProps): react_jsx_runtime.JSX.Element;
2114
+
2115
+ interface ListPaneProps {
2116
+ /** Content for the header area (typically ListHeader) */
2117
+ header?: ReactNode;
2118
+ /** Main content area (typically List with ListItems) */
2119
+ children: ReactNode;
2120
+ /** Optional footer content */
2121
+ footer?: ReactNode;
2122
+ /** Width of the pane */
2123
+ width?: "sm" | "md" | "lg" | "xl" | "2xl" | "auto";
2124
+ /** Theming */
2125
+ tone?: "neutral" | "subtle" | "brand";
2126
+ elevation?: "none" | "sm" | "md";
2127
+ showDivider?: boolean;
2128
+ /** Accessibility */
2129
+ "aria-label"?: string;
2130
+ "aria-labelledby"?: string;
2131
+ className?: string;
2132
+ style?: React.CSSProperties;
2133
+ }
2134
+ /**
2135
+ * ListPane
2136
+ *
2137
+ * A simple container component for list-driven UIs.
2138
+ * Provides a structured layout with optional header and footer,
2139
+ * suitable for wrapping ListHeader, List, and ListItem components.
2140
+ *
2141
+ * Example usage:
2142
+ * ```tsx
2143
+ * <ListPane
2144
+ * width="md"
2145
+ * header={<ListHeader title="Sites" search={...} />}
2146
+ * footer={<Button>Add Site</Button>}
2147
+ * >
2148
+ * <List items={sites} renderItem={...} />
2149
+ * </ListPane>
2150
+ * ```
2151
+ */
2152
+ declare function ListPane({ header, children, footer, width, tone, elevation, showDivider, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className, style, }: ListPaneProps): react_jsx_runtime.JSX.Element;
2153
+
1941
2154
  /**
1942
2155
  * ListBox
1943
2156
  *
@@ -1960,6 +2173,74 @@ interface ExtendedListBoxItemProps extends Omit<ListBoxItemProps, "className"> {
1960
2173
  }
1961
2174
  declare function ListBoxItem({ size, className, ...props }: ExtendedListBoxItemProps): react_jsx_runtime.JSX.Element;
1962
2175
 
2176
+ /**
2177
+ * Layer Builder Functions
2178
+ *
2179
+ * Friendly constructor functions that provide:
2180
+ * - TypeScript autocomplete and type safety
2181
+ * - Clear intent (layer.vector vs layer.geojson)
2182
+ * - Automatic 'kind' discriminator injection
2183
+ */
2184
+
2185
+ /**
2186
+ * Layer builder namespace - use like:
2187
+ *
2188
+ * @example
2189
+ * const myLayer = layer.vector({
2190
+ * id: 'feeders',
2191
+ * tileset: 'mapbox://texture.feeders',
2192
+ * sourceLayer: 'feeders',
2193
+ * renderAs: 'line',
2194
+ * style: { color: { token: 'brand-primary' } }
2195
+ * });
2196
+ */
2197
+ declare const layer: {
2198
+ /**
2199
+ * Create a vector tile layer
2200
+ *
2201
+ * Vector tiles are efficient for large datasets served from Mapbox or
2202
+ * custom tile servers. Use this for infrastructure layers, boundaries, etc.
2203
+ */
2204
+ vector: (config: Omit<VectorLayerSpec, "kind">) => VectorLayerSpec;
2205
+ /**
2206
+ * Create a GeoJSON layer
2207
+ *
2208
+ * GeoJSON is great for smaller datasets or data that changes frequently.
2209
+ * Can load from an object or URL. Supports client-side clustering.
2210
+ */
2211
+ geojson: (config: Omit<GeoJsonLayerSpec, "kind">) => GeoJsonLayerSpec;
2212
+ /**
2213
+ * Create a custom markers layer with React components
2214
+ *
2215
+ * Use this when you need fully custom UI for markers (cards, badges, etc.)
2216
+ * Good for small numbers of markers. For many markers, consider vector tiles.
2217
+ */
2218
+ customPins: <T = any>(config: Omit<CustomPinsSpec<T>, "kind">) => CustomPinsSpec<T>;
2219
+ /**
2220
+ * Create a raster layer from image tiles
2221
+ *
2222
+ * Use this for satellite imagery, weather overlays, heatmaps from tile servers, etc.
2223
+ * Raster layers display images rather than vector data.
2224
+ */
2225
+ raster: (config: Omit<RasterLayerSpec, "kind">) => RasterLayerSpec;
2226
+ };
2227
+ /**
2228
+ * Type guard to check if a layer is a vector layer
2229
+ */
2230
+ declare function isVectorLayer(layer: LayerSpec): layer is VectorLayerSpec;
2231
+ /**
2232
+ * Type guard to check if a layer is a GeoJSON layer
2233
+ */
2234
+ declare function isGeoJsonLayer(layer: LayerSpec): layer is GeoJsonLayerSpec;
2235
+ /**
2236
+ * Type guard to check if a layer is a custom pins layer
2237
+ */
2238
+ declare function isCustomPinsLayer(layer: LayerSpec): layer is CustomPinsSpec;
2239
+ /**
2240
+ * Type guard to check if a layer is a raster layer
2241
+ */
2242
+ declare function isRasterLayer(layer: LayerSpec): layer is RasterLayerSpec;
2243
+
1963
2244
  type NoticeVariant = "success" | "error" | "warning" | "info";
1964
2245
  interface NoticeProps {
1965
2246
  /** Unique identifier for the notice */
@@ -2723,4 +3004,4 @@ interface ColorModeProviderProps {
2723
3004
  }
2724
3005
  declare const ColorModeProvider: React.FC<ColorModeProviderProps>;
2725
3006
 
2726
- export { type Action, ActionCell, type ActionCellProps, AreaSeries, AutoMobileRenderer, Autocomplete, BarSeries, BaseDataPoint, type BaseFormat, type BaseInputProps, type BaseProps, BooleanCell, type BooleanCellProps, type BooleanFormat, Breadcrumb, type BreadcrumbItem, Breadcrumbs, Button, Calendar, CardMobileRenderer, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, type ChartExportMetadata, ChartTooltip, Checkbox, CheckboxGroup, Chip, ClearButton, ColorModeProvider, type Column, type ComponentFormatOptions, type ComponentFormatter, CopyToClipboard, type CurrencyFormat, type CurrentFormat, type CurrentUnit, type CustomFormat, DataTable, type DataTableProps, DateCell, type DateCellProps, type DateFormat, type DateFormatStyle, DateRangePicker, Description, type DescriptionProps, Dialog, DialogHeader, type DistanceFormat, type DistanceUnit, Drawer, type EnergyFormat, type EnergyUnit, ErrorBoundary, type ExportType, FieldError, type FieldErrorProps, type FieldFormat, FieldGroup, type FieldGroupProps, type FieldValue, Form, FormatRegistry, type FormattedValue, type FormatterFunction, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, Icon, Input, type InputProps, type InputStyleProps, InputWrapper, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, Label, type LabelProps, LineSeries, type LinkBehavior, ListBox, ListBoxItem, type MobileBreakpoint, type MobileConfig, type MobileRenderer, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberField, type NumberFormat, type PageActionsProps, type PageAsideProps, type PageContentProps, type PageFiltersProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PhoneFormat, PlaceSearch, Popover, type PowerFormat, type PowerUnit, ProgressBar, Radio, RadioGroup, RangeCalendar, type ResistanceFormat, type ResistanceUnit, type ResponsiveValue, SKELETON_SIZES, Section, type SectionProps, type SectionSpacing, type SectionVariant, Select, SelectCell, type SelectCellProps, Skeleton, Slider, type SortConfig, type SortDirection, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone, type StatValue, Switch, Tab, TabList, TabPanel, type TableDensity, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, type TemperatureFormat, type TemperatureUnit, type TemperatureUnitString, TextArea, TextAreaWithChips, TextCell, type TextCellProps, TextField, type TextFormat, type TextTransform, type TextTruncatePosition, TimeField, ToggleButton, Tooltip, TooltipData, type TrendPoint, type VoltageFormat, type VoltageUnit, YFormatType, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createFormat, enumToSentenceCase, exportChart, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, formatBoolean, formatComponentValue, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPhone, formatPhoneNumber, formatPower, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getFieldGroupStyles, getInputBackgroundStyles, getInputBaseStyles, getInputStateStyles, getNumericColorClasses, getSkeletonSize, inchesToCentimeters, isExportSupported, isNil, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, resolveValue, snakeCaseToWords, temperatureStringToSymbol, toA, toActiveInactive, toAmps, toBoolean, toCelsius, toCentimeters, toCheckmark, toCompactNumber, toCurrency, toCustomDateFormat, toDateString, toEnabledDisabled, toFahrenheit, toFeet, toFloat, toFormattedNumber, toFullDateTime, toGW, toGWh, toGigawatts, toISOString, toInches, toInteger, toKA, toKV, toKW, toKelvin, toKiloamps, toKilohms, toKilometers, toKilovolts, toKilowatts, toLowerCase, toMA, toMV, toMW, toMWh, toMegawatts, toMegohms, toMeters, toMiles, toMilliamps, toMillimeters, toMilliohms, toMillivolts, toNauticalMiles, toOhms, toOnOff, toPercentage, toRelativeTime, toScientificNotation, toSecret, toSentenceCase, toTemperature, toTitleCase, toTrueFalse, toUpperCase, toV, toVolts, toW, toWatts, toWh, toYards, tokWh, truncateEnd, truncateMiddle, truncateStart, ucFirst, useColorMode, useComponentFormatter, useDebounce, useInputFocus, useLocalStorage, useNotice, yardsToMeters };
3007
+ export { type Action, ActionCell, type ActionCellProps, AreaSeries, AutoMobileRenderer, Autocomplete, BarSeries, BaseDataPoint, type BaseFormat, type BaseInputProps, type BaseProps, BooleanCell, type BooleanCellProps, type BooleanFormat, Breadcrumb, type BreadcrumbItem, Breadcrumbs, Button, Calendar, CardMobileRenderer, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, type ChartExportMetadata, ChartTooltip, Checkbox, CheckboxGroup, Chip, ClearButton, ColorModeProvider, type Column, type ComponentFormatOptions, type ComponentFormatter, CopyToClipboard, type CurrencyFormat, type CurrentFormat, type CurrentUnit, type CustomFormat, CustomPinsSpec, DataTable, type DataTableProps, DateCell, type DateCellProps, type DateFormat, type DateFormatStyle, DateRangePicker, Description, type DescriptionProps, Dialog, DialogHeader, type DistanceFormat, type DistanceUnit, Drawer, type EnergyFormat, type EnergyUnit, ErrorBoundary, type ExportType, FieldError, type FieldErrorProps, type FieldFormat, FieldGroup, type FieldGroupProps, type FieldValue, type Filter, Form, FormatRegistry, type FormattedValue, type FormatterFunction, GeoJsonLayerSpec, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, Icon, Input, type InputProps, type InputStyleProps, InputWrapper, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, Label, type LabelProps, LayerSpec, LineSeries, type LinkBehavior, List, ListBox, ListBoxItem, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberField, type NumberFormat, type PageActionsProps, type PageAsideProps, type PageContentProps, type PageFiltersProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PhoneFormat, PlaceSearch, Popover, type PowerFormat, type PowerUnit, ProgressBar, Radio, RadioGroup, RangeCalendar, RasterLayerSpec, type ResistanceFormat, type ResistanceUnit, type ResponsiveValue, SKELETON_SIZES, Section, type SectionProps, type SectionSpacing, type SectionVariant, Select, SelectCell, type SelectCellProps, Skeleton, Slider, type SortConfig, type SortDirection, type SortOption, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone, type StatValue, Switch, Tab, TabList, TabPanel, type TableDensity, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, type TemperatureFormat, type TemperatureUnit, type TemperatureUnitString, TextArea, TextAreaWithChips, TextCell, type TextCellProps, TextField, type TextFormat, type TextTransform, type TextTruncatePosition, TimeField, ToggleButton, Tooltip, TooltipData, type TrendPoint, VectorLayerSpec, type VoltageFormat, type VoltageUnit, YFormatType, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createFormat, enumToSentenceCase, exportChart, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, formatBoolean, formatComponentValue, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPhone, formatPhoneNumber, formatPower, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getFieldGroupStyles, getInputBackgroundStyles, getInputBaseStyles, getInputStateStyles, getNumericColorClasses, getSkeletonSize, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, resolveValue, snakeCaseToWords, temperatureStringToSymbol, toA, toActiveInactive, toAmps, toBoolean, toCelsius, toCentimeters, toCheckmark, toCompactNumber, toCurrency, toCustomDateFormat, toDateString, toEnabledDisabled, toFahrenheit, toFeet, toFloat, toFormattedNumber, toFullDateTime, toGW, toGWh, toGigawatts, toISOString, toInches, toInteger, toKA, toKV, toKW, toKelvin, toKiloamps, toKilohms, toKilometers, toKilovolts, toKilowatts, toLowerCase, toMA, toMV, toMW, toMWh, toMegawatts, toMegohms, toMeters, toMiles, toMilliamps, toMillimeters, toMilliohms, toMillivolts, toNauticalMiles, toOhms, toOnOff, toPercentage, toRelativeTime, toScientificNotation, toSecret, toSentenceCase, toTemperature, toTitleCase, toTrueFalse, toUpperCase, toV, toVolts, toW, toWatts, toWh, toYards, tokWh, truncateEnd, truncateMiddle, truncateStart, ucFirst, useColorMode, useComponentFormatter, useDebounce, useInputFocus, useLocalStorage, useNotice, yardsToMeters };