Skip to content

[Feat]: Add Calendar pattern #2560

Closed
Closed
@Westbrook

Description

@Westbrook

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

Calendar, Date Picker

Description of the requested feature

Please add the Calendar pattern

cc: @najikahalsema @Jabark

Mockups or screenshots

https://opensource.adobe.com/spectrum-css/calendar.html

Implementation notes or ideas

There's readable copy in this pattern. Whether we externalize that or not will be an important question. If not, we'll need to leverage https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat to hopefully get translations for free. This may point to the need to resolve language data similar to how Slider or Number Field do.

For Date management constructs it would be nice to lean closer to the pending Temporal API, but if we need to go into the user-space library field for this, definitely take a look at https://moment.github.io/luxon/#/ before something like moment.js.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions