Repository navigation
feat(date-picker): add multi-column selection variant - #2023
Open
william-xue wants to merge 1 commit into
Open
william-xue wants to merge 1 commit into
william-xue wants to merge 1 commit into
Conversation
Add the variant prop, the columns variant renders the year, month and day columns with var-picker. min, max and allowedDates keep the panel semantics, out of range options are not rendered.
|
@william-xue is attempting to deploy a commit to the varletjs Team on Vercel. A member of the Team first needs to authorize it. |
@varlet/cli
@varlet/icons
@varlet/import-resolver
@varlet/preset-tailwindcss
@varlet/preset-unocss
@varlet/shared
@varlet/touch-emulator
@varlet/ui
@varlet/use
@varlet/vite-plugins
commit: |
Member
|
暂时先不接受 pr 了,我想静静,之前的 pr 有点问题,我在修。 |
Member
Author
|
好的,这个先搁着不动。你那边忙完再看,需要搭把手随时喊我。 |
Member
|
👌感谢
…---Original---
From: ***@***.***>
Date: Tue, Oct 13, 2026 18:05 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [varletjs/varlet] feat(date-picker): add multi-column selection variant (PR #2023)
william-xue left a comment (varletjs/varlet#2023)
好的,这个先搁着不动。你那边忙完再看,需要搭把手随时喊我。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you commented.Message ID: ***@***.***>
|
This branch has not been deployed
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.
Checklist
Change information
var-date-picker新增variant属性,可选calendar(默认,行为不变)/columns。columns用var-picker做年 / 月 / 日多列滚动选择:type对齐:date三列、month两列、year单列min/max/allowed-dates沿用现有语义(min/max按type格式,allowed-dates在最细粒度上过滤),超出范围的选项不生成;选择变化后自动贴到最近的可用值min/max时默认范围为当前年份前后 10 年(多列需要有界)range/multiple在columns下不生效,先做最小实现Validation:
pnpm exec varlet-cli test -c date-picker45 个用例通过(新增 6 个:三列渲染、列数随type、min/max过滤、allowed-dates过滤、change输出格式、modelValue同步)pnpm lint通过Issues
close #1960
Related Links
None.