Commit Graph

57 Commits

Author SHA1 Message Date
dopamine
79938178dd
build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00
Lov`u`e
5d1ceaa856
fix(components): [slider] click on marks is inaccurately positioned (#15332)
* fix(components): [slider] click on marks is inaccurately positioned

closed #15330

* fix(components): [slider] inconsistent behavior in range mode

* refactor(components): [slider] simplify logic with setPosition method

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-04 10:46:48 +08:00
kooriookami
0f8282520f
chore(components): remove deprecated 2.8.0 (#17735)
* chore(components): remove deprecated 2.8.0

* chore(components): update
2024-08-02 11:08:24 +08:00
tangyongjie
76ee10ab69
refactor(components): [slider]optimize ts types (#17292)
* refactor(components): [slider]Optimize ts types

* refactor(components): [slider]fix type check error

* refactor(components): [silder]optimize ts types
2024-08-01 18:59:58 +08:00
betavs
a2323f0bb3
fix(components): [slider] data anomaly when the input value is undefined (#15402)
fix(components): [slider] data anomaly

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-07-29 15:20:04 +08:00
Lov`u`e
cb8d869082
fix(components): [slider] set slider precision (#15328)
fix(components): add a attribute:precision,used to set slider precision

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-07-27 17:36:08 +08:00
sea
606ff06322
improvement(components): @touchstart @touchmove @wheel add passive (#16741)
* perf(components): @touchstart @touchmove add passive

* perf(components): update passive

* perf(components): update passive

* perf(components): update passive

* perf(components): update passive

* perf(components): update passive

* style: fix lint

* perf(components): update passive

* perf(components): update passive

* perf:  delete useless code
2024-07-26 21:01:17 +08:00
kooriookami
bd1613d599
feat(hooks): add use-aria hooks (#16598)
* feat(hooks): add use-aria hooks

* feat(components): update

* feat(hooks): update

* feat(hooks): update
2024-04-23 13:56:44 +08:00
wzc520pyfm
6542286292
docs(components): [slider] use new display tag (#14711) 2023-12-03 22:17:50 +08:00
Jeremy
4c27822ef0
fix(components): circular referencing issue (#11777)
* fix(components): circular referencing issue

* Move sizes related into hooks.
* Remove size definitions in forms only re-exports.

* chore: fix failing tests
2023-03-01 16:44:09 +08:00
Jeremy
a30ae9d103
refactor(project): removing packages/tokens (#11769)
* refactor(tokens): remove tokens

* Remove tokens/breadcrumb.

* refactor(tokens): remove tokens/button

* refactor(tokens): remove tokens/carousel

* refactor(tokens): removing tokens/checkbox

* refactor(tokens): removing tokens/collapse

* refactor(tokens): removing tokens/dialog

* refactor(tokens): removing tokens/pagination

* refactor(tokens): removing tokens/radio

* refactor(tokens): removing tokens/row

* refactor(tokens): removing tokens/scrollbar

* refactor(tokens): removing tokens/slider

* refactor(tokens): removing tokens/tabs

* refactor(tokens): removing tokens/upload

* refactor(tokens): removing tokens/popper

* refactor(tokens): removing tokens/tooltip

* refactor(tokens): removing tokens/tooltip-v2

* refactor(tokens): removing tokens/date-picker

* refactor(project): removing tokens/experimentals

* Remove tokens/experimentals
* Remove package/tokens
* Remove tokens related parts

* refactor(project): removing packages/tokens completely

* chore: update import statement
2023-03-01 13:59:21 +08:00
Jeremy
11925c8231
refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
童欧巴
f9d4c8c083
refactor(components): [slider] remove useless code (#11681) 2023-02-22 19:21:52 +08:00
Jeremy
e8bbdf974b
feat: integrate use popper (#11045)
* feat: integrate use popper

* Integrate popper with use popper hook.
* Reorganize code for better readabilities.

* fix: contentStyle typing

* fix: test failure

* fix: slider placement testing

* refactor: slider test case refactoring

* fix: virtual triggering

---------

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2023-01-31 11:58:52 +08:00
류한경
640e3bb24d
fix(components): [slider] fix type error (#9886) 2022-09-24 14:06:33 +08:00
snowingfox
9cd204712b
refactor(components): [tooltip] switch to script-setup syntax (#9685)
Co-authored-by: holazz <2418184580@qq.com>
Co-authored-by: sxzz <sxzz@sxzz.moe>
2022-09-20 03:31:05 +00:00
zz
193ef92e1e
fix(components): [slider] trigger change event correctly (#9553) 2022-08-31 11:46:58 +08:00
renovate[bot]
477aee23c6
fix(deps): update dependency eslint-plugin-unicorn to v43 (#8610)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-08-13 07:10:16 +00:00
qiang
5d3a6eb37c
fix(components): [slider] disabled slider button can still be focused (#9004) 2022-07-27 11:54:00 +08:00
Xc
251199e783
fix(components): [tooltip] related components are controlled (#9019) 2022-07-26 17:22:54 +08:00
류한경
2fce0f1d3b
fix(components): [slider] not changed marker style (#8737)
* fix(components): [slider] not changed marker style

* test: add mark props test case
2022-07-10 16:28:45 +08:00
bqy_fe
e939850863
perf(components): [slider] emit UPDATE_MODEL_EVENT only if value changes (#8603) 2022-07-08 21:30:53 +08:00
류한경
5b817d3008
feat(components): [slider] placement (#8561)
* feat(components): [slider] placement

feat: add fallback placements

feat: rename tooltip-placement

refactor: test code

docs: add placement attribute

docs: prettier

* docs: example placement
2022-07-04 22:35:53 +08:00
Hefty
72d0bc2177
fix(components): add validate-event for form types component (#8173)
* fix(components): add validate-event for form types component

* chore: format code
2022-07-02 21:01:05 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
zz
518db1e240
refactor(components): [slider] use JSX in Unit test (#8225) 2022-06-22 00:43:43 +08:00
zz
1975aa24fe
refactor(components): [slider] switch to script-setup syntax (#8008) 2022-06-12 08:32:54 +08:00
Delyan Haralanov
c99592502f
test: remove deprecated done callback (#7741)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-05-17 20:32:52 +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
opengraphica
16989d8187
feat(components): [slider] aria keyboard controls and attrs (#7389)
* feat(components): [slider] aria keyboard controls and attrs

fix #7350

* feat(components): [slider] fix lint error in slider types

* feat(components): [slider] change start value for home/end unit test

* feat(components): prevent scrolling on touch screen for runway

* feat(components): [slider] type-o in locale prop

* fix(components): [slider] PR comments r1

* fix(components): [slider] linting errors
2022-04-27 21:38:47 +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
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
blackie
c35dfec666
style(components): rename disabled to is-disabled (#6475)
* style(components): [pagination] rename disabled to is-disabled

* style(components): [slider] rename disabled to is-disabled

* style(components): [pagination] rename active to is-active

* refactor(components): [calendar] use namespace hooks

* fix(components): [pagination] fix test error
2022-03-10 23:57:07 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
c72679e4e9
refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +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
bqy
115a40ce7a
refactor(components): [slider] use useNamespace (#5743) 2022-02-11 03:52:41 +08:00
jeremywu
bcd5c8b848
test(components): removing mock folder (#5911)
- Remove mock folder from the project root
- Add mock for each component test file accordingly
2022-02-10 16:35:44 +08:00
msidolphin
40b0f963c6
fix(components): [el-slider] sync manually updated value (#5876) 2022-02-10 09:41:19 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
426a6a686c
feat: switch to lodash-unified (#5734)
* feat: switch to lodash-unified

* chore: move lodash mocks
2022-02-08 10:37:21 +08:00
kooriookami
55512a8d7d
fix: slider tooltip (#5508) 2022-01-20 16:23:20 +08:00
kooriookami
c2ee36a7fc
fix: tooltip with compoents add persistent (#5250) 2022-01-09 17:38:51 +08:00
kooriookami
b33fed911b
feat(components): [el-slider] slider add size prop (#5091)
* feat: slider add size

* feat: update

* feat: update

* feat: update
2022-01-07 15:44:43 +08:00
renovate[bot]
5b5e9ab81d
chore(deps): update dependency eslint-plugin-vue to v8 (#4105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-10-30 18:13:00 +08:00
spx
7ee4f44e22
fix(components): trigger update:modelValue by itself (#3660)
trigger update:modelValue by component itself

fix #2282
2021-09-27 11:09:59 +08:00
三咲智子
0636e1e240
style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
c86c2b0fe9
style: eslint enable prefer-template (#3414)
* style: eslint enable prefer-template

* chore: apply eslint rules
2021-09-17 09:18:24 +08:00