[ENG-46317] feat(webkit): add Calendar component#672
Open
HerbertJulio wants to merge 1 commit into
Open
Conversation
5230c0b to
8127f6e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the Calendar component (
inputs, monolithic) — an inline, always-visible date-picker surface for selecting a single date or a date range. Built spec-first (.specs/calendar.md), faithful to the Figma (node5087-17541).modelValue(Date | nullsingle,{ start, end }range),mode: 'single' | 'range',min,max,disabled,showHeader.update:modelValue,month-change.Dateonly — no date library. 6×7 Sunday-start grid; roving-tabindexrole="grid"with Arrow / Enter+Space / PageUp+PageDown keyboard nav.data-*variants (no JS class presets, no<style>); all tokens viavar(--*)/ DESIGN.md typography classes.data-bandmodel (single/start/middle/end).Components/Inputs/Calendar(Default + Range).Notes
5087-17541:--bg-surface-raisedpanel, headerpl-16/pr-12/py-8, gridp-12, 16px weekday→weeks gap, 4px between week rows, 36px day cells, 14px (text-body-sm) header/day type, 12px (text-label-sm) weekdays.Typography/Heading/xss(14px regular) maps to.text-body-sm— naming-only gap, size/weight match.