@tensor_1/react 2.45.1 → 2.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -0
- package/dist/components/BusyBar.d.ts +13 -0
- package/dist/components/BusyBar.js +10 -0
- package/dist/components/BusyRegion.d.ts +18 -0
- package/dist/components/BusyRegion.js +12 -0
- package/dist/components/Button.d.ts +21 -0
- package/dist/components/Button.js +5 -3
- package/dist/components/ButtonFeedback.d.ts +30 -0
- package/dist/components/ButtonFeedback.js +78 -0
- package/dist/components/CommandPalette.d.ts +4 -0
- package/dist/components/CommandPalette.js +10 -2
- package/dist/components/DelayedRender.d.ts +15 -0
- package/dist/components/DelayedRender.js +10 -0
- package/dist/components/DiscardPrompt.d.ts +1 -0
- package/dist/components/Drawer.d.ts +1 -0
- package/dist/components/Meter.js +1 -1
- package/dist/components/Modal.d.ts +7 -1
- package/dist/components/Modal.js +2 -0
- package/dist/components/Progress.js +1 -1
- package/dist/components/SaveStatus.d.ts +7 -1
- package/dist/components/SaveStatus.js +13 -4
- package/dist/components/SearchBar.d.ts +1 -0
- package/dist/components/Spinner.d.ts +7 -1
- package/dist/components/Spinner.js +7 -1
- package/dist/components/States.d.ts +7 -1
- package/dist/components/States.js +7 -1
- package/dist/components/Table.d.ts +7 -0
- package/dist/components/Table.js +4 -2
- package/dist/hooks/useDelayedPending.d.ts +22 -0
- package/dist/hooks/useDelayedPending.js +35 -0
- package/dist/hooks/useReducedMotion.d.ts +6 -0
- package/dist/hooks/useReducedMotion.js +20 -0
- package/dist/index.cjs +2625 -2429
- package/dist/index.d.cts +116 -5
- package/dist/index.d.ts +5 -0
- package/dist/index.js +13 -0
- package/dist/labels-context.d.ts +3 -0
- package/dist/motion-timing.d.ts +8 -0
- package/dist/motion-timing.js +8 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -245,6 +245,39 @@ interface UseAnchoredPositionOptions {
|
|
|
245
245
|
*/
|
|
246
246
|
declare function useAnchoredPosition(anchor: RefObject<HTMLElement | null> | HTMLElement | null | undefined, floatingRef: RefObject<HTMLElement | null>, { open, placement, offset, padding, shiftMainAxis, capHeight, onAnchorHidden }: UseAnchoredPositionOptions): () => void;
|
|
247
247
|
|
|
248
|
+
/** Non-hook read for event handlers and effects. `false` where there is no `matchMedia` (SSR, tests). */
|
|
249
|
+
declare function prefersReducedMotion(): boolean;
|
|
250
|
+
/** True while the user asks for reduced motion; re-renders when the setting changes. `false` on the server. */
|
|
251
|
+
declare function useReducedMotion(): boolean;
|
|
252
|
+
|
|
253
|
+
interface DelayedPendingOptions {
|
|
254
|
+
/** Wait this long before showing anything (default 300 ms). `0` shows at once. */
|
|
255
|
+
delay?: number;
|
|
256
|
+
/** Once shown, keep showing at least this long (default 500 ms). */
|
|
257
|
+
minVisible?: number;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Whether to show a pending indicator for `pending` (motion standard §2.3): nothing for the
|
|
261
|
+
* first 300 ms, so a fast action never flashes a spinner; once shown, held at least 500 ms
|
|
262
|
+
* after it appeared, so it never flickers off the moment the work ends.
|
|
263
|
+
*
|
|
264
|
+
* ```tsx
|
|
265
|
+
* const showSpinner = useDelayedPending(query.isFetching);
|
|
266
|
+
* {showSpinner && <Spinner />}
|
|
267
|
+
* ```
|
|
268
|
+
*
|
|
269
|
+
* Use the raw `pending` for behaviour (blocking a second submit); use the result for what
|
|
270
|
+
* people see. Returns `false` on the server and on the first client render unless `delay` is 0.
|
|
271
|
+
*/
|
|
272
|
+
declare function useDelayedPending(pending: boolean, { delay, minVisible }?: DelayedPendingOptions): boolean;
|
|
273
|
+
|
|
274
|
+
/** Under this, a pending action shows nothing new: a spinner that would flash for 150 ms is noise. */
|
|
275
|
+
declare const PENDING_DELAY_MS = 300;
|
|
276
|
+
/** Once a pending indicator appears, it stays at least this long so it never flickers. */
|
|
277
|
+
declare const PENDING_MIN_VISIBLE_MS = 500;
|
|
278
|
+
/** How long an in-place result ("Saved", "Couldn't save") holds before the control returns. */
|
|
279
|
+
declare const RESULT_HOLD_MS = 1500;
|
|
280
|
+
|
|
248
281
|
/**
|
|
249
282
|
* What a `renderLink` callback receives (HAR-1348). Spread it onto your router's link
|
|
250
283
|
* so it keeps client navigation and prefetch: `renderLink={(p) => <NextLink {...p} />}`.
|
|
@@ -294,6 +327,14 @@ interface KbdComboProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'
|
|
|
294
327
|
*/
|
|
295
328
|
declare function KbdCombo({ keys, platform, keyLabels, className, ...props }: KbdComboProps): react.JSX.Element;
|
|
296
329
|
|
|
330
|
+
type ButtonResult = 'success' | 'error';
|
|
331
|
+
/** The words a `Button` shows and announces for a moment after its action ends. */
|
|
332
|
+
interface ButtonResultLabels {
|
|
333
|
+
success: string;
|
|
334
|
+
error: string;
|
|
335
|
+
}
|
|
336
|
+
declare const DEFAULT_BUTTON_RESULT_LABELS: ButtonResultLabels;
|
|
337
|
+
|
|
297
338
|
type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'link';
|
|
298
339
|
/** `xs` is 24 px: the smallest hit area WCAG 2.5.8 allows, for dense tool rows (HAR-1348). */
|
|
299
340
|
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -301,7 +342,27 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
301
342
|
variant?: ButtonVariant;
|
|
302
343
|
size?: ButtonSize;
|
|
303
344
|
icon?: boolean;
|
|
345
|
+
/**
|
|
346
|
+
* The button's action is running. The button stops taking presses at once and is announced
|
|
347
|
+
* busy; the spinner appears only after `loadingDelay` and then stays at least 500 ms, so a
|
|
348
|
+
* fast action never flashes one (HAR-2580, motion standard §2.3). The button keeps its full
|
|
349
|
+
* colour while it works: a spinner, not a greyed-out control.
|
|
350
|
+
*/
|
|
304
351
|
loading?: boolean;
|
|
352
|
+
/** Milliseconds before the spinner shows (default 300). `0` shows it at once. */
|
|
353
|
+
loadingDelay?: number;
|
|
354
|
+
/**
|
|
355
|
+
* How the button's last action ended (HAR-2581). When it changes to `success` or `error`,
|
|
356
|
+
* or an action ends with one, the label crossfades to a check and `resultLabels.success`
|
|
357
|
+
* ("Done") or an alert mark and `resultLabels.error` ("Failed") for 1.5 s, announced
|
|
358
|
+
* politely, then returns. Never on the first render. The button is always as wide as its
|
|
359
|
+
* widest wording, so nothing beside it moves. Pass `null` while there is no result (keep
|
|
360
|
+
* the prop defined); say what failed and how to recover somewhere that stays, such as a
|
|
361
|
+
* field error or a toast. e.g. `result={m.isSuccess ? 'success' : m.isError ? 'error' : null}`
|
|
362
|
+
*/
|
|
363
|
+
result?: ButtonResult | null;
|
|
364
|
+
/** The result words, e.g. `{ success: 'Assigned', error: 'Not assigned' }`; or `UixLabelsProvider` `buttonResult`. */
|
|
365
|
+
resultLabels?: Partial<ButtonResultLabels>;
|
|
305
366
|
/**
|
|
306
367
|
* Let a long label wrap onto more lines: the size becomes a minimum height instead of a fixed
|
|
307
368
|
* one (HAR-1813, WCAG 1.4.10 reflow). For human-language labels on public or narrow screens;
|
|
@@ -2879,6 +2940,8 @@ declare function SearchBar({ label, value: valueProp, defaultValue, onValueChang
|
|
|
2879
2940
|
* on the server.
|
|
2880
2941
|
*/
|
|
2881
2942
|
interface UixLabels {
|
|
2943
|
+
/** The words a `Button` with `result` shows for a moment after its action (HAR-2581). */
|
|
2944
|
+
buttonResult?: Partial<ButtonResultLabels>;
|
|
2882
2945
|
modal?: {
|
|
2883
2946
|
close?: string;
|
|
2884
2947
|
};
|
|
@@ -3130,8 +3193,13 @@ interface ModalProps extends Omit<HTMLAttributes<HTMLDialogElement>, 'title'> {
|
|
|
3130
3193
|
/** Accessible name for the close button (default "Close dialog"). */
|
|
3131
3194
|
closeLabel?: string;
|
|
3132
3195
|
role?: 'dialog' | 'alertdialog';
|
|
3196
|
+
/**
|
|
3197
|
+
* Open and close with no animation (`[data-uix-instant]`). For a keyboard-initiated or
|
|
3198
|
+
* many-times-a-day dialog. A `CommandPalette` inside sets this on its own.
|
|
3199
|
+
*/
|
|
3200
|
+
instant?: boolean;
|
|
3133
3201
|
}
|
|
3134
|
-
declare function Modal({ open, onClose, dirty, pending, discardLabels, title, children, footer, className, closeLabel: closeLabelProp, role, onKeyDown, ...rest }: ModalProps): react.JSX.Element;
|
|
3202
|
+
declare function Modal({ open, onClose, dirty, pending, discardLabels, title, children, footer, className, closeLabel: closeLabelProp, role, instant, onKeyDown, ...rest }: ModalProps): react.JSX.Element;
|
|
3135
3203
|
|
|
3136
3204
|
interface ConfirmDialogProps {
|
|
3137
3205
|
open: boolean;
|
|
@@ -4176,8 +4244,14 @@ interface SpinnerProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
4176
4244
|
accent?: boolean;
|
|
4177
4245
|
/** Announced loading text (default "Loading…"). */
|
|
4178
4246
|
label?: string;
|
|
4247
|
+
/**
|
|
4248
|
+
* Show the spinner only after it has been mounted this long: `true` is 300 ms, a number is
|
|
4249
|
+
* milliseconds (HAR-2580). Work that ends sooner never flashes a spinner. To also hold it at
|
|
4250
|
+
* least 500 ms once shown, mount it from `useDelayedPending(pending)` instead.
|
|
4251
|
+
*/
|
|
4252
|
+
delay?: boolean | number;
|
|
4179
4253
|
}
|
|
4180
|
-
declare function Spinner({
|
|
4254
|
+
declare function Spinner({ delay, ...props }: SpinnerProps): react.JSX.Element;
|
|
4181
4255
|
|
|
4182
4256
|
type HeartbeatState = 'live' | 'idle' | 'warning' | 'danger';
|
|
4183
4257
|
interface HeartbeatProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
@@ -4337,6 +4411,13 @@ interface TableWrapProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4337
4411
|
* "N selected". Pass `useTable().announcement` straight through (UIX-A11Y-2).
|
|
4338
4412
|
*/
|
|
4339
4413
|
announcement?: string;
|
|
4414
|
+
/**
|
|
4415
|
+
* The rows are being fetched again (a filter, sort, page or saved-view change; HAR-2582). The
|
|
4416
|
+
* current rows stay and dim under an indeterminate bar along the top, and the wrap is
|
|
4417
|
+
* `aria-busy`; after 300 ms, held at least 500 ms. Keep the previous rows while fetching
|
|
4418
|
+
* (TanStack Query `placeholderData: keepPreviousData`); skeleton rows are for a first load.
|
|
4419
|
+
*/
|
|
4420
|
+
refreshing?: boolean;
|
|
4340
4421
|
children?: ReactNode;
|
|
4341
4422
|
}
|
|
4342
4423
|
declare const TableWrap: react.ForwardRefExoticComponent<TableWrapProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -4838,9 +4919,15 @@ interface LoadingStateProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4838
4919
|
density?: 'compact' | 'comfortable';
|
|
4839
4920
|
/** Announced loading text (default "Loading"). */
|
|
4840
4921
|
label?: string;
|
|
4922
|
+
/**
|
|
4923
|
+
* Show the skeleton only after it has been mounted this long: `true` is 300 ms, a number is
|
|
4924
|
+
* milliseconds (HAR-2580). A first load that answers sooner goes straight to the content.
|
|
4925
|
+
* Skeletons are for a first load; a refetch keeps its rows in a `BusyRegion`.
|
|
4926
|
+
*/
|
|
4927
|
+
delay?: boolean | number;
|
|
4841
4928
|
}
|
|
4842
4929
|
/** A stack of skeleton rows for list/section loading. `role="status"`. */
|
|
4843
|
-
declare function LoadingState({
|
|
4930
|
+
declare function LoadingState({ delay, ...props }: LoadingStateProps): react.JSX.Element;
|
|
4844
4931
|
|
|
4845
4932
|
interface RelativeTimeFormatContext {
|
|
4846
4933
|
date: Date;
|
|
@@ -4993,6 +5080,12 @@ interface SaveStatusProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children
|
|
|
4993
5080
|
labels?: Partial<SaveStatusLabels>;
|
|
4994
5081
|
/** Offered as a button only while `state` is `failed`. */
|
|
4995
5082
|
onRetry?: () => void;
|
|
5083
|
+
/**
|
|
5084
|
+
* Milliseconds before "Saving…" shows (default 300; HAR-2580). Until then the previous words
|
|
5085
|
+
* stay, so a fast save goes straight to "Saved" without a flash; once "Saving…" shows it
|
|
5086
|
+
* stays at least 500 ms. `0` shows every state at once and holds none.
|
|
5087
|
+
*/
|
|
5088
|
+
delay?: number;
|
|
4996
5089
|
}
|
|
4997
5090
|
/**
|
|
4998
5091
|
* Inline save feedback over `.uix-save-status`: saving → saved → failed, with a retry.
|
|
@@ -5004,7 +5097,21 @@ interface SaveStatusProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children
|
|
|
5004
5097
|
* rendering null while idle would silence the first "Saving…". The retry button sits
|
|
5005
5098
|
* outside the region so its label is not read out on every change.
|
|
5006
5099
|
*/
|
|
5007
|
-
declare function SaveStatus({ state, labels, onRetry, className, ...props }: SaveStatusProps): react.JSX.Element;
|
|
5100
|
+
declare function SaveStatus({ state, labels, onRetry, delay, className, ...props }: SaveStatusProps): react.JSX.Element;
|
|
5101
|
+
|
|
5102
|
+
interface BusyRegionProps extends HTMLAttributes<HTMLDivElement> {
|
|
5103
|
+
/** The content is being fetched again (a filter, sort, page or saved-view change). */
|
|
5104
|
+
busy: boolean;
|
|
5105
|
+
children?: ReactNode;
|
|
5106
|
+
}
|
|
5107
|
+
/**
|
|
5108
|
+
* Keeps what is on screen while it is fetched again (HAR-2582, motion standard §2.5): the
|
|
5109
|
+
* children stay, dim, and an indeterminate bar runs along the top; `aria-busy` is set at
|
|
5110
|
+
* once. The bar and the dim wait 300 ms, so a quick refetch shows nothing, and then stay at
|
|
5111
|
+
* least 500 ms. A skeleton is for a first load only: swapping rows for skeletons on every
|
|
5112
|
+
* refetch hides what changed. For a table, `TableWrap refreshing` does the same.
|
|
5113
|
+
*/
|
|
5114
|
+
declare function BusyRegion({ busy, className, children, ...props }: BusyRegionProps): react.JSX.Element;
|
|
5008
5115
|
|
|
5009
5116
|
interface ComposerProps extends HTMLAttributes<HTMLDivElement> {
|
|
5010
5117
|
children?: ReactNode;
|
|
@@ -5467,6 +5574,10 @@ interface CommandPaletteProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
5467
5574
|
* Modal/Popover and wire search + keyboard selection in the consumer. The input is
|
|
5468
5575
|
* a combobox over the listbox of `CommandItem`s; spreads override every default, so
|
|
5469
5576
|
* consumers already passing their own roles/labels keep working.
|
|
5577
|
+
*
|
|
5578
|
+
* ⌘K is keyboard-initiated and used many times a day, so the palette marks the dialog or
|
|
5579
|
+
* popover it sits in `[data-uix-instant]`: it opens and closes with no animation, without the
|
|
5580
|
+
* consumer knowing the attribute (or the older `data-uix-cmdk-dialog`).
|
|
5470
5581
|
*/
|
|
5471
5582
|
declare function CommandPalette({ inputProps, children, inputLabel: inputLabelProp, resultsLabel, className, ...props }: CommandPaletteProps): react.JSX.Element;
|
|
5472
5583
|
interface CommandGroupProps {
|
|
@@ -6482,4 +6593,4 @@ declare function hsvToHex(value: HsvColor): string;
|
|
|
6482
6593
|
declare function contrastRatio(background: string, foreground: string): number | undefined;
|
|
6483
6594
|
declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
|
|
6484
6595
|
|
|
6485
|
-
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, DASHBOARD_CANVAS_COLUMNS, DAY, DEFAULT_ATTACHMENT_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DASHBOARD_CANVAS_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, DashboardCanvas, type DashboardCanvasChange, type DashboardCanvasDirection, type DashboardCanvasGap, type DashboardCanvasItem, type DashboardCanvasLabels, type DashboardCanvasPlacement, type DashboardCanvasProps, type DashboardCanvasResize, 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, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, compactCanvas, 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, moveCanvasItem, moveRuleNode, multiSort, nextSortDir, normalizeCanvas, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseMetricValue, parseView, partitionFiles, pixelsToMs, placeCanvasItem, placeSpan, placesInTopLane, proposeMove, rankOverflow, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, resizeCanvasItem, 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 };
|
|
6596
|
+
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, BusyRegion, type BusyRegionProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonResult, type ButtonResultLabels, 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, DASHBOARD_CANVAS_COLUMNS, DAY, DEFAULT_ATTACHMENT_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_BUTTON_RESULT_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DASHBOARD_CANVAS_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, DashboardCanvas, type DashboardCanvasChange, type DashboardCanvasDirection, type DashboardCanvasGap, type DashboardCanvasItem, type DashboardCanvasLabels, type DashboardCanvasPlacement, type DashboardCanvasProps, type DashboardCanvasResize, 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, type DelayedPendingOptions, 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, PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, 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, RESULT_HOLD_MS, 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, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, compactCanvas, 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, moveCanvasItem, moveRuleNode, multiSort, nextSortDir, normalizeCanvas, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseMetricValue, parseView, partitionFiles, pixelsToMs, placeCanvasItem, placeSpan, placesInTopLane, prefersReducedMotion, proposeMove, rankOverflow, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, resizeCanvasItem, 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, useDelayedPending, useDialog, useReducedMotion, useTable, useUixLabels, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,9 @@ export { useDialog } from './hooks/useDialog.js';
|
|
|
3
3
|
export { UseTableOptions, UseTableResult, useTable } from './hooks/useTable.js';
|
|
4
4
|
export { UseVirtualRowsOptions, UseVirtualRowsResult, useVirtualRows } from './hooks/useVirtualRows.js';
|
|
5
5
|
export { UseAnchoredPositionOptions, useAnchoredPosition } from './hooks/useAnchoredPosition.js';
|
|
6
|
+
export { prefersReducedMotion, useReducedMotion } from './hooks/useReducedMotion.js';
|
|
7
|
+
export { DelayedPendingOptions, useDelayedPending } from './hooks/useDelayedPending.js';
|
|
8
|
+
export { PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, RESULT_HOLD_MS } from './motion-timing.js';
|
|
6
9
|
export { Align, Placement, PositionOptions, PositionResult, Rect, Side, Size, computePosition } from './overlay-position.js';
|
|
7
10
|
export { Button, ButtonGroup, ButtonGroupProps, ButtonLink, ButtonLinkProps, ButtonProps, ButtonSize, ButtonVariant } from './components/Button.js';
|
|
8
11
|
export { UixLabels, UixLabelsProvider, UixLabelsProviderProps, useUixLabels } from './labels-context.js';
|
|
@@ -76,6 +79,8 @@ export { Label, LabelProps } from './components/Label.js';
|
|
|
76
79
|
export { Avatar, AvatarGroup, AvatarGroupProps, AvatarPresence, AvatarProps, DEFAULT_PRESENCE_LABELS, PresenceDot, PresenceDotProps, UserChip, UserChipProps } from './components/Avatar.js';
|
|
77
80
|
export { Comment, CommentProps, Comments, CommentsProps } from './components/Comments.js';
|
|
78
81
|
export { DEFAULT_SAVE_STATUS_LABELS, SaveStatus, SaveStatusLabels, SaveStatusProps, SaveStatusState } from './components/SaveStatus.js';
|
|
82
|
+
export { BusyRegion, BusyRegionProps } from './components/BusyRegion.js';
|
|
83
|
+
export { ButtonResult, ButtonResultLabels, DEFAULT_BUTTON_RESULT_LABELS } from './components/ButtonFeedback.js';
|
|
79
84
|
export { Composer, ComposerBar, ComposerBarProps, ComposerProps } from './components/Composer.js';
|
|
80
85
|
export { Segmented, SegmentedOption, SegmentedOptionProps, SegmentedProps } from './components/Segmented.js';
|
|
81
86
|
export { FilterOption, FilterPopover, FilterPopoverProps, SavedViewItem, SavedViewMenu, SavedViewMenuProps, SavedViewSection, ViewMenu, ViewMenuColumn, ViewMenuColumnLabels, ViewMenuProps } from './components/TableControls.js';
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,9 @@ import { useDialog } from "./hooks/useDialog.js";
|
|
|
3
3
|
import { useTable } from "./hooks/useTable.js";
|
|
4
4
|
import { useVirtualRows } from "./hooks/useVirtualRows.js";
|
|
5
5
|
import { useAnchoredPosition } from "./hooks/useAnchoredPosition.js";
|
|
6
|
+
import { useReducedMotion, prefersReducedMotion } from "./hooks/useReducedMotion.js";
|
|
7
|
+
import { useDelayedPending } from "./hooks/useDelayedPending.js";
|
|
8
|
+
import { PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, RESULT_HOLD_MS } from "./motion-timing.js";
|
|
6
9
|
import { computePosition } from "./overlay-position.js";
|
|
7
10
|
import { Button, ButtonGroup, ButtonLink } from "./components/Button.js";
|
|
8
11
|
import { UixLabelsProvider, useUixLabels } from "./labels-context.js";
|
|
@@ -104,6 +107,8 @@ import { Label } from "./components/Label.js";
|
|
|
104
107
|
import { Avatar, AvatarGroup, PresenceDot, UserChip, DEFAULT_PRESENCE_LABELS } from "./components/Avatar.js";
|
|
105
108
|
import { Comments, Comment } from "./components/Comments.js";
|
|
106
109
|
import { SaveStatus, DEFAULT_SAVE_STATUS_LABELS } from "./components/SaveStatus.js";
|
|
110
|
+
import { BusyRegion } from "./components/BusyRegion.js";
|
|
111
|
+
import { DEFAULT_BUTTON_RESULT_LABELS } from "./components/ButtonFeedback.js";
|
|
107
112
|
import { Composer, ComposerBar } from "./components/Composer.js";
|
|
108
113
|
import { Segmented, SegmentedOption } from "./components/Segmented.js";
|
|
109
114
|
import { ViewMenu, FilterPopover, SavedViewMenu } from "./components/TableControls.js";
|
|
@@ -247,6 +252,7 @@ export {
|
|
|
247
252
|
BuilderCanvas,
|
|
248
253
|
BulkBar,
|
|
249
254
|
Bullet,
|
|
255
|
+
BusyRegion,
|
|
250
256
|
Button,
|
|
251
257
|
ButtonGroup,
|
|
252
258
|
ButtonLink,
|
|
@@ -276,6 +282,7 @@ export {
|
|
|
276
282
|
DEFAULT_ATTACHMENT_LABELS,
|
|
277
283
|
DEFAULT_BRAND_PROFILE_EDITOR_LABELS,
|
|
278
284
|
DEFAULT_BUILDER_CANVAS_LABELS,
|
|
285
|
+
DEFAULT_BUTTON_RESULT_LABELS,
|
|
279
286
|
DEFAULT_COLOR_PICKER_LABELS,
|
|
280
287
|
DEFAULT_DASHBOARD_CANVAS_LABELS,
|
|
281
288
|
DEFAULT_DATE_PICKER_LABELS,
|
|
@@ -377,6 +384,8 @@ export {
|
|
|
377
384
|
Note,
|
|
378
385
|
NoticeQueue,
|
|
379
386
|
OrgChart,
|
|
387
|
+
PENDING_DELAY_MS,
|
|
388
|
+
PENDING_MIN_VISIBLE_MS,
|
|
380
389
|
PageHeader,
|
|
381
390
|
PageIntro,
|
|
382
391
|
Pagination,
|
|
@@ -389,6 +398,7 @@ export {
|
|
|
389
398
|
Progress,
|
|
390
399
|
PromptDialog,
|
|
391
400
|
Prose,
|
|
401
|
+
RESULT_HOLD_MS,
|
|
392
402
|
Radio,
|
|
393
403
|
RadioCard,
|
|
394
404
|
RadioGroup,
|
|
@@ -527,6 +537,7 @@ export {
|
|
|
527
537
|
placeSpan,
|
|
528
538
|
placesInTopLane,
|
|
529
539
|
predictionBand,
|
|
540
|
+
prefersReducedMotion,
|
|
530
541
|
proposeMove,
|
|
531
542
|
quantiles,
|
|
532
543
|
rankOverflow,
|
|
@@ -564,7 +575,9 @@ export {
|
|
|
564
575
|
traverseRelationshipNode,
|
|
565
576
|
treeNav,
|
|
566
577
|
useAnchoredPosition,
|
|
578
|
+
useDelayedPending,
|
|
567
579
|
useDialog,
|
|
580
|
+
useReducedMotion,
|
|
568
581
|
useTable,
|
|
569
582
|
useUixLabels,
|
|
570
583
|
useVirtualRows,
|
package/dist/labels-context.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { OrgChartLabels } from './components/OrgChart.js';
|
|
|
17
17
|
import { InlineEditLabels } from './components/InlineEdit.js';
|
|
18
18
|
import { DiscardPromptLabels } from './components/DiscardPrompt.js';
|
|
19
19
|
import { SearchBarLabels } from './components/SearchBar.js';
|
|
20
|
+
import { ButtonResultLabels } from './components/ButtonFeedback.js';
|
|
20
21
|
import './link.js';
|
|
21
22
|
import './calendar-model.js';
|
|
22
23
|
import './scheduling-calendar-model.js';
|
|
@@ -42,6 +43,8 @@ import './components/Kbd.js';
|
|
|
42
43
|
* on the server.
|
|
43
44
|
*/
|
|
44
45
|
interface UixLabels {
|
|
46
|
+
/** The words a `Button` with `result` shows for a moment after its action (HAR-2581). */
|
|
47
|
+
buttonResult?: Partial<ButtonResultLabels>;
|
|
45
48
|
modal?: {
|
|
46
49
|
close?: string;
|
|
47
50
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Under this, a pending action shows nothing new: a spinner that would flash for 150 ms is noise. */
|
|
2
|
+
declare const PENDING_DELAY_MS = 300;
|
|
3
|
+
/** Once a pending indicator appears, it stays at least this long so it never flickers. */
|
|
4
|
+
declare const PENDING_MIN_VISIBLE_MS = 500;
|
|
5
|
+
/** How long an in-place result ("Saved", "Couldn't save") holds before the control returns. */
|
|
6
|
+
declare const RESULT_HOLD_MS = 1500;
|
|
7
|
+
|
|
8
|
+
export { PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, RESULT_HOLD_MS };
|