@lowdefy/blocks-google-maps 0.0.0-experimental-20231123101256

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/types.js ADDED
@@ -0,0 +1,29 @@
1
+ /* eslint-disable import/namespace */ /*
2
+ Copyright 2020-2023 Lowdefy, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */ import * as blocks from './blocks.js';
16
+ const icons = {};
17
+ const styles = {};
18
+ Object.keys(blocks).forEach((block)=>{
19
+ icons[block] = blocks[block].meta.icons ?? [];
20
+ styles[block] = blocks[block].meta.styles ?? [];
21
+ });
22
+ export default {
23
+ blocks: Object.keys(blocks),
24
+ icons,
25
+ styles: {
26
+ default: [],
27
+ ...styles
28
+ }
29
+ };
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@lowdefy/blocks-google-maps",
3
+ "version": "0.0.0-experimental-20231123101256",
4
+ "license": "Apache-2.0",
5
+ "description": "Google Maps Blocks for Lowdefy.",
6
+ "homepage": "https://lowdefy.com",
7
+ "keywords": [
8
+ "lowdefy",
9
+ "lowdefy blocks",
10
+ "google",
11
+ "maps",
12
+ "lowdefy plugin"
13
+ ],
14
+ "bugs": {
15
+ "url": "https://github.com/lowdefy/lowdefy/issues"
16
+ },
17
+ "contributors": [
18
+ {
19
+ "name": "Gerrie van Wyk",
20
+ "url": "https://github.com/Gervwyk"
21
+ }
22
+ ],
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/lowdefy/lowdefy.git"
26
+ },
27
+ "type": "module",
28
+ "exports": {
29
+ "./*": "./dist/*",
30
+ "./blocks": "./dist/blocks.js",
31
+ "./types": "./dist/types.js"
32
+ },
33
+ "files": [
34
+ "dist/*"
35
+ ],
36
+ "dependencies": {
37
+ "@lowdefy/block-utils": "0.0.0-experimental-20231123101256",
38
+ "@react-google-maps/api": "2.19.2",
39
+ "react": "18.2.0",
40
+ "react-dom": "18.2.0"
41
+ },
42
+ "devDependencies": {
43
+ "@emotion/jest": "11.10.5",
44
+ "@lowdefy/block-dev": "0.0.0-experimental-20231123101256",
45
+ "@lowdefy/jest-yaml-transform": "0.0.0-experimental-20231123101256",
46
+ "@swc/cli": "0.1.63",
47
+ "@swc/core": "1.3.99",
48
+ "@swc/jest": "0.2.29",
49
+ "@testing-library/dom": "8.19.1",
50
+ "@testing-library/react": "13.4.0",
51
+ "@testing-library/user-event": "14.4.3",
52
+ "copyfiles": "2.4.1",
53
+ "jest": "28.1.3",
54
+ "jest-environment-jsdom": "28.1.3",
55
+ "jest-serializer-html": "7.1.0"
56
+ },
57
+ "publishConfig": {
58
+ "access": "public"
59
+ },
60
+ "scripts": {
61
+ "build": "swc src --out-dir dist --config-file ../../../../.swcrc --delete-dir-on-start && pnpm copyfiles",
62
+ "clean": "rm -rf dist",
63
+ "copyfiles": "copyfiles -u 1 \"./src/**/*\" dist -e \"./src/**/*.js\" -e \"./src/**/*.yaml\" -e \"./src/**/*.snap\"",
64
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
65
+ }
66
+ }