@procore/core-react 12.43.0 → 12.45.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 +32 -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/AnchorNavigation/AnchorNavigationProvider.js +11 -0
- package/dist/AnchorNavigation/AnchorNavigationProvider.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.styles.js +6 -6
- 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.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.js +3 -1
- package/dist/Spinner/Spinner.js.map +1 -1
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SuperSelect/SuperSelect.components.js +8 -1
- package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
- 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/Table.js +19 -14
- package/dist/Table/Table.js.map +1 -1
- package/dist/Table/Table.styles.d.ts +10 -16
- package/dist/Table/Table.styles.js +83 -86
- package/dist/Table/Table.styles.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.styles.js +7 -7
- 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.styles.js +3 -3
- package/dist/ToolHeader/ToolHeader.styles.js +6 -6
- package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
- 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 +744 -30
- package/dist/_locales/de-DE.json +20 -2
- package/dist/_locales/en-AU.json +20 -2
- package/dist/_locales/en-CA.json +20 -2
- package/dist/_locales/en-GB.json +20 -2
- package/dist/_locales/en.json +1 -0
- package/dist/_locales/es-ES.json +21 -3
- package/dist/_locales/es.json +20 -2
- package/dist/_locales/fr-CA.json +21 -3
- package/dist/_locales/fr-FR.json +26 -8
- package/dist/_locales/is-IS.json +20 -2
- package/dist/_locales/it-IT.json +20 -2
- package/dist/_locales/ja-JP.json +21 -3
- package/dist/_locales/nb-NO.json +410 -1
- package/dist/_locales/pl-PL.json +20 -2
- package/dist/_locales/pseudo.json +1 -0
- package/dist/_locales/pt-BR.json +20 -2
- package/dist/_locales/pt-PT.json +23 -5
- package/dist/_locales/th-TH.json +20 -2
- package/dist/_locales/zh-SG.json +20 -2
- package/dist/_locales/zh-TW.json +23 -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 +16 -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 +102 -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 +7 -7
- 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/package.json +1 -1
|
@@ -22,40 +22,40 @@ var styledSelectButtonDefaultWidth = 248;
|
|
|
22
22
|
export var extendedSelectMenuWidth = 360;
|
|
23
23
|
export var PillSelectOptionWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
24
24
|
displayName: "PillSelectOptionWrapper",
|
|
25
|
-
componentId: "core-
|
|
25
|
+
componentId: "core-12_45_0__sc-1uf5708-0"
|
|
26
26
|
})(["display:flex;align-items:center;justify-content:space-between;padding:", "px ", "px;"], spacing.xs, spacing.lg);
|
|
27
27
|
export var PillSelectLabel = /*#__PURE__*/styled(Pill).withConfig({
|
|
28
28
|
displayName: "PillSelectLabel",
|
|
29
|
-
componentId: "core-
|
|
29
|
+
componentId: "core-12_45_0__sc-1uf5708-1"
|
|
30
30
|
})(["", ""], getEllipsis);
|
|
31
31
|
export var PillSelectLabelWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
32
32
|
displayName: "PillSelectLabelWrapper",
|
|
33
|
-
componentId: "core-
|
|
33
|
+
componentId: "core-12_45_0__sc-1uf5708-2"
|
|
34
34
|
})(["display:flex;max-width:100%;pointer-events:auto;", ""], function (_ref) {
|
|
35
35
|
var disabled = _ref.disabled;
|
|
36
36
|
return disabled && css(["pointer-events:none;"]);
|
|
37
37
|
});
|
|
38
38
|
export var StyledCheckboxContainer = /*#__PURE__*/styled.div.withConfig({
|
|
39
39
|
displayName: "StyledCheckboxContainer",
|
|
40
|
-
componentId: "core-
|
|
40
|
+
componentId: "core-12_45_0__sc-1uf5708-3"
|
|
41
41
|
})(["padding-left:", "px;"], spacing.lg);
|
|
42
42
|
export var StyledCheckmarkContainer = /*#__PURE__*/styled.div.withConfig({
|
|
43
43
|
displayName: "StyledCheckmarkContainer",
|
|
44
|
-
componentId: "core-
|
|
44
|
+
componentId: "core-12_45_0__sc-1uf5708-4"
|
|
45
45
|
})(["align-items:center;color:", ";display:inline-flex;flex-shrink:0;padding:0 ", "px 0 ", "px;"], colors.blue50, spacing.lg, spacing.sm);
|
|
46
46
|
|
|
47
47
|
// Do not merge with StyledMenu, needed for max-height working in IE
|
|
48
48
|
export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
49
49
|
displayName: "StyledWrapper",
|
|
50
|
-
componentId: "core-
|
|
50
|
+
componentId: "core-12_45_0__sc-1uf5708-5"
|
|
51
51
|
})(["display:flex;max-height:inherit;min-width:inherit;outline:none;width:inherit;"]);
|
|
52
52
|
export var StyledMenu = /*#__PURE__*/styled.div.withConfig({
|
|
53
53
|
displayName: "StyledMenu",
|
|
54
|
-
componentId: "core-
|
|
54
|
+
componentId: "core-12_45_0__sc-1uf5708-6"
|
|
55
55
|
})(["display:flex;flex-direction:column;outline:0;width:100%;"]);
|
|
56
56
|
export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
|
|
57
57
|
displayName: "StyledOptions",
|
|
58
|
-
componentId: "core-
|
|
58
|
+
componentId: "core-12_45_0__sc-1uf5708-7"
|
|
59
59
|
})(["flex-basis:auto;flex-grow:1;flex-shrink:1;min-height:", "px;", ";padding:", "px 0;position:relative;overflow:hidden;&:focus{", " margin:-1px;}"], optionMinHeight, function (_ref2) {
|
|
60
60
|
var _ref2$$scrollable = _ref2.$scrollable,
|
|
61
61
|
$scrollable = _ref2$$scrollable === void 0 ? true : _ref2$$scrollable;
|
|
@@ -63,53 +63,53 @@ export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
|
|
|
63
63
|
}, spacing.sm, getFocus());
|
|
64
64
|
export var StyledItemContent = /*#__PURE__*/styled.div.withConfig({
|
|
65
65
|
displayName: "StyledItemContent",
|
|
66
|
-
componentId: "core-
|
|
66
|
+
componentId: "core-12_45_0__sc-1uf5708-8"
|
|
67
67
|
})(["display:flex;flex-direction:row;align-items:center;"]);
|
|
68
68
|
export var StyledOptionGroupLabel = /*#__PURE__*/styled.div.withConfig({
|
|
69
69
|
displayName: "StyledOptionGroupLabel",
|
|
70
|
-
componentId: "core-
|
|
70
|
+
componentId: "core-12_45_0__sc-1uf5708-9"
|
|
71
71
|
})(["padding:", "px 0 ", "px ", "px;"], spacing.md, spacing.xs, spacing.lg);
|
|
72
72
|
export var StyledItemLabel = /*#__PURE__*/styled.div.withConfig({
|
|
73
73
|
displayName: "StyledItemLabel",
|
|
74
|
-
componentId: "core-
|
|
74
|
+
componentId: "core-12_45_0__sc-1uf5708-10"
|
|
75
75
|
})(["", ""], function (_ref3) {
|
|
76
76
|
var $draggable = _ref3.$draggable;
|
|
77
77
|
return css(["padding:", "px ", "px;overflow-wrap:anywhere;"], spacing.xs, $draggable ? 0 : spacing.lg);
|
|
78
78
|
});
|
|
79
79
|
export var StyledDraggableWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
80
80
|
displayName: "StyledDraggableWrapper",
|
|
81
|
-
componentId: "core-
|
|
81
|
+
componentId: "core-12_45_0__sc-1uf5708-11"
|
|
82
82
|
})(["display:flex;width:100%;align-items:center;"]);
|
|
83
83
|
export var StyledGrip = /*#__PURE__*/styled.div.withConfig({
|
|
84
84
|
displayName: "StyledGrip",
|
|
85
|
-
componentId: "core-
|
|
85
|
+
componentId: "core-12_45_0__sc-1uf5708-12"
|
|
86
86
|
})(["padding:0 2px;height:24px;visibility:hidden;"]);
|
|
87
87
|
export var StyledFooter = /*#__PURE__*/styled(Box).withConfig({
|
|
88
88
|
displayName: "StyledFooter",
|
|
89
|
-
componentId: "core-
|
|
89
|
+
componentId: "core-12_45_0__sc-1uf5708-13"
|
|
90
90
|
})(["border-top:1px solid ", ";"], colors.gray85);
|
|
91
91
|
export var StyledHeader = /*#__PURE__*/styled.div.withConfig({
|
|
92
92
|
displayName: "StyledHeader",
|
|
93
|
-
componentId: "core-
|
|
93
|
+
componentId: "core-12_45_0__sc-1uf5708-14"
|
|
94
94
|
})([""]);
|
|
95
95
|
export var StyledEmptyMessage = /*#__PURE__*/styled.div.withConfig({
|
|
96
96
|
displayName: "StyledEmptyMessage",
|
|
97
|
-
componentId: "core-
|
|
97
|
+
componentId: "core-12_45_0__sc-1uf5708-15"
|
|
98
98
|
})(["", ";padding:", "px ", "px;color:", ";"], getTypographyIntent('body'), spacing.md, spacing.lg, colors.gray45);
|
|
99
99
|
export var StyledSearchContainer = /*#__PURE__*/styled.div.withConfig({
|
|
100
100
|
displayName: "StyledSearchContainer",
|
|
101
|
-
componentId: "core-
|
|
101
|
+
componentId: "core-12_45_0__sc-1uf5708-16"
|
|
102
102
|
})(["padding:", "px ", "px ", "px;", " > *{pointer-events:none;}"], spacing.lg, spacing.lg, spacing.sm, StyledButton);
|
|
103
103
|
export var StyledGroup = /*#__PURE__*/styled.div.withConfig({
|
|
104
104
|
displayName: "StyledGroup",
|
|
105
|
-
componentId: "core-
|
|
105
|
+
componentId: "core-12_45_0__sc-1uf5708-17"
|
|
106
106
|
})(["", " color:", ";cursor:", ";font-weight:", ";padding:", "px ", "px;&:not(:first-child){padding-top:", "px;}&&{padding:0;}", "{padding:", "px ", " px;}&:not(:first-child){", "{padding-top:", " px;}}"], getTypographyIntent('body'), colors.gray15, function (_ref4) {
|
|
107
107
|
var $clickable = _ref4.$clickable;
|
|
108
108
|
return $clickable ? 'pointer' : 'default';
|
|
109
109
|
}, typographyWeights.semibold, spacing.xs, spacing.lg, spacing.md + spacing.xs, StyledOptionGroupLabel, spacing.xs, spacing.lg, StyledOptionGroupLabel, spacing.md + spacing.xs);
|
|
110
110
|
export var StyledItem = /*#__PURE__*/styled.div.withConfig({
|
|
111
111
|
displayName: "StyledItem",
|
|
112
|
-
componentId: "core-
|
|
112
|
+
componentId: "core-12_45_0__sc-1uf5708-18"
|
|
113
113
|
})(["", ";align-items:center;cursor:pointer;list-style-type:none;display:flex;padding:0;", " ", " ", " a{color:", ";display:block;margin:-", "px -", "px;padding:", "px ", "px;text-decoration:none;&:hover{color:", ";text-decoration:none;}}&[data-highlighted='true']{background-color:", ";}", " &:hover,&:active{", "{visibility:visible;}}", "{color:inherit;cursor:pointer;}", " ", " ", ""], getTypographyIntent('body'), function (_ref5) {
|
|
114
114
|
var $emptyMinHeight = _ref5.$emptyMinHeight;
|
|
115
115
|
return css(["&:empty{min-height:", "px;}"], $emptyMinHeight);
|
|
@@ -147,54 +147,54 @@ export var StyledItem = /*#__PURE__*/styled.div.withConfig({
|
|
|
147
147
|
});
|
|
148
148
|
export var StyledSelectAll = /*#__PURE__*/styled(Box).withConfig({
|
|
149
149
|
displayName: "StyledSelectAll",
|
|
150
|
-
componentId: "core-
|
|
150
|
+
componentId: "core-12_45_0__sc-1uf5708-19"
|
|
151
151
|
})(["padding-top:", "px;padding-bottom:", "px;border-bottom:1px solid ", ";"], spacing.md, spacing.md, colors.gray85);
|
|
152
152
|
export var StyledDroppable = /*#__PURE__*/styled.div.withConfig({
|
|
153
153
|
displayName: "StyledDroppable",
|
|
154
|
-
componentId: "core-
|
|
154
|
+
componentId: "core-12_45_0__sc-1uf5708-20"
|
|
155
155
|
})(["", ",", "{padding-left:28px;}"], StyledGroup, StyledItem);
|
|
156
156
|
export var StyledSelectMenu = /*#__PURE__*/styled(Card).withConfig({
|
|
157
157
|
displayName: "StyledSelectMenu",
|
|
158
|
-
componentId: "core-
|
|
158
|
+
componentId: "core-12_45_0__sc-1uf5708-21"
|
|
159
159
|
})(["display:flex;max-height:40vh;max-width:", "px;min-width:inherit;"], styledSelectButtonDefaultWidth);
|
|
160
160
|
export var StyledLabel = /*#__PURE__*/styled.div.withConfig({
|
|
161
161
|
displayName: "StyledLabel",
|
|
162
|
-
componentId: "core-
|
|
162
|
+
componentId: "core-12_45_0__sc-1uf5708-22"
|
|
163
163
|
})(["", " flex-grow:1;margin-right:", "px;outline:none;pointer-events:", ";user-select:none;"], getEllipsis(), spacing.sm, function (_ref10) {
|
|
164
164
|
var $hoverable = _ref10.$hoverable;
|
|
165
165
|
return $hoverable ? 'initial' : 'none';
|
|
166
166
|
});
|
|
167
167
|
export var StyledIndicators = /*#__PURE__*/styled.div.withConfig({
|
|
168
168
|
displayName: "StyledIndicators",
|
|
169
|
-
componentId: "core-
|
|
169
|
+
componentId: "core-12_45_0__sc-1uf5708-23"
|
|
170
170
|
})(["align-items:center;align-self:flex-start;display:flex;height:34px;justify-content:flex-end;margin-left:", "px;min-width:40px;width:40px;"], spacing.xs);
|
|
171
171
|
export var StyledClearIcon = /*#__PURE__*/styled(Button).withConfig({
|
|
172
172
|
displayName: "StyledClearIcon",
|
|
173
|
-
componentId: "core-
|
|
173
|
+
componentId: "core-12_45_0__sc-1uf5708-24"
|
|
174
174
|
})([""]);
|
|
175
175
|
export var StyledSpinner = /*#__PURE__*/styled.div.withConfig({
|
|
176
176
|
displayName: "StyledSpinner",
|
|
177
|
-
componentId: "core-
|
|
177
|
+
componentId: "core-12_45_0__sc-1uf5708-25"
|
|
178
178
|
})(["align-items:center;display:flex;flex:0 0 auto;justify-content:center;line-height:0;"]);
|
|
179
179
|
export var StyledArrowContainer = /*#__PURE__*/styled.div.withConfig({
|
|
180
180
|
displayName: "StyledArrowContainer",
|
|
181
|
-
componentId: "core-
|
|
181
|
+
componentId: "core-12_45_0__sc-1uf5708-26"
|
|
182
182
|
})(["align-items:center;display:inline-flex;height:16px;justify-content:flex-end;margin-left:", "px;width:8px;"], spacing.sm);
|
|
183
183
|
export var StyledArrow = /*#__PURE__*/styled.span.withConfig({
|
|
184
184
|
displayName: "StyledArrow",
|
|
185
|
-
componentId: "core-
|
|
185
|
+
componentId: "core-12_45_0__sc-1uf5708-27"
|
|
186
186
|
})(["display:inline-flex;svg{fill:", ";}"], colors.gray45);
|
|
187
187
|
export var StyledArrowOutline = /*#__PURE__*/styled.polygon.withConfig({
|
|
188
188
|
displayName: "StyledArrowOutline",
|
|
189
|
-
componentId: "core-
|
|
189
|
+
componentId: "core-12_45_0__sc-1uf5708-28"
|
|
190
190
|
})([""]);
|
|
191
191
|
export var StyledArrowFill = /*#__PURE__*/styled.polygon.withConfig({
|
|
192
192
|
displayName: "StyledArrowFill",
|
|
193
|
-
componentId: "core-
|
|
193
|
+
componentId: "core-12_45_0__sc-1uf5708-29"
|
|
194
194
|
})([""]);
|
|
195
195
|
export var StyledTrigger = /*#__PURE__*/styled.div.withConfig({
|
|
196
196
|
displayName: "StyledTrigger",
|
|
197
|
-
componentId: "core-
|
|
197
|
+
componentId: "core-12_45_0__sc-1uf5708-30"
|
|
198
198
|
})(["", " align-items:center;background-color:", ";border-color:", ";border-radius:", "px;border-style:solid;border-width:1px;color:", ";cursor:pointer;display:inline-flex;height:36px;min-height:36px;outline:none;padding:0 ", "px;position:relative;white-space:nowrap;width:", ";&::placeholder{border-color:", ";}&:hover,&:active,&[data-qa=", "]{background-color:", ";border-color:", ";color:", ";}&:focus,&:focus-within,&[data-qa=", "]{", " ", "{stroke:", ";}}", " ", " ", " ", " ", " ", " ", "}"], getTypographyIntent('body'), colors.white, colors.gray50, borderRadius.md, colors.gray15, spacing.md, function (_ref11) {
|
|
199
199
|
var $block = _ref11.$block;
|
|
200
200
|
return $block ? '100%' : "".concat(styledSelectButtonDefaultWidth, "px");
|
|
@@ -229,35 +229,35 @@ export var StyledTrigger = /*#__PURE__*/styled.div.withConfig({
|
|
|
229
229
|
});
|
|
230
230
|
export var StyledOverlay = /*#__PURE__*/styled(Card).withConfig({
|
|
231
231
|
displayName: "StyledOverlay",
|
|
232
|
-
componentId: "core-
|
|
232
|
+
componentId: "core-12_45_0__sc-1uf5708-31"
|
|
233
233
|
})(["display:flex;flex-direction:column;"]);
|
|
234
234
|
export var StyledVirtuoso = /*#__PURE__*/styled(Virtuoso).withConfig({
|
|
235
235
|
displayName: "StyledVirtuoso",
|
|
236
|
-
componentId: "core-
|
|
236
|
+
componentId: "core-12_45_0__sc-1uf5708-32"
|
|
237
237
|
})(["flex:1 1 auto;"]);
|
|
238
238
|
export var StyledEllipses = /*#__PURE__*/styled.div.withConfig({
|
|
239
239
|
displayName: "StyledEllipses",
|
|
240
|
-
componentId: "core-
|
|
240
|
+
componentId: "core-12_45_0__sc-1uf5708-33"
|
|
241
241
|
})(["", " display:inline-flex;> div{display:inline-flex;width:100%;}"], getEllipsis());
|
|
242
242
|
export var StyledMultiValueContainer = /*#__PURE__*/styled.div.withConfig({
|
|
243
243
|
displayName: "StyledMultiValueContainer",
|
|
244
|
-
componentId: "core-
|
|
244
|
+
componentId: "core-12_45_0__sc-1uf5708-34"
|
|
245
245
|
})(["display:flex;flex-wrap:wrap;margin-bottom:2px;margin-right:", "px;margin-top:2px;min-width:0;width:100%;"], spacing.xs);
|
|
246
246
|
export var StyledTokenList = /*#__PURE__*/styled.ul.withConfig({
|
|
247
247
|
displayName: "StyledTokenList",
|
|
248
|
-
componentId: "core-
|
|
248
|
+
componentId: "core-12_45_0__sc-1uf5708-35"
|
|
249
249
|
})(["display:contents;list-style:none;margin:0;padding:0;"]);
|
|
250
250
|
export var StyledMultiValue = /*#__PURE__*/styled.li.withConfig({
|
|
251
251
|
displayName: "StyledMultiValue",
|
|
252
|
-
componentId: "core-
|
|
252
|
+
componentId: "core-12_45_0__sc-1uf5708-36"
|
|
253
253
|
})(["margin-bottom:2px;margin-right:", "px;margin-top:2px;flex:0 1 auto;> div{max-width:178px;width:100%;}"], spacing.xs);
|
|
254
254
|
export var StyledMultiInputContainer = /*#__PURE__*/styled.div.withConfig({
|
|
255
255
|
displayName: "StyledMultiInputContainer",
|
|
256
|
-
componentId: "core-
|
|
256
|
+
componentId: "core-12_45_0__sc-1uf5708-37"
|
|
257
257
|
})(["margin-bottom:2px;margin-right:", "px;margin-top:2px;flex:1;max-width:100%;min-width:24px;"], spacing.xs);
|
|
258
258
|
export var StyledMultiInput = /*#__PURE__*/styled.button.withConfig({
|
|
259
259
|
displayName: "StyledMultiInput",
|
|
260
|
-
componentId: "core-
|
|
260
|
+
componentId: "core-12_45_0__sc-1uf5708-38"
|
|
261
261
|
})(["background-color:transparent;border-width:0;font-family:inherit;padding:0;height:24px;width:100%;text-align:left;cursor:inherit;", " ", " ", " &:focus{box-shadow:none;outline:none;}"], getTypographyIntent('body'), function (_ref19) {
|
|
262
262
|
var $isNavigatingTokens = _ref19.$isNavigatingTokens;
|
|
263
263
|
return $isNavigatingTokens && css(["color:transparent;"]);
|
|
@@ -8,19 +8,19 @@ var trackWidth = 36;
|
|
|
8
8
|
var toggleSize = 16;
|
|
9
9
|
export var StyledTrack = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledTrack",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-12_45_0__sc-mwn4kg-0"
|
|
12
12
|
})(["background-color:", ";border-radius:", "px;height:", "px;width:", "px;position:relative;transition:0.2s;"], colors.gray70, trackHeight, trackHeight, trackWidth);
|
|
13
13
|
export var StyledToggle = /*#__PURE__*/styled.span.withConfig({
|
|
14
14
|
displayName: "StyledToggle",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-12_45_0__sc-mwn4kg-1"
|
|
16
16
|
})(["background-color:", ";border-radius:50%;bottom:2px;height:", "px;left:2px;position:absolute;transition:all 0.2s;width:", "px;"], colors.white, toggleSize, toggleSize);
|
|
17
17
|
export var StyledSwitchLabel = /*#__PURE__*/styled.span.withConfig({
|
|
18
18
|
displayName: "StyledSwitchLabel",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-12_45_0__sc-mwn4kg-2"
|
|
20
20
|
})(["", " padding-left:", "px;user-select:none;"], getTypographyIntent('body'), spacing.md);
|
|
21
21
|
export var StyledSwitchContainer = /*#__PURE__*/styled.label.withConfig({
|
|
22
22
|
displayName: "StyledSwitchContainer",
|
|
23
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-12_45_0__sc-mwn4kg-3"
|
|
24
24
|
})(["cursor:pointer;display:grid;grid-template-columns:", "px 1fr;position:relative;& + &{margin-top:", "px;}", " ", " ", ""], trackWidth, spacing.md, function (_ref) {
|
|
25
25
|
var $checked = _ref.$checked;
|
|
26
26
|
return $checked && css(["", "{background-color:", ";", "{transform:translateX(", "px);}}"], StyledTrack, colors.blue50, StyledToggle, spacing.lg);
|
package/dist/Table/Table.js
CHANGED
|
@@ -4,7 +4,7 @@ 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"],
|
|
@@ -38,7 +38,7 @@ 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 { StyledCarat, StyledCaratWrapper, StyledCheckbox, StyledHead, StyledIconCell, StyledLoadingContainer, StyledSelectCellWrapper, StyledTable, StyledTableBodyCell, StyledTableBodyRow, StyledTableCellDateInput, StyledTableCellInput, StyledTableCellSelect, StyledTableCellText, StyledTableCellTextArea, StyledTableGroupRow, StyledTableGroupRowContent, StyledTableGroupRowHeader, StyledTableGroupRowTitle, StyledTableHeaderCell, StyledTableHeaderCellIconWrapper, StyledTableHeaderCellLabel, StyledTableHeaderCellSortableContainer,
|
|
41
|
+
import { StyledCarat, StyledCaratWrapper, StyledCheckbox, StyledHead, StyledIconCell, StyledLoadingContainer, 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
42
|
export var Table_ = /*#__PURE__*/React.forwardRef(function Table(_ref, ref) {
|
|
43
43
|
var children = _ref.children,
|
|
44
44
|
inline = _ref.inline,
|
|
@@ -106,6 +106,7 @@ export var HeaderCell = /*#__PURE__*/React.forwardRef(function HeaderCell(_ref6,
|
|
|
106
106
|
_ref6$snugfit = _ref6.snugfit,
|
|
107
107
|
snugfit = _ref6$snugfit === void 0 ? false : _ref6$snugfit,
|
|
108
108
|
variant = _ref6.variant,
|
|
109
|
+
ariaDescribedByProp = _ref6['aria-describedby'],
|
|
109
110
|
props = _objectWithoutProperties(_ref6, _excluded6);
|
|
110
111
|
var I18n = useI18nContext();
|
|
111
112
|
var descriptionId = useId();
|
|
@@ -128,29 +129,33 @@ export var HeaderCell = /*#__PURE__*/React.forwardRef(function HeaderCell(_ref6,
|
|
|
128
129
|
}, props, {
|
|
129
130
|
role: "columnheader",
|
|
130
131
|
"aria-sort": isSortable ? ariaSortValues[sortOrder !== null && sortOrder !== void 0 ? sortOrder : ''] : undefined,
|
|
131
|
-
|
|
132
|
-
"aria-describedby": isSortable ? descriptionId : undefined,
|
|
132
|
+
"aria-describedby": isSortable ? undefined : ariaDescribedByProp,
|
|
133
133
|
$sortable: isSortable,
|
|
134
134
|
$sortOrder: sortOrder,
|
|
135
|
-
$snugfit: snugfit || variant === 'snugfit'
|
|
135
|
+
$snugfit: snugfit || variant === 'snugfit'
|
|
136
|
+
}, isSortable ? {} : {
|
|
136
137
|
onKeyUp: function onKeyUp(e) {
|
|
137
|
-
if (['Space', 'Enter'].includes(e.code) && isSortable) {
|
|
138
|
-
onSortOrderChange();
|
|
139
|
-
}
|
|
140
138
|
return _onKeyUp === null || _onKeyUp === void 0 ? void 0 : _onKeyUp(e);
|
|
141
139
|
},
|
|
142
140
|
onClick: function onClick(e) {
|
|
143
|
-
if (isSortable) {
|
|
144
|
-
onSortOrderChange();
|
|
145
|
-
}
|
|
146
141
|
return _onClick === null || _onClick === void 0 ? void 0 : _onClick(e);
|
|
147
142
|
}
|
|
148
|
-
}), /*#__PURE__*/React.createElement(StyledTableHeaderCellSortableContainer, null,
|
|
143
|
+
}), /*#__PURE__*/React.createElement(StyledTableHeaderCellSortableContainer, null, isSortable ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledTableHeaderCellSortButton, {
|
|
144
|
+
type: "button",
|
|
145
|
+
"aria-describedby": mergeAriaIds(descriptionId, ariaDescribedByProp),
|
|
146
|
+
onClick: function onClick(e) {
|
|
147
|
+
onSortOrderChange();
|
|
148
|
+
_onClick === null || _onClick === void 0 ? void 0 : _onClick(e);
|
|
149
|
+
},
|
|
150
|
+
onKeyUp: function onKeyUp(e) {
|
|
151
|
+
_onKeyUp === null || _onKeyUp === void 0 ? void 0 : _onKeyUp(e);
|
|
152
|
+
}
|
|
153
|
+
}, /*#__PURE__*/React.createElement(StyledTableHeaderCellLabel, null, children), /*#__PURE__*/React.createElement(StyledTableHeaderCellIconWrapper, {
|
|
149
154
|
"aria-hidden": "true"
|
|
150
|
-
}, /*#__PURE__*/React.createElement(
|
|
155
|
+
}, /*#__PURE__*/React.createElement(StyledTableHeaderCellSortIcon, null))), /*#__PURE__*/React.createElement(VisuallyHidden, {
|
|
151
156
|
"aria-hidden": "true",
|
|
152
157
|
id: descriptionId
|
|
153
|
-
}, I18n.t('core.table.sortableColumn')))));
|
|
158
|
+
}, I18n.t('core.table.sortableColumn'))) : /*#__PURE__*/React.createElement(StyledTableHeaderCellLabel, null, children)));
|
|
154
159
|
});
|
|
155
160
|
export var Body = /*#__PURE__*/React.forwardRef(function Body(_ref7, ref) {
|
|
156
161
|
var children = _ref7.children,
|
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","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;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,qBAA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,WAAW,GAAG,aAAa;AAEjCxG,UAAU,CAACwG,WAAW,GAAG,kBAAkB;AAE3C/I,MAAM,CAAC+I,WAAW,GAAG,cAAc;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,GAAG/B,gBAAgB,CACnC;EACEmG,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","StyledCarat","StyledCaratWrapper","StyledCheckbox","StyledHead","StyledIconCell","StyledLoadingContainer","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","$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 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 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,+BAA+B,EAC/BC,6BAA6B,EAC7BC,8BAA8B,EAC9BC,6BAA6B,EAC7BC,kBAAkB,QACb,gBAAgB;AAyBvB,OAAO,IAAMC,MAAM,gBAAGpC,KAAK,CAACqC,UAAU,CAGpC,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9I,MAAM,CAAC8I,WAAW,GAAG,cAAc;AAEnCxI,UAAU,CAACwI,WAAW,GAAG,kBAAkB;AAE3C3I,SAAS,CAAC2I,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,IAAM/K,KAAK,GAAG/B,gBAAgB,CACnC;EACEkG,IAAI,EAAJA,IAAI;EACJqB,QAAQ,EAARA,QAAQ;EACRN,OAAO,EAAPA,OAAO;EACPrE,KAAK,EAALA,KAAK;EACLyD,QAAQ,EAARA,QAAQ;EACR5C,SAAS,EAATA,SAAS;EACTmE,YAAY,EAAZA,YAAY;EACZa,cAAc,EAAdA,cAAc;EACdhC,KAAK,EAALA,KAAK;EACLH,UAAU,EAAVA,UAAU;EACVtC,MAAM,EAANA,MAAM;EACNM,UAAU,EAAVA,UAAU;EACVH,SAAS,EAATA,SAAS;EACTuF,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,EACD5I,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,21 +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 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<{
|
|
25
|
-
size?: import("@procore/core-icons/dist/Icon").IconSize | undefined;
|
|
26
|
-
} & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>, "ref"> & {
|
|
27
|
-
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
28
|
-
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
29
|
-
size?: import("@procore/core-icons/dist/Icon").IconSize | undefined;
|
|
30
|
-
} & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>, keyof import("react").Component<any, {}, any>>;
|
|
31
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;
|
|
32
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"> & {
|
|
33
27
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|