@semcore/base-trigger 16.5.0-prerelease.3 → 16.5.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/base-trigger",
3
3
  "description": "Semrush BaseTrigger Component",
4
- "version": "16.5.0-prerelease.3",
4
+ "version": "16.5.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,15 +14,15 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/dot": "16.1.0-prerelease.3",
18
- "@semcore/icon": "16.8.0-prerelease.3",
19
- "@semcore/spin": "16.1.0-prerelease.3",
20
- "@semcore/flex-box": "16.1.0-prerelease.3",
21
- "@semcore/neighbor-location": "16.1.0-prerelease.3",
22
- "@semcore/tooltip": "16.1.0-prerelease.3"
17
+ "@semcore/dot": "16.1.0",
18
+ "@semcore/icon": "16.8.0",
19
+ "@semcore/spin": "16.1.0",
20
+ "@semcore/flex-box": "16.1.0",
21
+ "@semcore/neighbor-location": "16.1.0",
22
+ "@semcore/tooltip": "16.1.0"
23
23
  },
24
24
  "peerDependencies": {
25
- "@semcore/base-components": "^16.6.0-prerelease.3"
25
+ "@semcore/base-components": "^16.6.0"
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",
@@ -30,9 +30,9 @@
30
30
  "directory": "semcore/base-trigger"
31
31
  },
32
32
  "devDependencies": {
33
- "@semcore/core": "16.6.0-prerelease.3",
33
+ "@semcore/core": "16.6.0",
34
34
  "@semcore/testing-utils": "1.0.0",
35
- "@semcore/tooltip": "16.1.0-prerelease.3"
35
+ "@semcore/tooltip": "16.1.0"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "pnpm semcore-builder --source=js && pnpm vite build"
@@ -1,96 +0,0 @@
1
- SLinkTrigger {
2
- display: inline-flex;
3
- align-items: center;
4
- line-height: normal;
5
- position: relative;
6
- touch-action: manipulation;
7
- white-space: nowrap;
8
- user-select: none;
9
- box-sizing: border-box;
10
- padding: 0;
11
- margin: 0;
12
- text-decoration: none;
13
- -webkit-tap-highlight-color: transparent;
14
- overflow: visible;
15
- outline: 0;
16
- vertical-align: middle;
17
- font-family: inherit;
18
- cursor: pointer;
19
- color: var(--intergalactic-text-link, oklch(0.53 0.21 263));
20
- background: none;
21
- transition: color 0.15s ease-in-out;
22
- border: 0;
23
-
24
- &[active],
25
- &:hover,
26
- &:active {
27
- color: var(--intergalactic-text-link-hover-active, oklch(0.51 0.202 263));
28
-
29
- & SText {
30
- border-color: currentColor;
31
- }
32
- }
33
-
34
- & SText {
35
- border-bottom-width: 1px;
36
- border-bottom-style: solid;
37
- border-color: transparent;
38
- transition: border-bottom-color 0.15s ease-in-out;
39
- text-overflow: ellipsis;
40
- overflow: hidden;
41
- }
42
- }
43
-
44
- SLinkTrigger[color] {
45
- color: var(--color);
46
-
47
- &:hover {
48
- filter: brightness(0.8);
49
- }
50
- }
51
-
52
- SLinkTrigger[disabled] {
53
- opacity: var(--intergalactic-disabled-opacity, 0.4);
54
- cursor: default;
55
- pointer-events: none;
56
- }
57
-
58
- SAddon,
59
- SLinkAddon {
60
- display: inline-flex;
61
- align-items: center;
62
- justify-content: center;
63
- flex-shrink: 0;
64
- margin-bottom: var(--intergalactic-spacing-05x, 2px);
65
-
66
- &:not(:only-child):first-child {
67
- margin-right: var(--intergalactic-spacing-1x, 4px);
68
- }
69
-
70
- &:not(:only-child):last-child {
71
- margin-left: var(--intergalactic-spacing-1x, 4px);
72
- }
73
- }
74
-
75
- SLinkAddon {
76
- width: 16px;
77
- height: 16px;
78
- }
79
-
80
- SLinkTrigger[size='m'] {
81
- font-size: var(--intergalactic-fs-200, 14px);
82
- }
83
-
84
- SLinkTrigger[size='l'] {
85
- font-size: var(--intergalactic-fs-300, 16px);
86
- }
87
-
88
- @media (prefers-reduced-motion) {
89
- SLinkTrigger {
90
- transition: none;
91
-
92
- & SText {
93
- transition: none;
94
- }
95
- }
96
- }
@@ -1,96 +0,0 @@
1
- SLinkTrigger {
2
- display: inline-flex;
3
- align-items: center;
4
- line-height: normal;
5
- position: relative;
6
- touch-action: manipulation;
7
- white-space: nowrap;
8
- user-select: none;
9
- box-sizing: border-box;
10
- padding: 0;
11
- margin: 0;
12
- text-decoration: none;
13
- -webkit-tap-highlight-color: transparent;
14
- overflow: visible;
15
- outline: 0;
16
- vertical-align: middle;
17
- font-family: inherit;
18
- cursor: pointer;
19
- color: var(--intergalactic-text-link, oklch(0.53 0.21 263));
20
- background: none;
21
- transition: color 0.15s ease-in-out;
22
- border: 0;
23
-
24
- &[active],
25
- &:hover,
26
- &:active {
27
- color: var(--intergalactic-text-link-hover-active, oklch(0.51 0.202 263));
28
-
29
- & SText {
30
- border-color: currentColor;
31
- }
32
- }
33
-
34
- & SText {
35
- border-bottom-width: 1px;
36
- border-bottom-style: solid;
37
- border-color: transparent;
38
- transition: border-bottom-color 0.15s ease-in-out;
39
- text-overflow: ellipsis;
40
- overflow: hidden;
41
- }
42
- }
43
-
44
- SLinkTrigger[color] {
45
- color: var(--color);
46
-
47
- &:hover {
48
- filter: brightness(0.8);
49
- }
50
- }
51
-
52
- SLinkTrigger[disabled] {
53
- opacity: var(--intergalactic-disabled-opacity, 0.4);
54
- cursor: default;
55
- pointer-events: none;
56
- }
57
-
58
- SAddon,
59
- SLinkAddon {
60
- display: inline-flex;
61
- align-items: center;
62
- justify-content: center;
63
- flex-shrink: 0;
64
- margin-bottom: var(--intergalactic-spacing-05x, 2px);
65
-
66
- &:not(:only-child):first-child {
67
- margin-right: var(--intergalactic-spacing-1x, 4px);
68
- }
69
-
70
- &:not(:only-child):last-child {
71
- margin-left: var(--intergalactic-spacing-1x, 4px);
72
- }
73
- }
74
-
75
- SLinkAddon {
76
- width: 16px;
77
- height: 16px;
78
- }
79
-
80
- SLinkTrigger[size='m'] {
81
- font-size: var(--intergalactic-fs-200, 14px);
82
- }
83
-
84
- SLinkTrigger[size='l'] {
85
- font-size: var(--intergalactic-fs-300, 16px);
86
- }
87
-
88
- @media (prefers-reduced-motion) {
89
- SLinkTrigger {
90
- transition: none;
91
-
92
- & SText {
93
- transition: none;
94
- }
95
- }
96
- }
@@ -1,96 +0,0 @@
1
- SLinkTrigger {
2
- display: inline-flex;
3
- align-items: center;
4
- line-height: normal;
5
- position: relative;
6
- touch-action: manipulation;
7
- white-space: nowrap;
8
- user-select: none;
9
- box-sizing: border-box;
10
- padding: 0;
11
- margin: 0;
12
- text-decoration: none;
13
- -webkit-tap-highlight-color: transparent;
14
- overflow: visible;
15
- outline: 0;
16
- vertical-align: middle;
17
- font-family: inherit;
18
- cursor: pointer;
19
- color: var(--intergalactic-text-link, oklch(0.53 0.21 263));
20
- background: none;
21
- transition: color 0.15s ease-in-out;
22
- border: 0;
23
-
24
- &[active],
25
- &:hover,
26
- &:active {
27
- color: var(--intergalactic-text-link-hover-active, oklch(0.51 0.202 263));
28
-
29
- & SText {
30
- border-color: currentColor;
31
- }
32
- }
33
-
34
- & SText {
35
- border-bottom-width: 1px;
36
- border-bottom-style: solid;
37
- border-color: transparent;
38
- transition: border-bottom-color 0.15s ease-in-out;
39
- text-overflow: ellipsis;
40
- overflow: hidden;
41
- }
42
- }
43
-
44
- SLinkTrigger[color] {
45
- color: var(--color);
46
-
47
- &:hover {
48
- filter: brightness(0.8);
49
- }
50
- }
51
-
52
- SLinkTrigger[disabled] {
53
- opacity: var(--intergalactic-disabled-opacity, 0.4);
54
- cursor: default;
55
- pointer-events: none;
56
- }
57
-
58
- SAddon,
59
- SLinkAddon {
60
- display: inline-flex;
61
- align-items: center;
62
- justify-content: center;
63
- flex-shrink: 0;
64
- margin-bottom: var(--intergalactic-spacing-05x, 2px);
65
-
66
- &:not(:only-child):first-child {
67
- margin-right: var(--intergalactic-spacing-1x, 4px);
68
- }
69
-
70
- &:not(:only-child):last-child {
71
- margin-left: var(--intergalactic-spacing-1x, 4px);
72
- }
73
- }
74
-
75
- SLinkAddon {
76
- width: 16px;
77
- height: 16px;
78
- }
79
-
80
- SLinkTrigger[size='m'] {
81
- font-size: var(--intergalactic-fs-200, 14px);
82
- }
83
-
84
- SLinkTrigger[size='l'] {
85
- font-size: var(--intergalactic-fs-300, 16px);
86
- }
87
-
88
- @media (prefers-reduced-motion) {
89
- SLinkTrigger {
90
- transition: none;
91
-
92
- & SText {
93
- transition: none;
94
- }
95
- }
96
- }