@teambit/panels 0.0.388 → 0.0.392
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 +16 -9
- package/ui/tabs.module.scss +40 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/panels",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.392",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/ui-foundation/panels",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.ui-foundation",
|
|
8
8
|
"name": "panels",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.392"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/harmony": "0.2.11",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"react-tabs": "3.2.0",
|
|
15
15
|
"@babel/runtime": "7.12.18",
|
|
16
16
|
"core-js": "^3.0.0",
|
|
17
|
-
"@teambit/cli": "0.0.
|
|
17
|
+
"@teambit/cli": "0.0.392"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/classnames": "2.2.11",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@types/node": "12.20.4"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@teambit/legacy": "1.0.
|
|
30
|
+
"@teambit/legacy": "1.0.178",
|
|
31
31
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
32
32
|
"react": "^16.8.0 || ^17.0.0"
|
|
33
33
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react": "-"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@teambit/legacy": "1.0.
|
|
58
|
+
"@teambit/legacy": "1.0.178",
|
|
59
59
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
60
60
|
"react": "^16.8.0 || ^17.0.0"
|
|
61
61
|
}
|
|
@@ -64,10 +64,17 @@
|
|
|
64
64
|
"files": [
|
|
65
65
|
"dist",
|
|
66
66
|
"!dist/tsconfig.tsbuildinfo",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
67
|
+
"**/*.md",
|
|
68
|
+
"**/*.mdx",
|
|
69
|
+
"**/*.js",
|
|
70
|
+
"**/*.json",
|
|
71
|
+
"**/*.sass",
|
|
72
|
+
"**/*.scss",
|
|
73
|
+
"**/*.less",
|
|
74
|
+
"**/*.css",
|
|
75
|
+
"**/*.css",
|
|
76
|
+
"**/*.jpeg",
|
|
77
|
+
"**/*.gif"
|
|
71
78
|
],
|
|
72
79
|
"private": false,
|
|
73
80
|
"engines": {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.tabContainer {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.tab {
|
|
6
|
+
position: relative;
|
|
7
|
+
padding: 8px;
|
|
8
|
+
text-transform: uppercase;
|
|
9
|
+
font-size: 12px;
|
|
10
|
+
font-weight: bold;
|
|
11
|
+
outline: none;
|
|
12
|
+
|
|
13
|
+
color: #878c9a; //TODO
|
|
14
|
+
transition: color 300ms ease-in-out;
|
|
15
|
+
&:hover {
|
|
16
|
+
color: var(--bit-text-color-heavy);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.disabled {
|
|
20
|
+
color: var(--bit-text-color-light, #6c707c);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.active {
|
|
24
|
+
color: var(--bit-text-color-heavy);
|
|
25
|
+
|
|
26
|
+
&:before {
|
|
27
|
+
content: '';
|
|
28
|
+
position: absolute;
|
|
29
|
+
top: 0;
|
|
30
|
+
left: 0;
|
|
31
|
+
right: 0;
|
|
32
|
+
|
|
33
|
+
background-color: var(--bit-accent-color, #6c5ce7);
|
|
34
|
+
height: 3px;
|
|
35
|
+
border-radius: 2px;
|
|
36
|
+
|
|
37
|
+
transition: background-color 300ms, height 300ms;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|