@semcore/tab-line 17.0.0-prerelease.34 → 17.0.0-prerelease.37
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 +1 -1
- package/lib/esm/TabLine.mjs +2 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/lib/esm/TabLine.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
import { sstyled,
|
|
2
|
+
import { sstyled, Component, assignProps, createComponent } from "@semcore/core";
|
|
3
3
|
import { Box, NeighborLocation } from "@semcore/base-components";
|
|
4
4
|
import addonTextChildren from "@semcore/core/lib/utils/addonTextChildren";
|
|
5
5
|
import a11yEnhance from "@semcore/core/lib/utils/enhances/a11yEnhance";
|
|
6
6
|
import { Text as Text$1 } from "@semcore/typography";
|
|
7
7
|
import React from "react";
|
|
8
|
-
/*!__reshadow-styles__:"./style/tab-line.shadow.css"*/
|
|
9
8
|
const style = (
|
|
10
9
|
/*__reshadow_css_start__*/
|
|
11
10
|
(sstyled.insert(
|
|
@@ -51,8 +50,7 @@ class TabLineRoot extends Component {
|
|
|
51
50
|
_defineProperty(this, "animationStartTimeout", -1);
|
|
52
51
|
_defineProperty(this, "buttonRefsList", []);
|
|
53
52
|
_defineProperty(this, "handleAnimationStart", () => {
|
|
54
|
-
|
|
55
|
-
if (((_a = this.state.animation) == null ? void 0 : _a.started) === false) {
|
|
53
|
+
if (this.state.animation?.started === false) {
|
|
56
54
|
this.setState({
|
|
57
55
|
animation: {
|
|
58
56
|
...this.state.animation,
|
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.0-prerelease.
|
|
4
|
+
"version": "17.0.0-prerelease.37",
|
|
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
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/typography": "^17.0.0-prerelease.
|
|
17
|
+
"@semcore/typography": "^17.0.0-prerelease.37"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@semcore/base-components": "^17.0.0 || ^17.0.0-0"
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"directory": "semcore/tab-line"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@semcore/core": "17.0.0-prerelease.
|
|
28
|
+
"@semcore/core": "17.0.0-prerelease.37",
|
|
29
29
|
"@semcore/testing-utils": "1.0.0",
|
|
30
|
-
"@semcore/base-components": "17.0.0-prerelease.
|
|
30
|
+
"@semcore/base-components": "17.0.0-prerelease.37"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|