masonry-simple 5.0.0 → 5.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.
Files changed (2) hide show
  1. package/README.md +9 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,11 +2,20 @@
2
2
 
3
3
  A lightweight masonry layout helper built on top of CSS Grid.
4
4
 
5
+ [![npm](https://img.shields.io/npm/v/masonry-simple.svg?colorB=brightgreen)](https://www.npmjs.com/package/masonry-simple)
6
+ [![NPM Downloads](https://img.shields.io/npm/dm/masonry-simple.svg?style=flat)](https://www.npmjs.com/package/masonry-simple)
7
+
8
+ [Demo](https://codepen.io/ux-ui/pen/poxGEqX)
9
+
10
+ ---
11
+
5
12
  - Idempotent lifecycle: `init()`, `refresh()`, `destroy()`.
6
13
  - Unified layout scheduling for resize, mutations, image load, and manual refresh.
7
14
  - Safe teardown with observer/listener cleanup and inline-style restoration.
8
15
  - Supports dynamic image content and responsive CSS changes.
9
16
 
17
+ ---
18
+
10
19
  ## Install
11
20
 
12
21
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "masonry-simple",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "MasonrySimple implements a simple system for placing masonry style elements using CSS Grid. Masonry placement is used for dynamic grids where elements may have different heights and need to be placed neatly without gaps.",
5
5
  "author": "ux-ui.pro",
6
6
  "license": "MIT",