@uniformdev/design-system 16.2.4 → 17.1.1-alpha.151

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
@@ -36,15 +36,48 @@ declare const breakpoints: breakpointsProps;
36
36
  * @example `${mq('md')} { background: red; }`
37
37
  */
38
38
  declare const mq: (size: breakpointSizeProps) => string;
39
+ /**
40
+ * Media Query Helper Function
41
+ * @function
42
+ * @param {string} cssProp - The css property you want to check support
43
+ * @returns {string} - compiled supports query e.g. supports (display: grid) {}
44
+ * @example `${supports('display: grid)} { display: grid; }`
45
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@supports
46
+ */
47
+ declare const supports: (cssProp: string) => string;
39
48
 
40
49
  declare const labelText: _emotion_react.SerializedStyles;
41
- declare const input: _emotion_react.SerializedStyles;
50
+ declare const input: (whiteSpaceWrap: 'wrap' | 'nowrap') => _emotion_react.SerializedStyles;
42
51
  declare const inputError: _emotion_react.SerializedStyles;
43
52
  declare const inputSelect: _emotion_react.SerializedStyles;
44
53
 
45
54
  /** Custom scrollbar styles */
46
55
  declare const scrollbarStyles: _emotion_react.SerializedStyles;
47
56
 
57
+ /**
58
+ * growSubtle animation
59
+ * @description - increases the size of an element from scale(1) - scale(1.15) and back down to scale(1) using transform: scale(1)
60
+ */
61
+ declare const growSubtle: _emotion_react.Keyframes;
62
+ /**
63
+ * fadeInBottom animation
64
+ * @description - fades in an element from the Y axis by 10px
65
+ */
66
+ declare const fadeInBottom: _emotion_react.Keyframes;
67
+ /**
68
+ * fadeOutBottom animation
69
+ * @description - fades out an element from the Y axis by 10px
70
+ */
71
+ declare const fadeOutBottom: _emotion_react.Keyframes;
72
+ /**
73
+ * fadeIn animation
74
+ * @description - fade in an element from 0 to 1 opacity
75
+ */
76
+ declare const fadeIn: _emotion_react.Keyframes;
77
+ declare const ripple: _emotion_react.Keyframes;
78
+ declare const skeletonLoading: _emotion_react.Keyframes;
79
+ declare const fadeInLtr: _emotion_react.Keyframes;
80
+
48
81
  declare type UniformLogoProps = {
49
82
  /** sets a light or dark theme for the uniform badge or logo component
50
83
  * @default "light"
@@ -90,6 +123,17 @@ declare type ButtonProps = ButtonProps$1 & {
90
123
  */
91
124
  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" | "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" | "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" | "name" | "focusable" | "buttonType" | "size" | "unstable_system" | "disabled" | "unstable_clickOnEnter" | "unstable_clickOnSpace" | "wrapElement" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "rounded"> & React$1.RefAttributes<HTMLButtonElement>>;
92
125
 
126
+ declare const button: _emotion_react.SerializedStyles;
127
+ declare const buttonRippleEffect: (props: {
128
+ hoverColor: string;
129
+ activeColor?: string;
130
+ }) => _emotion_react.SerializedStyles;
131
+ declare const buttonPrimary: _emotion_react.SerializedStyles;
132
+ declare const buttonSecondary: _emotion_react.SerializedStyles;
133
+ declare const buttonUnimportant: _emotion_react.SerializedStyles;
134
+ declare const buttonGhost: _emotion_react.SerializedStyles;
135
+ declare const buttonTertiary: _emotion_react.SerializedStyles;
136
+
93
137
  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"];
94
138
  /** A list of available icon names that can be used with the Uniform brand */
95
139
  declare type IconName = typeof iconNames[number];
@@ -201,7 +245,7 @@ declare type ComboBoxGroupBase<TOption> = GroupBase<TOption>;
201
245
  /**
202
246
  * InputComboBox
203
247
  * @component
204
- * @example <InputComboBox name="name" id="combo-box" options=[{ value: 'chocolate', label: 'Chocolate' }, { value: 'strawberry', label: 'Strawberry' }, { value: 'vanilla', label: 'Vanilla' }] /> */
248
+ * @example <InputComboBox name="name" id="combo-box" options={[{ value: 'chocolate', label: 'Chocolate' }, { value: 'strawberry', label: 'Strawberry' }, { value: 'vanilla', label: 'Vanilla' }]} isMulti /> */
205
249
  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;
206
250
 
207
251
  declare type InputInlineSelectOption = {
@@ -309,12 +353,18 @@ declare type InputToggleProps = React$1.HTMLAttributes<HTMLInputElement> & {
309
353
  caption?: string;
310
354
  /** (optional) sets shows the the error message value */
311
355
  errorMessage?: string;
356
+ /** (optional) sets the font weight of the label text
357
+ * @default 'bold'
358
+ */
359
+ fontWeight?: 'normal' | 'medium' | 'bold';
360
+ /** (optional) sets test id for test automation*/
361
+ testId?: string;
312
362
  };
313
363
  /**
314
364
  * Component that creates a checkbox or radio input field
315
365
  * @example <InputToggle label="Do you like ice cream?" type="checkbox" name="ice-cream" />
316
366
  */
317
- declare const InputToggle: ({ label, type, disabled, checked, name, caption, errorMessage, ...props }: InputToggleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
367
+ declare const InputToggle: ({ label, type, disabled, checked, name, caption, errorMessage, testId, fontWeight, ...props }: InputToggleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
318
368
 
319
369
  declare type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & {
320
370
  /** (optional) sets the label value */
@@ -370,6 +420,7 @@ declare const useMenuContext: () => MenuStateReturn;
370
420
  */
371
421
  declare const Menu: ({ menuLabel, menuTrigger, placement, menuItemsContainerCssClasses, children, }: MenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
372
422
 
423
+ declare type MenuItemTextThemeProps = 'base' | 'red';
373
424
  declare type MenuItemProps = MenuItemHTMLProps & {
374
425
  /** sets child elements within the component */
375
426
  children: ChildFunction | React$1.ReactNode;
@@ -379,6 +430,10 @@ declare type MenuItemProps = MenuItemHTMLProps & {
379
430
  icon?: React$1.ReactElement;
380
431
  /** When an element is disabled, it may still be focusable. It works similarly to readOnly on form elements. In this case, only aria-disabled will be set. */
381
432
  focusable?: boolean;
433
+ /** (optional) set the menu item text color
434
+ * @default 'base'
435
+ */
436
+ textColor?: MenuItemTextThemeProps;
382
437
  };
383
438
  declare type ChildFunction = (menuItemProps: MenuItemHTMLProps) => React$1.ReactElement | null;
384
439
  /**
@@ -445,16 +500,22 @@ declare type HeadingProps = {
445
500
  level?: LevelProps;
446
501
  /** sets the title value */
447
502
  children: React$1.ReactNode;
503
+ /** (optional) sets whether to use the default margin for the heading element
504
+ * @default true
505
+ */
506
+ withMarginBottom?: boolean;
448
507
  } & React$1.HTMLAttributes<HTMLHeadingElement>;
449
508
  /**
450
509
  * Component that sets the heading tag
451
510
  * @example <Heading level={1}>Blog Post Title</Heading>
452
511
  */
453
- declare const Heading: ({ level, children, ...hAttributes }: HeadingProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
512
+ declare const Heading: ({ level, withMarginBottom, children, ...hAttributes }: HeadingProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
454
513
 
455
514
  declare type ParagraphProps = {
456
- /** adds child elements to the paragraph tag */
457
- children: React$1.ReactNode;
515
+ /** (optional) adds child elements to the paragraph tag */
516
+ children?: React$1.ReactNode;
517
+ /** (optional) sets raw html values */
518
+ htmlContent?: string | string[];
458
519
  /** (optional) allows user to set overriding class names or emotion styles */
459
520
  className?: SerializedStyles | string;
460
521
  } & React$1.HTMLAttributes<HTMLParagraphElement>;
@@ -462,7 +523,7 @@ declare type ParagraphProps = {
462
523
  * Component for generic paragraph tags
463
524
  * @example <Paragraph>This is the text that was be inside the paragraph tag.</Paragraph>
464
525
  */
465
- declare const Paragraph: ({ className, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
526
+ declare const Paragraph: ({ className, htmlContent, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
466
527
 
467
528
  declare type LinkColorProps = 'currentColor' | 'red' | 'green';
468
529
  declare type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
@@ -474,8 +535,81 @@ declare type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
474
535
  linkColor?: LinkColorProps;
475
536
  /** (optional) sets whether the link is external or not adding an icon to the link */
476
537
  external?: boolean;
538
+ /** (optional) For supporting inside next/link component */
539
+ ref?: React$1.ForwardedRef<HTMLAnchorElement>;
540
+ /** (optional) sets react child elements */
541
+ children?: React$1.ReactNode;
542
+ };
543
+ /** Uniform Link Component
544
+ * @example <Link text="my link" href="#" />
545
+ */
546
+ declare const Link: ({ external, text, linkColor, children, ...props }: LinkProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
547
+ declare type LinkManagerWithRefType = (props: Partial<LinkProps> & {
548
+ as?: string;
549
+ href: string;
550
+ passHref: true;
551
+ } & React$1.RefAttributes<HTMLAnchorElement>) => JSX.Element | null;
552
+ /** Uniform LinkWithRef Component
553
+ * We recommend using this link `next/link`
554
+ * @example <LinkWithRef linkManagerComponent={NextLink} href="some-url" text="my link" />
555
+ */
556
+ declare const LinkWithRef: React$1.ForwardRefExoticComponent<Pick<React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
557
+ /** sets the link text and title text */
558
+ text: string;
559
+ /** (optional) sets the link color
560
+ * @default 'currentColor'
561
+ */
562
+ linkColor?: LinkColorProps | undefined;
563
+ /** (optional) sets whether the link is external or not adding an icon to the link */
564
+ external?: boolean | undefined;
565
+ /** (optional) For supporting inside next/link component */
566
+ ref?: React$1.ForwardedRef<HTMLAnchorElement> | undefined;
567
+ /** (optional) sets react child elements */
568
+ children?: React$1.ReactNode;
569
+ } & {
570
+ href: string;
571
+ as?: string | undefined;
572
+ linkManagerComponent: LinkManagerWithRefType;
573
+ }, "text" | "as" | "external" | "linkColor" | "linkManagerComponent" | keyof React$1.AnchorHTMLAttributes<HTMLAnchorElement>> & React$1.RefAttributes<HTMLAnchorElement>>;
574
+
575
+ interface RouteProps {
576
+ as: string;
577
+ href: string;
578
+ }
579
+ declare type PageHeaderSectionProps = React$1.HTMLAttributes<HTMLElement> & {
580
+ title: string | undefined;
581
+ desc?: React$1.ReactNode;
582
+ children?: React$1.ReactNode;
583
+ linkProps?: RouteProps;
584
+ linkText?: string;
585
+ level?: LevelProps;
586
+ linkManagerComponent: LinkManagerWithRefType;
477
587
  };
478
- declare const Link: ({ external, text, linkColor, ...props }: LinkProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
588
+ declare const PageHeaderSection: ({ title, desc, children, linkText, level, linkProps, linkManagerComponent, ...htmlProps }: PageHeaderSectionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
589
+
590
+ declare type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
591
+ /** sets the title text of the integration */
592
+ title: string;
593
+ /** sets the description text of the integration */
594
+ description: string | string[];
595
+ /** (optional) sets the icon of the integration */
596
+ icon?: string | React$1.ComponentType<{
597
+ className?: string;
598
+ }>;
599
+ /** (optional) sets the react child elements*/
600
+ children?: React$1.ReactNode;
601
+ /** (optional) sets an external link to documentation */
602
+ docsLink?: string;
603
+ /** (optional) sets the badge text of the integration */
604
+ badgeText?: string;
605
+ /** (optional) location for the menu options to be positioned */
606
+ menu?: React$1.ReactNode;
607
+ };
608
+ /**
609
+ * Uniform Integration Header Section Component
610
+ * @Example <IntegrationHeaderSection title="custom integration" description="custom integration description text" />
611
+ */
612
+ declare const IntegrationHeaderSection: ({ title, description, icon, docsLink, badgeText, menu, children, ...props }: IntegrationHeaderSectionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
479
613
 
480
614
  declare type ScrollableListProps = {
481
615
  /** (optional) sets the label value */
@@ -692,4 +826,221 @@ declare type LimitsBarProps = {
692
826
  */
693
827
  declare const LimitsBar: ({ current, max, label }: LimitsBarProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
694
828
 
695
- export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, BoxHeightProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, ChildFunction, ComboBoxGroupBase, DashedBox, DashedBoxProps, ErrorMessage, ErrorMessageProps, Heading, HeadingProps, Icon, IconColor, IconProps, IconType, IconsProvider, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, Label, LabelProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkProps, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuProps, Paragraph, ParagraphProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, input, inputError, inputSelect, labelText, mq, scrollbarStyles, useIconContext, useMenuContext };
829
+ declare type ArrowPositionProps = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom';
830
+ declare type InlineAlertProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
831
+ /** sets the id of the popup and the aria-controls attibute on the close button
832
+ * @example 'my-alert-box'
833
+ */
834
+ id: string;
835
+ /** sets the title of the inline alert message */
836
+ title: string;
837
+ /** sets the text of the inline alert message */
838
+ text: string;
839
+ /** (optional) sets the position of the arrow
840
+ * @default 'left-top'
841
+ */
842
+ arrowPosition?: ArrowPositionProps;
843
+ /** (optional) allows to position alert using direct css */
844
+ positionCss?: SerializedStyles;
845
+ };
846
+ /**
847
+ * Uniform Inline Alert Component
848
+ * @example <InlineAlert id="my-alert-box" title="my alert box" text="some description text" />
849
+ */
850
+ declare const InlineAlert: ({ id, title, text, arrowPosition, positionCss, ...btnProps }: InlineAlertProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
851
+
852
+ interface IntegrationTileFields {
853
+ icon?: string | React.ComponentType<{
854
+ className?: string;
855
+ }> | undefined;
856
+ name: string;
857
+ }
858
+
859
+ declare type IntegrationTileProps = IntegrationTileFields & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
860
+ id: string;
861
+ requiedEntitlement?: boolean | undefined;
862
+ onAddIntegration: () => void;
863
+ isPublic?: boolean;
864
+ isInstalled?: boolean;
865
+ authorIcon?: string | React$1.ComponentType<{
866
+ className?: string;
867
+ }> | undefined;
868
+ };
869
+ declare const IntegrationTile: ({ id, icon, name, requiedEntitlement, onAddIntegration, isPublic, isInstalled, authorIcon, ...btnProps }: IntegrationTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
870
+
871
+ declare type CreateTeamIntegrationTileProps = React.HTMLAttributes<HTMLDivElement> & {
872
+ /** (optional) sets the title value
873
+ * @default 'Create a custom integration'
874
+ */
875
+ title?: string;
876
+ /** (optional) sets the button text value
877
+ * @default 'Add Integration'
878
+ */
879
+ buttonText?: string;
880
+ /** sets the button function call */
881
+ onClick: () => void;
882
+ /** (optional) sets the icon position and icon type
883
+ * @default 'false'
884
+ */
885
+ asDeepLink?: boolean;
886
+ };
887
+ declare const CreateTeamIntegrationTile: ({ title, buttonText, onClick, asDeepLink, ...props }: CreateTeamIntegrationTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
888
+
889
+ declare type EditTeamIntegrationTileProps = IntegrationTileFields & {
890
+ /** sets the id value */
891
+ id: string;
892
+ /** sets the function call for the button */
893
+ onEdit: () => void;
894
+ /** (optional) sets whether the integration is public or not */
895
+ isPublic?: boolean;
896
+ /** displays the edit button component */
897
+ canEdit: boolean;
898
+ };
899
+ /** Uniform Edit Team Integration Tile
900
+ * @example <EditTeamIntegrationTile id="example" onEdit={() => func()} canEdit={true} isPublis={true} name="example" icon="./image.svg" />
901
+ */
902
+ declare const EditTeamIntegrationTile: ({ id, icon, name, onEdit, isPublic, canEdit, }: EditTeamIntegrationTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
903
+
904
+ declare type TileContainerProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
905
+ /** sets react child elements */
906
+ children: React$1.ReactNode;
907
+ };
908
+ /**
909
+ * Uniform Tile Container Component
910
+ * @example <TileContainer><div>child content</div></TileContainer>
911
+ */
912
+ declare const TileContainer: ({ children, ...props }: TileContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
913
+
914
+ declare type IntegrationComingSoonProps = IntegrationTileFields & React.HTMLAttributes<HTMLDivElement> & {
915
+ /** sets the id and data-testid value */
916
+ id: string;
917
+ /** click event used for tracking analytics data */
918
+ onUpVoteClick: () => void;
919
+ /** (optional) sets the thank you message visibility duration
920
+ * @default 1000
921
+ */
922
+ timing?: number;
923
+ };
924
+ /**
925
+ * Uniform Integration Coming Soon Component
926
+ * @example <IntegrationComingSoon id="piedpiper" name="Pied Piper" icon="./piedpiper.svg" onUpVoteClick={() => someFunc()} />
927
+ */
928
+ declare const IntegrationComingSoon: ({ name, icon, id, onUpVoteClick, timing, ...props }: IntegrationComingSoonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
929
+
930
+ declare type ClassNameOptions = 'logo' | 'author';
931
+ declare type ResolveIconProps = IntegrationTileFields & React__default.SVGAttributes<SVGElement> & React__default.ImgHTMLAttributes<HTMLImageElement> & {
932
+ /** sets the emotion styles for the rendered image
933
+ * @default 'logo'
934
+ */
935
+ styleType?: ClassNameOptions;
936
+ };
937
+ /** Uniform Resolve Icon Component
938
+ * @example <ResolveIcon icon="/my-image.png" name="my image" />
939
+ */
940
+ declare const ResolveIcon: ({ icon, name, styleType, ...props }: ResolveIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
941
+
942
+ declare type IntegrationModalIconProps = React$1.ImgHTMLAttributes<HTMLImageElement> & {
943
+ /** sets the icon as inline svg or img tag */
944
+ icon: string | React$1.ComponentType<{
945
+ className?: string;
946
+ }> | undefined;
947
+ /** sets the alt text of the image */
948
+ name: string;
949
+ };
950
+ /**
951
+ * Uniform Integration Modal Icon
952
+ * @example <IntegrationModalIcon name="name" icon="/my-icon.svg" />
953
+ */
954
+ declare const IntegrationModalIcon: ({ icon, name, ...imgProps }: IntegrationModalIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
955
+
956
+ declare type IntegrationLoadingTileProps = {
957
+ /** (optional) sets the number of skeletal loading elements to show
958
+ * @default 1
959
+ */
960
+ count?: number;
961
+ };
962
+ /** Uniform Integration Loading Tile
963
+ * @example <IntegrationLoadingTile count={10} />
964
+ */
965
+ declare const IntegrationLoadingTile: ({ count }: IntegrationLoadingTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
966
+
967
+ declare type BadgeProps = {
968
+ /** sets the text of the badge */
969
+ text: string;
970
+ };
971
+ /**
972
+ * Uniform Badge Component
973
+ * @example <Badge text="My badge" />
974
+ */
975
+ declare const Badge: ({ text }: BadgeProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
976
+
977
+ declare type IntegrationModalHeaderProps = {
978
+ /** sets the icon as inline svg or img tag */
979
+ icon: string | React$1.ComponentType<{
980
+ className?: string;
981
+ }> | undefined | null;
982
+ /** sets the alt text of the image */
983
+ name: string | undefined;
984
+ /** (optional) sets react child elements */
985
+ children?: React$1.ReactNode;
986
+ /** (optional) sets child elements in */
987
+ menu?: React$1.ReactNode;
988
+ };
989
+ declare type HexModalBackgroundProps = React$1.SVGAttributes<SVGElement>;
990
+ declare const HexModalBackground: ({ ...props }: HexModalBackgroundProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
991
+ /** Uniform Integration Modal Header
992
+ * @example <IntegrationModalHeader icon="/icon.svg" name="name" />
993
+ */
994
+ declare const IntegrationModalHeader: ({ icon, name, menu, children }: IntegrationModalHeaderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
995
+
996
+ declare type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
997
+ /** (optional) sets the title value of the card */
998
+ title?: string;
999
+ /** (optional) sets react child components */
1000
+ children?: React$1.ReactNode;
1001
+ /** (optional) sets options for a dropdown menu */
1002
+ menuItems?: JSX.Element;
1003
+ /** (optional) sets the data-test-id attribute on the button element
1004
+ * @default 'list-card-menu'
1005
+ */
1006
+ menuButtonTestId?: string;
1007
+ /** (optional) sets the menu button disabled state */
1008
+ disabled?: boolean;
1009
+ };
1010
+ declare const Card: ({ title, menuItems, children, disabled, menuButtonTestId, ...props }: CardProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1011
+
1012
+ declare type CardContainerBgColorProps = 'gray' | 'white';
1013
+ declare type CardContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
1014
+ /** (optional): sets the background colour of the wrapping element
1015
+ * @default 'white'
1016
+ */
1017
+ bgColor?: CardContainerBgColorProps;
1018
+ /** (optional): sets react child components */
1019
+ children?: React$1.ReactNode;
1020
+ /** (optional): sets the padding values of the inner container
1021
+ * @example 'when set to true padding: var(--spacing-2xl) var(--spacing-lg)'
1022
+ * @default true
1023
+ */
1024
+ padding?: boolean;
1025
+ /** (optional): sets the padding values of the inner container
1026
+ * @example `when set to true`
1027
+ * grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) [last-col] minmax(300px, 1fr);
1028
+ * grid-template-rows: auto [last-line];
1029
+ * @default false
1030
+ */
1031
+ withLastColumn?: boolean;
1032
+ };
1033
+ /** Uniform Card Container
1034
+ * @example <CardContainer><Card title="card title" /></CardContainer>
1035
+ */
1036
+ declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...props }: CardContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1037
+
1038
+ declare type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
1039
+ /** sets the title field */
1040
+ title: string;
1041
+ /** (optional) sets react child component */
1042
+ children?: React$1.ReactNode;
1043
+ };
1044
+ declare const LinkList: ({ title, children, ...props }: LinkListProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1045
+
1046
+ export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, ChildFunction, ComboBoxGroupBase, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Heading, HeadingProps, HexModalBackground, Icon, IconColor, IconName, IconProps, IconType, IconsProvider, 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, Label, LabelProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkProps, LinkWithRef, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ResolveIcon, ResolveIconProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, TileContainer, TileContainerProps, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, button, buttonGhost, buttonPrimary, buttonRippleEffect, buttonSecondary, buttonTertiary, buttonUnimportant, fadeIn, fadeInBottom, fadeInLtr, fadeOutBottom, growSubtle, input, inputError, inputSelect, labelText, mq, ripple, scrollbarStyles, skeletonLoading, supports, useIconContext, useMenuContext };