@airtable/blocks 1.3.0 → 1.5.1

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 (125) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/dist/cjs/index.js +30 -11
  3. package/dist/cjs/injected/airtable_interface.js +2 -1
  4. package/dist/cjs/models/cursor.js +4 -6
  5. package/dist/cjs/models/field.js +24 -0
  6. package/dist/cjs/models/grouped_record_query_result.js +475 -0
  7. package/dist/cjs/models/models.js +30 -0
  8. package/dist/cjs/models/mutations.js +41 -9
  9. package/dist/cjs/models/record_query_result.js +37 -12
  10. package/dist/cjs/models/session.js +65 -23
  11. package/dist/cjs/models/table_or_view_query_result.js +306 -97
  12. package/dist/cjs/models/view.js +71 -1
  13. package/dist/cjs/models/view_data_store.js +62 -20
  14. package/dist/cjs/models/view_metadata_query_result.js +41 -8
  15. package/dist/cjs/sdk.js +2 -2
  16. package/dist/cjs/testing/mock_airtable_interface.js +1 -110
  17. package/dist/cjs/types/airtable_interface.js +19 -1
  18. package/dist/cjs/types/mutations.js +2 -1
  19. package/dist/cjs/types/view.js +1 -0
  20. package/dist/cjs/ui/confirmation_dialog.js +12 -4
  21. package/dist/cjs/ui/expand_record.js +5 -5
  22. package/dist/cjs/ui/expand_record_list.js +2 -5
  23. package/dist/cjs/ui/expand_record_picker_async.js +9 -16
  24. package/dist/cjs/ui/form_field.js +2 -2
  25. package/dist/cjs/ui/icon_config.js +11 -4
  26. package/dist/cjs/ui/initialize_block.js +62 -10
  27. package/dist/cjs/ui/ui.js +9 -2
  28. package/dist/cjs/ui/use_loadable.js +2 -2
  29. package/dist/cjs/ui/use_records.js +54 -40
  30. package/dist/cjs/ui/use_view_metadata.js +1 -1
  31. package/dist/cjs/unstable_testing_utils.js +163 -0
  32. package/dist/types/src/color_utils.d.ts +4 -4
  33. package/dist/types/src/color_utils.d.ts.map +1 -1
  34. package/dist/types/src/index.d.ts +2 -2
  35. package/dist/types/src/index.d.ts.map +1 -1
  36. package/dist/types/src/injected/airtable_interface.d.ts.map +1 -1
  37. package/dist/types/src/models/cursor.d.ts +4 -6
  38. package/dist/types/src/models/cursor.d.ts.map +1 -1
  39. package/dist/types/src/models/field.d.ts +17 -1
  40. package/dist/types/src/models/field.d.ts.map +1 -1
  41. package/dist/types/src/models/grouped_record_query_result.d.ts +61 -0
  42. package/dist/types/src/models/grouped_record_query_result.d.ts.map +1 -0
  43. package/dist/types/src/models/models.d.ts +4 -1
  44. package/dist/types/src/models/models.d.ts.map +1 -1
  45. package/dist/types/src/models/mutations.d.ts.map +1 -1
  46. package/dist/types/src/models/record.d.ts +0 -2
  47. package/dist/types/src/models/record.d.ts.map +1 -1
  48. package/dist/types/src/models/record_query_result.d.ts +22 -0
  49. package/dist/types/src/models/record_query_result.d.ts.map +1 -1
  50. package/dist/types/src/models/session.d.ts +65 -23
  51. package/dist/types/src/models/session.d.ts.map +1 -1
  52. package/dist/types/src/models/table_or_view_query_result.d.ts +21 -0
  53. package/dist/types/src/models/table_or_view_query_result.d.ts.map +1 -1
  54. package/dist/types/src/models/view.d.ts +26 -1
  55. package/dist/types/src/models/view.d.ts.map +1 -1
  56. package/dist/types/src/models/view_data_store.d.ts +2 -0
  57. package/dist/types/src/models/view_data_store.d.ts.map +1 -1
  58. package/dist/types/src/models/view_metadata_query_result.d.ts +21 -0
  59. package/dist/types/src/models/view_metadata_query_result.d.ts.map +1 -1
  60. package/dist/types/src/sdk.d.ts +3 -0
  61. package/dist/types/src/sdk.d.ts.map +1 -1
  62. package/dist/types/src/testing/mock_airtable_interface.d.ts +79 -0
  63. package/dist/types/src/testing/mock_airtable_interface.d.ts.map +1 -1
  64. package/dist/types/src/types/airtable_interface.d.ts +28 -1
  65. package/dist/types/src/types/airtable_interface.d.ts.map +1 -1
  66. package/dist/types/src/types/field.d.ts +241 -1
  67. package/dist/types/src/types/field.d.ts.map +1 -1
  68. package/dist/types/src/types/mutations.d.ts +19 -3
  69. package/dist/types/src/types/mutations.d.ts.map +1 -1
  70. package/dist/types/src/types/view.d.ts +26 -1
  71. package/dist/types/src/types/view.d.ts.map +1 -1
  72. package/dist/types/src/ui/confirmation_dialog.d.ts +8 -0
  73. package/dist/types/src/ui/confirmation_dialog.d.ts.map +1 -1
  74. package/dist/types/src/ui/expand_record.d.ts +1 -0
  75. package/dist/types/src/ui/expand_record.d.ts.map +1 -1
  76. package/dist/types/src/ui/expand_record_list.d.ts.map +1 -1
  77. package/dist/types/src/ui/expand_record_picker_async.d.ts +0 -3
  78. package/dist/types/src/ui/expand_record_picker_async.d.ts.map +1 -1
  79. package/dist/types/src/ui/icon_config.d.ts +15 -8
  80. package/dist/types/src/ui/icon_config.d.ts.map +1 -1
  81. package/dist/types/src/ui/initialize_block.d.ts +19 -2
  82. package/dist/types/src/ui/initialize_block.d.ts.map +1 -1
  83. package/dist/types/src/ui/ui.d.ts +2 -2
  84. package/dist/types/src/ui/ui.d.ts.map +1 -1
  85. package/dist/types/src/ui/use_loadable.d.ts +2 -2
  86. package/dist/types/src/ui/use_records.d.ts +11 -1
  87. package/dist/types/src/ui/use_records.d.ts.map +1 -1
  88. package/dist/types/src/unstable_testing_utils.d.ts +13 -0
  89. package/dist/types/src/unstable_testing_utils.d.ts.map +1 -0
  90. package/dist/types/test/airtable_interface_mocks/linked_records.d.ts.map +1 -1
  91. package/dist/types/test/airtable_interface_mocks/mock_airtable_interface_internal.d.ts +32 -1
  92. package/dist/types/test/airtable_interface_mocks/mock_airtable_interface_internal.d.ts.map +1 -1
  93. package/dist/types/test/airtable_interface_mocks/project_tracker.d.ts.map +1 -1
  94. package/dist/types/test/ui/expand_record.test.d.ts +2 -0
  95. package/dist/types/test/ui/expand_record.test.d.ts.map +1 -0
  96. package/dist/types/test/ui/expand_record_list.test.d.ts +2 -0
  97. package/dist/types/test/ui/expand_record_list.test.d.ts.map +1 -0
  98. package/dist/types/test/ui/expand_record_picker_async.test.d.ts +2 -0
  99. package/dist/types/test/ui/expand_record_picker_async.test.d.ts.map +1 -0
  100. package/index.d.ts +4 -2
  101. package/package.json +4 -4
  102. package/types.d.ts +3 -0
  103. package/unstable_testing_utils.d.ts +1 -0
  104. package/unstable_testing_utils.js +1 -0
  105. package/dist/cjs/testing/inject_mock_airtable_interface.js +0 -63
  106. package/dist/cjs/testing/mock_airtable_interface_external.js +0 -741
  107. package/dist/cjs/testing/test_driver.js +0 -260
  108. package/dist/cjs/types/test_mutations.js +0 -32
  109. package/dist/cjs/unstable_testing.js +0 -17
  110. package/dist/types/src/testing/inject_mock_airtable_interface.d.ts +0 -2
  111. package/dist/types/src/testing/inject_mock_airtable_interface.d.ts.map +0 -1
  112. package/dist/types/src/testing/mock_airtable_interface_external.d.ts +0 -107
  113. package/dist/types/src/testing/mock_airtable_interface_external.d.ts.map +0 -1
  114. package/dist/types/src/testing/test_driver.d.ts +0 -90
  115. package/dist/types/src/testing/test_driver.d.ts.map +0 -1
  116. package/dist/types/src/types/test_mutations.d.ts +0 -27
  117. package/dist/types/src/types/test_mutations.d.ts.map +0 -1
  118. package/dist/types/src/unstable_testing.d.ts +0 -3
  119. package/dist/types/src/unstable_testing.d.ts.map +0 -1
  120. package/dist/types/test/testing/mock_airtable_interface_external.test.d.ts +0 -2
  121. package/dist/types/test/testing/mock_airtable_interface_external.test.d.ts.map +0 -1
  122. package/dist/types/test/testing/test_driver.test.d.ts +0 -2
  123. package/dist/types/test/testing/test_driver.test.d.ts.map +0 -1
  124. package/unstable_testing.d.ts +0 -1
  125. package/unstable_testing.js +0 -1
@@ -11,7 +11,6 @@ require("core-js/modules/es.promise");
11
11
  Object.defineProperty(exports, "__esModule", {
12
12
  value: true
13
13
  });
14
- exports.__injectSdkIntoExpandRecordPickerAsync = __injectSdkIntoExpandRecordPickerAsync;
15
14
  exports.default = void 0;
16
15
 
17
16
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
@@ -56,7 +55,7 @@ var _error_utils = require("../error_utils");
56
55
  * @docsPath UI/utils/expandRecordPickerAsync
57
56
  */
58
57
  function expandRecordPickerAsync(records, opts) {
59
- var tableId, recordIds, fieldIds, shouldAllowCreatingRecord, chosenRecordId, table;
58
+ var tableId, sdk, recordIds, fieldIds, shouldAllowCreatingRecord, chosenRecordId, table;
60
59
  return _regenerator.default.async(function expandRecordPickerAsync$(_context) {
61
60
  while (1) {
62
61
  switch (_context.prev = _context.next) {
@@ -70,6 +69,7 @@ function expandRecordPickerAsync(records, opts) {
70
69
 
71
70
  case 2:
72
71
  tableId = records[0].parentTable.id;
72
+ sdk = records[0].parentTable.parentBase.__sdk;
73
73
  recordIds = records.map(record => {
74
74
  (0, _error_utils.invariant)(record.parentTable.id === tableId, 'all records must belong to the same table');
75
75
  return record.id;
@@ -79,33 +79,33 @@ function expandRecordPickerAsync(records, opts) {
79
79
  return field.id;
80
80
  }) : null;
81
81
  shouldAllowCreatingRecord = !!opts && !!opts.shouldAllowCreatingRecord;
82
- _context.next = 8;
82
+ _context.next = 9;
83
83
  return _regenerator.default.awrap(sdk.__airtableInterface.expandRecordPickerAsync(tableId, recordIds, fieldIds, shouldAllowCreatingRecord));
84
84
 
85
- case 8:
85
+ case 9:
86
86
  chosenRecordId = _context.sent;
87
87
 
88
88
  if (chosenRecordId) {
89
- _context.next = 11;
89
+ _context.next = 12;
90
90
  break;
91
91
  }
92
92
 
93
93
  return _context.abrupt("return", null);
94
94
 
95
- case 11:
95
+ case 12:
96
96
  table = sdk.base.getTableByIdIfExists(tableId);
97
97
 
98
98
  if (table) {
99
- _context.next = 14;
99
+ _context.next = 15;
100
100
  break;
101
101
  }
102
102
 
103
103
  return _context.abrupt("return", null);
104
104
 
105
- case 14:
105
+ case 15:
106
106
  return _context.abrupt("return", sdk.base.__getRecordStore(table.id).getRecordByIdIfExists(chosenRecordId));
107
107
 
108
- case 15:
108
+ case 16:
109
109
  case "end":
110
110
  return _context.stop();
111
111
  }
@@ -113,12 +113,5 @@ function expandRecordPickerAsync(records, opts) {
113
113
  });
114
114
  }
115
115
 
116
- var sdk; // The application-level Sdk instance must be injected dynamically to avoid
117
- // circular dependencies at the time of module resolution.
118
-
119
- function __injectSdkIntoExpandRecordPickerAsync(_sdk) {
120
- sdk = _sdk;
121
- }
122
-
123
116
  var _default = expandRecordPickerAsync;
124
117
  exports.default = _default;
@@ -111,7 +111,7 @@ var FormField = (props, ref) => {
111
111
 
112
112
  if (description) {
113
113
  optionalLabelProps = {
114
- margin: 0
114
+ marginBottom: 1
115
115
  };
116
116
  }
117
117
 
@@ -148,7 +148,7 @@ ForwardedRefFormField.propTypes = _objectSpread({
148
148
  style: _propTypes.default.object,
149
149
  label: _propTypes.default.node,
150
150
  htmlFor: _propTypes.default.string,
151
- description: _propTypes.default.string,
151
+ description: _propTypes.default.node,
152
152
  children: _propTypes.default.node
153
153
  }, formFieldStylePropTypes);
154
154
  ForwardedRefFormField.displayName = 'FormField';
@@ -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', 'book', 'calendar', 'caret', 'chart', 'chat', 'check', 'checkbox', 'checkboxChecked', 'checkboxUnchecked', 'checklist', 'chevronDown', 'chevronLeft', 'chevronRight', 'chevronUp', 'clipboard', 'code', 'cog', 'collapse', 'collapseSidebar', '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', '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', 'show', 'show1', 'slack', 'smiley', 'sort', 'stack', 'star', 'strikethrough', 'switcher', 'tabs', 'team', 'teamLocked', 'text', 'thumbsUp', 'time', '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', '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', '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', 'bookMicro', 'calendarMicro', 'caretMicro', 'chartMicro', 'chatMicro', 'checkMicro', 'checkboxCheckedMicro', 'checkboxMicro', 'checkboxUncheckedMicro', 'checklistMicro', 'chevronDownMicro', 'chevronLeftMicro', 'chevronRightMicro', 'chevronUpMicro', 'clipboardMicro', 'codeMicro', 'cogMicro', 'collapseMicro', 'collapseSidebarMicro', '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', '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', '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', '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', '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
 
@@ -73,6 +73,7 @@ var iconPaths = Object.freeze({
73
73
  [iconNames.blocks]: 'M1 14.01V9.99c0-.539.444-.99.99-.99h4.02c.539 0 .99.444.99.99v4.02c0 .54-.444.99-.99.99H1.99a.996.996 0 0 1-.99-.99zm0-9.76A3.252 3.252 0 0 1 4.25 1 3.252 3.252 0 0 1 7.5 4.25 3.252 3.252 0 0 1 4.25 7.5 3.252 3.252 0 0 1 1 4.25zm7.05 2.22L11 1.366c.276-.479.727-.478 1.007 0l2.986 5.104c.28.479.056.866-.5.866H8.557c-.556 0-.783-.388-.506-.866zm1.8 6.85L11.5 12l-1.65-1.32a1.083 1.083 0 0 1 1.353-1.693l2.708 2.167a1.083 1.083 0 0 1 0 1.692l-2.708 2.167a1.083 1.083 0 1 1-1.354-1.692z',
74
74
  [iconNames.bold]: 'M8.6189 13.978C11.1755 13.978 12.761 12.6499 12.761 10.5498C12.761 9.00586 11.6072 7.72314 10.0217 7.60693C11.2502 7.42432 12.1882 6.2583 12.1882 4.98828C12.1882 3.13721 10.802 2 8.47778 2H4.23999C3.68771 2 3.23999 2.44772 3.23999 3V12.978C3.23999 13.5303 3.68771 13.978 4.23999 13.978H8.6189ZM5.74683 4.41748C5.74683 4.14134 5.97068 3.91748 6.24683 3.91748H7.83862C9.03394 3.91748 9.7229 4.49023 9.7229 5.44482C9.7229 6.40771 8.98413 6.96387 7.6311 6.96387H6.24683C5.97068 6.96387 5.74683 6.74001 5.74683 6.46387V4.41748ZM6.24683 12.0605C5.97068 12.0605 5.74683 11.8367 5.74683 11.5605V9.15723C5.74683 8.88108 5.97068 8.65723 6.24683 8.65723H7.92163C9.39917 8.65723 10.2043 9.23828 10.2043 10.334C10.2043 11.4546 9.42407 12.0605 7.97974 12.0605H6.24683Z',
75
75
  [iconNames.bolt]: 'M8.86436893,1.49857595 C8.93136252,0.670935294 8.611241,0.562990284 8.15338958,1.25141142 L3.55238864,8.1694336 C3.24731282,8.62814276 3.44792891,9.00000001 3.99869586,9.00000001 L6.50130415,9.00000001 C7.05286864,9.00000001 7.46872276,9.43788136 7.42836219,10.0029293 L7.10726256,14.4983243 C7.04802309,15.3276769 7.34851954,15.4191341 7.77211184,14.7131468 L12.4884431,6.85259422 C12.7709681,6.38171934 12.5520709,5.99999983 12.001304,5.99999983 L9.49869579,5.99999983 C8.94713134,5.99999983 8.5365043,5.54902466 8.58019878,5.00922189 L8.86436893,1.49857595 Z',
76
+ [iconNames.boltList]: 'M5.24609 2.52356C5.24609 1.91879 4.967 1.81926 4.60718 2.323L0.0879582 8.64991C-0.0877211 8.89586 0.00616482 9.09525 0.312436 9.09525H2.51303C2.81268 9.09525 3.0556 9.33055 3.0556 9.64035V13.4764C3.0556 14.0812 3.3347 14.1807 3.69451 13.677L8.21374 7.35009C8.38942 7.10414 8.29553 6.90475 7.98926 6.90475H5.78867C5.48901 6.90475 5.24609 6.66945 5.24609 6.35965V2.52356Z M9.99993 7.99708C9.99993 7.44533 10.4378 6.99805 11.0029 6.99805H13.997C14.5509 6.99805 14.9999 7.44149 14.9999 7.99708C14.9999 8.54883 14.5621 8.99611 13.997 8.99611H11.0029C10.449 8.99611 9.99993 8.55267 9.99993 7.99708ZM6.50146 12.999C6.50146 12.4473 6.94895 12 7.49997 12H14.0014C14.5529 12 14.9999 12.4434 14.9999 12.999C14.9999 13.5508 14.5524 13.9981 14.0014 13.9981H7.49997C6.94851 13.9981 6.50146 13.5546 6.50146 12.999ZM7.49997 2.99903C7.49997 2.44728 7.94746 2 8.49847 2H14.0014C14.5529 2 14.9999 2.44343 14.9999 2.99903C14.9999 3.55077 14.5524 3.99805 14.0014 3.99805H8.49847C7.94701 3.99805 7.49997 3.55462 7.49997 2.99903 Z',
76
77
  [iconNames.book]: 'M4.80174958,2.56642553 L6.86021296,1.19411658 C6.96034005,1.12736519 7.17754804,1.10399495 7.28797443,1.14646664 L12.8530465,3.28687901 C12.9135034,3.31013166 13,3.43615143 13,3.50643687 L13,13.5 C13,13.7761424 13.2238576,14 13.5,14 C13.7761424,14 14,13.7761424 14,13.5 L14,3.50643687 C14,3.02249465 13.6587819,2.52536277 13.2120256,2.35353341 L7.64695351,0.213121038 C7.23469471,0.0545599575 6.67672037,0.114594545 6.30551275,0.362066294 L3.7226499,2.0839749 L3.3887068,2.30660363 L3.39124028,2.31313598 C3.15415362,2.42018545 3,2.66652877 3,2.99998686 L3,12.0487316 C3,12.6010091 3.41815763,13.2032369 3.93181341,13.3930439 L10.0549429,15.6556745 C10.5695692,15.8458402 10.9867563,15.5496113 10.9867563,15.0005108 L10.9867563,5.51032795 C10.9867563,4.95832531 10.5573536,4.37584515 10.039207,4.21295267 L4.80174958,2.56642553 Z',
77
78
  [iconNames.calendar]: 'M12 2c0-.556-.448-1-1-1-.556 0-1 .448-1 1H6c0-.556-.448-1-1-1-.556 0-1 .448-1 1h-.998C2.456 2 2 2.449 2 3.002v9.996C2 13.544 2.449 14 3.002 14h9.996c.546 0 1.002-.449 1.002-1.002V3.002C14 2.456 13.551 2 12.998 2H12zm2.006-2C15.107 0 16 .895 16 1.994v12.012A1.995 1.995 0 0 1 14.006 16H1.994A1.995 1.995 0 0 1 0 14.006V1.994C0 .893.895 0 1.994 0h12.012zM7.505 4h.99c.279 0 .505.214.505.505v.99A.497.497 0 0 1 8.495 6h-.99A.497.497 0 0 1 7 5.495v-.99C7 4.226 7.214 4 7.505 4zm3 0h.99c.279 0 .505.214.505.505v.99a.497.497 0 0 1-.505.505h-.99A.497.497 0 0 1 10 5.495v-.99c0-.279.214-.505.505-.505zm-6 3h.99c.279 0 .505.214.505.505v.99A.497.497 0 0 1 5.495 9h-.99A.497.497 0 0 1 4 8.495v-.99C4 7.226 4.214 7 4.505 7zm3 0h.99c.279 0 .505.214.505.505v.99A.497.497 0 0 1 8.495 9h-.99A.497.497 0 0 1 7 8.495v-.99C7 7.226 7.214 7 7.505 7zm3 0h.99c.279 0 .505.214.505.505v.99a.497.497 0 0 1-.505.505h-.99A.497.497 0 0 1 10 8.495v-.99c0-.279.214-.505.505-.505zm-6 3h.99c.279 0 .505.214.505.505v.99a.497.497 0 0 1-.505.505h-.99A.497.497 0 0 1 4 11.495v-.99c0-.279.214-.505.505-.505zm3 0h.99c.279 0 .505.214.505.505v.99a.497.497 0 0 1-.505.505h-.99A.497.497 0 0 1 7 11.495v-.99c0-.279.214-.505.505-.505z',
78
79
  [iconNames.caret]: 'M4.80153237,6.00002 L11.1984676,6.00002 C11.8579881,6.00002 12.2338734,6.76912179 11.8387119,7.30861993 L8.64024427,11.6724979 C8.3194337,12.1091674 7.6805663,12.1091674 7.3611326,11.6724979 L4.1612881,7.30861993 C3.76612658,6.76912179 4.14201193,6.00002 4.80153237,6.00002',
@@ -92,6 +93,7 @@ var iconPaths = Object.freeze({
92
93
  [iconNames.cog]: 'M7.7773,11.0131 C6.9493,10.9881 6.2103,10.6301 5.6843,10.0711 C5.6833,10.0711 5.6833,10.0701 5.6833,10.0701 C5.1573,9.5111 4.8443,8.7511 4.8693,7.9231 C4.8943,7.0951 5.2533,6.3561 5.8123,5.8301 L5.8123,5.8301 C6.3713,5.3031 7.1313,4.9911 7.9593,5.0161 C8.7873,5.0411 9.5263,5.3991 10.0523,5.9581 L10.0533,5.9581 C10.5793,6.5181 10.8923,7.2771 10.8673,8.1051 C10.8413,8.9331 10.4833,9.6731 9.9243,10.1991 L9.9243,10.1991 C9.3653,10.7251 8.6053,11.0381 7.7773,11.0131 M15.4953,7.1651 L13.7293,6.7551 C13.6003,6.1561 13.3833,5.5911 13.0903,5.0721 L14.1413,3.5941 C14.2803,3.4001 14.2613,3.1351 14.0983,2.9611 L13.2893,2.1021 C13.1263,1.9281 12.8633,1.8941 12.6603,2.0201 L11.1213,2.9801 C10.6213,2.6561 10.0703,2.4051 9.4803,2.2411 L9.1783,0.4531 C9.1383,0.2181 8.9383,0.0431 8.7003,0.0361 L7.5213,0.0001 C7.2823,-0.0069 7.0723,0.1551 7.0183,0.3871 L6.6093,2.1541 C6.0103,2.2821 5.4453,2.4991 4.9253,2.7921 L3.4473,1.7411 C3.2533,1.6031 2.9883,1.6211 2.8153,1.7841 L1.9553,2.5931 C1.7823,2.7561 1.7483,3.0201 1.8743,3.2221 L2.8343,4.7611 C2.5103,5.2611 2.2593,5.8131 2.0943,6.4031 L0.3063,6.7041 C0.0713,6.7441 -0.1027,6.9441 -0.1107,7.1821 L-0.1457,8.3621 C-0.1537,8.6001 0.0083,8.8101 0.2413,8.8641 L2.0073,9.2731 C2.1363,9.8721 2.3533,10.4381 2.6463,10.9571 L1.5943,12.4351 C1.4563,12.6291 1.4743,12.8941 1.6383,13.0671 L2.4473,13.9271 C2.6103,14.1001 2.8733,14.1351 3.0753,14.0081 L4.6143,13.0481 C5.1153,13.3731 5.6663,13.6241 6.2563,13.7881 L6.5583,15.5761 C6.5973,15.8111 6.7973,15.9861 7.0363,15.9931 L8.2153,16.0291 C8.4543,16.0361 8.6643,15.8741 8.7183,15.6421 L9.1273,13.8751 C9.7263,13.7471 10.2913,13.5301 10.8103,13.2361 L12.2893,14.2881 C12.4833,14.4261 12.7473,14.4081 12.9213,14.2441 L13.7803,13.4361 C13.9543,13.2721 13.9883,13.0091 13.8623,12.8071 L12.9023,11.2681 C13.2263,10.7671 13.4773,10.2161 13.6413,9.6261 L15.4303,9.3251 C15.6653,9.2851 15.8393,9.0851 15.8463,8.8471 L15.8823,7.6671 C15.8893,7.4291 15.7273,7.2191 15.4953,7.1651',
93
94
  [iconNames.collapse]: 'M3.29 9.381l2.96-.423c.56-.08.935.305.856.857l-.423 2.96c-.078.55-.458.674-.848.283l-.707-.707-1.899 1.898a.997.997 0 0 1-1.414 0 .997.997 0 0 1 0-1.414l1.899-1.898-.708-.707c-.393-.394-.264-.77.283-.849zm9.485-2.688l-2.96.422c-.56.08-.936-.304-.857-.856l.423-2.96c.079-.551.458-.674.849-.283l.707.707 1.907-1.908a.997.997 0 0 1 1.414 0 .997.997 0 0 1 0 1.415l-1.907 1.907.707.707c.393.393.264.77-.283.849z',
94
95
  [iconNames.collapseSidebar]: 'M10 2H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h7V2zM3 1h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2zm4.78 9.22a.75.75 0 0 1-1.06 1.06l-2.5-2.5a.75.75 0 0 1 0-1.06l2.5-2.5a.75.75 0 0 1 1.06 1.06L5.81 8.25l1.97 1.97z',
96
+ [iconNames.contacts]: 'M12 2C12 1.444 11.552 1 11 1C10.444 1 10 1.448 10 2H6C6 1.444 5.552 1 5 1C4.444 1 4 1.448 4 2H3.002C2.456 2 2 2.449 2 3.002V12.998C2 13.544 2.449 14 3.002 14H12.998C13.544 14 14 13.551 14 12.998V3.002C14 2.456 13.551 2 12.998 2H12ZM14.006 0C15.107 0 16 0.895 16 1.994V14.006C15.9997 14.5348 15.7896 15.0418 15.4157 15.4157C15.0418 15.7896 14.5348 15.9997 14.006 16H1.994C1.46524 15.9997 0.958212 15.7896 0.584322 15.4157C0.210432 15.0418 0.000264976 14.5348 0 14.006V1.994C0 0.893 0.895 0 1.994 0H14.006Z M7.89189 6.44324C7.12898 6.44324 6.51051 5.8237 6.51051 5.05946C6.51051 4.29522 7.12898 3.67568 7.89189 3.67568C8.65481 3.67568 9.27327 4.29522 9.27327 5.05946C9.27327 5.8237 8.65481 6.44324 7.89189 6.44324ZM7.89189 6.99676C9.36537 6.99676 10.3784 7.55027 10.3784 9.48757C10.3784 10.0109 9.82583 10.5946 7.89189 10.5946C5.95796 10.5946 5.40541 10.0713 5.40541 9.48757C5.40541 7.55027 6.41842 6.99676 7.89189 6.99676Z M3.45946 12.3243C3.45946 12.0855 3.65307 11.8919 3.89189 11.8919H12.1081C12.3469 11.8919 12.5405 12.0855 12.5405 12.3243C12.5405 12.5632 12.3469 12.7568 12.1081 12.7568H3.89189C3.65307 12.7568 3.45946 12.5632 3.45946 12.3243Z',
95
97
  [iconNames.count]: 'M10.9983186,2 C10.9983186,1.44771525 11.4416718,1 12.0076875,1 L13.9889497,1 C14.5464087,1 14.9983186,1.44386482 14.9983186,2 C14.9983186,2.55228475 14.5549654,3 13.9889497,3 L12.0076875,3 C11.4502284,3 10.9983186,2.55613518 10.9983186,2 Z M10.9983186,8 C10.9983186,7.44771525 11.4416718,7 12.0076875,7 L13.9889497,7 C14.5464087,7 14.9983186,7.44386482 14.9983186,8 C14.9983186,8.55228475 14.5549654,9 13.9889497,9 L12.0076875,9 C11.4502284,9 10.9983186,8.55613518 10.9983186,8 Z M10.9983186,11 C10.9983186,10.4477153 11.4416718,10 12.0076875,10 L13.9889497,10 C14.5464087,10 14.9983186,10.4438648 14.9983186,11 C14.9983186,11.5522847 14.5549654,12 13.9889497,12 L12.0076875,12 C11.4502284,12 10.9983186,11.5561352 10.9983186,11 Z M10.9983186,5 C10.9983186,4.44771525 11.4416718,4 12.0076875,4 L13.9889497,4 C14.5464087,4 14.9983186,4.44386482 14.9983186,5 C14.9983186,5.55228475 14.5549654,6 13.9889497,6 L12.0076875,6 C11.4502284,6 10.9983186,5.55613518 10.9983186,5 Z M10.9983186,14 C10.9983186,13.4477153 11.4416718,13 12.0076875,13 L13.9889497,13 C14.5464087,13 14.9983186,13.4438648 14.9983186,14 C14.9983186,14.5522847 14.5549654,15 13.9889497,15 L12.0076875,15 C11.4502284,15 10.9983186,14.5561352 10.9983186,14 Z M1.16794971,12.4452998 L4.79814957,8 L1.16794971,3.5547002 C0.724913219,2.89014547 1.20130462,2 2,2 L8,2 C8.55228475,2 9,2.44771525 9,3 L9,4 C9,4.55228475 8.55228475,5 8,5 C7.44771525,5 7,4.55228475 7,4 L3.86851709,4 L6.83205029,7.4452998 C7.05598324,7.78119922 7.05598324,8.21880078 6.83205029,8.5547002 L3.86851709,12 L7,12 C7,11.4477153 7.44771525,11 8,11 C8.55228475,11 9,11.4477153 9,12 L9,13 C9,13.5522847 8.55228475,14 8,14 L2,14 C1.20130462,14 0.724913219,13.1098545 1.16794971,12.4452998 Z',
96
98
  [iconNames.count1]: 'M10.085 8h-.17a1.5 1.5 0 0 1-2.83 0H3.51A.51.51 0 0 1 3 7.5c0-.276.228-.5.51-.5h3.575a1.5 1.5 0 0 1 2.83 0h.17a1.5 1.5 0 1 1 0 1zm-4.17 4h4.17a1.5 1.5 0 1 1 0 1h-4.17a1.5 1.5 0 1 1 0-1zm1.17-10h-1.17a1.5 1.5 0 1 0 0 1h1.17a1.5 1.5 0 0 0 2.83 0h2.575c.282 0 .51-.224.51-.5a.51.51 0 0 0-.51-.5H9.915a1.5 1.5 0 0 0-2.83 0zM0 2.343a.993.993 0 0 1 1-.99c.552 0 1 .447 1 .99v11.495a.993.993 0 0 1-1 .99c-.552 0-1-.448-1-.99V2.343zm14 0a.993.993 0 0 1 1-.99c.552 0 1 .447 1 .99v11.495a.993.993 0 0 1-1 .99c-.552 0-1-.448-1-.99V2.343z',
97
99
  [iconNames.cube]: 'M2.947 4.97l4.83-2.415a.5.5 0 0 1 .447 0l4.829 2.415a.25.25 0 0 1 0 .447l-4.83 2.415a.5.5 0 0 1-.447 0L2.947 5.417a.25.25 0 0 1 0-.447zM2.5 6.702a.25.25 0 0 1 .364-.223l4.313 2.2a.5.5 0 0 1 .273.445v4.644a.25.25 0 0 1-.358.225L2.784 11.93a.5.5 0 0 1-.284-.451V6.702zm11 0v4.777a.5.5 0 0 1-.284.45l-4.308 2.064a.25.25 0 0 1-.358-.225V9.124a.5.5 0 0 1 .273-.445l4.313-2.2a.25.25 0 0 1 .364.223z',
@@ -120,7 +122,7 @@ var iconPaths = Object.freeze({
120
122
  [iconNames.formula]: 'M13.427,12.2326 L14.489,13.2946 C14.877,13.6826 14.877,14.3196 14.488,14.7086 C14.1,15.0976 13.463,15.0976 13.074,14.7086 L12.013,13.6476 L10.953,14.7086 C10.564,15.0976 9.928,15.0976 9.539,14.7086 L9.538,14.7076 C9.149,14.3196 9.149,13.6836 9.538,13.2946 L10.599,12.2326 L9.539,11.1726 C9.15,10.7836 9.15,10.1476 9.539,9.7586 C9.928,9.3696 10.564,9.3696 10.953,9.7586 L12.012,10.8176 L13.073,9.7556 C13.463,9.3656 14.099,9.3656 14.488,9.7546 L14.489,9.7556 C14.877,10.1446 14.877,10.7806 14.489,11.1696 L13.427,12.2326 Z M10.2468,0.0002 C12.87146,0.0002 13.3978592,2.53145 13.3978592,2.53145 C13.4839914,2.7844474 13.3156952,3.0002 13.0341343,3.0002 L11.756611,3.0002 C11.4754573,3.0002 11.1584611,2.7973017 11.0494895,2.54701396 C11.0494895,2.54701396 10.977478,2.0002 10.2468,2.0002 C9.4658,2.0002 9.2468,3.0002 9.2468,3.0002 L8.8468,5.0002 L9.2468,5.0002 L10.7468,5.0002 C11.0218,5.0002 11.2468,5.2252 11.2468,5.5002 C11.2468,5.7752 11.0218,6.0002 10.7468,6.0002 L9.2468,6.0002 L8.6468,6.0002 L7.2468,13.0002 C6.9348,14.3752 5.4968,16.0002 3.2468,16.0002 C1.2138,16.0002 0.5268,14.1722 0.3238,13.3702 C0.2748,13.1802 0.4208,13.0002 0.6168,13.0002 L1.74888936,13.0002 C2.02015548,13.0002 2.34410227,13.1978777 2.46413071,13.4417255 C2.46413071,13.4417255 2.59429932,14.0002 3.2468,14.0002 C4.0288,14.0002 4.2468,13.0002 4.2468,13.0002 L5.6468,6.0002 L5.2468,6.0002 L4.7468,6.0002 C4.4718,6.0002 4.2468,5.7752 4.2468,5.5002 C4.2468,5.2252 4.4718,5.0002 4.7468,5.0002 L5.2468,5.0002 L5.8468,5.0002 L6.2468,3.0002 C6.5598,1.6252 7.62214004,0.0002 10.2468,0.0002 Z',
121
123
  [iconNames.fullscreen]: 'M5 0H3C1.34315 0 0 1.34315 0 3V6H3V3H5V0Z M5 13H3V11H0V13C0 14.6569 1.34315 16 3 16H5V13Z M11 16V13H13V11H16V13C16 14.6569 14.6569 16 13 16H11Z M11 3V0H13C14.6569 0 16 1.34315 16 3V6H13V3H11Z M5 7C5 5.89543 5.89543 5 7 5H9C10.1046 5 11 5.89543 11 7V9C11 10.1046 10.1046 11 9 11H7C5.89543 11 5 10.1046 5 9V7Z',
122
124
  [iconNames.gallery]: 'M0 1.994C0 .893.895 0 1.994 0h12.012C15.107 0 16 .895 16 1.994v12.012A1.995 1.995 0 0 1 14.006 16H1.994A1.995 1.995 0 0 1 0 14.006V1.994zM2 3.5v2C2 6.326 2.672 7 3.5 7h2C6.326 7 7 6.328 7 5.5v-2C7 2.674 6.328 2 5.5 2h-2C2.674 2 2 2.672 2 3.5zm0 7v2c0 .826.672 1.5 1.5 1.5h2c.826 0 1.5-.672 1.5-1.5v-2C7 9.674 6.328 9 5.5 9h-2C2.674 9 2 9.672 2 10.5zm7-7v2c0 .826.672 1.5 1.5 1.5h2c.826 0 1.5-.672 1.5-1.5v-2c0-.826-.672-1.5-1.5-1.5h-2C9.674 2 9 2.672 9 3.5zm0 7v2c0 .826.672 1.5 1.5 1.5h2c.826 0 1.5-.672 1.5-1.5v-2c0-.826-.672-1.5-1.5-1.5h-2C9.674 9 9 9.672 9 10.5z',
123
- [iconNames.gantt]: 'M3 3h5a1 1 0 1 1 0 2H3a1 1 0 1 1 0-2zm2 3h7a1 1 0 0 1 0 2H5a1 1 0 1 1 0-2zM4 9h4a1 1 0 1 1 0 2H4a1 1 0 0 1 0-2zm2 3h7a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2z',
125
+ [iconNames.gantt]: 'M0 1.994C0 0.893 0.895 0 1.994 0H14.006C15.107 0 16 0.895 16 1.994V14.006C15.9997 14.5348 15.7896 15.0418 15.4157 15.4157C15.0418 15.7896 14.5348 15.9997 14.006 16H1.994C1.46524 15.9997 0.958212 15.7896 0.584322 15.4157C0.210432 15.0418 0.000264976 14.5348 0 14.006V1.994ZM8 2.5H3C2.73478 2.5 2.48043 2.60536 2.29289 2.79289C2.10536 2.98043 2 3.23478 2 3.5C2 3.76522 2.10536 4.01957 2.29289 4.20711C2.48043 4.39464 2.73478 4.5 3 4.5H8C8.26522 4.5 8.51957 4.39464 8.70711 4.20711C8.89464 4.01957 9 3.76522 9 3.5C9 3.23478 8.89464 2.98043 8.70711 2.79289C8.51957 2.60536 8.26522 2.5 8 2.5ZM12 5.5H5C4.73478 5.5 4.48043 5.60536 4.29289 5.79289C4.10536 5.98043 4 6.23478 4 6.5C4 6.76522 4.10536 7.01957 4.29289 7.20711C4.48043 7.39464 4.73478 7.5 5 7.5H12C12.2652 7.5 12.5196 7.39464 12.7071 7.20711C12.8946 7.01957 13 6.76522 13 6.5C13 6.23478 12.8946 5.98043 12.7071 5.79289C12.5196 5.60536 12.2652 5.5 12 5.5ZM8 8.5H4C3.73478 8.5 3.48043 8.60536 3.29289 8.79289C3.10536 8.98043 3 9.23478 3 9.5C3 9.76522 3.10536 10.0196 3.29289 10.2071C3.48043 10.3946 3.73478 10.5 4 10.5H8C8.26522 10.5 8.51957 10.3946 8.70711 10.2071C8.89464 10.0196 9 9.76522 9 9.5C9 9.23478 8.89464 8.98043 8.70711 8.79289C8.51957 8.60536 8.26522 8.5 8 8.5ZM13 11.5H6C5.73478 11.5 5.48043 11.6054 5.29289 11.7929C5.10536 11.9804 5 12.2348 5 12.5C5 12.7652 5.10536 13.0196 5.29289 13.2071C5.48043 13.3946 5.73478 13.5 6 13.5H13C13.2652 13.5 13.5196 13.3946 13.7071 13.2071C13.8946 13.0196 14 12.7652 14 12.5C14 12.2348 13.8946 11.9804 13.7071 11.7929C13.5196 11.6054 13.2652 11.5 13 11.5Z',
124
126
  [iconNames.gift]: 'M9 6.5h4.5A.5.5 0 0 0 14 6V4.5a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5V6a.5.5 0 0 0 .5.5H7V4h2v2.5zM7 7H3.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5H9v8H7V7zm-.717-3.5c-.621 0-1.125-.448-1.125-1s.504-1 1.125-1c.792 0 1.282.667 1.472 2H6.283zm4.375 0H8.5c.384-2 1.103-3 2.158-3a1.5 1.5 0 0 1 0 3z',
125
127
  [iconNames.grid]: 'M0 1.994C0 .893.895 0 1.994 0h12.012C15.107 0 16 .895 16 1.994v12.012A1.995 1.995 0 0 1 14.006 16H1.994A1.995 1.995 0 0 1 0 14.006V1.994zM2 7v1.002C2 8.557 2.452 9 3.01 9h1.98A.999.999 0 0 0 6 8.001V6.999C6 6.443 5.548 6 4.99 6H3.01A.999.999 0 0 0 2 6.999zm5 0v1.002C7 8.557 7.449 9 8.003 9h4.994A.994.994 0 0 0 14 8.001V6.999A.998.998 0 0 0 12.997 6H8.003A.994.994 0 0 0 7 6.999zM2 3c0 .556.452 1 1.01 1h1.98a1 1 0 1 0 0-2H3.01A1 1 0 0 0 2 3zm5 0c0 .556.449 1 1.003 1h4.994A.994.994 0 0 0 14 3c0-.556-.449-1-1.003-1H8.003A.994.994 0 0 0 7 3zm-5 8.999v1.002c0 .556.452.999 1.01.999h1.98A.999.999 0 0 0 6 13.001v-1.002C6 11.443 5.548 11 4.99 11H3.01a.999.999 0 0 0-1.01.999zm5 0v1.002c0 .556.449.999 1.003.999h4.994A.994.994 0 0 0 14 13.001v-1.002A.998.998 0 0 0 12.997 11H8.003A.994.994 0 0 0 7 11.999z',
126
128
  [iconNames.grid1]: 'M2 3.5C2 2.672 2.674 2 3.5 2h2C6.328 2 7 2.674 7 3.5v2C7 6.328 6.326 7 5.5 7h-2C2.672 7 2 6.326 2 5.5v-2zm0 7C2 9.672 2.674 9 3.5 9h2c.828 0 1.5.674 1.5 1.5v2c0 .828-.674 1.5-1.5 1.5h-2c-.828 0-1.5-.674-1.5-1.5v-2zm7-7c0-.828.674-1.5 1.5-1.5h2c.828 0 1.5.674 1.5 1.5v2c0 .828-.674 1.5-1.5 1.5h-2C9.672 7 9 6.326 9 5.5v-2zm0 7c0-.828.674-1.5 1.5-1.5h2c.828 0 1.5.674 1.5 1.5v2c0 .828-.674 1.5-1.5 1.5h-2c-.828 0-1.5-.674-1.5-1.5v-2z',
@@ -147,6 +149,7 @@ var iconPaths = Object.freeze({
147
149
  [iconNames.lookup]: 'M6.79075852,9 C7.11345303,9.79719048 7.68568438,10.4666725 8.41059363,10.9115871 C8.28567247,10.9683824 8.14753287,11 8.00296986,11 L1.99703014,11 C1.4463856,11 1,10.5561352 1,10 C1,9.44771525 1.45303631,9 1.99703014,9 L6.79075852,9 Z M7.37731452,5 L1.99703014,5 C1.45303631,5 1,5.44771525 1,6 C1,6.55613518 1.4463856,7 1.99703014,7 L6.53094688,7 C6.62462514,6.24876028 6.92662549,5.56221582 7.37731452,5 Z M1,14 C1,13.4477153 1.45303631,13 1.99703014,13 L8.00296986,13 C8.5536144,13 9,13.4438648 9,14 C9,14.5522847 8.54696369,15 8.00296986,15 L1.99703014,15 C1.4463856,15 1,14.5561352 1,14 Z M1,2 C1,1.44771525 1.45303631,1 1.99703014,1 L8.00296986,1 C8.5536144,1 9,1.44386482 9,2 C9,2.55228475 8.54696369,3 8.00296986,3 L1.99703014,3 C1.4463856,3 1,2.55613518 1,2 Z M13.2234848,8.97913237 L15.3816998,11.1259269 C15.6088804,11.3507523 15.6088804,11.7162377 15.3816998,11.9410631 L14.9505205,12.3711138 C14.7233399,12.5959392 14.3570693,12.5959392 14.1298888,12.3711138 L11.9716737,10.2243193 C11.920674,10.1735895 11.8859015,10.113636 11.8569244,10.0525296 C11.4454495,10.2727432 10.9806566,10.4099444 10.4810913,10.4099444 C8.86532776,10.4099444 7.55208522,9.10249811 7.55208522,7.49643756 C7.55208522,5.88922407 8.86532776,4.58177779 10.4810913,4.58177779 C12.0968549,4.58177779 13.4100974,5.88922407 13.4100974,7.49643756 C13.4100974,7.99335938 13.2733254,8.45453973 13.0507812,8.86499023 C13.1133718,8.89266105 13.1724851,8.92840253 13.2234848,8.97913237 Z M8.76863051,7.50791919 C8.76863051,8.47985676 9.5602851,9.26847515 10.5385523,9.26847515 C11.5168194,9.26847515 12.308474,8.47985676 12.308474,7.50791919 C12.308474,6.53482866 11.5168194,5.74621027 10.5385523,5.74621027 C9.5602851,5.74621027 8.76863051,6.53482866 8.76863051,7.50791919 Z',
148
150
  [iconNames.mapPin]: 'M8.403 13.958a.5.5 0 0 1-.806 0C4.866 10.243 3.5 7.59 3.5 6c0-2.5 2-4.5 4.5-4.5s4.5 2 4.5 4.5c0 1.59-1.366 4.243-4.097 7.958zM8 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4z',
149
151
  [iconNames.markdown]: 'M0,4.14712715 C0,3.51358632 0.514227152,3 1.15068054,3 L14.8493195,3 C15.4848228,3 16,3.50964952 16,4.14712715 L16,11.8528728 C16,12.4864137 15.4857728,13 14.8493195,13 L1.15068054,13 C0.515177227,13 0,12.4903505 0,11.8528728 L0,4.14712715 Z M2.30769231,10.65625 L3.84615385,10.65625 L3.84615385,7.609375 L5.38461538,9.5625 L6.92307692,7.609375 L6.92307692,10.65625 L8.46153846,10.65625 L8.46153846,5.34375 L6.92307692,5.34375 L5.38461538,7.296875 L3.84615385,5.34375 L2.30769231,5.34375 L2.30769231,10.65625 Z M11.9230769,10.65625 L14.2307692,8.078125 L12.6923077,8.078125 L12.6923077,5.34375 L11.1538462,5.34375 L11.1538462,8.078125 L9.61538462,8.078125 L11.9230769,10.65625 Z',
152
+ [iconNames.megaphone]: 'M3.07407 4.29179C1.93333 4.29179 1 5.16553 1 6.23343V8.17507C1 9.24298 1.93333 10.1167 3.07407 10.1167H4.11111V13.4263C4.11111 13.7432 4.37228 14 4.69444 14H5.60185C5.92402 14 6.18518 13.7432 6.18518 13.4263V10.1167H7.22222L11.0984 12.2939C11.6818 12.6216 12.4074 12.2074 12.4074 11.5467V2.86177C12.4074 2.20114 11.6818 1.78691 11.0984 2.11456L7.22222 4.29179H3.07407ZM15 7.20425C15 5.91306 14.3985 4.74808 13.4444 3.952V10.4468C14.3985 9.66043 15 8.49545 15 7.20425Z',
150
153
  [iconNames.menu]: 'M2,12 C2,11.4477153 2.45576096,11 3.00247329,11 L12.9975267,11 C13.5511774,11 14,11.4438648 14,12 C14,12.5522847 13.544239,13 12.9975267,13 L3.00247329,13 C2.44882258,13 2,12.5561352 2,12 Z M2,8 C2,7.44771525 2.45576096,7 3.00247329,7 L12.9975267,7 C13.5511774,7 14,7.44386482 14,8 C14,8.55228475 13.544239,9 12.9975267,9 L3.00247329,9 C2.44882258,9 2,8.55613518 2,8 Z M2,4 C2,3.44771525 2.45576096,3 3.00247329,3 L12.9975267,3 C13.5511774,3 14,3.44386482 14,4 C14,4.55228475 13.544239,5 12.9975267,5 L3.00247329,5 C2.44882258,5 2,4.55613518 2,4 Z',
151
154
  [iconNames.minus]: 'M3.71428571,7 C3.32,7 3,7.224 3,7.5 L3,8.5 C3,8.776 3.32,9 3.71428571,9 L12.2857143,9 C12.68,9 13,8.776 13,8.5 L13,7.5 C13,7.224 12.68,7 12.2857143,7 L3.71428571,7 Z',
152
155
  [iconNames.mobile]: 'M4,3.00585866 C4,1.89805351 4.88670635,1 5.99810135,1 L10.0018986,1 C11.1054196,1 12,1.89706013 12,3.00585866 L12,12.9941413 C12,14.1019465 11.1132936,15 10.0018986,15 L5.99810135,15 C4.89458045,15 4,14.1029399 4,12.9941413 L4,3.00585866 Z M5,3.50966585 L5,11.4903342 C5,11.7775269 5.21983051,12 5.49100518,12 L10.5089948,12 C10.7721195,12 11,11.7718148 11,11.4903342 L11,3.50966585 C11,3.22247314 10.7801695,3 10.5089948,3 L5.49100518,3 C5.22788048,3 5,3.22818517 5,3.50966585 Z M7.5,13.5 C7.5,13.7680664 7.72385763,14 8,14 C8.26806641,14 8.5,13.7761424 8.5,13.5 C8.5,13.2319336 8.27614237,13 8,13 C7.73193359,13 7.5,13.2238576 7.5,13.5 Z',
@@ -192,6 +195,7 @@ var iconPaths = Object.freeze({
192
195
  [iconNames.shapes]: 'M7.9258,11.6118 C7.9258,13.5238 6.3758,15.0748 4.4628,15.0748 C2.5508,15.0748 0.9998,13.5238 0.9998,11.6118 C0.9998,9.6998 2.5508,8.1488 4.4628,8.1488 C6.3758,8.1488 7.9258,9.6998 7.9258,11.6118 Z M9,13.5836948 L9,8.56570518 C9,8.30258048 9.21983051,8.0747 9.49100518,8.0747 L14.5089948,8.0747 C14.7721195,8.0747 15,8.29453051 15,8.56570518 L15,13.5836948 C15,13.8468195 14.7801695,14.0747 14.5089948,14.0747 L9.49100518,14.0747 C9.22788048,14.0747 9,13.8548695 9,13.5836948 Z M4.57122958,7.0747 C4.29264082,7.0747 4.18348417,6.87257388 4.31901479,6.63780098 L7.32158521,1.43659902 C7.46087959,1.19530635 7.69048417,1.20182612 7.82601479,1.43659902 L10.8285852,6.63780098 C10.9678796,6.87909365 10.8474317,7.0747 10.5763704,7.0747 L4.57122958,7.0747 Z',
193
196
  [iconNames.share]: 'M14.3923,9.6657 C14.8123,10.0317 15.0833,10.5647 15.0833,11.1667 C15.0833,12.2717 14.1883,13.1667 13.0833,13.1667 C11.9783,13.1667 11.0833,12.2717 11.0833,11.1667 C11.0833,10.0617 11.9783,9.1667 13.0833,9.1667 C13.2163,9.1667 13.3463,9.1807 13.4733,9.2057 C13.5383,8.8647 13.5833,8.5197 13.5833,8.1667 C13.5833,6.6267 12.9313,5.1457 11.7933,4.1067 C11.5893,3.9207 11.5753,3.6037 11.7613,3.4007 C11.9483,3.1967 12.2643,3.1827 12.4683,3.3687 C13.8123,4.5977 14.5833,6.3467 14.5833,8.1667 C14.5833,8.6777 14.5073,9.1767 14.3923,9.6657 Z M13.0833,12.1667 C13.6353,12.1667 14.0833,11.7187 14.0833,11.1667 C14.0833,10.6147 13.6353,10.1667 13.0833,10.1667 C12.5313,10.1667 12.0833,10.6147 12.0833,11.1667 C12.0833,11.7187 12.5313,12.1667 13.0833,12.1667 Z M8.0833,0.1667 C9.1883,0.1667 10.0833,1.0617 10.0833,2.1667 C10.0833,3.2717 9.1883,4.1667 8.0833,4.1667 C7.2723,4.1667 6.5773,3.6817 6.2633,2.9877 C4.7313,3.5287 3.4723,4.7267 2.9043,6.3117 C2.8313,6.5157 2.6383,6.6427 2.4333,6.6427 C2.3773,6.6427 2.3203,6.6327 2.2653,6.6127 C2.0043,6.5207 1.8693,6.2327 1.9623,5.9737 C2.6553,4.0407 4.2123,2.5847 6.1023,1.9767 C6.1993,0.9627 7.0433,0.1667 8.0833,0.1667 Z M8.0833,3.1667 C8.6353,3.1667 9.0833,2.7187 9.0833,2.1667 C9.0833,1.6147 8.6353,1.1667 8.0833,1.1667 C7.5313,1.1667 7.0833,1.6147 7.0833,2.1667 C7.0833,2.7187 7.5313,3.1667 8.0833,3.1667 Z M10.1003,13.8427 C10.1703,14.1087 10.0113,14.3827 9.7443,14.4527 C9.2053,14.5947 8.6463,14.6667 8.0833,14.6667 C6.4603,14.6667 4.9533,14.0707 3.7853,13.0337 C3.5663,13.1157 3.3313,13.1667 3.0833,13.1667 C1.9783,13.1667 1.0833,12.2717 1.0833,11.1667 C1.0833,10.0617 1.9783,9.1667 3.0833,9.1667 C4.1883,9.1667 5.0833,10.0617 5.0833,11.1667 C5.0833,11.6497 4.9053,12.0877 4.6193,12.4327 C5.5823,13.2187 6.7893,13.6667 8.0833,13.6667 C8.5613,13.6667 9.0343,13.6057 9.4893,13.4857 C9.7563,13.4127 10.0293,13.5747 10.1003,13.8427 Z M3.0833,12.1667 C3.6353,12.1667 4.0833,11.7187 4.0833,11.1667 C4.0833,10.6147 3.6353,10.1667 3.0833,10.1667 C2.5313,10.1667 2.0833,10.6147 2.0833,11.1667 C2.0833,11.7187 2.5313,12.1667 3.0833,12.1667 Z',
194
197
  [iconNames.share1]: 'M4.0338962,12 C4.039975,12 4.04202029,11.999381 4.04264508,12 L4.0338962,12 Z M12,9.5 C12,8.94771525 12.4477153,8.5 13,8.5 C13.5522847,8.5 14,8.94771525 14,9.5 L14,12.0064025 C14,13.0966041 13.1067329,14 12.0088582,14 L4.0338962,14 C2.94133314,14 2.04275439,13.1037881 2.04275439,12.0046024 L2.04275439,3.99539757 C2.04275439,2.90017343 2.94191902,2 4.04394285,2 L6,2 C6.55228475,2 7,2.44771525 7,3 C7,3.55228475 6.55228475,4 6,4 C6,4 4.04275439,4.00424121 4.04275439,3.99539757 C4.04275439,3.99539757 4.04268791,12.0000424 4.04264508,12 C4.04264508,12 12.000729,11.9992535 12,12.0064025 L12,9.5 Z M11.3901883,5.99545798 L8.85626073,8.52938555 C8.38989727,8.99574901 7.63695194,8.99892824 7.16724666,8.52922296 C6.70079341,8.06276971 6.69741624,7.30987673 7.16708407,6.8402089 L9.70101165,4.30628132 L8.8486345,3.45390417 C8.39272337,2.99799304 8.54112219,2.54149221 9.19403103,2.44821952 L12.7417573,1.94140149 C13.3992922,1.84746792 13.8483408,2.30180353 13.7550681,2.95471237 L13.2482501,6.5024386 C13.1543165,7.15997357 12.7047171,7.30998673 12.2425655,6.84783513 L11.3901883,5.99545798 L11.3901883,5.99545798 Z',
198
+ [iconNames.shareWithBolt]: 'M7.32812 9.60938C6.72519 9.60938 2.09375 9.60938 2.09375 9.60938V1.90625H3.45562C4.09179 1.90625 4.5625 1.56868 4.5625 0.9375C4.5625 0.306318 4.09179 0 3.45562 0H2.30375C1.03365 0 0 1.02722 0 2.28232V9.14625C0 10.4053 0.970137 11.3475 2.23438 11.3475H5.75C6.15496 11.3475 7.93106 9.60938 7.32812 9.60938ZM6.02262 7.01826L8.46627 4.59374L9.28828 5.40931C9.73397 5.85151 10.1676 5.70797 10.2581 5.07883L10.7469 1.68428C10.8368 1.05956 10.4038 0.624843 9.76969 0.714721L6.34836 1.19966C5.71871 1.2889 5.5756 1.72569 6.01527 2.16192L6.83728 2.97749L4.39363 5.40201C3.94069 5.8514 3.94395 6.57179 4.39378 7.0181C4.84675 7.46753 5.57287 7.46448 6.02262 7.01826ZM12.4678 4.92354C12.8118 4.4457 13.0787 4.54011 13.0787 5.11378V8.75259C13.0787 9.04645 13.3109 9.26966 13.5974 9.26966H15.7013C15.9941 9.26966 16.0839 9.45878 15.9159 9.69209L11.5953 15.6936C11.2513 16.1714 10.9844 16.077 10.9844 15.5034V11.8646C10.9844 11.5707 10.7522 11.3475 10.4657 11.3475H8.36182C8.06901 11.3475 7.97925 11.1584 8.14721 10.9251L12.4678 4.92354Z',
195
199
  [iconNames.show]: 'M1.24398322,8.65832323 C0.833092631,8.29474135 0.821763127,7.70159197 1.24398322,7.34167677 C1.24398322,7.34167677 4.00174039,4.5 8.00174039,4.5 C12.0017404,4.5 14.7566715,7.34167677 14.7566715,7.34167677 C15.1672005,7.70525865 15.1785336,8.29840803 14.7566715,8.65832323 C14.7566715,8.65832323 12.0017404,11.5 8.00174039,11.5 C4.00174039,11.5 1.24398322,8.65832323 1.24398322,8.65832323 Z M8,9.5 C7.17157288,9.5 6.5,8.82842712 6.5,8 C6.5,7.17157288 7.17157288,6.5 8,6.5 C8.82842712,6.5 9.5,7.17157288 9.5,8 C9.5,8.82842712 8.82842712,9.5 8,9.5 Z M8,10.5 C9.38071187,10.5 10.5,9.38071187 10.5,8 C10.5,6.61928813 9.38071187,5.5 8,5.5 C6.61928813,5.5 5.5,6.61928813 5.5,8 C5.5,9.38071187 6.61928813,10.5 8,10.5 Z',
196
200
  [iconNames.show1]: 'M6.187 5.778c-.8.238-1.547.62-2.238 1.12A8.182 8.182 0 0 0 2.704 8c.178.267.495.645.962 1.037 1.085.91 2.526 1.462 4.45 1.462 1.943 0 3.395-.529 4.479-1.398.453-.363.76-.71.933-.955a8.452 8.452 0 0 0-1.271-1.183c-.773-.584-1.61-1.015-2.51-1.253a2.5 2.5 0 1 1-3.56.067zM.768 8.64C.474 8.175.516 7.462.893 7.05c0 0 2.622-3.55 7.222-3.55 4.6 0 7.245 3.737 7.245 3.737.354.421.405 1.147.09 1.588 0 0-1.834 3.675-7.334 3.675S.768 8.64.768 8.64z',
197
201
  [iconNames.slack]: 'M3.36156 10.1107C3.36156 11.0358 2.60586 11.7915 1.68078 11.7915.755701 11.7915 0 11.0358 0 10.1107 0 9.18567.755701 8.42997 1.68078 8.42997H3.36156V10.1107zM4.20847 10.1108C4.20847 9.18567 4.96417 8.42997 5.88925 8.42997 6.81433 8.42997 7.57003 9.18567 7.57003 10.1108V14.3192C7.57003 15.2443 6.81433 16 5.88925 16 4.96417 16 4.20847 15.2443 4.20847 14.3192V10.1108zM5.88925 3.36156C4.96417 3.36156 4.20847 2.60586 4.20847 1.68078 4.20847.755701 4.96417 0 5.88925 0 6.81433 0 7.57003.755701 7.57003 1.68078V3.36156H5.88925zM5.88925 4.20847C6.81433 4.20847 7.57003 4.96417 7.57003 5.88925 7.57003 6.81433 6.81433 7.57003 5.88925 7.57003H1.68078C.755701 7.57003 0 6.81433 0 5.88925 0 4.96417.755701 4.20847 1.68078 4.20847H5.88925zM12.6384 5.88925C12.6384 4.96417 13.3941 4.20847 14.3192 4.20847 15.2443 4.20847 16 4.96417 16 5.88925 16 6.81433 15.2443 7.57003 14.3192 7.57003H12.6384V5.88925zM11.7915 5.88925C11.7915 6.81433 11.0358 7.57003 10.1107 7.57003 9.18567 7.57003 8.42997 6.81433 8.42997 5.88925V1.68078C8.42997.755701 9.18567 0 10.1107 0 11.0358 0 11.7915.755701 11.7915 1.68078V5.88925zM10.1107 12.6384C11.0358 12.6384 11.7915 13.3941 11.7915 14.3192 11.7915 15.2443 11.0358 16 10.1107 16 9.18567 16 8.42997 15.2443 8.42997 14.3192V12.6384H10.1107zM10.1107 11.7915C9.18567 11.7915 8.42997 11.0358 8.42997 10.1107 8.42997 9.18567 9.18567 8.42997 10.1107 8.42997H14.3192C15.2443 8.42997 16 9.18567 16 10.1107 16 11.0358 15.2443 11.7915 14.3192 11.7915H10.1107z',
@@ -234,6 +238,7 @@ var microIconPaths = Object.freeze({
234
238
  [microIconNames.blocksMicro]: 'M1.5 9.99V8.01C1.5 7.442 1.952 7 2.51 7h1.98c.567 0 1.01.452 1.01 1.01v1.98c0 .567-.452 1.01-1.01 1.01H2.51c-.567 0-1.01-.452-1.01-1.01zM1.044 3.5c0-1.39 1.119-2.5 2.5-2.5 1.39 0 2.5 1.12 2.5 2.5 0 1.39-1.12 2.5-2.5 2.5-1.39 0-2.5-1.12-2.5-2.5zm5.473 1.154L8.23 1.846c.282-.462.748-.467 1.034 0l1.717 2.808c.283.462.066.846-.49.846H7.008c-.559 0-.778-.379-.492-.846zm.6 5.153l1.236-.99-1.236-.988a.811.811 0 1 1 1.014-1.267l2.027 1.623a.811.811 0 0 1 0 1.266l-2.027 1.622a.811.811 0 0 1-1.014-1.266z',
235
239
  [microIconNames.boldMicro]: 'M6.46375 10.4926C8.38103 10.4926 9.56999 9.4966 9.56999 7.92169C9.56999 6.76385 8.70473 5.80192 7.51576 5.71477C8.43705 5.57782 9.14047 4.7034 9.14047 3.75099C9.14047 2.36283 8.10091 1.51001 6.35793 1.51001H3.42999C2.87771 1.51001 2.42999 1.95773 2.42999 2.51001V9.49259C2.42999 10.0449 2.87771 10.4926 3.42999 10.4926H6.46375ZM4.30992 3.44797C4.30992 3.17183 4.53378 2.94797 4.80992 2.94797H5.87861C6.775 2.94797 7.29167 3.37749 7.29167 4.09336C7.29167 4.81545 6.73765 5.23252 5.72298 5.23252H4.80992C4.53378 5.23252 4.30992 5.00866 4.30992 4.73252V3.44797ZM4.80992 9.05463C4.53378 9.05463 4.30992 8.83077 4.30992 8.55463V7.00241C4.30992 6.72626 4.53378 6.50241 4.80992 6.50241H5.94086C7.04889 6.50241 7.65271 6.93815 7.65271 7.75984C7.65271 8.60021 7.06757 9.05463 5.98443 9.05463H4.80992Z',
236
240
  [microIconNames.boltMicro]: 'M6.99999994,0.999807505 C6.99999995,0.447629065 6.7451752,0.356754645 6.41665086,0.816688701 L2.29043294,6.59339367 C2.13003126,6.81795602 2.21575262,6.99999979 2.49538902,6.99999981 L4.50461119,6.99999996 C4.77820699,6.99999998 5.00000021,7.21484375 5.0000002,7.49769878 L5.00000014,11.0001925 C5.00000013,11.5523709 5.25482487,11.6432453 5.58334919,11.1833113 L9.70956694,5.4066062 C9.86996862,5.18204384 9.78424727,5.00000008 9.50461089,5.00000008 L7.49538886,5.00000008 C7.22179308,5.00000008 6.99999988,4.78515633 6.99999988,4.50230129 L6.99999994,0.999807505 Z',
241
+ [microIconNames.boltListMicro]: 'M8.49697 5.99708C8.49697 5.44533 8.93485 4.99805 9.4999 4.99805H10.997C11.5509 4.99805 11.9999 5.44149 11.9999 5.99708C11.9999 6.54883 11.562 6.99611 10.997 6.99611H9.4999C8.946 6.99611 8.49697 6.55267 8.49697 5.99708ZM5.503 9.99903C5.503 9.44728 5.95048 9 6.5015 9H11.0014C11.5529 9 11.9999 9.44343 11.9999 9.99903C11.9999 10.5508 11.5524 10.9981 11.0014 10.9981H6.5015C5.95004 10.9981 5.503 10.5546 5.503 9.99903ZM6.5014 1.99903C6.5014 1.44728 6.94889 1 7.4999 1H11.0014C11.5529 1 11.9999 1.44343 11.9999 1.99903C11.9999 2.55077 11.5524 2.99805 11.0014 2.99805H7.4999C6.94844 2.99805 6.5014 2.55462 6.5014 1.99903Z M4.37174 1.4363C4.37174 0.932322 4.13916 0.849381 3.83932 1.26917L0.0732985 6.54159C-0.0731009 6.74655 0.00513732 6.9127 0.260363 6.9127H2.09419C2.3439 6.9127 2.54633 7.10879 2.54633 7.36696V10.5637C2.54633 11.0677 2.77891 11.1506 3.07876 10.7308L6.84478 5.45841C6.99118 5.25345 6.91294 5.08729 6.65772 5.08729H4.82389C4.57418 5.08729 4.37174 4.89121 4.37174 4.63304V1.4363 Z',
237
242
  [microIconNames.bookMicro]: 'M2.00496559,2.57085198 C2.00168282,2.60427476 2,2.6389821 2,2.67492473 L2,8.10042709 C2,8.65379807 2.40207146,9.31078259 2.88586767,9.56152824 L6.70486157,11.540866 C7.19411277,11.7944389 7.59072924,11.5567585 7.59072924,11.0087 L7.59072924,5.16425827 C7.59072924,4.61677821 7.18865778,3.9931641 6.68003918,3.76572571 L3.49727483,2.34249261 L4.92172253,1.20293441 C4.98966163,1.14858313 5.17170735,1.12347315 5.24485967,1.15598529 L8.84900186,2.75782629 C8.91304855,2.78629148 9,2.91980273 9,2.99209597 L9,10 C9,10.2761424 9.22385763,10.5 9.5,10.5 C9.77614237,10.5 10,10.2761424 10,10 L10,2.99209597 C10,2.52422963 9.67996486,2.03282565 9.25514033,1.84401474 L5.65099814,0.242173747 C5.23323363,0.0565006263 4.65413885,0.136376505 4.29702747,0.422065615 L2.18765247,2.10956567 C2.04440363,2.22416475 1.98088937,2.40149459 2.00496559,2.57085198 Z',
238
243
  [microIconNames.calendarMicro]: 'M9.991 0A2.01 2.01 0 0 1 12 2.009V9.99A2.01 2.01 0 0 1 9.991 12H2.01A2.01 2.01 0 0 1 0 9.991V2.01A2.01 2.01 0 0 1 2.009 0H9.99zM5.505 2h.99c.279 0 .505.214.505.505v.99A.497.497 0 0 1 6.495 4h-.99A.497.497 0 0 1 5 3.495v-.99C5 2.226 5.214 2 5.505 2zm3 0h.99c.279 0 .505.214.505.505v.99A.497.497 0 0 1 9.495 4h-.99A.497.497 0 0 1 8 3.495v-.99C8 2.226 8.214 2 8.505 2zm-6 3h.99c.279 0 .505.214.505.505v.99A.497.497 0 0 1 3.495 7h-.99A.497.497 0 0 1 2 6.495v-.99C2 5.226 2.214 5 2.505 5zm3 0h.99c.279 0 .505.214.505.505v.99A.497.497 0 0 1 6.495 7h-.99A.497.497 0 0 1 5 6.495v-.99C5 5.226 5.214 5 5.505 5zm3 0h.99c.279 0 .505.214.505.505v.99A.497.497 0 0 1 9.495 7h-.99A.497.497 0 0 1 8 6.495v-.99C8 5.226 8.214 5 8.505 5zm-6 3h.99c.279 0 .505.214.505.505v.99a.497.497 0 0 1-.505.505h-.99A.497.497 0 0 1 2 9.495v-.99C2 8.226 2.214 8 2.505 8zm3 0h.99c.279 0 .505.214.505.505v.99a.497.497 0 0 1-.505.505h-.99A.497.497 0 0 1 5 9.495v-.99C5 8.226 5.214 8 5.505 8z',
239
244
  [microIconNames.caretMicro]: 'M3.6011,4.00002 L8.4011,4.00002 C8.8951,4.00002 9.1771,4.56402 8.8811,4.96002 L6.4811,8.16002 C6.2411,8.48002 5.7611,8.48002 5.5211,8.16002 L3.1211,4.96002 C2.8241,4.56402 3.1071,4.00002 3.6011,4.00002',
@@ -253,6 +258,7 @@ var microIconPaths = Object.freeze({
253
258
  [microIconNames.cogMicro]: 'M5.72898814,7.89860903 C4.64515943,7.86621197 3.79301874,6.96007619 3.82639752,5.87624748 C3.85879458,4.79241877 4.76394863,3.94027808 5.84777734,3.97365686 C6.93160605,4.00605391 7.78374674,4.91120796 7.75134969,5.99601841 C7.71797091,7.07984712 6.81281686,7.93100608 5.72898814,7.89860903 M9.66081241,5.3097899 L10.5767655,4.47630206 L9.64706821,2.74747745 L8.43168782,3.0547586 C8.07139331,2.72391596 7.65219507,2.46179434 7.18489211,2.28311968 L6.91884358,1.05988546 L4.95636749,1 L4.61570756,2.20458137 C4.13858731,2.35478589 3.70466314,2.59138256 3.32473405,2.90062716 L2.12996997,2.51873462 L1.09719116,4.18865549 L1.9611126,5.07613842 C1.90711751,5.31568027 1.87079354,5.56209423 1.86293971,5.81734374 C1.85606761,6.07161153 1.87668391,6.31998894 1.91595307,6.56247598 L1,7.39596383 L1.92969727,9.12478843 L3.14507766,8.81750728 C3.50537217,9.14834992 3.92457041,9.41047154 4.39187337,9.5891462 L4.65890363,10.8123804 L6.62137972,10.8722659 L6.96105792,9.66670279 C7.43817817,9.51747999 7.87210235,9.28088333 8.25301316,8.97163872 L9.44679551,9.35254954 L10.4795743,7.6836104 L9.61565288,6.79612746 C9.66964797,6.55658561 9.70597194,6.30918993 9.71382577,6.05492214 C9.72167961,5.80065435 9.70008157,5.55227694 9.66081241,5.3097899 Z',
254
259
  [microIconNames.collapseMicro]: 'M1.56 6.882l2.96-.423c.56-.08.936.305.857.857l-.423 2.96c-.079.551-.458.674-.848.283l-.708-.707-1.169 1.17a.997.997 0 0 1-1.414-.001.997.997 0 0 1 0-1.414l1.17-1.17-.708-.706c-.393-.393-.264-.77.283-.849zM10 5.271l-2.96.423c-.56.08-.936-.305-.857-.857l.423-2.96c.079-.55.458-.674.849-.283l.707.707L9.647.815a.997.997 0 0 1 1.414 0 .997.997 0 0 1 0 1.415L9.577 3.715l.707.707c.393.394.264.77-.283.849z',
255
260
  [microIconNames.collapseSidebarMicro]: 'M8 1H1.833A.833.833 0 0 0 1 1.833v8.334c0 .46.373.833.833.833H8V1zM1.714 0h8.572C11.232 0 12 .768 12 1.714v8.572c0 .946-.768 1.714-1.714 1.714H1.714A1.714 1.714 0 0 1 0 10.286V1.714C0 .768.768 0 1.714 0zM5.78 7.818a.655.655 0 0 1 0 .98.795.795 0 0 1-1.06 0L2.22 6.49a.655.655 0 0 1 0-.98l2.5-2.307a.795.795 0 0 1 1.06 0 .655.655 0 0 1 0 .979L3.81 6l1.97 1.818z',
261
+ [microIconNames.contactsMicro]: 'M9 1.5a.748.748 0 00-.75-.75.748.748 0 00-.75.75h-3a.748.748 0 00-.75-.75.748.748 0 00-.75.75h-.748a.755.755 0 00-.752.752v7.497c0 .409.337.751.752.751h7.497c.409 0 .751-.337.751-.752V2.252a.755.755 0 00-.752-.752H9zM10.505 0C11.33 0 12 .671 12 1.496v9.008A1.496 1.496 0 0110.505 12h-9.01A1.496 1.496 0 010 10.505v-9.01C0 .67.671 0 1.496 0h9.008z M5.919 4.832A1.037 1.037 0 115.92 2.76a1.037 1.037 0 01-.002 2.073zm0 .416c1.105 0 1.865.415 1.865 1.868 0 .392-.415.83-1.865.83s-1.865-.393-1.865-.83c0-1.453.76-1.868 1.865-1.868z M2.595 9.243c0-.179.145-.324.324-.324H9.08a.324.324 0 110 .649H2.92a.324.324 0 01-.324-.325z',
256
262
  [microIconNames.countMicro]: 'M4.12535722,6 L1.35688031,10.6141282 C1.05694427,11.1140216 1.41702914,11.75 2,11.75 L9,11.75 C9.41421356,11.75 9.75,11.4142136 9.75,11 L9.75,9 C9.75,8.58578644 9.41421356,8.25 9,8.25 C8.58578644,8.25 8.25,8.58578644 8.25,9 L8.25,10.25 L3.32464278,10.25 L5.64311969,6.38587182 C5.78562677,6.14836003 5.78562677,5.85163997 5.64311969,5.61412818 L3.32464278,1.75 L8.25,1.75 L8.25,3 C8.25,3.41421356 8.58578644,3.75 9,3.75 C9.41421356,3.75 9.75,3.41421356 9.75,3 L9.75,1 C9.75,0.585786438 9.41421356,0.25 9,0.25 L2,0.25 C1.41702914,0.25 1.05694427,0.885978431 1.35688031,1.38587182 L4.12535722,6 Z',
257
263
  [microIconNames.count1Micro]: 'M11 9V6H9.915a1.5 1.5 0 0 1-2.83 0h-.17a1.5 1.5 0 0 1-2.83 0H1v3h.085a1.5 1.5 0 0 1 2.83 0h4.17a1.5 1.5 0 0 1 2.83 0H11zm0 1h-.085a1.5 1.5 0 0 1-2.83 0h-4.17a1.5 1.5 0 0 1-2.83 0H1v1.5c0 .276-.232.5-.5.5a.503.503 0 0 1-.5-.5V.5C0 .224.232 0 .5 0c.276 0 .5.229.5.5V1h1.085a1.5 1.5 0 0 1 2.83 0H11V.5a.5.5 0 1 1 1 0v10.647a.5.5 0 1 1-1 0V10zm0-8H4.915a1.5 1.5 0 0 1-2.83 0H1v3h3.085a1.5 1.5 0 0 1 2.83 0h.17a1.5 1.5 0 0 1 2.83 0H11V2z',
258
264
  [microIconNames.cubeMicro]: 'M2.447 3.717l3.33-1.664a.5.5 0 0 1 .447 0l3.329 1.664a.25.25 0 0 1 0 .448l-3.33 1.664a.5.5 0 0 1-.447 0L2.447 4.165a.25.25 0 0 1 0-.448zM2 5.15a.25.25 0 0 1 .364-.223l2.963 1.512a.5.5 0 0 1 .273.445v3.185a.25.25 0 0 1-.358.226L2.284 8.877A.5.5 0 0 1 2 8.427V5.148zm8 0v3.277a.5.5 0 0 1-.284.451l-2.958 1.417a.25.25 0 0 1-.358-.226V6.883a.5.5 0 0 1 .273-.445l2.963-1.512A.25.25 0 0 1 10 5.15z',
@@ -281,7 +287,7 @@ var microIconPaths = Object.freeze({
281
287
  [microIconNames.formulaMicro]: 'M9.6711,8.4678 L11.1011,9.8978 C11.2961,10.0928 11.2961,10.4108 11.1011,10.6048 L10.9161,10.7898 C10.7221,10.9848 10.4041,10.9848 10.2091,10.7898 L8.7791,9.3598 L7.3491,10.7898 C7.1541,10.9848 6.8361,10.9848 6.6421,10.7898 L6.4571,10.6048 C6.2631,10.4108 6.2631,10.0928 6.4571,9.8978 L7.8871,8.4678 L6.4571,7.0378 C6.2631,6.8428 6.2631,6.5248 6.4571,6.3308 L6.6421,6.1458 C6.8361,5.9518 7.1541,5.9518 7.3491,6.1458 L8.7791,7.5758 L10.2091,6.1458 C10.4041,5.9518 10.7221,5.9518 10.9161,6.1458 L11.1011,6.3308 C11.2961,6.5248 11.2961,6.8428 11.1011,7.0378 L9.6711,8.4678 Z M6.2471,2 C6.2471,2 5.4151,1.881 5.2161,3.094 C5.1631,3.416 5.1141,3.712 5.0671,4 L5.7471,4 C6.0221,4 6.2471,4.225 6.2471,4.5 C6.2471,4.775 6.0221,5 5.7471,5 L4.9031,5 C4.2471,8.997 4.2471,9 4.2471,9 C4.2471,9 4.0231,11 3.2471,11 C2.8481,11 2.2121,11.017 1.0001,11.005 L1.2471,10 C1.2471,10 2.0591,10.129 2.2471,9 C2.5541,7.157 2.7661,5.885 2.9141,5 L2.0281,5 C1.7531,5 1.5281,4.775 1.5281,4.5 C1.5281,4.225 1.7531,4 2.0281,4 L3.0801,4 C3.2461,3.007 3.2471,3 3.2471,3 C3.2471,3 3.4551,0.958 5.2471,1 C5.3711,1.003 6.5911,0.999 6.5911,0.999 L6.2471,2 Z',
282
288
  [microIconNames.fullscreenMicro]: 'M4 0H2C0.895431 0 0 0.895432 0 2V4H2V2H4V0Z M4 10.0154H2V8H0V10.0154C0 11.12 0.895431 12.0154 2 12.0154H4V10.0154Z M8 12.0154V10.0154H10V8H12V10.0154C12 11.12 11.1046 12.0154 10 12.0154H8Z M8 2V0H10C11.1046 0 12 0.895431 12 2V4H10V2H8Z M3.5 4.5C3.5 3.94772 3.94772 3.5 4.5 3.5H7.5C8.05228 3.5 8.5 3.94772 8.5 4.5V7.5C8.5 8.05228 8.05228 8.5 7.5 8.5H4.5C3.94772 8.5 3.5 8.05228 3.5 7.5V4.5Z',
283
289
  [microIconNames.galleryMicro]: 'M0 2.009A2.01 2.01 0 0 1 2.009 0H9.99A2.01 2.01 0 0 1 12 2.009V9.99A2.01 2.01 0 0 1 9.991 12H2.01A2.01 2.01 0 0 1 0 9.991V2.01zM4.001 2c.552 0 .999.443.999.999v1.002A.996.996 0 0 1 4.001 5H2.999A.996.996 0 0 1 2 4.001V2.999C2 2.447 2.443 2 2.999 2h1.002zm5 0c.552 0 .999.443.999.999v1.002A.996.996 0 0 1 9.001 5H7.999A.996.996 0 0 1 7 4.001V2.999C7 2.447 7.443 2 7.999 2h1.002zm-5 5c.552 0 .999.443.999.999v1.002a.996.996 0 0 1-.999.999H2.999A.996.996 0 0 1 2 9.001V7.999C2 7.447 2.443 7 2.999 7h1.002zm5 0c.552 0 .999.443.999.999v1.002a.996.996 0 0 1-.999.999H7.999A.996.996 0 0 1 7 9.001V7.999C7 7.447 7.443 7 7.999 7h1.002z',
284
- [microIconNames.ganttMicro]: 'M1.5 3h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1 0-1zm2 2h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1zm-1 2h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1zm2 2h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1 0-1z',
290
+ [microIconNames.ganttMicro]: 'M0 1.4955C0 0.66975 0.67125 0 1.4955 0H10.5045C11.3302 0 12 0.67125 12 1.4955V10.5045C11.9998 10.9011 11.8422 11.2813 11.5618 11.5618C11.2813 11.8422 10.9011 11.9998 10.5045 12H1.4955C1.09893 11.9998 0.718659 11.8422 0.438241 11.5618C0.157824 11.2813 0.000198732 10.9011 0 10.5045V1.4955ZM6 1.875H2.25C2.05109 1.875 1.86032 1.95402 1.71967 2.09467C1.57902 2.23532 1.5 2.42609 1.5 2.625C1.5 2.82391 1.57902 3.01468 1.71967 3.15533C1.86032 3.29598 2.05109 3.375 2.25 3.375H6C6.19891 3.375 6.38968 3.29598 6.53033 3.15533C6.67098 3.01468 6.75 2.82391 6.75 2.625C6.75 2.42609 6.67098 2.23532 6.53033 2.09467C6.38968 1.95402 6.19891 1.875 6 1.875ZM9 4.125H3.75C3.55109 4.125 3.36032 4.20402 3.21967 4.34467C3.07902 4.48532 3 4.67609 3 4.875C3 5.07391 3.07902 5.26468 3.21967 5.40533C3.36032 5.54598 3.55109 5.625 3.75 5.625H9C9.19891 5.625 9.38968 5.54598 9.53033 5.40533C9.67098 5.26468 9.75 5.07391 9.75 4.875C9.75 4.67609 9.67098 4.48532 9.53033 4.34467C9.38968 4.20402 9.19891 4.125 9 4.125ZM6 6.375H3C2.80109 6.375 2.61032 6.45402 2.46967 6.59467C2.32902 6.73532 2.25 6.92609 2.25 7.125C2.25 7.32391 2.32902 7.51468 2.46967 7.65533C2.61032 7.79598 2.80109 7.875 3 7.875H6C6.19891 7.875 6.38968 7.79598 6.53033 7.65533C6.67098 7.51468 6.75 7.32391 6.75 7.125C6.75 6.92609 6.67098 6.73532 6.53033 6.59467C6.38968 6.45402 6.19891 6.375 6 6.375ZM9.75 8.625H4.5C4.30109 8.625 4.11032 8.70402 3.96967 8.84467C3.82902 8.98532 3.75 9.17609 3.75 9.375C3.75 9.57391 3.82902 9.76468 3.96967 9.90533C4.11032 10.046 4.30109 10.125 4.5 10.125H9.75C9.94891 10.125 10.1397 10.046 10.2803 9.90533C10.421 9.76468 10.5 9.57391 10.5 9.375C10.5 9.17609 10.421 8.98532 10.2803 8.84467C10.1397 8.70402 9.94891 8.625 9.75 8.625Z',
285
291
  [microIconNames.giftMicro]: 'M5.138 3H1.5a.5.5 0 0 0-.5.5v.966a.5.5 0 0 0 .5.5h3.638V3zm1.655 0h3.638a.5.5 0 0 1 .5.5v.966a.5.5 0 0 1-.5.5H6.793V3zM5.138 5.38H2.5a.5.5 0 0 0-.5.5v5.62a.5.5 0 0 0 .5.5h7.103a.5.5 0 0 0 .5-.5V5.88a.5.5 0 0 0-.5-.5h-2.81V12H5.138V5.38zm-.593-2.897c-.514 0-.931-.37-.931-.828 0-.457.417-.827.93-.827.656 0 1.062.551 1.219 1.655H4.545zm3.62 0H6.38C6.697.828 7.292 0 8.166 0a1.241 1.241 0 0 1 0 2.483z',
286
292
  [microIconNames.gridMicro]: 'M0 2.009A2.01 2.01 0 0 1 2.009 0H9.99A2.01 2.01 0 0 1 12 2.009V9.99A2.01 2.01 0 0 1 9.991 12H2.01A2.01 2.01 0 0 1 0 9.991V2.01zM2 2.5c0 .268.222.5.495.5h2.01C4.785 3 5 2.776 5 2.5c0-.268-.222-.5-.495-.5h-2.01A.494.494 0 0 0 2 2.5zm4 0c0 .268.22.5.49.5h3.02c.275 0 .49-.224.49-.5a.5.5 0 0 0-.49-.5H6.49a.492.492 0 0 0-.49.5zM2 5.505v.99c0 .291.222.505.495.505h2.01C4.785 7 5 6.774 5 6.495v-.99A.493.493 0 0 0 4.505 5h-2.01A.496.496 0 0 0 2 5.505zm4 0v.99c0 .291.22.505.49.505h3.02c.275 0 .49-.226.49-.505v-.99A.49.49 0 0 0 9.51 5H6.49a.495.495 0 0 0-.49.505zm-4 3v.99c0 .291.222.505.495.505h2.01c.28 0 .495-.226.495-.505v-.99A.493.493 0 0 0 4.505 8h-2.01A.496.496 0 0 0 2 8.505zm4 0v.99c0 .291.22.505.49.505h3.02c.275 0 .49-.226.49-.505v-.99A.49.49 0 0 0 9.51 8H6.49a.495.495 0 0 0-.49.505z',
287
293
  [microIconNames.grid1Micro]: 'M4.001 2c.552 0 .999.443.999.999v1.002A.996.996 0 0 1 4.001 5H2.999A.996.996 0 0 1 2 4.001V2.999C2 2.447 2.443 2 2.999 2h1.002zm5 0c.552 0 .999.443.999.999v1.002A.996.996 0 0 1 9.001 5H7.999A.996.996 0 0 1 7 4.001V2.999C7 2.447 7.443 2 7.999 2h1.002zm-5 5c.552 0 .999.443.999.999v1.002a.996.996 0 0 1-.999.999H2.999A.996.996 0 0 1 2 9.001V7.999C2 7.447 2.443 7 2.999 7h1.002zm5 0c.552 0 .999.443.999.999v1.002a.996.996 0 0 1-.999.999H7.999A.996.996 0 0 1 7 9.001V7.999C7 7.447 7.443 7 7.999 7h1.002z',
@@ -308,6 +314,7 @@ var microIconPaths = Object.freeze({
308
314
  [microIconNames.lookupMicro]: 'M9,6 C8.448,6 8,5.552 8,5 C8,4.448 8.448,4 9,4 C9.552,4 10,4.448 10,5 C10,5.552 9.552,6 9,6 M11.646,6.939 C11.842,7.135 11.842,7.451 11.646,7.646 C11.451,7.842 11.135,7.842 10.939,7.646 L10.086,6.793 C10.06,6.767 10.047,6.735 10.028,6.706 C9.727,6.889 9.377,7 9,7 C7.897,7 7,6.103 7,5 C7,3.897 7.897,3 9,3 C10.103,3 11,3.897 11,5 C11,5.377 10.889,5.727 10.706,6.028 C10.735,6.047 10.767,6.06 10.793,6.086 L11.646,6.939 Z M0,2 C0,1.44771525 0.45097518,1 0.990777969,1 L5.00922203,1 C5.55641359,1 6,1.44386482 6,2 C6,2.55228475 5.54902482,3 5.00922203,3 L0.990777969,3 C0.443586406,3 0,2.55613518 0,2 Z M0,6 C0,5.44771525 0.45097518,5 0.990777969,5 L5.00922203,5 C5.55641359,5 6,5.44386482 6,6 C6,6.55228475 5.54902482,7 5.00922203,7 L0.990777969,7 C0.443586406,7 0,6.55613518 0,6 Z M0,10 C0,9.44771525 0.45097518,9 0.990777969,9 L5.00922203,9 C5.55641359,9 6,9.44386482 6,10 C6,10.5522847 5.54902482,11 5.00922203,11 L0.990777969,11 C0.443586406,11 0,10.5561352 0,10 Z',
309
315
  [microIconNames.mapPinMicro]: 'M6.41 10.919a.5.5 0 0 1-.82 0C3.53 7.963 2.5 5.857 2.5 4.603 2.5 2.602 3.998 1 6 1s3.5 1.602 3.5 3.603c0 1.254-1.03 3.36-3.09 6.316zM6 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z',
310
316
  [microIconNames.markdownMicro]: 'M0,2.85614014 C0,2.383307 0.385670364,2 0.863010406,2 L11.1369896,2 C11.6136171,2 12,2.38585663 12,2.85614014 L12,9.14385986 C12,9.616693 11.6143296,10 11.1369896,10 L0.863010406,10 C0.38638292,10 0,9.61414337 0,9.14385986 L0,2.85614014 Z M1.73076923,8.125 L2.88461538,8.125 L2.88461538,5.6875 L4.03846154,7.25 L5.19230769,5.6875 L5.19230769,8.125 L6.34615385,8.125 L6.34615385,3.875 L5.19230769,3.875 L4.03846154,5.4375 L2.88461538,3.875 L1.73076923,3.875 L1.73076923,8.125 Z M8.94230769,8.125 L10.6730769,6.0625 L9.51923077,6.0625 L9.51923077,3.875 L8.36538462,3.875 L8.36538462,6.0625 L7.21153846,6.0625 L8.94230769,8.125 Z',
317
+ [microIconNames.megaphoneMicro]: 'M2.48148 3.21884C1.66667 3.21884 1 3.87415 1 4.67507V6.13131C1 6.93223 1.66667 7.58754 2.48148 7.58754H3.22222V10.0697C3.22222 10.3074 3.40877 10.5 3.63889 10.5H4.28704C4.51716 10.5 4.7037 10.3074 4.7037 10.0697V7.58754H5.44444L8.21317 9.22046C8.62983 9.4662 9.14815 9.15553 9.14815 8.66005V2.14633C9.14815 1.65085 8.62983 1.34018 8.21317 1.58592L5.44444 3.21884H2.48148ZM11.5 5.38672C11.5 4.41832 10.6815 3.54627 10 2.94922V7.82031C10.6815 7.23054 11.5 6.35511 11.5 5.38672Z',
311
318
  [microIconNames.menuMicro]: 'M2,9 C2,8.44771525 2.45303631,8 2.99703014,8 L9.00296986,8 C9.5536144,8 10,8.44386482 10,9 C10,9.55228475 9.54696369,10 9.00296986,10 L2.99703014,10 C2.4463856,10 2,9.55613518 2,9 Z M2,6 C2,5.44771525 2.45303631,5 2.99703014,5 L9.00296986,5 C9.5536144,5 10,5.44386482 10,6 C10,6.55228475 9.54696369,7 9.00296986,7 L2.99703014,7 C2.4463856,7 2,6.55613518 2,6 Z M2,3 C2,2.44771525 2.45303631,2 2.99703014,2 L9.00296986,2 C9.5536144,2 10,2.44386482 10,3 C10,3.55228475 9.54696369,4 9.00296986,4 L2.99703014,4 C2.4463856,4 2,3.55613518 2,3 Z',
312
319
  [microIconNames.minusMicro]: 'M3.375,5 C3.168,5 3,5.224 3,5.5 L3,6.5 C3,6.776 3.168,7 3.375,7 L8.625,7 C8.832,7 9,6.776 9,6.5 L9,5.5 C9,5.224 8.832,5 8.625,5 L3.375,5 Z',
313
320
  [microIconNames.mobileMicro]: 'M3,1.99539757 C3,1.44565467 3.45097518,1 3.99077797,1 L8.00922203,1 C8.55641359,1 9,1.4556644 9,1.99539757 L9,10.0046024 C9,10.5543453 8.54902482,11 8.00922203,11 L3.99077797,11 C3.44358641,11 3,10.5443356 3,10.0046024 L3,1.99539757 Z M4,2.50342274 L4,8.49657726 C4,8.76709747 4.21959471,9 4.49047852,9 L7.50952148,9 C7.78494263,9 8,8.77460996 8,8.49657726 L8,2.50342274 C8,2.23290253 7.78040529,2 7.50952148,2 L4.49047852,2 C4.21505737,2 4,2.22539004 4,2.50342274 Z',
@@ -7,8 +7,9 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
+ exports.initializeBlock = initializeBlock;
10
11
  exports.__injectSdkIntoInitializeBlock = __injectSdkIntoInitializeBlock;
11
- exports.default = void 0;
12
+ exports.__resetHasBeenInitialized = __resetHasBeenInitialized;
12
13
 
13
14
  var React = _interopRequireWildcard(require("react"));
14
15
 
@@ -16,12 +17,18 @@ var _reactDom = _interopRequireDefault(require("react-dom"));
16
17
 
17
18
  var _error_utils = require("../error_utils");
18
19
 
20
+ var _airtable_interface = _interopRequireDefault(require("../injected/airtable_interface"));
21
+
22
+ var _airtable_interface2 = require("../types/airtable_interface");
23
+
19
24
  var _block_wrapper = _interopRequireDefault(require("./block_wrapper"));
20
25
 
21
26
  /** @module @airtable/blocks/ui: initializeBlock */
22
27
 
23
28
  /** */
24
29
  var hasBeenInitialized = false;
30
+ /** */
31
+
25
32
  /**
26
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.
27
34
  *
@@ -42,8 +49,12 @@ var hasBeenInitialized = false;
42
49
  * ```
43
50
  * @docsPath UI/utils/initializeBlock
44
51
  */
45
-
46
52
  function initializeBlock(getEntryElement) {
53
+ var _airtableInterface$sd;
54
+
55
+ var entryPoints = typeof getEntryElement === 'function' ? {
56
+ dashboard: getEntryElement
57
+ } : getEntryElement;
47
58
  var body = typeof document !== 'undefined' ? document.body : null;
48
59
 
49
60
  if (!body) {
@@ -55,13 +66,52 @@ function initializeBlock(getEntryElement) {
55
66
  }
56
67
 
57
68
  hasBeenInitialized = true;
58
-
59
- if (typeof getEntryElement !== 'function') {
60
- throw (0, _error_utils.spawnError)('The first argument to initializeBlock should be a function returning a React element');
69
+ var airtableInterface = (0, _airtable_interface.default)();
70
+ var entryElement; // runContext can be undefined if running from an old version client version (before 01/2021)
71
+ // TODO (SeanKeenan): Remove nullish coelescing once old clients are no longer a concern
72
+
73
+ var runContext = (_airtableInterface$sd = airtableInterface.sdkInitData.runContext) !== null && _airtableInterface$sd !== void 0 ? _airtableInterface$sd : {
74
+ type: _airtable_interface2.BlockRunContextType.DASHBOARD_APP
75
+ };
76
+
77
+ switch (runContext.type) {
78
+ case _airtable_interface2.BlockRunContextType.DASHBOARD_APP:
79
+ {
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');
82
+ }
83
+
84
+ if (typeof entryPoints.dashboard !== 'function') {
85
+ throw (0, _error_utils.spawnError)('initializeBlock must contain a dashboard function that returns a React element');
86
+ }
87
+
88
+ entryElement = entryPoints.dashboard();
89
+ break;
90
+ }
91
+
92
+ case _airtable_interface2.BlockRunContextType.VIEW:
93
+ {
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');
96
+ }
97
+
98
+ if (typeof entryPoints.view !== 'function') {
99
+ throw (0, _error_utils.spawnError)('initializeBlock must contain a view function that returns a React element');
100
+ }
101
+
102
+ var table = sdk.base.getTableById(runContext.tableId);
103
+ var view = table.getViewById(runContext.viewId);
104
+ entryElement = entryPoints.view({
105
+ table,
106
+ view
107
+ });
108
+ break;
109
+ }
110
+
111
+ default:
112
+ throw (0, _error_utils.spawnError)('Invalid context to run ');
61
113
  }
62
114
 
63
- var entryElement = getEntryElement();
64
-
65
115
  if (!React.isValidElement(entryElement)) {
66
116
  throw (0, _error_utils.spawnError)("The first argument to initializeBlock didn't return a valid React element");
67
117
  }
@@ -81,7 +131,9 @@ var sdk; // The application-level Sdk instance must be injected dynamically to a
81
131
 
82
132
  function __injectSdkIntoInitializeBlock(_sdk) {
83
133
  sdk = _sdk;
84
- }
134
+ } // Exclusively for tests
135
+
85
136
 
86
- var _default = initializeBlock;
87
- exports.default = _default;
137
+ function __resetHasBeenInitialized() {
138
+ hasBeenInitialized = false;
139
+ }
package/dist/cjs/ui/ui.js CHANGED
@@ -38,6 +38,7 @@ var _exportNames = {
38
38
  useRecordIds: true,
39
39
  useRecords: true,
40
40
  useRecordById: true,
41
+ useRecordQueryResult: true,
41
42
  useBase: true,
42
43
  useCursor: true,
43
44
  useSession: true,
@@ -203,7 +204,7 @@ Object.defineProperty(exports, "ViewportConstraint", {
203
204
  Object.defineProperty(exports, "initializeBlock", {
204
205
  enumerable: true,
205
206
  get: function get() {
206
- return _initialize_block.default;
207
+ return _initialize_block.initializeBlock;
207
208
  }
208
209
  });
209
210
  Object.defineProperty(exports, "withHooks", {
@@ -236,6 +237,12 @@ Object.defineProperty(exports, "useRecordById", {
236
237
  return _use_records.useRecordById;
237
238
  }
238
239
  });
240
+ Object.defineProperty(exports, "useRecordQueryResult", {
241
+ enumerable: true,
242
+ get: function get() {
243
+ return _use_records.useRecordQueryResult;
244
+ }
245
+ });
239
246
  Object.defineProperty(exports, "useBase", {
240
247
  enumerable: true,
241
248
  get: function get() {
@@ -356,7 +363,7 @@ var _switch_synced = _interopRequireDefault(require("./switch_synced"));
356
363
 
357
364
  var _viewport_constraint = _interopRequireDefault(require("./viewport_constraint"));
358
365
 
359
- var _initialize_block = _interopRequireDefault(require("./initialize_block"));
366
+ var _initialize_block = require("./initialize_block");
360
367
 
361
368
  var _with_hooks = _interopRequireDefault(require("./with_hooks"));
362
369
 
@@ -68,10 +68,10 @@ var SUSPENSE_CLEAN_UP_MS = 60000;
68
68
  *
69
69
  * @example
70
70
  * ```js
71
- * import {cursor} from '@airtable/blocks';
72
- * import {useLoadable, useWatchable} from '@airtable/blocks/ui';
71
+ * import {useCursor, useLoadable, useWatchable} from '@airtable/blocks/ui';
73
72
  *
74
73
  * function SelectedRecordIds() {
74
+ * const cursor = useCursor();
75
75
  * // load selected records
76
76
  * useLoadable(cursor);
77
77
  *
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  exports.useRecordIds = useRecordIds;
11
11
  exports.useRecords = useRecords;
12
12
  exports.useRecordById = useRecordById;
13
+ exports.useRecordQueryResult = useRecordQueryResult;
13
14
 
14
15
  var _error_utils = require("../error_utils");
15
16
 
@@ -29,6 +30,34 @@ var _use_watchable = _interopRequireDefault(require("./use_watchable"));
29
30
 
30
31
  /** */
31
32
 
33
+ /**
34
+ * Common code to all useRecordQueryResults, returns a RecordQueryResult and loads it - but does
35
+ * not watch any properties on it.
36
+ *
37
+ * @param tableOrViewOrQueryResult
38
+ * @param functionNameForErrors
39
+ * @param opts
40
+ * @internal
41
+ */
42
+ function _useUnwatchedRecordQueryResult(tableOrViewOrQueryResult, functionNameForErrors, opts) {
43
+ var queryResult;
44
+
45
+ if (tableOrViewOrQueryResult instanceof _table.default || tableOrViewOrQueryResult instanceof _view.default) {
46
+ queryResult = tableOrViewOrQueryResult.selectRecords(opts);
47
+ } else {
48
+ if (tableOrViewOrQueryResult instanceof _record_query_result.default && opts !== undefined) {
49
+ throw (0, _error_utils.spawnError)('%s does not support passing both a queryResult and opts.', functionNameForErrors);
50
+ }
51
+
52
+ queryResult = tableOrViewOrQueryResult;
53
+ }
54
+
55
+ (0, _use_loadable.default)(queryResult);
56
+ return queryResult;
57
+ }
58
+ /** */
59
+
60
+
32
61
  /**
33
62
  * A hook for working with a set of record IDs from a table, view or query result. Automatically
34
63
  * handles loading data and updating your component when the underlying data changes.
@@ -64,25 +93,16 @@ var _use_watchable = _interopRequireDefault(require("./use_watchable"));
64
93
  * @hook
65
94
  */
66
95
  function useRecordIds(tableOrViewOrQueryResult, opts) {
67
- var queryResult;
68
-
69
- if (tableOrViewOrQueryResult instanceof _table.default || tableOrViewOrQueryResult instanceof _view.default) {
70
- queryResult = tableOrViewOrQueryResult.selectRecords({
71
- // Don't load/watch any cell value data, since it's not accessible anyway
72
- fields: [],
73
- // Similarly, don't load/watch record color mode data
74
- recordColorMode: RecordColoring.modes.none(),
75
- sorts: opts ? opts.sorts : undefined
76
- });
77
- } else {
78
- if (tableOrViewOrQueryResult instanceof _record_query_result.default && opts !== undefined) {
79
- throw (0, _error_utils.spawnError)('useRecordIds does not support passing both a queryResult and opts.');
80
- }
96
+ var generatedOpts = tableOrViewOrQueryResult instanceof _table.default || tableOrViewOrQueryResult instanceof _view.default ? {
97
+ // Don't load/watch any cell value data, since it's not accessible anyway
98
+ fields: [],
99
+ // Similarly, don't load/watch record color mode data
100
+ recordColorMode: RecordColoring.modes.none(),
101
+ sorts: opts ? opts.sorts : undefined
102
+ } : opts;
81
103
 
82
- queryResult = tableOrViewOrQueryResult;
83
- }
104
+ var queryResult = _useUnwatchedRecordQueryResult(tableOrViewOrQueryResult, 'useRecordIds', generatedOpts);
84
105
 
85
- (0, _use_loadable.default)(queryResult);
86
106
  (0, _use_watchable.default)(queryResult, ['recordIds']);
87
107
  return queryResult ? queryResult.recordIds : null;
88
108
  }
@@ -164,19 +184,9 @@ function useRecordIds(tableOrViewOrQueryResult, opts) {
164
184
  * @hook
165
185
  */
166
186
  function useRecords(tableOrViewOrQueryResult, opts) {
167
- var queryResult;
187
+ var queryResult = _useUnwatchedRecordQueryResult(tableOrViewOrQueryResult, 'useRecords', opts); // Note this differs from useRecordQueryResult in that it does not watch groups
168
188
 
169
- if (tableOrViewOrQueryResult instanceof _table.default || tableOrViewOrQueryResult instanceof _view.default) {
170
- queryResult = tableOrViewOrQueryResult.selectRecords(opts);
171
- } else {
172
- if (tableOrViewOrQueryResult instanceof _record_query_result.default && opts !== undefined) {
173
- throw (0, _error_utils.spawnError)('useRecords does not support passing both a queryResult and opts.');
174
- }
175
-
176
- queryResult = tableOrViewOrQueryResult;
177
- }
178
189
 
179
- (0, _use_loadable.default)(queryResult);
180
190
  (0, _use_watchable.default)(queryResult, ['records', 'cellValues', 'recordColors']);
181
191
  return queryResult ? queryResult.records : null;
182
192
  }
@@ -232,21 +242,25 @@ function useRecords(tableOrViewOrQueryResult, opts) {
232
242
  * @hook
233
243
  */
234
244
  function useRecordById(tableOrViewOrQueryResult, recordId, opts) {
235
- var queryResult;
236
-
237
- if (tableOrViewOrQueryResult instanceof _table.default || tableOrViewOrQueryResult instanceof _view.default) {
238
- queryResult = tableOrViewOrQueryResult.selectRecords(opts);
239
- } else {
240
- if (tableOrViewOrQueryResult instanceof _record_query_result.default && opts !== undefined) {
241
- throw (0, _error_utils.spawnError)('useRecordById does not support passing both a queryResult and opts.');
242
- }
245
+ var queryResult = _useUnwatchedRecordQueryResult(tableOrViewOrQueryResult, 'useRecordById', opts);
243
246
 
244
- queryResult = tableOrViewOrQueryResult;
245
- }
246
-
247
- (0, _use_loadable.default)(queryResult);
248
247
  (0, _use_watchable.default)(queryResult, ['records', 'recordColors']);
249
248
  var record = queryResult ? queryResult.getRecordByIdIfExists(recordId) : null;
250
249
  (0, _use_watchable.default)(record, ['cellValues']);
251
250
  return record;
251
+ }
252
+ /**
253
+ * Docs: TODO(SeanKeenan)
254
+ *
255
+ * @docsPath UI/hooks/useRecordQueryResult
256
+ * @hidden
257
+ * @hook
258
+ */
259
+
260
+
261
+ function useRecordQueryResult(tableOrViewOrQueryResult, opts) {
262
+ var queryResult = _useUnwatchedRecordQueryResult(tableOrViewOrQueryResult, 'useRecordQueryResult', opts);
263
+
264
+ (0, _use_watchable.default)(queryResult, ['records', 'cellValues', 'recordColors', 'groups']);
265
+ return queryResult;
252
266
  }
@@ -44,7 +44,7 @@ var _use_watchable = _interopRequireDefault(require("./use_watchable"));
44
44
  function useViewMetadata(viewOrViewMetadataQueryResult) {
45
45
  var queryResult = viewOrViewMetadataQueryResult instanceof _view.default ? viewOrViewMetadataQueryResult.selectMetadata() : viewOrViewMetadataQueryResult;
46
46
  (0, _use_loadable.default)(queryResult !== null && queryResult !== void 0 ? queryResult : null);
47
- (0, _use_watchable.default)(queryResult, ['allFields', 'visibleFields']);
47
+ (0, _use_watchable.default)(queryResult, ['allFields', 'visibleFields', 'groupLevels']);
48
48
  return queryResult !== null && queryResult !== void 0 ? queryResult : null;
49
49
  }
50
50