diff --git a/package-lock.json b/package-lock.json index caf2deac..075f82f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "react-native-animatable": "1.3.3", "react-native-app-intro-slider": "4.0.4", "react-native-autolink": "4.0.0", - "react-native-calendars": "1.1301.0", + "react-native-calendars": "1.1306.0", "react-native-collapsible": "1.6.0", "react-native-gesture-handler": "1.10.3", "react-native-image-zoom-viewer": "3.0.1", @@ -55,7 +55,7 @@ "@types/jest": "26.0.24", "@types/react": "18.0.24", "@types/react-native": "0.66.5", - "@types/react-native-calendars": "1.1264.3", + "@types/react-native-calendars": "1.1264.7", "@types/react-native-push-notification": "7.3.3", "@types/react-native-vector-icons": "6.4.10", "@types/react-test-renderer": "18.0.0", @@ -5221,14 +5221,14 @@ } }, "node_modules/@types/react-native-calendars": { - "version": "1.1264.3", - "resolved": "https://registry.npmjs.org/@types/react-native-calendars/-/react-native-calendars-1.1264.3.tgz", - "integrity": "sha512-0PCHDtDFC7Q2YZgtAjoHS3amPmOhUsMysyS6YNYjDqKmpJ4Qir+CK8RHTN+b+r93X//eaGyYaIbu9vCh+ydKlw==", + "version": "1.1264.7", + "resolved": "https://registry.npmjs.org/@types/react-native-calendars/-/react-native-calendars-1.1264.7.tgz", + "integrity": "sha512-QaGc7SIXB4xwyEoh03OVGjn+UiAEq8yw9xW5/68oxQx9xZBMvMbdu08G7vWR4RbRfoPBahZjczrcc1202SShiA==", "dev": true, "dependencies": { "@types/react": "*", - "@types/react-native": "*", - "@types/xdate": "*" + "@types/xdate": "*", + "react-native": "*" } }, "node_modules/@types/react-native-push-notification": { @@ -15528,9 +15528,9 @@ } }, "node_modules/react-native-calendars": { - "version": "1.1301.0", - "resolved": "https://registry.npmjs.org/react-native-calendars/-/react-native-calendars-1.1301.0.tgz", - "integrity": "sha512-KfDntslK2qKoVl99Hm9bKZuFrdQTru1Ss2t12bCwKuhrKRh5Ho1wgXBAY5SE9sxxWy8mbydmOcLnmxl7BeYWXw==", + "version": "1.1306.0", + "resolved": "https://registry.npmjs.org/react-native-calendars/-/react-native-calendars-1.1306.0.tgz", + "integrity": "sha512-q+RQsti8Y+sYuCzL8avh/zF5hswZLYBF9ja8eSBhqhluh0Uszyf7xobgurimi1FUXZNM0NoL1G/J3f0V46HE/Q==", "dependencies": { "hoist-non-react-statics": "^3.3.1", "lodash": "^4.17.15", @@ -21780,14 +21780,14 @@ } }, "@types/react-native-calendars": { - "version": "1.1264.3", - "resolved": "https://registry.npmjs.org/@types/react-native-calendars/-/react-native-calendars-1.1264.3.tgz", - "integrity": "sha512-0PCHDtDFC7Q2YZgtAjoHS3amPmOhUsMysyS6YNYjDqKmpJ4Qir+CK8RHTN+b+r93X//eaGyYaIbu9vCh+ydKlw==", + "version": "1.1264.7", + "resolved": "https://registry.npmjs.org/@types/react-native-calendars/-/react-native-calendars-1.1264.7.tgz", + "integrity": "sha512-QaGc7SIXB4xwyEoh03OVGjn+UiAEq8yw9xW5/68oxQx9xZBMvMbdu08G7vWR4RbRfoPBahZjczrcc1202SShiA==", "dev": true, "requires": { "@types/react": "*", - "@types/react-native": "*", - "@types/xdate": "*" + "@types/xdate": "*", + "react-native": "*" } }, "@types/react-native-push-notification": { @@ -29587,9 +29587,9 @@ } }, "react-native-calendars": { - "version": "1.1301.0", - "resolved": "https://registry.npmjs.org/react-native-calendars/-/react-native-calendars-1.1301.0.tgz", - "integrity": "sha512-KfDntslK2qKoVl99Hm9bKZuFrdQTru1Ss2t12bCwKuhrKRh5Ho1wgXBAY5SE9sxxWy8mbydmOcLnmxl7BeYWXw==", + "version": "1.1306.0", + "resolved": "https://registry.npmjs.org/react-native-calendars/-/react-native-calendars-1.1306.0.tgz", + "integrity": "sha512-q+RQsti8Y+sYuCzL8avh/zF5hswZLYBF9ja8eSBhqhluh0Uszyf7xobgurimi1FUXZNM0NoL1G/J3f0V46HE/Q==", "requires": { "hoist-non-react-statics": "^3.3.1", "lodash": "^4.17.15", diff --git a/package.json b/package.json index f89b8845..cfdc7114 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "react-native-animatable": "1.3.3", "react-native-app-intro-slider": "4.0.4", "react-native-autolink": "4.0.0", - "react-native-calendars": "1.1301.0", + "react-native-calendars": "1.1306.0", "react-native-collapsible": "1.6.0", "react-native-gesture-handler": "1.10.3", "react-native-image-zoom-viewer": "3.0.1", @@ -68,7 +68,7 @@ "@types/jest": "26.0.24", "@types/react": "18.0.24", "@types/react-native": "0.66.5", - "@types/react-native-calendars": "1.1264.3", + "@types/react-native-calendars": "1.1264.7", "@types/react-native-push-notification": "7.3.3", "@types/react-native-vector-icons": "6.4.10", "@types/react-test-renderer": "18.0.0", diff --git a/src/components/Overrides/CustomAgenda.tsx b/src/components/Overrides/CustomAgenda.tsx index c624122c..9181aa19 100644 --- a/src/components/Overrides/CustomAgenda.tsx +++ b/src/components/Overrides/CustomAgenda.tsx @@ -39,6 +39,8 @@ function CustomAgenda(props: PropsType) { ref={props.onRef} theme={{ backgroundColor: theme.colors.agendaBackgroundColor, + // @ts-ignore types haven't been updated yet + reservationsBackgroundColor: theme.colors.agendaBackgroundColor, calendarBackground: theme.colors.background, textSectionTitleColor: theme.colors.agendaDayTextColor, selectedDayBackgroundColor: theme.colors.primary,