@teambit/scope 1.0.258 → 1.0.259
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/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/static/css/teambit.scope/{scope-preview.b20fb44d.css → scope-preview.b6736c2c.css} +2 -2
- package/artifacts/preview/teambit_scope_scope-preview.js +1 -1
- package/artifacts/schema.json +1859 -432
- package/dist/preview-1714533890836.js +7 -0
- package/dist/ui/menu/menu.js +1 -1
- package/dist/ui/menu/menu.js.map +1 -1
- package/package.json +22 -22
- package/dist/preview-1714472366682.js +0 -7
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.259/dist/scope.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.259/dist/scope.docs.mdx';
|
|
3
|
+
|
|
4
|
+
export const compositions = [compositions_0];
|
|
5
|
+
export const overview = [overview_0];
|
|
6
|
+
|
|
7
|
+
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|
package/dist/ui/menu/menu.js
CHANGED
|
@@ -60,7 +60,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
60
60
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
61
61
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
62
62
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
63
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
63
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
64
64
|
/**
|
|
65
65
|
* scope menu.
|
|
66
66
|
*/
|
package/dist/ui/menu/menu.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_uiFoundationUi","data","require","_scopeUiHooks","_classnames","_interopRequireDefault","_react","_interopRequireWildcard","_uiFoundationUiUseBox","_uiFoundationUiUseBox2","_menuModule","_excluded","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","prototype","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","
|
|
1
|
+
{"version":3,"names":["_uiFoundationUi","data","require","_scopeUiHooks","_classnames","_interopRequireDefault","_react","_interopRequireWildcard","_uiFoundationUiUseBox","_uiFoundationUiUseBox2","_menuModule","_excluded","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","prototype","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","ScopeMenu","_ref","className","rest","createElement","Menu","classNames","styles","scopMenu","ScopeUseBox","actionName","actionIcon","scope","useContext","ScopeContext","UseBoxDropdown","position","useBox","scopeName","name"],"sources":["menu.tsx"],"sourcesContent":["import { Menu, MenuProps } from '@teambit/ui-foundation.ui.menu';\nimport { ScopeContext } from '@teambit/scope.ui.hooks.scope-context';\nimport classNames from 'classnames';\nimport React, { useContext } from 'react';\nimport { UseBoxDropdown } from '@teambit/ui-foundation.ui.use-box.dropdown';\nimport { Menu as ScopeUseBoxMenu } from '@teambit/ui-foundation.ui.use-box.scope-menu';\nimport styles from './menu.module.scss';\n\n/**\n * scope menu.\n */\nexport function ScopeMenu({ className, ...rest }: MenuProps) {\n return <Menu {...rest} className={classNames(styles.scopMenu, className)} />;\n}\n\nexport type ScopeUseBoxProps = {\n actionName?: string;\n actionIcon?: string;\n};\n\nexport function ScopeUseBox({ actionName, actionIcon }: ScopeUseBoxProps) {\n const scope = useContext(ScopeContext);\n return (\n <UseBoxDropdown\n position=\"bottom-end\"\n className={styles.useBox}\n actionIcon={actionIcon}\n actionName={actionName}\n Menu={<ScopeUseBoxMenu scopeName={scope.name} />}\n />\n );\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,gBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,eAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,cAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,aAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,YAAA;EAAA,MAAAH,IAAA,GAAAI,sBAAA,CAAAH,OAAA;EAAAE,WAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,OAAA;EAAA,MAAAL,IAAA,GAAAM,uBAAA,CAAAL,OAAA;EAAAI,MAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,sBAAA;EAAA,MAAAP,I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,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/scope",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.259",
|
|
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.
|
|
9
|
+
"version": "1.0.259"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"@teambit/ui-foundation.ui.tree.drawer": "0.0.518",
|
|
23
23
|
"@teambit/bit-error": "0.0.404",
|
|
24
24
|
"@teambit/harmony": "0.4.6",
|
|
25
|
-
"@teambit/legacy-component-log": "0.0.402",
|
|
26
25
|
"@teambit/component-id": "1.2.0",
|
|
27
26
|
"@teambit/graph.cleargraph": "0.0.8",
|
|
28
27
|
"@teambit/legacy-bit-id": "1.1.1",
|
|
@@ -52,37 +51,38 @@
|
|
|
52
51
|
"@teambit/component.modules.component-url": "0.0.167",
|
|
53
52
|
"@teambit/scope.models.scope-model": "0.0.508",
|
|
54
53
|
"@teambit/scope.ui.hooks.scope-context": "0.0.502",
|
|
55
|
-
"@teambit/aspect-loader": "1.0.
|
|
56
|
-
"@teambit/cli": "0.0.
|
|
57
|
-
"@teambit/compiler": "1.0.
|
|
58
|
-
"@teambit/component": "1.0.
|
|
59
|
-
"@teambit/dependency-resolver": "1.0.
|
|
60
|
-
"@teambit/envs": "1.0.
|
|
61
|
-
"@teambit/global-config": "0.0.
|
|
54
|
+
"@teambit/aspect-loader": "1.0.259",
|
|
55
|
+
"@teambit/cli": "0.0.863",
|
|
56
|
+
"@teambit/compiler": "1.0.259",
|
|
57
|
+
"@teambit/component": "1.0.259",
|
|
58
|
+
"@teambit/dependency-resolver": "1.0.259",
|
|
59
|
+
"@teambit/envs": "1.0.259",
|
|
60
|
+
"@teambit/global-config": "0.0.866",
|
|
62
61
|
"@teambit/harmony.modules.requireable-component": "0.0.497",
|
|
63
|
-
"@teambit/isolator": "1.0.
|
|
64
|
-
"@teambit/logger": "0.0.
|
|
65
|
-
"@teambit/
|
|
66
|
-
"@teambit/
|
|
67
|
-
"@teambit/
|
|
68
|
-
"@teambit/
|
|
69
|
-
"@teambit/
|
|
62
|
+
"@teambit/isolator": "1.0.259",
|
|
63
|
+
"@teambit/logger": "0.0.956",
|
|
64
|
+
"@teambit/legacy-component-log": "0.0.403",
|
|
65
|
+
"@teambit/builder": "1.0.259",
|
|
66
|
+
"@teambit/express": "0.0.962",
|
|
67
|
+
"@teambit/graph": "1.0.259",
|
|
68
|
+
"@teambit/graphql": "1.0.259",
|
|
69
|
+
"@teambit/ui": "1.0.259",
|
|
70
70
|
"@teambit/workspace.modules.match-pattern": "0.0.505",
|
|
71
71
|
"@teambit/component.ui.component-drawer": "0.0.399",
|
|
72
72
|
"@teambit/lanes.hooks.use-lane-components": "0.0.262",
|
|
73
73
|
"@teambit/lanes.hooks.use-lanes": "0.0.264",
|
|
74
74
|
"@teambit/lanes.ui.models.lanes-model": "0.0.216",
|
|
75
|
-
"@teambit/command-bar": "1.0.
|
|
76
|
-
"@teambit/component-tree": "1.0.
|
|
75
|
+
"@teambit/command-bar": "1.0.259",
|
|
76
|
+
"@teambit/component-tree": "1.0.259",
|
|
77
77
|
"@teambit/component.ui.component-filters.component-filter-context": "0.0.222",
|
|
78
78
|
"@teambit/component.ui.component-filters.deprecate-filter": "0.0.220",
|
|
79
79
|
"@teambit/component.ui.component-filters.env-filter": "0.0.228",
|
|
80
80
|
"@teambit/component.ui.component-filters.show-main-filter": "0.0.213",
|
|
81
|
-
"@teambit/sidebar": "1.0.
|
|
81
|
+
"@teambit/sidebar": "1.0.259",
|
|
82
82
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.508",
|
|
83
83
|
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.219",
|
|
84
|
-
"@teambit/
|
|
85
|
-
"@teambit/
|
|
84
|
+
"@teambit/component-descriptor": "0.0.419",
|
|
85
|
+
"@teambit/preview.ui.preview-placeholder": "0.0.518"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@types/fs-extra": "9.0.7",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.scope_scope@1.0.258/dist/scope.composition.js';
|
|
2
|
-
import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.scope_scope@1.0.258/dist/scope.docs.mdx';
|
|
3
|
-
|
|
4
|
-
export const compositions = [compositions_0];
|
|
5
|
-
export const overview = [overview_0];
|
|
6
|
-
|
|
7
|
-
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|