@teambit/command-bar 1.0.410 → 1.0.411

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.explorer/command-bar@1.0.410" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.explorer/command-bar@1.0.411" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.explorer/command-bar-preview"]=t():e["teambit.explorer/command-bar-preview"]=t()}(self,(()=>(()=>{"use strict";var e={85820:(e,t,o)=>{var r={id:"teambit.explorer/command-bar@1.0.410",homepage:"https://bit.cloud/teambit/explorer/command-bar",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/command-bar.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>u,compositions_metadata:()=>b,overview:()=>f});var n={};o.r(n),o.d(n,{default:()=>m});var i=o(85820);o(41594);const a=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var s=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},p.apply(null,arguments)}var d={},l="wrapper";function m(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,s);return(0,a.mdx)(l,p({},d,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,a.mdx)("p",null,"Opens on CMD+K and allows searching for components by name. Typing '> ' inside the command bar displays the different commands and their shortcuts.")))}m.isMDXComponent=!0;const u=[i],f=[n],b={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.explorer/command-bar-preview"]=t():e["teambit.explorer/command-bar-preview"]=t()}(self,(()=>(()=>{"use strict";var e={55277:(e,t,o)=>{var r={id:"teambit.explorer/command-bar@1.0.411",homepage:"https://bit.cloud/teambit/explorer/command-bar",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/command-bar.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>u,compositions_metadata:()=>b,overview:()=>f});var n={};o.r(n),o.d(n,{default:()=>m});var i=o(55277);o(41594);const a=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var s=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},p.apply(null,arguments)}var d={},l="wrapper";function m(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,s);return(0,a.mdx)(l,p({},d,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,a.mdx)("p",null,"Opens on CMD+K and allows searching for components by name. Typing '> ' inside the command bar displays the different commands and their shortcuts.")))}m.isMDXComponent=!0;const u=[i],f=[n],b={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -20,6 +20,7 @@
20
20
  "line": 1,
21
21
  "character": 10
22
22
  },
23
+ "signature": "const CommandBarAspect: Aspect",
23
24
  "name": "CommandBarAspect",
24
25
  "exportNode": {
25
26
  "__schema": "VariableLikeSchema",
@@ -55,6 +56,7 @@
55
56
  "line": 1,
56
57
  "character": 48
57
58
  },
59
+ "signature": "const CommandBarAspect: Aspect",
58
60
  "name": "CommandBarAspect",
59
61
  "exportNode": {
60
62
  "__schema": "VariableLikeSchema",
@@ -91,6 +93,7 @@
91
93
  "line": 2,
92
94
  "character": 10
93
95
  },
96
+ "signature": "const commandBarCommands: {\n open: string;\n}",
94
97
  "name": "commandBarCommands",
95
98
  "exportNode": {
96
99
  "__schema": "VariableLikeSchema",
@@ -121,6 +124,7 @@
121
124
  "line": 3,
122
125
  "character": 15
123
126
  },
127
+ "signature": "interface SearchProvider",
124
128
  "name": "SearchProvider",
125
129
  "exportNode": {
126
130
  "__schema": "InterfaceSchema",
@@ -227,6 +231,7 @@
227
231
  "line": 4,
228
232
  "character": 15
229
233
  },
234
+ "signature": "class CommandBarUI",
230
235
  "name": "CommandBarUI",
231
236
  "exportNode": {
232
237
  "__schema": "ClassSchema",
@@ -988,6 +993,7 @@
988
993
  "line": 4,
989
994
  "character": 29
990
995
  },
996
+ "signature": "type CommandEntry = {\n id: CommandId;\n action: CommandHandler;\n keybinding?: Keybinding | undefined;\n displayName: string;\n}",
991
997
  "name": "CommandEntry",
992
998
  "exportNode": {
993
999
  "__schema": "TypeSchema",
@@ -1097,6 +1103,7 @@
1097
1103
  "line": 5,
1098
1104
  "character": 15
1099
1105
  },
1106
+ "signature": "type CommandHandler = Function",
1100
1107
  "name": "CommandHandler",
1101
1108
  "exportNode": {
1102
1109
  "__schema": "TypeSchema",
@@ -1125,6 +1132,7 @@
1125
1132
  "line": 5,
1126
1133
  "character": 31
1127
1134
  },
1135
+ "signature": "type CommandId = string",
1128
1136
  "name": "CommandId",
1129
1137
  "exportNode": {
1130
1138
  "__schema": "TypeSchema",
@@ -1153,6 +1161,7 @@
1153
1161
  "line": 5,
1154
1162
  "character": 42
1155
1163
  },
1164
+ "signature": "type Keybinding = string | string[]",
1156
1165
  "name": "Keybinding",
1157
1166
  "exportNode": {
1158
1167
  "__schema": "TypeSchema",
@@ -1208,20 +1217,16 @@
1208
1217
  "line": 6,
1209
1218
  "character": 15
1210
1219
  },
1220
+ "signature": "export { SearchResult };\n\nSearchResult",
1211
1221
  "name": "SearchResult",
1212
1222
  "exportNode": {
1213
- "__schema": "TypeRefSchema",
1223
+ "__schema": "UnresolvedSchema",
1214
1224
  "location": {
1215
1225
  "filePath": "index.ts",
1216
1226
  "line": 6,
1217
1227
  "character": 15
1218
1228
  },
1219
- "name": "SearchResult",
1220
- "componentId": {
1221
- "scope": "teambit.explorer",
1222
- "name": "ui/command-bar",
1223
- "version": "2.0.15"
1224
- }
1229
+ "name": "SearchResult"
1225
1230
  }
1226
1231
  },
1227
1232
  {
@@ -1231,20 +1236,16 @@
1231
1236
  "line": 6,
1232
1237
  "character": 29
1233
1238
  },
1239
+ "signature": "export { ResultsComponentProps };\n\nResultsComponentProps",
1234
1240
  "name": "ResultsComponentProps",
1235
1241
  "exportNode": {
1236
- "__schema": "TypeRefSchema",
1242
+ "__schema": "UnresolvedSchema",
1237
1243
  "location": {
1238
1244
  "filePath": "index.ts",
1239
1245
  "line": 6,
1240
1246
  "character": 29
1241
1247
  },
1242
- "name": "ResultsComponentProps",
1243
- "componentId": {
1244
- "scope": "teambit.explorer",
1245
- "name": "ui/command-bar",
1246
- "version": "2.0.15"
1247
- }
1248
+ "name": "ResultsComponentProps"
1248
1249
  }
1249
1250
  },
1250
1251
  {
@@ -1254,20 +1255,16 @@
1254
1255
  "line": 6,
1255
1256
  "character": 52
1256
1257
  },
1258
+ "signature": "export { SearchResults };\n\nSearchResults",
1257
1259
  "name": "SearchResults",
1258
1260
  "exportNode": {
1259
- "__schema": "TypeRefSchema",
1261
+ "__schema": "UnresolvedSchema",
1260
1262
  "location": {
1261
1263
  "filePath": "index.ts",
1262
1264
  "line": 6,
1263
1265
  "character": 52
1264
1266
  },
1265
- "name": "SearchResults",
1266
- "componentId": {
1267
- "scope": "teambit.explorer",
1268
- "name": "ui/command-bar",
1269
- "version": "2.0.15"
1270
- }
1267
+ "name": "SearchResults"
1271
1268
  }
1272
1269
  },
1273
1270
  {
@@ -1277,20 +1274,16 @@
1277
1274
  "line": 7,
1278
1275
  "character": 15
1279
1276
  },
1277
+ "signature": "export { FuzzySearchItem };\n\nFuzzySearchItem",
1280
1278
  "name": "FuzzySearchItem",
1281
1279
  "exportNode": {
1282
- "__schema": "TypeRefSchema",
1280
+ "__schema": "UnresolvedSchema",
1283
1281
  "location": {
1284
1282
  "filePath": "index.ts",
1285
1283
  "line": 7,
1286
1284
  "character": 15
1287
1285
  },
1288
- "name": "FuzzySearchItem",
1289
- "componentId": {
1290
- "scope": "teambit.explorer",
1291
- "name": "ui/command-bar",
1292
- "version": "2.0.15"
1293
- }
1286
+ "name": "FuzzySearchItem"
1294
1287
  }
1295
1288
  },
1296
1289
  {
@@ -1300,20 +1293,16 @@
1300
1293
  "line": 8,
1301
1294
  "character": 10
1302
1295
  },
1296
+ "signature": "export { FuzzySearcher };\n\nFuzzySearcher",
1303
1297
  "name": "FuzzySearcher",
1304
1298
  "exportNode": {
1305
- "__schema": "TypeRefSchema",
1299
+ "__schema": "UnresolvedSchema",
1306
1300
  "location": {
1307
1301
  "filePath": "index.ts",
1308
1302
  "line": 8,
1309
1303
  "character": 10
1310
1304
  },
1311
- "name": "FuzzySearcher",
1312
- "componentId": {
1313
- "scope": "teambit.explorer",
1314
- "name": "ui/command-bar",
1315
- "version": "2.0.15"
1316
- }
1305
+ "name": "FuzzySearcher"
1317
1306
  }
1318
1307
  },
1319
1308
  {
@@ -1323,20 +1312,16 @@
1323
1312
  "line": 8,
1324
1313
  "character": 25
1325
1314
  },
1315
+ "signature": "export { CommandBarItem };\n\nCommandBarItem",
1326
1316
  "name": "CommandBarItem",
1327
1317
  "exportNode": {
1328
- "__schema": "TypeRefSchema",
1318
+ "__schema": "UnresolvedSchema",
1329
1319
  "location": {
1330
1320
  "filePath": "index.ts",
1331
1321
  "line": 8,
1332
1322
  "character": 25
1333
1323
  },
1334
- "name": "CommandBarItem",
1335
- "componentId": {
1336
- "scope": "teambit.explorer",
1337
- "name": "ui/command-bar",
1338
- "version": "2.0.15"
1339
- }
1324
+ "name": "CommandBarItem"
1340
1325
  }
1341
1326
  }
1342
1327
  ],
@@ -2416,7 +2401,7 @@
2416
2401
  "componentId": {
2417
2402
  "scope": "teambit.explorer",
2418
2403
  "name": "command-bar",
2419
- "version": "1.0.410"
2404
+ "version": "1.0.411"
2420
2405
  },
2421
2406
  "taggedModuleExports": []
2422
2407
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.explorer_command-bar@1.0.410/dist/command-bar.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.explorer_command-bar@1.0.410/dist/command-bar.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.explorer_command-bar@1.0.411/dist/command-bar.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.explorer_command-bar@1.0.411/dist/command-bar.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/command-bar",
3
- "version": "1.0.410",
3
+ "version": "1.0.411",
4
4
  "homepage": "https://bit.cloud/teambit/explorer/command-bar",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.explorer",
8
8
  "name": "command-bar",
9
- "version": "1.0.410"
9
+ "version": "1.0.411"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash.flatten": "4.4.0",
@@ -21,9 +21,9 @@
21
21
  "@teambit/base-ui.text.muted-text": "1.0.1",
22
22
  "@teambit/design.ui.styles.ellipsis": "0.0.357",
23
23
  "@teambit/ui-foundation.ui.keycap": "0.0.500",
24
- "@teambit/pubsub": "1.0.410",
25
- "@teambit/react-router": "1.0.410",
26
- "@teambit/ui": "1.0.410"
24
+ "@teambit/pubsub": "1.0.411",
25
+ "@teambit/react-router": "1.0.411",
26
+ "@teambit/ui": "1.0.411"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/lodash.flatten": "4.4.6",
@@ -32,7 +32,7 @@
32
32
  "@types/mocha": "9.1.0",
33
33
  "chai": "4.3.0",
34
34
  "@teambit/harmony.envs.core-aspect-env": "0.0.47",
35
- "@teambit/preview": "1.0.410"
35
+ "@teambit/preview": "1.0.411"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": "^17.0.0 || ^18.0.0",