Skip to content

Commit

Permalink
Component release 20201124-01
Browse files Browse the repository at this point in the history
  • Loading branch information
khawkins98 committed Nov 24, 2020
1 parent 511820c commit d8d331f
Show file tree
Hide file tree
Showing 11 changed files with 101 additions and 38 deletions.
2 changes: 1 addition & 1 deletion components/vf-analytics-google/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.2",
"version": "1.0.3",
"name": "@visual-framework/vf-analytics-google",
"description": "vf-analytics-google component",
"homepage": "",
Expand Down
2 changes: 1 addition & 1 deletion tools/vf-component-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@11ty/eleventy": "0.11.1",
"@visual-framework/vf-config": "1.0.0-alpha.2",
"@visual-framework/vf-core": "^2.2.11",
"@visual-framework/vf-core": "^2.2.12",
"@visual-framework/vf-extensions": "1.0.0-alpha.9",
"html-minifier": "4.0.0",
"list-stream": "2.0.0",
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 @@ -11,7 +11,7 @@ module.exports = {
},
buildTime: DateTime.fromISO(new Date().toISOString()),
// vfVersion: global.vfVersion,
vfVersion: "v2.3.3-rc.3",
vfVersion: "v2.3.3",
sections: {
about: {
url: "/about",
Expand Down
11 changes: 8 additions & 3 deletions tools/vf-component-library/src/site/_includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,20 @@
</ul>
</nav>
</div>

</header>

{# Global navigation #}
{% if page.url == '/' %}
{% include "navigation.njk" %}
{% endif %}

{% if page.url != '/' and page.url != '/404.html' %}
{# don't show breadcrumb on homepage #}
<nav class="vf-breadcrumbs | vf-search-client-side--no-index" aria-label="Breadcrumb">
<ul class="vf-breadcrumbs__list | vf-list vf-list--inline">
<li class="vf-breadcrumbs__item">
{# <li class="vf-breadcrumbs__item">
<a href="{{ '/' | url }}" class="vf-breadcrumbs__link">{{siteConfig.siteInformation.title}}</a>
</li>
</li> #}
{% if tags %}
{% if 'changelog' in tags %}
<li class="vf-breadcrumbs__item">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ pageClass: posts
templateEngineOverride: njk, md
---

{% include "navigation.njk" %}

{#- Use this template for individual items of content. -#}

{# <p class="date">
Expand Down
25 changes: 25 additions & 0 deletions tools/vf-component-library/src/site/_includes/navigation.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<nav class="vf-navigation vf-navigation--main | vf-cluster">
<ul class="vf-navigation__list | vf-list--inline | vf-cluster__inner">
<li class="vf-navigation__item">
<a href="/about" class="vf-navigation__link">About</a>
</li>
<li class="vf-navigation__item">
<a href="/components" class="vf-navigation__link">Components</a>
</li>
<li class="vf-navigation__item">
<a href="/patterns" class="vf-navigation__link">Examples</a>
</li>
<li class="vf-navigation__item">
<a href="/troubleshooting" class="vf-navigation__link">Troubleshooting</a>
</li>
<li class="vf-navigation__item">
<a href="/building" class="vf-navigation__link">Building</a>
</li>
<li class="vf-navigation__item">
<a href="/updates" class="vf-navigation__link">Updates</a>
</li>
{# <li class="vf-navigation__item">
<a href="/developing" class="vf-navigation__link">Developing</a>
</li> #}
</ul>
</nav>
29 changes: 0 additions & 29 deletions tools/vf-component-library/src/site/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,6 @@ date: 2018-08-22 12:24:50
layout: layouts/base.njk
---

<nav class="vf-navigation vf-navigation--main | vf-cluster">
<ul class="vf-navigation__list | vf-list--inline | vf-cluster__inner">
{# <li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link" aria-current="page">Home</a>
</li> #}
<li class="vf-navigation__item">
<a href="/about" class="vf-navigation__link">About</a>
</li>
<li class="vf-navigation__item">
<a href="/components" class="vf-navigation__link">Components</a>
</li>
<li class="vf-navigation__item">
<a href="/patterns" class="vf-navigation__link">Examples</a>
</li>
<li class="vf-navigation__item">
<a href="/about/faq" class="vf-navigation__link">FAQ</a>
</li>
<li class="vf-navigation__item">
<a href="/troubleshooting" class="vf-navigation__link">Troubleshooting</a>
</li>
<li class="vf-navigation__item">
<a href="/building" class="vf-navigation__link">Building</a>
</li>
{# <li class="vf-navigation__item">
<a href="/developing" class="vf-navigation__link">Developing</a>
</li> #}
</ul>
</nav>

<section class="embl-grid embl-grid--has-centered-content | vf-u-fullbleed vf-u-background-color--grey--lightest | vf-u-padding__top--800">
{# Intro #}
{% render '@vf-intro', {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 2.3.3-rc.1 Component updates
subtitle: Minor component updates and bug fixes
subtitle: Minor updates and bug fixes
date: 2020-11-09 12:33:50
version: 2.3.3-rc.1
tags:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 2.3.3-rc.3 Component updates
subtitle: Minor component updates and bug fixes
subtitle: Minor updates and bug fixes
date: 2020-11-16 15:33:50
version: 2.3.3-rc.3
tags:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: 2.3.3 Component updates
subtitle: Minor updates and bug fixes
date: 2020-11-24 08:33:50
version: 2.3.3
tags:
- posts
- changelog
layout: layouts/post.njk
---

<br/>This minor update brings bug fixes, and a few minor features. It also incorporates improvements from the 2.3.3 release candidates, all of which reflect minor improvements.

- [2.3.3-rc.3 Component updates]({{ '/updates/2020-11-16-component-updates' | url }})
- [2.3.3-rc.1 Component updates]({{ '/updates/2020-11-09-component-updates' | url }})

{# macros #}
{% macro notes(component='vf-xxx', componentVersion='9.9.9', commitId='0123456789') %}

### [{{component}}](https://visual-framework.github.io/vf-core/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 componentLink(component='vf-xxx') %}[{{component}}](https://visual-framework.github.io/vf-core/components/{{component}}/){% endmacro %}
{# endmacros #}

<div class="vf-box vf-box-theme--tertiary 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 /Users/khawkins/Documents/GitHub/vf-core/tools/vf-component-library/src/site/_data/siteConfig.js -#}

</div>
</div>

## Minor features

{{ notes("vf-analytics-google", "1.0.3", "af8a35dd794aa9eea72c47ca3b783628611db299") }}

* Add the vfGaTrackInteraction function to the exported members of vf-analytics-google.
* https://github.com/visual-framework/vf-core/issues/1248

{{ notes("vf-hero", "1.8.0", "33dd9b0c8f9ddf643804b0f5d3d960c6c640d06a") }}

* removes the JavaScript for the `--intense` version due to an issue in Safari 14 and iOS
* https://github.com/visual-framework/vf-core/pull/1241

## Bug fixes

{{ notes("vf-core", "2.2.12", "bbf00234d6d776233fa70bd28692abbbb0ac7446") }}

* bug: issue where the compiled css location would be incorrectly output in some scenarios
* https://github.com/visual-framework/vf-core/pull/1245
2 changes: 1 addition & 1 deletion 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.11",
"version": "2.2.12",
"description": "Common dependencies for the Visual Framework 2.0.",
"main": "index.js",
"vfConfig": {
Expand Down

0 comments on commit d8d331f

Please sign in to comment.