@texturehq/edges 2.4.10 → 2.5.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/{RichTextEditor-BNXNpG4s.d.cts → RichTextEditor-B_GaE_Yf.d.cts} +1 -0
- package/dist/{RichTextEditor-BNXNpG4s.d.ts → RichTextEditor-B_GaE_Yf.d.ts} +1 -0
- package/dist/{TimeField-DAuKLDSw.d.cts → TimeField-CJUNJDQT.d.cts} +1 -1
- package/dist/{TimeField-2KuhWThm.d.ts → TimeField-rRIt80g3.d.ts} +1 -1
- package/dist/{colors-Bau6lD37.d.cts → colors-CwPI5R2L.d.ts} +186 -7
- package/dist/{colors-C6jv9HRH.d.ts → colors-Jvcd1uiH.d.cts} +186 -7
- package/dist/form/index.cjs +2 -2
- package/dist/form/index.cjs.map +1 -1
- package/dist/form/index.js +2 -2
- package/dist/form/index.js.map +1 -1
- package/dist/index.cjs +13 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/rhf/index.cjs +2 -2
- package/dist/rhf/index.cjs.map +1 -1
- package/dist/rhf/index.d.cts +2 -2
- package/dist/rhf/index.d.ts +2 -2
- package/dist/rhf/index.js +2 -2
- package/dist/rhf/index.js.map +1 -1
- package/dist/server.cjs +2 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/dist/styles.css +3 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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 } from 'react-aria-components';
|
|
3
|
-
import { B as BadgeProps, 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, O as YFormatType, F as TooltipData, au as DeviceState, av as GridState, aw as ComponentFormatter, ax as LayerSpec, ay as CustomPinsSpec, az as GeoJsonLayerSpec, aA as RasterLayerSpec, aB as VectorLayerSpec, aC as ClusteredVectorLayerSpec } from './colors-
|
|
4
|
-
export { A as ABSENT_GRID_FIELDS, a as ActionItem, aD as ActionMenu, b as ActionMenuProps, aE as AppShell, c as AppShellProps, aF as Avatar, d as AvatarProps, aG as Badge, aH as BaseFormat, aI as ChartContext, C as ChartMargin, aJ as CodeEditor, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, aK as ColorSpec, aL as ComponentFormatOptions, aM as CurrentUnit, aN as CustomFormat, aO as DEFAULT_MAP_TYPE, aP as DateFormatStyle, aQ as DistanceUnit, aR as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, i as EntityArchetype, aS as EntityCategory, aT as EntityCategoryConfig, j as EntityConfig, k as EntityStateRule, l as EntityType, G as GRID_ELEMENT_TYPE_BY_ENTITY, aU as GRID_STATE_COLORS, m as GRID_STAT_LIST, n as GridElementSourceType, o as GridStatField, p as GridStatFieldFormat, aV as GridStateColor, H as HEADLINE_METRIC_BOUNDS, q as Heading, r as HeadlineMetric, aW as InteractiveMap, aX as InteractiveMapHandle, I as InteractiveMapProps, aY as LayerFeature, aZ as LayerStyle, L as Loader, s as Logo, a_ as MAP_TYPES, M as MapPoint, a$ as MapType, b0 as Meter, t as MeterProps, b1 as MetricFormat, u as MetricSource, b2 as PercentageFormat, b3 as PowerUnit, b4 as RenderType, b5 as ResistanceUnit, S as SegmentOption, b6 as SegmentedControl, v as SegmentedControlProps, w as SerializableFieldFormat, x as SideNav, y as SideNavItem, z as SideNavProps, b7 as StackNav, b8 as StackNavGroup, b9 as StackNavItem, ba as StackNavLinkComponentProps, bb as StackNavProps, bc as StackNavTheme, bd as StaticMap, D as StaticMapProps, T as TextLink, be as TextTransform, bf as TextTruncatePosition, J as TooltipSeries, K as TopNav, N as TopNavProps, bg as VoltageUnit, Y as YFormatSettings, bh as ZoomStops, bi as activeDeviceStates, P as archetypeFor, bj as baselineFromPoint, Q as clearColorCache, R as createCategoryColorMap, U as createXScale, V as createYScale, W as defaultMargin, bk as deviceStateLabels, bl as deviceStateMetricFormats, X as entityHasDetailPage, Z as entityHasStatList, _ as entityShowsNow, bm as formatComponentValue, $ as getContrastingTextColor, a0 as getDefaultChartColor, a1 as getDefaultColors, bn as getDeviceStateDisplayLabel, bn as getDeviceStateLabel, bo as getEntityCategory, a2 as getEntityConfig, a3 as getEntityIcon, a4 as getEntityLabel, a5 as getEntityStatList, bp as getGridStateLabel, a6 as getResolvedColor, a7 as getThemeCategoricalColors, a8 as getYFormatSettings, bq as gridStateLabels, br as isActiveDeviceState, br as isActiveState, a9 as isLightColor, bs as mapValuesToCategoricalColors, bt as useChartContext, bu as useComponentFormatter } from './colors-
|
|
3
|
+
import { B as BadgeProps, 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, O as YFormatType, F as TooltipData, au as DeviceState, av as GridState, aw as ComponentFormatter, ax as LayerSpec, ay as CustomPinsSpec, az as GeoJsonLayerSpec, aA as RasterLayerSpec, aB as VectorLayerSpec, aC as ClusteredVectorLayerSpec } from './colors-Jvcd1uiH.cjs';
|
|
4
|
+
export { A as ABSENT_GRID_FIELDS, a as ActionItem, aD as ActionMenu, b as ActionMenuProps, aE as AppShell, c as AppShellProps, aF as Avatar, d as AvatarProps, aG as Badge, aH as BaseFormat, aI as ChartContext, C as ChartMargin, aJ as CodeEditor, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, aK as ColorSpec, aL as ComponentFormatOptions, aM as CurrentUnit, aN as CustomFormat, aO as DEFAULT_MAP_TYPE, aP as DateFormatStyle, aQ as DistanceUnit, aR as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, i as EntityArchetype, aS as EntityCategory, aT as EntityCategoryConfig, j as EntityConfig, k as EntityStateRule, l as EntityType, G as GRID_ELEMENT_TYPE_BY_ENTITY, aU as GRID_STATE_COLORS, m as GRID_STAT_LIST, n as GridElementSourceType, o as GridStatField, p as GridStatFieldFormat, aV as GridStateColor, H as HEADLINE_METRIC_BOUNDS, q as Heading, r as HeadlineMetric, aW as InteractiveMap, aX as InteractiveMapHandle, I as InteractiveMapProps, aY as LayerFeature, aZ as LayerStyle, L as Loader, s as Logo, a_ as MAP_TYPES, M as MapPoint, a$ as MapType, b0 as Meter, t as MeterProps, b1 as MetricFormat, u as MetricSource, b2 as PercentageFormat, b3 as PowerUnit, b4 as RenderType, b5 as ResistanceUnit, S as SegmentOption, b6 as SegmentedControl, v as SegmentedControlProps, w as SerializableFieldFormat, x as SideNav, y as SideNavItem, z as SideNavProps, b7 as StackNav, b8 as StackNavGroup, b9 as StackNavItem, ba as StackNavLinkComponentProps, bb as StackNavProps, bc as StackNavTheme, bd as StaticMap, D as StaticMapProps, T as TextLink, be as TextTransform, bf as TextTruncatePosition, J as TooltipSeries, K as TopNav, N as TopNavProps, bg as VoltageUnit, Y as YFormatSettings, bh as ZoomStops, bi as activeDeviceStates, P as archetypeFor, bj as baselineFromPoint, Q as clearColorCache, R as createCategoryColorMap, U as createXScale, V as createYScale, W as defaultMargin, bk as deviceStateLabels, bl as deviceStateMetricFormats, X as entityHasDetailPage, Z as entityHasStatList, _ as entityShowsNow, bm as formatComponentValue, $ as getContrastingTextColor, a0 as getDefaultChartColor, a1 as getDefaultColors, bn as getDeviceStateDisplayLabel, bn as getDeviceStateLabel, bo as getEntityCategory, a2 as getEntityConfig, a3 as getEntityIcon, a4 as getEntityLabel, a5 as getEntityStatList, bp as getGridStateLabel, a6 as getResolvedColor, a7 as getThemeCategoricalColors, a8 as getYFormatSettings, bq as gridStateLabels, br as isActiveDeviceState, br as isActiveState, a9 as isLightColor, bs as mapValuesToCategoricalColors, bt as useChartContext, bu as useComponentFormatter } from './colors-Jvcd1uiH.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, RefObject, HTMLAttributes, ComponentProps, ComponentType, CSSProperties, Component, ErrorInfo } from 'react';
|
|
8
|
-
import { I as Icon$1, S as Size, d as IconName$2, B as BaseInputProps } from './RichTextEditor-
|
|
9
|
-
export { e as BaseProps, C as CUSTOM_ICON_REGISTRY, f as ClearButton, g as CustomIconName, a as DateField, D as DateFieldProps, h as Description, i as DescriptionPlacement, j as DescriptionProps, k as FieldError, l as FieldErrorProps, m as FieldGroup, n as FieldGroupProps, b as FileUpload, F as FileUploadProps, o as Input, p as InputProps, q as InputStyleProps, r as InputWrapper, L as Label, s as LabelProps, P as PhosphorIconName, c as RichTextEditor, R as RichTextEditorProps, t as getFieldGroupStyles, u as getInputBackgroundStyles, v as getInputBaseStyles, w as getInputStateStyles, x as useInputFocus } from './RichTextEditor-
|
|
8
|
+
import { I as Icon$1, S as Size, d as IconName$2, B as BaseInputProps } from './RichTextEditor-B_GaE_Yf.cjs';
|
|
9
|
+
export { e as BaseProps, C as CUSTOM_ICON_REGISTRY, f as ClearButton, g as CustomIconName, a as DateField, D as DateFieldProps, h as Description, i as DescriptionPlacement, j as DescriptionProps, k as FieldError, l as FieldErrorProps, m as FieldGroup, n as FieldGroupProps, b as FileUpload, F as FileUploadProps, o as Input, p as InputProps, q as InputStyleProps, r as InputWrapper, L as Label, s as LabelProps, P as PhosphorIconName, c as RichTextEditor, R as RichTextEditorProps, t as getFieldGroupStyles, u as getInputBackgroundStyles, v as getInputBaseStyles, w as getInputStateStyles, x as useInputFocus } from './RichTextEditor-B_GaE_Yf.cjs';
|
|
10
10
|
import { Virtualizer } from '@tanstack/react-virtual';
|
|
11
11
|
import { D as DialogAction, a as DialogHeaderConfig, b as DialogFooterConfig } from './index-dofSwYId.cjs';
|
|
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-dofSwYId.cjs';
|
|
13
|
-
export { A as Autocomplete, B as Button, g as ButtonProps, C as Checkbox, a as CheckboxGroup, b as ColorField, h as ColorFieldProps, N as NumberField, i as Radio, j as RadioCard, R as RadioCardGroup, k as RadioCardGroupProps, l as RadioCardProps, c as RadioGroup, S as Select, m as SelectItem, d as Switch, T as TextArea, e as TextField, n as TimeField } from './TimeField-
|
|
13
|
+
export { A as Autocomplete, B as Button, g as ButtonProps, C as Checkbox, a as CheckboxGroup, b as ColorField, h as ColorFieldProps, N as NumberField, i as Radio, j as RadioCard, R as RadioCardGroup, k as RadioCardGroupProps, l as RadioCardProps, c as RadioGroup, S as Select, m as SelectItem, d as Switch, T as TextArea, e as TextField, n as TimeField } from './TimeField-CJUNJDQT.cjs';
|
|
14
14
|
import { ScaleTime, ScaleLinear, ScaleBand } from 'd3-scale';
|
|
15
15
|
import { Icon } from '@phosphor-icons/react';
|
|
16
16
|
import { Map } from 'mapbox-gl';
|
|
@@ -575,6 +575,8 @@ interface ChipProps {
|
|
|
575
575
|
children: React__default.ReactNode;
|
|
576
576
|
/** Callback when the remove button is clicked */
|
|
577
577
|
onRemove?: () => void;
|
|
578
|
+
/** Accessible label and hover text for the remove control */
|
|
579
|
+
removeLabel?: string;
|
|
578
580
|
/** Size variant of the chip */
|
|
579
581
|
size?: Size | "xs";
|
|
580
582
|
/** Visual variant of the chip */
|
|
@@ -599,7 +601,7 @@ interface ChipProps {
|
|
|
599
601
|
* A compact element that represents an input, attribute, or action.
|
|
600
602
|
* Can be removable with an X button and supports different variants and sizes.
|
|
601
603
|
*/
|
|
602
|
-
declare function Chip({ children, onRemove, size, variant, isRemovable, isDisabled, className, onClick, }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
604
|
+
declare function Chip({ children, onRemove, removeLabel, size, variant, isRemovable, isDisabled, className, onClick, }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
603
605
|
|
|
604
606
|
interface Item {
|
|
605
607
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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 } from 'react-aria-components';
|
|
3
|
-
import { B as BadgeProps, 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, O as YFormatType, F as TooltipData, au as DeviceState, av as GridState, aw as ComponentFormatter, ax as LayerSpec, ay as CustomPinsSpec, az as GeoJsonLayerSpec, aA as RasterLayerSpec, aB as VectorLayerSpec, aC as ClusteredVectorLayerSpec } from './colors-
|
|
4
|
-
export { A as ABSENT_GRID_FIELDS, a as ActionItem, aD as ActionMenu, b as ActionMenuProps, aE as AppShell, c as AppShellProps, aF as Avatar, d as AvatarProps, aG as Badge, aH as BaseFormat, aI as ChartContext, C as ChartMargin, aJ as CodeEditor, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, aK as ColorSpec, aL as ComponentFormatOptions, aM as CurrentUnit, aN as CustomFormat, aO as DEFAULT_MAP_TYPE, aP as DateFormatStyle, aQ as DistanceUnit, aR as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, i as EntityArchetype, aS as EntityCategory, aT as EntityCategoryConfig, j as EntityConfig, k as EntityStateRule, l as EntityType, G as GRID_ELEMENT_TYPE_BY_ENTITY, aU as GRID_STATE_COLORS, m as GRID_STAT_LIST, n as GridElementSourceType, o as GridStatField, p as GridStatFieldFormat, aV as GridStateColor, H as HEADLINE_METRIC_BOUNDS, q as Heading, r as HeadlineMetric, aW as InteractiveMap, aX as InteractiveMapHandle, I as InteractiveMapProps, aY as LayerFeature, aZ as LayerStyle, L as Loader, s as Logo, a_ as MAP_TYPES, M as MapPoint, a$ as MapType, b0 as Meter, t as MeterProps, b1 as MetricFormat, u as MetricSource, b2 as PercentageFormat, b3 as PowerUnit, b4 as RenderType, b5 as ResistanceUnit, S as SegmentOption, b6 as SegmentedControl, v as SegmentedControlProps, w as SerializableFieldFormat, x as SideNav, y as SideNavItem, z as SideNavProps, b7 as StackNav, b8 as StackNavGroup, b9 as StackNavItem, ba as StackNavLinkComponentProps, bb as StackNavProps, bc as StackNavTheme, bd as StaticMap, D as StaticMapProps, T as TextLink, be as TextTransform, bf as TextTruncatePosition, J as TooltipSeries, K as TopNav, N as TopNavProps, bg as VoltageUnit, Y as YFormatSettings, bh as ZoomStops, bi as activeDeviceStates, P as archetypeFor, bj as baselineFromPoint, Q as clearColorCache, R as createCategoryColorMap, U as createXScale, V as createYScale, W as defaultMargin, bk as deviceStateLabels, bl as deviceStateMetricFormats, X as entityHasDetailPage, Z as entityHasStatList, _ as entityShowsNow, bm as formatComponentValue, $ as getContrastingTextColor, a0 as getDefaultChartColor, a1 as getDefaultColors, bn as getDeviceStateDisplayLabel, bn as getDeviceStateLabel, bo as getEntityCategory, a2 as getEntityConfig, a3 as getEntityIcon, a4 as getEntityLabel, a5 as getEntityStatList, bp as getGridStateLabel, a6 as getResolvedColor, a7 as getThemeCategoricalColors, a8 as getYFormatSettings, bq as gridStateLabels, br as isActiveDeviceState, br as isActiveState, a9 as isLightColor, bs as mapValuesToCategoricalColors, bt as useChartContext, bu as useComponentFormatter } from './colors-
|
|
3
|
+
import { B as BadgeProps, 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, O as YFormatType, F as TooltipData, au as DeviceState, av as GridState, aw as ComponentFormatter, ax as LayerSpec, ay as CustomPinsSpec, az as GeoJsonLayerSpec, aA as RasterLayerSpec, aB as VectorLayerSpec, aC as ClusteredVectorLayerSpec } from './colors-CwPI5R2L.js';
|
|
4
|
+
export { A as ABSENT_GRID_FIELDS, a as ActionItem, aD as ActionMenu, b as ActionMenuProps, aE as AppShell, c as AppShellProps, aF as Avatar, d as AvatarProps, aG as Badge, aH as BaseFormat, aI as ChartContext, C as ChartMargin, aJ as CodeEditor, f as CodeEditorProps, g as CodeLanguage, h as CodeTheme, aK as ColorSpec, aL as ComponentFormatOptions, aM as CurrentUnit, aN as CustomFormat, aO as DEFAULT_MAP_TYPE, aP as DateFormatStyle, aQ as DistanceUnit, aR as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, i as EntityArchetype, aS as EntityCategory, aT as EntityCategoryConfig, j as EntityConfig, k as EntityStateRule, l as EntityType, G as GRID_ELEMENT_TYPE_BY_ENTITY, aU as GRID_STATE_COLORS, m as GRID_STAT_LIST, n as GridElementSourceType, o as GridStatField, p as GridStatFieldFormat, aV as GridStateColor, H as HEADLINE_METRIC_BOUNDS, q as Heading, r as HeadlineMetric, aW as InteractiveMap, aX as InteractiveMapHandle, I as InteractiveMapProps, aY as LayerFeature, aZ as LayerStyle, L as Loader, s as Logo, a_ as MAP_TYPES, M as MapPoint, a$ as MapType, b0 as Meter, t as MeterProps, b1 as MetricFormat, u as MetricSource, b2 as PercentageFormat, b3 as PowerUnit, b4 as RenderType, b5 as ResistanceUnit, S as SegmentOption, b6 as SegmentedControl, v as SegmentedControlProps, w as SerializableFieldFormat, x as SideNav, y as SideNavItem, z as SideNavProps, b7 as StackNav, b8 as StackNavGroup, b9 as StackNavItem, ba as StackNavLinkComponentProps, bb as StackNavProps, bc as StackNavTheme, bd as StaticMap, D as StaticMapProps, T as TextLink, be as TextTransform, bf as TextTruncatePosition, J as TooltipSeries, K as TopNav, N as TopNavProps, bg as VoltageUnit, Y as YFormatSettings, bh as ZoomStops, bi as activeDeviceStates, P as archetypeFor, bj as baselineFromPoint, Q as clearColorCache, R as createCategoryColorMap, U as createXScale, V as createYScale, W as defaultMargin, bk as deviceStateLabels, bl as deviceStateMetricFormats, X as entityHasDetailPage, Z as entityHasStatList, _ as entityShowsNow, bm as formatComponentValue, $ as getContrastingTextColor, a0 as getDefaultChartColor, a1 as getDefaultColors, bn as getDeviceStateDisplayLabel, bn as getDeviceStateLabel, bo as getEntityCategory, a2 as getEntityConfig, a3 as getEntityIcon, a4 as getEntityLabel, a5 as getEntityStatList, bp as getGridStateLabel, a6 as getResolvedColor, a7 as getThemeCategoricalColors, a8 as getYFormatSettings, bq as gridStateLabels, br as isActiveDeviceState, br as isActiveState, a9 as isLightColor, bs as mapValuesToCategoricalColors, bt as useChartContext, bu as useComponentFormatter } from './colors-CwPI5R2L.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, RefObject, HTMLAttributes, ComponentProps, ComponentType, CSSProperties, Component, ErrorInfo } from 'react';
|
|
8
|
-
import { I as Icon$1, S as Size, d as IconName$2, B as BaseInputProps } from './RichTextEditor-
|
|
9
|
-
export { e as BaseProps, C as CUSTOM_ICON_REGISTRY, f as ClearButton, g as CustomIconName, a as DateField, D as DateFieldProps, h as Description, i as DescriptionPlacement, j as DescriptionProps, k as FieldError, l as FieldErrorProps, m as FieldGroup, n as FieldGroupProps, b as FileUpload, F as FileUploadProps, o as Input, p as InputProps, q as InputStyleProps, r as InputWrapper, L as Label, s as LabelProps, P as PhosphorIconName, c as RichTextEditor, R as RichTextEditorProps, t as getFieldGroupStyles, u as getInputBackgroundStyles, v as getInputBaseStyles, w as getInputStateStyles, x as useInputFocus } from './RichTextEditor-
|
|
8
|
+
import { I as Icon$1, S as Size, d as IconName$2, B as BaseInputProps } from './RichTextEditor-B_GaE_Yf.js';
|
|
9
|
+
export { e as BaseProps, C as CUSTOM_ICON_REGISTRY, f as ClearButton, g as CustomIconName, a as DateField, D as DateFieldProps, h as Description, i as DescriptionPlacement, j as DescriptionProps, k as FieldError, l as FieldErrorProps, m as FieldGroup, n as FieldGroupProps, b as FileUpload, F as FileUploadProps, o as Input, p as InputProps, q as InputStyleProps, r as InputWrapper, L as Label, s as LabelProps, P as PhosphorIconName, c as RichTextEditor, R as RichTextEditorProps, t as getFieldGroupStyles, u as getInputBackgroundStyles, v as getInputBaseStyles, w as getInputStateStyles, x as useInputFocus } from './RichTextEditor-B_GaE_Yf.js';
|
|
10
10
|
import { Virtualizer } from '@tanstack/react-virtual';
|
|
11
11
|
import { D as DialogAction, a as DialogHeaderConfig, b as DialogFooterConfig } from './index-dofSwYId.js';
|
|
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-dofSwYId.js';
|
|
13
|
-
export { A as Autocomplete, B as Button, g as ButtonProps, C as Checkbox, a as CheckboxGroup, b as ColorField, h as ColorFieldProps, N as NumberField, i as Radio, j as RadioCard, R as RadioCardGroup, k as RadioCardGroupProps, l as RadioCardProps, c as RadioGroup, S as Select, m as SelectItem, d as Switch, T as TextArea, e as TextField, n as TimeField } from './TimeField-
|
|
13
|
+
export { A as Autocomplete, B as Button, g as ButtonProps, C as Checkbox, a as CheckboxGroup, b as ColorField, h as ColorFieldProps, N as NumberField, i as Radio, j as RadioCard, R as RadioCardGroup, k as RadioCardGroupProps, l as RadioCardProps, c as RadioGroup, S as Select, m as SelectItem, d as Switch, T as TextArea, e as TextField, n as TimeField } from './TimeField-rRIt80g3.js';
|
|
14
14
|
import { ScaleTime, ScaleLinear, ScaleBand } from 'd3-scale';
|
|
15
15
|
import { Icon } from '@phosphor-icons/react';
|
|
16
16
|
import { Map } from 'mapbox-gl';
|
|
@@ -575,6 +575,8 @@ interface ChipProps {
|
|
|
575
575
|
children: React__default.ReactNode;
|
|
576
576
|
/** Callback when the remove button is clicked */
|
|
577
577
|
onRemove?: () => void;
|
|
578
|
+
/** Accessible label and hover text for the remove control */
|
|
579
|
+
removeLabel?: string;
|
|
578
580
|
/** Size variant of the chip */
|
|
579
581
|
size?: Size | "xs";
|
|
580
582
|
/** Visual variant of the chip */
|
|
@@ -599,7 +601,7 @@ interface ChipProps {
|
|
|
599
601
|
* A compact element that represents an input, attribute, or action.
|
|
600
602
|
* Can be removable with an X button and supports different variants and sizes.
|
|
601
603
|
*/
|
|
602
|
-
declare function Chip({ children, onRemove, size, variant, isRemovable, isDisabled, className, onClick, }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
604
|
+
declare function Chip({ children, onRemove, removeLabel, size, variant, isRemovable, isDisabled, className, onClick, }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
603
605
|
|
|
604
606
|
interface Item {
|
|
605
607
|
id: string;
|