@uniformdev/design-system 20.63.0 → 20.63.1-alpha.18
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/esm/index.js +2643 -2377
- package/dist/index.d.mts +202 -10
- package/dist/index.d.ts +202 -10
- package/dist/index.js +2867 -2579
- package/package.json +7 -8
package/dist/index.d.mts
CHANGED
|
@@ -16,11 +16,10 @@ import { JsonSchema7Type } from 'zod-to-json-schema';
|
|
|
16
16
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
17
17
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
18
18
|
export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
|
|
19
|
-
import {
|
|
19
|
+
import { ElementNode, NodeKey, Spread, SerializedElementNode, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
|
|
20
20
|
import * as _uniformdev_richtext from '@uniformdev/richtext';
|
|
21
21
|
import { RichTextBuiltInElement } from '@uniformdev/richtext';
|
|
22
22
|
export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
|
|
23
|
-
export { Id as ToastId, toast } from 'react-toastify';
|
|
24
23
|
|
|
25
24
|
/** @todo: line 144 onwards will be brought into a title, paragraph, list and link components */
|
|
26
25
|
type ThemeProps = {
|
|
@@ -55,10 +54,12 @@ declare const useBreakpoint: () => BreakpointSize;
|
|
|
55
54
|
* Media Query Helper Function
|
|
56
55
|
* @function
|
|
57
56
|
* @param {string} size - The responsive breakpoint value
|
|
58
|
-
* @
|
|
57
|
+
* @param {'min' | 'max'} [bound='min'] - Whether to use min-width or max-width
|
|
58
|
+
* @returns {string} - compiled media query e.g. @media (min-width: 640px)
|
|
59
59
|
* @example `${mq('md')} { background: red; }`
|
|
60
|
+
* @example `${mq('lg', 'max')} { overflow: hidden; }`
|
|
60
61
|
*/
|
|
61
|
-
declare const mq: (size: BreakpointSize) => string;
|
|
62
|
+
declare const mq: (size: BreakpointSize, bound?: "min" | "max") => string;
|
|
62
63
|
/**
|
|
63
64
|
* Media Query Helper Function
|
|
64
65
|
* @function
|
|
@@ -342,7 +343,7 @@ type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
342
343
|
*/
|
|
343
344
|
declare const AddListButton: ({ buttonText, onButtonClick, disabled, icon, variant, theme, ...buttonProps }: AddListButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
344
345
|
|
|
345
|
-
type AvatarSizeProp = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
346
|
+
type AvatarSizeProp = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
346
347
|
type AvatarProps = {
|
|
347
348
|
/**
|
|
348
349
|
* The src of the avatar.
|
|
@@ -367,6 +368,27 @@ type AvatarProps = {
|
|
|
367
368
|
*/
|
|
368
369
|
declare const Avatar: ({ src, label, children, size, as, labelWithoutPortal, ...props }: AvatarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
369
370
|
|
|
371
|
+
/** Canonical width tokens for each `Avatar` `size` (single source of truth for rem values). */
|
|
372
|
+
declare const AVATAR_SIZE_2XS = "1rem";
|
|
373
|
+
declare const AVATAR_SIZE_XS = "1.5rem";
|
|
374
|
+
declare const AVATAR_SIZE_SM = "2rem";
|
|
375
|
+
declare const AVATAR_SIZE_MD = "2.5rem";
|
|
376
|
+
declare const AVATAR_SIZE_LG = "3rem";
|
|
377
|
+
declare const AVATAR_SIZE_XL = "4rem";
|
|
378
|
+
declare const AVATAR_SIZE_2XL = "5rem";
|
|
379
|
+
/** Largest step (6rem ≈ 96px when root font size is 16px). */
|
|
380
|
+
declare const AVATAR_SIZE_3XL = "6rem";
|
|
381
|
+
declare const avatarStyles: _emotion_react.SerializedStyles;
|
|
382
|
+
declare const avatarImageStyles: _emotion_react.SerializedStyles;
|
|
383
|
+
declare const avatarSize2xsStyles: _emotion_react.SerializedStyles;
|
|
384
|
+
declare const avatarSizeXsStyles: _emotion_react.SerializedStyles;
|
|
385
|
+
declare const avatarSizeSmStyles: _emotion_react.SerializedStyles;
|
|
386
|
+
declare const avatarSizeMdStyles: _emotion_react.SerializedStyles;
|
|
387
|
+
declare const avatarSizeLgStyles: _emotion_react.SerializedStyles;
|
|
388
|
+
declare const avatarSizeXlStyles: _emotion_react.SerializedStyles;
|
|
389
|
+
declare const avatarSize2xlStyles: _emotion_react.SerializedStyles;
|
|
390
|
+
declare const avatarSize3xlStyles: _emotion_react.SerializedStyles;
|
|
391
|
+
|
|
370
392
|
interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
371
393
|
/**
|
|
372
394
|
* The maximum number of avatars to show. This must be 2 or more.
|
|
@@ -2763,6 +2785,14 @@ type KeyValueInputProps<TValue extends string = string> = {
|
|
|
2763
2785
|
onChange: (icon: string) => void;
|
|
2764
2786
|
disabled?: boolean;
|
|
2765
2787
|
}) => ReactNode;
|
|
2788
|
+
/**
|
|
2789
|
+
* When true, keys and values are treated as fully independent: typing a key
|
|
2790
|
+
* does not autofill the value, and multi-line paste lines without a comma
|
|
2791
|
+
* are imported as keys with empty values rather than mirroring key into value.
|
|
2792
|
+
* Use for inputs where the value has no logical relation to the key
|
|
2793
|
+
* (e.g. HTTP header name/value pairs).
|
|
2794
|
+
*/
|
|
2795
|
+
independentKeyValue?: boolean;
|
|
2766
2796
|
};
|
|
2767
2797
|
/**
|
|
2768
2798
|
* A component to render a sortable key-value input
|
|
@@ -2771,7 +2801,7 @@ type KeyValueInputProps<TValue extends string = string> = {
|
|
|
2771
2801
|
* return <KeyValueInput value={value} onChange={setValue} />
|
|
2772
2802
|
* @deprecated This component is in beta, name and props are subject to change without a major version
|
|
2773
2803
|
*/
|
|
2774
|
-
declare const KeyValueInput: <TValue extends string = string>({ value, onChange, label, newItemDefault, keyLabel, valueLabel, iconLabel, keyInfoPopover, valueInfoPopover, iconInfoPopover, disabled, errors, onFocusChange, showIconColumn, renderIconSelector, }: KeyValueInputProps<TValue>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2804
|
+
declare const KeyValueInput: <TValue extends string = string>({ value, onChange, label, newItemDefault, keyLabel, valueLabel, iconLabel, keyInfoPopover, valueInfoPopover, iconInfoPopover, disabled, errors, onFocusChange, showIconColumn, renderIconSelector, independentKeyValue, }: KeyValueInputProps<TValue>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2775
2805
|
|
|
2776
2806
|
interface DropdownStyleMenuTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
2777
2807
|
children: React.ReactNode;
|
|
@@ -3530,6 +3560,41 @@ declare const ModalDialog: React$1.ForwardRefExoticComponent<Omit<ModalDialogPro
|
|
|
3530
3560
|
declare const ModalPortalContext: React$1.Context<HTMLElement | null>;
|
|
3531
3561
|
declare function useModalPortalContainer(): HTMLElement | null;
|
|
3532
3562
|
|
|
3563
|
+
/**
|
|
3564
|
+
* Tracks the stack of currently open native `<dialog>` elements that have been
|
|
3565
|
+
* promoted to the browser's top layer via `HTMLDialogElement.showModal()`.
|
|
3566
|
+
*
|
|
3567
|
+
* Anything portalled to `document.body` is rendered behind any top-layer
|
|
3568
|
+
* dialog, which means toasts (whose Base UI portal defaults to `body`) would
|
|
3569
|
+
* be hidden behind an open modal. By keeping a shared stack here we can hand
|
|
3570
|
+
* the topmost dialog to `BaseToast.Portal`'s `container` prop and have toasts
|
|
3571
|
+
* portal _into_ that dialog while it is open, then fall back to `body` when no
|
|
3572
|
+
* modal is on screen.
|
|
3573
|
+
*
|
|
3574
|
+
* The stack supports nested modals — each `Modal` registers on mount /
|
|
3575
|
+
* `showModal()` and unregisters on cleanup, and listeners always receive the
|
|
3576
|
+
* topmost (last-pushed) entry.
|
|
3577
|
+
*/
|
|
3578
|
+
/**
|
|
3579
|
+
* Push a dialog element onto the stack. Intended to be called by `Modal`
|
|
3580
|
+
* immediately after `showModal()` so the dialog can become the active toast
|
|
3581
|
+
* portal target.
|
|
3582
|
+
*/
|
|
3583
|
+
declare const pushTopLayerDialog: (dialog: HTMLDialogElement) => void;
|
|
3584
|
+
/**
|
|
3585
|
+
* Remove a dialog element from the stack. Safe to call even if the dialog is
|
|
3586
|
+
* not currently in the stack (no-op in that case).
|
|
3587
|
+
*/
|
|
3588
|
+
declare const popTopLayerDialog: (dialog: HTMLDialogElement) => void;
|
|
3589
|
+
/**
|
|
3590
|
+
* Subscribe to changes to the topmost open dialog. The listener is invoked
|
|
3591
|
+
* immediately with the current top (or `null` if no dialog is open) so
|
|
3592
|
+
* subscribers don't need a separate initial read.
|
|
3593
|
+
*
|
|
3594
|
+
* @returns A teardown function that removes the listener.
|
|
3595
|
+
*/
|
|
3596
|
+
declare const subscribeTopLayerDialog: (listener: (top: HTMLDialogElement | null) => void) => (() => void);
|
|
3597
|
+
|
|
3533
3598
|
/** Props for {@link ObjectGridContainer}. */
|
|
3534
3599
|
type ObjectGridContainerProps = {
|
|
3535
3600
|
/** Number of columns in the grid, passed to CSS `repeat()`.
|
|
@@ -5402,16 +5467,143 @@ type TileTitleProps = {
|
|
|
5402
5467
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
5403
5468
|
declare const TileText: ({ as, children, ...props }: TileTitleProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
5404
5469
|
|
|
5470
|
+
/**
|
|
5471
|
+
* Identifier returned by `toast.*` calls. Kept as `string | number` for
|
|
5472
|
+
* backwards compatibility with the previous react-toastify `Id` type that
|
|
5473
|
+
* several consumers store in `useRef<number | string>`. Internally the
|
|
5474
|
+
* underlying Base UI manager always uses `string`.
|
|
5475
|
+
*/
|
|
5476
|
+
type ToastId = string | number;
|
|
5477
|
+
/**
|
|
5478
|
+
* The shape consumers can store on a toast via the `data` field. Recognised
|
|
5479
|
+
* by the default `<ToastList>` renderer to render either a progress bar or
|
|
5480
|
+
* an inline Undo affordance, while keeping the imperative `toast.*` API
|
|
5481
|
+
* unchanged for the rest of the codebase.
|
|
5482
|
+
*/
|
|
5483
|
+
type ToastData = {
|
|
5484
|
+
/** Progress-bar toast (used by `CopyValuesToLocales`). */
|
|
5485
|
+
kind: 'progress';
|
|
5486
|
+
/** Label rendered above the progress bar. */
|
|
5487
|
+
label: React__default.ReactNode;
|
|
5488
|
+
/** Completion ratio in the closed interval [0, 1]. */
|
|
5489
|
+
progress: number;
|
|
5490
|
+
} | {
|
|
5491
|
+
/** Toast with an inline 'Undo' button (used by the InlineAI popovers). */
|
|
5492
|
+
kind: 'undoable';
|
|
5493
|
+
/** Description rendered next to the Undo button. */
|
|
5494
|
+
description: React__default.ReactNode;
|
|
5495
|
+
/** Invoked when the user clicks the Undo button. */
|
|
5496
|
+
onUndo: () => void;
|
|
5497
|
+
/** Custom label for the Undo button. */
|
|
5498
|
+
undoLabel?: string;
|
|
5499
|
+
};
|
|
5500
|
+
/**
|
|
5501
|
+
* Per-call options accepted by every `toast.*` method. The shape mirrors the
|
|
5502
|
+
* legacy react-toastify options the design system used to forward.
|
|
5503
|
+
*/
|
|
5504
|
+
type ToastOptions = {
|
|
5505
|
+
/**
|
|
5506
|
+
* Time in milliseconds before the toast is auto-dismissed. Pass `false` to
|
|
5507
|
+
* keep the toast open until it is dismissed manually (maps to Base UI's
|
|
5508
|
+
* `timeout: 0`).
|
|
5509
|
+
*/
|
|
5510
|
+
autoClose?: number | false;
|
|
5511
|
+
/**
|
|
5512
|
+
* Stable id for the toast. When provided, calling a toast method again with
|
|
5513
|
+
* the same id updates the existing toast in place (and refreshes its
|
|
5514
|
+
* auto-dismiss timer) instead of stacking a new one. Useful for deduping
|
|
5515
|
+
* toasts triggered by repeated user actions.
|
|
5516
|
+
*/
|
|
5517
|
+
toastId?: string;
|
|
5518
|
+
};
|
|
5519
|
+
/**
|
|
5520
|
+
* Promise-toast options accepted by `toast.promise`. Each handler may be a
|
|
5521
|
+
* static description string or a function that receives the resolved value /
|
|
5522
|
+
* rejection error and returns a description. All three keys are optional to
|
|
5523
|
+
* mirror react-toastify's behaviour where any unset state simply rendered an
|
|
5524
|
+
* empty toast (or none at all when the promise settled fast enough).
|
|
5525
|
+
*/
|
|
5526
|
+
type ToastPromiseOptions<TValue, TError = unknown> = {
|
|
5527
|
+
/** Description shown while the promise is pending. */
|
|
5528
|
+
pending?: React__default.ReactNode;
|
|
5529
|
+
/** Description shown when the promise resolves. */
|
|
5530
|
+
success?: React__default.ReactNode | ((value: TValue) => React__default.ReactNode);
|
|
5531
|
+
/** Description shown when the promise rejects. */
|
|
5532
|
+
error?: React__default.ReactNode | ((error: TError) => React__default.ReactNode);
|
|
5533
|
+
};
|
|
5534
|
+
/**
|
|
5535
|
+
* Patch shape accepted by `toast.update`. A subset of Base UI's
|
|
5536
|
+
* `ToastManagerUpdateOptions<ToastData>` that consumers actually use.
|
|
5537
|
+
*/
|
|
5538
|
+
type ToastUpdate = {
|
|
5539
|
+
type?: string;
|
|
5540
|
+
description?: React__default.ReactNode;
|
|
5541
|
+
timeout?: number;
|
|
5542
|
+
data?: ToastData;
|
|
5543
|
+
};
|
|
5544
|
+
/**
|
|
5545
|
+
* Imperative API for showing toasts from anywhere in the app. Mirrors the
|
|
5546
|
+
* historical react-toastify surface (`toast`, `.success`, `.error`, `.info`,
|
|
5547
|
+
* `.warning`, `.loading`, `.dismiss`, `.update`, `.done`, `.promise`) so the
|
|
5548
|
+
* ~200 existing call sites continue to work unchanged. Internally delegates
|
|
5549
|
+
* to the singleton Base UI `toastManager` mounted by `<ToastContainer />`.
|
|
5550
|
+
*/
|
|
5551
|
+
declare const toast: ((description: React__default.ReactNode, options?: ToastOptions) => ToastId) & {
|
|
5552
|
+
success: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
|
|
5553
|
+
error: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
|
|
5554
|
+
info: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
|
|
5555
|
+
warning: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
|
|
5556
|
+
loading: (description: React__default.ReactNode) => ToastId;
|
|
5557
|
+
dismiss: (id?: ToastId) => void;
|
|
5558
|
+
update: (id: ToastId, patch: ToastUpdate) => void;
|
|
5559
|
+
/**
|
|
5560
|
+
* Closes the toast. Carried forward from the react-toastify API where
|
|
5561
|
+
* `done()` ended a `loading` toast — Base UI has no separate concept,
|
|
5562
|
+
* so this is an alias for `dismiss(id)`.
|
|
5563
|
+
*/
|
|
5564
|
+
done: (id: ToastId) => void;
|
|
5565
|
+
/**
|
|
5566
|
+
* Wraps an async operation in a 3-state toast (loading / success / error).
|
|
5567
|
+
* Accepts either a `Promise` or a thunk returning a `Promise` to match the
|
|
5568
|
+
* historical react-toastify usage. The optional `TError` type argument
|
|
5569
|
+
* narrows the parameter type of the `error` callback for call sites that
|
|
5570
|
+
* historically supplied an explicit error type (e.g. `toast.promise<void, Error>`).
|
|
5571
|
+
*
|
|
5572
|
+
* Unlike Base UI's built-in `toastManager.promise`, this implementation
|
|
5573
|
+
* skips rendering toasts for states whose option is `undefined`. This
|
|
5574
|
+
* preserves the legacy react-toastify behaviour many call sites depend on
|
|
5575
|
+
* (e.g. save-draft flows omit `pending`/`success` and only want a toast
|
|
5576
|
+
* when the operation fails).
|
|
5577
|
+
*/
|
|
5578
|
+
promise: <TValue, TError = unknown>(input: Promise<TValue> | (() => Promise<TValue>), options: ToastPromiseOptions<TValue, TError>) => Promise<TValue>;
|
|
5579
|
+
};
|
|
5405
5580
|
type ToastContainerProps = {
|
|
5581
|
+
/**
|
|
5582
|
+
* Maximum number of toasts visible at once. Older toasts are dismissed when
|
|
5583
|
+
* the limit is exceeded.
|
|
5584
|
+
* @default 4
|
|
5585
|
+
*/
|
|
5406
5586
|
limit?: number;
|
|
5407
|
-
/**
|
|
5587
|
+
/**
|
|
5588
|
+
* Default auto-close duration applied to every toast that does not specify
|
|
5589
|
+
* its own `autoClose` option.
|
|
5590
|
+
* - `'normal'` — 5 seconds
|
|
5591
|
+
* - `'medium'` — 8 seconds
|
|
5592
|
+
* - `'long'` — 10 seconds
|
|
5408
5593
|
* @default 'normal'
|
|
5409
5594
|
*/
|
|
5410
5595
|
autoCloseDelay?: 'normal' | 'medium' | 'long';
|
|
5411
5596
|
};
|
|
5412
5597
|
/**
|
|
5413
|
-
*
|
|
5414
|
-
*
|
|
5598
|
+
* Renders the global toast viewport. Intended to be mounted exactly once near
|
|
5599
|
+
* the root of the app (typically in `_app.tsx`).
|
|
5600
|
+
*
|
|
5601
|
+
* @example
|
|
5602
|
+
* ```tsx
|
|
5603
|
+
* <App>
|
|
5604
|
+
* <ToastContainer autoCloseDelay="normal" />
|
|
5605
|
+
* </App>
|
|
5606
|
+
* ```
|
|
5415
5607
|
*/
|
|
5416
5608
|
declare const ToastContainer: ({ limit, autoCloseDelay }: ToastContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
5417
5609
|
|
|
@@ -5438,4 +5630,4 @@ declare const StatusBullet: ({ status, hideText, size, message, compact, ...prop
|
|
|
5438
5630
|
|
|
5439
5631
|
declare const actionBarVisibilityStyles: _emotion_react.SerializedStyles;
|
|
5440
5632
|
|
|
5441
|
-
export { 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, 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 };
|
|
5633
|
+
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, 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
|
@@ -16,11 +16,10 @@ import { JsonSchema7Type } from 'zod-to-json-schema';
|
|
|
16
16
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
17
17
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
18
18
|
export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
|
|
19
|
-
import {
|
|
19
|
+
import { ElementNode, NodeKey, Spread, SerializedElementNode, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
|
|
20
20
|
import * as _uniformdev_richtext from '@uniformdev/richtext';
|
|
21
21
|
import { RichTextBuiltInElement } from '@uniformdev/richtext';
|
|
22
22
|
export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
|
|
23
|
-
export { Id as ToastId, toast } from 'react-toastify';
|
|
24
23
|
|
|
25
24
|
/** @todo: line 144 onwards will be brought into a title, paragraph, list and link components */
|
|
26
25
|
type ThemeProps = {
|
|
@@ -55,10 +54,12 @@ declare const useBreakpoint: () => BreakpointSize;
|
|
|
55
54
|
* Media Query Helper Function
|
|
56
55
|
* @function
|
|
57
56
|
* @param {string} size - The responsive breakpoint value
|
|
58
|
-
* @
|
|
57
|
+
* @param {'min' | 'max'} [bound='min'] - Whether to use min-width or max-width
|
|
58
|
+
* @returns {string} - compiled media query e.g. @media (min-width: 640px)
|
|
59
59
|
* @example `${mq('md')} { background: red; }`
|
|
60
|
+
* @example `${mq('lg', 'max')} { overflow: hidden; }`
|
|
60
61
|
*/
|
|
61
|
-
declare const mq: (size: BreakpointSize) => string;
|
|
62
|
+
declare const mq: (size: BreakpointSize, bound?: "min" | "max") => string;
|
|
62
63
|
/**
|
|
63
64
|
* Media Query Helper Function
|
|
64
65
|
* @function
|
|
@@ -342,7 +343,7 @@ type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
342
343
|
*/
|
|
343
344
|
declare const AddListButton: ({ buttonText, onButtonClick, disabled, icon, variant, theme, ...buttonProps }: AddListButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
344
345
|
|
|
345
|
-
type AvatarSizeProp = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
346
|
+
type AvatarSizeProp = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
346
347
|
type AvatarProps = {
|
|
347
348
|
/**
|
|
348
349
|
* The src of the avatar.
|
|
@@ -367,6 +368,27 @@ type AvatarProps = {
|
|
|
367
368
|
*/
|
|
368
369
|
declare const Avatar: ({ src, label, children, size, as, labelWithoutPortal, ...props }: AvatarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
369
370
|
|
|
371
|
+
/** Canonical width tokens for each `Avatar` `size` (single source of truth for rem values). */
|
|
372
|
+
declare const AVATAR_SIZE_2XS = "1rem";
|
|
373
|
+
declare const AVATAR_SIZE_XS = "1.5rem";
|
|
374
|
+
declare const AVATAR_SIZE_SM = "2rem";
|
|
375
|
+
declare const AVATAR_SIZE_MD = "2.5rem";
|
|
376
|
+
declare const AVATAR_SIZE_LG = "3rem";
|
|
377
|
+
declare const AVATAR_SIZE_XL = "4rem";
|
|
378
|
+
declare const AVATAR_SIZE_2XL = "5rem";
|
|
379
|
+
/** Largest step (6rem ≈ 96px when root font size is 16px). */
|
|
380
|
+
declare const AVATAR_SIZE_3XL = "6rem";
|
|
381
|
+
declare const avatarStyles: _emotion_react.SerializedStyles;
|
|
382
|
+
declare const avatarImageStyles: _emotion_react.SerializedStyles;
|
|
383
|
+
declare const avatarSize2xsStyles: _emotion_react.SerializedStyles;
|
|
384
|
+
declare const avatarSizeXsStyles: _emotion_react.SerializedStyles;
|
|
385
|
+
declare const avatarSizeSmStyles: _emotion_react.SerializedStyles;
|
|
386
|
+
declare const avatarSizeMdStyles: _emotion_react.SerializedStyles;
|
|
387
|
+
declare const avatarSizeLgStyles: _emotion_react.SerializedStyles;
|
|
388
|
+
declare const avatarSizeXlStyles: _emotion_react.SerializedStyles;
|
|
389
|
+
declare const avatarSize2xlStyles: _emotion_react.SerializedStyles;
|
|
390
|
+
declare const avatarSize3xlStyles: _emotion_react.SerializedStyles;
|
|
391
|
+
|
|
370
392
|
interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
371
393
|
/**
|
|
372
394
|
* The maximum number of avatars to show. This must be 2 or more.
|
|
@@ -2763,6 +2785,14 @@ type KeyValueInputProps<TValue extends string = string> = {
|
|
|
2763
2785
|
onChange: (icon: string) => void;
|
|
2764
2786
|
disabled?: boolean;
|
|
2765
2787
|
}) => ReactNode;
|
|
2788
|
+
/**
|
|
2789
|
+
* When true, keys and values are treated as fully independent: typing a key
|
|
2790
|
+
* does not autofill the value, and multi-line paste lines without a comma
|
|
2791
|
+
* are imported as keys with empty values rather than mirroring key into value.
|
|
2792
|
+
* Use for inputs where the value has no logical relation to the key
|
|
2793
|
+
* (e.g. HTTP header name/value pairs).
|
|
2794
|
+
*/
|
|
2795
|
+
independentKeyValue?: boolean;
|
|
2766
2796
|
};
|
|
2767
2797
|
/**
|
|
2768
2798
|
* A component to render a sortable key-value input
|
|
@@ -2771,7 +2801,7 @@ type KeyValueInputProps<TValue extends string = string> = {
|
|
|
2771
2801
|
* return <KeyValueInput value={value} onChange={setValue} />
|
|
2772
2802
|
* @deprecated This component is in beta, name and props are subject to change without a major version
|
|
2773
2803
|
*/
|
|
2774
|
-
declare const KeyValueInput: <TValue extends string = string>({ value, onChange, label, newItemDefault, keyLabel, valueLabel, iconLabel, keyInfoPopover, valueInfoPopover, iconInfoPopover, disabled, errors, onFocusChange, showIconColumn, renderIconSelector, }: KeyValueInputProps<TValue>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2804
|
+
declare const KeyValueInput: <TValue extends string = string>({ value, onChange, label, newItemDefault, keyLabel, valueLabel, iconLabel, keyInfoPopover, valueInfoPopover, iconInfoPopover, disabled, errors, onFocusChange, showIconColumn, renderIconSelector, independentKeyValue, }: KeyValueInputProps<TValue>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2775
2805
|
|
|
2776
2806
|
interface DropdownStyleMenuTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
2777
2807
|
children: React.ReactNode;
|
|
@@ -3530,6 +3560,41 @@ declare const ModalDialog: React$1.ForwardRefExoticComponent<Omit<ModalDialogPro
|
|
|
3530
3560
|
declare const ModalPortalContext: React$1.Context<HTMLElement | null>;
|
|
3531
3561
|
declare function useModalPortalContainer(): HTMLElement | null;
|
|
3532
3562
|
|
|
3563
|
+
/**
|
|
3564
|
+
* Tracks the stack of currently open native `<dialog>` elements that have been
|
|
3565
|
+
* promoted to the browser's top layer via `HTMLDialogElement.showModal()`.
|
|
3566
|
+
*
|
|
3567
|
+
* Anything portalled to `document.body` is rendered behind any top-layer
|
|
3568
|
+
* dialog, which means toasts (whose Base UI portal defaults to `body`) would
|
|
3569
|
+
* be hidden behind an open modal. By keeping a shared stack here we can hand
|
|
3570
|
+
* the topmost dialog to `BaseToast.Portal`'s `container` prop and have toasts
|
|
3571
|
+
* portal _into_ that dialog while it is open, then fall back to `body` when no
|
|
3572
|
+
* modal is on screen.
|
|
3573
|
+
*
|
|
3574
|
+
* The stack supports nested modals — each `Modal` registers on mount /
|
|
3575
|
+
* `showModal()` and unregisters on cleanup, and listeners always receive the
|
|
3576
|
+
* topmost (last-pushed) entry.
|
|
3577
|
+
*/
|
|
3578
|
+
/**
|
|
3579
|
+
* Push a dialog element onto the stack. Intended to be called by `Modal`
|
|
3580
|
+
* immediately after `showModal()` so the dialog can become the active toast
|
|
3581
|
+
* portal target.
|
|
3582
|
+
*/
|
|
3583
|
+
declare const pushTopLayerDialog: (dialog: HTMLDialogElement) => void;
|
|
3584
|
+
/**
|
|
3585
|
+
* Remove a dialog element from the stack. Safe to call even if the dialog is
|
|
3586
|
+
* not currently in the stack (no-op in that case).
|
|
3587
|
+
*/
|
|
3588
|
+
declare const popTopLayerDialog: (dialog: HTMLDialogElement) => void;
|
|
3589
|
+
/**
|
|
3590
|
+
* Subscribe to changes to the topmost open dialog. The listener is invoked
|
|
3591
|
+
* immediately with the current top (or `null` if no dialog is open) so
|
|
3592
|
+
* subscribers don't need a separate initial read.
|
|
3593
|
+
*
|
|
3594
|
+
* @returns A teardown function that removes the listener.
|
|
3595
|
+
*/
|
|
3596
|
+
declare const subscribeTopLayerDialog: (listener: (top: HTMLDialogElement | null) => void) => (() => void);
|
|
3597
|
+
|
|
3533
3598
|
/** Props for {@link ObjectGridContainer}. */
|
|
3534
3599
|
type ObjectGridContainerProps = {
|
|
3535
3600
|
/** Number of columns in the grid, passed to CSS `repeat()`.
|
|
@@ -5402,16 +5467,143 @@ type TileTitleProps = {
|
|
|
5402
5467
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
5403
5468
|
declare const TileText: ({ as, children, ...props }: TileTitleProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
5404
5469
|
|
|
5470
|
+
/**
|
|
5471
|
+
* Identifier returned by `toast.*` calls. Kept as `string | number` for
|
|
5472
|
+
* backwards compatibility with the previous react-toastify `Id` type that
|
|
5473
|
+
* several consumers store in `useRef<number | string>`. Internally the
|
|
5474
|
+
* underlying Base UI manager always uses `string`.
|
|
5475
|
+
*/
|
|
5476
|
+
type ToastId = string | number;
|
|
5477
|
+
/**
|
|
5478
|
+
* The shape consumers can store on a toast via the `data` field. Recognised
|
|
5479
|
+
* by the default `<ToastList>` renderer to render either a progress bar or
|
|
5480
|
+
* an inline Undo affordance, while keeping the imperative `toast.*` API
|
|
5481
|
+
* unchanged for the rest of the codebase.
|
|
5482
|
+
*/
|
|
5483
|
+
type ToastData = {
|
|
5484
|
+
/** Progress-bar toast (used by `CopyValuesToLocales`). */
|
|
5485
|
+
kind: 'progress';
|
|
5486
|
+
/** Label rendered above the progress bar. */
|
|
5487
|
+
label: React__default.ReactNode;
|
|
5488
|
+
/** Completion ratio in the closed interval [0, 1]. */
|
|
5489
|
+
progress: number;
|
|
5490
|
+
} | {
|
|
5491
|
+
/** Toast with an inline 'Undo' button (used by the InlineAI popovers). */
|
|
5492
|
+
kind: 'undoable';
|
|
5493
|
+
/** Description rendered next to the Undo button. */
|
|
5494
|
+
description: React__default.ReactNode;
|
|
5495
|
+
/** Invoked when the user clicks the Undo button. */
|
|
5496
|
+
onUndo: () => void;
|
|
5497
|
+
/** Custom label for the Undo button. */
|
|
5498
|
+
undoLabel?: string;
|
|
5499
|
+
};
|
|
5500
|
+
/**
|
|
5501
|
+
* Per-call options accepted by every `toast.*` method. The shape mirrors the
|
|
5502
|
+
* legacy react-toastify options the design system used to forward.
|
|
5503
|
+
*/
|
|
5504
|
+
type ToastOptions = {
|
|
5505
|
+
/**
|
|
5506
|
+
* Time in milliseconds before the toast is auto-dismissed. Pass `false` to
|
|
5507
|
+
* keep the toast open until it is dismissed manually (maps to Base UI's
|
|
5508
|
+
* `timeout: 0`).
|
|
5509
|
+
*/
|
|
5510
|
+
autoClose?: number | false;
|
|
5511
|
+
/**
|
|
5512
|
+
* Stable id for the toast. When provided, calling a toast method again with
|
|
5513
|
+
* the same id updates the existing toast in place (and refreshes its
|
|
5514
|
+
* auto-dismiss timer) instead of stacking a new one. Useful for deduping
|
|
5515
|
+
* toasts triggered by repeated user actions.
|
|
5516
|
+
*/
|
|
5517
|
+
toastId?: string;
|
|
5518
|
+
};
|
|
5519
|
+
/**
|
|
5520
|
+
* Promise-toast options accepted by `toast.promise`. Each handler may be a
|
|
5521
|
+
* static description string or a function that receives the resolved value /
|
|
5522
|
+
* rejection error and returns a description. All three keys are optional to
|
|
5523
|
+
* mirror react-toastify's behaviour where any unset state simply rendered an
|
|
5524
|
+
* empty toast (or none at all when the promise settled fast enough).
|
|
5525
|
+
*/
|
|
5526
|
+
type ToastPromiseOptions<TValue, TError = unknown> = {
|
|
5527
|
+
/** Description shown while the promise is pending. */
|
|
5528
|
+
pending?: React__default.ReactNode;
|
|
5529
|
+
/** Description shown when the promise resolves. */
|
|
5530
|
+
success?: React__default.ReactNode | ((value: TValue) => React__default.ReactNode);
|
|
5531
|
+
/** Description shown when the promise rejects. */
|
|
5532
|
+
error?: React__default.ReactNode | ((error: TError) => React__default.ReactNode);
|
|
5533
|
+
};
|
|
5534
|
+
/**
|
|
5535
|
+
* Patch shape accepted by `toast.update`. A subset of Base UI's
|
|
5536
|
+
* `ToastManagerUpdateOptions<ToastData>` that consumers actually use.
|
|
5537
|
+
*/
|
|
5538
|
+
type ToastUpdate = {
|
|
5539
|
+
type?: string;
|
|
5540
|
+
description?: React__default.ReactNode;
|
|
5541
|
+
timeout?: number;
|
|
5542
|
+
data?: ToastData;
|
|
5543
|
+
};
|
|
5544
|
+
/**
|
|
5545
|
+
* Imperative API for showing toasts from anywhere in the app. Mirrors the
|
|
5546
|
+
* historical react-toastify surface (`toast`, `.success`, `.error`, `.info`,
|
|
5547
|
+
* `.warning`, `.loading`, `.dismiss`, `.update`, `.done`, `.promise`) so the
|
|
5548
|
+
* ~200 existing call sites continue to work unchanged. Internally delegates
|
|
5549
|
+
* to the singleton Base UI `toastManager` mounted by `<ToastContainer />`.
|
|
5550
|
+
*/
|
|
5551
|
+
declare const toast: ((description: React__default.ReactNode, options?: ToastOptions) => ToastId) & {
|
|
5552
|
+
success: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
|
|
5553
|
+
error: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
|
|
5554
|
+
info: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
|
|
5555
|
+
warning: (description: React__default.ReactNode, options?: ToastOptions) => ToastId;
|
|
5556
|
+
loading: (description: React__default.ReactNode) => ToastId;
|
|
5557
|
+
dismiss: (id?: ToastId) => void;
|
|
5558
|
+
update: (id: ToastId, patch: ToastUpdate) => void;
|
|
5559
|
+
/**
|
|
5560
|
+
* Closes the toast. Carried forward from the react-toastify API where
|
|
5561
|
+
* `done()` ended a `loading` toast — Base UI has no separate concept,
|
|
5562
|
+
* so this is an alias for `dismiss(id)`.
|
|
5563
|
+
*/
|
|
5564
|
+
done: (id: ToastId) => void;
|
|
5565
|
+
/**
|
|
5566
|
+
* Wraps an async operation in a 3-state toast (loading / success / error).
|
|
5567
|
+
* Accepts either a `Promise` or a thunk returning a `Promise` to match the
|
|
5568
|
+
* historical react-toastify usage. The optional `TError` type argument
|
|
5569
|
+
* narrows the parameter type of the `error` callback for call sites that
|
|
5570
|
+
* historically supplied an explicit error type (e.g. `toast.promise<void, Error>`).
|
|
5571
|
+
*
|
|
5572
|
+
* Unlike Base UI's built-in `toastManager.promise`, this implementation
|
|
5573
|
+
* skips rendering toasts for states whose option is `undefined`. This
|
|
5574
|
+
* preserves the legacy react-toastify behaviour many call sites depend on
|
|
5575
|
+
* (e.g. save-draft flows omit `pending`/`success` and only want a toast
|
|
5576
|
+
* when the operation fails).
|
|
5577
|
+
*/
|
|
5578
|
+
promise: <TValue, TError = unknown>(input: Promise<TValue> | (() => Promise<TValue>), options: ToastPromiseOptions<TValue, TError>) => Promise<TValue>;
|
|
5579
|
+
};
|
|
5405
5580
|
type ToastContainerProps = {
|
|
5581
|
+
/**
|
|
5582
|
+
* Maximum number of toasts visible at once. Older toasts are dismissed when
|
|
5583
|
+
* the limit is exceeded.
|
|
5584
|
+
* @default 4
|
|
5585
|
+
*/
|
|
5406
5586
|
limit?: number;
|
|
5407
|
-
/**
|
|
5587
|
+
/**
|
|
5588
|
+
* Default auto-close duration applied to every toast that does not specify
|
|
5589
|
+
* its own `autoClose` option.
|
|
5590
|
+
* - `'normal'` — 5 seconds
|
|
5591
|
+
* - `'medium'` — 8 seconds
|
|
5592
|
+
* - `'long'` — 10 seconds
|
|
5408
5593
|
* @default 'normal'
|
|
5409
5594
|
*/
|
|
5410
5595
|
autoCloseDelay?: 'normal' | 'medium' | 'long';
|
|
5411
5596
|
};
|
|
5412
5597
|
/**
|
|
5413
|
-
*
|
|
5414
|
-
*
|
|
5598
|
+
* Renders the global toast viewport. Intended to be mounted exactly once near
|
|
5599
|
+
* the root of the app (typically in `_app.tsx`).
|
|
5600
|
+
*
|
|
5601
|
+
* @example
|
|
5602
|
+
* ```tsx
|
|
5603
|
+
* <App>
|
|
5604
|
+
* <ToastContainer autoCloseDelay="normal" />
|
|
5605
|
+
* </App>
|
|
5606
|
+
* ```
|
|
5415
5607
|
*/
|
|
5416
5608
|
declare const ToastContainer: ({ limit, autoCloseDelay }: ToastContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
5417
5609
|
|
|
@@ -5438,4 +5630,4 @@ declare const StatusBullet: ({ status, hideText, size, message, compact, ...prop
|
|
|
5438
5630
|
|
|
5439
5631
|
declare const actionBarVisibilityStyles: _emotion_react.SerializedStyles;
|
|
5440
5632
|
|
|
5441
|
-
export { 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, 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 };
|
|
5633
|
+
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, 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 };
|