@pipelex/mthds-form 0.20.0 → 0.21.0

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.
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { cn, fieldControlClass, ResultRoot, ResultField, FieldRenderer, ToggleGroup, ToggleGroupItem, Switch, Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from '../chunk-CSLDIWB6.js';
2
+ import { cn, brandInkClass, brandFillClass, brandFillInkClass, fieldControlClass, ResultRoot, ResultField, FieldRenderer, ToggleGroup, ToggleGroupItem, brandFillStrongClass, Switch, Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from '../chunk-3XDR2C4I.js';
3
3
  import '../chunk-ICUEHNEH.js';
4
4
  export { seedInputs } from '../chunk-VH5CDQDR.js';
5
5
  import '../chunk-EQJBM3NS.js';
@@ -2473,7 +2473,7 @@ function Steps({ props, children }) {
2473
2473
  {
2474
2474
  className: cn(
2475
2475
  "flex h-6 w-6 items-center justify-center rounded-full text-[12px] font-semibold tabular-nums",
2476
- position < index ? "bg-primary/15 text-primary" : position === index ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground"
2476
+ position < index ? cn(brandFillStrongClass, brandFillInkClass) : position === index ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground"
2477
2477
  ),
2478
2478
  children: position + 1
2479
2479
  }
@@ -2744,13 +2744,29 @@ function AppBar({ props }) {
2744
2744
  },
2745
2745
  link
2746
2746
  )) }) : null,
2747
- props.tag ? /* @__PURE__ */ jsx("span", { className: "min-w-0 truncate rounded-lg border border-primary/40 bg-primary/10 px-2.5 py-1 font-mono text-[11px] text-primary", children: props.tag }) : null
2747
+ props.tag ? /* @__PURE__ */ jsx(
2748
+ "span",
2749
+ {
2750
+ className: cn(
2751
+ "min-w-0 truncate rounded-lg border border-primary/40 px-2.5 py-1 font-mono text-[11px]",
2752
+ brandFillClass,
2753
+ brandFillInkClass
2754
+ ),
2755
+ children: props.tag
2756
+ }
2757
+ ) : null
2748
2758
  ] })
2749
2759
  ] }) });
2750
2760
  }
2751
2761
  function Hero({ props }) {
2752
2762
  return /* @__PURE__ */ jsxs("section", { className: "pt-12 pb-10 sm:pt-14 sm:pb-12", children: [
2753
- props.eyebrow ? /* @__PURE__ */ jsx("p", { className: "mb-4 text-[11px] font-medium tracking-[0.15em] text-primary uppercase", children: props.eyebrow }) : null,
2763
+ props.eyebrow ? /* @__PURE__ */ jsx(
2764
+ "p",
2765
+ {
2766
+ className: cn("mb-4 text-[11px] font-medium tracking-[0.15em] uppercase", brandInkClass),
2767
+ children: props.eyebrow
2768
+ }
2769
+ ) : null,
2754
2770
  /* @__PURE__ */ jsx("h1", { className: "max-w-2xl text-4xl font-bold tracking-tight text-foreground sm:text-[44px] sm:leading-[1.15]", children: props.headline }),
2755
2771
  props.lede ? /* @__PURE__ */ jsx("p", { className: "mt-4 max-w-2xl text-[17px] leading-relaxed text-muted-foreground", children: props.lede }) : null
2756
2772
  ] });
@@ -2797,7 +2813,7 @@ function Section({ props, children }) {
2797
2813
  return /* @__PURE__ */ jsxs("section", { className: "border-t border-border py-9 first:border-t-0 first:pt-0", children: [
2798
2814
  /* @__PURE__ */ jsxs("div", { className: "mb-6", children: [
2799
2815
  /* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-3", children: [
2800
- props.number ? /* @__PURE__ */ jsx("span", { className: "font-mono text-[12px] text-primary", children: props.number }) : null,
2816
+ props.number ? /* @__PURE__ */ jsx("span", { className: cn("font-mono text-[12px]", brandInkClass), children: props.number }) : null,
2801
2817
  /* @__PURE__ */ jsx("h2", { className: "text-xl font-semibold tracking-tight text-foreground", children: props.title })
2802
2818
  ] }),
2803
2819
  props.lede ? /* @__PURE__ */ jsx("p", { className: "mt-1.5 text-sm text-muted-foreground", children: props.lede }) : null