@g4rcez/components 0.0.8 → 0.0.9
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.css +1 -1
- package/dist/index.js +151 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +7 -1
package/dist/index.mjs
CHANGED
|
@@ -8419,7 +8419,7 @@ const ed = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, td =
|
|
|
8419
8419
|
}, Zc = Tt(function({ as: e, ...n }, r) {
|
|
8420
8420
|
return /* @__PURE__ */ I(e || "span", { ...n, ref: r });
|
|
8421
8421
|
}), Yw = qw(
|
|
8422
|
-
"inline-flex gap-1.5 text-main-foreground border-2 border-transparent items-center
|
|
8422
|
+
"inline-flex gap-1.5 text-main-foreground border-2 border-transparent items-center justify-center align-middle cursor-pointer whitespace-nowrap font-medium transition-colors ease-in disabled:cursor-not-allowed disabled:bg-opacity-50 disabled:text-opacity-60 focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring",
|
|
8423
8423
|
{
|
|
8424
8424
|
variants: {
|
|
8425
8425
|
size: {
|
|
@@ -8436,7 +8436,7 @@ const ed = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, td =
|
|
|
8436
8436
|
},
|
|
8437
8437
|
theme: {
|
|
8438
8438
|
raw: "",
|
|
8439
|
-
main: "bg-primary text-primary-foreground",
|
|
8439
|
+
main: "bg-primary hover:bg-primary-hover text-primary-foreground",
|
|
8440
8440
|
loading: "animate-pulse bg-disabled duration-700 opacity-70",
|
|
8441
8441
|
disabled: "bg-disabled duration-700 opacity-70"
|
|
8442
8442
|
}
|
|
@@ -8476,8 +8476,8 @@ const ed = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, td =
|
|
|
8476
8476
|
type: e.type || "button",
|
|
8477
8477
|
"data-active": t.active === e.name ? "true" : "false",
|
|
8478
8478
|
className: hn(
|
|
8479
|
-
"border-main-bg flex flex-1 items-center gap-1.5 rounded-sm border-r-2 px-4 py-2 last:border-r-0
|
|
8480
|
-
"hover:
|
|
8479
|
+
"border-main-bg flex flex-1 items-center gap-1.5 rounded-sm border-r-2 px-4 py-2 last:border-r-0",
|
|
8480
|
+
"hover:text-main cursor-pointer justify-center whitespace-nowrap align-middle font-medium",
|
|
8481
8481
|
"focus-visible:ring-ring shadow-sm focus-visible:outline-none focus-visible:ring-2 disabled:text-opacity-80",
|
|
8482
8482
|
"data-[active=true]:bg-main-bg text-body data-[active=true]:text-main transition-colors ease-in disabled:cursor-not-allowed disabled:bg-opacity-50"
|
|
8483
8483
|
)
|