@procore/core-react 12.35.0 → 12.36.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 +27 -0
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.js +5 -5
- 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/Calendar/Calendar.styles.js +9 -9
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/Checkbox/CheckboxTooltip.js +1 -1
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.styles.js +9 -9
- package/dist/DateInput/DateInput.styles.js.map +1 -1
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- 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 +4 -4
- 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 +4 -4
- package/dist/FilterToken/FilterToken.styles.js +5 -5
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.styles.js +14 -14
- package/dist/Form/StyledFormikForm.styles.js +2 -2
- 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 +2 -2
- package/dist/Input/Input.styles.js.map +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.styles.js +10 -10
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/MultiSelect/MultiSelect.styles.js +6 -6
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- package/dist/Notation/Notation.js +1 -1
- package/dist/NumberInput/NumberInput.styles.js +9 -9
- package/dist/NumberInput/NumberInput.styles.js.map +1 -1
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.js +16 -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 +6 -6
- package/dist/Pagination/Pagination.styles.js.map +1 -1
- package/dist/Pagination/Pagination.types.d.ts +4 -0
- package/dist/Pagination/Pagination.types.js.map +1 -1
- package/dist/Pagination/PaginationSelect.js +59 -3
- package/dist/Pagination/PaginationSelect.js.map +1 -1
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.styles.js +3 -3
- 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 +4 -4
- package/dist/RadioButton/RadioButton.styles.js.map +1 -1
- 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 +1 -0
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +10 -10
- package/dist/Select/Select.styles.js.map +1 -1
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.js +3 -1
- package/dist/Slider/Slider.js.map +1 -1
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SuperSelect/SuperSelect.components.js +3 -3
- package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +41 -41
- package/dist/SuperSelect/SuperSelect.styles.js.map +1 -1
- package/dist/SuperSelect/useSuperSelect.js +11 -11
- package/dist/SuperSelect/useSuperSelect.js.map +1 -1
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.js +30 -30
- package/dist/Table/Table.styles.js.map +1 -1
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.styles.js +15 -15
- 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.styles.js +17 -17
- 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 +2 -2
- package/dist/Tree/Tree.hooks.js +11 -6
- package/dist/Tree/Tree.hooks.js.map +1 -1
- package/dist/Tree/Tree.js +142 -49
- package/dist/Tree/Tree.js.map +1 -1
- package/dist/Tree/Tree.styles.d.ts +5 -0
- package/dist/Tree/Tree.styles.js +17 -9
- package/dist/Tree/Tree.styles.js.map +1 -1
- package/dist/Tree/Tree.types.d.ts +21 -1
- package/dist/Tree/Tree.types.js.map +1 -1
- 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 +38 -0
- package/dist/_locales/de-DE.json +2 -0
- package/dist/_locales/en-AU.json +2 -0
- package/dist/_locales/en-CA.json +2 -0
- package/dist/_locales/en-GB.json +2 -0
- package/dist/_locales/en.json +2 -0
- package/dist/_locales/es-ES.json +2 -0
- package/dist/_locales/es.json +2 -0
- package/dist/_locales/fr-CA.json +2 -0
- package/dist/_locales/fr-FR.json +2 -0
- package/dist/_locales/is-IS.json +2 -0
- package/dist/_locales/it-IT.json +2 -0
- package/dist/_locales/ja-JP.json +2 -0
- package/dist/_locales/pl-PL.json +2 -0
- package/dist/_locales/pseudo.json +2 -0
- package/dist/_locales/pt-BR.json +2 -0
- package/dist/_locales/pt-PT.json +2 -0
- package/dist/_locales/th-TH.json +2 -0
- package/dist/_locales/zh-SG.json +2 -0
- package/dist/_locales/zh-TW.json +3 -1
- package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
- package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
- package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
- package/dist/_typedoc/Badge/Badge.types.json +6 -6
- package/dist/_typedoc/Banner/Banner.types.json +13 -13
- 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 +13 -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 +37 -37
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +30 -30
- 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 +750 -750
- 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 +52 -52
- 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 +77 -77
- package/dist/_typedoc/Modal/Modal.types.json +46 -46
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
- 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 +32 -32
- package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -26
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +30 -30
- 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 +60 -60
- 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 +20 -20
- 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 +13 -13
- package/dist/_typedoc/Tree/Tree.types.json +111 -86
- 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
package/dist/Tree/Tree.styles.js
CHANGED
|
@@ -5,11 +5,11 @@ import { Typography } from '../Typography/Typography';
|
|
|
5
5
|
import { colors } from '../_styles/colors';
|
|
6
6
|
export var StyledFilenameCaption = /*#__PURE__*/styled(Typography).withConfig({
|
|
7
7
|
displayName: "StyledFilenameCaption",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_36_0__sc-2d45b5-0"
|
|
9
9
|
})(["display:flex;width:100%;"]);
|
|
10
10
|
export var StyledTree = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
displayName: "StyledTree",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_36_0__sc-2d45b5-1"
|
|
13
13
|
})(["width:100%;height:100%;min-height:36px;outline:none;overflow:auto;"]);
|
|
14
14
|
export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
|
|
15
15
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
@@ -17,7 +17,7 @@ export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
|
|
|
17
17
|
}
|
|
18
18
|
}).withConfig({
|
|
19
19
|
displayName: "StyledTreeRowContainer",
|
|
20
|
-
componentId: "core-
|
|
20
|
+
componentId: "core-12_36_0__sc-2d45b5-2"
|
|
21
21
|
})(["display:flex;align-items:center;height:36px;background:transparent;box-shadow:inset 4px 0px 0px transparent;cursor:default;outline:none;", " &:hover{background:", ";}", " ", ""], function (_ref) {
|
|
22
22
|
var isSelectable = _ref.isSelectable,
|
|
23
23
|
$isSelectable = _ref.$isSelectable;
|
|
@@ -35,30 +35,38 @@ export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
|
|
|
35
35
|
});
|
|
36
36
|
export var StyledTreeRowContent = /*#__PURE__*/styled.div.withConfig({
|
|
37
37
|
displayName: "StyledTreeRowContent",
|
|
38
|
-
componentId: "core-
|
|
38
|
+
componentId: "core-12_36_0__sc-2d45b5-3"
|
|
39
39
|
})(["display:flex;align-items:center;"]);
|
|
40
40
|
export var StyledTreeRowWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
41
41
|
displayName: "StyledTreeRowWrapper",
|
|
42
|
-
componentId: "core-
|
|
42
|
+
componentId: "core-12_36_0__sc-2d45b5-4"
|
|
43
43
|
})(["outline:none;"]);
|
|
44
44
|
var StyledIconBase = /*#__PURE__*/styled(Box).withConfig({
|
|
45
45
|
displayName: "StyledIconBase",
|
|
46
|
-
componentId: "core-
|
|
46
|
+
componentId: "core-12_36_0__sc-2d45b5-5"
|
|
47
47
|
})(["display:flex;justify-content:center;align-items:center;width:24px;height:24px;min-width:24px;min-height:24px;"]);
|
|
48
|
+
|
|
49
|
+
/** @deprecated Use StyledChevronPlaceholder instead */
|
|
48
50
|
export var StyledChevronContainer = /*#__PURE__*/styled(StyledIconBase).withConfig({
|
|
49
51
|
displayName: "StyledChevronContainer",
|
|
50
|
-
componentId: "core-
|
|
52
|
+
componentId: "core-12_36_0__sc-2d45b5-6"
|
|
53
|
+
})([""]);
|
|
54
|
+
export var StyledChevronPlaceholder = /*#__PURE__*/styled(StyledIconBase).withConfig({
|
|
55
|
+
displayName: "StyledChevronPlaceholder",
|
|
56
|
+
componentId: "core-12_36_0__sc-2d45b5-7"
|
|
51
57
|
})([""]);
|
|
52
58
|
export var StyledIconContainer = /*#__PURE__*/styled(StyledIconBase).withConfig({
|
|
53
59
|
displayName: "StyledIconContainer",
|
|
54
|
-
componentId: "core-
|
|
60
|
+
componentId: "core-12_36_0__sc-2d45b5-8"
|
|
55
61
|
})(["color:", ";"], function (_ref4) {
|
|
56
62
|
var $isSelected = _ref4.$isSelected;
|
|
57
63
|
return $isSelected ? colors.blue45 : colors.gray40;
|
|
58
64
|
});
|
|
65
|
+
|
|
66
|
+
/** @deprecated TreeRowChevron now uses Button with inline styled icon */
|
|
59
67
|
export var StyledChevron = /*#__PURE__*/styled(ChevronRight).withConfig({
|
|
60
68
|
displayName: "StyledChevron",
|
|
61
|
-
componentId: "core-
|
|
69
|
+
componentId: "core-12_36_0__sc-2d45b5-9"
|
|
62
70
|
})(["transform:rotate(", "deg);transition:transform 150ms ease-out;"], function (_ref5) {
|
|
63
71
|
var $isExpanded = _ref5.$isExpanded;
|
|
64
72
|
return $isExpanded ? 90 : 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tree.styles.js","names":["ChevronRight","styled","Box","Typography","colors","StyledFilenameCaption","withConfig","displayName","componentId","StyledTree","div","StyledTreeRowContainer","shouldForwardProp","prop","includes","_ref","isSelectable","$isSelectable","concat","StyledChevron","StyledIconContainer","gray70","gray98","_ref2","isHighlighted","$isHighlighted","_ref3","isSelected","$isSelected","blue96","blue50","blue40","blue94","blue45","StyledTreeRowContent","StyledTreeRowWrapper","StyledIconBase","StyledChevronContainer","_ref4","gray40","_ref5","$isExpanded"],"sources":["../../src/Tree/Tree.styles.ts"],"sourcesContent":["import { ChevronRight } from '@procore/core-icons'\nimport styled from 'styled-components'\nimport { Box } from '../Box/Box'\nimport { Typography } from '../Typography/Typography'\nimport { colors } from '../_styles/colors'\n\nexport const StyledFilenameCaption = styled(Typography)`\n display: flex;\n width: 100%;\n`\n\nexport const StyledTree = styled.div`\n width: 100%;\n height: 100%;\n min-height: 36px;\n outline: none;\n overflow: auto;\n`\n\nexport const StyledTreeRowContainer = styled(Typography).withConfig({\n shouldForwardProp: (prop) =>\n !['isHighlighted', 'isSelectable', 'isSelected'].includes(prop),\n})<{\n /** @deprecated Use $isHighlighted instead */\n isHighlighted?: boolean\n $isHighlighted?: boolean\n /** @deprecated Use $isSelectable instead */\n isSelectable?: boolean\n $isSelectable?: boolean\n /** @deprecated Use $isSelected instead */\n isSelected?: boolean\n $isSelected?: boolean\n}>`\n display: flex;\n align-items: center;\n height: 36px;\n background: transparent;\n box-shadow: inset 4px 0px 0px transparent;\n cursor: default;\n outline: none;\n\n ${({ isSelectable, $isSelectable }) =>\n isSelectable || $isSelectable\n ? 'cursor: pointer;'\n : `\n ${StyledFilenameCaption},\n ${StyledChevron},\n ${StyledIconContainer} {\n color: ${colors.gray70};\n }\n `}\n\n &:hover {\n background: ${colors.gray98};\n }\n\n ${({ isHighlighted, $isHighlighted }) =>\n isHighlighted || $isHighlighted ? `background: ${colors.gray98};` : ''}\n\n ${({ isSelected, $isSelected, isHighlighted, $isHighlighted }) =>\n (isSelected || $isSelected) &&\n `\n background: ${colors.blue96};\n box-shadow: inset 4px 0px 0px ${colors.blue50};\n\n ${StyledFilenameCaption} {\n color: ${colors.blue40};\n font-weight: 600;\n }\n\n &:hover {\n background-color: ${colors.blue94};\n ${StyledFilenameCaption} {\n color: ${colors.blue45};\n }\n }\n\n ${\n (isHighlighted || $isHighlighted) &&\n `\n background-color: ${colors.blue94};\n ${StyledFilenameCaption} {\n color: ${colors.blue45};\n }\n `\n }\n `}\n`\n\nexport const StyledTreeRowContent = styled.div`\n display: flex;\n align-items: center;\n`\n\nexport const StyledTreeRowWrapper = styled.div`\n outline: none;\n`\n\nconst StyledIconBase = styled(Box)`\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 24px;\n height: 24px;\n min-width: 24px;\n min-height: 24px;\n`\n\nexport const StyledChevronContainer = styled(StyledIconBase)``\n\nexport const StyledIconContainer = styled(StyledIconBase)<{\n $isSelected?: boolean\n}>`\n color: ${({ $isSelected }) => ($isSelected ? colors.blue45 : colors.gray40)};\n`\n\nexport const StyledChevron = styled(ChevronRight)<{\n $isExpanded?: boolean\n}>`\n transform: rotate(${({ $isExpanded }) => ($isExpanded ? 90 : 0)}deg);\n transition: transform 150ms ease-out;\n`\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,qBAAqB;AAClD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,GAAG,QAAQ,YAAY;AAChC,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,MAAM,QAAQ,mBAAmB;AAE1C,OAAO,IAAMC,qBAAqB,gBAAGJ,MAAM,CAACE,UAAU,CAAC,CAAAG,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,gCAGtD;AAED,OAAO,IAAMC,UAAU,gBAAGR,MAAM,CAACS,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,0EAMnC;AAED,OAAO,IAAMG,sBAAsB,gBAAGV,MAAM,CAACE,UAAU,CAAC,CAACG,UAAU,CAAC;EAClEM,iBAAiB,EAAE,SAAnBA,iBAAiBA,CAAGC,IAAI;IAAA,OACtB,CAAC,CAAC,eAAe,EAAE,cAAc,EAAE,YAAY,CAAC,CAACC,QAAQ,CAACD,IAAI,CAAC;EAAA;AACnE,CAAC,CAAC,CAAAP,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wLAmBE,UAAAO,IAAA;EAAA,IAAGC,YAAY,GAAAD,IAAA,CAAZC,YAAY;IAAEC,aAAa,GAAAF,IAAA,CAAbE,aAAa;EAAA,OAC9BD,YAAY,IAAIC,aAAa,GACzB,kBAAkB,cAAAC,MAAA,CAElBb,qBAAqB,eAAAa,MAAA,CACrBC,aAAa,eAAAD,MAAA,CACbE,mBAAmB,yBAAAF,MAAA,CACVd,MAAM,CAACiB,MAAM,mBAE3B;AAAA,GAGejB,MAAM,CAACkB,MAAM,EAG3B,UAAAC,KAAA;EAAA,IAAGC,aAAa,GAAAD,KAAA,CAAbC,aAAa;IAAEC,cAAc,GAAAF,KAAA,CAAdE,cAAc;EAAA,OAChCD,aAAa,IAAIC,cAAc,kBAAAP,MAAA,CAAkBd,MAAM,CAACkB,MAAM,SAAM,EAAE;AAAA,GAEtE,UAAAI,KAAA;EAAA,IAAGC,UAAU,GAAAD,KAAA,CAAVC,UAAU;IAAEC,WAAW,GAAAF,KAAA,CAAXE,WAAW;IAAEJ,aAAa,GAAAE,KAAA,CAAbF,aAAa;IAAEC,cAAc,GAAAC,KAAA,CAAdD,cAAc;EAAA,OACzD,CAACE,UAAU,IAAIC,WAAW,4BAAAV,MAAA,CAEVd,MAAM,CAACyB,MAAM,6CAAAX,MAAA,CACKd,MAAM,CAAC0B,MAAM,iBAAAZ,MAAA,CAE3Cb,qBAAqB,yBAAAa,MAAA,CACZd,MAAM,CAAC2B,MAAM,0FAAAb,MAAA,CAKFd,MAAM,CAAC4B,MAAM,iBAAAd,MAAA,CAC/Bb,qBAAqB,2BAAAa,MAAA,CACZd,MAAM,CAAC6B,MAAM,qCAAAf,MAAA,CAKxB,CAACM,aAAa,IAAIC,cAAc,sCAAAP,MAAA,CAEVd,MAAM,CAAC4B,MAAM,mBAAAd,MAAA,CAC/Bb,qBAAqB,6BAAAa,MAAA,CACZd,MAAM,CAAC6B,MAAM,6BAEzB,WAEJ;AAAA,EACJ;AAED,OAAO,IAAMC,oBAAoB,gBAAGjC,MAAM,CAACS,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wCAG7C;AAED,OAAO,IAAM2B,oBAAoB,gBAAGlC,MAAM,CAACS,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,qBAE7C;AAED,IAAM4B,cAAc,gBAAGnC,MAAM,CAACC,GAAG,CAAC,CAAAI,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,qHASjC;
|
|
1
|
+
{"version":3,"file":"Tree.styles.js","names":["ChevronRight","styled","Box","Typography","colors","StyledFilenameCaption","withConfig","displayName","componentId","StyledTree","div","StyledTreeRowContainer","shouldForwardProp","prop","includes","_ref","isSelectable","$isSelectable","concat","StyledChevron","StyledIconContainer","gray70","gray98","_ref2","isHighlighted","$isHighlighted","_ref3","isSelected","$isSelected","blue96","blue50","blue40","blue94","blue45","StyledTreeRowContent","StyledTreeRowWrapper","StyledIconBase","StyledChevronContainer","StyledChevronPlaceholder","_ref4","gray40","_ref5","$isExpanded"],"sources":["../../src/Tree/Tree.styles.ts"],"sourcesContent":["import { ChevronRight } from '@procore/core-icons'\nimport styled from 'styled-components'\nimport { Box } from '../Box/Box'\nimport { Typography } from '../Typography/Typography'\nimport { colors } from '../_styles/colors'\n\nexport const StyledFilenameCaption = styled(Typography)`\n display: flex;\n width: 100%;\n`\n\nexport const StyledTree = styled.div`\n width: 100%;\n height: 100%;\n min-height: 36px;\n outline: none;\n overflow: auto;\n`\n\nexport const StyledTreeRowContainer = styled(Typography).withConfig({\n shouldForwardProp: (prop) =>\n !['isHighlighted', 'isSelectable', 'isSelected'].includes(prop),\n})<{\n /** @deprecated Use $isHighlighted instead */\n isHighlighted?: boolean\n $isHighlighted?: boolean\n /** @deprecated Use $isSelectable instead */\n isSelectable?: boolean\n $isSelectable?: boolean\n /** @deprecated Use $isSelected instead */\n isSelected?: boolean\n $isSelected?: boolean\n}>`\n display: flex;\n align-items: center;\n height: 36px;\n background: transparent;\n box-shadow: inset 4px 0px 0px transparent;\n cursor: default;\n outline: none;\n\n ${({ isSelectable, $isSelectable }) =>\n isSelectable || $isSelectable\n ? 'cursor: pointer;'\n : `\n ${StyledFilenameCaption},\n ${StyledChevron},\n ${StyledIconContainer} {\n color: ${colors.gray70};\n }\n `}\n\n &:hover {\n background: ${colors.gray98};\n }\n\n ${({ isHighlighted, $isHighlighted }) =>\n isHighlighted || $isHighlighted ? `background: ${colors.gray98};` : ''}\n\n ${({ isSelected, $isSelected, isHighlighted, $isHighlighted }) =>\n (isSelected || $isSelected) &&\n `\n background: ${colors.blue96};\n box-shadow: inset 4px 0px 0px ${colors.blue50};\n\n ${StyledFilenameCaption} {\n color: ${colors.blue40};\n font-weight: 600;\n }\n\n &:hover {\n background-color: ${colors.blue94};\n ${StyledFilenameCaption} {\n color: ${colors.blue45};\n }\n }\n\n ${\n (isHighlighted || $isHighlighted) &&\n `\n background-color: ${colors.blue94};\n ${StyledFilenameCaption} {\n color: ${colors.blue45};\n }\n `\n }\n `}\n`\n\nexport const StyledTreeRowContent = styled.div`\n display: flex;\n align-items: center;\n`\n\nexport const StyledTreeRowWrapper = styled.div`\n outline: none;\n`\n\nconst StyledIconBase = styled(Box)`\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 24px;\n height: 24px;\n min-width: 24px;\n min-height: 24px;\n`\n\n/** @deprecated Use StyledChevronPlaceholder instead */\nexport const StyledChevronContainer = styled(StyledIconBase)``\n\nexport const StyledChevronPlaceholder = styled(StyledIconBase)``\n\nexport const StyledIconContainer = styled(StyledIconBase)<{\n $isSelected?: boolean\n}>`\n color: ${({ $isSelected }) => ($isSelected ? colors.blue45 : colors.gray40)};\n`\n\n/** @deprecated TreeRowChevron now uses Button with inline styled icon */\nexport const StyledChevron = styled(ChevronRight)<{\n $isExpanded?: boolean\n}>`\n transform: rotate(${({ $isExpanded }) => ($isExpanded ? 90 : 0)}deg);\n transition: transform 150ms ease-out;\n`\n"],"mappings":"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"}
|
|
@@ -4,6 +4,16 @@ import type { BoxProps } from '../Box/Box.types';
|
|
|
4
4
|
import type { OverlayProps } from '../Overlay/Overlay';
|
|
5
5
|
import type { UNSAFE_treeRootNodeId } from './Tree';
|
|
6
6
|
declare type NodeType = 'branch' | 'leaf';
|
|
7
|
+
export declare type TreeAriaProps = {
|
|
8
|
+
/**
|
|
9
|
+
* @since 12.35.0
|
|
10
|
+
*/
|
|
11
|
+
'aria-label'?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @since 12.35.0
|
|
14
|
+
*/
|
|
15
|
+
'aria-labelledby'?: string;
|
|
16
|
+
};
|
|
7
17
|
export declare type TreeNodeId = number | string | null | undefined | typeof UNSAFE_treeRootNodeId;
|
|
8
18
|
export interface Node {
|
|
9
19
|
/**
|
|
@@ -30,6 +40,16 @@ export interface LevelWise {
|
|
|
30
40
|
* @since 10.19.0
|
|
31
41
|
*/
|
|
32
42
|
level: number;
|
|
43
|
+
/**
|
|
44
|
+
* Total number of siblings at the same level (for aria-setsize)
|
|
45
|
+
* @since 12.35.0
|
|
46
|
+
*/
|
|
47
|
+
setSize: number;
|
|
48
|
+
/**
|
|
49
|
+
* Position among siblings, 1-indexed (for aria-posinset)
|
|
50
|
+
* @since 12.35.0
|
|
51
|
+
*/
|
|
52
|
+
posInSet: number;
|
|
33
53
|
}
|
|
34
54
|
export interface UseTreeProps<T extends Node = Node> {
|
|
35
55
|
rootNodes: T[];
|
|
@@ -217,7 +237,7 @@ export interface TreeRowProps<T extends Node = Node> extends Omit<TreeNodeAPI, '
|
|
|
217
237
|
*/
|
|
218
238
|
treeContainer: HTMLDivElement;
|
|
219
239
|
}
|
|
220
|
-
export interface TreeProps<T extends Node = Node, P extends CustomDataType<T> = Array<T>> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>, Partial<Pick<FixedSizeListProps, 'innerElementType' | 'outerElementType'
|
|
240
|
+
export interface TreeProps<T extends Node = Node, P extends CustomDataType<T> = Array<T>> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>, Partial<Pick<FixedSizeListProps, 'innerElementType' | 'outerElementType'>>, TreeAriaProps {
|
|
221
241
|
/**
|
|
222
242
|
* @since 10.19.0
|
|
223
243
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tree.types.js","names":[],"sources":["../../src/Tree/Tree.types.ts"],"sourcesContent":["import type React from 'react'\nimport type { FixedSizeListProps, ListChildComponentProps } from 'react-window'\nimport type { BoxProps } from '../Box/Box.types'\nimport type { OverlayProps } from '../Overlay/Overlay'\nimport type { UNSAFE_treeRootNodeId } from './Tree'\n\ntype NodeType = 'branch' | 'leaf'\n\nexport type TreeNodeId =\n | number\n | string\n | null\n | undefined\n | typeof UNSAFE_treeRootNodeId\n\nexport interface Node {\n /**\n * @since 10.19.0\n */\n id: TreeNodeId\n}\nexport interface TreeDefaultNode extends Node {\n /**\n * @since 10.19.0\n */\n name: string\n /**\n * @since 10.19.0\n */\n parentId: TreeNodeId\n /**\n * @since 10.19.0\n */\n type: NodeType\n}\n\nexport interface LevelWise {\n /**\n * @since 10.19.0\n */\n level: number\n}\n\nexport interface UseTreeProps<T extends Node = Node> {\n rootNodes: T[]\n /**\n * @since 10.19.0\n */\n expanded: T['id'][]\n /**\n * @since 10.19.0\n */\n selected: T['id'][]\n /**\n * @since 10.19.0\n */\n selectionLimit: number\n /**\n * @since 10.19.0\n */\n getChildren(node: T): T[]\n /**\n * @since 10.19.0\n */\n getParentId(node: T): TreeNodeId\n /**\n * @since 10.19.0\n */\n autoExpandParent: boolean\n /**\n * @since 10.19.0\n */\n multiple: boolean\n /**\n * @since 10.19.0\n */\n onSelect(nodes: T[]): void\n /**\n * @since 10.19.0\n */\n onCollapse(node: T): void\n /**\n * @since 10.19.0\n */\n onExpand(node: T): Promise<any>\n}\n\nexport interface TreeNodeAPI<T extends Node = Node> {\n /**\n * @since 10.19.0\n */\n nodes: (T & LevelWise)[]\n /**\n * @since 10.19.0\n */\n getIcon(props: T): React.ReactNode\n /**\n * @since 10.19.0\n */\n getLabel(props: T): string\n /**\n * @since 10.19.0\n */\n getType(node: T): NodeType\n /**\n * @since 10.19.0\n */\n isExpandable(node: T): boolean\n /**\n * @since 10.19.0\n */\n isSelectable(node: T): boolean\n /**\n * @since 10.19.0\n */\n isSelected(node: T): boolean\n /**\n * @since 10.19.0\n */\n isLoading(node: T): boolean\n /**\n * @since 10.19.0\n */\n isExpanded(node: T): boolean\n /**\n * @since 10.19.0\n */\n highlight(node: T): void\n /**\n * @since 10.19.0\n */\n isHighlighted(node: T): boolean\n /**\n * @since 10.19.0\n */\n handleSelection(node: T): void\n /**\n * @since 10.19.0\n */\n handleExpansion(node: T): void\n /**\n * @since 10.19.0\n */\n rowRenderer(props: TreeRowProps<T>): React.ReactNode\n /**\n * @since 10.19.0\n */\n selectionLimit: number\n /**\n * @since 10.19.0\n */\n isFileLimitReached: boolean\n /**\n * @since 10.19.0\n */\n isTreeFocused: boolean\n /**\n * @since 10.19.0\n */\n treeContainer: HTMLDivElement\n}\n\nexport interface CustomDataType<T> {\n /**\n * @since 10.19.0\n */\n [key: string]: any\n}\n\nexport interface TreeRef<T extends Node = Node> {\n /**\n * @since 10.19.0\n */\n setSelected: (selected: T | T[]) => void\n /**\n * @since 10.19.0\n */\n setExpanded: (expanded: T | T[]) => void\n /**\n * @since 10.19.0\n */\n toggleSelected: (node: T) => void\n /**\n * @since 10.19.0\n */\n toggleExpanded: (node: T) => void\n /**\n * @since 10.19.0\n */\n rootEl: HTMLElement | null\n}\n\nexport interface TreeNodeProps extends ListChildComponentProps {\n /**\n * @since 10.19.0\n */\n data: TreeNodeAPI\n}\n\nexport interface TreeRowOverlayProps {\n /**\n * @since 10.19.0\n */\n overlayRef: OverlayProps['overlayRef']\n /**\n * @since 10.19.0\n */\n targetRef: OverlayProps['targetRef']\n /**\n * @since 10.19.0\n */\n message: { key: string; options?: object }\n}\n\nexport interface TreeRowProps<T extends Node = Node>\n extends Omit<\n TreeNodeAPI,\n 'rowRenderer' | 'nodes' | 'highlight' | 'isTreeFocused'\n > {\n /**\n * @since 10.19.0\n */\n node: T & LevelWise\n /**\n * @since 10.19.0\n */\n shouldShowTooltip: boolean\n /**\n * @since 10.19.0\n */\n isMouseOver: boolean\n /**\n * @since 10.19.0\n */\n treeContainer: HTMLDivElement\n}\n\nexport interface TreeProps<\n T extends Node = Node,\n P extends CustomDataType<T> = Array<T>\n> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>,\n Partial<Pick<FixedSizeListProps, 'innerElementType' | 'outerElementType'
|
|
1
|
+
{"version":3,"file":"Tree.types.js","names":[],"sources":["../../src/Tree/Tree.types.ts"],"sourcesContent":["import type React from 'react'\nimport type { FixedSizeListProps, ListChildComponentProps } from 'react-window'\nimport type { BoxProps } from '../Box/Box.types'\nimport type { OverlayProps } from '../Overlay/Overlay'\nimport type { UNSAFE_treeRootNodeId } from './Tree'\n\ntype NodeType = 'branch' | 'leaf'\n\nexport type TreeAriaProps = {\n /**\n * @since 12.35.0\n */\n 'aria-label'?: string\n /**\n * @since 12.35.0\n */\n 'aria-labelledby'?: string\n}\n\nexport type TreeNodeId =\n | number\n | string\n | null\n | undefined\n | typeof UNSAFE_treeRootNodeId\n\nexport interface Node {\n /**\n * @since 10.19.0\n */\n id: TreeNodeId\n}\nexport interface TreeDefaultNode extends Node {\n /**\n * @since 10.19.0\n */\n name: string\n /**\n * @since 10.19.0\n */\n parentId: TreeNodeId\n /**\n * @since 10.19.0\n */\n type: NodeType\n}\n\nexport interface LevelWise {\n /**\n * @since 10.19.0\n */\n level: number\n /**\n * Total number of siblings at the same level (for aria-setsize)\n * @since 12.35.0\n */\n setSize: number\n /**\n * Position among siblings, 1-indexed (for aria-posinset)\n * @since 12.35.0\n */\n posInSet: number\n}\n\nexport interface UseTreeProps<T extends Node = Node> {\n rootNodes: T[]\n /**\n * @since 10.19.0\n */\n expanded: T['id'][]\n /**\n * @since 10.19.0\n */\n selected: T['id'][]\n /**\n * @since 10.19.0\n */\n selectionLimit: number\n /**\n * @since 10.19.0\n */\n getChildren(node: T): T[]\n /**\n * @since 10.19.0\n */\n getParentId(node: T): TreeNodeId\n /**\n * @since 10.19.0\n */\n autoExpandParent: boolean\n /**\n * @since 10.19.0\n */\n multiple: boolean\n /**\n * @since 10.19.0\n */\n onSelect(nodes: T[]): void\n /**\n * @since 10.19.0\n */\n onCollapse(node: T): void\n /**\n * @since 10.19.0\n */\n onExpand(node: T): Promise<any>\n}\n\nexport interface TreeNodeAPI<T extends Node = Node> {\n /**\n * @since 10.19.0\n */\n nodes: (T & LevelWise)[]\n /**\n * @since 10.19.0\n */\n getIcon(props: T): React.ReactNode\n /**\n * @since 10.19.0\n */\n getLabel(props: T): string\n /**\n * @since 10.19.0\n */\n getType(node: T): NodeType\n /**\n * @since 10.19.0\n */\n isExpandable(node: T): boolean\n /**\n * @since 10.19.0\n */\n isSelectable(node: T): boolean\n /**\n * @since 10.19.0\n */\n isSelected(node: T): boolean\n /**\n * @since 10.19.0\n */\n isLoading(node: T): boolean\n /**\n * @since 10.19.0\n */\n isExpanded(node: T): boolean\n /**\n * @since 10.19.0\n */\n highlight(node: T): void\n /**\n * @since 10.19.0\n */\n isHighlighted(node: T): boolean\n /**\n * @since 10.19.0\n */\n handleSelection(node: T): void\n /**\n * @since 10.19.0\n */\n handleExpansion(node: T): void\n /**\n * @since 10.19.0\n */\n rowRenderer(props: TreeRowProps<T>): React.ReactNode\n /**\n * @since 10.19.0\n */\n selectionLimit: number\n /**\n * @since 10.19.0\n */\n isFileLimitReached: boolean\n /**\n * @since 10.19.0\n */\n isTreeFocused: boolean\n /**\n * @since 10.19.0\n */\n treeContainer: HTMLDivElement\n}\n\nexport interface CustomDataType<T> {\n /**\n * @since 10.19.0\n */\n [key: string]: any\n}\n\nexport interface TreeRef<T extends Node = Node> {\n /**\n * @since 10.19.0\n */\n setSelected: (selected: T | T[]) => void\n /**\n * @since 10.19.0\n */\n setExpanded: (expanded: T | T[]) => void\n /**\n * @since 10.19.0\n */\n toggleSelected: (node: T) => void\n /**\n * @since 10.19.0\n */\n toggleExpanded: (node: T) => void\n /**\n * @since 10.19.0\n */\n rootEl: HTMLElement | null\n}\n\nexport interface TreeNodeProps extends ListChildComponentProps {\n /**\n * @since 10.19.0\n */\n data: TreeNodeAPI\n}\n\nexport interface TreeRowOverlayProps {\n /**\n * @since 10.19.0\n */\n overlayRef: OverlayProps['overlayRef']\n /**\n * @since 10.19.0\n */\n targetRef: OverlayProps['targetRef']\n /**\n * @since 10.19.0\n */\n message: { key: string; options?: object }\n}\n\nexport interface TreeRowProps<T extends Node = Node>\n extends Omit<\n TreeNodeAPI,\n 'rowRenderer' | 'nodes' | 'highlight' | 'isTreeFocused'\n > {\n /**\n * @since 10.19.0\n */\n node: T & LevelWise\n /**\n * @since 10.19.0\n */\n shouldShowTooltip: boolean\n /**\n * @since 10.19.0\n */\n isMouseOver: boolean\n /**\n * @since 10.19.0\n */\n treeContainer: HTMLDivElement\n}\n\nexport interface TreeProps<\n T extends Node = Node,\n P extends CustomDataType<T> = Array<T>\n> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>,\n Partial<Pick<FixedSizeListProps, 'innerElementType' | 'outerElementType'>>,\n TreeAriaProps {\n /**\n * @since 10.19.0\n */\n options: P\n /**\n * Array of keys of the expanded nodes\n * @since 10.19.0\n */\n expanded?: T['id'][]\n\n /**\n * Array of keys of the selected nodes\n * @since 10.19.0\n */\n selected?: T['id'][]\n\n /**\n * Number of nodes that can be selected\n * @default Infinity\n * @since 10.19.0\n */\n selectionLimit?: number\n\n /**\n * Function should return a single root node or an array of root nodes\n * ```\n * (): Node | Node[]\n * ```\n * @since 10.19.0\n * @deprecated To be removed in future release. `getParentId` should be used to determine root nodes instead.\n * @deprecatedSince 11.9.0\n */\n getRoot?(data: P): T | T[]\n\n /**\n * Should return an array of children nodes.\n * ```\n * (node: Node): Node[]\n * ```\n * @since 10.19.0\n */\n getChildren?(node: T): T[]\n\n /**\n * This function will be executed on each node. Should return `Icon` component\n * ```\n * (node: Node): React.ReactNode\n * ```\n * @since 10.19.0\n */\n getIcon?(node: T): React.ReactNode\n\n /**\n * This function will be executed on each node. Should return `label` for row\n * ```\n * (node: Node): string\n * ```\n * @since 10.19.0\n */\n getLabel?(node: T): string\n\n /**\n * This function can be used to override the default parent detection mechanism.\n * If not defined, `Node['parentId']` is used to get a given node's parent.\n * ```\n * (node: Node): TreeNodeId\n * ```\n * @since 10.19.0\n * @deprecated Returning `UNSAFE_treeRootNodeId` to determine a root node is deprecated.\n * Return `null` or `undefined` intead.\n * @deprecatedSince 11.9.0\n */\n getParentId?(node: T): TreeNodeId\n\n /**\n * This function will be executed on each node. Should return `'branch'` or `'leaf'`\n * ```\n * (node: Node): NodeType\n * ```\n * @since 10.19.0\n */\n getType?(node: T): NodeType\n\n /**\n * Function of whether to enable tree node expansion/collapsing.\n * ```\n * (node: Node): boolean\n * ```\n * @since 10.19.0\n */\n isExpandable?(node: T): boolean\n\n /**\n * Function of whether to enable tree node selection.\n * ```\n * (node: Node): boolean\n * ```\n * @since 10.19.0\n */\n isSelectable?(node: T): boolean\n\n /**\n * Allows selection of multiple nodes\n * @default true\n * @since 10.19.0\n */\n multiple?: boolean\n\n /**\n * Number of visible nodes. Helps fix performance bottlenecks in large dataset\n * @default Infinity\n * @since 10.19.0\n */\n maxVisibleNodes?: number\n\n /**\n * Height of the list. Helps fix performance bottlenecks in large dataset.\n * @since 10.19.0\n */\n visibleHeight?: number\n\n /**\n * Whether to expand parent node when a child node is expanded or selected\n * @default true\n * @since 10.19.0\n */\n autoExpandParent?: boolean\n\n /**\n * Callback return currently selected array of nodes.\n * ```\n * (nodes: Node[]): void\n * ```\n * @since 10.19.0\n */\n onSelect?(nodes: T[]): void\n\n /**\n * Triggers when current node collapse\n * ```\n * (node: Node): void\n * ```\n * @since 10.19.0\n */\n onCollapse?(node: T): void\n\n /**\n * Triggers when current node expand\n * ```\n * (node: Node): Promise<void>\n * ```\n * @since 10.19.0\n */\n onExpand?(node: T): Promise<any>\n\n /**\n * Callback for rendering tree nodes\n * ```\n * (props: TreeRowProps): React.ReactNode\n * ```\n * @since 10.19.0\n */\n rowRenderer?(props: TreeRowProps<T>): React.ReactNode\n}\n\nexport interface IconContainerProps extends BoxProps {\n /**\n * @since 10.19.0\n */\n isSelected?: boolean\n}\n\nexport interface TreeRowTooltipProps {\n /**\n * @since 10.19.0\n */\n isHighlighted: boolean\n /**\n * @since 10.19.0\n */\n isSelected: boolean\n /**\n * @since 10.19.0\n */\n isSelectable: boolean\n /**\n * @since 10.19.0\n */\n selectionLimit: number\n /**\n * @since 10.19.0\n */\n isFileLimitReached: boolean\n /**\n * @since 10.19.0\n */\n shouldShowTooltip: boolean\n /**\n * @since 10.19.0\n */\n isMouseOver: boolean\n /**\n * @since 10.19.0\n */\n fileName: string\n /**\n * @since 10.19.0\n */\n nodeType: NodeType\n /**\n * @since 10.19.0\n */\n treeContainer: HTMLDivElement\n}\n\nexport interface TreeRowContainerProps\n extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {\n /**\n * @since 10.19.0\n */\n isHighlighted: boolean\n /**\n * @since 10.19.0\n */\n isSelected: boolean\n /**\n * @since 10.19.0\n */\n isSelectable: boolean\n /**\n * @since 10.19.0\n */\n isExpandable: boolean\n /**\n * @since 10.19.0\n */\n isFileLimitReached: boolean\n /**\n * @since 10.19.0\n */\n level: number\n}\n"],"mappings":""}
|
|
@@ -5,11 +5,11 @@ import { spacing } from '../_styles/spacing';
|
|
|
5
5
|
var inputHeight = 36;
|
|
6
6
|
export var StyledInput = /*#__PURE__*/styled.input.withConfig({
|
|
7
7
|
displayName: "StyledInput",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_36_0__sc-gpc39h-0"
|
|
9
9
|
})(["", " padding-right:", "px;"], getSearchInputStyles(), spacing.xxl);
|
|
10
10
|
export var StyledIcon = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
displayName: "StyledIcon",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_36_0__sc-gpc39h-1"
|
|
13
13
|
})(["align-items:center;color:", ";display:flex;height:", "px;justify-content:center;pointer-events:", ";position:absolute;right:0;top:0;width:", "px;"], function (p) {
|
|
14
14
|
return p.disabled ? colors.gray70 : colors.gray45;
|
|
15
15
|
}, inputHeight, function (p) {
|
|
@@ -17,6 +17,6 @@ export var StyledIcon = /*#__PURE__*/styled.div.withConfig({
|
|
|
17
17
|
}, inputHeight);
|
|
18
18
|
export var StyledTypeahead = /*#__PURE__*/styled.div.withConfig({
|
|
19
19
|
displayName: "StyledTypeahead",
|
|
20
|
-
componentId: "core-
|
|
20
|
+
componentId: "core-12_36_0__sc-gpc39h-2"
|
|
21
21
|
})(["position:relative;width:100%;"]);
|
|
22
22
|
//# sourceMappingURL=Typeahead.styles.js.map
|
|
@@ -35,7 +35,7 @@ export var semiboldRules = function semiboldRules() {
|
|
|
35
35
|
};
|
|
36
36
|
export var StyledTypography = /*#__PURE__*/styled.span.withConfig({
|
|
37
37
|
displayName: "StyledTypography",
|
|
38
|
-
componentId: "core-
|
|
38
|
+
componentId: "core-12_36_0__sc-1c4583t-0"
|
|
39
39
|
})(["", " color:", ";font-style:", ";font-weight:", ";", " ", " em,i{font-style:italic;}"], function (_ref) {
|
|
40
40
|
var _ref$$intent = _ref.$intent,
|
|
41
41
|
$intent = _ref$$intent === void 0 ? 'body' : _ref$$intent;
|
|
@@ -5,11 +5,11 @@ import { colors } from '../_styles/colors';
|
|
|
5
5
|
import { getTypographyIntent } from './Typography.styles';
|
|
6
6
|
var StyledBodyCell = /*#__PURE__*/styled(Table.BodyCell).withConfig({
|
|
7
7
|
displayName: "StyledBodyCell",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_36_0__sc-p4v7d-0"
|
|
9
9
|
})([""]);
|
|
10
10
|
var StyledTextCell = /*#__PURE__*/styled(Table.TextCell).withConfig({
|
|
11
11
|
displayName: "StyledTextCell",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_36_0__sc-p4v7d-1"
|
|
13
13
|
})(["", " color:", ";"], getTypographyIntent('body'), colors.blue50);
|
|
14
14
|
function BodyCell() {
|
|
15
15
|
return /*#__PURE__*/React.createElement(StyledBodyCell, {
|
package/dist/_hooks/I18n.d.ts
CHANGED
|
@@ -252,6 +252,8 @@ export declare const coreTranslations: {
|
|
|
252
252
|
uploading: string;
|
|
253
253
|
};
|
|
254
254
|
tree: {
|
|
255
|
+
expand: string;
|
|
256
|
+
collapse: string;
|
|
255
257
|
selectionLimit: {
|
|
256
258
|
one: string;
|
|
257
259
|
other: string;
|
|
@@ -639,6 +641,8 @@ export declare const coreTranslations: {
|
|
|
639
641
|
uploading: string;
|
|
640
642
|
};
|
|
641
643
|
tree: {
|
|
644
|
+
expand: string;
|
|
645
|
+
collapse: string;
|
|
642
646
|
selectionLimit: {
|
|
643
647
|
one: string;
|
|
644
648
|
other: string;
|
|
@@ -1026,6 +1030,8 @@ export declare const coreTranslations: {
|
|
|
1026
1030
|
uploading: string;
|
|
1027
1031
|
};
|
|
1028
1032
|
tree: {
|
|
1033
|
+
expand: string;
|
|
1034
|
+
collapse: string;
|
|
1029
1035
|
selectionLimit: {
|
|
1030
1036
|
one: string;
|
|
1031
1037
|
other: string;
|
|
@@ -1413,6 +1419,8 @@ export declare const coreTranslations: {
|
|
|
1413
1419
|
uploading: string;
|
|
1414
1420
|
};
|
|
1415
1421
|
tree: {
|
|
1422
|
+
expand: string;
|
|
1423
|
+
collapse: string;
|
|
1416
1424
|
selectionLimit: {
|
|
1417
1425
|
one: string;
|
|
1418
1426
|
other: string;
|
|
@@ -1800,6 +1808,8 @@ export declare const coreTranslations: {
|
|
|
1800
1808
|
uploading: string;
|
|
1801
1809
|
};
|
|
1802
1810
|
tree: {
|
|
1811
|
+
expand: string;
|
|
1812
|
+
collapse: string;
|
|
1803
1813
|
selectionLimit: {
|
|
1804
1814
|
one: string;
|
|
1805
1815
|
other: string;
|
|
@@ -2198,6 +2208,8 @@ export declare const coreTranslations: {
|
|
|
2198
2208
|
uploading: string;
|
|
2199
2209
|
};
|
|
2200
2210
|
tree: {
|
|
2211
|
+
expand: string;
|
|
2212
|
+
collapse: string;
|
|
2201
2213
|
selectionLimit: {
|
|
2202
2214
|
one: string;
|
|
2203
2215
|
other: string;
|
|
@@ -2596,6 +2608,8 @@ export declare const coreTranslations: {
|
|
|
2596
2608
|
uploading: string;
|
|
2597
2609
|
};
|
|
2598
2610
|
tree: {
|
|
2611
|
+
expand: string;
|
|
2612
|
+
collapse: string;
|
|
2599
2613
|
selectionLimit: {
|
|
2600
2614
|
one: string;
|
|
2601
2615
|
other: string;
|
|
@@ -2983,6 +2997,8 @@ export declare const coreTranslations: {
|
|
|
2983
2997
|
uploading: string;
|
|
2984
2998
|
};
|
|
2985
2999
|
tree: {
|
|
3000
|
+
expand: string;
|
|
3001
|
+
collapse: string;
|
|
2986
3002
|
selectionLimit: {
|
|
2987
3003
|
one: string;
|
|
2988
3004
|
other: string;
|
|
@@ -3378,6 +3394,8 @@ export declare const coreTranslations: {
|
|
|
3378
3394
|
uploading: string;
|
|
3379
3395
|
};
|
|
3380
3396
|
tree: {
|
|
3397
|
+
expand: string;
|
|
3398
|
+
collapse: string;
|
|
3381
3399
|
selectionLimit: {
|
|
3382
3400
|
one: string;
|
|
3383
3401
|
other: string;
|
|
@@ -3774,6 +3792,8 @@ export declare const coreTranslations: {
|
|
|
3774
3792
|
uploading: string;
|
|
3775
3793
|
};
|
|
3776
3794
|
tree: {
|
|
3795
|
+
expand: string;
|
|
3796
|
+
collapse: string;
|
|
3777
3797
|
selectionLimit: {
|
|
3778
3798
|
one: string;
|
|
3779
3799
|
other: string;
|
|
@@ -4161,6 +4181,8 @@ export declare const coreTranslations: {
|
|
|
4161
4181
|
uploading: string;
|
|
4162
4182
|
};
|
|
4163
4183
|
tree: {
|
|
4184
|
+
expand: string;
|
|
4185
|
+
collapse: string;
|
|
4164
4186
|
selectionLimit: {
|
|
4165
4187
|
one: string;
|
|
4166
4188
|
other: string;
|
|
@@ -4567,6 +4589,8 @@ export declare const coreTranslations: {
|
|
|
4567
4589
|
uploading: string;
|
|
4568
4590
|
};
|
|
4569
4591
|
tree: {
|
|
4592
|
+
expand: string;
|
|
4593
|
+
collapse: string;
|
|
4570
4594
|
selectionLimit: {
|
|
4571
4595
|
one: string;
|
|
4572
4596
|
other: string;
|
|
@@ -4954,6 +4978,8 @@ export declare const coreTranslations: {
|
|
|
4954
4978
|
uploading: string;
|
|
4955
4979
|
};
|
|
4956
4980
|
tree: {
|
|
4981
|
+
expand: string;
|
|
4982
|
+
collapse: string;
|
|
4957
4983
|
selectionLimit: {
|
|
4958
4984
|
one: string;
|
|
4959
4985
|
other: string;
|
|
@@ -5341,6 +5367,8 @@ export declare const coreTranslations: {
|
|
|
5341
5367
|
uploading: string;
|
|
5342
5368
|
};
|
|
5343
5369
|
tree: {
|
|
5370
|
+
expand: string;
|
|
5371
|
+
collapse: string;
|
|
5344
5372
|
selectionLimit: {
|
|
5345
5373
|
one: string;
|
|
5346
5374
|
other: string;
|
|
@@ -5736,6 +5764,8 @@ export declare const coreTranslations: {
|
|
|
5736
5764
|
uploading: string;
|
|
5737
5765
|
};
|
|
5738
5766
|
tree: {
|
|
5767
|
+
expand: string;
|
|
5768
|
+
collapse: string;
|
|
5739
5769
|
selectionLimit: {
|
|
5740
5770
|
one: string;
|
|
5741
5771
|
other: string;
|
|
@@ -6127,6 +6157,8 @@ export declare const coreTranslations: {
|
|
|
6127
6157
|
uploading: string;
|
|
6128
6158
|
};
|
|
6129
6159
|
tree: {
|
|
6160
|
+
expand: string;
|
|
6161
|
+
collapse: string;
|
|
6130
6162
|
selectionLimit: {
|
|
6131
6163
|
one: string;
|
|
6132
6164
|
other: string;
|
|
@@ -6520,6 +6552,8 @@ export declare const coreTranslations: {
|
|
|
6520
6552
|
uploading: string;
|
|
6521
6553
|
};
|
|
6522
6554
|
tree: {
|
|
6555
|
+
expand: string;
|
|
6556
|
+
collapse: string;
|
|
6523
6557
|
selectionLimit: {
|
|
6524
6558
|
one: string;
|
|
6525
6559
|
other: string;
|
|
@@ -6918,6 +6952,8 @@ export declare const coreTranslations: {
|
|
|
6918
6952
|
uploading: string;
|
|
6919
6953
|
};
|
|
6920
6954
|
tree: {
|
|
6955
|
+
expand: string;
|
|
6956
|
+
collapse: string;
|
|
6921
6957
|
selectionLimit: {
|
|
6922
6958
|
one: string;
|
|
6923
6959
|
other: string;
|
|
@@ -7305,6 +7341,8 @@ export declare const coreTranslations: {
|
|
|
7305
7341
|
uploading: string;
|
|
7306
7342
|
};
|
|
7307
7343
|
tree: {
|
|
7344
|
+
expand: string;
|
|
7345
|
+
collapse: string;
|
|
7308
7346
|
selectionLimit: {
|
|
7309
7347
|
one: string;
|
|
7310
7348
|
other: string;
|
package/dist/_locales/de-DE.json
CHANGED
|
@@ -239,6 +239,8 @@
|
|
|
239
239
|
"uploading" : "Wird hochgeladen"
|
|
240
240
|
},
|
|
241
241
|
"tree" : {
|
|
242
|
+
"expand" : "Maximieren",
|
|
243
|
+
"collapse" : "Minimieren",
|
|
242
244
|
"selectionLimit" : {
|
|
243
245
|
"one" : "Es kann nur {{count}} Datei angehängt werden.",
|
|
244
246
|
"other" : "Es können nur {{count}} Dateien angehängt werden."
|
package/dist/_locales/en-AU.json
CHANGED
package/dist/_locales/en-CA.json
CHANGED
package/dist/_locales/en-GB.json
CHANGED
package/dist/_locales/en.json
CHANGED
package/dist/_locales/es-ES.json
CHANGED
package/dist/_locales/es.json
CHANGED
package/dist/_locales/fr-CA.json
CHANGED
|
@@ -239,6 +239,8 @@
|
|
|
239
239
|
"uploading" : "Téléversement en cours"
|
|
240
240
|
},
|
|
241
241
|
"tree" : {
|
|
242
|
+
"expand" : "Développer",
|
|
243
|
+
"collapse" : "Réduire",
|
|
242
244
|
"selectionLimit" : {
|
|
243
245
|
"one" : "Uniquement {{count}} fichier peut être joint.",
|
|
244
246
|
"other" : "Uniquement {{count}} fichiers peuvent être joints."
|
package/dist/_locales/fr-FR.json
CHANGED
package/dist/_locales/is-IS.json
CHANGED
package/dist/_locales/it-IT.json
CHANGED
package/dist/_locales/ja-JP.json
CHANGED
package/dist/_locales/pl-PL.json
CHANGED
|
@@ -239,6 +239,8 @@
|
|
|
239
239
|
"uploading" : "Przesyłanie"
|
|
240
240
|
},
|
|
241
241
|
"tree" : {
|
|
242
|
+
"expand" : "Rozwiń",
|
|
243
|
+
"collapse" : "Zwiń",
|
|
242
244
|
"selectionLimit" : {
|
|
243
245
|
"one" : "Można dołączyć tylko {{count}} plik",
|
|
244
246
|
"other" : "Maksymalna liczba plików, które można dołączyć: {{count}}"
|
|
@@ -239,6 +239,8 @@
|
|
|
239
239
|
"uploading": "[ŬŬƥŀǿȧḓīƞɠɠ]"
|
|
240
240
|
},
|
|
241
241
|
"tree": {
|
|
242
|
+
"expand": "[ḖḖẋƥȧƞḓḓ]",
|
|
243
|
+
"collapse": "[ƇƇǿŀŀȧƥşḗḗ]",
|
|
242
244
|
"selectionLimit": {
|
|
243
245
|
"one": "[ǾǾǾǾǾǾǾƞŀẏ · {{ƈǿŭƞŧ}} · ƒīŀḗ · ƈȧƞ · ƀḗ · ȧŧŧȧƈħḗḓḓḓḓḓḓḓ]",
|
|
244
246
|
"other": "[ǾǾǾǾǾǾǾǾƞŀẏ · {{ƈǿŭƞŧ}} · ƒīŀḗş · ƈȧƞ · ƀḗ · ȧŧŧȧƈħḗḓḓḓḓḓḓḓḓ]"
|
package/dist/_locales/pt-BR.json
CHANGED
|
@@ -239,6 +239,8 @@
|
|
|
239
239
|
"uploading" : "Upload em Andamento"
|
|
240
240
|
},
|
|
241
241
|
"tree" : {
|
|
242
|
+
"expand" : "Expandir",
|
|
243
|
+
"collapse" : "Recolher",
|
|
242
244
|
"selectionLimit" : {
|
|
243
245
|
"one" : "Só é possível anexar {{count}} arquivo",
|
|
244
246
|
"other" : "Só é possível anexar {{count}} arquivos"
|
package/dist/_locales/pt-PT.json
CHANGED
package/dist/_locales/th-TH.json
CHANGED
package/dist/_locales/zh-SG.json
CHANGED
package/dist/_locales/zh-TW.json
CHANGED
|
@@ -239,6 +239,8 @@
|
|
|
239
239
|
"uploading" : "正在上傳"
|
|
240
240
|
},
|
|
241
241
|
"tree" : {
|
|
242
|
+
"expand" : "展開",
|
|
243
|
+
"collapse" : "收合",
|
|
242
244
|
"selectionLimit" : {
|
|
243
245
|
"one" : "只能附加 {{count}} 個檔案",
|
|
244
246
|
"other" : "只能附加 {{count}} 個檔案"
|
|
@@ -291,7 +293,7 @@
|
|
|
291
293
|
"search" : "搜尋"
|
|
292
294
|
},
|
|
293
295
|
"pagination" : {
|
|
294
|
-
"interval" : "
|
|
296
|
+
"interval" : "/",
|
|
295
297
|
"notation" : "{{start}}-{{end}} / {{totalItems}}",
|
|
296
298
|
"page" : "頁面:",
|
|
297
299
|
"nextPage" : "下一個頁面",
|
|
@@ -2,6 +2,6 @@ import styled from 'styled-components';
|
|
|
2
2
|
import { Typography } from '../../Typography';
|
|
3
3
|
export var StyledDeprecation = /*#__PURE__*/styled(Typography).withConfig({
|
|
4
4
|
displayName: "StyledDeprecation",
|
|
5
|
-
componentId: "core-
|
|
5
|
+
componentId: "core-12_36_0__sc-ojy3xo-0"
|
|
6
6
|
})(["display:block;margin-bottom:16px;"]);
|
|
7
7
|
//# sourceMappingURL=Deprecation.styles.js.map
|