@semcore/tab-line 3.0.7 → 3.0.10

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,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.10] - 2022-09-02
6
+
7
+ ### Fixed
8
+
9
+ - Fixed typos in styles: `lihe-height` -> `line-height`.
10
+
11
+ ## [3.0.9] - 2022-08-30
12
+
13
+ ### Changed
14
+
15
+ - 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]).
16
+
17
+ ## [3.0.8] - 2022-08-30
18
+
19
+ ### Fixed
20
+
21
+ - Fixed font height so that the letter "g" would not be cut off.
22
+
5
23
  ## [3.0.7] - 2022-08-18
6
24
 
7
25
  ### Changed
@@ -56,23 +56,23 @@ var style = (
56
56
  /*__reshadow_css_start__*/
57
57
  _core.sstyled.insert(
58
58
  /*__inner_css_start__*/
59
- ".___STabLine_cn9r3_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_cn9r3_gg_.__underlined_cn9r3_gg_{border-bottom:1px solid #c4c7cf}.___STabLineItem_cn9r3_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_cn9r3_gg_::-moz-focus-inner{border:none;padding:0}.___STabLineItem_cn9r3_gg_:active,.___STabLineItem_cn9r3_gg_:focus,.___STabLineItem_cn9r3_gg_:hover{outline:0;text-decoration:none}.___STabLineItem_cn9r3_gg_:after{content:\"\";left:0;width:100%;background-color:transparent;transition:background-color .2s}.___STabLineItem_cn9r3_gg_:hover:after{background-color:#c4c7cf}.___STabLineItem_cn9r3_gg_ .___SText_cn9r3_gg_:not(:last-child){margin-right:8px}.___STabLineItem_cn9r3_gg_ .___SAddon_cn9r3_gg_:not(:last-child){margin-right:8px}.___SIndicator_cn9r3_gg_,.___STabLineItem_cn9r3_gg_:after{position:absolute;display:block;bottom:-1px;height:2px}.___SIndicator_cn9r3_gg_{transition:transform .5s ease;background-color:#008ff8;will-change:transform}.___STabLineItem_cn9r3_gg_.__selected_cn9r3_gg_{flex-shrink:0}.___STabLineItem_cn9r3_gg_.__disabled_cn9r3_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STabLineItem_cn9r3_gg_.__keyboardFocused_cn9r3_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SText_cn9r3_gg_{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_cn9r3_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_cn9r3_gg_._size_m_cn9r3_gg_{height:28px;min-width:18px;font-size:14px}.___STabLineItem_cn9r3_gg_._size_l_cn9r3_gg_{height:40px;min-width:26px;font-size:16px}.___STabLineItem_cn9r3_gg_._neighborLocation_left_cn9r3_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_cn9r3_gg_:after{transition:none}.___SIndicator_cn9r3_gg_{transition:none}}"
59
+ ".___STabLine_1f2i1_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_1f2i1_gg_.__underlined_1f2i1_gg_{border-bottom:1px solid #c4c7cf}.___STabLineItem_1f2i1_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_1f2i1_gg_::-moz-focus-inner{border:none;padding:0}.___STabLineItem_1f2i1_gg_:active,.___STabLineItem_1f2i1_gg_:focus,.___STabLineItem_1f2i1_gg_:hover{outline:0;text-decoration:none}.___STabLineItem_1f2i1_gg_:after{content:\"\";left:0;width:100%;background-color:transparent;transition:background-color .2s}.___STabLineItem_1f2i1_gg_:hover:after{background-color:#c4c7cf}.___STabLineItem_1f2i1_gg_ .___SText_1f2i1_gg_:not(:last-child){margin-right:8px}.___STabLineItem_1f2i1_gg_ .___SAddon_1f2i1_gg_:not(:last-child){margin-right:8px}.___SIndicator_1f2i1_gg_,.___STabLineItem_1f2i1_gg_:after{position:absolute;display:block;bottom:-1px;height:2px}.___SIndicator_1f2i1_gg_{transition:transform .5s ease;background-color:#008ff8;will-change:transform}.___STabLineItem_1f2i1_gg_.__selected_1f2i1_gg_{flex-shrink:0}.___STabLineItem_1f2i1_gg_.__disabled_1f2i1_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STabLineItem_1f2i1_gg_.__keyboardFocused_1f2i1_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SText_1f2i1_gg_{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_1f2i1_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_1f2i1_gg_._size_m_1f2i1_gg_{height:28px;min-width:18px;font-size:14px;line-height:1.42}.___STabLineItem_1f2i1_gg_._size_l_1f2i1_gg_{height:40px;min-width:26px;font-size:16px;line-height:1.5}.___STabLineItem_1f2i1_gg_._neighborLocation_left_1f2i1_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_1f2i1_gg_:after{transition:none}.___SIndicator_1f2i1_gg_{transition:none}}"
60
60
  /*__inner_css_end__*/
61
- , "cn9r3_gg_")
61
+ , "1f2i1_gg_")
62
62
  /*__reshadow_css_end__*/
63
63
  , {
64
- "__STabLine": "___STabLine_cn9r3_gg_",
65
- "_underlined": "__underlined_cn9r3_gg_",
66
- "__STabLineItem": "___STabLineItem_cn9r3_gg_",
67
- "__SText": "___SText_cn9r3_gg_",
68
- "__SAddon": "___SAddon_cn9r3_gg_",
69
- "__SIndicator": "___SIndicator_cn9r3_gg_",
70
- "_selected": "__selected_cn9r3_gg_",
71
- "_disabled": "__disabled_cn9r3_gg_",
72
- "_keyboardFocused": "__keyboardFocused_cn9r3_gg_",
73
- "_size_m": "_size_m_cn9r3_gg_",
74
- "_size_l": "_size_l_cn9r3_gg_",
75
- "_neighborLocation_left": "_neighborLocation_left_cn9r3_gg_"
64
+ "__STabLine": "___STabLine_1f2i1_gg_",
65
+ "_underlined": "__underlined_1f2i1_gg_",
66
+ "__STabLineItem": "___STabLineItem_1f2i1_gg_",
67
+ "__SText": "___SText_1f2i1_gg_",
68
+ "__SAddon": "___SAddon_1f2i1_gg_",
69
+ "__SIndicator": "___SIndicator_1f2i1_gg_",
70
+ "_selected": "__selected_1f2i1_gg_",
71
+ "_disabled": "__disabled_1f2i1_gg_",
72
+ "_keyboardFocused": "__keyboardFocused_1f2i1_gg_",
73
+ "_size_m": "_size_m_1f2i1_gg_",
74
+ "_size_l": "_size_l_1f2i1_gg_",
75
+ "_neighborLocation_left": "_neighborLocation_left_1f2i1_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
+ line-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
+ line-height: var(--lh-300);
124
126
  }
125
127
 
126
128
  STabLineItem[neighborLocation='left'] {
@@ -33,23 +33,23 @@ var style = (
33
33
  /*__reshadow_css_start__*/
34
34
  _sstyled.insert(
35
35
  /*__inner_css_start__*/
36
- ".___STabLine_cn9r3_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_cn9r3_gg_.__underlined_cn9r3_gg_{border-bottom:1px solid #c4c7cf}.___STabLineItem_cn9r3_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_cn9r3_gg_::-moz-focus-inner{border:none;padding:0}.___STabLineItem_cn9r3_gg_:active,.___STabLineItem_cn9r3_gg_:focus,.___STabLineItem_cn9r3_gg_:hover{outline:0;text-decoration:none}.___STabLineItem_cn9r3_gg_:after{content:\"\";left:0;width:100%;background-color:transparent;transition:background-color .2s}.___STabLineItem_cn9r3_gg_:hover:after{background-color:#c4c7cf}.___STabLineItem_cn9r3_gg_ .___SText_cn9r3_gg_:not(:last-child){margin-right:8px}.___STabLineItem_cn9r3_gg_ .___SAddon_cn9r3_gg_:not(:last-child){margin-right:8px}.___SIndicator_cn9r3_gg_,.___STabLineItem_cn9r3_gg_:after{position:absolute;display:block;bottom:-1px;height:2px}.___SIndicator_cn9r3_gg_{transition:transform .5s ease;background-color:#008ff8;will-change:transform}.___STabLineItem_cn9r3_gg_.__selected_cn9r3_gg_{flex-shrink:0}.___STabLineItem_cn9r3_gg_.__disabled_cn9r3_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STabLineItem_cn9r3_gg_.__keyboardFocused_cn9r3_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SText_cn9r3_gg_{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_cn9r3_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_cn9r3_gg_._size_m_cn9r3_gg_{height:28px;min-width:18px;font-size:14px}.___STabLineItem_cn9r3_gg_._size_l_cn9r3_gg_{height:40px;min-width:26px;font-size:16px}.___STabLineItem_cn9r3_gg_._neighborLocation_left_cn9r3_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_cn9r3_gg_:after{transition:none}.___SIndicator_cn9r3_gg_{transition:none}}"
36
+ ".___STabLine_1f2i1_gg_{position:relative;display:flex;width:100%;max-width:100%}.___STabLine_1f2i1_gg_.__underlined_1f2i1_gg_{border-bottom:1px solid #c4c7cf}.___STabLineItem_1f2i1_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_1f2i1_gg_::-moz-focus-inner{border:none;padding:0}.___STabLineItem_1f2i1_gg_:active,.___STabLineItem_1f2i1_gg_:focus,.___STabLineItem_1f2i1_gg_:hover{outline:0;text-decoration:none}.___STabLineItem_1f2i1_gg_:after{content:\"\";left:0;width:100%;background-color:transparent;transition:background-color .2s}.___STabLineItem_1f2i1_gg_:hover:after{background-color:#c4c7cf}.___STabLineItem_1f2i1_gg_ .___SText_1f2i1_gg_:not(:last-child){margin-right:8px}.___STabLineItem_1f2i1_gg_ .___SAddon_1f2i1_gg_:not(:last-child){margin-right:8px}.___SIndicator_1f2i1_gg_,.___STabLineItem_1f2i1_gg_:after{position:absolute;display:block;bottom:-1px;height:2px}.___SIndicator_1f2i1_gg_{transition:transform .5s ease;background-color:#008ff8;will-change:transform}.___STabLineItem_1f2i1_gg_.__selected_1f2i1_gg_{flex-shrink:0}.___STabLineItem_1f2i1_gg_.__disabled_1f2i1_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STabLineItem_1f2i1_gg_.__keyboardFocused_1f2i1_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SText_1f2i1_gg_{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SAddon_1f2i1_gg_{display:inline-flex;align-items:center;justify-content:center}.___STabLineItem_1f2i1_gg_._size_m_1f2i1_gg_{height:28px;min-width:18px;font-size:14px;line-height:1.42}.___STabLineItem_1f2i1_gg_._size_l_1f2i1_gg_{height:40px;min-width:26px;font-size:16px;line-height:1.5}.___STabLineItem_1f2i1_gg_._neighborLocation_left_1f2i1_gg_{margin-right:0}@media (prefers-reduced-motion){.___STabLineItem_1f2i1_gg_:after{transition:none}.___SIndicator_1f2i1_gg_{transition:none}}"
37
37
  /*__inner_css_end__*/
38
- , "cn9r3_gg_")
38
+ , "1f2i1_gg_")
39
39
  /*__reshadow_css_end__*/
40
40
  , {
41
- "__STabLine": "___STabLine_cn9r3_gg_",
42
- "_underlined": "__underlined_cn9r3_gg_",
43
- "__STabLineItem": "___STabLineItem_cn9r3_gg_",
44
- "__SText": "___SText_cn9r3_gg_",
45
- "__SAddon": "___SAddon_cn9r3_gg_",
46
- "__SIndicator": "___SIndicator_cn9r3_gg_",
47
- "_selected": "__selected_cn9r3_gg_",
48
- "_disabled": "__disabled_cn9r3_gg_",
49
- "_keyboardFocused": "__keyboardFocused_cn9r3_gg_",
50
- "_size_m": "_size_m_cn9r3_gg_",
51
- "_size_l": "_size_l_cn9r3_gg_",
52
- "_neighborLocation_left": "_neighborLocation_left_cn9r3_gg_"
41
+ "__STabLine": "___STabLine_1f2i1_gg_",
42
+ "_underlined": "__underlined_1f2i1_gg_",
43
+ "__STabLineItem": "___STabLineItem_1f2i1_gg_",
44
+ "__SText": "___SText_1f2i1_gg_",
45
+ "__SAddon": "___SAddon_1f2i1_gg_",
46
+ "__SIndicator": "___SIndicator_1f2i1_gg_",
47
+ "_selected": "__selected_1f2i1_gg_",
48
+ "_disabled": "__disabled_1f2i1_gg_",
49
+ "_keyboardFocused": "__keyboardFocused_1f2i1_gg_",
50
+ "_size_m": "_size_m_1f2i1_gg_",
51
+ "_size_l": "_size_l_1f2i1_gg_",
52
+ "_neighborLocation_left": "_neighborLocation_left_1f2i1_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
+ line-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
+ line-height: var(--lh-300);
124
126
  }
125
127
 
126
128
  STabLineItem[neighborLocation='left'] {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/tab-line",
3
3
  "description": "Semrush TabLine Component",
4
- "version": "3.0.7",
4
+ "version": "3.0.10",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",