@tensor_1/react 2.22.0 → 2.24.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 +20 -0
- package/dist/components/DiffViewer.d.ts +15 -1
- package/dist/components/DiffViewer.js +11 -6
- package/dist/components/EditorIcons.d.ts +2 -0
- package/dist/components/EditorIcons.js +3 -1
- package/dist/components/TableControls.d.ts +77 -10
- package/dist/components/TableControls.js +397 -20
- package/dist/emoji.cjs +3 -1
- package/dist/index.cjs +978 -545
- package/dist/index.d.cts +92 -11
- package/dist/index.d.ts +1 -1
- package/dist/rich-text.cjs +3 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1268,15 +1268,40 @@ interface ViewMenuColumn {
|
|
|
1268
1268
|
label: ReactNode;
|
|
1269
1269
|
visible: boolean;
|
|
1270
1270
|
disabled?: boolean;
|
|
1271
|
+
/** Always shown (e.g. the record id): the row has no checkbox and no Hide / Show, its name sits in the checkbox's slot. */
|
|
1272
|
+
required?: boolean;
|
|
1273
|
+
/** Plain-text name for the `{label}` templates in `columnLabels` when `label` is not a string. */
|
|
1274
|
+
textLabel?: string;
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* Words for the column rows. `{label}` is replaced by the column name; `moved` also gets
|
|
1278
|
+
* `{position}` and `{count}`. Every key has an English default.
|
|
1279
|
+
*/
|
|
1280
|
+
interface ViewMenuColumnLabels {
|
|
1281
|
+
/** Name of a row's ⋯ menu button and of the menu. Default `Column actions: {label}`. */
|
|
1282
|
+
rowActions: string;
|
|
1283
|
+
/** Name of a row's drag grip. Default `Drag to reorder: {label}`. */
|
|
1284
|
+
reorder: string;
|
|
1285
|
+
moveUp: string;
|
|
1286
|
+
moveDown: string;
|
|
1287
|
+
hide: string;
|
|
1288
|
+
show: string;
|
|
1289
|
+
/** Tooltip on a required column's name. Default `Always shown`. */
|
|
1290
|
+
required: string;
|
|
1291
|
+
/** Polite announcement after a move. Default `{label} moved to position {position} of {count}`. */
|
|
1292
|
+
moved: string;
|
|
1271
1293
|
}
|
|
1272
1294
|
interface ViewMenuProps {
|
|
1273
|
-
density
|
|
1274
|
-
|
|
1275
|
-
|
|
1295
|
+
/** The density section renders when `densityOptions` and `onDensityChange` are given. */
|
|
1296
|
+
density?: string;
|
|
1297
|
+
densityLabel?: ReactNode;
|
|
1298
|
+
densityOptions?: readonly {
|
|
1276
1299
|
value: string;
|
|
1277
1300
|
label: ReactNode;
|
|
1278
1301
|
}[];
|
|
1279
|
-
onDensityChange
|
|
1302
|
+
onDensityChange?: (value: string) => void;
|
|
1303
|
+
/** Optional title over the zebra / freeze switches. */
|
|
1304
|
+
displayLabel?: ReactNode;
|
|
1280
1305
|
zebra?: {
|
|
1281
1306
|
checked: boolean;
|
|
1282
1307
|
label: ReactNode;
|
|
@@ -1290,9 +1315,23 @@ interface ViewMenuProps {
|
|
|
1290
1315
|
columns?: readonly ViewMenuColumn[];
|
|
1291
1316
|
columnsLabel?: ReactNode;
|
|
1292
1317
|
onColumnVisibilityChange?: (id: string, visible: boolean) => void;
|
|
1318
|
+
/**
|
|
1319
|
+
* Turns on reordering: every column row gets a drag grip (pointer; ArrowUp / ArrowDown once
|
|
1320
|
+
* focused) and a ⋯ menu with Move up · Move down · Hide / Show, which is the keyboard path.
|
|
1321
|
+
* Receives every column id, first to last. The order is the application's to persist.
|
|
1322
|
+
*/
|
|
1323
|
+
onReorder?: (orderedIds: string[]) => void;
|
|
1324
|
+
columnLabels?: Partial<ViewMenuColumnLabels>;
|
|
1325
|
+
/** Pinned under the columns, e.g. a Reset sort `.uix-menu__item` button. */
|
|
1326
|
+
footer?: ReactNode;
|
|
1327
|
+
className?: string;
|
|
1293
1328
|
}
|
|
1294
|
-
/**
|
|
1295
|
-
|
|
1329
|
+
/**
|
|
1330
|
+
* Controlled table presentation panel with its own surface: density, zebra / freeze and a column
|
|
1331
|
+
* list under sticky section titles. A column row is grip · checkbox · name · ⋯ (grip and ⋯ with
|
|
1332
|
+
* `onReorder`). Usable inside a Popover or any overlay shell, including one that adds no chrome.
|
|
1333
|
+
*/
|
|
1334
|
+
declare function ViewMenu({ density, densityLabel, densityOptions, onDensityChange, displayLabel, zebra, freeze, columns, columnsLabel, onColumnVisibilityChange, onReorder, columnLabels, footer, className, }: ViewMenuProps): react.JSX.Element;
|
|
1296
1335
|
interface FilterOption {
|
|
1297
1336
|
value: string;
|
|
1298
1337
|
label: string;
|
|
@@ -1317,14 +1356,26 @@ interface SavedViewItem {
|
|
|
1317
1356
|
active?: boolean;
|
|
1318
1357
|
pinned?: boolean;
|
|
1319
1358
|
}
|
|
1320
|
-
|
|
1359
|
+
/** A titled group of saved views, e.g. the user's custom views above the built-in presets. */
|
|
1360
|
+
interface SavedViewSection {
|
|
1361
|
+
id: string;
|
|
1362
|
+
label: ReactNode;
|
|
1321
1363
|
items: readonly SavedViewItem[];
|
|
1364
|
+
}
|
|
1365
|
+
interface SavedViewMenuBaseProps {
|
|
1322
1366
|
onSelect: (id: string) => void;
|
|
1323
1367
|
emptyLabel?: ReactNode;
|
|
1368
|
+
/** The row's overflow slot (e.g. a ⋯ menu trigger). It stays quiet until the row is hovered or focused, or its menu is open. */
|
|
1324
1369
|
actions?: (item: SavedViewItem) => ReactNode;
|
|
1325
1370
|
footer?: ReactNode;
|
|
1326
1371
|
}
|
|
1327
1372
|
type SavedViewMenuProps = SavedViewMenuBaseProps & ({
|
|
1373
|
+
items: readonly SavedViewItem[];
|
|
1374
|
+
sections?: never;
|
|
1375
|
+
} | {
|
|
1376
|
+
sections: readonly SavedViewSection[];
|
|
1377
|
+
items?: never;
|
|
1378
|
+
}) & ({
|
|
1328
1379
|
onPinChange: (id: string, pinned: boolean) => void;
|
|
1329
1380
|
pinLabel: string;
|
|
1330
1381
|
unpinLabel: string;
|
|
@@ -1332,9 +1383,25 @@ type SavedViewMenuProps = SavedViewMenuBaseProps & ({
|
|
|
1332
1383
|
onPinChange?: undefined;
|
|
1333
1384
|
pinLabel?: never;
|
|
1334
1385
|
unpinLabel?: never;
|
|
1386
|
+
}) & ({
|
|
1387
|
+
/**
|
|
1388
|
+
* Adds a drag grip to every row. Rows move only within their own section; the
|
|
1389
|
+
* callback receives that section's full id order (and its id when `sections` is used).
|
|
1390
|
+
* The grip also moves its row with ArrowUp / ArrowDown.
|
|
1391
|
+
*/
|
|
1392
|
+
onReorder: (orderedIds: string[], sectionId: string | undefined) => void;
|
|
1393
|
+
/** Accessible name of the grip; the row's name is attached as its description. */
|
|
1394
|
+
reorderLabel: string;
|
|
1395
|
+
} | {
|
|
1396
|
+
onReorder?: undefined;
|
|
1397
|
+
reorderLabel?: never;
|
|
1335
1398
|
});
|
|
1336
|
-
/**
|
|
1337
|
-
|
|
1399
|
+
/**
|
|
1400
|
+
* Generic saved-view selector: optional titled sections inside one `.uix-menu`, rows of
|
|
1401
|
+
* grip · name · overflow. The selected row is tinted as a whole (no check glyph). Persistence,
|
|
1402
|
+
* ownership, permissions and labels remain application concerns.
|
|
1403
|
+
*/
|
|
1404
|
+
declare function SavedViewMenu({ items, sections, onSelect, onPinChange, pinLabel, unpinLabel, onReorder, reorderLabel, emptyLabel, actions, footer }: SavedViewMenuProps): react.JSX.Element;
|
|
1338
1405
|
|
|
1339
1406
|
interface TimelineProps extends HTMLAttributes<HTMLOListElement> {
|
|
1340
1407
|
children?: ReactNode;
|
|
@@ -2583,6 +2650,11 @@ declare function summarizeDiff(entries: DiffEntry[], resolutions?: Record<string
|
|
|
2583
2650
|
* Every word the diff viewer renders (TENSOR RX-125, UIX-12). `base` / `current` /
|
|
2584
2651
|
* `incoming` keep their meaning from before; `{path}`, `{version}`, `{resolved}` and
|
|
2585
2652
|
* `{total}` are placeholders.
|
|
2653
|
+
*
|
|
2654
|
+
* `acceptIncomingFor` / `keepCurrentFor` / `markPendingFor` are the accessible names of
|
|
2655
|
+
* the three action buttons, so a screen reader hears which entry each one resolves. Keep
|
|
2656
|
+
* the visible word inside the translated name (WCAG 2.5.3 Label in Name): speech-input
|
|
2657
|
+
* users say what they see.
|
|
2586
2658
|
*/
|
|
2587
2659
|
interface DiffViewerLabels {
|
|
2588
2660
|
base: string;
|
|
@@ -2603,6 +2675,9 @@ interface DiffViewerLabels {
|
|
|
2603
2675
|
acceptIncoming: string;
|
|
2604
2676
|
keepCurrent: string;
|
|
2605
2677
|
markPending: string;
|
|
2678
|
+
acceptIncomingFor: string;
|
|
2679
|
+
keepCurrentFor: string;
|
|
2680
|
+
markPendingFor: string;
|
|
2606
2681
|
resolutionAccept: string;
|
|
2607
2682
|
resolutionSkip: string;
|
|
2608
2683
|
resolutionPending: string;
|
|
@@ -2618,10 +2693,16 @@ interface DiffViewerProps {
|
|
|
2618
2693
|
resolutions?: Record<string, DiffResolution>;
|
|
2619
2694
|
onResolutionChange?: (path: string, resolution: DiffResolution) => void;
|
|
2620
2695
|
labels?: Partial<DiffViewerLabels>;
|
|
2696
|
+
/**
|
|
2697
|
+
* Height of the resolution buttons and the entry disclosure rows. `sm` (the default) is
|
|
2698
|
+
* the compact 28px kit size; `md` follows `--uix-control-h`, so a theme that sets its
|
|
2699
|
+
* own control height (for example 60px touch targets) gets it here too; `lg` is 44px.
|
|
2700
|
+
*/
|
|
2701
|
+
controlSize?: 'sm' | 'md' | 'lg';
|
|
2621
2702
|
className?: string;
|
|
2622
2703
|
}
|
|
2623
2704
|
/** Three-way configuration diff with per-entry keyboard-operable resolution. */
|
|
2624
|
-
declare function DiffViewer({ base, current, incoming, entries: providedEntries, resolutions: controlledResolutions, onResolutionChange, labels: labelOverrides, className, }: DiffViewerProps): react.JSX.Element;
|
|
2705
|
+
declare function DiffViewer({ base, current, incoming, entries: providedEntries, resolutions: controlledResolutions, onResolutionChange, labels: labelOverrides, controlSize, className, }: DiffViewerProps): react.JSX.Element;
|
|
2625
2706
|
|
|
2626
2707
|
/**
|
|
2627
2708
|
* Every word the colour picker renders (TENSOR RX-125, UIX-12). `{label}`, `{color}`,
|
|
@@ -2678,4 +2759,4 @@ declare function hsvToHex(value: HsvColor): string;
|
|
|
2678
2759
|
declare function contrastRatio(background: string, foreground: string): number | undefined;
|
|
2679
2760
|
declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
|
|
2680
2761
|
|
|
2681
|
-
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, type ButtonProps, type CalendarDay, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, 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, 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, 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, ForbiddenState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, Input, InputGroup, type InputGroupProps, type InputProps, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, 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, 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, Placement, 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, SchedulingCalendar, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingEntryState, type SchedulingOverlayKind, 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, SubNavItem, type SubNavItemProps, Switch, type SwitchProps, 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, Toast, type ToastProps, 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 UseAnchoredPositionOptions, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, addCalendarDays, addCalendarMonths, appendRuleNode, applyBrandProfile, applyFilters, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, contrastRatio, cx, enumerateDateSpan, filterComboboxOptions, findRuleNodeDepth, flattenTree, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isRuleGroup, layeredNeighbor, layoutLayeredGraph, layoutRelationshipGraph, mapRuleGroup, matchFilter, meetsContrast, mergePinned, moveRuleNode, multiSort, nextSortDir, normalizeHex, parseDateValue, parseMetricValue, parseView, relationshipNeighbors, relativeTimeValue, removeRuleNode, reorder, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, searchRows, selectAllState, selectRangeDate, serializeView, shouldVirtualize, startOfMonth, stepMetricValue, summarizeDiff, summarizeRule, toDateKey, toggleId, togglePage, toggleSort, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan };
|
|
2762
|
+
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, type ButtonProps, type CalendarDay, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, 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, 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, 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, ForbiddenState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, Input, InputGroup, type InputGroupProps, type InputProps, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, 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, 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, Placement, 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 SchedulingEntryState, type SchedulingOverlayKind, 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, SubNavItem, type SubNavItemProps, Switch, type SwitchProps, 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, Toast, type ToastProps, 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 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, cx, enumerateDateSpan, filterComboboxOptions, findRuleNodeDepth, flattenTree, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isRuleGroup, layeredNeighbor, layoutLayeredGraph, layoutRelationshipGraph, mapRuleGroup, matchFilter, meetsContrast, mergePinned, moveRuleNode, multiSort, nextSortDir, normalizeHex, parseDateValue, parseMetricValue, parseView, relationshipNeighbors, relativeTimeValue, removeRuleNode, reorder, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, searchRows, selectAllState, selectRangeDate, serializeView, shouldVirtualize, startOfMonth, stepMetricValue, summarizeDiff, summarizeRule, toDateKey, toggleId, togglePage, toggleSort, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan };
|
package/dist/index.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export { Comment, CommentProps, Comments, CommentsProps } from './components/Com
|
|
|
55
55
|
export { DEFAULT_SAVE_STATUS_LABELS, SaveStatus, SaveStatusLabels, SaveStatusProps, SaveStatusState } from './components/SaveStatus.js';
|
|
56
56
|
export { Composer, ComposerBar, ComposerBarProps, ComposerProps } from './components/Composer.js';
|
|
57
57
|
export { Segmented, SegmentedOption, SegmentedOptionProps, SegmentedProps } from './components/Segmented.js';
|
|
58
|
-
export { FilterOption, FilterPopover, FilterPopoverProps, SavedViewItem, SavedViewMenu, SavedViewMenuProps, ViewMenu, ViewMenuColumn, ViewMenuProps } from './components/TableControls.js';
|
|
58
|
+
export { FilterOption, FilterPopover, FilterPopoverProps, SavedViewItem, SavedViewMenu, SavedViewMenuProps, SavedViewSection, ViewMenu, ViewMenuColumn, ViewMenuColumnLabels, ViewMenuProps } from './components/TableControls.js';
|
|
59
59
|
export { Timeline, TimelineItem, TimelineItemProps, TimelineProps } from './components/Timeline.js';
|
|
60
60
|
export { Pipeline, PipelineProps, PipelineStage, PipelineStageProps, PipelineStageState } from './components/Pipeline.js';
|
|
61
61
|
export { Flow, FlowNode, FlowNodeProps, FlowNodeState, FlowProps, FlowVariant } from './components/Flow.js';
|
package/dist/rich-text.cjs
CHANGED
|
@@ -731,7 +731,9 @@ var PATHS = {
|
|
|
731
731
|
redo: "m15 14 5-5-5-5M20 9H9.5a5.5 5.5 0 0 0 0 11H13",
|
|
732
732
|
sourceMode: "M10 12.5 8 15l2 2.5M14 12.5l2 2.5-2 2.5M14 2v4a2 2 0 0 0 2 2h4M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",
|
|
733
733
|
richMode: "M14 2v4a2 2 0 0 0 2 2h4M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7ZM8 13h8M8 17h5",
|
|
734
|
-
clock: "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM12 6v6l4 2"
|
|
734
|
+
clock: "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM12 6v6l4 2",
|
|
735
|
+
grip: "M9 5h.01M9 12h.01M9 19h.01M15 5h.01M15 12h.01M15 19h.01",
|
|
736
|
+
more: "M5 12h.01M12 12h.01M19 12h.01"
|
|
735
737
|
};
|
|
736
738
|
function EditorIcon({ name, ...props }) {
|
|
737
739
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|