@plasmicpkgs/plasmic-google-maps 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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Latipov Abdukhamid
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ Plasmic components and registration for Google Maps
@@ -0,0 +1,10 @@
1
+ import { ComponentMeta } from "@plasmicapp/host";
2
+ import React from "react";
3
+ export declare function ensure<T>(x: T | null | undefined): T;
4
+ interface GoogleMapsProps {
5
+ className?: string;
6
+ coordinates?: string;
7
+ }
8
+ export declare const GoogleMapsMeta: ComponentMeta<GoogleMapsProps>;
9
+ export declare function GoogleMaps({ coordinates, className }: GoogleMapsProps): React.JSX.Element;
10
+ export {};
@@ -0,0 +1,5 @@
1
+ import registerComponent from "@plasmicapp/host/registerComponent";
2
+ export declare function registerAll(loader?: {
3
+ registerComponent: typeof registerComponent;
4
+ }): void;
5
+ export * from "./google-maps";
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+
2
+ 'use strict'
3
+
4
+ if (process.env.NODE_ENV === 'production') {
5
+ module.exports = require('./plasmic-google-maps.cjs.production.min.js')
6
+ } else {
7
+ module.exports = require('./plasmic-google-maps.cjs.development.js')
8
+ }
@@ -0,0 +1,75 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
+
7
+ var registerComponent = _interopDefault(require('@plasmicapp/host/registerComponent'));
8
+ var React = _interopDefault(require('react'));
9
+
10
+ function ensure(x) {
11
+ if (x === null || x === undefined) {
12
+ debugger;
13
+ throw new Error("Value must not be undefined or null");
14
+ } else {
15
+ return x;
16
+ }
17
+ }
18
+ var modulePath = "@plasmicpkgs/plasmic-google-maps";
19
+ var GoogleMapsMeta = {
20
+ name: "GoogleMaps",
21
+ displayName: "Google Maps ",
22
+ importName: "GoogleMaps",
23
+ importPath: modulePath,
24
+ providesData: true,
25
+ description: "Shows Google Maps",
26
+ defaultStyles: {
27
+ maxWidth: "100%"
28
+ },
29
+ props: {
30
+ coordinates: {
31
+ type: "string",
32
+ displayName: "Coordinates",
33
+ description: "The latitude, longitude of the map location.Learn how to get latitude and longitude (\"https://support.google.com/maps/answer/18539\")",
34
+ defaultValue: "51.51634532635064, -0.1332152112055726",
35
+ helpText: "You can get latitude and longitude of your location from this website (\"https://www.gps-coordinates.net/\")"
36
+ }
37
+ }
38
+ };
39
+ function GoogleMaps(_ref) {
40
+ var coordinates = _ref.coordinates,
41
+ className = _ref.className;
42
+ if (!coordinates) {
43
+ return React.createElement("div", null, "Please enter your coordinates");
44
+ }
45
+ var query = "https://maps.google.com/maps?q=" + coordinates + "&t=&z=13&ie=UTF8&iwloc=&output=embed";
46
+ return React.createElement("iframe", {
47
+ title: "google",
48
+ width: "100%",
49
+ height: "600",
50
+ id: "gmap_canvas",
51
+ src: query,
52
+ className: className,
53
+ frameBorder: "0",
54
+ marginHeight: 0,
55
+ marginWidth: 0,
56
+ scrolling: "no"
57
+ });
58
+ }
59
+
60
+ function registerAll(loader) {
61
+ var _registerComponent = function _registerComponent(Component, defaultMeta) {
62
+ if (loader) {
63
+ loader.registerComponent(Component, defaultMeta);
64
+ } else {
65
+ registerComponent(Component, defaultMeta);
66
+ }
67
+ };
68
+ _registerComponent(GoogleMaps, GoogleMapsMeta);
69
+ }
70
+
71
+ exports.GoogleMaps = GoogleMaps;
72
+ exports.GoogleMapsMeta = GoogleMapsMeta;
73
+ exports.ensure = ensure;
74
+ exports.registerAll = registerAll;
75
+ //# sourceMappingURL=plasmic-google-maps.cjs.development.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plasmic-google-maps.cjs.development.js","sources":["../src/google-maps.tsx","../src/index.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\n\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-google-maps\";\n\ninterface GoogleMapsProps {\n className?: string;\n coordinates?: string;\n}\n\nexport const GoogleMapsMeta: ComponentMeta<GoogleMapsProps> = {\n name: \"GoogleMaps\",\n displayName: \"Google Maps \",\n importName: \"GoogleMaps\",\n importPath: modulePath,\n providesData: true,\n description: \"Shows Google Maps\",\n defaultStyles: {\n maxWidth: \"100%\",\n },\n props: {\n coordinates: {\n type: \"string\",\n displayName: \"Coordinates\",\n description: `The latitude, longitude of the map location.Learn how to get latitude and longitude (\"https://support.google.com/maps/answer/18539\")`,\n defaultValue: \"51.51634532635064, -0.1332152112055726\",\n helpText:`You can get latitude and longitude of your location from this website (\"https://www.gps-coordinates.net/\")`\n },\n },\n};\n\nexport function GoogleMaps({ coordinates, className }: GoogleMapsProps) {\n if (!coordinates) {\n return <div>Please enter your coordinates</div>;\n }\n const query = `https://maps.google.com/maps?q=${coordinates}&t=&z=13&ie=UTF8&iwloc=&output=embed`;\n\n return (\n <iframe\n title=\"google\"\n width=\"100%\"\n height=\"600\"\n id=\"gmap_canvas\"\n src={query}\n className={className}\n frameBorder=\"0\"\n marginHeight={0}\n marginWidth={0}\n scrolling=\"no\"\n />\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\n\nimport { GoogleMaps, GoogleMapsMeta } from \"./google-maps\";\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\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 _registerComponent(GoogleMaps, GoogleMapsMeta);\n}\n\nexport * from \"./google-maps\";\n"],"names":["ensure","x","undefined","Error","modulePath","GoogleMapsMeta","name","displayName","importName","importPath","providesData","description","defaultStyles","maxWidth","props","coordinates","type","defaultValue","helpText","GoogleMaps","className","React","query","title","width","height","id","src","frameBorder","marginHeight","marginWidth","scrolling","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;IAOxCC,cAAc,GAAmC;EAC5DC,IAAI,EAAE,YAAY;EAClBC,WAAW,EAAE,cAAc;EAC3BC,UAAU,EAAE,YAAY;EACxBC,UAAU,EAAEL,UAAU;EACtBM,YAAY,EAAE,IAAI;EAClBC,WAAW,EAAE,mBAAmB;EAChCC,aAAa,EAAE;IACbC,QAAQ,EAAE;GACX;EACDC,KAAK,EAAE;IACLC,WAAW,EAAE;MACXC,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,aAAa;MAC1BI,WAAW,0IAAwI;MACnJM,YAAY,EAAE,wCAAwC;MACtDC,QAAQ;;;;SAKEC,UAAU;MAAGJ,WAAW,QAAXA,WAAW;IAAEK,SAAS,QAATA,SAAS;EACjD,IAAI,CAACL,WAAW,EAAE;IAChB,OAAOM,iEAAwC;;EAEjD,IAAMC,KAAK,uCAAqCP,WAAW,yCAAsC;EAEjG,OACEM;IACEE,KAAK,EAAC,QAAQ;IACdC,KAAK,EAAC,MAAM;IACZC,MAAM,EAAC,KAAK;IACZC,EAAE,EAAC,aAAa;IAChBC,GAAG,EAAEL,KAAK;IACVF,SAAS,EAAEA,SAAS;IACpBQ,WAAW,EAAC,GAAG;IACfC,YAAY,EAAE,CAAC;IACfC,WAAW,EAAE,CAAC;IACdC,SAAS,EAAC;IACV;AAEN;;SCvDgBC,WAAW,CAACC,MAE3B;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;EAEDF,kBAAkB,CAACf,UAAU,EAAEd,cAAc,CAAC;AAChD;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("@plasmicapp/host/registerComponent")),o=e(require("react")),a={name:"GoogleMaps",displayName:"Google Maps ",importName:"GoogleMaps",importPath:"@plasmicpkgs/plasmic-google-maps",providesData:!0,description:"Shows Google Maps",defaultStyles:{maxWidth:"100%"},props:{coordinates:{type:"string",displayName:"Coordinates",description:'The latitude, longitude of the map location.Learn how to get latitude and longitude ("https://support.google.com/maps/answer/18539")',defaultValue:"51.51634532635064, -0.1332152112055726",helpText:'You can get latitude and longitude of your location from this website ("https://www.gps-coordinates.net/")'}}};function r(e){var t=e.coordinates;return t?o.createElement("iframe",{title:"google",width:"100%",height:"600",id:"gmap_canvas",src:"https://maps.google.com/maps?q="+t+"&t=&z=13&ie=UTF8&iwloc=&output=embed",className:e.className,frameBorder:"0",marginHeight:0,marginWidth:0,scrolling:"no"}):o.createElement("div",null,"Please enter your coordinates")}exports.GoogleMaps=r,exports.GoogleMapsMeta=a,exports.ensure=function(e){if(null==e)throw new Error("Value must not be undefined or null");return e},exports.registerAll=function(e){var o,s;o=r,s=a,e?e.registerComponent(o,s):t(o,s)};
2
+ //# sourceMappingURL=plasmic-google-maps.cjs.production.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plasmic-google-maps.cjs.production.min.js","sources":["../src/google-maps.tsx","../src/index.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\n\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-google-maps\";\n\ninterface GoogleMapsProps {\n className?: string;\n coordinates?: string;\n}\n\nexport const GoogleMapsMeta: ComponentMeta<GoogleMapsProps> = {\n name: \"GoogleMaps\",\n displayName: \"Google Maps \",\n importName: \"GoogleMaps\",\n importPath: modulePath,\n providesData: true,\n description: \"Shows Google Maps\",\n defaultStyles: {\n maxWidth: \"100%\",\n },\n props: {\n coordinates: {\n type: \"string\",\n displayName: \"Coordinates\",\n description: `The latitude, longitude of the map location.Learn how to get latitude and longitude (\"https://support.google.com/maps/answer/18539\")`,\n defaultValue: \"51.51634532635064, -0.1332152112055726\",\n helpText:`You can get latitude and longitude of your location from this website (\"https://www.gps-coordinates.net/\")`\n },\n },\n};\n\nexport function GoogleMaps({ coordinates, className }: GoogleMapsProps) {\n if (!coordinates) {\n return <div>Please enter your coordinates</div>;\n }\n const query = `https://maps.google.com/maps?q=${coordinates}&t=&z=13&ie=UTF8&iwloc=&output=embed`;\n\n return (\n <iframe\n title=\"google\"\n width=\"100%\"\n height=\"600\"\n id=\"gmap_canvas\"\n src={query}\n className={className}\n frameBorder=\"0\"\n marginHeight={0}\n marginWidth={0}\n scrolling=\"no\"\n />\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\n\nimport { GoogleMaps, GoogleMapsMeta } from \"./google-maps\";\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\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 _registerComponent(GoogleMaps, GoogleMapsMeta);\n}\n\nexport * from \"./google-maps\";\n"],"names":["GoogleMapsMeta","name","displayName","importName","importPath","providesData","description","defaultStyles","maxWidth","props","coordinates","type","defaultValue","helpText","GoogleMaps","React","title","width","height","id","src","className","frameBorder","marginHeight","marginWidth","scrolling","x","Error","loader","Component","defaultMeta","registerComponent"],"mappings":"uNAoBaA,EAAiD,CAC5DC,KAAM,aACNC,YAAa,eACbC,WAAY,aACZC,WAXiB,mCAYjBC,cAAc,EACdC,YAAa,oBACbC,cAAe,CACbC,SAAU,QAEZC,MAAO,CACLC,YAAa,CACXC,KAAM,SACNT,YAAa,cACbI,mJACAM,aAAc,yCACdC,kIAKUC,SAAaJ,IAAAA,YAC3B,OAAKA,EAMHK,0BACEC,MAAM,SACNC,MAAM,OACNC,OAAO,MACPC,GAAG,cACHC,sCAR4CV,yCAS5CW,YAboCA,UAcpCC,YAAY,IACZC,aAAc,EACdC,YAAa,EACbC,UAAU,OAfLV,kIAvCeW,GACxB,GAAIA,MAAAA,EAEF,MAAM,IAAIC,6CAEV,OAAOD,gCCHiBE,GAG1B,IACEC,EACAC,EADAD,EAUiBf,EATjBgB,EAS6B9B,EAPzB4B,EACFA,EAAOG,kBAAkBF,EAAWC,GAEpCC,EAAkBF,EAAWC"}
@@ -0,0 +1,66 @@
1
+ import registerComponent from '@plasmicapp/host/registerComponent';
2
+ import React from 'react';
3
+
4
+ function ensure(x) {
5
+ if (x === null || x === undefined) {
6
+ debugger;
7
+ throw new Error("Value must not be undefined or null");
8
+ } else {
9
+ return x;
10
+ }
11
+ }
12
+ var modulePath = "@plasmicpkgs/plasmic-google-maps";
13
+ var GoogleMapsMeta = {
14
+ name: "GoogleMaps",
15
+ displayName: "Google Maps ",
16
+ importName: "GoogleMaps",
17
+ importPath: modulePath,
18
+ providesData: true,
19
+ description: "Shows Google Maps",
20
+ defaultStyles: {
21
+ maxWidth: "100%"
22
+ },
23
+ props: {
24
+ coordinates: {
25
+ type: "string",
26
+ displayName: "Coordinates",
27
+ description: "The latitude, longitude of the map location.Learn how to get latitude and longitude (\"https://support.google.com/maps/answer/18539\")",
28
+ defaultValue: "51.51634532635064, -0.1332152112055726",
29
+ helpText: "You can get latitude and longitude of your location from this website (\"https://www.gps-coordinates.net/\")"
30
+ }
31
+ }
32
+ };
33
+ function GoogleMaps(_ref) {
34
+ var coordinates = _ref.coordinates,
35
+ className = _ref.className;
36
+ if (!coordinates) {
37
+ return React.createElement("div", null, "Please enter your coordinates");
38
+ }
39
+ var query = "https://maps.google.com/maps?q=" + coordinates + "&t=&z=13&ie=UTF8&iwloc=&output=embed";
40
+ return React.createElement("iframe", {
41
+ title: "google",
42
+ width: "100%",
43
+ height: "600",
44
+ id: "gmap_canvas",
45
+ src: query,
46
+ className: className,
47
+ frameBorder: "0",
48
+ marginHeight: 0,
49
+ marginWidth: 0,
50
+ scrolling: "no"
51
+ });
52
+ }
53
+
54
+ function registerAll(loader) {
55
+ var _registerComponent = function _registerComponent(Component, defaultMeta) {
56
+ if (loader) {
57
+ loader.registerComponent(Component, defaultMeta);
58
+ } else {
59
+ registerComponent(Component, defaultMeta);
60
+ }
61
+ };
62
+ _registerComponent(GoogleMaps, GoogleMapsMeta);
63
+ }
64
+
65
+ export { GoogleMaps, GoogleMapsMeta, ensure, registerAll };
66
+ //# sourceMappingURL=plasmic-google-maps.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plasmic-google-maps.esm.js","sources":["../src/google-maps.tsx","../src/index.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\n\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-google-maps\";\n\ninterface GoogleMapsProps {\n className?: string;\n coordinates?: string;\n}\n\nexport const GoogleMapsMeta: ComponentMeta<GoogleMapsProps> = {\n name: \"GoogleMaps\",\n displayName: \"Google Maps \",\n importName: \"GoogleMaps\",\n importPath: modulePath,\n providesData: true,\n description: \"Shows Google Maps\",\n defaultStyles: {\n maxWidth: \"100%\",\n },\n props: {\n coordinates: {\n type: \"string\",\n displayName: \"Coordinates\",\n description: `The latitude, longitude of the map location.Learn how to get latitude and longitude (\"https://support.google.com/maps/answer/18539\")`,\n defaultValue: \"51.51634532635064, -0.1332152112055726\",\n helpText:`You can get latitude and longitude of your location from this website (\"https://www.gps-coordinates.net/\")`\n },\n },\n};\n\nexport function GoogleMaps({ coordinates, className }: GoogleMapsProps) {\n if (!coordinates) {\n return <div>Please enter your coordinates</div>;\n }\n const query = `https://maps.google.com/maps?q=${coordinates}&t=&z=13&ie=UTF8&iwloc=&output=embed`;\n\n return (\n <iframe\n title=\"google\"\n width=\"100%\"\n height=\"600\"\n id=\"gmap_canvas\"\n src={query}\n className={className}\n frameBorder=\"0\"\n marginHeight={0}\n marginWidth={0}\n scrolling=\"no\"\n />\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\n\nimport { GoogleMaps, GoogleMapsMeta } from \"./google-maps\";\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\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 _registerComponent(GoogleMaps, GoogleMapsMeta);\n}\n\nexport * from \"./google-maps\";\n"],"names":["ensure","x","undefined","Error","modulePath","GoogleMapsMeta","name","displayName","importName","importPath","providesData","description","defaultStyles","maxWidth","props","coordinates","type","defaultValue","helpText","GoogleMaps","className","React","query","title","width","height","id","src","frameBorder","marginHeight","marginWidth","scrolling","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;IAOxCC,cAAc,GAAmC;EAC5DC,IAAI,EAAE,YAAY;EAClBC,WAAW,EAAE,cAAc;EAC3BC,UAAU,EAAE,YAAY;EACxBC,UAAU,EAAEL,UAAU;EACtBM,YAAY,EAAE,IAAI;EAClBC,WAAW,EAAE,mBAAmB;EAChCC,aAAa,EAAE;IACbC,QAAQ,EAAE;GACX;EACDC,KAAK,EAAE;IACLC,WAAW,EAAE;MACXC,IAAI,EAAE,QAAQ;MACdT,WAAW,EAAE,aAAa;MAC1BI,WAAW,0IAAwI;MACnJM,YAAY,EAAE,wCAAwC;MACtDC,QAAQ;;;;SAKEC,UAAU;MAAGJ,WAAW,QAAXA,WAAW;IAAEK,SAAS,QAATA,SAAS;EACjD,IAAI,CAACL,WAAW,EAAE;IAChB,OAAOM,iEAAwC;;EAEjD,IAAMC,KAAK,uCAAqCP,WAAW,yCAAsC;EAEjG,OACEM;IACEE,KAAK,EAAC,QAAQ;IACdC,KAAK,EAAC,MAAM;IACZC,MAAM,EAAC,KAAK;IACZC,EAAE,EAAC,aAAa;IAChBC,GAAG,EAAEL,KAAK;IACVF,SAAS,EAAEA,SAAS;IACpBQ,WAAW,EAAC,GAAG;IACfC,YAAY,EAAE,CAAC;IACfC,WAAW,EAAE,CAAC;IACdC,SAAS,EAAC;IACV;AAEN;;SCvDgBC,WAAW,CAACC,MAE3B;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;EAEDF,kBAAkB,CAACf,UAAU,EAAEd,cAAc,CAAC;AAChD;;;;"}
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@plasmicpkgs/plasmic-google-maps",
3
+ "version": "0.0.2",
4
+ "description": "Plasmic Google Maps components.",
5
+ "main": "dist/index.js",
6
+ "typings": "dist/index.d.ts",
7
+ "module": "dist/plasmic-google-maps.esm.js",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "scripts": {
15
+ "start": "tsdx watch",
16
+ "build": "tsdx build",
17
+ "test": "yarn --cwd=../.. test --passWithNoTests",
18
+ "lint": "tsdx lint",
19
+ "prepare": "if-env PREPARE_NO_BUILD=true || yarn build",
20
+ "size": "size-limit",
21
+ "analyze": "size-limit --why"
22
+ },
23
+ "peerDependencies": {
24
+ "react": ">=16"
25
+ },
26
+ "size-limit": [
27
+ {
28
+ "path": "dist/plasmic-google-maps.cjs.production.min.js",
29
+ "limit": "10 KB"
30
+ },
31
+ {
32
+ "path": "dist/plasmic-google-maps.esm.js",
33
+ "limit": "10 KB"
34
+ }
35
+ ],
36
+ "devDependencies": {
37
+ "@plasmicapp/host": "^1.0.117",
38
+ "@plasmicapp/query": "^0.1.61",
39
+ "@size-limit/preset-small-lib": "^7.0.8",
40
+ "@types/dlv": "^1.1.2",
41
+ "@types/react": "^17.0.43",
42
+ "@types/react-dom": "^17.0.14",
43
+ "husky": "^7.0.4",
44
+ "react": "^18.0.0",
45
+ "react-dom": "^18.0.0",
46
+ "size-limit": "^7.0.8",
47
+ "tsdx": "^0.14.1",
48
+ "tslib": "^2.3.1"
49
+ },
50
+ "gitHead": "6a7364c3fd0b59099a5869f3e99f13b51a391d0a"
51
+ }