@airtable/blocks 1.11.1 → 1.12.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.
Files changed (41) hide show
  1. package/dist/cjs/global_config.js +3 -3
  2. package/dist/cjs/models/base.js +10 -10
  3. package/dist/cjs/models/cursor.js +4 -6
  4. package/dist/cjs/models/field.js +3 -3
  5. package/dist/cjs/models/record_query_result.js +1 -1
  6. package/dist/cjs/models/record_store.js +68 -16
  7. package/dist/cjs/models/session.js +3 -3
  8. package/dist/cjs/models/table.js +25 -25
  9. package/dist/cjs/sdk.js +1 -1
  10. package/dist/cjs/settings_button.js +1 -1
  11. package/dist/cjs/ui/expand_record_picker_async.js +1 -1
  12. package/dist/cjs/ui/icon_config.js +4 -2
  13. package/dist/cjs/ui/initialize_block.js +3 -3
  14. package/dist/cjs/ui/use_global_config.js +1 -1
  15. package/dist/cjs/ui/use_loadable.js +3 -3
  16. package/dist/cjs/ui/use_record_action_data.js +11 -11
  17. package/dist/cjs/ui/use_settings_button.js +1 -1
  18. package/dist/cjs/ui/viewport_constraint.js +1 -1
  19. package/dist/cjs/viewport.js +9 -9
  20. package/dist/types/src/global_config.d.ts +3 -3
  21. package/dist/types/src/models/base.d.ts +9 -9
  22. package/dist/types/src/models/cursor.d.ts +4 -6
  23. package/dist/types/src/models/cursor.d.ts.map +1 -1
  24. package/dist/types/src/models/field.d.ts +3 -3
  25. package/dist/types/src/models/record_query_result.d.ts +2 -2
  26. package/dist/types/src/models/session.d.ts +3 -3
  27. package/dist/types/src/models/table.d.ts +25 -25
  28. package/dist/types/src/settings_button.d.ts +1 -1
  29. package/dist/types/src/ui/expand_record_picker_async.d.ts +1 -1
  30. package/dist/types/src/ui/icon_config.d.ts +5 -3
  31. package/dist/types/src/ui/icon_config.d.ts.map +1 -1
  32. package/dist/types/src/ui/initialize_block.d.ts +1 -1
  33. package/dist/types/src/ui/use_global_config.d.ts +1 -1
  34. package/dist/types/src/ui/use_loadable.d.ts +2 -2
  35. package/dist/types/src/ui/use_record_action_data.d.ts +11 -11
  36. package/dist/types/src/ui/use_settings_button.d.ts +1 -1
  37. package/dist/types/src/ui/viewport_constraint.d.ts +3 -3
  38. package/dist/types/src/ui/viewport_constraint.d.ts.map +1 -1
  39. package/dist/types/src/viewport.d.ts +9 -9
  40. package/package.json +1 -1
  41. package/CHANGELOG.md +0 -495
@@ -39,7 +39,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
39
39
  // In the UI kit we need more specific types to allow proper autocomplete and prop types.
40
40
  // To achieve this we run the original `iconConfig` object from Hyperbase through an utility.
41
41
  // You can find the utility here: https://codesandbox.io/s/winter-sound-f4p2l?fontsize=14
42
- var iconNamesArray = ['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'];
42
+ var iconNamesArray = ['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', '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'];
43
43
  exports.iconNamesArray = iconNamesArray;
44
44
  var iconNames = (0, _private_utils.createEnum)(...iconNamesArray);
45
45
  exports.iconNames = iconNames;
@@ -53,7 +53,7 @@ var deprecatedIconNameToReplacementName = new Map([['blocks', 'apps']]);
53
53
  exports.deprecatedIconNameToReplacementName = deprecatedIconNameToReplacementName;
54
54
  var iconNamePropType = (0, _private_utils.createPropTypeFromEnum)(iconNames);
55
55
  exports.iconNamePropType = iconNamePropType;
56
- var microIconNamesArray = ['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'];
56
+ var microIconNamesArray = ['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', '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'];
57
57
  var microIconNames = (0, _private_utils.createEnum)(...microIconNamesArray);
58
58
  /** @hidden */
59
59
 
@@ -159,6 +159,7 @@ var iconPaths = Object.freeze({
159
159
  [iconNames.number]: 'M4,10 L4,6.06298828 L2.01023277,6.06298828 C1.44124014,6.06298828 0.979980469,5.60514432 0.979980469,5.03149414 C0.979980469,4.46181566 1.446147,4 2.01023277,4 L4,4 L4,2.04301188 C4,1.50175979 4.43942184,1.06298828 4.98999023,1.06298828 C5.53674674,1.06298828 5.97998047,1.51091265 5.97998047,2.04301188 L5.97998047,4 L10.0200195,4 L10.0200195,2.04301188 C10.0200195,1.50175979 10.4594414,1.06298828 11.0100098,1.06298828 C11.5567663,1.06298828 12,1.51091265 12,2.04301188 L12,4 L13.9605924,4 C14.5295851,4 14.9908447,4.45784396 14.9908447,5.03149414 C14.9908447,5.60117262 14.5246782,6.06298828 13.9605924,6.06298828 L12,6.06298828 L12,10 L13.9605924,10 C14.5295851,10 14.9908447,10.457844 14.9908447,11.0314941 C14.9908447,11.6011726 14.5246782,12.0629883 13.9605924,12.0629883 L12,12.0629883 L12,14.0199764 C12,14.5612285 11.5605782,15 11.0100098,15 C10.4632533,15 10.0200195,14.5520756 10.0200195,14.0199764 L10.0200195,12.0629883 L5.97998047,12.0629883 L5.97998047,14.0199764 C5.97998047,14.5612285 5.54055863,15 4.98999023,15 C4.44323373,15 4,14.5520756 4,14.0199764 L4,12.0629883 L2.01023277,12.0629883 C1.44124014,12.0629883 0.979980469,11.6051443 0.979980469,11.0314941 C0.979980469,10.4618157 1.446147,10 2.01023277,10 L4,10 Z M5.97998047,10 L10.0200195,10 L10.0200195,6.06298828 L5.97998047,6.06298828 L5.97998047,10 Z',
160
160
  [iconNames.ol]: 'M5.59790039,3 C5.59790039,2.44771525 6.04963376,2 6.59472604,2 L13.0031744,2 C13.553706,2 14,2.44386482 14,3 C14,3.55228475 13.5482666,4 13.0031744,4 L6.59472604,4 C6.04419443,4 5.59790039,3.55613518 5.59790039,3 Z M5.59790039,8 C5.59790039,7.44771525 6.04963376,7 6.59472604,7 L13.0031744,7 C13.553706,7 14,7.44386482 14,8 C14,8.55228475 13.5482666,9 13.0031744,9 L6.59472604,9 C6.04419443,9 5.59790039,8.55613518 5.59790039,8 Z M5.59790039,13 C5.59790039,12.4477153 6.04963376,12 6.59472604,12 L13.0031744,12 C13.553706,12 14,12.4438648 14,13 C14,13.5522847 13.5482666,14 13.0031744,14 L6.59472604,14 C6.04419443,14 5.59790039,13.5561352 5.59790039,13 Z M3.47645621,7.50400204 C3.53705703,7.43789206 3.63071283,7.26159878 3.63071283,7.14590631 C3.63071283,6.92553971 3.48196538,6.74373727 3.23405295,6.74373727 C2.9585947,6.74373727 2.78230143,6.90350305 2.78230143,7.14590631 L2.78230143,7.23956212 C2.78230143,7.30016293 2.73271894,7.34974542 2.67211813,7.34974542 L2.14874745,7.34974542 C2.08814664,7.34974542 2.03856415,7.30016293 2.03856415,7.23956212 L2.03856415,7.15141548 C2.03856415,6.50684318 2.56744399,6 3.21201629,6 C3.86209776,6 4.3744501,6.50684318 4.3744501,7.15141548 C4.3744501,7.45441955 4.23672098,7.7464053 4.03288187,7.96677189 L2.99715886,9.06309572 C2.96410387,9.09615071 2.9585947,9.17327902 3.05225051,9.17327902 L4.26977597,9.17327902 C4.33037678,9.17327902 4.37995927,9.22286151 4.37995927,9.28346232 L4.37995927,9.80683299 C4.37995927,9.86743381 4.33037678,9.91701629 4.26977597,9.91701629 L2.1101833,9.91701629 C2.04958248,9.91701629 2,9.86743381 2,9.80683299 L2,9.15675153 C2,9.07411405 2.02754582,9.04105906 2.04958248,9.0190224 L3.47645621,7.50400204 Z M3.22717304,14.2381791 C3.51332998,14.2381791 3.70593561,14.0675855 3.70593561,13.7814286 C3.70593561,13.4952716 3.51332998,13.3246781 3.22717304,13.3246781 L3.16113682,13.3246781 C3.10060362,13.3246781 3.05107646,13.2751509 3.05107646,13.2146177 L3.05107646,12.697334 C3.05107646,12.6368008 3.10060362,12.5872736 3.16113682,12.5872736 L3.22717304,12.5872736 C3.48031187,12.5872736 3.65640845,12.4221831 3.65640845,12.1690443 C3.65640845,11.9214085 3.48031187,11.7618209 3.22717304,11.7618209 C2.97953722,11.7618209 2.79793763,11.9214085 2.79793763,12.1690443 L2.79793763,12.2515895 C2.79793763,12.3121227 2.74841046,12.3616499 2.68787726,12.3616499 L2.15958753,12.3616499 C2.09905433,12.3616499 2.04952716,12.3121227 2.04952716,12.2515895 L2.04952716,12.1690443 C2.04952716,11.5251911 2.58331992,11.0134105 3.22717304,11.0134105 C3.87652918,11.0134105 4.3993159,11.5251911 4.3993159,12.1690443 C4.3993159,12.4441952 4.27274648,12.70834 4.10765594,12.8899396 C4.07463783,12.9229577 4.07463783,12.9614789 4.10765594,12.988994 C4.32227364,13.1650905 4.45434608,13.4787626 4.45434608,13.7814286 C4.45434608,14.4582998 3.90404427,14.9865895 3.22717304,14.9865895 C2.55030181,14.9865895 2,14.4582998 2,13.7814286 L2,13.7263984 C2,13.6658652 2.04952716,13.616338 2.11006036,13.616338 L2.6383501,13.616338 C2.6988833,13.616338 2.74841046,13.6658652 2.74841046,13.7263984 L2.74841046,13.7814286 C2.74841046,14.0675855 2.93551308,14.2381791 3.22717304,14.2381791 Z M2.95787879,4.12853535 L2.95787879,2.17424242 C2.95787879,2.10267677 2.88631313,2.09717172 2.85328283,2.13020202 L2.18717172,2.75227273 C2.12111111,2.81833333 2,2.77429293 2,2.66419192 L2,2.13570707 C2,2.04762626 2.0110101,1.97606061 2.08808081,1.89348485 L2.72666667,1.20535354 C2.77621212,1.15030303 2.86429293,1.07323232 3.00191919,1.07323232 L3.6129798,1.07323232 C3.67353535,1.07323232 3.72308081,1.12277778 3.72308081,1.18333333 L3.72308081,4.12853535 C3.72308081,4.16156566 3.74510101,4.18358586 3.77813131,4.18358586 L4.38919192,4.18358586 C4.44974747,4.18358586 4.49929293,4.23313131 4.49929293,4.29368687 L4.49929293,4.81666667 C4.49929293,4.87722222 4.44974747,4.92676768 4.38919192,4.92676768 L2.13212121,4.92676768 C2.07156566,4.92676768 2.0220202,4.87722222 2.0220202,4.81666667 L2.0220202,4.29368687 C2.0220202,4.23313131 2.07156566,4.18358586 2.13212121,4.18358586 L2.90282828,4.18358586 C2.93585859,4.18358586 2.95787879,4.16156566 2.95787879,4.12853535 Z',
161
161
  [iconNames.overflow]: 'M3,6 C4.105,6 5,6.895 5,8 C5,9.105 4.105,10 3,10 C1.895,10 1,9.105 1,8 C1,6.895 1.895,6 3,6 Z M8,6 C9.105,6 10,6.895 10,8 C10,9.105 9.105,10 8,10 C6.895,10 6,9.105 6,8 C6,6.895 6.895,6 8,6 Z M13,6 C14.105,6 15,6.895 15,8 C15,9.105 14.105,10 13,10 C11.895,10 11,9.105 11,8 C11,6.895 11.895,6 13,6 Z',
162
+ [iconNames.overlay]: 'M8 8C8.733 8 9.333 8.6 9.333 9.333 9.333 9.333 9.333 13.333 9.333 13.333 9.333 14.067 8.733 14.667 8 14.667 8 14.667 2.667 14.667 2.667 14.667 1.933 14.667 1.333 14.067 1.333 13.333 1.333 13.333 1.333 9.333 1.333 9.333 1.333 8.6 1.933 8 2.667 8 2.667 8 8 8 8 8ZM5.333 4C5.333 4 5.333 5.333 5.333 5.333 5.333 6.067 4.733 6.667 4 6.667 3.267 6.667 2.667 6.067 2.667 5.333 2.667 5.333 2.667 3.333 2.667 3.333 2.667 2.227 3.56 1.333 4.667 1.333 4.667 1.333 12.667 1.333 12.667 1.333 13.773 1.333 14.667 2.227 14.667 3.333 14.667 3.333 14.667 11.333 14.667 11.333 14.667 12.44 13.773 13.333 12.667 13.333 12.667 13.333 12 13.333 12 13.333 11.267 13.333 10.667 12.733 10.667 12 10.667 11.267 11.267 10.667 12 10.667 12 10.667 12 4 12 4 12 4 5.333 4 5.333 4Z',
162
163
  [iconNames.paint]: 'M5.071 3H3.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3.086a1 1 0 0 1 .707.293l.228.228a1 1 0 0 1 .257.186l5.657 5.657a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 0 1-1.414 0L.707 8.778a1 1 0 0 1 0-1.414L5.071 3zm2.707.778a1 1 0 0 0-1.414 0L3.071 7.071 11 7 7.778 3.778zm5.972 10.186c-.69 0-1.25-.56-1.25-1.25 0-.417.342-1.322 1.026-2.714a.25.25 0 0 1 .448 0C14.658 11.392 15 12.297 15 12.714c0 .69-.56 1.25-1.25 1.25z',
163
164
  [iconNames.paragraph]: 'M.063 8.502l2.816-7.04c.1-.249.41-.462.689-.462h.267c.282 0 .586.207.689.463l2.815 7.039c.1.25-.04.462-.319.462h-.84a.36.36 0 0 1-.327-.234l-.398-1.195a.731.731 0 0 0-.659-.482h-2.19c-.268 0-.57.216-.658.482L1.549 8.73a.364.364 0 0 1-.327.234h-.84c-.282 0-.42-.207-.319-.462zm2.552-3.193c-.104.26.03.47.303.47h1.566c.272 0 .408-.21.304-.47l-.719-1.795c-.203-.509-.535-.505-.737 0L2.615 5.31zM8 8c0-.552.453-1 .997-1h6.006c.55 0 .997.444.997 1 0 .552-.453 1-.997 1H8.997A.996.996 0 0 1 8 8zm0-3c0-.552.444-1 1-1h3c.552 0 1 .444 1 1 0 .552-.444 1-1 1H9c-.552 0-1-.444-1-1zm-8 6c0-.552.449-1 1.007-1h12.986c.556 0 1.007.444 1.007 1 0 .552-.449 1-1.007 1H1.007A1.001 1.001 0 0 1 0 11zm0 3a1 1 0 0 1 .999-1H12a1 1 0 1 1 0 2H1A.997.997 0 0 1 0 14z',
164
165
  [iconNames.paragraph1]: 'M7 13.5C7 13.7761 7.22386 14 7.5 14H8.5C8.77614 14 9 13.7761 9 13.5V2.5C9 2.22386 8.77614 2 8.5 2H6C3.79086 2 2 3.79086 2 6C2 8.20914 3.79086 10 6 10H7V13.5Z M10 13.5C10 13.7761 10.2239 14 10.5 14H11.5C11.7761 14 12 13.7761 12 13.5V2.5C12 2.22386 11.7761 2 11.5 2H10.5C10.2239 2 10 2.22386 10 2.5V13.5Z',
@@ -326,6 +327,7 @@ var microIconPaths = Object.freeze({
326
327
  [microIconNames.numberMicro]: 'M3.02001953,7 L3.02001953,5 L1.99539757,5 C1.44565467,5 1,4.55613518 1,4 C1,3.44771525 1.4556644,3 1.99539757,3 L3.02001953,3 L3.02001953,1.63502908 C3.02001953,1.08650905 3.46388435,0.641845703 4.02001953,0.641845703 C4.57230428,0.641845703 5.02001953,1.08692265 5.02001953,1.63502908 L5.02001953,3 L7.02001953,3 L7.02001953,1.63502908 C7.02001953,1.08650905 7.46388435,0.641845703 8.02001953,0.641845703 C8.57230428,0.641845703 9.02001953,1.08692265 9.02001953,1.63502908 L9.02001953,3 L10.0046024,3 C10.5543453,3 11,3.44386482 11,4 C11,4.55228475 10.5443356,5 10.0046024,5 L9.02001953,5 L9.02001953,7 L10.0046024,7 C10.5543453,7 11,7.44386482 11,8 C11,8.55228475 10.5443356,9 10.0046024,9 L9.02001953,9 L9.02001953,10.0068166 C9.02001953,10.5553367 8.57615471,11 8.02001953,11 C7.46773478,11 7.02001953,10.5549231 7.02001953,10.0068166 L7.02001953,9 L5.02001953,9 L5.02001953,10.0068166 C5.02001953,10.5553367 4.57615471,11 4.02001953,11 C3.46773478,11 3.02001953,10.5549231 3.02001953,10.0068166 L3.02001953,9 L1.99539757,9 C1.44565467,9 1,8.55613518 1,8 C1,7.44771525 1.4556644,7 1.99539757,7 L3.02001953,7 Z M5.02001953,7 L7.02001953,7 L7.02001953,5 L5.02001953,5 L5.02001953,7 Z',
327
328
  [microIconNames.olMicro]: 'M5,2 C5,1.44771525 5.45277405,1 5.9928529,1 L8.9133971,1 C9.46173462,1 9.90625,1.44386482 9.90625,2 C9.90625,2.55228475 9.45347595,3 8.9133971,3 L5.9928529,3 C5.44451538,3 5,2.55613518 5,2 Z M5,6 C5,5.44771525 5.45277405,5 5.9928529,5 L8.9133971,5 C9.46173462,5 9.90625,5.44386482 9.90625,6 C9.90625,6.55228475 9.45347595,7 8.9133971,7 L5.9928529,7 C5.44451538,7 5,6.55613518 5,6 Z M5,10 C5,9.44771525 5.45277405,9 5.9928529,9 L8.9133971,9 C9.46173462,9 9.90625,9.44386482 9.90625,10 C9.90625,10.5522847 9.45347595,11 8.9133971,11 L5.9928529,11 C5.44451538,11 5,10.5561352 5,10 Z M3.072,5.092 C3.116,5.044 3.184,4.916 3.184,4.832 C3.184,4.672 3.076,4.54 2.896,4.54 C2.696,4.54 2.568,4.656 2.568,4.832 L2.568,4.9 C2.568,4.944 2.532,4.98 2.488,4.98 L2.108,4.98 C2.064,4.98 2.028,4.944 2.028,4.9 L2.028,4.836 C2.028,4.368 2.412,4 2.88,4 C3.352,4 3.724,4.368 3.724,4.836 C3.724,5.056 3.624,5.268 3.476,5.428 L2.724,6.224 C2.7,6.248 2.696,6.304 2.764,6.304 L3.648,6.304 C3.692,6.304 3.728,6.34 3.728,6.384 L3.728,6.764 C3.728,6.808 3.692,6.844 3.648,6.844 L2.08,6.844 C2.036,6.844 2,6.808 2,6.764 L2,6.292 C2,6.232 2.02,6.208 2.036,6.192 L3.072,5.092 Z M3.24,10.012 C3.24,9.804 3.1,9.68 2.892,9.68 L2.844,9.68 C2.8,9.68 2.764,9.644 2.764,9.6 L2.764,9.224 C2.764,9.18 2.8,9.144 2.844,9.144 L2.892,9.144 C3.076,9.144 3.204,9.024 3.204,8.84 C3.204,8.66 3.076,8.544 2.892,8.544 C2.712,8.544 2.58,8.66 2.58,8.84 L2.58,8.9 C2.58,8.944 2.544,8.98 2.5,8.98 L2.116,8.98 C2.072,8.98 2.036,8.944 2.036,8.9 L2.036,8.84 C2.036,8.372 2.424,8 2.892,8 C3.364,8 3.744,8.372 3.744,8.84 C3.744,9.04 3.652,9.232 3.532,9.364 C3.508,9.388 3.508,9.416 3.532,9.436 C3.688,9.564 3.784,9.792 3.784,10.012 C3.784,10.504 3.384,10.888 2.892,10.888 C2.4,10.888 2,10.504 2,10.012 L2,9.972 C2,9.928 2.036,9.892 2.08,9.892 L2.464,9.892 C2.508,9.892 2.544,9.928 2.544,9.972 L2.544,10.012 C2.544,10.22 2.68,10.344 2.892,10.344 C3.1,10.344 3.24,10.22 3.24,10.012 Z M2.696,2.22 L2.696,0.8 C2.696,0.748 2.644,0.744 2.62,0.768 L2.136,1.22 C2.088,1.268 2,1.236 2,1.156 L2,0.772 C2,0.708 2.008,0.656 2.064,0.596 L2.528,0.096 C2.564,0.056 2.628,0 2.728,0 L3.172,0 C3.216,0 3.252,0.036 3.252,0.08 L3.252,2.22 C3.252,2.244 3.268,2.26 3.292,2.26 L3.736,2.26 C3.78,2.26 3.816,2.296 3.816,2.34 L3.816,2.72 C3.816,2.764 3.78,2.8 3.736,2.8 L2.096,2.8 C2.052,2.8 2.016,2.764 2.016,2.72 L2.016,2.34 C2.016,2.296 2.052,2.26 2.096,2.26 L2.656,2.26 C2.68,2.26 2.696,2.244 2.696,2.22 Z',
328
329
  [microIconNames.overflowMicro]: 'M10.5,8 C9.67157288,8 9,7.32842712 9,6.5 C9,5.67157288 9.67157288,5 10.5,5 C11.3284271,5 12,5.67157288 12,6.5 C12,7.32842712 11.3284271,8 10.5,8 Z M6,8 C5.17157288,8 4.5,7.32842712 4.5,6.5 C4.5,5.67157288 5.17157288,5 6,5 C6.82842712,5 7.5,5.67157288 7.5,6.5 C7.5,7.32842712 6.82842712,8 6,8 Z M1.5,8 C0.671572875,8 0,7.32842712 0,6.5 C0,5.67157288 0.671572875,5 1.5,5 C2.32842712,5 3,5.67157288 3,6.5 C3,7.32842712 2.32842712,8 1.5,8 Z',
330
+ [microIconNames.overlayMicro]: 'M 6.00,6.00 C 6.55,6.00 7.00,6.45 7.00,7.00 7.00,7.00 7.00,10.00 7.00,10.00 7.00,10.55 6.55,11.00 6.00,11.00 6.00,11.00 2.00,11.00 2.00,11.00 1.45,11.00 1.00,10.55 1.00,10.00 1.00,10.00 1.00,7.00 1.00,7.00 1.00,6.45 1.45,6.00 2.00,6.00 2.00,6.00 6.00,6.00 6.00,6.00 Z M 4.00,3.00 C 4.00,3.00 4.00,4.00 4.00,4.00 4.00,4.55 3.55,5.00 3.00,5.00 2.45,5.00 2.00,4.55 2.00,4.00 2.00,4.00 2.00,2.50 2.00,2.50 2.00,1.67 2.67,1.00 3.50,1.00 3.50,1.00 9.50,1.00 9.50,1.00 10.33,1.00 11.00,1.67 11.00,2.50 11.00,2.50 11.00,8.50 11.00,8.50 11.00,9.33 10.33,10.00 9.50,10.00 9.50,10.00 9.00,10.00 9.00,10.00 8.45,10.00 8.00,9.55 8.00,9.00 8.00,8.45 8.45,8.00 9.00,8.00 9.00,8.00 9.00,3.00 9.00,3.00 9.00,3.00 4.00,3.00 4.00,3.00 Z',
329
331
  [microIconNames.paintMicro]: 'M5.475.475l4.828 4.828a.5.5 0 0 1 0 .707l-4.621 4.622a.5.5 0 0 1-.707 0L.357 6.014a.5.5 0 0 1 .003-.71L3.728 2H2.5a.5.5 0 0 1-.5-.5V.828a.5.5 0 0 1 .5-.5h2.621a.5.5 0 0 1 .354.147zm.197 2.197a.5.5 0 0 0-.697-.01L2.5 5H8L5.672 2.672zm4.828 7.5a1 1 0 0 1-1-1c0-.325.258-1.018.775-2.08a.25.25 0 0 1 .45 0c.517 1.062.775 1.755.775 2.08a1 1 0 0 1-1 1z',
330
332
  [microIconNames.paragraphMicro]: 'M.09 5.53L2.115.47a.79.79 0 0 1 .69-.47H2.76c.28 0 .587.21.69.47l2.024 5.06c.108.27-.036.47-.314.47h-.443a.37.37 0 0 1-.334-.238l-.244-.73c-.086-.26-.385-.472-.666-.472H2.091a.737.737 0 0 0-.666.472l-.243.73A.382.382 0 0 1 .848 6H.404c-.27 0-.417-.21-.313-.47zm1.917-2.393c-.102.256.036.463.32.463h.91c.28 0 .423-.205.32-.463l-.445-1.111c-.182-.456-.48-.451-.66 0l-.445 1.111zM0 8c0-.552.456-1 1.002-1h9.996a.999.999 0 1 1 0 2H1.002A.999.999 0 0 1 0 8zm7-3a1 1 0 0 1 1.01-1h1.98a1 1 0 1 1 0 2H8.01C7.451 6 7 5.556 7 5zm-7 6c0-.552.453-1 .997-1h6.006c.55 0 .997.444.997 1 0 .552-.453 1-.997 1H.997A.996.996 0 0 1 0 11z',
331
333
  [microIconNames.paragraph1Micro]: 'M5.25 10.125C5.25 10.3321 5.41789 10.5 5.625 10.5H6.375C6.58211 10.5 6.75 10.3321 6.75 10.125V1.875C6.75 1.66789 6.58211 1.5 6.375 1.5H4.5C2.84315 1.5 1.5 2.84315 1.5 4.5C1.5 6.15685 2.84315 7.5 4.5 7.5H5.25V10.125Z M7.5 10.125C7.5 10.3321 7.66789 10.5 7.875 10.5H8.625C8.83211 10.5 9 10.3321 9 10.125V1.875C9 1.66789 8.83211 1.5 8.625 1.5H7.875C7.66789 1.5 7.5 1.66789 7.5 1.875V10.125Z',
@@ -30,7 +30,7 @@ var hasBeenInitialized = false;
30
30
  /** */
31
31
 
32
32
  /**
33
- * `initializeBlock` takes the top-level React component in your tree and renders it. It is conceptually similar to `ReactDOM.render`, but takes care of some Apps-specific things.
33
+ * `initializeBlock` takes the top-level React component in your tree and renders it. It is conceptually similar to `ReactDOM.render`, but takes care of some Extensions-specific things.
34
34
  *
35
35
  * @param getEntryElement A function that returns your React Node.
36
36
  *
@@ -78,7 +78,7 @@ function initializeBlock(getEntryElement) {
78
78
  case _airtable_interface2.BlockRunContextType.DASHBOARD_APP:
79
79
  {
80
80
  if (entryPoints.dashboard === undefined) {
81
- throw (0, _error_utils.spawnError)('If running an app within the dashboard, it must have a dashboard initialization function');
81
+ throw (0, _error_utils.spawnError)('If running an extension within the dashboard, it must have a dashboard initialization function');
82
82
  }
83
83
 
84
84
  if (typeof entryPoints.dashboard !== 'function') {
@@ -92,7 +92,7 @@ function initializeBlock(getEntryElement) {
92
92
  case _airtable_interface2.BlockRunContextType.VIEW:
93
93
  {
94
94
  if (entryPoints.view === undefined) {
95
- throw (0, _error_utils.spawnError)('If running an app within a view, it must have a view initialization function');
95
+ throw (0, _error_utils.spawnError)('If running an extension within a view, it must have a view initialization function');
96
96
  }
97
97
 
98
98
  if (typeof entryPoints.view !== 'function') {
@@ -16,7 +16,7 @@ var _sdk_context = require("./sdk_context");
16
16
  /** */
17
17
 
18
18
  /**
19
- * Returns the app's {@link GlobalConfig} and updates whenever any key in {@link GlobalConfig}
19
+ * Returns the extension's {@link GlobalConfig} and updates whenever any key in {@link GlobalConfig}
20
20
  * changes.
21
21
  *
22
22
  * @example
@@ -42,7 +42,7 @@ var SUSPENSE_CLEAN_UP_MS = 60000;
42
42
  */
43
43
 
44
44
  /**
45
- * When you're writing an app, not all of the data in your base is available to work with straight
45
+ * When you're writing an extension, not all of the data in your base is available to work with straight
46
46
  * away. We need to load it from Airtable first. This hook is a low-level tool for managing that.
47
47
  * You might not need to use it directly though - if you're working with a {@link RecordQueryResult}, try
48
48
  * {@link useRecords}, {@link useRecordIds}, or {@link useRecordById} first.
@@ -51,7 +51,7 @@ var SUSPENSE_CLEAN_UP_MS = 60000;
51
51
  * loaded when your component mounts, and unloaded when your component unmounts. By default, you
52
52
  * don't need to worry about waiting for the data to load - the hook uses React Suspense to make
53
53
  * sure the rest of your component doesn't run until the data is loaded. Whilst the data is
54
- * loading, the entire app will show a loading indicator. If you want to change where that
54
+ * loading, the entire extension will show a loading indicator. If you want to change where that
55
55
  * indicator shows or how it looks, use [`<React.Suspense />`](https://reactjs.org/docs/react-api.html#reactsuspense|)
56
56
  * around the component that uses the hook.
57
57
  *
@@ -164,7 +164,7 @@ function useLoadable(models) {
164
164
  // lifecycle and use that to unload it. Instead, we load it and keep it loaded for a long
165
165
  // enough time that it can resolve and then be rendered successfully. After the timeout has
166
166
  // passed, we unload it, allowing the data to be released as long as it's not used anywhere
167
- // else in the app.
167
+ // else in the extension.
168
168
  setTimeout(() => {
169
169
  var _iteratorNormalCompletion2 = true;
170
170
  var _didIteratorError2 = false;
@@ -20,29 +20,29 @@ var _sdk_context = require("./sdk_context");
20
20
  /** */
21
21
 
22
22
  /**
23
- * A hook to watch "open app" / "perform record action" events (from button field). Returns
23
+ * A hook to watch "open extension" / "perform record action" events (from button field). Returns
24
24
  * the data corresponding to the latest action, or `null` if no actions have occurred yet. If there
25
- * was a pending event for the app (for example, because a button that opens this app was
26
- * clicked while the apps dashboard was closed) it will be returned as the initial value.
25
+ * was a pending event for the extension (for example, because a button that opens this extension was
26
+ * clicked while the extensions dashboard was closed) it will be returned as the initial value.
27
27
  *
28
- * Like {@link useLoadable}, this hook puts the app in suspense while subscribing to events and
28
+ * Like {@link useLoadable}, this hook puts the extension in suspense while subscribing to events and
29
29
  * fetching the initial data.
30
30
  *
31
31
  * Also see {@link registerRecordActionDataCallback}, which subscribes to the same events in an
32
32
  * asynchronous (callback based) way. An advantage of using this hook over the callback is that you
33
- * immediately can handle any pending events when your app opens - with a callback, your app
33
+ * immediately can handle any pending events when your extension opens - with a callback, your extension
34
34
  * will finish it's initial render before handling the event.
35
35
  *
36
- * Like {@link registerRecordActionDataCallback}, your app won't receive events until this hook is
36
+ * Like {@link registerRecordActionDataCallback}, your extension won't receive events until this hook is
37
37
  * used for the first time. Because of that, we recommend only using this hook once, in the top
38
- * level component of your app. Similarly, using both `registerRecordActionDataCallback` and
38
+ * level component of your extension. Similarly, using both `registerRecordActionDataCallback` and
39
39
  * `useRecordActionData` is not supported.
40
40
  *
41
- * You can test your app in development by sending "perform record action" events to your app
42
- * in the "Advanced" panel of the app developer tools.
41
+ * You can test your extension in development by sending "perform record action" events to your extension
42
+ * in the "Advanced" panel of the extension developer tools.
43
43
  *
44
- * After releasing your app, you can use it with a button field by choosing the "Open custom
45
- * app" action and selecting your app.
44
+ * After releasing your extension, you can use it with a button field by choosing the "Open custom
45
+ * extension" action and selecting your extension.
46
46
  *
47
47
  * @example
48
48
  * ```js
@@ -18,7 +18,7 @@ var _sdk_context = require("./sdk_context");
18
18
  /** */
19
19
 
20
20
  /**
21
- * A hook for using the settings button that lives outside the app's viewport. It will show
21
+ * A hook for using the settings button that lives outside the extension's viewport. It will show
22
22
  * the settings button (hidden by default) and call the provided callback whenever the settings
23
23
  * button is clicked. It will also re-render your component when the settings button is clicked.
24
24
  *
@@ -44,7 +44,7 @@ var _with_hooks = _interopRequireDefault(require("./with_hooks"));
44
44
  var didSizeChange = (prev, next) => (prev && prev.width) !== (next && next.width) || (prev && prev.height) !== (next && next.height);
45
45
  /**
46
46
  * When mounted, this wrapper component applies size constraints to the {@link Viewport}.
47
- * Like {@link addMinSize}, this will fullscreen the app if necessary and possible when
47
+ * Like {@link addMinSize}, this will fullscreen the extension if necessary and possible when
48
48
  * `minSize` is updated.
49
49
  *
50
50
  * @example
@@ -139,7 +139,7 @@ function (_Watchable) {
139
139
  /**
140
140
  * Request to enter fullscreen mode.
141
141
  *
142
- * May fail if another app is fullscreen or this app doesn't have
142
+ * May fail if another extension is fullscreen or this extension doesn't have
143
143
  * permission to fullscreen itself. Watch `isFullscreen` to know if the
144
144
  * request succeeded.
145
145
  */
@@ -158,7 +158,7 @@ function (_Watchable) {
158
158
  this._airtableInterface.exitFullscreen();
159
159
  }
160
160
  /**
161
- * The maximum dimensions of the app when it is in
161
+ * The maximum dimensions of the extension when it is in
162
162
  * fullscreen mode. Returns the smallest set of dimensions added with
163
163
  * {@link addMaxFullscreenSize}.
164
164
  *
@@ -203,8 +203,8 @@ function (_Watchable) {
203
203
  };
204
204
  }
205
205
  /**
206
- * The minimum dimensions of the app - if the viewport gets smaller than this
207
- * size, an overlay will be shown asking the user to resize the app to be bigger.
206
+ * The minimum dimensions of the extension - if the viewport gets smaller than this
207
+ * size, an overlay will be shown asking the user to resize the extension to be bigger.
208
208
  *
209
209
  * The largest set of dimensions added with addMinSize. If `width` or `height` is null, it means
210
210
  * there is no minSize constraint on that dimension.
@@ -217,8 +217,8 @@ function (_Watchable) {
217
217
  * Add a minimum frame size constraint. Use `.minSize`` to get the aggregate
218
218
  * of all added constraints.
219
219
  *
220
- * Upon adding a constraint, if the app is focused and the frame is smaller than the
221
- * minimum size, the app will enter fullscreen mode.
220
+ * Upon adding a constraint, if the extension is focused and the frame is smaller than the
221
+ * minimum size, the extension will enter fullscreen mode.
222
222
  *
223
223
  * Returns a function that can be called to remove the size constraint that was added.
224
224
  *
@@ -261,7 +261,7 @@ function (_Watchable) {
261
261
  };
262
262
  }
263
263
  /**
264
- * `true` if the app frame is smaller than `minSize`, `false` otherwise.
264
+ * `true` if the extension frame is smaller than `minSize`, `false` otherwise.
265
265
  */
266
266
 
267
267
  }, {
@@ -428,7 +428,7 @@ function (_Watchable) {
428
428
  return isWidthTooSmall || isHeightTooSmall;
429
429
  }
430
430
  /**
431
- * `true` if the app is fullscreen, `false` otherwise.
431
+ * `true` if the extension is fullscreen, `false` otherwise.
432
432
  */
433
433
 
434
434
  }, {
@@ -437,7 +437,7 @@ function (_Watchable) {
437
437
  return this._isFullscreen;
438
438
  }
439
439
  /**
440
- * The current size of the app frame.
440
+ * The current size of the extension frame.
441
441
  *
442
442
  * Can be watched.
443
443
  */
@@ -7,7 +7,7 @@ import { PermissionCheckResult } from './types/mutations';
7
7
  */
8
8
  declare type WatchableGlobalConfigKey = string;
9
9
  /**
10
- * A key-value store for persisting configuration options for an app installation.
10
+ * A key-value store for persisting configuration options for an extension installation.
11
11
  *
12
12
  * The contents will be synced in real-time to all logged-in users of the installation.
13
13
  * Contents will not be updated in real-time when the installation is running in
@@ -122,7 +122,7 @@ declare class GlobalConfig extends Watchable<WatchableGlobalConfigKey> {
122
122
  * if (globalConfig.hasPermissionToSetPaths('favoriteColor', color)) {
123
123
  * globalConfig.setAsync('favoriteColor', color);
124
124
  * }
125
- * // The update is now applied within your app (eg will be
125
+ * // The update is now applied within your extension (eg will be
126
126
  * // reflected in globalConfig) but are still being saved to
127
127
  * // Airtable servers (e.g. may not be updated for other users yet)
128
128
  * }
@@ -216,7 +216,7 @@ declare class GlobalConfig extends Watchable<WatchableGlobalConfigKey> {
216
216
  * if (globalConfig.hasPermissionToSetPaths(updates)) {
217
217
  * globalConfig.setPathsAsync(updates);
218
218
  * }
219
- * // The updates are now applied within your app (eg will be reflected in
219
+ * // The updates are now applied within your extension (eg will be reflected in
220
220
  * // globalConfig) but are still being saved to Airtable servers (e.g. they
221
221
  * // may not be updated for other users yet)
222
222
  * }
@@ -109,8 +109,8 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
109
109
  * The user matching the given ID, name, or email address. Returns null if that user does not
110
110
  * exist or does not have access to this base.
111
111
  *
112
- * This method is convenient when building an app for a specific base, but for more generic
113
- * apps the best practice is to use the {@link getCollaboratorByIdIfExists} method instead.
112
+ * This method is convenient when building an extension for a specific base, but for more generic
113
+ * extensions the best practice is to use the {@link getCollaboratorByIdIfExists} method instead.
114
114
  *
115
115
  * @param collaboratorIdOrNameOrEmail The ID of the user.
116
116
  */
@@ -120,8 +120,8 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
120
120
  * or does not have access to this base. Use {@link getCollaboratorIfExists} instead if you are
121
121
  * unsure whether a collaborator with the given ID exists and has access to this base.
122
122
  *
123
- * This method is convenient when building an app for a specific base, but for more generic
124
- * apps the best practice is to use the {@link getCollaboratorById} method instead.
123
+ * This method is convenient when building an extension for a specific base, but for more generic
124
+ * extensions the best practice is to use the {@link getCollaboratorById} method instead.
125
125
  *
126
126
  * @param collaboratorIdOrNameOrEmail The ID of the user.
127
127
  */
@@ -158,8 +158,8 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
158
158
  * The table matching the given ID or name. Returns `null` if no matching table exists within
159
159
  * this base.
160
160
  *
161
- * This method is convenient when building an app for a specific base, but for more generic
162
- * apps the best practice is to use the {@link getTableByIdIfExists} or
161
+ * This method is convenient when building an extension for a specific base, but for more generic
162
+ * extensions the best practice is to use the {@link getTableByIdIfExists} or
163
163
  * {@link getTableByNameIfExists} methods instead.
164
164
  *
165
165
  * @param tableIdOrName The ID or name of the table you're looking for.
@@ -170,8 +170,8 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
170
170
  * Use {@link getTableIfExists} instead if you are unsure whether a table exists with the given
171
171
  * name/ID.
172
172
  *
173
- * This method is convenient when building an app for a specific base, but for more generic
174
- * apps the best practice is to use the {@link getTableById} or {@link getTableByName} methods
173
+ * This method is convenient when building an extension for a specific base, but for more generic
174
+ * extensions the best practice is to use the {@link getTableById} or {@link getTableByName} methods
175
175
  * instead.
176
176
  *
177
177
  * @param tableIdOrName The ID or name of the table you're looking for.
@@ -252,7 +252,7 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
252
252
  *
253
253
  * This action is asynchronous. Unlike new records, new tables are **not** created
254
254
  * optimistically locally. You must `await` the returned promise before using the new
255
- * table in your app.
255
+ * table in your extension.
256
256
  *
257
257
  * @param name name for the table. must be case-insensitive unique
258
258
  * @param fields array of fields to create in the table: see below for an example. `name` and
@@ -127,17 +127,15 @@ declare class Cursor extends AbstractModelWithAsyncData<CursorData, WatchableCur
127
127
  */
128
128
  get activeViewId(): ViewId | null;
129
129
  /**
130
- * Sets the specified table to active in the Airtable UI. If the apps pane is fullscreen, the
131
- * table will still be set as active, but the apps pane will continue to be displayed
132
- * fullscreen.
130
+ * Sets the specified table to active in the Airtable UI. If the extension installation or extensions pane
131
+ * is fullscreen, fullscreen mode will be exited.
133
132
  *
134
133
  * @param tableOrTableId The target table or table ID to set as active in the Airtable main page.
135
134
  */
136
135
  setActiveTable(tableOrTableId: Table | TableId): void;
137
136
  /**
138
- * Sets the specified view (and corresponding table) to active in the Airtable UI. If the apps
139
- * pane is fullscreen, the view will still be set as active, but the apps pane will continue
140
- * to be displayed fullscreen.
137
+ * Sets the specified view (and corresponding table) to active in the Airtable UI. If the extension
138
+ * installation or extensions pane is fullscreen, fullscreen mode will be exited.
141
139
  *
142
140
  * @param tableOrTableId The table or table ID that the target view belongs to.
143
141
  * @param viewOrViewId The target view or view ID to set as active in the Airtable main page.
@@ -1 +1 @@
1
- {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../../../src/models/cursor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AACrC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAuB,YAAY,EAAE,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAE/E,OAAO,0BAA0B,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,QAAA,MAAM,mBAAmB;;;;;;EAMvB,CAAC;AAEH;;;;;;;GAOG;AACH,aAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnE,cAAc;AACd,UAAU,UAAU;IAChB,mBAAmB,EAAE,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACzD,kBAAkB,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACvD,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,cAAM,MAAO,SAAQ,0BAA0B,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAiE3E;;;;;;;OAOG;IACH,IAAI,iBAAiB,IAAI,KAAK,CAAC,QAAQ,CAAC,CAKvC;IACD;;;;;;;OAOG;IACH,IAAI,gBAAgB,IAAI,KAAK,CAAC,QAAQ,CAAC,CAKtC;IACD;;;;;;;OAOG;IACH,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;IAW5D;;;;;;;;OAQG;IACH,IAAI,aAAa,IAAI,OAAO,GAAG,IAAI,CAElC;IACD;;;;;;;;;OASG;IACH,IAAI,YAAY,IAAI,MAAM,GAAG,IAAI,CAEhC;IACD;;;;;;OAMG;IACH,cAAc,CAAC,cAAc,EAAE,KAAK,GAAG,OAAO,GAAG,IAAI;IAIrD;;;;;;;OAOG;IACH,aAAa,CAAC,cAAc,EAAE,KAAK,GAAG,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI;CA+EpF;AAED,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../../../src/models/cursor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AACrC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAuB,YAAY,EAAE,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAE/E,OAAO,0BAA0B,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,QAAA,MAAM,mBAAmB;;;;;;EAMvB,CAAC;AAEH;;;;;;;GAOG;AACH,aAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnE,cAAc;AACd,UAAU,UAAU;IAChB,mBAAmB,EAAE,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACzD,kBAAkB,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACvD,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,cAAM,MAAO,SAAQ,0BAA0B,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAiE3E;;;;;;;OAOG;IACH,IAAI,iBAAiB,IAAI,KAAK,CAAC,QAAQ,CAAC,CAKvC;IACD;;;;;;;OAOG;IACH,IAAI,gBAAgB,IAAI,KAAK,CAAC,QAAQ,CAAC,CAKtC;IACD;;;;;;;OAOG;IACH,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;IAW5D;;;;;;;;OAQG;IACH,IAAI,aAAa,IAAI,OAAO,GAAG,IAAI,CAElC;IACD;;;;;;;;;OASG;IACH,IAAI,YAAY,IAAI,MAAM,GAAG,IAAI,CAEhC;IACD;;;;;OAKG;IACH,cAAc,CAAC,cAAc,EAAE,KAAK,GAAG,OAAO,GAAG,IAAI;IAIrD;;;;;;OAMG;IACH,aAAa,CAAC,cAAc,EAAE,KAAK,GAAG,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI;CA+EpF;AAED,eAAe,MAAM,CAAC"}
@@ -143,7 +143,7 @@ declare class Field extends AbstractModel<FieldData, WatchableFieldKey> {
143
143
  *
144
144
  * This action is asynchronous. Unlike updates to cell values, updates to field options are
145
145
  * **not** applied optimistically locally. You must `await` the returned promise before
146
- * relying on the change in your app.
146
+ * relying on the change in your extension.
147
147
  *
148
148
  * Optionally, you can pass an `opts` object as the second argument. See {@link UpdateFieldOptionsOpts}
149
149
  * for available options.
@@ -216,7 +216,7 @@ declare class Field extends AbstractModel<FieldData, WatchableFieldKey> {
216
216
  *
217
217
  * This action is asynchronous. Unlike updates to cell values, updates to field name are
218
218
  * **not** applied optimistically locally. You must `await` the returned promise before
219
- * relying on the change in your app.
219
+ * relying on the change in your extension.
220
220
  *
221
221
  * @param name new name for the field
222
222
  *
@@ -277,7 +277,7 @@ declare class Field extends AbstractModel<FieldData, WatchableFieldKey> {
277
277
  *
278
278
  * This action is asynchronous. Unlike updates to cell values, updates to field descriptions are
279
279
  * **not** applied optimistically locally. You must `await` the returned promise before
280
- * relying on the change in your app.
280
+ * relying on the change in your extension.
281
281
  *
282
282
  * @param description new description for the field
283
283
  *
@@ -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 app as possible - Airtable bases
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
- * apps don't load record data by default. We recommend using {@link useRecords},
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 app is being viewed in a public share</span>;
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 app is running in a publicly shared base.
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 app is being used in a public share.</div>;
53
+ * return <div>This extension is being used in a public share.</div>;
54
54
  * }
55
55
  *
56
56
  * return <ul>