add-to-calendar-button 2.0.1 → 2.0.2

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/.eslintrc.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "root": true,
3
+ "env": {
4
+ "browser": true,
5
+ "es2021": true
6
+ },
7
+ "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:security/recommended", "prettier"],
8
+ "parser": "@typescript-eslint/parser",
9
+ "parserOptions": {
10
+ "ecmaVersion": "latest",
11
+ "sourceType": "module",
12
+ "xss/no-mixed-html": [
13
+ 2,
14
+ {
15
+ "functions": {
16
+ ".encodeURIComponent": {
17
+ "passthrough": { "obj": true, "args": true }
18
+ }
19
+ }
20
+ }
21
+ ]
22
+ },
23
+ "plugins": ["@typescript-eslint"],
24
+ "ignorePatterns": ["*.min.*", "Gruntfile.js", "set-release.js", "dist/*", "demo/dist/*"],
25
+ "rules": {}
26
+ }
package/.npmignore ADDED
@@ -0,0 +1,35 @@
1
+ # THE .gitignore
2
+
3
+ .vscode/*
4
+ !.vscode/settings.json
5
+ !.vscode/tasks.json
6
+ !.vscode/launch.json
7
+ !.vscode/extensions.json
8
+ *.code-workspace
9
+ .history/
10
+
11
+
12
+
13
+ # PLUS what else should not be on npm
14
+
15
+ /.github
16
+ /demo
17
+ /assets
18
+ /src
19
+ *.png
20
+ *.ico
21
+ *.gif
22
+ *.svg
23
+ *.ics
24
+ Gruntfile.js
25
+ security.md
26
+ package-lock.json
27
+ set-release.js
28
+ .prettierignore
29
+ .prettierrc.json
30
+ .stylelintrc.json
31
+ .gitattributes
32
+ *.min.js
33
+ *.map
34
+ .eslintrc.cjs
35
+ CNAME
package/CHANGELOG.md ADDED
@@ -0,0 +1,42 @@
1
+ # ⚡ Changelog (without patches)
2
+
3
+ ## Version 2
4
+
5
+ - v2.0 : "all" new version 2
6
+ - now a universally usable web component, working basically plug and play at almost all frontend stacks
7
+ - more customization (hide/show all parts individually) and easy styling (no longer necessary to include the css file manually)
8
+ - updates automatically when you change any attributes
9
+ - a lot of bug fixes and performance improvement
10
+ - prepared for better tracking
11
+ - full code refactoring
12
+ - new demo page with live playground
13
+ - using attributes instead of the innerContent JSON structure. Latter one is still supported, but not with to the full degree of the new version
14
+ - new license: ELv2
15
+ - potential breaks:
16
+ - backwards compatibility for old schema.org support (< v1.10) and parameter names prior v1.4 are no longer supported
17
+ - some rather rarely used parameters have changed (name and direction):
18
+ - background -> hideBackground
19
+ - checkmark -> hideCheckmark
20
+ - richData -> hideRichData
21
+
22
+ ## Version 1
23
+
24
+ - v1.18 : multi-date functionality, subscription support, busy/free option, style updates, code refactoring, timezone database update
25
+ - v1.17 : new license (Apache-2.0 with “Commons Clause”)
26
+ - v1.16 : custom sequence, UID, and status support; bundle size optimization
27
+ - v1.15 : more stable time zone management via the [TimeZones iCal Library](https://tz.add-to-calendar-technology.com/), more languages, easier recurrence, better schema.org support, organizer and image information
28
+ - v1.14 : dynamical dropdown/up, adjustable size
29
+ - v1.13 : dark mode
30
+ - v1.12 : style updates, sanitization, webView edge case support, text block overwrite option, change of repo ownership
31
+ - v1.11 : 1-option support, static ics support, instagram browser support, multi-lang, hide background option, recurring events, and more
32
+ - v1.10 : auto-generating schema.org and dropping support for its input
33
+ - v1.9 : big code style update + linter setup
34
+ - v1.8 : new button style
35
+ - v1.7 : new code structure and options + tons of optimizations
36
+ - v1.6 : supporting Microsoft Teams
37
+ - v1.5 : update to date format and better accesibility
38
+ - v1.4 : schema.org support (also changed some keys in the JSON!)
39
+ - v1.3 : new license (MIT with “Commons Clause”)
40
+ - v1.2 : inline and line break support
41
+ - v1.1 : npm functionality
42
+ - v1.0 : initial release
package/README.md CHANGED
@@ -277,7 +277,8 @@ Find all information about the available attributes and how to configure specifi
277
277
 
278
278
  ## ⚡ Changelog
279
279
 
280
- ![npm version](https://img.shields.io/npm/v/add-to-calendar-button?label=current%20version&style=for-the-badge)
280
+ ![npm Version](https://img.shields.io/npm/v/add-to-calendar-button?label=current%20version&style=for-the-badge)
281
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/add2cal/add-to-calendar-button/npm-publish.yml?label=build&style=for-the-badge)](https://github.com/add2cal/add-to-calendar-button/actions/workflows/npm-publish.yml)
281
282
 
282
283
  Find all changes in the dedicated file at [CHANGELOG.md](CHANGELOG.md).
283
284