@tensor_1/react 2.43.0 → 2.43.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/DiscardPrompt.d.ts +10 -4
- package/dist/components/DiscardPrompt.js +5 -5
- package/dist/components/Drawer.d.ts +6 -2
- package/dist/components/Drawer.js +6 -3
- package/dist/components/Modal.d.ts +6 -2
- package/dist/components/Modal.js +1 -1
- package/dist/components/OrgChart.d.ts +6 -1
- package/dist/components/OrgChart.js +8 -5
- package/dist/index.cjs +19 -13
- package/dist/index.d.cts +24 -5
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { RefObject, KeyboardEvent, ReactNode } from 'react';
|
|
2
|
+
import { SyntheticEvent, RefObject, KeyboardEvent, ReactNode } from 'react';
|
|
3
3
|
import { ButtonProps } from './Button.js';
|
|
4
4
|
import '../link.js';
|
|
5
5
|
import './Kbd.js';
|
|
@@ -15,6 +15,12 @@ interface DiscardPromptLabels {
|
|
|
15
15
|
/** Close and throw the input away. */
|
|
16
16
|
discard: string;
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* What asked a `Drawer` or `Modal` to close, handed to its `onClose`: the click on the close
|
|
20
|
+
* button, a `DialogClose`, the drawer's backdrop or "Discard". Absent when the browser closed the
|
|
21
|
+
* dialog itself (Escape on a clean dialog, a `<form method="dialog">`), as before 2.42.
|
|
22
|
+
*/
|
|
23
|
+
type DialogCloseEvent = SyntheticEvent | Event;
|
|
18
24
|
type DialogCloseProps = ButtonProps;
|
|
19
25
|
/**
|
|
20
26
|
* A button that closes the surrounding `Drawer` or `Modal` the way its × does (HAR-2029): at once
|
|
@@ -25,7 +31,7 @@ type DialogCloseProps = ButtonProps;
|
|
|
25
31
|
declare const DialogClose: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
26
32
|
interface GuardedDialogOptions {
|
|
27
33
|
open: boolean;
|
|
28
|
-
onClose?: () => void;
|
|
34
|
+
onClose?: (event?: DialogCloseEvent) => void;
|
|
29
35
|
dirty?: boolean;
|
|
30
36
|
pending?: boolean;
|
|
31
37
|
labels?: Partial<DiscardPromptLabels>;
|
|
@@ -45,10 +51,10 @@ interface GuardedDialogOptions {
|
|
|
45
51
|
*/
|
|
46
52
|
declare function useGuardedDialog({ open, onClose, dirty, pending, labels: labelsProp, closeRef }: GuardedDialogOptions): {
|
|
47
53
|
ref: RefObject<HTMLDialogElement>;
|
|
48
|
-
requestClose: (anchor?: HTMLElement | null) => void;
|
|
54
|
+
requestClose: (anchor?: HTMLElement | null, event?: DialogCloseEvent) => void;
|
|
49
55
|
onKeyDown: (event: KeyboardEvent<HTMLDialogElement>) => void;
|
|
50
56
|
prompt: react.JSX.Element | null;
|
|
51
57
|
provide: (children: ReactNode) => react.JSX.Element;
|
|
52
58
|
};
|
|
53
59
|
|
|
54
|
-
export { DialogClose, type DialogCloseProps, type DiscardPromptLabels, type GuardedDialogOptions, useGuardedDialog };
|
|
60
|
+
export { DialogClose, type DialogCloseEvent, type DialogCloseProps, type DiscardPromptLabels, type GuardedDialogOptions, useGuardedDialog };
|
|
@@ -37,7 +37,7 @@ const DialogClose = forwardRef(({ onClick, type = "button", ...props }, ref) =>
|
|
|
37
37
|
}
|
|
38
38
|
onClick?.(event);
|
|
39
39
|
if (event.defaultPrevented) return;
|
|
40
|
-
dialog?.requestClose(event.currentTarget);
|
|
40
|
+
dialog?.requestClose(event.currentTarget, event);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
);
|
|
@@ -57,11 +57,11 @@ function useGuardedDialog({ open, onClose, dirty = false, pending = false, label
|
|
|
57
57
|
setPromptState(next);
|
|
58
58
|
}, []);
|
|
59
59
|
const guarded = () => !!latest.current.onClose && (latest.current.dirty || latest.current.pending);
|
|
60
|
-
const requestClose = useCallback((anchor) => {
|
|
60
|
+
const requestClose = useCallback((anchor, event) => {
|
|
61
61
|
const { open: isOpen, onClose: close, dirty: isDirty, pending: isPending, prompt: asking } = latest.current;
|
|
62
62
|
if (!isOpen || !close || isPending || asking) return;
|
|
63
63
|
if (!isDirty) {
|
|
64
|
-
close();
|
|
64
|
+
close(event);
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
67
|
const active = document.activeElement;
|
|
@@ -89,9 +89,9 @@ function useGuardedDialog({ open, onClose, dirty = false, pending = false, label
|
|
|
89
89
|
return true;
|
|
90
90
|
});
|
|
91
91
|
dialogRef.current = ref.current;
|
|
92
|
-
const discard = useCallback(() => {
|
|
92
|
+
const discard = useCallback((event) => {
|
|
93
93
|
setPrompt(null);
|
|
94
|
-
latest.current.onClose?.();
|
|
94
|
+
latest.current.onClose?.(event);
|
|
95
95
|
}, [setPrompt]);
|
|
96
96
|
useEffect(() => {
|
|
97
97
|
if (open && dirty && !pending) return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
import { DiscardPromptLabels } from './DiscardPrompt.js';
|
|
3
|
+
import { DialogCloseEvent, DiscardPromptLabels } from './DiscardPrompt.js';
|
|
4
4
|
import './Button.js';
|
|
5
5
|
import '../link.js';
|
|
6
6
|
import './Kbd.js';
|
|
@@ -9,7 +9,11 @@ interface DrawerProps extends Omit<HTMLAttributes<HTMLDialogElement>, 'title'> {
|
|
|
9
9
|
/** TENSOR RX-125 (UIX-04): translatable; English default. */
|
|
10
10
|
closeLabel?: string;
|
|
11
11
|
open: boolean;
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Close the drawer. Gets the click that asked (the close button, the backdrop, a `DialogClose`,
|
|
14
|
+
* "Discard"); nothing when the browser closed it (Escape, `<form method="dialog">`).
|
|
15
|
+
*/
|
|
16
|
+
onClose?: (event?: DialogCloseEvent) => void;
|
|
13
17
|
/**
|
|
14
18
|
* The drawer holds input that is not saved (HAR-2029), e.g. react-hook-form's
|
|
15
19
|
* `formState.isDirty`. Escape, the close button, a backdrop click and a `DialogClose` then open
|
|
@@ -3,7 +3,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useId, useRef } from "react";
|
|
4
4
|
import { cx } from "../cx.js";
|
|
5
5
|
import { useUixLabels } from "../labels-context.js";
|
|
6
|
-
import {
|
|
6
|
+
import { isBackdropClick } from "../hooks/backdropDismiss.js";
|
|
7
7
|
import { useGuardedDialog } from "./DiscardPrompt.js";
|
|
8
8
|
const CloseIcon = () => /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "M4 4l8 8M12 4l-8 8" }) });
|
|
9
9
|
function Drawer({
|
|
@@ -35,7 +35,10 @@ function Drawer({
|
|
|
35
35
|
className: cx("uix-drawer", side !== "end" && `uix-drawer--${side}`, className),
|
|
36
36
|
"aria-labelledby": title ? titleId : void 0,
|
|
37
37
|
...rest,
|
|
38
|
-
onClick:
|
|
38
|
+
onClick: (event) => {
|
|
39
|
+
onClick?.(event);
|
|
40
|
+
if (dismissOnBackdrop && onClose && isBackdropClick(event)) guard.requestClose(null, event);
|
|
41
|
+
},
|
|
39
42
|
onKeyDown: (event) => {
|
|
40
43
|
onKeyDown?.(event);
|
|
41
44
|
guard.onKeyDown(event);
|
|
@@ -51,7 +54,7 @@ function Drawer({
|
|
|
51
54
|
ref: closeRef,
|
|
52
55
|
type: "button",
|
|
53
56
|
className: "uix-drawer__close",
|
|
54
|
-
onClick: () => guard.requestClose(),
|
|
57
|
+
onClick: (event) => guard.requestClose(event.currentTarget, event),
|
|
55
58
|
"aria-label": closeLabel,
|
|
56
59
|
"aria-disabled": pending || void 0,
|
|
57
60
|
children: /* @__PURE__ */ jsx(CloseIcon, {})
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
import { DiscardPromptLabels } from './DiscardPrompt.js';
|
|
3
|
+
import { DialogCloseEvent, DiscardPromptLabels } from './DiscardPrompt.js';
|
|
4
4
|
import './Button.js';
|
|
5
5
|
import '../link.js';
|
|
6
6
|
import './Kbd.js';
|
|
7
7
|
|
|
8
8
|
interface ModalProps extends Omit<HTMLAttributes<HTMLDialogElement>, 'title'> {
|
|
9
9
|
open: boolean;
|
|
10
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Close the dialog. Gets the click that asked (the close button, a `DialogClose`, "Discard");
|
|
12
|
+
* nothing when the browser closed it (Escape, `<form method="dialog">`).
|
|
13
|
+
*/
|
|
14
|
+
onClose?: (event?: DialogCloseEvent) => void;
|
|
11
15
|
/**
|
|
12
16
|
* The dialog holds input that is not saved (HAR-2029). Escape, the close button and a
|
|
13
17
|
* `DialogClose` then open an anchored "Discard changes?" step with focus on "Keep editing"
|
package/dist/components/Modal.js
CHANGED
|
@@ -48,7 +48,7 @@ function Modal({
|
|
|
48
48
|
ref: closeRef,
|
|
49
49
|
type: "button",
|
|
50
50
|
className: "uix-dialog__close",
|
|
51
|
-
onClick: () => guard.requestClose(),
|
|
51
|
+
onClick: (event) => guard.requestClose(event.currentTarget, event),
|
|
52
52
|
"aria-label": closeLabel,
|
|
53
53
|
"aria-disabled": pending || void 0,
|
|
54
54
|
children: /* @__PURE__ */ jsx(CloseIcon, {})
|
|
@@ -97,7 +97,12 @@ interface OrgChartProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'
|
|
|
97
97
|
}
|
|
98
98
|
/** The next zoom step above (`dir` 1) or below (`dir` -1) `zoom`. */
|
|
99
99
|
declare const orgChartZoomStep: (zoom: number, dir: 1 | -1) => number;
|
|
100
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* "Mira Kovač" → "MK"; one word → its first letter. Bracketed parts ("(extern)", "[TST]") and
|
|
102
|
+
* a title ending in a full stop ("Dr.", "Prof.") are not part of the initials, so
|
|
103
|
+
* "Dr. Anna-Maria Koenig" → "AK" and "Tenant Admin (dev)" → "TA". The first letter of a word
|
|
104
|
+
* is its first letter in any script, never a quote or a hyphen in front of it.
|
|
105
|
+
*/
|
|
101
106
|
declare const orgChartInitials: (name: string) => string;
|
|
102
107
|
/**
|
|
103
108
|
* An org chart over `.uix-org-chart` (HAR-1807): managers above their direct reports, joined by
|
|
@@ -31,11 +31,14 @@ const orgChartZoomStep = (zoom, dir) => {
|
|
|
31
31
|
return [...ZOOM_STEPS].reverse().find((s) => s < zoom - 1e-3) ?? MIN_ZOOM;
|
|
32
32
|
};
|
|
33
33
|
const orgChartInitials = (name) => {
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
|
|
34
|
+
const letterOf = (word) => /\p{L}/u.exec(word)?.[0] ?? "";
|
|
35
|
+
const words = name.replace(/[([{][^)\]}]*[)\]}]/g, " ").trim().split(/\s+/).filter((word) => letterOf(word) !== "");
|
|
36
|
+
const named = words.length > 1 ? words.filter((word, i) => !(word.endsWith(".") && i < words.length - 1)) : words;
|
|
37
|
+
const parts = named.length > 0 ? named : words;
|
|
38
|
+
if (parts.length === 0) return "";
|
|
39
|
+
const first = letterOf(parts[0]);
|
|
40
|
+
const last = parts.length > 1 ? letterOf(parts[parts.length - 1]) : "";
|
|
41
|
+
return `${first}${last}`.toLocaleUpperCase();
|
|
39
42
|
};
|
|
40
43
|
const LOADING = "::uix-loading";
|
|
41
44
|
const FAILED = "::uix-error";
|
package/dist/index.cjs
CHANGED
|
@@ -2752,7 +2752,7 @@ var DialogClose = (0, import_react18.forwardRef)(({ onClick, type = "button", ..
|
|
|
2752
2752
|
}
|
|
2753
2753
|
onClick?.(event);
|
|
2754
2754
|
if (event.defaultPrevented) return;
|
|
2755
|
-
dialog?.requestClose(event.currentTarget);
|
|
2755
|
+
dialog?.requestClose(event.currentTarget, event);
|
|
2756
2756
|
}
|
|
2757
2757
|
}
|
|
2758
2758
|
);
|
|
@@ -2772,11 +2772,11 @@ function useGuardedDialog({ open, onClose, dirty = false, pending = false, label
|
|
|
2772
2772
|
setPromptState(next);
|
|
2773
2773
|
}, []);
|
|
2774
2774
|
const guarded = () => !!latest.current.onClose && (latest.current.dirty || latest.current.pending);
|
|
2775
|
-
const requestClose = (0, import_react18.useCallback)((anchor) => {
|
|
2775
|
+
const requestClose = (0, import_react18.useCallback)((anchor, event) => {
|
|
2776
2776
|
const { open: isOpen2, onClose: close, dirty: isDirty, pending: isPending, prompt: asking } = latest.current;
|
|
2777
2777
|
if (!isOpen2 || !close || isPending || asking) return;
|
|
2778
2778
|
if (!isDirty) {
|
|
2779
|
-
close();
|
|
2779
|
+
close(event);
|
|
2780
2780
|
return;
|
|
2781
2781
|
}
|
|
2782
2782
|
const active = document.activeElement;
|
|
@@ -2804,9 +2804,9 @@ function useGuardedDialog({ open, onClose, dirty = false, pending = false, label
|
|
|
2804
2804
|
return true;
|
|
2805
2805
|
});
|
|
2806
2806
|
dialogRef.current = ref.current;
|
|
2807
|
-
const discard = (0, import_react18.useCallback)(() => {
|
|
2807
|
+
const discard = (0, import_react18.useCallback)((event) => {
|
|
2808
2808
|
setPrompt(null);
|
|
2809
|
-
latest.current.onClose?.();
|
|
2809
|
+
latest.current.onClose?.(event);
|
|
2810
2810
|
}, [setPrompt]);
|
|
2811
2811
|
(0, import_react18.useEffect)(() => {
|
|
2812
2812
|
if (open && dirty && !pending) return;
|
|
@@ -2987,7 +2987,10 @@ function Drawer({
|
|
|
2987
2987
|
className: cx("uix-drawer", side !== "end" && `uix-drawer--${side}`, className),
|
|
2988
2988
|
"aria-labelledby": title ? titleId : void 0,
|
|
2989
2989
|
...rest,
|
|
2990
|
-
onClick:
|
|
2990
|
+
onClick: (event) => {
|
|
2991
|
+
onClick?.(event);
|
|
2992
|
+
if (dismissOnBackdrop && onClose && isBackdropClick(event)) guard.requestClose(null, event);
|
|
2993
|
+
},
|
|
2991
2994
|
onKeyDown: (event) => {
|
|
2992
2995
|
onKeyDown?.(event);
|
|
2993
2996
|
guard.onKeyDown(event);
|
|
@@ -3003,7 +3006,7 @@ function Drawer({
|
|
|
3003
3006
|
ref: closeRef,
|
|
3004
3007
|
type: "button",
|
|
3005
3008
|
className: "uix-drawer__close",
|
|
3006
|
-
onClick: () => guard.requestClose(),
|
|
3009
|
+
onClick: (event) => guard.requestClose(event.currentTarget, event),
|
|
3007
3010
|
"aria-label": closeLabel,
|
|
3008
3011
|
"aria-disabled": pending || void 0,
|
|
3009
3012
|
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CloseIcon, {})
|
|
@@ -4244,7 +4247,7 @@ function Modal({
|
|
|
4244
4247
|
ref: closeRef,
|
|
4245
4248
|
type: "button",
|
|
4246
4249
|
className: "uix-dialog__close",
|
|
4247
|
-
onClick: () => guard.requestClose(),
|
|
4250
|
+
onClick: (event) => guard.requestClose(event.currentTarget, event),
|
|
4248
4251
|
"aria-label": closeLabel,
|
|
4249
4252
|
"aria-disabled": pending || void 0,
|
|
4250
4253
|
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(CloseIcon2, {})
|
|
@@ -9593,11 +9596,14 @@ var orgChartZoomStep = (zoom, dir) => {
|
|
|
9593
9596
|
return [...ZOOM_STEPS].reverse().find((s) => s < zoom - 1e-3) ?? MIN_ZOOM;
|
|
9594
9597
|
};
|
|
9595
9598
|
var orgChartInitials = (name) => {
|
|
9596
|
-
const
|
|
9597
|
-
|
|
9598
|
-
const
|
|
9599
|
-
const
|
|
9600
|
-
|
|
9599
|
+
const letterOf = (word) => /\p{L}/u.exec(word)?.[0] ?? "";
|
|
9600
|
+
const words = name.replace(/[([{][^)\]}]*[)\]}]/g, " ").trim().split(/\s+/).filter((word) => letterOf(word) !== "");
|
|
9601
|
+
const named = words.length > 1 ? words.filter((word, i) => !(word.endsWith(".") && i < words.length - 1)) : words;
|
|
9602
|
+
const parts = named.length > 0 ? named : words;
|
|
9603
|
+
if (parts.length === 0) return "";
|
|
9604
|
+
const first = letterOf(parts[0]);
|
|
9605
|
+
const last = parts.length > 1 ? letterOf(parts[parts.length - 1]) : "";
|
|
9606
|
+
return `${first}${last}`.toLocaleUpperCase();
|
|
9601
9607
|
};
|
|
9602
9608
|
var LOADING2 = "::uix-loading";
|
|
9603
9609
|
var FAILED2 = "::uix-error";
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { RefObject, AnchorHTMLAttributes, ReactNode, HTMLAttributes, ButtonHTMLAttributes, AriaAttributes, CSSProperties, SelectHTMLAttributes, Ref, InputHTMLAttributes, TextareaHTMLAttributes, MouseEvent, DetailsHTMLAttributes, LiHTMLAttributes, TdHTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, ReactElement } from 'react';
|
|
2
|
+
import { RefObject, AnchorHTMLAttributes, ReactNode, HTMLAttributes, ButtonHTMLAttributes, AriaAttributes, CSSProperties, SelectHTMLAttributes, Ref, SyntheticEvent, InputHTMLAttributes, TextareaHTMLAttributes, MouseEvent, DetailsHTMLAttributes, LiHTMLAttributes, TdHTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, ReactElement } from 'react';
|
|
3
3
|
import { P as Placement } from './overlay-position-2Afke51l.cjs';
|
|
4
4
|
export { A as Align, a as PositionOptions, b as PositionResult, R as Rect, S as Side, c as Size, d as computePosition } from './overlay-position-2Afke51l.cjs';
|
|
5
5
|
export { C as ChartStatPoint, L as LinearFit, P as PredictionBandPoint, l as linearFit, n as normalQuantile, p as predictionBand, q as quantiles, s as studentTQuantile } from './chart-stats-o4zDhpVm.cjs';
|
|
@@ -2687,7 +2687,12 @@ interface OrgChartProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'
|
|
|
2687
2687
|
}
|
|
2688
2688
|
/** The next zoom step above (`dir` 1) or below (`dir` -1) `zoom`. */
|
|
2689
2689
|
declare const orgChartZoomStep: (zoom: number, dir: 1 | -1) => number;
|
|
2690
|
-
/**
|
|
2690
|
+
/**
|
|
2691
|
+
* "Mira Kovač" → "MK"; one word → its first letter. Bracketed parts ("(extern)", "[TST]") and
|
|
2692
|
+
* a title ending in a full stop ("Dr.", "Prof.") are not part of the initials, so
|
|
2693
|
+
* "Dr. Anna-Maria Koenig" → "AK" and "Tenant Admin (dev)" → "TA". The first letter of a word
|
|
2694
|
+
* is its first letter in any script, never a quote or a hyphen in front of it.
|
|
2695
|
+
*/
|
|
2691
2696
|
declare const orgChartInitials: (name: string) => string;
|
|
2692
2697
|
/**
|
|
2693
2698
|
* An org chart over `.uix-org-chart` (HAR-1807): managers above their direct reports, joined by
|
|
@@ -2789,6 +2794,12 @@ interface DiscardPromptLabels {
|
|
|
2789
2794
|
/** Close and throw the input away. */
|
|
2790
2795
|
discard: string;
|
|
2791
2796
|
}
|
|
2797
|
+
/**
|
|
2798
|
+
* What asked a `Drawer` or `Modal` to close, handed to its `onClose`: the click on the close
|
|
2799
|
+
* button, a `DialogClose`, the drawer's backdrop or "Discard". Absent when the browser closed the
|
|
2800
|
+
* dialog itself (Escape on a clean dialog, a `<form method="dialog">`), as before 2.42.
|
|
2801
|
+
*/
|
|
2802
|
+
type DialogCloseEvent = SyntheticEvent | Event;
|
|
2792
2803
|
type DialogCloseProps = ButtonProps;
|
|
2793
2804
|
/**
|
|
2794
2805
|
* A button that closes the surrounding `Drawer` or `Modal` the way its × does (HAR-2029): at once
|
|
@@ -3098,7 +3109,11 @@ declare function Field({ label, hint, error, warning, success, required, help, h
|
|
|
3098
3109
|
|
|
3099
3110
|
interface ModalProps extends Omit<HTMLAttributes<HTMLDialogElement>, 'title'> {
|
|
3100
3111
|
open: boolean;
|
|
3101
|
-
|
|
3112
|
+
/**
|
|
3113
|
+
* Close the dialog. Gets the click that asked (the close button, a `DialogClose`, "Discard");
|
|
3114
|
+
* nothing when the browser closed it (Escape, `<form method="dialog">`).
|
|
3115
|
+
*/
|
|
3116
|
+
onClose?: (event?: DialogCloseEvent) => void;
|
|
3102
3117
|
/**
|
|
3103
3118
|
* The dialog holds input that is not saved (HAR-2029). Escape, the close button and a
|
|
3104
3119
|
* `DialogClose` then open an anchored "Discard changes?" step with focus on "Keep editing"
|
|
@@ -3224,7 +3239,11 @@ interface DrawerProps extends Omit<HTMLAttributes<HTMLDialogElement>, 'title'> {
|
|
|
3224
3239
|
/** TENSOR RX-125 (UIX-04): translatable; English default. */
|
|
3225
3240
|
closeLabel?: string;
|
|
3226
3241
|
open: boolean;
|
|
3227
|
-
|
|
3242
|
+
/**
|
|
3243
|
+
* Close the drawer. Gets the click that asked (the close button, the backdrop, a `DialogClose`,
|
|
3244
|
+
* "Discard"); nothing when the browser closed it (Escape, `<form method="dialog">`).
|
|
3245
|
+
*/
|
|
3246
|
+
onClose?: (event?: DialogCloseEvent) => void;
|
|
3228
3247
|
/**
|
|
3229
3248
|
* The drawer holds input that is not saved (HAR-2029), e.g. react-hook-form's
|
|
3230
3249
|
* `formState.isDirty`. Escape, the close button, a backdrop click and a `DialogClose` then open
|
|
@@ -6265,4 +6284,4 @@ declare function hsvToHex(value: HsvColor): string;
|
|
|
6265
6284
|
declare function contrastRatio(background: string, foreground: string): number | undefined;
|
|
6266
6285
|
declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
|
|
6267
6286
|
|
|
6268
|
-
export { type AccessStateProps, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Bullet, type BulletProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, ConfirmDialog, type ConfirmDialogProps, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, CopyButton, type CopyButtonProps, DAY, DEFAULT_ATTACHMENT_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_RULE_SUMMARY_WORDS, DEFAULT_RULE_VALIDATION_MESSAGES, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TREE_LABELS, DashboardGrid, type DashboardGridBreakpoint, type DashboardGridColumnCount, type DashboardGridColumns, type DashboardGridGap, DashboardGridItem, type DashboardGridItemProps, type DashboardGridProps, type DashboardGridSpan, type DateInputProblem, type DatePart, DatePicker, type DatePickerLabels, type DatePickerProps, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, type DaySpanLayout, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, DialogClose, type DialogCloseProps, type DiffEntry, type DiffKind, type DiffResolution, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchResult, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FileRejection, type FileRejectionReason, type FileSizeFormatter, type FileSizeOptions, FileUpload, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadStatus, type FilterChoice, FilterEditor, type FilterEditorLabels, type FilterEditorProps, type FilterField, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, type FilterPreset, type FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Heartbeat, type HeartbeatProps, type HeartbeatState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, InlineEdit, type InlineEditEditorProps, type InlineEditLabels, type InlineEditProps, Input, InputGroup, type InputGroupProps, type InputProps, InsightCard, type InsightCardLabels, type InsightCardProps, type InsightComparison, type InsightCoverage, type InsightKpi, type InsightStatus, type InsightStatusTone, type InsightTarget, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, Label, type LabelProps, type LaneCluster, type LaneInterval, type LanePlacement, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, type LayoutLaneOptions, type LayoutMonthSpansOptions, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemAttributes, MenuItemCheckbox, type MenuItemCheckboxProps, type MenuItemProps, MenuItemRadio, type MenuItemRadioProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, type MonthSpanGroup, type MonthSpanInput, type MonthSpanLayout, type MoveProposal, NUMBER_FILTER_OPERATORS, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, type NumberFilterOperator, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, Radio, RadioCard, type RadioCardProps, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCheck, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleSummaryWords, type RuleValidationIssue, type RuleValidationOptions, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, type SchedulingAgendaGroup, type SchedulingBand, SchedulingCalendar, type SchedulingCalendarDay, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingLegendItem, type SchedulingMarker, type SchedulingMarkerEmphasis, type SchedulingOverlayKind, type SchedulingOverlayPattern, type SchedulingStatus, SchedulingTimeline, type SchedulingTimelineGroup, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, SearchBar, type SearchBarLabels, type SearchBarProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectGroup, type SelectLabels, type SelectOption, type SelectProps, type ShellNav, Sidebar, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, type StatTrend, type StateVariant, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, type SummarizeFilterOptions, Switch, type SwitchProps, TEXT_FILTER_OPERATORS, TOAST_LEAVE_MS, TOP_LANE_CROSS_MIDNIGHT_MINUTES, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, Textarea, type TextareaProps, Th, type ThProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, type TimelineSubTick, type TimelineTick, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLabels, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, type ZonedDayBounds, type ZonedDayShift, type ZonedDaySpan, type ZonedHourSlot, addCalendarDays, addCalendarMonths, addZonedDays, appendRuleNode, applyBrandProfile, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, emptyFilterValue, enumerateDateKeys, enumerateDateSpan, fileKind, fileMatchesAccept, filterComboboxOptions, findRuleNodeDepth, flattenTree, foldForSearch, formatDateKey, formatFileSize, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isRuleGroup, isValidDateKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, moveRuleNode, multiSort, nextSortDir, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseMetricValue, parseView, partitionFiles, pixelsToMs, placeSpan, placesInTopLane, proposeMove, rankOverflow, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, serializeView, setRuleCombinator, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, stepMetricValue, summarizeDiff, summarizeFilter, summarizeRule, textDiffRows, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useUixLabels, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
|
|
6287
|
+
export { type AccessStateProps, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Bullet, type BulletProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, ConfirmDialog, type ConfirmDialogProps, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, CopyButton, type CopyButtonProps, DAY, DEFAULT_ATTACHMENT_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_RULE_SUMMARY_WORDS, DEFAULT_RULE_VALIDATION_MESSAGES, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TREE_LABELS, DashboardGrid, type DashboardGridBreakpoint, type DashboardGridColumnCount, type DashboardGridColumns, type DashboardGridGap, DashboardGridItem, type DashboardGridItemProps, type DashboardGridProps, type DashboardGridSpan, type DateInputProblem, type DatePart, DatePicker, type DatePickerLabels, type DatePickerProps, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, type DaySpanLayout, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, DialogClose, type DialogCloseEvent, type DialogCloseProps, type DiffEntry, type DiffKind, type DiffResolution, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchResult, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FileRejection, type FileRejectionReason, type FileSizeFormatter, type FileSizeOptions, FileUpload, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadStatus, type FilterChoice, FilterEditor, type FilterEditorLabels, type FilterEditorProps, type FilterField, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, type FilterPreset, type FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Heartbeat, type HeartbeatProps, type HeartbeatState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, InlineEdit, type InlineEditEditorProps, type InlineEditLabels, type InlineEditProps, Input, InputGroup, type InputGroupProps, type InputProps, InsightCard, type InsightCardLabels, type InsightCardProps, type InsightComparison, type InsightCoverage, type InsightKpi, type InsightStatus, type InsightStatusTone, type InsightTarget, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, Label, type LabelProps, type LaneCluster, type LaneInterval, type LanePlacement, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, type LayoutLaneOptions, type LayoutMonthSpansOptions, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemAttributes, MenuItemCheckbox, type MenuItemCheckboxProps, type MenuItemProps, MenuItemRadio, type MenuItemRadioProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, type MonthSpanGroup, type MonthSpanInput, type MonthSpanLayout, type MoveProposal, NUMBER_FILTER_OPERATORS, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, type NumberFilterOperator, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, Radio, RadioCard, type RadioCardProps, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCheck, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleSummaryWords, type RuleValidationIssue, type RuleValidationOptions, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, type SchedulingAgendaGroup, type SchedulingBand, SchedulingCalendar, type SchedulingCalendarDay, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingLegendItem, type SchedulingMarker, type SchedulingMarkerEmphasis, type SchedulingOverlayKind, type SchedulingOverlayPattern, type SchedulingStatus, SchedulingTimeline, type SchedulingTimelineGroup, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, SearchBar, type SearchBarLabels, type SearchBarProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectGroup, type SelectLabels, type SelectOption, type SelectProps, type ShellNav, Sidebar, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, type StatTrend, type StateVariant, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, type SummarizeFilterOptions, Switch, type SwitchProps, TEXT_FILTER_OPERATORS, TOAST_LEAVE_MS, TOP_LANE_CROSS_MIDNIGHT_MINUTES, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, Textarea, type TextareaProps, Th, type ThProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, type TimelineSubTick, type TimelineTick, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLabels, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, type ZonedDayBounds, type ZonedDayShift, type ZonedDaySpan, type ZonedHourSlot, addCalendarDays, addCalendarMonths, addZonedDays, appendRuleNode, applyBrandProfile, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, emptyFilterValue, enumerateDateKeys, enumerateDateSpan, fileKind, fileMatchesAccept, filterComboboxOptions, findRuleNodeDepth, flattenTree, foldForSearch, formatDateKey, formatFileSize, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isRuleGroup, isValidDateKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, moveRuleNode, multiSort, nextSortDir, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseMetricValue, parseView, partitionFiles, pixelsToMs, placeSpan, placesInTopLane, proposeMove, rankOverflow, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, serializeView, setRuleCombinator, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, stepMetricValue, summarizeDiff, summarizeFilter, summarizeRule, textDiffRows, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useUixLabels, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
|
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export { Field, FieldProps } from './components/Field.js';
|
|
|
24
24
|
export { Modal, ModalProps } from './components/Modal.js';
|
|
25
25
|
export { ConfirmDialog, ConfirmDialogProps, Popconfirm, PopconfirmProps, PromptDialog, PromptDialogProps } from './components/Dialogs.js';
|
|
26
26
|
export { Drawer, DrawerProps } from './components/Drawer.js';
|
|
27
|
-
export { DialogClose, DialogCloseProps, DiscardPromptLabels } from './components/DiscardPrompt.js';
|
|
27
|
+
export { DialogClose, DialogCloseEvent, DialogCloseProps, DiscardPromptLabels } from './components/DiscardPrompt.js';
|
|
28
28
|
export { Peek, PeekProps } from './components/Peek.js';
|
|
29
29
|
export { DEFAULT_LIGHTBOX_LABELS, Lightbox, LightboxItem, LightboxLabels, LightboxProps } from './components/Lightbox.js';
|
|
30
30
|
export { Card, CardLink, CardLinkProps, CardProps } from './components/Card.js';
|