@salesmind-ai/design-system 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/README.md CHANGED
@@ -40,10 +40,38 @@ function App() {
40
40
  |---|---|
41
41
  | `@salesmind-ai/design-system` | Main components |
42
42
  | `@salesmind-ai/design-system/core` | Core primitives |
43
+ | `@salesmind-ai/design-system/sections` | Section shell and section primitives |
44
+ | `@salesmind-ai/design-system/nav` | Navigation components |
45
+ | `@salesmind-ai/design-system/motion` | Motion-enabled components |
46
+ | `@salesmind-ai/design-system/social-proof` | Social proof components |
47
+ | `@salesmind-ai/design-system/marketing` | Marketing/conversion components |
48
+ | `@salesmind-ai/design-system/blog` | Blog and long-form content components |
49
+ | `@salesmind-ai/design-system/charts` | Chart components |
43
50
  | `@salesmind-ai/design-system/report` | Report engine components |
44
- | `@salesmind-ai/design-system/web` | Web/marketing components (analytics, cookies) |
51
+ | `@salesmind-ai/design-system/web` | Backward-compatible mixed web entry |
52
+ | `@salesmind-ai/design-system/web/server` | Server-safe SEO + JSON-LD utilities |
53
+ | `@salesmind-ai/design-system/web/client` | Client-only consent + analytics utilities |
54
+ | `@salesmind-ai/design-system/theme` | Theme system |
55
+ | `@salesmind-ai/design-system/i18n` | Internationalization helpers |
45
56
  | `@salesmind-ai/design-system/styles.css` | Compiled CSS |
46
57
 
58
+ ### Web boundary rule
59
+
60
+ - Use `@salesmind-ai/design-system/web/server` for JSON-LD and schema generators in server components.
61
+ - Use `@salesmind-ai/design-system/web/client` for cookie consent hooks/components and analytics loaders.
62
+ - Treat `@salesmind-ai/design-system/web` as backward compatibility only, not the preferred import for new code.
63
+
64
+ ### CSS contract
65
+
66
+ Public CSS entrypoints are part of the package contract:
67
+
68
+ - `@salesmind-ai/design-system/styles.css`
69
+ - `@salesmind-ai/design-system/index.css`
70
+ - `@salesmind-ai/design-system/core.css`
71
+ - `@salesmind-ai/design-system/web.css`
72
+
73
+ Consumers should rely on these public CSS exports instead of private `dist/` paths.
74
+
47
75
  ## Development
48
76
 
49
77
  This project uses **pnpm**. Make sure you have it installed:
@@ -106,7 +134,9 @@ Changes in `src/` are rebuilt by tsup and hot-reloaded in consuming apps automat
106
134
  src/
107
135
  ├── components/ # React components
108
136
  ├── core/ # Core/primitive exports
109
- ├── web/ # Web/marketing utilities (analytics, cookies)
137
+ ├── web/ # Mixed legacy web boundary (backward compat)
138
+ │ ├── server/ # Server-safe SEO/JSON-LD exports
139
+ │ └── client/ # Client-only consent/analytics exports
110
140
  ├── report-engine/ # Report generation logic
111
141
  ├── report-export/ # Report export utilities
112
142
  ├── i18n/ # Internationalization (react-intl)
package/dist/index.cjs CHANGED
@@ -3436,7 +3436,7 @@ var SiteFooter = React30.forwardRef(
3436
3436
  className: "ds-footer__column",
3437
3437
  "data-footer-section": section.title.toLowerCase().replace(/\s+/g, "-"),
3438
3438
  children: [
3439
- /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "ds-footer__heading", children: section.title }),
3439
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "ds-footer__heading", children: section.title }),
3440
3440
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "ds-footer__links", children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(
3441
3441
  LinkComponent,
3442
3442
  {
@@ -3728,6 +3728,7 @@ var PlatformBadge = React30.forwardRef(
3728
3728
  "div",
3729
3729
  {
3730
3730
  ref,
3731
+ role: "img",
3731
3732
  className: clsx21__default.default(
3732
3733
  "ds-platform-badge",
3733
3734
  `ds-platform-badge--${variant}`,
@@ -4273,7 +4274,7 @@ var SocialProofLogos = React30.forwardRef(
4273
4274
  ...props,
4274
4275
  children: [
4275
4276
  title && /* @__PURE__ */ jsxRuntime.jsx(
4276
- "h3",
4277
+ "p",
4277
4278
  {
4278
4279
  className: "ds-section-header__eyebrow",
4279
4280
  style: { textAlign: "center", marginBottom: "var(--space-8)" },