@burdenoff/website-sdk 2026.719.5 → 2026.720.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/index.js CHANGED
@@ -7222,6 +7222,7 @@ function StoreHomePage({
7222
7222
  const featuredItems = deduped[0] ?? [];
7223
7223
  const popularItems = deduped[1] ?? [];
7224
7224
  const freeItems = deduped[2] ?? [];
7225
+ const hasNoItems = !loading && !error && featuredItems.length === 0 && popularItems.length === 0 && freeItems.length === 0;
7225
7226
  const resolvedTitle = heroTitle ?? `${productName ? `${productName} ` : ""}Store`;
7226
7227
  const resolvedSubtitle = heroSubtitle ?? "Discover workflows, nodes, integrations, and templates built by the community.";
7227
7228
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
@@ -7334,7 +7335,7 @@ function StoreHomePage({
7334
7335
  ] })
7335
7336
  ] }),
7336
7337
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pb-20 space-y-14 pt-4", children: [
7337
- /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
7338
+ (loading || error || featuredItems.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
7338
7339
  /* @__PURE__ */ jsxRuntime.jsx(
7339
7340
  SectionHead,
7340
7341
  {
@@ -7412,7 +7413,71 @@ function StoreHomePage({
7412
7413
  },
7413
7414
  product.id
7414
7415
  )) })
7415
- ] })
7416
+ ] }),
7417
+ hasNoItems && /* @__PURE__ */ jsxRuntime.jsxs(
7418
+ "section",
7419
+ {
7420
+ "data-store": "empty-state",
7421
+ className: "rounded-2xl border border-border bg-card/50 px-6 py-14 sm:py-16 text-center",
7422
+ children: [
7423
+ /* @__PURE__ */ jsxRuntime.jsx(
7424
+ "div",
7425
+ {
7426
+ className: "mx-auto mb-5 flex h-14 w-14 items-center justify-center rounded-2xl bg-primary/10",
7427
+ "aria-hidden": "true",
7428
+ children: /* @__PURE__ */ jsxRuntime.jsx(
7429
+ "svg",
7430
+ {
7431
+ viewBox: "0 0 24 24",
7432
+ fill: "none",
7433
+ stroke: "currentColor",
7434
+ strokeWidth: "1.5",
7435
+ className: "h-7 w-7 text-primary",
7436
+ children: /* @__PURE__ */ jsxRuntime.jsx(
7437
+ "path",
7438
+ {
7439
+ strokeLinecap: "round",
7440
+ strokeLinejoin: "round",
7441
+ d: "M3.75 9h16.5M4.5 9l1.2 9.3a1.5 1.5 0 0 0 1.49 1.2h9.62a1.5 1.5 0 0 0 1.49-1.2L19.5 9M8.25 9V6.75a3.75 3.75 0 0 1 7.5 0V9"
7442
+ }
7443
+ )
7444
+ }
7445
+ )
7446
+ }
7447
+ ),
7448
+ /* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "text-xl sm:text-2xl font-bold text-foreground mb-2", children: [
7449
+ "The ",
7450
+ productName ?? "store",
7451
+ " catalogue is just getting started"
7452
+ ] }),
7453
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm sm:text-base text-muted-foreground max-w-xl mx-auto mb-7", children: [
7454
+ "No items have been published for ",
7455
+ productName ?? "this product",
7456
+ " ",
7457
+ "yet. As the community ships workflows, templates, and integrations, they will show up right here."
7458
+ ] }),
7459
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center justify-center gap-3", children: [
7460
+ /* @__PURE__ */ jsxRuntime.jsx(
7461
+ "button",
7462
+ {
7463
+ type: "button",
7464
+ onClick: () => navigate(browsePath),
7465
+ className: "inline-flex items-center gap-2 rounded-xl bg-primary px-5 py-2.5 text-sm font-semibold text-primary-foreground transition-colors hover:bg-primary/90",
7466
+ children: "Browse the full store"
7467
+ }
7468
+ ),
7469
+ /* @__PURE__ */ jsxRuntime.jsx(
7470
+ "a",
7471
+ {
7472
+ href: appLoginUrl,
7473
+ className: "inline-flex items-center gap-2 rounded-xl border border-border px-5 py-2.5 text-sm font-semibold text-foreground transition-colors hover:border-primary/40 hover:text-primary",
7474
+ children: "Become a publisher"
7475
+ }
7476
+ )
7477
+ ] })
7478
+ ]
7479
+ }
7480
+ )
7416
7481
  ] }),
7417
7482
  /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "relative overflow-hidden border-t border-border", children: [
7418
7483
  /* @__PURE__ */ jsxRuntime.jsx(