@versini/ui-button 11.3.2 → 11.3.4
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/common/constants.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/ButtonCopy.js +1 -1
- package/dist/components/Button/ButtonIcon.js +4 -1
- package/dist/components/Button/ButtonLink.js +1 -1
- package/dist/components/Button/utilities.js +2 -1
- package/dist/components/index.js +1 -1
- package/dist/components/private/BaseButton.js +1 -1
- package/dist/components/private/ButtonSort.js +1 -1
- package/package.json +2 -2
package/dist/common/constants.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-button v11.3.
|
|
2
|
+
@versini/ui-button v11.3.4
|
|
3
3
|
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -213,6 +213,9 @@ function ButtonIcon({ children, disabled = false, mode = "system", focusMode = "
|
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
const ButtonLabel = ({ labelRef, labelClass, label, labelInnerClass, initiallyHidden = false })=>{
|
|
216
|
+
if (!label && !initiallyHidden) {
|
|
217
|
+
return null;
|
|
218
|
+
}
|
|
216
219
|
return /*#__PURE__*/ jsx("span", {
|
|
217
220
|
ref: labelRef,
|
|
218
221
|
className: labelClass,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-button v11.3.
|
|
2
|
+
@versini/ui-button v11.3.4
|
|
3
3
|
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -380,6 +380,7 @@ const getButtonClasses = ({ type, className, raw, mode, focusMode, disabled, ful
|
|
|
380
380
|
}), {
|
|
381
381
|
"w-full": fullWidth,
|
|
382
382
|
"disabled:cursor-not-allowed disabled:opacity-50": disabled,
|
|
383
|
+
"cursor-pointer": !disabled,
|
|
383
384
|
relative: hasBadge
|
|
384
385
|
}, clsx({
|
|
385
386
|
"transition-[width] duration-300 ease-in": type === TYPE_ICON && animated
|
package/dist/components/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-button",
|
|
3
|
-
"version": "11.3.
|
|
3
|
+
"version": "11.3.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"sideEffects": [
|
|
76
76
|
"**/*.css"
|
|
77
77
|
],
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "32b4533c580b7b6b3cd3355a9c5471e67cecb1d3"
|
|
79
79
|
}
|