@procore/core-react 12.42.0 → 12.44.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 (244) hide show
  1. package/CHANGELOG.md +61 -1
  2. package/dist/AnchorNavigation/AnchorNavigation.js +11 -5
  3. package/dist/AnchorNavigation/AnchorNavigation.js.map +1 -1
  4. package/dist/AnchorNavigation/AnchorNavigation.styles.d.ts +1 -0
  5. package/dist/AnchorNavigation/AnchorNavigation.styles.js +7 -3
  6. package/dist/AnchorNavigation/AnchorNavigation.styles.js.map +1 -1
  7. package/dist/AnchorNavigation/AnchorNavigation.types.d.ts +7 -1
  8. package/dist/AnchorNavigation/AnchorNavigation.types.js.map +1 -1
  9. package/dist/AnchorNavigation/AnchorNavigationProvider.js +11 -0
  10. package/dist/AnchorNavigation/AnchorNavigationProvider.js.map +1 -1
  11. package/dist/Avatar/Avatar.styles.js +5 -5
  12. package/dist/AvatarStack/AvatarStack.styles.d.ts +74 -74
  13. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  14. package/dist/Badge/Badge.styles.js +2 -2
  15. package/dist/BadgePill/BadgePill.styles.js +4 -4
  16. package/dist/Banner/Banner.styles.js +10 -10
  17. package/dist/Box/Box.styles.js +1 -1
  18. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  19. package/dist/Button/Button.styles.js +5 -5
  20. package/dist/Button/Button.types.d.ts +1 -4
  21. package/dist/Button/Button.types.js.map +1 -1
  22. package/dist/Button/index.d.ts +1 -1
  23. package/dist/Button/index.js.map +1 -1
  24. package/dist/Calendar/Calendar.styles.js +9 -9
  25. package/dist/Card/Card.styles.js +1 -1
  26. package/dist/Checkbox/Checkbox.js +1 -0
  27. package/dist/Checkbox/Checkbox.js.map +1 -1
  28. package/dist/Checkbox/Checkbox.styles.js +6 -6
  29. package/dist/ContactItem/ContactItem.styles.js +5 -5
  30. package/dist/Content/Content.styles.js +2 -2
  31. package/dist/DateInput/DateInput.js +9 -0
  32. package/dist/DateInput/DateInput.js.map +1 -1
  33. package/dist/DateInput/DateInput.styles.js +6 -6
  34. package/dist/DetailPage/DetailPage.styles.js +7 -7
  35. package/dist/Dropdown/Dropdown.styles.js +3 -3
  36. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  37. package/dist/Dropzone/Dropzone.js +1 -1
  38. package/dist/Dropzone/Dropzone.styles.js +9 -9
  39. package/dist/EmptyState/EmptyState.styles.js +6 -6
  40. package/dist/Field/Field.styles.js +3 -3
  41. package/dist/FileList/FileList.styles.js +3 -3
  42. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  43. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  44. package/dist/FileSelect/FileSelect.styles.js +2 -2
  45. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  46. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  47. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  48. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  49. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  50. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +1 -1
  51. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  52. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  53. package/dist/FileToken/FileToken.styles.js +6 -6
  54. package/dist/FileToken/FileTokenInner.js +1 -3
  55. package/dist/FileToken/FileTokenInner.js.map +1 -1
  56. package/dist/FilterToken/FilterToken.styles.js +5 -5
  57. package/dist/FlexList/FlexList.styles.js +1 -1
  58. package/dist/Form/Form.styles.js +13 -13
  59. package/dist/Form/StyledFormikForm.styles.d.ts +2 -2
  60. package/dist/Form/StyledFormikForm.styles.js +2 -2
  61. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  62. package/dist/Grid/Grid.styles.js +2 -2
  63. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  64. package/dist/Input/Input.styles.js +1 -1
  65. package/dist/Link/Link.styles.js +1 -1
  66. package/dist/ListPage/ListPage.styles.js +8 -8
  67. package/dist/Loader/Loader.styles.js +2 -2
  68. package/dist/MenuImperative/MenuImperative.styles.js +11 -11
  69. package/dist/Modal/Modal.js +8 -2
  70. package/dist/Modal/Modal.js.map +1 -1
  71. package/dist/Modal/Modal.styles.js +13 -13
  72. package/dist/MultiSelect/MultiSelect.js +7 -5
  73. package/dist/MultiSelect/MultiSelect.js.map +1 -1
  74. package/dist/MultiSelect/MultiSelect.styles.js +8 -8
  75. package/dist/NextMenu/NextMenu.styles.js +3 -3
  76. package/dist/Notation/Notation.js +1 -1
  77. package/dist/NumberInput/NumberInput.styles.js +7 -7
  78. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  79. package/dist/OverlayTrigger/a11yPresets.d.ts +6 -6
  80. package/dist/PageLayout/PageLayout.styles.d.ts +1 -1
  81. package/dist/PageLayout/PageLayout.styles.js +16 -16
  82. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  83. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  84. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  85. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  86. package/dist/Pagination/Pagination.styles.js +5 -5
  87. package/dist/Panel/Panel.styles.js +11 -11
  88. package/dist/Pill/Pill.styles.js +3 -3
  89. package/dist/PillSelect/PillSelect.styles.js +4 -4
  90. package/dist/Popover/Popover.styles.js +2 -2
  91. package/dist/Portal/Portal.styles.js +1 -1
  92. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  93. package/dist/RadioButton/RadioButton.styles.js +3 -3
  94. package/dist/Required/Required.styles.js +3 -3
  95. package/dist/Search/Search.styles.js +5 -5
  96. package/dist/Section/Section.styles.js +7 -7
  97. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  98. package/dist/Select/Select.js +3 -2
  99. package/dist/Select/Select.js.map +1 -1
  100. package/dist/Select/Select.styles.js +8 -8
  101. package/dist/Semantic/Semantic.styles.d.ts +74 -74
  102. package/dist/Semantic/Semantic.styles.js +9 -9
  103. package/dist/Slider/Slider.styles.js +5 -5
  104. package/dist/Spinner/Spinner.js +3 -1
  105. package/dist/Spinner/Spinner.js.map +1 -1
  106. package/dist/Spinner/Spinner.styles.js +7 -7
  107. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  108. package/dist/SuperSelect/SuperSelect.components.js +42 -22
  109. package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
  110. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  111. package/dist/SuperSelect/SuperSelect.styles.d.ts +4 -2
  112. package/dist/SuperSelect/SuperSelect.styles.js +49 -42
  113. package/dist/SuperSelect/SuperSelect.styles.js.map +1 -1
  114. package/dist/SuperSelect/SuperSelect.types.d.ts +3 -4
  115. package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
  116. package/dist/SuperSelect/presets/filterPreset.js +7 -2
  117. package/dist/SuperSelect/presets/filterPreset.js.map +1 -1
  118. package/dist/SuperSelect/useSuperSelect.d.ts +1 -1
  119. package/dist/SuperSelect/useSuperSelect.js +115 -88
  120. package/dist/SuperSelect/useSuperSelect.js.map +1 -1
  121. package/dist/Switch/Switch.styles.js +4 -4
  122. package/dist/Table/Table.js +2 -2
  123. package/dist/Table/Table.js.map +1 -1
  124. package/dist/Table/Table.styles.d.ts +1 -8
  125. package/dist/Table/Table.styles.js +74 -81
  126. package/dist/Table/Table.styles.js.map +1 -1
  127. package/dist/TableShelf/TableShelf.styles.js +5 -5
  128. package/dist/Tabs/Tabs.js +1 -1
  129. package/dist/Tabs/Tabs.js.map +1 -1
  130. package/dist/Tabs/Tabs.styles.js +15 -15
  131. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  132. package/dist/TextArea/TextArea.styles.js +1 -1
  133. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  134. package/dist/Thumbnail/Thumbnail.hooks.d.ts +58 -58
  135. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  136. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +1 -1
  137. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  138. package/dist/TieredSelect/TieredSelect.styles.d.ts +1 -1
  139. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  140. package/dist/Tile/Tile.styles.js +8 -8
  141. package/dist/Title/Title.styles.js +7 -7
  142. package/dist/Toast/Toast.styles.js +3 -3
  143. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  144. package/dist/Token/Token.js +1 -1
  145. package/dist/Token/Token.js.map +1 -1
  146. package/dist/Token/Token.styles.js +3 -3
  147. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  148. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  149. package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.d.ts +1 -1
  150. package/dist/Tooltip/Tooltip.styles.js +3 -3
  151. package/dist/Tree/Tree.js +1 -1
  152. package/dist/Tree/Tree.styles.js +10 -10
  153. package/dist/Typeahead/Typeahead.js +7 -3
  154. package/dist/Typeahead/Typeahead.js.map +1 -1
  155. package/dist/Typeahead/Typeahead.styles.js +3 -3
  156. package/dist/Typography/Typography.styles.js +1 -1
  157. package/dist/Typography/Typography.table.story.js +2 -2
  158. package/dist/Typography/Typography.types.d.ts +1 -0
  159. package/dist/Typography/Typography.types.js.map +1 -1
  160. package/dist/_hooks/I18n.d.ts +14 -0
  161. package/dist/_locales/en.json +7 -0
  162. package/dist/_locales/pseudo.json +7 -0
  163. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  164. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  165. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +13 -3
  166. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  167. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -25
  168. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  169. package/dist/_typedoc/Banner/Banner.types.json +15 -15
  170. package/dist/_typedoc/Box/Box.types.json +72 -72
  171. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  172. package/dist/_typedoc/Button/Button.types.json +17 -17
  173. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  174. package/dist/_typedoc/Card/Card.types.json +6 -6
  175. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  176. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  177. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  178. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  179. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  180. package/dist/_typedoc/Dropdown/Dropdown.types.json +39 -39
  181. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +31 -31
  182. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  183. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  184. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  185. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  186. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  187. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  188. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  189. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  190. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  191. package/dist/_typedoc/Form/Form.types.json +832 -832
  192. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  193. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  194. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +54 -54
  195. package/dist/_typedoc/Input/Input.types.json +2 -2
  196. package/dist/_typedoc/Link/Link.types.json +1 -1
  197. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  198. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  199. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +84 -84
  200. package/dist/_typedoc/Modal/Modal.types.json +48 -48
  201. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +33 -33
  202. package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
  203. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  204. package/dist/_typedoc/NumberInput/NumberInput.types.json +54 -54
  205. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +33 -33
  206. package/dist/_typedoc/PageLayout/PageLayout.types.json +28 -28
  207. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  208. package/dist/_typedoc/Panel/Panel.types.json +27 -27
  209. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  210. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  211. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  212. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  213. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  214. package/dist/_typedoc/Required/Required.types.json +5 -5
  215. package/dist/_typedoc/Search/Search.types.json +18 -18
  216. package/dist/_typedoc/Section/Section.types.json +15 -15
  217. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  218. package/dist/_typedoc/Select/Select.types.json +69 -69
  219. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  220. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  221. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  222. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  223. package/dist/_typedoc/Table/Table.types.json +102 -102
  224. package/dist/_typedoc/Tabs/Tabs.types.json +21 -21
  225. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  226. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  227. package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
  228. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  229. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  230. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
  231. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
  232. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  233. package/dist/_typedoc/Title/Title.types.json +3 -3
  234. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  235. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  236. package/dist/_typedoc/Token/Token.types.json +7 -7
  237. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  238. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +10 -10
  239. package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
  240. package/dist/_typedoc/Tree/Tree.types.json +90 -90
  241. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  242. package/dist/_typedoc/Typography/Typography.types.json +12 -11
  243. package/dist/_typedoc/_utils/types.json +3 -3
  244. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","names":["CurrencyFormatter","useId","VisuallyHidden","cx","React","Link","LinkElement","tableSelectClassName","Spinner","useI18nContext","mergeAriaIds","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","ariaLabel","_excluded2","I18n","defaultLabel","t","scope","size","icon","$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","descriptionId","undefined","isSortable","ariaSortValues","asc","desc","nextValue","role","tabIndex","$sortable","$sortOrder","$snugfit","e","includes","code","Fragment","id","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","errorId","showErrorMessage","$disabled","$error","$size","loading","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 { mergeAriaIds } from '../_utils/a11y'\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 HTMLButtonElement,\n React.ButtonHTMLAttributes<HTMLButtonElement> & CaratProps\n>(function Carat({ expanded = false, 'aria-label': ariaLabel, ...props }, ref) {\n const I18n = useI18nContext()\n\n const defaultLabel = I18n.t(expanded ? 'collapse' : 'expand', {\n scope: 'core.table.a11y',\n })\n\n return (\n <StyledCaratWrapper\n ref={ref}\n aria-label={ariaLabel ?? defaultLabel}\n aria-expanded={expanded}\n variant=\"tertiary\"\n size=\"sm\"\n icon={<StyledCarat $expanded={expanded} />}\n {...props}\n />\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 const I18n = useI18nContext()\n\n return (\n <StyledCheckbox\n aria-label={I18n.t('core.table.checkboxLabel')}\n ref={ref}\n {...props}\n />\n )\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 const errorId = useId()\n const showErrorMessage = !processing && error\n\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 aria-invalid={props.error || error}\n aria-describedby={showErrorMessage ? errorId : undefined}\n {...props}\n disabled={processing || disabled}\n ref={ref}\n variant={error ? 'error' : ''}\n error={props.error || error}\n />\n {showErrorMessage && (\n <StyledTableInlineEditErrorBox id={errorId}>\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 const errorId = useId()\n const showErrorMessage = !processing && error\n\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 aria-describedby={mergeAriaIds(\n props['aria-describedby'],\n showErrorMessage ? errorId : undefined\n )}\n {...props}\n ref={ref}\n error={props.error || error}\n disabled={processing || disabled}\n />\n {showErrorMessage && (\n <StyledTableInlineEditErrorBox $size={size} id={errorId}>\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 errorId = useId()\n const error = Boolean(errorMessage)\n const hasClearIcon = !disabled && !props.loading && Boolean(props.label)\n const showErrorMessage = !processing && error\n\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 aria-invalid={props.error || error}\n aria-describedby={mergeAriaIds(\n props['aria-describedby'],\n showErrorMessage ? errorId : undefined\n )}\n {...props}\n $placeholder={!props.label}\n $hasClearIcon={hasClearIcon}\n block={block}\n className={cx(tableSelectClassName, className)}\n disabled={processing || disabled}\n error={props.error || error}\n ref={ref}\n >\n {children}\n </StyledTableCellSelect>\n </StyledSelectCellWrapper>\n {showErrorMessage && (\n <StyledTableInlineEditErrorBox id={errorId}>\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 errorId = useId()\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 const showErrorMessage = !processing && error\n\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 aria-invalid={error}\n aria-describedby={mergeAriaIds(\n props['aria-describedby'],\n showErrorMessage ? errorId : undefined\n )}\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 error={error}\n />\n {showErrorMessage && (\n <StyledTableInlineEditErrorBox id={errorId}>\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,YAAY,QAAQ,gBAAgB;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VU,YAAY,EAAZA,YAAY;EACZf,QAAQ,EAARA;AACF,CAAC,EACD7I,MACF,CAAC"}
1
+ {"version":3,"file":"Table.js","names":["CurrencyFormatter","useId","VisuallyHidden","cx","React","Link","LinkElement","tableSelectClassName","Spinner","useI18nContext","mergeAriaIds","addSubcomponents","StyledCarat","StyledCaratWrapper","StyledCheckbox","StyledHead","StyledIconCell","StyledLoadingContainer","StyledSelectCellWrapper","StyledTable","StyledTableBodyCell","StyledTableBodyRow","StyledTableCellDateInput","StyledTableCellInput","StyledTableCellSelect","StyledTableCellText","StyledTableCellTextArea","StyledTableGroupRow","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","StyledTableHeaderCell","StyledTableHeaderCellIconWrapper","StyledTableHeaderCellLabel","StyledTableHeaderCellSortableContainer","StyledTableHeaderCellSortIcon","StyledTableInlineEditContainer","StyledTableInlineEditErrorBox","StyledTableWrapper","Table_","forwardRef","Table","_ref","ref","children","inline","variant","props","_objectWithoutProperties","_excluded","createElement","_extends","$inline","$fixed","Carat","_ref2","_ref2$expanded","expanded","ariaLabel","_excluded2","I18n","defaultLabel","t","scope","size","icon","$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","descriptionId","undefined","isSortable","ariaSortValues","asc","desc","nextValue","role","tabIndex","$sortable","$sortOrder","$snugfit","e","includes","code","Fragment","id","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","errorId","showErrorMessage","$disabled","$error","$size","loading","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 { mergeAriaIds } from '../_utils/a11y'\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 StyledTableHeaderCellSortIcon,\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 HTMLButtonElement,\n React.ButtonHTMLAttributes<HTMLButtonElement> & CaratProps\n>(function Carat({ expanded = false, 'aria-label': ariaLabel, ...props }, ref) {\n const I18n = useI18nContext()\n\n const defaultLabel = I18n.t(expanded ? 'collapse' : 'expand', {\n scope: 'core.table.a11y',\n })\n\n return (\n <StyledCaratWrapper\n ref={ref}\n aria-label={ariaLabel ?? defaultLabel}\n aria-expanded={expanded}\n variant=\"tertiary\"\n size=\"sm\"\n icon={<StyledCarat $expanded={expanded} />}\n {...props}\n />\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 <StyledTableHeaderCellSortIcon />\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 const I18n = useI18nContext()\n\n return (\n <StyledCheckbox\n aria-label={I18n.t('core.table.checkboxLabel')}\n ref={ref}\n {...props}\n />\n )\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 const errorId = useId()\n const showErrorMessage = !processing && error\n\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 aria-invalid={props.error || error}\n aria-describedby={showErrorMessage ? errorId : undefined}\n {...props}\n disabled={processing || disabled}\n ref={ref}\n variant={error ? 'error' : ''}\n error={props.error || error}\n />\n {showErrorMessage && (\n <StyledTableInlineEditErrorBox id={errorId}>\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 const errorId = useId()\n const showErrorMessage = !processing && error\n\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 aria-describedby={mergeAriaIds(\n props['aria-describedby'],\n showErrorMessage ? errorId : undefined\n )}\n {...props}\n ref={ref}\n error={props.error || error}\n disabled={processing || disabled}\n />\n {showErrorMessage && (\n <StyledTableInlineEditErrorBox $size={size} id={errorId}>\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 errorId = useId()\n const error = Boolean(errorMessage)\n const hasClearIcon = !disabled && !props.loading && Boolean(props.label)\n const showErrorMessage = !processing && error\n\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 aria-invalid={props.error || error}\n aria-describedby={mergeAriaIds(\n props['aria-describedby'],\n showErrorMessage ? errorId : undefined\n )}\n {...props}\n $placeholder={!props.label}\n $hasClearIcon={hasClearIcon}\n block={block}\n className={cx(tableSelectClassName, className)}\n disabled={processing || disabled}\n error={props.error || error}\n ref={ref}\n >\n {children}\n </StyledTableCellSelect>\n </StyledSelectCellWrapper>\n {showErrorMessage && (\n <StyledTableInlineEditErrorBox id={errorId}>\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 errorId = useId()\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 const showErrorMessage = !processing && error\n\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 aria-invalid={error}\n aria-describedby={mergeAriaIds(\n props['aria-describedby'],\n showErrorMessage ? errorId : undefined\n )}\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 error={error}\n />\n {showErrorMessage && (\n <StyledTableInlineEditErrorBox id={errorId}>\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,YAAY,QAAQ,gBAAgB;AAC7C,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,6BAA6B,EAC7BC,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,CAARE,QAAQ;IAAEC,MAAM,GAAAH,IAAA,CAANG,MAAM;IAAEC,OAAO,GAAAJ,IAAA,CAAPI,OAAO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,EAAJA,IAAI;EACJqB,QAAQ,EAARA,QAAQ;EACRN,OAAO,EAAPA,OAAO;EACPtE,KAAK,EAALA,KAAK;EACL0D,QAAQ,EAARA,QAAQ;EACR7C,SAAS,EAATA,SAAS;EACToE,YAAY,EAAZA,YAAY;EACZa,cAAc,EAAdA,cAAc;EACdhC,KAAK,EAALA,KAAK;EACLH,UAAU,EAAVA,UAAU;EACVvC,MAAM,EAANA,MAAM;EACNM,UAAU,EAAVA,UAAU;EACVH,SAAS,EAATA,SAAS;EACTwF,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,EACD7I,MACF,CAAC"}
@@ -14,14 +14,7 @@ export declare const StyledTableHeaderCell: import("styled-components/dist/types
14
14
  $sortOrder?: TableColumnSortOrder | undefined;
15
15
  }>> & string;
16
16
  export declare const StyledTableHeaderCellIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
17
- export declare const StyledTableHeaderCellSortIconAsc: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
18
- size?: import("@procore/core-icons/dist/Icon").IconSize | undefined;
19
- } & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>, "ref"> & {
20
- ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
21
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
22
- size?: import("@procore/core-icons/dist/Icon").IconSize | undefined;
23
- } & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>, keyof import("react").Component<any, {}, any>>;
24
- export declare const StyledTableHeaderCellSortIconDesc: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
17
+ export declare const StyledTableHeaderCellSortIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
25
18
  size?: import("@procore/core-icons/dist/Icon").IconSize | undefined;
26
19
  } & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>, "ref"> & {
27
20
  ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
@@ -1,4 +1,4 @@
1
- import { CaretDown, CaretUp, ChevronRight } from '@procore/core-icons';
1
+ import { ArrowUp, ChevronRight } from '@procore/core-icons';
2
2
  import styled, { css } from 'styled-components';
3
3
  import { Button } from '../Button';
4
4
  import { Card } from '../Card';
@@ -48,130 +48,123 @@ var tableCellInputErrorBorder = "1px solid ".concat(colors.red50);
48
48
  var tableRowBorderBottom = /*#__PURE__*/css(["border-bottom:", ";&:last-child{border-bottom:0;}"], tableBorder);
49
49
  export var StyledTableHeaderCellSortableContainer = /*#__PURE__*/styled.div.withConfig({
50
50
  displayName: "StyledTableHeaderCellSortableContainer",
51
- componentId: "core-12_42_0__sc-9c7xd-0"
51
+ componentId: "core-12_44_0__sc-9c7xd-0"
52
52
  })([""]);
53
53
  export var StyledTableHeaderCellLabel = /*#__PURE__*/styled.div.withConfig({
54
54
  displayName: "StyledTableHeaderCellLabel",
55
- componentId: "core-12_42_0__sc-9c7xd-1"
55
+ componentId: "core-12_44_0__sc-9c7xd-1"
56
56
  })(["display:inline-block;flex:1 1 auto;position:relative;"]);
57
57
  export var StyledCheckbox = /*#__PURE__*/styled(Checkbox).withConfig({
58
58
  displayName: "StyledCheckbox",
59
- componentId: "core-12_42_0__sc-9c7xd-2"
59
+ componentId: "core-12_44_0__sc-9c7xd-2"
60
60
  })([""]);
61
61
  export var StyledTableBodyCell = /*#__PURE__*/styled.td.withConfig({
62
62
  displayName: "StyledTableBodyCell",
63
- componentId: "core-12_42_0__sc-9c7xd-3"
63
+ componentId: "core-12_44_0__sc-9c7xd-3"
64
64
  })(["position:relative;vertical-align:middle;", ""], function (_ref) {
65
65
  var $snugfit = _ref.$snugfit;
66
66
  return $snugfit && css(["white-space:nowrap;width:0.1%;"]);
67
67
  });
68
68
  export var StyledTableHeaderCell = /*#__PURE__*/styled.th.withConfig({
69
69
  displayName: "StyledTableHeaderCell",
70
- componentId: "core-12_42_0__sc-9c7xd-4"
71
- })(["", " 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) {
70
+ componentId: "core-12_44_0__sc-9c7xd-4"
71
+ })(["", " 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) {
72
72
  var $sortable = _ref2.$sortable;
73
- 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);
73
+ 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:", ";}"], spacing.lg, StyledTableHeaderCellSortIcon, tableSortFontColor, tableHeaderBgColorHover);
74
74
  }, function (_ref3) {
75
75
  var $sortOrder = _ref3.$sortOrder;
76
- return ($sortOrder === 'asc' || $sortOrder === 'desc') && css(["background-color:", ";color:", ";&::before,&::after,", ",", "{opacity:1;}"], tableHeaderBgColorActive, tableHeaderFontColorActive, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
76
+ return ($sortOrder === 'asc' || $sortOrder === 'desc') && css(["background-color:", ";color:", ";", "{color:", ";opacity:1;}"], tableHeaderBgColorActive, tableHeaderFontColorActive, StyledTableHeaderCellSortIcon, tableSortFontColorActive);
77
77
  }, function (_ref4) {
78
78
  var $sortOrder = _ref4.$sortOrder;
79
- return $sortOrder === 'asc' && css(["", ",&::before{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconDesc, tableSortFontColorHover);
79
+ return $sortOrder === 'desc' && css(["", "{transform:scaleY(-1);}"], StyledTableHeaderCellSortIcon);
80
80
  }, function (_ref5) {
81
- var $sortOrder = _ref5.$sortOrder;
82
- return $sortOrder === 'desc' && css(["", ",&::after{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconDesc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorHover, StyledTableHeaderCellSortIconDesc, tableSortFontColorActive);
83
- }, function (_ref6) {
84
- var $snugfit = _ref6.$snugfit;
81
+ var $snugfit = _ref5.$snugfit;
85
82
  return $snugfit && css(["width:0.1%;"]);
86
83
  });
87
84
  export var StyledTableHeaderCellIconWrapper = /*#__PURE__*/styled.div.withConfig({
88
85
  displayName: "StyledTableHeaderCellIconWrapper",
89
- componentId: "core-12_42_0__sc-9c7xd-5"
86
+ componentId: "core-12_44_0__sc-9c7xd-5"
90
87
  })(["height:20px;line-height:20px;padding:0 ", "px 0 ", "px;width:20px;"], spacing.lg, spacing.sm);
91
- export var StyledTableHeaderCellSortIconAsc = /*#__PURE__*/styled(CaretUp).withConfig({
92
- displayName: "StyledTableHeaderCellSortIconAsc",
93
- componentId: "core-12_42_0__sc-9c7xd-6"
94
- })(["margin-top:-", "px;"], spacing.sm);
95
- export var StyledTableHeaderCellSortIconDesc = /*#__PURE__*/styled(CaretDown).withConfig({
96
- displayName: "StyledTableHeaderCellSortIconDesc",
97
- componentId: "core-12_42_0__sc-9c7xd-7"
98
- })([""]);
88
+ export var StyledTableHeaderCellSortIcon = /*#__PURE__*/styled(ArrowUp).withConfig({
89
+ displayName: "StyledTableHeaderCellSortIcon",
90
+ componentId: "core-12_44_0__sc-9c7xd-6"
91
+ })(["height:16px;width:16px;"]);
99
92
  export var StyledHead = /*#__PURE__*/styled.thead.withConfig({
100
93
  displayName: "StyledHead",
101
- componentId: "core-12_42_0__sc-9c7xd-8"
102
- })(["background-color:", ";transition:background-color 0.2s ease-in-out;", " &:hover{", "{", ",", "{&::after,q &::before{opacity:1;}}}}"], tableHeaderBgColor, tableRowBorderBottom, StyledTableHeaderCell, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
94
+ componentId: "core-12_44_0__sc-9c7xd-7"
95
+ })(["background-color:", ";transition:background-color 0.2s ease-in-out;", ""], tableHeaderBgColor, tableRowBorderBottom);
103
96
  export var StyledCaratWrapper = /*#__PURE__*/styled(Button).withConfig({
104
97
  displayName: "StyledCaratWrapper",
105
- componentId: "core-12_42_0__sc-9c7xd-9"
98
+ componentId: "core-12_44_0__sc-9c7xd-8"
106
99
  })([""]);
107
100
  export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
108
101
  displayName: "StyledCarat",
109
- componentId: "core-12_42_0__sc-9c7xd-10"
110
- })(["", ""], function (_ref7) {
111
- var $expanded = _ref7.$expanded;
102
+ componentId: "core-12_44_0__sc-9c7xd-9"
103
+ })(["", ""], function (_ref6) {
104
+ var $expanded = _ref6.$expanded;
112
105
  return $expanded && css(["transform:rotate(90deg);"]);
113
106
  });
114
107
  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);
115
108
  export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
116
109
  displayName: "StyledTableCellSelect",
117
- componentId: "core-12_42_0__sc-9c7xd-11"
118
- })(["", ";background-color:transparent;border-color:transparent;height:auto;&:hover{background-color:transparent;}&:active:hover{border-color:", ";}&:focus,", ":focus-within &{background-color:", ";cursor:pointer;", " ", "{white-space:nowrap;}", "{opacity:1;pointer-events:all;}", " ", "}", " ", "{white-space:normal;}", ",& + ", "{opacity:0;pointer-events:none;}", " ", ""], cellInputCSS, colors.gray85, StyledSelectButtonWrapper, colors.white, getFocus(), StyledSelectButtonLabel, StyledSelectArrow, function (_ref8) {
119
- var $hasClearIcon = _ref8.$hasClearIcon;
110
+ componentId: "core-12_44_0__sc-9c7xd-10"
111
+ })(["", ";background-color:transparent;border-color:transparent;height:auto;&:hover{background-color:transparent;}&:active:hover{border-color:", ";}&:focus,", ":focus-within &{background-color:", ";cursor:pointer;", " ", "{white-space:nowrap;}", "{opacity:1;pointer-events:all;}", " ", "}", " ", "{white-space:normal;}", ",& + ", "{opacity:0;pointer-events:none;}", " ", ""], cellInputCSS, colors.gray85, StyledSelectButtonWrapper, colors.white, getFocus(), StyledSelectButtonLabel, StyledSelectArrow, function (_ref7) {
112
+ var $hasClearIcon = _ref7.$hasClearIcon;
120
113
  return $hasClearIcon && css(["& + ", "{opacity:1;pointer-events:all;}"], StyledSelectClearIcon);
121
- }, function (_ref9) {
122
- var _ref9$$placeholder = _ref9.$placeholder,
123
- $placeholder = _ref9$$placeholder === void 0 ? false : _ref9$$placeholder;
114
+ }, function (_ref8) {
115
+ var _ref8$$placeholder = _ref8.$placeholder,
116
+ $placeholder = _ref8$$placeholder === void 0 ? false : _ref8$$placeholder;
124
117
  return $placeholder && css(["", "{opacity:1;pointer-events:all;}"], StyledSelectButtonLabel);
125
- }, function (_ref0) {
126
- var $hasClearIcon = _ref0.$hasClearIcon;
118
+ }, function (_ref9) {
119
+ var $hasClearIcon = _ref9.$hasClearIcon;
127
120
  return $hasClearIcon && css(["& + ", ":focus{opacity:1;pointer-events:all;}"], StyledSelectClearIcon);
128
- }, StyledSelectButtonLabel, StyledSelectArrow, StyledSelectClearIcon, function (_ref1) {
129
- var _ref1$$placeholder = _ref1.$placeholder,
130
- $placeholder = _ref1$$placeholder === void 0 ? false : _ref1$$placeholder;
121
+ }, StyledSelectButtonLabel, StyledSelectArrow, StyledSelectClearIcon, function (_ref0) {
122
+ var _ref0$$placeholder = _ref0.$placeholder,
123
+ $placeholder = _ref0$$placeholder === void 0 ? false : _ref0$$placeholder;
131
124
  return $placeholder && css(["", "{opacity:0;pointer-events:none;}"], StyledSelectButtonLabel);
132
- }, function (_ref10) {
133
- var loading = _ref10.loading;
125
+ }, function (_ref1) {
126
+ var loading = _ref1.loading;
134
127
  return loading && css(["background-color:", ";border-color:", ";", "{white-space:nowrap;}"], colors.white, colors.gray85, StyledSelectButtonLabel);
135
128
  });
136
129
  export var StyledTableCellInput = /*#__PURE__*/styled(Input).withConfig({
137
130
  displayName: "StyledTableCellInput",
138
- componentId: "core-12_42_0__sc-9c7xd-12"
131
+ componentId: "core-12_44_0__sc-9c7xd-11"
139
132
  })(["", ""], cellInputCSS);
140
133
  export var StyledTableCellDateInput = /*#__PURE__*/styled(DateSelect).withConfig({
141
134
  displayName: "StyledTableCellDateInput",
142
- componentId: "core-12_42_0__sc-9c7xd-13"
143
- })(["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 (_ref11) {
144
- var error = _ref11.error;
135
+ componentId: "core-12_44_0__sc-9c7xd-12"
136
+ })(["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) {
137
+ var error = _ref10.error;
145
138
  return error && css(["border-color:", ";"], colors.red50);
146
139
  }, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment);
147
140
  export var StyledTableCellTextArea = /*#__PURE__*/styled(TextArea).withConfig({
148
141
  displayName: "StyledTableCellTextArea",
149
- componentId: "core-12_42_0__sc-9c7xd-14"
150
- })(["", " &&{height:", "px;min-height:", "px;overflow:hidden;padding-top:", "px;resize:none;width:100%;", "}"], cellInputCSS, spacing.xxl, spacing.xxl, spacing.xs, function (_ref12) {
151
- var $resizable = _ref12.$resizable;
142
+ componentId: "core-12_44_0__sc-9c7xd-13"
143
+ })(["", " &&{height:", "px;min-height:", "px;overflow:hidden;padding-top:", "px;resize:none;width:100%;", "}"], cellInputCSS, spacing.xxl, spacing.xxl, spacing.xs, function (_ref11) {
144
+ var $resizable = _ref11.$resizable;
152
145
  return $resizable && css(["&:focus{min-height:64px;overflow:auto;resize:vertical;}"]);
153
146
  });
154
147
  export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
155
148
  displayName: "StyledTableCellText",
156
- componentId: "core-12_42_0__sc-9c7xd-15"
157
- })(["margin:", "px;display:flex;color:", ";", ""], spacing.lg, tableCellTextColor, function (_ref13) {
158
- var $percent = _ref13.$percent,
159
- $currency = _ref13.$currency;
149
+ componentId: "core-12_44_0__sc-9c7xd-14"
150
+ })(["margin:", "px;display:flex;color:", ";", ""], spacing.lg, tableCellTextColor, function (_ref12) {
151
+ var $percent = _ref12.$percent,
152
+ $currency = _ref12.$currency;
160
153
  return ($percent || $currency) && css(["justify-content:flex-end;"]);
161
154
  });
162
155
  export var StyledIconCell = /*#__PURE__*/styled.div.withConfig({
163
156
  displayName: "StyledIconCell",
164
- componentId: "core-12_42_0__sc-9c7xd-16"
157
+ componentId: "core-12_44_0__sc-9c7xd-15"
165
158
  })(["display:flex;color:", ";"], tableCellIconColor);
166
159
  export var StyledSelectCellWrapper = /*#__PURE__*/styled.div.withConfig({
167
160
  displayName: "StyledSelectCellWrapper",
168
- componentId: "core-12_42_0__sc-9c7xd-17"
161
+ componentId: "core-12_44_0__sc-9c7xd-16"
169
162
  })(["display:flex;flex-direction:column;"]);
170
163
  export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
171
164
  displayName: "StyledTableInlineEditErrorBox",
172
- componentId: "core-12_42_0__sc-9c7xd-18"
173
- })(["", " 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 (_ref14) {
174
- var $size = _ref14.$size;
165
+ componentId: "core-12_44_0__sc-9c7xd-17"
166
+ })(["", " 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) {
167
+ var $size = _ref13.$size;
175
168
  var sizes = {
176
169
  xs: 36,
177
170
  sm: 48,
@@ -187,12 +180,12 @@ export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
187
180
  });
188
181
  export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
189
182
  displayName: "StyledTableInlineEditContainer",
190
- componentId: "core-12_42_0__sc-9c7xd-19"
191
- })(["background-color:", ";margin:", "px ", "px;position:relative;", " ", ""], tableBgColor, spacing.sm, spacing.xs, function (_ref15) {
192
- var $error = _ref15.$error;
183
+ componentId: "core-12_44_0__sc-9c7xd-18"
184
+ })(["background-color:", ";margin:", "px ", "px;position:relative;", " ", ""], tableBgColor, spacing.sm, spacing.xs, function (_ref14) {
185
+ var $error = _ref14.$error;
193
186
  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);
194
- }, function (_ref16) {
195
- var $size = _ref16.$size;
187
+ }, function (_ref15) {
188
+ var $size = _ref15.$size;
196
189
  var sizes = {
197
190
  xs: 36,
198
191
  sm: 48,
@@ -211,28 +204,28 @@ export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
211
204
  });
212
205
  export var StyledTableBodyRow = /*#__PURE__*/styled.tr.withConfig({
213
206
  displayName: "StyledTableBodyRow",
214
- componentId: "core-12_42_0__sc-9c7xd-20"
215
- })(["", " ", " &: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 (_ref17) {
216
- var $overdue = _ref17.$overdue;
207
+ componentId: "core-12_44_0__sc-9c7xd-19"
208
+ })(["", " ", " &: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) {
209
+ var $overdue = _ref16.$overdue;
217
210
  return $overdue && css(["", ",", ",", ",", ",", "{color:", ";}"], StyledTableCellText, StyledTableCellSelect, StyledTableCellInput, StyledTableCellDateInput, StyledTableCellTextArea, colors.red50);
218
211
  }, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, tableCellInputHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, tableCellInputErrorBgColor, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBorder);
219
212
  export var StyledTableGroupRowContent = /*#__PURE__*/styled.div.withConfig({
220
213
  displayName: "StyledTableGroupRowContent",
221
- componentId: "core-12_42_0__sc-9c7xd-21"
214
+ componentId: "core-12_44_0__sc-9c7xd-20"
222
215
  })([""]);
223
216
  export var StyledTableGroupRowHeader = /*#__PURE__*/styled.div.withConfig({
224
217
  displayName: "StyledTableGroupRowHeader",
225
- componentId: "core-12_42_0__sc-9c7xd-22"
218
+ componentId: "core-12_44_0__sc-9c7xd-21"
226
219
  })([""]);
227
220
  export var StyledTableGroupRowTitle = /*#__PURE__*/styled.span.withConfig({
228
221
  displayName: "StyledTableGroupRowTitle",
229
- componentId: "core-12_42_0__sc-9c7xd-23"
222
+ componentId: "core-12_44_0__sc-9c7xd-22"
230
223
  })([""]);
231
224
  export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
232
225
  displayName: "StyledTableGroupRow",
233
- componentId: "core-12_42_0__sc-9c7xd-24"
234
- })(["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 (_ref18) {
235
- var $depth = _ref18.$depth;
226
+ componentId: "core-12_44_0__sc-9c7xd-23"
227
+ })(["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) {
228
+ var $depth = _ref17.$depth;
236
229
  if (typeof $depth !== 'number') {
237
230
  return '';
238
231
  }
@@ -240,25 +233,25 @@ export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
240
233
  });
241
234
  export var StyledTableWrapper = /*#__PURE__*/styled(Card).withConfig({
242
235
  displayName: "StyledTableWrapper",
243
- componentId: "core-12_42_0__sc-9c7xd-25"
244
- })(["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 (_ref19) {
245
- var $withShelf = _ref19.$withShelf;
236
+ componentId: "core-12_44_0__sc-9c7xd-24"
237
+ })(["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) {
238
+ var $withShelf = _ref18.$withShelf;
246
239
  return $withShelf && css(["position:relative;height:100%;"]);
247
240
  });
248
241
  var BodyRow = StyledTableBodyRow;
249
242
  var GroupRow = StyledTableGroupRow;
250
243
  export var StyledTable = /*#__PURE__*/styled.table.withConfig({
251
244
  displayName: "StyledTable",
252
- componentId: "core-12_42_0__sc-9c7xd-26"
253
- })(["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 (_ref20) {
254
- var $fixed = _ref20.$fixed;
245
+ componentId: "core-12_44_0__sc-9c7xd-25"
246
+ })(["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) {
247
+ var $fixed = _ref19.$fixed;
255
248
  return $fixed && css(["table-layout:fixed;"]);
256
- }, function (_ref21) {
257
- var $inline = _ref21.$inline;
249
+ }, function (_ref20) {
250
+ var $inline = _ref20.$inline;
258
251
  return $inline && css(["border-top:1px solid ", ";border-bottom:1px solid ", ";"], colors.gray85, colors.gray85);
259
252
  }, 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);
260
253
  export var StyledLoadingContainer = /*#__PURE__*/styled.div.withConfig({
261
254
  displayName: "StyledLoadingContainer",
262
- componentId: "core-12_42_0__sc-9c7xd-27"
255
+ componentId: "core-12_44_0__sc-9c7xd-26"
263
256
  })(["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);
264
257
  //# sourceMappingURL=Table.styles.js.map