@texturehq/edges 1.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.manifest.json +30 -6
- package/dist/generated/viz-runtime.css +3 -3
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +121 -18
- package/dist/index.d.ts +121 -18
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/{server-Utz6Sv9w.d.ts → server-B74FiF5M.d.cts} +110 -9
- package/dist/{server-Utz6Sv9w.d.cts → server-B74FiF5M.d.ts} +110 -9
- package/dist/server.cjs +1 -1
- 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 +1 -1
- package/dist/server.js.map +1 -1
- package/dist/styles.css +68 -84
- package/dist/utilities.manifest.json +12 -4
- package/package.json +3 -3
- package/dist/neutral-dark-ULOPSLHN.png +0 -0
- package/dist/neutral-light-IAPUNYDO.png +0 -0
- package/dist/satelite-light-CU3QG3IP.png +0 -0
- package/dist/streets-dark-47NJZQUE.png +0 -0
- package/dist/streets-light-YXBEDGBR.png +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as Icon, B as BaseDataPoint, Y as YFormatType, T as TooltipData, a as IconName$2, L as LayerSpec, C as CustomPinsSpec, G as GeoJsonLayerSpec, R as RasterLayerSpec, V as VectorLayerSpec } from './server-
|
|
2
|
-
export { A as ActionItem, c as ActionMenu, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, l as Card, j as CardProps, k as CardVariant, a4 as ChartContext, a6 as ChartMargin, p as CodeEditor, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, u as ColorSpec, q as DateField, D as DateFieldProps, r as FileUpload, F as FileUploadProps, H as Heading, z as InteractiveMap, v as InteractiveMapProps, w as LayerFeature, x as LayerStyle, s as Loader, t as Logo, E as MAP_TYPES, M as MapPoint, N as Meter, K as MeterProps, y as RenderType, P as RichTextEditor, O as RichTextEditorProps, U as SegmentOption, W as SegmentedControl, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, J as StaticMap, S as StaticMapProps, a0 as TextLink, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Z as ZoomStops, ac as clearColorCache, ad as createCategoryColorMap, a7 as createXScale, a8 as createYScale, a9 as defaultMargin, ae as getContrastingTextColor, af as getDefaultChartColor, ag as getDefaultColors, ah as getResolvedColor, ai as getThemeCategoricalColors, aa as getYFormatSettings, aj as isLightColor, a5 as useChartContext } from './server-
|
|
1
|
+
import { I as Icon, B as BaseDataPoint, Y as YFormatType, T as TooltipData, a as IconName$2, L as LayerSpec, C as CustomPinsSpec, G as GeoJsonLayerSpec, R as RasterLayerSpec, V as VectorLayerSpec } from './server-B74FiF5M.cjs';
|
|
2
|
+
export { A as ActionItem, c as ActionMenu, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, l as Card, j as CardProps, k as CardVariant, a4 as ChartContext, a6 as ChartMargin, p as CodeEditor, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, u as ColorSpec, q as DateField, D as DateFieldProps, r as FileUpload, F as FileUploadProps, H as Heading, z as InteractiveMap, v as InteractiveMapProps, w as LayerFeature, x as LayerStyle, s as Loader, t as Logo, E as MAP_TYPES, M as MapPoint, N as Meter, K as MeterProps, y as RenderType, P as RichTextEditor, O as RichTextEditorProps, U as SegmentOption, W as SegmentedControl, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, J as StaticMap, S as StaticMapProps, a0 as TextLink, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Z as ZoomStops, ac as clearColorCache, ad as createCategoryColorMap, a7 as createXScale, a8 as createYScale, a9 as defaultMargin, ae as getContrastingTextColor, af as getDefaultChartColor, ag as getDefaultColors, ah as getResolvedColor, ai as getThemeCategoricalColors, aa as getYFormatSettings, aj as isLightColor, a5 as useChartContext } from './server-B74FiF5M.cjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { ComponentProps, ReactNode, ComponentType, Component, ErrorInfo, CSSProperties } from 'react';
|
|
@@ -9,6 +9,68 @@ import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
|
9
9
|
import '@phosphor-icons/react';
|
|
10
10
|
import 'react-map-gl';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Tailwind CSS default breakpoints
|
|
14
|
+
* These match the standard Tailwind breakpoints used in your CSS
|
|
15
|
+
*/
|
|
16
|
+
declare const BREAKPOINTS: {
|
|
17
|
+
readonly sm: "640px";
|
|
18
|
+
readonly md: "768px";
|
|
19
|
+
readonly lg: "1024px";
|
|
20
|
+
readonly xl: "1280px";
|
|
21
|
+
readonly "2xl": "1536px";
|
|
22
|
+
};
|
|
23
|
+
type Breakpoint = keyof typeof BREAKPOINTS;
|
|
24
|
+
interface BreakpointState {
|
|
25
|
+
/** Current active breakpoint (highest matching breakpoint) */
|
|
26
|
+
current: Breakpoint | "base";
|
|
27
|
+
/** True if viewport is at least 640px (sm breakpoint or higher) */
|
|
28
|
+
isSm: boolean;
|
|
29
|
+
/** True if viewport is at least 768px (md breakpoint or higher) */
|
|
30
|
+
isMd: boolean;
|
|
31
|
+
/** True if viewport is at least 1024px (lg breakpoint or higher) */
|
|
32
|
+
isLg: boolean;
|
|
33
|
+
/** True if viewport is at least 1280px (xl breakpoint or higher) */
|
|
34
|
+
isXl: boolean;
|
|
35
|
+
/** True if viewport is at least 1536px (2xl breakpoint or higher) */
|
|
36
|
+
is2Xl: boolean;
|
|
37
|
+
/** True if viewport is smaller than 768px (mobile) */
|
|
38
|
+
isMobile: boolean;
|
|
39
|
+
/** True if viewport is 768px or larger (tablet/desktop) */
|
|
40
|
+
isDesktop: boolean;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Public return type alias for useBreakpoint hook
|
|
44
|
+
* Provides a stable public API for barrel re-exports
|
|
45
|
+
*/
|
|
46
|
+
type UseBreakpointReturn = BreakpointState;
|
|
47
|
+
/**
|
|
48
|
+
* Hook to detect which Tailwind breakpoint is currently active
|
|
49
|
+
*
|
|
50
|
+
* Returns an object with boolean flags for each breakpoint and convenience helpers.
|
|
51
|
+
* All breakpoints use min-width queries to match Tailwind's mobile-first approach.
|
|
52
|
+
*
|
|
53
|
+
* @param defaultBreakpoint - The breakpoint to assume during SSR or before first render (defaults to "base" for mobile-first)
|
|
54
|
+
* @returns An object containing breakpoint state information
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```tsx
|
|
58
|
+
* const { isMobile, isDesktop, current } = useBreakpoint();
|
|
59
|
+
*
|
|
60
|
+
* // Conditional rendering based on screen size
|
|
61
|
+
* return isMobile ? <MobileNav /> : <DesktopNav />;
|
|
62
|
+
*
|
|
63
|
+
* // Check specific breakpoint
|
|
64
|
+
* if (isLg) {
|
|
65
|
+
* // Show expanded view on large screens
|
|
66
|
+
* }
|
|
67
|
+
*
|
|
68
|
+
* // Use current breakpoint
|
|
69
|
+
* console.log(`Current breakpoint: ${current}`); // "md", "lg", etc.
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
declare function useBreakpoint(defaultBreakpoint?: Breakpoint | "base"): BreakpointState;
|
|
73
|
+
|
|
12
74
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
13
75
|
|
|
14
76
|
/**
|
|
@@ -19,6 +81,22 @@ declare function useDebounce<T>(value: T, delay?: number): T;
|
|
|
19
81
|
*/
|
|
20
82
|
declare function useLocalStorage<T>(key: string, initialValue: T): [T, (value: T | ((val: T) => T)) => void, () => void];
|
|
21
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Hook to check if a media query matches the current viewport
|
|
86
|
+
*
|
|
87
|
+
* @param query - A CSS media query string (e.g., "(min-width: 768px)")
|
|
88
|
+
* @param defaultValue - The default value to return during SSR or before the first render
|
|
89
|
+
* @returns A boolean indicating whether the media query matches
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```tsx
|
|
93
|
+
* const isMobile = useMediaQuery('(max-width: 767px)');
|
|
94
|
+
* const prefersReducedMotion = useMediaQuery('(prefers-reduced-motion: reduce)');
|
|
95
|
+
* const isLandscape = useMediaQuery('(orientation: landscape)');
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
declare function useMediaQuery(query: string, defaultValue?: boolean): boolean;
|
|
99
|
+
|
|
22
100
|
/**
|
|
23
101
|
* Core types for the formatting system
|
|
24
102
|
*/
|
|
@@ -2084,6 +2162,8 @@ interface ListItemProps {
|
|
|
2084
2162
|
disabled?: boolean;
|
|
2085
2163
|
/** If provided, renders as <a> with proper a11y; otherwise <button> */
|
|
2086
2164
|
href?: string;
|
|
2165
|
+
/** Size variant affecting title/subtitle text sizes and spacing */
|
|
2166
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
2087
2167
|
onClick?: (id: string) => void;
|
|
2088
2168
|
onMouseEnter?: (id: string) => void;
|
|
2089
2169
|
onMouseLeave?: (id: string) => void;
|
|
@@ -2110,7 +2190,7 @@ interface ListItemProps {
|
|
|
2110
2190
|
* />
|
|
2111
2191
|
* ```
|
|
2112
2192
|
*/
|
|
2113
|
-
declare function ListItem({ id, title, subtitle, meta, leading, trailing, isSelected, isHovered, disabled, href, onClick, onMouseEnter, onMouseLeave, className, style, }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
2193
|
+
declare function ListItem({ id, title, subtitle, meta, leading, trailing, isSelected, isHovered, disabled, href, size, onClick, onMouseEnter, onMouseLeave, className, style, }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
2114
2194
|
|
|
2115
2195
|
interface ListPaneProps {
|
|
2116
2196
|
/** Content for the header area (typically ListHeader) */
|
|
@@ -2697,15 +2777,16 @@ interface SliderProps {
|
|
|
2697
2777
|
declare function Slider({ label, description, tooltip, errorMessage, size, className, value, defaultValue, onChange, min, max, step, disabled, showValue, }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
2698
2778
|
|
|
2699
2779
|
/**
|
|
2700
|
-
* SplitPane Component —
|
|
2780
|
+
* SplitPane Component — Two-panel layout with optional resizing
|
|
2701
2781
|
*
|
|
2702
|
-
* A layout primitive for side-by-side content with
|
|
2782
|
+
* A layout primitive for side-by-side content with an optional draggable divider.
|
|
2703
2783
|
* Perfect for list/detail views, dashboards with inspectors, or any
|
|
2704
|
-
* main/aside layout
|
|
2784
|
+
* main/aside layout.
|
|
2705
2785
|
*
|
|
2706
2786
|
* Usage:
|
|
2707
2787
|
* ```tsx
|
|
2708
|
-
*
|
|
2788
|
+
* // Simple fixed-width aside
|
|
2789
|
+
* <SplitPane asideWidth={400}>
|
|
2709
2790
|
* <SplitPane.Main>
|
|
2710
2791
|
* <DataTable />
|
|
2711
2792
|
* </SplitPane.Main>
|
|
@@ -2713,24 +2794,46 @@ declare function Slider({ label, description, tooltip, errorMessage, size, class
|
|
|
2713
2794
|
* <Inspector />
|
|
2714
2795
|
* </SplitPane.Aside>
|
|
2715
2796
|
* </SplitPane>
|
|
2797
|
+
*
|
|
2798
|
+
* // Resizable with constraints
|
|
2799
|
+
* <SplitPane
|
|
2800
|
+
* asideWidth={400}
|
|
2801
|
+
* resizable
|
|
2802
|
+
* minAsideWidth={280}
|
|
2803
|
+
* minMainWidth={600}
|
|
2804
|
+
* >
|
|
2805
|
+
* ...
|
|
2806
|
+
* </SplitPane>
|
|
2716
2807
|
* ```
|
|
2717
2808
|
*/
|
|
2718
2809
|
type SplitPaneOrientation = "horizontal" | "vertical";
|
|
2719
2810
|
interface SplitPaneProps {
|
|
2720
|
-
/**
|
|
2721
|
-
|
|
2722
|
-
/**
|
|
2723
|
-
|
|
2724
|
-
/**
|
|
2725
|
-
|
|
2811
|
+
/** Width of aside panel (pixels or percentage string like "30%") */
|
|
2812
|
+
asideWidth?: number | string;
|
|
2813
|
+
/** Height of aside panel for vertical orientation (pixels or percentage) */
|
|
2814
|
+
asideHeight?: number | string;
|
|
2815
|
+
/** Minimum width of aside panel in pixels (only used if resizable=true) */
|
|
2816
|
+
minAsideWidth?: number;
|
|
2817
|
+
/** Minimum height of aside panel in pixels (only used if resizable=true and orientation="vertical") */
|
|
2818
|
+
minAsideHeight?: number;
|
|
2819
|
+
/** Minimum width of main panel in pixels (only used if resizable=true) */
|
|
2820
|
+
minMainWidth?: number;
|
|
2821
|
+
/** Minimum height of main panel in pixels (only used if resizable=true and orientation="vertical") */
|
|
2822
|
+
minMainHeight?: number;
|
|
2726
2823
|
/** Orientation of the split */
|
|
2727
2824
|
orientation?: SplitPaneOrientation;
|
|
2728
|
-
/** Whether the divider is draggable */
|
|
2825
|
+
/** Whether the divider is draggable (default: false) */
|
|
2729
2826
|
resizable?: boolean;
|
|
2730
|
-
/** Callback when resize occurs */
|
|
2731
|
-
|
|
2827
|
+
/** Callback when resize occurs (provides new aside size in pixels) */
|
|
2828
|
+
onAsideResize?: (size: number) => void;
|
|
2829
|
+
/** Callback when resize starts */
|
|
2830
|
+
onResizeStart?: () => void;
|
|
2831
|
+
/** Callback when resize ends */
|
|
2832
|
+
onResizeEnd?: () => void;
|
|
2732
2833
|
/** Additional CSS classes */
|
|
2733
2834
|
className?: string;
|
|
2835
|
+
/** Additional CSS classes for the divider */
|
|
2836
|
+
dividerClassName?: string;
|
|
2734
2837
|
/** Child panels */
|
|
2735
2838
|
children?: React__default.ReactNode;
|
|
2736
2839
|
}
|
|
@@ -2738,7 +2841,7 @@ interface SplitPanePanelProps {
|
|
|
2738
2841
|
className?: string;
|
|
2739
2842
|
children?: React__default.ReactNode;
|
|
2740
2843
|
}
|
|
2741
|
-
declare function SplitPane({
|
|
2844
|
+
declare function SplitPane({ asideWidth, asideHeight, minAsideWidth, minAsideHeight, minMainWidth, minMainHeight, orientation, resizable, onAsideResize, onResizeStart, onResizeEnd, className, dividerClassName, children, }: SplitPaneProps): react_jsx_runtime.JSX.Element;
|
|
2742
2845
|
declare namespace SplitPane {
|
|
2743
2846
|
var Main: typeof Main;
|
|
2744
2847
|
var Aside: typeof Aside;
|
|
@@ -3004,4 +3107,4 @@ interface ColorModeProviderProps {
|
|
|
3004
3107
|
}
|
|
3005
3108
|
declare const ColorModeProvider: React.FC<ColorModeProviderProps>;
|
|
3006
3109
|
|
|
3007
|
-
export { type Action, ActionCell, type ActionCellProps, AreaSeries, AutoMobileRenderer, Autocomplete, BarSeries, BaseDataPoint, type BaseFormat, type BaseInputProps, type BaseProps, BooleanCell, type BooleanCellProps, type BooleanFormat, Breadcrumb, type BreadcrumbItem, Breadcrumbs, Button, Calendar, CardMobileRenderer, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, type ChartExportMetadata, ChartTooltip, Checkbox, CheckboxGroup, Chip, ClearButton, ColorModeProvider, type Column, type ComponentFormatOptions, type ComponentFormatter, CopyToClipboard, type CurrencyFormat, type CurrentFormat, type CurrentUnit, type CustomFormat, CustomPinsSpec, DataTable, type DataTableProps, DateCell, type DateCellProps, type DateFormat, type DateFormatStyle, DateRangePicker, Description, type DescriptionProps, Dialog, DialogHeader, type DistanceFormat, type DistanceUnit, Drawer, type EnergyFormat, type EnergyUnit, ErrorBoundary, type ExportType, FieldError, type FieldErrorProps, type FieldFormat, FieldGroup, type FieldGroupProps, type FieldValue, type Filter, Form, FormatRegistry, type FormattedValue, type FormatterFunction, GeoJsonLayerSpec, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, Icon, Input, type InputProps, type InputStyleProps, InputWrapper, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, Label, type LabelProps, LayerSpec, LineSeries, type LinkBehavior, List, ListBox, ListBoxItem, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberField, type NumberFormat, type PageActionsProps, type PageAsideProps, type PageContentProps, type PageFiltersProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PhoneFormat, PlaceSearch, Popover, type PowerFormat, type PowerUnit, ProgressBar, Radio, RadioGroup, RangeCalendar, RasterLayerSpec, type ResistanceFormat, type ResistanceUnit, type ResponsiveValue, SKELETON_SIZES, Section, type SectionProps, type SectionSpacing, type SectionVariant, Select, SelectCell, type SelectCellProps, Skeleton, Slider, type SortConfig, type SortDirection, type SortOption, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone, type StatValue, Switch, Tab, TabList, TabPanel, type TableDensity, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, type TemperatureFormat, type TemperatureUnit, type TemperatureUnitString, TextArea, TextAreaWithChips, TextCell, type TextCellProps, TextField, type TextFormat, type TextTransform, type TextTruncatePosition, TimeField, ToggleButton, Tooltip, TooltipData, type TrendPoint, VectorLayerSpec, type VoltageFormat, type VoltageUnit, YFormatType, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createFormat, enumToSentenceCase, exportChart, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, formatBoolean, formatComponentValue, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPhone, formatPhoneNumber, formatPower, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getFieldGroupStyles, getInputBackgroundStyles, getInputBaseStyles, getInputStateStyles, getNumericColorClasses, getSkeletonSize, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, resolveValue, snakeCaseToWords, temperatureStringToSymbol, toA, toActiveInactive, toAmps, toBoolean, toCelsius, toCentimeters, toCheckmark, toCompactNumber, toCurrency, toCustomDateFormat, toDateString, toEnabledDisabled, toFahrenheit, toFeet, toFloat, toFormattedNumber, toFullDateTime, toGW, toGWh, toGigawatts, toISOString, toInches, toInteger, toKA, toKV, toKW, toKelvin, toKiloamps, toKilohms, toKilometers, toKilovolts, toKilowatts, toLowerCase, toMA, toMV, toMW, toMWh, toMegawatts, toMegohms, toMeters, toMiles, toMilliamps, toMillimeters, toMilliohms, toMillivolts, toNauticalMiles, toOhms, toOnOff, toPercentage, toRelativeTime, toScientificNotation, toSecret, toSentenceCase, toTemperature, toTitleCase, toTrueFalse, toUpperCase, toV, toVolts, toW, toWatts, toWh, toYards, tokWh, truncateEnd, truncateMiddle, truncateStart, ucFirst, useColorMode, useComponentFormatter, useDebounce, useInputFocus, useLocalStorage, useNotice, yardsToMeters };
|
|
3110
|
+
export { type Action, ActionCell, type ActionCellProps, AreaSeries, AutoMobileRenderer, Autocomplete, BREAKPOINTS, BarSeries, BaseDataPoint, type BaseFormat, type BaseInputProps, type BaseProps, BooleanCell, type BooleanCellProps, type BooleanFormat, Breadcrumb, type BreadcrumbItem, Breadcrumbs, type Breakpoint, type BreakpointState, Button, Calendar, CardMobileRenderer, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, type ChartExportMetadata, ChartTooltip, Checkbox, CheckboxGroup, Chip, ClearButton, ColorModeProvider, type Column, type ComponentFormatOptions, type ComponentFormatter, CopyToClipboard, type CurrencyFormat, type CurrentFormat, type CurrentUnit, type CustomFormat, CustomPinsSpec, DataTable, type DataTableProps, DateCell, type DateCellProps, type DateFormat, type DateFormatStyle, DateRangePicker, Description, type DescriptionProps, Dialog, DialogHeader, type DistanceFormat, type DistanceUnit, Drawer, type EnergyFormat, type EnergyUnit, ErrorBoundary, type ExportType, FieldError, type FieldErrorProps, type FieldFormat, FieldGroup, type FieldGroupProps, type FieldValue, type Filter, Form, FormatRegistry, type FormattedValue, type FormatterFunction, GeoJsonLayerSpec, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, Icon, Input, type InputProps, type InputStyleProps, InputWrapper, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, Label, type LabelProps, LayerSpec, LineSeries, type LinkBehavior, List, ListBox, ListBoxItem, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberField, type NumberFormat, type PageActionsProps, type PageAsideProps, type PageContentProps, type PageFiltersProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PhoneFormat, PlaceSearch, Popover, type PowerFormat, type PowerUnit, ProgressBar, Radio, RadioGroup, RangeCalendar, RasterLayerSpec, type ResistanceFormat, type ResistanceUnit, type ResponsiveValue, SKELETON_SIZES, Section, type SectionProps, type SectionSpacing, type SectionVariant, Select, SelectCell, type SelectCellProps, Skeleton, Slider, type SortConfig, type SortDirection, type SortOption, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone, type StatValue, Switch, Tab, TabList, TabPanel, type TableDensity, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, type TemperatureFormat, type TemperatureUnit, type TemperatureUnitString, TextArea, TextAreaWithChips, TextCell, type TextCellProps, TextField, type TextFormat, type TextTransform, type TextTruncatePosition, TimeField, ToggleButton, Tooltip, TooltipData, type TrendPoint, type UseBreakpointReturn, VectorLayerSpec, type VoltageFormat, type VoltageUnit, YFormatType, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createFormat, enumToSentenceCase, exportChart, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, formatBoolean, formatComponentValue, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPhone, formatPhoneNumber, formatPower, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getFieldGroupStyles, getInputBackgroundStyles, getInputBaseStyles, getInputStateStyles, getNumericColorClasses, getSkeletonSize, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, resolveValue, snakeCaseToWords, temperatureStringToSymbol, toA, toActiveInactive, toAmps, toBoolean, toCelsius, toCentimeters, toCheckmark, toCompactNumber, toCurrency, toCustomDateFormat, toDateString, toEnabledDisabled, toFahrenheit, toFeet, toFloat, toFormattedNumber, toFullDateTime, toGW, toGWh, toGigawatts, toISOString, toInches, toInteger, toKA, toKV, toKW, toKelvin, toKiloamps, toKilohms, toKilometers, toKilovolts, toKilowatts, toLowerCase, toMA, toMV, toMW, toMWh, toMegawatts, toMegohms, toMeters, toMiles, toMilliamps, toMillimeters, toMilliohms, toMillivolts, toNauticalMiles, toOhms, toOnOff, toPercentage, toRelativeTime, toScientificNotation, toSecret, toSentenceCase, toTemperature, toTitleCase, toTrueFalse, toUpperCase, toV, toVolts, toW, toWatts, toWh, toYards, tokWh, truncateEnd, truncateMiddle, truncateStart, ucFirst, useBreakpoint, useColorMode, useComponentFormatter, useDebounce, useInputFocus, useLocalStorage, useMediaQuery, useNotice, yardsToMeters };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as Icon, B as BaseDataPoint, Y as YFormatType, T as TooltipData, a as IconName$2, L as LayerSpec, C as CustomPinsSpec, G as GeoJsonLayerSpec, R as RasterLayerSpec, V as VectorLayerSpec } from './server-
|
|
2
|
-
export { A as ActionItem, c as ActionMenu, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, l as Card, j as CardProps, k as CardVariant, a4 as ChartContext, a6 as ChartMargin, p as CodeEditor, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, u as ColorSpec, q as DateField, D as DateFieldProps, r as FileUpload, F as FileUploadProps, H as Heading, z as InteractiveMap, v as InteractiveMapProps, w as LayerFeature, x as LayerStyle, s as Loader, t as Logo, E as MAP_TYPES, M as MapPoint, N as Meter, K as MeterProps, y as RenderType, P as RichTextEditor, O as RichTextEditorProps, U as SegmentOption, W as SegmentedControl, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, J as StaticMap, S as StaticMapProps, a0 as TextLink, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Z as ZoomStops, ac as clearColorCache, ad as createCategoryColorMap, a7 as createXScale, a8 as createYScale, a9 as defaultMargin, ae as getContrastingTextColor, af as getDefaultChartColor, ag as getDefaultColors, ah as getResolvedColor, ai as getThemeCategoricalColors, aa as getYFormatSettings, aj as isLightColor, a5 as useChartContext } from './server-
|
|
1
|
+
import { I as Icon, B as BaseDataPoint, Y as YFormatType, T as TooltipData, a as IconName$2, L as LayerSpec, C as CustomPinsSpec, G as GeoJsonLayerSpec, R as RasterLayerSpec, V as VectorLayerSpec } from './server-B74FiF5M.js';
|
|
2
|
+
export { A as ActionItem, c as ActionMenu, b as ActionMenuProps, e as AppShell, d as AppShellProps, g as Avatar, f as AvatarProps, i as Badge, h as BadgeProps, l as Card, j as CardProps, k as CardVariant, a4 as ChartContext, a6 as ChartMargin, p as CodeEditor, m as CodeEditorProps, n as CodeLanguage, o as CodeTheme, u as ColorSpec, q as DateField, D as DateFieldProps, r as FileUpload, F as FileUploadProps, H as Heading, z as InteractiveMap, v as InteractiveMapProps, w as LayerFeature, x as LayerStyle, s as Loader, t as Logo, E as MAP_TYPES, M as MapPoint, N as Meter, K as MeterProps, y as RenderType, P as RichTextEditor, O as RichTextEditorProps, U as SegmentOption, W as SegmentedControl, Q as SegmentedControlProps, $ as SideNav, X as SideNavItem, _ as SideNavProps, J as StaticMap, S as StaticMapProps, a0 as TextLink, a3 as TooltipSeries, a2 as TopNav, a1 as TopNavProps, ab as YFormatSettings, Z as ZoomStops, ac as clearColorCache, ad as createCategoryColorMap, a7 as createXScale, a8 as createYScale, a9 as defaultMargin, ae as getContrastingTextColor, af as getDefaultChartColor, ag as getDefaultColors, ah as getResolvedColor, ai as getThemeCategoricalColors, aa as getYFormatSettings, aj as isLightColor, a5 as useChartContext } from './server-B74FiF5M.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { ComponentProps, ReactNode, ComponentType, Component, ErrorInfo, CSSProperties } from 'react';
|
|
@@ -9,6 +9,68 @@ import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
|
9
9
|
import '@phosphor-icons/react';
|
|
10
10
|
import 'react-map-gl';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Tailwind CSS default breakpoints
|
|
14
|
+
* These match the standard Tailwind breakpoints used in your CSS
|
|
15
|
+
*/
|
|
16
|
+
declare const BREAKPOINTS: {
|
|
17
|
+
readonly sm: "640px";
|
|
18
|
+
readonly md: "768px";
|
|
19
|
+
readonly lg: "1024px";
|
|
20
|
+
readonly xl: "1280px";
|
|
21
|
+
readonly "2xl": "1536px";
|
|
22
|
+
};
|
|
23
|
+
type Breakpoint = keyof typeof BREAKPOINTS;
|
|
24
|
+
interface BreakpointState {
|
|
25
|
+
/** Current active breakpoint (highest matching breakpoint) */
|
|
26
|
+
current: Breakpoint | "base";
|
|
27
|
+
/** True if viewport is at least 640px (sm breakpoint or higher) */
|
|
28
|
+
isSm: boolean;
|
|
29
|
+
/** True if viewport is at least 768px (md breakpoint or higher) */
|
|
30
|
+
isMd: boolean;
|
|
31
|
+
/** True if viewport is at least 1024px (lg breakpoint or higher) */
|
|
32
|
+
isLg: boolean;
|
|
33
|
+
/** True if viewport is at least 1280px (xl breakpoint or higher) */
|
|
34
|
+
isXl: boolean;
|
|
35
|
+
/** True if viewport is at least 1536px (2xl breakpoint or higher) */
|
|
36
|
+
is2Xl: boolean;
|
|
37
|
+
/** True if viewport is smaller than 768px (mobile) */
|
|
38
|
+
isMobile: boolean;
|
|
39
|
+
/** True if viewport is 768px or larger (tablet/desktop) */
|
|
40
|
+
isDesktop: boolean;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Public return type alias for useBreakpoint hook
|
|
44
|
+
* Provides a stable public API for barrel re-exports
|
|
45
|
+
*/
|
|
46
|
+
type UseBreakpointReturn = BreakpointState;
|
|
47
|
+
/**
|
|
48
|
+
* Hook to detect which Tailwind breakpoint is currently active
|
|
49
|
+
*
|
|
50
|
+
* Returns an object with boolean flags for each breakpoint and convenience helpers.
|
|
51
|
+
* All breakpoints use min-width queries to match Tailwind's mobile-first approach.
|
|
52
|
+
*
|
|
53
|
+
* @param defaultBreakpoint - The breakpoint to assume during SSR or before first render (defaults to "base" for mobile-first)
|
|
54
|
+
* @returns An object containing breakpoint state information
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```tsx
|
|
58
|
+
* const { isMobile, isDesktop, current } = useBreakpoint();
|
|
59
|
+
*
|
|
60
|
+
* // Conditional rendering based on screen size
|
|
61
|
+
* return isMobile ? <MobileNav /> : <DesktopNav />;
|
|
62
|
+
*
|
|
63
|
+
* // Check specific breakpoint
|
|
64
|
+
* if (isLg) {
|
|
65
|
+
* // Show expanded view on large screens
|
|
66
|
+
* }
|
|
67
|
+
*
|
|
68
|
+
* // Use current breakpoint
|
|
69
|
+
* console.log(`Current breakpoint: ${current}`); // "md", "lg", etc.
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
declare function useBreakpoint(defaultBreakpoint?: Breakpoint | "base"): BreakpointState;
|
|
73
|
+
|
|
12
74
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
13
75
|
|
|
14
76
|
/**
|
|
@@ -19,6 +81,22 @@ declare function useDebounce<T>(value: T, delay?: number): T;
|
|
|
19
81
|
*/
|
|
20
82
|
declare function useLocalStorage<T>(key: string, initialValue: T): [T, (value: T | ((val: T) => T)) => void, () => void];
|
|
21
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Hook to check if a media query matches the current viewport
|
|
86
|
+
*
|
|
87
|
+
* @param query - A CSS media query string (e.g., "(min-width: 768px)")
|
|
88
|
+
* @param defaultValue - The default value to return during SSR or before the first render
|
|
89
|
+
* @returns A boolean indicating whether the media query matches
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```tsx
|
|
93
|
+
* const isMobile = useMediaQuery('(max-width: 767px)');
|
|
94
|
+
* const prefersReducedMotion = useMediaQuery('(prefers-reduced-motion: reduce)');
|
|
95
|
+
* const isLandscape = useMediaQuery('(orientation: landscape)');
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
declare function useMediaQuery(query: string, defaultValue?: boolean): boolean;
|
|
99
|
+
|
|
22
100
|
/**
|
|
23
101
|
* Core types for the formatting system
|
|
24
102
|
*/
|
|
@@ -2084,6 +2162,8 @@ interface ListItemProps {
|
|
|
2084
2162
|
disabled?: boolean;
|
|
2085
2163
|
/** If provided, renders as <a> with proper a11y; otherwise <button> */
|
|
2086
2164
|
href?: string;
|
|
2165
|
+
/** Size variant affecting title/subtitle text sizes and spacing */
|
|
2166
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
2087
2167
|
onClick?: (id: string) => void;
|
|
2088
2168
|
onMouseEnter?: (id: string) => void;
|
|
2089
2169
|
onMouseLeave?: (id: string) => void;
|
|
@@ -2110,7 +2190,7 @@ interface ListItemProps {
|
|
|
2110
2190
|
* />
|
|
2111
2191
|
* ```
|
|
2112
2192
|
*/
|
|
2113
|
-
declare function ListItem({ id, title, subtitle, meta, leading, trailing, isSelected, isHovered, disabled, href, onClick, onMouseEnter, onMouseLeave, className, style, }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
2193
|
+
declare function ListItem({ id, title, subtitle, meta, leading, trailing, isSelected, isHovered, disabled, href, size, onClick, onMouseEnter, onMouseLeave, className, style, }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
2114
2194
|
|
|
2115
2195
|
interface ListPaneProps {
|
|
2116
2196
|
/** Content for the header area (typically ListHeader) */
|
|
@@ -2697,15 +2777,16 @@ interface SliderProps {
|
|
|
2697
2777
|
declare function Slider({ label, description, tooltip, errorMessage, size, className, value, defaultValue, onChange, min, max, step, disabled, showValue, }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
2698
2778
|
|
|
2699
2779
|
/**
|
|
2700
|
-
* SplitPane Component —
|
|
2780
|
+
* SplitPane Component — Two-panel layout with optional resizing
|
|
2701
2781
|
*
|
|
2702
|
-
* A layout primitive for side-by-side content with
|
|
2782
|
+
* A layout primitive for side-by-side content with an optional draggable divider.
|
|
2703
2783
|
* Perfect for list/detail views, dashboards with inspectors, or any
|
|
2704
|
-
* main/aside layout
|
|
2784
|
+
* main/aside layout.
|
|
2705
2785
|
*
|
|
2706
2786
|
* Usage:
|
|
2707
2787
|
* ```tsx
|
|
2708
|
-
*
|
|
2788
|
+
* // Simple fixed-width aside
|
|
2789
|
+
* <SplitPane asideWidth={400}>
|
|
2709
2790
|
* <SplitPane.Main>
|
|
2710
2791
|
* <DataTable />
|
|
2711
2792
|
* </SplitPane.Main>
|
|
@@ -2713,24 +2794,46 @@ declare function Slider({ label, description, tooltip, errorMessage, size, class
|
|
|
2713
2794
|
* <Inspector />
|
|
2714
2795
|
* </SplitPane.Aside>
|
|
2715
2796
|
* </SplitPane>
|
|
2797
|
+
*
|
|
2798
|
+
* // Resizable with constraints
|
|
2799
|
+
* <SplitPane
|
|
2800
|
+
* asideWidth={400}
|
|
2801
|
+
* resizable
|
|
2802
|
+
* minAsideWidth={280}
|
|
2803
|
+
* minMainWidth={600}
|
|
2804
|
+
* >
|
|
2805
|
+
* ...
|
|
2806
|
+
* </SplitPane>
|
|
2716
2807
|
* ```
|
|
2717
2808
|
*/
|
|
2718
2809
|
type SplitPaneOrientation = "horizontal" | "vertical";
|
|
2719
2810
|
interface SplitPaneProps {
|
|
2720
|
-
/**
|
|
2721
|
-
|
|
2722
|
-
/**
|
|
2723
|
-
|
|
2724
|
-
/**
|
|
2725
|
-
|
|
2811
|
+
/** Width of aside panel (pixels or percentage string like "30%") */
|
|
2812
|
+
asideWidth?: number | string;
|
|
2813
|
+
/** Height of aside panel for vertical orientation (pixels or percentage) */
|
|
2814
|
+
asideHeight?: number | string;
|
|
2815
|
+
/** Minimum width of aside panel in pixels (only used if resizable=true) */
|
|
2816
|
+
minAsideWidth?: number;
|
|
2817
|
+
/** Minimum height of aside panel in pixels (only used if resizable=true and orientation="vertical") */
|
|
2818
|
+
minAsideHeight?: number;
|
|
2819
|
+
/** Minimum width of main panel in pixels (only used if resizable=true) */
|
|
2820
|
+
minMainWidth?: number;
|
|
2821
|
+
/** Minimum height of main panel in pixels (only used if resizable=true and orientation="vertical") */
|
|
2822
|
+
minMainHeight?: number;
|
|
2726
2823
|
/** Orientation of the split */
|
|
2727
2824
|
orientation?: SplitPaneOrientation;
|
|
2728
|
-
/** Whether the divider is draggable */
|
|
2825
|
+
/** Whether the divider is draggable (default: false) */
|
|
2729
2826
|
resizable?: boolean;
|
|
2730
|
-
/** Callback when resize occurs */
|
|
2731
|
-
|
|
2827
|
+
/** Callback when resize occurs (provides new aside size in pixels) */
|
|
2828
|
+
onAsideResize?: (size: number) => void;
|
|
2829
|
+
/** Callback when resize starts */
|
|
2830
|
+
onResizeStart?: () => void;
|
|
2831
|
+
/** Callback when resize ends */
|
|
2832
|
+
onResizeEnd?: () => void;
|
|
2732
2833
|
/** Additional CSS classes */
|
|
2733
2834
|
className?: string;
|
|
2835
|
+
/** Additional CSS classes for the divider */
|
|
2836
|
+
dividerClassName?: string;
|
|
2734
2837
|
/** Child panels */
|
|
2735
2838
|
children?: React__default.ReactNode;
|
|
2736
2839
|
}
|
|
@@ -2738,7 +2841,7 @@ interface SplitPanePanelProps {
|
|
|
2738
2841
|
className?: string;
|
|
2739
2842
|
children?: React__default.ReactNode;
|
|
2740
2843
|
}
|
|
2741
|
-
declare function SplitPane({
|
|
2844
|
+
declare function SplitPane({ asideWidth, asideHeight, minAsideWidth, minAsideHeight, minMainWidth, minMainHeight, orientation, resizable, onAsideResize, onResizeStart, onResizeEnd, className, dividerClassName, children, }: SplitPaneProps): react_jsx_runtime.JSX.Element;
|
|
2742
2845
|
declare namespace SplitPane {
|
|
2743
2846
|
var Main: typeof Main;
|
|
2744
2847
|
var Aside: typeof Aside;
|
|
@@ -3004,4 +3107,4 @@ interface ColorModeProviderProps {
|
|
|
3004
3107
|
}
|
|
3005
3108
|
declare const ColorModeProvider: React.FC<ColorModeProviderProps>;
|
|
3006
3109
|
|
|
3007
|
-
export { type Action, ActionCell, type ActionCellProps, AreaSeries, AutoMobileRenderer, Autocomplete, BarSeries, BaseDataPoint, type BaseFormat, type BaseInputProps, type BaseProps, BooleanCell, type BooleanCellProps, type BooleanFormat, Breadcrumb, type BreadcrumbItem, Breadcrumbs, Button, Calendar, CardMobileRenderer, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, type ChartExportMetadata, ChartTooltip, Checkbox, CheckboxGroup, Chip, ClearButton, ColorModeProvider, type Column, type ComponentFormatOptions, type ComponentFormatter, CopyToClipboard, type CurrencyFormat, type CurrentFormat, type CurrentUnit, type CustomFormat, CustomPinsSpec, DataTable, type DataTableProps, DateCell, type DateCellProps, type DateFormat, type DateFormatStyle, DateRangePicker, Description, type DescriptionProps, Dialog, DialogHeader, type DistanceFormat, type DistanceUnit, Drawer, type EnergyFormat, type EnergyUnit, ErrorBoundary, type ExportType, FieldError, type FieldErrorProps, type FieldFormat, FieldGroup, type FieldGroupProps, type FieldValue, type Filter, Form, FormatRegistry, type FormattedValue, type FormatterFunction, GeoJsonLayerSpec, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, Icon, Input, type InputProps, type InputStyleProps, InputWrapper, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, Label, type LabelProps, LayerSpec, LineSeries, type LinkBehavior, List, ListBox, ListBoxItem, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberField, type NumberFormat, type PageActionsProps, type PageAsideProps, type PageContentProps, type PageFiltersProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PhoneFormat, PlaceSearch, Popover, type PowerFormat, type PowerUnit, ProgressBar, Radio, RadioGroup, RangeCalendar, RasterLayerSpec, type ResistanceFormat, type ResistanceUnit, type ResponsiveValue, SKELETON_SIZES, Section, type SectionProps, type SectionSpacing, type SectionVariant, Select, SelectCell, type SelectCellProps, Skeleton, Slider, type SortConfig, type SortDirection, type SortOption, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone, type StatValue, Switch, Tab, TabList, TabPanel, type TableDensity, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, type TemperatureFormat, type TemperatureUnit, type TemperatureUnitString, TextArea, TextAreaWithChips, TextCell, type TextCellProps, TextField, type TextFormat, type TextTransform, type TextTruncatePosition, TimeField, ToggleButton, Tooltip, TooltipData, type TrendPoint, VectorLayerSpec, type VoltageFormat, type VoltageUnit, YFormatType, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createFormat, enumToSentenceCase, exportChart, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, formatBoolean, formatComponentValue, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPhone, formatPhoneNumber, formatPower, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getFieldGroupStyles, getInputBackgroundStyles, getInputBaseStyles, getInputStateStyles, getNumericColorClasses, getSkeletonSize, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, resolveValue, snakeCaseToWords, temperatureStringToSymbol, toA, toActiveInactive, toAmps, toBoolean, toCelsius, toCentimeters, toCheckmark, toCompactNumber, toCurrency, toCustomDateFormat, toDateString, toEnabledDisabled, toFahrenheit, toFeet, toFloat, toFormattedNumber, toFullDateTime, toGW, toGWh, toGigawatts, toISOString, toInches, toInteger, toKA, toKV, toKW, toKelvin, toKiloamps, toKilohms, toKilometers, toKilovolts, toKilowatts, toLowerCase, toMA, toMV, toMW, toMWh, toMegawatts, toMegohms, toMeters, toMiles, toMilliamps, toMillimeters, toMilliohms, toMillivolts, toNauticalMiles, toOhms, toOnOff, toPercentage, toRelativeTime, toScientificNotation, toSecret, toSentenceCase, toTemperature, toTitleCase, toTrueFalse, toUpperCase, toV, toVolts, toW, toWatts, toWh, toYards, tokWh, truncateEnd, truncateMiddle, truncateStart, ucFirst, useColorMode, useComponentFormatter, useDebounce, useInputFocus, useLocalStorage, useNotice, yardsToMeters };
|
|
3110
|
+
export { type Action, ActionCell, type ActionCellProps, AreaSeries, AutoMobileRenderer, Autocomplete, BREAKPOINTS, BarSeries, BaseDataPoint, type BaseFormat, type BaseInputProps, type BaseProps, BooleanCell, type BooleanCellProps, type BooleanFormat, Breadcrumb, type BreadcrumbItem, Breadcrumbs, type Breakpoint, type BreakpointState, Button, Calendar, CardMobileRenderer, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, type ChartExportMetadata, ChartTooltip, Checkbox, CheckboxGroup, Chip, ClearButton, ColorModeProvider, type Column, type ComponentFormatOptions, type ComponentFormatter, CopyToClipboard, type CurrencyFormat, type CurrentFormat, type CurrentUnit, type CustomFormat, CustomPinsSpec, DataTable, type DataTableProps, DateCell, type DateCellProps, type DateFormat, type DateFormatStyle, DateRangePicker, Description, type DescriptionProps, Dialog, DialogHeader, type DistanceFormat, type DistanceUnit, Drawer, type EnergyFormat, type EnergyUnit, ErrorBoundary, type ExportType, FieldError, type FieldErrorProps, type FieldFormat, FieldGroup, type FieldGroupProps, type FieldValue, type Filter, Form, FormatRegistry, type FormattedValue, type FormatterFunction, GeoJsonLayerSpec, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, Icon, Input, type InputProps, type InputStyleProps, InputWrapper, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, Label, type LabelProps, LayerSpec, LineSeries, type LinkBehavior, List, ListBox, ListBoxItem, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type MobileBreakpoint, type MobileConfig, type MobileRenderer, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberField, type NumberFormat, type PageActionsProps, type PageAsideProps, type PageContentProps, type PageFiltersProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PhoneFormat, PlaceSearch, Popover, type PowerFormat, type PowerUnit, ProgressBar, Radio, RadioGroup, RangeCalendar, RasterLayerSpec, type ResistanceFormat, type ResistanceUnit, type ResponsiveValue, SKELETON_SIZES, Section, type SectionProps, type SectionSpacing, type SectionVariant, Select, SelectCell, type SelectCellProps, Skeleton, Slider, type SortConfig, type SortDirection, type SortOption, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone, type StatValue, Switch, Tab, TabList, TabPanel, type TableDensity, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, type TemperatureFormat, type TemperatureUnit, type TemperatureUnitString, TextArea, TextAreaWithChips, TextCell, type TextCellProps, TextField, type TextFormat, type TextTransform, type TextTruncatePosition, TimeField, ToggleButton, Tooltip, TooltipData, type TrendPoint, type UseBreakpointReturn, VectorLayerSpec, type VoltageFormat, type VoltageUnit, YFormatType, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createFormat, enumToSentenceCase, exportChart, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, formatBoolean, formatComponentValue, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPhone, formatPhoneNumber, formatPower, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getFieldGroupStyles, getInputBackgroundStyles, getInputBaseStyles, getInputStateStyles, getNumericColorClasses, getSkeletonSize, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, resolveValue, snakeCaseToWords, temperatureStringToSymbol, toA, toActiveInactive, toAmps, toBoolean, toCelsius, toCentimeters, toCheckmark, toCompactNumber, toCurrency, toCustomDateFormat, toDateString, toEnabledDisabled, toFahrenheit, toFeet, toFloat, toFormattedNumber, toFullDateTime, toGW, toGWh, toGigawatts, toISOString, toInches, toInteger, toKA, toKV, toKW, toKelvin, toKiloamps, toKilohms, toKilometers, toKilovolts, toKilowatts, toLowerCase, toMA, toMV, toMW, toMWh, toMegawatts, toMegohms, toMeters, toMiles, toMilliamps, toMillimeters, toMilliohms, toMillivolts, toNauticalMiles, toOhms, toOnOff, toPercentage, toRelativeTime, toScientificNotation, toSecret, toSentenceCase, toTemperature, toTitleCase, toTrueFalse, toUpperCase, toV, toVolts, toW, toWatts, toWh, toYards, tokWh, truncateEnd, truncateMiddle, truncateStart, ucFirst, useBreakpoint, useColorMode, useComponentFormatter, useDebounce, useInputFocus, useLocalStorage, useMediaQuery, useNotice, yardsToMeters };
|