@texturehq/edges 1.5.1 → 1.5.2
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 +148 -34
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +292 -62
- package/dist/index.d.ts +292 -62
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/{server-B74FiF5M.d.cts → server-Cz62pUnv.d.cts} +1 -1
- package/dist/{server-B74FiF5M.d.ts → server-Cz62pUnv.d.ts} +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.map +1 -1
- package/dist/styles.css +124 -14
- package/dist/utilities.manifest.json +2 -2
- package/package.json +8 -8
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { Key, ValidationResult, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, DateValue, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, CheckboxRenderProps, CheckboxGroupProps as CheckboxGroupProps$1, DateRangePickerProps as DateRangePickerProps$1, TextProps, FormProps, ListBoxProps as ListBoxProps$1, ListBoxItemProps, ModalOverlayProps, NumberFieldProps as NumberFieldProps$1, PopoverProps as PopoverProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, RangeCalendarProps as RangeCalendarProps$1, SelectProps as SelectProps$1, SwitchProps as SwitchProps$1, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps, TabsProps as TabsProps$2, TextFieldProps as TextFieldProps$1, TimeFieldProps as TimeFieldProps$1, TimeValue, TooltipProps as TooltipProps$1 } from 'react-aria-components';
|
|
2
|
+
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger } from 'react-aria-components';
|
|
3
|
+
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-Cz62pUnv.cjs';
|
|
4
|
+
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-Cz62pUnv.cjs';
|
|
3
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
6
|
import * as React$1 from 'react';
|
|
5
|
-
import React__default, {
|
|
6
|
-
import { Key, ValidationResult, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, DateValue, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, CheckboxRenderProps, CheckboxGroupProps as CheckboxGroupProps$1, DateRangePickerProps as DateRangePickerProps$1, DialogProps, TextProps, FormProps, ListBoxProps as ListBoxProps$1, ListBoxItemProps, NumberFieldProps as NumberFieldProps$1, PopoverProps as PopoverProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, RangeCalendarProps as RangeCalendarProps$1, SelectProps as SelectProps$1, SwitchProps as SwitchProps$1, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps, TabsProps as TabsProps$2, TextFieldProps as TextFieldProps$1, TimeFieldProps as TimeFieldProps$1, TimeValue, TooltipProps as TooltipProps$1 } from 'react-aria-components';
|
|
7
|
-
export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
|
|
7
|
+
import React__default, { ReactNode, ComponentProps, ComponentType, Component, ErrorInfo, CSSProperties } from 'react';
|
|
8
8
|
import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
9
9
|
import '@phosphor-icons/react';
|
|
10
10
|
import 'react-map-gl';
|
|
@@ -894,6 +894,153 @@ declare const createFormat: <T extends FieldFormat["type"]>(type: T, options?: O
|
|
|
894
894
|
type: T;
|
|
895
895
|
}>;
|
|
896
896
|
|
|
897
|
+
/**
|
|
898
|
+
* Shared action type for Dialog and Drawer footer buttons
|
|
899
|
+
*/
|
|
900
|
+
interface DialogAction {
|
|
901
|
+
label: string;
|
|
902
|
+
onPress: () => void;
|
|
903
|
+
variant?: "default" | "primary" | "secondary" | "destructive" | "icon" | "link" | "unstyled" | "ghost";
|
|
904
|
+
size?: "sm" | "md" | "lg";
|
|
905
|
+
isLoading?: boolean;
|
|
906
|
+
isDisabled?: boolean;
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Shared header props for Dialog and Drawer
|
|
910
|
+
*/
|
|
911
|
+
interface DialogHeaderConfig {
|
|
912
|
+
/**
|
|
913
|
+
* Title text for the header
|
|
914
|
+
*/
|
|
915
|
+
title?: string;
|
|
916
|
+
/**
|
|
917
|
+
* Custom header content (overrides title)
|
|
918
|
+
*/
|
|
919
|
+
headerContent?: ReactNode;
|
|
920
|
+
/**
|
|
921
|
+
* Alignment of the title
|
|
922
|
+
* @default "left"
|
|
923
|
+
*/
|
|
924
|
+
titleAlign?: "left" | "center";
|
|
925
|
+
/**
|
|
926
|
+
* Whether to hide the close button
|
|
927
|
+
* @default false
|
|
928
|
+
*/
|
|
929
|
+
hideCloseIcon?: boolean;
|
|
930
|
+
/**
|
|
931
|
+
* Whether to show a back arrow
|
|
932
|
+
* @default false
|
|
933
|
+
*/
|
|
934
|
+
hasBackArrow?: boolean;
|
|
935
|
+
/**
|
|
936
|
+
* Callback when back arrow is clicked (required if hasBackArrow is true)
|
|
937
|
+
*/
|
|
938
|
+
onBack?: () => void;
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* Shared footer props for Dialog and Drawer
|
|
942
|
+
*/
|
|
943
|
+
interface DialogFooterConfig {
|
|
944
|
+
/**
|
|
945
|
+
* Primary action button configuration
|
|
946
|
+
*/
|
|
947
|
+
primaryAction?: DialogAction;
|
|
948
|
+
/**
|
|
949
|
+
* Secondary action button configuration
|
|
950
|
+
*/
|
|
951
|
+
secondaryAction?: DialogAction;
|
|
952
|
+
/**
|
|
953
|
+
* Custom footer content above the action buttons
|
|
954
|
+
*/
|
|
955
|
+
footerContent?: ReactNode;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
interface DialogProps extends DialogHeaderConfig, DialogFooterConfig {
|
|
959
|
+
/**
|
|
960
|
+
* Whether the dialog is open
|
|
961
|
+
*/
|
|
962
|
+
isOpen: boolean;
|
|
963
|
+
/**
|
|
964
|
+
* Callback when the dialog is closed
|
|
965
|
+
*/
|
|
966
|
+
onClose: () => void;
|
|
967
|
+
/**
|
|
968
|
+
* Dialog content
|
|
969
|
+
*/
|
|
970
|
+
children: React__default.ReactNode;
|
|
971
|
+
/**
|
|
972
|
+
* Whether to use a transparent backdrop
|
|
973
|
+
* @default false
|
|
974
|
+
*/
|
|
975
|
+
transparentOverlay?: boolean;
|
|
976
|
+
/**
|
|
977
|
+
* Maximum width of the dialog
|
|
978
|
+
* @default "600px"
|
|
979
|
+
*/
|
|
980
|
+
maxWidth?: string;
|
|
981
|
+
/**
|
|
982
|
+
* Whether to include padding inside the content area
|
|
983
|
+
* @default true
|
|
984
|
+
*/
|
|
985
|
+
contentPadding?: boolean;
|
|
986
|
+
/**
|
|
987
|
+
* Additional CSS classes
|
|
988
|
+
*/
|
|
989
|
+
className?: string;
|
|
990
|
+
}
|
|
991
|
+
/**
|
|
992
|
+
* Dialog
|
|
993
|
+
*
|
|
994
|
+
* Responsive modal dialog component with backdrop.
|
|
995
|
+
*
|
|
996
|
+
* **Desktop (≥768px):** Centered modal with scale and fade animation
|
|
997
|
+
* **Mobile (<768px):** Bottom sheet that slides up from bottom
|
|
998
|
+
*
|
|
999
|
+
* Includes optional header with title/back button and footer with action buttons.
|
|
1000
|
+
*/
|
|
1001
|
+
declare function Dialog({ isOpen, onClose, title, headerContent, titleAlign, hideCloseIcon, hasBackArrow, onBack, children, primaryAction, secondaryAction, footerContent, transparentOverlay, maxWidth, contentPadding, className, }: DialogProps): react_jsx_runtime.JSX.Element | null;
|
|
1002
|
+
|
|
1003
|
+
interface AlertProps {
|
|
1004
|
+
/**
|
|
1005
|
+
* Whether the alert is open
|
|
1006
|
+
*/
|
|
1007
|
+
isOpen: boolean;
|
|
1008
|
+
/**
|
|
1009
|
+
* Callback when the alert is closed
|
|
1010
|
+
*/
|
|
1011
|
+
onClose: () => void;
|
|
1012
|
+
/**
|
|
1013
|
+
* Alert title
|
|
1014
|
+
*/
|
|
1015
|
+
title: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* Alert message/content
|
|
1018
|
+
*/
|
|
1019
|
+
message: React__default.ReactNode;
|
|
1020
|
+
/**
|
|
1021
|
+
* Label for the confirm button
|
|
1022
|
+
* @default "OK"
|
|
1023
|
+
*/
|
|
1024
|
+
confirmLabel?: string;
|
|
1025
|
+
/**
|
|
1026
|
+
* Variant for the confirm button
|
|
1027
|
+
* @default "primary"
|
|
1028
|
+
*/
|
|
1029
|
+
confirmVariant?: DialogAction["variant"];
|
|
1030
|
+
/**
|
|
1031
|
+
* Maximum width of the alert dialog
|
|
1032
|
+
* @default "400px"
|
|
1033
|
+
*/
|
|
1034
|
+
maxWidth?: string;
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* Alert
|
|
1038
|
+
*
|
|
1039
|
+
* A simple alert dialog with a single action button.
|
|
1040
|
+
* Use for informational messages that require acknowledgment.
|
|
1041
|
+
*/
|
|
1042
|
+
declare function Alert({ isOpen, onClose, title, message, confirmLabel, confirmVariant, maxWidth, }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
1043
|
+
|
|
897
1044
|
/**
|
|
898
1045
|
* Control-specific style utilities for form elements and interactive components.
|
|
899
1046
|
* These styles use CSS variables defined in the theme for consistent sizing
|
|
@@ -1079,6 +1226,66 @@ interface ChipProps {
|
|
|
1079
1226
|
*/
|
|
1080
1227
|
declare function Chip({ children, onRemove, size, variant, isRemovable, isDisabled, className, onClick, }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
1081
1228
|
|
|
1229
|
+
interface ConfirmProps {
|
|
1230
|
+
/**
|
|
1231
|
+
* Whether the confirm dialog is open
|
|
1232
|
+
*/
|
|
1233
|
+
isOpen: boolean;
|
|
1234
|
+
/**
|
|
1235
|
+
* Callback when the dialog is closed without confirming
|
|
1236
|
+
*/
|
|
1237
|
+
onClose: () => void;
|
|
1238
|
+
/**
|
|
1239
|
+
* Callback when the confirm button is pressed
|
|
1240
|
+
*/
|
|
1241
|
+
onConfirm: () => void;
|
|
1242
|
+
/**
|
|
1243
|
+
* Dialog title
|
|
1244
|
+
*/
|
|
1245
|
+
title: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* Confirmation message/content
|
|
1248
|
+
*/
|
|
1249
|
+
message: React__default.ReactNode;
|
|
1250
|
+
/**
|
|
1251
|
+
* Label for the confirm button
|
|
1252
|
+
* @default "Confirm"
|
|
1253
|
+
*/
|
|
1254
|
+
confirmLabel?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* Label for the cancel button
|
|
1257
|
+
* @default "Cancel"
|
|
1258
|
+
*/
|
|
1259
|
+
cancelLabel?: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* Variant for the confirm button
|
|
1262
|
+
* @default "primary"
|
|
1263
|
+
*/
|
|
1264
|
+
confirmVariant?: DialogAction["variant"];
|
|
1265
|
+
/**
|
|
1266
|
+
* Whether the confirm action is destructive (uses destructive styling)
|
|
1267
|
+
* @default false
|
|
1268
|
+
*/
|
|
1269
|
+
isDestructive?: boolean;
|
|
1270
|
+
/**
|
|
1271
|
+
* Whether the confirm button is in a loading state
|
|
1272
|
+
* @default false
|
|
1273
|
+
*/
|
|
1274
|
+
isLoading?: boolean;
|
|
1275
|
+
/**
|
|
1276
|
+
* Maximum width of the confirm dialog
|
|
1277
|
+
* @default "500px"
|
|
1278
|
+
*/
|
|
1279
|
+
maxWidth?: string;
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Confirm
|
|
1283
|
+
*
|
|
1284
|
+
* A confirmation dialog with confirm and cancel actions.
|
|
1285
|
+
* Use for actions that require user confirmation before proceeding.
|
|
1286
|
+
*/
|
|
1287
|
+
declare function Confirm({ isOpen, onClose, onConfirm, title, message, confirmLabel, cancelLabel, confirmVariant, isDestructive, isLoading, maxWidth, }: ConfirmProps): react_jsx_runtime.JSX.Element;
|
|
1288
|
+
|
|
1082
1289
|
interface CopyToClipboardProps {
|
|
1083
1290
|
/**
|
|
1084
1291
|
* The value to copy to clipboard. If not provided, will use the text content of children
|
|
@@ -1188,7 +1395,7 @@ interface ChartExportMetadata {
|
|
|
1188
1395
|
* }, svgRef);
|
|
1189
1396
|
* ```
|
|
1190
1397
|
*/
|
|
1191
|
-
declare function exportChart(type: ExportType, datasets: BaseDataPoint[][] | BaseDataPoint[], metadata: ChartExportMetadata | undefined, svgRef: React__default.RefObject<SVGSVGElement>): Promise<void>;
|
|
1398
|
+
declare function exportChart(type: ExportType, datasets: BaseDataPoint[][] | BaseDataPoint[], metadata: ChartExportMetadata | undefined, svgRef: React__default.RefObject<SVGSVGElement | null>): Promise<void>;
|
|
1192
1399
|
/**
|
|
1193
1400
|
* Utility to check if export is supported in the current environment
|
|
1194
1401
|
*/
|
|
@@ -1526,67 +1733,53 @@ interface DateRangePickerProps<T extends DateValue> extends DateRangePickerProps
|
|
|
1526
1733
|
}
|
|
1527
1734
|
declare function DateRangePicker<T extends DateValue>({ label, description, errorMessage, ...props }: DateRangePickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
1528
1735
|
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
*/
|
|
1534
|
-
declare function Dialog(props: DialogProps): react_jsx_runtime.JSX.Element;
|
|
1535
|
-
|
|
1536
|
-
type BaseDialogHeaderProps = {
|
|
1537
|
-
title?: string;
|
|
1538
|
-
onClose: () => void;
|
|
1539
|
-
hideCloseIcon?: boolean;
|
|
1540
|
-
titleAlign?: "left" | "center";
|
|
1541
|
-
headerContent?: React__default.ReactNode;
|
|
1542
|
-
};
|
|
1543
|
-
type WithBackArrow = BaseDialogHeaderProps & {
|
|
1544
|
-
hasBackArrow: true;
|
|
1545
|
-
onBack: () => void;
|
|
1546
|
-
};
|
|
1547
|
-
type WithoutBackArrow = BaseDialogHeaderProps & {
|
|
1548
|
-
hasBackArrow?: false;
|
|
1549
|
-
onBack?: never;
|
|
1550
|
-
};
|
|
1551
|
-
/**
|
|
1552
|
-
* DialogHeader
|
|
1553
|
-
*
|
|
1554
|
-
* Header area for dialogs with optional back arrow.
|
|
1555
|
-
*/
|
|
1556
|
-
type DialogHeaderProps = WithBackArrow | WithoutBackArrow;
|
|
1557
|
-
declare const DialogHeader: React__default.FC<DialogHeaderProps>;
|
|
1558
|
-
|
|
1559
|
-
interface DrawerAction {
|
|
1560
|
-
label: string;
|
|
1561
|
-
onPress: () => void;
|
|
1562
|
-
variant?: "default" | "primary" | "secondary" | "destructive" | "icon" | "link" | "unstyled" | "ghost";
|
|
1563
|
-
size?: "sm" | "md" | "lg";
|
|
1564
|
-
isLoading?: boolean;
|
|
1565
|
-
isDisabled?: boolean;
|
|
1566
|
-
}
|
|
1567
|
-
/**
|
|
1568
|
-
* Drawer
|
|
1569
|
-
*
|
|
1570
|
-
* Sliding panel that anchors to screen edges.
|
|
1571
|
-
*/
|
|
1572
|
-
interface DrawerProps {
|
|
1573
|
-
title?: string;
|
|
1574
|
-
headerContent?: React__default.ReactNode;
|
|
1736
|
+
interface DrawerProps extends DialogHeaderConfig, DialogFooterConfig {
|
|
1737
|
+
/**
|
|
1738
|
+
* Drawer content
|
|
1739
|
+
*/
|
|
1575
1740
|
children?: React__default.ReactNode;
|
|
1741
|
+
/**
|
|
1742
|
+
* Whether the drawer is open
|
|
1743
|
+
*/
|
|
1576
1744
|
isOpen: boolean;
|
|
1745
|
+
/**
|
|
1746
|
+
* Side to slide in from
|
|
1747
|
+
* @default "right"
|
|
1748
|
+
*/
|
|
1577
1749
|
slideInFrom?: "left" | "right";
|
|
1750
|
+
/**
|
|
1751
|
+
* Whether to use a transparent backdrop
|
|
1752
|
+
* @default false
|
|
1753
|
+
*/
|
|
1578
1754
|
transparentOverlay?: boolean;
|
|
1755
|
+
/**
|
|
1756
|
+
* Callback when the drawer is closed
|
|
1757
|
+
*/
|
|
1579
1758
|
onClose?: () => void;
|
|
1759
|
+
/**
|
|
1760
|
+
* Additional CSS classes
|
|
1761
|
+
*/
|
|
1580
1762
|
className?: string;
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1763
|
+
/**
|
|
1764
|
+
* Whether to include padding inside the content area
|
|
1765
|
+
* @default true
|
|
1766
|
+
*/
|
|
1585
1767
|
contentPadding?: boolean;
|
|
1586
|
-
/**
|
|
1768
|
+
/**
|
|
1769
|
+
* Maximum width of the drawer
|
|
1770
|
+
* @default "400px"
|
|
1771
|
+
*/
|
|
1587
1772
|
maxWidth?: string;
|
|
1588
1773
|
}
|
|
1589
|
-
|
|
1774
|
+
/**
|
|
1775
|
+
* Drawer
|
|
1776
|
+
*
|
|
1777
|
+
* Sliding panel that anchors to screen edges.
|
|
1778
|
+
*/
|
|
1779
|
+
declare function Drawer({ children, title, headerContent, titleAlign, hideCloseIcon, hasBackArrow, onBack, isOpen, slideInFrom, transparentOverlay, onClose, className, primaryAction, secondaryAction, footerContent, contentPadding, maxWidth, }: DrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
1780
|
+
declare namespace Drawer {
|
|
1781
|
+
var displayName: string;
|
|
1782
|
+
}
|
|
1590
1783
|
|
|
1591
1784
|
interface Props {
|
|
1592
1785
|
children: ReactNode;
|
|
@@ -1608,7 +1801,7 @@ declare class ErrorBoundary extends Component<Props, State> {
|
|
|
1608
1801
|
static getDerivedStateFromError(error: Error): State;
|
|
1609
1802
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
1610
1803
|
private handleRetry;
|
|
1611
|
-
render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
1804
|
+
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
1612
1805
|
}
|
|
1613
1806
|
|
|
1614
1807
|
interface InputStyleProps {
|
|
@@ -1720,7 +1913,7 @@ declare function getInputStateStyles(props: {
|
|
|
1720
1913
|
declare function getInputBackgroundStyles(props: {
|
|
1721
1914
|
transparent?: boolean;
|
|
1722
1915
|
isDisabled?: boolean;
|
|
1723
|
-
}): "bg-
|
|
1916
|
+
}): "bg-transparent" | "bg-background-muted" | "bg-background-input";
|
|
1724
1917
|
/**
|
|
1725
1918
|
* Generates the complete set of base styles for input components.
|
|
1726
1919
|
* This includes state styles, background, sizing, and custom classes.
|
|
@@ -2321,6 +2514,25 @@ declare function isCustomPinsLayer(layer: LayerSpec): layer is CustomPinsSpec;
|
|
|
2321
2514
|
*/
|
|
2322
2515
|
declare function isRasterLayer(layer: LayerSpec): layer is RasterLayerSpec;
|
|
2323
2516
|
|
|
2517
|
+
interface ModalBackdropProps extends ModalOverlayProps {
|
|
2518
|
+
/**
|
|
2519
|
+
* Whether to use a transparent backdrop instead of dark overlay
|
|
2520
|
+
* @default false
|
|
2521
|
+
*/
|
|
2522
|
+
transparent?: boolean;
|
|
2523
|
+
/**
|
|
2524
|
+
* Additional CSS classes for the backdrop
|
|
2525
|
+
*/
|
|
2526
|
+
className?: string;
|
|
2527
|
+
}
|
|
2528
|
+
/**
|
|
2529
|
+
* ModalBackdrop
|
|
2530
|
+
*
|
|
2531
|
+
* Shared backdrop/overlay component used by Dialog and Drawer.
|
|
2532
|
+
* Wraps React Aria's ModalOverlay with consistent styling and smooth animations.
|
|
2533
|
+
*/
|
|
2534
|
+
declare function ModalBackdrop({ transparent, className, children, ...props }: ModalBackdropProps): react_jsx_runtime.JSX.Element;
|
|
2535
|
+
|
|
2324
2536
|
type NoticeVariant = "success" | "error" | "warning" | "info";
|
|
2325
2537
|
interface NoticeProps {
|
|
2326
2538
|
/** Unique identifier for the notice */
|
|
@@ -2598,10 +2810,28 @@ declare function PlaceSearch({ label, selectedKey, defaultSelectedKey, onSelecti
|
|
|
2598
2810
|
* `react-aria-components` Popover.
|
|
2599
2811
|
*/
|
|
2600
2812
|
interface PopoverProps extends Omit<PopoverProps$1, "children"> {
|
|
2813
|
+
/**
|
|
2814
|
+
* Whether to show an arrow pointing to the trigger
|
|
2815
|
+
* @default false
|
|
2816
|
+
*/
|
|
2601
2817
|
showArrow?: boolean;
|
|
2818
|
+
/**
|
|
2819
|
+
* Whether to include a backdrop (makes it modal)
|
|
2820
|
+
* @default false
|
|
2821
|
+
*/
|
|
2822
|
+
withBackdrop?: boolean;
|
|
2823
|
+
/**
|
|
2824
|
+
* Whether the backdrop/modal can be dismissed by clicking outside
|
|
2825
|
+
* Only applies when withBackdrop is true
|
|
2826
|
+
* @default true
|
|
2827
|
+
*/
|
|
2828
|
+
isDismissable?: boolean;
|
|
2829
|
+
/**
|
|
2830
|
+
* Popover content
|
|
2831
|
+
*/
|
|
2602
2832
|
children: React__default.ReactNode;
|
|
2603
2833
|
}
|
|
2604
|
-
declare function Popover({ children, showArrow, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
2834
|
+
declare function Popover({ children, showArrow, withBackdrop, className, isDismissable, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
2605
2835
|
|
|
2606
2836
|
/**
|
|
2607
2837
|
* ProgressBar
|
|
@@ -3107,4 +3337,4 @@ interface ColorModeProviderProps {
|
|
|
3107
3337
|
}
|
|
3108
3338
|
declare const ColorModeProvider: React.FC<ColorModeProviderProps>;
|
|
3109
3339
|
|
|
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,
|
|
3340
|
+
export { type Action, ActionCell, type ActionCellProps, Alert, type AlertProps, 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, Confirm, type ConfirmProps, 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, type DialogAction, type DialogFooterConfig, type DialogHeaderConfig, type DialogProps, type DistanceFormat, type DistanceUnit, Drawer, type DrawerProps, 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, ModalBackdrop, type ModalBackdropProps, 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 };
|