@teambit/command-bar 1.0.1002 → 1.0.1003
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/command-bar.button.d.ts +2 -1
- package/dist/command-bar.composition.d.ts +2 -1
- package/dist/command-bar.ui.runtime.d.ts +3 -2
- package/dist/{preview-1780084871933.js → preview-1780507494169.js} +2 -2
- package/dist/searchers/command-searcher/command-result.d.ts +2 -1
- package/package.json +7 -7
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export type CommandBarButtonProps = {
|
|
2
3
|
onClick: () => void;
|
|
3
4
|
};
|
|
4
|
-
export declare function CommandBarButton({ onClick }: CommandBarButtonProps):
|
|
5
|
+
export declare function CommandBarButton({ onClick }: CommandBarButtonProps): React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Logo: () => React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import type { SlotRegistry } from '@teambit/harmony';
|
|
3
4
|
import type { UiUI } from '@teambit/ui';
|
|
4
5
|
import type { PubsubUI } from '@teambit/pubsub';
|
|
@@ -56,8 +57,8 @@ export declare class CommandBarUI {
|
|
|
56
57
|
CommandBar: ({ ResultComponent, onEnter, }: {
|
|
57
58
|
ResultComponent?: ComponentType<ResultsComponentProps>;
|
|
58
59
|
onEnter?: (value: string) => void;
|
|
59
|
-
}) =>
|
|
60
|
-
CommandBarButton: () =>
|
|
60
|
+
}) => React.JSX.Element;
|
|
61
|
+
CommandBarButton: () => React.JSX.Element;
|
|
61
62
|
constructor(searcherSlot: SearcherSlot, commandSlot: CommandSlot, config: CommandBarConfig);
|
|
62
63
|
static dependencies: import("@teambit/harmony").Aspect[];
|
|
63
64
|
static slots: (((registerFn: () => string) => SlotRegistry<SearchProvider>) | ((registerFn: () => string) => SlotRegistry<CommandEntry[]>))[];
|
|
@@ -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.1003/dist/command-bar.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.explorer_command-bar@1.0.1003/dist/command-bar.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { Command } from './command';
|
|
2
3
|
type CommandResultProps = {
|
|
3
4
|
command: Command;
|
|
4
5
|
};
|
|
5
|
-
export declare function CommandResult({ command }: CommandResultProps):
|
|
6
|
+
export declare function CommandResult({ command }: CommandResultProps): React.JSX.Element;
|
|
6
7
|
export {};
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/command-bar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1003",
|
|
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.1003"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash.flatten": "4.4.0",
|
|
13
13
|
"mousetrap": "1.6.5",
|
|
14
|
-
"is-primitive": "3.0.1",
|
|
15
14
|
"classnames": "^2.5.1",
|
|
15
|
+
"is-primitive": "3.0.1",
|
|
16
16
|
"@teambit/harmony": "0.4.7",
|
|
17
17
|
"@teambit/design.buttons.action-button": "0.0.4",
|
|
18
18
|
"@teambit/explorer.ui.command-bar": "2.0.19",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@teambit/base-ui.text.muted-text": "1.0.3",
|
|
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.1003",
|
|
25
|
+
"@teambit/react-router": "1.0.1003",
|
|
26
|
+
"@teambit/ui": "1.0.1003"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/lodash.flatten": "4.4.6",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@types/classnames": "^2.3.4",
|
|
32
32
|
"@types/mocha": "9.1.0",
|
|
33
33
|
"@teambit/harmony.envs.core-aspect-env": "0.1.5",
|
|
34
|
-
"@teambit/preview": "1.0.
|
|
34
|
+
"@teambit/preview": "1.0.1003"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|