@firstnoodle-ui/bui 0.0.21 → 0.0.22
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.mjs +3 -3
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -94,7 +94,7 @@ const h7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
|
|
|
94
94
|
return r.variant === "fill" || r.variant === "destructive" ? f.push("text-light") : r.variant === "outline" || r.variant === "text" ? f.push("text-blue-500") : (r.variant === "outlineSubtle" || r.variant === "textSubtle") && f.push("text-slate-700 dark:text-slate-200"), f.join(" ");
|
|
95
95
|
}), a = ce(() => {
|
|
96
96
|
const f = [];
|
|
97
|
-
switch (r.rounded && r.label ? f.push(r.small ? "px-2" : "px-3") : f.push(r.loading && r.icon && !r.label ? "px-0" : "px-2"), r.small ? f.push("h-6") : f.push("h-8"), r.icon && !r.label && (r.small ? f.push("w-6") : f.push("w-8")), r.disabled ? f.push("opacity-75 cursor-not-allowed") : f.push("cursor-pointer"), r.fullwidth && f.push("w-full"), f.push(r.spaceBetween ? "justify-between" : "justify-center"), r.rounded ? f.push("rounded-full") : f.push(r.small ? "rounded
|
|
97
|
+
switch (r.rounded && r.label ? f.push(r.small ? "px-2" : "px-3") : f.push(r.loading && r.icon && !r.label ? "px-0" : "px-2"), r.small ? f.push("h-6 text-xs") : f.push("h-8 text-sm"), r.icon && !r.label && (r.small ? f.push("w-6") : f.push("w-8")), r.disabled ? f.push("opacity-75 cursor-not-allowed") : f.push("cursor-pointer"), r.fullwidth && f.push("w-full"), f.push(r.spaceBetween ? "justify-between" : "justify-center"), r.rounded ? f.push("rounded-full") : f.push(r.small ? "rounded" : "rounded-lg"), r.variant) {
|
|
98
98
|
case "fill":
|
|
99
99
|
f.push(
|
|
100
100
|
...r.focus ? ["text-white bg-blue-700 border-blue-700 dark:bg-blue-500 dark:border-blue-500"] : [
|
|
@@ -179,7 +179,7 @@ const h7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
|
|
|
179
179
|
ref_key: "buttonRef",
|
|
180
180
|
ref: s,
|
|
181
181
|
to: f.routerLinkTo,
|
|
182
|
-
class: U(["z-0 relative inline-flex items-center gap-1 leading-none
|
|
182
|
+
class: U(["z-0 relative inline-flex items-center gap-1 leading-none border focus:z-10 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-black dark:focus-visible:outline-white", a.value]),
|
|
183
183
|
disabled: f.disabled || f.loading,
|
|
184
184
|
style: Pe(d.value),
|
|
185
185
|
onClick: u,
|
|
@@ -216,7 +216,7 @@ const h7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
|
|
|
216
216
|
ref: s,
|
|
217
217
|
to: f.routerLinkTo,
|
|
218
218
|
target: r.linkTarget,
|
|
219
|
-
class: U(["z-0 relative inline-flex items-center gap-1 leading-none
|
|
219
|
+
class: U(["z-0 relative inline-flex items-center gap-1 leading-none border focus:z-10 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-black dark:focus-visible:outline-white", a.value]),
|
|
220
220
|
disabled: f.disabled || f.loading,
|
|
221
221
|
style: Pe(d.value),
|
|
222
222
|
onClick: u,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firstnoodle-ui/bui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.22",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -67,6 +67,6 @@
|
|
|
67
67
|
"build": "vite build",
|
|
68
68
|
"typecheck": "vue-tsc -p tsconfig.app.json --noEmit",
|
|
69
69
|
"watch": "vite build --watch",
|
|
70
|
-
"release:publish": "pnpm publish --access public --otp=
|
|
70
|
+
"release:publish": "pnpm publish --access public --otp=562314 --no-git-checks"
|
|
71
71
|
}
|
|
72
72
|
}
|