@airtable/blocks 1.11.1 → 1.14.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/README.md +2 -2
- package/dist/cjs/global_config.js +3 -3
- package/dist/cjs/injected/airtable_interface.js +1 -1
- package/dist/cjs/models/base.js +10 -10
- package/dist/cjs/models/cursor.js +4 -6
- package/dist/cjs/models/field.js +34 -14
- package/dist/cjs/models/record_query_result.js +1 -1
- package/dist/cjs/models/record_store.js +68 -16
- package/dist/cjs/models/session.js +3 -3
- package/dist/cjs/models/table.js +25 -25
- package/dist/cjs/models/view.js +23 -1
- package/dist/cjs/sdk.js +8 -1
- package/dist/cjs/settings_button.js +1 -1
- package/dist/cjs/ui/block_wrapper.js +2 -5
- package/dist/cjs/ui/expand_record_picker_async.js +1 -1
- package/dist/cjs/ui/global_config_synced_component_helpers.js +6 -0
- package/dist/cjs/ui/icon_config.js +10 -4
- package/dist/cjs/ui/initialize_block.js +3 -3
- package/dist/cjs/ui/use_global_config.js +1 -1
- package/dist/cjs/ui/use_loadable.js +3 -3
- package/dist/cjs/ui/use_record_action_data.js +11 -11
- package/dist/cjs/ui/use_settings_button.js +1 -1
- package/dist/cjs/ui/viewport_constraint.js +1 -1
- package/dist/cjs/viewport.js +9 -9
- package/dist/types/src/global_config.d.ts +3 -3
- package/dist/types/src/models/base.d.ts +9 -9
- package/dist/types/src/models/cursor.d.ts +4 -6
- package/dist/types/src/models/cursor.d.ts.map +1 -1
- package/dist/types/src/models/field.d.ts +12 -3
- package/dist/types/src/models/field.d.ts.map +1 -1
- package/dist/types/src/models/record_query_result.d.ts +2 -2
- package/dist/types/src/models/session.d.ts +3 -3
- package/dist/types/src/models/table.d.ts +25 -25
- package/dist/types/src/models/view.d.ts +11 -0
- package/dist/types/src/models/view.d.ts.map +1 -1
- package/dist/types/src/sdk.d.ts +3 -1
- package/dist/types/src/sdk.d.ts.map +1 -1
- package/dist/types/src/settings_button.d.ts +1 -1
- package/dist/types/src/types/field.d.ts +11 -5
- package/dist/types/src/types/field.d.ts.map +1 -1
- package/dist/types/src/types/view.d.ts +1 -0
- package/dist/types/src/types/view.d.ts.map +1 -1
- package/dist/types/src/ui/block_wrapper.d.ts.map +1 -1
- package/dist/types/src/ui/expand_record_picker_async.d.ts +1 -1
- package/dist/types/src/ui/global_config_synced_component_helpers.d.ts.map +1 -1
- package/dist/types/src/ui/icon_config.d.ts +9 -3
- package/dist/types/src/ui/icon_config.d.ts.map +1 -1
- package/dist/types/src/ui/initialize_block.d.ts +1 -1
- package/dist/types/src/ui/use_global_config.d.ts +1 -1
- package/dist/types/src/ui/use_loadable.d.ts +2 -2
- package/dist/types/src/ui/use_record_action_data.d.ts +11 -11
- package/dist/types/src/ui/use_settings_button.d.ts +1 -1
- package/dist/types/src/ui/viewport_constraint.d.ts +3 -3
- package/dist/types/src/ui/viewport_constraint.d.ts.map +1 -1
- package/dist/types/src/viewport.d.ts +9 -9
- package/dist/types/test/airtable_interface_mocks/fixture_data.d.ts +6 -1
- package/dist/types/test/airtable_interface_mocks/fixture_data.d.ts.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -495
|
@@ -12,6 +12,7 @@ declare const WatchableFieldKeys: Readonly<{
|
|
|
12
12
|
options: "options";
|
|
13
13
|
isComputed: "isComputed";
|
|
14
14
|
description: "description";
|
|
15
|
+
isFieldSynced: "isFieldSynced";
|
|
15
16
|
}>;
|
|
16
17
|
/**
|
|
17
18
|
* All the watchable keys in a field.
|
|
@@ -143,7 +144,7 @@ declare class Field extends AbstractModel<FieldData, WatchableFieldKey> {
|
|
|
143
144
|
*
|
|
144
145
|
* This action is asynchronous. Unlike updates to cell values, updates to field options are
|
|
145
146
|
* **not** applied optimistically locally. You must `await` the returned promise before
|
|
146
|
-
* relying on the change in your
|
|
147
|
+
* relying on the change in your extension.
|
|
147
148
|
*
|
|
148
149
|
* Optionally, you can pass an `opts` object as the second argument. See {@link UpdateFieldOptionsOpts}
|
|
149
150
|
* for available options.
|
|
@@ -216,7 +217,7 @@ declare class Field extends AbstractModel<FieldData, WatchableFieldKey> {
|
|
|
216
217
|
*
|
|
217
218
|
* This action is asynchronous. Unlike updates to cell values, updates to field name are
|
|
218
219
|
* **not** applied optimistically locally. You must `await` the returned promise before
|
|
219
|
-
* relying on the change in your
|
|
220
|
+
* relying on the change in your extension.
|
|
220
221
|
*
|
|
221
222
|
* @param name new name for the field
|
|
222
223
|
*
|
|
@@ -277,7 +278,7 @@ declare class Field extends AbstractModel<FieldData, WatchableFieldKey> {
|
|
|
277
278
|
*
|
|
278
279
|
* This action is asynchronous. Unlike updates to cell values, updates to field descriptions are
|
|
279
280
|
* **not** applied optimistically locally. You must `await` the returned promise before
|
|
280
|
-
* relying on the change in your
|
|
281
|
+
* relying on the change in your extension.
|
|
281
282
|
*
|
|
282
283
|
* @param description new description for the field
|
|
283
284
|
*
|
|
@@ -287,6 +288,14 @@ declare class Field extends AbstractModel<FieldData, WatchableFieldKey> {
|
|
|
287
288
|
* ```
|
|
288
289
|
*/
|
|
289
290
|
updateDescriptionAsync(description: string | null): Promise<void>;
|
|
291
|
+
/**
|
|
292
|
+
* `true` if this field is synced, `false` otherwise. A field is
|
|
293
|
+
* "synced" if it's source is from another airtable base or external data source
|
|
294
|
+
* like Google Calendar, Jira, etc..
|
|
295
|
+
*
|
|
296
|
+
* @hidden
|
|
297
|
+
*/
|
|
298
|
+
get isFieldSynced(): boolean;
|
|
290
299
|
/**
|
|
291
300
|
* `true` if this field is computed, `false` otherwise. A field is
|
|
292
301
|
* "computed" if it's value is not set by user input (e.g. autoNumber, formula,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../src/models/field.ts"],"names":[],"mappings":"AAAA,6CAA6C,CAAC,MAAM;AACpD,OAAO,EAAC,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAgB,qBAAqB,EAAE,sBAAsB,EAAC,MAAM,oBA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AQG;IACH,IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;IAID;;;;;;;OAOG;IACH,IAAI,oBAAoB,IAAI,KAAK,CAAC,UAAU,CAAC,CAU5C;IAID;;;;;;;;;;;;;;;;;OAiBG;IACH,qBAAqB,CAAC,UAAU,EAAE,UAAU,GAAG,aAAa,GAAG,OAAO;IAUtE;;;;;;;;;;;;OAYG;IACH,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;CA2DpD;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -84,7 +84,7 @@ export interface ViewMetadataForUpdate {
|
|
|
84
84
|
* ```
|
|
85
85
|
*
|
|
86
86
|
* ## fields
|
|
87
|
-
* Generally, it's a good idea to load as little data into your
|
|
87
|
+
* Generally, it's a good idea to load as little data into your extension as possible - Airtable bases
|
|
88
88
|
* can get pretty big, and we have to keep all that information in memory and up to date if you ask
|
|
89
89
|
* for it. The fields option lets you make sure that only data relevant to you is loaded.
|
|
90
90
|
*
|
|
@@ -218,7 +218,7 @@ export declare type RecordIdQueryResultOpts = Pick<RecordQueryResultOpts, 'sorts
|
|
|
218
218
|
* You can get one of these with `record.selectLinkedRecordsFromCell(someField)`.
|
|
219
219
|
*
|
|
220
220
|
* Once you've got a query result, you need to load it before you can start working with it -
|
|
221
|
-
*
|
|
221
|
+
* extensions don't load record data by default. We recommend using {@link useRecords},
|
|
222
222
|
* {@link useRecordIds}, {@link useRecordById} or {@link useLoadable} to handle this.
|
|
223
223
|
*
|
|
224
224
|
* If you're not using a query result in a React component, you can manually load the data and
|
|
@@ -32,7 +32,7 @@ declare type WatchableSessionKey = ObjectValues<typeof WatchableSessionKeys>;
|
|
|
32
32
|
* if (session.currentUser !== null) {
|
|
33
33
|
* return <span>The current user's name is {session.currentUser.name}</span>;
|
|
34
34
|
* } else {
|
|
35
|
-
* return <span>This
|
|
35
|
+
* return <span>This extension is being viewed in a public share</span>;
|
|
36
36
|
* }
|
|
37
37
|
* }
|
|
38
38
|
* ```
|
|
@@ -40,7 +40,7 @@ declare type WatchableSessionKey = ObjectValues<typeof WatchableSessionKeys>;
|
|
|
40
40
|
*/
|
|
41
41
|
declare class Session extends AbstractModel<SessionData, WatchableSessionKey> {
|
|
42
42
|
/**
|
|
43
|
-
* The current user, or `null` if the
|
|
43
|
+
* The current user, or `null` if the extension is running in a publicly shared base.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* ```js
|
|
@@ -50,7 +50,7 @@ declare class Session extends AbstractModel<SessionData, WatchableSessionKey> {
|
|
|
50
50
|
* const session = useSession();
|
|
51
51
|
*
|
|
52
52
|
* if (!session.currentUser) {
|
|
53
|
-
* return <div>This
|
|
53
|
+
* return <div>This extension is being used in a public share.</div>;
|
|
54
54
|
* }
|
|
55
55
|
*
|
|
56
56
|
* return <ul>
|
|
@@ -148,8 +148,8 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
148
148
|
* The field matching the given ID or name. Returns `null` if no matching field exists within
|
|
149
149
|
* this table.
|
|
150
150
|
*
|
|
151
|
-
* This method is convenient when building an
|
|
152
|
-
*
|
|
151
|
+
* This method is convenient when building an extension for a specific base, but for more generic
|
|
152
|
+
* extensions the best practice is to use the {@link getFieldByIdIfExists} or
|
|
153
153
|
* {@link getFieldByNameIfExists} methods instead.
|
|
154
154
|
*
|
|
155
155
|
* @param fieldIdOrName The ID or name of the field you're looking for.
|
|
@@ -160,8 +160,8 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
160
160
|
* Use {@link getFieldIfExists} instead if you are unsure whether a field exists with the given
|
|
161
161
|
* name/ID.
|
|
162
162
|
*
|
|
163
|
-
* This method is convenient when building an
|
|
164
|
-
*
|
|
163
|
+
* This method is convenient when building an extension for a specific base, but for more generic
|
|
164
|
+
* extensions the best practice is to use the {@link getFieldById} or {@link getFieldByName} methods
|
|
165
165
|
* instead.
|
|
166
166
|
*
|
|
167
167
|
* @param fieldIdOrName The ID or name of the field you're looking for.
|
|
@@ -242,8 +242,8 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
242
242
|
* The view matching the given ID or name. Returns `null` if no matching view exists within
|
|
243
243
|
* this table.
|
|
244
244
|
*
|
|
245
|
-
* This method is convenient when building an
|
|
246
|
-
*
|
|
245
|
+
* This method is convenient when building an extension for a specific base, but for more generic
|
|
246
|
+
* extensions the best practice is to use the {@link getViewByIdIfExists} or
|
|
247
247
|
* {@link getViewByNameIfExists} methods instead.
|
|
248
248
|
*
|
|
249
249
|
* @param viewIdOrName The ID or name of the view you're looking for.
|
|
@@ -254,8 +254,8 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
254
254
|
* Use {@link getViewIfExists} instead if you are unsure whether a view exists with the given
|
|
255
255
|
* name/ID.
|
|
256
256
|
*
|
|
257
|
-
* This method is convenient when building an
|
|
258
|
-
*
|
|
257
|
+
* This method is convenient when building an extension for a specific base, but for more generic
|
|
258
|
+
* extensions the best practice is to use the {@link getViewById} or {@link getViewByName} methods
|
|
259
259
|
* instead.
|
|
260
260
|
*
|
|
261
261
|
* @param viewIdOrName The ID or name of the view you're looking for.
|
|
@@ -346,7 +346,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
346
346
|
*
|
|
347
347
|
* This action is asynchronous: `await` the returned promise if you wish to wait for the updated
|
|
348
348
|
* cell values to be persisted to Airtable servers.
|
|
349
|
-
* Updates are applied optimistically locally, so your changes will be reflected in your
|
|
349
|
+
* Updates are applied optimistically locally, so your changes will be reflected in your extension
|
|
350
350
|
* before the promise resolves.
|
|
351
351
|
*
|
|
352
352
|
* @param recordOrRecordId the record to update
|
|
@@ -357,7 +357,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
357
357
|
* if (table.hasPermissionToUpdateRecord(record, recordFields)) {
|
|
358
358
|
* table.updateRecordAsync(record, recordFields);
|
|
359
359
|
* }
|
|
360
|
-
* // The updated values will now show in your
|
|
360
|
+
* // The updated values will now show in your extension (eg in
|
|
361
361
|
* // `table.selectRecords()` result) but are still being saved to Airtable
|
|
362
362
|
* // servers (e.g. other users may not be able to see them yet).
|
|
363
363
|
* }
|
|
@@ -430,7 +430,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
430
430
|
*
|
|
431
431
|
* // Check if user could update specific fields, when you don't know the
|
|
432
432
|
* // specific record that will be updated yet. (for example, if the field is
|
|
433
|
-
* // selected by the user and you want to check if your
|
|
433
|
+
* // selected by the user and you want to check if your extension can write to it).
|
|
434
434
|
* const updateUnknownRecordCheckResult =
|
|
435
435
|
* table.checkPermissionsForUpdateRecord(undefined, {
|
|
436
436
|
* 'My field name': 'updated value',
|
|
@@ -441,7 +441,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
441
441
|
*
|
|
442
442
|
* // Check if user could perform updates within the table, without knowing the
|
|
443
443
|
* // specific record or fields that will be updated yet (e.g., to render your
|
|
444
|
-
* //
|
|
444
|
+
* // extension in "read only" mode).
|
|
445
445
|
* const updateUnknownRecordAndFieldsCheckResult =
|
|
446
446
|
* table.checkPermissionsForUpdateRecord();
|
|
447
447
|
* ```
|
|
@@ -482,7 +482,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
482
482
|
*
|
|
483
483
|
* // Check if user could update specific fields, when you don't know the
|
|
484
484
|
* // specific record that will be updated yet (e.g. if the field is selected
|
|
485
|
-
* // by the user and you want to check if your
|
|
485
|
+
* // by the user and you want to check if your extension can write to it).
|
|
486
486
|
* const canUpdateUnknownRecord =
|
|
487
487
|
* table.hasPermissionToUpdateRecord(undefined, {
|
|
488
488
|
* 'My field name': 'updated value',
|
|
@@ -493,7 +493,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
493
493
|
*
|
|
494
494
|
* // Check if user could perform updates within the table, without knowing the
|
|
495
495
|
* // specific record or fields that will be updated yet. (for example, to
|
|
496
|
-
* // render your
|
|
496
|
+
* // render your extension in "read only" mode)
|
|
497
497
|
* const canUpdateUnknownRecordAndFields = table.hasPermissionToUpdateRecord();
|
|
498
498
|
* ```
|
|
499
499
|
*/
|
|
@@ -512,7 +512,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
512
512
|
*
|
|
513
513
|
* This action is asynchronous: `await` the returned promise if you wish to wait for the
|
|
514
514
|
* updates to be persisted to Airtable servers.
|
|
515
|
-
* Updates are applied optimistically locally, so your changes will be reflected in your
|
|
515
|
+
* Updates are applied optimistically locally, so your changes will be reflected in your extension
|
|
516
516
|
* before the promise resolves.
|
|
517
517
|
*
|
|
518
518
|
* @param records Array of objects containing recordId and fields/cellValues to update for that record (specified as an object mapping `FieldId` or field name to cell value)
|
|
@@ -559,7 +559,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
559
559
|
* if (table.hasPermissionToUpdateRecords(recordsToUpdate)) {
|
|
560
560
|
* table.updateRecordsAsync(recordsToUpdate);
|
|
561
561
|
* }
|
|
562
|
-
* // The records are now updated within your
|
|
562
|
+
* // The records are now updated within your extension (eg will be reflected in
|
|
563
563
|
* // `table.selectRecords()`) but are still being saved to Airtable servers
|
|
564
564
|
* // (e.g. they may not be updated for other users yet).
|
|
565
565
|
* }
|
|
@@ -707,7 +707,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
707
707
|
*
|
|
708
708
|
* This action is asynchronous: `await` the returned promise if you wish to wait for the
|
|
709
709
|
* delete to be persisted to Airtable servers.
|
|
710
|
-
* Updates are applied optimistically locally, so your changes will be reflected in your
|
|
710
|
+
* Updates are applied optimistically locally, so your changes will be reflected in your extension
|
|
711
711
|
* before the promise resolves.
|
|
712
712
|
*
|
|
713
713
|
* @param recordOrRecordId the record to be deleted
|
|
@@ -717,7 +717,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
717
717
|
* if (table.hasPermissionToDeleteRecord(record)) {
|
|
718
718
|
* table.deleteRecordAsync(record);
|
|
719
719
|
* }
|
|
720
|
-
* // The record is now deleted within your
|
|
720
|
+
* // The record is now deleted within your extension (eg will not be returned
|
|
721
721
|
* // in `table.selectRecords`) but it is still being saved to Airtable
|
|
722
722
|
* // servers (e.g. it may not look deleted to other users yet).
|
|
723
723
|
* }
|
|
@@ -795,7 +795,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
795
795
|
*
|
|
796
796
|
* This action is asynchronous: `await` the returned promise if you wish to wait for the
|
|
797
797
|
* delete to be persisted to Airtable servers.
|
|
798
|
-
* Updates are applied optimistically locally, so your changes will be reflected in your
|
|
798
|
+
* Updates are applied optimistically locally, so your changes will be reflected in your extension
|
|
799
799
|
* before the promise resolves.
|
|
800
800
|
*
|
|
801
801
|
* @param recordsOrRecordIds Array of Records and RecordIds
|
|
@@ -806,7 +806,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
806
806
|
* if (table.hasPermissionToDeleteRecords(records)) {
|
|
807
807
|
* table.deleteRecordsAsync(records);
|
|
808
808
|
* }
|
|
809
|
-
* // The records are now deleted within your
|
|
809
|
+
* // The records are now deleted within your extension (eg will not be
|
|
810
810
|
* // returned in `table.selectRecords()`) but are still being saved to
|
|
811
811
|
* // Airtable servers (e.g. they may not look deleted to other users yet).
|
|
812
812
|
* }
|
|
@@ -886,7 +886,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
886
886
|
*
|
|
887
887
|
* This action is asynchronous: `await` the returned promise if you wish to wait for the new
|
|
888
888
|
* record to be persisted to Airtable servers.
|
|
889
|
-
* Updates are applied optimistically locally, so your changes will be reflected in your
|
|
889
|
+
* Updates are applied optimistically locally, so your changes will be reflected in your extension
|
|
890
890
|
* before the promise resolves.
|
|
891
891
|
*
|
|
892
892
|
* The returned promise will resolve to the RecordId of the new record once it is persisted.
|
|
@@ -898,7 +898,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
898
898
|
* if (table.hasPermissionToCreateRecord(recordFields)) {
|
|
899
899
|
* table.createRecordAsync(recordFields);
|
|
900
900
|
* }
|
|
901
|
-
* // You can now access the new record in your
|
|
901
|
+
* // You can now access the new record in your extension (eg
|
|
902
902
|
* // `table.selectRecords()`) but it is still being saved to Airtable
|
|
903
903
|
* // servers (e.g. other users may not be able to see it yet).
|
|
904
904
|
* }
|
|
@@ -1018,7 +1018,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* This action is asynchronous: `await` the returned promise if you wish to wait for the new
|
|
1020
1020
|
* record to be persisted to Airtable servers.
|
|
1021
|
-
* Updates are applied optimistically locally, so your changes will be reflected in your
|
|
1021
|
+
* Updates are applied optimistically locally, so your changes will be reflected in your extension
|
|
1022
1022
|
* before the promise resolves.
|
|
1023
1023
|
*
|
|
1024
1024
|
* The returned promise will resolve to an array of RecordIds of the new records once the new
|
|
@@ -1062,7 +1062,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
1062
1062
|
* if (table.hasPermissionToCreateRecords(recordDefs)) {
|
|
1063
1063
|
* table.createRecordsAsync(recordDefs);
|
|
1064
1064
|
* }
|
|
1065
|
-
* // You can now access the new records in your
|
|
1065
|
+
* // You can now access the new records in your extension (e.g.
|
|
1066
1066
|
* // `table.selectRecords()`) but they are still being saved to Airtable
|
|
1067
1067
|
* // servers (e.g. other users may not be able to see them yet.)
|
|
1068
1068
|
* }
|
|
@@ -1228,7 +1228,7 @@ declare class Table extends AbstractModel<TableData, WatchableTableKey> {
|
|
|
1228
1228
|
*
|
|
1229
1229
|
* This action is asynchronous. Unlike new records, new fields are **not** created
|
|
1230
1230
|
* optimistically locally. You must `await` the returned promise before using the new
|
|
1231
|
-
* field in your
|
|
1231
|
+
* field in your extension.
|
|
1232
1232
|
*
|
|
1233
1233
|
* @param name name for the field. must be case-insensitive unique
|
|
1234
1234
|
* @param type type for the field
|
|
@@ -7,6 +7,7 @@ import TableOrViewQueryResult from './table_or_view_query_result';
|
|
|
7
7
|
import ViewMetadataQueryResult from './view_metadata_query_result';
|
|
8
8
|
declare const WatchableViewKeys: Readonly<{
|
|
9
9
|
name: "name";
|
|
10
|
+
isLockedView: "isLockedView";
|
|
10
11
|
}>;
|
|
11
12
|
/**
|
|
12
13
|
* A key in {@link View} that can be watched.
|
|
@@ -39,6 +40,16 @@ declare class View extends AbstractModel<ViewData, WatchableViewKey> {
|
|
|
39
40
|
* ```
|
|
40
41
|
*/
|
|
41
42
|
get type(): ViewType;
|
|
43
|
+
/**
|
|
44
|
+
* If the view is locked. Can be watched.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```js
|
|
48
|
+
* console.log(myView.isLockedView);
|
|
49
|
+
* // => false
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
get isLockedView(): boolean;
|
|
42
53
|
/**
|
|
43
54
|
* The URL for the view. You can visit this URL in the browser to be taken to the view in the Airtable UI.
|
|
44
55
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/models/view.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AACjD,OAAO,EAAc,YAAY,EAAgB,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAgB,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AACxE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAG7C,OAA0B,EAEtB,qBAAqB,EACrB,qBAAqB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,MAAM,8BAA8B,CAAC;AAElE,OAAO,uBAAuB,MAAM,8BAA8B,CAAC;AAKnE,QAAA,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/models/view.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,QAAQ,EAAE,QAAQ,EA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AC,YAAY,EAAE,qBAAqB,GAAG,OAAO;IAI3E;;;;;;OAMG;IACG,mBAAmB,CAAC,YAAY,EAAE,qBAAqB;CA4BhE;AAED,eAAe,IAAI,CAAC"}
|
package/dist/types/src/sdk.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import Cursor from './models/cursor';
|
|
|
6
6
|
import Viewport from './viewport';
|
|
7
7
|
import SettingsButton from './settings_button';
|
|
8
8
|
import UndoRedo from './undo_redo';
|
|
9
|
-
import { AirtableInterface } from './types/airtable_interface';
|
|
9
|
+
import { AirtableInterface, BlockRunContext } from './types/airtable_interface';
|
|
10
10
|
import { RequestJson, ResponseJson } from './types/backend_fetch_types';
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
@@ -90,5 +90,7 @@ export default class BlockSdk {
|
|
|
90
90
|
reload(): void;
|
|
91
91
|
/** @hidden */
|
|
92
92
|
unstable_fetchAsync(requestJson: RequestJson): Promise<ResponseJson>;
|
|
93
|
+
/** @hidden */
|
|
94
|
+
getBlockRunContext(): BlockRunContext;
|
|
93
95
|
}
|
|
94
96
|
//# sourceMappingURL=sdk.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../../src/sdk.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,MAAM;AAYrB,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAE3C,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,OAAO,MAAM,kBAAkB,CAAC;AAEvC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../../src/sdk.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,MAAM;AA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ACd,kBAAkB,IAAI,eAAe;CAGxC"}
|
|
@@ -12,7 +12,7 @@ declare const WatchableSettingsButtonKeys: Readonly<{
|
|
|
12
12
|
*/
|
|
13
13
|
declare type WatchableSettingsButtonKey = ObjectValues<typeof WatchableSettingsButtonKeys>;
|
|
14
14
|
/**
|
|
15
|
-
* Interface to the settings button that lives outside the
|
|
15
|
+
* Interface to the settings button that lives outside the extension's viewport.
|
|
16
16
|
*
|
|
17
17
|
* The {@link useSettingsButton} hook is the recommended way to use the settings button, but you can
|
|
18
18
|
* also use it with {@link useWatchable} if you want more granular control (for example, to only
|
|
@@ -278,7 +278,7 @@ export declare enum FieldType {
|
|
|
278
278
|
/**
|
|
279
279
|
* A collaborator field lets you add collaborators to your records. Collaborators can optionally
|
|
280
280
|
* be notified when they're added. A single collaborator field has been configured to only
|
|
281
|
-
* reference one collaborator.
|
|
281
|
+
* reference one user collaborator.
|
|
282
282
|
*
|
|
283
283
|
* **Cell read format**
|
|
284
284
|
* ```js
|
|
@@ -289,7 +289,7 @@ export declare enum FieldType {
|
|
|
289
289
|
* profilePicUrl?: string,
|
|
290
290
|
* }
|
|
291
291
|
* ```
|
|
292
|
-
* The currently selected collaborator.
|
|
292
|
+
* The currently selected user collaborator.
|
|
293
293
|
*
|
|
294
294
|
* **Cell write format**
|
|
295
295
|
* ```js
|
|
@@ -320,9 +320,12 @@ export declare enum FieldType {
|
|
|
320
320
|
/**
|
|
321
321
|
* A collaborator field lets you add collaborators to your records. Collaborators can optionally
|
|
322
322
|
* be notified when they're added. A multiple collaborator field has been configured to
|
|
323
|
-
* reference any number of collaborators.
|
|
323
|
+
* reference any number of user or user group collaborators.
|
|
324
324
|
*
|
|
325
|
-
*
|
|
325
|
+
* Note: Adding user groups to multiple collaborator fields is an upcoming enterprise feature currently
|
|
326
|
+
* in beta, and will be generally released on August 29, 2022.
|
|
327
|
+
*
|
|
328
|
+
* Similar to MULTIPLE_ATTACHMENTS and MULTIPLE_SELECTS, this array-type field
|
|
326
329
|
* will override the current cell value when being updated. Be sure to spread the current
|
|
327
330
|
* cell value if you want to keep the currently selected collaborators.
|
|
328
331
|
*
|
|
@@ -335,7 +338,9 @@ export declare enum FieldType {
|
|
|
335
338
|
* profilePicUrl?: string,
|
|
336
339
|
* }>
|
|
337
340
|
* ```
|
|
338
|
-
* The currently selected collaborators.
|
|
341
|
+
* The currently selected user or user group collaborators. The email property is either the email
|
|
342
|
+
* address of the user collaborator or an RFC 2822 mailbox-list (comma-separated list of emails) that
|
|
343
|
+
* can be used to contact all members of the user group collaborator.
|
|
339
344
|
*
|
|
340
345
|
* **Cell write format**
|
|
341
346
|
* ```js
|
|
@@ -1149,6 +1154,7 @@ export interface FieldData {
|
|
|
1149
1154
|
} | null | undefined;
|
|
1150
1155
|
description: string | null;
|
|
1151
1156
|
lock: FieldLock | null;
|
|
1157
|
+
isSynced: boolean | null;
|
|
1152
1158
|
}
|
|
1153
1159
|
/** @hidden */
|
|
1154
1160
|
export interface FieldPermissionData {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../src/types/field.ts"],"names":[],"mappings":"AAAA,6CAA6C,CAAC,MAAM;AACpD,OAAO,EAAC,KAAK,EAAC,MAAM,WAAW,CAAC;AAChC,OAAO,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC;AAChC,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,MAAM;AACN,oBAAY,OAAO,GAAG,MAAM,CAAC;AAC7B,cAAc;AACd,oBAAY,iBAAiB,GAAG,MAAM,CAAC;AAEvC;;;;;;;;;;GAUG;AACH,oBAAY,SAAS;IACjB;;;;;;;;;;;OAWG;IACH,gBAAgB,mBAAmB;IACnC;;;;;;;;;;;OAWG;IACH,KAAK,UAAU;IACf;;;;;;;;;;;OAWG;IACH,GAAG,QAAQ;IACX;;;;;;;;;;;;OAYG;IACH,cAAc,kBAAkB;IAChC;;;;;;;;;;;;;;;;;OAiBG;I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{"version":3,"file":"block_wrapper.d.ts","sourceRoot":"","sources":["../../../../src/ui/block_wrapper.tsx"],"names":[],"mappings":"AAAA,cAAc,CAAC,MAAM;AACrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,GAAG,MAAM,QAAQ,CAAC;AASzB,UAAU,iBAAiB;IACvB,GAAG,EAAE,GAAG,CAAC;IACT,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,cAAM,YAAa,SAAQ,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC;IAGzD,cAAc;gBACF,KAAK,EAAE,iBAAiB;IAYpC,cAAc;IACd,yBAAyB;IAGzB,cAAc;IACd,iBAAiB;IAGjB,cAAc;IACd,0BAA0B;IAG1B,cAAc;IACd,kBAAkB;IAwBlB,cAAc;IACd,MAAM;CAwET;;AAED,wBAGG"}
|
|
@@ -11,7 +11,7 @@ interface ExpandRecordPickerOpts {
|
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Expands a list of records in the Airtable UI, and prompts the user to pick
|
|
14
|
-
* one. The selected record is returned to the
|
|
14
|
+
* one. The selected record is returned to the extension, and the modal is
|
|
15
15
|
* automatically closed.
|
|
16
16
|
*
|
|
17
17
|
* If the user dismisses the modal, or another one is opened before this one
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global_config_synced_component_helpers.d.ts","sourceRoot":"","sources":["../../../../src/ui/global_config_synced_component_helpers.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"global_config_synced_component_helpers.d.ts","sourceRoot":"","sources":["../../../../src/ui/global_config_synced_component_helpers.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAC;AAIvD,cAAc;AACd,QAAA,MAAM,kCAAkC;;;CAmBvC,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumType, ObjectMap } from '../private_utils';
|
|
2
|
-
export declare const iconNamesArray: readonly ["android", "apple", "apps", "ascending", "attachment", "automations", "autonumber", "barcode", "bell", "blocks", "bold", "bolt", "boltList", "book", "calendar", "calendarDay", "caret", "chart", "chat", "check", "checkbox", "checkboxChecked", "checkboxUnchecked", "checklist", "chevronDown", "chevronLeft", "chevronRight", "chevronUp", "clipboard", "code", "cog", "collapse", "collapseSidebar", "contacts", "count", "count1", "cube", "cursor", "day", "dayAuto", "dedent", "descending", "dollar", "down", "download", "dragHandle", "drive", "duplicate", "edit", "envelope", "envelope1", "expand", "expand1", "expandSidebar", "feed", "file", "filter", "flag", "form", "formula", "fullscreen", "gallery", "gantt", "gift", "grid", "grid1", "group", "heart", "help", "hide", "hide1", "history", "home", "hyperlink", "hyperlinkCancel", "indent", "info", "italic", "kanban", "laptop", "left", "lightbulb", "link", "link1", "lock", "logout", "lookup", "mapPin", "markdown", "megaphone", "menu", "minus", "mobile", "multicollaborator", "multiselect", "number", "ol", "overflow", "paint", "paragraph", "paragraph1", "pause", "percent", "personal", "personalAuto", "phone", "pivot", "play", "plus", "plusFilled", "premium", "print", "public", "publish", "quote", "quote1", "radio", "radioSelected", "redo", "redo1", "richText", "right", "rollup", "rollup1", "rowHeightSmall", "rowHeightMedium", "rowHeightLarge", "rowHeightExtraLarge", "search", "select", "selectCaret", "settings", "shapes", "share", "share1", "shareWithBolt", "show", "show1", "slack", "smiley", "sort", "stack", "star", "strikethrough", "switcher", "tabs", "team", "teamLocked", "text", "thumbsUp", "time", "timeline", "toggle", "trash", "twitter", "ul", "underline", "undo", "up", "upload", "video", "view", "warning", "windows", "x"];
|
|
2
|
+
export declare const iconNamesArray: readonly ["android", "apple", "apps", "ascending", "attachment", "automations", "autonumber", "barcode", "bell", "blocks", "bold", "bolt", "boltList", "book", "calendar", "calendarDay", "caret", "chart", "chat", "check", "checkbox", "checkboxChecked", "checkboxUnchecked", "checklist", "chevronDown", "chevronLeft", "chevronRight", "chevronUp", "clipboard", "code", "cog", "collapse", "collapseSidebar", "contacts", "count", "count1", "cube", "cursor", "day", "dayAuto", "dedent", "descending", "dollar", "down", "download", "dragHandle", "drive", "duplicate", "edit", "envelope", "envelope1", "expand", "expand1", "expandSidebar", "feed", "file", "filter", "flag", "form", "formula", "fullscreen", "gallery", "gantt", "gift", "grid", "grid1", "group", "heart", "help", "hide", "hide1", "history", "home", "hyperlink", "hyperlinkCancel", "indent", "info", "italic", "kanban", "laptop", "left", "lightbulb", "link", "link1", "lock", "logout", "lookup", "mapPin", "markdown", "megaphone", "menu", "minus", "mobile", "multicollaborator", "multiselect", "number", "ol", "overflow", "overlay", "paint", "paragraph", "paragraph1", "pause", "percent", "personal", "personalAuto", "personalCloseup", "phone", "pivot", "play", "plus", "plusFilled", "premium", "print", "public", "publish", "quote", "quote1", "radio", "radioSelected", "redo", "redo1", "richText", "right", "rollup", "rollup1", "rowHeightSmall", "rowHeightMedium", "rowHeightLarge", "rowHeightExtraLarge", "search", "select", "selectCaret", "settings", "shapes", "share", "share1", "shareWithBolt", "show", "show1", "slack", "smiley", "sort", "stack", "star", "strikethrough", "switcher", "tabs", "team", "teamLocked", "text", "thumbsUp", "time", "timeline", "toggle", "trash", "twitter", "ul", "underline", "undo", "up", "upload", "video", "view", "warning", "windows", "x", "xCheckbox"];
|
|
3
3
|
export declare const iconNames: {
|
|
4
4
|
number: "number";
|
|
5
5
|
search: "search";
|
|
@@ -32,6 +32,7 @@ export declare const iconNames: {
|
|
|
32
32
|
group: "group";
|
|
33
33
|
checkbox: "checkbox";
|
|
34
34
|
radio: "radio";
|
|
35
|
+
overlay: "overlay";
|
|
35
36
|
collapse: "collapse";
|
|
36
37
|
paint: "paint";
|
|
37
38
|
help: "help";
|
|
@@ -124,6 +125,7 @@ export declare const iconNames: {
|
|
|
124
125
|
percent: "percent";
|
|
125
126
|
personal: "personal";
|
|
126
127
|
personalAuto: "personalAuto";
|
|
128
|
+
personalCloseup: "personalCloseup";
|
|
127
129
|
phone: "phone";
|
|
128
130
|
pivot: "pivot";
|
|
129
131
|
plus: "plus";
|
|
@@ -166,6 +168,7 @@ export declare const iconNames: {
|
|
|
166
168
|
upload: "upload";
|
|
167
169
|
warning: "warning";
|
|
168
170
|
windows: "windows";
|
|
171
|
+
xCheckbox: "xCheckbox";
|
|
169
172
|
};
|
|
170
173
|
export declare const deprecatedIconNameToReplacementName: Map<string, string>;
|
|
171
174
|
/**
|
|
@@ -174,7 +177,7 @@ export declare const deprecatedIconNameToReplacementName: Map<string, string>;
|
|
|
174
177
|
* [[ Story id="icon--example" title="Icon example" height="576px"]]
|
|
175
178
|
*/
|
|
176
179
|
export declare type IconName = EnumType<typeof iconNames>;
|
|
177
|
-
export declare const iconNamePropType: import("prop-types").Requireable<"number" | "search" | "bold" | "link" | "left" | "right" | "clipboard" | "show" | "hide" | "public" | "code" | "form" | "menu" | "ol" | "select" | "time" | "ul" | "video" | "filter" | "text" | "view" | "pause" | "play" | "toggle" | "up" | "down" | "day" | "lookup" | "group" | "checkbox" | "radio" | "collapse" | "paint" | "help" | "grid" | "italic" | "x" | "underline" | "caret" | "cursor" | "overflow" | "ascending" | "descending" | "edit" | "check" | "star" | "heart" | "thumbsUp" | "flag" | "lock" | "download" | "android" | "apple" | "apps" | "attachment" | "automations" | "autonumber" | "barcode" | "bell" | "blocks" | "bolt" | "boltList" | "book" | "calendar" | "calendarDay" | "chart" | "chat" | "checkboxChecked" | "checkboxUnchecked" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "cog" | "collapseSidebar" | "contacts" | "count" | "count1" | "cube" | "dayAuto" | "dedent" | "dollar" | "dragHandle" | "drive" | "duplicate" | "envelope" | "envelope1" | "expand" | "expand1" | "expandSidebar" | "feed" | "file" | "formula" | "fullscreen" | "gallery" | "gantt" | "gift" | "grid1" | "hide1" | "history" | "home" | "hyperlink" | "hyperlinkCancel" | "indent" | "info" | "kanban" | "laptop" | "lightbulb" | "link1" | "logout" | "mapPin" | "markdown" | "megaphone" | "minus" | "mobile" | "multicollaborator" | "multiselect" | "paragraph" | "paragraph1" | "percent" | "personal" | "personalAuto" | "phone" | "pivot" | "plus" | "plusFilled" | "premium" | "print" | "publish" | "quote" | "quote1" | "radioSelected" | "redo" | "redo1" | "richText" | "rollup" | "rollup1" | "rowHeightSmall" | "rowHeightMedium" | "rowHeightLarge" | "rowHeightExtraLarge" | "selectCaret" | "settings" | "shapes" | "share" | "share1" | "shareWithBolt" | "show1" | "slack" | "smiley" | "sort" | "stack" | "strikethrough" | "switcher" | "tabs" | "team" | "teamLocked" | "timeline" | "trash" | "twitter" | "undo" | "upload" | "warning" | "windows">;
|
|
180
|
+
export declare const iconNamePropType: import("prop-types").Requireable<"number" | "search" | "bold" | "link" | "left" | "right" | "clipboard" | "show" | "hide" | "public" | "code" | "form" | "menu" | "ol" | "select" | "time" | "ul" | "video" | "filter" | "text" | "view" | "pause" | "play" | "toggle" | "up" | "down" | "day" | "lookup" | "group" | "checkbox" | "radio" | "overlay" | "collapse" | "paint" | "help" | "grid" | "italic" | "x" | "underline" | "caret" | "cursor" | "overflow" | "ascending" | "descending" | "edit" | "check" | "star" | "heart" | "thumbsUp" | "flag" | "lock" | "download" | "android" | "apple" | "apps" | "attachment" | "automations" | "autonumber" | "barcode" | "bell" | "blocks" | "bolt" | "boltList" | "book" | "calendar" | "calendarDay" | "chart" | "chat" | "checkboxChecked" | "checkboxUnchecked" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "cog" | "collapseSidebar" | "contacts" | "count" | "count1" | "cube" | "dayAuto" | "dedent" | "dollar" | "dragHandle" | "drive" | "duplicate" | "envelope" | "envelope1" | "expand" | "expand1" | "expandSidebar" | "feed" | "file" | "formula" | "fullscreen" | "gallery" | "gantt" | "gift" | "grid1" | "hide1" | "history" | "home" | "hyperlink" | "hyperlinkCancel" | "indent" | "info" | "kanban" | "laptop" | "lightbulb" | "link1" | "logout" | "mapPin" | "markdown" | "megaphone" | "minus" | "mobile" | "multicollaborator" | "multiselect" | "paragraph" | "paragraph1" | "percent" | "personal" | "personalAuto" | "personalCloseup" | "phone" | "pivot" | "plus" | "plusFilled" | "premium" | "print" | "publish" | "quote" | "quote1" | "radioSelected" | "redo" | "redo1" | "richText" | "rollup" | "rollup1" | "rowHeightSmall" | "rowHeightMedium" | "rowHeightLarge" | "rowHeightExtraLarge" | "selectCaret" | "settings" | "shapes" | "share" | "share1" | "shareWithBolt" | "show1" | "slack" | "smiley" | "sort" | "stack" | "strikethrough" | "switcher" | "tabs" | "team" | "teamLocked" | "timeline" | "trash" | "twitter" | "undo" | "upload" | "warning" | "windows" | "xCheckbox">;
|
|
178
181
|
export declare const microIconNames: {
|
|
179
182
|
androidMicro: "androidMicro";
|
|
180
183
|
appleMicro: "appleMicro";
|
|
@@ -274,6 +277,7 @@ export declare const microIconNames: {
|
|
|
274
277
|
numberMicro: "numberMicro";
|
|
275
278
|
olMicro: "olMicro";
|
|
276
279
|
overflowMicro: "overflowMicro";
|
|
280
|
+
overlayMicro: "overlayMicro";
|
|
277
281
|
paintMicro: "paintMicro";
|
|
278
282
|
paragraphMicro: "paragraphMicro";
|
|
279
283
|
paragraph1Micro: "paragraph1Micro";
|
|
@@ -281,6 +285,7 @@ export declare const microIconNames: {
|
|
|
281
285
|
percentMicro: "percentMicro";
|
|
282
286
|
personalMicro: "personalMicro";
|
|
283
287
|
personalAutoMicro: "personalAutoMicro";
|
|
288
|
+
personalCloseupMicro: "personalCloseupMicro";
|
|
284
289
|
phoneMicro: "phoneMicro";
|
|
285
290
|
pivotMicro: "pivotMicro";
|
|
286
291
|
playMicro: "playMicro";
|
|
@@ -340,10 +345,11 @@ export declare const microIconNames: {
|
|
|
340
345
|
warningMicro: "warningMicro";
|
|
341
346
|
windowsMicro: "windowsMicro";
|
|
342
347
|
xMicro: "xMicro";
|
|
348
|
+
xCheckboxMicro: "xCheckboxMicro";
|
|
343
349
|
};
|
|
344
350
|
/** @hidden */
|
|
345
351
|
export declare type MicroIconName = EnumType<typeof microIconNames>;
|
|
346
|
-
export declare const microIconNamePropType: import("prop-types").Requireable<"androidMicro" | "appleMicro" | "appsMicro" | "ascendingMicro" | "attachmentMicro" | "automationsMicro" | "autonumberMicro" | "barcodeMicro" | "bellMicro" | "blocksMicro" | "boldMicro" | "boltMicro" | "boltListMicro" | "bookMicro" | "calendarMicro" | "calendarDayMicro" | "caretMicro" | "chartMicro" | "chatMicro" | "checkMicro" | "checkboxCheckedMicro" | "checkboxMicro" | "checkboxUncheckedMicro" | "checklistMicro" | "chevronDownMicro" | "chevronLeftMicro" | "chevronRightMicro" | "chevronUpMicro" | "clipboardMicro" | "codeMicro" | "cogMicro" | "collapseMicro" | "collapseSidebarMicro" | "contactsMicro" | "countMicro" | "count1Micro" | "cubeMicro" | "cursorMicro" | "dayMicro" | "dayAutoMicro" | "dedentMicro" | "descendingMicro" | "dollarMicro" | "downMicro" | "downloadMicro" | "dragHandleMicro" | "driveMicro" | "duplicateMicro" | "editMicro" | "envelopeMicro" | "envelope1Micro" | "expandMicro" | "expand1Micro" | "expandSidebarMicro" | "feedMicro" | "fileMicro" | "filterMicro" | "flagMicro" | "formMicro" | "formulaMicro" | "fullscreenMicro" | "galleryMicro" | "ganttMicro" | "giftMicro" | "gridMicro" | "grid1Micro" | "groupMicro" | "heartMicro" | "helpMicro" | "hideMicro" | "hide1Micro" | "historyMicro" | "homeMicro" | "hyperlinkMicro" | "hyperlinkCancelMicro" | "indentMicro" | "infoMicro" | "italicMicro" | "kanbanMicro" | "laptopMicro" | "leftMicro" | "lightbulbMicro" | "link1Micro" | "linkMicro" | "lockMicro" | "logoutMicro" | "lookupMicro" | "mapPinMicro" | "markdownMicro" | "megaphoneMicro" | "menuMicro" | "minusMicro" | "mobileMicro" | "multicollaboratorMicro" | "multiselectMicro" | "numberMicro" | "olMicro" | "overflowMicro" | "paintMicro" | "paragraphMicro" | "paragraph1Micro" | "pauseMicro" | "percentMicro" | "personalMicro" | "personalAutoMicro" | "phoneMicro" | "pivotMicro" | "playMicro" | "plusFilledMicro" | "plusMicro" | "premiumMicro" | "printMicro" | "publicMicro" | "publishMicro" | "quoteMicro" | "quote1Micro" | "radioMicro" | "radioSelectedMicro" | "redoMicro" | "redo1Micro" | "richTextMicro" | "rightMicro" | "rollupMicro" | "rollup1Micro" | "rowHeightSmallMicro" | "rowHeightMediumMicro" | "rowHeightLargeMicro" | "rowHeightExtraLargeMicro" | "searchMicro" | "selectMicro" | "selectCaretMicro" | "settingsMicro" | "shapesMicro" | "share1Micro" | "shareMicro" | "showMicro" | "show1Micro" | "slackMicro" | "smileyMicro" | "sortMicro" | "stackMicro" | "starMicro" | "strikethroughMicro" | "switcherMicro" | "tabsMicro" | "teamMicro" | "teamLockedMicro" | "textMicro" | "thumbsUpMicro" | "timeMicro" | "timelineMicro" | "toggleMicro" | "trashMicro" | "twitterMicro" | "ulMicro" | "underlineMicro" | "undoMicro" | "upMicro" | "uploadMicro" | "videoMicro" | "viewMicro" | "warningMicro" | "windowsMicro" | "xMicro">;
|
|
352
|
+
export declare const microIconNamePropType: import("prop-types").Requireable<"androidMicro" | "appleMicro" | "appsMicro" | "ascendingMicro" | "attachmentMicro" | "automationsMicro" | "autonumberMicro" | "barcodeMicro" | "bellMicro" | "blocksMicro" | "boldMicro" | "boltMicro" | "boltListMicro" | "bookMicro" | "calendarMicro" | "calendarDayMicro" | "caretMicro" | "chartMicro" | "chatMicro" | "checkMicro" | "checkboxCheckedMicro" | "checkboxMicro" | "checkboxUncheckedMicro" | "checklistMicro" | "chevronDownMicro" | "chevronLeftMicro" | "chevronRightMicro" | "chevronUpMicro" | "clipboardMicro" | "codeMicro" | "cogMicro" | "collapseMicro" | "collapseSidebarMicro" | "contactsMicro" | "countMicro" | "count1Micro" | "cubeMicro" | "cursorMicro" | "dayMicro" | "dayAutoMicro" | "dedentMicro" | "descendingMicro" | "dollarMicro" | "downMicro" | "downloadMicro" | "dragHandleMicro" | "driveMicro" | "duplicateMicro" | "editMicro" | "envelopeMicro" | "envelope1Micro" | "expandMicro" | "expand1Micro" | "expandSidebarMicro" | "feedMicro" | "fileMicro" | "filterMicro" | "flagMicro" | "formMicro" | "formulaMicro" | "fullscreenMicro" | "galleryMicro" | "ganttMicro" | "giftMicro" | "gridMicro" | "grid1Micro" | "groupMicro" | "heartMicro" | "helpMicro" | "hideMicro" | "hide1Micro" | "historyMicro" | "homeMicro" | "hyperlinkMicro" | "hyperlinkCancelMicro" | "indentMicro" | "infoMicro" | "italicMicro" | "kanbanMicro" | "laptopMicro" | "leftMicro" | "lightbulbMicro" | "link1Micro" | "linkMicro" | "lockMicro" | "logoutMicro" | "lookupMicro" | "mapPinMicro" | "markdownMicro" | "megaphoneMicro" | "menuMicro" | "minusMicro" | "mobileMicro" | "multicollaboratorMicro" | "multiselectMicro" | "numberMicro" | "olMicro" | "overflowMicro" | "overlayMicro" | "paintMicro" | "paragraphMicro" | "paragraph1Micro" | "pauseMicro" | "percentMicro" | "personalMicro" | "personalAutoMicro" | "personalCloseupMicro" | "phoneMicro" | "pivotMicro" | "playMicro" | "plusFilledMicro" | "plusMicro" | "premiumMicro" | "printMicro" | "publicMicro" | "publishMicro" | "quoteMicro" | "quote1Micro" | "radioMicro" | "radioSelectedMicro" | "redoMicro" | "redo1Micro" | "richTextMicro" | "rightMicro" | "rollupMicro" | "rollup1Micro" | "rowHeightSmallMicro" | "rowHeightMediumMicro" | "rowHeightLargeMicro" | "rowHeightExtraLargeMicro" | "searchMicro" | "selectMicro" | "selectCaretMicro" | "settingsMicro" | "shapesMicro" | "share1Micro" | "shareMicro" | "showMicro" | "show1Micro" | "slackMicro" | "smileyMicro" | "sortMicro" | "stackMicro" | "starMicro" | "strikethroughMicro" | "switcherMicro" | "tabsMicro" | "teamMicro" | "teamLockedMicro" | "textMicro" | "thumbsUpMicro" | "timeMicro" | "timelineMicro" | "toggleMicro" | "trashMicro" | "twitterMicro" | "ulMicro" | "underlineMicro" | "undoMicro" | "upMicro" | "uploadMicro" | "videoMicro" | "viewMicro" | "warningMicro" | "windowsMicro" | "xMicro" | "xCheckboxMicro">;
|
|
347
353
|
/** @hidden */
|
|
348
354
|
export declare type AllIconName = IconName & MicroIconName;
|
|
349
355
|
export declare const allIconPaths: ObjectMap<AllIconName, string>;
|