β¨ Enhancement: Update DatePicker
π Description
Revamp the DatePicker component to align with the latest shadcn/ui design standards. This includes updating the visual design, expanding functionality with new variants and features, and refining the public API for better developer experience.
Goals:
- Align visual design with the latest shadcn/ui reference
- Review and update component variants and styling
- Improve API consistency with ZardUI conventions
- Add missing features or demos if applicable
Philosophy: Keep the API minimal and consistent with ZardUI patterns β signal-based inputs, CVA variants, and mergeClasses for styling.
π¨ References
π― Scope
- Design: Update styles to match current shadcn/ui visuals (colors, spacing, borders, animations)
- Features: Add any missing variants, sizes, or states available in shadcn/ui
- API: Review inputs/outputs β ensure naming follows
z prefix convention and types are strict
- Demos: Update demo components to match the exact same examples shown on the shadcn/ui documentation page
- Documentation: Update
doc/overview.md and doc/api.md to reflect changes
β
Acceptance Criteria
Labels: enhancement
β¨ Enhancement: Update DatePicker
π Description
Revamp the
DatePickercomponent to align with the latest shadcn/ui design standards. This includes updating the visual design, expanding functionality with new variants and features, and refining the public API for better developer experience.Goals:
Philosophy: Keep the API minimal and consistent with ZardUI patterns β signal-based inputs, CVA variants, and
mergeClassesfor styling.π¨ References
libs/zard/src/lib/shared/components/date-picker/π― Scope
zprefix convention and types are strictdoc/overview.mdanddoc/api.mdto reflect changesβ Acceptance Criteria
zprefix, signal inputs, OnPush, ViewEncapsulation.None)Labels: enhancement