@enderfall/ui 0.2.23 → 0.2.25

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": "@enderfall/ui",
3
3
  "private": false,
4
- "version": "0.2.23",
4
+ "version": "0.2.25",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -18,13 +18,13 @@
18
18
  }
19
19
 
20
20
  .ef-button:not(:disabled):hover {
21
- box-shadow: var(--ef-button-hover-shadow, var(--shadow));
22
- transform: var(--ef-button-hover-transform, translateY(-1px));
21
+ box-shadow: var(--ef-button-current-hover-shadow, var(--ef-button-hover-shadow, var(--shadow)));
22
+ transform: none;
23
23
  }
24
24
 
25
25
  .ef-button:focus-visible {
26
- box-shadow: var(--ef-button-focus-shadow, var(--shadow));
27
- transform: var(--ef-button-hover-transform, translateY(-1px));
26
+ box-shadow: var(--ef-button-current-focus-shadow, var(--ef-button-focus-shadow, var(--shadow)));
27
+ transform: none;
28
28
  }
29
29
 
30
30
  .ef-button--glow {
@@ -34,17 +34,20 @@
34
34
  .ef-button--glow:not(:disabled):hover {
35
35
  box-shadow: var(--ef-button-current-glow-shadow, var(--ef-button-glow-shadow, 0 0 24px rgba(124, 77, 255, 0.45)));
36
36
  animation: none;
37
+ transform: none;
37
38
  }
38
39
 
39
40
  .ef-button--glow:focus-visible {
40
41
  box-shadow: var(--ef-button-current-glow-shadow, var(--ef-button-glow-shadow, 0 0 24px rgba(124, 77, 255, 0.45)));
41
42
  animation: none;
43
+ transform: none;
42
44
  }
43
45
 
44
46
  .ef-button--hover-glow:not(:disabled):hover,
45
47
  .ef-button--hover-glow:focus-visible {
46
48
  box-shadow: var(--ef-button-current-glow-shadow, var(--ef-button-glow-shadow, 0 0 24px rgba(124, 77, 255, 0.45)));
47
49
  animation: none;
50
+ transform: none;
48
51
  }
49
52
 
50
53
  .ef-button:disabled {
@@ -56,12 +59,19 @@
56
59
  var(--ef-button-border-soft) border-box;
57
60
  }
58
61
 
59
- .ef-button.primary {
60
- background:
61
- linear-gradient(var(--ef-button-surface), var(--ef-button-surface)) padding-box,
62
- var(--ef-button-border) border-box;
63
- color: var(--ef-button-text);
64
- }
62
+ .ef-button.primary {
63
+ background:
64
+ linear-gradient(var(--ef-button-surface), var(--ef-button-surface)) padding-box,
65
+ var(--ef-button-border) border-box;
66
+ color: var(--ef-button-text);
67
+ }
68
+
69
+ .ef-button.primary.ef-button--hover-glow:not(:disabled):hover,
70
+ .ef-button.primary.ef-button--hover-glow:focus-visible,
71
+ .ef-button.primary.ef-button--glow:not(:disabled):hover,
72
+ .ef-button.primary.ef-button--glow:focus-visible {
73
+ transform: none;
74
+ }
65
75
 
66
76
  .ef-button.ghost {
67
77
  --ef-button-current-glow-shadow: var(--ef-button-glow-shadow, 0 0 24px rgba(124, 77, 255, 0.45));
@@ -183,11 +193,13 @@
183
193
  .ef-button.tab.ef-button--glow:not(:disabled):hover,
184
194
  .ef-button.tab.ef-button--hover-glow:not(:disabled):hover {
185
195
  box-shadow: var(--ef-button-current-glow-shadow, var(--ef-button-glow-shadow, 0 0 24px rgba(124, 77, 255, 0.45)));
196
+ transform: none;
186
197
  }
187
198
 
188
199
  .ef-button.tab.ef-button--glow:focus-visible,
189
200
  .ef-button.tab.ef-button--hover-glow:focus-visible {
190
201
  box-shadow: var(--ef-button-current-glow-shadow, var(--ef-button-glow-shadow, 0 0 24px rgba(124, 77, 255, 0.45)));
202
+ transform: none;
191
203
  }
192
204
 
193
205
  .theme-preview {