Skip to content

Feature: add description#8

Merged
hefler merged 6 commits intomainfrom
feat/add-description
Nov 17, 2025
Merged

Feature: add description#8
hefler merged 6 commits intomainfrom
feat/add-description

Conversation

@hefler
Copy link
Contributor

@hefler hefler commented Nov 17, 2025

This pull request introduces improvements to variable export formats, focusing on adding support for variable descriptions and better handling of linked variable mode names. The changes affect multiple export utilities (CSV, CSS, JS, JSON, and Tailwind CSS), ensuring that variable descriptions are included in outputs and that linked variables reference the correct mode names across collections. Additionally, some UI tweaks and dependency updates are included.

Export Format Enhancements

  • Variable descriptions are now included in all export formats: CSV, CSS, JS, JSON, and Tailwind CSS. For CSV, a new Description column is added, and for CSS/Tailwind, descriptions are appended as comments. In JS/JSON, descriptions are added as a field in the exported objects. [1] [2] [3] [4] [5] [6] [7] [8]

  • Linked variable references now use a helper function getMatchingModeName to ensure the correct mode name is used when exporting aliases, improving consistency across collections. This affects CSV, JS, and JSON exports. [1] [2] [3] [4]

UI Improvements

  • Checkbox controls in the ExportOptions component have flexShrink: 0 applied to prevent layout issues and improve visual consistency. [1] [2] [3]

Functionality Updates

  • The export logic now re-triggers when the row/column position toggle changes for CSV format, ensuring the output reflects the latest user settings.

Dependency Updates

  • Various dependencies in package.json have been updated to their latest versions, including typings, build tools, and plugins, to ensure compatibility and stability.

Version Bump

  • The package version is incremented from 2.0.1 to 2.1.0 to reflect these new features and improvements.

@hefler hefler merged commit 5a80544 into main Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant