Skip to content

Commit e2be321

Browse files
committed
fix: update demo link to the current hosted URL in README and package metadata
1 parent 04d20bc commit e2be321

4 files changed

Lines changed: 25 additions & 2 deletions

File tree

.changeset/late-seas-juggle.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@protohiro/effects': patch
3+
---
4+
5+
Update the package demo link to `https://protohiro.com/labs/effects` in the npm metadata and published README.
6+
7+
This keeps the npm package page aligned with the current hosted demo URL.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Protohiro Effects is a zero-wrapper React library for hard CSS effects on existi
44

55
Built for design systems and app UIs that need premium effects without extra DOM nodes, layout shifts, or runtime layout measurements.
66

7+
Demo: [protohiro.com/labs/effects](https://protohiro.com/labs/effects)
8+
79
## Packages
810

911
- `@protohiro/effects-core`: shared runtime utilities.
@@ -53,6 +55,7 @@ Protohiro Effects packages those effects as React hooks that mutate only `classL
5355
Single-element gradient border with `border-radius` support and a graceful Safari fallback.
5456

5557
Options:
58+
5659
- `thickness?: string | number`
5760
- `radius?: string | number`
5861
- `colors?: string`
@@ -64,6 +67,7 @@ Options:
6467
Adds a restrained glass highlight layer tuned for premium dark surfaces.
6568

6669
Options:
70+
6771
- `color?: string`
6872
- `edgeOpacity?: number`
6973
- `sheenOpacity?: number`
@@ -80,6 +84,7 @@ Options:
8084
Lightweight supporting glow for composition. Useful, but simpler than the core hard effects.
8185

8286
Options:
87+
8388
- `color?: string`
8489
- `blur?: string | number`
8590
- `spread?: string | number`
@@ -91,6 +96,7 @@ Options:
9196
Noise overlay for textured surfaces and layered compositions.
9297

9398
Options:
99+
94100
- `size?: string | number`
95101
- `intensity?: number`
96102
- `disabled?: boolean`
@@ -100,6 +106,7 @@ Options:
100106
Interactive spotlight and reveal effect for premium cards, media, and CTA surfaces.
101107

102108
Options:
109+
103110
- `mode?: 'glow' | 'reveal'`
104111
- `size?: string | number`
105112
- `intensity?: number`

packages/react/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ npm install @protohiro/effects
1818
```
1919

2020
Peer dependencies:
21+
2122
- `react: ^18 || ^19`
2223
- `react-dom: ^18 || ^19`
2324

@@ -32,6 +33,10 @@ export function Button() {
3233
}
3334
```
3435

36+
## Demo
37+
38+
[protohiro.com/labs/effects](https://protohiro.com/labs/effects)
39+
3540
## Why use it
3641

3742
- no extra DOM nodes
@@ -63,6 +68,7 @@ Interactive spotlight and reveal overlay for cards, media surfaces, and CTA bloc
6368
Adds a restrained glass highlight layer with edge light, soft sheen, tint, and optional backdrop blur for dark premium surfaces.
6469

6570
Options:
71+
6672
- `color?: string`
6773
- `edgeOpacity?: number`
6874
- `sheenOpacity?: number`
@@ -75,7 +81,7 @@ Options:
7581
- `disabled?: boolean`
7682

7783
Live demo:
78-
[libs.protohiro.com/effects](https://libs.protohiro.com/effects/)
84+
[protohiro.com/labs/effects](https://protohiro.com/labs/effects)
7985

8086
For full docs and demos, see:
8187
[github.com/protohiro-com/effects](https://github.com/protohiro-com/effects)

packages/react/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@
1212
"url": "git+https://github.com/protohiro-com/effects.git",
1313
"directory": "packages/react"
1414
},
15-
"homepage": "https://github.com/protohiro-com/effects#readme",
15+
"homepage": "https://protohiro.com/labs/effects",
1616
"bugs": {
1717
"url": "https://github.com/protohiro-com/effects/issues"
1818
},
19+
"funding": {
20+
"url": "https://protohiro.com/labs/effects"
21+
},
1922
"keywords": [
2023
"protohiro-effects",
2124
"protohiro",

0 commit comments

Comments
 (0)