Skip to content

Commit

Permalink
Component release 20200115-01
Browse files Browse the repository at this point in the history
  • Loading branch information
khawkins98 committed Jan 15, 2021
1 parent a656c25 commit ea4cf63
Show file tree
Hide file tree
Showing 23 changed files with 11,869 additions and 34 deletions.
6 changes: 3 additions & 3 deletions PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ A reference guide on how to do releases of the VF [monorepo](https://www.toptal.
### 4. Post-release

1. commit and push changes to the `develop` branch
- commit message in a format of: `Component release 20210104-01`
- commit message in a format of: `Component release 20200115-01`
1. add a tag"
- see last tag `git describe --abbrev=0 --tags`
- add a semantic versioned tag `git tag -a v2.4.4 -m 'Release of precompiled CSS, JS, assets'`
- add a semantic versioned tag `git tag -a v2.4.5 -m 'Release of precompiled CSS, JS, assets'`
- Why like this?
- We do not add tags per individual component version, Lerna needs a named tag to see what has changed. This way we get one tag per release "bundle" avoiding tag spamming in the release history.
- Trigger a deploy to the CDN (i.e. `v2.4.4-rc.1`) https://assets.emblstatic.net/vf/v2.3.0/css/styles.css
- Trigger a deploy to the CDN (i.e. `v2.4.5-rc.1`) https://assets.emblstatic.net/vf/v2.3.0/css/styles.css
1. push the tag
- `git push origin --tags`
1. add release notes to the tag and link to the new blog post
Expand Down
2 changes: 1 addition & 1 deletion components/ebi-header-footer/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.3",
"version": "2.0.0",
"name": "@visual-framework/ebi-header-footer",
"description": "ebi-header-footer component",
"homepage": "https://stable.visual-framework.dev",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-componenet-rollup/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.3",
"version": "1.2.4",
"name": "@visual-framework/vf-componenet-rollup",
"description": "vf-componenet-rollup component",
"homepage": "https://stable.visual-framework.dev",
Expand Down
4 changes: 2 additions & 2 deletions components/vf-content/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.3.4",
"version": "1.3.5",
"name": "@visual-framework/vf-content",
"description": "vf-content component",
"homepage": "https://stable.visual-framework.dev/",
Expand All @@ -22,7 +22,7 @@
"@visual-framework/vf-button": "^1.3.0",
"@visual-framework/vf-divider": "^2.0.0",
"@visual-framework/vf-figure": "^1.3.0",
"@visual-framework/vf-form__core": "^1.0.5",
"@visual-framework/vf-form__core": "^1.1.0",
"@visual-framework/vf-heading": "^1.0.0",
"@visual-framework/vf-link": "^1.0.3",
"@visual-framework/vf-list": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-form/vf-form__checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.2",
"version": "2.0.0",
"name": "@visual-framework/vf-form__checkbox",
"description": "vf-form__checkbox component",
"homepage": "http://www.embl.org/guidelines/visual-framework/dev-docs/",
Expand Down
18 changes: 9 additions & 9 deletions components/vf-form/vf-form__core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.5",
"version": "1.1.0",
"name": "@visual-framework/vf-form__core",
"description": "vf-form__core component",
"homepage": "https://stable.visual-framework.dev/",
Expand All @@ -21,15 +21,15 @@
],
"gitHead": "bc7aae5f4d394bb907d39e4adfb471da248de474",
"dependencies": {
"@visual-framework/vf-form__checkbox": "^1.0.2",
"@visual-framework/vf-form__checkbox": "^2.0.0",
"@visual-framework/vf-form__fieldset": "^1.1.0",
"@visual-framework/vf-form__helper": "^1.0.0",
"@visual-framework/vf-form__input": "^1.1.0",
"@visual-framework/vf-form__item": "^1.0.0",
"@visual-framework/vf-form__label": "^1.2.0",
"@visual-framework/vf-form__helper": "^2.0.0",
"@visual-framework/vf-form__input": "^2.0.0",
"@visual-framework/vf-form__item": "^2.0.0",
"@visual-framework/vf-form__label": "^2.0.0",
"@visual-framework/vf-form__legend": "^1.1.0",
"@visual-framework/vf-form__radio": "^1.0.1",
"@visual-framework/vf-form__select": "^1.0.1",
"@visual-framework/vf-form__textarea": "^1.0.2"
"@visual-framework/vf-form__radio": "^2.0.0",
"@visual-framework/vf-form__select": "^2.0.0",
"@visual-framework/vf-form__textarea": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion components/vf-form/vf-form__helper/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0",
"version": "2.0.0",
"name": "@visual-framework/vf-form__helper",
"description": "vf-form__helper component",
"homepage": "http://www.embl.org/guidelines/visual-framework/dev-docs/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-form/vf-form__input/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.0",
"version": "2.0.0",
"name": "@visual-framework/vf-form__input",
"description": "vf-form__input component",
"homepage": "http://www.embl.org/guidelines/visual-framework/dev-docs/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-form/vf-form__item/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0",
"version": "2.0.0",
"name": "@visual-framework/vf-form__item",
"description": "vf-form__item component",
"homepage": "http://www.embl.org/guidelines/visual-framework/dev-docs/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-form/vf-form__label/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.0",
"version": "2.0.0",
"name": "@visual-framework/vf-form__label",
"description": "vf-form__label component",
"homepage": "http://www.embl.org/guidelines/visual-framework/dev-docs/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-form/vf-form__radio/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.1",
"version": "2.0.0",
"name": "@visual-framework/vf-form__radio",
"description": "vf-form__radio component",
"homepage": "http://www.embl.org/guidelines/visual-framework/dev-docs/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-form/vf-form__select/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.1",
"version": "2.0.0",
"name": "@visual-framework/vf-form__select",
"description": "vf-form__select component",
"homepage": "http://www.embl.org/guidelines/visual-framework/dev-docs/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-form/vf-form__textarea/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.2",
"version": "2.0.0",
"name": "@visual-framework/vf-form__textarea",
"description": "vf-form__textarea component",
"homepage": "http://www.embl.org/guidelines/visual-framework/dev-docs/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-grid/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.3.0",
"version": "1.4.0",
"name": "@visual-framework/vf-grid",
"description": "vf-grid component",
"homepage": "https://stable.visual-framework.dev/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-intro/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.4.3",
"version": "1.4.5",
"name": "@visual-framework/vf-intro",
"description": "vf-intro component",
"homepage": "https://stable.visual-framework.dev/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-section-header/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.3.1",
"version": "1.3.2",
"name": "@visual-framework/vf-section-header",
"description": "vf-section-header component",
"homepage": "https://stable.visual-framework.dev/",
Expand Down
2 changes: 1 addition & 1 deletion components/vf-video-teaser/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0",
"version": "2.0.0",
"name": "@visual-framework/vf-video-teaser",
"description": "vf-video-teaser component",
"homepage": "https://stable.visual-framework.dev/",
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.0.20",
"version": "1.0.21",
"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.11.1",
"@visual-framework/vf-config": "^1.0.1-alpha.0",
"@visual-framework/vf-core": "^2.2.15",
"@visual-framework/vf-core": "^2.2.16",
"@visual-framework/vf-extensions": "^1.0.0-rc.0",
"html-minifier": "4.0.0",
"node-html-parser": "2.0.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.4",
vfVersion: "v2.4.5",
vfVersionPrefix: "",
sections: {
about: {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
---
title: Component updates and refinements in 2.4.5
subtitle: This release contains a number of fixes and refinements, particularly for vf-form.
date: 2021-01-15 13:30:50
version: 2.4.5
tags:
- posts
- changelog
layout: layouts/post.njk
---

In this set of updates you'll find that vf-form has improved UX, vf-grid works better in Internet Explorer 11 and much more. Read on.

<br/>

{# 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}}/) <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 ---/ #}

<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>

## Legacy browser support

{{ notes("vf-grid", "1.4.0", "a656c25307a78aabd06e678798730a37915f42fe") }}

* fixes flexbox fallback grid when there are items on two or more rows.
* fixes widths on flexbox fallback grid.

## Form improvements

In [PR 1228](https://github.com/visual-framework/vf-core/pull/1228/) a number of enhancements were made the vf-form user experience and visuals.

While many vf-form child components update to a full 2.0.0 release, updating should be fairly straightforward — mostly involving updates to spacing using vf-stack.

{{ notes("vf-form__form__checkbox", "2.0.0", "59dc0dbf8147adc0d630670e68adc9a577134f86") }}

* Changes hover/focus interaction.
* Adds inline example.

{{ notes("vf-form__core", "1.1.0", "59dc0dbf8147adc0d630670e68adc9a577134f86") }}

* Updates example to use stack.
* Includes example of inline radios.

{{ notes("vf-form__helper", "2.0.0", "59dc0dbf8147adc0d630670e68adc9a577134f86") }}

* Makes the font size larger.
* Changes the red to use the red from the EMBL palette.

{{ notes("vf-form__input", "2.0.0", "59dc0dbf8147adc0d630670e68adc9a577134f86") }}

* Changes styling of the inputs.
* Changes order of form helpers, error messages, etc.
* Updates example .njk to use stack.

{{ notes("vf-form__item", "2.0.0", "59dc0dbf8147adc0d630670e68adc9a577134f86") }}

* Changes styling of the inputs.
* Updates CSS to use vf-stack.

{{ notes("vf-form__label", "2.0.0", "59dc0dbf8147adc0d630670e68adc9a577134f86") }}

* Changes required SVG fill color to red.
* Makes the required SVG half the relative size of the text.

{{ notes("vf-form__radio", "2.0.0", "59dc0dbf8147adc0d630670e68adc9a577134f86") }}

* Changes hover/focus interaction.
* Adds inline example.

{{ notes("vf-form__select", "2.0.0", "59dc0dbf8147adc0d630670e68adc9a577134f86") }}

* Adds vf-stack in example code.
* Changes some of the styling to match inputs.

{{ notes("vf-form__textarea", "2.0.0", "59dc0dbf8147adc0d630670e68adc9a577134f86") }}

* Adds vf-stack in example code.
* Changes some of the styling to match inputs.

## Bug fixes and improvements

{{ notes("vf-video-teaser", "2.0.0", "254071224dce4c1c903efb0ab651947a78243526") }}

* Uses `vf-stack` to space component.
* Adds `if` statement for the heading.
* Makes it possible to have more than one teaser.
* Makes the link the whole 'item' like `vf-card`.

{{ notes("vf-section-header", "1.3.2", "91b40e8d2fb2df8cd10b09ef250120e4f1f7ce57") }}

* Removes an extra `}` in the Nunjucks template that was corrupting the html.
* Better handle whitespace.
* https://github.com/visual-framework/vf-core/pull/1317

{{ notes("ebi-header-footer", "2.0.0", "6e32826d24bc9fa10368f6d70dd46ad7208abcd4") }}

* Ensure black bar does not have a margin at the top due to vf-stack.

{{ notes("vf-intro", "1.4.5", "c684e4c125906685ca2e1471170458fe87b57c73") }}

* Move the example content into a default variant to stop it printing out when using `render`.

{{ notes("vf-intro", "1.4.4", "ecac2ec1d0d3c7684b049113649c54db3caa458e") }}

* Fixes a missing vf_intro_subheading vf-intro.njk's context.
* Fixes README.md invalid example syntax.
* https://github.com/visual-framework/vf-core/pull/1326

{{ notes("ebi-header-footer", "2.0.0", "27052e301552b3d175615851e708c827d9364391") }}

* Adds distinct footer, header templates as the header currently has more legacy dependencies.
* Uses the new 2.0 look and feel footer.
* Uses contentHub to load templates.
* https://github.com/visual-framework/vf-core/pull/1316
Loading

0 comments on commit ea4cf63

Please sign in to comment.