add-to-calendar-button-react
Advanced tools
Comparing version 2.5.5 to 2.5.6
import 'add-to-calendar-button'; | ||
export type CustomLabelsObjectType = { | ||
[key: string]: string | null; | ||
}; | ||
export type AddToCalendarButtonProps = { | ||
proKey?: string; | ||
name?: string; | ||
dates?: { | ||
name?: string; | ||
description?: string; | ||
startDate?: string; | ||
startTime?: string; | ||
endDate?: string; | ||
endTime?: string; | ||
timeZone?: string; | ||
location?: string; | ||
status?: 'TENTATIVE' | 'CONFIRMED' | 'CANCELLED'; | ||
sequence?: number; | ||
uid?: string; | ||
organizer?: string; | ||
attendee?: string; | ||
}[]; | ||
description?: string; | ||
startDate?: string; | ||
startTime?: string; | ||
endDate?: string; | ||
endTime?: string; | ||
timeZone?: string; | ||
location?: string; | ||
status?: 'TENTATIVE' | 'CONFIRMED' | 'CANCELLED'; | ||
sequence?: number; | ||
uid?: string; | ||
organizer?: string; | ||
attendee?: string; | ||
icsFile?: string; | ||
images?: string[] | string; | ||
recurrence?: string; | ||
recurrence_interval?: number; | ||
recurrence_until?: string; | ||
recurrence_count?: number; | ||
recurrence_byDay?: string; | ||
recurrence_byMonth?: string; | ||
recurrence_byMonthDay?: string; | ||
recurrence_weekstart?: string; | ||
availability?: 'busy' | 'free'; | ||
created?: string; | ||
updated?: string; | ||
identifier?: string; | ||
subscribe?: boolean; | ||
options?: ('Apple' | 'Google' | 'iCal' | 'Microsoft365' | 'MicrosoftTeams' | 'Outlook.com' | 'Yahoo')[]; | ||
optionsMobile?: ('Apple' | 'Google' | 'iCal' | 'Microsoft365' | 'MicrosoftTeams' | 'Outlook.com' | 'Yahoo')[]; | ||
optionsIOS?: ('Apple' | 'Google' | 'iCal' | 'Microsoft365' | 'MicrosoftTeams' | 'Outlook.com' | 'Yahoo')[]; | ||
iCalFileName?: string; | ||
listStyle?: 'dropdown' | 'dropdown-static' | 'dropup-static' | 'overlay' | 'modal'; | ||
buttonStyle?: 'default' | '3d' | 'flat' | 'round' | 'neumorphism' | 'text' | 'date' | 'custom' | 'none'; | ||
trigger?: 'hover' | 'click'; | ||
inline?: boolean; | ||
buttonsList?: boolean; | ||
hideIconButton?: boolean; | ||
hideIconList?: boolean; | ||
hideIconModal?: boolean; | ||
hideTextLabelButton?: boolean; | ||
hideTextLabelList?: boolean; | ||
hideBackground?: boolean; | ||
hideCheckmark?: boolean; | ||
hideBranding?: boolean; | ||
hideButton?: boolean; | ||
size?: string; | ||
label?: string; | ||
inlineRsvp?: string; | ||
customLabels?: CustomLabelsObjectType; | ||
customCss?: string; | ||
lightMode?: 'system' | 'dark' | 'light' | 'bodyScheme'; | ||
language?: 'en' | 'de' | 'nl' | 'fa' | 'fr' | 'es' | 'et' | 'pt' | 'tr' | 'zh' | 'ar' | 'hi' | 'pl' | 'ro' | 'id' | 'no' | 'fi' | 'sv' | 'cs' | 'ja' | 'it' | 'ko' | 'vi'; | ||
hideRichData?: boolean; | ||
ty?: object; | ||
rsvp?: object; | ||
bypassWebViewCheck?: boolean; | ||
debug?: boolean; | ||
cspnonce?: string; | ||
blockInteraction?: boolean; | ||
styleLight?: string; | ||
styleDark?: string; | ||
disabled?: boolean; | ||
hidden?: boolean; | ||
pastDateHandling?: string; | ||
proxy?: boolean; | ||
forceOverlay?: boolean; | ||
instance?: number; | ||
dev?: boolean; | ||
}; | ||
declare const AddToCalendarButton: (props: AddToCalendarButtonProps) => import("react/jsx-runtime").JSX.Element; | ||
import type { AddToCalendarButtonType } from 'add-to-calendar-button'; | ||
declare const AddToCalendarButton: (props: AddToCalendarButtonType) => import("react/jsx-runtime").JSX.Element; | ||
export default AddToCalendarButton; |
import AddToCalendarButton from './AddToCalendarButton'; | ||
import type { AddToCalendarButtonProps } from './AddToCalendarButton'; | ||
import { atcb_action } from 'add-to-calendar-button'; | ||
import type { ATCBActionEventConfig } from 'add-to-calendar-button'; | ||
export { AddToCalendarButton, atcb_action }; | ||
export type AddToCalendarButtonType = AddToCalendarButtonProps; | ||
export type AddToCalendarActionType = ATCBActionEventConfig; | ||
export type { AddToCalendarButtonType } from 'add-to-calendar-button'; |
{ | ||
"name": "add-to-calendar-button-react", | ||
"version": "2.5.5", | ||
"version": "2.5.6", | ||
"engines": { | ||
@@ -96,4 +96,4 @@ "node": ">=16.18.1", | ||
"dependencies": { | ||
"add-to-calendar-button": "^2.5.6" | ||
"add-to-calendar-button": "^2.5.7" | ||
} | ||
} |
![Add to Calendar Button React Wrapper](https://github.com/add2cal/add-to-calendar-button-react/blob/main/assets/readme-header.png?raw=true) | ||
![Version](https://img.shields.io/npm/v/add-to-calendar-button-react?style=for-the-badge&label=Version) | ||
[![Parent Script Version](https://img.shields.io/badge/Parent%20Script%20Version-v2.5.6-blue?style=for-the-badge)](https://github.com/add2cal/add-to-calendar-button) | ||
[![Parent Script Version](https://img.shields.io/badge/Parent%20Script%20Version-v2.5.7-blue?style=for-the-badge)](https://github.com/add2cal/add-to-calendar-button) | ||
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/add-to-calendar-button-react?style=for-the-badge)](https://www.npmjs.com/package/add-to-calendar-button-react) | ||
@@ -6,0 +6,0 @@ [![npm Installations](https://img.shields.io/npm/dt/add-to-calendar-button-react?label=npm%20Installations&style=for-the-badge)](https://www.npmjs.com/package/add-to-calendar-button-react) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
800375
6250