@vadimcomanescu/nadicode-design-system 2.0.6 → 2.0.7
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/.agents/skills/seed/contract.md +1 -0
- package/.agents/skills/seed/recipes/marketing-shell.md +10 -19
- package/.agents/skills/seed/recipes/navigation-shell.md +5 -5
- package/.agents/skills/seed/recipes/service-detail.md +1 -1
- package/.agents/skills/seed/references/blocks.md +25 -24
- package/.agents/skills/seed/references/brand-override.md +3 -1
- package/css/tokens.css +300 -122
- package/dist/catalog.json +1926 -125
- package/dist/chunk-2BADJLMV.js +117 -0
- package/dist/chunk-35EX5FP5.js +106 -0
- package/dist/chunk-5PORR6LE.js +60 -0
- package/dist/chunk-5PZ4VR2D.js +142 -0
- package/dist/chunk-5UESKK6S.js +76 -0
- package/dist/chunk-6N6CSJVE.js +269 -0
- package/dist/chunk-AURJQZC4.js +110 -0
- package/dist/{chunk-DF47R6LN.js → chunk-AWIG4QN6.js} +9 -9
- package/dist/chunk-AYWL4IYM.js +67 -0
- package/dist/{chunk-SV3KZ6CB.js → chunk-DSMGCFMJ.js} +7 -2
- package/dist/chunk-E4L6LR6P.js +33 -0
- package/dist/chunk-EJNF6JLL.js +105 -0
- package/dist/chunk-FX23F33E.js +57 -0
- package/dist/chunk-GJPTPLCQ.js +52 -0
- package/dist/chunk-GV4PKHG4.js +147 -0
- package/dist/chunk-HJ3A2YNO.js +163 -0
- package/dist/chunk-HJZRSPWB.js +38 -0
- package/dist/chunk-IDKZEPWK.js +133 -0
- package/dist/chunk-K7NQ6ZAW.js +84 -0
- package/dist/chunk-LCKLZ4XK.js +60 -0
- package/dist/chunk-MX5FUFQR.js +205 -0
- package/dist/chunk-NEHCPO53.js +44 -0
- package/dist/chunk-OHOOQUVJ.js +113 -0
- package/dist/chunk-QIHA7S3A.js +36 -0
- package/dist/chunk-RKQPU75I.js +126 -0
- package/dist/chunk-RMLS2QUC.js +77 -0
- package/dist/chunk-TS2JSPQR.js +120 -0
- package/dist/chunk-TUKZKU72.js +110 -0
- package/dist/chunk-TZXZFSD2.js +33 -0
- package/dist/chunk-UGV45DH3.js +18 -0
- package/dist/chunk-VBZQ4DBE.js +52 -0
- package/dist/{chunk-LQLFA2EL.js → chunk-VDONTZZX.js} +2 -2
- package/dist/{chunk-RWNJ54CI.js → chunk-VN475YZS.js} +1 -1
- package/dist/chunk-VZCB4APK.js +94 -0
- package/dist/chunk-W7FXDRQJ.js +94 -0
- package/dist/chunk-WAVU744B.js +183 -0
- package/dist/{chunk-5I3FWRC5.js → chunk-WOYBVPXK.js} +10 -10
- package/dist/chunk-WST5NLLC.js +73 -0
- package/dist/chunk-X6VXWEDO.js +125 -0
- package/dist/chunk-ZM2NODUK.js +39 -0
- package/dist/components/blocks/AccountLockedBlock.js +7 -57
- package/dist/components/blocks/ActivityFeedBlock.js +6 -39
- package/dist/components/blocks/AgentConversationBlock.js +5 -33
- package/dist/components/blocks/AudioVisualizerBlock.d.ts +1 -1
- package/dist/components/blocks/AudioVisualizerBlock.js +2 -2
- package/dist/components/blocks/AuthSuccessBlock.js +5 -60
- package/dist/components/blocks/BarChartBlock.d.ts +1 -1
- package/dist/components/blocks/BarChartBlock.js +2 -2
- package/dist/components/blocks/CallToActionBlock.d.ts +1 -1
- package/dist/components/blocks/CallToActionBlock.js +6 -52
- package/dist/components/blocks/ChangelogBlock.js +8 -105
- package/dist/components/blocks/ChartCollectionBlock.js +2 -2
- package/dist/components/blocks/CodeBlock.js +7 -60
- package/dist/components/blocks/ComparisonBlock.js +9 -94
- package/dist/components/blocks/ContactBlock.js +11 -120
- package/dist/components/blocks/FAQBlock.js +6 -44
- package/dist/components/blocks/FeatureBlock.d.ts +10 -14
- package/dist/components/blocks/FeatureBlock.js +17 -159
- package/dist/components/blocks/FeatureGridBlock.d.ts +1 -1
- package/dist/components/blocks/FeatureGridBlock.js +2 -2
- package/dist/components/blocks/FooterBlock.d.ts +2 -2
- package/dist/components/blocks/FooterBlock.js +11 -67
- package/dist/components/blocks/HeaderBlock.d.ts +2 -2
- package/dist/components/blocks/HeaderBlock.js +1 -1
- package/dist/components/blocks/HeatmapChartBlock.d.ts +1 -1
- package/dist/components/blocks/HeatmapChartBlock.js +1 -1
- package/dist/components/blocks/HeroBlock.d.ts +6 -3
- package/dist/components/blocks/HeroBlock.js +16 -199
- package/dist/components/blocks/HeroSectionBlock.d.ts +1 -1
- package/dist/components/blocks/HeroSectionBlock.js +4 -4
- package/dist/components/blocks/IntegrationsBlock.d.ts +1 -1
- package/dist/components/blocks/IntegrationsBlock.js +4 -4
- package/dist/components/blocks/InteractiveAreaChartBlock.d.ts +1 -1
- package/dist/components/blocks/InteractiveAreaChartBlock.js +2 -2
- package/dist/components/blocks/NewsletterBlock.js +11 -84
- package/dist/components/blocks/PasswordRecoveryBlock.js +14 -142
- package/dist/components/blocks/PricingBlock.d.ts +1 -1
- package/dist/components/blocks/PricingBlock.js +11 -110
- package/dist/components/blocks/ProcessFlowBlock.js +10 -77
- package/dist/components/blocks/ResetPasswordBlock.js +11 -125
- package/dist/components/blocks/SignUpBlock.d.ts +1 -1
- package/dist/components/blocks/SignUpBlock.js +2 -2
- package/dist/components/blocks/SocialProofBlock.d.ts +7 -11
- package/dist/components/blocks/SocialProofBlock.js +8 -107
- package/dist/components/blocks/StatsBlock.d.ts +1 -1
- package/dist/components/blocks/StatsBlock.js +2 -2
- package/dist/components/blocks/StatsMarketingBlock.d.ts +1 -1
- package/dist/components/blocks/StatsMarketingBlock.js +5 -36
- package/dist/components/blocks/TeamBlock.d.ts +1 -1
- package/dist/components/blocks/TeamBlock.js +4 -52
- package/dist/components/blocks/TestimonialsBlock.d.ts +1 -1
- package/dist/components/blocks/TestimonialsBlock.js +4 -133
- package/dist/components/blocks/TwoFactorChallengeBlock.js +9 -94
- package/dist/components/blocks/TwoFactorSetupBlock.js +16 -183
- package/dist/components/blocks/UsageDonutBlock.d.ts +1 -1
- package/dist/components/blocks/UsageDonutBlock.js +2 -2
- package/dist/components/logos/index.js +2 -2
- package/dist/components/page-kits/AccountLockedPageKit.d.ts +10 -0
- package/dist/components/page-kits/AccountLockedPageKit.js +48 -0
- package/dist/components/page-kits/AgentsChatPageKit.d.ts +46 -0
- package/dist/components/page-kits/AgentsChatPageKit.js +289 -0
- package/dist/components/page-kits/AnalyticsPageKit.d.ts +49 -0
- package/dist/components/page-kits/AnalyticsPageKit.js +277 -0
- package/dist/components/page-kits/BlogContentPageKit.d.ts +64 -0
- package/dist/components/page-kits/BlogContentPageKit.js +296 -0
- package/dist/components/page-kits/CheckoutPageKit.d.ts +36 -0
- package/dist/components/page-kits/CheckoutPageKit.js +209 -0
- package/dist/components/page-kits/CompanySuitePageKit.d.ts +25 -0
- package/dist/components/page-kits/CompanySuitePageKit.js +240 -0
- package/dist/components/page-kits/CrudFormPageKit.d.ts +54 -0
- package/dist/components/page-kits/CrudFormPageKit.js +138 -0
- package/dist/components/page-kits/CrudListDetailPageKit.d.ts +70 -0
- package/dist/components/page-kits/CrudListDetailPageKit.js +138 -0
- package/dist/components/page-kits/DashboardPageKit.d.ts +39 -0
- package/dist/components/page-kits/DashboardPageKit.js +284 -0
- package/dist/components/page-kits/ErrorPageKit.d.ts +22 -0
- package/dist/components/page-kits/ErrorPageKit.js +55 -0
- package/dist/components/page-kits/KanbanBoardPageKit.d.ts +31 -0
- package/dist/components/page-kits/KanbanBoardPageKit.js +305 -0
- package/dist/components/page-kits/LandingPageKit.d.ts +29 -0
- package/dist/components/page-kits/LandingPageKit.js +221 -0
- package/dist/components/page-kits/LoginPageKit.d.ts +16 -0
- package/dist/components/page-kits/LoginPageKit.js +43 -0
- package/dist/components/page-kits/MarketingShellPageKit.d.ts +21 -0
- package/dist/components/page-kits/MarketingShellPageKit.js +131 -0
- package/dist/components/page-kits/NavigationShellPageKit.d.ts +41 -0
- package/dist/components/page-kits/NavigationShellPageKit.js +132 -0
- package/dist/components/page-kits/OnboardingPageKit.d.ts +26 -0
- package/dist/components/page-kits/OnboardingPageKit.js +248 -0
- package/dist/components/page-kits/PricingPageKit.d.ts +41 -0
- package/dist/components/page-kits/PricingPageKit.js +279 -0
- package/dist/components/page-kits/ProfileSettingsPageKit.d.ts +50 -0
- package/dist/components/page-kits/ProfileSettingsPageKit.js +171 -0
- package/dist/components/page-kits/RecoveryPageKit.d.ts +17 -0
- package/dist/components/page-kits/RecoveryPageKit.js +58 -0
- package/dist/components/page-kits/ResetPageKit.d.ts +14 -0
- package/dist/components/page-kits/ResetPageKit.js +52 -0
- package/dist/components/page-kits/ServiceSuitePageKit.d.ts +25 -0
- package/dist/components/page-kits/ServiceSuitePageKit.js +320 -0
- package/dist/components/page-kits/SettingsPageKit.d.ts +27 -0
- package/dist/components/page-kits/SettingsPageKit.js +11 -0
- package/dist/components/page-kits/SignupPageKit.d.ts +15 -0
- package/dist/components/page-kits/SignupPageKit.js +41 -0
- package/dist/components/page-kits/SuccessPageKit.d.ts +15 -0
- package/dist/components/page-kits/SuccessPageKit.js +146 -0
- package/dist/components/page-kits/TeamSettingsPageKit.d.ts +50 -0
- package/dist/components/page-kits/TeamSettingsPageKit.js +297 -0
- package/dist/components/page-kits/TwoFactorPageKit.d.ts +16 -0
- package/dist/components/page-kits/TwoFactorPageKit.js +156 -0
- package/dist/components/page-kits/VerifyEmailPageKit.d.ts +15 -0
- package/dist/components/page-kits/VerifyEmailPageKit.js +146 -0
- package/dist/components/page-kits/VoiceAgentsPageKit.d.ts +35 -0
- package/dist/components/page-kits/VoiceAgentsPageKit.js +246 -0
- package/dist/components/ui/AudioWaveform.js +2 -76
- package/dist/components/ui/AvatarUpload.js +1 -1
- package/dist/components/ui/Breadcrumb.js +4 -106
- package/dist/components/ui/ChartCard.js +5 -38
- package/dist/components/ui/CheckoutFormDemo.js +5 -6
- package/dist/components/ui/DataFreshness.js +2 -73
- package/dist/components/ui/MouseEffect.js +1 -1
- package/dist/components/ui/NativeSelect.js +2 -18
- package/dist/components/ui/Pagination.js +6 -117
- package/dist/components/ui/ShaderBackground.js +2 -2
- package/dist/hooks/use-shader-preset.js +2 -2
- package/dist/lib/shader-presets.js +1 -1
- package/dist/lib/tokens.config.d.ts +19 -0
- package/package.json +792 -680
- package/scripts/ds-check.mjs +8 -0
- package/src/lib/tokens.config.js +63 -41
package/scripts/ds-check.mjs
CHANGED
|
@@ -442,6 +442,14 @@ function checkSourceRepo(packageJson) {
|
|
|
442
442
|
'package.json must include src/messages in the ds:lint-shipped command.',
|
|
443
443
|
);
|
|
444
444
|
}
|
|
445
|
+
|
|
446
|
+
if (existsSync(join(root, "src", "seed-palette.css"))) {
|
|
447
|
+
addIssue(
|
|
448
|
+
"src/seed-palette.css",
|
|
449
|
+
"source-repo-no-seed-palette",
|
|
450
|
+
"seed-palette.css must not exist in the DS repo. It is a consumer-only file. Sidebar tokens derive from semantic tokens via var() aliases in index.css.",
|
|
451
|
+
);
|
|
452
|
+
}
|
|
445
453
|
}
|
|
446
454
|
|
|
447
455
|
function checkSourceI18nContract() {
|
package/src/lib/tokens.config.js
CHANGED
|
@@ -274,50 +274,50 @@ export const bloomScales = {
|
|
|
274
274
|
// Semantic color tokens mapped from scales
|
|
275
275
|
export const colorTokens = {
|
|
276
276
|
dark: {
|
|
277
|
-
background: '#
|
|
277
|
+
background: '#000000', // true black
|
|
278
278
|
surface: {
|
|
279
|
-
DEFAULT: '#
|
|
280
|
-
hover: '#
|
|
281
|
-
active: '#
|
|
282
|
-
raised: '#
|
|
279
|
+
DEFAULT: '#080C0A', // jade-tinted near-black
|
|
280
|
+
hover: '#101A15', // jade.2 brightened for tonal depth delta>=3
|
|
281
|
+
active: '#16201C', // jade.3
|
|
282
|
+
raised: '#1E2A24', // jade.4
|
|
283
283
|
},
|
|
284
284
|
border: {
|
|
285
|
-
DEFAULT: '#
|
|
286
|
-
hover: '#
|
|
287
|
-
subtle: 'rgba(
|
|
288
|
-
'subtle-hover': 'rgba(
|
|
285
|
+
DEFAULT: '#263A30', // jade-tinted border
|
|
286
|
+
hover: '#344E40', // jade-tinted border hover
|
|
287
|
+
subtle: 'rgba(10, 158, 111, 0.08)',
|
|
288
|
+
'subtle-hover': 'rgba(10, 158, 111, 0.15)',
|
|
289
289
|
},
|
|
290
290
|
primary: {
|
|
291
|
-
DEFAULT: '#
|
|
292
|
-
foreground: '#
|
|
291
|
+
DEFAULT: '#E2E8F0', // cool white
|
|
292
|
+
foreground: '#000000',
|
|
293
293
|
},
|
|
294
294
|
secondary: {
|
|
295
|
-
DEFAULT: '#
|
|
296
|
-
foreground: '#
|
|
295
|
+
DEFAULT: '#16201C', // jade.3
|
|
296
|
+
foreground: '#E2E8F0',
|
|
297
297
|
},
|
|
298
298
|
accent: {
|
|
299
|
-
DEFAULT: '#
|
|
300
|
-
foreground: '#
|
|
299
|
+
DEFAULT: '#0A9E6F', // jade green
|
|
300
|
+
foreground: '#000000',
|
|
301
301
|
},
|
|
302
302
|
destructive: {
|
|
303
|
-
DEFAULT: '#
|
|
303
|
+
DEFAULT: '#DC2626', // red
|
|
304
304
|
foreground: '#FFFFFF',
|
|
305
305
|
},
|
|
306
306
|
success: {
|
|
307
|
-
DEFAULT: '#
|
|
308
|
-
foreground: '#
|
|
307
|
+
DEFAULT: '#16A34A', // green
|
|
308
|
+
foreground: '#FFFFFF',
|
|
309
309
|
},
|
|
310
310
|
warning: {
|
|
311
|
-
DEFAULT: '#
|
|
312
|
-
foreground: '#
|
|
311
|
+
DEFAULT: '#D97706', // amber
|
|
312
|
+
foreground: '#000000',
|
|
313
313
|
},
|
|
314
314
|
info: {
|
|
315
|
-
DEFAULT: '#
|
|
316
|
-
foreground: '#
|
|
315
|
+
DEFAULT: '#2563EB', // blue
|
|
316
|
+
foreground: '#FFFFFF',
|
|
317
317
|
},
|
|
318
318
|
muted: {
|
|
319
|
-
DEFAULT: '#
|
|
320
|
-
foreground: '#
|
|
319
|
+
DEFAULT: '#16201C', // jade.3
|
|
320
|
+
foreground: '#B4C0C8', // muted text
|
|
321
321
|
},
|
|
322
322
|
slider: {
|
|
323
323
|
fill: 'rgba(255, 255, 255, 0.10)',
|
|
@@ -325,15 +325,15 @@ export const colorTokens = {
|
|
|
325
325
|
},
|
|
326
326
|
overlay: '#000000',
|
|
327
327
|
text: {
|
|
328
|
-
primary: '#
|
|
329
|
-
secondary: '#
|
|
330
|
-
tertiary: '#
|
|
331
|
-
},
|
|
332
|
-
focusRing: '#
|
|
333
|
-
link: '#
|
|
334
|
-
input: '#
|
|
335
|
-
disabled: '#
|
|
336
|
-
disabledForeground: '#
|
|
328
|
+
primary: '#E2E8F0',
|
|
329
|
+
secondary: '#A0AEBA',
|
|
330
|
+
tertiary: '#A8B8C8',
|
|
331
|
+
},
|
|
332
|
+
focusRing: '#0A9E6F', // jade
|
|
333
|
+
link: '#34D399', // bright jade
|
|
334
|
+
input: '#16201C', // jade.3
|
|
335
|
+
disabled: '#344E40', // jade border hover
|
|
336
|
+
disabledForeground: '#A8B8C8', // tertiary text
|
|
337
337
|
},
|
|
338
338
|
light: {
|
|
339
339
|
background: '#F7F7F8', // gray.1
|
|
@@ -358,23 +358,23 @@ export const colorTokens = {
|
|
|
358
358
|
foreground: '#181D20', // gray.12
|
|
359
359
|
},
|
|
360
360
|
accent: {
|
|
361
|
-
DEFAULT: '#
|
|
361
|
+
DEFAULT: '#059669', // jade green (light)
|
|
362
362
|
foreground: '#FFFFFF',
|
|
363
363
|
},
|
|
364
364
|
destructive: {
|
|
365
|
-
DEFAULT: '#C62832', //
|
|
365
|
+
DEFAULT: '#C62832', // crimson
|
|
366
366
|
foreground: '#FFFFFF',
|
|
367
367
|
},
|
|
368
368
|
success: {
|
|
369
|
-
DEFAULT: '#
|
|
369
|
+
DEFAULT: '#16A34A', // green
|
|
370
370
|
foreground: '#FFFFFF',
|
|
371
371
|
},
|
|
372
372
|
warning: {
|
|
373
|
-
DEFAULT: '#
|
|
373
|
+
DEFAULT: '#CA5808', // orange
|
|
374
374
|
foreground: '#FFFFFF',
|
|
375
375
|
},
|
|
376
376
|
info: {
|
|
377
|
-
DEFAULT: '#
|
|
377
|
+
DEFAULT: '#2563EB', // blue
|
|
378
378
|
foreground: '#FFFFFF',
|
|
379
379
|
},
|
|
380
380
|
muted: {
|
|
@@ -391,8 +391,8 @@ export const colorTokens = {
|
|
|
391
391
|
secondary: '#262D31', // gray.11
|
|
392
392
|
tertiary: '#384147', // gray.10
|
|
393
393
|
},
|
|
394
|
-
focusRing: '#
|
|
395
|
-
link: '#
|
|
394
|
+
focusRing: '#059669', // jade
|
|
395
|
+
link: '#047854', // dark jade
|
|
396
396
|
input: '#DEE1E3', // gray.3
|
|
397
397
|
disabled: '#9AA5AC', // gray.6
|
|
398
398
|
disabledForeground: '#5F6D77', // gray.8
|
|
@@ -467,7 +467,7 @@ export const styleTokens = {
|
|
|
467
467
|
radius: { sm: '4px', md: '8px', lg: '16px' },
|
|
468
468
|
shadows: {
|
|
469
469
|
'glow': '0 0 20px -5px rgba(255, 255, 255, 0.1)',
|
|
470
|
-
'glow-accent': '0 0 20px -5px rgba(
|
|
470
|
+
'glow-accent': '0 0 20px -5px rgba(10, 158, 111, 0.15)',
|
|
471
471
|
},
|
|
472
472
|
glass: {
|
|
473
473
|
saturate: 1.15,
|
|
@@ -559,3 +559,25 @@ export const tokens = {
|
|
|
559
559
|
'glow-accent': '0 0 20px -5px rgba(232, 160, 32, 0.15)',
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Sidebar token derivations. Maps sidebar CSS vars to semantic token CSS vars.
|
|
565
|
+
* The generator emits var() references so consumer overrides cascade automatically.
|
|
566
|
+
*/
|
|
567
|
+
export const sidebarTokens = {
|
|
568
|
+
base: {
|
|
569
|
+
'sidebar-background': '--color-background',
|
|
570
|
+
'sidebar-foreground': '--color-text-secondary',
|
|
571
|
+
'sidebar-primary': '--color-primary',
|
|
572
|
+
'sidebar-primary-foreground': '--color-primary-foreground',
|
|
573
|
+
'sidebar-accent': '--color-secondary',
|
|
574
|
+
'sidebar-accent-foreground': '--color-secondary-foreground',
|
|
575
|
+
'sidebar-border': '--color-border',
|
|
576
|
+
'sidebar-ring': '--color-focus-ring',
|
|
577
|
+
},
|
|
578
|
+
overrides: {
|
|
579
|
+
dark: {
|
|
580
|
+
'sidebar-foreground': '--color-primary',
|
|
581
|
+
},
|
|
582
|
+
},
|
|
583
|
+
};
|