baseui 0.0.0-alpha-8ab2335 → 0.0.0-alpha-e79754d

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 +2 -4
  2. package/accordion/accordion.js.flow +1 -1
  3. package/accordion/panel.js +2 -3
  4. package/accordion/stateful-panel-container.js +0 -1
  5. package/accordion/styled-components.js +1 -8
  6. package/accordion/types.d.ts +2 -2
  7. package/app-nav-bar/app-nav-bar.js +2 -4
  8. package/app-nav-bar/mobile-menu.js +1 -2
  9. package/app-nav-bar/styled-components.js +1 -19
  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 +1 -3
  14. package/aspect-ratio-box/types.d.ts +1 -1
  15. package/avatar/styled-components.js +1 -4
  16. package/badge/styled-components.js +11 -16
  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 +12 -25
  21. package/banner/types.d.ts +15 -15
  22. package/banner/types.js.flow +11 -13
  23. package/block/block.js +1 -3
  24. package/block/styled-components.js +1 -2
  25. package/block/types.d.ts +4 -3
  26. package/breadcrumbs/styled-components.js +2 -7
  27. package/button/styled-components.js +0 -7
  28. package/button/styled-components.js.flow +0 -2
  29. package/button/types.d.ts +5 -4
  30. package/button-group/stateful-button-group.js +0 -1
  31. package/button-group/stateful-container.js +1 -3
  32. package/button-group/styled-components.js +1 -2
  33. package/button-group/types.d.ts +5 -4
  34. package/card/images.d.ts +2 -0
  35. package/card/images.js +17 -0
  36. package/card/images.js.flow +18 -0
  37. package/card/styled-components.js +4 -11
  38. package/checkbox/styled-components.js +4 -10
  39. package/checkbox/styled-components.js.flow +1 -1
  40. package/checkbox/types.d.ts +37 -36
  41. package/combobox/combobox.js +71 -78
  42. package/combobox/styled-components.js +1 -5
  43. package/combobox/types.d.ts +5 -4
  44. package/data-table/column-anchor.js +0 -3
  45. package/data-table/column-datetime.js +4 -10
  46. package/data-table/column-numerical.js +4 -4
  47. package/data-table/column-string.js +0 -3
  48. package/data-table/column.js +1 -6
  49. package/data-table/data-table.js +6 -7
  50. package/data-table/filter-menu.js +1 -2
  51. package/data-table/header-cell.js +34 -43
  52. package/data-table/locale.d.ts +0 -4
  53. package/data-table/locale.js +1 -3
  54. package/data-table/locale.js.flow +0 -5
  55. package/data-table/measure-column-widths.js +4 -5
  56. package/data-table/stateful-container.js +1 -2
  57. package/data-table/stateful-data-table.js +4 -4
  58. package/data-table/types.d.ts +5 -4
  59. package/datepicker/calendar-header.js +0 -1
  60. package/datepicker/calendar.js +0 -2
  61. package/datepicker/datepicker.js +0 -2
  62. package/datepicker/day.js +1 -2
  63. package/datepicker/index.d.ts +1 -1
  64. package/datepicker/index.js +0 -7
  65. package/datepicker/index.js.flow +1 -1
  66. package/datepicker/stateful-calendar.js +3 -7
  67. package/datepicker/stateful-container.js +0 -2
  68. package/datepicker/stateful-datepicker.js +4 -9
  69. package/datepicker/styled-components.js +4 -27
  70. package/datepicker/types.d.ts +2 -2
  71. package/datepicker/utils/date-helpers.js +1 -2
  72. package/datepicker/utils/index.js +1 -2
  73. package/divider/styled-components.js +3 -4
  74. package/divider/types.d.ts +1 -1
  75. package/dnd-list/stateful-list-container.js +0 -1
  76. package/dnd-list/styled-components.js +0 -7
  77. package/dnd-list/types.d.ts +2 -2
  78. package/drawer/constants.js +0 -1
  79. package/drawer/drawer.js +3 -2
  80. package/drawer/drawer.js.flow +3 -1
  81. package/drawer/styled-components.js +2 -9
  82. package/drawer/types.d.ts +2 -2
  83. package/es/accordion/accordion.js +3 -3
  84. package/es/accordion/panel.js +2 -3
  85. package/es/accordion/stateful-panel-container.js +0 -1
  86. package/es/accordion/styled-components.js +1 -8
  87. package/es/app-nav-bar/app-nav-bar.js +2 -6
  88. package/es/app-nav-bar/mobile-menu.js +2 -4
  89. package/es/app-nav-bar/styled-components.js +1 -19
  90. package/es/app-nav-bar/user-menu.js +1 -1
  91. package/es/aspect-ratio-box/aspect-ratio-box.js +1 -3
  92. package/es/avatar/styled-components.js +1 -4
  93. package/es/badge/styled-components.js +6 -11
  94. package/es/banner/styled-components.js +3 -16
  95. package/es/block/block.js +1 -3
  96. package/es/block/styled-components.js +1 -2
  97. package/es/breadcrumbs/styled-components.js +2 -7
  98. package/es/button/button.js +0 -8
  99. package/es/button/styled-components.js +0 -7
  100. package/es/button-group/stateful-button-group.js +0 -1
  101. package/es/button-group/stateful-container.js +1 -3
  102. package/es/button-group/styled-components.js +1 -2
  103. package/es/card/images.js +8 -0
  104. package/es/card/index.js +1 -2
  105. package/es/card/styled-components.js +4 -12
  106. package/es/checkbox/index.js +0 -1
  107. package/es/checkbox/stateful-checkbox-container.js +0 -3
  108. package/es/checkbox/styled-components.js +4 -10
  109. package/es/combobox/combobox.js +69 -76
  110. package/es/combobox/styled-components.js +1 -5
  111. package/es/data-table/column-anchor.js +0 -3
  112. package/es/data-table/column-datetime.js +5 -12
  113. package/es/data-table/column-numerical.js +4 -5
  114. package/es/data-table/column-string.js +0 -3
  115. package/es/data-table/column.js +1 -4
  116. package/es/data-table/data-table.js +6 -7
  117. package/es/data-table/filter-menu.js +1 -2
  118. package/es/data-table/header-cell.js +34 -41
  119. package/es/data-table/locale.js +1 -3
  120. package/es/data-table/measure-column-widths.js +4 -5
  121. package/es/data-table/stateful-container.js +1 -2
  122. package/es/data-table/stateful-data-table.js +4 -4
  123. package/es/datepicker/calendar-header.js +0 -1
  124. package/es/datepicker/calendar.js +0 -2
  125. package/es/datepicker/datepicker.js +1 -3
  126. package/es/datepicker/day.js +1 -2
  127. package/es/datepicker/index.js +1 -1
  128. package/es/datepicker/stateful-calendar.js +1 -4
  129. package/es/datepicker/stateful-container.js +0 -2
  130. package/es/datepicker/stateful-datepicker.js +1 -5
  131. package/es/datepicker/styled-components.js +3 -26
  132. package/es/datepicker/utils/date-helpers.js +1 -2
  133. package/es/datepicker/utils/index.js +1 -2
  134. package/es/divider/styled-components.js +2 -3
  135. package/es/dnd-list/stateful-list-container.js +0 -1
  136. package/es/dnd-list/styled-components.js +0 -7
  137. package/es/drawer/constants.js +0 -1
  138. package/es/drawer/drawer.js +5 -2
  139. package/es/drawer/styled-components.js +2 -9
  140. package/es/file-uploader/file-uploader.js +78 -82
  141. package/es/file-uploader/styled-components.js +1 -6
  142. package/es/flex-grid/flex-grid-item.js +6 -5
  143. package/es/flex-grid/flex-grid.js +1 -4
  144. package/es/form-control/styled-components.js +1 -6
  145. package/es/header-navigation/styled-components.js +1 -4
  146. package/es/helper/styled-components.js +1 -3
  147. package/es/helpers/overrides.js +5 -9
  148. package/es/icon/build-icons.js +2 -0
  149. package/es/icon/index.js +1 -1
  150. package/es/icon/omit-dollar-prefixed-keys.js +0 -1
  151. package/es/icon/styled-components.js +1 -2
  152. package/es/input/base-input.js +12 -9
  153. package/es/input/input.js +13 -9
  154. package/es/input/masked-input.js +2 -9
  155. package/es/input/stateful-container.js +0 -1
  156. package/es/input/styled-components.js +7 -18
  157. package/es/input/utils.js +0 -2
  158. package/es/layer/layer.js +0 -24
  159. package/es/layer/layers-manager.js +1 -91
  160. package/es/layout-grid/styled-components.js +0 -3
  161. package/es/link/index.js +1 -2
  162. package/es/link/styled-components.js +1 -2
  163. package/es/list/list-heading.js +17 -21
  164. package/es/list/list-item.js +1 -2
  165. package/es/list/styled-components.js +1 -17
  166. package/es/locale/es_AR.js +1 -3
  167. package/es/locale/index.js +1 -2
  168. package/es/locale/tr_TR.js +1 -3
  169. package/es/map-marker/constants.js +0 -14
  170. package/es/map-marker/fixed-marker.js +0 -1
  171. package/es/map-marker/index.js +1 -2
  172. package/es/map-marker/pin-head.js +0 -1
  173. package/es/map-marker/styled-components.js +2 -86
  174. package/es/menu/index.js +1 -1
  175. package/es/menu/menu.js +4 -14
  176. package/es/menu/option-profile.js +0 -1
  177. package/es/menu/stateful-container.js +0 -10
  178. package/es/menu/styled-components.js +2 -32
  179. package/es/modal/modal.js +6 -4
  180. package/es/modal/styled-components.js +1 -8
  181. package/es/pagination/stateful-container.js +0 -1
  182. package/es/pagination/stateful-pagination.js +0 -1
  183. package/es/pagination/styled-components.js +1 -4
  184. package/es/payment-card/styled-components.js +1 -2
  185. package/es/phone-input/base-country-picker.js +1 -3
  186. package/es/phone-input/country-select-dropdown.js +0 -1
  187. package/es/phone-input/styled-components.js +4 -15
  188. package/es/pin-code/styled-components.js +1 -4
  189. package/es/popover/popover.js +11 -9
  190. package/es/popover/stateful-container.js +1 -4
  191. package/es/popover/styled-components.js +4 -9
  192. package/es/progress-bar/progressbar-rounded.js +0 -1
  193. package/es/progress-bar/styled-components.js +2 -14
  194. package/es/progress-steps/progress-steps.js +1 -2
  195. package/es/progress-steps/styled-components.js +12 -20
  196. package/es/radio/stateful-radiogroup-container.js +0 -3
  197. package/es/radio/styled-components.js +3 -10
  198. package/es/rating/emoticon-rating.js +1 -2
  199. package/es/rating/star-rating.js +1 -2
  200. package/es/rating/styled-components.js +1 -5
  201. package/es/select/autosize-input.js +3 -2
  202. package/es/select/default-props.js +1 -1
  203. package/es/select/dropdown.js +1 -2
  204. package/es/select/multi-value.js +1 -2
  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 +0 -2
  208. package/es/select/styled-components.js +6 -33
  209. package/es/select/value.js +4 -3
  210. package/es/side-navigation/index.js +1 -2
  211. package/es/side-navigation/nav-item.js +0 -1
  212. package/es/side-navigation/nav.js +1 -1
  213. package/es/side-navigation/stateful-container.js +0 -1
  214. package/es/side-navigation/styled-components.js +2 -8
  215. package/es/skeleton/styled-components.js +1 -3
  216. package/es/slider/slider.js +2 -4
  217. package/es/slider/stateful-slider-container.js +0 -2
  218. package/es/slider/styled-components.js +0 -9
  219. package/es/snackbar/snackbar-element.js +0 -1
  220. package/es/snackbar/styled-components.js +1 -9
  221. package/es/spinner/styled-components.js +1 -2
  222. package/es/styles/__mocks__/styled.js +5 -8
  223. package/es/styles/styled.js +6 -7
  224. package/es/table/index.js +1 -2
  225. package/es/table/styled-components.js +1 -13
  226. package/es/table-grid/styled-components.js +1 -4
  227. package/es/table-semantic/styled-components.js +3 -20
  228. package/es/tabs/stateful-tabs.js +0 -1
  229. package/es/tabs/styled-components.js +1 -5
  230. package/es/tabs/tabs.js +2 -4
  231. package/es/tabs-motion/styled-components.js +2 -32
  232. package/es/tabs-motion/tab.js +0 -1
  233. package/es/tabs-motion/tabs.js +6 -31
  234. package/es/tag/styled-components.js +1 -32
  235. package/es/tag/tag.js +2 -6
  236. package/es/textarea/styled-components.js +12 -20
  237. package/es/textarea/textarea.js +15 -13
  238. package/es/themes/dark-theme/color-component-tokens.js +1 -1
  239. package/es/themes/light-theme/color-component-tokens.js +1 -1
  240. package/es/themes/move-theme/typography.js +0 -36
  241. package/es/themes/shared/borders.js +3 -8
  242. package/es/themes/shared/typography.js +10 -10
  243. package/es/timezonepicker/timezone-picker.js +1 -5
  244. package/es/timezonepicker/tzdata.js +1 -1
  245. package/es/timezonepicker/update-tzdata.js +6 -11
  246. package/es/toast/styled-components.js +1 -5
  247. package/es/toast/toaster.js +2 -0
  248. package/es/tokens/colors.js +0 -24
  249. package/es/tooltip/styled-components.js +1 -4
  250. package/es/tree-view/index.js +1 -2
  251. package/es/tree-view/styled-components.js +1 -7
  252. package/es/tree-view/tree-view.js +1 -3
  253. package/es/types/globals.d.js +0 -12
  254. package/es/utils/deep-merge.js +5 -0
  255. package/es/utils/deprecated-component.js +0 -1
  256. package/es/utils/focusVisible.js +2 -4
  257. package/esm/accordion/accordion.js +4 -4
  258. package/esm/accordion/panel.js +2 -3
  259. package/esm/accordion/stateful-panel-container.js +0 -1
  260. package/esm/accordion/styled-components.js +1 -8
  261. package/esm/app-nav-bar/app-nav-bar.js +2 -4
  262. package/esm/app-nav-bar/mobile-menu.js +2 -4
  263. package/esm/app-nav-bar/styled-components.js +1 -19
  264. package/esm/app-nav-bar/user-menu.js +1 -1
  265. package/esm/aspect-ratio-box/aspect-ratio-box.js +1 -3
  266. package/esm/avatar/styled-components.js +1 -4
  267. package/esm/badge/styled-components.js +6 -11
  268. package/esm/banner/styled-components.js +3 -16
  269. package/esm/block/block.js +1 -3
  270. package/esm/block/styled-components.js +1 -2
  271. package/esm/breadcrumbs/styled-components.js +2 -7
  272. package/esm/button/styled-components.js +0 -7
  273. package/esm/button-group/stateful-button-group.js +0 -1
  274. package/esm/button-group/stateful-container.js +1 -3
  275. package/esm/button-group/styled-components.js +1 -2
  276. package/esm/card/images.js +8 -0
  277. package/esm/card/index.js +1 -2
  278. package/esm/card/styled-components.js +4 -12
  279. package/esm/checkbox/index.js +0 -1
  280. package/esm/checkbox/styled-components.js +4 -10
  281. package/esm/combobox/combobox.js +71 -78
  282. package/esm/combobox/styled-components.js +1 -5
  283. package/esm/data-table/column-anchor.js +0 -3
  284. package/esm/data-table/column-datetime.js +5 -12
  285. package/esm/data-table/column-numerical.js +4 -4
  286. package/esm/data-table/column-string.js +0 -3
  287. package/esm/data-table/column.js +1 -5
  288. package/esm/data-table/data-table.js +6 -7
  289. package/esm/data-table/filter-menu.js +1 -2
  290. package/esm/data-table/header-cell.js +34 -42
  291. package/esm/data-table/locale.js +1 -3
  292. package/esm/data-table/measure-column-widths.js +4 -5
  293. package/esm/data-table/stateful-container.js +1 -2
  294. package/esm/data-table/stateful-data-table.js +4 -4
  295. package/esm/datepicker/calendar-header.js +0 -1
  296. package/esm/datepicker/calendar.js +0 -2
  297. package/esm/datepicker/datepicker.js +1 -3
  298. package/esm/datepicker/day.js +1 -2
  299. package/esm/datepicker/index.js +1 -1
  300. package/esm/datepicker/stateful-calendar.js +3 -7
  301. package/esm/datepicker/stateful-container.js +0 -2
  302. package/esm/datepicker/stateful-datepicker.js +4 -9
  303. package/esm/datepicker/styled-components.js +3 -26
  304. package/esm/datepicker/utils/date-helpers.js +1 -2
  305. package/esm/datepicker/utils/index.js +1 -2
  306. package/esm/divider/styled-components.js +2 -3
  307. package/esm/dnd-list/stateful-list-container.js +0 -1
  308. package/esm/dnd-list/styled-components.js +0 -7
  309. package/esm/drawer/constants.js +0 -1
  310. package/esm/drawer/drawer.js +5 -2
  311. package/esm/drawer/styled-components.js +2 -9
  312. package/esm/file-uploader/file-uploader.js +83 -87
  313. package/esm/file-uploader/styled-components.js +1 -6
  314. package/esm/flex-grid/flex-grid-item.js +5 -4
  315. package/esm/flex-grid/flex-grid.js +3 -7
  316. package/esm/form-control/styled-components.js +1 -6
  317. package/esm/header-navigation/styled-components.js +1 -4
  318. package/esm/helper/styled-components.js +1 -3
  319. package/esm/helpers/overrides.js +5 -9
  320. package/esm/icon/build-icons.js +2 -0
  321. package/esm/icon/index.js +1 -1
  322. package/esm/icon/omit-dollar-prefixed-keys.js +0 -1
  323. package/esm/icon/styled-components.js +1 -2
  324. package/esm/input/base-input.js +12 -9
  325. package/esm/input/input.js +13 -9
  326. package/esm/input/masked-input.js +2 -5
  327. package/esm/input/stateful-container.js +0 -1
  328. package/esm/input/styled-components.js +7 -18
  329. package/esm/input/utils.js +0 -2
  330. package/esm/layer/layer.js +0 -24
  331. package/esm/layer/layers-manager.js +1 -97
  332. package/esm/layout-grid/styled-components.js +0 -3
  333. package/esm/link/index.js +1 -2
  334. package/esm/link/styled-components.js +1 -2
  335. package/esm/list/list-heading.js +17 -21
  336. package/esm/list/list-item.js +1 -2
  337. package/esm/list/styled-components.js +1 -17
  338. package/esm/locale/es_AR.js +1 -3
  339. package/esm/locale/index.js +1 -4
  340. package/esm/locale/tr_TR.js +1 -3
  341. package/esm/map-marker/constants.js +2 -12
  342. package/esm/map-marker/index.js +1 -2
  343. package/esm/map-marker/styled-components.js +2 -82
  344. package/esm/menu/index.js +1 -1
  345. package/esm/menu/menu.js +4 -16
  346. package/esm/menu/option-profile.js +0 -1
  347. package/esm/menu/stateful-container.js +0 -1
  348. package/esm/menu/styled-components.js +6 -38
  349. package/esm/modal/modal.js +6 -4
  350. package/esm/modal/styled-components.js +1 -8
  351. package/esm/pagination/stateful-container.js +0 -1
  352. package/esm/pagination/stateful-pagination.js +0 -1
  353. package/esm/pagination/styled-components.js +1 -4
  354. package/esm/payment-card/styled-components.js +1 -2
  355. package/esm/phone-input/base-country-picker.js +1 -3
  356. package/esm/phone-input/country-select-dropdown.js +0 -1
  357. package/esm/phone-input/styled-components.js +8 -20
  358. package/esm/pin-code/styled-components.js +1 -4
  359. package/esm/popover/popover.js +11 -9
  360. package/esm/popover/stateful-container.js +1 -4
  361. package/esm/popover/styled-components.js +4 -9
  362. package/esm/progress-bar/progressbar-rounded.js +0 -1
  363. package/esm/progress-bar/styled-components.js +2 -14
  364. package/esm/progress-steps/progress-steps.js +1 -2
  365. package/esm/progress-steps/styled-components.js +19 -28
  366. package/esm/radio/styled-components.js +3 -10
  367. package/esm/rating/emoticon-rating.js +1 -2
  368. package/esm/rating/star-rating.js +1 -2
  369. package/esm/rating/styled-components.js +1 -5
  370. package/esm/select/autosize-input.js +3 -2
  371. package/esm/select/default-props.js +1 -1
  372. package/esm/select/dropdown.js +1 -2
  373. package/esm/select/multi-value.js +1 -2
  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 +6 -33
  377. package/esm/select/value.js +4 -3
  378. package/esm/side-navigation/index.js +1 -2
  379. package/esm/side-navigation/nav-item.js +0 -1
  380. package/esm/side-navigation/nav.js +1 -1
  381. package/esm/side-navigation/stateful-container.js +0 -1
  382. package/esm/side-navigation/styled-components.js +6 -13
  383. package/esm/skeleton/styled-components.js +1 -3
  384. package/esm/slider/slider.js +2 -4
  385. package/esm/slider/styled-components.js +0 -9
  386. package/esm/snackbar/snackbar-element.js +0 -1
  387. package/esm/snackbar/styled-components.js +1 -9
  388. package/esm/spinner/styled-components.js +1 -2
  389. package/esm/styles/__mocks__/styled.js +5 -8
  390. package/esm/styles/styled.js +6 -7
  391. package/esm/table/index.js +1 -2
  392. package/esm/table/styled-components.js +1 -13
  393. package/esm/table-grid/styled-components.js +1 -4
  394. package/esm/table-semantic/styled-components.js +3 -20
  395. package/esm/tabs/stateful-tabs.js +0 -1
  396. package/esm/tabs/styled-components.js +1 -5
  397. package/esm/tabs/tabs.js +2 -4
  398. package/esm/tabs-motion/styled-components.js +40 -68
  399. package/esm/tabs-motion/tab.js +0 -1
  400. package/esm/tabs-motion/tabs.js +58 -87
  401. package/esm/tag/styled-components.js +1 -5
  402. package/esm/tag/tag.js +2 -4
  403. package/esm/textarea/styled-components.js +6 -11
  404. package/esm/textarea/textarea.js +15 -13
  405. package/esm/themes/dark-theme/color-component-tokens.js +1 -1
  406. package/esm/themes/light-theme/color-component-tokens.js +1 -1
  407. package/esm/themes/move-theme/typography.js +0 -36
  408. package/esm/themes/shared/borders.js +3 -8
  409. package/esm/themes/shared/typography.js +10 -10
  410. package/esm/timezonepicker/timezone-picker.js +2 -6
  411. package/esm/timezonepicker/tzdata.js +1 -1
  412. package/esm/timezonepicker/update-tzdata.js +39 -51
  413. package/esm/toast/styled-components.js +1 -5
  414. package/esm/toast/toaster.js +2 -0
  415. package/esm/tokens/colors.js +0 -24
  416. package/esm/tooltip/styled-components.js +1 -4
  417. package/esm/tree-view/index.js +1 -2
  418. package/esm/tree-view/styled-components.js +1 -7
  419. package/esm/tree-view/tree-view.js +1 -3
  420. package/esm/types/globals.d.js +0 -12
  421. package/esm/utils/deep-merge.js +5 -0
  422. package/esm/utils/deprecated-component.js +0 -1
  423. package/esm/utils/focusVisible.js +2 -4
  424. package/file-uploader/file-uploader.js +83 -87
  425. package/file-uploader/styled-components.js +1 -6
  426. package/flex-grid/flex-grid-item.d.ts +1 -1
  427. package/flex-grid/flex-grid-item.js +8 -6
  428. package/flex-grid/flex-grid.js +3 -7
  429. package/flex-grid/types.d.ts +1 -1
  430. package/form-control/styled-components.js +1 -6
  431. package/form-control/types.d.ts +1 -1
  432. package/header-navigation/styled-components.js +1 -4
  433. package/heading/types.d.ts +1 -1
  434. package/helper/styled-components.js +1 -3
  435. package/helpers/overrides.js +3 -8
  436. package/helpers/overrides.js.flow +1 -1
  437. package/helpers/types.d.ts +1 -1
  438. package/icon/build-icons.js +2 -0
  439. package/icon/build-icons.js.flow +1 -0
  440. package/icon/index.d.ts +1 -1
  441. package/icon/index.js +1 -8
  442. package/icon/index.js.flow +1 -1
  443. package/icon/omit-dollar-prefixed-keys.js +0 -1
  444. package/icon/styled-components.js +1 -2
  445. package/icon/types.d.ts +1 -1
  446. package/input/base-input.js +12 -8
  447. package/input/base-input.js.flow +8 -4
  448. package/input/input.js +13 -9
  449. package/input/input.js.flow +9 -5
  450. package/input/masked-input.js +2 -5
  451. package/input/stateful-container.js +0 -1
  452. package/input/styled-components.js +7 -18
  453. package/input/styled-components.js.flow +2 -9
  454. package/input/types.d.ts +14 -16
  455. package/input/types.js.flow +0 -3
  456. package/input/utils.js +0 -2
  457. package/layer/layer.js +0 -24
  458. package/layer/layer.js.flow +0 -25
  459. package/layer/layers-manager.d.ts +0 -8
  460. package/layer/layers-manager.js +1 -97
  461. package/layer/layers-manager.js.flow +1 -84
  462. package/layer/types.d.ts +2 -23
  463. package/layer/types.js.flow +1 -22
  464. package/layout-grid/styled-components.js +0 -3
  465. package/layout-grid/types.d.ts +2 -2
  466. package/link/index.js +1 -2
  467. package/link/styled-components.js +1 -2
  468. package/list/list-heading.js +17 -21
  469. package/list/list-item.js +1 -2
  470. package/list/styled-components.js +1 -17
  471. package/list/types.d.ts +2 -2
  472. package/locale/en_US.d.ts +1 -1
  473. package/locale/es_AR.d.ts +1 -1
  474. package/locale/es_AR.js +1 -3
  475. package/locale/index.js +1 -4
  476. package/locale/tr_TR.d.ts +1 -1
  477. package/locale/tr_TR.js +1 -3
  478. package/map-marker/constants.d.ts +0 -14
  479. package/map-marker/constants.js +3 -16
  480. package/map-marker/constants.js.flow +0 -17
  481. package/map-marker/index.d.ts +1 -2
  482. package/map-marker/index.js +1 -24
  483. package/map-marker/index.js.flow +3 -5
  484. package/map-marker/styled-components.d.ts +1 -17
  485. package/map-marker/styled-components.js +2 -88
  486. package/map-marker/styled-components.js.flow +0 -58
  487. package/map-marker/types.d.ts +5 -33
  488. package/map-marker/types.js.flow +3 -37
  489. package/menu/index.d.ts +3 -2
  490. package/menu/index.js +1 -8
  491. package/menu/index.js.flow +0 -1
  492. package/menu/menu.js +3 -15
  493. package/menu/menu.js.flow +1 -11
  494. package/menu/option-profile.js +0 -1
  495. package/menu/stateful-container.js +0 -1
  496. package/menu/styled-components.d.ts +0 -1
  497. package/menu/styled-components.js +7 -40
  498. package/menu/styled-components.js.flow +0 -13
  499. package/menu/types.d.ts +13 -13
  500. package/menu/types.js.flow +0 -1
  501. package/modal/modal.js +4 -4
  502. package/modal/modal.js.flow +3 -1
  503. package/modal/styled-components.js +1 -8
  504. package/modal/types.d.ts +2 -2
  505. package/package.json +12 -10
  506. package/pagination/stateful-container.js +0 -1
  507. package/pagination/stateful-pagination.js +0 -1
  508. package/pagination/styled-components.js +1 -4
  509. package/pagination/types.d.ts +2 -2
  510. package/payment-card/styled-components.js +1 -2
  511. package/phone-input/base-country-picker.js +1 -3
  512. package/phone-input/country-select-dropdown.js +0 -1
  513. package/phone-input/styled-components.js +9 -21
  514. package/phone-input/types.d.ts +6 -5
  515. package/pin-code/styled-components.js +1 -4
  516. package/pin-code/types.d.ts +2 -2
  517. package/popover/popover.js +11 -9
  518. package/popover/popover.js.flow +12 -2
  519. package/popover/stateful-container.js +1 -5
  520. package/popover/styled-components.js +9 -12
  521. package/popover/types.d.ts +2 -2
  522. package/progress-bar/progressbar-rounded.js +0 -1
  523. package/progress-bar/styled-components.d.ts +1 -4
  524. package/progress-bar/styled-components.js +2 -14
  525. package/progress-bar/types.d.ts +2 -2
  526. package/progress-steps/progress-steps.js +1 -2
  527. package/progress-steps/styled-components.js +19 -28
  528. package/radio/styled-components.js +3 -10
  529. package/radio/types.d.ts +20 -19
  530. package/rating/emoticon-rating.js +1 -2
  531. package/rating/star-rating.js +1 -2
  532. package/rating/styled-components.js +1 -5
  533. package/select/autosize-input.js +1 -2
  534. package/select/autosize-input.js.flow +1 -1
  535. package/select/default-props.js +1 -1
  536. package/select/dropdown.js +1 -2
  537. package/select/multi-value.js +0 -1
  538. package/select/select-component.d.ts +1 -1
  539. package/select/select-component.js +7 -9
  540. package/select/select-component.js.flow +1 -1
  541. package/select/single-select.d.ts +2 -2
  542. package/select/single-select.js +2 -2
  543. package/select/styled-components.js +6 -33
  544. package/select/styled-components.js.flow +5 -25
  545. package/select/types.d.ts +6 -5
  546. package/select/value.js +3 -2
  547. package/side-navigation/nav-item.js +0 -1
  548. package/side-navigation/nav.js +1 -1
  549. package/side-navigation/stateful-container.js +0 -1
  550. package/side-navigation/styled-components.js +6 -13
  551. package/side-navigation/types.d.ts +4 -4
  552. package/skeleton/styled-components.js +1 -3
  553. package/slider/slider.js +2 -4
  554. package/slider/styled-components.js +0 -9
  555. package/slider/types.d.ts +1 -1
  556. package/snackbar/snackbar-element.js +0 -1
  557. package/snackbar/styled-components.js +1 -9
  558. package/snackbar/types.d.ts +4 -3
  559. package/spinner/styled-components.js +1 -2
  560. package/spinner/types.d.ts +1 -1
  561. package/styles/__mocks__/styled.js +3 -8
  562. package/styles/styled.d.ts +1 -1
  563. package/styles/styled.js +6 -7
  564. package/table/styled-components.js +1 -13
  565. package/table/types.d.ts +2 -2
  566. package/table-grid/styled-components.js +1 -4
  567. package/table-semantic/styled-components.js +3 -20
  568. package/table-semantic/types.d.ts +2 -2
  569. package/tabs/stateful-tabs.js +0 -1
  570. package/tabs/styled-components.js +1 -5
  571. package/tabs/tabs.js +2 -4
  572. package/tabs/types.d.ts +2 -2
  573. package/tabs-motion/styled-components.d.ts +0 -5
  574. package/tabs-motion/styled-components.js +41 -71
  575. package/tabs-motion/styled-components.js.flow +0 -21
  576. package/tabs-motion/tab.js +0 -1
  577. package/tabs-motion/tabs.d.ts +1 -1
  578. package/tabs-motion/tabs.js +57 -87
  579. package/tabs-motion/tabs.js.flow +38 -69
  580. package/tabs-motion/types.d.ts +2 -5
  581. package/tabs-motion/types.js.flow +0 -3
  582. package/tabs-motion/utils.d.ts +1 -1
  583. package/tag/styled-components.js +1 -5
  584. package/tag/tag.js +2 -4
  585. package/tag/types.d.ts +5 -4
  586. package/textarea/styled-components.js +6 -11
  587. package/textarea/textarea.js +15 -13
  588. package/textarea/textarea.js.flow +9 -5
  589. package/textarea/types.d.ts +5 -6
  590. package/textarea/types.js.flow +1 -3
  591. package/themes/dark-theme/color-component-tokens.js +1 -1
  592. package/themes/dark-theme/color-component-tokens.js.flow +1 -1
  593. package/themes/light-theme/color-component-tokens.js +1 -1
  594. package/themes/light-theme/color-component-tokens.js.flow +1 -1
  595. package/themes/move-theme/typography.d.ts +0 -36
  596. package/themes/move-theme/typography.js +0 -36
  597. package/themes/move-theme/typography.js.flow +0 -12
  598. package/themes/shared/borders.js +3 -8
  599. package/themes/shared/borders.js.flow +3 -7
  600. package/themes/shared/typography.js +10 -10
  601. package/themes/shared/typography.js.flow +10 -10
  602. package/themes/types.d.ts +0 -3
  603. package/themes/types.js.flow +0 -3
  604. package/timezonepicker/timezone-picker.js +2 -6
  605. package/timezonepicker/types.d.ts +0 -1
  606. package/timezonepicker/types.js.flow +0 -1
  607. package/timezonepicker/tzdata.js +1 -1
  608. package/timezonepicker/update-tzdata.js +39 -51
  609. package/toast/styled-components.js +1 -5
  610. package/toast/toaster.js.flow +1 -1
  611. package/toast/types.d.ts +2 -2
  612. package/tokens/colors.js +0 -24
  613. package/tokens/colors.js.flow +0 -27
  614. package/tokens/types.d.ts +0 -24
  615. package/tokens/types.js.flow +0 -27
  616. package/tooltip/styled-components.js +1 -4
  617. package/tree-view/styled-components.js +1 -7
  618. package/tree-view/tree-view.js +1 -3
  619. package/tree-view/types.d.ts +4 -3
  620. package/types/globals.d.js +1 -14
  621. package/utils/deep-merge.js +6 -0
  622. package/utils/deprecated-component.js +0 -1
  623. package/utils/focusVisible.d.ts +1 -1
  624. package/utils/focusVisible.js +2 -4
  625. package/es/map-marker/location-puck.js +0 -142
  626. package/es/message-card/constants.js +0 -19
  627. package/es/message-card/index.js +0 -10
  628. package/es/message-card/message-card.js +0 -114
  629. package/es/message-card/styled-components.js +0 -108
  630. package/es/message-card/types.js +0 -1
  631. package/es/message-card/utils.js +0 -27
  632. package/esm/map-marker/location-puck.js +0 -199
  633. package/esm/message-card/constants.js +0 -20
  634. package/esm/message-card/index.js +0 -10
  635. package/esm/message-card/message-card.js +0 -168
  636. package/esm/message-card/styled-components.js +0 -116
  637. package/esm/message-card/types.js +0 -1
  638. package/esm/message-card/utils.js +0 -26
  639. package/map-marker/location-puck.d.ts +0 -4
  640. package/map-marker/location-puck.js +0 -211
  641. package/map-marker/location-puck.js.flow +0 -18
  642. package/message-card/constants.d.ts +0 -12
  643. package/message-card/constants.js +0 -25
  644. package/message-card/index.d.ts +0 -4
  645. package/message-card/index.js +0 -60
  646. package/message-card/index.js.flow +0 -72
  647. package/message-card/message-card.d.ts +0 -4
  648. package/message-card/message-card.js +0 -184
  649. package/message-card/package.json +0 -4
  650. package/message-card/styled-components.d.ts +0 -14
  651. package/message-card/styled-components.js +0 -124
  652. package/message-card/types.d.ts +0 -27
  653. package/message-card/types.js +0 -5
  654. package/message-card/utils.d.ts +0 -1
  655. package/message-card/utils.js +0 -36
@@ -110,7 +110,6 @@ var Root = (0, _styles.styled)('div', function (_ref) {
110
110
  });
111
111
  exports.Root = Root;
112
112
  Root.displayName = "Root";
113
- Root.displayName = 'Root';
114
113
  var InnerContainer = (0, _styles.styled)('div', // eslint-disable-next-line no-empty-pattern
115
114
  function (_ref2) {
116
115
  _objectDestructuringEmpty(_ref2);
@@ -119,7 +118,6 @@ function (_ref2) {
119
118
  });
120
119
  exports.InnerContainer = InnerContainer;
121
120
  InnerContainer.displayName = "InnerContainer";
122
- InnerContainer.displayName = 'InnerContainer';
123
121
  var Body = (0, _styles.styled)('div', function (_ref3) {
124
122
  var $isVisible = _ref3.$isVisible,
125
123
  $kind = _ref3.$kind,
@@ -153,7 +151,6 @@ var Body = (0, _styles.styled)('div', function (_ref3) {
153
151
  });
154
152
  exports.Body = Body;
155
153
  Body.displayName = "Body";
156
- Body.displayName = 'Body';
157
154
  var CloseIconSvg = (0, _styles.styled)('svg', function (_ref4) {
158
155
  var $theme = _ref4.$theme,
159
156
  $size = _ref4.$size,
@@ -171,5 +168,4 @@ var CloseIconSvg = (0, _styles.styled)('svg', function (_ref4) {
171
168
  });
172
169
  });
173
170
  exports.CloseIconSvg = CloseIconSvg;
174
- CloseIconSvg.displayName = "CloseIconSvg";
175
- CloseIconSvg.displayName = 'CloseIconSvg';
171
+ CloseIconSvg.displayName = "CloseIconSvg";
@@ -6,7 +6,7 @@ LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
8
  // @flow
9
-
9
+ /* eslint-disable cup/no-undef */
10
10
  import * as React from 'react';
11
11
  import ReactDOM from 'react-dom';
12
12
  import { getOverrides, mergeOverrides } from '../helpers/overrides.js';
package/toast/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  import type { Override } from '../helpers/overrides';
3
- import type { KIND, PLACEMENT, TYPE } from './constants';
3
+ import { KIND, PLACEMENT, TYPE } from './constants';
4
4
  export declare type KindType = typeof KIND[keyof typeof KIND];
5
5
  export declare type NotificationType = typeof TYPE[keyof typeof TYPE];
6
6
  export declare type PlacementType = typeof PLACEMENT[keyof typeof PLACEMENT];
package/tokens/colors.js CHANGED
@@ -57,14 +57,6 @@ var colors = {
57
57
  yellow500: '#BC8B2C',
58
58
  yellow600: '#996F00',
59
59
  yellow700: '#674D1B',
60
- lime50: '#F2F7ED',
61
- lime100: '#E0ECD2',
62
- lime200: '#BCD69D',
63
- lime300: '#8BB956',
64
- lime400: '#67A421',
65
- lime500: '#4E7C19',
66
- lime600: '#3D6213',
67
- lime700: '#29410d',
68
60
  green50: '#E6F2ED',
69
61
  green100: '#ADDEC9',
70
62
  green200: '#66D19E',
@@ -73,14 +65,6 @@ var colors = {
73
65
  green500: '#03703C',
74
66
  green600: '#03582F',
75
67
  green700: '#10462D',
76
- teal50: '#EDF5F7',
77
- teal100: '#D2E8EC',
78
- teal200: '#9DCDD6',
79
- teal300: '#56A9B9',
80
- teal400: '#218EA4',
81
- teal500: '#196B7C',
82
- teal600: '#135562',
83
- teal700: '#0D3841',
84
68
  blue50: '#EFF3FE',
85
69
  blue100: '#D4E2FC',
86
70
  blue200: '#A0BFF8',
@@ -105,14 +89,6 @@ var colors = {
105
89
  purple500: '#574191',
106
90
  purple600: '#453473',
107
91
  purple700: '#2E224C',
108
- magenta50: '#F9F1F7',
109
- magenta100: '#F2DDEB',
110
- magenta200: '#E2B4D3',
111
- magenta300: '#CE7EB3',
112
- magenta400: '#BF569C',
113
- magenta500: '#914176',
114
- magenta600: '#72335D',
115
- magenta700: '#4C223E',
116
92
  brown50: '#F6F0EA',
117
93
  brown100: '#EBE0DB',
118
94
  brown200: '#D2BBB0',
@@ -58,15 +58,6 @@ const colors: ColorTokensT = {
58
58
  yellow600: '#996F00',
59
59
  yellow700: '#674D1B',
60
60
 
61
- lime50: '#F2F7ED',
62
- lime100: '#E0ECD2',
63
- lime200: '#BCD69D',
64
- lime300: '#8BB956',
65
- lime400: '#67A421',
66
- lime500: '#4E7C19',
67
- lime600: '#3D6213',
68
- lime700: '#29410d',
69
-
70
61
  green50: '#E6F2ED',
71
62
  green100: '#ADDEC9',
72
63
  green200: '#66D19E',
@@ -76,15 +67,6 @@ const colors: ColorTokensT = {
76
67
  green600: '#03582F',
77
68
  green700: '#10462D',
78
69
 
79
- teal50: '#EDF5F7',
80
- teal100: '#D2E8EC',
81
- teal200: '#9DCDD6',
82
- teal300: '#56A9B9',
83
- teal400: '#218EA4',
84
- teal500: '#196B7C',
85
- teal600: '#135562',
86
- teal700: '#0D3841',
87
-
88
70
  blue50: '#EFF3FE',
89
71
  blue100: '#D4E2FC',
90
72
  blue200: '#A0BFF8',
@@ -112,15 +94,6 @@ const colors: ColorTokensT = {
112
94
  purple600: '#453473',
113
95
  purple700: '#2E224C',
114
96
 
115
- magenta50: '#F9F1F7',
116
- magenta100: '#F2DDEB',
117
- magenta200: '#E2B4D3',
118
- magenta300: '#CE7EB3',
119
- magenta400: '#BF569C',
120
- magenta500: '#914176',
121
- magenta600: '#72335D',
122
- magenta700: '#4C223E',
123
-
124
97
  brown50: '#F6F0EA',
125
98
  brown100: '#EBE0DB',
126
99
  brown200: '#D2BBB0',
package/tokens/types.d.ts CHANGED
@@ -28,14 +28,6 @@ export declare type ColorTokens = {
28
28
  blue500: string;
29
29
  blue600: string;
30
30
  blue700: string;
31
- teal50: string;
32
- teal100: string;
33
- teal200: string;
34
- teal300: string;
35
- teal400: string;
36
- teal500: string;
37
- teal600: string;
38
- teal700: string;
39
31
  red50: string;
40
32
  red100: string;
41
33
  red200: string;
@@ -60,14 +52,6 @@ export declare type ColorTokens = {
60
52
  orange500: string;
61
53
  orange600: string;
62
54
  orange700: string;
63
- magenta50: string;
64
- magenta100: string;
65
- magenta200: string;
66
- magenta300: string;
67
- magenta400: string;
68
- magenta500: string;
69
- magenta600: string;
70
- magenta700: string;
71
55
  purple50: string;
72
56
  purple100: string;
73
57
  purple200: string;
@@ -84,14 +68,6 @@ export declare type ColorTokens = {
84
68
  yellow500: string;
85
69
  yellow600: string;
86
70
  yellow700: string;
87
- lime50: string;
88
- lime100: string;
89
- lime200: string;
90
- lime300: string;
91
- lime400: string;
92
- lime500: string;
93
- lime600: string;
94
- lime700: string;
95
71
  brown50: string;
96
72
  brown100: string;
97
73
  brown200: string;
@@ -39,15 +39,6 @@ export type ColorTokensT = {
39
39
  blue600: string,
40
40
  blue700: string,
41
41
 
42
- teal50: string,
43
- teal100: string,
44
- teal200: string,
45
- teal300: string,
46
- teal400: string,
47
- teal500: string,
48
- teal600: string,
49
- teal700: string,
50
-
51
42
  red50: string,
52
43
  red100: string,
53
44
  red200: string,
@@ -75,15 +66,6 @@ export type ColorTokensT = {
75
66
  orange600: string,
76
67
  orange700: string,
77
68
 
78
- magenta50: string,
79
- magenta100: string,
80
- magenta200: string,
81
- magenta300: string,
82
- magenta400: string,
83
- magenta500: string,
84
- magenta600: string,
85
- magenta700: string,
86
-
87
69
  purple50: string,
88
70
  purple100: string,
89
71
  purple200: string,
@@ -102,15 +84,6 @@ export type ColorTokensT = {
102
84
  yellow600: string,
103
85
  yellow700: string,
104
86
 
105
- lime50: string,
106
- lime100: string,
107
- lime200: string,
108
- lime300: string,
109
- lime400: string,
110
- lime500: string,
111
- lime600: string,
112
- lime700: string,
113
-
114
87
  brown50: string,
115
88
  brown100: string,
116
89
  brown200: string,
@@ -44,7 +44,6 @@ var Body = (0, _styles.styled)('div', function (props) {
44
44
  });
45
45
  exports.Body = Body;
46
46
  Body.displayName = "Body";
47
- Body.displayName = 'Body';
48
47
  var Inner = (0, _styles.styled)('div', function (props) {
49
48
  return _objectSpread(_objectSpread(_objectSpread({}, (0, _styledComponents.getInnerStyles)(props)), {}, {
50
49
  backgroundColor: props.$theme.colors.tooltipBackground,
@@ -62,12 +61,10 @@ var Inner = (0, _styles.styled)('div', function (props) {
62
61
  });
63
62
  exports.Inner = Inner;
64
63
  Inner.displayName = "Inner";
65
- Inner.displayName = 'Inner';
66
64
  var Arrow = (0, _styles.styled)('div', function (props) {
67
65
  return _objectSpread(_objectSpread({}, (0, _styledComponents.getArrowStyles)(props)), {}, {
68
66
  backgroundColor: props.$theme.colors.tooltipBackground
69
67
  });
70
68
  });
71
69
  exports.Arrow = Arrow;
72
- Arrow.displayName = "Arrow";
73
- Arrow.displayName = 'Arrow';
70
+ Arrow.displayName = "Arrow";
@@ -29,7 +29,6 @@ var StyledTreeItemList = (0, _styles.styled)('ul', function (_ref) {
29
29
  });
30
30
  exports.StyledTreeItemList = StyledTreeItemList;
31
31
  StyledTreeItemList.displayName = "StyledTreeItemList";
32
- StyledTreeItemList.displayName = 'StyledTreeItemList';
33
32
  var StyledTreeItem = (0, _styles.styled)('li', function (_ref3) {
34
33
  var $theme = _ref3.$theme,
35
34
  $isLeafNode = _ref3.$isLeafNode;
@@ -50,7 +49,6 @@ var StyledTreeItem = (0, _styles.styled)('li', function (_ref3) {
50
49
  });
51
50
  exports.StyledTreeItem = StyledTreeItem;
52
51
  StyledTreeItem.displayName = "StyledTreeItem";
53
- StyledTreeItem.displayName = 'StyledTreeItem';
54
52
  var StyledItemContent = (0, _styles.styled)('div', function (_ref4) {
55
53
  var $theme = _ref4.$theme,
56
54
  $isSelected = _ref4.$isSelected,
@@ -77,7 +75,6 @@ var StyledItemContent = (0, _styles.styled)('div', function (_ref4) {
77
75
  });
78
76
  exports.StyledItemContent = StyledItemContent;
79
77
  StyledItemContent.displayName = "StyledItemContent";
80
- StyledItemContent.displayName = 'StyledItemContent';
81
78
  var StyledIconContainer = (0, _styles.styled)('div', function (_ref5) {
82
79
  var $theme = _ref5.$theme;
83
80
  var marginDirection = $theme.direction === 'rtl' ? 'marginLeft' : 'marginRight';
@@ -91,7 +88,6 @@ var StyledIconContainer = (0, _styles.styled)('div', function (_ref5) {
91
88
  });
92
89
  exports.StyledIconContainer = StyledIconContainer;
93
90
  StyledIconContainer.displayName = "StyledIconContainer";
94
- StyledIconContainer.displayName = 'StyledIconContainer';
95
91
  var StyledNoIconContainer = (0, _styles.styled)('div', function (_ref7) {
96
92
  var _ref8;
97
93
 
@@ -107,12 +103,10 @@ var StyledNoIconContainer = (0, _styles.styled)('div', function (_ref7) {
107
103
  });
108
104
  exports.StyledNoIconContainer = StyledNoIconContainer;
109
105
  StyledNoIconContainer.displayName = "StyledNoIconContainer";
110
- StyledNoIconContainer.displayName = 'StyledNoIconContainer';
111
106
  var StyledLabelInteractable = (0, _styles.styled)('div', function () {
112
107
  return {
113
108
  width: '100%'
114
109
  };
115
110
  });
116
111
  exports.StyledLabelInteractable = StyledLabelInteractable;
117
- StyledLabelInteractable.displayName = "StyledLabelInteractable";
118
- StyledLabelInteractable.displayName = 'StyledLabelInteractable';
112
+ StyledLabelInteractable.displayName = "StyledLabelInteractable";
@@ -83,7 +83,6 @@ function TreeView(props) {
83
83
  };
84
84
 
85
85
  var onKeyDown = function onKeyDown(e, node) {
86
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
87
86
  var elementId = e.target.getAttribute('data-nodeid'); // this check prevents bubbling
88
87
 
89
88
  if (elementId !== getId(node) && parseInt(elementId) !== getId(node)) {
@@ -172,8 +171,7 @@ function TreeView(props) {
172
171
  if (selectedNodeId === null && data.length) {
173
172
  setSelectedNodeId(getId(data[0]));
174
173
  }
175
- }; // eslint-disable-next-line @typescript-eslint/no-unused-vars
176
-
174
+ };
177
175
 
178
176
  var onBlur = function onBlur(event) {
179
177
  if (focusVisible) {
@@ -1,5 +1,6 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  import type { Override } from '../helpers/overrides';
3
+ import type { SyntheticEvent } from 'react';
3
4
  export declare type TreeLabelOverrides = {
4
5
  TreeItemContent?: Override;
5
6
  IconContainer?: Override;
@@ -45,8 +46,8 @@ export declare type TreeNodeProps = {
45
46
  overrides?: TreeViewOverrides;
46
47
  renderAll?: boolean;
47
48
  onKeyDown?: (e: KeyboardEvent, node: TreeNodeData) => unknown;
48
- onFocus?: (event: React.SyntheticEvent) => unknown;
49
- onBlur?: (event: React.SyntheticEvent) => unknown;
49
+ onFocus?: (event: SyntheticEvent) => unknown;
50
+ onBlur?: (event: SyntheticEvent) => unknown;
50
51
  selectedNodeId?: TreeNodeId;
51
52
  addRef: (id: TreeNodeId, ref: React.Ref<HTMLLIElement>) => unknown;
52
53
  removeRef: (id: TreeNodeId) => unknown;
@@ -1,14 +1 @@
1
- "use strict";
2
-
3
- /*
4
- Copyright (c) Uber Technologies, Inc.
5
-
6
- This source code is licensed under the MIT license found in the
7
- LICENSE file in the root directory of this source tree.
8
- */
9
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
10
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
12
- var PlaywrightTest;
13
-
14
- (function (_PlaywrightTest) {})(PlaywrightTest || (PlaywrightTest = {}));
1
+ "use strict";
@@ -13,6 +13,8 @@ Copyright (c) Uber Technologies, Inc.
13
13
  This source code is licensed under the MIT license found in the
14
14
  LICENSE file in the root directory of this source tree.
15
15
  */
16
+
17
+ /* flowlint unclear-type:off */
16
18
  function deepMerge(target) {
17
19
  target = target || {};
18
20
  var len = arguments.length <= 1 ? 0 : arguments.length - 1;
@@ -39,6 +41,10 @@ function deepMerge(target) {
39
41
 
40
42
  return target;
41
43
  }
44
+ /* flowlint unclear-type:error */
45
+
46
+ /* eslint-disable-next-line flowtype/no-weak-types */
47
+
42
48
 
43
49
  function isCloneable(obj) {
44
50
  /* eslint-disable-next-line eqeqeq */
@@ -16,7 +16,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
16
16
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
17
 
18
18
  function _default(Component, displayName) {
19
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
20
19
  var DeprecatedComponent = /*#__PURE__*/React.forwardRef(function (props, ref) {
21
20
  if (process.env.NODE_ENV !== "production") {
22
21
  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!"));
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  export declare function teardown(doc: any): void;
3
3
  export declare function isFocusVisible(event: any): any;
4
4
  /**
@@ -160,8 +160,7 @@ function initFocusVisible(node) {
160
160
  }
161
161
  }
162
162
 
163
- var forkFocus = // eslint-disable-next-line @typescript-eslint/no-explicit-any
164
- function forkFocus(rootProps, handler) {
163
+ var forkFocus = function forkFocus(rootProps, handler) {
165
164
  return function (e) {
166
165
  if (typeof rootProps.onFocus === 'function') {
167
166
  rootProps.onFocus(e);
@@ -173,8 +172,7 @@ function forkFocus(rootProps, handler) {
173
172
 
174
173
  exports.forkFocus = forkFocus;
175
174
 
176
- var forkBlur = // eslint-disable-next-line @typescript-eslint/no-explicit-any
177
- function forkBlur(rootProps, handler) {
175
+ var forkBlur = function forkBlur(rootProps, handler) {
178
176
  return function (e) {
179
177
  if (typeof rootProps.onBlur === 'function') {
180
178
  rootProps.onBlur(e);
@@ -1,142 +0,0 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- /*
4
- Copyright (c) Uber Technologies, Inc.
5
-
6
- This source code is licensed under the MIT license found in the
7
- LICENSE file in the root directory of this source tree.
8
- */
9
- import * as React from 'react';
10
- import { useStyletron } from '../styles';
11
- import { getOverrides } from '../helpers/overrides';
12
- import { LOCATION_PUCK_SIZES, LOCATION_PUCK_TYPES, EARNER_LOCATION_PUCK_CORE_SCALES } from './constants';
13
- import { LocationPuckContainer, StyledConsumerLocationPuckCore, StyledLocationPuckApproximation, StyledEarnerLocationPuckCore } from './styled-components';
14
-
15
- const ConsumerLocationPuckHeading = ({
16
- heading
17
- }) => {
18
- const [css, theme] = useStyletron();
19
- return /*#__PURE__*/React.createElement("svg", {
20
- className: css({
21
- height: `${6}px`,
22
- width: `${11}px`,
23
- position: 'absolute',
24
- color: theme.colors.contentAccent,
25
- transition: `${theme.animation.timing300} ${theme.animation.easeOutCurve} all`
26
- }),
27
- style: {
28
- transform: `rotate(${heading}deg) translateY(-16px)`
29
- },
30
- width: "11",
31
- height: "6",
32
- viewBox: "0 0 11 6",
33
- fill: "none",
34
- xmlns: "http://www.w3.org/2000/svg"
35
- }, /*#__PURE__*/React.createElement("path", {
36
- fillRule: "evenodd",
37
- clipRule: "evenodd",
38
- d: "M5.5 0L0 6L5.5 5L11 6L5.5 0Z",
39
- fill: "currentColor"
40
- }));
41
- };
42
-
43
- const ConsumerLocationPuck = ({
44
- heading,
45
- showHeading,
46
- confidenceRadius,
47
- overrides
48
- }) => {
49
- const [, theme] = useStyletron();
50
- const [Root, rootProps] = getOverrides(overrides.Root, LocationPuckContainer);
51
- const [ConsumerLocationPuckCore, consumerLocationPuckCoreProps] = getOverrides(overrides.ConsumerLocationPuckCore, StyledConsumerLocationPuckCore);
52
- const [LocationPuckApproximation, locationPuckApproximationProps] = getOverrides(overrides.LocationPuckApproximation, StyledLocationPuckApproximation);
53
- return /*#__PURE__*/React.createElement(Root, rootProps, /*#__PURE__*/React.createElement(LocationPuckApproximation, _extends({
54
- $color: theme.colors.contentAccent,
55
- $radius: confidenceRadius
56
- }, locationPuckApproximationProps)), /*#__PURE__*/React.createElement(ConsumerLocationPuckCore, consumerLocationPuckCoreProps), showHeading && /*#__PURE__*/React.createElement(ConsumerLocationPuckHeading, {
57
- heading: heading
58
- }));
59
- };
60
-
61
- const EarnerLocationPuckHeading = ({
62
- size,
63
- color,
64
- heading
65
- }) => {
66
- const [css, theme] = useStyletron();
67
- return /*#__PURE__*/React.createElement("svg", {
68
- className: css({
69
- position: 'absolute',
70
- transition: `${theme.animation.timing300} ${theme.animation.easeOutCurve} all`
71
- }),
72
- style: {
73
- transform: `rotate(${heading}deg) scale(${EARNER_LOCATION_PUCK_CORE_SCALES[size]})`
74
- },
75
- width: "72",
76
- height: "72",
77
- viewBox: "0 0 72 72",
78
- fill: "none",
79
- xmlns: "http://www.w3.org/2000/svg"
80
- }, /*#__PURE__*/React.createElement("path", {
81
- fillRule: "evenodd",
82
- clipRule: "evenodd",
83
- d: "M36 20L52 52L36 42.8571L20 52L36 20Z",
84
- fill: color
85
- }));
86
- };
87
-
88
- const EarnerLocationPuck = ({
89
- heading,
90
- confidenceRadius,
91
- size,
92
- overrides
93
- }) => {
94
- const [, theme] = useStyletron();
95
- const color = theme.colors.contentPrimary;
96
- const [Root, rootProps] = getOverrides(overrides.Root, LocationPuckContainer);
97
- const [LocationPuckApproximation, locationPuckApproximationProps] = getOverrides(overrides.LocationPuckApproximation, StyledLocationPuckApproximation);
98
- const [EarnerLocationPuckCore, earnerLocationPuckCoreProps] = getOverrides(overrides.EarnerLocationPuckCore, StyledEarnerLocationPuckCore);
99
- return /*#__PURE__*/React.createElement(Root, rootProps, /*#__PURE__*/React.createElement(LocationPuckApproximation, _extends({
100
- $color: color,
101
- $radius: confidenceRadius
102
- }, locationPuckApproximationProps)), /*#__PURE__*/React.createElement(EarnerLocationPuckCore, _extends({
103
- $color: color,
104
- $size: size
105
- }, earnerLocationPuckCoreProps)), /*#__PURE__*/React.createElement(EarnerLocationPuckHeading, {
106
- size: size,
107
- color: color,
108
- heading: heading
109
- }));
110
- };
111
-
112
- const LocationPuck = ({
113
- size = LOCATION_PUCK_SIZES.medium,
114
- heading = 0,
115
- showHeading = true,
116
- confidenceRadius = 0,
117
- type = LOCATION_PUCK_TYPES.consumer,
118
- overrides = {}
119
- }) => {
120
- if (process.env.NODE_ENV !== "production") {
121
- if (size !== LOCATION_PUCK_SIZES.medium && type === LOCATION_PUCK_TYPES.consumer) {
122
- console.warn(`Location puck size can only be applied to type === LOCATION_PUCK_TYPES.earner`);
123
- }
124
-
125
- if (!showHeading && type === LOCATION_PUCK_TYPES.earner) {
126
- console.warn(`Earner location puck must show the heading indicator`);
127
- }
128
- }
129
-
130
- const sharedProps = {
131
- heading,
132
- confidenceRadius,
133
- overrides
134
- };
135
- return type === LOCATION_PUCK_TYPES.consumer ? /*#__PURE__*/React.createElement(ConsumerLocationPuck, _extends({}, sharedProps, {
136
- showHeading: showHeading
137
- })) : /*#__PURE__*/React.createElement(EarnerLocationPuck, _extends({}, sharedProps, {
138
- size: size
139
- }));
140
- };
141
-
142
- export default LocationPuck;
@@ -1,19 +0,0 @@
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
- import { KIND } from '../button';
8
- export const BACKGROUND_COLOR_TYPE = Object.freeze({
9
- light: 'light',
10
- dark: 'dark'
11
- });
12
- export const IMAGE_LAYOUT = Object.freeze({
13
- top: 'top',
14
- trailing: 'trailing'
15
- });
16
- export const BUTTON_KIND = Object.freeze({
17
- [KIND.secondary]: KIND.secondary,
18
- [KIND.tertiary]: KIND.tertiary
19
- });
@@ -1,10 +0,0 @@
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
- export { default as MessageCard } from './message-card';
8
- export * from './constants';
9
- export * from './styled-components';
10
- export * from './types';