All notable changes to vue3-tabs-component
will be documented in this file
- Fix selecting default tab if cache is not used
- CS/typo fixes
- Refactor
Tab
&Tabs
component prop definitions to TypeScript - Add
id
&options.storageKey
props toTabs
component, which are used when remembering last opened tab
- Fix prop shape for all custom class props to allow for regular Vue class prop shape (string, array, object)
- Add support for setting custom class for navigation item & navigation item link of a Tab
- Fix tabs navigation element losing focus on click
- Fix referencing non-existent module files in
package.json
- Disable caching if
cache-lifetime
is set as0
- Refactor package to TypeScript
- Fix aria-controls referencing non-existent elements by id
- Move Tab's computed id from
id
attribute todata-tab-id
- Remove
disableScrollBehaviour
option - browser will now never automatically jump to a tab element by hash, as it is undesired
- Fix dist files missing in CDN
- Fix tab hash not being updated when a tab's disabled state is changed dynamically
- Added classes for inactive tabs & inactive tab links
- Add support for disabling scroll behavior on
tabs
component via a new propoptions.disableScrollBehavior
- Replace webpack with Vite.js for faster package bundling & development
- Add proper dist compilation as ES & UMD - files renamed to
dist/vue3-tabs-component.es.js
&dist/vue3-tabs-component.umd.js
- Enable ESLint
- Add
module
,unpkg
definitions
- Fix
vue
external when used as UMD module
- Add UMD module
- Fix server side rendering for Tabs component to use the
window
object after mounting
- Fix tab active state persistence when a Tab's props are changed
- Fix tab prefix, name & suffix props changes not reflecting on tab header when changed dynamically
- Fix internal state of Tabs component not reflecting updating of a tab
- Fix internal state of Tabs component not reflecting unmounting of a Tab
- Fix preventing default event behaviour when a disabled tab is being selected and event is not provided
- Fix trailing
n
character in CDN
- Fix importing
Tab
&Tabs
components when using Vite
- Initial release
- Improved usage explanation in readme to properly support the Vue3 syntax
- Reuse
vue-tabs-component
default storage key to smoothen transition fromspatie/vue-tabs-component