baseui 12.0.0 → 12.1.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 (655) 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 +7 -2
  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 +7 -2
  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/file-uploader.js +82 -78
  137. package/es/file-uploader/styled-components.js +6 -1
  138. package/es/flex-grid/flex-grid-item.js +5 -6
  139. package/es/flex-grid/flex-grid.js +4 -1
  140. package/es/form-control/styled-components.js +6 -1
  141. package/es/header-navigation/styled-components.js +4 -1
  142. package/es/helper/styled-components.js +3 -1
  143. package/es/helpers/overrides.js +9 -5
  144. package/es/icon/build-icons.js +0 -2
  145. package/es/icon/index.js +1 -1
  146. package/es/icon/omit-dollar-prefixed-keys.js +1 -0
  147. package/es/icon/styled-components.js +2 -1
  148. package/es/input/base-input.js +9 -12
  149. package/es/input/input.js +9 -13
  150. package/es/input/masked-input.js +9 -2
  151. package/es/input/stateful-container.js +1 -0
  152. package/es/input/styled-components.js +18 -7
  153. package/es/input/utils.js +2 -0
  154. package/es/layer/layer.js +24 -0
  155. package/es/layer/layers-manager.js +91 -1
  156. package/es/layout-grid/styled-components.js +3 -0
  157. package/es/link/index.js +2 -1
  158. package/es/link/styled-components.js +2 -1
  159. package/es/list/list-heading.js +21 -17
  160. package/es/list/list-item.js +2 -1
  161. package/es/list/styled-components.js +17 -1
  162. package/es/locale/es_AR.js +3 -1
  163. package/es/locale/index.js +2 -1
  164. package/es/locale/tr_TR.js +3 -1
  165. package/es/map-marker/constants.js +14 -0
  166. package/es/map-marker/fixed-marker.js +1 -0
  167. package/es/map-marker/index.js +2 -1
  168. package/es/map-marker/location-puck.js +142 -0
  169. package/es/map-marker/pin-head.js +1 -0
  170. package/es/map-marker/styled-components.js +86 -2
  171. package/es/menu/index.js +1 -1
  172. package/es/menu/menu.js +14 -4
  173. package/es/menu/option-profile.js +1 -0
  174. package/es/menu/stateful-container.js +10 -0
  175. package/es/menu/styled-components.js +32 -2
  176. package/es/message-card/constants.js +19 -0
  177. package/es/message-card/index.js +10 -0
  178. package/es/message-card/message-card.js +114 -0
  179. package/es/message-card/styled-components.js +108 -0
  180. package/es/message-card/types.js +1 -0
  181. package/es/message-card/utils.js +27 -0
  182. package/es/modal/modal.js +4 -6
  183. package/es/modal/styled-components.js +8 -1
  184. package/es/pagination/stateful-container.js +1 -0
  185. package/es/pagination/stateful-pagination.js +1 -0
  186. package/es/pagination/styled-components.js +4 -1
  187. package/es/payment-card/styled-components.js +2 -1
  188. package/es/phone-input/base-country-picker.js +3 -1
  189. package/es/phone-input/country-select-dropdown.js +1 -0
  190. package/es/phone-input/styled-components.js +15 -4
  191. package/es/pin-code/styled-components.js +4 -1
  192. package/es/popover/popover.js +9 -11
  193. package/es/popover/stateful-container.js +4 -1
  194. package/es/popover/styled-components.js +9 -4
  195. package/es/progress-bar/progressbar-rounded.js +1 -0
  196. package/es/progress-bar/styled-components.js +14 -2
  197. package/es/progress-steps/progress-steps.js +2 -1
  198. package/es/progress-steps/styled-components.js +20 -12
  199. package/es/radio/stateful-radiogroup-container.js +3 -0
  200. package/es/radio/styled-components.js +10 -3
  201. package/es/rating/emoticon-rating.js +2 -1
  202. package/es/rating/star-rating.js +2 -1
  203. package/es/rating/styled-components.js +5 -1
  204. package/es/select/autosize-input.js +2 -3
  205. package/es/select/default-props.js +1 -1
  206. package/es/select/dropdown.js +2 -1
  207. package/es/select/multi-value.js +2 -1
  208. package/es/select/select-component.js +10 -10
  209. package/es/select/single-select.js +2 -2
  210. package/es/select/stateful-select-container.js +2 -0
  211. package/es/select/styled-components.js +33 -6
  212. package/es/select/value.js +3 -4
  213. package/es/side-navigation/index.js +2 -1
  214. package/es/side-navigation/nav-item.js +1 -0
  215. package/es/side-navigation/nav.js +1 -1
  216. package/es/side-navigation/stateful-container.js +1 -0
  217. package/es/side-navigation/styled-components.js +8 -2
  218. package/es/skeleton/styled-components.js +3 -1
  219. package/es/slider/slider.js +4 -2
  220. package/es/slider/stateful-slider-container.js +2 -0
  221. package/es/slider/styled-components.js +9 -0
  222. package/es/snackbar/snackbar-element.js +1 -0
  223. package/es/snackbar/styled-components.js +9 -1
  224. package/es/spinner/styled-components.js +2 -1
  225. package/es/styles/__mocks__/styled.js +8 -5
  226. package/es/styles/styled.js +7 -6
  227. package/es/table/index.js +2 -1
  228. package/es/table/styled-components.js +13 -1
  229. package/es/table-grid/styled-components.js +4 -1
  230. package/es/table-semantic/styled-components.js +20 -3
  231. package/es/tabs/stateful-tabs.js +1 -0
  232. package/es/tabs/styled-components.js +5 -1
  233. package/es/tabs/tabs.js +4 -2
  234. package/es/tabs-motion/styled-components.js +32 -2
  235. package/es/tabs-motion/tab.js +1 -0
  236. package/es/tabs-motion/tabs.js +31 -6
  237. package/es/tag/styled-components.js +32 -1
  238. package/es/tag/tag.js +6 -2
  239. package/es/textarea/styled-components.js +20 -12
  240. package/es/textarea/textarea.js +13 -15
  241. package/es/themes/dark-theme/color-component-tokens.js +1 -1
  242. package/es/themes/light-theme/color-component-tokens.js +1 -1
  243. package/es/themes/move-theme/typography.js +36 -0
  244. package/es/themes/shared/borders.js +8 -3
  245. package/es/themes/shared/typography.js +10 -10
  246. package/es/timezonepicker/timezone-picker.js +5 -1
  247. package/es/timezonepicker/tzdata.js +1 -1
  248. package/es/timezonepicker/update-tzdata.js +11 -6
  249. package/es/toast/styled-components.js +5 -1
  250. package/es/toast/toaster.js +0 -2
  251. package/es/tokens/colors.js +24 -0
  252. package/es/tooltip/styled-components.js +4 -1
  253. package/es/tree-view/index.js +2 -1
  254. package/es/tree-view/styled-components.js +7 -1
  255. package/es/tree-view/tree-view.js +3 -1
  256. package/es/types/globals.d.js +12 -0
  257. package/es/utils/deep-merge.js +0 -5
  258. package/es/utils/deprecated-component.js +1 -0
  259. package/es/utils/focusVisible.js +4 -2
  260. package/esm/accordion/accordion.js +4 -4
  261. package/esm/accordion/panel.js +3 -2
  262. package/esm/accordion/stateful-panel-container.js +1 -0
  263. package/esm/accordion/styled-components.js +8 -1
  264. package/esm/app-nav-bar/app-nav-bar.js +4 -2
  265. package/esm/app-nav-bar/mobile-menu.js +4 -2
  266. package/esm/app-nav-bar/styled-components.js +19 -1
  267. package/esm/app-nav-bar/user-menu.js +1 -1
  268. package/esm/aspect-ratio-box/aspect-ratio-box.js +3 -1
  269. package/esm/avatar/styled-components.js +4 -1
  270. package/esm/badge/styled-components.js +11 -6
  271. package/esm/banner/styled-components.js +16 -3
  272. package/esm/block/block.js +3 -1
  273. package/esm/block/styled-components.js +2 -1
  274. package/esm/breadcrumbs/styled-components.js +7 -2
  275. package/esm/button/styled-components.js +7 -0
  276. package/esm/button-group/stateful-button-group.js +1 -0
  277. package/esm/button-group/stateful-container.js +3 -1
  278. package/esm/button-group/styled-components.js +2 -1
  279. package/esm/card/index.js +2 -1
  280. package/esm/card/styled-components.js +12 -4
  281. package/esm/checkbox/index.js +1 -0
  282. package/esm/checkbox/styled-components.js +10 -4
  283. package/esm/combobox/combobox.js +78 -71
  284. package/esm/combobox/styled-components.js +5 -1
  285. package/esm/data-table/column-anchor.js +3 -0
  286. package/esm/data-table/column-datetime.js +12 -5
  287. package/esm/data-table/column-numerical.js +4 -4
  288. package/esm/data-table/column-string.js +3 -0
  289. package/esm/data-table/column.js +5 -1
  290. package/esm/data-table/data-table.js +6 -3
  291. package/esm/data-table/filter-menu.js +2 -1
  292. package/esm/data-table/header-cell.js +42 -34
  293. package/esm/data-table/locale.js +3 -1
  294. package/esm/data-table/measure-column-widths.js +5 -4
  295. package/esm/data-table/stateful-container.js +2 -1
  296. package/esm/data-table/stateful-data-table.js +4 -4
  297. package/esm/datepicker/calendar-header.js +1 -0
  298. package/esm/datepicker/calendar.js +2 -0
  299. package/esm/datepicker/datepicker.js +3 -1
  300. package/esm/datepicker/day.js +2 -1
  301. package/esm/datepicker/index.js +1 -1
  302. package/esm/datepicker/stateful-calendar.js +7 -3
  303. package/esm/datepicker/stateful-container.js +2 -0
  304. package/esm/datepicker/stateful-datepicker.js +9 -4
  305. package/esm/datepicker/styled-components.js +26 -3
  306. package/esm/datepicker/utils/date-helpers.js +2 -1
  307. package/esm/datepicker/utils/index.js +2 -1
  308. package/esm/divider/styled-components.js +3 -2
  309. package/esm/dnd-list/stateful-list-container.js +1 -0
  310. package/esm/dnd-list/styled-components.js +7 -0
  311. package/esm/drawer/constants.js +1 -0
  312. package/esm/drawer/drawer.js +2 -5
  313. package/esm/drawer/styled-components.js +9 -2
  314. package/esm/file-uploader/file-uploader.js +87 -83
  315. package/esm/file-uploader/styled-components.js +6 -1
  316. package/esm/flex-grid/flex-grid-item.js +4 -5
  317. package/esm/flex-grid/flex-grid.js +7 -3
  318. package/esm/form-control/styled-components.js +6 -1
  319. package/esm/header-navigation/styled-components.js +4 -1
  320. package/esm/helper/styled-components.js +3 -1
  321. package/esm/helpers/overrides.js +9 -5
  322. package/esm/icon/build-icons.js +0 -2
  323. package/esm/icon/index.js +1 -1
  324. package/esm/icon/omit-dollar-prefixed-keys.js +1 -0
  325. package/esm/icon/styled-components.js +2 -1
  326. package/esm/input/base-input.js +9 -12
  327. package/esm/input/input.js +9 -13
  328. package/esm/input/masked-input.js +5 -2
  329. package/esm/input/stateful-container.js +1 -0
  330. package/esm/input/styled-components.js +18 -7
  331. package/esm/input/utils.js +2 -0
  332. package/esm/layer/layer.js +24 -0
  333. package/esm/layer/layers-manager.js +97 -1
  334. package/esm/layout-grid/styled-components.js +3 -0
  335. package/esm/link/index.js +2 -1
  336. package/esm/link/styled-components.js +2 -1
  337. package/esm/list/list-heading.js +21 -17
  338. package/esm/list/list-item.js +2 -1
  339. package/esm/list/styled-components.js +17 -1
  340. package/esm/locale/es_AR.js +3 -1
  341. package/esm/locale/index.js +4 -1
  342. package/esm/locale/tr_TR.js +3 -1
  343. package/esm/map-marker/constants.js +12 -2
  344. package/esm/map-marker/index.js +2 -1
  345. package/esm/map-marker/location-puck.js +199 -0
  346. package/esm/map-marker/styled-components.js +82 -2
  347. package/esm/menu/index.js +1 -1
  348. package/esm/menu/menu.js +16 -4
  349. package/esm/menu/option-profile.js +1 -0
  350. package/esm/menu/stateful-container.js +1 -0
  351. package/esm/menu/styled-components.js +38 -6
  352. package/esm/message-card/constants.js +20 -0
  353. package/esm/message-card/index.js +10 -0
  354. package/esm/message-card/message-card.js +168 -0
  355. package/esm/message-card/styled-components.js +116 -0
  356. package/esm/message-card/types.js +1 -0
  357. package/esm/message-card/utils.js +26 -0
  358. package/esm/modal/modal.js +4 -6
  359. package/esm/modal/styled-components.js +8 -1
  360. package/esm/pagination/stateful-container.js +1 -0
  361. package/esm/pagination/stateful-pagination.js +1 -0
  362. package/esm/pagination/styled-components.js +4 -1
  363. package/esm/payment-card/styled-components.js +2 -1
  364. package/esm/phone-input/base-country-picker.js +3 -1
  365. package/esm/phone-input/country-select-dropdown.js +1 -0
  366. package/esm/phone-input/styled-components.js +20 -8
  367. package/esm/pin-code/styled-components.js +4 -1
  368. package/esm/popover/popover.js +9 -11
  369. package/esm/popover/stateful-container.js +4 -1
  370. package/esm/popover/styled-components.js +9 -4
  371. package/esm/progress-bar/progressbar-rounded.js +1 -0
  372. package/esm/progress-bar/styled-components.js +14 -2
  373. package/esm/progress-steps/progress-steps.js +2 -1
  374. package/esm/progress-steps/styled-components.js +28 -19
  375. package/esm/radio/styled-components.js +10 -3
  376. package/esm/rating/emoticon-rating.js +2 -1
  377. package/esm/rating/star-rating.js +2 -1
  378. package/esm/rating/styled-components.js +5 -1
  379. package/esm/select/autosize-input.js +2 -3
  380. package/esm/select/default-props.js +1 -1
  381. package/esm/select/dropdown.js +2 -1
  382. package/esm/select/multi-value.js +2 -1
  383. package/esm/select/select-component.js +10 -10
  384. package/esm/select/single-select.js +2 -2
  385. package/esm/select/styled-components.js +33 -6
  386. package/esm/select/value.js +3 -4
  387. package/esm/side-navigation/index.js +2 -1
  388. package/esm/side-navigation/nav-item.js +1 -0
  389. package/esm/side-navigation/nav.js +1 -1
  390. package/esm/side-navigation/stateful-container.js +1 -0
  391. package/esm/side-navigation/styled-components.js +13 -6
  392. package/esm/skeleton/styled-components.js +3 -1
  393. package/esm/slider/slider.js +4 -2
  394. package/esm/slider/styled-components.js +9 -0
  395. package/esm/snackbar/snackbar-element.js +1 -0
  396. package/esm/snackbar/styled-components.js +9 -1
  397. package/esm/spinner/styled-components.js +2 -1
  398. package/esm/styles/__mocks__/styled.js +8 -5
  399. package/esm/styles/styled.js +7 -6
  400. package/esm/table/index.js +2 -1
  401. package/esm/table/styled-components.js +13 -1
  402. package/esm/table-grid/styled-components.js +4 -1
  403. package/esm/table-semantic/styled-components.js +20 -3
  404. package/esm/tabs/stateful-tabs.js +1 -0
  405. package/esm/tabs/styled-components.js +5 -1
  406. package/esm/tabs/tabs.js +4 -2
  407. package/esm/tabs-motion/styled-components.js +68 -40
  408. package/esm/tabs-motion/tab.js +1 -0
  409. package/esm/tabs-motion/tabs.js +87 -58
  410. package/esm/tag/styled-components.js +5 -1
  411. package/esm/tag/tag.js +4 -2
  412. package/esm/textarea/styled-components.js +11 -6
  413. package/esm/textarea/textarea.js +13 -15
  414. package/esm/themes/dark-theme/color-component-tokens.js +1 -1
  415. package/esm/themes/light-theme/color-component-tokens.js +1 -1
  416. package/esm/themes/move-theme/typography.js +36 -0
  417. package/esm/themes/shared/borders.js +8 -3
  418. package/esm/themes/shared/typography.js +10 -10
  419. package/esm/timezonepicker/timezone-picker.js +6 -2
  420. package/esm/timezonepicker/tzdata.js +1 -1
  421. package/esm/timezonepicker/update-tzdata.js +51 -39
  422. package/esm/toast/styled-components.js +5 -1
  423. package/esm/toast/toaster.js +0 -2
  424. package/esm/tokens/colors.js +24 -0
  425. package/esm/tooltip/styled-components.js +4 -1
  426. package/esm/tree-view/index.js +2 -1
  427. package/esm/tree-view/styled-components.js +7 -1
  428. package/esm/tree-view/tree-view.js +3 -1
  429. package/esm/types/globals.d.js +12 -0
  430. package/esm/utils/deep-merge.js +0 -5
  431. package/esm/utils/deprecated-component.js +1 -0
  432. package/esm/utils/focusVisible.js +4 -2
  433. package/file-uploader/file-uploader.js +87 -83
  434. package/file-uploader/styled-components.js +6 -1
  435. package/flex-grid/flex-grid-item.d.ts +1 -1
  436. package/flex-grid/flex-grid-item.js +6 -8
  437. package/flex-grid/flex-grid.js +7 -3
  438. package/flex-grid/types.d.ts +1 -1
  439. package/form-control/styled-components.js +6 -1
  440. package/form-control/types.d.ts +1 -1
  441. package/header-navigation/styled-components.js +4 -1
  442. package/heading/types.d.ts +1 -1
  443. package/helper/styled-components.js +3 -1
  444. package/helpers/overrides.js +8 -3
  445. package/helpers/overrides.js.flow +1 -1
  446. package/helpers/types.d.ts +1 -1
  447. package/icon/build-icons.js +0 -2
  448. package/icon/build-icons.js.flow +0 -1
  449. package/icon/index.d.ts +1 -1
  450. package/icon/index.js +8 -1
  451. package/icon/index.js.flow +1 -1
  452. package/icon/omit-dollar-prefixed-keys.js +1 -0
  453. package/icon/styled-components.js +2 -1
  454. package/icon/types.d.ts +1 -1
  455. package/input/base-input.js +8 -12
  456. package/input/base-input.js.flow +4 -8
  457. package/input/input.js +9 -13
  458. package/input/input.js.flow +5 -9
  459. package/input/masked-input.js +5 -2
  460. package/input/stateful-container.js +1 -0
  461. package/input/styled-components.js +18 -7
  462. package/input/styled-components.js.flow +9 -2
  463. package/input/types.d.ts +16 -14
  464. package/input/types.js.flow +3 -0
  465. package/input/utils.js +2 -0
  466. package/layer/layer.js +24 -0
  467. package/layer/layer.js.flow +25 -0
  468. package/layer/layers-manager.d.ts +8 -0
  469. package/layer/layers-manager.js +97 -1
  470. package/layer/layers-manager.js.flow +84 -1
  471. package/layer/types.d.ts +23 -2
  472. package/layer/types.js.flow +22 -1
  473. package/layout-grid/styled-components.js +3 -0
  474. package/layout-grid/types.d.ts +2 -2
  475. package/link/index.js +2 -1
  476. package/link/styled-components.js +2 -1
  477. package/list/list-heading.js +21 -17
  478. package/list/list-item.js +2 -1
  479. package/list/styled-components.js +17 -1
  480. package/list/types.d.ts +2 -2
  481. package/locale/en_US.d.ts +1 -1
  482. package/locale/es_AR.d.ts +1 -1
  483. package/locale/es_AR.js +3 -1
  484. package/locale/index.js +4 -1
  485. package/locale/tr_TR.d.ts +1 -1
  486. package/locale/tr_TR.js +3 -1
  487. package/map-marker/constants.d.ts +14 -0
  488. package/map-marker/constants.js +16 -3
  489. package/map-marker/constants.js.flow +17 -0
  490. package/map-marker/index.d.ts +2 -1
  491. package/map-marker/index.js +24 -1
  492. package/map-marker/index.js.flow +5 -3
  493. package/map-marker/location-puck.d.ts +4 -0
  494. package/map-marker/location-puck.js +211 -0
  495. package/map-marker/location-puck.js.flow +18 -0
  496. package/map-marker/styled-components.d.ts +17 -1
  497. package/map-marker/styled-components.js +88 -2
  498. package/map-marker/styled-components.js.flow +58 -0
  499. package/map-marker/types.d.ts +33 -5
  500. package/map-marker/types.js.flow +37 -3
  501. package/menu/index.d.ts +2 -3
  502. package/menu/index.js +8 -1
  503. package/menu/index.js.flow +1 -0
  504. package/menu/menu.js +15 -3
  505. package/menu/menu.js.flow +11 -1
  506. package/menu/option-profile.js +1 -0
  507. package/menu/stateful-container.js +1 -0
  508. package/menu/styled-components.d.ts +1 -0
  509. package/menu/styled-components.js +40 -7
  510. package/menu/styled-components.js.flow +13 -0
  511. package/menu/types.d.ts +13 -13
  512. package/menu/types.js.flow +1 -0
  513. package/message-card/constants.d.ts +12 -0
  514. package/message-card/constants.js +25 -0
  515. package/message-card/index.d.ts +4 -0
  516. package/message-card/index.js +60 -0
  517. package/message-card/index.js.flow +72 -0
  518. package/message-card/message-card.d.ts +4 -0
  519. package/message-card/message-card.js +184 -0
  520. package/message-card/package.json +4 -0
  521. package/message-card/styled-components.d.ts +14 -0
  522. package/message-card/styled-components.js +124 -0
  523. package/message-card/types.d.ts +27 -0
  524. package/message-card/types.js +5 -0
  525. package/message-card/utils.d.ts +1 -0
  526. package/message-card/utils.js +36 -0
  527. package/modal/modal.js +4 -4
  528. package/modal/modal.js.flow +1 -3
  529. package/modal/styled-components.js +8 -1
  530. package/modal/types.d.ts +2 -2
  531. package/package.json +10 -12
  532. package/pagination/stateful-container.js +1 -0
  533. package/pagination/stateful-pagination.js +1 -0
  534. package/pagination/styled-components.js +4 -1
  535. package/pagination/types.d.ts +2 -2
  536. package/payment-card/styled-components.js +2 -1
  537. package/phone-input/base-country-picker.js +3 -1
  538. package/phone-input/country-select-dropdown.js +1 -0
  539. package/phone-input/styled-components.js +21 -9
  540. package/phone-input/types.d.ts +5 -6
  541. package/pin-code/styled-components.js +4 -1
  542. package/pin-code/types.d.ts +2 -2
  543. package/popover/popover.js +9 -11
  544. package/popover/popover.js.flow +2 -12
  545. package/popover/stateful-container.js +5 -1
  546. package/popover/styled-components.js +12 -9
  547. package/popover/types.d.ts +2 -2
  548. package/progress-bar/progressbar-rounded.js +1 -0
  549. package/progress-bar/styled-components.d.ts +4 -1
  550. package/progress-bar/styled-components.js +14 -2
  551. package/progress-bar/types.d.ts +2 -2
  552. package/progress-steps/progress-steps.js +2 -1
  553. package/progress-steps/styled-components.js +28 -19
  554. package/radio/styled-components.js +10 -3
  555. package/radio/types.d.ts +19 -20
  556. package/rating/emoticon-rating.js +2 -1
  557. package/rating/star-rating.js +2 -1
  558. package/rating/styled-components.js +5 -1
  559. package/select/autosize-input.js +2 -1
  560. package/select/autosize-input.js.flow +1 -1
  561. package/select/default-props.js +1 -1
  562. package/select/dropdown.js +2 -1
  563. package/select/multi-value.js +1 -0
  564. package/select/select-component.d.ts +1 -1
  565. package/select/select-component.js +9 -7
  566. package/select/select-component.js.flow +1 -1
  567. package/select/single-select.d.ts +2 -2
  568. package/select/single-select.js +2 -2
  569. package/select/styled-components.js +33 -6
  570. package/select/styled-components.js.flow +25 -5
  571. package/select/types.d.ts +5 -6
  572. package/select/value.js +2 -3
  573. package/side-navigation/nav-item.js +1 -0
  574. package/side-navigation/nav.js +1 -1
  575. package/side-navigation/stateful-container.js +1 -0
  576. package/side-navigation/styled-components.js +13 -6
  577. package/side-navigation/types.d.ts +4 -4
  578. package/skeleton/styled-components.js +3 -1
  579. package/slider/slider.js +4 -2
  580. package/slider/styled-components.js +9 -0
  581. package/slider/types.d.ts +1 -1
  582. package/snackbar/snackbar-element.js +1 -0
  583. package/snackbar/styled-components.js +9 -1
  584. package/snackbar/types.d.ts +3 -4
  585. package/spinner/styled-components.js +2 -1
  586. package/spinner/types.d.ts +1 -1
  587. package/styles/__mocks__/styled.js +8 -3
  588. package/styles/styled.d.ts +1 -1
  589. package/styles/styled.js +7 -6
  590. package/table/styled-components.js +13 -1
  591. package/table/types.d.ts +2 -2
  592. package/table-grid/styled-components.js +4 -1
  593. package/table-semantic/styled-components.js +20 -3
  594. package/table-semantic/types.d.ts +2 -2
  595. package/tabs/stateful-tabs.js +1 -0
  596. package/tabs/styled-components.js +5 -1
  597. package/tabs/tabs.js +4 -2
  598. package/tabs/types.d.ts +2 -2
  599. package/tabs-motion/styled-components.d.ts +5 -0
  600. package/tabs-motion/styled-components.js +71 -41
  601. package/tabs-motion/styled-components.js.flow +21 -0
  602. package/tabs-motion/tab.js +1 -0
  603. package/tabs-motion/tabs.d.ts +1 -1
  604. package/tabs-motion/tabs.js +87 -57
  605. package/tabs-motion/tabs.js.flow +69 -38
  606. package/tabs-motion/types.d.ts +5 -2
  607. package/tabs-motion/types.js.flow +3 -0
  608. package/tabs-motion/utils.d.ts +1 -1
  609. package/tag/styled-components.js +5 -1
  610. package/tag/tag.js +4 -2
  611. package/tag/types.d.ts +4 -5
  612. package/textarea/styled-components.js +11 -6
  613. package/textarea/textarea.js +13 -15
  614. package/textarea/textarea.js.flow +5 -9
  615. package/textarea/types.d.ts +6 -5
  616. package/textarea/types.js.flow +3 -1
  617. package/themes/dark-theme/color-component-tokens.js +1 -1
  618. package/themes/dark-theme/color-component-tokens.js.flow +1 -1
  619. package/themes/light-theme/color-component-tokens.js +1 -1
  620. package/themes/light-theme/color-component-tokens.js.flow +1 -1
  621. package/themes/move-theme/typography.d.ts +36 -0
  622. package/themes/move-theme/typography.js +36 -0
  623. package/themes/move-theme/typography.js.flow +12 -0
  624. package/themes/shared/borders.js +8 -3
  625. package/themes/shared/borders.js.flow +7 -3
  626. package/themes/shared/typography.js +10 -10
  627. package/themes/shared/typography.js.flow +10 -10
  628. package/themes/types.d.ts +3 -0
  629. package/themes/types.js.flow +3 -0
  630. package/timezonepicker/timezone-picker.js +6 -2
  631. package/timezonepicker/types.d.ts +1 -0
  632. package/timezonepicker/types.js.flow +1 -0
  633. package/timezonepicker/tzdata.js +1 -1
  634. package/timezonepicker/update-tzdata.js +51 -39
  635. package/toast/styled-components.js +5 -1
  636. package/toast/toaster.js.flow +1 -1
  637. package/toast/types.d.ts +2 -2
  638. package/tokens/colors.js +24 -0
  639. package/tokens/colors.js.flow +27 -0
  640. package/tokens/types.d.ts +24 -0
  641. package/tokens/types.js.flow +27 -0
  642. package/tooltip/styled-components.js +4 -1
  643. package/tree-view/styled-components.js +7 -1
  644. package/tree-view/tree-view.js +3 -1
  645. package/tree-view/types.d.ts +3 -4
  646. package/types/globals.d.js +14 -1
  647. package/utils/deep-merge.js +0 -6
  648. package/utils/deprecated-component.js +1 -0
  649. package/utils/focusVisible.d.ts +1 -1
  650. package/utils/focusVisible.js +4 -2
  651. package/card/images.d.ts +0 -2
  652. package/card/images.js +0 -17
  653. package/card/images.js.flow +0 -18
  654. package/es/card/images.js +0 -8
  655. package/esm/card/images.js +0 -8
@@ -64,27 +64,23 @@ var Textarea = /*#__PURE__*/function (_React$Component) {
64
64
  _this = _super.call.apply(_super, [this].concat(args));
65
65
 
66
66
  _defineProperty(_assertThisInitialized(_this), "state", {
67
- isFocused: _this.props.autoFocus && !_this.props.readOnly || false
67
+ isFocused: _this.props.autoFocus || false
68
68
  });
69
69
 
70
70
  _defineProperty(_assertThisInitialized(_this), "onFocus", function (e) {
71
- if (!_this.props.readOnly) {
72
- _this.setState({
73
- isFocused: true
74
- });
71
+ _this.setState({
72
+ isFocused: true
73
+ });
75
74
 
76
- _this.props.onFocus(e);
77
- }
75
+ _this.props.onFocus(e);
78
76
  });
79
77
 
80
78
  _defineProperty(_assertThisInitialized(_this), "onBlur", function (e) {
81
- if (!_this.props.readOnly) {
82
- _this.setState({
83
- isFocused: false
84
- });
79
+ _this.setState({
80
+ isFocused: false
81
+ });
85
82
 
86
- _this.props.onBlur(e);
87
- }
83
+ _this.props.onBlur(e);
88
84
  });
89
85
 
90
86
  return _this;
@@ -116,12 +112,14 @@ var Textarea = /*#__PURE__*/function (_React$Component) {
116
112
  $disabled: this.props.disabled,
117
113
  $error: this.props.error,
118
114
  $positive: this.props.positive,
119
- $required: this.props.required
115
+ $required: this.props.required,
116
+ $resize: this.props.resize
120
117
  }, rootProps), /*#__PURE__*/React.createElement(BaseInput, _extends({}, this.props, {
121
118
  type: CUSTOM_INPUT_TYPE.textarea,
122
119
  overrides: inputOverrides,
123
120
  onFocus: this.onFocus,
124
- onBlur: this.onBlur
121
+ onBlur: this.onBlur,
122
+ resize: this.props.resize
125
123
  })));
126
124
  }
127
125
  }]);
@@ -57,7 +57,7 @@ export default (function () {
57
57
  buttonDisabledSpinnerForeground: themePrimitives.mono200,
58
58
  buttonDisabledSpinnerBackground: themePrimitives.mono400,
59
59
  // Breadcrumbs
60
- breadcrumbsText: themePrimitives.mono100,
60
+ breadcrumbsText: themePrimitives.white,
61
61
  breadcrumbsSeparatorFill: themePrimitives.mono200,
62
62
  // Datepicker
63
63
  calendarBackground: themePrimitives.mono800,
@@ -57,7 +57,7 @@ export default (function () {
57
57
  buttonDisabledSpinnerForeground: themePrimitives.mono600,
58
58
  buttonDisabledSpinnerBackground: themePrimitives.mono400,
59
59
  // Breadcrumbs
60
- breadcrumbsText: themePrimitives.mono900,
60
+ breadcrumbsText: themePrimitives.black,
61
61
  breadcrumbsSeparatorFill: themePrimitives.mono700,
62
62
  // Datepicker
63
63
  calendarBackground: themePrimitives.mono100,
@@ -22,6 +22,24 @@ export var typography = {
22
22
  font1150: {
23
23
  fontFamily: secondaryFontFamily
24
24
  },
25
+ font1050: {
26
+ fontFamily: secondaryFontFamily
27
+ },
28
+ font950: {
29
+ fontFamily: secondaryFontFamily
30
+ },
31
+ font850: {
32
+ fontFamily: secondaryFontFamily
33
+ },
34
+ font750: {
35
+ fontFamily: secondaryFontFamily
36
+ },
37
+ font650: {
38
+ fontFamily: secondaryFontFamily
39
+ },
40
+ font550: {
41
+ fontFamily: secondaryFontFamily
42
+ },
25
43
  DisplayLarge: {
26
44
  fontFamily: secondaryFontFamily
27
45
  },
@@ -34,6 +52,24 @@ export var typography = {
34
52
  DisplayXSmall: {
35
53
  fontFamily: secondaryFontFamily
36
54
  },
55
+ HeadingXXLarge: {
56
+ fontFamily: secondaryFontFamily
57
+ },
58
+ HeadingXLarge: {
59
+ fontFamily: secondaryFontFamily
60
+ },
61
+ HeadingLarge: {
62
+ fontFamily: secondaryFontFamily
63
+ },
64
+ HeadingMedium: {
65
+ fontFamily: secondaryFontFamily
66
+ },
67
+ HeadingSmall: {
68
+ fontFamily: secondaryFontFamily
69
+ },
70
+ HeadingXSmall: {
71
+ fontFamily: secondaryFontFamily
72
+ },
37
73
  MonoParagraphXSmall: {
38
74
  fontFamily: monoFontFamily
39
75
  },
@@ -47,13 +47,18 @@ var borders = {
47
47
  useRoundedCorners: true,
48
48
 
49
49
  /** Button, ButtonGroup */
50
+ buttonBorderRadiusMini: '4px',
50
51
  buttonBorderRadius: '8px',
51
52
 
52
- /** Input, Select, Textarea, Checkbox */
53
- inputBorderRadius: '0px',
53
+ /** Checkbox */
54
+ checkboxBorderRadius: '0px',
55
+
56
+ /** Input, Select, Textarea */
57
+ inputBorderRadiusMini: '4px',
58
+ inputBorderRadius: '8px',
54
59
 
55
60
  /** Popover, Menu, Tooltip */
56
- popoverBorderRadius: '0px',
61
+ popoverBorderRadius: '8px',
57
62
 
58
63
  /** Card, Datepicker, Modal, Toast, Notification */
59
64
  surfaceBorderRadius: '0px',
@@ -67,61 +67,61 @@ export default (function () {
67
67
  var font550 = {
68
68
  fontFamily: fontTokens.primaryFontFamily,
69
69
  fontSize: '20px',
70
- fontWeight: 500,
70
+ fontWeight: 700,
71
71
  lineHeight: '28px'
72
72
  };
73
73
  var font650 = {
74
74
  fontFamily: fontTokens.primaryFontFamily,
75
75
  fontSize: '24px',
76
- fontWeight: 500,
76
+ fontWeight: 700,
77
77
  lineHeight: '32px'
78
78
  };
79
79
  var font750 = {
80
80
  fontFamily: fontTokens.primaryFontFamily,
81
81
  fontSize: '28px',
82
- fontWeight: 500,
82
+ fontWeight: 700,
83
83
  lineHeight: '36px'
84
84
  };
85
85
  var font850 = {
86
86
  fontFamily: fontTokens.primaryFontFamily,
87
87
  fontSize: '32px',
88
- fontWeight: 500,
88
+ fontWeight: 700,
89
89
  lineHeight: '40px'
90
90
  };
91
91
  var font950 = {
92
92
  fontFamily: fontTokens.primaryFontFamily,
93
93
  fontSize: '36px',
94
- fontWeight: 500,
94
+ fontWeight: 700,
95
95
  lineHeight: '44px'
96
96
  };
97
97
  var font1050 = {
98
98
  fontFamily: fontTokens.primaryFontFamily,
99
99
  fontSize: '40px',
100
- fontWeight: 500,
100
+ fontWeight: 700,
101
101
  lineHeight: '52px'
102
102
  };
103
103
  var font1150 = {
104
104
  fontFamily: fontTokens.primaryFontFamily,
105
105
  fontSize: '36px',
106
- fontWeight: 500,
106
+ fontWeight: 700,
107
107
  lineHeight: '44px'
108
108
  };
109
109
  var font1250 = {
110
110
  fontFamily: fontTokens.primaryFontFamily,
111
111
  fontSize: '44px',
112
- fontWeight: 500,
112
+ fontWeight: 700,
113
113
  lineHeight: '52px'
114
114
  };
115
115
  var font1350 = {
116
116
  fontFamily: fontTokens.primaryFontFamily,
117
117
  fontSize: '52px',
118
- fontWeight: 500,
118
+ fontWeight: 700,
119
119
  lineHeight: '64px'
120
120
  };
121
121
  var font1450 = {
122
122
  fontFamily: fontTokens.primaryFontFamily,
123
123
  fontSize: '96px',
124
- fontWeight: 500,
124
+ fontWeight: 700,
125
125
  lineHeight: '112px'
126
126
  };
127
127
  return {
@@ -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', 'America/Antigua', 'America/Anguilla', 'Europe/Tirane', 'Asia/Yerevan', 'Africa/Luanda', 'Antarctica/McMurdo', 'Antarctica/Casey', 'Antarctica/Davis', 'Antarctica/DumontDUrville', 'Antarctica/Mawson', 'Antarctica/Palmer', 'Antarctica/Rothera', 'Antarctica/Syowa', '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', 'America/Aruba', 'Europe/Mariehamn', 'Asia/Baku', 'Europe/Sarajevo', 'America/Barbados', 'Asia/Dhaka', 'Europe/Brussels', 'Africa/Ouagadougou', 'Europe/Sofia', 'Asia/Bahrain', 'Africa/Bujumbura', 'Africa/Porto-Novo', 'America/St_Barthelemy', 'Atlantic/Bermuda', 'Asia/Brunei', 'America/La_Paz', 'America/Kralendijk', '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', 'America/Nassau', 'Asia/Thimphu', 'Africa/Gaborone', 'Europe/Minsk', 'America/Belize', 'America/St_Johns', 'America/Halifax', 'America/Glace_Bay', 'America/Moncton', 'America/Goose_Bay', 'America/Blanc-Sablon', 'America/Toronto', 'America/Nipigon', 'America/Thunder_Bay', 'America/Iqaluit', 'America/Pangnirtung', 'America/Atikokan', '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/Creston', 'America/Dawson_Creek', 'America/Fort_Nelson', 'America/Whitehorse', 'America/Dawson', 'America/Vancouver', 'Indian/Cocos', 'Africa/Kinshasa', 'Africa/Lubumbashi', 'Africa/Bangui', 'Africa/Brazzaville', 'Europe/Zurich', 'Africa/Abidjan', 'Pacific/Rarotonga', 'America/Santiago', 'America/Punta_Arenas', 'Pacific/Easter', 'Africa/Douala', 'Asia/Shanghai', 'Asia/Urumqi', 'America/Bogota', 'America/Costa_Rica', 'America/Havana', 'Atlantic/Cape_Verde', 'America/Curacao', 'Indian/Christmas', 'Asia/Nicosia', 'Asia/Famagusta', 'Europe/Prague', 'Europe/Berlin', 'Europe/Busingen', 'Africa/Djibouti', 'Europe/Copenhagen', 'America/Dominica', 'America/Santo_Domingo', 'Africa/Algiers', 'America/Guayaquil', 'Pacific/Galapagos', 'Europe/Tallinn', 'Africa/Cairo', 'Africa/El_Aaiun', 'Africa/Asmara', 'Europe/Madrid', 'Africa/Ceuta', 'Atlantic/Canary', 'Africa/Addis_Ababa', 'Europe/Helsinki', 'Pacific/Fiji', 'Atlantic/Stanley', 'Pacific/Chuuk', 'Pacific/Pohnpei', 'Pacific/Kosrae', 'Atlantic/Faroe', 'Europe/Paris', 'Africa/Libreville', 'Europe/London', 'America/Grenada', 'Asia/Tbilisi', 'America/Cayenne', 'Europe/Guernsey', 'Africa/Accra', 'Europe/Gibraltar', 'America/Nuuk', 'America/Danmarkshavn', 'America/Scoresbysund', 'America/Thule', 'Africa/Banjul', 'Africa/Conakry', 'America/Guadeloupe', 'Africa/Malabo', 'Europe/Athens', 'Atlantic/South_Georgia', 'America/Guatemala', 'Pacific/Guam', 'Africa/Bissau', 'America/Guyana', 'Asia/Hong_Kong', 'America/Tegucigalpa', 'Europe/Zagreb', 'America/Port-au-Prince', 'Europe/Budapest', 'Asia/Jakarta', 'Asia/Pontianak', 'Asia/Makassar', 'Asia/Jayapura', 'Europe/Dublin', 'Asia/Jerusalem', 'Europe/Isle_of_Man', 'Asia/Kolkata', 'Indian/Chagos', 'Asia/Baghdad', 'Asia/Tehran', 'Atlantic/Reykjavik', 'Europe/Rome', 'Europe/Jersey', 'America/Jamaica', 'Asia/Amman', 'Asia/Tokyo', 'Africa/Nairobi', 'Asia/Bishkek', 'Asia/Phnom_Penh', 'Pacific/Tarawa', 'Pacific/Kanton', 'Pacific/Kiritimati', 'Indian/Comoro', 'America/St_Kitts', 'Asia/Pyongyang', 'Asia/Seoul', 'Asia/Kuwait', 'America/Cayman', 'Asia/Almaty', 'Asia/Qyzylorda', 'Asia/Qostanay', 'Asia/Aqtobe', 'Asia/Aqtau', 'Asia/Atyrau', 'Asia/Oral', 'Asia/Vientiane', 'Asia/Beirut', 'America/St_Lucia', 'Europe/Vaduz', 'Asia/Colombo', 'Africa/Monrovia', 'Africa/Maseru', 'Europe/Vilnius', 'Europe/Luxembourg', 'Europe/Riga', 'Africa/Tripoli', 'Africa/Casablanca', 'Europe/Monaco', 'Europe/Chisinau', 'Europe/Podgorica', 'America/Marigot', 'Indian/Antananarivo', 'Pacific/Majuro', 'Pacific/Kwajalein', 'Europe/Skopje', 'Africa/Bamako', 'Asia/Yangon', 'Asia/Ulaanbaatar', 'Asia/Hovd', 'Asia/Choibalsan', 'Asia/Macau', 'Pacific/Saipan', 'America/Martinique', 'Africa/Nouakchott', 'America/Montserrat', 'Europe/Malta', 'Indian/Mauritius', 'Indian/Maldives', 'Africa/Blantyre', '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', 'Africa/Niamey', 'Pacific/Norfolk', 'Africa/Lagos', 'America/Managua', 'Europe/Amsterdam', 'Europe/Oslo', 'Asia/Kathmandu', 'Pacific/Nauru', 'Pacific/Niue', 'Pacific/Auckland', 'Pacific/Chatham', 'Asia/Muscat', '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', 'Africa/Kigali', 'Asia/Riyadh', 'Pacific/Guadalcanal', 'Indian/Mahe', 'Africa/Khartoum', 'Europe/Stockholm', 'Asia/Singapore', 'Atlantic/St_Helena', 'Europe/Ljubljana', 'Arctic/Longyearbyen', 'Europe/Bratislava', 'Africa/Freetown', 'Europe/San_Marino', 'Africa/Dakar', 'Africa/Mogadishu', 'America/Paramaribo', 'Africa/Juba', 'Africa/Sao_Tome', 'America/El_Salvador', 'America/Lower_Princes', 'Asia/Damascus', 'Africa/Mbabane', 'America/Grand_Turk', 'Africa/Ndjamena', 'Indian/Kerguelen', 'Africa/Lome', 'Asia/Bangkok', 'Asia/Dushanbe', 'Pacific/Fakaofo', 'Asia/Dili', 'Asia/Ashgabat', 'Africa/Tunis', 'Pacific/Tongatapu', 'Europe/Istanbul', 'America/Port_of_Spain', 'Pacific/Funafuti', 'Asia/Taipei', 'Africa/Dar_es_Salaam', 'Europe/Kyiv', 'Europe/Uzhgorod', 'Europe/Zaporozhye', 'Africa/Kampala', 'Pacific/Midway', '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', 'Europe/Vatican', 'America/St_Vincent', 'America/Caracas', 'America/Tortola', 'America/St_Thomas', 'Asia/Ho_Chi_Minh', 'Pacific/Efate', 'Pacific/Wallis', 'Pacific/Apia', 'Asia/Aden', 'Indian/Mayotte', 'Africa/Johannesburg', 'Africa/Lusaka', 'Africa/Harare'];
@@ -45,80 +45,92 @@ function _main() {
45
45
  switch (_context.prev = _context.next) {
46
46
  case 0:
47
47
  _context.prev = 0;
48
- tmpDir = path.join(__dirname, 'tmp'); // $FlowFixMe - flow is not aware of recursive option
48
+ tmpDir = path.join(__dirname, 'tmp');
49
+ _context.prev = 2;
50
+ _context.next = 5;
51
+ return fs.promises.mkdir(tmpDir);
49
52
 
50
- _context.next = 4;
53
+ case 5:
54
+ _context.next = 7;
51
55
  return fs.promises.rmdir(tmpDir, {
52
56
  recursive: true
53
57
  });
54
58
 
55
- case 4:
56
- _context.next = 6;
59
+ case 7:
60
+ _context.next = 9;
57
61
  return fs.promises.mkdir(tmpDir);
58
62
 
59
- case 6:
63
+ case 9:
64
+ _context.next = 13;
65
+ break;
66
+
67
+ case 11:
68
+ _context.prev = 11;
69
+ _context.t0 = _context["catch"](2);
70
+
71
+ case 13:
60
72
  src = "https://www.iana.org/time-zones/repository/tzdata-latest.tar.gz";
61
- _context.next = 9;
73
+ _context.next = 16;
62
74
  return exec("curl -L ".concat(src, " | gzip -dc | tar -xf - --directory ").concat(tmpDir));
63
75
 
64
- case 9:
65
- zoneTabPath = path.join(tmpDir, 'zone1970.tab');
66
- _context.next = 12;
76
+ case 16:
77
+ zoneTabPath = path.join(tmpDir, 'zone.tab');
78
+ _context.next = 19;
67
79
  return fs.promises.readFile(zoneTabPath, 'utf-8');
68
80
 
69
- case 12:
81
+ case 19:
70
82
  content = _context.sent;
71
83
  lines = content.split('\n');
72
84
  zones = [];
73
85
  _iterator = _createForOfIteratorHelper(lines);
74
- _context.prev = 16;
86
+ _context.prev = 23;
75
87
 
76
88
  _iterator.s();
77
89
 
78
- case 18:
90
+ case 25:
79
91
  if ((_step = _iterator.n()).done) {
80
- _context.next = 26;
92
+ _context.next = 33;
81
93
  break;
82
94
  }
83
95
 
84
96
  line = _step.value;
85
97
 
86
98
  if (!(line[0] === '#')) {
87
- _context.next = 22;
99
+ _context.next = 29;
88
100
  break;
89
101
  }
90
102
 
91
- return _context.abrupt("continue", 24);
103
+ return _context.abrupt("continue", 31);
92
104
 
93
- case 22:
105
+ case 29:
94
106
  parts = line.split(/\s+/);
95
107
 
96
108
  if (parts.length >= 3) {
97
109
  zones.push(parts[2]);
98
110
  }
99
111
 
100
- case 24:
101
- _context.next = 18;
112
+ case 31:
113
+ _context.next = 25;
102
114
  break;
103
115
 
104
- case 26:
105
- _context.next = 31;
116
+ case 33:
117
+ _context.next = 38;
106
118
  break;
107
119
 
108
- case 28:
109
- _context.prev = 28;
110
- _context.t0 = _context["catch"](16);
120
+ case 35:
121
+ _context.prev = 35;
122
+ _context.t1 = _context["catch"](23);
111
123
 
112
- _iterator.e(_context.t0);
124
+ _iterator.e(_context.t1);
113
125
 
114
- case 31:
115
- _context.prev = 31;
126
+ case 38:
127
+ _context.prev = 38;
116
128
 
117
129
  _iterator.f();
118
130
 
119
- return _context.finish(31);
131
+ return _context.finish(38);
120
132
 
121
- case 34:
133
+ case 41:
122
134
  file = [];
123
135
  file.push("/*\nCopyright (c) Uber Technologies, Inc.\n\nThis source code is licensed under the MIT license found in the\nLICENSE file in the root directory of this source tree.\n*/\n\n");
124
136
  file.push('export const zones = [');
@@ -130,30 +142,30 @@ function _main() {
130
142
 
131
143
  file.push('];\n');
132
144
  tzdataPath = path.join(__dirname, 'tzdata.ts');
133
- _context.next = 42;
145
+ _context.next = 49;
134
146
  return fs.promises.writeFile(tzdataPath, file.join('\n'));
135
147
 
136
- case 42:
137
- _context.next = 44;
148
+ case 49:
149
+ _context.next = 51;
138
150
  return fs.promises.rmdir(tmpDir, {
139
151
  recursive: true
140
152
  });
141
153
 
142
- case 44:
143
- _context.next = 49;
154
+ case 51:
155
+ _context.next = 56;
144
156
  break;
145
157
 
146
- case 46:
147
- _context.prev = 46;
148
- _context.t1 = _context["catch"](0);
149
- console.error(_context.t1);
158
+ case 53:
159
+ _context.prev = 53;
160
+ _context.t2 = _context["catch"](0);
161
+ console.error(_context.t2);
150
162
 
151
- case 49:
163
+ case 56:
152
164
  case "end":
153
165
  return _context.stop();
154
166
  }
155
167
  }
156
- }, _callee, null, [[0, 46], [16, 28, 31, 34]]);
168
+ }, _callee, null, [[0, 53], [2, 11], [23, 35, 38, 41]]);
157
169
  }));
158
170
  return _main.apply(this, arguments);
159
171
  }
@@ -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 = {}));