@kjaniec-dev/ui-mcp 0.9.1 → 0.9.2

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.
@@ -1884,7 +1884,7 @@
1884
1884
  }
1885
1885
  ],
1886
1886
  "cva": null,
1887
- "usageSnippet": "<SettingsLayout\n title=\"Profile Settings\"\n description=\"Customize how your profile appears to other members.\"\n sidebar={\n <div className=\"flex flex-row lg:flex-col gap-1 w-full\">\n <Button variant=\"ghost\" size=\"sm\" className=\"justify-start bg-primary/10 text-primary\">General</Button>\n <Button variant=\"ghost\" size=\"sm\" className=\"justify-start text-muted-foreground\">Team</Button>\n <Button variant=\"ghost\" size=\"sm\" className=\"justify-start text-muted-foreground\">Billing</Button>\n </div>\n }\n>\n <Card className=\"p-6 space-y-4\">\n <div className=\"grid grid-cols-2 gap-4\">\n <TextField label=\"First Name\" defaultValue=\"John\" />\n <TextField label=\"Last Name\" defaultValue=\"Doe\" />\n </div>\n <TextField label=\"Email Address\" defaultValue=\"john.doe@gmail.com\" />\n <div className=\"flex justify-end pt-2\">\n <Button size=\"sm\">Save profile</Button>\n </div>\n </Card>\n</SettingsLayout>"
1887
+ "usageSnippet": "<SettingsLayout\n title=\"Profile Settings\"\n description=\"Customize how your profile appears to other members.\"\n sidebar={\n <div className=\"flex flex-row lg:flex-col gap-1 w-full\">\n <Button variant=\"ghost\" size=\"sm\" className=\"justify-start bg-primary/10 text-primary\">General</Button>\n <Button variant=\"ghost\" size=\"sm\" className=\"justify-start text-muted-foreground\">Team</Button>\n <Button variant=\"ghost\" size=\"sm\" className=\"justify-start text-muted-foreground\">Billing</Button>\n </div>\n }\n>\n <Card className=\"p-6 space-y-4\">\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n <TextField label=\"First Name\" defaultValue=\"John\" />\n <TextField label=\"Last Name\" defaultValue=\"Doe\" />\n </div>\n <TextField label=\"Email Address\" defaultValue=\"john.doe@gmail.com\" />\n <div className=\"flex justify-end pt-2\">\n <Button size=\"sm\">Save profile</Button>\n </div>\n </Card>\n</SettingsLayout>"
1888
1888
  },
1889
1889
  {
1890
1890
  "name": "DetailPageLayout",
@@ -2856,6 +2856,13 @@
2856
2856
  "defaultValue": null,
2857
2857
  "description": ""
2858
2858
  },
2859
+ {
2860
+ "name": "singleMonth",
2861
+ "type": "boolean",
2862
+ "optional": true,
2863
+ "defaultValue": null,
2864
+ "description": "Force rendering 1 month instead of 2 side-by-side."
2865
+ },
2859
2866
  {
2860
2867
  "name": "className",
2861
2868
  "type": "string",
@@ -3386,6 +3393,13 @@
3386
3393
  "defaultValue": "\"horizontal\"",
3387
3394
  "description": ""
3388
3395
  },
3396
+ {
3397
+ "name": "responsive",
3398
+ "type": "boolean",
3399
+ "optional": true,
3400
+ "defaultValue": "true",
3401
+ "description": ""
3402
+ },
3389
3403
  {
3390
3404
  "name": "linear",
3391
3405
  "type": "boolean",
@@ -3551,6 +3565,13 @@
3551
3565
  "optional": true,
3552
3566
  "defaultValue": null,
3553
3567
  "description": ""
3568
+ },
3569
+ {
3570
+ "name": "bottomNav",
3571
+ "type": "React.ReactNode",
3572
+ "optional": true,
3573
+ "defaultValue": null,
3574
+ "description": ""
3554
3575
  }
3555
3576
  ],
3556
3577
  "cva": null,
@@ -4123,6 +4144,13 @@
4123
4144
  "defaultValue": null,
4124
4145
  "description": ""
4125
4146
  },
4147
+ {
4148
+ "name": "align",
4149
+ "type": "\"auto\" | \"start\" | \"end\"",
4150
+ "optional": true,
4151
+ "defaultValue": "\"auto\"",
4152
+ "description": ""
4153
+ },
4126
4154
  {
4127
4155
  "name": "width",
4128
4156
  "type": "number | string",
@@ -4375,5 +4403,261 @@
4375
4403
  ],
4376
4404
  "cva": null,
4377
4405
  "usageSnippet": "<ImageGallery images={sampleImages.slice(0, 4)} columns={2} />"
4406
+ },
4407
+ {
4408
+ "name": "InPostGeowidget",
4409
+ "importPath": "import { InPostGeowidget } from \"@kjaniec-dev/ui\";",
4410
+ "description": "React component InPostGeowidget.",
4411
+ "props": [
4412
+ {
4413
+ "name": "value",
4414
+ "type": "InPostPoint | string | null",
4415
+ "optional": true,
4416
+ "defaultValue": null,
4417
+ "description": "Currently selected point object or point code string (e.g. 'WAW01M')."
4418
+ },
4419
+ {
4420
+ "name": "onSelect",
4421
+ "type": "(point: InPostPoint) => void",
4422
+ "optional": true,
4423
+ "defaultValue": null,
4424
+ "description": "Callback triggered when point is selected on the map."
4425
+ },
4426
+ {
4427
+ "name": "triggerText",
4428
+ "type": "string",
4429
+ "optional": true,
4430
+ "defaultValue": "'Wybierz Paczkomat®'",
4431
+ "description": "Trigger button label. Default 'Wybierz Paczkomat®'."
4432
+ },
4433
+ {
4434
+ "name": "modalTitle",
4435
+ "type": "string",
4436
+ "optional": true,
4437
+ "defaultValue": "'Wybierz punkt odbioru InPost'",
4438
+ "description": "Modal header title. Default 'Wybierz punkt odbioru InPost'."
4439
+ },
4440
+ {
4441
+ "name": "disabled",
4442
+ "type": "boolean",
4443
+ "optional": true,
4444
+ "defaultValue": "false",
4445
+ "description": "Disable trigger button. Default false."
4446
+ },
4447
+ {
4448
+ "name": "open",
4449
+ "type": "boolean",
4450
+ "optional": true,
4451
+ "defaultValue": null,
4452
+ "description": "Controlled open state of the modal."
4453
+ },
4454
+ {
4455
+ "name": "onOpenChange",
4456
+ "type": "(open: boolean) => void",
4457
+ "optional": true,
4458
+ "defaultValue": null,
4459
+ "description": "Callback when open state changes."
4460
+ },
4461
+ {
4462
+ "name": "showSelectedBadge",
4463
+ "type": "boolean",
4464
+ "optional": true,
4465
+ "defaultValue": "true",
4466
+ "description": "Show selected point badge under trigger button. Default true."
4467
+ },
4468
+ {
4469
+ "name": "className",
4470
+ "type": "string",
4471
+ "optional": true,
4472
+ "defaultValue": "''",
4473
+ "description": "Outer container CSS class name."
4474
+ },
4475
+ {
4476
+ "name": "buttonVariant",
4477
+ "type": "'primary' | 'secondary' | 'outline' | 'ghost' | 'danger'",
4478
+ "optional": true,
4479
+ "defaultValue": "'outline'",
4480
+ "description": "Trigger button style variant ('primary', 'secondary', 'outline', 'ghost', 'danger'). Default 'outline'."
4481
+ },
4482
+ {
4483
+ "name": "buttonSize",
4484
+ "type": "'sm' | 'md' | 'lg'",
4485
+ "optional": true,
4486
+ "defaultValue": "'md'",
4487
+ "description": "Trigger button size ('sm', 'md', 'lg'). Default 'md'."
4488
+ },
4489
+ {
4490
+ "name": "token",
4491
+ "type": "string",
4492
+ "optional": true,
4493
+ "defaultValue": null,
4494
+ "description": "InPost API Token (optional for sandbox)."
4495
+ },
4496
+ {
4497
+ "name": "language",
4498
+ "type": "InPostLanguage",
4499
+ "optional": true,
4500
+ "defaultValue": null,
4501
+ "description": "Widget language ('pl', 'en', 'uk', 'de', 'it', 'fr'). Default 'pl'."
4502
+ },
4503
+ {
4504
+ "name": "config",
4505
+ "type": "InPostConfigType",
4506
+ "optional": true,
4507
+ "defaultValue": null,
4508
+ "description": "Widget configuration type ('parcelCollect', 'parcelCollectPayment', 'international', 'postBuy'). Default 'parcelCollect'."
4509
+ },
4510
+ {
4511
+ "name": "sandbox",
4512
+ "type": "boolean",
4513
+ "optional": true,
4514
+ "defaultValue": null,
4515
+ "description": "Enable sandbox environment. Default false."
4516
+ },
4517
+ {
4518
+ "name": "customScriptUrl",
4519
+ "type": "string",
4520
+ "optional": true,
4521
+ "defaultValue": null,
4522
+ "description": "Custom SDK JavaScript URL."
4523
+ },
4524
+ {
4525
+ "name": "customCssUrl",
4526
+ "type": "string",
4527
+ "optional": true,
4528
+ "defaultValue": null,
4529
+ "description": "Custom SDK CSS URL."
4530
+ }
4531
+ ],
4532
+ "cva": null,
4533
+ "usageSnippet": "<InPostGeowidget\n sandbox={true}\n onPointSelect={(point) => setSelectedPoint(point)}\n/>"
4534
+ },
4535
+ {
4536
+ "name": "InPostGeowidgetModal",
4537
+ "importPath": "import { InPostGeowidgetModal } from \"@kjaniec-dev/ui\";",
4538
+ "description": "React component InPostGeowidgetModal.",
4539
+ "props": [
4540
+ {
4541
+ "name": "value",
4542
+ "type": "InPostPoint | string | null",
4543
+ "optional": true,
4544
+ "defaultValue": null,
4545
+ "description": "Currently selected point object or point code string (e.g. 'WAW01M')."
4546
+ },
4547
+ {
4548
+ "name": "onSelect",
4549
+ "type": "(point: InPostPoint) => void",
4550
+ "optional": true,
4551
+ "defaultValue": null,
4552
+ "description": "Callback triggered when point is selected on the map."
4553
+ },
4554
+ {
4555
+ "name": "triggerText",
4556
+ "type": "string",
4557
+ "optional": true,
4558
+ "defaultValue": "'Wybierz Paczkomat®'",
4559
+ "description": "Trigger button label. Default 'Wybierz Paczkomat®'."
4560
+ },
4561
+ {
4562
+ "name": "modalTitle",
4563
+ "type": "string",
4564
+ "optional": true,
4565
+ "defaultValue": "'Wybierz punkt odbioru InPost'",
4566
+ "description": "Modal header title. Default 'Wybierz punkt odbioru InPost'."
4567
+ },
4568
+ {
4569
+ "name": "disabled",
4570
+ "type": "boolean",
4571
+ "optional": true,
4572
+ "defaultValue": "false",
4573
+ "description": "Disable trigger button. Default false."
4574
+ },
4575
+ {
4576
+ "name": "open",
4577
+ "type": "boolean",
4578
+ "optional": true,
4579
+ "defaultValue": null,
4580
+ "description": "Controlled open state of the modal."
4581
+ },
4582
+ {
4583
+ "name": "onOpenChange",
4584
+ "type": "(open: boolean) => void",
4585
+ "optional": true,
4586
+ "defaultValue": null,
4587
+ "description": "Callback when open state changes."
4588
+ },
4589
+ {
4590
+ "name": "showSelectedBadge",
4591
+ "type": "boolean",
4592
+ "optional": true,
4593
+ "defaultValue": "true",
4594
+ "description": "Show selected point badge under trigger button. Default true."
4595
+ },
4596
+ {
4597
+ "name": "className",
4598
+ "type": "string",
4599
+ "optional": true,
4600
+ "defaultValue": "''",
4601
+ "description": "Outer container CSS class name."
4602
+ },
4603
+ {
4604
+ "name": "buttonVariant",
4605
+ "type": "'primary' | 'secondary' | 'outline' | 'ghost' | 'danger'",
4606
+ "optional": true,
4607
+ "defaultValue": "'outline'",
4608
+ "description": "Trigger button style variant ('primary', 'secondary', 'outline', 'ghost', 'danger'). Default 'outline'."
4609
+ },
4610
+ {
4611
+ "name": "buttonSize",
4612
+ "type": "'sm' | 'md' | 'lg'",
4613
+ "optional": true,
4614
+ "defaultValue": "'md'",
4615
+ "description": "Trigger button size ('sm', 'md', 'lg'). Default 'md'."
4616
+ },
4617
+ {
4618
+ "name": "token",
4619
+ "type": "string",
4620
+ "optional": true,
4621
+ "defaultValue": null,
4622
+ "description": "InPost API Token (optional for sandbox)."
4623
+ },
4624
+ {
4625
+ "name": "language",
4626
+ "type": "InPostLanguage",
4627
+ "optional": true,
4628
+ "defaultValue": null,
4629
+ "description": "Widget language ('pl', 'en', 'uk', 'de', 'it', 'fr'). Default 'pl'."
4630
+ },
4631
+ {
4632
+ "name": "config",
4633
+ "type": "InPostConfigType",
4634
+ "optional": true,
4635
+ "defaultValue": null,
4636
+ "description": "Widget configuration type ('parcelCollect', 'parcelCollectPayment', 'international', 'postBuy'). Default 'parcelCollect'."
4637
+ },
4638
+ {
4639
+ "name": "sandbox",
4640
+ "type": "boolean",
4641
+ "optional": true,
4642
+ "defaultValue": null,
4643
+ "description": "Enable sandbox environment. Default false."
4644
+ },
4645
+ {
4646
+ "name": "customScriptUrl",
4647
+ "type": "string",
4648
+ "optional": true,
4649
+ "defaultValue": null,
4650
+ "description": "Custom SDK JavaScript URL."
4651
+ },
4652
+ {
4653
+ "name": "customCssUrl",
4654
+ "type": "string",
4655
+ "optional": true,
4656
+ "defaultValue": null,
4657
+ "description": "Custom SDK CSS URL."
4658
+ }
4659
+ ],
4660
+ "cva": null,
4661
+ "usageSnippet": "<InPostGeowidgetModal\n sandbox={true}\n value={point}\n onSelect={(p) => setPoint(p)}\n/>"
4378
4662
  }
4379
4663
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kjaniec-dev/ui-mcp",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
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",