Skip to content

feat(core): add generic date variants to date picker - #1041

Merged
aidataba merged 5 commits into
mainfrom
feature/PMI-4067-Datepicker-density-cell-coloring
Oct 20, 2026
Merged

aidataba merged 5 commits into
mainfrom
feature/PMI-4067-Datepicker-density-cell-coloring

Conversation

@aidataba

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Angular output subscriptions are disconnected, public documentation misstates the input shape, and visual regression coverage is missing.

3 open issues
What changed in this PR

Adds per-date semantic styling and visible-calendar range events to Catalyst’s date pickers.

Changes:

  • Introduces six day variants with configurable colors.
  • Emits visible date ranges and forwards the new API through cat-date.
  • Updates types, Angular bindings, documentation, and unit tests.
File Description
core/​src/​index.ts Exports new public types.
core/​src/​components/​cat-date/​readme.md Documents the new API.
core/​src/​components/​cat-date/​cat-date.tsx Forwards variants and range events.
core/​src/​components/​cat-date/​cat-date.spec.tsx Tests forwarding behavior.
core/​src/​components/​cat-date/​cat-date.scss Documents styling properties.
core/​src/​components/​cat-date-inline/​readme.md Documents inline picker additions.
core/​src/​components/​cat-date-inline/​cat-date-view-range.ts Defines inclusive date ranges.
core/​src/​components/​cat-date-inline/​cat-date-inline.tsx Applies variants and emits ranges.
core/​src/​components/​cat-date-inline/​cat-date-inline.spec.tsx Tests classes and range events.
core/​src/​components/​cat-date-inline/​cat-date-inline.scss Adds semantic variant styles.
core/​src/​components/​cat-date-inline/​cat-date-day-variant.ts Defines supported variants.
core/​src/​components.d.ts Updates component declarations.
angular/​projects/​catalyst/​src/​lib/​directives/​proxies.ts Exposes Angular inputs and outputs.

Review effort: Balanced

Comment thread core/src/components/cat-date/readme.md Resolved

@ddoe8 ddoe8 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aidataba
aidataba merged commit 90af4ce into main Oct 20, 2026
8 checks passed
@aidataba
aidataba deleted the feature/PMI-4067-Datepicker-density-cell-coloring branch October 20, 2026 15:43
@github-actions github-actions Bot mentioned this pull request Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants