Skip to content

Commit a88ae97

Browse files
authored
Merge pull request #579 from nygardk/v5.3
Prepare v5.3 release
2 parents 9db8019 + 5c06993 commit a88ae97

File tree

157 files changed

+7058
-2666
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+7058
-2666
lines changed

.changeset/blue-chefs-care.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-share': minor
3+
---
4+
5+
Mark all share count exports as deprecated in the public types and README, noting that they will be removed in v6 while remaining available as best-effort compatibility in v5.

.changeset/chubby-radios-bow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-share': patch
3+
---
4+
5+
Apply native disabled button behavior to share buttons so disabled buttons are actually non-interactive, matching the behavior requested in issue #533.

.changeset/dirty-planes-heal.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-share': patch
3+
---
4+
5+
Use `api.whatsapp.com` for generated WhatsApp share links, following the behavior proposed in PR #459 and requested again in issue #575.

.changeset/fair-cougars-rule.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-share': patch
3+
---
4+
5+
Refresh several share icon brand colors to match current platform branding in the v5 badge set.

.changeset/fuzzy-buses-battle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-share': patch
3+
---
4+
5+
Render reset share buttons as `inline-flex` so icon-only buttons do not include extra bottom space from the inline baseline gap, and match the button focus outline radius to round and rounded bundled icons with a `2px` outline offset.

.changeset/sharp-rivers-joke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-share': minor
3+
---
4+
5+
Clarify the share button API surface in v5 by documenting `htmlTitle` as the native button `title` attribute and marking the legacy `ThreadsShareButton` `hashtags`, `related`, and `via` props as deprecated no-ops ahead of their planned v6 removal.

.changeset/sixty-ants-love.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-share': patch
3+
---
4+
5+
Fix Reddit sharing to use the current `/submit` endpoint instead of `/web/submit`, which was causing "Page not found" failures reported in issues like #571 and addressed in PR #572.

.changeset/tidy-taxis-nod.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-share': minor
3+
---
4+
5+
Add `XShareButton` as the canonical X sharing export while keeping `TwitterShareButton` available as a deprecated backwards-compatibility alias.

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ env:
99
FORCE_COLOR: true
1010

1111
jobs:
12+
test:
13+
name: Test
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: ./.github/actions/npm-install
18+
- run: npm test
19+
1220
lint:
1321
name: Lint
1422
runs-on: ubuntu-latest
@@ -31,5 +39,4 @@ jobs:
3139
steps:
3240
- uses: actions/checkout@v4
3341
- uses: ./.github/actions/npm-install
34-
- run: npm run build && npm run lint-package
35-
42+
- run: npm run build && npm run test:dist && npm run lint-package

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
node_modules/
33
dist/
4-
demo/
4+
coverage/
5+
demo/dist/
56
*.log

0 commit comments

Comments
 (0)