@texturehq/edges 1.26.4 → 1.26.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-CHRmTEal.d.ts → colors-CmCDc1y7.d.ts} +3 -2
- package/dist/{colors-Ddk1k14x.d.cts → colors-DtS0t3eo.d.cts} +3 -2
- package/dist/components.manifest.json +5 -1
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/server.cjs +2 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/dist/styles.css +9 -3
- package/dist/utilities.manifest.json +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, HTMLAttributes, ReactNode, ComponentProps, ComponentType, CSSProperties, Component, ErrorInfo } from 'react';
|
|
5
|
-
import {
|
|
6
|
-
export { A as ActionItem,
|
|
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 TemperatureUnitString, a8 as TemperatureUnit, a9 as TemperatureFormat, aa as TextFormat, ab as VoltageFormat, ac as FieldFormat, K as BaseDataPoint, B as BadgeProps, Y as YFormatType, G 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-DtS0t3eo.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, aF as BaseFormat, aA as ChartContext, N as ChartMargin, ap as CodeEditor, C as CodeEditorProps, e as CodeLanguage, f as CodeTheme, aq as ColorSpec, aC as ComponentFormatOptions, aN as CurrentUnit, aQ as CustomFormat, aJ as DateFormatStyle, aP as DistanceUnit, q as ENTITY_CONFIG, aK as EnergyUnit, E as EntityConfig, p as EntityType, H as Heading, av as InteractiveMap, I as InteractiveMapProps, ar as LayerFeature, as as LayerStyle, L as Loader, g as Logo, aw as MAP_TYPES, M as MapPoint, ay as Meter, h as MeterProps, aR as MetricFormat, aI as PercentageFormat, aL as PowerUnit, at as RenderType, aO as ResistanceUnit, j as SegmentOption, az as SegmentedControl, i as SegmentedControlProps, k as SideNav, l as SideNavItem, m as SideNavProps, ax as StaticMap, S as StaticMapProps, T as TextLink, aG as TextTransform, aH as TextTruncatePosition, J as TooltipSeries, n as TopNav, o as TopNavProps, aM as VoltageUnit, U as YFormatSettings, au as ZoomStops, aT as activeDeviceStates, u as clearColorCache, v as createCategoryColorMap, O as createXScale, P as createYScale, Q as defaultMargin, aU as deviceStateLabels, aS as deviceStateMetricFormats, aD as formatComponentValue, w as getContrastingTextColor, x as getDefaultChartColor, y as getDefaultColors, aW as getDeviceStateDisplayLabel, aW as getDeviceStateLabel, r as getEntityConfig, s as getEntityIcon, t as getEntityLabel, aY as getGridStateLabel, z as getResolvedColor, D as getThemeCategoricalColors, R as getYFormatSettings, aX as gridStateLabels, aV as isActiveDeviceState, aV as isActiveState, F as isLightColor, aB as useChartContext, aE as useComponentFormatter } from './colors-DtS0t3eo.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-CZCqHSPF.cjs';
|
|
@@ -2055,6 +2055,8 @@ interface ContactMetaDisplayProps {
|
|
|
2055
2055
|
emphasis?: CellEmphasis;
|
|
2056
2056
|
/** Show email address (only for stacked layout) */
|
|
2057
2057
|
showEmail?: boolean;
|
|
2058
|
+
/** Badge element to display next to the name (e.g., Owner, Admin badge) */
|
|
2059
|
+
badge?: React.ReactNode;
|
|
2058
2060
|
/** Loading state */
|
|
2059
2061
|
isLoading?: boolean;
|
|
2060
2062
|
/** Additional classes */
|
|
@@ -2095,7 +2097,7 @@ interface ContactMetaDisplayProps {
|
|
|
2095
2097
|
* />
|
|
2096
2098
|
* ```
|
|
2097
2099
|
*/
|
|
2098
|
-
declare function ContactMetaDisplay({ firstName, lastName, email, avatarUrl, layout, size, href, LinkComponent, linkVariant, emphasis, showEmail, isLoading, className, }: ContactMetaDisplayProps): react_jsx_runtime.JSX.Element;
|
|
2100
|
+
declare function ContactMetaDisplay({ firstName, lastName, email, avatarUrl, layout, size, href, LinkComponent, linkVariant, emphasis, showEmail, badge, isLoading, className, }: ContactMetaDisplayProps): react_jsx_runtime.JSX.Element;
|
|
2099
2101
|
|
|
2100
2102
|
interface CopyToClipboardProps {
|
|
2101
2103
|
/**
|
|
@@ -2846,6 +2848,8 @@ interface ContactMetaCellProps<T = unknown> extends CellComponentProps<T> {
|
|
|
2846
2848
|
emphasis?: CellEmphasis;
|
|
2847
2849
|
/** Show email address (only for stacked layout) */
|
|
2848
2850
|
showEmail?: boolean;
|
|
2851
|
+
/** Badge element to display next to the name (can be a function to extract from row) */
|
|
2852
|
+
badge?: React.ReactNode | ((row: T) => React.ReactNode);
|
|
2849
2853
|
/** Alignment */
|
|
2850
2854
|
align?: "left" | "center" | "right";
|
|
2851
2855
|
/** Additional classes */
|
|
@@ -2877,7 +2881,7 @@ interface ContactMetaCellProps<T = unknown> extends CellComponentProps<T> {
|
|
|
2877
2881
|
* }
|
|
2878
2882
|
* ```
|
|
2879
2883
|
*/
|
|
2880
|
-
declare function ContactMetaCell<T = unknown>({ row, context, firstName, lastName, email, avatarUrl, layout, size, href, LinkComponent, linkVariant, showEmail, emphasis, align, className, }: ContactMetaCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2884
|
+
declare function ContactMetaCell<T = unknown>({ row, context, firstName, lastName, email, avatarUrl, layout, size, href, LinkComponent, linkVariant, showEmail, badge, emphasis, align, className, }: ContactMetaCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2881
2885
|
|
|
2882
2886
|
interface CustomCellProps<T = any> extends CellComponentProps<T> {
|
|
2883
2887
|
/**
|
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, HTMLAttributes, ReactNode, ComponentProps, ComponentType, CSSProperties, Component, ErrorInfo } from 'react';
|
|
5
|
-
import {
|
|
6
|
-
export { A as ActionItem,
|
|
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 TemperatureUnitString, a8 as TemperatureUnit, a9 as TemperatureFormat, aa as TextFormat, ab as VoltageFormat, ac as FieldFormat, K as BaseDataPoint, B as BadgeProps, Y as YFormatType, G 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-CmCDc1y7.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, aF as BaseFormat, aA as ChartContext, N as ChartMargin, ap as CodeEditor, C as CodeEditorProps, e as CodeLanguage, f as CodeTheme, aq as ColorSpec, aC as ComponentFormatOptions, aN as CurrentUnit, aQ as CustomFormat, aJ as DateFormatStyle, aP as DistanceUnit, q as ENTITY_CONFIG, aK as EnergyUnit, E as EntityConfig, p as EntityType, H as Heading, av as InteractiveMap, I as InteractiveMapProps, ar as LayerFeature, as as LayerStyle, L as Loader, g as Logo, aw as MAP_TYPES, M as MapPoint, ay as Meter, h as MeterProps, aR as MetricFormat, aI as PercentageFormat, aL as PowerUnit, at as RenderType, aO as ResistanceUnit, j as SegmentOption, az as SegmentedControl, i as SegmentedControlProps, k as SideNav, l as SideNavItem, m as SideNavProps, ax as StaticMap, S as StaticMapProps, T as TextLink, aG as TextTransform, aH as TextTruncatePosition, J as TooltipSeries, n as TopNav, o as TopNavProps, aM as VoltageUnit, U as YFormatSettings, au as ZoomStops, aT as activeDeviceStates, u as clearColorCache, v as createCategoryColorMap, O as createXScale, P as createYScale, Q as defaultMargin, aU as deviceStateLabels, aS as deviceStateMetricFormats, aD as formatComponentValue, w as getContrastingTextColor, x as getDefaultChartColor, y as getDefaultColors, aW as getDeviceStateDisplayLabel, aW as getDeviceStateLabel, r as getEntityConfig, s as getEntityIcon, t as getEntityLabel, aY as getGridStateLabel, z as getResolvedColor, D as getThemeCategoricalColors, R as getYFormatSettings, aX as gridStateLabels, aV as isActiveDeviceState, aV as isActiveState, F as isLightColor, aB as useChartContext, aE as useComponentFormatter } from './colors-CmCDc1y7.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-CZCqHSPF.js';
|
|
@@ -2055,6 +2055,8 @@ interface ContactMetaDisplayProps {
|
|
|
2055
2055
|
emphasis?: CellEmphasis;
|
|
2056
2056
|
/** Show email address (only for stacked layout) */
|
|
2057
2057
|
showEmail?: boolean;
|
|
2058
|
+
/** Badge element to display next to the name (e.g., Owner, Admin badge) */
|
|
2059
|
+
badge?: React.ReactNode;
|
|
2058
2060
|
/** Loading state */
|
|
2059
2061
|
isLoading?: boolean;
|
|
2060
2062
|
/** Additional classes */
|
|
@@ -2095,7 +2097,7 @@ interface ContactMetaDisplayProps {
|
|
|
2095
2097
|
* />
|
|
2096
2098
|
* ```
|
|
2097
2099
|
*/
|
|
2098
|
-
declare function ContactMetaDisplay({ firstName, lastName, email, avatarUrl, layout, size, href, LinkComponent, linkVariant, emphasis, showEmail, isLoading, className, }: ContactMetaDisplayProps): react_jsx_runtime.JSX.Element;
|
|
2100
|
+
declare function ContactMetaDisplay({ firstName, lastName, email, avatarUrl, layout, size, href, LinkComponent, linkVariant, emphasis, showEmail, badge, isLoading, className, }: ContactMetaDisplayProps): react_jsx_runtime.JSX.Element;
|
|
2099
2101
|
|
|
2100
2102
|
interface CopyToClipboardProps {
|
|
2101
2103
|
/**
|
|
@@ -2846,6 +2848,8 @@ interface ContactMetaCellProps<T = unknown> extends CellComponentProps<T> {
|
|
|
2846
2848
|
emphasis?: CellEmphasis;
|
|
2847
2849
|
/** Show email address (only for stacked layout) */
|
|
2848
2850
|
showEmail?: boolean;
|
|
2851
|
+
/** Badge element to display next to the name (can be a function to extract from row) */
|
|
2852
|
+
badge?: React.ReactNode | ((row: T) => React.ReactNode);
|
|
2849
2853
|
/** Alignment */
|
|
2850
2854
|
align?: "left" | "center" | "right";
|
|
2851
2855
|
/** Additional classes */
|
|
@@ -2877,7 +2881,7 @@ interface ContactMetaCellProps<T = unknown> extends CellComponentProps<T> {
|
|
|
2877
2881
|
* }
|
|
2878
2882
|
* ```
|
|
2879
2883
|
*/
|
|
2880
|
-
declare function ContactMetaCell<T = unknown>({ row, context, firstName, lastName, email, avatarUrl, layout, size, href, LinkComponent, linkVariant, showEmail, emphasis, align, className, }: ContactMetaCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2884
|
+
declare function ContactMetaCell<T = unknown>({ row, context, firstName, lastName, email, avatarUrl, layout, size, href, LinkComponent, linkVariant, showEmail, badge, emphasis, align, className, }: ContactMetaCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2881
2885
|
|
|
2882
2886
|
interface CustomCellProps<T = any> extends CellComponentProps<T> {
|
|
2883
2887
|
/**
|