@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
|
@@ -263,6 +263,9 @@ var colorMap = {
|
|
|
263
263
|
white: "bg-background text-foreground",
|
|
264
264
|
brand: "bg-brand",
|
|
265
265
|
"brand-muted": "bg-brand-muted text-foreground",
|
|
266
|
+
blue: "bg-section-blue",
|
|
267
|
+
gray: "bg-section-gray text-foreground",
|
|
268
|
+
cream: "bg-section-cream text-foreground",
|
|
266
269
|
black: "bg-foreground text-background",
|
|
267
270
|
cta: "bg-cta"
|
|
268
271
|
};
|
|
@@ -356,11 +359,11 @@ function BrutalHero({
|
|
|
356
359
|
variant === "centered" && "mx-auto"
|
|
357
360
|
), children: description }),
|
|
358
361
|
/* @__PURE__ */ jsxs("div", { className: cn(
|
|
359
|
-
"flex flex-
|
|
360
|
-
variant === "centered" && "
|
|
362
|
+
"flex flex-wrap gap-4",
|
|
363
|
+
variant === "centered" && "justify-center"
|
|
361
364
|
), children: [
|
|
362
|
-
/* @__PURE__ */ jsx(Button, { variant: ctaVariant, size: "xl",
|
|
363
|
-
secondaryText && /* @__PURE__ */ jsx(Button, { variant: "outline", size: "xl",
|
|
365
|
+
/* @__PURE__ */ jsx(Button, { variant: ctaVariant, size: "xl", render: /* @__PURE__ */ jsx("a", { href: ctaHref }), children: ctaText }),
|
|
366
|
+
secondaryText && /* @__PURE__ */ jsx(Button, { variant: "outline", size: "xl", render: /* @__PURE__ */ jsx("a", { href: secondaryHref || "#" }), children: secondaryText })
|
|
364
367
|
] }),
|
|
365
368
|
proof && /* @__PURE__ */ jsxs("p", { className: "flex items-center gap-2 text-sm font-medium opacity-70", children: [
|
|
366
369
|
/* @__PURE__ */ jsx("span", { className: "inline-flex size-5 items-center justify-center border border-current text-xs", children: "\u2713" }),
|
|
@@ -779,7 +782,7 @@ function BrutalTestimonials({
|
|
|
779
782
|
headline,
|
|
780
783
|
testimonials,
|
|
781
784
|
variant = "masonry",
|
|
782
|
-
color = "
|
|
785
|
+
color = "blue",
|
|
783
786
|
pattern,
|
|
784
787
|
className
|
|
785
788
|
}) {
|
|
@@ -1021,13 +1024,12 @@ function CTAButtons({
|
|
|
1021
1024
|
secondaryText,
|
|
1022
1025
|
secondaryHref
|
|
1023
1026
|
}) {
|
|
1024
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex flex-
|
|
1027
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-center gap-4", children: [
|
|
1025
1028
|
/* @__PURE__ */ jsx(
|
|
1026
1029
|
Button,
|
|
1027
1030
|
{
|
|
1028
1031
|
variant: ctaVariant,
|
|
1029
1032
|
size: "xl",
|
|
1030
|
-
className: "w-full sm:w-auto",
|
|
1031
1033
|
render: /* @__PURE__ */ jsx("a", { href: ctaHref }),
|
|
1032
1034
|
children: ctaText
|
|
1033
1035
|
}
|
|
@@ -1036,8 +1038,7 @@ function CTAButtons({
|
|
|
1036
1038
|
Button,
|
|
1037
1039
|
{
|
|
1038
1040
|
variant: "outline",
|
|
1039
|
-
size: "
|
|
1040
|
-
className: "w-full sm:w-auto",
|
|
1041
|
+
size: "lg",
|
|
1041
1042
|
render: /* @__PURE__ */ jsx("a", { href: secondaryHref || "#" }),
|
|
1042
1043
|
children: secondaryText
|
|
1043
1044
|
}
|
|
@@ -1067,13 +1068,12 @@ function SplitCTA(props) {
|
|
|
1067
1068
|
/* @__PURE__ */ jsx("h2", { className: "brutal-h1 mb-6", children: props.headline }),
|
|
1068
1069
|
props.description && /* @__PURE__ */ jsx("p", { className: "brutal-body mb-4 opacity-80", children: props.description }),
|
|
1069
1070
|
props.stats && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-8 opacity-60", children: props.stats }),
|
|
1070
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-
|
|
1071
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-4", children: [
|
|
1071
1072
|
/* @__PURE__ */ jsx(
|
|
1072
1073
|
Button,
|
|
1073
1074
|
{
|
|
1074
1075
|
variant: props.ctaVariant || "cta",
|
|
1075
1076
|
size: "xl",
|
|
1076
|
-
className: "w-full sm:w-auto",
|
|
1077
1077
|
render: /* @__PURE__ */ jsx("a", { href: props.ctaHref || "#" }),
|
|
1078
1078
|
children: props.ctaText
|
|
1079
1079
|
}
|
|
@@ -1082,8 +1082,7 @@ function SplitCTA(props) {
|
|
|
1082
1082
|
Button,
|
|
1083
1083
|
{
|
|
1084
1084
|
variant: "outline",
|
|
1085
|
-
size: "
|
|
1086
|
-
className: "w-full sm:w-auto",
|
|
1085
|
+
size: "lg",
|
|
1087
1086
|
render: /* @__PURE__ */ jsx("a", { href: props.secondaryHref || "#" }),
|
|
1088
1087
|
children: props.secondaryText
|
|
1089
1088
|
}
|
|
@@ -1153,7 +1152,7 @@ function Input({ className, type, ...props }) {
|
|
|
1153
1152
|
type,
|
|
1154
1153
|
"data-slot": "input",
|
|
1155
1154
|
className: cn(
|
|
1156
|
-
"h-10 w-full min-w-0 rounded-lg border-brutal border-foreground bg-background px-3 py-2 text-base
|
|
1155
|
+
"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",
|
|
1157
1156
|
className
|
|
1158
1157
|
),
|
|
1159
1158
|
...props
|
|
@@ -1338,7 +1337,7 @@ function SaaSLaunchTemplate({
|
|
|
1338
1337
|
}
|
|
1339
1338
|
),
|
|
1340
1339
|
stats && stats.length > 0 && /* @__PURE__ */ jsx(StatsBar, { stats, color: "brand" }),
|
|
1341
|
-
/* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--brand))", to: "hsl(var(--
|
|
1340
|
+
/* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--brand))", to: "hsl(var(--section-blue))", variant: "torn-paper" }),
|
|
1342
1341
|
/* @__PURE__ */ jsx(
|
|
1343
1342
|
BrutalTestimonials,
|
|
1344
1343
|
{
|
|
@@ -1346,10 +1345,10 @@ function SaaSLaunchTemplate({
|
|
|
1346
1345
|
badge: testimonials.badge,
|
|
1347
1346
|
headline: testimonials.headline,
|
|
1348
1347
|
testimonials: testimonials.items,
|
|
1349
|
-
color: "
|
|
1348
|
+
color: "blue"
|
|
1350
1349
|
}
|
|
1351
1350
|
),
|
|
1352
|
-
/* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--
|
|
1351
|
+
/* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--section-blue))", to: "hsl(var(--background))", variant: "wave" }),
|
|
1353
1352
|
pricing && /* @__PURE__ */ jsx(
|
|
1354
1353
|
PricingTable,
|
|
1355
1354
|
{
|
|
@@ -1361,7 +1360,7 @@ function SaaSLaunchTemplate({
|
|
|
1361
1360
|
color: "white"
|
|
1362
1361
|
}
|
|
1363
1362
|
),
|
|
1364
|
-
faq && faq.length > 0 && /* @__PURE__ */ jsx(FAQ, { badge: "FAQ", headline: "Common Questions", items: faq, color: "
|
|
1363
|
+
faq && faq.length > 0 && /* @__PURE__ */ jsx(FAQ, { badge: "FAQ", headline: "Common Questions", items: faq, color: "gray" }),
|
|
1365
1364
|
/* @__PURE__ */ jsx(
|
|
1366
1365
|
BrutalCTA,
|
|
1367
1366
|
{
|