@procore/core-react 12.21.0-cdn.3 → 12.21.0-cdn.4
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/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.js +8 -10
- package/dist/Avatar/Avatar.js.map +1 -1
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.d.ts +1 -1
- package/dist/AvatarStack/AvatarStack.js +21 -18
- 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/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 +8 -8
- 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 +6 -6
- 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.js +5 -12
- package/dist/Form/Form.js.map +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 +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/MultiSelect/MultiSelect.types.d.ts +0 -5
- package/dist/MultiSelect/MultiSelect.types.js.map +1 -1
- 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/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 +2 -2
- 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.styles.js +7 -7
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.context.d.ts +1 -1
- package/dist/SplitViewCard/SplitViewCard.context.js +14 -29
- package/dist/SplitViewCard/SplitViewCard.context.js.map +1 -1
- package/dist/SplitViewCard/SplitViewCard.js +16 -14
- package/dist/SplitViewCard/SplitViewCard.js.map +1 -1
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SplitViewCard/SplitViewCard.types.d.ts +24 -16
- package/dist/SplitViewCard/SplitViewCard.types.js.map +1 -1
- package/dist/SplitViewCard/SplitViewCardInternal.context.d.ts +6 -0
- package/dist/SplitViewCard/SplitViewCardInternal.context.js +31 -0
- package/dist/SplitViewCard/SplitViewCardInternal.context.js.map +1 -0
- package/dist/SplitViewCard/index.d.ts +1 -0
- package/dist/SplitViewCard/index.js +1 -0
- package/dist/SplitViewCard/index.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +37 -37
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.js +28 -28
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.js +4 -6
- package/dist/Tabs/Tabs.js.map +1 -1
- package/dist/Tabs/Tabs.styles.js +15 -15
- package/dist/Tearsheet/Tearsheet.js +40 -61
- package/dist/Tearsheet/Tearsheet.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 +2 -4
- package/dist/Thumbnail/Thumbnail.js.map +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.styles.js +9 -9
- 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/DelayedCallback.js +4 -9
- package/dist/_hooks/DelayedCallback.js.map +1 -1
- package/dist/_hooks/Visibility.js +0 -10
- package/dist/_hooks/Visibility.js.map +1 -1
- 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 +9 -9
- 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 +29 -29
- 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 +741 -741
- 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 +4 -4
- 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 +74 -74
- package/dist/_typedoc/Modal/Modal.types.json +46 -46
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
- package/dist/_typedoc/PageLayout/PageLayout.types.json +29 -29
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +28 -28
- 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 +6 -6
- 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 +19 -19
- 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 +50 -40
- package/dist/_typedoc/Switch/Switch.types.json +3 -3
- package/dist/_typedoc/Table/Table.types.json +101 -101
- 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 +9 -9
- 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 +42 -42
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
- package/dist/_typedoc/Tile/Tile.types.json +30 -30
- 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 +4 -4
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
- package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
- package/dist/_typedoc/Tree/Tree.types.json +86 -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/dist/_typedoc/deprecations.json +1 -1
- package/package.json +3 -4
- package/tsconfig.prod.json +1 -2
- package/__mocks__/_hooks/DelayedCallback.tsx +0 -88
- package/__mocks__/_hooks/Visibility.tsx +0 -100
|
@@ -5,7 +5,7 @@ import { colors } from '../_styles/colors';
|
|
|
5
5
|
import { spacing } from '../_styles/spacing';
|
|
6
6
|
export var StyledHeaderBadge = /*#__PURE__*/styled.div.withConfig({
|
|
7
7
|
displayName: "StyledHeaderBadge",
|
|
8
|
-
componentId: "core-12_21_0-
|
|
8
|
+
componentId: "core-12_21_0-cdn_4__sc-1jpjx47-0"
|
|
9
9
|
})(["", " border-radius:10px;border-style:solid;border-width:1px;display:inline-block;margin-bottom:", "px;padding:1px ", "px;", ""], getTypographyIntent('small'), spacing.sm, spacing.sm, function (_ref) {
|
|
10
10
|
var $variant = _ref.$variant;
|
|
11
11
|
if ($variant) {
|
|
@@ -18,22 +18,22 @@ export var StyledHeaderBadge = /*#__PURE__*/styled.div.withConfig({
|
|
|
18
18
|
// TODO in v12 remove cursor: pointer;
|
|
19
19
|
export var StyledToolHeaderIconContainer = /*#__PURE__*/styled.div.withConfig({
|
|
20
20
|
displayName: "StyledToolHeaderIconContainer",
|
|
21
|
-
componentId: "core-12_21_0-
|
|
21
|
+
componentId: "core-12_21_0-cdn_4__sc-1jpjx47-1"
|
|
22
22
|
})(["color:", ";cursor:pointer;display:inline-flex;flex:0 0 auto;"], colors.orange50);
|
|
23
23
|
export var StyledHeaderTabs = /*#__PURE__*/styled.div.withConfig({
|
|
24
24
|
displayName: "StyledHeaderTabs",
|
|
25
|
-
componentId: "core-12_21_0-
|
|
25
|
+
componentId: "core-12_21_0-cdn_4__sc-1jpjx47-2"
|
|
26
26
|
})(["align-self:flex-end;flex:1 1 auto;min-width:100px;overflow:hidden;"]);
|
|
27
27
|
export var StyledHeaderActions = /*#__PURE__*/styled.div.withConfig({
|
|
28
28
|
displayName: "StyledHeaderActions",
|
|
29
|
-
componentId: "core-12_21_0-
|
|
29
|
+
componentId: "core-12_21_0-cdn_4__sc-1jpjx47-3"
|
|
30
30
|
})(["flex:0 0 auto;margin-left:auto;padding-left:", "px;"], spacing.lg);
|
|
31
31
|
export var StyledToolHeaderTitle = /*#__PURE__*/styled(H1).withConfig({
|
|
32
32
|
displayName: "StyledToolHeaderTitle",
|
|
33
|
-
componentId: "core-12_21_0-
|
|
33
|
+
componentId: "core-12_21_0-cdn_4__sc-1jpjx47-4"
|
|
34
34
|
})(["margin-right:", "px;white-space:nowrap;"], spacing.xl);
|
|
35
35
|
export var StyledToolHeader = /*#__PURE__*/styled.div.withConfig({
|
|
36
36
|
displayName: "StyledToolHeader",
|
|
37
|
-
componentId: "core-12_21_0-
|
|
37
|
+
componentId: "core-12_21_0-cdn_4__sc-1jpjx47-5"
|
|
38
38
|
})(["align-items:center;display:flex;min-height:36px;width:100%;", " + ", ",a + ", ",button + ", "{margin-left:", "px;}"], StyledToolHeaderIconContainer, StyledToolHeaderTitle, StyledToolHeaderTitle, StyledToolHeaderTitle, spacing.lg);
|
|
39
39
|
//# sourceMappingURL=ToolHeader.styles.js.map
|
|
@@ -3,14 +3,14 @@ import { Page } from '../PageLayout';
|
|
|
3
3
|
import { spacing } from '../_styles/spacing';
|
|
4
4
|
export var StyledTitleOuter = /*#__PURE__*/styled(Page.Title).withConfig({
|
|
5
5
|
displayName: "StyledTitleOuter",
|
|
6
|
-
componentId: "core-12_21_0-
|
|
6
|
+
componentId: "core-12_21_0-cdn_4__sc-wa8j06-0"
|
|
7
7
|
})(["align-items:center;display:flex;gap:", "px;"], spacing.md);
|
|
8
8
|
export var StyledTitleInner = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "StyledTitleInner",
|
|
10
|
-
componentId: "core-12_21_0-
|
|
10
|
+
componentId: "core-12_21_0-cdn_4__sc-wa8j06-1"
|
|
11
11
|
})(["width:100%;"]);
|
|
12
12
|
export var StyledToolLandingPageBodyContent = /*#__PURE__*/styled.div.withConfig({
|
|
13
13
|
displayName: "StyledToolLandingPageBodyContent",
|
|
14
|
-
componentId: "core-12_21_0-
|
|
14
|
+
componentId: "core-12_21_0-cdn_4__sc-wa8j06-2"
|
|
15
15
|
})(["> * + *{margin-top:", "px;}"], spacing.sm);
|
|
16
16
|
//# sourceMappingURL=ToolLandingPage.styles.js.map
|
|
@@ -6,10 +6,10 @@ import { getShadow } from '../_styles/shadows';
|
|
|
6
6
|
import { spacing } from '../_styles/spacing';
|
|
7
7
|
export var StyledTooltip = /*#__PURE__*/styled.span.withConfig({
|
|
8
8
|
displayName: "StyledTooltip",
|
|
9
|
-
componentId: "core-12_21_0-
|
|
9
|
+
componentId: "core-12_21_0-cdn_4__sc-1fawsi4-0"
|
|
10
10
|
})(["", " color:", ";max-width:200px;padding:", "px ", "px;position:relative;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;"], getTypographyIntent('small'), colors.white, spacing.sm, spacing.md);
|
|
11
11
|
export var StyledContainer = /*#__PURE__*/styled.span.withConfig({
|
|
12
12
|
displayName: "StyledContainer",
|
|
13
|
-
componentId: "core-12_21_0-
|
|
13
|
+
componentId: "core-12_21_0-cdn_4__sc-1fawsi4-1"
|
|
14
14
|
})(["display:inline-flex;background-color:", ";border-radius:", "px;", " & + [data-overlay-arrow]{background:", ";}"], colors.gray15, borderRadius.md, getShadow(3, 'bottom'), colors.gray15);
|
|
15
15
|
//# sourceMappingURL=Tooltip.styles.js.map
|
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-12_21_0-
|
|
8
|
+
componentId: "core-12_21_0-cdn_4__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_21_0-
|
|
12
|
+
componentId: "core-12_21_0-cdn_4__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-12_21_0-
|
|
20
|
+
componentId: "core-12_21_0-cdn_4__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,30 @@ 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-12_21_0-
|
|
38
|
+
componentId: "core-12_21_0-cdn_4__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-12_21_0-
|
|
42
|
+
componentId: "core-12_21_0-cdn_4__sc-2d45b5-4"
|
|
43
43
|
})(["outline:none;"]);
|
|
44
44
|
var StyledIconBase = /*#__PURE__*/styled(Box).withConfig({
|
|
45
45
|
displayName: "StyledIconBase",
|
|
46
|
-
componentId: "core-12_21_0-
|
|
46
|
+
componentId: "core-12_21_0-cdn_4__sc-2d45b5-5"
|
|
47
47
|
})(["display:flex;justify-content:center;align-items:center;width:24px;height:24px;min-width:24px;min-height:24px;"]);
|
|
48
48
|
export var StyledChevronContainer = /*#__PURE__*/styled(StyledIconBase).withConfig({
|
|
49
49
|
displayName: "StyledChevronContainer",
|
|
50
|
-
componentId: "core-12_21_0-
|
|
50
|
+
componentId: "core-12_21_0-cdn_4__sc-2d45b5-6"
|
|
51
51
|
})([""]);
|
|
52
52
|
export var StyledIconContainer = /*#__PURE__*/styled(StyledIconBase).withConfig({
|
|
53
53
|
displayName: "StyledIconContainer",
|
|
54
|
-
componentId: "core-12_21_0-
|
|
54
|
+
componentId: "core-12_21_0-cdn_4__sc-2d45b5-7"
|
|
55
55
|
})(["color:", ";"], function (_ref4) {
|
|
56
56
|
var $isSelected = _ref4.$isSelected;
|
|
57
57
|
return $isSelected ? colors.blue45 : colors.gray40;
|
|
58
58
|
});
|
|
59
59
|
export var StyledChevron = /*#__PURE__*/styled(ChevronRight).withConfig({
|
|
60
60
|
displayName: "StyledChevron",
|
|
61
|
-
componentId: "core-12_21_0-
|
|
61
|
+
componentId: "core-12_21_0-cdn_4__sc-2d45b5-8"
|
|
62
62
|
})(["transform:rotate(", "deg);transition:transform 150ms ease-out;"], function (_ref5) {
|
|
63
63
|
var $isExpanded = _ref5.$isExpanded;
|
|
64
64
|
return $isExpanded ? 90 : 0;
|
|
@@ -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-12_21_0-
|
|
8
|
+
componentId: "core-12_21_0-cdn_4__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_21_0-
|
|
12
|
+
componentId: "core-12_21_0-cdn_4__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-12_21_0-
|
|
20
|
+
componentId: "core-12_21_0-cdn_4__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-12_21_0-
|
|
38
|
+
componentId: "core-12_21_0-cdn_4__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-12_21_0-
|
|
8
|
+
componentId: "core-12_21_0-cdn_4__sc-p4v7d-0"
|
|
9
9
|
})([""]);
|
|
10
10
|
var StyledTextCell = /*#__PURE__*/styled(Table.TextCell).withConfig({
|
|
11
11
|
displayName: "StyledTextCell",
|
|
12
|
-
componentId: "core-12_21_0-
|
|
12
|
+
componentId: "core-12_21_0-cdn_4__sc-p4v7d-1"
|
|
13
13
|
})(["", " color:", ";"], getTypographyIntent('body'), colors.blue50);
|
|
14
14
|
function BodyCell() {
|
|
15
15
|
return /*#__PURE__*/React.createElement(StyledBodyCell, {
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
// ATTENTION: If you modify this file, you must also update the corresponding mock in __mocks__/_hooks
|
|
3
|
-
|
|
4
2
|
import React from 'react';
|
|
5
3
|
import { useTimer } from './Timer';
|
|
6
4
|
|
|
@@ -54,15 +52,12 @@ export function useDelayedCallback(_ref) {
|
|
|
54
52
|
// cancel timeout on unmount
|
|
55
53
|
t.cancel();
|
|
56
54
|
};
|
|
57
|
-
}, [
|
|
55
|
+
}, []);
|
|
58
56
|
return React.useCallback(function (event) {
|
|
59
57
|
return wrapPromise(before(event)).then(function (shouldUpdate) {
|
|
60
|
-
|
|
61
|
-
return
|
|
62
|
-
|
|
63
|
-
}, delay);
|
|
64
|
-
}
|
|
65
|
-
return false;
|
|
58
|
+
return shouldUpdate && t.setTimer(function () {
|
|
59
|
+
return after(event);
|
|
60
|
+
}, delay);
|
|
66
61
|
});
|
|
67
62
|
}, [delay, before, after, t]);
|
|
68
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DelayedCallback.js","names":["React","useTimer","noop","returnTrue","isPromise","obj","_typeof","then","wrapPromise","result","Promise","resolve","useDelayedCallback","_ref","_ref$after","after","_ref$before","before","_ref$delay","delay","timer","defaultTimer","t","useEffect","cancel","useCallback","event","shouldUpdate","setTimer"],"sources":["../../src/_hooks/DelayedCallback.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"DelayedCallback.js","names":["React","useTimer","noop","returnTrue","isPromise","obj","_typeof","then","wrapPromise","result","Promise","resolve","useDelayedCallback","_ref","_ref$after","after","_ref$before","before","_ref$delay","delay","timer","defaultTimer","t","useEffect","cancel","useCallback","event","shouldUpdate","setTimer"],"sources":["../../src/_hooks/DelayedCallback.tsx"],"sourcesContent":["import React from 'react'\nimport type { TimerApi } from './Timer'\nimport { useTimer } from './Timer'\n\n/* TYPES */\n\nexport type BeforeResult = Promise<any> | boolean | undefined | void\n\nexport type BeforeCallback = (event: Event) => BeforeResult\n\ninterface DelayedCallbackConfig {\n after?: (event: Event) => void\n before?: BeforeCallback\n delay: number\n timer?: TimerApi\n}\n\nfunction noop() {}\n\nfunction returnTrue() {\n return true\n}\n\n/**\n * @deprecatedSince 9\n * @deprecated Never officially documented/supported\n */\nexport function isPromise(obj: any): obj is Promise<any> {\n return typeof obj === 'object' && typeof obj.then === 'function'\n}\n\n/**\n * @deprecatedSince 9\n * @deprecated Never officially documented/supported\n */\nexport function wrapPromise(result: BeforeResult): Promise<any> {\n if (isPromise(result)) {\n return result\n }\n\n if (typeof result === 'boolean') {\n return Promise.resolve(result)\n }\n\n return Promise.resolve(true)\n}\n\n/* HOOK */\n\n/**\n * @deprecatedSince 9\n * @deprecated Never officially documented/supported\n */\nexport function useDelayedCallback({\n after = noop,\n before = returnTrue,\n delay = 0,\n timer,\n}: DelayedCallbackConfig) {\n const defaultTimer = useTimer({})\n\n const t = timer || defaultTimer\n\n React.useEffect(() => {\n return () => {\n // cancel timeout on unmount\n t.cancel()\n }\n }, [])\n\n return React.useCallback(\n (event: any) => {\n return wrapPromise(before(event)).then(\n (shouldUpdate: boolean) =>\n shouldUpdate && t.setTimer(() => after(event), delay)\n )\n },\n [delay, before, after, t]\n )\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,QAAQ,QAAQ,SAAS;;AAElC;;AAaA,SAASC,IAAIA,CAAA,EAAG,CAAC;AAEjB,SAASC,UAAUA,CAAA,EAAG;EACpB,OAAO,IAAI;AACb;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACC,GAAQ,EAAuB;EACvD,OAAOC,OAAA,CAAOD,GAAG,MAAK,QAAQ,IAAI,OAAOA,GAAG,CAACE,IAAI,KAAK,UAAU;AAClE;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACC,MAAoB,EAAgB;EAC9D,IAAIL,SAAS,CAACK,MAAM,CAAC,EAAE;IACrB,OAAOA,MAAM;EACf;EAEA,IAAI,OAAOA,MAAM,KAAK,SAAS,EAAE;IAC/B,OAAOC,OAAO,CAACC,OAAO,CAACF,MAAM,CAAC;EAChC;EAEA,OAAOC,OAAO,CAACC,OAAO,CAAC,IAAI,CAAC;AAC9B;;AAEA;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAAAC,IAAA,EAKR;EAAA,IAAAC,UAAA,GAAAD,IAAA,CAJxBE,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAGZ,IAAI,GAAAY,UAAA;IAAAE,WAAA,GAAAH,IAAA,CACZI,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAGb,UAAU,GAAAa,WAAA;IAAAE,UAAA,GAAAL,IAAA,CACnBM,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAG,CAAC,GAAAA,UAAA;IACTE,KAAK,GAAAP,IAAA,CAALO,KAAK;EAEL,IAAMC,YAAY,GAAGpB,QAAQ,CAAC,CAAC,CAAC,CAAC;EAEjC,IAAMqB,CAAC,GAAGF,KAAK,IAAIC,YAAY;EAE/BrB,KAAK,CAACuB,SAAS,CAAC,YAAM;IACpB,OAAO,YAAM;MACX;MACAD,CAAC,CAACE,MAAM,CAAC,CAAC;IACZ,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;EAEN,OAAOxB,KAAK,CAACyB,WAAW,CACtB,UAACC,KAAU,EAAK;IACd,OAAOlB,WAAW,CAACS,MAAM,CAACS,KAAK,CAAC,CAAC,CAACnB,IAAI,CACpC,UAACoB,YAAqB;MAAA,OACpBA,YAAY,IAAIL,CAAC,CAACM,QAAQ,CAAC;QAAA,OAAMb,KAAK,CAACW,KAAK,CAAC;MAAA,GAAEP,KAAK,CAAC;IAAA,CACzD,CAAC;EACH,CAAC,EACD,CAACA,KAAK,EAAEF,MAAM,EAAEF,KAAK,EAAEO,CAAC,CAC1B,CAAC;AACH"}
|
|
@@ -7,8 +7,6 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
|
|
|
7
7
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
8
8
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
9
9
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
10
|
-
// ATTENTION: If you modify this file, you must also update the corresponding mock in __mocks__/_hooks
|
|
11
|
-
|
|
12
10
|
import React from 'react';
|
|
13
11
|
|
|
14
12
|
/* TYPES */
|
|
@@ -42,21 +40,13 @@ export function useVisibility(_ref) {
|
|
|
42
40
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
43
41
|
isVisible = _React$useState2[0],
|
|
44
42
|
setVisibility = _React$useState2[1];
|
|
45
|
-
var isMounted = React.useRef(true);
|
|
46
|
-
React.useEffect(function () {
|
|
47
|
-
return function () {
|
|
48
|
-
isMounted.current = false;
|
|
49
|
-
};
|
|
50
|
-
}, []);
|
|
51
43
|
var hide = function hide(e) {
|
|
52
|
-
if (!isMounted.current) return;
|
|
53
44
|
setVisibility(false);
|
|
54
45
|
if (isVisible) {
|
|
55
46
|
afterHide(e);
|
|
56
47
|
}
|
|
57
48
|
};
|
|
58
49
|
var show = function show() {
|
|
59
|
-
if (!isMounted.current) return;
|
|
60
50
|
setVisibility(true);
|
|
61
51
|
if (!isVisible) {
|
|
62
52
|
afterShow();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Visibility.js","names":["React","noop","useVisibility","_ref","_ref$afterHide","afterHide","_ref$afterShow","afterShow","_ref$initialIsVisible","initialIsVisible","_React$useState","useState","_React$useState2","_slicedToArray","isVisible","setVisibility","
|
|
1
|
+
{"version":3,"file":"Visibility.js","names":["React","noop","useVisibility","_ref","_ref$afterHide","afterHide","_ref$afterShow","afterShow","_ref$initialIsVisible","initialIsVisible","_React$useState","useState","_React$useState2","_slicedToArray","isVisible","setVisibility","hide","e","show","toggle","Visibility","_ref2","children","props","_objectWithoutProperties","_excluded","visibility"],"sources":["../../src/_hooks/Visibility.tsx"],"sourcesContent":["import React from 'react'\n\n/* TYPES */\n\n/**\n * @deprecatedSince 9\n * @deprecated Never officially documented/supported\n */\nexport interface VisibilityConfig {\n afterHide?: (e?: Event) => void\n afterShow?: () => void\n initialIsVisible?: boolean\n}\n\ninterface VisibilityApi {\n hide: (e?: Event) => any\n isVisible: boolean\n show: () => any\n toggle: () => any\n}\n\ninterface Props extends VisibilityConfig {\n children?: React.ReactNode\n}\n\n/**\n * @deprecatedSince 9\n * @deprecated Never officially documented/supported\n */\nexport interface RenderProps extends VisibilityConfig {\n children: (props: VisibilityApi) => React.ReactElement<{}>\n}\n\n/* HOOK */\n\nfunction noop() {}\n\n/**\n * @deprecatedSince 9\n * @deprecated Never officially documented/supported\n */\nexport function useVisibility({\n afterHide = noop,\n afterShow = noop,\n initialIsVisible = false,\n}: VisibilityConfig): VisibilityApi {\n const [isVisible, setVisibility] = React.useState(initialIsVisible)\n\n const hide = (e?: Event) => {\n setVisibility(false)\n\n if (isVisible) {\n afterHide(e)\n }\n }\n\n const show = () => {\n setVisibility(true)\n\n if (!isVisible) {\n afterShow()\n }\n }\n\n const toggle = isVisible ? hide : show\n\n return {\n hide,\n isVisible,\n show,\n toggle,\n }\n}\n\n/* RENDER PROP */\n\n/**\n * @deprecatedSince 9\n * @deprecated Never officially documented/supported\n */\nexport function Visibility({ children, ...props }: RenderProps) {\n const visibility = useVisibility(props)\n\n return typeof children === 'function' ? children(visibility) : children\n}\n"],"mappings":";;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;;AAEA;AACA;AACA;AACA;;AAkBA;AACA;AACA;AACA;;AAKA;;AAEA,SAASC,IAAIA,CAAA,EAAG,CAAC;;AAEjB;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAAAC,IAAA,EAIO;EAAA,IAAAC,cAAA,GAAAD,IAAA,CAHlCE,SAAS;IAATA,SAAS,GAAAD,cAAA,cAAGH,IAAI,GAAAG,cAAA;IAAAE,cAAA,GAAAH,IAAA,CAChBI,SAAS;IAATA,SAAS,GAAAD,cAAA,cAAGL,IAAI,GAAAK,cAAA;IAAAE,qBAAA,GAAAL,IAAA,CAChBM,gBAAgB;IAAhBA,gBAAgB,GAAAD,qBAAA,cAAG,KAAK,GAAAA,qBAAA;EAExB,IAAAE,eAAA,GAAmCV,KAAK,CAACW,QAAQ,CAACF,gBAAgB,CAAC;IAAAG,gBAAA,GAAAC,cAAA,CAAAH,eAAA;IAA5DI,SAAS,GAAAF,gBAAA;IAAEG,aAAa,GAAAH,gBAAA;EAE/B,IAAMI,IAAI,GAAG,SAAPA,IAAIA,CAAIC,CAAS,EAAK;IAC1BF,aAAa,CAAC,KAAK,CAAC;IAEpB,IAAID,SAAS,EAAE;MACbT,SAAS,CAACY,CAAC,CAAC;IACd;EACF,CAAC;EAED,IAAMC,IAAI,GAAG,SAAPA,IAAIA,CAAA,EAAS;IACjBH,aAAa,CAAC,IAAI,CAAC;IAEnB,IAAI,CAACD,SAAS,EAAE;MACdP,SAAS,CAAC,CAAC;IACb;EACF,CAAC;EAED,IAAMY,MAAM,GAAGL,SAAS,GAAGE,IAAI,GAAGE,IAAI;EAEtC,OAAO;IACLF,IAAI,EAAJA,IAAI;IACJF,SAAS,EAATA,SAAS;IACTI,IAAI,EAAJA,IAAI;IACJC,MAAM,EAANA;EACF,CAAC;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAAAC,KAAA,EAAsC;EAAA,IAAnCC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,KAAA,EAAAI,SAAA;EAC7C,IAAMC,UAAU,GAAGxB,aAAa,CAACqB,KAAK,CAAC;EAEvC,OAAO,OAAOD,QAAQ,KAAK,UAAU,GAAGA,QAAQ,CAACI,UAAU,CAAC,GAAGJ,QAAQ;AACzE"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "An array of sections used in the anchor navigation.",
|
|
11
11
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>An array of sections used in the anchor navigation.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.18.0</p>\n</dd></dl></div>",
|
|
12
12
|
"sourceFile": "packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx",
|
|
13
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L15"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "selected",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "The ID of the currently selected section.",
|
|
21
21
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The ID of the currently selected section.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.18.0</p>\n</dd></dl></div>",
|
|
22
22
|
"sourceFile": "packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx",
|
|
23
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L20"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "onSelect",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"description": "Callback function to update the selected section ID.",
|
|
31
31
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback function to update the selected section ID.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.18.0</p>\n</dd></dl></div>",
|
|
32
32
|
"sourceFile": "packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx",
|
|
33
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L25"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"description": ""
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "",
|
|
11
11
|
"descriptionHtml": "",
|
|
12
12
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
13
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L42"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "className",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Additional classNames",
|
|
21
21
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
22
22
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
23
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L47"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "icon",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"description": "The icon to display",
|
|
31
31
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The icon to display</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
32
32
|
"sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
|
|
33
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/Avatar/Avatar.types.ts#L100"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "style",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"description": "Additional CSS styles",
|
|
41
41
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
42
42
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
43
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
43
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L52"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
"description": ""
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"description": "",
|
|
57
57
|
"descriptionHtml": "",
|
|
58
58
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
59
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
59
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L42"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"name": "className",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"description": "Additional classNames",
|
|
67
67
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
68
68
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
69
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
69
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L47"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"name": "style",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"description": "Additional CSS styles",
|
|
77
77
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
78
78
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
79
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
79
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L52"
|
|
80
80
|
}
|
|
81
81
|
],
|
|
82
82
|
"description": ""
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"description": "",
|
|
93
93
|
"descriptionHtml": "",
|
|
94
94
|
"sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
|
|
95
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
95
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/Avatar/Avatar.types.ts#L12"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"name": "img",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"description": "",
|
|
103
103
|
"descriptionHtml": "",
|
|
104
104
|
"sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
|
|
105
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
105
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/Avatar/Avatar.types.ts#L13"
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"name": "link",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"description": "",
|
|
113
113
|
"descriptionHtml": "",
|
|
114
114
|
"sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
|
|
115
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
115
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/Avatar/Avatar.types.ts#L14"
|
|
116
116
|
}
|
|
117
117
|
],
|
|
118
118
|
"description": ""
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"description": "",
|
|
129
129
|
"descriptionHtml": "",
|
|
130
130
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
131
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
131
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L42"
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"name": "className",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"description": "Additional classNames",
|
|
139
139
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
140
140
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
141
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
141
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L47"
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
"name": "imageUrl",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"description": "The Avatar rich media url",
|
|
149
149
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The Avatar rich media url</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
150
150
|
"sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
|
|
151
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
151
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/Avatar/Avatar.types.ts#L108"
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
"name": "style",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"description": "Additional CSS styles",
|
|
159
159
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
160
160
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
161
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
161
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L52"
|
|
162
162
|
}
|
|
163
163
|
],
|
|
164
164
|
"description": ""
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
"description": "",
|
|
175
175
|
"descriptionHtml": "",
|
|
176
176
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
177
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
177
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L42"
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
"name": "className",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
"description": "Additional classNames",
|
|
185
185
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
186
186
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
187
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
187
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L47"
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
190
|
"name": "clickable",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"deprecated": "Reviewing for removal from system, prefer accessible `role=\"link\"` or `role=\"button\"` for interactive UI.",
|
|
198
198
|
"deprecatedSince": "TBD",
|
|
199
199
|
"sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
|
|
200
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
200
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/Avatar/Avatar.types.ts#L34"
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
"name": "disabled",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Sets the Avatar's disabled state</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>false</p>\n</dd></dl></div>",
|
|
209
209
|
"defaultValue": "false\n",
|
|
210
210
|
"sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
|
|
211
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
211
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/Avatar/Avatar.types.ts#L40"
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
"name": "size",
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
"deprecated": "\n\nSize \"xl\" and \"sm\" have been deprecated and will be removed in a future version.\nPlease use \"lg\" instead of \"xl\".\n\n**Before**\n\n`<Avatar size=\"xl\" />`\n\n**After**\n\n`<Avatar size=\"lg\" />`\n",
|
|
222
222
|
"deprecatedSince": "10.20.0",
|
|
223
223
|
"sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
|
|
224
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
224
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/Avatar/Avatar.types.ts#L62"
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
"name": "style",
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"description": "Additional CSS styles",
|
|
232
232
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
233
233
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
234
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
234
|
+
"sourceUrl": "https://github.com/procore/core/blob/4e01cd0/packages/core-react/src/_utils/types.ts#L52"
|
|
235
235
|
}
|
|
236
236
|
],
|
|
237
237
|
"description": ""
|