Commit Graph

960 Commits

Author SHA1 Message Date
Benjamin Canac
f7e2082983 fix(module): safelist regex when a : was present before color
Also prevents parsing colors already safelisted initially.
2023-06-21 17:42:02 +02:00
Benjamin Canac
f719111abb fix(module): safelist aliases for input
To make it work when doing `<USelect color="yellow" />` for example
2023-06-21 17:41:51 +02:00
Benjamin Canac
3bac0874f1 fix(Radio/Checkbox): remove legacy custom 2023-06-21 17:41:39 +02:00
Selemondev
457b7a9fb7 fix(forms): precise type assertion for onInput event handler (#293)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2023-06-21 17:41:15 +02:00
Benjamin Canac
4023fbec29 fix(module): let tailwindcss viewer enabled by default
Resolves #292
2023-06-21 17:40:54 +02:00
Benjamin Canac
a274a0cdbb chore(release): 2.4.0 v2.4.0 2023-06-13 17:42:38 +02:00
Benjamin Canac
717a514451 fix(SelectMenu): input focus after be5f352 2023-06-13 17:34:34 +02:00
9uenther
786d7765f5 fix(Table): colspan of empty and loading is wrong when selection enabled (#284) 2023-06-13 17:06:06 +02:00
Benjamin Canac
a733c13866 fix(module): hardcode gray safelist instead of deduplicate complex logic 2023-06-13 16:31:13 +02:00
Benjamin Canac
88c1930845 fix(module): transform vue files to detect multi-line components 2023-06-13 15:53:02 +02:00
Benjamin Canac
c3f5c44461 docs: improve theming colors safelisting section 2023-06-13 15:51:05 +02:00
Benjamin Canac
2cfa1f8d03 fix(module): deduplicate default safelist as components may share same rules 2023-06-13 15:27:25 +02:00
Benjamin Canac
5f7de8e595 docs: only safelist valid colors 2023-06-13 15:26:45 +02:00
Benjamin Canac
cdce519742 fix(module): only safelist known colors 2023-06-13 14:52:56 +02:00
Benjamin Canac
ccd9ca5106 fix(module): prevent safelisting dynamic :color variables 2023-06-13 14:52:32 +02:00
Benjamin Canac
9031742acc chore(deps): bump 2023-06-13 14:52:04 +02:00
Benjamin Canac
9559d0b3bc fix(deps): move @tailwindcss/container-queries to dependencies 2023-06-13 12:27:17 +02:00
Benjamin Canac
0e6550ec45 chore(deps): bump 2023-06-13 12:25:37 +02:00
Benjamin Canac
20fa4d2317 feat(module): smart safelisting (#268)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2023-06-13 12:18:38 +02:00
Benjamin Canac
e12e9740c9 fix(forms)!: bind $attrs to elements (#279) 2023-06-13 11:35:05 +02:00
Benjamin Canac
cbc8ef13cc fix(CommandPalette): input focus after be5f352 2023-06-12 14:56:13 +02:00
Haytham A. Salama
652af93f5c feat(CommandPalette): handle empty-state (#271)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2023-06-12 14:54:34 +02:00
Benjamin Canac
b4a96a8b01 chore(Select)!: rename text-attribute to option-attribute and defaults to label 2023-06-12 14:42:33 +02:00
Benjamin Canac
bc81d45b2b docs: improve forms usage with examples 2023-06-12 14:42:33 +02:00
Benjamin Canac
429791dab0 fix(Radio/Checkbox): split preset as indeterminate is checkbox only 2023-06-12 14:42:33 +02:00
Benjamin Canac
fe833eb2b2 fix(Toggle): missing disabled prop 2023-06-12 14:42:17 +02:00
Benjamin Canac
be5f352296 fix(module): use @tailwindcss/forms class strategy (#278) 2023-06-12 14:27:08 +02:00
Haytham A. Salama
47415322ea feat(table): add loading state (#259)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2023-06-12 14:26:29 +02:00
Benjamin Canac
d20983d355 docs: add Edge badge for next release features
Resolves #277
2023-06-12 10:53:06 +02:00
Sylvain Marroufin
f0b24ba25d feat(Pagination): new component (#257)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: Haytham A. Salama <haythamasalama@gmail.com>
2023-06-09 18:12:40 +02:00
Haytham A. Salama
f7a34c8fee feat(table): add slot for empty state (#260)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2023-06-09 17:06:42 +02:00
Benjamin Canac
4e5e614eb4 docs: notification color default to primary 2023-06-09 14:32:53 +02:00
Benjamin Canac
07f7855a26 fix(Notification): class priority for icon color 2023-06-09 11:40:46 +02:00
Benjamin Canac
57f95102e2 chore: add @tailwindcss/container-queries official plugin 2023-06-09 11:39:46 +02:00
Benjamin Canac
3f8d927438 chore(Dropdown): handle height for overflow 2023-06-08 12:55:38 +02:00
Benjamin Canac
d91c0bb894 fix(ButtonGroup): use -space-x-px on wrapper 2023-06-06 15:58:24 +02:00
Benjamin Canac
a6176720c7 fix(ButtonGroup): invalid size validator 2023-06-06 14:59:18 +02:00
Benjamin Canac
a6903df58f fix(Button): same size when no label + uniformize form elements 2023-06-06 12:30:03 +02:00
Benjamin Canac
19b149518e docs: add space between header icons 2023-06-06 12:26:34 +02:00
Benjamin Canac
c66a99a60f docs: only display links section in header when needed 2023-06-06 11:48:16 +02:00
Benjamin Canac
4a7c6035b6 chore(deps): bump 2023-06-06 10:33:17 +02:00
Benjamin Canac
207444fdea fix(forms): padded prop with p-0 class 2023-06-06 10:33:11 +02:00
Benjamin Canac
60eea0e46b chore(release): 2.3.0 v2.3.0 2023-06-05 12:12:48 +02:00
Benjamin Canac
5e50eb9eb8 fix: use cloneVNode when altering props in render functions
Resolves #252

https://vuejs.org/api/render-function.html#clonevnode
2023-06-05 11:17:31 +02:00
Dominik Opyd
af65683123 docs(github): support for various file extensions (#250) 2023-06-02 11:35:31 +02:00
Benjamin Canac
2c673f5377 fix(CommandPalette): override of closeButton and emptyState props 2023-06-01 17:15:04 +02:00
Benjamin Canac
192b0e6301 fix(Table): override of sortButton and emptyState props 2023-06-01 17:14:45 +02:00
Benjamin Canac
71edb91c4f fix(Avatar): placeholder font size 2023-06-01 16:47:23 +02:00
Benjamin Canac
f9b935f5f5 fix(Badge): remove console.log in validator 2023-06-01 16:24:19 +02:00
Benjamin Canac
23833e92cb chore(Badge): handle color override like buttons 2023-06-01 16:06:07 +02:00