@salesmind-ai/design-system 1.0.0 → 1.3.0

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.
Files changed (61) hide show
  1. package/dist/{chunk-DMRQPGQA.js → chunk-25TUCNN6.js} +20 -17
  2. package/dist/chunk-25TUCNN6.js.map +1 -0
  3. package/dist/chunk-6WQKRQEE.cjs +33 -0
  4. package/dist/chunk-6WQKRQEE.cjs.map +1 -0
  5. package/dist/chunk-HTLWFOLC.js +26 -0
  6. package/dist/chunk-HTLWFOLC.js.map +1 -0
  7. package/dist/{chunk-D2RHF2OE.cjs → chunk-K7NQ7TQG.cjs} +20 -17
  8. package/dist/chunk-K7NQ7TQG.cjs.map +1 -0
  9. package/dist/{chunk-KXVFFEGD.js → chunk-MLINFRC3.js} +2 -19
  10. package/dist/chunk-MLINFRC3.js.map +1 -0
  11. package/dist/{chunk-JPUJWI7F.cjs → chunk-QXUA5PQ3.cjs} +1 -19
  12. package/dist/chunk-QXUA5PQ3.cjs.map +1 -0
  13. package/dist/{chunk-KSEETC4E.js → chunk-REEHJV7M.js} +142 -3
  14. package/dist/chunk-REEHJV7M.js.map +1 -0
  15. package/dist/{chunk-LQB7QLD3.js → chunk-RY257SWH.js} +207 -3
  16. package/dist/chunk-RY257SWH.js.map +1 -0
  17. package/dist/{chunk-6BXKRDK5.cjs → chunk-UCWMJD4Y.cjs} +148 -7
  18. package/dist/chunk-UCWMJD4Y.cjs.map +1 -0
  19. package/dist/{chunk-UGKYP6F3.cjs → chunk-YL4FGGHF.cjs} +211 -2
  20. package/dist/chunk-YL4FGGHF.cjs.map +1 -0
  21. package/dist/core/index.cjs +13 -12
  22. package/dist/core/index.js +2 -1
  23. package/dist/{index-C8A3X92-.d.cts → index-I4Xi04oE.d.cts} +46 -2
  24. package/dist/{index-wZPBPkOV.d.ts → index-r__EEywy.d.ts} +46 -2
  25. package/dist/index.cjs +78 -49
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.css +658 -1
  28. package/dist/index.css.map +1 -1
  29. package/dist/index.d.cts +2 -2
  30. package/dist/index.d.ts +2 -2
  31. package/dist/index.js +5 -4
  32. package/dist/index.js.map +1 -1
  33. package/dist/marketing/index.cjs +35 -26
  34. package/dist/marketing/index.css +242 -0
  35. package/dist/marketing/index.css.map +1 -1
  36. package/dist/marketing/index.d.cts +1 -1
  37. package/dist/marketing/index.d.ts +1 -1
  38. package/dist/marketing/index.js +3 -2
  39. package/dist/sections/index.css +1 -1
  40. package/dist/sections/index.css.map +1 -1
  41. package/dist/social-proof/index.cjs +26 -4
  42. package/dist/social-proof/index.css +521 -0
  43. package/dist/social-proof/index.css.map +1 -1
  44. package/dist/social-proof/index.d.cts +99 -27
  45. package/dist/social-proof/index.d.ts +99 -27
  46. package/dist/social-proof/index.js +3 -1
  47. package/dist/web/index.cjs +7 -7
  48. package/dist/web/index.js +1 -1
  49. package/dist/web/server/index.cjs +7 -7
  50. package/dist/web/server/index.d.cts +26 -22
  51. package/dist/web/server/index.d.ts +26 -22
  52. package/dist/web/server/index.js +1 -1
  53. package/package.json +1 -1
  54. package/dist/chunk-6BXKRDK5.cjs.map +0 -1
  55. package/dist/chunk-D2RHF2OE.cjs.map +0 -1
  56. package/dist/chunk-DMRQPGQA.js.map +0 -1
  57. package/dist/chunk-JPUJWI7F.cjs.map +0 -1
  58. package/dist/chunk-KSEETC4E.js.map +0 -1
  59. package/dist/chunk-KXVFFEGD.js.map +0 -1
  60. package/dist/chunk-LQB7QLD3.js.map +0 -1
  61. package/dist/chunk-UGKYP6F3.cjs.map +0 -1
@@ -1,5 +1,103 @@
1
1
  import React__default from 'react';
2
2
 
3
+ type Platform = 'trustpilot' | 'g2' | 'google' | 'chrome-web-store';
4
+ interface PlatformBadgeProps extends React__default.HTMLAttributes<HTMLDivElement> {
5
+ /** Review platform */
6
+ platform: Platform;
7
+ /** Display mode */
8
+ variant?: 'icon-only' | 'icon-label' | 'full';
9
+ /** Platform rating (used in 'full' variant) */
10
+ rating?: number;
11
+ /** Number of reviews (used in 'full' variant) */
12
+ count?: number;
13
+ /** Size variant */
14
+ size?: 'sm' | 'md';
15
+ }
16
+ /**
17
+ * Review platform badge with recognizable brand icon, optional label,
18
+ * and optional rating display.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * <PlatformBadge platform="trustpilot" variant="icon-only" />
23
+ * <PlatformBadge platform="g2" variant="icon-label" />
24
+ * <PlatformBadge platform="google" variant="full" rating={4.9} count={42} />
25
+ * ```
26
+ */
27
+ declare const PlatformBadge: React__default.ForwardRefExoticComponent<PlatformBadgeProps & React__default.RefAttributes<HTMLDivElement>>;
28
+
29
+ interface SocialProofAuthor {
30
+ name: string;
31
+ title?: string;
32
+ company?: string;
33
+ avatar?: string;
34
+ }
35
+ interface SocialProofMetric {
36
+ value: React__default.ReactNode;
37
+ label: React__default.ReactNode;
38
+ }
39
+ interface SocialProofMedia {
40
+ src: string;
41
+ type: 'image';
42
+ alt?: string;
43
+ }
44
+ interface SocialProofCardProps extends Omit<React__default.HTMLAttributes<HTMLElement>, 'content'> {
45
+ variant?: 'social' | 'compact' | 'standard' | 'detailed' | 'narrative';
46
+ content: React__default.ReactNode;
47
+ author: SocialProofAuthor;
48
+ starRating?: number;
49
+ platform?: Platform;
50
+ badges?: React__default.ReactNode[];
51
+ href?: string;
52
+ media?: SocialProofMedia;
53
+ metrics?: SocialProofMetric[];
54
+ headline?: React__default.ReactNode;
55
+ industry?: React__default.ReactNode;
56
+ ctaText?: React__default.ReactNode;
57
+ }
58
+ declare const SocialProofCard: React__default.ForwardRefExoticComponent<SocialProofCardProps & React__default.RefAttributes<HTMLElement>>;
59
+
60
+ interface SocialProofCarouselProps extends React__default.HTMLAttributes<HTMLDivElement> {
61
+ background?: 'default' | 'muted' | 'dark' | 'brand' | 'transparent';
62
+ }
63
+ declare const SocialProofCarousel: React__default.ForwardRefExoticComponent<SocialProofCarouselProps & React__default.RefAttributes<HTMLDivElement>>;
64
+
65
+ interface SocialProofFeaturedProps extends React__default.HTMLAttributes<HTMLDivElement> {
66
+ quote: React__default.ReactNode;
67
+ author: SocialProofAuthor;
68
+ featuredVariant?: 'standard' | 'cinematic' | 'spotlight';
69
+ starRating?: number;
70
+ platform?: Platform;
71
+ mediaSrc?: string;
72
+ background?: 'default' | 'muted' | 'brand' | 'transparent';
73
+ padding?: 'sm' | 'md' | 'lg';
74
+ }
75
+ declare const SocialProofFeatured: React__default.ForwardRefExoticComponent<SocialProofFeaturedProps & React__default.RefAttributes<HTMLDivElement>>;
76
+
77
+ interface SocialProofGridProps extends React__default.HTMLAttributes<HTMLDivElement> {
78
+ columns?: 1 | 2 | 3 | 4;
79
+ staggered?: boolean;
80
+ background?: 'default' | 'muted' | 'dark' | 'brand' | 'transparent';
81
+ }
82
+ declare const SocialProofGrid: React__default.ForwardRefExoticComponent<SocialProofGridProps & React__default.RefAttributes<HTMLDivElement>>;
83
+
84
+ interface SocialProofLogoItem {
85
+ id: string;
86
+ alt: string;
87
+ src?: string;
88
+ logo?: React__default.ReactNode;
89
+ href?: string;
90
+ badge?: React__default.ReactNode;
91
+ }
92
+ interface SocialProofLogosProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'> {
93
+ logos: SocialProofLogoItem[];
94
+ title?: React__default.ReactNode;
95
+ variant?: 'grid' | 'marquee';
96
+ speed?: 'slow' | 'normal' | 'fast';
97
+ background?: 'default' | 'muted' | 'dark' | 'brand' | 'transparent';
98
+ }
99
+ declare const SocialProofLogos: React__default.ForwardRefExoticComponent<SocialProofLogosProps & React__default.RefAttributes<HTMLDivElement>>;
100
+
3
101
  interface StarRatingProps extends React__default.HTMLAttributes<HTMLDivElement> {
4
102
  /** Rating value (0-5, supports decimals for half-stars) */
5
103
  value: number;
@@ -27,32 +125,6 @@ interface StarRatingProps extends React__default.HTMLAttributes<HTMLDivElement>
27
125
  */
28
126
  declare const StarRating: React__default.ForwardRefExoticComponent<StarRatingProps & React__default.RefAttributes<HTMLDivElement>>;
29
127
 
30
- type Platform = 'trustpilot' | 'g2' | 'google' | 'chrome-web-store';
31
- interface PlatformBadgeProps extends React__default.HTMLAttributes<HTMLDivElement> {
32
- /** Review platform */
33
- platform: Platform;
34
- /** Display mode */
35
- variant?: 'icon-only' | 'icon-label' | 'full';
36
- /** Platform rating (used in 'full' variant) */
37
- rating?: number;
38
- /** Number of reviews (used in 'full' variant) */
39
- count?: number;
40
- /** Size variant */
41
- size?: 'sm' | 'md';
42
- }
43
- /**
44
- * Review platform badge with recognizable brand icon, optional label,
45
- * and optional rating display.
46
- *
47
- * @example
48
- * ```tsx
49
- * <PlatformBadge platform="trustpilot" variant="icon-only" />
50
- * <PlatformBadge platform="g2" variant="icon-label" />
51
- * <PlatformBadge platform="google" variant="full" rating={4.9} count={42} />
52
- * ```
53
- */
54
- declare const PlatformBadge: React__default.ForwardRefExoticComponent<PlatformBadgeProps & React__default.RefAttributes<HTMLDivElement>>;
55
-
56
128
  interface VideoLightboxProps {
57
129
  /** Video embed URL (YouTube, Vimeo, Loom) */
58
130
  videoUrl: string;
@@ -110,4 +182,4 @@ interface MetricCounterProps extends React__default.HTMLAttributes<HTMLDivElemen
110
182
  */
111
183
  declare const MetricCounter: React__default.ForwardRefExoticComponent<MetricCounterProps & React__default.RefAttributes<HTMLDivElement>>;
112
184
 
113
- export { MetricCounter, type MetricCounterProps, type Platform, PlatformBadge, type PlatformBadgeProps, StarRating, type StarRatingProps, VideoLightbox, type VideoLightboxProps };
185
+ export { MetricCounter, type MetricCounterProps, type Platform, PlatformBadge, type PlatformBadgeProps, type SocialProofAuthor, SocialProofCard, type SocialProofCardProps, SocialProofCarousel, type SocialProofCarouselProps, SocialProofFeatured, type SocialProofFeaturedProps, SocialProofGrid, type SocialProofGridProps, type SocialProofLogoItem, SocialProofLogos, type SocialProofLogosProps, type SocialProofMedia, type SocialProofMetric, StarRating, type StarRatingProps, VideoLightbox, type VideoLightboxProps };
@@ -1,5 +1,103 @@
1
1
  import React__default from 'react';
2
2
 
3
+ type Platform = 'trustpilot' | 'g2' | 'google' | 'chrome-web-store';
4
+ interface PlatformBadgeProps extends React__default.HTMLAttributes<HTMLDivElement> {
5
+ /** Review platform */
6
+ platform: Platform;
7
+ /** Display mode */
8
+ variant?: 'icon-only' | 'icon-label' | 'full';
9
+ /** Platform rating (used in 'full' variant) */
10
+ rating?: number;
11
+ /** Number of reviews (used in 'full' variant) */
12
+ count?: number;
13
+ /** Size variant */
14
+ size?: 'sm' | 'md';
15
+ }
16
+ /**
17
+ * Review platform badge with recognizable brand icon, optional label,
18
+ * and optional rating display.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * <PlatformBadge platform="trustpilot" variant="icon-only" />
23
+ * <PlatformBadge platform="g2" variant="icon-label" />
24
+ * <PlatformBadge platform="google" variant="full" rating={4.9} count={42} />
25
+ * ```
26
+ */
27
+ declare const PlatformBadge: React__default.ForwardRefExoticComponent<PlatformBadgeProps & React__default.RefAttributes<HTMLDivElement>>;
28
+
29
+ interface SocialProofAuthor {
30
+ name: string;
31
+ title?: string;
32
+ company?: string;
33
+ avatar?: string;
34
+ }
35
+ interface SocialProofMetric {
36
+ value: React__default.ReactNode;
37
+ label: React__default.ReactNode;
38
+ }
39
+ interface SocialProofMedia {
40
+ src: string;
41
+ type: 'image';
42
+ alt?: string;
43
+ }
44
+ interface SocialProofCardProps extends Omit<React__default.HTMLAttributes<HTMLElement>, 'content'> {
45
+ variant?: 'social' | 'compact' | 'standard' | 'detailed' | 'narrative';
46
+ content: React__default.ReactNode;
47
+ author: SocialProofAuthor;
48
+ starRating?: number;
49
+ platform?: Platform;
50
+ badges?: React__default.ReactNode[];
51
+ href?: string;
52
+ media?: SocialProofMedia;
53
+ metrics?: SocialProofMetric[];
54
+ headline?: React__default.ReactNode;
55
+ industry?: React__default.ReactNode;
56
+ ctaText?: React__default.ReactNode;
57
+ }
58
+ declare const SocialProofCard: React__default.ForwardRefExoticComponent<SocialProofCardProps & React__default.RefAttributes<HTMLElement>>;
59
+
60
+ interface SocialProofCarouselProps extends React__default.HTMLAttributes<HTMLDivElement> {
61
+ background?: 'default' | 'muted' | 'dark' | 'brand' | 'transparent';
62
+ }
63
+ declare const SocialProofCarousel: React__default.ForwardRefExoticComponent<SocialProofCarouselProps & React__default.RefAttributes<HTMLDivElement>>;
64
+
65
+ interface SocialProofFeaturedProps extends React__default.HTMLAttributes<HTMLDivElement> {
66
+ quote: React__default.ReactNode;
67
+ author: SocialProofAuthor;
68
+ featuredVariant?: 'standard' | 'cinematic' | 'spotlight';
69
+ starRating?: number;
70
+ platform?: Platform;
71
+ mediaSrc?: string;
72
+ background?: 'default' | 'muted' | 'brand' | 'transparent';
73
+ padding?: 'sm' | 'md' | 'lg';
74
+ }
75
+ declare const SocialProofFeatured: React__default.ForwardRefExoticComponent<SocialProofFeaturedProps & React__default.RefAttributes<HTMLDivElement>>;
76
+
77
+ interface SocialProofGridProps extends React__default.HTMLAttributes<HTMLDivElement> {
78
+ columns?: 1 | 2 | 3 | 4;
79
+ staggered?: boolean;
80
+ background?: 'default' | 'muted' | 'dark' | 'brand' | 'transparent';
81
+ }
82
+ declare const SocialProofGrid: React__default.ForwardRefExoticComponent<SocialProofGridProps & React__default.RefAttributes<HTMLDivElement>>;
83
+
84
+ interface SocialProofLogoItem {
85
+ id: string;
86
+ alt: string;
87
+ src?: string;
88
+ logo?: React__default.ReactNode;
89
+ href?: string;
90
+ badge?: React__default.ReactNode;
91
+ }
92
+ interface SocialProofLogosProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'> {
93
+ logos: SocialProofLogoItem[];
94
+ title?: React__default.ReactNode;
95
+ variant?: 'grid' | 'marquee';
96
+ speed?: 'slow' | 'normal' | 'fast';
97
+ background?: 'default' | 'muted' | 'dark' | 'brand' | 'transparent';
98
+ }
99
+ declare const SocialProofLogos: React__default.ForwardRefExoticComponent<SocialProofLogosProps & React__default.RefAttributes<HTMLDivElement>>;
100
+
3
101
  interface StarRatingProps extends React__default.HTMLAttributes<HTMLDivElement> {
4
102
  /** Rating value (0-5, supports decimals for half-stars) */
5
103
  value: number;
@@ -27,32 +125,6 @@ interface StarRatingProps extends React__default.HTMLAttributes<HTMLDivElement>
27
125
  */
28
126
  declare const StarRating: React__default.ForwardRefExoticComponent<StarRatingProps & React__default.RefAttributes<HTMLDivElement>>;
29
127
 
30
- type Platform = 'trustpilot' | 'g2' | 'google' | 'chrome-web-store';
31
- interface PlatformBadgeProps extends React__default.HTMLAttributes<HTMLDivElement> {
32
- /** Review platform */
33
- platform: Platform;
34
- /** Display mode */
35
- variant?: 'icon-only' | 'icon-label' | 'full';
36
- /** Platform rating (used in 'full' variant) */
37
- rating?: number;
38
- /** Number of reviews (used in 'full' variant) */
39
- count?: number;
40
- /** Size variant */
41
- size?: 'sm' | 'md';
42
- }
43
- /**
44
- * Review platform badge with recognizable brand icon, optional label,
45
- * and optional rating display.
46
- *
47
- * @example
48
- * ```tsx
49
- * <PlatformBadge platform="trustpilot" variant="icon-only" />
50
- * <PlatformBadge platform="g2" variant="icon-label" />
51
- * <PlatformBadge platform="google" variant="full" rating={4.9} count={42} />
52
- * ```
53
- */
54
- declare const PlatformBadge: React__default.ForwardRefExoticComponent<PlatformBadgeProps & React__default.RefAttributes<HTMLDivElement>>;
55
-
56
128
  interface VideoLightboxProps {
57
129
  /** Video embed URL (YouTube, Vimeo, Loom) */
58
130
  videoUrl: string;
@@ -110,4 +182,4 @@ interface MetricCounterProps extends React__default.HTMLAttributes<HTMLDivElemen
110
182
  */
111
183
  declare const MetricCounter: React__default.ForwardRefExoticComponent<MetricCounterProps & React__default.RefAttributes<HTMLDivElement>>;
112
184
 
113
- export { MetricCounter, type MetricCounterProps, type Platform, PlatformBadge, type PlatformBadgeProps, StarRating, type StarRatingProps, VideoLightbox, type VideoLightboxProps };
185
+ export { MetricCounter, type MetricCounterProps, type Platform, PlatformBadge, type PlatformBadgeProps, type SocialProofAuthor, SocialProofCard, type SocialProofCardProps, SocialProofCarousel, type SocialProofCarouselProps, SocialProofFeatured, type SocialProofFeaturedProps, SocialProofGrid, type SocialProofGridProps, type SocialProofLogoItem, SocialProofLogos, type SocialProofLogosProps, type SocialProofMedia, type SocialProofMetric, StarRating, type StarRatingProps, VideoLightbox, type VideoLightboxProps };
@@ -1,5 +1,7 @@
1
1
  "use client";
2
- export { PlatformBadge, StarRating, VideoLightbox } from '../chunk-LQB7QLD3.js';
2
+ export { PlatformBadge, SocialProofCard, SocialProofCarousel, SocialProofFeatured, SocialProofGrid, SocialProofLogos, StarRating, VideoLightbox } from '../chunk-RY257SWH.js';
3
3
  export { MetricCounter } from '../chunk-YSYR54XR.js';
4
+ import '../chunk-MLINFRC3.js';
5
+ import '../chunk-KJ2OXQF4.js';
4
6
  //# sourceMappingURL=out.js.map
5
7
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkD2RHF2OE_cjs = require('../chunk-D2RHF2OE.cjs');
4
+ var chunkK7NQ7TQG_cjs = require('../chunk-K7NQ7TQG.cjs');
5
5
  var chunk2VVRZBUR_cjs = require('../chunk-2VVRZBUR.cjs');
6
6
  var chunkMQDEE7HC_cjs = require('../chunk-MQDEE7HC.cjs');
7
7
  require('../chunk-7EUR3AKV.cjs');
@@ -15,27 +15,27 @@ function UtmProvider({ params, children }) {
15
15
 
16
16
  Object.defineProperty(exports, "JsonLd", {
17
17
  enumerable: true,
18
- get: function () { return chunkD2RHF2OE_cjs.JsonLd; }
18
+ get: function () { return chunkK7NQ7TQG_cjs.JsonLd; }
19
19
  });
20
20
  Object.defineProperty(exports, "aggregateRatingFromTestimonials", {
21
21
  enumerable: true,
22
- get: function () { return chunkD2RHF2OE_cjs.aggregateRatingFromTestimonials; }
22
+ get: function () { return chunkK7NQ7TQG_cjs.aggregateRatingFromTestimonials; }
23
23
  });
24
24
  Object.defineProperty(exports, "buildPageGraph", {
25
25
  enumerable: true,
26
- get: function () { return chunkD2RHF2OE_cjs.buildPageGraph; }
26
+ get: function () { return chunkK7NQ7TQG_cjs.buildPageGraph; }
27
27
  });
28
28
  Object.defineProperty(exports, "canonicalUrl", {
29
29
  enumerable: true,
30
- get: function () { return chunkD2RHF2OE_cjs.canonicalUrl; }
30
+ get: function () { return chunkK7NQ7TQG_cjs.canonicalUrl; }
31
31
  });
32
32
  Object.defineProperty(exports, "createEntityIds", {
33
33
  enumerable: true,
34
- get: function () { return chunkD2RHF2OE_cjs.createEntityIds; }
34
+ get: function () { return chunkK7NQ7TQG_cjs.createEntityIds; }
35
35
  });
36
36
  Object.defineProperty(exports, "createSchemaGenerators", {
37
37
  enumerable: true,
38
- get: function () { return chunkD2RHF2OE_cjs.createSchemaGenerators; }
38
+ get: function () { return chunkK7NQ7TQG_cjs.createSchemaGenerators; }
39
39
  });
40
40
  Object.defineProperty(exports, "AnalyticsProvider", {
41
41
  enumerable: true,
package/dist/web/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { JsonLd, aggregateRatingFromTestimonials, buildPageGraph, canonicalUrl, createEntityIds, createSchemaGenerators } from '../chunk-DMRQPGQA.js';
2
+ export { JsonLd, aggregateRatingFromTestimonials, buildPageGraph, canonicalUrl, createEntityIds, createSchemaGenerators } from '../chunk-25TUCNN6.js';
3
3
  export { AnalyticsProvider, COOKIE_CONSENT_EVENT, COOKIE_CONSENT_KEY, CookieConsent, createAnalyticsLoader, loadClarity, loadGoogleAnalytics, useCookieConsent } from '../chunk-K526GN7P.js';
4
4
  export { UTM_CAMPAIGNS, UTM_CONTENTS, UTM_MEDIUMS_ALL, UTM_MEDIUMS_APP, UTM_MEDIUMS_MESSAGING, UTM_MEDIUMS_WEB, UTM_SOURCES, UTM_SOURCES_REQUIRING_SELLER, UTM_TERMS, buildBlockedError, classifyAndEnforce, createAuditEntry, isValidUtmParams, parseUtmParams, requiresSellerAttribution, toFirstTouchAttribution, validateCompliance, validateUtmField } from '../chunk-BILT5KD3.js';
5
5
  import '../chunk-KJHPOB3J.js';
@@ -1,32 +1,32 @@
1
1
  'use strict';
2
2
 
3
- var chunkD2RHF2OE_cjs = require('../../chunk-D2RHF2OE.cjs');
3
+ var chunkK7NQ7TQG_cjs = require('../../chunk-K7NQ7TQG.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "JsonLd", {
8
8
  enumerable: true,
9
- get: function () { return chunkD2RHF2OE_cjs.JsonLd; }
9
+ get: function () { return chunkK7NQ7TQG_cjs.JsonLd; }
10
10
  });
11
11
  Object.defineProperty(exports, "aggregateRatingFromTestimonials", {
12
12
  enumerable: true,
13
- get: function () { return chunkD2RHF2OE_cjs.aggregateRatingFromTestimonials; }
13
+ get: function () { return chunkK7NQ7TQG_cjs.aggregateRatingFromTestimonials; }
14
14
  });
15
15
  Object.defineProperty(exports, "buildPageGraph", {
16
16
  enumerable: true,
17
- get: function () { return chunkD2RHF2OE_cjs.buildPageGraph; }
17
+ get: function () { return chunkK7NQ7TQG_cjs.buildPageGraph; }
18
18
  });
19
19
  Object.defineProperty(exports, "canonicalUrl", {
20
20
  enumerable: true,
21
- get: function () { return chunkD2RHF2OE_cjs.canonicalUrl; }
21
+ get: function () { return chunkK7NQ7TQG_cjs.canonicalUrl; }
22
22
  });
23
23
  Object.defineProperty(exports, "createEntityIds", {
24
24
  enumerable: true,
25
- get: function () { return chunkD2RHF2OE_cjs.createEntityIds; }
25
+ get: function () { return chunkK7NQ7TQG_cjs.createEntityIds; }
26
26
  });
27
27
  Object.defineProperty(exports, "createSchemaGenerators", {
28
28
  enumerable: true,
29
- get: function () { return chunkD2RHF2OE_cjs.createSchemaGenerators; }
29
+ get: function () { return chunkK7NQ7TQG_cjs.createSchemaGenerators; }
30
30
  });
31
31
  //# sourceMappingURL=out.js.map
32
32
  //# sourceMappingURL=index.cjs.map
@@ -6,6 +6,17 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  * Framework-agnostic types for structured data generation.
7
7
  * Extracted from website/src/lib/seo.ts for reuse across all consumers.
8
8
  */
9
+ /** Aggregate-rating defaults applied to the SoftwareApplication schema. */
10
+ interface SoftwareApplicationAggregateRatingConfig {
11
+ ratingValue: number;
12
+ reviewCount: number;
13
+ bestRating?: number;
14
+ worstRating?: number;
15
+ }
16
+ /** Per-call options for `softwareApplication()`. */
17
+ interface SoftwareApplicationSchemaOptions {
18
+ aggregateRating?: SoftwareApplicationAggregateRatingConfig;
19
+ }
9
20
  /** Brand configuration required by schema generators */
10
21
  interface BrandConfig {
11
22
  name: string;
@@ -14,6 +25,8 @@ interface BrandConfig {
14
25
  tagline: string;
15
26
  founder: string;
16
27
  sameAs?: string[];
28
+ /** Optional aggregate-rating defaults applied to SoftwareApplication schema. */
29
+ aggregateRating?: SoftwareApplicationAggregateRatingConfig;
17
30
  }
18
31
  interface BreadcrumbItem {
19
32
  name: string;
@@ -192,11 +205,6 @@ interface VideoObjectMeta {
192
205
  * ```
193
206
  */
194
207
 
195
- /**
196
- * Create stable entity ID anchors for @graph cross-referencing.
197
- * Every entity in the knowledge graph gets a permanent @id.
198
- * Google resolves @id references across the entire site.
199
- */
200
208
  declare function createEntityIds(brand: BrandConfig): {
201
209
  readonly organization: `${string}/#organization`;
202
210
  readonly website: `${string}/#website`;
@@ -290,7 +298,19 @@ declare function createSchemaGenerators(brand: BrandConfig, supportedLanguages?:
290
298
  };
291
299
  };
292
300
  /** SoftwareApplication schema — Platform Hub, Platform Feature, Pricing. */
293
- softwareApplication(name?: string, description?: string, url?: string, locale?: string): {
301
+ softwareApplication(name?: string, description?: string, url?: string, locale?: string, options?: SoftwareApplicationSchemaOptions): {
302
+ author: {
303
+ '@type': string;
304
+ '@id': `${string}/#organization`;
305
+ name: string;
306
+ };
307
+ aggregateRating?: {
308
+ '@type': string;
309
+ ratingValue: string;
310
+ ratingCount: string;
311
+ bestRating: string;
312
+ worstRating: string;
313
+ } | undefined;
294
314
  '@context': string;
295
315
  '@type': string;
296
316
  '@id': `${string}/#software`;
@@ -301,22 +321,6 @@ declare function createSchemaGenerators(brand: BrandConfig, supportedLanguages?:
301
321
  operatingSystem: string;
302
322
  inLanguage: string;
303
323
  availableLanguage: string[];
304
- offers: {
305
- '@type': string;
306
- priceCurrency: string;
307
- lowPrice: string;
308
- highPrice: string;
309
- offerCount: string;
310
- priceSpecification: {
311
- '@type': string;
312
- description: string;
313
- };
314
- };
315
- author: {
316
- '@type': string;
317
- '@id': `${string}/#organization`;
318
- name: string;
319
- };
320
324
  };
321
325
  /** Article schema — Blog posts, Comparison pages. */
322
326
  article(meta: ArticleMeta, locale?: string): {
@@ -6,6 +6,17 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  * Framework-agnostic types for structured data generation.
7
7
  * Extracted from website/src/lib/seo.ts for reuse across all consumers.
8
8
  */
9
+ /** Aggregate-rating defaults applied to the SoftwareApplication schema. */
10
+ interface SoftwareApplicationAggregateRatingConfig {
11
+ ratingValue: number;
12
+ reviewCount: number;
13
+ bestRating?: number;
14
+ worstRating?: number;
15
+ }
16
+ /** Per-call options for `softwareApplication()`. */
17
+ interface SoftwareApplicationSchemaOptions {
18
+ aggregateRating?: SoftwareApplicationAggregateRatingConfig;
19
+ }
9
20
  /** Brand configuration required by schema generators */
10
21
  interface BrandConfig {
11
22
  name: string;
@@ -14,6 +25,8 @@ interface BrandConfig {
14
25
  tagline: string;
15
26
  founder: string;
16
27
  sameAs?: string[];
28
+ /** Optional aggregate-rating defaults applied to SoftwareApplication schema. */
29
+ aggregateRating?: SoftwareApplicationAggregateRatingConfig;
17
30
  }
18
31
  interface BreadcrumbItem {
19
32
  name: string;
@@ -192,11 +205,6 @@ interface VideoObjectMeta {
192
205
  * ```
193
206
  */
194
207
 
195
- /**
196
- * Create stable entity ID anchors for @graph cross-referencing.
197
- * Every entity in the knowledge graph gets a permanent @id.
198
- * Google resolves @id references across the entire site.
199
- */
200
208
  declare function createEntityIds(brand: BrandConfig): {
201
209
  readonly organization: `${string}/#organization`;
202
210
  readonly website: `${string}/#website`;
@@ -290,7 +298,19 @@ declare function createSchemaGenerators(brand: BrandConfig, supportedLanguages?:
290
298
  };
291
299
  };
292
300
  /** SoftwareApplication schema — Platform Hub, Platform Feature, Pricing. */
293
- softwareApplication(name?: string, description?: string, url?: string, locale?: string): {
301
+ softwareApplication(name?: string, description?: string, url?: string, locale?: string, options?: SoftwareApplicationSchemaOptions): {
302
+ author: {
303
+ '@type': string;
304
+ '@id': `${string}/#organization`;
305
+ name: string;
306
+ };
307
+ aggregateRating?: {
308
+ '@type': string;
309
+ ratingValue: string;
310
+ ratingCount: string;
311
+ bestRating: string;
312
+ worstRating: string;
313
+ } | undefined;
294
314
  '@context': string;
295
315
  '@type': string;
296
316
  '@id': `${string}/#software`;
@@ -301,22 +321,6 @@ declare function createSchemaGenerators(brand: BrandConfig, supportedLanguages?:
301
321
  operatingSystem: string;
302
322
  inLanguage: string;
303
323
  availableLanguage: string[];
304
- offers: {
305
- '@type': string;
306
- priceCurrency: string;
307
- lowPrice: string;
308
- highPrice: string;
309
- offerCount: string;
310
- priceSpecification: {
311
- '@type': string;
312
- description: string;
313
- };
314
- };
315
- author: {
316
- '@type': string;
317
- '@id': `${string}/#organization`;
318
- name: string;
319
- };
320
324
  };
321
325
  /** Article schema — Blog posts, Comparison pages. */
322
326
  article(meta: ArticleMeta, locale?: string): {
@@ -1,3 +1,3 @@
1
- export { JsonLd, aggregateRatingFromTestimonials, buildPageGraph, canonicalUrl, createEntityIds, createSchemaGenerators } from '../../chunk-DMRQPGQA.js';
1
+ export { JsonLd, aggregateRatingFromTestimonials, buildPageGraph, canonicalUrl, createEntityIds, createSchemaGenerators } from '../../chunk-25TUCNN6.js';
2
2
  //# sourceMappingURL=out.js.map
3
3
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesmind-ai/design-system",
3
- "version": "1.0.0",
3
+ "version": "1.3.0",
4
4
  "description": "Salesmind AI Design System",
5
5
  "license": "MIT",
6
6
  "type": "module",