Commit Graph

357 Commits (de9b21ed33a3a5b15284472c946311493bc0a65f)

Author SHA1 Message Date
Nikita Karamov de9b21ed33
Automatically compress SVGs with svgo 2023-07-15 11:36:09 +02:00
Nikita Karamov 000e3b1b1f
Move inline SVGs into separate files 2023-07-15 11:35:46 +02:00
Nikita Karamov 348bddf4fa
Inline URLs in CSS 2023-07-15 11:29:32 +02:00
Nikita Karamov 6733bf2b9e
Release 2.2.0 2023-07-15 00:39:03 +02:00
Nikita Karamov 55e512f6ad
Update README picture 2023-07-15 00:38:24 +02:00
Nikita Karamov b2ccbf3cb5
Update CHANGELOG 2023-07-15 00:33:44 +02:00
Nikita Karamov 174f113cd5
Fix changelog's entry for 1.6.3 2023-07-15 00:33:35 +02:00
Nikita Karamov f0018aeaf0
Update size-limit to use Brotli
See: https://github.com/kytta/shareon/pull/69

nice.
2023-07-15 00:28:51 +02:00
Nikita Karamov 9974a79c2a
Update README 2023-07-15 00:26:00 +02:00
Nikita Karamov 3566d4e096
Update size-limit to use Brotli 2023-07-15 00:25:19 +02:00
Nikita Karamov eca6736e3b
Bump dependencies
See: https://github.com/kytta/shareon/pull/68
2023-07-15 00:23:57 +02:00
Nikita Karamov 505740fe78
Bump prettier in lint step 2023-07-15 00:20:29 +02:00
Nikita Karamov f67de79932
Major dep bump 2023-07-15 00:20:29 +02:00
Nikita Karamov 33b02be656
Minor dep bump 2023-07-15 00:17:22 +02:00
Nikita Karamov 3aea6e72eb
Add Web Share API button
Co-authored-by: Dimitrios Douros <dourosdimitris@outlook.com>
See: https://github.com/kytta/shareon/pull/67
2023-07-15 00:13:13 +02:00
Nikita Karamov 845ea065c7
Update specimen 2023-07-15 00:11:45 +02:00
Nikita Karamov df97c8aaf5
Temporarily increase size limit
See also: https://github.com/kytta/shareon/issues/62
2023-07-14 23:59:03 +02:00
Dimitrios Douros de29ba84b8
webshare api 2023-07-14 23:40:00 +02:00
Nikita Karamov e97fc400a2
Add MS Teams
Co-authored-by: Dimitrios Douros <dourosdimitris@outlook.com>
See: https://github.com/kytta/shareon/pull/66
2023-07-14 23:09:02 +02:00
Nikita Karamov 21c2c92211
Update README 2023-07-14 23:06:31 +02:00
Nikita Karamov 3af15fa7df
Update specimen 2023-07-14 23:03:27 +02:00
Dimitrios Douros a551eca0e3
Added MS Teams
Co-authored-by: Nikita Karamov <me@kytta.dev>
2023-07-14 23:00:04 +02:00
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