@procore/core-react 12.25.0 → 12.25.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 (449) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  3. package/dist/Avatar/Avatar.d.ts +9 -10
  4. package/dist/Avatar/Avatar.js.map +1 -1
  5. package/dist/Avatar/Avatar.styles.js +5 -5
  6. package/dist/AvatarStack/AvatarStack.styles.d.ts +2 -2
  7. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  8. package/dist/Badge/Badge.styles.js +2 -2
  9. package/dist/BadgePill/BadgePill.styles.js +4 -4
  10. package/dist/Banner/Banner.d.ts +15 -15
  11. package/dist/Banner/Banner.js.map +1 -1
  12. package/dist/Banner/Banner.styles.d.ts +4 -4
  13. package/dist/Banner/Banner.styles.js +10 -10
  14. package/dist/Banner/index.d.ts +1 -1
  15. package/dist/Banner/index.js.map +1 -1
  16. package/dist/Box/Box.d.ts +1 -2
  17. package/dist/Box/Box.js.map +1 -1
  18. package/dist/Box/Box.styles.js +1 -1
  19. package/dist/Breadcrumbs/Breadcrumbs.d.ts +3 -4
  20. package/dist/Breadcrumbs/Breadcrumbs.js.map +1 -1
  21. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  22. package/dist/Button/Button.styles.js +5 -5
  23. package/dist/Button/Button.types.d.ts +2 -3
  24. package/dist/Button/Button.types.js.map +1 -1
  25. package/dist/Calendar/Calendar.styles.js +8 -8
  26. package/dist/Card/Card.d.ts +1 -2
  27. package/dist/Card/Card.js.map +1 -1
  28. package/dist/Card/Card.styles.js +1 -1
  29. package/dist/Checkbox/Checkbox.styles.js +6 -6
  30. package/dist/Checkbox/Checkbox.types.d.ts +1 -2
  31. package/dist/Checkbox/Checkbox.types.js.map +1 -1
  32. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  33. package/dist/ContactItem/ContactItem.d.ts +2 -3
  34. package/dist/ContactItem/ContactItem.js.map +1 -1
  35. package/dist/ContactItem/ContactItem.styles.d.ts +5 -5
  36. package/dist/ContactItem/ContactItem.styles.js +5 -5
  37. package/dist/Content/Content.styles.d.ts +4 -4
  38. package/dist/Content/Content.styles.js +2 -2
  39. package/dist/DateInput/DateInput.js.map +1 -1
  40. package/dist/DateInput/DateInput.styles.js +6 -6
  41. package/dist/DateInput/DateInput.types.d.ts +2 -2
  42. package/dist/DateInput/DateInput.types.js.map +1 -1
  43. package/dist/DetailPage/DetailPage.d.ts +1 -1
  44. package/dist/DetailPage/DetailPage.styles.d.ts +4 -4
  45. package/dist/DetailPage/DetailPage.styles.js +7 -7
  46. package/dist/Dropdown/Dropdown.d.ts +1 -1
  47. package/dist/Dropdown/Dropdown.styles.d.ts +2 -2
  48. package/dist/Dropdown/Dropdown.styles.js +3 -3
  49. package/dist/DropdownFlyout/DropdownFlyout.helpers.js +1 -1
  50. package/dist/DropdownFlyout/DropdownFlyout.helpers.js.map +1 -1
  51. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  52. package/dist/DropdownFlyout/DropdownFlyout.types.d.ts +4 -4
  53. package/dist/DropdownFlyout/DropdownFlyout.types.js.map +1 -1
  54. package/dist/Dropzone/Dropzone.d.ts +2 -3
  55. package/dist/Dropzone/Dropzone.js +1 -2
  56. package/dist/Dropzone/Dropzone.js.map +1 -1
  57. package/dist/Dropzone/Dropzone.styles.d.ts +6 -6
  58. package/dist/Dropzone/Dropzone.styles.js +9 -9
  59. package/dist/EmptyState/EmptyState.d.ts +6 -6
  60. package/dist/EmptyState/EmptyState.js.map +1 -1
  61. package/dist/EmptyState/EmptyState.styles.js +6 -6
  62. package/dist/Field/Field.styles.js +3 -3
  63. package/dist/FileList/FileList.d.ts +1 -2
  64. package/dist/FileList/FileList.js.map +1 -1
  65. package/dist/FileList/FileList.styles.js +4 -4
  66. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  67. package/dist/FileSelect/FileExplorer/FileExplorerModal.d.ts +1 -2
  68. package/dist/FileSelect/FileExplorer/FileExplorerModal.js.map +1 -1
  69. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.d.ts +2 -2
  70. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  71. package/dist/FileSelect/FileSelect.d.ts +3 -4
  72. package/dist/FileSelect/FileSelect.js.map +1 -1
  73. package/dist/FileSelect/FileSelect.styles.d.ts +2 -2
  74. package/dist/FileSelect/FileSelect.styles.js +2 -2
  75. package/dist/FileSelect/FileSelect.types.d.ts +1 -2
  76. package/dist/FileSelect/FileSelect.types.js.map +1 -1
  77. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  78. package/dist/FileSelect/FileTokenList/FileTokenList.d.ts +1 -2
  79. package/dist/FileSelect/FileTokenList/FileTokenList.js.map +1 -1
  80. package/dist/FileSelect/FileTokenList/FileTokenList.styles.d.ts +2 -2
  81. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  82. package/dist/FileSelect/GridSource/GridSource.d.ts +1 -2
  83. package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
  84. package/dist/FileSelect/GridSource/GridSource.styles.d.ts +6 -6
  85. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  86. package/dist/FileSelect/LocalSource/LocalSource.styles.d.ts +1 -1
  87. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  88. package/dist/FileSelect/SourceItem/SourceItem.d.ts +2 -2
  89. package/dist/FileSelect/SourceItem/SourceItem.js.map +1 -1
  90. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  91. package/dist/FileSelect/ThumbnailList/ThumbnailList.js.map +1 -1
  92. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +7 -7
  93. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  94. package/dist/FileSelect/ThumbnailList/ThumbnailList.types.d.ts +2 -2
  95. package/dist/FileSelect/ThumbnailList/ThumbnailList.types.js.map +1 -1
  96. package/dist/FileSelect/TreeSource/TreeSource.d.ts +1 -2
  97. package/dist/FileSelect/TreeSource/TreeSource.js.map +1 -1
  98. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  99. package/dist/FileToken/FileToken.d.ts +1 -2
  100. package/dist/FileToken/FileToken.js +17 -18
  101. package/dist/FileToken/FileToken.js.map +1 -1
  102. package/dist/FileToken/FileToken.styles.js +9 -9
  103. package/dist/FileToken/FileToken.styles.js.map +1 -1
  104. package/dist/FileToken/FileToken.types.d.ts +22 -0
  105. package/dist/FileToken/FileToken.types.js.map +1 -1
  106. package/dist/FileToken/FileTokenInner.d.ts +3 -0
  107. package/dist/FileToken/FileTokenInner.js +25 -0
  108. package/dist/FileToken/FileTokenInner.js.map +1 -0
  109. package/dist/FilterToken/FilterToken.d.ts +3 -4
  110. package/dist/FilterToken/FilterToken.js.map +1 -1
  111. package/dist/FilterToken/FilterToken.styles.js +5 -5
  112. package/dist/Flex/Flex.d.ts +1 -2
  113. package/dist/Flex/Flex.js.map +1 -1
  114. package/dist/FlexList/FlexList.d.ts +1 -2
  115. package/dist/FlexList/FlexList.js.map +1 -1
  116. package/dist/FlexList/FlexList.styles.d.ts +2 -2
  117. package/dist/FlexList/FlexList.styles.js +1 -1
  118. package/dist/Form/Form.d.ts +2 -2
  119. package/dist/Form/Form.js.map +1 -1
  120. package/dist/Form/Form.styles.js +14 -14
  121. package/dist/Form/StyledFormikForm.styles.d.ts +2 -2
  122. package/dist/Form/StyledFormikForm.styles.js +2 -2
  123. package/dist/Form/index.d.ts +1 -1
  124. package/dist/Form/index.js.map +1 -1
  125. package/dist/GhostPlaceholder/GhostPlaceholder.js +9 -0
  126. package/dist/GhostPlaceholder/GhostPlaceholder.js.map +1 -1
  127. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  128. package/dist/Grid/Grid.styles.js +2 -2
  129. package/dist/Grid/Grid.types.d.ts +4 -4
  130. package/dist/Grid/Grid.types.js.map +1 -1
  131. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  132. package/dist/Input/Input.d.ts +1 -2
  133. package/dist/Input/Input.js.map +1 -1
  134. package/dist/Input/Input.styles.js +1 -1
  135. package/dist/Input/Input.types.d.ts +2 -2
  136. package/dist/Input/Input.types.js.map +1 -1
  137. package/dist/Link/Link.styles.js +1 -1
  138. package/dist/Link/Link.types.d.ts +2 -2
  139. package/dist/Link/Link.types.js.map +1 -1
  140. package/dist/ListPage/ListPage.styles.js +8 -8
  141. package/dist/Loader/Loader.styles.js +2 -2
  142. package/dist/Menu/Menu.d.ts +8 -9
  143. package/dist/Menu/Menu.js.map +1 -1
  144. package/dist/MenuImperative/MenuImperative.d.ts +8 -9
  145. package/dist/MenuImperative/MenuImperative.js.map +1 -1
  146. package/dist/MenuImperative/MenuImperative.styles.d.ts +2 -2
  147. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  148. package/dist/MenuImperative/MenuImperative.types.d.ts +2 -2
  149. package/dist/MenuImperative/MenuImperative.types.js.map +1 -1
  150. package/dist/Modal/Modal.d.ts +7 -6
  151. package/dist/Modal/Modal.js +47 -11
  152. package/dist/Modal/Modal.js.map +1 -1
  153. package/dist/Modal/Modal.styles.d.ts +4 -4
  154. package/dist/Modal/Modal.styles.js +15 -14
  155. package/dist/Modal/Modal.styles.js.map +1 -1
  156. package/dist/Modal/Modal.types.d.ts +6 -4
  157. package/dist/Modal/Modal.types.js.map +1 -1
  158. package/dist/MultiSelect/MultiSelect.styles.d.ts +2 -2
  159. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  160. package/dist/NextMenu/NextMenu.styles.js +3 -3
  161. package/dist/NextTile/NextTile.types.d.ts +3 -3
  162. package/dist/NextTile/NextTile.types.js.map +1 -1
  163. package/dist/Notation/Notation.d.ts +1 -2
  164. package/dist/Notation/Notation.js +1 -1
  165. package/dist/Notation/Notation.js.map +1 -1
  166. package/dist/NumberInput/NumberInput.js +5 -2
  167. package/dist/NumberInput/NumberInput.js.map +1 -1
  168. package/dist/NumberInput/NumberInput.styles.d.ts +2 -2
  169. package/dist/NumberInput/NumberInput.styles.js +7 -7
  170. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  171. package/dist/PageLayout/PageLayout.d.ts +2 -2
  172. package/dist/PageLayout/PageLayout.js.map +1 -1
  173. package/dist/PageLayout/PageLayout.styles.js +16 -16
  174. package/dist/PageLayout/PageLayout.types.d.ts +3 -3
  175. package/dist/PageLayout/PageLayout.types.js.map +1 -1
  176. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  177. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.d.ts +4 -4
  178. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  179. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.d.ts +6 -4
  180. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  181. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  182. package/dist/Pagination/Pagination.styles.d.ts +6 -6
  183. package/dist/Pagination/Pagination.styles.js +5 -5
  184. package/dist/Panel/Panel.d.ts +6 -7
  185. package/dist/Panel/Panel.js +22 -8
  186. package/dist/Panel/Panel.js.map +1 -1
  187. package/dist/Panel/Panel.styles.d.ts +5 -5
  188. package/dist/Panel/Panel.styles.js +16 -15
  189. package/dist/Panel/Panel.styles.js.map +1 -1
  190. package/dist/Panel/Panel.types.d.ts +14 -5
  191. package/dist/Panel/Panel.types.js.map +1 -1
  192. package/dist/Pill/Pill.js +15 -7
  193. package/dist/Pill/Pill.js.map +1 -1
  194. package/dist/Pill/Pill.styles.d.ts +3 -0
  195. package/dist/Pill/Pill.styles.js +7 -3
  196. package/dist/Pill/Pill.styles.js.map +1 -1
  197. package/dist/Pill/Pill.types.d.ts +1 -1
  198. package/dist/Pill/Pill.types.js.map +1 -1
  199. package/dist/PillSelect/PillSelect.js.map +1 -1
  200. package/dist/PillSelect/PillSelect.styles.js +4 -4
  201. package/dist/Popover/Popover.d.ts +1 -2
  202. package/dist/Popover/Popover.js.map +1 -1
  203. package/dist/Popover/Popover.styles.js +4 -4
  204. package/dist/Popover/Popover.styles.js.map +1 -1
  205. package/dist/Portal/Portal.styles.js +1 -1
  206. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  207. package/dist/ProgressBar/ProgressBar.types.d.ts +2 -2
  208. package/dist/ProgressBar/ProgressBar.types.js.map +1 -1
  209. package/dist/RadioButton/RadioButton.styles.js +3 -3
  210. package/dist/Required/Required.styles.js +3 -3
  211. package/dist/Search/Search.styles.js +5 -5
  212. package/dist/Section/Section.js +6 -5
  213. package/dist/Section/Section.js.map +1 -1
  214. package/dist/Section/Section.styles.d.ts +5 -5
  215. package/dist/Section/Section.styles.js +9 -8
  216. package/dist/Section/Section.styles.js.map +1 -1
  217. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  218. package/dist/SegmentedController/SegmentedController.types.d.ts +2 -2
  219. package/dist/SegmentedController/SegmentedController.types.js.map +1 -1
  220. package/dist/Select/Select.styles.d.ts +2 -2
  221. package/dist/Select/Select.styles.js +7 -7
  222. package/dist/Semantic/Semantic.styles.d.ts +1 -1
  223. package/dist/Semantic/Semantic.styles.js +9 -9
  224. package/dist/Semantic/Semantic.types.d.ts +1 -2
  225. package/dist/Semantic/Semantic.types.js.map +1 -1
  226. package/dist/SettingsPage/SettingsPage.d.ts +1 -1
  227. package/dist/Slider/Slider.styles.d.ts +2 -2
  228. package/dist/Slider/Slider.styles.js +5 -5
  229. package/dist/Slider/Slider.types.d.ts +2 -2
  230. package/dist/Slider/Slider.types.js.map +1 -1
  231. package/dist/Spinner/Spinner.styles.js +7 -7
  232. package/dist/SplitViewCard/SplitViewCard.d.ts +0 -1
  233. package/dist/SplitViewCard/SplitViewCard.js +29 -26
  234. package/dist/SplitViewCard/SplitViewCard.js.map +1 -1
  235. package/dist/SplitViewCard/SplitViewCard.styles.js +10 -9
  236. package/dist/SplitViewCard/SplitViewCard.styles.js.map +1 -1
  237. package/dist/SplitViewCard/SplitViewCard.types.d.ts +11 -0
  238. package/dist/SplitViewCard/SplitViewCard.types.js.map +1 -1
  239. package/dist/SplitViewCard/SplitViewCardInternal.context.d.ts +2 -2
  240. package/dist/SplitViewCard/SplitViewCardInternal.context.js +4 -1
  241. package/dist/SplitViewCard/SplitViewCardInternal.context.js.map +1 -1
  242. package/dist/SuperSelect/SuperSelect.components.d.ts +4 -3
  243. package/dist/SuperSelect/SuperSelect.components.js +5 -1
  244. package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
  245. package/dist/SuperSelect/SuperSelect.presets.styles.d.ts +2 -2
  246. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  247. package/dist/SuperSelect/SuperSelect.styles.d.ts +6 -6
  248. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  249. package/dist/SuperSelect/SuperSelect.types.d.ts +3 -2
  250. package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
  251. package/dist/SuperSelect/useSuperSelect.d.ts +1 -1
  252. package/dist/SuperSelect/useSuperSelect.js +28 -1
  253. package/dist/SuperSelect/useSuperSelect.js.map +1 -1
  254. package/dist/Switch/Switch.d.ts +1 -2
  255. package/dist/Switch/Switch.js.map +1 -1
  256. package/dist/Switch/Switch.styles.js +4 -4
  257. package/dist/Switch/Switch.types.d.ts +2 -2
  258. package/dist/Switch/Switch.types.js.map +1 -1
  259. package/dist/Table/Table.d.ts +34 -35
  260. package/dist/Table/Table.js.map +1 -1
  261. package/dist/Table/Table.styles.d.ts +6 -6
  262. package/dist/Table/Table.styles.js +28 -28
  263. package/dist/Table/Table.types.d.ts +1 -2
  264. package/dist/Table/Table.types.js.map +1 -1
  265. package/dist/Table/index.d.ts +1 -1
  266. package/dist/Table/index.js.map +1 -1
  267. package/dist/TableShelf/TableShelf.d.ts +12 -13
  268. package/dist/TableShelf/TableShelf.js.map +1 -1
  269. package/dist/TableShelf/TableShelf.styles.js +5 -5
  270. package/dist/Tabs/Tabs.d.ts +4 -5
  271. package/dist/Tabs/Tabs.js.map +1 -1
  272. package/dist/Tabs/Tabs.styles.d.ts +2 -2
  273. package/dist/Tabs/Tabs.styles.js +15 -15
  274. package/dist/Tearsheet/Tearsheet.js +9 -6
  275. package/dist/Tearsheet/Tearsheet.js.map +1 -1
  276. package/dist/Tearsheet/Tearsheet.styles.d.ts +2 -2
  277. package/dist/Tearsheet/Tearsheet.styles.js +7 -6
  278. package/dist/Tearsheet/Tearsheet.styles.js.map +1 -1
  279. package/dist/TextArea/TextArea.d.ts +1 -2
  280. package/dist/TextArea/TextArea.js.map +1 -1
  281. package/dist/TextArea/TextArea.styles.js +4 -4
  282. package/dist/TextArea/TextArea.styles.js.map +1 -1
  283. package/dist/TextArea/TextArea.types.d.ts +2 -2
  284. package/dist/TextArea/TextArea.types.js.map +1 -1
  285. package/dist/TextEditorOutput/TextEditorOutput.d.ts +1 -2
  286. package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
  287. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  288. package/dist/TextEditorOutput/index.d.ts +1 -0
  289. package/dist/TextEditorOutput/index.js.map +1 -1
  290. package/dist/TextInput/TextInput.d.ts +1 -1
  291. package/dist/Thumbnail/Thumbnail.hooks.d.ts +6 -7
  292. package/dist/Thumbnail/Thumbnail.hooks.js.map +1 -1
  293. package/dist/Thumbnail/Thumbnail.styles.d.ts +2 -2
  294. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  295. package/dist/Thumbnail/index.d.ts +1 -1
  296. package/dist/Thumbnail/index.js.map +1 -1
  297. package/dist/ThumbnailGrid/ThumbnailGrid.d.ts +1 -2
  298. package/dist/ThumbnailGrid/ThumbnailGrid.js.map +1 -1
  299. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +9 -9
  300. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  301. package/dist/TieredSelect/TieredSelect.styles.d.ts +15 -15
  302. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  303. package/dist/Tile/Tile.styles.d.ts +1 -1
  304. package/dist/Tile/Tile.styles.js +8 -8
  305. package/dist/Tile/Tile.types.d.ts +4 -4
  306. package/dist/Tile/Tile.types.js.map +1 -1
  307. package/dist/Title/Title.d.ts +5 -6
  308. package/dist/Title/Title.js.map +1 -1
  309. package/dist/Title/Title.styles.d.ts +3 -3
  310. package/dist/Title/Title.styles.js +7 -7
  311. package/dist/Title/Title.types.d.ts +2 -2
  312. package/dist/Title/Title.types.js.map +1 -1
  313. package/dist/Toast/Toast.d.ts +4 -5
  314. package/dist/Toast/Toast.js.map +1 -1
  315. package/dist/Toast/Toast.styles.js +3 -3
  316. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  317. package/dist/ToggleButton/ToggleButton.types.d.ts +1 -2
  318. package/dist/ToggleButton/ToggleButton.types.js.map +1 -1
  319. package/dist/Token/Token.d.ts +5 -4
  320. package/dist/Token/Token.js +37 -10
  321. package/dist/Token/Token.js.map +1 -1
  322. package/dist/Token/Token.styles.d.ts +3 -7
  323. package/dist/Token/Token.styles.js +8 -8
  324. package/dist/Token/Token.styles.js.map +1 -1
  325. package/dist/Token/Token.types.d.ts +4 -0
  326. package/dist/Token/Token.types.js.map +1 -1
  327. package/dist/ToolHeader/ToolHeader.d.ts +6 -7
  328. package/dist/ToolHeader/ToolHeader.js.map +1 -1
  329. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  330. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  331. package/dist/Tooltip/Tooltip.styles.js +2 -2
  332. package/dist/Tree/Tree.styles.d.ts +6 -6
  333. package/dist/Tree/Tree.styles.js +9 -9
  334. package/dist/Tree/Tree.types.d.ts +2 -3
  335. package/dist/Tree/Tree.types.js.map +1 -1
  336. package/dist/Typeahead/Typeahead.styles.js +3 -3
  337. package/dist/Typography/Typography.d.ts +1 -2
  338. package/dist/Typography/Typography.js.map +1 -1
  339. package/dist/Typography/Typography.styles.js +1 -1
  340. package/dist/Typography/Typography.table.story.js +2 -2
  341. package/dist/_hooks/ClickOutside.js +8 -4
  342. package/dist/_hooks/ClickOutside.js.map +1 -1
  343. package/dist/_locales/de-DE.json +1 -1
  344. package/dist/_locales/en-AU.json +1 -1
  345. package/dist/_locales/en-CA.json +1 -1
  346. package/dist/_locales/en-GB.json +1 -1
  347. package/dist/_locales/en.json +1 -1
  348. package/dist/_locales/es-ES.json +1 -1
  349. package/dist/_locales/es.json +1 -1
  350. package/dist/_locales/fr-CA.json +1 -1
  351. package/dist/_locales/fr-FR.json +1 -1
  352. package/dist/_locales/is-IS.json +1 -1
  353. package/dist/_locales/it-IT.json +1 -1
  354. package/dist/_locales/ja-JP.json +1 -1
  355. package/dist/_locales/pl-PL.json +1 -1
  356. package/dist/_locales/pseudo.json +1 -1
  357. package/dist/_locales/pt-BR.json +1 -1
  358. package/dist/_locales/th-TH.json +1 -1
  359. package/dist/_locales/zh-SG.json +1 -1
  360. package/dist/_locales/zh-TW.json +1 -1
  361. package/dist/_styles/mixins.js +1 -1
  362. package/dist/_styles/mixins.js.map +1 -1
  363. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  364. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  365. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  366. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  367. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  368. package/dist/_typedoc/Box/Box.types.json +68 -68
  369. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  370. package/dist/_typedoc/Button/Button.types.json +13 -13
  371. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  372. package/dist/_typedoc/Card/Card.types.json +6 -6
  373. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -18
  374. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  375. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  376. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  377. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  378. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  379. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +30 -30
  380. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  381. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  382. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  383. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  384. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  385. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  386. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  387. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  388. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  389. package/dist/_typedoc/Form/Form.types.json +739 -759
  390. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  391. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  392. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  393. package/dist/_typedoc/Input/Input.types.json +2 -2
  394. package/dist/_typedoc/Link/Link.types.json +1 -31
  395. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  396. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  397. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  398. package/dist/_typedoc/Modal/Modal.types.json +54 -54
  399. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  400. package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
  401. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  402. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  403. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +32 -32
  404. package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -56
  405. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  406. package/dist/_typedoc/Panel/Panel.types.json +51 -29
  407. package/dist/_typedoc/Pill/Pill.types.json +4 -4
  408. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  409. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  410. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  411. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  412. package/dist/_typedoc/Required/Required.types.json +5 -5
  413. package/dist/_typedoc/Search/Search.types.json +18 -18
  414. package/dist/_typedoc/Section/Section.types.json +15 -15
  415. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  416. package/dist/_typedoc/Select/Select.types.json +60 -60
  417. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  418. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  419. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  420. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +34 -12
  421. package/dist/_typedoc/Switch/Switch.types.json +1 -32
  422. package/dist/_typedoc/Table/Table.types.json +101 -101
  423. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  424. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  425. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  426. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  427. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  428. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  429. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  430. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  431. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  432. package/dist/_typedoc/Title/Title.types.json +1 -1
  433. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  434. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  435. package/dist/_typedoc/Token/Token.types.json +30 -4
  436. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  437. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  438. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  439. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  440. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  441. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  442. package/dist/_typedoc/_utils/types.json +3 -3
  443. package/dist/_utils/slotify.d.ts +1 -2
  444. package/dist/_utils/slotify.js.map +1 -1
  445. package/dist/_utils/types.d.ts +16 -18
  446. package/dist/_utils/types.js.map +1 -1
  447. package/dist/index.d.ts +1 -0
  448. package/dist/index.js.map +1 -1
  449. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","names":["CurrencyFormatter","useId","VisuallyHidden","cx","React","Link","LinkElement","tableSelectClassName","Spinner","useI18nContext","addSubcomponents","StyledCarat","StyledCaratWrapper","StyledCheckbox","StyledHead","StyledIconCell","StyledLoadingContainer","StyledSelectCellWrapper","StyledTable","StyledTableBodyCell","StyledTableBodyRow","StyledTableCellDateInput","StyledTableCellInput","StyledTableCellSelect","StyledTableCellText","StyledTableCellTextArea","StyledTableGroupRow","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","StyledTableHeaderCell","StyledTableHeaderCellIconWrapper","StyledTableHeaderCellLabel","StyledTableHeaderCellSortableContainer","StyledTableHeaderCellSortIconAsc","StyledTableHeaderCellSortIconDesc","StyledTableInlineEditContainer","StyledTableInlineEditErrorBox","StyledTableWrapper","Table_","forwardRef","Table","_ref","ref","children","inline","variant","props","_objectWithoutProperties","_excluded","createElement","_extends","$inline","$fixed","Carat","_ref2","_ref2$expanded","expanded","_excluded2","$expanded","Container","_ref3","_ref3$shelf","shelf","_excluded3","shadowStrength","$withShelf","Header","_ref4","_excluded4","HeaderRow","_ref5","_excluded5","HeaderCell","_ref6","sortOrder_","sortOrder","onClick","onKeyUp","onSortOrderChange_","onSortOrderChange","sortable","_ref6$snugfit","snugfit","_excluded6","I18n","descriptionId","undefined","isSortable","ariaSortValues","asc","desc","nextValue","role","tabIndex","$sortable","$sortOrder","$snugfit","e","includes","code","Fragment","id","t","Body","_ref7","_excluded7","Checkbox","GroupTitle","_ref8","_excluded8","Group","_ref9","_ref9$colSpan","colSpan","_ref9$depth","depth","_excluded9","$depth","BodyRow","_ref0","_ref0$overdue","overdue","_excluded0","$overdue","BodyCell","_ref1","_ref1$snugfit","_ref1$variant","_excluded1","CurrencyCell","_ref10","value","currencyOptions","_excluded10","$currency","internalCurrencyOptions","_objectSpread","locale","currencyIsoCode","formatter","internalValue","formatCurrency","DateSelectCell","_ref11","className","_ref11$disabled","disabled","errorMessage","_ref11$processing","processing","_excluded11","error","Boolean","$disabled","$error","$size","loading","size","IconCell","_ref12","_excluded12","InputCell","_ref13","_ref13$disabled","_ref13$errorMessage","_ref13$processing","_ref13$size","_excluded13","LinkCell","_ref14","_ref14$href","href","_excluded14","TextCell","PercentCell","_ref15","_excluded15","$percent","SelectCell","_ref16","_ref16$block","block","_ref16$processing","_excluded16","hasClearIcon","label","$placeholder","$hasClearIcon","TextAreaCell","_ref17","_ref17$errorMessage","_ref17$processing","_ref17$resizable","resizable","_excluded17","textareaRef","createRef","setHeight","current","style","height","concat","scrollHeight","$resizable","onBlur","event","resize","rows","_ref18","_excluded18","displayName"],"sources":["../../src/Table/Table.tsx"],"sourcesContent":["import type { CurrencyOptions } from '@procore/globalization-toolkit'\nimport { CurrencyFormatter } from '@procore/globalization-toolkit'\nimport { useId } from '@react-aria/utils'\nimport { VisuallyHidden } from '@react-aria/visually-hidden'\nimport cx from 'classnames'\nimport React from 'react'\nimport type { CheckboxProps } from '../Checkbox'\nimport { Link as LinkElement } from '../Link'\nimport { tableSelectClassName } from '../Select/Select.styles'\nimport { Spinner } from '../Spinner'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport type {\n AnchorAttributes,\n DivAttributes,\n SpanAttributes,\n SVGAttributes,\n TableAttributes,\n TbodyAttributes,\n TdAttributes,\n TextAreaAttributes,\n ThAttributes,\n TheadAttributes,\n TrAttributes,\n} from '../_utils/types'\nimport {\n StyledCarat,\n StyledCaratWrapper,\n StyledCheckbox,\n StyledHead,\n StyledIconCell,\n StyledLoadingContainer,\n StyledSelectCellWrapper,\n StyledTable,\n StyledTableBodyCell,\n StyledTableBodyRow,\n StyledTableCellDateInput,\n StyledTableCellInput,\n StyledTableCellSelect,\n StyledTableCellText,\n StyledTableCellTextArea,\n StyledTableGroupRow,\n StyledTableGroupRowContent,\n StyledTableGroupRowHeader,\n StyledTableGroupRowTitle,\n StyledTableHeaderCell,\n StyledTableHeaderCellIconWrapper,\n StyledTableHeaderCellLabel,\n StyledTableHeaderCellSortableContainer,\n StyledTableHeaderCellSortIconAsc,\n StyledTableHeaderCellSortIconDesc,\n StyledTableInlineEditContainer,\n StyledTableInlineEditErrorBox,\n StyledTableWrapper,\n} from './Table.styles'\nimport type {\n BodyCellProps,\n BodyProps,\n BodyRowProps,\n CaratProps,\n ContainerProps,\n CurrencyCellProps,\n DateSelectCellProps,\n GroupProps,\n GroupTitleProps,\n HeaderProps,\n HeaderRowProps,\n IconCellProps,\n InputCellProps,\n LinkCellProps,\n PercentCellProps,\n TableColumnSortOrder,\n TableHeaderCellProps,\n TableProps,\n TableSelectCellProps,\n TableTextCellProps,\n TextAreaCellProps,\n} from './Table.types'\n\nexport const Table_ = React.forwardRef<\n HTMLTableElement,\n TableAttributes & TableProps\n>(function Table({ children, inline, variant, ...props }, ref) {\n return (\n <StyledTable\n ref={ref}\n {...props}\n $inline={inline}\n $fixed={variant === 'fixed'}\n >\n {children}\n </StyledTable>\n )\n})\n\nexport const Carat = React.forwardRef<\n HTMLDivElement,\n SVGAttributes & CaratProps\n>(function Carat({ expanded = false, ...props }, ref) {\n return (\n <StyledCaratWrapper ref={ref}>\n <StyledCarat $expanded={expanded} {...props} />\n </StyledCaratWrapper>\n )\n})\n\nexport const Container = React.forwardRef<\n HTMLDivElement,\n DivAttributes & ContainerProps\n>(function Container({ children, shelf = false, ...props }, ref) {\n return (\n <StyledTableWrapper\n {...props}\n ref={ref}\n shadowStrength={0}\n $withShelf={shelf}\n >\n {children}\n </StyledTableWrapper>\n )\n})\n\nexport const Header = React.forwardRef<\n HTMLTableSectionElement,\n TheadAttributes & HeaderProps\n>(function Header({ children, ...props }, ref) {\n return (\n <StyledHead ref={ref} {...props}>\n {children}\n </StyledHead>\n )\n})\n\nexport const HeaderRow = React.forwardRef<\n HTMLTableRowElement,\n TrAttributes & HeaderRowProps\n>(function HeaderRow({ children, ...props }, ref) {\n return (\n <tr ref={ref} {...props}>\n {children}\n </tr>\n )\n})\n\nexport const HeaderCell = React.forwardRef<\n HTMLTableHeaderCellElement,\n ThAttributes & TableHeaderCellProps\n>(function HeaderCell(\n {\n sortOrder: sortOrder_,\n onClick,\n onKeyUp,\n onSortOrderChange: onSortOrderChange_,\n sortable,\n children,\n snugfit = false,\n variant,\n ...props\n },\n ref\n) {\n const I18n = useI18nContext()\n const descriptionId = useId()\n const sortOrder: TableColumnSortOrder | undefined =\n sortOrder_ ?? (variant !== 'snugfit' ? variant : undefined)\n const isSortable = sortOrder !== undefined && sortable !== false\n\n const ariaSortValues = {\n asc: 'ascending',\n desc: 'descending',\n '': 'none',\n } as const\n\n const onSortOrderChange = () => {\n if (!onSortOrderChange_) {\n return\n }\n\n const nextValue =\n sortOrder === '' ? 'asc' : sortOrder === 'asc' ? 'desc' : ''\n onSortOrderChange_(nextValue)\n }\n\n return (\n <StyledTableHeaderCell\n ref={ref}\n {...props}\n role=\"columnheader\"\n aria-sort={isSortable ? ariaSortValues[sortOrder ?? ''] : undefined}\n tabIndex={isSortable ? 0 : undefined}\n aria-describedby={isSortable ? descriptionId : undefined}\n $sortable={isSortable}\n $sortOrder={sortOrder}\n $snugfit={snugfit || variant === 'snugfit'}\n onKeyUp={(e: React.KeyboardEvent<HTMLTableHeaderCellElement>) => {\n if (['Space', 'Enter'].includes(e.code) && isSortable) {\n onSortOrderChange()\n }\n return onKeyUp?.(e)\n }}\n onClick={(e: React.MouseEvent<HTMLTableHeaderCellElement>) => {\n if (isSortable) {\n onSortOrderChange()\n }\n return onClick?.(e)\n }}\n >\n <StyledTableHeaderCellSortableContainer>\n <StyledTableHeaderCellLabel>{children}</StyledTableHeaderCellLabel>\n {isSortable && (\n <>\n <StyledTableHeaderCellIconWrapper aria-hidden=\"true\">\n <StyledTableHeaderCellSortIconAsc />\n <StyledTableHeaderCellSortIconDesc />\n </StyledTableHeaderCellIconWrapper>\n <VisuallyHidden aria-hidden=\"true\" id={descriptionId}>\n {I18n.t('core.table.sortableColumn')}\n </VisuallyHidden>\n </>\n )}\n </StyledTableHeaderCellSortableContainer>\n </StyledTableHeaderCell>\n )\n})\n\nexport const Body = React.forwardRef<\n HTMLTableSectionElement,\n TbodyAttributes & BodyProps\n>(function Body({ children, ...props }, ref) {\n return (\n <tbody ref={ref} {...props}>\n {children}\n </tbody>\n )\n})\n\nexport const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n function Checkbox(props, ref) {\n return <StyledCheckbox ref={ref} {...props} />\n }\n)\n\nexport const GroupTitle = React.forwardRef<\n HTMLSpanElement,\n SpanAttributes & GroupTitleProps\n>(function GroupTitle({ children, ...props }, ref) {\n return (\n <StyledTableGroupRowTitle ref={ref} {...props}>\n {children}\n </StyledTableGroupRowTitle>\n )\n})\n\nexport const Group = React.forwardRef<\n HTMLTableRowElement,\n TrAttributes & GroupProps\n>(function Group({ children, colSpan = 1000, depth = false, ...props }, ref) {\n return (\n <StyledTableGroupRow ref={ref} $depth={depth} {...props}>\n <td colSpan={colSpan}>\n <StyledTableGroupRowContent>\n <StyledTableGroupRowHeader>{children}</StyledTableGroupRowHeader>\n </StyledTableGroupRowContent>\n </td>\n </StyledTableGroupRow>\n )\n})\n\nexport const BodyRow = React.forwardRef<\n HTMLTableRowElement,\n TrAttributes & BodyRowProps\n>(function BodyRow({ children, overdue = false, ...props }, ref) {\n return (\n <StyledTableBodyRow ref={ref} $overdue={overdue} {...props}>\n {children}\n </StyledTableBodyRow>\n )\n})\n\nexport const BodyCell = React.forwardRef<\n HTMLTableDataCellElement,\n TdAttributes & BodyCellProps\n>(function BodyCell(\n { children, snugfit = false, variant = '', ...props },\n ref\n) {\n return (\n <StyledTableBodyCell\n ref={ref}\n $snugfit={snugfit || variant === 'snugfit'}\n {...props}\n >\n {children}\n </StyledTableBodyCell>\n )\n})\n\nexport const CurrencyCell = React.forwardRef<\n HTMLDivElement,\n DivAttributes & CurrencyCellProps\n>(function CurrencyCell({ children, value, currencyOptions, ...props }, ref) {\n const I18n = useI18nContext()\n\n if (children) {\n return (\n <StyledTableCellText $currency ref={ref} {...props}>\n {children}\n </StyledTableCellText>\n )\n }\n\n const internalCurrencyOptions: CurrencyOptions = {\n locale: I18n.locale,\n currencyIsoCode: 'USD', // fallback to USD if currencyIsoCode is not provided\n ...currencyOptions,\n }\n const formatter = new CurrencyFormatter(internalCurrencyOptions)\n\n const internalValue = value ? formatter.formatCurrency(value) : null\n\n return (\n <StyledTableCellText $currency ref={ref} {...props}>\n {internalValue}\n </StyledTableCellText>\n )\n})\n\nexport const DateSelectCell = React.forwardRef<\n HTMLDivElement,\n React.PropsWithChildren<DateSelectCellProps>\n>(function DateSelectCell(\n {\n children,\n className,\n disabled = false,\n errorMessage,\n processing = false,\n ...props\n },\n ref\n) {\n const error = Boolean(errorMessage)\n return (\n <StyledTableInlineEditContainer\n $disabled={disabled}\n $error={error}\n $size=\"block\"\n className={cx({ disabled, error })}\n >\n {processing && (\n <StyledLoadingContainer>\n <Spinner loading={processing} size=\"md\" />\n </StyledLoadingContainer>\n )}\n <StyledTableCellDateInput\n {...props}\n disabled={processing || disabled}\n ref={ref}\n variant={error ? 'error' : ''}\n />\n {!processing && error && (\n <StyledTableInlineEditErrorBox>\n {errorMessage}\n </StyledTableInlineEditErrorBox>\n )}\n </StyledTableInlineEditContainer>\n )\n})\n\nexport const IconCell = React.forwardRef<\n HTMLDivElement,\n DivAttributes & IconCellProps\n>(function IconCell({ children, ...props }, ref) {\n return (\n <StyledIconCell ref={ref} {...props}>\n {children}\n </StyledIconCell>\n )\n})\n\nexport const InputCell = React.forwardRef<HTMLInputElement, InputCellProps>(\n function InputCell(\n {\n disabled = false,\n errorMessage = '',\n processing = false,\n size = 'block', // TODO FIX THIS TYPE\n ...props\n },\n ref\n ) {\n const error = Boolean(errorMessage)\n return (\n <StyledTableInlineEditContainer\n $disabled={disabled}\n $error={error}\n $size={size}\n className={cx({ disabled, error })}\n >\n {processing && (\n <StyledLoadingContainer>\n <Spinner loading={processing} size=\"md\" />\n </StyledLoadingContainer>\n )}\n <StyledTableCellInput\n {...props}\n ref={ref}\n disabled={processing || disabled}\n />\n {!processing && error && (\n <StyledTableInlineEditErrorBox $size={size}>\n {errorMessage}\n </StyledTableInlineEditErrorBox>\n )}\n </StyledTableInlineEditContainer>\n )\n }\n)\n\nexport const LinkCell = React.forwardRef<\n HTMLDivElement,\n AnchorAttributes & LinkCellProps\n>(function LinkCell({ children, href = '', ...props }, ref) {\n return (\n <TextCell ref={ref}>\n <LinkElement href={href} {...props}>\n {children}\n </LinkElement>\n </TextCell>\n )\n})\n\nexport const PercentCell = React.forwardRef<\n HTMLDivElement,\n DivAttributes & PercentCellProps\n>(function PercentCell({ children, ...props }, ref) {\n return (\n <StyledTableCellText $percent ref={ref} {...props}>\n {children}\n </StyledTableCellText>\n )\n})\n\nexport const SelectCell = React.forwardRef<\n HTMLDivElement,\n TableSelectCellProps\n>(function SelectCell(\n {\n block = true,\n children,\n disabled,\n errorMessage,\n className,\n processing = false,\n ...props\n },\n ref\n) {\n const error = Boolean(errorMessage)\n const hasClearIcon = !disabled && !props.loading && Boolean(props.label)\n return (\n <StyledTableInlineEditContainer\n $disabled={disabled}\n $error={error}\n $size=\"block\"\n className={cx({ disabled, error })}\n >\n {processing && (\n <StyledLoadingContainer>\n <Spinner loading={processing} size=\"md\" />\n </StyledLoadingContainer>\n )}\n <StyledSelectCellWrapper>\n <StyledTableCellSelect\n {...props}\n $placeholder={!props.label}\n $hasClearIcon={hasClearIcon}\n block={block}\n className={cx(tableSelectClassName, className)}\n disabled={processing || disabled}\n error={error}\n ref={ref}\n >\n {children}\n </StyledTableCellSelect>\n </StyledSelectCellWrapper>\n {!processing && errorMessage && (\n <StyledTableInlineEditErrorBox>\n {errorMessage}\n </StyledTableInlineEditErrorBox>\n )}\n </StyledTableInlineEditContainer>\n )\n})\n\nexport const TextAreaCell = React.forwardRef<\n HTMLTextAreaElement,\n TextAreaAttributes & TextAreaCellProps\n>(function TextAreaCell(\n {\n disabled,\n errorMessage = '',\n processing = false,\n resizable = false,\n ...props\n },\n ref\n) {\n const textareaRef =\n (ref as React.RefObject<HTMLTextAreaElement>) ||\n React.createRef<HTMLTextAreaElement>()\n\n const setHeight = () => {\n if (textareaRef && textareaRef.current) {\n textareaRef.current.style.height = 'auto'\n textareaRef.current.style.height = `${textareaRef.current.scrollHeight}px`\n }\n }\n const error = Boolean(errorMessage)\n return (\n <StyledTableInlineEditContainer\n $disabled={disabled}\n $error={error}\n $size=\"block\"\n className={cx({ disabled, error })}\n >\n {processing && (\n <StyledLoadingContainer>\n <Spinner loading={processing} size=\"md\" />\n </StyledLoadingContainer>\n )}\n <StyledTableCellTextArea\n {...props}\n $resizable={resizable}\n disabled={processing || disabled}\n onBlur={(event: React.FocusEvent<HTMLTextAreaElement>) => {\n setHeight()\n props.onBlur && props.onBlur(event)\n }}\n ref={textareaRef}\n resize=\"none\"\n rows={1}\n />\n {!processing && error && (\n <StyledTableInlineEditErrorBox>\n {errorMessage}\n </StyledTableInlineEditErrorBox>\n )}\n </StyledTableInlineEditContainer>\n )\n})\n\nexport const TextCell = React.forwardRef<\n HTMLDivElement,\n DivAttributes & TableTextCellProps\n>(function TextCell({ children, ...props }, ref) {\n return (\n <StyledTableCellText ref={ref} {...props}>\n {children}\n </StyledTableCellText>\n )\n})\n\nTable_.displayName = 'Table'\n\nBody.displayName = 'Table.Body'\n\nBodyCell.displayName = 'Table.BodyCell'\n\nBodyRow.displayName = 'Table.BodyRow'\n\nCarat.displayName = 'Table.Carat'\n\nCheckbox.displayName = 'Table.Checkbox'\n\nContainer.displayName = 'Table.Container'\n\nCurrencyCell.displayName = 'Table.CurrencyCell'\n\nDateSelectCell.displayName = 'Table.DateSelect'\n\nGroup.displayName = 'Table.Group'\n\nGroupTitle.displayName = 'Table.GroupTitle'\n\nHeader.displayName = 'Table.Header'\n\nHeaderCell.displayName = 'Table.HeaderCell'\n\nHeaderRow.displayName = 'Table.HeaderRow'\n\nIconCell.displayName = 'Table.IconCell'\n\nInputCell.displayName = 'Table.InputCell'\n\nLinkCell.displayName = 'Table.LinkCell'\n\nPercentCell.displayName = 'Table.ParentCell'\n\nTextAreaCell.displayName = 'Table.TextAreaCell'\n\nTextCell.displayName = 'Table.TextCell'\n\n/**\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-table--demo)\n\n */\nexport const Table = addSubcomponents(\n {\n Body,\n BodyCell,\n BodyRow,\n Carat,\n Checkbox,\n Container,\n CurrencyCell,\n DateSelectCell,\n Group,\n GroupTitle,\n Header,\n HeaderCell,\n HeaderRow,\n IconCell,\n InputCell,\n LinkCell,\n PercentCell,\n SelectCell,\n TextAreaCell,\n TextCell,\n },\n Table_\n)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAASA,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,KAAK,QAAQ,mBAAmB;AACzC,SAASC,cAAc,QAAQ,6BAA6B;AAC5D,OAAOC,EAAE,MAAM,YAAY;AAC3B,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,IAAI,IAAIC,WAAW,QAAQ,SAAS;AAC7C,SAASC,oBAAoB,QAAQ,yBAAyB;AAC9D,SAASC,OAAO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AAE3ChJ,MAAM,CAACgJ,WAAW,GAAG,cAAc;AAEnC1I,UAAU,CAAC0I,WAAW,GAAG,kBAAkB;AAE3C7I,SAAS,CAAC6I,WAAW,GAAG,iBAAiB;AAEzCpD,QAAQ,CAACoD,WAAW,GAAG,gBAAgB;AAEvCjD,SAAS,CAACiD,WAAW,GAAG,iBAAiB;AAEzC1C,QAAQ,CAAC0C,WAAW,GAAG,gBAAgB;AAEvCpC,WAAW,CAACoC,WAAW,GAAG,kBAAkB;AAE5CtB,YAAY,CAACsB,WAAW,GAAG,oBAAoB;AAE/CrC,QAAQ,CAACqC,WAAW,GAAG,gBAAgB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAM1K,KAAK,GAAG/B,gBAAgB,CACnC;EACE8F,IAAI,EAAJA,IAAI;EACJqB,QAAQ,EAARA,QAAQ;EACRN,OAAO,EAAPA,OAAO;EACPjE,KAAK,EAALA,KAAK;EACLqD,QAAQ,EAARA,QAAQ;EACR/C,SAAS,EAATA,SAAS;EACTsE,YAAY,EAAZA,YAAY;EACZa,cAAc,EAAdA,cAAc;EACdhC,KAAK,EAALA,KAAK;EACLH,UAAU,EAAVA,UAAU;EACVzC,MAAM,EAANA,MAAM;EACNM,UAAU,EAAVA,UAAU;EACVH,SAAS,EAATA,SAAS;EACTyF,QAAQ,EAARA,QAAQ;EACRG,SAAS,EAATA,SAAS;EACTO,QAAQ,EAARA,QAAQ;EACRM,WAAW,EAAXA,WAAW;EACXI,UAAU,EAAVA,UAAU;EACVU,YAAY,EAAZA,YAAY;EACZf,QAAQ,EAARA;AACF,CAAC,EACDvI,MACF,CAAC"}
1
+ {"version":3,"file":"Table.js","names":["CurrencyFormatter","useId","VisuallyHidden","cx","React","Link","LinkElement","tableSelectClassName","Spinner","useI18nContext","addSubcomponents","StyledCarat","StyledCaratWrapper","StyledCheckbox","StyledHead","StyledIconCell","StyledLoadingContainer","StyledSelectCellWrapper","StyledTable","StyledTableBodyCell","StyledTableBodyRow","StyledTableCellDateInput","StyledTableCellInput","StyledTableCellSelect","StyledTableCellText","StyledTableCellTextArea","StyledTableGroupRow","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","StyledTableHeaderCell","StyledTableHeaderCellIconWrapper","StyledTableHeaderCellLabel","StyledTableHeaderCellSortableContainer","StyledTableHeaderCellSortIconAsc","StyledTableHeaderCellSortIconDesc","StyledTableInlineEditContainer","StyledTableInlineEditErrorBox","StyledTableWrapper","Table_","forwardRef","Table","_ref","ref","children","inline","variant","props","_objectWithoutProperties","_excluded","createElement","_extends","$inline","$fixed","Carat","_ref2","_ref2$expanded","expanded","_excluded2","$expanded","Container","_ref3","_ref3$shelf","shelf","_excluded3","shadowStrength","$withShelf","Header","_ref4","_excluded4","HeaderRow","_ref5","_excluded5","HeaderCell","_ref6","sortOrder_","sortOrder","onClick","onKeyUp","onSortOrderChange_","onSortOrderChange","sortable","_ref6$snugfit","snugfit","_excluded6","I18n","descriptionId","undefined","isSortable","ariaSortValues","asc","desc","nextValue","role","tabIndex","$sortable","$sortOrder","$snugfit","e","includes","code","Fragment","id","t","Body","_ref7","_excluded7","Checkbox","GroupTitle","_ref8","_excluded8","Group","_ref9","_ref9$colSpan","colSpan","_ref9$depth","depth","_excluded9","$depth","BodyRow","_ref0","_ref0$overdue","overdue","_excluded0","$overdue","BodyCell","_ref1","_ref1$snugfit","_ref1$variant","_excluded1","CurrencyCell","_ref10","value","currencyOptions","_excluded10","$currency","internalCurrencyOptions","_objectSpread","locale","currencyIsoCode","formatter","internalValue","formatCurrency","DateSelectCell","_ref11","className","_ref11$disabled","disabled","errorMessage","_ref11$processing","processing","_excluded11","error","Boolean","$disabled","$error","$size","loading","size","IconCell","_ref12","_excluded12","InputCell","_ref13","_ref13$disabled","_ref13$errorMessage","_ref13$processing","_ref13$size","_excluded13","LinkCell","_ref14","_ref14$href","href","_excluded14","TextCell","PercentCell","_ref15","_excluded15","$percent","SelectCell","_ref16","_ref16$block","block","_ref16$processing","_excluded16","hasClearIcon","label","$placeholder","$hasClearIcon","TextAreaCell","_ref17","_ref17$errorMessage","_ref17$processing","_ref17$resizable","resizable","_excluded17","textareaRef","createRef","setHeight","current","style","height","concat","scrollHeight","$resizable","onBlur","event","resize","rows","_ref18","_excluded18","displayName"],"sources":["../../src/Table/Table.tsx"],"sourcesContent":["import type { CurrencyOptions } from '@procore/globalization-toolkit'\nimport { CurrencyFormatter } from '@procore/globalization-toolkit'\nimport { useId } from '@react-aria/utils'\nimport { VisuallyHidden } from '@react-aria/visually-hidden'\nimport cx from 'classnames'\nimport React from 'react'\nimport type { CheckboxProps } from '../Checkbox'\nimport { Link as LinkElement } from '../Link'\nimport { tableSelectClassName } from '../Select/Select.styles'\nimport { Spinner } from '../Spinner'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport {\n StyledCarat,\n StyledCaratWrapper,\n StyledCheckbox,\n StyledHead,\n StyledIconCell,\n StyledLoadingContainer,\n StyledSelectCellWrapper,\n StyledTable,\n StyledTableBodyCell,\n StyledTableBodyRow,\n StyledTableCellDateInput,\n StyledTableCellInput,\n StyledTableCellSelect,\n StyledTableCellText,\n StyledTableCellTextArea,\n StyledTableGroupRow,\n StyledTableGroupRowContent,\n StyledTableGroupRowHeader,\n StyledTableGroupRowTitle,\n StyledTableHeaderCell,\n StyledTableHeaderCellIconWrapper,\n StyledTableHeaderCellLabel,\n StyledTableHeaderCellSortableContainer,\n StyledTableHeaderCellSortIconAsc,\n StyledTableHeaderCellSortIconDesc,\n StyledTableInlineEditContainer,\n StyledTableInlineEditErrorBox,\n StyledTableWrapper,\n} from './Table.styles'\nimport type {\n BodyCellProps,\n BodyProps,\n BodyRowProps,\n CaratProps,\n ContainerProps,\n CurrencyCellProps,\n DateSelectCellProps,\n GroupProps,\n GroupTitleProps,\n HeaderProps,\n HeaderRowProps,\n IconCellProps,\n InputCellProps,\n LinkCellProps,\n PercentCellProps,\n TableColumnSortOrder,\n TableHeaderCellProps,\n TableProps,\n TableSelectCellProps,\n TableTextCellProps,\n TextAreaCellProps,\n} from './Table.types'\n\nexport const Table_ = React.forwardRef<\n HTMLTableElement,\n React.TableHTMLAttributes<HTMLTableElement> & TableProps\n>(function Table({ children, inline, variant, ...props }, ref) {\n return (\n <StyledTable\n ref={ref}\n {...props}\n $inline={inline}\n $fixed={variant === 'fixed'}\n >\n {children}\n </StyledTable>\n )\n})\n\nexport const Carat = React.forwardRef<\n HTMLDivElement,\n React.SVGAttributes<SVGElement> & CaratProps\n>(function Carat({ expanded = false, ...props }, ref) {\n return (\n <StyledCaratWrapper ref={ref}>\n <StyledCarat $expanded={expanded} {...props} />\n </StyledCaratWrapper>\n )\n})\n\nexport const Container = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & ContainerProps\n>(function Container({ children, shelf = false, ...props }, ref) {\n return (\n <StyledTableWrapper\n {...props}\n ref={ref}\n shadowStrength={0}\n $withShelf={shelf}\n >\n {children}\n </StyledTableWrapper>\n )\n})\n\nexport const Header = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement> & HeaderProps\n>(function Header({ children, ...props }, ref) {\n return (\n <StyledHead ref={ref} {...props}>\n {children}\n </StyledHead>\n )\n})\n\nexport const HeaderRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement> & HeaderRowProps\n>(function HeaderRow({ children, ...props }, ref) {\n return (\n <tr ref={ref} {...props}>\n {children}\n </tr>\n )\n})\n\nexport const HeaderCell = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes<HTMLTableCellElement> & TableHeaderCellProps\n>(function HeaderCell(\n {\n sortOrder: sortOrder_,\n onClick,\n onKeyUp,\n onSortOrderChange: onSortOrderChange_,\n sortable,\n children,\n snugfit = false,\n variant,\n ...props\n },\n ref\n) {\n const I18n = useI18nContext()\n const descriptionId = useId()\n const sortOrder: TableColumnSortOrder | undefined =\n sortOrder_ ?? (variant !== 'snugfit' ? variant : undefined)\n const isSortable = sortOrder !== undefined && sortable !== false\n\n const ariaSortValues = {\n asc: 'ascending',\n desc: 'descending',\n '': 'none',\n } as const\n\n const onSortOrderChange = () => {\n if (!onSortOrderChange_) {\n return\n }\n\n const nextValue =\n sortOrder === '' ? 'asc' : sortOrder === 'asc' ? 'desc' : ''\n onSortOrderChange_(nextValue)\n }\n\n return (\n <StyledTableHeaderCell\n ref={ref}\n {...props}\n role=\"columnheader\"\n aria-sort={isSortable ? ariaSortValues[sortOrder ?? ''] : undefined}\n tabIndex={isSortable ? 0 : undefined}\n aria-describedby={isSortable ? descriptionId : undefined}\n $sortable={isSortable}\n $sortOrder={sortOrder}\n $snugfit={snugfit || variant === 'snugfit'}\n onKeyUp={(e: React.KeyboardEvent<HTMLTableHeaderCellElement>) => {\n if (['Space', 'Enter'].includes(e.code) && isSortable) {\n onSortOrderChange()\n }\n return onKeyUp?.(e)\n }}\n onClick={(e: React.MouseEvent<HTMLTableHeaderCellElement>) => {\n if (isSortable) {\n onSortOrderChange()\n }\n return onClick?.(e)\n }}\n >\n <StyledTableHeaderCellSortableContainer>\n <StyledTableHeaderCellLabel>{children}</StyledTableHeaderCellLabel>\n {isSortable && (\n <>\n <StyledTableHeaderCellIconWrapper aria-hidden=\"true\">\n <StyledTableHeaderCellSortIconAsc />\n <StyledTableHeaderCellSortIconDesc />\n </StyledTableHeaderCellIconWrapper>\n <VisuallyHidden aria-hidden=\"true\" id={descriptionId}>\n {I18n.t('core.table.sortableColumn')}\n </VisuallyHidden>\n </>\n )}\n </StyledTableHeaderCellSortableContainer>\n </StyledTableHeaderCell>\n )\n})\n\nexport const Body = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement> & BodyProps\n>(function Body({ children, ...props }, ref) {\n return (\n <tbody ref={ref} {...props}>\n {children}\n </tbody>\n )\n})\n\nexport const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n function Checkbox(props, ref) {\n return <StyledCheckbox ref={ref} {...props} />\n }\n)\n\nexport const GroupTitle = React.forwardRef<\n HTMLSpanElement,\n React.HTMLAttributes<HTMLSpanElement> & GroupTitleProps\n>(function GroupTitle({ children, ...props }, ref) {\n return (\n <StyledTableGroupRowTitle ref={ref} {...props}>\n {children}\n </StyledTableGroupRowTitle>\n )\n})\n\nexport const Group = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement> & GroupProps\n>(function Group({ children, colSpan = 1000, depth = false, ...props }, ref) {\n return (\n <StyledTableGroupRow ref={ref} $depth={depth} {...props}>\n <td colSpan={colSpan}>\n <StyledTableGroupRowContent>\n <StyledTableGroupRowHeader>{children}</StyledTableGroupRowHeader>\n </StyledTableGroupRowContent>\n </td>\n </StyledTableGroupRow>\n )\n})\n\nexport const BodyRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement> & BodyRowProps\n>(function BodyRow({ children, overdue = false, ...props }, ref) {\n return (\n <StyledTableBodyRow ref={ref} $overdue={overdue} {...props}>\n {children}\n </StyledTableBodyRow>\n )\n})\n\nexport const BodyCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement> & BodyCellProps\n>(function BodyCell(\n { children, snugfit = false, variant = '', ...props },\n ref\n) {\n return (\n <StyledTableBodyCell\n ref={ref}\n $snugfit={snugfit || variant === 'snugfit'}\n {...props}\n >\n {children}\n </StyledTableBodyCell>\n )\n})\n\nexport const CurrencyCell = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & CurrencyCellProps\n>(function CurrencyCell({ children, value, currencyOptions, ...props }, ref) {\n const I18n = useI18nContext()\n\n if (children) {\n return (\n <StyledTableCellText $currency ref={ref} {...props}>\n {children}\n </StyledTableCellText>\n )\n }\n\n const internalCurrencyOptions: CurrencyOptions = {\n locale: I18n.locale,\n currencyIsoCode: 'USD', // fallback to USD if currencyIsoCode is not provided\n ...currencyOptions,\n }\n const formatter = new CurrencyFormatter(internalCurrencyOptions)\n\n const internalValue = value ? formatter.formatCurrency(value) : null\n\n return (\n <StyledTableCellText $currency ref={ref} {...props}>\n {internalValue}\n </StyledTableCellText>\n )\n})\n\nexport const DateSelectCell = React.forwardRef<\n HTMLDivElement,\n React.PropsWithChildren<DateSelectCellProps>\n>(function DateSelectCell(\n {\n children,\n className,\n disabled = false,\n errorMessage,\n processing = false,\n ...props\n },\n ref\n) {\n const error = Boolean(errorMessage)\n return (\n <StyledTableInlineEditContainer\n $disabled={disabled}\n $error={error}\n $size=\"block\"\n className={cx({ disabled, error })}\n >\n {processing && (\n <StyledLoadingContainer>\n <Spinner loading={processing} size=\"md\" />\n </StyledLoadingContainer>\n )}\n <StyledTableCellDateInput\n {...props}\n disabled={processing || disabled}\n ref={ref}\n variant={error ? 'error' : ''}\n />\n {!processing && error && (\n <StyledTableInlineEditErrorBox>\n {errorMessage}\n </StyledTableInlineEditErrorBox>\n )}\n </StyledTableInlineEditContainer>\n )\n})\n\nexport const IconCell = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & IconCellProps\n>(function IconCell({ children, ...props }, ref) {\n return (\n <StyledIconCell ref={ref} {...props}>\n {children}\n </StyledIconCell>\n )\n})\n\nexport const InputCell = React.forwardRef<HTMLInputElement, InputCellProps>(\n function InputCell(\n {\n disabled = false,\n errorMessage = '',\n processing = false,\n size = 'block', // TODO FIX THIS TYPE\n ...props\n },\n ref\n ) {\n const error = Boolean(errorMessage)\n return (\n <StyledTableInlineEditContainer\n $disabled={disabled}\n $error={error}\n $size={size}\n className={cx({ disabled, error })}\n >\n {processing && (\n <StyledLoadingContainer>\n <Spinner loading={processing} size=\"md\" />\n </StyledLoadingContainer>\n )}\n <StyledTableCellInput\n {...props}\n ref={ref}\n disabled={processing || disabled}\n />\n {!processing && error && (\n <StyledTableInlineEditErrorBox $size={size}>\n {errorMessage}\n </StyledTableInlineEditErrorBox>\n )}\n </StyledTableInlineEditContainer>\n )\n }\n)\n\nexport const LinkCell = React.forwardRef<\n HTMLDivElement,\n React.AnchorHTMLAttributes<HTMLAnchorElement> & LinkCellProps\n>(function LinkCell({ children, href = '', ...props }, ref) {\n return (\n <TextCell ref={ref}>\n <LinkElement href={href} {...props}>\n {children}\n </LinkElement>\n </TextCell>\n )\n})\n\nexport const PercentCell = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & PercentCellProps\n>(function PercentCell({ children, ...props }, ref) {\n return (\n <StyledTableCellText $percent ref={ref} {...props}>\n {children}\n </StyledTableCellText>\n )\n})\n\nexport const SelectCell = React.forwardRef<\n HTMLDivElement,\n TableSelectCellProps\n>(function SelectCell(\n {\n block = true,\n children,\n disabled,\n errorMessage,\n className,\n processing = false,\n ...props\n },\n ref\n) {\n const error = Boolean(errorMessage)\n const hasClearIcon = !disabled && !props.loading && Boolean(props.label)\n return (\n <StyledTableInlineEditContainer\n $disabled={disabled}\n $error={error}\n $size=\"block\"\n className={cx({ disabled, error })}\n >\n {processing && (\n <StyledLoadingContainer>\n <Spinner loading={processing} size=\"md\" />\n </StyledLoadingContainer>\n )}\n <StyledSelectCellWrapper>\n <StyledTableCellSelect\n {...props}\n $placeholder={!props.label}\n $hasClearIcon={hasClearIcon}\n block={block}\n className={cx(tableSelectClassName, className)}\n disabled={processing || disabled}\n error={error}\n ref={ref}\n >\n {children}\n </StyledTableCellSelect>\n </StyledSelectCellWrapper>\n {!processing && errorMessage && (\n <StyledTableInlineEditErrorBox>\n {errorMessage}\n </StyledTableInlineEditErrorBox>\n )}\n </StyledTableInlineEditContainer>\n )\n})\n\nexport const TextAreaCell = React.forwardRef<\n HTMLTextAreaElement,\n React.TextareaHTMLAttributes<HTMLTextAreaElement> & TextAreaCellProps\n>(function TextAreaCell(\n {\n disabled,\n errorMessage = '',\n processing = false,\n resizable = false,\n ...props\n },\n ref\n) {\n const textareaRef =\n (ref as React.RefObject<HTMLTextAreaElement>) ||\n React.createRef<HTMLTextAreaElement>()\n\n const setHeight = () => {\n if (textareaRef && textareaRef.current) {\n textareaRef.current.style.height = 'auto'\n textareaRef.current.style.height = `${textareaRef.current.scrollHeight}px`\n }\n }\n const error = Boolean(errorMessage)\n return (\n <StyledTableInlineEditContainer\n $disabled={disabled}\n $error={error}\n $size=\"block\"\n className={cx({ disabled, error })}\n >\n {processing && (\n <StyledLoadingContainer>\n <Spinner loading={processing} size=\"md\" />\n </StyledLoadingContainer>\n )}\n <StyledTableCellTextArea\n {...props}\n $resizable={resizable}\n disabled={processing || disabled}\n onBlur={(event: React.FocusEvent<HTMLTextAreaElement>) => {\n setHeight()\n props.onBlur && props.onBlur(event)\n }}\n ref={textareaRef}\n resize=\"none\"\n rows={1}\n />\n {!processing && error && (\n <StyledTableInlineEditErrorBox>\n {errorMessage}\n </StyledTableInlineEditErrorBox>\n )}\n </StyledTableInlineEditContainer>\n )\n})\n\nexport const TextCell = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & TableTextCellProps\n>(function TextCell({ children, ...props }, ref) {\n return (\n <StyledTableCellText ref={ref} {...props}>\n {children}\n </StyledTableCellText>\n )\n})\n\nTable_.displayName = 'Table'\n\nBody.displayName = 'Table.Body'\n\nBodyCell.displayName = 'Table.BodyCell'\n\nBodyRow.displayName = 'Table.BodyRow'\n\nCarat.displayName = 'Table.Carat'\n\nCheckbox.displayName = 'Table.Checkbox'\n\nContainer.displayName = 'Table.Container'\n\nCurrencyCell.displayName = 'Table.CurrencyCell'\n\nDateSelectCell.displayName = 'Table.DateSelect'\n\nGroup.displayName = 'Table.Group'\n\nGroupTitle.displayName = 'Table.GroupTitle'\n\nHeader.displayName = 'Table.Header'\n\nHeaderCell.displayName = 'Table.HeaderCell'\n\nHeaderRow.displayName = 'Table.HeaderRow'\n\nIconCell.displayName = 'Table.IconCell'\n\nInputCell.displayName = 'Table.InputCell'\n\nLinkCell.displayName = 'Table.LinkCell'\n\nPercentCell.displayName = 'Table.ParentCell'\n\nTextAreaCell.displayName = 'Table.TextAreaCell'\n\nTextCell.displayName = 'Table.TextCell'\n\n/**\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-table--demo)\n\n */\nexport const Table = addSubcomponents(\n {\n Body,\n BodyCell,\n BodyRow,\n Carat,\n Checkbox,\n Container,\n CurrencyCell,\n DateSelectCell,\n Group,\n GroupTitle,\n Header,\n HeaderCell,\n HeaderRow,\n IconCell,\n InputCell,\n LinkCell,\n PercentCell,\n SelectCell,\n TextAreaCell,\n TextCell,\n },\n Table_\n)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAASA,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,KAAK,QAAQ,mBAAmB;AACzC,SAASC,cAAc,QAAQ,6BAA6B;AAC5D,OAAOC,EAAE,MAAM,YAAY;AAC3B,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,IAAI,IAAIC,WAAW,QAAQ,SAAS;AAC7C,SAASC,oBAAoB,QAAQ,yBAAyB;AAC9D,SAASC,OAAO,QAAQ,YAAY;AACpC,SAASC,cAAc,QAAQ,gBAAgB;AAC/C,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SACEC,WAAW,EACXC,kBAAkB,EAClBC,cAAc,EACdC,UAAU,EACVC,cAAc,EACdC,sBAAsB,EACtBC,uBAAuB,EACvBC,WAAW,EACXC,mBAAmB,EACnBC,kBAAkB,EAClBC,wBAAwB,EACxBC,oBAAoB,EACpBC,qBAAqB,EACrBC,mBAAmB,EACnBC,uBAAuB,EACvBC,mBAAmB,EACnBC,0BAA0B,EAC1BC,yBAAyB,EACzBC,wBAAwB,EACxBC,qBAAqB,EACrBC,gCAAgC,EAChCC,0BAA0B,EAC1BC,sCAAsC,EACtCC,gCAAgC,EAChCC,iCAAiC,EACjCC,8BAA8B,EAC9BC,6BAA6B,EAC7BC,kBAAkB,QACb,gBAAgB;AAyBvB,OAAO,IAAMC,MA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A,OAAO;EACPjE,KAAK,EAALA,KAAK;EACLqD,QAAQ,EAARA,QAAQ;EACR/C,SAAS,EAATA,SAAS;EACTsE,YAAY,EAAZA,YAAY;EACZa,cAAc,EAAdA,cAAc;EACdhC,KAAK,EAALA,KAAK;EACLH,UAAU,EAAVA,UAAU;EACVzC,MAAM,EAANA,MAAM;EACNM,UAAU,EAAVA,UAAU;EACVH,SAAS,EAATA,SAAS;EACTyF,QAAQ,EAARA,QAAQ;EACRG,SAAS,EAATA,SAAS;EACTO,QAAQ,EAARA,QAAQ;EACRM,WAAW,EAAXA,WAAW;EACXI,UAAU,EAAVA,UAAU;EACVU,YAAY,EAAZA,YAAY;EACZf,QAAQ,EAARA;AACF,CAAC,EACDvI,MACF,CAAC"}
@@ -49,17 +49,17 @@ export declare const StyledTableCellSelect: import("styled-components/dist/types
49
49
  Option: import("react").ForwardRefExoticComponent<import("../Select").SelectOptionProps & import("react").RefAttributes<HTMLDivElement>>;
50
50
  OptGroup: import("react").ForwardRefExoticComponent<import("../_utils/types").Props & import("react").RefAttributes<HTMLDivElement>>;
51
51
  }, keyof import("react").Component<any, {}, any>>;
52
- export declare const StyledTableCellInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../_utils/types").InputAttributes & import("../Input").InputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
52
+ export declare const StyledTableCellInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../Input").InputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
53
53
  ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
54
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../_utils/types").InputAttributes & import("../Input").InputProps & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
54
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Input").InputProps & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
55
55
  export declare const StyledTableCellDateInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../DateSelect").DateSelectProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
56
56
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
57
57
  }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../DateSelect").DateSelectProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
58
- export declare const StyledTableCellTextArea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("../_utils/types").TextAreaAttributes & import("../TextArea").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>, "ref"> & {
58
+ export declare const StyledTableCellTextArea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("../TextArea").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>, "ref"> & {
59
59
  ref?: ((instance: HTMLTextAreaElement | null) => void) | import("react").RefObject<HTMLTextAreaElement> | null | undefined;
60
60
  }, {
61
61
  $resizable: boolean;
62
- }>> & string & Omit<import("react").ForwardRefExoticComponent<import("../_utils/types").TextAreaAttributes & import("../TextArea").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>, keyof import("react").Component<any, {}, any>>;
62
+ }>> & string & Omit<import("react").ForwardRefExoticComponent<import("../TextArea").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>, keyof import("react").Component<any, {}, any>>;
63
63
  export declare const StyledTableCellText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
64
64
  $percent?: boolean | undefined;
65
65
  $currency?: boolean | undefined;
@@ -84,11 +84,11 @@ export declare const StyledTableGroupRowTitle: import("styled-components/dist/ty
84
84
  export declare const StyledTableGroupRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
85
85
  $depth?: number | boolean | undefined;
86
86
  }>> & string;
87
- export declare const StyledTableWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("..").DivAttributes & import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
87
+ export declare const StyledTableWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
88
88
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
89
89
  }, {
90
90
  $withShelf: boolean;
91
- }>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").DivAttributes & import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
91
+ }>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
92
92
  export declare const StyledTable: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {
93
93
  $inline?: boolean | undefined;
94
94
  $fixed: boolean;
@@ -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-12_25_0__sc-9c7xd-0"
50
+ componentId: "core-12_25_2__sc-9c7xd-0"
51
51
  })([""]);
52
52
  export var StyledTableHeaderCellLabel = /*#__PURE__*/styled.div.withConfig({
53
53
  displayName: "StyledTableHeaderCellLabel",
54
- componentId: "core-12_25_0__sc-9c7xd-1"
54
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-2"
58
+ componentId: "core-12_25_2__sc-9c7xd-2"
59
59
  })([""]);
60
60
  export var StyledTableBodyCell = /*#__PURE__*/styled.td.withConfig({
61
61
  displayName: "StyledTableBodyCell",
62
- componentId: "core-12_25_0__sc-9c7xd-3"
62
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-4"
69
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-5"
88
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-6"
92
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-7"
96
+ componentId: "core-12_25_2__sc-9c7xd-7"
97
97
  })([""]);
98
98
  export var StyledHead = /*#__PURE__*/styled.thead.withConfig({
99
99
  displayName: "StyledHead",
100
- componentId: "core-12_25_0__sc-9c7xd-8"
100
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-9"
104
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-10"
108
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-11"
116
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-12"
134
+ componentId: "core-12_25_2__sc-9c7xd-12"
135
135
  })(["", ""], cellInputCSS);
136
136
  export var StyledTableCellDateInput = /*#__PURE__*/styled(DateSelect).withConfig({
137
137
  displayName: "StyledTableCellDateInput",
138
- componentId: "core-12_25_0__sc-9c7xd-13"
138
+ componentId: "core-12_25_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 (_ref10) {
140
140
  var error = _ref10.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-12_25_0__sc-9c7xd-14"
145
+ componentId: "core-12_25_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 (_ref11) {
147
147
  var $resizable = _ref11.$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-12_25_0__sc-9c7xd-15"
152
+ componentId: "core-12_25_2__sc-9c7xd-15"
153
153
  })(["margin:", "px;display:flex;color:", ";", ""], spacing.lg, tableCellTextColor, function (_ref12) {
154
154
  var $percent = _ref12.$percent,
155
155
  $currency = _ref12.$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-12_25_0__sc-9c7xd-16"
160
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-17"
164
+ componentId: "core-12_25_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-12_25_0__sc-9c7xd-18"
168
+ componentId: "core-12_25_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 (_ref13) {
170
170
  var $size = _ref13.$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-12_25_0__sc-9c7xd-19"
186
+ componentId: "core-12_25_2__sc-9c7xd-19"
187
187
  })(["background-color:", ";margin:", "px ", "px;position:relative;", " ", ""], tableBgColor, spacing.sm, spacing.xs, function (_ref14) {
188
188
  var $error = _ref14.$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-12_25_0__sc-9c7xd-20"
210
+ componentId: "core-12_25_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 (_ref16) {
212
212
  var $overdue = _ref16.$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-12_25_0__sc-9c7xd-21"
217
+ componentId: "core-12_25_2__sc-9c7xd-21"
218
218
  })([""]);
219
219
  export var StyledTableGroupRowHeader = /*#__PURE__*/styled.div.withConfig({
220
220
  displayName: "StyledTableGroupRowHeader",
221
- componentId: "core-12_25_0__sc-9c7xd-22"
221
+ componentId: "core-12_25_2__sc-9c7xd-22"
222
222
  })([""]);
223
223
  export var StyledTableGroupRowTitle = /*#__PURE__*/styled.span.withConfig({
224
224
  displayName: "StyledTableGroupRowTitle",
225
- componentId: "core-12_25_0__sc-9c7xd-23"
225
+ componentId: "core-12_25_2__sc-9c7xd-23"
226
226
  })([""]);
227
227
  export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
228
228
  displayName: "StyledTableGroupRow",
229
- componentId: "core-12_25_0__sc-9c7xd-24"
229
+ componentId: "core-12_25_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 (_ref17) {
231
231
  var $depth = _ref17.$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-12_25_0__sc-9c7xd-25"
239
+ componentId: "core-12_25_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 (_ref18) {
241
241
  var $withShelf = _ref18.$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-12_25_0__sc-9c7xd-26"
248
+ componentId: "core-12_25_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 (_ref19) {
250
250
  var $fixed = _ref19.$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-12_25_0__sc-9c7xd-27"
258
+ componentId: "core-12_25_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
@@ -5,7 +5,7 @@ import type { InputProps } from '../Input';
5
5
  import type { SelectProps } from '../Select';
6
6
  import type { Props, Size } from '../_utils/types';
7
7
  export declare type InputCellSize = Extract<Size, 'block' | 'lg' | 'md' | 'sm' | 'xl' | 'xs'>;
8
- declare type TableVariant = '' | 'fixed';
8
+ export declare type TableVariant = '' | 'fixed';
9
9
  export declare type TableColumnSortOrder = 'asc' | 'desc' | '';
10
10
  export declare type TableCellVariant = '' | 'asc' | 'desc' | 'snugfit';
11
11
  export interface BodyCellProps extends Props {
@@ -203,4 +203,3 @@ export interface TextAreaCellProps extends Props {
203
203
  }
204
204
  export interface TableTextCellProps extends Props {
205
205
  }
206
- export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Table.types.js","names":[],"sources":["../../src/Table/Table.types.ts"],"sourcesContent":["import type { CurrencyOptions } from '@procore/globalization-toolkit'\nimport 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 Omit<Props, 'children'> {\n /**\n * @deprecated Please use `value` prop instead\n * @deprecatedSince 11.28.0\n */\n children?: React.ReactNode\n\n /**\n * Optional formatting configs\n * @since 11.28.0\n */\n currencyOptions?: CurrencyOptions\n\n /**\n * Unformatted value to be displayed\n * @since 11.28.0\n */\n value?: number\n}\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 TableHeaderCellProps 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 TableSelectCellProps 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 { CurrencyOptions } from '@procore/globalization-toolkit'\nimport 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\nexport type 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 Omit<Props, 'children'> {\n /**\n * @deprecated Please use `value` prop instead\n * @deprecatedSince 11.28.0\n */\n children?: React.ReactNode\n\n /**\n * Optional formatting configs\n * @since 11.28.0\n */\n currencyOptions?: CurrencyOptions\n\n /**\n * Unformatted value to be displayed\n * @since 11.28.0\n */\n value?: number\n}\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 TableHeaderCellProps 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 TableSelectCellProps 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,2 +1,2 @@
1
1
  export { Table } from './Table';
2
- export type { TableCellVariant as TableCellVariantProp, TableColumnSortOrder, TableHeaderCellProps, TableProps, TableSelectCellProps, TableTextCellProps, } from './Table.types';
2
+ export type { BodyCellProps as TableBodyCellProps, ContainerProps as TableContainerProps, HeaderProps as TableHeaderProps, TableCellVariant as TableCellVariantProp, TableColumnSortOrder, TableHeaderCellProps, TableProps, TableSelectCellProps, TableTextCellProps, } from './Table.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Table"],"sources":["../../src/Table/index.ts"],"sourcesContent":["export { Table } from './Table'\nexport type {\n TableCellVariant as TableCellVariantProp,\n TableColumnSortOrder,\n TableHeaderCellProps,\n TableProps,\n TableSelectCellProps,\n TableTextCellProps,\n} from './Table.types'\n"],"mappings":"AAAA,SAASA,KAAK,QAAQ,SAAS"}
1
+ {"version":3,"file":"index.js","names":["Table"],"sources":["../../src/Table/index.ts"],"sourcesContent":["export { Table } from './Table'\nexport type {\n BodyCellProps as TableBodyCellProps,\n ContainerProps as TableContainerProps,\n HeaderProps as TableHeaderProps,\n TableCellVariant as TableCellVariantProp,\n TableColumnSortOrder,\n TableHeaderCellProps,\n TableProps,\n TableSelectCellProps,\n TableTextCellProps,\n} from './Table.types'\n"],"mappings":"AAAA,SAASA,KAAK,QAAQ,SAAS"}
@@ -1,15 +1,14 @@
1
1
  import React from 'react';
2
- import type { DivAttributes, Props } from '../_utils/types';
3
- export declare const Shelf: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
4
- export declare const Head: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
5
- export declare const HeadCell: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
6
- export declare const Body: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
7
- export declare const BodyCell: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
8
- export declare const BodyRow: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
9
- export declare const TableShelf: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>> & {
10
- Body: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
11
- BodyCell: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
12
- BodyRow: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
13
- Head: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
14
- HeadCell: React.ForwardRefExoticComponent<DivAttributes & Props & React.RefAttributes<HTMLDivElement>>;
2
+ export declare const Shelf: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare const Head: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ export declare const HeadCell: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
+ export declare const Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
+ export declare const BodyCell: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ export declare const BodyRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export declare const TableShelf: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>> & {
9
+ Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
10
+ BodyCell: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
11
+ BodyRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
12
+ Head: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
13
+ HeadCell: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
14
  };
@@ -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 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,UAA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ACDb,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 {\n StyledBodyCell,\n StyledBodyRow,\n StyledHead,\n StyledHeadCell,\n StyledShelf,\n} from './TableShelf.styles'\n\nexport const Shelf = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function Shelf({ children, ...props }, ref) {\n return (\n <StyledShelf ref={ref} {...props}>\n {children}\n </StyledShelf>\n )\n})\n\nexport const Head = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function Head({ children, ...props }, ref) {\n return (\n <StyledHead ref={ref}>\n <StyledBodyRow {...props}>{children}</StyledBodyRow>\n </StyledHead>\n )\n})\n\nexport const HeadCell = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function HeadCell({ children, ...props }, ref) {\n return (\n <StyledHeadCell ref={ref} {...props}>\n {children}\n </StyledHeadCell>\n )\n})\n\nexport const Body = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function Body({ children, ...props }, ref) {\n return (\n <div ref={ref} {...props}>\n {children}\n </div>\n )\n})\n\nexport const BodyCell = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function BodyCell({ children, ...props }, ref) {\n return (\n <StyledBodyCell ref={ref} {...props}>\n {children}\n </StyledBodyCell>\n )\n})\n\nexport const BodyRow = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function BodyRow({ children, ...props }, ref) {\n return (\n <StyledBodyRow ref={ref} {...props}>\n {children}\n </StyledBodyRow>\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;AAC7D,SACEC,cAAc,EACdC,aAAa,EACbC,UAAU,EACVC,cAAc,EACdC,WAAW,QACN,qBAAqB;AAE5B,OAAO,IAAMC,KAAK,gBAAGP,KAAK,CAACQ,UAAU,CAGnC,SAASD,KAAKA,CAAAE,IAAA,EAAyBC,GAAG,EAAE;EAAA,IAA3BC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EACnC,oBACEd,KAAA,CAAAe,aAAA,CAACT,WAAW,EAAAU,QAAA;IAACN,GAAG,EAAEA;EAAI,GAAKE,KAAK,GAC7BD,QACU,CAAC;AAElB,CAAC,CAAC;AAEF,OAAO,IAAMM,IAAI,gBAAGjB,KAAK,CAACQ,UAAU,CAGlC,SAASS,IAAIA,CAAAC,KAAA,EAAyBR,GAAG,EAAE;EAAA,IAA3BC,QAAQ,GAAAO,KAAA,CAARP,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAK,KAAA,EAAAC,UAAA;EAClC,oBACEnB,KAAA,CAAAe,aAAA,CAACX,UAAU;IAACM,GAAG,EAAEA;EAAI,gBACnBV,KAAA,CAAAe,aAAA,CAACZ,aAAa,EAAKS,KAAK,EAAGD,QAAwB,CACzC,CAAC;AAEj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A,CAAAiB,KAAA,EAAAC,UAAA;EACrC,oBACE/B,KAAA,CAAAe,aAAA,CAACZ,aAAa,EAAAa,QAAA;IAACN,GAAG,EAAEA;EAAI,GAAKE,KAAK,GAC/BD,QACY,CAAC;AAEpB,CAAC,CAAC;AAEFJ,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-12_25_0__sc-a6498a-0"
7
+ componentId: "core-12_25_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-12_25_0__sc-a6498a-1"
11
+ componentId: "core-12_25_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-12_25_0__sc-a6498a-2"
15
+ componentId: "core-12_25_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-12_25_0__sc-a6498a-3"
19
+ componentId: "core-12_25_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-12_25_0__sc-a6498a-4"
23
+ componentId: "core-12_25_2__sc-a6498a-4"
24
24
  })(["padding:", "px;line-height:13px;"], spacing.lg);
25
25
  //# sourceMappingURL=TableShelf.styles.js.map