@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.
Files changed (68) hide show
  1. package/dist/components/brutal/cta-section.js +7 -8
  2. package/dist/components/brutal/cta-section.js.map +1 -1
  3. package/dist/components/brutal/faq.d.ts +1 -1
  4. package/dist/components/brutal/faq.js +3 -0
  5. package/dist/components/brutal/faq.js.map +1 -1
  6. package/dist/components/brutal/feature-grid.d.ts +1 -1
  7. package/dist/components/brutal/feature-grid.js +3 -0
  8. package/dist/components/brutal/feature-grid.js.map +1 -1
  9. package/dist/components/brutal/footer.js +1 -1
  10. package/dist/components/brutal/footer.js.map +1 -1
  11. package/dist/components/brutal/hero.d.ts +1 -1
  12. package/dist/components/brutal/hero.js +7 -4
  13. package/dist/components/brutal/hero.js.map +1 -1
  14. package/dist/components/brutal/index.js +13 -14
  15. package/dist/components/brutal/index.js.map +1 -1
  16. package/dist/components/brutal/integration-grid.d.ts +1 -1
  17. package/dist/components/brutal/integration-grid.js +3 -0
  18. package/dist/components/brutal/integration-grid.js.map +1 -1
  19. package/dist/components/brutal/logo-cloud.d.ts +1 -1
  20. package/dist/components/brutal/logo-cloud.js +3 -0
  21. package/dist/components/brutal/logo-cloud.js.map +1 -1
  22. package/dist/components/brutal/newsletter.d.ts +1 -1
  23. package/dist/components/brutal/newsletter.js +4 -1
  24. package/dist/components/brutal/newsletter.js.map +1 -1
  25. package/dist/components/brutal/pricing-table.d.ts +1 -1
  26. package/dist/components/brutal/pricing-table.js +3 -0
  27. package/dist/components/brutal/pricing-table.js.map +1 -1
  28. package/dist/components/brutal/section.d.ts +1 -1
  29. package/dist/components/brutal/section.js +3 -0
  30. package/dist/components/brutal/section.js.map +1 -1
  31. package/dist/components/brutal/stats-bar.d.ts +1 -1
  32. package/dist/components/brutal/stats-bar.js +3 -0
  33. package/dist/components/brutal/stats-bar.js.map +1 -1
  34. package/dist/components/brutal/testimonials.js +4 -1
  35. package/dist/components/brutal/testimonials.js.map +1 -1
  36. package/dist/components/dashboard/index.js +1 -1
  37. package/dist/components/dashboard/index.js.map +1 -1
  38. package/dist/components/dashboard/search-bar.js +1 -1
  39. package/dist/components/dashboard/search-bar.js.map +1 -1
  40. package/dist/components/ui/input-group.js +2 -2
  41. package/dist/components/ui/input-group.js.map +1 -1
  42. package/dist/components/ui/input.js +1 -1
  43. package/dist/components/ui/input.js.map +1 -1
  44. package/dist/components/ui/label.js +1 -1
  45. package/dist/components/ui/label.js.map +1 -1
  46. package/dist/components/ui/select.js +1 -1
  47. package/dist/components/ui/select.js.map +1 -1
  48. package/dist/components/ui/textarea.js +1 -1
  49. package/dist/components/ui/textarea.js.map +1 -1
  50. package/dist/components/views/data-table.js +1 -1
  51. package/dist/components/views/data-table.js.map +1 -1
  52. package/dist/components/views/index.js +1 -1
  53. package/dist/components/views/index.js.map +1 -1
  54. package/dist/components/views/kanban-board.js +1 -1
  55. package/dist/components/views/kanban-board.js.map +1 -1
  56. package/dist/index.js +23 -24
  57. package/dist/index.js.map +1 -1
  58. package/dist/templates/dashboard.js +1 -1
  59. package/dist/templates/dashboard.js.map +1 -1
  60. package/dist/templates/index.js +20 -21
  61. package/dist/templates/index.js.map +1 -1
  62. package/dist/templates/saas-launch.js +17 -18
  63. package/dist/templates/saas-launch.js.map +1 -1
  64. package/dist/templates/studio.js +16 -17
  65. package/dist/templates/studio.js.map +1 -1
  66. package/dist/theme.css +15 -0
  67. package/package.json +2 -3
  68. 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-col gap-4 sm:flex-row sm:flex-wrap",
230
- variant === "centered" && "sm:justify-center"
232
+ "flex flex-wrap gap-4",
233
+ variant === "centered" && "justify-center"
231
234
  ), children: [
232
- /* @__PURE__ */ jsx(Button, { variant: ctaVariant, size: "xl", className: "w-full sm:w-auto", render: /* @__PURE__ */ jsx("a", { href: ctaHref }), children: ctaText }),
233
- secondaryText && /* @__PURE__ */ jsx(Button, { variant: "outline", size: "xl", className: "w-full sm:w-auto", render: /* @__PURE__ */ jsx("a", { href: secondaryHref || "#" }), children: secondaryText })
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 = "brand-muted",
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-col gap-4 sm:flex-row sm:flex-wrap sm:items-center sm:justify-center", children: [
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: "xl",
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-col gap-4 sm:flex-row sm:flex-wrap", children: [
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: "xl",
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 font-medium shadow-brutal-sm transition-all outline-none placeholder:text-muted-foreground focus:shadow-brutal focus:-translate-x-0.5 focus:-translate-y-0.5 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive md:text-sm",
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