@uniformdev/design-system 20.47.2-alpha.4 → 20.48.1-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -1
- package/dist/esm/index.js +3444 -1831
- package/dist/index.d.mts +799 -262
- package/dist/index.d.ts +799 -262
- package/dist/index.js +3591 -1931
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { Decorator } from '@storybook/react-vite';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { RefObject, ReactElement, HTMLAttributes, ReactNode, ButtonHTMLAttributes, ImgHTMLAttributes, SVGProps, InputHTMLAttributes,
|
|
5
|
-
import { GroupBase, Props, MultiValue, SingleValue } from 'react-select';
|
|
4
|
+
import React__default, { RefObject, ReactElement, HTMLAttributes, ReactNode, ButtonHTMLAttributes, ImgHTMLAttributes, SVGProps, InputHTMLAttributes, HtmlHTMLAttributes, PropsWithChildren, CSSProperties, Ref, FocusEventHandler, ChangeEvent } from 'react';
|
|
5
|
+
import { GroupBase, Props, MultiValue, SingleValue, StylesConfig } from 'react-select';
|
|
6
6
|
export { ActionMeta, FormatOptionLabelContext, FormatOptionLabelMeta, GetOptionLabel, GetOptionValue, GroupBase, GroupHeadingProps, GroupProps, MenuListProps, MenuPlacement, MultiValue, MultiValueGenericProps, MultiValueProps, MultiValueRemoveProps, OnChangeValue, OptionContext, OptionProps, Options, OptionsOrGroups } from 'react-select';
|
|
7
7
|
import * as _emotion_react from '@emotion/react';
|
|
8
|
-
import { SerializedStyles } from '@emotion/react';
|
|
8
|
+
import { SerializedStyles, Interpolation, Theme as Theme$1 } from '@emotion/react';
|
|
9
9
|
import * as _ariakit_react from '@ariakit/react';
|
|
10
10
|
import { TooltipOptions, TooltipStoreProps, TooltipProps as TooltipProps$1, ButtonProps as ButtonProps$1, MenuStoreProps, PopoverStoreState, MenuProps as MenuProps$1, Menu as Menu$1, MenuItemProps as MenuItemProps$1, PopoverProps as PopoverProps$1, PopoverProviderProps, PopoverStore, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
|
|
11
11
|
export { PopoverStore } from '@ariakit/react';
|
|
@@ -589,6 +589,19 @@ type ButtonWithVariantProps = Omit<ButtonProps, 'buttonType'> & {
|
|
|
589
589
|
*/
|
|
590
590
|
declare const Button: React$1.ForwardRefExoticComponent<(Omit<ButtonProps, "ref"> | Omit<ButtonWithVariantProps, "ref">) & React$1.RefAttributes<HTMLButtonElement>>;
|
|
591
591
|
|
|
592
|
+
type LinkButtonProps = ButtonProps$1 & {
|
|
593
|
+
/** React child node */
|
|
594
|
+
children?: React$1.ReactNode;
|
|
595
|
+
/** (optional) sets whether the link is truncated or not */
|
|
596
|
+
truncated?: boolean;
|
|
597
|
+
};
|
|
598
|
+
/**
|
|
599
|
+
* @deprecated - Beta - A button styled as a link with ghost-like appearance.
|
|
600
|
+
* Features no padding, left-aligned content, text truncation, and no background hover color.
|
|
601
|
+
* @example <LinkButton onClick={() => {}}>Click me</LinkButton>
|
|
602
|
+
*/
|
|
603
|
+
declare const LinkButton: React$1.ForwardRefExoticComponent<Omit<LinkButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
604
|
+
|
|
592
605
|
declare const rectangleRoundedIcon: IconType$1;
|
|
593
606
|
declare const cardIcon: IconType$1;
|
|
594
607
|
declare const imageTextIcon: IconType$1;
|
|
@@ -607,6 +620,7 @@ declare const jsonIcon: IconType$1;
|
|
|
607
620
|
declare const yesNoIcon: IconType$1;
|
|
608
621
|
declare const zigZag: IconType$1;
|
|
609
622
|
declare const zigZagThick: IconType$1;
|
|
623
|
+
declare const chatIcon: IconType$1;
|
|
610
624
|
declare const customIcons: {
|
|
611
625
|
'rectangle-rounded': IconType$1;
|
|
612
626
|
card: IconType$1;
|
|
@@ -640,6 +654,7 @@ declare const customIcons: {
|
|
|
640
654
|
refresh: IconType$1;
|
|
641
655
|
'zig-zag': IconType$1;
|
|
642
656
|
'zig-zag-thick': IconType$1;
|
|
657
|
+
'chat-icon': IconType$1;
|
|
643
658
|
};
|
|
644
659
|
|
|
645
660
|
declare const allSupportedIcons: {
|
|
@@ -675,6 +690,7 @@ declare const allSupportedIcons: {
|
|
|
675
690
|
refresh: _react_icons_all_files.IconType;
|
|
676
691
|
'zig-zag': _react_icons_all_files.IconType;
|
|
677
692
|
'zig-zag-thick': _react_icons_all_files.IconType;
|
|
693
|
+
'chat-icon': _react_icons_all_files.IconType;
|
|
678
694
|
'add-r': _react_icons_all_files.IconType;
|
|
679
695
|
add: _react_icons_all_files.IconType;
|
|
680
696
|
airplane: _react_icons_all_files.IconType;
|
|
@@ -1345,6 +1361,7 @@ interface IconProps extends IconBaseProps {
|
|
|
1345
1361
|
|
|
1346
1362
|
/**
|
|
1347
1363
|
* Component that renders icons
|
|
1364
|
+
* @requires IconsProvider - Wrap a parent component with `<IconsProvider>` for string-based icon names.
|
|
1348
1365
|
* @example <Icon icon="add-r" iconColor="currentColor" />
|
|
1349
1366
|
*/
|
|
1350
1367
|
declare const Icon: React__default.MemoExoticComponent<({ icon, iconColor, size, ...otherProps }: IconProps) => _emotion_react_jsx_runtime.JSX.Element | null>;
|
|
@@ -1447,12 +1464,25 @@ declare const ButtonWithMenu: ({ onButtonClick, buttonText, icon, disabled, chil
|
|
|
1447
1464
|
* A string in the ISO 8601 date format: YYYY-MM-DD
|
|
1448
1465
|
*/
|
|
1449
1466
|
type IsoDateString = string;
|
|
1467
|
+
type CalendarCellCss = Interpolation<Theme$1> | null | false | undefined;
|
|
1468
|
+
/**
|
|
1469
|
+
* Optional style overrides for calendar sub-elements.
|
|
1470
|
+
*/
|
|
1471
|
+
type CalendarStyles = {
|
|
1472
|
+
/**
|
|
1473
|
+
* Returns custom styles to append to a date cell.
|
|
1474
|
+
*/
|
|
1475
|
+
calendarCell?: (date: Date) => CalendarCellCss[];
|
|
1476
|
+
};
|
|
1450
1477
|
type CalendarProps = Pick<CalendarProps$1<DateValue>, 'autoFocus' | 'isDisabled' | 'isReadOnly' | 'isInvalid'> & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur' | 'onFocus'> & {
|
|
1451
1478
|
value: IsoDateString | null | undefined;
|
|
1452
1479
|
timeZone: string;
|
|
1453
1480
|
minValue?: IsoDateString;
|
|
1454
1481
|
maxValue?: IsoDateString;
|
|
1455
1482
|
onChange?: (value: IsoDateString) => void;
|
|
1483
|
+
styles?: CalendarStyles;
|
|
1484
|
+
withTodayButton?: boolean;
|
|
1485
|
+
isDateUnavailable?: (date: Date) => boolean;
|
|
1456
1486
|
};
|
|
1457
1487
|
/**
|
|
1458
1488
|
* A Calendar Grid which allows the user to navigate
|
|
@@ -1460,7 +1490,7 @@ type CalendarProps = Pick<CalendarProps$1<DateValue>, 'autoFocus' | 'isDisabled'
|
|
|
1460
1490
|
*
|
|
1461
1491
|
* @deprecated This component is in beta, name and props are subject to change without a major version
|
|
1462
1492
|
*/
|
|
1463
|
-
declare const Calendar: ({ value, timeZone, minValue, maxValue, onChange, autoFocus, isDisabled, isInvalid, isReadOnly, ...props }: CalendarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1493
|
+
declare const Calendar: ({ value, timeZone, minValue, maxValue, onChange, styles: stylesProp, autoFocus, isDisabled, isInvalid, isReadOnly, withTodayButton, isDateUnavailable, ...props }: CalendarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1464
1494
|
|
|
1465
1495
|
/** Callout button types available to use with our brand */
|
|
1466
1496
|
type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
|
|
@@ -1557,7 +1587,7 @@ declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...p
|
|
|
1557
1587
|
*/
|
|
1558
1588
|
declare const LoadingCardSkeleton: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
1559
1589
|
|
|
1560
|
-
type ChipSizeProp = 'xs' | 'sm' | 'md';
|
|
1590
|
+
type ChipSizeProp = 'xxs' | 'xs' | 'sm' | 'md';
|
|
1561
1591
|
type ChipTheme = 'accent-light' | 'accent-dark' | 'accent-alt-light' | 'accent-alt-dark' | 'neutral-light' | 'neutral-dark' | 'utility-caution' | 'utility-danger' | 'utility-info' | 'utility-success';
|
|
1562
1592
|
type ChipProps = {
|
|
1563
1593
|
icon?: IconType;
|
|
@@ -1786,6 +1816,8 @@ type DateTimePickerProps = {
|
|
|
1786
1816
|
offset?: number;
|
|
1787
1817
|
/** (optional) sets whether to render the popover in a portal */
|
|
1788
1818
|
portal?: boolean;
|
|
1819
|
+
/** (optional) reduces input height to match compact parameter inputs */
|
|
1820
|
+
compact?: boolean;
|
|
1789
1821
|
};
|
|
1790
1822
|
/**
|
|
1791
1823
|
* Use this context for slots within the date time picker
|
|
@@ -1805,7 +1837,7 @@ declare function useDateTimePickerContext(): {
|
|
|
1805
1837
|
* Subcomponents can manipulate the value directly by using
|
|
1806
1838
|
* the `useDateTimePickerContext()` hook.
|
|
1807
1839
|
*/
|
|
1808
|
-
declare const DateTimePicker: ({ id, label, triggerIcon, value, minVisible, maxVisible, variant, caption, placeholder, belowTimeInputSlot, showLabel, errorMessage, warningMessage, disabled, onChange, offset, testId, placement, portal, ...props }: DateTimePickerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1840
|
+
declare const DateTimePicker: ({ id, label, triggerIcon, value, minVisible, maxVisible, variant, caption, placeholder, belowTimeInputSlot, showLabel, errorMessage, warningMessage, disabled, onChange, offset, testId, placement, portal, compact, ...props }: DateTimePickerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1809
1841
|
|
|
1810
1842
|
declare function DateTimePickerSummary({ value, placeholder, }: {
|
|
1811
1843
|
value: DateTimePickerValue | null | undefined;
|
|
@@ -1902,6 +1934,7 @@ interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDiv
|
|
|
1902
1934
|
}
|
|
1903
1935
|
/**
|
|
1904
1936
|
* Renders a stack of drawers in a different location than their original position in the component tree. Uses React Portal under the hood.
|
|
1937
|
+
* @requires DrawerProvider - Must be rendered inside a `<DrawerProvider>`.
|
|
1905
1938
|
* @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
|
|
1906
1939
|
*/
|
|
1907
1940
|
declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, leftAligned, withoutFluidWidth, ...otherProps }: DrawerRendererProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
@@ -1991,8 +2024,10 @@ declare const useCurrentDrawer: () => {
|
|
|
1991
2024
|
leftAligned?: DrawerRendererProps["leftAligned"];
|
|
1992
2025
|
};
|
|
1993
2026
|
/**
|
|
1994
|
-
* A drawer component that opens from the right side of
|
|
1995
|
-
*
|
|
2027
|
+
* A drawer component that opens from the right side of its parent.
|
|
2028
|
+
* When used without an external `<DrawerProvider>`, creates its own provider and renderer internally.
|
|
2029
|
+
* For shared drawer stacks, wrap with `<DrawerProvider>` and use a `<DrawerRenderer>`.
|
|
2030
|
+
* @example <DrawerProvider><Drawer id="my-drawer" header="Title">Hello</Drawer><DrawerRenderer /></DrawerProvider>
|
|
1996
2031
|
*/
|
|
1997
2032
|
declare const Drawer: React__default.ForwardRefExoticComponent<DrawerItem & Omit<DrawerRendererProps, "stackId"> & {
|
|
1998
2033
|
header?: React__default.ReactNode;
|
|
@@ -2009,6 +2044,11 @@ type DrawerContentProps = {
|
|
|
2009
2044
|
declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2010
2045
|
|
|
2011
2046
|
declare const TAKEOVER_STACK_ID = "takeover-stack";
|
|
2047
|
+
/**
|
|
2048
|
+
* A specialized drawer renderer that takes over the full stack.
|
|
2049
|
+
* @requires DrawerProvider - Must be rendered inside a `<DrawerProvider>`.
|
|
2050
|
+
* @example <DrawerProvider><TakeoverDrawerRenderer /><Drawer id="my-drawer" header="Title">Hello</Drawer></DrawerProvider>
|
|
2051
|
+
*/
|
|
2012
2052
|
declare const TakeoverDrawerRenderer: (props: Omit<DrawerRendererProps, "stackId"> & {
|
|
2013
2053
|
stackId?: string;
|
|
2014
2054
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -2707,209 +2747,6 @@ type KeyValueInputProps<TValue extends string = string> = {
|
|
|
2707
2747
|
*/
|
|
2708
2748
|
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;
|
|
2709
2749
|
|
|
2710
|
-
type AsideAndSectionLayout = {
|
|
2711
|
-
/** sets child components in the aside / supporting column */
|
|
2712
|
-
sidebar?: ReactNode;
|
|
2713
|
-
/** sets child components in the section / main content column */
|
|
2714
|
-
children: ReactNode;
|
|
2715
|
-
/** Makes the sidebar sticky to the top of the container
|
|
2716
|
-
* @default false
|
|
2717
|
-
*/
|
|
2718
|
-
isStickyAside?: boolean;
|
|
2719
|
-
};
|
|
2720
|
-
declare const AsideAndSectionLayout: ({ sidebar, children, isStickyAside, }: AsideAndSectionLayout) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2721
|
-
|
|
2722
|
-
type SpacingProp = '0' | '2xs' | 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
2723
|
-
type BackgroundColorProp = 'transparent' | 'white' | 'gray-50' | 'gray-100' | 'gray-200' | 'gray-300' | 'gray-400' | 'gray-500' | 'gray-600' | 'gray-700' | 'gray-800' | 'gray-900';
|
|
2724
|
-
type HtmlTagProps = 'div' | 'section' | 'article' | 'aside' | 'span';
|
|
2725
|
-
type BorderRadiusProps = 'rounded-sm' | 'rounded-base' | 'rounded-md';
|
|
2726
|
-
type CommonContainerProps = {
|
|
2727
|
-
/** sets the background color of the element */
|
|
2728
|
-
backgroundColor?: BackgroundColorProp;
|
|
2729
|
-
/** sets border: 1px solid var(--gray-300)*/
|
|
2730
|
-
border?: boolean;
|
|
2731
|
-
/** sets the border radius of the element */
|
|
2732
|
-
rounded?: BorderRadiusProps;
|
|
2733
|
-
/** sets the padding of the element */
|
|
2734
|
-
padding?: string;
|
|
2735
|
-
/** sets the margin of the element */
|
|
2736
|
-
margin?: string;
|
|
2737
|
-
};
|
|
2738
|
-
type RhythmProps = React.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> & {
|
|
2739
|
-
/** sets the wrapping html tag
|
|
2740
|
-
* @default 'div'
|
|
2741
|
-
*/
|
|
2742
|
-
tag?: HtmlTagProps | 'fieldset';
|
|
2743
|
-
/** sets the spacing between each element
|
|
2744
|
-
* @default 'div'
|
|
2745
|
-
*/
|
|
2746
|
-
gap?: SpacingProp;
|
|
2747
|
-
/** sets the alignment of elements
|
|
2748
|
-
* @default normal browser behaviour
|
|
2749
|
-
*/
|
|
2750
|
-
align?: CSSProperties['alignItems'];
|
|
2751
|
-
justify?: CSSProperties['justifyContent'];
|
|
2752
|
-
children: React.ReactNode;
|
|
2753
|
-
/** for use when fieldset is applied to the tag prop */
|
|
2754
|
-
disabled?: boolean;
|
|
2755
|
-
ref?: Ref<HTMLDivElement>;
|
|
2756
|
-
};
|
|
2757
|
-
|
|
2758
|
-
type ContainerProps = CommonContainerProps & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2759
|
-
tag?: HtmlTagProps;
|
|
2760
|
-
children: React$1.ReactNode;
|
|
2761
|
-
};
|
|
2762
|
-
declare const Container: ({ tag, backgroundColor, border, rounded, padding, margin, children, ...props }: ContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2763
|
-
|
|
2764
|
-
declare const HorizontalRhythm: ({ align, justify, tag, gap, children, ref, ...props }: RhythmProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2765
|
-
|
|
2766
|
-
type TwoColumnLayoutProps = {
|
|
2767
|
-
/** sets the full bleed background colour
|
|
2768
|
-
* @default 'var(--white)'
|
|
2769
|
-
*/
|
|
2770
|
-
bgColor?: 'var(--white)' | 'var(--gray-50)';
|
|
2771
|
-
/** sets child components in the aside / supporting column */
|
|
2772
|
-
supportingContent?: ReactNode;
|
|
2773
|
-
/** sets child components in the section / main content column */
|
|
2774
|
-
children?: ReactNode;
|
|
2775
|
-
/** inverts the layout placing the aside container on the left
|
|
2776
|
-
* @default false
|
|
2777
|
-
*/
|
|
2778
|
-
invertLayout?: boolean;
|
|
2779
|
-
};
|
|
2780
|
-
/** @example <TwoColumnLayout supportingContent={<div>supporting content</div>}><h1>title</h1></TwoColumnLayout> */
|
|
2781
|
-
declare const TwoColumnLayout: ({ bgColor, invertLayout, supportingContent, children, }: TwoColumnLayoutProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2782
|
-
|
|
2783
|
-
declare const VerticalRhythm: ({ align, justify, tag, gap, children, ref, ...props }: RhythmProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2784
|
-
|
|
2785
|
-
type LimitsBarProps = {
|
|
2786
|
-
/** The current value of used limits */
|
|
2787
|
-
current: number;
|
|
2788
|
-
/** The maximum number of limits */
|
|
2789
|
-
max: number;
|
|
2790
|
-
/** @deprecated No longer used */
|
|
2791
|
-
label?: string;
|
|
2792
|
-
/** Optional popover content for info icon */
|
|
2793
|
-
popoverContent?: ReactNode;
|
|
2794
|
-
};
|
|
2795
|
-
/**
|
|
2796
|
-
* Uniform Limits Bar Component
|
|
2797
|
-
* @example <LimitsBar current={3} max={5} />
|
|
2798
|
-
*/
|
|
2799
|
-
declare const LimitsBar: ({ current, max, popoverContent }: LimitsBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2800
|
-
|
|
2801
|
-
type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2802
|
-
/** sets the title field */
|
|
2803
|
-
title: string;
|
|
2804
|
-
/** (optional) sets react child component */
|
|
2805
|
-
children?: React$1.ReactNode;
|
|
2806
|
-
};
|
|
2807
|
-
declare const LinkList: ({ title, children, ...props }: LinkListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2808
|
-
|
|
2809
|
-
type ScrollableListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2810
|
-
/** (optional) sets the label value */
|
|
2811
|
-
label?: string;
|
|
2812
|
-
/** (optional) allows users to add child components within the container */
|
|
2813
|
-
children?: React$1.ReactNode;
|
|
2814
|
-
};
|
|
2815
|
-
/**
|
|
2816
|
-
* Component that sets the base structure for scrollable content in a max height container
|
|
2817
|
-
* @example <ScrollableList label="allowed content types"><button>say hello</button></ScrollableList>
|
|
2818
|
-
*/
|
|
2819
|
-
declare const ScrollableList: ({ label, children, ...props }: ScrollableListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2820
|
-
|
|
2821
|
-
type ScrollableListContainerProps = {
|
|
2822
|
-
/** sets whether to show or hide the shadow around the element
|
|
2823
|
-
* @default 'false'
|
|
2824
|
-
*/
|
|
2825
|
-
disableShadow?: boolean;
|
|
2826
|
-
/** sets the active style of the button */
|
|
2827
|
-
active: boolean;
|
|
2828
|
-
};
|
|
2829
|
-
|
|
2830
|
-
type ScrollableItemProps = {
|
|
2831
|
-
/** sets an element within the label > span element */
|
|
2832
|
-
icon?: React.ReactElement;
|
|
2833
|
-
/**sets the label value */
|
|
2834
|
-
label: string | React.ReactElement;
|
|
2835
|
-
/** sets a data-testid on the label */
|
|
2836
|
-
labelTestId?: string;
|
|
2837
|
-
/** recommended to use a form input element of type radio or checkbox */
|
|
2838
|
-
children: React.ReactNode;
|
|
2839
|
-
} & ScrollableListContainerProps;
|
|
2840
|
-
/** @example <ScrollableListInputItem label="my label" active={true}><input type="radio" name="age" /></ScrollableListInputItem>*/
|
|
2841
|
-
declare const ScrollableListInputItem: ({ label, icon, active, disableShadow, children, labelTestId, ...props }: ScrollableItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2842
|
-
|
|
2843
|
-
type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
2844
|
-
/** sets the button text value */
|
|
2845
|
-
buttonText: string;
|
|
2846
|
-
icon?: React$1.ReactElement;
|
|
2847
|
-
} & ScrollableListContainerProps;
|
|
2848
|
-
/**
|
|
2849
|
-
* Component used within <ScrollableList /> for adding interactive button components with predefined styles
|
|
2850
|
-
* @example <ScrollableListItem buttontext="my button" active={false} />
|
|
2851
|
-
*/
|
|
2852
|
-
declare const ScrollableListItem: ({ buttonText, icon, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2853
|
-
|
|
2854
|
-
type LoadingIndicatorProps = {
|
|
2855
|
-
color?: 'gray' | 'accent-alt';
|
|
2856
|
-
size?: 'lg' | 'sm';
|
|
2857
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, 'color'>;
|
|
2858
|
-
/**
|
|
2859
|
-
* Loading Indicator
|
|
2860
|
-
* @example <LoadingIndicator />
|
|
2861
|
-
*/
|
|
2862
|
-
declare const LoadingIndicator: ({ size, color, ...props }: LoadingIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2863
|
-
|
|
2864
|
-
interface LoadingOverlayProps {
|
|
2865
|
-
/** sets whether to display the loading overlay components */
|
|
2866
|
-
isActive: boolean;
|
|
2867
|
-
/** (optional) type that sets a text value or React component under the loading icon */
|
|
2868
|
-
statusMessage?: string | ReactNode;
|
|
2869
|
-
/** (optional) the z-index value of the overlay
|
|
2870
|
-
* @default 9999
|
|
2871
|
-
*/
|
|
2872
|
-
zIndex?: number;
|
|
2873
|
-
/** (optional) sets the width and height of the loader
|
|
2874
|
-
* @default 128
|
|
2875
|
-
*/
|
|
2876
|
-
loaderSize?: number;
|
|
2877
|
-
/** (optional) sets the loading overlay background color
|
|
2878
|
-
* @default 'var(--white)'
|
|
2879
|
-
*/
|
|
2880
|
-
overlayBackgroundColor?: 'transparent' | 'var(--white)';
|
|
2881
|
-
/** (optional) if set to true, the animation of the loading indicator is paused
|
|
2882
|
-
* @default false
|
|
2883
|
-
*/
|
|
2884
|
-
isPaused?: boolean;
|
|
2885
|
-
/** (optional) aligns the content of the overlay to the top instead of having it centered
|
|
2886
|
-
* @default false
|
|
2887
|
-
*/
|
|
2888
|
-
isTopAligned?: boolean;
|
|
2889
|
-
children?: React.ReactNode;
|
|
2890
|
-
/** (optional) sets the position of the overlay
|
|
2891
|
-
* @default 'absolute'
|
|
2892
|
-
*/
|
|
2893
|
-
position?: 'absolute' | 'fixed';
|
|
2894
|
-
}
|
|
2895
|
-
/**
|
|
2896
|
-
* Loading Overlay.
|
|
2897
|
-
* NOTE: the container/parent element must have a non-static `position` value for the overlay to work properly.
|
|
2898
|
-
* @example <LoadingOverlay isActive={true} statusMessage="Loading..." />
|
|
2899
|
-
*/
|
|
2900
|
-
declare const LoadingOverlay: ({ isActive, statusMessage, zIndex, loaderSize, overlayBackgroundColor, isTopAligned, isPaused, children, position, }: LoadingOverlayProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2901
|
-
interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
2902
|
-
/** (optional) prop that sets a number value for the height of the icon */
|
|
2903
|
-
width?: number;
|
|
2904
|
-
/** (optional) prop that sets a number value for the width of the icon */
|
|
2905
|
-
height?: number;
|
|
2906
|
-
}
|
|
2907
|
-
/**
|
|
2908
|
-
* Loading Icon
|
|
2909
|
-
* @example <LoadingIcon height={128} width={128} />
|
|
2910
|
-
*/
|
|
2911
|
-
declare const LoadingIcon: ({ height, width, ...props }: LoadingIconProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2912
|
-
|
|
2913
2750
|
interface DropdownStyleMenuTriggerProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
2914
2751
|
children: React.ReactNode;
|
|
2915
2752
|
/** sets the background color of the button */
|
|
@@ -2959,6 +2796,8 @@ interface MenuProps extends MenuProps$1 {
|
|
|
2959
2796
|
* @default 'base'
|
|
2960
2797
|
*/
|
|
2961
2798
|
size?: 'small' | 'base';
|
|
2799
|
+
/** (optional) disables the menu trigger so the menu cannot be opened */
|
|
2800
|
+
disabled?: boolean;
|
|
2962
2801
|
}
|
|
2963
2802
|
/**
|
|
2964
2803
|
* Component used for creating clickable menus
|
|
@@ -3090,6 +2929,8 @@ type SearchableMenuProps = {
|
|
|
3090
2929
|
disableSearch?: boolean;
|
|
3091
2930
|
/** Sets the placeholder in the search input */
|
|
3092
2931
|
searchPlaceholder?: string;
|
|
2932
|
+
/** Called when Enter is pressed in the search input and no active menu item handles the event */
|
|
2933
|
+
onSearchEnterKeyDown?: () => void;
|
|
3093
2934
|
} & MenuProps;
|
|
3094
2935
|
/**
|
|
3095
2936
|
* Searchable menu allows searching through its menu items
|
|
@@ -3097,42 +2938,472 @@ type SearchableMenuProps = {
|
|
|
3097
2938
|
declare const SearchableMenu: (props: SearchableMenuProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3098
2939
|
|
|
3099
2940
|
interface SelectableMenuItemProps extends PropsWithChildren<Omit<MenuItemProps, 'children'>> {
|
|
2941
|
+
/** whether the menu item is selected */
|
|
3100
2942
|
selected: boolean;
|
|
2943
|
+
/** the styles to use for the selectable menu item
|
|
2944
|
+
* @default 'default'
|
|
2945
|
+
*/
|
|
2946
|
+
selectStyles?: 'default' | 'checkbox-select';
|
|
2947
|
+
/** whether the menu item is selectable
|
|
2948
|
+
* @default true
|
|
2949
|
+
*/
|
|
2950
|
+
isSelectable?: boolean;
|
|
3101
2951
|
}
|
|
3102
|
-
declare function SelectableMenuItem({ selected, children, ...menuItemProps }: SelectableMenuItemProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
2952
|
+
declare function SelectableMenuItem({ selected, children, selectStyles, isSelectable, ...menuItemProps }: SelectableMenuItemProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
3103
2953
|
|
|
3104
|
-
type
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
/**
|
|
3108
|
-
*
|
|
3109
|
-
* If undefined is passed, the modal will not be closable by the user and the close button will not be rendered.
|
|
2954
|
+
type SwatchSize = 'default' | 'small';
|
|
2955
|
+
type SwatchVariant = 'swatch-default' | 'swatch-red' | 'swatch-orange' | 'swatch-yellow' | 'swatch-green' | 'swatch-blue' | 'swatch-purple' | 'swatch-pink' | 'swatch-brown' | 'swatch-gray';
|
|
2956
|
+
type SwatchProps = {
|
|
2957
|
+
/** sets the size of the swatch
|
|
2958
|
+
* @default 'default'
|
|
3110
2959
|
*/
|
|
3111
|
-
|
|
3112
|
-
/**
|
|
3113
|
-
*
|
|
3114
|
-
* @default 'lg'
|
|
2960
|
+
size?: SwatchSize;
|
|
2961
|
+
/** sets the color variant of the swatch
|
|
2962
|
+
* @default 'swatch-default'
|
|
3115
2963
|
*/
|
|
3116
|
-
|
|
3117
|
-
/**
|
|
3118
|
-
|
|
3119
|
-
/** A valid CSS height */
|
|
3120
|
-
height?: string;
|
|
3121
|
-
/** Removes the default padding on the content wrapper */
|
|
3122
|
-
withoutContentPadding?: boolean;
|
|
3123
|
-
/** Removes the default background color of the content wrapper */
|
|
3124
|
-
withoutContentBackground?: boolean;
|
|
3125
|
-
/** Places buttons at the bottom of the modal */
|
|
3126
|
-
buttonGroup?: ReactNode;
|
|
3127
|
-
/**
|
|
3128
|
-
* Disables scrolling of the modal body if the content exceeds the height.
|
|
3129
|
-
* Can be required for modals that have comboboxes where the menu items are expected
|
|
3130
|
-
* to overflow the bounds of the modal.
|
|
2964
|
+
variant?: SwatchVariant;
|
|
2965
|
+
/** sets the tooltip of the swatch
|
|
2966
|
+
* @default undefined
|
|
3131
2967
|
*/
|
|
3132
|
-
|
|
3133
|
-
|
|
2968
|
+
tooltip?: string;
|
|
2969
|
+
/** sets the test id of the swatch
|
|
2970
|
+
* @default 'swatch'
|
|
2971
|
+
*/
|
|
2972
|
+
testId?: string;
|
|
2973
|
+
};
|
|
2974
|
+
/** @example <Swatch variant="swatch-blue" size="default" /> */
|
|
2975
|
+
declare const Swatch: ({ size, variant, tooltip, testId, }: SwatchProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2976
|
+
|
|
2977
|
+
/** Swatch color CSS custom properties
|
|
2978
|
+
* Exports CSS variables for all swatch variants that can be used in other components.
|
|
2979
|
+
* Each variant has --swatch-{variant}-bg and --swatch-{variant}-border variables.
|
|
2980
|
+
* @example <div css={swatchColors}></div>
|
|
2981
|
+
* @example css-in-js my-component { ${swatchColors} }
|
|
2982
|
+
*/
|
|
2983
|
+
declare const swatchColors: _emotion_react.SerializedStyles;
|
|
3134
2984
|
/**
|
|
3135
|
-
*
|
|
2985
|
+
* Swatch variant styles as plain objects.
|
|
2986
|
+
* Works with both Emotion's css prop and react-select's styles API.
|
|
2987
|
+
* @example <div css={swatchVariant['swatch-blue']}></div>
|
|
2988
|
+
* @example styles={{ multiValue: (base, { data }) => ({ ...base, ...swatchVariant[data.color] }) }}
|
|
2989
|
+
*/
|
|
2990
|
+
declare const swatchVariant: {
|
|
2991
|
+
readonly 'swatch-default': {
|
|
2992
|
+
readonly '--variant-bg': "var(--swatch-default-bg)";
|
|
2993
|
+
readonly '--variant-border': "var(--swatch-default-border)";
|
|
2994
|
+
};
|
|
2995
|
+
readonly 'swatch-gray': {
|
|
2996
|
+
readonly '--variant-bg': "var(--swatch-gray-bg)";
|
|
2997
|
+
readonly '--variant-border': "var(--swatch-gray-border)";
|
|
2998
|
+
};
|
|
2999
|
+
readonly 'swatch-brown': {
|
|
3000
|
+
readonly '--variant-bg': "var(--swatch-brown-bg)";
|
|
3001
|
+
readonly '--variant-border': "var(--swatch-brown-border)";
|
|
3002
|
+
};
|
|
3003
|
+
readonly 'swatch-orange': {
|
|
3004
|
+
readonly '--variant-bg': "var(--swatch-orange-bg)";
|
|
3005
|
+
readonly '--variant-border': "var(--swatch-orange-border)";
|
|
3006
|
+
};
|
|
3007
|
+
readonly 'swatch-yellow': {
|
|
3008
|
+
readonly '--variant-bg': "var(--swatch-yellow-bg)";
|
|
3009
|
+
readonly '--variant-border': "var(--swatch-yellow-border)";
|
|
3010
|
+
};
|
|
3011
|
+
readonly 'swatch-green': {
|
|
3012
|
+
readonly '--variant-bg': "var(--swatch-green-bg)";
|
|
3013
|
+
readonly '--variant-border': "var(--swatch-green-border)";
|
|
3014
|
+
};
|
|
3015
|
+
readonly 'swatch-blue': {
|
|
3016
|
+
readonly '--variant-bg': "var(--swatch-blue-bg)";
|
|
3017
|
+
readonly '--variant-border': "var(--swatch-blue-border)";
|
|
3018
|
+
};
|
|
3019
|
+
readonly 'swatch-purple': {
|
|
3020
|
+
readonly '--variant-bg': "var(--swatch-purple-bg)";
|
|
3021
|
+
readonly '--variant-border': "var(--swatch-purple-border)";
|
|
3022
|
+
};
|
|
3023
|
+
readonly 'swatch-pink': {
|
|
3024
|
+
readonly '--variant-bg': "var(--swatch-pink-bg)";
|
|
3025
|
+
readonly '--variant-border': "var(--swatch-pink-border)";
|
|
3026
|
+
};
|
|
3027
|
+
readonly 'swatch-red': {
|
|
3028
|
+
readonly '--variant-bg': "var(--swatch-red-bg)";
|
|
3029
|
+
readonly '--variant-border': "var(--swatch-red-border)";
|
|
3030
|
+
};
|
|
3031
|
+
};
|
|
3032
|
+
|
|
3033
|
+
/**
|
|
3034
|
+
* SwatchComboBoxLabelStyles provides custom styles for react-select's multiValue and multiValueLabel.
|
|
3035
|
+
* Dynamically applies color based on each option's color property.
|
|
3036
|
+
* @returns A StylesConfig object with customized styles.
|
|
3037
|
+
*/
|
|
3038
|
+
declare const SwatchComboBoxLabelStyles: <TOption, IsMulti extends boolean = boolean, TGroup extends ComboBoxGroupBase<TOption> = ComboBoxGroupBase<TOption>>() => StylesConfig<TOption, IsMulti, TGroup>;
|
|
3039
|
+
declare function SwatchComboBox<TOption = InputComboBoxOption & {
|
|
3040
|
+
color: SwatchVariant;
|
|
3041
|
+
}, IsMulti extends boolean = false, TGroup extends ComboBoxGroupBase<TOption> = ComboBoxGroupBase<TOption>>({ labelTitle, caption, isMulti, ...props }: InputComboBoxProps<TOption, IsMulti, TGroup> & {
|
|
3042
|
+
labelTitle?: string;
|
|
3043
|
+
caption?: string;
|
|
3044
|
+
isMulti?: boolean;
|
|
3045
|
+
}): _emotion_react_jsx_runtime.JSX.Element;
|
|
3046
|
+
|
|
3047
|
+
type SwatchLabelProps = {
|
|
3048
|
+
/** Sets the color variant of the swatch label
|
|
3049
|
+
* @default 'swatch-default'
|
|
3050
|
+
*/
|
|
3051
|
+
variant?: SwatchVariant;
|
|
3052
|
+
/** The text to display inside the swatch label */
|
|
3053
|
+
label: string;
|
|
3054
|
+
/** The size of the swatch label
|
|
3055
|
+
* @default 'default'
|
|
3056
|
+
*/
|
|
3057
|
+
size?: 'xs' | 'sm' | 'md';
|
|
3058
|
+
/** The right slot to display inside the swatch label */
|
|
3059
|
+
rightSlot?: React.ReactNode;
|
|
3060
|
+
/** The tooltip to display inside the swatch label */
|
|
3061
|
+
tooltip?: string | React.ReactElement;
|
|
3062
|
+
/** The left slot to display inside the swatch label */
|
|
3063
|
+
leftSlot?: React.ReactNode;
|
|
3064
|
+
};
|
|
3065
|
+
/**
|
|
3066
|
+
* A colored label component that uses the same color variants as Swatch.
|
|
3067
|
+
* @example <SwatchLabel variant="swatch-blue" label="Blue Label" />
|
|
3068
|
+
*/
|
|
3069
|
+
declare const SwatchLabel: ({ variant, size, label, rightSlot, tooltip, leftSlot, }: SwatchLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3070
|
+
declare const SwatchLabelRemoveButton: ({ onRemove, size, }: {
|
|
3071
|
+
/** The function to call when the remove button is clicked */
|
|
3072
|
+
onRemove: () => void;
|
|
3073
|
+
/** The size of the remove button
|
|
3074
|
+
* @default 'sm'
|
|
3075
|
+
*/
|
|
3076
|
+
size?: SwatchLabelProps["size"];
|
|
3077
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3078
|
+
/**
|
|
3079
|
+
* A tooltip component that displays a swatch label with a parent title and a description.
|
|
3080
|
+
* @example <SwatchLabelTooltip parentTitle="Parent Title" title="Title" description="Description" />
|
|
3081
|
+
*/
|
|
3082
|
+
declare const SwatchLabelTooltip: ({ parentTitle, title, description, }: {
|
|
3083
|
+
parentTitle?: string | React.ReactElement;
|
|
3084
|
+
title?: string | React.ReactElement;
|
|
3085
|
+
description?: string | React.ReactElement;
|
|
3086
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3087
|
+
|
|
3088
|
+
/** Represents a label item that can be displayed in the quick filter */
|
|
3089
|
+
type LabelsQuickFilterItem = {
|
|
3090
|
+
/** Unique identifier for the label */
|
|
3091
|
+
id: string;
|
|
3092
|
+
/** Display name for the label */
|
|
3093
|
+
name: string;
|
|
3094
|
+
/** Optional swatch variant color */
|
|
3095
|
+
variant?: SwatchVariant;
|
|
3096
|
+
/** Optional tooltip content */
|
|
3097
|
+
tooltip?: string | React.ReactElement;
|
|
3098
|
+
/** Whether this item represents a group header */
|
|
3099
|
+
isGroup?: boolean;
|
|
3100
|
+
/** The parent group ID if this label belongs to a group */
|
|
3101
|
+
parent?: string;
|
|
3102
|
+
};
|
|
3103
|
+
type LabelsQuickFilterProps = {
|
|
3104
|
+
/** The text to display on the filter button */
|
|
3105
|
+
buttonText: string;
|
|
3106
|
+
/** The text to display on the add button */
|
|
3107
|
+
addButtonText?: string | null;
|
|
3108
|
+
/** All available label items (including groups and children) */
|
|
3109
|
+
items: LabelsQuickFilterItem[];
|
|
3110
|
+
/** Set or array of currently selected item IDs */
|
|
3111
|
+
selectedIds: Set<string> | string[];
|
|
3112
|
+
/** Callback when a label is selected */
|
|
3113
|
+
onSelect: (item: LabelsQuickFilterItem) => void;
|
|
3114
|
+
/** Callback when a label is deselected */
|
|
3115
|
+
onDeselect: (id: string) => void;
|
|
3116
|
+
/** Whether the filter is disabled */
|
|
3117
|
+
disabled?: boolean;
|
|
3118
|
+
/** Test ID for the component */
|
|
3119
|
+
testId?: string;
|
|
3120
|
+
/** Override the total results count (defaults to items.length excluding groups) */
|
|
3121
|
+
totalResults?: number;
|
|
3122
|
+
/** handles creating a new label */
|
|
3123
|
+
onCreateLabel?: (label: string) => void;
|
|
3124
|
+
/** sets whether to use a React portal rendering or not. */
|
|
3125
|
+
withoutPortal?: boolean;
|
|
3126
|
+
/**
|
|
3127
|
+
* The maximum width of the quick filter container.
|
|
3128
|
+
* Useful for controlling the maximum width of the filter in different layouts (e.g., responsive sidebars).
|
|
3129
|
+
* @default '4rem'
|
|
3130
|
+
*/
|
|
3131
|
+
maxContainerSize?: string;
|
|
3132
|
+
/** the function to call when the quick filter is opened */
|
|
3133
|
+
onOpen?: () => void;
|
|
3134
|
+
/** the function to call when the quick filter is closed */
|
|
3135
|
+
onClose?: () => void;
|
|
3136
|
+
/**
|
|
3137
|
+
* Override the Ariakit placement of the dropdown menu.
|
|
3138
|
+
* @default 'right-start'
|
|
3139
|
+
*/
|
|
3140
|
+
menuPlacement?: MenuProps['placement'];
|
|
3141
|
+
/**
|
|
3142
|
+
* Override the anchor rect for custom menu positioning.
|
|
3143
|
+
* Pass `null` to disable the built-in default and use standard positioning.
|
|
3144
|
+
*/
|
|
3145
|
+
menuGetAnchorRect?: ((anchor: HTMLElement | null) => {
|
|
3146
|
+
x?: number;
|
|
3147
|
+
y?: number;
|
|
3148
|
+
width?: number;
|
|
3149
|
+
height?: number;
|
|
3150
|
+
} | null) | null;
|
|
3151
|
+
/**
|
|
3152
|
+
* Override the updatePosition callback to control when the menu repositions.
|
|
3153
|
+
* Pass `null` to disable the built-in default (position freezing) and allow normal repositioning.
|
|
3154
|
+
*/
|
|
3155
|
+
menuUpdatePosition?: ((props: {
|
|
3156
|
+
updatePosition: () => Promise<void>;
|
|
3157
|
+
}) => void | Promise<void>) | null;
|
|
3158
|
+
/** the maximum number of results to display
|
|
3159
|
+
* @default 0 (no limit)
|
|
3160
|
+
*/
|
|
3161
|
+
maxCount?: number;
|
|
3162
|
+
};
|
|
3163
|
+
/**
|
|
3164
|
+
* A reusable quick filter component for selecting labels with swatch colors.
|
|
3165
|
+
* Supports flat labels and grouped labels with nested menus.
|
|
3166
|
+
* @example <LabelsQuickFilter buttonText="Filter by label" items={labels} selectedIds={selectedSet} onSelect={handleSelect} onDeselect={handleDeselect} />
|
|
3167
|
+
*/
|
|
3168
|
+
declare const LabelsQuickFilter: ({ buttonText, addButtonText, items, selectedIds, onSelect, onDeselect, disabled, testId, totalResults, onCreateLabel, withoutPortal, maxContainerSize, onOpen, onClose, menuPlacement, menuGetAnchorRect, menuUpdatePosition, maxCount, }: LabelsQuickFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3169
|
+
|
|
3170
|
+
type AsideAndSectionLayout = {
|
|
3171
|
+
/** sets child components in the aside / supporting column */
|
|
3172
|
+
sidebar?: ReactNode;
|
|
3173
|
+
/** sets child components in the section / main content column */
|
|
3174
|
+
children: ReactNode;
|
|
3175
|
+
/** Makes the sidebar sticky to the top of the container
|
|
3176
|
+
* @default false
|
|
3177
|
+
*/
|
|
3178
|
+
isStickyAside?: boolean;
|
|
3179
|
+
};
|
|
3180
|
+
declare const AsideAndSectionLayout: ({ sidebar, children, isStickyAside, }: AsideAndSectionLayout) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3181
|
+
|
|
3182
|
+
type SpacingProp = '0' | '2xs' | 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
3183
|
+
type BackgroundColorProp = 'transparent' | 'white' | 'gray-50' | 'gray-100' | 'gray-200' | 'gray-300' | 'gray-400' | 'gray-500' | 'gray-600' | 'gray-700' | 'gray-800' | 'gray-900';
|
|
3184
|
+
type HtmlTagProps = 'div' | 'section' | 'article' | 'aside' | 'span';
|
|
3185
|
+
type BorderRadiusProps = 'rounded-sm' | 'rounded-base' | 'rounded-md';
|
|
3186
|
+
type CommonContainerProps = {
|
|
3187
|
+
/** sets the background color of the element */
|
|
3188
|
+
backgroundColor?: BackgroundColorProp;
|
|
3189
|
+
/** sets border: 1px solid var(--gray-300)*/
|
|
3190
|
+
border?: boolean;
|
|
3191
|
+
/** sets the border radius of the element */
|
|
3192
|
+
rounded?: BorderRadiusProps;
|
|
3193
|
+
/** sets the padding of the element */
|
|
3194
|
+
padding?: string;
|
|
3195
|
+
/** sets the margin of the element */
|
|
3196
|
+
margin?: string;
|
|
3197
|
+
};
|
|
3198
|
+
type RhythmProps = React.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> & {
|
|
3199
|
+
/** sets the wrapping html tag
|
|
3200
|
+
* @default 'div'
|
|
3201
|
+
*/
|
|
3202
|
+
tag?: HtmlTagProps | 'fieldset';
|
|
3203
|
+
/** sets the spacing between each element
|
|
3204
|
+
* @default 'div'
|
|
3205
|
+
*/
|
|
3206
|
+
gap?: SpacingProp;
|
|
3207
|
+
/** sets the alignment of elements
|
|
3208
|
+
* @default normal browser behaviour
|
|
3209
|
+
*/
|
|
3210
|
+
align?: CSSProperties['alignItems'];
|
|
3211
|
+
justify?: CSSProperties['justifyContent'];
|
|
3212
|
+
children: React.ReactNode;
|
|
3213
|
+
/** for use when fieldset is applied to the tag prop */
|
|
3214
|
+
disabled?: boolean;
|
|
3215
|
+
ref?: Ref<HTMLDivElement>;
|
|
3216
|
+
};
|
|
3217
|
+
|
|
3218
|
+
type ContainerProps = CommonContainerProps & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
3219
|
+
tag?: HtmlTagProps;
|
|
3220
|
+
children: React$1.ReactNode;
|
|
3221
|
+
};
|
|
3222
|
+
declare const Container: ({ tag, backgroundColor, border, rounded, padding, margin, children, ...props }: ContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3223
|
+
|
|
3224
|
+
declare const HorizontalRhythm: ({ align, justify, tag, gap, children, ref, ...props }: RhythmProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3225
|
+
|
|
3226
|
+
type TwoColumnLayoutProps = {
|
|
3227
|
+
/** sets the full bleed background colour
|
|
3228
|
+
* @default 'var(--white)'
|
|
3229
|
+
*/
|
|
3230
|
+
bgColor?: 'var(--white)' | 'var(--gray-50)';
|
|
3231
|
+
/** sets child components in the aside / supporting column */
|
|
3232
|
+
supportingContent?: ReactNode;
|
|
3233
|
+
/** sets child components in the section / main content column */
|
|
3234
|
+
children?: ReactNode;
|
|
3235
|
+
/** inverts the layout placing the aside container on the left
|
|
3236
|
+
* @default false
|
|
3237
|
+
*/
|
|
3238
|
+
invertLayout?: boolean;
|
|
3239
|
+
};
|
|
3240
|
+
/** @example <TwoColumnLayout supportingContent={<div>supporting content</div>}><h1>title</h1></TwoColumnLayout> */
|
|
3241
|
+
declare const TwoColumnLayout: ({ bgColor, invertLayout, supportingContent, children, }: TwoColumnLayoutProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3242
|
+
|
|
3243
|
+
declare const VerticalRhythm: ({ align, justify, tag, gap, children, ref, ...props }: RhythmProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3244
|
+
|
|
3245
|
+
type LimitsBarProps = {
|
|
3246
|
+
/** The current value of used limits */
|
|
3247
|
+
current: number;
|
|
3248
|
+
/** The maximum number of limits */
|
|
3249
|
+
max: number;
|
|
3250
|
+
/** @deprecated No longer used */
|
|
3251
|
+
label?: string;
|
|
3252
|
+
/** Optional popover content for info icon */
|
|
3253
|
+
popoverContent?: ReactNode;
|
|
3254
|
+
/** Optional css value passed to the background color of the bar. Leave empty for dynamic color based on usage percentage. */
|
|
3255
|
+
barColor?: string;
|
|
3256
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
3257
|
+
/**
|
|
3258
|
+
* Uniform Limits Bar Component
|
|
3259
|
+
* @example <LimitsBar current={3} max={5} />
|
|
3260
|
+
*/
|
|
3261
|
+
declare const LimitsBar: ({ current, max, popoverContent, barColor, ...props }: LimitsBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3262
|
+
|
|
3263
|
+
type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
3264
|
+
/** sets the title field */
|
|
3265
|
+
title: string;
|
|
3266
|
+
/** (optional) sets react child component */
|
|
3267
|
+
children?: React$1.ReactNode;
|
|
3268
|
+
};
|
|
3269
|
+
declare const LinkList: ({ title, children, ...props }: LinkListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3270
|
+
|
|
3271
|
+
type ScrollableListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
3272
|
+
/** (optional) sets the label value */
|
|
3273
|
+
label?: string;
|
|
3274
|
+
/** (optional) allows users to add child components within the container */
|
|
3275
|
+
children?: React$1.ReactNode;
|
|
3276
|
+
};
|
|
3277
|
+
/**
|
|
3278
|
+
* Component that sets the base structure for scrollable content in a max height container
|
|
3279
|
+
* @example <ScrollableList label="allowed content types"><button>say hello</button></ScrollableList>
|
|
3280
|
+
*/
|
|
3281
|
+
declare const ScrollableList: ({ label, children, ...props }: ScrollableListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3282
|
+
|
|
3283
|
+
type ScrollableListContainerProps = {
|
|
3284
|
+
/** sets whether to show or hide the shadow around the element
|
|
3285
|
+
* @default 'false'
|
|
3286
|
+
*/
|
|
3287
|
+
disableShadow?: boolean;
|
|
3288
|
+
/** sets the active style of the button */
|
|
3289
|
+
active: boolean;
|
|
3290
|
+
};
|
|
3291
|
+
|
|
3292
|
+
type ScrollableItemProps = {
|
|
3293
|
+
/** sets an element within the label > span element */
|
|
3294
|
+
icon?: React.ReactElement;
|
|
3295
|
+
/**sets the label value */
|
|
3296
|
+
label: string | React.ReactElement;
|
|
3297
|
+
/** sets a data-testid on the label */
|
|
3298
|
+
labelTestId?: string;
|
|
3299
|
+
/** recommended to use a form input element of type radio or checkbox */
|
|
3300
|
+
children: React.ReactNode;
|
|
3301
|
+
} & ScrollableListContainerProps;
|
|
3302
|
+
/** @example <ScrollableListInputItem label="my label" active={true}><input type="radio" name="age" /></ScrollableListInputItem>*/
|
|
3303
|
+
declare const ScrollableListInputItem: ({ label, icon, active, disableShadow, children, labelTestId, ...props }: ScrollableItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3304
|
+
|
|
3305
|
+
type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3306
|
+
/** sets the button text value */
|
|
3307
|
+
buttonText: string;
|
|
3308
|
+
icon?: React$1.ReactElement;
|
|
3309
|
+
} & ScrollableListContainerProps;
|
|
3310
|
+
/**
|
|
3311
|
+
* Component used within <ScrollableList /> for adding interactive button components with predefined styles
|
|
3312
|
+
* @example <ScrollableListItem buttontext="my button" active={false} />
|
|
3313
|
+
*/
|
|
3314
|
+
declare const ScrollableListItem: ({ buttonText, icon, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3315
|
+
|
|
3316
|
+
type LoadingIndicatorProps = {
|
|
3317
|
+
color?: 'gray' | 'accent-alt';
|
|
3318
|
+
size?: 'lg' | 'sm';
|
|
3319
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, 'color'>;
|
|
3320
|
+
/**
|
|
3321
|
+
* Loading Indicator
|
|
3322
|
+
* @example <LoadingIndicator />
|
|
3323
|
+
*/
|
|
3324
|
+
declare const LoadingIndicator: ({ size, color, ...props }: LoadingIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3325
|
+
|
|
3326
|
+
interface LoadingOverlayProps {
|
|
3327
|
+
/** sets whether to display the loading overlay components */
|
|
3328
|
+
isActive: boolean;
|
|
3329
|
+
/** (optional) type that sets a text value or React component under the loading icon */
|
|
3330
|
+
statusMessage?: string | ReactNode;
|
|
3331
|
+
/** (optional) the z-index value of the overlay
|
|
3332
|
+
* @default 9999
|
|
3333
|
+
*/
|
|
3334
|
+
zIndex?: number;
|
|
3335
|
+
/** (optional) sets the width and height of the loader
|
|
3336
|
+
* @default 128
|
|
3337
|
+
*/
|
|
3338
|
+
loaderSize?: number;
|
|
3339
|
+
/** (optional) sets the loading overlay background color
|
|
3340
|
+
* @default 'var(--white)'
|
|
3341
|
+
*/
|
|
3342
|
+
overlayBackgroundColor?: 'transparent' | 'var(--white)';
|
|
3343
|
+
/** (optional) if set to true, the animation of the loading indicator is paused
|
|
3344
|
+
* @default false
|
|
3345
|
+
*/
|
|
3346
|
+
isPaused?: boolean;
|
|
3347
|
+
/** (optional) aligns the content of the overlay to the top instead of having it centered
|
|
3348
|
+
* @default false
|
|
3349
|
+
*/
|
|
3350
|
+
isTopAligned?: boolean;
|
|
3351
|
+
children?: React.ReactNode;
|
|
3352
|
+
/** (optional) sets the position of the overlay
|
|
3353
|
+
* @default 'absolute'
|
|
3354
|
+
*/
|
|
3355
|
+
position?: 'absolute' | 'fixed';
|
|
3356
|
+
}
|
|
3357
|
+
/**
|
|
3358
|
+
* Loading Overlay.
|
|
3359
|
+
* NOTE: the container/parent element must have a non-static `position` value for the overlay to work properly.
|
|
3360
|
+
* @example <LoadingOverlay isActive={true} statusMessage="Loading..." />
|
|
3361
|
+
*/
|
|
3362
|
+
declare const LoadingOverlay: ({ isActive, statusMessage, zIndex, loaderSize, overlayBackgroundColor, isTopAligned, isPaused, children, position, }: LoadingOverlayProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3363
|
+
interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
3364
|
+
/** (optional) prop that sets a number value for the height of the icon */
|
|
3365
|
+
width?: number;
|
|
3366
|
+
/** (optional) prop that sets a number value for the width of the icon */
|
|
3367
|
+
height?: number;
|
|
3368
|
+
}
|
|
3369
|
+
/**
|
|
3370
|
+
* Loading Icon
|
|
3371
|
+
* @example <LoadingIcon height={128} width={128} />
|
|
3372
|
+
*/
|
|
3373
|
+
declare const LoadingIcon: ({ height, width, ...props }: LoadingIconProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3374
|
+
|
|
3375
|
+
type ModalProps = {
|
|
3376
|
+
header?: React__default.ReactNode;
|
|
3377
|
+
children?: React__default.ReactNode;
|
|
3378
|
+
/**
|
|
3379
|
+
* Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked.
|
|
3380
|
+
* If undefined is passed, the modal will not be closable by the user and the close button will not be rendered.
|
|
3381
|
+
*/
|
|
3382
|
+
onRequestClose: (() => void) | undefined;
|
|
3383
|
+
/** The size sets the modal width to one of three options sm = 400px, md = 600px and lg = 800px
|
|
3384
|
+
* if a width attribute is used the size will be overridden by the width attribute
|
|
3385
|
+
* @default 'lg'
|
|
3386
|
+
*/
|
|
3387
|
+
modalSize?: 'sm' | 'md' | 'lg';
|
|
3388
|
+
/** A valid CSS width */
|
|
3389
|
+
width?: string;
|
|
3390
|
+
/** A valid CSS height */
|
|
3391
|
+
height?: string;
|
|
3392
|
+
/** Removes the default padding on the content wrapper */
|
|
3393
|
+
withoutContentPadding?: boolean;
|
|
3394
|
+
/** Removes the default background color of the content wrapper */
|
|
3395
|
+
withoutContentBackground?: boolean;
|
|
3396
|
+
/** Places buttons at the bottom of the modal */
|
|
3397
|
+
buttonGroup?: ReactNode;
|
|
3398
|
+
/**
|
|
3399
|
+
* Disables scrolling of the modal body if the content exceeds the height.
|
|
3400
|
+
* Can be required for modals that have comboboxes where the menu items are expected
|
|
3401
|
+
* to overflow the bounds of the modal.
|
|
3402
|
+
*/
|
|
3403
|
+
disableBodyScroll?: boolean;
|
|
3404
|
+
} & React__default.HTMLProps<HTMLDialogElement>;
|
|
3405
|
+
/**
|
|
3406
|
+
* A modal component to open a dialog with a backdrop that covers the whole page.
|
|
3136
3407
|
* @example <Modal>Hello World</Modal>
|
|
3137
3408
|
*/
|
|
3138
3409
|
declare const Modal: React__default.ForwardRefExoticComponent<Omit<ModalProps, "ref"> & React__default.RefAttributes<HTMLDialogElement>>;
|
|
@@ -3377,6 +3648,7 @@ type BaseParameterActionButtonProps = {
|
|
|
3377
3648
|
* If a React element is provided, it will be displayed as a tooltip.
|
|
3378
3649
|
*/
|
|
3379
3650
|
tooltip?: string | React__default.ReactNode;
|
|
3651
|
+
tooltipProps?: Partial<TooltipProps>;
|
|
3380
3652
|
/**
|
|
3381
3653
|
* The component to render the button as.
|
|
3382
3654
|
* There maybe a scenario where we want to render the button as a div
|
|
@@ -3395,7 +3667,7 @@ interface FilledVariant extends BaseParameterActionButtonProps {
|
|
|
3395
3667
|
inverted?: boolean;
|
|
3396
3668
|
}
|
|
3397
3669
|
type ParameterActionButtonProps = OutlineVariant | FilledVariant;
|
|
3398
|
-
declare const ParameterActionButton: ({ children, themeType, tooltip, renderAs, disabled, ...props }: ParameterActionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3670
|
+
declare const ParameterActionButton: ({ children, themeType, tooltip, tooltipProps, renderAs, disabled, ...props }: ParameterActionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3399
3671
|
|
|
3400
3672
|
type ParameterDrawerHeaderProps = {
|
|
3401
3673
|
title: string;
|
|
@@ -3427,13 +3699,14 @@ type ParameterImageProps = Omit<CommonParameterInputProps, 'inputIcon' | 'type'>
|
|
|
3427
3699
|
/** Turns off the image preview, if it's not desired or rendered separately with `ParameterImageImage` elsewhere */
|
|
3428
3700
|
disablePreview?: boolean;
|
|
3429
3701
|
};
|
|
3430
|
-
/** @
|
|
3702
|
+
/** @example <ParameterImage {...inputArgs} value={value} onChange={(e) => setValue(e.currentTarget.value)} /> */
|
|
3431
3703
|
declare const ParameterImage: React__default.ForwardRefExoticComponent<Omit<CommonParameterInputProps, "type" | "inputIcon"> & React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
3432
3704
|
/** Turns off the image preview, if it's not desired or rendered separately with `ParameterImageImage` elsewhere */
|
|
3433
3705
|
disablePreview?: boolean;
|
|
3434
3706
|
} & {
|
|
3435
3707
|
children?: React__default.ReactNode | undefined;
|
|
3436
3708
|
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
3709
|
+
/** @requires ParameterShell - Must be rendered inside a `<ParameterShell>` component. */
|
|
3437
3710
|
declare const ParameterImageInner: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
3438
3711
|
disablePreview?: boolean;
|
|
3439
3712
|
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
@@ -3466,6 +3739,7 @@ declare const ParameterInput: React$1.ForwardRefExoticComponent<CommonParameterP
|
|
|
3466
3739
|
*/
|
|
3467
3740
|
enableMouseWheel?: boolean;
|
|
3468
3741
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
3742
|
+
/** @requires ParameterShell - Must be rendered inside a `<ParameterShell>` component. */
|
|
3469
3743
|
declare const ParameterInputInner: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
3470
3744
|
enableMouseWheel?: boolean;
|
|
3471
3745
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -3482,6 +3756,44 @@ type ParameterLabelProps = HTMLAttributes<HTMLLabelElement> & {
|
|
|
3482
3756
|
/** @example <ParameterLabel id="my-label">my label</ParameterLabel> */
|
|
3483
3757
|
declare const ParameterLabel: ({ id, asSpan, children, testId, ...props }: ParameterLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3484
3758
|
|
|
3759
|
+
/** Extended option type that supports label-specific properties */
|
|
3760
|
+
type LabelOption = InputComboBoxOption & {
|
|
3761
|
+
/** The color variant for the label swatch */
|
|
3762
|
+
color?: SwatchVariant;
|
|
3763
|
+
/** Whether this option represents a group header */
|
|
3764
|
+
isGroup?: boolean;
|
|
3765
|
+
/** The parent group ID if this label belongs to a group */
|
|
3766
|
+
parent?: string;
|
|
3767
|
+
/** Tooltip content for the label */
|
|
3768
|
+
tooltip?: string | React.ReactElement;
|
|
3769
|
+
};
|
|
3770
|
+
type ParameterLabelsInnerProps = Pick<InputComboBoxProps<LabelOption, true>, 'options' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'isClearable' | 'isDisabled'> & {
|
|
3771
|
+
/** Callback when an item is removed from the selection */
|
|
3772
|
+
onItemRemoved?: (id: string) => void;
|
|
3773
|
+
/** Callback when a new label is created */
|
|
3774
|
+
onCreateLabel?: (label: string) => void;
|
|
3775
|
+
/** Override the text displayed on the filter button */
|
|
3776
|
+
buttonText?: string;
|
|
3777
|
+
/** Override the text displayed on the add button */
|
|
3778
|
+
addButtonText?: string | null;
|
|
3779
|
+
/** the function to call when the quick filter is opened */
|
|
3780
|
+
onOpen?: () => void;
|
|
3781
|
+
/** the function to call when the quick filter is closed */
|
|
3782
|
+
onClose?: () => void;
|
|
3783
|
+
/** The maximum number of labels that can be selected */
|
|
3784
|
+
maxCount?: number;
|
|
3785
|
+
};
|
|
3786
|
+
type ParameterLabelsProps = CommonParameterInputProps & ParameterLabelsInnerProps & {
|
|
3787
|
+
disabled?: boolean;
|
|
3788
|
+
};
|
|
3789
|
+
/**
|
|
3790
|
+
* A parameter input component for selecting multiple labels with swatch colors.
|
|
3791
|
+
* Supports grouped labels with nested menus.
|
|
3792
|
+
* @example <ParameterLabels id="labels" label="Labels" options={[]} value={[]} onChange={() => {}} />
|
|
3793
|
+
*/
|
|
3794
|
+
declare const ParameterLabels: ({ disabled, ...props }: ParameterLabelsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3795
|
+
declare const ParameterLabelsInner: (props: ParameterLabelsInnerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3796
|
+
|
|
3485
3797
|
type ParameterLinkProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
3486
3798
|
/** (optional) sets the button text when value is empty
|
|
3487
3799
|
* @default 'Configure link'
|
|
@@ -3512,6 +3824,7 @@ declare const ParameterLink: React$1.ForwardRefExoticComponent<CommonParameterPr
|
|
|
3512
3824
|
disabled?: boolean;
|
|
3513
3825
|
externalLink?: string;
|
|
3514
3826
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
3827
|
+
/** @requires ParameterShell - Must be rendered inside a `<ParameterShell>` component. */
|
|
3515
3828
|
declare const ParameterLinkInner: React$1.ForwardRefExoticComponent<Omit<ParameterLinkProps, "label" | "id"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
3516
3829
|
|
|
3517
3830
|
type ParameterMenuButtonProps = {
|
|
@@ -3532,11 +3845,14 @@ type ParameterMultiSelectProps = CommonParameterInputProps & ParameterMultiSelec
|
|
|
3532
3845
|
};
|
|
3533
3846
|
/**
|
|
3534
3847
|
* @deprecated beta
|
|
3535
|
-
* @example <ParameterMultiSelect label="my label" id="my-id" options={[{ label: 'option label', value: 0}]}
|
|
3848
|
+
* @example <ParameterMultiSelect label="my label" id="my-id" options={[{ label: 'option label', value: 0}]}
|
|
3849
|
+
*/
|
|
3536
3850
|
declare const ParameterMultiSelect: ({ disabled, ...props }: ParameterMultiSelectProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3537
3851
|
/**
|
|
3538
3852
|
* @deprecated beta
|
|
3539
|
-
* @
|
|
3853
|
+
* @requires ParameterShell - Must be rendered inside a `<ParameterShell>` component.
|
|
3854
|
+
* @example <ParameterMultiSelectInner options={[{ label: 'option label', value: 0}]} />
|
|
3855
|
+
*/
|
|
3540
3856
|
declare const ParameterMultiSelectInner: (props: ParameterMultiSelectInnerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3541
3857
|
|
|
3542
3858
|
type ParameterNameAndPublicIdInputProps = {
|
|
@@ -3648,6 +3964,7 @@ declare const ParameterNumberSlider: React$1.ForwardRefExoticComponent<CommonPar
|
|
|
3648
3964
|
captionTestId?: string;
|
|
3649
3965
|
title?: string;
|
|
3650
3966
|
} & Omit<SliderProps, "id" | "aria-label" | "options"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
3967
|
+
/** @requires ParameterShell - Must be rendered inside a `<ParameterShell>` component. */
|
|
3651
3968
|
declare const ParameterNumberSliderInner: React$1.ForwardRefExoticComponent<Omit<SliderProps, "id" | "aria-label" | "options"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
3652
3969
|
|
|
3653
3970
|
type LinkNodeProps = NonNullable<LinkParamValue>;
|
|
@@ -3780,7 +4097,10 @@ declare const ParameterSelect: React$1.ForwardRefExoticComponent<CommonParameter
|
|
|
3780
4097
|
captionTestId?: string;
|
|
3781
4098
|
title?: string;
|
|
3782
4099
|
} & CommonParameterSelectProps & React$1.InputHTMLAttributes<HTMLSelectElement> & React$1.RefAttributes<HTMLSelectElement>>;
|
|
3783
|
-
/**
|
|
4100
|
+
/**
|
|
4101
|
+
* @requires ParameterShell - Must be rendered inside a `<ParameterShell>` component.
|
|
4102
|
+
* @example <ParameterSelectInner options={[{ label: 'option label', value: 0}]} />
|
|
4103
|
+
*/
|
|
3784
4104
|
declare const ParameterSelectInner: React$1.ForwardRefExoticComponent<Omit<ParameterSelectProps, "label" | "id"> & React$1.RefAttributes<HTMLSelectElement>>;
|
|
3785
4105
|
|
|
3786
4106
|
type ParameterSelectSliderProps = CommonParameterInputProps & Omit<SliderProps, 'id' | 'aria-label' | 'value' | 'onChange' | 'min' | 'max' | 'step' | 'showNumberInput'> & {
|
|
@@ -3822,6 +4142,7 @@ declare const ParameterSelectSlider: React$1.ForwardRefExoticComponent<CommonPar
|
|
|
3822
4142
|
*/
|
|
3823
4143
|
onChange: (value: string | undefined) => void;
|
|
3824
4144
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
4145
|
+
/** @requires ParameterShell - Must be rendered inside a `<ParameterShell>` component. */
|
|
3825
4146
|
declare const ParameterSelectSliderInner: React$1.ForwardRefExoticComponent<Omit<ParameterSelectSliderProps, "caption" | "title" | "errorTestId" | "captionTestId" | "menuItems" | "actionItems" | keyof CommonParameterProps> & React$1.RefAttributes<HTMLInputElement>>;
|
|
3826
4147
|
|
|
3827
4148
|
/** A function that extracts all common props and element props
|
|
@@ -3877,7 +4198,9 @@ declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hid
|
|
|
3877
4198
|
declare const ParameterShellPlaceholder: ({ children }: {
|
|
3878
4199
|
children?: ReactNode;
|
|
3879
4200
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3880
|
-
declare const ParameterOverrideMarker: (props: HTMLAttributes<HTMLButtonElement>
|
|
4201
|
+
declare const ParameterOverrideMarker: (props: HTMLAttributes<HTMLButtonElement> & {
|
|
4202
|
+
tooltipProps?: Partial<TooltipProps>;
|
|
4203
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3881
4204
|
|
|
3882
4205
|
type ParameterTextareaProps = CommonParameterInputProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
3883
4206
|
/** @example <ParameterTextarea label="label value" id="my-textarea" /> */
|
|
@@ -3889,7 +4212,10 @@ declare const ParameterTextarea: React$1.ForwardRefExoticComponent<CommonParamet
|
|
|
3889
4212
|
captionTestId?: string;
|
|
3890
4213
|
title?: string;
|
|
3891
4214
|
} & React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
3892
|
-
/**
|
|
4215
|
+
/**
|
|
4216
|
+
* @requires ParameterShell - Must be rendered inside a `<ParameterShell>` component.
|
|
4217
|
+
* @example <ParameterTextareaInner />
|
|
4218
|
+
*/
|
|
3893
4219
|
declare const ParameterTextareaInner: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTextAreaElement> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
3894
4220
|
|
|
3895
4221
|
type ParameterToggleInnerProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
|
|
@@ -3909,6 +4235,7 @@ declare const ParameterToggle: React$1.ForwardRefExoticComponent<CommonParameter
|
|
|
3909
4235
|
type: "checkbox" | "radio";
|
|
3910
4236
|
withoutIndeterminateState?: boolean;
|
|
3911
4237
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
4238
|
+
/** @requires ParameterShell - Must be rendered inside a `<ParameterShell>` component. */
|
|
3912
4239
|
declare const ParameterToggleInner: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
3913
4240
|
type: "checkbox" | "radio";
|
|
3914
4241
|
withoutIndeterminateState?: boolean;
|
|
@@ -4025,6 +4352,120 @@ type ProgressListItem<IdType extends string = string> = {
|
|
|
4025
4352
|
};
|
|
4026
4353
|
declare const ProgressListItem: ({ children, status, error, errorLevel, autoEllipsis, }: ProgressListItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
4027
4354
|
|
|
4355
|
+
type QuickFilterSelectedItem = {
|
|
4356
|
+
/** Unique identifier for the selected item */
|
|
4357
|
+
id: string;
|
|
4358
|
+
/** Display name for the selected item */
|
|
4359
|
+
name: string;
|
|
4360
|
+
/** Optional swatch variant color */
|
|
4361
|
+
variant?: SwatchVariant | string;
|
|
4362
|
+
/** The tooltip to display inside the selected item */
|
|
4363
|
+
tooltip?: string | React.ReactElement;
|
|
4364
|
+
/** Optional icon to display on the left of the selected item */
|
|
4365
|
+
icon?: IconType;
|
|
4366
|
+
};
|
|
4367
|
+
type QuickFilterProps = {
|
|
4368
|
+
/** the icon to display on the left of the quick filter */
|
|
4369
|
+
iconLeft?: IconType;
|
|
4370
|
+
/** the text to display on the quick filter */
|
|
4371
|
+
buttonText: string;
|
|
4372
|
+
/** the function to call when the quick filter is clicked */
|
|
4373
|
+
/** the size of the quick filter
|
|
4374
|
+
* @default 'sm'
|
|
4375
|
+
*/
|
|
4376
|
+
size?: ButtonSizeProps;
|
|
4377
|
+
/** the test id to use for the quick filter */
|
|
4378
|
+
testId?: string;
|
|
4379
|
+
/** the aria label to use for the quick filter */
|
|
4380
|
+
ariaLabel?: string;
|
|
4381
|
+
/** the children to display inside the quick filter */
|
|
4382
|
+
children: ReactNode;
|
|
4383
|
+
/** whether the quick filter is disabled */
|
|
4384
|
+
disabled?: boolean;
|
|
4385
|
+
/** the selected items to display inside the quick filter */
|
|
4386
|
+
selectedItems?: QuickFilterSelectedItem[];
|
|
4387
|
+
/** the function to call when the search term is changed */
|
|
4388
|
+
onSearchTermChanged: (searchTerm: string) => void;
|
|
4389
|
+
/** addButtonText to use for the add button
|
|
4390
|
+
* @default 'Add'
|
|
4391
|
+
*/
|
|
4392
|
+
addButtonText?: string | null;
|
|
4393
|
+
/** the css to use for the swatch colors
|
|
4394
|
+
* @default swatchColors from the Swatch component
|
|
4395
|
+
*/
|
|
4396
|
+
swatchColorsCss?: SerializedStyles;
|
|
4397
|
+
/** the function to call when an item is removed */
|
|
4398
|
+
onItemRemoved?: (id: string) => void;
|
|
4399
|
+
/** the total number of results */
|
|
4400
|
+
totalResults: number;
|
|
4401
|
+
/** the maximum height of the menu
|
|
4402
|
+
* @default '320px'
|
|
4403
|
+
*/
|
|
4404
|
+
maxMenuHeight?: string;
|
|
4405
|
+
/** the maximum number of results to display
|
|
4406
|
+
* @default 5
|
|
4407
|
+
*/
|
|
4408
|
+
maxCount?: number;
|
|
4409
|
+
/** the css to use for the container
|
|
4410
|
+
* @default swatchColors from the Swatch component
|
|
4411
|
+
*/
|
|
4412
|
+
containerCss?: SerializedStyles;
|
|
4413
|
+
/** Render function for displaying selected items. Receives selectedItems and onItemRemoved.
|
|
4414
|
+
* @default Renders SwatchLabel components
|
|
4415
|
+
*/
|
|
4416
|
+
resultsComponent?: (props: {
|
|
4417
|
+
selectedItems: QuickFilterSelectedItem[];
|
|
4418
|
+
onItemRemoved?: (id: string) => void;
|
|
4419
|
+
}) => ReactNode;
|
|
4420
|
+
/** the message to display when there are no results
|
|
4421
|
+
* @default ''
|
|
4422
|
+
*/
|
|
4423
|
+
hasNoResultsMessage?: string;
|
|
4424
|
+
/** the placeholder text to display in the search input
|
|
4425
|
+
* @default 'Search...'
|
|
4426
|
+
*/
|
|
4427
|
+
searchPlaceholderText?: string;
|
|
4428
|
+
/**
|
|
4429
|
+
* The maximum width of the quick filter container.
|
|
4430
|
+
* Useful for controlling the maximum width of the filter in different layouts (e.g., responsive sidebars).
|
|
4431
|
+
* @default '4rem'
|
|
4432
|
+
*/
|
|
4433
|
+
maxContainerSize?: string;
|
|
4434
|
+
/** the icon to display on the left of the quick filter when collapsed */
|
|
4435
|
+
collapsedIcon?: IconType;
|
|
4436
|
+
/** the function to call when the quick filter is opened */
|
|
4437
|
+
onOpen?: () => void;
|
|
4438
|
+
/** the function to call when the quick filter is closed */
|
|
4439
|
+
onClose?: () => void;
|
|
4440
|
+
/**
|
|
4441
|
+
* Override the Ariakit placement of the dropdown menu.
|
|
4442
|
+
* @default 'right-start'
|
|
4443
|
+
*/
|
|
4444
|
+
menuPlacement?: MenuProps['placement'];
|
|
4445
|
+
/**
|
|
4446
|
+
* Override the anchor rect for custom menu positioning.
|
|
4447
|
+
* Pass `null` to disable the built-in default and use standard positioning.
|
|
4448
|
+
* @default Anchors to the container's right edge
|
|
4449
|
+
*/
|
|
4450
|
+
menuGetAnchorRect?: ((anchor: HTMLElement | null) => {
|
|
4451
|
+
x?: number;
|
|
4452
|
+
y?: number;
|
|
4453
|
+
width?: number;
|
|
4454
|
+
height?: number;
|
|
4455
|
+
} | null) | null;
|
|
4456
|
+
/**
|
|
4457
|
+
* Override the updatePosition callback to control when the menu repositions.
|
|
4458
|
+
* Pass `null` to disable the built-in default (position freezing) and allow normal repositioning.
|
|
4459
|
+
* @default Freezes position after initial placement
|
|
4460
|
+
*/
|
|
4461
|
+
menuUpdatePosition?: ((props: {
|
|
4462
|
+
updatePosition: () => Promise<void>;
|
|
4463
|
+
}) => void | Promise<void>) | null;
|
|
4464
|
+
/** Called when Enter is pressed in the search input and no active menu item handles the event */
|
|
4465
|
+
onSearchEnterKeyDown?: () => void;
|
|
4466
|
+
};
|
|
4467
|
+
declare const QuickFilter: ({ iconLeft, collapsedIcon, buttonText, testId, ariaLabel, children, size, disabled, selectedItems, onSearchTermChanged, addButtonText, onItemRemoved, totalResults, maxMenuHeight, maxCount, containerCss, resultsComponent, hasNoResultsMessage, searchPlaceholderText, maxContainerSize, onOpen, onClose, menuPlacement, menuGetAnchorRect, menuUpdatePosition, onSearchEnterKeyDown, }: QuickFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
4468
|
+
|
|
4028
4469
|
type SegmentedControlOption<TValue extends string = string> = {
|
|
4029
4470
|
value: TValue;
|
|
4030
4471
|
label?: string;
|
|
@@ -4094,6 +4535,114 @@ declare const Spinner: ({ width, label, isPaused, }: {
|
|
|
4094
4535
|
isPaused?: boolean;
|
|
4095
4536
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
4096
4537
|
|
|
4538
|
+
/** The direction of a step transition, determining which slide animation to play. */
|
|
4539
|
+
type StackedModalDirection = 'forward' | 'backward';
|
|
4540
|
+
/** The full navigation state exposed by the `useStackedModal` hook. */
|
|
4541
|
+
type StackedModalContextValue = {
|
|
4542
|
+
/** The zero-indexed active step. */
|
|
4543
|
+
currentStep: number;
|
|
4544
|
+
/** The total number of steps. */
|
|
4545
|
+
totalSteps: number;
|
|
4546
|
+
/** The direction of the last navigation, used to drive slide animations. */
|
|
4547
|
+
direction: StackedModalDirection;
|
|
4548
|
+
/** The zero-indexed step that was active before the last navigation. Used internally for animation. */
|
|
4549
|
+
previousStep: number;
|
|
4550
|
+
/** Navigate to the next step. No-op if already on the last step. */
|
|
4551
|
+
nextStep: () => void;
|
|
4552
|
+
/** Navigate to the previous step. No-op if already on the first step. */
|
|
4553
|
+
goBack: () => void;
|
|
4554
|
+
/** Navigate to a specific step by index. */
|
|
4555
|
+
goToStep: (index: number) => void;
|
|
4556
|
+
};
|
|
4557
|
+
/**
|
|
4558
|
+
* Hook to access the stacked modal navigation context.
|
|
4559
|
+
* Provides the current step, total steps, navigation direction, and functions to navigate between steps.
|
|
4560
|
+
*
|
|
4561
|
+
* @throws If used outside of a `<StackedModal>` component tree.
|
|
4562
|
+
*/
|
|
4563
|
+
declare function useStackedModal(): StackedModalContextValue;
|
|
4564
|
+
/** The semantic transition state for a single step, derived from the navigation context. */
|
|
4565
|
+
type StepTransitionState = {
|
|
4566
|
+
/** Whether this step is the currently visible step. */
|
|
4567
|
+
isActive: boolean;
|
|
4568
|
+
/** Whether this step is animating out after being replaced by a new active step. */
|
|
4569
|
+
isExiting: boolean;
|
|
4570
|
+
/** Whether the modal is idle (no transition in progress). True on initial render and after animations complete. */
|
|
4571
|
+
isIdle: boolean;
|
|
4572
|
+
/** The direction of the current or most recent transition. */
|
|
4573
|
+
direction: StackedModalDirection;
|
|
4574
|
+
};
|
|
4575
|
+
|
|
4576
|
+
type StackedModalProps = {
|
|
4577
|
+
/** The step content. Each child should be a `StackedModalStep` component. */
|
|
4578
|
+
children: ReactNode;
|
|
4579
|
+
/**
|
|
4580
|
+
* Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked.
|
|
4581
|
+
* If undefined is passed, the modal will not be closable by the user and the close button will not be rendered.
|
|
4582
|
+
*/
|
|
4583
|
+
onRequestClose: ModalProps['onRequestClose'];
|
|
4584
|
+
/**
|
|
4585
|
+
* The size sets the modal width to one of three options sm = 400px, md = 600px and lg = 800px.
|
|
4586
|
+
* If a width attribute is used the size will be overridden by the width attribute.
|
|
4587
|
+
* @default 'lg'
|
|
4588
|
+
*/
|
|
4589
|
+
modalSize?: ModalProps['modalSize'];
|
|
4590
|
+
/** A valid CSS width. Overrides `modalSize` when provided. */
|
|
4591
|
+
width?: string;
|
|
4592
|
+
/** A valid CSS height. */
|
|
4593
|
+
height?: string;
|
|
4594
|
+
/**
|
|
4595
|
+
* The zero-indexed step to display initially.
|
|
4596
|
+
* @default 0
|
|
4597
|
+
*/
|
|
4598
|
+
initialStep?: number;
|
|
4599
|
+
};
|
|
4600
|
+
/**
|
|
4601
|
+
* A modal component that supports multi-step content with sliding transitions.
|
|
4602
|
+
* Each child should be a `StackedModalStep` component that defines its own header,
|
|
4603
|
+
* content, and button group.
|
|
4604
|
+
*
|
|
4605
|
+
* Use the `useStackedModal` hook inside step content to navigate between steps.
|
|
4606
|
+
*
|
|
4607
|
+
* @example
|
|
4608
|
+
* <StackedModal onRequestClose={handleClose} modalSize="lg">
|
|
4609
|
+
* <StackedModalStep header="Step 1" buttonGroup={<Buttons />}>
|
|
4610
|
+
* <StepOneContent />
|
|
4611
|
+
* </StackedModalStep>
|
|
4612
|
+
* <StackedModalStep header="Step 2" buttonGroup={<Buttons />}>
|
|
4613
|
+
* <StepTwoContent />
|
|
4614
|
+
* </StackedModalStep>
|
|
4615
|
+
* </StackedModal>
|
|
4616
|
+
*/
|
|
4617
|
+
declare const StackedModal: React__default.ForwardRefExoticComponent<StackedModalProps & React__default.RefAttributes<HTMLDialogElement>>;
|
|
4618
|
+
|
|
4619
|
+
/** Props for a single step within a `StackedModal`. */
|
|
4620
|
+
type StackedModalStepProps = {
|
|
4621
|
+
/**
|
|
4622
|
+
* Header content displayed in the modal's header row, inline with the close icon.
|
|
4623
|
+
* This prop is extracted by the parent `StackedModal` and rendered in the
|
|
4624
|
+
* modal chrome -- it is **not** rendered by `StackedModalStep` itself.
|
|
4625
|
+
*/
|
|
4626
|
+
header?: ReactNode;
|
|
4627
|
+
/** Optional button group rendered at the bottom of the step, typically navigation or submit buttons. */
|
|
4628
|
+
buttonGroup?: ReactNode;
|
|
4629
|
+
/** The main body content of the step. */
|
|
4630
|
+
children: ReactNode;
|
|
4631
|
+
};
|
|
4632
|
+
/**
|
|
4633
|
+
* Defines a single step inside a `StackedModal`.
|
|
4634
|
+
*
|
|
4635
|
+
* Renders a scrollable content area and an optional bottom button group.
|
|
4636
|
+
* The `header` prop is read by the parent `StackedModal` and displayed in the
|
|
4637
|
+
* modal header row with a matching slide animation.
|
|
4638
|
+
*
|
|
4639
|
+
* @example
|
|
4640
|
+
* <StackedModalStep header="Account details" buttonGroup={<Button>Next</Button>}>
|
|
4641
|
+
* <FormFields />
|
|
4642
|
+
* </StackedModalStep>
|
|
4643
|
+
*/
|
|
4644
|
+
declare function StackedModalStep({ children, buttonGroup }: StackedModalStepProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
4645
|
+
|
|
4097
4646
|
type SwitchProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
|
|
4098
4647
|
/** sets the label value */
|
|
4099
4648
|
label: ReactNode;
|
|
@@ -4358,20 +4907,8 @@ type LinkManagerWithRefType = (props: Partial<LinkProps> & {
|
|
|
4358
4907
|
* We recommend using this link `next/link`
|
|
4359
4908
|
* @example <LinkWithRef linkManagerComponent={NextLink} href="some-url" text="my link" />
|
|
4360
4909
|
*/
|
|
4361
|
-
declare const LinkWithRef: React$1.ForwardRefExoticComponent<Omit<
|
|
4362
|
-
|
|
4363
|
-
text: string;
|
|
4364
|
-
/** (optional) sets the link color
|
|
4365
|
-
* @default 'currentColor'
|
|
4366
|
-
*/
|
|
4367
|
-
linkColor?: LinkColorProps;
|
|
4368
|
-
/** (optional) sets whether the link is external or not adding an icon to the link */
|
|
4369
|
-
external?: boolean;
|
|
4370
|
-
/** (optional) For supporting inside next/link component */
|
|
4371
|
-
ref?: React$1.ForwardedRef<HTMLAnchorElement>;
|
|
4372
|
-
/** (optional) sets react child elements */
|
|
4373
|
-
children?: React$1.ReactNode;
|
|
4374
|
-
} & {
|
|
4910
|
+
declare const LinkWithRef: React$1.ForwardRefExoticComponent<Omit<Omit<LinkProps, "text"> & {
|
|
4911
|
+
text?: string;
|
|
4375
4912
|
href: string;
|
|
4376
4913
|
as?: string;
|
|
4377
4914
|
linkManagerComponent: LinkManagerWithRefType;
|
|
@@ -4521,4 +5058,4 @@ declare const StatusBullet: ({ status, hideText, size, message, compact, ...prop
|
|
|
4521
5058
|
|
|
4522
5059
|
declare const actionBarVisibilityStyles: _emotion_react.SerializedStyles;
|
|
4523
5060
|
|
|
4524
|
-
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 CalendarProps, 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 LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, 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, 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, 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, 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, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, 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, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, 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, 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, textInput, uniformAiIcon, uniformComponentIcon, uniformComponentPatternIcon, uniformCompositionPatternIcon, uniformConditionalValuesIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, uniformLocaleDisabledIcon, uniformLocaleIcon, uniformStatusDraftIcon, uniformStatusModifiedIcon, uniformStatusPublishedIcon, uniformUsageStatusIcon, useBreakpoint, useButtonStyles, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useImageLoadFallback, useOutsideClick, useParameterShell, usePopoverComponentContext, useRichTextToolbarState, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon, zigZag, zigZagThick };
|
|
5061
|
+
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, 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, 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, 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 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, useOutsideClick, useParameterShell, usePopoverComponentContext, useRichTextToolbarState, useShortcut, useStackedModal, functionalColors as utilityColors, warningIcon, yesNoIcon, zigZag, zigZagThick };
|