@texturehq/edges 1.30.4 → 1.30.5
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-DHfY2j71.d.ts → colors-67HNJviq.d.ts} +16 -0
- package/dist/{colors-CLaHvP41.d.cts → colors-DIRyY7OV.d.cts} +16 -0
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -4
- package/dist/index.d.ts +61 -4
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,8 +2,8 @@ import { BreadcrumbProps, BreadcrumbsProps, DateValue, CalendarProps as Calendar
|
|
|
2
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger } from 'react-aria-components';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { RefObject, ComponentType, ReactNode, HTMLAttributes, ComponentProps, CSSProperties, Component, ErrorInfo } from 'react';
|
|
5
|
-
import { V as FieldValue, W as BooleanFormat, X as FormattedValue, Z as CurrentFormat, _ as DateFormat, $ as DistanceFormat, a0 as EnergyFormat, a1 as CurrencyFormat, a2 as NumberFormat, a3 as PhoneFormat, a4 as PowerFormat, a5 as FormatterFunction, a6 as ResistanceFormat, a7 as TemperatureFormat, a8 as TemperatureUnitString, a9 as TemperatureUnit, aa as TextFormat, ab as VoltageFormat, ac as FieldFormat, e as BaseDataPoint, B as BadgeProps, v as YFormatType, r as TooltipData, ad as DeviceState, ae as GridState, af as ComponentFormatter, ag as LayerSpec, ah as CustomPinsSpec, ai as GeoJsonLayerSpec, aj as RasterLayerSpec, ak as VectorLayerSpec, al as ClusteredVectorLayerSpec } from './colors-
|
|
6
|
-
export { A as ActionItem, am as ActionMenu, a as ActionMenuProps, b as AppShell, c as AppShellProps, an as Avatar, d as AvatarProps, ao as Badge, ap as BaseFormat, aq as ChartContext, C as ChartMargin, ar as CodeEditor, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, as as ColorSpec, at as ComponentFormatOptions, au as CurrentUnit, av as CustomFormat, aw as DEFAULT_MAP_TYPE, ax as DateFormatStyle, ay as DistanceUnit, E as ENTITY_CONFIG, az as EnergyUnit, i as EntityConfig, j as EntityType, H as Heading, aA as InteractiveMap, I as InteractiveMapProps, aB as LayerFeature, aC as LayerStyle, L as Loader, k as Logo, aD as MAP_TYPES, M as MapPoint, aE as MapType, aF as Meter, l as MeterProps, aG as MetricFormat, aH as PercentageFormat, aI as PowerUnit, aJ as RenderType, aK as ResistanceUnit, S as SegmentOption, aL as SegmentedControl, m as SegmentedControlProps, n as SideNav, o as SideNavItem, p as SideNavProps, aM as StaticMap, q as StaticMapProps, T as TextLink, aN as TextTransform, aO as TextTruncatePosition, s as TooltipSeries, t as TopNav, u as TopNavProps, aP as VoltageUnit, Y as YFormatSettings, aQ as ZoomStops, aR as activeDeviceStates, w as clearColorCache, x as createCategoryColorMap, y as createXScale, z as createYScale, D as defaultMargin, aS as deviceStateLabels, aT as deviceStateMetricFormats, aU as formatComponentValue, F as getContrastingTextColor, G as getDefaultChartColor, J as getDefaultColors, aV as getDeviceStateDisplayLabel, aV as getDeviceStateLabel, K as getEntityConfig, N as getEntityIcon, O as getEntityLabel, aW as getGridStateLabel, P as getResolvedColor, Q as getThemeCategoricalColors, R as getYFormatSettings, aX as gridStateLabels, aY as isActiveDeviceState, aY as isActiveState, U as isLightColor, aZ as useChartContext, a_ as useComponentFormatter } from './colors-
|
|
5
|
+
import { V as FieldValue, W as BooleanFormat, X as FormattedValue, Z as CurrentFormat, _ as DateFormat, $ as DistanceFormat, a0 as EnergyFormat, a1 as CurrencyFormat, a2 as NumberFormat, a3 as PhoneFormat, a4 as PowerFormat, a5 as FormatterFunction, a6 as ResistanceFormat, a7 as TemperatureFormat, a8 as TemperatureUnitString, a9 as TemperatureUnit, aa as TextFormat, ab as VoltageFormat, ac as FieldFormat, e as BaseDataPoint, B as BadgeProps, v as YFormatType, r as TooltipData, ad as DeviceState, ae as GridState, af as ComponentFormatter, ag as LayerSpec, ah as CustomPinsSpec, ai as GeoJsonLayerSpec, aj as RasterLayerSpec, ak as VectorLayerSpec, al as ClusteredVectorLayerSpec } from './colors-DIRyY7OV.cjs';
|
|
6
|
+
export { A as ActionItem, am as ActionMenu, a as ActionMenuProps, b as AppShell, c as AppShellProps, an as Avatar, d as AvatarProps, ao as Badge, ap as BaseFormat, aq as ChartContext, C as ChartMargin, ar as CodeEditor, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, as as ColorSpec, at as ComponentFormatOptions, au as CurrentUnit, av as CustomFormat, aw as DEFAULT_MAP_TYPE, ax as DateFormatStyle, ay as DistanceUnit, E as ENTITY_CONFIG, az as EnergyUnit, i as EntityConfig, j as EntityType, H as Heading, aA as InteractiveMap, I as InteractiveMapProps, aB as LayerFeature, aC as LayerStyle, L as Loader, k as Logo, aD as MAP_TYPES, M as MapPoint, aE as MapType, aF as Meter, l as MeterProps, aG as MetricFormat, aH as PercentageFormat, aI as PowerUnit, aJ as RenderType, aK as ResistanceUnit, S as SegmentOption, aL as SegmentedControl, m as SegmentedControlProps, n as SideNav, o as SideNavItem, p as SideNavProps, aM as StaticMap, q as StaticMapProps, T as TextLink, aN as TextTransform, aO as TextTruncatePosition, s as TooltipSeries, t as TopNav, u as TopNavProps, aP as VoltageUnit, Y as YFormatSettings, aQ as ZoomStops, aR as activeDeviceStates, w as clearColorCache, x as createCategoryColorMap, y as createXScale, z as createYScale, D as defaultMargin, aS as deviceStateLabels, aT as deviceStateMetricFormats, aU as formatComponentValue, F as getContrastingTextColor, G as getDefaultChartColor, J as getDefaultColors, aV as getDeviceStateDisplayLabel, aV as getDeviceStateLabel, K as getEntityConfig, N as getEntityIcon, O as getEntityLabel, aW as getGridStateLabel, P as getResolvedColor, Q as getThemeCategoricalColors, R as getYFormatSettings, aX as gridStateLabels, aY as isActiveDeviceState, aY as isActiveState, U as isLightColor, aZ as useChartContext, a_ as useComponentFormatter } from './colors-DIRyY7OV.cjs';
|
|
7
7
|
import { Virtualizer } from '@tanstack/react-virtual';
|
|
8
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
9
|
import { I as Icon, S as Size, d as IconName$2, B as BaseInputProps } from './RichTextEditor-CxrunTg7.cjs';
|
|
@@ -12,9 +12,10 @@ import { D as DialogAction, a as DialogHeaderConfig, b as DialogFooterConfig } f
|
|
|
12
12
|
export { c as Dialog, d as DialogForm, e as DialogProps, f as Drawer, g as DrawerForm, h as DrawerProps, F as FormActions, i as FormDivider, j as FormGrid, k as FormSection, l as FormStepper, S as SaveBar, U as UnsavedChangesPrompt, u as useWizard } from './index-BqpWEc_N.cjs';
|
|
13
13
|
export { A as Autocomplete, B as Button, C as Checkbox, a as CheckboxGroup, b as ColorField, g as ColorFieldProps, N as NumberField, h as Radio, i as RadioCard, R as RadioCardGroup, j as RadioCardGroupProps, k as RadioCardProps, c as RadioGroup, S as Select, l as SelectItem, d as Switch, T as TextArea, e as TextField, m as TimeField } from './TimeField-WCmeiLu3.cjs';
|
|
14
14
|
import { ScaleTime, ScaleLinear, ScaleBand } from 'd3-scale';
|
|
15
|
+
import { Icon as Icon$1 } from '@phosphor-icons/react';
|
|
16
|
+
import { Map } from 'mapbox-gl';
|
|
15
17
|
import '@visx/vendor/d3-scale';
|
|
16
18
|
import 'react-map-gl';
|
|
17
|
-
import '@phosphor-icons/react';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* Tailwind CSS default breakpoints
|
|
@@ -5335,6 +5336,62 @@ declare function isCustomPinsLayer(layer: LayerSpec): layer is CustomPinsSpec;
|
|
|
5335
5336
|
*/
|
|
5336
5337
|
declare function isRasterLayer(layer: LayerSpec): layer is RasterLayerSpec;
|
|
5337
5338
|
|
|
5339
|
+
/**
|
|
5340
|
+
* Map icon registration helpers.
|
|
5341
|
+
*
|
|
5342
|
+
* Mapbox `symbol` layers reference icons by name (e.g. `icon-image: "site"`).
|
|
5343
|
+
* Before a layer can render that icon, the image has to exist on the map
|
|
5344
|
+
* instance via `map.addImage(name, …)`. These helpers rasterize a Phosphor
|
|
5345
|
+
* React icon to an HTMLImageElement and register it.
|
|
5346
|
+
*
|
|
5347
|
+
* Why renderToStaticMarkup → SVG data URL → Image:
|
|
5348
|
+
* - Phosphor distributes its glyphs as React SVG components, not raster
|
|
5349
|
+
* assets. We render them to an SVG string at startup so we don't have to
|
|
5350
|
+
* ship a parallel set of PNG sprites or build an SDF generator.
|
|
5351
|
+
* - Mapbox's `addImage` accepts an HTMLImageElement directly, so we go
|
|
5352
|
+
* SVG-string → data URL → Image and hand it over.
|
|
5353
|
+
* - We pass `sdf: false`. Phosphor SVGs rasterize to alpha masks, not
|
|
5354
|
+
* true signed-distance fields, so SDF mode would render incorrectly.
|
|
5355
|
+
* Color is baked in via the `color` prop on the React icon. When we
|
|
5356
|
+
* eventually want runtime tinting (status-driven colors), we'll switch
|
|
5357
|
+
* to a real SDF generator (e.g. tiny-sdf) and flip this flag.
|
|
5358
|
+
*/
|
|
5359
|
+
|
|
5360
|
+
/**
|
|
5361
|
+
* Minimal subset of the Mapbox map surface this module touches. Declared as
|
|
5362
|
+
* a structural type so callers can pass either a raw `mapbox-gl` `Map` or a
|
|
5363
|
+
* `react-map-gl` `MapRef` (which wraps `Map` but has slightly different
|
|
5364
|
+
* optionality under `exactOptionalPropertyTypes: true`) without coercion.
|
|
5365
|
+
*/
|
|
5366
|
+
type MapWithImageRegistry = Pick<Map, "hasImage" | "addImage">;
|
|
5367
|
+
interface RegisterPhosphorIconOptions {
|
|
5368
|
+
/**
|
|
5369
|
+
* Pixel size of the rasterized image. Larger = sharper at high zoom but
|
|
5370
|
+
* larger texture footprint. 64 is a good default — Mapbox auto-scales
|
|
5371
|
+
* down via `icon-size` and the result is crisp at standard map zooms.
|
|
5372
|
+
*/
|
|
5373
|
+
size?: number;
|
|
5374
|
+
/**
|
|
5375
|
+
* Color baked into the rasterized SVG. Defaults to the design's ink/graphite
|
|
5376
|
+
* (`#2c2a26`).
|
|
5377
|
+
*/
|
|
5378
|
+
color?: string;
|
|
5379
|
+
/**
|
|
5380
|
+
* Phosphor icon weight. Defaults to `"regular"`. Note: only applies when
|
|
5381
|
+
* the React icon component honors the `weight` prop (Phosphor's own do).
|
|
5382
|
+
*/
|
|
5383
|
+
weight?: "thin" | "light" | "regular" | "bold" | "fill" | "duotone";
|
|
5384
|
+
}
|
|
5385
|
+
/**
|
|
5386
|
+
* Render a Phosphor React icon to an SVG, rasterize, and register it with
|
|
5387
|
+
* the given Mapbox map under `name`. No-op if an image of that name is
|
|
5388
|
+
* already registered.
|
|
5389
|
+
*
|
|
5390
|
+
* Idempotent: safe to call across map remounts. Resolves once the image is
|
|
5391
|
+
* fully decoded and added to the map.
|
|
5392
|
+
*/
|
|
5393
|
+
declare function registerPhosphorIcon(map: MapWithImageRegistry, name: string, Icon: Icon$1, options?: RegisterPhosphorIconOptions): Promise<void>;
|
|
5394
|
+
|
|
5338
5395
|
interface ModalBackdropProps extends ModalOverlayProps {
|
|
5339
5396
|
/**
|
|
5340
5397
|
* Whether to use a transparent backdrop instead of dark overlay
|
|
@@ -6773,4 +6830,4 @@ declare function getStateTone(state: DeviceState): StatTone;
|
|
|
6773
6830
|
*/
|
|
6774
6831
|
type LinkComponentType = React.ComponentType<any>;
|
|
6775
6832
|
|
|
6776
|
-
export { type Action, ActionCell, type ActionCellProps, ActivityFeed, ActivityFeedGroup, type ActivityFeedGroupProps, type ActivityFeedProps, type ActivityFeedSize, type ActivityFeedVariant, ActivityItem, type ActivityItemProps, type ActivityItemSurface, type ActivityItemTone, Alert, type AlertProps, type ApplyDataOperationsOptions, type ApplyDataOperationsResult, AreaSeries, AutoMobileRenderer, BREAKPOINTS, BadgeCell, type BadgeCellProps, BadgeProps, Banner, type BannerAction, type BannerAppearance, type BannerProps, type BannerVariant, BarSeries, BaseDataPoint, BaseInputProps, BooleanCell, type BooleanCellProps, BooleanFormat, BrandProvider, type BrandProviderProps, type BrandVariables, BreadcrumbItem, type BreadcrumbItemProps, Breadcrumbs, type Breakpoint, type BreakpointState, Calendar, Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, CardMobileRenderer, type CardProps, type CardVariant, CarouselAutoplayTrigger, CarouselControl, type CarouselControlProps, CarouselIndicator, CarouselIndicatorGroup, type CarouselIndicatorProps, CarouselItem, CarouselItemGroup, type CarouselItemGroupProps, type CarouselItemProps, CarouselNextTrigger, CarouselPrevTrigger, CarouselProgressText, CarouselRoot, type CarouselRootProps, type CarouselTriggerProps, CategoryBarChart, type CategoryDataPoint as CategoryBarChartDataPoint, type CategoryBarChartProps, type CategoryDataPoint, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, ChartEventMarkers, type ChartEventMarkersProps, type ChartExportMetadata, ChartTooltip, Chip, ChipInputField, type ChipInputFieldProps, Collapse, CollapseContent, type CollapseContentProps, type CollapseDensity, CollapseHeader, type CollapseHeaderProps, CollapseItem, type CollapseItemProps, type CollapseProps, type CollapseVariant, ColorModeProvider, type Column, CommandPalette, type CommandPaletteProps, ComponentFormatter, Confirm, type ConfirmProps, ConnectionStatusBadge, type ConnectionStatusBadgeProps, ContactCard, type ContactCardProps, ContactMetaCell, ContactMetaDisplay, type ContactMetaDisplayProps, CopyToClipboard, CurrencyFormat, CurrentFormat, CustomCell, type CustomCellProps, CustomPinsSpec, DataControls, type Filter as DataControlsFilter, type DataControlsProps, type SortOption as DataControlsSortOption, DataTable, type DataTableProps, DateCell, type DateCellProps, DateFormat, DateRangePicker, DeviceHealthBadge, type DeviceHealthBadgeProps, DeviceMetaCell, type DeviceMetaCellProps, DeviceMetaDisplay, type DeviceMetaDisplayProps, DeviceState, DeviceStateBadge, type DeviceStateBadgeProps, DeviceStateCell, type DeviceStateCellProps, DeviceStateWithMetric, type DeviceStateWithMetricProps, type DeviceType, DeviceTypeIcon, type DeviceTypeIconProps, DialogAction, DialogFooterConfig, DialogHeader, DialogHeaderConfig, type DialogHeaderProps, DistanceFormat, type ElementSize, EmptyState, type EmptyStateAction, type EmptyStateAlignment, type EmptyStateProps, type EmptyStateSize, EnergyFormat, type EnrollmentStatus, EnrollmentStatusBadge, type EnrollmentStatusBadgeProps, ErrorBoundary, type EventMarker, type ExportType, type FacetConfig, type FacetCounts, type FacetType, FieldFormat, FieldValue, type FilterChip, FilterChips, type FilterChipsProps, type FilterCondition, FilterDialog, type FilterDialogProps, type FilterGroup, type FilterOperator, type FilterState, FirmwareVersionBadge, type FirmwareVersionBadgeProps, Form, FormatRegistry, FormattedCell, FormattedValue, FormatterFunction, FunnelSeries, type FunnelSeriesProps, type FunnelStage as FunnelSeriesStage, GeoJsonLayerSpec, GlobalSearch, type GlobalSearchProps, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, GridState, GridStateBadge, type GridStateBadgeProps, type HealthStatus, HierarchyExplorer, type HierarchyExplorerProps, type HierarchyNode, HorizontalBarCell, type HorizontalBarCellProps, HoverCard, type HoverCardContentProps, type HoverCardRootProps, Icon, InfiniteScrollIndicator, type InfiniteScrollIndicatorProps, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, LayerSpec, LineSeries, type LinkBehavior, type LinkComponentType, List, ListBox, ListBoxItem, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type LoadingState, MiniBarCell, type MiniBarCellProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, ModalBackdrop, type ModalBackdropProps, type NodeState, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberFormat, type PageAsideProps, PageBanner, type PageBannerProps, type PageBreadcrumbItem, type PageContentProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PageScrollableContentProps, PercentBarCell, type PercentBarCellProps, PhoneFormat, type Place, PlaceSearch, type PlaceSearchProps, Popover, PowerFormat, type PresetRange, ProgressBar, RangeCalendar, RasterLayerSpec, ResistanceFormat, type ResponsiveValue, ResultsCount, type ResultsCountProps, SKELETON_SIZES, type SearchConfig, SearchControl, type SearchControlProps, SearchEmptyState, type SearchEmptyStateProps, SearchLoadingState, type SearchLoadingStateProps, SearchResultGroup, type SearchResultGroupProps, SearchResultItem, type SearchResultItemProps, SearchResultsList, type SearchResultsListProps, SearchTrigger, type SearchTriggerProps, Section, SectionNav, type SectionNavItem, type SectionNavOrientation, type SectionNavProps, type SectionProps, type SectionSpacing, type SectionVariant, SelectCell, type SelectCellProps, SiteCard, type SiteCardProps, SiteContactCard, type SiteContactCardProps, SiteMetaCell, SiteMetaDisplay, type SiteMetaDisplayProps, Skeleton, Slider, type SortConfig, SortControl, type SortControlProps, type SortDirection, type SortState, SparklineCell, type SparklineCellProps, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone$1 as StatTone, type StatValue, Tab, TabList, TabPanel, type TableDensity, type TableExportMetadata, type TableExportOptions, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, TemperatureFormat, TemperatureUnit, TemperatureUnitString, TextAreaWithChips, TextCell, type TextCellProps, TextFormat, TimeControls, type TimeControlsProps, type TimeRange, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemVariant, ToggleButton, Tooltip, TooltipData, Tray, type TrayProps, type TrendPoint, type UseBreakpointReturn, type UseClientDataControlsOptions, type UseClientDataControlsResult, type UseDataControlsClientOptions, type UseDataControlsOptions, type UseDataControlsResult, type UseDataControlsServerOptions, type UseElementSizeResult, type UseInfiniteScrollOptions, type UseInfiniteScrollReturn, type UseServerDataControlsOptions, type UseTableExportOptions, type UseTableExportReturn, VectorLayerSpec, VoltageFormat, type WindowSize, type WindowSizeOption, YFormatType, addFilterCondition, applyDataOperations, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createEmptyFilter, createFilter, createFilters, createFormat, enumToSentenceCase, exportChart, exportTableAsCSV, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, filterToChips, formatBoolean, formatCapacity, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPercent, formatPhone, formatPhoneNumber, formatPower, formatPowerRating, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getExportHeaders, getFilterFields, getLinkClasses, getNumericColorClasses, getSkeletonSize, getStateTone, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isFilterEmpty, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, prepareTableDataForExport, removeFilterCondition, 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, useBreakpoint, useClientDataControls, useColorMode, useDataControls, useDebounce, useElementSize, useInfiniteScroll, useLocalStorage, useMediaQuery, useNotice, useServerDataControls, useTableExport, wrapWithLink, yardsToMeters };
|
|
6833
|
+
export { type Action, ActionCell, type ActionCellProps, ActivityFeed, ActivityFeedGroup, type ActivityFeedGroupProps, type ActivityFeedProps, type ActivityFeedSize, type ActivityFeedVariant, ActivityItem, type ActivityItemProps, type ActivityItemSurface, type ActivityItemTone, Alert, type AlertProps, type ApplyDataOperationsOptions, type ApplyDataOperationsResult, AreaSeries, AutoMobileRenderer, BREAKPOINTS, BadgeCell, type BadgeCellProps, BadgeProps, Banner, type BannerAction, type BannerAppearance, type BannerProps, type BannerVariant, BarSeries, BaseDataPoint, BaseInputProps, BooleanCell, type BooleanCellProps, BooleanFormat, BrandProvider, type BrandProviderProps, type BrandVariables, BreadcrumbItem, type BreadcrumbItemProps, Breadcrumbs, type Breakpoint, type BreakpointState, Calendar, Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, CardMobileRenderer, type CardProps, type CardVariant, CarouselAutoplayTrigger, CarouselControl, type CarouselControlProps, CarouselIndicator, CarouselIndicatorGroup, type CarouselIndicatorProps, CarouselItem, CarouselItemGroup, type CarouselItemGroupProps, type CarouselItemProps, CarouselNextTrigger, CarouselPrevTrigger, CarouselProgressText, CarouselRoot, type CarouselRootProps, type CarouselTriggerProps, CategoryBarChart, type CategoryDataPoint as CategoryBarChartDataPoint, type CategoryBarChartProps, type CategoryDataPoint, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, ChartEventMarkers, type ChartEventMarkersProps, type ChartExportMetadata, ChartTooltip, Chip, ChipInputField, type ChipInputFieldProps, Collapse, CollapseContent, type CollapseContentProps, type CollapseDensity, CollapseHeader, type CollapseHeaderProps, CollapseItem, type CollapseItemProps, type CollapseProps, type CollapseVariant, ColorModeProvider, type Column, CommandPalette, type CommandPaletteProps, ComponentFormatter, Confirm, type ConfirmProps, ConnectionStatusBadge, type ConnectionStatusBadgeProps, ContactCard, type ContactCardProps, ContactMetaCell, ContactMetaDisplay, type ContactMetaDisplayProps, CopyToClipboard, CurrencyFormat, CurrentFormat, CustomCell, type CustomCellProps, CustomPinsSpec, DataControls, type Filter as DataControlsFilter, type DataControlsProps, type SortOption as DataControlsSortOption, DataTable, type DataTableProps, DateCell, type DateCellProps, DateFormat, DateRangePicker, DeviceHealthBadge, type DeviceHealthBadgeProps, DeviceMetaCell, type DeviceMetaCellProps, DeviceMetaDisplay, type DeviceMetaDisplayProps, DeviceState, DeviceStateBadge, type DeviceStateBadgeProps, DeviceStateCell, type DeviceStateCellProps, DeviceStateWithMetric, type DeviceStateWithMetricProps, type DeviceType, DeviceTypeIcon, type DeviceTypeIconProps, DialogAction, DialogFooterConfig, DialogHeader, DialogHeaderConfig, type DialogHeaderProps, DistanceFormat, type ElementSize, EmptyState, type EmptyStateAction, type EmptyStateAlignment, type EmptyStateProps, type EmptyStateSize, EnergyFormat, type EnrollmentStatus, EnrollmentStatusBadge, type EnrollmentStatusBadgeProps, ErrorBoundary, type EventMarker, type ExportType, type FacetConfig, type FacetCounts, type FacetType, FieldFormat, FieldValue, type FilterChip, FilterChips, type FilterChipsProps, type FilterCondition, FilterDialog, type FilterDialogProps, type FilterGroup, type FilterOperator, type FilterState, FirmwareVersionBadge, type FirmwareVersionBadgeProps, Form, FormatRegistry, FormattedCell, FormattedValue, FormatterFunction, FunnelSeries, type FunnelSeriesProps, type FunnelStage as FunnelSeriesStage, GeoJsonLayerSpec, GlobalSearch, type GlobalSearchProps, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, GridState, GridStateBadge, type GridStateBadgeProps, type HealthStatus, HierarchyExplorer, type HierarchyExplorerProps, type HierarchyNode, HorizontalBarCell, type HorizontalBarCellProps, HoverCard, type HoverCardContentProps, type HoverCardRootProps, Icon, InfiniteScrollIndicator, type InfiniteScrollIndicatorProps, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, LayerSpec, LineSeries, type LinkBehavior, type LinkComponentType, List, ListBox, ListBoxItem, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type LoadingState, MiniBarCell, type MiniBarCellProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, ModalBackdrop, type ModalBackdropProps, type NodeState, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberFormat, type PageAsideProps, PageBanner, type PageBannerProps, type PageBreadcrumbItem, type PageContentProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PageScrollableContentProps, PercentBarCell, type PercentBarCellProps, PhoneFormat, type Place, PlaceSearch, type PlaceSearchProps, Popover, PowerFormat, type PresetRange, ProgressBar, RangeCalendar, RasterLayerSpec, type RegisterPhosphorIconOptions, ResistanceFormat, type ResponsiveValue, ResultsCount, type ResultsCountProps, SKELETON_SIZES, type SearchConfig, SearchControl, type SearchControlProps, SearchEmptyState, type SearchEmptyStateProps, SearchLoadingState, type SearchLoadingStateProps, SearchResultGroup, type SearchResultGroupProps, SearchResultItem, type SearchResultItemProps, SearchResultsList, type SearchResultsListProps, SearchTrigger, type SearchTriggerProps, Section, SectionNav, type SectionNavItem, type SectionNavOrientation, type SectionNavProps, type SectionProps, type SectionSpacing, type SectionVariant, SelectCell, type SelectCellProps, SiteCard, type SiteCardProps, SiteContactCard, type SiteContactCardProps, SiteMetaCell, SiteMetaDisplay, type SiteMetaDisplayProps, Skeleton, Slider, type SortConfig, SortControl, type SortControlProps, type SortDirection, type SortState, SparklineCell, type SparklineCellProps, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone$1 as StatTone, type StatValue, Tab, TabList, TabPanel, type TableDensity, type TableExportMetadata, type TableExportOptions, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, TemperatureFormat, TemperatureUnit, TemperatureUnitString, TextAreaWithChips, TextCell, type TextCellProps, TextFormat, TimeControls, type TimeControlsProps, type TimeRange, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemVariant, ToggleButton, Tooltip, TooltipData, Tray, type TrayProps, type TrendPoint, type UseBreakpointReturn, type UseClientDataControlsOptions, type UseClientDataControlsResult, type UseDataControlsClientOptions, type UseDataControlsOptions, type UseDataControlsResult, type UseDataControlsServerOptions, type UseElementSizeResult, type UseInfiniteScrollOptions, type UseInfiniteScrollReturn, type UseServerDataControlsOptions, type UseTableExportOptions, type UseTableExportReturn, VectorLayerSpec, VoltageFormat, type WindowSize, type WindowSizeOption, YFormatType, addFilterCondition, applyDataOperations, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createEmptyFilter, createFilter, createFilters, createFormat, enumToSentenceCase, exportChart, exportTableAsCSV, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, filterToChips, formatBoolean, formatCapacity, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPercent, formatPhone, formatPhoneNumber, formatPower, formatPowerRating, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getExportHeaders, getFilterFields, getLinkClasses, getNumericColorClasses, getSkeletonSize, getStateTone, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isFilterEmpty, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, prepareTableDataForExport, registerPhosphorIcon, removeFilterCondition, 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, useBreakpoint, useClientDataControls, useColorMode, useDataControls, useDebounce, useElementSize, useInfiniteScroll, useLocalStorage, useMediaQuery, useNotice, useServerDataControls, useTableExport, wrapWithLink, yardsToMeters };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { BreadcrumbProps, BreadcrumbsProps, DateValue, CalendarProps as Calendar
|
|
|
2
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger } from 'react-aria-components';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { RefObject, ComponentType, ReactNode, HTMLAttributes, ComponentProps, CSSProperties, Component, ErrorInfo } from 'react';
|
|
5
|
-
import { V as FieldValue, W as BooleanFormat, X as FormattedValue, Z as CurrentFormat, _ as DateFormat, $ as DistanceFormat, a0 as EnergyFormat, a1 as CurrencyFormat, a2 as NumberFormat, a3 as PhoneFormat, a4 as PowerFormat, a5 as FormatterFunction, a6 as ResistanceFormat, a7 as TemperatureFormat, a8 as TemperatureUnitString, a9 as TemperatureUnit, aa as TextFormat, ab as VoltageFormat, ac as FieldFormat, e as BaseDataPoint, B as BadgeProps, v as YFormatType, r as TooltipData, ad as DeviceState, ae as GridState, af as ComponentFormatter, ag as LayerSpec, ah as CustomPinsSpec, ai as GeoJsonLayerSpec, aj as RasterLayerSpec, ak as VectorLayerSpec, al as ClusteredVectorLayerSpec } from './colors-
|
|
6
|
-
export { A as ActionItem, am as ActionMenu, a as ActionMenuProps, b as AppShell, c as AppShellProps, an as Avatar, d as AvatarProps, ao as Badge, ap as BaseFormat, aq as ChartContext, C as ChartMargin, ar as CodeEditor, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, as as ColorSpec, at as ComponentFormatOptions, au as CurrentUnit, av as CustomFormat, aw as DEFAULT_MAP_TYPE, ax as DateFormatStyle, ay as DistanceUnit, E as ENTITY_CONFIG, az as EnergyUnit, i as EntityConfig, j as EntityType, H as Heading, aA as InteractiveMap, I as InteractiveMapProps, aB as LayerFeature, aC as LayerStyle, L as Loader, k as Logo, aD as MAP_TYPES, M as MapPoint, aE as MapType, aF as Meter, l as MeterProps, aG as MetricFormat, aH as PercentageFormat, aI as PowerUnit, aJ as RenderType, aK as ResistanceUnit, S as SegmentOption, aL as SegmentedControl, m as SegmentedControlProps, n as SideNav, o as SideNavItem, p as SideNavProps, aM as StaticMap, q as StaticMapProps, T as TextLink, aN as TextTransform, aO as TextTruncatePosition, s as TooltipSeries, t as TopNav, u as TopNavProps, aP as VoltageUnit, Y as YFormatSettings, aQ as ZoomStops, aR as activeDeviceStates, w as clearColorCache, x as createCategoryColorMap, y as createXScale, z as createYScale, D as defaultMargin, aS as deviceStateLabels, aT as deviceStateMetricFormats, aU as formatComponentValue, F as getContrastingTextColor, G as getDefaultChartColor, J as getDefaultColors, aV as getDeviceStateDisplayLabel, aV as getDeviceStateLabel, K as getEntityConfig, N as getEntityIcon, O as getEntityLabel, aW as getGridStateLabel, P as getResolvedColor, Q as getThemeCategoricalColors, R as getYFormatSettings, aX as gridStateLabels, aY as isActiveDeviceState, aY as isActiveState, U as isLightColor, aZ as useChartContext, a_ as useComponentFormatter } from './colors-
|
|
5
|
+
import { V as FieldValue, W as BooleanFormat, X as FormattedValue, Z as CurrentFormat, _ as DateFormat, $ as DistanceFormat, a0 as EnergyFormat, a1 as CurrencyFormat, a2 as NumberFormat, a3 as PhoneFormat, a4 as PowerFormat, a5 as FormatterFunction, a6 as ResistanceFormat, a7 as TemperatureFormat, a8 as TemperatureUnitString, a9 as TemperatureUnit, aa as TextFormat, ab as VoltageFormat, ac as FieldFormat, e as BaseDataPoint, B as BadgeProps, v as YFormatType, r as TooltipData, ad as DeviceState, ae as GridState, af as ComponentFormatter, ag as LayerSpec, ah as CustomPinsSpec, ai as GeoJsonLayerSpec, aj as RasterLayerSpec, ak as VectorLayerSpec, al as ClusteredVectorLayerSpec } from './colors-67HNJviq.js';
|
|
6
|
+
export { A as ActionItem, am as ActionMenu, a as ActionMenuProps, b as AppShell, c as AppShellProps, an as Avatar, d as AvatarProps, ao as Badge, ap as BaseFormat, aq as ChartContext, C as ChartMargin, ar as CodeEditor, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, as as ColorSpec, at as ComponentFormatOptions, au as CurrentUnit, av as CustomFormat, aw as DEFAULT_MAP_TYPE, ax as DateFormatStyle, ay as DistanceUnit, E as ENTITY_CONFIG, az as EnergyUnit, i as EntityConfig, j as EntityType, H as Heading, aA as InteractiveMap, I as InteractiveMapProps, aB as LayerFeature, aC as LayerStyle, L as Loader, k as Logo, aD as MAP_TYPES, M as MapPoint, aE as MapType, aF as Meter, l as MeterProps, aG as MetricFormat, aH as PercentageFormat, aI as PowerUnit, aJ as RenderType, aK as ResistanceUnit, S as SegmentOption, aL as SegmentedControl, m as SegmentedControlProps, n as SideNav, o as SideNavItem, p as SideNavProps, aM as StaticMap, q as StaticMapProps, T as TextLink, aN as TextTransform, aO as TextTruncatePosition, s as TooltipSeries, t as TopNav, u as TopNavProps, aP as VoltageUnit, Y as YFormatSettings, aQ as ZoomStops, aR as activeDeviceStates, w as clearColorCache, x as createCategoryColorMap, y as createXScale, z as createYScale, D as defaultMargin, aS as deviceStateLabels, aT as deviceStateMetricFormats, aU as formatComponentValue, F as getContrastingTextColor, G as getDefaultChartColor, J as getDefaultColors, aV as getDeviceStateDisplayLabel, aV as getDeviceStateLabel, K as getEntityConfig, N as getEntityIcon, O as getEntityLabel, aW as getGridStateLabel, P as getResolvedColor, Q as getThemeCategoricalColors, R as getYFormatSettings, aX as gridStateLabels, aY as isActiveDeviceState, aY as isActiveState, U as isLightColor, aZ as useChartContext, a_ as useComponentFormatter } from './colors-67HNJviq.js';
|
|
7
7
|
import { Virtualizer } from '@tanstack/react-virtual';
|
|
8
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
9
|
import { I as Icon, S as Size, d as IconName$2, B as BaseInputProps } from './RichTextEditor-CxrunTg7.js';
|
|
@@ -12,9 +12,10 @@ import { D as DialogAction, a as DialogHeaderConfig, b as DialogFooterConfig } f
|
|
|
12
12
|
export { c as Dialog, d as DialogForm, e as DialogProps, f as Drawer, g as DrawerForm, h as DrawerProps, F as FormActions, i as FormDivider, j as FormGrid, k as FormSection, l as FormStepper, S as SaveBar, U as UnsavedChangesPrompt, u as useWizard } from './index-BqpWEc_N.js';
|
|
13
13
|
export { A as Autocomplete, B as Button, C as Checkbox, a as CheckboxGroup, b as ColorField, g as ColorFieldProps, N as NumberField, h as Radio, i as RadioCard, R as RadioCardGroup, j as RadioCardGroupProps, k as RadioCardProps, c as RadioGroup, S as Select, l as SelectItem, d as Switch, T as TextArea, e as TextField, m as TimeField } from './TimeField-DRQshIHX.js';
|
|
14
14
|
import { ScaleTime, ScaleLinear, ScaleBand } from 'd3-scale';
|
|
15
|
+
import { Icon as Icon$1 } from '@phosphor-icons/react';
|
|
16
|
+
import { Map } from 'mapbox-gl';
|
|
15
17
|
import '@visx/vendor/d3-scale';
|
|
16
18
|
import 'react-map-gl';
|
|
17
|
-
import '@phosphor-icons/react';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* Tailwind CSS default breakpoints
|
|
@@ -5335,6 +5336,62 @@ declare function isCustomPinsLayer(layer: LayerSpec): layer is CustomPinsSpec;
|
|
|
5335
5336
|
*/
|
|
5336
5337
|
declare function isRasterLayer(layer: LayerSpec): layer is RasterLayerSpec;
|
|
5337
5338
|
|
|
5339
|
+
/**
|
|
5340
|
+
* Map icon registration helpers.
|
|
5341
|
+
*
|
|
5342
|
+
* Mapbox `symbol` layers reference icons by name (e.g. `icon-image: "site"`).
|
|
5343
|
+
* Before a layer can render that icon, the image has to exist on the map
|
|
5344
|
+
* instance via `map.addImage(name, …)`. These helpers rasterize a Phosphor
|
|
5345
|
+
* React icon to an HTMLImageElement and register it.
|
|
5346
|
+
*
|
|
5347
|
+
* Why renderToStaticMarkup → SVG data URL → Image:
|
|
5348
|
+
* - Phosphor distributes its glyphs as React SVG components, not raster
|
|
5349
|
+
* assets. We render them to an SVG string at startup so we don't have to
|
|
5350
|
+
* ship a parallel set of PNG sprites or build an SDF generator.
|
|
5351
|
+
* - Mapbox's `addImage` accepts an HTMLImageElement directly, so we go
|
|
5352
|
+
* SVG-string → data URL → Image and hand it over.
|
|
5353
|
+
* - We pass `sdf: false`. Phosphor SVGs rasterize to alpha masks, not
|
|
5354
|
+
* true signed-distance fields, so SDF mode would render incorrectly.
|
|
5355
|
+
* Color is baked in via the `color` prop on the React icon. When we
|
|
5356
|
+
* eventually want runtime tinting (status-driven colors), we'll switch
|
|
5357
|
+
* to a real SDF generator (e.g. tiny-sdf) and flip this flag.
|
|
5358
|
+
*/
|
|
5359
|
+
|
|
5360
|
+
/**
|
|
5361
|
+
* Minimal subset of the Mapbox map surface this module touches. Declared as
|
|
5362
|
+
* a structural type so callers can pass either a raw `mapbox-gl` `Map` or a
|
|
5363
|
+
* `react-map-gl` `MapRef` (which wraps `Map` but has slightly different
|
|
5364
|
+
* optionality under `exactOptionalPropertyTypes: true`) without coercion.
|
|
5365
|
+
*/
|
|
5366
|
+
type MapWithImageRegistry = Pick<Map, "hasImage" | "addImage">;
|
|
5367
|
+
interface RegisterPhosphorIconOptions {
|
|
5368
|
+
/**
|
|
5369
|
+
* Pixel size of the rasterized image. Larger = sharper at high zoom but
|
|
5370
|
+
* larger texture footprint. 64 is a good default — Mapbox auto-scales
|
|
5371
|
+
* down via `icon-size` and the result is crisp at standard map zooms.
|
|
5372
|
+
*/
|
|
5373
|
+
size?: number;
|
|
5374
|
+
/**
|
|
5375
|
+
* Color baked into the rasterized SVG. Defaults to the design's ink/graphite
|
|
5376
|
+
* (`#2c2a26`).
|
|
5377
|
+
*/
|
|
5378
|
+
color?: string;
|
|
5379
|
+
/**
|
|
5380
|
+
* Phosphor icon weight. Defaults to `"regular"`. Note: only applies when
|
|
5381
|
+
* the React icon component honors the `weight` prop (Phosphor's own do).
|
|
5382
|
+
*/
|
|
5383
|
+
weight?: "thin" | "light" | "regular" | "bold" | "fill" | "duotone";
|
|
5384
|
+
}
|
|
5385
|
+
/**
|
|
5386
|
+
* Render a Phosphor React icon to an SVG, rasterize, and register it with
|
|
5387
|
+
* the given Mapbox map under `name`. No-op if an image of that name is
|
|
5388
|
+
* already registered.
|
|
5389
|
+
*
|
|
5390
|
+
* Idempotent: safe to call across map remounts. Resolves once the image is
|
|
5391
|
+
* fully decoded and added to the map.
|
|
5392
|
+
*/
|
|
5393
|
+
declare function registerPhosphorIcon(map: MapWithImageRegistry, name: string, Icon: Icon$1, options?: RegisterPhosphorIconOptions): Promise<void>;
|
|
5394
|
+
|
|
5338
5395
|
interface ModalBackdropProps extends ModalOverlayProps {
|
|
5339
5396
|
/**
|
|
5340
5397
|
* Whether to use a transparent backdrop instead of dark overlay
|
|
@@ -6773,4 +6830,4 @@ declare function getStateTone(state: DeviceState): StatTone;
|
|
|
6773
6830
|
*/
|
|
6774
6831
|
type LinkComponentType = React.ComponentType<any>;
|
|
6775
6832
|
|
|
6776
|
-
export { type Action, ActionCell, type ActionCellProps, ActivityFeed, ActivityFeedGroup, type ActivityFeedGroupProps, type ActivityFeedProps, type ActivityFeedSize, type ActivityFeedVariant, ActivityItem, type ActivityItemProps, type ActivityItemSurface, type ActivityItemTone, Alert, type AlertProps, type ApplyDataOperationsOptions, type ApplyDataOperationsResult, AreaSeries, AutoMobileRenderer, BREAKPOINTS, BadgeCell, type BadgeCellProps, BadgeProps, Banner, type BannerAction, type BannerAppearance, type BannerProps, type BannerVariant, BarSeries, BaseDataPoint, BaseInputProps, BooleanCell, type BooleanCellProps, BooleanFormat, BrandProvider, type BrandProviderProps, type BrandVariables, BreadcrumbItem, type BreadcrumbItemProps, Breadcrumbs, type Breakpoint, type BreakpointState, Calendar, Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, CardMobileRenderer, type CardProps, type CardVariant, CarouselAutoplayTrigger, CarouselControl, type CarouselControlProps, CarouselIndicator, CarouselIndicatorGroup, type CarouselIndicatorProps, CarouselItem, CarouselItemGroup, type CarouselItemGroupProps, type CarouselItemProps, CarouselNextTrigger, CarouselPrevTrigger, CarouselProgressText, CarouselRoot, type CarouselRootProps, type CarouselTriggerProps, CategoryBarChart, type CategoryDataPoint as CategoryBarChartDataPoint, type CategoryBarChartProps, type CategoryDataPoint, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, ChartEventMarkers, type ChartEventMarkersProps, type ChartExportMetadata, ChartTooltip, Chip, ChipInputField, type ChipInputFieldProps, Collapse, CollapseContent, type CollapseContentProps, type CollapseDensity, CollapseHeader, type CollapseHeaderProps, CollapseItem, type CollapseItemProps, type CollapseProps, type CollapseVariant, ColorModeProvider, type Column, CommandPalette, type CommandPaletteProps, ComponentFormatter, Confirm, type ConfirmProps, ConnectionStatusBadge, type ConnectionStatusBadgeProps, ContactCard, type ContactCardProps, ContactMetaCell, ContactMetaDisplay, type ContactMetaDisplayProps, CopyToClipboard, CurrencyFormat, CurrentFormat, CustomCell, type CustomCellProps, CustomPinsSpec, DataControls, type Filter as DataControlsFilter, type DataControlsProps, type SortOption as DataControlsSortOption, DataTable, type DataTableProps, DateCell, type DateCellProps, DateFormat, DateRangePicker, DeviceHealthBadge, type DeviceHealthBadgeProps, DeviceMetaCell, type DeviceMetaCellProps, DeviceMetaDisplay, type DeviceMetaDisplayProps, DeviceState, DeviceStateBadge, type DeviceStateBadgeProps, DeviceStateCell, type DeviceStateCellProps, DeviceStateWithMetric, type DeviceStateWithMetricProps, type DeviceType, DeviceTypeIcon, type DeviceTypeIconProps, DialogAction, DialogFooterConfig, DialogHeader, DialogHeaderConfig, type DialogHeaderProps, DistanceFormat, type ElementSize, EmptyState, type EmptyStateAction, type EmptyStateAlignment, type EmptyStateProps, type EmptyStateSize, EnergyFormat, type EnrollmentStatus, EnrollmentStatusBadge, type EnrollmentStatusBadgeProps, ErrorBoundary, type EventMarker, type ExportType, type FacetConfig, type FacetCounts, type FacetType, FieldFormat, FieldValue, type FilterChip, FilterChips, type FilterChipsProps, type FilterCondition, FilterDialog, type FilterDialogProps, type FilterGroup, type FilterOperator, type FilterState, FirmwareVersionBadge, type FirmwareVersionBadgeProps, Form, FormatRegistry, FormattedCell, FormattedValue, FormatterFunction, FunnelSeries, type FunnelSeriesProps, type FunnelStage as FunnelSeriesStage, GeoJsonLayerSpec, GlobalSearch, type GlobalSearchProps, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, GridState, GridStateBadge, type GridStateBadgeProps, type HealthStatus, HierarchyExplorer, type HierarchyExplorerProps, type HierarchyNode, HorizontalBarCell, type HorizontalBarCellProps, HoverCard, type HoverCardContentProps, type HoverCardRootProps, Icon, InfiniteScrollIndicator, type InfiniteScrollIndicatorProps, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, LayerSpec, LineSeries, type LinkBehavior, type LinkComponentType, List, ListBox, ListBoxItem, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type LoadingState, MiniBarCell, type MiniBarCellProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, ModalBackdrop, type ModalBackdropProps, type NodeState, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberFormat, type PageAsideProps, PageBanner, type PageBannerProps, type PageBreadcrumbItem, type PageContentProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PageScrollableContentProps, PercentBarCell, type PercentBarCellProps, PhoneFormat, type Place, PlaceSearch, type PlaceSearchProps, Popover, PowerFormat, type PresetRange, ProgressBar, RangeCalendar, RasterLayerSpec, ResistanceFormat, type ResponsiveValue, ResultsCount, type ResultsCountProps, SKELETON_SIZES, type SearchConfig, SearchControl, type SearchControlProps, SearchEmptyState, type SearchEmptyStateProps, SearchLoadingState, type SearchLoadingStateProps, SearchResultGroup, type SearchResultGroupProps, SearchResultItem, type SearchResultItemProps, SearchResultsList, type SearchResultsListProps, SearchTrigger, type SearchTriggerProps, Section, SectionNav, type SectionNavItem, type SectionNavOrientation, type SectionNavProps, type SectionProps, type SectionSpacing, type SectionVariant, SelectCell, type SelectCellProps, SiteCard, type SiteCardProps, SiteContactCard, type SiteContactCardProps, SiteMetaCell, SiteMetaDisplay, type SiteMetaDisplayProps, Skeleton, Slider, type SortConfig, SortControl, type SortControlProps, type SortDirection, type SortState, SparklineCell, type SparklineCellProps, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone$1 as StatTone, type StatValue, Tab, TabList, TabPanel, type TableDensity, type TableExportMetadata, type TableExportOptions, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, TemperatureFormat, TemperatureUnit, TemperatureUnitString, TextAreaWithChips, TextCell, type TextCellProps, TextFormat, TimeControls, type TimeControlsProps, type TimeRange, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemVariant, ToggleButton, Tooltip, TooltipData, Tray, type TrayProps, type TrendPoint, type UseBreakpointReturn, type UseClientDataControlsOptions, type UseClientDataControlsResult, type UseDataControlsClientOptions, type UseDataControlsOptions, type UseDataControlsResult, type UseDataControlsServerOptions, type UseElementSizeResult, type UseInfiniteScrollOptions, type UseInfiniteScrollReturn, type UseServerDataControlsOptions, type UseTableExportOptions, type UseTableExportReturn, VectorLayerSpec, VoltageFormat, type WindowSize, type WindowSizeOption, YFormatType, addFilterCondition, applyDataOperations, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createEmptyFilter, createFilter, createFilters, createFormat, enumToSentenceCase, exportChart, exportTableAsCSV, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, filterToChips, formatBoolean, formatCapacity, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPercent, formatPhone, formatPhoneNumber, formatPower, formatPowerRating, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getExportHeaders, getFilterFields, getLinkClasses, getNumericColorClasses, getSkeletonSize, getStateTone, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isFilterEmpty, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, prepareTableDataForExport, removeFilterCondition, 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, useBreakpoint, useClientDataControls, useColorMode, useDataControls, useDebounce, useElementSize, useInfiniteScroll, useLocalStorage, useMediaQuery, useNotice, useServerDataControls, useTableExport, wrapWithLink, yardsToMeters };
|
|
6833
|
+
export { type Action, ActionCell, type ActionCellProps, ActivityFeed, ActivityFeedGroup, type ActivityFeedGroupProps, type ActivityFeedProps, type ActivityFeedSize, type ActivityFeedVariant, ActivityItem, type ActivityItemProps, type ActivityItemSurface, type ActivityItemTone, Alert, type AlertProps, type ApplyDataOperationsOptions, type ApplyDataOperationsResult, AreaSeries, AutoMobileRenderer, BREAKPOINTS, BadgeCell, type BadgeCellProps, BadgeProps, Banner, type BannerAction, type BannerAppearance, type BannerProps, type BannerVariant, BarSeries, BaseDataPoint, BaseInputProps, BooleanCell, type BooleanCellProps, BooleanFormat, BrandProvider, type BrandProviderProps, type BrandVariables, BreadcrumbItem, type BreadcrumbItemProps, Breadcrumbs, type Breakpoint, type BreakpointState, Calendar, Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, CardMobileRenderer, type CardProps, type CardVariant, CarouselAutoplayTrigger, CarouselControl, type CarouselControlProps, CarouselIndicator, CarouselIndicatorGroup, type CarouselIndicatorProps, CarouselItem, CarouselItemGroup, type CarouselItemGroupProps, type CarouselItemProps, CarouselNextTrigger, CarouselPrevTrigger, CarouselProgressText, CarouselRoot, type CarouselRootProps, type CarouselTriggerProps, CategoryBarChart, type CategoryDataPoint as CategoryBarChartDataPoint, type CategoryBarChartProps, type CategoryDataPoint, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, ChartEventMarkers, type ChartEventMarkersProps, type ChartExportMetadata, ChartTooltip, Chip, ChipInputField, type ChipInputFieldProps, Collapse, CollapseContent, type CollapseContentProps, type CollapseDensity, CollapseHeader, type CollapseHeaderProps, CollapseItem, type CollapseItemProps, type CollapseProps, type CollapseVariant, ColorModeProvider, type Column, CommandPalette, type CommandPaletteProps, ComponentFormatter, Confirm, type ConfirmProps, ConnectionStatusBadge, type ConnectionStatusBadgeProps, ContactCard, type ContactCardProps, ContactMetaCell, ContactMetaDisplay, type ContactMetaDisplayProps, CopyToClipboard, CurrencyFormat, CurrentFormat, CustomCell, type CustomCellProps, CustomPinsSpec, DataControls, type Filter as DataControlsFilter, type DataControlsProps, type SortOption as DataControlsSortOption, DataTable, type DataTableProps, DateCell, type DateCellProps, DateFormat, DateRangePicker, DeviceHealthBadge, type DeviceHealthBadgeProps, DeviceMetaCell, type DeviceMetaCellProps, DeviceMetaDisplay, type DeviceMetaDisplayProps, DeviceState, DeviceStateBadge, type DeviceStateBadgeProps, DeviceStateCell, type DeviceStateCellProps, DeviceStateWithMetric, type DeviceStateWithMetricProps, type DeviceType, DeviceTypeIcon, type DeviceTypeIconProps, DialogAction, DialogFooterConfig, DialogHeader, DialogHeaderConfig, type DialogHeaderProps, DistanceFormat, type ElementSize, EmptyState, type EmptyStateAction, type EmptyStateAlignment, type EmptyStateProps, type EmptyStateSize, EnergyFormat, type EnrollmentStatus, EnrollmentStatusBadge, type EnrollmentStatusBadgeProps, ErrorBoundary, type EventMarker, type ExportType, type FacetConfig, type FacetCounts, type FacetType, FieldFormat, FieldValue, type FilterChip, FilterChips, type FilterChipsProps, type FilterCondition, FilterDialog, type FilterDialogProps, type FilterGroup, type FilterOperator, type FilterState, FirmwareVersionBadge, type FirmwareVersionBadgeProps, Form, FormatRegistry, FormattedCell, FormattedValue, FormatterFunction, FunnelSeries, type FunnelSeriesProps, type FunnelStage as FunnelSeriesStage, GeoJsonLayerSpec, GlobalSearch, type GlobalSearchProps, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, GridState, GridStateBadge, type GridStateBadgeProps, type HealthStatus, HierarchyExplorer, type HierarchyExplorerProps, type HierarchyNode, HorizontalBarCell, type HorizontalBarCellProps, HoverCard, type HoverCardContentProps, type HoverCardRootProps, Icon, InfiniteScrollIndicator, type InfiniteScrollIndicatorProps, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, LayerSpec, LineSeries, type LinkBehavior, type LinkComponentType, List, ListBox, ListBoxItem, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type LoadingState, MiniBarCell, type MiniBarCellProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, ModalBackdrop, type ModalBackdropProps, type NodeState, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberFormat, type PageAsideProps, PageBanner, type PageBannerProps, type PageBreadcrumbItem, type PageContentProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PageScrollableContentProps, PercentBarCell, type PercentBarCellProps, PhoneFormat, type Place, PlaceSearch, type PlaceSearchProps, Popover, PowerFormat, type PresetRange, ProgressBar, RangeCalendar, RasterLayerSpec, type RegisterPhosphorIconOptions, ResistanceFormat, type ResponsiveValue, ResultsCount, type ResultsCountProps, SKELETON_SIZES, type SearchConfig, SearchControl, type SearchControlProps, SearchEmptyState, type SearchEmptyStateProps, SearchLoadingState, type SearchLoadingStateProps, SearchResultGroup, type SearchResultGroupProps, SearchResultItem, type SearchResultItemProps, SearchResultsList, type SearchResultsListProps, SearchTrigger, type SearchTriggerProps, Section, SectionNav, type SectionNavItem, type SectionNavOrientation, type SectionNavProps, type SectionProps, type SectionSpacing, type SectionVariant, SelectCell, type SelectCellProps, SiteCard, type SiteCardProps, SiteContactCard, type SiteContactCardProps, SiteMetaCell, SiteMetaDisplay, type SiteMetaDisplayProps, Skeleton, Slider, type SortConfig, SortControl, type SortControlProps, type SortDirection, type SortState, SparklineCell, type SparklineCellProps, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone$1 as StatTone, type StatValue, Tab, TabList, TabPanel, type TableDensity, type TableExportMetadata, type TableExportOptions, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, TemperatureFormat, TemperatureUnit, TemperatureUnitString, TextAreaWithChips, TextCell, type TextCellProps, TextFormat, TimeControls, type TimeControlsProps, type TimeRange, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemVariant, ToggleButton, Tooltip, TooltipData, Tray, type TrayProps, type TrendPoint, type UseBreakpointReturn, type UseClientDataControlsOptions, type UseClientDataControlsResult, type UseDataControlsClientOptions, type UseDataControlsOptions, type UseDataControlsResult, type UseDataControlsServerOptions, type UseElementSizeResult, type UseInfiniteScrollOptions, type UseInfiniteScrollReturn, type UseServerDataControlsOptions, type UseTableExportOptions, type UseTableExportReturn, VectorLayerSpec, VoltageFormat, type WindowSize, type WindowSizeOption, YFormatType, addFilterCondition, applyDataOperations, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createEmptyFilter, createFilter, createFilters, createFormat, enumToSentenceCase, exportChart, exportTableAsCSV, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, filterToChips, formatBoolean, formatCapacity, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPercent, formatPhone, formatPhoneNumber, formatPower, formatPowerRating, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getExportHeaders, getFilterFields, getLinkClasses, getNumericColorClasses, getSkeletonSize, getStateTone, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isFilterEmpty, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, prepareTableDataForExport, registerPhosphorIcon, removeFilterCondition, 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, useBreakpoint, useClientDataControls, useColorMode, useDataControls, useDebounce, useElementSize, useInfiniteScroll, useLocalStorage, useMediaQuery, useNotice, useServerDataControls, useTableExport, wrapWithLink, yardsToMeters };
|