@uniformdev/design-system 19.69.0 → 19.71.1-alpha.103
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 +1076 -785
- package/dist/index.d.mts +100 -54
- package/dist/index.d.ts +100 -54
- package/dist/index.js +1454 -1160
- package/package.json +13 -11
package/dist/index.d.ts
CHANGED
|
@@ -7,21 +7,21 @@ import * as _emotion_react from '@emotion/react';
|
|
|
7
7
|
import { SerializedStyles } from '@emotion/react';
|
|
8
8
|
import { LottieComponentProps } from 'lottie-react';
|
|
9
9
|
import { ButtonProps as ButtonProps$1 } from 'reakit/Button';
|
|
10
|
-
import { MenuProps as MenuProps$1
|
|
10
|
+
import { MenuProps as MenuProps$1 } from 'reakit';
|
|
11
11
|
import * as _react_icons_all_files_lib from '@react-icons/all-files/lib';
|
|
12
12
|
import { IconType as IconType$1, IconBaseProps } from '@react-icons/all-files/lib';
|
|
13
13
|
import * as _react_icons_all_files from '@react-icons/all-files';
|
|
14
14
|
import InternalSelect from 'react-select/dist/declarations/src/Select';
|
|
15
15
|
import { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
|
|
16
16
|
import { JsonSchema7Type } from 'zod-to-json-schema/src/parseDef';
|
|
17
|
-
import
|
|
17
|
+
import * as _ariakit_react from '@ariakit/react';
|
|
18
|
+
import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
|
|
18
19
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
19
20
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
20
21
|
export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
|
|
21
22
|
import { Spread, SerializedElementNode, ElementNode, NodeKey, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
|
|
22
23
|
import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popover';
|
|
23
24
|
import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
|
|
24
|
-
import { TabState, TabListProps, TabProps, TabPanelProps } from 'reakit/Tab';
|
|
25
25
|
import { TooltipOptions, TooltipInitialState } from 'reakit/Tooltip';
|
|
26
26
|
export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
|
|
27
27
|
|
|
@@ -21275,6 +21275,7 @@ type DescriptionListProps = {
|
|
|
21275
21275
|
label: string;
|
|
21276
21276
|
value: string | number | boolean | React__default.ReactNode;
|
|
21277
21277
|
}[];
|
|
21278
|
+
variant?: 'horizontal' | 'vertical';
|
|
21278
21279
|
} & React__default.HTMLAttributes<HTMLDListElement>;
|
|
21279
21280
|
/**
|
|
21280
21281
|
* A component to render a key-value list (uses <dl />, <dt /> and <dd /> under the hood).
|
|
@@ -21285,6 +21286,7 @@ declare const DescriptionList: React__default.ForwardRefExoticComponent<{
|
|
|
21285
21286
|
label: string;
|
|
21286
21287
|
value: string | number | boolean | React__default.ReactNode;
|
|
21287
21288
|
}[];
|
|
21289
|
+
variant?: "horizontal" | "vertical" | undefined;
|
|
21288
21290
|
} & React__default.HTMLAttributes<HTMLDListElement> & React__default.RefAttributes<HTMLDListElement>>;
|
|
21289
21291
|
|
|
21290
21292
|
type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
|
|
@@ -21298,9 +21300,19 @@ type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
|
|
|
21298
21300
|
* @default false
|
|
21299
21301
|
*/
|
|
21300
21302
|
isOpenByDefault?: boolean;
|
|
21303
|
+
/** Makes the content indented, and shows an indent guide line.
|
|
21304
|
+
* @default false
|
|
21305
|
+
* @deprecated this prop is in beta, and might get breaking changes in minor releases.
|
|
21306
|
+
*/
|
|
21307
|
+
isIndented?: boolean;
|
|
21308
|
+
/** Makes the the UI of the summary more compact, by removing the paddings.
|
|
21309
|
+
* @default false
|
|
21310
|
+
* @deprecated this prop is in beta, and might get breaking changes in minor releases.
|
|
21311
|
+
*/
|
|
21312
|
+
isCompact?: boolean;
|
|
21301
21313
|
};
|
|
21302
21314
|
/** @example <Details summary="summary text">child content here</Details>*/
|
|
21303
|
-
declare const Details: ({ summary, children, isOpenByDefault, isOpen, onChange, ...props }: DetailsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21315
|
+
declare const Details: ({ summary, children, isOpenByDefault, isOpen, isIndented, isCompact, onChange, ...props }: DetailsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21304
21316
|
|
|
21305
21317
|
interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
21306
21318
|
/** The ID of the stack to render. Some drawers need to use the same stack ID to be rendered here */
|
|
@@ -21391,9 +21403,13 @@ type DrawersRegistryRecord = DrawerItem & {
|
|
|
21391
21403
|
};
|
|
21392
21404
|
type DrawerContextValue = {
|
|
21393
21405
|
providerId: string;
|
|
21406
|
+
/** Render all drawers inside ref, used for complex modals */
|
|
21394
21407
|
drawersRegistry: DrawersRegistryRecord[];
|
|
21395
21408
|
registerDrawer: (props: RegisterDrawerProps) => void;
|
|
21396
21409
|
unregisterDrawer: (drawerId: Pick<DrawerItem, 'id' | 'stackId' | 'instanceKey'>) => void;
|
|
21410
|
+
drawerTakeoverStackId?: string;
|
|
21411
|
+
registerTakeoverStackId: (stackId: string) => void;
|
|
21412
|
+
unregisterTakeoverStackId: (stackId: string) => void;
|
|
21397
21413
|
};
|
|
21398
21414
|
/**
|
|
21399
21415
|
* Provides the context to the Drawer and DrawerRenderer components.
|
|
@@ -21437,6 +21453,11 @@ type DrawerContentProps = {
|
|
|
21437
21453
|
} & HTMLAttributes<HTMLDivElement>;
|
|
21438
21454
|
declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21439
21455
|
|
|
21456
|
+
declare const TAKEOVER_STACK_ID = "takeover-stack";
|
|
21457
|
+
declare const TakeoverDrawerRenderer: (props: Omit<DrawerRendererProps, 'stackId'> & {
|
|
21458
|
+
stackId?: string;
|
|
21459
|
+
}) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21460
|
+
|
|
21440
21461
|
interface IconButtonProps extends Omit<ButtonProps, 'size'> {
|
|
21441
21462
|
variant?: 'square' | 'rounded';
|
|
21442
21463
|
/** Style for the larger sizes have not been decided yet */
|
|
@@ -21494,12 +21515,18 @@ type ErrorMessageProps = {
|
|
|
21494
21515
|
/** sets the test id for test automation (optional) */
|
|
21495
21516
|
testId?: string;
|
|
21496
21517
|
className?: string;
|
|
21518
|
+
/**
|
|
21519
|
+
* When set to true, the error message will be truncated instead of wrapped
|
|
21520
|
+
* when it's longer than the available width.
|
|
21521
|
+
* @default false
|
|
21522
|
+
**/
|
|
21523
|
+
truncated?: boolean;
|
|
21497
21524
|
};
|
|
21498
21525
|
/**
|
|
21499
21526
|
* Component that provides error messaging to input fields
|
|
21500
21527
|
* @example <ErrorMessage>something went wrong, please try again</ErrorMessage>
|
|
21501
21528
|
*/
|
|
21502
|
-
declare const ErrorMessage: ({ message, testId, ...otherProps }: ErrorMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
21529
|
+
declare const ErrorMessage: ({ message, testId, truncated, ...otherProps }: ErrorMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
21503
21530
|
|
|
21504
21531
|
type FieldsetProps = React$1.HTMLAttributes<HTMLFieldSetElement> & {
|
|
21505
21532
|
/** sets the legend value */
|
|
@@ -21939,6 +21966,8 @@ type RhythmProps = React.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> &
|
|
|
21939
21966
|
align?: CSSProperties['alignItems'];
|
|
21940
21967
|
justify?: CSSProperties['justifyContent'];
|
|
21941
21968
|
children: React.ReactNode;
|
|
21969
|
+
/** for use when fieldset is applied to the tag prop */
|
|
21970
|
+
disabled?: boolean;
|
|
21942
21971
|
};
|
|
21943
21972
|
|
|
21944
21973
|
type ContainerProps = CommonContainerProps & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -22092,13 +22121,18 @@ interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
|
22092
22121
|
*/
|
|
22093
22122
|
declare const LoadingIcon: ({ height, width, ...props }: LoadingIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22094
22123
|
|
|
22095
|
-
|
|
22096
|
-
|
|
22097
|
-
|
|
22124
|
+
declare const legacyPlacements: readonly ["auto", "auto-start", "auto-end"];
|
|
22125
|
+
type LegacyPlacement = (typeof legacyPlacements)[number];
|
|
22126
|
+
interface MenuProps extends MenuProps$2 {
|
|
22127
|
+
/**
|
|
22128
|
+
* sets aria-label attribute.
|
|
22129
|
+
* @deprecated Set the label directly on the `menuTrigger`
|
|
22130
|
+
*/
|
|
22131
|
+
menuLabel?: string;
|
|
22098
22132
|
/** the component that triggers the menu functionality */
|
|
22099
22133
|
menuTrigger: React$1.ReactElement & React$1.RefAttributes<any>;
|
|
22100
22134
|
/** (optional) reakit placements options for the expandable menu */
|
|
22101
|
-
placement?:
|
|
22135
|
+
placement?: MenuStoreProps['placement'] | LegacyPlacement;
|
|
22102
22136
|
/** (optional) allows users to set additional class names */
|
|
22103
22137
|
menuItemsContainerCssClasses?: SerializedStyles | string;
|
|
22104
22138
|
/** (optional) allows users to add child elements */
|
|
@@ -22106,6 +22140,7 @@ interface MenuProps extends MenuHTMLProps {
|
|
|
22106
22140
|
/**
|
|
22107
22141
|
* Overrides the visibility of the menu.
|
|
22108
22142
|
* When unset, visibility is owned by the menu. When a boolean, forces the menu visibility.
|
|
22143
|
+
* @deprecated use the `open` prop instead
|
|
22109
22144
|
*/
|
|
22110
22145
|
forceVisible?: boolean;
|
|
22111
22146
|
/**
|
|
@@ -22119,21 +22154,22 @@ interface MenuProps extends MenuHTMLProps {
|
|
|
22119
22154
|
* If you need to disable this functionality, set this prop to true.
|
|
22120
22155
|
*/
|
|
22121
22156
|
disableAutoSeparatorManagement?: boolean;
|
|
22122
|
-
/** sets whether to use a React portal rendering or not
|
|
22157
|
+
/** sets whether to use a React portal rendering or not.
|
|
22158
|
+
* @deprecated this prop was added to fix a bug with portal, this issue is now fixed, and we don't need this prop anymore.
|
|
22159
|
+
*/
|
|
22123
22160
|
withoutPortal?: boolean;
|
|
22124
22161
|
}
|
|
22125
|
-
declare const MenuContext: React$1.Context<MenuStateReturn>;
|
|
22126
|
-
declare const useMenuContext: () => MenuStateReturn | undefined;
|
|
22127
22162
|
/**
|
|
22128
22163
|
* Component used for creating clickable menus
|
|
22129
22164
|
* @example
|
|
22130
22165
|
* <Menu
|
|
22131
22166
|
* menuTrigger={<button type="button">Click me</button>}
|
|
22132
22167
|
* menuItemsContainerCssClasses="bg-white"
|
|
22133
|
-
*
|
|
22168
|
+
* >
|
|
22169
|
+
* <MenuItem>Item 1</MenuItem>
|
|
22134
22170
|
* </Menu>
|
|
22135
22171
|
*/
|
|
22136
|
-
declare const Menu:
|
|
22172
|
+
declare const Menu: React$1.ForwardRefExoticComponent<Omit<MenuProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
22137
22173
|
|
|
22138
22174
|
type MenuGroupProps = {
|
|
22139
22175
|
/** Title for the menu group. If undefined or an empty string, the group will render as normal menu */
|
|
@@ -22144,7 +22180,7 @@ type MenuGroupProps = {
|
|
|
22144
22180
|
declare const MenuGroup: ({ title, children }: MenuGroupProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22145
22181
|
|
|
22146
22182
|
type MenuItemTextThemeProps = 'base' | 'red';
|
|
22147
|
-
type MenuItemProps =
|
|
22183
|
+
type MenuItemProps = MenuItemProps$1 & {
|
|
22148
22184
|
/** sets child elements within the component */
|
|
22149
22185
|
children: ChildFunction | React$1.ReactNode;
|
|
22150
22186
|
/** (optional) set whether to hide the menu after a click action */
|
|
@@ -22163,12 +22199,19 @@ type MenuItemProps = MenuItemHTMLProps & {
|
|
|
22163
22199
|
*/
|
|
22164
22200
|
active?: boolean;
|
|
22165
22201
|
};
|
|
22166
|
-
type ChildFunction = (menuItemProps:
|
|
22202
|
+
type ChildFunction = (menuItemProps: MenuItemProps$1) => React$1.ReactElement | null;
|
|
22167
22203
|
/**
|
|
22168
22204
|
* MenuItem Component used along side <Menu /> component
|
|
22169
22205
|
* @example <MenuItem onClick={() => alert('menu item was clicked')} icon={<RedClose />}>Remove Link</MenuItem>
|
|
22170
22206
|
*/
|
|
22171
22207
|
declare const MenuItem: React$1.FC<MenuItemProps>;
|
|
22208
|
+
/**
|
|
22209
|
+
* MenuItem Component for headless use outside <Menu /> component
|
|
22210
|
+
* Use only if adapting Uniform menu item appearance to a non-ariakit menu.
|
|
22211
|
+
* This is required because ariakit does not let you use MenuItem outside of a Menu component.
|
|
22212
|
+
* @example <MenuItemInner onClick={() => alert('menu item was clicked')} icon={<RedClose />}>Remove Link</MenuItem>
|
|
22213
|
+
*/
|
|
22214
|
+
declare const MenuItemInner: React$1.FC<MenuItemProps>;
|
|
22172
22215
|
|
|
22173
22216
|
declare const MenuItemSeparator: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22174
22217
|
|
|
@@ -22192,33 +22235,27 @@ type ModalProps = {
|
|
|
22192
22235
|
width?: string;
|
|
22193
22236
|
/** A valid CSS height */
|
|
22194
22237
|
height?: string;
|
|
22195
|
-
/** The classname to set on the wrapper of the modal
|
|
22238
|
+
/** The classname to set on the wrapper of the modal.
|
|
22239
|
+
* @deprecated the dialog is not rendered inside a wrapper anymore.
|
|
22240
|
+
*/
|
|
22196
22241
|
wrapperClassName?: string;
|
|
22197
22242
|
/** Removes the default padding on the content wrapper */
|
|
22198
22243
|
withoutContentPadding?: boolean;
|
|
22199
22244
|
/** Places buttons at the bottom of the modal */
|
|
22200
22245
|
buttonGroup?: ReactNode;
|
|
22201
|
-
} & React__default.
|
|
22246
|
+
} & React__default.HTMLProps<HTMLDialogElement>;
|
|
22202
22247
|
/**
|
|
22203
22248
|
* A modal component to open a dialog with a backdrop that covers the whole page.
|
|
22204
22249
|
* @example <Modal>Hello World</Modal>
|
|
22205
22250
|
*/
|
|
22206
|
-
declare const Modal: React__default.ForwardRefExoticComponent<
|
|
22207
|
-
|
|
22208
|
-
|
|
22209
|
-
|
|
22210
|
-
|
|
22211
|
-
|
|
22212
|
-
|
|
22213
|
-
|
|
22214
|
-
height?: string | undefined;
|
|
22215
|
-
/** The classname to set on the wrapper of the modal */
|
|
22216
|
-
wrapperClassName?: string | undefined;
|
|
22217
|
-
/** Removes the default padding on the content wrapper */
|
|
22218
|
-
withoutContentPadding?: boolean | undefined;
|
|
22219
|
-
/** Places buttons at the bottom of the modal */
|
|
22220
|
-
buttonGroup?: ReactNode;
|
|
22221
|
-
} & React__default.HTMLAttributes<HTMLDialogElement> & React__default.RefAttributes<HTMLDialogElement>>;
|
|
22251
|
+
declare const Modal: React__default.ForwardRefExoticComponent<Omit<ModalProps, "ref"> & React__default.RefAttributes<HTMLDialogElement>>;
|
|
22252
|
+
|
|
22253
|
+
declare function Pagination({ limit, offset, total, onPageChange, }: {
|
|
22254
|
+
limit: number;
|
|
22255
|
+
offset: number;
|
|
22256
|
+
total: number;
|
|
22257
|
+
onPageChange: (limit: number, offset: number) => void;
|
|
22258
|
+
}): _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
22222
22259
|
|
|
22223
22260
|
type CommonParameterProps = {
|
|
22224
22261
|
/** sets the label value */
|
|
@@ -22604,13 +22641,18 @@ type ParameterShellOverrideProps = {
|
|
|
22604
22641
|
* @deprecated
|
|
22605
22642
|
*/
|
|
22606
22643
|
onResetOverriddenValue?: () => void;
|
|
22644
|
+
/**
|
|
22645
|
+
* Adjusts the UI to work with parameter groups. At the moment, it just remove the white background.
|
|
22646
|
+
* @default false
|
|
22647
|
+
*/
|
|
22648
|
+
isParameterGroup?: boolean;
|
|
22607
22649
|
};
|
|
22608
22650
|
type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonParameterInputProps & ParameterShellOverrideProps;
|
|
22609
22651
|
/**
|
|
22610
22652
|
* Uniform Parameter shell component
|
|
22611
22653
|
* @example <ParameterShell label="my label" id="my-id"><ParameterInput onChange={() => {}} /></ParameterShell>
|
|
22612
22654
|
*/
|
|
22613
|
-
declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, actionItems, hasOverriddenValue, onResetOverriddenValue, title, children, ...props }: ParameterShellProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22655
|
+
declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, actionItems, hasOverriddenValue, onResetOverriddenValue, title, children, isParameterGroup, ...props }: ParameterShellProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22614
22656
|
declare const ParameterShellPlaceholder: ({ children }: {
|
|
22615
22657
|
children?: ReactNode;
|
|
22616
22658
|
}) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
@@ -22734,7 +22776,7 @@ type SegmentedControlProps<TValue extends string = string> = Omit<React__default
|
|
|
22734
22776
|
/** A unique name for the component, used to group the options */
|
|
22735
22777
|
name: string;
|
|
22736
22778
|
/** The options to show */
|
|
22737
|
-
options: SegmentedControlOption<TValue>
|
|
22779
|
+
options: Array<SegmentedControlOption<TValue> | undefined>;
|
|
22738
22780
|
/** The value of the option to be selected */
|
|
22739
22781
|
value?: TValue;
|
|
22740
22782
|
/** Called when the user selects a different option */
|
|
@@ -22866,27 +22908,30 @@ declare const TableRow: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedH
|
|
|
22866
22908
|
declare const TableCellHead: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
22867
22909
|
declare const TableCellData: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
22868
22910
|
|
|
22869
|
-
declare const useCurrentTab: () =>
|
|
22870
|
-
|
|
22911
|
+
declare const useCurrentTab: () => _ariakit_react.TabStore;
|
|
22912
|
+
type TabsProps<TTabName extends string = string> = {
|
|
22871
22913
|
children: React__default.ReactNode;
|
|
22872
|
-
selectedId?:
|
|
22914
|
+
selectedId?: TTabName;
|
|
22873
22915
|
manual?: boolean;
|
|
22874
|
-
orientation?:
|
|
22875
|
-
onSelectedIdChange?: (tabName:
|
|
22916
|
+
orientation?: TabStoreState['orientation'];
|
|
22917
|
+
onSelectedIdChange?: (tabName: TTabName | undefined) => void;
|
|
22918
|
+
/**
|
|
22919
|
+
* @deprecated you can control the route state on the application level.
|
|
22920
|
+
*/
|
|
22876
22921
|
useHashForState?: boolean;
|
|
22877
|
-
}
|
|
22878
|
-
declare const Tabs: ({ children, onSelectedIdChange, useHashForState, selectedId, ...props }: TabsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22922
|
+
};
|
|
22923
|
+
declare const Tabs: <TTabName extends string = string>({ children, onSelectedIdChange, useHashForState, selectedId, manual, ...props }: TabsProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22879
22924
|
declare const TabButtonGroup: ({ children, ...props }: Partial<TabListProps>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22880
|
-
|
|
22881
|
-
id:
|
|
22925
|
+
type TabButtonProps<TTabName extends string = string> = Partial<TabProps> & {
|
|
22926
|
+
id: TTabName;
|
|
22882
22927
|
children: React__default.ReactNode;
|
|
22883
|
-
}
|
|
22884
|
-
declare const TabButton: ({ children, id, ...props }: TabButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22885
|
-
|
|
22886
|
-
|
|
22928
|
+
};
|
|
22929
|
+
declare const TabButton: <TTabName extends string = string>({ children, id, ...props }: TabButtonProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22930
|
+
type TabContentProps<TTabName extends string = string> = Partial<TabPanelProps> & {
|
|
22931
|
+
tabId?: TTabName;
|
|
22887
22932
|
children: React__default.ReactNode;
|
|
22888
|
-
}
|
|
22889
|
-
declare const TabContent: ({ children, ...props }: TabContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22933
|
+
};
|
|
22934
|
+
declare const TabContent: <TTabName extends string = string>({ children, ...props }: TabContentProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22890
22935
|
|
|
22891
22936
|
type CreateTeamIntegrationTileProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
22892
22937
|
/** (optional) sets the title value
|
|
@@ -22996,8 +23041,9 @@ declare const ResolveIcon: ({ icon, name, styleType, ...props }: ResolveIconProp
|
|
|
22996
23041
|
type TileProps = {
|
|
22997
23042
|
children: ReactNode;
|
|
22998
23043
|
disabled?: boolean;
|
|
23044
|
+
isSelected?: boolean;
|
|
22999
23045
|
} & HtmlHTMLAttributes<HTMLButtonElement>;
|
|
23000
|
-
declare const Tile: ({ children, disabled, ...props }: TileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23046
|
+
declare const Tile: ({ children, disabled, isSelected, ...props }: TileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23001
23047
|
|
|
23002
23048
|
type TileContainerProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
|
|
23003
23049
|
/** sets the background colour of the outter container
|
|
@@ -23052,7 +23098,7 @@ type HeadingProps = {
|
|
|
23052
23098
|
*/
|
|
23053
23099
|
level?: LevelProps;
|
|
23054
23100
|
/** override the underlying html tag */
|
|
23055
|
-
as?:
|
|
23101
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'div';
|
|
23056
23102
|
/** sets whether to display a span with the defined heading styles
|
|
23057
23103
|
* @deprecated use as="span"
|
|
23058
23104
|
*/
|
|
@@ -23188,4 +23234,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23188
23234
|
};
|
|
23189
23235
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23190
23236
|
|
|
23191
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu,
|
|
23237
|
+
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, type ArrowPositionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, 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, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, Fieldset, type FieldsetProps, 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, InlineAlert, type InlineAlertProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, Modal, type ModalProps, MultilineChip, type MultilineChipProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, 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, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, type SkeletonProps, 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, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
|