13 Commits

Author SHA1 Message Date
80157249ef fix(components): [segmented] fix label item width render (#21379)
* fix(components): [segmented]  fix label item width render

* Update segmented.vue

* chore: use zhiaxiaotong solution

* Update segmented.vue

* chore: foramt

Co-authored-by: zhixiaotong <947803089@qq.com>

---------

Co-authored-by: 知晓同丶 <zhixiaotong.me@qq.com>
2025-07-17 15:45:54 +00:00
cfc661c626 feat(types): [components] add public prop types (#21222)
* feat(types): [utils] add ExtractPublicPropTypes type

* feat(types): [components] add props public type

* chore(types): use type-only import for Prop from 'vue'

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-07 00:51:32 +08:00
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288299c507e3cfc4d7a22e2207265d920.

* Revert "chore: fix"

This reverts commit 69c82a90c01525e38180be4c21e8ef5602512318.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
09e23e98d0 feat(components): [segmented] add aliases for custom options (#20319)
feat(components): [segmented] Add aliases for custom options

closed #20310
2025-04-02 14:26:35 +08:00
7be4a3765e chore: emits smaller declaration files (#20109)
* Revert "fix(types): packing unexpected types (#19419)"

This reverts commit 13506ffb814d2b1300bf57c06648b6b27281c7c5.

* Revert "chore: add explicit type annoation (#19352)"

* fix(typescript): borken import paths in declaration files

* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
38b691093d fix(components): [segmented] invisible active indicator after clearing selection (#18818)
fix(components): [segmented] invisible active indicator after clear
2024-11-07 13:39:54 +08:00
6b1e951368 feat(components): segmented support vertical direction (#18653)
* feat(components): segmented support vertical direction

* fix(components): improve

* fix(components): empty commit

* fix(components): update api to direction

* chore(components): use n.m

* fix(components): improve

* fix(components): fix

* fix(components): fix

* Update docs/examples/segmented/custom-direction.vue

Co-authored-by: btea <2356281422@qq.com>

* Update docs/examples/segmented/custom-direction.vue

Co-authored-by: btea <2356281422@qq.com>

* fix(components): lint fix

---------

Co-authored-by: btea <2356281422@qq.com>
2024-10-31 22:52:43 +08:00
2a9c6dacdc fix(components): [segmented] no option to not render (#18509) 2024-10-17 18:47:51 +08:00
ve
9123a05826 fix(components): [segmented] item may be undefined (#18199)
* fix(components): [segmented] item may be undefined

* fix(components): [segmented] ts type error

* fix(components): [segmented] Update document Option ts type
2024-09-13 17:36:42 +08:00
ec9cfe81dd fix(components): [segmented] fix async disabled style of selected item (#17716)
* fix(components): [segmented] fix async disabled style of selected item

closed #17715

* fix(components): [segmented] fix async disabled style of selected item

* test(components): [segmented] updated count of disabled test

* chore(components): [segmented] remove redundant code
2024-08-18 11:32:02 +08:00
b0b98e5d11 fix(components): [segmented] modelValue boolean type validation warning (#17656)
* fix(components): [segmented] of boolean type, throw invalid event args

* docs(components): [segmented] add boolean type to the v-model
2024-07-26 13:48:41 +08:00
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
546b21ea82 feat(components): [segmented] new component (#16258)
* feat(components): [segmented] new component

* feat(components): [segmented]

* feat(components): update

* feat(components): update

* feat(theme-chalk): update

* feat(components): update

* feat: update

* feat: update

* feat(components): add focus-visible

* feat(theme-chalk): update

* feat(components): fix test

* docs: docs

* feat(components): update

* feat: add icon
2024-04-11 18:48:52 +08:00