@semcore/tab-panel 3.0.7 → 3.0.8
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
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [3.0.8] - 2022-09-07
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Enforced inner text font line height to prevent possible bottom cut.
|
|
10
|
+
|
|
5
11
|
## [3.0.7] - 2022-08-30
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/TabPanel.js
CHANGED
|
@@ -52,18 +52,18 @@ var style = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".
|
|
55
|
+
".___STabPanel_1ew8z_gg_{display:flex;width:100%;max-width:100%;border-bottom:1px solid #c4c7cf}.___STabPanelItem_1ew8z_gg_{position:relative;bottom:-1px;display:inline-flex;min-width:0;height:32px;color:#6c6e79;border:1px solid transparent;border-radius:6px 6px 0 0;background:transparent;align-items:center;justify-content:center;touch-action:manipulation;-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;outline:0;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer}.___STabPanelItem_1ew8z_gg_ .___SText_1ew8z_gg_{font-size:14px;line-height:1.42}.___STabPanelItem_1ew8z_gg_::-moz-focus-inner{border:none;padding:0}.___STabPanelItem_1ew8z_gg_:active,.___STabPanelItem_1ew8z_gg_:focus,.___STabPanelItem_1ew8z_gg_:hover{outline:0;text-decoration:none}.___STabPanelItem_1ew8z_gg_:hover{color:#191b23}.___STabPanelItem_1ew8z_gg_.__disabled_1ew8z_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STabPanelItem_1ew8z_gg_.__keyboardFocused_1ew8z_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___STabPanelItem_1ew8z_gg_.__selected_1ew8z_gg_{color:#006dca;border-color:#c4c7cf;border-bottom-color:#ffffff;flex-shrink:0}.___STabPanelItem_1ew8z_gg_.__selected_1ew8z_gg_:hover{color:#006dca}.___SText_1ew8z_gg_{display:inline-block;margin:auto 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_1ew8z_gg_{display:inline-flex;align-items:center;justify-content:center}.___SAddon_1ew8z_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1ew8z_gg_:not(:only-child):last-child{margin-right:8px}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "1ew8z_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
|
59
59
|
, {
|
|
60
|
-
"__STabPanel": "
|
|
61
|
-
"__STabPanelItem": "
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"__SAddon": "
|
|
60
|
+
"__STabPanel": "___STabPanel_1ew8z_gg_",
|
|
61
|
+
"__STabPanelItem": "___STabPanelItem_1ew8z_gg_",
|
|
62
|
+
"__SText": "___SText_1ew8z_gg_",
|
|
63
|
+
"_disabled": "__disabled_1ew8z_gg_",
|
|
64
|
+
"_keyboardFocused": "__keyboardFocused_1ew8z_gg_",
|
|
65
|
+
"_selected": "__selected_1ew8z_gg_",
|
|
66
|
+
"__SAddon": "___SAddon_1ew8z_gg_"
|
|
67
67
|
});
|
|
68
68
|
var optionsA11yEnhance = {
|
|
69
69
|
onNeighborChange: function onNeighborChange(neighborElement) {
|
|
@@ -13,7 +13,6 @@ STabPanelItem {
|
|
|
13
13
|
display: inline-flex;
|
|
14
14
|
min-width: 0;
|
|
15
15
|
height: 32px;
|
|
16
|
-
font-size: var(--fs-200);
|
|
17
16
|
color: var(--gray-500);
|
|
18
17
|
border: 1px solid transparent;
|
|
19
18
|
border-radius: 6px 6px 0 0;
|
|
@@ -35,6 +34,11 @@ STabPanelItem {
|
|
|
35
34
|
font-family: inherit;
|
|
36
35
|
cursor: pointer;
|
|
37
36
|
|
|
37
|
+
& SText {
|
|
38
|
+
font-size: var(--fs-200);
|
|
39
|
+
line-height: var(--lh-200);
|
|
40
|
+
}
|
|
41
|
+
|
|
38
42
|
&::-moz-focus-inner {
|
|
39
43
|
border: none;
|
|
40
44
|
padding: 0;
|
package/lib/es6/TabPanel.js
CHANGED
|
@@ -31,18 +31,18 @@ var style = (
|
|
|
31
31
|
/*__reshadow_css_start__*/
|
|
32
32
|
_sstyled.insert(
|
|
33
33
|
/*__inner_css_start__*/
|
|
34
|
-
".
|
|
34
|
+
".___STabPanel_1ew8z_gg_{display:flex;width:100%;max-width:100%;border-bottom:1px solid #c4c7cf}.___STabPanelItem_1ew8z_gg_{position:relative;bottom:-1px;display:inline-flex;min-width:0;height:32px;color:#6c6e79;border:1px solid transparent;border-radius:6px 6px 0 0;background:transparent;align-items:center;justify-content:center;touch-action:manipulation;-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;outline:0;text-align:center;vertical-align:middle;font-family:inherit;cursor:pointer}.___STabPanelItem_1ew8z_gg_ .___SText_1ew8z_gg_{font-size:14px;line-height:1.42}.___STabPanelItem_1ew8z_gg_::-moz-focus-inner{border:none;padding:0}.___STabPanelItem_1ew8z_gg_:active,.___STabPanelItem_1ew8z_gg_:focus,.___STabPanelItem_1ew8z_gg_:hover{outline:0;text-decoration:none}.___STabPanelItem_1ew8z_gg_:hover{color:#191b23}.___STabPanelItem_1ew8z_gg_.__disabled_1ew8z_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STabPanelItem_1ew8z_gg_.__keyboardFocused_1ew8z_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___STabPanelItem_1ew8z_gg_.__selected_1ew8z_gg_{color:#006dca;border-color:#c4c7cf;border-bottom-color:#ffffff;flex-shrink:0}.___STabPanelItem_1ew8z_gg_.__selected_1ew8z_gg_:hover{color:#006dca}.___SText_1ew8z_gg_{display:inline-block;margin:auto 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_1ew8z_gg_{display:inline-flex;align-items:center;justify-content:center}.___SAddon_1ew8z_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1ew8z_gg_:not(:only-child):last-child{margin-right:8px}"
|
|
35
35
|
/*__inner_css_end__*/
|
|
36
|
-
, "
|
|
36
|
+
, "1ew8z_gg_")
|
|
37
37
|
/*__reshadow_css_end__*/
|
|
38
38
|
, {
|
|
39
|
-
"__STabPanel": "
|
|
40
|
-
"__STabPanelItem": "
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"__SAddon": "
|
|
39
|
+
"__STabPanel": "___STabPanel_1ew8z_gg_",
|
|
40
|
+
"__STabPanelItem": "___STabPanelItem_1ew8z_gg_",
|
|
41
|
+
"__SText": "___SText_1ew8z_gg_",
|
|
42
|
+
"_disabled": "__disabled_1ew8z_gg_",
|
|
43
|
+
"_keyboardFocused": "__keyboardFocused_1ew8z_gg_",
|
|
44
|
+
"_selected": "__selected_1ew8z_gg_",
|
|
45
|
+
"__SAddon": "___SAddon_1ew8z_gg_"
|
|
46
46
|
});
|
|
47
47
|
var optionsA11yEnhance = {
|
|
48
48
|
onNeighborChange: function onNeighborChange(neighborElement) {
|
|
@@ -13,7 +13,6 @@ STabPanelItem {
|
|
|
13
13
|
display: inline-flex;
|
|
14
14
|
min-width: 0;
|
|
15
15
|
height: 32px;
|
|
16
|
-
font-size: var(--fs-200);
|
|
17
16
|
color: var(--gray-500);
|
|
18
17
|
border: 1px solid transparent;
|
|
19
18
|
border-radius: 6px 6px 0 0;
|
|
@@ -35,6 +34,11 @@ STabPanelItem {
|
|
|
35
34
|
font-family: inherit;
|
|
36
35
|
cursor: pointer;
|
|
37
36
|
|
|
37
|
+
& SText {
|
|
38
|
+
font-size: var(--fs-200);
|
|
39
|
+
line-height: var(--lh-200);
|
|
40
|
+
}
|
|
41
|
+
|
|
38
42
|
&::-moz-focus-inner {
|
|
39
43
|
border: none;
|
|
40
44
|
padding: 0;
|