@teambit/ui-foundation.ui.side-bar 0.0.913 → 0.0.915
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/component-tree/component-tree.tsx +6 -3
- package/component-tree/component-view/component-view.tsx +3 -3
- package/component-tree/default-tree-node-renderer/default-tree-node-renderer.tsx +2 -1
- package/component-tree/namespace-tree-node/namespace-tree-node.tsx +3 -2
- package/component-tree/payload-type.tsx +2 -2
- package/component-tree/scope-tree-node/scope-tree-node.tsx +3 -2
- package/dist/component-tree/component-tree.d.ts +3 -3
- package/dist/component-tree/component-tree.js.map +1 -1
- package/dist/component-tree/component-view/component-view.d.ts +2 -2
- package/dist/component-tree/default-tree-node-renderer/default-tree-node-renderer.d.ts +1 -1
- package/dist/component-tree/default-tree-node-renderer/default-tree-node-renderer.js.map +1 -1
- package/dist/component-tree/namespace-tree-node/namespace-tree-node.d.ts +2 -2
- package/dist/component-tree/namespace-tree-node/namespace-tree-node.js.map +1 -1
- package/dist/component-tree/payload-type.d.ts +2 -2
- package/dist/component-tree/scope-tree-node/scope-tree-node.d.ts +2 -2
- package/dist/component-tree/scope-tree-node/scope-tree-node.js.map +1 -1
- package/package.json +9 -9
- /package/dist/{preview-1753833698619.js → preview-1754985342171.js} +0 -0
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { ComponentModel
|
|
1
|
+
import type { ComponentModel } from '@teambit/component';
|
|
2
|
+
import { useIdFromLocation } from '@teambit/component';
|
|
2
3
|
import React, { useMemo } from 'react';
|
|
3
4
|
import { useLocation } from '@teambit/base-react.navigation.link';
|
|
4
5
|
import { indentStyle } from '@teambit/base-ui.graph.tree.indent';
|
|
5
6
|
import { inflateToTree, attachPayload } from '@teambit/base-ui.graph.tree.inflate-paths';
|
|
6
|
-
import {
|
|
7
|
+
import type { TreeNodeRenderer, TreeNode as TreeNodeType } from '@teambit/design.ui.tree';
|
|
8
|
+
import { Tree } from '@teambit/design.ui.tree';
|
|
7
9
|
import { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
|
|
8
10
|
import { TreeContextProvider } from '@teambit/base-ui.graph.tree.tree-context';
|
|
9
11
|
import { LanesContext } from '@teambit/lanes.hooks.use-lanes';
|
|
10
|
-
import { PayloadType
|
|
12
|
+
import type { PayloadType } from './payload-type';
|
|
13
|
+
import { ScopePayload } from './payload-type';
|
|
11
14
|
import { DefaultTreeNodeRenderer } from './default-tree-node-renderer';
|
|
12
15
|
|
|
13
16
|
type ComponentTreeProps = {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* eslint-disable complexity */
|
|
2
|
-
import { ComponentTreeSlot } from '@teambit/component-tree';
|
|
2
|
+
import type { ComponentTreeSlot } from '@teambit/component-tree';
|
|
3
3
|
import { Link, useLocation } from '@teambit/base-react.navigation.link';
|
|
4
4
|
import { EnvIcon } from '@teambit/envs.ui.env-icon';
|
|
5
5
|
import { DeprecationIcon } from '@teambit/component.ui.deprecation-icon';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import { ComponentID } from '@teambit/component-id';
|
|
8
|
-
import { ComponentModel } from '@teambit/component';
|
|
8
|
+
import type { ComponentModel } from '@teambit/component';
|
|
9
9
|
import { ComponentUrl } from '@teambit/component.modules.component-url';
|
|
10
10
|
import React, { useCallback, useContext, useEffect, useState } from 'react';
|
|
11
11
|
import { Tooltip } from '@teambit/design.ui.tooltip';
|
|
12
12
|
import { TreeContext } from '@teambit/base-ui.graph.tree.tree-context';
|
|
13
13
|
import { indentClass } from '@teambit/base-ui.graph.tree.indent';
|
|
14
|
-
import { TreeNodeProps } from '@teambit/base-ui.graph.tree.recursive-tree';
|
|
14
|
+
import type { TreeNodeProps } from '@teambit/base-ui.graph.tree.recursive-tree';
|
|
15
15
|
import { LanesContext } from '@teambit/lanes.hooks.use-lanes';
|
|
16
16
|
import { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
|
|
17
17
|
import { getName } from '../utils/get-name';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { TreeNodeProps } from '@teambit/base-ui.graph.tree.recursive-tree';
|
|
3
|
-
import { PayloadType
|
|
3
|
+
import type { PayloadType } from '../payload-type';
|
|
4
|
+
import { ScopePayload } from '../payload-type';
|
|
4
5
|
|
|
5
6
|
import { ComponentView } from '../component-view';
|
|
6
7
|
import { ScopeTreeNode } from '../scope-tree-node';
|
|
@@ -3,8 +3,9 @@ import classNames from 'classnames';
|
|
|
3
3
|
import React, { useState, useEffect, useRef } from 'react';
|
|
4
4
|
import AnimateHeight from 'react-animate-height';
|
|
5
5
|
import { indentClass, indentStyle } from '@teambit/base-ui.graph.tree.indent';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import type { TreeNodeProps } from '@teambit/design.ui.tree';
|
|
7
|
+
import { useTree, TreeLayer } from '@teambit/design.ui.tree';
|
|
8
|
+
import type { PayloadType } from '../payload-type';
|
|
8
9
|
import { getName } from '../utils/get-name';
|
|
9
10
|
import styles from './namespace-tree-node.module.scss';
|
|
10
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentModel } from '@teambit/component';
|
|
2
|
-
import { LaneModel } from '@teambit/lanes.ui.models.lanes-model';
|
|
1
|
+
import type { ComponentModel } from '@teambit/component';
|
|
2
|
+
import type { LaneModel } from '@teambit/lanes.ui.models.lanes-model';
|
|
3
3
|
|
|
4
4
|
export class ScopePayload {
|
|
5
5
|
get isScope() {
|
|
@@ -3,8 +3,9 @@ import classNames from 'classnames';
|
|
|
3
3
|
import React, { useState, useEffect, useRef } from 'react';
|
|
4
4
|
import AnimateHeight from 'react-animate-height';
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import type { TreeNodeProps } from '@teambit/design.ui.tree';
|
|
7
|
+
import { indentClass, indentStyle, TreeLayer, useTree } from '@teambit/design.ui.tree';
|
|
8
|
+
import type { PayloadType } from '../payload-type';
|
|
8
9
|
import { getName } from '../utils/get-name';
|
|
9
10
|
import styles from './scope-tree-node.module.scss';
|
|
10
11
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentModel } from '@teambit/component';
|
|
1
|
+
import type { ComponentModel } from '@teambit/component';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { TreeNodeRenderer, TreeNode as TreeNodeType } from '@teambit/design.ui.tree';
|
|
3
|
+
import type { TreeNodeRenderer, TreeNode as TreeNodeType } from '@teambit/design.ui.tree';
|
|
4
4
|
import { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
|
|
5
|
-
import { PayloadType } from './payload-type';
|
|
5
|
+
import type { PayloadType } from './payload-type';
|
|
6
6
|
type ComponentTreeProps = {
|
|
7
7
|
components: ComponentModel[];
|
|
8
8
|
transformTree?: (rootNode: TreeNodeType) => TreeNodeType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-tree.js","sourceRoot":"","sources":["../../component-tree/component-tree.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"component-tree.js","sourceRoot":"","sources":["../../component-tree/component-tree.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAc,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAEzF,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;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tree';
|
|
2
|
-
import { TreeNodeProps } from '@teambit/base-ui.graph.tree.recursive-tree';
|
|
1
|
+
import type { ComponentTreeSlot } from '@teambit/component-tree';
|
|
2
|
+
import type { TreeNodeProps } from '@teambit/base-ui.graph.tree.recursive-tree';
|
|
3
3
|
export type ComponentViewProps<Payload = any> = {
|
|
4
4
|
treeNodeSlot?: ComponentTreeSlot;
|
|
5
5
|
scopeName?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { TreeNodeProps } from '@teambit/base-ui.graph.tree.recursive-tree';
|
|
2
|
-
import { PayloadType } from '../payload-type';
|
|
2
|
+
import type { PayloadType } from '../payload-type';
|
|
3
3
|
export declare function DefaultTreeNodeRenderer(props: TreeNodeProps<PayloadType>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-tree-node-renderer.js","sourceRoot":"","sources":["../../../component-tree/default-tree-node-renderer/default-tree-node-renderer.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"default-tree-node-renderer.js","sourceRoot":"","sources":["../../../component-tree/default-tree-node-renderer/default-tree-node-renderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,UAAU,uBAAuB,CAAC,KAAiC;IACvE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACvB,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IACnC,IAAI,CAAC,QAAQ;QAAE,OAAO,KAAC,aAAa,OAAK,KAAK,GAAI,CAAC;IAEnD,IAAI,OAAO,YAAY,YAAY;QAAE,OAAO,KAAC,aAAa,OAAK,KAAK,GAAI,CAAC;IAEzE,OAAO,KAAC,iBAAiB,OAAK,KAAK,GAAI,CAAC;AAC1C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeNodeProps } from '@teambit/design.ui.tree';
|
|
2
|
-
import { PayloadType } from '../payload-type';
|
|
1
|
+
import type { TreeNodeProps } from '@teambit/design.ui.tree';
|
|
2
|
+
import type { PayloadType } from '../payload-type';
|
|
3
3
|
export type NamespaceTreeNodeProps = {} & TreeNodeProps<PayloadType>;
|
|
4
4
|
export declare function NamespaceTreeNode({ node, depth }: NamespaceTreeNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespace-tree-node.js","sourceRoot":"","sources":["../../../component-tree/namespace-tree-node/namespace-tree-node.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AACzD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"namespace-tree-node.js","sourceRoot":"","sources":["../../../component-tree/namespace-tree-node/namespace-tree-node.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AACzD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EA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,EAAE,MAAM,CAAC,SAAS,EAAE,WAAW,IAAI,MAAM,CAAC,WAAW,CAAC,EACvF,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAC5B,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;oBACf,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO;wBAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;gBACvC,CAAC,YAED,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,KAAC,IAAI,IAAC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,EAAE,EAAE,EAAC,gBAAgB,GAAG,EAC5F,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,WAAW,GAAQ,IAC9C,GACF,CACP,EACD,KAAC,aAAa,IAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,YACtC,cAAK,KAAK,EAAE,WAAW,CAAC,KAAK,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,aAAa,CAAC,YAC5E,IAAI,CAAC,QAAQ,IAAI,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,GAAI,GACpE,GACQ,IACZ,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentModel } from '@teambit/component';
|
|
2
|
-
import { LaneModel } from '@teambit/lanes.ui.models.lanes-model';
|
|
1
|
+
import type { ComponentModel } from '@teambit/component';
|
|
2
|
+
import type { LaneModel } from '@teambit/lanes.ui.models.lanes-model';
|
|
3
3
|
export declare class ScopePayload {
|
|
4
4
|
get isScope(): boolean;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeNodeProps } from '@teambit/design.ui.tree';
|
|
2
|
-
import { PayloadType } from '../payload-type';
|
|
1
|
+
import type { TreeNodeProps } from '@teambit/design.ui.tree';
|
|
2
|
+
import type { PayloadType } from '../payload-type';
|
|
3
3
|
export type ScopeTreeNodeProps = {} & TreeNodeProps<PayloadType>;
|
|
4
4
|
export declare function ScopeTreeNode({ node, depth }: ScopeTreeNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scope-tree-node.js","sourceRoot":"","sources":["../../../component-tree/scope-tree-node/scope-tree-node.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AACzD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,aAAa,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"scope-tree-node.js","sourceRoot":"","sources":["../../../component-tree/scope-tree-node/scope-tree-node.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AACzD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAEvF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,+BAA+B,CAAC;AAInD,MAAM,UAAU,aAAa,CAAC,EAAE,IAAI,EAAE,KAAK,EAAsB;IAC/D,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,OAAO,EAAE,CAAC;IAC9C,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oBACf,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO;wBAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;gBACvC,CAAC,EACD,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,YAEX,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,KAAC,IAAI,IAAC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,EAAE,EAAE,EAAC,gBAAgB,GAAG,EAC5F,KAAC,IAAI,IAAC,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,EAAE,EAAC,iBAAiB,GAAG,EACtD,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,WAAW,GAAQ,IAC9C,GACF,CACP,EACD,KAAC,aAAa,IAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,YACtC,cAAK,KAAK,EAAE,WAAW,CAAC,KAAK,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,aAAa,CAAC,YAC5E,IAAI,CAAC,QAAQ,IAAI,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,GAAI,GACxE,GACQ,IACZ,CACP,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/ui-foundation.ui.side-bar",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.915",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/ui-foundation/ui/side-bar",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.ui-foundation",
|
|
8
8
|
"name": "ui/side-bar",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.915"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"classnames": "2.2.6",
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"@teambit/base-ui.graph.tree.inflate-paths": "1.0.0",
|
|
16
16
|
"@teambit/base-ui.graph.tree.tree-context": "1.0.5",
|
|
17
17
|
"@teambit/design.ui.tree": "0.0.16",
|
|
18
|
-
"@teambit/lanes.hooks.use-lanes": "0.0.
|
|
19
|
-
"@teambit/lanes.ui.models.lanes-model": "0.0.
|
|
20
|
-
"@teambit/base-ui.theme.colors": "1.0.0",
|
|
18
|
+
"@teambit/lanes.hooks.use-lanes": "0.0.290",
|
|
19
|
+
"@teambit/lanes.ui.models.lanes-model": "0.0.229",
|
|
21
20
|
"@teambit/base-ui.graph.tree.recursive-tree": "1.0.5",
|
|
22
|
-
"@teambit/
|
|
23
|
-
"@teambit/component.ui.deprecation-icon": "0.0.509",
|
|
24
|
-
"@teambit/design.ui.tooltip": "0.0.378",
|
|
21
|
+
"@teambit/base-ui.theme.colors": "1.0.0",
|
|
25
22
|
"@teambit/evangelist.elements.icon": "1.0.2",
|
|
23
|
+
"@teambit/component-id": "1.2.4",
|
|
26
24
|
"@teambit/component.modules.component-url": "0.0.178",
|
|
27
|
-
"@teambit/
|
|
25
|
+
"@teambit/component.ui.deprecation-icon": "0.0.509",
|
|
26
|
+
"@teambit/envs.ui.env-icon": "0.0.507",
|
|
27
|
+
"@teambit/design.ui.tooltip": "0.0.380"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/classnames": "2.2.11",
|
|
File without changes
|