magick-ui 0.2.3 → 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/index.cjs +74 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +86 -49
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +6 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +10 -0
- package/dist/schema.d.ts +10 -0
- package/dist/schema.js +6 -1
- package/dist/schema.js.map +1 -1
- package/dist/ui/index.cjs +68 -36
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +2 -1
- package/dist/ui/index.d.ts +2 -1
- package/dist/ui/index.js +80 -48
- package/dist/ui/index.js.map +1 -1
- package/package.json +1 -1
- package/schema/component-schema.json +4 -0
package/dist/schema.cjs
CHANGED
|
@@ -3426,6 +3426,10 @@ var component_schema_default = {
|
|
|
3426
3426
|
disableDefaultUI: {
|
|
3427
3427
|
type: "boolean",
|
|
3428
3428
|
description: "Hide default map controls"
|
|
3429
|
+
},
|
|
3430
|
+
showCurrentLocation: {
|
|
3431
|
+
type: "boolean",
|
|
3432
|
+
description: "Show a blue dot for the user's current location"
|
|
3429
3433
|
}
|
|
3430
3434
|
},
|
|
3431
3435
|
additionalProperties: false
|
|
@@ -5637,7 +5641,8 @@ var googleMapSchema = import_zod46.z.object({
|
|
|
5637
5641
|
height: import_zod46.z.string().optional().describe("Map height CSS value. Defaults to '400px'"),
|
|
5638
5642
|
width: import_zod46.z.string().optional().describe("Map width CSS value. Defaults to '100%'"),
|
|
5639
5643
|
gestureHandling: import_zod46.z.enum(["cooperative", "greedy", "none", "auto"]).optional().describe("How the map handles touch/scroll gestures. Defaults to 'cooperative'"),
|
|
5640
|
-
disableDefaultUI: import_zod46.z.boolean().optional().describe("Hide default map controls")
|
|
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")
|
|
5641
5646
|
})
|
|
5642
5647
|
}).describe("An interactive Google Map with optional markers and info windows");
|
|
5643
5648
|
|