@firstnoodle-ui/bui 0.0.25 → 0.0.27

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -40,7 +40,7 @@ const Z8 = /* @__PURE__ */ bn(Kf, [["render", Jf]]), _f = { class: "w-full space
40
40
  ])
41
41
  ]));
42
42
  }
43
- }), Xf = { class: "min-w-0 truncate" }, Za = /* @__PURE__ */ j({
43
+ }), Xf = { class: "py-1 min-w-0 leading-none truncate" }, Za = /* @__PURE__ */ j({
44
44
  __name: "ButtonLabel",
45
45
  props: {
46
46
  label: {}
@@ -102,7 +102,7 @@ const za = /* @__PURE__ */ bn(Qf, [["render", tp]]), Fa = /* @__PURE__ */ j({
102
102
  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(" ");
103
103
  }), a = ne(() => {
104
104
  const f = ["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"];
105
- 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) {
105
+ 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) {
106
106
  case "fill":
107
107
  f.push(
108
108
  ...r.focus ? ["text-white bg-blue-700 border-blue-700 dark:bg-blue-500 dark:border-blue-500"] : [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@firstnoodle-ui/bui",
3
3
  "type": "module",
4
- "version": "0.0.25",
4
+ "version": "0.0.27",
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=888890 --no-git-checks"
70
+ "release:publish": "pnpm publish --access public --otp=419818 --no-git-checks"
71
71
  }
72
72
  }