@teambit/command-bar 1.0.410 → 1.0.412
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.
|
|
3
|
+
<testsuite name="teambit.explorer/command-bar@1.0.412" 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={
|
|
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={64822:(e,t,o)=>{var r={id:"teambit.explorer/command-bar@1.0.412",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(64822);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})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -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,6 +1217,7 @@
|
|
|
1208
1217
|
"line": 6,
|
|
1209
1218
|
"character": 15
|
|
1210
1219
|
},
|
|
1220
|
+
"signature": "export { SearchResult };\n\nSearchResult",
|
|
1211
1221
|
"name": "SearchResult",
|
|
1212
1222
|
"exportNode": {
|
|
1213
1223
|
"__schema": "TypeRefSchema",
|
|
@@ -1231,6 +1241,7 @@
|
|
|
1231
1241
|
"line": 6,
|
|
1232
1242
|
"character": 29
|
|
1233
1243
|
},
|
|
1244
|
+
"signature": "export { ResultsComponentProps };\n\nResultsComponentProps",
|
|
1234
1245
|
"name": "ResultsComponentProps",
|
|
1235
1246
|
"exportNode": {
|
|
1236
1247
|
"__schema": "TypeRefSchema",
|
|
@@ -1254,6 +1265,7 @@
|
|
|
1254
1265
|
"line": 6,
|
|
1255
1266
|
"character": 52
|
|
1256
1267
|
},
|
|
1268
|
+
"signature": "export { SearchResults };\n\nSearchResults",
|
|
1257
1269
|
"name": "SearchResults",
|
|
1258
1270
|
"exportNode": {
|
|
1259
1271
|
"__schema": "TypeRefSchema",
|
|
@@ -1277,6 +1289,7 @@
|
|
|
1277
1289
|
"line": 7,
|
|
1278
1290
|
"character": 15
|
|
1279
1291
|
},
|
|
1292
|
+
"signature": "export { FuzzySearchItem };\n\nFuzzySearchItem",
|
|
1280
1293
|
"name": "FuzzySearchItem",
|
|
1281
1294
|
"exportNode": {
|
|
1282
1295
|
"__schema": "TypeRefSchema",
|
|
@@ -1300,6 +1313,7 @@
|
|
|
1300
1313
|
"line": 8,
|
|
1301
1314
|
"character": 10
|
|
1302
1315
|
},
|
|
1316
|
+
"signature": "export { FuzzySearcher };\n\nFuzzySearcher",
|
|
1303
1317
|
"name": "FuzzySearcher",
|
|
1304
1318
|
"exportNode": {
|
|
1305
1319
|
"__schema": "TypeRefSchema",
|
|
@@ -1323,6 +1337,7 @@
|
|
|
1323
1337
|
"line": 8,
|
|
1324
1338
|
"character": 25
|
|
1325
1339
|
},
|
|
1340
|
+
"signature": "export { CommandBarItem };\n\nCommandBarItem",
|
|
1326
1341
|
"name": "CommandBarItem",
|
|
1327
1342
|
"exportNode": {
|
|
1328
1343
|
"__schema": "TypeRefSchema",
|
|
@@ -2416,7 +2431,7 @@
|
|
|
2416
2431
|
"componentId": {
|
|
2417
2432
|
"scope": "teambit.explorer",
|
|
2418
2433
|
"name": "command-bar",
|
|
2419
|
-
"version": "1.0.
|
|
2434
|
+
"version": "1.0.412"
|
|
2420
2435
|
},
|
|
2421
2436
|
"taggedModuleExports": []
|
|
2422
2437
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.explorer_command-bar@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.explorer_command-bar@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.explorer_command-bar@1.0.412/dist/command-bar.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.explorer_command-bar@1.0.412/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.
|
|
3
|
+
"version": "1.0.412",
|
|
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.
|
|
9
|
+
"version": "1.0.412"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash.flatten": "4.4.0",
|
|
@@ -21,18 +21,17 @@
|
|
|
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.
|
|
25
|
-
"@teambit/react-router": "1.0.
|
|
26
|
-
"@teambit/ui": "1.0.
|
|
24
|
+
"@teambit/pubsub": "1.0.412",
|
|
25
|
+
"@teambit/react-router": "1.0.412",
|
|
26
|
+
"@teambit/ui": "1.0.412"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/lodash.flatten": "4.4.6",
|
|
30
30
|
"@types/mousetrap": "1.6.5",
|
|
31
31
|
"@types/classnames": "2.2.11",
|
|
32
32
|
"@types/mocha": "9.1.0",
|
|
33
|
-
"
|
|
34
|
-
"@teambit/
|
|
35
|
-
"@teambit/preview": "1.0.410"
|
|
33
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.59",
|
|
34
|
+
"@teambit/preview": "1.0.412"
|
|
36
35
|
},
|
|
37
36
|
"peerDependencies": {
|
|
38
37
|
"react": "^17.0.0 || ^18.0.0",
|