@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.
- package/README.md +1 -1
- package/dist/brand/index.d.ts +109 -1
- package/dist/brand/index.js +113 -1
- package/dist/brand/index.js.map +1 -1
- package/dist/{chunk-CSLDIWB6.js → chunk-3XDR2C4I.js} +25 -6
- package/dist/chunk-3XDR2C4I.js.map +1 -0
- package/dist/generative/index.js +21 -5
- package/dist/generative/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-CSLDIWB6.js.map +0 -1
package/dist/generative/index.js
CHANGED
|
@@ -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-
|
|
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 ?
|
|
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(
|
|
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(
|
|
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]
|
|
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
|