@tensor_1/react 2.30.0 → 2.31.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/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { RefObject, AnchorHTMLAttributes, ReactNode, ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, AriaAttributes, Ref, TextareaHTMLAttributes, SelectHTMLAttributes, MouseEvent, DetailsHTMLAttributes, TdHTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, LiHTMLAttributes, ReactElement } from 'react';
2
+ import { RefObject, AnchorHTMLAttributes, ReactNode, ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, AriaAttributes, Ref, TextareaHTMLAttributes, SelectHTMLAttributes, MouseEvent, DetailsHTMLAttributes, LiHTMLAttributes, TdHTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, ReactElement } from 'react';
3
3
  import { P as Placement } from './overlay-position-Cjv5E7mn.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-Cjv5E7mn.cjs';
5
5
 
@@ -822,6 +822,10 @@ interface SearchSuggestProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCha
822
822
  autoFocus?: boolean;
823
823
  /** Form field name of the input. */
824
824
  name?: string;
825
+ /** Id of the input itself (for a `<label for>` / `Field htmlFor`); `id` stays on the wrapper. */
826
+ inputId?: string;
827
+ /** `aria-describedby` of the input (hint and error text from a `Field`). */
828
+ inputDescribedBy?: string;
825
829
  }
826
830
  /**
827
831
  * A search field with a suggestion list underneath: the "search and jump" pattern of Windows
@@ -830,7 +834,58 @@ interface SearchSuggestProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCha
830
834
  * (`aria-activedescendant`), Enter opens it (the first row when none is active), Escape closes the
831
835
  * list and a second Escape clears the text.
832
836
  */
833
- declare function SearchSuggest({ value, onValueChange, options, onSelect, label, placeholder, highlight, heading, headingAction, footer, loading, loadingLabel, empty, error, shortcutHint, clearLabel: clearLabelProp, status, size, open: openProp, strategy, onOpenChange, inputRef, autoFocus, name, className, onBlur, ...props }: SearchSuggestProps): react.JSX.Element;
837
+ declare function SearchSuggest({ value, onValueChange, options, onSelect, label, placeholder, highlight, heading, headingAction, footer, loading, loadingLabel, empty, error, shortcutHint, clearLabel: clearLabelProp, status, size, open: openProp, strategy, onOpenChange, inputRef, autoFocus, name, inputId, inputDescribedBy, className, onBlur, ...props }: SearchSuggestProps): react.JSX.Element;
838
+
839
+ interface EntityPickerLabels {
840
+ /** Accessible name of the search field while picking. */
841
+ search: string;
842
+ loading: string;
843
+ empty: string;
844
+ error: string;
845
+ retry: string;
846
+ /** Clears the chosen record. `{title}`. */
847
+ clear: string;
848
+ /** Names the chosen-record button that reopens the search. `{label}`, `{title}`. */
849
+ change: string;
850
+ /** Shown in the field when nothing is chosen. */
851
+ none: string;
852
+ /** Polite count after a search. `{count}`. */
853
+ results: string;
854
+ }
855
+ declare const DEFAULT_ENTITY_PICKER_LABELS: EntityPickerLabels;
856
+ interface EntityPickerProps {
857
+ /** The chosen record, or null. */
858
+ value: SearchSuggestOption | null;
859
+ onValueChange: (next: SearchSuggestOption | null) => void;
860
+ /** Finds records for the query; a rejection shows the error state with a Retry row. */
861
+ onSearch: (query: string) => Promise<readonly SearchSuggestOption[]>;
862
+ /** The field's name (the visible label usually comes from a surrounding `Field`). */
863
+ label: string;
864
+ /** Id of the control, for `Field htmlFor`/`label for`. */
865
+ id?: string;
866
+ /** Hidden form value: the chosen record's id. */
867
+ name?: string;
868
+ placeholder?: string;
869
+ /** Search only from this many characters. Default 0 (an empty query lists suggestions). */
870
+ minQueryLength?: number;
871
+ /** Debounce before searching, in ms. Default 250. */
872
+ delay?: number;
873
+ disabled?: boolean;
874
+ invalid?: boolean;
875
+ /** Ids of hint/error text (from `Field`). */
876
+ 'aria-describedby'?: string;
877
+ /** How the chosen record shows in the field. Default: title, then the last breadcrumb. */
878
+ renderValue?: (option: SearchSuggestOption) => ReactNode;
879
+ labels?: Partial<EntityPickerLabels>;
880
+ className?: string;
881
+ }
882
+ /**
883
+ * A form field that holds one record found by an async search (HAR-1366; TENSOR B28/C5
884
+ * `entity-picker.tsx`, MOTUS B-P10): the chosen record shows as the field's value with a
885
+ * clear ×; choosing again or typing opens a `SearchSuggest` list with loading, empty and error
886
+ * states, and Retry is a list row, so the keyboard reaches it. Stale results are ignored.
887
+ */
888
+ declare function EntityPicker({ value, onValueChange, onSearch, label, id, name, placeholder, minQueryLength, delay, disabled, invalid, 'aria-describedby': describedBy, renderValue, labels: labelOverrides, className, }: EntityPickerProps): react.JSX.Element;
834
889
 
835
890
  /** One run of a result's text, emphasised or not. */
836
891
  interface SearchSegment {
@@ -1037,6 +1092,47 @@ interface PeekProps extends Omit<HTMLAttributes<HTMLDialogElement>, 'title'> {
1037
1092
  }
1038
1093
  declare function Peek({ open, onClose, title, children, footer, onNavPrev, onNavNext, hint, previousLabel: previousLabelProp, nextLabel: nextLabelProp, closeLabel: closeLabelProp, className, onClick, ...rest }: PeekProps): react.JSX.Element;
1039
1094
 
1095
+ interface LightboxItem {
1096
+ src: string;
1097
+ /** Alternative text for an image; the video's name for a video. */
1098
+ alt: string;
1099
+ caption?: ReactNode;
1100
+ kind?: 'image' | 'video';
1101
+ /** Intrinsic size, so an SVG or a slow image keeps its box. */
1102
+ width?: number;
1103
+ height?: number;
1104
+ }
1105
+ interface LightboxLabels {
1106
+ region: string;
1107
+ previous: string;
1108
+ next: string;
1109
+ close: string;
1110
+ /** `{index}`, `{total}`. */
1111
+ counter: string;
1112
+ zoomIn: string;
1113
+ zoomOut: string;
1114
+ }
1115
+ declare const DEFAULT_LIGHTBOX_LABELS: LightboxLabels;
1116
+ interface LightboxProps {
1117
+ items: readonly LightboxItem[];
1118
+ /** The item on show (0-based). */
1119
+ index: number;
1120
+ onIndexChange: (index: number) => void;
1121
+ open: boolean;
1122
+ onClose: () => void;
1123
+ /** Wrap from the last item to the first. Default false. */
1124
+ loop?: boolean;
1125
+ labels?: Partial<LightboxLabels>;
1126
+ className?: string;
1127
+ }
1128
+ /**
1129
+ * A full-screen media viewer over `.uix-lightbox` (HAR-1367; TENSOR C12 `capture-viewer.tsx`,
1130
+ * MOTUS C-8 programme gallery): previous/next buttons, ←/→ and Home/End, swipe on touch, an
1131
+ * announced "n of total" counter, a caption, and a fit/actual-size toggle. Native `<dialog>`,
1132
+ * so focus stays inside and Escape closes; focus returns to the control that opened it.
1133
+ */
1134
+ declare function Lightbox({ items, index, onIndexChange, open, onClose, loop, labels: labelOverrides, className }: LightboxProps): react.JSX.Element;
1135
+
1040
1136
  interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
1041
1137
  title?: ReactNode;
1042
1138
  /** Element for the title — pick a real heading to slot the card into the page outline (UIX-A11Y-4). Default `div` keeps legacy rendering. */
@@ -1500,6 +1596,174 @@ interface NavFavouritesProps {
1500
1596
  */
1501
1597
  declare function NavFavourites({ items, collapsed, onToggleCollapsed, onRemove, onReorder, labels, emptyReason, className, }: NavFavouritesProps): react.JSX.Element;
1502
1598
 
1599
+ /** File helpers shared by `FileUpload` and `Attachment` (HAR-984/985). Pure. */
1600
+ /** "1.2 MB", "340 KB", "12 B" in the locale's number format (base 1000, like file managers). */
1601
+ declare function formatFileSize(bytes: number, locale?: string): string;
1602
+ /** Whether a file matches an `accept` list (".pdf,image/*,application/zip"). An empty list accepts all. */
1603
+ declare function fileMatchesAccept(file: {
1604
+ name: string;
1605
+ type?: string;
1606
+ }, accept?: string): boolean;
1607
+ type FileRejectionReason = 'type' | 'size' | 'count';
1608
+ interface FileRejection<F = File> {
1609
+ file: F;
1610
+ reason: FileRejectionReason;
1611
+ }
1612
+ /**
1613
+ * Splits picked files into accepted and rejected (wrong type, over `maxSize` bytes, or beyond
1614
+ * `maxFiles` counting the `existing` ones). Order is kept.
1615
+ */
1616
+ declare function partitionFiles<F extends {
1617
+ name: string;
1618
+ type?: string;
1619
+ size: number;
1620
+ }>(files: readonly F[], { accept, maxSize, maxFiles, existing }: {
1621
+ accept?: string;
1622
+ maxSize?: number;
1623
+ maxFiles?: number;
1624
+ existing?: number;
1625
+ }): {
1626
+ accepted: F[];
1627
+ rejected: FileRejection<F>[];
1628
+ };
1629
+ /** A coarse kind for a file icon. */
1630
+ declare function fileKind(file: {
1631
+ name: string;
1632
+ type?: string;
1633
+ }): 'image' | 'video' | 'pdf' | 'sheet' | 'archive' | 'text' | 'other';
1634
+
1635
+ type FileUploadStatus = 'queued' | 'uploading' | 'done' | 'error';
1636
+ interface FileUploadItem {
1637
+ id: string;
1638
+ name: string;
1639
+ /** Bytes. */
1640
+ size: number;
1641
+ type?: string;
1642
+ status: FileUploadStatus;
1643
+ /** 0–100 while uploading; without it the bar is indeterminate. */
1644
+ progress?: number;
1645
+ /** Why it failed (shown under the name with a Retry button). */
1646
+ error?: ReactNode;
1647
+ /** An object URL or remote URL for an image thumbnail. */
1648
+ previewUrl?: string;
1649
+ /** Alternative text, when the product asks for it (`onAltChange`). */
1650
+ alt?: string;
1651
+ }
1652
+ interface FileUploadLabels {
1653
+ /** Main line of the drop zone. */
1654
+ title: string;
1655
+ choose: string;
1656
+ /** Shown while a file is dragged over. */
1657
+ drop: string;
1658
+ list: string;
1659
+ remove: string;
1660
+ /** Accessible name of Retry. `{name}`. */
1661
+ retry: string;
1662
+ /** Visible text of Retry. */
1663
+ retryShort: string;
1664
+ queued: string;
1665
+ /** `{progress}`. */
1666
+ uploading: string;
1667
+ done: string;
1668
+ failed: string;
1669
+ /** `{name}` — set `alt` for images. */
1670
+ alt: string;
1671
+ /** `{count}` files added. */
1672
+ added: string;
1673
+ /** `{name}`, `{accept}`. */
1674
+ wrongType: string;
1675
+ /** `{name}`, `{max}`. */
1676
+ tooLarge: string;
1677
+ /** `{name}`, `{max}`. */
1678
+ tooMany: string;
1679
+ }
1680
+ declare const DEFAULT_FILE_UPLOAD_LABELS: FileUploadLabels;
1681
+ interface FileUploadProps {
1682
+ /** The files so far, with their upload state (controlled). */
1683
+ items: readonly FileUploadItem[];
1684
+ /**
1685
+ * Called with the files that passed `accept`, `maxSize` and `maxFiles`, and the ones that did
1686
+ * not. Add accepted files to `items` and upload them; the component never uploads.
1687
+ */
1688
+ onFilesAdded: (accepted: File[], rejected: FileRejection[]) => void;
1689
+ onRemove?: (id: string) => void;
1690
+ onRetry?: (id: string) => void;
1691
+ /** Ask for alt text on image items (MOTUS photo intake). */
1692
+ onAltChange?: (id: string, alt: string) => void;
1693
+ /** Accepted types, as for `<input accept>`. */
1694
+ accept?: string;
1695
+ /** Largest file in bytes. */
1696
+ maxSize?: number;
1697
+ /** Most files in `items`. */
1698
+ maxFiles?: number;
1699
+ /** Default true. */
1700
+ multiple?: boolean;
1701
+ /** Open the camera on phones (`user` or `environment`). */
1702
+ capture?: 'user' | 'environment';
1703
+ disabled?: boolean;
1704
+ /** Second line of the drop zone, e.g. "PDF or images, up to 20 MB". */
1705
+ hint?: ReactNode;
1706
+ locale?: string;
1707
+ labels?: Partial<FileUploadLabels>;
1708
+ className?: string;
1709
+ }
1710
+ /**
1711
+ * Drop zone, file picker and upload list (HAR-984; TENSOR C15, MOTUS C-7, MEDx S18/S19). The
1712
+ * product owns the upload: it receives validated `File`s and reports progress, success and
1713
+ * failure through `items`. Keyboard users get a real button; drop is an extra, not the only way.
1714
+ */
1715
+ declare function FileUpload({ items, onFilesAdded, onRemove, onRetry, onAltChange, accept, maxSize, maxFiles, multiple, capture, disabled, hint, locale, labels: labelOverrides, className, }: FileUploadProps): react.JSX.Element;
1716
+
1717
+ interface AttachmentLabels {
1718
+ /** Remove button. `{name}`. */
1719
+ remove: string;
1720
+ /** Download link name when `download` is set. `{name}`. */
1721
+ download: string;
1722
+ loading: string;
1723
+ forbidden: string;
1724
+ }
1725
+ declare const DEFAULT_ATTACHMENT_LABELS: AttachmentLabels;
1726
+ interface AttachmentProps extends Omit<LiHTMLAttributes<HTMLLIElement>, 'children'> {
1727
+ /** File name as the user should read it (decrypted, if the product stores it encrypted). */
1728
+ name: string;
1729
+ /** Bytes. */
1730
+ size?: number;
1731
+ /** MIME type, for the file glyph. */
1732
+ type?: string;
1733
+ /** Opens or downloads the file. The name becomes the link. */
1734
+ href?: string;
1735
+ /** Download instead of opening; a string sets the saved file name. */
1736
+ download?: boolean | string;
1737
+ renderLink?: UixRenderLink;
1738
+ /** A quieter line: who added it and when. */
1739
+ meta?: ReactNode;
1740
+ /** A state slot after the name, e.g. `<StatusPill tone="warning">Scanning</StatusPill>`. */
1741
+ state?: ReactNode;
1742
+ /** Replaces the file glyph (e.g. an image thumbnail). */
1743
+ thumbnail?: ReactNode;
1744
+ /** Adds a remove button; confirm destructive removals in the handler (`ConfirmDialog`/`Popconfirm`). */
1745
+ onRemove?: () => void;
1746
+ /** `loading` (no link yet), `error` (shows `error`), `forbidden` (no link, a reason). */
1747
+ status?: 'ready' | 'loading' | 'error' | 'forbidden';
1748
+ error?: ReactNode;
1749
+ /** Extra actions at the end of the row. */
1750
+ actions?: ReactNode;
1751
+ locale?: string;
1752
+ labels?: Partial<AttachmentLabels>;
1753
+ }
1754
+ /**
1755
+ * One file row (HAR-985; TENSOR C15/B12 `attachments-panel-view.tsx`, MEDx S19/S52): glyph or
1756
+ * thumbnail, the name as a link, size and meta, a state slot, and remove. Server-renderable.
1757
+ */
1758
+ declare function Attachment({ name, size, type, href, download, renderLink, meta, state, thumbnail, onRemove, status, error, actions, locale, labels: labelOverrides, className, ...props }: AttachmentProps): react.JSX.Element;
1759
+ interface AttachmentListProps extends HTMLAttributes<HTMLUListElement> {
1760
+ /** Names the list, e.g. "Attachments (3)". */
1761
+ label?: string;
1762
+ children?: ReactNode;
1763
+ }
1764
+ /** A list of `Attachment` rows. */
1765
+ declare function AttachmentList({ label, className, children, ...props }: AttachmentListProps): react.JSX.Element;
1766
+
1503
1767
  type AlertTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
1504
1768
  interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
1505
1769
  tone?: AlertTone;
@@ -2356,6 +2620,140 @@ type SavedViewMenuProps = SavedViewMenuBaseProps & ({
2356
2620
  */
2357
2621
  declare function SavedViewMenu({ items, sections, onSelect, onPinChange, pinLabel, unpinLabel, onReorder, reorderLabel, emptyLabel, actions, footer }: SavedViewMenuProps): react.JSX.Element;
2358
2622
 
2623
+ /**
2624
+ * Typed column filters for `FilterEditor` (HAR-1365; TENSOR C6 `table-filter-editor.tsx`,
2625
+ * MOTUS C-1 "+ filter"). The value is data the product serializes into its own query; the
2626
+ * summary feeds a `Chip`. Pure, so a server can summarize a saved view too.
2627
+ */
2628
+ interface FilterChoice {
2629
+ value: string;
2630
+ label: string;
2631
+ }
2632
+ type TextFilterOperator = 'contains' | 'not-contains' | 'is' | 'is-not' | 'starts-with';
2633
+ type NumberFilterOperator = 'eq' | 'neq' | 'lt' | 'lte' | 'gt' | 'gte' | 'between';
2634
+ type FilterValue = {
2635
+ kind: 'enum';
2636
+ values: string[];
2637
+ } | {
2638
+ kind: 'text';
2639
+ operator: TextFilterOperator;
2640
+ text: string;
2641
+ } | {
2642
+ kind: 'number';
2643
+ operator: NumberFilterOperator;
2644
+ value?: number;
2645
+ to?: number;
2646
+ } | {
2647
+ kind: 'date-range';
2648
+ from?: string;
2649
+ to?: string;
2650
+ } | {
2651
+ kind: 'boolean';
2652
+ value?: boolean;
2653
+ } | {
2654
+ kind: 'reference';
2655
+ values: FilterChoice[];
2656
+ };
2657
+ type FilterValueKind = FilterValue['kind'];
2658
+ interface FilterField {
2659
+ id: string;
2660
+ /** Column name, also the start of the chip summary. */
2661
+ label: string;
2662
+ kind: FilterValueKind;
2663
+ /** `enum`: the choices. */
2664
+ options?: readonly FilterChoice[];
2665
+ /** `reference`: finds records to pick; rejected promises show the error state. */
2666
+ onSearch?: (query: string) => Promise<readonly FilterChoice[]>;
2667
+ /** `text` / `number`: the operators offered, in order. Default: all of the kind. */
2668
+ operators?: readonly (TextFilterOperator | NumberFilterOperator)[];
2669
+ /** `number`: a unit shown after the value, e.g. "days". */
2670
+ unit?: string;
2671
+ /** `boolean`: words for true and false, e.g. Escalated / Not escalated. Default from labels. */
2672
+ trueLabel?: string;
2673
+ falseLabel?: string;
2674
+ }
2675
+ interface FilterSummaryLabels {
2676
+ operators: Record<TextFilterOperator | NumberFilterOperator, string>;
2677
+ yes: string;
2678
+ no: string;
2679
+ /** `{from}`, `{to}`; also used for a number range. */
2680
+ range: string;
2681
+ /** Only a start date. `{from}`. */
2682
+ from: string;
2683
+ /** Only an end date. `{to}`. */
2684
+ until: string;
2685
+ /** More than `maxListed` values: `{first}`, `{count}`. */
2686
+ more: string;
2687
+ }
2688
+ declare const DEFAULT_FILTER_SUMMARY_LABELS: FilterSummaryLabels;
2689
+ declare const TEXT_FILTER_OPERATORS: readonly TextFilterOperator[];
2690
+ declare const NUMBER_FILTER_OPERATORS: readonly NumberFilterOperator[];
2691
+ /** The empty value for a field kind (what Clear resets to). */
2692
+ declare function emptyFilterValue(kind: FilterValueKind): FilterValue;
2693
+ /** True when the value filters nothing (so the chip goes away). */
2694
+ declare function isFilterEmpty(value: FilterValue | undefined): boolean;
2695
+ interface SummarizeFilterOptions {
2696
+ labels?: Partial<FilterSummaryLabels>;
2697
+ /** Formats a `YYYY-MM-DD` date (a product format such as DD.MM.YYYY). Default: as given. */
2698
+ formatDate?: (date: string) => string;
2699
+ /** Formats a number. Default: `String`. */
2700
+ formatNumber?: (value: number) => string;
2701
+ /** List this many values before "+N". Default 2. */
2702
+ maxListed?: number;
2703
+ }
2704
+ /**
2705
+ * One line for the filter chip, e.g. "State: Open, Pending", "Priority ≥ 2", "Created:
2706
+ * 01.10.2026 – 05.10.2026", "Escalated: Yes". Empty values give an empty string.
2707
+ */
2708
+ declare function summarizeFilter(field: FilterField, value: FilterValue | undefined, options?: SummarizeFilterOptions): string;
2709
+
2710
+ interface FilterEditorLabels {
2711
+ apply: string;
2712
+ clear: string;
2713
+ operator: string;
2714
+ value: string;
2715
+ from: string;
2716
+ to: string;
2717
+ /** Between two numbers: "and". */
2718
+ and: string;
2719
+ any: string;
2720
+ yes: string;
2721
+ no: string;
2722
+ search: string;
2723
+ searching: string;
2724
+ noMatches: string;
2725
+ searchFailed: string;
2726
+ retry: string;
2727
+ selectAll: string;
2728
+ selectNone: string;
2729
+ /** `{count}` chosen. */
2730
+ selected: string;
2731
+ /** Remove one chosen record. `{label}`. */
2732
+ remove: string;
2733
+ operators: Record<TextFilterOperator | NumberFilterOperator, string>;
2734
+ }
2735
+ declare const DEFAULT_FILTER_EDITOR_LABELS: FilterEditorLabels;
2736
+ interface FilterEditorProps {
2737
+ field: FilterField;
2738
+ /** Undefined means "not filtered yet". */
2739
+ value: FilterValue | undefined;
2740
+ onValueChange: (value: FilterValue) => void;
2741
+ onApply: () => void;
2742
+ onClear: () => void;
2743
+ labels?: Partial<FilterEditorLabels>;
2744
+ /** Show an option filter above an enum list once it has more options than this. Default 8. */
2745
+ searchThreshold?: number;
2746
+ /** Delay before a reference search runs, in ms. Default 250. */
2747
+ searchDelay?: number;
2748
+ }
2749
+ /**
2750
+ * Editor content for one typed column filter (HAR-1365; TENSOR C6, MOTUS C-1): an enum
2751
+ * multi-select, text or number with a condition, a date range, yes/no, or records found by
2752
+ * an async search. The product owns the popover trigger and the query; `summarizeFilter`
2753
+ * turns the applied value into the chip text. `FilterPopover` stays for the one-string case.
2754
+ */
2755
+ declare function FilterEditor({ field, value: valueProp, onValueChange, onApply, onClear, labels: labelOverrides, searchThreshold, searchDelay }: FilterEditorProps): react.JSX.Element;
2756
+
2359
2757
  interface TimelineProps extends HTMLAttributes<HTMLOListElement> {
2360
2758
  children?: ReactNode;
2361
2759
  }
@@ -3645,4 +4043,4 @@ declare function hsvToHex(value: HsvColor): string;
3645
4043
  declare function contrastRatio(background: string, foreground: string): number | undefined;
3646
4044
  declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
3647
4045
 
3648
- export { type AccessStateProps, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Avatar, AvatarGroup, type AvatarGroupProps, 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, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, ConfirmDialog, type ConfirmDialogProps, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, CopyButton, type CopyButtonProps, DAY, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_STEP_STATE_LABELS, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, type DiffEntry, type DiffKind, type DiffResolution, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, Input, InputGroup, type InputGroupProps, type InputProps, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, Label, type LabelProps, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, LicensePositionBar, type LicensePositionBarProps, List, ListItem, type ListItemProps, type ListProps, 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 MenuItemProps, type MenuProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, 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, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, Peek, type PeekProps, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, type Primitive, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, Radio, 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 RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleValidationIssue, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, SchedulingCalendar, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingOverlayKind, SchedulingTimeline, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, 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, Switch, type SwitchProps, TOAST_LEAVE_MS, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, Td, type TdProps, Textarea, type TextareaProps, Th, type ThProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, 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 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, addCalendarDays, addCalendarMonths, appendRuleNode, applyBrandProfile, applyFilters, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, contrastRatio, createToastApi, createToastStore, cx, defaultTimelineStep, enumerateDateSpan, filterComboboxOptions, findRuleNodeDepth, flattenTree, foldForSearch, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isRuleGroup, layeredNeighbor, layoutLane, layoutLayeredGraph, layoutRelationshipGraph, mapRuleGroup, matchFilter, meetsContrast, mergePinned, moveRuleNode, multiSort, nextSortDir, normalizeHex, parseDateValue, parseMetricValue, parseView, pixelsToMs, placeSpan, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, searchRows, searchSegments, selectAllState, selectRangeDate, serializeView, shiftSpan, shouldVirtualize, snapToStep, startOfMonth, stepMetricValue, summarizeDiff, summarizeRule, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useUixLabels, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan };
4046
+ 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 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, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, ConfirmDialog, type ConfirmDialogProps, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, CopyButton, type CopyButtonProps, DAY, DEFAULT_ATTACHMENT_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_STEP_STATE_LABELS, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, type DiffEntry, type DiffKind, type DiffResolution, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, 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, 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 FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, Input, InputGroup, type InputGroupProps, type InputProps, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, Label, type LabelProps, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, 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 MenuItemProps, type MenuProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, 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, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, Peek, type PeekProps, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, type Primitive, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, Radio, 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 RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleValidationIssue, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, SchedulingCalendar, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingOverlayKind, SchedulingTimeline, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, 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, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, Td, type TdProps, type TextFilterOperator, Textarea, type TextareaProps, Th, type ThProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, 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 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, addCalendarDays, addCalendarMonths, appendRuleNode, applyBrandProfile, applyFilters, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, contrastRatio, createToastApi, createToastStore, cx, defaultTimelineStep, emptyFilterValue, enumerateDateSpan, fileKind, fileMatchesAccept, filterComboboxOptions, findRuleNodeDepth, flattenTree, foldForSearch, formatFileSize, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isRuleGroup, layeredNeighbor, layoutLane, layoutLayeredGraph, layoutRelationshipGraph, mapRuleGroup, matchFilter, meetsContrast, mergePinned, moveRuleNode, multiSort, nextSortDir, normalizeHex, parseDateValue, parseMetricValue, parseView, partitionFiles, pixelsToMs, placeSpan, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, searchRows, searchSegments, selectAllState, selectRangeDate, serializeView, shiftSpan, shouldVirtualize, snapToStep, startOfMonth, stepMetricValue, summarizeDiff, summarizeFilter, summarizeRule, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useUixLabels, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan };
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export { Input, InputGroup, InputGroupProps, InputProps } from './components/Inp
11
11
  export { Combobox, ComboboxProps } from './components/Combobox.js';
12
12
  export { ComboboxOption, filterComboboxOptions } from './combobox-model.js';
13
13
  export { SearchSuggest, SearchSuggestAction, SearchSuggestOption, SearchSuggestProps } from './components/SearchSuggest.js';
14
+ export { DEFAULT_ENTITY_PICKER_LABELS, EntityPicker, EntityPickerLabels, EntityPickerProps } from './components/EntityPicker.js';
14
15
  export { FoldedText, SearchSegment, foldForSearch, searchSegments } from './search-suggest-model.js';
15
16
  export { Textarea, TextareaProps } from './components/Textarea.js';
16
17
  export { Select, SelectProps } from './components/Select.js';
@@ -22,6 +23,7 @@ export { Modal, ModalProps } from './components/Modal.js';
22
23
  export { ConfirmDialog, ConfirmDialogProps, Popconfirm, PopconfirmProps, PromptDialog, PromptDialogProps } from './components/Dialogs.js';
23
24
  export { Drawer, DrawerProps } from './components/Drawer.js';
24
25
  export { Peek, PeekProps } from './components/Peek.js';
26
+ export { DEFAULT_LIGHTBOX_LABELS, Lightbox, LightboxItem, LightboxLabels, LightboxProps } from './components/Lightbox.js';
25
27
  export { Card, CardLink, CardLinkProps, CardProps } from './components/Card.js';
26
28
  export { BreadcrumbItem, Breadcrumbs, BreadcrumbsProps } from './components/Breadcrumbs.js';
27
29
  export { PageHeader, PageHeaderProps } from './components/PageHeader.js';
@@ -38,6 +40,9 @@ export { NavGroup, NavGroupProps, NavItem, NavItemProps, Sidebar, SidebarProps,
38
40
  export { StarButton, StarButtonProps } from './components/StarButton.js';
39
41
  export { CopyButton, CopyButtonProps } from './components/CopyButton.js';
40
42
  export { NavFavouriteItem, NavFavourites, NavFavouritesLabels, NavFavouritesProps } from './components/NavFavourites.js';
43
+ export { DEFAULT_FILE_UPLOAD_LABELS, FileUpload, FileUploadItem, FileUploadLabels, FileUploadProps, FileUploadStatus } from './components/FileUpload.js';
44
+ export { Attachment, AttachmentLabels, AttachmentList, AttachmentListProps, AttachmentProps, DEFAULT_ATTACHMENT_LABELS } from './components/Attachment.js';
45
+ export { FileRejection, FileRejectionReason, fileKind, fileMatchesAccept, formatFileSize, partitionFiles } from './file-model.js';
41
46
  export { Alert, AlertProps, AlertTone } from './components/Alert.js';
42
47
  export { Spinner, SpinnerProps } from './components/Spinner.js';
43
48
  export { Toast, ToastProps, ToastTone, Toaster, ToasterProps } from './components/Toast.js';
@@ -65,6 +70,8 @@ export { DEFAULT_SAVE_STATUS_LABELS, SaveStatus, SaveStatusLabels, SaveStatusPro
65
70
  export { Composer, ComposerBar, ComposerBarProps, ComposerProps } from './components/Composer.js';
66
71
  export { Segmented, SegmentedOption, SegmentedOptionProps, SegmentedProps } from './components/Segmented.js';
67
72
  export { FilterOption, FilterPopover, FilterPopoverProps, SavedViewItem, SavedViewMenu, SavedViewMenuProps, SavedViewSection, ViewMenu, ViewMenuColumn, ViewMenuColumnLabels, ViewMenuProps } from './components/TableControls.js';
73
+ export { DEFAULT_FILTER_EDITOR_LABELS, FilterEditor, FilterEditorLabels, FilterEditorProps } from './components/FilterEditor.js';
74
+ export { DEFAULT_FILTER_SUMMARY_LABELS, FilterChoice, FilterField, FilterSummaryLabels, FilterValue, FilterValueKind, NUMBER_FILTER_OPERATORS, NumberFilterOperator, SummarizeFilterOptions, TEXT_FILTER_OPERATORS, TextFilterOperator, emptyFilterValue, isFilterEmpty, summarizeFilter } from './filter-model.js';
68
75
  export { Timeline, TimelineItem, TimelineItemProps, TimelineProps } from './components/Timeline.js';
69
76
  export { Pipeline, PipelineProps, PipelineStage, PipelineStageProps, PipelineStageState } from './components/Pipeline.js';
70
77
  export { Flow, FlowNode, FlowNodeProps, FlowNodeState, FlowProps, FlowVariant } from './components/Flow.js';
package/dist/index.js CHANGED
@@ -11,6 +11,7 @@ import { Input, InputGroup } from "./components/Input.js";
11
11
  import { Combobox } from "./components/Combobox.js";
12
12
  import { filterComboboxOptions } from "./combobox-model.js";
13
13
  import { SearchSuggest } from "./components/SearchSuggest.js";
14
+ import { EntityPicker, DEFAULT_ENTITY_PICKER_LABELS } from "./components/EntityPicker.js";
14
15
  import { searchSegments, foldForSearch } from "./search-suggest-model.js";
15
16
  import { Textarea } from "./components/Textarea.js";
16
17
  import { Select } from "./components/Select.js";
@@ -22,6 +23,7 @@ import { Modal } from "./components/Modal.js";
22
23
  import { ConfirmDialog, Popconfirm, PromptDialog } from "./components/Dialogs.js";
23
24
  import { Drawer } from "./components/Drawer.js";
24
25
  import { Peek } from "./components/Peek.js";
26
+ import { Lightbox, DEFAULT_LIGHTBOX_LABELS } from "./components/Lightbox.js";
25
27
  import { Card, CardLink } from "./components/Card.js";
26
28
  import { Breadcrumbs } from "./components/Breadcrumbs.js";
27
29
  import { PageHeader } from "./components/PageHeader.js";
@@ -38,6 +40,9 @@ import { Sidebar, SidebarSection, NavItem, NavGroup, SubNavItem } from "./compon
38
40
  import { StarButton } from "./components/StarButton.js";
39
41
  import { CopyButton } from "./components/CopyButton.js";
40
42
  import { NavFavourites } from "./components/NavFavourites.js";
43
+ import { FileUpload, DEFAULT_FILE_UPLOAD_LABELS } from "./components/FileUpload.js";
44
+ import { Attachment, AttachmentList, DEFAULT_ATTACHMENT_LABELS } from "./components/Attachment.js";
45
+ import { fileKind, fileMatchesAccept, formatFileSize, partitionFiles } from "./file-model.js";
41
46
  import { Alert } from "./components/Alert.js";
42
47
  import { Spinner } from "./components/Spinner.js";
43
48
  import { Toast, Toaster } from "./components/Toast.js";
@@ -79,6 +84,15 @@ import { SaveStatus, DEFAULT_SAVE_STATUS_LABELS } from "./components/SaveStatus.
79
84
  import { Composer, ComposerBar } from "./components/Composer.js";
80
85
  import { Segmented, SegmentedOption } from "./components/Segmented.js";
81
86
  import { ViewMenu, FilterPopover, SavedViewMenu } from "./components/TableControls.js";
87
+ import { FilterEditor, DEFAULT_FILTER_EDITOR_LABELS } from "./components/FilterEditor.js";
88
+ import {
89
+ DEFAULT_FILTER_SUMMARY_LABELS,
90
+ NUMBER_FILTER_OPERATORS,
91
+ TEXT_FILTER_OPERATORS,
92
+ emptyFilterValue,
93
+ isFilterEmpty,
94
+ summarizeFilter
95
+ } from "./filter-model.js";
82
96
  import { Timeline, TimelineItem } from "./components/Timeline.js";
83
97
  import { Pipeline, PipelineStage } from "./components/Pipeline.js";
84
98
  import { Flow, FlowNode } from "./components/Flow.js";
@@ -160,6 +174,8 @@ export {
160
174
  Alert,
161
175
  AppShell,
162
176
  AsyncOperationStatus,
177
+ Attachment,
178
+ AttachmentList,
163
179
  Avatar,
164
180
  AvatarGroup,
165
181
  BrandProfileEditor,
@@ -192,11 +208,17 @@ export {
192
208
  ContentListItem,
193
209
  CopyButton,
194
210
  DAY,
211
+ DEFAULT_ATTACHMENT_LABELS,
195
212
  DEFAULT_BRAND_PROFILE_EDITOR_LABELS,
196
213
  DEFAULT_BUILDER_CANVAS_LABELS,
197
214
  DEFAULT_COLOR_PICKER_LABELS,
198
215
  DEFAULT_DATE_RANGE_PICKER_LABELS,
199
216
  DEFAULT_DIFF_VIEWER_LABELS,
217
+ DEFAULT_ENTITY_PICKER_LABELS,
218
+ DEFAULT_FILE_UPLOAD_LABELS,
219
+ DEFAULT_FILTER_EDITOR_LABELS,
220
+ DEFAULT_FILTER_SUMMARY_LABELS,
221
+ DEFAULT_LIGHTBOX_LABELS,
200
222
  DEFAULT_MATCH_REVIEW_LABELS,
201
223
  DEFAULT_PAGINATION_LABELS,
202
224
  DEFAULT_RELATIONSHIP_GRAPH_LABELS,
@@ -213,6 +235,7 @@ export {
213
235
  DiffViewer,
214
236
  Drawer,
215
237
  EmptyState,
238
+ EntityPicker,
216
239
  ErrorState,
217
240
  EventRow,
218
241
  ExpandToggle,
@@ -220,6 +243,8 @@ export {
220
243
  FeaturedRundownItem,
221
244
  FeaturedStage,
222
245
  Field,
246
+ FileUpload,
247
+ FilterEditor,
223
248
  FilterPopover,
224
249
  FilteredEmptyState,
225
250
  Flow,
@@ -241,6 +266,7 @@ export {
241
266
  KbdCombo,
242
267
  Label,
243
268
  LicensePositionBar,
269
+ Lightbox,
244
270
  List,
245
271
  ListItem,
246
272
  LoadingState,
@@ -253,6 +279,7 @@ export {
253
279
  Meter,
254
280
  MetricInput,
255
281
  Modal,
282
+ NUMBER_FILTER_OPERATORS,
256
283
  NavFavourites,
257
284
  NavGroup,
258
285
  NavItem,
@@ -302,6 +329,7 @@ export {
302
329
  Steps,
303
330
  SubNavItem,
304
331
  Switch,
332
+ TEXT_FILTER_OPERATORS,
305
333
  TOAST_LEAVE_MS,
306
334
  Tab,
307
335
  TabPanel,
@@ -338,16 +366,21 @@ export {
338
366
  createToastStore,
339
367
  cx,
340
368
  defaultTimelineStep,
369
+ emptyFilterValue,
341
370
  enumerateDateSpan,
371
+ fileKind,
372
+ fileMatchesAccept,
342
373
  filterComboboxOptions,
343
374
  findRuleNodeDepth,
344
375
  flattenTree,
345
376
  foldForSearch,
377
+ formatFileSize,
346
378
  hexToRgb,
347
379
  hsvToHex,
348
380
  hsvToRgb,
349
381
  isDateInRange,
350
382
  isDateUnavailable,
383
+ isFilterEmpty,
351
384
  isRuleGroup,
352
385
  layeredNeighbor,
353
386
  layoutLane,
@@ -359,6 +392,7 @@ export {
359
392
  normalizeHex,
360
393
  parseDateValue,
361
394
  parseMetricValue,
395
+ partitionFiles,
362
396
  pixelsToMs,
363
397
  placeSpan,
364
398
  relationshipNeighbors,
@@ -376,6 +410,7 @@ export {
376
410
  startOfMonth,
377
411
  stepMetricValue,
378
412
  summarizeDiff,
413
+ summarizeFilter,
379
414
  summarizeRule,
380
415
  timelineTicks,
381
416
  toDateKey,