Commit Graph

375 Commits (ec7053f0a16cee1c92e7108f069e5f54917ee9ed)

Author SHA1 Message Date
Nikita Karamov ec7053f0a1
Replace most PostCSS plugins with Lightning CSS 2023-07-18 12:20:43 +02:00
Nikita Karamov d552332757
Use more CSS variables 2023-07-18 12:05:10 +02:00
Nikita Karamov a3d7fcc636
Use flexbox and better box-sizing 2023-07-18 11:49:54 +02:00
Nikita Karamov d13b124da9
Disable compilation of variables and calc 2023-07-18 11:48:12 +02:00
Nikita Karamov cd27311715
Rename main variables 2023-07-18 11:28:25 +02:00
Nikita Karamov 5a1b94b221
Set server.host to 127.0.0.1 2023-07-18 11:25:32 +02:00
Nikita Karamov d69f8c1e81
Bump dependencies 2023-07-18 11:21:55 +02:00
Nikita Karamov afbd45d2eb
[pre-commit.ci] pre-commit autoupdate (#72) 2023-07-18 09:25:05 +02:00
pre-commit-ci[bot] c780131a93
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-eslint: v8.43.0 → v8.45.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.43.0...v8.45.0)
2023-07-17 22:46:53 +00:00
Nikita Karamov d2370aeaf6
Release 2.2.2 2023-07-15 20:01:42 +02:00
Nikita Karamov 2be4684875
Fix web-share.svg icon
See: https://github.com/kytta/shareon/pull/71
2023-07-15 20:00:29 +02:00
Nikita Karamov 6b9ef4212e
Update src/icons/web-share.svg 2023-07-15 19:58:41 +02:00
pre-commit-ci[bot] 7ca6e9f201 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-15 13:38:40 +00:00
Jake Howard 3620323d7c
Fix web-share.svg icon
There was an encoding issue in the stroke color.
2023-07-15 14:37:38 +01:00
Nikita Karamov 3150d947f7
Release 2.2.1 2023-07-15 12:16:33 +02:00
Nikita Karamov d553e74367
Automate most parts of icon creation
See: https://github.com/kytta/shareon/pull/70
2023-07-15 12:14:44 +02:00
Nikita Karamov ec3e40623a
Update CHANGELOG 2023-07-15 12:12:36 +02:00
Nikita Karamov e689e2f401
Add contributing guide 2023-07-15 12:08:03 +02:00
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