@candy.thieves/ui-kit-lumos 0.0.28 → 0.0.29
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.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3323,20 +3323,20 @@ var M = {
|
|
|
3323
3323
|
outlined: "_outlined_298k9_128",
|
|
3324
3324
|
text: "_text_298k9_150"
|
|
3325
3325
|
}, P = (e) => {
|
|
3326
|
-
let { ref: t, as: n = "button", variant: r = "primary", disabled: i = !1, fullWidth: a,
|
|
3326
|
+
let { ref: t, as: n = "button", variant: r = "primary", disabled: i = !1, fullWidth: a, ...o } = e, s = typeof n == "string" && n.toLowerCase() === "a";
|
|
3327
3327
|
return /* @__PURE__ */ l(n, {
|
|
3328
3328
|
ref: t,
|
|
3329
|
-
className: d(N.button, "typography-h3", N[r], a && N.fullWidth
|
|
3330
|
-
...
|
|
3331
|
-
...
|
|
3329
|
+
className: d(N.button, "typography-h3", N[r], a && N.fullWidth),
|
|
3330
|
+
...s ? { "aria-disabled": i } : { disabled: i },
|
|
3331
|
+
...o
|
|
3332
3332
|
});
|
|
3333
3333
|
}, Kr = t((e, t) => {
|
|
3334
|
-
let { variant: n = "primary", fullWidth: r, as: i = "button", disabled: a = !1,
|
|
3334
|
+
let { variant: n = "primary", fullWidth: r, as: i = "button", disabled: a = !1, ...o } = e, s = i === "a";
|
|
3335
3335
|
return /* @__PURE__ */ l(i, {
|
|
3336
|
-
className: d(N.button, "typography-h3", N[n], r && N.fullWidth
|
|
3336
|
+
className: d(N.button, "typography-h3", N[n], r && N.fullWidth),
|
|
3337
3337
|
ref: t,
|
|
3338
|
-
...
|
|
3339
|
-
...
|
|
3338
|
+
...s ? { "aria-disabled": a } : { disabled: a },
|
|
3339
|
+
...o
|
|
3340
3340
|
});
|
|
3341
3341
|
});
|
|
3342
3342
|
Kr.displayName = "ButtonLegacy";
|