UNPKG

@hashicorp/design-system-codemods

Version:
84 lines (43 loc) 2.4 kB
# @hashicorp/design-system-codemods ## 0.5.2 ### Patch Changes `dropdown-list-item-interactive` - Reworked codemod to support usage in complex conditionals, and values with concatenated handlebars values. <small class="doc-whats-new-changelog-metadata">[#3303](https://github.com/hashicorp/design-system/pull/3303)</small> <div class="doc-whats-new-changelog-separator"></div> ## 0.5.1 ### Patch Changes Shifted our supported version of Node.js from `16* || >= 18` to `>=18` <small class="doc-whats-new-changelog-metadata">[#2619](https://github.com/hashicorp/design-system/pull/2619)</small> <div class="doc-whats-new-changelog-separator"></div> ## 0.5.0 ### Minor Changes Update `v4/dropdown-list-item-interactive` codemod to successfully parse nested content blocks such as conditionals <small class="doc-whats-new-changelog-metadata">[#2575](https://github.com/hashicorp/design-system/pull/2575)</small> <div class="doc-whats-new-changelog-separator"></div> ## 0.4.0 ### Minor Changes `Dropdown::ListItem::Interactive` - Adds a yielded block. - Yields the `Hds::Badge` component. - Deprecates the `@text` argument. New codemod: `v4/dropdown-list-item-interactive` - Converts `Dropdown::ListItem::Interactive` `@text` arguments to content within a yielded block. <small class="doc-whats-new-changelog-metadata">[#2347](https://github.com/hashicorp/design-system/pull/2347)</small> <div class="doc-whats-new-changelog-separator"></div> ## 0.3.0 ### Minor Changes `v4/icon` Adds a codemod for converting `FlightIcon` components to `Hds::Icon` components [See README for details](../packages/codemods/transforms/v4/icon/README.md) <small class="doc-whats-new-changelog-metadata">[#2207](https://github.com/hashicorp/design-system/pull/2207)</small> <div class="doc-whats-new-changelog-separator"></div> ## 0.2.0 ### Minor Changes Add codemods for `design-system-components` v4 <small class="doc-whats-new-changelog-metadata">[#1884](https://github.com/hashicorp/design-system/pull/1884) / [#1860](https://github.com/hashicorp/design-system/pull/1860)</small> <div class="doc-whats-new-changelog-separator"></div> ## 0.1.0 ### Minor Changes Add codemods for `design-system-components` v3 <small class="doc-whats-new-changelog-metadata">[#1634](https://github.com/hashicorp/design-system/pull/1634)</small> <div class="doc-whats-new-changelog-separator"></div>