react-fit-list 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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # react-fit-list
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/react-fit-list.svg)](https://www.npmjs.com/package/react-fit-list)
4
+
3
5
  ![Resizable FitList demo](./docs/demo.gif)
4
6
 
5
7
  `react-fit-list` is a small headless React utility for rendering a **single-line list that never wraps**.
@@ -11,6 +13,10 @@ It ships with:
11
13
  - a headless `useFitList()` hook for custom renderers
12
14
  - TypeScript types for component and hook APIs
13
15
 
16
+ 👉 **Live demo:** https://sincerelyfaust.github.io/react-fit-list/
17
+
18
+ 📦 **npm:** https://www.npmjs.com/package/react-fit-list
19
+
14
20
  ## Use cases
15
21
 
16
22
  `react-fit-list` works well for interfaces where wrapping would break the layout, such as:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-fit-list",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A headless React component for rendering a single-line list that collapses overflowing items into a +N indicator.",
5
5
  "keywords": [
6
6
  "react",
@@ -12,7 +12,7 @@
12
12
  "headless",
13
13
  "ui"
14
14
  ],
15
- "homepage": "https://github.com/SincerelyFaust/react-fit-list#readme",
15
+ "homepage": "https://sincerelyfaust.github.io/react-fit-list/",
16
16
  "repository": {
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/SincerelyFaust/react-fit-list.git"