Commit Graph

65 Commits

Author SHA1 Message Date
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
qiang
0670bba618
feat(components): [color-picker] alpha-slider a11y (#14245)
* feat(components): [color-picker] alpha-slider a11y

* feat(components): [color-picker] support for adjust step through shift

* feat(components): [color-picker] focus
2024-07-31 15:54:14 +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
Aaron-zon
725349a295
fix(components): [color-picker/tree-v2] build error typechecking fails with error TS2300 (#17545)
fix(components): build error typechecking fails with error TS2300
2024-07-17 15:27:46 +08:00
sea
d9c4634885
fix(components): [color-picker] replenish enableAlpha contral (#17015) 2024-06-07 20:44:02 +08:00
Liao-js
a8d2a5f0b3
fix(components): [color-picker] attrs class (#16887)
* fix(components): [color-picker] attrs class

* fix(components): [color-picker] v-bind attrs
2024-05-25 12:55:02 +08:00
知晓同丶
53b6e16080
feat(components): [color-picker] add teleported prop (#16634)
* feat(components): [color-picker] add `teleported` prop

closed #15357

* refactor: use tooltip hooks
2024-04-24 12:07:20 +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
qiang
351774f418
feat(components): [color-picker] add focus and blur event (#14244)
* feat(components): [color-picker] add focus blur event

* docs: updata
2023-10-11 14:13:59 +00:00
wonderl17
0a46c24da9
fix(components): [color-picker] exposed show method wrong behavior (#14064)
fix(components): [color-picker] fix show method wrong behavior
2023-10-09 19:51:47 +08:00
wonderl17
82e9d07607
fix(components): [color-picker] first click should be trigger (#14209) 2023-09-08 15:30:07 +08:00
kooriookami
445be31228
fix(components): [color-picker] fix incorrect cursor position (#13516)
fix(components): [color-picker] fix incorrect cursor position. Closes #12581 #12901
2023-07-08 07:12:52 +00:00
btea
105d79b0d9
refactor: extract isClient and isNumber isBoolean (#12504)
* refactor: extract isClient and isNumber isBoolean

* test: update test

* refactor: extract isClient to browser
2023-04-20 20:00:49 +08:00
xiterjia
e6be1bc3cb
feat(components): [color-picker] add show hide expose (#11942)
* feat(components): [color-picker]

add handleTrigger expose

closed #11926
2023-04-01 21:24:03 +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
105d41799e
refactor(components): [color-picker] alpha-slider (#10332)
* refactor(components): [color-picker] alpha-slider

* Extract logic code out of color-picker/alpha-slider

* fix: exposing methods

* chore: expose refs

---------

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2023-03-01 14:32:26 +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
Xc
69895aeccb
docs(components): [color-picker] (#10889)
* docs(components): [color-picker]
* Adjust API style
* classname

* Update docs/en-US/component/color-picker.md

Co-authored-by: qiang <qw13131wang@gmail.com>

Co-authored-by: qiang <qw13131wang@gmail.com>
2022-12-09 14:46:58 +08:00
zz
2725dca47a
fix(components): [color-picker] correct event validation (#9814) 2022-09-18 18:41:44 +08:00
三咲智子
70c4688980
fix(components): [color-picker] expose color (#9797) 2022-09-16 22:43:55 +08:00
weidehai
b63b3e121b
refactor(components): [color-picker] switch to script-setup syntax (#9672)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-09-16 14:27:07 +00:00
zz
eea3e60385
fix(components): use namespace (#9299) 2022-08-13 14:43:00 +08:00
zz
3b3a0efc4c
fix(components): [color-picker] injected form context may be undefined (#8862) 2022-08-05 21:07:47 +08:00
btea
7da11bc2e6
fix(components): [color-picker] element event binding error (#9061) 2022-07-27 20:02:29 +08:00
LIUCHAO
1a66672b32
refactor(components): [color-picker] use JSX in Unit test (#9033) 2022-07-27 13:01:25 +08:00
LIUCHAO
7bb6b6d99f
refactor(utils): drop off/on/once, use EventListener instead (#8960)
* refactor(utils): drop off/on/once, use EventListener instead

* refactor(utils): use useEventListener

* refactor(utils): use useEventListener

* style(components): [roving-focus-group] useEventListener  pass ref
2022-07-26 23:01:07 +08:00
Xc
251199e783
fix(components): [tooltip] related components are controlled (#9019) 2022-07-26 17:22:54 +08:00
LIUCHAO
a9e062b75c
refactor(components): [color-picker] use useNamespace (#8722)
closed #8720
2022-07-14 20:22:20 +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
btea
920f1fc5ee
fix(components): [color-picker] can't select predefine value (#8205) 2022-06-28 21:17:41 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +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
Xc
6f8d8326c3
fix: color-picker v-model trigger active-change (#7260)
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-25 22:59:49 +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
三咲智子
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
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
三咲智子
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
bqy
fae48c8817
refactor(components): [color-picker] use useNamespace (#5718) 2022-02-08 05:21:17 +08:00
Alan Wang
1285697a7f
fix(components): [el-color-picker] active-change triggered incorrectly (#4729) 2022-01-19 17:49:06 +08:00
kooriookami
c2ee36a7fc
fix: tooltip with compoents add persistent (#5250) 2022-01-09 17:38:51 +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
三咲智子
6287c1f92d
refactor(utils): remove isServer (#4792) 2021-12-12 23:28:03 +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