@procore/core-react 10.20.0-rc.94 → 10.20.0-rc.95
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/esm/components/FileSelect/FileSelect.types.d.ts +17 -60
- 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/{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
|
@@ -61,27 +61,17 @@ export interface QaTags {
|
|
|
61
61
|
}
|
|
62
62
|
export interface FileSelectProps extends Omit<DivAttributes, 'onError' | 'onProgress'> {
|
|
63
63
|
/**
|
|
64
|
-
* <Code>(addedValues: FileSelectValue) => void</Code>
|
|
65
|
-
* <br />
|
|
66
|
-
* <br />
|
|
67
64
|
* To be called every time when the files are uploaded directly or
|
|
68
65
|
* attached via file explorer. The input data should be appended to the
|
|
69
66
|
* current value. Files with upload errors are omitted.
|
|
70
67
|
*/
|
|
71
68
|
onAdd?: (value: FileSelectValue) => void;
|
|
72
69
|
/**
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* <br />
|
|
76
|
-
* To be called whenever the file is removed by user from the primary
|
|
77
|
-
* token list. Removed item should be deleted from the current value by{' '}
|
|
78
|
-
* <Code>id</Code> key
|
|
70
|
+
* To be called whenever the file is removed by user from the primary token
|
|
71
|
+
* list. Removed item should be deleted from the current value by `id` key
|
|
79
72
|
*/
|
|
80
73
|
onRemove?: (valueEntry: FileSelectValueEntry) => void;
|
|
81
74
|
/**
|
|
82
|
-
* <Code>(fileId: string, progress: number) => void</Code>
|
|
83
|
-
* <br />
|
|
84
|
-
* <br />
|
|
85
75
|
* To be called whenever the upload progress is changed
|
|
86
76
|
*/
|
|
87
77
|
onProgress?: (fileId: ValueId, progress: number) => void;
|
|
@@ -90,33 +80,23 @@ export interface FileSelectProps extends Omit<DivAttributes, 'onError' | 'onProg
|
|
|
90
80
|
* local file. If you want to restrict certain uploads, you can use this
|
|
91
81
|
* callback. Returning true continues the upload, while false will prevent
|
|
92
82
|
* upload.
|
|
93
|
-
* <Code>{'(files: ThumbnailListItem[]) => Promise<boolean>'}</Code>
|
|
94
83
|
*/
|
|
95
84
|
beforeLocalFileUpload?: (files: ThumbnailListItem[]) => Promise<boolean>;
|
|
96
85
|
/**
|
|
97
|
-
* <Code>(isPendingUpload: boolean) => void</Code>
|
|
98
|
-
* <br />
|
|
99
|
-
* <br />
|
|
100
86
|
* To be called whenever upload state is changed
|
|
101
87
|
*/
|
|
102
88
|
onUploadStateChange?: (isPendingUpload: boolean) => void;
|
|
103
89
|
/**
|
|
104
|
-
* <Code>(fileId: string, error: unknown) => void</Code>
|
|
105
|
-
* <br />
|
|
106
|
-
* <br />
|
|
107
90
|
* To be called whenever an upload error occures
|
|
108
91
|
*/
|
|
109
92
|
onError?: (fileId: ValueId, error: unknown) => void;
|
|
110
93
|
/**
|
|
111
|
-
* <Code>(file: FileSelectValueEntry) => void</Code>
|
|
112
|
-
* <br />
|
|
113
|
-
* <br />
|
|
114
94
|
* To be called when attached file receives a click
|
|
115
95
|
*/
|
|
116
96
|
onFileTokenClick?: (file: FileSelectValueEntry) => void;
|
|
117
97
|
/**
|
|
118
|
-
* An optional content renderer for the dropzone. Accepts
|
|
119
|
-
*
|
|
98
|
+
* An optional content renderer for the dropzone. Accepts
|
|
99
|
+
* `{ open, disabled, errorMessage }` as a single argument,
|
|
120
100
|
* allowing to control the dropzone and display different content depending
|
|
121
101
|
* on dropzone state
|
|
122
102
|
*/
|
|
@@ -131,64 +111,41 @@ export interface FileSelectProps extends Omit<DivAttributes, 'onError' | 'onProg
|
|
|
131
111
|
*/
|
|
132
112
|
hideLocalSource?: boolean;
|
|
133
113
|
/**
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
* <br />
|
|
137
|
-
* Customize the token label for a given source value. By default,{' '}
|
|
138
|
-
* <Code>sourceValueEntry.name</Code> is returned.
|
|
114
|
+
* Customize the token label for a given source value. By default,
|
|
115
|
+
* `sourceValueEntry.name` is returned.
|
|
139
116
|
*/
|
|
140
117
|
getTokenLabel?: (sourceId: string, sourceValueEntry: unknown) => string;
|
|
141
118
|
localSourceDropzoneContentRenderer?: (dropzoneProps: DropzoneContentProps) => React.ReactNode;
|
|
142
119
|
/**
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* <br />A function returning an upload URL for a given file. An
|
|
146
|
-
* alternative to <Code>uploadFile</Code> which allows manual control of
|
|
120
|
+
* A function returning an upload URL for a given file. An
|
|
121
|
+
* alternative to `uploadFile` which allows manual control of
|
|
147
122
|
* the network request for file upload.
|
|
148
123
|
*/
|
|
149
124
|
getEndpoint?: (file: File) => string;
|
|
150
125
|
/**
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* <br />A function returning an upload HTTP method for a given file.
|
|
154
|
-
* Returns <Code>POST</Code> by default.
|
|
126
|
+
* A function returning an upload HTTP method for a given file.
|
|
127
|
+
* Returns `POST` by default.
|
|
155
128
|
*/
|
|
156
129
|
getMethod?: (file: File) => Method;
|
|
157
130
|
/**
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* <br />A function returning an upload payload <Code>FormData</Code> key
|
|
161
|
-
* for a given file. Returns <Code>file</Code> by default.
|
|
131
|
+
* A function returning an upload payload `FormData` key
|
|
132
|
+
* for a given file. Returns `file` by default.
|
|
162
133
|
*/
|
|
163
134
|
getPayloadKey?: (file: File) => string;
|
|
164
135
|
/**
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
* <br />A function returning an upload payload <Code>FormData</Code>{' '}
|
|
168
|
-
* object for a given file. When defined, <Code>getPayloadKey</Code> is
|
|
136
|
+
* A function returning an upload payload `FormData`
|
|
137
|
+
* object for a given file. When defined, `getPayloadKey` is
|
|
169
138
|
* ignored.
|
|
170
139
|
*/
|
|
171
140
|
getPayload?: (file: File) => FormData;
|
|
172
141
|
/**
|
|
173
|
-
*
|
|
174
|
-
* <br />
|
|
175
|
-
* <br />A function returning an upload request headers. Returns empty
|
|
142
|
+
* A function returning an upload request headers. Returns empty
|
|
176
143
|
* object by default.
|
|
177
144
|
*/
|
|
178
145
|
getHeaders?: (file: File) => Record<string, string>;
|
|
179
146
|
/**
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* {`{
|
|
183
|
-
* onProgress: (progress: number) => void
|
|
184
|
-
* onSuccess: (response: unknown) => void
|
|
185
|
-
* onError: (error: unknown) => void
|
|
186
|
-
* }`}
|
|
187
|
-
* ) => string
|
|
188
|
-
* </Code>
|
|
189
|
-
* <br />
|
|
190
|
-
* <br />A function for manually controlling the network request for file
|
|
191
|
-
* upload. An alternative to using <Code>getEndpoint</Code> which handles
|
|
147
|
+
* A function for manually controlling the network request for file
|
|
148
|
+
* upload. An alternative to using `getEndpoint` which handles
|
|
192
149
|
* the network request itself.
|
|
193
150
|
*/
|
|
194
151
|
uploadFile?: UploadFile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"FileSelectProps":[{"name":"accept","required":false,"description":"Set accepted file types. Accepts everything if left undefined"},{"name":"hideDropzone","type":"boolean","required":false,"description":"Hide dropzone and render only default \"Attach File(s)\" button."},{"name":"hideLocalSource","type":"boolean","required":false,"description":"Hide local files source in file explorer modal"},{"name":"maxFileNumber","type":"number","required":false,"description":"Maximum number of files that can be selected"},{"name":"maxFileSize","type":"number","required":false,"description":"Maximum file size (in bytes)"},{"name":"minFileSize","type":"number","required":false,"description":"Minimum file size (in bytes)"},{"name":"uploadFile","type":"UploadFile","required":false,"description":"
|
|
1
|
+
{"FileSelectProps":[{"name":"accept","required":false,"description":"Set accepted file types. Accepts everything if left undefined"},{"name":"hideDropzone","type":"boolean","required":false,"description":"Hide dropzone and render only default \"Attach File(s)\" button."},{"name":"hideLocalSource","type":"boolean","required":false,"description":"Hide local files source in file explorer modal"},{"name":"maxFileNumber","type":"number","required":false,"description":"Maximum number of files that can be selected"},{"name":"maxFileSize","type":"number","required":false,"description":"Maximum file size (in bytes)"},{"name":"minFileSize","type":"number","required":false,"description":"Minimum file size (in bytes)"},{"name":"uploadFile","type":"UploadFile","required":false,"description":"A function for manually controlling the network request for file\nupload. An alternative to using `getEndpoint` which handles\nthe network request itself."},{"name":"beforeLocalFileUpload","type":"Promise","required":true,"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."},{"name":"dropzoneContentRenderer","type":"ReactNode","required":true,"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"},{"name":"getEndpoint","type":"string","required":true,"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."},{"name":"getHeaders","type":"Record","required":true,"description":"A function returning an upload request headers. Returns empty\nobject by default."},{"name":"getMethod","type":"Method","required":true,"description":"A function returning an upload HTTP method for a given file.\nReturns `POST` by default."},{"name":"getPayload","type":"FormData","required":true,"description":"A function returning an upload payload `FormData`\nobject for a given file. When defined, `getPayloadKey` is\nignored."},{"name":"getPayloadKey","type":"string","required":true,"description":"A function returning an upload payload `FormData` key\nfor a given file. Returns `file` by default."},{"name":"getTokenLabel","type":"string","required":true,"description":"Customize the token label for a given source value. By default,\n`sourceValueEntry.name` is returned."},{"name":"localSourceDropzoneContentRenderer","type":"ReactNode","required":true},{"name":"onAdd","type":"void","required":true,"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."},{"name":"onError","type":"void","required":true,"description":"To be called whenever an upload error occures"},{"name":"onFileTokenClick","type":"void","required":true,"description":"To be called when attached file receives a click"},{"name":"onProgress","type":"void","required":true,"description":"To be called whenever the upload progress is changed"},{"name":"onRemove","type":"void","required":true,"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"},{"name":"onUploadStateChange","type":"void","required":true,"description":"To be called whenever upload state is changed"}],"FileSelectQaTags":[{"name":"attachButton","type":"string","required":false},{"name":"localSource","type":"","required":false},{"name":"removeEntry","type":"string","required":false}]}
|
package/dist/props/allProps.json
CHANGED
|
@@ -44682,7 +44682,7 @@
|
|
|
44682
44682
|
"sources": [
|
|
44683
44683
|
{
|
|
44684
44684
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44685
|
-
"line":
|
|
44685
|
+
"line": 211,
|
|
44686
44686
|
"character": 2
|
|
44687
44687
|
}
|
|
44688
44688
|
],
|
|
@@ -44723,7 +44723,7 @@
|
|
|
44723
44723
|
"sources": [
|
|
44724
44724
|
{
|
|
44725
44725
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44726
|
-
"line":
|
|
44726
|
+
"line": 137,
|
|
44727
44727
|
"character": 2
|
|
44728
44728
|
}
|
|
44729
44729
|
],
|
|
@@ -44746,7 +44746,7 @@
|
|
|
44746
44746
|
"sources": [
|
|
44747
44747
|
{
|
|
44748
44748
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44749
|
-
"line":
|
|
44749
|
+
"line": 142,
|
|
44750
44750
|
"character": 2
|
|
44751
44751
|
}
|
|
44752
44752
|
],
|
|
@@ -44769,7 +44769,7 @@
|
|
|
44769
44769
|
"sources": [
|
|
44770
44770
|
{
|
|
44771
44771
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44772
|
-
"line":
|
|
44772
|
+
"line": 196,
|
|
44773
44773
|
"character": 2
|
|
44774
44774
|
}
|
|
44775
44775
|
],
|
|
@@ -44792,7 +44792,7 @@
|
|
|
44792
44792
|
"sources": [
|
|
44793
44793
|
{
|
|
44794
44794
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44795
|
-
"line":
|
|
44795
|
+
"line": 201,
|
|
44796
44796
|
"character": 2
|
|
44797
44797
|
}
|
|
44798
44798
|
],
|
|
@@ -44815,7 +44815,7 @@
|
|
|
44815
44815
|
"sources": [
|
|
44816
44816
|
{
|
|
44817
44817
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44818
|
-
"line":
|
|
44818
|
+
"line": 206,
|
|
44819
44819
|
"character": 2
|
|
44820
44820
|
}
|
|
44821
44821
|
],
|
|
@@ -44833,12 +44833,12 @@
|
|
|
44833
44833
|
"isOptional": true
|
|
44834
44834
|
},
|
|
44835
44835
|
"comment": {
|
|
44836
|
-
"shortText": "
|
|
44836
|
+
"shortText": "A function for manually controlling the network request for file\nupload. An alternative to using `getEndpoint` which handles\nthe network request itself."
|
|
44837
44837
|
},
|
|
44838
44838
|
"sources": [
|
|
44839
44839
|
{
|
|
44840
44840
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44841
|
-
"line":
|
|
44841
|
+
"line": 191,
|
|
44842
44842
|
"character": 2
|
|
44843
44843
|
}
|
|
44844
44844
|
],
|
|
@@ -44858,7 +44858,7 @@
|
|
|
44858
44858
|
"sources": [
|
|
44859
44859
|
{
|
|
44860
44860
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44861
|
-
"line":
|
|
44861
|
+
"line": 106,
|
|
44862
44862
|
"character": 2
|
|
44863
44863
|
}
|
|
44864
44864
|
],
|
|
@@ -44870,7 +44870,7 @@
|
|
|
44870
44870
|
"kindString": "Call signature",
|
|
44871
44871
|
"flags": {},
|
|
44872
44872
|
"comment": {
|
|
44873
|
-
"shortText": "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
|
|
44873
|
+
"shortText": "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."
|
|
44874
44874
|
},
|
|
44875
44875
|
"parameters": [
|
|
44876
44876
|
{
|
|
@@ -44912,7 +44912,7 @@
|
|
|
44912
44912
|
"sources": [
|
|
44913
44913
|
{
|
|
44914
44914
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44915
|
-
"line":
|
|
44915
|
+
"line": 129,
|
|
44916
44916
|
"character": 2
|
|
44917
44917
|
}
|
|
44918
44918
|
],
|
|
@@ -44924,7 +44924,7 @@
|
|
|
44924
44924
|
"kindString": "Call signature",
|
|
44925
44925
|
"flags": {},
|
|
44926
44926
|
"comment": {
|
|
44927
|
-
"shortText": "An optional content renderer for the dropzone. Accepts
|
|
44927
|
+
"shortText": "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"
|
|
44928
44928
|
},
|
|
44929
44929
|
"parameters": [
|
|
44930
44930
|
{
|
|
@@ -44957,7 +44957,7 @@
|
|
|
44957
44957
|
"sources": [
|
|
44958
44958
|
{
|
|
44959
44959
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
44960
|
-
"line":
|
|
44960
|
+
"line": 159,
|
|
44961
44961
|
"character": 2
|
|
44962
44962
|
}
|
|
44963
44963
|
],
|
|
@@ -44969,7 +44969,7 @@
|
|
|
44969
44969
|
"kindString": "Call signature",
|
|
44970
44970
|
"flags": {},
|
|
44971
44971
|
"comment": {
|
|
44972
|
-
"shortText": "
|
|
44972
|
+
"shortText": "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."
|
|
44973
44973
|
},
|
|
44974
44974
|
"parameters": [
|
|
44975
44975
|
{
|
|
@@ -45002,7 +45002,7 @@
|
|
|
45002
45002
|
"sources": [
|
|
45003
45003
|
{
|
|
45004
45004
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45005
|
-
"line":
|
|
45005
|
+
"line": 184,
|
|
45006
45006
|
"character": 2
|
|
45007
45007
|
}
|
|
45008
45008
|
],
|
|
@@ -45014,7 +45014,7 @@
|
|
|
45014
45014
|
"kindString": "Call signature",
|
|
45015
45015
|
"flags": {},
|
|
45016
45016
|
"comment": {
|
|
45017
|
-
"shortText": "
|
|
45017
|
+
"shortText": "A function returning an upload request headers. Returns empty\nobject by default."
|
|
45018
45018
|
},
|
|
45019
45019
|
"parameters": [
|
|
45020
45020
|
{
|
|
@@ -45057,7 +45057,7 @@
|
|
|
45057
45057
|
"sources": [
|
|
45058
45058
|
{
|
|
45059
45059
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45060
|
-
"line":
|
|
45060
|
+
"line": 165,
|
|
45061
45061
|
"character": 2
|
|
45062
45062
|
}
|
|
45063
45063
|
],
|
|
@@ -45069,7 +45069,7 @@
|
|
|
45069
45069
|
"kindString": "Call signature",
|
|
45070
45070
|
"flags": {},
|
|
45071
45071
|
"comment": {
|
|
45072
|
-
"shortText": "
|
|
45072
|
+
"shortText": "A function returning an upload HTTP method for a given file.\nReturns `POST` by default."
|
|
45073
45073
|
},
|
|
45074
45074
|
"parameters": [
|
|
45075
45075
|
{
|
|
@@ -45102,7 +45102,7 @@
|
|
|
45102
45102
|
"sources": [
|
|
45103
45103
|
{
|
|
45104
45104
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45105
|
-
"line":
|
|
45105
|
+
"line": 178,
|
|
45106
45106
|
"character": 2
|
|
45107
45107
|
}
|
|
45108
45108
|
],
|
|
@@ -45114,7 +45114,7 @@
|
|
|
45114
45114
|
"kindString": "Call signature",
|
|
45115
45115
|
"flags": {},
|
|
45116
45116
|
"comment": {
|
|
45117
|
-
"shortText": "
|
|
45117
|
+
"shortText": "A function returning an upload payload `FormData`\nobject for a given file. When defined, `getPayloadKey` is\nignored."
|
|
45118
45118
|
},
|
|
45119
45119
|
"parameters": [
|
|
45120
45120
|
{
|
|
@@ -45147,7 +45147,7 @@
|
|
|
45147
45147
|
"sources": [
|
|
45148
45148
|
{
|
|
45149
45149
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45150
|
-
"line":
|
|
45150
|
+
"line": 171,
|
|
45151
45151
|
"character": 2
|
|
45152
45152
|
}
|
|
45153
45153
|
],
|
|
@@ -45159,7 +45159,7 @@
|
|
|
45159
45159
|
"kindString": "Call signature",
|
|
45160
45160
|
"flags": {},
|
|
45161
45161
|
"comment": {
|
|
45162
|
-
"shortText": "
|
|
45162
|
+
"shortText": "A function returning an upload payload `FormData` key\nfor a given file. Returns `file` by default."
|
|
45163
45163
|
},
|
|
45164
45164
|
"parameters": [
|
|
45165
45165
|
{
|
|
@@ -45192,7 +45192,7 @@
|
|
|
45192
45192
|
"sources": [
|
|
45193
45193
|
{
|
|
45194
45194
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45195
|
-
"line":
|
|
45195
|
+
"line": 148,
|
|
45196
45196
|
"character": 2
|
|
45197
45197
|
}
|
|
45198
45198
|
],
|
|
@@ -45204,7 +45204,7 @@
|
|
|
45204
45204
|
"kindString": "Call signature",
|
|
45205
45205
|
"flags": {},
|
|
45206
45206
|
"comment": {
|
|
45207
|
-
"shortText": "
|
|
45207
|
+
"shortText": "Customize the token label for a given source value. By default,\n`sourceValueEntry.name` is returned."
|
|
45208
45208
|
},
|
|
45209
45209
|
"parameters": [
|
|
45210
45210
|
{
|
|
@@ -45248,7 +45248,7 @@
|
|
|
45248
45248
|
"sources": [
|
|
45249
45249
|
{
|
|
45250
45250
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45251
|
-
"line":
|
|
45251
|
+
"line": 150,
|
|
45252
45252
|
"character": 2
|
|
45253
45253
|
}
|
|
45254
45254
|
],
|
|
@@ -45291,7 +45291,7 @@
|
|
|
45291
45291
|
"sources": [
|
|
45292
45292
|
{
|
|
45293
45293
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45294
|
-
"line":
|
|
45294
|
+
"line": 87,
|
|
45295
45295
|
"character": 2
|
|
45296
45296
|
}
|
|
45297
45297
|
],
|
|
@@ -45303,7 +45303,7 @@
|
|
|
45303
45303
|
"kindString": "Call signature",
|
|
45304
45304
|
"flags": {},
|
|
45305
45305
|
"comment": {
|
|
45306
|
-
"shortText": "
|
|
45306
|
+
"shortText": "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."
|
|
45307
45307
|
},
|
|
45308
45308
|
"parameters": [
|
|
45309
45309
|
{
|
|
@@ -45336,7 +45336,7 @@
|
|
|
45336
45336
|
"sources": [
|
|
45337
45337
|
{
|
|
45338
45338
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45339
|
-
"line":
|
|
45339
|
+
"line": 116,
|
|
45340
45340
|
"character": 2
|
|
45341
45341
|
}
|
|
45342
45342
|
],
|
|
@@ -45348,7 +45348,7 @@
|
|
|
45348
45348
|
"kindString": "Call signature",
|
|
45349
45349
|
"flags": {},
|
|
45350
45350
|
"comment": {
|
|
45351
|
-
"shortText": "
|
|
45351
|
+
"shortText": "To be called whenever an upload error occures"
|
|
45352
45352
|
},
|
|
45353
45353
|
"parameters": [
|
|
45354
45354
|
{
|
|
@@ -45392,7 +45392,7 @@
|
|
|
45392
45392
|
"sources": [
|
|
45393
45393
|
{
|
|
45394
45394
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45395
|
-
"line":
|
|
45395
|
+
"line": 121,
|
|
45396
45396
|
"character": 2
|
|
45397
45397
|
}
|
|
45398
45398
|
],
|
|
@@ -45404,7 +45404,7 @@
|
|
|
45404
45404
|
"kindString": "Call signature",
|
|
45405
45405
|
"flags": {},
|
|
45406
45406
|
"comment": {
|
|
45407
|
-
"shortText": "
|
|
45407
|
+
"shortText": "To be called when attached file receives a click"
|
|
45408
45408
|
},
|
|
45409
45409
|
"parameters": [
|
|
45410
45410
|
{
|
|
@@ -45437,7 +45437,7 @@
|
|
|
45437
45437
|
"sources": [
|
|
45438
45438
|
{
|
|
45439
45439
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45440
|
-
"line":
|
|
45440
|
+
"line": 98,
|
|
45441
45441
|
"character": 2
|
|
45442
45442
|
}
|
|
45443
45443
|
],
|
|
@@ -45449,7 +45449,7 @@
|
|
|
45449
45449
|
"kindString": "Call signature",
|
|
45450
45450
|
"flags": {},
|
|
45451
45451
|
"comment": {
|
|
45452
|
-
"shortText": "
|
|
45452
|
+
"shortText": "To be called whenever the upload progress is changed"
|
|
45453
45453
|
},
|
|
45454
45454
|
"parameters": [
|
|
45455
45455
|
{
|
|
@@ -45493,7 +45493,7 @@
|
|
|
45493
45493
|
"sources": [
|
|
45494
45494
|
{
|
|
45495
45495
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45496
|
-
"line":
|
|
45496
|
+
"line": 93,
|
|
45497
45497
|
"character": 2
|
|
45498
45498
|
}
|
|
45499
45499
|
],
|
|
@@ -45505,7 +45505,7 @@
|
|
|
45505
45505
|
"kindString": "Call signature",
|
|
45506
45506
|
"flags": {},
|
|
45507
45507
|
"comment": {
|
|
45508
|
-
"shortText": "
|
|
45508
|
+
"shortText": "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"
|
|
45509
45509
|
},
|
|
45510
45510
|
"parameters": [
|
|
45511
45511
|
{
|
|
@@ -45538,7 +45538,7 @@
|
|
|
45538
45538
|
"sources": [
|
|
45539
45539
|
{
|
|
45540
45540
|
"fileName": "packages/core-react/src/components/FileSelect/FileSelect.types.ts",
|
|
45541
|
-
"line":
|
|
45541
|
+
"line": 111,
|
|
45542
45542
|
"character": 2
|
|
45543
45543
|
}
|
|
45544
45544
|
],
|
|
@@ -45550,7 +45550,7 @@
|
|
|
45550
45550
|
"kindString": "Call signature",
|
|
45551
45551
|
"flags": {},
|
|
45552
45552
|
"comment": {
|
|
45553
|
-
"shortText": "
|
|
45553
|
+
"shortText": "To be called whenever upload state is changed"
|
|
45554
45554
|
},
|
|
45555
45555
|
"parameters": [
|
|
45556
45556
|
{
|