baseui 12.0.0 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (630) hide show
  1. package/accordion/accordion.js +4 -2
  2. package/accordion/accordion.js.flow +1 -1
  3. package/accordion/panel.js +3 -2
  4. package/accordion/stateful-panel-container.js +1 -0
  5. package/accordion/styled-components.js +8 -1
  6. package/accordion/types.d.ts +2 -2
  7. package/app-nav-bar/app-nav-bar.js +4 -2
  8. package/app-nav-bar/mobile-menu.js +2 -1
  9. package/app-nav-bar/styled-components.js +19 -1
  10. package/app-nav-bar/types.d.ts +2 -2
  11. package/app-nav-bar/user-menu.js +1 -1
  12. package/aspect-ratio-box/aspect-ratio-box-body.d.ts +1 -1
  13. package/aspect-ratio-box/aspect-ratio-box.js +3 -1
  14. package/aspect-ratio-box/types.d.ts +1 -1
  15. package/avatar/styled-components.js +4 -1
  16. package/badge/styled-components.js +16 -11
  17. package/badge/styled-components.js.flow +4 -4
  18. package/badge/types.d.ts +2 -2
  19. package/banner/index.d.ts +1 -1
  20. package/banner/styled-components.js +25 -12
  21. package/banner/types.d.ts +15 -15
  22. package/banner/types.js.flow +13 -11
  23. package/block/block.js +3 -1
  24. package/block/styled-components.js +2 -1
  25. package/block/types.d.ts +3 -4
  26. package/breadcrumbs/styled-components.js +5 -1
  27. package/button/styled-components.js +7 -0
  28. package/button/styled-components.js.flow +2 -0
  29. package/button/types.d.ts +4 -5
  30. package/button-group/stateful-button-group.js +1 -0
  31. package/button-group/stateful-container.js +3 -1
  32. package/button-group/styled-components.js +2 -1
  33. package/button-group/types.d.ts +4 -5
  34. package/card/styled-components.js +11 -4
  35. package/checkbox/styled-components.js +10 -4
  36. package/checkbox/styled-components.js.flow +1 -1
  37. package/checkbox/types.d.ts +36 -37
  38. package/combobox/combobox.js +78 -71
  39. package/combobox/styled-components.js +5 -1
  40. package/combobox/types.d.ts +4 -5
  41. package/data-table/column-anchor.js +3 -0
  42. package/data-table/column-datetime.js +10 -4
  43. package/data-table/column-numerical.js +4 -4
  44. package/data-table/column-string.js +3 -0
  45. package/data-table/column.js +6 -1
  46. package/data-table/data-table.js +6 -3
  47. package/data-table/filter-menu.js +2 -1
  48. package/data-table/header-cell.js +43 -34
  49. package/data-table/locale.d.ts +4 -0
  50. package/data-table/locale.js +3 -1
  51. package/data-table/locale.js.flow +5 -0
  52. package/data-table/measure-column-widths.js +5 -4
  53. package/data-table/stateful-container.js +2 -1
  54. package/data-table/stateful-data-table.js +4 -4
  55. package/data-table/types.d.ts +4 -5
  56. package/datepicker/calendar-header.js +1 -0
  57. package/datepicker/calendar.js +2 -0
  58. package/datepicker/datepicker.js +2 -0
  59. package/datepicker/day.js +2 -1
  60. package/datepicker/index.d.ts +1 -1
  61. package/datepicker/index.js +7 -0
  62. package/datepicker/index.js.flow +1 -1
  63. package/datepicker/stateful-calendar.js +7 -3
  64. package/datepicker/stateful-container.js +2 -0
  65. package/datepicker/stateful-datepicker.js +9 -4
  66. package/datepicker/styled-components.js +27 -4
  67. package/datepicker/types.d.ts +2 -2
  68. package/datepicker/utils/date-helpers.js +2 -1
  69. package/datepicker/utils/index.js +2 -1
  70. package/divider/styled-components.js +4 -3
  71. package/divider/types.d.ts +1 -1
  72. package/dnd-list/stateful-list-container.js +1 -0
  73. package/dnd-list/styled-components.js +7 -0
  74. package/dnd-list/types.d.ts +2 -2
  75. package/drawer/constants.js +1 -0
  76. package/drawer/drawer.js +2 -3
  77. package/drawer/drawer.js.flow +1 -3
  78. package/drawer/styled-components.js +9 -2
  79. package/drawer/types.d.ts +2 -2
  80. package/es/accordion/accordion.js +3 -3
  81. package/es/accordion/panel.js +3 -2
  82. package/es/accordion/stateful-panel-container.js +1 -0
  83. package/es/accordion/styled-components.js +8 -1
  84. package/es/app-nav-bar/app-nav-bar.js +6 -2
  85. package/es/app-nav-bar/mobile-menu.js +4 -2
  86. package/es/app-nav-bar/styled-components.js +19 -1
  87. package/es/app-nav-bar/user-menu.js +1 -1
  88. package/es/aspect-ratio-box/aspect-ratio-box.js +3 -1
  89. package/es/avatar/styled-components.js +4 -1
  90. package/es/badge/styled-components.js +11 -6
  91. package/es/banner/styled-components.js +16 -3
  92. package/es/block/block.js +3 -1
  93. package/es/block/styled-components.js +2 -1
  94. package/es/breadcrumbs/styled-components.js +5 -1
  95. package/es/button/button.js +8 -0
  96. package/es/button/styled-components.js +7 -0
  97. package/es/button-group/stateful-button-group.js +1 -0
  98. package/es/button-group/stateful-container.js +3 -1
  99. package/es/button-group/styled-components.js +2 -1
  100. package/es/card/index.js +2 -1
  101. package/es/card/styled-components.js +12 -4
  102. package/es/checkbox/index.js +1 -0
  103. package/es/checkbox/stateful-checkbox-container.js +3 -0
  104. package/es/checkbox/styled-components.js +10 -4
  105. package/es/combobox/combobox.js +76 -69
  106. package/es/combobox/styled-components.js +5 -1
  107. package/es/data-table/column-anchor.js +3 -0
  108. package/es/data-table/column-datetime.js +12 -5
  109. package/es/data-table/column-numerical.js +5 -4
  110. package/es/data-table/column-string.js +3 -0
  111. package/es/data-table/column.js +4 -1
  112. package/es/data-table/data-table.js +6 -3
  113. package/es/data-table/filter-menu.js +2 -1
  114. package/es/data-table/header-cell.js +41 -34
  115. package/es/data-table/locale.js +3 -1
  116. package/es/data-table/measure-column-widths.js +5 -4
  117. package/es/data-table/stateful-container.js +2 -1
  118. package/es/data-table/stateful-data-table.js +4 -4
  119. package/es/datepicker/calendar-header.js +1 -0
  120. package/es/datepicker/calendar.js +2 -0
  121. package/es/datepicker/datepicker.js +3 -1
  122. package/es/datepicker/day.js +2 -1
  123. package/es/datepicker/index.js +1 -1
  124. package/es/datepicker/stateful-calendar.js +4 -1
  125. package/es/datepicker/stateful-container.js +2 -0
  126. package/es/datepicker/stateful-datepicker.js +5 -1
  127. package/es/datepicker/styled-components.js +26 -3
  128. package/es/datepicker/utils/date-helpers.js +2 -1
  129. package/es/datepicker/utils/index.js +2 -1
  130. package/es/divider/styled-components.js +3 -2
  131. package/es/dnd-list/stateful-list-container.js +1 -0
  132. package/es/dnd-list/styled-components.js +7 -0
  133. package/es/drawer/constants.js +1 -0
  134. package/es/drawer/drawer.js +2 -5
  135. package/es/drawer/styled-components.js +9 -2
  136. package/es/file-uploader/styled-components.js +6 -1
  137. package/es/flex-grid/flex-grid-item.js +5 -6
  138. package/es/flex-grid/flex-grid.js +4 -1
  139. package/es/form-control/styled-components.js +6 -1
  140. package/es/header-navigation/styled-components.js +4 -1
  141. package/es/helper/styled-components.js +3 -1
  142. package/es/helpers/overrides.js +9 -5
  143. package/es/icon/build-icons.js +0 -2
  144. package/es/icon/index.js +1 -1
  145. package/es/icon/omit-dollar-prefixed-keys.js +1 -0
  146. package/es/icon/styled-components.js +2 -1
  147. package/es/input/base-input.js +1 -0
  148. package/es/input/masked-input.js +9 -2
  149. package/es/input/stateful-container.js +1 -0
  150. package/es/input/styled-components.js +18 -7
  151. package/es/input/utils.js +2 -0
  152. package/es/layer/layer.js +24 -0
  153. package/es/layer/layers-manager.js +91 -1
  154. package/es/layout-grid/styled-components.js +3 -0
  155. package/es/link/index.js +2 -1
  156. package/es/link/styled-components.js +2 -1
  157. package/es/list/list-heading.js +21 -17
  158. package/es/list/list-item.js +2 -1
  159. package/es/list/styled-components.js +17 -1
  160. package/es/locale/es_AR.js +3 -1
  161. package/es/locale/index.js +2 -1
  162. package/es/locale/tr_TR.js +3 -1
  163. package/es/map-marker/constants.js +14 -0
  164. package/es/map-marker/fixed-marker.js +1 -0
  165. package/es/map-marker/index.js +2 -1
  166. package/es/map-marker/location-puck.js +142 -0
  167. package/es/map-marker/pin-head.js +1 -0
  168. package/es/map-marker/styled-components.js +86 -2
  169. package/es/menu/index.js +1 -1
  170. package/es/menu/menu.js +14 -4
  171. package/es/menu/option-profile.js +1 -0
  172. package/es/menu/stateful-container.js +10 -0
  173. package/es/menu/styled-components.js +32 -2
  174. package/es/message-card/constants.js +19 -0
  175. package/es/message-card/index.js +10 -0
  176. package/es/message-card/message-card.js +114 -0
  177. package/es/message-card/styled-components.js +108 -0
  178. package/es/message-card/types.js +1 -0
  179. package/es/message-card/utils.js +27 -0
  180. package/es/modal/modal.js +4 -6
  181. package/es/modal/styled-components.js +8 -1
  182. package/es/pagination/stateful-container.js +1 -0
  183. package/es/pagination/stateful-pagination.js +1 -0
  184. package/es/pagination/styled-components.js +4 -1
  185. package/es/payment-card/styled-components.js +2 -1
  186. package/es/phone-input/base-country-picker.js +3 -1
  187. package/es/phone-input/country-select-dropdown.js +1 -0
  188. package/es/phone-input/styled-components.js +15 -4
  189. package/es/pin-code/styled-components.js +4 -1
  190. package/es/popover/popover.js +9 -12
  191. package/es/popover/styled-components.js +9 -4
  192. package/es/progress-bar/progressbar-rounded.js +1 -0
  193. package/es/progress-bar/styled-components.js +14 -2
  194. package/es/progress-steps/progress-steps.js +2 -1
  195. package/es/progress-steps/styled-components.js +20 -12
  196. package/es/radio/stateful-radiogroup-container.js +3 -0
  197. package/es/radio/styled-components.js +10 -3
  198. package/es/rating/emoticon-rating.js +2 -1
  199. package/es/rating/star-rating.js +2 -1
  200. package/es/rating/styled-components.js +5 -1
  201. package/es/select/autosize-input.js +2 -3
  202. package/es/select/default-props.js +1 -1
  203. package/es/select/dropdown.js +2 -1
  204. package/es/select/multi-value.js +2 -1
  205. package/es/select/select-component.js +10 -10
  206. package/es/select/single-select.js +2 -2
  207. package/es/select/stateful-select-container.js +2 -0
  208. package/es/select/styled-components.js +33 -6
  209. package/es/select/value.js +3 -4
  210. package/es/side-navigation/index.js +2 -1
  211. package/es/side-navigation/nav-item.js +1 -0
  212. package/es/side-navigation/nav.js +1 -1
  213. package/es/side-navigation/stateful-container.js +1 -0
  214. package/es/side-navigation/styled-components.js +8 -2
  215. package/es/skeleton/styled-components.js +3 -1
  216. package/es/slider/slider.js +4 -2
  217. package/es/slider/stateful-slider-container.js +2 -0
  218. package/es/slider/styled-components.js +9 -0
  219. package/es/snackbar/snackbar-element.js +1 -0
  220. package/es/snackbar/styled-components.js +9 -1
  221. package/es/spinner/styled-components.js +2 -1
  222. package/es/styles/__mocks__/styled.js +8 -5
  223. package/es/styles/styled.js +7 -6
  224. package/es/table/index.js +2 -1
  225. package/es/table/styled-components.js +13 -1
  226. package/es/table-grid/styled-components.js +4 -1
  227. package/es/table-semantic/styled-components.js +20 -3
  228. package/es/tabs/stateful-tabs.js +1 -0
  229. package/es/tabs/styled-components.js +5 -1
  230. package/es/tabs/tabs.js +4 -2
  231. package/es/tabs-motion/styled-components.js +32 -2
  232. package/es/tabs-motion/tab.js +1 -0
  233. package/es/tabs-motion/tabs.js +31 -6
  234. package/es/tag/styled-components.js +32 -1
  235. package/es/tag/tag.js +6 -2
  236. package/es/textarea/styled-components.js +20 -12
  237. package/es/textarea/textarea.js +4 -2
  238. package/es/themes/move-theme/typography.js +36 -0
  239. package/es/themes/shared/borders.js +8 -3
  240. package/es/themes/shared/typography.js +10 -10
  241. package/es/timezonepicker/timezone-picker.js +5 -1
  242. package/es/timezonepicker/tzdata.js +1 -1
  243. package/es/toast/styled-components.js +5 -1
  244. package/es/toast/toaster.js +0 -2
  245. package/es/tokens/colors.js +24 -0
  246. package/es/tooltip/styled-components.js +4 -1
  247. package/es/tree-view/index.js +2 -1
  248. package/es/tree-view/styled-components.js +7 -1
  249. package/es/tree-view/tree-view.js +3 -1
  250. package/es/types/globals.d.js +12 -0
  251. package/es/utils/deep-merge.js +0 -5
  252. package/es/utils/deprecated-component.js +1 -0
  253. package/es/utils/focusVisible.js +4 -2
  254. package/esm/accordion/accordion.js +4 -4
  255. package/esm/accordion/panel.js +3 -2
  256. package/esm/accordion/stateful-panel-container.js +1 -0
  257. package/esm/accordion/styled-components.js +8 -1
  258. package/esm/app-nav-bar/app-nav-bar.js +4 -2
  259. package/esm/app-nav-bar/mobile-menu.js +4 -2
  260. package/esm/app-nav-bar/styled-components.js +19 -1
  261. package/esm/app-nav-bar/user-menu.js +1 -1
  262. package/esm/aspect-ratio-box/aspect-ratio-box.js +3 -1
  263. package/esm/avatar/styled-components.js +4 -1
  264. package/esm/badge/styled-components.js +11 -6
  265. package/esm/banner/styled-components.js +16 -3
  266. package/esm/block/block.js +3 -1
  267. package/esm/block/styled-components.js +2 -1
  268. package/esm/breadcrumbs/styled-components.js +5 -1
  269. package/esm/button/styled-components.js +7 -0
  270. package/esm/button-group/stateful-button-group.js +1 -0
  271. package/esm/button-group/stateful-container.js +3 -1
  272. package/esm/button-group/styled-components.js +2 -1
  273. package/esm/card/index.js +2 -1
  274. package/esm/card/styled-components.js +12 -4
  275. package/esm/checkbox/index.js +1 -0
  276. package/esm/checkbox/styled-components.js +10 -4
  277. package/esm/combobox/combobox.js +78 -71
  278. package/esm/combobox/styled-components.js +5 -1
  279. package/esm/data-table/column-anchor.js +3 -0
  280. package/esm/data-table/column-datetime.js +12 -5
  281. package/esm/data-table/column-numerical.js +4 -4
  282. package/esm/data-table/column-string.js +3 -0
  283. package/esm/data-table/column.js +5 -1
  284. package/esm/data-table/data-table.js +6 -3
  285. package/esm/data-table/filter-menu.js +2 -1
  286. package/esm/data-table/header-cell.js +42 -34
  287. package/esm/data-table/locale.js +3 -1
  288. package/esm/data-table/measure-column-widths.js +5 -4
  289. package/esm/data-table/stateful-container.js +2 -1
  290. package/esm/data-table/stateful-data-table.js +4 -4
  291. package/esm/datepicker/calendar-header.js +1 -0
  292. package/esm/datepicker/calendar.js +2 -0
  293. package/esm/datepicker/datepicker.js +3 -1
  294. package/esm/datepicker/day.js +2 -1
  295. package/esm/datepicker/index.js +1 -1
  296. package/esm/datepicker/stateful-calendar.js +7 -3
  297. package/esm/datepicker/stateful-container.js +2 -0
  298. package/esm/datepicker/stateful-datepicker.js +9 -4
  299. package/esm/datepicker/styled-components.js +26 -3
  300. package/esm/datepicker/utils/date-helpers.js +2 -1
  301. package/esm/datepicker/utils/index.js +2 -1
  302. package/esm/divider/styled-components.js +3 -2
  303. package/esm/dnd-list/stateful-list-container.js +1 -0
  304. package/esm/dnd-list/styled-components.js +7 -0
  305. package/esm/drawer/constants.js +1 -0
  306. package/esm/drawer/drawer.js +2 -5
  307. package/esm/drawer/styled-components.js +9 -2
  308. package/esm/file-uploader/styled-components.js +6 -1
  309. package/esm/flex-grid/flex-grid-item.js +4 -5
  310. package/esm/flex-grid/flex-grid.js +7 -3
  311. package/esm/form-control/styled-components.js +6 -1
  312. package/esm/header-navigation/styled-components.js +4 -1
  313. package/esm/helper/styled-components.js +3 -1
  314. package/esm/helpers/overrides.js +9 -5
  315. package/esm/icon/build-icons.js +0 -2
  316. package/esm/icon/index.js +1 -1
  317. package/esm/icon/omit-dollar-prefixed-keys.js +1 -0
  318. package/esm/icon/styled-components.js +2 -1
  319. package/esm/input/base-input.js +1 -0
  320. package/esm/input/masked-input.js +5 -2
  321. package/esm/input/stateful-container.js +1 -0
  322. package/esm/input/styled-components.js +18 -7
  323. package/esm/input/utils.js +2 -0
  324. package/esm/layer/layer.js +24 -0
  325. package/esm/layer/layers-manager.js +97 -1
  326. package/esm/layout-grid/styled-components.js +3 -0
  327. package/esm/link/index.js +2 -1
  328. package/esm/link/styled-components.js +2 -1
  329. package/esm/list/list-heading.js +21 -17
  330. package/esm/list/list-item.js +2 -1
  331. package/esm/list/styled-components.js +17 -1
  332. package/esm/locale/es_AR.js +3 -1
  333. package/esm/locale/index.js +4 -1
  334. package/esm/locale/tr_TR.js +3 -1
  335. package/esm/map-marker/constants.js +12 -2
  336. package/esm/map-marker/index.js +2 -1
  337. package/esm/map-marker/location-puck.js +199 -0
  338. package/esm/map-marker/styled-components.js +82 -2
  339. package/esm/menu/index.js +1 -1
  340. package/esm/menu/menu.js +16 -4
  341. package/esm/menu/option-profile.js +1 -0
  342. package/esm/menu/stateful-container.js +1 -0
  343. package/esm/menu/styled-components.js +38 -6
  344. package/esm/message-card/constants.js +20 -0
  345. package/esm/message-card/index.js +10 -0
  346. package/esm/message-card/message-card.js +168 -0
  347. package/esm/message-card/styled-components.js +116 -0
  348. package/esm/message-card/types.js +1 -0
  349. package/esm/message-card/utils.js +26 -0
  350. package/esm/modal/modal.js +4 -6
  351. package/esm/modal/styled-components.js +8 -1
  352. package/esm/pagination/stateful-container.js +1 -0
  353. package/esm/pagination/stateful-pagination.js +1 -0
  354. package/esm/pagination/styled-components.js +4 -1
  355. package/esm/payment-card/styled-components.js +2 -1
  356. package/esm/phone-input/base-country-picker.js +3 -1
  357. package/esm/phone-input/country-select-dropdown.js +1 -0
  358. package/esm/phone-input/styled-components.js +20 -8
  359. package/esm/pin-code/styled-components.js +4 -1
  360. package/esm/popover/popover.js +9 -12
  361. package/esm/popover/styled-components.js +9 -4
  362. package/esm/progress-bar/progressbar-rounded.js +1 -0
  363. package/esm/progress-bar/styled-components.js +14 -2
  364. package/esm/progress-steps/progress-steps.js +2 -1
  365. package/esm/progress-steps/styled-components.js +28 -19
  366. package/esm/radio/styled-components.js +10 -3
  367. package/esm/rating/emoticon-rating.js +2 -1
  368. package/esm/rating/star-rating.js +2 -1
  369. package/esm/rating/styled-components.js +5 -1
  370. package/esm/select/autosize-input.js +2 -3
  371. package/esm/select/default-props.js +1 -1
  372. package/esm/select/dropdown.js +2 -1
  373. package/esm/select/multi-value.js +2 -1
  374. package/esm/select/select-component.js +10 -10
  375. package/esm/select/single-select.js +2 -2
  376. package/esm/select/styled-components.js +33 -6
  377. package/esm/select/value.js +3 -4
  378. package/esm/side-navigation/index.js +2 -1
  379. package/esm/side-navigation/nav-item.js +1 -0
  380. package/esm/side-navigation/nav.js +1 -1
  381. package/esm/side-navigation/stateful-container.js +1 -0
  382. package/esm/side-navigation/styled-components.js +13 -6
  383. package/esm/skeleton/styled-components.js +3 -1
  384. package/esm/slider/slider.js +4 -2
  385. package/esm/slider/styled-components.js +9 -0
  386. package/esm/snackbar/snackbar-element.js +1 -0
  387. package/esm/snackbar/styled-components.js +9 -1
  388. package/esm/spinner/styled-components.js +2 -1
  389. package/esm/styles/__mocks__/styled.js +8 -5
  390. package/esm/styles/styled.js +7 -6
  391. package/esm/table/index.js +2 -1
  392. package/esm/table/styled-components.js +13 -1
  393. package/esm/table-grid/styled-components.js +4 -1
  394. package/esm/table-semantic/styled-components.js +20 -3
  395. package/esm/tabs/stateful-tabs.js +1 -0
  396. package/esm/tabs/styled-components.js +5 -1
  397. package/esm/tabs/tabs.js +4 -2
  398. package/esm/tabs-motion/styled-components.js +68 -40
  399. package/esm/tabs-motion/tab.js +1 -0
  400. package/esm/tabs-motion/tabs.js +87 -58
  401. package/esm/tag/styled-components.js +5 -1
  402. package/esm/tag/tag.js +4 -2
  403. package/esm/textarea/styled-components.js +11 -6
  404. package/esm/textarea/textarea.js +4 -2
  405. package/esm/themes/move-theme/typography.js +36 -0
  406. package/esm/themes/shared/borders.js +8 -3
  407. package/esm/themes/shared/typography.js +10 -10
  408. package/esm/timezonepicker/timezone-picker.js +6 -2
  409. package/esm/timezonepicker/tzdata.js +1 -1
  410. package/esm/toast/styled-components.js +5 -1
  411. package/esm/toast/toaster.js +0 -2
  412. package/esm/tokens/colors.js +24 -0
  413. package/esm/tooltip/styled-components.js +4 -1
  414. package/esm/tree-view/index.js +2 -1
  415. package/esm/tree-view/styled-components.js +7 -1
  416. package/esm/tree-view/tree-view.js +3 -1
  417. package/esm/types/globals.d.js +12 -0
  418. package/esm/utils/deep-merge.js +0 -5
  419. package/esm/utils/deprecated-component.js +1 -0
  420. package/esm/utils/focusVisible.js +4 -2
  421. package/file-uploader/styled-components.js +6 -1
  422. package/flex-grid/flex-grid-item.d.ts +1 -1
  423. package/flex-grid/flex-grid-item.js +6 -8
  424. package/flex-grid/flex-grid.js +7 -3
  425. package/flex-grid/types.d.ts +1 -1
  426. package/form-control/styled-components.js +6 -1
  427. package/form-control/types.d.ts +1 -1
  428. package/header-navigation/styled-components.js +4 -1
  429. package/heading/types.d.ts +1 -1
  430. package/helper/styled-components.js +3 -1
  431. package/helpers/overrides.js +8 -3
  432. package/helpers/overrides.js.flow +1 -1
  433. package/helpers/types.d.ts +1 -1
  434. package/icon/build-icons.js +0 -2
  435. package/icon/build-icons.js.flow +0 -1
  436. package/icon/index.d.ts +1 -1
  437. package/icon/index.js +8 -1
  438. package/icon/index.js.flow +1 -1
  439. package/icon/omit-dollar-prefixed-keys.js +1 -0
  440. package/icon/styled-components.js +2 -1
  441. package/icon/types.d.ts +1 -1
  442. package/input/masked-input.js +5 -2
  443. package/input/stateful-container.js +1 -0
  444. package/input/styled-components.js +18 -7
  445. package/input/styled-components.js.flow +9 -2
  446. package/input/types.d.ts +16 -14
  447. package/input/types.js.flow +3 -0
  448. package/input/utils.js +2 -0
  449. package/layer/layer.js +24 -0
  450. package/layer/layer.js.flow +25 -0
  451. package/layer/layers-manager.d.ts +8 -0
  452. package/layer/layers-manager.js +97 -1
  453. package/layer/layers-manager.js.flow +84 -1
  454. package/layer/types.d.ts +23 -2
  455. package/layer/types.js.flow +22 -1
  456. package/layout-grid/styled-components.js +3 -0
  457. package/layout-grid/types.d.ts +2 -2
  458. package/link/index.js +2 -1
  459. package/link/styled-components.js +2 -1
  460. package/list/list-heading.js +21 -17
  461. package/list/list-item.js +2 -1
  462. package/list/styled-components.js +17 -1
  463. package/list/types.d.ts +2 -2
  464. package/locale/en_US.d.ts +1 -1
  465. package/locale/es_AR.d.ts +1 -1
  466. package/locale/es_AR.js +3 -1
  467. package/locale/index.js +4 -1
  468. package/locale/tr_TR.d.ts +1 -1
  469. package/locale/tr_TR.js +3 -1
  470. package/map-marker/constants.d.ts +14 -0
  471. package/map-marker/constants.js +16 -3
  472. package/map-marker/constants.js.flow +17 -0
  473. package/map-marker/index.d.ts +2 -1
  474. package/map-marker/index.js +24 -1
  475. package/map-marker/index.js.flow +5 -3
  476. package/map-marker/location-puck.d.ts +4 -0
  477. package/map-marker/location-puck.js +211 -0
  478. package/map-marker/location-puck.js.flow +18 -0
  479. package/map-marker/styled-components.d.ts +17 -1
  480. package/map-marker/styled-components.js +88 -2
  481. package/map-marker/styled-components.js.flow +58 -0
  482. package/map-marker/types.d.ts +33 -5
  483. package/map-marker/types.js.flow +37 -3
  484. package/menu/index.d.ts +2 -3
  485. package/menu/index.js +8 -1
  486. package/menu/index.js.flow +1 -0
  487. package/menu/menu.js +15 -3
  488. package/menu/menu.js.flow +11 -1
  489. package/menu/option-profile.js +1 -0
  490. package/menu/stateful-container.js +1 -0
  491. package/menu/styled-components.d.ts +1 -0
  492. package/menu/styled-components.js +40 -7
  493. package/menu/styled-components.js.flow +13 -0
  494. package/menu/types.d.ts +13 -13
  495. package/menu/types.js.flow +1 -0
  496. package/message-card/constants.d.ts +12 -0
  497. package/message-card/constants.js +25 -0
  498. package/message-card/index.d.ts +4 -0
  499. package/message-card/index.js +60 -0
  500. package/message-card/index.js.flow +72 -0
  501. package/message-card/message-card.d.ts +4 -0
  502. package/message-card/message-card.js +184 -0
  503. package/message-card/package.json +4 -0
  504. package/message-card/styled-components.d.ts +14 -0
  505. package/message-card/styled-components.js +124 -0
  506. package/message-card/types.d.ts +27 -0
  507. package/message-card/types.js +5 -0
  508. package/message-card/utils.d.ts +1 -0
  509. package/message-card/utils.js +36 -0
  510. package/modal/modal.js +4 -4
  511. package/modal/modal.js.flow +1 -3
  512. package/modal/styled-components.js +8 -1
  513. package/modal/types.d.ts +2 -2
  514. package/package.json +9 -11
  515. package/pagination/stateful-container.js +1 -0
  516. package/pagination/stateful-pagination.js +1 -0
  517. package/pagination/styled-components.js +4 -1
  518. package/pagination/types.d.ts +2 -2
  519. package/payment-card/styled-components.js +2 -1
  520. package/phone-input/base-country-picker.js +3 -1
  521. package/phone-input/country-select-dropdown.js +1 -0
  522. package/phone-input/styled-components.js +21 -9
  523. package/phone-input/types.d.ts +5 -6
  524. package/pin-code/styled-components.js +4 -1
  525. package/pin-code/types.d.ts +2 -2
  526. package/popover/popover.js +9 -12
  527. package/popover/popover.js.flow +2 -12
  528. package/popover/styled-components.js +12 -9
  529. package/popover/types.d.ts +2 -2
  530. package/progress-bar/progressbar-rounded.js +1 -0
  531. package/progress-bar/styled-components.js +14 -2
  532. package/progress-bar/types.d.ts +2 -2
  533. package/progress-steps/progress-steps.js +2 -1
  534. package/progress-steps/styled-components.js +28 -19
  535. package/radio/styled-components.js +10 -3
  536. package/radio/types.d.ts +19 -20
  537. package/rating/emoticon-rating.js +2 -1
  538. package/rating/star-rating.js +2 -1
  539. package/rating/styled-components.js +5 -1
  540. package/select/autosize-input.js +2 -1
  541. package/select/autosize-input.js.flow +1 -1
  542. package/select/default-props.js +1 -1
  543. package/select/dropdown.js +2 -1
  544. package/select/multi-value.js +1 -0
  545. package/select/select-component.d.ts +1 -1
  546. package/select/select-component.js +9 -7
  547. package/select/select-component.js.flow +1 -1
  548. package/select/single-select.d.ts +2 -2
  549. package/select/single-select.js +2 -2
  550. package/select/styled-components.js +33 -6
  551. package/select/styled-components.js.flow +25 -5
  552. package/select/types.d.ts +5 -6
  553. package/select/value.js +2 -3
  554. package/side-navigation/nav-item.js +1 -0
  555. package/side-navigation/nav.js +1 -1
  556. package/side-navigation/stateful-container.js +1 -0
  557. package/side-navigation/styled-components.js +13 -6
  558. package/side-navigation/types.d.ts +1 -1
  559. package/skeleton/styled-components.js +3 -1
  560. package/slider/slider.js +4 -2
  561. package/slider/styled-components.js +9 -0
  562. package/slider/types.d.ts +1 -1
  563. package/snackbar/snackbar-element.js +1 -0
  564. package/snackbar/styled-components.js +9 -1
  565. package/snackbar/types.d.ts +3 -4
  566. package/spinner/styled-components.js +2 -1
  567. package/spinner/types.d.ts +1 -1
  568. package/styles/__mocks__/styled.js +8 -3
  569. package/styles/styled.d.ts +1 -1
  570. package/styles/styled.js +7 -6
  571. package/table/styled-components.js +13 -1
  572. package/table/types.d.ts +2 -2
  573. package/table-grid/styled-components.js +4 -1
  574. package/table-semantic/styled-components.js +20 -3
  575. package/table-semantic/types.d.ts +2 -2
  576. package/tabs/stateful-tabs.js +1 -0
  577. package/tabs/styled-components.js +5 -1
  578. package/tabs/tabs.js +4 -2
  579. package/tabs/types.d.ts +2 -2
  580. package/tabs-motion/styled-components.d.ts +5 -0
  581. package/tabs-motion/styled-components.js +71 -41
  582. package/tabs-motion/styled-components.js.flow +21 -0
  583. package/tabs-motion/tab.js +1 -0
  584. package/tabs-motion/tabs.d.ts +1 -1
  585. package/tabs-motion/tabs.js +87 -57
  586. package/tabs-motion/tabs.js.flow +69 -38
  587. package/tabs-motion/types.d.ts +5 -2
  588. package/tabs-motion/types.js.flow +3 -0
  589. package/tabs-motion/utils.d.ts +1 -1
  590. package/tag/styled-components.js +5 -1
  591. package/tag/tag.js +4 -2
  592. package/tag/types.d.ts +4 -5
  593. package/textarea/styled-components.js +11 -6
  594. package/textarea/textarea.js +4 -2
  595. package/textarea/types.d.ts +6 -5
  596. package/textarea/types.js.flow +3 -1
  597. package/themes/move-theme/typography.d.ts +36 -0
  598. package/themes/move-theme/typography.js +36 -0
  599. package/themes/move-theme/typography.js.flow +12 -0
  600. package/themes/shared/borders.js +8 -3
  601. package/themes/shared/borders.js.flow +7 -3
  602. package/themes/shared/typography.js +10 -10
  603. package/themes/shared/typography.js.flow +10 -10
  604. package/themes/types.d.ts +3 -0
  605. package/themes/types.js.flow +3 -0
  606. package/timezonepicker/timezone-picker.js +6 -2
  607. package/timezonepicker/types.d.ts +1 -0
  608. package/timezonepicker/types.js.flow +1 -0
  609. package/timezonepicker/tzdata.js +1 -1
  610. package/toast/styled-components.js +5 -1
  611. package/toast/toaster.js.flow +1 -1
  612. package/toast/types.d.ts +2 -2
  613. package/tokens/colors.js +24 -0
  614. package/tokens/colors.js.flow +27 -0
  615. package/tokens/types.d.ts +24 -0
  616. package/tokens/types.js.flow +27 -0
  617. package/tooltip/styled-components.js +4 -1
  618. package/tree-view/styled-components.js +7 -1
  619. package/tree-view/tree-view.js +3 -1
  620. package/tree-view/types.d.ts +3 -4
  621. package/types/globals.d.js +14 -1
  622. package/utils/deep-merge.js +0 -6
  623. package/utils/deprecated-component.js +1 -0
  624. package/utils/focusVisible.d.ts +1 -1
  625. package/utils/focusVisible.js +4 -2
  626. package/card/images.d.ts +0 -2
  627. package/card/images.js +0 -17
  628. package/card/images.js.flow +0 -18
  629. package/es/card/images.js +0 -8
  630. package/esm/card/images.js +0 -8
@@ -109,14 +109,18 @@ var TimezonePicker = /*#__PURE__*/function (_React$Component) {
109
109
  // Ignores timezones that are not available within a user's browser/operating system
110
110
  console.error("failed to format zone name ".concat(zoneName));
111
111
  }
112
- } // Sorts W -> E, prioritizes america. could be more nuanced based on system tz but simple for now
113
-
112
+ }
114
113
  } catch (err) {
115
114
  _iterator.e(err);
116
115
  } finally {
117
116
  _iterator.f();
118
117
  }
119
118
 
119
+ if (_this.props.additionalTimezones) {
120
+ timezones = timezones.concat(_this.props.additionalTimezones);
121
+ } // Sorts W -> E, prioritizes america. could be more nuanced based on system tz but simple for now
122
+
123
+
120
124
  return timezones.sort(function (a, b) {
121
125
  var offsetDelta = b.offset - a.offset;
122
126
  if (offsetDelta !== 0) return offsetDelta;
@@ -4,4 +4,4 @@ Copyright (c) Uber Technologies, Inc.
4
4
  This source code is licensed under the MIT license found in the
5
5
  LICENSE file in the root directory of this source tree.
6
6
  */
7
- export var zones = ['Europe/Andorra', 'Asia/Dubai', 'Asia/Kabul', 'Europe/Tirane', 'Asia/Yerevan', 'Antarctica/Casey', 'Antarctica/Davis', 'Antarctica/Mawson', 'Antarctica/Palmer', 'Antarctica/Rothera', 'Antarctica/Troll', 'Antarctica/Vostok', 'America/Argentina/Buenos_Aires', 'America/Argentina/Cordoba', 'America/Argentina/Salta', 'America/Argentina/Jujuy', 'America/Argentina/Tucuman', 'America/Argentina/Catamarca', 'America/Argentina/La_Rioja', 'America/Argentina/San_Juan', 'America/Argentina/Mendoza', 'America/Argentina/San_Luis', 'America/Argentina/Rio_Gallegos', 'America/Argentina/Ushuaia', 'Pacific/Pago_Pago', 'Europe/Vienna', 'Australia/Lord_Howe', 'Antarctica/Macquarie', 'Australia/Hobart', 'Australia/Melbourne', 'Australia/Sydney', 'Australia/Broken_Hill', 'Australia/Brisbane', 'Australia/Lindeman', 'Australia/Adelaide', 'Australia/Darwin', 'Australia/Perth', 'Australia/Eucla', 'Asia/Baku', 'America/Barbados', 'Asia/Dhaka', 'Europe/Brussels', 'Europe/Sofia', 'Atlantic/Bermuda', 'Asia/Brunei', 'America/La_Paz', 'America/Noronha', 'America/Belem', 'America/Fortaleza', 'America/Recife', 'America/Araguaina', 'America/Maceio', 'America/Bahia', 'America/Sao_Paulo', 'America/Campo_Grande', 'America/Cuiaba', 'America/Santarem', 'America/Porto_Velho', 'America/Boa_Vista', 'America/Manaus', 'America/Eirunepe', 'America/Rio_Branco', 'Asia/Thimphu', 'Europe/Minsk', 'America/Belize', 'America/St_Johns', 'America/Halifax', 'America/Glace_Bay', 'America/Moncton', 'America/Goose_Bay', 'America/Toronto', 'America/Nipigon', 'America/Thunder_Bay', 'America/Iqaluit', 'America/Pangnirtung', 'America/Winnipeg', 'America/Rainy_River', 'America/Resolute', 'America/Rankin_Inlet', 'America/Regina', 'America/Swift_Current', 'America/Edmonton', 'America/Cambridge_Bay', 'America/Yellowknife', 'America/Inuvik', 'America/Dawson_Creek', 'America/Fort_Nelson', 'America/Whitehorse', 'America/Dawson', 'America/Vancouver', 'Indian/Cocos', 'Europe/Zurich', 'Africa/Abidjan', 'Pacific/Rarotonga', 'America/Santiago', 'America/Punta_Arenas', 'Pacific/Easter', 'Asia/Shanghai', 'Asia/Urumqi', 'America/Bogota', 'America/Costa_Rica', 'America/Havana', 'Atlantic/Cape_Verde', 'Indian/Christmas', 'Asia/Nicosia', 'Asia/Famagusta', 'Europe/Prague', 'Europe/Berlin', 'Europe/Copenhagen', 'America/Santo_Domingo', 'Africa/Algiers', 'America/Guayaquil', 'Pacific/Galapagos', 'Europe/Tallinn', 'Africa/Cairo', 'Africa/El_Aaiun', 'Europe/Madrid', 'Africa/Ceuta', 'Atlantic/Canary', 'Europe/Helsinki', 'Pacific/Fiji', 'Atlantic/Stanley', 'Pacific/Chuuk', 'Pacific/Pohnpei', 'Pacific/Kosrae', 'Atlantic/Faroe', 'Europe/Paris', 'Europe/London', 'Asia/Tbilisi', 'America/Cayenne', 'Europe/Gibraltar', 'America/Nuuk', 'America/Danmarkshavn', 'America/Scoresbysund', 'America/Thule', 'Europe/Athens', 'Atlantic/South_Georgia', 'America/Guatemala', 'Pacific/Guam', 'Africa/Bissau', 'America/Guyana', 'Asia/Hong_Kong', 'America/Tegucigalpa', 'America/Port-au-Prince', 'Europe/Budapest', 'Asia/Jakarta', 'Asia/Pontianak', 'Asia/Makassar', 'Asia/Jayapura', 'Europe/Dublin', 'Asia/Jerusalem', 'Asia/Kolkata', 'Indian/Chagos', 'Asia/Baghdad', 'Asia/Tehran', 'Atlantic/Reykjavik', 'Europe/Rome', 'America/Jamaica', 'Asia/Amman', 'Asia/Tokyo', 'Africa/Nairobi', 'Asia/Bishkek', 'Pacific/Tarawa', 'Pacific/Kanton', 'Pacific/Kiritimati', 'Asia/Pyongyang', 'Asia/Seoul', 'Asia/Almaty', 'Asia/Qyzylorda', 'Asia/Qostanay', 'Asia/Aqtobe', 'Asia/Aqtau', 'Asia/Atyrau', 'Asia/Oral', 'Asia/Beirut', 'Asia/Colombo', 'Africa/Monrovia', 'Europe/Vilnius', 'Europe/Luxembourg', 'Europe/Riga', 'Africa/Tripoli', 'Africa/Casablanca', 'Europe/Monaco', 'Europe/Chisinau', 'Pacific/Majuro', 'Pacific/Kwajalein', 'Asia/Yangon', 'Asia/Ulaanbaatar', 'Asia/Hovd', 'Asia/Choibalsan', 'Asia/Macau', 'America/Martinique', 'Europe/Malta', 'Indian/Mauritius', 'Indian/Maldives', 'America/Mexico_City', 'America/Cancun', 'America/Merida', 'America/Monterrey', 'America/Matamoros', 'America/Mazatlan', 'America/Chihuahua', 'America/Ojinaga', 'America/Hermosillo', 'America/Tijuana', 'America/Bahia_Banderas', 'Asia/Kuala_Lumpur', 'Asia/Kuching', 'Africa/Maputo', 'Africa/Windhoek', 'Pacific/Noumea', 'Pacific/Norfolk', 'Africa/Lagos', 'America/Managua', 'Europe/Amsterdam', 'Europe/Oslo', 'Asia/Kathmandu', 'Pacific/Nauru', 'Pacific/Niue', 'Pacific/Auckland', 'Pacific/Chatham', 'America/Panama', 'America/Lima', 'Pacific/Tahiti', 'Pacific/Marquesas', 'Pacific/Gambier', 'Pacific/Port_Moresby', 'Pacific/Bougainville', 'Asia/Manila', 'Asia/Karachi', 'Europe/Warsaw', 'America/Miquelon', 'Pacific/Pitcairn', 'America/Puerto_Rico', 'Asia/Gaza', 'Asia/Hebron', 'Europe/Lisbon', 'Atlantic/Madeira', 'Atlantic/Azores', 'Pacific/Palau', 'America/Asuncion', 'Asia/Qatar', 'Indian/Reunion', 'Europe/Bucharest', 'Europe/Belgrade', 'Europe/Kaliningrad', 'Europe/Moscow', 'Europe/Simferopol', 'Europe/Kirov', 'Europe/Volgograd', 'Europe/Astrakhan', 'Europe/Saratov', 'Europe/Ulyanovsk', 'Europe/Samara', 'Asia/Yekaterinburg', 'Asia/Omsk', 'Asia/Novosibirsk', 'Asia/Barnaul', 'Asia/Tomsk', 'Asia/Novokuznetsk', 'Asia/Krasnoyarsk', 'Asia/Irkutsk', 'Asia/Chita', 'Asia/Yakutsk', 'Asia/Khandyga', 'Asia/Vladivostok', 'Asia/Ust-Nera', 'Asia/Magadan', 'Asia/Sakhalin', 'Asia/Srednekolymsk', 'Asia/Kamchatka', 'Asia/Anadyr', 'Asia/Riyadh', 'Pacific/Guadalcanal', 'Indian/Mahe', 'Africa/Khartoum', 'Europe/Stockholm', 'Asia/Singapore', 'America/Paramaribo', 'Africa/Juba', 'Africa/Sao_Tome', 'America/El_Salvador', 'Asia/Damascus', 'America/Grand_Turk', 'Africa/Ndjamena', 'Indian/Kerguelen', 'Asia/Bangkok', 'Asia/Dushanbe', 'Pacific/Fakaofo', 'Asia/Dili', 'Asia/Ashgabat', 'Africa/Tunis', 'Pacific/Tongatapu', 'Europe/Istanbul', 'Pacific/Funafuti', 'Asia/Taipei', 'Europe/Kiev', 'Europe/Uzhgorod', 'Europe/Zaporozhye', 'Pacific/Wake', 'America/New_York', 'America/Detroit', 'America/Kentucky/Louisville', 'America/Kentucky/Monticello', 'America/Indiana/Indianapolis', 'America/Indiana/Vincennes', 'America/Indiana/Winamac', 'America/Indiana/Marengo', 'America/Indiana/Petersburg', 'America/Indiana/Vevay', 'America/Chicago', 'America/Indiana/Tell_City', 'America/Indiana/Knox', 'America/Menominee', 'America/North_Dakota/Center', 'America/North_Dakota/New_Salem', 'America/North_Dakota/Beulah', 'America/Denver', 'America/Boise', 'America/Phoenix', 'America/Los_Angeles', 'America/Anchorage', 'America/Juneau', 'America/Sitka', 'America/Metlakatla', 'America/Yakutat', 'America/Nome', 'America/Adak', 'Pacific/Honolulu', 'America/Montevideo', 'Asia/Samarkand', 'Asia/Tashkent', 'America/Caracas', 'Asia/Ho_Chi_Minh', 'Pacific/Efate', 'Pacific/Wallis', 'Pacific/Apia', 'Africa/Johannesburg'];
7
+ export var zones = ['Europe/Andorra', 'Asia/Dubai', 'Asia/Kabul', 'Europe/Tirane', 'Asia/Yerevan', 'Antarctica/Casey', 'Antarctica/Davis', 'Antarctica/Mawson', 'Antarctica/Palmer', 'Antarctica/Rothera', 'Antarctica/Troll', 'America/Argentina/Buenos_Aires', 'America/Argentina/Cordoba', 'America/Argentina/Salta', 'America/Argentina/Jujuy', 'America/Argentina/Tucuman', 'America/Argentina/Catamarca', 'America/Argentina/La_Rioja', 'America/Argentina/San_Juan', 'America/Argentina/Mendoza', 'America/Argentina/San_Luis', 'America/Argentina/Rio_Gallegos', 'America/Argentina/Ushuaia', 'Pacific/Pago_Pago', 'Europe/Vienna', 'Australia/Lord_Howe', 'Antarctica/Macquarie', 'Australia/Hobart', 'Australia/Melbourne', 'Australia/Sydney', 'Australia/Broken_Hill', 'Australia/Brisbane', 'Australia/Lindeman', 'Australia/Adelaide', 'Australia/Darwin', 'Australia/Perth', 'Australia/Eucla', 'Asia/Baku', 'America/Barbados', 'Asia/Dhaka', 'Europe/Brussels', 'Europe/Sofia', 'Atlantic/Bermuda', 'America/La_Paz', 'America/Noronha', 'America/Belem', 'America/Fortaleza', 'America/Recife', 'America/Araguaina', 'America/Maceio', 'America/Bahia', 'America/Sao_Paulo', 'America/Campo_Grande', 'America/Cuiaba', 'America/Santarem', 'America/Porto_Velho', 'America/Boa_Vista', 'America/Manaus', 'America/Eirunepe', 'America/Rio_Branco', 'Asia/Thimphu', 'Europe/Minsk', 'America/Belize', 'America/St_Johns', 'America/Halifax', 'America/Glace_Bay', 'America/Moncton', 'America/Goose_Bay', 'America/Toronto', 'America/Nipigon', 'America/Thunder_Bay', 'America/Iqaluit', 'America/Pangnirtung', 'America/Winnipeg', 'America/Rainy_River', 'America/Resolute', 'America/Rankin_Inlet', 'America/Regina', 'America/Swift_Current', 'America/Edmonton', 'America/Cambridge_Bay', 'America/Yellowknife', 'America/Inuvik', 'America/Dawson_Creek', 'America/Fort_Nelson', 'America/Whitehorse', 'America/Dawson', 'America/Vancouver', 'Europe/Zurich', 'Africa/Abidjan', 'Pacific/Rarotonga', 'America/Santiago', 'America/Punta_Arenas', 'Pacific/Easter', 'Asia/Shanghai', 'Asia/Urumqi', 'America/Bogota', 'America/Costa_Rica', 'America/Havana', 'Atlantic/Cape_Verde', 'Asia/Nicosia', 'Asia/Famagusta', 'Europe/Prague', 'Europe/Berlin', 'America/Santo_Domingo', 'Africa/Algiers', 'America/Guayaquil', 'Pacific/Galapagos', 'Europe/Tallinn', 'Africa/Cairo', 'Africa/El_Aaiun', 'Europe/Madrid', 'Africa/Ceuta', 'Atlantic/Canary', 'Europe/Helsinki', 'Pacific/Fiji', 'Atlantic/Stanley', 'Pacific/Kosrae', 'Atlantic/Faroe', 'Europe/Paris', 'Europe/London', 'Asia/Tbilisi', 'America/Cayenne', 'Europe/Gibraltar', 'America/Nuuk', 'America/Danmarkshavn', 'America/Scoresbysund', 'America/Thule', 'Europe/Athens', 'Atlantic/South_Georgia', 'America/Guatemala', 'Pacific/Guam', 'Africa/Bissau', 'America/Guyana', 'Asia/Hong_Kong', 'America/Tegucigalpa', 'America/Port-au-Prince', 'Europe/Budapest', 'Asia/Jakarta', 'Asia/Pontianak', 'Asia/Makassar', 'Asia/Jayapura', 'Europe/Dublin', 'Asia/Jerusalem', 'Asia/Kolkata', 'Indian/Chagos', 'Asia/Baghdad', 'Asia/Tehran', 'Europe/Rome', 'America/Jamaica', 'Asia/Amman', 'Asia/Tokyo', 'Africa/Nairobi', 'Asia/Bishkek', 'Pacific/Tarawa', 'Pacific/Kanton', 'Pacific/Kiritimati', 'Asia/Pyongyang', 'Asia/Seoul', 'Asia/Almaty', 'Asia/Qyzylorda', 'Asia/Qostanay', 'Asia/Aqtobe', 'Asia/Aqtau', 'Asia/Atyrau', 'Asia/Oral', 'Asia/Beirut', 'Asia/Colombo', 'Africa/Monrovia', 'Europe/Vilnius', 'Europe/Riga', 'Africa/Tripoli', 'Africa/Casablanca', 'Europe/Chisinau', 'Pacific/Kwajalein', 'Asia/Yangon', 'Asia/Ulaanbaatar', 'Asia/Hovd', 'Asia/Choibalsan', 'Asia/Macau', 'America/Martinique', 'Europe/Malta', 'Indian/Mauritius', 'Indian/Maldives', 'America/Mexico_City', 'America/Cancun', 'America/Merida', 'America/Monterrey', 'America/Matamoros', 'America/Mazatlan', 'America/Chihuahua', 'America/Ojinaga', 'America/Hermosillo', 'America/Tijuana', 'America/Bahia_Banderas', 'Asia/Kuching', 'Africa/Maputo', 'Africa/Windhoek', 'Pacific/Noumea', 'Pacific/Norfolk', 'Africa/Lagos', 'America/Managua', 'Asia/Kathmandu', 'Pacific/Nauru', 'Pacific/Niue', 'Pacific/Auckland', 'Pacific/Chatham', 'America/Panama', 'America/Lima', 'Pacific/Tahiti', 'Pacific/Marquesas', 'Pacific/Gambier', 'Pacific/Port_Moresby', 'Pacific/Bougainville', 'Asia/Manila', 'Asia/Karachi', 'Europe/Warsaw', 'America/Miquelon', 'Pacific/Pitcairn', 'America/Puerto_Rico', 'Asia/Gaza', 'Asia/Hebron', 'Europe/Lisbon', 'Atlantic/Madeira', 'Atlantic/Azores', 'Pacific/Palau', 'America/Asuncion', 'Asia/Qatar', 'Europe/Bucharest', 'Europe/Belgrade', 'Europe/Kaliningrad', 'Europe/Moscow', 'Europe/Simferopol', 'Europe/Kirov', 'Europe/Volgograd', 'Europe/Astrakhan', 'Europe/Saratov', 'Europe/Ulyanovsk', 'Europe/Samara', 'Asia/Yekaterinburg', 'Asia/Omsk', 'Asia/Novosibirsk', 'Asia/Barnaul', 'Asia/Tomsk', 'Asia/Novokuznetsk', 'Asia/Krasnoyarsk', 'Asia/Irkutsk', 'Asia/Chita', 'Asia/Yakutsk', 'Asia/Khandyga', 'Asia/Vladivostok', 'Asia/Ust-Nera', 'Asia/Magadan', 'Asia/Sakhalin', 'Asia/Srednekolymsk', 'Asia/Kamchatka', 'Asia/Anadyr', 'Asia/Riyadh', 'Pacific/Guadalcanal', 'Africa/Khartoum', 'Asia/Singapore', 'America/Paramaribo', 'Africa/Juba', 'Africa/Sao_Tome', 'America/El_Salvador', 'Asia/Damascus', 'America/Grand_Turk', 'Africa/Ndjamena', 'Asia/Bangkok', 'Asia/Dushanbe', 'Pacific/Fakaofo', 'Asia/Dili', 'Asia/Ashgabat', 'Africa/Tunis', 'Pacific/Tongatapu', 'Europe/Istanbul', 'Asia/Taipei', 'Europe/Kyiv', 'Europe/Uzhgorod', 'Europe/Zaporozhye', 'America/New_York', 'America/Detroit', 'America/Kentucky/Louisville', 'America/Kentucky/Monticello', 'America/Indiana/Indianapolis', 'America/Indiana/Vincennes', 'America/Indiana/Winamac', 'America/Indiana/Marengo', 'America/Indiana/Petersburg', 'America/Indiana/Vevay', 'America/Chicago', 'America/Indiana/Tell_City', 'America/Indiana/Knox', 'America/Menominee', 'America/North_Dakota/Center', 'America/North_Dakota/New_Salem', 'America/North_Dakota/Beulah', 'America/Denver', 'America/Boise', 'America/Phoenix', 'America/Los_Angeles', 'America/Anchorage', 'America/Juneau', 'America/Sitka', 'America/Metlakatla', 'America/Yakutat', 'America/Nome', 'America/Adak', 'Pacific/Honolulu', 'America/Montevideo', 'Asia/Samarkand', 'Asia/Tashkent', 'America/Caracas', 'Asia/Ho_Chi_Minh', 'Pacific/Efate', 'Pacific/Apia', 'Africa/Johannesburg'];
@@ -104,6 +104,7 @@ export var Root = styled('div', function (_ref) {
104
104
  }, getPlacement($placement));
105
105
  });
106
106
  Root.displayName = "Root";
107
+ Root.displayName = 'Root';
107
108
  export var InnerContainer = styled('div', // eslint-disable-next-line no-empty-pattern
108
109
  function (_ref2) {
109
110
  _objectDestructuringEmpty(_ref2);
@@ -111,6 +112,7 @@ function (_ref2) {
111
112
  return {};
112
113
  });
113
114
  InnerContainer.displayName = "InnerContainer";
115
+ InnerContainer.displayName = 'InnerContainer';
114
116
  export var Body = styled('div', function (_ref3) {
115
117
  var $isVisible = _ref3.$isVisible,
116
118
  $kind = _ref3.$kind,
@@ -143,6 +145,7 @@ export var Body = styled('div', function (_ref3) {
143
145
  });
144
146
  });
145
147
  Body.displayName = "Body";
148
+ Body.displayName = 'Body';
146
149
  export var CloseIconSvg = styled('svg', function (_ref4) {
147
150
  var $theme = _ref4.$theme,
148
151
  $size = _ref4.$size,
@@ -159,4 +162,5 @@ export var CloseIconSvg = styled('svg', function (_ref4) {
159
162
  outline: $isFocusVisible ? "3px solid ".concat($theme.colors.accent) : 'none'
160
163
  });
161
164
  });
162
- CloseIconSvg.displayName = "CloseIconSvg";
165
+ CloseIconSvg.displayName = "CloseIconSvg";
166
+ CloseIconSvg.displayName = 'CloseIconSvg';
@@ -60,8 +60,6 @@ Copyright (c) Uber Technologies, Inc.
60
60
  This source code is licensed under the MIT license found in the
61
61
  LICENSE file in the root directory of this source tree.
62
62
  */
63
-
64
- /* eslint-disable cup/no-undef */
65
63
  import * as React from 'react';
66
64
  import ReactDOM from 'react-dom';
67
65
  import { getOverrides, mergeOverrides } from '../helpers/overrides';
@@ -50,6 +50,14 @@ var colors = {
50
50
  yellow500: '#BC8B2C',
51
51
  yellow600: '#996F00',
52
52
  yellow700: '#674D1B',
53
+ lime50: '#F2F7ED',
54
+ lime100: '#E0ECD2',
55
+ lime200: '#BCD69D',
56
+ lime300: '#8BB956',
57
+ lime400: '#67A421',
58
+ lime500: '#4E7C19',
59
+ lime600: '#3D6213',
60
+ lime700: '#29410d',
53
61
  green50: '#E6F2ED',
54
62
  green100: '#ADDEC9',
55
63
  green200: '#66D19E',
@@ -58,6 +66,14 @@ var colors = {
58
66
  green500: '#03703C',
59
67
  green600: '#03582F',
60
68
  green700: '#10462D',
69
+ teal50: '#EDF5F7',
70
+ teal100: '#D2E8EC',
71
+ teal200: '#9DCDD6',
72
+ teal300: '#56A9B9',
73
+ teal400: '#218EA4',
74
+ teal500: '#196B7C',
75
+ teal600: '#135562',
76
+ teal700: '#0D3841',
61
77
  blue50: '#EFF3FE',
62
78
  blue100: '#D4E2FC',
63
79
  blue200: '#A0BFF8',
@@ -82,6 +98,14 @@ var colors = {
82
98
  purple500: '#574191',
83
99
  purple600: '#453473',
84
100
  purple700: '#2E224C',
101
+ magenta50: '#F9F1F7',
102
+ magenta100: '#F2DDEB',
103
+ magenta200: '#E2B4D3',
104
+ magenta300: '#CE7EB3',
105
+ magenta400: '#BF569C',
106
+ magenta500: '#914176',
107
+ magenta600: '#72335D',
108
+ magenta700: '#4C223E',
85
109
  brown50: '#F6F0EA',
86
110
  brown100: '#EBE0DB',
87
111
  brown200: '#D2BBB0',
@@ -40,6 +40,7 @@ export var Body = styled('div', function (props) {
40
40
  });
41
41
  });
42
42
  Body.displayName = "Body";
43
+ Body.displayName = 'Body';
43
44
  export var Inner = styled('div', function (props) {
44
45
  return _objectSpread(_objectSpread(_objectSpread({}, getInnerStyles(props)), {}, {
45
46
  backgroundColor: props.$theme.colors.tooltipBackground,
@@ -56,9 +57,11 @@ export var Inner = styled('div', function (props) {
56
57
  });
57
58
  });
58
59
  Inner.displayName = "Inner";
60
+ Inner.displayName = 'Inner';
59
61
  export var Arrow = styled('div', function (props) {
60
62
  return _objectSpread(_objectSpread({}, getArrowStyles(props)), {}, {
61
63
  backgroundColor: props.$theme.colors.tooltipBackground
62
64
  });
63
65
  });
64
- Arrow.displayName = "Arrow";
66
+ Arrow.displayName = "Arrow";
67
+ Arrow.displayName = 'Arrow';
@@ -12,4 +12,5 @@ export { StyledTreeItemList, StyledTreeItem, StyledItemContent, StyledIconContai
12
12
  export { default as TreeLabel } from './tree-label';
13
13
  export { default as TreeLabelInteractable } from './tree-label-interactable';
14
14
  export { toggleIsExpanded };
15
- /** @deprecated use TreeNodeData instead. To be removed in future versions.*/
15
+ /** @deprecated use TreeNodeData instead. To be removed in future versions.*/
16
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -26,6 +26,7 @@ export var StyledTreeItemList = styled('ul', function (_ref) {
26
26
  }, _defineProperty(_ref2, "margin".concat(direction), $isChildNode ? $theme.sizing.scale550 : 0), _defineProperty(_ref2, "overflow", 'auto'), _defineProperty(_ref2, "paddingTop", 0), _defineProperty(_ref2, "paddingBottom", 0), _defineProperty(_ref2, "padding".concat(direction), $isChildNode ? $theme.sizing.scale200 : 0), _defineProperty(_ref2, "position", 'relative'), _defineProperty(_ref2, "outline", 'none'), _defineProperty(_ref2, "display", $expanded ? 'block' : 'none'), _defineProperty(_ref2, "border".concat(direction), $indentGuides && $isChildNode ? "1px solid ".concat($theme.colors.borderOpaque) : 'none'), _ref2;
27
27
  });
28
28
  StyledTreeItemList.displayName = "StyledTreeItemList";
29
+ StyledTreeItemList.displayName = 'StyledTreeItemList';
29
30
  export var StyledTreeItem = styled('li', function (_ref3) {
30
31
  var $theme = _ref3.$theme,
31
32
  $isLeafNode = _ref3.$isLeafNode;
@@ -45,6 +46,7 @@ export var StyledTreeItem = styled('li', function (_ref3) {
45
46
  };
46
47
  });
47
48
  StyledTreeItem.displayName = "StyledTreeItem";
49
+ StyledTreeItem.displayName = 'StyledTreeItem';
48
50
  export var StyledItemContent = styled('div', function (_ref4) {
49
51
  var $theme = _ref4.$theme,
50
52
  $isSelected = _ref4.$isSelected,
@@ -70,6 +72,7 @@ export var StyledItemContent = styled('div', function (_ref4) {
70
72
  });
71
73
  });
72
74
  StyledItemContent.displayName = "StyledItemContent";
75
+ StyledItemContent.displayName = 'StyledItemContent';
73
76
  export var StyledIconContainer = styled('div', function (_ref5) {
74
77
  var $theme = _ref5.$theme;
75
78
  var marginDirection = $theme.direction === 'rtl' ? 'marginLeft' : 'marginRight';
@@ -82,6 +85,7 @@ export var StyledIconContainer = styled('div', function (_ref5) {
82
85
  }, marginDirection, $theme.sizing.scale200);
83
86
  });
84
87
  StyledIconContainer.displayName = "StyledIconContainer";
88
+ StyledIconContainer.displayName = 'StyledIconContainer';
85
89
  export var StyledNoIconContainer = styled('div', function (_ref7) {
86
90
  var _ref8;
87
91
 
@@ -96,9 +100,11 @@ export var StyledNoIconContainer = styled('div', function (_ref7) {
96
100
  }, _defineProperty(_ref8, marginDirection, $theme.sizing.scale200), _defineProperty(_ref8, "width", 0), _defineProperty(_ref8, "height", '1em'), _ref8;
97
101
  });
98
102
  StyledNoIconContainer.displayName = "StyledNoIconContainer";
103
+ StyledNoIconContainer.displayName = 'StyledNoIconContainer';
99
104
  export var StyledLabelInteractable = styled('div', function () {
100
105
  return {
101
106
  width: '100%'
102
107
  };
103
108
  });
104
- StyledLabelInteractable.displayName = "StyledLabelInteractable";
109
+ StyledLabelInteractable.displayName = "StyledLabelInteractable";
110
+ StyledLabelInteractable.displayName = 'StyledLabelInteractable';
@@ -66,6 +66,7 @@ export default function TreeView(props) {
66
66
  };
67
67
 
68
68
  var onKeyDown = function onKeyDown(e, node) {
69
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
69
70
  var elementId = e.target.getAttribute('data-nodeid'); // this check prevents bubbling
70
71
 
71
72
  if (elementId !== getId(node) && parseInt(elementId) !== getId(node)) {
@@ -154,7 +155,8 @@ export default function TreeView(props) {
154
155
  if (selectedNodeId === null && data.length) {
155
156
  setSelectedNodeId(getId(data[0]));
156
157
  }
157
- };
158
+ }; // eslint-disable-next-line @typescript-eslint/no-unused-vars
159
+
158
160
 
159
161
  var onBlur = function onBlur(event) {
160
162
  if (focusVisible) {
@@ -0,0 +1,12 @@
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
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
8
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
+ var PlaywrightTest;
11
+
12
+ (function (_PlaywrightTest) {})(PlaywrightTest || (PlaywrightTest = {}));
@@ -6,8 +6,6 @@ Copyright (c) Uber Technologies, Inc.
6
6
  This source code is licensed under the MIT license found in the
7
7
  LICENSE file in the root directory of this source tree.
8
8
  */
9
-
10
- /* flowlint unclear-type:off */
11
9
  export default function deepMerge(target) {
12
10
  target = target || {};
13
11
  var len = arguments.length <= 1 ? 0 : arguments.length - 1;
@@ -34,9 +32,6 @@ export default function deepMerge(target) {
34
32
 
35
33
  return target;
36
34
  }
37
- /* flowlint unclear-type:error */
38
-
39
- /* eslint-disable-next-line flowtype/no-weak-types */
40
35
 
41
36
  function isCloneable(obj) {
42
37
  /* eslint-disable-next-line eqeqeq */
@@ -8,6 +8,7 @@ LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  import * as React from 'react';
10
10
  export default function (Component, displayName) {
11
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
12
  var DeprecatedComponent = /*#__PURE__*/React.forwardRef(function (props, ref) {
12
13
  if (process.env.NODE_ENV !== "production") {
13
14
  console.warn("We have stabilized the ".concat(displayName, " component, so you can drop the \"Unstable_\" prefix from your imports. We will remove the \"Unstable_\" exports soon, so please make these changes as soon as possible!"));
@@ -145,7 +145,8 @@ export function initFocusVisible(node) {
145
145
  prepare(node.ownerDocument);
146
146
  }
147
147
  }
148
- export var forkFocus = function forkFocus(rootProps, handler) {
148
+ export var forkFocus = // eslint-disable-next-line @typescript-eslint/no-explicit-any
149
+ function forkFocus(rootProps, handler) {
149
150
  return function (e) {
150
151
  if (typeof rootProps.onFocus === 'function') {
151
152
  rootProps.onFocus(e);
@@ -154,7 +155,8 @@ export var forkFocus = function forkFocus(rootProps, handler) {
154
155
  handler(e);
155
156
  };
156
157
  };
157
- export var forkBlur = function forkBlur(rootProps, handler) {
158
+ export var forkBlur = // eslint-disable-next-line @typescript-eslint/no-explicit-any
159
+ function forkBlur(rootProps, handler) {
158
160
  return function (e) {
159
161
  if (typeof rootProps.onBlur === 'function') {
160
162
  rootProps.onBlur(e);
@@ -48,6 +48,7 @@ var StyledFileDragAndDrop = (0, _styles.styled)('div', function (props) {
48
48
  });
49
49
  exports.StyledFileDragAndDrop = StyledFileDragAndDrop;
50
50
  StyledFileDragAndDrop.displayName = "StyledFileDragAndDrop";
51
+ StyledFileDragAndDrop.displayName = 'StyledFileDragAndDrop';
51
52
  var StyledContentMessage = (0, _styles.styled)('div', function (_ref) {
52
53
  var $theme = _ref.$theme,
53
54
  $afterFileDrop = _ref.$afterFileDrop,
@@ -60,6 +61,7 @@ var StyledContentMessage = (0, _styles.styled)('div', function (_ref) {
60
61
  });
61
62
  exports.StyledContentMessage = StyledContentMessage;
62
63
  StyledContentMessage.displayName = "StyledContentMessage";
64
+ StyledContentMessage.displayName = 'StyledContentMessage';
63
65
  var StyledContentSeparator = StyledContentMessage;
64
66
  exports.StyledContentSeparator = StyledContentSeparator;
65
67
  var StyledErrorMessage = (0, _styles.styled)('div', function (props) {
@@ -71,6 +73,7 @@ var StyledErrorMessage = (0, _styles.styled)('div', function (props) {
71
73
  });
72
74
  exports.StyledErrorMessage = StyledErrorMessage;
73
75
  StyledErrorMessage.displayName = "StyledErrorMessage";
76
+ StyledErrorMessage.displayName = 'StyledErrorMessage';
74
77
  var StyledRoot = (0, _styles.styled)('div', function (props) {
75
78
  return _objectSpread(_objectSpread({}, props.$theme.typography.font300), {}, {
76
79
  color: props.$theme.colors.fileUploaderMessageColor
@@ -78,6 +81,8 @@ var StyledRoot = (0, _styles.styled)('div', function (props) {
78
81
  });
79
82
  exports.StyledRoot = StyledRoot;
80
83
  StyledRoot.displayName = "StyledRoot";
84
+ StyledRoot.displayName = 'StyledRoot';
81
85
  var StyledHiddenInput = (0, _styles.styled)('input', {});
82
86
  exports.StyledHiddenInput = StyledHiddenInput;
83
- StyledHiddenInput.displayName = "StyledHiddenInput";
87
+ StyledHiddenInput.displayName = "StyledHiddenInput";
88
+ StyledHiddenInput.displayName = 'StyledHiddenInput';
@@ -16,7 +16,7 @@ export declare const flexGridItemMediaQueryStyle: ({ $theme, flexGridColumnCount
16
16
  width: `calc(${string} - .5px)`;
17
17
  marginBottom: any;
18
18
  }>;
19
- export declare const getResponsiveValue: <T extends unknown>(responsive: Responsive<T>, i: number) => T;
19
+ export declare function getResponsiveValue<T>(responsive?: Responsive<T>, i?: number): T | undefined;
20
20
  export declare const flexGridItemStyle: ({ $flexGridColumnCount, $flexGridColumnGap, $flexGridRowGap, $flexGridItemIndex, $flexGridItemCount, $theme, }: {
21
21
  $flexGridColumnCount?: Responsive<number>;
22
22
  $flexGridColumnGap?: Responsive<Scale>;
@@ -5,7 +5,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.getResponsiveValue = exports.flexGridItemStyle = exports.flexGridItemMediaQueryStyle = exports.default = void 0;
8
+ exports.flexGridItemStyle = exports.flexGridItemMediaQueryStyle = exports.default = void 0;
9
+ exports.getResponsiveValue = getResponsiveValue;
9
10
 
10
11
  var React = _interopRequireWildcard(require("react"));
11
12
 
@@ -66,14 +67,12 @@ var flexGridItemMediaQueryStyle = function flexGridItemMediaQueryStyle(_ref) {
66
67
  // Subtract .5px to avoid rounding issues on IE/Edge
67
68
  // See https://github.com/uber/baseweb/pull/1748
68
69
  width: "calc(".concat(widthCalc, " - .5px)")
69
- }, _defineProperty(_objectSpread2, marginDirection, colGapQuantity && ( //flowlint-line sketchy-number-and:off
70
- (itemIndex + 1) % colCount !== 0 ? colGap : 0)), _defineProperty(_objectSpread2, "marginBottom", rowGapQuantity && ( //flowlint-line sketchy-number-and:off
71
- ~~(itemIndex / colCount) !== ~~((itemCount - 1) / colCount) ? rowGap : 0)), _objectSpread2), itemIndex === itemCount - 1 && (itemIndex + 1) % colCount !== 0 ? _defineProperty({}, marginDirection, "calc(".concat(colCount - itemIndex % colCount - 1, " * (").concat(colGap, " + ").concat(widthCalc, "))")) : {}));
70
+ }, _defineProperty(_objectSpread2, marginDirection, colGapQuantity && ((itemIndex + 1) % colCount !== 0 ? colGap : 0)), _defineProperty(_objectSpread2, "marginBottom", rowGapQuantity && (~~(itemIndex / colCount) !== ~~((itemCount - 1) / colCount) ? rowGap : 0)), _objectSpread2), itemIndex === itemCount - 1 && (itemIndex + 1) % colCount !== 0 ? _defineProperty({}, marginDirection, "calc(".concat(colCount - itemIndex % colCount - 1, " * (").concat(colGap, " + ").concat(widthCalc, "))")) : {}));
72
71
  };
73
72
 
74
73
  exports.flexGridItemMediaQueryStyle = flexGridItemMediaQueryStyle;
75
74
 
76
- var getResponsiveValue = function getResponsiveValue(responsive, i) {
75
+ function getResponsiveValue(responsive, i) {
77
76
  if (!responsive) {
78
77
  return null;
79
78
  }
@@ -83,9 +82,7 @@ var getResponsiveValue = function getResponsiveValue(responsive, i) {
83
82
  }
84
83
 
85
84
  return responsive[i] || responsive[responsive.length - 1];
86
- };
87
-
88
- exports.getResponsiveValue = getResponsiveValue;
85
+ }
89
86
 
90
87
  var flexGridItemStyle = function flexGridItemStyle(_ref3) {
91
88
  var $flexGridColumnCount = _ref3.$flexGridColumnCount,
@@ -164,6 +161,7 @@ var FlexGridItem = function FlexGridItem(_ref4) {
164
161
  var blockOverrides = overrides ? (0, _overrides.mergeOverrides)(flexGridItemOverrides, overrides) : flexGridItemOverrides;
165
162
  return /*#__PURE__*/React.createElement(_block.Block // coerced to any because of how react components are typed.
166
163
  // cannot guarantee an html element
164
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
167
165
  , _extends({
168
166
  ref: forwardedRef,
169
167
  as: as,
@@ -90,9 +90,13 @@ var FlexGrid = function FlexGrid(_ref2) {
90
90
  };
91
91
 
92
92
  var FlexGridComponent = /*#__PURE__*/React.forwardRef(function (props, ref) {
93
- return /*#__PURE__*/React.createElement(FlexGrid, _extends({}, props, {
94
- forwardedRef: ref
95
- }));
93
+ return (
94
+ /*#__PURE__*/
95
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
96
+ React.createElement(FlexGrid, _extends({}, props, {
97
+ forwardedRef: ref
98
+ }))
99
+ );
96
100
  });
97
101
  FlexGridComponent.displayName = 'FlexGrid';
98
102
  var _default = FlexGridComponent;
@@ -1,5 +1,5 @@
1
1
  import type { BlockProps, Responsive, Scale } from '../block';
2
- import { ElementType } from 'react';
2
+ import type { ElementType } from 'react';
3
3
  export declare type FlexGridProps<T extends ElementType = ElementType> = {
4
4
  /** Number of equal-width columns to allow for */
5
5
  flexGridColumnCount?: Responsive<number>;
@@ -30,6 +30,7 @@ var Label = (0, _styles.styled)('label', function (props) {
30
30
  });
31
31
  exports.Label = Label;
32
32
  Label.displayName = "Label";
33
+ Label.displayName = 'Label';
33
34
  var LabelContainer = (0, _styles.styled)('span', function (_ref) {
34
35
  var sizing = _ref.$theme.sizing;
35
36
  return {
@@ -43,6 +44,7 @@ var LabelContainer = (0, _styles.styled)('span', function (_ref) {
43
44
  });
44
45
  exports.LabelContainer = LabelContainer;
45
46
  LabelContainer.displayName = "LabelContainer";
47
+ LabelContainer.displayName = 'LabelContainer';
46
48
  var LabelEndEnhancer = (0, _styles.styled)('span', function (_ref2) {
47
49
  var $disabled = _ref2.$disabled,
48
50
  $counterError = _ref2.$counterError,
@@ -57,6 +59,7 @@ var LabelEndEnhancer = (0, _styles.styled)('span', function (_ref2) {
57
59
  });
58
60
  exports.LabelEndEnhancer = LabelEndEnhancer;
59
61
  LabelEndEnhancer.displayName = "LabelEndEnhancer";
62
+ LabelEndEnhancer.displayName = 'LabelEndEnhancer';
60
63
  var Caption = (0, _styles.styled)('div', function (props) {
61
64
  var $error = props.$error,
62
65
  $positive = props.$positive,
@@ -86,6 +89,7 @@ var Caption = (0, _styles.styled)('div', function (props) {
86
89
  });
87
90
  exports.Caption = Caption;
88
91
  Caption.displayName = "Caption";
92
+ Caption.displayName = 'Caption';
89
93
  var ControlContainer = (0, _styles.styled)('div', function (props) {
90
94
  var sizing = props.$theme.sizing;
91
95
  return {
@@ -94,4 +98,5 @@ var ControlContainer = (0, _styles.styled)('div', function (props) {
94
98
  };
95
99
  });
96
100
  exports.ControlContainer = ControlContainer;
97
- ControlContainer.displayName = "ControlContainer";
101
+ ControlContainer.displayName = "ControlContainer";
102
+ ControlContainer.displayName = 'ControlContainer';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { Override } from '../helpers/overrides';
3
3
  export declare type FormControlState = {
4
4
  captionId: string;
@@ -32,6 +32,7 @@ var Root = (0, _styles.styled)('nav', function (props) {
32
32
  });
33
33
  exports.Root = Root;
34
34
  Root.displayName = "Root";
35
+ Root.displayName = 'Root';
35
36
  var NavigationItem = (0, _styles.styled)('li', function (props) {
36
37
  var $theme = props.$theme;
37
38
  var scale800 = $theme.sizing.scale800;
@@ -42,6 +43,7 @@ var NavigationItem = (0, _styles.styled)('li', function (props) {
42
43
  });
43
44
  exports.NavigationItem = NavigationItem;
44
45
  NavigationItem.displayName = "NavigationItem";
46
+ NavigationItem.displayName = 'NavigationItem';
45
47
  var NavigationList = (0, _styles.styled)('ul', function (props) {
46
48
  var $align = props.$align,
47
49
  $theme = props.$theme;
@@ -70,4 +72,5 @@ var NavigationList = (0, _styles.styled)('ul', function (props) {
70
72
  };
71
73
  });
72
74
  exports.NavigationList = NavigationList;
73
- NavigationList.displayName = "NavigationList";
75
+ NavigationList.displayName = "NavigationList";
76
+ NavigationList.displayName = 'NavigationList';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { BlockProps } from '../block';
3
3
  export declare type HeadingProps = {
4
4
  /** Set and fix the style level independently on the hierarchy context. */
@@ -202,8 +202,10 @@ var StyledBody = (0, _styles.styled)('div', function (props) {
202
202
  });
203
203
  exports.StyledBody = StyledBody;
204
204
  StyledBody.displayName = "StyledBody";
205
+ StyledBody.displayName = 'StyledBody';
205
206
  var StyledArrow = (0, _styles.styled)('div', function (props) {
206
207
  return _objectSpread({}, clampArrowStyle(props.$arrowOffset, props.$placement, props.$theme.colors.backgroundPrimary));
207
208
  });
208
209
  exports.StyledArrow = StyledArrow;
209
- StyledArrow.displayName = "StyledArrow";
210
+ StyledArrow.displayName = "StyledArrow";
211
+ StyledArrow.displayName = 'StyledArrow';
@@ -37,6 +37,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
37
37
  /**
38
38
  * Given an override argument, returns the component implementation override if it exists
39
39
  */
40
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
40
41
  function getOverride(_override) {
41
42
  if ((0, _reactIs.isValidElementType)(_override)) {
42
43
  return _override;
@@ -46,6 +47,7 @@ function getOverride(_override) {
46
47
  if (_override && _typeof(_override) === 'object') {
47
48
  // Remove this 'any' once this flow issue is fixed:
48
49
  // https://github.com/facebook/flow/issues/6666
50
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
49
51
  return _override.component;
50
52
  } // null/undefined
51
53
 
@@ -85,11 +87,13 @@ function getOverrideProps(_override) {
85
87
  function toObjectOverride(_override) {
86
88
  if ((0, _reactIs.isValidElementType)(_override)) {
87
89
  return {
90
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
88
91
  component: _override
89
92
  };
90
93
  } // Flow can't figure out that typeof 'function' above will
91
94
  // catch React.StatelessFunctionalComponent
92
95
  // (probably related to https://github.com/facebook/flow/issues/6666)
96
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
93
97
 
94
98
 
95
99
  return _override || {};
@@ -97,9 +101,12 @@ function toObjectOverride(_override) {
97
101
  /**
98
102
  * Get a convenient override array that will always have [component, props]
99
103
  */
104
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
100
105
 
101
106
 
102
- function getOverrides(_override, defaultComponent) {
107
+ function getOverrides( // eslint-disable-next-line @typescript-eslint/no-explicit-any
108
+ _override, // eslint-disable-next-line @typescript-eslint/no-explicit-any
109
+ defaultComponent) {
103
110
  var Component = getOverride(_override) || defaultComponent;
104
111
 
105
112
  if (_override && _typeof(_override) === 'object' && typeof _override.props === 'function') {
@@ -126,8 +133,6 @@ function getOverrides(_override, defaultComponent) {
126
133
  var props = getOverrideProps(_override);
127
134
  return [Component, props];
128
135
  }
129
- /* flowlint unclear-type:error */
130
-
131
136
  /**
132
137
  * Merges two overrides objects – this is useful if you want to inject your own
133
138
  * overrides into a child component, but also accept further overrides from
@@ -5,7 +5,7 @@ This source code is licensed under the MIT license found in the
5
5
  LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  // @flow
8
- /* eslint-disable cup/no-undef */
8
+
9
9
  import * as React from 'react';
10
10
  import { isValidElementType } from 'react-is';
11
11
  import deepMerge from '../utils/deep-merge.js';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { Theme } from '../styles/types';
3
3
  import type { Override } from '../helpers/overrides';
4
4
  export declare type BaseProviderOverrides = {
@@ -7,8 +7,6 @@ This source code is licensed under the MIT license found in the
7
7
  LICENSE file in the root directory of this source tree.
8
8
  */
9
9
 
10
- /* eslint-disable flowtype/require-valid-file-annotation */
11
-
12
10
  /* eslint-env node*/
13
11
  "use strict";
14
12
 
@@ -7,7 +7,6 @@ This source code is licensed under the MIT license found in the
7
7
  LICENSE file in the root directory of this source tree.
8
8
  */
9
9
 
10
- /* eslint-disable flowtype/require-valid-file-annotation */
11
10
  /* eslint-env node*/
12
11
  const fs = require('fs');
13
12
  const path = require('path');
package/icon/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { StyledComponentArgs } from './types';
2
2
  export { default as Icon } from './icon';
3
- export { Svg as StyledSvg } from './styled-components';
3
+ export { Svg as StyledSvg, getSvgStyles } from './styled-components';
4
4
  export * from './icon-exports';
5
5
  export * from './types';
6
6
  /** @deprecated use StyledComponentArgs instead. To be removed in future versions.*/