From dcecd8d4f26cfcddc9fcba3f8b61f43f28da02b5 Mon Sep 17 00:00:00 2001 From: Patel Divyesh Date: Mon, 11 Dec 2023 22:22:14 +0530 Subject: [PATCH 1/6] Imporved events page --- .../EventCalendar/EventCalendar.module.css | 34 +++++------- .../EventCalendar/EventCalendar.test.tsx | 8 +-- .../EventCalendar/EventCalendar.tsx | 17 ++++-- .../EventListCard/EventListCard.module.css | 2 +- .../OrganizationEvents.module.css | 37 ++----------- .../OrganizationEvents.test.tsx | 2 - .../OrganizationEvents/OrganizationEvents.tsx | 53 +++++++------------ 7 files changed, 54 insertions(+), 99 deletions(-) diff --git a/src/components/EventCalendar/EventCalendar.module.css b/src/components/EventCalendar/EventCalendar.module.css index 37ecb175d4..a422d65986 100644 --- a/src/components/EventCalendar/EventCalendar.module.css +++ b/src/components/EventCalendar/EventCalendar.module.css @@ -1,12 +1,12 @@ .calendar { - /* display: flex; - flex-direction: column; */ font-family: sans-serif; font-size: 1.2rem; + margin-bottom: 20px; } .calendar__header { display: flex; margin-bottom: 2rem; + align-items: center; } .calendar__header_month { margin: 0.5rem; @@ -14,24 +14,24 @@ font-weight: bold; } .button { - background-color: rgba(40, 167, 69, 1); - color: #fff; - padding: 1px; + background-color: rgba(0, 0, 0, 0); + color: #707070; font-weight: bold; + border: 0px; } .calendar__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); - margin-bottom: 1rem; background-color: black; + height: 60px; } .weekday { display: flex; justify-content: center; align-items: center; - border: 1px solid white; color: #fff; - background-color: rgba(40, 167, 69, 1); + background-color: #31bb6b; + font-weight: 600; } .calendar__days { display: grid; @@ -40,13 +40,13 @@ } .day { background-color: #ffffff; - border: 1px solid rgb(0, 0, 0); padding-bottom: 4rem; padding-left: 0.3rem; padding-right: 0.3rem; background-color: white; - border: 1px solid #707070; - color: #212121; + border: 1px solid #8d8d8d55; + color: #4b4b4b; + font-weight: 600; } .day__outside { background-color: #eeeded; @@ -60,23 +60,15 @@ background-color: #def6e1; font-weight: 700; text-decoration: underline; - color: #006000; + color: #31bb6b; } .btn__today { - background: #06960f; transition: ease-in all 200ms; - border-radius: 11px; - box-shadow: 0px 1px 3px #666666; font-family: Arial; color: #ffffff; - font-size: 20px; + font-size: 18px; padding: 10px 20px 10px 20px; text-decoration: none; margin-left: 20px; border: none; } - -.btn__today:hover { - background: #006000; - text-decoration: none; -} diff --git a/src/components/EventCalendar/EventCalendar.test.tsx b/src/components/EventCalendar/EventCalendar.test.tsx index 89d76329ac..19ca583977 100644 --- a/src/components/EventCalendar/EventCalendar.test.tsx +++ b/src/components/EventCalendar/EventCalendar.test.tsx @@ -135,10 +135,10 @@ describe('Calendar', () => { ); - const prevButton = screen.getByText('<'); + const prevButton = screen.getByTestId('prevmonth'); fireEvent.click(prevButton); //testing next month button - const nextButton = screen.getByText('>'); + const nextButton = screen.getByTestId('nextmonth'); fireEvent.click(nextButton); //Testing year change for (let index = 0; index < 13; index++) { @@ -203,11 +203,11 @@ describe('Calendar', () => { ); //Changing the month - const prevButton = screen.getByText('<'); + const prevButton = screen.getByTestId('prevmonth'); fireEvent.click(prevButton); // Clicking today button - const todayButton = screen.getByText('Today'); + const todayButton = screen.getByTestId('nextmonth'); fireEvent.click(todayButton); // const todayCell = screen.getByText(new Date().getDate().toString()); // expect(todayCell).toHaveClass(styles.day__today); diff --git a/src/components/EventCalendar/EventCalendar.tsx b/src/components/EventCalendar/EventCalendar.tsx index 4cb027647d..3d6196ca59 100644 --- a/src/components/EventCalendar/EventCalendar.tsx +++ b/src/components/EventCalendar/EventCalendar.tsx @@ -3,6 +3,7 @@ import dayjs from 'dayjs'; import Button from 'react-bootstrap/Button'; import React, { useState, useEffect } from 'react'; import styles from './EventCalendar.module.css'; +import { ChevronLeft, ChevronRight } from '@mui/icons-material'; interface InterfaceEvent { _id: string; @@ -208,8 +209,12 @@ const Calendar: React.FC = ({ return (
-
= ({ {months[currentMonth]} {currentYear}
-
diff --git a/src/components/EventListCard/EventListCard.module.css b/src/components/EventListCard/EventListCard.module.css index 1648c9d16a..edca94b60c 100644 --- a/src/components/EventListCard/EventListCard.module.css +++ b/src/components/EventListCard/EventListCard.module.css @@ -46,7 +46,7 @@ .cards { width: 100%; - background: rgba(40, 167, 69, 1); + background: #31bb6b; padding: 2px 3px; border-radius: 5px; border: 1px solid #e8e8e8; diff --git a/src/screens/OrganizationEvents/OrganizationEvents.module.css b/src/screens/OrganizationEvents/OrganizationEvents.module.css index 05a70c3fa3..ec56b3f2ce 100644 --- a/src/screens/OrganizationEvents/OrganizationEvents.module.css +++ b/src/screens/OrganizationEvents/OrganizationEvents.module.css @@ -36,12 +36,7 @@ display: flex; flex-direction: row; } -.sidebar { - z-index: 0; - padding-top: 5px; - margin: 0; - height: 100%; -} + .sidebar:after { content: ''; background-color: #f7f7f7; @@ -52,12 +47,6 @@ left: 94%; display: block; } -.sidebarsticky { - padding-left: 45px; -} -.sidebarsticky > p { - margin-top: -10px; -} .navitem { padding-left: 27%; @@ -75,15 +64,7 @@ border-bottom: 3px solid #31bb6b; width: 15%; } -.searchtitle { - color: #707070; - font-weight: 600; - font-size: 18px; - margin-bottom: 20px; - padding-bottom: 5px; - border-bottom: 3px solid #31bb6b; - width: 60%; -} + .logintitleadmin { color: #707070; font-weight: 600; @@ -113,6 +94,7 @@ .justifysp { display: flex; justify-content: space-between; + margin-top: 20px; } @media screen and (max-width: 575.5px) { .justifysp { @@ -212,18 +194,7 @@ transition: transform 0.2s, box-shadow 0.2s; width: 100%; } -.sidebarsticky > input { - text-decoration: none; - margin-bottom: 50px; - border-color: #e8e5e5; - width: 80%; - border-radius: 7px; - padding-top: 5px; - padding-bottom: 5px; - padding-right: 10px; - padding-left: 10px; - box-shadow: none; -} + .datediv { display: flex; flex-direction: row; diff --git a/src/screens/OrganizationEvents/OrganizationEvents.test.tsx b/src/screens/OrganizationEvents/OrganizationEvents.test.tsx index 9f79991274..7dec317318 100644 --- a/src/screens/OrganizationEvents/OrganizationEvents.test.tsx +++ b/src/screens/OrganizationEvents/OrganizationEvents.test.tsx @@ -192,8 +192,6 @@ describe('Organisation Events Page', () => { expect(container.textContent).not.toBe('Loading data...'); await wait(); expect(container.textContent).toMatch('Events'); - expect(container.textContent).toMatch('Search Date'); - expect(container.textContent).toMatch('Events'); expect(window.location).toBeAt('/orglist'); }); diff --git a/src/screens/OrganizationEvents/OrganizationEvents.tsx b/src/screens/OrganizationEvents/OrganizationEvents.tsx index 36852389eb..6fc614037b 100644 --- a/src/screens/OrganizationEvents/OrganizationEvents.tsx +++ b/src/screens/OrganizationEvents/OrganizationEvents.tsx @@ -1,7 +1,5 @@ import type { ChangeEvent } from 'react'; import React, { useState } from 'react'; -import Row from 'react-bootstrap/Row'; -import Col from 'react-bootstrap/Col'; import Button from 'react-bootstrap/Button'; import Modal from 'react-bootstrap/Modal'; import DatePicker from 'react-datepicker'; @@ -10,7 +8,6 @@ import { useMutation, useQuery } from '@apollo/client'; import { toast } from 'react-toastify'; import { useTranslation } from 'react-i18next'; import EventCalendar from 'components/EventCalendar/EventCalendar'; -import Calendar from 'react-calendar'; import './calendar.css'; import styles from './OrganizationEvents.module.css'; @@ -150,37 +147,25 @@ function organizationEvents(): JSX.Element { return ( <> - - -
-
-
Search Date
- -
-
- - -
- -

{t('events')}

- -
-
- - -
+
+
+

{t('events')}

+ +
+
+
From 591fbcbddb7f92d2eb388d14ac183fc2683dd695 Mon Sep 17 00:00:00 2001 From: Patel Divyesh Date: Tue, 12 Dec 2023 10:13:24 +0530 Subject: [PATCH 2/6] Minor retriggering commit --- src/components/EventCalendar/EventCalendar.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EventCalendar/EventCalendar.module.css b/src/components/EventCalendar/EventCalendar.module.css index a422d65986..bc96780f46 100644 --- a/src/components/EventCalendar/EventCalendar.module.css +++ b/src/components/EventCalendar/EventCalendar.module.css @@ -14,8 +14,8 @@ font-weight: bold; } .button { - background-color: rgba(0, 0, 0, 0); color: #707070; + background-color: rgba(0, 0, 0, 0); font-weight: bold; border: 0px; } From f183b992286a3fc96de9db2ebbec416c2c22c524 Mon Sep 17 00:00:00 2001 From: Patel Divyesh Date: Fri, 15 Dec 2023 15:50:22 +0530 Subject: [PATCH 3/6] Updated event list design in date --- .../EventCalendar/EventCalendar.module.css | 48 ++++++++++- .../EventCalendar/EventCalendar.tsx | 84 +++++++++++++------ .../EventListCard/EventListCard.module.css | 21 ++--- .../EventListCard/EventListCard.tsx | 26 ++---- .../OrganizationEvents.module.css | 11 --- 5 files changed, 116 insertions(+), 74 deletions(-) diff --git a/src/components/EventCalendar/EventCalendar.module.css b/src/components/EventCalendar/EventCalendar.module.css index bc96780f46..77d78f1ecc 100644 --- a/src/components/EventCalendar/EventCalendar.module.css +++ b/src/components/EventCalendar/EventCalendar.module.css @@ -35,18 +35,18 @@ } .calendar__days { display: grid; - grid-template-columns: repeat(7, 1fr); + grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(6, 1fr); } .day { background-color: #ffffff; - padding-bottom: 4rem; padding-left: 0.3rem; padding-right: 0.3rem; background-color: white; border: 1px solid #8d8d8d55; color: #4b4b4b; font-weight: 600; + height: 8rem; } .day__outside { background-color: #eeeded; @@ -72,3 +72,47 @@ margin-left: 20px; border: none; } +.btn__more { + border: 0px; + font-size: 14px; + background-color: initial; + color: #31bb6b; + font-weight: 600; + transition: all 200ms; + position: relative; + display: block; +} +.btn__more:hover { + color: #3ce080; +} + +.expand_event_list { + display: block; +} + +.expand_list_container { + width: 200px; + max-height: 250px; + z-index: 10; + position: relative; + left: auto; + right: auto; + overflow: auto; + padding: 10px 4px 0px 4px; + background-color: rgb(241, 241, 241); + border: 1px solid rgb(201, 201, 201); + border-radius: 5px; +} + +@media only screen and (max-width: 700px) { + .event_list { + display: none; + } + .expand_list_container { + width: 150px; + padding: 4px 4px 0px 4px; + } + .day { + height: 5rem; + } +} diff --git a/src/components/EventCalendar/EventCalendar.tsx b/src/components/EventCalendar/EventCalendar.tsx index 3d6196ca59..3332b2ee90 100644 --- a/src/components/EventCalendar/EventCalendar.tsx +++ b/src/components/EventCalendar/EventCalendar.tsx @@ -76,6 +76,7 @@ const Calendar: React.FC = ({ const [currentMonth, setCurrentMonth] = useState(today.getMonth()); const [currentYear, setCurrentYear] = useState(today.getFullYear()); const [events, setEvents] = useState(null); + const [expanded, setExpanded] = useState(-1); const filterData = ( eventData: InterfaceEvent[], @@ -163,6 +164,7 @@ const Calendar: React.FC = ({ currentDate.getDate() + 1 ); } + return days.map((date, index) => { const className = [ date.toLocaleDateString() === today.toLocaleDateString() //Styling for today day cell @@ -172,34 +174,64 @@ const Calendar: React.FC = ({ selectedDate?.getTime() === date.getTime() ? styles.day__selected : '', styles.day, ].join(' '); + + const toggleExpand = (index: number): void => { + if (expanded === index) { + setExpanded(-1); + } else { + setExpanded(index); + } + }; + + const allEventsList: any = events + ?.filter((datas) => { + if (datas.startDate == dayjs(date).format('YYYY-MM-DD')) return datas; + }) + .map((datas: InterfaceEvent) => { + return ( + + ); + }); + return ( -
+
{date.getDate()} -
- {events - ?.filter((datas) => { - if (datas.startDate == dayjs(date).format('YYYY-MM-DD')) - return datas; - }) - .map((datas: InterfaceEvent) => { - return ( - - ); - })} +
+
+ {expanded === index ? allEventsList : allEventsList?.slice(0, 2)} +
+ {allEventsList?.length > 2 && ( + + )}
); diff --git a/src/components/EventListCard/EventListCard.module.css b/src/components/EventListCard/EventListCard.module.css index edca94b60c..09f4b5fcdd 100644 --- a/src/components/EventListCard/EventListCard.module.css +++ b/src/components/EventListCard/EventListCard.module.css @@ -21,20 +21,17 @@ position: relative; overflow: hidden; transition: all 0.3s; + margin-bottom: 5px; } .dispflex { display: flex; - height: 50px; - transition: transform 0.3s ease; cursor: pointer; } -.cards:hover { - transform: scale(2.5); - z-index: 5; -} -.cards:hover h2 { - font-size: 0.4vmax; - margin-bottom: 0; +.eventtitle { + margin-bottom: 0px; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; } .iconContainer { display: flex; @@ -97,11 +94,7 @@ .checkboxdiv > label > input { margin-left: 10px; } -.dispflex { - display: flex; - margin-bottom: 5px; - margin-right: 5px; -} + .dispflex > input { width: 20%; border: none; diff --git a/src/components/EventListCard/EventListCard.tsx b/src/components/EventListCard/EventListCard.tsx index ad21205852..9e663b3b3d 100644 --- a/src/components/EventListCard/EventListCard.tsx +++ b/src/components/EventListCard/EventListCard.tsx @@ -142,27 +142,11 @@ function eventListCard(props: InterfaceEventListCardProps): JSX.Element { return ( <> -
-
-
-

- {props.eventName ? ( - <> - {props.eventName.length > 150 ? ( - <>{props.eventName.substring(0, 150)}... - ) : ( - <>{props.eventName} - )} - - ) : ( - <>Dogs Care - )} -

-
+
+
+

+ {props.eventName ? <>{props.eventName} : <>Dogs Care} +

{/* preview modal */} diff --git a/src/screens/OrganizationEvents/OrganizationEvents.module.css b/src/screens/OrganizationEvents/OrganizationEvents.module.css index ec56b3f2ce..31024bd061 100644 --- a/src/screens/OrganizationEvents/OrganizationEvents.module.css +++ b/src/screens/OrganizationEvents/OrganizationEvents.module.css @@ -96,18 +96,7 @@ justify-content: space-between; margin-top: 20px; } -@media screen and (max-width: 575.5px) { - .justifysp { - padding-left: 55px; - display: flex; - justify-content: space-between; - width: 100%; - } - .mainpageright { - width: 90%; - } -} .addbtn { border: 1px solid #e8e5e5; box-shadow: 0 2px 2px #e8e5e5; From a7613b5785666e50f99a9bfc832d41e1f803c3fd Mon Sep 17 00:00:00 2001 From: Patel Divyesh Date: Fri, 15 Dec 2023 17:16:18 +0530 Subject: [PATCH 4/6] Added test for changed lines --- .../EventCalendar/EventCalendar.test.tsx | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/src/components/EventCalendar/EventCalendar.test.tsx b/src/components/EventCalendar/EventCalendar.test.tsx index 19ca583977..4559cdff6c 100644 --- a/src/components/EventCalendar/EventCalendar.test.tsx +++ b/src/components/EventCalendar/EventCalendar.test.tsx @@ -212,4 +212,64 @@ describe('Calendar', () => { // const todayCell = screen.getByText(new Date().getDate().toString()); // expect(todayCell).toHaveClass(styles.day__today); }); + it('Should expand and contract when clicked on more and less button', () => { + const multipleEventData = [ + { + _id: '1', + title: 'Event 1', + description: 'This is event 1', + startDate: new Date().toISOString().split('T')[0], + endDate: new Date().toISOString().split('T')[0], + location: 'Los Angeles', + startTime: '14:00', + endTime: '16:00', + allDay: false, + recurring: false, + isPublic: true, + isRegisterable: true, + }, + { + _id: '2', + title: 'Event 2', + description: 'This is event 2', + startDate: new Date().toISOString().split('T')[0], + endDate: new Date().toISOString().split('T')[0], + location: 'Los Angeles', + startTime: '14:00', + endTime: '16:00', + allDay: false, + recurring: false, + isPublic: true, + isRegisterable: true, + }, + { + _id: '3', + title: 'Event 3', + description: 'This is event 3', + startDate: new Date().toISOString().split('T')[0], + endDate: new Date().toISOString().split('T')[0], + location: 'Los Angeles', + startTime: '14:00', + endTime: '16:00', + allDay: false, + recurring: false, + isPublic: true, + isRegisterable: true, + }, + ]; + + render( + + + + + + ); + const moreButton = screen.getByText('More'); + fireEvent.click(moreButton); + expect(screen.getByText('Event 3')).toBeInTheDocument(); + const lessButton = screen.getByText('Less'); + fireEvent.click(lessButton); + expect(screen.queryByText('Event 3')).not.toBeInTheDocument(); + }); }); From 4ab5da6aea9df536425f76d32711a88c6115102a Mon Sep 17 00:00:00 2001 From: Patel Divyesh Date: Fri, 15 Dec 2023 23:25:20 +0530 Subject: [PATCH 5/6] Removed unnecessary code and package --- package-lock.json | 363 +++++++++----------- package.json | 1 - src/screens/OrganizationEvents/calendar.css | 146 -------- 3 files changed, 154 insertions(+), 356 deletions(-) delete mode 100644 src/screens/OrganizationEvents/calendar.css diff --git a/package-lock.json b/package-lock.json index 66da892af6..12fc506498 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,6 @@ "prettier": "^2.3.2", "react": "^17.0.2", "react-bootstrap": "^2.7.4", - "react-calendar": "^4.2.1", "react-datepicker": "^4.2.0", "react-dom": "^17.0.2", "react-google-recaptcha": "^2.1.0", @@ -2735,6 +2734,21 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/@eslint/eslintrc/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/@eslint/eslintrc/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -2765,6 +2779,11 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, "node_modules/@eslint/eslintrc/node_modules/type-fest": { "version": "0.20.2", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", @@ -5041,19 +5060,6 @@ "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" }, - "node_modules/@types/lodash": { - "version": "4.14.195", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.195.tgz", - "integrity": "sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==" - }, - "node_modules/@types/lodash.memoize": { - "version": "4.1.7", - "resolved": "https://registry.npmjs.org/@types/lodash.memoize/-/lodash.memoize-4.1.7.tgz", - "integrity": "sha512-lGN7WeO4vO6sICVpf041Q7BX/9k1Y24Zo3FY0aUezr1QlKznpjzsDk3T3wvH8ofYzoK0QupN9TWcFAFZlyPwQQ==", - "dependencies": { - "@types/lodash": "*" - } - }, "node_modules/@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -5633,14 +5639,6 @@ "@xtuc/long": "4.2.2" } }, - "node_modules/@wojtekmaj/date-utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@wojtekmaj/date-utils/-/date-utils-1.4.1.tgz", - "integrity": "sha512-Fjs0KJz0//0AmlJVFx9AQmWpmxOTw4foDo4DKoswWVVjHsna4rdu+fXwid5YHNgzv/wHi9AkZCRPmHWsf890lg==", - "funding": { - "url": "https://github.com/wojtekmaj/date-utils?sponsor=1" - } - }, "node_modules/@wojtekmaj/enzyme-adapter-react-17": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/@wojtekmaj/enzyme-adapter-react-17/-/enzyme-adapter-react-17-0.8.0.tgz", @@ -5904,13 +5902,13 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dependencies": { "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", "uri-js": "^4.2.2" }, "funding": { @@ -5934,34 +5932,6 @@ } } }, - "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, - "node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, "node_modules/ansi-align": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", @@ -6475,6 +6445,34 @@ "webpack": ">=2" } }, + "node_modules/babel-loader/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/babel-loader/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/babel-loader/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, "node_modules/babel-loader/node_modules/loader-utils": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", @@ -8178,21 +8176,6 @@ } } }, - "node_modules/css-minimizer-webpack-plugin/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, "node_modules/css-minimizer-webpack-plugin/node_modules/ajv-keywords": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", @@ -8204,11 +8187,6 @@ "ajv": "^8.8.2" } }, - "node_modules/css-minimizer-webpack-plugin/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/css-minimizer-webpack-plugin/node_modules/schema-utils": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", @@ -9974,21 +9952,6 @@ "webpack": "^5.0.0" } }, - "node_modules/eslint-webpack-plugin/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, "node_modules/eslint-webpack-plugin/node_modules/ajv-keywords": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", @@ -10013,11 +9976,6 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "node_modules/eslint-webpack-plugin/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/eslint-webpack-plugin/node_modules/schema-utils": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", @@ -10050,6 +10008,21 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/eslint/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/eslint/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -10144,6 +10117,11 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/eslint/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, "node_modules/eslint/node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -11054,6 +11032,29 @@ } } }, + "node_modules/fork-ts-checker-webpack-plugin/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/fork-ts-checker-webpack-plugin/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, "node_modules/fork-ts-checker-webpack-plugin/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -11098,6 +11099,11 @@ "node": ">=10" } }, + "node_modules/fork-ts-checker-webpack-plugin/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, "node_modules/fork-ts-checker-webpack-plugin/node_modules/schema-utils": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", @@ -11368,18 +11374,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/get-user-locale": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/get-user-locale/-/get-user-locale-2.3.0.tgz", - "integrity": "sha512-I3rQvAUwu2nauRD9YyQBSXVFJZixNouwA+eZld51Sn4Pn0N1qFbgcgOi/nPigJPQlNY519mT95fiSPRgflQiTA==", - "dependencies": { - "@types/lodash.memoize": "^4.1.7", - "lodash.memoize": "^4.1.1" - }, - "funding": { - "url": "https://github.com/wojtekmaj/get-user-locale?sponsor=1" - } - }, "node_modules/get-value": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", @@ -11734,6 +11728,28 @@ "node": ">=6" } }, + "node_modules/har-validator/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/har-validator/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, "node_modules/hard-rejection": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", @@ -15914,9 +15930,9 @@ "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" }, "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -16638,21 +16654,6 @@ "webpack": "^5.0.0" } }, - "node_modules/mini-css-extract-plugin/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, "node_modules/mini-css-extract-plugin/node_modules/ajv-keywords": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", @@ -16664,11 +16665,6 @@ "ajv": "^8.8.2" } }, - "node_modules/mini-css-extract-plugin/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/mini-css-extract-plugin/node_modules/schema-utils": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", @@ -19824,25 +19820,6 @@ } } }, - "node_modules/react-calendar": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/react-calendar/-/react-calendar-4.3.0.tgz", - "integrity": "sha512-TyCv8NbXnqXADyXNtMG0szkGvJNH3NG/WMTEE2q6g3RqAsFNyHwYbQD5Kvb6jRV/CqO0WB+oMCtkxblprdeT5A==", - "dependencies": { - "@types/react": "*", - "@wojtekmaj/date-utils": "^1.1.3", - "clsx": "^1.2.1", - "get-user-locale": "^2.2.1", - "prop-types": "^15.6.0" - }, - "funding": { - "url": "https://github.com/wojtekmaj/react-calendar?sponsor=1" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/react-datepicker": { "version": "4.16.0", "resolved": "https://registry.npmjs.org/react-datepicker/-/react-datepicker-4.16.0.tgz", @@ -21700,6 +21677,34 @@ "url": "https://opencollective.com/webpack" } }, + "node_modules/schema-utils/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/schema-utils/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/schema-utils/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, "node_modules/scss-tokenizer": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.4.3.tgz", @@ -24427,21 +24432,6 @@ "webpack": "^4.0.0 || ^5.0.0" } }, - "node_modules/webpack-dev-middleware/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, "node_modules/webpack-dev-middleware/node_modules/ajv-keywords": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", @@ -24453,11 +24443,6 @@ "ajv": "^8.8.2" } }, - "node_modules/webpack-dev-middleware/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/webpack-dev-middleware/node_modules/schema-utils": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", @@ -24534,21 +24519,6 @@ } } }, - "node_modules/webpack-dev-server/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, "node_modules/webpack-dev-server/node_modules/ajv-keywords": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", @@ -24560,11 +24530,6 @@ "ajv": "^8.8.2" } }, - "node_modules/webpack-dev-server/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/webpack-dev-server/node_modules/schema-utils": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", @@ -24835,21 +24800,6 @@ "node": ">=10.0.0" } }, - "node_modules/workbox-build/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, "node_modules/workbox-build/node_modules/fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", @@ -24864,11 +24814,6 @@ "node": ">=10" } }, - "node_modules/workbox-build/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/workbox-build/node_modules/source-map": { "version": "0.8.0-beta.0", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz", diff --git a/package.json b/package.json index 3a10e00509..122567c2d7 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "prettier": "^2.3.2", "react": "^17.0.2", "react-bootstrap": "^2.7.4", - "react-calendar": "^4.2.1", "react-datepicker": "^4.2.0", "react-dom": "^17.0.2", "react-google-recaptcha": "^2.1.0", diff --git a/src/screens/OrganizationEvents/calendar.css b/src/screens/OrganizationEvents/calendar.css deleted file mode 100644 index 80d4909822..0000000000 --- a/src/screens/OrganizationEvents/calendar.css +++ /dev/null @@ -1,146 +0,0 @@ -.react-calendar { - width: 250px; - max-width: 100%; - background: white; - border: 1px solid #a0a096; - font-family: Arial, Helvetica, sans-serif; - line-height: 1.125em; -} - -.react-calendar--doubleView { - width: 700px; -} - -.react-calendar--doubleView .react-calendar__viewContainer { - display: flex; - margin: -0.5em; -} - -.react-calendar--doubleView .react-calendar__viewContainer > * { - width: 50%; - margin: 0.5em; -} - -.react-calendar, -.react-calendar *, -.react-calendar *:before, -.react-calendar *:after { - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.react-calendar button { - margin: 0; - border: 0; - outline: none; -} - -.react-calendar button:enabled:hover { - cursor: pointer; -} - -.react-calendar__navigation { - display: flex; - height: 44px; - margin-bottom: 1em; -} - -.react-calendar__navigation button { - min-width: 44px; - background: none; -} - -.react-calendar__navigation button:disabled { - background-color: #f0f0f0; -} - -.react-calendar__navigation button:enabled:hover, -.react-calendar__navigation button:enabled:focus { - background-color: #e6e6e6; -} - -.react-calendar__month-view__weekdays { - text-align: center; - text-transform: uppercase; - font-weight: bold; - font-size: 0.75em; - color: #7f7f7f; -} - -.react-calendar__month-view__weekdays__weekday { - padding: 0.5em; -} - -.react-calendar__month-view__weekNumbers .react-calendar__tile { - display: flex; - align-items: center; - justify-content: center; - font-size: 0.75em; - font-weight: bold; - color: #7f7f7f; -} - -.react-calendar__month-view__days__day--weekend { - color: green !important; -} - -.react-calendar__month-view__days__day--neighboringMonth { - color: #757575; -} - -.react-calendar__year-view .react-calendar__tile, -.react-calendar__decade-view .react-calendar__tile, -.react-calendar__century-view .react-calendar__tile { - padding: 2em 0.5em; -} - -.react-calendar__tile { - max-width: 100%; - padding: 10px 6.6667px; - background: none; - text-align: center; - line-height: 16px; - color: #7f7f7f; -} - -.react-calendar__tile:disabled { - background-color: #f0f0f0; -} - -.react-calendar__tile:enabled:hover, -.react-calendar__tile:enabled:focus { - background-color: #e6e6e6; -} - -.react-calendar__tile--now { - background: #a3eaba; -} - -.react-calendar__tile--now:enabled:hover, -.react-calendar__tile--now:enabled:focus { - background: #a3eaba; -} - -.react-calendar__tile--hasActive { - background: #76baff; -} - -.react-calendar__tile--hasActive:enabled:hover, -.react-calendar__tile--hasActive:enabled:focus { - background: #a9d4ff; -} - -.react-calendar__tile--active { - background: #7f7f7f; - color: white; -} - -.react-calendar__tile--active:enabled:hover, -.react-calendar__tile--active:enabled:focus { - background: #7f7f7f; -} - -.react-calendar--selectRange .react-calendar__tile--hover { - background-color: #e6e6e6; -} From 8ff89f7bb5de21901eedbe8d4a21b6944797d2f2 Mon Sep 17 00:00:00 2001 From: Patel Divyesh Date: Fri, 15 Dec 2023 23:34:52 +0530 Subject: [PATCH 6/6] Fixed import --- src/screens/OrganizationEvents/OrganizationEvents.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/screens/OrganizationEvents/OrganizationEvents.tsx b/src/screens/OrganizationEvents/OrganizationEvents.tsx index 6fc614037b..ef52f7be98 100644 --- a/src/screens/OrganizationEvents/OrganizationEvents.tsx +++ b/src/screens/OrganizationEvents/OrganizationEvents.tsx @@ -8,7 +8,6 @@ import { useMutation, useQuery } from '@apollo/client'; import { toast } from 'react-toastify'; import { useTranslation } from 'react-i18next'; import EventCalendar from 'components/EventCalendar/EventCalendar'; -import './calendar.css'; import styles from './OrganizationEvents.module.css'; import {