@tensor_1/react 2.58.0 → 2.61.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 +4 -4
- package/component-inventory.json +4 -0
- package/dist/components/Button.d.ts +15 -0
- package/dist/components/Button.js +11 -6
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Drawer.js +104 -1
- package/dist/components/FileKindIcon.d.ts +5 -1
- package/dist/components/FileKindIcon.js +5 -1
- package/dist/components/Menu.js +10 -1
- package/dist/components/Popover.js +4 -1
- package/dist/components/Select.js +85 -11
- package/dist/components/Sidebar.js +29 -2
- package/dist/components/Tooltip.js +103 -16
- package/dist/emoji.cjs +263 -70
- package/dist/file-model.d.ts +14 -7
- package/dist/file-model.js +18 -6
- package/dist/hooks/useArrivalBlur.d.ts +14 -0
- package/dist/hooks/useArrivalBlur.js +47 -0
- package/dist/hooks/useHoverGlide.d.ts +28 -0
- package/dist/hooks/useHoverGlide.js +137 -0
- package/dist/icons/Icon.d.ts +4 -2
- package/dist/icons/Icon.js +6 -2
- package/dist/icons/NamedIcon.js +1 -1
- package/dist/icons/components.d.ts +2 -1
- package/dist/icons/components.js +2 -0
- package/dist/icons/glyphs.d.ts +3 -1
- package/dist/icons/glyphs.js +3 -0
- package/dist/icons/types.d.ts +11 -0
- package/dist/icons.cjs +12 -3
- package/dist/icons.d.cts +5 -3
- package/dist/icons.d.ts +1 -1
- package/dist/index.cjs +2956 -2333
- package/dist/index.d.cts +61 -11
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/motion.d.ts +25 -1
- package/dist/motion.js +100 -0
- package/dist/rich-text.cjs +4 -1
- package/dist/{types-B593xJNf.d.cts → types-B7OIndwg.d.cts} +11 -0
- package/dist/usage-roles.d.ts +28 -0
- package/dist/usage-roles.js +28 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { RefObject, HTMLAttributes, PointerEvent, FocusEvent, KeyboardEvent as KeyboardEvent$1, AnchorHTMLAttributes, ReactNode, ButtonHTMLAttributes, AriaAttributes, CSSProperties, SelectHTMLAttributes, MouseEvent, Ref, SyntheticEvent, SVGAttributes, InputHTMLAttributes, TdHTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TextareaHTMLAttributes, DetailsHTMLAttributes, LiHTMLAttributes, ReactElement, TransitionEvent } 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
|
-
import { U as UixIcon } from './types-
|
|
5
|
+
import { U as UixIcon } from './types-B7OIndwg.cjs';
|
|
6
6
|
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';
|
|
7
7
|
|
|
8
8
|
declare function cx(...args: (string | false | null | undefined | 0)[]): string;
|
|
@@ -734,6 +734,21 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
734
734
|
* the product binds the key.
|
|
735
735
|
*/
|
|
736
736
|
shortcut?: KeyShortcut;
|
|
737
|
+
/**
|
|
738
|
+
* Why the button is unavailable (HAR-2816), e.g. "Nur Administratoren können Lizenzen
|
|
739
|
+
* löschen". Use it with `disabled`: the button then stays focusable and hoverable as
|
|
740
|
+
* `aria-disabled="true"`, takes no press, shows the reason in a `Tooltip` and is described by
|
|
741
|
+
* it, so a keyboard or screen-reader user learns why as well. A disabled button looks the same
|
|
742
|
+
* with or without a reason (muted text, no fill, a hairline); the reason is what tells a person
|
|
743
|
+
* what to do instead. While the button is enabled the reason is silent. Pass the prop for as
|
|
744
|
+
* long as the button can become unavailable (`undefined` only when it never can): the button
|
|
745
|
+
* then sits in the Tooltip's inline wrapper the whole time, so turning `disabled` on or off
|
|
746
|
+
* never remounts it and focus stays on it. Give a full-width button's wrapper its width with
|
|
747
|
+
* `disabledReasonClassName`.
|
|
748
|
+
*/
|
|
749
|
+
disabledReason?: string;
|
|
750
|
+
/** Class for the Tooltip wrapper `disabledReason` adds, e.g. to make it full width. */
|
|
751
|
+
disabledReasonClassName?: string;
|
|
737
752
|
children?: ReactNode;
|
|
738
753
|
}
|
|
739
754
|
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -2956,16 +2971,23 @@ declare function partitionFiles<F extends {
|
|
|
2956
2971
|
accepted: F[];
|
|
2957
2972
|
rejected: FileRejection<F>[];
|
|
2958
2973
|
};
|
|
2959
|
-
/**
|
|
2974
|
+
/**
|
|
2975
|
+
* The coarse kinds of the object form of `fileKind`, read by `FileUpload` and `Attachment`. Older
|
|
2976
|
+
* than the file kit and separate from `FileKind`: here `text` means any document (Word files
|
|
2977
|
+
* included), there it means plain text only.
|
|
2978
|
+
*/
|
|
2960
2979
|
type LegacyFileKind = 'image' | 'video' | 'pdf' | 'sheet' | 'archive' | 'text' | 'other';
|
|
2961
2980
|
/**
|
|
2962
|
-
* What a service-desk agent does with a file, as one of
|
|
2963
|
-
*
|
|
2964
|
-
* `
|
|
2965
|
-
* (
|
|
2981
|
+
* What a service-desk agent does with a file, as one of eleven kinds (file kit 2.57, office
|
|
2982
|
+
* formats split out in 2.59): `img` (Bild), `doc` (Dokument: Word and other word-processor
|
|
2983
|
+
* files), `sheet` (Tabelle), `slides` (Präsentation), `pdf` (PDF), `mail` (E-Mail), `code`
|
|
2984
|
+
* (Code & Konfiguration), `log` (Protokoll), `archive` (Archiv), `text` (Text) and `other`
|
|
2985
|
+
* (Datei). Each has a colour (`--uix-file-<kind>`) and a glyph; `FileIcon`, `FileRow` and
|
|
2986
|
+
* `FileDrop` read it. The office kinds take the colour people know from the program (Word
|
|
2987
|
+
* blue, Excel green, PowerPoint orange, PDF red), tuned to stay clear of the status colours.
|
|
2966
2988
|
*/
|
|
2967
|
-
type FileKind = 'img' | 'doc' | 'sheet' | 'mail' | 'code' | 'log' | 'archive' | 'other';
|
|
2968
|
-
/** The
|
|
2989
|
+
type FileKind = 'img' | 'doc' | 'sheet' | 'slides' | 'pdf' | 'mail' | 'code' | 'log' | 'archive' | 'text' | 'other';
|
|
2990
|
+
/** The eleven kinds in display order (`other` last). */
|
|
2969
2991
|
declare const FILE_KINDS: readonly FileKind[];
|
|
2970
2992
|
/** The extensions of each kind, lower case and without the dot. `other` has none. */
|
|
2971
2993
|
declare const FILE_KIND_EXTENSIONS: Readonly<Record<FileKind, readonly string[]>>;
|
|
@@ -7186,7 +7208,11 @@ interface AttachmentListProps extends HTMLAttributes<HTMLUListElement> {
|
|
|
7186
7208
|
/** A list of `Attachment` rows. */
|
|
7187
7209
|
declare function AttachmentList({ label, className, children, ...props }: AttachmentListProps): react.JSX.Element;
|
|
7188
7210
|
|
|
7189
|
-
/**
|
|
7211
|
+
/**
|
|
7212
|
+
* The Lucide glyph of each kind. E-Mail keeps the envelope and Präsentation the presentation
|
|
7213
|
+
* board: Lucide has no file-shaped icon for either. Dokument, PDF and Text share the page with
|
|
7214
|
+
* lines; their colour and the type label on the corner tell them apart.
|
|
7215
|
+
*/
|
|
7190
7216
|
declare const FILE_KIND_GLYPHS: Readonly<Record<FileKind, UixIcon>>;
|
|
7191
7217
|
/** `md` 34 px (a list row), `sm` 30 px (a compact panel row), `lg` 52 px. */
|
|
7192
7218
|
type FileKindIconSize = 'sm' | 'md' | 'lg';
|
|
@@ -7450,6 +7476,30 @@ interface StatusDotProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
7450
7476
|
*/
|
|
7451
7477
|
declare function StatusDot({ tone, quiet, size, className, children, ...props }: StatusDotProps): react.JSX.Element;
|
|
7452
7478
|
|
|
7479
|
+
/**
|
|
7480
|
+
* The five status roles by meaning (HAR-2816, Foundations › Usage roles).
|
|
7481
|
+
*
|
|
7482
|
+
* - `neutral` — the default: facts, counts, lifecycle states and routine absences
|
|
7483
|
+
* ("Inaktiv seit 92 Tagen", "Nicht anwendbar").
|
|
7484
|
+
* - `info` — something to notice with no pressure to act: in flight, new, selected.
|
|
7485
|
+
* - `success` — the one achieved outcome a person waits for ("Prüflauf bestanden").
|
|
7486
|
+
* - `warning` — act soon: a deadline near, a value drifting ("Support endet in 42 Tagen").
|
|
7487
|
+
* - `critical` — broken or breached now ("Support seit 12 Tagen überschritten"). Rare: a dot
|
|
7488
|
+
* and words (`StatusDot`), at most one red surface per screen.
|
|
7489
|
+
*
|
|
7490
|
+
* Every role carries words; colour is never the only cue.
|
|
7491
|
+
*/
|
|
7492
|
+
type StatusRole = 'neutral' | 'info' | 'success' | 'warning' | 'critical';
|
|
7493
|
+
/** The five status roles, quietest first. */
|
|
7494
|
+
declare const STATUS_ROLES: readonly StatusRole[];
|
|
7495
|
+
/**
|
|
7496
|
+
* A `StatusPill` tone folded onto its status role, so a product that keeps the finer pill
|
|
7497
|
+
* vocabulary (SLA, priority, time pressure) still lands on one of the five meanings, e.g. for a
|
|
7498
|
+
* `StatusDot`. Anything that is not a failure, a deadline or an achieved outcome is `neutral`:
|
|
7499
|
+
* `muted`, `sla-ok`, `p4` and `p5` included.
|
|
7500
|
+
*/
|
|
7501
|
+
declare function statusRoleOf(tone: PillTone | null | undefined): StatusRole;
|
|
7502
|
+
|
|
7453
7503
|
interface ProgressProps extends HTMLAttributes<HTMLDivElement> {
|
|
7454
7504
|
/** 0..max. Ignored when `indeterminate`. */
|
|
7455
7505
|
value?: number;
|
|
@@ -8286,6 +8336,7 @@ declare function MotionList<T>({ items, getKey, renderItem, as, onExited, classN
|
|
|
8286
8336
|
ref: react.RefObject<HTMLElement>;
|
|
8287
8337
|
className: string;
|
|
8288
8338
|
onTransitionEnd: (event: TransitionEvent<HTMLElement>) => void;
|
|
8339
|
+
property?: string | undefined | undefined;
|
|
8289
8340
|
hidden?: boolean | undefined | undefined;
|
|
8290
8341
|
dir?: string | undefined | undefined;
|
|
8291
8342
|
is?: string | undefined | undefined;
|
|
@@ -8530,7 +8581,6 @@ declare function MotionList<T>({ items, getKey, renderItem, as, onExited, classN
|
|
|
8530
8581
|
datatype?: string | undefined | undefined;
|
|
8531
8582
|
inlist?: any;
|
|
8532
8583
|
prefix?: string | undefined | undefined;
|
|
8533
|
-
property?: string | undefined | undefined;
|
|
8534
8584
|
rel?: string | undefined | undefined;
|
|
8535
8585
|
resource?: string | undefined | undefined;
|
|
8536
8586
|
rev?: string | undefined | undefined;
|
|
@@ -10183,4 +10233,4 @@ declare function hsvToHex(value: HsvColor): string;
|
|
|
10183
10233
|
declare function contrastRatio(background: string, foreground: string): number | undefined;
|
|
10184
10234
|
declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
|
|
10185
10235
|
|
|
10186
|
-
export { type AccessStateProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountMenuUser, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, Arrive, ArriveItem, type ArriveItemProps, type ArriveProps, type ArriveState, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, AuditLog, type AuditLogAction, type AuditLogEvent, type AuditLogFilters, type AuditLogLabels, type AuditLogProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, BarList, type BarListItem, type BarListProps, 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, type CellSubProps, ChangeHighlight, type ChangeHighlightOptions, type ChangeHighlightProps, ChartCard, type ChartCardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CodeDisplay, type CodeDisplayLabels, type CodeDisplayProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, type ConfirmButtonProps, ConfirmDialog, type ConfirmDialogProps, ContactCard, type ContactCardLabels, type ContactCardProps, type ContactCardState, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, type ContrastPreference, CopyButton, type CopyButtonProps, Count, type CountProps, DASHBOARD_CANVAS_COLUMNS, DATE_FILTER_OPERATORS, DAY, DEFAULT_ACCOUNT_MENU_LABELS, DEFAULT_ATTACHMENT_LABELS, DEFAULT_AUDIT_LOG_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_BUTTON_RESULT_LABELS, DEFAULT_CODE_DISPLAY_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_DASHBOARD_CANVAS_LABELS, DEFAULT_DATA_WORKSPACE_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_DISPLAY_PREFERENCES, DEFAULT_DISPLAY_PREFERENCES_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_DROP_LABELS, DEFAULT_FILE_KIND_LABELS, DEFAULT_FILE_ROW_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_KEYBOARD_GRAB_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PASSWORD_INPUT_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_PRINT_LAYOUT_LABELS, DEFAULT_QR_CODE_LABELS, DEFAULT_QR_SCANNER_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_SORTABLE_LIST_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TAG_INPUT_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TIME_PICKER_LABELS, DEFAULT_TREE_LABELS, DISPLAY_PREFERENCES_STORAGE_KEY, DISPLAY_PREFERENCE_OPTIONS, 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, DataWorkspace, type DataWorkspaceColumn, type DataWorkspaceGroup, type DataWorkspaceIdColumn, type DataWorkspaceLabels, type DataWorkspacePagination, type DataWorkspaceProps, type DataWorkspaceRowActionsContext, type DataWorkspaceSort, type DataWorkspaceSortState, type DataWorkspaceSortValue, type DataWorkspaceVirtualize, type DateFilterOperator, 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, type DensityPreference, 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 DiffSide, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, type DisplayAttributes, type DisplayPreferenceValues, DisplayPreferences, type DisplayPreferencesLabels, type DisplayPreferencesProps, Drawer, type DrawerProps, ENUM_FILTER_OPERATORS, type EdgeLabelBox, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchError, type EntityPickerSearchResult, type EnumFilterOperator, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FILE_DROP_LABELS_EN, FILE_KINDS, FILE_KIND_EXTENSIONS, FILE_KIND_GLYPHS, FILE_KIND_LABELS_EN, FILE_ROW_LABELS_EN, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, FileDrop, type FileDropLabels, type FileDropProps, type FileKind, FileKindIcon, type FileKindIconProps, type FileKindIconSize, type FileKindLabels, type FileRejection, type FileRejectionReason, FileRow, type FileRowLabels, type FileRowProps, type FileRowState, 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 InlineEditErrorContext, type InlineEditLabels, type InlineEditProps, type InlineEditState, Input, InputGroup, type InputGroupProps, type InputProps, Inset, type InsetProps, 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, KanbanDropLine, type KanbanDropLineProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, type KeyboardGrabDirection, type KeyboardGrabLabels, Label, type LabelObstacle, 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, type LegacyFileKind, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxOverlayContext, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, LocaleSwitcher, type LocaleSwitcherLocale, type LocaleSwitcherProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, type MatrixAxisItem, type MatrixBand, type MatrixCellState, type MatrixChange, MatrixHeatmap, type MatrixHeatmapCell, type MatrixHeatmapLabels, type MatrixHeatmapProps, MatrixInput, type MatrixInputLabels, type MatrixInputProps, type MatrixOption, type MatrixTone, type MatrixValue, 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, MotionList, type MotionListProps, type MotionPreference, 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, type OptimisticRollback, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, OtpInput, type OtpInputProps, PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, PasswordInput, type PasswordInputLabels, type PasswordInputProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedEdgeLabel, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, PrintLayout, type PrintLayoutLabels, type PrintLayoutProps, PrintPageBreak, type PrintPageSize, PrintSignature, type PrintSignatureProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, QrCapacityError, QrCode, type QrCodeLabels, type QrCodeProps, type QrEncodeOptions, type QrErrorCorrection, type QrMatrix, QrScanner, type QrScannerDecoder, type QrScannerFrame, type QrScannerLabels, type QrScannerProps, type QrScannerStatus, 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, type RelationshipGraphTone, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, type ResourceDayItem, type ResourceDaySlot, type ResourceDaySlotOptions, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionLinkProps, 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 SchedulingAvailabilityKind, 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 SchedulingResource, type SchedulingResourceSpan, type SchedulingSlotSelection, 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, type SidebarSearch, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, SortableList, type SortableListItemContext, type SortableListLabels, type SortableListProps, Sparkline, type SparklineProps, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, StatRow, type StatRowProps, type StatTrend, type StateVariant, StatusDot, type StatusDotProps, type StatusDotTone, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, StatusStrip, type StatusStripItem, type StatusStripProps, type StatusStripTone, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, SuccessState, type SuccessStateProps, type SummarizeFilterOptions, Switch, type SwitchProps, type SystemDisplayPreferences, 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, TagInput, type TagInputLabels, type TagInputProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, type TextScalePreference, Textarea, type TextareaProps, Th, type ThProps, type ThemePreference, ThemeSwitcher, type ThemeSwitcherProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, type TimeInputProblem, TimePicker, type TimePickerLabels, type TimePickerProps, 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 UixDateFormat, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseDeferredReorderResult, type UseDisplayPreferencesOptions, type UseDisplayPreferencesResult, type UseKeyboardGrabOptions, type UseKeyboardGrabResult, type UseOptimisticValueOptions, type UseOptimisticValueResult, 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, accountInitials, addCalendarDays, addCalendarMonths, addZonedDays, announcePolite, appendRuleNode, applyBrandProfile, applyDisplayAttributes, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, codeGroups, compactCanvas, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateFilterBounds, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, displayPreferencesScript, edgeLabelSize, emptyFilterValue, encodeQr, enumColumnFilter, enumerateDateKeys, enumerateDateSpan, fileExtension, fileKind, fileMatchesAccept, fileTypeLabel, filterComboboxItems, filterComboboxOptions, filterCommandItems, findRuleNodeDepth, flashChanged, flattenTree, foldForSearch, formatCountdown, formatDateKey, formatFileSize, formatTimeKey, groupCommandItems, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isOvernightRange, isRuleGroup, isTimeOutOfRange, isUnresolvedChoice, isValidDateKey, isValidTimeKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutResourceColumn, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, minutesToTime, moveCanvasItem, moveRuleNode, multiSort, nextSortDir, normalizeCanvas, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseDisplayPreferences, parseMetricValue, parseTimeInput, parseView, partitionFiles, pixelsToMs, placeCanvasItem, placeId, placeSpan, placesInTopLane, prefersReducedMotion, proposeMove, qrDataCapacity, qrPath, qrVersionFor, rankOverflow, readSystemDisplayPreferences, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, resizeCanvasItem, resolveDisplayAttributes, resolveFilterLabels, resourceDayGaps, resourceDaySlots, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, separateEdgeLabels, serializeView, setRuleCombinator, settleDrop, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, stepMetricValue, stepTime, summarizeDiff, summarizeFilter, summarizeRule, telHref, textDiffRows, timePartEnds, timeSlots, timeToMinutes, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useArrive, useChangeHighlight, useDeferredReorder, useDelayedPending, useDialog, useDisplayPreferences, useKeyboardGrab, useOptimisticValue, useReducedMotion, useSlidingIndicator, useTable, useUixLabels, useVirtualRows, uses12Hour, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
|
|
10236
|
+
export { type AccessStateProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountMenuUser, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, Arrive, ArriveItem, type ArriveItemProps, type ArriveProps, type ArriveState, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, AuditLog, type AuditLogAction, type AuditLogEvent, type AuditLogFilters, type AuditLogLabels, type AuditLogProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, BarList, type BarListItem, type BarListProps, 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, type CellSubProps, ChangeHighlight, type ChangeHighlightOptions, type ChangeHighlightProps, ChartCard, type ChartCardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CodeDisplay, type CodeDisplayLabels, type CodeDisplayProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, type ConfirmButtonProps, ConfirmDialog, type ConfirmDialogProps, ContactCard, type ContactCardLabels, type ContactCardProps, type ContactCardState, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, type ContrastPreference, CopyButton, type CopyButtonProps, Count, type CountProps, DASHBOARD_CANVAS_COLUMNS, DATE_FILTER_OPERATORS, DAY, DEFAULT_ACCOUNT_MENU_LABELS, DEFAULT_ATTACHMENT_LABELS, DEFAULT_AUDIT_LOG_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_BUTTON_RESULT_LABELS, DEFAULT_CODE_DISPLAY_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_DASHBOARD_CANVAS_LABELS, DEFAULT_DATA_WORKSPACE_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_DISPLAY_PREFERENCES, DEFAULT_DISPLAY_PREFERENCES_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_DROP_LABELS, DEFAULT_FILE_KIND_LABELS, DEFAULT_FILE_ROW_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_KEYBOARD_GRAB_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PASSWORD_INPUT_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_PRINT_LAYOUT_LABELS, DEFAULT_QR_CODE_LABELS, DEFAULT_QR_SCANNER_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_SORTABLE_LIST_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TAG_INPUT_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TIME_PICKER_LABELS, DEFAULT_TREE_LABELS, DISPLAY_PREFERENCES_STORAGE_KEY, DISPLAY_PREFERENCE_OPTIONS, 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, DataWorkspace, type DataWorkspaceColumn, type DataWorkspaceGroup, type DataWorkspaceIdColumn, type DataWorkspaceLabels, type DataWorkspacePagination, type DataWorkspaceProps, type DataWorkspaceRowActionsContext, type DataWorkspaceSort, type DataWorkspaceSortState, type DataWorkspaceSortValue, type DataWorkspaceVirtualize, type DateFilterOperator, 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, type DensityPreference, 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 DiffSide, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, type DisplayAttributes, type DisplayPreferenceValues, DisplayPreferences, type DisplayPreferencesLabels, type DisplayPreferencesProps, Drawer, type DrawerProps, ENUM_FILTER_OPERATORS, type EdgeLabelBox, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchError, type EntityPickerSearchResult, type EnumFilterOperator, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FILE_DROP_LABELS_EN, FILE_KINDS, FILE_KIND_EXTENSIONS, FILE_KIND_GLYPHS, FILE_KIND_LABELS_EN, FILE_ROW_LABELS_EN, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, FileDrop, type FileDropLabels, type FileDropProps, type FileKind, FileKindIcon, type FileKindIconProps, type FileKindIconSize, type FileKindLabels, type FileRejection, type FileRejectionReason, FileRow, type FileRowLabels, type FileRowProps, type FileRowState, 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 InlineEditErrorContext, type InlineEditLabels, type InlineEditProps, type InlineEditState, Input, InputGroup, type InputGroupProps, type InputProps, Inset, type InsetProps, 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, KanbanDropLine, type KanbanDropLineProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, type KeyboardGrabDirection, type KeyboardGrabLabels, Label, type LabelObstacle, 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, type LegacyFileKind, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxOverlayContext, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, LocaleSwitcher, type LocaleSwitcherLocale, type LocaleSwitcherProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, type MatrixAxisItem, type MatrixBand, type MatrixCellState, type MatrixChange, MatrixHeatmap, type MatrixHeatmapCell, type MatrixHeatmapLabels, type MatrixHeatmapProps, MatrixInput, type MatrixInputLabels, type MatrixInputProps, type MatrixOption, type MatrixTone, type MatrixValue, 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, MotionList, type MotionListProps, type MotionPreference, 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, type OptimisticRollback, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, OtpInput, type OtpInputProps, PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, PasswordInput, type PasswordInputLabels, type PasswordInputProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedEdgeLabel, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, PrintLayout, type PrintLayoutLabels, type PrintLayoutProps, PrintPageBreak, type PrintPageSize, PrintSignature, type PrintSignatureProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, QrCapacityError, QrCode, type QrCodeLabels, type QrCodeProps, type QrEncodeOptions, type QrErrorCorrection, type QrMatrix, QrScanner, type QrScannerDecoder, type QrScannerFrame, type QrScannerLabels, type QrScannerProps, type QrScannerStatus, 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, type RelationshipGraphTone, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, type ResourceDayItem, type ResourceDaySlot, type ResourceDaySlotOptions, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionLinkProps, 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, STATUS_ROLES, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, type SchedulingAgendaGroup, type SchedulingAvailabilityKind, 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 SchedulingResource, type SchedulingResourceSpan, type SchedulingSlotSelection, 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, type SidebarSearch, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, SortableList, type SortableListItemContext, type SortableListLabels, type SortableListProps, Sparkline, type SparklineProps, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, StatRow, type StatRowProps, type StatTrend, type StateVariant, StatusDot, type StatusDotProps, type StatusDotTone, StatusPill, type StatusPillProps, type StatusRole, StatusRow, type StatusRowProps, StatusStrip, type StatusStripItem, type StatusStripProps, type StatusStripTone, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, SuccessState, type SuccessStateProps, type SummarizeFilterOptions, Switch, type SwitchProps, type SystemDisplayPreferences, 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, TagInput, type TagInputLabels, type TagInputProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, type TextScalePreference, Textarea, type TextareaProps, Th, type ThProps, type ThemePreference, ThemeSwitcher, type ThemeSwitcherProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, type TimeInputProblem, TimePicker, type TimePickerLabels, type TimePickerProps, 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 UixDateFormat, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseDeferredReorderResult, type UseDisplayPreferencesOptions, type UseDisplayPreferencesResult, type UseKeyboardGrabOptions, type UseKeyboardGrabResult, type UseOptimisticValueOptions, type UseOptimisticValueResult, 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, accountInitials, addCalendarDays, addCalendarMonths, addZonedDays, announcePolite, appendRuleNode, applyBrandProfile, applyDisplayAttributes, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, codeGroups, compactCanvas, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateFilterBounds, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, displayPreferencesScript, edgeLabelSize, emptyFilterValue, encodeQr, enumColumnFilter, enumerateDateKeys, enumerateDateSpan, fileExtension, fileKind, fileMatchesAccept, fileTypeLabel, filterComboboxItems, filterComboboxOptions, filterCommandItems, findRuleNodeDepth, flashChanged, flattenTree, foldForSearch, formatCountdown, formatDateKey, formatFileSize, formatTimeKey, groupCommandItems, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isOvernightRange, isRuleGroup, isTimeOutOfRange, isUnresolvedChoice, isValidDateKey, isValidTimeKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutResourceColumn, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, minutesToTime, moveCanvasItem, moveRuleNode, multiSort, nextSortDir, normalizeCanvas, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseDisplayPreferences, parseMetricValue, parseTimeInput, parseView, partitionFiles, pixelsToMs, placeCanvasItem, placeId, placeSpan, placesInTopLane, prefersReducedMotion, proposeMove, qrDataCapacity, qrPath, qrVersionFor, rankOverflow, readSystemDisplayPreferences, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, resizeCanvasItem, resolveDisplayAttributes, resolveFilterLabels, resourceDayGaps, resourceDaySlots, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, separateEdgeLabels, serializeView, setRuleCombinator, settleDrop, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, statusRoleOf, stepMetricValue, stepTime, summarizeDiff, summarizeFilter, summarizeRule, telHref, textDiffRows, timePartEnds, timeSlots, timeToMinutes, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useArrive, useChangeHighlight, useDeferredReorder, useDelayedPending, useDialog, useDisplayPreferences, useKeyboardGrab, useOptimisticValue, useReducedMotion, useSlidingIndicator, useTable, useUixLabels, useVirtualRows, uses12Hour, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
|
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export { ColumnFilter, FilterKind, FilterOp, Primitive, Row, Segment, SelectAllS
|
|
|
85
85
|
export { DEFAULT_PAGINATION_LABELS, Pagination, PaginationLabels, PaginationProps } from './components/Pagination.js';
|
|
86
86
|
export { PillSize, PillTone, PillTreatment, StatusPill, StatusPillProps } from './components/StatusPill.js';
|
|
87
87
|
export { StatusDot, StatusDotProps, StatusDotTone } from './components/StatusDot.js';
|
|
88
|
+
export { STATUS_ROLES, StatusRole, statusRoleOf } from './usage-roles.js';
|
|
88
89
|
export { Progress, ProgressProps } from './components/Progress.js';
|
|
89
90
|
export { Meter, MeterProps, MeterTone } from './components/Meter.js';
|
|
90
91
|
export { Stat, StatProps, StatRow, StatRowProps, StatTrend } from './components/Stat.js';
|
package/dist/index.js
CHANGED
|
@@ -133,6 +133,7 @@ export * from "./table-engine.js";
|
|
|
133
133
|
import { DEFAULT_PAGINATION_LABELS, Pagination } from "./components/Pagination.js";
|
|
134
134
|
import { StatusPill } from "./components/StatusPill.js";
|
|
135
135
|
import { StatusDot } from "./components/StatusDot.js";
|
|
136
|
+
import { STATUS_ROLES, statusRoleOf } from "./usage-roles.js";
|
|
136
137
|
import { Progress } from "./components/Progress.js";
|
|
137
138
|
import { Meter } from "./components/Meter.js";
|
|
138
139
|
import { Stat, StatRow } from "./components/Stat.js";
|
|
@@ -542,6 +543,7 @@ export {
|
|
|
542
543
|
RowAction,
|
|
543
544
|
RowActions,
|
|
544
545
|
RuleBuilder,
|
|
546
|
+
STATUS_ROLES,
|
|
545
547
|
SaveStatus,
|
|
546
548
|
SavedViewMenu,
|
|
547
549
|
SchedulingCalendar,
|
|
@@ -735,6 +737,7 @@ export {
|
|
|
735
737
|
snapToStep,
|
|
736
738
|
splitDateTime,
|
|
737
739
|
startOfMonth,
|
|
740
|
+
statusRoleOf,
|
|
738
741
|
stepMetricValue,
|
|
739
742
|
stepTime,
|
|
740
743
|
studentTQuantile,
|
package/dist/motion.d.ts
CHANGED
|
@@ -7,5 +7,29 @@ declare function keyboardInitiated(): boolean;
|
|
|
7
7
|
declare function markKeyOpened(el: Element | null | undefined): void;
|
|
8
8
|
/** A time token (`--uix-dur-exit`) in milliseconds, read from `el` (default: the root), or `fallback`. */
|
|
9
9
|
declare function tokenMs(name: string, fallback: number, el?: Element | null): number;
|
|
10
|
+
/** A length token (`--uix-swap-blur`) in px, read from the root, or `fallback`. */
|
|
11
|
+
declare function tokenPx(name: string, fallback: number): number;
|
|
12
|
+
type Ease = (t: number) => number;
|
|
13
|
+
/** An easing token (`--uix-ease-out`, a `cubic-bezier()` or an evenly spaced `linear()`) as a function. */
|
|
14
|
+
declare function tokenEase(name: string): Ease;
|
|
15
|
+
/**
|
|
16
|
+
* A blur that clears as something arrives, or gathers as it leaves, driven frame by frame from
|
|
17
|
+
* script (2.60). Opacity and movement stay in CSS; only the radius runs here. Why script: Linux
|
|
18
|
+
* WebKit's renderer crashes on a CSS animation or transition of `filter` (measured: a @keyframes
|
|
19
|
+
* blur on list rows crashed it on the first or second open, in the page and in a popover), while a
|
|
20
|
+
* filter written each frame is safe there (40 rounds, no crash) — the way animate-ui animates its
|
|
21
|
+
* blurs. The kit's CSS never animates `filter` (check-motion rejects it).
|
|
22
|
+
*
|
|
23
|
+
* `from` is the radius in px at the start (`leave`: at the end); `delay(i)` staggers element `i`.
|
|
24
|
+
* Returns a cancel that clears the filters. Callers skip it under reduced motion and for keyboard opens.
|
|
25
|
+
*/
|
|
26
|
+
declare function blurIn(elements: readonly HTMLElement[], options: {
|
|
27
|
+
from: number;
|
|
28
|
+
duration: number;
|
|
29
|
+
ease: Ease;
|
|
30
|
+
delay?: (index: number) => number;
|
|
31
|
+
leave?: boolean;
|
|
32
|
+
property?: string;
|
|
33
|
+
}): () => void;
|
|
10
34
|
|
|
11
|
-
export { KEY_OPENED, keyboardInitiated, markKeyOpened, tokenMs, watchInputModality };
|
|
35
|
+
export { KEY_OPENED, blurIn, keyboardInitiated, markKeyOpened, tokenEase, tokenMs, tokenPx, watchInputModality };
|
package/dist/motion.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { prefersReducedMotion } from "./hooks/useReducedMotion.js";
|
|
1
2
|
const KEY_OPENED = "data-uix-key-opened";
|
|
2
3
|
let keyboard = false;
|
|
3
4
|
let watching = false;
|
|
@@ -26,10 +27,109 @@ function tokenMs(name, fallback, el) {
|
|
|
26
27
|
if (!m) return fallback;
|
|
27
28
|
return m[2] === "s" ? Number(m[1]) * 1e3 : Number(m[1]);
|
|
28
29
|
}
|
|
30
|
+
function tokenPx(name, fallback) {
|
|
31
|
+
if (typeof window === "undefined" || typeof document === "undefined") return fallback;
|
|
32
|
+
const raw = window.getComputedStyle(document.documentElement).getPropertyValue(name).trim();
|
|
33
|
+
const m = /^(-?\d*\.?\d+)px$/.exec(raw);
|
|
34
|
+
return m ? Number(m[1]) : fallback;
|
|
35
|
+
}
|
|
36
|
+
function bezier(x1, y1, x2, y2) {
|
|
37
|
+
const at = (a, b, t) => 3 * a * t * (1 - t) ** 2 + 3 * b * t * t * (1 - t) + t ** 3;
|
|
38
|
+
const slope = (a, b, t) => 3 * a * (1 - t) ** 2 + 6 * (b - a) * t * (1 - t) + 3 * (1 - b) * t * t;
|
|
39
|
+
return (x) => {
|
|
40
|
+
if (x <= 0) return 0;
|
|
41
|
+
if (x >= 1) return 1;
|
|
42
|
+
let t = x;
|
|
43
|
+
for (let i = 0; i < 6; i++) {
|
|
44
|
+
const d = slope(x1, x2, t);
|
|
45
|
+
if (Math.abs(d) < 1e-6) break;
|
|
46
|
+
t -= (at(x1, x2, t) - x) / d;
|
|
47
|
+
}
|
|
48
|
+
if (t < 0 || t > 1 || Math.abs(at(x1, x2, t) - x) > 1e-4) {
|
|
49
|
+
let lo = 0;
|
|
50
|
+
let hi = 1;
|
|
51
|
+
t = x;
|
|
52
|
+
for (let i = 0; i < 30; i++) {
|
|
53
|
+
if (at(x1, x2, t) < x) lo = t;
|
|
54
|
+
else hi = t;
|
|
55
|
+
t = (lo + hi) / 2;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return at(y1, y2, t);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function tokenEase(name) {
|
|
62
|
+
const fallback = bezier(0.23, 1, 0.32, 1);
|
|
63
|
+
if (typeof window === "undefined" || typeof document === "undefined") return fallback;
|
|
64
|
+
const raw = window.getComputedStyle(document.documentElement).getPropertyValue(name).trim();
|
|
65
|
+
const cb = /^cubic-bezier\(([^)]+)\)$/.exec(raw);
|
|
66
|
+
if (cb) {
|
|
67
|
+
const [a, b, c, d] = cb[1].split(",").map(Number);
|
|
68
|
+
if ([a, b, c, d].every(Number.isFinite)) return bezier(a, b, c, d);
|
|
69
|
+
}
|
|
70
|
+
const lin = /^linear\(([^)]+)\)$/.exec(raw);
|
|
71
|
+
if (lin) {
|
|
72
|
+
const pts = lin[1].split(",").map(Number);
|
|
73
|
+
if (pts.length > 1 && pts.every(Number.isFinite)) {
|
|
74
|
+
return (x) => {
|
|
75
|
+
if (x <= 0) return pts[0];
|
|
76
|
+
if (x >= 1) return pts[pts.length - 1];
|
|
77
|
+
const at = x * (pts.length - 1);
|
|
78
|
+
const i = Math.floor(at);
|
|
79
|
+
return pts[i] + (pts[i + 1] - pts[i]) * (at - i);
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return fallback;
|
|
84
|
+
}
|
|
85
|
+
function blurIn(elements, options) {
|
|
86
|
+
const els = elements.slice();
|
|
87
|
+
if (typeof window === "undefined" || els.length === 0 || options.from <= 0 || options.duration <= 0) return () => {
|
|
88
|
+
};
|
|
89
|
+
const { from, duration, ease, delay = () => 0, leave = false, property } = options;
|
|
90
|
+
const write = (el, r) => {
|
|
91
|
+
if (property) {
|
|
92
|
+
if (r > 0.05) el.style.setProperty(property, `${r.toFixed(2)}px`);
|
|
93
|
+
else el.style.removeProperty(property);
|
|
94
|
+
} else el.style.filter = r > 0.05 ? `blur(${r.toFixed(2)}px)` : "";
|
|
95
|
+
};
|
|
96
|
+
const paint = (el, p) => write(el, leave ? from * ease(p) : from * (1 - ease(p)));
|
|
97
|
+
els.forEach((el) => paint(el, 0));
|
|
98
|
+
const view = window;
|
|
99
|
+
const start = view.performance.now();
|
|
100
|
+
let frame = 0;
|
|
101
|
+
let stopped = false;
|
|
102
|
+
const tick = () => {
|
|
103
|
+
if (stopped) return;
|
|
104
|
+
if (prefersReducedMotion()) {
|
|
105
|
+
stopped = true;
|
|
106
|
+
els.forEach((el) => write(el, 0));
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
const now = view.performance.now();
|
|
110
|
+
let busy = false;
|
|
111
|
+
els.forEach((el, i) => {
|
|
112
|
+
const p = Math.min(1, Math.max(0, (now - start - delay(i)) / duration));
|
|
113
|
+
if (p < 1) busy = true;
|
|
114
|
+
paint(el, p);
|
|
115
|
+
});
|
|
116
|
+
if (busy) frame = view.requestAnimationFrame(tick);
|
|
117
|
+
else if (leave) els.forEach((el) => write(el, 0));
|
|
118
|
+
};
|
|
119
|
+
frame = view.requestAnimationFrame(tick);
|
|
120
|
+
return () => {
|
|
121
|
+
stopped = true;
|
|
122
|
+
view.cancelAnimationFrame(frame);
|
|
123
|
+
els.forEach((el) => write(el, 0));
|
|
124
|
+
};
|
|
125
|
+
}
|
|
29
126
|
export {
|
|
30
127
|
KEY_OPENED,
|
|
128
|
+
blurIn,
|
|
31
129
|
keyboardInitiated,
|
|
32
130
|
markKeyOpened,
|
|
131
|
+
tokenEase,
|
|
33
132
|
tokenMs,
|
|
133
|
+
tokenPx,
|
|
34
134
|
watchInputModality
|
|
35
135
|
};
|
package/dist/rich-text.cjs
CHANGED
|
@@ -1656,7 +1656,10 @@ function Popover({
|
|
|
1656
1656
|
watchInputModality();
|
|
1657
1657
|
const el = ref.current;
|
|
1658
1658
|
if (!el) return;
|
|
1659
|
-
const mark = () =>
|
|
1659
|
+
const mark = () => {
|
|
1660
|
+
if (el.hasAttribute("data-uix-animate-keys")) el.removeAttribute("data-uix-key-opened");
|
|
1661
|
+
else markKeyOpened(el);
|
|
1662
|
+
};
|
|
1660
1663
|
el.addEventListener("beforetoggle", mark);
|
|
1661
1664
|
return () => el.removeEventListener("beforetoggle", mark);
|
|
1662
1665
|
}, []);
|
|
@@ -19,6 +19,17 @@ interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
|
19
19
|
label?: string;
|
|
20
20
|
/** Stroke width in the 24-unit box. Default 2. */
|
|
21
21
|
strokeWidth?: number | string;
|
|
22
|
+
/**
|
|
23
|
+
* Let the icon answer its control (2.60, the kit's animated icons). On a pointer hover over the
|
|
24
|
+
* button, link, menu item or tab around it, an icon with a motion of its own plays it once: the
|
|
25
|
+
* arrow nudges forward, plus and close turn a quarter, the gear turns one tooth, refresh turns
|
|
26
|
+
* half, the bell tips, send lifts off, download and upload move their arrow, the bin lifts its lid,
|
|
27
|
+
* copy shifts its front sheet, the star pops. A check draws itself when it appears (a copied or
|
|
28
|
+
* saved state). Icons without a motion stay still. Off by default: keep it for occasional
|
|
29
|
+
* actions, never for rows people pass a hundred times a day. Keyboard focus and reduced motion
|
|
30
|
+
* never animate it.
|
|
31
|
+
*/
|
|
32
|
+
animate?: boolean;
|
|
22
33
|
}
|
|
23
34
|
/** An icon component, e.g. `ShieldCheckIcon`. Replaces Lucide's `LucideIcon` type. */
|
|
24
35
|
type UixIcon = ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PillTone } from './components/StatusPill.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The five status roles by meaning (HAR-2816, Foundations › Usage roles).
|
|
6
|
+
*
|
|
7
|
+
* - `neutral` — the default: facts, counts, lifecycle states and routine absences
|
|
8
|
+
* ("Inaktiv seit 92 Tagen", "Nicht anwendbar").
|
|
9
|
+
* - `info` — something to notice with no pressure to act: in flight, new, selected.
|
|
10
|
+
* - `success` — the one achieved outcome a person waits for ("Prüflauf bestanden").
|
|
11
|
+
* - `warning` — act soon: a deadline near, a value drifting ("Support endet in 42 Tagen").
|
|
12
|
+
* - `critical` — broken or breached now ("Support seit 12 Tagen überschritten"). Rare: a dot
|
|
13
|
+
* and words (`StatusDot`), at most one red surface per screen.
|
|
14
|
+
*
|
|
15
|
+
* Every role carries words; colour is never the only cue.
|
|
16
|
+
*/
|
|
17
|
+
type StatusRole = 'neutral' | 'info' | 'success' | 'warning' | 'critical';
|
|
18
|
+
/** The five status roles, quietest first. */
|
|
19
|
+
declare const STATUS_ROLES: readonly StatusRole[];
|
|
20
|
+
/**
|
|
21
|
+
* A `StatusPill` tone folded onto its status role, so a product that keeps the finer pill
|
|
22
|
+
* vocabulary (SLA, priority, time pressure) still lands on one of the five meanings, e.g. for a
|
|
23
|
+
* `StatusDot`. Anything that is not a failure, a deadline or an achieved outcome is `neutral`:
|
|
24
|
+
* `muted`, `sla-ok`, `p4` and `p5` included.
|
|
25
|
+
*/
|
|
26
|
+
declare function statusRoleOf(tone: PillTone | null | undefined): StatusRole;
|
|
27
|
+
|
|
28
|
+
export { STATUS_ROLES, type StatusRole, statusRoleOf };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const STATUS_ROLES = ["neutral", "info", "success", "warning", "critical"];
|
|
2
|
+
function statusRoleOf(tone) {
|
|
3
|
+
switch (tone) {
|
|
4
|
+
case "critical":
|
|
5
|
+
case "danger":
|
|
6
|
+
case "overdue":
|
|
7
|
+
case "sla-breached":
|
|
8
|
+
case "p1":
|
|
9
|
+
return "critical";
|
|
10
|
+
case "warning":
|
|
11
|
+
case "attention":
|
|
12
|
+
case "sla-at-risk":
|
|
13
|
+
case "p2":
|
|
14
|
+
case "p3":
|
|
15
|
+
return "warning";
|
|
16
|
+
case "info":
|
|
17
|
+
case "progress":
|
|
18
|
+
return "info";
|
|
19
|
+
case "success":
|
|
20
|
+
return "success";
|
|
21
|
+
default:
|
|
22
|
+
return "neutral";
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
STATUS_ROLES,
|
|
27
|
+
statusRoleOf
|
|
28
|
+
};
|