Repository navigation
feat(tokens): DatePicker, DateRangePicker, TimePicker, DateTimePicker and their inputs on the design tokens - #259
aktasmehmet wants to merge 2 commits into
Conversation
… and their inputs on the design tokens
|
Claude finished @aktasmehmet's task in 48s —— View job Review: pickers on the design tokens
No blocking issues.
Inline comments (minor):
Kullanmadan önce yetkin bir kişi tarafından doğrulanmalıdır. Bu sohbet kurumsal denetime tabidir. |
| transform: translateX(0); | ||
| } | ||
| .#{$size} .datePickers { | ||
| gap: var(--mtf-sizing-space-#{$pickerGap}); |
There was a problem hiding this comment.
css.md §4 (declare a value once). gap: var(--mtf-sizing-space-#{$pickerGap}) here is identical to the one in the size loop above (line 111), so the below md loop only needs the transform rules. Dropping it also avoids a second per-size loop that re-sets the same property.
| &.selected { | ||
| background-color: var(--theme-color-surface-primary-default); | ||
| color: var(--theme-color-text-base-global-light); | ||
|
|
There was a problem hiding this comment.
Nit: stray blank line before the closing brace of button.
| {onNextClick && ( | ||
| <button className={styles.arrowButton} onClick={onNextClick} type="button"> | ||
| <button | ||
| className={nextButtonClassName ? `${styles.arrowButton} ${nextButtonClassName}` : styles.arrowButton} |
There was a problem hiding this comment.
Nit: nextButtonClassName ? \${styles.arrowButton} ${nextButtonClassName}` : styles.arrowButtonjoins class names by hand. Check whether the repo has a shared class-list helper (assanitizeModuleRootClasses` does for roots) and use it, so a falsy value needs no ternary.
|
Size Change: -1.1 kB (-0.39%) Total Size: 283 kB 📦 View Changed
ℹ️ View Unchanged
|
Description
Moves the pickers to the
--mtf-*design tokens: the shared picker box (Motif/Pickers), DatePicker, DateRangePicker, TimePicker, DateTimePicker, and InputDate, InputDateRange, InputTime and InputDateTime.primary-solid, hoverneutral-soft, a 2px inset focus ring. Header arrows are ghost buttons.variant="shadow": raised like Select's list (surface-raised,elevation-2), no border.Token Compare/Pickers._DatePickerDayViewand_TimePickerContent; notes indocs/figma.docs/review/figma.md: a single-line field rule and a page audit script (.claude/skills/figma-sync/scripts/audit-page.js).No prop, default or behavior changes.
Type of Change
Screenshots / Preview
DatePicker
TimePicker
DateTimePicker
DateRangePicker
Checklist
How to Test
Closes #EDKUI-1252