@teambit/sidebar 0.0.556 → 0.0.560

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/sidebar",
3
- "version": "0.0.556",
3
+ "version": "0.0.560",
4
4
  "homepage": "https://bit.dev/teambit/ui-foundation/sidebar",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.ui-foundation",
8
8
  "name": "sidebar",
9
- "version": "0.0.556"
9
+ "version": "0.0.560"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.2.11",
@@ -17,9 +17,9 @@
17
17
  "@teambit/base-ui.routing.nav-link": "1.0.0",
18
18
  "@teambit/evangelist.elements.icon": "1.0.2",
19
19
  "@teambit/documenter.ui.separator": "4.1.1",
20
- "@teambit/component": "0.0.556",
21
- "@teambit/ui-foundation.ui.tree.drawer": "0.0.464",
22
- "@teambit/ui": "0.0.556",
20
+ "@teambit/component": "0.0.560",
21
+ "@teambit/ui-foundation.ui.tree.drawer": "0.0.466",
22
+ "@teambit/ui": "0.0.560",
23
23
  "@teambit/design.ui.surfaces.menu.section": "0.0.347"
24
24
  },
25
25
  "devDependencies": {
@@ -33,7 +33,7 @@
33
33
  "@types/node": "12.20.4"
34
34
  },
35
35
  "peerDependencies": {
36
- "@teambit/legacy": "1.0.173",
36
+ "@teambit/legacy": "1.0.175",
37
37
  "react-dom": "^16.8.0 || ^17.0.0",
38
38
  "react": "^16.8.0 || ^17.0.0"
39
39
  },
@@ -61,7 +61,7 @@
61
61
  "react": "-"
62
62
  },
63
63
  "peerDependencies": {
64
- "@teambit/legacy": "1.0.173",
64
+ "@teambit/legacy": "1.0.175",
65
65
  "react-dom": "^16.8.0 || ^17.0.0",
66
66
  "react": "^16.8.0 || ^17.0.0"
67
67
  }
@@ -70,8 +70,17 @@
70
70
  "files": [
71
71
  "dist",
72
72
  "!dist/tsconfig.tsbuildinfo",
73
- "README.md",
74
- "README.mdx"
73
+ "**/*.md",
74
+ "**/*.mdx",
75
+ "**/*.js",
76
+ "**/*.json",
77
+ "**/*.sass",
78
+ "**/*.scss",
79
+ "**/*.less",
80
+ "**/*.css",
81
+ "**/*.css",
82
+ "**/*.jpeg",
83
+ "**/*.gif"
75
84
  ],
76
85
  "private": false,
77
86
  "engines": {
package/tsconfig.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": [
4
+ "es2019",
5
+ "DOM",
6
+ "ES6",
7
+ "DOM.Iterable",
8
+ "ScriptHost"
9
+ ],
10
+ "target": "es2015",
11
+ "module": "commonjs",
12
+ "jsx": "react",
13
+ "declaration": true,
14
+ "sourceMap": true,
15
+ "skipLibCheck": true,
16
+ "moduleResolution": "node",
17
+ "esModuleInterop": true,
18
+ "composite": true,
19
+ "emitDeclarationOnly": true,
20
+ "outDir": "dist",
21
+ "experimentalDecorators": true,
22
+ "emitDecoratorMetadata": true,
23
+ "allowSyntheticDefaultImports": true,
24
+ "strictPropertyInitialization": false,
25
+ "strict": true,
26
+ "noImplicitAny": false,
27
+ "rootDir": ".",
28
+ "preserveConstEnums": true,
29
+ "resolveJsonModule": true
30
+ },
31
+ "exclude": [
32
+ "dist"
33
+ ]
34
+ }
@@ -0,0 +1,29 @@
1
+ .overview {
2
+ padding: 8px 8px 0px 8px;
3
+ .separator {
4
+ margin: unset;
5
+ }
6
+ .overviewLink {
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+ padding: 9px 8px;
11
+ text-decoration: none;
12
+ color: var(--bit-text-color-heavy);
13
+ margin-bottom: 8px;
14
+ .icon {
15
+ color: var(--bit-text-color-light, #6c707c);
16
+ }
17
+ }
18
+ .active {
19
+ background-color: var(--bit-accent-color, #6c5ce7);
20
+ color: var(--bit-text-on-accent, #ffffff);
21
+ font-weight: unset;
22
+ .icon {
23
+ color: var(--bit-text-on-accent, #ffffff);
24
+ }
25
+ &:hover {
26
+ background-color: var(--bit-accent-heavy, #5d4aec);
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,7 @@
1
+ .sidebar {
2
+ display: flex;
3
+ flex-direction: column;
4
+ overflow: hidden;
5
+ width: 100%;
6
+ height: 100%;
7
+ }