@teambit/scope 1.0.1048 → 1.0.1049

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,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1048/dist/scope.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1048/dist/scope.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1049/dist/scope.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1049/dist/scope.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -189,7 +189,7 @@ export declare class ScopeUI {
189
189
  private menuItems;
190
190
  static dependencies: import("@teambit/harmony").Aspect[];
191
191
  static runtime: import("@teambit/harmony").RuntimeDefinition;
192
- static slots: (((registerFn: () => string) => SlotRegistry<ComponentTreeNode>) | ((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<ScopeBadge>) | ((registerFn: () => string) => SlotRegistry<MenuWidget[]>) | ((registerFn: () => string) => SlotRegistry<MenuItemSlot>) | ((registerFn: () => string) => SlotRegistry<CornerSlot>) | ((registerFn: () => string) => SlotRegistry<OverviewLineSlot>) | ((registerFn: () => string) => SlotRegistry<SidebarItemSlot>) | ((registerFn: () => string) => SlotRegistry<ContextSlot>) | ((registerFn: () => string) => SlotRegistry<DrawerWidgetSlot>) | ((registerFn: () => string) => SlotRegistry<ComponentFiltersSlot>))[];
192
+ static slots: (((registerFn: () => string) => SlotRegistry<ComponentTreeNode>) | ((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<MenuItemSlot>) | ((registerFn: () => string) => SlotRegistry<SidebarItemSlot>) | ((registerFn: () => string) => SlotRegistry<DrawerWidgetSlot>) | ((registerFn: () => string) => SlotRegistry<ComponentFiltersSlot>) | ((registerFn: () => string) => SlotRegistry<ScopeBadge>) | ((registerFn: () => string) => SlotRegistry<MenuWidget[]>) | ((registerFn: () => string) => SlotRegistry<CornerSlot>) | ((registerFn: () => string) => SlotRegistry<OverviewLineSlot>) | ((registerFn: () => string) => SlotRegistry<ContextSlot>))[];
193
193
  static defaultConfig: {
194
194
  showGallery: boolean;
195
195
  };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/scope",
3
- "version": "1.0.1048",
3
+ "version": "1.0.1049",
4
4
  "homepage": "https://bit.cloud/teambit/scope/scope",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.scope",
8
8
  "name": "scope",
9
- "version": "1.0.1048"
9
+ "version": "1.0.1049"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -20,44 +20,17 @@
20
20
  "cli-table": "0.3.6",
21
21
  "classnames": "^2.5.1",
22
22
  "reset-css": "5.0.1",
23
- "@teambit/component.modules.component-url": "0.0.192",
24
- "@teambit/scope.models.scope-model": "0.0.552",
25
23
  "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
26
- "@teambit/scope.ui.hooks.scope-context": "0.0.548",
27
24
  "@teambit/bit-error": "0.0.404",
28
- "@teambit/cli": "0.0.1347",
29
- "@teambit/config-store": "0.0.228",
30
- "@teambit/harmony.modules.requireable-component": "0.0.515",
31
25
  "@teambit/harmony": "0.4.12",
32
- "@teambit/legacy.constants": "0.0.31",
33
- "@teambit/logger": "0.0.1440",
34
- "@teambit/harmony.modules.in-memory-cache": "0.0.35",
35
- "@teambit/harmony.modules.load-trace": "0.0.3",
36
- "@teambit/legacy.consumer-component": "0.0.134",
37
- "@teambit/bit.get-bit-version": "0.0.17",
38
- "@teambit/legacy-component-log": "0.0.419",
39
- "@teambit/legacy.scope-api": "0.0.188",
40
26
  "@teambit/component-id": "1.2.4",
41
- "@teambit/component.snap-distance": "0.0.134",
42
- "@teambit/express": "0.0.1446",
43
27
  "@teambit/graph.cleargraph": "0.0.11",
44
28
  "@teambit/legacy-bit-id": "1.1.3",
45
- "@teambit/legacy.extension-data": "0.0.135",
46
- "@teambit/legacy.scope": "0.0.133",
47
- "@teambit/pkg.modules.component-package-name": "0.0.140",
48
- "@teambit/scope.network": "0.0.133",
49
- "@teambit/scope.remote-actions": "0.0.133",
50
- "@teambit/scope.remotes": "0.0.133",
51
- "@teambit/workspace.modules.match-pattern": "0.0.522",
52
- "@teambit/component.ui.component-drawer": "0.0.488",
53
29
  "@teambit/design.ui.tree": "0.0.16",
54
- "@teambit/lanes.hooks.use-lane-components": "0.0.305",
55
30
  "@teambit/lanes.hooks.use-lanes": "0.0.293",
56
31
  "@teambit/lanes.ui.models.lanes-model": "0.0.233",
57
- "@teambit/ui-foundation.ui.side-bar": "0.0.937",
58
32
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.242",
59
33
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.244",
60
- "@teambit/component.ui.component-filters.env-filter": "0.0.277",
61
34
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.237",
62
35
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
63
36
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
@@ -74,29 +47,56 @@
74
47
  "@teambit/ui-foundation.ui.full-loader": "0.0.500",
75
48
  "@teambit/ui-foundation.ui.hooks.use-is-mobile": "0.0.200",
76
49
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
77
- "@teambit/ui-foundation.ui.use-box.dropdown": "0.0.151",
78
- "@teambit/ui-foundation.ui.use-box.scope-menu": "0.0.147",
79
- "@teambit/component-descriptor": "0.0.454",
80
50
  "@teambit/design.ui.tooltip": "0.0.383",
81
51
  "@teambit/explorer.ui.component-card": "0.0.52",
82
52
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
83
- "@teambit/preview.ui.preview-placeholder": "0.0.570",
84
53
  "@teambit/scope.ui.empty-scope": "0.0.510",
85
54
  "@teambit/scope.ui.scope-details": "0.0.526",
86
55
  "@teambit/scopes.scope-id": "0.0.9",
87
- "@teambit/aspect-loader": "1.0.1048",
88
- "@teambit/compiler": "1.0.1048",
89
- "@teambit/component": "1.0.1048",
90
- "@teambit/dependency-resolver": "1.0.1048",
91
- "@teambit/envs": "1.0.1048",
92
- "@teambit/isolator": "1.0.1048",
93
- "@teambit/objects": "0.0.555",
94
- "@teambit/graph": "1.0.1048",
95
- "@teambit/graphql": "1.0.1048",
96
- "@teambit/ui": "1.0.1048",
97
- "@teambit/command-bar": "1.0.1048",
98
- "@teambit/component-tree": "1.0.1048",
99
- "@teambit/sidebar": "1.0.1048"
56
+ "@teambit/ui-foundation.ui.use-box.dropdown": "0.0.151",
57
+ "@teambit/ui-foundation.ui.use-box.scope-menu": "0.0.147",
58
+ "@teambit/component.modules.component-url": "0.0.193",
59
+ "@teambit/scope.models.scope-model": "0.0.553",
60
+ "@teambit/scope.ui.hooks.scope-context": "0.0.549",
61
+ "@teambit/aspect-loader": "1.0.1049",
62
+ "@teambit/cli": "0.0.1348",
63
+ "@teambit/compiler": "1.0.1049",
64
+ "@teambit/component": "1.0.1049",
65
+ "@teambit/config-store": "0.0.229",
66
+ "@teambit/dependency-resolver": "1.0.1049",
67
+ "@teambit/envs": "1.0.1049",
68
+ "@teambit/harmony.modules.requireable-component": "0.0.516",
69
+ "@teambit/isolator": "1.0.1049",
70
+ "@teambit/legacy.constants": "0.0.32",
71
+ "@teambit/logger": "0.0.1441",
72
+ "@teambit/objects": "0.0.556",
73
+ "@teambit/harmony.modules.in-memory-cache": "0.0.36",
74
+ "@teambit/harmony.modules.load-trace": "0.0.4",
75
+ "@teambit/legacy.consumer-component": "0.0.135",
76
+ "@teambit/bit.get-bit-version": "0.0.18",
77
+ "@teambit/legacy-component-log": "0.0.420",
78
+ "@teambit/legacy.scope-api": "0.0.189",
79
+ "@teambit/component.snap-distance": "0.0.135",
80
+ "@teambit/express": "0.0.1447",
81
+ "@teambit/graph": "1.0.1049",
82
+ "@teambit/graphql": "1.0.1049",
83
+ "@teambit/legacy.extension-data": "0.0.136",
84
+ "@teambit/legacy.scope": "0.0.134",
85
+ "@teambit/pkg.modules.component-package-name": "0.0.141",
86
+ "@teambit/scope.network": "0.0.134",
87
+ "@teambit/scope.remote-actions": "0.0.134",
88
+ "@teambit/scope.remotes": "0.0.134",
89
+ "@teambit/ui": "1.0.1049",
90
+ "@teambit/workspace.modules.match-pattern": "0.0.523",
91
+ "@teambit/component.ui.component-drawer": "0.0.489",
92
+ "@teambit/lanes.hooks.use-lane-components": "0.0.306",
93
+ "@teambit/ui-foundation.ui.side-bar": "0.0.938",
94
+ "@teambit/command-bar": "1.0.1049",
95
+ "@teambit/component-tree": "1.0.1049",
96
+ "@teambit/component.ui.component-filters.env-filter": "0.0.278",
97
+ "@teambit/sidebar": "1.0.1049",
98
+ "@teambit/component-descriptor": "0.0.455",
99
+ "@teambit/preview.ui.preview-placeholder": "0.0.571"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@types/fs-extra": "9.0.7",
@@ -106,7 +106,7 @@
106
106
  "@types/classnames": "^2.3.4",
107
107
  "@types/mocha": "9.1.0",
108
108
  "@teambit/scope.content.scope-overview": "1.96.8",
109
- "@teambit/harmony.envs.core-aspect-env": "0.1.7"
109
+ "@teambit/harmony.envs.core-aspect-env": "1.0.0"
110
110
  },
111
111
  "peerDependencies": {
112
112
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
@@ -117,7 +117,7 @@
117
117
  "peerDependenciesMeta": {},
118
118
  "exports": {
119
119
  ".": {
120
- "types": "./index.ts",
120
+ "types": "./dist/index.d.ts",
121
121
  "node": {
122
122
  "require": "./dist/index.js",
123
123
  "import": "./dist/esm.mjs"
@@ -125,8 +125,7 @@
125
125
  "default": "./dist/index.js"
126
126
  },
127
127
  "./dist/*": "./dist/*",
128
- "./artifacts/*": "./artifacts/*",
129
- "./*": "./*.ts"
128
+ "./artifacts/*": "./artifacts/*"
130
129
  },
131
130
  "private": false,
132
131
  "engines": {
package/types/style.d.ts CHANGED
@@ -40,3 +40,7 @@ declare module '*.mdx' {
40
40
  const component: any;
41
41
  export default component;
42
42
  }
43
+
44
+ // `reset-css` ships only `reset.css` (no `.d.ts`). TS6 refuses bare
45
+ // side-effect imports without declarations, so we declare the module here.
46
+ declare module 'reset-css';