@underverse-ui/underverse 0.1.16 → 0.1.17
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/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -212,6 +212,7 @@ var Button = (0, import_react.forwardRef)(
|
|
|
212
212
|
preventDoubleClick = false,
|
|
213
213
|
lockMs = 600,
|
|
214
214
|
asContainer = false,
|
|
215
|
+
noWrap = true,
|
|
215
216
|
...rest
|
|
216
217
|
}, ref) => {
|
|
217
218
|
const baseStyles = asContainer ? "relative inline-flex justify-center rounded-md font-medium transition-colors duration-150 ease-soft outline-none focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background active:translate-y-px" : "relative inline-flex items-center justify-center gap-2 rounded-md font-medium overflow-hidden transition-colors duration-150 ease-soft outline-none focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background active:translate-y-px";
|
|
@@ -256,6 +257,7 @@ var Button = (0, import_react.forwardRef)(
|
|
|
256
257
|
variantStyle,
|
|
257
258
|
sizeStyle,
|
|
258
259
|
"group",
|
|
260
|
+
noWrap && "whitespace-nowrap",
|
|
259
261
|
{
|
|
260
262
|
"cursor-pointer hover:opacity-95": !computedDisabled,
|
|
261
263
|
"opacity-50 cursor-not-allowed": computedDisabled,
|