Commit Graph

335 Commits (db2d9f1b5a17c02f64fb9b06891d5d59291bd837)

Author SHA1 Message Date
Nikita Karamov db2d9f1b5a
Update Prettier to v3
See: https://github.com/kytta/shareon/pull/65
2023-07-14 22:30:19 +02:00
Nikita Karamov 9977dde3c7
Apply new formatting 2023-07-14 22:28:45 +02:00
Nikita Karamov 625d5a02e5
Return old Markdown behaviour 2023-07-14 22:28:45 +02:00
Nikita Karamov b3a9fa6c59
Bump version in pnpm-lock 2023-07-14 22:28:44 +02:00
Nikita Karamov 44fee3a639
Update pre-commit hook 2023-07-14 22:22:34 +02:00
Nikita Karamov be50ea5028
Add `data-hashtags` for Facebook and Twitter
See: https://github.com/kytta/shareon/pull/60
2023-07-14 22:13:24 +02:00
Edward Cui cac6350bf0 Add explanation on how to use `data-hashtags` in README.md 2023-07-13 23:56:04 +08:00
Edward 73a7467cb4
Update src/shareon.js
Use url encoded string to replace `#`.

Co-authored-by: Nikita Karamov <me@kytta.dev>
2023-07-11 07:24:02 -07:00
Edward 59ba22638a
Apply suggestions from code review
Remove `hashtag` but use the first element of `hastags` instead for facebook hashtag parameter.

Co-authored-by: Nikita Karamov <me@kytta.dev>
2023-07-06 20:50:57 +08:00
Edward Cui c00e449749 Add hashtag to facebook and hastags to twitter
Hashtag and hastags are the most commonly used features on facebook and
twitter respectively. Adding support to those two will make the library
even more powerful.

This PR add two optional attribute `data-hashtag` for facebook and
`data-hashtags` for twitter.

`data-hashtag` is a single key word without `#` while `data-hashtags`
are comma seperated strings without `#`.
2023-07-04 21:52:20 +08:00
Nikita Karamov 1fbefa9fd3
[pre-commit.ci] pre-commit autoupdate (#57) 2023-06-20 10:05:37 +02:00
pre-commit-ci[bot] 3ed9a9e2da
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-eslint: v8.42.0 → v8.43.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.42.0...v8.43.0)
2023-06-19 22:10:08 +00:00
Nikita Karamov 9ac9df4a94
[pre-commit.ci] pre-commit autoupdate (#55) 2023-06-05 23:54:19 +02:00
pre-commit-ci[bot] ca748bf45e
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-eslint: v8.41.0 → v8.42.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.41.0...v8.42.0)
2023-06-05 21:24:11 +00:00
Nikita Karamov f94218a36f
[pre-commit.ci] pre-commit autoupdate (#54) 2023-05-26 15:18:01 +02:00
pre-commit-ci[bot] 31841b115c
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-eslint: v8.40.0 → v8.41.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.40.0...v8.41.0)
2023-05-22 21:29:08 +00:00
Nikita Karamov 0a06484a1e
[pre-commit.ci] pre-commit autoupdate (#53) 2023-05-09 11:19:52 +02:00
pre-commit-ci[bot] 7a149c12c0
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-eslint: v8.39.0 → v8.40.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.39.0...v8.40.0)
2023-05-08 21:57:12 +00:00
Nikita Karamov 0669eb6c3a
[pre-commit.ci] pre-commit autoupdate (#52) 2023-04-25 12:32:40 +02:00
pre-commit-ci[bot] d91e28296b
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.6 → v3.0.0-alpha.9-for-vscode](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.6...v3.0.0-alpha.9-for-vscode)
- [github.com/pre-commit/mirrors-eslint: v8.38.0 → v8.39.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.38.0...v8.39.0)
2023-04-24 21:40:12 +00:00
Nikita Karamov cfa741865a
[pre-commit.ci] pre-commit autoupdate (#51) 2023-04-10 23:58:03 +00:00
pre-commit-ci[bot] 5894d3c319
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-eslint: v8.37.0 → v8.38.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.37.0...v8.38.0)
2023-04-10 21:32:16 +00:00
Nikita Karamov 39c5d71105
[pre-commit.ci] pre-commit autoupdate (#50) 2023-04-05 18:44:15 +00:00
pre-commit-ci[bot] 25ddf81bba
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-eslint: v8.36.0 → v8.37.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.36.0...v8.37.0)
2023-04-05 20:41:26 +02:00
Nikita Karamov f45a158b0a
Move to PNPM 8 2023-04-05 20:40:44 +02:00
Nikita Karamov 25c8de44f8
Always run size checks
In other case, the size-limit will not have an available baseline for PRs
2023-03-20 20:36:07 +01:00
Nikita Karamov 5938e8a9e7
Update demo banner 2023-03-20 19:43:35 +01:00
Nikita Karamov 5592ca9930
Release 2.1.0 2023-03-20 19:24:19 +01:00
Nikita Karamov 83edc92103
Update dependencies 2023-03-20 19:24:12 +01:00
Nikita Karamov 45d5c12442
Update README 2023-03-20 19:23:03 +01:00
Nikita Karamov 2378f55de5
Update CHANGELOG 2023-03-20 19:23:03 +01:00
Nikita Karamov fdf4c946c0
Add "Copy URL" button (#44) 2023-03-20 19:16:57 +01:00
Nikita Karamov d49120ed0f Change icon for a second after copying 2023-03-20 19:15:22 +01:00
Nikita Karamov 10cf0143d8 Use a different link icon 2023-03-20 19:15:22 +01:00
Nikita Karamov 1d766385c9 Update specimen so that it looks good 2023-03-20 19:15:22 +01:00
Nikita Karamov 618627c418 Add "Copy URL" buttons to test page 2023-03-20 19:15:22 +01:00
Nikita Karamov 2493e6d014 Add "Copy URL" button
Closes #41
2023-03-20 19:15:22 +01:00
Nikita Karamov 63e5733a72 Make default background darker 2023-03-20 19:15:22 +01:00
Nikita Karamov 5fbda7a112
Fix size-limit-action branch (#48) 2023-03-20 19:14:46 +01:00
Nikita Karamov 582f4dc939
Fix size-limit-action branch 2023-03-20 19:13:11 +01:00
Nikita Karamov 22f913c1c6
Add pre-commit (#47) 2023-03-20 19:09:39 +01:00
Nikita Karamov bdc583b787
Fix pre-commit issue 2023-03-20 19:08:07 +01:00
Nikita Karamov 7bfbccea66
Add pre-commit config 2023-03-20 19:08:01 +01:00
Nikita Karamov 2a0b7fa669
2.0.2 2023-01-25 20:53:49 +01:00
Nikita Karamov bacd69cdc0
Improve build process (#46) 2023-01-25 20:52:21 +01:00
Nikita Karamov c611962f90
Re-lock deps 2023-01-25 20:30:18 +01:00
Nikita Karamov ee3a9f280b
2.0.2-0 2023-01-25 20:29:15 +01:00
Nikita Karamov 9726efc022
Update CHANGELOG 2023-01-25 20:29:15 +01:00
Nikita Karamov 5aeb9831bd
Move ESLint config to package.json 2023-01-25 20:29:15 +01:00
Nikita Karamov 8a24871a0d
Move PostCSS config to package.json 2023-01-25 20:29:15 +01:00