@snow-labs/brutal-ui 0.3.0 → 0.3.2
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 +5 -2
- 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 +4 -1
- package/dist/components/brutal/hero.js.map +1 -1
- package/dist/components/brutal/index.js +8 -5
- 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 +18 -15
- 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 +15 -12
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/saas-launch.js +12 -9
- package/dist/templates/saas-launch.js.map +1 -1
- package/dist/templates/studio.js +11 -8
- 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,7 +359,7 @@ function BrutalHero({
|
|
|
356
359
|
variant === "centered" && "mx-auto"
|
|
357
360
|
), children: description }),
|
|
358
361
|
/* @__PURE__ */ jsxs("div", { className: cn(
|
|
359
|
-
"flex flex-col gap-
|
|
362
|
+
"flex flex-col gap-3 sm:flex-row sm:gap-4",
|
|
360
363
|
variant === "centered" && "sm:justify-center"
|
|
361
364
|
), children: [
|
|
362
365
|
/* @__PURE__ */ jsx(Button, { variant: ctaVariant, size: "xl", className: "w-full sm:w-auto", render: /* @__PURE__ */ jsx("a", { href: ctaHref }), children: ctaText }),
|
|
@@ -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,7 +1024,7 @@ function CTAButtons({
|
|
|
1021
1024
|
secondaryText,
|
|
1022
1025
|
secondaryHref
|
|
1023
1026
|
}) {
|
|
1024
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-
|
|
1027
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3 sm:flex-row sm:justify-center sm:gap-4", children: [
|
|
1025
1028
|
/* @__PURE__ */ jsx(
|
|
1026
1029
|
Button,
|
|
1027
1030
|
{
|
|
@@ -1067,7 +1070,7 @@ function SplitCTA(props) {
|
|
|
1067
1070
|
/* @__PURE__ */ jsx("h2", { className: "brutal-h1 mb-6", children: props.headline }),
|
|
1068
1071
|
props.description && /* @__PURE__ */ jsx("p", { className: "brutal-body mb-4 opacity-80", children: props.description }),
|
|
1069
1072
|
props.stats && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-8 opacity-60", children: props.stats }),
|
|
1070
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-
|
|
1073
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3 sm:flex-row sm:gap-4", children: [
|
|
1071
1074
|
/* @__PURE__ */ jsx(
|
|
1072
1075
|
Button,
|
|
1073
1076
|
{
|
|
@@ -1153,7 +1156,7 @@ function Input({ className, type, ...props }) {
|
|
|
1153
1156
|
type,
|
|
1154
1157
|
"data-slot": "input",
|
|
1155
1158
|
className: cn(
|
|
1156
|
-
"h-10 w-full min-w-0 rounded-lg border-brutal border-foreground bg-background px-3 py-2 text-base
|
|
1159
|
+
"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
1160
|
className
|
|
1158
1161
|
),
|
|
1159
1162
|
...props
|
|
@@ -1338,7 +1341,7 @@ function SaaSLaunchTemplate({
|
|
|
1338
1341
|
}
|
|
1339
1342
|
),
|
|
1340
1343
|
stats && stats.length > 0 && /* @__PURE__ */ jsx(StatsBar, { stats, color: "brand" }),
|
|
1341
|
-
/* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--brand))", to: "hsl(var(--
|
|
1344
|
+
/* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--brand))", to: "hsl(var(--section-blue))", variant: "torn-paper" }),
|
|
1342
1345
|
/* @__PURE__ */ jsx(
|
|
1343
1346
|
BrutalTestimonials,
|
|
1344
1347
|
{
|
|
@@ -1346,10 +1349,10 @@ function SaaSLaunchTemplate({
|
|
|
1346
1349
|
badge: testimonials.badge,
|
|
1347
1350
|
headline: testimonials.headline,
|
|
1348
1351
|
testimonials: testimonials.items,
|
|
1349
|
-
color: "
|
|
1352
|
+
color: "blue"
|
|
1350
1353
|
}
|
|
1351
1354
|
),
|
|
1352
|
-
/* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--
|
|
1355
|
+
/* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--section-blue))", to: "hsl(var(--background))", variant: "wave" }),
|
|
1353
1356
|
pricing && /* @__PURE__ */ jsx(
|
|
1354
1357
|
PricingTable,
|
|
1355
1358
|
{
|
|
@@ -1361,7 +1364,7 @@ function SaaSLaunchTemplate({
|
|
|
1361
1364
|
color: "white"
|
|
1362
1365
|
}
|
|
1363
1366
|
),
|
|
1364
|
-
faq && faq.length > 0 && /* @__PURE__ */ jsx(FAQ, { badge: "FAQ", headline: "Common Questions", items: faq, color: "
|
|
1367
|
+
faq && faq.length > 0 && /* @__PURE__ */ jsx(FAQ, { badge: "FAQ", headline: "Common Questions", items: faq, color: "gray" }),
|
|
1365
1368
|
/* @__PURE__ */ jsx(
|
|
1366
1369
|
BrutalCTA,
|
|
1367
1370
|
{
|