@thisiscrowd/crowdbox 1.0.0 → 1.0.1

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) 2026 thisiscrowd
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 CHANGED
@@ -16,6 +16,31 @@ A modern, lightweight, extensible JavaScript Crowdbox gallery plugin.
16
16
 
17
17
  ---
18
18
 
19
+ ## Installation
20
+
21
+ ### NPM
22
+
23
+ ```bash
24
+ npm install @thisiscrowd/crowdbox
25
+ ```
26
+
27
+ ### Yarn
28
+
29
+ ```bash
30
+ yarn add @thisiscrowd/crowdbox
31
+ ```
32
+
33
+ ### CDN
34
+
35
+ ```html
36
+ <!-- CSS -->
37
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@thisiscrowd/crowdbox@1.0.0/dist/crowdbox.css">
38
+
39
+ <!-- JavaScript (UMD) -->
40
+ <script src="https://cdn.jsdelivr.net/npm/@thisiscrowd/crowdbox@1.0.0/dist/crowdbox.umd.js"></script>
41
+ ```
42
+
43
+ ---
19
44
 
20
45
  ## Quick Start — Vanilla JS
21
46
 
@@ -346,3 +371,65 @@ All modern browsers (Chrome 80+, Firefox 75+, Safari 13.1+, Edge 80+). Uses:
346
371
  - Fullscreen API
347
372
 
348
373
  ---
374
+
375
+ ## Development
376
+
377
+ ### Build from source
378
+
379
+ ```bash
380
+ # Clone repository
381
+ git clone https://github.com/thisiscrowd/crowdbox.git
382
+ cd crowdbox
383
+
384
+ # Install dependencies
385
+ npm install
386
+
387
+ # Build (JS + CSS)
388
+ npm run build:all
389
+
390
+ # Watch mode (auto-rebuild on changes)
391
+ npm run dev
392
+ ```
393
+
394
+ ### Project structure
395
+
396
+ ```
397
+ src/
398
+ ├── adapters/ # Media type handlers (image, video, YouTube, etc.)
399
+ ├── core/ # Core lightbox logic
400
+ ├── plugins/ # Optional features (zoom, thumbnails, share, etc.)
401
+ ├── react/ # React components and hooks
402
+ └── styles/ # SCSS source files
403
+ ```
404
+
405
+ ---
406
+
407
+ ## Contributing
408
+
409
+ Contributions welcome! Please:
410
+
411
+ 1. Fork the repository
412
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
413
+ 3. Commit your changes (`git commit -m 'Add amazing feature'`)
414
+ 4. Push to the branch (`git push origin feature/amazing-feature`)
415
+ 5. Open a Pull Request
416
+
417
+ ---
418
+
419
+ ## License
420
+
421
+ MIT License - see [LICENSE](LICENSE) file for details.
422
+
423
+ ---
424
+
425
+ ## Links
426
+
427
+ - **NPM Package**: [npmjs.com/package/@thisiscrowd/crowdbox](https://www.npmjs.com/package/@thisiscrowd/crowdbox)
428
+ - **Repository**: [github.com/thisiscrowd/crowdbox](https://github.com/thisiscrowd/crowdbox)
429
+ - **Issues**: [github.com/thisiscrowd/crowdbox/issues](https://github.com/thisiscrowd/crowdbox/issues)
430
+
431
+ ---
432
+
433
+ ## Acknowledgments
434
+
435
+ Inspired by Fancybox, Lightbox2, and other gallery libraries, but built from scratch with modern web standards.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Crowdbox v1.0.0
2
+ * Crowdbox v1.0.1
3
3
  * A modern, lightweight, extensible Crowdbox gallery plugin supporting images and video
4
4
  * (c) 2026 Crowdbox
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Crowdbox v1.0.0
2
+ * Crowdbox v1.0.1
3
3
  * A modern, lightweight, extensible Crowdbox gallery plugin supporting images and video
4
4
  * (c) 2026 Crowdbox
5
5
  * Released under the MIT License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisiscrowd/crowdbox",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "description": "A modern, lightweight, extensible Crowdbox gallery plugin supporting images and video",
6
6
  "main": "dist/crowdbox.umd.js",
@@ -39,8 +39,16 @@
39
39
  "nextjs",
40
40
  "react"
41
41
  ],
42
- "author": "",
42
+ "author": "thisiscrowd",
43
43
  "license": "MIT",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "https://github.com/thisiscrowd/crowdbox.git"
47
+ },
48
+ "homepage": "https://github.com/thisiscrowd/crowdbox#readme",
49
+ "bugs": {
50
+ "url": "https://github.com/thisiscrowd/crowdbox/issues"
51
+ },
44
52
  "devDependencies": {
45
53
  "@rollup/plugin-node-resolve": "^15.0.0",
46
54
  "@rollup/plugin-terser": "^0.4.0",