@teambit/workspace 0.0.675 → 0.0.676

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/workspace",
3
- "version": "0.0.675",
3
+ "version": "0.0.676",
4
4
  "homepage": "https://bit.dev/teambit/workspace/workspace",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "workspace",
9
- "version": "0.0.675"
9
+ "version": "0.0.676"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -30,65 +30,64 @@
30
30
  "stringify-package": "1.0.1",
31
31
  "moment": "2.29.1",
32
32
  "chokidar": "3.5.1",
33
+ "classnames": "2.2.6",
33
34
  "@react-hook/latest": "1.0.3",
34
35
  "pluralize": "8.0.0",
35
36
  "reset-css": "5.0.1",
36
- "classnames": "2.2.6",
37
37
  "@babel/runtime": "7.12.18",
38
38
  "core-js": "^3.0.0",
39
+ "@teambit/design.ui.input.toggle": "1.0.12",
39
40
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
40
41
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
41
- "@teambit/design.ui.input.toggle": "1.0.12",
42
- "@teambit/evangelist.elements.icon": "1.0.2",
43
42
  "@teambit/component-id": "0.0.401",
44
43
  "@teambit/bit-error": "0.0.394",
45
44
  "@teambit/legacy-bit-id": "0.0.398",
46
- "@teambit/logger": "0.0.544",
47
- "@teambit/scope": "0.0.675",
48
- "@teambit/cli": "0.0.452",
49
- "@teambit/isolator": "0.0.675",
50
- "@teambit/component-tree": "0.0.463",
45
+ "@teambit/logger": "0.0.545",
46
+ "@teambit/scope": "0.0.676",
47
+ "@teambit/cli": "0.0.453",
48
+ "@teambit/isolator": "0.0.676",
49
+ "@teambit/component-tree": "0.0.464",
51
50
  "@teambit/component.ui.component-status-resolver": "0.0.492",
52
- "@teambit/lanes.ui.lanes": "0.0.13",
51
+ "@teambit/lanes.ui.lanes": "0.0.14",
53
52
  "@teambit/harmony.modules.resolved-component": "0.0.484",
54
- "@teambit/dependency-resolver": "0.0.675",
55
- "@teambit/compiler": "0.0.675",
56
- "@teambit/component": "0.0.675",
57
- "@teambit/graphql": "0.0.675",
58
- "@teambit/aspect-loader": "0.0.675",
59
- "@teambit/bundler": "0.0.675",
60
- "@teambit/envs": "0.0.675",
61
- "@teambit/pubsub": "0.0.675",
62
- "@teambit/ui": "0.0.675",
63
- "@teambit/variants": "0.0.547",
53
+ "@teambit/dependency-resolver": "0.0.676",
54
+ "@teambit/compiler": "0.0.676",
55
+ "@teambit/component": "0.0.676",
56
+ "@teambit/graphql": "0.0.676",
57
+ "@teambit/aspect-loader": "0.0.676",
58
+ "@teambit/bundler": "0.0.676",
59
+ "@teambit/envs": "0.0.676",
60
+ "@teambit/pubsub": "0.0.676",
61
+ "@teambit/ui": "0.0.676",
62
+ "@teambit/variants": "0.0.548",
64
63
  "@teambit/component-issues": "0.0.46",
65
- "@teambit/config": "0.0.465",
64
+ "@teambit/config": "0.0.466",
66
65
  "@teambit/harmony.modules.requireable-component": "0.0.484",
67
- "@teambit/importer": "0.0.104",
66
+ "@teambit/importer": "0.0.105",
68
67
  "@teambit/workspace.modules.match-pattern": "0.0.489",
69
- "@teambit/command-bar": "0.0.675",
68
+ "@teambit/command-bar": "0.0.676",
70
69
  "@teambit/design.ui.surfaces.menu.link-item": "0.0.379",
71
- "@teambit/graph": "0.0.675",
72
- "@teambit/react-router": "0.0.675",
73
- "@teambit/sidebar": "0.0.675",
70
+ "@teambit/graph": "0.0.676",
71
+ "@teambit/react-router": "0.0.676",
72
+ "@teambit/sidebar": "0.0.676",
74
73
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.486",
75
74
  "@teambit/ui-foundation.ui.menu": "0.0.486",
76
75
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.488",
77
- "@teambit/ui-foundation.ui.tree.drawer": "0.0.495",
76
+ "@teambit/ui-foundation.ui.tree.drawer": "0.0.496",
78
77
  "@teambit/toolbox.time.time-format": "0.0.483",
78
+ "@teambit/design.ui.styles.ellipsis": "0.0.347",
79
+ "@teambit/design.ui.styles.muted-italic": "0.0.35",
80
+ "@teambit/design.ui.tree": "0.0.5",
81
+ "@teambit/ui-foundation.ui.full-loader": "0.0.486",
82
+ "@teambit/ui-foundation.ui.side-bar": "0.0.511",
79
83
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.487",
80
- "@teambit/component-descriptor": "0.0.13",
81
- "@teambit/deprecation": "0.0.675",
84
+ "@teambit/component-descriptor": "0.0.16",
85
+ "@teambit/deprecation": "0.0.676",
82
86
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.487",
83
87
  "@teambit/ui-foundation.ui.buttons.collapser": "0.0.193",
84
88
  "@teambit/ui-foundation.ui.corner": "0.0.494",
85
89
  "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.487",
86
90
  "@teambit/ui-foundation.ui.top-bar": "0.0.489",
87
- "@teambit/design.ui.styles.ellipsis": "0.0.347",
88
- "@teambit/design.ui.styles.muted-italic": "0.0.35",
89
- "@teambit/design.ui.tree": "0.0.5",
90
- "@teambit/ui-foundation.ui.full-loader": "0.0.486",
91
- "@teambit/ui-foundation.ui.side-bar": "0.0.510",
92
91
  "@teambit/explorer.ui.gallery.component-grid": "0.0.486",
93
92
  "@teambit/workspace.ui.empty-workspace": "0.0.489",
94
93
  "@teambit/workspace.ui.workspace-component-card": "0.0.495"
@@ -101,8 +100,8 @@
101
100
  "@types/fs-extra": "9.0.7",
102
101
  "@types/memoizee": "0.4.5",
103
102
  "@types/react-router-dom": "5.1.7",
104
- "@types/pluralize": "0.0.29",
105
103
  "@types/classnames": "2.2.11",
104
+ "@types/pluralize": "0.0.29",
106
105
  "@types/mocha": "9.1.0",
107
106
  "@types/testing-library__jest-dom": "5.9.5",
108
107
  "@types/jest": "^26.0.0",
@@ -112,7 +111,7 @@
112
111
  },
113
112
  "peerDependencies": {
114
113
  "@apollo/client": "^3.0.0",
115
- "@teambit/legacy": "1.0.231",
114
+ "@teambit/legacy": "1.0.232",
116
115
  "react-dom": "^16.8.0 || ^17.0.0",
117
116
  "react": "^16.8.0 || ^17.0.0"
118
117
  },
@@ -140,7 +139,7 @@
140
139
  "react": "-"
141
140
  },
142
141
  "peerDependencies": {
143
- "@teambit/legacy": "1.0.231",
142
+ "@teambit/legacy": "1.0.232",
144
143
  "react-dom": "^16.8.0 || ^17.0.0",
145
144
  "react": "^16.8.0 || ^17.0.0"
146
145
  }
@@ -1 +1 @@
1
- export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.675/dist/workspace.docs.mdx')]
1
+ export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.676/dist/workspace.docs.mdx')]
@@ -3,8 +3,26 @@
3
3
  display: block;
4
4
  }
5
5
 
6
- .collapseIcon {
7
- width: 16px;
6
+ .widgetIcon {
7
+ padding: 4px;
8
+ border-radius: 8px;
9
+ align-items: center;
10
+ display: flex;
11
+ &:hover,
12
+ &.open {
13
+ background-color: var(--bit-border-color-lightest, #ededed);
14
+ }
15
+ img {
16
+ width: 16px;
17
+ }
18
+ &:active img,
19
+ &.open img {
20
+ filter: invert(38%) sepia(33%) saturate(7140%) hue-rotate(234deg) brightness(96%) contrast(87%);
21
+ }
22
+ }
23
+
24
+ .filterWidgetIcon {
25
+ margin-right: 8px;
8
26
  }
9
27
 
10
28
  .deprecateFilter {
@@ -15,27 +33,19 @@
15
33
  padding: 8px;
16
34
  margin: 4px 8px;
17
35
 
18
- .filterIcon {
36
+ > div {
19
37
  line-height: 16px;
20
38
  display: flex;
39
+ }
40
+
41
+ .filterIcon {
42
+ img {
43
+ width: 16px;
44
+ }
21
45
 
22
46
  .filterIconLabel {
23
47
  margin: 0px 8px;
24
- font-size: 12px;
48
+ font-size: 14px;
25
49
  }
26
50
  }
27
51
  }
28
-
29
- .filterWidgetIcon {
30
- margin-right: 12px;
31
- padding: 4px;
32
-
33
- &:hover {
34
- background: white;
35
- }
36
-
37
- &.open {
38
- color: var(--bit-accent-color, #6c5ce7);
39
- background-color: var(--bit-bg-heavy, #f6f6f6);
40
- }
41
- }
@@ -8,7 +8,6 @@ import {
8
8
  NamespaceTreeNode,
9
9
  ScopePayload,
10
10
  } from '@teambit/ui-foundation.ui.side-bar';
11
- import { Icon } from '@teambit/evangelist.elements.icon';
12
11
  import { TreeNodeProps } from '@teambit/design.ui.tree';
13
12
  import React, { useCallback, useContext, useState, createContext } from 'react';
14
13
  import classNames from 'classnames';
@@ -114,17 +113,19 @@ function TreeToggleWidget() {
114
113
  const icon = collapsed
115
114
  ? 'https://static.bit.dev/bit-icons/expand.svg'
116
115
  : 'https://static.bit.dev/bit-icons/collapse.svg';
117
- return <img src={icon} className={styles.collapseIcon} onClick={() => setCollapsed(!collapsed)} />;
116
+ return (
117
+ <div className={styles.widgetIcon}>
118
+ <img src={icon} onClick={() => setCollapsed(!collapsed)} />
119
+ </div>
120
+ );
118
121
  }
119
122
 
120
123
  function FilterWidget() {
121
124
  const { filterOpen, setFilterOpen } = useContext(WorkspaceTreeContext);
122
125
  return (
123
- <Icon
124
- className={classNames(styles.filterWidgetIcon, filterOpen && styles.open)}
125
- of="Ripple_filters"
126
- onClick={() => setFilterOpen(!filterOpen)}
127
- />
126
+ <div className={classNames(styles.widgetIcon, styles.filterWidgetIcon, filterOpen && styles.open)}>
127
+ <img src="https://static.bit.dev/bit-icons/filter.svg" onClick={() => setFilterOpen(!filterOpen)} />
128
+ </div>
128
129
  );
129
130
  }
130
131
 
@@ -137,7 +138,7 @@ function DeprecateFilter() {
137
138
  return (
138
139
  <div className={classNames(styles.deprecateFilter, isActive && styles.active)}>
139
140
  <div className={styles.filterIcon}>
140
- <Icon of="note-deprecated" />
141
+ <img src="https://static.bit.dev/bit-icons/deprecated.svg" />
141
142
  <span className={styles.filterIconLabel}>Deprecated</span>
142
143
  </div>
143
144
  <div>