@kjaniec-dev/ui-mcp 0.5.0 → 0.6.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.
@@ -212,7 +212,7 @@
212
212
  }
213
213
  ],
214
214
  "cva": null,
215
- "usageSnippet": "<Input placeholder=\"Jane Doe\" />"
215
+ "usageSnippet": "<Input placeholder=\"Kamil Janiec\" />"
216
216
  },
217
217
  {
218
218
  "name": "Textarea",
@@ -284,7 +284,7 @@
284
284
  }
285
285
  ],
286
286
  "cva": null,
287
- "usageSnippet": "<Select>\n <option>Administrator</option>\n <option>Editor</option>\n <option>View only</option>\n </Select>"
287
+ "usageSnippet": "<Select>\n <option>Personal Portfolio</option>\n <option>B2B Landlord SaaS</option>\n <option>Accounting App</option>\n </Select>"
288
288
  },
289
289
  {
290
290
  "name": "Checkbox",
@@ -1096,7 +1096,7 @@
1096
1096
  }
1097
1097
  ],
1098
1098
  "cva": null,
1099
- "usageSnippet": "<PageHeader\n eyebrow=\"Open source\"\n title=\"Projects\"\n description=\"Things I've built and shipped.\"\n actions={\n <>\n <Button size=\"sm\">View all</Button>\n <Button size=\"sm\" variant=\"ghost\">GitHub</Button>\n </>"
1099
+ "usageSnippet": "<PageHeader\n eyebrow=\"B2B SaaS\"\n title=\"Dashboard Shell\"\n description=\"The shell structure renders a responsive frame container with a sticky sidebar, topbar, and main canvas.\"\n actions={<Button size=\"sm\">New Project</Button>}\n />"
1100
1100
  },
1101
1101
  {
1102
1102
  "name": "EmptyState",
@@ -1273,5 +1273,146 @@
1273
1273
  ],
1274
1274
  "cva": null,
1275
1275
  "usageSnippet": "<DataTableColumn>\n <!-- Content -->\n</DataTableColumn>"
1276
+ },
1277
+ {
1278
+ "name": "FormField",
1279
+ "importPath": "import { FormField } from \"@kjaniec-dev/ui\";",
1280
+ "description": "React component FormField.",
1281
+ "props": [
1282
+ {
1283
+ "name": "label",
1284
+ "type": "string",
1285
+ "optional": false,
1286
+ "defaultValue": null,
1287
+ "description": ""
1288
+ },
1289
+ {
1290
+ "name": "hint",
1291
+ "type": "string",
1292
+ "optional": true,
1293
+ "defaultValue": null,
1294
+ "description": ""
1295
+ },
1296
+ {
1297
+ "name": "error",
1298
+ "type": "string",
1299
+ "optional": true,
1300
+ "defaultValue": null,
1301
+ "description": ""
1302
+ },
1303
+ {
1304
+ "name": "required",
1305
+ "type": "boolean",
1306
+ "optional": true,
1307
+ "defaultValue": null,
1308
+ "description": ""
1309
+ },
1310
+ {
1311
+ "name": "children",
1312
+ "type": "React.ReactNode",
1313
+ "optional": false,
1314
+ "defaultValue": null,
1315
+ "description": ""
1316
+ }
1317
+ ],
1318
+ "cva": null,
1319
+ "usageSnippet": "<FormField label=\"Full Name\">\n <Input placeholder=\"Kamil Janiec\" />"
1320
+ },
1321
+ {
1322
+ "name": "ErrorState",
1323
+ "importPath": "import { ErrorState } from \"@kjaniec-dev/ui\";",
1324
+ "description": "React component ErrorState.",
1325
+ "props": [
1326
+ {
1327
+ "name": "title",
1328
+ "type": "string",
1329
+ "optional": true,
1330
+ "defaultValue": "\"Wystąpił błąd\"",
1331
+ "description": ""
1332
+ },
1333
+ {
1334
+ "name": "message",
1335
+ "type": "string",
1336
+ "optional": false,
1337
+ "defaultValue": null,
1338
+ "description": ""
1339
+ },
1340
+ {
1341
+ "name": "onRetry",
1342
+ "type": "() => void",
1343
+ "optional": true,
1344
+ "defaultValue": null,
1345
+ "description": ""
1346
+ },
1347
+ {
1348
+ "name": "retryLabel",
1349
+ "type": "string",
1350
+ "optional": true,
1351
+ "defaultValue": "\"Spróbuj ponownie\"",
1352
+ "description": ""
1353
+ }
1354
+ ],
1355
+ "cva": null,
1356
+ "usageSnippet": "<ErrorState\n title=\"Failed to Load Invoices\"\n message=\"We encountered a temporary database error while retrieving your billing records.\"\n onRetry={() => alert(\"Retrying...\")}\n retryLabel=\"Reload Invoices\"\n />"
1357
+ },
1358
+ {
1359
+ "name": "Skeleton",
1360
+ "importPath": "import { Skeleton } from \"@kjaniec-dev/ui\";",
1361
+ "description": "React component Skeleton.",
1362
+ "props": [
1363
+ {
1364
+ "name": "variant",
1365
+ "type": "\"text\" | \"circular\" | \"rectangular\"",
1366
+ "optional": true,
1367
+ "defaultValue": "\"rectangular\"",
1368
+ "description": ""
1369
+ },
1370
+ {
1371
+ "name": "width",
1372
+ "type": "string | number",
1373
+ "optional": true,
1374
+ "defaultValue": null,
1375
+ "description": ""
1376
+ },
1377
+ {
1378
+ "name": "height",
1379
+ "type": "string | number",
1380
+ "optional": true,
1381
+ "defaultValue": null,
1382
+ "description": ""
1383
+ }
1384
+ ],
1385
+ "cva": null,
1386
+ "usageSnippet": "<Skeleton variant=\"text\" width=\"60%\" />"
1387
+ },
1388
+ {
1389
+ "name": "DashboardShell",
1390
+ "importPath": "import { DashboardShell } from \"@kjaniec-dev/ui\";",
1391
+ "description": "React component DashboardShell.",
1392
+ "props": [
1393
+ {
1394
+ "name": "sidebar",
1395
+ "type": "React.ReactNode",
1396
+ "optional": true,
1397
+ "defaultValue": null,
1398
+ "description": ""
1399
+ },
1400
+ {
1401
+ "name": "topbar",
1402
+ "type": "React.ReactNode",
1403
+ "optional": true,
1404
+ "defaultValue": null,
1405
+ "description": ""
1406
+ },
1407
+ {
1408
+ "name": "children",
1409
+ "type": "React.ReactNode",
1410
+ "optional": false,
1411
+ "defaultValue": null,
1412
+ "description": ""
1413
+ }
1414
+ ],
1415
+ "cva": null,
1416
+ "usageSnippet": "<DashboardShell\n sidebar={\n <div className=\"p-6 flex flex-col gap-6 h-full bg-subtle\">\n <div className=\"font-bold text-lg tracking-tight text-primary\">KJ Product Kit</div>\n <nav className=\"flex flex-col gap-2\">\n <a href=\"#\" className=\"text-sm font-medium text-foreground hover:text-primary transition-colors\">Dashboard</a>\n <a href=\"#\" className=\"text-sm font-medium text-muted-foreground hover:text-primary transition-colors\">Projects</a>\n <a href=\"#\" className=\"text-sm font-medium text-muted-foreground hover:text-primary transition-colors\">Invoices</a>\n <a href=\"#\" className=\"text-sm font-medium text-muted-foreground hover:text-primary transition-colors\">Settings</a>\n </nav>\n </div>\n }\n topbar={\n <div className=\"w-full flex items-center justify-between\">\n <span className=\"text-sm font-medium text-muted-foreground\">Workspace / Personal</span>\n <Button size=\"sm\" variant=\"ghost\">Profile</Button>\n </div>\n }\n >\n <PageHeader\n eyebrow=\"B2B SaaS\"\n title=\"Dashboard Shell\"\n description=\"The shell structure renders a responsive frame container with a sticky sidebar, topbar, and main canvas.\"\n actions={<Button size=\"sm\">New Project</Button>}\n />"
1276
1417
  }
1277
1418
  ]
package/data/tokens.json CHANGED
@@ -482,6 +482,76 @@
482
482
  "dark": "#f0f9ff",
483
483
  "tailwind": ""
484
484
  },
485
+ {
486
+ "name": "color.semantic.light.bgCanvas",
487
+ "category": "color",
488
+ "light": "#f4f4f5",
489
+ "dark": "#f4f4f5",
490
+ "tailwind": ""
491
+ },
492
+ {
493
+ "name": "color.semantic.light.bgSubtle",
494
+ "category": "color",
495
+ "light": "#fafafa",
496
+ "dark": "#fafafa",
497
+ "tailwind": ""
498
+ },
499
+ {
500
+ "name": "color.semantic.light.bgSurface",
501
+ "category": "color",
502
+ "light": "#ffffff",
503
+ "dark": "#ffffff",
504
+ "tailwind": ""
505
+ },
506
+ {
507
+ "name": "color.semantic.light.bgElevated",
508
+ "category": "color",
509
+ "light": "#ffffff",
510
+ "dark": "#ffffff",
511
+ "tailwind": ""
512
+ },
513
+ {
514
+ "name": "color.semantic.light.bgOverlay",
515
+ "category": "color",
516
+ "light": "rgba(9, 9, 11, 0.4)",
517
+ "dark": "rgba(9, 9, 11, 0.4)",
518
+ "tailwind": ""
519
+ },
520
+ {
521
+ "name": "color.semantic.light.borderSubtle",
522
+ "category": "color",
523
+ "light": "#f4f4f5",
524
+ "dark": "#f4f4f5",
525
+ "tailwind": ""
526
+ },
527
+ {
528
+ "name": "color.semantic.light.borderStrong",
529
+ "category": "color",
530
+ "light": "#e4e4e7",
531
+ "dark": "#e4e4e7",
532
+ "tailwind": ""
533
+ },
534
+ {
535
+ "name": "color.semantic.light.chart1",
536
+ "category": "color",
537
+ "light": "#f59e0b",
538
+ "dark": "#f59e0b",
539
+ "tailwind": ""
540
+ },
541
+ {
542
+ "name": "color.semantic.light.chart2",
543
+ "category": "color",
544
+ "light": "#14b8a6",
545
+ "dark": "#14b8a6",
546
+ "tailwind": ""
547
+ },
548
+ {
549
+ "name": "color.semantic.light.chart3",
550
+ "category": "color",
551
+ "light": "#0284c7",
552
+ "dark": "#0284c7",
553
+ "tailwind": ""
554
+ },
485
555
  {
486
556
  "name": "color.semantic.dark.background",
487
557
  "category": "color",
@@ -650,6 +720,76 @@
650
720
  "dark": "#082f49",
651
721
  "tailwind": ""
652
722
  },
723
+ {
724
+ "name": "color.semantic.dark.bgCanvas",
725
+ "category": "color",
726
+ "light": "#09090b",
727
+ "dark": "#09090b",
728
+ "tailwind": ""
729
+ },
730
+ {
731
+ "name": "color.semantic.dark.bgSubtle",
732
+ "category": "color",
733
+ "light": "#121214",
734
+ "dark": "#121214",
735
+ "tailwind": ""
736
+ },
737
+ {
738
+ "name": "color.semantic.dark.bgSurface",
739
+ "category": "color",
740
+ "light": "#18181b",
741
+ "dark": "#18181b",
742
+ "tailwind": ""
743
+ },
744
+ {
745
+ "name": "color.semantic.dark.bgElevated",
746
+ "category": "color",
747
+ "light": "#27272a",
748
+ "dark": "#27272a",
749
+ "tailwind": ""
750
+ },
751
+ {
752
+ "name": "color.semantic.dark.bgOverlay",
753
+ "category": "color",
754
+ "light": "rgba(9, 9, 11, 0.7)",
755
+ "dark": "rgba(9, 9, 11, 0.7)",
756
+ "tailwind": ""
757
+ },
758
+ {
759
+ "name": "color.semantic.dark.borderSubtle",
760
+ "category": "color",
761
+ "light": "#1f1f23",
762
+ "dark": "#1f1f23",
763
+ "tailwind": ""
764
+ },
765
+ {
766
+ "name": "color.semantic.dark.borderStrong",
767
+ "category": "color",
768
+ "light": "#27272a",
769
+ "dark": "#27272a",
770
+ "tailwind": ""
771
+ },
772
+ {
773
+ "name": "color.semantic.dark.chart1",
774
+ "category": "color",
775
+ "light": "#fbbf24",
776
+ "dark": "#fbbf24",
777
+ "tailwind": ""
778
+ },
779
+ {
780
+ "name": "color.semantic.dark.chart2",
781
+ "category": "color",
782
+ "light": "#2dd4bf",
783
+ "dark": "#2dd4bf",
784
+ "tailwind": ""
785
+ },
786
+ {
787
+ "name": "color.semantic.dark.chart3",
788
+ "category": "color",
789
+ "light": "#0ea5e9",
790
+ "dark": "#0ea5e9",
791
+ "tailwind": ""
792
+ },
653
793
  {
654
794
  "name": "typography.font.sans",
655
795
  "category": "typography",
@@ -915,5 +1055,47 @@
915
1055
  "light": "1.18",
916
1056
  "dark": "1.18",
917
1057
  "tailwind": ""
1058
+ },
1059
+ {
1060
+ "name": "motion.duration.fast",
1061
+ "category": "motion",
1062
+ "light": "120ms",
1063
+ "dark": "120ms",
1064
+ "tailwind": ""
1065
+ },
1066
+ {
1067
+ "name": "motion.duration.normal",
1068
+ "category": "motion",
1069
+ "light": "180ms",
1070
+ "dark": "180ms",
1071
+ "tailwind": ""
1072
+ },
1073
+ {
1074
+ "name": "motion.duration.slow",
1075
+ "category": "motion",
1076
+ "light": "280ms",
1077
+ "dark": "280ms",
1078
+ "tailwind": ""
1079
+ },
1080
+ {
1081
+ "name": "motion.ease.standard",
1082
+ "category": "motion",
1083
+ "light": "cubic-bezier(0.4, 0, 0.2, 1)",
1084
+ "dark": "cubic-bezier(0.4, 0, 0.2, 1)",
1085
+ "tailwind": ""
1086
+ },
1087
+ {
1088
+ "name": "motion.ease.out",
1089
+ "category": "motion",
1090
+ "light": "cubic-bezier(0, 0, 0.2, 1)",
1091
+ "dark": "cubic-bezier(0, 0, 0.2, 1)",
1092
+ "tailwind": ""
1093
+ },
1094
+ {
1095
+ "name": "motion.ease.spring",
1096
+ "category": "motion",
1097
+ "light": "cubic-bezier(0.34, 1.56, 0.64, 1)",
1098
+ "dark": "cubic-bezier(0.34, 1.56, 0.64, 1)",
1099
+ "tailwind": ""
918
1100
  }
919
1101
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kjaniec-dev/ui-mcp",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "MCP (Model Context Protocol) server for KJ Product Kit design system and UI components",
5
5
  "license": "MIT",
6
6
  "author": "kjaniec-dev",