opentui-responsive 0.2.1 → 0.2.4
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 +2 -2
- package/package.json +1 -2
- package/docs/assets/demo.gif +0 -0
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
</p>
|
|
8
8
|
<p>Typed responsive breakpoints for OpenTUI, with a framework-neutral core and React and Solid adapters.</p>
|
|
9
9
|
<p align="center">
|
|
10
|
-
<img src="docs/assets/demo.gif" alt="opentui-responsive terminal demo">
|
|
10
|
+
<img src="https://raw.githubusercontent.com/itsmeyaw/opentui-responsive/main/docs/assets/demo.gif" alt="opentui-responsive terminal demo">
|
|
11
11
|
</p>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -33,7 +33,7 @@ Core-only consumers only need `opentui-responsive`.
|
|
|
33
33
|
|
|
34
34
|
## Usage
|
|
35
35
|
|
|
36
|
-
Define
|
|
36
|
+
Define breakpoint tiers, then create a provider and hook bound to that definition:
|
|
37
37
|
|
|
38
38
|
```tsx
|
|
39
39
|
import { defineBreakpoints } from "opentui-responsive/core";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opentui-responsive",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Typed responsive breakpoints for OpenTUI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
|
-
"docs/assets/demo.gif",
|
|
13
12
|
"README.md",
|
|
14
13
|
"LICENSE"
|
|
15
14
|
],
|
package/docs/assets/demo.gif
DELETED
|
Binary file
|