50 KiB
Changelog
2.5.0 (2023-06-27)
⚠ BREAKING CHANGES
- Radio/Checkbox/Toggle: handle
colorprop for form elements (#323)
Features
- Avatar: handle
chipText(#306) (759af05) - defineShortcuts: chained shortcuts + docs update (#282) (a67f691)
- Radio/Checkbox/Toggle: handle
colorprop for form elements (#323) (ffb312d) - Range: new component (#290) (97a1c86)
- RTL support (#320) (4ea114a)
- Table: pass row index to table cell (#291) (71c2465)
- Table: reset sort on third click (1ff11ac), closes #300
Bug Fixes
- components: prefix
@headlessui/vuecomponents (41b85d5), closes #315 - defineShortcuts: missing
refimport (a880379) - defineShortcuts: missing
useDebounceFnimport (9cd73aa) - FormGroup: prevent overriding
colorof children (6be9290), closes #352 - Table: default
sortButtonicon (07b27a2) - Table: missing default sort icon when overriding
sort-buttonprop (0f3fe0d) - Toggle: add
opacity-50when disabled (c2ebb04) - Tooltip: add
colorin config (1b03b8a)
2.4.1 (2023-06-21)
Bug Fixes
- forms: precise type assertion for
onInputevent handler (#293) (457b7a9) - module: let
tailwindcssviewer enabled by default (4023fbe), closes #292 - module: safelist aliases for input (f719111)
- module: safelist regex when a
:was present before color (f7e2082) - Radio/Checkbox: remove legacy
custom(3bac087)
2.4.0 (2023-06-13)
⚠ BREAKING CHANGES
- forms: bind
$attrsto elements (#279) - Select: rename
text-attributetooption-attributeand defaults tolabel
Features
- CommandPalette: handle
empty-state(#271) (652af93) - module: smart safelisting (#268) (20fa4d2)
- Pagination: new component (#257) (f0b24ba)
- table: add loading state (#259) (4741532)
- table: add slot for empty state (#260) (f7a34c8)
Bug Fixes
-
ButtonGroup: invalid
sizevalidator (a617672) -
ButtonGroup: use
-space-x-pxon wrapper (d91c0bb) -
Button: same size when no label + uniformize form elements (a6903df)
-
deps: move
@tailwindcss/container-queriesto dependencies (9559d0b) -
forms:
paddedprop withp-0class (207444f) -
module: deduplicate default safelist as components may share same rules (2cfa1f8)
-
module: hardcode
graysafelist instead of deduplicate complex logic (a733c13) -
module: only safelist known colors (cdce519)
-
module: prevent safelisting dynamic
:colorvariables (ccd9ca5) -
module: transform
vuefiles to detect multi-line components (88c1930) -
module: use
@tailwindcss/formsclass strategy (#278) (be5f352) -
Notification: class priority for icon color (07f7855)
-
Radio/Checkbox: split preset as
indeterminateis checkbox only (429791d) -
SelectMenu: input focus after
be5f352(717a514) -
Table: colspan of
emptyandloadingis wrong when selection enabled (#284) (786d776) -
Toggle: missing
disabledprop (fe833eb) -
Select: rename
text-attributetooption-attributeand defaults tolabel(b4a96a8)
2.3.0 (2023-06-05)
⚠ BREAKING CHANGES
- Input: move pointer class inside its own preset class
- SelectMenu: remove
inline-flexfrom wrapper to behave like other form elements - Notification: rename to
closeButtonandactionButtonfor consistency - CommandPalette: rename props to
emptyStateandcloseButtonfor consistency - Toggle: rename icons to
onIcon/offIconfor consistency
Features
Bug Fixes
-
Avatar: placeholder font size (71edb91)
-
Badge: remove
console.login validator (f9b935f) -
Button: invalid padding when using
squareprop (1ebaa5a) -
CommandPalette: override of
closeButtonandemptyStateprops (2c673f5) -
defineShortcuts: err with input autocomplete that triggers
keydown(01fa85c) -
SelectMenu: disable on loading (8951923)
-
Table: add missing
text-leftinth.base(6bd5142) -
Table: missing
refimport fromvue(272af9d) -
Table: override of
sortButtonandemptyStateprops (192b0e6) -
Table: type
sortprop (3ba0aed) -
use
cloneVNodewhen altering props in render functions (5e50eb9), closes #252 -
CommandPalette: rename props to
emptyStateandcloseButtonfor consistency (daca463) -
Input: move pointer class inside its own preset class (f59a92c)
-
Notification: rename to
closeButtonandactionButtonfor consistency (4458656) -
SelectMenu: remove
inline-flexfrom wrapper to behave like other form elements (ba44c58) -
Toggle: rename icons to
onIcon/offIconfor consistency (8ee2ac1)
2.2.1 (2023-05-27)
Bug Fixes
2.2.0 (2023-05-26)
⚠ BREAKING CHANGES
- handle color states on form elements (#234)
- Notification: rename
progressColortocolorand style icon - Avatar: remove
chipVariantprop - VerticalNavigation: split preset
Features
Bug Fixes
-
Notification: remove default color on icon (1a9dc5c)
-
Radio/Checkbox: remove ring offset on focus (a56dbea)
-
Avatar: remove
chipVariantprop (1f22f84) -
Notification: rename
progressColortocolorand style icon (1b61ec7) -
VerticalNavigation: split preset (19923cb)
2.1.0 (2023-05-19)
Bug Fixes
- app.config: trailing space (703fdef)
- ButtonGroup/AvatarGroup: allow
v-for(#173) (3fa10aa) - DocsPageHeader: github component link (#182) (7f00ec6)
- Input: expose ref (2ded24b)
- module: add
.mjsextension to tailwindcontentwhen builded (246449b), closes #172 - Textarea: expose ref (ea740bf)
2.0.4 (2023-05-15)
Bug Fixes
- SelectMenu: add missing
inline-flexon wrapper (e8b4654)
2.0.3 (2023-05-15)
2.0.2 (2023-05-11)
Bug Fixes
- LinkCustom: handle
buttonwhen notoprop (c7c78cb)
2.0.1 (2023-05-11)
Bug Fixes
- app.config: remove old
u-classes (939efba) - Avatar:
graymissing forchipColor(fd4c80a) - Avatar: shrink chip ring (ebf5fd6)
- Button:
variantvalidator takes color into account (d1d8ab3) - colors: missing
useNuxtAppimport (76a0d61) - CommandPalette: expose input ref to template (192bf4c)
- CommandPalette: put back searchable on
v-showto input ref always exists (aacb7e9) - CommandPalette: wrong type usage (4665563)
- docs: sticky search button
z-index(f48ead6) - Icon: missing import (cd430a4)
- module: remove
.tsext from app.config (a076cae) - Notifications: missing
computedfrom vue (9ce43ac) - prefix imported components (0c69385)
- put back app.config for hmr (626409e)
- remove augmentation of app (#152) (f5c0030)
- revert back to runtime app for hmr (#153) (97b1a85)
- Select: move types from template (fa05653)
- Toggle: wrong
icon-offpositioning (d5471f4) - update to fix type issues (#151) (11e00a1)
- VerticalNavigation: improve focus (034a95d)
- VerticalNavigation: improve stacking context (28ee917)
2.0.0 (2023-05-04)
Features
1.2.11 (2023-05-04)
Bug Fixes
1.2.10 (2023-04-07)
Bug Fixes
- CommandPalette: typecheck (cfce152)
1.2.9 (2023-04-07)
1.2.8 (2023-04-04)
1.2.7 (2023-04-04)
Bug Fixes
- useTimer: remaining after pause (aafdfdb)
1.2.6 (2023-04-04)
1.2.5 (2023-04-04)
1.2.4 (2023-04-04)
1.2.3 (2023-03-22)
1.2.2 (2023-03-20)
1.2.1 (2023-03-20)
Bug Fixes
1.2.0 (2023-03-09)
Bug Fixes
1.1.4 (2023-03-02)
1.1.3 (2023-03-02)
1.1.2 (2023-02-28)
Bug Fixes
1.1.1 (2023-02-20)
1.1.0 (2023-02-17)
Features
- CommandPalette: handle async search for specific groups (efa9674)
Bug Fixes
- CommandPalette: types (4702a4f)
1.0.0 (2023-02-17)
Features
- migrate to
@egoist/tailwindcss-icons(ee33522)
0.2.1 (2023-02-16)
0.2.0 (2023-02-16)
0.1.39 (2023-02-16)
Features
- use
nuxt-icon(f5d068b)
Bug Fixes
- SelectCustom: handle search on string arrays (6018f00)
0.1.38 (2023-02-03)
0.1.37 (2023-02-03)
Bug Fixes
0.1.36 (2023-02-02)
Bug Fixes
- CommandPalette: put back cursor on top only when query changes (5bf5a31)
0.1.35 (2023-02-01)
Bug Fixes
- AvatarGroup: preset size prop (c90cd9c)
- Dropdown: lint (1c4d46e)
- Dropdown: prevent panel display when no items (a764486)
0.1.34 (2023-01-27)
Bug Fixes
- CommandPalette: typecheck (27717a5)
0.1.33 (2023-01-27)
0.1.32 (2023-01-23)
0.1.31 (2023-01-17)
0.1.30 (2023-01-17)
0.1.29 (2023-01-17)
0.1.28 (2023-01-13)
0.1.27 (2023-01-12)
0.1.26 (2023-01-09)
Bug Fixes
0.1.25 (2023-01-09)
0.1.24 (2023-01-04)
0.1.23 (2022-12-20)
0.1.22 (2022-12-19)
0.1.21 (2022-12-19)
0.1.20 (2022-12-19)
Bug Fixes
0.1.19 (2022-12-16)
0.1.18 (2022-12-15)
0.1.17 (2022-12-06)
Bug Fixes
- remove stop propagation on mode hover (16fd1c0)
0.1.16 (2022-12-06)
Bug Fixes
- Popover: preset from tooltip (0ade69d)
0.1.15 (2022-12-02)
Bug Fixes
0.1.14 (2022-12-02)
0.1.13 (2022-12-01)
0.1.12 (2022-11-29)
Bug Fixes
- Checkbox: types (629bb72)
0.1.11 (2022-11-29)
Bug Fixes
- Checkbox: revert type fix as it breaks checkboxes (7f18c6b)
0.1.10 (2022-11-26)
Bug Fixes
0.1.9 (2022-11-25)
Bug Fixes
0.1.8 (2022-11-16)
0.1.7 (2022-11-16)
0.1.6 (2022-11-15)
Bug Fixes
- SelectCustom: add
w-fullonComboboxButton(3a300f7)
0.1.5 (2022-11-08)
0.1.4 (2022-11-08)
Bug Fixes
0.1.3 (2022-11-04)
Bug Fixes
- docs: component input string field (e521e1a)
- types: add missing field in command palette type (#111) (28586c3)
0.1.2 (2022-10-27)
0.1.1 (2022-10-26)
Bug Fixes
- CommandPalette: lint (6fab68b)
- Dropdown: close on click item with
to(#103) (5517cc2) - Popover: avoid crash on mount if ref not loaded (#105) (e9f0224)
- SelectCustom: types and lint (ec8bd5c)
0.1.0 (2022-10-25)
Bug Fixes
toprop type (be94fea)- CommandPalette: command icons opacity in dark mode (abb93b5)
- CommandPalette: fix groups computed (9302b8d)
- CommandPalette: group items spacing (32922de)
- CommandPalette: hack for reactivity (b43394d)
- CommandPalette: icon color on hover (e4f148e)
- CommandPalette: icon inactive opacity on dark mode (5722a3a)
- CommandPalette: prevent empty active slot (056ab30)
- CommandPalette: prevent shortcuts to disappear on hover (f87252f)
- CommandPalette: reactivity issue + improve results (ec9f670), closes #95 #96
- CommandPalette: truncate suffix (aa242aa)
- default object options (95c14a4)
- Dropdown: increase timeout for hover mode (7291942)
- error in Popover and Dropdown (541ed30)
- icon: hydratation warning when loading same icon twice (#99) (d57647a)
- load icons on mount rather than within setup (#82) (62361bf)
- Modal: use object for
innerStyle(72dc0d0) - Notification: improve placement with description (945fec6)
- Notification: prevent error without timeout (8a66f5e)
- Popover:
inline-flexon trigger button (593573a) - SelectCustom: avoid submitting to form when closing (#83) (cf1b2cd)
0.0.3 (2022-07-18)
Features
- AvatarGroup: preset support (#69) (00b9a08)
- button: Add black variant (#34) (46ca8c5)
- clipboard: replace
navigator.clipboardwith vueuseuseClipboard(#33) (4532e09) - CommandPalette: implement component (18dceb7)
- Dropdown: add
hovermode (#45) (77149f0) - Icon: support custom component and emoji (c1a7629)
- migrate to
@nuxtjs/tailwindcss(#32) (702abf7) - module: handle variants with dynamic colors (5a8b078)
- plugins: clipboard (#29) (832ffe4)
- Popover: handle hovering mode (#47) (c431f8b)
- Slideover: add close button in header (#65) (2f90ce2)
- Slideover: allow opening from the right side (#64) (aecfef2)
- Slideover: preset support (#68) (5b4e4f8)
- toast: add aliases for
infoandwarningnotifications (23deef3) - toast: expose
timeoutto alias methods (#30) (6bd5197)
Bug Fixes
- Avatar: add missing
watchimport (cc01af8) - AvatarGroup: pass all avatar props (723f075)
- Avatar: missing
refimport (eb41b23) - Avatar: placeholder (#31) (1bec8d1)
- Avatar: prevent boolean src (da3ed26)
- Avatar: remove gradient support (ed499b3)
- Avatar: truncate placeholder if too long (#61) (6585bfc)
- Avatar: url error handling (#39) (fb3ff2e)
- Button: wrong config for icon size class (760da3d)
- Card: nullable validator on card roundedClass prop (c4a40b0)
- Card: prevent double class (06b07e2)
- Card: prevent empty
sm:class whenrounded-classis null (dd64637) - colors: hard-code colors as tailwindcss/colors is different (f67fdb7)
- colors: move primary to safeColors (3ab0698)
- CommandPalette: add missing import (ea293ba)
- CommandPaletteGroup: fail replace on items (1495ff9)
- CommandPaletteGroup: invalid spacing when no icon (cf65b4a)
- CommandPalette: options priority (76ffbf4)
- CommandPalette: slice from computed options (503b9a6)
- Dropdown and Popover manual padding (2e09939)
- Dropdown: improve disabled state (5fb7f10)
- Hover mode on Dropdown & Popover (#48) (8bc4902)
- Icon: missing imports (c3facb1)
- Icon: name can be an object (f513ea6)
- Icon: reload icon when prop name changes (78021d3)
- input: background should go into appearance (33b1176)
- Link:
exacthandling (ceedbe0) - Link: add missing
inactive-classonbuttonanda(035919a) - Link: handle
isActivethrough vue-router (aef1156) - Link: send correct active (d4b6599)
- Link: use
exact(7737242) - Modal:
widthClassprop and default preset value (#56) (d980176) - Modal: move classes to
DialogPanel(dfe86f0) - Modal: prevent attrs inherit (850c766)
- module:
gradient-avatarinclude (85c8210) - module: import
colorsfrom preset-mini (185273f) - module: move colors utils to runtime dir (93c9fe1)
- module: parse presets with mjs ext (b2705fe)
- module: presets content (b8dd80d)
- module: register typography plugin (bbbe57d)
- module: remove safelist on max-w (358387e)
- module: resolve runtime dir (65aa169)
- module: search in tailwind colors for
primaryandgray(10d89d3) - module: use
variantskey for safelist (4c89122) - Notifications: default value in
useState(af566ab) - Notifications: inexistant
z-55(60c72a2) - package: update
postbuild:docscommand (8045c7b) - plugins: error in provides (46ea467)
- Popover: add missing
onMountedimport (656b6e1) - Popover: add missing
refimport (2eb2fea) - popper: use
$elafter 1.5 upgrade (9554e80), closes /github.com/tailwindlabs/headlessui/discussions/1125#discussioncomment-2299441 - preset: replace avatar wrapper with
inline-flex(45cf898) - presets: add disabled bg color on nuxt buttons (e1d79d7)
- presets: defu merging (e034218)
- presets: dropdown avatar position (516e7fa)
- presets: support dark ring-offset-color (a9f1d93)
- SelectCustom: add default value to placeholder (8492e16)
- SelectCustom: add missing
listContainerClassprop (ae6e8ee) - SelectCustom: add missing
requiredprop (619f620) - SelectCustom: add missing
text-smclass (eb6fbd9) - SelectCustom: add missing bg in list input (da4e8d5)
- SelectCustom: add tabindex -1 to hidden input (09aed4b)
- SelectCustom: dark mode preset (1e6ad72)
- SelectCustom: handle placeholder when value is null (4e0d23e)
- SelectCustom: icon name in prop only for now (2e64343)
- SelectCustom: improve creatable placeholder (d413cf7)
- SelectCustom: missing padding on list (524f841)
- SelectCustom: move max-height on base (db39a9c)
- SelectCustom: move wrapper on top of
Listbox(8222d05) - SelectCustom: move wrapper under
Listbox(936d6a5) - SelectCustom: prop is
iconinstead oficonName(6da0c28) - SelectCustom: remove unused import (0e0f3e3)
- Select: default value handling (eb00439)
- Select: disable placeholder (7723704)
- Select: normalizedValue handling Object modelValue (#59) (e419d68)
- Slideover: remove useless padding (cf021a5)
- Textarea: autoresize (#43) (ba643d9)
- textarea: autoresize reactivity (#52) (f0bfe20)
- toast:
idshould be a string (7db0ca5) - Toggle: add
v-ifwhen icon props not defined (90ff1c0) - Tooltip: prevent close when hovering (18c194e)
- useTimer: lint rule changed (0e18526)
- utils: types (00e0ab3)
- VerticalNavigation:
link.avataris now an object (d733e25) - VerticalNavigation: remove
avatarSizeprop (f0835cf)
0.0.2 (2022-02-01)
Features
- AlertDialog: create component (#26) (71371ac)
- alert: Handle link as button (#25) (b218737)
- components: Update toggle component (8550c3b)
- module improvements (74bd7bc)
- support presets (#14) (8f09d0c)
Bug Fixes
- Badge: add missing vue import (542ee20)
- build: add missing
typesdir (f666ff1) - build: add plugins dir (3d2a5fe)
- build: include components (c30041f)
- Button: icon import (0de12aa)
- components dir resolution (500b4d6)
- docs: module import (84ec25b)
- forms: default should use functions (05c8f5d)
- Input: import
reffromvue(8d23d8f) - Input: remove ref import (9d70428)
- lint (78013a7)
- Modal: add missing
computedimport (11d6cc2) - module: optimize deps for gradient-avatar (09033bb)
- module: presets import (97f8f56)
- module: use
resolveModuleto import presets (2d31146) - Notification: add missing vue dep (cce650f)
- Notifications: add missing imports (4a8dd68)
- path misalignment in build, upgrade unocss (#3) (0b43414)
- provide exports without condition (d87a2c0)
- Select: missing vue imports (1755aa8)
- Textarea: imports from vue (ce46e58)
- toast: types (adbee9c)
- Toggle: add missing
computedimport (0f09c9b) - Tooltip: missing
refimport (b08a8cc) - useTimer: remove log (c6dcbd1)
- VerticalNavigation: add
v-ifon label (79d8e08)