@procore/core-react 12.22.0 → 12.23.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 +14 -0
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.styles.d.ts +8 -8
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/BadgePill/BadgePill.d.ts +3 -0
- package/dist/BadgePill/BadgePill.js +25 -0
- package/dist/BadgePill/BadgePill.js.map +1 -0
- package/dist/BadgePill/BadgePill.styles.d.ts +12 -0
- package/dist/BadgePill/BadgePill.styles.js +33 -0
- package/dist/BadgePill/BadgePill.styles.js.map +1 -0
- package/dist/BadgePill/BadgePill.types.d.ts +50 -0
- package/dist/BadgePill/BadgePill.types.js +2 -0
- package/dist/BadgePill/BadgePill.types.js.map +1 -0
- package/dist/BadgePill/index.d.ts +2 -0
- package/dist/BadgePill/index.js +2 -0
- package/dist/BadgePill/index.js.map +1 -0
- 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.js +2 -0
- package/dist/ContactItem/ContactItem.js.map +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.styles.js +14 -14
- package/dist/Form/StyledFormikForm.styles.d.ts +2 -2
- 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/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.styles.js +8 -8
- 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.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.hooks.d.ts +6 -6
- 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/ClickOutside.js +19 -5
- package/dist/_hooks/ClickOutside.js.map +1 -1
- package/dist/_hooks/I18n.d.ts +44 -9
- package/dist/_hooks/I18n.js +63 -28
- package/dist/_hooks/I18n.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 +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 +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 +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 +12 -12
- 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/package.json +82 -81
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "",
|
|
11
11
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
12
12
|
"sourceFile": "packages/core-react/src/Typeahead/Typeahead.types.ts",
|
|
13
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/Typeahead/Typeahead.types.ts#L15"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "onChange",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "",
|
|
21
21
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
22
22
|
"sourceFile": "packages/core-react/src/Typeahead/Typeahead.types.ts",
|
|
23
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/Typeahead/Typeahead.types.ts#L19"
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
26
|
"description": ""
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "Change the HTML tag. This\n[prop is from styled-components](https://styled-components.com/docs/api#as-polymorphic-prop)\n__Warning__: If using TypeScript, it will not switch types and\nsome props may error. You can add `@ts-expect-error`.\nSee [styled-components issue](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30117)",
|
|
11
11
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Change the HTML tag. This\n<a href=\"https://styled-components.com/docs/api#as-polymorphic-prop\">prop is from styled-components</a>\n<strong>Warning</strong>: If using TypeScript, it will not switch types and\nsome props may error. You can add <code>@ts-expect-error</code>.\nSee <a href=\"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30117\">styled-components issue</a></p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>'span'</p>\n</dd><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
12
12
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
13
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/Typography/Typography.types.ts#L26"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "breakWord",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Enables word wrapping and breaking within the component",
|
|
21
21
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Enables word wrapping and breaking within the component</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.0.0</p>\n</dd></dl></div>",
|
|
22
22
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
23
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/Typography/Typography.types.ts#L57"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "children",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"description": "When children are a string or multiple elements, they will be wrapped\nby a `span`. When it is a single element, classnames will\nbe added to it instead",
|
|
31
31
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>When children are a string or multiple elements, they will be wrapped\nby a <code>span</code>. When it is a single element, classnames will\nbe added to it instead</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/Typography/Typography.types.ts",
|
|
33
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/Typography/Typography.types.ts#L15"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "className",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"description": "Additional classNames",
|
|
41
41
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</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/80fa986/packages/core-react/src/_utils/types.ts#L47"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"name": "color",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"description": "Changes font color, can be any of the `colors` object HSL Palette",
|
|
51
51
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes font color, can be any of the <code>colors</code> object HSL Palette</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>'gray15'</p>\n</dd><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
52
52
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
53
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
53
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/Typography/Typography.types.ts#L33"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"name": "intent",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"description": "Changes the size of the font",
|
|
61
61
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes the size of the font</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
62
62
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
63
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
63
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/Typography/Typography.types.ts#L39"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"name": "italic",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"description": "Applies `font-style: italic` if enabled",
|
|
71
71
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Applies <code>font-style: italic</code> if enabled</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
72
72
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
73
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
73
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/Typography/Typography.types.ts#L45"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"name": "style",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"description": "Additional CSS styles",
|
|
81
81
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
82
82
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
83
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
83
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/_utils/types.ts#L52"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"name": "weight",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"description": "Changes font weight if it is supported in the design system",
|
|
91
91
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes font weight if it is supported in the design system</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
92
92
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
93
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
93
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/Typography/Typography.types.ts#L51"
|
|
94
94
|
}
|
|
95
95
|
],
|
|
96
96
|
"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/80fa986/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/80fa986/packages/core-react/src/_utils/types.ts#L47"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "style",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"description": "Additional CSS styles",
|
|
31
31
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
32
32
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
33
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/80fa986/packages/core-react/src/_utils/types.ts#L52"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"description": ""
|
package/package.json
CHANGED
|
@@ -1,41 +1,105 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/core-react",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.23.0",
|
|
4
4
|
"description": "React library of Procore Design Guidelines",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
5
|
+
"author": "Procore Technologies",
|
|
6
|
+
"homepage": "https://github.com/procore/core/tree/main/packages/core-react",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/procore/core.git",
|
|
10
|
+
"directory": "packages/core-react"
|
|
11
|
+
},
|
|
12
|
+
"bugs": "https://github.com/procore/core/issues",
|
|
13
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"components",
|
|
16
|
+
"javascript",
|
|
17
|
+
"js",
|
|
18
|
+
"jsx",
|
|
19
|
+
"library",
|
|
20
|
+
"procore",
|
|
21
|
+
"react"
|
|
11
22
|
],
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
12
26
|
"exports": {
|
|
13
27
|
".": "./dist/index.js",
|
|
14
28
|
"./dist/_typedoc/*.json": "./dist/_typedoc/*.json",
|
|
15
29
|
"./dist/_typedoc/**/*.json": "./dist/_typedoc/**/*.json"
|
|
16
30
|
},
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
31
|
+
"main": "dist/index.js",
|
|
32
|
+
"module": "dist/index.js",
|
|
33
|
+
"types": "dist/index.d.ts",
|
|
20
34
|
"scripts": {
|
|
21
35
|
"build": "yarn run clean && yarn run build:esm & yarn run build:types & yarn run build:typedoc",
|
|
36
|
+
"build-storybook": "storybook build --webpack-stats-json",
|
|
22
37
|
"build:esm": "BUNDLING=true babel src --out-dir dist --extensions '.ts,.tsx,.js,.snap' -s --copy-files --no-copy-ignored",
|
|
23
|
-
"build:types": "tsc --declaration --emitDeclarationOnly -p tsconfig.prod.json",
|
|
24
38
|
"build:typedoc": "ts-node typedoc.ts",
|
|
39
|
+
"build:types": "tsc --declaration --emitDeclarationOnly -p tsconfig.prod.json",
|
|
25
40
|
"chromatic": "dotenvx run -- chromatic",
|
|
26
41
|
"chromatic:ci": "chromatic --ci --storybook-build-dir ./storybook-static --project-token=${CHROMATIC_CORE_REACT_TOKEN} --exit-once-uploaded --only-changed --skip=\"dependabot*\"",
|
|
27
42
|
"clean": "rimraf dist",
|
|
28
43
|
"dev": "NODE_ENV=development TZ_LOG=true yarn run build:typedoc && yarn run dev:ts",
|
|
29
44
|
"dev:ts": "tsc -p tsconfig.prod.json --watch",
|
|
45
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx src",
|
|
30
46
|
"lint:types": "tsc -p tsconfig.prod.json --noEmit",
|
|
31
47
|
"lint:types:watch": "tsc -p . --noEmit --watch",
|
|
32
48
|
"pseudo": "pseudolocalize run ./src/_locales",
|
|
33
49
|
"storybook": "storybook dev -p 6007",
|
|
34
|
-
"build-storybook": "storybook build --webpack-stats-json",
|
|
35
50
|
"test": "TZ=America/Los_Angeles jest --silent --runInBand --logHeapUsage",
|
|
36
51
|
"test:update": "TZ=America/Los_Angeles jest --runInBand -u",
|
|
37
|
-
"test:watch": "yarn run test --watch"
|
|
38
|
-
|
|
52
|
+
"test:watch": "yarn run test --watch"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@procore/globalization-toolkit": ">= 3 < 4",
|
|
56
|
+
"formik": ">= 2.1.5 < 3",
|
|
57
|
+
"react": ">=16.8.0 < 19",
|
|
58
|
+
"react-dom": ">=16.8.0 < 19",
|
|
59
|
+
"styled-components": ">= 5.1.1 < 7"
|
|
60
|
+
},
|
|
61
|
+
"peerDependenciesMeta": {
|
|
62
|
+
"formik": {
|
|
63
|
+
"optional": true
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@atlaskit/pragmatic-drag-and-drop": "1.3.0",
|
|
68
|
+
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "1.2.1",
|
|
69
|
+
"@floating-ui/react": "0.25.2",
|
|
70
|
+
"@floating-ui/react-dom": "2.0.2",
|
|
71
|
+
"@procore/cdn-translations": "0.1.12",
|
|
72
|
+
"@procore/core-i18n-js": "^10.29.3",
|
|
73
|
+
"@procore/core-icons": "^12.8.0",
|
|
74
|
+
"@react-aria/button": "3.6.4",
|
|
75
|
+
"@react-aria/checkbox": "3.6.0",
|
|
76
|
+
"@react-aria/focus": "3.16.2",
|
|
77
|
+
"@react-aria/interactions": "3.21.1",
|
|
78
|
+
"@react-aria/label": "3.4.4",
|
|
79
|
+
"@react-aria/overlays": "3.12.1",
|
|
80
|
+
"@react-aria/radio": "3.4.2",
|
|
81
|
+
"@react-aria/utils": "3.23.2",
|
|
82
|
+
"@react-aria/visually-hidden": "3.4.1",
|
|
83
|
+
"@react-types/checkbox": "3.4.1",
|
|
84
|
+
"@tinymce/tinymce-react": "6.1.0",
|
|
85
|
+
"axios": "1.8.2",
|
|
86
|
+
"classnames": "2.3.2",
|
|
87
|
+
"date-fns": "2.29.1",
|
|
88
|
+
"date-fns-tz": "2.0.0",
|
|
89
|
+
"intersection-observer": "0.12.2",
|
|
90
|
+
"lodash.debounce": "4.0.8",
|
|
91
|
+
"lodash.groupby": "4.6.0",
|
|
92
|
+
"lodash.merge": "4.6.2",
|
|
93
|
+
"lodash.throttle": "4.1.1",
|
|
94
|
+
"lodash.times": "4.3.2",
|
|
95
|
+
"lodash.uniq": "4.5.0",
|
|
96
|
+
"ramda": "0.30.1",
|
|
97
|
+
"react-dropzone": "11.5.1",
|
|
98
|
+
"react-stately": "3.20.0",
|
|
99
|
+
"react-virtuoso": "2.16.1",
|
|
100
|
+
"react-window": "^1.8.7",
|
|
101
|
+
"react-window-infinite-loader": "^1.0.9",
|
|
102
|
+
"ulid": "2.3.0"
|
|
39
103
|
},
|
|
40
104
|
"devDependencies": {
|
|
41
105
|
"@atlaskit/pragmatic-drag-and-drop-unit-testing": "^1.1.0",
|
|
@@ -113,71 +177,8 @@
|
|
|
113
177
|
"webpack": "5.96.1",
|
|
114
178
|
"yup": "0.32.11"
|
|
115
179
|
},
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
"@floating-ui/react-dom": "2.0.2",
|
|
121
|
-
"@procore/core-i18n-js": "10.29.3",
|
|
122
|
-
"@procore/core-icons": "12.6.1",
|
|
123
|
-
"@react-aria/button": "3.6.4",
|
|
124
|
-
"@react-aria/checkbox": "3.6.0",
|
|
125
|
-
"@react-aria/focus": "3.16.2",
|
|
126
|
-
"@react-aria/interactions": "3.21.1",
|
|
127
|
-
"@react-aria/label": "3.4.4",
|
|
128
|
-
"@react-aria/overlays": "3.12.1",
|
|
129
|
-
"@react-aria/radio": "3.4.2",
|
|
130
|
-
"@react-aria/utils": "3.23.2",
|
|
131
|
-
"@react-aria/visually-hidden": "3.4.1",
|
|
132
|
-
"@react-types/checkbox": "3.4.1",
|
|
133
|
-
"@tinymce/tinymce-react": "6.1.0",
|
|
134
|
-
"axios": "1.8.2",
|
|
135
|
-
"classnames": "2.3.2",
|
|
136
|
-
"date-fns": "2.29.1",
|
|
137
|
-
"date-fns-tz": "2.0.0",
|
|
138
|
-
"intersection-observer": "0.12.2",
|
|
139
|
-
"lodash.debounce": "4.0.8",
|
|
140
|
-
"lodash.groupby": "4.6.0",
|
|
141
|
-
"lodash.merge": "4.6.2",
|
|
142
|
-
"lodash.throttle": "4.1.1",
|
|
143
|
-
"lodash.times": "4.3.2",
|
|
144
|
-
"lodash.uniq": "4.5.0",
|
|
145
|
-
"ramda": "0.30.1",
|
|
146
|
-
"react-dropzone": "11.5.1",
|
|
147
|
-
"react-stately": "3.20.0",
|
|
148
|
-
"react-virtuoso": "2.16.1",
|
|
149
|
-
"react-window": "^1.8.7",
|
|
150
|
-
"react-window-infinite-loader": "^1.0.9",
|
|
151
|
-
"ulid": "2.3.0"
|
|
152
|
-
},
|
|
153
|
-
"peerDependencies": {
|
|
154
|
-
"@procore/globalization-toolkit": ">= 3 < 4",
|
|
155
|
-
"formik": ">= 2.1.5 < 3",
|
|
156
|
-
"react": ">=16.8.0 < 19",
|
|
157
|
-
"react-dom": ">=16.8.0 < 19",
|
|
158
|
-
"styled-components": ">= 5.1.1 < 7"
|
|
159
|
-
},
|
|
160
|
-
"peerDependenciesMeta": {
|
|
161
|
-
"formik": {
|
|
162
|
-
"optional": true
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"homepage": "https://github.com/procore/core/tree/main/packages/core-react",
|
|
166
|
-
"repository": {
|
|
167
|
-
"type": "git",
|
|
168
|
-
"url": "git+https://github.com/procore/core.git",
|
|
169
|
-
"directory": "packages/core-react"
|
|
170
|
-
},
|
|
171
|
-
"bugs": "https://github.com/procore/core/issues",
|
|
172
|
-
"keywords": [
|
|
173
|
-
"javascript",
|
|
174
|
-
"components",
|
|
175
|
-
"react",
|
|
176
|
-
"js",
|
|
177
|
-
"jsx",
|
|
178
|
-
"library",
|
|
179
|
-
"procore"
|
|
180
|
-
],
|
|
181
|
-
"author": "Procore Technologies",
|
|
182
|
-
"license": "SEE LICENSE IN LICENSE"
|
|
180
|
+
"sideEffects": [
|
|
181
|
+
"./dist/OverlayTrigger/OverlayTrigger.js",
|
|
182
|
+
"./dist/_hooks/ResizeObserver.js"
|
|
183
|
+
]
|
|
183
184
|
}
|