Commit Graph

49 Commits

Author SHA1 Message Date
Benjamin Canac
4586eed90c chore(Kbd): new component 2023-05-09 14:30:43 +02:00
Benjamin Canac
b21c55f5c4 chore(Dropdown): move resolve class logic into template 2023-05-09 14:30:43 +02:00
Benjamin Canac
0c69385771 fix: prefix imported components 2023-05-05 12:15:20 +02:00
Benjamin Canac
6da0db0113 feat: rewrite to use app config and rework docs (#143)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2023-05-04 14:49:19 +02:00
Benjamin Canac
3493c138d9 chore: split props for Dropdown, ContextMenu and Popover 2023-02-24 17:33:57 +01:00
Benjamin Canac
ee3352278c feat: migrate to @egoist/tailwindcss-icons 2023-02-17 12:58:19 +01:00
Benjamin Canac
f5d068be9d feat: use nuxt-icon 2023-02-16 16:16:37 +01:00
Benjamin Canac
1c4d46e056 fix(Dropdown): lint 2023-02-01 14:38:07 +01:00
Benjamin Canac
b72037a777 chore: handle disabled prop for Dropdown and Popover 2023-02-01 14:34:28 +01:00
Benjamin Canac
a7644860b8 fix(Dropdown): prevent panel display when no items 2023-01-31 12:33:27 +01:00
Sylvain Marroufin
b6455a151d chore(lighthouse): improve components accessibility (#127) 2023-01-12 12:32:42 +01:00
Benjamin Canac
758e6f1400 Revert "chore: put back stop propagation on mode hover (#121)"
This reverts commit c015148f29.
2022-12-20 16:26:55 +01:00
Benjamin Canac
7051fa39a7 chore: add missing w-full on headlessui buttons 2022-12-15 14:45:14 +01:00
Sylvain Marroufin
c015148f29 chore: put back stop propagation on mode hover (#121) 2022-12-13 13:54:23 +01:00
Benjamin Canac
16fd1c0ca3 fix: remove stop propagation on mode hover 2022-12-06 16:56:16 +01:00
Sylvain Marroufin
44a78d7f67 fix(Dropdown): better handle item click to preventDefault (#119) 2022-12-02 17:16:32 +01:00
Sylvain Marroufin
5042b5806b chore(components): update props with optional fields (#118) 2022-12-01 13:01:45 +01:00
Benjamin Canac
1ad96065fd fix: default popper options 2022-11-26 23:42:36 +01:00
Anthony Fu
edc1bd677b chore: improve types (#115)
* wip: improve types

* feat: improve types

* Apply suggestions from code review

Co-authored-by: Sylvain Marroufin <marroufin.sylvain@gmail.com>

* chore: update

* chore: enable ci typecheck

* chore: fix

Co-authored-by: Sylvain Marroufin <marroufin.sylvain@gmail.com>
2022-11-23 11:30:18 +01:00
Sylvain Marroufin
5517cc2846 fix(Dropdown): close on click item with to (#103)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2022-10-26 13:05:41 +02:00
Sylvain Marroufin
9dcdaf474e chore(Dropdown|Popover|Tooltip): hover delay (#104) 2022-10-26 11:59:49 +02:00
Sylvain Marroufin
e9f0224b91 fix(Popover): avoid crash on mount if ref not loaded (#105) 2022-10-26 11:57:13 +02:00
Sylvain Marroufin
fc658842bb chore: fix typescript errors (#102) 2022-10-25 14:09:54 +02:00
Baptiste Leproux
5039265097 chore: set popper options in preset (#97)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2022-10-18 11:13:28 +02:00
Benjamin Canac
c89c65bd44 chore(Dropdown): allow group preset change 2022-10-13 17:10:02 +02:00
Benjamin Canac
f1b59fc59e chore: fix popper props merge 2022-10-07 13:40:23 +02:00
Benjamin Canac
005c18e4c0 chore: improve popper handling 2022-10-07 13:27:51 +02:00
Benjamin Canac
b20c8c82ab chore(preset): handle transitions 2022-10-04 23:56:54 +02:00
Benjamin Canac
6a2159da94 Revert "chore: use nuxt-icon"
This reverts commit 70495e0a22.
2022-09-12 19:15:54 +02:00
Benjamin Canac
70495e0a22 chore: use nuxt-icon 2022-09-09 15:24:49 +02:00
Benjamin Canac
541ed304a0 fix: error in Popover and Dropdown 2022-08-26 15:04:06 +02:00
Benjamin Canac
72919425b6 fix(Dropdown): increase timeout for hover mode 2022-08-17 14:14:13 +02:00
Benjamin Canac
c6706c76b2 chore(Dropdown): add item.iconClass 2022-08-12 17:19:52 +02:00
Benjamin Canac
1f7f28835d chore(Dropdown): pass event to item click 2022-08-12 17:16:00 +02:00
Benjamin Canac
f75fc4f864 chore(Dropdown): support shortcuts 2022-07-23 23:53:13 +02:00
Benjamin Canac
6b813bd3b3 chore: improve types and imports 2022-07-21 23:33:06 +02:00
Benjamin Canac
2f87cf86a1 chore(Dropdown): item avatar is now an object 2022-07-21 23:31:20 +02:00
Benjamin Canac
144b3382ad chore: fix lint 2022-07-13 16:58:12 +02:00
Benjamin Canac
33a31205a1 chore(components): add names 2022-05-20 12:21:50 +02:00
Sylvain Marroufin
39bf242f78 chore: migrate components to typescript setup (#55)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2022-05-09 16:05:07 +02:00
Benjamin Canac
2e099392f1 fix: Dropdown and Popover manual padding 2022-04-12 15:04:56 +02:00
Sylvain Marroufin
8bc4902078 fix: Hover mode on Dropdown & Popover (#48) 2022-04-12 11:44:35 +02:00
Sylvain Marroufin
77149f0dd4 feat(Dropdown): add hover mode (#45) 2022-04-08 10:23:29 +02:00
Benjamin Canac
0ca40a57c9 chore(Dropdown): handle item hover
Co-Authored-By: Sébastien Chopin <seb@nuxtjs.com>
2022-03-26 00:45:16 +01:00
Benjamin Canac
5fb7f10283 fix(Dropdown): improve disabled state 2022-02-22 11:29:49 +01:00
Benjamin Canac
c0661c3580 chore(Dropdown): support item avatar 2022-02-16 12:15:26 +01:00
Benjamin Canac
57d477f3a2 chore(Dropdown): add inline-flex on trigger 2022-02-07 14:48:39 +01:00
Benjamin Canac
d724f87654 chore(Dropdown): support preset 2022-02-02 12:15:01 +01:00
Benjamin Canac
74bd7bc180 feat: module improvements 2021-12-22 12:13:52 +01:00