@plasmicpkgs/plasmic-pigeon-maps 0.0.1 → 0.0.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.
package/LICENSE CHANGED
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1 +1 @@
1
- Plasmic components and registration calls for Pigeon Maps
1
+ Plasmic components and registration calls for Pigeon Maps
@@ -1 +1 @@
1
- {"version":3,"file":"plasmic-pigeon-maps.cjs.development.js","sources":["../src/pigeon.tsx","../src/index.tsx"],"sourcesContent":["import { CodeComponentMeta } from \"@plasmicapp/host\";\nimport { Map, Marker } from \"pigeon-maps\";\nimport React from \"react\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-pigeon-maps\";\n\ninterface PigeonMapsProps {\n provider?: string;\n latitude?: number;\n longitude?: number;\n zoomLevel?: number;\n width?: number;\n height?: number;\n animate?: boolean;\n zoomSnap?: boolean;\n metaWheelZoom?: boolean;\n twoFingerDrag?: boolean;\n className?: string;\n}\n\nexport const PigeonMapsMeta: CodeComponentMeta<PigeonMapsProps> = {\n name: \"PigeonMaps\",\n displayName: \"Pigeon Maps\",\n importName: \"PigeonMaps\",\n importPath: modulePath,\n providesData: true,\n defaultStyles: {\n width: \"400px\",\n height: \"600px\",\n },\n props: {\n latitude: {\n type: \"number\",\n displayName: \"Latitude\",\n description: \"Latitude\",\n defaultValue: 41.2825125,\n },\n longitude: {\n type: \"number\",\n displayName: \"Longitude\",\n description: \"Longitude\",\n defaultValue: 69.139281,\n },\n zoomLevel: {\n type: \"number\",\n displayName: \"Zoom\",\n description: \"Current zoom level [1...18]\",\n defaultValue: 10,\n },\n animate: {\n type: \"boolean\",\n displayName: \"Animations\",\n description: \"Animations enabled\",\n defaultValue: true,\n },\n zoomSnap: {\n type: \"boolean\",\n displayName: \"Zoom Snap\",\n description:\n \"Snap to discrete zoom increments (14, 15, 16, etc) when scrolling with the mouse or pinching with touch events\",\n defaultValue: true,\n },\n metaWheelZoom: {\n type: \"boolean\",\n displayName: \"Meta Wheel Zoom\",\n description:\n \"Zooming with the mouse wheel only works when you hold down the cmd or ctrl keys\",\n defaultValue: false,\n },\n twoFingerDrag: {\n type: \"boolean\",\n displayName: \"Two Finger Drag\",\n description: \"Moving the map requires touching with two fingers\",\n defaultValue: false,\n },\n },\n};\n\nexport function PigeonMaps({\n latitude,\n longitude,\n zoomLevel,\n animate,\n zoomSnap,\n metaWheelZoom,\n twoFingerDrag,\n className,\n}: PigeonMapsProps) {\n const [zoom, setZoom] = React.useState(zoomLevel);\n\n return (\n <div className={className}>\n <Map\n defaultCenter={[latitude!, longitude!]}\n zoom={zoom}\n animate={animate}\n zoomSnap={zoomSnap}\n onBoundsChanged={({ zoom }) => {\n setZoom(zoom);\n }}\n metaWheelZoom={metaWheelZoom}\n twoFingerDrag={twoFingerDrag}\n >\n <Marker width={50} anchor={[latitude!, longitude!]} style={{filter:'none'}}/>\n </Map>\n </div>\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport {\n PigeonMaps,\n PigeonMapsMeta\n} from \"./pigeon\";\n\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n if (loader) {\n _registerComponent(PigeonMaps, PigeonMapsMeta);\n }\n}\n\nexport * from \"./pigeon\";"],"names":["ensure","x","undefined","Error","modulePath","PigeonMapsMeta","name","displayName","importName","importPath","providesData","defaultStyles","width","height","props","latitude","type","description","defaultValue","longitude","zoomLevel","animate","zoomSnap","metaWheelZoom","twoFingerDrag","PigeonMaps","className","React","useState","zoom","setZoom","Map","defaultCenter","onBoundsChanged","Marker","anchor","style","filter","registerAll","loader","_registerComponent","Component","defaultMeta","registerComponent"],"mappings":";;;;;;;;;;SAIgBA,MAAM,CAAIC,CAAuB;EAC/C,IAAIA,CAAC,KAAK,IAAI,IAAIA,CAAC,KAAKC,SAAS,EAAE;IACjC;IACA,MAAM,IAAIC,KAAK,uCAAuC;GACvD,MAAM;IACL,OAAOF,CAAC;;AAEZ;AAEA,IAAMG,UAAU,GAAG,kCAAkC;IAgBxCC,cAAc,GAAuC;EAChEC,IAAI,EAAE,YAAY;EAClBC,WAAW,EAAE,aAAa;EAC1BC,UAAU,EAAE,YAAY;EACxBC,UAAU,EAAEL,UAAU;EACtBM,YAAY,EAAE,IAAI;EAClBC,aAAa,EAAE;IACbC,KAAK,EAAE,OAAO;IACdC,MAAM,EAAE;GACT;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE;MACRC,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,UAAU;MACvBU,WAAW,EAAE,UAAU;MACvBC,YAAY,EAAE;KACf;IACDC,SAAS,EAAE;MACTH,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,WAAW;MACxBU,WAAW,EAAE,WAAW;MACxBC,YAAY,EAAE;KACf;IACDE,SAAS,EAAE;MACTJ,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,MAAM;MACnBU,WAAW,EAAE,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,EAAE;MAACC,MAAM,EAAC;;IAAU,CAC1E,CACF;AAEV;;SC1GgBC,WAAW,CAACC,MAG3B;EACC,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkB,CACtBC,SAAY,EACZC,WAAmD;IAEnD,IAAIH,MAAM,EAAE;MACVA,MAAM,CAACI,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;KACjD,MAAM;MACLC,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;;GAE5C;EAED,IAAIH,MAAM,EAAE;IACVC,kBAAkB,CAACf,UAAU,EAAEpB,cAAc,CAAC;;AAElD;;;;;;;"}
1
+ {"version":3,"file":"plasmic-pigeon-maps.cjs.development.js","sources":["../src/pigeon.tsx","../src/index.tsx"],"sourcesContent":["import { CodeComponentMeta } from \"@plasmicapp/host\";\nimport { Map, Marker } from \"pigeon-maps\";\nimport React from \"react\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-pigeon-maps\";\n\ninterface PigeonMapsProps {\n provider?: string;\n latitude?: number;\n longitude?: number;\n zoomLevel?: number;\n width?: number;\n height?: number;\n animate?: boolean;\n zoomSnap?: boolean;\n metaWheelZoom?: boolean;\n twoFingerDrag?: boolean;\n className?: string;\n}\n\nexport const PigeonMapsMeta: CodeComponentMeta<PigeonMapsProps> = {\n name: \"PigeonMaps\",\n displayName: \"Pigeon Maps\",\n importName: \"PigeonMaps\",\n importPath: modulePath,\n providesData: true,\n defaultStyles: {\n width: \"400px\",\n height: \"600px\",\n },\n props: {\n latitude: {\n type: \"number\",\n displayName: \"Latitude\",\n description: \"Latitude\",\n defaultValue: 41.2825125,\n },\n longitude: {\n type: \"number\",\n displayName: \"Longitude\",\n description: \"Longitude\",\n defaultValue: 69.139281,\n },\n zoomLevel: {\n type: \"number\",\n displayName: \"Zoom\",\n description: \"Current zoom level [1...18]\",\n defaultValue: 10,\n },\n animate: {\n type: \"boolean\",\n displayName: \"Animations\",\n description: \"Animations enabled\",\n defaultValue: true,\n },\n zoomSnap: {\n type: \"boolean\",\n displayName: \"Zoom Snap\",\n description:\n \"Snap to discrete zoom increments (14, 15, 16, etc) when scrolling with the mouse or pinching with touch events\",\n defaultValue: true,\n },\n metaWheelZoom: {\n type: \"boolean\",\n displayName: \"Meta Wheel Zoom\",\n description:\n \"Zooming with the mouse wheel only works when you hold down the cmd or ctrl keys\",\n defaultValue: false,\n },\n twoFingerDrag: {\n type: \"boolean\",\n displayName: \"Two Finger Drag\",\n description: \"Moving the map requires touching with two fingers\",\n defaultValue: false,\n },\n },\n};\n\nexport function PigeonMaps({\n latitude,\n longitude,\n zoomLevel,\n animate,\n zoomSnap,\n metaWheelZoom,\n twoFingerDrag,\n className,\n}: PigeonMapsProps) {\n const [zoom, setZoom] = React.useState(zoomLevel);\n\n return (\n <div className={className}>\n <Map\n defaultCenter={[latitude!, longitude!]}\n zoom={zoom}\n animate={animate}\n zoomSnap={zoomSnap}\n onBoundsChanged={({ zoom }) => {\n setZoom(zoom);\n }}\n metaWheelZoom={metaWheelZoom}\n twoFingerDrag={twoFingerDrag}\n >\n <Marker width={50} anchor={[latitude!, longitude!]} style={{filter:'none'}}/>\n </Map>\n </div>\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport {\n PigeonMaps,\n PigeonMapsMeta\n} from \"./pigeon\";\n\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n if (loader) {\n _registerComponent(PigeonMaps, PigeonMapsMeta);\n }\n}\n\nexport * from \"./pigeon\";"],"names":["ensure","x","undefined","Error","modulePath","PigeonMapsMeta","name","displayName","importName","importPath","providesData","defaultStyles","width","height","props","latitude","type","description","defaultValue","longitude","zoomLevel","animate","zoomSnap","metaWheelZoom","twoFingerDrag","PigeonMaps","_ref","className","_React$useState","React","useState","zoom","setZoom","Map","defaultCenter","onBoundsChanged","_ref2","Marker","anchor","style","filter","registerAll","loader","_registerComponent","Component","defaultMeta","registerComponent"],"mappings":";;;;;;;;;;SAIgBA,MAAMA,CAAIC,CAAuB;EAC/C,IAAIA,CAAC,KAAK,IAAI,IAAIA,CAAC,KAAKC,SAAS,EAAE;IACjC;IACA,MAAM,IAAIC,KAAK,sCAAsC,CAAC;GACvD,MAAM;IACL,OAAOF,CAAC;;AAEZ;AAEA,IAAMG,UAAU,GAAG,kCAAkC;IAgBxCC,cAAc,GAAuC;EAChEC,IAAI,EAAE,YAAY;EAClBC,WAAW,EAAE,aAAa;EAC1BC,UAAU,EAAE,YAAY;EACxBC,UAAU,EAAEL,UAAU;EACtBM,YAAY,EAAE,IAAI;EAClBC,aAAa,EAAE;IACbC,KAAK,EAAE,OAAO;IACdC,MAAM,EAAE;GACT;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE;MACRC,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,UAAU;MACvBU,WAAW,EAAE,UAAU;MACvBC,YAAY,EAAE;KACf;IACDC,SAAS,EAAE;MACTH,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,WAAW;MACxBU,WAAW,EAAE,WAAW;MACxBC,YAAY,EAAE;KACf;IACDE,SAAS,EAAE;MACTJ,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,MAAM;MACnBU,WAAW,EAAE,6BAA6B;MAC1CC,YAAY,EAAE;KACf;IACDG,OAAO,EAAE;MACPL,IAAI,EAAE,SAAS;MACfT,WAAW,EAAE,YAAY;MACzBU,WAAW,EAAE,oBAAoB;MACjCC,YAAY,EAA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EAAE,CAACvB,QAAS,EAAEI,SAAU,CAAC;IAAGoB,KAAK,EAAE;MAACC,MAAM,EAAC;;IAAU,CAC1E,CACF;AAEV;;SC1GgBC,WAAWA,CAACC,MAG3B;EACC,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CACtBC,SAAY,EACZC,WAAmD;IAEnD,IAAIH,MAAM,EAAE;MACVA,MAAM,CAACI,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;KACjD,MAAM;MACLC,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;;GAE5C;EAED,IAAIH,MAAM,EAAE;IACVC,kBAAkB,CAAClB,UAAU,EAAEpB,cAAc,CAAC;;AAElD;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"plasmic-pigeon-maps.cjs.production.min.js","sources":["../src/pigeon.tsx","../src/index.tsx"],"sourcesContent":["import { CodeComponentMeta } from \"@plasmicapp/host\";\nimport { Map, Marker } from \"pigeon-maps\";\nimport React from \"react\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-pigeon-maps\";\n\ninterface PigeonMapsProps {\n provider?: string;\n latitude?: number;\n longitude?: number;\n zoomLevel?: number;\n width?: number;\n height?: number;\n animate?: boolean;\n zoomSnap?: boolean;\n metaWheelZoom?: boolean;\n twoFingerDrag?: boolean;\n className?: string;\n}\n\nexport const PigeonMapsMeta: CodeComponentMeta<PigeonMapsProps> = {\n name: \"PigeonMaps\",\n displayName: \"Pigeon Maps\",\n importName: \"PigeonMaps\",\n importPath: modulePath,\n providesData: true,\n defaultStyles: {\n width: \"400px\",\n height: \"600px\",\n },\n props: {\n latitude: {\n type: \"number\",\n displayName: \"Latitude\",\n description: \"Latitude\",\n defaultValue: 41.2825125,\n },\n longitude: {\n type: \"number\",\n displayName: \"Longitude\",\n description: \"Longitude\",\n defaultValue: 69.139281,\n },\n zoomLevel: {\n type: \"number\",\n displayName: \"Zoom\",\n description: \"Current zoom level [1...18]\",\n defaultValue: 10,\n },\n animate: {\n type: \"boolean\",\n displayName: \"Animations\",\n description: \"Animations enabled\",\n defaultValue: true,\n },\n zoomSnap: {\n type: \"boolean\",\n displayName: \"Zoom Snap\",\n description:\n \"Snap to discrete zoom increments (14, 15, 16, etc) when scrolling with the mouse or pinching with touch events\",\n defaultValue: true,\n },\n metaWheelZoom: {\n type: \"boolean\",\n displayName: \"Meta Wheel Zoom\",\n description:\n \"Zooming with the mouse wheel only works when you hold down the cmd or ctrl keys\",\n defaultValue: false,\n },\n twoFingerDrag: {\n type: \"boolean\",\n displayName: \"Two Finger Drag\",\n description: \"Moving the map requires touching with two fingers\",\n defaultValue: false,\n },\n },\n};\n\nexport function PigeonMaps({\n latitude,\n longitude,\n zoomLevel,\n animate,\n zoomSnap,\n metaWheelZoom,\n twoFingerDrag,\n className,\n}: PigeonMapsProps) {\n const [zoom, setZoom] = React.useState(zoomLevel);\n\n return (\n <div className={className}>\n <Map\n defaultCenter={[latitude!, longitude!]}\n zoom={zoom}\n animate={animate}\n zoomSnap={zoomSnap}\n onBoundsChanged={({ zoom }) => {\n setZoom(zoom);\n }}\n metaWheelZoom={metaWheelZoom}\n twoFingerDrag={twoFingerDrag}\n >\n <Marker width={50} anchor={[latitude!, longitude!]} style={{filter:'none'}}/>\n </Map>\n </div>\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport {\n PigeonMaps,\n PigeonMapsMeta\n} from \"./pigeon\";\n\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n if (loader) {\n _registerComponent(PigeonMaps, PigeonMapsMeta);\n }\n}\n\nexport * from \"./pigeon\";"],"names":["PigeonMapsMeta","name","displayName","importName","importPath","providesData","defaultStyles","width","height","props","latitude","type","description","defaultValue","longitude","zoomLevel","animate","zoomSnap","metaWheelZoom","twoFingerDrag","PigeonMaps","className","React","useState","setZoom","Map","defaultCenter","zoom","onBoundsChanged","Marker","anchor","style","filter","x","Error","loader","Component","defaultMeta","registerComponent"],"mappings":"gPA6BaA,EAAqD,CAChEC,KAAM,aACNC,YAAa,cACbC,WAAY,aACZC,WApBiB,mCAqBjBC,cAAc,EACdC,cAAe,CACbC,MAAO,QACPC,OAAQ,SAEVC,MAAO,CACLC,SAAU,CACRC,KAAM,SACNT,YAAa,WACbU,YAAa,WACbC,aAAc,YAEhBC,UAAW,CACTH,KAAM,SACNT,YAAa,YACbU,YAAa,YACbC,aAAc,WAEhBE,UAAW,CACTJ,KAAM,SACNT,YAAa,OACbU,YAAa,8BACbC,aAAc,IAEhBG,QAAS,CACPL,KAAM,UACNT,YAAa,aACbU,YAAa,qBACbC,cAAc,GAEhBI,SAAU,CACRN,KAAM,UACNT,YAAa,YACbU,YACE,iHACFC,cAAc,GAEhBK,cAAe,CACbP,KAAM,UACNT,YAAa,kBACbU,YACE,kFACFC,cAAc,GAEhBM,cAAe,CACbR,KAAM,UACNT,YAAa,kBACbU,YAAa,oDACbC,cAAc,cAKJO,SACdV,IAAAA,SACAI,IAAAA,UAEAE,IAAAA,QACAC,IAAAA,SACAC,IAAAA,cACAC,IAAAA,cACAE,IAAAA,YAEwBC,EAAMC,WAP9BR,WAOaS,OAEb,OACEF,uBAAKD,UAAWA,GACdC,gBAACG,OACCC,cAAe,CAAChB,EAAWI,GAC3Ba,UACAX,QAASA,EACTC,SAAUA,EACVW,gBAAiB,YACfJ,IADkBG,OAGpBT,cAAeA,EACfC,cAAeA,GAEfG,gBAACO,UAAOtB,MAAO,GAAIuB,OAAQ,CAACpB,EAAWI,GAAciB,MAAO,CAACC,OAAO,kFA5GlDC,GACxB,GAAIA,MAAAA,EAEF,MAAM,IAAIC,6CAEV,OAAOD,gCCCiBE,GAI1B,IACEC,EACAC,EASEF,IAVFC,EAWmBhB,EAVnBiB,EAU+BrC,EAR3BmC,EACFA,EAAOG,kBAAkBF,EAAWC,GAEpCC,EAAkBF,EAAWC"}
1
+ {"version":3,"file":"plasmic-pigeon-maps.cjs.production.min.js","sources":["../src/pigeon.tsx","../src/index.tsx"],"sourcesContent":["import { CodeComponentMeta } from \"@plasmicapp/host\";\nimport { Map, Marker } from \"pigeon-maps\";\nimport React from \"react\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-pigeon-maps\";\n\ninterface PigeonMapsProps {\n provider?: string;\n latitude?: number;\n longitude?: number;\n zoomLevel?: number;\n width?: number;\n height?: number;\n animate?: boolean;\n zoomSnap?: boolean;\n metaWheelZoom?: boolean;\n twoFingerDrag?: boolean;\n className?: string;\n}\n\nexport const PigeonMapsMeta: CodeComponentMeta<PigeonMapsProps> = {\n name: \"PigeonMaps\",\n displayName: \"Pigeon Maps\",\n importName: \"PigeonMaps\",\n importPath: modulePath,\n providesData: true,\n defaultStyles: {\n width: \"400px\",\n height: \"600px\",\n },\n props: {\n latitude: {\n type: \"number\",\n displayName: \"Latitude\",\n description: \"Latitude\",\n defaultValue: 41.2825125,\n },\n longitude: {\n type: \"number\",\n displayName: \"Longitude\",\n description: \"Longitude\",\n defaultValue: 69.139281,\n },\n zoomLevel: {\n type: \"number\",\n displayName: \"Zoom\",\n description: \"Current zoom level [1...18]\",\n defaultValue: 10,\n },\n animate: {\n type: \"boolean\",\n displayName: \"Animations\",\n description: \"Animations enabled\",\n defaultValue: true,\n },\n zoomSnap: {\n type: \"boolean\",\n displayName: \"Zoom Snap\",\n description:\n \"Snap to discrete zoom increments (14, 15, 16, etc) when scrolling with the mouse or pinching with touch events\",\n defaultValue: true,\n },\n metaWheelZoom: {\n type: \"boolean\",\n displayName: \"Meta Wheel Zoom\",\n description:\n \"Zooming with the mouse wheel only works when you hold down the cmd or ctrl keys\",\n defaultValue: false,\n },\n twoFingerDrag: {\n type: \"boolean\",\n displayName: \"Two Finger Drag\",\n description: \"Moving the map requires touching with two fingers\",\n defaultValue: false,\n },\n },\n};\n\nexport function PigeonMaps({\n latitude,\n longitude,\n zoomLevel,\n animate,\n zoomSnap,\n metaWheelZoom,\n twoFingerDrag,\n className,\n}: PigeonMapsProps) {\n const [zoom, setZoom] = React.useState(zoomLevel);\n\n return (\n <div className={className}>\n <Map\n defaultCenter={[latitude!, longitude!]}\n zoom={zoom}\n animate={animate}\n zoomSnap={zoomSnap}\n onBoundsChanged={({ zoom }) => {\n setZoom(zoom);\n }}\n metaWheelZoom={metaWheelZoom}\n twoFingerDrag={twoFingerDrag}\n >\n <Marker width={50} anchor={[latitude!, longitude!]} style={{filter:'none'}}/>\n </Map>\n </div>\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport {\n PigeonMaps,\n PigeonMapsMeta\n} from \"./pigeon\";\n\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n if (loader) {\n _registerComponent(PigeonMaps, PigeonMapsMeta);\n }\n}\n\nexport * from \"./pigeon\";"],"names":["PigeonMapsMeta","name","displayName","importName","importPath","providesData","defaultStyles","width","height","props","latitude","type","description","defaultValue","longitude","zoomLevel","animate","zoomSnap","metaWheelZoom","twoFingerDrag","PigeonMaps","_ref","className","_React$useState","React","useState","setZoom","Map","defaultCenter","zoom","onBoundsChanged","_ref2","Marker","anchor","style","filter","x","Error","loader","Component","defaultMeta","registerComponent"],"mappings":"gPA6BaA,EAAqD,CAChEC,KAAM,aACNC,YAAa,cACbC,WAAY,aACZC,WApBiB,mCAqBjBC,cAAc,EACdC,cAAe,CACbC,MAAO,QACPC,OAAQ,SAEVC,MAAO,CACLC,SAAU,CACRC,KAAM,SACNT,YAAa,WACbU,YAAa,WACbC,aAAc,YAEhBC,UAAW,CACTH,KAAM,SACNT,YAAa,YACbU,YAAa,YACbC,aAAc,WAEhBE,UAAW,CACTJ,KAAM,SACNT,YAAa,OACbU,YAAa,8BACbC,aAAc,IAEhBG,QAAS,CACPL,KAAM,UACNT,YAAa,aACbU,YAAa,qBACbC,cAAc,GAEhBI,SAAU,CACRN,KAAM,UACNT,YAAa,YACbU,YACE,iHACFC,cAAc,GAEhBK,cAAe,CACbP,KAAM,UACNT,YAAa,kBACbU,YACE,kFACFC,cAAc,GAEhBM,cAAe,CACbR,KAAM,UACNT,YAAa,kBACbU,YAAa,oDACbC,cAAc,cAKJO,EAAUC,OACxBX,EAAQW,EAARX,SACAI,EAASO,EAATP,UAEAE,EAAOK,EAAPL,QACAC,EAAQI,EAARJ,SACAC,EAAaG,EAAbH,cACAC,EAAaE,EAAbF,cACAG,EAASD,EAATC,UAEAC,EAAwBC,EAAMC,SAPrBJ,EAATN,WAOaW,EAAOH,KAEpB,OACEC,uBAAKF,UAAWA,GACdE,gBAACG,OACCC,cAAe,CAAClB,EAAWI,GAC3Be,KANKN,KAOLP,QAASA,EACTC,SAAUA,EACVa,gBAAiB,SAAAC,GACfL,EADsBK,EAAJF,OAGpBX,cAAeA,EACfC,cAAeA,GAEfK,gBAACQ,UAAOzB,MAAO,GAAI0B,OAAQ,CAACvB,EAAWI,GAAcoB,MAAO,CAACC,OAAO,kFA5GlDC,GACxB,GAAIA,MAAAA,EAEF,MAAM,IAAIC,6CAEV,OAAOD,gCCCiBE,GAI1B,IACEC,EACAC,EASEF,IAVFC,EAWmBnB,EAVnBoB,EAU+BxC,EAR3BsC,EACFA,EAAOG,kBAAkBF,EAAWC,GAEpCC,EAAkBF,EAAWC"}
@@ -1 +1 @@
1
- {"version":3,"file":"plasmic-pigeon-maps.esm.js","sources":["../src/pigeon.tsx","../src/index.tsx"],"sourcesContent":["import { CodeComponentMeta } from \"@plasmicapp/host\";\nimport { Map, Marker } from \"pigeon-maps\";\nimport React from \"react\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-pigeon-maps\";\n\ninterface PigeonMapsProps {\n provider?: string;\n latitude?: number;\n longitude?: number;\n zoomLevel?: number;\n width?: number;\n height?: number;\n animate?: boolean;\n zoomSnap?: boolean;\n metaWheelZoom?: boolean;\n twoFingerDrag?: boolean;\n className?: string;\n}\n\nexport const PigeonMapsMeta: CodeComponentMeta<PigeonMapsProps> = {\n name: \"PigeonMaps\",\n displayName: \"Pigeon Maps\",\n importName: \"PigeonMaps\",\n importPath: modulePath,\n providesData: true,\n defaultStyles: {\n width: \"400px\",\n height: \"600px\",\n },\n props: {\n latitude: {\n type: \"number\",\n displayName: \"Latitude\",\n description: \"Latitude\",\n defaultValue: 41.2825125,\n },\n longitude: {\n type: \"number\",\n displayName: \"Longitude\",\n description: \"Longitude\",\n defaultValue: 69.139281,\n },\n zoomLevel: {\n type: \"number\",\n displayName: \"Zoom\",\n description: \"Current zoom level [1...18]\",\n defaultValue: 10,\n },\n animate: {\n type: \"boolean\",\n displayName: \"Animations\",\n description: \"Animations enabled\",\n defaultValue: true,\n },\n zoomSnap: {\n type: \"boolean\",\n displayName: \"Zoom Snap\",\n description:\n \"Snap to discrete zoom increments (14, 15, 16, etc) when scrolling with the mouse or pinching with touch events\",\n defaultValue: true,\n },\n metaWheelZoom: {\n type: \"boolean\",\n displayName: \"Meta Wheel Zoom\",\n description:\n \"Zooming with the mouse wheel only works when you hold down the cmd or ctrl keys\",\n defaultValue: false,\n },\n twoFingerDrag: {\n type: \"boolean\",\n displayName: \"Two Finger Drag\",\n description: \"Moving the map requires touching with two fingers\",\n defaultValue: false,\n },\n },\n};\n\nexport function PigeonMaps({\n latitude,\n longitude,\n zoomLevel,\n animate,\n zoomSnap,\n metaWheelZoom,\n twoFingerDrag,\n className,\n}: PigeonMapsProps) {\n const [zoom, setZoom] = React.useState(zoomLevel);\n\n return (\n <div className={className}>\n <Map\n defaultCenter={[latitude!, longitude!]}\n zoom={zoom}\n animate={animate}\n zoomSnap={zoomSnap}\n onBoundsChanged={({ zoom }) => {\n setZoom(zoom);\n }}\n metaWheelZoom={metaWheelZoom}\n twoFingerDrag={twoFingerDrag}\n >\n <Marker width={50} anchor={[latitude!, longitude!]} style={{filter:'none'}}/>\n </Map>\n </div>\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport {\n PigeonMaps,\n PigeonMapsMeta\n} from \"./pigeon\";\n\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n if (loader) {\n _registerComponent(PigeonMaps, PigeonMapsMeta);\n }\n}\n\nexport * from \"./pigeon\";"],"names":["ensure","x","undefined","Error","modulePath","PigeonMapsMeta","name","displayName","importName","importPath","providesData","defaultStyles","width","height","props","latitude","type","description","defaultValue","longitude","zoomLevel","animate","zoomSnap","metaWheelZoom","twoFingerDrag","PigeonMaps","className","React","useState","zoom","setZoom","Map","defaultCenter","onBoundsChanged","Marker","anchor","style","filter","registerAll","loader","_registerComponent","Component","defaultMeta","registerComponent"],"mappings":";;;;SAIgBA,MAAM,CAAIC,CAAuB;EAC/C,IAAIA,CAAC,KAAK,IAAI,IAAIA,CAAC,KAAKC,SAAS,EAAE;IACjC;IACA,MAAM,IAAIC,KAAK,uCAAuC;GACvD,MAAM;IACL,OAAOF,CAAC;;AAEZ;AAEA,IAAMG,UAAU,GAAG,kCAAkC;IAgBxCC,cAAc,GAAuC;EAChEC,IAAI,EAAE,YAAY;EAClBC,WAAW,EAAE,aAAa;EAC1BC,UAAU,EAAE,YAAY;EACxBC,UAAU,EAAEL,UAAU;EACtBM,YAAY,EAAE,IAAI;EAClBC,aAAa,EAAE;IACbC,KAAK,EAAE,OAAO;IACdC,MAAM,EAAE;GACT;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE;MACRC,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,UAAU;MACvBU,WAAW,EAAE,UAAU;MACvBC,YAAY,EAAE;KACf;IACDC,SAAS,EAAE;MACTH,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,WAAW;MACxBU,WAAW,EAAE,WAAW;MACxBC,YAAY,EAAE;KACf;IACDE,SAAS,EAAE;MACTJ,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,MAAM;MACnBU,WAAW,EAAE,6BAA6B;MAC1CC,YAAY,EAAE;KACf;IACDG,OAAO,EAAE;MACPL,IAAI,EAAE,SAAS;MACfT,WAAW,EAAE,YAAY;MACzBU,WAAW,EAAE,oBAAoB;MACjCC,YAAY,EAAE;KACf;IACDI,QAAQ,EAAE;MACRN,IAAI,EAAE,SAAS;MACfT,WAAW,EAAE,WAAW;MACxBU,WAAW,EACT,gHAAgH;MAClHC,YAAY,EAAE;KACf;IACDK,aAAa,EAAE;MACbP,IAAI,EAAE,SAAS;MACfT,WAAW,EAAE,iBAAiB;MAC9BU,WAAW,EACT,iFAAiF;MACnFC,YAAY,EAAE;KACf;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"version":3,"file":"plasmic-pigeon-maps.esm.js","sources":["../src/pigeon.tsx","../src/index.tsx"],"sourcesContent":["import { CodeComponentMeta } from \"@plasmicapp/host\";\nimport { Map, Marker } from \"pigeon-maps\";\nimport React from \"react\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-pigeon-maps\";\n\ninterface PigeonMapsProps {\n provider?: string;\n latitude?: number;\n longitude?: number;\n zoomLevel?: number;\n width?: number;\n height?: number;\n animate?: boolean;\n zoomSnap?: boolean;\n metaWheelZoom?: boolean;\n twoFingerDrag?: boolean;\n className?: string;\n}\n\nexport const PigeonMapsMeta: CodeComponentMeta<PigeonMapsProps> = {\n name: \"PigeonMaps\",\n displayName: \"Pigeon Maps\",\n importName: \"PigeonMaps\",\n importPath: modulePath,\n providesData: true,\n defaultStyles: {\n width: \"400px\",\n height: \"600px\",\n },\n props: {\n latitude: {\n type: \"number\",\n displayName: \"Latitude\",\n description: \"Latitude\",\n defaultValue: 41.2825125,\n },\n longitude: {\n type: \"number\",\n displayName: \"Longitude\",\n description: \"Longitude\",\n defaultValue: 69.139281,\n },\n zoomLevel: {\n type: \"number\",\n displayName: \"Zoom\",\n description: \"Current zoom level [1...18]\",\n defaultValue: 10,\n },\n animate: {\n type: \"boolean\",\n displayName: \"Animations\",\n description: \"Animations enabled\",\n defaultValue: true,\n },\n zoomSnap: {\n type: \"boolean\",\n displayName: \"Zoom Snap\",\n description:\n \"Snap to discrete zoom increments (14, 15, 16, etc) when scrolling with the mouse or pinching with touch events\",\n defaultValue: true,\n },\n metaWheelZoom: {\n type: \"boolean\",\n displayName: \"Meta Wheel Zoom\",\n description:\n \"Zooming with the mouse wheel only works when you hold down the cmd or ctrl keys\",\n defaultValue: false,\n },\n twoFingerDrag: {\n type: \"boolean\",\n displayName: \"Two Finger Drag\",\n description: \"Moving the map requires touching with two fingers\",\n defaultValue: false,\n },\n },\n};\n\nexport function PigeonMaps({\n latitude,\n longitude,\n zoomLevel,\n animate,\n zoomSnap,\n metaWheelZoom,\n twoFingerDrag,\n className,\n}: PigeonMapsProps) {\n const [zoom, setZoom] = React.useState(zoomLevel);\n\n return (\n <div className={className}>\n <Map\n defaultCenter={[latitude!, longitude!]}\n zoom={zoom}\n animate={animate}\n zoomSnap={zoomSnap}\n onBoundsChanged={({ zoom }) => {\n setZoom(zoom);\n }}\n metaWheelZoom={metaWheelZoom}\n twoFingerDrag={twoFingerDrag}\n >\n <Marker width={50} anchor={[latitude!, longitude!]} style={{filter:'none'}}/>\n </Map>\n </div>\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport {\n PigeonMaps,\n PigeonMapsMeta\n} from \"./pigeon\";\n\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n if (loader) {\n _registerComponent(PigeonMaps, PigeonMapsMeta);\n }\n}\n\nexport * from \"./pigeon\";"],"names":["ensure","x","undefined","Error","modulePath","PigeonMapsMeta","name","displayName","importName","importPath","providesData","defaultStyles","width","height","props","latitude","type","description","defaultValue","longitude","zoomLevel","animate","zoomSnap","metaWheelZoom","twoFingerDrag","PigeonMaps","_ref","className","_React$useState","React","useState","zoom","setZoom","Map","defaultCenter","onBoundsChanged","_ref2","Marker","anchor","style","filter","registerAll","loader","_registerComponent","Component","defaultMeta","registerComponent"],"mappings":";;;;SAIgBA,MAAMA,CAAIC,CAAuB;EAC/C,IAAIA,CAAC,KAAK,IAAI,IAAIA,CAAC,KAAKC,SAAS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AAEpB,cAAc,CAAC;;AAElD;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/plasmic-pigeon-maps",
3
- "version": "0.0.1",
4
- "description": "Plasmic Pigeon Maps components.",
3
+ "version": "0.0.2",
4
+ "description": "Plasmic Pigeon maps components.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
7
7
  "module": "dist/plasmic-pigeon-maps.esm.js",
@@ -34,20 +34,22 @@
34
34
  }
35
35
  ],
36
36
  "devDependencies": {
37
- "@plasmicapp/host": "^1.0.117",
38
- "@plasmicapp/query": "^0.1.61",
37
+ "@plasmicapp/host": "^1.0.159",
39
38
  "@size-limit/preset-small-lib": "^7.0.8",
40
- "@types/react": "^17.0.43",
41
- "@types/react-dom": "^17.0.14",
39
+ "@types/dlv": "^1.1.2",
40
+ "@types/react": "^18.0.27",
41
+ "@types/react-dom": "^18.0.10",
42
42
  "husky": "^7.0.4",
43
- "react": "^18.0.0",
44
- "react-dom": "^18.0.0",
43
+ "react": "^18.2.0",
44
+ "react-dom": "^18.2.0",
45
45
  "size-limit": "^7.0.8",
46
46
  "tsdx": "^0.14.1",
47
47
  "tslib": "^2.3.1"
48
48
  },
49
49
  "dependencies": {
50
+ "change-case": "^4.1.2",
51
+ "dlv": "^1.1.3",
50
52
  "pigeon-maps": "^0.21.3"
51
53
  },
52
- "gitHead": "6a7364c3fd0b59099a5869f3e99f13b51a391d0a"
54
+ "gitHead": "eec0bb593552cfbd93473c0cb605c116a9796ed7"
53
55
  }