Releases: TODOvue/tv-button
Releases · TODOvue/tv-button
v1.2.6
For stable releases, please refer to CHANGELOG.md for details.
v1.2.5
For stable releases, please refer to CHANGELOG.md for details.
v1.2.4
Added
- Add
dashboard,folder,image,link,mail,saveicons. - Added support for
hrefandtoproperties to enable native link and client-side routing functionality within the component.
Dependencies
- Update
@todovue/tv-demoto^1.4.3. - Update
sassto^1.97.2. - Update
viteto^7.3.1.
Changed
- Standardized button properties to ensure consistent API usage across the application.
- Refactored the component structure to improve maintainability and code readability.
- Updated the
README.mddocumentation to reflect the standardization of button properties usingvariantandsizeterminology. - Simplified button mixins to streamline the styling architecture.
- Improved hover and active states to enhance visual feedback and user interaction.
v1.2.3
Added
- Added automatic publishing to the TODOvue cPanel in
release.ymlfor each release, simplifying package distribution and updates. - Added
package-lock.jsonto the repository to ensure dependency consistency and facilitate version management across development and production environments.
Changed
- Changed the
baseoption invite.config.jsfor website deployment in cpanel.
Fixed
- Fixed repository URL in
package.jsonto point to the correct GitHub repository. - Fixed the token configuration used to generate the package in the GitHub Actions workflow
release.yml.
Dependencies
- Updated dependency versions in
package.jsonto maintain compatibility and benefit from improvements and bug fixes in the used libraries.
v1.2.1
Fixed
- Fixed missing export of
nux.jsfile in the package. - Create
global.d.tsto declare module for TypeScript users. - Create
tsconfig.jsonfor proper type checking during build.
v1.2.0
Dependencies
- Update
@todovue/tv-demoto^1.2.0for demo improvements.
Added
- Add
double-arrow-left,double-arrow-right,home,dots-vertical,eye-off,trashanduploadicons. - Add
nux.jsconfiguration file for Nuxt 4 integration.
v1.1.3
[1.1.3] - 2025-11-15
🛠️ Changed
- Removed CSS injection via
vite-plugin-css-injected-by-jsfor the library build. - Styles are now served from a separate CSS file generated by Vite (
dist/*.css) and must be imported explicitly in the consuming app (SPA or Nuxt). - Improved compatibility with SSR/SSG environments (especially Nuxt) by avoiding runtime CSS injection.
v1.1.2
[1.1.2] - 2025-10-17
🐛 Fixed
- Fixed CSS export to avoid the need for manual import wherever the component is used.
1.1.1
[1.1.1] - 2025-10-17
🛠️ Changed
- The library build now uses
src/entry.ts(exports both the component and the plugin) instead of directly exporting the.vuefile. - CSS injection via JS has been removed for the library build (it is only kept for the demo), generating a
tv-button.cssfile optimized for SSR/Nuxt. - Changed node-version to workflows release.yml to 20.
✨ Added
- Plugin installation support:
app.use(TvButton)orapp.use(TvButtonPlugin). - Explicit export of the style file:
import '@todovue/tv-button/style.css'. - Documentation for usage in SSR and Nuxt 3 applications.
📦 Dependencies
package.jsonexposesstyle,sideEffects, and the export of./style.cssfor safe tree-shaking.- Updated Vite to
^7.0.0to ensure compatibility with Node.js 20.19+. - Updated @vitejs/plugin-vue to
^6.0.0.
v1.0.0
[1.0.0] - 2025-05-05
✨ Added
- Introduced
TvButtonas a reusable and fully customizable button component. - Support for multiple button variants:
default,outlined,text,icon-only. - Size options:
small,default,large. - Status-based styles:
success,info,warning,error. disabledstate with the appropriate accessibility handling.- Support for custom styles via
customStyleprop. - Icon integration using the
iconandiconPositionprops. - ARIA accessibility via
ariaLabelprop. - Dual-event emission:
clickandclick-button.
📦 Included Icons
- 40+ built-in icons (
account,add-user,check,info,logout,settings, etc.) - All icons are SVG-based and support
currentColorfor theme compatibility.
🛠️ Tooling & Setup
- Bundled and built using Vite.
- Ready-to-use as a standalone or global Vue component.
- Scoped styles using SCSS.