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.cjs CHANGED
@@ -64,6 +64,7 @@ __export(schema_exports, {
64
64
  fileUploadFieldSchema: () => fileUploadFieldSchema,
65
65
  formSchema: () => formSchema,
66
66
  getComponentSchemas: () => getComponentSchemas,
67
+ googleMapSchema: () => googleMapSchema,
67
68
  gradientContainerSchema: () => gradientContainerSchema,
68
69
  gridSchema: () => gridSchema,
69
70
  iconButtonSchema: () => iconButtonSchema,
@@ -3334,6 +3335,116 @@ var component_schema_default = {
3334
3335
  },
3335
3336
  $schema: "http://json-schema.org/draft-07/schema#"
3336
3337
  },
3338
+ "google-map": {
3339
+ $ref: "#/definitions/google-map",
3340
+ definitions: {
3341
+ "google-map": {
3342
+ type: "object",
3343
+ properties: {
3344
+ type: {
3345
+ type: "string",
3346
+ const: "google-map"
3347
+ },
3348
+ props: {
3349
+ type: "object",
3350
+ properties: {
3351
+ center: {
3352
+ type: "object",
3353
+ properties: {
3354
+ lat: {
3355
+ type: "number",
3356
+ description: "Center latitude"
3357
+ },
3358
+ lng: {
3359
+ type: "number",
3360
+ description: "Center longitude"
3361
+ }
3362
+ },
3363
+ required: [
3364
+ "lat",
3365
+ "lng"
3366
+ ],
3367
+ additionalProperties: false,
3368
+ description: "Map center coordinates"
3369
+ },
3370
+ zoom: {
3371
+ type: "number",
3372
+ description: "Zoom level (1-20). Defaults to 12"
3373
+ },
3374
+ markers: {
3375
+ type: "array",
3376
+ items: {
3377
+ type: "object",
3378
+ properties: {
3379
+ lat: {
3380
+ type: "number",
3381
+ description: "Latitude"
3382
+ },
3383
+ lng: {
3384
+ type: "number",
3385
+ description: "Longitude"
3386
+ },
3387
+ title: {
3388
+ type: "string",
3389
+ description: "Marker title shown in info window"
3390
+ },
3391
+ description: {
3392
+ type: "string",
3393
+ description: "Marker description shown in info window"
3394
+ },
3395
+ color: {
3396
+ type: "string",
3397
+ description: "Marker pin color (hex or CSS color)"
3398
+ }
3399
+ },
3400
+ required: [
3401
+ "lat",
3402
+ "lng"
3403
+ ],
3404
+ additionalProperties: false
3405
+ },
3406
+ description: "Array of map markers with lat/lng and optional info"
3407
+ },
3408
+ height: {
3409
+ type: "string",
3410
+ description: "Map height CSS value. Defaults to '400px'"
3411
+ },
3412
+ width: {
3413
+ type: "string",
3414
+ description: "Map width CSS value. Defaults to '100%'"
3415
+ },
3416
+ gestureHandling: {
3417
+ type: "string",
3418
+ enum: [
3419
+ "cooperative",
3420
+ "greedy",
3421
+ "none",
3422
+ "auto"
3423
+ ],
3424
+ description: "How the map handles touch/scroll gestures. Defaults to 'cooperative'"
3425
+ },
3426
+ disableDefaultUI: {
3427
+ type: "boolean",
3428
+ description: "Hide default map controls"
3429
+ },
3430
+ showCurrentLocation: {
3431
+ type: "boolean",
3432
+ description: "Show a blue dot for the user's current location"
3433
+ }
3434
+ },
3435
+ additionalProperties: false
3436
+ }
3437
+ },
3438
+ required: [
3439
+ "type",
3440
+ "props"
3441
+ ],
3442
+ additionalProperties: false,
3443
+ description: "An interactive Google Map with optional markers and info windows"
3444
+ }
3445
+ },
3446
+ $schema: "http://json-schema.org/draft-07/schema#"
3447
+ },
3337
3448
  calendar: {
3338
3449
  $ref: "#/definitions/calendar",
3339
3450
  definitions: {
@@ -5509,75 +5620,101 @@ var tableSchema = import_zod45.z.object({
5509
5620
  })
5510
5621
  }).describe("A data table with columns and rows");
5511
5622
 
5512
- // src/ui/Calendar/schema.ts
5623
+ // src/ui/Map/schema.ts
5513
5624
  var import_zod46 = require("zod");
5514
- var calendarSchema = import_zod46.z.object({
5515
- type: import_zod46.z.literal("calendar"),
5625
+ var mapMarkerSchema = import_zod46.z.object({
5626
+ lat: import_zod46.z.number().describe("Latitude"),
5627
+ lng: import_zod46.z.number().describe("Longitude"),
5628
+ title: import_zod46.z.string().optional().describe("Marker title shown in info window"),
5629
+ description: import_zod46.z.string().optional().describe("Marker description shown in info window"),
5630
+ color: import_zod46.z.string().optional().describe("Marker pin color (hex or CSS color)")
5631
+ });
5632
+ var googleMapSchema = import_zod46.z.object({
5633
+ type: import_zod46.z.literal("google-map"),
5516
5634
  props: import_zod46.z.object({
5517
- showOutsideDays: import_zod46.z.boolean().optional().describe("Show days from adjacent months. Defaults to true"),
5518
- captionLayout: import_zod46.z.enum(["label", "dropdown", "dropdown-months", "dropdown-years"]).optional().describe("Caption display mode. Defaults to 'label'"),
5519
- buttonVariant: import_zod46.z.enum(["primary", "secondary", "outline", "destructive", "ghost", "soft"]).optional().describe("Navigation button style. Defaults to 'ghost'"),
5520
- mode: import_zod46.z.enum(["single", "multiple", "range"]).optional().describe("Selection mode"),
5521
- numberOfMonths: import_zod46.z.number().optional().describe("Number of months to display"),
5522
- disabled: import_zod46.z.boolean().optional()
5523
- }).optional()
5524
- }).describe("A date calendar for picking dates or date ranges");
5635
+ center: import_zod46.z.object({
5636
+ lat: import_zod46.z.number().describe("Center latitude"),
5637
+ lng: import_zod46.z.number().describe("Center longitude")
5638
+ }).optional().describe("Map center coordinates"),
5639
+ zoom: import_zod46.z.number().optional().describe("Zoom level (1-20). Defaults to 12"),
5640
+ markers: import_zod46.z.array(mapMarkerSchema).optional().describe("Array of map markers with lat/lng and optional info"),
5641
+ height: import_zod46.z.string().optional().describe("Map height CSS value. Defaults to '400px'"),
5642
+ width: import_zod46.z.string().optional().describe("Map width CSS value. Defaults to '100%'"),
5643
+ gestureHandling: import_zod46.z.enum(["cooperative", "greedy", "none", "auto"]).optional().describe("How the map handles touch/scroll gestures. Defaults to 'cooperative'"),
5644
+ disableDefaultUI: import_zod46.z.boolean().optional().describe("Hide default map controls"),
5645
+ showCurrentLocation: import_zod46.z.boolean().optional().describe("Show a blue dot for the user's current location")
5646
+ })
5647
+ }).describe("An interactive Google Map with optional markers and info windows");
5525
5648
 
5526
- // src/ui/FileInput/schema.ts
5649
+ // src/ui/Calendar/schema.ts
5527
5650
  var import_zod47 = require("zod");
5528
- var fileInputSchema = import_zod47.z.object({
5529
- type: import_zod47.z.literal("file-input"),
5651
+ var calendarSchema = import_zod47.z.object({
5652
+ type: import_zod47.z.literal("calendar"),
5530
5653
  props: import_zod47.z.object({
5531
- label: import_zod47.z.string().optional().describe("Label text above the input"),
5532
- helperText: import_zod47.z.string().optional().describe("Helper text below the input"),
5533
- error: import_zod47.z.boolean().optional().describe("Show error styling. Defaults to false"),
5534
- accept: import_zod47.z.string().optional().describe("Accepted file types, e.g. 'image/*,.pdf'"),
5535
- multiple: import_zod47.z.boolean().optional().describe("Allow multiple files. Defaults to false"),
5654
+ showOutsideDays: import_zod47.z.boolean().optional().describe("Show days from adjacent months. Defaults to true"),
5655
+ captionLayout: import_zod47.z.enum(["label", "dropdown", "dropdown-months", "dropdown-years"]).optional().describe("Caption display mode. Defaults to 'label'"),
5656
+ buttonVariant: import_zod47.z.enum(["primary", "secondary", "outline", "destructive", "ghost", "soft"]).optional().describe("Navigation button style. Defaults to 'ghost'"),
5657
+ mode: import_zod47.z.enum(["single", "multiple", "range"]).optional().describe("Selection mode"),
5658
+ numberOfMonths: import_zod47.z.number().optional().describe("Number of months to display"),
5536
5659
  disabled: import_zod47.z.boolean().optional()
5537
5660
  }).optional()
5538
- }).describe("A file input with choose-file button and upload progress");
5661
+ }).describe("A date calendar for picking dates or date ranges");
5539
5662
 
5540
- // src/ui/ToolToggle/schema.ts
5663
+ // src/ui/FileInput/schema.ts
5541
5664
  var import_zod48 = require("zod");
5542
- var toolToggleSchema = import_zod48.z.object({
5543
- type: import_zod48.z.literal("tool-toggle"),
5665
+ var fileInputSchema = import_zod48.z.object({
5666
+ type: import_zod48.z.literal("file-input"),
5544
5667
  props: import_zod48.z.object({
5545
- icon: import_zod48.z.string().optional().describe("Icon name (resolved by the renderer)"),
5546
- dropdown: import_zod48.z.boolean().optional().describe("Show dropdown chevron")
5668
+ label: import_zod48.z.string().optional().describe("Label text above the input"),
5669
+ helperText: import_zod48.z.string().optional().describe("Helper text below the input"),
5670
+ error: import_zod48.z.boolean().optional().describe("Show error styling. Defaults to false"),
5671
+ accept: import_zod48.z.string().optional().describe("Accepted file types, e.g. 'image/*,.pdf'"),
5672
+ multiple: import_zod48.z.boolean().optional().describe("Allow multiple files. Defaults to false"),
5673
+ disabled: import_zod48.z.boolean().optional()
5547
5674
  }).optional()
5548
- }).describe("A round toggle button used in toolbars, optionally with a dropdown");
5675
+ }).describe("A file input with choose-file button and upload progress");
5549
5676
 
5550
- // src/ui/ToggleDropdownButton/schema.ts
5677
+ // src/ui/ToolToggle/schema.ts
5551
5678
  var import_zod49 = require("zod");
5552
- var toggleDropdownButtonSchema = import_zod49.z.object({
5553
- type: import_zod49.z.literal("toggle-dropdown-button"),
5679
+ var toolToggleSchema = import_zod49.z.object({
5680
+ type: import_zod49.z.literal("tool-toggle"),
5554
5681
  props: import_zod49.z.object({
5555
- type: import_zod49.z.enum(["text", "icon"]).describe("Button content type"),
5556
- selected: import_zod49.z.boolean().describe("Whether the button is selected"),
5557
- variant: import_zod49.z.enum(["primary", "secondary", "destructive"]).describe("Button color variant")
5682
+ icon: import_zod49.z.string().optional().describe("Icon name (resolved by the renderer)"),
5683
+ dropdown: import_zod49.z.boolean().optional().describe("Show dropdown chevron")
5684
+ }).optional()
5685
+ }).describe("A round toggle button used in toolbars, optionally with a dropdown");
5686
+
5687
+ // src/ui/ToggleDropdownButton/schema.ts
5688
+ var import_zod50 = require("zod");
5689
+ var toggleDropdownButtonSchema = import_zod50.z.object({
5690
+ type: import_zod50.z.literal("toggle-dropdown-button"),
5691
+ props: import_zod50.z.object({
5692
+ type: import_zod50.z.enum(["text", "icon"]).describe("Button content type"),
5693
+ selected: import_zod50.z.boolean().describe("Whether the button is selected"),
5694
+ variant: import_zod50.z.enum(["primary", "secondary", "destructive"]).describe("Button color variant")
5558
5695
  })
5559
5696
  }).describe("A split toggle button with an attached dropdown trigger");
5560
5697
 
5561
5698
  // src/ui/IconContainer/schema.ts
5562
- var import_zod50 = require("zod");
5563
- var iconContainerSchema = import_zod50.z.object({
5564
- type: import_zod50.z.literal("icon-container"),
5565
- props: import_zod50.z.object({
5566
- icon: import_zod50.z.string().optional().describe("Icon name (resolved by the renderer)"),
5567
- size: import_zod50.z.enum(["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "auto"]).optional().describe("Icon size. Defaults to 'sm'"),
5568
- colorInFill: import_zod50.z.boolean().optional().describe("Apply fill colors to SVG paths. Defaults to true"),
5569
- disableTheme: import_zod50.z.boolean().optional().describe("Disable theme-aware coloring. Defaults to false")
5699
+ var import_zod51 = require("zod");
5700
+ var iconContainerSchema = import_zod51.z.object({
5701
+ type: import_zod51.z.literal("icon-container"),
5702
+ props: import_zod51.z.object({
5703
+ icon: import_zod51.z.string().optional().describe("Icon name (resolved by the renderer)"),
5704
+ size: import_zod51.z.enum(["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "auto"]).optional().describe("Icon size. Defaults to 'sm'"),
5705
+ colorInFill: import_zod51.z.boolean().optional().describe("Apply fill colors to SVG paths. Defaults to true"),
5706
+ disableTheme: import_zod51.z.boolean().optional().describe("Disable theme-aware coloring. Defaults to false")
5570
5707
  }).optional(),
5571
- children: import_zod50.z.array(uiNodeSchema).optional().describe("Icon element")
5708
+ children: import_zod51.z.array(uiNodeSchema).optional().describe("Icon element")
5572
5709
  }).describe("A sized container for static icons with theme-aware coloring");
5573
5710
 
5574
5711
  // src/ui/IconProfile/schema.ts
5575
- var import_zod51 = require("zod");
5576
- var iconProfileSchema = import_zod51.z.object({
5577
- type: import_zod51.z.literal("icon-profile"),
5578
- props: import_zod51.z.object({
5579
- icon: import_zod51.z.string().describe("Icon name (resolved by the renderer)"),
5580
- color: import_zod51.z.enum([
5712
+ var import_zod52 = require("zod");
5713
+ var iconProfileSchema = import_zod52.z.object({
5714
+ type: import_zod52.z.literal("icon-profile"),
5715
+ props: import_zod52.z.object({
5716
+ icon: import_zod52.z.string().describe("Icon name (resolved by the renderer)"),
5717
+ color: import_zod52.z.enum([
5581
5718
  "red",
5582
5719
  "orange",
5583
5720
  "amber",
@@ -5597,18 +5734,18 @@ var iconProfileSchema = import_zod51.z.object({
5597
5734
  "rose",
5598
5735
  "slate"
5599
5736
  ]).optional().describe("Background glow and icon color. Defaults to 'red'"),
5600
- size: import_zod51.z.enum(["26", "32", "40", "48", "56", "64"]).optional().describe("Size in pixels. Defaults to '64'"),
5601
- externalIcon: import_zod51.z.boolean().optional().describe("Whether the icon is external")
5737
+ size: import_zod52.z.enum(["26", "32", "40", "48", "56", "64"]).optional().describe("Size in pixels. Defaults to '64'"),
5738
+ externalIcon: import_zod52.z.boolean().optional().describe("Whether the icon is external")
5602
5739
  })
5603
5740
  }).describe("An icon with a colored radial glow background");
5604
5741
 
5605
5742
  // src/ui/ButtonWithTooltip/schema.ts
5606
- var import_zod52 = require("zod");
5607
- var buttonWithTooltipSchema = import_zod52.z.object({
5608
- type: import_zod52.z.literal("button-with-tooltip"),
5609
- props: import_zod52.z.object({
5610
- content: import_zod52.z.string().describe("Tooltip text"),
5611
- position: import_zod52.z.enum([
5743
+ var import_zod53 = require("zod");
5744
+ var buttonWithTooltipSchema = import_zod53.z.object({
5745
+ type: import_zod53.z.literal("button-with-tooltip"),
5746
+ props: import_zod53.z.object({
5747
+ content: import_zod53.z.string().describe("Tooltip text"),
5748
+ position: import_zod53.z.enum([
5612
5749
  "top",
5613
5750
  "top-center",
5614
5751
  "top-left",
@@ -5620,147 +5757,147 @@ var buttonWithTooltipSchema = import_zod52.z.object({
5620
5757
  "left",
5621
5758
  "right"
5622
5759
  ]).optional().describe("Tooltip placement"),
5623
- withArrow: import_zod52.z.boolean().optional().describe("Show an arrow pointer")
5760
+ withArrow: import_zod53.z.boolean().optional().describe("Show an arrow pointer")
5624
5761
  }),
5625
- children: import_zod52.z.array(uiNodeSchema).optional().describe("The button element to wrap with a tooltip")
5762
+ children: import_zod53.z.array(uiNodeSchema).optional().describe("The button element to wrap with a tooltip")
5626
5763
  }).describe("A button wrapped with a tooltip that appears on hover");
5627
5764
 
5628
5765
  // src/ui/Sheet/schema.ts
5629
- var import_zod53 = require("zod");
5630
- var sheetSchema = import_zod53.z.object({
5631
- type: import_zod53.z.literal("sheet"),
5632
- props: import_zod53.z.object({}).optional(),
5633
- children: import_zod53.z.array(uiNodeSchema).optional().describe("Compose with sheet-trigger and sheet-content")
5766
+ var import_zod54 = require("zod");
5767
+ var sheetSchema = import_zod54.z.object({
5768
+ type: import_zod54.z.literal("sheet"),
5769
+ props: import_zod54.z.object({}).optional(),
5770
+ children: import_zod54.z.array(uiNodeSchema).optional().describe("Compose with sheet-trigger and sheet-content")
5634
5771
  }).describe("A slide-out panel overlay");
5635
- var sheetTriggerSchema = import_zod53.z.object({
5636
- type: import_zod53.z.literal("sheet-trigger"),
5637
- props: import_zod53.z.object({}).optional(),
5638
- children: import_zod53.z.array(uiNodeSchema).optional().describe("The element that opens the sheet")
5772
+ var sheetTriggerSchema = import_zod54.z.object({
5773
+ type: import_zod54.z.literal("sheet-trigger"),
5774
+ props: import_zod54.z.object({}).optional(),
5775
+ children: import_zod54.z.array(uiNodeSchema).optional().describe("The element that opens the sheet")
5639
5776
  }).describe("Trigger element that opens a sheet");
5640
- var sheetContentSchema = import_zod53.z.object({
5641
- type: import_zod53.z.literal("sheet-content"),
5642
- props: import_zod53.z.object({
5643
- side: import_zod53.z.enum(["top", "right", "bottom", "left"]).optional().describe("Slide-in direction. Defaults to 'right'"),
5644
- showCloseButton: import_zod53.z.boolean().optional().describe("Show close button. Defaults to true")
5777
+ var sheetContentSchema = import_zod54.z.object({
5778
+ type: import_zod54.z.literal("sheet-content"),
5779
+ props: import_zod54.z.object({
5780
+ side: import_zod54.z.enum(["top", "right", "bottom", "left"]).optional().describe("Slide-in direction. Defaults to 'right'"),
5781
+ showCloseButton: import_zod54.z.boolean().optional().describe("Show close button. Defaults to true")
5645
5782
  }).optional(),
5646
- children: import_zod53.z.array(uiNodeSchema).optional().describe("Sheet body content")
5783
+ children: import_zod54.z.array(uiNodeSchema).optional().describe("Sheet body content")
5647
5784
  }).describe("Content panel of a sheet");
5648
- var sheetHeaderSchema = import_zod53.z.object({
5649
- type: import_zod53.z.literal("sheet-header"),
5650
- props: import_zod53.z.object({}).optional(),
5651
- children: import_zod53.z.array(uiNodeSchema).optional()
5785
+ var sheetHeaderSchema = import_zod54.z.object({
5786
+ type: import_zod54.z.literal("sheet-header"),
5787
+ props: import_zod54.z.object({}).optional(),
5788
+ children: import_zod54.z.array(uiNodeSchema).optional()
5652
5789
  }).describe("Header section of a sheet");
5653
- var sheetFooterSchema = import_zod53.z.object({
5654
- type: import_zod53.z.literal("sheet-footer"),
5655
- props: import_zod53.z.object({}).optional(),
5656
- children: import_zod53.z.array(uiNodeSchema).optional()
5790
+ var sheetFooterSchema = import_zod54.z.object({
5791
+ type: import_zod54.z.literal("sheet-footer"),
5792
+ props: import_zod54.z.object({}).optional(),
5793
+ children: import_zod54.z.array(uiNodeSchema).optional()
5657
5794
  }).describe("Footer section of a sheet");
5658
- var sheetTitleSchema = import_zod53.z.object({
5659
- type: import_zod53.z.literal("sheet-title"),
5660
- props: import_zod53.z.object({
5661
- children: import_zod53.z.string().optional().describe("Title text")
5795
+ var sheetTitleSchema = import_zod54.z.object({
5796
+ type: import_zod54.z.literal("sheet-title"),
5797
+ props: import_zod54.z.object({
5798
+ children: import_zod54.z.string().optional().describe("Title text")
5662
5799
  }).optional(),
5663
- children: import_zod53.z.array(uiNodeSchema).optional()
5800
+ children: import_zod54.z.array(uiNodeSchema).optional()
5664
5801
  }).describe("Title inside a sheet-header");
5665
- var sheetDescriptionSchema = import_zod53.z.object({
5666
- type: import_zod53.z.literal("sheet-description"),
5667
- props: import_zod53.z.object({
5668
- children: import_zod53.z.string().optional().describe("Description text")
5802
+ var sheetDescriptionSchema = import_zod54.z.object({
5803
+ type: import_zod54.z.literal("sheet-description"),
5804
+ props: import_zod54.z.object({
5805
+ children: import_zod54.z.string().optional().describe("Description text")
5669
5806
  }).optional(),
5670
- children: import_zod53.z.array(uiNodeSchema).optional()
5807
+ children: import_zod54.z.array(uiNodeSchema).optional()
5671
5808
  }).describe("Description text inside a sheet-header");
5672
5809
 
5673
5810
  // src/ui/Dropdown/schema.ts
5674
- var import_zod54 = require("zod");
5675
- var dropdownMenuSchema = import_zod54.z.object({
5676
- type: import_zod54.z.literal("dropdown-menu"),
5677
- props: import_zod54.z.object({}).optional(),
5678
- children: import_zod54.z.array(uiNodeSchema).optional().describe("Compose with dropdown-menu-trigger and dropdown-menu-content")
5811
+ var import_zod55 = require("zod");
5812
+ var dropdownMenuSchema = import_zod55.z.object({
5813
+ type: import_zod55.z.literal("dropdown-menu"),
5814
+ props: import_zod55.z.object({}).optional(),
5815
+ children: import_zod55.z.array(uiNodeSchema).optional().describe("Compose with dropdown-menu-trigger and dropdown-menu-content")
5679
5816
  }).describe("A dropdown menu container");
5680
- var dropdownMenuTriggerSchema = import_zod54.z.object({
5681
- type: import_zod54.z.literal("dropdown-menu-trigger"),
5682
- props: import_zod54.z.object({}).optional(),
5683
- children: import_zod54.z.array(uiNodeSchema).optional().describe("The element that opens the dropdown")
5817
+ var dropdownMenuTriggerSchema = import_zod55.z.object({
5818
+ type: import_zod55.z.literal("dropdown-menu-trigger"),
5819
+ props: import_zod55.z.object({}).optional(),
5820
+ children: import_zod55.z.array(uiNodeSchema).optional().describe("The element that opens the dropdown")
5684
5821
  }).describe("Trigger element that opens a dropdown menu");
5685
- var dropdownMenuContentSchema = import_zod54.z.object({
5686
- type: import_zod54.z.literal("dropdown-menu-content"),
5687
- props: import_zod54.z.object({
5688
- side: import_zod54.z.enum(["top", "right", "bottom", "left"]).optional(),
5689
- align: import_zod54.z.enum(["start", "center", "end"]).optional()
5822
+ var dropdownMenuContentSchema = import_zod55.z.object({
5823
+ type: import_zod55.z.literal("dropdown-menu-content"),
5824
+ props: import_zod55.z.object({
5825
+ side: import_zod55.z.enum(["top", "right", "bottom", "left"]).optional(),
5826
+ align: import_zod55.z.enum(["start", "center", "end"]).optional()
5690
5827
  }).optional(),
5691
- children: import_zod54.z.array(uiNodeSchema).optional().describe("Menu items")
5828
+ children: import_zod55.z.array(uiNodeSchema).optional().describe("Menu items")
5692
5829
  }).describe("Content panel of a dropdown menu");
5693
- var dropdownMenuItemSchema = import_zod54.z.object({
5694
- type: import_zod54.z.literal("dropdown-menu-item"),
5695
- props: import_zod54.z.object({
5696
- children: import_zod54.z.string().optional().describe("Menu item text"),
5697
- variant: import_zod54.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5698
- disabled: import_zod54.z.boolean().optional()
5830
+ var dropdownMenuItemSchema = import_zod55.z.object({
5831
+ type: import_zod55.z.literal("dropdown-menu-item"),
5832
+ props: import_zod55.z.object({
5833
+ children: import_zod55.z.string().optional().describe("Menu item text"),
5834
+ variant: import_zod55.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5835
+ disabled: import_zod55.z.boolean().optional()
5699
5836
  }).optional(),
5700
- children: import_zod54.z.array(uiNodeSchema).optional()
5837
+ children: import_zod55.z.array(uiNodeSchema).optional()
5701
5838
  }).describe("A single item inside a dropdown menu");
5702
- var dropdownMenuSeparatorSchema = import_zod54.z.object({
5703
- type: import_zod54.z.literal("dropdown-menu-separator"),
5704
- props: import_zod54.z.object({}).optional()
5839
+ var dropdownMenuSeparatorSchema = import_zod55.z.object({
5840
+ type: import_zod55.z.literal("dropdown-menu-separator"),
5841
+ props: import_zod55.z.object({}).optional()
5705
5842
  }).describe("A visual separator between dropdown menu items");
5706
- var dropdownMenuLabelSchema = import_zod54.z.object({
5707
- type: import_zod54.z.literal("dropdown-menu-label"),
5708
- props: import_zod54.z.object({
5709
- children: import_zod54.z.string().optional().describe("Label text")
5843
+ var dropdownMenuLabelSchema = import_zod55.z.object({
5844
+ type: import_zod55.z.literal("dropdown-menu-label"),
5845
+ props: import_zod55.z.object({
5846
+ children: import_zod55.z.string().optional().describe("Label text")
5710
5847
  }).optional(),
5711
- children: import_zod54.z.array(uiNodeSchema).optional()
5848
+ children: import_zod55.z.array(uiNodeSchema).optional()
5712
5849
  }).describe("A non-interactive label inside a dropdown menu");
5713
5850
 
5714
5851
  // src/ui/Popover/schema.ts
5715
- var import_zod55 = require("zod");
5716
- var popoverSchema = import_zod55.z.object({
5717
- type: import_zod55.z.literal("popover"),
5718
- props: import_zod55.z.object({}).optional(),
5719
- children: import_zod55.z.array(uiNodeSchema).optional().describe("Compose with popover-trigger and popover-content")
5852
+ var import_zod56 = require("zod");
5853
+ var popoverSchema = import_zod56.z.object({
5854
+ type: import_zod56.z.literal("popover"),
5855
+ props: import_zod56.z.object({}).optional(),
5856
+ children: import_zod56.z.array(uiNodeSchema).optional().describe("Compose with popover-trigger and popover-content")
5720
5857
  }).describe("A popover overlay container");
5721
- var popoverTriggerSchema = import_zod55.z.object({
5722
- type: import_zod55.z.literal("popover-trigger"),
5723
- props: import_zod55.z.object({}).optional(),
5724
- children: import_zod55.z.array(uiNodeSchema).optional().describe("The element that opens the popover")
5858
+ var popoverTriggerSchema = import_zod56.z.object({
5859
+ type: import_zod56.z.literal("popover-trigger"),
5860
+ props: import_zod56.z.object({}).optional(),
5861
+ children: import_zod56.z.array(uiNodeSchema).optional().describe("The element that opens the popover")
5725
5862
  }).describe("Trigger element that opens a popover");
5726
- var popoverContentSchema = import_zod55.z.object({
5727
- type: import_zod55.z.literal("popover-content"),
5728
- props: import_zod55.z.object({
5729
- align: import_zod55.z.enum(["start", "center", "end"]).optional().describe("Alignment relative to trigger. Defaults to 'center'"),
5730
- sideOffset: import_zod55.z.number().optional().describe("Offset from trigger in px. Defaults to 4")
5863
+ var popoverContentSchema = import_zod56.z.object({
5864
+ type: import_zod56.z.literal("popover-content"),
5865
+ props: import_zod56.z.object({
5866
+ align: import_zod56.z.enum(["start", "center", "end"]).optional().describe("Alignment relative to trigger. Defaults to 'center'"),
5867
+ sideOffset: import_zod56.z.number().optional().describe("Offset from trigger in px. Defaults to 4")
5731
5868
  }).optional(),
5732
- children: import_zod55.z.array(uiNodeSchema).optional().describe("Popover body content")
5869
+ children: import_zod56.z.array(uiNodeSchema).optional().describe("Popover body content")
5733
5870
  }).describe("Content panel of a popover");
5734
5871
 
5735
5872
  // src/ui/ContextMenu/schema.ts
5736
- var import_zod56 = require("zod");
5737
- var contextMenuSchema = import_zod56.z.object({
5738
- type: import_zod56.z.literal("context-menu"),
5739
- props: import_zod56.z.object({}).optional(),
5740
- children: import_zod56.z.array(uiNodeSchema).optional().describe("Compose with context-menu-trigger and context-menu-content")
5873
+ var import_zod57 = require("zod");
5874
+ var contextMenuSchema = import_zod57.z.object({
5875
+ type: import_zod57.z.literal("context-menu"),
5876
+ props: import_zod57.z.object({}).optional(),
5877
+ children: import_zod57.z.array(uiNodeSchema).optional().describe("Compose with context-menu-trigger and context-menu-content")
5741
5878
  }).describe("A right-click context menu container");
5742
- var contextMenuTriggerSchema = import_zod56.z.object({
5743
- type: import_zod56.z.literal("context-menu-trigger"),
5744
- props: import_zod56.z.object({}).optional(),
5745
- children: import_zod56.z.array(uiNodeSchema).optional().describe("The element that triggers the context menu on right-click")
5879
+ var contextMenuTriggerSchema = import_zod57.z.object({
5880
+ type: import_zod57.z.literal("context-menu-trigger"),
5881
+ props: import_zod57.z.object({}).optional(),
5882
+ children: import_zod57.z.array(uiNodeSchema).optional().describe("The element that triggers the context menu on right-click")
5746
5883
  }).describe("Trigger area for a context menu");
5747
- var contextMenuContentSchema = import_zod56.z.object({
5748
- type: import_zod56.z.literal("context-menu-content"),
5749
- props: import_zod56.z.object({}).optional(),
5750
- children: import_zod56.z.array(uiNodeSchema).optional().describe("Menu items")
5884
+ var contextMenuContentSchema = import_zod57.z.object({
5885
+ type: import_zod57.z.literal("context-menu-content"),
5886
+ props: import_zod57.z.object({}).optional(),
5887
+ children: import_zod57.z.array(uiNodeSchema).optional().describe("Menu items")
5751
5888
  }).describe("Content panel of a context menu");
5752
- var contextMenuItemSchema = import_zod56.z.object({
5753
- type: import_zod56.z.literal("context-menu-item"),
5754
- props: import_zod56.z.object({
5755
- children: import_zod56.z.string().optional().describe("Menu item text"),
5756
- variant: import_zod56.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5757
- disabled: import_zod56.z.boolean().optional()
5889
+ var contextMenuItemSchema = import_zod57.z.object({
5890
+ type: import_zod57.z.literal("context-menu-item"),
5891
+ props: import_zod57.z.object({
5892
+ children: import_zod57.z.string().optional().describe("Menu item text"),
5893
+ variant: import_zod57.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5894
+ disabled: import_zod57.z.boolean().optional()
5758
5895
  }).optional(),
5759
- children: import_zod56.z.array(uiNodeSchema).optional()
5896
+ children: import_zod57.z.array(uiNodeSchema).optional()
5760
5897
  }).describe("A single item inside a context menu");
5761
- var contextMenuSeparatorSchema = import_zod56.z.object({
5762
- type: import_zod56.z.literal("context-menu-separator"),
5763
- props: import_zod56.z.object({}).optional()
5898
+ var contextMenuSeparatorSchema = import_zod57.z.object({
5899
+ type: import_zod57.z.literal("context-menu-separator"),
5900
+ props: import_zod57.z.object({}).optional()
5764
5901
  }).describe("A visual separator between context menu items");
5765
5902
 
5766
5903
  // src/schema.ts
@@ -5825,6 +5962,7 @@ var componentSchemas = {
5825
5962
  breadcrumb: breadcrumbSchema,
5826
5963
  tooltip: tooltipSchema,
5827
5964
  table: tableSchema,
5965
+ "google-map": googleMapSchema,
5828
5966
  calendar: calendarSchema,
5829
5967
  "file-input": fileInputSchema,
5830
5968
  "tool-toggle": toolToggleSchema,
@@ -5900,6 +6038,7 @@ var componentSchemas = {
5900
6038
  fileUploadFieldSchema,
5901
6039
  formSchema,
5902
6040
  getComponentSchemas,
6041
+ googleMapSchema,
5903
6042
  gradientContainerSchema,
5904
6043
  gridSchema,
5905
6044
  iconButtonSchema,