@geomak/ui 6.27.1 → 6.27.2

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 CHANGED
@@ -689,6 +689,17 @@ var VARIANT_CLASSES = {
689
689
  "disabled:border-foreground-muted disabled:text-foreground-muted disabled:cursor-not-allowed",
690
690
  "focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2"
691
691
  ].join(" "),
692
+ // Neutral, flat, hairline-bordered button — the quiet sibling of `secondary`
693
+ // (which carries the accent border). Mirrors the input border behaviour:
694
+ // hairline at rest, strong-hairline on hover. No shadow (flat at rest).
695
+ outline: [
696
+ "bg-surface text-foreground",
697
+ "border border-border hover:border-border-strong",
698
+ "hover:bg-surface-raised",
699
+ "active:bg-surface",
700
+ "disabled:text-foreground-muted disabled:cursor-not-allowed",
701
+ "focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2"
702
+ ].join(" "),
692
703
  ghost: [
693
704
  "bg-transparent text-foreground-secondary",
694
705
  "hover:bg-surface-raised hover:text-foreground",
@@ -5504,7 +5515,7 @@ function Pagination({
5504
5515
  }, [serverSide, options.perPage, picker]);
5505
5516
  const currentOpt = picker.find((o) => o.key === displayPerPageKey);
5506
5517
  const currentPerPageLabel = currentOpt?.label ?? currentOpt?.value ?? options.perPage ?? "";
5507
- const navBtn = (icon, disabled, onClick, title) => /* @__PURE__ */ jsxRuntime.jsx(IconButton, { type: "bordered", size: "sm", disabled, onClick, icon, title });
5518
+ const navBtn = (icon, disabled, onClick, title) => /* @__PURE__ */ jsxRuntime.jsx(Button_default, { variant: "outline", size: "sm", disabled, onClick, icon, className: "w-7 !px-0", "aria-label": title, title });
5508
5519
  const chevronRight = /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, className: "h-4 w-4", children: /* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9 5l7 7-7 7" }) });
5509
5520
  const doubleChevronRight = /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, className: "h-4 w-4", children: /* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M13 5l7 7-7 7M5 5l7 7-7 7" }) });
5510
5521
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center justify-end gap-x-4 gap-y-3 pt-3", children: [
@@ -5513,7 +5524,7 @@ function Pagination({
5513
5524
  /* @__PURE__ */ jsxRuntime.jsx(
5514
5525
  MenuButton,
5515
5526
  {
5516
- variant: "secondary",
5527
+ variant: "outline",
5517
5528
  size: "sm",
5518
5529
  side: "top",
5519
5530
  label: String(currentPerPageLabel),