diff --git a/README.md b/README.md index b083318..d1736e8 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,6 @@ In terms of system support, **all modern browsers** (Chrome, Edge, Firefox, Safa See [add-to-calendar-button.com](https://add-to-calendar-button.com/) for a live demo and more documentation. -And remember to [⭐ **star** this repository](#) in order to stay up-to-date and save it for later! 🤗 -
--- @@ -124,6 +122,8 @@ If you need to use the type explicitely, you can import it via: import type { AddToCalendarButtonType } from 'add-to-calendar-button-react'; ``` +
+ ### All options and hidden features Find all information about the available props and how to configure specific features on the demo page at [add-to-calendar-button.com/configuration](https://add-to-calendar-button.com/configuration). @@ -138,8 +138,20 @@ Mind the difference to the web component! At this wrapper, you would use the ` +## 🤗 Support it! + +You like this project? It would be awesome if you would support it, so it lives on! + +- ⭐ [Star the repository](#) in order to stay up-to-date and save it for later! +- 📣 Spread the word! On Twitter/X, Medium, Discord, Facebook, ... +- ✍️ Leave a review at [ProductHunt](https://www.producthunt.com/products/add-to-calendar-button-generator/reviews). +- 💌 Send us some positive feedback at the [discussion board](https://github.com/add2cal/add-to-calendar-button/discussions). + +
+ ## ⚡ Changelog +- v2.3 : update to parent script v2.3; pastDateHandling, disabled option, static-dropup option, new languages - v2.2 : update to parent script v2.2; type fixes; "attendee" option; better lazy load of external css - v2.1 : update to parent script v2.1; type fixes - v2.0 : supporting latest major version of the parent script diff --git a/assets/readme-header.png b/assets/readme-header.png index cce7deb..ea04912 100644 Binary files a/assets/readme-header.png and b/assets/readme-header.png differ diff --git a/package-lock.json b/package-lock.json index 1c8ca9e..6005d74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "add-to-calendar-button-react", - "version": "2.2.9", + "version": "2.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "add-to-calendar-button-react", - "version": "2.2.9", + "version": "2.3.0", "license": "ELv2", "dependencies": { "add-to-calendar-button": "^2.3.0" diff --git a/package.json b/package.json index fbe6bec..6440a8a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "add-to-calendar-button-react", - "version": "2.2.9", + "version": "2.3.0", "engines": { "node": ">=16.18.1", "npm": ">=8.19.2" diff --git a/src/AddToCalendarButton.tsx b/src/AddToCalendarButton.tsx index 3521f74..2e8223d 100644 --- a/src/AddToCalendarButton.tsx +++ b/src/AddToCalendarButton.tsx @@ -70,7 +70,7 @@ export type AddToCalendarButtonProps = { customLabels?: object | string; customCss?: string; lightMode?: 'system' | 'dark' | 'light' | 'bodyScheme' | string; - language?: 'en' | 'de' | 'nl' | 'fr' | 'es' | 'pt' | 'tr' | 'zh' | 'ar' | 'hi' | 'pl' | 'ro' | 'id' | 'no' | 'fi' | 'sv' | 'cs' | 'ja' | 'it' | 'ko' | 'vi' | string; + language?: 'en' | 'de' | 'nl' | 'fa' | 'fr' | 'es' | 'et' | 'pt' | 'tr' | 'zh' | 'ar' | 'hi' | 'pl' | 'ro' | 'id' | 'no' | 'fi' | 'sv' | 'cs' | 'ja' | 'it' | 'ko' | 'vi' | string; hideRichData?: boolean | string; ty?: object | string; rsvp?: object | string;