@salesmind-ai/design-system 0.3.10 → 0.3.12
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/{AppearanceProvider-C36a8-eb.d.cts → AppearanceProvider-B_o-H39e.d.cts} +14 -1
- package/dist/{AppearanceProvider-C36a8-eb.d.ts → AppearanceProvider-B_o-H39e.d.ts} +14 -1
- package/dist/admin/index.css +3 -3
- package/dist/admin/index.css.map +1 -1
- package/dist/admin/index.d.cts +1 -1
- package/dist/admin/index.d.ts +1 -1
- package/dist/{chunk-UQ4SHBMC.js → chunk-6R4F3HK6.js} +2 -2
- package/dist/{chunk-CH42VPWE.cjs → chunk-BJXGIHVZ.cjs} +22 -1
- package/dist/chunk-BJXGIHVZ.cjs.map +1 -0
- package/dist/{chunk-KNQEIU7O.cjs → chunk-C4XSNMRU.cjs} +8 -4
- package/dist/chunk-C4XSNMRU.cjs.map +1 -0
- package/dist/{chunk-KVGSVGRK.cjs → chunk-D2RHF2OE.cjs} +2 -2
- package/dist/chunk-D2RHF2OE.cjs.map +1 -0
- package/dist/{chunk-IFRATNLU.js → chunk-DMRQPGQA.js} +2 -2
- package/dist/chunk-DMRQPGQA.js.map +1 -0
- package/dist/{chunk-ELKEYKEI.cjs → chunk-F33EEHWL.cjs} +4 -4
- package/dist/{chunk-B23AGGYI.cjs → chunk-GQELL2MF.cjs} +2 -7
- package/dist/chunk-GQELL2MF.cjs.map +1 -0
- package/dist/{chunk-W2WTP6HS.cjs → chunk-HCZW5AJN.cjs} +4 -3
- package/dist/chunk-HCZW5AJN.cjs.map +1 -0
- package/dist/{chunk-T343CCH5.js → chunk-KE7T2HQC.js} +8 -4
- package/dist/chunk-KE7T2HQC.js.map +1 -0
- package/dist/{chunk-OGKGIXFC.cjs → chunk-KR6T7N7W.cjs} +26 -25
- package/dist/chunk-KR6T7N7W.cjs.map +1 -0
- package/dist/{chunk-UIPEIRGT.js → chunk-QALDZ7WQ.js} +2 -7
- package/dist/chunk-QALDZ7WQ.js.map +1 -0
- package/dist/{chunk-JPJN4YBC.js → chunk-QTARL7VL.js} +21 -2
- package/dist/chunk-QTARL7VL.js.map +1 -0
- package/dist/{chunk-HRENHNDJ.js → chunk-TCFC7XTB.js} +4 -3
- package/dist/chunk-TCFC7XTB.js.map +1 -0
- package/dist/{chunk-5LGDEZWY.cjs → chunk-UTVXGAQP.cjs} +10 -7
- package/dist/chunk-UTVXGAQP.cjs.map +1 -0
- package/dist/{chunk-U3LK2GID.js → chunk-WN626YNO.js} +4 -3
- package/dist/chunk-WN626YNO.js.map +1 -0
- package/dist/{chunk-MU6GW5ZV.js → chunk-XPTVHPCN.js} +7 -4
- package/dist/chunk-XPTVHPCN.js.map +1 -0
- package/dist/core/index.cjs +143 -135
- package/dist/core/index.css +3 -1
- package/dist/core/index.css.map +1 -1
- package/dist/core/index.d.cts +6 -1
- package/dist/core/index.d.ts +6 -1
- package/dist/core/index.js +3 -3
- package/dist/index.cjs +205 -197
- package/dist/index.css +47 -20
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/marketing/index.cjs +36 -36
- package/dist/marketing/index.css +3 -0
- package/dist/marketing/index.css.map +1 -1
- package/dist/marketing/index.js +2 -2
- package/dist/motion/index.cjs +7 -7
- package/dist/motion/index.d.cts +1 -1
- package/dist/motion/index.d.ts +1 -1
- package/dist/motion/index.js +1 -1
- package/dist/nav/index.cjs +16 -16
- package/dist/nav/index.css +3 -3
- package/dist/nav/index.css.map +1 -1
- package/dist/nav/index.js +1 -1
- package/dist/social-proof/index.css +28 -6
- package/dist/social-proof/index.css.map +1 -1
- package/dist/styles/styles.css +12 -10
- package/dist/theme/index.cjs +19 -11
- package/dist/theme/index.css +7 -7
- package/dist/theme/index.css.map +1 -1
- package/dist/theme/index.d.cts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +2 -2
- package/dist/web/index.cjs +7 -7
- package/dist/web/index.js +1 -1
- package/dist/web/server/index.cjs +7 -7
- package/dist/web/server/index.d.cts +4 -3
- package/dist/web/server/index.d.ts +4 -3
- package/dist/web/server/index.js +1 -1
- package/package.json +16 -1
- package/dist/chunk-5LGDEZWY.cjs.map +0 -1
- package/dist/chunk-B23AGGYI.cjs.map +0 -1
- package/dist/chunk-CH42VPWE.cjs.map +0 -1
- package/dist/chunk-HRENHNDJ.js.map +0 -1
- package/dist/chunk-IFRATNLU.js.map +0 -1
- package/dist/chunk-JPJN4YBC.js.map +0 -1
- package/dist/chunk-KNQEIU7O.cjs.map +0 -1
- package/dist/chunk-KVGSVGRK.cjs.map +0 -1
- package/dist/chunk-MU6GW5ZV.js.map +0 -1
- package/dist/chunk-OGKGIXFC.cjs.map +0 -1
- package/dist/chunk-T343CCH5.js.map +0 -1
- package/dist/chunk-U3LK2GID.js.map +0 -1
- package/dist/chunk-UIPEIRGT.js.map +0 -1
- package/dist/chunk-W2WTP6HS.cjs.map +0 -1
- /package/dist/{chunk-ELKEYKEI.cjs.map → chunk-6R4F3HK6.js.map} +0 -0
- /package/dist/{chunk-UQ4SHBMC.js.map → chunk-F33EEHWL.cjs.map} +0 -0
package/dist/theme/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ColorPicker, ThemeSelector, VoidBackground } from '../chunk-
|
|
3
|
-
export { AppearancePanel, AppearanceProvider, hexToRgb, initializeAppearance, prefersReducedMotion, useAppearance } from '../chunk-
|
|
2
|
+
export { ColorPicker, ThemeSelector, VoidBackground } from '../chunk-6R4F3HK6.js';
|
|
3
|
+
export { AppearancePanel, AppearanceProvider, accentForegroundRgb, hexToRgb, initializeAppearance, prefersReducedMotion, relativeLuminance, useAppearance } from '../chunk-QTARL7VL.js';
|
|
4
4
|
//# sourceMappingURL=out.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/web/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkD2RHF2OE_cjs = require('../chunk-D2RHF2OE.cjs');
|
|
5
5
|
var chunkYTYDQBVY_cjs = require('../chunk-YTYDQBVY.cjs');
|
|
6
6
|
var chunkMQDEE7HC_cjs = require('../chunk-MQDEE7HC.cjs');
|
|
7
7
|
require('../chunk-H2Y6BSTL.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
|
|
18
|
+
get: function () { return chunkD2RHF2OE_cjs.JsonLd; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "aggregateRatingFromTestimonials", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkD2RHF2OE_cjs.aggregateRatingFromTestimonials; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "buildPageGraph", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkD2RHF2OE_cjs.buildPageGraph; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "canonicalUrl", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkD2RHF2OE_cjs.canonicalUrl; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "createEntityIds", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkD2RHF2OE_cjs.createEntityIds; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "createSchemaGenerators", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkD2RHF2OE_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-
|
|
2
|
+
export { JsonLd, aggregateRatingFromTestimonials, buildPageGraph, canonicalUrl, createEntityIds, createSchemaGenerators } from '../chunk-DMRQPGQA.js';
|
|
3
3
|
export { AnalyticsProvider, COOKIE_CONSENT_EVENT, COOKIE_CONSENT_KEY, CookieConsent, createAnalyticsLoader, loadClarity, loadGoogleAnalytics, useCookieConsent } from '../chunk-6UNG76Y2.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-SICKWUWB.js';
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkD2RHF2OE_cjs = require('../../chunk-D2RHF2OE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "JsonLd", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkD2RHF2OE_cjs.JsonLd; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "aggregateRatingFromTestimonials", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkD2RHF2OE_cjs.aggregateRatingFromTestimonials; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "buildPageGraph", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkD2RHF2OE_cjs.buildPageGraph; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "canonicalUrl", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkD2RHF2OE_cjs.canonicalUrl; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "createEntityIds", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkD2RHF2OE_cjs.createEntityIds; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "createSchemaGenerators", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkD2RHF2OE_cjs.createSchemaGenerators; }
|
|
30
30
|
});
|
|
31
31
|
//# sourceMappingURL=out.js.map
|
|
32
32
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -13,6 +13,7 @@ interface BrandConfig {
|
|
|
13
13
|
description: string;
|
|
14
14
|
tagline: string;
|
|
15
15
|
founder: string;
|
|
16
|
+
sameAs?: string[];
|
|
16
17
|
}
|
|
17
18
|
interface BreadcrumbItem {
|
|
18
19
|
name: string;
|
|
@@ -219,6 +220,9 @@ declare function createEntityIds(brand: BrandConfig): {
|
|
|
219
220
|
declare function createSchemaGenerators(brand: BrandConfig, supportedLanguages?: readonly string[]): {
|
|
220
221
|
/** Organization schema — Homepage + About page. */
|
|
221
222
|
organization(locale?: string): {
|
|
223
|
+
contactPoint: Record<string, unknown>[];
|
|
224
|
+
areaServed: string;
|
|
225
|
+
sameAs?: string[] | undefined;
|
|
222
226
|
'@context': string;
|
|
223
227
|
'@type': string;
|
|
224
228
|
'@id': `${string}/#organization`;
|
|
@@ -235,9 +239,6 @@ declare function createSchemaGenerators(brand: BrandConfig, supportedLanguages?:
|
|
|
235
239
|
'@type': string;
|
|
236
240
|
name: string;
|
|
237
241
|
};
|
|
238
|
-
sameAs: string[];
|
|
239
|
-
contactPoint: Record<string, unknown>[];
|
|
240
|
-
areaServed: string;
|
|
241
242
|
};
|
|
242
243
|
/** WebSite schema — Homepage only (with SearchAction). */
|
|
243
244
|
website(locale?: string): {
|
|
@@ -13,6 +13,7 @@ interface BrandConfig {
|
|
|
13
13
|
description: string;
|
|
14
14
|
tagline: string;
|
|
15
15
|
founder: string;
|
|
16
|
+
sameAs?: string[];
|
|
16
17
|
}
|
|
17
18
|
interface BreadcrumbItem {
|
|
18
19
|
name: string;
|
|
@@ -219,6 +220,9 @@ declare function createEntityIds(brand: BrandConfig): {
|
|
|
219
220
|
declare function createSchemaGenerators(brand: BrandConfig, supportedLanguages?: readonly string[]): {
|
|
220
221
|
/** Organization schema — Homepage + About page. */
|
|
221
222
|
organization(locale?: string): {
|
|
223
|
+
contactPoint: Record<string, unknown>[];
|
|
224
|
+
areaServed: string;
|
|
225
|
+
sameAs?: string[] | undefined;
|
|
222
226
|
'@context': string;
|
|
223
227
|
'@type': string;
|
|
224
228
|
'@id': `${string}/#organization`;
|
|
@@ -235,9 +239,6 @@ declare function createSchemaGenerators(brand: BrandConfig, supportedLanguages?:
|
|
|
235
239
|
'@type': string;
|
|
236
240
|
name: string;
|
|
237
241
|
};
|
|
238
|
-
sameAs: string[];
|
|
239
|
-
contactPoint: Record<string, unknown>[];
|
|
240
|
-
areaServed: string;
|
|
241
242
|
};
|
|
242
243
|
/** WebSite schema — Homepage only (with SearchAction). */
|
|
243
244
|
website(locale?: string): {
|
package/dist/web/server/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { JsonLd, aggregateRatingFromTestimonials, buildPageGraph, canonicalUrl, createEntityIds, createSchemaGenerators } from '../../chunk-
|
|
1
|
+
export { JsonLd, aggregateRatingFromTestimonials, buildPageGraph, canonicalUrl, createEntityIds, createSchemaGenerators } from '../../chunk-DMRQPGQA.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": "0.3.
|
|
3
|
+
"version": "0.3.12",
|
|
4
4
|
"packageManager": "pnpm@9.15.9",
|
|
5
5
|
"description": "Salesmind AI Design System",
|
|
6
6
|
"license": "MIT",
|
|
@@ -115,6 +115,7 @@
|
|
|
115
115
|
"**/*.css"
|
|
116
116
|
],
|
|
117
117
|
"scripts": {
|
|
118
|
+
"prepare": "husky",
|
|
118
119
|
"build": "tsup",
|
|
119
120
|
"dev": "tsup --watch",
|
|
120
121
|
"lint": "eslint src --max-warnings 0",
|
|
@@ -126,6 +127,8 @@
|
|
|
126
127
|
"test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npx http-server storybook-static --port 6006 --silent\" \"npx wait-on tcp:6006 && npm run test-storybook\"",
|
|
127
128
|
"storybook": "storybook dev -p 6006",
|
|
128
129
|
"build-storybook": "storybook build",
|
|
130
|
+
"guard": "node scripts/guard.mjs",
|
|
131
|
+
"guard:quick": "node scripts/guard.mjs --quick",
|
|
129
132
|
"tokens:build": "node tokens/build.js",
|
|
130
133
|
"tokens:check": "node tokens/build.js && git diff --exit-code src/styles/tokens.css src/tokens/generated/ tokens/dist/",
|
|
131
134
|
"usage:scan": "npx tsx scripts/usage-scanner.ts",
|
|
@@ -138,6 +141,14 @@
|
|
|
138
141
|
"catalog:generate": "node scripts/generate-catalog.mjs",
|
|
139
142
|
"manifest:generate": "node scripts/generate-manifest.mjs"
|
|
140
143
|
},
|
|
144
|
+
"lint-staged": {
|
|
145
|
+
"src/**/*.{ts,tsx}": [
|
|
146
|
+
"eslint --max-warnings 0 --fix"
|
|
147
|
+
],
|
|
148
|
+
"src/**/*.css": [
|
|
149
|
+
"stylelint --fix --allow-empty-input"
|
|
150
|
+
]
|
|
151
|
+
},
|
|
141
152
|
"peerDependencies": {
|
|
142
153
|
"react": ">=18.0.0",
|
|
143
154
|
"react-dom": ">=18.0.0",
|
|
@@ -192,13 +203,17 @@
|
|
|
192
203
|
"@vitest/coverage-v8": "3.2.4",
|
|
193
204
|
"chromatic": "^13.3.5",
|
|
194
205
|
"concurrently": "^8.2.2",
|
|
206
|
+
"@commitlint/cli": "^19.8.1",
|
|
207
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
195
208
|
"eslint": "^8.57.0",
|
|
196
209
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
197
210
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
198
211
|
"eslint-plugin-storybook": "9.1.19",
|
|
199
212
|
"globals": "^15.3.0",
|
|
213
|
+
"husky": "^9.1.7",
|
|
200
214
|
"http-server": "^14.1.1",
|
|
201
215
|
"jsdom": "^24.0.0",
|
|
216
|
+
"lint-staged": "^16.1.0",
|
|
202
217
|
"msw": "^2.12.7",
|
|
203
218
|
"msw-storybook-addon": "^2.0.6",
|
|
204
219
|
"playwright": "^1.58.2",
|