Skip to content

Commit

Permalink
Component release 20200408-01
Browse files Browse the repository at this point in the history
  • Loading branch information
khawkins98 committed Apr 8, 2021
1 parent 782c657 commit 54b5842
Show file tree
Hide file tree
Showing 13 changed files with 136 additions and 15 deletions.
2 changes: 1 addition & 1 deletion components/embl-breadcrumbs-lookup/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.3",
"version": "1.0.4",
"name": "@visual-framework/embl-breadcrumbs-lookup",
"description": "embl-breadcrumbs-lookup component",
"homepage": "http://www.embl.org/guidelines/visual-framework/dev-docs/",
Expand Down
2 changes: 1 addition & 1 deletion components/embl-content-hub-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.8",
"version": "1.0.9",
"name": "@visual-framework/embl-content-hub-loader",
"description": "embl-content-hub-loader component",
"homepage": "https://stable.visual-framework.dev",
Expand Down
2 changes: 1 addition & 1 deletion components/embl-notifications/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.1",
"version": "1.0.2",
"name": "@visual-framework/embl-notifications",
"description": "embl-notifications component",
"homepage": "https://stable.visual-framework.dev",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-masthead/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.0.0",
"version": "3.0.1",
"name": "@visual-framework/vf-masthead",
"description": "vf-masthead component",
"homepage": "https://stable.visual-framework.dev/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-navigation/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.0.0-beta.0",
"version": "3.0.0-beta.1",
"name": "@visual-framework/vf-navigation",
"description": "vf-navigation component",
"homepage": "https://stable.visual-framework.dev/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-sass-config/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.5.2",
"version": "2.5.3",
"name": "@visual-framework/vf-sass-config",
"description": "vf-sass-config",
"homepage": "https://stable.visual-framework.dev/",
Expand Down
4 changes: 2 additions & 2 deletions components/vf-sass-starter/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.19",
"version": "0.1.20",
"name": "@visual-framework/vf-sass-starter",
"description": "vf-sass-starter component",
"homepage": "https://stable.visual-framework.dev",
Expand All @@ -23,7 +23,7 @@
"@visual-framework/vf-design-tokens": "^3.4.1",
"@visual-framework/vf-font-plex-mono": "^1.1.1",
"@visual-framework/vf-font-plex-sans": "^1.1.1",
"@visual-framework/vf-sass-config": "^2.5.2",
"@visual-framework/vf-sass-config": "^2.5.3",
"@visual-framework/vf-sass-utilities": "^1.0.1",
"@visual-framework/vf-utility-classes": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tools/vf-component-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visual-framework/vf-component-generator",
"version": "1.1.2",
"version": "1.1.3",
"description": "Make the config for Visual Framework component interactively.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions tools/vf-component-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visual-framework/vf-component-library",
"version": "1.1.2",
"version": "1.1.3",
"description": "Generate a static-html site of Visual Framework 2.0 components and docs.",
"main": "index.js",
"scripts": {
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"@11ty/eleventy": "0.12.1",
"@visual-framework/vf-config": "1.0.1-alpha.0",
"@visual-framework/vf-core": "^2.2.21",
"@visual-framework/vf-core": "^2.2.22",
"@visual-framework/vf-extensions": "1.0.0-rc.1",
"html-minifier": "4.0.0",
"node-html-parser": "3.1.2",
Expand Down
2 changes: 1 addition & 1 deletion tools/vf-component-library/src/site/_data/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
// vfVersion: "develop",
// vfVersionPrefix: "dev.",
// use this when tagging a release
vfVersion: "v2.4.11",
vfVersion: "v2.4.12",
vfVersionPrefix: "",
sections: {
about: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ layout: layouts/post.njk
---
{% markdown %}

Hot off the heels of the [2.4.10 release](/updates/2021-03-29-component-updates/) we have updated some components, and updated the some pages on the documentation site. There are also a couple of `alpha` and `beta` releases of components making use of our layout components rather than component specifc CSS as well as deprecating variants that are no longer used or have been previously improved.
Hot off the heels of the [2.4.10 release](/updates/2021-03-29-component-updates/) we have updated some components, and updated the some pages on the documentation site. There are also a couple of `alpha` and `beta` releases of components making use of our layout components rather than component specific CSS as well as deprecating variants that are no longer used or have been previously improved.

{% endmarkdown %}

Expand Down
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 %}
4 changes: 2 additions & 2 deletions tools/vf-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visual-framework/vf-core",
"version": "2.2.21",
"version": "2.2.22",
"description": "Common dependencies for the Visual Framework 2.0.",
"main": "index.js",
"vfConfig": {
Expand All @@ -25,7 +25,7 @@
],
"private": false,
"dependencies": {
"@visual-framework/vf-component-generator": "^1.1.2",
"@visual-framework/vf-component-generator": "^1.1.3",
"@visual-framework/vf-component-initialization": "^1.1.5",
"@visual-framework/vf-frctl-extensions": "^1.0.1",
"@visual-framework/vf-sass-compilation": "^1.1.6",
Expand Down

0 comments on commit 54b5842

Please sign in to comment.