well-petal 0.0.88 → 0.1.0
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/README.md +38 -0
- package/dist/petal.js +14 -114
- package/dist/petal.min.js +2 -0
- package/dist/petal.min.js.LICENSE.txt +8 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,2 +1,40 @@
|
|
|
1
1
|
# Petal
|
|
2
|
+
|
|
2
3
|
Webflow Popups powered by attributes
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
### CDN (jsDelivr)
|
|
8
|
+
|
|
9
|
+
Add this script tag to your Webflow project (or any HTML page):
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<!-- Latest version -->
|
|
13
|
+
<script src="https://cdn.jsdelivr.net/gh/well-webflow/Petal@latest/dist/petal.min.js"></script>
|
|
14
|
+
|
|
15
|
+
<!-- Specific version (recommended for production) -->
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/gh/well-webflow/Petal@0.0.88/dist/petal.min.js"></script>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Replace `USERNAME/REPO` with your GitHub username and repository name.
|
|
20
|
+
|
|
21
|
+
### NPM
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install well-petal
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Building
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# Development build
|
|
31
|
+
npm run build
|
|
32
|
+
|
|
33
|
+
# Production build (minified)
|
|
34
|
+
npm run build:prod
|
|
35
|
+
|
|
36
|
+
# Development server
|
|
37
|
+
npm run dev
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The production build creates `dist/petal.min.js` (85KB minified).
|