Commit Graph

26 Commits

Author SHA1 Message Date
赵添
25bebce59d
feat(components): anchor component (#15670)
* feat(components): anchor component

* fix(components): [anchor] marker opacity style

* test(components): [anchor] update snapshots

* fix(components): [anchor] style change and add version tag

* docs(components): [anchor] affix mode demo add affix offset

* fix(components): [anchor] change api

* fix: slot name change

* fix: scrollTo method change

* fix: delete getCurrentAnchor api

* style: text overflow

* docs: change toc to anchor

* refactor: useEventListener

* fix: update

* fix: update
2024-02-27 14:22:26 +08: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
kooriookami
42fb53aaa6
perf(utils): addUnit support string number (#10362) 2022-11-02 16:48:55 +08:00
JeremyWuuuuu
7b166ed7fd
feat(components): [tooltip-v2] trigger implementation (#6844)
- Implement TooltipV2Trigger
- Implement TooltipV2Root
- Fix a potential mem leak issue in OnlyChild
- Add token for tooltip v2
2022-03-26 18:53:56 +08:00
云游君
4c7638dd5a
fix(docs): build without window and Element error (#6656) 2022-03-15 22:13:01 +08:00
btea
15895d6d4d
refactor(utils): extract isElement (#6292) 2022-02-26 15:00:57 +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
云游君
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
三咲智子
57dd10ad49
fix(utils): setTimeout & config-provider type (#4598)
* fix(utils): setTimeout type

* fix(components): export config-provider types
2021-12-01 15:58:53 +08:00
C.Y.Kun
4f8ec9eae2
chore(utils): update types (#4275) 2021-11-11 22:27:21 +08:00
三咲智子
6256189100
refactor(components): refactor pagination (#3526)
* refactor(components): refactor pagination

* fix: tests

* fix: emits

* refactor: improve props
2021-09-22 01:19:04 +08:00
三咲智子
55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
SongWuKong
7b79aae8ff
fix(input): autosize type problem (#3008) (#3012)
* fix(input): autosize type problem (#3008)

* fix(input/card):  ( autosize/bodyStyle )type problem (#3008)

* fix(input/card): (autosize/bodyStyle)type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)
2021-08-26 17:00:18 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
Daniel Jost
f3784cfb62
[types.ts] Fixed Nullable type for RefElement (#2730)
* Fixed Nullable type for RefElement

* Changed undefined to null
2021-07-28 10:16:41 +08:00
jeremywu
c8d65bf43d
feat(locale): locale-provider (#2662)
- Add a component for providing configs
- Add `use-locale` hooks into hooks for composable usage
- Add `use-locale` for `config-provider` to allow user to provide locale config via `react-like` API
- Add test cases against these new features
2021-07-25 15:26:00 +08:00
JeremyWuuuuu
a7a8f29a19 refactor(popper): use-popper-hook for popper
- Add new use popper hook into the codebase for replacing the current `use-popper`
2021-07-13 17:49:00 +08:00
Simona
e93f6f6984
style: add no-multi-spaces rule (#2345)
* style: add no-multi-spaces rule

* style: remove extra spaces
2021-06-25 16:25:54 +08:00
qiang
272b8c76c8
fix: some components miss install type (#1547)
* fix: some components miss install type

* fix: some components miss install type
2021-03-09 21:24:22 +08:00
XiongAmao
c9c9e0d494
fix: app.use(comp.vue) type is not compatible (#1067) 2020-12-23 14:07:15 +08:00
zouhang
cdaa5199e2 style(checkbox): optimize code 2020-09-04 14:59:29 +08:00
JeremyWuuuuu
1584f07f0c [WIP]feat/tooltip
- Code done
- Awaiting test cases
2020-08-25 22:51:26 +08:00
Herrington Darkholme
bd38e1994d fix(utils): remove unused types 2020-08-23 12:52:22 +08:00
zazzaz
bbbe50e6b8 ci: add lint to ci 2020-08-06 01:10:03 +08:00
HerringtonDarkholme
685cad4edb feat(core): add avatar components 2020-08-03 15:00:05 +08:00