@salesmind-ai/design-system 0.3.3 → 0.3.5
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/{SectionShell-BfBw5q0Y.d.cts → SectionShell-GlglHCzz.d.cts} +1 -0
- package/dist/{SectionShell-BfBw5q0Y.d.ts → SectionShell-GlglHCzz.d.ts} +1 -0
- package/dist/StatsSection-B8iD9L-o.d.ts +68 -0
- package/dist/StatsSection-wgd8Vge1.d.cts +68 -0
- package/dist/blog/index.cjs +13 -13
- package/dist/blog/index.d.cts +1 -1
- package/dist/blog/index.d.ts +1 -1
- package/dist/blog/index.js +2 -2
- package/dist/charts/index.cjs +11 -11
- package/dist/charts/index.js +1 -1
- package/dist/{chunk-F6YYWMME.js → chunk-2KQVZ5FB.js} +2 -2
- package/dist/{chunk-LMJPWXTZ.cjs → chunk-2ZNR2F2V.cjs} +8 -8
- package/dist/{chunk-TEC62D4A.cjs → chunk-6HKQ5ILL.cjs} +30 -30
- package/dist/chunk-6HKQ5ILL.cjs.map +1 -0
- package/dist/{chunk-IYPXJ6YC.cjs → chunk-EM7JHRYW.cjs} +1 -1
- package/dist/{chunk-IYPXJ6YC.cjs.map → chunk-EM7JHRYW.cjs.map} +1 -1
- package/dist/{chunk-REQ5Q6ZI.js → chunk-JNASH4OQ.js} +4 -4
- package/dist/chunk-JNASH4OQ.js.map +1 -0
- package/dist/{chunk-ZDLOA2UT.cjs → chunk-KDLH35OI.cjs} +4 -4
- package/dist/chunk-KDLH35OI.cjs.map +1 -0
- package/dist/{chunk-XQZVY7JJ.cjs → chunk-KK5UO2P4.cjs} +7 -7
- package/dist/{chunk-OLV7OD3X.cjs → chunk-LGNMFBLF.cjs} +4 -4
- package/dist/{chunk-ZWUKRCOJ.cjs → chunk-OGKGIXFC.cjs} +29 -29
- package/dist/{chunk-MTI27RDV.js → chunk-PE2KJVRN.js} +2 -2
- package/dist/{chunk-GUZIMHWS.js → chunk-RQUFZAZ7.js} +30 -30
- package/dist/chunk-RQUFZAZ7.js.map +1 -0
- package/dist/{chunk-LOWEAQST.js → chunk-T5H5PNLN.js} +2 -2
- package/dist/{chunk-TW5JB35D.js → chunk-U3LK2GID.js} +2 -2
- package/dist/{chunk-KBA2LFBG.js → chunk-UFAJY2DM.js} +1 -1
- package/dist/{chunk-KBA2LFBG.js.map → chunk-UFAJY2DM.js.map} +1 -1
- package/dist/index.cjs +93 -93
- package/dist/index.css +24 -13
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -7
- package/dist/marketing/index.cjs +36 -36
- package/dist/marketing/index.d.cts +1 -1
- package/dist/marketing/index.d.ts +1 -1
- package/dist/marketing/index.js +2 -2
- package/dist/nav/index.cjs +16 -16
- package/dist/nav/index.css +24 -13
- package/dist/nav/index.css.map +1 -1
- package/dist/nav/index.js +1 -1
- package/dist/sections/index.cjs +14 -15
- package/dist/sections/index.cjs.map +1 -1
- package/dist/sections/index.d.cts +15 -69
- package/dist/sections/index.d.ts +15 -69
- package/dist/sections/index.js +11 -2
- package/dist/sections/index.js.map +1 -1
- package/dist/social-proof/index.cjs +12 -12
- package/dist/social-proof/index.d.cts +1 -1
- package/dist/social-proof/index.d.ts +1 -1
- package/dist/social-proof/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-GUZIMHWS.js.map +0 -1
- package/dist/chunk-REQ5Q6ZI.js.map +0 -1
- package/dist/chunk-TEC62D4A.cjs.map +0 -1
- package/dist/chunk-ZDLOA2UT.cjs.map +0 -1
- /package/dist/{chunk-F6YYWMME.js.map → chunk-2KQVZ5FB.js.map} +0 -0
- /package/dist/{chunk-LMJPWXTZ.cjs.map → chunk-2ZNR2F2V.cjs.map} +0 -0
- /package/dist/{chunk-LOWEAQST.js.map → chunk-KK5UO2P4.cjs.map} +0 -0
- /package/dist/{chunk-OLV7OD3X.cjs.map → chunk-LGNMFBLF.cjs.map} +0 -0
- /package/dist/{chunk-TW5JB35D.js.map → chunk-OGKGIXFC.cjs.map} +0 -0
- /package/dist/{chunk-MTI27RDV.js.map → chunk-PE2KJVRN.js.map} +0 -0
- /package/dist/{chunk-XQZVY7JJ.cjs.map → chunk-T5H5PNLN.js.map} +0 -0
- /package/dist/{chunk-ZWUKRCOJ.cjs.map → chunk-U3LK2GID.js.map} +0 -0
|
@@ -8,6 +8,7 @@ interface SectionHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title
|
|
|
8
8
|
}
|
|
9
9
|
declare const SectionHeader: React__default.ForwardRefExoticComponent<SectionHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
interface SectionShellProps extends HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
children?: React__default.ReactNode;
|
|
11
12
|
background?: 'default' | 'muted' | 'brand' | 'transparent';
|
|
12
13
|
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
13
14
|
containerSize?: 'sm' | 'md' | 'lg' | 'xl' | 'fluid';
|
|
@@ -8,6 +8,7 @@ interface SectionHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title
|
|
|
8
8
|
}
|
|
9
9
|
declare const SectionHeader: React__default.ForwardRefExoticComponent<SectionHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
interface SectionShellProps extends HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
children?: React__default.ReactNode;
|
|
11
12
|
background?: 'default' | 'muted' | 'brand' | 'transparent';
|
|
12
13
|
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
13
14
|
containerSize?: 'sm' | 'md' | 'lg' | 'xl' | 'fluid';
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { c as SectionShellProps } from './SectionShell-GlglHCzz.js';
|
|
3
|
+
|
|
4
|
+
interface HeroSectionProps extends Omit<SectionShellProps, 'title'> {
|
|
5
|
+
variant?: 'left' | 'center' | 'split';
|
|
6
|
+
title: React__default.ReactNode;
|
|
7
|
+
subtitle?: React__default.ReactNode;
|
|
8
|
+
eyebrow?: React__default.ReactNode;
|
|
9
|
+
primaryCta?: React__default.ReactNode;
|
|
10
|
+
secondaryCta?: React__default.ReactNode;
|
|
11
|
+
/** Main visual (Image, Video, or Component) */
|
|
12
|
+
media?: React__default.ReactNode;
|
|
13
|
+
/** Adds a browser-like header bar to the media container */
|
|
14
|
+
mediaBrowserFrame?: boolean;
|
|
15
|
+
/** Optional floating elements (e.g. SocialProof cards) over the media */
|
|
16
|
+
floatingElement?: React__default.ReactNode;
|
|
17
|
+
floatingPosition?: 'top-right' | 'bottom-left';
|
|
18
|
+
/** Background Visuals */
|
|
19
|
+
withGrid?: boolean;
|
|
20
|
+
withGlow?: boolean;
|
|
21
|
+
align?: 'left' | 'center';
|
|
22
|
+
}
|
|
23
|
+
declare const HeroSection: React__default.ForwardRefExoticComponent<HeroSectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
|
|
25
|
+
interface FeatureItem {
|
|
26
|
+
title: React__default.ReactNode;
|
|
27
|
+
description: React__default.ReactNode;
|
|
28
|
+
icon?: React__default.ReactNode;
|
|
29
|
+
media?: React__default.ReactNode;
|
|
30
|
+
step?: string | number;
|
|
31
|
+
cta?: React__default.ReactNode;
|
|
32
|
+
}
|
|
33
|
+
interface FeatureSectionProps extends Omit<SectionShellProps, 'title'> {
|
|
34
|
+
variant?: 'grid' | 'zigzag';
|
|
35
|
+
columns?: 2 | 3 | 4;
|
|
36
|
+
features: FeatureItem[];
|
|
37
|
+
title?: React__default.ReactNode;
|
|
38
|
+
subtitle?: React__default.ReactNode;
|
|
39
|
+
eyebrow?: React__default.ReactNode;
|
|
40
|
+
alignHeader?: 'left' | 'center' | 'right';
|
|
41
|
+
}
|
|
42
|
+
declare const FeatureSection: React__default.ForwardRefExoticComponent<FeatureSectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
|
|
44
|
+
interface CTASectionProps extends Omit<SectionShellProps, 'title'> {
|
|
45
|
+
variant?: 'center' | 'split' | 'boxed';
|
|
46
|
+
title: React__default.ReactNode;
|
|
47
|
+
description?: React__default.ReactNode;
|
|
48
|
+
primaryCta?: React__default.ReactNode;
|
|
49
|
+
secondaryCta?: React__default.ReactNode;
|
|
50
|
+
actions?: React__default.ReactNode;
|
|
51
|
+
}
|
|
52
|
+
declare const CTASection: React__default.ForwardRefExoticComponent<CTASectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
53
|
+
|
|
54
|
+
interface StatItem {
|
|
55
|
+
label: string;
|
|
56
|
+
value: string | number;
|
|
57
|
+
suffix?: string;
|
|
58
|
+
prefix?: string;
|
|
59
|
+
}
|
|
60
|
+
interface StatsSectionProps extends Omit<SectionShellProps, 'title'> {
|
|
61
|
+
stats: StatItem[];
|
|
62
|
+
title?: React__default.ReactNode;
|
|
63
|
+
subtitle?: React__default.ReactNode;
|
|
64
|
+
eyebrow?: React__default.ReactNode;
|
|
65
|
+
}
|
|
66
|
+
declare const StatsSection: React__default.ForwardRefExoticComponent<StatsSectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
67
|
+
|
|
68
|
+
export { CTASection as C, type FeatureItem as F, HeroSection as H, type StatItem as S, type CTASectionProps as a, FeatureSection as b, type FeatureSectionProps as c, type HeroSectionProps as d, StatsSection as e, type StatsSectionProps as f };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { c as SectionShellProps } from './SectionShell-GlglHCzz.cjs';
|
|
3
|
+
|
|
4
|
+
interface HeroSectionProps extends Omit<SectionShellProps, 'title'> {
|
|
5
|
+
variant?: 'left' | 'center' | 'split';
|
|
6
|
+
title: React__default.ReactNode;
|
|
7
|
+
subtitle?: React__default.ReactNode;
|
|
8
|
+
eyebrow?: React__default.ReactNode;
|
|
9
|
+
primaryCta?: React__default.ReactNode;
|
|
10
|
+
secondaryCta?: React__default.ReactNode;
|
|
11
|
+
/** Main visual (Image, Video, or Component) */
|
|
12
|
+
media?: React__default.ReactNode;
|
|
13
|
+
/** Adds a browser-like header bar to the media container */
|
|
14
|
+
mediaBrowserFrame?: boolean;
|
|
15
|
+
/** Optional floating elements (e.g. SocialProof cards) over the media */
|
|
16
|
+
floatingElement?: React__default.ReactNode;
|
|
17
|
+
floatingPosition?: 'top-right' | 'bottom-left';
|
|
18
|
+
/** Background Visuals */
|
|
19
|
+
withGrid?: boolean;
|
|
20
|
+
withGlow?: boolean;
|
|
21
|
+
align?: 'left' | 'center';
|
|
22
|
+
}
|
|
23
|
+
declare const HeroSection: React__default.ForwardRefExoticComponent<HeroSectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
|
|
25
|
+
interface FeatureItem {
|
|
26
|
+
title: React__default.ReactNode;
|
|
27
|
+
description: React__default.ReactNode;
|
|
28
|
+
icon?: React__default.ReactNode;
|
|
29
|
+
media?: React__default.ReactNode;
|
|
30
|
+
step?: string | number;
|
|
31
|
+
cta?: React__default.ReactNode;
|
|
32
|
+
}
|
|
33
|
+
interface FeatureSectionProps extends Omit<SectionShellProps, 'title'> {
|
|
34
|
+
variant?: 'grid' | 'zigzag';
|
|
35
|
+
columns?: 2 | 3 | 4;
|
|
36
|
+
features: FeatureItem[];
|
|
37
|
+
title?: React__default.ReactNode;
|
|
38
|
+
subtitle?: React__default.ReactNode;
|
|
39
|
+
eyebrow?: React__default.ReactNode;
|
|
40
|
+
alignHeader?: 'left' | 'center' | 'right';
|
|
41
|
+
}
|
|
42
|
+
declare const FeatureSection: React__default.ForwardRefExoticComponent<FeatureSectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
|
|
44
|
+
interface CTASectionProps extends Omit<SectionShellProps, 'title'> {
|
|
45
|
+
variant?: 'center' | 'split' | 'boxed';
|
|
46
|
+
title: React__default.ReactNode;
|
|
47
|
+
description?: React__default.ReactNode;
|
|
48
|
+
primaryCta?: React__default.ReactNode;
|
|
49
|
+
secondaryCta?: React__default.ReactNode;
|
|
50
|
+
actions?: React__default.ReactNode;
|
|
51
|
+
}
|
|
52
|
+
declare const CTASection: React__default.ForwardRefExoticComponent<CTASectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
53
|
+
|
|
54
|
+
interface StatItem {
|
|
55
|
+
label: string;
|
|
56
|
+
value: string | number;
|
|
57
|
+
suffix?: string;
|
|
58
|
+
prefix?: string;
|
|
59
|
+
}
|
|
60
|
+
interface StatsSectionProps extends Omit<SectionShellProps, 'title'> {
|
|
61
|
+
stats: StatItem[];
|
|
62
|
+
title?: React__default.ReactNode;
|
|
63
|
+
subtitle?: React__default.ReactNode;
|
|
64
|
+
eyebrow?: React__default.ReactNode;
|
|
65
|
+
}
|
|
66
|
+
declare const StatsSection: React__default.ForwardRefExoticComponent<StatsSectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
67
|
+
|
|
68
|
+
export { CTASection as C, type FeatureItem as F, HeroSection as H, type StatItem as S, type CTASectionProps as a, FeatureSection as b, type FeatureSectionProps as c, type HeroSectionProps as d, StatsSection as e, type StatsSectionProps as f };
|
package/dist/blog/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLGNMFBLF_cjs = require('../chunk-LGNMFBLF.cjs');
|
|
4
4
|
require('../chunk-ECXBTUH6.cjs');
|
|
5
5
|
var chunkQ75DBVDY_cjs = require('../chunk-Q75DBVDY.cjs');
|
|
6
6
|
require('../chunk-VC5LMUVQ.cjs');
|
|
7
7
|
require('../chunk-VM7WFMKI.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-EM7JHRYW.cjs');
|
|
9
9
|
require('../chunk-LJADZITX.cjs');
|
|
10
10
|
require('../chunk-MDB2WCRQ.cjs');
|
|
11
11
|
|
|
@@ -13,47 +13,47 @@ require('../chunk-MDB2WCRQ.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "ArticleCard", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkLGNMFBLF_cjs.ArticleCard; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "ArticleLayout", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkLGNMFBLF_cjs.ArticleLayout; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "AuthorBio", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkLGNMFBLF_cjs.AuthorBio; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "DataHighlight", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkLGNMFBLF_cjs.DataHighlight; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "InsightCallout", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkLGNMFBLF_cjs.InsightCallout; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "LongFormLayout", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkLGNMFBLF_cjs.LongFormLayout; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "ReadingProgress", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkLGNMFBLF_cjs.ReadingProgress; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "RelatedContent", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkLGNMFBLF_cjs.RelatedContent; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "TableOfContents", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkLGNMFBLF_cjs.TableOfContents; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "VersionedSeriesNavigator", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkLGNMFBLF_cjs.VersionedSeriesNavigator; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "VersionedUpgradeAlert", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkLGNMFBLF_cjs.VersionedUpgradeAlert; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "BrowserFrame", {
|
|
59
59
|
enumerable: true,
|
package/dist/blog/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as SectionShellProps } from '../SectionShell-
|
|
2
|
+
import { c as SectionShellProps } from '../SectionShell-GlglHCzz.cjs';
|
|
3
3
|
|
|
4
4
|
interface ArticleCardProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
5
5
|
/** Target URL */
|
package/dist/blog/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as SectionShellProps } from '../SectionShell-
|
|
2
|
+
import { c as SectionShellProps } from '../SectionShell-GlglHCzz.js';
|
|
3
3
|
|
|
4
4
|
interface ArticleCardProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
5
5
|
/** Target URL */
|
package/dist/blog/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { ArticleCard, ArticleLayout, AuthorBio, DataHighlight, InsightCallout, LongFormLayout, ReadingProgress, RelatedContent, TableOfContents, VersionedSeriesNavigator, VersionedUpgradeAlert } from '../chunk-
|
|
1
|
+
export { ArticleCard, ArticleLayout, AuthorBio, DataHighlight, InsightCallout, LongFormLayout, ReadingProgress, RelatedContent, TableOfContents, VersionedSeriesNavigator, VersionedUpgradeAlert } from '../chunk-2KQVZ5FB.js';
|
|
2
2
|
import '../chunk-P5BOFE5A.js';
|
|
3
3
|
export { BrowserFrame } from '../chunk-XWPDRMZG.js';
|
|
4
4
|
import '../chunk-2GARWEJK.js';
|
|
5
5
|
import '../chunk-Y3CPKNB7.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-UFAJY2DM.js';
|
|
7
7
|
import '../chunk-KJ2OXQF4.js';
|
|
8
8
|
import '../chunk-HN4PHABT.js';
|
|
9
9
|
//# sourceMappingURL=out.js.map
|
package/dist/charts/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6HKQ5ILL_cjs = require('../chunk-6HKQ5ILL.cjs');
|
|
4
4
|
require('../chunk-Q2MFGYTE.cjs');
|
|
5
5
|
require('../chunk-WH7PYHZY.cjs');
|
|
6
6
|
|
|
@@ -8,43 +8,43 @@ require('../chunk-WH7PYHZY.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "BarChart", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk6HKQ5ILL_cjs.BarChart; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "Chart", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk6HKQ5ILL_cjs.Chart; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ChartContainer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk6HKQ5ILL_cjs.ChartContainer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "ChartSwitchControl", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk6HKQ5ILL_cjs.ChartSwitchControl; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "FunnelChart", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk6HKQ5ILL_cjs.FunnelChart; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "HeatmapChart", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk6HKQ5ILL_cjs.HeatmapChart; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "LineChart", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk6HKQ5ILL_cjs.LineChart; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "MBTIRadar", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk6HKQ5ILL_cjs.MBTIRadar; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "MBTITypeGrid", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk6HKQ5ILL_cjs.MBTITypeGrid; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "PieChart", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk6HKQ5ILL_cjs.PieChart; }
|
|
48
48
|
});
|
|
49
49
|
//# sourceMappingURL=out.js.map
|
|
50
50
|
//# sourceMappingURL=index.cjs.map
|
package/dist/charts/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BarChart, Chart, ChartContainer, ChartSwitchControl, FunnelChart, HeatmapChart, LineChart, MBTIRadar, MBTITypeGrid, PieChart } from '../chunk-
|
|
1
|
+
export { BarChart, Chart, ChartContainer, ChartSwitchControl, FunnelChart, HeatmapChart, LineChart, MBTIRadar, MBTITypeGrid, PieChart } from '../chunk-RQUFZAZ7.js';
|
|
2
2
|
import '../chunk-B6AVAX4F.js';
|
|
3
3
|
import '../chunk-C2BCDNAV.js';
|
|
4
4
|
//# sourceMappingURL=out.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMessage } from './chunk-P5BOFE5A.js';
|
|
2
2
|
import { useAnalytics } from './chunk-2GARWEJK.js';
|
|
3
3
|
import { Avatar, AvatarImage, AvatarFallback } from './chunk-Y3CPKNB7.js';
|
|
4
|
-
import { SectionShell, SectionHeader } from './chunk-
|
|
4
|
+
import { SectionShell, SectionHeader } from './chunk-UFAJY2DM.js';
|
|
5
5
|
import { OutboundLink } from './chunk-KJ2OXQF4.js';
|
|
6
6
|
import React9, { forwardRef, useState, useEffect, useRef } from 'react';
|
|
7
7
|
import clsx9 from 'clsx';
|
|
@@ -482,4 +482,4 @@ VersionedSeriesNavigator.displayName = "VersionedSeriesNavigator";
|
|
|
482
482
|
|
|
483
483
|
export { ArticleCard, ArticleLayout, AuthorBio, DataHighlight, InsightCallout, LongFormLayout, ReadingProgress, RelatedContent, TableOfContents, VersionedSeriesNavigator, VersionedUpgradeAlert };
|
|
484
484
|
//# sourceMappingURL=out.js.map
|
|
485
|
-
//# sourceMappingURL=chunk-
|
|
485
|
+
//# sourceMappingURL=chunk-2KQVZ5FB.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkMQRB634A_cjs = require('./chunk-MQRB634A.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkEM7JHRYW_cjs = require('./chunk-EM7JHRYW.cjs');
|
|
5
5
|
var chunkMDB2WCRQ_cjs = require('./chunk-MDB2WCRQ.cjs');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var clsx = require('clsx');
|
|
@@ -48,7 +48,7 @@ var HeroSection = react.forwardRef(
|
|
|
48
48
|
floatingElement && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx__default.default("ds-hero__float", `ds-hero__float--${floatingPosition}`), children: floatingElement })
|
|
49
49
|
] });
|
|
50
50
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51
|
-
|
|
51
|
+
chunkEM7JHRYW_cjs.SectionShell,
|
|
52
52
|
{
|
|
53
53
|
ref,
|
|
54
54
|
className: clsx__default.default(
|
|
@@ -124,8 +124,8 @@ var FeatureSection = react.forwardRef(
|
|
|
124
124
|
className,
|
|
125
125
|
...props
|
|
126
126
|
}, ref) => {
|
|
127
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
128
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
127
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkEM7JHRYW_cjs.SectionShell, { ref, className: clsx__default.default("ds-feature-section", className), ...props, children: [
|
|
128
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkEM7JHRYW_cjs.SectionHeader, { title, subtitle, eyebrow, align: alignHeader }),
|
|
129
129
|
variant === "grid" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx__default.default("ds-feature-grid", `ds-feature-grid--${columns}-col`), children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(FeatureCard, { item: feature }, index)) }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "ds-feature-zigzag", children: features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsx(FeatureRow, { item: feature }, index)) })
|
|
130
130
|
] });
|
|
131
131
|
}
|
|
@@ -165,14 +165,14 @@ var CTASection = react.forwardRef(
|
|
|
165
165
|
] }),
|
|
166
166
|
children
|
|
167
167
|
] });
|
|
168
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
168
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkEM7JHRYW_cjs.SectionShell, { ref, className: clsx__default.default(className), ...props, children: isBoxed ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "ds-cta-card", children: Content }) : Content });
|
|
169
169
|
}
|
|
170
170
|
);
|
|
171
171
|
CTASection.displayName = "CTASection";
|
|
172
172
|
var StatsSection = react.forwardRef(
|
|
173
173
|
({ stats, title, subtitle, eyebrow, className, ...props }, ref) => {
|
|
174
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
175
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
174
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkEM7JHRYW_cjs.SectionShell, { ref, className: clsx__default.default("ds-stats-section", className), ...props, children: [
|
|
175
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkEM7JHRYW_cjs.SectionHeader, { title, subtitle, eyebrow }),
|
|
176
176
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "ds-stats-grid", children: stats.map((stat, idx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-stat-card", children: [
|
|
177
177
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-stat-value", children: [
|
|
178
178
|
stat.prefix,
|
|
@@ -191,4 +191,4 @@ exports.FeatureSection = FeatureSection;
|
|
|
191
191
|
exports.HeroSection = HeroSection;
|
|
192
192
|
exports.StatsSection = StatsSection;
|
|
193
193
|
//# sourceMappingURL=out.js.map
|
|
194
|
-
//# sourceMappingURL=chunk-
|
|
194
|
+
//# sourceMappingURL=chunk-2ZNR2F2V.cjs.map
|
|
@@ -1280,6 +1280,30 @@ var DIMENSION_LABELS = {
|
|
|
1280
1280
|
TF: { left: "Thinking", right: "Feeling", full: "T/F" },
|
|
1281
1281
|
JP: { left: "Judging", right: "Perceiving", full: "J/P" }
|
|
1282
1282
|
};
|
|
1283
|
+
var CustomTooltip = ({ active, payload }) => {
|
|
1284
|
+
if (!active || !payload?.length) return null;
|
|
1285
|
+
const data = payload[0].payload;
|
|
1286
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-mbti-radar__tooltip", children: [
|
|
1287
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "ds-mbti-radar__tooltip-title", children: data.fullName }),
|
|
1288
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "ds-mbti-radar__tooltip-value", children: [
|
|
1289
|
+
data.leftLabel,
|
|
1290
|
+
": ",
|
|
1291
|
+
100 - data.value,
|
|
1292
|
+
"%"
|
|
1293
|
+
] }),
|
|
1294
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "ds-mbti-radar__tooltip-value", children: [
|
|
1295
|
+
data.rightLabel,
|
|
1296
|
+
": ",
|
|
1297
|
+
data.value,
|
|
1298
|
+
"%"
|
|
1299
|
+
] }),
|
|
1300
|
+
data.comparison !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "ds-mbti-radar__tooltip-comparison", children: [
|
|
1301
|
+
"Benchmark: ",
|
|
1302
|
+
data.comparison,
|
|
1303
|
+
"%"
|
|
1304
|
+
] })
|
|
1305
|
+
] });
|
|
1306
|
+
};
|
|
1283
1307
|
function MBTIRadar({
|
|
1284
1308
|
dimensions,
|
|
1285
1309
|
sampleSize,
|
|
@@ -1329,33 +1353,7 @@ function MBTIRadar({
|
|
|
1329
1353
|
) })
|
|
1330
1354
|
] });
|
|
1331
1355
|
}
|
|
1332
|
-
const
|
|
1333
|
-
active,
|
|
1334
|
-
payload
|
|
1335
|
-
}) => {
|
|
1336
|
-
if (!active || !payload?.length) return null;
|
|
1337
|
-
const data = payload[0].payload;
|
|
1338
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-mbti-radar__tooltip", children: [
|
|
1339
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "ds-mbti-radar__tooltip-title", children: data.fullName }),
|
|
1340
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "ds-mbti-radar__tooltip-value", children: [
|
|
1341
|
-
data.leftLabel,
|
|
1342
|
-
": ",
|
|
1343
|
-
100 - data.value,
|
|
1344
|
-
"%"
|
|
1345
|
-
] }),
|
|
1346
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "ds-mbti-radar__tooltip-value", children: [
|
|
1347
|
-
data.rightLabel,
|
|
1348
|
-
": ",
|
|
1349
|
-
data.value,
|
|
1350
|
-
"%"
|
|
1351
|
-
] }),
|
|
1352
|
-
data.comparison !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "ds-mbti-radar__tooltip-comparison", children: [
|
|
1353
|
-
"Benchmark: ",
|
|
1354
|
-
data.comparison,
|
|
1355
|
-
"%"
|
|
1356
|
-
] })
|
|
1357
|
-
] });
|
|
1358
|
-
};
|
|
1356
|
+
const isTesting = typeof process !== "undefined" && (process.env.NODE_ENV === "test" || process.env.STORYBOOK_A11Y === "true");
|
|
1359
1357
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx7__default.default("ds-mbti-radar", className), children: [
|
|
1360
1358
|
(title || subtitle) && /* @__PURE__ */ jsxRuntime.jsxs("header", { className: "ds-mbti-radar__header", children: [
|
|
1361
1359
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-mbti-radar__header-text", children: [
|
|
@@ -1397,7 +1395,8 @@ function MBTIRadar({
|
|
|
1397
1395
|
stroke: "var(--brand-pink)",
|
|
1398
1396
|
fill: "var(--brand-pink)",
|
|
1399
1397
|
fillOpacity: 0.3,
|
|
1400
|
-
strokeWidth: 2
|
|
1398
|
+
strokeWidth: 2,
|
|
1399
|
+
isAnimationActive: !isTesting
|
|
1401
1400
|
}
|
|
1402
1401
|
),
|
|
1403
1402
|
comparison && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1409,7 +1408,8 @@ function MBTIRadar({
|
|
|
1409
1408
|
fill: "var(--brand-yellow)",
|
|
1410
1409
|
fillOpacity: 0.1,
|
|
1411
1410
|
strokeWidth: 2,
|
|
1412
|
-
strokeDasharray: "5 5"
|
|
1411
|
+
strokeDasharray: "5 5",
|
|
1412
|
+
isAnimationActive: !isTesting
|
|
1413
1413
|
}
|
|
1414
1414
|
),
|
|
1415
1415
|
showValues && /* @__PURE__ */ jsxRuntime.jsx(recharts.Tooltip, { content: /* @__PURE__ */ jsxRuntime.jsx(CustomTooltip, {}) }),
|
|
@@ -1621,4 +1621,4 @@ exports.MBTIRadar = MBTIRadar;
|
|
|
1621
1621
|
exports.MBTITypeGrid = MBTITypeGrid;
|
|
1622
1622
|
exports.PieChart = PieChart;
|
|
1623
1623
|
//# sourceMappingURL=out.js.map
|
|
1624
|
-
//# sourceMappingURL=chunk-
|
|
1624
|
+
//# sourceMappingURL=chunk-6HKQ5ILL.cjs.map
|