|
| 1 | +--- |
| 2 | +title: Rollup release 2.5.2 |
| 3 | +subtitle: This release brings a bug fixes, new design tokens and improved documentation. |
| 4 | +date: 2021-10-14 22:10:29 |
| 5 | +version: 2.5.2 |
| 6 | +tags: |
| 7 | + - posts |
| 8 | + - changelog |
| 9 | +layout: layouts/post.njk |
| 10 | +--- |
| 11 | + |
| 12 | +{% markdown %} |
| 13 | + |
| 14 | +In addition to [new design tokens for interactive foreground and background colours](/design-tokens/theming/#interactive), we've refreshed the [guidance on the component creation process and technicalities](/guidance/creating-components/). |
| 15 | + |
| 16 | +Read below for details on the changes in each component. |
| 17 | + |
| 18 | +Our next release will [bring an overhaul to the component previews](https://github.com/visual-framework/vf-core/pull/1689). |
| 19 | + |
| 20 | +As always, you can [join the conversation on Slack](https://join.slack.com/t/visual-framework/shared_invite/enQtNDAxNzY0NDg4NTY0LWFhMjEwNGY3ZTk3NWYxNWVjOWQ1ZWE4YjViZmY1YjBkMDQxMTNlNjQ0N2ZiMTQ1ZTZiMGM4NjU5Y2E0MjM3ZGQ). |
| 21 | + |
| 22 | +{% endmarkdown %} |
| 23 | + |
| 24 | +{% set context = { |
| 25 | + "component_modifier": "vf-links__list--easy", |
| 26 | + "title": "On this page", |
| 27 | + "svg": true, |
| 28 | + "list": [ |
| 29 | + { |
| 30 | + "text": "Refinements", |
| 31 | + "link_list_href": "#refinements" |
| 32 | + }, |
| 33 | + { |
| 34 | + "text": "Bug fixes", |
| 35 | + "link_list_href": "#bugs" |
| 36 | + } |
| 37 | + ] |
| 38 | +} |
| 39 | +%} |
| 40 | +{% include blocks.links_list %} |
| 41 | + |
| 42 | +{% macro notes(component='vf-xxx', componentVersion='9.9.9', commitId='0123456789') %} |
| 43 | + |
| 44 | +#### [{{component}}](https://latest.visual-framework.dev/components/{{component}}/) <span class="vf-badge vf-badge--secondary">{{ componentVersion }}</span> <a href="https://www.npmjs.com/package/@visual-framework/{{component}}/v/{{componentVersion}}" class="vf-badge vf-badge--secondary">npm</a> <a href="https://github.com/visual-framework/vf-core/commit/{{commitId}}" class="vf-badge vf-badge--secondary">git diff</a> |
| 45 | + |
| 46 | +{% endmacro %} |
| 47 | + |
| 48 | +{% macro notesTool(component='vf-xxx', componentVersion='9.9.9', commitId='0123456789') %} |
| 49 | +<!-- Tools don't have pages in the component library --> |
| 50 | + |
| 51 | +#### [{{component}}](https://github.com/visual-framework/vf-core/tree/develop/tools/{{component}}/#readme) <span class="vf-badge vf-badge--secondary">{{ componentVersion }}</span> <a href="https://www.npmjs.com/package/@visual-framework/{{component}}/v/{{componentVersion}}" class="vf-badge vf-badge--secondary">npm</a> <a href="https://github.com/visual-framework/vf-core/commit/{{commitId}}" class="vf-badge vf-badge--secondary">git diff</a> |
| 52 | + |
| 53 | +{% endmacro %} |
| 54 | + |
| 55 | +{% macro componentLink(component='vf-xxx') %}[{{component}}](https://latest.visual-framework.dev/components/{{component}}/){% endmacro %} |
| 56 | +{# endmacros ---/ #} |
| 57 | + |
| 58 | +{% markdown %} |
| 59 | + |
| 60 | +<section class="vf-u-fullbleed vf-u-background-color-ui--grey--light"><br/> |
| 61 | +<article class="vf-box vf-box-theme--primary vf-box--easy"> |
| 62 | +<h3 class="vf-box__heading"> |
| 63 | +This releases {{version}} to the CDN |
| 64 | +</h3> |
| 65 | +<div class="vf-box__text"> |
| 66 | + |
| 67 | +[`https://assets.emblstatic.net/vf/v{{version}}/css/styles.css`](https://assets.emblstatic.net/vf/v{{version}}/css/styles.css) <br/> |
| 68 | +[`https://assets.emblstatic.net/vf/v{{version}}/scripts/scripts.js`](https://assets.emblstatic.net/vf/v{{version}}/scripts/scripts.js) |
| 69 | + |
| 70 | +As a reminder, the rollup CSS and JS are compilations of many independently versioned components and is likely to contain changes that may disrupt the look of your site. We advise testing. Even better is to build your own CSS rollup from the npm sources, [you can find a guide here]({{ '/building' | url }}). |
| 71 | + |
| 72 | +{#- don't forget to add the latest version to /tools/vf-component-library/src/site/_data/siteConfig.js -#} |
| 73 | + |
| 74 | +</div> |
| 75 | +</article><br/> |
| 76 | +</section> |
| 77 | + |
| 78 | +<br/> |
| 79 | + |
| 80 | +### Refinements <a href="#refinements" id="refinements"></a> |
| 81 | + |
| 82 | +{{ notes("vf-design-tokens", "3.6.2", "63c3bec9fe233120497f6ba33a9dc292a53185c0") }} |
| 83 | + |
| 84 | +* Add `interactive-color` tokens. |
| 85 | + * https://github.com/visual-framework/vf-core/issues/1688 |
| 86 | + |
| 87 | +{{ notes("vf-dropdown", "1.0.0-alpha.4", "63c3bec9fe233120497f6ba33a9dc292a53185c0") }} |
| 88 | + |
| 89 | +* Use new interactive colour token. |
| 90 | + * https://github.com/visual-framework/vf-core/issues/1688 |
| 91 | + |
| 92 | +{{ notes("vf-sass-config", "2.6.2", "63c3bec9fe233120497f6ba33a9dc292a53185c0") }} |
| 93 | + |
| 94 | +* Add map to `interactive-color` sass map |
| 95 | + * https://github.com/visual-framework/vf-core/issues/1688 |
| 96 | + |
| 97 | +{{ notes("vf-table", "1.2.0-rc.3", "63c3bec9fe233120497f6ba33a9dc292a53185c0") }} |
| 98 | +* Use new interactive colour token. |
| 99 | + * https://github.com/visual-framework/vf-core/issues/1688 |
| 100 | + |
| 101 | +{{ notes("vf-tabs", "VERSIONHERE", "63c3bec9fe233120497f6ba33a9dc292a53185c0") }} |
| 102 | + |
| 103 | +* Use new interactive colour token. |
| 104 | + * https://github.com/visual-framework/vf-core/issues/1688 |
| 105 | + |
| 106 | +### Bug fixes <a href="#bugs" id="bugs"></a> |
| 107 | + |
| 108 | +{{ notes("vf-location-nearest", "1.0.2", "0459997ca19e5d000edeb9a80b4041180e61a2fe") }} |
| 109 | + |
| 110 | +* Remove unneeded `console.log`. |
| 111 | + |
| 112 | +{{ notes("vf-tabs", "2.0.2", "0459997ca19e5d000edeb9a80b4041180e61a2fe") }} |
| 113 | + |
| 114 | +* Prevent hijacking of scroll when focusing tabs. |
| 115 | + * https://github.com/visual-framework/vf-core/pull/1696 |
| 116 | + |
| 117 | +{{ notes("vf-section-header", "1.5.3", "63c3bec9fe233120497f6ba33a9dc292a53185c0") }} |
| 118 | + |
| 119 | +* Bug: following 1.5.2, ensures that links are always style correctly. |
| 120 | + |
| 121 | + |
| 122 | +{% endmarkdown %} |
0 commit comments