@uniformdev/design-system 19.2.0 → 19.3.0
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 +1245 -1184
- package/dist/index.d.ts +257 -298
- package/dist/index.js +1340 -1278
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ declare const buttonRippleEffect: (props: {
|
|
|
76
76
|
activeColor?: string;
|
|
77
77
|
}) => _emotion_react.SerializedStyles;
|
|
78
78
|
declare const buttonPrimary: _emotion_react.SerializedStyles;
|
|
79
|
+
declare const buttonDestructive: _emotion_react.SerializedStyles;
|
|
79
80
|
declare const buttonSecondary: _emotion_react.SerializedStyles;
|
|
80
81
|
declare const buttonSecondaryInvert: _emotion_react.SerializedStyles;
|
|
81
82
|
declare const buttonPrimaryInvert: _emotion_react.SerializedStyles;
|
|
@@ -83,6 +84,7 @@ declare const buttonUnimportant: _emotion_react.SerializedStyles;
|
|
|
83
84
|
declare const buttonGhost: _emotion_react.SerializedStyles;
|
|
84
85
|
declare const buttonGhostDestructive: _emotion_react.SerializedStyles;
|
|
85
86
|
declare const buttonTertiary: _emotion_react.SerializedStyles;
|
|
87
|
+
declare const buttonGhostUnimportant: _emotion_react.SerializedStyles;
|
|
86
88
|
|
|
87
89
|
declare const labelText: _emotion_react.SerializedStyles;
|
|
88
90
|
declare const input: (whiteSpaceWrap: 'wrap' | 'nowrap') => _emotion_react.SerializedStyles;
|
|
@@ -146,7 +148,7 @@ type AddButtonProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'onC
|
|
|
146
148
|
*/
|
|
147
149
|
declare const AddButton: ({ buttonText, onClick, shortcut, macShortcut, ...props }: AddButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
148
150
|
|
|
149
|
-
type AddListButtonThemeProps = 'var(--brand-secondary-5)' | 'var(--
|
|
151
|
+
type AddListButtonThemeProps = 'var(--brand-secondary-5)' | 'var(--primary-action-default)';
|
|
150
152
|
type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
151
153
|
/** (optional) - sets the button text and title value
|
|
152
154
|
* @default 'Add Item'
|
|
@@ -20187,6 +20189,7 @@ type BadgeSizeProps = Record<SizeProps, SerializedStyles>;
|
|
|
20187
20189
|
/**
|
|
20188
20190
|
* Uniform Badge Component
|
|
20189
20191
|
* @example <Badge text="My badge" theme="success" size="base" />
|
|
20192
|
+
* @deprecated please use Chip component instead
|
|
20190
20193
|
*/
|
|
20191
20194
|
declare const Badge: ({ text, theme, size, uppercaseText, ...props }: BadgeProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20192
20195
|
|
|
@@ -20235,9 +20238,9 @@ declare const UniformBadge: ({ theme, ...props }: React__default.SVGAttributes<S
|
|
|
20235
20238
|
declare const UniformLogo: ({ theme, ...props }: UniformLogoProps & React.SVGAttributes<SVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20236
20239
|
|
|
20237
20240
|
/** Button themes that are available to use with our brand */
|
|
20238
|
-
type ButtonThemeProps$1 = 'primary' | 'secondary' | 'tertiary' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert';
|
|
20241
|
+
type ButtonThemeProps$1 = 'primary' | 'secondary' | 'destructive' | 'tertiary' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert' | 'ghostUnimportant';
|
|
20239
20242
|
/** Button sizes that are available to use with our brand */
|
|
20240
|
-
type ButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
20243
|
+
type ButtonSizeProps = 'zero' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
20241
20244
|
type ButtonProps = ButtonProps$1 & {
|
|
20242
20245
|
/** sets the theme of the button
|
|
20243
20246
|
* @default "primary"
|
|
@@ -20247,7 +20250,7 @@ type ButtonProps = ButtonProps$1 & {
|
|
|
20247
20250
|
children?: React$1.ReactNode;
|
|
20248
20251
|
/**
|
|
20249
20252
|
* @default "md"
|
|
20250
|
-
*
|
|
20253
|
+
* */
|
|
20251
20254
|
size?: ButtonSizeProps;
|
|
20252
20255
|
};
|
|
20253
20256
|
/**
|
|
@@ -20374,6 +20377,35 @@ declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...p
|
|
|
20374
20377
|
|
|
20375
20378
|
declare const LoadingCardSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20376
20379
|
|
|
20380
|
+
type ChipSizeProp = 'xs' | 'sm' | 'md';
|
|
20381
|
+
type ChipThemeProps = 'accent-light' | 'accent-dark' | 'neutral-light' | 'neutral-dark';
|
|
20382
|
+
type ChipProps = {
|
|
20383
|
+
icon?: IconType$1;
|
|
20384
|
+
text: string;
|
|
20385
|
+
/** sets the size of the chip
|
|
20386
|
+
* @default 'sm'
|
|
20387
|
+
*/
|
|
20388
|
+
theme?: ChipThemeProps;
|
|
20389
|
+
chipAction?: React$1.ReactNode;
|
|
20390
|
+
size?: ChipSizeProp;
|
|
20391
|
+
} & React$1.HTMLAttributes<HTMLSpanElement>;
|
|
20392
|
+
/**
|
|
20393
|
+
* @description Chips are used in a variety of ways
|
|
20394
|
+
* To represent tokens, where the value of the chip will be replaced with something dynamically.
|
|
20395
|
+
* To represent tags or important metadata about an object
|
|
20396
|
+
* To represent a different object, as a reference
|
|
20397
|
+
* @example <Chip text="productId" theme="accent-light" chipAction={<DismissibleChipAction onDismiss={() => {...}}/>} />
|
|
20398
|
+
*/
|
|
20399
|
+
declare const Chip: ({ icon, text, size, theme, chipAction, ...props }: ChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20400
|
+
type DismissibleChipActionProps = {
|
|
20401
|
+
onDismiss: () => void;
|
|
20402
|
+
} & HTMLAttributes<HTMLButtonElement>;
|
|
20403
|
+
/**
|
|
20404
|
+
* @description Dismissible chip action should be used with the Chip component
|
|
20405
|
+
* @example <DismissibleChipAction onDismiss={() => {...}}/>
|
|
20406
|
+
*/
|
|
20407
|
+
declare const DismissibleChipAction: ({ onDismiss, ...props }: DismissibleChipActionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20408
|
+
|
|
20377
20409
|
type CounterProps = {
|
|
20378
20410
|
/** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear. */
|
|
20379
20411
|
count: number | undefined;
|
|
@@ -20381,9 +20413,9 @@ type CounterProps = {
|
|
|
20381
20413
|
* @default 'transparent'
|
|
20382
20414
|
*/
|
|
20383
20415
|
bgColor?: 'var(--white)' | 'var(--gray-50)' | 'transparent';
|
|
20384
|
-
}
|
|
20416
|
+
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
20385
20417
|
/** @example <Counter count={1} /> */
|
|
20386
|
-
declare const Counter: ({ count, bgColor }: CounterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20418
|
+
declare const Counter: ({ count, bgColor, ...props }: CounterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20387
20419
|
|
|
20388
20420
|
type TextAlignProps = 'left' | 'right' | 'center';
|
|
20389
20421
|
type BoxHeightProps = 'auto' | 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -20499,8 +20531,10 @@ declare const iconNames: readonly ["add-r", "add", "airplane", "alarm", "album",
|
|
|
20499
20531
|
/** A list of available icon names that can be used with the Uniform brand */
|
|
20500
20532
|
type IconName = (typeof iconNames)[number];
|
|
20501
20533
|
|
|
20502
|
-
/** sets fill color of the svg icon
|
|
20503
|
-
|
|
20534
|
+
/** sets fill color of the svg icon
|
|
20535
|
+
* @default 'default'
|
|
20536
|
+
*/
|
|
20537
|
+
type IconColor = 'action' | 'default' | 'red' | 'gray' | 'currentColor';
|
|
20504
20538
|
/** sets the type of icon to use from the available list */
|
|
20505
20539
|
type IconType = IconName | IconType$1;
|
|
20506
20540
|
interface IconProps extends IconBaseProps {
|
|
@@ -20951,8 +20985,8 @@ declare const JsonEditor: ({ defaultValue, onChange, jsonSchema, height, readOnl
|
|
|
20951
20985
|
|
|
20952
20986
|
type SpacingProp = '0' | '2xs' | 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
20953
20987
|
type BackgroundColorProp = 'white' | 'gray-50' | 'gray-100' | 'gray-200' | 'gray-300' | 'gray-400' | 'gray-500' | 'gray-600' | 'gray-700' | 'gray-800' | 'gray-900';
|
|
20954
|
-
type HtmlTagProps = 'div' | 'section' | 'article' | 'aside';
|
|
20955
|
-
type BorderRadiusProps = 'rounded-sm' | '
|
|
20988
|
+
type HtmlTagProps = 'div' | 'section' | 'article' | 'aside' | 'span';
|
|
20989
|
+
type BorderRadiusProps = 'rounded-sm' | 'rounded-base' | 'rounded-md';
|
|
20956
20990
|
type CommonContainerProps = {
|
|
20957
20991
|
/** sets the background color of the element */
|
|
20958
20992
|
backgroundColor?: BackgroundColorProp;
|
|
@@ -20972,6 +21006,19 @@ type ContainerProps = CommonContainerProps & React$1.HTMLAttributes<HTMLDivEleme
|
|
|
20972
21006
|
};
|
|
20973
21007
|
declare const Container: ({ tag, backgroundColor, border, rounded, padding, margin, children, ...props }: ContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20974
21008
|
|
|
21009
|
+
type HorizontalRhythmProps = React$1.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> & {
|
|
21010
|
+
/** sets the wrapping html tag
|
|
21011
|
+
* @default 'div'
|
|
21012
|
+
*/
|
|
21013
|
+
tag?: HtmlTagProps | 'fieldset';
|
|
21014
|
+
/** sets the vertical spacing between each element
|
|
21015
|
+
* @default 'div'
|
|
21016
|
+
*/
|
|
21017
|
+
gap?: SpacingProp;
|
|
21018
|
+
children: React$1.ReactNode;
|
|
21019
|
+
};
|
|
21020
|
+
declare const HorizontalRhythm: ({ tag, gap, children, ...props }: HorizontalRhythmProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21021
|
+
|
|
20975
21022
|
type TwoColumnLayoutProps = {
|
|
20976
21023
|
/** sets the full bleed background colour
|
|
20977
21024
|
* @default 'var(--white)'
|
|
@@ -20995,7 +21042,7 @@ type VerticalRhythmProps = React$1.HTMLAttributes<HTMLDivElement | HTMLFieldSetE
|
|
|
20995
21042
|
*/
|
|
20996
21043
|
tag?: HtmlTagProps | 'fieldset';
|
|
20997
21044
|
/** sets the vertical spacing between each element
|
|
20998
|
-
* @default '
|
|
21045
|
+
* @default 'div'
|
|
20999
21046
|
*/
|
|
21000
21047
|
gap?: SpacingProp;
|
|
21001
21048
|
children: React$1.ReactNode;
|
|
@@ -21040,32 +21087,37 @@ type ScrollableListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
21040
21087
|
*/
|
|
21041
21088
|
declare const ScrollableList: ({ label, children, ...props }: ScrollableListProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21042
21089
|
|
|
21043
|
-
type
|
|
21090
|
+
type ScrollableListContainerProps = {
|
|
21091
|
+
/** sets whether to show or hide the shadow around the element
|
|
21092
|
+
* @default 'false'
|
|
21093
|
+
*/
|
|
21094
|
+
disableShadow?: boolean;
|
|
21095
|
+
/** sets the active style of the button */
|
|
21096
|
+
active: boolean;
|
|
21097
|
+
};
|
|
21098
|
+
|
|
21099
|
+
type ScrollableItemProps = {
|
|
21044
21100
|
/** sets an element within the label > span element */
|
|
21045
21101
|
icon?: React.ReactElement;
|
|
21046
21102
|
/**sets the label value */
|
|
21047
|
-
label: string;
|
|
21103
|
+
label: string | React.ReactElement;
|
|
21048
21104
|
/** sets a data-test-id on the label */
|
|
21049
21105
|
labelTestId?: string;
|
|
21050
|
-
/** sets the active style of the element */
|
|
21051
|
-
active: boolean;
|
|
21052
21106
|
/** recommended to use a form input element of type radio or checkbox */
|
|
21053
21107
|
children: React.ReactNode;
|
|
21054
|
-
};
|
|
21108
|
+
} & ScrollableListContainerProps;
|
|
21055
21109
|
/** @example <ScrollableListInputItem label="my label" active={true}><input type="radio" name="age" /></ScrollableListInputItem>*/
|
|
21056
|
-
declare const ScrollableListInputItem: ({ label, icon, active, children, labelTestId, }: ScrollableItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21110
|
+
declare const ScrollableListInputItem: ({ label, icon, active, disableShadow, children, labelTestId, ...props }: ScrollableItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21057
21111
|
|
|
21058
21112
|
type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
21059
21113
|
/** sets the button text value */
|
|
21060
21114
|
buttonText: string;
|
|
21061
|
-
|
|
21062
|
-
active: boolean;
|
|
21063
|
-
};
|
|
21115
|
+
} & ScrollableListContainerProps;
|
|
21064
21116
|
/**
|
|
21065
21117
|
* Component used within <ScrollableList /> for adding interactive button components with predefined styles
|
|
21066
21118
|
* @example <ScrollableListItem buttontext="my button" active={false} />
|
|
21067
21119
|
*/
|
|
21068
|
-
declare const ScrollableListItem: ({ buttonText, active, ...props }: ScrollableListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21120
|
+
declare const ScrollableListItem: ({ buttonText, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21069
21121
|
|
|
21070
21122
|
/**
|
|
21071
21123
|
* Loading Indicator
|
|
@@ -21197,280 +21249,6 @@ declare const HexModalBackground: ({ ...props }: HexModalBackgroundProps) => _em
|
|
|
21197
21249
|
*/
|
|
21198
21250
|
declare const IntegrationModalHeader: ({ icon, name, menu, children }: IntegrationModalHeaderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21199
21251
|
|
|
21200
|
-
/** Available heading weights e.g. 1 - 6 */
|
|
21201
|
-
type LevelProps = 1 | 2 | 3 | 4 | 5 | 6;
|
|
21202
|
-
type HeadingProps = {
|
|
21203
|
-
/** sets the type of heading tag between h1 to h6, defaults to <h2>
|
|
21204
|
-
* @default 2
|
|
21205
|
-
*/
|
|
21206
|
-
level?: LevelProps;
|
|
21207
|
-
/** sets whether to display a span with the defined heading styles
|
|
21208
|
-
* @default undefined
|
|
21209
|
-
*/
|
|
21210
|
-
asSpan?: boolean;
|
|
21211
|
-
/** sets the title value */
|
|
21212
|
-
children: React$1.ReactNode;
|
|
21213
|
-
/** (optional) sets whether to use the default margin for the heading element
|
|
21214
|
-
* @default true
|
|
21215
|
-
*/
|
|
21216
|
-
withMarginBottom?: boolean;
|
|
21217
|
-
} & React$1.HTMLAttributes<HTMLHeadingElement>;
|
|
21218
|
-
/**
|
|
21219
|
-
* Component that sets the heading tag
|
|
21220
|
-
* @example <Heading level={1}>Blog Post Title</Heading>
|
|
21221
|
-
*/
|
|
21222
|
-
declare const Heading: ({ level, asSpan, withMarginBottom, children, ...hAttributes }: HeadingProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21223
|
-
|
|
21224
|
-
type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
|
|
21225
|
-
/** sets the title text of the integration */
|
|
21226
|
-
title: string;
|
|
21227
|
-
/** sets the description text of the integration */
|
|
21228
|
-
description: string | string[];
|
|
21229
|
-
/** (optional) sets the icon of the integration */
|
|
21230
|
-
icon?: string | React$1.ComponentType<{
|
|
21231
|
-
className?: string;
|
|
21232
|
-
}>;
|
|
21233
|
-
/** (optional) sets the react child elements*/
|
|
21234
|
-
children?: React$1.ReactNode;
|
|
21235
|
-
/** (optional) sets an external link to documentation */
|
|
21236
|
-
docsLink?: string;
|
|
21237
|
-
/** (optional) sets the badge text of the integration */
|
|
21238
|
-
badgeText?: string;
|
|
21239
|
-
/** (optional) location for the menu options to be positioned */
|
|
21240
|
-
menu?: React$1.ReactNode;
|
|
21241
|
-
};
|
|
21242
|
-
/**
|
|
21243
|
-
* Uniform Integration Header Section Component
|
|
21244
|
-
* @Example <IntegrationHeaderSection title="custom integration" description="custom integration description text" />
|
|
21245
|
-
*/
|
|
21246
|
-
declare const IntegrationHeaderSection: ({ title, description, icon, docsLink, badgeText, menu, children, ...props }: IntegrationHeaderSectionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21247
|
-
|
|
21248
|
-
type LinkColorProps = 'currentColor' | 'red' | 'green';
|
|
21249
|
-
type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
21250
|
-
/** sets the link text and title text */
|
|
21251
|
-
text: string;
|
|
21252
|
-
/** (optional) sets the link color
|
|
21253
|
-
* @default 'currentColor'
|
|
21254
|
-
*/
|
|
21255
|
-
linkColor?: LinkColorProps;
|
|
21256
|
-
/** (optional) sets whether the link is external or not adding an icon to the link */
|
|
21257
|
-
external?: boolean;
|
|
21258
|
-
/** (optional) For supporting inside next/link component */
|
|
21259
|
-
ref?: React$1.ForwardedRef<HTMLAnchorElement>;
|
|
21260
|
-
/** (optional) sets react child elements */
|
|
21261
|
-
children?: React$1.ReactNode;
|
|
21262
|
-
};
|
|
21263
|
-
/** Uniform Link Component
|
|
21264
|
-
* @example <Link text="my link" href="#" />
|
|
21265
|
-
*/
|
|
21266
|
-
declare const Link: React$1.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
21267
|
-
type LinkManagerWithRefType = (props: Partial<LinkProps> & {
|
|
21268
|
-
as?: string;
|
|
21269
|
-
href: string;
|
|
21270
|
-
passHref: true;
|
|
21271
|
-
legacyBehavior?: boolean;
|
|
21272
|
-
} & React$1.RefAttributes<HTMLAnchorElement>) => JSX.Element | null;
|
|
21273
|
-
/** Uniform LinkWithRef Component
|
|
21274
|
-
* We recommend using this link `next/link`
|
|
21275
|
-
* @example <LinkWithRef linkManagerComponent={NextLink} href="some-url" text="my link" />
|
|
21276
|
-
*/
|
|
21277
|
-
declare const LinkWithRef: React$1.ForwardRefExoticComponent<Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
21278
|
-
/** sets the link text and title text */
|
|
21279
|
-
text: string;
|
|
21280
|
-
/** (optional) sets the link color
|
|
21281
|
-
* @default 'currentColor'
|
|
21282
|
-
*/
|
|
21283
|
-
linkColor?: LinkColorProps | undefined;
|
|
21284
|
-
/** (optional) sets whether the link is external or not adding an icon to the link */
|
|
21285
|
-
external?: boolean | undefined;
|
|
21286
|
-
/** (optional) For supporting inside next/link component */
|
|
21287
|
-
ref?: React$1.ForwardedRef<HTMLAnchorElement> | undefined;
|
|
21288
|
-
/** (optional) sets react child elements */
|
|
21289
|
-
children?: React$1.ReactNode;
|
|
21290
|
-
} & {
|
|
21291
|
-
href: string;
|
|
21292
|
-
as?: string | undefined;
|
|
21293
|
-
linkManagerComponent: LinkManagerWithRefType;
|
|
21294
|
-
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
21295
|
-
|
|
21296
|
-
interface RouteProps {
|
|
21297
|
-
as: string;
|
|
21298
|
-
href: string;
|
|
21299
|
-
}
|
|
21300
|
-
type PageHeaderSectionProps = React$1.HTMLAttributes<HTMLElement> & {
|
|
21301
|
-
title: string | undefined;
|
|
21302
|
-
desc?: React$1.ReactNode;
|
|
21303
|
-
children?: React$1.ReactNode;
|
|
21304
|
-
linkProps?: RouteProps;
|
|
21305
|
-
linkText?: string;
|
|
21306
|
-
level?: LevelProps;
|
|
21307
|
-
linkManagerComponent?: LinkManagerWithRefType;
|
|
21308
|
-
};
|
|
21309
|
-
declare const PageHeaderSection: ({ title, desc, children, linkText, level, linkProps, linkManagerComponent, ...htmlProps }: PageHeaderSectionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21310
|
-
|
|
21311
|
-
type ParagraphProps = {
|
|
21312
|
-
/** (optional) adds child elements to the paragraph tag */
|
|
21313
|
-
children?: React$1.ReactNode;
|
|
21314
|
-
/** (optional) sets raw html values */
|
|
21315
|
-
htmlContent?: string | string[];
|
|
21316
|
-
/** (optional) allows user to set overriding class names or emotion styles */
|
|
21317
|
-
className?: SerializedStyles | string;
|
|
21318
|
-
} & React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
21319
|
-
/**
|
|
21320
|
-
* Component for generic paragraph tags
|
|
21321
|
-
* @example <Paragraph>This is the text that was be inside the paragraph tag.</Paragraph>
|
|
21322
|
-
*/
|
|
21323
|
-
declare const Paragraph: ({ className, htmlContent, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21324
|
-
|
|
21325
|
-
type StatusTypeProps = 'Modified' | 'Unsaved' | 'Error' | 'Draft' | 'Published' | 'Orphan';
|
|
21326
|
-
type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
21327
|
-
/** sets the current status */
|
|
21328
|
-
status: StatusTypeProps;
|
|
21329
|
-
/** sets an overriding message */
|
|
21330
|
-
message?: string;
|
|
21331
|
-
/** sets whether to show or hide the status text
|
|
21332
|
-
* @default false
|
|
21333
|
-
*/
|
|
21334
|
-
hideText?: boolean;
|
|
21335
|
-
/** sets the size of the status message and icon
|
|
21336
|
-
* @default 'base'
|
|
21337
|
-
*/
|
|
21338
|
-
size?: 'sm' | 'base';
|
|
21339
|
-
};
|
|
21340
|
-
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21341
|
-
|
|
21342
|
-
type ObjectCompositionListItemProps = {
|
|
21343
|
-
/** sets the title value */
|
|
21344
|
-
title: string;
|
|
21345
|
-
/** sets the date value with date formatting */
|
|
21346
|
-
date: Date;
|
|
21347
|
-
/** sets the component name if present */
|
|
21348
|
-
componentName?: string;
|
|
21349
|
-
/** sets the icon to use if present */
|
|
21350
|
-
icon?: IconName;
|
|
21351
|
-
/** sets the publish status if present */
|
|
21352
|
-
publishStatus?: StatusTypeProps;
|
|
21353
|
-
/** sets the href value */
|
|
21354
|
-
href: string;
|
|
21355
|
-
/** sets the as value when using a link manager e.g. next/link */
|
|
21356
|
-
as?: string;
|
|
21357
|
-
/** sets the link manager component to use e.g. next/link */
|
|
21358
|
-
linkManagerComponent: LinkManagerWithRefType;
|
|
21359
|
-
} & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
21360
|
-
/**
|
|
21361
|
-
* @description used for displaying composition data on the project dashboard page
|
|
21362
|
-
* @example <ObjectCompositionListItem title="my title" date={new Date()} href="https://uniform.app" linkManagerComponent={NextLink} />
|
|
21363
|
-
*/
|
|
21364
|
-
declare const ObjectCompositionListItem: React$1.ForwardRefExoticComponent<{
|
|
21365
|
-
/** sets the title value */
|
|
21366
|
-
title: string;
|
|
21367
|
-
/** sets the date value with date formatting */
|
|
21368
|
-
date: Date;
|
|
21369
|
-
/** sets the component name if present */
|
|
21370
|
-
componentName?: string | undefined;
|
|
21371
|
-
/** sets the icon to use if present */
|
|
21372
|
-
icon?: "code" | "data" | "link" | "menu" | "select" | "style" | "template" | "time" | "track" | "image" | "key" | "search" | "repeat" | "anchor" | "close" | "copy" | "drop" | "server" | "shortcut" | "feed" | "list" | "presentation" | "tab" | "timer" | "tree" | "add-r" | "add" | "airplane" | "alarm" | "album" | "align-bottom" | "align-center" | "align-left" | "align-middle" | "align-right" | "align-top" | "apple-watch" | "arrange-back" | "arrange-front" | "arrow-align-h" | "arrow-align-v" | "arrow-bottom-left-o" | "arrow-bottom-left-r" | "arrow-bottom-left" | "arrow-bottom-right-o" | "arrow-bottom-right-r" | "arrow-bottom-right" | "arrow-down-o" | "arrow-down-r" | "arrow-down" | "arrow-left-o" | "arrow-left-r" | "arrow-left" | "arrow-long-down-c" | "arrow-long-down-e" | "arrow-long-down-l" | "arrow-long-down-r" | "arrow-long-down" | "arrow-long-left-c" | "arrow-long-left-e" | "arrow-long-left-l" | "arrow-long-left-r" | "arrow-long-left" | "arrow-long-right-c" | "arrow-long-right-e" | "arrow-long-right-l" | "arrow-long-right-r" | "arrow-long-right" | "arrow-long-up-c" | "arrow-long-up-e" | "arrow-long-up-l" | "arrow-long-up-r" | "arrow-long-up" | "arrow-right-o" | "arrow-right-r" | "arrow-right" | "arrow-top-left-o" | "arrow-top-left-r" | "arrow-top-left" | "arrow-top-right-o" | "arrow-top-right-r" | "arrow-top-right" | "arrow-up-o" | "arrow-up-r" | "arrow-up" | "arrows-breake-h" | "arrows-breake-v" | "arrows-exchange-alt-v" | "arrows-exchange-alt" | "arrows-exchange-v" | "arrows-exchange" | "arrows-expand-down-left" | "arrows-expand-down-right" | "arrows-expand-left-alt" | "arrows-expand-left" | "arrows-expand-right-alt" | "arrows-expand-right" | "arrows-expand-up-left" | "arrows-expand-up-right" | "arrows-h-alt" | "arrows-h" | "arrows-merge-alt-h" | "arrows-merge-alt-v" | "arrows-scroll-h" | "arrows-scroll-v" | "arrows-shrink-h" | "arrows-shrink-v" | "arrows-v-alt" | "arrows-v" | "assign" | "asterisk" | "attachment" | "attribution" | "awards" | "backspace" | "band-aid" | "battery-empty" | "battery-full" | "battery" | "bee" | "bell" | "bitbucket" | "block" | "board" | "bolt" | "bookmark" | "border-all" | "border-bottom" | "border-left" | "border-right" | "border-style-dashed" | "border-style-dotted" | "border-style-solid" | "border-top" | "bot" | "bowl" | "box" | "boy" | "briefcase" | "browse" | "browser" | "brush" | "bulb" | "c-plus-plus" | "calculator" | "calendar-dates" | "calendar-due" | "calendar-next" | "calendar-today" | "calendar-two" | "calendar" | "calibrate" | "camera" | "cap" | "captions" | "card-clubs" | "card-diamonds" | "card-hearts" | "card-spades" | "carousel" | "cast" | "chart" | "check-o" | "check-r" | "check" | "chevron-double-down-o" | "chevron-double-down-r" | "chevron-double-down" | "chevron-double-left-o" | "chevron-double-left-r" | "chevron-double-left" | "chevron-double-right-o" | "chevron-double-right-r" | "chevron-double-right" | "chevron-double-up-o" | "chevron-double-up-r" | "chevron-double-up" | "chevron-down-o" | "chevron-down-r" | "chevron-down" | "chevron-left-o" | "chevron-left-r" | "chevron-left" | "chevron-right-o" | "chevron-right-r" | "chevron-right" | "chevron-up-o" | "chevron-up-r" | "chevron-up" | "clapper-board" | "clipboard" | "close-o" | "close-r" | "cloud" | "code-slash" | "coffee" | "collage" | "color-bucket" | "color-picker" | "comment" | "community" | "components" | "compress-left" | "compress-right" | "compress-v" | "compress" | "controller" | "copyright" | "corner-double-down-left" | "corner-double-down-right" | "corner-double-left-down" | "corner-double-left-up" | "corner-double-right-down" | "corner-double-right-up" | "corner-double-up-left" | "corner-double-up-right" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "credit-card" | "crop" | "cross" | "crown" | "danger" | "dark-mode" | "database" | "debug" | "desktop" | "details-less" | "details-more" | "dialpad" | "dice-1" | "dice-2" | "dice-3" | "dice-4" | "dice-5" | "dice-6" | "disc" | "display-flex" | "display-fullwidth" | "display-grid" | "display-spacing" | "distribute-horizontal" | "distribute-vertical" | "dock-bottom" | "dock-left" | "dock-right" | "dock-window" | "dollar" | "drive" | "drop-invert" | "drop-opacity" | "duplicate" | "edit-black-point" | "edit-contrast" | "edit-exposure" | "edit-fade" | "edit-flip-h" | "edit-flip-v" | "edit-highlight" | "edit-markup" | "edit-mask" | "edit-noise" | "edit-shadows" | "edit-straight" | "edit-unmask" | "eject" | "enter" | "erase" | "ereader" | "ericsson" | "ethernet" | "euro" | "expand" | "export" | "extension-add" | "extension-alt" | "extension-remove" | "extension" | "external" | "eye-alt" | "eye" | "file-add" | "file-document" | "file-remove" | "file" | "film" | "filters" | "flag-alt" | "flag" | "folder-add" | "folder-remove" | "folder" | "font-height" | "font-spacing" | "format-bold" | "format-center" | "format-color" | "format-heading" | "format-indent-decrease" | "format-indent-increase" | "format-italic" | "format-justify" | "format-left" | "format-line-height" | "format-right" | "format-separator" | "format-slash" | "format-strike" | "format-text" | "format-underline" | "format-uppercase" | "games" | "gender-female" | "gender-male" | "ghost-character" | "gift" | "girl" | "git-branch" | "git-commit" | "git-fork" | "git-pull" | "glass-alt" | "glass" | "globe-alt" | "globe" | "gym" | "hashtag" | "headset" | "heart" | "home-alt" | "home-screen" | "home" | "icecream" | "import" | "inbox" | "infinity" | "info" | "inpicture" | "insert-after-o" | "insert-after-r" | "insert-after" | "insert-before-o" | "insert-before-r" | "insert-before" | "insights" | "internal" | "keyboard" | "keyhole" | "laptop" | "layout-grid-small" | "layout-grid" | "layout-list" | "layout-pin" | "list-tree" | "live-photo" | "loadbar-alt" | "loadbar-doc" | "loadbar-sound" | "loadbar" | "lock-unlock" | "lock" | "log-in" | "log-off" | "log-out" | "loupe" | "magnet" | "mail-forward" | "mail-open" | "mail-reply" | "mail" | "math-divide" | "math-equal" | "math-minus" | "math-percent" | "math-plus" | "maximize-alt" | "maximize" | "media-live" | "media-podcast" | "menu-boxed" | "menu-cake" | "menu-cheese" | "menu-grid-o" | "menu-grid-r" | "menu-hotdog" | "menu-left-alt" | "menu-left" | "menu-motion" | "menu-oreos" | "menu-right-alt" | "menu-right" | "menu-round" | "merge-horizontal" | "merge-vertical" | "mic" | "mini-player" | "minimize-alt" | "minimize" | "modem" | "moon" | "more-alt" | "more-o" | "more-r" | "more-vertical-alt" | "more-vertical-o" | "more-vertical-r" | "more-vertical" | "more" | "mouse" | "move-down" | "move-left" | "move-right" | "move-task" | "move-up" | "music-note" | "music-speaker" | "music" | "nametag" | "notes" | "notifications" | "options" | "organisation" | "password" | "path-back" | "path-crop" | "path-divide" | "path-exclude" | "path-front" | "path-intersect" | "path-outline" | "path-trim" | "path-unite" | "pen" | "pentagon-bottom-left" | "pentagon-bottom-right" | "pentagon-down" | "pentagon-left" | "pentagon-right" | "pentagon-top-left" | "pentagon-top-right" | "pentagon-up" | "performance" | "phone" | "photoscan" | "piano" | "pill" | "pin-alt" | "pin-bottom" | "pin-top" | "pin" | "play-backwards" | "play-button-o" | "play-button-r" | "play-button" | "play-forwards" | "play-list-add" | "play-list-check" | "play-list-remove" | "play-list-search" | "play-list" | "play-pause-o" | "play-pause-r" | "play-pause" | "play-stop-o" | "play-stop-r" | "play-stop" | "play-track-next-o" | "play-track-next-r" | "play-track-next" | "play-track-prev-o" | "play-track-prev-r" | "play-track-prev" | "plug" | "polaroid" | "poll" | "printer" | "profile" | "pull-clear" | "push-chevron-down-o" | "push-chevron-down-r" | "push-chevron-down" | "push-chevron-left-o" | "push-chevron-left-r" | "push-chevron-left" | "push-chevron-right-o" | "push-chevron-right-r" | "push-chevron-right" | "push-chevron-up-o" | "push-chevron-up-r" | "push-chevron-up" | "push-down" | "push-left" | "push-right" | "push-up" | "qr" | "quote-o" | "quote" | "radio-check" | "radio-checked" | "ratio" | "read" | "readme" | "record" | "redo" | "remote" | "remove-r" | "remove" | "rename" | "reorder" | "ring" | "row-first" | "row-last" | "ruler" | "sand-clock" | "scan" | "screen-mirror" | "screen-shot" | "screen-wide" | "screen" | "scroll-h" | "scroll-v" | "search-found" | "search-loading" | "select-o" | "select-r" | "shape-circle" | "shape-half-circle" | "shape-hexagon" | "shape-rhombus" | "shape-square" | "shape-triangle" | "shape-zigzag" | "share" | "shield" | "shopping-bag" | "shopping-cart" | "sidebar-open" | "sidebar-right" | "sidebar" | "signal" | "size" | "sleep" | "smart-home-boiler" | "smart-home-cooker" | "smart-home-heat" | "smart-home-light" | "smart-home-refrigerator" | "smart-home-wash-machine" | "smartphone-chip" | "smartphone-ram" | "smartphone-shake" | "smartphone" | "smile-mouth-open" | "smile-neutral" | "smile-no-mouth" | "smile-none" | "smile-sad" | "smile-upside" | "smile" | "software-download" | "software-upload" | "sort-az" | "sort-za" | "space-between-v" | "space-between" | "spinner-alt" | "spinner-two-alt" | "spinner-two" | "spinner" | "stack" | "stopwatch" | "stories" | "sun" | "support" | "swap-vertical" | "swap" | "sweden" | "swiss" | "sync" | "tag" | "tap-double" | "tap-single" | "tennis" | "terminal" | "terrain" | "thermometer" | "thermostat" | "tikcode" | "timelapse" | "today" | "toggle-off" | "toggle-on" | "toggle-square-off" | "toggle-square" | "toolbar-bottom" | "toolbar-left" | "toolbar-right" | "toolbar-top" | "toolbox" | "touchpad" | "transcript" | "trash-empty" | "trash" | "trees" | "trending-down" | "trending" | "trophy" | "tv" | "ui-kit" | "umbrella" | "unavailable" | "unblock" | "undo" | "unsplash" | "usb-c" | "usb" | "user-add" | "user-list" | "user-remove" | "user" | "view-cols" | "view-comfortable" | "view-day" | "view-grid" | "view-list" | "view-month" | "view-split" | "vinyl" | "voicemail-o" | "voicemail-r" | "voicemail" | "volume" | "webcam" | "website" | "work-alt" | "yinyang" | "zoom-in" | "zoom-out" | "rectangle-rounded" | "card" | "image-text" | "full-width-screen" | "text-input" | "number-input" | "canvas-alert" | "warning" | "settings" | undefined;
|
|
21373
|
-
/** sets the publish status if present */
|
|
21374
|
-
publishStatus?: StatusTypeProps | undefined;
|
|
21375
|
-
/** sets the href value */
|
|
21376
|
-
href: string;
|
|
21377
|
-
/** sets the as value when using a link manager e.g. next/link */
|
|
21378
|
-
as?: string | undefined;
|
|
21379
|
-
/** sets the link manager component to use e.g. next/link */
|
|
21380
|
-
linkManagerComponent: LinkManagerWithRefType;
|
|
21381
|
-
} & React$1.AnchorHTMLAttributes<HTMLAnchorElement> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
21382
|
-
|
|
21383
|
-
type SegmentedControlOption<TValue extends string = string> = {
|
|
21384
|
-
value: TValue;
|
|
21385
|
-
label?: string;
|
|
21386
|
-
icon?: IconType$1;
|
|
21387
|
-
tooltip?: string;
|
|
21388
|
-
disabled?: boolean;
|
|
21389
|
-
};
|
|
21390
|
-
type SegmentedControlProps<TValue extends string = string> = Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'> & {
|
|
21391
|
-
/** A unique name for the component, used to group the options */
|
|
21392
|
-
name: string;
|
|
21393
|
-
/** The options to show */
|
|
21394
|
-
options: SegmentedControlOption<TValue>[];
|
|
21395
|
-
/** The value of the option to be selected */
|
|
21396
|
-
value?: TValue;
|
|
21397
|
-
/** Called when the user selects a different option */
|
|
21398
|
-
onChange: (value: TValue) => void;
|
|
21399
|
-
/** Doesn't show a checkmark next to the selected item */
|
|
21400
|
-
noCheckmark?: boolean;
|
|
21401
|
-
/** Disables all the options */
|
|
21402
|
-
disabled?: boolean;
|
|
21403
|
-
/**
|
|
21404
|
-
* The orientation by which the items are rendered
|
|
21405
|
-
* @default 'horizontal'
|
|
21406
|
-
*/
|
|
21407
|
-
orientation?: 'horizontal' | 'vertical';
|
|
21408
|
-
/**
|
|
21409
|
-
* The size of the input
|
|
21410
|
-
* @default 'md'
|
|
21411
|
-
*/
|
|
21412
|
-
size?: 'sm' | 'md' | 'lg';
|
|
21413
|
-
};
|
|
21414
|
-
/**
|
|
21415
|
-
* Horizontal control with multiple segments. Can be used as a replacement of radio buttons.
|
|
21416
|
-
* @example <SegmentedControl name="mySegmentedControl" value={value} options={[{label: 'Option 1', value: 'option1',label: 'Option 2', value: 'option2'}]} onChange={setValue} />
|
|
21417
|
-
*/
|
|
21418
|
-
declare const SegmentedControl: <TValue extends string = string>({ name, options, value, onChange, noCheckmark, disabled, orientation, size, ...props }: SegmentedControlProps<TValue>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21419
|
-
|
|
21420
|
-
type ObjectListContainerProps = {
|
|
21421
|
-
/** sets the heading text
|
|
21422
|
-
* @default 'Recent Compositions'
|
|
21423
|
-
*/
|
|
21424
|
-
title?: string;
|
|
21425
|
-
/** sets the filter options */
|
|
21426
|
-
filterOptions: Array<SegmentedControlOption>;
|
|
21427
|
-
/** sets the current selected filter value */
|
|
21428
|
-
filterValue: string;
|
|
21429
|
-
/** sets the loading state */
|
|
21430
|
-
isLoading: boolean;
|
|
21431
|
-
/** sets the onChange function takes a string argument */
|
|
21432
|
-
onSetFilterOption: (value: string) => void;
|
|
21433
|
-
/** sets the list of data to render */
|
|
21434
|
-
list: Array<ObjectCompositionListItemProps>;
|
|
21435
|
-
/** allows different components to be passed as the results list item
|
|
21436
|
-
* @default 'ObjectCompositionListItem'
|
|
21437
|
-
*/
|
|
21438
|
-
resolveDefaultComponent?: (value: ObjectCompositionListItemProps) => React$1.ReactNode;
|
|
21439
|
-
/** sets the disabled state on the segmented control filter options */
|
|
21440
|
-
isDisabled?: boolean;
|
|
21441
|
-
/** sets whether to show or hide the controls */
|
|
21442
|
-
hideControls?: boolean;
|
|
21443
|
-
children?: React$1.ReactNode;
|
|
21444
|
-
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
21445
|
-
/**
|
|
21446
|
-
* @description
|
|
21447
|
-
* @example <ObjectListContainer
|
|
21448
|
-
*/
|
|
21449
|
-
declare const ObjectListContainer: ({ title, list, filterOptions, filterValue, isLoading, isDisabled, hideControls, onSetFilterOption, resolveDefaultComponent, children, ...props }: ObjectListContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21450
|
-
|
|
21451
|
-
declare const ObjectListItemLoadingSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21452
|
-
|
|
21453
|
-
type ObjectPersonalizationListItemProps = {
|
|
21454
|
-
title: string;
|
|
21455
|
-
id: string;
|
|
21456
|
-
date: Date;
|
|
21457
|
-
data: {
|
|
21458
|
-
[key: string]: string | number;
|
|
21459
|
-
};
|
|
21460
|
-
as?: string;
|
|
21461
|
-
linkManagerComponent: LinkManagerWithRefType;
|
|
21462
|
-
} & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
21463
|
-
declare const ObjectPersonalizationListItem: React$1.ForwardRefExoticComponent<{
|
|
21464
|
-
title: string;
|
|
21465
|
-
id: string;
|
|
21466
|
-
date: Date;
|
|
21467
|
-
data: {
|
|
21468
|
-
[key: string]: string | number;
|
|
21469
|
-
};
|
|
21470
|
-
as?: string | undefined;
|
|
21471
|
-
linkManagerComponent: LinkManagerWithRefType;
|
|
21472
|
-
} & React$1.AnchorHTMLAttributes<HTMLAnchorElement> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
21473
|
-
|
|
21474
21252
|
type ConnectToDataElementButtonProps = HTMLAttributes<HTMLButtonElement> & {
|
|
21475
21253
|
icon?: IconType;
|
|
21476
21254
|
iconColor?: IconColor;
|
|
@@ -21791,7 +21569,7 @@ declare const ParameterToggleInner: React$1.ForwardRefExoticComponent<React$1.In
|
|
|
21791
21569
|
type PopoverProps = PopoverProps$1 & {
|
|
21792
21570
|
/** sets the aria-controls and id value of the matching popover set */
|
|
21793
21571
|
/** sets the icon color
|
|
21794
|
-
* @default '
|
|
21572
|
+
* @default 'action'
|
|
21795
21573
|
*/
|
|
21796
21574
|
iconColor?: IconColor;
|
|
21797
21575
|
/** sets the icon type
|
|
@@ -21810,9 +21588,11 @@ type PopoverProps = PopoverProps$1 & {
|
|
|
21810
21588
|
* @default 'bottom'
|
|
21811
21589
|
*/
|
|
21812
21590
|
placement?: PopoverInitialState['placement'];
|
|
21591
|
+
/** sets a test id for e2e tests */
|
|
21592
|
+
testId?: string;
|
|
21813
21593
|
children: ReactNode;
|
|
21814
21594
|
};
|
|
21815
|
-
declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, children, }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21595
|
+
declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, children, }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21816
21596
|
|
|
21817
21597
|
type ProgressListItemStatus = 'completed' | 'inProgress' | 'queued';
|
|
21818
21598
|
type ProgressListProps = React__default.HTMLAttributes<HTMLOListElement> & {
|
|
@@ -21851,6 +21631,43 @@ type ProgressListItem<IdType extends string = string> = {
|
|
|
21851
21631
|
};
|
|
21852
21632
|
declare const ProgressListItem: ({ children, status, error, errorLevel, autoEllipsis, }: ProgressListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21853
21633
|
|
|
21634
|
+
type SegmentedControlOption<TValue extends string = string> = {
|
|
21635
|
+
value: TValue;
|
|
21636
|
+
label?: string;
|
|
21637
|
+
icon?: IconType$1;
|
|
21638
|
+
tooltip?: string;
|
|
21639
|
+
disabled?: boolean;
|
|
21640
|
+
};
|
|
21641
|
+
type SegmentedControlProps<TValue extends string = string> = Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'> & {
|
|
21642
|
+
/** A unique name for the component, used to group the options */
|
|
21643
|
+
name: string;
|
|
21644
|
+
/** The options to show */
|
|
21645
|
+
options: SegmentedControlOption<TValue>[];
|
|
21646
|
+
/** The value of the option to be selected */
|
|
21647
|
+
value?: TValue;
|
|
21648
|
+
/** Called when the user selects a different option */
|
|
21649
|
+
onChange: (value: TValue) => void;
|
|
21650
|
+
/** Doesn't show a checkmark next to the selected item */
|
|
21651
|
+
noCheckmark?: boolean;
|
|
21652
|
+
/** Disables all the options */
|
|
21653
|
+
disabled?: boolean;
|
|
21654
|
+
/**
|
|
21655
|
+
* The orientation by which the items are rendered
|
|
21656
|
+
* @default 'horizontal'
|
|
21657
|
+
*/
|
|
21658
|
+
orientation?: 'horizontal' | 'vertical';
|
|
21659
|
+
/**
|
|
21660
|
+
* The size of the input
|
|
21661
|
+
* @default 'md'
|
|
21662
|
+
*/
|
|
21663
|
+
size?: 'sm' | 'md' | 'lg';
|
|
21664
|
+
};
|
|
21665
|
+
/**
|
|
21666
|
+
* Horizontal control with multiple segments. Can be used as a replacement of radio buttons.
|
|
21667
|
+
* @example <SegmentedControl name="mySegmentedControl" value={value} options={[{label: 'Option 1', value: 'option1',label: 'Option 2', value: 'option2'}]} onChange={setValue} />
|
|
21668
|
+
*/
|
|
21669
|
+
declare const SegmentedControl: <TValue extends string = string>({ name, options, value, onChange, noCheckmark, disabled, orientation, size, ...props }: SegmentedControlProps<TValue>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21670
|
+
|
|
21854
21671
|
declare function ShortcutContext({ children }: {
|
|
21855
21672
|
children: React__default.ReactNode;
|
|
21856
21673
|
}): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
@@ -22095,4 +21912,146 @@ type TooltipProps = TooltipOptions & {
|
|
|
22095
21912
|
};
|
|
22096
21913
|
declare function Tooltip({ children, title, placement, visible, ...props }: TooltipProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22097
21914
|
|
|
22098
|
-
|
|
21915
|
+
/** Available heading weights e.g. 1 - 6 */
|
|
21916
|
+
type LevelProps = 1 | 2 | 3 | 4 | 5 | 6;
|
|
21917
|
+
type HeadingProps = {
|
|
21918
|
+
/** sets the type of heading tag between h1 to h6, defaults to <h2>
|
|
21919
|
+
* @default 2
|
|
21920
|
+
*/
|
|
21921
|
+
level?: LevelProps;
|
|
21922
|
+
/** sets whether to display a span with the defined heading styles
|
|
21923
|
+
* @default undefined
|
|
21924
|
+
*/
|
|
21925
|
+
asSpan?: boolean;
|
|
21926
|
+
/** sets the title value */
|
|
21927
|
+
children: React$1.ReactNode;
|
|
21928
|
+
/** (optional) sets whether to use the default margin for the heading element
|
|
21929
|
+
* @default true
|
|
21930
|
+
*/
|
|
21931
|
+
withMarginBottom?: boolean;
|
|
21932
|
+
} & React$1.HTMLAttributes<HTMLHeadingElement>;
|
|
21933
|
+
/**
|
|
21934
|
+
* Component that sets the heading tag
|
|
21935
|
+
* @example <Heading level={1}>Blog Post Title</Heading>
|
|
21936
|
+
*/
|
|
21937
|
+
declare const Heading: ({ level, asSpan, withMarginBottom, children, ...hAttributes }: HeadingProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21938
|
+
|
|
21939
|
+
type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
|
|
21940
|
+
/** sets the title text of the integration */
|
|
21941
|
+
title: string;
|
|
21942
|
+
/** sets the description text of the integration */
|
|
21943
|
+
description: string | string[];
|
|
21944
|
+
/** (optional) sets the icon of the integration */
|
|
21945
|
+
icon?: string | React$1.ComponentType<{
|
|
21946
|
+
className?: string;
|
|
21947
|
+
}>;
|
|
21948
|
+
/** (optional) sets the react child elements*/
|
|
21949
|
+
children?: React$1.ReactNode;
|
|
21950
|
+
/** (optional) sets an external link to documentation */
|
|
21951
|
+
docsLink?: string;
|
|
21952
|
+
/** (optional) sets the badge text of the integration */
|
|
21953
|
+
badgeText?: string;
|
|
21954
|
+
/** (optional) location for the menu options to be positioned */
|
|
21955
|
+
menu?: React$1.ReactNode;
|
|
21956
|
+
};
|
|
21957
|
+
/**
|
|
21958
|
+
* Uniform Integration Header Section Component
|
|
21959
|
+
* @Example <IntegrationHeaderSection title="custom integration" description="custom integration description text" />
|
|
21960
|
+
*/
|
|
21961
|
+
declare const IntegrationHeaderSection: ({ title, description, icon, docsLink, badgeText, menu, children, ...props }: IntegrationHeaderSectionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21962
|
+
|
|
21963
|
+
type LinkColorProps = 'currentColor' | 'destructive' | 'default';
|
|
21964
|
+
type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
21965
|
+
/** sets the link text and title text */
|
|
21966
|
+
text: string;
|
|
21967
|
+
/** (optional) sets the link color
|
|
21968
|
+
* @default 'currentColor'
|
|
21969
|
+
*/
|
|
21970
|
+
linkColor?: LinkColorProps;
|
|
21971
|
+
/** (optional) sets whether the link is external or not adding an icon to the link */
|
|
21972
|
+
external?: boolean;
|
|
21973
|
+
/** (optional) For supporting inside next/link component */
|
|
21974
|
+
ref?: React$1.ForwardedRef<HTMLAnchorElement>;
|
|
21975
|
+
/** (optional) sets react child elements */
|
|
21976
|
+
children?: React$1.ReactNode;
|
|
21977
|
+
};
|
|
21978
|
+
/** Uniform Link Component
|
|
21979
|
+
* @example <Link text="my link" href="#" />
|
|
21980
|
+
*/
|
|
21981
|
+
declare const Link: React$1.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
21982
|
+
type LinkManagerWithRefType = (props: Partial<LinkProps> & {
|
|
21983
|
+
as?: string;
|
|
21984
|
+
href: string;
|
|
21985
|
+
passHref: true;
|
|
21986
|
+
legacyBehavior?: boolean;
|
|
21987
|
+
} & React$1.RefAttributes<HTMLAnchorElement>) => JSX.Element | null;
|
|
21988
|
+
/** Uniform LinkWithRef Component
|
|
21989
|
+
* We recommend using this link `next/link`
|
|
21990
|
+
* @example <LinkWithRef linkManagerComponent={NextLink} href="some-url" text="my link" />
|
|
21991
|
+
*/
|
|
21992
|
+
declare const LinkWithRef: React$1.ForwardRefExoticComponent<Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
21993
|
+
/** sets the link text and title text */
|
|
21994
|
+
text: string;
|
|
21995
|
+
/** (optional) sets the link color
|
|
21996
|
+
* @default 'currentColor'
|
|
21997
|
+
*/
|
|
21998
|
+
linkColor?: LinkColorProps | undefined;
|
|
21999
|
+
/** (optional) sets whether the link is external or not adding an icon to the link */
|
|
22000
|
+
external?: boolean | undefined;
|
|
22001
|
+
/** (optional) For supporting inside next/link component */
|
|
22002
|
+
ref?: React$1.ForwardedRef<HTMLAnchorElement> | undefined;
|
|
22003
|
+
/** (optional) sets react child elements */
|
|
22004
|
+
children?: React$1.ReactNode;
|
|
22005
|
+
} & {
|
|
22006
|
+
href: string;
|
|
22007
|
+
as?: string | undefined;
|
|
22008
|
+
linkManagerComponent: LinkManagerWithRefType;
|
|
22009
|
+
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
22010
|
+
|
|
22011
|
+
interface RouteProps {
|
|
22012
|
+
as: string;
|
|
22013
|
+
href: string;
|
|
22014
|
+
}
|
|
22015
|
+
type PageHeaderSectionProps = React$1.HTMLAttributes<HTMLElement> & {
|
|
22016
|
+
title: string | undefined;
|
|
22017
|
+
desc?: React$1.ReactNode;
|
|
22018
|
+
children?: React$1.ReactNode;
|
|
22019
|
+
linkProps?: RouteProps;
|
|
22020
|
+
linkText?: string;
|
|
22021
|
+
level?: LevelProps;
|
|
22022
|
+
linkManagerComponent?: LinkManagerWithRefType;
|
|
22023
|
+
};
|
|
22024
|
+
declare const PageHeaderSection: ({ title, desc, children, linkText, level, linkProps, linkManagerComponent, ...htmlProps }: PageHeaderSectionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22025
|
+
|
|
22026
|
+
type ParagraphProps = {
|
|
22027
|
+
/** (optional) adds child elements to the paragraph tag */
|
|
22028
|
+
children?: React$1.ReactNode;
|
|
22029
|
+
/** (optional) sets raw html values */
|
|
22030
|
+
htmlContent?: string | string[];
|
|
22031
|
+
/** (optional) allows user to set overriding class names or emotion styles */
|
|
22032
|
+
className?: SerializedStyles | string;
|
|
22033
|
+
} & React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
22034
|
+
/**
|
|
22035
|
+
* Component for generic paragraph tags
|
|
22036
|
+
* @example <Paragraph>This is the text that was be inside the paragraph tag.</Paragraph>
|
|
22037
|
+
*/
|
|
22038
|
+
declare const Paragraph: ({ className, htmlContent, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22039
|
+
|
|
22040
|
+
type StatusTypeProps = 'Modified' | 'Unsaved' | 'Error' | 'Draft' | 'Published' | 'Orphan';
|
|
22041
|
+
type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
22042
|
+
/** sets the current status */
|
|
22043
|
+
status: StatusTypeProps;
|
|
22044
|
+
/** sets an overriding message */
|
|
22045
|
+
message?: string;
|
|
22046
|
+
/** sets whether to show or hide the status text
|
|
22047
|
+
* @default false
|
|
22048
|
+
*/
|
|
22049
|
+
hideText?: boolean;
|
|
22050
|
+
/** sets the size of the status message and icon
|
|
22051
|
+
* @default 'base'
|
|
22052
|
+
*/
|
|
22053
|
+
size?: 'sm' | 'base';
|
|
22054
|
+
};
|
|
22055
|
+
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22056
|
+
|
|
22057
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, HorizontalRhythmProps, Icon, IconColor, IconName, IconProps, IconType, IconsProvider, 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, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, Switch, SwitchProps, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, TileContainer, TileContainerProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoProps, UseShortcutOptions, VerticalRhythm, VerticalRhythmProps, WarningMessage, WarningMessageProps, borderTopIcon, breakpoints, button, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, rectangleRoundedIcon, replaceUnderscoreInString, ripple, scrollbarStyles, settings, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawerRenderer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon };
|