@semcore/tab-line 3.0.6 → 3.0.9
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 +18 -0
- package/lib/cjs/TabLine.js +14 -14
- package/lib/cjs/style/tab-line.shadow.css +2 -0
- package/lib/es6/TabLine.js +14 -14
- package/lib/es6/style/tab-line.shadow.css +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [3.0.9] - 2022-08-30
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [4.5.10 ~> 4.5.11], `@semcore/neighbor-location` [2.3.14 ~> 2.3.15], `@semcore/utils` [3.37.0 ~> 3.37.1]).
|
|
10
|
+
|
|
11
|
+
## [3.0.8] - 2022-08-30
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Fixed font height so that the letter "g" would not be cut off.
|
|
16
|
+
|
|
17
|
+
## [3.0.7] - 2022-08-18
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [4.5.9 ~> 4.5.10], `@semcore/neighbor-location` [2.3.13 ~> 2.3.14], `@semcore/utils` [3.36.0 ~> 3.37.0]).
|
|
22
|
+
|
|
5
23
|
## [3.0.6] - 2022-08-11
|
|
6
24
|
|
|
7
25
|
### Changed
|
package/lib/cjs/TabLine.js
CHANGED
|
@@ -56,23 +56,23 @@ var style = (
|
|
|
56
56
|
/*__reshadow_css_start__*/
|
|
57
57
|
_core.sstyled.insert(
|
|
58
58
|
/*__inner_css_start__*/
|
|
59
|
-
".
|
|
59
|
+
".___STabLine_1bc5m_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_1bc5m_gg_.__underlined_1bc5m_gg_{border-bottom:1px solid #c4c7cf}.___STabLineItem_1bc5m_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;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer;border:none;background:transparent;color:#191b23;margin-right:16px}.___STabLineItem_1bc5m_gg_::-moz-focus-inner{border:none;padding:0}.___STabLineItem_1bc5m_gg_:active,.___STabLineItem_1bc5m_gg_:focus,.___STabLineItem_1bc5m_gg_:hover{outline:0;text-decoration:none}.___STabLineItem_1bc5m_gg_:after{content:\"\";left:0;width:100%;background-color:transparent;transition:background-color .2s}.___STabLineItem_1bc5m_gg_:hover:after{background-color:#c4c7cf}.___STabLineItem_1bc5m_gg_ .___SText_1bc5m_gg_:not(:last-child){margin-right:8px}.___STabLineItem_1bc5m_gg_ .___SAddon_1bc5m_gg_:not(:last-child){margin-right:8px}.___SIndicator_1bc5m_gg_,.___STabLineItem_1bc5m_gg_:after{position:absolute;display:block;bottom:-1px;height:2px}.___SIndicator_1bc5m_gg_{transition:transform .5s ease;background-color:#008ff8;will-change:transform}.___STabLineItem_1bc5m_gg_.__selected_1bc5m_gg_{flex-shrink:0}.___STabLineItem_1bc5m_gg_.__disabled_1bc5m_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STabLineItem_1bc5m_gg_.__keyboardFocused_1bc5m_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SText_1bc5m_gg_{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_1bc5m_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_1bc5m_gg_._size_m_1bc5m_gg_{height:28px;min-width:18px;font-size:14px;lihe-height:1.42}.___STabLineItem_1bc5m_gg_._size_l_1bc5m_gg_{height:40px;min-width:26px;font-size:16px;lihe-height:1.5}.___STabLineItem_1bc5m_gg_._neighborLocation_left_1bc5m_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_1bc5m_gg_:after{transition:none}.___SIndicator_1bc5m_gg_{transition:none}}"
|
|
60
60
|
/*__inner_css_end__*/
|
|
61
|
-
, "
|
|
61
|
+
, "1bc5m_gg_")
|
|
62
62
|
/*__reshadow_css_end__*/
|
|
63
63
|
, {
|
|
64
|
-
"__STabLine": "
|
|
65
|
-
"_underlined": "
|
|
66
|
-
"__STabLineItem": "
|
|
67
|
-
"__SText": "
|
|
68
|
-
"__SAddon": "
|
|
69
|
-
"__SIndicator": "
|
|
70
|
-
"_selected": "
|
|
71
|
-
"_disabled": "
|
|
72
|
-
"_keyboardFocused": "
|
|
73
|
-
"_size_m": "
|
|
74
|
-
"_size_l": "
|
|
75
|
-
"_neighborLocation_left": "
|
|
64
|
+
"__STabLine": "___STabLine_1bc5m_gg_",
|
|
65
|
+
"_underlined": "__underlined_1bc5m_gg_",
|
|
66
|
+
"__STabLineItem": "___STabLineItem_1bc5m_gg_",
|
|
67
|
+
"__SText": "___SText_1bc5m_gg_",
|
|
68
|
+
"__SAddon": "___SAddon_1bc5m_gg_",
|
|
69
|
+
"__SIndicator": "___SIndicator_1bc5m_gg_",
|
|
70
|
+
"_selected": "__selected_1bc5m_gg_",
|
|
71
|
+
"_disabled": "__disabled_1bc5m_gg_",
|
|
72
|
+
"_keyboardFocused": "__keyboardFocused_1bc5m_gg_",
|
|
73
|
+
"_size_m": "_size_m_1bc5m_gg_",
|
|
74
|
+
"_size_l": "_size_l_1bc5m_gg_",
|
|
75
|
+
"_neighborLocation_left": "_neighborLocation_left_1bc5m_gg_"
|
|
76
76
|
});
|
|
77
77
|
var optionsA11yEnhance = {
|
|
78
78
|
onNeighborChange: function onNeighborChange(neighborElement) {
|
|
@@ -115,12 +115,14 @@ STabLineItem[size='m'] {
|
|
|
115
115
|
height: 28px;
|
|
116
116
|
min-width: 18px;
|
|
117
117
|
font-size: var(--fs-200);
|
|
118
|
+
lihe-height: var(--lh-200);
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
STabLineItem[size='l'] {
|
|
121
122
|
height: 40px;
|
|
122
123
|
min-width: 26px;
|
|
123
124
|
font-size: var(--fs-300);
|
|
125
|
+
lihe-height: var(--lh-300);
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
STabLineItem[neighborLocation='left'] {
|
package/lib/es6/TabLine.js
CHANGED
|
@@ -33,23 +33,23 @@ var style = (
|
|
|
33
33
|
/*__reshadow_css_start__*/
|
|
34
34
|
_sstyled.insert(
|
|
35
35
|
/*__inner_css_start__*/
|
|
36
|
-
".
|
|
36
|
+
".___STabLine_1bc5m_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_1bc5m_gg_.__underlined_1bc5m_gg_{border-bottom:1px solid #c4c7cf}.___STabLineItem_1bc5m_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;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer;border:none;background:transparent;color:#191b23;margin-right:16px}.___STabLineItem_1bc5m_gg_::-moz-focus-inner{border:none;padding:0}.___STabLineItem_1bc5m_gg_:active,.___STabLineItem_1bc5m_gg_:focus,.___STabLineItem_1bc5m_gg_:hover{outline:0;text-decoration:none}.___STabLineItem_1bc5m_gg_:after{content:\"\";left:0;width:100%;background-color:transparent;transition:background-color .2s}.___STabLineItem_1bc5m_gg_:hover:after{background-color:#c4c7cf}.___STabLineItem_1bc5m_gg_ .___SText_1bc5m_gg_:not(:last-child){margin-right:8px}.___STabLineItem_1bc5m_gg_ .___SAddon_1bc5m_gg_:not(:last-child){margin-right:8px}.___SIndicator_1bc5m_gg_,.___STabLineItem_1bc5m_gg_:after{position:absolute;display:block;bottom:-1px;height:2px}.___SIndicator_1bc5m_gg_{transition:transform .5s ease;background-color:#008ff8;will-change:transform}.___STabLineItem_1bc5m_gg_.__selected_1bc5m_gg_{flex-shrink:0}.___STabLineItem_1bc5m_gg_.__disabled_1bc5m_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STabLineItem_1bc5m_gg_.__keyboardFocused_1bc5m_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SText_1bc5m_gg_{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_1bc5m_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_1bc5m_gg_._size_m_1bc5m_gg_{height:28px;min-width:18px;font-size:14px;lihe-height:1.42}.___STabLineItem_1bc5m_gg_._size_l_1bc5m_gg_{height:40px;min-width:26px;font-size:16px;lihe-height:1.5}.___STabLineItem_1bc5m_gg_._neighborLocation_left_1bc5m_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_1bc5m_gg_:after{transition:none}.___SIndicator_1bc5m_gg_{transition:none}}"
|
|
37
37
|
/*__inner_css_end__*/
|
|
38
|
-
, "
|
|
38
|
+
, "1bc5m_gg_")
|
|
39
39
|
/*__reshadow_css_end__*/
|
|
40
40
|
, {
|
|
41
|
-
"__STabLine": "
|
|
42
|
-
"_underlined": "
|
|
43
|
-
"__STabLineItem": "
|
|
44
|
-
"__SText": "
|
|
45
|
-
"__SAddon": "
|
|
46
|
-
"__SIndicator": "
|
|
47
|
-
"_selected": "
|
|
48
|
-
"_disabled": "
|
|
49
|
-
"_keyboardFocused": "
|
|
50
|
-
"_size_m": "
|
|
51
|
-
"_size_l": "
|
|
52
|
-
"_neighborLocation_left": "
|
|
41
|
+
"__STabLine": "___STabLine_1bc5m_gg_",
|
|
42
|
+
"_underlined": "__underlined_1bc5m_gg_",
|
|
43
|
+
"__STabLineItem": "___STabLineItem_1bc5m_gg_",
|
|
44
|
+
"__SText": "___SText_1bc5m_gg_",
|
|
45
|
+
"__SAddon": "___SAddon_1bc5m_gg_",
|
|
46
|
+
"__SIndicator": "___SIndicator_1bc5m_gg_",
|
|
47
|
+
"_selected": "__selected_1bc5m_gg_",
|
|
48
|
+
"_disabled": "__disabled_1bc5m_gg_",
|
|
49
|
+
"_keyboardFocused": "__keyboardFocused_1bc5m_gg_",
|
|
50
|
+
"_size_m": "_size_m_1bc5m_gg_",
|
|
51
|
+
"_size_l": "_size_l_1bc5m_gg_",
|
|
52
|
+
"_neighborLocation_left": "_neighborLocation_left_1bc5m_gg_"
|
|
53
53
|
});
|
|
54
54
|
var optionsA11yEnhance = {
|
|
55
55
|
onNeighborChange: function onNeighborChange(neighborElement) {
|
|
@@ -115,12 +115,14 @@ STabLineItem[size='m'] {
|
|
|
115
115
|
height: 28px;
|
|
116
116
|
min-width: 18px;
|
|
117
117
|
font-size: var(--fs-200);
|
|
118
|
+
lihe-height: var(--lh-200);
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
STabLineItem[size='l'] {
|
|
121
122
|
height: 40px;
|
|
122
123
|
min-width: 26px;
|
|
123
124
|
font-size: var(--fs-300);
|
|
125
|
+
lihe-height: var(--lh-300);
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
STabLineItem[neighborLocation='left'] {
|