@sprinklrjs/spaceweb 12.14.4 → 12.33.2

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 (1474) hide show
  1. package/ClientOnly.d.ts +6 -0
  2. package/ClientOnly.js +19 -0
  3. package/allComponentsAndUtilities.d.ts +4 -1
  4. package/allComponentsAndUtilities.js +6 -2
  5. package/asyncSelect/asyncSelect.d.ts +1 -1
  6. package/asyncSelect/asyncSelect.js +5 -3
  7. package/asyncSelect/groupedAsyncSelect.d.ts +1 -1
  8. package/asyncSelect/groupedAsyncSelect.js +5 -2
  9. package/asyncSelect/helpers.d.ts +3 -2
  10. package/asyncSelect/helpers.js +4 -2
  11. package/asyncSelect/hooks/useAsyncOptionHandlers.d.ts +3 -2
  12. package/asyncSelect/hooks/useAsyncOptionHandlers.js +18 -8
  13. package/asyncSelect/hooks/useAsyncSelect.js +30 -16
  14. package/asyncSelect/hooks/useResolveSelectedOptions.d.ts +2 -1
  15. package/asyncSelect/hooks/useResolveSelectedOptions.js +3 -2
  16. package/asyncSelect/types.d.ts +1 -6
  17. package/avatar/avatar.js +19 -15
  18. package/avatar/styled-component.js +22 -10
  19. package/avatar/types.d.ts +1 -0
  20. package/badge/types.d.ts +1 -1
  21. package/banner/banner.js +3 -2
  22. package/banner/styled-component.js +1 -1
  23. package/baseui/accordion/accordion.d.ts +14 -0
  24. package/baseui/accordion/accordion.js +154 -0
  25. package/baseui/accordion/constants.d.ts +3 -0
  26. package/baseui/accordion/constants.js +12 -0
  27. package/baseui/accordion/index.d.ts +12 -0
  28. package/baseui/accordion/index.js +28 -0
  29. package/baseui/accordion/locale.d.ts +9 -0
  30. package/baseui/accordion/locale.js +7 -0
  31. package/baseui/accordion/panel.d.ts +17 -0
  32. package/baseui/accordion/panel.js +111 -0
  33. package/baseui/accordion/stateful-panel-container.d.ts +18 -0
  34. package/baseui/accordion/stateful-panel-container.js +44 -0
  35. package/baseui/accordion/stateful-panel.d.ts +2 -0
  36. package/baseui/accordion/stateful-panel.js +11 -0
  37. package/baseui/accordion/stateless-accordion.d.ts +3 -0
  38. package/baseui/accordion/stateless-accordion.js +59 -0
  39. package/baseui/accordion/styled-components.d.ts +10 -0
  40. package/baseui/accordion/styled-components.js +57 -0
  41. package/baseui/accordion/types.d.ts +143 -0
  42. package/baseui/accordion/types.js +8 -0
  43. package/baseui/button/button-internals.d.ts +2 -0
  44. package/baseui/button/button-internals.js +38 -0
  45. package/baseui/button/button.d.ts +10 -0
  46. package/baseui/button/button.js +96 -0
  47. package/baseui/button/constants.d.ts +18 -0
  48. package/baseui/button/constants.js +27 -0
  49. package/baseui/button/default-props.d.ts +9 -0
  50. package/baseui/button/default-props.js +19 -0
  51. package/baseui/button/index.d.ts +7 -0
  52. package/baseui/button/index.js +20 -0
  53. package/baseui/button/styled-components.d.ts +5 -0
  54. package/baseui/button/styled-components.js +72 -0
  55. package/baseui/button/types.d.ts +47 -0
  56. package/baseui/button/types.js +2 -0
  57. package/baseui/button/utils.d.ts +2 -0
  58. package/baseui/button/utils.js +16 -0
  59. package/baseui/card/styled-components.d.ts +0 -0
  60. package/baseui/card/styled-components.js +0 -0
  61. package/baseui/checkbox/checkbox.d.ts +23 -0
  62. package/baseui/checkbox/checkbox.js +144 -0
  63. package/baseui/checkbox/constants.d.ts +14 -0
  64. package/baseui/checkbox/constants.js +26 -0
  65. package/baseui/checkbox/index.d.ts +6 -0
  66. package/baseui/checkbox/index.js +31 -0
  67. package/baseui/checkbox/stateful-checkbox-container.d.ts +15 -0
  68. package/baseui/checkbox/stateful-checkbox-container.js +80 -0
  69. package/baseui/checkbox/stateful-checkbox.d.ts +6 -0
  70. package/baseui/checkbox/stateful-checkbox.js +14 -0
  71. package/baseui/checkbox/styled-components.d.ts +6 -0
  72. package/baseui/checkbox/styled-components.js +51 -0
  73. package/baseui/checkbox/types.d.ts +160 -0
  74. package/baseui/checkbox/types.js +2 -0
  75. package/baseui/datepicker/calendar-header.d.ts +61 -0
  76. package/baseui/datepicker/calendar-header.js +368 -0
  77. package/baseui/datepicker/calendar.d.ts +56 -0
  78. package/baseui/datepicker/calendar.js +534 -0
  79. package/baseui/datepicker/constants.d.ts +30 -0
  80. package/baseui/datepicker/constants.js +39 -0
  81. package/baseui/datepicker/day.d.ts +87 -0
  82. package/baseui/datepicker/day.js +348 -0
  83. package/baseui/datepicker/index.d.ts +10 -0
  84. package/baseui/datepicker/index.js +26 -0
  85. package/baseui/datepicker/locale.d.ts +65 -0
  86. package/baseui/datepicker/locale.js +35 -0
  87. package/baseui/datepicker/month.d.ts +32 -0
  88. package/baseui/datepicker/month.js +91 -0
  89. package/baseui/datepicker/styled-components.d.ts +25 -0
  90. package/baseui/datepicker/styled-components.js +287 -0
  91. package/baseui/datepicker/types.d.ts +354 -0
  92. package/baseui/datepicker/types.js +2 -0
  93. package/baseui/datepicker/utils/calendar-header-helpers.d.ts +12 -0
  94. package/baseui/datepicker/utils/calendar-header-helpers.js +35 -0
  95. package/baseui/datepicker/utils/date-fns-adapter.d.ts +3 -0
  96. package/baseui/datepicker/utils/date-fns-adapter.js +13 -0
  97. package/baseui/datepicker/utils/date-helpers.d.ts +98 -0
  98. package/baseui/datepicker/utils/date-helpers.js +366 -0
  99. package/baseui/datepicker/utils/day-state.d.ts +20 -0
  100. package/baseui/datepicker/utils/day-state.js +34 -0
  101. package/baseui/datepicker/utils/index.d.ts +67 -0
  102. package/baseui/datepicker/utils/index.js +81 -0
  103. package/baseui/datepicker/utils/types.d.ts +69 -0
  104. package/baseui/datepicker/utils/types.js +2 -0
  105. package/baseui/datepicker/week.d.ts +21 -0
  106. package/baseui/datepicker/week.js +61 -0
  107. package/baseui/header-navigation/constants.d.ts +5 -0
  108. package/baseui/header-navigation/constants.js +14 -0
  109. package/baseui/header-navigation/examples-icons.d.ts +1 -0
  110. package/baseui/header-navigation/examples-icons.js +14 -0
  111. package/baseui/header-navigation/header-navigation.d.ts +9 -0
  112. package/baseui/header-navigation/header-navigation.js +29 -0
  113. package/baseui/header-navigation/index.d.ts +4 -0
  114. package/baseui/header-navigation/index.js +20 -0
  115. package/baseui/header-navigation/styled-components.d.ts +3 -0
  116. package/baseui/header-navigation/styled-components.js +33 -0
  117. package/baseui/header-navigation/types.d.ts +8 -0
  118. package/baseui/header-navigation/types.js +2 -0
  119. package/baseui/helpers/i18n-interpolation.d.ts +3 -0
  120. package/baseui/helpers/i18n-interpolation.js +17 -0
  121. package/baseui/helpers/index.d.ts +1 -0
  122. package/baseui/helpers/index.js +4 -0
  123. package/baseui/helpers/overrides.d.ts +63 -0
  124. package/baseui/helpers/overrides.js +171 -0
  125. package/baseui/helpers/types.d.ts +7 -0
  126. package/baseui/helpers/types.js +2 -0
  127. package/baseui/index.d.ts +1 -0
  128. package/baseui/index.js +12 -0
  129. package/baseui/input/base-input.d.ts +64 -0
  130. package/baseui/input/base-input.js +249 -0
  131. package/baseui/input/constants.d.ts +22 -0
  132. package/baseui/input/constants.js +31 -0
  133. package/baseui/input/index.d.ts +8 -0
  134. package/baseui/input/index.js +28 -0
  135. package/baseui/input/input.d.ts +33 -0
  136. package/baseui/input/input.js +100 -0
  137. package/baseui/input/masked-input.d.ts +8 -0
  138. package/baseui/input/masked-input.js +56 -0
  139. package/baseui/input/stateful-container.d.ts +16 -0
  140. package/baseui/input/stateful-container.js +42 -0
  141. package/baseui/input/stateful-input.d.ts +2 -0
  142. package/baseui/input/stateful-input.js +10 -0
  143. package/baseui/input/styled-components.d.ts +15 -0
  144. package/baseui/input/styled-components.js +47 -0
  145. package/baseui/input/types.d.ts +170 -0
  146. package/baseui/input/types.js +2 -0
  147. package/baseui/input/utils.d.ts +2 -0
  148. package/baseui/input/utils.js +21 -0
  149. package/baseui/layer/constants.d.ts +15 -0
  150. package/baseui/layer/constants.js +24 -0
  151. package/baseui/layer/index.d.ts +5 -0
  152. package/baseui/layer/index.js +20 -0
  153. package/baseui/layer/layer.d.ts +2 -0
  154. package/baseui/layer/layer.js +162 -0
  155. package/baseui/layer/layers-manager.d.ts +28 -0
  156. package/baseui/layer/layers-manager.js +171 -0
  157. package/baseui/layer/tether.d.ts +30 -0
  158. package/baseui/layer/tether.js +163 -0
  159. package/baseui/layer/types.d.ts +148 -0
  160. package/baseui/layer/types.js +2 -0
  161. package/baseui/layer/utils.d.ts +6 -0
  162. package/baseui/layer/utils.js +17 -0
  163. package/baseui/locale/en_US.d.ts +3 -0
  164. package/baseui/locale/en_US.js +26 -0
  165. package/baseui/locale/es_AR.d.ts +3 -0
  166. package/baseui/locale/es_AR.js +128 -0
  167. package/baseui/locale/index.d.ts +26 -0
  168. package/baseui/locale/index.js +26 -0
  169. package/baseui/locale/tr_TR.d.ts +3 -0
  170. package/baseui/locale/tr_TR.js +124 -0
  171. package/baseui/locale/types.d.ts +10 -0
  172. package/baseui/locale/types.js +2 -0
  173. package/baseui/menu/constants.d.ts +27 -0
  174. package/baseui/menu/constants.js +36 -0
  175. package/baseui/menu/index.d.ts +1 -0
  176. package/baseui/menu/index.js +10 -0
  177. package/baseui/menu/styled-components.d.ts +0 -0
  178. package/baseui/menu/styled-components.js +0 -0
  179. package/baseui/menu/types.d.ts +284 -0
  180. package/baseui/menu/types.js +2 -0
  181. package/baseui/modal/close-icon.d.ts +1 -0
  182. package/baseui/modal/close-icon.js +10 -0
  183. package/baseui/modal/constants.d.ts +19 -0
  184. package/baseui/modal/constants.js +28 -0
  185. package/baseui/modal/focus-once.d.ts +10 -0
  186. package/baseui/modal/focus-once.js +21 -0
  187. package/baseui/modal/index.d.ts +7 -0
  188. package/baseui/modal/index.js +26 -0
  189. package/baseui/modal/locale.d.ts +7 -0
  190. package/baseui/modal/locale.js +6 -0
  191. package/baseui/modal/modal-button.d.ts +5 -0
  192. package/baseui/modal/modal-button.js +34 -0
  193. package/baseui/modal/modal.d.ts +41 -0
  194. package/baseui/modal/modal.js +239 -0
  195. package/baseui/modal/styled-components.d.ts +5 -0
  196. package/baseui/modal/styled-components.js +75 -0
  197. package/baseui/modal/types.d.ts +74 -0
  198. package/baseui/modal/types.js +2 -0
  199. package/baseui/package.json +4 -0
  200. package/baseui/payment-card/custom-cards.config.d.ts +11 -0
  201. package/baseui/payment-card/custom-cards.config.js +24 -0
  202. package/baseui/payment-card/icons/amex.d.ts +4 -0
  203. package/baseui/payment-card/icons/amex.js +9 -0
  204. package/baseui/payment-card/icons/dinersclub.d.ts +4 -0
  205. package/baseui/payment-card/icons/dinersclub.js +9 -0
  206. package/baseui/payment-card/icons/discover.d.ts +4 -0
  207. package/baseui/payment-card/icons/discover.js +9 -0
  208. package/baseui/payment-card/icons/elo.d.ts +4 -0
  209. package/baseui/payment-card/icons/elo.js +9 -0
  210. package/baseui/payment-card/icons/generic.d.ts +4 -0
  211. package/baseui/payment-card/icons/generic.js +9 -0
  212. package/baseui/payment-card/icons/jcb.d.ts +4 -0
  213. package/baseui/payment-card/icons/jcb.js +9 -0
  214. package/baseui/payment-card/icons/maestro.d.ts +4 -0
  215. package/baseui/payment-card/icons/maestro.js +9 -0
  216. package/baseui/payment-card/icons/mastercard.d.ts +4 -0
  217. package/baseui/payment-card/icons/mastercard.js +9 -0
  218. package/baseui/payment-card/icons/uatp.d.ts +4 -0
  219. package/baseui/payment-card/icons/uatp.js +9 -0
  220. package/baseui/payment-card/icons/unionpay.d.ts +4 -0
  221. package/baseui/payment-card/icons/unionpay.js +9 -0
  222. package/baseui/payment-card/icons/visa.d.ts +4 -0
  223. package/baseui/payment-card/icons/visa.js +9 -0
  224. package/baseui/payment-card/index.d.ts +7 -0
  225. package/baseui/payment-card/index.js +24 -0
  226. package/baseui/payment-card/payment-card.d.ts +24 -0
  227. package/baseui/payment-card/payment-card.js +113 -0
  228. package/baseui/payment-card/stateful-payment-card.d.ts +2 -0
  229. package/baseui/payment-card/stateful-payment-card.js +10 -0
  230. package/baseui/payment-card/styled-components.d.ts +1 -0
  231. package/baseui/payment-card/styled-components.js +12 -0
  232. package/baseui/payment-card/types.d.ts +11 -0
  233. package/baseui/payment-card/types.js +2 -0
  234. package/baseui/payment-card/utils.d.ts +3 -0
  235. package/baseui/payment-card/utils.js +50 -0
  236. package/baseui/popover/constants.d.ts +45 -0
  237. package/baseui/popover/constants.js +54 -0
  238. package/baseui/popover/default-props.d.ts +3 -0
  239. package/baseui/popover/default-props.js +26 -0
  240. package/baseui/popover/index.d.ts +6 -0
  241. package/baseui/popover/index.js +32 -0
  242. package/baseui/popover/popover.d.ts +15 -0
  243. package/baseui/popover/popover.js +370 -0
  244. package/baseui/popover/stateful-container.d.ts +32 -0
  245. package/baseui/popover/stateful-container.js +174 -0
  246. package/baseui/popover/stateful-popover.d.ts +19 -0
  247. package/baseui/popover/stateful-popover.js +27 -0
  248. package/baseui/popover/styled-components.d.ts +27 -0
  249. package/baseui/popover/styled-components.js +74 -0
  250. package/baseui/popover/types.d.ts +165 -0
  251. package/baseui/popover/types.js +2 -0
  252. package/baseui/popover/utils.d.ts +47 -0
  253. package/baseui/popover/utils.js +127 -0
  254. package/baseui/progress-bar/styled-components.d.ts +0 -0
  255. package/baseui/progress-bar/styled-components.js +0 -0
  256. package/baseui/radio/constants.d.ts +7 -0
  257. package/baseui/radio/constants.js +18 -0
  258. package/baseui/radio/index.d.ts +7 -0
  259. package/baseui/radio/index.js +30 -0
  260. package/baseui/radio/radio.d.ts +33 -0
  261. package/baseui/radio/radio.js +106 -0
  262. package/baseui/radio/radiogroup.d.ts +14 -0
  263. package/baseui/radio/radiogroup.js +84 -0
  264. package/baseui/radio/stateful-radiogroup-container.d.ts +11 -0
  265. package/baseui/radio/stateful-radiogroup-container.js +58 -0
  266. package/baseui/radio/stateful-radiogroup.d.ts +6 -0
  267. package/baseui/radio/stateful-radiogroup.js +15 -0
  268. package/baseui/radio/styled-components.d.ts +7 -0
  269. package/baseui/radio/styled-components.js +53 -0
  270. package/baseui/radio/types.d.ts +169 -0
  271. package/baseui/radio/types.js +2 -0
  272. package/baseui/select/autosize-input.d.ts +24 -0
  273. package/baseui/select/autosize-input.js +67 -0
  274. package/baseui/select/constants.d.ts +13 -0
  275. package/baseui/select/constants.js +23 -0
  276. package/baseui/select/default-props.d.ts +72 -0
  277. package/baseui/select/default-props.js +66 -0
  278. package/baseui/select/dropdown.d.ts +21 -0
  279. package/baseui/select/dropdown.js +138 -0
  280. package/baseui/select/index.d.ts +19 -0
  281. package/baseui/select/index.js +47 -0
  282. package/baseui/select/locale.d.ts +8 -0
  283. package/baseui/select/locale.js +10 -0
  284. package/baseui/select/multi-select.d.ts +3 -0
  285. package/baseui/select/multi-select.js +10 -0
  286. package/baseui/select/multi-value.d.ts +1 -0
  287. package/baseui/select/multi-value.js +12 -0
  288. package/baseui/select/select-component.d.ts +179 -0
  289. package/baseui/select/select-component.js +849 -0
  290. package/baseui/select/select.d.ts +4 -0
  291. package/baseui/select/select.js +11 -0
  292. package/baseui/select/single-select.d.ts +3 -0
  293. package/baseui/select/single-select.js +10 -0
  294. package/baseui/select/stateful-select-container.d.ts +19 -0
  295. package/baseui/select/stateful-select-container.js +48 -0
  296. package/baseui/select/stateful-select.d.ts +76 -0
  297. package/baseui/select/stateful-select.js +12 -0
  298. package/baseui/select/styled-components.d.ts +16 -0
  299. package/baseui/select/styled-components.js +98 -0
  300. package/baseui/select/types.d.ts +290 -0
  301. package/baseui/select/types.js +2 -0
  302. package/baseui/select/utils/default-filter-options.d.ts +23 -0
  303. package/baseui/select/utils/default-filter-options.js +54 -0
  304. package/baseui/select/utils/index.d.ts +3 -0
  305. package/baseui/select/utils/index.js +39 -0
  306. package/baseui/select/value.d.ts +1 -0
  307. package/baseui/select/value.js +13 -0
  308. package/baseui/slider/constants.d.ts +4 -0
  309. package/baseui/slider/constants.js +13 -0
  310. package/baseui/slider/index.d.ts +8 -0
  311. package/baseui/slider/index.js +22 -0
  312. package/baseui/slider/slider.d.ts +3 -0
  313. package/baseui/slider/slider.js +100 -0
  314. package/baseui/slider/stateful-slider-container.d.ts +23 -0
  315. package/baseui/slider/stateful-slider-container.js +59 -0
  316. package/baseui/slider/stateful-slider.d.ts +2 -0
  317. package/baseui/slider/stateful-slider.js +10 -0
  318. package/baseui/slider/styled-components.d.ts +9 -0
  319. package/baseui/slider/styled-components.js +58 -0
  320. package/baseui/slider/types.d.ts +74 -0
  321. package/baseui/slider/types.js +2 -0
  322. package/baseui/spinner/styled-components.d.ts +0 -0
  323. package/baseui/spinner/styled-components.js +0 -0
  324. package/baseui/table-semantic/constants.d.ts +11 -0
  325. package/baseui/table-semantic/constants.js +20 -0
  326. package/baseui/table-semantic/index.d.ts +4 -0
  327. package/baseui/table-semantic/index.js +29 -0
  328. package/baseui/table-semantic/styled-components.d.ts +11 -0
  329. package/baseui/table-semantic/styled-components.js +42 -0
  330. package/baseui/table-semantic/table-builder-column.d.ts +4 -0
  331. package/baseui/table-semantic/table-builder-column.js +18 -0
  332. package/baseui/table-semantic/table-builder.d.ts +17 -0
  333. package/baseui/table-semantic/table-builder.js +81 -0
  334. package/baseui/table-semantic/table.d.ts +10 -0
  335. package/baseui/table-semantic/table.js +45 -0
  336. package/baseui/table-semantic/types.d.ts +66 -0
  337. package/baseui/table-semantic/types.js +2 -0
  338. package/baseui/textarea/constants.d.ts +1 -0
  339. package/baseui/textarea/constants.js +13 -0
  340. package/baseui/textarea/index.d.ts +6 -0
  341. package/baseui/textarea/index.js +24 -0
  342. package/baseui/textarea/stateful-container.d.ts +2 -0
  343. package/baseui/textarea/stateful-container.js +10 -0
  344. package/baseui/textarea/stateful-textarea.d.ts +2 -0
  345. package/baseui/textarea/stateful-textarea.js +12 -0
  346. package/baseui/textarea/styled-components.d.ts +3 -0
  347. package/baseui/textarea/styled-components.js +19 -0
  348. package/baseui/textarea/textarea.d.ts +32 -0
  349. package/baseui/textarea/textarea.js +63 -0
  350. package/baseui/textarea/types.d.ts +44 -0
  351. package/baseui/textarea/types.js +2 -0
  352. package/baseui/timepicker/index.d.ts +2 -0
  353. package/baseui/timepicker/index.js +14 -0
  354. package/baseui/timepicker/timepicker.d.ts +34 -0
  355. package/baseui/timepicker/timepicker.js +260 -0
  356. package/baseui/timepicker/types.d.ts +54 -0
  357. package/baseui/timepicker/types.js +2 -0
  358. package/baseui/tooltip/constants.d.ts +1 -0
  359. package/baseui/tooltip/constants.js +14 -0
  360. package/baseui/tooltip/default-props.d.ts +3 -0
  361. package/baseui/tooltip/default-props.js +24 -0
  362. package/baseui/tooltip/index.d.ts +6 -0
  363. package/baseui/tooltip/index.js +29 -0
  364. package/baseui/tooltip/stateful-tooltip-container.d.ts +7 -0
  365. package/baseui/tooltip/stateful-tooltip-container.js +25 -0
  366. package/baseui/tooltip/stateful-tooltip.d.ts +6 -0
  367. package/baseui/tooltip/stateful-tooltip.js +12 -0
  368. package/baseui/tooltip/styled-components.d.ts +14 -0
  369. package/baseui/tooltip/styled-components.js +33 -0
  370. package/baseui/tooltip/tooltip.d.ts +7 -0
  371. package/baseui/tooltip/tooltip.js +33 -0
  372. package/baseui/tooltip/types.d.ts +8 -0
  373. package/baseui/tooltip/types.js +2 -0
  374. package/baseui/tree-view/index.d.ts +11 -0
  375. package/baseui/tree-view/index.js +20 -0
  376. package/baseui/tree-view/stateful-container.d.ts +11 -0
  377. package/baseui/tree-view/stateful-container.js +70 -0
  378. package/baseui/tree-view/stateful-tree-view.d.ts +2 -0
  379. package/baseui/tree-view/stateful-tree-view.js +10 -0
  380. package/baseui/tree-view/styled-components.d.ts +6 -0
  381. package/baseui/tree-view/styled-components.js +41 -0
  382. package/baseui/tree-view/tree-label-interactable.d.ts +8 -0
  383. package/baseui/tree-view/tree-label-interactable.js +20 -0
  384. package/baseui/tree-view/tree-label.d.ts +4 -0
  385. package/baseui/tree-view/tree-label.js +28 -0
  386. package/baseui/tree-view/tree-node.d.ts +11 -0
  387. package/baseui/tree-view/tree-node.js +54 -0
  388. package/baseui/tree-view/tree-view.d.ts +2 -0
  389. package/baseui/tree-view/tree-view.js +129 -0
  390. package/baseui/tree-view/types.d.ts +67 -0
  391. package/baseui/tree-view/types.js +2 -0
  392. package/baseui/tree-view/utils.d.ts +11 -0
  393. package/baseui/tree-view/utils.js +194 -0
  394. package/baseui/utils/create-event.d.ts +1 -0
  395. package/baseui/utils/create-event.js +14 -0
  396. package/baseui/utils/deep-merge.d.ts +1 -0
  397. package/baseui/utils/deep-merge.js +40 -0
  398. package/baseui/utils/focusVisible.d.ts +10 -0
  399. package/baseui/utils/focusVisible.js +169 -0
  400. package/baseui/utils/index.d.ts +0 -0
  401. package/baseui/utils/index.js +0 -0
  402. package/baseui/utils/react-18.d.ts +1 -0
  403. package/baseui/utils/react-18.js +14 -0
  404. package/breadcrumb/breadcrumb-item.d.ts +1 -2
  405. package/breadcrumb/breadcrumb.d.ts +1 -2
  406. package/breadcrumb/styled-components.d.ts +1 -2
  407. package/button/Button.d.ts +4 -3
  408. package/button/Button.js +25 -15
  409. package/button/IconButton/IconButton.js +7 -1
  410. package/button/IconButton/styled-components.d.ts +1 -0
  411. package/button/IconButton/styled-components.js +46 -13
  412. package/button/IconTextButton/IconTextButton.d.ts +1 -1
  413. package/button/IconTextButton/types.d.ts +1 -1
  414. package/button/basewebAdapter.d.ts +8 -7
  415. package/button/basewebAdapter.js +1 -1
  416. package/button/index.d.ts +1 -1
  417. package/button/index.js +1 -1
  418. package/button/styled-components.d.ts +27 -2
  419. package/button/styled-components.js +314 -47
  420. package/button/types.d.ts +8 -5
  421. package/button-group/styled-components.js +4 -5
  422. package/checkbox/basewebAdapters.d.ts +1 -1
  423. package/checkbox/basewebAdapters.js +31 -27
  424. package/checkbox/checkbox.js +1 -1
  425. package/checkbox/index.d.ts +3 -3
  426. package/checkbox/index.js +2 -2
  427. package/checkbox/styled-components.js +52 -15
  428. package/checkbox/types.d.ts +4 -3
  429. package/color-picker/ColorPalette.d.ts +2 -2
  430. package/color-picker/ColorPalette.js +7 -6
  431. package/color-picker/ColorPicker.d.ts +1 -1
  432. package/color-picker/ColorPicker.js +41 -6
  433. package/color-picker/ColorSelector.d.ts +6 -0
  434. package/color-picker/ColorSelector.js +33 -0
  435. package/color-picker/CustomColorSelector.d.ts +3 -0
  436. package/color-picker/CustomColorSelector.js +41 -0
  437. package/color-picker/GradientColorPicker.d.ts +6 -0
  438. package/color-picker/GradientColorPicker.js +68 -0
  439. package/color-picker/Swatch.js +3 -5
  440. package/color-picker/colors.d.ts +2 -0
  441. package/color-picker/colors.js +26 -1
  442. package/color-picker/constants.d.ts +13 -0
  443. package/color-picker/constants.js +12 -0
  444. package/color-picker/locale.d.ts +4 -0
  445. package/color-picker/types.d.ts +50 -1
  446. package/color-picker/utils.d.ts +17 -0
  447. package/color-picker/utils.js +39 -0
  448. package/date-input/DateInput.d.ts +1 -1
  449. package/date-input/DateInput.js +96 -85
  450. package/date-input/constants.d.ts +28 -0
  451. package/date-input/constants.js +31 -0
  452. package/date-input/index.d.ts +1 -0
  453. package/date-input/index.js +3 -1
  454. package/date-input/types.d.ts +13 -4
  455. package/date-input/utils.d.ts +2 -0
  456. package/date-input/utils.js +77 -0
  457. package/date-picker/Calendar.d.ts +4 -9
  458. package/date-picker/Calendar.js +112 -121
  459. package/date-picker/DateInput.d.ts +2 -2
  460. package/date-picker/DateInput.js +29 -45
  461. package/date-picker/DatePickerContent.js +8 -27
  462. package/date-picker/DateTimeContainer.d.ts +2 -2
  463. package/date-picker/DateTimeContainer.js +16 -10
  464. package/date-picker/StatelessDatePicker.js +5 -17
  465. package/date-picker/TimeInput.d.ts +2 -2
  466. package/date-picker/TimeInput.js +1 -1
  467. package/date-picker/index.d.ts +1 -1
  468. package/date-picker/index.js +1 -1
  469. package/date-picker/stateful-container.d.ts +1 -1
  470. package/date-picker/stateful-container.js +1 -1
  471. package/date-picker/styled-components.js +9 -6
  472. package/date-picker/types.d.ts +2 -1
  473. package/date-picker/utils.d.ts +2 -2
  474. package/date-picker/utils.js +3 -3
  475. package/esm/ClientOnly.d.ts +6 -0
  476. package/esm/ClientOnly.js +15 -0
  477. package/esm/allComponentsAndUtilities.d.ts +4 -1
  478. package/esm/allComponentsAndUtilities.js +8 -2
  479. package/esm/asyncSelect/asyncSelect.d.ts +1 -1
  480. package/esm/asyncSelect/asyncSelect.js +6 -4
  481. package/esm/asyncSelect/groupedAsyncSelect.d.ts +1 -1
  482. package/esm/asyncSelect/groupedAsyncSelect.js +5 -2
  483. package/esm/asyncSelect/helpers.d.ts +3 -2
  484. package/esm/asyncSelect/helpers.js +4 -2
  485. package/esm/asyncSelect/hooks/useAsyncOptionHandlers.d.ts +3 -2
  486. package/esm/asyncSelect/hooks/useAsyncOptionHandlers.js +19 -9
  487. package/esm/asyncSelect/hooks/useAsyncSelect.js +30 -16
  488. package/esm/asyncSelect/hooks/useResolveSelectedOptions.d.ts +2 -1
  489. package/esm/asyncSelect/hooks/useResolveSelectedOptions.js +3 -2
  490. package/esm/asyncSelect/types.d.ts +1 -6
  491. package/esm/avatar/avatar.js +19 -15
  492. package/esm/avatar/styled-component.js +22 -10
  493. package/esm/avatar/types.d.ts +1 -0
  494. package/esm/badge/types.d.ts +1 -1
  495. package/esm/banner/banner.js +3 -2
  496. package/esm/banner/styled-component.js +1 -1
  497. package/esm/baseui/accordion/accordion.d.ts +14 -0
  498. package/esm/baseui/accordion/accordion.js +152 -0
  499. package/esm/baseui/accordion/constants.d.ts +3 -0
  500. package/esm/baseui/accordion/constants.js +9 -0
  501. package/esm/baseui/accordion/index.d.ts +12 -0
  502. package/esm/baseui/accordion/index.js +11 -0
  503. package/esm/baseui/accordion/locale.d.ts +9 -0
  504. package/esm/baseui/accordion/locale.js +5 -0
  505. package/esm/baseui/accordion/panel.d.ts +17 -0
  506. package/esm/baseui/accordion/panel.js +109 -0
  507. package/esm/baseui/accordion/stateful-panel-container.d.ts +18 -0
  508. package/esm/baseui/accordion/stateful-panel-container.js +42 -0
  509. package/esm/baseui/accordion/stateful-panel.d.ts +2 -0
  510. package/esm/baseui/accordion/stateful-panel.js +8 -0
  511. package/esm/baseui/accordion/stateless-accordion.d.ts +3 -0
  512. package/esm/baseui/accordion/stateless-accordion.js +57 -0
  513. package/esm/baseui/accordion/styled-components.d.ts +10 -0
  514. package/esm/baseui/accordion/styled-components.js +54 -0
  515. package/esm/baseui/accordion/types.d.ts +143 -0
  516. package/esm/baseui/accordion/types.js +7 -0
  517. package/esm/baseui/button/button-internals.d.ts +2 -0
  518. package/esm/baseui/button/button-internals.js +35 -0
  519. package/esm/baseui/button/button.d.ts +10 -0
  520. package/esm/baseui/button/button.js +94 -0
  521. package/esm/baseui/button/constants.d.ts +18 -0
  522. package/esm/baseui/button/constants.js +24 -0
  523. package/esm/baseui/button/default-props.d.ts +9 -0
  524. package/esm/baseui/button/default-props.js +16 -0
  525. package/esm/baseui/button/index.d.ts +7 -0
  526. package/esm/baseui/button/index.js +7 -0
  527. package/esm/baseui/button/styled-components.d.ts +5 -0
  528. package/esm/baseui/button/styled-components.js +69 -0
  529. package/esm/baseui/button/types.d.ts +47 -0
  530. package/esm/baseui/button/types.js +1 -0
  531. package/esm/baseui/button/utils.d.ts +2 -0
  532. package/esm/baseui/button/utils.js +12 -0
  533. package/esm/baseui/card/styled-components.d.ts +0 -0
  534. package/esm/baseui/card/styled-components.js +0 -0
  535. package/esm/baseui/checkbox/checkbox.d.ts +23 -0
  536. package/esm/baseui/checkbox/checkbox.js +142 -0
  537. package/esm/baseui/checkbox/constants.d.ts +14 -0
  538. package/esm/baseui/checkbox/constants.js +23 -0
  539. package/esm/baseui/checkbox/index.d.ts +6 -0
  540. package/esm/baseui/checkbox/index.js +15 -0
  541. package/esm/baseui/checkbox/stateful-checkbox-container.d.ts +15 -0
  542. package/esm/baseui/checkbox/stateful-checkbox-container.js +78 -0
  543. package/esm/baseui/checkbox/stateful-checkbox.d.ts +6 -0
  544. package/esm/baseui/checkbox/stateful-checkbox.js +12 -0
  545. package/esm/baseui/checkbox/styled-components.d.ts +6 -0
  546. package/esm/baseui/checkbox/styled-components.js +48 -0
  547. package/esm/baseui/checkbox/types.d.ts +160 -0
  548. package/esm/baseui/checkbox/types.js +1 -0
  549. package/esm/baseui/datepicker/calendar-header.d.ts +61 -0
  550. package/esm/baseui/datepicker/calendar-header.js +366 -0
  551. package/esm/baseui/datepicker/calendar.d.ts +56 -0
  552. package/esm/baseui/datepicker/calendar.js +532 -0
  553. package/esm/baseui/datepicker/constants.d.ts +30 -0
  554. package/esm/baseui/datepicker/constants.js +36 -0
  555. package/esm/baseui/datepicker/day.d.ts +87 -0
  556. package/esm/baseui/datepicker/day.js +346 -0
  557. package/esm/baseui/datepicker/index.d.ts +10 -0
  558. package/esm/baseui/datepicker/index.js +16 -0
  559. package/esm/baseui/datepicker/locale.d.ts +65 -0
  560. package/esm/baseui/datepicker/locale.js +33 -0
  561. package/esm/baseui/datepicker/month.d.ts +32 -0
  562. package/esm/baseui/datepicker/month.js +89 -0
  563. package/esm/baseui/datepicker/styled-components.d.ts +25 -0
  564. package/esm/baseui/datepicker/styled-components.js +284 -0
  565. package/esm/baseui/datepicker/types.d.ts +354 -0
  566. package/esm/baseui/datepicker/types.js +1 -0
  567. package/esm/baseui/datepicker/utils/calendar-header-helpers.d.ts +12 -0
  568. package/esm/baseui/datepicker/utils/calendar-header-helpers.js +30 -0
  569. package/esm/baseui/datepicker/utils/date-fns-adapter.d.ts +3 -0
  570. package/esm/baseui/datepicker/utils/date-fns-adapter.js +10 -0
  571. package/esm/baseui/datepicker/utils/date-helpers.d.ts +98 -0
  572. package/esm/baseui/datepicker/utils/date-helpers.js +364 -0
  573. package/esm/baseui/datepicker/utils/day-state.d.ts +20 -0
  574. package/esm/baseui/datepicker/utils/day-state.js +31 -0
  575. package/esm/baseui/datepicker/utils/index.d.ts +67 -0
  576. package/esm/baseui/datepicker/utils/index.js +76 -0
  577. package/esm/baseui/datepicker/utils/types.d.ts +69 -0
  578. package/esm/baseui/datepicker/utils/types.js +1 -0
  579. package/esm/baseui/datepicker/week.d.ts +21 -0
  580. package/esm/baseui/datepicker/week.js +59 -0
  581. package/esm/baseui/header-navigation/constants.d.ts +5 -0
  582. package/esm/baseui/header-navigation/constants.js +11 -0
  583. package/esm/baseui/header-navigation/examples-icons.d.ts +1 -0
  584. package/esm/baseui/header-navigation/examples-icons.js +10 -0
  585. package/esm/baseui/header-navigation/header-navigation.d.ts +9 -0
  586. package/esm/baseui/header-navigation/header-navigation.js +27 -0
  587. package/esm/baseui/header-navigation/index.d.ts +4 -0
  588. package/esm/baseui/header-navigation/index.js +11 -0
  589. package/esm/baseui/header-navigation/styled-components.d.ts +3 -0
  590. package/esm/baseui/header-navigation/styled-components.js +30 -0
  591. package/esm/baseui/header-navigation/types.d.ts +8 -0
  592. package/esm/baseui/header-navigation/types.js +1 -0
  593. package/esm/baseui/helpers/i18n-interpolation.d.ts +3 -0
  594. package/esm/baseui/helpers/i18n-interpolation.js +14 -0
  595. package/esm/baseui/helpers/index.d.ts +1 -0
  596. package/esm/baseui/helpers/index.js +1 -0
  597. package/esm/baseui/helpers/overrides.d.ts +63 -0
  598. package/esm/baseui/helpers/overrides.js +160 -0
  599. package/esm/baseui/helpers/types.d.ts +7 -0
  600. package/esm/baseui/helpers/types.js +1 -0
  601. package/esm/baseui/index.d.ts +1 -0
  602. package/esm/baseui/index.js +7 -0
  603. package/esm/baseui/input/base-input.d.ts +64 -0
  604. package/esm/baseui/input/base-input.js +247 -0
  605. package/esm/baseui/input/constants.d.ts +22 -0
  606. package/esm/baseui/input/constants.js +28 -0
  607. package/esm/baseui/input/index.d.ts +8 -0
  608. package/esm/baseui/input/index.js +9 -0
  609. package/esm/baseui/input/input.d.ts +33 -0
  610. package/esm/baseui/input/input.js +96 -0
  611. package/esm/baseui/input/masked-input.d.ts +8 -0
  612. package/esm/baseui/input/masked-input.js +53 -0
  613. package/esm/baseui/input/stateful-container.d.ts +16 -0
  614. package/esm/baseui/input/stateful-container.js +40 -0
  615. package/esm/baseui/input/stateful-input.d.ts +2 -0
  616. package/esm/baseui/input/stateful-input.js +7 -0
  617. package/esm/baseui/input/styled-components.d.ts +15 -0
  618. package/esm/baseui/input/styled-components.js +41 -0
  619. package/esm/baseui/input/types.d.ts +170 -0
  620. package/esm/baseui/input/types.js +1 -0
  621. package/esm/baseui/input/utils.d.ts +2 -0
  622. package/esm/baseui/input/utils.js +17 -0
  623. package/esm/baseui/layer/constants.d.ts +15 -0
  624. package/esm/baseui/layer/constants.js +21 -0
  625. package/esm/baseui/layer/index.d.ts +5 -0
  626. package/esm/baseui/layer/index.js +11 -0
  627. package/esm/baseui/layer/layer.d.ts +2 -0
  628. package/esm/baseui/layer/layer.js +159 -0
  629. package/esm/baseui/layer/layers-manager.d.ts +28 -0
  630. package/esm/baseui/layer/layers-manager.js +168 -0
  631. package/esm/baseui/layer/tether.d.ts +30 -0
  632. package/esm/baseui/layer/tether.js +161 -0
  633. package/esm/baseui/layer/types.d.ts +148 -0
  634. package/esm/baseui/layer/types.js +1 -0
  635. package/esm/baseui/layer/utils.d.ts +6 -0
  636. package/esm/baseui/layer/utils.js +12 -0
  637. package/esm/baseui/locale/en_US.d.ts +3 -0
  638. package/esm/baseui/locale/en_US.js +23 -0
  639. package/esm/baseui/locale/es_AR.d.ts +3 -0
  640. package/esm/baseui/locale/es_AR.js +126 -0
  641. package/esm/baseui/locale/index.d.ts +26 -0
  642. package/esm/baseui/locale/index.js +23 -0
  643. package/esm/baseui/locale/tr_TR.d.ts +3 -0
  644. package/esm/baseui/locale/tr_TR.js +122 -0
  645. package/esm/baseui/locale/types.d.ts +10 -0
  646. package/esm/baseui/locale/types.js +1 -0
  647. package/esm/baseui/menu/constants.d.ts +27 -0
  648. package/esm/baseui/menu/constants.js +33 -0
  649. package/esm/baseui/menu/index.d.ts +1 -0
  650. package/esm/baseui/menu/index.js +7 -0
  651. package/esm/baseui/menu/styled-components.d.ts +0 -0
  652. package/esm/baseui/menu/styled-components.js +0 -0
  653. package/esm/baseui/menu/types.d.ts +284 -0
  654. package/esm/baseui/menu/types.js +1 -0
  655. package/esm/baseui/modal/close-icon.d.ts +1 -0
  656. package/esm/baseui/modal/close-icon.js +6 -0
  657. package/esm/baseui/modal/constants.d.ts +19 -0
  658. package/esm/baseui/modal/constants.js +25 -0
  659. package/esm/baseui/modal/focus-once.d.ts +10 -0
  660. package/esm/baseui/modal/focus-once.js +18 -0
  661. package/esm/baseui/modal/index.d.ts +7 -0
  662. package/esm/baseui/modal/index.js +12 -0
  663. package/esm/baseui/modal/locale.d.ts +7 -0
  664. package/esm/baseui/modal/locale.js +4 -0
  665. package/esm/baseui/modal/modal-button.d.ts +5 -0
  666. package/esm/baseui/modal/modal-button.js +32 -0
  667. package/esm/baseui/modal/modal.d.ts +41 -0
  668. package/esm/baseui/modal/modal.js +237 -0
  669. package/esm/baseui/modal/styled-components.d.ts +5 -0
  670. package/esm/baseui/modal/styled-components.js +72 -0
  671. package/esm/baseui/modal/types.d.ts +74 -0
  672. package/esm/baseui/modal/types.js +1 -0
  673. package/esm/baseui/payment-card/custom-cards.config.d.ts +11 -0
  674. package/esm/baseui/payment-card/custom-cards.config.js +21 -0
  675. package/esm/baseui/payment-card/icons/amex.d.ts +4 -0
  676. package/esm/baseui/payment-card/icons/amex.js +7 -0
  677. package/esm/baseui/payment-card/icons/dinersclub.d.ts +4 -0
  678. package/esm/baseui/payment-card/icons/dinersclub.js +7 -0
  679. package/esm/baseui/payment-card/icons/discover.d.ts +4 -0
  680. package/esm/baseui/payment-card/icons/discover.js +7 -0
  681. package/esm/baseui/payment-card/icons/elo.d.ts +4 -0
  682. package/esm/baseui/payment-card/icons/elo.js +7 -0
  683. package/esm/baseui/payment-card/icons/generic.d.ts +4 -0
  684. package/esm/baseui/payment-card/icons/generic.js +7 -0
  685. package/esm/baseui/payment-card/icons/jcb.d.ts +4 -0
  686. package/esm/baseui/payment-card/icons/jcb.js +7 -0
  687. package/esm/baseui/payment-card/icons/maestro.d.ts +4 -0
  688. package/esm/baseui/payment-card/icons/maestro.js +7 -0
  689. package/esm/baseui/payment-card/icons/mastercard.d.ts +4 -0
  690. package/esm/baseui/payment-card/icons/mastercard.js +7 -0
  691. package/esm/baseui/payment-card/icons/uatp.d.ts +4 -0
  692. package/esm/baseui/payment-card/icons/uatp.js +7 -0
  693. package/esm/baseui/payment-card/icons/unionpay.d.ts +4 -0
  694. package/esm/baseui/payment-card/icons/unionpay.js +7 -0
  695. package/esm/baseui/payment-card/icons/visa.d.ts +4 -0
  696. package/esm/baseui/payment-card/icons/visa.js +7 -0
  697. package/esm/baseui/payment-card/index.d.ts +7 -0
  698. package/esm/baseui/payment-card/index.js +14 -0
  699. package/esm/baseui/payment-card/payment-card.d.ts +24 -0
  700. package/esm/baseui/payment-card/payment-card.js +111 -0
  701. package/esm/baseui/payment-card/stateful-payment-card.d.ts +2 -0
  702. package/esm/baseui/payment-card/stateful-payment-card.js +7 -0
  703. package/esm/baseui/payment-card/styled-components.d.ts +1 -0
  704. package/esm/baseui/payment-card/styled-components.js +9 -0
  705. package/esm/baseui/payment-card/types.d.ts +11 -0
  706. package/esm/baseui/payment-card/types.js +1 -0
  707. package/esm/baseui/payment-card/utils.d.ts +3 -0
  708. package/esm/baseui/payment-card/utils.js +43 -0
  709. package/esm/baseui/popover/constants.d.ts +45 -0
  710. package/esm/baseui/popover/constants.js +51 -0
  711. package/esm/baseui/popover/default-props.d.ts +3 -0
  712. package/esm/baseui/popover/default-props.js +24 -0
  713. package/esm/baseui/popover/index.d.ts +6 -0
  714. package/esm/baseui/popover/index.js +15 -0
  715. package/esm/baseui/popover/popover.d.ts +15 -0
  716. package/esm/baseui/popover/popover.js +368 -0
  717. package/esm/baseui/popover/stateful-container.d.ts +32 -0
  718. package/esm/baseui/popover/stateful-container.js +172 -0
  719. package/esm/baseui/popover/stateful-popover.d.ts +19 -0
  720. package/esm/baseui/popover/stateful-popover.js +25 -0
  721. package/esm/baseui/popover/styled-components.d.ts +27 -0
  722. package/esm/baseui/popover/styled-components.js +68 -0
  723. package/esm/baseui/popover/types.d.ts +165 -0
  724. package/esm/baseui/popover/types.js +1 -0
  725. package/esm/baseui/popover/utils.d.ts +47 -0
  726. package/esm/baseui/popover/utils.js +115 -0
  727. package/esm/baseui/progress-bar/styled-components.d.ts +0 -0
  728. package/esm/baseui/progress-bar/styled-components.js +0 -0
  729. package/esm/baseui/radio/constants.d.ts +7 -0
  730. package/esm/baseui/radio/constants.js +15 -0
  731. package/esm/baseui/radio/index.d.ts +7 -0
  732. package/esm/baseui/radio/index.js +14 -0
  733. package/esm/baseui/radio/radio.d.ts +33 -0
  734. package/esm/baseui/radio/radio.js +104 -0
  735. package/esm/baseui/radio/radiogroup.d.ts +14 -0
  736. package/esm/baseui/radio/radiogroup.js +82 -0
  737. package/esm/baseui/radio/stateful-radiogroup-container.d.ts +11 -0
  738. package/esm/baseui/radio/stateful-radiogroup-container.js +56 -0
  739. package/esm/baseui/radio/stateful-radiogroup.d.ts +6 -0
  740. package/esm/baseui/radio/stateful-radiogroup.js +13 -0
  741. package/esm/baseui/radio/styled-components.d.ts +7 -0
  742. package/esm/baseui/radio/styled-components.js +50 -0
  743. package/esm/baseui/radio/types.d.ts +169 -0
  744. package/esm/baseui/radio/types.js +1 -0
  745. package/esm/baseui/select/autosize-input.d.ts +24 -0
  746. package/esm/baseui/select/autosize-input.js +65 -0
  747. package/esm/baseui/select/constants.d.ts +13 -0
  748. package/esm/baseui/select/constants.js +19 -0
  749. package/esm/baseui/select/default-props.d.ts +72 -0
  750. package/esm/baseui/select/default-props.js +63 -0
  751. package/esm/baseui/select/dropdown.d.ts +21 -0
  752. package/esm/baseui/select/dropdown.js +136 -0
  753. package/esm/baseui/select/index.d.ts +19 -0
  754. package/esm/baseui/select/index.js +14 -0
  755. package/esm/baseui/select/locale.d.ts +8 -0
  756. package/esm/baseui/select/locale.js +8 -0
  757. package/esm/baseui/select/multi-select.d.ts +3 -0
  758. package/esm/baseui/select/multi-select.js +8 -0
  759. package/esm/baseui/select/multi-value.d.ts +1 -0
  760. package/esm/baseui/select/multi-value.js +9 -0
  761. package/esm/baseui/select/select-component.d.ts +179 -0
  762. package/esm/baseui/select/select-component.js +845 -0
  763. package/esm/baseui/select/select.d.ts +4 -0
  764. package/esm/baseui/select/select.js +9 -0
  765. package/esm/baseui/select/single-select.d.ts +3 -0
  766. package/esm/baseui/select/single-select.js +8 -0
  767. package/esm/baseui/select/stateful-select-container.d.ts +19 -0
  768. package/esm/baseui/select/stateful-select-container.js +46 -0
  769. package/esm/baseui/select/stateful-select.d.ts +76 -0
  770. package/esm/baseui/select/stateful-select.js +9 -0
  771. package/esm/baseui/select/styled-components.d.ts +16 -0
  772. package/esm/baseui/select/styled-components.js +93 -0
  773. package/esm/baseui/select/types.d.ts +290 -0
  774. package/esm/baseui/select/types.js +1 -0
  775. package/esm/baseui/select/utils/default-filter-options.d.ts +23 -0
  776. package/esm/baseui/select/utils/default-filter-options.js +52 -0
  777. package/esm/baseui/select/utils/index.d.ts +3 -0
  778. package/esm/baseui/select/utils/index.js +34 -0
  779. package/esm/baseui/select/value.d.ts +1 -0
  780. package/esm/baseui/select/value.js +10 -0
  781. package/esm/baseui/slider/constants.d.ts +4 -0
  782. package/esm/baseui/slider/constants.js +10 -0
  783. package/esm/baseui/slider/index.d.ts +8 -0
  784. package/esm/baseui/slider/index.js +6 -0
  785. package/esm/baseui/slider/slider.d.ts +3 -0
  786. package/esm/baseui/slider/slider.js +98 -0
  787. package/esm/baseui/slider/stateful-slider-container.d.ts +23 -0
  788. package/esm/baseui/slider/stateful-slider-container.js +57 -0
  789. package/esm/baseui/slider/stateful-slider.d.ts +2 -0
  790. package/esm/baseui/slider/stateful-slider.js +7 -0
  791. package/esm/baseui/slider/styled-components.d.ts +9 -0
  792. package/esm/baseui/slider/styled-components.js +55 -0
  793. package/esm/baseui/slider/types.d.ts +74 -0
  794. package/esm/baseui/slider/types.js +1 -0
  795. package/esm/baseui/spinner/styled-components.d.ts +0 -0
  796. package/esm/baseui/spinner/styled-components.js +0 -0
  797. package/esm/baseui/table-semantic/constants.d.ts +11 -0
  798. package/esm/baseui/table-semantic/constants.js +17 -0
  799. package/esm/baseui/table-semantic/index.d.ts +4 -0
  800. package/esm/baseui/table-semantic/index.js +12 -0
  801. package/esm/baseui/table-semantic/styled-components.d.ts +11 -0
  802. package/esm/baseui/table-semantic/styled-components.js +39 -0
  803. package/esm/baseui/table-semantic/table-builder-column.d.ts +4 -0
  804. package/esm/baseui/table-semantic/table-builder-column.js +16 -0
  805. package/esm/baseui/table-semantic/table-builder.d.ts +17 -0
  806. package/esm/baseui/table-semantic/table-builder.js +79 -0
  807. package/esm/baseui/table-semantic/table.d.ts +10 -0
  808. package/esm/baseui/table-semantic/table.js +43 -0
  809. package/esm/baseui/table-semantic/types.d.ts +66 -0
  810. package/esm/baseui/table-semantic/types.js +1 -0
  811. package/esm/baseui/textarea/constants.d.ts +1 -0
  812. package/esm/baseui/textarea/constants.js +7 -0
  813. package/esm/baseui/textarea/index.d.ts +6 -0
  814. package/esm/baseui/textarea/index.js +13 -0
  815. package/esm/baseui/textarea/stateful-container.d.ts +2 -0
  816. package/esm/baseui/textarea/stateful-container.js +8 -0
  817. package/esm/baseui/textarea/stateful-textarea.d.ts +2 -0
  818. package/esm/baseui/textarea/stateful-textarea.js +9 -0
  819. package/esm/baseui/textarea/styled-components.d.ts +3 -0
  820. package/esm/baseui/textarea/styled-components.js +16 -0
  821. package/esm/baseui/textarea/textarea.d.ts +32 -0
  822. package/esm/baseui/textarea/textarea.js +61 -0
  823. package/esm/baseui/textarea/types.d.ts +44 -0
  824. package/esm/baseui/textarea/types.js +1 -0
  825. package/esm/baseui/timepicker/index.d.ts +2 -0
  826. package/esm/baseui/timepicker/index.js +9 -0
  827. package/esm/baseui/timepicker/timepicker.d.ts +34 -0
  828. package/esm/baseui/timepicker/timepicker.js +258 -0
  829. package/esm/baseui/timepicker/types.d.ts +54 -0
  830. package/esm/baseui/timepicker/types.js +1 -0
  831. package/esm/baseui/tooltip/constants.d.ts +1 -0
  832. package/esm/baseui/tooltip/constants.js +7 -0
  833. package/esm/baseui/tooltip/default-props.d.ts +3 -0
  834. package/esm/baseui/tooltip/default-props.js +22 -0
  835. package/esm/baseui/tooltip/index.d.ts +6 -0
  836. package/esm/baseui/tooltip/index.js +15 -0
  837. package/esm/baseui/tooltip/stateful-tooltip-container.d.ts +7 -0
  838. package/esm/baseui/tooltip/stateful-tooltip-container.js +23 -0
  839. package/esm/baseui/tooltip/stateful-tooltip.d.ts +6 -0
  840. package/esm/baseui/tooltip/stateful-tooltip.js +10 -0
  841. package/esm/baseui/tooltip/styled-components.d.ts +14 -0
  842. package/esm/baseui/tooltip/styled-components.js +30 -0
  843. package/esm/baseui/tooltip/tooltip.d.ts +7 -0
  844. package/esm/baseui/tooltip/tooltip.js +31 -0
  845. package/esm/baseui/tooltip/types.d.ts +8 -0
  846. package/esm/baseui/tooltip/types.js +1 -0
  847. package/esm/baseui/tree-view/index.d.ts +11 -0
  848. package/esm/baseui/tree-view/index.js +8 -0
  849. package/esm/baseui/tree-view/stateful-container.d.ts +11 -0
  850. package/esm/baseui/tree-view/stateful-container.js +68 -0
  851. package/esm/baseui/tree-view/stateful-tree-view.d.ts +2 -0
  852. package/esm/baseui/tree-view/stateful-tree-view.js +7 -0
  853. package/esm/baseui/tree-view/styled-components.d.ts +6 -0
  854. package/esm/baseui/tree-view/styled-components.js +38 -0
  855. package/esm/baseui/tree-view/tree-label-interactable.d.ts +8 -0
  856. package/esm/baseui/tree-view/tree-label-interactable.js +18 -0
  857. package/esm/baseui/tree-view/tree-label.d.ts +4 -0
  858. package/esm/baseui/tree-view/tree-label.js +26 -0
  859. package/esm/baseui/tree-view/tree-node.d.ts +11 -0
  860. package/esm/baseui/tree-view/tree-node.js +52 -0
  861. package/esm/baseui/tree-view/tree-view.d.ts +2 -0
  862. package/esm/baseui/tree-view/tree-view.js +126 -0
  863. package/esm/baseui/tree-view/types.d.ts +67 -0
  864. package/esm/baseui/tree-view/types.js +1 -0
  865. package/esm/baseui/tree-view/utils.d.ts +11 -0
  866. package/esm/baseui/tree-view/utils.js +181 -0
  867. package/esm/baseui/utils/create-event.d.ts +1 -0
  868. package/esm/baseui/utils/create-event.js +11 -0
  869. package/esm/baseui/utils/deep-merge.d.ts +1 -0
  870. package/esm/baseui/utils/deep-merge.js +37 -0
  871. package/esm/baseui/utils/focusVisible.d.ts +10 -0
  872. package/esm/baseui/utils/focusVisible.js +160 -0
  873. package/esm/baseui/utils/index.d.ts +0 -0
  874. package/esm/baseui/utils/index.js +0 -0
  875. package/esm/baseui/utils/react-18.d.ts +1 -0
  876. package/esm/baseui/utils/react-18.js +9 -0
  877. package/esm/breadcrumb/breadcrumb-item.d.ts +1 -2
  878. package/esm/breadcrumb/breadcrumb.d.ts +1 -2
  879. package/esm/breadcrumb/styled-components.d.ts +1 -2
  880. package/esm/button/Button.d.ts +4 -3
  881. package/esm/button/Button.js +26 -16
  882. package/esm/button/IconButton/IconButton.js +7 -1
  883. package/esm/button/IconButton/styled-components.d.ts +1 -0
  884. package/esm/button/IconButton/styled-components.js +45 -13
  885. package/esm/button/IconTextButton/IconTextButton.d.ts +1 -1
  886. package/esm/button/IconTextButton/types.d.ts +1 -1
  887. package/esm/button/basewebAdapter.d.ts +8 -7
  888. package/esm/button/basewebAdapter.js +1 -1
  889. package/esm/button/index.d.ts +1 -1
  890. package/esm/button/index.js +1 -1
  891. package/esm/button/styled-components.d.ts +27 -2
  892. package/esm/button/styled-components.js +309 -46
  893. package/esm/button/types.d.ts +8 -5
  894. package/esm/button-group/styled-components.js +4 -5
  895. package/esm/checkbox/basewebAdapters.d.ts +1 -1
  896. package/esm/checkbox/basewebAdapters.js +31 -27
  897. package/esm/checkbox/checkbox.js +1 -1
  898. package/esm/checkbox/index.d.ts +3 -3
  899. package/esm/checkbox/index.js +2 -2
  900. package/esm/checkbox/styled-components.js +52 -15
  901. package/esm/checkbox/types.d.ts +4 -3
  902. package/esm/color-picker/ColorPalette.d.ts +2 -2
  903. package/esm/color-picker/ColorPalette.js +9 -7
  904. package/esm/color-picker/ColorPicker.d.ts +1 -1
  905. package/esm/color-picker/ColorPicker.js +42 -7
  906. package/esm/color-picker/ColorSelector.d.ts +6 -0
  907. package/esm/color-picker/ColorSelector.js +30 -0
  908. package/esm/color-picker/CustomColorSelector.d.ts +3 -0
  909. package/esm/color-picker/CustomColorSelector.js +38 -0
  910. package/esm/color-picker/GradientColorPicker.d.ts +6 -0
  911. package/esm/color-picker/GradientColorPicker.js +66 -0
  912. package/esm/color-picker/Swatch.js +3 -5
  913. package/esm/color-picker/colors.d.ts +2 -0
  914. package/esm/color-picker/colors.js +24 -0
  915. package/esm/color-picker/constants.d.ts +13 -0
  916. package/esm/color-picker/constants.js +9 -0
  917. package/esm/color-picker/locale.d.ts +4 -0
  918. package/esm/color-picker/types.d.ts +50 -1
  919. package/esm/color-picker/utils.d.ts +17 -0
  920. package/esm/color-picker/utils.js +33 -0
  921. package/esm/date-input/DateInput.d.ts +1 -1
  922. package/esm/date-input/DateInput.js +98 -87
  923. package/esm/date-input/constants.d.ts +28 -0
  924. package/esm/date-input/constants.js +28 -0
  925. package/esm/date-input/index.d.ts +1 -0
  926. package/esm/date-input/index.js +1 -0
  927. package/esm/date-input/types.d.ts +13 -4
  928. package/esm/date-input/utils.d.ts +2 -0
  929. package/esm/date-input/utils.js +72 -0
  930. package/esm/date-picker/Calendar.d.ts +4 -9
  931. package/esm/date-picker/Calendar.js +110 -119
  932. package/esm/date-picker/DateInput.d.ts +2 -2
  933. package/esm/date-picker/DateInput.js +30 -46
  934. package/esm/date-picker/DatePickerContent.js +9 -28
  935. package/esm/date-picker/DateTimeContainer.d.ts +2 -2
  936. package/esm/date-picker/DateTimeContainer.js +16 -10
  937. package/esm/date-picker/StatelessDatePicker.js +4 -16
  938. package/esm/date-picker/TimeInput.d.ts +2 -2
  939. package/esm/date-picker/TimeInput.js +1 -1
  940. package/esm/date-picker/index.d.ts +1 -1
  941. package/esm/date-picker/index.js +1 -1
  942. package/esm/date-picker/stateful-container.d.ts +1 -1
  943. package/esm/date-picker/stateful-container.js +1 -1
  944. package/esm/date-picker/styled-components.js +9 -6
  945. package/esm/date-picker/types.d.ts +2 -1
  946. package/esm/date-picker/utils.d.ts +2 -2
  947. package/esm/date-picker/utils.js +3 -3
  948. package/esm/form-control/form-control.js +7 -6
  949. package/esm/form-control/types.d.ts +5 -3
  950. package/esm/grid/Col.js +30 -20
  951. package/esm/helpers/commonStyles.d.ts +1 -0
  952. package/esm/helpers/commonStyles.js +13 -0
  953. package/esm/helpers/styletron.d.ts +0 -23
  954. package/esm/helpers/styletron.js +0 -13
  955. package/esm/hooks/useFocusVisible.js +1 -1
  956. package/esm/hooks/useHasMounted.d.ts +2 -0
  957. package/esm/hooks/useHasMounted.js +11 -0
  958. package/esm/hooks/usePreferredReducedMotion.d.ts +2 -0
  959. package/esm/hooks/usePreferredReducedMotion.js +9 -0
  960. package/esm/hooks/useTransitionState.d.ts +4 -0
  961. package/esm/hooks/useTransitionState.js +21 -0
  962. package/esm/hooks/useUniqueId.d.ts +4 -1
  963. package/esm/hooks/useUniqueId.js +7 -5
  964. package/esm/icon/components/noPreview.d.ts +3 -0
  965. package/esm/icon/components/noPreview.js +8 -0
  966. package/esm/icon/components/overview.d.ts +3 -0
  967. package/esm/icon/components/overview.js +8 -0
  968. package/esm/icon/constants.d.ts +4 -0
  969. package/esm/icon/constants.js +4 -0
  970. package/esm/icon/icon.d.ts +1 -1
  971. package/esm/icon/icon.js +3 -2
  972. package/esm/icon/types.d.ts +3 -0
  973. package/esm/input/InputContainer.d.ts +12 -0
  974. package/esm/input/InputContainer.js +18 -0
  975. package/esm/input/basewebAdapters.d.ts +2 -2
  976. package/esm/input/basewebAdapters.js +45 -42
  977. package/esm/input/index.d.ts +4 -3
  978. package/esm/input/index.js +3 -2
  979. package/esm/input/input.js +1 -1
  980. package/esm/input/styled-components.js +1 -1
  981. package/esm/input/types.d.ts +1 -1
  982. package/esm/layer/LayersManager.js +3 -1
  983. package/esm/layer/useLayersContextValue.d.ts +1 -1
  984. package/esm/layer/useLayersContextValue.js +48 -3
  985. package/esm/list/list-item-text.d.ts +1 -2
  986. package/esm/list/list-item.d.ts +1 -1
  987. package/esm/list/list-item.js +1 -1
  988. package/esm/loader/loader.d.ts +3 -1
  989. package/esm/loader/loader.js +12 -3
  990. package/esm/loader/styled-component.d.ts +2 -0
  991. package/esm/loader/styled-component.js +61 -0
  992. package/esm/loader/types.d.ts +2 -1
  993. package/esm/locale/context.d.ts +1 -1
  994. package/esm/locale/en_US.js +5 -0
  995. package/esm/locale/types.d.ts +7 -7
  996. package/esm/menu/helpers.d.ts +8 -1
  997. package/esm/menu/helpers.js +4 -4
  998. package/esm/menu/menu-item.d.ts +3 -3
  999. package/esm/menu/menu-item.js +6 -2
  1000. package/esm/modal/adapter.d.ts +1 -1
  1001. package/esm/modal/adapter.js +1 -1
  1002. package/esm/modal/index.d.ts +1 -1
  1003. package/esm/modal/index.js +1 -1
  1004. package/esm/modal/modal-footer.d.ts +1 -1
  1005. package/esm/modal/modal-footer.js +4 -3
  1006. package/esm/modal/modal.js +16 -13
  1007. package/esm/modal/overrides.js +6 -13
  1008. package/esm/modal/styled-components.d.ts +2 -2
  1009. package/esm/modal/styled-components.js +3 -12
  1010. package/esm/modal/types.d.ts +3 -3
  1011. package/esm/modal/types.js +1 -1
  1012. package/esm/overrides/useOverrides.js +1 -1
  1013. package/esm/payment-card/basewebAdapters.d.ts +1 -1
  1014. package/esm/payment-card/basewebAdapters.js +2 -2
  1015. package/esm/payment-card/index.d.ts +1 -1
  1016. package/esm/payment-card/index.js +1 -1
  1017. package/esm/payment-card/paymentCard.js +1 -1
  1018. package/esm/payment-card/types.d.ts +1 -1
  1019. package/esm/phone-input/styled-components.d.ts +1 -1
  1020. package/esm/phone-input/styled-components.js +5 -13
  1021. package/esm/phone-input/types.d.ts +1 -1
  1022. package/esm/popover/PopoverEnahncer.d.ts +1 -1
  1023. package/esm/popover/adapter.d.ts +1 -1
  1024. package/esm/popover/adapter.js +1 -1
  1025. package/esm/popover/hooks.d.ts +1 -1
  1026. package/esm/popover/index.d.ts +1 -1
  1027. package/esm/popover/index.js +1 -1
  1028. package/esm/popover/popover.d.ts +1 -1
  1029. package/esm/popover/popover.js +16 -12
  1030. package/esm/popover/stateful-popover.js +1 -1
  1031. package/esm/popover/styled-components.d.ts +1 -1
  1032. package/esm/popover/styled-components.js +1 -1
  1033. package/esm/popover/types.d.ts +5 -5
  1034. package/esm/popover/types.js +2 -2
  1035. package/esm/radio/basewebAdapters.d.ts +1 -1
  1036. package/esm/radio/basewebAdapters.js +33 -29
  1037. package/esm/radio/index.d.ts +1 -1
  1038. package/esm/radio/index.js +1 -1
  1039. package/esm/radio/radio.js +1 -1
  1040. package/esm/radio/styled-components.js +2 -2
  1041. package/esm/radio/types.d.ts +1 -2
  1042. package/esm/select/adaptor.d.ts +1 -1
  1043. package/esm/select/adaptor.js +1 -1
  1044. package/esm/select/base-select.d.ts +6 -7
  1045. package/esm/select/base-select.js +23 -67
  1046. package/esm/select/constants.d.ts +1 -1
  1047. package/esm/select/constants.js +2 -2
  1048. package/esm/select/index.d.ts +2 -2
  1049. package/esm/select/index.js +1 -1
  1050. package/esm/select/locale.d.ts +1 -0
  1051. package/esm/select/mobileSelect/MobileSelect.js +9 -2
  1052. package/esm/select/mobileSelect/MobileSheet.js +1 -1
  1053. package/esm/select/mobileSelect/overrides.d.ts +1 -1
  1054. package/esm/select/overlaySelect/OverlaySelect.d.ts +2 -1
  1055. package/esm/select/overlaySelect/OverlaySelect.js +38 -8
  1056. package/esm/select/overlaySelect/hooks/useControlRef.d.ts +1 -1
  1057. package/esm/select/overlaySelect/hooks/useOverlaySelectOverrides.d.ts +1 -4
  1058. package/esm/select/overlaySelect/hooks/useOverlaySelectOverrides.js +2 -8
  1059. package/esm/select/overrides.d.ts +2 -2
  1060. package/esm/select/select.d.ts +4 -4
  1061. package/esm/select/select.js +0 -3
  1062. package/esm/select/selectMenuAdapter/CollapsibleSelectMenu.d.ts +14 -13
  1063. package/esm/select/selectMenuAdapter/CollapsibleSelectMenu.js +43 -12
  1064. package/esm/select/selectMenuAdapter/SelectMenuAdapter.js +1 -1
  1065. package/esm/select/selectMenuAdapter/SelectMenuItem.d.ts +3 -3
  1066. package/esm/select/selectMenuAdapter/hooks/useGetExpandedGroup.d.ts +1 -1
  1067. package/esm/select/selectMenuAdapter/hooks/useGetExpandedGroup.js +3 -2
  1068. package/esm/select/selectMenuAdapter/types.d.ts +3 -1
  1069. package/esm/select/stateful-select.d.ts +4 -4
  1070. package/esm/select/stateful-select.js +1 -1
  1071. package/esm/select/styled-component.d.ts +6 -6
  1072. package/esm/select/styled-component.js +21 -16
  1073. package/esm/select/types.d.ts +5 -14
  1074. package/esm/select/types.js +2 -1
  1075. package/esm/select/utils/default-create-option.d.ts +5 -0
  1076. package/esm/select/utils/default-create-option.js +6 -0
  1077. package/esm/select/utils/default-filter-options.d.ts +1 -1
  1078. package/esm/select/utils/default-filter-options.js +1 -1
  1079. package/esm/select/utils/merge-options.js +1 -1
  1080. package/esm/slider/mark.d.ts +3 -3
  1081. package/esm/slider/slider.js +12 -7
  1082. package/esm/slider/stateful-slider-container.js +1 -1
  1083. package/esm/slider/types.d.ts +1 -1
  1084. package/esm/snackbar/Snackbar.js +2 -2
  1085. package/esm/snackbar/constants.d.ts +1 -1
  1086. package/esm/snackbar/useSnackbar.js +16 -7
  1087. package/esm/spacewebProvider/AiIconLinearGradients.d.ts +2 -0
  1088. package/esm/spacewebProvider/AiIconLinearGradients.js +9 -0
  1089. package/esm/spacewebProvider/CustomBaseProvider.d.ts +2 -11
  1090. package/esm/spacewebProvider/CustomBaseProvider.js +4 -12
  1091. package/esm/spacewebProvider/SpacewebProvider.js +8 -6
  1092. package/esm/style/styled.d.ts +1 -1
  1093. package/esm/style/useMemoizedStyletron.d.ts +2 -1
  1094. package/esm/style/useMemoizedStyletron.js +3 -3
  1095. package/esm/switch/index.d.ts +1 -1
  1096. package/esm/switch/index.js +1 -1
  1097. package/esm/switch/styled-components.js +0 -2
  1098. package/esm/switch/switch.js +1 -1
  1099. package/esm/switch/types.d.ts +1 -1
  1100. package/esm/tabs/contexts.d.ts +2 -2
  1101. package/esm/tabs/styled-components.d.ts +1 -1
  1102. package/esm/tabs/tab-list.js +2 -1
  1103. package/esm/tag/intentStyles.d.ts +5 -1
  1104. package/esm/tag/intentStyles.js +31 -5
  1105. package/esm/tag/styled-components.js +5 -4
  1106. package/esm/tag/tag.js +3 -7
  1107. package/esm/tag/types.d.ts +1 -1
  1108. package/esm/textarea/basewebAdapters.js +17 -15
  1109. package/esm/textarea/index.d.ts +1 -1
  1110. package/esm/textarea/index.js +1 -1
  1111. package/esm/textarea/styled-components.d.ts +1 -1
  1112. package/esm/textarea/textarea.js +1 -1
  1113. package/esm/textarea/types.d.ts +1 -1
  1114. package/esm/theme/Provider.js +4 -10
  1115. package/esm/time-picker/TimePicker.js +15 -12
  1116. package/esm/time-picker/types.d.ts +2 -2
  1117. package/esm/time-range-picker/RangeSelector.js +7 -11
  1118. package/esm/time-range-picker/RangeSelectorContainer.js +2 -2
  1119. package/esm/time-range-picker/TimeRangeList.js +1 -1
  1120. package/esm/time-range-picker/TimeRangePicker.js +9 -3
  1121. package/esm/time-range-picker/constants.d.ts +0 -2
  1122. package/esm/time-range-picker/constants.js +0 -2
  1123. package/esm/time-range-picker/types.d.ts +1 -2
  1124. package/esm/time-range-picker/utils.d.ts +2 -6
  1125. package/esm/time-range-picker/utils.js +5 -16
  1126. package/esm/tooltip/disabled-tooltip-container.d.ts +2 -1
  1127. package/esm/tooltip/disabled-tooltip-container.js +1 -1
  1128. package/esm/tooltip/overrides.js +10 -4
  1129. package/esm/tooltip/stateful-tooltip-container.d.ts +2 -1
  1130. package/esm/tooltip/stateful-tooltip-container.js +1 -1
  1131. package/esm/tooltip/stateful-tooltip.d.ts +2 -1
  1132. package/esm/tooltip/stateful-tooltip.js +3 -5
  1133. package/esm/tooltip/styled-component.d.ts +1 -1
  1134. package/esm/tooltip/styled-component.js +1 -1
  1135. package/esm/tooltip/tooltip.d.ts +1 -1
  1136. package/esm/tooltip/tooltip.js +17 -13
  1137. package/esm/tooltip/types.d.ts +8 -4
  1138. package/esm/transitions/collapse/collapse.d.ts +7 -0
  1139. package/esm/transitions/collapse/collapse.js +64 -0
  1140. package/esm/transitions/collapse/index.d.ts +3 -0
  1141. package/esm/transitions/collapse/index.js +1 -0
  1142. package/esm/transitions/collapse/styled-components.d.ts +1 -0
  1143. package/esm/transitions/collapse/styled-components.js +23 -0
  1144. package/esm/transitions/collapse/types.d.ts +19 -0
  1145. package/esm/transitions/collapse/types.js +1 -0
  1146. package/esm/transitions/fade/fade.d.ts +7 -0
  1147. package/esm/transitions/fade/fade.js +27 -0
  1148. package/esm/transitions/fade/index.d.ts +3 -0
  1149. package/esm/transitions/fade/index.js +1 -0
  1150. package/esm/transitions/fade/types.d.ts +10 -0
  1151. package/esm/transitions/fade/types.js +1 -0
  1152. package/esm/transitions/grow/grow.d.ts +7 -0
  1153. package/esm/transitions/grow/grow.js +30 -0
  1154. package/esm/transitions/grow/index.d.ts +3 -0
  1155. package/esm/transitions/grow/index.js +1 -0
  1156. package/esm/transitions/grow/types.d.ts +9 -0
  1157. package/esm/transitions/grow/types.js +1 -0
  1158. package/esm/transitions/transition/constants.d.ts +6 -0
  1159. package/esm/transitions/transition/constants.js +6 -0
  1160. package/esm/transitions/transition/helperFunction.d.ts +1 -0
  1161. package/esm/transitions/transition/helperFunction.js +5 -0
  1162. package/esm/transitions/transition/index.d.ts +4 -0
  1163. package/esm/transitions/transition/index.js +3 -0
  1164. package/esm/transitions/transition/styled-component.d.ts +1 -0
  1165. package/esm/transitions/transition/styled-component.js +24 -0
  1166. package/esm/transitions/transition/transition.d.ts +7 -0
  1167. package/esm/transitions/transition/transition.js +34 -0
  1168. package/esm/transitions/transition/transitionGroup.d.ts +4 -0
  1169. package/esm/transitions/transition/transitionGroup.js +11 -0
  1170. package/esm/transitions/transition/types.d.ts +40 -0
  1171. package/esm/transitions/transition/types.js +1 -0
  1172. package/esm/truncateWithTooltip/TruncateWithTooltip.d.ts +4 -0
  1173. package/esm/truncateWithTooltip/TruncateWithTooltip.js +20 -0
  1174. package/esm/truncateWithTooltip/hooks/useTruncateWithTooltip.d.ts +7 -0
  1175. package/esm/truncateWithTooltip/hooks/useTruncateWithTooltip.js +26 -0
  1176. package/esm/truncateWithTooltip/index.d.ts +2 -0
  1177. package/esm/truncateWithTooltip/index.js +1 -0
  1178. package/esm/truncateWithTooltip/types.d.ts +20 -0
  1179. package/esm/truncateWithTooltip/types.js +1 -0
  1180. package/esm/types.d.ts +2 -5
  1181. package/esm/typography/Typography.d.ts +6 -0
  1182. package/esm/typography/Typography.js +8 -3
  1183. package/esm/typography/types.d.ts +7 -1
  1184. package/esm/utils/intlNumberFormatUtils/index.js +3 -1
  1185. package/esm/video/Video.js +3 -2
  1186. package/esm/video/types.d.ts +1 -0
  1187. package/form-control/form-control.js +7 -6
  1188. package/form-control/types.d.ts +5 -3
  1189. package/grid/Col.js +29 -19
  1190. package/helpers/commonStyles.d.ts +1 -0
  1191. package/helpers/commonStyles.js +14 -1
  1192. package/helpers/styletron.d.ts +0 -23
  1193. package/helpers/styletron.js +0 -16
  1194. package/hooks/useFocusVisible.js +1 -1
  1195. package/hooks/useHasMounted.d.ts +2 -0
  1196. package/hooks/useHasMounted.js +14 -0
  1197. package/hooks/usePreferredReducedMotion.d.ts +2 -0
  1198. package/hooks/usePreferredReducedMotion.js +11 -0
  1199. package/hooks/useTransitionState.d.ts +4 -0
  1200. package/hooks/useTransitionState.js +25 -0
  1201. package/hooks/useUniqueId.d.ts +4 -1
  1202. package/hooks/useUniqueId.js +9 -7
  1203. package/icon/components/noPreview.d.ts +3 -0
  1204. package/icon/components/noPreview.js +11 -0
  1205. package/icon/components/overview.d.ts +3 -0
  1206. package/icon/components/overview.js +11 -0
  1207. package/icon/constants.d.ts +4 -0
  1208. package/icon/constants.js +7 -0
  1209. package/icon/icon.d.ts +1 -1
  1210. package/icon/icon.js +3 -2
  1211. package/icon/types.d.ts +3 -0
  1212. package/input/InputContainer.d.ts +12 -0
  1213. package/input/InputContainer.js +22 -0
  1214. package/input/basewebAdapters.d.ts +2 -2
  1215. package/input/basewebAdapters.js +45 -42
  1216. package/input/index.d.ts +4 -3
  1217. package/input/index.js +5 -3
  1218. package/input/input.js +1 -1
  1219. package/input/styled-components.js +1 -1
  1220. package/input/types.d.ts +1 -1
  1221. package/layer/LayersManager.js +3 -1
  1222. package/layer/useLayersContextValue.d.ts +1 -1
  1223. package/layer/useLayersContextValue.js +48 -3
  1224. package/list/list-item-text.d.ts +1 -2
  1225. package/list/list-item.d.ts +1 -1
  1226. package/list/list-item.js +1 -1
  1227. package/loader/loader.d.ts +3 -1
  1228. package/loader/loader.js +11 -2
  1229. package/loader/styled-component.d.ts +2 -0
  1230. package/loader/styled-component.js +62 -1
  1231. package/loader/types.d.ts +2 -1
  1232. package/locale/context.d.ts +1 -1
  1233. package/locale/en_US.js +5 -0
  1234. package/locale/types.d.ts +7 -7
  1235. package/menu/helpers.d.ts +8 -1
  1236. package/menu/helpers.js +7 -4
  1237. package/menu/menu-item.d.ts +3 -3
  1238. package/menu/menu-item.js +6 -2
  1239. package/modal/adapter.d.ts +1 -1
  1240. package/modal/adapter.js +1 -1
  1241. package/modal/index.d.ts +1 -1
  1242. package/modal/index.js +1 -1
  1243. package/modal/modal-footer.d.ts +1 -1
  1244. package/modal/modal-footer.js +3 -2
  1245. package/modal/modal.js +16 -13
  1246. package/modal/overrides.js +6 -13
  1247. package/modal/styled-components.d.ts +2 -2
  1248. package/modal/styled-components.js +3 -13
  1249. package/modal/types.d.ts +3 -3
  1250. package/modal/types.js +1 -1
  1251. package/overrides/useOverrides.js +1 -1
  1252. package/package.json +31 -15
  1253. package/payment-card/basewebAdapters.d.ts +1 -1
  1254. package/payment-card/basewebAdapters.js +2 -2
  1255. package/payment-card/index.d.ts +1 -1
  1256. package/payment-card/index.js +1 -1
  1257. package/payment-card/paymentCard.js +1 -1
  1258. package/payment-card/types.d.ts +1 -1
  1259. package/phone-input/styled-components.d.ts +1 -1
  1260. package/phone-input/styled-components.js +5 -13
  1261. package/phone-input/types.d.ts +1 -1
  1262. package/popover/PopoverEnahncer.d.ts +1 -1
  1263. package/popover/adapter.d.ts +1 -1
  1264. package/popover/adapter.js +1 -1
  1265. package/popover/hooks.d.ts +1 -1
  1266. package/popover/index.d.ts +1 -1
  1267. package/popover/index.js +1 -1
  1268. package/popover/popover.d.ts +1 -1
  1269. package/popover/popover.js +15 -11
  1270. package/popover/stateful-popover.js +1 -1
  1271. package/popover/styled-components.d.ts +1 -1
  1272. package/popover/styled-components.js +1 -1
  1273. package/popover/types.d.ts +5 -5
  1274. package/popover/types.js +2 -2
  1275. package/radio/basewebAdapters.d.ts +1 -1
  1276. package/radio/basewebAdapters.js +32 -28
  1277. package/radio/index.d.ts +1 -1
  1278. package/radio/index.js +1 -1
  1279. package/radio/radio.js +1 -1
  1280. package/radio/styled-components.js +2 -2
  1281. package/radio/types.d.ts +1 -2
  1282. package/select/adaptor.d.ts +1 -1
  1283. package/select/adaptor.js +1 -1
  1284. package/select/base-select.d.ts +6 -7
  1285. package/select/base-select.js +35 -79
  1286. package/select/constants.d.ts +1 -1
  1287. package/select/constants.js +2 -2
  1288. package/select/index.d.ts +2 -2
  1289. package/select/index.js +1 -1
  1290. package/select/locale.d.ts +1 -0
  1291. package/select/mobileSelect/MobileSelect.js +9 -2
  1292. package/select/mobileSelect/MobileSheet.js +1 -1
  1293. package/select/mobileSelect/overrides.d.ts +1 -1
  1294. package/select/overlaySelect/OverlaySelect.d.ts +2 -1
  1295. package/select/overlaySelect/OverlaySelect.js +35 -5
  1296. package/select/overlaySelect/hooks/useControlRef.d.ts +1 -1
  1297. package/select/overlaySelect/hooks/useOverlaySelectOverrides.d.ts +1 -4
  1298. package/select/overlaySelect/hooks/useOverlaySelectOverrides.js +2 -8
  1299. package/select/overrides.d.ts +2 -2
  1300. package/select/select.d.ts +4 -4
  1301. package/select/select.js +0 -3
  1302. package/select/selectMenuAdapter/CollapsibleSelectMenu.d.ts +14 -13
  1303. package/select/selectMenuAdapter/CollapsibleSelectMenu.js +42 -11
  1304. package/select/selectMenuAdapter/SelectMenuAdapter.js +1 -1
  1305. package/select/selectMenuAdapter/SelectMenuItem.d.ts +3 -3
  1306. package/select/selectMenuAdapter/hooks/useGetExpandedGroup.d.ts +1 -1
  1307. package/select/selectMenuAdapter/hooks/useGetExpandedGroup.js +3 -2
  1308. package/select/selectMenuAdapter/types.d.ts +3 -1
  1309. package/select/stateful-select.d.ts +4 -4
  1310. package/select/stateful-select.js +1 -1
  1311. package/select/styled-component.d.ts +6 -6
  1312. package/select/styled-component.js +21 -16
  1313. package/select/types.d.ts +5 -14
  1314. package/select/types.js +3 -2
  1315. package/select/utils/default-create-option.d.ts +5 -0
  1316. package/select/utils/default-create-option.js +11 -0
  1317. package/select/utils/default-filter-options.d.ts +1 -1
  1318. package/select/utils/default-filter-options.js +1 -1
  1319. package/select/utils/merge-options.js +1 -1
  1320. package/slider/mark.d.ts +3 -3
  1321. package/slider/slider.js +12 -7
  1322. package/slider/stateful-slider-container.js +1 -1
  1323. package/slider/types.d.ts +1 -1
  1324. package/snackbar/Snackbar.js +2 -2
  1325. package/snackbar/constants.d.ts +1 -1
  1326. package/snackbar/useSnackbar.js +16 -7
  1327. package/spacewebProvider/AiIconLinearGradients.d.ts +2 -0
  1328. package/spacewebProvider/AiIconLinearGradients.js +11 -0
  1329. package/spacewebProvider/CustomBaseProvider.d.ts +2 -11
  1330. package/spacewebProvider/CustomBaseProvider.js +4 -12
  1331. package/spacewebProvider/SpacewebProvider.js +8 -6
  1332. package/style/styled.d.ts +1 -1
  1333. package/style/useMemoizedStyletron.d.ts +2 -1
  1334. package/style/useMemoizedStyletron.js +3 -3
  1335. package/switch/index.d.ts +1 -1
  1336. package/switch/index.js +1 -1
  1337. package/switch/styled-components.js +0 -2
  1338. package/switch/switch.js +1 -1
  1339. package/switch/types.d.ts +1 -1
  1340. package/tabs/contexts.d.ts +2 -2
  1341. package/tabs/styled-components.d.ts +1 -1
  1342. package/tabs/tab-list.js +2 -1
  1343. package/tag/intentStyles.d.ts +5 -1
  1344. package/tag/intentStyles.js +31 -5
  1345. package/tag/styled-components.js +5 -4
  1346. package/tag/tag.js +3 -7
  1347. package/tag/types.d.ts +1 -1
  1348. package/textarea/basewebAdapters.js +17 -15
  1349. package/textarea/index.d.ts +1 -1
  1350. package/textarea/index.js +1 -1
  1351. package/textarea/styled-components.d.ts +1 -1
  1352. package/textarea/textarea.js +1 -1
  1353. package/textarea/types.d.ts +1 -1
  1354. package/theme/Provider.js +2 -8
  1355. package/time-picker/TimePicker.js +15 -12
  1356. package/time-picker/types.d.ts +2 -2
  1357. package/time-range-picker/RangeSelector.js +5 -9
  1358. package/time-range-picker/RangeSelectorContainer.js +2 -2
  1359. package/time-range-picker/TimeRangeList.js +1 -1
  1360. package/time-range-picker/TimeRangePicker.js +9 -3
  1361. package/time-range-picker/constants.d.ts +0 -2
  1362. package/time-range-picker/constants.js +1 -3
  1363. package/time-range-picker/types.d.ts +1 -2
  1364. package/time-range-picker/utils.d.ts +2 -6
  1365. package/time-range-picker/utils.js +5 -17
  1366. package/tooltip/disabled-tooltip-container.d.ts +2 -1
  1367. package/tooltip/disabled-tooltip-container.js +1 -1
  1368. package/tooltip/overrides.js +10 -4
  1369. package/tooltip/stateful-tooltip-container.d.ts +2 -1
  1370. package/tooltip/stateful-tooltip-container.js +1 -1
  1371. package/tooltip/stateful-tooltip.d.ts +2 -1
  1372. package/tooltip/stateful-tooltip.js +3 -5
  1373. package/tooltip/styled-component.d.ts +1 -1
  1374. package/tooltip/styled-component.js +1 -1
  1375. package/tooltip/tooltip.d.ts +1 -1
  1376. package/tooltip/tooltip.js +16 -12
  1377. package/tooltip/types.d.ts +8 -4
  1378. package/transitions/collapse/collapse.d.ts +7 -0
  1379. package/transitions/collapse/collapse.js +66 -0
  1380. package/transitions/collapse/index.d.ts +3 -0
  1381. package/transitions/collapse/index.js +8 -0
  1382. package/transitions/collapse/styled-components.d.ts +1 -0
  1383. package/transitions/collapse/styled-components.js +26 -0
  1384. package/transitions/collapse/types.d.ts +19 -0
  1385. package/transitions/collapse/types.js +2 -0
  1386. package/transitions/fade/fade.d.ts +7 -0
  1387. package/transitions/fade/fade.js +29 -0
  1388. package/transitions/fade/index.d.ts +3 -0
  1389. package/transitions/fade/index.js +8 -0
  1390. package/transitions/fade/types.d.ts +10 -0
  1391. package/transitions/fade/types.js +2 -0
  1392. package/transitions/grow/grow.d.ts +7 -0
  1393. package/transitions/grow/grow.js +32 -0
  1394. package/transitions/grow/index.d.ts +3 -0
  1395. package/transitions/grow/index.js +8 -0
  1396. package/transitions/grow/types.d.ts +9 -0
  1397. package/transitions/grow/types.js +2 -0
  1398. package/transitions/package.json +4 -0
  1399. package/transitions/transition/constants.d.ts +6 -0
  1400. package/transitions/transition/constants.js +9 -0
  1401. package/transitions/transition/helperFunction.d.ts +1 -0
  1402. package/transitions/transition/helperFunction.js +9 -0
  1403. package/transitions/transition/index.d.ts +4 -0
  1404. package/transitions/transition/index.js +15 -0
  1405. package/transitions/transition/styled-component.d.ts +1 -0
  1406. package/transitions/transition/styled-component.js +27 -0
  1407. package/transitions/transition/transition.d.ts +7 -0
  1408. package/transitions/transition/transition.js +36 -0
  1409. package/transitions/transition/transitionGroup.d.ts +4 -0
  1410. package/transitions/transition/transitionGroup.js +13 -0
  1411. package/transitions/transition/types.d.ts +40 -0
  1412. package/transitions/transition/types.js +2 -0
  1413. package/truncateWithTooltip/TruncateWithTooltip.d.ts +4 -0
  1414. package/truncateWithTooltip/TruncateWithTooltip.js +22 -0
  1415. package/truncateWithTooltip/hooks/useTruncateWithTooltip.d.ts +7 -0
  1416. package/truncateWithTooltip/hooks/useTruncateWithTooltip.js +30 -0
  1417. package/truncateWithTooltip/index.d.ts +2 -0
  1418. package/truncateWithTooltip/index.js +8 -0
  1419. package/truncateWithTooltip/package.json +4 -0
  1420. package/truncateWithTooltip/types.d.ts +20 -0
  1421. package/truncateWithTooltip/types.js +2 -0
  1422. package/tsconfig.tsbuildinfo +1 -1
  1423. package/types.d.ts +2 -5
  1424. package/typography/Typography.d.ts +6 -0
  1425. package/typography/Typography.js +7 -2
  1426. package/typography/types.d.ts +7 -1
  1427. package/utils/intlNumberFormatUtils/index.js +3 -1
  1428. package/video/Video.js +3 -2
  1429. package/video/types.d.ts +1 -0
  1430. package/date-input/Before.d.ts +0 -19
  1431. package/date-input/Before.js +0 -27
  1432. package/date-input/CalendarIconButton.d.ts +0 -3
  1433. package/date-input/CalendarIconButton.js +0 -16
  1434. package/esm/date-input/Before.d.ts +0 -19
  1435. package/esm/date-input/Before.js +0 -23
  1436. package/esm/date-input/CalendarIconButton.d.ts +0 -3
  1437. package/esm/date-input/CalendarIconButton.js +0 -12
  1438. package/esm/helpers/baseui/useConvertOverrides.d.ts +0 -15
  1439. package/esm/helpers/baseui/useConvertOverrides.js +0 -35
  1440. package/esm/helpers/baseui/withThemeOverride.d.ts +0 -9
  1441. package/esm/helpers/baseui/withThemeOverride.js +0 -21
  1442. package/esm/style/__mocks__/CSS.mock.d.ts +0 -10
  1443. package/esm/style/__mocks__/CSS.mock.js +0 -9
  1444. package/esm/style/__mocks__/UseStyle.mock.d.ts +0 -10
  1445. package/esm/style/__mocks__/UseStyle.mock.js +0 -8
  1446. package/esm/themes/dark-theme.d.ts +0 -6
  1447. package/esm/themes/dark-theme.js +0 -9
  1448. package/esm/themes/index.d.ts +0 -10
  1449. package/esm/themes/index.js +0 -18
  1450. package/esm/themes/light-theme.d.ts +0 -6
  1451. package/esm/themes/light-theme.js +0 -9
  1452. package/esm/themes/responsive-theme.d.ts +0 -20
  1453. package/esm/themes/responsive-theme.js +0 -19
  1454. package/esm/themes/shared.d.ts +0 -4
  1455. package/esm/themes/shared.js +0 -4
  1456. package/helpers/baseui/useConvertOverrides.d.ts +0 -15
  1457. package/helpers/baseui/useConvertOverrides.js +0 -40
  1458. package/helpers/baseui/withThemeOverride.d.ts +0 -9
  1459. package/helpers/baseui/withThemeOverride.js +0 -23
  1460. package/style/__mocks__/CSS.mock.d.ts +0 -10
  1461. package/style/__mocks__/CSS.mock.js +0 -11
  1462. package/style/__mocks__/UseStyle.mock.d.ts +0 -10
  1463. package/style/__mocks__/UseStyle.mock.js +0 -11
  1464. package/themes/dark-theme.d.ts +0 -6
  1465. package/themes/dark-theme.js +0 -12
  1466. package/themes/index.d.ts +0 -10
  1467. package/themes/index.js +0 -23
  1468. package/themes/light-theme.d.ts +0 -6
  1469. package/themes/light-theme.js +0 -12
  1470. package/themes/package.json +0 -4
  1471. package/themes/responsive-theme.d.ts +0 -20
  1472. package/themes/responsive-theme.js +0 -23
  1473. package/themes/shared.d.ts +0 -4
  1474. package/themes/shared.js +0 -7
@@ -0,0 +1,237 @@
1
+ import { __assign, __extends, __read } from "tslib";
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
+ */
9
+ /* global document */
10
+ import * as React from 'react';
11
+ import FocusLock from 'react-focus-lock';
12
+ import { LocaleContext } from '../locale';
13
+ import { getOverrides } from '../helpers/overrides';
14
+ import { Layer } from '../layer';
15
+ import { SIZE, ROLE, CLOSE_SOURCE } from './constants';
16
+ import { Root as StyledRoot, Dialog as StyledDialog, DialogContainer as StyledDialogContainer, Close as StyledClose, Hidden, } from './styled-components';
17
+ import { CloseIcon } from './close-icon';
18
+ import { isFocusVisible, forkFocus, forkBlur } from '../utils/focusVisible';
19
+ var Modal = /** @class */ (function (_super) {
20
+ __extends(Modal, _super);
21
+ function Modal() {
22
+ var _this = _super !== null && _super.apply(this, arguments) || this;
23
+ _this.mounted = false;
24
+ _this.prevMounted = false;
25
+ _this.dialogContainerRef = React.createRef();
26
+ _this.lastFocus = null;
27
+ _this.lastMountNodeOverflowStyle = null;
28
+ _this.rootRef = React.createRef();
29
+ _this.state = {
30
+ isVisible: false,
31
+ mounted: false,
32
+ isFocusVisible: false,
33
+ };
34
+ _this.handleFocus = function (event) {
35
+ if (isFocusVisible(event)) {
36
+ _this.setState({ isFocusVisible: true });
37
+ }
38
+ };
39
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
40
+ _this.handleBlur = function (event) {
41
+ if (_this.state.isFocusVisible !== false) {
42
+ _this.setState({ isFocusVisible: false });
43
+ }
44
+ };
45
+ _this.onEscape = function () {
46
+ if (!_this.props.closeable) {
47
+ return;
48
+ }
49
+ _this.triggerClose(CLOSE_SOURCE.escape);
50
+ };
51
+ _this.onDocumentClick = function (e) {
52
+ if (e.target && e.target instanceof HTMLElement && e.target.contains(_this.dialogContainerRef.current)) {
53
+ _this.onBackdropClick();
54
+ }
55
+ };
56
+ _this.onBackdropClick = function () {
57
+ if (!_this.props.closeable) {
58
+ return;
59
+ }
60
+ _this.triggerClose(CLOSE_SOURCE.backdrop);
61
+ };
62
+ _this.onCloseClick = function () {
63
+ _this.triggerClose(CLOSE_SOURCE.closeButton);
64
+ };
65
+ _this.animateOutComplete = function () {
66
+ _this.setState({
67
+ isVisible: false,
68
+ });
69
+ };
70
+ return _this;
71
+ }
72
+ Modal.prototype.componentDidMount = function () {
73
+ this.setState({ mounted: true });
74
+ this.prevMounted = this.mounted;
75
+ this.mounted = true;
76
+ if (process.env.NODE_ENV !== 'production') {
77
+ // @ts-expect-error checking for property with incorrect name
78
+ if (this.props.closable) {
79
+ console.warn('The property `closable` is not supported on the Modal. Did you mean `closeable`?');
80
+ }
81
+ }
82
+ };
83
+ Modal.prototype.componentWillUnmount = function () {
84
+ this.resetMountNodeScroll();
85
+ this.clearTimers();
86
+ this.prevMounted = this.mounted;
87
+ this.mounted = false;
88
+ };
89
+ Modal.prototype.componentDidUpdate = function (prevProps, prevState) {
90
+ var isOpen = this.props.isOpen;
91
+ if (
92
+ // If isOpen is changing *or* we just mounted and modal should be open
93
+ isOpen !== prevProps.isOpen ||
94
+ (isOpen && this.mounted && !this.prevMounted)) {
95
+ if (isOpen) {
96
+ this.didOpen();
97
+ }
98
+ else {
99
+ this.didClose();
100
+ }
101
+ }
102
+ this.prevMounted = this.mounted;
103
+ };
104
+ Modal.prototype.disableMountNodeScroll = function () {
105
+ var mountNode = this.getMountNode();
106
+ this.lastMountNodeOverflowStyle = mountNode.style.overflow || '';
107
+ mountNode.style.overflow = 'hidden';
108
+ };
109
+ Modal.prototype.resetMountNodeScroll = function () {
110
+ var mountNode = this.getMountNode();
111
+ var lastStyle = this.lastMountNodeOverflowStyle;
112
+ if (mountNode && lastStyle !== null) {
113
+ // If overflow is not 'hidden', something else has changed the
114
+ // overflow style and we shouldn't try to reset it.
115
+ if (mountNode.style.overflow === 'hidden') {
116
+ mountNode.style.overflow = lastStyle || '';
117
+ }
118
+ this.lastMountNodeOverflowStyle = null;
119
+ }
120
+ };
121
+ Modal.prototype.clearTimers = function () {
122
+ if (this.animateOutTimer) {
123
+ clearTimeout(this.animateOutTimer);
124
+ }
125
+ if (this.animateStartTimer) {
126
+ cancelAnimationFrame(this.animateStartTimer);
127
+ }
128
+ };
129
+ Modal.prototype.didOpen = function () {
130
+ var _this = this;
131
+ // Sometimes scroll starts past zero, possibly due to animation
132
+ // Reset scroll to 0 (other libraries do this as well)
133
+ var rootRef = this.rootRef.current;
134
+ if (rootRef) {
135
+ rootRef.scrollTop = 0;
136
+ }
137
+ // Clear any existing timers (like previous animateOutTimer)
138
+ this.clearTimers();
139
+ this.disableMountNodeScroll();
140
+ if (this.props.animate) {
141
+ this.animateStartTimer = requestAnimationFrame(function () {
142
+ _this.setState({ isVisible: true });
143
+ });
144
+ }
145
+ else {
146
+ this.setState({ isVisible: true });
147
+ }
148
+ };
149
+ Modal.prototype.didClose = function () {
150
+ this.resetMountNodeScroll();
151
+ this.animateOutTimer = setTimeout(this.animateOutComplete, 500);
152
+ };
153
+ Modal.prototype.triggerClose = function (source) {
154
+ // If there's no source, it just means the isOpen prop changed. No need to call onClose.
155
+ if (this.props.onClose && source) {
156
+ this.props.onClose({
157
+ closeSource: source,
158
+ });
159
+ }
160
+ };
161
+ Modal.prototype.getSharedProps = function () {
162
+ var _a = this.props, animate = _a.animate, isOpen = _a.isOpen, size = _a.size, role = _a.role, closeable = _a.closeable;
163
+ return {
164
+ // @ts-ignore
165
+ $animate: animate,
166
+ $isVisible: this.state.isVisible,
167
+ $isOpen: !!isOpen,
168
+ // @ts-ignore
169
+ $size: size,
170
+ // @ts-ignore
171
+ $role: role,
172
+ $closeable: !!closeable,
173
+ $isFocusVisible: this.state.isFocusVisible,
174
+ };
175
+ };
176
+ Modal.prototype.getMountNode = function () {
177
+ var mountNode = this.props.mountNode;
178
+ if (mountNode) {
179
+ return mountNode;
180
+ }
181
+ // Flow thinks body could be null (cast through any)
182
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
183
+ return document.body;
184
+ };
185
+ Modal.prototype.getChildren = function () {
186
+ var children = this.props.children;
187
+ return typeof children === 'function' ? children() : children;
188
+ };
189
+ Modal.prototype.renderModal = function (renderedContent) {
190
+ var _this = this;
191
+ var _a = this.props, _b = _a.overrides, overrides = _b === void 0 ? {} : _b, closeable = _a.closeable, role = _a.role, autoFocus = _a.autoFocus, focusLock = _a.focusLock, returnFocus = _a.returnFocus;
192
+ var RootOverride = overrides.Root, DialogOverride = overrides.Dialog, DialogContainerOverride = overrides.DialogContainer, CloseOverride = overrides.Close;
193
+ var _c = __read(getOverrides(RootOverride, StyledRoot), 2), Root = _c[0], rootProps = _c[1];
194
+ var _d = __read(getOverrides(DialogContainerOverride, StyledDialogContainer), 2), DialogContainer = _d[0], dialogContainerProps = _d[1];
195
+ var _e = __read(getOverrides(DialogOverride, StyledDialog), 2), Dialog = _e[0], dialogProps = _e[1];
196
+ var _f = __read(getOverrides(CloseOverride, StyledClose), 2), Close = _f[0], closeProps = _f[1];
197
+ var sharedProps = this.getSharedProps();
198
+ return (_jsx(LocaleContext.Consumer, { children: function (locale) { return (_jsx(FocusLock, __assign({ disabled: !focusLock,
199
+ // Allow focus to escape when UI is within an iframe
200
+ crossFrame: false, returnFocus: returnFocus, autoFocus: autoFocus }, { children: _jsx(Root, __assign({ "data-baseweb": "modal",
201
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
202
+ ref: _this.rootRef }, sharedProps, rootProps, { children: _jsx(DialogContainer, __assign({ "data-testid": "spaceweb-modal-dialog-container",
203
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
204
+ ref: _this.dialogContainerRef }, sharedProps, dialogContainerProps, { children: _jsxs(Dialog, __assign({ tabIndex: -1, "aria-modal": true, "aria-label": "dialog", role: role }, sharedProps, dialogProps, { children: [renderedContent, closeable ? (_jsx(Close, __assign({ "aria-label": locale.modal.close, onClick: _this.onCloseClick }, sharedProps, closeProps, { onFocus: forkFocus(closeProps, _this.handleFocus), onBlur: forkBlur(closeProps, _this.handleBlur) }, { children: _jsx(CloseIcon, {}, void 0) }), void 0)) : null] }), void 0) }), void 0) }), void 0) }), void 0)); } }, void 0));
205
+ };
206
+ Modal.prototype.render = function () {
207
+ // Only render an open and non-renderAll modal on the browser (portals aren't supported server-side)
208
+ var mountedAndOpen = this.mounted && (this.props.isOpen || this.state.isVisible);
209
+ var renderedContent = mountedAndOpen || this.props.renderAll ? this.getChildren() : null;
210
+ if (renderedContent) {
211
+ if (mountedAndOpen) {
212
+ return (_jsx(Layer, __assign({ onEscape: this.onEscape, onDocumentClick: this.onDocumentClick, mountNode: this.props.mountNode }, { children: this.renderModal(renderedContent) }), void 0));
213
+ }
214
+ else {
215
+ return _jsx(Hidden, { children: renderedContent }, void 0);
216
+ }
217
+ }
218
+ else {
219
+ return null;
220
+ }
221
+ };
222
+ Modal.defaultProps = {
223
+ animate: true,
224
+ autoFocus: true,
225
+ focusLock: true,
226
+ returnFocus: true,
227
+ closeable: true,
228
+ name: 'dialog',
229
+ isOpen: false,
230
+ overrides: {},
231
+ role: ROLE.dialog,
232
+ size: SIZE.default,
233
+ renderAll: false,
234
+ };
235
+ return Modal;
236
+ }(React.Component));
237
+ export default Modal;
@@ -0,0 +1,5 @@
1
+ export declare const Root: import("../../style/styled").StyledComponent;
2
+ export declare const DialogContainer: import("../../style/styled").StyledComponent;
3
+ export declare const Dialog: import("../../style/styled").StyledComponent;
4
+ export declare const Close: import("../../style/styled").StyledComponent;
5
+ export declare const Hidden: import("../../style/styled").StyledComponent;
@@ -0,0 +1,72 @@
1
+ import { __assign } from "tslib";
2
+ /*
3
+ Copyright (c) Uber Technologies, Inc.
4
+
5
+ This source code is licensed under the MIT license found in the
6
+ LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { styled } from '../../style';
9
+ import { SIZE, SIZE_WIDTHS } from './constants';
10
+ function getSizeStyles($size) {
11
+ var styles = {
12
+ maxWidth: '100%',
13
+ // @ts-ignore
14
+ width: null,
15
+ };
16
+ if (typeof $size === 'number') {
17
+ styles.width = "".concat($size, "px");
18
+ // @ts-ignore
19
+ }
20
+ else if (SIZE[$size]) {
21
+ // @ts-ignore
22
+ styles.width = SIZE_WIDTHS[$size];
23
+ }
24
+ else if (typeof $size === 'string') {
25
+ styles.width = $size;
26
+ }
27
+ if ($size === SIZE.full) {
28
+ styles.alignSelf = 'stretch';
29
+ }
30
+ return styles;
31
+ }
32
+ export var Root = styled('div', function (_, props) {
33
+ var $isOpen = props.$isOpen;
34
+ return {
35
+ position: 'fixed',
36
+ overflow: 'auto',
37
+ right: 0,
38
+ bottom: 0,
39
+ top: 0,
40
+ left: 0,
41
+ pointerEvents: $isOpen ? 'auto' : 'none',
42
+ };
43
+ });
44
+ Root.displayName = 'Root';
45
+ export var DialogContainer = styled('div', 'flex justify-center items-center w-full min-h-full select-none pointer-events-auto', function (_, $animate) { return ($animate ? 'transition-opacity ease-out' : ''); }, function (_, props) {
46
+ var $isOpen = props.$isOpen, $isVisible = props.$isVisible;
47
+ return {
48
+ // Remove grey highlight
49
+ WebkitTapHighlightColor: 'transparent',
50
+ opacity: $isVisible && $isOpen ? 1 : 0,
51
+ };
52
+ });
53
+ DialogContainer.displayName = 'DialogContainer';
54
+ export var Dialog = styled('div', 'spr-popup rounded-16 m-4 relative select-text', function (_, $animate) { return ($animate ? 'transition-opacity ease-out' : ''); }, function (_, props) {
55
+ var $isOpen = props.$isOpen, $isVisible = props.$isVisible, $size = props.$size;
56
+ return __assign(__assign({}, getSizeStyles($size)), {
57
+ // Animation
58
+ opacity: $isVisible && $isOpen ? 1 : 0,
59
+ // Reset interactivity properties set by container
60
+ pointerEvents: $isOpen ? 'all' : 'none',
61
+ // We move focus to the modal, but we don't want the blue outline style
62
+ ':focus': {
63
+ outline: 'none',
64
+ } });
65
+ });
66
+ Dialog.displayName = 'Dialog';
67
+ export var Close = styled('button');
68
+ Close.displayName = 'Close';
69
+ export var Hidden = styled('div', {
70
+ display: 'none',
71
+ });
72
+ Hidden.displayName = 'Hidden';
@@ -0,0 +1,74 @@
1
+ import type * as React from 'react';
2
+ import type { Override } from '../helpers/overrides';
3
+ import type { SIZE, ROLE, CLOSE_SOURCE } from './constants';
4
+ export declare type Size = keyof typeof SIZE;
5
+ export declare type SizeProp = Size | number | string;
6
+ export declare type Role = keyof typeof ROLE;
7
+ export declare type RoleProp = Role | string;
8
+ export declare type CloseSource = keyof typeof CLOSE_SOURCE;
9
+ export declare type ModalOverrides = {
10
+ Root?: Override;
11
+ Dialog?: Override;
12
+ DialogContainer?: Override;
13
+ Close?: Override;
14
+ };
15
+ export declare type ModalProps = {
16
+ /** Sets whether the Modal should be displayed by easing in and out */
17
+ animate?: boolean;
18
+ /** If true, focus will shift to the first interactive element within the modal.
19
+ * If false, the modal container itself will receive focus.
20
+ * Moving focus into a newly opened modal is important for accessibility purposes, so please be careful!
21
+ */
22
+ autoFocus?: boolean;
23
+ /** If true, focus will be locked to elements within the modal.
24
+ */
25
+ focusLock?: boolean;
26
+ name?: string;
27
+ /**
28
+ * if true, will return focus to the previous position on trap disable.
29
+ * Optionally, can pass focus options instead of `true` to control the focus
30
+ * more precisely (ie. `{ preventScroll: true }`)
31
+ */
32
+ returnFocus?: boolean | FocusOptions | ((returnTo: Element) => boolean | FocusOptions);
33
+ /** Modal content. The children-as-function API may be preferable
34
+ * for performance reasons (wont render until opened) */
35
+ children?: React.ReactNode | (() => React.ReactNode);
36
+ /** Whether the modal should be closeable by the user
37
+ * (either via escape, dialog container click, etc). You can set this to
38
+ * false if your modal has an action that the user must take before closing.*/
39
+ closeable?: boolean;
40
+ isOpen?: boolean;
41
+ /** Where to mount the modal */
42
+ mountNode?: HTMLElement;
43
+ /** A callback that is invoked when the modal will close.
44
+ * Callback is passed a constant identifying what triggered the close. */
45
+ onClose?: (a: {
46
+ closeSource?: CloseSource;
47
+ }) => unknown;
48
+ overrides?: ModalOverrides;
49
+ /** Which accessibility role this modal should have. */
50
+ role?: RoleProp;
51
+ /** Controls the size of the modal (primarily width).
52
+ * Can be a SIZE constant or css width property value. */
53
+ size?: SizeProp;
54
+ /**
55
+ * Allows users to render all child content whether a modal is open or not
56
+ * for SEO purposes
57
+ */
58
+ renderAll?: boolean;
59
+ };
60
+ export declare type ModalPropsWithoutChildren = Omit<ModalProps, 'children'>;
61
+ export declare type ModalState = {
62
+ isVisible: boolean;
63
+ mounted: boolean;
64
+ isFocusVisible: boolean;
65
+ };
66
+ export declare type SharedStylePropsArg = {
67
+ $animate: boolean;
68
+ $isVisible: boolean;
69
+ $isOpen: boolean;
70
+ $size: SizeProp;
71
+ $role: RoleProp;
72
+ $closeable: boolean;
73
+ $isFocusVisible: boolean;
74
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ export declare const CUSTOM_CARDS_CONFIGURATION: {
2
+ niceType: string;
3
+ type: string;
4
+ patterns: number[][];
5
+ gaps: number[];
6
+ lengths: number[];
7
+ code: {
8
+ name: string;
9
+ size: number;
10
+ };
11
+ }[];
@@ -0,0 +1,21 @@
1
+ /*
2
+ Copyright (c) Uber Technologies, Inc.
3
+
4
+ This source code is licensed under the MIT license found in the
5
+ LICENSE file in the root directory of this source tree.
6
+ */
7
+ /*
8
+ This file should be used for adding new card type configuration
9
+ */
10
+ var UATP_CARD_TYPE_CONFIG = {
11
+ niceType: 'Uatp',
12
+ type: 'uatp',
13
+ patterns: [[1001, 1999]],
14
+ gaps: [4, 9],
15
+ lengths: [15],
16
+ code: {
17
+ name: 'CVV',
18
+ size: 0,
19
+ },
20
+ };
21
+ export var CUSTOM_CARDS_CONFIGURATION = [UATP_CARD_TYPE_CONFIG];
@@ -0,0 +1,4 @@
1
+ declare const Amex: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Amex;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var Amex = function (_a) {
4
+ 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" }, void 0), _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" }, void 0), _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" }, void 0), _jsx("path", { d: "M14.2018 9.55227L13.5302 7.97937L12.8586 9.55227H14.2018Z", fill: "#fff" }, void 0), _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" }, void 0), _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" }, void 0)] }), void 0), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0" }, { children: _jsx("rect", { width: "14", height: "14", fill: "#fff", transform: "translate(9 5)" }, void 0) }), void 0) }, void 0)] }), void 0));
6
+ };
7
+ export default Amex;
@@ -0,0 +1,4 @@
1
+ declare const DinersClub: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default DinersClub;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var DinersClub = function (_a) {
4
+ 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" }, void 0), _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" }, void 0), _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" }, void 0)] }), void 0));
6
+ };
7
+ export default DinersClub;
@@ -0,0 +1,4 @@
1
+ declare const Discover: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Discover;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var Discover = function (_a) {
4
+ 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" }, void 0), _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" }, void 0), _jsx("path", { d: "M6.13006 10.0701H5.56006V12.9201H6.13006V10.0701Z", fill: "#000" }, void 0), _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" }, void 0), _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" }, void 0), _jsx("path", { d: "M13.75 10.0701H14.37L15.15 11.9401L15.89 10.0701H16.51L15.31 12.9901H14.95L13.75 10.0701Z", fill: "#000" }, void 0), _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" }, void 0), _jsx("path", { d: "M18.25 11.1901V11.7001H17.28V12.4201H18.3V12.9201H16.72V10.0701H18.3V10.5701H17.28V11.1901H18.25Z", fill: "#000" }, void 0), _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" }, void 0), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23 14.28V20H8C11.9 19.1 17.56 17.86 23 14.28Z", fill: "#F58221" }, void 0)] }), void 0));
6
+ };
7
+ export default Discover;
@@ -0,0 +1,4 @@
1
+ declare const Elo: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Elo;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var Elo = function (_a) {
4
+ 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" }, void 0), _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" }, void 0), _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" }, void 0), _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" }, void 0), _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" }, void 0), _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" }, void 0), _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" }, void 0), _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" }, void 0), _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" }, void 0), _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" }, void 0)] }), void 0));
6
+ };
7
+ export default Elo;
@@ -0,0 +1,4 @@
1
+ declare const Generic: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Generic;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var Generic = function (_a) {
4
+ 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" }, void 0), _jsx("path", { d: "M6 15H3V16H6V15Z", fill: "#fff" }, void 0), _jsx("path", { d: "M11 15H8V16H11V15Z", fill: "#fff" }, void 0), _jsx("path", { d: "M16 15H13V16H16V15Z", fill: "#fff" }, void 0), _jsx("path", { d: "M21 15H18V16H21V15Z", fill: "#fff" }, void 0), _jsx("path", { d: "M21 6H16V10H21V6Z", fill: "#ABABB3" }, void 0)] }), void 0));
6
+ };
7
+ export default Generic;
@@ -0,0 +1,4 @@
1
+ declare const Jcb: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Jcb;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var Jcb = function (_a) {
4
+ 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" }, void 0), _jsx("path", { d: "M8 4V16C8 18.21 6.21 20 4 20H1V8C1 5.79 2.79 4 5 4H8Z", fill: "#1061A7" }, void 0), _jsx("path", { d: "M23 4V16C23 18.21 21.21 20 19 20H16V8C16 5.79 17.79 4 20 4H23Z", fill: "#43A946" }, void 0), _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" }, void 0), _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" }, void 0), _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" }, void 0)] }), void 0));
6
+ };
7
+ export default Jcb;
@@ -0,0 +1,4 @@
1
+ declare const Maestro: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Maestro;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var Maestro = function (_a) {
4
+ 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" }, void 0), _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" }, void 0), _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" }, void 0)] }), void 0));
6
+ };
7
+ export default Maestro;
@@ -0,0 +1,4 @@
1
+ declare const Mastercard: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Mastercard;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var Mastercard = function (_a) {
4
+ 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: "#3F3F4E" }, void 0), _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: "#EB001A" }, void 0), _jsx("path", { d: "M15 17C17.7614 17 20 14.7614 20 12C20 9.23858 17.7614 7 15 7C12.2386 7 10 9.23858 10 12C10 14.7614 12.2386 17 15 17Z", fill: "#F79E1C" }, void 0), _jsx("path", { d: "M12 15.98C13.1046 15.98 14 14.1981 14 12C14 9.80191 13.1046 8.02002 12 8.02002C10.8954 8.02002 10 9.80191 10 12C10 14.1981 10.8954 15.98 12 15.98Z", fill: "#FF5F00" }, void 0)] }), void 0));
6
+ };
7
+ export default Mastercard;
@@ -0,0 +1,4 @@
1
+ declare const UatpIcon: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default UatpIcon;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var UatpIcon = function (_a) {
4
+ 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: "#F0F0F0" }, void 0), _jsxs("g", __assign({ clipPath: "url(#clip0_90345_28085)" }, { children: [_jsx("path", { d: "M10.5057 9.64723H10.1817H9.70679V10.9659L10.3044 12.6255L11.4708 12.133L10.5057 9.64723Z", fill: "#0A2C1B" }, void 0), _jsx("path", { d: "M6.34592 14.6471L6.34001 9.64723H5.07682V13.7451C4.94173 13.7928 4.80176 13.8253 4.65948 13.8421C4.38337 13.8743 3.9371 13.9265 3.60459 13.6339C3.27002 13.3394 3.26507 12.8846 3.26655 12.7802V9.64723H2.00336V12.7802C1.96122 13.7182 2.32658 14.1754 2.45948 14.3209C3.17638 15.1058 4.54287 14.9387 5.39513 14.8345C5.71171 14.7958 6.02491 14.7331 6.33204 14.6471L6.32786 14.6427L6.34592 14.6471Z", fill: "#0A2C1B" }, void 0), _jsx("path", { d: "M21.999 11.453C21.9951 11.2269 21.9447 10.4929 21.3738 10.0162C21.1483 9.82795 20.9283 9.75218 20.7469 9.6897C20.5867 9.63455 20.2633 9.54148 19.3754 9.58086C18.9585 9.59952 18.5429 9.64148 18.1306 9.70653V14.8388H19.3938V13.3179C19.4958 13.3263 19.6189 13.3331 19.7586 13.3337C19.9448 13.3351 20.1309 13.325 20.3158 13.3033C20.4802 13.2817 21.266 13.1786 21.709 12.5414C22.0104 12.1079 22.0024 11.6443 21.999 11.453ZM20.5118 11.9928C20.3546 12.1594 20.1557 12.1903 19.9414 12.2236C19.7608 12.2514 19.5768 12.2484 19.3972 12.2148V10.7433C19.4924 10.7303 19.5885 10.7245 19.6845 10.7259C19.9706 10.73 20.2799 10.7344 20.4943 10.9523C20.6881 11.1491 20.6983 11.4123 20.699 11.4747C20.6996 11.5392 20.6985 11.7948 20.5118 11.9928Z", fill: "#0A2C1B" }, void 0), _jsx("path", { d: "M10.4995 13.1673L11.1015 14.8388H12.5212L11.6926 12.7045C11.3054 12.8761 10.9077 13.0304 10.4995 13.1673Z", fill: "#0A2C1B" }, void 0), _jsx("path", { d: "M6.60772 13.6849C6.59882 13.6856 6.59 13.6828 6.58303 13.6773C6.57607 13.6717 6.57148 13.6637 6.57019 13.6548C6.56891 13.646 6.57102 13.637 6.5761 13.6297C6.58119 13.6223 6.58887 13.6172 6.59759 13.6153C7.44534 13.4378 8.27682 13.1899 9.08338 12.8742C12.0436 11.7142 12.5355 10.4597 14.7222 9.60822C17.2224 8.63467 19.7225 9.06335 20.7271 9.30762C20.7338 9.30921 20.7396 9.31329 20.7433 9.31903C20.7471 9.32476 20.7485 9.3317 20.7473 9.33844C20.746 9.34518 20.7423 9.35119 20.7368 9.35525C20.7313 9.35931 20.7244 9.3611 20.7176 9.36026C19.7189 9.24529 18.7085 9.28396 17.7216 9.47491C15.1767 9.96677 14.237 11.2345 11.9094 12.341C10.7268 12.9032 8.98995 13.517 6.60772 13.6849Z", fill: "#3EB54A" }, void 0), _jsx("path", { d: "M16.9918 9.64723H12.6013V10.7793H14.1649V14.8388H15.4281V10.7793H16.9918V9.64723Z", fill: "#0A2C1B" }, void 0), _jsx("path", { d: "M9.23192 9.64723H8.95198L6.93652 14.8388H8.31211L9.70682 10.9659V9.64723H9.23192Z", fill: "#0A2C1B" }, void 0)] }), void 0), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_90345_28085" }, { children: _jsx("rect", { width: "20", height: "5.92493", fill: "white", transform: "translate(2 9)" }, void 0) }), void 0) }, void 0)] }), void 0));
6
+ };
7
+ export default UatpIcon;
@@ -0,0 +1,4 @@
1
+ declare const UnionPay: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default UnionPay;
@@ -0,0 +1,7 @@
1
+ import { __assign } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ var UnionPay = function (_a) {
4
+ 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: "M1 4V20H9.5L13.12 4H1Z", fill: "#D0112B" }, void 0), _jsx("path", { d: "M9.85999 4L6.23999 20H16.5L20.12 4H9.85999Z", fill: "#002857" }, void 0), _jsx("path", { d: "M22.9999 4H17.7599L14.1399 20H22.9999V4Z", fill: "#007178" }, void 0), _jsx("path", { d: "M18.0499 12.52C17.9699 12.52 17.9299 12.5 17.9299 12.45L17.9199 12.1899H17.2199C16.9999 12.1899 16.3199 12.21 16.1799 12.25C16.0099 12.29 15.8399 12.42 15.8399 12.42L15.9099 12.1899H15.2499L15.1099 12.65L14.4199 14.92H14.2999L14.1699 15.35H15.4799L15.4399 15.49H16.0799L16.1199 15.35H16.2999L16.4399 14.89H16.2599L16.9399 12.65H17.1599L17.2299 12.42L17.2399 12.6801C17.2299 12.8401 17.3599 12.98 17.6799 12.96H18.0599L18.1899 12.53H18.0499V12.52ZM15.6199 14.9H15.0999L15.2499 14.4H15.7699L15.6199 14.9ZM15.9199 13.9301C15.9199 13.9301 15.7599 13.95 15.6499 13.97C15.5399 14 15.3399 14.1 15.3399 14.1L15.5199 13.5H16.0399L15.9199 13.9301ZM16.1699 13.0699C16.1699 13.0699 16.0099 13.08 15.8999 13.11C15.7899 13.14 15.5999 13.23 15.5999 13.23L15.7699 12.66H16.2899L16.1699 13.0699Z", fill: "white" }, void 0), _jsx("path", { d: "M17.32 14.24H16.65L16.76 13.86H17.52L17.63 13.51H16.88L17.01 13.08H19.11L18.98 13.51H18.28L18.17 13.86H18.88L18.76 14.24H18L17.86 14.4H18.17L18.25 14.88C18.26 14.93 18.26 14.96 18.27 14.98C18.29 15 18.38 15.01 18.43 15.01H18.52L18.38 15.48H18.14C18.1 15.48 18.05 15.48 17.97 15.47C17.9 15.46 17.85 15.42 17.8 15.4C17.76 15.38 17.69 15.33 17.68 15.24L17.61 14.76L17.26 15.23C17.15 15.38 17 15.5 16.75 15.5H16.27L16.4 15.08H16.59C16.64 15.08 16.69 15.06 16.73 15.04C16.77 15.03 16.8 15.01 16.83 14.95L17.32 14.24Z", fill: "white" }, void 0), _jsx("path", { d: "M10.0001 13.1899H11.7701L11.6401 13.61H10.9301L10.8201 13.97H11.5401L11.4101 14.41H10.6901L10.5101 15C10.4901 15.06 10.6801 15.0699 10.7501 15.0699L11.1101 15.02L10.9601 15.5H10.1401C10.0701 15.5 10.0301 15.49 9.95011 15.47C9.88011 15.45 9.85011 15.42 9.82011 15.38C9.79011 15.33 9.74011 15.2899 9.78011 15.1899L10.0101 14.42H9.61011L9.74011 13.98H10.1401L10.2501 13.62H9.85011L10.0001 13.1899Z", fill: "white" }, void 0), _jsx("path", { d: "M11.1899 12.4301H11.9199L11.7899 12.87H10.7999L10.6899 12.96C10.6399 13 10.6299 12.99 10.5699 13.02C10.5099 13.05 10.3999 13.1 10.2399 13.1H9.91992L10.0499 12.6801H10.1499C10.2299 12.6801 10.2899 12.67 10.3099 12.66C10.3399 12.64 10.3799 12.59 10.4199 12.52L10.5999 12.1899H11.3199L11.1899 12.4301Z", fill: "white" }, void 0), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5801 13.16C12.5801 13.16 12.7801 12.98 13.1201 12.92C13.2001 12.91 13.6801 12.91 13.6801 12.91L13.7501 12.67H12.7301L12.5801 13.16ZM13.5401 13.34H12.5301L12.4701 13.54H13.3501C13.4501 13.53 13.4701 13.54 13.4801 13.54L13.5401 13.34ZM12.2301 12.2H12.8501L12.7601 12.51C12.7601 12.51 12.9601 12.35 13.0901 12.3C13.2301 12.25 13.5301 12.2 13.5301 12.2L14.5301 12.1899L14.1901 13.33C14.1301 13.52 14.0701 13.65 14.0201 13.71C13.9801 13.77 13.9401 13.82 13.8501 13.87C13.7701 13.92 13.6901 13.94 13.6201 13.95C13.5501 13.95 13.4501 13.96 13.3101 13.96H12.3501L12.0801 14.86C12.0501 14.95 12.0401 14.99 12.0601 15.02C12.0701 15.04 12.1101 15.0601 12.1501 15.0601L12.5801 15.02L12.4301 15.51H11.9601C11.8101 15.51 11.7001 15.51 11.6201 15.5C11.5501 15.49 11.4701 15.5 11.4201 15.46C11.3801 15.42 11.3101 15.3699 11.3101 15.3199C11.3101 15.2699 11.3401 15.19 11.3701 15.08L12.2301 12.2Z", fill: "white" }, void 0), _jsx("path", { d: "M14.0301 14.03L13.9701 14.3C13.9501 14.39 13.9201 14.45 13.8601 14.5C13.7901 14.56 13.7101 14.62 13.5301 14.62L13.1901 14.63V14.9399C13.1901 15.0299 13.2101 15.02 13.2201 15.03C13.2401 15.05 13.2501 15.0501 13.2601 15.0601L13.3701 15.05L13.7001 15.03L13.5601 15.48H13.1801C12.9201 15.48 12.7201 15.47 12.6601 15.42C12.6001 15.38 12.5901 15.33 12.5901 15.24L12.6101 14.04H13.2101L13.2001 14.29H13.3401C13.3901 14.29 13.4201 14.29 13.4401 14.27C13.4601 14.26 13.4701 14.24 13.4801 14.21L13.5401 14.02H14.0301V14.03Z", fill: "white" }, void 0), _jsx("path", { d: "M5.46996 8.01001C5.44996 8.11001 5.05996 9.88001 5.05996 9.89001C4.97996 10.25 4.91996 10.51 4.70996 10.67C4.58996 10.77 4.45996 10.8101 4.29996 10.8101C4.04996 10.8101 3.89996 10.68 3.86996 10.45V10.37L3.94996 9.89001C3.94996 9.89001 4.34996 8.27006 4.42996 8.06006C4.42996 8.05006 4.42996 8.04004 4.43996 8.04004C3.64996 8.05004 3.50996 8.04003 3.49996 8.03003C3.48996 8.05003 3.47996 8.15002 3.47996 8.15002L3.06996 9.96997L3.02996 10.12L2.95996 10.63C2.95996 10.78 2.98996 10.9 3.04996 11.01C3.23996 11.34 3.76996 11.39 4.07996 11.39C4.46996 11.39 4.83996 11.31 5.08996 11.16C5.51996 10.91 5.62996 10.51 5.72996 10.16L5.77996 9.97998C5.77996 9.97998 6.19996 8.29996 6.26996 8.07996C6.26996 8.06996 6.26996 8.06006 6.27996 8.06006C5.68996 8.03006 5.51996 8.02001 5.46996 8.01001Z", fill: "white" }, void 0), _jsx("path", { d: "M7.76994 11.35C7.48994 11.35 7.38994 11.35 7.06994 11.36L7.05994 11.34C7.08994 11.22 7.11994 11.09 7.14994 10.97L7.18994 10.8C7.24994 10.54 7.30994 10.23 7.31994 10.14C7.32994 10.08 7.34994 9.93994 7.17994 9.93994C7.10994 9.93994 7.03994 9.97001 6.96994 10.01C6.92994 10.15 6.84994 10.55 6.80994 10.72C6.72994 11.1 6.71994 11.14 6.68994 11.33L6.66994 11.36C6.37994 11.36 6.27994 11.36 5.94994 11.37L5.93994 11.34C5.98994 11.12 6.04994 10.89 6.09994 10.66C6.23994 10.05 6.26994 9.82001 6.30994 9.51001L6.33994 9.48999C6.65994 9.43999 6.73994 9.43999 7.08994 9.35999L7.11994 9.39001L7.06994 9.57996C7.12994 9.53996 7.18994 9.50998 7.24994 9.47998C7.40994 9.39998 7.59994 9.37 7.69994 9.37C7.84994 9.37 8.01994 9.40997 8.08994 9.58997C8.15994 9.74997 8.10994 9.93995 8.02994 10.3199L7.98994 10.52C7.89994 10.95 7.88994 11.0199 7.83994 11.3199L7.76994 11.35Z", fill: "white" }, void 0), _jsx("path", { d: "M8.9099 11.35C8.7399 11.35 8.6299 11.35 8.5299 11.35C8.4199 11.35 8.3199 11.36 8.1699 11.36L8.1599 11.35L8.1499 11.34C8.1899 11.18 8.2199 11.1199 8.2399 11.0699C8.2599 11.0099 8.2799 10.96 8.3199 10.79C8.3699 10.58 8.3999 10.43 8.4199 10.3C8.4399 10.17 8.4599 10.0699 8.4699 9.93994L8.4799 9.93005L8.4899 9.92004C8.6599 9.90004 8.7599 9.87999 8.8699 9.85999C8.9799 9.84999 9.0899 9.82004 9.2599 9.79004L9.2699 9.80005V9.81995C9.2399 9.94995 9.2099 10.08 9.1699 10.22C9.1399 10.35 9.1099 10.49 9.0799 10.62C9.0199 10.9 8.9899 11.01 8.9799 11.08C8.9699 11.15 8.9599 11.19 8.9399 11.34L8.9199 11.35H8.9099Z", fill: "white" }, void 0), _jsx("path", { d: "M10.68 10.35C10.67 10.42 10.6 10.6901 10.52 10.8101C10.46 10.8901 10.39 10.95 10.31 10.95C10.29 10.95 10.15 10.95 10.15 10.74C10.15 10.64 10.17 10.54 10.19 10.42C10.26 10.1 10.35 9.81995 10.57 9.81995C10.75 9.82995 10.76 10.03 10.68 10.35ZM11.41 10.38C11.51 9.95 11.43 9.75 11.34 9.63C11.19 9.44 10.94 9.38 10.67 9.38C10.51 9.38 10.13 9.40004 9.82995 9.67004C9.61995 9.87004 9.51995 10.14 9.45995 10.39C9.39995 10.65 9.32995 11.13 9.76995 11.3C9.89995 11.36 10.1 11.37 10.22 11.37C10.54 11.37 10.86 11.28 11.11 11.02C11.3 10.83 11.38 10.51 11.41 10.38Z", fill: "white" }, void 0), _jsx("path", { d: "M18.6699 9.41003C18.3199 9.47003 18.2299 9.49004 17.8899 9.54004L17.8599 9.56006C17.8599 9.59006 17.8499 9.62001 17.8499 9.64001C17.7999 9.55001 17.7199 9.47994 17.6099 9.43994C17.4599 9.37994 17.1099 9.45998 16.8099 9.72998C16.5999 9.92998 16.4999 10.19 16.4399 10.45C16.3799 10.71 16.3099 11.18 16.7399 11.35C16.8799 11.41 16.9999 11.43 17.1299 11.42C17.2599 11.41 17.3899 11.34 17.4999 11.25C17.4899 11.29 17.4799 11.33 17.4699 11.37L17.4899 11.4C17.7999 11.39 17.8999 11.39 18.2299 11.39L18.2599 11.37C18.3099 11.08 18.3599 10.8 18.4799 10.25C18.5399 9.98 18.5999 9.71996 18.6699 9.45996V9.41003ZM17.5599 10.85C17.4999 10.93 17.3699 10.98 17.2899 10.98C17.2699 10.98 17.1299 10.98 17.1299 10.78C17.1299 10.68 17.1499 10.58 17.1799 10.46C17.2499 10.14 17.3399 9.87 17.5599 9.87C17.6999 9.87 17.7699 10.01 17.7499 10.24C17.7399 10.29 17.7299 10.34 17.7199 10.4C17.6999 10.5 17.6699 10.5899 17.6499 10.6899C17.6199 10.7499 17.5899 10.81 17.5599 10.85Z", fill: "white" }, void 0), _jsx("path", { d: "M13.32 11.35C13.04 11.35 12.94 11.35 12.62 11.36L12.61 11.34C12.64 11.22 12.67 11.09 12.7 10.97L12.74 10.8C12.8 10.54 12.86 10.23 12.87 10.14C12.88 10.08 12.9 9.93994 12.74 9.93994C12.67 9.93994 12.6 9.97001 12.53 10.01C12.49 10.15 12.41 10.55 12.37 10.72C12.29 11.1 12.29 11.14 12.25 11.33L12.23 11.36C11.94 11.36 11.84 11.36 11.51 11.37L11.5 11.34C11.55 11.12 11.61 10.89 11.66 10.66C11.8 10.05 11.83 9.82001 11.87 9.51001L11.89 9.48999C12.21 9.43999 12.29 9.43999 12.64 9.35999L12.67 9.39001L12.62 9.57996C12.68 9.53996 12.74 9.50998 12.79 9.47998C12.95 9.39998 13.14 9.37 13.24 9.37C13.39 9.37 13.56 9.40997 13.63 9.58997C13.69 9.74997 13.65 9.93995 13.56 10.3199L13.52 10.52C13.43 10.95 13.41 11.0199 13.37 11.3199L13.32 11.35Z", fill: "white" }, void 0), _jsx("path", { d: "M15.74 8H15.51C14.91 8.01 14.66 8.00999 14.57 7.98999C14.56 8.02999 14.55 8.10999 14.55 8.10999L14.33 9.10999C14.33 9.10999 13.81 11.24 13.79 11.34C14.32 11.33 14.53 11.33 14.62 11.34C14.64 11.24 14.76 10.64 14.76 10.64C14.76 10.64 14.86 10.1999 14.87 10.1899C14.87 10.1899 14.9 10.14 14.94 10.13H14.99C15.44 10.13 15.96 10.13 16.36 9.82996C16.63 9.62996 16.82 9.32996 16.9 8.95996C16.92 8.86996 16.94 8.76003 16.94 8.66003C16.94 8.52003 16.91 8.38002 16.83 8.27002C16.62 8.01002 16.21 8.01 15.74 8ZM16.04 9.05005C15.99 9.27005 15.85 9.46005 15.66 9.55005C15.51 9.63005 15.32 9.63 15.13 9.63H15L15.01 9.57996L15.24 8.57996L15.25 8.53003V8.48999L15.34 8.5C15.34 8.5 15.81 8.54004 15.82 8.54004C16.01 8.62004 16.09 8.80005 16.04 9.05005Z", fill: "white" }, void 0), _jsx("path", { d: "M9.20998 9.62995C9.38998 9.49995 9.41998 9.31992 9.25998 9.22992C9.09998 9.13992 8.82998 9.16998 8.63998 9.28998C8.44998 9.41998 8.42998 9.58988 8.58998 9.68988C8.74998 9.78988 9.02998 9.75995 9.20998 9.62995Z", fill: "white" }, void 0), _jsx("path", { d: "M20.99 9.40002L20.9599 9.37C20.6199 9.44 20.55 9.44999 20.24 9.48999L20.2199 9.51001V9.52002V9.51001C19.9799 10.05 19.9899 9.93999 19.7999 10.36C19.7999 10.34 19.7999 10.3301 19.7999 10.3101L19.75 9.38L19.7199 9.34998C19.3599 9.41998 19.35 9.42997 19.02 9.46997L18.99 9.48999C18.99 9.49999 18.9899 9.51003 18.9799 9.53003C19.0199 9.74003 19.0099 9.70003 19.0499 10.03C19.0699 10.19 19.1 10.36 19.12 10.52C19.15 10.79 19.1699 10.93 19.2099 11.34C18.9899 11.71 18.9299 11.8501 18.7199 12.1801L18.57 12.42C18.55 12.45 18.54 12.46 18.51 12.47C18.49 12.48 18.45 12.48 18.41 12.48H18.33L18.2 12.9L18.6299 12.91C18.8799 12.91 19.0399 12.79 19.1299 12.63L19.4 12.17L19.43 12.14C19.6 11.78 20.99 9.40002 20.99 9.40002Z", fill: "white" }, void 0)] }), void 0));
6
+ };
7
+ export default UnionPay;
@@ -0,0 +1,4 @@
1
+ declare const Visa: ({ size }: {
2
+ size: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Visa;