@procore/core-react 12.20.4 → 12.21.0-cdn.0

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 (232) hide show
  1. package/dist/@types/global.d.js.map +1 -1
  2. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  3. package/dist/Avatar/Avatar.styles.js +5 -5
  4. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  5. package/dist/Badge/Badge.styles.js +2 -2
  6. package/dist/Banner/Banner.js +34 -34
  7. package/dist/Banner/Banner.js.map +1 -1
  8. package/dist/Banner/Banner.styles.js +10 -10
  9. package/dist/Box/Box.styles.js +1 -1
  10. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  11. package/dist/Button/Button.styles.js +5 -5
  12. package/dist/Calendar/Calendar.styles.js +8 -8
  13. package/dist/Card/Card.styles.js +1 -1
  14. package/dist/Checkbox/Checkbox.styles.js +14 -14
  15. package/dist/Checkbox/Checkbox.styles.js.map +1 -1
  16. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  17. package/dist/ContactItem/ContactItem.styles.js +5 -5
  18. package/dist/Content/Content.styles.js +2 -2
  19. package/dist/DateInput/DateInput.styles.js +6 -6
  20. package/dist/DetailPage/DetailPage.styles.js +7 -7
  21. package/dist/Dropdown/Dropdown.styles.js +3 -3
  22. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  23. package/dist/Dropzone/Dropzone.js +1 -1
  24. package/dist/Dropzone/Dropzone.styles.js +9 -9
  25. package/dist/EmptyState/EmptyState.styles.js +6 -6
  26. package/dist/Field/Field.styles.js +3 -3
  27. package/dist/FileList/FileList.styles.js +4 -4
  28. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  29. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  30. package/dist/FileSelect/FileSelect.js +8 -8
  31. package/dist/FileSelect/FileSelect.js.map +1 -1
  32. package/dist/FileSelect/FileSelect.styles.js +2 -2
  33. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  34. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  35. package/dist/FileSelect/GridSource/GridSource.js +1 -1
  36. package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
  37. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  38. package/dist/FileSelect/LocalSource/LocalSource.js +8 -8
  39. package/dist/FileSelect/LocalSource/LocalSource.js.map +1 -1
  40. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  41. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  42. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  43. package/dist/FileSelect/TreeSource/TreeSource.js +1 -1
  44. package/dist/FileSelect/TreeSource/TreeSource.js.map +1 -1
  45. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  46. package/dist/FileSelect/storyHelpers.js +1 -1
  47. package/dist/FileSelect/storyHelpers.js.map +1 -1
  48. package/dist/FileToken/FileToken.styles.js +4 -4
  49. package/dist/FilterToken/FilterToken.styles.js +5 -5
  50. package/dist/FlexList/FlexList.styles.js +1 -1
  51. package/dist/Form/Form.js +339 -339
  52. package/dist/Form/Form.js.map +1 -1
  53. package/dist/Form/Form.styles.js +14 -14
  54. package/dist/Form/StyledFormikForm.styles.js +2 -2
  55. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  56. package/dist/Grid/Grid.styles.js +2 -2
  57. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  58. package/dist/Input/Input.styles.js +1 -1
  59. package/dist/Link/Link.styles.js +1 -1
  60. package/dist/ListPage/ListPage.styles.js +8 -8
  61. package/dist/Loader/Loader.styles.js +2 -2
  62. package/dist/MenuImperative/MenuImperative.d.ts +1 -0
  63. package/dist/MenuImperative/MenuImperative.js +1 -1
  64. package/dist/MenuImperative/MenuImperative.js.map +1 -1
  65. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  66. package/dist/Modal/Modal.styles.js +19 -19
  67. package/dist/Modal/Modal.styles.js.map +1 -1
  68. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  69. package/dist/NextMenu/NextMenu.styles.js +3 -3
  70. package/dist/Notation/Notation.js +1 -1
  71. package/dist/NumberInput/NumberInput.styles.js +7 -7
  72. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  73. package/dist/PageLayout/PageLayout.js +12 -12
  74. package/dist/PageLayout/PageLayout.js.map +1 -1
  75. package/dist/PageLayout/PageLayout.styles.js +25 -25
  76. package/dist/PageLayout/PageLayout.styles.js.map +1 -1
  77. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  78. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  79. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  80. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  81. package/dist/Pagination/Pagination.styles.js +5 -5
  82. package/dist/Pagination/PaginationSelect.js +2 -2
  83. package/dist/Pagination/PaginationSelect.js.map +1 -1
  84. package/dist/Panel/Panel.js +15 -15
  85. package/dist/Panel/Panel.js.map +1 -1
  86. package/dist/Panel/Panel.styles.js +11 -11
  87. package/dist/Pill/Pill.styles.js +2 -2
  88. package/dist/PillSelect/PillSelect.styles.js +4 -4
  89. package/dist/Popover/Popover.styles.js +2 -2
  90. package/dist/Portal/Portal.styles.js +1 -1
  91. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  92. package/dist/RadioButton/RadioButton.styles.js +3 -3
  93. package/dist/Required/Required.styles.js +3 -3
  94. package/dist/Search/Search.styles.js +5 -5
  95. package/dist/Section/Section.styles.js +7 -7
  96. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  97. package/dist/Select/Select.styles.js +11 -11
  98. package/dist/Select/Select.styles.js.map +1 -1
  99. package/dist/Semantic/Semantic.styles.js +9 -9
  100. package/dist/Slider/Slider.styles.js +5 -5
  101. package/dist/Spinner/Spinner.styles.js +7 -7
  102. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  103. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  104. package/dist/SuperSelect/SuperSelect.styles.js +66 -66
  105. package/dist/SuperSelect/SuperSelect.styles.js.map +1 -1
  106. package/dist/SuperSelect/useSuperSelect.js +30 -30
  107. package/dist/SuperSelect/useSuperSelect.js.map +1 -1
  108. package/dist/Switch/Switch.styles.js +4 -4
  109. package/dist/Table/Table.js +80 -80
  110. package/dist/Table/Table.js.map +1 -1
  111. package/dist/Table/Table.styles.js +56 -56
  112. package/dist/Table/Table.styles.js.map +1 -1
  113. package/dist/TableShelf/TableShelf.styles.js +5 -5
  114. package/dist/Tabs/Tabs.styles.js +15 -15
  115. package/dist/Tearsheet/Tearsheet.js +1 -1
  116. package/dist/Tearsheet/Tearsheet.js.map +1 -1
  117. package/dist/Tearsheet/Tearsheet.styles.js +9 -9
  118. package/dist/Tearsheet/Tearsheet.styles.js.map +1 -1
  119. package/dist/TextArea/TextArea.styles.js +1 -1
  120. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  121. package/dist/Thumbnail/Thumbnail.hooks.d.ts +6 -6
  122. package/dist/Thumbnail/Thumbnail.styles.js +55 -55
  123. package/dist/Thumbnail/Thumbnail.styles.js.map +1 -1
  124. package/dist/ThumbnailGrid/ThumbnailGrid.js +16 -16
  125. package/dist/ThumbnailGrid/ThumbnailGrid.js.map +1 -1
  126. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  127. package/dist/TieredSelect/TierSelectionTieredSelect.js +7 -7
  128. package/dist/TieredSelect/TierSelectionTieredSelect.js.map +1 -1
  129. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  130. package/dist/Tile/Tile.styles.js +8 -8
  131. package/dist/Title/Title.styles.js +7 -7
  132. package/dist/Toast/Toast.styles.js +3 -3
  133. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  134. package/dist/Token/Token.styles.js +3 -3
  135. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  136. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  137. package/dist/Tooltip/Tooltip.styles.js +2 -2
  138. package/dist/Tree/Tree.hooks.js +1 -1
  139. package/dist/Tree/Tree.hooks.js.map +1 -1
  140. package/dist/Tree/Tree.js +12 -12
  141. package/dist/Tree/Tree.js.map +1 -1
  142. package/dist/Tree/Tree.styles.js +9 -9
  143. package/dist/Typeahead/Typeahead.styles.js +3 -3
  144. package/dist/Typography/Typography.styles.js +1 -1
  145. package/dist/Typography/Typography.table.story.js +2 -2
  146. package/dist/_hooks/I18n.d.ts +26 -9
  147. package/dist/_hooks/I18n.js +44 -26
  148. package/dist/_hooks/I18n.js.map +1 -1
  149. package/dist/_hooks/useFileUploader.js +1 -1
  150. package/dist/_hooks/useFileUploader.js.map +1 -1
  151. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  152. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  153. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  154. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  155. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  156. package/dist/_typedoc/Box/Box.types.json +68 -68
  157. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  158. package/dist/_typedoc/Button/Button.types.json +13 -13
  159. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  160. package/dist/_typedoc/Card/Card.types.json +6 -6
  161. package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
  162. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  163. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  164. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  165. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  166. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  167. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  168. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  169. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  170. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  171. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  172. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  173. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  174. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  175. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  176. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  177. package/dist/_typedoc/Form/Form.types.json +813 -813
  178. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  179. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  180. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  181. package/dist/_typedoc/Input/Input.types.json +2 -2
  182. package/dist/_typedoc/Link/Link.types.json +4 -4
  183. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  184. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  185. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  186. package/dist/_typedoc/Modal/Modal.types.json +46 -46
  187. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  188. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  189. package/dist/_typedoc/NumberInput/NumberInput.types.json +43 -43
  190. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
  191. package/dist/_typedoc/PageLayout/PageLayout.types.json +29 -29
  192. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  193. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  194. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  195. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  196. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  197. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  198. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  199. package/dist/_typedoc/Required/Required.types.json +5 -5
  200. package/dist/_typedoc/Search/Search.types.json +19 -19
  201. package/dist/_typedoc/Section/Section.types.json +15 -15
  202. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  203. package/dist/_typedoc/Select/Select.types.json +60 -60
  204. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  205. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  206. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  207. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +12 -12
  208. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  209. package/dist/_typedoc/Table/Table.types.json +101 -101
  210. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  211. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  212. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  213. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  214. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  215. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  216. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  217. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  218. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  219. package/dist/_typedoc/Title/Title.types.json +1 -1
  220. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  221. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  222. package/dist/_typedoc/Token/Token.types.json +4 -4
  223. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  224. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  225. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  226. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  227. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  228. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  229. package/dist/_typedoc/_utils/types.json +3 -3
  230. package/dist/_utils/runInQueue.js +1 -1
  231. package/dist/_utils/runInQueue.js.map +1 -1
  232. package/package.json +4 -1
@@ -8,17 +8,17 @@ var _excluded = ["children", "inline", "variant"],
8
8
  _excluded7 = ["children"],
9
9
  _excluded8 = ["children"],
10
10
  _excluded9 = ["children", "colSpan", "depth"],
11
- _excluded10 = ["children", "overdue"],
12
- _excluded11 = ["children", "snugfit", "variant"],
13
- _excluded12 = ["children", "value", "currencyOptions"],
14
- _excluded13 = ["children", "className", "disabled", "errorMessage", "processing"],
15
- _excluded14 = ["children"],
16
- _excluded15 = ["disabled", "errorMessage", "processing", "size"],
17
- _excluded16 = ["children", "href"],
18
- _excluded17 = ["children"],
19
- _excluded18 = ["block", "children", "disabled", "errorMessage", "className", "processing"],
20
- _excluded19 = ["disabled", "errorMessage", "processing", "resizable"],
21
- _excluded20 = ["children"];
11
+ _excluded0 = ["children", "overdue"],
12
+ _excluded1 = ["children", "snugfit", "variant"],
13
+ _excluded10 = ["children", "value", "currencyOptions"],
14
+ _excluded11 = ["children", "className", "disabled", "errorMessage", "processing"],
15
+ _excluded12 = ["children"],
16
+ _excluded13 = ["disabled", "errorMessage", "processing", "size"],
17
+ _excluded14 = ["children", "href"],
18
+ _excluded15 = ["children"],
19
+ _excluded16 = ["block", "children", "disabled", "errorMessage", "className", "processing"],
20
+ _excluded17 = ["disabled", "errorMessage", "processing", "resizable"],
21
+ _excluded18 = ["children"];
22
22
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23
23
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
24
24
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
@@ -174,33 +174,33 @@ export var Group = /*#__PURE__*/React.forwardRef(function Group(_ref9, ref) {
174
174
  colSpan: colSpan
175
175
  }, /*#__PURE__*/React.createElement(StyledTableGroupRowContent, null, /*#__PURE__*/React.createElement(StyledTableGroupRowHeader, null, children))));
176
176
  });
177
- export var BodyRow = /*#__PURE__*/React.forwardRef(function BodyRow(_ref10, ref) {
178
- var children = _ref10.children,
179
- _ref10$overdue = _ref10.overdue,
180
- overdue = _ref10$overdue === void 0 ? false : _ref10$overdue,
181
- props = _objectWithoutProperties(_ref10, _excluded10);
177
+ export var BodyRow = /*#__PURE__*/React.forwardRef(function BodyRow(_ref0, ref) {
178
+ var children = _ref0.children,
179
+ _ref0$overdue = _ref0.overdue,
180
+ overdue = _ref0$overdue === void 0 ? false : _ref0$overdue,
181
+ props = _objectWithoutProperties(_ref0, _excluded0);
182
182
  return /*#__PURE__*/React.createElement(StyledTableBodyRow, _extends({
183
183
  ref: ref,
184
184
  $overdue: overdue
185
185
  }, props), children);
186
186
  });
187
- export var BodyCell = /*#__PURE__*/React.forwardRef(function BodyCell(_ref11, ref) {
188
- var children = _ref11.children,
189
- _ref11$snugfit = _ref11.snugfit,
190
- snugfit = _ref11$snugfit === void 0 ? false : _ref11$snugfit,
191
- _ref11$variant = _ref11.variant,
192
- variant = _ref11$variant === void 0 ? '' : _ref11$variant,
193
- props = _objectWithoutProperties(_ref11, _excluded11);
187
+ export var BodyCell = /*#__PURE__*/React.forwardRef(function BodyCell(_ref1, ref) {
188
+ var children = _ref1.children,
189
+ _ref1$snugfit = _ref1.snugfit,
190
+ snugfit = _ref1$snugfit === void 0 ? false : _ref1$snugfit,
191
+ _ref1$variant = _ref1.variant,
192
+ variant = _ref1$variant === void 0 ? '' : _ref1$variant,
193
+ props = _objectWithoutProperties(_ref1, _excluded1);
194
194
  return /*#__PURE__*/React.createElement(StyledTableBodyCell, _extends({
195
195
  ref: ref,
196
196
  $snugfit: snugfit || variant === 'snugfit'
197
197
  }, props), children);
198
198
  });
199
- export var CurrencyCell = /*#__PURE__*/React.forwardRef(function CurrencyCell(_ref12, ref) {
200
- var children = _ref12.children,
201
- value = _ref12.value,
202
- currencyOptions = _ref12.currencyOptions,
203
- props = _objectWithoutProperties(_ref12, _excluded12);
199
+ export var CurrencyCell = /*#__PURE__*/React.forwardRef(function CurrencyCell(_ref10, ref) {
200
+ var children = _ref10.children,
201
+ value = _ref10.value,
202
+ currencyOptions = _ref10.currencyOptions,
203
+ props = _objectWithoutProperties(_ref10, _excluded10);
204
204
  var I18n = useI18nContext();
205
205
  if (children) {
206
206
  return /*#__PURE__*/React.createElement(StyledTableCellText, _extends({
@@ -219,15 +219,15 @@ export var CurrencyCell = /*#__PURE__*/React.forwardRef(function CurrencyCell(_r
219
219
  ref: ref
220
220
  }, props), internalValue);
221
221
  });
222
- export var DateSelectCell = /*#__PURE__*/React.forwardRef(function DateSelectCell(_ref13, ref) {
223
- var children = _ref13.children,
224
- className = _ref13.className,
225
- _ref13$disabled = _ref13.disabled,
226
- disabled = _ref13$disabled === void 0 ? false : _ref13$disabled,
227
- errorMessage = _ref13.errorMessage,
228
- _ref13$processing = _ref13.processing,
229
- processing = _ref13$processing === void 0 ? false : _ref13$processing,
230
- props = _objectWithoutProperties(_ref13, _excluded13);
222
+ export var DateSelectCell = /*#__PURE__*/React.forwardRef(function DateSelectCell(_ref11, ref) {
223
+ var children = _ref11.children,
224
+ className = _ref11.className,
225
+ _ref11$disabled = _ref11.disabled,
226
+ disabled = _ref11$disabled === void 0 ? false : _ref11$disabled,
227
+ errorMessage = _ref11.errorMessage,
228
+ _ref11$processing = _ref11.processing,
229
+ processing = _ref11$processing === void 0 ? false : _ref11$processing,
230
+ props = _objectWithoutProperties(_ref11, _excluded11);
231
231
  var error = Boolean(errorMessage);
232
232
  return /*#__PURE__*/React.createElement(StyledTableInlineEditContainer, {
233
233
  $disabled: disabled,
@@ -246,23 +246,23 @@ export var DateSelectCell = /*#__PURE__*/React.forwardRef(function DateSelectCel
246
246
  variant: error ? 'error' : ''
247
247
  })), !processing && error && /*#__PURE__*/React.createElement(StyledTableInlineEditErrorBox, null, errorMessage));
248
248
  });
249
- export var IconCell = /*#__PURE__*/React.forwardRef(function IconCell(_ref14, ref) {
250
- var children = _ref14.children,
251
- props = _objectWithoutProperties(_ref14, _excluded14);
249
+ export var IconCell = /*#__PURE__*/React.forwardRef(function IconCell(_ref12, ref) {
250
+ var children = _ref12.children,
251
+ props = _objectWithoutProperties(_ref12, _excluded12);
252
252
  return /*#__PURE__*/React.createElement(StyledIconCell, _extends({
253
253
  ref: ref
254
254
  }, props), children);
255
255
  });
256
- export var InputCell = /*#__PURE__*/React.forwardRef(function InputCell(_ref15, ref) {
257
- var _ref15$disabled = _ref15.disabled,
258
- disabled = _ref15$disabled === void 0 ? false : _ref15$disabled,
259
- _ref15$errorMessage = _ref15.errorMessage,
260
- errorMessage = _ref15$errorMessage === void 0 ? '' : _ref15$errorMessage,
261
- _ref15$processing = _ref15.processing,
262
- processing = _ref15$processing === void 0 ? false : _ref15$processing,
263
- _ref15$size = _ref15.size,
264
- size = _ref15$size === void 0 ? 'block' : _ref15$size,
265
- props = _objectWithoutProperties(_ref15, _excluded15);
256
+ export var InputCell = /*#__PURE__*/React.forwardRef(function InputCell(_ref13, ref) {
257
+ var _ref13$disabled = _ref13.disabled,
258
+ disabled = _ref13$disabled === void 0 ? false : _ref13$disabled,
259
+ _ref13$errorMessage = _ref13.errorMessage,
260
+ errorMessage = _ref13$errorMessage === void 0 ? '' : _ref13$errorMessage,
261
+ _ref13$processing = _ref13.processing,
262
+ processing = _ref13$processing === void 0 ? false : _ref13$processing,
263
+ _ref13$size = _ref13.size,
264
+ size = _ref13$size === void 0 ? 'block' : _ref13$size,
265
+ props = _objectWithoutProperties(_ref13, _excluded13);
266
266
  var error = Boolean(errorMessage);
267
267
  return /*#__PURE__*/React.createElement(StyledTableInlineEditContainer, {
268
268
  $disabled: disabled,
@@ -282,35 +282,35 @@ export var InputCell = /*#__PURE__*/React.forwardRef(function InputCell(_ref15,
282
282
  $size: size
283
283
  }, errorMessage));
284
284
  });
285
- export var LinkCell = /*#__PURE__*/React.forwardRef(function LinkCell(_ref16, ref) {
286
- var children = _ref16.children,
287
- _ref16$href = _ref16.href,
288
- href = _ref16$href === void 0 ? '' : _ref16$href,
289
- props = _objectWithoutProperties(_ref16, _excluded16);
285
+ export var LinkCell = /*#__PURE__*/React.forwardRef(function LinkCell(_ref14, ref) {
286
+ var children = _ref14.children,
287
+ _ref14$href = _ref14.href,
288
+ href = _ref14$href === void 0 ? '' : _ref14$href,
289
+ props = _objectWithoutProperties(_ref14, _excluded14);
290
290
  return /*#__PURE__*/React.createElement(TextCell, {
291
291
  ref: ref
292
292
  }, /*#__PURE__*/React.createElement(LinkElement, _extends({
293
293
  href: href
294
294
  }, props), children));
295
295
  });
296
- export var PercentCell = /*#__PURE__*/React.forwardRef(function PercentCell(_ref17, ref) {
297
- var children = _ref17.children,
298
- props = _objectWithoutProperties(_ref17, _excluded17);
296
+ export var PercentCell = /*#__PURE__*/React.forwardRef(function PercentCell(_ref15, ref) {
297
+ var children = _ref15.children,
298
+ props = _objectWithoutProperties(_ref15, _excluded15);
299
299
  return /*#__PURE__*/React.createElement(StyledTableCellText, _extends({
300
300
  $percent: true,
301
301
  ref: ref
302
302
  }, props), children);
303
303
  });
304
- export var SelectCell = /*#__PURE__*/React.forwardRef(function SelectCell(_ref18, ref) {
305
- var _ref18$block = _ref18.block,
306
- block = _ref18$block === void 0 ? true : _ref18$block,
307
- children = _ref18.children,
308
- disabled = _ref18.disabled,
309
- errorMessage = _ref18.errorMessage,
310
- className = _ref18.className,
311
- _ref18$processing = _ref18.processing,
312
- processing = _ref18$processing === void 0 ? false : _ref18$processing,
313
- props = _objectWithoutProperties(_ref18, _excluded18);
304
+ export var SelectCell = /*#__PURE__*/React.forwardRef(function SelectCell(_ref16, ref) {
305
+ var _ref16$block = _ref16.block,
306
+ block = _ref16$block === void 0 ? true : _ref16$block,
307
+ children = _ref16.children,
308
+ disabled = _ref16.disabled,
309
+ errorMessage = _ref16.errorMessage,
310
+ className = _ref16.className,
311
+ _ref16$processing = _ref16.processing,
312
+ processing = _ref16$processing === void 0 ? false : _ref16$processing,
313
+ props = _objectWithoutProperties(_ref16, _excluded16);
314
314
  var error = Boolean(errorMessage);
315
315
  var hasClearIcon = !disabled && !props.loading && Boolean(props.label);
316
316
  return /*#__PURE__*/React.createElement(StyledTableInlineEditContainer, {
@@ -334,15 +334,15 @@ export var SelectCell = /*#__PURE__*/React.forwardRef(function SelectCell(_ref18
334
334
  ref: ref
335
335
  }), children)), !processing && errorMessage && /*#__PURE__*/React.createElement(StyledTableInlineEditErrorBox, null, errorMessage));
336
336
  });
337
- export var TextAreaCell = /*#__PURE__*/React.forwardRef(function TextAreaCell(_ref19, ref) {
338
- var disabled = _ref19.disabled,
339
- _ref19$errorMessage = _ref19.errorMessage,
340
- errorMessage = _ref19$errorMessage === void 0 ? '' : _ref19$errorMessage,
341
- _ref19$processing = _ref19.processing,
342
- processing = _ref19$processing === void 0 ? false : _ref19$processing,
343
- _ref19$resizable = _ref19.resizable,
344
- resizable = _ref19$resizable === void 0 ? false : _ref19$resizable,
345
- props = _objectWithoutProperties(_ref19, _excluded19);
337
+ export var TextAreaCell = /*#__PURE__*/React.forwardRef(function TextAreaCell(_ref17, ref) {
338
+ var disabled = _ref17.disabled,
339
+ _ref17$errorMessage = _ref17.errorMessage,
340
+ errorMessage = _ref17$errorMessage === void 0 ? '' : _ref17$errorMessage,
341
+ _ref17$processing = _ref17.processing,
342
+ processing = _ref17$processing === void 0 ? false : _ref17$processing,
343
+ _ref17$resizable = _ref17.resizable,
344
+ resizable = _ref17$resizable === void 0 ? false : _ref17$resizable,
345
+ props = _objectWithoutProperties(_ref17, _excluded17);
346
346
  var textareaRef = ref || /*#__PURE__*/React.createRef();
347
347
  var setHeight = function setHeight() {
348
348
  if (textareaRef && textareaRef.current) {
@@ -374,9 +374,9 @@ export var TextAreaCell = /*#__PURE__*/React.forwardRef(function TextAreaCell(_r
374
374
  rows: 1
375
375
  })), !processing && error && /*#__PURE__*/React.createElement(StyledTableInlineEditErrorBox, null, errorMessage));
376
376
  });
377
- export var TextCell = /*#__PURE__*/React.forwardRef(function TextCell(_ref20, ref) {
378
- var children = _ref20.children,
379
- props = _objectWithoutProperties(_ref20, _excluded20);
377
+ export var TextCell = /*#__PURE__*/React.forwardRef(function TextCell(_ref18, ref) {
378
+ var children = _ref18.children,
379
+ props = _objectWithoutProperties(_ref18, _excluded18);
380
380
  return /*#__PURE__*/React.createElement(StyledTableCellText, _extends({
381
381
  ref: ref
382
382
  }, props), children);
@@ -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","_ref10","_ref10$overdue","overdue","_excluded10","$overdue","BodyCell","_ref11","_ref11$snugfit","_ref11$variant","_excluded11","CurrencyCell","_ref12","value","currencyOptions","_excluded12","$currency","internalCurrencyOptions","_objectSpread","locale","currencyIsoCode","formatter","internalValue","formatCurrency","DateSelectCell","_ref13","className","_ref13$disabled","disabled","errorMessage","_ref13$processing","processing","_excluded13","error","Boolean","$disabled","$error","$size","loading","size","IconCell","_ref14","_excluded14","InputCell","_ref15","_ref15$disabled","_ref15$errorMessage","_ref15$processing","_ref15$size","_excluded15","LinkCell","_ref16","_ref16$href","href","_excluded16","TextCell","PercentCell","_ref17","_excluded17","$percent","SelectCell","_ref18","_ref18$block","block","_ref18$processing","_excluded18","hasClearIcon","label","$placeholder","$hasClearIcon","TextAreaCell","_ref19","_ref19$errorMessage","_ref19$processing","_ref19$resizable","resizable","_excluded19","textareaRef","createRef","setHeight","current","style","height","concat","scrollHeight","$resizable","onBlur","event","resize","rows","_ref20","_excluded20","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/Checkbox.types'\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) => {\n if (['Space', 'Enter'].includes(e.code) && isSortable) {\n onSortOrderChange()\n }\n return onKeyUp?.(e)\n }}\n onClick={(e) => {\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 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) => {\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;AAC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pE,cAAc,CAACoE,WAAW,GAAG,kBAAkB;AAE/CpG,KAAK,CAACoG,WAAW,GAAG,aAAa;AAEjCvG,UAAU,CAACuG,WAAW,GAAG,kBAAkB;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/Checkbox.types'\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) => {\n if (['Space', 'Enter'].includes(e.code) && isSortable) {\n onSortOrderChange()\n }\n return onKeyUp?.(e)\n }}\n onClick={(e) => {\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 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) => {\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,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,MAAM,gBAAGnC,KAAK,CAACoC,UAAU,CAGpC,SAASC,KAAKA,CAAAC,IAAA,EAA0CC,GAAG,EAAE;EAAA,IAA5CC,QAAQ,GAAAF,IAAA,CAAR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