@tensor_1/react 2.43.1 → 2.44.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DashboardCanvas.d.ts +78 -0
- package/dist/components/DashboardCanvas.js +227 -0
- package/dist/dashboard-canvas-model.d.ts +104 -0
- package/dist/dashboard-canvas-model.js +113 -0
- package/dist/index.cjs +2218 -1869
- package/dist/index.d.cts +177 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +31 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3421,6 +3421,182 @@ declare const DashboardGrid: react.ForwardRefExoticComponent<DashboardGridProps
|
|
|
3421
3421
|
Item: react.ForwardRefExoticComponent<DashboardGridItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
3422
3422
|
};
|
|
3423
3423
|
|
|
3424
|
+
/**
|
|
3425
|
+
* Pure model for `DashboardCanvas` (TENSOR HAR-1823): a free dashboard layout on a 12-column
|
|
3426
|
+
* grid. Every item has a place and a size in grid units — `col` and `row` (0-based), `w`
|
|
3427
|
+
* columns wide and `h` rows tall — and may declare the smallest and largest size it accepts.
|
|
3428
|
+
*
|
|
3429
|
+
* The canvas is free: an item stays where it is put, and nothing floats up into a gap. When a
|
|
3430
|
+
* move or a resize lands on other items, they are pushed down below it, in reading order, and
|
|
3431
|
+
* whatever they then land on is pushed in turn. `compactCanvas` is the separate, explicit
|
|
3432
|
+
* "close the gaps" step for a product that wants one (after removing a widget, say).
|
|
3433
|
+
*
|
|
3434
|
+
* The same functions back the pointer drag in the component and the keyboard alternative a
|
|
3435
|
+
* product puts in each item's menu (Move up / down / left / right, Wider / Narrower, Taller /
|
|
3436
|
+
* Shorter), so dragging is never the only way to arrange the canvas (WCAG 2.5.7).
|
|
3437
|
+
*/
|
|
3438
|
+
/** The canvas has twelve columns: 12 divides into halves, thirds, quarters and sixths. */
|
|
3439
|
+
declare const DASHBOARD_CANVAS_COLUMNS = 12;
|
|
3440
|
+
interface DashboardCanvasItem {
|
|
3441
|
+
/** Stable id: the key of the cell and of every change reported for it. */
|
|
3442
|
+
readonly id: string;
|
|
3443
|
+
/** First column, 0-based (0 – 11). */
|
|
3444
|
+
readonly col: number;
|
|
3445
|
+
/** First row, 0-based. */
|
|
3446
|
+
readonly row: number;
|
|
3447
|
+
/** Width in columns. */
|
|
3448
|
+
readonly w: number;
|
|
3449
|
+
/** Height in rows. */
|
|
3450
|
+
readonly h: number;
|
|
3451
|
+
/** Narrowest the item may be, in columns. Default 1. */
|
|
3452
|
+
readonly minW?: number;
|
|
3453
|
+
/** Widest the item may be, in columns. Default 12. */
|
|
3454
|
+
readonly maxW?: number;
|
|
3455
|
+
/** Shortest the item may be, in rows. Default 1. */
|
|
3456
|
+
readonly minH?: number;
|
|
3457
|
+
/** Tallest the item may be, in rows. Default: no limit. */
|
|
3458
|
+
readonly maxH?: number;
|
|
3459
|
+
}
|
|
3460
|
+
/** A keyboard move: one column or one row at a time. */
|
|
3461
|
+
type DashboardCanvasDirection = 'up' | 'down' | 'left' | 'right';
|
|
3462
|
+
/** A keyboard resize: one column or one row at a time. */
|
|
3463
|
+
type DashboardCanvasResize = 'wider' | 'narrower' | 'taller' | 'shorter';
|
|
3464
|
+
/** Where and how big an item is, in grid units. */
|
|
3465
|
+
interface DashboardCanvasPlacement {
|
|
3466
|
+
readonly col: number;
|
|
3467
|
+
readonly row: number;
|
|
3468
|
+
readonly w: number;
|
|
3469
|
+
readonly h: number;
|
|
3470
|
+
}
|
|
3471
|
+
/** An item's size limits, made sane: whole numbers, inside the canvas, minimum never above maximum. */
|
|
3472
|
+
declare function canvasItemLimits(item: DashboardCanvasItem): {
|
|
3473
|
+
readonly minW: number;
|
|
3474
|
+
readonly maxW: number;
|
|
3475
|
+
readonly minH: number;
|
|
3476
|
+
readonly maxH: number;
|
|
3477
|
+
};
|
|
3478
|
+
/**
|
|
3479
|
+
* The item made valid: whole numbers, its size inside its own limits and the canvas, and its
|
|
3480
|
+
* place inside the twelve columns (a too-wide item at the right edge moves left). Limits from
|
|
3481
|
+
* an untyped caller are made sane too: a maximum below the minimum is raised to it.
|
|
3482
|
+
*/
|
|
3483
|
+
declare function clampCanvasItem<T extends DashboardCanvasItem>(item: T): T;
|
|
3484
|
+
/** True when two different items share at least one cell. */
|
|
3485
|
+
declare function canvasItemsOverlap(a: DashboardCanvasPlacement & {
|
|
3486
|
+
readonly id: string;
|
|
3487
|
+
}, b: DashboardCanvasPlacement & {
|
|
3488
|
+
readonly id: string;
|
|
3489
|
+
}): boolean;
|
|
3490
|
+
/**
|
|
3491
|
+
* Reading order: row by row from the top, left to right in a row. Ties keep the order they
|
|
3492
|
+
* came in. This is the order the canvas collapses to on a narrow screen and the order a
|
|
3493
|
+
* screen reader meets the items in.
|
|
3494
|
+
*/
|
|
3495
|
+
declare function canvasReadingOrder<T extends DashboardCanvasItem>(items: readonly T[]): T[];
|
|
3496
|
+
/** The number of rows the canvas uses: one past the lowest item's last row. */
|
|
3497
|
+
declare function canvasRowCount(items: readonly DashboardCanvasItem[]): number;
|
|
3498
|
+
/**
|
|
3499
|
+
* A layout with every item valid and no two sharing a cell. Use it on a stored layout before
|
|
3500
|
+
* showing it: an overlap someone saved elsewhere is settled the same way a move settles one.
|
|
3501
|
+
*/
|
|
3502
|
+
declare function normalizeCanvas<T extends DashboardCanvasItem>(items: readonly T[]): T[];
|
|
3503
|
+
/**
|
|
3504
|
+
* Puts one item at a new place and size (clamped to its limits and the canvas) and pushes
|
|
3505
|
+
* what it lands on down. Every other item keeps its place unless it had to move. Returns the
|
|
3506
|
+
* items in the order they came in; an unknown id returns them unchanged.
|
|
3507
|
+
*/
|
|
3508
|
+
declare function placeCanvasItem<T extends DashboardCanvasItem>(items: readonly T[], id: string, placement: Partial<DashboardCanvasPlacement>): T[];
|
|
3509
|
+
/** One step of a keyboard move, as a new place. Null when the item is already at that edge. */
|
|
3510
|
+
declare function canvasMoveTarget(item: DashboardCanvasItem, direction: DashboardCanvasDirection): DashboardCanvasPlacement | null;
|
|
3511
|
+
/**
|
|
3512
|
+
* One step of a keyboard resize, as a new place and size. `wider` grows to the right, or to the
|
|
3513
|
+
* left when the item already touches the right edge. Null when the item is at its limit.
|
|
3514
|
+
*/
|
|
3515
|
+
declare function canvasResizeTarget(item: DashboardCanvasItem, change: DashboardCanvasResize): DashboardCanvasPlacement | null;
|
|
3516
|
+
/** Moves an item one column or row. At an edge the items come back unchanged. */
|
|
3517
|
+
declare function moveCanvasItem<T extends DashboardCanvasItem>(items: readonly T[], id: string, direction: DashboardCanvasDirection): T[];
|
|
3518
|
+
/** Resizes an item by one column or row. At a limit the items come back unchanged. */
|
|
3519
|
+
declare function resizeCanvasItem<T extends DashboardCanvasItem>(items: readonly T[], id: string, change: DashboardCanvasResize): T[];
|
|
3520
|
+
/**
|
|
3521
|
+
* Closes the gaps: in reading order, each item rises as far as it can without landing on one
|
|
3522
|
+
* above it. Columns and sizes never change. Not called by the canvas itself — a free canvas
|
|
3523
|
+
* keeps the gaps a person leaves — but by a product that wants a tidy layout.
|
|
3524
|
+
*/
|
|
3525
|
+
declare function compactCanvas<T extends DashboardCanvasItem>(items: readonly T[]): T[];
|
|
3526
|
+
|
|
3527
|
+
/** Every word the canvas renders. `{label}` is the item's name; the others are grid units. */
|
|
3528
|
+
interface DashboardCanvasLabels {
|
|
3529
|
+
/** The region's accessible name. */
|
|
3530
|
+
region: string;
|
|
3531
|
+
/** The move handle's name. */
|
|
3532
|
+
move: string;
|
|
3533
|
+
/** The resize handle's name. */
|
|
3534
|
+
resize: string;
|
|
3535
|
+
/** How the handles work, read with each handle (`aria-describedby`). */
|
|
3536
|
+
instructions: string;
|
|
3537
|
+
/** Announced after a move. `{col}` and `{row}` count from 1. */
|
|
3538
|
+
moved: string;
|
|
3539
|
+
/** Announced after a resize. */
|
|
3540
|
+
resized: string;
|
|
3541
|
+
/** Announced when a step would leave the canvas or pass the item's size limit. */
|
|
3542
|
+
atEdge: string;
|
|
3543
|
+
/** Announced when Escape drops a drag. */
|
|
3544
|
+
cancelled: string;
|
|
3545
|
+
}
|
|
3546
|
+
declare const DEFAULT_DASHBOARD_CANVAS_LABELS: DashboardCanvasLabels;
|
|
3547
|
+
/** Space between items: `sm` --uix-space-3, `md` --uix-space-4, `lg` --uix-space-6. */
|
|
3548
|
+
type DashboardCanvasGap = 'sm' | 'md' | 'lg';
|
|
3549
|
+
/** What changed, for the product's save and its journey event. */
|
|
3550
|
+
interface DashboardCanvasChange {
|
|
3551
|
+
readonly id: string;
|
|
3552
|
+
readonly kind: 'move' | 'resize';
|
|
3553
|
+
readonly source: 'pointer' | 'keyboard';
|
|
3554
|
+
}
|
|
3555
|
+
interface DashboardCanvasProps<T extends DashboardCanvasItem> extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {
|
|
3556
|
+
/** The layout. Overlaps and out-of-range values are settled before rendering. */
|
|
3557
|
+
items: readonly T[];
|
|
3558
|
+
/** One cell's content: a widget, a card. Its last child takes the spare height. */
|
|
3559
|
+
renderItem: (item: T) => ReactNode;
|
|
3560
|
+
/** The item's name in labels and announcements. Default: its id. */
|
|
3561
|
+
itemLabel?: (item: T) => string;
|
|
3562
|
+
/**
|
|
3563
|
+
* Edit mode: each item gets a move handle and a resize handle, both draggable and both
|
|
3564
|
+
* operable with the arrow keys. Off, the canvas is a plain layout and server-renderable.
|
|
3565
|
+
*/
|
|
3566
|
+
editable?: boolean;
|
|
3567
|
+
/** The next layout, once per drop or key press. The canvas never keeps its own copy. */
|
|
3568
|
+
onLayoutChange?: (items: T[], change: DashboardCanvasChange) => void;
|
|
3569
|
+
/** Height of one row, any CSS length. Default `--uix-dashboard-canvas-row` (5rem). */
|
|
3570
|
+
rowHeight?: string;
|
|
3571
|
+
/** Default `md`. */
|
|
3572
|
+
gap?: DashboardCanvasGap;
|
|
3573
|
+
labels?: Partial<DashboardCanvasLabels>;
|
|
3574
|
+
}
|
|
3575
|
+
/**
|
|
3576
|
+
* A free dashboard layout (TENSOR HAR-1823): twelve columns, rows of one fixed height, and each
|
|
3577
|
+
* item at its own `{ col, row, w, h }` in grid units. In edit mode a person drags an item by its
|
|
3578
|
+
* move handle and resizes it by the corner handle; both snap to the grid, push what they land
|
|
3579
|
+
* on downwards, and report one new layout per drop. Both handles also take the arrow keys, and
|
|
3580
|
+
* the pure functions behind them (`moveCanvasItem`, `resizeCanvasItem`) are exported for the
|
|
3581
|
+
* product's own item menu, so dragging is never the only way (WCAG 2.5.7).
|
|
3582
|
+
*
|
|
3583
|
+
* Below 36rem of its own width the canvas is one column in reading order (row by row, left to
|
|
3584
|
+
* right), each item keeping its height, and the handles step aside: the item menu remains.
|
|
3585
|
+
*
|
|
3586
|
+
* Owns interaction, never persistence: the product stores `items` and passes them back.
|
|
3587
|
+
*
|
|
3588
|
+
* ```tsx
|
|
3589
|
+
* <DashboardCanvas
|
|
3590
|
+
* items={layout}
|
|
3591
|
+
* editable={editing}
|
|
3592
|
+
* itemLabel={(item) => titles[item.id]}
|
|
3593
|
+
* renderItem={(item) => <Widget id={item.id} />}
|
|
3594
|
+
* onLayoutChange={(next) => save(next)}
|
|
3595
|
+
* />
|
|
3596
|
+
* ```
|
|
3597
|
+
*/
|
|
3598
|
+
declare function DashboardCanvas<T extends DashboardCanvasItem>({ items, renderItem, itemLabel, editable, onLayoutChange, rowHeight, gap, labels: labelOverrides, className, style, ...props }: DashboardCanvasProps<T>): react.JSX.Element;
|
|
3599
|
+
|
|
3424
3600
|
interface BreadcrumbItem {
|
|
3425
3601
|
id?: string;
|
|
3426
3602
|
label: ReactNode;
|
|
@@ -6284,4 +6460,4 @@ declare function hsvToHex(value: HsvColor): string;
|
|
|
6284
6460
|
declare function contrastRatio(background: string, foreground: string): number | undefined;
|
|
6285
6461
|
declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
|
|
6286
6462
|
|
|
6287
|
-
export { type AccessStateProps, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Bullet, type BulletProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, ConfirmDialog, type ConfirmDialogProps, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, CopyButton, type CopyButtonProps, DAY, DEFAULT_ATTACHMENT_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_RULE_SUMMARY_WORDS, DEFAULT_RULE_VALIDATION_MESSAGES, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TREE_LABELS, DashboardGrid, type DashboardGridBreakpoint, type DashboardGridColumnCount, type DashboardGridColumns, type DashboardGridGap, DashboardGridItem, type DashboardGridItemProps, type DashboardGridProps, type DashboardGridSpan, type DateInputProblem, type DatePart, DatePicker, type DatePickerLabels, type DatePickerProps, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, type DaySpanLayout, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, DialogClose, type DialogCloseEvent, type DialogCloseProps, type DiffEntry, type DiffKind, type DiffResolution, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchResult, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FileRejection, type FileRejectionReason, type FileSizeFormatter, type FileSizeOptions, FileUpload, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadStatus, type FilterChoice, FilterEditor, type FilterEditorLabels, type FilterEditorProps, type FilterField, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, type FilterPreset, type FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Heartbeat, type HeartbeatProps, type HeartbeatState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, InlineEdit, type InlineEditEditorProps, type InlineEditLabels, type InlineEditProps, Input, InputGroup, type InputGroupProps, type InputProps, InsightCard, type InsightCardLabels, type InsightCardProps, type InsightComparison, type InsightCoverage, type InsightKpi, type InsightStatus, type InsightStatusTone, type InsightTarget, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, Label, type LabelProps, type LaneCluster, type LaneInterval, type LanePlacement, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, type LayoutLaneOptions, type LayoutMonthSpansOptions, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemAttributes, MenuItemCheckbox, type MenuItemCheckboxProps, type MenuItemProps, MenuItemRadio, type MenuItemRadioProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, type MonthSpanGroup, type MonthSpanInput, type MonthSpanLayout, type MoveProposal, NUMBER_FILTER_OPERATORS, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, type NumberFilterOperator, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, Radio, RadioCard, type RadioCardProps, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCheck, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleSummaryWords, type RuleValidationIssue, type RuleValidationOptions, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, type SchedulingAgendaGroup, type SchedulingBand, SchedulingCalendar, type SchedulingCalendarDay, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingLegendItem, type SchedulingMarker, type SchedulingMarkerEmphasis, type SchedulingOverlayKind, type SchedulingOverlayPattern, type SchedulingStatus, SchedulingTimeline, type SchedulingTimelineGroup, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, SearchBar, type SearchBarLabels, type SearchBarProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectGroup, type SelectLabels, type SelectOption, type SelectProps, type ShellNav, Sidebar, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, type StatTrend, type StateVariant, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, type SummarizeFilterOptions, Switch, type SwitchProps, TEXT_FILTER_OPERATORS, TOAST_LEAVE_MS, TOP_LANE_CROSS_MIDNIGHT_MINUTES, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, Textarea, type TextareaProps, Th, type ThProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, type TimelineSubTick, type TimelineTick, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLabels, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, type ZonedDayBounds, type ZonedDayShift, type ZonedDaySpan, type ZonedHourSlot, addCalendarDays, addCalendarMonths, addZonedDays, appendRuleNode, applyBrandProfile, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, emptyFilterValue, enumerateDateKeys, enumerateDateSpan, fileKind, fileMatchesAccept, filterComboboxOptions, findRuleNodeDepth, flattenTree, foldForSearch, formatDateKey, formatFileSize, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isRuleGroup, isValidDateKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, moveRuleNode, multiSort, nextSortDir, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseMetricValue, parseView, partitionFiles, pixelsToMs, placeSpan, placesInTopLane, proposeMove, rankOverflow, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, serializeView, setRuleCombinator, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, stepMetricValue, summarizeDiff, summarizeFilter, summarizeRule, textDiffRows, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useUixLabels, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
|
|
6463
|
+
export { type AccessStateProps, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Bullet, type BulletProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, ConfirmDialog, type ConfirmDialogProps, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, CopyButton, type CopyButtonProps, DASHBOARD_CANVAS_COLUMNS, DAY, DEFAULT_ATTACHMENT_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_DASHBOARD_CANVAS_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_RULE_SUMMARY_WORDS, DEFAULT_RULE_VALIDATION_MESSAGES, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TREE_LABELS, DashboardCanvas, type DashboardCanvasChange, type DashboardCanvasDirection, type DashboardCanvasGap, type DashboardCanvasItem, type DashboardCanvasLabels, type DashboardCanvasPlacement, type DashboardCanvasProps, type DashboardCanvasResize, DashboardGrid, type DashboardGridBreakpoint, type DashboardGridColumnCount, type DashboardGridColumns, type DashboardGridGap, DashboardGridItem, type DashboardGridItemProps, type DashboardGridProps, type DashboardGridSpan, type DateInputProblem, type DatePart, DatePicker, type DatePickerLabels, type DatePickerProps, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, type DaySpanLayout, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, DialogClose, type DialogCloseEvent, type DialogCloseProps, type DiffEntry, type DiffKind, type DiffResolution, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchResult, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FileRejection, type FileRejectionReason, type FileSizeFormatter, type FileSizeOptions, FileUpload, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadStatus, type FilterChoice, FilterEditor, type FilterEditorLabels, type FilterEditorProps, type FilterField, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, type FilterPreset, type FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Heartbeat, type HeartbeatProps, type HeartbeatState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, InlineEdit, type InlineEditEditorProps, type InlineEditLabels, type InlineEditProps, Input, InputGroup, type InputGroupProps, type InputProps, InsightCard, type InsightCardLabels, type InsightCardProps, type InsightComparison, type InsightCoverage, type InsightKpi, type InsightStatus, type InsightStatusTone, type InsightTarget, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, Label, type LabelProps, type LaneCluster, type LaneInterval, type LanePlacement, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, type LayoutLaneOptions, type LayoutMonthSpansOptions, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemAttributes, MenuItemCheckbox, type MenuItemCheckboxProps, type MenuItemProps, MenuItemRadio, type MenuItemRadioProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, type MonthSpanGroup, type MonthSpanInput, type MonthSpanLayout, type MoveProposal, NUMBER_FILTER_OPERATORS, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, type NumberFilterOperator, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, Radio, RadioCard, type RadioCardProps, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCheck, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleSummaryWords, type RuleValidationIssue, type RuleValidationOptions, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, type SchedulingAgendaGroup, type SchedulingBand, SchedulingCalendar, type SchedulingCalendarDay, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingLegendItem, type SchedulingMarker, type SchedulingMarkerEmphasis, type SchedulingOverlayKind, type SchedulingOverlayPattern, type SchedulingStatus, SchedulingTimeline, type SchedulingTimelineGroup, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, SearchBar, type SearchBarLabels, type SearchBarProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectGroup, type SelectLabels, type SelectOption, type SelectProps, type ShellNav, Sidebar, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, type StatTrend, type StateVariant, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, type SummarizeFilterOptions, Switch, type SwitchProps, TEXT_FILTER_OPERATORS, TOAST_LEAVE_MS, TOP_LANE_CROSS_MIDNIGHT_MINUTES, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, Textarea, type TextareaProps, Th, type ThProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, type TimelineSubTick, type TimelineTick, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLabels, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, type ZonedDayBounds, type ZonedDayShift, type ZonedDaySpan, type ZonedHourSlot, addCalendarDays, addCalendarMonths, addZonedDays, appendRuleNode, applyBrandProfile, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, compactCanvas, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, emptyFilterValue, enumerateDateKeys, enumerateDateSpan, fileKind, fileMatchesAccept, filterComboboxOptions, findRuleNodeDepth, flattenTree, foldForSearch, formatDateKey, formatFileSize, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isRuleGroup, isValidDateKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, moveCanvasItem, moveRuleNode, multiSort, nextSortDir, normalizeCanvas, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseMetricValue, parseView, partitionFiles, pixelsToMs, placeCanvasItem, placeSpan, placesInTopLane, proposeMove, rankOverflow, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, resizeCanvasItem, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, serializeView, setRuleCombinator, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, stepMetricValue, summarizeDiff, summarizeFilter, summarizeRule, textDiffRows, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useDialog, useTable, useUixLabels, useVirtualRows, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
|
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export { Peek, PeekProps } from './components/Peek.js';
|
|
|
29
29
|
export { DEFAULT_LIGHTBOX_LABELS, Lightbox, LightboxItem, LightboxLabels, LightboxProps } from './components/Lightbox.js';
|
|
30
30
|
export { Card, CardLink, CardLinkProps, CardProps } from './components/Card.js';
|
|
31
31
|
export { DashboardGrid, DashboardGridBreakpoint, DashboardGridColumnCount, DashboardGridColumns, DashboardGridGap, DashboardGridItem, DashboardGridItemProps, DashboardGridProps, DashboardGridSpan, dashboardGridClassName, dashboardGridItemClassName } from './components/DashboardGrid.js';
|
|
32
|
+
export { DEFAULT_DASHBOARD_CANVAS_LABELS, DashboardCanvas, DashboardCanvasChange, DashboardCanvasGap, DashboardCanvasLabels, DashboardCanvasProps } from './components/DashboardCanvas.js';
|
|
33
|
+
export { DASHBOARD_CANVAS_COLUMNS, DashboardCanvasDirection, DashboardCanvasItem, DashboardCanvasPlacement, DashboardCanvasResize, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, compactCanvas, moveCanvasItem, normalizeCanvas, placeCanvasItem, resizeCanvasItem } from './dashboard-canvas-model.js';
|
|
32
34
|
export { BreadcrumbItem, Breadcrumbs, BreadcrumbsProps } from './components/Breadcrumbs.js';
|
|
33
35
|
export { PageHeader, PageHeaderProps } from './components/PageHeader.js';
|
|
34
36
|
export { DetailLayout, DetailLayoutProps } from './components/DetailLayout.js';
|
package/dist/index.js
CHANGED
|
@@ -29,6 +29,22 @@ import { Peek } from "./components/Peek.js";
|
|
|
29
29
|
import { Lightbox, DEFAULT_LIGHTBOX_LABELS } from "./components/Lightbox.js";
|
|
30
30
|
import { Card, CardLink } from "./components/Card.js";
|
|
31
31
|
import { DashboardGrid, DashboardGridItem, dashboardGridClassName, dashboardGridItemClassName } from "./components/DashboardGrid.js";
|
|
32
|
+
import { DashboardCanvas, DEFAULT_DASHBOARD_CANVAS_LABELS } from "./components/DashboardCanvas.js";
|
|
33
|
+
import {
|
|
34
|
+
DASHBOARD_CANVAS_COLUMNS,
|
|
35
|
+
canvasItemLimits,
|
|
36
|
+
clampCanvasItem,
|
|
37
|
+
canvasItemsOverlap,
|
|
38
|
+
canvasReadingOrder,
|
|
39
|
+
canvasRowCount,
|
|
40
|
+
normalizeCanvas,
|
|
41
|
+
placeCanvasItem,
|
|
42
|
+
canvasMoveTarget,
|
|
43
|
+
canvasResizeTarget,
|
|
44
|
+
moveCanvasItem,
|
|
45
|
+
resizeCanvasItem,
|
|
46
|
+
compactCanvas
|
|
47
|
+
} from "./dashboard-canvas-model.js";
|
|
32
48
|
import { Breadcrumbs } from "./components/Breadcrumbs.js";
|
|
33
49
|
import { PageHeader } from "./components/PageHeader.js";
|
|
34
50
|
import { DetailLayout } from "./components/DetailLayout.js";
|
|
@@ -255,11 +271,13 @@ export {
|
|
|
255
271
|
ContentList,
|
|
256
272
|
ContentListItem,
|
|
257
273
|
CopyButton,
|
|
274
|
+
DASHBOARD_CANVAS_COLUMNS,
|
|
258
275
|
DAY,
|
|
259
276
|
DEFAULT_ATTACHMENT_LABELS,
|
|
260
277
|
DEFAULT_BRAND_PROFILE_EDITOR_LABELS,
|
|
261
278
|
DEFAULT_BUILDER_CANVAS_LABELS,
|
|
262
279
|
DEFAULT_COLOR_PICKER_LABELS,
|
|
280
|
+
DEFAULT_DASHBOARD_CANVAS_LABELS,
|
|
263
281
|
DEFAULT_DATE_PICKER_LABELS,
|
|
264
282
|
DEFAULT_DATE_RANGE_PICKER_LABELS,
|
|
265
283
|
DEFAULT_DATE_TIME_PICKER_LABELS,
|
|
@@ -285,6 +303,7 @@ export {
|
|
|
285
303
|
DEFAULT_STEP_STATE_LABELS,
|
|
286
304
|
DEFAULT_TEXT_DIFF_LABELS,
|
|
287
305
|
DEFAULT_TREE_LABELS,
|
|
306
|
+
DashboardCanvas,
|
|
288
307
|
DashboardGrid,
|
|
289
308
|
DashboardGridItem,
|
|
290
309
|
DatePicker,
|
|
@@ -436,9 +455,17 @@ export {
|
|
|
436
455
|
buildMonthGrid,
|
|
437
456
|
buildThreeWayDiff,
|
|
438
457
|
cachedDateTimeFormat,
|
|
458
|
+
canvasItemLimits,
|
|
459
|
+
canvasItemsOverlap,
|
|
460
|
+
canvasMoveTarget,
|
|
461
|
+
canvasReadingOrder,
|
|
462
|
+
canvasResizeTarget,
|
|
463
|
+
canvasRowCount,
|
|
464
|
+
clampCanvasItem,
|
|
439
465
|
clampMetricValue,
|
|
440
466
|
classifyLayeredEdges,
|
|
441
467
|
clusterIdFor,
|
|
468
|
+
compactCanvas,
|
|
442
469
|
computePosition,
|
|
443
470
|
contrastRatio,
|
|
444
471
|
createToastApi,
|
|
@@ -483,8 +510,10 @@ export {
|
|
|
483
510
|
mapRuleGroup,
|
|
484
511
|
matchFilterPreset,
|
|
485
512
|
meetsContrast,
|
|
513
|
+
moveCanvasItem,
|
|
486
514
|
moveRuleNode,
|
|
487
515
|
normalQuantile,
|
|
516
|
+
normalizeCanvas,
|
|
488
517
|
normalizeHex,
|
|
489
518
|
orgChartInitials,
|
|
490
519
|
orgChartZoomStep,
|
|
@@ -494,6 +523,7 @@ export {
|
|
|
494
523
|
parseMetricValue,
|
|
495
524
|
partitionFiles,
|
|
496
525
|
pixelsToMs,
|
|
526
|
+
placeCanvasItem,
|
|
497
527
|
placeSpan,
|
|
498
528
|
placesInTopLane,
|
|
499
529
|
predictionBand,
|
|
@@ -504,6 +534,7 @@ export {
|
|
|
504
534
|
relativeTimeValue,
|
|
505
535
|
removeRuleNode,
|
|
506
536
|
renderPlainLink,
|
|
537
|
+
resizeCanvasItem,
|
|
507
538
|
restoreBrandProfile,
|
|
508
539
|
rgbToHex,
|
|
509
540
|
rgbToHsv,
|