@procore/core-react 11.24.1 → 11.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (732) hide show
  1. package/.eslintignore +4 -0
  2. package/.eslintrc.cjs +54 -0
  3. package/dist/Avatar/Avatar.d.ts +2 -2
  4. package/dist/Avatar/Avatar.js.map +1 -1
  5. package/dist/Avatar/Avatar.styles.d.ts +1 -1
  6. package/dist/Avatar/Avatar.styles.js +5 -5
  7. package/dist/Avatar/Avatar.styles.js.map +1 -1
  8. package/dist/Avatar/Avatar.types.d.ts +4 -4
  9. package/dist/Avatar/Avatar.types.js.map +1 -1
  10. package/dist/AvatarStack/AvatarStack.constants.d.ts +1 -1
  11. package/dist/AvatarStack/AvatarStack.constants.js.map +1 -1
  12. package/dist/AvatarStack/AvatarStack.d.ts +2 -2
  13. package/dist/AvatarStack/AvatarStack.js.map +1 -1
  14. package/dist/AvatarStack/AvatarStack.styles.d.ts +1 -1
  15. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  16. package/dist/AvatarStack/AvatarStack.styles.js.map +1 -1
  17. package/dist/Badge/Badge.d.ts +1 -1
  18. package/dist/Badge/Badge.js.map +1 -1
  19. package/dist/Badge/Badge.styles.d.ts +1 -1
  20. package/dist/Badge/Badge.styles.js +2 -2
  21. package/dist/Badge/Badge.styles.js.map +1 -1
  22. package/dist/Badge/Badge.types.d.ts +1 -1
  23. package/dist/Badge/Badge.types.js.map +1 -1
  24. package/dist/Banner/Banner.d.ts +2 -2
  25. package/dist/Banner/Banner.js.map +1 -1
  26. package/dist/Banner/Banner.styles.d.ts +2 -2
  27. package/dist/Banner/Banner.styles.js +10 -10
  28. package/dist/Banner/Banner.styles.js.map +1 -1
  29. package/dist/Banner/Banner.types.d.ts +1 -1
  30. package/dist/Banner/Banner.types.js.map +1 -1
  31. package/dist/Box/Box.d.ts +2 -2
  32. package/dist/Box/Box.js.map +1 -1
  33. package/dist/Box/Box.styles.d.ts +1 -1
  34. package/dist/Box/Box.styles.js +1 -1
  35. package/dist/Box/Box.styles.js.map +1 -1
  36. package/dist/Box/Box.types.d.ts +1 -1
  37. package/dist/Box/Box.types.js.map +1 -1
  38. package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  39. package/dist/Breadcrumbs/Breadcrumbs.js.map +1 -1
  40. package/dist/Breadcrumbs/Breadcrumbs.styles.d.ts +1 -1
  41. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  42. package/dist/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  43. package/dist/Breadcrumbs/Breadcrumbs.types.d.ts +1 -1
  44. package/dist/Breadcrumbs/Breadcrumbs.types.js.map +1 -1
  45. package/dist/Button/Button.d.ts +1 -1
  46. package/dist/Button/Button.js.map +1 -1
  47. package/dist/Button/Button.styles.d.ts +1 -1
  48. package/dist/Button/Button.styles.js +5 -5
  49. package/dist/Button/Button.styles.js.map +1 -1
  50. package/dist/Button/Button.types.d.ts +1 -1
  51. package/dist/Button/Button.types.js.map +1 -1
  52. package/dist/Button/index.d.ts +1 -1
  53. package/dist/Button/index.js.map +1 -1
  54. package/dist/Calendar/Calendar.d.ts +1 -1
  55. package/dist/Calendar/Calendar.js.map +1 -1
  56. package/dist/Calendar/Calendar.styles.js +8 -8
  57. package/dist/Calendar/Calendar.types.d.ts +2 -2
  58. package/dist/Calendar/Calendar.types.js.map +1 -1
  59. package/dist/Card/Card.d.ts +2 -2
  60. package/dist/Card/Card.js.map +1 -1
  61. package/dist/Card/Card.styles.d.ts +1 -1
  62. package/dist/Card/Card.styles.js +1 -1
  63. package/dist/Card/Card.styles.js.map +1 -1
  64. package/dist/Card/Card.types.d.ts +1 -1
  65. package/dist/Card/Card.types.js.map +1 -1
  66. package/dist/Checkbox/Checkbox.d.ts +1 -1
  67. package/dist/Checkbox/Checkbox.js.map +1 -1
  68. package/dist/Checkbox/Checkbox.styles.js +5 -5
  69. package/dist/Checkbox/Checkbox.types.d.ts +2 -2
  70. package/dist/Checkbox/Checkbox.types.js.map +1 -1
  71. package/dist/CheckboxGroup/CheckboxGroup.d.ts +2 -2
  72. package/dist/CheckboxGroup/CheckboxGroup.js.map +1 -1
  73. package/dist/CheckboxGroup/CheckboxGroup.types.d.ts +2 -2
  74. package/dist/CheckboxGroup/CheckboxGroup.types.js.map +1 -1
  75. package/dist/ClickOutside/ClickOutside.d.ts +1 -1
  76. package/dist/ClickOutside/ClickOutside.js.map +1 -1
  77. package/dist/ContactItem/ContactItem.d.ts +3 -3
  78. package/dist/ContactItem/ContactItem.js.map +1 -1
  79. package/dist/ContactItem/ContactItem.styles.js +5 -5
  80. package/dist/ContactItem/ContactItem.types.d.ts +2 -2
  81. package/dist/ContactItem/ContactItem.types.js.map +1 -1
  82. package/dist/Content/Content.d.ts +1 -1
  83. package/dist/Content/Content.js.map +1 -1
  84. package/dist/Content/Content.styles.js +2 -2
  85. package/dist/DateInput/DateInput.d.ts +1 -1
  86. package/dist/DateInput/DateInput.js.map +1 -1
  87. package/dist/DateInput/DateInput.styles.js +6 -6
  88. package/dist/DateInput/DateInput.types.d.ts +2 -2
  89. package/dist/DateInput/DateInput.types.js.map +1 -1
  90. package/dist/DateInput/index.js.map +1 -1
  91. package/dist/DateSelect/DateSelect.d.ts +1 -1
  92. package/dist/DateSelect/DateSelect.js.map +1 -1
  93. package/dist/DateSelect/DateSelect.types.d.ts +4 -4
  94. package/dist/DateSelect/DateSelect.types.js.map +1 -1
  95. package/dist/DetailPage/DetailPage.constants.d.ts +2 -2
  96. package/dist/DetailPage/DetailPage.constants.js.map +1 -1
  97. package/dist/DetailPage/DetailPage.d.ts +3 -3
  98. package/dist/DetailPage/DetailPage.js.map +1 -1
  99. package/dist/DetailPage/DetailPage.styles.js +7 -7
  100. package/dist/DetailPage/DetailPage.types.d.ts +3 -3
  101. package/dist/DetailPage/DetailPage.types.js.map +1 -1
  102. package/dist/Dropdown/Dropdown.d.ts +2 -2
  103. package/dist/Dropdown/Dropdown.js.map +1 -1
  104. package/dist/Dropdown/Dropdown.styles.d.ts +1 -1
  105. package/dist/Dropdown/Dropdown.styles.js +3 -3
  106. package/dist/Dropdown/Dropdown.styles.js.map +1 -1
  107. package/dist/Dropdown/Dropdown.types.d.ts +4 -4
  108. package/dist/Dropdown/Dropdown.types.js.map +1 -1
  109. package/dist/DropdownFlyout/DropdownFlyout.d.ts +1 -1
  110. package/dist/DropdownFlyout/DropdownFlyout.helpers.d.ts +1 -1
  111. package/dist/DropdownFlyout/DropdownFlyout.helpers.js.map +1 -1
  112. package/dist/DropdownFlyout/DropdownFlyout.js.map +1 -1
  113. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  114. package/dist/DropdownFlyout/DropdownFlyout.types.d.ts +4 -4
  115. package/dist/DropdownFlyout/DropdownFlyout.types.js.map +1 -1
  116. package/dist/DropdownFlyout/index.js.map +1 -1
  117. package/dist/DropdownFlyout/useDropdownFlyoutOverlay.d.ts +3 -3
  118. package/dist/DropdownFlyout/useDropdownFlyoutOverlay.js.map +1 -1
  119. package/dist/Dropzone/Dropzone.d.ts +2 -2
  120. package/dist/Dropzone/Dropzone.hooks.d.ts +1 -1
  121. package/dist/Dropzone/Dropzone.hooks.js.map +1 -1
  122. package/dist/Dropzone/Dropzone.js +1 -1
  123. package/dist/Dropzone/Dropzone.js.map +1 -1
  124. package/dist/Dropzone/Dropzone.styles.js +9 -9
  125. package/dist/Dropzone/Dropzone.types.d.ts +4 -3
  126. package/dist/Dropzone/Dropzone.types.js.map +1 -1
  127. package/dist/EmptyState/EmptyState.d.ts +2 -2
  128. package/dist/EmptyState/EmptyState.js.map +1 -1
  129. package/dist/EmptyState/EmptyState.styles.js +6 -6
  130. package/dist/EmptyState/EmptyState.types.d.ts +1 -1
  131. package/dist/EmptyState/EmptyState.types.js.map +1 -1
  132. package/dist/Field/Field.styles.js +3 -3
  133. package/dist/FileList/FileList.d.ts +2 -2
  134. package/dist/FileList/FileList.js.map +1 -1
  135. package/dist/FileList/FileList.styles.js +4 -4
  136. package/dist/FileSelect/FileExplorer/FileExplorer.d.ts +2 -2
  137. package/dist/FileSelect/FileExplorer/FileExplorer.js.map +1 -1
  138. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  139. package/dist/FileSelect/FileExplorer/FileExplorer.types.d.ts +2 -2
  140. package/dist/FileSelect/FileExplorer/FileExplorer.types.js.map +1 -1
  141. package/dist/FileSelect/FileExplorer/FileExplorerModal.d.ts +3 -3
  142. package/dist/FileSelect/FileExplorer/FileExplorerModal.js.map +1 -1
  143. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.d.ts +1 -1
  144. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.js.map +1 -1
  145. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  146. package/dist/FileSelect/FileExplorer/useSidebarNavigation.d.ts +1 -1
  147. package/dist/FileSelect/FileExplorer/useSidebarNavigation.js.map +1 -1
  148. package/dist/FileSelect/FileSelect.d.ts +3 -3
  149. package/dist/FileSelect/FileSelect.js.map +1 -1
  150. package/dist/FileSelect/FileSelect.styles.js +2 -2
  151. package/dist/FileSelect/FileSelect.types.d.ts +6 -6
  152. package/dist/FileSelect/FileSelect.types.js.map +1 -1
  153. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.d.ts +1 -1
  154. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.js.map +1 -1
  155. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  156. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.types.d.ts +2 -2
  157. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.types.js.map +1 -1
  158. package/dist/FileSelect/FileTokenList/FileToken.types.d.ts +1 -1
  159. package/dist/FileSelect/FileTokenList/FileToken.types.js.map +1 -1
  160. package/dist/FileSelect/FileTokenList/FileTokenList.d.ts +2 -2
  161. package/dist/FileSelect/FileTokenList/FileTokenList.js.map +1 -1
  162. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  163. package/dist/FileSelect/GridSource/GridSource.d.ts +2 -2
  164. package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
  165. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  166. package/dist/FileSelect/GridSource/GridSource.types.d.ts +2 -2
  167. package/dist/FileSelect/GridSource/GridSource.types.js.map +1 -1
  168. package/dist/FileSelect/LocalSource/LocalSource.d.ts +1 -1
  169. package/dist/FileSelect/LocalSource/LocalSource.js.map +1 -1
  170. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  171. package/dist/FileSelect/LocalSource/LocalSource.types.d.ts +4 -4
  172. package/dist/FileSelect/LocalSource/LocalSource.types.js.map +1 -1
  173. package/dist/FileSelect/ProgressAnnouncer/ProgressAnnouncer.d.ts +1 -1
  174. package/dist/FileSelect/ProgressAnnouncer/ProgressAnnouncer.js.map +1 -1
  175. package/dist/FileSelect/ProgressAnnouncer/ProgressAnnouncer.types.d.ts +2 -2
  176. package/dist/FileSelect/ProgressAnnouncer/ProgressAnnouncer.types.js.map +1 -1
  177. package/dist/FileSelect/SourceItem/SourceItem.d.ts +1 -1
  178. package/dist/FileSelect/SourceItem/SourceItem.js.map +1 -1
  179. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  180. package/dist/FileSelect/ThumbnailList/ThumbnailList.d.ts +1 -1
  181. package/dist/FileSelect/ThumbnailList/ThumbnailList.js.map +1 -1
  182. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  183. package/dist/FileSelect/ThumbnailList/ThumbnailList.types.d.ts +1 -1
  184. package/dist/FileSelect/ThumbnailList/ThumbnailList.types.js.map +1 -1
  185. package/dist/FileSelect/TreeSource/TreeSource.d.ts +2 -2
  186. package/dist/FileSelect/TreeSource/TreeSource.js.map +1 -1
  187. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  188. package/dist/FileSelect/TreeSource/TreeSource.types.d.ts +1 -1
  189. package/dist/FileSelect/TreeSource/TreeSource.types.js.map +1 -1
  190. package/dist/FileSelect/storyHelpers.d.ts +1 -1
  191. package/dist/FileSelect/storyHelpers.js.map +1 -1
  192. package/dist/FileToken/FileToken.d.ts +2 -2
  193. package/dist/FileToken/FileToken.js.map +1 -1
  194. package/dist/FileToken/FileToken.styles.js +4 -4
  195. package/dist/FileToken/FileToken.types.d.ts +1 -1
  196. package/dist/FileToken/FileToken.types.js.map +1 -1
  197. package/dist/FilterToken/FilterToken.d.ts +2 -2
  198. package/dist/FilterToken/FilterToken.js.map +1 -1
  199. package/dist/FilterToken/FilterToken.styles.js +2 -2
  200. package/dist/FilterToken/index.d.ts +1 -1
  201. package/dist/FilterToken/index.js.map +1 -1
  202. package/dist/Flex/Flex.d.ts +2 -2
  203. package/dist/Flex/Flex.js.map +1 -1
  204. package/dist/Flex/Flex.types.d.ts +2 -2
  205. package/dist/Flex/Flex.types.js.map +1 -1
  206. package/dist/FlexList/FlexList.d.ts +2 -2
  207. package/dist/FlexList/FlexList.js.map +1 -1
  208. package/dist/FlexList/FlexList.styles.d.ts +1 -1
  209. package/dist/FlexList/FlexList.styles.js +1 -1
  210. package/dist/FlexList/FlexList.styles.js.map +1 -1
  211. package/dist/FlexList/FlexList.types.d.ts +2 -2
  212. package/dist/FlexList/FlexList.types.js.map +1 -1
  213. package/dist/Form/Form.d.ts +5 -5
  214. package/dist/Form/Form.js +75 -68
  215. package/dist/Form/Form.js.map +1 -1
  216. package/dist/Form/Form.styles.d.ts +1 -1
  217. package/dist/Form/Form.styles.js +15 -15
  218. package/dist/Form/Form.styles.js.map +1 -1
  219. package/dist/Form/Form.types.d.ts +14 -14
  220. package/dist/Form/Form.types.js.map +1 -1
  221. package/dist/Form/stories/util.d.ts +1 -1
  222. package/dist/Form/stories/util.js.map +1 -1
  223. package/dist/Grid/Grid.constants.d.ts +1 -1
  224. package/dist/Grid/Grid.constants.js.map +1 -1
  225. package/dist/Grid/Grid.d.ts +1 -1
  226. package/dist/Grid/Grid.js.map +1 -1
  227. package/dist/Grid/Grid.styles.d.ts +1 -1
  228. package/dist/Grid/Grid.styles.js +2 -2
  229. package/dist/Grid/Grid.styles.js.map +1 -1
  230. package/dist/Grid/Grid.types.d.ts +2 -2
  231. package/dist/Grid/Grid.types.js.map +1 -1
  232. package/dist/GroupSelect/GroupSelect.d.ts +2 -2
  233. package/dist/GroupSelect/GroupSelect.js.map +1 -1
  234. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  235. package/dist/GroupSelect/GroupSelect.types.d.ts +3 -3
  236. package/dist/GroupSelect/GroupSelect.types.js.map +1 -1
  237. package/dist/Input/Input.d.ts +2 -2
  238. package/dist/Input/Input.js.map +1 -1
  239. package/dist/Input/Input.styles.js +1 -1
  240. package/dist/Input/Input.types.d.ts +1 -1
  241. package/dist/Input/Input.types.js.map +1 -1
  242. package/dist/Link/Link.d.ts +1 -1
  243. package/dist/Link/Link.js.map +1 -1
  244. package/dist/Link/Link.styles.d.ts +1 -1
  245. package/dist/Link/Link.styles.js +1 -1
  246. package/dist/Link/Link.styles.js.map +1 -1
  247. package/dist/Link/Link.types.d.ts +1 -1
  248. package/dist/Link/Link.types.js.map +1 -1
  249. package/dist/ListPage/ListPage.d.ts +2 -2
  250. package/dist/ListPage/ListPage.js.map +1 -1
  251. package/dist/ListPage/ListPage.styles.js +8 -8
  252. package/dist/ListPage/ListPage.types.d.ts +1 -1
  253. package/dist/ListPage/ListPage.types.js.map +1 -1
  254. package/dist/Loader/Loader.d.ts +1 -1
  255. package/dist/Loader/Loader.js.map +1 -1
  256. package/dist/Loader/Loader.styles.js +2 -2
  257. package/dist/Loader/Loader.types.d.ts +1 -1
  258. package/dist/Loader/Loader.types.js.map +1 -1
  259. package/dist/Menu/Menu.d.ts +2 -2
  260. package/dist/Menu/Menu.js.map +1 -1
  261. package/dist/Menu/Menu.types.d.ts +7 -7
  262. package/dist/Menu/Menu.types.js.map +1 -1
  263. package/dist/MenuImperative/MenuImperative.d.ts +4 -4
  264. package/dist/MenuImperative/MenuImperative.js.map +1 -1
  265. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  266. package/dist/MenuImperative/MenuImperative.types.d.ts +4 -4
  267. package/dist/MenuImperative/MenuImperative.types.js.map +1 -1
  268. package/dist/MenuImperative/index.d.ts +1 -1
  269. package/dist/MenuImperative/index.js.map +1 -1
  270. package/dist/MenuImperative/sensors.d.ts +3 -3
  271. package/dist/MenuImperative/sensors.js.map +1 -1
  272. package/dist/Modal/Modal.d.ts +4 -4
  273. package/dist/Modal/Modal.js.map +1 -1
  274. package/dist/Modal/Modal.styles.d.ts +1 -1
  275. package/dist/Modal/Modal.styles.js +13 -13
  276. package/dist/Modal/Modal.styles.js.map +1 -1
  277. package/dist/Modal/Modal.types.d.ts +2 -2
  278. package/dist/Modal/Modal.types.js.map +1 -1
  279. package/dist/MultiSelect/MultiSelect.d.ts +1 -1
  280. package/dist/MultiSelect/MultiSelect.js.map +1 -1
  281. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  282. package/dist/MultiSelect/MultiSelect.types.d.ts +3 -3
  283. package/dist/MultiSelect/MultiSelect.types.js.map +1 -1
  284. package/dist/NextMenu/NextMenu.d.ts +1 -1
  285. package/dist/NextMenu/NextMenu.js.map +1 -1
  286. package/dist/NextMenu/NextMenu.styles.js +3 -3
  287. package/dist/NextMenu/NextMenu.types.d.ts +3 -3
  288. package/dist/NextMenu/NextMenu.types.js.map +1 -1
  289. package/dist/NextMenu/NextMenuItem.d.ts +1 -1
  290. package/dist/NextMenu/NextMenuItem.js.map +1 -1
  291. package/dist/NextTile/NextTile.d.ts +2 -2
  292. package/dist/NextTile/NextTile.js.map +1 -1
  293. package/dist/NextTile/NextTile.types.d.ts +2 -2
  294. package/dist/NextTile/NextTile.types.js.map +1 -1
  295. package/dist/Notation/Notation.d.ts +2 -2
  296. package/dist/Notation/Notation.js +1 -1
  297. package/dist/Notation/Notation.js.map +1 -1
  298. package/dist/Notation/Notation.types.d.ts +2 -2
  299. package/dist/Notation/Notation.types.js.map +1 -1
  300. package/dist/NumberInput/NumberInput.d.ts +2 -2
  301. package/dist/NumberInput/NumberInput.hooks.d.ts +1 -1
  302. package/dist/NumberInput/NumberInput.hooks.js.map +1 -1
  303. package/dist/NumberInput/NumberInput.js.map +1 -1
  304. package/dist/NumberInput/NumberInput.styles.js +7 -7
  305. package/dist/NumberInput/NumberInput.types.d.ts +2 -2
  306. package/dist/NumberInput/NumberInput.types.js.map +1 -1
  307. package/dist/NumberInput/NumberInput.utils.d.ts +3 -2
  308. package/dist/NumberInput/NumberInput.utils.js.map +1 -1
  309. package/dist/Overlay/Overlay.d.ts +1 -1
  310. package/dist/Overlay/Overlay.js.map +1 -1
  311. package/dist/Overlay/OverlayArrow.d.ts +2 -2
  312. package/dist/Overlay/OverlayArrow.js.map +1 -1
  313. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  314. package/dist/Overlay/useOverlay.d.ts +3 -3
  315. package/dist/Overlay/useOverlay.js.map +1 -1
  316. package/dist/OverlayTrigger/OverlayTrigger.d.ts +2 -2
  317. package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
  318. package/dist/OverlayTrigger/OverlayTrigger.types.d.ts +4 -4
  319. package/dist/OverlayTrigger/OverlayTrigger.types.js.map +1 -1
  320. package/dist/OverlayTrigger/a11yPresets.d.ts +5 -4
  321. package/dist/OverlayTrigger/a11yPresets.js.map +1 -1
  322. package/dist/PageLayout/PageLayout.d.ts +3 -3
  323. package/dist/PageLayout/PageLayout.js.map +1 -1
  324. package/dist/PageLayout/PageLayout.styles.d.ts +1 -1
  325. package/dist/PageLayout/PageLayout.styles.js +13 -13
  326. package/dist/PageLayout/PageLayout.styles.js.map +1 -1
  327. package/dist/PageLayout/PageLayout.types.d.ts +1 -1
  328. package/dist/PageLayout/PageLayout.types.js.map +1 -1
  329. package/dist/Pagination/Pagination.d.ts +1 -1
  330. package/dist/Pagination/Pagination.js.map +1 -1
  331. package/dist/Pagination/Pagination.styles.js +5 -5
  332. package/dist/Pagination/Pagination.types.d.ts +2 -2
  333. package/dist/Pagination/Pagination.types.js.map +1 -1
  334. package/dist/Pagination/PaginationSelect.d.ts +1 -1
  335. package/dist/Pagination/PaginationSelect.js.map +1 -1
  336. package/dist/Panel/Panel.d.ts +3 -3
  337. package/dist/Panel/Panel.js.map +1 -1
  338. package/dist/Panel/Panel.styles.js +11 -11
  339. package/dist/Panel/Panel.types.d.ts +3 -3
  340. package/dist/Panel/Panel.types.js.map +1 -1
  341. package/dist/Pill/Pill.colorPalette.d.ts +1 -1
  342. package/dist/Pill/Pill.colorPalette.js.map +1 -1
  343. package/dist/Pill/Pill.d.ts +1 -1
  344. package/dist/Pill/Pill.js.map +1 -1
  345. package/dist/Pill/Pill.styles.d.ts +1 -1
  346. package/dist/Pill/Pill.styles.js +2 -2
  347. package/dist/Pill/Pill.styles.js.map +1 -1
  348. package/dist/PillSelect/PillSelect.d.ts +1 -1
  349. package/dist/PillSelect/PillSelect.js.map +1 -1
  350. package/dist/PillSelect/PillSelect.styles.js +4 -4
  351. package/dist/PillSelect/PillSelect.types.d.ts +2 -2
  352. package/dist/PillSelect/PillSelect.types.js.map +1 -1
  353. package/dist/Popover/Popover.d.ts +2 -2
  354. package/dist/Popover/Popover.js.map +1 -1
  355. package/dist/Popover/Popover.styles.d.ts +1 -1
  356. package/dist/Popover/Popover.styles.js +2 -2
  357. package/dist/Popover/Popover.styles.js.map +1 -1
  358. package/dist/Popover/Popover.types.d.ts +5 -5
  359. package/dist/Popover/Popover.types.js.map +1 -1
  360. package/dist/Portal/Portal.d.ts +1 -1
  361. package/dist/Portal/Portal.js.map +1 -1
  362. package/dist/Portal/Portal.styles.js +1 -1
  363. package/dist/Portal/Portal.types.d.ts +1 -1
  364. package/dist/Portal/Portal.types.js.map +1 -1
  365. package/dist/ProgressBar/ProgressBar.d.ts +1 -1
  366. package/dist/ProgressBar/ProgressBar.js.map +1 -1
  367. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  368. package/dist/ProgressBar/ProgressBar.types.d.ts +2 -2
  369. package/dist/ProgressBar/ProgressBar.types.js.map +1 -1
  370. package/dist/RadioButton/RadioButton.d.ts +1 -1
  371. package/dist/RadioButton/RadioButton.js.map +1 -1
  372. package/dist/RadioButton/RadioButton.styles.js +3 -3
  373. package/dist/RadioButton/RadioButton.types.d.ts +1 -1
  374. package/dist/RadioButton/RadioButton.types.js.map +1 -1
  375. package/dist/Required/Required.d.ts +1 -1
  376. package/dist/Required/Required.js.map +1 -1
  377. package/dist/Required/Required.styles.js +3 -3
  378. package/dist/Required/Required.types.d.ts +1 -1
  379. package/dist/Required/Required.types.js.map +1 -1
  380. package/dist/Search/Search.d.ts +1 -1
  381. package/dist/Search/Search.hooks.d.ts +1 -1
  382. package/dist/Search/Search.hooks.js.map +1 -1
  383. package/dist/Search/Search.js +1 -2
  384. package/dist/Search/Search.js.map +1 -1
  385. package/dist/Search/Search.styles.js +5 -5
  386. package/dist/Search/Search.types.d.ts +2 -2
  387. package/dist/Search/Search.types.js.map +1 -1
  388. package/dist/Section/Section.d.ts +2 -2
  389. package/dist/Section/Section.js.map +1 -1
  390. package/dist/Section/Section.styles.js +6 -6
  391. package/dist/Section/Section.types.d.ts +2 -2
  392. package/dist/Section/Section.types.js.map +1 -1
  393. package/dist/SegmentedController/SegmentedController.d.ts +1 -1
  394. package/dist/SegmentedController/SegmentedController.js.map +1 -1
  395. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  396. package/dist/SegmentedController/SegmentedController.types.d.ts +2 -2
  397. package/dist/SegmentedController/SegmentedController.types.js.map +1 -1
  398. package/dist/Select/Select.d.ts +2 -2
  399. package/dist/Select/Select.js.map +1 -1
  400. package/dist/Select/Select.styles.js +7 -7
  401. package/dist/Select/Select.types.d.ts +4 -4
  402. package/dist/Select/Select.types.js.map +1 -1
  403. package/dist/Select/index.d.ts +1 -1
  404. package/dist/Select/index.js.map +1 -1
  405. package/dist/Semantic/Semantic.d.ts +1 -1
  406. package/dist/Semantic/Semantic.js.map +1 -1
  407. package/dist/Semantic/Semantic.styles.d.ts +1 -1
  408. package/dist/Semantic/Semantic.styles.js +8 -8
  409. package/dist/Semantic/Semantic.styles.js.map +1 -1
  410. package/dist/Semantic/Semantic.types.d.ts +1 -1
  411. package/dist/Semantic/Semantic.types.js.map +1 -1
  412. package/dist/Sidebar/Sidebar.d.ts +1 -1
  413. package/dist/Sidebar/Sidebar.js.map +1 -1
  414. package/dist/Sidebar/Sidebar.styles.js +7 -7
  415. package/dist/Slider/Slider.d.ts +1 -1
  416. package/dist/Slider/Slider.js.map +1 -1
  417. package/dist/Slider/Slider.styles.js +5 -5
  418. package/dist/Slider/Slider.types.d.ts +1 -1
  419. package/dist/Slider/Slider.types.js.map +1 -1
  420. package/dist/Spinner/Spinner.d.ts +1 -1
  421. package/dist/Spinner/Spinner.js.map +1 -1
  422. package/dist/Spinner/Spinner.styles.d.ts +2 -2
  423. package/dist/Spinner/Spinner.styles.js +7 -7
  424. package/dist/Spinner/Spinner.styles.js.map +1 -1
  425. package/dist/Spinner/Spinner.types.d.ts +2 -2
  426. package/dist/Spinner/Spinner.types.js.map +1 -1
  427. package/dist/SuperSelect/SuperSelect.components.d.ts +2 -2
  428. package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
  429. package/dist/SuperSelect/SuperSelect.d.ts +1 -1
  430. package/dist/SuperSelect/SuperSelect.js.map +1 -1
  431. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  432. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  433. package/dist/SuperSelect/SuperSelect.types.d.ts +5 -5
  434. package/dist/SuperSelect/SuperSelect.types.js +1 -1
  435. package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
  436. package/dist/SuperSelect/SuperSelect.utils.d.ts +1 -1
  437. package/dist/SuperSelect/SuperSelect.utils.js.map +1 -1
  438. package/dist/SuperSelect/index.d.ts +3 -3
  439. package/dist/SuperSelect/index.js +2 -2
  440. package/dist/SuperSelect/index.js.map +1 -1
  441. package/dist/SuperSelect/presets/contactsPreset.d.ts +1 -1
  442. package/dist/SuperSelect/presets/contactsPreset.js.map +1 -1
  443. package/dist/SuperSelect/presets/filterPreset.d.ts +1 -1
  444. package/dist/SuperSelect/presets/filterPreset.js.map +1 -1
  445. package/dist/SuperSelect/presets/index.d.ts +1 -1
  446. package/dist/SuperSelect/presets/index.js.map +1 -1
  447. package/dist/SuperSelect/presets/pillPreset.d.ts +1 -1
  448. package/dist/SuperSelect/presets/pillPreset.js.map +1 -1
  449. package/dist/SuperSelect/useSuperSelect.d.ts +2 -2
  450. package/dist/SuperSelect/useSuperSelect.js.map +1 -1
  451. package/dist/Switch/Switch.d.ts +2 -2
  452. package/dist/Switch/Switch.js.map +1 -1
  453. package/dist/Switch/Switch.styles.js +4 -4
  454. package/dist/Switch/Switch.types.d.ts +1 -1
  455. package/dist/Switch/Switch.types.js.map +1 -1
  456. package/dist/Table/Table.d.ts +3 -3
  457. package/dist/Table/Table.js +4 -4
  458. package/dist/Table/Table.js.map +1 -1
  459. package/dist/Table/Table.styles.d.ts +1 -1
  460. package/dist/Table/Table.styles.js +28 -28
  461. package/dist/Table/Table.styles.js.map +1 -1
  462. package/dist/Table/Table.types.d.ts +5 -5
  463. package/dist/Table/Table.types.js.map +1 -1
  464. package/dist/TableShelf/TableShelf.d.ts +1 -1
  465. package/dist/TableShelf/TableShelf.js.map +1 -1
  466. package/dist/TableShelf/TableShelf.styles.js +5 -5
  467. package/dist/Tabs/Tabs.d.ts +2 -2
  468. package/dist/Tabs/Tabs.js.map +1 -1
  469. package/dist/Tabs/Tabs.styles.js +8 -8
  470. package/dist/Tabs/Tabs.types.d.ts +4 -4
  471. package/dist/Tabs/Tabs.types.js.map +1 -1
  472. package/dist/Tearsheet/Tearsheet.constants.d.ts +1 -1
  473. package/dist/Tearsheet/Tearsheet.constants.js.map +1 -1
  474. package/dist/Tearsheet/Tearsheet.d.ts +1 -1
  475. package/dist/Tearsheet/Tearsheet.js.map +1 -1
  476. package/dist/Tearsheet/Tearsheet.styles.d.ts +1 -1
  477. package/dist/Tearsheet/Tearsheet.styles.js +6 -6
  478. package/dist/Tearsheet/Tearsheet.styles.js.map +1 -1
  479. package/dist/Tearsheet/Tearsheet.types.d.ts +1 -1
  480. package/dist/Tearsheet/Tearsheet.types.js.map +1 -1
  481. package/dist/Tearsheet/Tearsheet.util.d.ts +1 -1
  482. package/dist/Tearsheet/Tearsheet.util.js.map +1 -1
  483. package/dist/TextArea/TextArea.d.ts +2 -2
  484. package/dist/TextArea/TextArea.js.map +1 -1
  485. package/dist/TextArea/TextArea.styles.d.ts +1 -1
  486. package/dist/TextArea/TextArea.styles.js +1 -1
  487. package/dist/TextArea/TextArea.styles.js.map +1 -1
  488. package/dist/TextArea/TextArea.types.d.ts +1 -1
  489. package/dist/TextArea/TextArea.types.js.map +1 -1
  490. package/dist/TextEditor/TextEditor.d.ts +1 -1
  491. package/dist/TextEditor/TextEditor.js.map +1 -1
  492. package/dist/TextEditor/TextEditor.types.d.ts +3 -3
  493. package/dist/TextEditor/TextEditor.types.js.map +1 -1
  494. package/dist/TextEditorOutput/TextEditorOutput.d.ts +2 -2
  495. package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
  496. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  497. package/dist/TextEditorOutput/TextEditorOutput.types.d.ts +2 -2
  498. package/dist/TextEditorOutput/TextEditorOutput.types.js.map +1 -1
  499. package/dist/Thumbnail/Thumbnail.d.ts +1 -1
  500. package/dist/Thumbnail/Thumbnail.hooks.d.ts +3 -3
  501. package/dist/Thumbnail/Thumbnail.hooks.js.map +1 -1
  502. package/dist/Thumbnail/Thumbnail.js.map +1 -1
  503. package/dist/Thumbnail/Thumbnail.styles.d.ts +2 -2
  504. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  505. package/dist/Thumbnail/Thumbnail.styles.js.map +1 -1
  506. package/dist/Thumbnail/Thumbnail.types.d.ts +5 -4
  507. package/dist/Thumbnail/Thumbnail.types.js.map +1 -1
  508. package/dist/Thumbnail/Thumbnail.utils.d.ts +1 -1
  509. package/dist/Thumbnail/Thumbnail.utils.js.map +1 -1
  510. package/dist/Thumbnail/ThumbnailCaption.d.ts +1 -1
  511. package/dist/Thumbnail/ThumbnailCaption.js.map +1 -1
  512. package/dist/Thumbnail/ThumbnailPreview.d.ts +1 -1
  513. package/dist/Thumbnail/ThumbnailPreview.js.map +1 -1
  514. package/dist/ThumbnailGrid/ThumbnailGrid.d.ts +2 -2
  515. package/dist/ThumbnailGrid/ThumbnailGrid.js +1 -1
  516. package/dist/ThumbnailGrid/ThumbnailGrid.js.map +1 -1
  517. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +9 -9
  518. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js.map +1 -1
  519. package/dist/ThumbnailGrid/ThumbnailGrid.types.d.ts +1 -1
  520. package/dist/ThumbnailGrid/ThumbnailGrid.types.js.map +1 -1
  521. package/dist/TieredDropdown/TieredDropdown.helpers.d.ts +1 -1
  522. package/dist/TieredDropdown/TieredDropdown.helpers.js.map +1 -1
  523. package/dist/TieredDropdown/TieredDropdown.js.map +1 -1
  524. package/dist/TieredDropdown/TieredDropdown.types.d.ts +3 -3
  525. package/dist/TieredDropdown/TieredDropdown.types.js.map +1 -1
  526. package/dist/TieredSelect/LeafSelectionTieredSelect.d.ts +1 -1
  527. package/dist/TieredSelect/LeafSelectionTieredSelect.js.map +1 -1
  528. package/dist/TieredSelect/TierSelectionTieredSelect.d.ts +1 -1
  529. package/dist/TieredSelect/TierSelectionTieredSelect.js.map +1 -1
  530. package/dist/TieredSelect/TieredSelect.d.ts +2 -2
  531. package/dist/TieredSelect/TieredSelect.js.map +1 -1
  532. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  533. package/dist/TieredSelect/TieredSelect.types.d.ts +3 -3
  534. package/dist/TieredSelect/TieredSelect.types.js.map +1 -1
  535. package/dist/TieredSelect/TieredSelectMenu.d.ts +1 -1
  536. package/dist/TieredSelect/TieredSelectMenu.js.map +1 -1
  537. package/dist/Tile/Tile.d.ts +2 -2
  538. package/dist/Tile/Tile.js.map +1 -1
  539. package/dist/Tile/Tile.styles.d.ts +1 -1
  540. package/dist/Tile/Tile.styles.js +8 -8
  541. package/dist/Tile/Tile.styles.js.map +1 -1
  542. package/dist/Tile/Tile.types.d.ts +2 -2
  543. package/dist/Tile/Tile.types.js.map +1 -1
  544. package/dist/Title/Title.d.ts +2 -2
  545. package/dist/Title/Title.js.map +1 -1
  546. package/dist/Title/Title.styles.js +7 -7
  547. package/dist/Title/Title.types.d.ts +1 -1
  548. package/dist/Title/Title.types.js.map +1 -1
  549. package/dist/Toast/Toast.d.ts +2 -2
  550. package/dist/Toast/Toast.js.map +1 -1
  551. package/dist/Toast/Toast.styles.d.ts +1 -1
  552. package/dist/Toast/Toast.styles.js +3 -3
  553. package/dist/Toast/Toast.styles.js.map +1 -1
  554. package/dist/Toast/Toast.types.d.ts +1 -1
  555. package/dist/Toast/Toast.types.js.map +1 -1
  556. package/dist/ToggleButton/ToggleButton.d.ts +1 -1
  557. package/dist/ToggleButton/ToggleButton.js.map +1 -1
  558. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  559. package/dist/ToggleButton/ToggleButton.types.d.ts +2 -2
  560. package/dist/ToggleButton/ToggleButton.types.js.map +1 -1
  561. package/dist/Token/Token.d.ts +2 -2
  562. package/dist/Token/Token.js.map +1 -1
  563. package/dist/Token/Token.styles.js +3 -3
  564. package/dist/ToolHeader/ActionIcon.d.ts +1 -1
  565. package/dist/ToolHeader/ActionIcon.js.map +1 -1
  566. package/dist/ToolHeader/ActionIcon.types.d.ts +2 -2
  567. package/dist/ToolHeader/ActionIcon.types.js.map +1 -1
  568. package/dist/ToolHeader/ToolHeader.d.ts +2 -2
  569. package/dist/ToolHeader/ToolHeader.js.map +1 -1
  570. package/dist/ToolHeader/ToolHeader.styles.d.ts +1 -1
  571. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  572. package/dist/ToolHeader/ToolHeader.styles.js.map +1 -1
  573. package/dist/ToolHeader/ToolHeader.types.d.ts +2 -2
  574. package/dist/ToolHeader/ToolHeader.types.js.map +1 -1
  575. package/dist/Tooltip/Tooltip.d.ts +2 -2
  576. package/dist/Tooltip/Tooltip.js.map +1 -1
  577. package/dist/Tooltip/Tooltip.styles.js +2 -2
  578. package/dist/Tooltip/Tooltip.types.d.ts +3 -3
  579. package/dist/Tooltip/Tooltip.types.js.map +1 -1
  580. package/dist/Tree/Tree.d.ts +1 -1
  581. package/dist/Tree/Tree.hooks.d.ts +1 -1
  582. package/dist/Tree/Tree.hooks.js.map +1 -1
  583. package/dist/Tree/Tree.js.map +1 -1
  584. package/dist/Tree/Tree.styles.js +9 -9
  585. package/dist/Tree/Tree.types.d.ts +6 -6
  586. package/dist/Tree/Tree.types.js.map +1 -1
  587. package/dist/Typeahead/Typeahead.d.ts +1 -1
  588. package/dist/Typeahead/Typeahead.js.map +1 -1
  589. package/dist/Typeahead/Typeahead.styles.js +3 -3
  590. package/dist/Typography/Typography.d.ts +2 -2
  591. package/dist/Typography/Typography.js.map +1 -1
  592. package/dist/Typography/Typography.styles.d.ts +2 -2
  593. package/dist/Typography/Typography.styles.js +1 -1
  594. package/dist/Typography/Typography.styles.js.map +1 -1
  595. package/dist/Typography/Typography.table.story.js +2 -2
  596. package/dist/Typography/Typography.types.d.ts +2 -2
  597. package/dist/Typography/Typography.types.js.map +1 -1
  598. package/dist/Typography/index.d.ts +1 -1
  599. package/dist/Typography/index.js.map +1 -1
  600. package/dist/_hooks/Anchor.d.ts +3 -2
  601. package/dist/_hooks/Anchor.js.map +1 -1
  602. package/dist/_hooks/BoundingRect.d.ts +1 -1
  603. package/dist/_hooks/BoundingRect.js.map +1 -1
  604. package/dist/_hooks/ClickOutside.d.ts +1 -1
  605. package/dist/_hooks/ClickOutside.js.map +1 -1
  606. package/dist/_hooks/DateTime/DateTime.d.ts +1 -1
  607. package/dist/_hooks/DateTime/DateTime.js.map +1 -1
  608. package/dist/_hooks/DelayedCallback.d.ts +1 -1
  609. package/dist/_hooks/DelayedCallback.js.map +1 -1
  610. package/dist/_hooks/DelayedToggle.d.ts +2 -2
  611. package/dist/_hooks/DelayedToggle.js.map +1 -1
  612. package/dist/_hooks/Event.d.ts +1 -1
  613. package/dist/_hooks/Event.js.map +1 -1
  614. package/dist/_hooks/Hotkey.d.ts +1 -1
  615. package/dist/_hooks/Hotkey.js.map +1 -1
  616. package/dist/_hooks/I18n.d.ts +1 -1
  617. package/dist/_hooks/I18n.js.map +1 -1
  618. package/dist/_hooks/OverflowObserver/OverflowObserver.d.ts +1 -1
  619. package/dist/_hooks/OverflowObserver/OverflowObserver.js.map +1 -1
  620. package/dist/_hooks/Resize.d.ts +1 -1
  621. package/dist/_hooks/Resize.js.map +1 -1
  622. package/dist/_hooks/Scroll.d.ts +1 -1
  623. package/dist/_hooks/Scroll.js.map +1 -1
  624. package/dist/_hooks/Trigger.d.ts +1 -1
  625. package/dist/_hooks/Trigger.js.map +1 -1
  626. package/dist/_hooks/useFileUploader.d.ts +1 -1
  627. package/dist/_hooks/useFileUploader.js.map +1 -1
  628. package/dist/_styles/arrows.d.ts +1 -1
  629. package/dist/_styles/arrows.js.map +1 -1
  630. package/dist/_styles/mixins.d.ts +1 -1
  631. package/dist/_styles/mixins.js.map +1 -1
  632. package/dist/_styles/shadows.d.ts +1 -1
  633. package/dist/_styles/shadows.js.map +1 -1
  634. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  635. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +23 -23
  636. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  637. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  638. package/dist/_typedoc/Box/Box.types.json +68 -68
  639. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  640. package/dist/_typedoc/Button/Button.types.json +11 -11
  641. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  642. package/dist/_typedoc/Card/Card.types.json +6 -6
  643. package/dist/_typedoc/Checkbox/Checkbox.types.json +7 -7
  644. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  645. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  646. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  647. package/dist/_typedoc/DetailPage/DetailPage.types.json +4 -4
  648. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  649. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  650. package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
  651. package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
  652. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  653. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  654. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  655. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  656. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  657. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  658. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  659. package/dist/_typedoc/Form/Form.types.json +698 -698
  660. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  661. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  662. package/dist/_typedoc/Input/Input.types.json +2 -2
  663. package/dist/_typedoc/Link/Link.types.json +4 -4
  664. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  665. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  666. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  667. package/dist/_typedoc/Modal/Modal.types.json +41 -41
  668. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  669. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  670. package/dist/_typedoc/NumberInput/NumberInput.types.json +38 -38
  671. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +30 -30
  672. package/dist/_typedoc/PageLayout/PageLayout.types.json +22 -22
  673. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  674. package/dist/_typedoc/Panel/Panel.types.json +27 -27
  675. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  676. package/dist/_typedoc/PillSelect/PillSelect.types.json +46 -46
  677. package/dist/_typedoc/Popover/Popover.types.json +14 -14
  678. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  679. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  680. package/dist/_typedoc/Required/Required.types.json +5 -5
  681. package/dist/_typedoc/Search/Search.types.json +18 -18
  682. package/dist/_typedoc/Section/Section.types.json +14 -14
  683. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
  684. package/dist/_typedoc/Select/Select.types.json +55 -55
  685. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  686. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  687. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  688. package/dist/_typedoc/Table/Table.types.json +96 -96
  689. package/dist/_typedoc/Tabs/Tabs.types.json +17 -17
  690. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +16 -16
  691. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  692. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  693. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  694. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  695. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  696. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  697. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  698. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  699. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +3 -3
  700. package/dist/_typedoc/Token/Token.types.json +4 -4
  701. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  702. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  703. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  704. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  705. package/dist/_typedoc/Typography/Typography.types.json +8 -8
  706. package/dist/_typedoc/_utils/types.json +3 -3
  707. package/dist/_utils/CalendarHelpers.d.ts +1 -1
  708. package/dist/_utils/CalendarHelpers.js +1 -1
  709. package/dist/_utils/CalendarHelpers.js.map +1 -1
  710. package/dist/_utils/TinyMCE.d.ts +2 -2
  711. package/dist/_utils/TinyMCE.js.map +1 -1
  712. package/dist/_utils/dateTime.js.map +1 -1
  713. package/dist/_utils/getAnchorPosition.d.ts +2 -2
  714. package/dist/_utils/getAnchorPosition.js.map +1 -1
  715. package/dist/_utils/isReactElement.d.ts +1 -1
  716. package/dist/_utils/isReactElement.js.map +1 -1
  717. package/dist/_utils/mergeRefs.d.ts +1 -1
  718. package/dist/_utils/mergeRefs.js.map +1 -1
  719. package/dist/_utils/placement.d.ts +1 -1
  720. package/dist/_utils/placement.js.map +1 -1
  721. package/dist/_utils/propsTypedoc.d.ts +12 -12
  722. package/dist/_utils/propsTypedoc.js +1 -12
  723. package/dist/_utils/propsTypedoc.js.map +1 -1
  724. package/dist/_utils/slotify.d.ts +1 -1
  725. package/dist/_utils/slotify.js.map +1 -1
  726. package/dist/_utils/triggerListeners.d.ts +2 -2
  727. package/dist/_utils/triggerListeners.js.map +1 -1
  728. package/dist/_utils/types.d.ts +1 -1
  729. package/dist/_utils/types.js.map +1 -1
  730. package/package.json +2 -2
  731. package/.eslintrc.json +0 -47
  732. package/dist/Link/Link.coverage.stories.d.ts +0 -8
@@ -47,26 +47,26 @@ var tableCellInputErrorBorder = "1px solid ".concat(colors.red50);
47
47
  var tableRowBorderBottom = /*#__PURE__*/css(["border-bottom:", ";&:last-child{border-bottom:0;}"], tableBorder);
48
48
  export var StyledTableHeaderCellSortableContainer = /*#__PURE__*/styled.div.withConfig({
49
49
  displayName: "StyledTableHeaderCellSortableContainer",
50
- componentId: "core-11_24_1__sc-9c7xd-0"
50
+ componentId: "core-11_24_2__sc-9c7xd-0"
51
51
  })([""]);
52
52
  export var StyledTableHeaderCellLabel = /*#__PURE__*/styled.div.withConfig({
53
53
  displayName: "StyledTableHeaderCellLabel",
54
- componentId: "core-11_24_1__sc-9c7xd-1"
54
+ componentId: "core-11_24_2__sc-9c7xd-1"
55
55
  })(["display:inline-block;flex:1 1 auto;position:relative;"]);
56
56
  export var StyledCheckbox = /*#__PURE__*/styled(Checkbox).withConfig({
57
57
  displayName: "StyledCheckbox",
58
- componentId: "core-11_24_1__sc-9c7xd-2"
58
+ componentId: "core-11_24_2__sc-9c7xd-2"
59
59
  })([""]);
60
60
  export var StyledTableBodyCell = /*#__PURE__*/styled.td.withConfig({
61
61
  displayName: "StyledTableBodyCell",
62
- componentId: "core-11_24_1__sc-9c7xd-3"
62
+ componentId: "core-11_24_2__sc-9c7xd-3"
63
63
  })(["position:relative;vertical-align:middle;", ""], function (_ref) {
64
64
  var $snugfit = _ref.$snugfit;
65
65
  return $snugfit && css(["white-space:nowrap;width:0.1%;"]);
66
66
  });
67
67
  export var StyledTableHeaderCell = /*#__PURE__*/styled.th.withConfig({
68
68
  displayName: "StyledTableHeaderCell",
69
- componentId: "core-11_24_1__sc-9c7xd-4"
69
+ componentId: "core-11_24_2__sc-9c7xd-4"
70
70
  })(["", " font-weight:", ";border-right:", ";color:", ";height:", "px;padding:", "px;position:relative;text-align:left;transition:background-color 0.2s ease-in-out;&:last-child{border-right:0;}", "{display:flex;align-items:center;}", "{", "{min-height:14px;}}", " ", " ", " ", " ", ""], getTypographyIntent('small'), tableHeaderFontWeight, tableHeaderBorderRight, tableHeaderFontColor, tableHeaderHeight, tableHeaderPadding, StyledTableHeaderCellSortableContainer, StyledTableHeaderCellSortableContainer, StyledTableHeaderCellLabel, function (_ref2) {
71
71
  var $sortable = _ref2.$sortable;
72
72
  return $sortable && css(["cursor:pointer;padding:", "px;", ",", "{color:", ";opacity:0;transition:all 0.15s ease-in-out;position:absolute;}::before,::after{font-size:16px;}&:hover{background-color:", ";", "{color:", ";}}"], spacing.lg, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc, tableSortFontColor, tableHeaderBgColorHover, StyledTableHeaderCellSortIconAsc, tableSortFontColorHover);
@@ -85,27 +85,27 @@ export var StyledTableHeaderCell = /*#__PURE__*/styled.th.withConfig({
85
85
  });
86
86
  export var StyledTableHeaderCellIconWrapper = /*#__PURE__*/styled.div.withConfig({
87
87
  displayName: "StyledTableHeaderCellIconWrapper",
88
- componentId: "core-11_24_1__sc-9c7xd-5"
88
+ componentId: "core-11_24_2__sc-9c7xd-5"
89
89
  })(["height:20px;line-height:20px;padding:0 ", "px 0 ", "px;width:20px;"], spacing.lg, spacing.sm);
90
90
  export var StyledTableHeaderCellSortIconAsc = /*#__PURE__*/styled(CaretUp).withConfig({
91
91
  displayName: "StyledTableHeaderCellSortIconAsc",
92
- componentId: "core-11_24_1__sc-9c7xd-6"
92
+ componentId: "core-11_24_2__sc-9c7xd-6"
93
93
  })(["margin-top:-", "px;"], spacing.sm);
94
94
  export var StyledTableHeaderCellSortIconDesc = /*#__PURE__*/styled(CaretDown).withConfig({
95
95
  displayName: "StyledTableHeaderCellSortIconDesc",
96
- componentId: "core-11_24_1__sc-9c7xd-7"
96
+ componentId: "core-11_24_2__sc-9c7xd-7"
97
97
  })([""]);
98
98
  export var StyledHead = /*#__PURE__*/styled.thead.withConfig({
99
99
  displayName: "StyledHead",
100
- componentId: "core-11_24_1__sc-9c7xd-8"
100
+ componentId: "core-11_24_2__sc-9c7xd-8"
101
101
  })(["background-color:", ";transition:background-color 0.2s ease-in-out;", " &:hover{", "{", ",", "{&::after,&::before{opacity:1;}}}}"], tableHeaderBgColor, tableRowBorderBottom, StyledTableHeaderCell, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
102
102
  export var StyledCaratWrapper = /*#__PURE__*/styled.div.withConfig({
103
103
  displayName: "StyledCaratWrapper",
104
- componentId: "core-11_24_1__sc-9c7xd-9"
104
+ componentId: "core-11_24_2__sc-9c7xd-9"
105
105
  })(["font-size:16px;color:", ";padding-right:", "px;transition:all 0.2s ease-in-out;& + ", "{margin:0 ", "px;}"], colors.gray70, spacing.xs, StyledCheckbox, spacing.xs);
106
106
  export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
107
107
  displayName: "StyledCarat",
108
- componentId: "core-11_24_1__sc-9c7xd-10"
108
+ componentId: "core-11_24_2__sc-9c7xd-10"
109
109
  })(["", ""], function (_ref7) {
110
110
  var $expanded = _ref7.$expanded;
111
111
  return $expanded && css(["transform:rotate(90deg);"]);
@@ -113,7 +113,7 @@ export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
113
113
  var cellInputCSS = /*#__PURE__*/css(["background-color:rgba(255,255,255,0);&&&{border:", ";border-radius:4px;width:100%;&::placeholder{color:", ";}&::-ms-clear{display:none;}&:hover{border-color:transparent;}&:focus{background-color:", ";border-style:solid;border-width:1px;border-color:", ";box-shadow:0 0 0 1px ", ";outline:none;}&:disabled{border:", ";color:", ";}}"], tableCellInputBorder, tableCellInputPlaceholderColor, colors.white, colors.blue40, colors.blue40, tableCellInputBorder, colors.gray70);
114
114
  export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
115
115
  displayName: "StyledTableCellSelect",
116
- componentId: "core-11_24_1__sc-9c7xd-11"
116
+ componentId: "core-11_24_2__sc-9c7xd-11"
117
117
  })(["", ";background-color:transparent;border-color:transparent;height:auto;&:hover{background-color:transparent;}&:active:hover{border-color:", ";}&:focus{background-color:", ";cursor:pointer;", " ", "{white-space:nowrap;}", "{opacity:1;pointer-events:all;}", " ", "}", "{white-space:normal;}", ",", "{opacity:0;pointer-events:none;}", " ", ""], cellInputCSS, colors.gray85, colors.white, getFocus(), StyledSelectButtonLabel, StyledSelectArrow, function (_ref8) {
118
118
  var $hasClearIcon = _ref8.$hasClearIcon;
119
119
  return $hasClearIcon && css(["", "{opacity:1;pointer-events:all;}"], StyledSelectClearIcon);
@@ -131,25 +131,25 @@ export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
131
131
  });
132
132
  export var StyledTableCellInput = /*#__PURE__*/styled(Input).withConfig({
133
133
  displayName: "StyledTableCellInput",
134
- componentId: "core-11_24_1__sc-9c7xd-12"
134
+ componentId: "core-11_24_2__sc-9c7xd-12"
135
135
  })(["", ""], cellInputCSS);
136
136
  export var StyledTableCellDateInput = /*#__PURE__*/styled(DateSelect).withConfig({
137
137
  displayName: "StyledTableCellDateInput",
138
- componentId: "core-11_24_1__sc-9c7xd-13"
138
+ componentId: "core-11_24_2__sc-9c7xd-13"
139
139
  })(["background-color:transparent;border-color:transparent;&:active:hover{border-color:", ";}&&&:focus-within{", ";background-color:", ";}", " ", "{opacity:0;}", "{&[data-qa-table-visible='false']{opacity:0;}}", "{&[data-placeholder='true']{opacity:0;}}&:focus-within{", "{opacity:1;}", "{&[data-qa-table-visible='false']{opacity:1;}}", "{&[data-placeholder='true']{opacity:1;}}}"], colors.gray45, getFocus(), colors.white, function (_ref12) {
140
140
  var error = _ref12.error;
141
141
  return error && css(["border-color:", ";"], colors.red50);
142
142
  }, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment);
143
143
  export var StyledTableCellTextArea = /*#__PURE__*/styled(TextArea).withConfig({
144
144
  displayName: "StyledTableCellTextArea",
145
- componentId: "core-11_24_1__sc-9c7xd-14"
145
+ componentId: "core-11_24_2__sc-9c7xd-14"
146
146
  })(["", " &&{height:", "px;min-height:", "px;overflow:hidden;padding-top:", "px;resize:none;width:100%;", "}"], cellInputCSS, spacing.xxl, spacing.xxl, spacing.xs, function (_ref13) {
147
147
  var $resizable = _ref13.$resizable;
148
148
  return $resizable && css(["&:focus{min-height:64px;overflow:auto;resize:vertical;}"]);
149
149
  });
150
150
  export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
151
151
  displayName: "StyledTableCellText",
152
- componentId: "core-11_24_1__sc-9c7xd-15"
152
+ componentId: "core-11_24_2__sc-9c7xd-15"
153
153
  })(["margin:", "px;display:flex;color:", ";", ""], spacing.lg, tableCellTextColor, function (_ref14) {
154
154
  var $percent = _ref14.$percent,
155
155
  $currency = _ref14.$currency;
@@ -157,15 +157,15 @@ export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
157
157
  });
158
158
  export var StyledIconCell = /*#__PURE__*/styled.div.withConfig({
159
159
  displayName: "StyledIconCell",
160
- componentId: "core-11_24_1__sc-9c7xd-16"
160
+ componentId: "core-11_24_2__sc-9c7xd-16"
161
161
  })(["display:flex;color:", ";"], tableCellIconColor);
162
162
  export var StyledSelectCellWrapper = /*#__PURE__*/styled.div.withConfig({
163
163
  displayName: "StyledSelectCellWrapper",
164
- componentId: "core-11_24_1__sc-9c7xd-17"
164
+ componentId: "core-11_24_2__sc-9c7xd-17"
165
165
  })(["display:flex;flex-direction:column;"]);
166
166
  export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
167
167
  displayName: "StyledTableInlineEditErrorBox",
168
- componentId: "core-11_24_1__sc-9c7xd-18"
168
+ componentId: "core-11_24_2__sc-9c7xd-18"
169
169
  })(["", " color:", ";font-style:italic;background:", ";border-radius:0 2px 2px 2px;box-shadow:0 1px 2px rgba(0,0,0,0.2),0 1px 3px rgba(0,0,0,0.1);padding:6px ", "px;position:absolute;max-width:160px;z-index:1;", ""], getTypographyIntent('small'), colors.white, colors.red50, spacing.md, function (_ref15) {
170
170
  var $size = _ref15.$size;
171
171
  var sizes = {
@@ -183,7 +183,7 @@ export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
183
183
  });
184
184
  export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
185
185
  displayName: "StyledTableInlineEditContainer",
186
- componentId: "core-11_24_1__sc-9c7xd-19"
186
+ componentId: "core-11_24_2__sc-9c7xd-19"
187
187
  })(["background-color:", ";margin:", "px ", "px;position:relative;", " ", ""], tableBgColor, spacing.sm, spacing.xs, function (_ref16) {
188
188
  var $error = _ref16.$error;
189
189
  return $error && css(["position:static;background-color:", ";", ",", ",", ",", "{border:", ";border-radius:4px 4px 0 0;border-bottom:none;&:hover{border-bottom:none;}&:focus{background-color:", ";border:", ";border-bottom:none;}}"], tableCellInputErrorBgColor, StyledTableCellDateInput, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBgColor, tableCellInputFocusBorder);
@@ -207,26 +207,26 @@ export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
207
207
  });
208
208
  export var StyledTableBodyRow = /*#__PURE__*/styled.tr.withConfig({
209
209
  displayName: "StyledTableBodyRow",
210
- componentId: "core-11_24_1__sc-9c7xd-20"
210
+ componentId: "core-11_24_2__sc-9c7xd-20"
211
211
  })(["", " ", " &:focus-within{", "{background-color:", ";&.disabled{background-color:transparent;}}", ".error{background-color:", ";}}&:hover{", "{background-color:", ";cursor:pointer;&:hover{background-color:", ";}&.disabled{&,&:hover{background-color:transparent;cursor:default;}}}", ".error{background-color:", ";&:hover{background-color:", ";}", ",", ",", "{border:", ";border-bottom:none;&:hover{border-bottom:none;}&:focus{border:", ";border-bottom:none;}}}}"], tableRowBorderBottom, function (_ref18) {
212
212
  var $overdue = _ref18.$overdue;
213
213
  return $overdue && css(["", ",", ",", ",", ",", "{color:", ";}"], StyledTableCellText, StyledTableCellSelect, StyledTableCellInput, StyledTableCellDateInput, StyledTableCellTextArea, colors.red50);
214
214
  }, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, tableCellInputHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, tableCellInputErrorBgColor, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBorder);
215
215
  export var StyledTableGroupRowContent = /*#__PURE__*/styled.div.withConfig({
216
216
  displayName: "StyledTableGroupRowContent",
217
- componentId: "core-11_24_1__sc-9c7xd-21"
217
+ componentId: "core-11_24_2__sc-9c7xd-21"
218
218
  })([""]);
219
219
  export var StyledTableGroupRowHeader = /*#__PURE__*/styled.div.withConfig({
220
220
  displayName: "StyledTableGroupRowHeader",
221
- componentId: "core-11_24_1__sc-9c7xd-22"
221
+ componentId: "core-11_24_2__sc-9c7xd-22"
222
222
  })([""]);
223
223
  export var StyledTableGroupRowTitle = /*#__PURE__*/styled.span.withConfig({
224
224
  displayName: "StyledTableGroupRowTitle",
225
- componentId: "core-11_24_1__sc-9c7xd-23"
225
+ componentId: "core-11_24_2__sc-9c7xd-23"
226
226
  })([""]);
227
227
  export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
228
228
  displayName: "StyledTableGroupRow",
229
- componentId: "core-11_24_1__sc-9c7xd-24"
229
+ componentId: "core-11_24_2__sc-9c7xd-24"
230
230
  })(["background-color:", ";", " ", "{margin-left:", "px;padding:", "px 0;display:flex;flex-direction:row;}", "{display:flex;align-items:center;}", "{font-weight:", ";padding-left:", "px;}", ""], tableGroupRowBgColor, tableRowBorderBottom, StyledTableGroupRowContent, spacing.lg, spacing.lg, StyledTableGroupRowHeader, StyledTableGroupRowTitle, tableHeaderFontWeight, spacing.lg, function (_ref19) {
231
231
  var $depth = _ref19.$depth;
232
232
  if (typeof $depth !== 'number') {
@@ -236,7 +236,7 @@ export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
236
236
  });
237
237
  export var StyledTableWrapper = /*#__PURE__*/styled(Card).withConfig({
238
238
  displayName: "StyledTableWrapper",
239
- componentId: "core-11_24_1__sc-9c7xd-25"
239
+ componentId: "core-11_24_2__sc-9c7xd-25"
240
240
  })(["border-radius:", "px;border:", ";", ",tbody{&:first-child{tr:first-child{", ",td{&:first-child{border-top-left-radius:", "px;}&:last-child{border-top-right-radius:", "px;}}}}&:last-child{tr:last-child{", ",td{&:first-child{border-bottom-left-radius:", "px;}&:last-child{border-bottom-right-radius:", "px;}}}}}", ""], tableBorderRadius, tableBorder, StyledHead, StyledTableHeaderCell, tableBorderRadius, tableBorderRadius, StyledTableHeaderCell, tableBorderRadius, tableBorderRadius, function (_ref20) {
241
241
  var $withShelf = _ref20.$withShelf;
242
242
  return $withShelf && css(["position:relative;height:100%;"]);
@@ -245,7 +245,7 @@ var BodyRow = StyledTableBodyRow;
245
245
  var GroupRow = StyledTableGroupRow;
246
246
  export var StyledTable = /*#__PURE__*/styled.table.withConfig({
247
247
  displayName: "StyledTable",
248
- componentId: "core-11_24_1__sc-9c7xd-26"
248
+ componentId: "core-11_24_2__sc-9c7xd-26"
249
249
  })(["background-color:", ";border-collapse:collapse;border-radius:", "px;", " width:100%;td:first-child ", "{padding-left:", "px;}", " ", " + ", "{margin-left:", "px;padding-left:0;}", " ", " ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " + ", " + ", " > td{padding-left:", "px;}", " ~ ", "{", "{padding-left:0;margin:0 ", "px;}& > td:first-child{padding-left:", "px;}}", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}"], tableBgColor, tableBorderRadius, getTypographyIntent('body'), StyledCheckbox, spacing.lg, StyledTableGroupRow, StyledCaratWrapper, StyledCheckbox, spacing.xs, function (_ref21) {
250
250
  var $fixed = _ref21.$fixed;
251
251
  return $fixed && css(["table-layout:fixed;"]);
@@ -255,6 +255,6 @@ export var StyledTable = /*#__PURE__*/styled.table.withConfig({
255
255
  }, GroupRow, GroupRow, tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, 2 * tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, 3 * tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, GroupRow, 4 * tableGroupHeaderRowIndentation, GroupRow, BodyRow, StyledCheckbox, spacing.xs, tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, BodyRow, 2 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, BodyRow, 3 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, BodyRow, 4 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, GroupRow, BodyRow, 5 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation);
256
256
  export var StyledLoadingContainer = /*#__PURE__*/styled.div.withConfig({
257
257
  displayName: "StyledLoadingContainer",
258
- componentId: "core-11_24_1__sc-9c7xd-27"
258
+ componentId: "core-11_24_2__sc-9c7xd-27"
259
259
  })(["cursor:default;align-items:center;background:", ";display:flex;height:100%;justify-content:center;opacity:0.9;position:absolute;width:100%;z-index:2;"], colors.gray96);
260
260
  //# sourceMappingURL=Table.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.styles.js","names":["CaretDown","CaretUp","ChevronRight","styled","css","Card","Checkbox","StyledDateInputDelimiter","StyledDateInputIconContainer","StyledDateInputSegment","DateSelect","Input","Select","StyledSelectArrow","StyledSelectButtonLabel","StyledSelectClearIcon","TextArea","getTypographyIntent","typographyWeights","colors","getFocus","spacing","tableBgColor","white","tableBorderRadius","tableBorderStyle","tableBorderWidth","tableBorderColor","gray85","tableBorder","concat","tableGroupRowBgColor","gray98","tableGroupBodyRowIndentation","md","tableGroupHeaderRowIndentation","xl","tableHeaderBgColor","gray96","tableHeaderBgColorHover","gray94","tableHeaderBgColorActive","tableHeaderBorderColor","gray90","tableHeaderBorderRight","tableHeaderFontColor","gray30","tableHeaderFontColorActive","gray15","tableHeaderFontWeight","semibold","tableHeaderHeight","tableHeaderPadding","lg","tableSortFontColor","gray70","tableSortFontColorHover","gray45","tableSortFontColorActive","blue50","tableCellTextColor","tableCellIconColor","tableCellInputPlaceholderColor","tableCellInputBorder","tableCellInputRowHoverBgColor","tableCellInputFocusBgColor","tableCellInputHoverBgColor","blue94","tableCellInputFocusBorder","tableCellInputErrorBgColor","red98","tableCellInputErrorBorder","red50","tableRowBorderBottom","StyledTableHeaderCellSortableContainer","div","withConfig","displayName","componentId","StyledTableHeaderCellLabel","StyledCheckbox","StyledTableBodyCell","td","_ref","$snugfit","StyledTableHeaderCell","th","_ref2","$sortable","StyledTableHeaderCellSortIconAsc","StyledTableHeaderCellSortIconDesc","_ref3","$sortOrder","_ref4","_ref5","_ref6","StyledTableHeaderCellIconWrapper","sm","StyledHead","thead","StyledCaratWrapper","xs","StyledCarat","_ref7","$expanded","cellInputCSS","blue40","StyledTableCellSelect","_ref8","$hasClearIcon","_ref9","_ref9$$placeholder","$placeholder","_ref10","_ref10$$placeholder","_ref11","loading","StyledTableCellInput","StyledTableCellDateInput","_ref12","error","StyledTableCellTextArea","xxl","_ref13","$resizable","StyledTableCellText","_ref14","$percent","$currency","StyledIconCell","StyledSelectCellWrapper","StyledTableInlineEditErrorBox","_ref15","$size","sizes","block","StyledTableInlineEditContainer","_ref16","$error","_ref17","StyledTableBodyRow","tr","_ref18","$overdue","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","span","StyledTableGroupRow","_ref19","$depth","StyledTableWrapper","_ref20","$withShelf","BodyRow","GroupRow","StyledTable","table","_ref21","$fixed","_ref22","$inline","StyledLoadingContainer"],"sources":["../../src/Table/Table.styles.ts"],"sourcesContent":["import { CaretDown, CaretUp, ChevronRight } from '@procore/core-icons'\nimport styled, { css } from 'styled-components'\nimport { Card } from '../Card'\nimport { Checkbox } from '../Checkbox'\nimport {\n StyledDateInputDelimiter,\n StyledDateInputIconContainer,\n StyledDateInputSegment,\n} from '../DateInput/DateInput.styles'\nimport { DateSelect } from '../DateSelect'\nimport { Input } from '../Input'\nimport { Select } from '../Select'\nimport {\n StyledSelectArrow,\n StyledSelectButtonLabel,\n StyledSelectClearIcon,\n} from '../Select/Select.styles'\nimport { TextArea } from '../TextArea'\nimport {\n getTypographyIntent,\n typographyWeights,\n} from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\nimport { InputCellSize, TableColumnSortOrder } from './Table.types'\n\nconst tableBgColor = colors.white\nconst tableBorderRadius = 4\nconst tableBorderStyle = 'solid'\nconst tableBorderWidth = 1\nconst tableBorderColor = colors.gray85\nconst tableBorder = `${tableBorderWidth}px ${tableBorderStyle} ${tableBorderColor}`\n\nconst tableGroupRowBgColor = colors.gray98\nconst tableGroupBodyRowIndentation = spacing.md\nconst tableGroupHeaderRowIndentation = spacing.xl\n\nconst tableHeaderBgColor = colors.gray96\nconst tableHeaderBgColorHover = colors.gray94\nconst tableHeaderBgColorActive = colors.gray94\nconst tableHeaderBorderColor = colors.gray90\nconst tableHeaderBorderRight = `${tableBorderWidth}px ${tableBorderStyle} ${tableHeaderBorderColor}`\n\nconst tableHeaderFontColor = colors.gray30\nconst tableHeaderFontColorActive = colors.gray15\nconst tableHeaderFontWeight = typographyWeights.semibold\nconst tableHeaderHeight = 48\nconst tableHeaderPadding = spacing.lg\n\nconst tableSortFontColor = colors.gray70\nconst tableSortFontColorHover = colors.gray45\nconst tableSortFontColorActive = colors.blue50\n\nconst tableCellTextColor = colors.gray15\nconst tableCellIconColor = colors.gray45\nconst tableCellInputPlaceholderColor = colors.gray70\nconst tableCellInputBorder = '1px solid transparent'\nconst tableCellInputRowHoverBgColor = colors.gray96\nconst tableCellInputFocusBgColor = colors.white\nconst tableCellInputHoverBgColor = colors.blue94\nconst tableCellInputFocusBorder = `1px solid ${colors.blue50}`\nconst tableCellInputErrorBgColor = colors.red98\nconst tableCellInputErrorBorder = `1px solid ${colors.red50}`\n\nconst tableRowBorderBottom = css`\n border-bottom: ${tableBorder};\n\n &:last-child {\n border-bottom: 0;\n }\n`\n\nexport const StyledTableHeaderCellSortableContainer = styled.div``\n\nexport const StyledTableHeaderCellLabel = styled.div`\n display: inline-block;\n flex: 1 1 auto;\n position: relative;\n`\n\nexport const StyledCheckbox = styled(Checkbox)``\n\nexport const StyledTableBodyCell = styled.td<{ $snugfit: boolean }>`\n position: relative;\n vertical-align: middle;\n\n ${({ $snugfit }) =>\n $snugfit &&\n css`\n white-space: nowrap;\n width: 0.1%;\n `}\n`\n\nexport const StyledTableHeaderCell = styled.th<{\n $sortable: boolean\n $snugfit: boolean\n $sortOrder?: TableColumnSortOrder\n}>`\n ${getTypographyIntent('small')}\n font-weight: ${tableHeaderFontWeight};\n border-right: ${tableHeaderBorderRight};\n color: ${tableHeaderFontColor};\n height: ${tableHeaderHeight}px;\n padding: ${tableHeaderPadding}px;\n position: relative;\n text-align: left;\n transition: background-color 0.2s ease-in-out;\n\n &:last-child {\n border-right: 0;\n }\n\n ${StyledTableHeaderCellSortableContainer} {\n display: flex;\n align-items: center;\n }\n\n ${StyledTableHeaderCellSortableContainer} {\n ${StyledTableHeaderCellLabel} {\n min-height: 14px;\n }\n }\n\n ${({ $sortable }) =>\n $sortable &&\n css`\n cursor: pointer;\n padding: ${spacing.lg}px;\n\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n color: ${tableSortFontColor};\n opacity: 0;\n transition: all 0.15s ease-in-out;\n position: absolute;\n }\n\n ::before,\n ::after {\n font-size: 16px;\n }\n\n &:hover {\n background-color: ${tableHeaderBgColorHover};\n\n ${StyledTableHeaderCellSortIconAsc} {\n color: ${tableSortFontColorHover};\n }\n }\n `}\n\n ${({ $sortOrder }) =>\n ($sortOrder === 'asc' || $sortOrder === 'desc') &&\n css`\n background-color: ${tableHeaderBgColorActive};\n color: ${tableHeaderFontColorActive};\n\n &::before,\n &::after,\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n opacity: 1;\n }\n `}\n\n ${({ $sortOrder }) =>\n $sortOrder === 'asc' &&\n css`\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorActive};\n }\n\n &:hover {\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorActive};\n }\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorHover};\n }\n }\n `}\n\n ${({ $sortOrder }) =>\n $sortOrder === 'desc' &&\n css`\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorActive};\n }\n\n &:hover {\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorHover};\n }\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorActive};\n }\n }\n `}\n\n ${({ $snugfit }) =>\n $snugfit &&\n css`\n width: 0.1%;\n `}\n`\n\nexport const StyledTableHeaderCellIconWrapper = styled.div`\n height: 20px;\n line-height: 20px;\n padding: 0 ${spacing.lg}px 0 ${spacing.sm}px;\n width: 20px;\n`\n\nexport const StyledTableHeaderCellSortIconAsc = styled(CaretUp)`\n margin-top: -${spacing.sm}px;\n`\n\nexport const StyledTableHeaderCellSortIconDesc = styled(CaretDown)``\n\nexport const StyledHead = styled.thead`\n background-color: ${tableHeaderBgColor};\n transition: background-color 0.2s ease-in-out;\n ${tableRowBorderBottom}\n\n &:hover {\n ${StyledTableHeaderCell} {\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n &::after,\n &::before {\n opacity: 1;\n }\n }\n }\n }\n`\n\nexport const StyledCaratWrapper = styled.div`\n font-size: 16px;\n color: ${colors.gray70};\n padding-right: ${spacing.xs}px;\n transition: all 0.2s ease-in-out;\n\n & + ${StyledCheckbox} {\n margin: 0 ${spacing.xs}px;\n }\n`\n\nexport const StyledCarat = styled(ChevronRight)<{ $expanded: boolean }>`\n ${({ $expanded }) =>\n $expanded &&\n css`\n transform: rotate(90deg);\n `}\n`\n\nconst cellInputCSS = css`\n // Define particular color, simply not to rely on browser's choice of transparent value\n // https://stackoverflow.com/questions/46309641/what-happens-in-safari-with-the-transparent-color\n background-color: rgba(255, 255, 255, 0);\n\n &&& {\n border: ${tableCellInputBorder};\n border-radius: 4px;\n width: 100%;\n\n &::placeholder {\n color: ${tableCellInputPlaceholderColor};\n }\n\n &::-ms-clear {\n display: none;\n }\n\n &:hover {\n border-color: transparent;\n }\n\n &:focus {\n /**\n focus background overrides everything, so it is the only cell-defined background style.\n the rest come from StyledInlineEditContainer\n */\n background-color: ${colors.white};\n border-style: solid;\n border-width: 1px;\n border-color: ${colors.blue40};\n box-shadow: 0 0 0 1px ${colors.blue40};\n outline: none;\n }\n\n &:disabled {\n border: ${tableCellInputBorder};\n color: ${colors.gray70};\n }\n }\n`\n\nexport const StyledTableCellSelect = styled(Select)<{\n $hasClearIcon: boolean\n $placeholder: boolean\n}>`\n ${cellInputCSS};\n\n background-color: transparent;\n border-color: transparent;\n height: auto;\n\n &:hover {\n background-color: transparent;\n }\n\n &:active:hover {\n border-color: ${colors.gray85};\n }\n\n &:focus {\n background-color: ${colors.white};\n cursor: pointer;\n ${getFocus()}\n\n ${StyledSelectButtonLabel} {\n white-space: nowrap;\n }\n\n ${StyledSelectArrow} {\n opacity: 1;\n pointer-events: all;\n }\n\n ${({ $hasClearIcon }) =>\n $hasClearIcon &&\n css`\n ${StyledSelectClearIcon} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledSelectButtonLabel} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n }\n\n ${StyledSelectButtonLabel} {\n white-space: normal;\n }\n\n ${StyledSelectArrow}, ${StyledSelectClearIcon} {\n opacity: 0;\n pointer-events: none;\n }\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledSelectButtonLabel} {\n opacity: 0;\n pointer-events: none;\n }\n `}\n\n ${({ loading }) =>\n loading &&\n css`\n background-color: ${colors.white};\n border-color: ${colors.gray85};\n\n ${StyledSelectButtonLabel} {\n white-space: nowrap;\n }\n `}\n`\nexport const StyledTableCellInput = styled(Input)`\n ${cellInputCSS}\n`\nexport const StyledTableCellDateInput = styled(DateSelect)`\n background-color: transparent;\n border-color: transparent;\n\n &:active:hover {\n border-color: ${colors.gray45};\n }\n\n // increase specificity to avoid border re-style\n &&&:focus-within {\n ${getFocus()};\n background-color: ${colors.white};\n }\n\n ${({ error }) =>\n error &&\n css`\n border-color: ${colors.red50};\n `}\n\n ${StyledDateInputIconContainer} {\n opacity: 0;\n }\n\n ${StyledDateInputDelimiter} {\n &[data-qa-table-visible='false'] {\n opacity: 0;\n }\n }\n\n ${StyledDateInputSegment} {\n &[data-placeholder='true'] {\n opacity: 0;\n }\n }\n\n &:focus-within {\n ${StyledDateInputIconContainer} {\n opacity: 1;\n }\n ${StyledDateInputDelimiter} {\n &[data-qa-table-visible='false'] {\n opacity: 1;\n }\n }\n ${StyledDateInputSegment} {\n &[data-placeholder='true'] {\n opacity: 1;\n }\n }\n }\n`\n\nexport const StyledTableCellTextArea = styled(TextArea)<{\n $resizable: boolean\n}>`\n ${cellInputCSS}\n && {\n height: ${spacing.xxl}px;\n min-height: ${spacing.xxl}px;\n overflow: hidden;\n padding-top: ${spacing.xs}px;\n resize: none;\n width: 100%;\n\n ${({ $resizable }) =>\n $resizable &&\n css`\n &:focus {\n min-height: 64px;\n overflow: auto;\n resize: vertical;\n }\n `}\n }\n`\n\nexport const StyledTableCellText = styled.div<{\n $percent?: boolean\n $currency?: boolean\n}>`\n margin: ${spacing.lg}px;\n display: flex;\n color: ${tableCellTextColor};\n\n ${({ $percent, $currency }) =>\n ($percent || $currency) &&\n css`\n justify-content: flex-end;\n `}\n`\n\nexport const StyledIconCell = styled.div`\n display: flex;\n color: ${tableCellIconColor};\n`\n\nexport const StyledSelectCellWrapper = styled.div`\n display: flex;\n flex-direction: column;\n`\n\nexport const StyledTableInlineEditErrorBox = styled.div<{\n $size?: InputCellSize\n}>`\n ${getTypographyIntent('small')}\n color: ${colors.white};\n font-style: italic;\n background: ${colors.red50};\n border-radius: 0 2px 2px 2px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);\n padding: 6px ${spacing.md}px;\n position: absolute;\n max-width: 160px;\n z-index: 1;\n\n ${({ $size }) => {\n const sizes: Record<InputCellSize, number | null> = {\n xs: 36,\n sm: 48,\n md: 80,\n lg: 112,\n block: null,\n xl: null,\n }\n\n if (!$size || !sizes[$size]) {\n return ''\n }\n\n return css`\n min-width: ${sizes[$size]}px;\n `\n }}\n`\n\ninterface StyledTableInlineEditContainerProps {\n $disabled?: boolean\n $error?: boolean\n $size: InputCellSize\n}\n\nexport const StyledTableInlineEditContainer = styled.div<StyledTableInlineEditContainerProps>`\n background-color: ${tableBgColor};\n margin: ${spacing.sm}px ${spacing.xs}px;\n position: relative;\n\n ${({ $error }) =>\n $error &&\n css`\n position: static;\n background-color: ${tableCellInputErrorBgColor};\n\n ${StyledTableCellDateInput},\n ${StyledTableCellInput},\n ${StyledTableCellSelect},\n ${StyledTableCellTextArea} {\n border: ${tableCellInputErrorBorder};\n border-radius: 4px 4px 0 0;\n border-bottom: none;\n\n &:hover {\n border-bottom: none;\n }\n\n &:focus {\n background-color: ${tableCellInputFocusBgColor};\n border: ${tableCellInputFocusBorder};\n border-bottom: none;\n }\n }\n `}\n\n ${({ $size }) => {\n const sizes: Record<InputCellSize, number | null> = {\n xs: 36,\n sm: 48,\n md: 80,\n lg: 112,\n block: null,\n xl: null,\n }\n\n if ($size === 'block') {\n return css`\n position: relative;\n\n ${StyledTableInlineEditErrorBox} {\n width: 100%;\n max-width: 100%;\n }\n `\n }\n\n if (!$size || !sizes[$size]) {\n return ''\n }\n\n return css`\n width: ${sizes[$size]}px;\n `\n }}\n`\n\nexport const StyledTableBodyRow = styled.tr<{\n $overdue: boolean\n}>`\n ${tableRowBorderBottom}\n\n ${({ $overdue }) =>\n $overdue &&\n css`\n ${StyledTableCellText},\n ${StyledTableCellSelect},\n ${StyledTableCellInput},\n ${StyledTableCellDateInput},\n ${StyledTableCellTextArea} {\n color: ${colors.red50};\n }\n `}\n\n &:focus-within {\n ${StyledTableInlineEditContainer} {\n background-color: ${tableCellInputRowHoverBgColor};\n\n &.disabled {\n background-color: transparent;\n }\n }\n ${StyledTableInlineEditContainer}.error {\n background-color: ${tableCellInputErrorBgColor};\n }\n }\n\n &:hover {\n ${StyledTableInlineEditContainer} {\n background-color: ${tableCellInputRowHoverBgColor};\n cursor: pointer;\n\n &:hover {\n background-color: ${tableCellInputHoverBgColor};\n }\n\n &.disabled {\n &,\n &:hover {\n background-color: transparent;\n cursor: default;\n }\n }\n }\n\n ${StyledTableInlineEditContainer}.error {\n background-color: ${tableCellInputErrorBgColor};\n\n &:hover {\n background-color: ${tableCellInputErrorBgColor};\n }\n\n ${StyledTableCellInput},\n ${StyledTableCellSelect},\n ${StyledTableCellTextArea} {\n border: ${tableCellInputErrorBorder};\n border-bottom: none;\n\n &:hover {\n border-bottom: none;\n }\n\n &:focus {\n border: ${tableCellInputFocusBorder};\n border-bottom: none;\n }\n }\n }\n }\n`\n\nexport const StyledTableGroupRowContent = styled.div``\n\nexport const StyledTableGroupRowHeader = styled.div``\n\nexport const StyledTableGroupRowTitle = styled.span``\n\nexport const StyledTableGroupRow = styled.tr<{ $depth?: number | boolean }>`\n background-color: ${tableGroupRowBgColor};\n ${tableRowBorderBottom}\n\n ${StyledTableGroupRowContent} {\n margin-left: ${spacing.lg}px;\n padding: ${spacing.lg}px 0;\n display: flex;\n flex-direction: row;\n }\n\n ${StyledTableGroupRowHeader} {\n display: flex;\n align-items: center;\n }\n\n ${StyledTableGroupRowTitle} {\n font-weight: ${tableHeaderFontWeight};\n padding-left: ${spacing.lg}px;\n }\n\n ${({ $depth }) => {\n if (typeof $depth !== 'number') {\n return ''\n }\n\n return css`\n > td {\n padding-left: ${$depth * tableGroupHeaderRowIndentation}px !important;\n }\n\n ~ ${StyledTableBodyRow} {\n > td:first-child {\n padding-left: ${($depth + 1) * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px !important;\n }\n }\n `\n }}\n`\n\nexport const StyledTableWrapper = styled(Card)<{ $withShelf: boolean }>`\n border-radius: ${tableBorderRadius}px;\n border: ${tableBorder};\n\n ${StyledHead}, tbody {\n &:first-child {\n tr:first-child {\n ${StyledTableHeaderCell}, td {\n &:first-child {\n border-top-left-radius: ${tableBorderRadius}px;\n }\n\n &:last-child {\n border-top-right-radius: ${tableBorderRadius}px;\n }\n }\n }\n }\n\n &:last-child {\n tr:last-child {\n ${StyledTableHeaderCell}, td {\n &:first-child {\n border-bottom-left-radius: ${tableBorderRadius}px;\n }\n &:last-child {\n border-bottom-right-radius: ${tableBorderRadius}px;\n }\n }\n }\n }\n }\n\n ${({ $withShelf }) =>\n $withShelf &&\n css`\n position: relative;\n height: 100%;\n `}\n`\n\nconst BodyRow = StyledTableBodyRow\n\nconst GroupRow = StyledTableGroupRow\n\nexport const StyledTable = styled.table<{ $inline?: boolean; $fixed: boolean }>`\n background-color: ${tableBgColor};\n border-collapse: collapse;\n border-radius: ${tableBorderRadius}px;\n ${getTypographyIntent('body')}\n width: 100%;\n\n td:first-child ${StyledCheckbox} {\n padding-left: ${spacing.lg}px;\n }\n\n ${StyledTableGroupRow} ${StyledCaratWrapper} + ${StyledCheckbox} {\n margin-left: ${spacing.xs}px;\n padding-left: 0;\n }\n\n ${({ $fixed }) =>\n $fixed &&\n css`\n table-layout: fixed;\n `}\n\n ${({ $inline }) =>\n $inline &&\n css`\n border-top: 1px solid ${colors.gray85};\n border-bottom: 1px solid ${colors.gray85};\n `}\n\n ${GroupRow} + ${GroupRow} > td {\n padding-left: ${tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${2 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${3 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${4 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} ~ ${BodyRow} {\n ${StyledCheckbox} {\n padding-left: 0;\n margin: 0 ${spacing.xs}px;\n }\n\n & > td:first-child {\n padding-left: ${tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${2 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${3 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${4 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${5 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n`\n\nexport const StyledLoadingContainer = styled.div`\n cursor: default;\n align-items: center;\n background: ${colors.gray96};\n display: flex;\n height: 100%;\n justify-content: center;\n opacity: 0.9;\n position: absolute;\n width: 100%;\n z-index: 2;\n`\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,OAAO,EAAEC,YAAY,QAAQ,qBAAqB;AACtE,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,IAAI,QAAQ,SAAS;AAC9B,SAASC,QAAQ,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AAQ,EAAMA,QAAQ,EAAMD,OAAO,EAE/B,CAAC,GAAGvH,8BAA8B,GAClDF,4BAA4B,EAI9B0H,QAAQ,EAAMA,QAAQ,EAAMA,QAAQ,EAAMA,QAAQ,EAAMD,OAAO,EAE7C,CAAC,GAAGvH,8BAA8B,GAClDF,4BAA4B,EAI9B0H,QAAQ,EAAMA,QAAQ,EAAMA,QAAQ,EAAMA,QAAQ,EAAMA,QAAQ,EAAMD,OAAO,EAE3D,CAAC,GAAGvH,8BAA8B,GAClDF,4BAA4B,CAGjC;AAED,OAAO,IAAMiI,sBAAsB,gBAAG/J,MAAM,CAACwE,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8JAGhC3D,MAAM,CAACmB,MAAM,CAQ5B"}
1
+ {"version":3,"file":"Table.styles.js","names":["CaretDown","CaretUp","ChevronRight","styled","css","Card","Checkbox","StyledDateInputDelimiter","StyledDateInputIconContainer","StyledDateInputSegment","DateSelect","Input","Select","StyledSelectArrow","StyledSelectButtonLabel","StyledSelectClearIcon","TextArea","getTypographyIntent","typographyWeights","colors","getFocus","spacing","tableBgColor","white","tableBorderRadius","tableBorderStyle","tableBorderWidth","tableBorderColor","gray85","tableBorder","concat","tableGroupRowBgColor","gray98","tableGroupBodyRowIndentation","md","tableGroupHeaderRowIndentation","xl","tableHeaderBgColor","gray96","tableHeaderBgColorHover","gray94","tableHeaderBgColorActive","tableHeaderBorderColor","gray90","tableHeaderBorderRight","tableHeaderFontColor","gray30","tableHeaderFontColorActive","gray15","tableHeaderFontWeight","semibold","tableHeaderHeight","tableHeaderPadding","lg","tableSortFontColor","gray70","tableSortFontColorHover","gray45","tableSortFontColorActive","blue50","tableCellTextColor","tableCellIconColor","tableCellInputPlaceholderColor","tableCellInputBorder","tableCellInputRowHoverBgColor","tableCellInputFocusBgColor","tableCellInputHoverBgColor","blue94","tableCellInputFocusBorder","tableCellInputErrorBgColor","red98","tableCellInputErrorBorder","red50","tableRowBorderBottom","StyledTableHeaderCellSortableContainer","div","withConfig","displayName","componentId","StyledTableHeaderCellLabel","StyledCheckbox","StyledTableBodyCell","td","_ref","$snugfit","StyledTableHeaderCell","th","_ref2","$sortable","StyledTableHeaderCellSortIconAsc","StyledTableHeaderCellSortIconDesc","_ref3","$sortOrder","_ref4","_ref5","_ref6","StyledTableHeaderCellIconWrapper","sm","StyledHead","thead","StyledCaratWrapper","xs","StyledCarat","_ref7","$expanded","cellInputCSS","blue40","StyledTableCellSelect","_ref8","$hasClearIcon","_ref9","_ref9$$placeholder","$placeholder","_ref10","_ref10$$placeholder","_ref11","loading","StyledTableCellInput","StyledTableCellDateInput","_ref12","error","StyledTableCellTextArea","xxl","_ref13","$resizable","StyledTableCellText","_ref14","$percent","$currency","StyledIconCell","StyledSelectCellWrapper","StyledTableInlineEditErrorBox","_ref15","$size","sizes","block","StyledTableInlineEditContainer","_ref16","$error","_ref17","StyledTableBodyRow","tr","_ref18","$overdue","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","span","StyledTableGroupRow","_ref19","$depth","StyledTableWrapper","_ref20","$withShelf","BodyRow","GroupRow","StyledTable","table","_ref21","$fixed","_ref22","$inline","StyledLoadingContainer"],"sources":["../../src/Table/Table.styles.ts"],"sourcesContent":["import { CaretDown, CaretUp, ChevronRight } from '@procore/core-icons'\nimport styled, { css } from 'styled-components'\nimport { Card } from '../Card'\nimport { Checkbox } from '../Checkbox'\nimport {\n StyledDateInputDelimiter,\n StyledDateInputIconContainer,\n StyledDateInputSegment,\n} from '../DateInput/DateInput.styles'\nimport { DateSelect } from '../DateSelect'\nimport { Input } from '../Input'\nimport { Select } from '../Select'\nimport {\n StyledSelectArrow,\n StyledSelectButtonLabel,\n StyledSelectClearIcon,\n} from '../Select/Select.styles'\nimport { TextArea } from '../TextArea'\nimport {\n getTypographyIntent,\n typographyWeights,\n} from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\nimport type { InputCellSize, TableColumnSortOrder } from './Table.types'\n\nconst tableBgColor = colors.white\nconst tableBorderRadius = 4\nconst tableBorderStyle = 'solid'\nconst tableBorderWidth = 1\nconst tableBorderColor = colors.gray85\nconst tableBorder = `${tableBorderWidth}px ${tableBorderStyle} ${tableBorderColor}`\n\nconst tableGroupRowBgColor = colors.gray98\nconst tableGroupBodyRowIndentation = spacing.md\nconst tableGroupHeaderRowIndentation = spacing.xl\n\nconst tableHeaderBgColor = colors.gray96\nconst tableHeaderBgColorHover = colors.gray94\nconst tableHeaderBgColorActive = colors.gray94\nconst tableHeaderBorderColor = colors.gray90\nconst tableHeaderBorderRight = `${tableBorderWidth}px ${tableBorderStyle} ${tableHeaderBorderColor}`\n\nconst tableHeaderFontColor = colors.gray30\nconst tableHeaderFontColorActive = colors.gray15\nconst tableHeaderFontWeight = typographyWeights.semibold\nconst tableHeaderHeight = 48\nconst tableHeaderPadding = spacing.lg\n\nconst tableSortFontColor = colors.gray70\nconst tableSortFontColorHover = colors.gray45\nconst tableSortFontColorActive = colors.blue50\n\nconst tableCellTextColor = colors.gray15\nconst tableCellIconColor = colors.gray45\nconst tableCellInputPlaceholderColor = colors.gray70\nconst tableCellInputBorder = '1px solid transparent'\nconst tableCellInputRowHoverBgColor = colors.gray96\nconst tableCellInputFocusBgColor = colors.white\nconst tableCellInputHoverBgColor = colors.blue94\nconst tableCellInputFocusBorder = `1px solid ${colors.blue50}`\nconst tableCellInputErrorBgColor = colors.red98\nconst tableCellInputErrorBorder = `1px solid ${colors.red50}`\n\nconst tableRowBorderBottom = css`\n border-bottom: ${tableBorder};\n\n &:last-child {\n border-bottom: 0;\n }\n`\n\nexport const StyledTableHeaderCellSortableContainer = styled.div``\n\nexport const StyledTableHeaderCellLabel = styled.div`\n display: inline-block;\n flex: 1 1 auto;\n position: relative;\n`\n\nexport const StyledCheckbox = styled(Checkbox)``\n\nexport const StyledTableBodyCell = styled.td<{ $snugfit: boolean }>`\n position: relative;\n vertical-align: middle;\n\n ${({ $snugfit }) =>\n $snugfit &&\n css`\n white-space: nowrap;\n width: 0.1%;\n `}\n`\n\nexport const StyledTableHeaderCell = styled.th<{\n $sortable: boolean\n $snugfit: boolean\n $sortOrder?: TableColumnSortOrder\n}>`\n ${getTypographyIntent('small')}\n font-weight: ${tableHeaderFontWeight};\n border-right: ${tableHeaderBorderRight};\n color: ${tableHeaderFontColor};\n height: ${tableHeaderHeight}px;\n padding: ${tableHeaderPadding}px;\n position: relative;\n text-align: left;\n transition: background-color 0.2s ease-in-out;\n\n &:last-child {\n border-right: 0;\n }\n\n ${StyledTableHeaderCellSortableContainer} {\n display: flex;\n align-items: center;\n }\n\n ${StyledTableHeaderCellSortableContainer} {\n ${StyledTableHeaderCellLabel} {\n min-height: 14px;\n }\n }\n\n ${({ $sortable }) =>\n $sortable &&\n css`\n cursor: pointer;\n padding: ${spacing.lg}px;\n\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n color: ${tableSortFontColor};\n opacity: 0;\n transition: all 0.15s ease-in-out;\n position: absolute;\n }\n\n ::before,\n ::after {\n font-size: 16px;\n }\n\n &:hover {\n background-color: ${tableHeaderBgColorHover};\n\n ${StyledTableHeaderCellSortIconAsc} {\n color: ${tableSortFontColorHover};\n }\n }\n `}\n\n ${({ $sortOrder }) =>\n ($sortOrder === 'asc' || $sortOrder === 'desc') &&\n css`\n background-color: ${tableHeaderBgColorActive};\n color: ${tableHeaderFontColorActive};\n\n &::before,\n &::after,\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n opacity: 1;\n }\n `}\n\n ${({ $sortOrder }) =>\n $sortOrder === 'asc' &&\n css`\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorActive};\n }\n\n &:hover {\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorActive};\n }\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorHover};\n }\n }\n `}\n\n ${({ $sortOrder }) =>\n $sortOrder === 'desc' &&\n css`\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorActive};\n }\n\n &:hover {\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorHover};\n }\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorActive};\n }\n }\n `}\n\n ${({ $snugfit }) =>\n $snugfit &&\n css`\n width: 0.1%;\n `}\n`\n\nexport const StyledTableHeaderCellIconWrapper = styled.div`\n height: 20px;\n line-height: 20px;\n padding: 0 ${spacing.lg}px 0 ${spacing.sm}px;\n width: 20px;\n`\n\nexport const StyledTableHeaderCellSortIconAsc = styled(CaretUp)`\n margin-top: -${spacing.sm}px;\n`\n\nexport const StyledTableHeaderCellSortIconDesc = styled(CaretDown)``\n\nexport const StyledHead = styled.thead`\n background-color: ${tableHeaderBgColor};\n transition: background-color 0.2s ease-in-out;\n ${tableRowBorderBottom}\n\n &:hover {\n ${StyledTableHeaderCell} {\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n &::after,\n &::before {\n opacity: 1;\n }\n }\n }\n }\n`\n\nexport const StyledCaratWrapper = styled.div`\n font-size: 16px;\n color: ${colors.gray70};\n padding-right: ${spacing.xs}px;\n transition: all 0.2s ease-in-out;\n\n & + ${StyledCheckbox} {\n margin: 0 ${spacing.xs}px;\n }\n`\n\nexport const StyledCarat = styled(ChevronRight)<{ $expanded: boolean }>`\n ${({ $expanded }) =>\n $expanded &&\n css`\n transform: rotate(90deg);\n `}\n`\n\nconst cellInputCSS = css`\n // Define particular color, simply not to rely on browser's choice of transparent value\n // https://stackoverflow.com/questions/46309641/what-happens-in-safari-with-the-transparent-color\n background-color: rgba(255, 255, 255, 0);\n\n &&& {\n border: ${tableCellInputBorder};\n border-radius: 4px;\n width: 100%;\n\n &::placeholder {\n color: ${tableCellInputPlaceholderColor};\n }\n\n &::-ms-clear {\n display: none;\n }\n\n &:hover {\n border-color: transparent;\n }\n\n &:focus {\n /**\n focus background overrides everything, so it is the only cell-defined background style.\n the rest come from StyledInlineEditContainer\n */\n background-color: ${colors.white};\n border-style: solid;\n border-width: 1px;\n border-color: ${colors.blue40};\n box-shadow: 0 0 0 1px ${colors.blue40};\n outline: none;\n }\n\n &:disabled {\n border: ${tableCellInputBorder};\n color: ${colors.gray70};\n }\n }\n`\n\nexport const StyledTableCellSelect = styled(Select)<{\n $hasClearIcon: boolean\n $placeholder: boolean\n}>`\n ${cellInputCSS};\n\n background-color: transparent;\n border-color: transparent;\n height: auto;\n\n &:hover {\n background-color: transparent;\n }\n\n &:active:hover {\n border-color: ${colors.gray85};\n }\n\n &:focus {\n background-color: ${colors.white};\n cursor: pointer;\n ${getFocus()}\n\n ${StyledSelectButtonLabel} {\n white-space: nowrap;\n }\n\n ${StyledSelectArrow} {\n opacity: 1;\n pointer-events: all;\n }\n\n ${({ $hasClearIcon }) =>\n $hasClearIcon &&\n css`\n ${StyledSelectClearIcon} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledSelectButtonLabel} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n }\n\n ${StyledSelectButtonLabel} {\n white-space: normal;\n }\n\n ${StyledSelectArrow}, ${StyledSelectClearIcon} {\n opacity: 0;\n pointer-events: none;\n }\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledSelectButtonLabel} {\n opacity: 0;\n pointer-events: none;\n }\n `}\n\n ${({ loading }) =>\n loading &&\n css`\n background-color: ${colors.white};\n border-color: ${colors.gray85};\n\n ${StyledSelectButtonLabel} {\n white-space: nowrap;\n }\n `}\n`\nexport const StyledTableCellInput = styled(Input)`\n ${cellInputCSS}\n`\nexport const StyledTableCellDateInput = styled(DateSelect)`\n background-color: transparent;\n border-color: transparent;\n\n &:active:hover {\n border-color: ${colors.gray45};\n }\n\n // increase specificity to avoid border re-style\n &&&:focus-within {\n ${getFocus()};\n background-color: ${colors.white};\n }\n\n ${({ error }) =>\n error &&\n css`\n border-color: ${colors.red50};\n `}\n\n ${StyledDateInputIconContainer} {\n opacity: 0;\n }\n\n ${StyledDateInputDelimiter} {\n &[data-qa-table-visible='false'] {\n opacity: 0;\n }\n }\n\n ${StyledDateInputSegment} {\n &[data-placeholder='true'] {\n opacity: 0;\n }\n }\n\n &:focus-within {\n ${StyledDateInputIconContainer} {\n opacity: 1;\n }\n ${StyledDateInputDelimiter} {\n &[data-qa-table-visible='false'] {\n opacity: 1;\n }\n }\n ${StyledDateInputSegment} {\n &[data-placeholder='true'] {\n opacity: 1;\n }\n }\n }\n`\n\nexport const StyledTableCellTextArea = styled(TextArea)<{\n $resizable: boolean\n}>`\n ${cellInputCSS}\n && {\n height: ${spacing.xxl}px;\n min-height: ${spacing.xxl}px;\n overflow: hidden;\n padding-top: ${spacing.xs}px;\n resize: none;\n width: 100%;\n\n ${({ $resizable }) =>\n $resizable &&\n css`\n &:focus {\n min-height: 64px;\n overflow: auto;\n resize: vertical;\n }\n `}\n }\n`\n\nexport const StyledTableCellText = styled.div<{\n $percent?: boolean\n $currency?: boolean\n}>`\n margin: ${spacing.lg}px;\n display: flex;\n color: ${tableCellTextColor};\n\n ${({ $percent, $currency }) =>\n ($percent || $currency) &&\n css`\n justify-content: flex-end;\n `}\n`\n\nexport const StyledIconCell = styled.div`\n display: flex;\n color: ${tableCellIconColor};\n`\n\nexport const StyledSelectCellWrapper = styled.div`\n display: flex;\n flex-direction: column;\n`\n\nexport const StyledTableInlineEditErrorBox = styled.div<{\n $size?: InputCellSize\n}>`\n ${getTypographyIntent('small')}\n color: ${colors.white};\n font-style: italic;\n background: ${colors.red50};\n border-radius: 0 2px 2px 2px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);\n padding: 6px ${spacing.md}px;\n position: absolute;\n max-width: 160px;\n z-index: 1;\n\n ${({ $size }) => {\n const sizes: Record<InputCellSize, number | null> = {\n xs: 36,\n sm: 48,\n md: 80,\n lg: 112,\n block: null,\n xl: null,\n }\n\n if (!$size || !sizes[$size]) {\n return ''\n }\n\n return css`\n min-width: ${sizes[$size]}px;\n `\n }}\n`\n\ninterface StyledTableInlineEditContainerProps {\n $disabled?: boolean\n $error?: boolean\n $size: InputCellSize\n}\n\nexport const StyledTableInlineEditContainer = styled.div<StyledTableInlineEditContainerProps>`\n background-color: ${tableBgColor};\n margin: ${spacing.sm}px ${spacing.xs}px;\n position: relative;\n\n ${({ $error }) =>\n $error &&\n css`\n position: static;\n background-color: ${tableCellInputErrorBgColor};\n\n ${StyledTableCellDateInput},\n ${StyledTableCellInput},\n ${StyledTableCellSelect},\n ${StyledTableCellTextArea} {\n border: ${tableCellInputErrorBorder};\n border-radius: 4px 4px 0 0;\n border-bottom: none;\n\n &:hover {\n border-bottom: none;\n }\n\n &:focus {\n background-color: ${tableCellInputFocusBgColor};\n border: ${tableCellInputFocusBorder};\n border-bottom: none;\n }\n }\n `}\n\n ${({ $size }) => {\n const sizes: Record<InputCellSize, number | null> = {\n xs: 36,\n sm: 48,\n md: 80,\n lg: 112,\n block: null,\n xl: null,\n }\n\n if ($size === 'block') {\n return css`\n position: relative;\n\n ${StyledTableInlineEditErrorBox} {\n width: 100%;\n max-width: 100%;\n }\n `\n }\n\n if (!$size || !sizes[$size]) {\n return ''\n }\n\n return css`\n width: ${sizes[$size]}px;\n `\n }}\n`\n\nexport const StyledTableBodyRow = styled.tr<{\n $overdue: boolean\n}>`\n ${tableRowBorderBottom}\n\n ${({ $overdue }) =>\n $overdue &&\n css`\n ${StyledTableCellText},\n ${StyledTableCellSelect},\n ${StyledTableCellInput},\n ${StyledTableCellDateInput},\n ${StyledTableCellTextArea} {\n color: ${colors.red50};\n }\n `}\n\n &:focus-within {\n ${StyledTableInlineEditContainer} {\n background-color: ${tableCellInputRowHoverBgColor};\n\n &.disabled {\n background-color: transparent;\n }\n }\n ${StyledTableInlineEditContainer}.error {\n background-color: ${tableCellInputErrorBgColor};\n }\n }\n\n &:hover {\n ${StyledTableInlineEditContainer} {\n background-color: ${tableCellInputRowHoverBgColor};\n cursor: pointer;\n\n &:hover {\n background-color: ${tableCellInputHoverBgColor};\n }\n\n &.disabled {\n &,\n &:hover {\n background-color: transparent;\n cursor: default;\n }\n }\n }\n\n ${StyledTableInlineEditContainer}.error {\n background-color: ${tableCellInputErrorBgColor};\n\n &:hover {\n background-color: ${tableCellInputErrorBgColor};\n }\n\n ${StyledTableCellInput},\n ${StyledTableCellSelect},\n ${StyledTableCellTextArea} {\n border: ${tableCellInputErrorBorder};\n border-bottom: none;\n\n &:hover {\n border-bottom: none;\n }\n\n &:focus {\n border: ${tableCellInputFocusBorder};\n border-bottom: none;\n }\n }\n }\n }\n`\n\nexport const StyledTableGroupRowContent = styled.div``\n\nexport const StyledTableGroupRowHeader = styled.div``\n\nexport const StyledTableGroupRowTitle = styled.span``\n\nexport const StyledTableGroupRow = styled.tr<{ $depth?: number | boolean }>`\n background-color: ${tableGroupRowBgColor};\n ${tableRowBorderBottom}\n\n ${StyledTableGroupRowContent} {\n margin-left: ${spacing.lg}px;\n padding: ${spacing.lg}px 0;\n display: flex;\n flex-direction: row;\n }\n\n ${StyledTableGroupRowHeader} {\n display: flex;\n align-items: center;\n }\n\n ${StyledTableGroupRowTitle} {\n font-weight: ${tableHeaderFontWeight};\n padding-left: ${spacing.lg}px;\n }\n\n ${({ $depth }) => {\n if (typeof $depth !== 'number') {\n return ''\n }\n\n return css`\n > td {\n padding-left: ${$depth * tableGroupHeaderRowIndentation}px !important;\n }\n\n ~ ${StyledTableBodyRow} {\n > td:first-child {\n padding-left: ${($depth + 1) * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px !important;\n }\n }\n `\n }}\n`\n\nexport const StyledTableWrapper = styled(Card)<{ $withShelf: boolean }>`\n border-radius: ${tableBorderRadius}px;\n border: ${tableBorder};\n\n ${StyledHead}, tbody {\n &:first-child {\n tr:first-child {\n ${StyledTableHeaderCell}, td {\n &:first-child {\n border-top-left-radius: ${tableBorderRadius}px;\n }\n\n &:last-child {\n border-top-right-radius: ${tableBorderRadius}px;\n }\n }\n }\n }\n\n &:last-child {\n tr:last-child {\n ${StyledTableHeaderCell}, td {\n &:first-child {\n border-bottom-left-radius: ${tableBorderRadius}px;\n }\n &:last-child {\n border-bottom-right-radius: ${tableBorderRadius}px;\n }\n }\n }\n }\n }\n\n ${({ $withShelf }) =>\n $withShelf &&\n css`\n position: relative;\n height: 100%;\n `}\n`\n\nconst BodyRow = StyledTableBodyRow\n\nconst GroupRow = StyledTableGroupRow\n\nexport const StyledTable = styled.table<{ $inline?: boolean; $fixed: boolean }>`\n background-color: ${tableBgColor};\n border-collapse: collapse;\n border-radius: ${tableBorderRadius}px;\n ${getTypographyIntent('body')}\n width: 100%;\n\n td:first-child ${StyledCheckbox} {\n padding-left: ${spacing.lg}px;\n }\n\n ${StyledTableGroupRow} ${StyledCaratWrapper} + ${StyledCheckbox} {\n margin-left: ${spacing.xs}px;\n padding-left: 0;\n }\n\n ${({ $fixed }) =>\n $fixed &&\n css`\n table-layout: fixed;\n `}\n\n ${({ $inline }) =>\n $inline &&\n css`\n border-top: 1px solid ${colors.gray85};\n border-bottom: 1px solid ${colors.gray85};\n `}\n\n ${GroupRow} + ${GroupRow} > td {\n padding-left: ${tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${2 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${3 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${4 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} ~ ${BodyRow} {\n ${StyledCheckbox} {\n padding-left: 0;\n margin: 0 ${spacing.xs}px;\n }\n\n & > td:first-child {\n padding-left: ${tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${2 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${3 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${4 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${5 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n`\n\nexport const StyledLoadingContainer = styled.div`\n cursor: default;\n align-items: center;\n background: ${colors.gray96};\n display: flex;\n height: 100%;\n justify-content: center;\n opacity: 0.9;\n position: absolute;\n width: 100%;\n z-index: 2;\n`\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,OAAO,EAAEC,YAAY,QAAQ,qBAAqB;AACtE,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,IAAI,QAAQ,SAAS;AAC9B,SAASC,QAAQ,QAAQ,aAAa;AACtC,SACEC,wBAAwB,EACxBC,4BAA4B,EAC5BC,sBAAsB,QACjB,+BAA+B;AACtC,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,KAAK,QAAQ,UAAU;AAChC,SAASC,MAAM,QAAQ,WAAW;AAClC,SACEC,iBAAiB,EACjBC,uBAAuB,EACvBC,qBAAqB,QAChB,yBAAyB;AAChC,SAASC,QAAQ,QAAQ,aAAa;AACtC,SACEC,mBA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3D,CAAC,GAAGvH,8BAA8B,GAClDF,4BAA4B,CAGjC;AAED,OAAO,IAAMiI,sBAAsB,gBAAG/J,MAAM,CAACwE,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8JAGhC3D,MAAM,CAACmB,MAAM,CAQ5B"}
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { DateSelectProps } from '../DateSelect';
3
- import { InputProps } from '../Input';
4
- import { SelectProps } from '../Select';
5
- import { Props, Size } from '../_utils/types';
1
+ import type React from 'react';
2
+ import type { DateSelectProps } from '../DateSelect';
3
+ import type { InputProps } from '../Input';
4
+ import type { SelectProps } from '../Select';
5
+ import type { Props, Size } from '../_utils/types';
6
6
  export declare type InputCellSize = Extract<Size, 'block' | 'lg' | 'md' | 'sm' | 'xl' | 'xs'>;
7
7
  declare type TableVariant = '' | 'fixed';
8
8
  export declare type TableColumnSortOrder = 'asc' | 'desc' | '';
@@ -1 +1 @@
1
- {"version":3,"file":"Table.types.js","names":[],"sources":["../../src/Table/Table.types.ts"],"sourcesContent":["import React from 'react'\nimport { DateSelectProps } from '../DateSelect'\nimport { InputProps } from '../Input'\nimport { SelectProps } from '../Select'\nimport { Props, Size } from '../_utils/types'\n\nexport type InputCellSize = Extract<\n Size,\n 'block' | 'lg' | 'md' | 'sm' | 'xl' | 'xs'\n>\n\ntype TableVariant = '' | 'fixed'\n\nexport type TableColumnSortOrder = 'asc' | 'desc' | ''\n\nexport type TableCellVariant = '' | 'asc' | 'desc' | 'snugfit'\n\nexport interface BodyCellProps extends Props {\n /**\n * Shrink the cell around the contents\n * @since 10.19.0\n */\n snugfit?: boolean\n\n /**\n * The table body cell variant\n * @since 10.19.0\n * @deprecated Please use `sortOrder` prop instead of `esc/desc` variants, and `snugfit` prop instead of `snugfit` variant\n * @deprecatedSince 11.15.1\n */\n variant?: TableCellVariant\n}\n\nexport interface BodyProps extends Props {}\n\nexport interface BodyRowProps extends Props {\n /**\n * Sets row text color to red to signify overdue items\n * @since 10.19.0\n */\n overdue?: boolean\n}\n\nexport interface CaratProps {\n /**\n * Whether or not the carat is rotated\n * @since 10.19.0\n */\n expanded?: boolean\n\n /**\n * Callback to fire when clicked\n * @since 10.19.0\n */\n onClick?: React.EventHandler<any>\n}\n\nexport interface ContainerProps {\n /**\n * @since 10.19.0\n */\n children?: React.ReactNode\n\n /**\n * Adjust the container to support a table shelf\n * @default false\n * @since 10.19.0\n * */\n shelf?: boolean\n}\n\nexport interface CurrencyCellProps extends Props {}\n\nexport interface GroupProps extends Props {\n /**\n * Number of columns in table\n * @since 10.19.0\n */\n colSpan?: number\n\n /**\n * Determines indentation of the group and content\n * @since 10.19.0\n */\n depth?: number\n}\n\nexport interface GroupTitleProps extends Props {}\n\nexport interface HeaderCellProps extends BodyCellProps {\n /**\n * Is this the column sortable\n * @since 10.19.0\n * @deprecated Please use `sortOrder` prop instead\n * @deprecatedSince 11.15.1\n */\n sortable?: boolean\n\n /**\n * Column sorting order\n * @since 11.15.1\n */\n sortOrder?: TableColumnSortOrder\n\n /**\n * Column sorting order change callback.\n * Loops over from \"asc\" to \"desc\" to \"\", set should be assigned to `sortOrder` prop.\n * @since 11.15.1\n */\n onSortOrderChange?: (nextSortOrder: TableColumnSortOrder) => void\n}\n\nexport interface HeaderProps extends Props {}\n\nexport interface HeaderRowProps extends Props {}\n\nexport interface IconCellProps extends Props {}\n\nexport interface InputCellProps extends Omit<InputProps, 'size'> {\n /**\n * Message to be displayed below the input during an error\n * @since 10.19.0\n */\n errorMessage?: string\n\n /**\n * Triggers the spinner for processing inline editable content\n * @default false\n * @since 10.19.0\n */\n processing?: boolean\n\n /**\n * The size of the input cell and corresponding error message\n * @default 'block'\n * @since 10.19.0\n */\n size?: InputCellSize\n}\n\nexport interface LinkCellProps extends Props {\n /**\n * Destination url\n * @default ''\n * @since 10.19.0\n * */\n href: string\n}\n\nexport interface PercentCellProps extends Props {}\n\nexport interface SelectCellProps extends SelectProps {\n /**\n * Message to be displayed below the select during an error\n * @default ''\n * @since 10.19.0\n */\n errorMessage?: string\n\n /**\n * Triggers the spinner that covers inline editable content\n * @default false\n * @since 10.19.0\n */\n processing?: boolean\n}\n\nexport interface DateSelectCellProps extends DateSelectProps {\n /**\n * @since 10.19.0\n */\n className?: string\n\n /**\n * Message to be displayed below the date select during an error\n * @default ''\n * @since 10.19.0\n */\n errorMessage?: string\n\n /**\n * Triggers the spinner that covers inline editable content\n * @default false\n * @since 10.19.0\n */\n processing?: boolean\n}\n\nexport interface TableProps extends Props {\n /**\n * @since 10.19.0\n */\n inline?: boolean\n\n /**\n * The table variant\n * @since 10.19.0\n */\n variant?: TableVariant\n}\n\nexport interface TextAreaCellProps extends Props {\n /**\n * Message to be displayed below the textarea during an error\n * @since 10.19.0\n */\n errorMessage?: string\n\n /**\n * Triggers the spinner for processing inline editable content\n * @since 10.19.0\n */\n processing?: boolean\n\n /**\n * Sets whether it is resizable\n * @since 10.19.0\n */\n resizable?: boolean\n}\n\nexport interface TableTextCellProps extends Props {}\n"],"mappings":""}
1
+ {"version":3,"file":"Table.types.js","names":[],"sources":["../../src/Table/Table.types.ts"],"sourcesContent":["import type React from 'react'\nimport type { DateSelectProps } from '../DateSelect'\nimport type { InputProps } from '../Input'\nimport type { SelectProps } from '../Select'\nimport type { Props, Size } from '../_utils/types'\n\nexport type InputCellSize = Extract<\n Size,\n 'block' | 'lg' | 'md' | 'sm' | 'xl' | 'xs'\n>\n\ntype TableVariant = '' | 'fixed'\n\nexport type TableColumnSortOrder = 'asc' | 'desc' | ''\n\nexport type TableCellVariant = '' | 'asc' | 'desc' | 'snugfit'\n\nexport interface BodyCellProps extends Props {\n /**\n * Shrink the cell around the contents\n * @since 10.19.0\n */\n snugfit?: boolean\n\n /**\n * The table body cell variant\n * @since 10.19.0\n * @deprecated Please use `sortOrder` prop instead of `esc/desc` variants, and `snugfit` prop instead of `snugfit` variant\n * @deprecatedSince 11.15.1\n */\n variant?: TableCellVariant\n}\n\nexport interface BodyProps extends Props {}\n\nexport interface BodyRowProps extends Props {\n /**\n * Sets row text color to red to signify overdue items\n * @since 10.19.0\n */\n overdue?: boolean\n}\n\nexport interface CaratProps {\n /**\n * Whether or not the carat is rotated\n * @since 10.19.0\n */\n expanded?: boolean\n\n /**\n * Callback to fire when clicked\n * @since 10.19.0\n */\n onClick?: React.EventHandler<any>\n}\n\nexport interface ContainerProps {\n /**\n * @since 10.19.0\n */\n children?: React.ReactNode\n\n /**\n * Adjust the container to support a table shelf\n * @default false\n * @since 10.19.0\n * */\n shelf?: boolean\n}\n\nexport interface CurrencyCellProps extends Props {}\n\nexport interface GroupProps extends Props {\n /**\n * Number of columns in table\n * @since 10.19.0\n */\n colSpan?: number\n\n /**\n * Determines indentation of the group and content\n * @since 10.19.0\n */\n depth?: number\n}\n\nexport interface GroupTitleProps extends Props {}\n\nexport interface HeaderCellProps extends BodyCellProps {\n /**\n * Is this the column sortable\n * @since 10.19.0\n * @deprecated Please use `sortOrder` prop instead\n * @deprecatedSince 11.15.1\n */\n sortable?: boolean\n\n /**\n * Column sorting order\n * @since 11.15.1\n */\n sortOrder?: TableColumnSortOrder\n\n /**\n * Column sorting order change callback.\n * Loops over from \"asc\" to \"desc\" to \"\", set should be assigned to `sortOrder` prop.\n * @since 11.15.1\n */\n onSortOrderChange?: (nextSortOrder: TableColumnSortOrder) => void\n}\n\nexport interface HeaderProps extends Props {}\n\nexport interface HeaderRowProps extends Props {}\n\nexport interface IconCellProps extends Props {}\n\nexport interface InputCellProps extends Omit<InputProps, 'size'> {\n /**\n * Message to be displayed below the input during an error\n * @since 10.19.0\n */\n errorMessage?: string\n\n /**\n * Triggers the spinner for processing inline editable content\n * @default false\n * @since 10.19.0\n */\n processing?: boolean\n\n /**\n * The size of the input cell and corresponding error message\n * @default 'block'\n * @since 10.19.0\n */\n size?: InputCellSize\n}\n\nexport interface LinkCellProps extends Props {\n /**\n * Destination url\n * @default ''\n * @since 10.19.0\n * */\n href: string\n}\n\nexport interface PercentCellProps extends Props {}\n\nexport interface SelectCellProps extends SelectProps {\n /**\n * Message to be displayed below the select during an error\n * @default ''\n * @since 10.19.0\n */\n errorMessage?: string\n\n /**\n * Triggers the spinner that covers inline editable content\n * @default false\n * @since 10.19.0\n */\n processing?: boolean\n}\n\nexport interface DateSelectCellProps extends DateSelectProps {\n /**\n * @since 10.19.0\n */\n className?: string\n\n /**\n * Message to be displayed below the date select during an error\n * @default ''\n * @since 10.19.0\n */\n errorMessage?: string\n\n /**\n * Triggers the spinner that covers inline editable content\n * @default false\n * @since 10.19.0\n */\n processing?: boolean\n}\n\nexport interface TableProps extends Props {\n /**\n * @since 10.19.0\n */\n inline?: boolean\n\n /**\n * The table variant\n * @since 10.19.0\n */\n variant?: TableVariant\n}\n\nexport interface TextAreaCellProps extends Props {\n /**\n * Message to be displayed below the textarea during an error\n * @since 10.19.0\n */\n errorMessage?: string\n\n /**\n * Triggers the spinner for processing inline editable content\n * @since 10.19.0\n */\n processing?: boolean\n\n /**\n * Sets whether it is resizable\n * @since 10.19.0\n */\n resizable?: boolean\n}\n\nexport interface TableTextCellProps extends Props {}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { DivAttributes, Props } from '../_utils/types';
2
+ import type { DivAttributes, Props } from '../_utils/types';
3
3
  export declare const Shelf: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
4
4
  export declare const Head: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
5
5
  export declare const HeadCell: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"TableShelf.js","names":["React","addSubcomponents","StyledBodyCell","StyledBodyRow","StyledHead","StyledHeadCell","StyledShelf","Shelf","forwardRef","_ref","ref","children","props","_objectWithoutProperties","_excluded","createElement","_extends","Head","_ref2","_excluded2","HeadCell","_ref3","_excluded3","Body","_ref4","_excluded4","BodyCell","_ref5","_excluded5","BodyRow","_ref6","_excluded6","displayName","TableShelf"],"sources":["../../src/TableShelf/TableShelf.tsx"],"sourcesContent":["import React from 'react'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport { DivAttributes, Props } from '../_utils/types'\nimport {\n StyledBodyCell,\n StyledBodyRow,\n StyledHead,\n StyledHeadCell,\n StyledShelf,\n} from './TableShelf.styles'\n\nexport const Shelf = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Shelf({ children, ...props }, ref) {\n return (\n <StyledShelf ref={ref} {...props}>\n {children}\n </StyledShelf>\n )\n }\n)\n\nexport const Head = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Head({ children, ...props }, ref) {\n return (\n <StyledHead ref={ref}>\n <StyledBodyRow {...props}>{children}</StyledBodyRow>\n </StyledHead>\n )\n }\n)\n\nexport const HeadCell = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function HeadCell({ children, ...props }, ref) {\n return (\n <StyledHeadCell ref={ref} {...props}>\n {children}\n </StyledHeadCell>\n )\n }\n)\n\nexport const Body = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Body({ children, ...props }, ref) {\n return (\n <div ref={ref} {...props}>\n {children}\n </div>\n )\n }\n)\n\nexport const BodyCell = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function BodyCell({ children, ...props }, ref) {\n return (\n <StyledBodyCell ref={ref} {...props}>\n {children}\n </StyledBodyCell>\n )\n }\n)\n\nexport const BodyRow = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function BodyRow({ children, ...props }, ref) {\n return (\n <StyledBodyRow ref={ref} {...props}>\n {children}\n </StyledBodyRow>\n )\n }\n)\n\nShelf.displayName = 'Shelf'\n\nBody.displayName = 'Shelf.Body'\n\nBodyCell.displayName = 'Shelf.BodyCell'\n\nBodyRow.displayName = 'Shelf.BodyRow'\n\nHead.displayName = 'Shelf.Head'\n\nHeadCell.displayName = 'Shelf.HeadCell'\n\nexport const TableShelf = addSubcomponents(\n {\n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,eAAe;AAErCf,IAAI,CAACe,WAAW,GAAG,YAAY;AAE/BZ,QAAQ,CAACY,WAAW,GAAG,gBAAgB;AAEvC,OAAO,IAAMC,UAAU,GAAGhC,gBAAgB,CACxC;EACEsB,IAAI,EAAJA,IAAI;EACJG,QAAQ,EAARA,QAAQ;EACRG,OAAO,EAAPA,OAAO;EACPZ,IAAI,EAAJA,IAAI;EACJG,QAAQ,EAARA;AACF,CAAC,EACDb,KACF,CAAC"}
1
+ {"version":3,"file":"TableShelf.js","names":["React","addSubcomponents","StyledBodyCell","StyledBodyRow","StyledHead","StyledHeadCell","StyledShelf","Shelf","forwardRef","_ref","ref","children","props","_objectWithoutProperties","_excluded","createElement","_extends","Head","_ref2","_excluded2","HeadCell","_ref3","_excluded3","Body","_ref4","_excluded4","BodyCell","_ref5","_excluded5","BodyRow","_ref6","_excluded6","displayName","TableShelf"],"sources":["../../src/TableShelf/TableShelf.tsx"],"sourcesContent":["import React from 'react'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport type { DivAttributes, Props } from '../_utils/types'\nimport {\n StyledBodyCell,\n StyledBodyRow,\n StyledHead,\n StyledHeadCell,\n StyledShelf,\n} from './TableShelf.styles'\n\nexport const Shelf = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Shelf({ children, ...props }, ref) {\n return (\n <StyledShelf ref={ref} {...props}>\n {children}\n </StyledShelf>\n )\n }\n)\n\nexport const Head = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Head({ children, ...props }, ref) {\n return (\n <StyledHead ref={ref}>\n <StyledBodyRow {...props}>{children}</StyledBodyRow>\n </StyledHead>\n )\n }\n)\n\nexport const HeadCell = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function HeadCell({ children, ...props }, ref) {\n return (\n <StyledHeadCell ref={ref} {...props}>\n {children}\n </StyledHeadCell>\n )\n }\n)\n\nexport const Body = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Body({ children, ...props }, ref) {\n return (\n <div ref={ref} {...props}>\n {children}\n </div>\n )\n }\n)\n\nexport const BodyCell = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function BodyCell({ children, ...props }, ref) {\n return (\n <StyledBodyCell ref={ref} {...props}>\n {children}\n </StyledBodyCell>\n )\n }\n)\n\nexport const BodyRow = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function BodyRow({ children, ...props }, ref) {\n return (\n <StyledBodyRow ref={ref} {...props}>\n {children}\n </StyledBodyRow>\n )\n }\n)\n\nShelf.displayName = 'Shelf'\n\nBody.displayName = 'Shelf.Body'\n\nBodyCell.displayName = 'Shelf.BodyCell'\n\nBodyRow.displayName = 'Shelf.BodyRow'\n\nHead.displayName = 'Shelf.Head'\n\nHeadCell.displayName = 'Shelf.HeadCell'\n\nexport const TableShelf = addSubcomponents(\n {\n Body,\n BodyCell,\n BodyRow,\n Head,\n HeadCell,\n },\n Shelf\n)\n"],"mappings":";;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,QAAQ,4BAA4B;AAE7D,SACEC,cAAc,EACdC,aAAa,EACbC,UAAU,EACVC,cAAc,EACdC,WAAW,QACN,qBAAqB;AAE5B,OAAO,IAAMC,KAAK,gBAAGP,KAAK,CAACQ,UAAU,CACnC,SAASD,KAAKA,CAAAE,IAAA,EAAyBC,GAAG,EAAE;EAAA,IAA3BC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EACjC,oBACEd,KAAA,CAAAe,aAAA,CAACT,WAAW,EAAAU,QAAA;IAACN,GAAG,EAAEA;EAAI,GAAKE,KAAK,GAC7BD,QACU,CAAC;AAElB,CACF,CAAC;AAED,OAAO,IAAMM,IAAI,gBAAGjB,KAAK,CAACQ,UAAU,CAClC,SAASS,IAAIA,CAAAC,KAAA,EAAyBR,GAAG,EAAE;EAAA,IAA3BC,QAAQ,GAAAO,KAAA,CAARP,QAAQ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,CACF,CAAC;AAED,OAAO,IAAMkB,OAAO,gBAAG7B,KAAK,CAACQ,UAAU,CACrC,SAASqB,OAAOA,CAAAC,KAAA,EAAyBpB,GAAG,EAAE;EAAA,IAA3BC,QAAQ,GAAAmB,KAAA,CAARnB,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAiB,KAAA,EAAAC,UAAA;EACnC,oBACE/B,KAAA,CAAAe,aAAA,CAACZ,aAAa,EAAAa,QAAA;IAACN,GAAG,EAAEA;EAAI,GAAKE,KAAK,GAC/BD,QACY,CAAC;AAEpB,CACF,CAAC;AAEDJ,KAAK,CAACyB,WAAW,GAAG,OAAO;AAE3BT,IAAI,CAACS,WAAW,GAAG,YAAY;AAE/BN,QAAQ,CAACM,WAAW,GAAG,gBAAgB;AAEvCH,OAAO,CAACG,WAAW,GAAG,eAAe;AAErCf,IAAI,CAACe,WAAW,GAAG,YAAY;AAE/BZ,QAAQ,CAACY,WAAW,GAAG,gBAAgB;AAEvC,OAAO,IAAMC,UAAU,GAAGhC,gBAAgB,CACxC;EACEsB,IAAI,EAAJA,IAAI;EACJG,QAAQ,EAARA,QAAQ;EACRG,OAAO,EAAPA,OAAO;EACPZ,IAAI,EAAJA,IAAI;EACJG,QAAQ,EAARA;AACF,CAAC,EACDb,KACF,CAAC"}
@@ -4,22 +4,22 @@ import { spacing } from '../_styles/spacing';
4
4
  var tableShelfShadow = '-4px 0px 5px 0px rgba(112, 112, 112, 0.1)';
5
5
  export var StyledShelf = /*#__PURE__*/styled.div.withConfig({
6
6
  displayName: "StyledShelf",
7
- componentId: "core-11_24_1__sc-a6498a-0"
7
+ componentId: "core-11_24_2__sc-a6498a-0"
8
8
  })(["position:absolute;right:0;top:0;bottom:0;box-shadow:", ";background-color:", ";"], tableShelfShadow, colors.white);
9
9
  export var StyledHead = /*#__PURE__*/styled.div.withConfig({
10
10
  displayName: "StyledHead",
11
- componentId: "core-11_24_1__sc-a6498a-1"
11
+ componentId: "core-11_24_2__sc-a6498a-1"
12
12
  })(["background-color:", ";transition:background-color 0.2s ease-in-out;"], colors.gray96);
13
13
  export var StyledBodyRow = /*#__PURE__*/styled.div.withConfig({
14
14
  displayName: "StyledBodyRow",
15
- componentId: "core-11_24_1__sc-a6498a-2"
15
+ componentId: "core-11_24_2__sc-a6498a-2"
16
16
  })(["border-top:1px solid ", ";transition:background-color 0.2s ease-in-out;"], colors.gray85);
17
17
  export var StyledHeadCell = /*#__PURE__*/styled.div.withConfig({
18
18
  displayName: "StyledHeadCell",
19
- componentId: "core-11_24_1__sc-a6498a-3"
19
+ componentId: "core-11_24_2__sc-a6498a-3"
20
20
  })(["text-align:left;padding:", "px;line-height:13px;"], spacing.lg);
21
21
  export var StyledBodyCell = /*#__PURE__*/styled.div.withConfig({
22
22
  displayName: "StyledBodyCell",
23
- componentId: "core-11_24_1__sc-a6498a-4"
23
+ componentId: "core-11_24_2__sc-a6498a-4"
24
24
  })(["padding:", "px;line-height:13px;"], spacing.lg);
25
25
  //# sourceMappingURL=TableShelf.styles.js.map
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { DivAttributes, Props, SpanAttributes } from '../_utils/types';
3
- import { BaseTabProps, TabDropdownProps, TabProps, TabRef, TabRole, TabRoleType, TabsProps } from './Tabs.types';
2
+ import type { DivAttributes, Props, SpanAttributes } from '../_utils/types';
3
+ import type { BaseTabProps, TabDropdownProps, TabProps, TabRef, TabRole, TabRoleType, TabsProps } from './Tabs.types';
4
4
  export declare const Link: React.ForwardRefExoticComponent<SpanAttributes & Props & React.RefAttributes<HTMLSpanElement>>;
5
5
  /**
6
6
 
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","names":["CaretDown","CaretUp","React","useButton","MenuImperative","OverlayTrigger","useOverlayTriggerContext","useI18nContext","useResize","addSubcomponents","getBoundingRect","mergeRefs","StyledDropdownTab","StyledDropdownTabInner","StyledLink","StyledOverlay","StyledTab","StyledTabInner","StyledTabList","StyledTabs","noop","Link","forwardRef","_ref","ref","children","props","_objectWithoutProperties","_excluded","createElement","_extends","TabInternal","_ref2","as","disabled","role","_ref2$active","active","onBlur","onFocus","_ref2$onMount","onMount","_ref2$onUnmount","onUnmount","_ref2$overflowing","overflowing","_ref2$dropdown","dropdown","_ref2$variant","variant","_excluded2","_ref3","onPress","_useButton","_objectSpread","elementType","isDisabled","type","buttonProps","a11yProps","$clickable","innerRef","useRef","useEffect","current","validChild","isValidElement","dark","cloneElement","undefined","Tab","MoreMenu","_ref4","id","ctx","menuRef","_menuRef$current","_menuRef$current$el","_menuRef$current2","_menuRef$current3","el","focus","highlightFirst","highlightSelected","onSelect","selection","hide","event","Options","Children","map","child","i","Item","item","key","selected","Tabs_","Tabs","_ref5","className","_ref5$dark","qa","_excluded3","i18n","_React$useState","useState","_React$useState2","_slicedToArray","moreMenuIsShown","setMoreMenuIsShown","_React$useState3","_React$useState4","tabElements","setTabElements","_React$useState5","_React$useState6","cutoffIndex","setCutoffIndex","containerRef","recalculate","container","_tabElements$reduce","reduce","acc","rect","subtotals","concat","_toConsumableArray","total","width","Array","index","findIndex","val","onResize","filtered","toArray","filter","slice","isOverflowingActive","some","elements","oldElements","autoFocus","beforeShow","afterHide","trigger","passA11yPropsToOverlay","placement","overlay","length","more","t","size","displayName"],"sources":["../../src/Tabs/Tabs.tsx"],"sourcesContent":["import { CaretDown, CaretUp } from '@procore/core-icons/dist'\nimport React from 'react'\n\nimport { useButton } from '@react-aria/button'\nimport { MenuImperative } from '../MenuImperative/MenuImperative'\nimport { MenuRef, Selection } from '../MenuImperative/MenuImperative.types'\nimport {\n OverlayTrigger,\n useOverlayTriggerContext,\n} from '../OverlayTrigger/OverlayTrigger'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { useResize } from '../_hooks/Resize'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport { getBoundingRect } from '../_utils/dom'\nimport { mergeRefs } from '../_utils/mergeRefs'\nimport {\n DivAttributes,\n NavAttributes,\n Props,\n SpanAttributes,\n} from '../_utils/types'\nimport {\n StyledDropdownTab,\n StyledDropdownTabInner,\n StyledLink,\n StyledOverlay,\n StyledTab,\n StyledTabInner,\n StyledTabList,\n StyledTabs,\n} from './Tabs.styles'\nimport {\n BaseTabProps,\n TabDropdownProps,\n TabProps,\n TabRef,\n TabRole,\n TabRoleType,\n TabsProps,\n} from './Tabs.types'\n\nfunction noop() {}\n\nexport const Link = React.forwardRef<HTMLSpanElement, SpanAttributes & Props>(\n function Link({ children, ...props }, ref) {\n return (\n <StyledLink ref={ref} {...props}>\n {children}\n </StyledLink>\n )\n }\n)\n\n/**\n\n We use tabs to navigate between different, but related content.\n Tabs are commonly used on tool landing pages and on item detail pages.\n\n @since 10.19.0\n\n @see [Storybook](https://procore.github.io/core/core-react/latest/?path=/story/demos-tabs--demo)\n\n @see [Design Guidelines](https://design.procore.com/tabs)\n\n */\n\nfunction TabInternal(\n {\n as,\n disabled,\n role,\n active = false,\n children,\n onBlur,\n onFocus,\n onMount = noop,\n onUnmount = noop,\n overflowing = false,\n dropdown = false,\n variant = '',\n ...props\n }: TabProps<TabRoleType>,\n ref: TabRef<TabRoleType>\n) {\n const { onPress } = props as TabProps<'button'>\n\n const { buttonProps } = useButton(\n {\n ...props,\n onBlur: onBlur as (e: React.FocusEvent) => void,\n onFocus: onFocus as (e: React.FocusEvent) => void,\n elementType: role === 'link' ? 'a' : role === 'button' ? 'button' : 'div',\n isDisabled: disabled,\n onPress,\n type: 'button',\n },\n ref as any // TODO fix polymorphic type\n )\n\n const a11yProps =\n role === 'button'\n ? {\n ...buttonProps,\n 'aria-current': active,\n as: as || 'button',\n $clickable: !disabled,\n }\n : role === 'link'\n ? {\n ...buttonProps,\n 'aria-current': active,\n as: as || 'a',\n $clickable: !disabled,\n }\n : role === 'tab'\n ? { role: 'tab', onBlur, onFocus }\n : { onBlur, onFocus }\n\n const innerRef = React.useRef<HTMLDivElement>(null)\n\n React.useEffect(() => {\n onMount(innerRef.current)\n return onUnmount\n }, [])\n\n const validChild = React.isValidElement(children)\n\n return (\n // @ts-ignore\n <StyledTab ref={mergeRefs(ref, innerRef)} {...a11yProps} {...props}>\n <StyledTabInner active={active || variant === 'active'} dark={props.dark}>\n {validChild\n ? React.cloneElement(children as React.ReactElement<any, any>, {\n 'aria-current': active || variant === 'active' ? true : undefined,\n })\n : children}\n </StyledTabInner>\n </StyledTab>\n )\n}\n\nexport const Tab = React.forwardRef(TabInternal) as <Role extends TabRole>(\n props:\n | TabProps<Role>\n | (BaseTabProps & { ref?: React.ComponentPropsWithRef<'div'>['ref'] })\n) => ReturnType<typeof TabInternal>\n\nexport const MoreMenu = React.forwardRef<\n HTMLDivElement,\n DivAttributes & TabDropdownProps\n>(function MoreMenu({ children, id }, ref) {\n const ctx = useOverlayTriggerContext()\n\n const menuRef = React.useRef<MenuRef | null>(null)\n\n React.useEffect(function () {\n menuRef.current?.el?.focus()\n menuRef.current?.highlightFirst()\n menuRef.current?.highlightSelected()\n }, [])\n\n function onSelect(selection: Selection) {\n ctx.hide(selection.event)\n }\n\n return (\n <StyledOverlay ref={ref}>\n <MenuImperative id={id} role=\"menu\" ref={menuRef} onSelect={onSelect}>\n <MenuImperative.Options>\n {React.Children.map(children, (child, i) => {\n if (React.isValidElement<BaseTabProps>(child)) {\n return (\n <MenuImperative.Item\n item={null}\n key={i}\n selected={child.props.active}\n >\n {React.cloneElement(child as any, { ref: null })}\n </MenuImperative.Item>\n )\n }\n })}\n </MenuImperative.Options>\n </MenuImperative>\n </StyledOverlay>\n )\n})\n\nconst Tabs_ = React.forwardRef<HTMLDivElement, NavAttributes & TabsProps>(\n function Tabs({ children, className, dark = false, qa, ...props }, ref) {\n const i18n = useI18nContext()\n\n const [moreMenuIsShown, setMoreMenuIsShown] = React.useState(false)\n const [tabElements, setTabElements] = React.useState<\n (HTMLDivElement | null)[]\n >([])\n const [cutoffIndex, setCutoffIndex] = React.useState(0)\n\n const containerRef = React.useRef<HTMLDivElement>(null)\n\n function recalculate() {\n const container = getBoundingRect(containerRef.current!)\n\n const { subtotals } = tabElements.reduce(\n (acc, el) => {\n if (!el) {\n return acc\n }\n const rect = getBoundingRect(el)\n return {\n subtotals: [...acc.subtotals, acc.total + rect.width],\n total: acc.total + rect.width,\n }\n },\n { subtotals: new Array(), total: 0 }\n )\n\n const index = subtotals.findIndex((val: number) => val >= container.width)\n\n setCutoffIndex(index)\n }\n\n useResize({ onResize: recalculate })\n\n React.useEffect(recalculate)\n\n const filtered = React.Children.toArray(children).filter((child) => child)\n\n const overflowing = filtered.slice(cutoffIndex - 1)\n\n const isOverflowingActive = React.Children.toArray(overflowing).some(\n (child) => React.isValidElement(child) && child.props.active\n )\n\n return (\n <StyledTabs ref={ref} dark={dark} index={cutoffIndex} {...props}>\n <StyledTabList ref={containerRef}>\n {filtered.map((child, i) => {\n if (React.isValidElement(child))\n return React.cloneElement(child, {\n dark,\n onMount: (el: HTMLDivElement) => {\n setTabElements((elements) => {\n const oldElements = [...elements]\n oldElements[i] = el\n return oldElements\n })\n },\n onUnmount: () => {\n setTabElements((elements) => {\n const oldElements = [...elements]\n oldElements[i] = null\n return oldElements\n })\n },\n } as any) // TODO fix type\n })}\n\n <OverlayTrigger\n autoFocus\n beforeShow={() => setMoreMenuIsShown(true)}\n afterHide={() => setMoreMenuIsShown(false)}\n trigger=\"click\"\n passA11yPropsToOverlay\n placement=\"bottom-right\"\n overlay={<MoreMenu>{overflowing}</MoreMenu>}\n ref={ref}\n role=\"menu\"\n >\n <StyledDropdownTab aria-hidden={!overflowing.length} as=\"button\">\n <StyledDropdownTabInner active={isOverflowingActive} dark={dark}>\n <StyledLink data-qa={qa?.more}>\n {i18n.t('core.tabs.more')}\n </StyledLink>\n {moreMenuIsShown ? (\n <CaretUp size=\"sm\" />\n ) : (\n <CaretDown size=\"sm\" />\n )}\n </StyledDropdownTabInner>\n </StyledDropdownTab>\n </OverlayTrigger>\n </StyledTabList>\n </StyledTabs>\n )\n }\n)\n\nTabs_.displayName = 'Tabs'\n\nLink.displayName = 'Tabs.Link'\n\n// @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zD,KAAK,CAAC0D,WAAW,GAAG,MAAM;AAE1BtI,IAAI,CAACsI,WAAW,GAAG,WAAW;;AAE9B;AACArF,GAAG,CAACqF,WAAW,GAAG,UAAU;AAE5B,OAAO,IAAMzD,IAAI,GAAGzF,gBAAgB,CAClC;EACEY,IAAI,EAAJA,IAAI;EACJiD,GAAG,EAAHA;AACF,CAAC,EACD2B,KACF,CAAC"}
1
+ {"version":3,"file":"Tabs.js","names":["CaretDown","CaretUp","React","useButton","MenuImperative","OverlayTrigger","useOverlayTriggerContext","useI18nContext","useResize","addSubcomponents","getBoundingRect","mergeRefs","StyledDropdownTab","StyledDropdownTabInner","StyledLink","StyledOverlay","StyledTab","StyledTabInner","StyledTabList","StyledTabs","noop","Link","forwardRef","_ref","ref","children","props","_objectWithoutProperties","_excluded","createElement","_extends","TabInternal","_ref2","as","disabled","role","_ref2$active","active","onBlur","onFocus","_ref2$onMount","onMount","_ref2$onUnmount","onUnmount","_ref2$overflowing","overflowing","_ref2$dropdown","dropdown","_ref2$variant","variant","_excluded2","_ref3","onPress","_useButton","_objectSpread","elementType","isDisabled","type","buttonProps","a11yProps","$clickable","innerRef","useRef","useEffect","current","validChild","isValidElement","dark","cloneElement","undefined","Tab","MoreMenu","_ref4","id","ctx","menuRef","_menuRef$current","_menuRef$current$el","_menuRef$current2","_menuRef$current3","el","focus","highlightFirst","highlightSelected","onSelect","selection","hide","event","Options","Children","map","child","i","Item","item","key","selected","Tabs_","Tabs","_ref5","className","_ref5$dark","qa","_excluded3","i18n","_React$useState","useState","_React$useState2","_slicedToArray","moreMenuIsShown","setMoreMenuIsShown","_React$useState3","_React$useState4","tabElements","setTabElements","_React$useState5","_React$useState6","cutoffIndex","setCutoffIndex","containerRef","recalculate","container","_tabElements$reduce","reduce","acc","rect","subtotals","concat","_toConsumableArray","total","width","Array","index","findIndex","val","onResize","filtered","toArray","filter","slice","isOverflowingActive","some","elements","oldElements","autoFocus","beforeShow","afterHide","trigger","passA11yPropsToOverlay","placement","overlay","length","more","t","size","displayName"],"sources":["../../src/Tabs/Tabs.tsx"],"sourcesContent":["import { CaretDown, CaretUp } from '@procore/core-icons/dist'\nimport React from 'react'\n\nimport { useButton } from '@react-aria/button'\nimport { MenuImperative } from '../MenuImperative/MenuImperative'\nimport type { MenuRef, Selection } from '../MenuImperative/MenuImperative.types'\nimport {\n OverlayTrigger,\n useOverlayTriggerContext,\n} from '../OverlayTrigger/OverlayTrigger'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { useResize } from '../_hooks/Resize'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport { getBoundingRect } from '../_utils/dom'\nimport { mergeRefs } from '../_utils/mergeRefs'\nimport type {\n DivAttributes,\n NavAttributes,\n Props,\n SpanAttributes,\n} from '../_utils/types'\nimport {\n StyledDropdownTab,\n StyledDropdownTabInner,\n StyledLink,\n StyledOverlay,\n StyledTab,\n StyledTabInner,\n StyledTabList,\n StyledTabs,\n} from './Tabs.styles'\nimport type {\n BaseTabProps,\n TabDropdownProps,\n TabProps,\n TabRef,\n TabRole,\n TabRoleType,\n TabsProps,\n} from './Tabs.types'\n\nfunction noop() {}\n\nexport const Link = React.forwardRef<HTMLSpanElement, SpanAttributes & Props>(\n function Link({ children, ...props }, ref) {\n return (\n <StyledLink ref={ref} {...props}>\n {children}\n </StyledLink>\n )\n }\n)\n\n/**\n\n We use tabs to navigate between different, but related content.\n Tabs are commonly used on tool landing pages and on item detail pages.\n\n @since 10.19.0\n\n @see [Storybook](https://procore.github.io/core/core-react/latest/?path=/story/demos-tabs--demo)\n\n @see [Design Guidelines](https://design.procore.com/tabs)\n\n */\n\nfunction TabInternal(\n {\n as,\n disabled,\n role,\n active = false,\n children,\n onBlur,\n onFocus,\n onMount = noop,\n onUnmount = noop,\n overflowing = false,\n dropdown = false,\n variant = '',\n ...props\n }: TabProps<TabRoleType>,\n ref: TabRef<TabRoleType>\n) {\n const { onPress } = props as TabProps<'button'>\n\n const { buttonProps } = useButton(\n {\n ...props,\n onBlur: onBlur as (e: React.FocusEvent) => void,\n onFocus: onFocus as (e: React.FocusEvent) => void,\n elementType: role === 'link' ? 'a' : role === 'button' ? 'button' : 'div',\n isDisabled: disabled,\n onPress,\n type: 'button',\n },\n ref as any // TODO fix polymorphic type\n )\n\n const a11yProps =\n role === 'button'\n ? {\n ...buttonProps,\n 'aria-current': active,\n as: as || 'button',\n $clickable: !disabled,\n }\n : role === 'link'\n ? {\n ...buttonProps,\n 'aria-current': active,\n as: as || 'a',\n $clickable: !disabled,\n }\n : role === 'tab'\n ? { role: 'tab', onBlur, onFocus }\n : { onBlur, onFocus }\n\n const innerRef = React.useRef<HTMLDivElement>(null)\n\n React.useEffect(() => {\n onMount(innerRef.current)\n return onUnmount\n }, [])\n\n const validChild = React.isValidElement(children)\n\n return (\n // @ts-ignore\n <StyledTab ref={mergeRefs(ref, innerRef)} {...a11yProps} {...props}>\n <StyledTabInner active={active || variant === 'active'} dark={props.dark}>\n {validChild\n ? React.cloneElement(children as React.ReactElement<any, any>, {\n 'aria-current': active || variant === 'active' ? true : undefined,\n })\n : children}\n </StyledTabInner>\n </StyledTab>\n )\n}\n\nexport const Tab = React.forwardRef(TabInternal) as <Role extends TabRole>(\n props:\n | TabProps<Role>\n | (BaseTabProps & { ref?: React.ComponentPropsWithRef<'div'>['ref'] })\n) => ReturnType<typeof TabInternal>\n\nexport const MoreMenu = React.forwardRef<\n HTMLDivElement,\n DivAttributes & TabDropdownProps\n>(function MoreMenu({ children, id }, ref) {\n const ctx = useOverlayTriggerContext()\n\n const menuRef = React.useRef<MenuRef | null>(null)\n\n React.useEffect(function () {\n menuRef.current?.el?.focus()\n menuRef.current?.highlightFirst()\n menuRef.current?.highlightSelected()\n }, [])\n\n function onSelect(selection: Selection) {\n ctx.hide(selection.event)\n }\n\n return (\n <StyledOverlay ref={ref}>\n <MenuImperative id={id} role=\"menu\" ref={menuRef} onSelect={onSelect}>\n <MenuImperative.Options>\n {React.Children.map(children, (child, i) => {\n if (React.isValidElement<BaseTabProps>(child)) {\n return (\n <MenuImperative.Item\n item={null}\n key={i}\n selected={child.props.active}\n >\n {React.cloneElement(child as any, { ref: null })}\n </MenuImperative.Item>\n )\n }\n })}\n </MenuImperative.Options>\n </MenuImperative>\n </StyledOverlay>\n )\n})\n\nconst Tabs_ = React.forwardRef<HTMLDivElement, NavAttributes & TabsProps>(\n function Tabs({ children, className, dark = false, qa, ...props }, ref) {\n const i18n = useI18nContext()\n\n const [moreMenuIsShown, setMoreMenuIsShown] = React.useState(false)\n const [tabElements, setTabElements] = React.useState<\n (HTMLDivElement | null)[]\n >([])\n const [cutoffIndex, setCutoffIndex] = React.useState(0)\n\n const containerRef = React.useRef<HTMLDivElement>(null)\n\n function recalculate() {\n const container = getBoundingRect(containerRef.current!)\n\n const { subtotals } = tabElements.reduce(\n (acc, el) => {\n if (!el) {\n return acc\n }\n const rect = getBoundingRect(el)\n return {\n subtotals: [...acc.subtotals, acc.total + rect.width],\n total: acc.total + rect.width,\n }\n },\n { subtotals: new Array(), total: 0 }\n )\n\n const index = subtotals.findIndex((val: number) => val >= container.width)\n\n setCutoffIndex(index)\n }\n\n useResize({ onResize: recalculate })\n\n React.useEffect(recalculate)\n\n const filtered = React.Children.toArray(children).filter((child) => child)\n\n const overflowing = filtered.slice(cutoffIndex - 1)\n\n const isOverflowingActive = React.Children.toArray(overflowing).some(\n (child) => React.isValidElement(child) && child.props.active\n )\n\n return (\n <StyledTabs ref={ref} dark={dark} index={cutoffIndex} {...props}>\n <StyledTabList ref={containerRef}>\n {filtered.map((child, i) => {\n if (React.isValidElement(child))\n return React.cloneElement(child, {\n dark,\n onMount: (el: HTMLDivElement) => {\n setTabElements((elements) => {\n const oldElements = [...elements]\n oldElements[i] = el\n return oldElements\n })\n },\n onUnmount: () => {\n setTabElements((elements) => {\n const oldElements = [...elements]\n oldElements[i] = null\n return oldElements\n })\n },\n } as any) // TODO fix type\n })}\n\n <OverlayTrigger\n autoFocus\n beforeShow={() => setMoreMenuIsShown(true)}\n afterHide={() => setMoreMenuIsShown(false)}\n trigger=\"click\"\n passA11yPropsToOverlay\n placement=\"bottom-right\"\n overlay={<MoreMenu>{overflowing}</MoreMenu>}\n ref={ref}\n role=\"menu\"\n >\n <StyledDropdownTab aria-hidden={!overflowing.length} as=\"button\">\n <StyledDropdownTabInner active={isOverflowingActive} dark={dark}>\n <StyledLink data-qa={qa?.more}>\n {i18n.t('core.tabs.more')}\n </StyledLink>\n {moreMenuIsShown ? (\n <CaretUp size=\"sm\" />\n ) : (\n <CaretDown size=\"sm\" />\n )}\n </StyledDropdownTabInner>\n </StyledDropdownTab>\n </OverlayTrigger>\n </StyledTabList>\n </StyledTabs>\n )\n }\n)\n\nTabs_.displayName = 'Tabs'\n\nLink.displayName = 'Tabs.Link'\n\n// @ts-ignore\nTab.displayName = 'Tabs.Tab'\n\nexport const Tabs = addSubcomponents(\n {\n Link,\n Tab,\n },\n Tabs_\n)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,SAASA,SAAS,EAAEC,OAAO,QAAQ,0BAA0B;AAC7D,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,SAAS,QAAQ,oBAAoB;AAC9C,SAASC,cAAc,QAAQ,kCAAkC;AAEjE,SACEC,cAAc,EACdC,wBAAwB,QACnB,kCAAkC;AACzC,SAASC,cAAc,QAAQ,gBAAgB;AAC/C,SAASC,SAAS,QAAQ,kBAAkB;AAC5C,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,eAAe,QAAQ,eAAe;AAC/C,SAASC,SAAS,QAAQ,qBAAqB;AAO/C,SACEC,iBAAiB,EACjBC,sBAAsB,EACtBC,UAAU,EACVC,aAAa,EACbC,SAAS,EACTC,cAAc,EACdC,aAAa,EACbC,UAAU,QACL,eAAe;AAWtB,SAASC,IAAIA,CAAA,EAAG,CAAC;AAEjB,OAAO,IAAMC,IAAI,gBAAGnB,KAAK,CAACoB,UAAU,CAClC,SAASD,IAAIA,CAAAE,IAAA,EAAy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