@sprinklrjs/spaceweb 14.11.4 → 14.12.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 (823) hide show
  1. package/ClientOnly.d.ts +1 -1
  2. package/asyncSelect/asyncSelect.d.ts +2 -2
  3. package/asyncSelect/asyncSelect.js +1 -1
  4. package/asyncSelect/groupedAsyncSelect.d.ts +1 -1
  5. package/asyncSelect/groupedAsyncSelect.js +1 -1
  6. package/asyncSelect/hooks/useAsyncOptions.d.ts +1 -1
  7. package/asyncSelect/hooks/useAsyncOptions.js +4 -5
  8. package/asyncSelect/hooks/useAsyncSelect.d.ts +1 -1
  9. package/asyncSelect/hooks/useAsyncSelectAdapter.d.ts +1 -1
  10. package/asyncSelect/hooks/useBaseAsyncSelect.js +1 -1
  11. package/asyncSelect/hooks/useCreateOption.d.ts +2 -2
  12. package/asyncSelect/hooks/useCreateOption.js +3 -6
  13. package/asyncSelect/hooks/useGroupAsyncSelectAdapter.d.ts +3 -3
  14. package/asyncSelect/hooks/useGroupedAsyncSelect.d.ts +1 -1
  15. package/asyncSelect/hooks/useInputChangeHandler.d.ts +2 -2
  16. package/asyncSelect/hooks/useResolveSelectedOptions.d.ts +3 -3
  17. package/asyncSelect/hooks/useResolveSelectedOptions.js +2 -4
  18. package/asyncSelect/types.d.ts +5 -6
  19. package/asyncSelect/utils/defaultCreateOption.d.ts +1 -1
  20. package/avatar/avatar.d.ts +2 -2
  21. package/avatar/components/grid-variant.d.ts +2 -2
  22. package/avatar/components/grid-variant.js +0 -1
  23. package/avatar/components/linear-variant.js +0 -2
  24. package/avatar/constants.d.ts +1 -1
  25. package/avatar/hooks/useAvatarGroupChildren.d.ts +2 -2
  26. package/avatar/hooks/useAvatarGroupChildren.js +0 -1
  27. package/avatar/styled-component.d.ts +1 -1
  28. package/avatar/styled-component.js +1 -3
  29. package/avatar/types.d.ts +2 -2
  30. package/avatar/useAvatarColor.js +0 -1
  31. package/avatar/utils/avatarGroupHelpers.d.ts +1 -1
  32. package/avatar/utils/cleanupDisplayName.js +2 -2
  33. package/badge/badge.d.ts +2 -2
  34. package/badge/types.d.ts +2 -2
  35. package/banner/banner.d.ts +1 -1
  36. package/banner/banner.js +2 -2
  37. package/banner/types.d.ts +3 -3
  38. package/base-button/styled-components.d.ts +1 -1
  39. package/base-button/types.d.ts +3 -3
  40. package/baseui/accordion/panel.js +1 -3
  41. package/baseui/accordion/stateful-panel-container.js +1 -2
  42. package/baseui/accordion/stateless-accordion.js +4 -6
  43. package/baseui/datepicker/calendar-header.js +2 -4
  44. package/baseui/datepicker/calendar.d.ts +1 -1
  45. package/baseui/datepicker/calendar.js +2 -3
  46. package/baseui/datepicker/day.d.ts +1 -1
  47. package/baseui/datepicker/day.js +1 -1
  48. package/baseui/datepicker/styled-components.js +1 -1
  49. package/baseui/datepicker/utils/date-helpers.js +4 -4
  50. package/baseui/datepicker/utils/index.js +7 -12
  51. package/baseui/helpers/overrides.d.ts +2 -2
  52. package/baseui/helpers/overrides.js +4 -7
  53. package/baseui/layer/layer.js +2 -1
  54. package/baseui/layer/layers-manager.js +2 -1
  55. package/baseui/layer/tether.js +1 -0
  56. package/baseui/layer/types.d.ts +1 -1
  57. package/baseui/modal/close-icon.js +9 -1
  58. package/baseui/modal/modal.d.ts +3 -3
  59. package/baseui/modal/modal.js +6 -8
  60. package/baseui/popover/popover.js +3 -4
  61. package/baseui/popover/stateful-container.js +1 -1
  62. package/baseui/popover/utils.js +1 -3
  63. package/baseui/select/autosize-input.d.ts +1 -1
  64. package/baseui/select/autosize-input.js +1 -1
  65. package/baseui/select/dropdown.js +1 -1
  66. package/baseui/select/select-component.d.ts +3 -4
  67. package/baseui/select/select-component.js +15 -10
  68. package/baseui/select/stateful-select-container.js +4 -8
  69. package/baseui/select/types.d.ts +4 -5
  70. package/baseui/select/utils/index.js +2 -6
  71. package/baseui/select/value.js +5 -1
  72. package/baseui/timepicker/timepicker.js +6 -7
  73. package/baseui/timepicker/types.d.ts +1 -1
  74. package/baseui/tree-view/index.d.ts +1 -1
  75. package/baseui/tree-view/tree-label-interactable.d.ts +1 -1
  76. package/baseui/tree-view/tree-label.js +1 -1
  77. package/baseui/tree-view/tree-node.js +1 -1
  78. package/baseui/tree-view/tree-view.js +1 -2
  79. package/baseui/tree-view/utils.js +3 -7
  80. package/baseui/utils/focusVisible.js +1 -1
  81. package/box/types.d.ts +2 -2
  82. package/breadcrumb/breadcrumb-ellipsis.d.ts +1 -1
  83. package/breadcrumb/breadcrumb-item.d.ts +1 -1
  84. package/breadcrumb/breadcrumb-item.js +0 -1
  85. package/breadcrumb/breadcrumb.d.ts +1 -1
  86. package/breadcrumb/breadcrumb.js +2 -1
  87. package/breadcrumb/types.d.ts +5 -4
  88. package/button/Button.js +2 -2
  89. package/button/CitationButton/CitationButton.d.ts +1 -1
  90. package/button/CitationButton/types.d.ts +1 -1
  91. package/button/DropdownEnhancer.d.ts +3 -3
  92. package/button/DropdownEnhancer.js +0 -1
  93. package/button/IconButton/IconButton.d.ts +1 -1
  94. package/button/IconButton/styled-components.d.ts +2 -2
  95. package/button/IconButton/types.d.ts +3 -3
  96. package/button/IconTextButton/styled-components.d.ts +1 -1
  97. package/button/IconTextButton/styled-components.js +2 -3
  98. package/button/IconTextButton/types.d.ts +3 -3
  99. package/button/button-enhancers.d.ts +1 -1
  100. package/button/helpers.d.ts +3 -3
  101. package/button/styled-components.d.ts +2 -2
  102. package/button/types.d.ts +6 -7
  103. package/button-group/ButtonGroup.d.ts +1 -1
  104. package/button-group/helpers.d.ts +2 -2
  105. package/button-group/styled-components.d.ts +3 -3
  106. package/button-group/types.d.ts +7 -8
  107. package/checkbox/checkbox.js +1 -3
  108. package/checkbox/hooks/useStatefulCheckbox.d.ts +1 -1
  109. package/checkbox/styled-components.d.ts +2 -2
  110. package/color-picker/ColorPalette.d.ts +1 -1
  111. package/color-picker/ColorPalette.js +1 -1
  112. package/color-picker/Swatch.d.ts +3 -3
  113. package/color-picker/types.d.ts +2 -2
  114. package/container/ContainerProps.d.ts +1 -1
  115. package/currency/Currency.d.ts +1 -1
  116. package/currency/constants.d.ts +1 -1
  117. package/currency/types.d.ts +1 -1
  118. package/currency/useCurrency.d.ts +1 -1
  119. package/currency/utils.d.ts +1 -1
  120. package/date-input/DateInput.d.ts +1 -1
  121. package/date-input/types.d.ts +5 -5
  122. package/date-picker/Calendar.d.ts +2 -2
  123. package/date-picker/DateInput.js +1 -1
  124. package/date-picker/DatePicker.d.ts +2 -2
  125. package/date-picker/StatelessDatePicker.js +1 -1
  126. package/date-picker/TimeInput.d.ts +3 -3
  127. package/date-picker/TimezoneDisplay.d.ts +1 -1
  128. package/date-picker/stateful-container.d.ts +2 -2
  129. package/date-picker/stateful-container.js +1 -1
  130. package/date-picker/styled-components.d.ts +2 -2
  131. package/date-picker/styled-components.js +1 -1
  132. package/date-picker/types.d.ts +6 -6
  133. package/date-picker/utils.js +0 -3
  134. package/date-time/DateTime.d.ts +1 -1
  135. package/date-time/types.d.ts +1 -1
  136. package/date-time/useDateTime.d.ts +1 -1
  137. package/esm/ClientOnly.d.ts +1 -1
  138. package/esm/asyncSelect/asyncSelect.d.ts +2 -2
  139. package/esm/asyncSelect/asyncSelect.js +1 -1
  140. package/esm/asyncSelect/groupedAsyncSelect.d.ts +1 -1
  141. package/esm/asyncSelect/groupedAsyncSelect.js +1 -1
  142. package/esm/asyncSelect/hooks/useAsyncOptions.d.ts +1 -1
  143. package/esm/asyncSelect/hooks/useAsyncOptions.js +4 -5
  144. package/esm/asyncSelect/hooks/useAsyncSelect.d.ts +1 -1
  145. package/esm/asyncSelect/hooks/useAsyncSelectAdapter.d.ts +1 -1
  146. package/esm/asyncSelect/hooks/useBaseAsyncSelect.js +1 -1
  147. package/esm/asyncSelect/hooks/useCreateOption.d.ts +2 -2
  148. package/esm/asyncSelect/hooks/useCreateOption.js +3 -6
  149. package/esm/asyncSelect/hooks/useGroupAsyncSelectAdapter.d.ts +3 -3
  150. package/esm/asyncSelect/hooks/useGroupedAsyncSelect.d.ts +1 -1
  151. package/esm/asyncSelect/hooks/useInputChangeHandler.d.ts +2 -2
  152. package/esm/asyncSelect/hooks/useResolveSelectedOptions.d.ts +3 -3
  153. package/esm/asyncSelect/hooks/useResolveSelectedOptions.js +2 -4
  154. package/esm/asyncSelect/types.d.ts +5 -6
  155. package/esm/asyncSelect/utils/defaultCreateOption.d.ts +1 -1
  156. package/esm/avatar/avatar.d.ts +2 -2
  157. package/esm/avatar/components/grid-variant.d.ts +2 -2
  158. package/esm/avatar/components/grid-variant.js +0 -1
  159. package/esm/avatar/components/linear-variant.js +0 -2
  160. package/esm/avatar/constants.d.ts +1 -1
  161. package/esm/avatar/hooks/useAvatarGroupChildren.d.ts +2 -2
  162. package/esm/avatar/hooks/useAvatarGroupChildren.js +0 -1
  163. package/esm/avatar/styled-component.d.ts +1 -1
  164. package/esm/avatar/styled-component.js +1 -3
  165. package/esm/avatar/types.d.ts +2 -2
  166. package/esm/avatar/useAvatarColor.js +0 -1
  167. package/esm/avatar/utils/avatarGroupHelpers.d.ts +1 -1
  168. package/esm/avatar/utils/cleanupDisplayName.js +2 -2
  169. package/esm/badge/badge.d.ts +2 -2
  170. package/esm/badge/types.d.ts +2 -2
  171. package/esm/banner/banner.d.ts +1 -1
  172. package/esm/banner/banner.js +2 -2
  173. package/esm/banner/types.d.ts +3 -3
  174. package/esm/base-button/styled-components.d.ts +1 -1
  175. package/esm/base-button/types.d.ts +3 -3
  176. package/esm/baseui/accordion/panel.js +1 -3
  177. package/esm/baseui/accordion/stateful-panel-container.js +1 -2
  178. package/esm/baseui/accordion/stateless-accordion.js +4 -6
  179. package/esm/baseui/datepicker/calendar-header.js +2 -4
  180. package/esm/baseui/datepicker/calendar.d.ts +1 -1
  181. package/esm/baseui/datepicker/calendar.js +2 -3
  182. package/esm/baseui/datepicker/day.d.ts +1 -1
  183. package/esm/baseui/datepicker/day.js +1 -1
  184. package/esm/baseui/datepicker/styled-components.js +1 -1
  185. package/esm/baseui/datepicker/utils/date-helpers.js +4 -4
  186. package/esm/baseui/datepicker/utils/index.js +7 -12
  187. package/esm/baseui/helpers/overrides.d.ts +2 -2
  188. package/esm/baseui/helpers/overrides.js +4 -7
  189. package/esm/baseui/layer/layer.js +2 -1
  190. package/esm/baseui/layer/layers-manager.js +2 -1
  191. package/esm/baseui/layer/tether.js +1 -0
  192. package/esm/baseui/layer/types.d.ts +1 -1
  193. package/esm/baseui/modal/close-icon.js +9 -1
  194. package/esm/baseui/modal/modal.d.ts +3 -3
  195. package/esm/baseui/modal/modal.js +6 -8
  196. package/esm/baseui/popover/popover.js +3 -4
  197. package/esm/baseui/popover/stateful-container.js +1 -1
  198. package/esm/baseui/popover/utils.js +1 -3
  199. package/esm/baseui/select/autosize-input.d.ts +1 -1
  200. package/esm/baseui/select/autosize-input.js +1 -1
  201. package/esm/baseui/select/dropdown.js +1 -1
  202. package/esm/baseui/select/select-component.d.ts +3 -4
  203. package/esm/baseui/select/select-component.js +15 -10
  204. package/esm/baseui/select/stateful-select-container.js +4 -8
  205. package/esm/baseui/select/types.d.ts +4 -5
  206. package/esm/baseui/select/utils/index.js +2 -6
  207. package/esm/baseui/select/value.js +5 -1
  208. package/esm/baseui/timepicker/timepicker.js +6 -7
  209. package/esm/baseui/timepicker/types.d.ts +1 -1
  210. package/esm/baseui/tree-view/index.d.ts +1 -1
  211. package/esm/baseui/tree-view/index.js +1 -1
  212. package/esm/baseui/tree-view/tree-label-interactable.d.ts +1 -1
  213. package/esm/baseui/tree-view/tree-label.js +1 -1
  214. package/esm/baseui/tree-view/tree-node.js +1 -1
  215. package/esm/baseui/tree-view/tree-view.js +1 -2
  216. package/esm/baseui/tree-view/utils.js +3 -7
  217. package/esm/baseui/utils/focusVisible.js +1 -1
  218. package/esm/box/types.d.ts +2 -2
  219. package/esm/breadcrumb/breadcrumb-ellipsis.d.ts +1 -1
  220. package/esm/breadcrumb/breadcrumb-item.d.ts +1 -1
  221. package/esm/breadcrumb/breadcrumb-item.js +0 -1
  222. package/esm/breadcrumb/breadcrumb.d.ts +1 -1
  223. package/esm/breadcrumb/breadcrumb.js +2 -1
  224. package/esm/breadcrumb/types.d.ts +5 -4
  225. package/esm/button/Button.js +2 -2
  226. package/esm/button/CitationButton/CitationButton.d.ts +1 -1
  227. package/esm/button/CitationButton/types.d.ts +1 -1
  228. package/esm/button/DropdownEnhancer.d.ts +3 -3
  229. package/esm/button/DropdownEnhancer.js +0 -1
  230. package/esm/button/IconButton/IconButton.d.ts +1 -1
  231. package/esm/button/IconButton/styled-components.d.ts +2 -2
  232. package/esm/button/IconButton/types.d.ts +3 -3
  233. package/esm/button/IconTextButton/styled-components.d.ts +1 -1
  234. package/esm/button/IconTextButton/styled-components.js +2 -3
  235. package/esm/button/IconTextButton/types.d.ts +3 -3
  236. package/esm/button/button-enhancers.d.ts +1 -1
  237. package/esm/button/helpers.d.ts +3 -3
  238. package/esm/button/styled-components.d.ts +2 -2
  239. package/esm/button/types.d.ts +6 -7
  240. package/esm/button-group/ButtonGroup.d.ts +1 -1
  241. package/esm/button-group/helpers.d.ts +2 -2
  242. package/esm/button-group/styled-components.d.ts +3 -3
  243. package/esm/button-group/types.d.ts +7 -8
  244. package/esm/checkbox/checkbox.js +1 -3
  245. package/esm/checkbox/hooks/useStatefulCheckbox.d.ts +1 -1
  246. package/esm/checkbox/styled-components.d.ts +2 -2
  247. package/esm/color-picker/ColorPalette.d.ts +1 -1
  248. package/esm/color-picker/ColorPalette.js +1 -1
  249. package/esm/color-picker/Swatch.d.ts +3 -3
  250. package/esm/color-picker/types.d.ts +2 -2
  251. package/esm/container/ContainerProps.d.ts +1 -1
  252. package/esm/currency/Currency.d.ts +1 -1
  253. package/esm/currency/constants.d.ts +1 -1
  254. package/esm/currency/types.d.ts +1 -1
  255. package/esm/currency/useCurrency.d.ts +1 -1
  256. package/esm/currency/utils.d.ts +1 -1
  257. package/esm/date-input/DateInput.d.ts +1 -1
  258. package/esm/date-input/types.d.ts +5 -5
  259. package/esm/date-picker/Calendar.d.ts +2 -2
  260. package/esm/date-picker/DateInput.js +1 -1
  261. package/esm/date-picker/DatePicker.d.ts +2 -2
  262. package/esm/date-picker/StatelessDatePicker.js +1 -1
  263. package/esm/date-picker/TimeInput.d.ts +3 -3
  264. package/esm/date-picker/TimezoneDisplay.d.ts +1 -1
  265. package/esm/date-picker/stateful-container.d.ts +2 -2
  266. package/esm/date-picker/stateful-container.js +1 -1
  267. package/esm/date-picker/styled-components.d.ts +2 -2
  268. package/esm/date-picker/styled-components.js +1 -1
  269. package/esm/date-picker/types.d.ts +6 -6
  270. package/esm/date-picker/utils.js +0 -3
  271. package/esm/date-time/DateTime.d.ts +1 -1
  272. package/esm/date-time/types.d.ts +1 -1
  273. package/esm/date-time/useDateTime.d.ts +1 -1
  274. package/esm/form-control/context.d.ts +1 -1
  275. package/esm/form-control/form-control.d.ts +1 -1
  276. package/esm/form-control/form-control.js +1 -1
  277. package/esm/form-control/info-icon.d.ts +6 -5
  278. package/esm/form-control/info-icon.js +0 -1
  279. package/esm/form-control/styled-component.js +2 -1
  280. package/esm/form-control/types.d.ts +3 -4
  281. package/esm/grid/Col.d.ts +2 -2
  282. package/esm/grid/Grid.d.ts +2 -2
  283. package/esm/grid/Grid.js +0 -3
  284. package/esm/grid/index.d.ts +1 -1
  285. package/esm/grid/types.d.ts +1 -1
  286. package/esm/helpers/ClearIconButton.d.ts +3 -3
  287. package/esm/helpers/ClearIconButton.js +1 -1
  288. package/esm/helpers/commonStyles.js +2 -3
  289. package/esm/helpers/intentHelper.d.ts +1 -1
  290. package/esm/helpers/longHandHelpers.d.ts +1 -1
  291. package/esm/helpers/themeHelpers.d.ts +2 -2
  292. package/esm/hooks/useAutoFocus.d.ts +2 -2
  293. package/esm/hooks/useAutoFocus.js +1 -0
  294. package/esm/hooks/useDebouncedEventHandler.d.ts +1 -1
  295. package/esm/hooks/useDebouncedEventHandler.js +0 -3
  296. package/esm/hooks/useHover.d.ts +1 -1
  297. package/esm/hooks/useMatchMedia.js +3 -2
  298. package/esm/hooks/useSVGAnimation.d.ts +2 -2
  299. package/esm/hooks/useTabsKeyboardNavigation.d.ts +1 -1
  300. package/esm/hooks/useTabsKeyboardNavigation.js +0 -1
  301. package/esm/hooks/useTransitionState.js +0 -1
  302. package/esm/icon/components/alert-solid.d.ts +1 -1
  303. package/esm/icon/components/alert-warning.d.ts +1 -1
  304. package/esm/icon/components/alert.d.ts +1 -1
  305. package/esm/icon/components/calendar-solid.d.ts +1 -1
  306. package/esm/icon/components/chevron-down-solid.d.ts +1 -1
  307. package/esm/icon/components/chevron-down.d.ts +1 -1
  308. package/esm/icon/components/chevron-left.d.ts +1 -1
  309. package/esm/icon/components/chevron-right.d.ts +1 -1
  310. package/esm/icon/components/clock-icon.d.ts +1 -1
  311. package/esm/icon/components/close.d.ts +1 -1
  312. package/esm/icon/components/delete-solid.d.ts +1 -1
  313. package/esm/icon/components/error-clr.d.ts +1 -1
  314. package/esm/icon/components/error.d.ts +1 -1
  315. package/esm/icon/components/form.d.ts +1 -1
  316. package/esm/icon/components/imagePreview.d.ts +1 -1
  317. package/esm/icon/components/info-circle.d.ts +1 -1
  318. package/esm/icon/components/info-solid.d.ts +2 -2
  319. package/esm/icon/components/info.d.ts +1 -1
  320. package/esm/icon/components/no-video.d.ts +1 -1
  321. package/esm/icon/components/noPreview.d.ts +1 -1
  322. package/esm/icon/components/options.d.ts +1 -1
  323. package/esm/icon/components/overview.d.ts +1 -1
  324. package/esm/icon/components/play-video.d.ts +1 -1
  325. package/esm/icon/components/reset-color.d.ts +1 -1
  326. package/esm/icon/components/search.d.ts +1 -1
  327. package/esm/icon/components/subtract.d.ts +1 -1
  328. package/esm/icon/components/tick.d.ts +1 -1
  329. package/esm/icon/components/tickCircle-solid.d.ts +1 -1
  330. package/esm/icon/components/timezone.d.ts +1 -1
  331. package/esm/icon/components/transparentBackground.d.ts +1 -1
  332. package/esm/icon/components/user.d.ts +1 -1
  333. package/esm/icon/components/video-non-playable.d.ts +1 -1
  334. package/esm/icon/components/warning-solid.d.ts +1 -1
  335. package/esm/icon/icon.d.ts +1 -1
  336. package/esm/icon/types.d.ts +3 -3
  337. package/esm/image/defaultFallbackImg.d.ts +2 -2
  338. package/esm/image/types.d.ts +3 -3
  339. package/esm/input/InputContainer.d.ts +1 -1
  340. package/esm/input/base-input.d.ts +2 -2
  341. package/esm/input/base-input.js +2 -2
  342. package/esm/input/masked-input.js +5 -5
  343. package/esm/input/neutral400Hex.d.ts +1 -1
  344. package/esm/input/number/NumberInput.d.ts +1 -1
  345. package/esm/input/number/StatefulNumberInput.d.ts +1 -1
  346. package/esm/input/number/base-input.d.ts +1 -1
  347. package/esm/input/useStatefulInput.d.ts +1 -2
  348. package/esm/layer/LayersManager.d.ts +1 -1
  349. package/esm/link/styled-components.d.ts +2 -2
  350. package/esm/link/types.d.ts +1 -1
  351. package/esm/list/avatar-list-item.d.ts +3 -3
  352. package/esm/list/list-item-text.d.ts +1 -1
  353. package/esm/list/list-item.d.ts +1 -1
  354. package/esm/list/styled-component.js +1 -1
  355. package/esm/loader/types.d.ts +3 -3
  356. package/esm/locale/context.d.ts +1 -1
  357. package/esm/locale/en_US.d.ts +1 -1
  358. package/esm/menu/nested-menu-context.d.ts +2 -2
  359. package/esm/menu/useItemContainerEventHandlers.d.ts +1 -1
  360. package/esm/modal/adapter.d.ts +3 -3
  361. package/esm/modal/modal-footer.d.ts +2 -2
  362. package/esm/modal/overrides.d.ts +3 -3
  363. package/esm/number/Number.d.ts +1 -1
  364. package/esm/number/constants.d.ts +1 -1
  365. package/esm/number/types.d.ts +1 -1
  366. package/esm/number/useNumber.d.ts +1 -1
  367. package/esm/overrides/mergeOverrides.d.ts +1 -1
  368. package/esm/overrides/types.d.ts +3 -3
  369. package/esm/overrides/useOverrides.d.ts +2 -2
  370. package/esm/payment-card/icons/amex.js +9 -1
  371. package/esm/payment-card/icons/dinersclub.js +9 -1
  372. package/esm/payment-card/icons/discover.js +9 -1
  373. package/esm/payment-card/icons/elo.js +9 -1
  374. package/esm/payment-card/icons/generic.js +9 -1
  375. package/esm/payment-card/icons/jcb.js +9 -1
  376. package/esm/payment-card/icons/maestro.js +9 -1
  377. package/esm/payment-card/icons/mastercard.js +9 -1
  378. package/esm/payment-card/icons/uatp.js +9 -1
  379. package/esm/payment-card/icons/unionpay.js +9 -1
  380. package/esm/payment-card/icons/visa.js +9 -1
  381. package/esm/payment-card/paymentCard.js +1 -1
  382. package/esm/payment-card/types.d.ts +4 -4
  383. package/esm/phone-input/country-select-container.d.ts +1 -1
  384. package/esm/phone-input/country-select.d.ts +1 -1
  385. package/esm/phone-input/default-props.d.ts +2 -2
  386. package/esm/phone-input/dial-code.d.ts +1 -1
  387. package/esm/phone-input/phone-input.d.ts +1 -1
  388. package/esm/phone-input/stateful-phone-input.d.ts +2 -2
  389. package/esm/phone-input/stateful-phone-input.js +2 -2
  390. package/esm/phone-input/types.d.ts +5 -5
  391. package/esm/phone-input/useStatefulPhoneInput.d.ts +1 -1
  392. package/esm/phone-input/utils.d.ts +2 -2
  393. package/esm/popover/PopoverEnhancer.d.ts +6 -6
  394. package/esm/popover/PopoverEnhancer.js +11 -9
  395. package/esm/popover/adapter.d.ts +2 -2
  396. package/esm/popover/hooks.d.ts +1 -1
  397. package/esm/popover/overrides.d.ts +2 -2
  398. package/esm/popover/stateful-popover.d.ts +1 -1
  399. package/esm/popover/utils.d.ts +1 -1
  400. package/esm/progress/circular/styled-component.d.ts +1 -1
  401. package/esm/progress/circular/types.d.ts +2 -2
  402. package/esm/progress/helper.d.ts +2 -2
  403. package/esm/progress/linear/ProgressSegment.js +1 -1
  404. package/esm/progress/linear/types.d.ts +2 -2
  405. package/esm/progress/types.d.ts +1 -1
  406. package/esm/progressSteps/progress-steps.d.ts +1 -1
  407. package/esm/progressSteps/step.d.ts +1 -1
  408. package/esm/progressSteps/styled-components.d.ts +1 -1
  409. package/esm/progressSteps/types.d.ts +1 -1
  410. package/esm/radio/radio.js +2 -1
  411. package/esm/radio/radiogroup.js +1 -1
  412. package/esm/radio/space-radio-context.d.ts +2 -2
  413. package/esm/radio/styled-components.d.ts +2 -2
  414. package/esm/radio/types.d.ts +5 -5
  415. package/esm/search/search.d.ts +3 -3
  416. package/esm/search/stateful-search.d.ts +2 -2
  417. package/esm/search/styled-components.d.ts +1 -1
  418. package/esm/search/types.d.ts +2 -2
  419. package/esm/select/SelectIdsContext.d.ts +1 -1
  420. package/esm/select/adaptor.d.ts +2 -2
  421. package/esm/select/base-select.js +4 -4
  422. package/esm/select/default-props.d.ts +1 -1
  423. package/esm/select/grouped-select.d.ts +2 -2
  424. package/esm/select/grouped-select.js +0 -1
  425. package/esm/select/mobileSelect/AdaptedCSSTransition/AdaptedCSSTransition.d.ts +1 -1
  426. package/esm/select/mobileSelect/AdaptedCSSTransition/types.d.ts +2 -2
  427. package/esm/select/mobileSelect/Backdrop.d.ts +1 -1
  428. package/esm/select/mobileSelect/MobileSelect.d.ts +1 -1
  429. package/esm/select/mobileSelect/MobileSheet.d.ts +1 -1
  430. package/esm/select/mobileSelect/hooks/usePauseBodyScrollEffect.d.ts +1 -1
  431. package/esm/select/mobileSelect/hooks/useSwipeableSheetStyles.d.ts +1 -1
  432. package/esm/select/mobileSelect/hooks/useSwipeableSheetStyles.js +2 -2
  433. package/esm/select/mobileSelect/hooks/useTransitionStyles.d.ts +1 -1
  434. package/esm/select/multi-value.d.ts +1 -1
  435. package/esm/select/multi-value.js +1 -1
  436. package/esm/select/no-results-message.d.ts +2 -2
  437. package/esm/select/overlaySelect/hooks/useControlRef.d.ts +1 -1
  438. package/esm/select/overlaySelect/hooks/usePopover.d.ts +1 -1
  439. package/esm/select/overrides.d.ts +3 -3
  440. package/esm/select/overrides.js +3 -2
  441. package/esm/select/select-variants.d.ts +1 -1
  442. package/esm/select/selectMenuAdapter/SelectMenuAdapter.js +2 -1
  443. package/esm/select/stateful-select.d.ts +1 -1
  444. package/esm/select/styled-component.js +1 -3
  445. package/esm/select/utils/adapt-select-value.d.ts +1 -1
  446. package/esm/select/utils/default-create-option.d.ts +1 -1
  447. package/esm/select/utils/hidden-element.d.ts +1 -1
  448. package/esm/select/utils/hidden-element.js +2 -1
  449. package/esm/select/utils/merge-options.d.ts +1 -1
  450. package/esm/slider/slider.js +13 -7
  451. package/esm/slider/stateful-slider-container.d.ts +1 -1
  452. package/esm/slider/stateful-slider-container.js +4 -4
  453. package/esm/slider/stateful-slider.d.ts +2 -2
  454. package/esm/slider/styled-components.d.ts +1 -1
  455. package/esm/slider/styled-components.js +27 -3
  456. package/esm/slider/types.d.ts +2 -2
  457. package/esm/snackbar/constants.d.ts +3 -3
  458. package/esm/snackbar/snackbarContext.d.ts +1 -1
  459. package/esm/snackbar/types.d.ts +1 -1
  460. package/esm/snackbar/useSnackbar.d.ts +2 -2
  461. package/esm/spaceConsumer/SpaceConsumer.d.ts +2 -2
  462. package/esm/spacewebProvider/AiIconLinearGradients.js +3 -1
  463. package/esm/spacewebProvider/CustomBaseProvider.d.ts +1 -1
  464. package/esm/spacewebProvider/DocumentProvider.d.ts +1 -1
  465. package/esm/spacewebProvider/SpacewebProvider.d.ts +4 -4
  466. package/esm/spacewebProvider/SpacewebProvider.js +1 -1
  467. package/esm/stack/context.d.ts +1 -1
  468. package/esm/stack/stack.d.ts +1 -1
  469. package/esm/stack/types.d.ts +2 -2
  470. package/esm/style/_buildUtils.d.ts +1 -1
  471. package/esm/style/_css.d.ts +1 -1
  472. package/esm/style/_cssParseStyle.d.ts +1 -1
  473. package/esm/style/_getStyle.d.ts +1 -1
  474. package/esm/style/_getStyleWithProps.d.ts +1 -1
  475. package/esm/style/_parseClassName.d.ts +1 -1
  476. package/esm/style/_parseStyleProp.d.ts +2 -2
  477. package/esm/style/_parseStyleProp.js +3 -2
  478. package/esm/style/_px2rem.d.ts +1 -1
  479. package/esm/style/styled-with-css-variables.d.ts +1 -1
  480. package/esm/style/styled.d.ts +2 -2
  481. package/esm/style/styled.js +1 -1
  482. package/esm/style/useMemoizedStyletron.js +2 -2
  483. package/esm/style/useStyle.d.ts +1 -1
  484. package/esm/styleEngine/styleEngine.d.ts +2 -2
  485. package/esm/styleEngine/styleEngine.js +0 -1
  486. package/esm/switch/switch.d.ts +3 -3
  487. package/esm/switch/switch.js +1 -1
  488. package/esm/tabs/contexts.d.ts +2 -2
  489. package/esm/tabs/helpers.d.ts +1 -1
  490. package/esm/tabs/scroll-button.d.ts +1 -1
  491. package/esm/tabs/stateful-tabs.d.ts +2 -2
  492. package/esm/tabs/styled-components.d.ts +2 -2
  493. package/esm/tabs/tab-list.d.ts +1 -1
  494. package/esm/tabs/tab.d.ts +2 -2
  495. package/esm/tabs/tabs-panel.d.ts +2 -2
  496. package/esm/tabs/types.d.ts +4 -4
  497. package/esm/tag/constants.d.ts +1 -1
  498. package/esm/tag/status-tag.d.ts +1 -1
  499. package/esm/tag/tag.js +6 -2
  500. package/esm/tag/utils.d.ts +1 -1
  501. package/esm/test-utils/test-provider/TestProvider.d.ts +1 -1
  502. package/esm/test-utils/test-provider/helpers.d.ts +2 -2
  503. package/esm/test-utils/test-provider/testableThemes.d.ts +1 -1
  504. package/esm/textarea/textarea.js +5 -5
  505. package/esm/textarea/types.d.ts +4 -5
  506. package/esm/textarea/useAutoSizeTextarea.d.ts +2 -2
  507. package/esm/theme/Provider.d.ts +2 -2
  508. package/esm/theme/context.d.ts +1 -1
  509. package/esm/theme/types.d.ts +1 -1
  510. package/esm/time-picker/TimePicker.d.ts +2 -2
  511. package/esm/time-picker/types.d.ts +5 -5
  512. package/esm/time-range-picker/RangeSelector.d.ts +2 -2
  513. package/esm/time-range-picker/TimeRangeList.d.ts +2 -2
  514. package/esm/time-range-picker/TimeRangePicker.d.ts +2 -2
  515. package/esm/time-range-picker/TimeRangePicker.js +2 -1
  516. package/esm/time-range-picker/TimezonePicker.d.ts +1 -1
  517. package/esm/time-range-picker/types.d.ts +1 -1
  518. package/esm/time-range-picker/utils.d.ts +2 -2
  519. package/esm/time-zone-picker/TimezonePicker.d.ts +2 -2
  520. package/esm/time-zone-picker/types.d.ts +1 -1
  521. package/esm/tooltip/disabled-tooltip-container.d.ts +1 -1
  522. package/esm/tooltip/overrides.d.ts +2 -2
  523. package/esm/tooltip/stateful-tooltip-container.d.ts +1 -1
  524. package/esm/tooltip/stateful-tooltip.d.ts +2 -2
  525. package/esm/tooltip/tooltip.d.ts +2 -2
  526. package/esm/tooltip/types.d.ts +5 -5
  527. package/esm/transitions/collapse/collapse.d.ts +2 -2
  528. package/esm/transitions/collapse/types.d.ts +2 -2
  529. package/esm/transitions/fade/fade.d.ts +2 -2
  530. package/esm/transitions/fade/types.d.ts +2 -2
  531. package/esm/transitions/grow/grow.d.ts +2 -2
  532. package/esm/transitions/grow/types.d.ts +2 -2
  533. package/esm/transitions/transition/SwitchTransition.d.ts +2 -2
  534. package/esm/transitions/transition/transition.d.ts +2 -2
  535. package/esm/transitions/transition/types.d.ts +5 -4
  536. package/esm/truncateWithTooltip/TruncateWithTooltip.d.ts +1 -1
  537. package/esm/truncateWithTooltip/TruncateWithTooltip.js +6 -5
  538. package/esm/truncateWithTooltip/hooks/useTruncateWithTooltip.d.ts +7 -2
  539. package/esm/truncateWithTooltip/hooks/useTruncateWithTooltip.js +9 -9
  540. package/esm/types.d.ts +5 -5
  541. package/esm/typography/Typography.d.ts +1 -1
  542. package/esm/typography/types.d.ts +4 -4
  543. package/esm/utils/intlNumberFormatUtils/index.d.ts +1 -1
  544. package/esm/utils/intlNumberFormatUtils/index.js +1 -1
  545. package/esm/video/DefaultFallbackImg.d.ts +2 -2
  546. package/esm/video/Video.js +0 -1
  547. package/esm/video/types.d.ts +4 -5
  548. package/form-control/context.d.ts +1 -1
  549. package/form-control/form-control.d.ts +1 -1
  550. package/form-control/form-control.js +1 -1
  551. package/form-control/info-icon.d.ts +6 -5
  552. package/form-control/info-icon.js +0 -1
  553. package/form-control/styled-component.js +2 -1
  554. package/form-control/types.d.ts +3 -4
  555. package/grid/Col.d.ts +2 -2
  556. package/grid/Grid.d.ts +2 -2
  557. package/grid/Grid.js +0 -3
  558. package/grid/index.d.ts +1 -1
  559. package/grid/types.d.ts +1 -1
  560. package/helpers/ClearIconButton.d.ts +3 -3
  561. package/helpers/ClearIconButton.js +1 -1
  562. package/helpers/commonStyles.js +2 -3
  563. package/helpers/intentHelper.d.ts +1 -1
  564. package/helpers/longHandHelpers.d.ts +1 -1
  565. package/helpers/themeHelpers.d.ts +2 -2
  566. package/hooks/useAutoFocus.d.ts +2 -2
  567. package/hooks/useAutoFocus.js +1 -0
  568. package/hooks/useDebouncedEventHandler.d.ts +1 -1
  569. package/hooks/useDebouncedEventHandler.js +0 -3
  570. package/hooks/useHover.d.ts +1 -1
  571. package/hooks/useMatchMedia.js +3 -2
  572. package/hooks/useSVGAnimation.d.ts +2 -2
  573. package/hooks/useTabsKeyboardNavigation.d.ts +1 -1
  574. package/hooks/useTabsKeyboardNavigation.js +0 -1
  575. package/hooks/useTransitionState.js +0 -1
  576. package/icon/components/alert-solid.d.ts +1 -1
  577. package/icon/components/alert-warning.d.ts +1 -1
  578. package/icon/components/alert.d.ts +1 -1
  579. package/icon/components/calendar-solid.d.ts +1 -1
  580. package/icon/components/chevron-down-solid.d.ts +1 -1
  581. package/icon/components/chevron-down.d.ts +1 -1
  582. package/icon/components/chevron-left.d.ts +1 -1
  583. package/icon/components/chevron-right.d.ts +1 -1
  584. package/icon/components/clock-icon.d.ts +1 -1
  585. package/icon/components/close.d.ts +1 -1
  586. package/icon/components/delete-solid.d.ts +1 -1
  587. package/icon/components/error-clr.d.ts +1 -1
  588. package/icon/components/error.d.ts +1 -1
  589. package/icon/components/form.d.ts +1 -1
  590. package/icon/components/imagePreview.d.ts +1 -1
  591. package/icon/components/info-circle.d.ts +1 -1
  592. package/icon/components/info-solid.d.ts +2 -2
  593. package/icon/components/info.d.ts +1 -1
  594. package/icon/components/no-video.d.ts +1 -1
  595. package/icon/components/noPreview.d.ts +1 -1
  596. package/icon/components/options.d.ts +1 -1
  597. package/icon/components/overview.d.ts +1 -1
  598. package/icon/components/play-video.d.ts +1 -1
  599. package/icon/components/reset-color.d.ts +1 -1
  600. package/icon/components/search.d.ts +1 -1
  601. package/icon/components/subtract.d.ts +1 -1
  602. package/icon/components/tick.d.ts +1 -1
  603. package/icon/components/tickCircle-solid.d.ts +1 -1
  604. package/icon/components/timezone.d.ts +1 -1
  605. package/icon/components/transparentBackground.d.ts +1 -1
  606. package/icon/components/user.d.ts +1 -1
  607. package/icon/components/video-non-playable.d.ts +1 -1
  608. package/icon/components/warning-solid.d.ts +1 -1
  609. package/icon/icon.d.ts +1 -1
  610. package/icon/types.d.ts +3 -3
  611. package/image/defaultFallbackImg.d.ts +2 -2
  612. package/image/types.d.ts +3 -3
  613. package/input/InputContainer.d.ts +1 -1
  614. package/input/base-input.d.ts +2 -2
  615. package/input/base-input.js +2 -2
  616. package/input/masked-input.js +5 -5
  617. package/input/neutral400Hex.d.ts +1 -1
  618. package/input/number/NumberInput.d.ts +1 -1
  619. package/input/number/StatefulNumberInput.d.ts +1 -1
  620. package/input/number/base-input.d.ts +1 -1
  621. package/input/useStatefulInput.d.ts +1 -2
  622. package/layer/LayersManager.d.ts +1 -1
  623. package/link/styled-components.d.ts +2 -2
  624. package/link/types.d.ts +1 -1
  625. package/list/avatar-list-item.d.ts +3 -3
  626. package/list/list-item-text.d.ts +1 -1
  627. package/list/list-item.d.ts +1 -1
  628. package/list/styled-component.js +1 -1
  629. package/loader/types.d.ts +3 -3
  630. package/locale/context.d.ts +1 -1
  631. package/locale/en_US.d.ts +1 -1
  632. package/menu/nested-menu-context.d.ts +2 -2
  633. package/menu/useItemContainerEventHandlers.d.ts +1 -1
  634. package/modal/adapter.d.ts +3 -3
  635. package/modal/modal-footer.d.ts +2 -2
  636. package/modal/overrides.d.ts +3 -3
  637. package/number/Number.d.ts +1 -1
  638. package/number/constants.d.ts +1 -1
  639. package/number/types.d.ts +1 -1
  640. package/number/useNumber.d.ts +1 -1
  641. package/overrides/mergeOverrides.d.ts +1 -1
  642. package/overrides/types.d.ts +3 -3
  643. package/overrides/useOverrides.d.ts +2 -2
  644. package/package.json +2 -2
  645. package/payment-card/icons/amex.js +9 -1
  646. package/payment-card/icons/dinersclub.js +9 -1
  647. package/payment-card/icons/discover.js +9 -1
  648. package/payment-card/icons/elo.js +9 -1
  649. package/payment-card/icons/generic.js +9 -1
  650. package/payment-card/icons/jcb.js +9 -1
  651. package/payment-card/icons/maestro.js +9 -1
  652. package/payment-card/icons/mastercard.js +9 -1
  653. package/payment-card/icons/uatp.js +9 -1
  654. package/payment-card/icons/unionpay.js +9 -1
  655. package/payment-card/icons/visa.js +9 -1
  656. package/payment-card/paymentCard.js +1 -1
  657. package/payment-card/types.d.ts +4 -4
  658. package/phone-input/country-select-container.d.ts +1 -1
  659. package/phone-input/country-select.d.ts +1 -1
  660. package/phone-input/default-props.d.ts +2 -2
  661. package/phone-input/dial-code.d.ts +1 -1
  662. package/phone-input/phone-input.d.ts +1 -1
  663. package/phone-input/stateful-phone-input.d.ts +2 -2
  664. package/phone-input/stateful-phone-input.js +1 -1
  665. package/phone-input/types.d.ts +5 -5
  666. package/phone-input/useStatefulPhoneInput.d.ts +1 -1
  667. package/phone-input/utils.d.ts +2 -2
  668. package/popover/PopoverEnhancer.d.ts +6 -6
  669. package/popover/PopoverEnhancer.js +10 -8
  670. package/popover/adapter.d.ts +2 -2
  671. package/popover/hooks.d.ts +1 -1
  672. package/popover/overrides.d.ts +2 -2
  673. package/popover/stateful-popover.d.ts +1 -1
  674. package/popover/utils.d.ts +1 -1
  675. package/progress/circular/styled-component.d.ts +1 -1
  676. package/progress/circular/types.d.ts +2 -2
  677. package/progress/helper.d.ts +2 -2
  678. package/progress/linear/ProgressSegment.js +1 -1
  679. package/progress/linear/types.d.ts +2 -2
  680. package/progress/types.d.ts +1 -1
  681. package/progressSteps/progress-steps.d.ts +1 -1
  682. package/progressSteps/step.d.ts +1 -1
  683. package/progressSteps/styled-components.d.ts +1 -1
  684. package/progressSteps/types.d.ts +1 -1
  685. package/radio/radio.js +2 -1
  686. package/radio/radiogroup.js +1 -1
  687. package/radio/space-radio-context.d.ts +2 -2
  688. package/radio/styled-components.d.ts +2 -2
  689. package/radio/types.d.ts +5 -5
  690. package/search/search.d.ts +3 -3
  691. package/search/stateful-search.d.ts +2 -2
  692. package/search/styled-components.d.ts +1 -1
  693. package/search/types.d.ts +2 -2
  694. package/select/SelectIdsContext.d.ts +1 -1
  695. package/select/adaptor.d.ts +2 -2
  696. package/select/base-select.js +4 -4
  697. package/select/default-props.d.ts +1 -1
  698. package/select/grouped-select.d.ts +2 -2
  699. package/select/grouped-select.js +0 -1
  700. package/select/mobileSelect/AdaptedCSSTransition/AdaptedCSSTransition.d.ts +1 -1
  701. package/select/mobileSelect/AdaptedCSSTransition/types.d.ts +2 -2
  702. package/select/mobileSelect/Backdrop.d.ts +1 -1
  703. package/select/mobileSelect/MobileSelect.d.ts +1 -1
  704. package/select/mobileSelect/MobileSheet.d.ts +1 -1
  705. package/select/mobileSelect/hooks/usePauseBodyScrollEffect.d.ts +1 -1
  706. package/select/mobileSelect/hooks/useSwipeableSheetStyles.d.ts +1 -1
  707. package/select/mobileSelect/hooks/useSwipeableSheetStyles.js +2 -2
  708. package/select/mobileSelect/hooks/useTransitionStyles.d.ts +1 -1
  709. package/select/multi-value.d.ts +1 -1
  710. package/select/multi-value.js +1 -1
  711. package/select/no-results-message.d.ts +2 -2
  712. package/select/overlaySelect/hooks/useControlRef.d.ts +1 -1
  713. package/select/overlaySelect/hooks/usePopover.d.ts +1 -1
  714. package/select/overrides.d.ts +3 -3
  715. package/select/overrides.js +3 -2
  716. package/select/select-variants.d.ts +1 -1
  717. package/select/selectMenuAdapter/SelectMenuAdapter.js +2 -1
  718. package/select/stateful-select.d.ts +1 -1
  719. package/select/styled-component.js +1 -3
  720. package/select/utils/adapt-select-value.d.ts +1 -1
  721. package/select/utils/default-create-option.d.ts +1 -1
  722. package/select/utils/hidden-element.d.ts +1 -1
  723. package/select/utils/hidden-element.js +2 -1
  724. package/select/utils/merge-options.d.ts +1 -1
  725. package/slider/slider.js +13 -7
  726. package/slider/stateful-slider-container.d.ts +1 -1
  727. package/slider/stateful-slider-container.js +4 -4
  728. package/slider/stateful-slider.d.ts +2 -2
  729. package/slider/styled-components.d.ts +1 -1
  730. package/slider/styled-components.js +27 -3
  731. package/slider/types.d.ts +2 -2
  732. package/snackbar/constants.d.ts +3 -3
  733. package/snackbar/snackbarContext.d.ts +1 -1
  734. package/snackbar/types.d.ts +1 -1
  735. package/snackbar/useSnackbar.d.ts +2 -2
  736. package/spaceConsumer/SpaceConsumer.d.ts +2 -2
  737. package/spacewebProvider/AiIconLinearGradients.js +3 -1
  738. package/spacewebProvider/CustomBaseProvider.d.ts +1 -1
  739. package/spacewebProvider/DocumentProvider.d.ts +1 -1
  740. package/spacewebProvider/SpacewebProvider.d.ts +4 -4
  741. package/spacewebProvider/SpacewebProvider.js +1 -1
  742. package/stack/context.d.ts +1 -1
  743. package/stack/stack.d.ts +1 -1
  744. package/stack/types.d.ts +2 -2
  745. package/style/_buildUtils.d.ts +1 -1
  746. package/style/_css.d.ts +1 -1
  747. package/style/_cssParseStyle.d.ts +1 -1
  748. package/style/_getStyle.d.ts +1 -1
  749. package/style/_getStyleWithProps.d.ts +1 -1
  750. package/style/_parseClassName.d.ts +1 -1
  751. package/style/_parseStyleProp.d.ts +2 -2
  752. package/style/_parseStyleProp.js +3 -2
  753. package/style/_px2rem.d.ts +1 -1
  754. package/style/styled-with-css-variables.d.ts +1 -1
  755. package/style/styled.d.ts +2 -2
  756. package/style/styled.js +1 -1
  757. package/style/useMemoizedStyletron.js +2 -2
  758. package/style/useStyle.d.ts +1 -1
  759. package/styleEngine/styleEngine.d.ts +2 -2
  760. package/styleEngine/styleEngine.js +0 -1
  761. package/switch/switch.d.ts +3 -3
  762. package/switch/switch.js +1 -1
  763. package/tabs/contexts.d.ts +2 -2
  764. package/tabs/helpers.d.ts +1 -1
  765. package/tabs/scroll-button.d.ts +1 -1
  766. package/tabs/stateful-tabs.d.ts +2 -2
  767. package/tabs/styled-components.d.ts +2 -2
  768. package/tabs/tab-list.d.ts +1 -1
  769. package/tabs/tab.d.ts +2 -2
  770. package/tabs/tabs-panel.d.ts +2 -2
  771. package/tabs/types.d.ts +4 -4
  772. package/tag/constants.d.ts +1 -1
  773. package/tag/status-tag.d.ts +1 -1
  774. package/tag/tag.js +6 -2
  775. package/tag/utils.d.ts +1 -1
  776. package/test-utils/test-provider/TestProvider.d.ts +1 -1
  777. package/test-utils/test-provider/helpers.d.ts +2 -2
  778. package/test-utils/test-provider/testableThemes.d.ts +1 -1
  779. package/textarea/textarea.js +5 -5
  780. package/textarea/types.d.ts +4 -5
  781. package/textarea/useAutoSizeTextarea.d.ts +2 -2
  782. package/theme/Provider.d.ts +2 -2
  783. package/theme/context.d.ts +1 -1
  784. package/theme/types.d.ts +1 -1
  785. package/time-picker/TimePicker.d.ts +2 -2
  786. package/time-picker/types.d.ts +5 -5
  787. package/time-range-picker/RangeSelector.d.ts +2 -2
  788. package/time-range-picker/TimeRangeList.d.ts +2 -2
  789. package/time-range-picker/TimeRangePicker.d.ts +2 -2
  790. package/time-range-picker/TimeRangePicker.js +2 -1
  791. package/time-range-picker/TimezonePicker.d.ts +1 -1
  792. package/time-range-picker/types.d.ts +1 -1
  793. package/time-range-picker/utils.d.ts +2 -2
  794. package/time-zone-picker/TimezonePicker.d.ts +2 -2
  795. package/time-zone-picker/types.d.ts +1 -1
  796. package/tooltip/disabled-tooltip-container.d.ts +1 -1
  797. package/tooltip/overrides.d.ts +2 -2
  798. package/tooltip/stateful-tooltip-container.d.ts +1 -1
  799. package/tooltip/stateful-tooltip.d.ts +2 -2
  800. package/tooltip/tooltip.d.ts +2 -2
  801. package/tooltip/types.d.ts +5 -5
  802. package/transitions/collapse/collapse.d.ts +2 -2
  803. package/transitions/collapse/types.d.ts +2 -2
  804. package/transitions/fade/fade.d.ts +2 -2
  805. package/transitions/fade/types.d.ts +2 -2
  806. package/transitions/grow/grow.d.ts +2 -2
  807. package/transitions/grow/types.d.ts +2 -2
  808. package/transitions/transition/SwitchTransition.d.ts +2 -2
  809. package/transitions/transition/transition.d.ts +2 -2
  810. package/transitions/transition/types.d.ts +5 -4
  811. package/truncateWithTooltip/TruncateWithTooltip.d.ts +1 -1
  812. package/truncateWithTooltip/TruncateWithTooltip.js +6 -5
  813. package/truncateWithTooltip/hooks/useTruncateWithTooltip.d.ts +7 -2
  814. package/truncateWithTooltip/hooks/useTruncateWithTooltip.js +9 -9
  815. package/tsconfig.build.tsbuildinfo +1 -1
  816. package/types.d.ts +5 -5
  817. package/typography/Typography.d.ts +1 -1
  818. package/typography/types.d.ts +4 -4
  819. package/utils/intlNumberFormatUtils/index.d.ts +1 -1
  820. package/utils/intlNumberFormatUtils/index.js +1 -1
  821. package/video/DefaultFallbackImg.d.ts +2 -2
  822. package/video/Video.js +0 -1
  823. package/video/types.d.ts +4 -5
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function Overview(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function PlayVideo(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function ResetColor(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function Search(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function Subtract(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function Tick(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function TickCircleSolid(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function Timezone(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function TransparentBackground(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function User(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function VideoNonPlayable(props: IconProps): React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { IconProps } from '../types';
2
+ import type { IconProps } from '../types';
3
3
  export default function WarningSolid(props: IconProps): React.ReactElement;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { IconProps } from './types';
2
+ import type { IconProps } from './types';
3
3
  declare const Icon: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
4
4
  export default Icon;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { SpacewebComponentProps } from '../types';
3
- import { SVG_ICON_INTENTS } from './constants';
1
+ import type * as React from 'react';
2
+ import type { SpacewebComponentProps } from '../types';
3
+ import type { SVG_ICON_INTENTS } from './constants';
4
4
  export type Size = number;
5
5
  export type IntentType = (typeof SVG_ICON_INTENTS)[keyof typeof SVG_ICON_INTENTS];
6
6
  export type AnimationType = 'hover' | 'always';
@@ -1,5 +1,5 @@
1
- import { ReactElement } from 'react';
2
- import { DefaultFallbackProps } from './types';
1
+ import type { ReactElement } from 'react';
2
+ import type { DefaultFallbackProps } from './types';
3
3
  export declare const StyledRoot: import("../style").StyledComponent;
4
4
  declare const DefaultFallbackImg: ({ width, height, iconSize, overrides }: DefaultFallbackProps) => ReactElement;
5
5
  export default DefaultFallbackImg;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { Override } from '../overrides';
3
- import { SpacewebComponentProps } from '../types';
1
+ import type * as React from 'react';
2
+ import type { Override } from '../overrides';
3
+ import type { SpacewebComponentProps } from '../types';
4
4
  export type ImageOverrides = {
5
5
  Image?: Override<{}>;
6
6
  Root?: Override<{}>;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  import type { Intent } from '../types';
3
3
  import type { FocusPosition } from './types';
4
4
  type InputContainerProps = {
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { BaseInputProps } from './types';
3
- declare const BaseInput: <T extends HTMLInputElement | HTMLTextAreaElement>({ value, adjoined, autoComplete, disabled, name, onBlur, onChange, onKeyDown, onKeyPress, onKeyUp, onFocus, onClear, clearable, clearOnEscape, overrides, pattern, placeholder, required, size, type, inputMode, readOnly, maxLength, id, min, max, step, role, rows, inputRef, resize, intent, variant, debouncedOnChange, debounceInterval, style, maxCharLimit, draggable, endEnhancer, animate, ...props }: BaseInputProps<T>) => JSX.Element;
2
+ import type { BaseInputProps } from './types';
3
+ declare const BaseInput: <T extends HTMLInputElement | HTMLTextAreaElement>({ value, adjoined, autoComplete, disabled, name, onBlur, onChange, onKeyDown, onKeyPress, onKeyUp, onFocus, onClear: _onClear, clearable, clearOnEscape, overrides, pattern, placeholder, required, size, type, inputMode, readOnly, maxLength, id, min, max, step, role, rows, inputRef, resize, intent, variant, debouncedOnChange, debounceInterval, style: _style, maxCharLimit, draggable, endEnhancer, animate, ...props }: BaseInputProps<T>) => JSX.Element;
4
4
  export default BaseInput;
@@ -17,7 +17,7 @@ import { Typography } from '../typography';
17
17
  import { CircularProgress } from '../progress';
18
18
  var NullComponent = function () { return null; };
19
19
  var BaseInput = function (_a) {
20
- var value = _a.value, _b = _a.adjoined, adjoined = _b === void 0 ? ADJOINED.none : _b, _c = _a.autoComplete, autoComplete = _c === void 0 ? 'on' : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.name, name = _e === void 0 ? '' : _e, _f = _a.onBlur, onBlur = _f === void 0 ? _noop : _f, _g = _a.onChange, onChange = _g === void 0 ? _noop : _g, _h = _a.onKeyDown, onKeyDown = _h === void 0 ? _noop : _h, _j = _a.onKeyPress, onKeyPress = _j === void 0 ? _noop : _j, _k = _a.onKeyUp, onKeyUp = _k === void 0 ? _noop : _k, _l = _a.onFocus, onFocus = _l === void 0 ? _noop : _l, _m = _a.onClear, onClear = _m === void 0 ? _noop : _m, _o = _a.clearable, clearable = _o === void 0 ? false : _o, _p = _a.clearOnEscape, clearOnEscape = _p === void 0 ? true : _p, _q = _a.overrides, overrides = _q === void 0 ? {} : _q, pattern = _a.pattern, _r = _a.placeholder, placeholder = _r === void 0 ? '' : _r, _s = _a.required, required = _s === void 0 ? false : _s, _t = _a.size, size = _t === void 0 ? 'md' : _t, _u = _a.type, type = _u === void 0 ? 'text' : _u, _v = _a.inputMode, inputMode = _v === void 0 ? 'text' : _v, _w = _a.readOnly, readOnly = _w === void 0 ? false : _w, maxLength = _a.maxLength, id = _a.id, min = _a.min, max = _a.max, step = _a.step, role = _a.role, rows = _a.rows, _x = _a.inputRef, inputRef = _x === void 0 ? createRef() : _x, resize = _a.resize, _y = _a.intent, intent = _y === void 0 ? 'default' : _y, _z = _a.variant, variant = _z === void 0 ? 'default' : _z, _0 = _a.debouncedOnChange, debouncedOnChange = _0 === void 0 ? _noop : _0, _1 = _a.debounceInterval, debounceInterval = _1 === void 0 ? 200 : _1, style = _a.style, maxCharLimit = _a.maxCharLimit, _2 = _a.draggable, draggable = _2 === void 0 ? false : _2, endEnhancer = _a.endEnhancer, animate = _a.animate, props = __rest(_a, ["value", "adjoined", "autoComplete", "disabled", "name", "onBlur", "onChange", "onKeyDown", "onKeyPress", "onKeyUp", "onFocus", "onClear", "clearable", "clearOnEscape", "overrides", "pattern", "placeholder", "required", "size", "type", "inputMode", "readOnly", "maxLength", "id", "min", "max", "step", "role", "rows", "inputRef", "resize", "intent", "variant", "debouncedOnChange", "debounceInterval", "style", "maxCharLimit", "draggable", "endEnhancer", "animate"]);
20
+ var value = _a.value, _b = _a.adjoined, adjoined = _b === void 0 ? ADJOINED.none : _b, _c = _a.autoComplete, autoComplete = _c === void 0 ? 'on' : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.name, name = _e === void 0 ? '' : _e, _f = _a.onBlur, onBlur = _f === void 0 ? _noop : _f, _g = _a.onChange, onChange = _g === void 0 ? _noop : _g, _h = _a.onKeyDown, onKeyDown = _h === void 0 ? _noop : _h, _j = _a.onKeyPress, onKeyPress = _j === void 0 ? _noop : _j, _k = _a.onKeyUp, onKeyUp = _k === void 0 ? _noop : _k, _l = _a.onFocus, onFocus = _l === void 0 ? _noop : _l, _m = _a.onClear, _onClear = _m === void 0 ? _noop : _m, _o = _a.clearable, clearable = _o === void 0 ? false : _o, _p = _a.clearOnEscape, clearOnEscape = _p === void 0 ? true : _p, _q = _a.overrides, overrides = _q === void 0 ? {} : _q, pattern = _a.pattern, _r = _a.placeholder, placeholder = _r === void 0 ? '' : _r, _s = _a.required, required = _s === void 0 ? false : _s, _t = _a.size, size = _t === void 0 ? 'md' : _t, _u = _a.type, type = _u === void 0 ? 'text' : _u, _v = _a.inputMode, inputMode = _v === void 0 ? 'text' : _v, _w = _a.readOnly, readOnly = _w === void 0 ? false : _w, maxLength = _a.maxLength, id = _a.id, min = _a.min, max = _a.max, step = _a.step, role = _a.role, rows = _a.rows, _x = _a.inputRef, inputRef = _x === void 0 ? createRef() : _x, resize = _a.resize, _y = _a.intent, intent = _y === void 0 ? 'default' : _y, _z = _a.variant, variant = _z === void 0 ? 'default' : _z, _0 = _a.debouncedOnChange, debouncedOnChange = _0 === void 0 ? _noop : _0, _1 = _a.debounceInterval, debounceInterval = _1 === void 0 ? 200 : _1, _style = _a.style, maxCharLimit = _a.maxCharLimit, _2 = _a.draggable, draggable = _2 === void 0 ? false : _2, endEnhancer = _a.endEnhancer, animate = _a.animate, props = __rest(_a, ["value", "adjoined", "autoComplete", "disabled", "name", "onBlur", "onChange", "onKeyDown", "onKeyPress", "onKeyUp", "onFocus", "onClear", "clearable", "clearOnEscape", "overrides", "pattern", "placeholder", "required", "size", "type", "inputMode", "readOnly", "maxLength", "id", "min", "max", "step", "role", "rows", "inputRef", "resize", "intent", "variant", "debouncedOnChange", "debounceInterval", "style", "maxCharLimit", "draggable", "endEnhancer", "animate"]);
21
21
  var handleChange = useDebouncedEventHandler(debouncedOnChange, onChange, debounceInterval);
22
22
  var handleOnDragStart = useCallback(function (e) { return e.preventDefault(); }, []);
23
23
  var isEnhancer = function (enhancer) { return Boolean(enhancer || enhancer === 0); };
@@ -50,7 +50,7 @@ var BaseInput = function (_a) {
50
50
  setState(function (prev) { return (__assign(__assign({}, prev), { isFocusVisibleForMaskToggle: false })); });
51
51
  }
52
52
  }, []);
53
- var handleBlurForMaskToggle = useCallback(function (event) {
53
+ var handleBlurForMaskToggle = useCallback(function (_event) {
54
54
  if (state.isFocusVisibleForMaskToggle) {
55
55
  setState(function (prev) { return (__assign(__assign({}, prev), { isFocusVisibleForMaskToggle: false })); });
56
56
  }
@@ -5,19 +5,19 @@ import InputMask from 'react-input-mask';
5
5
  import Input from './input';
6
6
  import { StyledInput } from './styled-components';
7
7
  var MaskOverride = React.forwardRef(function (_a, ref) {
8
- var startEnhancer = _a.startEnhancer, endEnhancer = _a.endEnhancer, onChange = _a.onChange, onFocus = _a.onFocus, onBlur = _a.onBlur, value = _a.value, disabled = _a.disabled, readOnly = _a.readOnly, restProps = __rest(_a, ["startEnhancer", "endEnhancer", "onChange", "onFocus", "onBlur", "value", "disabled", "readOnly"]);
8
+ var _startEnhancer = _a.startEnhancer, _endEnhancer = _a.endEnhancer, onChange = _a.onChange, onFocus = _a.onFocus, onBlur = _a.onBlur, value = _a.value, disabled = _a.disabled, readOnly = _a.readOnly, restProps = __rest(_a, ["startEnhancer", "endEnhancer", "onChange", "onFocus", "onBlur", "value", "disabled", "readOnly"]);
9
9
  return (_jsx(InputMask, __assign({ onChange: onChange, onFocus: onFocus, onBlur: onBlur, value: value, disabled: disabled, readOnly: readOnly }, restProps, { children: function (props) { return (_jsx(StyledInput, __assign({ ref: ref, onChange: onChange, onFocus: onFocus, onBlur: onBlur, value: value, disabled: disabled, readOnly: readOnly }, props))); } })));
10
10
  });
11
11
  MaskOverride.displayName = 'MaskOverride';
12
12
  export default function MaskedInput(_a) {
13
13
  var mask = _a.mask, maskChar = _a.maskChar, _b = _a.overrides, _c = _b === void 0 ? {} : _b, _d = _c.Input, inputOverride = _d === void 0 ? {} : _d, restOverrides = __rest(_c, ["Input"]), restProps = __rest(_a, ["mask", "maskChar", "overrides"]);
14
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
14
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- InputOverride union is loosely typed
15
15
  var componentOverride = MaskOverride;
16
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
16
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- InputOverride union is loosely typed
17
17
  var propsOverride = {};
18
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- InputOverride union is loosely typed
19
19
  var styleOverride = {};
20
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
20
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- InputOverride union is loosely typed
21
21
  var classNameOverride = '';
22
22
  if (typeof inputOverride === 'function') {
23
23
  componentOverride = inputOverride;
@@ -1,4 +1,4 @@
1
- import { Theme } from '@sprinklrjs/spaceweb-themes/types';
1
+ import type { Theme } from '@sprinklrjs/spaceweb-themes/types';
2
2
  /**
3
3
  * neutral-400 as hex for light (#B8B9BB) and dark (#94969A) themes.
4
4
  * Used for disabled and unchecked form-control borders and tracks (checkbox, radio, switch)
@@ -1,4 +1,4 @@
1
- import { ReactElement } from 'react';
1
+ import type { ReactElement } from 'react';
2
2
  import type { InputProps } from '../types';
3
3
  export type NumberInputProps = Omit<InputProps, 'maxCharLimit'> & {
4
4
  showArrows?: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import { NumberInputProps } from './NumberInput';
2
+ import type { NumberInputProps } from './NumberInput';
3
3
  import type { StatefulContainerProps } from '../types';
4
4
  import type { SpacewebComponentProps } from '../../types';
5
5
  export type StatefulNumberInputProps = SpacewebComponentProps<Omit<NumberInputProps, 'onChange'>> & StatefulContainerProps<HTMLInputElement>;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent, KeyboardEvent } from 'react';
1
+ import type { ChangeEvent, KeyboardEvent } from 'react';
2
2
  import type { NumberInputProps } from './NumberInput';
3
3
  export declare const BaseNumberInput: import("react").ForwardRefExoticComponent<Omit<{
4
4
  'aria-activedescendant'?: string | undefined;
@@ -1,6 +1,5 @@
1
+ import { type ChangeEvent } from 'react';
1
2
  import type { StatefulContainerProps } from './types';
2
- import type { ChangeEvent } from 'react';
3
- import * as React from 'react';
4
3
  declare const useStatefulInput: <T extends HTMLInputElement | HTMLTextAreaElement>({ initialState, stateReducer, onChange, }: StatefulContainerProps<T>) => {
5
4
  value?: string | number | undefined;
6
5
  onChange?: ((e: ChangeEvent<T>) => void) | undefined;
@@ -1,4 +1,4 @@
1
- import { ReactElement, ReactNode } from 'react';
1
+ import type { ReactElement, ReactNode } from 'react';
2
2
  export type LayersManagerProps = {
3
3
  children: ReactNode;
4
4
  zIndex?: number;
@@ -1,5 +1,5 @@
1
- import { StyledComponent } from '../style/styled';
2
- import { ClassName, Styles } from '../types';
1
+ import type { StyledComponent } from '../style/styled';
2
+ import type { ClassName, Styles } from '../types';
3
3
  export declare const getLinkThemeFontOverride: Styles;
4
4
  export declare const linkStyles: ClassName;
5
5
  export declare const StyledLink: StyledComponent;
@@ -1,4 +1,4 @@
1
- import { SpacewebComponentProps } from '../types';
1
+ import type { SpacewebComponentProps } from '../types';
2
2
  export type LinkProps = SpacewebComponentProps & {
3
3
  href?: string;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { AvatarProps } from '../avatar';
3
- import { ListItemProps } from './types';
4
- import { Override } from '../overrides';
2
+ import type { AvatarProps } from '../avatar';
3
+ import type { ListItemProps } from './types';
4
+ import type { Override } from '../overrides';
5
5
  type SharedProps = {
6
6
  $item?: Record<string, any>;
7
7
  $labelKey?: string;
@@ -1,3 +1,3 @@
1
- import { ListItemTextProps } from './types';
1
+ import type { ListItemTextProps } from './types';
2
2
  declare const ListItemText: ({ overrides, children, secondary }: ListItemTextProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ListItemText;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Enhancer, ListItemSharedProps } from './types';
2
+ import type { Enhancer, ListItemSharedProps } from './types';
3
3
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<React.AllHTMLAttributes<HTMLElement>, "className" | "style"> & {
4
4
  $as?: React.ElementType | undefined;
5
5
  className?: import("..").ClassName;
@@ -47,7 +47,7 @@ var getListItemCompactStyles = function (_a) {
47
47
  return 'pt-[--sw-padding-block-start] pb-[--sw-padding-block-end] px-2 text-14 leading-150 font-400 rounded-8 mb-1 last:mb-0';
48
48
  };
49
49
  export var StyledListItem = styledWithCssVariables('li', { '--sw-padding-block-start': '0.55rem', '--sw-padding-block-end': '0.55rem' }, getListItemCompactStyles, listItemCVA,
50
- // @ts-expect-error
50
+ // @ts-expect-error -- theme override helper is not in styledWithCssVariables overload
51
51
  getBackgroundColorThemeOverride);
52
52
  export var StyledListItemText = styled('div', listItemTextCVA);
53
53
  export var StyledPrimaryText = styled('div', primaryTextCVA);
@@ -1,6 +1,6 @@
1
- import { PropsWithChildren, ReactNode } from 'react';
2
- import { Override } from '../overrides';
3
- import { Intent, SpacewebComponentProps } from '../types';
1
+ import type { PropsWithChildren, ReactNode } from 'react';
2
+ import type { Override } from '../overrides';
3
+ import type { Intent, SpacewebComponentProps } from '../types';
4
4
  export type Variant = 'clip' | 'beat' | 'spinner';
5
5
  export type SharedProps = {
6
6
  $variant: Variant;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Locale } from './types';
2
+ import type { Locale } from './types';
3
3
  type DeepPartial<T> = {
4
4
  [P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : DeepPartial<T[P]>;
5
5
  };
@@ -1,2 +1,2 @@
1
- import { Locale } from './types';
1
+ import type { Locale } from './types';
2
2
  export declare const DEFAULT_LOCALE: Locale;
@@ -1,5 +1,5 @@
1
- import { ReactElement, PropsWithChildren } from 'react';
2
- import { ContextMenuInfo } from './types';
1
+ import type { ReactElement, PropsWithChildren } from 'react';
2
+ import type { ContextMenuInfo } from './types';
3
3
  export declare const NestedMenuContext: import("react").Context<Partial<{
4
4
  registerMenu: (menuInfo: ContextMenuInfo) => void;
5
5
  unregisterMenu: (menuRef?: HTMLElement | undefined) => void;
@@ -1,4 +1,4 @@
1
- import { Dispatch, SetStateAction } from 'react';
1
+ import type { Dispatch, SetStateAction } from 'react';
2
2
  type Params = {
3
3
  turnOnKeyboardNavigation?: () => void;
4
4
  resetMenuHighlightOnMouseLeave?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { ROLE } from '../baseui/modal';
2
- import { StyleUtils } from '../types';
3
- import { Role, Size } from './types';
4
- import { ValueOf } from '../utility-types';
2
+ import type { StyleUtils } from '../types';
3
+ import type { Role, Size } from './types';
4
+ import type { ValueOf } from '../utility-types';
5
5
  export declare const getWidthFromSize: ({ px2rem }: StyleUtils, size: Size) => string;
6
6
  export declare const roleMap: Record<Role, ValueOf<typeof ROLE>>;
@@ -1,5 +1,5 @@
1
- import { ReactElement } from 'react';
2
- import { ModalFooterProps } from './types';
1
+ import type { ReactElement } from 'react';
2
+ import type { ModalFooterProps } from './types';
3
3
  declare const ModalFooter: {
4
4
  ({ noBorder, ...props }: ModalFooterProps): ReactElement;
5
5
  displayName: string;
@@ -1,6 +1,6 @@
1
- import { IconButtonProps } from '../button/IconButton';
2
- import { ClassName, StyleUtils } from '../types';
3
- import { SharedProps } from './types';
1
+ import type { IconButtonProps } from '../button/IconButton';
2
+ import type { ClassName, StyleUtils } from '../types';
3
+ import type { SharedProps } from './types';
4
4
  export declare const getDialogContainerStyles: ClassName;
5
5
  export declare const getDialogStyles: ClassName;
6
6
  export declare const getCloseButtonProps: (_utils: StyleUtils, { $dialogSize }: SharedProps, ariaLabel: string) => IconButtonProps;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { NumberProps } from './types';
2
+ import type { NumberProps } from './types';
3
3
  export declare const Number: {
4
4
  ({ value, variant, numberOptions }: NumberProps): JSX.Element;
5
5
  __standard: string;
@@ -1,2 +1,2 @@
1
- import { CompactAutoFormat } from '../utils/intlNumberFormatUtils/types';
1
+ import type { CompactAutoFormat } from '../utils/intlNumberFormatUtils/types';
2
2
  export declare const DEFAULT_VARIANT: CompactAutoFormat;
@@ -1,4 +1,4 @@
1
- import { NumberVariant } from '../utils/intlNumberFormatUtils/types';
1
+ import type { NumberVariant } from '../utils/intlNumberFormatUtils/types';
2
2
  export type NumberProps = {
3
3
  value: number;
4
4
  variant?: NumberVariant;
@@ -1,2 +1,2 @@
1
- import { NumberProps } from './types';
1
+ import type { NumberProps } from './types';
2
2
  export declare const useNumber: ({ value, variant, numberOptions }: NumberProps) => string;
@@ -1,4 +1,4 @@
1
- import { Override, OverrideObject, Overrides, OverridesObject } from './types';
1
+ import type { Override, OverrideObject, Overrides, OverridesObject } from './types';
2
2
  declare const mergeOverride: <T>(_target?: Override<T> | undefined, _source?: Override<T> | undefined) => OverrideObject<T>;
3
3
  declare const mergeOverrides: <T>(target?: Overrides<T>, source?: Overrides<T>) => OverridesObject<T>;
4
4
  export { mergeOverrides, mergeOverride };
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @author Ivan Torres
3
3
  */
4
- import * as React from 'react';
5
- import { Styles, ClassName } from '../types';
6
- export type StyleOverride<P> = Styles;
4
+ import type * as React from 'react';
5
+ import type { Styles, ClassName } from '../types';
6
+ export type StyleOverride<_P> = Styles;
7
7
  type ComponentWithProps<P> = React.ComponentType<P> | React.ForwardRefRenderFunction<unknown, P>;
8
8
  type ComponentOverride<P> = ComponentWithProps<P> | ComponentWithProps<P & {
9
9
  $DefaultComponent: React.ComponentType<P>;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { Override } from './types';
1
+ import type * as React from 'react';
2
+ import type { Override } from './types';
3
3
  declare const getOverrides: <T, P>(override: Override<T> | undefined, defaultComponent: React.ComponentType<any>) => [React.ComponentType<P & Record<string, unknown>>, Record<string, unknown>];
4
4
  /**
5
5
  * Wrapper on top of getOverrides of baseui.
@@ -1,7 +1,15 @@
1
1
  import { __assign } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /*
4
+ Copyright (c) Uber Technologies, Inc.
5
+
6
+ This source code is licensed under the MIT license found in the
7
+ LICENSE file in the root directory of this source tree.
8
+ */
3
9
  var Amex = function (_a) {
4
10
  var size = _a.size;
5
- return (_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#1071CC" }), _jsxs("g", __assign({ clipPath: "url(#clip0)" }, { children: [_jsx("path", { d: "M20.4052 6H23.0031V11.6554V13.3873L21.6423 14.8365L23.0031 16.268V18H20.8647L19.7689 16.7982L18.6909 18H11.657V12.3446H9.3772L12.1872 6H14.9089L15.8809 8.15611V6H19.2388L19.822 7.64359L20.4052 6Z", fill: "#fff" }), _jsx("path", { d: "M11.9926 11.6554H10.5081L12.6995 6.70691H14.4315L16.6053 11.5847V6.70691H18.7084L19.8218 9.76435L20.9175 6.70691H23.0029V11.6554H21.6598V8.24446L20.3873 11.6554H19.1855L17.9484 8.24446V11.6554H15.103L14.6612 10.6833H12.3991L11.9926 11.6554Z", fill: "#1071CC" }), _jsx("path", { d: "M14.2018 9.55227L13.5302 7.97937L12.8586 9.55227H14.2018Z", fill: "#fff" }), _jsx("path", { d: "M12.3992 17.3108V12.3623H18.3903L19.8042 13.9529L21.2534 12.3623H23.003L20.6702 14.8365L23.003 17.3108H21.2357L19.7688 15.7379L18.3373 17.3108H12.3992Z", fill: "#1071CC" }), _jsx("path", { d: "M13.7422 14.271V13.5288H16.6052L16.6229 12.3977L18.9381 14.8366L16.6052 17.2755V16.1444H13.7422V15.4021H16.5345V14.271H13.7422Z", fill: "#fff" })] })), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0" }, { children: _jsx("rect", { width: "14", height: "14", fill: "#fff", transform: "translate(9 5)" }) })) })] })));
11
+ return (
12
+ // eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
13
+ _jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#1071CC" }), _jsxs("g", __assign({ clipPath: "url(#clip0)" }, { children: [_jsx("path", { d: "M20.4052 6H23.0031V11.6554V13.3873L21.6423 14.8365L23.0031 16.268V18H20.8647L19.7689 16.7982L18.6909 18H11.657V12.3446H9.3772L12.1872 6H14.9089L15.8809 8.15611V6H19.2388L19.822 7.64359L20.4052 6Z", fill: "#fff" }), _jsx("path", { d: "M11.9926 11.6554H10.5081L12.6995 6.70691H14.4315L16.6053 11.5847V6.70691H18.7084L19.8218 9.76435L20.9175 6.70691H23.0029V11.6554H21.6598V8.24446L20.3873 11.6554H19.1855L17.9484 8.24446V11.6554H15.103L14.6612 10.6833H12.3991L11.9926 11.6554Z", fill: "#1071CC" }), _jsx("path", { d: "M14.2018 9.55227L13.5302 7.97937L12.8586 9.55227H14.2018Z", fill: "#fff" }), _jsx("path", { d: "M12.3992 17.3108V12.3623H18.3903L19.8042 13.9529L21.2534 12.3623H23.003L20.6702 14.8365L23.003 17.3108H21.2357L19.7688 15.7379L18.3373 17.3108H12.3992Z", fill: "#1071CC" }), _jsx("path", { d: "M13.7422 14.271V13.5288H16.6052L16.6229 12.3977L18.9381 14.8366L16.6052 17.2755V16.1444H13.7422V15.4021H16.5345V14.271H13.7422Z", fill: "#fff" })] })), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0" }, { children: _jsx("rect", { width: "14", height: "14", fill: "#fff", transform: "translate(9 5)" }) })) })] })));
6
14
  };
7
15
  export default Amex;
@@ -1,7 +1,15 @@
1
1
  import { __assign } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /*
4
+ Copyright (c) Uber Technologies, Inc.
5
+
6
+ This source code is licensed under the MIT license found in the
7
+ LICENSE file in the root directory of this source tree.
8
+ */
3
9
  var DinersClub = function (_a) {
4
10
  var size = _a.size;
5
- return (_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#00AEEF" }), _jsx("path", { d: "M13 6C12.66 6 11.34 6 11 6C7.69 6 5 8.69 5 12C5 15.31 7.69 18 11 18C11.34 18 12.66 18 13 18C16.31 18 19 15.31 19 12C19 8.69 16.31 6 13 6Z", fill: "#0269A8" }), _jsx("path", { d: "M11 7C8.24 7 6 9.24 6 12C6 14.76 8.24 17 11 17C13.76 17 16 14.76 16 12C16 9.24 13.76 7 11 7ZM7.5 12C7.5 10.33 8.68 8.93 10.25 8.59V15.42C8.68 15.07 7.5 13.67 7.5 12ZM11.75 15.41V8.57999C13.32 8.91999 14.5 10.32 14.5 11.99C14.5 13.66 13.32 15.07 11.75 15.41Z", fill: "#fff" })] })));
11
+ return (
12
+ // eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
13
+ _jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#00AEEF" }), _jsx("path", { d: "M13 6C12.66 6 11.34 6 11 6C7.69 6 5 8.69 5 12C5 15.31 7.69 18 11 18C11.34 18 12.66 18 13 18C16.31 18 19 15.31 19 12C19 8.69 16.31 6 13 6Z", fill: "#0269A8" }), _jsx("path", { d: "M11 7C8.24 7 6 9.24 6 12C6 14.76 8.24 17 11 17C13.76 17 16 14.76 16 12C16 9.24 13.76 7 11 7ZM7.5 12C7.5 10.33 8.68 8.93 10.25 8.59V15.42C8.68 15.07 7.5 13.67 7.5 12ZM11.75 15.41V8.57999C13.32 8.91999 14.5 10.32 14.5 11.99C14.5 13.66 13.32 15.07 11.75 15.41Z", fill: "#fff" })] })));
6
14
  };
7
15
  export default DinersClub;
@@ -1,7 +1,15 @@
1
1
  import { __assign } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /*
4
+ Copyright (c) Uber Technologies, Inc.
5
+
6
+ This source code is licensed under the MIT license found in the
7
+ LICENSE file in the root directory of this source tree.
8
+ */
3
9
  var Discover = function (_a) {
4
10
  var size = _a.size;
5
- return (_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#E7E7E7" }), _jsx("path", { d: "M3.54 12.4401C3.54 12.4401 4.74 12.5701 4.74 11.5201V11.5001C4.74 10.4401 3.54 10.58 3.54 10.58V12.4401ZM3 10.0701H3.93C4.49 10.0701 5.31 10.5801 5.31 11.4801V11.4901V11.5001C5.31 12.4001 4.49 12.9101 3.93 12.9101H3V10.0701Z", fill: "#000" }), _jsx("path", { d: "M6.13006 10.0701H5.56006V12.9201H6.13006V10.0701Z", fill: "#000" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.87007 10.73C7.87007 10.73 7.68007 10.51 7.43007 10.51C7.18007 10.51 7.03007 10.68 7.03007 10.8C7.03007 10.92 7.03007 10.99 7.39007 11.14C7.75007 11.29 8.28007 11.4 8.28007 12.03C8.28007 12.66 7.78007 12.99 7.34007 12.99C6.63007 12.99 6.32007 12.45 6.32007 12.45L6.68007 12.09C6.68007 12.09 6.91007 12.47 7.30007 12.47C7.69007 12.47 7.71007 12.17 7.71007 12.07C7.71007 11.92 7.63007 11.78 7.38007 11.69C7.14007 11.6 6.47007 11.51 6.47007 10.87C6.47007 10.3 6.90007 10.01 7.38007 10.01C7.81007 10.01 8.18007 10.35 8.18007 10.35L7.87007 10.73Z", fill: "#000" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.65 10.84C10.47 10.66 10.23 10.53 9.95996 10.53C9.41996 10.53 8.98996 10.96 8.98996 11.5C8.98996 12.04 9.41996 12.47 9.95996 12.47C10.23 12.47 10.48 12.34 10.65 12.16V12.83C10.44 12.94 10.21 13 9.95996 13C9.12996 13 8.45996 12.33 8.45996 11.5C8.45996 10.67 9.12996 10 9.95996 10C10.21 10 10.44 10.06 10.65 10.17V10.84Z", fill: "#000" }), _jsx("path", { d: "M13.75 10.0701H14.37L15.15 11.9401L15.89 10.0701H16.51L15.31 12.9901H14.95L13.75 10.0701Z", fill: "#000" }), _jsx("path", { d: "M19.2199 10.5401V11.3701H19.5299C19.7699 11.3701 19.9099 11.1601 19.9099 10.9701V10.9301C19.9099 10.7401 19.7599 10.5301 19.5299 10.5301H19.2199V10.5401ZM18.6699 10.0701H19.5999C19.8999 10.0701 20.4899 10.2301 20.4899 10.9101C20.4899 11.5901 19.8799 11.7301 19.8799 11.7301L20.7499 12.9201H20.0599L19.2899 11.7801H19.2299V12.9201H18.6699V10.0701Z", fill: "#000" }), _jsx("path", { d: "M18.25 11.1901V11.7001H17.28V12.4201H18.3V12.9201H16.72V10.0701H18.3V10.5701H17.28V11.1901H18.25Z", fill: "#000" }), _jsx("path", { d: "M12.3699 12.99C13.1873 12.99 13.8499 12.3274 13.8499 11.51C13.8499 10.6927 13.1873 10.03 12.3699 10.03C11.5525 10.03 10.8899 10.6927 10.8899 11.51C10.8899 12.3274 11.5525 12.99 12.3699 12.99Z", fill: "#F58221" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23 14.28V20H8C11.9 19.1 17.56 17.86 23 14.28Z", fill: "#F58221" })] })));
11
+ return (
12
+ // eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
13
+ _jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#E7E7E7" }), _jsx("path", { d: "M3.54 12.4401C3.54 12.4401 4.74 12.5701 4.74 11.5201V11.5001C4.74 10.4401 3.54 10.58 3.54 10.58V12.4401ZM3 10.0701H3.93C4.49 10.0701 5.31 10.5801 5.31 11.4801V11.4901V11.5001C5.31 12.4001 4.49 12.9101 3.93 12.9101H3V10.0701Z", fill: "#000" }), _jsx("path", { d: "M6.13006 10.0701H5.56006V12.9201H6.13006V10.0701Z", fill: "#000" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.87007 10.73C7.87007 10.73 7.68007 10.51 7.43007 10.51C7.18007 10.51 7.03007 10.68 7.03007 10.8C7.03007 10.92 7.03007 10.99 7.39007 11.14C7.75007 11.29 8.28007 11.4 8.28007 12.03C8.28007 12.66 7.78007 12.99 7.34007 12.99C6.63007 12.99 6.32007 12.45 6.32007 12.45L6.68007 12.09C6.68007 12.09 6.91007 12.47 7.30007 12.47C7.69007 12.47 7.71007 12.17 7.71007 12.07C7.71007 11.92 7.63007 11.78 7.38007 11.69C7.14007 11.6 6.47007 11.51 6.47007 10.87C6.47007 10.3 6.90007 10.01 7.38007 10.01C7.81007 10.01 8.18007 10.35 8.18007 10.35L7.87007 10.73Z", fill: "#000" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.65 10.84C10.47 10.66 10.23 10.53 9.95996 10.53C9.41996 10.53 8.98996 10.96 8.98996 11.5C8.98996 12.04 9.41996 12.47 9.95996 12.47C10.23 12.47 10.48 12.34 10.65 12.16V12.83C10.44 12.94 10.21 13 9.95996 13C9.12996 13 8.45996 12.33 8.45996 11.5C8.45996 10.67 9.12996 10 9.95996 10C10.21 10 10.44 10.06 10.65 10.17V10.84Z", fill: "#000" }), _jsx("path", { d: "M13.75 10.0701H14.37L15.15 11.9401L15.89 10.0701H16.51L15.31 12.9901H14.95L13.75 10.0701Z", fill: "#000" }), _jsx("path", { d: "M19.2199 10.5401V11.3701H19.5299C19.7699 11.3701 19.9099 11.1601 19.9099 10.9701V10.9301C19.9099 10.7401 19.7599 10.5301 19.5299 10.5301H19.2199V10.5401ZM18.6699 10.0701H19.5999C19.8999 10.0701 20.4899 10.2301 20.4899 10.9101C20.4899 11.5901 19.8799 11.7301 19.8799 11.7301L20.7499 12.9201H20.0599L19.2899 11.7801H19.2299V12.9201H18.6699V10.0701Z", fill: "#000" }), _jsx("path", { d: "M18.25 11.1901V11.7001H17.28V12.4201H18.3V12.9201H16.72V10.0701H18.3V10.5701H17.28V11.1901H18.25Z", fill: "#000" }), _jsx("path", { d: "M12.3699 12.99C13.1873 12.99 13.8499 12.3274 13.8499 11.51C13.8499 10.6927 13.1873 10.03 12.3699 10.03C11.5525 10.03 10.8899 10.6927 10.8899 11.51C10.8899 12.3274 11.5525 12.99 12.3699 12.99Z", fill: "#F58221" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23 14.28V20H8C11.9 19.1 17.56 17.86 23 14.28Z", fill: "#F58221" })] })));
6
14
  };
7
15
  export default Discover;
@@ -1,7 +1,15 @@
1
1
  import { __assign } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /*
4
+ Copyright (c) Uber Technologies, Inc.
5
+
6
+ This source code is licensed under the MIT license found in the
7
+ LICENSE file in the root directory of this source tree.
8
+ */
3
9
  var Elo = function (_a) {
4
10
  var size = _a.size;
5
- return (_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#231F20" }), _jsx("path", { d: "M6.13998 10.17C6.31998 10.11 6.51998 10.07 6.72998 10.07C7.62998 10.07 8.36998 10.71 8.54998 11.55L9.80998 11.3C9.51998 9.86003 8.24998 8.78003 6.72998 8.78003C6.37998 8.78003 6.04998 8.84003 5.72998 8.94003L6.13998 10.17Z", fill: "#FFCB05" }), _jsx("path", { d: "M4.64008 14.2899L5.50008 13.3199C5.11008 12.9799 4.87008 12.4799 4.87008 11.9299C4.87008 11.3799 5.11008 10.8799 5.49008 10.5399L4.64008 9.56995C3.99008 10.1499 3.58008 10.9899 3.58008 11.9299C3.58008 12.8699 3.99008 13.7099 4.64008 14.2899Z", fill: "#00A4E0" }), _jsx("path", { d: "M8.53998 12.3C8.36998 13.15 7.61998 13.78 6.72998 13.78C6.51998 13.78 6.32998 13.75 6.13998 13.68L5.72998 14.91C6.03998 15.02 6.37998 15.07 6.72998 15.07C8.24998 15.07 9.51998 13.99 9.81998 12.55L8.53998 12.3Z", fill: "#EF4123" }), _jsx("path", { d: "M15.6 9.62V13.3L16.17 13.53L15.84 14.29L15.21 14.03C15.07 13.97 14.97 13.87 14.9 13.77C14.83 13.66 14.78 13.51 14.78 13.31V9.62H15.6Z", fill: "#fff" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.92 13.36C10.88 13.29 10.82 13.18 10.79 13.1C10.59 12.63 10.58 12.15 10.75 11.69C10.94 11.18 11.29 10.79 11.75 10.59C12.33 10.34 12.97 10.39 13.53 10.72C13.88 10.92 14.13 11.23 14.32 11.68C14.3328 11.7184 14.3498 11.7569 14.3655 11.7927C14.3744 11.8128 14.3828 11.832 14.39 11.85L10.92 13.36ZM12.08 11.34C11.67 11.52 11.46 11.9 11.5 12.36L13.24 11.61C12.94 11.26 12.55 11.14 12.08 11.34Z", fill: "#fff" }), _jsx("path", { d: "M13.46 12.98L13.42 12.96C13.32 13.13 13.15 13.27 12.95 13.35C12.56 13.52 12.2 13.48 11.94 13.25L11.92 13.29L11.48 13.95C11.59 14.03 11.71 14.09 11.83 14.14C12.32 14.34 12.82 14.33 13.31 14.12C13.67 13.97 13.95 13.73 14.14 13.43L13.46 12.98Z", fill: "#fff" }), _jsx("path", { d: "M17.44 11.57C17.22 11.77 17.08 12.05 17.08 12.36C17.08 12.67 17.22 12.95 17.44 13.14L16.85 13.8C16.45 13.45 16.2 12.93 16.2 12.36C16.2 11.79 16.45 11.27 16.85 10.92L17.44 11.57Z", fill: "#fff" }), _jsx("path", { d: "M18.13 13.4099C18.01 13.4099 17.9 13.3899 17.8 13.3599L17.52 14.1899C17.71 14.2499 17.92 14.2899 18.13 14.2899C19.06 14.2899 19.84 13.6299 20.01 12.7499L19.15 12.5699C19.05 13.0499 18.63 13.4099 18.13 13.4099Z", fill: "#fff" }), _jsx("path", { d: "M17.52 10.5399C17.71 10.4699 17.92 10.4399 18.13 10.4399C19.06 10.4399 19.83 11.0999 20.01 11.9899L19.15 12.1599C19.06 11.6799 18.64 11.3199 18.13 11.3199C18.02 11.3199 17.9 11.3399 17.8 11.3699L17.52 10.5399Z", fill: "#fff" })] })));
11
+ return (
12
+ // eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
13
+ _jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#231F20" }), _jsx("path", { d: "M6.13998 10.17C6.31998 10.11 6.51998 10.07 6.72998 10.07C7.62998 10.07 8.36998 10.71 8.54998 11.55L9.80998 11.3C9.51998 9.86003 8.24998 8.78003 6.72998 8.78003C6.37998 8.78003 6.04998 8.84003 5.72998 8.94003L6.13998 10.17Z", fill: "#FFCB05" }), _jsx("path", { d: "M4.64008 14.2899L5.50008 13.3199C5.11008 12.9799 4.87008 12.4799 4.87008 11.9299C4.87008 11.3799 5.11008 10.8799 5.49008 10.5399L4.64008 9.56995C3.99008 10.1499 3.58008 10.9899 3.58008 11.9299C3.58008 12.8699 3.99008 13.7099 4.64008 14.2899Z", fill: "#00A4E0" }), _jsx("path", { d: "M8.53998 12.3C8.36998 13.15 7.61998 13.78 6.72998 13.78C6.51998 13.78 6.32998 13.75 6.13998 13.68L5.72998 14.91C6.03998 15.02 6.37998 15.07 6.72998 15.07C8.24998 15.07 9.51998 13.99 9.81998 12.55L8.53998 12.3Z", fill: "#EF4123" }), _jsx("path", { d: "M15.6 9.62V13.3L16.17 13.53L15.84 14.29L15.21 14.03C15.07 13.97 14.97 13.87 14.9 13.77C14.83 13.66 14.78 13.51 14.78 13.31V9.62H15.6Z", fill: "#fff" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.92 13.36C10.88 13.29 10.82 13.18 10.79 13.1C10.59 12.63 10.58 12.15 10.75 11.69C10.94 11.18 11.29 10.79 11.75 10.59C12.33 10.34 12.97 10.39 13.53 10.72C13.88 10.92 14.13 11.23 14.32 11.68C14.3328 11.7184 14.3498 11.7569 14.3655 11.7927C14.3744 11.8128 14.3828 11.832 14.39 11.85L10.92 13.36ZM12.08 11.34C11.67 11.52 11.46 11.9 11.5 12.36L13.24 11.61C12.94 11.26 12.55 11.14 12.08 11.34Z", fill: "#fff" }), _jsx("path", { d: "M13.46 12.98L13.42 12.96C13.32 13.13 13.15 13.27 12.95 13.35C12.56 13.52 12.2 13.48 11.94 13.25L11.92 13.29L11.48 13.95C11.59 14.03 11.71 14.09 11.83 14.14C12.32 14.34 12.82 14.33 13.31 14.12C13.67 13.97 13.95 13.73 14.14 13.43L13.46 12.98Z", fill: "#fff" }), _jsx("path", { d: "M17.44 11.57C17.22 11.77 17.08 12.05 17.08 12.36C17.08 12.67 17.22 12.95 17.44 13.14L16.85 13.8C16.45 13.45 16.2 12.93 16.2 12.36C16.2 11.79 16.45 11.27 16.85 10.92L17.44 11.57Z", fill: "#fff" }), _jsx("path", { d: "M18.13 13.4099C18.01 13.4099 17.9 13.3899 17.8 13.3599L17.52 14.1899C17.71 14.2499 17.92 14.2899 18.13 14.2899C19.06 14.2899 19.84 13.6299 20.01 12.7499L19.15 12.5699C19.05 13.0499 18.63 13.4099 18.13 13.4099Z", fill: "#fff" }), _jsx("path", { d: "M17.52 10.5399C17.71 10.4699 17.92 10.4399 18.13 10.4399C19.06 10.4399 19.83 11.0999 20.01 11.9899L19.15 12.1599C19.06 11.6799 18.64 11.3199 18.13 11.3199C18.02 11.3199 17.9 11.3399 17.8 11.3699L17.52 10.5399Z", fill: "#fff" })] })));
6
14
  };
7
15
  export default Elo;
@@ -1,7 +1,15 @@
1
1
  import { __assign } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /*
4
+ Copyright (c) Uber Technologies, Inc.
5
+
6
+ This source code is licensed under the MIT license found in the
7
+ LICENSE file in the root directory of this source tree.
8
+ */
3
9
  var Generic = function (_a) {
4
10
  var size = _a.size;
5
- return (_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#C9C9CD" }), _jsx("path", { d: "M6 15H3V16H6V15Z", fill: "#fff" }), _jsx("path", { d: "M11 15H8V16H11V15Z", fill: "#fff" }), _jsx("path", { d: "M16 15H13V16H16V15Z", fill: "#fff" }), _jsx("path", { d: "M21 15H18V16H21V15Z", fill: "#fff" }), _jsx("path", { d: "M21 6H16V10H21V6Z", fill: "#ABABB3" })] })));
11
+ return (
12
+ // eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
13
+ _jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#C9C9CD" }), _jsx("path", { d: "M6 15H3V16H6V15Z", fill: "#fff" }), _jsx("path", { d: "M11 15H8V16H11V15Z", fill: "#fff" }), _jsx("path", { d: "M16 15H13V16H16V15Z", fill: "#fff" }), _jsx("path", { d: "M21 15H18V16H21V15Z", fill: "#fff" }), _jsx("path", { d: "M21 6H16V10H21V6Z", fill: "#ABABB3" })] })));
6
14
  };
7
15
  export default Generic;
@@ -1,7 +1,15 @@
1
1
  import { __assign } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /*
4
+ Copyright (c) Uber Technologies, Inc.
5
+
6
+ This source code is licensed under the MIT license found in the
7
+ LICENSE file in the root directory of this source tree.
8
+ */
3
9
  var Jcb = function (_a) {
4
10
  var size = _a.size;
5
- return (_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M13 4H15V16C15 18.21 13.21 20 11 20H9V8C9 5.79 10.79 4 13 4Z", fill: "#BF2240" }), _jsx("path", { d: "M8 4V16C8 18.21 6.21 20 4 20H1V8C1 5.79 2.79 4 5 4H8Z", fill: "#1061A7" }), _jsx("path", { d: "M23 4V16C23 18.21 21.21 20 19 20H16V8C16 5.79 17.79 4 20 4H23Z", fill: "#43A946" }), _jsx("path", { d: "M1 12.47C1.22 12.61 2.3 12.96 2.74 12.99C3.69 13.06 4.28 12.74 4.37 11.95V9.01001H6.47V11.89C6.36 13.54 4.91 13.87 2.71 13.76C2.14 13.73 1.37 13.58 1 13.49V12.47Z", fill: "white" }), _jsx("path", { d: "M9 9.77011C9.74 9.19011 10.94 8.91011 12.47 9.02011C13.34 9.09011 13.98 9.21009 14.33 9.31009V10.3401C13.94 10.1501 13.18 9.8601 12.55 9.8201C11.11 9.7201 10.36 10.3901 10.36 11.4801C10.36 12.4601 10.94 13.3001 12.55 13.1901C13.08 13.1501 13.96 12.8501 14.33 12.6701V13.6701C14.01 13.7701 13.01 13.9901 12.06 14.0001C10.64 14.0001 9.63 13.7001 9 13.2101V9.77011Z", fill: "white" }), _jsx("path", { d: "M19.99 11.35V11.33C20.88 11.16 21.13 10.63 21.13 10.17C21.13 9.29998 20.29 9 19.58 9H16V13.79H19.92C20.44 13.79 21.42 13.53 21.42 12.58C21.41 11.65 20.51 11.35 19.99 11.35ZM17.2 9.76001C17.37 9.75001 18.13 9.77001 18.56 9.76001C18.86 9.75001 19.15 10.01 19.15 10.39C19.15 10.76 18.82 10.97 18.59 10.98L17.2 10.97V9.76001ZM18.68 13.02H17.21V11.7C17.37 11.7 18.27 11.7 18.68 11.7C19.01 11.7 19.32 11.97 19.32 12.35C19.32 12.78 18.96 13.02 18.68 13.02Z", fill: "white" })] })));
11
+ return (
12
+ // eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
13
+ _jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M13 4H15V16C15 18.21 13.21 20 11 20H9V8C9 5.79 10.79 4 13 4Z", fill: "#BF2240" }), _jsx("path", { d: "M8 4V16C8 18.21 6.21 20 4 20H1V8C1 5.79 2.79 4 5 4H8Z", fill: "#1061A7" }), _jsx("path", { d: "M23 4V16C23 18.21 21.21 20 19 20H16V8C16 5.79 17.79 4 20 4H23Z", fill: "#43A946" }), _jsx("path", { d: "M1 12.47C1.22 12.61 2.3 12.96 2.74 12.99C3.69 13.06 4.28 12.74 4.37 11.95V9.01001H6.47V11.89C6.36 13.54 4.91 13.87 2.71 13.76C2.14 13.73 1.37 13.58 1 13.49V12.47Z", fill: "white" }), _jsx("path", { d: "M9 9.77011C9.74 9.19011 10.94 8.91011 12.47 9.02011C13.34 9.09011 13.98 9.21009 14.33 9.31009V10.3401C13.94 10.1501 13.18 9.8601 12.55 9.8201C11.11 9.7201 10.36 10.3901 10.36 11.4801C10.36 12.4601 10.94 13.3001 12.55 13.1901C13.08 13.1501 13.96 12.8501 14.33 12.6701V13.6701C14.01 13.7701 13.01 13.9901 12.06 14.0001C10.64 14.0001 9.63 13.7001 9 13.2101V9.77011Z", fill: "white" }), _jsx("path", { d: "M19.99 11.35V11.33C20.88 11.16 21.13 10.63 21.13 10.17C21.13 9.29998 20.29 9 19.58 9H16V13.79H19.92C20.44 13.79 21.42 13.53 21.42 12.58C21.41 11.65 20.51 11.35 19.99 11.35ZM17.2 9.76001C17.37 9.75001 18.13 9.77001 18.56 9.76001C18.86 9.75001 19.15 10.01 19.15 10.39C19.15 10.76 18.82 10.97 18.59 10.98L17.2 10.97V9.76001ZM18.68 13.02H17.21V11.7C17.37 11.7 18.27 11.7 18.68 11.7C19.01 11.7 19.32 11.97 19.32 12.35C19.32 12.78 18.96 13.02 18.68 13.02Z", fill: "white" })] })));
6
14
  };
7
15
  export default Jcb;
@@ -1,7 +1,15 @@
1
1
  import { __assign } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /*
4
+ Copyright (c) Uber Technologies, Inc.
5
+
6
+ This source code is licensed under the MIT license found in the
7
+ LICENSE file in the root directory of this source tree.
8
+ */
3
9
  var Maestro = function (_a) {
4
10
  var size = _a.size;
5
- return (_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#000166" }), _jsx("path", { d: "M9 17C11.7614 17 14 14.7614 14 12C14 9.23858 11.7614 7 9 7C6.23858 7 4 9.23858 4 12C4 14.7614 6.23858 17 9 17Z", fill: "#06C" }), _jsx("path", { d: "M15 7C13.37 7 11.94 7.79 11.02 9H12.97C13.2 9.31 13.41 9.64 13.57 10H10.41C10.27 10.32 10.16 10.65 10.09 11H13.89C13.96 11.32 13.99 11.66 13.99 12H9.98999C9.98999 12.34 10.03 12.68 10.09 13H13.89C13.82 13.35 13.71 13.68 13.57 14H10.41C10.57 14.36 10.78 14.69 11.01 15H12.96C12.68 15.37 12.35 15.7 11.98 15.98C12.82 16.61 13.85 17 14.98 17C17.74 17 19.98 14.76 19.98 12C19.98 9.24 17.76 7 15 7Z", fill: "#CC0001" })] })));
11
+ return (
12
+ // eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
13
+ _jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#000166" }), _jsx("path", { d: "M9 17C11.7614 17 14 14.7614 14 12C14 9.23858 11.7614 7 9 7C6.23858 7 4 9.23858 4 12C4 14.7614 6.23858 17 9 17Z", fill: "#06C" }), _jsx("path", { d: "M15 7C13.37 7 11.94 7.79 11.02 9H12.97C13.2 9.31 13.41 9.64 13.57 10H10.41C10.27 10.32 10.16 10.65 10.09 11H13.89C13.96 11.32 13.99 11.66 13.99 12H9.98999C9.98999 12.34 10.03 12.68 10.09 13H13.89C13.82 13.35 13.71 13.68 13.57 14H10.41C10.57 14.36 10.78 14.69 11.01 15H12.96C12.68 15.37 12.35 15.7 11.98 15.98C12.82 16.61 13.85 17 14.98 17C17.74 17 19.98 14.76 19.98 12C19.98 9.24 17.76 7 15 7Z", fill: "#CC0001" })] })));
6
14
  };
7
15
  export default Maestro;