@procore/core-react 10.20.0-rc.93 → 10.20.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 +23 -0
- package/dist/esm/components/FileSelect/FileSelect.types.d.ts +17 -60
- package/dist/esm/components/Tree/Tree.js +3 -3
- package/dist/esm/components/Tree/Tree.js.map +1 -1
- package/dist/esm/components/Tree/Tree.styles.d.ts +1 -0
- package/dist/esm/components/Tree/Tree.styles.js +4 -2
- package/dist/esm/components/Tree/Tree.styles.js.map +1 -1
- package/dist/props/FileSelect.json +1 -1
- package/dist/props/allProps.json +37 -37
- package/dist/typedoc/components/Avatar/Avatar.types.json +198 -0
- package/dist/typedoc/components/AvatarStack/AvatarStack.types.json +226 -0
- package/dist/typedoc/components/Badge/Badge.types.json +74 -0
- package/dist/typedoc/components/Banner/Banner.types.json +141 -0
- package/dist/typedoc/components/Breadcrumbs/Breadcrumbs.types.json +84 -0
- package/dist/typedoc/components/Button/Button.types.json +124 -0
- package/dist/typedoc/components/Calendar/Calendar.types.json +846 -0
- package/dist/typedoc/components/Card/Card.types.json +69 -0
- package/dist/typedoc/components/Checkbox/Checkbox.types.json +78 -0
- package/dist/typedoc/components/ContactItem/ContactItem.types.json +98 -0
- package/dist/typedoc/components/DateInput/DateInput.types.json +376 -0
- package/dist/typedoc/components/DateSelect/DateSelect.types.json +138 -0
- package/dist/typedoc/components/Dropdown/Dropdown.types.json +366 -0
- package/dist/typedoc/components/DropdownFlyout/DropdownFlyout.types.json +358 -0
- package/dist/typedoc/components/Dropzone/Dropzone.types.json +498 -0
- package/dist/typedoc/components/EmptyState/EmptyState.types.json +172 -0
- package/dist/typedoc/components/FileList/FileList.types.json +38 -0
- package/dist/typedoc/components/FileSelect/FileSelect.types.json +264 -0
- package/dist/typedoc/components/FileSelect/GridSource/GridSource.types.json +215 -0
- package/dist/typedoc/components/FileSelect/LocalSource/LocalSource.types.json +148 -0
- package/dist/typedoc/components/FileSelect/TreeSource/TreeSource.types.json +169 -0
- package/dist/typedoc/components/Font/Font.types.json +78 -0
- package/dist/typedoc/components/Form/Form.types.json +6870 -0
- package/dist/typedoc/components/GroupSelect/GroupSelect.types.json +520 -0
- package/dist/typedoc/components/Icon/Icon.types.json +114 -0
- package/dist/typedoc/components/Input/Input.types.json +29 -0
- package/dist/typedoc/components/Link/Link.types.json +48 -0
- package/dist/typedoc/components/Menu/Menu.types.json +717 -0
- package/dist/typedoc/components/MenuImperative/MenuImperative.types.json +732 -0
- package/dist/typedoc/components/Modal/Modal.types.json +302 -0
- package/dist/typedoc/components/MultiSelect/MultiSelect.types.json +298 -0
- package/dist/typedoc/components/Notation/Notation.types.json +48 -0
- package/dist/typedoc/components/NumberInput/NumberInput.types.json +288 -0
- package/dist/typedoc/components/OverlayTrigger/OverlayTrigger.json +188 -0
- package/dist/typedoc/components/Pagination/Pagination.types.json +89 -0
- package/dist/typedoc/components/Panel/Panel.types.json +208 -0
- package/dist/typedoc/components/Pill/Pill.types.json +18 -0
- package/dist/typedoc/components/PillSelect/PillSelect.types.json +486 -0
- package/dist/typedoc/components/Popover/Popover.types.json +104 -0
- package/dist/typedoc/components/ProgressBar/ProgressBar.types.json +58 -0
- package/dist/typedoc/components/RadioButton/RadioButton.types.json +68 -0
- package/dist/typedoc/components/Required/Required.types.json +58 -0
- package/dist/typedoc/components/Search/Search.types.json +233 -0
- package/dist/typedoc/components/SegmentedController/SegmentedController.types.json +221 -0
- package/dist/typedoc/components/Select/Select.types.json +330 -0
- package/dist/typedoc/components/Slider/Slider.types.json +68 -0
- package/dist/typedoc/components/Spinner/Spinner.types.json +89 -0
- package/dist/typedoc/components/Switch/Switch.types.json +38 -0
- package/dist/typedoc/components/Table/Table.types.json +1033 -0
- package/dist/typedoc/components/Tabs/Tabs.types.json +157 -0
- package/dist/typedoc/components/TextArea/TextArea.types.json +39 -0
- package/dist/typedoc/components/TextEditor/TextEditor.types.json +79 -0
- package/dist/typedoc/components/Thumbnail/Thumbnail.types.json +128 -0
- package/dist/typedoc/components/TieredDropdown/TieredDropdown.types.json +424 -0
- package/dist/typedoc/components/TieredSelect/TieredSelect.types.json +278 -0
- package/dist/typedoc/components/Tile/Tile.types.json +338 -0
- package/dist/typedoc/components/Toast/Toast.types.json +48 -0
- package/dist/typedoc/components/ToggleButton/ToggleButton.types.json +38 -0
- package/dist/typedoc/components/Token/Token.types.json +125 -0
- package/dist/typedoc/components/Tooltip/Tooltip.types.json +144 -0
- package/dist/typedoc/components/Tree/Tree.types.json +1271 -0
- package/dist/typedoc/components/Typeahead/Typeahead.types.json +28 -0
- package/dist/typedoc/components/Typography/Typography.types.json +88 -0
- package/dist/typedoc/layouts/Box/Box.types.json +742 -0
- package/dist/typedoc/layouts/DetailPage/DetailPage.json +124 -0
- package/dist/typedoc/layouts/Flex/Flex.types.json +268 -0
- package/dist/typedoc/layouts/FlexList/FlexList.types.json +298 -0
- package/dist/typedoc/layouts/Grid/Grid.json +120 -0
- package/dist/typedoc/layouts/IconLayout/IconLayout.json +1 -0
- package/dist/typedoc/layouts/LegacyDetailPage/LegacyDetailPage.json +48 -0
- package/dist/typedoc/layouts/ListPage/ListPage.types.json +115 -0
- package/dist/typedoc/layouts/NextDetailPage/NextDetailPage.types.json +48 -0
- package/dist/typedoc/layouts/NextGrid/NextGrid.types.json +105 -0
- package/dist/typedoc/layouts/PageLayout/PageLayout.types.json +90 -0
- package/dist/typedoc/layouts/ToolHeader/ToolHeader.types.json +95 -0
- package/dist/typedoc/utils/types.json +38 -0
- package/package.json +9 -7
- package/storybook-static/0.25cdfc54d577d52c1c6b.manager.bundle.js +1 -0
- package/storybook-static/0.66071c6b.iframe.bundle.js +1 -0
- package/storybook-static/1.cb03d9ea.iframe.bundle.js +3 -0
- package/storybook-static/{1.f604ac3e.iframe.bundle.js.LICENSE.txt → 1.cb03d9ea.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/1.cb03d9ea.iframe.bundle.js.map +1 -0
- package/storybook-static/2.e3f1ddbd.iframe.bundle.js +1 -0
- package/storybook-static/4.ca3fc33a26ad8acaa0cf.manager.bundle.js +2 -0
- package/storybook-static/{4.37d215da3480ddf79684.manager.bundle.js.LICENSE.txt → 4.ca3fc33a26ad8acaa0cf.manager.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/5.c7334e99bca309dc0f6b.manager.bundle.js +1 -0
- package/storybook-static/{6.72a5c826f7b9ba2a1008.manager.bundle.js → 6.8684078c90624aaf5c12.manager.bundle.js} +2 -2
- package/storybook-static/{6.72a5c826f7b9ba2a1008.manager.bundle.js.LICENSE.txt → 6.8684078c90624aaf5c12.manager.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/7.2d596a64.iframe.bundle.js +3 -0
- package/storybook-static/{7.be450f50.iframe.bundle.js.LICENSE.txt → 7.2d596a64.iframe.bundle.js.LICENSE.txt} +1 -1
- package/storybook-static/7.2d596a64.iframe.bundle.js.map +1 -0
- package/storybook-static/{7.5bf306f93261894e2733.manager.bundle.js → 7.5dd8b1d63c6ccb2b7d4f.manager.bundle.js} +1 -1
- package/storybook-static/{8.38854c3a6e86288d54cc.manager.bundle.js → 8.9c2959b68dd6b32c4949.manager.bundle.js} +1 -1
- package/storybook-static/8.a80b4344.iframe.bundle.js +1 -0
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/index.html +1 -1
- package/storybook-static/main.01bf0da23679c71a30ae.manager.bundle.js +1 -0
- package/storybook-static/{main.1de6ae75.iframe.bundle.js → main.8bf17d1f.iframe.bundle.js} +1 -1
- package/storybook-static/{runtime~main.3937db5d0c29ffeb9085.manager.bundle.js → runtime~main.f7aa4e9b5144dc1a277f.manager.bundle.js} +1 -1
- package/storybook-static/{runtime~main.ab98e1f1.iframe.bundle.js → runtime~main.f83a03f8.iframe.bundle.js} +1 -1
- package/storybook-static/vendors~main.9381682917547df19d6c.manager.bundle.js +2 -0
- package/storybook-static/{vendors~main.3cce118bc9035e221837.manager.bundle.js.LICENSE.txt → vendors~main.9381682917547df19d6c.manager.bundle.js.LICENSE.txt} +0 -6
- package/storybook-static/vendors~main.d8755a0a.iframe.bundle.js +3 -0
- package/storybook-static/{vendors~main.484f0d61.iframe.bundle.js.LICENSE.txt → vendors~main.d8755a0a.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/vendors~main.d8755a0a.iframe.bundle.js.map +1 -0
- package/tsconfig.json +6 -0
- package/tsconfig.prod.json +1 -1
- package/typedoc.js +1 -1
- package/typedoc.ts +187 -0
- package/storybook-static/0.41e28a0bb94d5e5489a5.manager.bundle.js +0 -1
- package/storybook-static/0.b4bb1ac1.iframe.bundle.js +0 -1
- package/storybook-static/1.f604ac3e.iframe.bundle.js +0 -3
- package/storybook-static/1.f604ac3e.iframe.bundle.js.map +0 -1
- package/storybook-static/2.127b3eae.iframe.bundle.js +0 -1
- package/storybook-static/4.37d215da3480ddf79684.manager.bundle.js +0 -2
- package/storybook-static/5.81000771920a22421f7b.manager.bundle.js +0 -1
- package/storybook-static/7.be450f50.iframe.bundle.js +0 -3
- package/storybook-static/7.be450f50.iframe.bundle.js.map +0 -1
- package/storybook-static/8.8a74f8ce.iframe.bundle.js +0 -1
- package/storybook-static/main.2ac4adfe9a439a3c1992.manager.bundle.js +0 -1
- package/storybook-static/vendors~main.3cce118bc9035e221837.manager.bundle.js +0 -2
- package/storybook-static/vendors~main.484f0d61.iframe.bundle.js +0 -3
- package/storybook-static/vendors~main.484f0d61.iframe.bundle.js.map +0 -1
- package/tsconfig.dev.json +0 -4
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
{
|
|
2
|
+
"EmptyStateActionsProps": {
|
|
3
|
+
"name": "EmptyStateActionsProps",
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "children",
|
|
7
|
+
"required": false,
|
|
8
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
9
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
10
|
+
"description": "Instead of using the default children, you can pass in your own.",
|
|
11
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
|
|
12
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L40"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "className",
|
|
17
|
+
"required": false,
|
|
18
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
19
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
20
|
+
"description": "Additional classNames",
|
|
21
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
22
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L45"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "style",
|
|
27
|
+
"required": false,
|
|
28
|
+
"type": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
29
|
+
"typeDetail": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
30
|
+
"description": "Additional CSS styles",
|
|
31
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
32
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L50"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"description": ""
|
|
37
|
+
},
|
|
38
|
+
"EmptyStateDescriptionsProps": {
|
|
39
|
+
"name": "EmptyStateDescriptionsProps",
|
|
40
|
+
"properties": [
|
|
41
|
+
{
|
|
42
|
+
"name": "children",
|
|
43
|
+
"required": false,
|
|
44
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
45
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
46
|
+
"description": "Instead of using the default children, you can pass in your own.",
|
|
47
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
|
|
48
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
49
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L40"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "className",
|
|
53
|
+
"required": false,
|
|
54
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
55
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
56
|
+
"description": "Additional classNames",
|
|
57
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
58
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
59
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L45"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "style",
|
|
63
|
+
"required": false,
|
|
64
|
+
"type": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
65
|
+
"typeDetail": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
66
|
+
"description": "Additional CSS styles",
|
|
67
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
68
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
69
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L50"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"description": ""
|
|
73
|
+
},
|
|
74
|
+
"EmptyStateImageProps": {
|
|
75
|
+
"name": "EmptyStateImageProps",
|
|
76
|
+
"properties": [
|
|
77
|
+
{
|
|
78
|
+
"name": "src",
|
|
79
|
+
"required": false,
|
|
80
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
81
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
82
|
+
"description": "",
|
|
83
|
+
"descriptionHtml": "",
|
|
84
|
+
"sourceFile": "packages/core-react/src/components/EmptyState/EmptyState.types.ts",
|
|
85
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/EmptyState/EmptyState.types.ts#L15"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"description": ""
|
|
89
|
+
},
|
|
90
|
+
"EmptyStateProps": {
|
|
91
|
+
"name": "EmptyStateProps",
|
|
92
|
+
"properties": [
|
|
93
|
+
{
|
|
94
|
+
"name": "children",
|
|
95
|
+
"required": false,
|
|
96
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
97
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
98
|
+
"description": "Instead of using the default children, you can pass in your own.",
|
|
99
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
|
|
100
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
101
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L40"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "className",
|
|
105
|
+
"required": false,
|
|
106
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
107
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
108
|
+
"description": "Additional classNames",
|
|
109
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
110
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
111
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L45"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "compact",
|
|
115
|
+
"required": false,
|
|
116
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
117
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
118
|
+
"description": "Render the EmptyState in compact mode",
|
|
119
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Render the EmptyState in compact mode</p>\n</div></div>",
|
|
120
|
+
"sourceFile": "packages/core-react/src/components/EmptyState/EmptyState.types.ts",
|
|
121
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/EmptyState/EmptyState.types.ts#L7"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "style",
|
|
125
|
+
"required": false,
|
|
126
|
+
"type": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
127
|
+
"typeDetail": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
128
|
+
"description": "Additional CSS styles",
|
|
129
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
130
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
131
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L50"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"description": ""
|
|
135
|
+
},
|
|
136
|
+
"EmptyStateTitleProps": {
|
|
137
|
+
"name": "EmptyStateTitleProps",
|
|
138
|
+
"properties": [
|
|
139
|
+
{
|
|
140
|
+
"name": "children",
|
|
141
|
+
"required": false,
|
|
142
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
143
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
144
|
+
"description": "Instead of using the default children, you can pass in your own.",
|
|
145
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
|
|
146
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
147
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L40"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "className",
|
|
151
|
+
"required": false,
|
|
152
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
153
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
154
|
+
"description": "Additional classNames",
|
|
155
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
156
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
157
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L45"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "style",
|
|
161
|
+
"required": false,
|
|
162
|
+
"type": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
163
|
+
"typeDetail": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
164
|
+
"description": "Additional CSS styles",
|
|
165
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
166
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
167
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L50"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"description": ""
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"FileListProps": {
|
|
3
|
+
"name": "FileListProps",
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "downloadAllUrl",
|
|
7
|
+
"required": false,
|
|
8
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
9
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
10
|
+
"description": "\"Download All\" link URL",
|
|
11
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>"Download All" link URL</p>\n</div></div>",
|
|
12
|
+
"sourceFile": "packages/core-react/src/components/FileList/FileList.types.tsx",
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileList/FileList.types.tsx#L14"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "items",
|
|
17
|
+
"required": true,
|
|
18
|
+
"type": "<span class=\"tsd-signature-type\">FileListItem</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
19
|
+
"typeDetail": "<span class=\"tsd-signature-type\">FileListItem</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
20
|
+
"description": "",
|
|
21
|
+
"descriptionHtml": "",
|
|
22
|
+
"sourceFile": "packages/core-react/src/components/FileList/FileList.types.tsx",
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileList/FileList.types.tsx#L16"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "qa",
|
|
27
|
+
"required": false,
|
|
28
|
+
"type": "<span class=\"tsd-signature-type\">QaTags</span>",
|
|
29
|
+
"typeDetail": "<span class=\"tsd-signature-type\">QaTags</span>",
|
|
30
|
+
"description": "",
|
|
31
|
+
"descriptionHtml": "",
|
|
32
|
+
"sourceFile": "packages/core-react/src/components/FileList/FileList.types.tsx",
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileList/FileList.types.tsx#L17"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"description": ""
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
{
|
|
2
|
+
"FileSelectProps": {
|
|
3
|
+
"name": "FileSelectProps",
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "accept",
|
|
7
|
+
"required": false,
|
|
8
|
+
"type": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
9
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
10
|
+
"description": "Set accepted file types. Accepts everything if left undefined",
|
|
11
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Set accepted file types. Accepts everything if left undefined</p>\n</div></div>",
|
|
12
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L211"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "hideDropzone",
|
|
17
|
+
"required": false,
|
|
18
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
19
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
20
|
+
"description": "Hide dropzone and render only default \"Attach File(s)\" button.",
|
|
21
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Hide dropzone and render only default "Attach File(s)" button.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>false</p>\n</dd></dl></div>",
|
|
22
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L137"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "hideLocalSource",
|
|
27
|
+
"required": false,
|
|
28
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
29
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
30
|
+
"description": "Hide local files source in file explorer modal",
|
|
31
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Hide local files source in file explorer modal</p>\n</div></div>",
|
|
32
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L142"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "maxFileNumber",
|
|
37
|
+
"required": false,
|
|
38
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
39
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
40
|
+
"description": "Maximum number of files that can be selected",
|
|
41
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Maximum number of files that can be selected</p>\n</div></div>",
|
|
42
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
43
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L196"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "maxFileSize",
|
|
47
|
+
"required": false,
|
|
48
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
49
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
50
|
+
"description": "Maximum file size (in bytes)",
|
|
51
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Maximum file size (in bytes)</p>\n</div></div>",
|
|
52
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
53
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L201"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "minFileSize",
|
|
57
|
+
"required": false,
|
|
58
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
59
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
60
|
+
"description": "Minimum file size (in bytes)",
|
|
61
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Minimum file size (in bytes)</p>\n</div></div>",
|
|
62
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
63
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L206"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "uploadFile",
|
|
67
|
+
"required": false,
|
|
68
|
+
"type": "<span class=\"tsd-signature-type\">UploadFile</span>",
|
|
69
|
+
"typeDetail": "<span class=\"tsd-signature-type\">UploadFile</span>",
|
|
70
|
+
"description": "A function for manually controlling the network request for file\nupload. An alternative to using `getEndpoint` which handles\nthe network request itself.",
|
|
71
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function for manually controlling the network request for file\nupload. An alternative to using <code>getEndpoint</code> which handles\nthe network request itself.</p>\n</div></div>",
|
|
72
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
73
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L191"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "beforeLocalFileUpload",
|
|
77
|
+
"required": false,
|
|
78
|
+
"type": "Function",
|
|
79
|
+
"typeDetail": "before<wbr/>Local<wbr/>File<wbr/>Upload<span class=\"tsd-signature-symbol\">(</span>files<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ThumbnailListItem</span><span class=\"tsd-signature-symbol\">[]</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Promise</span><span class=\"tsd-signature-symbol\"><</span><span class=\"tsd-signature-type\">boolean</span><span class=\"tsd-signature-symbol\">></span>",
|
|
80
|
+
"description": "Optional async function that is invoked when selecting or dropping in a\nlocal file. If you want to restrict certain uploads, you can use this\ncallback. Returning true continues the upload, while false will prevent\nupload.",
|
|
81
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Optional async function that is invoked when selecting or dropping in a\nlocal file. If you want to restrict certain uploads, you can use this\ncallback. Returning true continues the upload, while false will prevent\nupload.</p>\n</div></div>",
|
|
82
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
83
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L106"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "dropzoneContentRenderer",
|
|
87
|
+
"required": false,
|
|
88
|
+
"type": "Function",
|
|
89
|
+
"typeDetail": "dropzone<wbr/>Content<wbr/>Renderer<span class=\"tsd-signature-symbol\">(</span>dropzoneProps<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">DropzoneContentRendererProps</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ReactNode</span>",
|
|
90
|
+
"description": "An optional content renderer for the dropzone. Accepts\n`{ open, disabled, errorMessage }` as a single argument,\nallowing to control the dropzone and display different content depending\non dropzone state",
|
|
91
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>An optional content renderer for the dropzone. Accepts\n<code>{ open, disabled, errorMessage }</code> as a single argument,\nallowing to control the dropzone and display different content depending\non dropzone state</p>\n</div></div>",
|
|
92
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
93
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L129"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "getEndpoint",
|
|
97
|
+
"required": false,
|
|
98
|
+
"type": "Function",
|
|
99
|
+
"typeDetail": "get<wbr/>Endpoint<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">string</span>",
|
|
100
|
+
"description": "A function returning an upload URL for a given file. An\nalternative to `uploadFile` which allows manual control of\nthe network request for file upload.",
|
|
101
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function returning an upload URL for a given file. An\nalternative to <code>uploadFile</code> which allows manual control of\nthe network request for file upload.</p>\n</div></div>",
|
|
102
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
103
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L159"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "getHeaders",
|
|
107
|
+
"required": false,
|
|
108
|
+
"type": "Function",
|
|
109
|
+
"typeDetail": "get<wbr/>Headers<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Record</span><span class=\"tsd-signature-symbol\"><</span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">, </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">></span>",
|
|
110
|
+
"description": "A function returning an upload request headers. Returns empty\nobject by default.",
|
|
111
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function returning an upload request headers. Returns empty\nobject by default.</p>\n</div></div>",
|
|
112
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
113
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L184"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "getMethod",
|
|
117
|
+
"required": false,
|
|
118
|
+
"type": "Function",
|
|
119
|
+
"typeDetail": "get<wbr/>Method<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Method</span>",
|
|
120
|
+
"description": "A function returning an upload HTTP method for a given file.\nReturns `POST` by default.",
|
|
121
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function returning an upload HTTP method for a given file.\nReturns <code>POST</code> by default.</p>\n</div></div>",
|
|
122
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
123
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L165"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "getPayload",
|
|
127
|
+
"required": false,
|
|
128
|
+
"type": "Function",
|
|
129
|
+
"typeDetail": "get<wbr/>Payload<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">FormData</span>",
|
|
130
|
+
"description": "A function returning an upload payload `FormData`\nobject for a given file. When defined, `getPayloadKey` is\nignored.",
|
|
131
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function returning an upload payload <code>FormData</code>\nobject for a given file. When defined, <code>getPayloadKey</code> is\nignored.</p>\n</div></div>",
|
|
132
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
133
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L178"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "getPayloadKey",
|
|
137
|
+
"required": false,
|
|
138
|
+
"type": "Function",
|
|
139
|
+
"typeDetail": "get<wbr/>Payload<wbr/>Key<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">string</span>",
|
|
140
|
+
"description": "A function returning an upload payload `FormData` key\nfor a given file. Returns `file` by default.",
|
|
141
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function returning an upload payload <code>FormData</code> key\nfor a given file. Returns <code>file</code> by default.</p>\n</div></div>",
|
|
142
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
143
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L171"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "getTokenLabel",
|
|
147
|
+
"required": false,
|
|
148
|
+
"type": "Function",
|
|
149
|
+
"typeDetail": "get<wbr/>Token<wbr/>Label<span class=\"tsd-signature-symbol\">(</span>sourceId<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">string</span>, sourceValueEntry<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">unknown</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">string</span>",
|
|
150
|
+
"description": "Customize the token label for a given source value. By default,\n`sourceValueEntry.name` is returned.",
|
|
151
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Customize the token label for a given source value. By default,\n<code>sourceValueEntry.name</code> is returned.</p>\n</div></div>",
|
|
152
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
153
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L148"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "localSourceDropzoneContentRenderer",
|
|
157
|
+
"required": false,
|
|
158
|
+
"type": "Function",
|
|
159
|
+
"typeDetail": "local<wbr/>Source<wbr/>Dropzone<wbr/>Content<wbr/>Renderer<span class=\"tsd-signature-symbol\">(</span>dropzoneProps<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">DropzoneContentProps</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ReactNode</span>",
|
|
160
|
+
"description": "",
|
|
161
|
+
"descriptionHtml": "",
|
|
162
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
163
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L150"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "onAdd",
|
|
167
|
+
"required": false,
|
|
168
|
+
"type": "Function",
|
|
169
|
+
"typeDetail": "on<wbr/>Add<span class=\"tsd-signature-symbol\">(</span>value<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">FileSelectValue</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
|
|
170
|
+
"description": "To be called every time when the files are uploaded directly or\nattached via file explorer. The input data should be appended to the\ncurrent value. Files with upload errors are omitted.",
|
|
171
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>To be called every time when the files are uploaded directly or\nattached via file explorer. The input data should be appended to the\ncurrent value. Files with upload errors are omitted.</p>\n</div></div>",
|
|
172
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
173
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L87"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "onError",
|
|
177
|
+
"required": false,
|
|
178
|
+
"type": "Function",
|
|
179
|
+
"typeDetail": "on<wbr/>Error<span class=\"tsd-signature-symbol\">(</span>fileId<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ValueId</span>, error<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">unknown</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
|
|
180
|
+
"description": "To be called whenever an upload error occures",
|
|
181
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>To be called whenever an upload error occures</p>\n</div></div>",
|
|
182
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
183
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L116"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "onFileTokenClick",
|
|
187
|
+
"required": false,
|
|
188
|
+
"type": "Function",
|
|
189
|
+
"typeDetail": "on<wbr/>File<wbr/>Token<wbr/>Click<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">FileSelectValueEntry</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
|
|
190
|
+
"description": "To be called when attached file receives a click",
|
|
191
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>To be called when attached file receives a click</p>\n</div></div>",
|
|
192
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
193
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L121"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "onProgress",
|
|
197
|
+
"required": false,
|
|
198
|
+
"type": "Function",
|
|
199
|
+
"typeDetail": "on<wbr/>Progress<span class=\"tsd-signature-symbol\">(</span>fileId<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ValueId</span>, progress<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">number</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
|
|
200
|
+
"description": "To be called whenever the upload progress is changed",
|
|
201
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>To be called whenever the upload progress is changed</p>\n</div></div>",
|
|
202
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
203
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L98"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "onRemove",
|
|
207
|
+
"required": false,
|
|
208
|
+
"type": "Function",
|
|
209
|
+
"typeDetail": "on<wbr/>Remove<span class=\"tsd-signature-symbol\">(</span>valueEntry<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">FileSelectValueEntry</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
|
|
210
|
+
"description": "To be called whenever the file is removed by user from the primary token\nlist. Removed item should be deleted from the current value by `id` key",
|
|
211
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>To be called whenever the file is removed by user from the primary token\nlist. Removed item should be deleted from the current value by <code>id</code> key</p>\n</div></div>",
|
|
212
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
213
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L93"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "onUploadStateChange",
|
|
217
|
+
"required": false,
|
|
218
|
+
"type": "Function",
|
|
219
|
+
"typeDetail": "on<wbr/>Upload<wbr/>State<wbr/>Change<span class=\"tsd-signature-symbol\">(</span>isPendingUpload<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">boolean</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
|
|
220
|
+
"description": "To be called whenever upload state is changed",
|
|
221
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>To be called whenever upload state is changed</p>\n</div></div>",
|
|
222
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
223
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L111"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"description": ""
|
|
227
|
+
},
|
|
228
|
+
"FileSelectQaTags": {
|
|
229
|
+
"name": "FileSelectQaTags",
|
|
230
|
+
"properties": [
|
|
231
|
+
{
|
|
232
|
+
"name": "attachButton",
|
|
233
|
+
"required": false,
|
|
234
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
235
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
236
|
+
"description": "",
|
|
237
|
+
"descriptionHtml": "",
|
|
238
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
239
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L76"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "localSource",
|
|
243
|
+
"required": false,
|
|
244
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">QaTags</a>",
|
|
245
|
+
"typeDetail": "<span class=\"tsd-signature-type\">any</span>",
|
|
246
|
+
"description": "",
|
|
247
|
+
"descriptionHtml": "",
|
|
248
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
249
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L75"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "removeEntry",
|
|
253
|
+
"required": false,
|
|
254
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
255
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
256
|
+
"description": "",
|
|
257
|
+
"descriptionHtml": "",
|
|
258
|
+
"sourceFile": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
259
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/FileSelect.types.ts#L77"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"description": ""
|
|
263
|
+
}
|
|
264
|
+
}
|