lowcoder-comp-template-demos 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.
Files changed (2) hide show
  1. package/index.js +890 -899
  2. package/package.json +25 -14
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "lowcoder-comp-template-demos",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
+ "private": false,
4
5
  "type": "module",
5
- "description": "Lowcoder Template Plugin - 5 pre-built layout templates with drop zones for Lowcoder components",
6
+ "description": "Lowcoder layout templates fixed React chrome + SDK drop-zones",
6
7
  "scripts": {
7
8
  "start": "NODE_OPTIONS=--max_old_space_size=6144 vite",
9
+ "dev": "NODE_OPTIONS=--max_old_space_size=6144 vite",
8
10
  "build": "lowcoder-cli build",
9
11
  "build_publish": "lowcoder-cli build --publish"
10
12
  },
@@ -14,46 +16,56 @@
14
16
  "dashboardTemplate": {
15
17
  "name": "Dashboard Template",
16
18
  "icon": "./icons/dashboard.svg",
17
- "description": "Dashboard layout with navbar, stat cards, and a main content drop zone",
19
+ "description": "Navbar, stat cards, and a main content drop-zone",
20
+ "isContainer": true,
18
21
  "layoutInfo": {
19
22
  "w": 24,
20
- "h": 80
23
+ "h": 80,
24
+ "delayCollision": true
21
25
  }
22
26
  },
23
27
  "landingPageTemplate": {
24
28
  "name": "Landing Page Template",
25
29
  "icon": "./icons/landing-page.svg",
26
- "description": "Landing page with hero section, content drop zone, and footer",
30
+ "description": "Hero section, content drop-zone, and footer",
31
+ "isContainer": true,
27
32
  "layoutInfo": {
28
33
  "w": 24,
29
- "h": 80
34
+ "h": 80,
35
+ "delayCollision": true
30
36
  }
31
37
  },
32
38
  "sidebarTemplate": {
33
39
  "name": "Sidebar Layout Template",
34
40
  "icon": "./icons/sidebar.svg",
35
- "description": "Sidebar navigation layout with a main content drop zone",
41
+ "description": "Sidebar navigation with a main content drop-zone",
42
+ "isContainer": true,
36
43
  "layoutInfo": {
37
44
  "w": 24,
38
- "h": 70
45
+ "h": 70,
46
+ "delayCollision": true
39
47
  }
40
48
  },
41
49
  "cardGridTemplate": {
42
50
  "name": "Card Grid Template",
43
51
  "icon": "./icons/card-grid.svg",
44
- "description": "Card-based grid layout with header and content drop zone",
52
+ "description": "Header, tabs, and a card grid drop-zone",
53
+ "isContainer": true,
45
54
  "layoutInfo": {
46
55
  "w": 24,
47
- "h": 70
56
+ "h": 70,
57
+ "delayCollision": true
48
58
  }
49
59
  },
50
60
  "adminPanelTemplate": {
51
61
  "name": "Admin Panel Template",
52
62
  "icon": "./icons/admin-panel.svg",
53
- "description": "Admin panel with top bar, sidebar menu, and main content drop zone",
63
+ "description": "Top bar, sidebar, and main admin content drop-zone",
64
+ "isContainer": true,
54
65
  "layoutInfo": {
55
66
  "w": 24,
56
- "h": 80
67
+ "h": 80,
68
+ "delayCollision": true
57
69
  }
58
70
  }
59
71
  },
@@ -63,10 +75,9 @@
63
75
  "@types/react": "^18.2.45",
64
76
  "@types/react-dom": "^18.2.18",
65
77
  "lowcoder-cli": "^0.0.30",
66
- "lowcoder-sdk": "^2.4.6",
78
+ "lowcoder-sdk": "^2.7.6",
67
79
  "react": "18.3.0",
68
80
  "react-dom": "18.3.0",
69
- "styled-components": "^6.4.3",
70
81
  "typescript": "^4.8.4",
71
82
  "vite": "^4.5.5"
72
83
  },