@oksigenia/share 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,23 @@
1
+ # @oksigenia/share
2
+
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ Include `CHANGELOG.md` in the published npm tarball (this file now ships
8
+ with the package). The `files` array in `package.json` was an allow-list
9
+ that excluded the changelog. Also adds the initial changelog entries for
10
+ 0.1.0 and 0.2.0, copied from the monorepo root. Pure packaging fix —
11
+ no runtime change.
12
+
13
+ ## 0.2.0
14
+
15
+ ### Minor Changes
16
+
17
+ Added `hide-desktop` and `hide-mobile` attributes to hide specific networks per viewport, restoring feature parity with the WordPress plugin.
18
+
19
+ ## 0.1.0
20
+
21
+ ### Minor Changes
22
+
23
+ Initial release. 9 networks (X, Bluesky, Threads, WhatsApp, Telegram, LinkedIn, Reddit, Nostr, Email) and 8 locales. Web component with Shadow DOM + imperative helper. Zero dependencies.
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/OksigeniaSL/oksigenia-web-libs/main/packages/share/assets/banner.png" alt="@oksigenia/share — privacy-first social share buttons" />
3
+ </p>
4
+
1
5
  # @oksigenia/share
2
6
 
3
7
  Lightweight, privacy-first social share buttons.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oksigenia/share",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Lightweight, privacy-first social share buttons. Web component + helper API. Zero deps, no tracking, no cookies.",
5
5
  "keywords": [
6
6
  "share",
@@ -45,6 +45,7 @@
45
45
  },
46
46
  "files": [
47
47
  "dist",
48
+ "CHANGELOG.md",
48
49
  "README.md",
49
50
  "LICENSE",
50
51
  "NOTICE.md"
@@ -52,18 +53,18 @@
52
53
  "publishConfig": {
53
54
  "access": "public"
54
55
  },
55
- "devDependencies": {
56
- "@vitest/coverage-v8": "^2.1.8",
57
- "happy-dom": "^15.11.7",
58
- "tsup": "^8.3.5",
59
- "typescript": "^5.7.2",
60
- "vitest": "^2.1.8"
61
- },
62
56
  "scripts": {
63
57
  "build": "tsup",
64
58
  "dev": "tsup --watch",
65
59
  "test": "vitest run",
66
60
  "test:watch": "vitest",
67
61
  "typecheck": "tsc --noEmit"
62
+ },
63
+ "devDependencies": {
64
+ "@vitest/coverage-v8": "^2.1.8",
65
+ "happy-dom": "^15.11.7",
66
+ "tsup": "^8.3.5",
67
+ "typescript": "^5.7.2",
68
+ "vitest": "^2.1.8"
68
69
  }
69
- }
70
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Oksigenia SL
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.