magick-ui 0.2.2 → 0.2.4

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/schema.js CHANGED
@@ -3221,6 +3221,116 @@ var component_schema_default = {
3221
3221
  },
3222
3222
  $schema: "http://json-schema.org/draft-07/schema#"
3223
3223
  },
3224
+ "google-map": {
3225
+ $ref: "#/definitions/google-map",
3226
+ definitions: {
3227
+ "google-map": {
3228
+ type: "object",
3229
+ properties: {
3230
+ type: {
3231
+ type: "string",
3232
+ const: "google-map"
3233
+ },
3234
+ props: {
3235
+ type: "object",
3236
+ properties: {
3237
+ center: {
3238
+ type: "object",
3239
+ properties: {
3240
+ lat: {
3241
+ type: "number",
3242
+ description: "Center latitude"
3243
+ },
3244
+ lng: {
3245
+ type: "number",
3246
+ description: "Center longitude"
3247
+ }
3248
+ },
3249
+ required: [
3250
+ "lat",
3251
+ "lng"
3252
+ ],
3253
+ additionalProperties: false,
3254
+ description: "Map center coordinates"
3255
+ },
3256
+ zoom: {
3257
+ type: "number",
3258
+ description: "Zoom level (1-20). Defaults to 12"
3259
+ },
3260
+ markers: {
3261
+ type: "array",
3262
+ items: {
3263
+ type: "object",
3264
+ properties: {
3265
+ lat: {
3266
+ type: "number",
3267
+ description: "Latitude"
3268
+ },
3269
+ lng: {
3270
+ type: "number",
3271
+ description: "Longitude"
3272
+ },
3273
+ title: {
3274
+ type: "string",
3275
+ description: "Marker title shown in info window"
3276
+ },
3277
+ description: {
3278
+ type: "string",
3279
+ description: "Marker description shown in info window"
3280
+ },
3281
+ color: {
3282
+ type: "string",
3283
+ description: "Marker pin color (hex or CSS color)"
3284
+ }
3285
+ },
3286
+ required: [
3287
+ "lat",
3288
+ "lng"
3289
+ ],
3290
+ additionalProperties: false
3291
+ },
3292
+ description: "Array of map markers with lat/lng and optional info"
3293
+ },
3294
+ height: {
3295
+ type: "string",
3296
+ description: "Map height CSS value. Defaults to '400px'"
3297
+ },
3298
+ width: {
3299
+ type: "string",
3300
+ description: "Map width CSS value. Defaults to '100%'"
3301
+ },
3302
+ gestureHandling: {
3303
+ type: "string",
3304
+ enum: [
3305
+ "cooperative",
3306
+ "greedy",
3307
+ "none",
3308
+ "auto"
3309
+ ],
3310
+ description: "How the map handles touch/scroll gestures. Defaults to 'cooperative'"
3311
+ },
3312
+ disableDefaultUI: {
3313
+ type: "boolean",
3314
+ description: "Hide default map controls"
3315
+ },
3316
+ showCurrentLocation: {
3317
+ type: "boolean",
3318
+ description: "Show a blue dot for the user's current location"
3319
+ }
3320
+ },
3321
+ additionalProperties: false
3322
+ }
3323
+ },
3324
+ required: [
3325
+ "type",
3326
+ "props"
3327
+ ],
3328
+ additionalProperties: false,
3329
+ description: "An interactive Google Map with optional markers and info windows"
3330
+ }
3331
+ },
3332
+ $schema: "http://json-schema.org/draft-07/schema#"
3333
+ },
3224
3334
  calendar: {
3225
3335
  $ref: "#/definitions/calendar",
3226
3336
  definitions: {
@@ -5396,75 +5506,101 @@ var tableSchema = z45.object({
5396
5506
  })
5397
5507
  }).describe("A data table with columns and rows");
5398
5508
 
5399
- // src/ui/Calendar/schema.ts
5509
+ // src/ui/Map/schema.ts
5400
5510
  import { z as z46 } from "zod";
5401
- var calendarSchema = z46.object({
5402
- type: z46.literal("calendar"),
5511
+ var mapMarkerSchema = z46.object({
5512
+ lat: z46.number().describe("Latitude"),
5513
+ lng: z46.number().describe("Longitude"),
5514
+ title: z46.string().optional().describe("Marker title shown in info window"),
5515
+ description: z46.string().optional().describe("Marker description shown in info window"),
5516
+ color: z46.string().optional().describe("Marker pin color (hex or CSS color)")
5517
+ });
5518
+ var googleMapSchema = z46.object({
5519
+ type: z46.literal("google-map"),
5403
5520
  props: z46.object({
5404
- showOutsideDays: z46.boolean().optional().describe("Show days from adjacent months. Defaults to true"),
5405
- captionLayout: z46.enum(["label", "dropdown", "dropdown-months", "dropdown-years"]).optional().describe("Caption display mode. Defaults to 'label'"),
5406
- buttonVariant: z46.enum(["primary", "secondary", "outline", "destructive", "ghost", "soft"]).optional().describe("Navigation button style. Defaults to 'ghost'"),
5407
- mode: z46.enum(["single", "multiple", "range"]).optional().describe("Selection mode"),
5408
- numberOfMonths: z46.number().optional().describe("Number of months to display"),
5409
- disabled: z46.boolean().optional()
5410
- }).optional()
5411
- }).describe("A date calendar for picking dates or date ranges");
5521
+ center: z46.object({
5522
+ lat: z46.number().describe("Center latitude"),
5523
+ lng: z46.number().describe("Center longitude")
5524
+ }).optional().describe("Map center coordinates"),
5525
+ zoom: z46.number().optional().describe("Zoom level (1-20). Defaults to 12"),
5526
+ markers: z46.array(mapMarkerSchema).optional().describe("Array of map markers with lat/lng and optional info"),
5527
+ height: z46.string().optional().describe("Map height CSS value. Defaults to '400px'"),
5528
+ width: z46.string().optional().describe("Map width CSS value. Defaults to '100%'"),
5529
+ gestureHandling: z46.enum(["cooperative", "greedy", "none", "auto"]).optional().describe("How the map handles touch/scroll gestures. Defaults to 'cooperative'"),
5530
+ disableDefaultUI: z46.boolean().optional().describe("Hide default map controls"),
5531
+ showCurrentLocation: z46.boolean().optional().describe("Show a blue dot for the user's current location")
5532
+ })
5533
+ }).describe("An interactive Google Map with optional markers and info windows");
5412
5534
 
5413
- // src/ui/FileInput/schema.ts
5535
+ // src/ui/Calendar/schema.ts
5414
5536
  import { z as z47 } from "zod";
5415
- var fileInputSchema = z47.object({
5416
- type: z47.literal("file-input"),
5537
+ var calendarSchema = z47.object({
5538
+ type: z47.literal("calendar"),
5417
5539
  props: z47.object({
5418
- label: z47.string().optional().describe("Label text above the input"),
5419
- helperText: z47.string().optional().describe("Helper text below the input"),
5420
- error: z47.boolean().optional().describe("Show error styling. Defaults to false"),
5421
- accept: z47.string().optional().describe("Accepted file types, e.g. 'image/*,.pdf'"),
5422
- multiple: z47.boolean().optional().describe("Allow multiple files. Defaults to false"),
5540
+ showOutsideDays: z47.boolean().optional().describe("Show days from adjacent months. Defaults to true"),
5541
+ captionLayout: z47.enum(["label", "dropdown", "dropdown-months", "dropdown-years"]).optional().describe("Caption display mode. Defaults to 'label'"),
5542
+ buttonVariant: z47.enum(["primary", "secondary", "outline", "destructive", "ghost", "soft"]).optional().describe("Navigation button style. Defaults to 'ghost'"),
5543
+ mode: z47.enum(["single", "multiple", "range"]).optional().describe("Selection mode"),
5544
+ numberOfMonths: z47.number().optional().describe("Number of months to display"),
5423
5545
  disabled: z47.boolean().optional()
5424
5546
  }).optional()
5425
- }).describe("A file input with choose-file button and upload progress");
5547
+ }).describe("A date calendar for picking dates or date ranges");
5426
5548
 
5427
- // src/ui/ToolToggle/schema.ts
5549
+ // src/ui/FileInput/schema.ts
5428
5550
  import { z as z48 } from "zod";
5429
- var toolToggleSchema = z48.object({
5430
- type: z48.literal("tool-toggle"),
5551
+ var fileInputSchema = z48.object({
5552
+ type: z48.literal("file-input"),
5431
5553
  props: z48.object({
5432
- icon: z48.string().optional().describe("Icon name (resolved by the renderer)"),
5433
- dropdown: z48.boolean().optional().describe("Show dropdown chevron")
5554
+ label: z48.string().optional().describe("Label text above the input"),
5555
+ helperText: z48.string().optional().describe("Helper text below the input"),
5556
+ error: z48.boolean().optional().describe("Show error styling. Defaults to false"),
5557
+ accept: z48.string().optional().describe("Accepted file types, e.g. 'image/*,.pdf'"),
5558
+ multiple: z48.boolean().optional().describe("Allow multiple files. Defaults to false"),
5559
+ disabled: z48.boolean().optional()
5434
5560
  }).optional()
5435
- }).describe("A round toggle button used in toolbars, optionally with a dropdown");
5561
+ }).describe("A file input with choose-file button and upload progress");
5436
5562
 
5437
- // src/ui/ToggleDropdownButton/schema.ts
5563
+ // src/ui/ToolToggle/schema.ts
5438
5564
  import { z as z49 } from "zod";
5439
- var toggleDropdownButtonSchema = z49.object({
5440
- type: z49.literal("toggle-dropdown-button"),
5565
+ var toolToggleSchema = z49.object({
5566
+ type: z49.literal("tool-toggle"),
5441
5567
  props: z49.object({
5442
- type: z49.enum(["text", "icon"]).describe("Button content type"),
5443
- selected: z49.boolean().describe("Whether the button is selected"),
5444
- variant: z49.enum(["primary", "secondary", "destructive"]).describe("Button color variant")
5568
+ icon: z49.string().optional().describe("Icon name (resolved by the renderer)"),
5569
+ dropdown: z49.boolean().optional().describe("Show dropdown chevron")
5570
+ }).optional()
5571
+ }).describe("A round toggle button used in toolbars, optionally with a dropdown");
5572
+
5573
+ // src/ui/ToggleDropdownButton/schema.ts
5574
+ import { z as z50 } from "zod";
5575
+ var toggleDropdownButtonSchema = z50.object({
5576
+ type: z50.literal("toggle-dropdown-button"),
5577
+ props: z50.object({
5578
+ type: z50.enum(["text", "icon"]).describe("Button content type"),
5579
+ selected: z50.boolean().describe("Whether the button is selected"),
5580
+ variant: z50.enum(["primary", "secondary", "destructive"]).describe("Button color variant")
5445
5581
  })
5446
5582
  }).describe("A split toggle button with an attached dropdown trigger");
5447
5583
 
5448
5584
  // src/ui/IconContainer/schema.ts
5449
- import { z as z50 } from "zod";
5450
- var iconContainerSchema = z50.object({
5451
- type: z50.literal("icon-container"),
5452
- props: z50.object({
5453
- icon: z50.string().optional().describe("Icon name (resolved by the renderer)"),
5454
- size: z50.enum(["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "auto"]).optional().describe("Icon size. Defaults to 'sm'"),
5455
- colorInFill: z50.boolean().optional().describe("Apply fill colors to SVG paths. Defaults to true"),
5456
- disableTheme: z50.boolean().optional().describe("Disable theme-aware coloring. Defaults to false")
5585
+ import { z as z51 } from "zod";
5586
+ var iconContainerSchema = z51.object({
5587
+ type: z51.literal("icon-container"),
5588
+ props: z51.object({
5589
+ icon: z51.string().optional().describe("Icon name (resolved by the renderer)"),
5590
+ size: z51.enum(["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "auto"]).optional().describe("Icon size. Defaults to 'sm'"),
5591
+ colorInFill: z51.boolean().optional().describe("Apply fill colors to SVG paths. Defaults to true"),
5592
+ disableTheme: z51.boolean().optional().describe("Disable theme-aware coloring. Defaults to false")
5457
5593
  }).optional(),
5458
- children: z50.array(uiNodeSchema).optional().describe("Icon element")
5594
+ children: z51.array(uiNodeSchema).optional().describe("Icon element")
5459
5595
  }).describe("A sized container for static icons with theme-aware coloring");
5460
5596
 
5461
5597
  // src/ui/IconProfile/schema.ts
5462
- import { z as z51 } from "zod";
5463
- var iconProfileSchema = z51.object({
5464
- type: z51.literal("icon-profile"),
5465
- props: z51.object({
5466
- icon: z51.string().describe("Icon name (resolved by the renderer)"),
5467
- color: z51.enum([
5598
+ import { z as z52 } from "zod";
5599
+ var iconProfileSchema = z52.object({
5600
+ type: z52.literal("icon-profile"),
5601
+ props: z52.object({
5602
+ icon: z52.string().describe("Icon name (resolved by the renderer)"),
5603
+ color: z52.enum([
5468
5604
  "red",
5469
5605
  "orange",
5470
5606
  "amber",
@@ -5484,18 +5620,18 @@ var iconProfileSchema = z51.object({
5484
5620
  "rose",
5485
5621
  "slate"
5486
5622
  ]).optional().describe("Background glow and icon color. Defaults to 'red'"),
5487
- size: z51.enum(["26", "32", "40", "48", "56", "64"]).optional().describe("Size in pixels. Defaults to '64'"),
5488
- externalIcon: z51.boolean().optional().describe("Whether the icon is external")
5623
+ size: z52.enum(["26", "32", "40", "48", "56", "64"]).optional().describe("Size in pixels. Defaults to '64'"),
5624
+ externalIcon: z52.boolean().optional().describe("Whether the icon is external")
5489
5625
  })
5490
5626
  }).describe("An icon with a colored radial glow background");
5491
5627
 
5492
5628
  // src/ui/ButtonWithTooltip/schema.ts
5493
- import { z as z52 } from "zod";
5494
- var buttonWithTooltipSchema = z52.object({
5495
- type: z52.literal("button-with-tooltip"),
5496
- props: z52.object({
5497
- content: z52.string().describe("Tooltip text"),
5498
- position: z52.enum([
5629
+ import { z as z53 } from "zod";
5630
+ var buttonWithTooltipSchema = z53.object({
5631
+ type: z53.literal("button-with-tooltip"),
5632
+ props: z53.object({
5633
+ content: z53.string().describe("Tooltip text"),
5634
+ position: z53.enum([
5499
5635
  "top",
5500
5636
  "top-center",
5501
5637
  "top-left",
@@ -5507,147 +5643,147 @@ var buttonWithTooltipSchema = z52.object({
5507
5643
  "left",
5508
5644
  "right"
5509
5645
  ]).optional().describe("Tooltip placement"),
5510
- withArrow: z52.boolean().optional().describe("Show an arrow pointer")
5646
+ withArrow: z53.boolean().optional().describe("Show an arrow pointer")
5511
5647
  }),
5512
- children: z52.array(uiNodeSchema).optional().describe("The button element to wrap with a tooltip")
5648
+ children: z53.array(uiNodeSchema).optional().describe("The button element to wrap with a tooltip")
5513
5649
  }).describe("A button wrapped with a tooltip that appears on hover");
5514
5650
 
5515
5651
  // src/ui/Sheet/schema.ts
5516
- import { z as z53 } from "zod";
5517
- var sheetSchema = z53.object({
5518
- type: z53.literal("sheet"),
5519
- props: z53.object({}).optional(),
5520
- children: z53.array(uiNodeSchema).optional().describe("Compose with sheet-trigger and sheet-content")
5652
+ import { z as z54 } from "zod";
5653
+ var sheetSchema = z54.object({
5654
+ type: z54.literal("sheet"),
5655
+ props: z54.object({}).optional(),
5656
+ children: z54.array(uiNodeSchema).optional().describe("Compose with sheet-trigger and sheet-content")
5521
5657
  }).describe("A slide-out panel overlay");
5522
- var sheetTriggerSchema = z53.object({
5523
- type: z53.literal("sheet-trigger"),
5524
- props: z53.object({}).optional(),
5525
- children: z53.array(uiNodeSchema).optional().describe("The element that opens the sheet")
5658
+ var sheetTriggerSchema = z54.object({
5659
+ type: z54.literal("sheet-trigger"),
5660
+ props: z54.object({}).optional(),
5661
+ children: z54.array(uiNodeSchema).optional().describe("The element that opens the sheet")
5526
5662
  }).describe("Trigger element that opens a sheet");
5527
- var sheetContentSchema = z53.object({
5528
- type: z53.literal("sheet-content"),
5529
- props: z53.object({
5530
- side: z53.enum(["top", "right", "bottom", "left"]).optional().describe("Slide-in direction. Defaults to 'right'"),
5531
- showCloseButton: z53.boolean().optional().describe("Show close button. Defaults to true")
5663
+ var sheetContentSchema = z54.object({
5664
+ type: z54.literal("sheet-content"),
5665
+ props: z54.object({
5666
+ side: z54.enum(["top", "right", "bottom", "left"]).optional().describe("Slide-in direction. Defaults to 'right'"),
5667
+ showCloseButton: z54.boolean().optional().describe("Show close button. Defaults to true")
5532
5668
  }).optional(),
5533
- children: z53.array(uiNodeSchema).optional().describe("Sheet body content")
5669
+ children: z54.array(uiNodeSchema).optional().describe("Sheet body content")
5534
5670
  }).describe("Content panel of a sheet");
5535
- var sheetHeaderSchema = z53.object({
5536
- type: z53.literal("sheet-header"),
5537
- props: z53.object({}).optional(),
5538
- children: z53.array(uiNodeSchema).optional()
5671
+ var sheetHeaderSchema = z54.object({
5672
+ type: z54.literal("sheet-header"),
5673
+ props: z54.object({}).optional(),
5674
+ children: z54.array(uiNodeSchema).optional()
5539
5675
  }).describe("Header section of a sheet");
5540
- var sheetFooterSchema = z53.object({
5541
- type: z53.literal("sheet-footer"),
5542
- props: z53.object({}).optional(),
5543
- children: z53.array(uiNodeSchema).optional()
5676
+ var sheetFooterSchema = z54.object({
5677
+ type: z54.literal("sheet-footer"),
5678
+ props: z54.object({}).optional(),
5679
+ children: z54.array(uiNodeSchema).optional()
5544
5680
  }).describe("Footer section of a sheet");
5545
- var sheetTitleSchema = z53.object({
5546
- type: z53.literal("sheet-title"),
5547
- props: z53.object({
5548
- children: z53.string().optional().describe("Title text")
5681
+ var sheetTitleSchema = z54.object({
5682
+ type: z54.literal("sheet-title"),
5683
+ props: z54.object({
5684
+ children: z54.string().optional().describe("Title text")
5549
5685
  }).optional(),
5550
- children: z53.array(uiNodeSchema).optional()
5686
+ children: z54.array(uiNodeSchema).optional()
5551
5687
  }).describe("Title inside a sheet-header");
5552
- var sheetDescriptionSchema = z53.object({
5553
- type: z53.literal("sheet-description"),
5554
- props: z53.object({
5555
- children: z53.string().optional().describe("Description text")
5688
+ var sheetDescriptionSchema = z54.object({
5689
+ type: z54.literal("sheet-description"),
5690
+ props: z54.object({
5691
+ children: z54.string().optional().describe("Description text")
5556
5692
  }).optional(),
5557
- children: z53.array(uiNodeSchema).optional()
5693
+ children: z54.array(uiNodeSchema).optional()
5558
5694
  }).describe("Description text inside a sheet-header");
5559
5695
 
5560
5696
  // src/ui/Dropdown/schema.ts
5561
- import { z as z54 } from "zod";
5562
- var dropdownMenuSchema = z54.object({
5563
- type: z54.literal("dropdown-menu"),
5564
- props: z54.object({}).optional(),
5565
- children: z54.array(uiNodeSchema).optional().describe("Compose with dropdown-menu-trigger and dropdown-menu-content")
5697
+ import { z as z55 } from "zod";
5698
+ var dropdownMenuSchema = z55.object({
5699
+ type: z55.literal("dropdown-menu"),
5700
+ props: z55.object({}).optional(),
5701
+ children: z55.array(uiNodeSchema).optional().describe("Compose with dropdown-menu-trigger and dropdown-menu-content")
5566
5702
  }).describe("A dropdown menu container");
5567
- var dropdownMenuTriggerSchema = z54.object({
5568
- type: z54.literal("dropdown-menu-trigger"),
5569
- props: z54.object({}).optional(),
5570
- children: z54.array(uiNodeSchema).optional().describe("The element that opens the dropdown")
5703
+ var dropdownMenuTriggerSchema = z55.object({
5704
+ type: z55.literal("dropdown-menu-trigger"),
5705
+ props: z55.object({}).optional(),
5706
+ children: z55.array(uiNodeSchema).optional().describe("The element that opens the dropdown")
5571
5707
  }).describe("Trigger element that opens a dropdown menu");
5572
- var dropdownMenuContentSchema = z54.object({
5573
- type: z54.literal("dropdown-menu-content"),
5574
- props: z54.object({
5575
- side: z54.enum(["top", "right", "bottom", "left"]).optional(),
5576
- align: z54.enum(["start", "center", "end"]).optional()
5708
+ var dropdownMenuContentSchema = z55.object({
5709
+ type: z55.literal("dropdown-menu-content"),
5710
+ props: z55.object({
5711
+ side: z55.enum(["top", "right", "bottom", "left"]).optional(),
5712
+ align: z55.enum(["start", "center", "end"]).optional()
5577
5713
  }).optional(),
5578
- children: z54.array(uiNodeSchema).optional().describe("Menu items")
5714
+ children: z55.array(uiNodeSchema).optional().describe("Menu items")
5579
5715
  }).describe("Content panel of a dropdown menu");
5580
- var dropdownMenuItemSchema = z54.object({
5581
- type: z54.literal("dropdown-menu-item"),
5582
- props: z54.object({
5583
- children: z54.string().optional().describe("Menu item text"),
5584
- variant: z54.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5585
- disabled: z54.boolean().optional()
5716
+ var dropdownMenuItemSchema = z55.object({
5717
+ type: z55.literal("dropdown-menu-item"),
5718
+ props: z55.object({
5719
+ children: z55.string().optional().describe("Menu item text"),
5720
+ variant: z55.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5721
+ disabled: z55.boolean().optional()
5586
5722
  }).optional(),
5587
- children: z54.array(uiNodeSchema).optional()
5723
+ children: z55.array(uiNodeSchema).optional()
5588
5724
  }).describe("A single item inside a dropdown menu");
5589
- var dropdownMenuSeparatorSchema = z54.object({
5590
- type: z54.literal("dropdown-menu-separator"),
5591
- props: z54.object({}).optional()
5725
+ var dropdownMenuSeparatorSchema = z55.object({
5726
+ type: z55.literal("dropdown-menu-separator"),
5727
+ props: z55.object({}).optional()
5592
5728
  }).describe("A visual separator between dropdown menu items");
5593
- var dropdownMenuLabelSchema = z54.object({
5594
- type: z54.literal("dropdown-menu-label"),
5595
- props: z54.object({
5596
- children: z54.string().optional().describe("Label text")
5729
+ var dropdownMenuLabelSchema = z55.object({
5730
+ type: z55.literal("dropdown-menu-label"),
5731
+ props: z55.object({
5732
+ children: z55.string().optional().describe("Label text")
5597
5733
  }).optional(),
5598
- children: z54.array(uiNodeSchema).optional()
5734
+ children: z55.array(uiNodeSchema).optional()
5599
5735
  }).describe("A non-interactive label inside a dropdown menu");
5600
5736
 
5601
5737
  // src/ui/Popover/schema.ts
5602
- import { z as z55 } from "zod";
5603
- var popoverSchema = z55.object({
5604
- type: z55.literal("popover"),
5605
- props: z55.object({}).optional(),
5606
- children: z55.array(uiNodeSchema).optional().describe("Compose with popover-trigger and popover-content")
5738
+ import { z as z56 } from "zod";
5739
+ var popoverSchema = z56.object({
5740
+ type: z56.literal("popover"),
5741
+ props: z56.object({}).optional(),
5742
+ children: z56.array(uiNodeSchema).optional().describe("Compose with popover-trigger and popover-content")
5607
5743
  }).describe("A popover overlay container");
5608
- var popoverTriggerSchema = z55.object({
5609
- type: z55.literal("popover-trigger"),
5610
- props: z55.object({}).optional(),
5611
- children: z55.array(uiNodeSchema).optional().describe("The element that opens the popover")
5744
+ var popoverTriggerSchema = z56.object({
5745
+ type: z56.literal("popover-trigger"),
5746
+ props: z56.object({}).optional(),
5747
+ children: z56.array(uiNodeSchema).optional().describe("The element that opens the popover")
5612
5748
  }).describe("Trigger element that opens a popover");
5613
- var popoverContentSchema = z55.object({
5614
- type: z55.literal("popover-content"),
5615
- props: z55.object({
5616
- align: z55.enum(["start", "center", "end"]).optional().describe("Alignment relative to trigger. Defaults to 'center'"),
5617
- sideOffset: z55.number().optional().describe("Offset from trigger in px. Defaults to 4")
5749
+ var popoverContentSchema = z56.object({
5750
+ type: z56.literal("popover-content"),
5751
+ props: z56.object({
5752
+ align: z56.enum(["start", "center", "end"]).optional().describe("Alignment relative to trigger. Defaults to 'center'"),
5753
+ sideOffset: z56.number().optional().describe("Offset from trigger in px. Defaults to 4")
5618
5754
  }).optional(),
5619
- children: z55.array(uiNodeSchema).optional().describe("Popover body content")
5755
+ children: z56.array(uiNodeSchema).optional().describe("Popover body content")
5620
5756
  }).describe("Content panel of a popover");
5621
5757
 
5622
5758
  // src/ui/ContextMenu/schema.ts
5623
- import { z as z56 } from "zod";
5624
- var contextMenuSchema = z56.object({
5625
- type: z56.literal("context-menu"),
5626
- props: z56.object({}).optional(),
5627
- children: z56.array(uiNodeSchema).optional().describe("Compose with context-menu-trigger and context-menu-content")
5759
+ import { z as z57 } from "zod";
5760
+ var contextMenuSchema = z57.object({
5761
+ type: z57.literal("context-menu"),
5762
+ props: z57.object({}).optional(),
5763
+ children: z57.array(uiNodeSchema).optional().describe("Compose with context-menu-trigger and context-menu-content")
5628
5764
  }).describe("A right-click context menu container");
5629
- var contextMenuTriggerSchema = z56.object({
5630
- type: z56.literal("context-menu-trigger"),
5631
- props: z56.object({}).optional(),
5632
- children: z56.array(uiNodeSchema).optional().describe("The element that triggers the context menu on right-click")
5765
+ var contextMenuTriggerSchema = z57.object({
5766
+ type: z57.literal("context-menu-trigger"),
5767
+ props: z57.object({}).optional(),
5768
+ children: z57.array(uiNodeSchema).optional().describe("The element that triggers the context menu on right-click")
5633
5769
  }).describe("Trigger area for a context menu");
5634
- var contextMenuContentSchema = z56.object({
5635
- type: z56.literal("context-menu-content"),
5636
- props: z56.object({}).optional(),
5637
- children: z56.array(uiNodeSchema).optional().describe("Menu items")
5770
+ var contextMenuContentSchema = z57.object({
5771
+ type: z57.literal("context-menu-content"),
5772
+ props: z57.object({}).optional(),
5773
+ children: z57.array(uiNodeSchema).optional().describe("Menu items")
5638
5774
  }).describe("Content panel of a context menu");
5639
- var contextMenuItemSchema = z56.object({
5640
- type: z56.literal("context-menu-item"),
5641
- props: z56.object({
5642
- children: z56.string().optional().describe("Menu item text"),
5643
- variant: z56.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5644
- disabled: z56.boolean().optional()
5775
+ var contextMenuItemSchema = z57.object({
5776
+ type: z57.literal("context-menu-item"),
5777
+ props: z57.object({
5778
+ children: z57.string().optional().describe("Menu item text"),
5779
+ variant: z57.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5780
+ disabled: z57.boolean().optional()
5645
5781
  }).optional(),
5646
- children: z56.array(uiNodeSchema).optional()
5782
+ children: z57.array(uiNodeSchema).optional()
5647
5783
  }).describe("A single item inside a context menu");
5648
- var contextMenuSeparatorSchema = z56.object({
5649
- type: z56.literal("context-menu-separator"),
5650
- props: z56.object({}).optional()
5784
+ var contextMenuSeparatorSchema = z57.object({
5785
+ type: z57.literal("context-menu-separator"),
5786
+ props: z57.object({}).optional()
5651
5787
  }).describe("A visual separator between context menu items");
5652
5788
 
5653
5789
  // src/schema.ts
@@ -5712,6 +5848,7 @@ var componentSchemas = {
5712
5848
  breadcrumb: breadcrumbSchema,
5713
5849
  tooltip: tooltipSchema,
5714
5850
  table: tableSchema,
5851
+ "google-map": googleMapSchema,
5715
5852
  calendar: calendarSchema,
5716
5853
  "file-input": fileInputSchema,
5717
5854
  "tool-toggle": toolToggleSchema,
@@ -5786,6 +5923,7 @@ export {
5786
5923
  fileUploadFieldSchema,
5787
5924
  formSchema,
5788
5925
  getComponentSchemas,
5926
+ googleMapSchema,
5789
5927
  gradientContainerSchema,
5790
5928
  gridSchema,
5791
5929
  iconButtonSchema,