@uniformdev/design-system 20.51.0 → 20.51.1-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +3108 -1683
- package/dist/index.d.mts +731 -244
- package/dist/index.d.ts +731 -244
- package/dist/index.js +3418 -1947
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
8
|
import { SerializedStyles } from '@emotion/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;
|
|
@@ -2719,209 +2732,6 @@ type KeyValueInputProps<TValue extends string = string> = {
|
|
|
2719
2732
|
*/
|
|
2720
2733
|
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;
|
|
2721
2734
|
|
|
2722
|
-
type AsideAndSectionLayout = {
|
|
2723
|
-
/** sets child components in the aside / supporting column */
|
|
2724
|
-
sidebar?: ReactNode;
|
|
2725
|
-
/** sets child components in the section / main content column */
|
|
2726
|
-
children: ReactNode;
|
|
2727
|
-
/** Makes the sidebar sticky to the top of the container
|
|
2728
|
-
* @default false
|
|
2729
|
-
*/
|
|
2730
|
-
isStickyAside?: boolean;
|
|
2731
|
-
};
|
|
2732
|
-
declare const AsideAndSectionLayout: ({ sidebar, children, isStickyAside, }: AsideAndSectionLayout) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2733
|
-
|
|
2734
|
-
type SpacingProp = '0' | '2xs' | 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
2735
|
-
type BackgroundColorProp = 'transparent' | 'white' | 'gray-50' | 'gray-100' | 'gray-200' | 'gray-300' | 'gray-400' | 'gray-500' | 'gray-600' | 'gray-700' | 'gray-800' | 'gray-900';
|
|
2736
|
-
type HtmlTagProps = 'div' | 'section' | 'article' | 'aside' | 'span';
|
|
2737
|
-
type BorderRadiusProps = 'rounded-sm' | 'rounded-base' | 'rounded-md';
|
|
2738
|
-
type CommonContainerProps = {
|
|
2739
|
-
/** sets the background color of the element */
|
|
2740
|
-
backgroundColor?: BackgroundColorProp;
|
|
2741
|
-
/** sets border: 1px solid var(--gray-300)*/
|
|
2742
|
-
border?: boolean;
|
|
2743
|
-
/** sets the border radius of the element */
|
|
2744
|
-
rounded?: BorderRadiusProps;
|
|
2745
|
-
/** sets the padding of the element */
|
|
2746
|
-
padding?: string;
|
|
2747
|
-
/** sets the margin of the element */
|
|
2748
|
-
margin?: string;
|
|
2749
|
-
};
|
|
2750
|
-
type RhythmProps = React.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> & {
|
|
2751
|
-
/** sets the wrapping html tag
|
|
2752
|
-
* @default 'div'
|
|
2753
|
-
*/
|
|
2754
|
-
tag?: HtmlTagProps | 'fieldset';
|
|
2755
|
-
/** sets the spacing between each element
|
|
2756
|
-
* @default 'div'
|
|
2757
|
-
*/
|
|
2758
|
-
gap?: SpacingProp;
|
|
2759
|
-
/** sets the alignment of elements
|
|
2760
|
-
* @default normal browser behaviour
|
|
2761
|
-
*/
|
|
2762
|
-
align?: CSSProperties['alignItems'];
|
|
2763
|
-
justify?: CSSProperties['justifyContent'];
|
|
2764
|
-
children: React.ReactNode;
|
|
2765
|
-
/** for use when fieldset is applied to the tag prop */
|
|
2766
|
-
disabled?: boolean;
|
|
2767
|
-
ref?: Ref<HTMLDivElement>;
|
|
2768
|
-
};
|
|
2769
|
-
|
|
2770
|
-
type ContainerProps = CommonContainerProps & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2771
|
-
tag?: HtmlTagProps;
|
|
2772
|
-
children: React$1.ReactNode;
|
|
2773
|
-
};
|
|
2774
|
-
declare const Container: ({ tag, backgroundColor, border, rounded, padding, margin, children, ...props }: ContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2775
|
-
|
|
2776
|
-
declare const HorizontalRhythm: ({ align, justify, tag, gap, children, ref, ...props }: RhythmProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2777
|
-
|
|
2778
|
-
type TwoColumnLayoutProps = {
|
|
2779
|
-
/** sets the full bleed background colour
|
|
2780
|
-
* @default 'var(--white)'
|
|
2781
|
-
*/
|
|
2782
|
-
bgColor?: 'var(--white)' | 'var(--gray-50)';
|
|
2783
|
-
/** sets child components in the aside / supporting column */
|
|
2784
|
-
supportingContent?: ReactNode;
|
|
2785
|
-
/** sets child components in the section / main content column */
|
|
2786
|
-
children?: ReactNode;
|
|
2787
|
-
/** inverts the layout placing the aside container on the left
|
|
2788
|
-
* @default false
|
|
2789
|
-
*/
|
|
2790
|
-
invertLayout?: boolean;
|
|
2791
|
-
};
|
|
2792
|
-
/** @example <TwoColumnLayout supportingContent={<div>supporting content</div>}><h1>title</h1></TwoColumnLayout> */
|
|
2793
|
-
declare const TwoColumnLayout: ({ bgColor, invertLayout, supportingContent, children, }: TwoColumnLayoutProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2794
|
-
|
|
2795
|
-
declare const VerticalRhythm: ({ align, justify, tag, gap, children, ref, ...props }: RhythmProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2796
|
-
|
|
2797
|
-
type LimitsBarProps = {
|
|
2798
|
-
/** The current value of used limits */
|
|
2799
|
-
current: number;
|
|
2800
|
-
/** The maximum number of limits */
|
|
2801
|
-
max: number;
|
|
2802
|
-
/** @deprecated No longer used */
|
|
2803
|
-
label?: string;
|
|
2804
|
-
/** Optional popover content for info icon */
|
|
2805
|
-
popoverContent?: ReactNode;
|
|
2806
|
-
};
|
|
2807
|
-
/**
|
|
2808
|
-
* Uniform Limits Bar Component
|
|
2809
|
-
* @example <LimitsBar current={3} max={5} />
|
|
2810
|
-
*/
|
|
2811
|
-
declare const LimitsBar: ({ current, max, popoverContent }: LimitsBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2812
|
-
|
|
2813
|
-
type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2814
|
-
/** sets the title field */
|
|
2815
|
-
title: string;
|
|
2816
|
-
/** (optional) sets react child component */
|
|
2817
|
-
children?: React$1.ReactNode;
|
|
2818
|
-
};
|
|
2819
|
-
declare const LinkList: ({ title, children, ...props }: LinkListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2820
|
-
|
|
2821
|
-
type ScrollableListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2822
|
-
/** (optional) sets the label value */
|
|
2823
|
-
label?: string;
|
|
2824
|
-
/** (optional) allows users to add child components within the container */
|
|
2825
|
-
children?: React$1.ReactNode;
|
|
2826
|
-
};
|
|
2827
|
-
/**
|
|
2828
|
-
* Component that sets the base structure for scrollable content in a max height container
|
|
2829
|
-
* @example <ScrollableList label="allowed content types"><button>say hello</button></ScrollableList>
|
|
2830
|
-
*/
|
|
2831
|
-
declare const ScrollableList: ({ label, children, ...props }: ScrollableListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2832
|
-
|
|
2833
|
-
type ScrollableListContainerProps = {
|
|
2834
|
-
/** sets whether to show or hide the shadow around the element
|
|
2835
|
-
* @default 'false'
|
|
2836
|
-
*/
|
|
2837
|
-
disableShadow?: boolean;
|
|
2838
|
-
/** sets the active style of the button */
|
|
2839
|
-
active: boolean;
|
|
2840
|
-
};
|
|
2841
|
-
|
|
2842
|
-
type ScrollableItemProps = {
|
|
2843
|
-
/** sets an element within the label > span element */
|
|
2844
|
-
icon?: React.ReactElement;
|
|
2845
|
-
/**sets the label value */
|
|
2846
|
-
label: string | React.ReactElement;
|
|
2847
|
-
/** sets a data-testid on the label */
|
|
2848
|
-
labelTestId?: string;
|
|
2849
|
-
/** recommended to use a form input element of type radio or checkbox */
|
|
2850
|
-
children: React.ReactNode;
|
|
2851
|
-
} & ScrollableListContainerProps;
|
|
2852
|
-
/** @example <ScrollableListInputItem label="my label" active={true}><input type="radio" name="age" /></ScrollableListInputItem>*/
|
|
2853
|
-
declare const ScrollableListInputItem: ({ label, icon, active, disableShadow, children, labelTestId, ...props }: ScrollableItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2854
|
-
|
|
2855
|
-
type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
2856
|
-
/** sets the button text value */
|
|
2857
|
-
buttonText: string;
|
|
2858
|
-
icon?: React$1.ReactElement;
|
|
2859
|
-
} & ScrollableListContainerProps;
|
|
2860
|
-
/**
|
|
2861
|
-
* Component used within <ScrollableList /> for adding interactive button components with predefined styles
|
|
2862
|
-
* @example <ScrollableListItem buttontext="my button" active={false} />
|
|
2863
|
-
*/
|
|
2864
|
-
declare const ScrollableListItem: ({ buttonText, icon, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2865
|
-
|
|
2866
|
-
type LoadingIndicatorProps = {
|
|
2867
|
-
color?: 'gray' | 'accent-alt';
|
|
2868
|
-
size?: 'lg' | 'sm';
|
|
2869
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, 'color'>;
|
|
2870
|
-
/**
|
|
2871
|
-
* Loading Indicator
|
|
2872
|
-
* @example <LoadingIndicator />
|
|
2873
|
-
*/
|
|
2874
|
-
declare const LoadingIndicator: ({ size, color, ...props }: LoadingIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2875
|
-
|
|
2876
|
-
interface LoadingOverlayProps {
|
|
2877
|
-
/** sets whether to display the loading overlay components */
|
|
2878
|
-
isActive: boolean;
|
|
2879
|
-
/** (optional) type that sets a text value or React component under the loading icon */
|
|
2880
|
-
statusMessage?: string | ReactNode;
|
|
2881
|
-
/** (optional) the z-index value of the overlay
|
|
2882
|
-
* @default 9999
|
|
2883
|
-
*/
|
|
2884
|
-
zIndex?: number;
|
|
2885
|
-
/** (optional) sets the width and height of the loader
|
|
2886
|
-
* @default 128
|
|
2887
|
-
*/
|
|
2888
|
-
loaderSize?: number;
|
|
2889
|
-
/** (optional) sets the loading overlay background color
|
|
2890
|
-
* @default 'var(--white)'
|
|
2891
|
-
*/
|
|
2892
|
-
overlayBackgroundColor?: 'transparent' | 'var(--white)';
|
|
2893
|
-
/** (optional) if set to true, the animation of the loading indicator is paused
|
|
2894
|
-
* @default false
|
|
2895
|
-
*/
|
|
2896
|
-
isPaused?: boolean;
|
|
2897
|
-
/** (optional) aligns the content of the overlay to the top instead of having it centered
|
|
2898
|
-
* @default false
|
|
2899
|
-
*/
|
|
2900
|
-
isTopAligned?: boolean;
|
|
2901
|
-
children?: React.ReactNode;
|
|
2902
|
-
/** (optional) sets the position of the overlay
|
|
2903
|
-
* @default 'absolute'
|
|
2904
|
-
*/
|
|
2905
|
-
position?: 'absolute' | 'fixed';
|
|
2906
|
-
}
|
|
2907
|
-
/**
|
|
2908
|
-
* Loading Overlay.
|
|
2909
|
-
* NOTE: the container/parent element must have a non-static `position` value for the overlay to work properly.
|
|
2910
|
-
* @example <LoadingOverlay isActive={true} statusMessage="Loading..." />
|
|
2911
|
-
*/
|
|
2912
|
-
declare const LoadingOverlay: ({ isActive, statusMessage, zIndex, loaderSize, overlayBackgroundColor, isTopAligned, isPaused, children, position, }: LoadingOverlayProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2913
|
-
interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
2914
|
-
/** (optional) prop that sets a number value for the height of the icon */
|
|
2915
|
-
width?: number;
|
|
2916
|
-
/** (optional) prop that sets a number value for the width of the icon */
|
|
2917
|
-
height?: number;
|
|
2918
|
-
}
|
|
2919
|
-
/**
|
|
2920
|
-
* Loading Icon
|
|
2921
|
-
* @example <LoadingIcon height={128} width={128} />
|
|
2922
|
-
*/
|
|
2923
|
-
declare const LoadingIcon: ({ height, width, ...props }: LoadingIconProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2924
|
-
|
|
2925
2735
|
interface DropdownStyleMenuTriggerProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
2926
2736
|
children: React.ReactNode;
|
|
2927
2737
|
/** sets the background color of the button */
|
|
@@ -2971,6 +2781,8 @@ interface MenuProps extends MenuProps$1 {
|
|
|
2971
2781
|
* @default 'base'
|
|
2972
2782
|
*/
|
|
2973
2783
|
size?: 'small' | 'base';
|
|
2784
|
+
/** (optional) disables the menu trigger so the menu cannot be opened */
|
|
2785
|
+
disabled?: boolean;
|
|
2974
2786
|
}
|
|
2975
2787
|
/**
|
|
2976
2788
|
* Component used for creating clickable menus
|
|
@@ -3109,50 +2921,471 @@ type SearchableMenuProps = {
|
|
|
3109
2921
|
declare const SearchableMenu: (props: SearchableMenuProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3110
2922
|
|
|
3111
2923
|
interface SelectableMenuItemProps extends PropsWithChildren<Omit<MenuItemProps, 'children'>> {
|
|
2924
|
+
/** whether the menu item is selected */
|
|
3112
2925
|
selected: boolean;
|
|
2926
|
+
/** the styles to use for the selectable menu item
|
|
2927
|
+
* @default 'default'
|
|
2928
|
+
*/
|
|
2929
|
+
selectStyles?: 'default' | 'checkbox-select';
|
|
2930
|
+
/** whether the menu item is selectable
|
|
2931
|
+
* @default true
|
|
2932
|
+
*/
|
|
2933
|
+
isSelectable?: boolean;
|
|
3113
2934
|
}
|
|
3114
|
-
declare function SelectableMenuItem({ selected, children, ...menuItemProps }: SelectableMenuItemProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
2935
|
+
declare function SelectableMenuItem({ selected, children, selectStyles, isSelectable, ...menuItemProps }: SelectableMenuItemProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
3115
2936
|
|
|
3116
|
-
type
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
/**
|
|
3120
|
-
*
|
|
3121
|
-
* If undefined is passed, the modal will not be closable by the user and the close button will not be rendered.
|
|
2937
|
+
type SwatchSize = 'default' | 'small';
|
|
2938
|
+
type SwatchVariant = 'swatch-default' | 'swatch-red' | 'swatch-orange' | 'swatch-yellow' | 'swatch-green' | 'swatch-blue' | 'swatch-purple' | 'swatch-pink' | 'swatch-brown' | 'swatch-gray';
|
|
2939
|
+
type SwatchProps = {
|
|
2940
|
+
/** sets the size of the swatch
|
|
2941
|
+
* @default 'default'
|
|
3122
2942
|
*/
|
|
3123
|
-
|
|
3124
|
-
/**
|
|
3125
|
-
*
|
|
3126
|
-
* @default 'lg'
|
|
2943
|
+
size?: SwatchSize;
|
|
2944
|
+
/** sets the color variant of the swatch
|
|
2945
|
+
* @default 'swatch-default'
|
|
3127
2946
|
*/
|
|
3128
|
-
|
|
3129
|
-
/**
|
|
3130
|
-
|
|
3131
|
-
/** A valid CSS height */
|
|
3132
|
-
height?: string;
|
|
3133
|
-
/** Removes the default padding on the content wrapper */
|
|
3134
|
-
withoutContentPadding?: boolean;
|
|
3135
|
-
/** Removes the default background color of the content wrapper */
|
|
3136
|
-
withoutContentBackground?: boolean;
|
|
3137
|
-
/** Places buttons at the bottom of the modal */
|
|
3138
|
-
buttonGroup?: ReactNode;
|
|
3139
|
-
/**
|
|
3140
|
-
* Disables scrolling of the modal body if the content exceeds the height.
|
|
3141
|
-
* Can be required for modals that have comboboxes where the menu items are expected
|
|
3142
|
-
* to overflow the bounds of the modal.
|
|
2947
|
+
variant?: SwatchVariant;
|
|
2948
|
+
/** sets the tooltip of the swatch
|
|
2949
|
+
* @default undefined
|
|
3143
2950
|
*/
|
|
3144
|
-
|
|
3145
|
-
|
|
2951
|
+
tooltip?: string;
|
|
2952
|
+
/** sets the test id of the swatch
|
|
2953
|
+
* @default 'swatch'
|
|
2954
|
+
*/
|
|
2955
|
+
testId?: string;
|
|
2956
|
+
};
|
|
2957
|
+
/** @example <Swatch variant="swatch-blue" size="default" /> */
|
|
2958
|
+
declare const Swatch: ({ size, variant, tooltip, testId, }: SwatchProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2959
|
+
|
|
2960
|
+
/** Swatch color CSS custom properties
|
|
2961
|
+
* Exports CSS variables for all swatch variants that can be used in other components.
|
|
2962
|
+
* Each variant has --swatch-{variant}-bg and --swatch-{variant}-border variables.
|
|
2963
|
+
* @example <div css={swatchColors}></div>
|
|
2964
|
+
* @example css-in-js my-component { ${swatchColors} }
|
|
2965
|
+
*/
|
|
2966
|
+
declare const swatchColors: _emotion_react.SerializedStyles;
|
|
3146
2967
|
/**
|
|
3147
|
-
*
|
|
3148
|
-
*
|
|
2968
|
+
* Swatch variant styles as plain objects.
|
|
2969
|
+
* Works with both Emotion's css prop and react-select's styles API.
|
|
2970
|
+
* @example <div css={swatchVariant['swatch-blue']}></div>
|
|
2971
|
+
* @example styles={{ multiValue: (base, { data }) => ({ ...base, ...swatchVariant[data.color] }) }}
|
|
3149
2972
|
*/
|
|
3150
|
-
declare const
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
2973
|
+
declare const swatchVariant: {
|
|
2974
|
+
readonly 'swatch-default': {
|
|
2975
|
+
readonly '--variant-bg': "var(--swatch-default-bg)";
|
|
2976
|
+
readonly '--variant-border': "var(--swatch-default-border)";
|
|
2977
|
+
};
|
|
2978
|
+
readonly 'swatch-gray': {
|
|
2979
|
+
readonly '--variant-bg': "var(--swatch-gray-bg)";
|
|
2980
|
+
readonly '--variant-border': "var(--swatch-gray-border)";
|
|
2981
|
+
};
|
|
2982
|
+
readonly 'swatch-brown': {
|
|
2983
|
+
readonly '--variant-bg': "var(--swatch-brown-bg)";
|
|
2984
|
+
readonly '--variant-border': "var(--swatch-brown-border)";
|
|
2985
|
+
};
|
|
2986
|
+
readonly 'swatch-orange': {
|
|
2987
|
+
readonly '--variant-bg': "var(--swatch-orange-bg)";
|
|
2988
|
+
readonly '--variant-border': "var(--swatch-orange-border)";
|
|
2989
|
+
};
|
|
2990
|
+
readonly 'swatch-yellow': {
|
|
2991
|
+
readonly '--variant-bg': "var(--swatch-yellow-bg)";
|
|
2992
|
+
readonly '--variant-border': "var(--swatch-yellow-border)";
|
|
2993
|
+
};
|
|
2994
|
+
readonly 'swatch-green': {
|
|
2995
|
+
readonly '--variant-bg': "var(--swatch-green-bg)";
|
|
2996
|
+
readonly '--variant-border': "var(--swatch-green-border)";
|
|
2997
|
+
};
|
|
2998
|
+
readonly 'swatch-blue': {
|
|
2999
|
+
readonly '--variant-bg': "var(--swatch-blue-bg)";
|
|
3000
|
+
readonly '--variant-border': "var(--swatch-blue-border)";
|
|
3001
|
+
};
|
|
3002
|
+
readonly 'swatch-purple': {
|
|
3003
|
+
readonly '--variant-bg': "var(--swatch-purple-bg)";
|
|
3004
|
+
readonly '--variant-border': "var(--swatch-purple-border)";
|
|
3005
|
+
};
|
|
3006
|
+
readonly 'swatch-pink': {
|
|
3007
|
+
readonly '--variant-bg': "var(--swatch-pink-bg)";
|
|
3008
|
+
readonly '--variant-border': "var(--swatch-pink-border)";
|
|
3009
|
+
};
|
|
3010
|
+
readonly 'swatch-red': {
|
|
3011
|
+
readonly '--variant-bg': "var(--swatch-red-bg)";
|
|
3012
|
+
readonly '--variant-border': "var(--swatch-red-border)";
|
|
3013
|
+
};
|
|
3014
|
+
};
|
|
3015
|
+
|
|
3016
|
+
/**
|
|
3017
|
+
* SwatchComboBoxLabelStyles provides custom styles for react-select's multiValue and multiValueLabel.
|
|
3018
|
+
* Dynamically applies color based on each option's color property.
|
|
3019
|
+
* @returns A StylesConfig object with customized styles.
|
|
3020
|
+
*/
|
|
3021
|
+
declare const SwatchComboBoxLabelStyles: <TOption, IsMulti extends boolean = boolean, TGroup extends ComboBoxGroupBase<TOption> = ComboBoxGroupBase<TOption>>() => StylesConfig<TOption, IsMulti, TGroup>;
|
|
3022
|
+
declare function SwatchComboBox<TOption = InputComboBoxOption & {
|
|
3023
|
+
color: SwatchVariant;
|
|
3024
|
+
}, IsMulti extends boolean = false, TGroup extends ComboBoxGroupBase<TOption> = ComboBoxGroupBase<TOption>>({ labelTitle, caption, isMulti, ...props }: InputComboBoxProps<TOption, IsMulti, TGroup> & {
|
|
3025
|
+
labelTitle?: string;
|
|
3026
|
+
caption?: string;
|
|
3027
|
+
isMulti?: boolean;
|
|
3028
|
+
}): _emotion_react_jsx_runtime.JSX.Element;
|
|
3029
|
+
|
|
3030
|
+
type SwatchLabelProps = {
|
|
3031
|
+
/** Sets the color variant of the swatch label
|
|
3032
|
+
* @default 'swatch-default'
|
|
3033
|
+
*/
|
|
3034
|
+
variant?: SwatchVariant;
|
|
3035
|
+
/** The text to display inside the swatch label */
|
|
3036
|
+
label: string;
|
|
3037
|
+
/** The size of the swatch label
|
|
3038
|
+
* @default 'default'
|
|
3039
|
+
*/
|
|
3040
|
+
size?: 'xs' | 'sm' | 'md';
|
|
3041
|
+
/** The right slot to display inside the swatch label */
|
|
3042
|
+
rightSlot?: React.ReactNode;
|
|
3043
|
+
/** The tooltip to display inside the swatch label */
|
|
3044
|
+
tooltip?: string | React.ReactElement;
|
|
3045
|
+
/** The left slot to display inside the swatch label */
|
|
3046
|
+
leftSlot?: React.ReactNode;
|
|
3047
|
+
};
|
|
3048
|
+
/**
|
|
3049
|
+
* A colored label component that uses the same color variants as Swatch.
|
|
3050
|
+
* @example <SwatchLabel variant="swatch-blue" label="Blue Label" />
|
|
3051
|
+
*/
|
|
3052
|
+
declare const SwatchLabel: ({ variant, size, label, rightSlot, tooltip, leftSlot, }: SwatchLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3053
|
+
declare const SwatchLabelRemoveButton: ({ onRemove, size, }: {
|
|
3054
|
+
/** The function to call when the remove button is clicked */
|
|
3055
|
+
onRemove: () => void;
|
|
3056
|
+
/** The size of the remove button
|
|
3057
|
+
* @default 'sm'
|
|
3058
|
+
*/
|
|
3059
|
+
size?: SwatchLabelProps["size"];
|
|
3060
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3061
|
+
/**
|
|
3062
|
+
* A tooltip component that displays a swatch label with a parent title and a description.
|
|
3063
|
+
* @example <SwatchLabelTooltip parentTitle="Parent Title" title="Title" description="Description" />
|
|
3064
|
+
*/
|
|
3065
|
+
declare const SwatchLabelTooltip: ({ parentTitle, title, description, }: {
|
|
3066
|
+
parentTitle?: string | React.ReactElement;
|
|
3067
|
+
title?: string | React.ReactElement;
|
|
3068
|
+
description?: string | React.ReactElement;
|
|
3069
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3070
|
+
|
|
3071
|
+
/** Represents a label item that can be displayed in the quick filter */
|
|
3072
|
+
type LabelsQuickFilterItem = {
|
|
3073
|
+
/** Unique identifier for the label */
|
|
3074
|
+
id: string;
|
|
3075
|
+
/** Display name for the label */
|
|
3076
|
+
name: string;
|
|
3077
|
+
/** Optional swatch variant color */
|
|
3078
|
+
variant?: SwatchVariant;
|
|
3079
|
+
/** Optional tooltip content */
|
|
3080
|
+
tooltip?: string | React.ReactElement;
|
|
3081
|
+
/** Whether this item represents a group header */
|
|
3082
|
+
isGroup?: boolean;
|
|
3083
|
+
/** The parent group ID if this label belongs to a group */
|
|
3084
|
+
parent?: string;
|
|
3085
|
+
};
|
|
3086
|
+
type LabelsQuickFilterProps = {
|
|
3087
|
+
/** The text to display on the filter button */
|
|
3088
|
+
buttonText: string;
|
|
3089
|
+
/** The text to display on the add button */
|
|
3090
|
+
addButtonText?: string | null;
|
|
3091
|
+
/** All available label items (including groups and children) */
|
|
3092
|
+
items: LabelsQuickFilterItem[];
|
|
3093
|
+
/** Set or array of currently selected item IDs */
|
|
3094
|
+
selectedIds: Set<string> | string[];
|
|
3095
|
+
/** Callback when a label is selected */
|
|
3096
|
+
onSelect: (item: LabelsQuickFilterItem) => void;
|
|
3097
|
+
/** Callback when a label is deselected */
|
|
3098
|
+
onDeselect: (id: string) => void;
|
|
3099
|
+
/** Whether the filter is disabled */
|
|
3100
|
+
disabled?: boolean;
|
|
3101
|
+
/** Test ID for the component */
|
|
3102
|
+
testId?: string;
|
|
3103
|
+
/** Override the total results count (defaults to items.length excluding groups) */
|
|
3104
|
+
totalResults?: number;
|
|
3105
|
+
/** handles creating a new label */
|
|
3106
|
+
onCreateLabel?: (label: string) => void;
|
|
3107
|
+
/** sets whether to use a React portal rendering or not. */
|
|
3108
|
+
withoutPortal?: boolean;
|
|
3109
|
+
/**
|
|
3110
|
+
* The maximum width of the quick filter container.
|
|
3111
|
+
* Useful for controlling the maximum width of the filter in different layouts (e.g., responsive sidebars).
|
|
3112
|
+
* @default '4rem'
|
|
3113
|
+
*/
|
|
3114
|
+
maxContainerSize?: string;
|
|
3115
|
+
/** the function to call when the quick filter is opened */
|
|
3116
|
+
onOpen?: () => void;
|
|
3117
|
+
/** the function to call when the quick filter is closed */
|
|
3118
|
+
onClose?: () => void;
|
|
3119
|
+
/**
|
|
3120
|
+
* Override the Ariakit placement of the dropdown menu.
|
|
3121
|
+
* @default 'right-start'
|
|
3122
|
+
*/
|
|
3123
|
+
menuPlacement?: MenuProps['placement'];
|
|
3124
|
+
/**
|
|
3125
|
+
* Override the Ariakit getAnchorRect for custom menu anchor positioning.
|
|
3126
|
+
* Pass `null` to disable the built-in default and use standard Ariakit positioning.
|
|
3127
|
+
*/
|
|
3128
|
+
menuGetAnchorRect?: MenuProps['getAnchorRect'] | null;
|
|
3129
|
+
/**
|
|
3130
|
+
* Override the Ariakit updatePosition to control when the menu repositions.
|
|
3131
|
+
* Pass `null` to disable the built-in default (position freezing) and allow normal repositioning.
|
|
3132
|
+
*/
|
|
3133
|
+
menuUpdatePosition?: MenuProps['updatePosition'] | null;
|
|
3134
|
+
/** the maximum number of results to display
|
|
3135
|
+
* @default 0 (no limit)
|
|
3136
|
+
*/
|
|
3137
|
+
maxCount?: number;
|
|
3138
|
+
};
|
|
3139
|
+
/**
|
|
3140
|
+
* A reusable quick filter component for selecting labels with swatch colors.
|
|
3141
|
+
* Supports flat labels and grouped labels with nested menus.
|
|
3142
|
+
* @example <LabelsQuickFilter buttonText="Filter by label" items={labels} selectedIds={selectedSet} onSelect={handleSelect} onDeselect={handleDeselect} />
|
|
3143
|
+
*/
|
|
3144
|
+
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;
|
|
3145
|
+
|
|
3146
|
+
type AsideAndSectionLayout = {
|
|
3147
|
+
/** sets child components in the aside / supporting column */
|
|
3148
|
+
sidebar?: ReactNode;
|
|
3149
|
+
/** sets child components in the section / main content column */
|
|
3150
|
+
children: ReactNode;
|
|
3151
|
+
/** Makes the sidebar sticky to the top of the container
|
|
3152
|
+
* @default false
|
|
3153
|
+
*/
|
|
3154
|
+
isStickyAside?: boolean;
|
|
3155
|
+
};
|
|
3156
|
+
declare const AsideAndSectionLayout: ({ sidebar, children, isStickyAside, }: AsideAndSectionLayout) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3157
|
+
|
|
3158
|
+
type SpacingProp = '0' | '2xs' | 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
3159
|
+
type BackgroundColorProp = 'transparent' | 'white' | 'gray-50' | 'gray-100' | 'gray-200' | 'gray-300' | 'gray-400' | 'gray-500' | 'gray-600' | 'gray-700' | 'gray-800' | 'gray-900';
|
|
3160
|
+
type HtmlTagProps = 'div' | 'section' | 'article' | 'aside' | 'span';
|
|
3161
|
+
type BorderRadiusProps = 'rounded-sm' | 'rounded-base' | 'rounded-md';
|
|
3162
|
+
type CommonContainerProps = {
|
|
3163
|
+
/** sets the background color of the element */
|
|
3164
|
+
backgroundColor?: BackgroundColorProp;
|
|
3165
|
+
/** sets border: 1px solid var(--gray-300)*/
|
|
3166
|
+
border?: boolean;
|
|
3167
|
+
/** sets the border radius of the element */
|
|
3168
|
+
rounded?: BorderRadiusProps;
|
|
3169
|
+
/** sets the padding of the element */
|
|
3170
|
+
padding?: string;
|
|
3171
|
+
/** sets the margin of the element */
|
|
3172
|
+
margin?: string;
|
|
3173
|
+
};
|
|
3174
|
+
type RhythmProps = React.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> & {
|
|
3175
|
+
/** sets the wrapping html tag
|
|
3176
|
+
* @default 'div'
|
|
3177
|
+
*/
|
|
3178
|
+
tag?: HtmlTagProps | 'fieldset';
|
|
3179
|
+
/** sets the spacing between each element
|
|
3180
|
+
* @default 'div'
|
|
3181
|
+
*/
|
|
3182
|
+
gap?: SpacingProp;
|
|
3183
|
+
/** sets the alignment of elements
|
|
3184
|
+
* @default normal browser behaviour
|
|
3185
|
+
*/
|
|
3186
|
+
align?: CSSProperties['alignItems'];
|
|
3187
|
+
justify?: CSSProperties['justifyContent'];
|
|
3188
|
+
children: React.ReactNode;
|
|
3189
|
+
/** for use when fieldset is applied to the tag prop */
|
|
3190
|
+
disabled?: boolean;
|
|
3191
|
+
ref?: Ref<HTMLDivElement>;
|
|
3192
|
+
};
|
|
3193
|
+
|
|
3194
|
+
type ContainerProps = CommonContainerProps & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
3195
|
+
tag?: HtmlTagProps;
|
|
3196
|
+
children: React$1.ReactNode;
|
|
3197
|
+
};
|
|
3198
|
+
declare const Container: ({ tag, backgroundColor, border, rounded, padding, margin, children, ...props }: ContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3199
|
+
|
|
3200
|
+
declare const HorizontalRhythm: ({ align, justify, tag, gap, children, ref, ...props }: RhythmProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3201
|
+
|
|
3202
|
+
type TwoColumnLayoutProps = {
|
|
3203
|
+
/** sets the full bleed background colour
|
|
3204
|
+
* @default 'var(--white)'
|
|
3205
|
+
*/
|
|
3206
|
+
bgColor?: 'var(--white)' | 'var(--gray-50)';
|
|
3207
|
+
/** sets child components in the aside / supporting column */
|
|
3208
|
+
supportingContent?: ReactNode;
|
|
3209
|
+
/** sets child components in the section / main content column */
|
|
3210
|
+
children?: ReactNode;
|
|
3211
|
+
/** inverts the layout placing the aside container on the left
|
|
3212
|
+
* @default false
|
|
3213
|
+
*/
|
|
3214
|
+
invertLayout?: boolean;
|
|
3215
|
+
};
|
|
3216
|
+
/** @example <TwoColumnLayout supportingContent={<div>supporting content</div>}><h1>title</h1></TwoColumnLayout> */
|
|
3217
|
+
declare const TwoColumnLayout: ({ bgColor, invertLayout, supportingContent, children, }: TwoColumnLayoutProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3218
|
+
|
|
3219
|
+
declare const VerticalRhythm: ({ align, justify, tag, gap, children, ref, ...props }: RhythmProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3220
|
+
|
|
3221
|
+
type LimitsBarProps = {
|
|
3222
|
+
/** The current value of used limits */
|
|
3223
|
+
current: number;
|
|
3224
|
+
/** The maximum number of limits */
|
|
3225
|
+
max: number;
|
|
3226
|
+
/** @deprecated No longer used */
|
|
3227
|
+
label?: string;
|
|
3228
|
+
/** Optional popover content for info icon */
|
|
3229
|
+
popoverContent?: ReactNode;
|
|
3230
|
+
};
|
|
3231
|
+
/**
|
|
3232
|
+
* Uniform Limits Bar Component
|
|
3233
|
+
* @example <LimitsBar current={3} max={5} />
|
|
3234
|
+
*/
|
|
3235
|
+
declare const LimitsBar: ({ current, max, popoverContent }: LimitsBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3236
|
+
|
|
3237
|
+
type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
3238
|
+
/** sets the title field */
|
|
3239
|
+
title: string;
|
|
3240
|
+
/** (optional) sets react child component */
|
|
3241
|
+
children?: React$1.ReactNode;
|
|
3242
|
+
};
|
|
3243
|
+
declare const LinkList: ({ title, children, ...props }: LinkListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3244
|
+
|
|
3245
|
+
type ScrollableListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
3246
|
+
/** (optional) sets the label value */
|
|
3247
|
+
label?: string;
|
|
3248
|
+
/** (optional) allows users to add child components within the container */
|
|
3249
|
+
children?: React$1.ReactNode;
|
|
3250
|
+
};
|
|
3251
|
+
/**
|
|
3252
|
+
* Component that sets the base structure for scrollable content in a max height container
|
|
3253
|
+
* @example <ScrollableList label="allowed content types"><button>say hello</button></ScrollableList>
|
|
3254
|
+
*/
|
|
3255
|
+
declare const ScrollableList: ({ label, children, ...props }: ScrollableListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3256
|
+
|
|
3257
|
+
type ScrollableListContainerProps = {
|
|
3258
|
+
/** sets whether to show or hide the shadow around the element
|
|
3259
|
+
* @default 'false'
|
|
3260
|
+
*/
|
|
3261
|
+
disableShadow?: boolean;
|
|
3262
|
+
/** sets the active style of the button */
|
|
3263
|
+
active: boolean;
|
|
3264
|
+
};
|
|
3265
|
+
|
|
3266
|
+
type ScrollableItemProps = {
|
|
3267
|
+
/** sets an element within the label > span element */
|
|
3268
|
+
icon?: React.ReactElement;
|
|
3269
|
+
/**sets the label value */
|
|
3270
|
+
label: string | React.ReactElement;
|
|
3271
|
+
/** sets a data-testid on the label */
|
|
3272
|
+
labelTestId?: string;
|
|
3273
|
+
/** recommended to use a form input element of type radio or checkbox */
|
|
3274
|
+
children: React.ReactNode;
|
|
3275
|
+
} & ScrollableListContainerProps;
|
|
3276
|
+
/** @example <ScrollableListInputItem label="my label" active={true}><input type="radio" name="age" /></ScrollableListInputItem>*/
|
|
3277
|
+
declare const ScrollableListInputItem: ({ label, icon, active, disableShadow, children, labelTestId, ...props }: ScrollableItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3278
|
+
|
|
3279
|
+
type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3280
|
+
/** sets the button text value */
|
|
3281
|
+
buttonText: string;
|
|
3282
|
+
icon?: React$1.ReactElement;
|
|
3283
|
+
} & ScrollableListContainerProps;
|
|
3284
|
+
/**
|
|
3285
|
+
* Component used within <ScrollableList /> for adding interactive button components with predefined styles
|
|
3286
|
+
* @example <ScrollableListItem buttontext="my button" active={false} />
|
|
3287
|
+
*/
|
|
3288
|
+
declare const ScrollableListItem: ({ buttonText, icon, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3289
|
+
|
|
3290
|
+
type LoadingIndicatorProps = {
|
|
3291
|
+
color?: 'gray' | 'accent-alt';
|
|
3292
|
+
size?: 'lg' | 'sm';
|
|
3293
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, 'color'>;
|
|
3294
|
+
/**
|
|
3295
|
+
* Loading Indicator
|
|
3296
|
+
* @example <LoadingIndicator />
|
|
3297
|
+
*/
|
|
3298
|
+
declare const LoadingIndicator: ({ size, color, ...props }: LoadingIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3299
|
+
|
|
3300
|
+
interface LoadingOverlayProps {
|
|
3301
|
+
/** sets whether to display the loading overlay components */
|
|
3302
|
+
isActive: boolean;
|
|
3303
|
+
/** (optional) type that sets a text value or React component under the loading icon */
|
|
3304
|
+
statusMessage?: string | ReactNode;
|
|
3305
|
+
/** (optional) the z-index value of the overlay
|
|
3306
|
+
* @default 9999
|
|
3307
|
+
*/
|
|
3308
|
+
zIndex?: number;
|
|
3309
|
+
/** (optional) sets the width and height of the loader
|
|
3310
|
+
* @default 128
|
|
3311
|
+
*/
|
|
3312
|
+
loaderSize?: number;
|
|
3313
|
+
/** (optional) sets the loading overlay background color
|
|
3314
|
+
* @default 'var(--white)'
|
|
3315
|
+
*/
|
|
3316
|
+
overlayBackgroundColor?: 'transparent' | 'var(--white)';
|
|
3317
|
+
/** (optional) if set to true, the animation of the loading indicator is paused
|
|
3318
|
+
* @default false
|
|
3319
|
+
*/
|
|
3320
|
+
isPaused?: boolean;
|
|
3321
|
+
/** (optional) aligns the content of the overlay to the top instead of having it centered
|
|
3322
|
+
* @default false
|
|
3323
|
+
*/
|
|
3324
|
+
isTopAligned?: boolean;
|
|
3325
|
+
children?: React.ReactNode;
|
|
3326
|
+
/** (optional) sets the position of the overlay
|
|
3327
|
+
* @default 'absolute'
|
|
3328
|
+
*/
|
|
3329
|
+
position?: 'absolute' | 'fixed';
|
|
3330
|
+
}
|
|
3331
|
+
/**
|
|
3332
|
+
* Loading Overlay.
|
|
3333
|
+
* NOTE: the container/parent element must have a non-static `position` value for the overlay to work properly.
|
|
3334
|
+
* @example <LoadingOverlay isActive={true} statusMessage="Loading..." />
|
|
3335
|
+
*/
|
|
3336
|
+
declare const LoadingOverlay: ({ isActive, statusMessage, zIndex, loaderSize, overlayBackgroundColor, isTopAligned, isPaused, children, position, }: LoadingOverlayProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3337
|
+
interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
3338
|
+
/** (optional) prop that sets a number value for the height of the icon */
|
|
3339
|
+
width?: number;
|
|
3340
|
+
/** (optional) prop that sets a number value for the width of the icon */
|
|
3341
|
+
height?: number;
|
|
3342
|
+
}
|
|
3343
|
+
/**
|
|
3344
|
+
* Loading Icon
|
|
3345
|
+
* @example <LoadingIcon height={128} width={128} />
|
|
3346
|
+
*/
|
|
3347
|
+
declare const LoadingIcon: ({ height, width, ...props }: LoadingIconProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3348
|
+
|
|
3349
|
+
type ModalProps = {
|
|
3350
|
+
header?: React__default.ReactNode;
|
|
3351
|
+
children?: React__default.ReactNode;
|
|
3352
|
+
/**
|
|
3353
|
+
* Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked.
|
|
3354
|
+
* If undefined is passed, the modal will not be closable by the user and the close button will not be rendered.
|
|
3355
|
+
*/
|
|
3356
|
+
onRequestClose: (() => void) | undefined;
|
|
3357
|
+
/** The size sets the modal width to one of three options sm = 400px, md = 600px and lg = 800px
|
|
3358
|
+
* if a width attribute is used the size will be overridden by the width attribute
|
|
3359
|
+
* @default 'lg'
|
|
3360
|
+
*/
|
|
3361
|
+
modalSize?: 'sm' | 'md' | 'lg';
|
|
3362
|
+
/** A valid CSS width */
|
|
3363
|
+
width?: string;
|
|
3364
|
+
/** A valid CSS height */
|
|
3365
|
+
height?: string;
|
|
3366
|
+
/** Removes the default padding on the content wrapper */
|
|
3367
|
+
withoutContentPadding?: boolean;
|
|
3368
|
+
/** Removes the default background color of the content wrapper */
|
|
3369
|
+
withoutContentBackground?: boolean;
|
|
3370
|
+
/** Places buttons at the bottom of the modal */
|
|
3371
|
+
buttonGroup?: ReactNode;
|
|
3372
|
+
/**
|
|
3373
|
+
* Disables scrolling of the modal body if the content exceeds the height.
|
|
3374
|
+
* Can be required for modals that have comboboxes where the menu items are expected
|
|
3375
|
+
* to overflow the bounds of the modal.
|
|
3376
|
+
*/
|
|
3377
|
+
disableBodyScroll?: boolean;
|
|
3378
|
+
} & React__default.HTMLProps<HTMLDialogElement>;
|
|
3379
|
+
/**
|
|
3380
|
+
* A modal component to open a dialog with a backdrop that covers the whole page.
|
|
3381
|
+
* @example <Modal>Hello World</Modal>
|
|
3382
|
+
*/
|
|
3383
|
+
declare const Modal: React__default.ForwardRefExoticComponent<Omit<ModalProps, "ref"> & React__default.RefAttributes<HTMLDialogElement>>;
|
|
3384
|
+
|
|
3385
|
+
type ModalDialogProps = Omit<ModalProps, 'width'>;
|
|
3386
|
+
declare const ModalDialog: React$1.ForwardRefExoticComponent<Omit<ModalDialogProps, "ref"> & React$1.RefAttributes<HTMLDialogElement>>;
|
|
3387
|
+
|
|
3388
|
+
type ObjectGridContainerProps = {
|
|
3156
3389
|
/** The number of columns in the grid
|
|
3157
3390
|
* @default 3
|
|
3158
3391
|
* the expected values should follow css repeat() function values
|
|
@@ -3389,6 +3622,7 @@ type BaseParameterActionButtonProps = {
|
|
|
3389
3622
|
* If a React element is provided, it will be displayed as a tooltip.
|
|
3390
3623
|
*/
|
|
3391
3624
|
tooltip?: string | React__default.ReactNode;
|
|
3625
|
+
tooltipProps?: Partial<TooltipProps>;
|
|
3392
3626
|
/**
|
|
3393
3627
|
* The component to render the button as.
|
|
3394
3628
|
* There maybe a scenario where we want to render the button as a div
|
|
@@ -3407,7 +3641,7 @@ interface FilledVariant extends BaseParameterActionButtonProps {
|
|
|
3407
3641
|
inverted?: boolean;
|
|
3408
3642
|
}
|
|
3409
3643
|
type ParameterActionButtonProps = OutlineVariant | FilledVariant;
|
|
3410
|
-
declare const ParameterActionButton: ({ children, themeType, tooltip, renderAs, disabled, ...props }: ParameterActionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3644
|
+
declare const ParameterActionButton: ({ children, themeType, tooltip, tooltipProps, renderAs, disabled, ...props }: ParameterActionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3411
3645
|
|
|
3412
3646
|
type ParameterDrawerHeaderProps = {
|
|
3413
3647
|
title: string;
|
|
@@ -3496,6 +3730,44 @@ type ParameterLabelProps = HTMLAttributes<HTMLLabelElement> & {
|
|
|
3496
3730
|
/** @example <ParameterLabel id="my-label">my label</ParameterLabel> */
|
|
3497
3731
|
declare const ParameterLabel: ({ id, asSpan, children, testId, ...props }: ParameterLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3498
3732
|
|
|
3733
|
+
/** Extended option type that supports label-specific properties */
|
|
3734
|
+
type LabelOption = InputComboBoxOption & {
|
|
3735
|
+
/** The color variant for the label swatch */
|
|
3736
|
+
color?: SwatchVariant;
|
|
3737
|
+
/** Whether this option represents a group header */
|
|
3738
|
+
isGroup?: boolean;
|
|
3739
|
+
/** The parent group ID if this label belongs to a group */
|
|
3740
|
+
parent?: string;
|
|
3741
|
+
/** Tooltip content for the label */
|
|
3742
|
+
tooltip?: string | React.ReactElement;
|
|
3743
|
+
};
|
|
3744
|
+
type ParameterLabelsInnerProps = Pick<InputComboBoxProps<LabelOption, true>, 'options' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'isClearable' | 'isDisabled'> & {
|
|
3745
|
+
/** Callback when an item is removed from the selection */
|
|
3746
|
+
onItemRemoved?: (id: string) => void;
|
|
3747
|
+
/** Callback when a new label is created */
|
|
3748
|
+
onCreateLabel?: (label: string) => void;
|
|
3749
|
+
/** Override the text displayed on the filter button */
|
|
3750
|
+
buttonText?: string;
|
|
3751
|
+
/** Override the text displayed on the add button */
|
|
3752
|
+
addButtonText?: string | null;
|
|
3753
|
+
/** the function to call when the quick filter is opened */
|
|
3754
|
+
onOpen?: () => void;
|
|
3755
|
+
/** the function to call when the quick filter is closed */
|
|
3756
|
+
onClose?: () => void;
|
|
3757
|
+
/** The maximum number of labels that can be selected */
|
|
3758
|
+
maxCount?: number;
|
|
3759
|
+
};
|
|
3760
|
+
type ParameterLabelsProps = CommonParameterInputProps & ParameterLabelsInnerProps & {
|
|
3761
|
+
disabled?: boolean;
|
|
3762
|
+
};
|
|
3763
|
+
/**
|
|
3764
|
+
* A parameter input component for selecting multiple labels with swatch colors.
|
|
3765
|
+
* Supports grouped labels with nested menus.
|
|
3766
|
+
* @example <ParameterLabels id="labels" label="Labels" options={[]} value={[]} onChange={() => {}} />
|
|
3767
|
+
*/
|
|
3768
|
+
declare const ParameterLabels: ({ disabled, ...props }: ParameterLabelsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3769
|
+
declare const ParameterLabelsInner: (props: ParameterLabelsInnerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3770
|
+
|
|
3499
3771
|
type ParameterLinkProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
3500
3772
|
/** (optional) sets the button text when value is empty
|
|
3501
3773
|
* @default 'Configure link'
|
|
@@ -3900,7 +4172,9 @@ declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hid
|
|
|
3900
4172
|
declare const ParameterShellPlaceholder: ({ children }: {
|
|
3901
4173
|
children?: ReactNode;
|
|
3902
4174
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3903
|
-
declare const ParameterOverrideMarker: (props: HTMLAttributes<HTMLButtonElement>
|
|
4175
|
+
declare const ParameterOverrideMarker: (props: HTMLAttributes<HTMLButtonElement> & {
|
|
4176
|
+
tooltipProps?: Partial<TooltipProps>;
|
|
4177
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3904
4178
|
|
|
3905
4179
|
type ParameterTextareaProps = CommonParameterInputProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
3906
4180
|
/** @example <ParameterTextarea label="label value" id="my-textarea" /> */
|
|
@@ -4052,6 +4326,111 @@ type ProgressListItem<IdType extends string = string> = {
|
|
|
4052
4326
|
};
|
|
4053
4327
|
declare const ProgressListItem: ({ children, status, error, errorLevel, autoEllipsis, }: ProgressListItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
4054
4328
|
|
|
4329
|
+
type QuickFilterSelectedItem = {
|
|
4330
|
+
/** Unique identifier for the selected item */
|
|
4331
|
+
id: string;
|
|
4332
|
+
/** Display name for the selected item */
|
|
4333
|
+
name: string;
|
|
4334
|
+
/** Optional swatch variant color */
|
|
4335
|
+
variant?: SwatchVariant | string;
|
|
4336
|
+
/** The tooltip to display inside the selected item */
|
|
4337
|
+
tooltip?: string | React.ReactElement;
|
|
4338
|
+
/** Optional icon to display on the left of the selected item */
|
|
4339
|
+
icon?: IconType;
|
|
4340
|
+
};
|
|
4341
|
+
type QuickFilterProps = {
|
|
4342
|
+
/** the icon to display on the left of the quick filter */
|
|
4343
|
+
iconLeft?: IconType;
|
|
4344
|
+
/** the text to display on the quick filter */
|
|
4345
|
+
buttonText: string;
|
|
4346
|
+
/** the function to call when the quick filter is clicked */
|
|
4347
|
+
/** the size of the quick filter
|
|
4348
|
+
* @default 'sm'
|
|
4349
|
+
*/
|
|
4350
|
+
size?: ButtonSizeProps;
|
|
4351
|
+
/** the test id to use for the quick filter */
|
|
4352
|
+
testId?: string;
|
|
4353
|
+
/** the aria label to use for the quick filter */
|
|
4354
|
+
ariaLabel?: string;
|
|
4355
|
+
/** the children to display inside the quick filter */
|
|
4356
|
+
children: ReactNode;
|
|
4357
|
+
/** whether the quick filter is disabled */
|
|
4358
|
+
disabled?: boolean;
|
|
4359
|
+
/** the selected items to display inside the quick filter */
|
|
4360
|
+
selectedItems?: QuickFilterSelectedItem[];
|
|
4361
|
+
/** the function to call when the search term is changed */
|
|
4362
|
+
onSearchTermChanged: (searchTerm: string) => void;
|
|
4363
|
+
/** addButtonText to use for the add button
|
|
4364
|
+
* @default 'Add'
|
|
4365
|
+
*/
|
|
4366
|
+
addButtonText?: string | null;
|
|
4367
|
+
/** the css to use for the swatch colors
|
|
4368
|
+
* @default swatchColors from the Swatch component
|
|
4369
|
+
*/
|
|
4370
|
+
swatchColorsCss?: SerializedStyles;
|
|
4371
|
+
/** the function to call when an item is removed */
|
|
4372
|
+
onItemRemoved?: (id: string) => void;
|
|
4373
|
+
/** the total number of results */
|
|
4374
|
+
totalResults: number;
|
|
4375
|
+
/** the maximum height of the menu
|
|
4376
|
+
* @default '320px'
|
|
4377
|
+
*/
|
|
4378
|
+
maxMenuHeight?: string;
|
|
4379
|
+
/** the maximum number of results to display
|
|
4380
|
+
* @default 5
|
|
4381
|
+
*/
|
|
4382
|
+
maxCount?: number;
|
|
4383
|
+
/** the css to use for the container
|
|
4384
|
+
* @default swatchColors from the Swatch component
|
|
4385
|
+
*/
|
|
4386
|
+
containerCss?: SerializedStyles;
|
|
4387
|
+
/** Render function for displaying selected items. Receives selectedItems and onItemRemoved.
|
|
4388
|
+
* @default Renders SwatchLabel components
|
|
4389
|
+
*/
|
|
4390
|
+
resultsComponent?: (props: {
|
|
4391
|
+
selectedItems: QuickFilterSelectedItem[];
|
|
4392
|
+
onItemRemoved?: (id: string) => void;
|
|
4393
|
+
}) => ReactNode;
|
|
4394
|
+
/** the message to display when there are no results
|
|
4395
|
+
* @default ''
|
|
4396
|
+
*/
|
|
4397
|
+
hasNoResultsMessage?: string;
|
|
4398
|
+
/** the placeholder text to display in the search input
|
|
4399
|
+
* @default 'Search...'
|
|
4400
|
+
*/
|
|
4401
|
+
searchPlaceholderText?: string;
|
|
4402
|
+
/**
|
|
4403
|
+
* The maximum width of the quick filter container.
|
|
4404
|
+
* Useful for controlling the maximum width of the filter in different layouts (e.g., responsive sidebars).
|
|
4405
|
+
* @default '4rem'
|
|
4406
|
+
*/
|
|
4407
|
+
maxContainerSize?: string;
|
|
4408
|
+
/** the icon to display on the left of the quick filter when collapsed */
|
|
4409
|
+
collapsedIcon?: IconType;
|
|
4410
|
+
/** the function to call when the quick filter is opened */
|
|
4411
|
+
onOpen?: () => void;
|
|
4412
|
+
/** the function to call when the quick filter is closed */
|
|
4413
|
+
onClose?: () => void;
|
|
4414
|
+
/**
|
|
4415
|
+
* Override the Ariakit placement of the dropdown menu.
|
|
4416
|
+
* @default 'right-start'
|
|
4417
|
+
*/
|
|
4418
|
+
menuPlacement?: MenuProps['placement'];
|
|
4419
|
+
/**
|
|
4420
|
+
* Override the Ariakit getAnchorRect for custom menu anchor positioning.
|
|
4421
|
+
* Pass `null` to disable the built-in default and use standard Ariakit positioning.
|
|
4422
|
+
* @default Anchors to the container's right edge
|
|
4423
|
+
*/
|
|
4424
|
+
menuGetAnchorRect?: MenuProps['getAnchorRect'] | null;
|
|
4425
|
+
/**
|
|
4426
|
+
* Override the Ariakit updatePosition to control when the menu repositions.
|
|
4427
|
+
* Pass `null` to disable the built-in default (position freezing) and allow normal repositioning.
|
|
4428
|
+
* @default Freezes position after initial placement
|
|
4429
|
+
*/
|
|
4430
|
+
menuUpdatePosition?: MenuProps['updatePosition'] | null;
|
|
4431
|
+
};
|
|
4432
|
+
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, }: QuickFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
4433
|
+
|
|
4055
4434
|
type SegmentedControlOption<TValue extends string = string> = {
|
|
4056
4435
|
value: TValue;
|
|
4057
4436
|
label?: string;
|
|
@@ -4121,6 +4500,114 @@ declare const Spinner: ({ width, label, isPaused, }: {
|
|
|
4121
4500
|
isPaused?: boolean;
|
|
4122
4501
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
4123
4502
|
|
|
4503
|
+
/** The direction of a step transition, determining which slide animation to play. */
|
|
4504
|
+
type StackedModalDirection = 'forward' | 'backward';
|
|
4505
|
+
/** The full navigation state exposed by the `useStackedModal` hook. */
|
|
4506
|
+
type StackedModalContextValue = {
|
|
4507
|
+
/** The zero-indexed active step. */
|
|
4508
|
+
currentStep: number;
|
|
4509
|
+
/** The total number of steps. */
|
|
4510
|
+
totalSteps: number;
|
|
4511
|
+
/** The direction of the last navigation, used to drive slide animations. */
|
|
4512
|
+
direction: StackedModalDirection;
|
|
4513
|
+
/** The zero-indexed step that was active before the last navigation. Used internally for animation. */
|
|
4514
|
+
previousStep: number;
|
|
4515
|
+
/** Navigate to the next step. No-op if already on the last step. */
|
|
4516
|
+
nextStep: () => void;
|
|
4517
|
+
/** Navigate to the previous step. No-op if already on the first step. */
|
|
4518
|
+
goBack: () => void;
|
|
4519
|
+
/** Navigate to a specific step by index. */
|
|
4520
|
+
goToStep: (index: number) => void;
|
|
4521
|
+
};
|
|
4522
|
+
/**
|
|
4523
|
+
* Hook to access the stacked modal navigation context.
|
|
4524
|
+
* Provides the current step, total steps, navigation direction, and functions to navigate between steps.
|
|
4525
|
+
*
|
|
4526
|
+
* @throws If used outside of a `<StackedModal>` component tree.
|
|
4527
|
+
*/
|
|
4528
|
+
declare function useStackedModal(): StackedModalContextValue;
|
|
4529
|
+
/** The semantic transition state for a single step, derived from the navigation context. */
|
|
4530
|
+
type StepTransitionState = {
|
|
4531
|
+
/** Whether this step is the currently visible step. */
|
|
4532
|
+
isActive: boolean;
|
|
4533
|
+
/** Whether this step is animating out after being replaced by a new active step. */
|
|
4534
|
+
isExiting: boolean;
|
|
4535
|
+
/** Whether the modal is idle (no transition in progress). True on initial render and after animations complete. */
|
|
4536
|
+
isIdle: boolean;
|
|
4537
|
+
/** The direction of the current or most recent transition. */
|
|
4538
|
+
direction: StackedModalDirection;
|
|
4539
|
+
};
|
|
4540
|
+
|
|
4541
|
+
type StackedModalProps = {
|
|
4542
|
+
/** The step content. Each child should be a `StackedModalStep` component. */
|
|
4543
|
+
children: ReactNode;
|
|
4544
|
+
/**
|
|
4545
|
+
* Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked.
|
|
4546
|
+
* If undefined is passed, the modal will not be closable by the user and the close button will not be rendered.
|
|
4547
|
+
*/
|
|
4548
|
+
onRequestClose: ModalProps['onRequestClose'];
|
|
4549
|
+
/**
|
|
4550
|
+
* The size sets the modal width to one of three options sm = 400px, md = 600px and lg = 800px.
|
|
4551
|
+
* If a width attribute is used the size will be overridden by the width attribute.
|
|
4552
|
+
* @default 'lg'
|
|
4553
|
+
*/
|
|
4554
|
+
modalSize?: ModalProps['modalSize'];
|
|
4555
|
+
/** A valid CSS width. Overrides `modalSize` when provided. */
|
|
4556
|
+
width?: string;
|
|
4557
|
+
/** A valid CSS height. */
|
|
4558
|
+
height?: string;
|
|
4559
|
+
/**
|
|
4560
|
+
* The zero-indexed step to display initially.
|
|
4561
|
+
* @default 0
|
|
4562
|
+
*/
|
|
4563
|
+
initialStep?: number;
|
|
4564
|
+
};
|
|
4565
|
+
/**
|
|
4566
|
+
* A modal component that supports multi-step content with sliding transitions.
|
|
4567
|
+
* Each child should be a `StackedModalStep` component that defines its own header,
|
|
4568
|
+
* content, and button group.
|
|
4569
|
+
*
|
|
4570
|
+
* Use the `useStackedModal` hook inside step content to navigate between steps.
|
|
4571
|
+
*
|
|
4572
|
+
* @example
|
|
4573
|
+
* <StackedModal onRequestClose={handleClose} modalSize="lg">
|
|
4574
|
+
* <StackedModalStep header="Step 1" buttonGroup={<Buttons />}>
|
|
4575
|
+
* <StepOneContent />
|
|
4576
|
+
* </StackedModalStep>
|
|
4577
|
+
* <StackedModalStep header="Step 2" buttonGroup={<Buttons />}>
|
|
4578
|
+
* <StepTwoContent />
|
|
4579
|
+
* </StackedModalStep>
|
|
4580
|
+
* </StackedModal>
|
|
4581
|
+
*/
|
|
4582
|
+
declare const StackedModal: React__default.ForwardRefExoticComponent<StackedModalProps & React__default.RefAttributes<HTMLDialogElement>>;
|
|
4583
|
+
|
|
4584
|
+
/** Props for a single step within a `StackedModal`. */
|
|
4585
|
+
type StackedModalStepProps = {
|
|
4586
|
+
/**
|
|
4587
|
+
* Header content displayed in the modal's header row, inline with the close icon.
|
|
4588
|
+
* This prop is extracted by the parent `StackedModal` and rendered in the
|
|
4589
|
+
* modal chrome -- it is **not** rendered by `StackedModalStep` itself.
|
|
4590
|
+
*/
|
|
4591
|
+
header?: ReactNode;
|
|
4592
|
+
/** Optional button group rendered at the bottom of the step, typically navigation or submit buttons. */
|
|
4593
|
+
buttonGroup?: ReactNode;
|
|
4594
|
+
/** The main body content of the step. */
|
|
4595
|
+
children: ReactNode;
|
|
4596
|
+
};
|
|
4597
|
+
/**
|
|
4598
|
+
* Defines a single step inside a `StackedModal`.
|
|
4599
|
+
*
|
|
4600
|
+
* Renders a scrollable content area and an optional bottom button group.
|
|
4601
|
+
* The `header` prop is read by the parent `StackedModal` and displayed in the
|
|
4602
|
+
* modal header row with a matching slide animation.
|
|
4603
|
+
*
|
|
4604
|
+
* @example
|
|
4605
|
+
* <StackedModalStep header="Account details" buttonGroup={<Button>Next</Button>}>
|
|
4606
|
+
* <FormFields />
|
|
4607
|
+
* </StackedModalStep>
|
|
4608
|
+
*/
|
|
4609
|
+
declare function StackedModalStep({ children, buttonGroup }: StackedModalStepProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
4610
|
+
|
|
4124
4611
|
type SwitchProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
|
|
4125
4612
|
/** sets the label value */
|
|
4126
4613
|
label: ReactNode;
|
|
@@ -4536,4 +5023,4 @@ declare const StatusBullet: ({ status, hideText, size, message, compact, ...prop
|
|
|
4536
5023
|
|
|
4537
5024
|
declare const actionBarVisibilityStyles: _emotion_react.SerializedStyles;
|
|
4538
5025
|
|
|
4539
|
-
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, 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, 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 };
|
|
5026
|
+
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 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 };
|