baseui 0.0.0-alpha-3479e57 → 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 (516) 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/app-nav-bar/app-nav-bar.js +2 -4
  7. package/app-nav-bar/mobile-menu.js +1 -2
  8. package/app-nav-bar/styled-components.js +1 -19
  9. package/app-nav-bar/user-menu.js +1 -1
  10. package/aspect-ratio-box/aspect-ratio-box.js +1 -3
  11. package/avatar/styled-components.js +1 -4
  12. package/badge/styled-components.js +7 -12
  13. package/banner/styled-components.js +11 -21
  14. package/banner/types.d.ts +11 -12
  15. package/banner/types.js.flow +11 -13
  16. package/block/block.js +1 -3
  17. package/block/styled-components.js +1 -2
  18. package/breadcrumbs/styled-components.js +1 -5
  19. package/button/styled-components.js +0 -5
  20. package/button-group/stateful-button-group.js +0 -1
  21. package/button-group/stateful-container.js +1 -3
  22. package/button-group/styled-components.js +1 -2
  23. package/card/images.d.ts +1 -1
  24. package/card/styled-components.js +4 -11
  25. package/checkbox/styled-components.js +3 -9
  26. package/combobox/combobox.js +71 -78
  27. package/combobox/styled-components.js +1 -5
  28. package/data-table/column-anchor.js +0 -3
  29. package/data-table/column-datetime.js +4 -10
  30. package/data-table/column-numerical.js +4 -4
  31. package/data-table/column-string.js +0 -3
  32. package/data-table/column.js +1 -6
  33. package/data-table/data-table.js +6 -7
  34. package/data-table/filter-menu.js +1 -2
  35. package/data-table/header-cell.js +34 -43
  36. package/data-table/locale.d.ts +0 -4
  37. package/data-table/locale.js +1 -3
  38. package/data-table/locale.js.flow +0 -5
  39. package/data-table/measure-column-widths.js +1 -2
  40. package/data-table/stateful-container.js +1 -2
  41. package/data-table/stateful-data-table.js +4 -4
  42. package/datepicker/calendar-header.js +0 -1
  43. package/datepicker/calendar.js +0 -2
  44. package/datepicker/datepicker.js +0 -2
  45. package/datepicker/day.js +1 -2
  46. package/datepicker/stateful-calendar.js +3 -7
  47. package/datepicker/stateful-container.js +0 -2
  48. package/datepicker/stateful-datepicker.js +4 -9
  49. package/datepicker/styled-components.js +4 -27
  50. package/datepicker/utils/date-helpers.js +1 -2
  51. package/datepicker/utils/index.js +1 -2
  52. package/divider/styled-components.js +3 -4
  53. package/dnd-list/stateful-list-container.js +0 -1
  54. package/dnd-list/styled-components.js +0 -7
  55. package/drawer/constants.js +0 -1
  56. package/drawer/drawer.js +3 -2
  57. package/drawer/drawer.js.flow +3 -1
  58. package/drawer/styled-components.js +2 -9
  59. package/es/accordion/accordion.js +3 -3
  60. package/es/accordion/panel.js +2 -3
  61. package/es/accordion/stateful-panel-container.js +0 -1
  62. package/es/accordion/styled-components.js +1 -8
  63. package/es/app-nav-bar/app-nav-bar.js +2 -6
  64. package/es/app-nav-bar/mobile-menu.js +2 -4
  65. package/es/app-nav-bar/styled-components.js +1 -19
  66. package/es/app-nav-bar/user-menu.js +1 -1
  67. package/es/aspect-ratio-box/aspect-ratio-box.js +1 -3
  68. package/es/avatar/styled-components.js +1 -4
  69. package/es/badge/styled-components.js +2 -7
  70. package/es/banner/styled-components.js +2 -12
  71. package/es/block/block.js +1 -3
  72. package/es/block/styled-components.js +1 -2
  73. package/es/breadcrumbs/styled-components.js +1 -5
  74. package/es/button/button.js +0 -8
  75. package/es/button/styled-components.js +0 -5
  76. package/es/button-group/stateful-button-group.js +0 -1
  77. package/es/button-group/stateful-container.js +1 -3
  78. package/es/button-group/styled-components.js +1 -2
  79. package/es/card/index.js +1 -2
  80. package/es/card/styled-components.js +4 -12
  81. package/es/checkbox/index.js +0 -1
  82. package/es/checkbox/stateful-checkbox-container.js +0 -3
  83. package/es/checkbox/styled-components.js +3 -9
  84. package/es/combobox/combobox.js +69 -76
  85. package/es/combobox/styled-components.js +1 -5
  86. package/es/data-table/column-anchor.js +0 -3
  87. package/es/data-table/column-datetime.js +5 -12
  88. package/es/data-table/column-numerical.js +4 -5
  89. package/es/data-table/column-string.js +0 -3
  90. package/es/data-table/column.js +1 -4
  91. package/es/data-table/data-table.js +6 -7
  92. package/es/data-table/filter-menu.js +1 -2
  93. package/es/data-table/header-cell.js +34 -41
  94. package/es/data-table/locale.js +1 -3
  95. package/es/data-table/measure-column-widths.js +1 -2
  96. package/es/data-table/stateful-container.js +1 -2
  97. package/es/data-table/stateful-data-table.js +4 -4
  98. package/es/datepicker/calendar-header.js +0 -1
  99. package/es/datepicker/calendar.js +0 -2
  100. package/es/datepicker/datepicker.js +1 -3
  101. package/es/datepicker/day.js +1 -2
  102. package/es/datepicker/stateful-calendar.js +1 -4
  103. package/es/datepicker/stateful-container.js +0 -2
  104. package/es/datepicker/stateful-datepicker.js +1 -5
  105. package/es/datepicker/styled-components.js +3 -26
  106. package/es/datepicker/utils/date-helpers.js +1 -2
  107. package/es/datepicker/utils/index.js +1 -2
  108. package/es/divider/styled-components.js +2 -3
  109. package/es/dnd-list/stateful-list-container.js +0 -1
  110. package/es/dnd-list/styled-components.js +0 -7
  111. package/es/drawer/constants.js +0 -1
  112. package/es/drawer/drawer.js +5 -2
  113. package/es/drawer/styled-components.js +2 -9
  114. package/es/file-uploader/styled-components.js +1 -6
  115. package/es/flex-grid/flex-grid-item.js +6 -5
  116. package/es/flex-grid/flex-grid.js +1 -4
  117. package/es/form-control/styled-components.js +1 -6
  118. package/es/header-navigation/styled-components.js +1 -4
  119. package/es/helper/styled-components.js +1 -3
  120. package/es/helpers/overrides.js +5 -9
  121. package/es/icon/build-icons.js +2 -0
  122. package/es/icon/omit-dollar-prefixed-keys.js +0 -1
  123. package/es/icon/styled-components.js +1 -2
  124. package/es/input/base-input.js +0 -1
  125. package/es/input/masked-input.js +2 -9
  126. package/es/input/stateful-container.js +0 -1
  127. package/es/input/styled-components.js +5 -10
  128. package/es/layer/layer.js +0 -24
  129. package/es/layer/layers-manager.js +1 -91
  130. package/es/layout-grid/styled-components.js +0 -3
  131. package/es/link/index.js +1 -2
  132. package/es/link/styled-components.js +1 -2
  133. package/es/list/list-heading.js +17 -21
  134. package/es/list/list-item.js +1 -2
  135. package/es/list/styled-components.js +1 -15
  136. package/es/locale/es_AR.js +1 -3
  137. package/es/locale/index.js +1 -2
  138. package/es/locale/tr_TR.js +1 -3
  139. package/es/map-marker/constants.js +0 -14
  140. package/es/map-marker/fixed-marker.js +0 -1
  141. package/es/map-marker/index.js +1 -2
  142. package/es/map-marker/pin-head.js +0 -1
  143. package/es/map-marker/styled-components.js +2 -86
  144. package/es/menu/menu.js +3 -7
  145. package/es/menu/option-profile.js +0 -1
  146. package/es/menu/stateful-container.js +0 -10
  147. package/es/menu/styled-components.js +2 -15
  148. package/es/modal/modal.js +6 -4
  149. package/es/modal/styled-components.js +1 -8
  150. package/es/pagination/stateful-container.js +0 -1
  151. package/es/pagination/stateful-pagination.js +0 -1
  152. package/es/pagination/styled-components.js +1 -4
  153. package/es/payment-card/styled-components.js +1 -2
  154. package/es/phone-input/base-country-picker.js +1 -3
  155. package/es/phone-input/country-select-dropdown.js +0 -1
  156. package/es/phone-input/styled-components.js +4 -15
  157. package/es/pin-code/styled-components.js +1 -4
  158. package/es/popover/popover.js +12 -9
  159. package/es/popover/styled-components.js +4 -9
  160. package/es/progress-bar/progressbar-rounded.js +0 -1
  161. package/es/progress-bar/styled-components.js +2 -14
  162. package/es/progress-steps/progress-steps.js +1 -2
  163. package/es/progress-steps/styled-components.js +12 -20
  164. package/es/radio/stateful-radiogroup-container.js +0 -3
  165. package/es/radio/styled-components.js +3 -10
  166. package/es/rating/emoticon-rating.js +1 -2
  167. package/es/rating/star-rating.js +1 -2
  168. package/es/rating/styled-components.js +1 -5
  169. package/es/select/autosize-input.js +3 -2
  170. package/es/select/dropdown.js +1 -2
  171. package/es/select/multi-value.js +1 -2
  172. package/es/select/select-component.js +10 -10
  173. package/es/select/single-select.js +2 -2
  174. package/es/select/stateful-select-container.js +0 -2
  175. package/es/select/styled-components.js +1 -16
  176. package/es/select/value.js +4 -3
  177. package/es/side-navigation/index.js +1 -2
  178. package/es/side-navigation/nav-item.js +0 -1
  179. package/es/side-navigation/nav.js +1 -1
  180. package/es/side-navigation/stateful-container.js +0 -1
  181. package/es/side-navigation/styled-components.js +2 -8
  182. package/es/skeleton/styled-components.js +1 -3
  183. package/es/slider/slider.js +2 -4
  184. package/es/slider/stateful-slider-container.js +0 -2
  185. package/es/slider/styled-components.js +0 -9
  186. package/es/snackbar/snackbar-element.js +0 -1
  187. package/es/snackbar/styled-components.js +1 -9
  188. package/es/spinner/styled-components.js +1 -2
  189. package/es/styles/__mocks__/styled.js +5 -8
  190. package/es/styles/styled.js +6 -7
  191. package/es/table/index.js +1 -2
  192. package/es/table/styled-components.js +1 -13
  193. package/es/table-grid/styled-components.js +1 -4
  194. package/es/table-semantic/styled-components.js +2 -20
  195. package/es/tabs/stateful-tabs.js +0 -1
  196. package/es/tabs/styled-components.js +1 -5
  197. package/es/tabs/tabs.js +2 -4
  198. package/es/tabs-motion/styled-components.js +1 -9
  199. package/es/tabs-motion/tab.js +0 -1
  200. package/es/tabs-motion/tabs.js +1 -2
  201. package/es/tag/styled-components.js +1 -32
  202. package/es/tag/tag.js +2 -6
  203. package/es/textarea/styled-components.js +1 -4
  204. package/es/themes/shared/typography.js +10 -10
  205. package/es/toast/styled-components.js +1 -5
  206. package/es/toast/toaster.js +2 -0
  207. package/es/tokens/colors.js +0 -24
  208. package/es/tooltip/styled-components.js +1 -4
  209. package/es/tree-view/index.js +1 -2
  210. package/es/tree-view/styled-components.js +1 -7
  211. package/es/tree-view/tree-view.js +1 -3
  212. package/es/types/globals.d.js +0 -12
  213. package/es/utils/deep-merge.js +5 -0
  214. package/es/utils/deprecated-component.js +0 -1
  215. package/es/utils/focusVisible.js +2 -4
  216. package/esm/accordion/accordion.js +4 -4
  217. package/esm/accordion/panel.js +2 -3
  218. package/esm/accordion/stateful-panel-container.js +0 -1
  219. package/esm/accordion/styled-components.js +1 -8
  220. package/esm/app-nav-bar/app-nav-bar.js +2 -4
  221. package/esm/app-nav-bar/mobile-menu.js +2 -4
  222. package/esm/app-nav-bar/styled-components.js +1 -19
  223. package/esm/app-nav-bar/user-menu.js +1 -1
  224. package/esm/aspect-ratio-box/aspect-ratio-box.js +1 -3
  225. package/esm/avatar/styled-components.js +1 -4
  226. package/esm/badge/styled-components.js +2 -7
  227. package/esm/banner/styled-components.js +2 -12
  228. package/esm/block/block.js +1 -3
  229. package/esm/block/styled-components.js +1 -2
  230. package/esm/breadcrumbs/styled-components.js +1 -5
  231. package/esm/button/styled-components.js +0 -5
  232. package/esm/button-group/stateful-button-group.js +0 -1
  233. package/esm/button-group/stateful-container.js +1 -3
  234. package/esm/button-group/styled-components.js +1 -2
  235. package/esm/card/index.js +1 -2
  236. package/esm/card/styled-components.js +4 -12
  237. package/esm/checkbox/index.js +0 -1
  238. package/esm/checkbox/styled-components.js +3 -9
  239. package/esm/combobox/combobox.js +71 -78
  240. package/esm/combobox/styled-components.js +1 -5
  241. package/esm/data-table/column-anchor.js +0 -3
  242. package/esm/data-table/column-datetime.js +5 -12
  243. package/esm/data-table/column-numerical.js +4 -4
  244. package/esm/data-table/column-string.js +0 -3
  245. package/esm/data-table/column.js +1 -5
  246. package/esm/data-table/data-table.js +6 -7
  247. package/esm/data-table/filter-menu.js +1 -2
  248. package/esm/data-table/header-cell.js +34 -42
  249. package/esm/data-table/locale.js +1 -3
  250. package/esm/data-table/measure-column-widths.js +1 -2
  251. package/esm/data-table/stateful-container.js +1 -2
  252. package/esm/data-table/stateful-data-table.js +4 -4
  253. package/esm/datepicker/calendar-header.js +0 -1
  254. package/esm/datepicker/calendar.js +0 -2
  255. package/esm/datepicker/datepicker.js +1 -3
  256. package/esm/datepicker/day.js +1 -2
  257. package/esm/datepicker/stateful-calendar.js +3 -7
  258. package/esm/datepicker/stateful-container.js +0 -2
  259. package/esm/datepicker/stateful-datepicker.js +4 -9
  260. package/esm/datepicker/styled-components.js +3 -26
  261. package/esm/datepicker/utils/date-helpers.js +1 -2
  262. package/esm/datepicker/utils/index.js +1 -2
  263. package/esm/divider/styled-components.js +2 -3
  264. package/esm/dnd-list/stateful-list-container.js +0 -1
  265. package/esm/dnd-list/styled-components.js +0 -7
  266. package/esm/drawer/constants.js +0 -1
  267. package/esm/drawer/drawer.js +5 -2
  268. package/esm/drawer/styled-components.js +2 -9
  269. package/esm/file-uploader/styled-components.js +1 -6
  270. package/esm/flex-grid/flex-grid-item.js +5 -4
  271. package/esm/flex-grid/flex-grid.js +3 -7
  272. package/esm/form-control/styled-components.js +1 -6
  273. package/esm/header-navigation/styled-components.js +1 -4
  274. package/esm/helper/styled-components.js +1 -3
  275. package/esm/helpers/overrides.js +5 -9
  276. package/esm/icon/build-icons.js +2 -0
  277. package/esm/icon/omit-dollar-prefixed-keys.js +0 -1
  278. package/esm/icon/styled-components.js +1 -2
  279. package/esm/input/base-input.js +0 -1
  280. package/esm/input/masked-input.js +2 -5
  281. package/esm/input/stateful-container.js +0 -1
  282. package/esm/input/styled-components.js +5 -10
  283. package/esm/layer/layer.js +0 -24
  284. package/esm/layer/layers-manager.js +1 -97
  285. package/esm/layout-grid/styled-components.js +0 -3
  286. package/esm/link/index.js +1 -2
  287. package/esm/link/styled-components.js +1 -2
  288. package/esm/list/list-heading.js +17 -21
  289. package/esm/list/list-item.js +1 -2
  290. package/esm/list/styled-components.js +1 -15
  291. package/esm/locale/es_AR.js +1 -3
  292. package/esm/locale/index.js +1 -4
  293. package/esm/locale/tr_TR.js +1 -3
  294. package/esm/map-marker/constants.js +2 -12
  295. package/esm/map-marker/index.js +1 -2
  296. package/esm/map-marker/styled-components.js +2 -82
  297. package/esm/menu/menu.js +3 -6
  298. package/esm/menu/option-profile.js +0 -1
  299. package/esm/menu/stateful-container.js +0 -1
  300. package/esm/menu/styled-components.js +6 -20
  301. package/esm/modal/modal.js +6 -4
  302. package/esm/modal/styled-components.js +1 -8
  303. package/esm/pagination/stateful-container.js +0 -1
  304. package/esm/pagination/stateful-pagination.js +0 -1
  305. package/esm/pagination/styled-components.js +1 -4
  306. package/esm/payment-card/styled-components.js +1 -2
  307. package/esm/phone-input/base-country-picker.js +1 -3
  308. package/esm/phone-input/country-select-dropdown.js +0 -1
  309. package/esm/phone-input/styled-components.js +8 -20
  310. package/esm/pin-code/styled-components.js +1 -4
  311. package/esm/popover/popover.js +12 -9
  312. package/esm/popover/styled-components.js +4 -9
  313. package/esm/progress-bar/progressbar-rounded.js +0 -1
  314. package/esm/progress-bar/styled-components.js +2 -14
  315. package/esm/progress-steps/progress-steps.js +1 -2
  316. package/esm/progress-steps/styled-components.js +19 -28
  317. package/esm/radio/styled-components.js +3 -10
  318. package/esm/rating/emoticon-rating.js +1 -2
  319. package/esm/rating/star-rating.js +1 -2
  320. package/esm/rating/styled-components.js +1 -5
  321. package/esm/select/autosize-input.js +3 -2
  322. package/esm/select/dropdown.js +1 -2
  323. package/esm/select/multi-value.js +1 -2
  324. package/esm/select/select-component.js +10 -10
  325. package/esm/select/single-select.js +2 -2
  326. package/esm/select/styled-components.js +1 -16
  327. package/esm/select/value.js +4 -3
  328. package/esm/side-navigation/index.js +1 -2
  329. package/esm/side-navigation/nav-item.js +0 -1
  330. package/esm/side-navigation/nav.js +1 -1
  331. package/esm/side-navigation/stateful-container.js +0 -1
  332. package/esm/side-navigation/styled-components.js +6 -13
  333. package/esm/skeleton/styled-components.js +1 -3
  334. package/esm/slider/slider.js +2 -4
  335. package/esm/slider/styled-components.js +0 -9
  336. package/esm/snackbar/snackbar-element.js +0 -1
  337. package/esm/snackbar/styled-components.js +1 -9
  338. package/esm/spinner/styled-components.js +1 -2
  339. package/esm/styles/__mocks__/styled.js +5 -8
  340. package/esm/styles/styled.js +6 -7
  341. package/esm/table/index.js +1 -2
  342. package/esm/table/styled-components.js +1 -13
  343. package/esm/table-grid/styled-components.js +1 -4
  344. package/esm/table-semantic/styled-components.js +2 -20
  345. package/esm/tabs/stateful-tabs.js +0 -1
  346. package/esm/tabs/styled-components.js +1 -5
  347. package/esm/tabs/tabs.js +2 -4
  348. package/esm/tabs-motion/styled-components.js +1 -8
  349. package/esm/tabs-motion/tab.js +0 -1
  350. package/esm/tabs-motion/tabs.js +1 -2
  351. package/esm/tag/styled-components.js +1 -5
  352. package/esm/tag/tag.js +2 -4
  353. package/esm/textarea/styled-components.js +1 -4
  354. package/esm/themes/shared/typography.js +10 -10
  355. package/esm/toast/styled-components.js +1 -5
  356. package/esm/toast/toaster.js +2 -0
  357. package/esm/tokens/colors.js +0 -24
  358. package/esm/tooltip/styled-components.js +1 -4
  359. package/esm/tree-view/index.js +1 -2
  360. package/esm/tree-view/styled-components.js +1 -7
  361. package/esm/tree-view/tree-view.js +1 -3
  362. package/esm/types/globals.d.js +0 -12
  363. package/esm/utils/deep-merge.js +5 -0
  364. package/esm/utils/deprecated-component.js +0 -1
  365. package/esm/utils/focusVisible.js +2 -4
  366. package/file-uploader/styled-components.js +1 -6
  367. package/flex-grid/flex-grid-item.d.ts +1 -1
  368. package/flex-grid/flex-grid-item.js +8 -6
  369. package/flex-grid/flex-grid.js +3 -7
  370. package/form-control/styled-components.js +1 -6
  371. package/header-navigation/styled-components.js +1 -4
  372. package/helper/styled-components.js +1 -3
  373. package/helpers/overrides.js +3 -8
  374. package/helpers/overrides.js.flow +1 -1
  375. package/icon/build-icons.js +2 -0
  376. package/icon/build-icons.js.flow +1 -0
  377. package/icon/omit-dollar-prefixed-keys.js +0 -1
  378. package/icon/styled-components.js +1 -2
  379. package/input/masked-input.js +2 -5
  380. package/input/stateful-container.js +0 -1
  381. package/input/styled-components.js +5 -10
  382. package/layer/layer.js +0 -24
  383. package/layer/layer.js.flow +0 -25
  384. package/layer/layers-manager.d.ts +0 -8
  385. package/layer/layers-manager.js +1 -97
  386. package/layer/layers-manager.js.flow +1 -84
  387. package/layer/types.d.ts +0 -21
  388. package/layer/types.js.flow +1 -22
  389. package/layout-grid/styled-components.js +0 -3
  390. package/link/index.js +1 -2
  391. package/link/styled-components.js +1 -2
  392. package/list/list-heading.js +17 -21
  393. package/list/list-item.js +1 -2
  394. package/list/styled-components.js +1 -15
  395. package/locale/es_AR.js +1 -3
  396. package/locale/index.js +1 -4
  397. package/locale/tr_TR.js +1 -3
  398. package/map-marker/constants.d.ts +0 -14
  399. package/map-marker/constants.js +3 -16
  400. package/map-marker/constants.js.flow +0 -17
  401. package/map-marker/index.d.ts +1 -2
  402. package/map-marker/index.js +1 -24
  403. package/map-marker/index.js.flow +3 -5
  404. package/map-marker/styled-components.d.ts +1 -17
  405. package/map-marker/styled-components.js +2 -88
  406. package/map-marker/styled-components.js.flow +0 -58
  407. package/map-marker/types.d.ts +1 -29
  408. package/map-marker/types.js.flow +0 -34
  409. package/menu/menu.js +3 -6
  410. package/menu/option-profile.js +0 -1
  411. package/menu/stateful-container.js +0 -1
  412. package/menu/styled-components.js +6 -20
  413. package/modal/modal.js +4 -4
  414. package/modal/modal.js.flow +3 -1
  415. package/modal/styled-components.js +1 -8
  416. package/package.json +11 -9
  417. package/pagination/stateful-container.js +0 -1
  418. package/pagination/stateful-pagination.js +0 -1
  419. package/pagination/styled-components.js +1 -4
  420. package/payment-card/styled-components.js +1 -2
  421. package/phone-input/base-country-picker.js +1 -3
  422. package/phone-input/country-select-dropdown.js +0 -1
  423. package/phone-input/styled-components.js +9 -21
  424. package/pin-code/styled-components.js +1 -4
  425. package/popover/popover.js +12 -9
  426. package/popover/popover.js.flow +12 -2
  427. package/popover/styled-components.js +9 -12
  428. package/progress-bar/progressbar-rounded.js +0 -1
  429. package/progress-bar/styled-components.js +2 -14
  430. package/progress-steps/progress-steps.js +1 -2
  431. package/progress-steps/styled-components.js +19 -28
  432. package/radio/styled-components.js +3 -10
  433. package/rating/emoticon-rating.js +1 -2
  434. package/rating/star-rating.js +1 -2
  435. package/rating/styled-components.js +1 -5
  436. package/select/autosize-input.js +1 -2
  437. package/select/autosize-input.js.flow +1 -1
  438. package/select/dropdown.js +1 -2
  439. package/select/multi-value.js +0 -1
  440. package/select/select-component.d.ts +1 -1
  441. package/select/select-component.js +7 -9
  442. package/select/select-component.js.flow +1 -1
  443. package/select/single-select.d.ts +2 -2
  444. package/select/single-select.js +2 -2
  445. package/select/styled-components.js +1 -16
  446. package/select/value.js +3 -2
  447. package/side-navigation/nav-item.js +0 -1
  448. package/side-navigation/nav.js +1 -1
  449. package/side-navigation/stateful-container.js +0 -1
  450. package/side-navigation/styled-components.js +6 -13
  451. package/skeleton/styled-components.js +1 -3
  452. package/slider/slider.js +2 -4
  453. package/slider/styled-components.js +0 -9
  454. package/snackbar/snackbar-element.js +0 -1
  455. package/snackbar/styled-components.js +1 -9
  456. package/spinner/styled-components.js +1 -2
  457. package/styles/__mocks__/styled.js +3 -8
  458. package/styles/styled.js +6 -7
  459. package/table/styled-components.js +1 -13
  460. package/table-grid/styled-components.js +1 -4
  461. package/table-semantic/styled-components.js +2 -20
  462. package/tabs/stateful-tabs.js +0 -1
  463. package/tabs/styled-components.js +1 -5
  464. package/tabs/tabs.js +2 -4
  465. package/tabs-motion/styled-components.js +1 -8
  466. package/tabs-motion/tab.js +0 -1
  467. package/tabs-motion/tabs.js +1 -2
  468. package/tag/styled-components.js +1 -5
  469. package/tag/tag.js +2 -4
  470. package/textarea/styled-components.js +1 -4
  471. package/themes/shared/typography.js +10 -10
  472. package/themes/shared/typography.js.flow +10 -10
  473. package/toast/styled-components.js +1 -5
  474. package/toast/toaster.js.flow +1 -1
  475. package/tokens/colors.js +0 -24
  476. package/tokens/colors.js.flow +0 -27
  477. package/tokens/types.d.ts +0 -24
  478. package/tokens/types.js.flow +0 -27
  479. package/tooltip/styled-components.js +1 -4
  480. package/tree-view/styled-components.js +1 -7
  481. package/tree-view/tree-view.js +1 -3
  482. package/types/globals.d.js +1 -14
  483. package/utils/deep-merge.js +6 -0
  484. package/utils/deprecated-component.js +0 -1
  485. package/utils/focusVisible.js +2 -4
  486. package/es/map-marker/location-puck.js +0 -142
  487. package/es/message-card/constants.js +0 -19
  488. package/es/message-card/index.js +0 -10
  489. package/es/message-card/message-card.js +0 -112
  490. package/es/message-card/styled-components.js +0 -108
  491. package/es/message-card/types.js +0 -1
  492. package/es/message-card/utils.js +0 -27
  493. package/esm/map-marker/location-puck.js +0 -199
  494. package/esm/message-card/constants.js +0 -20
  495. package/esm/message-card/index.js +0 -10
  496. package/esm/message-card/message-card.js +0 -166
  497. package/esm/message-card/styled-components.js +0 -116
  498. package/esm/message-card/types.js +0 -1
  499. package/esm/message-card/utils.js +0 -26
  500. package/map-marker/location-puck.d.ts +0 -4
  501. package/map-marker/location-puck.js +0 -211
  502. package/map-marker/location-puck.js.flow +0 -18
  503. package/message-card/constants.d.ts +0 -12
  504. package/message-card/constants.js +0 -25
  505. package/message-card/index.d.ts +0 -4
  506. package/message-card/index.js +0 -60
  507. package/message-card/index.js.flow +0 -72
  508. package/message-card/message-card.d.ts +0 -4
  509. package/message-card/message-card.js +0 -182
  510. package/message-card/package.json +0 -4
  511. package/message-card/styled-components.d.ts +0 -14
  512. package/message-card/styled-components.js +0 -124
  513. package/message-card/types.d.ts +0 -27
  514. package/message-card/types.js +0 -5
  515. package/message-card/utils.d.ts +0 -1
  516. package/message-card/utils.js +0 -36
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.xxSmallPinheadDimension = exports.xSmallPinheadDimension = exports.dragShadowWidth = exports.dragShadowMarginTop = exports.dragShadowHeight = exports.anchorSize = exports.PINHEAD_TYPES = exports.PINHEAD_SIZES_SHAPES = exports.PINHEAD_DIMENSIONS = exports.NEEDLE_SIZES = exports.NEEDLE_HEIGHTS = exports.LOCATION_PUCK_TYPES = exports.LOCATION_PUCK_SIZES = exports.LABEL_SIZES = exports.LABEL_ENHANCER_POSITIONS = exports.KIND = exports.FLOATING_MARKER_SIZES = exports.FLOATING_MARKER_ANCHOR_TYPES = exports.FLOATING_MARKER_ANCHOR_POSITIONS = exports.EARNER_LOCATION_PUCK_CORE_SCALES = exports.BADGE_ENHANCER_STYLES = exports.BADGE_ENHANCER_SIZES = exports.BADGE_ENHANCER_POSITIONS = exports.BADGE_ENHANCER_CONTENT_SIZE = void 0;
6
+ exports.xxSmallPinheadDimension = exports.xSmallPinheadDimension = exports.dragShadowWidth = exports.dragShadowMarginTop = exports.dragShadowHeight = exports.anchorSize = exports.PINHEAD_TYPES = exports.PINHEAD_SIZES_SHAPES = exports.PINHEAD_DIMENSIONS = exports.NEEDLE_SIZES = exports.NEEDLE_HEIGHTS = exports.LABEL_SIZES = exports.LABEL_ENHANCER_POSITIONS = exports.KIND = exports.FLOATING_MARKER_SIZES = exports.FLOATING_MARKER_ANCHOR_TYPES = exports.FLOATING_MARKER_ANCHOR_POSITIONS = exports.BADGE_ENHANCER_STYLES = exports.BADGE_ENHANCER_SIZES = exports.BADGE_ENHANCER_POSITIONS = exports.BADGE_ENHANCER_CONTENT_SIZE = void 0;
7
7
 
8
- var _Object$freeze, _Object$freeze2, _LABEL_SIZES, _xSmallPinheadBadge, _PINHEAD_SIZES_SHAPES, _PINHEAD_SIZES_SHAPES2, _PINHEAD_SIZES_SHAPES3, _BADGE_ENHANCER_POSIT, _BADGE_ENHANCER_STYLE, _BADGE_ENHANCER_CONTE, _Object$freeze3;
8
+ var _Object$freeze, _Object$freeze2, _LABEL_SIZES, _xSmallPinheadBadge, _PINHEAD_SIZES_SHAPES, _PINHEAD_SIZES_SHAPES2, _PINHEAD_SIZES_SHAPES3, _BADGE_ENHANCER_POSIT, _BADGE_ENHANCER_STYLE, _BADGE_ENHANCER_CONTE;
9
9
 
10
10
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
11
 
@@ -177,17 +177,4 @@ var KIND = Object.freeze({
177
177
  accent: 'accent',
178
178
  negative: 'negative'
179
179
  });
180
- exports.KIND = KIND;
181
- var LOCATION_PUCK_SIZES = Object.freeze({
182
- small: 'small',
183
- medium: 'medium',
184
- large: 'large'
185
- });
186
- exports.LOCATION_PUCK_SIZES = LOCATION_PUCK_SIZES;
187
- var LOCATION_PUCK_TYPES = Object.freeze({
188
- consumer: 'consumer',
189
- earner: 'earner'
190
- });
191
- exports.LOCATION_PUCK_TYPES = LOCATION_PUCK_TYPES;
192
- var EARNER_LOCATION_PUCK_CORE_SCALES = Object.freeze((_Object$freeze3 = {}, _defineProperty(_Object$freeze3, LOCATION_PUCK_SIZES.small, '50%'), _defineProperty(_Object$freeze3, LOCATION_PUCK_SIZES.medium, '75%'), _defineProperty(_Object$freeze3, LOCATION_PUCK_SIZES.large, '100%'), _Object$freeze3));
193
- exports.EARNER_LOCATION_PUCK_CORE_SCALES = EARNER_LOCATION_PUCK_CORE_SCALES;
180
+ exports.KIND = KIND;
@@ -221,23 +221,6 @@ export const KIND = Object.freeze({
221
221
  negative: 'negative',
222
222
  });
223
223
 
224
- export const LOCATION_PUCK_SIZES = Object.freeze({
225
- small: 'small',
226
- medium: 'medium',
227
- large: 'large',
228
- });
229
-
230
- export const LOCATION_PUCK_TYPES = Object.freeze({
231
- consumer: 'consumer',
232
- earner: 'earner',
233
- });
234
-
235
- export const EARNER_LOCATION_PUCK_CORE_SCALES = Object.freeze({
236
- [LOCATION_PUCK_SIZES.small]: '50%',
237
- [LOCATION_PUCK_SIZES.medium]: '75%',
238
- [LOCATION_PUCK_SIZES.large]: '100%',
239
- });
240
-
241
224
  declare var __DEV__: boolean;
242
225
  declare var __NODE__: boolean;
243
226
  declare var __BROWSER__: boolean;
@@ -1,8 +1,7 @@
1
1
  import type { AnchorPositions, NeedleSize, PinHead, PinHeadSize, FloatingMarkerSize, FloatingMarkerAnchorType, BadgeEnhancerSize, LabelEnhancerPosition, Kind, FixedMarkerOverrides, NeedleProps, ItemProps, LabelEnhancer, LabelEhancerComponent, BadgeEnhancer, BadgeEnhancerComponent, BadgePosition, FixedMarkerProps, FloatingMarkerOverrides, FloatingMarkerProps, PinHeadProps, DragShadowProps } from './types';
2
2
  export { default as FixedMarker } from './fixed-marker';
3
3
  export { default as FloatingMarker } from './floating-marker';
4
- export { default as LocationPuck } from './location-puck';
5
- export { FLOATING_MARKER_ANCHOR_POSITIONS, FLOATING_MARKER_SIZES, FLOATING_MARKER_ANCHOR_TYPES, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND, PINHEAD_DIMENSIONS, LOCATION_PUCK_SIZES, LOCATION_PUCK_TYPES, } from './constants';
4
+ export { FLOATING_MARKER_ANCHOR_POSITIONS, FLOATING_MARKER_SIZES, FLOATING_MARKER_ANCHOR_TYPES, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND, PINHEAD_DIMENSIONS, } from './constants';
6
5
  export * from './types';
7
6
  /** @deprecated use AnchorPositions instead. To be removed in future versions.*/
8
7
  export declare type AnchorPositionsT = AnchorPositions;
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  var _exportNames = {
7
7
  FixedMarker: true,
8
8
  FloatingMarker: true,
9
- LocationPuck: true,
10
9
  FLOATING_MARKER_ANCHOR_POSITIONS: true,
11
10
  FLOATING_MARKER_SIZES: true,
12
11
  FLOATING_MARKER_ANCHOR_TYPES: true,
@@ -15,9 +14,7 @@ var _exportNames = {
15
14
  BADGE_ENHANCER_SIZES: true,
16
15
  LABEL_ENHANCER_POSITIONS: true,
17
16
  KIND: true,
18
- PINHEAD_DIMENSIONS: true,
19
- LOCATION_PUCK_SIZES: true,
20
- LOCATION_PUCK_TYPES: true
17
+ PINHEAD_DIMENSIONS: true
21
18
  };
22
19
  Object.defineProperty(exports, "BADGE_ENHANCER_SIZES", {
23
20
  enumerable: true,
@@ -67,24 +64,6 @@ Object.defineProperty(exports, "LABEL_ENHANCER_POSITIONS", {
67
64
  return _constants.LABEL_ENHANCER_POSITIONS;
68
65
  }
69
66
  });
70
- Object.defineProperty(exports, "LOCATION_PUCK_SIZES", {
71
- enumerable: true,
72
- get: function get() {
73
- return _constants.LOCATION_PUCK_SIZES;
74
- }
75
- });
76
- Object.defineProperty(exports, "LOCATION_PUCK_TYPES", {
77
- enumerable: true,
78
- get: function get() {
79
- return _constants.LOCATION_PUCK_TYPES;
80
- }
81
- });
82
- Object.defineProperty(exports, "LocationPuck", {
83
- enumerable: true,
84
- get: function get() {
85
- return _locationPuck.default;
86
- }
87
- });
88
67
  Object.defineProperty(exports, "NEEDLE_SIZES", {
89
68
  enumerable: true,
90
69
  get: function get() {
@@ -108,8 +87,6 @@ var _fixedMarker = _interopRequireDefault(require("./fixed-marker"));
108
87
 
109
88
  var _floatingMarker = _interopRequireDefault(require("./floating-marker"));
110
89
 
111
- var _locationPuck = _interopRequireDefault(require("./location-puck"));
112
-
113
90
  var _constants = require("./constants");
114
91
 
115
92
  var _types = require("./types");
@@ -5,9 +5,9 @@ This source code is licensed under the MIT license found in the
5
5
  LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  // @flow
8
- export { default as FixedMarker } from './fixed-marker';
9
- export { default as FloatingMarker } from './floating-marker';
10
- export { default as LocationPuck } from './location-puck';
8
+ export { default as FixedMarker } from './fixed-marker.js';
9
+ export { default as FloatingMarker } from './floating-marker.js';
10
+
11
11
  export {
12
12
  FLOATING_MARKER_ANCHOR_POSITIONS,
13
13
  FLOATING_MARKER_SIZES,
@@ -17,8 +17,6 @@ export {
17
17
  BADGE_ENHANCER_SIZES,
18
18
  LABEL_ENHANCER_POSITIONS,
19
19
  KIND,
20
- LOCATION_PUCK_SIZES,
21
- LOCATION_PUCK_TYPES,
22
20
  PINHEAD_DIMENSIONS,
23
21
  } from './constants.js';
24
22
 
@@ -1,4 +1,4 @@
1
- import type { AnchorPositions, LabelEnhancerPosition, BadgeEnhancerSize, BadgePosition, PinHeadSize, LocationPuckSize } from './types';
1
+ import type { AnchorPositions, LabelEnhancerPosition, BadgeEnhancerSize, BadgePosition, PinHeadSize } from './types';
2
2
  export declare const getAnchorTransform: (anchor: AnchorPositions, anchorSize: number) => string;
3
3
  export declare const StyledDragShadowContainer: import("styletron-react").StyletronComponent<"div", {
4
4
  $height: number;
@@ -72,19 +72,3 @@ export declare const StyledContentItem: import("styletron-react").StyletronCompo
72
72
  $height: number;
73
73
  $size: PinHeadSize;
74
74
  }>;
75
- export declare const LocationPuckContainer: import("styletron-react").StyletronComponent<"div", {}>;
76
- export declare const consumerLocationShadow: {
77
- boxShadow: string;
78
- };
79
- export declare const earnerLocationShadow: {
80
- boxShadow: string;
81
- };
82
- export declare const StyledConsumerLocationPuckCore: import("styletron-react").StyletronComponent<"div", {}>;
83
- export declare const StyledLocationPuckApproximation: import("styletron-react").StyletronComponent<"div", {
84
- $color: string;
85
- $radius: number;
86
- }>;
87
- export declare const StyledEarnerLocationPuckCore: import("styletron-react").StyletronComponent<"div", {
88
- $color: string;
89
- $size: LocationPuckSize;
90
- }>;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getAnchorTransform = exports.earnerLocationShadow = exports.consumerLocationShadow = exports.StyledStrokedLabelContainer = exports.StyledStrokedLabel = exports.StyledPinHead = exports.StyledOuterXXSmallAnchor = exports.StyledOuterXSmallAnchor = exports.StyledNeedle = exports.StyledLocationPuckApproximation = exports.StyledInnerXXSmallAnchor = exports.StyledInnerXSmallAnchor = exports.StyledFloatingMarkerRoot = exports.StyledFloatingMarkerPinHeadContainer = exports.StyledFloatingMarkerAnchorContainer = exports.StyledFixedMarkerRoot = exports.StyledFixedMarkerDragContainer = exports.StyledEarnerLocationPuckCore = exports.StyledDragShadowContainer = exports.StyledDragShadow = exports.StyledContentItem = exports.StyledConsumerLocationPuckCore = exports.StyledBadgeEnhancerRoot = exports.RelativeContainer = exports.LocationPuckContainer = void 0;
6
+ exports.getAnchorTransform = exports.StyledStrokedLabelContainer = exports.StyledStrokedLabel = exports.StyledPinHead = exports.StyledOuterXXSmallAnchor = exports.StyledOuterXSmallAnchor = exports.StyledNeedle = exports.StyledInnerXXSmallAnchor = exports.StyledInnerXSmallAnchor = exports.StyledFloatingMarkerRoot = exports.StyledFloatingMarkerPinHeadContainer = exports.StyledFloatingMarkerAnchorContainer = exports.StyledFixedMarkerRoot = exports.StyledFixedMarkerDragContainer = exports.StyledDragShadowContainer = exports.StyledDragShadow = exports.StyledContentItem = exports.StyledBadgeEnhancerRoot = exports.RelativeContainer = void 0;
7
7
 
8
8
  var _styles = require("../styles");
9
9
 
@@ -39,7 +39,6 @@ var StyledDragShadowContainer = (0, _styles.styled)('div', function (_ref) {
39
39
  });
40
40
  exports.StyledDragShadowContainer = StyledDragShadowContainer;
41
41
  StyledDragShadowContainer.displayName = "StyledDragShadowContainer";
42
- StyledDragShadowContainer.displayName = 'StyledDragShadowContainer';
43
42
  var StyledDragShadow = (0, _styles.styled)('div', function (_ref2) {
44
43
  var $theme = _ref2.$theme,
45
44
  $background = _ref2.$background,
@@ -55,7 +54,6 @@ var StyledDragShadow = (0, _styles.styled)('div', function (_ref2) {
55
54
  });
56
55
  exports.StyledDragShadow = StyledDragShadow;
57
56
  StyledDragShadow.displayName = "StyledDragShadow";
58
- StyledDragShadow.displayName = 'StyledDragShadow';
59
57
  var StyledNeedle = (0, _styles.styled)('div', function (_ref3) {
60
58
  var $theme = _ref3.$theme,
61
59
  $background = _ref3.$background,
@@ -69,7 +67,6 @@ var StyledNeedle = (0, _styles.styled)('div', function (_ref3) {
69
67
  });
70
68
  exports.StyledNeedle = StyledNeedle;
71
69
  StyledNeedle.displayName = "StyledNeedle";
72
- StyledNeedle.displayName = 'StyledNeedle';
73
70
  var StyledFloatingMarkerRoot = (0, _styles.styled)('div', function (_ref4) {
74
71
  var $size = _ref4.$size;
75
72
  return {
@@ -80,7 +77,6 @@ var StyledFloatingMarkerRoot = (0, _styles.styled)('div', function (_ref4) {
80
77
  });
81
78
  exports.StyledFloatingMarkerRoot = StyledFloatingMarkerRoot;
82
79
  StyledFloatingMarkerRoot.displayName = "StyledFloatingMarkerRoot";
83
- StyledFloatingMarkerRoot.displayName = 'StyledFloatingMarkerRoot';
84
80
  var StyledFloatingMarkerPinHeadContainer = (0, _styles.styled)('div', function (_ref5) {
85
81
  var $theme = _ref5.$theme,
86
82
  $anchor = _ref5.$anchor,
@@ -93,7 +89,6 @@ var StyledFloatingMarkerPinHeadContainer = (0, _styles.styled)('div', function (
93
89
  });
94
90
  exports.StyledFloatingMarkerPinHeadContainer = StyledFloatingMarkerPinHeadContainer;
95
91
  StyledFloatingMarkerPinHeadContainer.displayName = "StyledFloatingMarkerPinHeadContainer";
96
- StyledFloatingMarkerPinHeadContainer.displayName = 'StyledFloatingMarkerPinHeadContainer';
97
92
  var StyledFloatingMarkerAnchorContainer = (0, _styles.styled)('div', function () {
98
93
  return {
99
94
  position: 'absolute'
@@ -101,7 +96,6 @@ var StyledFloatingMarkerAnchorContainer = (0, _styles.styled)('div', function ()
101
96
  });
102
97
  exports.StyledFloatingMarkerAnchorContainer = StyledFloatingMarkerAnchorContainer;
103
98
  StyledFloatingMarkerAnchorContainer.displayName = "StyledFloatingMarkerAnchorContainer";
104
- StyledFloatingMarkerAnchorContainer.displayName = 'StyledFloatingMarkerAnchorContainer';
105
99
  var StyledFixedMarkerRoot = (0, _styles.styled)('div', function () {
106
100
  return {
107
101
  display: 'flex',
@@ -111,7 +105,6 @@ var StyledFixedMarkerRoot = (0, _styles.styled)('div', function () {
111
105
  });
112
106
  exports.StyledFixedMarkerRoot = StyledFixedMarkerRoot;
113
107
  StyledFixedMarkerRoot.displayName = "StyledFixedMarkerRoot";
114
- StyledFixedMarkerRoot.displayName = 'StyledFixedMarkerRoot';
115
108
  var StyledFixedMarkerDragContainer = (0, _styles.styled)('div', function (_ref6) {
116
109
  var $theme = _ref6.$theme,
117
110
  $translateAmount = _ref6.$translateAmount,
@@ -126,7 +119,6 @@ var StyledFixedMarkerDragContainer = (0, _styles.styled)('div', function (_ref6)
126
119
  });
127
120
  exports.StyledFixedMarkerDragContainer = StyledFixedMarkerDragContainer;
128
121
  StyledFixedMarkerDragContainer.displayName = "StyledFixedMarkerDragContainer";
129
- StyledFixedMarkerDragContainer.displayName = 'StyledFixedMarkerDragContainer';
130
122
  var StyledOuterXXSmallAnchor = (0, _styles.styled)('div', function (_ref7) {
131
123
  var $theme = _ref7.$theme,
132
124
  $round = _ref7.$round,
@@ -145,7 +137,6 @@ var StyledOuterXXSmallAnchor = (0, _styles.styled)('div', function (_ref7) {
145
137
  });
146
138
  exports.StyledOuterXXSmallAnchor = StyledOuterXXSmallAnchor;
147
139
  StyledOuterXXSmallAnchor.displayName = "StyledOuterXXSmallAnchor";
148
- StyledOuterXXSmallAnchor.displayName = 'StyledOuterXXSmallAnchor';
149
140
  var StyledInnerXXSmallAnchor = (0, _styles.styled)('div', function (_ref8) {
150
141
  var $round = _ref8.$round,
151
142
  $color = _ref8.$color,
@@ -159,7 +150,6 @@ var StyledInnerXXSmallAnchor = (0, _styles.styled)('div', function (_ref8) {
159
150
  });
160
151
  exports.StyledInnerXXSmallAnchor = StyledInnerXXSmallAnchor;
161
152
  StyledInnerXXSmallAnchor.displayName = "StyledInnerXXSmallAnchor";
162
- StyledInnerXXSmallAnchor.displayName = 'StyledInnerXXSmallAnchor';
163
153
  var StyledOuterXSmallAnchor = (0, _styles.styled)('div', function (_ref9) {
164
154
  var $theme = _ref9.$theme,
165
155
  $round = _ref9.$round,
@@ -178,7 +168,6 @@ var StyledOuterXSmallAnchor = (0, _styles.styled)('div', function (_ref9) {
178
168
  });
179
169
  exports.StyledOuterXSmallAnchor = StyledOuterXSmallAnchor;
180
170
  StyledOuterXSmallAnchor.displayName = "StyledOuterXSmallAnchor";
181
- StyledOuterXSmallAnchor.displayName = 'StyledOuterXSmallAnchor';
182
171
  var StyledInnerXSmallAnchor = (0, _styles.styled)('div', function (_ref10) {
183
172
  var $round = _ref10.$round,
184
173
  $color = _ref10.$color,
@@ -192,7 +181,6 @@ var StyledInnerXSmallAnchor = (0, _styles.styled)('div', function (_ref10) {
192
181
  });
193
182
  exports.StyledInnerXSmallAnchor = StyledInnerXSmallAnchor;
194
183
  StyledInnerXSmallAnchor.displayName = "StyledInnerXSmallAnchor";
195
- StyledInnerXSmallAnchor.displayName = 'StyledInnerXSmallAnchor';
196
184
  var StyledPinHead = (0, _styles.styled)('div', function (_ref11) {
197
185
  var $theme = _ref11.$theme,
198
186
  $height = _ref11.$height,
@@ -226,7 +214,6 @@ var StyledPinHead = (0, _styles.styled)('div', function (_ref11) {
226
214
  });
227
215
  exports.StyledPinHead = StyledPinHead;
228
216
  StyledPinHead.displayName = "StyledPinHead";
229
- StyledPinHead.displayName = 'StyledPinHead';
230
217
  var StyledStrokedLabelContainer = (0, _styles.styled)('div', function (_ref12) {
231
218
  var $position = _ref12.$position,
232
219
  $theme = _ref12.$theme,
@@ -272,7 +259,6 @@ var StyledStrokedLabelContainer = (0, _styles.styled)('div', function (_ref12) {
272
259
  });
273
260
  exports.StyledStrokedLabelContainer = StyledStrokedLabelContainer;
274
261
  StyledStrokedLabelContainer.displayName = "StyledStrokedLabelContainer";
275
- StyledStrokedLabelContainer.displayName = 'StyledStrokedLabelContainer';
276
262
  var StyledStrokedLabel = (0, _styles.styled)('div', function (_ref13) {
277
263
  var $theme = _ref13.$theme,
278
264
  $size = _ref13.$size;
@@ -292,7 +278,6 @@ var StyledStrokedLabel = (0, _styles.styled)('div', function (_ref13) {
292
278
  });
293
279
  exports.StyledStrokedLabel = StyledStrokedLabel;
294
280
  StyledStrokedLabel.displayName = "StyledStrokedLabel";
295
- StyledStrokedLabel.displayName = 'StyledStrokedLabel';
296
281
  var StyledBadgeEnhancerRoot = (0, _styles.styled)('div', function (_ref14) {
297
282
  var $theme = _ref14.$theme,
298
283
  $size = _ref14.$size,
@@ -312,7 +297,6 @@ var StyledBadgeEnhancerRoot = (0, _styles.styled)('div', function (_ref14) {
312
297
  });
313
298
  exports.StyledBadgeEnhancerRoot = StyledBadgeEnhancerRoot;
314
299
  StyledBadgeEnhancerRoot.displayName = "StyledBadgeEnhancerRoot";
315
- StyledBadgeEnhancerRoot.displayName = 'StyledBadgeEnhancerRoot';
316
300
  var RelativeContainer = (0, _styles.styled)('div', function () {
317
301
  return {
318
302
  position: 'relative'
@@ -320,7 +304,6 @@ var RelativeContainer = (0, _styles.styled)('div', function () {
320
304
  });
321
305
  exports.RelativeContainer = RelativeContainer;
322
306
  RelativeContainer.displayName = "RelativeContainer";
323
- RelativeContainer.displayName = 'RelativeContainer';
324
307
  var StyledContentItem = (0, _styles.styled)('div', function (_ref15) {
325
308
  var $theme = _ref15.$theme,
326
309
  $color = _ref15.$color,
@@ -336,73 +319,4 @@ var StyledContentItem = (0, _styles.styled)('div', function (_ref15) {
336
319
  });
337
320
  });
338
321
  exports.StyledContentItem = StyledContentItem;
339
- StyledContentItem.displayName = "StyledContentItem";
340
- StyledContentItem.displayName = 'StyledContentItem';
341
- var LocationPuckContainer = (0, _styles.styled)('div', function () {
342
- return {
343
- position: 'relative',
344
- display: 'flex',
345
- alignItems: 'center',
346
- justifyContent: 'center'
347
- };
348
- });
349
- exports.LocationPuckContainer = LocationPuckContainer;
350
- LocationPuckContainer.displayName = "LocationPuckContainer";
351
- LocationPuckContainer.displayName = 'LocationPuckContainer';
352
- var consumerLocationShadow = {
353
- boxShadow: "0px 2px 4px 0px rgba(67, 76, 123, 0.2)"
354
- };
355
- exports.consumerLocationShadow = consumerLocationShadow;
356
- var earnerLocationShadow = {
357
- boxShadow: "0px 3px 5px 0px rgba(67, 76, 123, 0.4)"
358
- };
359
- exports.earnerLocationShadow = earnerLocationShadow;
360
- var StyledConsumerLocationPuckCore = (0, _styles.styled)('div', function (_ref16) {
361
- var $theme = _ref16.$theme;
362
- return _objectSpread({
363
- height: "".concat(12, "px"),
364
- width: "".concat(12, "px"),
365
- background: $theme.colors.contentAccent,
366
- borderRadius: "".concat(100, "px "),
367
- position: 'absolute'
368
- }, consumerLocationShadow);
369
- });
370
- exports.StyledConsumerLocationPuckCore = StyledConsumerLocationPuckCore;
371
- StyledConsumerLocationPuckCore.displayName = "StyledConsumerLocationPuckCore";
372
- var StyledLocationPuckApproximation = (0, _styles.styled)('div', function (_ref17) {
373
- var $theme = _ref17.$theme,
374
- $color = _ref17.$color,
375
- $radius = _ref17.$radius;
376
- return {
377
- background: $color,
378
- opacity: 0.12,
379
- height: "".concat($radius / 2, "px"),
380
- width: "".concat($radius / 2, "px"),
381
- borderRadius: "".concat(10000, "px "),
382
- position: 'absolute',
383
- transition: "".concat($theme.animation.timing300, " ").concat($theme.animation.easeOutCurve, " all")
384
- };
385
- });
386
- exports.StyledLocationPuckApproximation = StyledLocationPuckApproximation;
387
- StyledLocationPuckApproximation.displayName = "StyledLocationPuckApproximation";
388
- StyledLocationPuckApproximation.displayName = 'StyledLocationPuckApproximation';
389
- var StyledEarnerLocationPuckCore = (0, _styles.styled)('div', function (_ref18) {
390
- var $theme = _ref18.$theme,
391
- $color = _ref18.$color,
392
- $size = _ref18.$size;
393
- return _objectSpread(_objectSpread({
394
- position: 'absolute',
395
- transform: "scale(".concat(_constants.EARNER_LOCATION_PUCK_CORE_SCALES[$size], ")"),
396
- transition: "".concat($theme.animation.timing300, " ").concat($theme.animation.easeOutCurve, " all")
397
- }, earnerLocationShadow), {}, {
398
- borderRadius: '50%',
399
- height: "".concat(72, "px"),
400
- width: "".concat(72, "px"),
401
- background: $theme.colors.backgroundPrimary,
402
- border: "".concat(6, "px solid ", $color),
403
- boxSizing: 'border-box'
404
- });
405
- });
406
- exports.StyledEarnerLocationPuckCore = StyledEarnerLocationPuckCore;
407
- StyledEarnerLocationPuckCore.displayName = "StyledEarnerLocationPuckCore";
408
- StyledEarnerLocationPuckCore.displayName = 'StyledEarnerLocationPuckCore';
322
+ StyledContentItem.displayName = "StyledContentItem";
@@ -10,7 +10,6 @@ import {
10
10
  BADGE_ENHANCER_STYLES,
11
11
  FLOATING_MARKER_ANCHOR_POSITIONS,
12
12
  LABEL_SIZES,
13
- EARNER_LOCATION_PUCK_CORE_SCALES,
14
13
  } from './constants.js';
15
14
 
16
15
  import type {
@@ -19,7 +18,6 @@ import type {
19
18
  BadgeEnhancerSizeT,
20
19
  BadgePositionT,
21
20
  PinHeadSizeT,
22
- LocationPuckSizeT,
23
21
  } from './types.js';
24
22
 
25
23
  export const getAnchorTransform = (anchor: AnchorPositionsT, anchorSize: number) =>
@@ -309,62 +307,6 @@ export const StyledContentItem = styled<{
309
307
  };
310
308
  });
311
309
 
312
- export const LocationPuckContainer = styled<{}>('div', () => {
313
- return {
314
- position: 'relative',
315
- display: 'flex',
316
- alignItems: 'center',
317
- justifyContent: 'center',
318
- };
319
- });
320
-
321
- export const consumerLocationShadow = { boxShadow: `0px 2px 4px 0px rgba(67, 76, 123, 0.2)` };
322
- export const earnerLocationShadow = { boxShadow: `0px 3px 5px 0px rgba(67, 76, 123, 0.4)` };
323
-
324
- export const StyledConsumerLocationPuckCore = styled<{}>('div', ({ $theme }) => {
325
- return {
326
- height: `${12}px`,
327
- width: `${12}px`,
328
- background: $theme.colors.contentAccent,
329
- borderRadius: `${100}px `,
330
- position: 'absolute',
331
- ...consumerLocationShadow,
332
- };
333
- });
334
-
335
- export const StyledLocationPuckApproximation = styled<{
336
- $color: string,
337
- $radius: number,
338
- }>('div', ({ $theme, $color, $radius }) => {
339
- return {
340
- background: $color,
341
- opacity: 0.12,
342
- height: `${$radius / 2}px`,
343
- width: `${$radius / 2}px`,
344
- borderRadius: `${10000}px `,
345
- position: 'absolute',
346
- transition: `${$theme.animation.timing300} ${$theme.animation.easeOutCurve} all`,
347
- };
348
- });
349
-
350
- export const StyledEarnerLocationPuckCore = styled<{
351
- $color: string,
352
- $size: LocationPuckSizeT,
353
- }>('div', ({ $theme, $color, $size }) => {
354
- return {
355
- position: 'absolute',
356
- transform: `scale(${EARNER_LOCATION_PUCK_CORE_SCALES[$size]})`,
357
- transition: `${$theme.animation.timing300} ${$theme.animation.easeOutCurve} all`,
358
- ...earnerLocationShadow,
359
- borderRadius: '50%',
360
- height: `${72}px`,
361
- width: `${72}px`,
362
- background: $theme.colors.backgroundPrimary,
363
- border: `${6}px solid ${$color}`,
364
- boxSizing: 'border-box',
365
- };
366
- });
367
-
368
310
  declare var __DEV__: boolean;
369
311
  declare var __NODE__: boolean;
370
312
  declare var __BROWSER__: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { FLOATING_MARKER_ANCHOR_POSITIONS, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, FLOATING_MARKER_SIZES, PINHEAD_TYPES, FLOATING_MARKER_ANCHOR_TYPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND, LOCATION_PUCK_SIZES, LOCATION_PUCK_TYPES } from './constants';
2
+ import { FLOATING_MARKER_ANCHOR_POSITIONS, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, FLOATING_MARKER_SIZES, PINHEAD_TYPES, FLOATING_MARKER_ANCHOR_TYPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND } from './constants';
3
3
  import type { Override } from '../helpers/overrides';
4
4
  export declare type AnchorPositions = typeof FLOATING_MARKER_ANCHOR_POSITIONS[keyof typeof FLOATING_MARKER_ANCHOR_POSITIONS];
5
5
  export declare type NeedleSize = typeof NEEDLE_SIZES[keyof typeof NEEDLE_SIZES];
@@ -10,8 +10,6 @@ export declare type FloatingMarkerAnchorType = typeof FLOATING_MARKER_ANCHOR_TYP
10
10
  export declare type BadgeEnhancerSize = typeof BADGE_ENHANCER_SIZES[keyof typeof BADGE_ENHANCER_SIZES];
11
11
  export declare type LabelEnhancerPosition = typeof LABEL_ENHANCER_POSITIONS[keyof typeof LABEL_ENHANCER_POSITIONS];
12
12
  export declare type Kind = typeof KIND[keyof typeof KIND];
13
- export declare type LocationPuckSize = typeof LOCATION_PUCK_SIZES[keyof typeof LOCATION_PUCK_SIZES];
14
- export declare type LocationPuckType = typeof LOCATION_PUCK_TYPES[keyof typeof LOCATION_PUCK_TYPES];
15
13
  export declare type FixedMarkerOverrides = {
16
14
  Root?: Override;
17
15
  InnerAnchor?: Override;
@@ -126,29 +124,3 @@ export declare type DragShadowProps = {
126
124
  height: number;
127
125
  overrides: FixedMarkerOverrides;
128
126
  };
129
- export declare type LocationPuckOverrides = {
130
- Root?: Override;
131
- LocationPuckApproximation?: Override;
132
- ConsumerLocationPuckCore?: Override;
133
- EarnerLocationPuckCore?: Override;
134
- };
135
- export declare type LocationPuckProps = {
136
- size?: LocationPuckSize;
137
- heading?: number;
138
- confidenceRadius?: number;
139
- showHeading?: boolean;
140
- type?: LocationPuckType;
141
- overrides?: LocationPuckOverrides;
142
- };
143
- export declare type ConsumerLocationPuckProps = {
144
- heading: number;
145
- confidenceRadius?: number;
146
- showHeading?: boolean;
147
- overrides: LocationPuckOverrides;
148
- };
149
- export declare type EarnerLocationPuckProps = {
150
- heading: number;
151
- confidenceRadius?: number;
152
- size: LocationPuckSize;
153
- overrides?: LocationPuckOverrides;
154
- };
@@ -16,8 +16,6 @@ import {
16
16
  BADGE_ENHANCER_SIZES,
17
17
  LABEL_ENHANCER_POSITIONS,
18
18
  KIND,
19
- LOCATION_PUCK_SIZES,
20
- LOCATION_PUCK_TYPES,
21
19
  } from './constants.js';
22
20
  import type { OverrideT } from '../helpers/overrides.js';
23
21
 
@@ -40,9 +38,6 @@ export type LabelEnhancerPositionT = $Values<typeof LABEL_ENHANCER_POSITIONS>;
40
38
 
41
39
  export type KindT = $Values<typeof KIND>;
42
40
 
43
- export type LocationPuckSizeT = $Values<typeof LOCATION_PUCK_SIZES>;
44
- export type LocationPuckTypeT = $Values<typeof LOCATION_PUCK_TYPES>;
45
-
46
41
  export type FixedMarkerOverridesT = {
47
42
  Root?: OverrideT,
48
43
  InnerAnchor?: OverrideT,
@@ -161,35 +156,6 @@ export type DragShadowPropsT = {
161
156
  overrides: FixedMarkerOverridesT,
162
157
  };
163
158
 
164
- export type LocationPuckOverridesT = {
165
- Root?: OverrideT,
166
- LocationPuckApproximation?: OverrideT,
167
- ConsumerLocationPuckCore?: OverrideT,
168
- EarnerLocationPuckCore?: OverrideT,
169
- };
170
-
171
- export type LocationPuckPropsT = {
172
- size?: LocationPuckSizeT,
173
- heading?: number,
174
- confidenceRadius?: number,
175
- showHeading?: boolean,
176
- type?: LocationPuckTypeT,
177
- overrides?: LocationPuckOverridesT,
178
- };
179
-
180
- export type ConsumerLocationPuckPropsT = {
181
- heading: number,
182
- confidenceRadius?: number,
183
- showHeading?: boolean,
184
- overrides: LocationPuckOverridesT,
185
- };
186
- export type EarnerLocationPuckPropsT = {
187
- heading: number,
188
- confidenceRadius?: number,
189
- size: LocationPuckSizeT,
190
- overrides?: LocationPuckOverridesT,
191
- };
192
-
193
159
  declare var __DEV__: boolean;
194
160
  declare var __NODE__: boolean;
195
161
  declare var __BROWSER__: boolean;
package/menu/menu.js CHANGED
@@ -72,8 +72,7 @@ function Menu(props) {
72
72
  if ((0, _focusVisible.isFocusVisible)(event)) {
73
73
  setFocusVisible(true);
74
74
  }
75
- }; // eslint-disable-next-line @typescript-eslint/no-unused-vars
76
-
75
+ };
77
76
 
78
77
  var handleBlur = function handleBlur(event) {
79
78
  if (focusVisible !== false) {
@@ -115,12 +114,10 @@ function Menu(props) {
115
114
  els.push( /*#__PURE__*/React.createElement(OptgroupHeader, _extends({
116
115
  key: optgroup
117
116
  }, optgroupHeaderProps), optgroup));
118
- } // eslint-disable-next-line @typescript-eslint/no-unused-vars
119
-
117
+ }
120
118
 
121
119
  var groupItems = groupedItems[optgroup].map(function (item, index) {
122
- itemIndex = itemIndex + 1; // eslint-disable-next-line @typescript-eslint/no-unused-vars
123
-
120
+ itemIndex = itemIndex + 1;
124
121
  var _props$getRequiredIte = props.getRequiredItemProps,
125
122
  getRequiredItemProps = _props$getRequiredIte === void 0 ? function (item, index) {
126
123
  return {};
@@ -41,7 +41,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
41
41
 
42
42
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
43
43
 
44
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
45
44
  function OptionProfile(props, ref) {
46
45
  var item = props.item,
47
46
  getChildMenu = props.getChildMenu,
@@ -475,7 +475,6 @@ var MenuStatefulContainerInner = /*#__PURE__*/function (_React$Component) {
475
475
  handleMouseLeave: this.handleMouseLeave,
476
476
  highlightedIndex: this.state.highlightedIndex,
477
477
  isFocused: this.state.isFocused,
478
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
479
478
  handleKeyDown: this.props.keyboardControlNode.current ? function (event) {} : this.onKeyDown,
480
479
  focusMenu: this.focusMenu,
481
480
  unfocusMenu: this.unfocusMenu