@snow-labs/brutal-ui 0.3.0 → 0.3.1
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/components/brutal/cta-section.js +7 -8
- package/dist/components/brutal/cta-section.js.map +1 -1
- package/dist/components/brutal/faq.d.ts +1 -1
- package/dist/components/brutal/faq.js +3 -0
- package/dist/components/brutal/faq.js.map +1 -1
- package/dist/components/brutal/feature-grid.d.ts +1 -1
- package/dist/components/brutal/feature-grid.js +3 -0
- package/dist/components/brutal/feature-grid.js.map +1 -1
- package/dist/components/brutal/footer.js +1 -1
- package/dist/components/brutal/footer.js.map +1 -1
- package/dist/components/brutal/hero.d.ts +1 -1
- package/dist/components/brutal/hero.js +7 -4
- package/dist/components/brutal/hero.js.map +1 -1
- package/dist/components/brutal/index.js +13 -14
- package/dist/components/brutal/index.js.map +1 -1
- package/dist/components/brutal/integration-grid.d.ts +1 -1
- package/dist/components/brutal/integration-grid.js +3 -0
- package/dist/components/brutal/integration-grid.js.map +1 -1
- package/dist/components/brutal/logo-cloud.d.ts +1 -1
- package/dist/components/brutal/logo-cloud.js +3 -0
- package/dist/components/brutal/logo-cloud.js.map +1 -1
- package/dist/components/brutal/newsletter.d.ts +1 -1
- package/dist/components/brutal/newsletter.js +4 -1
- package/dist/components/brutal/newsletter.js.map +1 -1
- package/dist/components/brutal/pricing-table.d.ts +1 -1
- package/dist/components/brutal/pricing-table.js +3 -0
- package/dist/components/brutal/pricing-table.js.map +1 -1
- package/dist/components/brutal/section.d.ts +1 -1
- package/dist/components/brutal/section.js +3 -0
- package/dist/components/brutal/section.js.map +1 -1
- package/dist/components/brutal/stats-bar.d.ts +1 -1
- package/dist/components/brutal/stats-bar.js +3 -0
- package/dist/components/brutal/stats-bar.js.map +1 -1
- package/dist/components/brutal/testimonials.js +4 -1
- package/dist/components/brutal/testimonials.js.map +1 -1
- package/dist/components/dashboard/index.js +1 -1
- package/dist/components/dashboard/index.js.map +1 -1
- package/dist/components/dashboard/search-bar.js +1 -1
- package/dist/components/dashboard/search-bar.js.map +1 -1
- package/dist/components/ui/input-group.js +2 -2
- package/dist/components/ui/input-group.js.map +1 -1
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/label.js.map +1 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/textarea.js +1 -1
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/views/data-table.js +1 -1
- package/dist/components/views/data-table.js.map +1 -1
- package/dist/components/views/index.js +1 -1
- package/dist/components/views/index.js.map +1 -1
- package/dist/components/views/kanban-board.js +1 -1
- package/dist/components/views/kanban-board.js.map +1 -1
- package/dist/index.js +23 -24
- package/dist/index.js.map +1 -1
- package/dist/templates/dashboard.js +1 -1
- package/dist/templates/dashboard.js.map +1 -1
- package/dist/templates/index.js +20 -21
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/saas-launch.js +17 -18
- package/dist/templates/saas-launch.js.map +1 -1
- package/dist/templates/studio.js +16 -17
- package/dist/templates/studio.js.map +1 -1
- package/dist/theme.css +15 -0
- package/package.json +2 -3
- package/AGENTS.md +0 -1244
|
@@ -20,6 +20,9 @@ var colorMap = {
|
|
|
20
20
|
white: "bg-background text-foreground",
|
|
21
21
|
brand: "bg-brand",
|
|
22
22
|
"brand-muted": "bg-brand-muted text-foreground",
|
|
23
|
+
blue: "bg-section-blue",
|
|
24
|
+
gray: "bg-section-gray text-foreground",
|
|
25
|
+
cream: "bg-section-cream text-foreground",
|
|
23
26
|
black: "bg-foreground text-background",
|
|
24
27
|
cta: "bg-cta"
|
|
25
28
|
};
|
|
@@ -226,11 +229,11 @@ function BrutalHero({
|
|
|
226
229
|
variant === "centered" && "mx-auto"
|
|
227
230
|
), children: description }),
|
|
228
231
|
/* @__PURE__ */ jsxs("div", { className: cn(
|
|
229
|
-
"flex flex-
|
|
230
|
-
variant === "centered" && "
|
|
232
|
+
"flex flex-wrap gap-4",
|
|
233
|
+
variant === "centered" && "justify-center"
|
|
231
234
|
), children: [
|
|
232
|
-
/* @__PURE__ */ jsx(Button, { variant: ctaVariant, size: "xl",
|
|
233
|
-
secondaryText && /* @__PURE__ */ jsx(Button, { variant: "outline", size: "xl",
|
|
235
|
+
/* @__PURE__ */ jsx(Button, { variant: ctaVariant, size: "xl", render: /* @__PURE__ */ jsx("a", { href: ctaHref }), children: ctaText }),
|
|
236
|
+
secondaryText && /* @__PURE__ */ jsx(Button, { variant: "outline", size: "xl", render: /* @__PURE__ */ jsx("a", { href: secondaryHref || "#" }), children: secondaryText })
|
|
234
237
|
] }),
|
|
235
238
|
proof && /* @__PURE__ */ jsxs("p", { className: "flex items-center gap-2 text-sm font-medium opacity-70", children: [
|
|
236
239
|
/* @__PURE__ */ jsx("span", { className: "inline-flex size-5 items-center justify-center border border-current text-xs", children: "\u2713" }),
|
|
@@ -504,7 +507,7 @@ function BrutalTestimonials({
|
|
|
504
507
|
headline,
|
|
505
508
|
testimonials,
|
|
506
509
|
variant = "masonry",
|
|
507
|
-
color = "
|
|
510
|
+
color = "blue",
|
|
508
511
|
pattern,
|
|
509
512
|
className
|
|
510
513
|
}) {
|
|
@@ -564,13 +567,12 @@ function CTAButtons({
|
|
|
564
567
|
secondaryText,
|
|
565
568
|
secondaryHref
|
|
566
569
|
}) {
|
|
567
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex flex-
|
|
570
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-center gap-4", children: [
|
|
568
571
|
/* @__PURE__ */ jsx(
|
|
569
572
|
Button,
|
|
570
573
|
{
|
|
571
574
|
variant: ctaVariant,
|
|
572
575
|
size: "xl",
|
|
573
|
-
className: "w-full sm:w-auto",
|
|
574
576
|
render: /* @__PURE__ */ jsx("a", { href: ctaHref }),
|
|
575
577
|
children: ctaText
|
|
576
578
|
}
|
|
@@ -579,8 +581,7 @@ function CTAButtons({
|
|
|
579
581
|
Button,
|
|
580
582
|
{
|
|
581
583
|
variant: "outline",
|
|
582
|
-
size: "
|
|
583
|
-
className: "w-full sm:w-auto",
|
|
584
|
+
size: "lg",
|
|
584
585
|
render: /* @__PURE__ */ jsx("a", { href: secondaryHref || "#" }),
|
|
585
586
|
children: secondaryText
|
|
586
587
|
}
|
|
@@ -610,13 +611,12 @@ function SplitCTA(props) {
|
|
|
610
611
|
/* @__PURE__ */ jsx("h2", { className: "brutal-h1 mb-6", children: props.headline }),
|
|
611
612
|
props.description && /* @__PURE__ */ jsx("p", { className: "brutal-body mb-4 opacity-80", children: props.description }),
|
|
612
613
|
props.stats && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-8 opacity-60", children: props.stats }),
|
|
613
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-
|
|
614
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-4", children: [
|
|
614
615
|
/* @__PURE__ */ jsx(
|
|
615
616
|
Button,
|
|
616
617
|
{
|
|
617
618
|
variant: props.ctaVariant || "cta",
|
|
618
619
|
size: "xl",
|
|
619
|
-
className: "w-full sm:w-auto",
|
|
620
620
|
render: /* @__PURE__ */ jsx("a", { href: props.ctaHref || "#" }),
|
|
621
621
|
children: props.ctaText
|
|
622
622
|
}
|
|
@@ -625,8 +625,7 @@ function SplitCTA(props) {
|
|
|
625
625
|
Button,
|
|
626
626
|
{
|
|
627
627
|
variant: "outline",
|
|
628
|
-
size: "
|
|
629
|
-
className: "w-full sm:w-auto",
|
|
628
|
+
size: "lg",
|
|
630
629
|
render: /* @__PURE__ */ jsx("a", { href: props.secondaryHref || "#" }),
|
|
631
630
|
children: props.secondaryText
|
|
632
631
|
}
|
|
@@ -883,7 +882,7 @@ function Input({ className, type, ...props }) {
|
|
|
883
882
|
type,
|
|
884
883
|
"data-slot": "input",
|
|
885
884
|
className: cn(
|
|
886
|
-
"h-10 w-full min-w-0 rounded-lg border-brutal border-foreground bg-background px-3 py-2 text-base
|
|
885
|
+
"h-10 w-full min-w-0 rounded-lg border-brutal border-foreground bg-background px-3 py-2 text-base transition-all outline-none placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring/20 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive md:text-sm",
|
|
887
886
|
className
|
|
888
887
|
),
|
|
889
888
|
...props
|