@versini/ui-button 14.0.4 → 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 -7
- 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,16 +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 section: flat white overlay (light, uniform)
|
|
184
|
-
// - Middle: smooth blend zone between light and dark halves
|
|
185
|
-
// - Bottom section: starts darker, gradually lightens toward the bottom edge
|
|
186
|
-
const BG_SPLIT_OVERLAY = "bg-origin-border bg-[linear-gradient(to_bottom,oklch(1_0_0/0.2)_35%,oklch(0_0_0/0.1)_65%,oklch(1_0_0/0.05)_100%)]";
|
|
187
182
|
const getButtonBackgroundClasses = ({ mode, noBackground, variant, splitBackground })=>{
|
|
188
183
|
if (noBackground) {
|
|
189
184
|
return;
|
|
190
185
|
}
|
|
191
|
-
const splitClass = splitBackground ?
|
|
186
|
+
const splitClass = splitBackground ? "av-bg-split-overlay" : "";
|
|
192
187
|
if (isPrimary(variant)) {
|
|
193
188
|
return clsx(splitClass, {
|
|
194
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
|
}
|