@leta-io/components 0.2.0 → 0.3.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 +36 -0
- package/dist/index.d.ts +170 -2
- package/dist/index.js +971 -595
- package/package.json +11 -5
package/README.md
CHANGED
|
@@ -25,6 +25,42 @@ attribute. Import `@leta-io/design-tokens/dark-elevation.css` **after** the base
|
|
|
25
25
|
tokens — dark shadows need a hairline ring to read against a near-black surface,
|
|
26
26
|
and load order decides the winner.
|
|
27
27
|
|
|
28
|
+
## Overlays
|
|
29
|
+
|
|
30
|
+
`Popover`, `MenuPanel`, `MenuDivider`, `MenuFlyout` and `DialogOverlay` are the
|
|
31
|
+
same overlay primitives the LETA platform uses, published since 0.3.0 so you
|
|
32
|
+
don't have to rebuild them. Use them rather than hand-rolling a popover — they
|
|
33
|
+
carry behaviour that is easy to get wrong and hard to notice:
|
|
34
|
+
|
|
35
|
+
- **One popover open at a time**, platform-wide — opening one closes the last.
|
|
36
|
+
- **Escape closes only the topmost overlay**, then the next press closes the one
|
|
37
|
+
beneath it.
|
|
38
|
+
- **Focus returns to the trigger** when a popover closes.
|
|
39
|
+
- **A closing popover stops blocking clicks immediately**, not when its exit
|
|
40
|
+
animation ends — so a stalled animation can never leave an invisible layer
|
|
41
|
+
swallowing every click on the page.
|
|
42
|
+
- **`MenuFlyout`** opens a cascading submenu beside a menu row without closing
|
|
43
|
+
the parent menu.
|
|
44
|
+
|
|
45
|
+
```tsx
|
|
46
|
+
import { Popover, MenuPanel, DialogOverlay } from '@leta-io/components';
|
|
47
|
+
|
|
48
|
+
<Popover anchorRect={rect} onClose={close} placement="bottom-end">
|
|
49
|
+
<MenuPanel width={220}>{/* DesktopMenuOptions rows */}</MenuPanel>
|
|
50
|
+
</Popover>
|
|
51
|
+
|
|
52
|
+
<DialogOverlay onClose={close}>
|
|
53
|
+
{({ close }) => <ModalDialog onCancel={close} /* … */ />}
|
|
54
|
+
</DialogOverlay>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**Stacking.** `DialogOverlay`'s `tier` is the scrim's z-index (the panel sits
|
|
58
|
+
one above), defaulting to `DIALOG_OVERLAY_DEFAULT_TIER`. A dialog opened from
|
|
59
|
+
*inside* another overlay — a drawer, say — must pass a tier above it, or it
|
|
60
|
+
renders underneath. Keep a named tier map in your app rather than scattering bare
|
|
61
|
+
numbers; the design system deliberately doesn't ship one, because it can't know
|
|
62
|
+
how your surfaces stack.
|
|
63
|
+
|
|
28
64
|
## Peer dependencies
|
|
29
65
|
|
|
30
66
|
React 18 or 19. `leaflet` and `lottie-web` are required only if you use the map
|
package/dist/index.d.ts
CHANGED
|
@@ -213,7 +213,17 @@ interface TagProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'children
|
|
|
213
213
|
onRemove?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
214
214
|
/** Accessible label for the remove button. Default: "Remove". */
|
|
215
215
|
removeLabel?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Colour family (Figma `Tags` `7751:28982` `Color` axis, added 2026-09-25).
|
|
218
|
+
*
|
|
219
|
+
* `information` is the original Sky Blue; `neutral` was added alongside it and
|
|
220
|
+
* is what completed the `--surface/border-neutral-desktop-badge-*` token family
|
|
221
|
+
* in the same Figma change. Neutral takes `--text-default-label` rather than a
|
|
222
|
+
* `--text-neutral-label`, which does not exist.
|
|
223
|
+
*/
|
|
224
|
+
color?: TagColor;
|
|
216
225
|
}
|
|
226
|
+
type TagColor = 'information' | 'neutral';
|
|
217
227
|
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
218
228
|
|
|
219
229
|
interface ChipProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
|
|
@@ -1614,6 +1624,155 @@ interface ModalShellProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1614
1624
|
*/
|
|
1615
1625
|
declare const ModalShell: React.ForwardRefExoticComponent<ModalShellProps & React.RefAttributes<HTMLDivElement>>;
|
|
1616
1626
|
|
|
1627
|
+
type PopoverPlacement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
1628
|
+
interface PopoverProps$1 {
|
|
1629
|
+
/** The trigger's bounding rect (e.g. from `el.getBoundingClientRect()`). */
|
|
1630
|
+
anchorRect: DOMRect | null;
|
|
1631
|
+
onClose: () => void;
|
|
1632
|
+
placement?: PopoverPlacement;
|
|
1633
|
+
/**
|
|
1634
|
+
* Whether a `bottom-*` panel may flip above the trigger when it would overflow
|
|
1635
|
+
* the viewport bottom. Default `true`.
|
|
1636
|
+
*
|
|
1637
|
+
* Pass `false` for an anchored panel that must **never** appear on top of or
|
|
1638
|
+
* beside its trigger — a panel hanging off a top-bar control, for instance.
|
|
1639
|
+
* Flipping is not the only thing this turns off: the
|
|
1640
|
+
* default path also *shifts* a too-tall panel upward to fit, which drags it over
|
|
1641
|
+
* the very control it is anchored to. With `flip: false` the top edge stays
|
|
1642
|
+
* `offset` below the trigger, and the panel is expected to constrain its own
|
|
1643
|
+
* height (see `maxHeight` on the child) so its content scrolls instead.
|
|
1644
|
+
*/
|
|
1645
|
+
flip?: boolean;
|
|
1646
|
+
/** Gap between the trigger and the panel. Default 4px. */
|
|
1647
|
+
offset?: number;
|
|
1648
|
+
children: React.ReactNode;
|
|
1649
|
+
}
|
|
1650
|
+
/**
|
|
1651
|
+
* Popover — a portal-based overlay positioned from a trigger's bounding rect.
|
|
1652
|
+
*
|
|
1653
|
+
* Renders into `document.body` (escaping any ancestor stacking context — e.g. the
|
|
1654
|
+
* Table's bordered/overflow card that previously buried dropdowns *under* page
|
|
1655
|
+
* content) with a click-catching backdrop and a `zIndex` above the Toast region
|
|
1656
|
+
* (1000) and the fixed Bulk Actions Toolbar (50).
|
|
1657
|
+
*
|
|
1658
|
+
* The panel is unstyled — the caller supplies a design-system surface
|
|
1659
|
+
* (`DesktopDropdowns` / `DateTimePicker` render their own chrome; composed
|
|
1660
|
+
* `DesktopMenuOptions` menus use {@link MenuPanel}). The panel is clamped to the
|
|
1661
|
+
* viewport and flips above the trigger when it would overflow the bottom edge.
|
|
1662
|
+
*
|
|
1663
|
+
* **Single-open (Doc 3 §1):** opening a Popover force-closes any other open
|
|
1664
|
+
* Popover, platform-wide. **Escape (Doc 3 §10):** registered on the shared
|
|
1665
|
+
* `@leta-io/components` overlay stack, so Escape closes only the topmost overlay
|
|
1666
|
+
* even when a Popover is nested inside a modal/drawer. **Focus-return (Doc 3
|
|
1667
|
+
* §1.3/§10):** the element focused at the moment this Popover opened (almost
|
|
1668
|
+
* always its trigger — clicking a button focuses it) regains focus once the
|
|
1669
|
+
* Popover closes, however it closed.
|
|
1670
|
+
*/
|
|
1671
|
+
declare function Popover({ anchorRect, onClose, placement, flip, offset, children, }: PopoverProps$1): React.ReactElement | null;
|
|
1672
|
+
/**
|
|
1673
|
+
* MenuPanel — the design-system dropdown card chrome (white surface, 1px border,
|
|
1674
|
+
* `--rounding-xl`, `--shadow-neutral-3`, 8px padding) for composed
|
|
1675
|
+
* `DesktopMenuOptions` menus rendered inside a {@link Popover}. Mirrors the
|
|
1676
|
+
* chrome `DesktopDropdowns` applies to its own panels.
|
|
1677
|
+
*/
|
|
1678
|
+
declare function MenuPanel({ width, children, }: {
|
|
1679
|
+
width?: number;
|
|
1680
|
+
children: React.ReactNode;
|
|
1681
|
+
}): React.ReactElement;
|
|
1682
|
+
/**
|
|
1683
|
+
* A 1px section demarcator inside a {@link MenuPanel}.
|
|
1684
|
+
*
|
|
1685
|
+
* **Default: full-bleed** — negative horizontal margin cancels the panel's 8px
|
|
1686
|
+
* padding so the line spans edge-to-edge (the Figma Actions Dropdown's full-width
|
|
1687
|
+
* section borders), while the rows keep their padding.
|
|
1688
|
+
*
|
|
1689
|
+
* **`inset`** — the line spans only the padded content width (panel − 16), sitting
|
|
1690
|
+
* within the 8px gutter — e.g. a 344px divider inside a 360px, 8px-padded panel.
|
|
1691
|
+
*/
|
|
1692
|
+
declare function MenuDivider({ inset }?: {
|
|
1693
|
+
inset?: boolean;
|
|
1694
|
+
}): React.ReactElement;
|
|
1695
|
+
/**
|
|
1696
|
+
* **A cascading submenu, layered above an open `Popover`.**
|
|
1697
|
+
*
|
|
1698
|
+
* A menu row that opens a further menu cannot use `Popover`: it is single-open
|
|
1699
|
+
* platform-wide, so mounting a second one force-closes the menu the row belongs to.
|
|
1700
|
+
* This is the standing answer — its own `position: fixed` portal at zIndex 2001,
|
|
1701
|
+
* one layer above a `Popover` panel (2000), so the parent menu stays open behind it.
|
|
1702
|
+
* The parent's backdrop still handles click-away (dismissing both) and its Escape
|
|
1703
|
+
* layer still closes the pair, so the submenu needs neither of its own.
|
|
1704
|
+
*
|
|
1705
|
+
* Placement is measured after layout, so the panel's real height and width clamp it
|
|
1706
|
+
* to the viewport rather than a guessed size. `prefer` picks the side it opens on
|
|
1707
|
+
* first; it flips to the other side only when that one would clip. A cascading
|
|
1708
|
+
* submenu opens to the **right** (the Figma context menu draws it there), while a
|
|
1709
|
+
* panel hanging off a right-anchored menu (one at the top-right of the page) wants
|
|
1710
|
+
* `left`.
|
|
1711
|
+
*
|
|
1712
|
+
* Callers own the content — pass a `MenuPanel`.
|
|
1713
|
+
*/
|
|
1714
|
+
declare function MenuFlyout({ rowRect, prefer, children, }: {
|
|
1715
|
+
/** The parent row's viewport rect — the flyout anchors beside it. */
|
|
1716
|
+
rowRect: DOMRect;
|
|
1717
|
+
/** Which side to try first. Flips only if that side would clip. */
|
|
1718
|
+
prefer?: 'left' | 'right';
|
|
1719
|
+
children: React.ReactNode;
|
|
1720
|
+
}): React.ReactElement;
|
|
1721
|
+
|
|
1722
|
+
/** Props of {@link Popover} — derived, since the component declares them inline. */
|
|
1723
|
+
type PopoverProps = React.ComponentProps<typeof Popover>;
|
|
1724
|
+
type MenuPanelProps = React.ComponentProps<typeof MenuPanel>;
|
|
1725
|
+
type MenuFlyoutProps = React.ComponentProps<typeof MenuFlyout>;
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* Scrim + animated, centred panel for a dialog — enter and exit choreographed
|
|
1729
|
+
* with interruptible CSS transitions (ease-out in, ease-in out), so every dialog
|
|
1730
|
+
* built on it opens and closes the same way.
|
|
1731
|
+
*
|
|
1732
|
+
* The dialog's own `onCancel`/`onClose`/`onConfirm` must call the `close` (or
|
|
1733
|
+
* `closeAnd`) helper handed to the render-prop children — NOT the `onClose`
|
|
1734
|
+
* prop directly — so the exit animation plays before the parent actually
|
|
1735
|
+
* unmounts this component (a parent that clears its own state synchronously on
|
|
1736
|
+
* confirm/close would otherwise skip the exit entirely).
|
|
1737
|
+
*
|
|
1738
|
+
* ## Stacking (`tier`)
|
|
1739
|
+
*
|
|
1740
|
+
* `tier` is the **scrim's** z-index; the panel sits one above it. The default
|
|
1741
|
+
* suits a dialog over a page. A dialog opened from *inside* another overlay — a
|
|
1742
|
+
* drawer, say — must sit above that overlay, and only the host knows how its
|
|
1743
|
+
* overlays stack, so it passes the tier explicitly.
|
|
1744
|
+
*
|
|
1745
|
+
* ⚠ A dialog that shares its host's z-index ties with it and wins only on DOM
|
|
1746
|
+
* order — which is how a proof viewer once rendered underneath the drawer that
|
|
1747
|
+
* opened it. Keep a named tier map in the host app rather than scattering bare
|
|
1748
|
+
* numbers, so "above that drawer" is something you express instead of something
|
|
1749
|
+
* you get away with.
|
|
1750
|
+
*/
|
|
1751
|
+
/** The default scrim z-index — a dialog opened over a page. */
|
|
1752
|
+
declare const DIALOG_OVERLAY_DEFAULT_TIER = 1600;
|
|
1753
|
+
interface DialogOverlayHelpers {
|
|
1754
|
+
/** Plays the exit animation, then calls the parent's `onClose`. */
|
|
1755
|
+
close: () => void;
|
|
1756
|
+
/** Plays the exit animation, then calls `fn` (e.g. the parent's `onConfirm`). */
|
|
1757
|
+
closeAnd: (fn: () => void) => void;
|
|
1758
|
+
}
|
|
1759
|
+
declare function DialogOverlay({ onClose, children, extra, tier, }: {
|
|
1760
|
+
onClose: () => void;
|
|
1761
|
+
children: (helpers: DialogOverlayHelpers) => React.ReactNode;
|
|
1762
|
+
/** Additional portal content rendered as a sibling of the animated panel
|
|
1763
|
+
* (e.g. a date picker popover the dialog opens) — not itself animated. */
|
|
1764
|
+
extra?: React.ReactNode;
|
|
1765
|
+
/**
|
|
1766
|
+
* The scrim's z-index, with the panel one above. Defaults to a dialog over the
|
|
1767
|
+
* page ({@link DIALOG_OVERLAY_DEFAULT_TIER}); pass the owning overlay's tier when
|
|
1768
|
+
* the dialog opens from inside one, or it renders underneath it.
|
|
1769
|
+
*/
|
|
1770
|
+
tier?: number;
|
|
1771
|
+
}): React.ReactElement;
|
|
1772
|
+
|
|
1773
|
+
/** Props of {@link DialogOverlay} — derived, since the component declares them inline. */
|
|
1774
|
+
type DialogOverlayProps = React.ComponentProps<typeof DialogOverlay>;
|
|
1775
|
+
|
|
1617
1776
|
/**
|
|
1618
1777
|
* Registers this overlay on the shared {@link pushOverlay} stack while
|
|
1619
1778
|
* `active`, so Escape closes only the topmost overlay (Doc 3 §10) no matter
|
|
@@ -1707,7 +1866,16 @@ interface NotificationBannerProps extends Omit<React.HTMLAttributes<HTMLDivEleme
|
|
|
1707
1866
|
type?: NotificationBannerType;
|
|
1708
1867
|
variant?: NotificationBannerVariant;
|
|
1709
1868
|
title?: string;
|
|
1710
|
-
|
|
1869
|
+
/**
|
|
1870
|
+
* The banner's body copy.
|
|
1871
|
+
*
|
|
1872
|
+
* A **node** is accepted as well as a string so copy that quotes a *changing*
|
|
1873
|
+
* figure can style just that figure — a live countdown needs tabular figures and
|
|
1874
|
+
* a reserved width, or the rest of the sentence shifts each time the number
|
|
1875
|
+
* loses a digit. Plain copy should stay a string: `\n` line breaks are honoured
|
|
1876
|
+
* via `white-space: pre-line`, which a node has to author itself.
|
|
1877
|
+
*/
|
|
1878
|
+
description: React.ReactNode;
|
|
1711
1879
|
/** Override the leading icon (defaults to the icon derived from `type`). */
|
|
1712
1880
|
icon?: IconName;
|
|
1713
1881
|
onDismiss?: () => void;
|
|
@@ -4716,4 +4884,4 @@ interface ExtraLargeModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>
|
|
|
4716
4884
|
*/
|
|
4717
4885
|
declare const ExtraLargeModal: React.ForwardRefExoticComponent<ExtraLargeModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
4718
4886
|
|
|
4719
|
-
export { ALL_ORDER_COLUMNS, AVATAR_PHOTOS, AccordionChevron, AccordionContent, AccordionHeader, type AccordionHeaderProps, AlertDialog, type AlertDialogProps, type AlertDialogVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarTone, BROADCASTED_ORDER_COLUMNS, Badge, type BadgeColor, type BadgeProps, type BreadcrumbCrumb, Breadcrumbs, type BreadcrumbsProps, type BreadcrumbsType, BulkActionsToolbar, type BulkActionsToolbarProps, Button, type ButtonPlatform, type ButtonProps, type ButtonSize, type ButtonVariant, CARET_SIDE, CREATED_BY_COLUMN, Calendar, type CalendarProps, type CaretAlign, type CaretSide, CarouselPagination, type CarouselPaginationProps, Cell, type CellProps, type CellState, type CellType, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsedSidebarLogo, type CollapsedSidebarLogoProps, ConfigurationCard, type ConfigurationCardProps, ConfigurationCardRow, type ConfigurationCardRowProps, type ConfigurationCardVariant, ContentCard, type ContentCardProps, ContentPrimitives, type ContentPrimitivesProps, type ContentPrimitivesType, DOORSTEP_DELIVERY_IMAGE, type DataRowCell, DataRows, type DataRowsProps, type DataRowsState, type DataRowsVariant, DateTimePicker, type DateTimePickerProps, type DateTimePickerType, type DesktopDropdownVariant, DesktopDropdowns, type DesktopDropdownsProps, type DesktopMenuOptionState, type DesktopMenuOptionType, DesktopMenuOptions, type DesktopMenuOptionsProps, DesktopMetricCard, type DesktopMetricCardProps, DesktopProgressIndicator, type DesktopProgressIndicatorProps, type DesktopProgressIndicatorVariant, DesktopSegmentControl, type DesktopSegmentControlItem, type DesktopSegmentControlProps, type DesktopSegmentControlVariant, DurationLabel, type DurationLabelProps, type DurationLabelStatus, type DurationLabelVariant, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateType, ExtraLargeModal, type ExtraLargeModalProps, FeaturedIcon, type FeaturedIconColor, type FeaturedIconProps, type FeaturedIconSize, FileUpload, FileUploadCard, type FileUploadCardProps, type FileUploadCardStatus, type FileUploadProps, type FilterGroupDimension, Flag, type FlagProps, FooterFrame, type FooterFrameProps, type FooterFrameVariant, FormDemarcator, GroupedInput, type GroupedInputProps, type GroupedInputVariant, HoverTip, type HoverTipProps, InputField, type InputFieldProps, type InputFieldVariant, InputGroup, type InputGroupProps, InputSection, type InputSectionProps, LAST_UPDATED_COLUMN, LargeModal, type LargeModalProps, type LargeModalVariant, LeadingInputFieldElement, type LeadingInputFieldElementProps, type LeadingInputFieldElementVariant, LetaLogo, type LetaLogoProps, ListGroup, type ListGroupProps, type ListItemData, ListSection, type ListSectionProps, LoadingOverlay, type LoadingOverlayProps, MAP_ROUTE_DRIVEN, MAP_ROUTE_PLANNED, MapIcon, type MapIconProps, type MapIconVariant, MapLegend, type MapLegendEntry, type MapLegendProps, MapSearchInput, type MapSearchInputProps, MapView, type MapViewProps, MapZoomControl, type MapZoomControlProps, type MetricCardState, type MetricVariance, MobileBadge, type MobileBadgeColor, type MobileBadgeProps, type MobileBadgeVariant, MobileChip, type MobileChipProps, MobileDropdown, type MobileDropdownOption, type MobileDropdownProps, MobileFeaturedIcon, type MobileFeaturedIconColor, type MobileFeaturedIconProps, type MobileFeaturedIconSize, type MobileFeaturedIconVariant, MobileFileUpload, type MobileFileUploadImage, type MobileFileUploadProps, MobileMapSearchInput, type MobileMapSearchInputProps, type MobileMenuOptionState, type MobileMenuOptionType, MobileMenuOptions, type MobileMenuOptionsProps, MobileNavTab, type MobileNavTabProps, MobileSearchInput, type MobileSearchInputProps, MobileSegment, type MobileSegmentProps, ModalDialog, type ModalDialogProps, type ModalDialogVariant, ModalHeaders, type ModalHeadersProps, type ModalHeadersVariant, ModalShell, type ModalShellProps, NotificationBanner, type NotificationBannerProps, type NotificationBannerType, type NotificationBannerVariant, ORDER_TABLE_COLUMNS, ORDER_TABLE_COLUMNS_FINISHED, OptionCard, type OptionCardProps, type OptionCardState, Page, type PageProps, PageTab, type PageTabProps, PageTabsControl, type PageTabsControlItem, type PageTabsControlProps, type PageTabsControlVariant, type PageVariant, Pagination, type PaginationProps, type PaginationVariant, Placeholder, type PlaceholderProps, ProgressTracker, type ProgressTrackerProps, RadioButton, type RadioButtonProps, SCHEDULED_ORDER_COLUMNS, SIGNATURE_IMAGE, type ScrollEdges, SearchInput, type SearchInputProps, SegmentSwitcherTab, type SegmentSwitcherTabProps, Select, type SelectProps, SelectionControl, type SelectionControlProps, type SelectionControlVariant, Shortcut, type ShortcutProps, SideBar, type SideBarGroup, type SideBarItem, type SideBarProps, type SideBarVariant, Sidetab, type SidetabItem, type SidetabProps, Skeleton, type SkeletonProps, StackedCards, type StackedCardsProps, Stepper, StepperInput, type StepperInputProps, type StepperProps, type StepperVariant, Table, type TableColumn, type TableColumnRole, TableContainer, type TableContainerProps, type TableContainerVariant, TableDataControl, type TableDataControlProps, type TableDataControlVariant, type TableProps, type TableRow, TableSection, type TableSectionProps, Tag, type TagProps, TextArea, type TextAreaBasicProps, type TextAreaProps, type TextAreaRichProps, type TextAreaVariant, Title, type TitleProps, type TitleVariant, Toast, type ToastProps, type ToastType, Toggle, ToggleButton, type ToggleButtonProps, type ToggleProps, Tooltip, type TooltipPlatform, type TooltipPosition, type TooltipPositionInput, type TooltipProps, type TooltipRect, type TooltipSide, type TooltipVariant, TopBar, type TopBarProps, type TopBarVariant, TopFilter, type TopFilterProps, TopFilterSection, type TopFilterSectionItem, type TopFilterSectionProps, TrailingInputFieldElement, type TrailingInputFieldElementProps, type TrailingInputFieldElementVariant, UNASSIGNED_ORDER_COLUMNS, UserMenu, type UserMenuProps, type UserMenuState, ViewSwitcherTab, type ViewSwitcherTabProps, WizardTab, type WizardTabProps, animateScrollTop, computeTooltipPosition, downloadFile, htmlToPlainText, sanitizeRichText, useAccordion, useEscapeLayer, useRovingFocus, useScrollEdges, useScrollShadow };
|
|
4887
|
+
export { ALL_ORDER_COLUMNS, AVATAR_PHOTOS, AccordionChevron, AccordionContent, AccordionHeader, type AccordionHeaderProps, AlertDialog, type AlertDialogProps, type AlertDialogVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarTone, BROADCASTED_ORDER_COLUMNS, Badge, type BadgeColor, type BadgeProps, type BreadcrumbCrumb, Breadcrumbs, type BreadcrumbsProps, type BreadcrumbsType, BulkActionsToolbar, type BulkActionsToolbarProps, Button, type ButtonPlatform, type ButtonProps, type ButtonSize, type ButtonVariant, CARET_SIDE, CREATED_BY_COLUMN, Calendar, type CalendarProps, type CaretAlign, type CaretSide, CarouselPagination, type CarouselPaginationProps, Cell, type CellProps, type CellState, type CellType, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsedSidebarLogo, type CollapsedSidebarLogoProps, ConfigurationCard, type ConfigurationCardProps, ConfigurationCardRow, type ConfigurationCardRowProps, type ConfigurationCardVariant, ContentCard, type ContentCardProps, ContentPrimitives, type ContentPrimitivesProps, type ContentPrimitivesType, DIALOG_OVERLAY_DEFAULT_TIER, DOORSTEP_DELIVERY_IMAGE, type DataRowCell, DataRows, type DataRowsProps, type DataRowsState, type DataRowsVariant, DateTimePicker, type DateTimePickerProps, type DateTimePickerType, type DesktopDropdownVariant, DesktopDropdowns, type DesktopDropdownsProps, type DesktopMenuOptionState, type DesktopMenuOptionType, DesktopMenuOptions, type DesktopMenuOptionsProps, DesktopMetricCard, type DesktopMetricCardProps, DesktopProgressIndicator, type DesktopProgressIndicatorProps, type DesktopProgressIndicatorVariant, DesktopSegmentControl, type DesktopSegmentControlItem, type DesktopSegmentControlProps, type DesktopSegmentControlVariant, DialogOverlay, type DialogOverlayHelpers, type DialogOverlayProps, DurationLabel, type DurationLabelProps, type DurationLabelStatus, type DurationLabelVariant, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateType, ExtraLargeModal, type ExtraLargeModalProps, FeaturedIcon, type FeaturedIconColor, type FeaturedIconProps, type FeaturedIconSize, FileUpload, FileUploadCard, type FileUploadCardProps, type FileUploadCardStatus, type FileUploadProps, type FilterGroupDimension, Flag, type FlagProps, FooterFrame, type FooterFrameProps, type FooterFrameVariant, FormDemarcator, GroupedInput, type GroupedInputProps, type GroupedInputVariant, HoverTip, type HoverTipProps, InputField, type InputFieldProps, type InputFieldVariant, InputGroup, type InputGroupProps, InputSection, type InputSectionProps, LAST_UPDATED_COLUMN, LargeModal, type LargeModalProps, type LargeModalVariant, LeadingInputFieldElement, type LeadingInputFieldElementProps, type LeadingInputFieldElementVariant, LetaLogo, type LetaLogoProps, ListGroup, type ListGroupProps, type ListItemData, ListSection, type ListSectionProps, LoadingOverlay, type LoadingOverlayProps, MAP_ROUTE_DRIVEN, MAP_ROUTE_PLANNED, MapIcon, type MapIconProps, type MapIconVariant, MapLegend, type MapLegendEntry, type MapLegendProps, MapSearchInput, type MapSearchInputProps, MapView, type MapViewProps, MapZoomControl, type MapZoomControlProps, MenuDivider, MenuFlyout, type MenuFlyoutProps, MenuPanel, type MenuPanelProps, type MetricCardState, type MetricVariance, MobileBadge, type MobileBadgeColor, type MobileBadgeProps, type MobileBadgeVariant, MobileChip, type MobileChipProps, MobileDropdown, type MobileDropdownOption, type MobileDropdownProps, MobileFeaturedIcon, type MobileFeaturedIconColor, type MobileFeaturedIconProps, type MobileFeaturedIconSize, type MobileFeaturedIconVariant, MobileFileUpload, type MobileFileUploadImage, type MobileFileUploadProps, MobileMapSearchInput, type MobileMapSearchInputProps, type MobileMenuOptionState, type MobileMenuOptionType, MobileMenuOptions, type MobileMenuOptionsProps, MobileNavTab, type MobileNavTabProps, MobileSearchInput, type MobileSearchInputProps, MobileSegment, type MobileSegmentProps, ModalDialog, type ModalDialogProps, type ModalDialogVariant, ModalHeaders, type ModalHeadersProps, type ModalHeadersVariant, ModalShell, type ModalShellProps, NotificationBanner, type NotificationBannerProps, type NotificationBannerType, type NotificationBannerVariant, ORDER_TABLE_COLUMNS, ORDER_TABLE_COLUMNS_FINISHED, OptionCard, type OptionCardProps, type OptionCardState, Page, type PageProps, PageTab, type PageTabProps, PageTabsControl, type PageTabsControlItem, type PageTabsControlProps, type PageTabsControlVariant, type PageVariant, Pagination, type PaginationProps, type PaginationVariant, Placeholder, type PlaceholderProps, Popover, type PopoverPlacement, type PopoverProps, ProgressTracker, type ProgressTrackerProps, RadioButton, type RadioButtonProps, SCHEDULED_ORDER_COLUMNS, SIGNATURE_IMAGE, type ScrollEdges, SearchInput, type SearchInputProps, SegmentSwitcherTab, type SegmentSwitcherTabProps, Select, type SelectProps, SelectionControl, type SelectionControlProps, type SelectionControlVariant, Shortcut, type ShortcutProps, SideBar, type SideBarGroup, type SideBarItem, type SideBarProps, type SideBarVariant, Sidetab, type SidetabItem, type SidetabProps, Skeleton, type SkeletonProps, StackedCards, type StackedCardsProps, Stepper, StepperInput, type StepperInputProps, type StepperProps, type StepperVariant, Table, type TableColumn, type TableColumnRole, TableContainer, type TableContainerProps, type TableContainerVariant, TableDataControl, type TableDataControlProps, type TableDataControlVariant, type TableProps, type TableRow, TableSection, type TableSectionProps, Tag, type TagProps, TextArea, type TextAreaBasicProps, type TextAreaProps, type TextAreaRichProps, type TextAreaVariant, Title, type TitleProps, type TitleVariant, Toast, type ToastProps, type ToastType, Toggle, ToggleButton, type ToggleButtonProps, type ToggleProps, Tooltip, type TooltipPlatform, type TooltipPosition, type TooltipPositionInput, type TooltipProps, type TooltipRect, type TooltipSide, type TooltipVariant, TopBar, type TopBarProps, type TopBarVariant, TopFilter, type TopFilterProps, TopFilterSection, type TopFilterSectionItem, type TopFilterSectionProps, TrailingInputFieldElement, type TrailingInputFieldElementProps, type TrailingInputFieldElementVariant, UNASSIGNED_ORDER_COLUMNS, UserMenu, type UserMenuProps, type UserMenuState, ViewSwitcherTab, type ViewSwitcherTabProps, WizardTab, type WizardTabProps, animateScrollTop, computeTooltipPosition, downloadFile, htmlToPlainText, sanitizeRichText, useAccordion, useEscapeLayer, useRovingFocus, useScrollEdges, useScrollShadow };
|