@versini/ui-button 14.0.3 → 14.0.5
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/dist/277.js +2 -6
- package/dist/370.js +1 -1
- package/dist/726.js +1 -1
- package/dist/795.js +1 -1
- package/dist/946.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/ButtonCopy.js +1 -1
- package/dist/components/Button/ButtonGroup.js +1 -1
- package/dist/components/Button/ButtonIcon.js +1 -1
- package/dist/components/Button/ButtonLink.js +1 -1
- package/package.json +2 -2
package/dist/277.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-button v14.0.
|
|
2
|
+
@versini/ui-button v14.0.5
|
|
3
3
|
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -179,15 +179,11 @@ const getButtonTextCopyClasses = ({ mode, noBackground, truncate, variant })=>{
|
|
|
179
179
|
return clsx(NOT_PLUME, TEXT_COPY_LIGHTER, truncateClass);
|
|
180
180
|
}
|
|
181
181
|
/* v8 ignore stop */ };
|
|
182
|
-
// Aqua-style split background overlay:
|
|
183
|
-
// - Top half: flat white overlay (light, uniform)
|
|
184
|
-
// - Bottom half: starts darker, gradually lightens toward the bottom edge
|
|
185
|
-
const BG_SPLIT_OVERLAY = "bg-[linear-gradient(to_bottom,oklch(1_0_0/0.2)_50%,oklch(0_0_0/0.1)_50%,oklch(1_0_0/0.05)_100%)]";
|
|
186
182
|
const getButtonBackgroundClasses = ({ mode, noBackground, variant, splitBackground })=>{
|
|
187
183
|
if (noBackground) {
|
|
188
184
|
return;
|
|
189
185
|
}
|
|
190
|
-
const splitClass = splitBackground ?
|
|
186
|
+
const splitClass = splitBackground ? "av-bg-split-overlay" : "";
|
|
191
187
|
if (isPrimary(variant)) {
|
|
192
188
|
return clsx(splitClass, {
|
|
193
189
|
[BG_ACTION_LIGHT]: isLight(mode),
|
package/dist/370.js
CHANGED
package/dist/726.js
CHANGED
package/dist/795.js
CHANGED
package/dist/946.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-button",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"sideEffects": [
|
|
75
75
|
"**/*.css"
|
|
76
76
|
],
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "738b2918169bc39087fc7dc4b04752970b06087e"
|
|
78
78
|
}
|