@7shifts/sous-chef 3.30.0 → 3.30.1

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 (526) hide show
  1. package/dist/actions/Button/Button.d.ts +30 -31
  2. package/dist/actions/Button/constants.d.ts +28 -28
  3. package/dist/actions/Button/index.d.ts +1 -1
  4. package/dist/actions/Button/types.d.ts +4 -4
  5. package/dist/actions/Link/Link.d.ts +12 -12
  6. package/dist/actions/Link/constants.d.ts +8 -8
  7. package/dist/actions/Link/index.d.ts +1 -1
  8. package/dist/actions/Link/types.d.ts +2 -2
  9. package/dist/actions/PaginationControls/PaginationControls.d.ts +15 -15
  10. package/dist/actions/PaginationControls/constants.d.ts +4 -4
  11. package/dist/actions/PaginationControls/index.d.ts +1 -1
  12. package/dist/actions/Toggle/Toggle.d.ts +19 -19
  13. package/dist/actions/Toggle/index.d.ts +1 -1
  14. package/dist/actions/index.d.ts +5 -5
  15. package/dist/controls/DateFilter/DateFilter.d.ts +12 -12
  16. package/dist/controls/DateFilter/DateFilterDisplay/DateFilterDisplay.d.ts +11 -11
  17. package/dist/controls/DateFilter/DateFilterDisplay/DateFilterText/DateFilterText.d.ts +10 -10
  18. package/dist/controls/DateFilter/DateFilterDisplay/DateFilterText/domain.d.ts +2 -2
  19. package/dist/controls/DateFilter/DateFilterDisplay/index.d.ts +1 -1
  20. package/dist/controls/DateFilter/DateFilterStepper/DateFilterStepper.d.ts +11 -11
  21. package/dist/controls/DateFilter/DateFilterStepper/domain.d.ts +2 -2
  22. package/dist/controls/DateFilter/DateFilterStepper/index.d.ts +1 -1
  23. package/dist/controls/DateFilter/constants.d.ts +9 -9
  24. package/dist/controls/DateFilter/index.d.ts +1 -1
  25. package/dist/controls/DateFilter/types.d.ts +3 -3
  26. package/dist/controls/SegmentedControl/SegmentedControl.d.ts +9 -9
  27. package/dist/controls/SegmentedControl/index.d.ts +1 -1
  28. package/dist/controls/ToolbarSelect/ToolbarSelect.d.ts +6 -6
  29. package/dist/controls/ToolbarSelect/ToolbarSelect.styles.d.ts +5 -5
  30. package/dist/controls/ToolbarSelect/index.d.ts +1 -1
  31. package/dist/controls/index.d.ts +6 -6
  32. package/dist/core/Portal/Portal.d.ts +6 -6
  33. package/dist/core/Portal/index.d.ts +1 -1
  34. package/dist/core/SousChefProvider/SousChefProvider.d.ts +6 -6
  35. package/dist/core/SousChefProvider/index.d.ts +1 -1
  36. package/dist/core/index.d.ts +2 -2
  37. package/dist/empty_states/EmptyState/EmptyState.d.ts +5 -5
  38. package/dist/empty_states/EmptyState/index.d.ts +1 -1
  39. package/dist/empty_states/EmptyStateContainer/EmptyStateContainer.d.ts +4 -4
  40. package/dist/empty_states/EmptyStateContainer/EmptyStateContainerCTA/EmptyStateContainerCTA.d.ts +11 -11
  41. package/dist/empty_states/EmptyStateContainer/EmptyStateContainerCTA/index.d.ts +1 -1
  42. package/dist/empty_states/EmptyStateContainer/EmptyStateContainerInline/EmptyStateContainerInline.d.ts +4 -4
  43. package/dist/empty_states/EmptyStateContainer/EmptyStateContainerInline/index.d.ts +1 -1
  44. package/dist/empty_states/EmptyStateContainer/EmptyStateContainerStack/EmptyStateContainerStack.d.ts +4 -4
  45. package/dist/empty_states/EmptyStateContainer/EmptyStateContainerStack/index.d.ts +1 -1
  46. package/dist/empty_states/EmptyStateContainer/constants.d.ts +5 -5
  47. package/dist/empty_states/EmptyStateContainer/index.d.ts +1 -1
  48. package/dist/empty_states/EmptyStateContainer/types.d.ts +24 -24
  49. package/dist/empty_states/Paywall/Paywall.d.ts +4 -4
  50. package/dist/empty_states/Paywall/index.d.ts +1 -1
  51. package/dist/empty_states/index.d.ts +3 -3
  52. package/dist/feedback/CircularProgress/CircularProgress.d.ts +9 -9
  53. package/dist/feedback/CircularProgress/index.d.ts +1 -1
  54. package/dist/feedback/InlineBanner/ButtonCTA/ButtonCTA.d.ts +10 -10
  55. package/dist/feedback/InlineBanner/ButtonCTA/index.d.ts +1 -1
  56. package/dist/feedback/InlineBanner/InlineBanner.d.ts +15 -15
  57. package/dist/feedback/InlineBanner/InlineBannerCTA/InlineBannerCTA.d.ts +11 -11
  58. package/dist/feedback/InlineBanner/InlineBannerCTA/index.d.ts +1 -1
  59. package/dist/feedback/InlineBanner/InlineBannerIcon/InlineBannerIcon.d.ts +7 -7
  60. package/dist/feedback/InlineBanner/InlineBannerIcon/index.d.ts +1 -1
  61. package/dist/feedback/InlineBanner/constants.d.ts +11 -11
  62. package/dist/feedback/InlineBanner/index.d.ts +1 -1
  63. package/dist/feedback/InlineBanner/types.d.ts +1 -1
  64. package/dist/feedback/PersistentBanner/PersistentBanner.d.ts +13 -13
  65. package/dist/feedback/PersistentBanner/constants.d.ts +5 -5
  66. package/dist/feedback/PersistentBanner/index.d.ts +1 -1
  67. package/dist/feedback/PersistentBanner/types.d.ts +1 -1
  68. package/dist/feedback/Progress/domain.d.ts +11 -11
  69. package/dist/feedback/Progress/useProgress.d.ts +18 -18
  70. package/dist/feedback/ProgressBar/ProgressBar.d.ts +9 -9
  71. package/dist/feedback/ProgressBar/index.d.ts +1 -1
  72. package/dist/feedback/Skeleton/Skeleton.d.ts +14 -14
  73. package/dist/feedback/Skeleton/constants.d.ts +9 -9
  74. package/dist/feedback/Skeleton/index.d.ts +1 -1
  75. package/dist/feedback/Skeleton/types.d.ts +1 -1
  76. package/dist/feedback/Spinner/Spinner.d.ts +9 -9
  77. package/dist/feedback/Spinner/constants.d.ts +6 -6
  78. package/dist/feedback/Spinner/index.d.ts +1 -1
  79. package/dist/feedback/Toast/Toast.d.ts +10 -10
  80. package/dist/feedback/Toast/constants.d.ts +5 -5
  81. package/dist/feedback/Toast/index.d.ts +1 -1
  82. package/dist/feedback/Toast/types.d.ts +1 -1
  83. package/dist/feedback/index.d.ts +8 -8
  84. package/dist/forms/AffixContainer/AffixContainer.d.ts +9 -9
  85. package/dist/forms/AffixContainer/index.d.ts +1 -1
  86. package/dist/forms/AsyncSelectField/AsyncSelectField.d.ts +15 -15
  87. package/dist/forms/AsyncSelectField/CustomList/CustomList.d.ts +8 -8
  88. package/dist/forms/AsyncSelectField/CustomList/index.d.ts +1 -1
  89. package/dist/forms/AsyncSelectField/index.d.ts +1 -1
  90. package/dist/forms/AsyncSelectField/types.d.ts +5 -5
  91. package/dist/forms/Caption/Caption.d.ts +7 -7
  92. package/dist/forms/Caption/index.d.ts +1 -1
  93. package/dist/forms/CheckboxField/CheckboxField.d.ts +18 -18
  94. package/dist/forms/CheckboxField/index.d.ts +1 -1
  95. package/dist/forms/CurrencyField/CurrencyField.d.ts +12 -12
  96. package/dist/forms/CurrencyField/index.d.ts +1 -1
  97. package/dist/forms/DateField/DateField.d.ts +27 -27
  98. package/dist/forms/DateField/index.d.ts +1 -1
  99. package/dist/forms/DateRangeField/DateRangeCalendar/DateRangeCalendar.d.ts +22 -22
  100. package/dist/forms/DateRangeField/DateRangeCalendar/index.d.ts +1 -1
  101. package/dist/forms/DateRangeField/DateRangeField.d.ts +26 -26
  102. package/dist/forms/DateRangeField/FromDate/FromDate.d.ts +20 -20
  103. package/dist/forms/DateRangeField/FromDate/index.d.ts +1 -1
  104. package/dist/forms/DateRangeField/ToDate/ToDate.d.ts +19 -19
  105. package/dist/forms/DateRangeField/ToDate/index.d.ts +1 -1
  106. package/dist/forms/DateRangeField/index.d.ts +1 -1
  107. package/dist/forms/ErrorMessage/ErrorMessage.d.ts +8 -8
  108. package/dist/forms/ErrorMessage/index.d.ts +1 -1
  109. package/dist/forms/Field/Field.d.ts +11 -11
  110. package/dist/forms/Field/index.d.ts +1 -1
  111. package/dist/forms/Form/Form.d.ts +14 -14
  112. package/dist/forms/Form/FormContext.d.ts +8 -8
  113. package/dist/forms/Form/index.d.ts +1 -1
  114. package/dist/forms/Form/types.d.ts +3 -3
  115. package/dist/forms/FormFeedback/FormFeedback.d.ts +8 -8
  116. package/dist/forms/FormFeedback/index.d.ts +1 -1
  117. package/dist/forms/FormFooter/FormFooter.d.ts +12 -12
  118. package/dist/forms/FormFooter/FormFooterActions/FormFooterActions.d.ts +10 -10
  119. package/dist/forms/FormFooter/domain.d.ts +2 -2
  120. package/dist/forms/FormFooter/index.d.ts +1 -1
  121. package/dist/forms/FormRow/FormRow.d.ts +21 -21
  122. package/dist/forms/FormRow/index.d.ts +1 -1
  123. package/dist/forms/FormSection/FormSection.d.ts +10 -10
  124. package/dist/forms/FormSection/index.d.ts +1 -1
  125. package/dist/forms/Label/Label.d.ts +8 -8
  126. package/dist/forms/Label/domain.d.ts +1 -1
  127. package/dist/forms/Label/index.d.ts +1 -1
  128. package/dist/forms/Label/useLabelTooltip.d.ts +7 -7
  129. package/dist/forms/MultiSelectField/MultiSelectField.d.ts +34 -34
  130. package/dist/forms/MultiSelectField/index.d.ts +1 -1
  131. package/dist/forms/PasswordCriteria/PasswordCriteria.d.ts +7 -7
  132. package/dist/forms/PasswordCriteria/index.d.ts +1 -1
  133. package/dist/forms/PasswordField/PasswordField.d.ts +20 -20
  134. package/dist/forms/PasswordField/index.d.ts +1 -1
  135. package/dist/forms/PasswordField/types.d.ts +5 -5
  136. package/dist/forms/PercentageField/PercentageField.d.ts +13 -13
  137. package/dist/forms/PercentageField/index.d.ts +1 -1
  138. package/dist/forms/PhoneField/CountrySelector/CountrySelector.d.ts +10 -10
  139. package/dist/forms/PhoneField/CountrySelector/index.d.ts +1 -1
  140. package/dist/forms/PhoneField/PhoneField.d.ts +21 -21
  141. package/dist/forms/PhoneField/constants.d.ts +738 -738
  142. package/dist/forms/PhoneField/index.d.ts +1 -1
  143. package/dist/forms/PhoneField/types.d.ts +7 -7
  144. package/dist/forms/PhoneField/usePhoneField.d.ts +35 -35
  145. package/dist/forms/PillSelectField/PillSelectField.d.ts +19 -19
  146. package/dist/forms/PillSelectField/index.d.ts +1 -1
  147. package/dist/forms/RadioGroupBoxOption/RadioGroupBoxOption.d.ts +12 -12
  148. package/dist/forms/RadioGroupBoxOption/index.d.ts +1 -1
  149. package/dist/forms/RadioGroupField/BoxOptions/BoxOptions.d.ts +8 -8
  150. package/dist/forms/RadioGroupField/BoxOptions/index.d.ts +1 -1
  151. package/dist/forms/RadioGroupField/RadioGroupField.d.ts +25 -25
  152. package/dist/forms/RadioGroupField/RadioGroupFieldContext.d.ts +10 -10
  153. package/dist/forms/RadioGroupField/RadioOptions/RadioOptions.d.ts +9 -9
  154. package/dist/forms/RadioGroupField/RadioOptions/index.d.ts +1 -1
  155. package/dist/forms/RadioGroupField/domain.d.ts +6 -6
  156. package/dist/forms/RadioGroupField/index.d.ts +1 -1
  157. package/dist/forms/RadioGroupOption/RadioGroupOption.d.ts +12 -12
  158. package/dist/forms/RadioGroupOption/index.d.ts +1 -1
  159. package/dist/forms/SelectField/CustomContainer/CustomContainer.d.ts +2 -2
  160. package/dist/forms/SelectField/CustomContainer/index.d.ts +1 -1
  161. package/dist/forms/SelectField/CustomControl/CustomControl.d.ts +5 -5
  162. package/dist/forms/SelectField/CustomControl/index.d.ts +1 -1
  163. package/dist/forms/SelectField/CustomMenu/CustomMenu.d.ts +5 -5
  164. package/dist/forms/SelectField/CustomMenu/index.d.ts +1 -1
  165. package/dist/forms/SelectField/CustomOption/CustomOption.d.ts +2 -2
  166. package/dist/forms/SelectField/CustomOption/index.d.ts +1 -1
  167. package/dist/forms/SelectField/SelectField.d.ts +41 -41
  168. package/dist/forms/SelectField/SelectField.styles.d.ts +7 -7
  169. package/dist/forms/SelectField/domain.d.ts +5 -5
  170. package/dist/forms/SelectField/index.d.ts +1 -1
  171. package/dist/forms/SelectField/types.d.ts +21 -21
  172. package/dist/forms/SelectField/useSelectField.d.ts +15 -12
  173. package/dist/forms/TextAreaField/TextAreaField.d.ts +28 -28
  174. package/dist/forms/TextAreaField/index.d.ts +1 -1
  175. package/dist/forms/TextField/TextField.d.ts +28 -28
  176. package/dist/forms/TextField/index.d.ts +1 -1
  177. package/dist/forms/TextField/useTextField.d.ts +38 -38
  178. package/dist/forms/TimeField/TimeField.d.ts +26 -26
  179. package/dist/forms/TimeField/TimeFieldDropdown/TimeFieldDropdown.d.ts +13 -13
  180. package/dist/forms/TimeField/TimeFieldDropdown/index.d.ts +1 -1
  181. package/dist/forms/TimeField/TimeFieldDropdownTrigger/TimeFieldDropdownTrigger.d.ts +10 -10
  182. package/dist/forms/TimeField/TimeFieldDropdownTrigger/index.d.ts +1 -1
  183. package/dist/forms/TimeField/TimeFieldInput/TimeFieldInput.d.ts +10 -10
  184. package/dist/forms/TimeField/TimeFieldInput/index.d.ts +1 -1
  185. package/dist/forms/TimeField/domain.d.ts +4 -4
  186. package/dist/forms/TimeField/index.d.ts +1 -1
  187. package/dist/forms/TimeRangeField/TimeRangeEnd/TimeRangeEnd.d.ts +6 -6
  188. package/dist/forms/TimeRangeField/TimeRangeEnd/index.d.ts +1 -1
  189. package/dist/forms/TimeRangeField/TimeRangeField.d.ts +20 -20
  190. package/dist/forms/TimeRangeField/TimeRangeStart/TimeRangeStart.d.ts +6 -6
  191. package/dist/forms/TimeRangeField/TimeRangeStart/index.d.ts +1 -1
  192. package/dist/forms/TimeRangeField/index.d.ts +1 -1
  193. package/dist/forms/TimeRangeField/types.d.ts +10 -10
  194. package/dist/forms/WeekField/WeekField.d.ts +26 -26
  195. package/dist/forms/WeekField/index.d.ts +1 -1
  196. package/dist/forms/hooks/useCheckBoxFieldControllers.d.ts +18 -18
  197. package/dist/forms/hooks/useDateFieldControllers.d.ts +18 -18
  198. package/dist/forms/hooks/useFieldControllers.d.ts +24 -24
  199. package/dist/forms/hooks/useFieldId.d.ts +6 -6
  200. package/dist/forms/hooks/useGrowTextAreaRef.d.ts +10 -10
  201. package/dist/forms/hooks/useMultiSelectFieldControllers.d.ts +19 -19
  202. package/dist/forms/hooks/usePasswordCriteria.d.ts +3 -3
  203. package/dist/forms/hooks/usePhoneFieldControllers.d.ts +20 -20
  204. package/dist/forms/hooks/useRadioGroupFieldControllers.d.ts +15 -15
  205. package/dist/forms/hooks/useRangeFieldControllers.d.ts +18 -18
  206. package/dist/forms/hooks/useSelectFieldControllers.d.ts +20 -20
  207. package/dist/forms/hooks/useShouldScrollMenuIntoView.d.ts +1 -1
  208. package/dist/forms/index.d.ts +30 -30
  209. package/dist/foundation/constants.d.ts +1 -1
  210. package/dist/foundation/domain.d.ts +4 -2
  211. package/dist/foundation/tokens/color/color-codes.d.ts +46 -46
  212. package/dist/foundation/tokens/color/color-constants.d.ts +46 -46
  213. package/dist/foundation/tokens/color/color-types.d.ts +1 -1
  214. package/dist/foundation/tokens/zindex/z-index-constants.d.ts +8 -8
  215. package/dist/foundation/tokens/zindex/z-index-types.d.ts +1 -1
  216. package/dist/foundation/tokens/zindex/z-index-values.d.ts +8 -8
  217. package/dist/foundation/types.d.ts +25 -0
  218. package/dist/hooks/useIsMounted.d.ts +1 -1
  219. package/dist/hooks/useLocalStorage.d.ts +2 -2
  220. package/dist/hooks/usePortalContainer.d.ts +4 -4
  221. package/dist/hooks/usePositionStyles.d.ts +5 -5
  222. package/dist/icons/components/IconAnalytics.d.ts +9 -9
  223. package/dist/icons/components/IconArrowDown.d.ts +9 -9
  224. package/dist/icons/components/IconArrowDownWideShort.d.ts +9 -9
  225. package/dist/icons/components/IconArrowLeft.d.ts +9 -9
  226. package/dist/icons/components/IconArrowRight.d.ts +9 -9
  227. package/dist/icons/components/IconArrowToTop.d.ts +9 -9
  228. package/dist/icons/components/IconArrowTurnDownRight.d.ts +9 -9
  229. package/dist/icons/components/IconArrowUp.d.ts +9 -9
  230. package/dist/icons/components/IconAward.d.ts +9 -9
  231. package/dist/icons/components/IconAwful.d.ts +9 -9
  232. package/dist/icons/components/IconAwfulMonochromatic.d.ts +9 -9
  233. package/dist/icons/components/IconBad.d.ts +9 -9
  234. package/dist/icons/components/IconBadMonochromatic.d.ts +9 -9
  235. package/dist/icons/components/IconBalanceScale.d.ts +9 -9
  236. package/dist/icons/components/IconBalanceScaleLeft.d.ts +9 -9
  237. package/dist/icons/components/IconBan.d.ts +9 -9
  238. package/dist/icons/components/IconBarsH.d.ts +9 -9
  239. package/dist/icons/components/IconBarsV.d.ts +9 -9
  240. package/dist/icons/components/IconBell.d.ts +9 -9
  241. package/dist/icons/components/IconBirthdayCake.d.ts +9 -9
  242. package/dist/icons/components/IconBold.d.ts +9 -9
  243. package/dist/icons/components/IconBolt.d.ts +9 -9
  244. package/dist/icons/components/IconBook.d.ts +9 -9
  245. package/dist/icons/components/IconBriefcase.d.ts +9 -9
  246. package/dist/icons/components/IconBullseyeArrow.d.ts +9 -9
  247. package/dist/icons/components/IconCalculator.d.ts +9 -9
  248. package/dist/icons/components/IconCalendar.d.ts +9 -9
  249. package/dist/icons/components/IconCalendarAlt.d.ts +9 -9
  250. package/dist/icons/components/IconCalendarCheck.d.ts +9 -9
  251. package/dist/icons/components/IconCalendarDay.d.ts +9 -9
  252. package/dist/icons/components/IconCalendarExclamation.d.ts +9 -9
  253. package/dist/icons/components/IconCalendarStar.d.ts +9 -9
  254. package/dist/icons/components/IconCalendarTomorrow.d.ts +9 -9
  255. package/dist/icons/components/IconCamera.d.ts +9 -9
  256. package/dist/icons/components/IconCameraSlash.d.ts +9 -9
  257. package/dist/icons/components/IconCashRegister.d.ts +9 -9
  258. package/dist/icons/components/IconChartBar.d.ts +9 -9
  259. package/dist/icons/components/IconCheck.d.ts +9 -9
  260. package/dist/icons/components/IconCheckCircleIncomplete.d.ts +9 -9
  261. package/dist/icons/components/IconChevronDown.d.ts +9 -9
  262. package/dist/icons/components/IconChevronLeft.d.ts +9 -9
  263. package/dist/icons/components/IconChevronRight.d.ts +9 -9
  264. package/dist/icons/components/IconChevronUp.d.ts +9 -9
  265. package/dist/icons/components/IconClipboardList.d.ts +9 -9
  266. package/dist/icons/components/IconClock.d.ts +9 -9
  267. package/dist/icons/components/IconCog.d.ts +9 -9
  268. package/dist/icons/components/IconComment.d.ts +9 -9
  269. package/dist/icons/components/IconCommentLines.d.ts +9 -9
  270. package/dist/icons/components/IconCopy.d.ts +9 -9
  271. package/dist/icons/components/IconCreditCard.d.ts +9 -9
  272. package/dist/icons/components/IconCreditCardPlus.d.ts +9 -9
  273. package/dist/icons/components/IconDecent.d.ts +9 -9
  274. package/dist/icons/components/IconDecentMonochromatic.d.ts +9 -9
  275. package/dist/icons/components/IconDownload.d.ts +9 -9
  276. package/dist/icons/components/IconEdit.d.ts +9 -9
  277. package/dist/icons/components/IconEllipsisV.d.ts +9 -9
  278. package/dist/icons/components/IconEnvelope.d.ts +9 -9
  279. package/dist/icons/components/IconEnvelopeOpenDollar.d.ts +9 -9
  280. package/dist/icons/components/IconExclaimation.d.ts +9 -9
  281. package/dist/icons/components/IconExclaimationTriangle.d.ts +9 -9
  282. package/dist/icons/components/IconExpand.d.ts +9 -9
  283. package/dist/icons/components/IconExternalLink.d.ts +9 -9
  284. package/dist/icons/components/IconEye.d.ts +9 -9
  285. package/dist/icons/components/IconEyeSlash.d.ts +9 -9
  286. package/dist/icons/components/IconFile.d.ts +9 -9
  287. package/dist/icons/components/IconFilePdf.d.ts +9 -9
  288. package/dist/icons/components/IconFlag.d.ts +9 -9
  289. package/dist/icons/components/IconFourDotsCircle.d.ts +9 -9
  290. package/dist/icons/components/IconFourSquares.d.ts +9 -9
  291. package/dist/icons/components/IconGavel.d.ts +9 -9
  292. package/dist/icons/components/IconGif.d.ts +9 -9
  293. package/dist/icons/components/IconGift.d.ts +9 -9
  294. package/dist/icons/components/IconGood.d.ts +9 -9
  295. package/dist/icons/components/IconGoodMonochromatic.d.ts +9 -9
  296. package/dist/icons/components/IconGreat.d.ts +9 -9
  297. package/dist/icons/components/IconGreatMonochromatic.d.ts +9 -9
  298. package/dist/icons/components/IconGrinBeam.d.ts +9 -9
  299. package/dist/icons/components/IconGripVertical.d.ts +9 -9
  300. package/dist/icons/components/IconHandshake.d.ts +9 -9
  301. package/dist/icons/components/IconImage.d.ts +9 -9
  302. package/dist/icons/components/IconInfoCircle.d.ts +9 -9
  303. package/dist/icons/components/IconIslandTropical.d.ts +9 -9
  304. package/dist/icons/components/IconItalic.d.ts +9 -9
  305. package/dist/icons/components/IconLaptopSearch.d.ts +9 -9
  306. package/dist/icons/components/IconLink.d.ts +9 -9
  307. package/dist/icons/components/IconList.d.ts +9 -9
  308. package/dist/icons/components/IconListOI.d.ts +9 -9
  309. package/dist/icons/components/IconLock.d.ts +9 -9
  310. package/dist/icons/components/IconMagicSolid.d.ts +9 -9
  311. package/dist/icons/components/IconMapMarker.d.ts +9 -9
  312. package/dist/icons/components/IconMegaphone.d.ts +9 -9
  313. package/dist/icons/components/IconMessages.d.ts +9 -9
  314. package/dist/icons/components/IconMinus.d.ts +9 -9
  315. package/dist/icons/components/IconMinusCircle.d.ts +9 -9
  316. package/dist/icons/components/IconMoneyBill.d.ts +9 -9
  317. package/dist/icons/components/IconMugSaucerSolid.d.ts +9 -9
  318. package/dist/icons/components/IconNotesMedical.d.ts +9 -9
  319. package/dist/icons/components/IconOvertime.d.ts +9 -9
  320. package/dist/icons/components/IconPaperPlane.d.ts +9 -9
  321. package/dist/icons/components/IconPaperPlaneClock.d.ts +9 -9
  322. package/dist/icons/components/IconPaperclip.d.ts +9 -9
  323. package/dist/icons/components/IconPencil.d.ts +9 -9
  324. package/dist/icons/components/IconPercentage.d.ts +9 -9
  325. package/dist/icons/components/IconPhone.d.ts +9 -9
  326. package/dist/icons/components/IconPlug.d.ts +9 -9
  327. package/dist/icons/components/IconPlus.d.ts +9 -9
  328. package/dist/icons/components/IconPrint.d.ts +9 -9
  329. package/dist/icons/components/IconQuestionCircle.d.ts +9 -9
  330. package/dist/icons/components/IconRepeat.d.ts +9 -9
  331. package/dist/icons/components/IconReply.d.ts +9 -9
  332. package/dist/icons/components/IconRocket.d.ts +9 -9
  333. package/dist/icons/components/IconSearch.d.ts +9 -9
  334. package/dist/icons/components/IconSignOut.d.ts +9 -9
  335. package/dist/icons/components/IconSitemap.d.ts +9 -9
  336. package/dist/icons/components/IconSlidersH.d.ts +9 -9
  337. package/dist/icons/components/IconSort.d.ts +9 -9
  338. package/dist/icons/components/IconStar.d.ts +9 -9
  339. package/dist/icons/components/IconStarSolid.d.ts +9 -9
  340. package/dist/icons/components/IconStickyNoteLines.d.ts +9 -9
  341. package/dist/icons/components/IconStopwatch.d.ts +9 -9
  342. package/dist/icons/components/IconStrikethrough.d.ts +9 -9
  343. package/dist/icons/components/IconSync.d.ts +9 -9
  344. package/dist/icons/components/IconSyncExclaimation.d.ts +9 -9
  345. package/dist/icons/components/IconTable.d.ts +9 -9
  346. package/dist/icons/components/IconTachometer.d.ts +9 -9
  347. package/dist/icons/components/IconTimes.d.ts +9 -9
  348. package/dist/icons/components/IconTimesOctagon.d.ts +9 -9
  349. package/dist/icons/components/IconTrash.d.ts +9 -9
  350. package/dist/icons/components/IconUnderline.d.ts +9 -9
  351. package/dist/icons/components/IconUndo.d.ts +9 -9
  352. package/dist/icons/components/IconUniversity.d.ts +9 -9
  353. package/dist/icons/components/IconUnlock.d.ts +9 -9
  354. package/dist/icons/components/IconUserComputer.d.ts +9 -9
  355. package/dist/icons/components/IconUserFriends.d.ts +9 -9
  356. package/dist/icons/components/IconUserLight.d.ts +9 -9
  357. package/dist/icons/components/IconUserPlus.d.ts +9 -9
  358. package/dist/icons/components/IconUserSearch.d.ts +9 -9
  359. package/dist/icons/components/IconUserSlash.d.ts +9 -9
  360. package/dist/icons/components/IconUserSolid.d.ts +9 -9
  361. package/dist/icons/components/IconUserTag.d.ts +9 -9
  362. package/dist/icons/components/IconUserTie.d.ts +9 -9
  363. package/dist/icons/components/IconUsers.d.ts +9 -9
  364. package/dist/icons/components/IconVideo.d.ts +9 -9
  365. package/dist/icons/components/IconVolume.d.ts +9 -9
  366. package/dist/icons/components/IconVolumeMute.d.ts +9 -9
  367. package/dist/icons/components/IconWrench.d.ts +9 -9
  368. package/dist/icons/components/index.d.ts +146 -146
  369. package/dist/icons/constants.d.ts +6 -6
  370. package/dist/icons/icon-typescript-template.d.ts +9 -9
  371. package/dist/icons/iconUtils.d.ts +8 -8
  372. package/dist/icons/index.d.ts +1 -1
  373. package/dist/icons/types.d.ts +1 -1
  374. package/dist/index.d.ts +17 -17
  375. package/dist/index.js +194 -194
  376. package/dist/index.js.map +1 -1
  377. package/dist/index.modern.js +194 -194
  378. package/dist/index.modern.js.map +1 -1
  379. package/dist/layout/CalloutCard/CalloutCard.d.ts +15 -15
  380. package/dist/layout/CalloutCard/index.d.ts +1 -1
  381. package/dist/layout/Card/Card.d.ts +13 -13
  382. package/dist/layout/Card/index.d.ts +1 -1
  383. package/dist/layout/Flex/Flex.d.ts +23 -23
  384. package/dist/layout/Flex/index.d.ts +1 -1
  385. package/dist/layout/Flex/types.d.ts +8 -8
  386. package/dist/layout/Inline/Inline.d.ts +23 -23
  387. package/dist/layout/Inline/index.d.ts +1 -1
  388. package/dist/layout/Page/Page.d.ts +22 -22
  389. package/dist/layout/Page/PageBreadcrumbs/PageBreadcrumbs.d.ts +7 -7
  390. package/dist/layout/Page/PageBreadcrumbs/index.d.ts +1 -1
  391. package/dist/layout/Page/constants.d.ts +4 -4
  392. package/dist/layout/Page/index.d.ts +1 -1
  393. package/dist/layout/Page/types.d.ts +6 -6
  394. package/dist/layout/Stack/Stack.d.ts +22 -22
  395. package/dist/layout/Stack/index.d.ts +1 -1
  396. package/dist/layout/index.d.ts +7 -7
  397. package/dist/lists/DataTable/DataTable.d.ts +35 -35
  398. package/dist/lists/DataTable/DataTableContext.d.ts +12 -12
  399. package/dist/lists/DataTable/DataTableCoverShadow/DataTableCoverShadow.d.ts +8 -8
  400. package/dist/lists/DataTable/DataTableCoverShadow/index.d.ts +1 -1
  401. package/dist/lists/DataTable/DataTableDefaultItemComponent/DataTableDefaultItemComponent.d.ts +4 -4
  402. package/dist/lists/DataTable/DataTableDefaultItemComponent/index.d.ts +1 -1
  403. package/dist/lists/DataTable/DataTableHeader/ColumnSizes/ColumnSizes.d.ts +8 -8
  404. package/dist/lists/DataTable/DataTableHeader/ColumnSizes/index.d.ts +1 -1
  405. package/dist/lists/DataTable/DataTableHeader/DataTableHeader.d.ts +9 -9
  406. package/dist/lists/DataTable/DataTableHeader/HeaderSortIcon/HeaderSortIcon.d.ts +7 -7
  407. package/dist/lists/DataTable/DataTableHeader/HeaderSortIcon/index.d.ts +1 -1
  408. package/dist/lists/DataTable/DataTableHeader/constants.d.ts +2 -2
  409. package/dist/lists/DataTable/DataTableHeader/domain.d.ts +2 -2
  410. package/dist/lists/DataTable/DataTableHeader/types.d.ts +4 -4
  411. package/dist/lists/DataTable/DataTableLoadingBlock/DataTableLoadingBlock.d.ts +7 -7
  412. package/dist/lists/DataTable/DataTableLoadingBlock/index.d.ts +1 -1
  413. package/dist/lists/DataTable/DataTableScrollFakeBorder/DataTableScrollFakeBorder.d.ts +12 -12
  414. package/dist/lists/DataTable/DataTableScrollFakeBorder/index.d.ts +1 -1
  415. package/dist/lists/DataTable/DataTableStickyColumnsContainer/DataTableStickyColumnsContainer.d.ts +10 -10
  416. package/dist/lists/DataTable/DataTableStickyColumnsContainer/index.d.ts +1 -1
  417. package/dist/lists/DataTable/constants.d.ts +12 -12
  418. package/dist/lists/DataTable/domain.d.ts +7 -7
  419. package/dist/lists/DataTable/index.d.ts +1 -1
  420. package/dist/lists/DataTable/types.d.ts +39 -39
  421. package/dist/lists/DataTableCell/DataTableCell.d.ts +11 -11
  422. package/dist/lists/DataTableCell/index.d.ts +1 -1
  423. package/dist/lists/DataTableEditableCell/DataTableEditableCell.d.ts +22 -22
  424. package/dist/lists/DataTableEditableCell/index.d.ts +1 -1
  425. package/dist/lists/DataTableRow/DataTableRow.d.ts +16 -16
  426. package/dist/lists/DataTableRow/DataTableRowActions/DataTableRowActions.d.ts +8 -8
  427. package/dist/lists/DataTableRow/DataTableRowActions/index.d.ts +1 -1
  428. package/dist/lists/DataTableRow/index.d.ts +1 -1
  429. package/dist/lists/hooks/useDataTableScrollState.d.ts +13 -13
  430. package/dist/lists/index.d.ts +7 -7
  431. package/dist/media/Avatar/Avatar.d.ts +12 -12
  432. package/dist/media/Avatar/AvatarImage/AvatarImage.d.ts +9 -9
  433. package/dist/media/Avatar/AvatarImage/index.d.ts +1 -1
  434. package/dist/media/Avatar/constants.d.ts +4 -4
  435. package/dist/media/Avatar/index.d.ts +1 -1
  436. package/dist/media/Badge/Badge.d.ts +10 -10
  437. package/dist/media/Badge/index.d.ts +1 -1
  438. package/dist/media/Chip/Chip.d.ts +11 -11
  439. package/dist/media/Chip/constants.d.ts +8 -8
  440. package/dist/media/Chip/index.d.ts +1 -1
  441. package/dist/media/Chip/types.d.ts +1 -1
  442. package/dist/media/Pill/Pill.d.ts +10 -10
  443. package/dist/media/Pill/constants.d.ts +7 -7
  444. package/dist/media/Pill/index.d.ts +1 -1
  445. package/dist/media/Pill/types.d.ts +1 -1
  446. package/dist/media/index.d.ts +5 -5
  447. package/dist/navigation/BreadcrumbItem/BreadcrumbItem.d.ts +10 -10
  448. package/dist/navigation/BreadcrumbItem/index.d.ts +1 -1
  449. package/dist/navigation/Breadcrumbs/Breadcrumbs.d.ts +6 -6
  450. package/dist/navigation/Breadcrumbs/index.d.ts +1 -1
  451. package/dist/navigation/index.d.ts +3 -3
  452. package/dist/overlay/Calendar/Calendar.d.ts +24 -24
  453. package/dist/overlay/Calendar/constants.d.ts +8 -8
  454. package/dist/overlay/Calendar/domain.d.ts +7 -7
  455. package/dist/overlay/Calendar/index.d.ts +1 -1
  456. package/dist/overlay/Calendar/types.d.ts +2 -2
  457. package/dist/overlay/Dropdown/Dropdown.d.ts +17 -17
  458. package/dist/overlay/Dropdown/DropdownContext.d.ts +10 -10
  459. package/dist/overlay/Dropdown/constants.d.ts +8 -8
  460. package/dist/overlay/Dropdown/domain.d.ts +2 -2
  461. package/dist/overlay/Dropdown/index.d.ts +1 -1
  462. package/dist/overlay/Dropdown/types.d.ts +2 -2
  463. package/dist/overlay/DropdownList/DropdownList.d.ts +10 -10
  464. package/dist/overlay/DropdownList/domain.d.ts +2 -2
  465. package/dist/overlay/DropdownList/index.d.ts +1 -1
  466. package/dist/overlay/DropdownListDivider/DropdownListDivider.d.ts +6 -6
  467. package/dist/overlay/DropdownListDivider/index.d.ts +1 -1
  468. package/dist/overlay/DropdownListItem/DropdownListItem.d.ts +20 -20
  469. package/dist/overlay/DropdownListItem/index.d.ts +1 -1
  470. package/dist/overlay/DropdownPane/DropdownPane.d.ts +15 -15
  471. package/dist/overlay/DropdownPane/domain.d.ts +5 -5
  472. package/dist/overlay/DropdownPane/index.d.ts +1 -1
  473. package/dist/overlay/HintModal/HintModal.d.ts +13 -13
  474. package/dist/overlay/HintModal/index.d.ts +1 -1
  475. package/dist/overlay/KebabMenu/KebabMenu.d.ts +7 -7
  476. package/dist/overlay/KebabMenu/index.d.ts +1 -1
  477. package/dist/overlay/KebabMenu/types.d.ts +7 -7
  478. package/dist/overlay/Modal/Modal.d.ts +24 -24
  479. package/dist/overlay/Modal/ModalBody/ModalBody.d.ts +7 -7
  480. package/dist/overlay/Modal/ModalBody/index.d.ts +1 -1
  481. package/dist/overlay/Modal/ModalBody/useScrollShadow.d.ts +7 -7
  482. package/dist/overlay/Modal/ModalContext.d.ts +7 -7
  483. package/dist/overlay/Modal/ModalFooter/ModalFooter.d.ts +13 -13
  484. package/dist/overlay/Modal/ModalFooter/index.d.ts +1 -1
  485. package/dist/overlay/Modal/ModalHeader/ModalHeader.d.ts +9 -9
  486. package/dist/overlay/Modal/ModalHeader/index.d.ts +1 -1
  487. package/dist/overlay/Modal/index.d.ts +1 -1
  488. package/dist/overlay/Tooltip/Tooltip.d.ts +22 -22
  489. package/dist/overlay/Tooltip/TooltipOverlay/TooltipOverlay.d.ts +16 -16
  490. package/dist/overlay/Tooltip/TooltipOverlay/domain.d.ts +20 -20
  491. package/dist/overlay/Tooltip/TooltipOverlay/index.d.ts +1 -1
  492. package/dist/overlay/Tooltip/constants.d.ts +15 -15
  493. package/dist/overlay/Tooltip/index.d.ts +1 -1
  494. package/dist/overlay/Tooltip/types.d.ts +6 -6
  495. package/dist/overlay/hooks/useListKeyboardNavigation/domain.d.ts +3 -3
  496. package/dist/overlay/hooks/useListKeyboardNavigation/index.d.ts +2 -2
  497. package/dist/overlay/hooks/useListKeyboardNavigation/types.d.ts +6 -6
  498. package/dist/overlay/hooks/useListKeyboardNavigation/useKeyPress.d.ts +1 -1
  499. package/dist/overlay/hooks/useListKeyboardNavigation/useListKeyboardNavigation.d.ts +11 -11
  500. package/dist/overlay/hooks/useOnClickOutside.d.ts +4 -4
  501. package/dist/overlay/index.d.ts +11 -11
  502. package/dist/typography/KeyboardKey/KeyboardKey.d.ts +7 -7
  503. package/dist/typography/KeyboardKey/index.d.ts +1 -1
  504. package/dist/typography/Text/Bold/Bold.d.ts +6 -6
  505. package/dist/typography/Text/Bold/index.d.ts +1 -1
  506. package/dist/typography/Text/Italic/Italic.d.ts +6 -6
  507. package/dist/typography/Text/Italic/index.d.ts +1 -1
  508. package/dist/typography/Text/Text.d.ts +25 -25
  509. package/dist/typography/Text/Underline/Underline.d.ts +6 -6
  510. package/dist/typography/Text/Underline/index.d.ts +1 -1
  511. package/dist/typography/Text/constants.d.ts +22 -22
  512. package/dist/typography/Text/index.d.ts +1 -1
  513. package/dist/typography/Text/types.d.ts +3 -3
  514. package/dist/typography/index.d.ts +5 -5
  515. package/dist/utils/actions.d.ts +2 -2
  516. package/dist/utils/browser.d.ts +1 -1
  517. package/dist/utils/date.d.ts +32 -32
  518. package/dist/utils/dom.d.ts +1 -1
  519. package/dist/utils/formik.d.ts +6 -6
  520. package/dist/utils/i18n.d.ts +1 -1
  521. package/dist/utils/math.d.ts +5 -5
  522. package/dist/utils/props.d.ts +27 -27
  523. package/dist/utils/storybookArgTypes.d.ts +89 -89
  524. package/dist/utils/string.d.ts +2 -2
  525. package/dist/utils/types.d.ts +2 -2
  526. package/package.json +5 -2
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { EmptyStateProps } from '../types';
3
- declare const EmptyStateContainerStack: ({ header, title, children, mediaUrl, actions, caption, isPaywall, testId }: EmptyStateProps) => React.JSX.Element;
4
- export default EmptyStateContainerStack;
1
+ import React from 'react';
2
+ import { EmptyStateProps } from '../types';
3
+ declare const EmptyStateContainerStack: ({ header, title, children, mediaUrl, actions, caption, isPaywall, testId }: EmptyStateProps) => React.JSX.Element;
4
+ export default EmptyStateContainerStack;
@@ -1 +1 @@
1
- export { default } from './EmptyStateContainerStack';
1
+ export { default } from './EmptyStateContainerStack';
@@ -1,5 +1,5 @@
1
- export declare const EMPTY_STATE_SIZE: {
2
- SMALL: "small";
3
- MEDIUM: "medium";
4
- LARGE: "large";
5
- };
1
+ export declare const EMPTY_STATE_SIZE: {
2
+ SMALL: "small";
3
+ MEDIUM: "medium";
4
+ LARGE: "large";
5
+ };
@@ -1 +1 @@
1
- export { default } from './EmptyStateContainer';
1
+ export { default } from './EmptyStateContainer';
@@ -1,24 +1,24 @@
1
- import { ReactNode } from 'react';
2
- export declare type EmptyStateSize = 'small' | 'medium' | 'large';
3
- export declare type EmptyStateProps = {
4
- /** The name of the highlighted feature or add-on */
5
- header?: ReactNode;
6
- /** Sets the title element */
7
- title: ReactNode;
8
- /** Sets the body text */
9
- children?: ReactNode;
10
- /** Path to the image/gif to display */
11
- mediaUrl: string;
12
- /** Caption that appears below the CTAs */
13
- actions?: {
14
- primary?: React.ReactElement;
15
- secondary?: React.ReactElement;
16
- };
17
- /** Controls the size and appearance of the component */
18
- size?: EmptyStateSize;
19
- /** Caption that appears below the cta options */
20
- caption?: ReactNode;
21
- isPaywall?: Boolean;
22
- /** This is used for setting a data-testid on the component*/
23
- testId?: string;
24
- };
1
+ import { ReactNode } from 'react';
2
+ export type EmptyStateSize = 'small' | 'medium' | 'large';
3
+ export type EmptyStateProps = {
4
+ /** The name of the highlighted feature or add-on */
5
+ header?: ReactNode;
6
+ /** Sets the title element */
7
+ title: ReactNode;
8
+ /** Sets the body text */
9
+ children?: ReactNode;
10
+ /** Path to the image/gif to display */
11
+ mediaUrl: string;
12
+ /** Caption that appears below the CTAs */
13
+ actions?: {
14
+ primary?: React.ReactElement;
15
+ secondary?: React.ReactElement;
16
+ };
17
+ /** Controls the size and appearance of the component */
18
+ size?: EmptyStateSize;
19
+ /** Caption that appears below the cta options */
20
+ caption?: ReactNode;
21
+ isPaywall?: Boolean;
22
+ /** This is used for setting a data-testid on the component*/
23
+ testId?: string;
24
+ };
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { EmptyStateProps } from '../EmptyStateContainer/types';
3
- declare const Paywall: ({ header, title, children, mediaUrl, actions, size, caption, testId }: Omit<EmptyStateProps, 'isPaywall'>) => React.JSX.Element;
4
- export default Paywall;
1
+ import React from 'react';
2
+ import { EmptyStateProps } from '../EmptyStateContainer/types';
3
+ declare const Paywall: ({ header, title, children, mediaUrl, actions, size, caption, testId }: Omit<EmptyStateProps, 'isPaywall'>) => React.JSX.Element;
4
+ export default Paywall;
@@ -1 +1 @@
1
- export { default } from './Paywall';
1
+ export { default } from './Paywall';
@@ -1,3 +1,3 @@
1
- import Paywall from './Paywall';
2
- import EmptyState from './EmptyState';
3
- export { Paywall, EmptyState };
1
+ import Paywall from './Paywall';
2
+ import EmptyState from './EmptyState';
3
+ export { Paywall, EmptyState };
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- declare type Props = {
3
- progress: number;
4
- maxValue?: number;
5
- children?: React.ReactNode;
6
- testId?: string;
7
- };
8
- declare const CircularProgress: ({ progress, maxValue, children, testId }: Props) => React.JSX.Element;
9
- export default CircularProgress;
1
+ import React from 'react';
2
+ type Props = {
3
+ progress: number;
4
+ maxValue?: number;
5
+ children?: React.ReactNode;
6
+ testId?: string;
7
+ };
8
+ declare const CircularProgress: ({ progress, maxValue, children, testId }: Props) => React.JSX.Element;
9
+ export default CircularProgress;
@@ -1 +1 @@
1
- export { default } from './CircularProgress';
1
+ export { default } from './CircularProgress';
@@ -1,10 +1,10 @@
1
- import { InlineBannerTheme } from '../types';
2
- import React from 'react';
3
- declare type ButtonCTAProps = {
4
- button: React.ReactElement;
5
- bannerTheme: InlineBannerTheme;
6
- primaryCTA?: boolean;
7
- };
8
- /** Infers theme prop for Sous Chef Button CTAs if not explicitly passed, default is hollow, primaryCTA is Upsell if banner theme is Upsell*/
9
- declare const ButtonCTA: ({ button, bannerTheme, primaryCTA }: ButtonCTAProps) => React.ReactElement<any, string | ((props: any, deprecatedLegacyContext?: any) => React.ReactElement<any, any> | null) | (new (props: any, deprecatedLegacyContext?: any) => React.Component<any, any, any>)>;
10
- export default ButtonCTA;
1
+ import { InlineBannerTheme } from '../types';
2
+ import React from 'react';
3
+ type ButtonCTAProps = {
4
+ button: React.ReactElement;
5
+ bannerTheme: InlineBannerTheme;
6
+ primaryCTA?: boolean;
7
+ };
8
+ /** Infers theme prop for Sous Chef Button CTAs if not explicitly passed, default is hollow, primaryCTA is Upsell if banner theme is Upsell*/
9
+ declare const ButtonCTA: ({ button, bannerTheme, primaryCTA }: ButtonCTAProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
10
+ export default ButtonCTA;
@@ -1 +1 @@
1
- export { default } from './ButtonCTA';
1
+ export { default } from './ButtonCTA';
@@ -1,15 +1,15 @@
1
- import React from 'react';
2
- import { InlineBannerTheme } from './types';
3
- import { PositionStyles } from '../../foundation/types';
4
- declare type Props = {
5
- children: React.ReactNode;
6
- theme?: InlineBannerTheme;
7
- title?: string;
8
- onClose?: () => void;
9
- caption?: string;
10
- primaryButton?: React.ReactElement;
11
- secondaryButton?: React.ReactElement;
12
- testId?: string;
13
- } & PositionStyles;
14
- declare const InlineBanner: React.FC<Props>;
15
- export default InlineBanner;
1
+ import React from 'react';
2
+ import { InlineBannerTheme } from './types';
3
+ import { PositionStyles } from '../../foundation/types';
4
+ type Props = {
5
+ children: React.ReactNode;
6
+ theme?: InlineBannerTheme;
7
+ title?: string;
8
+ onClose?: () => void;
9
+ caption?: string;
10
+ primaryButton?: React.ReactElement;
11
+ secondaryButton?: React.ReactElement;
12
+ testId?: string;
13
+ } & PositionStyles;
14
+ declare const InlineBanner: React.FC<Props>;
15
+ export default InlineBanner;
@@ -1,11 +1,11 @@
1
- import React from 'react';
2
- import { InlineBannerTheme } from '../types';
3
- declare type Props = {
4
- primaryButton: React.ReactElement;
5
- secondaryButton?: React.ReactElement;
6
- caption?: string;
7
- multiLine: boolean;
8
- bannerTheme: InlineBannerTheme;
9
- };
10
- declare const InlineBannerCTA: ({ primaryButton, secondaryButton, caption, multiLine, bannerTheme }: Props) => React.JSX.Element;
11
- export default InlineBannerCTA;
1
+ import React from 'react';
2
+ import { InlineBannerTheme } from '../types';
3
+ type Props = {
4
+ primaryButton: React.ReactElement;
5
+ secondaryButton?: React.ReactElement;
6
+ caption?: string;
7
+ multiLine: boolean;
8
+ bannerTheme: InlineBannerTheme;
9
+ };
10
+ declare const InlineBannerCTA: ({ primaryButton, secondaryButton, caption, multiLine, bannerTheme }: Props) => React.JSX.Element;
11
+ export default InlineBannerCTA;
@@ -1 +1 @@
1
- export { default } from './InlineBannerCTA';
1
+ export { default } from './InlineBannerCTA';
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { InlineBannerTheme } from '../types';
3
- declare type BannerIconProps = {
4
- theme: InlineBannerTheme;
5
- };
6
- declare const InlineBannerIcon: ({ theme }: BannerIconProps) => React.JSX.Element;
7
- export default InlineBannerIcon;
1
+ import React from 'react';
2
+ import { InlineBannerTheme } from '../types';
3
+ type BannerIconProps = {
4
+ theme: InlineBannerTheme;
5
+ };
6
+ declare const InlineBannerIcon: ({ theme }: BannerIconProps) => React.JSX.Element;
7
+ export default InlineBannerIcon;
@@ -1 +1 @@
1
- export { default } from './InlineBannerIcon';
1
+ export { default } from './InlineBannerIcon';
@@ -1,11 +1,11 @@
1
- export declare const BANNER_THEME: {
2
- INFO: "info";
3
- WARNING: "warning";
4
- SUCCESS: "success";
5
- DANGER: "danger";
6
- UPSELL: "upsell";
7
- };
8
- export declare const BUTTON_THEME: {
9
- HOLLOW: "hollow";
10
- UPSELL: "upsell";
11
- };
1
+ export declare const BANNER_THEME: {
2
+ INFO: "info";
3
+ WARNING: "warning";
4
+ SUCCESS: "success";
5
+ DANGER: "danger";
6
+ UPSELL: "upsell";
7
+ };
8
+ export declare const BUTTON_THEME: {
9
+ HOLLOW: "hollow";
10
+ UPSELL: "upsell";
11
+ };
@@ -1 +1 @@
1
- export { default } from './InlineBanner';
1
+ export { default } from './InlineBanner';
@@ -1 +1 @@
1
- export declare type InlineBannerTheme = 'info' | 'warning' | 'success' | 'danger' | 'upsell';
1
+ export type InlineBannerTheme = 'info' | 'warning' | 'success' | 'danger' | 'upsell';
@@ -1,13 +1,13 @@
1
- import React from 'react';
2
- import { Theme } from './types';
3
- declare type Props = {
4
- theme?: Theme;
5
- primaryButton?: React.ReactElement;
6
- secondaryButton?: React.ReactElement;
7
- onDismiss?: () => void;
8
- onLoad?: () => void;
9
- testId?: string;
10
- children: React.ReactNode;
11
- };
12
- declare const PersistentBanner: ({ theme, children, primaryButton, secondaryButton, onDismiss, onLoad, testId }: Props) => React.JSX.Element;
13
- export default PersistentBanner;
1
+ import React from 'react';
2
+ import { Theme } from './types';
3
+ type Props = {
4
+ theme?: Theme;
5
+ primaryButton?: React.ReactElement;
6
+ secondaryButton?: React.ReactElement;
7
+ onDismiss?: () => void;
8
+ onLoad?: () => void;
9
+ testId?: string;
10
+ children: React.ReactNode;
11
+ };
12
+ declare const PersistentBanner: ({ theme, children, primaryButton, secondaryButton, onDismiss, onLoad, testId }: Props) => React.JSX.Element;
13
+ export default PersistentBanner;
@@ -1,5 +1,5 @@
1
- export declare const PERSISTENT_BANNER_THEME: {
2
- UPSELL: "upsell";
3
- INFO: "info";
4
- DANGER: "danger";
5
- };
1
+ export declare const PERSISTENT_BANNER_THEME: {
2
+ UPSELL: "upsell";
3
+ INFO: "info";
4
+ DANGER: "danger";
5
+ };
@@ -1 +1 @@
1
- export { default } from './PersistentBanner';
1
+ export { default } from './PersistentBanner';
@@ -1 +1 @@
1
- export declare type Theme = 'danger' | 'info' | 'upsell';
1
+ export type Theme = 'danger' | 'info' | 'upsell';
@@ -1,11 +1,11 @@
1
- export declare const getProgressMetric: (progress: number, maxValue: number) => {
2
- progress: number;
3
- maxValue: number;
4
- };
5
- /**
6
- * This function calculates the progress bar so it can align in the center of each step
7
- */
8
- export declare const getProgressMetricWithSteps: (progress: number, amountOfSteps: number) => {
9
- progress: number;
10
- maxValue: number;
11
- };
1
+ export declare const getProgressMetric: (progress: number, maxValue: number) => {
2
+ progress: number;
3
+ maxValue: number;
4
+ };
5
+ /**
6
+ * This function calculates the progress bar so it can align in the center of each step
7
+ */
8
+ export declare const getProgressMetricWithSteps: (progress: number, amountOfSteps: number) => {
9
+ progress: number;
10
+ maxValue: number;
11
+ };
@@ -1,18 +1,18 @@
1
- declare type UseProgress = {
2
- elementProps: {
3
- 'aria-valuemax': number;
4
- 'aria-valuemin': number;
5
- 'aria-valuenow': number;
6
- role: string;
7
- };
8
- metric: {
9
- percentage: number;
10
- maxValue: number;
11
- progress: number;
12
- };
13
- };
14
- export declare const useProgress: (progress: number, maxValue: number, getMetric?: (progress: number, maxValue: number) => {
15
- progress: number;
16
- maxValue: number;
17
- }) => UseProgress;
18
- export {};
1
+ type UseProgress = {
2
+ elementProps: {
3
+ 'aria-valuemax': number;
4
+ 'aria-valuemin': number;
5
+ 'aria-valuenow': number;
6
+ role: string;
7
+ };
8
+ metric: {
9
+ percentage: number;
10
+ maxValue: number;
11
+ progress: number;
12
+ };
13
+ };
14
+ export declare const useProgress: (progress: number, maxValue: number, getMetric?: (progress: number, maxValue: number) => {
15
+ progress: number;
16
+ maxValue: number;
17
+ }) => UseProgress;
18
+ export {};
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- declare type Props = {
3
- progress: number;
4
- maxValue?: number;
5
- testId?: string;
6
- steps?: string[];
7
- };
8
- declare const ProgressBar: ({ progress, maxValue, testId, steps }: Props) => React.JSX.Element;
9
- export default ProgressBar;
1
+ import React from 'react';
2
+ type Props = {
3
+ progress: number;
4
+ maxValue?: number;
5
+ testId?: string;
6
+ steps?: string[];
7
+ };
8
+ declare const ProgressBar: ({ progress, maxValue, testId, steps }: Props) => React.JSX.Element;
9
+ export default ProgressBar;
@@ -1 +1 @@
1
- export { default } from './ProgressBar';
1
+ export { default } from './ProgressBar';
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- import { SkeletonComponent } from './types';
3
- import { PositionStyles } from '../../foundation/types';
4
- declare type Props = {
5
- /** Set the skeleton shape to match an existing Sous-Chef component */
6
- as?: SkeletonComponent;
7
- /** Set a custom height on the Skeleton component */
8
- height?: string | number;
9
- /** Set a custom width on the Skeleton component */
10
- width?: string | number;
11
- testId?: string;
12
- } & PositionStyles;
13
- declare const Skeleton: ({ as, testId, width, height, ...positionStyles }: Props) => React.JSX.Element;
14
- export default Skeleton;
1
+ import React from 'react';
2
+ import { SkeletonComponent } from './types';
3
+ import { PositionStyles } from '../../foundation/types';
4
+ type Props = {
5
+ /** Set the skeleton shape to match an existing Sous-Chef component */
6
+ as?: SkeletonComponent;
7
+ /** Set a custom height on the Skeleton component */
8
+ height?: string | number;
9
+ /** Set a custom width on the Skeleton component */
10
+ width?: string | number;
11
+ testId?: string;
12
+ } & PositionStyles;
13
+ declare const Skeleton: ({ as, testId, width, height, ...positionStyles }: Props) => React.JSX.Element;
14
+ export default Skeleton;
@@ -1,9 +1,9 @@
1
- export declare const SKELETON_COMPONENT: {
2
- readonly AVATAR: "avatar";
3
- readonly AVATAR_SMALL: "avatar--small";
4
- readonly AVATAR_MEDIUM: "avatar--medium";
5
- readonly AVATAR_LARGE: "avatar--large";
6
- readonly AVATAR_XLARGE: "avatar--xlarge";
7
- readonly BUTTON: "button";
8
- readonly PILL: "pill";
9
- };
1
+ export declare const SKELETON_COMPONENT: {
2
+ readonly AVATAR: "avatar";
3
+ readonly AVATAR_SMALL: "avatar--small";
4
+ readonly AVATAR_MEDIUM: "avatar--medium";
5
+ readonly AVATAR_LARGE: "avatar--large";
6
+ readonly AVATAR_XLARGE: "avatar--xlarge";
7
+ readonly BUTTON: "button";
8
+ readonly PILL: "pill";
9
+ };
@@ -1 +1 @@
1
- export { default } from './Skeleton';
1
+ export { default } from './Skeleton';
@@ -1 +1 @@
1
- export declare type SkeletonComponent = 'avatar' | 'avatar--small' | 'avatar--medium' | 'avatar--large' | 'avatar--xlarge' | 'button' | 'pill';
1
+ export type SkeletonComponent = 'avatar' | 'avatar--small' | 'avatar--medium' | 'avatar--large' | 'avatar--xlarge' | 'button' | 'pill';
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- declare type Props = {
3
- size?: number;
4
- theme?: 'mint' | 'disabled' | 'contrast' | 'pride';
5
- block?: boolean;
6
- testId?: string;
7
- };
8
- declare const Spinner: React.FC<Props>;
9
- export default Spinner;
1
+ import React from 'react';
2
+ type Props = {
3
+ size?: number;
4
+ theme?: 'mint' | 'disabled' | 'contrast' | 'pride';
5
+ block?: boolean;
6
+ testId?: string;
7
+ };
8
+ declare const Spinner: React.FC<Props>;
9
+ export default Spinner;
@@ -1,6 +1,6 @@
1
- export declare const SPINNER_THEMES: {
2
- MINT: "mint";
3
- DISABLED: "disabled";
4
- CONTRAST: "contrast";
5
- PRIDE: "pride";
6
- };
1
+ export declare const SPINNER_THEMES: {
2
+ MINT: "mint";
3
+ DISABLED: "disabled";
4
+ CONTRAST: "contrast";
5
+ PRIDE: "pride";
6
+ };
@@ -1 +1 @@
1
- export { default } from './Spinner';
1
+ export { default } from './Spinner';
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { ToastOptions } from 'react-toastify';
3
- import type { Theme } from './types';
4
- import 'react-toastify/dist/ReactToastify.css';
5
- export declare const toast: (text: string, theme?: Theme, options?: ToastOptions) => void;
6
- declare type Props = {
7
- containerId?: string;
8
- };
9
- export declare const ToastContainer: ({ containerId }: Props) => React.JSX.Element;
10
- export {};
1
+ import React from 'react';
2
+ import { ToastOptions } from 'react-toastify';
3
+ import type { Theme } from './types';
4
+ import 'react-toastify/dist/ReactToastify.css';
5
+ export declare const toast: (text: string, theme?: Theme, options?: ToastOptions) => void;
6
+ type Props = {
7
+ containerId?: string;
8
+ };
9
+ export declare const ToastContainer: ({ containerId }: Props) => React.JSX.Element;
10
+ export {};
@@ -1,5 +1,5 @@
1
- export declare const TOAST_THEME: {
2
- DEFAULT: "default";
3
- DANGER: "danger";
4
- };
5
- export declare const TOAST_CONTAINER_ID = "sous-chef-toast";
1
+ export declare const TOAST_THEME: {
2
+ DEFAULT: "default";
3
+ DANGER: "danger";
4
+ };
5
+ export declare const TOAST_CONTAINER_ID = "sous-chef-toast";
@@ -1 +1 @@
1
- export { ToastContainer, toast } from './Toast';
1
+ export { ToastContainer, toast } from './Toast';
@@ -1 +1 @@
1
- export declare type Theme = 'default' | 'danger';
1
+ export type Theme = 'default' | 'danger';
@@ -1,8 +1,8 @@
1
- import Spinner from './Spinner';
2
- import InlineBanner from './InlineBanner';
3
- import PersistentBanner from './PersistentBanner';
4
- import CircularProgress from './CircularProgress';
5
- import ProgressBar from './ProgressBar';
6
- import { toast } from './Toast';
7
- import Skeleton from './Skeleton';
8
- export { Spinner, InlineBanner, PersistentBanner, CircularProgress, ProgressBar, toast, Skeleton };
1
+ import Spinner from './Spinner';
2
+ import InlineBanner from './InlineBanner';
3
+ import PersistentBanner from './PersistentBanner';
4
+ import CircularProgress from './CircularProgress';
5
+ import ProgressBar from './ProgressBar';
6
+ import { toast } from './Toast';
7
+ import Skeleton from './Skeleton';
8
+ export { Spinner, InlineBanner, PersistentBanner, CircularProgress, ProgressBar, toast, Skeleton };
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- declare type Props = {
3
- prefix?: React.ReactNode;
4
- suffix?: React.ReactNode;
5
- children: React.ReactElement;
6
- testId?: string;
7
- };
8
- declare const AffixContainer: React.FC<Props>;
9
- export default AffixContainer;
1
+ import React from 'react';
2
+ type Props = {
3
+ prefix?: React.ReactNode;
4
+ suffix?: React.ReactNode;
5
+ children: React.ReactElement;
6
+ testId?: string;
7
+ };
8
+ declare const AffixContainer: React.FC<Props>;
9
+ export default AffixContainer;
@@ -1 +1 @@
1
- export { default } from './AffixContainer';
1
+ export { default } from './AffixContainer';
@@ -1,15 +1,15 @@
1
- import React from 'react';
2
- import type { Props as SelectProps } from '../SelectField/SelectField';
3
- import { AsyncSelectOptions } from './types';
4
- declare type Props<T> = {
5
- /** It is a function that takes the input search as parameter and returns a Promise with all the options and if there are more options to load. If it brings all the options on the first load, it won't call the `loadOptions` to perform the search. */
6
- loadOptions: (inputValue: string) => Promise<AsyncSelectOptions<T>>;
7
- /** It fires `loadOptions` again if this key value changes. Used when it depends on other fields to load its options */
8
- key?: string | number;
9
- } & Omit<SelectProps<T>, 'options'>;
10
- /**
11
- * Component to make possible choose from async options. It looks exactly as the [SelectField](./?path=/docs/forms-selectfield--default) but, this one handles asynchronous options.
12
- * Instead of passing a `options` props, this component requires a `loadOptions` prop.
13
- * */
14
- declare const AsyncSelectField: <T extends unknown>({ loadOptions, ...props }: Props<T>) => React.JSX.Element;
15
- export default AsyncSelectField;
1
+ import React from 'react';
2
+ import type { Props as SelectProps } from '../SelectField/SelectField';
3
+ import { AsyncSelectOptions } from './types';
4
+ type Props<T> = {
5
+ /** It is a function that takes the input search as parameter and returns a Promise with all the options and if there are more options to load. If it brings all the options on the first load, it won't call the `loadOptions` to perform the search. */
6
+ loadOptions: (inputValue: string) => Promise<AsyncSelectOptions<T>>;
7
+ /** It fires `loadOptions` again if this key value changes. Used when it depends on other fields to load its options */
8
+ key?: string | number;
9
+ } & Omit<SelectProps<T>, 'options'>;
10
+ /**
11
+ * Component to make possible choose from async options. It looks exactly as the [SelectField](./?path=/docs/forms-selectfield--default) but, this one handles asynchronous options.
12
+ * Instead of passing a `options` props, this component requires a `loadOptions` prop.
13
+ * */
14
+ declare const AsyncSelectField: <T extends unknown>({ loadOptions, ...props }: Props<T>) => React.JSX.Element;
15
+ export default AsyncSelectField;