Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.0.31-alpha #739

Merged
merged 1 commit into from
May 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Note: We're not following semantic versioning yet, we are going to talk about this soon.

## Unreleased
## 0.0.31-alpha (Breaking release)

💥 Breaking changes:

Expand Down
2 changes: 1 addition & 1 deletion dist/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.30-alpha
0.0.31-alpha
Binary file added dist/assets/fonts/bold-a2452cb66f-v1.woff2
Binary file not shown.
Binary file added dist/assets/fonts/bold-f38c792ac2-v1.woff
Binary file not shown.
Binary file added dist/assets/fonts/bold-fb2676462a-v1.eot
Binary file not shown.
Binary file added dist/assets/fonts/bold-tabular-357fdfbcc3-v1.eot
Binary file not shown.
Binary file added dist/assets/fonts/bold-tabular-784c21afb8-v1.woff
Binary file not shown.
Binary file not shown.
Binary file added dist/assets/fonts/light-2c037cf7e1-v1.eot
Binary file not shown.
Binary file added dist/assets/fonts/light-458f8ea81c-v1.woff
Binary file not shown.
Binary file added dist/assets/fonts/light-f38ad40456-v1.woff2
Binary file not shown.
Binary file added dist/assets/fonts/light-tabular-498ea8ffe2-v1.eot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added dist/assets/images/favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/govuk-apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions dist/assets/images/govuk-mask-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/govuk-opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions dist/govuk-frontend-0.0.30-alpha.min.css

This file was deleted.

3 changes: 3 additions & 0 deletions dist/govuk-frontend-0.0.31-alpha.min.css

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/govuk-frontend-ie8-0.0.30-alpha.min.css

This file was deleted.

3 changes: 3 additions & 0 deletions dist/govuk-frontend-ie8-0.0.31-alpha.min.css

Large diffs are not rendered by default.

Binary file added package/assets/fonts/bold-a2452cb66f-v1.woff2
Binary file not shown.
Binary file added package/assets/fonts/bold-f38c792ac2-v1.woff
Binary file not shown.
Binary file added package/assets/fonts/bold-fb2676462a-v1.eot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added package/assets/fonts/light-2c037cf7e1-v1.eot
Binary file not shown.
Binary file added package/assets/fonts/light-458f8ea81c-v1.woff
Binary file not shown.
Binary file added package/assets/fonts/light-f38ad40456-v1.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added package/assets/images/favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added package/assets/images/govuk-apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions package/assets/images/govuk-mask-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package/components/back-link/_back-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("back-link") {
@include govuk-exports("govuk/component/back-link") {

.govuk-back-link {
@include govuk-font-regular-16;
@include govuk-typography-responsive($govuk-font-16);
@include govuk-link-common;
@include govuk-link-style-text;

Expand Down
6 changes: 5 additions & 1 deletion package/components/breadcrumbs/_breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("breadcrumbs") {
@include govuk-exports("govuk/component/breadcrumbs") {

// Size of chevron (excluding border)
$chevron-size: 7px;
Expand Down Expand Up @@ -94,6 +94,10 @@
height: auto;
border: 0;
color: $chevron-border-colour;

// IE8 doesn't seem to like rendering pseudo-elements using @font-faces,
// so fall back to using another sans-serif font to render the chevron.
font-family: Arial, sans-serif;
}
}

Expand Down
14 changes: 11 additions & 3 deletions package/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("button") {
@include govuk-exports("govuk/component/button") {

// Because the shadow (s0) is visually 'part of' the button, we need to reduce
// the height of the button to compensate by adjusting its padding (s1) and
Expand Down Expand Up @@ -37,6 +37,10 @@
cursor: pointer;
-webkit-appearance: none;

@include govuk-if-ie8 {
border-bottom: $button-shadow-size solid $govuk-button-shadow-colour;
}

@include mq($from: tablet) {
width: auto;
}
Expand Down Expand Up @@ -76,6 +80,10 @@
top: $button-shadow-size;
-webkit-box-shadow: none;
box-shadow: none;

@include govuk-if-ie8 {
border-bottom-width: 0;
}
}

// The following adjustments do not work for <input type="button"> as
Expand Down Expand Up @@ -150,12 +158,12 @@
padding-bottom: $govuk-spacing-scale-2 - $govuk-border-width-form-element;
padding-left: $govuk-spacing-scale-3;

background-image: govuk-file-url("icon-pointer.png");
background-image: govuk-image-url("icon-pointer.png");
background-repeat: no-repeat;
background-position: 100% 50%;

@include govuk-device-pixel-ratio {
background-image: govuk-file-url("icon-pointer-2x.png");
background-image: govuk-image-url("icon-pointer-2x.png");
background-size: 30px 19px;
}
}
Expand Down
2 changes: 1 addition & 1 deletion package/components/checkboxes/_checkboxes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@import "../hint/hint";
@import "../label/label";

@include govuk-exports("checkboxes") {
@include govuk-exports("govuk/component/checkboxes") {
$govuk-checkboxes-size: $govuk-spacing-scale-7;
$govuk-checkboxes-label-padding-left-right: $govuk-spacing-scale-3;

Expand Down
2 changes: 1 addition & 1 deletion package/components/date-input/_date-input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@import "../hint/hint";
@import "../label/label";

@include govuk-exports("date-input") {
@include govuk-exports("govuk/component/date-input") {
.govuk-date-input {
@include govuk-clearfix;
}
Expand Down
2 changes: 1 addition & 1 deletion package/components/details/_details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("details") {
@include govuk-exports("govuk/component/details") {

.govuk-details {
@include govuk-font-regular-19;
Expand Down
2 changes: 1 addition & 1 deletion package/components/error-message/_error-message.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("error-message") {
@include govuk-exports("govuk/component/error-message") {
.govuk-error-message {
@include govuk-font-bold-19;

Expand Down
2 changes: 1 addition & 1 deletion package/components/error-summary/_error-summary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "../../core/lists";

@include govuk-exports("error-summary") {
@include govuk-exports("govuk/component/error-summary") {

.govuk-error-summary {
@include govuk-text-colour;
Expand Down
2 changes: 1 addition & 1 deletion package/components/fieldset/_fieldset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("fieldset") {
@include govuk-exports("govuk/component/fieldset") {
.govuk-fieldset {
margin: 0;
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion package/components/file-upload/_file-upload.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@import "../hint/hint";
@import "../label/label";

@include govuk-exports("file-upload") {
@include govuk-exports("govuk/component/file-upload") {
.govuk-file-upload {
@include govuk-font-regular-19;
@include govuk-text-colour;
Expand Down
10 changes: 5 additions & 5 deletions package/components/footer/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

@import "../../helpers/typography";

@include govuk-exports("footer") {
@include govuk-exports("govuk/component/footer") {

$govuk-footer-background: $govuk-grey-3;
$govuk-footer-background: $govuk-canvas-background-colour;
$govuk-footer-border-top: #a1acb2;
$govuk-footer-border: $govuk-grey-2;
$govuk-footer-text: #454a4c;
$govuk-footer-link: $govuk-footer-text;
$govuk-footer-link-hover: #171819;

// Based on the `govuk-file-url("govuk-crest-2x.png");` image dimensions.
// Based on the govuk-crest-2x.png image dimensions.
$govuk-footer-crest-image-width-2x: 250px;
$govuk-footer-crest-image-height-2x: 204px;
// Half the 2x image so that it fits the regular 1x size.
Expand Down Expand Up @@ -115,9 +115,9 @@
display: inline-block;
min-width: $govuk-footer-crest-image-width;
padding-top: ($govuk-footer-crest-image-height + $govuk-spacing-scale-2);
background-image: govuk-file-url("govuk-crest.png");
background-image: govuk-image-url("govuk-crest.png");
@include govuk-device-pixel-ratio {
background-image: govuk-file-url("govuk-crest-2x.png");
background-image: govuk-image-url("govuk-crest-2x.png");
}
background-repeat: no-repeat;
background-position: 50% 0%;
Expand Down
2 changes: 1 addition & 1 deletion package/components/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "../../helpers/typography";

@include govuk-exports("header") {
@include govuk-exports("govuk/component/header") {

$govuk-header-background: $govuk-black;
$govuk-header-border-color: $govuk-blue;
Expand Down
2 changes: 1 addition & 1 deletion package/components/hint/_hint.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("hint") {
@include govuk-exports("govuk/component/hint") {
.govuk-hint {
@include govuk-font-regular-19;

Expand Down
2 changes: 1 addition & 1 deletion package/components/input/_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@import "../hint/hint";
@import "../label/label";

@include govuk-exports("input") {
@include govuk-exports("govuk/component/input") {
.govuk-input {
@include govuk-font-regular-19;
@include govuk-focusable;
Expand Down
4 changes: 1 addition & 3 deletions package/components/inset-text/_inset-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("inset-text") {
@include govuk-exports("govuk/component/inset-text") {
.govuk-inset-text {
@include govuk-font-regular-19;
@include govuk-text-colour;
Expand All @@ -16,8 +16,6 @@

border-left: $govuk-border-width-wide solid $govuk-border-colour;

font-family: $govuk-font-stack;

:first-child {
margin-top: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion package/components/label/_label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("label") {
@include govuk-exports("govuk/component/label") {
.govuk-label {
@include govuk-font-regular-19;
@include govuk-text-colour;
Expand Down
2 changes: 1 addition & 1 deletion package/components/panel/_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("panel") {
@include govuk-exports("govuk/component/panel") {

.govuk-panel {
@include govuk-font-regular-19;
Expand Down
2 changes: 1 addition & 1 deletion package/components/phase-banner/_phase-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "../tag/tag";

@include govuk-exports("phase-banner") {
@include govuk-exports("govuk/component/phase-banner") {
.govuk-phase-banner {
@include govuk-font-regular-16;
@include govuk-text-colour;
Expand Down
2 changes: 1 addition & 1 deletion package/components/radios/_radios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@import "../hint/hint";
@import "../label/label";

@include govuk-exports("radios") {
@include govuk-exports("govuk/component/radios") {
$govuk-radios-size: $govuk-spacing-scale-7;
$govuk-radios-label-padding-left-right: $govuk-spacing-scale-3;

Expand Down
2 changes: 1 addition & 1 deletion package/components/select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@import "../hint/hint";
@import "../label/label";

@include govuk-exports("select") {
@include govuk-exports("govuk/component/select") {
.govuk-select {
@include govuk-font-regular;
@include govuk-typography-responsive(
Expand Down
4 changes: 2 additions & 2 deletions package/components/skip-link/_skip-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("skip-link") {
@include govuk-exports("govuk/component/skip-link") {
.govuk-skip-link {
@include govuk-visually-hidden-focusable;
@include govuk-link-common;
@include govuk-link-style-text;
@include govuk-font-regular-16;
@include govuk-typography-responsive($govuk-font-16);

display: block;
padding: $govuk-spacing-scale-2 $govuk-spacing-scale-3;
Expand Down
2 changes: 1 addition & 1 deletion package/components/table/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("table") {
@include govuk-exports("govuk/component/table") {
.govuk-table {
@include govuk-font-regular-19;
@include govuk-text-colour;
Expand Down
2 changes: 1 addition & 1 deletion package/components/tag/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("tag") {
@include govuk-exports("govuk/component/tag") {
.govuk-tag {
@include govuk-font-bold;
@include govuk-typography-responsive(
Expand Down
2 changes: 1 addition & 1 deletion package/components/textarea/_textarea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@import "../hint/hint";
@import "../label/label";

@include govuk-exports("textarea") {
@include govuk-exports("govuk/component/textarea") {
.govuk-textarea {
@include govuk-font-regular;
@include govuk-typography-responsive(
Expand Down
2 changes: 1 addition & 1 deletion package/components/warning-text/_warning-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "../../objects/shapes";

@include govuk-exports("warning-text") {
@include govuk-exports("govuk/component/warning-text") {

.govuk-warning-text {
@include govuk-font-regular-19;
Expand Down
1 change: 1 addition & 0 deletions package/core/_all.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import "links";
@import "lists";
@import "template";
@import "typography";
@import "prose-scope";
@import "section-break";
Expand Down
2 changes: 1 addition & 1 deletion package/core/_global-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
}

@include govuk-exports("govuk-global-styles") {
@include govuk-exports("govuk/core/global-styles") {

@if $govuk-global-styles == true {
@include govuk-global-styles;
Expand Down
2 changes: 1 addition & 1 deletion package/core/_links.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@include govuk-exports("links") {
@include govuk-exports("govuk/core/links") {

// We use a placeholder class here so that we can @extend from the prose scope
// without also applying every other occurrence of the .govuk-link selector to
Expand Down
2 changes: 1 addition & 1 deletion package/core/_lists.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@include govuk-exports("lists") {
@include govuk-exports("govuk/core/lists") {

// We use a placeholder class here so that we can @extend from the prose scope
// without also applying every other occurrence of the .govuk-list selector to
Expand Down
2 changes: 1 addition & 1 deletion package/core/_prose-scope.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@include govuk-exports("prose-scope") {
@include govuk-exports("govuk/core/prose-scope") {
.govuk-prose-scope {

// @extend inheritance
Expand Down
2 changes: 1 addition & 1 deletion package/core/_section-break.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@include govuk-exports("section-break") {
@include govuk-exports("govuk/core/section-break") {

// We use placeholder classes here so that we can @extend from the prose scope

Expand Down
16 changes: 16 additions & 0 deletions package/core/_template.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@import "../settings/all";

@include govuk-exports("govuk/core/template") {
// Set the overall page background color to the same colour
// as used by the footer to give the illusion of a long footer.
.govuk-template {
background-color: $govuk-canvas-background-colour;
}

.govuk-template__body {
// The default margins set by user-agents are not required since we have our own containers.
margin: 0;
// Set the overall body of the page back to the typical background colour.
background-color: $govuk-body-background-colour;
}
}
Loading