@opencxh/ui-kit 3.124.9 → 3.124.11
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -74,7 +74,7 @@ const bt = {
|
|
|
74
74
|
secondary: "bg-gray-100 text-text hover:bg-surface-hover disabled:bg-surface-hover",
|
|
75
75
|
// No resting fill, so no disabled fill either — a greyed-out plate where
|
|
76
76
|
// there was nothing reads as a different control, not as a disabled one.
|
|
77
|
-
outline: "border border-border text-accent hover:bg-
|
|
77
|
+
outline: "border border-border text-accent hover:bg-surface-hover",
|
|
78
78
|
ghost: "text-text-muted hover:bg-surface-hover hover:text-text",
|
|
79
79
|
destructive: "border border-danger-border bg-danger-soft text-danger-fg hover:border-danger disabled:bg-surface-hover",
|
|
80
80
|
// Solid status fills. Reserved for a control whose colour IS the answer —
|
|
@@ -237,7 +237,7 @@ function yt(t) {
|
|
|
237
237
|
}[t];
|
|
238
238
|
}
|
|
239
239
|
const Nt = {
|
|
240
|
-
none: "border-none",
|
|
240
|
+
none: "border-none hover:bg-surface-hover hover:text-text",
|
|
241
241
|
default: "border-border text-text-muted hover:bg-surface-hover hover:text-text",
|
|
242
242
|
muted: "border-border text-text-subtle hover:bg-surface-hover hover:text-text",
|
|
243
243
|
warning: "border-warning-border bg-warning-soft text-warning-fg hover:bg-surface-hover",
|
|
@@ -487,7 +487,7 @@ function Re({
|
|
|
487
487
|
menuLabel: y = "More options"
|
|
488
488
|
}) {
|
|
489
489
|
const f = l || u, m = o.length > 0;
|
|
490
|
-
return /* @__PURE__ */ c("div", { className: "inline-flex items-center", children: [
|
|
490
|
+
return /* @__PURE__ */ c("div", { className: d("inline-flex items-center", n === "primary" && "gap-0.5"), children: [
|
|
491
491
|
/* @__PURE__ */ e(
|
|
492
492
|
ne,
|
|
493
493
|
{
|