@7shifts/sous-chef 2.15.8 → 2.16.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.
Files changed (183) hide show
  1. package/dist/actions/Button/Button.d.ts +1 -0
  2. package/dist/actions/PaginationControls/PaginationControls.d.ts +1 -0
  3. package/dist/actions/Toggle/Toggle.d.ts +1 -0
  4. package/dist/controls/ToolbarSelect/ToolbarSelect.d.ts +2 -1
  5. package/dist/core/DataTable/DataTable.d.ts +3 -1
  6. package/dist/core/DataTableEditableCell/DataTableEditableCell.d.ts +2 -1
  7. package/dist/core/DataTableRow/DataTableRow.d.ts +1 -1
  8. package/dist/core/Flex/Flex.d.ts +1 -0
  9. package/dist/core/Inline/Inline.d.ts +1 -0
  10. package/dist/core/Stack/Stack.d.ts +1 -0
  11. package/dist/feedback/InlineBanner/InlineBanner.d.ts +1 -0
  12. package/dist/feedback/Spinner/Spinner.d.ts +1 -0
  13. package/dist/forms/CheckboxField/CheckboxField.d.ts +2 -0
  14. package/dist/forms/CurrencyField/CurrencyField.d.ts +1 -1
  15. package/dist/forms/DateField/DateField.d.ts +1 -0
  16. package/dist/forms/DatePickerCalendar/DatePickerCalendar.d.ts +1 -0
  17. package/dist/forms/DateRangeField/DateRangeField.d.ts +1 -0
  18. package/dist/forms/Field/Field.d.ts +1 -0
  19. package/dist/forms/Form/Form.d.ts +1 -0
  20. package/dist/forms/FormRow/FormRow.d.ts +1 -0
  21. package/dist/forms/MultiSelectField/MultiSelectField.d.ts +2 -1
  22. package/dist/forms/PasswordField/PasswordField.d.ts +1 -0
  23. package/dist/forms/PercentageField/PercentageField.d.ts +1 -1
  24. package/dist/forms/PillSelectField/PillSelectField.d.ts +3 -1
  25. package/dist/forms/RadioGroupField/RadioGroupField.d.ts +2 -0
  26. package/dist/forms/RadioGroupOption/RadioGroupOption.d.ts +1 -0
  27. package/dist/forms/SelectField/SelectField.d.ts +2 -0
  28. package/dist/forms/SelectField/useSelectField.d.ts +1 -1
  29. package/dist/forms/TextAreaField/TextAreaField.d.ts +1 -0
  30. package/dist/forms/TextField/TextField.d.ts +1 -0
  31. package/dist/forms/TextField/useTextField.d.ts +1 -1
  32. package/dist/forms/TimeField/TimeField.d.ts +1 -1
  33. package/dist/forms/WeekField/WeekField.d.ts +1 -0
  34. package/dist/foundation/colors.d.ts +2 -8
  35. package/dist/icons/components/IconAnalytics.d.ts +2 -1
  36. package/dist/icons/components/IconArrowDown.d.ts +2 -1
  37. package/dist/icons/components/IconArrowLeft.d.ts +2 -1
  38. package/dist/icons/components/IconArrowRight.d.ts +2 -1
  39. package/dist/icons/components/IconArrowToTop.d.ts +2 -1
  40. package/dist/icons/components/IconArrowUp.d.ts +2 -1
  41. package/dist/icons/components/IconAward.d.ts +2 -1
  42. package/dist/icons/components/IconBalanceScale.d.ts +2 -1
  43. package/dist/icons/components/IconBalanceScaleLeft.d.ts +2 -1
  44. package/dist/icons/components/IconBan.d.ts +2 -1
  45. package/dist/icons/components/IconBarsH.d.ts +2 -1
  46. package/dist/icons/components/IconBarsV.d.ts +2 -1
  47. package/dist/icons/components/IconBell.d.ts +2 -1
  48. package/dist/icons/components/IconBirthdayCake.d.ts +2 -1
  49. package/dist/icons/components/IconBold.d.ts +2 -1
  50. package/dist/icons/components/IconBolt.d.ts +2 -1
  51. package/dist/icons/components/IconBook.d.ts +2 -1
  52. package/dist/icons/components/IconBriefcase.d.ts +2 -1
  53. package/dist/icons/components/IconBullseyeArrow.d.ts +2 -1
  54. package/dist/icons/components/IconCalculator.d.ts +2 -1
  55. package/dist/icons/components/IconCalendar.d.ts +2 -1
  56. package/dist/icons/components/IconCalendarAlt.d.ts +2 -1
  57. package/dist/icons/components/IconCalendarCheck.d.ts +2 -1
  58. package/dist/icons/components/IconCalendarDay.d.ts +2 -1
  59. package/dist/icons/components/IconCalendarExclamation.d.ts +2 -1
  60. package/dist/icons/components/IconCalendarStar.d.ts +2 -1
  61. package/dist/icons/components/IconCalendarTomorrow.d.ts +2 -1
  62. package/dist/icons/components/IconCamera.d.ts +2 -1
  63. package/dist/icons/components/IconCameraSlash.d.ts +2 -1
  64. package/dist/icons/components/IconCashRegister.d.ts +2 -1
  65. package/dist/icons/components/IconChartBar.d.ts +2 -1
  66. package/dist/icons/components/IconCheck.d.ts +2 -1
  67. package/dist/icons/components/IconChevronDown.d.ts +2 -1
  68. package/dist/icons/components/IconChevronLeft.d.ts +2 -1
  69. package/dist/icons/components/IconChevronRight.d.ts +2 -1
  70. package/dist/icons/components/IconChevronUp.d.ts +2 -1
  71. package/dist/icons/components/IconClipboardList.d.ts +2 -1
  72. package/dist/icons/components/IconClock.d.ts +2 -1
  73. package/dist/icons/components/IconCog.d.ts +2 -1
  74. package/dist/icons/components/IconComment.d.ts +2 -1
  75. package/dist/icons/components/IconCommentLines.d.ts +2 -1
  76. package/dist/icons/components/IconCopy.d.ts +2 -1
  77. package/dist/icons/components/IconCreditCard.d.ts +2 -1
  78. package/dist/icons/components/IconCreditCardPlus.d.ts +2 -1
  79. package/dist/icons/components/IconDownload.d.ts +2 -1
  80. package/dist/icons/components/IconEdit.d.ts +2 -1
  81. package/dist/icons/components/IconEllipsisV.d.ts +2 -1
  82. package/dist/icons/components/IconEnvelope.d.ts +2 -1
  83. package/dist/icons/components/IconExclaimation.d.ts +2 -1
  84. package/dist/icons/components/IconExclaimationTriangle.d.ts +2 -1
  85. package/dist/icons/components/IconExpand.d.ts +2 -1
  86. package/dist/icons/components/IconExternalLink.d.ts +2 -1
  87. package/dist/icons/components/IconEye.d.ts +2 -1
  88. package/dist/icons/components/IconEyeSlash.d.ts +2 -1
  89. package/dist/icons/components/IconFile.d.ts +2 -1
  90. package/dist/icons/components/IconFilePdf.d.ts +2 -1
  91. package/dist/icons/components/IconFlag.d.ts +2 -1
  92. package/dist/icons/components/IconFourDotsCircle.d.ts +2 -1
  93. package/dist/icons/components/IconFourSquares.d.ts +2 -1
  94. package/dist/icons/components/IconGavel.d.ts +2 -1
  95. package/dist/icons/components/IconGif.d.ts +2 -1
  96. package/dist/icons/components/IconGift.d.ts +2 -1
  97. package/dist/icons/components/IconGrinBeam.d.ts +2 -1
  98. package/dist/icons/components/IconGripVertical.d.ts +2 -1
  99. package/dist/icons/components/IconHandshake.d.ts +2 -1
  100. package/dist/icons/components/IconImage.d.ts +2 -1
  101. package/dist/icons/components/IconInfoCircle.d.ts +2 -1
  102. package/dist/icons/components/IconIslandTropical.d.ts +2 -1
  103. package/dist/icons/components/IconItalic.d.ts +2 -1
  104. package/dist/icons/components/IconLaptopSearch.d.ts +2 -1
  105. package/dist/icons/components/IconLink.d.ts +2 -1
  106. package/dist/icons/components/IconList.d.ts +2 -1
  107. package/dist/icons/components/IconListOI.d.ts +2 -1
  108. package/dist/icons/components/IconLock.d.ts +2 -1
  109. package/dist/icons/components/IconMagicSolid.d.ts +2 -1
  110. package/dist/icons/components/IconMapMarker.d.ts +2 -1
  111. package/dist/icons/components/IconMegaphone.d.ts +2 -1
  112. package/dist/icons/components/IconMinus.d.ts +2 -1
  113. package/dist/icons/components/IconMinusCircle.d.ts +2 -1
  114. package/dist/icons/components/IconMoneyBill.d.ts +2 -1
  115. package/dist/icons/components/IconNotesMedical.d.ts +2 -1
  116. package/dist/icons/components/IconOvertime.d.ts +2 -1
  117. package/dist/icons/components/IconPaperPlane.d.ts +2 -1
  118. package/dist/icons/components/IconPaperPlaneClock.d.ts +2 -1
  119. package/dist/icons/components/IconPaperclip.d.ts +2 -1
  120. package/dist/icons/components/IconPencil.d.ts +2 -1
  121. package/dist/icons/components/IconPercentage.d.ts +2 -1
  122. package/dist/icons/components/IconPhone.d.ts +2 -1
  123. package/dist/icons/components/IconPlug.d.ts +2 -1
  124. package/dist/icons/components/IconPlus.d.ts +2 -1
  125. package/dist/icons/components/IconPrint.d.ts +2 -1
  126. package/dist/icons/components/IconQuestionCircle.d.ts +2 -1
  127. package/dist/icons/components/IconRepeat.d.ts +2 -1
  128. package/dist/icons/components/IconReply.d.ts +2 -1
  129. package/dist/icons/components/IconSearch.d.ts +2 -1
  130. package/dist/icons/components/IconSignOut.d.ts +2 -1
  131. package/dist/icons/components/IconSitemap.d.ts +2 -1
  132. package/dist/icons/components/IconSlidersH.d.ts +2 -1
  133. package/dist/icons/components/IconSort.d.ts +2 -1
  134. package/dist/icons/components/IconStar.d.ts +2 -1
  135. package/dist/icons/components/IconStarSolid.d.ts +2 -1
  136. package/dist/icons/components/IconStickyNoteLines.d.ts +2 -1
  137. package/dist/icons/components/IconStopwatch.d.ts +2 -1
  138. package/dist/icons/components/IconStrikethrough.d.ts +2 -1
  139. package/dist/icons/components/IconSync.d.ts +2 -1
  140. package/dist/icons/components/IconSyncExclaimation.d.ts +2 -1
  141. package/dist/icons/components/IconTachometer.d.ts +2 -1
  142. package/dist/icons/components/IconTimes.d.ts +2 -1
  143. package/dist/icons/components/IconTimesOctagon.d.ts +2 -1
  144. package/dist/icons/components/IconTrash.d.ts +2 -1
  145. package/dist/icons/components/IconUnderline.d.ts +2 -1
  146. package/dist/icons/components/IconUndo.d.ts +2 -1
  147. package/dist/icons/components/IconUniversity.d.ts +2 -1
  148. package/dist/icons/components/IconUserComputer.d.ts +2 -1
  149. package/dist/icons/components/IconUserFriends.d.ts +2 -1
  150. package/dist/icons/components/IconUserLight.d.ts +2 -1
  151. package/dist/icons/components/IconUserPlus.d.ts +2 -1
  152. package/dist/icons/components/IconUserSlash.d.ts +2 -1
  153. package/dist/icons/components/IconUserSolid.d.ts +2 -1
  154. package/dist/icons/components/IconUserTag.d.ts +2 -1
  155. package/dist/icons/components/IconUserTie.d.ts +2 -1
  156. package/dist/icons/components/IconUsers.d.ts +2 -1
  157. package/dist/icons/components/IconVideo.d.ts +2 -1
  158. package/dist/icons/components/IconVolume.d.ts +2 -1
  159. package/dist/icons/components/IconVolumeMute.d.ts +2 -1
  160. package/dist/icons/components/IconWrench.d.ts +2 -1
  161. package/dist/index.css +126 -37
  162. package/dist/index.js +1351 -469
  163. package/dist/index.js.map +1 -1
  164. package/dist/index.modern.js +1350 -470
  165. package/dist/index.modern.js.map +1 -1
  166. package/dist/media/Avatar/Avatar.d.ts +1 -0
  167. package/dist/media/Badge/Badge.d.ts +1 -0
  168. package/dist/media/Chip/Chip.d.ts +11 -0
  169. package/dist/media/Chip/constants.d.ts +8 -0
  170. package/dist/media/Chip/index.d.ts +1 -0
  171. package/dist/media/Chip/types.d.ts +1 -0
  172. package/dist/media/Pill/Pill.d.ts +10 -0
  173. package/dist/media/Pill/constants.d.ts +7 -0
  174. package/dist/media/Pill/index.d.ts +1 -0
  175. package/dist/media/Pill/types.d.ts +1 -0
  176. package/dist/media/index.d.ts +3 -1
  177. package/dist/overlay/Calendar/Calendar.d.ts +1 -0
  178. package/dist/overlay/Modal/Modal.d.ts +2 -1
  179. package/dist/overlay/Modal/ModalBody/ModalBody.d.ts +2 -1
  180. package/dist/overlay/Modal/ModalFooter/ModalFooter.d.ts +2 -1
  181. package/dist/overlay/Tooltip/Tooltip.d.ts +1 -0
  182. package/dist/overlay/Tooltip/TooltipOverlay/TooltipOverlay.d.ts +1 -0
  183. package/package.json +4 -2
@@ -14,6 +14,7 @@ declare type Props = {
14
14
  title?: string;
15
15
  href?: string;
16
16
  target?: '_blank' | '_self';
17
+ testId?: string;
17
18
  };
18
19
  declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
19
20
  export default _default;
@@ -4,6 +4,7 @@ declare type Props = {
4
4
  hasNext?: boolean;
5
5
  onPreviousClick: () => void;
6
6
  onNextClick: () => void;
7
+ testId?: string;
7
8
  };
8
9
  /**
9
10
  * `PaginationControls` are two buttons side by side.
@@ -7,6 +7,7 @@ declare type Props = {
7
7
  caption?: React.ReactNode;
8
8
  disabled?: boolean;
9
9
  id?: string;
10
+ testId?: string;
10
11
  };
11
12
  /**
12
13
  * Used when you want to allow the user to turn some information ON and OFF.
@@ -10,7 +10,8 @@ declare type Props<T> = {
10
10
  disabled?: boolean;
11
11
  /** Use a prefix for things like icons or symbols (“$”, “¥”, “£”). */
12
12
  prefix: React.ReactNode;
13
+ testId?: string;
13
14
  };
14
15
  /** Toolbar component to make a possible selection from predefined options. */
15
- declare const ToolbarSelect: <T extends unknown>({ name, value, options, onChange, onBlur, placeholder, disabled, prefix, }: Props<T>) => JSX.Element;
16
+ declare const ToolbarSelect: <T extends unknown>({ name, value, options, onChange, onBlur, placeholder, disabled, prefix, testId }: Props<T>) => JSX.Element;
16
17
  export default ToolbarSelect;
@@ -24,6 +24,8 @@ declare type Props<T> = {
24
24
  footerComponent?: React.ReactNode;
25
25
  /** Will render vertical borders between columns if true */
26
26
  hasVerticalBorders?: boolean;
27
+ /** Used to override the default data-testid */
28
+ testId?: string;
27
29
  };
28
- declare const DataTable: <T extends unknown>({ items, columns, itemComponent, maxHeight, hasPrevious, hasNext, onPreviousClick, onNextClick, onSort, isLoading, showActionMenu, footerComponent, hasVerticalBorders }: Props<T>) => JSX.Element;
30
+ declare const DataTable: <T extends unknown>({ items, columns, itemComponent, maxHeight, hasPrevious, hasNext, onPreviousClick, onNextClick, onSort, isLoading, showActionMenu, footerComponent, hasVerticalBorders, testId }: Props<T>) => JSX.Element;
29
31
  export default DataTable;
@@ -16,6 +16,7 @@ declare type Props = {
16
16
  suffix?: React.ReactNode;
17
17
  defaultValue?: string;
18
18
  type?: 'text' | 'currency';
19
+ testId?: string;
19
20
  };
20
- declare const DataTableEditableCell: ({ name, columnIndex, rowIndex, id: inputId, value, onChange, onBlur, placeholder, disabled, error, prefix, suffix, defaultValue, type }: Props) => JSX.Element;
21
+ declare const DataTableEditableCell: ({ name, columnIndex, rowIndex, id: inputId, value, onChange, onBlur, placeholder, disabled, error, prefix, suffix, defaultValue, type, testId }: Props) => JSX.Element;
21
22
  export default DataTableEditableCell;
@@ -7,5 +7,5 @@ declare type Props = {
7
7
  actions?: Action[];
8
8
  hasDefaultPadding?: boolean;
9
9
  } & Omit<React.HTMLProps<HTMLDivElement>, 'css'>;
10
- declare const DataTableRow: React.ForwardRefExoticComponent<Pick<Props, "children" | "type" | "default" | "disabled" | "onClick" | "id" | "title" | "href" | "target" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "pattern" | "key" | "contextMenu" | "list" | "className" | "start" | "wrap" | "dir" | "checked" | "onChange" | "name" | "value" | "onBlur" | "placeholder" | "prefix" | "color" | "content" | "height" | "translate" | "width" | "hidden" | "size" | "open" | "multiple" | "aria-label" | "aria-labelledby" | "autoFocus" | "onFocus" | "onKeyDown" | "tabIndex" | "defaultValue" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "lang" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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-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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "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" | "isSelected" | "actions" | "hasDefaultPadding"> & React.RefAttributes<HTMLDivElement>>;
10
+ declare const DataTableRow: React.ForwardRefExoticComponent<Pick<Props, "children" | "type" | "default" | "disabled" | "onClick" | "id" | "title" | "href" | "target" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "pattern" | "key" | "size" | "color" | "className" | "height" | "lang" | "max" | "media" | "method" | "min" | "name" | "width" | "role" | "tabIndex" | "crossOrigin" | "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" | "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" | "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" | "contextMenu" | "list" | "start" | "wrap" | "dir" | "checked" | "value" | "placeholder" | "prefix" | "content" | "translate" | "hidden" | "open" | "multiple" | "autoFocus" | "defaultValue" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "isSelected" | "actions" | "hasDefaultPadding"> & React.RefAttributes<HTMLDivElement>>;
11
11
  export default DataTableRow;
@@ -11,6 +11,7 @@ declare type Props = {
11
11
  direction?: 'row' | 'column';
12
12
  flexItems?: boolean;
13
13
  flexWrap?: FlexWrap;
14
+ testId?: string;
14
15
  };
15
16
  /**
16
17
  * Flex is a internal component used by Stack and Inline. DON'T use this component outside of Sous Chef
@@ -12,6 +12,7 @@ declare type Props = {
12
12
  justifyContent?: JustifyContent;
13
13
  inlineFlex?: boolean;
14
14
  flexWrap?: FlexWrap;
15
+ testId?: string;
15
16
  };
16
17
  /**
17
18
  * Layout component to easily line elements up in a row.
@@ -11,6 +11,7 @@ declare type Props = {
11
11
  /** One of: `start`, `end`, `center`, `space-between` */
12
12
  justifyContent?: JustifyContent;
13
13
  flexItems?: boolean;
14
+ testId?: string;
14
15
  };
15
16
  /**
16
17
  * Layout component to easily stack elements up in a column.
@@ -8,6 +8,7 @@ declare type Props = {
8
8
  caption?: string;
9
9
  primaryButton?: React.ReactElement;
10
10
  secondaryButton?: React.ReactElement;
11
+ testId?: string;
11
12
  };
12
13
  declare const InlineBanner: React.FC<Props>;
13
14
  export default InlineBanner;
@@ -3,6 +3,7 @@ declare type Props = {
3
3
  size?: number;
4
4
  theme?: 'mint' | 'disabled' | 'contrast' | 'pride';
5
5
  block?: boolean;
6
+ testId?: string;
6
7
  };
7
8
  declare const Spinner: React.FC<Props>;
8
9
  export default Spinner;
@@ -10,6 +10,8 @@ declare type Props = {
10
10
  caption?: React.ReactNode;
11
11
  error?: React.ReactNode;
12
12
  disabled?: boolean;
13
+ /** This is used for setting the data-testid */
14
+ testId?: string;
13
15
  };
14
16
  /** CheckboxField form element. */
15
17
  declare const CheckboxField: React.FC<Props>;
@@ -7,5 +7,5 @@ import type { Props as TextFieldProps } from '../TextField/TextField';
7
7
  */
8
8
  declare const CurrencyField: React.ForwardRefExoticComponent<TextFieldProps & {
9
9
  currencySymbol: string;
10
- } & Pick<TextFieldProps, "disabled" | "id" | "caption" | "label" | "error" | "onChange" | "name" | "value" | "onBlur" | "placeholder" | "autoFocus" | "onFocus" | "onKeyDown" | "defaultValue" | "autoComplete" | "maxLength"> & React.RefAttributes<HTMLInputElement>>;
10
+ } & Pick<TextFieldProps, "disabled" | "id" | "testId" | "caption" | "label" | "name" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "error" | "value" | "placeholder" | "autoFocus" | "defaultValue" | "autoComplete" | "maxLength"> & React.RefAttributes<HTMLInputElement>>;
11
11
  export default CurrencyField;
@@ -18,6 +18,7 @@ declare type Props = {
18
18
  defaultValue?: Date;
19
19
  readOnly?: boolean;
20
20
  onMonthChange?: (month: Date) => void;
21
+ testId: string;
21
22
  };
22
23
  /** DateField form element. */
23
24
  declare const DateField: React.FC<Props>;
@@ -9,6 +9,7 @@ declare type Props = {
9
9
  children: React.ReactNode;
10
10
  showCalendar: boolean;
11
11
  onClickOutside: () => void;
12
+ testId?: string;
12
13
  };
13
14
  declare const DatePickerCalendar: React.FC<Props>;
14
15
  export default DatePickerCalendar;
@@ -18,6 +18,7 @@ declare type Props = {
18
18
  disabled?: boolean;
19
19
  readOnly?: boolean;
20
20
  weekStart?: WeekStart;
21
+ testId?: string;
21
22
  };
22
23
  /** DateRangeField form element. */
23
24
  declare const DateRangeField: React.FC<Props>;
@@ -5,6 +5,7 @@ declare type Props = {
5
5
  caption?: React.ReactNode;
6
6
  error?: React.ReactNode;
7
7
  children: React.ReactNode;
8
+ testId?: string;
8
9
  };
9
10
  declare const Field: React.FC<Props>;
10
11
  export default Field;
@@ -8,6 +8,7 @@ declare type Props = {
8
8
  /** If set it will controll the state of the form using `Formik` */
9
9
  formik?: FormikType;
10
10
  stackContent?: boolean;
11
+ testId?: string;
11
12
  };
12
13
  declare const Form: React.FC<Props>;
13
14
  export default Form;
@@ -14,6 +14,7 @@ declare type Props = {
14
14
  children: React.ReactNode;
15
15
  columns?: number;
16
16
  sizes?: Size[];
17
+ testId?: string;
17
18
  };
18
19
  /** Easily add form fields side by side with equal size. */
19
20
  declare const FormRow: React.FC<Props>;
@@ -21,7 +21,8 @@ declare type Props<T> = {
21
21
  closeOnSelect?: boolean;
22
22
  /** When the user opens the menu, if this prop is `true`, it will scroll the page into to the menu view (if its content falls under a scroll). It is recomended to disable this behaviour when using the `MultiSelectField` inside a modal. */
23
23
  menuShouldScrollIntoView?: boolean;
24
+ testId?: string;
24
25
  };
25
26
  /** Component to make possible choose from a predefined options. */
26
- declare const MultiSelectField: <T extends unknown>({ name, id: inputId, value, options, onChange, onBlur, CustomOption: UserCustomOption, label, caption, error, placeholder, noOptionsMessage, disabled, closeOnSelect, menuShouldScrollIntoView }: Props<T>) => JSX.Element;
27
+ declare const MultiSelectField: <T extends unknown>({ name, id: inputId, value, options, onChange, onBlur, CustomOption: UserCustomOption, label, caption, error, placeholder, noOptionsMessage, disabled, closeOnSelect, menuShouldScrollIntoView, testId }: Props<T>) => JSX.Element;
27
28
  export default MultiSelectField;
@@ -13,6 +13,7 @@ declare type Props = {
13
13
  disabled?: boolean;
14
14
  defaultValue?: string;
15
15
  criterias?: PasswordCriteria[];
16
+ testId?: string;
16
17
  };
17
18
  /** It allows show and hide the password as well as displaying the criteria. */
18
19
  declare const PasswordField: React.FC<Props>;
@@ -9,5 +9,5 @@ declare const PercentageField: React.ForwardRefExoticComponent<{
9
9
  min?: number | undefined;
10
10
  precision?: number | undefined;
11
11
  stepSize?: number | undefined;
12
- } & Pick<TextFieldProps, "disabled" | "id" | "caption" | "label" | "error" | "onChange" | "name" | "value" | "onBlur" | "placeholder" | "prefix" | "autoFocus" | "onFocus" | "onKeyDown" | "defaultValue" | "autoComplete"> & React.RefAttributes<HTMLInputElement>>;
12
+ } & Pick<TextFieldProps, "disabled" | "id" | "testId" | "caption" | "label" | "name" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "error" | "value" | "placeholder" | "prefix" | "autoFocus" | "defaultValue" | "autoComplete"> & React.RefAttributes<HTMLInputElement>>;
13
13
  export default PercentageField;
@@ -11,7 +11,9 @@ declare type Props<T> = {
11
11
  caption?: React.ReactNode;
12
12
  error?: React.ReactNode;
13
13
  disabled?: boolean;
14
+ /** This is used for setting the data-testid */
15
+ testId?: string;
14
16
  };
15
17
  /** PillSelectField form element. */
16
- declare const PillSelectField: <T extends unknown>({ name, id: inputId, value, options, onChange, label, caption, error, disabled }: Props<T>) => JSX.Element;
18
+ declare const PillSelectField: <T extends unknown>({ name, id: inputId, value, options, onChange, label, caption, error, disabled, testId }: Props<T>) => JSX.Element;
17
19
  export default PillSelectField;
@@ -9,6 +9,8 @@ declare type Props = {
9
9
  inline?: boolean;
10
10
  disabled?: boolean;
11
11
  children: React.ReactNode;
12
+ /** This is used for setting the data-testid */
13
+ testId?: string;
12
14
  };
13
15
  /** RadioGroupField form element. */
14
16
  declare const RadioGroupField: React.FC<Props>;
@@ -4,6 +4,7 @@ declare type Props = {
4
4
  id?: string;
5
5
  label?: React.ReactNode;
6
6
  caption?: React.ReactNode;
7
+ testId?: string;
7
8
  };
8
9
  /** RadioGroupField form element. */
9
10
  declare const RadioGroupOption: React.FC<Props>;
@@ -26,6 +26,8 @@ export declare type Props<T> = {
26
26
  defaultValue?: SelectOption<T>;
27
27
  CustomOption?: React.ElementType;
28
28
  SelectedOptionPrefix?: React.ElementType;
29
+ /** This is used for setting the data-testid */
30
+ testId?: string;
29
31
  };
30
32
  /** Component to make possible choose from a predefined options. */
31
33
  declare const SelectField: <T extends unknown>(props: Props<T>) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { Props } from './SelectField';
3
- export declare const useSelectField: <T extends unknown>({ asToolbarFilter, caption, disabled, error, id, isClearable, label, menuShouldScrollIntoView, name, noOptionsMessage, options, onBlur, onChange, placeholder, value, defaultValue, CustomOption: UserCustomOption, SelectedOptionPrefix }: Props<T>) => {
3
+ export declare const useSelectField: <T extends unknown>({ asToolbarFilter, caption, disabled, error, id, isClearable, label, menuShouldScrollIntoView, name, noOptionsMessage, options, onBlur, onChange, placeholder, value, defaultValue, CustomOption: UserCustomOption, SelectedOptionPrefix, testId }: Props<T>) => {
4
4
  selectProps: Pick<import("react-select").Props<import("react-select").OptionTypeBase, boolean, import("react-select").GroupTypeBase<any>>, React.ReactText> & import("react-select/src/stateManager").Props<import("react-select").OptionTypeBase, boolean, import("react-select").GroupTypeBase<any>> & import("react-select").Props<import("react-select").OptionTypeBase, boolean, import("react-select").GroupTypeBase<any>>;
5
5
  fieldProps: {
6
6
  caption: React.ReactNode;
@@ -20,6 +20,7 @@ declare type Props = {
20
20
  maxHeight?: number;
21
21
  /** A JSX containing the toolbar elements. You can use `Inline` to place the buttons properly on the toolbar space. */
22
22
  toolbar?: React.ReactNode;
23
+ testId?: string;
23
24
  };
24
25
  declare const TextAreaField: React.FC<Props>;
25
26
  export default TextAreaField;
@@ -22,6 +22,7 @@ export declare type Props = {
22
22
  /** Use suffix for things like units of measure (“in”, “cm”, ”hours”) or icons. */
23
23
  suffix?: React.ReactNode;
24
24
  value?: string;
25
+ testId?: string;
25
26
  };
26
27
  declare const TextField: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
27
28
  export default TextField;
@@ -4,7 +4,7 @@ import type { Props } from './TextField';
4
4
  declare type UseTextFieldProps = Props & {
5
5
  ref: RefType<HTMLInputElement>;
6
6
  };
7
- export declare const useTextField: ({ autoComplete, autoFocus, defaultValue, disabled, error, id, maxLength, name, caption, label, onBlur, onChange, onFocus, onKeyDown, placeholder, value, ref }: UseTextFieldProps) => {
7
+ export declare const useTextField: ({ autoComplete, autoFocus, defaultValue, disabled, error, id, maxLength, name, caption, label, onBlur, onChange, onFocus, onKeyDown, placeholder, value, ref, testId }: UseTextFieldProps) => {
8
8
  inputProps: {
9
9
  'aria-describedby': string;
10
10
  'aria-invalid': boolean;
@@ -5,5 +5,5 @@ import type { Props as TextFieldProps } from '../TextField/TextField';
5
5
  *
6
6
  * At the end, it is just a string formatted nicely. **You are in charge of validating the value and parsing it back to a value that you can use on your application**.
7
7
  */
8
- declare const TimeField: React.ForwardRefExoticComponent<Pick<TextFieldProps, "disabled" | "id" | "caption" | "label" | "error" | "onChange" | "name" | "value" | "onBlur" | "placeholder" | "autoFocus" | "onFocus" | "onKeyDown" | "defaultValue" | "autoComplete" | "maxLength"> & React.RefAttributes<HTMLInputElement>>;
8
+ declare const TimeField: React.ForwardRefExoticComponent<Pick<TextFieldProps, "disabled" | "id" | "testId" | "caption" | "label" | "name" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "error" | "value" | "placeholder" | "autoFocus" | "defaultValue" | "autoComplete" | "maxLength"> & React.RefAttributes<HTMLInputElement>>;
9
9
  export default TimeField;
@@ -19,6 +19,7 @@ declare type Props = {
19
19
  defaultValue?: Date;
20
20
  readOnly?: boolean;
21
21
  weekStart?: WeekStart;
22
+ testId?: string;
22
23
  };
23
24
  /** WeekField form element. */
24
25
  declare const WeekField: React.FC<Props>;
@@ -6,44 +6,38 @@ export declare const TANGERINE300: '#fcab91';
6
6
  export declare const TANGERINE400: '#fb7448';
7
7
  export declare const TANGERINE500: '#e16840';
8
8
  export declare const TANGERINE600: '#96452b';
9
- export declare const TANGERINE700: '#4a2215';
10
9
  export declare const EGGPLANT100: '#f0f3fb';
11
10
  export declare const EGGPLANT200: '#d3dbf4';
12
11
  export declare const EGGPLANT300: '#a7b7ea';
13
12
  export declare const EGGPLANT400: '#6d87dd';
14
13
  export declare const EGGPLANT500: '#6179c6';
15
14
  export declare const EGGPLANT600: '#415184';
16
- export declare const EGGPLANT700: '#32295c';
17
15
  export declare const MINT100: '#ecfaf8';
18
16
  export declare const MINT200: '#c6f1eb';
19
17
  export declare const MINT300: '#8de4d7';
20
18
  export declare const MINT400: '#3abda9';
21
19
  export declare const MINT500: '#35ac9a';
22
20
  export declare const MINT600: '#277e71';
23
- export declare const MINT700: '#133e38';
24
21
  export declare const RADISH100: '#fcf0f0';
25
22
  export declare const RADISH200: '#f7d1d1';
26
23
  export declare const RADISH300: '#f0a3a3';
27
24
  export declare const RADISH400: '#e76767';
28
25
  export declare const RADISH500: '#cf5c5c';
29
26
  export declare const RADISH600: '#8a3d3d';
30
- export declare const RADISH700: '#441e1e';
31
27
  export declare const BLUEBERRY100: '#f6fdff';
32
28
  export declare const BLUEBERRY200: '#ceecf5';
33
29
  export declare const BLUEBERRY300: '#9cd9eb';
34
30
  export declare const BLUEBERRY400: '#5bc0de';
35
31
  export declare const BLUEBERRY500: '#51acc7';
36
32
  export declare const BLUEBERRY600: '#367385';
37
- export declare const BLUEBERRY700: '#1b3942';
38
33
  export declare const BANANA100: '#fff9ed';
39
34
  export declare const BANANA200: '#ffeec9';
40
35
  export declare const BANANA300: '#ffdd92';
41
36
  export declare const BANANA400: '#ffc74a';
42
37
  export declare const BANANA500: '#e5b242';
43
38
  export declare const BANANA600: '#99772c';
44
- export declare const BANANA700: '#4c3b16';
45
39
  export declare const GREY100: '#F3F3F3';
46
- export declare const GREY200: '#C8C8C8';
40
+ export declare const GREY200: '#D5D5D5';
47
41
  export declare const GREY300: '#949494';
48
42
  export declare const GREY400: '#767676';
49
43
  export declare const GREY500: '#464646';
@@ -56,4 +50,4 @@ export declare const COLORS: {
56
50
  BLUEBERRY: string;
57
51
  BANANA: string;
58
52
  };
59
- export declare type Color = typeof WHITE | typeof BLACK | typeof TANGERINE100 | typeof TANGERINE200 | typeof TANGERINE300 | typeof TANGERINE400 | typeof TANGERINE500 | typeof TANGERINE600 | typeof TANGERINE700 | typeof EGGPLANT100 | typeof EGGPLANT200 | typeof EGGPLANT300 | typeof EGGPLANT400 | typeof EGGPLANT500 | typeof EGGPLANT600 | typeof EGGPLANT700 | typeof MINT100 | typeof MINT200 | typeof MINT300 | typeof MINT400 | typeof MINT500 | typeof MINT600 | typeof MINT700 | typeof RADISH100 | typeof RADISH200 | typeof RADISH300 | typeof RADISH400 | typeof RADISH500 | typeof RADISH600 | typeof RADISH700 | typeof BLUEBERRY100 | typeof BLUEBERRY200 | typeof BLUEBERRY300 | typeof BLUEBERRY400 | typeof BLUEBERRY500 | typeof BLUEBERRY600 | typeof BLUEBERRY700 | typeof BANANA100 | typeof BANANA200 | typeof BANANA300 | typeof BANANA400 | typeof BANANA500 | typeof BANANA600 | typeof BANANA700 | typeof GREY100 | typeof GREY200 | typeof GREY300 | typeof GREY400 | typeof GREY500 | typeof GREY600;
53
+ export declare type Color = typeof WHITE | typeof BLACK | typeof TANGERINE100 | typeof TANGERINE200 | typeof TANGERINE300 | typeof TANGERINE400 | typeof TANGERINE500 | typeof TANGERINE600 | typeof EGGPLANT100 | typeof EGGPLANT200 | typeof EGGPLANT300 | typeof EGGPLANT400 | typeof EGGPLANT500 | typeof EGGPLANT600 | typeof MINT100 | typeof MINT200 | typeof MINT300 | typeof MINT400 | typeof MINT500 | typeof MINT600 | typeof RADISH100 | typeof RADISH200 | typeof RADISH300 | typeof RADISH400 | typeof RADISH500 | typeof RADISH600 | typeof BLUEBERRY100 | typeof BLUEBERRY200 | typeof BLUEBERRY300 | typeof BLUEBERRY400 | typeof BLUEBERRY500 | typeof BLUEBERRY600 | typeof BANANA100 | typeof BANANA200 | typeof BANANA300 | typeof BANANA400 | typeof BANANA500 | typeof BANANA600 | typeof GREY100 | typeof GREY200 | typeof GREY300 | typeof GREY400 | typeof GREY500 | typeof GREY600;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconAnalytics: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconAnalytics;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconArrowDown: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconArrowDown;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconArrowLeft: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconArrowLeft;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconArrowRight: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconArrowRight;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconArrowToTop: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconArrowToTop;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconArrowUp: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconArrowUp;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconAward: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconAward;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconBalanceScale: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconBalanceScale;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconBalanceScaleLeft: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconBalanceScaleLeft;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconBan: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconBan;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconBarsH: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconBarsH;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconBarsV: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconBarsV;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconBell: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconBell;
@@ -3,9 +3,10 @@ import { IconSize } from '../types';
3
3
  declare type Props = {
4
4
  size?: IconSize;
5
5
  color?: string;
6
+ testId?: string;
6
7
  } & React.SVGProps<SVGSVGElement>;
7
8
  declare const IconBirthdayCake: {
8
- (props: Props): JSX.Element;
9
+ ({ testId, ...props }: Props): JSX.Element;
9
10
  displayName: string;
10
11
  };
11
12
  export default IconBirthdayCake;