magick-ui 0.2.5 → 0.2.6
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/index.cjs +103 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +108 -33
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +11 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +20 -0
- package/dist/schema.d.ts +20 -0
- package/dist/schema.js +11 -1
- package/dist/schema.js.map +1 -1
- package/dist/ui/index.cjs +92 -28
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +9 -1
- package/dist/ui/index.d.ts +9 -1
- package/dist/ui/index.js +97 -32
- package/dist/ui/index.js.map +1 -1
- package/package.json +2 -1
- package/schema/component-schema.json +8 -0
package/dist/schema.cjs
CHANGED
|
@@ -3430,6 +3430,14 @@ var component_schema_default = {
|
|
|
3430
3430
|
showCurrentLocation: {
|
|
3431
3431
|
type: "boolean",
|
|
3432
3432
|
description: "Show a blue dot for the user's current location"
|
|
3433
|
+
},
|
|
3434
|
+
showSearch: {
|
|
3435
|
+
type: "boolean",
|
|
3436
|
+
description: "Show a search box to find places on the map"
|
|
3437
|
+
},
|
|
3438
|
+
searchPlaceholder: {
|
|
3439
|
+
type: "string",
|
|
3440
|
+
description: "Placeholder text for the search box"
|
|
3433
3441
|
}
|
|
3434
3442
|
},
|
|
3435
3443
|
additionalProperties: false
|
|
@@ -5642,7 +5650,9 @@ var googleMapSchema = import_zod46.z.object({
|
|
|
5642
5650
|
width: import_zod46.z.string().optional().describe("Map width CSS value. Defaults to '100%'"),
|
|
5643
5651
|
gestureHandling: import_zod46.z.enum(["cooperative", "greedy", "none", "auto"]).optional().describe("How the map handles touch/scroll gestures. Defaults to 'cooperative'"),
|
|
5644
5652
|
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")
|
|
5653
|
+
showCurrentLocation: import_zod46.z.boolean().optional().describe("Show a blue dot for the user's current location"),
|
|
5654
|
+
showSearch: import_zod46.z.boolean().optional().describe("Show a search box to find places on the map"),
|
|
5655
|
+
searchPlaceholder: import_zod46.z.string().optional().describe("Placeholder text for the search box")
|
|
5646
5656
|
})
|
|
5647
5657
|
}).describe("An interactive Google Map with optional markers and info windows");
|
|
5648
5658
|
|