Jeremy
efd6c2b2a7
refactor(components): [date-picker] panel-date-pick ( #7998 )
...
- Refactor `defineComponent` to script `setup`.
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-30 21:22:03 +08:00
Jeremy
eb599f8f65
refactor(components): [date-picker] range picker ( #7994 )
...
- Encapsulate shared code to reduce duplication.
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-30 20:15:04 +08:00
Jeremy
39e273fbdb
refactor(components): [date-picker] month range ( #7948 )
...
- Use composable `use-range-picker`.
- Remove duplicated code.
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-30 09:03:05 +08:00
banbri
07cae24985
fix(components): [date-picker] Make shortcuts reactive ( #7698 )
2022-05-28 20:14:43 +00:00
iamkun
dd0f8bcf3c
refactor: add useMonthRangeHeader hook ( #7936 )
2022-05-28 13:04:36 +08:00
JeremyWuuuuu
bea3b1e7d7
refactor(components): [date-picker] date-range ( #7931 )
2022-05-27 21:19:42 +08:00
JeremyWuuuuu
c28a26800a
refactor(components): [date-picker] basic cell ( #7924 )
...
- Refactor `h` function to `jsx`.
- Extract props out of `basic-cell-render`
2022-05-27 17:33:19 +08:00
JeremyWuuuuu
eb07d7c7ac
refactor(components): [time-picker] date-picker ( #7923 )
...
- Refactor date-picker with tsx.
- Move injection key to tokens bundle.
- Add entry for type `dates`.
- Update provide content for root picker.
2022-05-27 15:46:05 +08:00
JeremyWuuuuu
3c0496f1a8
refactor(components): [time-picker] setup migration ( #7908 )
...
* refactor(components): [time-picker] setup migration
- Migrate panel-month-range to setup
* chore: remove return expression
* chore: change Array.isArray to isArray
* chore: remove required parsedValue
2022-05-27 13:55:03 +08:00
云游君
49ed2f6907
refactor(components): useNamespace for date-picker ( #7911 )
2022-05-27 11:45:04 +08:00
JeremyWuuuuu
4177e54964
refactor(components): [date-picker] extract props ( #7899 )
...
* refactor(components): [date-picker] extract props
- Extract props for panel-month-range
* chore: remove unused type
2022-05-26 15:12:17 +08:00
JeremyWuuuuu
ad262520cf
chore(components): [date-picker] extract props ( #7895 )
...
* Extract shared props for picker/range
* Restore parsedValue
* Update commit picker
2022-05-26 13:06:00 +08:00
JeremyWuuuuu
66a6d0dc70
chore(components): [date-picker] extract props ( #7894 )
...
- Extract props on basic-year-table
- Update the function signature of utils.castArray
2022-05-25 23:05:17 +08:00
JeremyWuuuuu
607819c54a
feat(components): [date-picker] extract props ( #7893 )
...
- Extract props from basic-month-table.
- Extract common props to shared.
2022-05-25 22:39:30 +08:00
JeremyWuuuuu
46174bc411
refactor(components): [date-picker] extract props ( #7884 )
...
- Extract props for basic-date-table.vue
2022-05-25 12:46:12 +08:00
Zivvvv
ec8ac5e47b
fix(components): [date-picker] fix error when type="daterange" ( #7858 )
2022-05-25 11:41:12 +08:00
云游君
eafb60f89f
fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var ( #7703 )
...
* fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var for width
* test: use wrapper to fix test
2022-05-19 13:57:15 +08:00
lily-elephant
89b3239528
fix(components): date-picker add keydown events( #7506 ) ( #7536 )
...
* fix(components): date-picker add keyup events(#7506 )
* Update picker.vue
feat(components): keyup变更为keydown
* Update picker.vue
fix(components): picker delete superfluous code
* Update picker.vue
fix(components): emit事件
* feat: date-picker & timer-picker add unit test
* feat: picker add unit test expected results
* Update time-picker.test.ts
feat: 去除lint error
2022-05-16 21:10:06 +08:00
云游君
7a45b88783
fix(components): [date-picker] date-table-cell namespace ( #7684 )
...
* fix(components): date-table-cell & scrollbar namespace
* fix(components): revert scroll className & add comment
2022-05-16 20:58:50 +08:00
opengraphica
42ff59fc39
feat(components): [date-picker] work with modal focus trap; a11y controls and attributes ( #7598 )
...
* feat(components): [date-picker] a11y controls and attributes
* feat(components): [date-picker] keyboard controls for picker
* feat(components): [date-picker] unit test complete
* feat(components): [date-picker] remove immediate watch date
2022-05-10 21:51:17 +08:00
JeremyWuuuuu
7dc51f57e6
fix(components): [pickers] text button issue ( #7530 )
2022-05-06 13:16:44 +08:00
opengraphica
7173e402b7
feat(components): [form-item] auto attach labels to inputs ( #7450 )
...
* feat(components): [form-item] auto attach labels to inputs
* feat(components): [form-item] auto-attach up through select
* feat(components): [form-item] auto id complete for all inputs
* feat(components): [form-item] fix lint, remove unused usePopper hook
* feat(components): [form-item] PR comments
2022-05-05 22:04:32 +08:00
三咲智子
1d13ebb05d
feat: drop jest ( #7248 )
...
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest ( #7205 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
Zhongxiang Wang
b462802824
fix(components): [date-picker] fix cell-class-name
not work ( #7149 )
2022-04-13 22:29:46 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports ( #6823 )
2022-03-25 15:35:56 +08:00
三咲智子
2c72c2ef37
fix: import dayjs
2022-03-24 20:57:45 +08:00
gjfei
e179ee6960
refactor(components): [time-picker] use useNamespace ( #6523 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-23 22:58:43 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag ( #6603 )
2022-03-13 16:16:11 -04:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules ( #6476 )
...
* chore: enhance eslint rules
* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils ( #5949 )
...
* refactor(utils-v2): migrate utils
* refactor(utils-v2): migrate utils
* refactor(utils-v2): migrate utils
* refactor(utils): remove
* refactor(utils): rename
* refactor(utils): move EVENT_CODE to constants
* refactor: remove generic
2022-02-11 11:03:15 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils ( #5699 )
2022-02-09 16:59:08 +08:00
三咲智子
b80e5c69e9
refactor(hooks): refactor popup manager to useZIndex ( #5701 )
2022-02-09 16:31:31 +08:00
Alan Wang
a73f34844c
fix(components): [el-date-picker]make defaultValue be reactive ( #4808 )
...
* fix(components): [el-date-picker]make defaultValue be reactive
* fix(components): [el-date-picker]change toRefs to toRef
* Update packages/components/date-picker/__tests__/date-picker.spec.ts
Co-authored-by: btea <2356281422@qq.com>
* update date-picker.spec.ts
Co-authored-by: btea <2356281422@qq.com>
2022-01-19 16:48:22 +08:00
msidolphin
8a9747310e
feat(components): [el-date-picker] add panel change event ( #5304 )
...
* feat(components): [el-date-picker] add panel change event
* docs: [el-date-picker] add panel change event
2022-01-18 10:37:27 +08:00
0song
2606778d30
fix: fix DateRangePicker custom style & class bug ( #5300 )
2022-01-11 14:27:45 +08:00
msidolphin
82182a91aa
fix(components): [el-date-picker] panel position error after view switch ( #5277 )
...
* fix(components): [el-date-picker] panel position error after view switch
* fix: [el-popper] zIndex not update issue
2022-01-11 10:40:40 +08:00
Carter Li
5062ff106b
fix(components): make Datepicker value-format="x"
emit number timestamp value ( #5187 )
2022-01-09 12:42:08 +08:00
msidolphin
53c3724b85
fix(components): [el-date-picker] ignore special flag ( #5200 )
...
fix #5067
2022-01-08 19:41:56 +08:00
jeremywu
dd19cae2bc
refactor(components): popper composables ( #5035 )
...
* refactor(components): popper composables
- Refactor popper composables
* updates
* updates for tooltip
* Updates for popper. TODO: fix controlled tooltip animation
* Fix controlled mode popper animation issue
* Add new feature for customizing tooltip theme
* Fix popover and popconfirm error
* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents
* Refactor popper
* Complete organizing popper
* Almost finish dropdown
* Update popper tests
* update only-child test
* Finish focus trap component test
* Finish tooltip content test
* Finish tooltip trigger tests
* Finish tooltip tests
* finish tests for Collection and RovingFocusGroup
* Fix test cases for timeselect & select & popover
* Fix popover, popconfirm, menu bug and test cases
* Fix select-v2 test error caused by updating popper
* Fix date-picker test issue for updating popper
* fix test cases
* Fix eslint
* Rebase dev & fix tests
* Remove unused code
2022-01-04 09:15:15 +08:00
云游君
2b209fd760
fix(components): input-number/input/dropdown/select/badge details ( #4866 )
2021-12-28 19:38:23 +08:00
云游君
4560adfdf8
refactor(style): adjust component size to large/default/small ( #4491 )
...
* refactor(style): adjust component size to large/default/small
* refactor(components): avatar size & use flex instead of block
* refactor(components): adjust check button size
* refactor(components): adjust tag size
* refactor(components): adjust size doc
* fix(components): datetime-picker demo style width
* refactor(components): color-picker size & block to flex
* refactor(components): adjust slider input size
* refactor(components): adjust radio input size for demo
* refactor(components): adjust select size & docs
* refactor(components): adjust form radio size & docs
* refactor(components): add windicss for docs
* refactor(components): adjust skeleton avatar size to css var
* refactor(components): simplify typography size demo
* refactor(components): adjust dropdown size & demo
* refactor(components): adjust descriptions size
* fix(components): datetime-picker showcase class pollute global button
* chore(ci): upgrade docs dependencies to fix ci
* fix(ci): add highlight because vitepress not export it
* fix(ci): disable line for no-console
* fix(ci): remove mini to fix test
* fix(style): code font size
* fix(style): button span flex style
* fix(style): button padding horizontal default 15px
* refactor(components): adjust tag padding size & demo
* refactor(components): adjust form line-height for input
* refactor(components): adjust dropdown menu size & button padding
* fix(style): picker separator block to flex center
* fix: dropdown button span items-center
* style: adjust input-with-icon & size demo & fix input vitepress load
* chore: upgrade dependencies
* chore: upgrade dependencies
* ci: fix website build
* ci: regenerate pnpm-lock.yaml
* ci: use dev pnpm-lock
* ci: update pnpm-lock.yaml
2021-12-12 17:54:21 +08:00
btea
81efc44c3b
fix(components): [date-picker] filter custom content comment ( #4651 )
2021-12-11 12:35:47 +08:00
msidolphin
4f6cac4252
fix: [el-date-picker] focus input box when focus method is called ( #4343 )
...
fix #4327
2021-12-11 06:56:40 +08:00
C.Y.Kun
13375ef887
fix(components): [ElDatePicker] click clear is invalid ( #4768 )
2021-12-10 21:21:21 +08:00
三咲智子
5087026948
refactor: change icon package name ( #4625 )
2021-12-04 11:20:06 +08:00
Alan Wang
16e1056e01
fix(components): [el-date-picker] can't use numpadEnter ( #4563 )
...
* fix(components): [el-date-picker] can't use numpadEnter
* fix(components): [el-date-picker]enter to close when input.value is null
* fix(components): [el-date-picker] add test
2021-12-01 16:29:49 +08:00
三咲智子
bbd16a08e9
refactor(hooks): refactor hooks ( #4253 )
...
* refactor(hooks): remove use-css-var
* refactor(hooks): remove use-events
* refactor(hooks): remove use-migrating
* refactor(hooks): remove use-transition
* refactor(hooks): named export useAttrs
* refactor(hooks): named export useFocus
* refactor(hooks): refactor useFormItem
* refactor(hooks): refactor useGlobalConfig
* refactor(hooks): refactor useLocale
* refactor(hooks): refactor useLockscreen
* refactor(hooks): refactor useModal
* refactor(hooks): refactor useModelToggle
* refactor(hooks): refactor usePreventGlobal
* refactor(hooks): refactor useRestoreActive
* refactor(hooks): refactor useTeleport
* refactor(hooks): refactor useThrottleRender
* refactor(hooks): refactor useTimeout
* refactor(hooks): refactor useTransitionFallthrogh
2021-11-29 15:58:44 +08:00
renovate[bot]
023bc0685d
chore(deps): update dependency prettier to v2.5.0 ( #4536 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-11-28 20:20:09 +08:00
C.Y.Kun
af2d8cf6ba
fix(components): [date-picker] range-separator slot
don't work ( #4522 )
2021-11-25 09:43:50 +08:00