@burdenoff/website-sdk 2026.719.6 → 2026.720.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/index.mjs CHANGED
@@ -7196,6 +7196,7 @@ function StoreHomePage({
7196
7196
  const featuredItems = deduped[0] ?? [];
7197
7197
  const popularItems = deduped[1] ?? [];
7198
7198
  const freeItems = deduped[2] ?? [];
7199
+ const hasNoItems = !loading && !error && featuredItems.length === 0 && popularItems.length === 0 && freeItems.length === 0;
7199
7200
  const resolvedTitle = heroTitle ?? `${productName ? `${productName} ` : ""}Store`;
7200
7201
  const resolvedSubtitle = heroSubtitle ?? "Discover workflows, nodes, integrations, and templates built by the community.";
7201
7202
  return /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
@@ -7308,7 +7309,7 @@ function StoreHomePage({
7308
7309
  ] })
7309
7310
  ] }),
7310
7311
  /* @__PURE__ */ jsxs("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pb-20 space-y-14 pt-4", children: [
7311
- /* @__PURE__ */ jsxs("section", { children: [
7312
+ (loading || error || featuredItems.length > 0) && /* @__PURE__ */ jsxs("section", { children: [
7312
7313
  /* @__PURE__ */ jsx(
7313
7314
  SectionHead,
7314
7315
  {
@@ -7386,7 +7387,71 @@ function StoreHomePage({
7386
7387
  },
7387
7388
  product.id
7388
7389
  )) })
7389
- ] })
7390
+ ] }),
7391
+ hasNoItems && /* @__PURE__ */ jsxs(
7392
+ "section",
7393
+ {
7394
+ "data-store": "empty-state",
7395
+ className: "rounded-2xl border border-border bg-card/50 px-6 py-14 sm:py-16 text-center",
7396
+ children: [
7397
+ /* @__PURE__ */ jsx(
7398
+ "div",
7399
+ {
7400
+ className: "mx-auto mb-5 flex h-14 w-14 items-center justify-center rounded-2xl bg-primary/10",
7401
+ "aria-hidden": "true",
7402
+ children: /* @__PURE__ */ jsx(
7403
+ "svg",
7404
+ {
7405
+ viewBox: "0 0 24 24",
7406
+ fill: "none",
7407
+ stroke: "currentColor",
7408
+ strokeWidth: "1.5",
7409
+ className: "h-7 w-7 text-primary",
7410
+ children: /* @__PURE__ */ jsx(
7411
+ "path",
7412
+ {
7413
+ strokeLinecap: "round",
7414
+ strokeLinejoin: "round",
7415
+ 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"
7416
+ }
7417
+ )
7418
+ }
7419
+ )
7420
+ }
7421
+ ),
7422
+ /* @__PURE__ */ jsxs("h2", { className: "text-xl sm:text-2xl font-bold text-foreground mb-2", children: [
7423
+ "The ",
7424
+ productName ?? "store",
7425
+ " catalogue is just getting started"
7426
+ ] }),
7427
+ /* @__PURE__ */ jsxs("p", { className: "text-sm sm:text-base text-muted-foreground max-w-xl mx-auto mb-7", children: [
7428
+ "No items have been published for ",
7429
+ productName ?? "this product",
7430
+ " ",
7431
+ "yet. As the community ships workflows, templates, and integrations, they will show up right here."
7432
+ ] }),
7433
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-center gap-3", children: [
7434
+ /* @__PURE__ */ jsx(
7435
+ "button",
7436
+ {
7437
+ type: "button",
7438
+ onClick: () => navigate(browsePath),
7439
+ 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",
7440
+ children: "Browse the full store"
7441
+ }
7442
+ ),
7443
+ /* @__PURE__ */ jsx(
7444
+ "a",
7445
+ {
7446
+ href: appLoginUrl,
7447
+ 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",
7448
+ children: "Become a publisher"
7449
+ }
7450
+ )
7451
+ ] })
7452
+ ]
7453
+ }
7454
+ )
7390
7455
  ] }),
7391
7456
  /* @__PURE__ */ jsxs("section", { className: "relative overflow-hidden border-t border-border", children: [
7392
7457
  /* @__PURE__ */ jsx(