@procore/core-react 12.44.0 → 12.46.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.
- package/CHANGELOG.md +34 -0
- package/dist/AnchorNavigation/AnchorNavigation.js +12 -8
- package/dist/AnchorNavigation/AnchorNavigation.js.map +1 -1
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +5 -5
- package/dist/AnchorNavigation/AnchorNavigation.styles.js.map +1 -1
- package/dist/AnchorNavigation/AnchorNavigation.types.d.ts +1 -0
- package/dist/AnchorNavigation/AnchorNavigation.types.js.map +1 -1
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.js +3 -1
- package/dist/AvatarStack/AvatarStack.js.map +1 -1
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/BadgePill/BadgePill.styles.js +4 -4
- package/dist/Banner/Banner.styles.js +10 -10
- package/dist/Box/Box.styles.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
- package/dist/Button/Button.styles.js +5 -5
- package/dist/Button/Button.types.d.ts +5 -0
- package/dist/Button/Button.types.js.map +1 -1
- package/dist/Calendar/Calendar.styles.js +9 -9
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.js +5 -2
- package/dist/Dropdown/Dropdown.js.map +1 -1
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/Dropdown/Dropdown.types.d.ts +1 -1
- package/dist/Dropdown/Dropdown.types.js.map +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/Dropzone/Dropzone.js +1 -1
- package/dist/Dropzone/Dropzone.styles.js +9 -9
- package/dist/EmptyState/EmptyState.d.ts +3 -5
- package/dist/EmptyState/EmptyState.js.map +1 -1
- package/dist/EmptyState/EmptyState.styles.d.ts +2 -2
- package/dist/EmptyState/EmptyState.styles.js +10 -10
- package/dist/EmptyState/EmptyState.styles.js.map +1 -1
- package/dist/EmptyState/EmptyState.types.d.ts +11 -0
- package/dist/EmptyState/EmptyState.types.js.map +1 -1
- package/dist/Field/Field.styles.js +3 -3
- package/dist/FileList/FileList.styles.js +3 -3
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
- package/dist/FileSelect/FileSelect.styles.js +2 -2
- package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
- package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
- package/dist/FileSelect/GridSource/GridSource.js +1 -0
- package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
- package/dist/FileSelect/GridSource/GridSource.styles.d.ts +2 -4
- package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
- package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
- package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
- package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
- package/dist/FileToken/FileToken.styles.js +6 -6
- package/dist/FilterToken/FilterToken.styles.js +5 -5
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.js +11 -4
- package/dist/Form/Form.js.map +1 -1
- package/dist/Form/Form.styles.d.ts +518 -8
- package/dist/Form/Form.styles.js +15 -15
- package/dist/Form/Form.styles.js.map +1 -1
- package/dist/Form/Form.types.d.ts +2 -3
- package/dist/Form/Form.types.js.map +1 -1
- package/dist/Form/StyledFormikForm.styles.js +2 -2
- package/dist/Form/stories/util.js +3 -14
- package/dist/Form/stories/util.js.map +1 -1
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/Input/Input.styles.js +1 -1
- package/dist/Link/Link.styles.js +1 -1
- package/dist/ListPage/ListPage.styles.js +8 -8
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/MenuImperative/MenuImperative.js +6 -4
- package/dist/MenuImperative/MenuImperative.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.styles.js +13 -13
- package/dist/MenuImperative/MenuImperative.styles.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.types.d.ts +2 -4
- package/dist/MenuImperative/MenuImperative.types.js.map +1 -1
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/MultiSelect/MultiSelect.js +0 -2
- package/dist/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.styles.js +8 -8
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- package/dist/Notation/Notation.js +1 -1
- package/dist/NumberInput/NumberInput.styles.js +7 -7
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.js +6 -0
- package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
- package/dist/PageLayout/PageLayout.styles.js +16 -16
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
- package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
- package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
- package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.styles.js +3 -3
- package/dist/PillSelect/PillSelect.js +0 -1
- package/dist/PillSelect/PillSelect.js.map +1 -1
- package/dist/PillSelect/PillSelect.styles.js +4 -4
- package/dist/Popover/Popover.styles.js +2 -2
- package/dist/Portal/Portal.styles.js +1 -1
- package/dist/ProgressBar/ProgressBar.styles.js +2 -2
- package/dist/RadioButton/RadioButton.styles.js +3 -3
- package/dist/Required/Required.styles.js +3 -3
- package/dist/Search/Search.styles.js +5 -5
- package/dist/Section/Section.styles.js +7 -7
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.js +2 -1
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +8 -8
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.js +4 -1
- package/dist/Slider/Slider.js.map +1 -1
- package/dist/Slider/Slider.styles.d.ts +5 -1
- package/dist/Slider/Slider.styles.js +16 -11
- package/dist/Slider/Slider.styles.js.map +1 -1
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +39 -39
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/OverdueContext.d.ts +4 -0
- package/dist/Table/OverdueContext.js +10 -0
- package/dist/Table/OverdueContext.js.map +1 -0
- package/dist/Table/OverdueContext.types.d.ts +6 -0
- package/dist/Table/OverdueContext.types.js +2 -0
- package/dist/Table/OverdueContext.types.js.map +1 -0
- package/dist/Table/Table.js +76 -23
- package/dist/Table/Table.js.map +1 -1
- package/dist/Table/Table.styles.d.ts +19 -9
- package/dist/Table/Table.styles.js +67 -56
- package/dist/Table/Table.styles.js.map +1 -1
- package/dist/Table/Table.types.d.ts +7 -0
- package/dist/Table/Table.types.js.map +1 -1
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.js +41 -28
- package/dist/Tabs/Tabs.js.map +1 -1
- package/dist/Tabs/Tabs.styles.d.ts +6 -0
- package/dist/Tabs/Tabs.styles.js +29 -20
- package/dist/Tabs/Tabs.styles.js.map +1 -1
- package/dist/Tabs/Tabs.types.d.ts +8 -0
- package/dist/Tabs/Tabs.types.js.map +1 -1
- package/dist/Tearsheet/Tearsheet.styles.js +5 -5
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.js +4 -0
- package/dist/Thumbnail/Thumbnail.js.map +1 -1
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/Thumbnail/Thumbnail.types.d.ts +12 -0
- package/dist/Thumbnail/Thumbnail.types.js.map +1 -1
- package/dist/Thumbnail/ThumbnailCaption.d.ts +1 -1
- package/dist/Thumbnail/ThumbnailCaption.js +15 -7
- package/dist/Thumbnail/ThumbnailCaption.js.map +1 -1
- package/dist/ThumbnailGrid/ThumbnailGrid.d.ts +1 -1
- package/dist/ThumbnailGrid/ThumbnailGrid.js +14 -4
- package/dist/ThumbnailGrid/ThumbnailGrid.js.map +1 -1
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/ThumbnailGrid/ThumbnailGrid.types.d.ts +34 -6
- package/dist/ThumbnailGrid/ThumbnailGrid.types.js.map +1 -1
- package/dist/TieredSelect/TieredSelect.styles.js +9 -9
- package/dist/Tile/Tile.styles.js +8 -8
- package/dist/Title/Title.styles.js +7 -7
- package/dist/Toast/Toast.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.js +20 -4
- package/dist/Token/Token.js.map +1 -1
- package/dist/Token/Token.styles.d.ts +2 -0
- package/dist/Token/Token.styles.js +14 -5
- package/dist/Token/Token.styles.js.map +1 -1
- package/dist/Token/Token.types.d.ts +3 -1
- package/dist/Token/Token.types.js.map +1 -1
- package/dist/ToolHeader/ToolHeader.styles.js +6 -6
- package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
- package/dist/Tooltip/Tooltip.js +23 -18
- package/dist/Tooltip/Tooltip.js.map +1 -1
- package/dist/Tooltip/Tooltip.styles.js +3 -3
- package/dist/Tree/Tree.js +1 -1
- package/dist/Tree/Tree.styles.js +10 -10
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- package/dist/Typography/Typography.styles.js +1 -1
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_hooks/I18n.d.ts +782 -30
- package/dist/_locales/de-DE.json +22 -2
- package/dist/_locales/en-AU.json +22 -2
- package/dist/_locales/en-CA.json +22 -2
- package/dist/_locales/en-GB.json +22 -2
- package/dist/_locales/en.json +4 -1
- package/dist/_locales/es-ES.json +23 -3
- package/dist/_locales/es.json +22 -2
- package/dist/_locales/fr-CA.json +23 -3
- package/dist/_locales/fr-FR.json +28 -8
- package/dist/_locales/is-IS.json +22 -2
- package/dist/_locales/it-IT.json +23 -3
- package/dist/_locales/ja-JP.json +23 -3
- package/dist/_locales/nb-NO.json +412 -1
- package/dist/_locales/pl-PL.json +22 -2
- package/dist/_locales/pseudo.json +4 -1
- package/dist/_locales/pt-BR.json +22 -2
- package/dist/_locales/pt-PT.json +27 -7
- package/dist/_locales/th-TH.json +22 -2
- package/dist/_locales/zh-SG.json +22 -2
- package/dist/_locales/zh-TW.json +25 -5
- package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
- package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
- package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +4 -4
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -25
- package/dist/_typedoc/Badge/Badge.types.json +6 -6
- package/dist/_typedoc/Banner/Banner.types.json +15 -15
- package/dist/_typedoc/Box/Box.types.json +68 -68
- package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
- package/dist/_typedoc/Button/Button.types.json +24 -13
- package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
- package/dist/_typedoc/Card/Card.types.json +6 -6
- package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
- package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
- package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
- package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
- package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
- package/dist/_typedoc/Dropdown/Dropdown.types.json +50 -38
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +31 -31
- package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
- package/dist/_typedoc/EmptyState/EmptyState.types.json +39 -16
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
- package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
- package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
- package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
- package/dist/_typedoc/Flex/Flex.types.json +27 -27
- package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
- package/dist/_typedoc/Form/Form.types.json +824 -824
- package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
- package/dist/_typedoc/Grid/Grid.types.json +8 -8
- package/dist/_typedoc/GroupSelect/GroupSelect.types.json +54 -54
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +1 -1
- package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
- package/dist/_typedoc/Menu/Menu.types.json +62 -62
- package/dist/_typedoc/MenuImperative/MenuImperative.types.json +90 -88
- package/dist/_typedoc/Modal/Modal.types.json +48 -48
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +33 -33
- package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +48 -48
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +33 -33
- package/dist/_typedoc/PageLayout/PageLayout.types.json +28 -28
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +38 -27
- package/dist/_typedoc/Pill/Pill.types.json +2 -2
- package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
- package/dist/_typedoc/Popover/Popover.types.json +15 -15
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
- package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
- package/dist/_typedoc/Required/Required.types.json +5 -5
- package/dist/_typedoc/Search/Search.types.json +18 -18
- package/dist/_typedoc/Section/Section.types.json +15 -15
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
- package/dist/_typedoc/Select/Select.types.json +67 -67
- package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
- package/dist/_typedoc/Slider/Slider.types.json +6 -6
- package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
- package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
- package/dist/_typedoc/Table/Table.types.json +122 -102
- package/dist/_typedoc/Tabs/Tabs.types.json +23 -22
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
- package/dist/_typedoc/Tile/Tile.types.json +8 -8
- package/dist/_typedoc/Title/Title.types.json +1 -1
- package/dist/_typedoc/Toast/Toast.types.json +4 -4
- package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
- package/dist/_typedoc/Token/Token.types.json +11 -11
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
- package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
- package/dist/_typedoc/Tree/Tree.types.json +88 -88
- package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
- package/dist/_typedoc/Typography/Typography.types.json +9 -9
- package/dist/_typedoc/_utils/types.json +3 -3
- package/dist/_typedoc/deprecations.json +1 -1
- package/package.json +1 -1
package/dist/Table/Table.js
CHANGED
|
@@ -4,12 +4,12 @@ var _excluded = ["children", "inline", "variant"],
|
|
|
4
4
|
_excluded3 = ["children", "shelf"],
|
|
5
5
|
_excluded4 = ["children"],
|
|
6
6
|
_excluded5 = ["children"],
|
|
7
|
-
_excluded6 = ["sortOrder", "onClick", "onKeyUp", "onSortOrderChange", "sortable", "children", "snugfit", "variant"],
|
|
7
|
+
_excluded6 = ["sortOrder", "onClick", "onKeyUp", "onSortOrderChange", "sortable", "children", "snugfit", "variant", "aria-describedby"],
|
|
8
8
|
_excluded7 = ["children"],
|
|
9
9
|
_excluded8 = ["children"],
|
|
10
10
|
_excluded9 = ["children", "colSpan", "depth"],
|
|
11
11
|
_excluded0 = ["children", "overdue"],
|
|
12
|
-
_excluded1 = ["children", "snugfit", "variant"],
|
|
12
|
+
_excluded1 = ["children", "overdueIcon", "snugfit", "variant"],
|
|
13
13
|
_excluded10 = ["children", "value", "currencyOptions"],
|
|
14
14
|
_excluded11 = ["children", "className", "disabled", "errorMessage", "processing"],
|
|
15
15
|
_excluded12 = ["children"],
|
|
@@ -38,7 +38,8 @@ import { Spinner } from '../Spinner';
|
|
|
38
38
|
import { useI18nContext } from '../_hooks/I18n';
|
|
39
39
|
import { mergeAriaIds } from '../_utils/a11y';
|
|
40
40
|
import { addSubcomponents } from '../_utils/addSubcomponents';
|
|
41
|
-
import {
|
|
41
|
+
import { CellOverdueIconContext, OverdueContext } from './OverdueContext';
|
|
42
|
+
import { StyledCarat, StyledCaratWrapper, StyledCheckbox, StyledHead, StyledIconCell, StyledLoadingContainer, StyledOverdueIcon, StyledSelectCellWrapper, StyledTable, StyledTableBodyCell, StyledTableBodyRow, StyledTableCellDateInput, StyledTableCellInput, StyledTableCellSelect, StyledTableCellText, StyledTableCellTextArea, StyledTableGroupRow, StyledTableGroupRowContent, StyledTableGroupRowHeader, StyledTableGroupRowTitle, StyledTableHeaderCell, StyledTableHeaderCellIconWrapper, StyledTableHeaderCellLabel, StyledTableHeaderCellSortableContainer, StyledTableHeaderCellSortButton, StyledTableHeaderCellSortIcon, StyledTableInlineEditContainer, StyledTableInlineEditErrorBox, StyledTableWrapper } from './Table.styles';
|
|
42
43
|
export var Table_ = /*#__PURE__*/React.forwardRef(function Table(_ref, ref) {
|
|
43
44
|
var children = _ref.children,
|
|
44
45
|
inline = _ref.inline,
|
|
@@ -106,6 +107,7 @@ export var HeaderCell = /*#__PURE__*/React.forwardRef(function HeaderCell(_ref6,
|
|
|
106
107
|
_ref6$snugfit = _ref6.snugfit,
|
|
107
108
|
snugfit = _ref6$snugfit === void 0 ? false : _ref6$snugfit,
|
|
108
109
|
variant = _ref6.variant,
|
|
110
|
+
ariaDescribedByProp = _ref6['aria-describedby'],
|
|
109
111
|
props = _objectWithoutProperties(_ref6, _excluded6);
|
|
110
112
|
var I18n = useI18nContext();
|
|
111
113
|
var descriptionId = useId();
|
|
@@ -128,29 +130,33 @@ export var HeaderCell = /*#__PURE__*/React.forwardRef(function HeaderCell(_ref6,
|
|
|
128
130
|
}, props, {
|
|
129
131
|
role: "columnheader",
|
|
130
132
|
"aria-sort": isSortable ? ariaSortValues[sortOrder !== null && sortOrder !== void 0 ? sortOrder : ''] : undefined,
|
|
131
|
-
|
|
132
|
-
"aria-describedby": isSortable ? descriptionId : undefined,
|
|
133
|
+
"aria-describedby": isSortable ? undefined : ariaDescribedByProp,
|
|
133
134
|
$sortable: isSortable,
|
|
134
135
|
$sortOrder: sortOrder,
|
|
135
|
-
$snugfit: snugfit || variant === 'snugfit'
|
|
136
|
+
$snugfit: snugfit || variant === 'snugfit'
|
|
137
|
+
}, isSortable ? {} : {
|
|
136
138
|
onKeyUp: function onKeyUp(e) {
|
|
137
|
-
if (['Space', 'Enter'].includes(e.code) && isSortable) {
|
|
138
|
-
onSortOrderChange();
|
|
139
|
-
}
|
|
140
139
|
return _onKeyUp === null || _onKeyUp === void 0 ? void 0 : _onKeyUp(e);
|
|
141
140
|
},
|
|
142
141
|
onClick: function onClick(e) {
|
|
143
|
-
if (isSortable) {
|
|
144
|
-
onSortOrderChange();
|
|
145
|
-
}
|
|
146
142
|
return _onClick === null || _onClick === void 0 ? void 0 : _onClick(e);
|
|
147
143
|
}
|
|
148
|
-
}), /*#__PURE__*/React.createElement(StyledTableHeaderCellSortableContainer, null,
|
|
144
|
+
}), /*#__PURE__*/React.createElement(StyledTableHeaderCellSortableContainer, null, isSortable ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledTableHeaderCellSortButton, {
|
|
145
|
+
type: "button",
|
|
146
|
+
"aria-describedby": mergeAriaIds(descriptionId, ariaDescribedByProp),
|
|
147
|
+
onClick: function onClick(e) {
|
|
148
|
+
onSortOrderChange();
|
|
149
|
+
_onClick === null || _onClick === void 0 ? void 0 : _onClick(e);
|
|
150
|
+
},
|
|
151
|
+
onKeyUp: function onKeyUp(e) {
|
|
152
|
+
_onKeyUp === null || _onKeyUp === void 0 ? void 0 : _onKeyUp(e);
|
|
153
|
+
}
|
|
154
|
+
}, /*#__PURE__*/React.createElement(StyledTableHeaderCellLabel, null, children), /*#__PURE__*/React.createElement(StyledTableHeaderCellIconWrapper, {
|
|
149
155
|
"aria-hidden": "true"
|
|
150
|
-
}, /*#__PURE__*/React.createElement(StyledTableHeaderCellSortIcon, null)), /*#__PURE__*/React.createElement(VisuallyHidden, {
|
|
156
|
+
}, /*#__PURE__*/React.createElement(StyledTableHeaderCellSortIcon, null))), /*#__PURE__*/React.createElement(VisuallyHidden, {
|
|
151
157
|
"aria-hidden": "true",
|
|
152
158
|
id: descriptionId
|
|
153
|
-
}, I18n.t('core.table.sortableColumn')))));
|
|
159
|
+
}, I18n.t('core.table.sortableColumn'))) : /*#__PURE__*/React.createElement(StyledTableHeaderCellLabel, null, children)));
|
|
154
160
|
});
|
|
155
161
|
export var Body = /*#__PURE__*/React.forwardRef(function Body(_ref7, ref) {
|
|
156
162
|
var children = _ref7.children,
|
|
@@ -192,22 +198,42 @@ export var BodyRow = /*#__PURE__*/React.forwardRef(function BodyRow(_ref0, ref)
|
|
|
192
198
|
_ref0$overdue = _ref0.overdue,
|
|
193
199
|
overdue = _ref0$overdue === void 0 ? false : _ref0$overdue,
|
|
194
200
|
props = _objectWithoutProperties(_ref0, _excluded0);
|
|
195
|
-
|
|
201
|
+
var iconClaimedRef = React.useRef(false);
|
|
202
|
+
iconClaimedRef.current = false;
|
|
203
|
+
var hasExplicitIcon = React.useMemo(function () {
|
|
204
|
+
return overdue && React.Children.toArray(children).some(function (child) {
|
|
205
|
+
return /*#__PURE__*/React.isValidElement(child) && child.props.overdueIcon;
|
|
206
|
+
});
|
|
207
|
+
}, [children, overdue]);
|
|
208
|
+
var overdueContext = React.useMemo(function () {
|
|
209
|
+
return {
|
|
210
|
+
overdue: overdue,
|
|
211
|
+
hasExplicitIcon: hasExplicitIcon,
|
|
212
|
+
iconClaimedRef: iconClaimedRef
|
|
213
|
+
};
|
|
214
|
+
}, [overdue, hasExplicitIcon]);
|
|
215
|
+
return /*#__PURE__*/React.createElement(OverdueContext.Provider, {
|
|
216
|
+
value: overdueContext
|
|
217
|
+
}, /*#__PURE__*/React.createElement(StyledTableBodyRow, _extends({
|
|
196
218
|
ref: ref,
|
|
197
219
|
$overdue: overdue
|
|
198
|
-
}, props), children);
|
|
220
|
+
}, props), children));
|
|
199
221
|
});
|
|
200
222
|
export var BodyCell = /*#__PURE__*/React.forwardRef(function BodyCell(_ref1, ref) {
|
|
201
223
|
var children = _ref1.children,
|
|
224
|
+
_ref1$overdueIcon = _ref1.overdueIcon,
|
|
225
|
+
overdueIcon = _ref1$overdueIcon === void 0 ? false : _ref1$overdueIcon,
|
|
202
226
|
_ref1$snugfit = _ref1.snugfit,
|
|
203
227
|
snugfit = _ref1$snugfit === void 0 ? false : _ref1$snugfit,
|
|
204
228
|
_ref1$variant = _ref1.variant,
|
|
205
229
|
variant = _ref1$variant === void 0 ? '' : _ref1$variant,
|
|
206
230
|
props = _objectWithoutProperties(_ref1, _excluded1);
|
|
207
|
-
return /*#__PURE__*/React.createElement(
|
|
231
|
+
return /*#__PURE__*/React.createElement(CellOverdueIconContext.Provider, {
|
|
232
|
+
value: overdueIcon
|
|
233
|
+
}, /*#__PURE__*/React.createElement(StyledTableBodyCell, _extends({
|
|
208
234
|
ref: ref,
|
|
209
235
|
$snugfit: snugfit || variant === 'snugfit'
|
|
210
|
-
}, props), children);
|
|
236
|
+
}, props), children));
|
|
211
237
|
});
|
|
212
238
|
export var CurrencyCell = /*#__PURE__*/React.forwardRef(function CurrencyCell(_ref10, ref) {
|
|
213
239
|
var children = _ref10.children,
|
|
@@ -215,11 +241,12 @@ export var CurrencyCell = /*#__PURE__*/React.forwardRef(function CurrencyCell(_r
|
|
|
215
241
|
currencyOptions = _ref10.currencyOptions,
|
|
216
242
|
props = _objectWithoutProperties(_ref10, _excluded10);
|
|
217
243
|
var I18n = useI18nContext();
|
|
244
|
+
var icon = useOverdueIcon(true);
|
|
218
245
|
if (children) {
|
|
219
246
|
return /*#__PURE__*/React.createElement(StyledTableCellText, _extends({
|
|
220
247
|
$currency: true,
|
|
221
248
|
ref: ref
|
|
222
|
-
}, props), children);
|
|
249
|
+
}, props), icon, children);
|
|
223
250
|
}
|
|
224
251
|
var internalCurrencyOptions = _objectSpread({
|
|
225
252
|
locale: I18n.locale,
|
|
@@ -230,7 +257,7 @@ export var CurrencyCell = /*#__PURE__*/React.forwardRef(function CurrencyCell(_r
|
|
|
230
257
|
return /*#__PURE__*/React.createElement(StyledTableCellText, _extends({
|
|
231
258
|
$currency: true,
|
|
232
259
|
ref: ref
|
|
233
|
-
}, props), internalValue);
|
|
260
|
+
}, props), icon, internalValue);
|
|
234
261
|
});
|
|
235
262
|
export var DateSelectCell = /*#__PURE__*/React.forwardRef(function DateSelectCell(_ref11, ref) {
|
|
236
263
|
var children = _ref11.children,
|
|
@@ -323,10 +350,11 @@ export var LinkCell = /*#__PURE__*/React.forwardRef(function LinkCell(_ref14, re
|
|
|
323
350
|
export var PercentCell = /*#__PURE__*/React.forwardRef(function PercentCell(_ref15, ref) {
|
|
324
351
|
var children = _ref15.children,
|
|
325
352
|
props = _objectWithoutProperties(_ref15, _excluded15);
|
|
353
|
+
var icon = useOverdueIcon(true);
|
|
326
354
|
return /*#__PURE__*/React.createElement(StyledTableCellText, _extends({
|
|
327
355
|
$percent: true,
|
|
328
356
|
ref: ref
|
|
329
|
-
}, props), children);
|
|
357
|
+
}, props), icon, children);
|
|
330
358
|
});
|
|
331
359
|
export var SelectCell = /*#__PURE__*/React.forwardRef(function SelectCell(_ref16, ref) {
|
|
332
360
|
var _ref16$block = _ref16.block,
|
|
@@ -416,12 +444,37 @@ export var TextAreaCell = /*#__PURE__*/React.forwardRef(function TextAreaCell(_r
|
|
|
416
444
|
id: errorId
|
|
417
445
|
}, errorMessage));
|
|
418
446
|
});
|
|
447
|
+
function useOverdueIcon(rightAligned) {
|
|
448
|
+
var _React$useContext = React.useContext(OverdueContext),
|
|
449
|
+
overdue = _React$useContext.overdue,
|
|
450
|
+
hasExplicitIcon = _React$useContext.hasExplicitIcon,
|
|
451
|
+
iconClaimedRef = _React$useContext.iconClaimedRef;
|
|
452
|
+
var cellOverdueIcon = React.useContext(CellOverdueIconContext);
|
|
453
|
+
var I18n = useI18nContext();
|
|
454
|
+
if (!overdue) return null;
|
|
455
|
+
var show = false;
|
|
456
|
+
if (hasExplicitIcon) {
|
|
457
|
+
show = cellOverdueIcon;
|
|
458
|
+
} else if (!iconClaimedRef.current) {
|
|
459
|
+
iconClaimedRef.current = true;
|
|
460
|
+
show = true;
|
|
461
|
+
}
|
|
462
|
+
if (!show) return null;
|
|
463
|
+
return /*#__PURE__*/React.createElement(StyledOverdueIcon, {
|
|
464
|
+
"aria-hidden": false,
|
|
465
|
+
size: "sm",
|
|
466
|
+
role: "img",
|
|
467
|
+
"aria-label": I18n.t('core.table.a11y.overdue'),
|
|
468
|
+
$rightAligned: rightAligned
|
|
469
|
+
});
|
|
470
|
+
}
|
|
419
471
|
export var TextCell = /*#__PURE__*/React.forwardRef(function TextCell(_ref18, ref) {
|
|
420
472
|
var children = _ref18.children,
|
|
421
473
|
props = _objectWithoutProperties(_ref18, _excluded18);
|
|
474
|
+
var icon = useOverdueIcon();
|
|
422
475
|
return /*#__PURE__*/React.createElement(StyledTableCellText, _extends({
|
|
423
476
|
ref: ref
|
|
424
|
-
}, props), children);
|
|
477
|
+
}, props), children, icon);
|
|
425
478
|
});
|
|
426
479
|
Table_.displayName = 'Table';
|
|
427
480
|
Body.displayName = 'Table.Body';
|
package/dist/Table/Table.js.map
CHANGED
|
@@ -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","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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Ac;AAEnCzI,UAAU,CAACyI,WAAW,GAAG,kBAAkB;AAE3C5I,SAAS,CAAC4I,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,IAAMhL,KAAK,GAAG9B,gBAAgB,CACnC;EACEkG,IAAI,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"}
|
|
1
|
+
{"version":3,"file":"Table.js","names":["CurrencyFormatter","useId","VisuallyHidden","cx","React","Link","LinkElement","tableSelectClassName","Spinner","useI18nContext","mergeAriaIds","addSubcomponents","CellOverdueIconContext","OverdueContext","StyledCarat","StyledCaratWrapper","StyledCheckbox","StyledHead","StyledIconCell","StyledLoadingContainer","StyledOverdueIcon","StyledSelectCellWrapper","StyledTable","StyledTableBodyCell","StyledTableBodyRow","StyledTableCellDateInput","StyledTableCellInput","StyledTableCellSelect","StyledTableCellText","StyledTableCellTextArea","StyledTableGroupRow","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","StyledTableHeaderCell","StyledTableHeaderCellIconWrapper","StyledTableHeaderCellLabel","StyledTableHeaderCellSortableContainer","StyledTableHeaderCellSortButton","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","ariaDescribedByProp","_excluded6","descriptionId","undefined","isSortable","ariaSortValues","asc","desc","nextValue","role","$sortable","$sortOrder","$snugfit","e","Fragment","type","id","Body","_ref7","_excluded7","Checkbox","GroupTitle","_ref8","_excluded8","Group","_ref9","_ref9$colSpan","colSpan","_ref9$depth","depth","_excluded9","$depth","BodyRow","_ref0","_ref0$overdue","overdue","_excluded0","iconClaimedRef","useRef","current","hasExplicitIcon","useMemo","Children","toArray","some","child","isValidElement","overdueIcon","overdueContext","Provider","value","$overdue","BodyCell","_ref1","_ref1$overdueIcon","_ref1$snugfit","_ref1$variant","_excluded1","CurrencyCell","_ref10","currencyOptions","_excluded10","useOverdueIcon","$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","style","height","concat","scrollHeight","$resizable","onBlur","event","resize","rows","rightAligned","_React$useContext","useContext","cellOverdueIcon","show","$rightAligned","_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 { CellOverdueIconContext, OverdueContext } from './OverdueContext'\nimport {\n StyledCarat,\n StyledCaratWrapper,\n StyledCheckbox,\n StyledHead,\n StyledIconCell,\n StyledLoadingContainer,\n StyledOverdueIcon,\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 StyledTableHeaderCellSortButton,\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 'aria-describedby': ariaDescribedByProp,\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 aria-describedby={isSortable ? undefined : ariaDescribedByProp}\n $sortable={isSortable}\n $sortOrder={sortOrder}\n $snugfit={snugfit || variant === 'snugfit'}\n {...(isSortable\n ? {}\n : {\n onKeyUp: (e: React.KeyboardEvent<HTMLTableHeaderCellElement>) => {\n return onKeyUp?.(e)\n },\n onClick: (e: React.MouseEvent<HTMLTableHeaderCellElement>) => {\n return onClick?.(e)\n },\n })}\n >\n <StyledTableHeaderCellSortableContainer>\n {isSortable ? (\n <>\n <StyledTableHeaderCellSortButton\n type=\"button\"\n aria-describedby={mergeAriaIds(\n descriptionId,\n ariaDescribedByProp\n )}\n onClick={(e: React.MouseEvent<HTMLButtonElement>) => {\n onSortOrderChange()\n onClick?.(\n e as unknown as React.MouseEvent<HTMLTableHeaderCellElement>\n )\n }}\n onKeyUp={(e: React.KeyboardEvent<HTMLButtonElement>) => {\n onKeyUp?.(\n e as unknown as React.KeyboardEvent<HTMLTableHeaderCellElement>\n )\n }}\n >\n <StyledTableHeaderCellLabel>\n {children}\n </StyledTableHeaderCellLabel>\n <StyledTableHeaderCellIconWrapper aria-hidden=\"true\">\n <StyledTableHeaderCellSortIcon />\n </StyledTableHeaderCellIconWrapper>\n </StyledTableHeaderCellSortButton>\n <VisuallyHidden aria-hidden=\"true\" id={descriptionId}>\n {I18n.t('core.table.sortableColumn')}\n </VisuallyHidden>\n </>\n ) : (\n <StyledTableHeaderCellLabel>{children}</StyledTableHeaderCellLabel>\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 const iconClaimedRef = React.useRef(false)\n iconClaimedRef.current = false\n\n const hasExplicitIcon = React.useMemo(\n () =>\n overdue &&\n React.Children.toArray(children).some(\n (child) => React.isValidElement(child) && child.props.overdueIcon\n ),\n [children, overdue]\n )\n\n const overdueContext = React.useMemo(\n () => ({ overdue, hasExplicitIcon, iconClaimedRef }),\n [overdue, hasExplicitIcon]\n )\n\n return (\n <OverdueContext.Provider value={overdueContext}>\n <StyledTableBodyRow ref={ref} $overdue={overdue} {...props}>\n {children}\n </StyledTableBodyRow>\n </OverdueContext.Provider>\n )\n})\n\nexport const BodyCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement> & BodyCellProps\n>(function BodyCell(\n { children, overdueIcon = false, snugfit = false, variant = '', ...props },\n ref\n) {\n return (\n <CellOverdueIconContext.Provider value={overdueIcon}>\n <StyledTableBodyCell\n ref={ref}\n $snugfit={snugfit || variant === 'snugfit'}\n {...props}\n >\n {children}\n </StyledTableBodyCell>\n </CellOverdueIconContext.Provider>\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 const icon = useOverdueIcon(true)\n\n if (children) {\n return (\n <StyledTableCellText $currency ref={ref} {...props}>\n {icon}\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 {icon}\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 const icon = useOverdueIcon(true)\n return (\n <StyledTableCellText $percent ref={ref} {...props}>\n {icon}\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\nfunction useOverdueIcon(rightAligned?: boolean) {\n const { overdue, hasExplicitIcon, iconClaimedRef } =\n React.useContext(OverdueContext)\n const cellOverdueIcon = React.useContext(CellOverdueIconContext)\n const I18n = useI18nContext()\n\n if (!overdue) return null\n\n let show = false\n if (hasExplicitIcon) {\n show = cellOverdueIcon\n } else if (!iconClaimedRef.current) {\n iconClaimedRef.current = true\n show = true\n }\n\n if (!show) return null\n return (\n <StyledOverdueIcon\n aria-hidden={false}\n size=\"sm\"\n role=\"img\"\n aria-label={I18n.t('core.table.a11y.overdue')}\n $rightAligned={rightAligned}\n />\n )\n}\n\nexport const TextCell = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & TableTextCellProps\n>(function TextCell({ children, ...props }, ref) {\n const icon = useOverdueIcon()\n return (\n <StyledTableCellText ref={ref} {...props}>\n {children}\n {icon}\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"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AAdA,cAAc;EACd/C,KAAK,EAALA,KAAK;EACLH,UAAU,EAAVA,UAAU;EACVtC,MAAM,EAANA,MAAM;EACNM,UAAU,EAAVA,UAAU;EACVH,SAAS,EAATA,SAAS;EACTsG,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,EACD3J,MACF,CAAC"}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { InputCellSize, TableColumnSortOrder } from './Table.types';
|
|
3
3
|
export declare const StyledTableHeaderCellSortableContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
-
export declare const StyledTableHeaderCellLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<
|
|
4
|
+
export declare const StyledTableHeaderCellLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
5
|
+
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;
|
|
6
|
+
export declare const StyledTableHeaderCellSortIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
|
|
7
|
+
size?: import("@procore/core-icons/dist/Icon").IconSize | undefined;
|
|
8
|
+
} & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
10
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
11
|
+
size?: import("@procore/core-icons/dist/Icon").IconSize | undefined;
|
|
12
|
+
} & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>, keyof import("react").Component<any, {}, any>>;
|
|
13
|
+
export declare const StyledTableHeaderCellSortButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
5
14
|
export declare const StyledCheckbox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../Checkbox").CheckboxProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
6
15
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
7
16
|
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Checkbox").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -13,14 +22,6 @@ export declare const StyledTableHeaderCell: import("styled-components/dist/types
|
|
|
13
22
|
$snugfit: boolean;
|
|
14
23
|
$sortOrder?: TableColumnSortOrder | undefined;
|
|
15
24
|
}>> & string;
|
|
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 StyledTableHeaderCellSortIcon: 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
25
|
export declare const StyledHead: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
25
26
|
export declare const StyledCaratWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../Button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
26
27
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
@@ -60,6 +61,15 @@ export declare const StyledTableCellText: import("styled-components/dist/types")
|
|
|
60
61
|
$currency?: boolean | undefined;
|
|
61
62
|
}>> & string;
|
|
62
63
|
export declare const StyledIconCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
64
|
+
export declare const StyledOverdueIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
|
|
65
|
+
size?: import("@procore/core-icons/dist/Icon").IconSize | undefined;
|
|
66
|
+
} & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>, "ref"> & {
|
|
67
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
$rightAligned?: boolean | undefined;
|
|
70
|
+
}>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
71
|
+
size?: import("@procore/core-icons/dist/Icon").IconSize | undefined;
|
|
72
|
+
} & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>, keyof import("react").Component<any, {}, any>>;
|
|
63
73
|
export declare const StyledSelectCellWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
64
74
|
export declare const StyledTableInlineEditErrorBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
65
75
|
$size?: InputCellSize | undefined;
|