@semcore/tab-line 17.0.2 → 17.1.0-prerelease.1
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/CHANGELOG.md +6 -0
- package/lib/cjs/TabLine.js +12 -12
- package/lib/cjs/style/tab-line.shadow.css +6 -6
- package/lib/es6/TabLine.js +12 -12
- package/lib/es6/style/tab-line.shadow.css +6 -6
- package/lib/esm/TabLine.mjs +13 -13
- package/lib/esm/style/tab-line.shadow.css +6 -6
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/lib/cjs/TabLine.js
CHANGED
|
@@ -13,20 +13,20 @@ var _a11yEnhance = _interopRequireDefault(require("@semcore/core/lib/utils/enhan
|
|
|
13
13
|
var _typography = require("@semcore/typography");
|
|
14
14
|
var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
/*!__reshadow-styles__:"./style/tab-line.shadow.css"*/
|
|
16
|
-
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
16
|
+
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___STabLine_wz7vf_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_wz7vf_gg_.__underlined_wz7vf_gg_{border-bottom:1px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___STabLine_wz7vf_gg_.__underlined_wz7vf_gg_{border-bottom:1px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___STabLine_wz7vf_gg_.__underlined_wz7vf_gg_{border-bottom:1px solid var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___STabLineItem_wz7vf_gg_{display:inline-flex;align-items:center;justify-content:center;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;-webkit-text-decoration:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer;border:0;background:0 0;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin-right:var(--intergalactic-spacing-4x, 16px);font-weight:var(--intergalactic-medium, 500)}.___STabLineItem_wz7vf_gg_::-moz-focus-inner{border:0;padding:0}.___STabLineItem_wz7vf_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STabLineItem_wz7vf_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STabLineItem_wz7vf_gg_::after,.___STabLineItem_wz7vf_gg_::before{content:\"\";position:absolute;left:0;bottom:-1px;height:3px;width:100%;background-color:transparent}.___STabLineItem_wz7vf_gg_::before{transition:background-color calc(var(--intergalactic-duration-control, 200)*1ms) ease-in-out}@media (hover:hover){.___STabLineItem_wz7vf_gg_:hover::before{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___STabLineItem_wz7vf_gg_:hover::before{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___STabLineItem_wz7vf_gg_:hover::before{background-color:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}}.___STabLineItem_wz7vf_gg_.__selected_wz7vf_gg_::after{transition-delay:calc(var(--intergalactic-duration-control, 200)*1ms);background-color:var(--intergalactic-border-info-active, rgb(135, 150, 239))}.___STabLineItem_wz7vf_gg_ .___SAddon_wz7vf_gg_:not(:last-child),.___STabLineItem_wz7vf_gg_ .___SText_wz7vf_gg_:not(:last-child){margin-right:var(--intergalactic-spacing-2x, 8px)}.___SCaret_wz7vf_gg_{position:absolute;bottom:-1px;height:3px;background:var(--intergalactic-border-info-active, rgb(135, 150, 239));transition:calc(var(--intergalactic-duration-control, 200)*1ms) all ease-in-out}.___STabLineItem_wz7vf_gg_.__selected_wz7vf_gg_{flex-shrink:0}.___STabLineItem_wz7vf_gg_.__disabled_wz7vf_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}.___SAddon_wz7vf_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_wz7vf_gg_._size_m_wz7vf_gg_{height:28px;min-width:18px}.___STabLineItem_wz7vf_gg_._size_l_wz7vf_gg_{height:40px;min-width:26px}.___STabLineItem_wz7vf_gg_._neighborLocation_left_wz7vf_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_wz7vf_gg_.__selected_wz7vf_gg_::after,.___STabLineItem_wz7vf_gg_::after,.___STabLineItem_wz7vf_gg_::before{transition:none}.___SCaret_wz7vf_gg_{display:none}}", /*__inner_css_end__*/"wz7vf_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__STabLine": "
|
|
20
|
-
"_underlined": "
|
|
21
|
-
"__SCaret": "
|
|
22
|
-
"__STabLineItem": "
|
|
23
|
-
"_selected": "
|
|
24
|
-
"_disabled": "
|
|
25
|
-
"__SAddon": "
|
|
26
|
-
"_size_m": "
|
|
27
|
-
"_size_l": "
|
|
28
|
-
"_neighborLocation_left": "
|
|
29
|
-
"__SText": "
|
|
19
|
+
"__STabLine": "___STabLine_wz7vf_gg_",
|
|
20
|
+
"_underlined": "__underlined_wz7vf_gg_",
|
|
21
|
+
"__SCaret": "___SCaret_wz7vf_gg_",
|
|
22
|
+
"__STabLineItem": "___STabLineItem_wz7vf_gg_",
|
|
23
|
+
"_selected": "__selected_wz7vf_gg_",
|
|
24
|
+
"_disabled": "__disabled_wz7vf_gg_",
|
|
25
|
+
"__SAddon": "___SAddon_wz7vf_gg_",
|
|
26
|
+
"_size_m": "_size_m_wz7vf_gg_",
|
|
27
|
+
"_size_l": "_size_l_wz7vf_gg_",
|
|
28
|
+
"_neighborLocation_left": "_neighborLocation_left_wz7vf_gg_",
|
|
29
|
+
"__SText": "___SText_wz7vf_gg_"
|
|
30
30
|
});
|
|
31
31
|
class TabLineRoot extends _core.Component {
|
|
32
32
|
constructor(...args) {
|
|
@@ -6,7 +6,7 @@ STabLine {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
STabLine[underlined] {
|
|
9
|
-
border-bottom: 1px solid var(--intergalactic-border-primary,
|
|
9
|
+
border-bottom: 1px solid var(--intergalactic-border-primary, oklch(0.137 0.026 175.7 / 0.161));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
STabLineItem {
|
|
@@ -31,7 +31,7 @@ STabLineItem {
|
|
|
31
31
|
cursor: pointer;
|
|
32
32
|
border: none;
|
|
33
33
|
background: transparent;
|
|
34
|
-
color: var(--intergalactic-text-primary,
|
|
34
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
35
35
|
margin-right: var(--intergalactic-spacing-4x, 16px);
|
|
36
36
|
font-weight: var(--intergalactic-medium, 500);
|
|
37
37
|
|
|
@@ -61,12 +61,12 @@ STabLineItem {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&:hover::before {
|
|
64
|
-
background-color: var(--intergalactic-border-primary,
|
|
64
|
+
background-color: var(--intergalactic-border-primary, oklch(0.137 0.026 175.7 / 0.161));
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&[selected]::after {
|
|
68
68
|
transition-delay: calc(var(--intergalactic-duration-control, 200) * 1ms);
|
|
69
|
-
background-color: var(--intergalactic-border-info-active,
|
|
69
|
+
background-color: var(--intergalactic-border-info-active, oklch(0.7 0.131 275.2));
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
& SText:not(:last-child) {
|
|
@@ -82,7 +82,7 @@ SCaret {
|
|
|
82
82
|
position: absolute;
|
|
83
83
|
bottom: -1px;
|
|
84
84
|
height: 3px;
|
|
85
|
-
background: var(--intergalactic-border-info-active,
|
|
85
|
+
background: var(--intergalactic-border-info-active, oklch(0.7 0.131 275.2));
|
|
86
86
|
transition: calc(var(--intergalactic-duration-control, 200) * 1ms) all ease-in-out;
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -91,7 +91,7 @@ STabLineItem[selected] {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
STabLineItem[disabled] {
|
|
94
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
94
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
95
95
|
cursor: default;
|
|
96
96
|
/* Disable link interactions */
|
|
97
97
|
pointer-events: none;
|
package/lib/es6/TabLine.js
CHANGED
|
@@ -11,20 +11,20 @@ import a11yEnhance from '@semcore/core/lib/utils/enhances/a11yEnhance';
|
|
|
11
11
|
import { Text as SemcoreText } from '@semcore/typography';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
/*!__reshadow-styles__:"./style/tab-line.shadow.css"*/
|
|
14
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
14
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___STabLine_wz7vf_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_wz7vf_gg_.__underlined_wz7vf_gg_{border-bottom:1px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___STabLine_wz7vf_gg_.__underlined_wz7vf_gg_{border-bottom:1px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___STabLine_wz7vf_gg_.__underlined_wz7vf_gg_{border-bottom:1px solid var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___STabLineItem_wz7vf_gg_{display:inline-flex;align-items:center;justify-content:center;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;-webkit-text-decoration:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer;border:0;background:0 0;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin-right:var(--intergalactic-spacing-4x, 16px);font-weight:var(--intergalactic-medium, 500)}.___STabLineItem_wz7vf_gg_::-moz-focus-inner{border:0;padding:0}.___STabLineItem_wz7vf_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STabLineItem_wz7vf_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STabLineItem_wz7vf_gg_::after,.___STabLineItem_wz7vf_gg_::before{content:\"\";position:absolute;left:0;bottom:-1px;height:3px;width:100%;background-color:transparent}.___STabLineItem_wz7vf_gg_::before{transition:background-color calc(var(--intergalactic-duration-control, 200)*1ms) ease-in-out}@media (hover:hover){.___STabLineItem_wz7vf_gg_:hover::before{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___STabLineItem_wz7vf_gg_:hover::before{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___STabLineItem_wz7vf_gg_:hover::before{background-color:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}}.___STabLineItem_wz7vf_gg_.__selected_wz7vf_gg_::after{transition-delay:calc(var(--intergalactic-duration-control, 200)*1ms);background-color:var(--intergalactic-border-info-active, rgb(135, 150, 239))}.___STabLineItem_wz7vf_gg_ .___SAddon_wz7vf_gg_:not(:last-child),.___STabLineItem_wz7vf_gg_ .___SText_wz7vf_gg_:not(:last-child){margin-right:var(--intergalactic-spacing-2x, 8px)}.___SCaret_wz7vf_gg_{position:absolute;bottom:-1px;height:3px;background:var(--intergalactic-border-info-active, rgb(135, 150, 239));transition:calc(var(--intergalactic-duration-control, 200)*1ms) all ease-in-out}.___STabLineItem_wz7vf_gg_.__selected_wz7vf_gg_{flex-shrink:0}.___STabLineItem_wz7vf_gg_.__disabled_wz7vf_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}.___SAddon_wz7vf_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_wz7vf_gg_._size_m_wz7vf_gg_{height:28px;min-width:18px}.___STabLineItem_wz7vf_gg_._size_l_wz7vf_gg_{height:40px;min-width:26px}.___STabLineItem_wz7vf_gg_._neighborLocation_left_wz7vf_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_wz7vf_gg_.__selected_wz7vf_gg_::after,.___STabLineItem_wz7vf_gg_::after,.___STabLineItem_wz7vf_gg_::before{transition:none}.___SCaret_wz7vf_gg_{display:none}}", /*__inner_css_end__*/"wz7vf_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__STabLine": "
|
|
18
|
-
"_underlined": "
|
|
19
|
-
"__SCaret": "
|
|
20
|
-
"__STabLineItem": "
|
|
21
|
-
"_selected": "
|
|
22
|
-
"_disabled": "
|
|
23
|
-
"__SAddon": "
|
|
24
|
-
"_size_m": "
|
|
25
|
-
"_size_l": "
|
|
26
|
-
"_neighborLocation_left": "
|
|
27
|
-
"__SText": "
|
|
17
|
+
"__STabLine": "___STabLine_wz7vf_gg_",
|
|
18
|
+
"_underlined": "__underlined_wz7vf_gg_",
|
|
19
|
+
"__SCaret": "___SCaret_wz7vf_gg_",
|
|
20
|
+
"__STabLineItem": "___STabLineItem_wz7vf_gg_",
|
|
21
|
+
"_selected": "__selected_wz7vf_gg_",
|
|
22
|
+
"_disabled": "__disabled_wz7vf_gg_",
|
|
23
|
+
"__SAddon": "___SAddon_wz7vf_gg_",
|
|
24
|
+
"_size_m": "_size_m_wz7vf_gg_",
|
|
25
|
+
"_size_l": "_size_l_wz7vf_gg_",
|
|
26
|
+
"_neighborLocation_left": "_neighborLocation_left_wz7vf_gg_",
|
|
27
|
+
"__SText": "___SText_wz7vf_gg_"
|
|
28
28
|
});
|
|
29
29
|
class TabLineRoot extends Component {
|
|
30
30
|
constructor(...args) {
|
|
@@ -6,7 +6,7 @@ STabLine {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
STabLine[underlined] {
|
|
9
|
-
border-bottom: 1px solid var(--intergalactic-border-primary,
|
|
9
|
+
border-bottom: 1px solid var(--intergalactic-border-primary, oklch(0.137 0.026 175.7 / 0.161));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
STabLineItem {
|
|
@@ -31,7 +31,7 @@ STabLineItem {
|
|
|
31
31
|
cursor: pointer;
|
|
32
32
|
border: none;
|
|
33
33
|
background: transparent;
|
|
34
|
-
color: var(--intergalactic-text-primary,
|
|
34
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
35
35
|
margin-right: var(--intergalactic-spacing-4x, 16px);
|
|
36
36
|
font-weight: var(--intergalactic-medium, 500);
|
|
37
37
|
|
|
@@ -61,12 +61,12 @@ STabLineItem {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&:hover::before {
|
|
64
|
-
background-color: var(--intergalactic-border-primary,
|
|
64
|
+
background-color: var(--intergalactic-border-primary, oklch(0.137 0.026 175.7 / 0.161));
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&[selected]::after {
|
|
68
68
|
transition-delay: calc(var(--intergalactic-duration-control, 200) * 1ms);
|
|
69
|
-
background-color: var(--intergalactic-border-info-active,
|
|
69
|
+
background-color: var(--intergalactic-border-info-active, oklch(0.7 0.131 275.2));
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
& SText:not(:last-child) {
|
|
@@ -82,7 +82,7 @@ SCaret {
|
|
|
82
82
|
position: absolute;
|
|
83
83
|
bottom: -1px;
|
|
84
84
|
height: 3px;
|
|
85
|
-
background: var(--intergalactic-border-info-active,
|
|
85
|
+
background: var(--intergalactic-border-info-active, oklch(0.7 0.131 275.2));
|
|
86
86
|
transition: calc(var(--intergalactic-duration-control, 200) * 1ms) all ease-in-out;
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -91,7 +91,7 @@ STabLineItem[selected] {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
STabLineItem[disabled] {
|
|
94
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
94
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
95
95
|
cursor: default;
|
|
96
96
|
/* Disable link interactions */
|
|
97
97
|
pointer-events: none;
|
package/lib/esm/TabLine.mjs
CHANGED
|
@@ -10,22 +10,22 @@ const style = (
|
|
|
10
10
|
/*__reshadow_css_start__*/
|
|
11
11
|
(sstyled.insert(
|
|
12
12
|
/*__inner_css_start__*/
|
|
13
|
-
'.
|
|
13
|
+
'.___STabLine_wz7vf_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_wz7vf_gg_.__underlined_wz7vf_gg_{border-bottom:1px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___STabLine_wz7vf_gg_.__underlined_wz7vf_gg_{border-bottom:1px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___STabLine_wz7vf_gg_.__underlined_wz7vf_gg_{border-bottom:1px solid var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___STabLineItem_wz7vf_gg_{display:inline-flex;align-items:center;justify-content:center;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;-webkit-text-decoration:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer;border:0;background:0 0;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin-right:var(--intergalactic-spacing-4x, 16px);font-weight:var(--intergalactic-medium, 500)}.___STabLineItem_wz7vf_gg_::-moz-focus-inner{border:0;padding:0}.___STabLineItem_wz7vf_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STabLineItem_wz7vf_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STabLineItem_wz7vf_gg_::after,.___STabLineItem_wz7vf_gg_::before{content:"";position:absolute;left:0;bottom:-1px;height:3px;width:100%;background-color:transparent}.___STabLineItem_wz7vf_gg_::before{transition:background-color calc(var(--intergalactic-duration-control, 200)*1ms) ease-in-out}@media (hover:hover){.___STabLineItem_wz7vf_gg_:hover::before{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___STabLineItem_wz7vf_gg_:hover::before{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___STabLineItem_wz7vf_gg_:hover::before{background-color:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}}.___STabLineItem_wz7vf_gg_.__selected_wz7vf_gg_::after{transition-delay:calc(var(--intergalactic-duration-control, 200)*1ms);background-color:var(--intergalactic-border-info-active, rgb(135, 150, 239))}.___STabLineItem_wz7vf_gg_ .___SAddon_wz7vf_gg_:not(:last-child),.___STabLineItem_wz7vf_gg_ .___SText_wz7vf_gg_:not(:last-child){margin-right:var(--intergalactic-spacing-2x, 8px)}.___SCaret_wz7vf_gg_{position:absolute;bottom:-1px;height:3px;background:var(--intergalactic-border-info-active, rgb(135, 150, 239));transition:calc(var(--intergalactic-duration-control, 200)*1ms) all ease-in-out}.___STabLineItem_wz7vf_gg_.__selected_wz7vf_gg_{flex-shrink:0}.___STabLineItem_wz7vf_gg_.__disabled_wz7vf_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}.___SAddon_wz7vf_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_wz7vf_gg_._size_m_wz7vf_gg_{height:28px;min-width:18px}.___STabLineItem_wz7vf_gg_._size_l_wz7vf_gg_{height:40px;min-width:26px}.___STabLineItem_wz7vf_gg_._neighborLocation_left_wz7vf_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_wz7vf_gg_.__selected_wz7vf_gg_::after,.___STabLineItem_wz7vf_gg_::after,.___STabLineItem_wz7vf_gg_::before{transition:none}.___SCaret_wz7vf_gg_{display:none}}',
|
|
14
14
|
/*__inner_css_end__*/
|
|
15
|
-
"
|
|
15
|
+
"wz7vf_gg_"
|
|
16
16
|
), /*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__STabLine": "
|
|
19
|
-
"_underlined": "
|
|
20
|
-
"__SCaret": "
|
|
21
|
-
"__STabLineItem": "
|
|
22
|
-
"_selected": "
|
|
23
|
-
"_disabled": "
|
|
24
|
-
"__SAddon": "
|
|
25
|
-
"_size_m": "
|
|
26
|
-
"_size_l": "
|
|
27
|
-
"_neighborLocation_left": "
|
|
28
|
-
"__SText": "
|
|
18
|
+
"__STabLine": "___STabLine_wz7vf_gg_",
|
|
19
|
+
"_underlined": "__underlined_wz7vf_gg_",
|
|
20
|
+
"__SCaret": "___SCaret_wz7vf_gg_",
|
|
21
|
+
"__STabLineItem": "___STabLineItem_wz7vf_gg_",
|
|
22
|
+
"_selected": "__selected_wz7vf_gg_",
|
|
23
|
+
"_disabled": "__disabled_wz7vf_gg_",
|
|
24
|
+
"__SAddon": "___SAddon_wz7vf_gg_",
|
|
25
|
+
"_size_m": "_size_m_wz7vf_gg_",
|
|
26
|
+
"_size_l": "_size_l_wz7vf_gg_",
|
|
27
|
+
"_neighborLocation_left": "_neighborLocation_left_wz7vf_gg_",
|
|
28
|
+
"__SText": "___SText_wz7vf_gg_"
|
|
29
29
|
})
|
|
30
30
|
);
|
|
31
31
|
class TabLineRoot extends Component {
|
|
@@ -6,7 +6,7 @@ STabLine {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
STabLine[underlined] {
|
|
9
|
-
border-bottom: 1px solid var(--intergalactic-border-primary,
|
|
9
|
+
border-bottom: 1px solid var(--intergalactic-border-primary, oklch(0.137 0.026 175.7 / 0.161));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
STabLineItem {
|
|
@@ -31,7 +31,7 @@ STabLineItem {
|
|
|
31
31
|
cursor: pointer;
|
|
32
32
|
border: none;
|
|
33
33
|
background: transparent;
|
|
34
|
-
color: var(--intergalactic-text-primary,
|
|
34
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
35
35
|
margin-right: var(--intergalactic-spacing-4x, 16px);
|
|
36
36
|
font-weight: var(--intergalactic-medium, 500);
|
|
37
37
|
|
|
@@ -61,12 +61,12 @@ STabLineItem {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&:hover::before {
|
|
64
|
-
background-color: var(--intergalactic-border-primary,
|
|
64
|
+
background-color: var(--intergalactic-border-primary, oklch(0.137 0.026 175.7 / 0.161));
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&[selected]::after {
|
|
68
68
|
transition-delay: calc(var(--intergalactic-duration-control, 200) * 1ms);
|
|
69
|
-
background-color: var(--intergalactic-border-info-active,
|
|
69
|
+
background-color: var(--intergalactic-border-info-active, oklch(0.7 0.131 275.2));
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
& SText:not(:last-child) {
|
|
@@ -82,7 +82,7 @@ SCaret {
|
|
|
82
82
|
position: absolute;
|
|
83
83
|
bottom: -1px;
|
|
84
84
|
height: 3px;
|
|
85
|
-
background: var(--intergalactic-border-info-active,
|
|
85
|
+
background: var(--intergalactic-border-info-active, oklch(0.7 0.131 275.2));
|
|
86
86
|
transition: calc(var(--intergalactic-duration-control, 200) * 1ms) all ease-in-out;
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -91,7 +91,7 @@ STabLineItem[selected] {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
STabLineItem[disabled] {
|
|
94
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
94
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
95
95
|
cursor: default;
|
|
96
96
|
/* Disable link interactions */
|
|
97
97
|
pointer-events: none;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/tab-line",
|
|
3
3
|
"description": "Semrush TabLine Component",
|
|
4
|
-
"version": "17.0.
|
|
4
|
+
"version": "17.1.0-prerelease.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"require": "./lib/cjs/index.js"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/typography": "^17.0.
|
|
17
|
+
"@semcore/typography": "^17.1.0-prerelease.1"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@semcore/base-components": "^17.0.2"
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"directory": "semcore/tab-line"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@semcore/
|
|
29
|
-
"@semcore/
|
|
30
|
-
"@semcore/
|
|
28
|
+
"@semcore/core": "17.1.0-prerelease.1",
|
|
29
|
+
"@semcore/base-components": "17.0.2-prerelease.1",
|
|
30
|
+
"@semcore/testing-utils": "1.0.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "pnpm semcore-builder && pnpm vite build"
|