Files
Bilal Muhammad Khan 18a3ee83c1 feat(frontend): implement complete design system with shadcn/ui components
Implement comprehensive frontend design system for Phase II web application:

- Add shadcn/ui component library (button, input, card, dialog, form, etc.)
- Refactor auth pages (login/register) with new design system
- Update dashboard with modern UI components
- Implement TypeScript schemas for tasks, tags, filters, and users
- Add authentication and dashboard-specific components
- Create comprehensive documentation (accessibility, performance, validation)
- Configure Tailwind with custom theme and animations
- Add context providers for state management

This establishes the complete UI foundation required for the hackathon Phase II deliverable.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-01 12:43:06 +05:00

34 lines
1021 B
JavaScript

"use strict";
exports.differenceInQuarters = differenceInQuarters;
var _index = require("./_lib/getRoundingMethod.cjs");
var _index2 = require("./differenceInMonths.cjs");
/**
* The {@link differenceInQuarters} function options.
*/
/**
* @name differenceInQuarters
* @category Quarter Helpers
* @summary Get the number of quarters between the given dates.
*
* @description
* Get the number of quarters between the given dates.
*
* @param laterDate - The later date
* @param earlierDate - The earlier date
* @param options - An object with options.
*
* @returns The number of full quarters
*
* @example
* // How many full quarters are between 31 December 2013 and 2 July 2014?
* const result = differenceInQuarters(new Date(2014, 6, 2), new Date(2013, 11, 31))
* //=> 2
*/
function differenceInQuarters(laterDate, earlierDate, options) {
const diff =
(0, _index2.differenceInMonths)(laterDate, earlierDate, options) / 3;
return (0, _index.getRoundingMethod)(options?.roundingMethod)(diff);
}