progressive-share-button 1.0.0 → 1.0.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 CHANGED
@@ -5,20 +5,31 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.1] - 2023-04-10
8
9
 
9
- ## [1.0.0-alpha.11] - 2021-03-01
10
+ ### Fixed
11
+
12
+ - There are no code changes to this version, but the documentation now correctly shows the correct import statement for the module. The previous version had the incorrect import statement showing the module having a default export, but it does not. The import statement should be `import { ProgressiveShareButton } from 'progressive-share-button';`.
13
+ - Fixed the dates in this changelog. I had 2021 instead of 2023. I'm not sure how I missed that!
14
+
15
+
16
+ ## [1.0.0] - 2023-03-04
17
+
18
+ - Initial release of 1.0.0.
19
+
20
+ ## [1.0.0-alpha.11] - 2023-03-01
10
21
 
11
22
  ### Fixed
12
23
 
13
24
  - Fixed: Previous solution didn't fix build system issue. Switched the build script to use `tsc` instead of `vite` to build the package.
14
25
 
15
- ## [1.0.0-alpha.10] - 2021-03-01
26
+ ## [1.0.0-alpha.10] - 2023-03-01
16
27
 
17
28
  ### Fixed
18
29
 
19
30
  - Fixed: The build system didn't include the @types directory in the published package. This has been fixed.
20
31
 
21
- ## [1.0.0-alpha.9] - 2021-03-01
32
+ ## [1.0.0-alpha.9] - 2023-03-01
22
33
 
23
34
  ### Added
24
35
 
package/README.md CHANGED
@@ -49,7 +49,7 @@ main.js, if installed with npm
49
49
 
50
50
  ```javascript
51
51
  // Import the component
52
- import ProgressiveShareButton from 'progressive-share-button';
52
+ import { ProgressiveShareButton } from 'progressive-share-button';
53
53
  // Initialize the component
54
54
  ProgressiveShareButton();
55
55
  ```
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: progressive-share-button
3
- * version: v1.0.0
3
+ * version: v1.0.1
4
4
  * description: A web componet that creates a OS-native share button.
5
5
  * author: John F. Morton <john@johnfmorton.com> (https://supergeekery.com)
6
6
  * repository: https://github.com/johnfmorton/progressive-share-button
@@ -23,7 +23,7 @@ class ProgressiveShareButtonClass extends HTMLElement {
23
23
  } else if (size) {
24
24
  return size;
25
25
  } else {
26
- return 24 + "px";
26
+ return "24px";
27
27
  }
28
28
  };
29
29
  function _isNumeric(value) {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: progressive-share-button
3
- * version: v1.0.0
3
+ * version: v1.0.1
4
4
  * description: A web componet that creates a OS-native share button.
5
5
  * author: John F. Morton <john@johnfmorton.com> (https://supergeekery.com)
6
6
  * repository: https://github.com/johnfmorton/progressive-share-button
@@ -27,7 +27,7 @@ var __publicField = (obj, key, value) => {
27
27
  } else if (size) {
28
28
  return size;
29
29
  } else {
30
- return 24 + "px";
30
+ return "24px";
31
31
  }
32
32
  };
33
33
  function _isNumeric(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "progressive-share-button",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A web componet that creates a OS-native share button.",
5
5
  "files": [
6
6
  "dist"