-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
782c657
commit 54b5842
Showing
13 changed files
with
136 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
121 changes: 121 additions & 0 deletions
121
tools/vf-component-library/src/site/updates/2021-04-08-component-updates.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
--- | ||
title: Announcing rollup release 2.4.12 | ||
subtitle: A roundup of minor bug fixes. | ||
date: 2021-04-08 12:49:29 | ||
version: 2.4.11 | ||
tags: | ||
- posts | ||
- changelog | ||
layout: layouts/post.njk | ||
--- | ||
{% markdown %} | ||
|
||
Hot off the heels of the [2.4.11 release](/updates/2021-04-01-component-updates/), we're issuing a minor release that fixes a number of technical fixes and optimsations that will reduce the number of errors when building Sass and using the VF's JavaScript modules. | ||
|
||
{% endmarkdown %} | ||
|
||
{# {% set context = { | ||
"component-type": "block", | ||
"component_modifier": "vf-links__list--easy", | ||
"title": "On this page", | ||
"svg": true, | ||
"list": [ | ||
{ | ||
"text": "Search", | ||
"link_list_href": "#search" | ||
}, | ||
{ | ||
"text": "Deprecation", | ||
"link_list_href": "#deprecation" | ||
}, | ||
{ | ||
"text": "Bugs", | ||
"link_list_href": "#bugs" | ||
} | ||
] | ||
} | ||
%} | ||
{% include blocks.links_list %} #} | ||
|
||
{# macros ---> #} | ||
{% macro notes(component='vf-xxx', componentVersion='9.9.9', commitId='0123456789') %} | ||
|
||
#### [{{component}}](https://latest.visual-framework.dev/components/{{component}}/) <span class="vf-badge">{{ componentVersion }}</span> <a href="https://www.npmjs.com/package/@visual-framework/{{component}}/v/{{componentVersion}}" class="vf-badge">npm</a> <a href="https://github.com/visual-framework/vf-core/commit/{{commitId}}" class="vf-badge">git diff</a> | ||
|
||
{% endmacro %} | ||
|
||
{% macro notesTool(component='vf-xxx', componentVersion='9.9.9', commitId='0123456789') %} | ||
<!-- Tools don't have pages in the component library --> | ||
|
||
#### [{{component}}](https://github.com/visual-framework/vf-core/tree/develop/tools/{{component}}/#readme) <span class="vf-badge">{{ componentVersion }}</span> <a href="https://www.npmjs.com/package/@visual-framework/{{component}}/v/{{componentVersion}}" class="vf-badge">npm</a> <a href="https://github.com/visual-framework/vf-core/commit/{{commitId}}" class="vf-badge">git diff</a> | ||
|
||
{% endmacro %} | ||
|
||
{% macro componentLink(component='vf-xxx') %}[{{component}}](https://latest.visual-framework.dev/components/{{component}}/){% endmacro %} | ||
{# endmacros ---/ #} | ||
|
||
{% markdown %} | ||
|
||
<section class="vf-u-fullbleed vf-u-background-color-ui--grey--light"><br/> | ||
<article class="vf-box vf-box-theme--primary vf-box--easy"> | ||
<h3 class="vf-box__heading"> | ||
This releases {{version}} to the CDN | ||
</h3> | ||
<div class="vf-box__text"> | ||
|
||
[`https://assets.emblstatic.net/vf/v{{version}}/css/styles.css`](https://assets.emblstatic.net/vf/v{{version}}/css/styles.css) <br/> | ||
[`https://assets.emblstatic.net/vf/v{{version}}/scripts/scripts.js`](https://assets.emblstatic.net/vf/v{{version}}/scripts/scripts.js) | ||
|
||
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 }}). | ||
|
||
{#- don't forget to add the latest version to /tools/vf-component-library/src/site/_data/siteConfig.js -#} | ||
|
||
</div> | ||
</article><br/> | ||
</section> | ||
|
||
|
||
### JS Module import <a href="#jsmodule" id="jsmodule"></a> | ||
|
||
Sometimes when a component has JavaScript, its module requires another components' JavaScript (example: embl-notifications JS requires vf-banner JS). To do this we use JS module imports. We've adapted that import approach slightly to use relative paths. The vf-core JavaScript build is "intelligent" and will attempt to resolve paths, but for non-clever importers the relative path will resolve many issues. | ||
|
||
{{ notes("embl-breadcrumbs-lookup", "1.0.4", "e4e735c89a1a4c5962e204e39def1789619e1bf4") }} | ||
|
||
* Improve JS module import support. | ||
* https://github.com/visual-framework/vf-core/pull/1476/ | ||
|
||
{{ notes("embl-content-hub-loader", "1.0.9", "e4e735c89a1a4c5962e204e39def1789619e1bf4") }} | ||
|
||
* Improve JS module import support. | ||
* https://github.com/visual-framework/vf-core/pull/1476/ | ||
|
||
{{ notes("embl-notifications", "1.0.2", "e4e735c89a1a4c5962e204e39def1789619e1bf4") }} | ||
|
||
* Improve JS module import support. | ||
* https://github.com/visual-framework/vf-core/pull/1476/ | ||
|
||
{{ notesTool("vf-component-generator", "1.1.3", "e4e735c89a1a4c5962e204e39def1789619e1bf4") }} | ||
|
||
* For JS module imports, use a relative path, as this improves support in some scenarios. | ||
* https://github.com/visual-framework/vf-core/pull/1476/ | ||
|
||
### Bugs and minor optimisations <a href="#bugs" id="bugs"></a> | ||
|
||
{{ notes("vf-sass-config", "2.5.3", "c8ccd2c1a072f222aa19a1b0b786daf170e007b8") }} | ||
|
||
* Adds the missing `mixins/vf-utility-mixins.scss` to index.scss | ||
* Fixes a broken variable reference. | ||
* https://github.com/visual-framework/vf-core/issues/1469 | ||
|
||
{{ notes("vf-navigation", "3.0.0-beta.1", "0bfaa54eb4024ae2e987e51bf8483b6c705bb8da") }} | ||
|
||
* Re-release of 3.0.0-beta.0 to fix garbled version number. | ||
* Fixes a broken Sass file reference. | ||
* https://github.com/visual-framework/vf-core/issues/1469 | ||
|
||
{{ notes("vf-masthead", "3.0.1", "0bfaa54eb4024ae2e987e51bf8483b6c705bb8da") }} | ||
|
||
* JS linting. | ||
|
||
{% endmarkdown %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters