@uniformdev/design-system 17.7.1-alpha.34 → 18.0.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/index.d.ts CHANGED
@@ -13,7 +13,7 @@ import { MenuHTMLProps, MenuProps as MenuProps$2, MenuStateReturn } from 'reakit
13
13
  import { TabState, TabListProps, TabProps, TabPanelProps } from 'reakit/Tab';
14
14
 
15
15
  /** @todo: line 144 onwards will be brought into a title, paragraph, list and link components */
16
- declare type ThemeProps = {
16
+ type ThemeProps = {
17
17
  /** sets whether to disable a provided reset stylesheet or not
18
18
  * @default false
19
19
  */
@@ -25,8 +25,8 @@ declare type ThemeProps = {
25
25
  declare const Theme: React__default.ElementType;
26
26
 
27
27
  /** Breakpoint label values */
28
- declare type BreakpointSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
29
- declare type BreakpointsMap = Record<BreakpointSize, number>;
28
+ type BreakpointSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
29
+ type BreakpointsMap = Record<BreakpointSize, number>;
30
30
  /** Object of breakpoints and the pixel values */
31
31
  declare const breakpoints: BreakpointsMap;
32
32
  /**
@@ -97,7 +97,7 @@ declare const fadeInRtl: _emotion_react.Keyframes;
97
97
  /** Custom scrollbar styles */
98
98
  declare const scrollbarStyles: _emotion_react.SerializedStyles;
99
99
 
100
- declare type AddButtonProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> & {
100
+ type AddButtonProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> & {
101
101
  /** sets the aria-label for accessibility
102
102
  * @default "Add"
103
103
  */
@@ -120,8 +120,8 @@ declare type AddButtonProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
120
120
  */
121
121
  declare const AddButton: ({ buttonText, onClick, shortcut, macShortcut, ...props }: AddButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
122
122
 
123
- declare type AddListButtonThemeProps = 'var(--brand-secondary-5)' | 'var(--brand-secondary-3)';
124
- declare type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
123
+ type AddListButtonThemeProps = 'var(--brand-secondary-5)' | 'var(--brand-secondary-3)';
124
+ type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
125
125
  /** (optional) - sets the button text and title value
126
126
  * @default 'Add Item'
127
127
  */
@@ -149,8 +149,8 @@ declare type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement
149
149
  */
150
150
  declare const AddListButton: ({ buttonText, onButtonClick, disabled, icon, variant, theme, ...buttonProps }: AddListButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
151
151
 
152
- declare type ArrowPositionProps = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom';
153
- declare type InlineAlertProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
152
+ type ArrowPositionProps = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom';
153
+ type InlineAlertProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
154
154
  /** sets the id of the popup and the aria-controls attibute on the close button
155
155
  * @example 'my-alert-box'
156
156
  */
@@ -172,7 +172,7 @@ declare type InlineAlertProps = React$1.ButtonHTMLAttributes<HTMLButtonElement>
172
172
  */
173
173
  declare const InlineAlert: ({ id, title, text, arrowPosition, positionCss, ...btnProps }: InlineAlertProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
174
174
 
175
- declare type BadgeProps = {
175
+ type BadgeProps = {
176
176
  /** sets the text of the badge */
177
177
  text: string;
178
178
  };
@@ -182,7 +182,7 @@ declare type BadgeProps = {
182
182
  */
183
183
  declare const Badge: ({ text }: BadgeProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
184
184
 
185
- declare type UniformLogoProps = {
185
+ type UniformLogoProps = {
186
186
  /** sets a light or dark theme for the uniform badge or logo component
187
187
  * @default "light"
188
188
  */
@@ -203,10 +203,10 @@ declare const UniformBadge: ({ theme, ...props }: React__default.SVGAttributes<S
203
203
  declare const UniformLogo: ({ theme, ...props }: UniformLogoProps & React.SVGAttributes<SVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
204
204
 
205
205
  /** Button themes that are available to use with our brand */
206
- declare type ButtonThemeProps$1 = 'primary' | 'secondary' | 'tertiary' | 'unimportant' | 'ghost' | 'secondaryInvert';
206
+ type ButtonThemeProps$1 = 'primary' | 'secondary' | 'tertiary' | 'unimportant' | 'ghost' | 'secondaryInvert';
207
207
  /** Button sizes that are available to use with our brand */
208
- declare type ButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
209
- declare type ButtonProps = ButtonProps$1 & {
208
+ type ButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
209
+ type ButtonProps = ButtonProps$1 & {
210
210
  /** sets the theme of the button
211
211
  * @default "primary"
212
212
  */
@@ -227,7 +227,7 @@ declare type ButtonProps = ButtonProps$1 & {
227
227
  */
228
228
  declare const Button: React$1.ForwardRefExoticComponent<Pick<ButtonProps, "form" | "slot" | "style" | "title" | "className" | "key" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "value" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "focusable" | "size" | "buttonType" | "unstable_system" | "unstable_clickOnEnter" | "unstable_clickOnSpace" | "wrapElement" | "rounded"> & React$1.RefAttributes<HTMLButtonElement>>;
229
229
 
230
- declare type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost';
230
+ type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost';
231
231
  interface ActionButtonsProps {
232
232
  /** Takes a function for the visible button */
233
233
  onButtonClick: () => void;
@@ -243,7 +243,7 @@ interface ActionButtonsProps {
243
243
  children: React$1.ReactNode;
244
244
  }
245
245
  /** ButtonWithMenuProps combines the ActionButtonsProps with React HTMLButtonElement attributes */
246
- declare type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
246
+ type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
247
247
  /**
248
248
  * Uniform ButtonWithMenu Component
249
249
  * @example
@@ -269,7 +269,7 @@ declare type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttrib
269
269
  declare const ButtonWithMenu: ({ onButtonClick, buttonType, buttonText, disabled, children, placement, ...buttonProps }: ButtonWithMenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
270
270
 
271
271
  /** Callout button types available to use with our brand */
272
- declare type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
272
+ type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
273
273
  interface CalloutProps {
274
274
  /** sets the type of callout to use and it's styles
275
275
  * @default "info"
@@ -292,7 +292,7 @@ interface CalloutProps {
292
292
  */
293
293
  declare const Callout: ({ type, compact, title, children, className }: CalloutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
294
294
 
295
- declare type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
295
+ type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
296
296
  /** (optional) sets the title value of the card */
297
297
  title?: string;
298
298
  /** (optional) sets react child components */
@@ -308,8 +308,8 @@ declare type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
308
308
  };
309
309
  declare const Card: ({ title, menuItems, children, disabled, menuButtonTestId, ...props }: CardProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
310
310
 
311
- declare type CardContainerBgColorProps = 'gray' | 'white';
312
- declare type CardContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
311
+ type CardContainerBgColorProps = 'gray' | 'white';
312
+ type CardContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
313
313
  /** (optional): sets the background colour of the wrapping element
314
314
  * @default 'white'
315
315
  */
@@ -334,16 +334,16 @@ declare type CardContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
334
334
  */
335
335
  declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...props }: CardContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
336
336
 
337
- declare type CounterProps = {
337
+ type CounterProps = {
338
338
  /** sets the count value, a 0 will show a dot instead of a number */
339
339
  count: number;
340
340
  };
341
341
  /** @example <Counter count={1} /> */
342
342
  declare const Counter: ({ count }: CounterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
343
343
 
344
- declare type TextAlignProps = 'left' | 'right' | 'center';
345
- declare type BoxHeightProps = 'auto' | 'sm' | 'md' | 'lg';
346
- declare type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
344
+ type TextAlignProps = 'left' | 'right' | 'center';
345
+ type BoxHeightProps = 'auto' | 'xs' | 'sm' | 'md' | 'lg';
346
+ type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
347
347
  /** React child elements */
348
348
  children: React$1.ReactNode;
349
349
  /** (optional) - sets the text alignment */
@@ -359,7 +359,7 @@ declare type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
359
359
  */
360
360
  declare const DashedBox: ({ bgColor, textAlign, boxHeight, children, ...props }: DashedBoxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
361
361
 
362
- declare type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
362
+ type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
363
363
  /** sets the summary inner components */
364
364
  summary: React$1.ReactNode;
365
365
  children: React$1.ReactNode;
@@ -388,7 +388,7 @@ interface RegisterDrawerProps {
388
388
  /** Called when drawer is rendered for the first time. Useful to set the focus on the drawer */
389
389
  onFirstRender?: () => void;
390
390
  }
391
- declare type DrawerContextValue = {
391
+ type DrawerContextValue = {
392
392
  drawersRegistry: DrawerItem[];
393
393
  registerDrawer: (props: RegisterDrawerProps) => void;
394
394
  unregisterDrawer: (drawerId: Pick<DrawerItem, 'id' | 'stackId' | 'instanceKey'>) => void;
@@ -403,6 +403,7 @@ declare const useDrawer: () => DrawerContextValue;
403
403
  interface DrawerProps extends Omit<DrawerItem, 'component'> {
404
404
  header?: React__default.ReactNode;
405
405
  children?: React__default.ReactNode;
406
+ bgColor?: 'var(--gray-50)' | 'var(--white)';
406
407
  }
407
408
  /**
408
409
  * A drawer component that opens from the right side of is parent. The component is used in combination with DrawerProvider and DrawerRenderer
@@ -426,8 +427,12 @@ interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDiv
426
427
  * @default '100%'
427
428
  */
428
429
  maxWidth?: string;
430
+ /** Sets the css position value
431
+ * @default 'absolute'
432
+ */
433
+ position?: 'absolute' | 'fixed';
429
434
  }
430
- declare const DrawerRenderer: ({ stackId, width, minWidth, maxWidth, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
435
+ declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
431
436
  interface DrawerRendererItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
432
437
  index: number;
433
438
  totalDrawers: number;
@@ -439,12 +444,12 @@ interface DrawerRendererItemProps extends React__default.HTMLAttributes<HTMLDivE
439
444
 
440
445
  declare const iconNames: readonly ["add-r", "add", "airplane", "alarm", "album", "align-bottom", "align-center", "align-left", "align-middle", "align-right", "align-top", "anchor", "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", "close", "cloud", "code-slash", "code", "coffee", "collage", "color-bucket", "color-picker", "comment", "community", "components", "compress-left", "compress-right", "compress-v", "compress", "controller", "copy", "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", "data", "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", "drop", "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", "feed", "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", "image", "import", "inbox", "infinity", "info", "inpicture", "insert-after-o", "insert-after-r", "insert-after", "insert-before-o", "insert-before-r", "insert-before", "insights", "internal", "key", "keyboard", "keyhole", "laptop", "layout-grid-small", "layout-grid", "layout-list", "layout-pin", "link", "list-tree", "list", "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", "menu", "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", "presentation", "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", "repeat", "ring", "row-first", "row-last", "ruler", "sand-clock", "scan", "screen-mirror", "screen-shot", "screen-wide", "screen", "scroll-h", "scroll-v", "search-found", "search-loading", "search", "select-o", "select-r", "select", "server", "shape-circle", "shape-half-circle", "shape-hexagon", "shape-rhombus", "shape-square", "shape-triangle", "shape-zigzag", "share", "shield", "shopping-bag", "shopping-cart", "shortcut", "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", "style", "sun", "support", "swap-vertical", "swap", "sweden", "swiss", "sync", "tab", "tag", "tap-double", "tap-single", "template", "tennis", "terminal", "terrain", "thermometer", "thermostat", "tikcode", "time", "timelapse", "timer", "today", "toggle-off", "toggle-on", "toggle-square-off", "toggle-square", "toolbar-bottom", "toolbar-left", "toolbar-right", "toolbar-top", "toolbox", "touchpad", "track", "transcript", "trash-empty", "trash", "tree", "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", "border-top", "full-width-screen", "text-input", "number-input", "canvas-alert", "warning", "info-filled"];
441
446
  /** A list of available icon names that can be used with the Uniform brand */
442
- declare type IconName = typeof iconNames[number];
447
+ type IconName = (typeof iconNames)[number];
443
448
 
444
449
  /** sets fill color of the svg icon */
445
- declare type IconColor = 'green' | 'red' | 'gray' | 'currentColor';
450
+ type IconColor = 'green' | 'red' | 'gray' | 'currentColor';
446
451
  /** sets the type of icon to use from the available list */
447
- declare type IconType = IconName | IconType$1;
452
+ type IconType = IconName | IconType$1;
448
453
  interface IconProps extends IconBaseProps {
449
454
  /** sets the icon to be used */
450
455
  icon: IconType;
@@ -459,7 +464,7 @@ interface IconProps extends IconBaseProps {
459
464
  */
460
465
  declare const Icon: React__default.MemoExoticComponent<({ icon, iconColor, size, ...otherProps }: IconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null>;
461
466
 
462
- declare type IconsMap = Record<string, IconType$1>;
467
+ type IconsMap = Record<string, IconType$1>;
463
468
  declare function useIconContext(): {
464
469
  iconsMap: IconsMap;
465
470
  isLoading: boolean;
@@ -472,7 +477,7 @@ declare function IconsProvider({ children }: {
472
477
  children: ReactNode;
473
478
  }): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
474
479
 
475
- declare type CaptionProps = React$1.HTMLAttributes<HTMLElement> & {
480
+ type CaptionProps = React$1.HTMLAttributes<HTMLElement> & {
476
481
  /** allows users to add child elements */
477
482
  children: React$1.ReactNode;
478
483
  /** Makes the font size relative to the inherited font size */
@@ -486,7 +491,7 @@ declare type CaptionProps = React$1.HTMLAttributes<HTMLElement> & {
486
491
  */
487
492
  declare const Caption: ({ children, testId, dynamicSize, ...props }: CaptionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
488
493
 
489
- declare type CheckboxWithInforProps = React.HTMLAttributes<HTMLInputElement> & {
494
+ type CheckboxWithInforProps = React.HTMLAttributes<HTMLInputElement> & {
490
495
  /** sets the label value */
491
496
  label: string;
492
497
  /** sets the name value of the radio/checkbox input */
@@ -508,7 +513,7 @@ declare const CheckboxWithInfo: React$1.ForwardRefExoticComponent<React$1.HTMLAt
508
513
  checked?: boolean | undefined;
509
514
  } & React$1.RefAttributes<HTMLInputElement>>;
510
515
 
511
- declare type ErrorMessageProps = {
516
+ type ErrorMessageProps = {
512
517
  /** sets the error message value */
513
518
  message?: string;
514
519
  /** sets the test id for test automation (optional) */
@@ -521,7 +526,7 @@ declare type ErrorMessageProps = {
521
526
  */
522
527
  declare const ErrorMessage: ({ message, testId, ...otherProps }: ErrorMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
523
528
 
524
- declare type FieldsetProps = React$1.HTMLAttributes<HTMLFieldSetElement> & {
529
+ type FieldsetProps = React$1.HTMLAttributes<HTMLFieldSetElement> & {
525
530
  /** sets the legend value */
526
531
  legend: React$1.ReactElement;
527
532
  /** sets the disabled value and sets child inputs disabled */
@@ -543,7 +548,7 @@ declare const Fieldset: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
543
548
  invert?: boolean | undefined;
544
549
  } & React$1.RefAttributes<HTMLFieldSetElement>>;
545
550
 
546
- declare type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
551
+ type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
547
552
  /** (optional) sets the label value */
548
553
  label?: string;
549
554
  /** (optional) sets caption text value */
@@ -618,7 +623,7 @@ declare const Input: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttribut
618
623
  classNameLabel?: string | SerializedStyles | undefined;
619
624
  } & React$1.RefAttributes<HTMLInputElement>>;
620
625
 
621
- declare type InputComboBoxOption = {
626
+ type InputComboBoxOption = {
622
627
  /** sets the label value */
623
628
  label: string;
624
629
  /** sets the input value */
@@ -626,21 +631,21 @@ declare type InputComboBoxOption = {
626
631
  /** (optional) sets the disabled value on the input */
627
632
  isDisabled?: boolean;
628
633
  };
629
- declare type InputComboBoxProps<TOption, IsMulti extends boolean, TGroup extends GroupBase<TOption> = GroupBase<TOption>> = StateManagerProps<TOption, IsMulti, TGroup> & React$1.RefAttributes<InternalSelect<TOption, IsMulti, TGroup>>;
630
- declare type ComboBoxGroupBase<TOption> = GroupBase<TOption>;
634
+ type InputComboBoxProps<TOption, IsMulti extends boolean, TGroup extends GroupBase<TOption> = GroupBase<TOption>> = StateManagerProps<TOption, IsMulti, TGroup> & React$1.RefAttributes<InternalSelect<TOption, IsMulti, TGroup>>;
635
+ type ComboBoxGroupBase<TOption> = GroupBase<TOption>;
631
636
  /**
632
637
  * InputComboBox
633
638
  * @component
634
639
  * @example <InputComboBox name="name" id="combo-box" options={[{ value: 'chocolate', label: 'Chocolate' }, { value: 'strawberry', label: 'Strawberry' }, { value: 'vanilla', label: 'Vanilla' }]} isMulti /> */
635
640
  declare function InputComboBox<TOption = InputComboBoxOption, IsMulti extends boolean = false, TGroup extends ComboBoxGroupBase<TOption> = ComboBoxGroupBase<TOption>>(props: InputComboBoxProps<TOption, IsMulti, TGroup>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
636
641
 
637
- declare type InputInlineSelectOption = {
642
+ type InputInlineSelectOption = {
638
643
  /** sets the display name of the option */
639
644
  label: string;
640
645
  /** sets the option value attribute */
641
646
  value: string;
642
647
  };
643
- declare type InputInlineSelectProps = Omit<React$1.HTMLAttributes<HTMLButtonElement>, 'onChange'> & {
648
+ type InputInlineSelectProps = Omit<React$1.HTMLAttributes<HTMLButtonElement>, 'onChange'> & {
644
649
  /** sets the selected value */
645
650
  value: string;
646
651
  /** sets the available options within the dropdown */
@@ -688,7 +693,7 @@ interface InputKeywordSearchProps extends React$1.InputHTMLAttributes<HTMLInputE
688
693
  */
689
694
  declare const InputKeywordSearch: ({ onSearchTextChanged, disabled, placeholder, inputFieldName, disabledFieldSubmission, value, onClear, ...props }: InputKeywordSearchProps) => React$1.ReactElement;
690
695
 
691
- declare type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
696
+ type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
692
697
  /** (optional) sets the first item in the options list with empty value */
693
698
  defaultOption?: string;
694
699
  /** sets an array of select options with value and text value */
@@ -709,6 +714,8 @@ declare type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> &
709
714
  warningMessage?: string;
710
715
  /** (optional) allows react components to be added inline with the label element */
711
716
  labelCta?: JSX.Element;
717
+ /** (optional) styles the component in a compact format */
718
+ compact?: boolean;
712
719
  /**
713
720
  * (optional) sets an overriding classname on the container element
714
721
  * @deprecated */
@@ -726,9 +733,9 @@ declare type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> &
726
733
  * Input Select Component
727
734
  * @example <InputSelect label="my label" options={[{label: "option 1"}, {label: "option 2"}]} />
728
735
  */
729
- declare const InputSelect: ({ label, defaultOption, options, caption, errorMessage, warningMessage, showLabel, labelCta, classNameContainer, classNameControl, classNameLabel, ...props }: InputSelectProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
736
+ declare const InputSelect: ({ label, defaultOption, options, caption, errorMessage, warningMessage, showLabel, labelCta, compact, classNameContainer, classNameControl, classNameLabel, ...props }: InputSelectProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
730
737
 
731
- declare type InputToggleProps = React$1.HTMLAttributes<HTMLInputElement> & {
738
+ type InputToggleProps = React$1.HTMLAttributes<HTMLInputElement> & {
732
739
  /** sets the label value */
733
740
  label: string;
734
741
  /** sets the type of input to use, either radio or checkbox */
@@ -758,7 +765,7 @@ declare type InputToggleProps = React$1.HTMLAttributes<HTMLInputElement> & {
758
765
  */
759
766
  declare const InputToggle: ({ label, type, disabled, checked, name, caption, errorMessage, warningMessage, testId, fontWeight, ...props }: InputToggleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
760
767
 
761
- declare type LabelProps = React$1.LabelHTMLAttributes<HTMLLabelElement> & {
768
+ type LabelProps = React$1.LabelHTMLAttributes<HTMLLabelElement> & {
762
769
  /** sets child elements within the label tag, normally the default label text */
763
770
  children: React$1.ReactNode;
764
771
  /** (optional) sets additional css properties */
@@ -768,12 +775,12 @@ declare type LabelProps = React$1.LabelHTMLAttributes<HTMLLabelElement> & {
768
775
  };
769
776
  declare const Label: ({ children, className, testId, ...props }: LabelProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
770
777
 
771
- declare type LegendProps = {
778
+ type LegendProps = {
772
779
  children: ReactNode;
773
780
  };
774
781
  declare const Legend: ({ children }: LegendProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
775
782
 
776
- declare type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & {
783
+ type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & {
777
784
  /** (optional) sets the label value */
778
785
  label?: string;
779
786
  /** (optional) sets caption text value */
@@ -794,7 +801,7 @@ declare type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement>
794
801
  */
795
802
  declare const Textarea: ({ label, icon, id, caption, showLabel, errorMessage, warningMessage, ...props }: TextareaProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
796
803
 
797
- declare type WarningMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
804
+ type WarningMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
798
805
  /** sets the error message value */
799
806
  message?: string;
800
807
  /** sets the test id for test automation (optional) */
@@ -806,7 +813,7 @@ declare type WarningMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
806
813
  */
807
814
  declare const WarningMessage: ({ message, testId, ...props }: WarningMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
808
815
 
809
- declare type LimitsBarProps = {
816
+ type LimitsBarProps = {
810
817
  /** The current value of used limits */
811
818
  current: number;
812
819
  /** The maximum number of limits */
@@ -820,7 +827,7 @@ declare type LimitsBarProps = {
820
827
  */
821
828
  declare const LimitsBar: ({ current, max, label }: LimitsBarProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
822
829
 
823
- declare type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
830
+ type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
824
831
  /** sets the title field */
825
832
  title: string;
826
833
  /** (optional) sets react child component */
@@ -828,7 +835,7 @@ declare type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
828
835
  };
829
836
  declare const LinkList: ({ title, children, ...props }: LinkListProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
830
837
 
831
- declare type ScrollableListProps = React$1.HTMLAttributes<HTMLDivElement> & {
838
+ type ScrollableListProps = React$1.HTMLAttributes<HTMLDivElement> & {
832
839
  /** (optional) sets the label value */
833
840
  label?: string;
834
841
  /** (optional) allows users to add child components within the container */
@@ -840,7 +847,7 @@ declare type ScrollableListProps = React$1.HTMLAttributes<HTMLDivElement> & {
840
847
  */
841
848
  declare const ScrollableList: ({ label, children, ...props }: ScrollableListProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
842
849
 
843
- declare type ScrollableItemProps = React.HTMLAttributes<HTMLInputElement> & {
850
+ type ScrollableItemProps = React.HTMLAttributes<HTMLInputElement> & {
844
851
  /** sets an element within the label > span element */
845
852
  icon?: React.ReactElement;
846
853
  /**sets the label value */
@@ -855,7 +862,7 @@ declare type ScrollableItemProps = React.HTMLAttributes<HTMLInputElement> & {
855
862
  /** @example <ScrollableListInputItem label="my label" active={true}><input type="radio" name="age" /></ScrollableListInputItem>*/
856
863
  declare const ScrollableListInputItem: ({ label, icon, active, children, labelTestId, }: ScrollableItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
857
864
 
858
- declare type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
865
+ type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
859
866
  /** sets the button text value */
860
867
  buttonText: string;
861
868
  /** sets the active style of the button */
@@ -882,13 +889,21 @@ interface LoadingOverlayProps {
882
889
  * @default 9999
883
890
  */
884
891
  zIndex?: number;
892
+ /** (optional) sets the width and height of the loading spinner icon
893
+ * @default 128
894
+ */
895
+ size?: number;
896
+ /** (optional) sets the loading overlay background color
897
+ * @default 'var(--white)'
898
+ */
899
+ overlayBackgroundColor?: 'transparent' | 'var(--white)';
885
900
  }
886
901
  /**
887
902
  * Loading Overlay.
888
903
  * NOTE: the container/parent element must have a non-static `position` value for the overlay to work properly.
889
904
  * @example <LoadingOverlay isActive={true} statusMessage="Loading..." />
890
905
  */
891
- declare const LoadingOverlay: ({ isActive, statusMessage, zIndex }: LoadingOverlayProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
906
+ declare const LoadingOverlay: ({ isActive, statusMessage, zIndex, size, overlayBackgroundColor, }: LoadingOverlayProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
892
907
  interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
893
908
  /** (optional) prop that sets a number value for the height of the icon */
894
909
  width?: number;
@@ -926,8 +941,8 @@ declare const useMenuContext: () => MenuStateReturn;
926
941
  */
927
942
  declare const Menu: ({ menuLabel, menuTrigger, placement, menuItemsContainerCssClasses, children, }: MenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
928
943
 
929
- declare type MenuItemTextThemeProps = 'base' | 'red';
930
- declare type MenuItemProps = MenuItemHTMLProps & {
944
+ type MenuItemTextThemeProps = 'base' | 'red';
945
+ type MenuItemProps = MenuItemHTMLProps & {
931
946
  /** sets child elements within the component */
932
947
  children: ChildFunction | React$1.ReactNode;
933
948
  /** (optional) set whether to hide the menu after a click action */
@@ -941,7 +956,7 @@ declare type MenuItemProps = MenuItemHTMLProps & {
941
956
  */
942
957
  textColor?: MenuItemTextThemeProps;
943
958
  };
944
- declare type ChildFunction = (menuItemProps: MenuItemHTMLProps) => React$1.ReactElement | null;
959
+ type ChildFunction = (menuItemProps: MenuItemHTMLProps) => React$1.ReactElement | null;
945
960
  /**
946
961
  * MenuItem Component used along side <Menu /> component
947
962
  * @example <MenuItem onClick={() => alert('menu item was clicked')} icon={<RedClose />}>Remove Link</MenuItem>
@@ -950,7 +965,7 @@ declare const MenuItem: React$1.FC<MenuItemProps>;
950
965
 
951
966
  declare const MenuItemSeparator: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
952
967
 
953
- declare type IntegrationModalHeaderProps = {
968
+ type IntegrationModalHeaderProps = {
954
969
  /** sets the icon as inline svg or img tag */
955
970
  icon: string | React$1.ComponentType<{
956
971
  className?: string;
@@ -962,7 +977,7 @@ declare type IntegrationModalHeaderProps = {
962
977
  /** (optional) sets child elements in */
963
978
  menu?: React$1.ReactNode;
964
979
  };
965
- declare type HexModalBackgroundProps = React$1.SVGAttributes<SVGElement>;
980
+ type HexModalBackgroundProps = React$1.SVGAttributes<SVGElement>;
966
981
  declare const HexModalBackground: ({ ...props }: HexModalBackgroundProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
967
982
  /** Uniform Integration Modal Header
968
983
  * @example <IntegrationModalHeader icon="/icon.svg" name="name" />
@@ -978,7 +993,7 @@ declare function ShortcutRevealer({ shortcut, macShortcut, className, }: {
978
993
  className?: SerializedStyles | string;
979
994
  }): _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
980
995
 
981
- declare type SwitchProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
996
+ type SwitchProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
982
997
  /** sets the label value */
983
998
  label: string;
984
999
  /** (optional) sets information text */
@@ -1004,13 +1019,13 @@ declare const Switch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAt
1004
1019
  children?: React$1.ReactNode;
1005
1020
  } & React$1.RefAttributes<HTMLInputElement>>;
1006
1021
 
1007
- declare type TableProps = React$1.ComponentPropsWithoutRef<'table'>;
1008
- declare type TableHeadProps = React$1.ComponentPropsWithoutRef<'thead'>;
1009
- declare type TableBodyProps = React$1.ComponentPropsWithoutRef<'tbody'>;
1010
- declare type TableFootProps = React$1.ComponentPropsWithoutRef<'tfoot'>;
1011
- declare type TableRowProps = React$1.ComponentPropsWithoutRef<'tr'>;
1012
- declare type TableCellHeadProps = React$1.ComponentPropsWithoutRef<'th'>;
1013
- declare type TableCellDataProps = React$1.ComponentPropsWithoutRef<'td'>;
1022
+ type TableProps = React$1.ComponentPropsWithoutRef<'table'>;
1023
+ type TableHeadProps = React$1.ComponentPropsWithoutRef<'thead'>;
1024
+ type TableBodyProps = React$1.ComponentPropsWithoutRef<'tbody'>;
1025
+ type TableFootProps = React$1.ComponentPropsWithoutRef<'tfoot'>;
1026
+ type TableRowProps = React$1.ComponentPropsWithoutRef<'tr'>;
1027
+ type TableCellHeadProps = React$1.ComponentPropsWithoutRef<'th'>;
1028
+ type TableCellDataProps = React$1.ComponentPropsWithoutRef<'td'>;
1014
1029
  /**
1015
1030
  * Uniform's Table component
1016
1031
  * @example
@@ -1044,12 +1059,13 @@ declare const TableCellData: React$1.ForwardRefExoticComponent<Pick<React$1.Deta
1044
1059
 
1045
1060
  declare const useCurrentTab: () => TabState;
1046
1061
  interface TabsProps {
1062
+ children: React__default.ReactNode;
1047
1063
  selectedId?: string;
1048
1064
  manual?: boolean;
1049
1065
  orientation?: TabState['orientation'];
1050
- children: React__default.ReactNode;
1066
+ onSelectedIdChange?: (tabName: string | undefined) => void;
1051
1067
  }
1052
- declare const Tabs: ({ children, ...props }: TabsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1068
+ declare const Tabs: ({ children, onSelectedIdChange, ...props }: TabsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1053
1069
  declare const TabButtonGroup: ({ children, ...props }: Partial<TabListProps>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1054
1070
  interface TabButtonProps extends Partial<TabProps> {
1055
1071
  id: string;
@@ -1062,7 +1078,7 @@ interface TabContentProps extends Partial<TabPanelProps> {
1062
1078
  }
1063
1079
  declare const TabContent: ({ children, ...props }: TabContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1064
1080
 
1065
- declare type CreateTeamIntegrationTileProps = React.HTMLAttributes<HTMLDivElement> & {
1081
+ type CreateTeamIntegrationTileProps = React.HTMLAttributes<HTMLDivElement> & {
1066
1082
  /** (optional) sets the title value
1067
1083
  * @default 'Create a custom integration'
1068
1084
  */
@@ -1087,7 +1103,7 @@ interface IntegrationTileFields {
1087
1103
  name: string;
1088
1104
  }
1089
1105
 
1090
- declare type EditTeamIntegrationTileProps = IntegrationTileFields & {
1106
+ type EditTeamIntegrationTileProps = IntegrationTileFields & {
1091
1107
  /** sets the id value */
1092
1108
  id: string;
1093
1109
  /** sets the function call for the button */
@@ -1102,7 +1118,7 @@ declare type EditTeamIntegrationTileProps = IntegrationTileFields & {
1102
1118
  */
1103
1119
  declare const EditTeamIntegrationTile: ({ id, icon, name, onEdit, isPublic, canEdit, }: EditTeamIntegrationTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1104
1120
 
1105
- declare type IntegrationComingSoonProps = IntegrationTileFields & React.HTMLAttributes<HTMLDivElement> & {
1121
+ type IntegrationComingSoonProps = IntegrationTileFields & React.HTMLAttributes<HTMLDivElement> & {
1106
1122
  /** sets the id and data-testid value */
1107
1123
  id: string;
1108
1124
  /** click event used for tracking analytics data */
@@ -1118,7 +1134,7 @@ declare type IntegrationComingSoonProps = IntegrationTileFields & React.HTMLAttr
1118
1134
  */
1119
1135
  declare const IntegrationComingSoon: ({ name, icon, id, onUpVoteClick, timing, ...props }: IntegrationComingSoonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1120
1136
 
1121
- declare type IntegrationLoadingTileProps = {
1137
+ type IntegrationLoadingTileProps = {
1122
1138
  /** (optional) sets the number of skeletal loading elements to show
1123
1139
  * @default 1
1124
1140
  */
@@ -1129,7 +1145,7 @@ declare type IntegrationLoadingTileProps = {
1129
1145
  */
1130
1146
  declare const IntegrationLoadingTile: ({ count }: IntegrationLoadingTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1131
1147
 
1132
- declare type IntegrationModalIconProps = React$1.ImgHTMLAttributes<HTMLImageElement> & {
1148
+ type IntegrationModalIconProps = React$1.ImgHTMLAttributes<HTMLImageElement> & {
1133
1149
  /** sets the icon as inline svg or img tag */
1134
1150
  icon: string | React$1.ComponentType<{
1135
1151
  className?: string;
@@ -1143,7 +1159,7 @@ declare type IntegrationModalIconProps = React$1.ImgHTMLAttributes<HTMLImageElem
1143
1159
  */
1144
1160
  declare const IntegrationModalIcon: ({ icon, name, ...imgProps }: IntegrationModalIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1145
1161
 
1146
- declare type IntegrationTileProps = IntegrationTileFields & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
1162
+ type IntegrationTileProps = IntegrationTileFields & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
1147
1163
  id: string;
1148
1164
  requiedEntitlement?: boolean | undefined;
1149
1165
  onAddIntegration: () => void;
@@ -1155,8 +1171,8 @@ declare type IntegrationTileProps = IntegrationTileFields & React$1.ButtonHTMLAt
1155
1171
  };
1156
1172
  declare const IntegrationTile: ({ id, icon, name, requiedEntitlement, onAddIntegration, isPublic, isInstalled, authorIcon, ...btnProps }: IntegrationTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1157
1173
 
1158
- declare type ClassNameOptions = 'logo' | 'author';
1159
- declare type ResolveIconProps = IntegrationTileFields & React__default.SVGAttributes<SVGElement> & React__default.ImgHTMLAttributes<HTMLImageElement> & {
1174
+ type ClassNameOptions = 'logo' | 'author';
1175
+ type ResolveIconProps = IntegrationTileFields & React__default.SVGAttributes<SVGElement> & React__default.ImgHTMLAttributes<HTMLImageElement> & {
1160
1176
  /** sets the emotion styles for the rendered image
1161
1177
  * @default 'logo'
1162
1178
  */
@@ -1167,7 +1183,7 @@ declare type ResolveIconProps = IntegrationTileFields & React__default.SVGAttrib
1167
1183
  */
1168
1184
  declare const ResolveIcon: ({ icon, name, styleType, ...props }: ResolveIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
1169
1185
 
1170
- declare type TileContainerProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
1186
+ type TileContainerProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
1171
1187
  /** sets react child elements */
1172
1188
  children: React$1.ReactNode;
1173
1189
  };
@@ -1178,12 +1194,16 @@ declare type TileContainerProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
1178
1194
  declare const TileContainer: ({ children, ...props }: TileContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1179
1195
 
1180
1196
  /** Available heading weights e.g. 1 - 6 */
1181
- declare type LevelProps = 1 | 2 | 3 | 4 | 5 | 6;
1182
- declare type HeadingProps = {
1197
+ type LevelProps = 1 | 2 | 3 | 4 | 5 | 6;
1198
+ type HeadingProps = {
1183
1199
  /** sets the type of heading tag between h1 to h6, defaults to <h2>
1184
1200
  * @default 2
1185
1201
  */
1186
1202
  level?: LevelProps;
1203
+ /** sets whether to display a span with the defined heading styles
1204
+ * @default undefined
1205
+ */
1206
+ asSpan?: boolean;
1187
1207
  /** sets the title value */
1188
1208
  children: React$1.ReactNode;
1189
1209
  /** (optional) sets whether to use the default margin for the heading element
@@ -1195,9 +1215,9 @@ declare type HeadingProps = {
1195
1215
  * Component that sets the heading tag
1196
1216
  * @example <Heading level={1}>Blog Post Title</Heading>
1197
1217
  */
1198
- declare const Heading: ({ level, withMarginBottom, children, ...hAttributes }: HeadingProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1218
+ declare const Heading: ({ level, asSpan, withMarginBottom, children, ...hAttributes }: HeadingProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1199
1219
 
1200
- declare type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
1220
+ type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
1201
1221
  /** sets the title text of the integration */
1202
1222
  title: string;
1203
1223
  /** sets the description text of the integration */
@@ -1221,8 +1241,8 @@ declare type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivE
1221
1241
  */
1222
1242
  declare const IntegrationHeaderSection: ({ title, description, icon, docsLink, badgeText, menu, children, ...props }: IntegrationHeaderSectionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1223
1243
 
1224
- declare type LinkColorProps = 'currentColor' | 'red' | 'green';
1225
- declare type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
1244
+ type LinkColorProps = 'currentColor' | 'red' | 'green';
1245
+ type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
1226
1246
  /** sets the link text and title text */
1227
1247
  text: string;
1228
1248
  /** (optional) sets the link color
@@ -1240,10 +1260,11 @@ declare type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
1240
1260
  * @example <Link text="my link" href="#" />
1241
1261
  */
1242
1262
  declare const Link: React$1.ForwardRefExoticComponent<Pick<LinkProps, "text" | "external" | "linkColor" | keyof React$1.AnchorHTMLAttributes<HTMLAnchorElement>> & React$1.RefAttributes<HTMLAnchorElement>>;
1243
- declare type LinkManagerWithRefType = (props: Partial<LinkProps> & {
1263
+ type LinkManagerWithRefType = (props: Partial<LinkProps> & {
1244
1264
  as?: string;
1245
1265
  href: string;
1246
1266
  passHref: true;
1267
+ legacyBehavior?: boolean;
1247
1268
  } & React$1.RefAttributes<HTMLAnchorElement>) => JSX.Element | null;
1248
1269
  /** Uniform LinkWithRef Component
1249
1270
  * We recommend using this link `next/link`
@@ -1272,7 +1293,7 @@ interface RouteProps {
1272
1293
  as: string;
1273
1294
  href: string;
1274
1295
  }
1275
- declare type PageHeaderSectionProps = React$1.HTMLAttributes<HTMLElement> & {
1296
+ type PageHeaderSectionProps = React$1.HTMLAttributes<HTMLElement> & {
1276
1297
  title: string | undefined;
1277
1298
  desc?: React$1.ReactNode;
1278
1299
  children?: React$1.ReactNode;
@@ -1283,7 +1304,7 @@ declare type PageHeaderSectionProps = React$1.HTMLAttributes<HTMLElement> & {
1283
1304
  };
1284
1305
  declare const PageHeaderSection: ({ title, desc, children, linkText, level, linkProps, linkManagerComponent, ...htmlProps }: PageHeaderSectionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1285
1306
 
1286
- declare type ParagraphProps = {
1307
+ type ParagraphProps = {
1287
1308
  /** (optional) adds child elements to the paragraph tag */
1288
1309
  children?: React$1.ReactNode;
1289
1310
  /** (optional) sets raw html values */
@@ -1297,8 +1318,8 @@ declare type ParagraphProps = {
1297
1318
  */
1298
1319
  declare const Paragraph: ({ className, htmlContent, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1299
1320
 
1300
- declare type StatusTypeProps = 'Modified' | 'Unsaved' | 'Error' | 'Draft' | 'Published' | 'Orphan';
1301
- declare type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
1321
+ type StatusTypeProps = 'Modified' | 'Unsaved' | 'Error' | 'Draft' | 'Published' | 'Orphan';
1322
+ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
1302
1323
  status: StatusTypeProps;
1303
1324
  message?: string;
1304
1325
  hideText?: boolean;