@semcore/button 16.0.13-prerelease.9 → 16.1.0-prerelease.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/CHANGELOG.md +3 -3
- package/lib/cjs/component/AbstractButton/AbstractButton.js +165 -100
- package/lib/cjs/component/AbstractButton/AbstractButton.js.map +1 -1
- package/lib/cjs/component/AbstractButton/AbstractButton.type.js.map +1 -1
- package/lib/cjs/component/AbstractButton/SpinButton.js +10 -9
- package/lib/cjs/component/AbstractButton/SpinButton.js.map +1 -1
- package/lib/cjs/component/Button/Button.js +63 -54
- package/lib/cjs/component/Button/Button.js.map +1 -1
- package/lib/cjs/component/Button/Button.type.js.map +1 -1
- package/lib/cjs/component/Button/button.shadow.css +79 -79
- package/lib/cjs/component/ButtonLink/ButtonLink.js +59 -51
- package/lib/cjs/component/ButtonLink/ButtonLink.js.map +1 -1
- package/lib/cjs/component/ButtonLink/buttonLink.shadow.css +13 -13
- package/lib/cjs/index.js +7 -7
- package/lib/cjs/index.js.map +1 -1
- package/lib/es6/component/AbstractButton/AbstractButton.js +164 -97
- package/lib/es6/component/AbstractButton/AbstractButton.js.map +1 -1
- package/lib/es6/component/AbstractButton/AbstractButton.type.js.map +1 -1
- package/lib/es6/component/AbstractButton/SpinButton.js +7 -6
- package/lib/es6/component/AbstractButton/SpinButton.js.map +1 -1
- package/lib/es6/component/Button/Button.js +56 -47
- package/lib/es6/component/Button/Button.js.map +1 -1
- package/lib/es6/component/Button/Button.type.js.map +1 -1
- package/lib/es6/component/Button/button.shadow.css +79 -79
- package/lib/es6/component/ButtonLink/ButtonLink.js +52 -44
- package/lib/es6/component/ButtonLink/ButtonLink.js.map +1 -1
- package/lib/es6/component/ButtonLink/buttonLink.shadow.css +13 -13
- package/lib/esm/component/AbstractButton/AbstractButton.mjs +136 -98
- package/lib/esm/component/AbstractButton/SpinButton.mjs +6 -6
- package/lib/esm/component/Button/Button.mjs +56 -47
- package/lib/esm/component/Button/button.shadow.css +79 -79
- package/lib/esm/component/ButtonLink/ButtonLink.mjs +50 -44
- package/lib/esm/component/ButtonLink/buttonLink.shadow.css +13 -13
- package/lib/types/component/AbstractButton/AbstractButton.d.ts +6 -5
- package/lib/types/component/AbstractButton/AbstractButton.type.d.ts +4 -2
- package/lib/types/component/Button/Button.type.d.ts +18 -2
- package/package.json +9 -6
- package/src/component/AbstractButton/AbstractButton.tsx +77 -58
- package/src/component/AbstractButton/AbstractButton.type.ts +4 -2
- package/src/component/Button/Button.tsx +1 -1
- package/src/component/Button/Button.type.ts +14 -1
- package/src/component/Button/button.shadow.css +79 -79
- package/src/component/ButtonLink/ButtonLink.tsx +1 -1
- package/src/component/ButtonLink/buttonLink.shadow.css +13 -13
|
@@ -2,7 +2,7 @@ SButton {
|
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
font-family: inherit;
|
|
4
4
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
5
|
-
color: var(--intergalactic-text-link,
|
|
5
|
+
color: var(--intergalactic-text-link, oklch(0.53 0.21 263));
|
|
6
6
|
line-height: normal;
|
|
7
7
|
position: relative;
|
|
8
8
|
cursor: pointer;
|
|
@@ -28,42 +28,43 @@ SButton {
|
|
|
28
28
|
&[active],
|
|
29
29
|
&:hover,
|
|
30
30
|
&:active {
|
|
31
|
-
color: var(--intergalactic-text-link-hover-active,
|
|
31
|
+
color: var(--intergalactic-text-link-hover-active, oklch(0.51 0.202 263));
|
|
32
32
|
|
|
33
33
|
& SText {
|
|
34
|
-
|
|
34
|
+
border-color: currentColor;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&[enableVisited]:visited,
|
|
39
39
|
&[enableVisited]:visited:hover {
|
|
40
|
-
color: var(--intergalactic-text-link-visited,
|
|
40
|
+
color: var(--intergalactic-text-link-visited, oklch(0.53 0.26 296));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
SText {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
border-bottom-width: 1px;
|
|
45
|
+
border-bottom-style: solid;
|
|
46
|
+
border-color: transparent;
|
|
47
|
+
transition: border-bottom-color 0.15s ease-in-out;
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
SButton[disabled] {
|
|
50
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
52
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
51
53
|
cursor: default;
|
|
52
54
|
/* Disable link interactions */
|
|
53
55
|
pointer-events: none;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
SButton[use='secondary'] {
|
|
57
|
-
color: var(--intergalactic-text-hint,
|
|
59
|
+
color: var(--intergalactic-text-hint, oklch(0.088 0.026 147.7 / 0.583));
|
|
58
60
|
|
|
59
61
|
&[active],
|
|
60
62
|
&:active,
|
|
61
63
|
&:hover {
|
|
62
|
-
color: var(--intergalactic-text-hint-hover-active,
|
|
64
|
+
color: var(--intergalactic-text-hint-hover-active, oklch(0.086 0.026 145.8 / 0.605));
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
SText {
|
|
66
|
-
box-shadow: none;
|
|
67
68
|
border-bottom-width: 1px;
|
|
68
69
|
border-bottom-style: dashed;
|
|
69
70
|
border-color: currentColor;
|
|
@@ -72,7 +73,7 @@ SButton[use='secondary'] {
|
|
|
72
73
|
|
|
73
74
|
SInner {
|
|
74
75
|
display: inline-flex;
|
|
75
|
-
align-items:
|
|
76
|
+
align-items: center;
|
|
76
77
|
justify-content: center;
|
|
77
78
|
height: 100%;
|
|
78
79
|
width: 100%;
|
|
@@ -81,10 +82,9 @@ SInner {
|
|
|
81
82
|
SAddon {
|
|
82
83
|
display: inline-flex;
|
|
83
84
|
justify-content: center;
|
|
84
|
-
align-items:
|
|
85
|
+
align-items: center;
|
|
85
86
|
vertical-align: middle;
|
|
86
87
|
pointer-events: none;
|
|
87
|
-
align-self: center;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
SButton SAddon {
|