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
Nikita Karamov
6453f15d70
Remove banner
2023-01-25 20:29:15 +01:00
Nikita Karamov
48e44e25aa
Fix code style
2023-01-25 20:29:14 +01:00
Nikita Karamov
38155afa8a
Remove Browserslist config to always target the defaults
2023-01-25 20:29:14 +01:00
Nikita Karamov
d57a8cae50
Disable sourcemaps on the output
2023-01-25 20:29:14 +01:00
Nikita Karamov
1550573923
Build CSS using Vite
2023-01-25 20:29:14 +01:00
Nikita Karamov
ae67a19233
Update to Vite v4
2023-01-25 20:29:13 +01:00
Nikita Karamov
70477e05c1
Minify with esbuild instead of terser
...
In the end, the files are basically of the same size, but esbuild is
faster. We also do not need any extra packages.
2023-01-25 20:29:13 +01:00