@texturehq/edges 5.12.1 → 5.13.0

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,7 +1,7 @@
1
1
  import { BreadcrumbProps, BreadcrumbsProps, DateValue, CalendarProps as CalendarProps$1, ValidationResult, DisclosureGroupProps, DisclosurePanelProps, ButtonProps, DisclosureProps, DateRangePickerProps as DateRangePickerProps$1, FormProps, TooltipTriggerComponentProps, TooltipProps as TooltipProps$1, ListBoxProps as ListBoxProps$1, ListBoxItemProps, ModalOverlayProps, Key, PopoverProps as PopoverProps$1, ProgressBarProps as ProgressBarProps$1, RangeCalendarProps as RangeCalendarProps$1, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps, TabsProps as TabsProps$2 } from 'react-aria-components';
2
2
  export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, Focusable } from 'react-aria-components';
3
- import { as as LoadingState, B as BadgeProps, at as FilterState, au as SortState, av as SearchConfig, aw as FacetConfig, ax as FacetCounts, ay as Column, az as CellEmphasis, aA as FieldValue, aB as BooleanFormat, aC as FormattedValue, aD as FieldFormat, aE as CurrentFormat, aF as DateFormat, aG as DistanceFormat, aH as EnergyUnit, aI as EnergyFormat, aJ as CurrencyFormat, aK as NumberFormat, aL as PhoneFormat, aM as PowerFormat, aN as FormatterFunction, aO as ResistanceFormat, aP as TemperatureFormat, aQ as TemperatureUnitString, aR as TemperatureUnit, aS as TextFormat, aT as VoltageFormat, e as BaseDataPoint, $ as YFormatType, R as TooltipData, aU as CellComponentProps, aV as CellAlignment, aW as LinkBehavior, D as DeviceState, s as GridState, aX as ComponentFormatter, aY as DataTableProps, aZ as LayerSpec, a_ as CustomPinsSpec, a$ as GeoJsonLayerSpec, b0 as RasterLayerSpec, b1 as VectorLayerSpec, b2 as ClusteredVectorLayerSpec, b3 as ColorSpec } from './colors-DygBw3Bm.cjs';
4
- export { A as ABSENT_GRID_FIELDS, a as ActionItem, b4 as ActionMenu, b as ActionMenuProps, b5 as AppShell, c as AppShellProps, b6 as Avatar, d as AvatarProps, b7 as Badge, b8 as BaseFormat, C as CATEGORY_COLOR_TOKENS, f as CATEGORY_NEUTRAL_COLOR, b9 as CellComponent, ba as CellContext, bb as ChartContext, g as ChartMargin, bc as CodeEditor, h as CodeEditorProps, i as CodeLanguage, j as CodeTheme, bd as ComponentFormatOptions, be as CurrentUnit, bf as CustomFormat, bg as DEFAULT_MAP_TYPE, bh as DateFormatStyle, bi as DistanceUnit, bj as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, k as EntityArchetype, bk as EntityCategory, bl as EntityCategoryConfig, l as EntityConfig, m as EntityStateRule, n as EntityType, bm as FacetType, bn as FilterChip, bo as FilterCondition, bp as FilterGroup, bq as FilterOperator, G as GRID_ELEMENT_TYPE_BY_ENTITY, br as GRID_STATE_COLORS, o as GRID_STAT_LIST, bs as GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR, bt as GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR, p as GridElementSourceType, q as GridStatField, r as GridStatFieldFormat, bu as GridStateColor, H as HEADLINE_METRIC_BOUNDS, t as Heading, u as HeadlineMetric, bv as InteractiveMap, bw as InteractiveMapHandle, I as InteractiveMapProps, bx as LayerCheckState, by as LayerFeature, bz as LayerSelection, bA as LayerStyle, bB as LayerTreeNode, bC as LayerVisibilityPatch, L as Loader, v as Logo, bD as MAP_TYPES, M as MapPoint, bE as MapType, bF as Meter, w as MeterProps, x as MetricFormat, y as MetricSource, bG as MobileBreakpoint, bH as MobileConfig, bI as MobileRenderer, bJ as PercentBarCell, bK as PercentBarCellProps, P as PercentThresholdLevel, z as PercentThresholds, bL as PercentageFormat, bM as PowerUnit, bN as RenderType, bO as ResistanceUnit, S as SegmentOption, bP as SegmentedControl, F as SegmentedControlProps, J as SerializableFieldFormat, K as SideNav, N as SideNavItem, O as SideNavProps, bQ as SortConfig, bR as SortDirection, bS as StackNav, bT as StackNavGroup, bU as StackNavItem, bV as StackNavLinkComponentProps, bW as StackNavProps, bX as StackNavRenderRow, bY as StackNavRowRenderProps, bZ as StackNavTheme, b_ as StaticMap, Q as StaticMapProps, b$ as TableDensity, c0 as TableLayout, c1 as TableWidth, T as TextLink, c2 as TextTransform, c3 as TextTruncatePosition, U as TooltipSeries, V as TopNav, W as TopNavProps, X as UNARY_FILTER_OPERATORS, Y as UNARY_OPERATOR_LABELS, c4 as UNVERIFIED_VOLTAGE_UNIT_ROWS, Z as UnaryFilterOperator, c5 as UseInfiniteScrollOptions, c6 as UseInfiniteScrollReturn, c7 as VoltageUnit, _ as YFormatSettings, c8 as ZoomStops, a0 as activeDeviceStates, c9 as addFilterCondition, a1 as archetypeFor, ca as baselineFromPoint, a2 as clearColorCache, a3 as createCategoryColorMap, cb as createEmptyFilter, cc as createFilter, cd as createFilters, a4 as createXScale, a5 as createYScale, a6 as defaultMargin, a7 as deviceStateLabels, a8 as deviceStateMetricFormats, a9 as entityHasDetailPage, aa as entityHasStatList, ab as entityShowsNow, ce as filterToChips, cf as formatComponentValue, ac as getContrastingTextColor, ad as getDefaultChartColor, ae as getDefaultColors, af as getDeviceStateDisplayLabel, af as getDeviceStateLabel, cg as getEntityCategory, ag as getEntityConfig, ah as getEntityIcon, ai as getEntityLabel, aj as getEntityStatList, ch as getFilterFields, ak as getGridStateLabel, al as getResolvedColor, am as getThemeCategoricalColors, an as getYFormatSettings, ao as gridStateLabels, ap as isActiveDeviceState, ap as isActiveState, ci as isFilterEmpty, aq as isLightColor, ar as isUnaryFilterOperator, cj as mapValuesToCategoricalColors, ck as percentThresholdLevel, cl as removeFilterCondition, cm as useChartContext, cn as useComponentFormatter, co as useInfiniteScroll } from './colors-DygBw3Bm.cjs';
3
+ import { as as LoadingState, B as BadgeProps, at as FilterState, au as SortState, av as SearchConfig, aw as FacetConfig, ax as FacetCounts, ay as Column, az as CellEmphasis, aA as FieldValue, aB as BooleanFormat, aC as FormattedValue, aD as FieldFormat, aE as CurrentFormat, aF as DateFormat, aG as DistanceFormat, aH as EnergyUnit, aI as EnergyFormat, aJ as CurrencyFormat, aK as NumberFormat, aL as PhoneFormat, aM as PowerFormat, aN as FormatterFunction, aO as ResistanceFormat, aP as TemperatureFormat, aQ as TemperatureUnitString, aR as TemperatureUnit, aS as TextFormat, aT as VoltageFormat, e as BaseDataPoint, $ as YFormatType, R as TooltipData, aU as CellComponentProps, aV as CellAlignment, aW as LinkBehavior, D as DeviceState, s as GridState, aX as ComponentFormatter, aY as DataTableProps, aZ as LayerSpec, a_ as CustomPinsSpec, a$ as GeoJsonLayerSpec, b0 as RasterLayerSpec, b1 as VectorLayerSpec, b2 as ClusteredVectorLayerSpec, b3 as ColorSpec } from './colors-Dccs-164.cjs';
4
+ export { A as ABSENT_GRID_FIELDS, a as ActionItem, b4 as ActionMenu, b as ActionMenuProps, b5 as AppShell, c as AppShellProps, b6 as Avatar, d as AvatarProps, b7 as Badge, b8 as BaseFormat, C as CATEGORY_COLOR_TOKENS, f as CATEGORY_NEUTRAL_COLOR, b9 as CellComponent, ba as CellContext, bb as ChartContext, g as ChartMargin, bc as CodeEditor, h as CodeEditorProps, i as CodeLanguage, j as CodeTheme, bd as ComponentFormatOptions, be as CurrentUnit, bf as CustomFormat, bg as DEFAULT_MAP_TYPE, bh as DateFormatStyle, bi as DistanceUnit, bj as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, k as EntityArchetype, bk as EntityCategory, bl as EntityCategoryConfig, l as EntityConfig, m as EntityStateRule, n as EntityType, bm as FacetType, bn as FilterChip, bo as FilterCondition, bp as FilterGroup, bq as FilterOperator, G as GRID_ELEMENT_TYPE_BY_ENTITY, br as GRID_STATE_COLORS, o as GRID_STAT_LIST, bs as GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR, bt as GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR, p as GridElementSourceType, q as GridStatField, r as GridStatFieldFormat, bu as GridStateColor, H as HEADLINE_METRIC_BOUNDS, t as Heading, u as HeadlineMetric, bv as InteractiveMap, bw as InteractiveMapHandle, I as InteractiveMapProps, bx as LayerCheckState, by as LayerFeature, bz as LayerSelection, bA as LayerStyle, bB as LayerTreeNode, bC as LayerVisibilityPatch, L as Loader, v as Logo, bD as MAP_TYPES, M as MapPoint, bE as MapType, bF as Meter, w as MeterProps, x as MetricFormat, y as MetricSource, bG as MobileBreakpoint, bH as MobileConfig, bI as MobileRenderer, bJ as PercentBarCell, bK as PercentBarCellProps, P as PercentThresholdLevel, z as PercentThresholds, bL as PercentageFormat, bM as PowerUnit, bN as RenderType, bO as ResistanceUnit, S as SegmentOption, bP as SegmentedControl, F as SegmentedControlProps, J as SerializableFieldFormat, K as SideNav, N as SideNavItem, O as SideNavProps, bQ as SortConfig, bR as SortDirection, bS as StackNav, bT as StackNavGroup, bU as StackNavItem, bV as StackNavLinkComponentProps, bW as StackNavProps, bX as StackNavRenderRow, bY as StackNavRowRenderProps, bZ as StackNavTheme, b_ as StaticMap, Q as StaticMapProps, b$ as TableDensity, c0 as TableLayout, c1 as TableWidth, T as TextLink, c2 as TextTransform, c3 as TextTruncatePosition, U as TooltipSeries, V as TopNav, W as TopNavProps, X as UNARY_FILTER_OPERATORS, Y as UNARY_OPERATOR_LABELS, c4 as UNVERIFIED_VOLTAGE_UNIT_ROWS, Z as UnaryFilterOperator, c5 as UseInfiniteScrollOptions, c6 as UseInfiniteScrollReturn, c7 as VoltageUnit, _ as YFormatSettings, c8 as ZoomStops, a0 as activeDeviceStates, c9 as addFilterCondition, a1 as archetypeFor, ca as baselineFromPoint, a2 as clearColorCache, a3 as createCategoryColorMap, cb as createEmptyFilter, cc as createFilter, cd as createFilters, a4 as createXScale, a5 as createYScale, a6 as defaultMargin, a7 as deviceStateLabels, a8 as deviceStateMetricFormats, a9 as entityHasDetailPage, aa as entityHasStatList, ab as entityShowsNow, ce as filterToChips, cf as formatComponentValue, ac as getContrastingTextColor, ad as getDefaultChartColor, ae as getDefaultColors, af as getDeviceStateDisplayLabel, af as getDeviceStateLabel, cg as getEntityCategory, ag as getEntityConfig, ah as getEntityIcon, ai as getEntityLabel, aj as getEntityStatList, ch as getFilterFields, ak as getGridStateLabel, al as getResolvedColor, am as getThemeCategoricalColors, an as getYFormatSettings, ao as gridStateLabels, ap as isActiveDeviceState, ap as isActiveState, ci as isFilterEmpty, aq as isLightColor, ar as isUnaryFilterOperator, cj as mapValuesToCategoricalColors, ck as percentThresholdLevel, cl as removeFilterCondition, cm as useChartContext, cn as useComponentFormatter, co as useInfiniteScroll } from './colors-Dccs-164.cjs';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import * as React$1 from 'react';
7
7
  import React__default, { ReactNode, HTMLAttributes, ComponentProps, CSSProperties, Component, ErrorInfo } from 'react';
@@ -1190,6 +1190,15 @@ interface UseTableExportReturn {
1190
1190
  exportCSV: () => Promise<void>;
1191
1191
  /** Whether export is available (has data and exportable columns) */
1192
1192
  canExport: boolean;
1193
+ /**
1194
+ * True while `exportCSV` is in flight.
1195
+ *
1196
+ * Writing the file is synchronous, but a caller that drains a paged source before
1197
+ * handing rows over is not — that is seconds of round-trips with no feedback, and
1198
+ * every surface that has needed it so far has hand-rolled the same `useState`
1199
+ * beside this hook. Owning it here keeps the button's disabled state consistent.
1200
+ */
1201
+ isExporting: boolean;
1193
1202
  }
1194
1203
  /**
1195
1204
  * Hook for exporting DataTable data as CSV.
@@ -2202,6 +2211,15 @@ interface CategoryAxisBottomProps {
2202
2211
  interface CategoryAxisLeftProps {
2203
2212
  left: number;
2204
2213
  scale: ScaleBand<string>;
2214
+ /**
2215
+ * Space the labels have to draw in, in px. Labels wider than this are
2216
+ * truncated with an ellipsis; omit it to let them render at full length.
2217
+ *
2218
+ * The caller owns this number because only it knows how much of the chart
2219
+ * the gutter was allowed to claim — see `CategoryBarChart`'s
2220
+ * `MAX_CATEGORY_AXIS_FRACTION`.
2221
+ */
2222
+ availableWidth?: number;
2205
2223
  }
2206
2224
  interface NumericAxisBottomProps {
2207
2225
  top: number;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { BreadcrumbProps, BreadcrumbsProps, DateValue, CalendarProps as CalendarProps$1, ValidationResult, DisclosureGroupProps, DisclosurePanelProps, ButtonProps, DisclosureProps, DateRangePickerProps as DateRangePickerProps$1, FormProps, TooltipTriggerComponentProps, TooltipProps as TooltipProps$1, ListBoxProps as ListBoxProps$1, ListBoxItemProps, ModalOverlayProps, Key, PopoverProps as PopoverProps$1, ProgressBarProps as ProgressBarProps$1, RangeCalendarProps as RangeCalendarProps$1, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps, TabsProps as TabsProps$2 } from 'react-aria-components';
2
2
  export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, Focusable } from 'react-aria-components';
3
- import { as as LoadingState, B as BadgeProps, at as FilterState, au as SortState, av as SearchConfig, aw as FacetConfig, ax as FacetCounts, ay as Column, az as CellEmphasis, aA as FieldValue, aB as BooleanFormat, aC as FormattedValue, aD as FieldFormat, aE as CurrentFormat, aF as DateFormat, aG as DistanceFormat, aH as EnergyUnit, aI as EnergyFormat, aJ as CurrencyFormat, aK as NumberFormat, aL as PhoneFormat, aM as PowerFormat, aN as FormatterFunction, aO as ResistanceFormat, aP as TemperatureFormat, aQ as TemperatureUnitString, aR as TemperatureUnit, aS as TextFormat, aT as VoltageFormat, e as BaseDataPoint, $ as YFormatType, R as TooltipData, aU as CellComponentProps, aV as CellAlignment, aW as LinkBehavior, D as DeviceState, s as GridState, aX as ComponentFormatter, aY as DataTableProps, aZ as LayerSpec, a_ as CustomPinsSpec, a$ as GeoJsonLayerSpec, b0 as RasterLayerSpec, b1 as VectorLayerSpec, b2 as ClusteredVectorLayerSpec, b3 as ColorSpec } from './colors-BzmRlUsO.js';
4
- export { A as ABSENT_GRID_FIELDS, a as ActionItem, b4 as ActionMenu, b as ActionMenuProps, b5 as AppShell, c as AppShellProps, b6 as Avatar, d as AvatarProps, b7 as Badge, b8 as BaseFormat, C as CATEGORY_COLOR_TOKENS, f as CATEGORY_NEUTRAL_COLOR, b9 as CellComponent, ba as CellContext, bb as ChartContext, g as ChartMargin, bc as CodeEditor, h as CodeEditorProps, i as CodeLanguage, j as CodeTheme, bd as ComponentFormatOptions, be as CurrentUnit, bf as CustomFormat, bg as DEFAULT_MAP_TYPE, bh as DateFormatStyle, bi as DistanceUnit, bj as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, k as EntityArchetype, bk as EntityCategory, bl as EntityCategoryConfig, l as EntityConfig, m as EntityStateRule, n as EntityType, bm as FacetType, bn as FilterChip, bo as FilterCondition, bp as FilterGroup, bq as FilterOperator, G as GRID_ELEMENT_TYPE_BY_ENTITY, br as GRID_STATE_COLORS, o as GRID_STAT_LIST, bs as GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR, bt as GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR, p as GridElementSourceType, q as GridStatField, r as GridStatFieldFormat, bu as GridStateColor, H as HEADLINE_METRIC_BOUNDS, t as Heading, u as HeadlineMetric, bv as InteractiveMap, bw as InteractiveMapHandle, I as InteractiveMapProps, bx as LayerCheckState, by as LayerFeature, bz as LayerSelection, bA as LayerStyle, bB as LayerTreeNode, bC as LayerVisibilityPatch, L as Loader, v as Logo, bD as MAP_TYPES, M as MapPoint, bE as MapType, bF as Meter, w as MeterProps, x as MetricFormat, y as MetricSource, bG as MobileBreakpoint, bH as MobileConfig, bI as MobileRenderer, bJ as PercentBarCell, bK as PercentBarCellProps, P as PercentThresholdLevel, z as PercentThresholds, bL as PercentageFormat, bM as PowerUnit, bN as RenderType, bO as ResistanceUnit, S as SegmentOption, bP as SegmentedControl, F as SegmentedControlProps, J as SerializableFieldFormat, K as SideNav, N as SideNavItem, O as SideNavProps, bQ as SortConfig, bR as SortDirection, bS as StackNav, bT as StackNavGroup, bU as StackNavItem, bV as StackNavLinkComponentProps, bW as StackNavProps, bX as StackNavRenderRow, bY as StackNavRowRenderProps, bZ as StackNavTheme, b_ as StaticMap, Q as StaticMapProps, b$ as TableDensity, c0 as TableLayout, c1 as TableWidth, T as TextLink, c2 as TextTransform, c3 as TextTruncatePosition, U as TooltipSeries, V as TopNav, W as TopNavProps, X as UNARY_FILTER_OPERATORS, Y as UNARY_OPERATOR_LABELS, c4 as UNVERIFIED_VOLTAGE_UNIT_ROWS, Z as UnaryFilterOperator, c5 as UseInfiniteScrollOptions, c6 as UseInfiniteScrollReturn, c7 as VoltageUnit, _ as YFormatSettings, c8 as ZoomStops, a0 as activeDeviceStates, c9 as addFilterCondition, a1 as archetypeFor, ca as baselineFromPoint, a2 as clearColorCache, a3 as createCategoryColorMap, cb as createEmptyFilter, cc as createFilter, cd as createFilters, a4 as createXScale, a5 as createYScale, a6 as defaultMargin, a7 as deviceStateLabels, a8 as deviceStateMetricFormats, a9 as entityHasDetailPage, aa as entityHasStatList, ab as entityShowsNow, ce as filterToChips, cf as formatComponentValue, ac as getContrastingTextColor, ad as getDefaultChartColor, ae as getDefaultColors, af as getDeviceStateDisplayLabel, af as getDeviceStateLabel, cg as getEntityCategory, ag as getEntityConfig, ah as getEntityIcon, ai as getEntityLabel, aj as getEntityStatList, ch as getFilterFields, ak as getGridStateLabel, al as getResolvedColor, am as getThemeCategoricalColors, an as getYFormatSettings, ao as gridStateLabels, ap as isActiveDeviceState, ap as isActiveState, ci as isFilterEmpty, aq as isLightColor, ar as isUnaryFilterOperator, cj as mapValuesToCategoricalColors, ck as percentThresholdLevel, cl as removeFilterCondition, cm as useChartContext, cn as useComponentFormatter, co as useInfiniteScroll } from './colors-BzmRlUsO.js';
3
+ import { as as LoadingState, B as BadgeProps, at as FilterState, au as SortState, av as SearchConfig, aw as FacetConfig, ax as FacetCounts, ay as Column, az as CellEmphasis, aA as FieldValue, aB as BooleanFormat, aC as FormattedValue, aD as FieldFormat, aE as CurrentFormat, aF as DateFormat, aG as DistanceFormat, aH as EnergyUnit, aI as EnergyFormat, aJ as CurrencyFormat, aK as NumberFormat, aL as PhoneFormat, aM as PowerFormat, aN as FormatterFunction, aO as ResistanceFormat, aP as TemperatureFormat, aQ as TemperatureUnitString, aR as TemperatureUnit, aS as TextFormat, aT as VoltageFormat, e as BaseDataPoint, $ as YFormatType, R as TooltipData, aU as CellComponentProps, aV as CellAlignment, aW as LinkBehavior, D as DeviceState, s as GridState, aX as ComponentFormatter, aY as DataTableProps, aZ as LayerSpec, a_ as CustomPinsSpec, a$ as GeoJsonLayerSpec, b0 as RasterLayerSpec, b1 as VectorLayerSpec, b2 as ClusteredVectorLayerSpec, b3 as ColorSpec } from './colors-aSE98RKK.js';
4
+ export { A as ABSENT_GRID_FIELDS, a as ActionItem, b4 as ActionMenu, b as ActionMenuProps, b5 as AppShell, c as AppShellProps, b6 as Avatar, d as AvatarProps, b7 as Badge, b8 as BaseFormat, C as CATEGORY_COLOR_TOKENS, f as CATEGORY_NEUTRAL_COLOR, b9 as CellComponent, ba as CellContext, bb as ChartContext, g as ChartMargin, bc as CodeEditor, h as CodeEditorProps, i as CodeLanguage, j as CodeTheme, bd as ComponentFormatOptions, be as CurrentUnit, bf as CustomFormat, bg as DEFAULT_MAP_TYPE, bh as DateFormatStyle, bi as DistanceUnit, bj as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, k as EntityArchetype, bk as EntityCategory, bl as EntityCategoryConfig, l as EntityConfig, m as EntityStateRule, n as EntityType, bm as FacetType, bn as FilterChip, bo as FilterCondition, bp as FilterGroup, bq as FilterOperator, G as GRID_ELEMENT_TYPE_BY_ENTITY, br as GRID_STATE_COLORS, o as GRID_STAT_LIST, bs as GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR, bt as GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR, p as GridElementSourceType, q as GridStatField, r as GridStatFieldFormat, bu as GridStateColor, H as HEADLINE_METRIC_BOUNDS, t as Heading, u as HeadlineMetric, bv as InteractiveMap, bw as InteractiveMapHandle, I as InteractiveMapProps, bx as LayerCheckState, by as LayerFeature, bz as LayerSelection, bA as LayerStyle, bB as LayerTreeNode, bC as LayerVisibilityPatch, L as Loader, v as Logo, bD as MAP_TYPES, M as MapPoint, bE as MapType, bF as Meter, w as MeterProps, x as MetricFormat, y as MetricSource, bG as MobileBreakpoint, bH as MobileConfig, bI as MobileRenderer, bJ as PercentBarCell, bK as PercentBarCellProps, P as PercentThresholdLevel, z as PercentThresholds, bL as PercentageFormat, bM as PowerUnit, bN as RenderType, bO as ResistanceUnit, S as SegmentOption, bP as SegmentedControl, F as SegmentedControlProps, J as SerializableFieldFormat, K as SideNav, N as SideNavItem, O as SideNavProps, bQ as SortConfig, bR as SortDirection, bS as StackNav, bT as StackNavGroup, bU as StackNavItem, bV as StackNavLinkComponentProps, bW as StackNavProps, bX as StackNavRenderRow, bY as StackNavRowRenderProps, bZ as StackNavTheme, b_ as StaticMap, Q as StaticMapProps, b$ as TableDensity, c0 as TableLayout, c1 as TableWidth, T as TextLink, c2 as TextTransform, c3 as TextTruncatePosition, U as TooltipSeries, V as TopNav, W as TopNavProps, X as UNARY_FILTER_OPERATORS, Y as UNARY_OPERATOR_LABELS, c4 as UNVERIFIED_VOLTAGE_UNIT_ROWS, Z as UnaryFilterOperator, c5 as UseInfiniteScrollOptions, c6 as UseInfiniteScrollReturn, c7 as VoltageUnit, _ as YFormatSettings, c8 as ZoomStops, a0 as activeDeviceStates, c9 as addFilterCondition, a1 as archetypeFor, ca as baselineFromPoint, a2 as clearColorCache, a3 as createCategoryColorMap, cb as createEmptyFilter, cc as createFilter, cd as createFilters, a4 as createXScale, a5 as createYScale, a6 as defaultMargin, a7 as deviceStateLabels, a8 as deviceStateMetricFormats, a9 as entityHasDetailPage, aa as entityHasStatList, ab as entityShowsNow, ce as filterToChips, cf as formatComponentValue, ac as getContrastingTextColor, ad as getDefaultChartColor, ae as getDefaultColors, af as getDeviceStateDisplayLabel, af as getDeviceStateLabel, cg as getEntityCategory, ag as getEntityConfig, ah as getEntityIcon, ai as getEntityLabel, aj as getEntityStatList, ch as getFilterFields, ak as getGridStateLabel, al as getResolvedColor, am as getThemeCategoricalColors, an as getYFormatSettings, ao as gridStateLabels, ap as isActiveDeviceState, ap as isActiveState, ci as isFilterEmpty, aq as isLightColor, ar as isUnaryFilterOperator, cj as mapValuesToCategoricalColors, ck as percentThresholdLevel, cl as removeFilterCondition, cm as useChartContext, cn as useComponentFormatter, co as useInfiniteScroll } from './colors-aSE98RKK.js';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import * as React$1 from 'react';
7
7
  import React__default, { ReactNode, HTMLAttributes, ComponentProps, CSSProperties, Component, ErrorInfo } from 'react';
@@ -1190,6 +1190,15 @@ interface UseTableExportReturn {
1190
1190
  exportCSV: () => Promise<void>;
1191
1191
  /** Whether export is available (has data and exportable columns) */
1192
1192
  canExport: boolean;
1193
+ /**
1194
+ * True while `exportCSV` is in flight.
1195
+ *
1196
+ * Writing the file is synchronous, but a caller that drains a paged source before
1197
+ * handing rows over is not — that is seconds of round-trips with no feedback, and
1198
+ * every surface that has needed it so far has hand-rolled the same `useState`
1199
+ * beside this hook. Owning it here keeps the button's disabled state consistent.
1200
+ */
1201
+ isExporting: boolean;
1193
1202
  }
1194
1203
  /**
1195
1204
  * Hook for exporting DataTable data as CSV.
@@ -2202,6 +2211,15 @@ interface CategoryAxisBottomProps {
2202
2211
  interface CategoryAxisLeftProps {
2203
2212
  left: number;
2204
2213
  scale: ScaleBand<string>;
2214
+ /**
2215
+ * Space the labels have to draw in, in px. Labels wider than this are
2216
+ * truncated with an ellipsis; omit it to let them render at full length.
2217
+ *
2218
+ * The caller owns this number because only it knows how much of the chart
2219
+ * the gutter was allowed to claim — see `CategoryBarChart`'s
2220
+ * `MAX_CATEGORY_AXIS_FRACTION`.
2221
+ */
2222
+ availableWidth?: number;
2205
2223
  }
2206
2224
  interface NumericAxisBottomProps {
2207
2225
  top: number;