@uniformdev/design-system 20.63.1-alpha.12 → 20.63.1-alpha.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -17,7 +17,6 @@ import { InitialConfigType } from '@lexical/react/LexicalComposer';
17
17
  import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
18
18
  export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
19
19
  import { ElementNode, NodeKey, Spread, SerializedElementNode, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
20
- export { Id as ToastId, toast } from 'react-toastify';
21
20
  import * as _uniformdev_richtext from '@uniformdev/richtext';
22
21
  import { RichTextBuiltInElement } from '@uniformdev/richtext';
23
22
  export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
@@ -2823,6 +2822,7 @@ declare const DropdownStyleMenuTrigger: React$1.ForwardRefExoticComponent<Dropdo
2823
2822
 
2824
2823
  declare const legacyPlacements: readonly ["auto", "auto-start", "auto-end"];
2825
2824
  type LegacyPlacement = (typeof legacyPlacements)[number];
2825
+
2826
2826
  /**
2827
2827
  * @internal Hook used by MenuItem to detect when it is being rendered as the
2828
2828
  * `render` element of a Base UI SubmenuTrigger, so it can render a plain styled
@@ -2833,7 +2833,10 @@ declare function useIsSubmenuTriggerMode(): boolean;
2833
2833
  interface MenuProps extends Pick<React$1.HTMLAttributes<HTMLDivElement>, 'className' | 'id' | 'style'> {
2834
2834
  /** The component that triggers the menu functionality */
2835
2835
  menuTrigger: React$1.ReactElement & React$1.RefAttributes<any>;
2836
- /** (optional) placement options for the expandable menu */
2836
+ /**
2837
+ * (optional) placement options for the expandable menu.
2838
+ * Root menus default to `bottom-end` when omitted; use `bottom` for center alignment.
2839
+ */
2837
2840
  placement?: Placement | LegacyPlacement;
2838
2841
  /** (optional) allows users to set additional class names */
2839
2842
  menuItemsContainerCssClasses?: SerializedStyles | string;
@@ -3561,6 +3564,41 @@ declare const ModalDialog: React$1.ForwardRefExoticComponent<Omit<ModalDialogPro
3561
3564
  declare const ModalPortalContext: React$1.Context<HTMLElement | null>;
3562
3565
  declare function useModalPortalContainer(): HTMLElement | null;
3563
3566
 
3567
+ /**
3568
+ * Tracks the stack of currently open native `<dialog>` elements that have been
3569
+ * promoted to the browser's top layer via `HTMLDialogElement.showModal()`.
3570
+ *
3571
+ * Anything portalled to `document.body` is rendered behind any top-layer
3572
+ * dialog, which means toasts (whose Base UI portal defaults to `body`) would
3573
+ * be hidden behind an open modal. By keeping a shared stack here we can hand
3574
+ * the topmost dialog to `BaseToast.Portal`'s `container` prop and have toasts
3575
+ * portal _into_ that dialog while it is open, then fall back to `body` when no
3576
+ * modal is on screen.
3577
+ *
3578
+ * The stack supports nested modals — each `Modal` registers on mount /
3579
+ * `showModal()` and unregisters on cleanup, and listeners always receive the
3580
+ * topmost (last-pushed) entry.
3581
+ */
3582
+ /**
3583
+ * Push a dialog element onto the stack. Intended to be called by `Modal`
3584
+ * immediately after `showModal()` so the dialog can become the active toast
3585
+ * portal target.
3586
+ */
3587
+ declare const pushTopLayerDialog: (dialog: HTMLDialogElement) => void;
3588
+ /**
3589
+ * Remove a dialog element from the stack. Safe to call even if the dialog is
3590
+ * not currently in the stack (no-op in that case).
3591
+ */
3592
+ declare const popTopLayerDialog: (dialog: HTMLDialogElement) => void;
3593
+ /**
3594
+ * Subscribe to changes to the topmost open dialog. The listener is invoked
3595
+ * immediately with the current top (or `null` if no dialog is open) so
3596
+ * subscribers don't need a separate initial read.
3597
+ *
3598
+ * @returns A teardown function that removes the listener.
3599
+ */
3600
+ declare const subscribeTopLayerDialog: (listener: (top: HTMLDialogElement | null) => void) => (() => void);
3601
+
3564
3602
  /** Props for {@link ObjectGridContainer}. */
3565
3603
  type ObjectGridContainerProps = {
3566
3604
  /** Number of columns in the grid, passed to CSS `repeat()`.
@@ -3601,9 +3639,9 @@ type ObjectHeadingProps = {
3601
3639
  * Defines the common slot-based API for composing item layouts.
3602
3640
  */
3603
3641
  type ObjectItemProps = {
3604
- /** Slot for the header use {@link ObjectGridItemHeading} or {@link ObjectListItemHeading}. */
3605
- header: ReactNode;
3606
- /** Slot for the cover media use {@link ObjectGridItemCoverButton}, {@link ObjectGridItemCover}, or {@link ObjectListItemCover}. */
3642
+ /** Slot for the header component, we recommend using <ObjectGridItemHeading /> or <ObjectListItemHeading /> */
3643
+ header?: ReactNode;
3644
+ /** Slot for the cover component, we recommend using <ObjectGridItemCoverButton />, <ObjectGridItemCover /> or <ObjectListItemCover /> */
3607
3645
  cover: ReactNode;
3608
3646
  /** Slot rendered on the right side of the item (e.g. timestamps, status badges). */
3609
3647
  rightSlot?: React.ReactNode;
@@ -3707,7 +3745,7 @@ type ObjectGridItemCoverButtonProps = {
3707
3745
  * @default 'selected'
3708
3746
  */
3709
3747
  selectedText?: string;
3710
- } & Omit<ObjectGridItemCoverProps, 'coverSlotBottomRight'> & ObjectGridItemCardCoverProps;
3748
+ } & ObjectGridItemCoverProps & ObjectGridItemCardCoverProps;
3711
3749
  /**
3712
3750
  * Clickable variant of {@link ObjectGridItemCover} that acts as a selection toggle.
3713
3751
  * When selected, a chip with `selectedText` appears in the bottom-right corner.
@@ -3723,7 +3761,7 @@ type ObjectGridItemCoverButtonProps = {
3723
3761
  * />
3724
3762
  * ```
3725
3763
  */
3726
- declare const ObjectGridItemCoverButton: ({ id, isSelected, onSelection, selectedText, ...props }: ObjectGridItemCoverButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
3764
+ declare const ObjectGridItemCoverButton: ({ id, isSelected, onSelection, selectedText, coverSlotBottomRight, ...props }: ObjectGridItemCoverButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
3727
3765
 
3728
3766
  /** Props for {@link ObjectGridItemHeading}. */
3729
3767
  type ObjectGridItemTitleProps = ObjectHeadingProps & HTMLAttributes<HTMLDivElement>;
@@ -4980,6 +5018,8 @@ type StackedModalProps = {
4980
5018
  * @default 0
4981
5019
  */
4982
5020
  initialStep?: number;
5021
+ /** Sets the test ID on the underlying dialog. */
5022
+ 'data-testid'?: string;
4983
5023
  };
4984
5024
  /**
4985
5025
  * A modal component that supports multi-step content with sliding transitions.
@@ -5027,6 +5067,13 @@ type StackedModalStepProps = {
5027
5067
  */
5028
5068
  declare function StackedModalStep({ children, buttonGroup }: StackedModalStepProps): _emotion_react_jsx_runtime.JSX.Element;
5029
5069
 
5070
+ type StackedModalHeaderProps = {
5071
+ children: ReactNode;
5072
+ onBack?: () => void;
5073
+ icon?: IconType;
5074
+ };
5075
+ declare const StackedModalHeader: ({ children, onBack, icon }: StackedModalHeaderProps) => _emotion_react_jsx_runtime.JSX.Element;
5076
+
5030
5077
  type SwitchProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
5031
5078
  /** sets the label value */
5032
5079
  label: ReactNode;
@@ -5433,16 +5480,143 @@ type TileTitleProps = {
5433
5480
  } & HTMLAttributes<HTMLSpanElement>;
5434
5481
  declare const TileText: ({ as, children, ...props }: TileTitleProps) => _emotion_react_jsx_runtime.JSX.Element;
5435
5482
 
5483
+ /**
5484
+ * Identifier returned by `toast.*` calls. Kept as `string | number` for
5485
+ * backwards compatibility with the previous react-toastify `Id` type that
5486
+ * several consumers store in `useRef<number | string>`. Internally the
5487
+ * underlying Base UI manager always uses `string`.
5488
+ */
5489
+ type ToastId = string | number;
5490
+ /**
5491
+ * The shape consumers can store on a toast via the `data` field. Recognised
5492
+ * by the default `<ToastList>` renderer to render either a progress bar or
5493
+ * an inline Undo affordance, while keeping the imperative `toast.*` API
5494
+ * unchanged for the rest of the codebase.
5495
+ */
5496
+ type ToastData = {
5497
+ /** Progress-bar toast (used by `CopyValuesToLocales`). */
5498
+ kind: 'progress';
5499
+ /** Label rendered above the progress bar. */
5500
+ label: React__default.ReactNode;
5501
+ /** Completion ratio in the closed interval [0, 1]. */
5502
+ progress: number;
5503
+ } | {
5504
+ /** Toast with an inline 'Undo' button (used by the InlineAI popovers). */
5505
+ kind: 'undoable';
5506
+ /** Description rendered next to the Undo button. */
5507
+ description: React__default.ReactNode;
5508
+ /** Invoked when the user clicks the Undo button. */
5509
+ onUndo: () => void;
5510
+ /** Custom label for the Undo button. */
5511
+ undoLabel?: string;
5512
+ };
5513
+ /**
5514
+ * Per-call options accepted by every `toast.*` method. The shape mirrors the
5515
+ * legacy react-toastify options the design system used to forward.
5516
+ */
5517
+ type ToastOptions = {
5518
+ /**
5519
+ * Time in milliseconds before the toast is auto-dismissed. Pass `false` to
5520
+ * keep the toast open until it is dismissed manually (maps to Base UI's
5521
+ * `timeout: 0`).
5522
+ */
5523
+ autoClose?: number | false;
5524
+ /**
5525
+ * Stable id for the toast. When provided, calling a toast method again with
5526
+ * the same id updates the existing toast in place (and refreshes its
5527
+ * auto-dismiss timer) instead of stacking a new one. Useful for deduping
5528
+ * toasts triggered by repeated user actions.
5529
+ */
5530
+ toastId?: string;
5531
+ };
5532
+ /**
5533
+ * Promise-toast options accepted by `toast.promise`. Each handler may be a
5534
+ * static description string or a function that receives the resolved value /
5535
+ * rejection error and returns a description. All three keys are optional to
5536
+ * mirror react-toastify's behaviour where any unset state simply rendered an
5537
+ * empty toast (or none at all when the promise settled fast enough).
5538
+ */
5539
+ type ToastPromiseOptions<TValue, TError = unknown> = {
5540
+ /** Description shown while the promise is pending. */
5541
+ pending?: React__default.ReactNode;
5542
+ /** Description shown when the promise resolves. */
5543
+ success?: React__default.ReactNode | ((value: TValue) => React__default.ReactNode);
5544
+ /** Description shown when the promise rejects. */
5545
+ error?: React__default.ReactNode | ((error: TError) => React__default.ReactNode);
5546
+ };
5547
+ /**
5548
+ * Patch shape accepted by `toast.update`. A subset of Base UI's
5549
+ * `ToastManagerUpdateOptions<ToastData>` that consumers actually use.
5550
+ */
5551
+ type ToastUpdate = {
5552
+ type?: string;
5553
+ description?: React__default.ReactNode;
5554
+ timeout?: number;
5555
+ data?: ToastData;
5556
+ };
5557
+ /**
5558
+ * Imperative API for showing toasts from anywhere in the app. Mirrors the
5559
+ * historical react-toastify surface (`toast`, `.success`, `.error`, `.info`,
5560
+ * `.warning`, `.loading`, `.dismiss`, `.update`, `.done`, `.promise`) so the
5561
+ * ~200 existing call sites continue to work unchanged. Internally delegates
5562
+ * to the singleton Base UI `toastManager` mounted by `<ToastContainer />`.
5563
+ */
5564
+ declare const toast: ((description: React__default.ReactNode, options?: ToastOptions) => ToastId) & {
5565
+ success: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
5566
+ error: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
5567
+ info: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
5568
+ warning: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
5569
+ loading: (description: React__default.ReactNode) => ToastId;
5570
+ dismiss: (id?: ToastId) => void;
5571
+ update: (id: ToastId, patch: ToastUpdate) => void;
5572
+ /**
5573
+ * Closes the toast. Carried forward from the react-toastify API where
5574
+ * `done()` ended a `loading` toast — Base UI has no separate concept,
5575
+ * so this is an alias for `dismiss(id)`.
5576
+ */
5577
+ done: (id: ToastId) => void;
5578
+ /**
5579
+ * Wraps an async operation in a 3-state toast (loading / success / error).
5580
+ * Accepts either a `Promise` or a thunk returning a `Promise` to match the
5581
+ * historical react-toastify usage. The optional `TError` type argument
5582
+ * narrows the parameter type of the `error` callback for call sites that
5583
+ * historically supplied an explicit error type (e.g. `toast.promise<void, Error>`).
5584
+ *
5585
+ * Unlike Base UI's built-in `toastManager.promise`, this implementation
5586
+ * skips rendering toasts for states whose option is `undefined`. This
5587
+ * preserves the legacy react-toastify behaviour many call sites depend on
5588
+ * (e.g. save-draft flows omit `pending`/`success` and only want a toast
5589
+ * when the operation fails).
5590
+ */
5591
+ promise: <TValue, TError = unknown>(input: Promise<TValue> | (() => Promise<TValue>), options: ToastPromiseOptions<TValue, TError>) => Promise<TValue>;
5592
+ };
5436
5593
  type ToastContainerProps = {
5594
+ /**
5595
+ * Maximum number of toasts visible at once. Older toasts are dismissed when
5596
+ * the limit is exceeded.
5597
+ * @default 4
5598
+ */
5437
5599
  limit?: number;
5438
- /** sets the auto close delay in seconds normal: 5 seconds, medium: 8 seconds, long: 10 seconds
5600
+ /**
5601
+ * Default auto-close duration applied to every toast that does not specify
5602
+ * its own `autoClose` option.
5603
+ * - `'normal'` — 5 seconds
5604
+ * - `'medium'` — 8 seconds
5605
+ * - `'long'` — 10 seconds
5439
5606
  * @default 'normal'
5440
5607
  */
5441
5608
  autoCloseDelay?: 'normal' | 'medium' | 'long';
5442
5609
  };
5443
5610
  /**
5444
- * A component to render toasts in your app. This component is supposed to be used just once in your app. Typically inside _app.tsx
5445
- * @example <App><ToastContainer autoCloseDelay="normal" /></App>
5611
+ * Renders the global toast viewport. Intended to be mounted exactly once near
5612
+ * the root of the app (typically in `_app.tsx`).
5613
+ *
5614
+ * @example
5615
+ * ```tsx
5616
+ * <App>
5617
+ * <ToastContainer autoCloseDelay="normal" />
5618
+ * </App>
5619
+ * ```
5446
5620
  */
5447
5621
  declare const ToastContainer: ({ limit, autoCloseDelay }: ToastContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
5448
5622
 
@@ -5469,4 +5643,4 @@ declare const StatusBullet: ({ status, hideText, size, message, compact, ...prop
5469
5643
 
5470
5644
  declare const actionBarVisibilityStyles: _emotion_react.SerializedStyles;
5471
5645
 
5472
- export { AVATAR_SIZE_2XL, AVATAR_SIZE_2XS, AVATAR_SIZE_3XL, AVATAR_SIZE_LG, AVATAR_SIZE_MD, AVATAR_SIZE_SM, AVATAR_SIZE_XL, AVATAR_SIZE_XS, type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AsideAndSectionLayout, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps, type ButtonSoftThemeProps, type ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarCellCss, type CalendarProps, type CalendarStyles, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterBgColors, type CounterIconColors, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, DragHandle, type DraggableHandleProps, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, FilterChip, FlexiCard, FlexiCardTitle, type GroupedOption, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, KeyValueInput, type KeyValueInputProps, type KeyValueItem, Label, LabelLeadingIcon, type LabelLeadingIconProps, type LabelOption, type LabelProps, LabelsQuickFilter, type LabelsQuickFilterItem, type LabelsQuickFilterProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, LinkButton, type LinkButtonProps, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkTile, type LinkTileWithRefProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuSelect, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, ModalPortalContext, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, ObjectGridItemLoadingSkeleton, type ObjectGridItemProps, type ObjectGridItemTitleProps, ObjectItemLoadingSkeleton, type ObjectItemLoadingSkeletonProps, ObjectListItem, ObjectListItemContainer, ObjectListItemCover, type ObjectListItemCoverProps, ObjectListItemHeading, type ObjectListItemHeadingProps, type ObjectListItemProps, ObjectListSubText, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, ParameterActionButton, type ParameterActionButtonProps, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLabels, ParameterLabelsInner, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterNumberSlider, ParameterNumberSliderInner, type ParameterNumberSliderProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterSelectSlider, ParameterSelectSliderInner, type ParameterSelectSliderProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, PopoverBody, type PopoverBodyProps, type PopoverProps, type PopoverStore, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, QuickFilter, type QuickFilterSelectedItem, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, ResponsiveTableContainer, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, type ShortcutReference, Skeleton, type SkeletonProps, Slider, SliderLabels, type SliderLabelsProps, type SliderOption, type SliderProps, Spinner, StackedModal, type StackedModalProps, StackedModalStep, type StackedModalStepProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, type StepTransitionState, SuccessMessage, type SuccessMessageProps, Swatch, SwatchComboBox, SwatchComboBoxLabelStyles, SwatchLabel, type SwatchLabelProps, SwatchLabelRemoveButton, SwatchLabelTooltip, type SwatchProps, type SwatchSize, type SwatchVariant, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonGroupProps, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, type TickMark, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, actionBarVisibilityStyles, addPathSegmentToPathname, avatarImageStyles, avatarSize2xlStyles, avatarSize2xsStyles, avatarSize3xlStyles, avatarSizeLgStyles, avatarSizeMdStyles, avatarSizeSmStyles, avatarSizeXlStyles, avatarSizeXsStyles, avatarStyles, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonDisabled, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonSoftAccentPrimary, buttonSoftAlt, buttonSoftDestructive, buttonSoftPrimary, buttonSoftTertiary, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, chatIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, debounce, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getButtonSize, getButtonStyles, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, mq, numberInput, prefersReducedMotion, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInRtl, slideInTtb, spin, structurePanelIcon, supports, swatchColors, swatchVariant, textInput, uniformAiIcon, uniformComponentIcon, uniformComponentPatternIcon, uniformCompositionPatternIcon, uniformConditionalValuesIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, uniformLocaleDisabledIcon, uniformLocaleIcon, uniformStatusDraftIcon, uniformStatusModifiedIcon, uniformStatusPublishedIcon, uniformUsageStatusIcon, useBreakpoint, useButtonStyles, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useImageLoadFallback, useIsSubmenuTriggerMode, useModalPortalContainer, useOutsideClick, useParameterShell, usePopoverComponentContext, useRichTextToolbarState, useShortcut, useStackedModal, functionalColors as utilityColors, warningIcon, yesNoIcon, zigZag, zigZagThick };
5646
+ export { AVATAR_SIZE_2XL, AVATAR_SIZE_2XS, AVATAR_SIZE_3XL, AVATAR_SIZE_LG, AVATAR_SIZE_MD, AVATAR_SIZE_SM, AVATAR_SIZE_XL, AVATAR_SIZE_XS, type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AsideAndSectionLayout, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps, type ButtonSoftThemeProps, type ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarCellCss, type CalendarProps, type CalendarStyles, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterBgColors, type CounterIconColors, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, DragHandle, type DraggableHandleProps, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, FilterChip, FlexiCard, FlexiCardTitle, type GroupedOption, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, KeyValueInput, type KeyValueInputProps, type KeyValueItem, Label, LabelLeadingIcon, type LabelLeadingIconProps, type LabelOption, type LabelProps, LabelsQuickFilter, type LabelsQuickFilterItem, type LabelsQuickFilterProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, LinkButton, type LinkButtonProps, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkTile, type LinkTileWithRefProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuSelect, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, ModalPortalContext, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, ObjectGridItemLoadingSkeleton, type ObjectGridItemProps, type ObjectGridItemTitleProps, ObjectItemLoadingSkeleton, type ObjectItemLoadingSkeletonProps, ObjectListItem, ObjectListItemContainer, ObjectListItemCover, type ObjectListItemCoverProps, ObjectListItemHeading, type ObjectListItemHeadingProps, type ObjectListItemProps, ObjectListSubText, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, ParameterActionButton, type ParameterActionButtonProps, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLabels, ParameterLabelsInner, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterNumberSlider, ParameterNumberSliderInner, type ParameterNumberSliderProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterSelectSlider, ParameterSelectSliderInner, type ParameterSelectSliderProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, PopoverBody, type PopoverBodyProps, type PopoverProps, type PopoverStore, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, QuickFilter, type QuickFilterSelectedItem, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, ResponsiveTableContainer, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, type ShortcutReference, Skeleton, type SkeletonProps, Slider, SliderLabels, type SliderLabelsProps, type SliderOption, type SliderProps, Spinner, StackedModal, StackedModalHeader, type StackedModalProps, StackedModalStep, type StackedModalStepProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, type StepTransitionState, SuccessMessage, type SuccessMessageProps, Swatch, SwatchComboBox, SwatchComboBoxLabelStyles, SwatchLabel, type SwatchLabelProps, SwatchLabelRemoveButton, SwatchLabelTooltip, type SwatchProps, type SwatchSize, type SwatchVariant, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonGroupProps, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, type TickMark, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, type ToastData, type ToastId, type ToastOptions, type ToastPromiseOptions, type ToastUpdate, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, actionBarVisibilityStyles, addPathSegmentToPathname, avatarImageStyles, avatarSize2xlStyles, avatarSize2xsStyles, avatarSize3xlStyles, avatarSizeLgStyles, avatarSizeMdStyles, avatarSizeSmStyles, avatarSizeXlStyles, avatarSizeXsStyles, avatarStyles, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonDisabled, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonSoftAccentPrimary, buttonSoftAlt, buttonSoftDestructive, buttonSoftPrimary, buttonSoftTertiary, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, chatIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, debounce, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getButtonSize, getButtonStyles, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, mq, numberInput, popTopLayerDialog, prefersReducedMotion, pushTopLayerDialog, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInRtl, slideInTtb, spin, structurePanelIcon, subscribeTopLayerDialog, supports, swatchColors, swatchVariant, textInput, toast, uniformAiIcon, uniformComponentIcon, uniformComponentPatternIcon, uniformCompositionPatternIcon, uniformConditionalValuesIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, uniformLocaleDisabledIcon, uniformLocaleIcon, uniformStatusDraftIcon, uniformStatusModifiedIcon, uniformStatusPublishedIcon, uniformUsageStatusIcon, useBreakpoint, useButtonStyles, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useImageLoadFallback, useIsSubmenuTriggerMode, useModalPortalContainer, useOutsideClick, useParameterShell, usePopoverComponentContext, useRichTextToolbarState, useShortcut, useStackedModal, functionalColors as utilityColors, warningIcon, yesNoIcon, zigZag, zigZagThick };
package/dist/index.d.ts CHANGED
@@ -17,7 +17,6 @@ import { InitialConfigType } from '@lexical/react/LexicalComposer';
17
17
  import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
18
18
  export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
19
19
  import { ElementNode, NodeKey, Spread, SerializedElementNode, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
20
- export { Id as ToastId, toast } from 'react-toastify';
21
20
  import * as _uniformdev_richtext from '@uniformdev/richtext';
22
21
  import { RichTextBuiltInElement } from '@uniformdev/richtext';
23
22
  export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
@@ -2823,6 +2822,7 @@ declare const DropdownStyleMenuTrigger: React$1.ForwardRefExoticComponent<Dropdo
2823
2822
 
2824
2823
  declare const legacyPlacements: readonly ["auto", "auto-start", "auto-end"];
2825
2824
  type LegacyPlacement = (typeof legacyPlacements)[number];
2825
+
2826
2826
  /**
2827
2827
  * @internal Hook used by MenuItem to detect when it is being rendered as the
2828
2828
  * `render` element of a Base UI SubmenuTrigger, so it can render a plain styled
@@ -2833,7 +2833,10 @@ declare function useIsSubmenuTriggerMode(): boolean;
2833
2833
  interface MenuProps extends Pick<React$1.HTMLAttributes<HTMLDivElement>, 'className' | 'id' | 'style'> {
2834
2834
  /** The component that triggers the menu functionality */
2835
2835
  menuTrigger: React$1.ReactElement & React$1.RefAttributes<any>;
2836
- /** (optional) placement options for the expandable menu */
2836
+ /**
2837
+ * (optional) placement options for the expandable menu.
2838
+ * Root menus default to `bottom-end` when omitted; use `bottom` for center alignment.
2839
+ */
2837
2840
  placement?: Placement | LegacyPlacement;
2838
2841
  /** (optional) allows users to set additional class names */
2839
2842
  menuItemsContainerCssClasses?: SerializedStyles | string;
@@ -3561,6 +3564,41 @@ declare const ModalDialog: React$1.ForwardRefExoticComponent<Omit<ModalDialogPro
3561
3564
  declare const ModalPortalContext: React$1.Context<HTMLElement | null>;
3562
3565
  declare function useModalPortalContainer(): HTMLElement | null;
3563
3566
 
3567
+ /**
3568
+ * Tracks the stack of currently open native `<dialog>` elements that have been
3569
+ * promoted to the browser's top layer via `HTMLDialogElement.showModal()`.
3570
+ *
3571
+ * Anything portalled to `document.body` is rendered behind any top-layer
3572
+ * dialog, which means toasts (whose Base UI portal defaults to `body`) would
3573
+ * be hidden behind an open modal. By keeping a shared stack here we can hand
3574
+ * the topmost dialog to `BaseToast.Portal`'s `container` prop and have toasts
3575
+ * portal _into_ that dialog while it is open, then fall back to `body` when no
3576
+ * modal is on screen.
3577
+ *
3578
+ * The stack supports nested modals — each `Modal` registers on mount /
3579
+ * `showModal()` and unregisters on cleanup, and listeners always receive the
3580
+ * topmost (last-pushed) entry.
3581
+ */
3582
+ /**
3583
+ * Push a dialog element onto the stack. Intended to be called by `Modal`
3584
+ * immediately after `showModal()` so the dialog can become the active toast
3585
+ * portal target.
3586
+ */
3587
+ declare const pushTopLayerDialog: (dialog: HTMLDialogElement) => void;
3588
+ /**
3589
+ * Remove a dialog element from the stack. Safe to call even if the dialog is
3590
+ * not currently in the stack (no-op in that case).
3591
+ */
3592
+ declare const popTopLayerDialog: (dialog: HTMLDialogElement) => void;
3593
+ /**
3594
+ * Subscribe to changes to the topmost open dialog. The listener is invoked
3595
+ * immediately with the current top (or `null` if no dialog is open) so
3596
+ * subscribers don't need a separate initial read.
3597
+ *
3598
+ * @returns A teardown function that removes the listener.
3599
+ */
3600
+ declare const subscribeTopLayerDialog: (listener: (top: HTMLDialogElement | null) => void) => (() => void);
3601
+
3564
3602
  /** Props for {@link ObjectGridContainer}. */
3565
3603
  type ObjectGridContainerProps = {
3566
3604
  /** Number of columns in the grid, passed to CSS `repeat()`.
@@ -3601,9 +3639,9 @@ type ObjectHeadingProps = {
3601
3639
  * Defines the common slot-based API for composing item layouts.
3602
3640
  */
3603
3641
  type ObjectItemProps = {
3604
- /** Slot for the header use {@link ObjectGridItemHeading} or {@link ObjectListItemHeading}. */
3605
- header: ReactNode;
3606
- /** Slot for the cover media use {@link ObjectGridItemCoverButton}, {@link ObjectGridItemCover}, or {@link ObjectListItemCover}. */
3642
+ /** Slot for the header component, we recommend using <ObjectGridItemHeading /> or <ObjectListItemHeading /> */
3643
+ header?: ReactNode;
3644
+ /** Slot for the cover component, we recommend using <ObjectGridItemCoverButton />, <ObjectGridItemCover /> or <ObjectListItemCover /> */
3607
3645
  cover: ReactNode;
3608
3646
  /** Slot rendered on the right side of the item (e.g. timestamps, status badges). */
3609
3647
  rightSlot?: React.ReactNode;
@@ -3707,7 +3745,7 @@ type ObjectGridItemCoverButtonProps = {
3707
3745
  * @default 'selected'
3708
3746
  */
3709
3747
  selectedText?: string;
3710
- } & Omit<ObjectGridItemCoverProps, 'coverSlotBottomRight'> & ObjectGridItemCardCoverProps;
3748
+ } & ObjectGridItemCoverProps & ObjectGridItemCardCoverProps;
3711
3749
  /**
3712
3750
  * Clickable variant of {@link ObjectGridItemCover} that acts as a selection toggle.
3713
3751
  * When selected, a chip with `selectedText` appears in the bottom-right corner.
@@ -3723,7 +3761,7 @@ type ObjectGridItemCoverButtonProps = {
3723
3761
  * />
3724
3762
  * ```
3725
3763
  */
3726
- declare const ObjectGridItemCoverButton: ({ id, isSelected, onSelection, selectedText, ...props }: ObjectGridItemCoverButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
3764
+ declare const ObjectGridItemCoverButton: ({ id, isSelected, onSelection, selectedText, coverSlotBottomRight, ...props }: ObjectGridItemCoverButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
3727
3765
 
3728
3766
  /** Props for {@link ObjectGridItemHeading}. */
3729
3767
  type ObjectGridItemTitleProps = ObjectHeadingProps & HTMLAttributes<HTMLDivElement>;
@@ -4980,6 +5018,8 @@ type StackedModalProps = {
4980
5018
  * @default 0
4981
5019
  */
4982
5020
  initialStep?: number;
5021
+ /** Sets the test ID on the underlying dialog. */
5022
+ 'data-testid'?: string;
4983
5023
  };
4984
5024
  /**
4985
5025
  * A modal component that supports multi-step content with sliding transitions.
@@ -5027,6 +5067,13 @@ type StackedModalStepProps = {
5027
5067
  */
5028
5068
  declare function StackedModalStep({ children, buttonGroup }: StackedModalStepProps): _emotion_react_jsx_runtime.JSX.Element;
5029
5069
 
5070
+ type StackedModalHeaderProps = {
5071
+ children: ReactNode;
5072
+ onBack?: () => void;
5073
+ icon?: IconType;
5074
+ };
5075
+ declare const StackedModalHeader: ({ children, onBack, icon }: StackedModalHeaderProps) => _emotion_react_jsx_runtime.JSX.Element;
5076
+
5030
5077
  type SwitchProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
5031
5078
  /** sets the label value */
5032
5079
  label: ReactNode;
@@ -5433,16 +5480,143 @@ type TileTitleProps = {
5433
5480
  } & HTMLAttributes<HTMLSpanElement>;
5434
5481
  declare const TileText: ({ as, children, ...props }: TileTitleProps) => _emotion_react_jsx_runtime.JSX.Element;
5435
5482
 
5483
+ /**
5484
+ * Identifier returned by `toast.*` calls. Kept as `string | number` for
5485
+ * backwards compatibility with the previous react-toastify `Id` type that
5486
+ * several consumers store in `useRef<number | string>`. Internally the
5487
+ * underlying Base UI manager always uses `string`.
5488
+ */
5489
+ type ToastId = string | number;
5490
+ /**
5491
+ * The shape consumers can store on a toast via the `data` field. Recognised
5492
+ * by the default `<ToastList>` renderer to render either a progress bar or
5493
+ * an inline Undo affordance, while keeping the imperative `toast.*` API
5494
+ * unchanged for the rest of the codebase.
5495
+ */
5496
+ type ToastData = {
5497
+ /** Progress-bar toast (used by `CopyValuesToLocales`). */
5498
+ kind: 'progress';
5499
+ /** Label rendered above the progress bar. */
5500
+ label: React__default.ReactNode;
5501
+ /** Completion ratio in the closed interval [0, 1]. */
5502
+ progress: number;
5503
+ } | {
5504
+ /** Toast with an inline 'Undo' button (used by the InlineAI popovers). */
5505
+ kind: 'undoable';
5506
+ /** Description rendered next to the Undo button. */
5507
+ description: React__default.ReactNode;
5508
+ /** Invoked when the user clicks the Undo button. */
5509
+ onUndo: () => void;
5510
+ /** Custom label for the Undo button. */
5511
+ undoLabel?: string;
5512
+ };
5513
+ /**
5514
+ * Per-call options accepted by every `toast.*` method. The shape mirrors the
5515
+ * legacy react-toastify options the design system used to forward.
5516
+ */
5517
+ type ToastOptions = {
5518
+ /**
5519
+ * Time in milliseconds before the toast is auto-dismissed. Pass `false` to
5520
+ * keep the toast open until it is dismissed manually (maps to Base UI's
5521
+ * `timeout: 0`).
5522
+ */
5523
+ autoClose?: number | false;
5524
+ /**
5525
+ * Stable id for the toast. When provided, calling a toast method again with
5526
+ * the same id updates the existing toast in place (and refreshes its
5527
+ * auto-dismiss timer) instead of stacking a new one. Useful for deduping
5528
+ * toasts triggered by repeated user actions.
5529
+ */
5530
+ toastId?: string;
5531
+ };
5532
+ /**
5533
+ * Promise-toast options accepted by `toast.promise`. Each handler may be a
5534
+ * static description string or a function that receives the resolved value /
5535
+ * rejection error and returns a description. All three keys are optional to
5536
+ * mirror react-toastify's behaviour where any unset state simply rendered an
5537
+ * empty toast (or none at all when the promise settled fast enough).
5538
+ */
5539
+ type ToastPromiseOptions<TValue, TError = unknown> = {
5540
+ /** Description shown while the promise is pending. */
5541
+ pending?: React__default.ReactNode;
5542
+ /** Description shown when the promise resolves. */
5543
+ success?: React__default.ReactNode | ((value: TValue) => React__default.ReactNode);
5544
+ /** Description shown when the promise rejects. */
5545
+ error?: React__default.ReactNode | ((error: TError) => React__default.ReactNode);
5546
+ };
5547
+ /**
5548
+ * Patch shape accepted by `toast.update`. A subset of Base UI's
5549
+ * `ToastManagerUpdateOptions<ToastData>` that consumers actually use.
5550
+ */
5551
+ type ToastUpdate = {
5552
+ type?: string;
5553
+ description?: React__default.ReactNode;
5554
+ timeout?: number;
5555
+ data?: ToastData;
5556
+ };
5557
+ /**
5558
+ * Imperative API for showing toasts from anywhere in the app. Mirrors the
5559
+ * historical react-toastify surface (`toast`, `.success`, `.error`, `.info`,
5560
+ * `.warning`, `.loading`, `.dismiss`, `.update`, `.done`, `.promise`) so the
5561
+ * ~200 existing call sites continue to work unchanged. Internally delegates
5562
+ * to the singleton Base UI `toastManager` mounted by `<ToastContainer />`.
5563
+ */
5564
+ declare const toast: ((description: React__default.ReactNode, options?: ToastOptions) => ToastId) & {
5565
+ success: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
5566
+ error: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
5567
+ info: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
5568
+ warning: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
5569
+ loading: (description: React__default.ReactNode) => ToastId;
5570
+ dismiss: (id?: ToastId) => void;
5571
+ update: (id: ToastId, patch: ToastUpdate) => void;
5572
+ /**
5573
+ * Closes the toast. Carried forward from the react-toastify API where
5574
+ * `done()` ended a `loading` toast — Base UI has no separate concept,
5575
+ * so this is an alias for `dismiss(id)`.
5576
+ */
5577
+ done: (id: ToastId) => void;
5578
+ /**
5579
+ * Wraps an async operation in a 3-state toast (loading / success / error).
5580
+ * Accepts either a `Promise` or a thunk returning a `Promise` to match the
5581
+ * historical react-toastify usage. The optional `TError` type argument
5582
+ * narrows the parameter type of the `error` callback for call sites that
5583
+ * historically supplied an explicit error type (e.g. `toast.promise<void, Error>`).
5584
+ *
5585
+ * Unlike Base UI's built-in `toastManager.promise`, this implementation
5586
+ * skips rendering toasts for states whose option is `undefined`. This
5587
+ * preserves the legacy react-toastify behaviour many call sites depend on
5588
+ * (e.g. save-draft flows omit `pending`/`success` and only want a toast
5589
+ * when the operation fails).
5590
+ */
5591
+ promise: <TValue, TError = unknown>(input: Promise<TValue> | (() => Promise<TValue>), options: ToastPromiseOptions<TValue, TError>) => Promise<TValue>;
5592
+ };
5436
5593
  type ToastContainerProps = {
5594
+ /**
5595
+ * Maximum number of toasts visible at once. Older toasts are dismissed when
5596
+ * the limit is exceeded.
5597
+ * @default 4
5598
+ */
5437
5599
  limit?: number;
5438
- /** sets the auto close delay in seconds normal: 5 seconds, medium: 8 seconds, long: 10 seconds
5600
+ /**
5601
+ * Default auto-close duration applied to every toast that does not specify
5602
+ * its own `autoClose` option.
5603
+ * - `'normal'` — 5 seconds
5604
+ * - `'medium'` — 8 seconds
5605
+ * - `'long'` — 10 seconds
5439
5606
  * @default 'normal'
5440
5607
  */
5441
5608
  autoCloseDelay?: 'normal' | 'medium' | 'long';
5442
5609
  };
5443
5610
  /**
5444
- * A component to render toasts in your app. This component is supposed to be used just once in your app. Typically inside _app.tsx
5445
- * @example <App><ToastContainer autoCloseDelay="normal" /></App>
5611
+ * Renders the global toast viewport. Intended to be mounted exactly once near
5612
+ * the root of the app (typically in `_app.tsx`).
5613
+ *
5614
+ * @example
5615
+ * ```tsx
5616
+ * <App>
5617
+ * <ToastContainer autoCloseDelay="normal" />
5618
+ * </App>
5619
+ * ```
5446
5620
  */
5447
5621
  declare const ToastContainer: ({ limit, autoCloseDelay }: ToastContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
5448
5622
 
@@ -5469,4 +5643,4 @@ declare const StatusBullet: ({ status, hideText, size, message, compact, ...prop
5469
5643
 
5470
5644
  declare const actionBarVisibilityStyles: _emotion_react.SerializedStyles;
5471
5645
 
5472
- export { AVATAR_SIZE_2XL, AVATAR_SIZE_2XS, AVATAR_SIZE_3XL, AVATAR_SIZE_LG, AVATAR_SIZE_MD, AVATAR_SIZE_SM, AVATAR_SIZE_XL, AVATAR_SIZE_XS, type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AsideAndSectionLayout, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps, type ButtonSoftThemeProps, type ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarCellCss, type CalendarProps, type CalendarStyles, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterBgColors, type CounterIconColors, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, DragHandle, type DraggableHandleProps, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, FilterChip, FlexiCard, FlexiCardTitle, type GroupedOption, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, KeyValueInput, type KeyValueInputProps, type KeyValueItem, Label, LabelLeadingIcon, type LabelLeadingIconProps, type LabelOption, type LabelProps, LabelsQuickFilter, type LabelsQuickFilterItem, type LabelsQuickFilterProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, LinkButton, type LinkButtonProps, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkTile, type LinkTileWithRefProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuSelect, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, ModalPortalContext, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, ObjectGridItemLoadingSkeleton, type ObjectGridItemProps, type ObjectGridItemTitleProps, ObjectItemLoadingSkeleton, type ObjectItemLoadingSkeletonProps, ObjectListItem, ObjectListItemContainer, ObjectListItemCover, type ObjectListItemCoverProps, ObjectListItemHeading, type ObjectListItemHeadingProps, type ObjectListItemProps, ObjectListSubText, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, ParameterActionButton, type ParameterActionButtonProps, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLabels, ParameterLabelsInner, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterNumberSlider, ParameterNumberSliderInner, type ParameterNumberSliderProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterSelectSlider, ParameterSelectSliderInner, type ParameterSelectSliderProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, PopoverBody, type PopoverBodyProps, type PopoverProps, type PopoverStore, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, QuickFilter, type QuickFilterSelectedItem, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, ResponsiveTableContainer, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, type ShortcutReference, Skeleton, type SkeletonProps, Slider, SliderLabels, type SliderLabelsProps, type SliderOption, type SliderProps, Spinner, StackedModal, type StackedModalProps, StackedModalStep, type StackedModalStepProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, type StepTransitionState, SuccessMessage, type SuccessMessageProps, Swatch, SwatchComboBox, SwatchComboBoxLabelStyles, SwatchLabel, type SwatchLabelProps, SwatchLabelRemoveButton, SwatchLabelTooltip, type SwatchProps, type SwatchSize, type SwatchVariant, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonGroupProps, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, type TickMark, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, actionBarVisibilityStyles, addPathSegmentToPathname, avatarImageStyles, avatarSize2xlStyles, avatarSize2xsStyles, avatarSize3xlStyles, avatarSizeLgStyles, avatarSizeMdStyles, avatarSizeSmStyles, avatarSizeXlStyles, avatarSizeXsStyles, avatarStyles, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonDisabled, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonSoftAccentPrimary, buttonSoftAlt, buttonSoftDestructive, buttonSoftPrimary, buttonSoftTertiary, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, chatIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, debounce, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getButtonSize, getButtonStyles, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, mq, numberInput, prefersReducedMotion, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInRtl, slideInTtb, spin, structurePanelIcon, supports, swatchColors, swatchVariant, textInput, uniformAiIcon, uniformComponentIcon, uniformComponentPatternIcon, uniformCompositionPatternIcon, uniformConditionalValuesIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, uniformLocaleDisabledIcon, uniformLocaleIcon, uniformStatusDraftIcon, uniformStatusModifiedIcon, uniformStatusPublishedIcon, uniformUsageStatusIcon, useBreakpoint, useButtonStyles, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useImageLoadFallback, useIsSubmenuTriggerMode, useModalPortalContainer, useOutsideClick, useParameterShell, usePopoverComponentContext, useRichTextToolbarState, useShortcut, useStackedModal, functionalColors as utilityColors, warningIcon, yesNoIcon, zigZag, zigZagThick };
5646
+ export { AVATAR_SIZE_2XL, AVATAR_SIZE_2XS, AVATAR_SIZE_3XL, AVATAR_SIZE_LG, AVATAR_SIZE_MD, AVATAR_SIZE_SM, AVATAR_SIZE_XL, AVATAR_SIZE_XS, type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AsideAndSectionLayout, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps, type ButtonSoftThemeProps, type ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarCellCss, type CalendarProps, type CalendarStyles, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterBgColors, type CounterIconColors, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, DragHandle, type DraggableHandleProps, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, FilterChip, FlexiCard, FlexiCardTitle, type GroupedOption, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, KeyValueInput, type KeyValueInputProps, type KeyValueItem, Label, LabelLeadingIcon, type LabelLeadingIconProps, type LabelOption, type LabelProps, LabelsQuickFilter, type LabelsQuickFilterItem, type LabelsQuickFilterProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, LinkButton, type LinkButtonProps, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkTile, type LinkTileWithRefProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuSelect, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, ModalPortalContext, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, ObjectGridItemLoadingSkeleton, type ObjectGridItemProps, type ObjectGridItemTitleProps, ObjectItemLoadingSkeleton, type ObjectItemLoadingSkeletonProps, ObjectListItem, ObjectListItemContainer, ObjectListItemCover, type ObjectListItemCoverProps, ObjectListItemHeading, type ObjectListItemHeadingProps, type ObjectListItemProps, ObjectListSubText, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, ParameterActionButton, type ParameterActionButtonProps, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLabels, ParameterLabelsInner, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterNumberSlider, ParameterNumberSliderInner, type ParameterNumberSliderProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterSelectSlider, ParameterSelectSliderInner, type ParameterSelectSliderProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, PopoverBody, type PopoverBodyProps, type PopoverProps, type PopoverStore, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, QuickFilter, type QuickFilterSelectedItem, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, ResponsiveTableContainer, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, type ShortcutReference, Skeleton, type SkeletonProps, Slider, SliderLabels, type SliderLabelsProps, type SliderOption, type SliderProps, Spinner, StackedModal, StackedModalHeader, type StackedModalProps, StackedModalStep, type StackedModalStepProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, type StepTransitionState, SuccessMessage, type SuccessMessageProps, Swatch, SwatchComboBox, SwatchComboBoxLabelStyles, SwatchLabel, type SwatchLabelProps, SwatchLabelRemoveButton, SwatchLabelTooltip, type SwatchProps, type SwatchSize, type SwatchVariant, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonGroupProps, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, type TickMark, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, type ToastData, type ToastId, type ToastOptions, type ToastPromiseOptions, type ToastUpdate, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, actionBarVisibilityStyles, addPathSegmentToPathname, avatarImageStyles, avatarSize2xlStyles, avatarSize2xsStyles, avatarSize3xlStyles, avatarSizeLgStyles, avatarSizeMdStyles, avatarSizeSmStyles, avatarSizeXlStyles, avatarSizeXsStyles, avatarStyles, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonDisabled, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonSoftAccentPrimary, buttonSoftAlt, buttonSoftDestructive, buttonSoftPrimary, buttonSoftTertiary, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, chatIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, debounce, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getButtonSize, getButtonStyles, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, mq, numberInput, popTopLayerDialog, prefersReducedMotion, pushTopLayerDialog, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInRtl, slideInTtb, spin, structurePanelIcon, subscribeTopLayerDialog, supports, swatchColors, swatchVariant, textInput, toast, uniformAiIcon, uniformComponentIcon, uniformComponentPatternIcon, uniformCompositionPatternIcon, uniformConditionalValuesIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, uniformLocaleDisabledIcon, uniformLocaleIcon, uniformStatusDraftIcon, uniformStatusModifiedIcon, uniformStatusPublishedIcon, uniformUsageStatusIcon, useBreakpoint, useButtonStyles, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useImageLoadFallback, useIsSubmenuTriggerMode, useModalPortalContainer, useOutsideClick, useParameterShell, usePopoverComponentContext, useRichTextToolbarState, useShortcut, useStackedModal, functionalColors as utilityColors, warningIcon, yesNoIcon, zigZag, zigZagThick };