├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── package.json ├── public └── index.html ├── src ├── App.tsx ├── components │ ├── Calendar │ │ ├── Calendar.css │ │ ├── Calendar.tsx │ │ └── hooks │ │ │ └── useCalendar.ts │ └── index.ts ├── index.css ├── index.tsx ├── static │ ├── css │ │ └── global.css │ └── images │ │ ├── arrow.svg │ │ └── arrow_white.svg └── utils │ └── helpers │ └── date │ ├── checkDateIsEqual.ts │ ├── checkIsToday.ts │ ├── createDate.ts │ ├── createMonth.ts │ ├── createYear.ts │ ├── formatDate.ts │ ├── getMonthNumberOfDays.ts │ ├── getMonthesNames.ts │ ├── getWeekDaysNames.ts │ ├── getWeekNumber.ts │ └── index.ts ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/package.json -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/public/index.html -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/components/Calendar/Calendar.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/components/Calendar/Calendar.css -------------------------------------------------------------------------------- /src/components/Calendar/Calendar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/components/Calendar/Calendar.tsx -------------------------------------------------------------------------------- /src/components/Calendar/hooks/useCalendar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/components/Calendar/hooks/useCalendar.ts -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/static/css/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/static/css/global.css -------------------------------------------------------------------------------- /src/static/images/arrow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/static/images/arrow.svg -------------------------------------------------------------------------------- /src/static/images/arrow_white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/static/images/arrow_white.svg -------------------------------------------------------------------------------- /src/utils/helpers/date/checkDateIsEqual.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/checkDateIsEqual.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/checkIsToday.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/checkIsToday.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/createDate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/createDate.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/createMonth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/createMonth.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/createYear.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/createYear.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/formatDate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/formatDate.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/getMonthNumberOfDays.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/getMonthNumberOfDays.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/getMonthesNames.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/getMonthesNames.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/getWeekDaysNames.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/getWeekDaysNames.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/getWeekNumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/getWeekNumber.ts -------------------------------------------------------------------------------- /src/utils/helpers/date/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/src/utils/helpers/date/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/debabin/react-custom-calendar/HEAD/yarn.lock --------------------------------------------------------------------------------