From 6bfb6e7995f9a965981796d58f129e4c3bc64f78 Mon Sep 17 00:00:00 2001 From: Jason Etcovitch Date: Fri, 18 Aug 2017 15:14:08 -0700 Subject: [PATCH 01/13] Add v-align-baseline --- modules/primer-utilities/lib/layout.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/primer-utilities/lib/layout.scss b/modules/primer-utilities/lib/layout.scss index 5a2bada8df..ab2f422213 100644 --- a/modules/primer-utilities/lib/layout.scss +++ b/modules/primer-utilities/lib/layout.scss @@ -30,6 +30,8 @@ .v-align-text-top { vertical-align: text-top !important; } /* Vertical align to the bottom of the text */ .v-align-text-bottom { vertical-align: text-bottom !important; } +/* Vertical align to the parent's baseline */ +.v-align-baseline { vertical-align: baseline !important; } // Overflow utilities // overflow-hidden can also be used to create a new From 34232f1175e10c969f77549e6980cf6345690ddb Mon Sep 17 00:00:00 2001 From: Jason Etcovitch Date: Fri, 18 Aug 2017 15:42:33 -0700 Subject: [PATCH 02/13] Add comments to direction classes --- modules/primer-utilities/lib/layout.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/primer-utilities/lib/layout.scss b/modules/primer-utilities/lib/layout.scss index ab2f422213..b4a3266e5e 100644 --- a/modules/primer-utilities/lib/layout.scss +++ b/modules/primer-utilities/lib/layout.scss @@ -83,14 +83,15 @@ .min-width-0 { min-width: 0 !important; } // Direction utilities - +/* Set the direction to rtl */ .direction-rtl { direction: rtl !important; } +/* Set the direction to ltr */ .direction-ltr { direction: ltr !important; } @each $breakpoint in map-keys($breakpoints) { @include breakpoint($breakpoint) { - /* Set the direction to ltr at the #{$breakpoint} breakpoint */ + /* Set the direction to rtl at the #{$breakpoint} breakpoint */ .direction-#{$breakpoint}-rtl { direction: rtl !important; } /* Set the direction to ltr at the #{$breakpoint} breakpoint */ .direction-#{$breakpoint}-ltr { direction: ltr !important; } From d1876dfdb02757e03ee2f7b2dd8f376d6086c446 Mon Sep 17 00:00:00 2001 From: Jason Etcovitch Date: Fri, 18 Aug 2017 16:44:59 -0700 Subject: [PATCH 03/13] Remove some whitespace --- modules/primer-utilities/lib/layout.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/primer-utilities/lib/layout.scss b/modules/primer-utilities/lib/layout.scss index b4a3266e5e..ae2eda6dda 100644 --- a/modules/primer-utilities/lib/layout.scss +++ b/modules/primer-utilities/lib/layout.scss @@ -85,7 +85,6 @@ // Direction utilities /* Set the direction to rtl */ .direction-rtl { direction: rtl !important; } - /* Set the direction to ltr */ .direction-ltr { direction: ltr !important; } From ddc6cea90b7317474b7c7721b5731020a90c644d Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Mon, 21 Aug 2017 12:03:02 -0700 Subject: [PATCH 04/13] remove HEADing from the changelog --- modules/primer-css/CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/primer-css/CHANGELOG.md b/modules/primer-css/CHANGELOG.md index c3906a9b41..78c763d7c0 100644 --- a/modules/primer-css/CHANGELOG.md +++ b/modules/primer-css/CHANGELOG.md @@ -1,5 +1,3 @@ -# HEAD - # 9.3.0 ## Added From dded19537c27972788e452c467f75e5d68786342 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 23 Aug 2017 15:20:05 -0700 Subject: [PATCH 05/13] add module_type: "meta" to css, core, marketing, & product --- modules/primer-core/package.json | 3 ++- modules/primer-css/package.json | 3 +++ modules/primer-marketing/package.json | 3 ++- modules/primer-product/package.json | 3 ++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/primer-core/package.json b/modules/primer-core/package.json index 1e7cc9eee1..8da7cbd3bb 100644 --- a/modules/primer-core/package.json +++ b/modules/primer-core/package.json @@ -8,7 +8,8 @@ "style": "build/build.css", "main": "build/index.js", "primer": { - "category": "core" + "category": "core", + "module_type": "meta" }, "files": [ "index.scss", diff --git a/modules/primer-css/package.json b/modules/primer-css/package.json index 7f7cc79388..15d15c3b23 100644 --- a/modules/primer-css/package.json +++ b/modules/primer-css/package.json @@ -6,6 +6,9 @@ "author": "GitHub, Inc.", "license": "MIT", "style": "build/build.css", + "primer": { + "module_type": "meta" + }, "files": [ "index.scss", "lib", diff --git a/modules/primer-marketing/package.json b/modules/primer-marketing/package.json index 6a477df539..89986a2c0f 100644 --- a/modules/primer-marketing/package.json +++ b/modules/primer-marketing/package.json @@ -8,7 +8,8 @@ "style": "build/build.css", "main": "build/index.js", "primer": { - "category": "marketing" + "category": "marketing", + "module_type": "meta" }, "files": [ "index.scss", diff --git a/modules/primer-product/package.json b/modules/primer-product/package.json index f4e50d8f92..dc6a2cea40 100644 --- a/modules/primer-product/package.json +++ b/modules/primer-product/package.json @@ -8,7 +8,8 @@ "style": "build/build.css", "main": "build/index.js", "primer": { - "category": "product" + "category": "product", + "module_type": "meta" }, "files": [ "index.scss", From c38de796428ac9ccc07c4f3f4804957f55de04af Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Thu, 14 Sep 2017 13:56:33 -0700 Subject: [PATCH 06/13] Adding warning message about primer-cards deprecation --- modules/primer-cards/README.md | 6 +++++- modules/primer-cards/index.scss | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/primer-cards/README.md b/modules/primer-cards/README.md index 1cdc843ea6..ace528d1fd 100644 --- a/modules/primer-cards/README.md +++ b/modules/primer-cards/README.md @@ -1,8 +1,12 @@ -# Primer Marketing CSS Cards +# Primer Marketing CSS Cards [![npm version](http://img.shields.io/npm/v/primer-cards.svg)](https://www.npmjs.org/package/primer-cards) [![Build Status](https://travis-ci.org/primer/primer-css.svg?branch=master)](https://travis-ci.org/primer/primer-css) +# ⚠️ primer-cards is being deprecated in primer-css@10. Use primer-box instead. + + + > Card-like containers to group semantically related content together on marketing websites at GitHub. This repository is a module of the full [primer-css][primer] repository. diff --git a/modules/primer-cards/index.scss b/modules/primer-cards/index.scss index d5f037cb74..462d5eab68 100644 --- a/modules/primer-cards/index.scss +++ b/modules/primer-cards/index.scss @@ -1,4 +1,6 @@ // support files +@warn "primer-cards is being deprecated in primer-css@10. Use primer-box instead."; + @import "primer-support/index.scss"; @import "primer-marketing-support/index.scss"; @import "./lib/cards.scss"; From d1a3f932abcbeb9549e336e27ef8a797dc8bccde Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Fri, 15 Sep 2017 17:05:44 -0700 Subject: [PATCH 07/13] Updating messages --- modules/primer-cards/index.scss | 2 +- modules/primer-forms/lib/form-validation.scss | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/primer-cards/index.scss b/modules/primer-cards/index.scss index 462d5eab68..a23a682409 100644 --- a/modules/primer-cards/index.scss +++ b/modules/primer-cards/index.scss @@ -1,5 +1,5 @@ // support files -@warn "primer-cards is being deprecated in primer-css@10. Use primer-box instead."; +@warn "primer-cards: The primer-cards modules is being deprecated in the next major version. Use primer-box instead."; @import "primer-support/index.scss"; @import "primer-marketing-support/index.scss"; diff --git a/modules/primer-forms/lib/form-validation.scss b/modules/primer-forms/lib/form-validation.scss index d59cd1db80..1f6424213c 100644 --- a/modules/primer-forms/lib/form-validation.scss +++ b/modules/primer-forms/lib/form-validation.scss @@ -52,6 +52,8 @@ dl.form-group > dd { // A selector for credit cards. Shows all credit cards we have available and // dims the non-selected ones. +@warn "primer-forms: The credit cards component is being deprecated in next major version." + .form-cards { height: 31px; margin: 0 0 15px; From 9f576996b73df3450fbcc1962e0010e70aecb6ef Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Fri, 15 Sep 2017 17:19:04 -0700 Subject: [PATCH 08/13] unify messaging --- modules/primer-cards/README.md | 2 +- modules/primer-cards/index.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/primer-cards/README.md b/modules/primer-cards/README.md index ace528d1fd..556c91a311 100644 --- a/modules/primer-cards/README.md +++ b/modules/primer-cards/README.md @@ -3,7 +3,7 @@ [![npm version](http://img.shields.io/npm/v/primer-cards.svg)](https://www.npmjs.org/package/primer-cards) [![Build Status](https://travis-ci.org/primer/primer-css.svg?branch=master)](https://travis-ci.org/primer/primer-css) -# ⚠️ primer-cards is being deprecated in primer-css@10. Use primer-box instead. +# ⚠️ The primer-cards module is being deprecated in the next major version. Use primer-box instead. diff --git a/modules/primer-cards/index.scss b/modules/primer-cards/index.scss index a23a682409..a43ab0f603 100644 --- a/modules/primer-cards/index.scss +++ b/modules/primer-cards/index.scss @@ -1,5 +1,5 @@ // support files -@warn "primer-cards: The primer-cards modules is being deprecated in the next major version. Use primer-box instead."; +@warn "primer-cards: The primer-cards module is being deprecated in the next major version. Use primer-box instead."; @import "primer-support/index.scss"; @import "primer-marketing-support/index.scss"; From 6f065d6c3b74bd0d093b5eb845ead8d6fc422851 Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Fri, 15 Sep 2017 17:20:05 -0700 Subject: [PATCH 09/13] Missing semicolon --- modules/primer-forms/lib/form-validation.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/primer-forms/lib/form-validation.scss b/modules/primer-forms/lib/form-validation.scss index 1f6424213c..fe3fe8c986 100644 --- a/modules/primer-forms/lib/form-validation.scss +++ b/modules/primer-forms/lib/form-validation.scss @@ -52,7 +52,7 @@ dl.form-group > dd { // A selector for credit cards. Shows all credit cards we have available and // dims the non-selected ones. -@warn "primer-forms: The credit cards component is being deprecated in next major version." +@warn "primer-forms: The credit cards component is being deprecated in next major version."; .form-cards { height: 31px; From e7a322d2c145b192a803076c94d27dbdadf6f9ec Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 20 Sep 2017 16:25:21 -0700 Subject: [PATCH 10/13] Publish - primer-cards@0.4.1 - primer-core@6.3.1 - primer-css@9.4.0 - primer-forms@1.3.1 - primer-marketing@5.3.1 - primer-product@5.3.1 - primer-utilities@4.7.0 --- modules/primer-cards/package.json | 2 +- modules/primer-core/package.json | 6 +++--- modules/primer-css/package.json | 14 +++++++------- modules/primer-forms/package.json | 2 +- modules/primer-marketing/package.json | 4 ++-- modules/primer-product/package.json | 2 +- modules/primer-utilities/package.json | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/primer-cards/package.json b/modules/primer-cards/package.json index 161a60f614..e7b65d9bdd 100644 --- a/modules/primer-cards/package.json +++ b/modules/primer-cards/package.json @@ -1,5 +1,5 @@ { - "version": "0.4.0", + "version": "0.4.1", "name": "primer-cards", "description": "Card-like containers to group semantically related content together on marketing websites at GitHub.", "homepage": "http://primercss.io/", diff --git a/modules/primer-core/package.json b/modules/primer-core/package.json index 8da7cbd3bb..95e6ebbcc9 100644 --- a/modules/primer-core/package.json +++ b/modules/primer-core/package.json @@ -1,5 +1,5 @@ { - "version": "6.3.0", + "version": "6.3.1", "name": "primer-core", "description": "Primer CSS's core modules", "homepage": "http://primercss.io/", @@ -28,13 +28,13 @@ "primer-base": "1.4.0", "primer-box": "2.4.0", "primer-buttons": "2.3.0", - "primer-forms": "1.3.0", + "primer-forms": "1.3.1", "primer-layout": "1.3.0", "primer-navigation": "1.3.0", "primer-support": "4.3.0", "primer-table-object": "1.3.0", "primer-tooltips": "1.3.0", "primer-truncate": "1.3.0", - "primer-utilities": "4.6.0" + "primer-utilities": "4.7.0" } } diff --git a/modules/primer-css/package.json b/modules/primer-css/package.json index 15d15c3b23..57ba7529e8 100644 --- a/modules/primer-css/package.json +++ b/modules/primer-css/package.json @@ -1,5 +1,5 @@ { - "version": "9.3.0", + "version": "9.4.0", "name": "primer-css", "description": "Primer is the CSS framework that powers GitHub's front-end design. Primer-css includes 23 packages that are grouped into 3 core meta-packages for easy install. Each package and meta-package is independently versioned and distributed via npm, so it's easy to include all or part of Primer within your own project.", "homepage": "http://primercss.io/", @@ -32,26 +32,26 @@ "primer-box": "2.4.0", "primer-breadcrumb": "1.3.0", "primer-buttons": "2.3.0", - "primer-cards": "0.4.0", - "primer-core": "6.3.0", - "primer-forms": "1.3.0", + "primer-cards": "0.4.1", + "primer-core": "6.3.1", + "primer-forms": "1.3.1", "primer-labels": "1.4.0", "primer-layout": "1.3.0", "primer-markdown": "3.6.0", - "primer-marketing": "5.3.0", + "primer-marketing": "5.3.1", "primer-marketing-support": "1.3.0", "primer-marketing-type": "1.3.0", "primer-marketing-utilities": "1.3.0", "primer-navigation": "1.3.0", "primer-page-headers": "1.3.0", "primer-page-sections": "1.3.0", - "primer-product": "5.3.0", + "primer-product": "5.3.1", "primer-support": "4.3.0", "primer-table-object": "1.3.0", "primer-tables": "1.3.0", "primer-tooltips": "1.3.0", "primer-truncate": "1.3.0", - "primer-utilities": "4.6.0" + "primer-utilities": "4.7.0" }, "keywords": [ "primer", diff --git a/modules/primer-forms/package.json b/modules/primer-forms/package.json index 81e2bfe9eb..fc170f2039 100644 --- a/modules/primer-forms/package.json +++ b/modules/primer-forms/package.json @@ -1,5 +1,5 @@ { - "version": "1.3.0", + "version": "1.3.1", "name": "primer-forms", "description": "Style individual form controls and utilize common layouts.", "homepage": "http://primercss.io/", diff --git a/modules/primer-marketing/package.json b/modules/primer-marketing/package.json index 89986a2c0f..0558381cfc 100644 --- a/modules/primer-marketing/package.json +++ b/modules/primer-marketing/package.json @@ -1,5 +1,5 @@ { - "version": "5.3.0", + "version": "5.3.1", "name": "primer-marketing", "description": "Primer CSS marketing packages", "homepage": "http://primercss.io/", @@ -26,7 +26,7 @@ }, "dependencies": { "primer-breadcrumb": "1.3.0", - "primer-cards": "0.4.0", + "primer-cards": "0.4.1", "primer-marketing-support": "1.3.0", "primer-marketing-type": "1.3.0", "primer-marketing-utilities": "1.3.0", diff --git a/modules/primer-product/package.json b/modules/primer-product/package.json index dc6a2cea40..82143b38c4 100644 --- a/modules/primer-product/package.json +++ b/modules/primer-product/package.json @@ -1,5 +1,5 @@ { - "version": "5.3.0", + "version": "5.3.1", "name": "primer-product", "description": "Primer CSS's product modules", "homepage": "http://primercss.io/", diff --git a/modules/primer-utilities/package.json b/modules/primer-utilities/package.json index 761a32c242..6db4e44260 100644 --- a/modules/primer-utilities/package.json +++ b/modules/primer-utilities/package.json @@ -1,5 +1,5 @@ { - "version": "4.6.0", + "version": "4.7.0", "name": "primer-utilities", "description": "Immutable, atomic CSS classes to rapidly build product", "homepage": "http://primercss.io/", From 142a40cb6d732dbe019fadc44c123746ffe82655 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 20 Sep 2017 16:26:02 -0700 Subject: [PATCH 11/13] always run bump since most recent version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d18edd8d87..aa0131dbda 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "release-pr": "script/release-pr", "release-candidate": "script/release-candidate", "release": "script/release", - "bump": "lerna publish --exact --skip-npm", + "bump": "lerna publish --exact --skip-npm --since \"v$(npm info primer-css version)\"", "test": "lerna run test" }, "devDependencies": { From 79a465fb19e7134eb70cef4041810f6442be423c Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 20 Sep 2017 16:29:45 -0700 Subject: [PATCH 12/13] move CHANGELOG.md to the root --- CHANGELOG.md | 272 +++++++++++++++++++++++++++++++- modules/primer-css/CHANGELOG.md | 271 ------------------------------- 2 files changed, 271 insertions(+), 272 deletions(-) mode change 120000 => 100644 CHANGELOG.md delete mode 100644 modules/primer-css/CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 120000 index 50672af25e..0000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1 +0,0 @@ -modules/primer-css/CHANGELOG.md \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000..78c763d7c0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,271 @@ +# 9.3.0 + +## Added +- Docs for `primer-layout` (grid), `primer-support`, `primer-utilities`, and `primer-marketing-utilities` +- Primer keys for `category` and `module_type` to `package.json` (for use in documentation and gathering stats) + +## Changes +- Removes `docs` from `gitignore` +- Removes the `^` from all dependencies so that we can publish exact versions +- Consolidates release notes from various sources into one changelog located in `/modules/primer-css/CHANGELOG.md` + +# 9.2.0 + +## Added + +- Add `test-docs` npm script in each module to check that every CSS class is documented (or at least mentioned) in the module's own markdown docs + +## Changes + +- Remove per-module configurations (`.gitignore`, `.postcss.json`, `.stylelintrc.json`) and `CHANGELOG.md` files in #284 +- Replace most static `font-size`, `font-weight`, and `line-height` CSS property values with their [SCSS variable equivalents](https://github.com/primer/primer-css/blob/c9ea37316fbb73c4d9931c52b42bc197260c0bf6/modules/primer-support/lib/variables/typography.scss#L12-L33) in #252 +- Refactor CI scripts to use Travis conditional deployment for release candidate and final release publish steps in #290 + +# 9.1.1 + +This release updates primer modules to use variables for spacing units instead of pixel values. + +## Changes + +- primer-alerts: 1.2.0 => 1.2.1 +- primer-avatars: 1.1.0 => 1.1.1 +- primer-base: 1.2.0 => 1.2.1 +- primer-blankslate: 1.1.0 => 1.1.1 +- primer-box: 2.2.0 => 2.2.1 +- primer-breadcrumb: 1.1.0 => 1.1.1 +- primer-buttons: 2.1.0 => 2.1.1 +- primer-cards: 0.2.0 => 0.2.1 +- primer-core: 6.1.0 => 6.1.1 +- primer-css: 9.1.0 => 9.1.1 +- primer-forms: 1.1.0 => 1.1.1 +- primer-labels: 1.2.0 => 1.2.1 +- primer-layout: 1.1.0 => 1.1.1 +- primer-markdown: 3.4.0 => 3.4.1 +- primer-marketing-type: 1.1.0 => 1.1.1 +- primer-marketing-utilities: 1.1.0 => 1.1.1 +- primer-marketing: 5.1.0 => 5.1.1 +- primer-navigation: 1.1.0 => 1.1.1 +- primer-page-headers: 1.1.0 => 1.1.1 +- primer-page-sections: 1.1.0 => 1.1.1 +- primer-product: 5.1.0 => 5.1.1 +- primer-support: 4.1.0 => 4.1.1 +- primer-table-object: 1.1.0 => 1.1.1 +- primer-tables: 1.1.0 => 1.1.1 +- primer-tooltips: 1.1.0 => 1.1.1 +- primer-truncate: 1.1.0 => 1.1.1 +- primer-utilities: 4.4.0 => 4.4.1 + +# 9.1.0 + +This release updates our [stylelint config](/primer/stylelint-config-primer) to [v2.0.0](https://github.com/primer/stylelint-config-primer/releases/tag/v2.0.0), and to stylelint v7.13.0. Each module also now has a `lint` npm script, and there are top-level `test` and `lint` scripts that you can use to lint and test all modules in one go. + +This release also includes major improvements to our Travis build scripts to automatically publish PR builds, release candidates, and the "final" versions to npm. + +# 9.0.0 - Core dependency & repo urls + +We discovered that `primer-core` specified and outdated version of `primer-base` in it's dependencies. The outdated version did not have `normalize.scss` included which could cause some issues. This has issue occurred during v7.0.0 when creating the new monorepo. Also fixes repo urls in `package.json` for individual packages. + +See PR [#243](https://github.com/primer/primer-css/pull/243) + +## Changes + +### Primer Core v6.0.0 +- Fixed `primer-base` dependency to point to latest version + +**Repo urls corrected from `packages` to `modules` in:** +- primer-base v1.1.5 +- primer-box v2.1.8 +- primer-buttons v2.0.6 +- primer-forms v1.0.13 +- primer-layout v1.0.5 +- primer-navigation v1.0.6 +- primer-support v4.0.7 +- primer-table-object v1.0.9 +- primer-tooltips v1.0.2 +- primer-truncate v1.0.2 +- primer-utilities v4.3.5 + +### Primer Product v5.0.2 + +**Repo urls corrected from `packages` to `modules` in:** +- primer-alerts v1.1.8 +- primer-avatars v1.0.2 +- primer-blankslate v1.0.2 +- primer-labels v1.1.6 +- primer-markdown v3.3.13 +- primer-support v4.0.7 + +### Primer Marketing v5.0.2 + +**Repo urls corrected from `packages` to `modules` in:** +- primer-breadcrumb v1.0.2 +- primer-cards v0.1.8 +- primer-marketing-support v1.0.2 +- primer-marketing-type v1.0.2 +- primer-marketing-utilities v1.0.2 +- primer-page-headers v1.0.2 +- primer-page-sections v1.0.2 +- primer-support v4.0.7 +- primer-tables v1.0.2 + +# 8.0.0 - Imports + +Fixes issues with the ordering of imports in each of our meta-packages. See PR [#239](https://github.com/primer/primer-css/pull/239) + + +## Changes + +### Primer Core v5.0.1 +- Re-ordered imports in `index.scss` to ensure utilities come last in the cascade + +### Primer Product v5.0.1 +- Re-ordered imports in `index.scss` to move markdown import to end of list to match former setup in GitHub.com + +### Primer Marketing v5.0.1 +- Re-ordered imports in `index.scss` to ensure marketing utilities come last in the cascade + +# 7.0.0 - Monorepo + +In an effort to improve our publishing workflow we turned Primer CSS into a monorepo, made this repo the source of truth for Primer by removing Primer modules from GitHub, and setup Lerna for managing multiple packages and maintaining independent versioning for all our modules. + +This is exciting because: + +- we can spend less time hunting down the cause of a broken build and more time focussing on making Primer more useful and robust for everyone to use +- we can be more confident that changes we publish won't cause unexpected problems on GitHub.com and many other GitHub websites that use Primer +- we no longer have files like package.json, scripts, and readme's in the GitHub app that don't really belong there +- **we can accept pull requests from external contributors** again! + +See PR for more details on this change: https://github.com/primer/primer-css/pull/230 + +## Other changes: + +### Primer Core v4.0.3 + +#### primer-support v4.0.5 +- Update fade color variables to use rgba instead of transparentize color function for better Sass readability +- Update support variables and mixins to use new color variables + +#### primer-layout v1.0.3 +- Update grid gutter styles naming convention and add responsive modifiers +- Deprecate `single-column` and `table-column` from layout module +- Remove `@include clearfix` from responsive container classes + +#### primer-utilities v4.3.3 +- Add `show-on-focus` utility class for accessibility +- Update typography utilities to use new color variables +- Add `.p-responsive` class + +#### primer-base v1.1.3 +- Update `b` tag font weight to use variable in base styles + +### Primer Marketing v4.0.3 + +#### primer-tables +- Update marketing table colors to use new variables + + +# 6.0.0 +- Add `State--small` to labels module +- Fix responsive border utilities +- Added and updated typography variables and mixins; updated variables used in typography utilities; updated margin, padding, and typography readmes +- Darken `.box-shadow-extra-large` shadow +- Update `.tooltip-multiline` to remove `word-break: break-word` property +- Add `.border-purple` utility class +- Add responsive border utilities to primer-marketing +- Add `ws-normal` utility for `whitespace: normal` +- Updated syntax and classnames for `Counters` and `Labels`, moved into combined module with states. + +# 5.1.0 +- Add negative margin utilities +- Move `.d-flex` & `.d-flex-inline` to be with other display utility classes in `visibility-display.scss` +- Delete `.shade-gradient` in favor of `.bg-shade-gradient` +- Removed alt-body-font variable from primer-marketing +- Removed un-used `alt` typography styles from primer-marketing +- Add green border utility + +# 5.0.0 +- Added new border variable and utility, replaced deprecated flash border variables +- Updated variable name in form validation +- Updated `.sr-only` to not use negative margin +- Added and removed border variables and utilities +- Add filter utility to Primer Marketing +- Removed all custom color variables within Primer-marketing in favor of the new color system +- Updated style for form group error display so it is positioned properly +- Updated state closed color and text and background pending utilities +- Removed local font css file from primer-marketing/support +- Updated all color variables and replaced 579 hex refs across modules with new variables, added additional shades to start introducing a new color system which required updating nearly all primer modules +- Added layout utility `.sr-only` for creating screen reader only elements +- Added `.flex{-infix}-item-equal` utilities for creating equal width and equal height flex items. +- Added `.flex{-infix}-row-reverse` utility for reversing rows of content +- Updated `.select-menu-button-large` to use `em` units for sizing of the CSS triangle. +- Added `.box-shadow-extra-large` utility for large, diffused shadow +- Updated: removed background color from markdown body +- Updated: remove background on the only item in an avatar stack +- Added form utility `.form-checkbox-details` to allow content to be shown/hidden based on a radio button being checked +- Added form utility to override Webkit's incorrect assumption of where to try to autofill contact information + +# 4.7.0 +- Update primer modules to use bold variable applying `font-weight: 600` + +# 4.6.0 +- Added `CircleBadge` component for badge-like displays within product/components/avatars +- Added Box shadow utilities `box-shadow`, `box-shadow-medium`, `box-shadow-large`, `box-shadow-none` +- Moved visibility and display utilities to separate partial at the end of the imports list, moved flexbox to it's own partial +- Added `flex-shrink-0` to address Flexbox Safari bug +- Updated: Using spacing variables in the `.flash` component +- Updated Box component styles and documentation +- Added `.wb-break-all` utility + +# 4.4.0 +- Adding primer-marketing module to primer +- Added red and blue border color variables and utilities +- Updated: `$spacer-5` has been changed to `32px` from `36px` +- Updated: `$spacer-6` has been changed to `40px` from `48px` +- Deprecated `link-blue`, updated `link-gray` and `link-gray-dark`, added `link-hover-blue` - Updated: blankslate module to use support variables for sizing + +# 4.3.0 +- Renamed `.flex-table` to `.TableObject` +- Updated: `$spacer-1` has been changed to `4px` from `3px` +- Updated: `$spacer-2` has been changed to `6px` from `8px` +- Added: `.text-shadow-dark` & `.text-shadow-light` utilities +- Updated: Moved non-framework CSS out of Primer modules. Added `box.scss` to `primer-core`. Added `discussion-timeline.scss` to `primer-product`, and moved `blob-csv.scss` into `/primer-product/markdown` directory +- Added: Flex utilities +- Refactor: Site typography to use Primer Marketing styles +- Added: `.list-style-none` utility +- Refactor: Button groups into some cleaner CSS +- Updated: Reorganizing how we separate primer-core, primer-product, primer-marketing css + + +# 4.2.0 +- Added: Responsive styles for margin and padding utilities, display, float, and new responsive hide utility, and updates to make typography responsive +- Added: new container styles and grid styles with responsive options +- Added: updated underline nav styles +- Deprecate: Deprecating a lot of color and layout utilities +- Added: More type utilities for different weights and larger sizes. +- Added: Well defined browser support + + +# 4.1.0 +- Added: [primer-markdown](https://github.com/primer/markdown) to the build +- Fixes: Pointing "style" package.json to `build/build.css` file. +- Added: Update font stack to system fonts +- Added: Updated type scale as part of system font update +- Added: `.Box` component for replacing boxed groups, simple box, and table-list styles +- Added: New type utilities for headings and line-height +- Deprecated: `vertical-middle` was replaced with `v-align-middle`. +- Added: Layout utilities for vertical alignment, overflow, width and height, visibility, and display table +- Added: Changing from font icons to SVG + +# 4.0.2 +- Added npm build scripts to add `build/build.css` to the npm package + +# 4.0.1 +- Fixed: missing primer-layout from build + +# 4.0.0 +- Whole new npm build system, pulling in the code from separate component repos + +# 3.0.0 +- Added: Animation utilities +- Added: Whitespace scale, and margin and padding utilities +- Added: Border utilities diff --git a/modules/primer-css/CHANGELOG.md b/modules/primer-css/CHANGELOG.md deleted file mode 100644 index 78c763d7c0..0000000000 --- a/modules/primer-css/CHANGELOG.md +++ /dev/null @@ -1,271 +0,0 @@ -# 9.3.0 - -## Added -- Docs for `primer-layout` (grid), `primer-support`, `primer-utilities`, and `primer-marketing-utilities` -- Primer keys for `category` and `module_type` to `package.json` (for use in documentation and gathering stats) - -## Changes -- Removes `docs` from `gitignore` -- Removes the `^` from all dependencies so that we can publish exact versions -- Consolidates release notes from various sources into one changelog located in `/modules/primer-css/CHANGELOG.md` - -# 9.2.0 - -## Added - -- Add `test-docs` npm script in each module to check that every CSS class is documented (or at least mentioned) in the module's own markdown docs - -## Changes - -- Remove per-module configurations (`.gitignore`, `.postcss.json`, `.stylelintrc.json`) and `CHANGELOG.md` files in #284 -- Replace most static `font-size`, `font-weight`, and `line-height` CSS property values with their [SCSS variable equivalents](https://github.com/primer/primer-css/blob/c9ea37316fbb73c4d9931c52b42bc197260c0bf6/modules/primer-support/lib/variables/typography.scss#L12-L33) in #252 -- Refactor CI scripts to use Travis conditional deployment for release candidate and final release publish steps in #290 - -# 9.1.1 - -This release updates primer modules to use variables for spacing units instead of pixel values. - -## Changes - -- primer-alerts: 1.2.0 => 1.2.1 -- primer-avatars: 1.1.0 => 1.1.1 -- primer-base: 1.2.0 => 1.2.1 -- primer-blankslate: 1.1.0 => 1.1.1 -- primer-box: 2.2.0 => 2.2.1 -- primer-breadcrumb: 1.1.0 => 1.1.1 -- primer-buttons: 2.1.0 => 2.1.1 -- primer-cards: 0.2.0 => 0.2.1 -- primer-core: 6.1.0 => 6.1.1 -- primer-css: 9.1.0 => 9.1.1 -- primer-forms: 1.1.0 => 1.1.1 -- primer-labels: 1.2.0 => 1.2.1 -- primer-layout: 1.1.0 => 1.1.1 -- primer-markdown: 3.4.0 => 3.4.1 -- primer-marketing-type: 1.1.0 => 1.1.1 -- primer-marketing-utilities: 1.1.0 => 1.1.1 -- primer-marketing: 5.1.0 => 5.1.1 -- primer-navigation: 1.1.0 => 1.1.1 -- primer-page-headers: 1.1.0 => 1.1.1 -- primer-page-sections: 1.1.0 => 1.1.1 -- primer-product: 5.1.0 => 5.1.1 -- primer-support: 4.1.0 => 4.1.1 -- primer-table-object: 1.1.0 => 1.1.1 -- primer-tables: 1.1.0 => 1.1.1 -- primer-tooltips: 1.1.0 => 1.1.1 -- primer-truncate: 1.1.0 => 1.1.1 -- primer-utilities: 4.4.0 => 4.4.1 - -# 9.1.0 - -This release updates our [stylelint config](/primer/stylelint-config-primer) to [v2.0.0](https://github.com/primer/stylelint-config-primer/releases/tag/v2.0.0), and to stylelint v7.13.0. Each module also now has a `lint` npm script, and there are top-level `test` and `lint` scripts that you can use to lint and test all modules in one go. - -This release also includes major improvements to our Travis build scripts to automatically publish PR builds, release candidates, and the "final" versions to npm. - -# 9.0.0 - Core dependency & repo urls - -We discovered that `primer-core` specified and outdated version of `primer-base` in it's dependencies. The outdated version did not have `normalize.scss` included which could cause some issues. This has issue occurred during v7.0.0 when creating the new monorepo. Also fixes repo urls in `package.json` for individual packages. - -See PR [#243](https://github.com/primer/primer-css/pull/243) - -## Changes - -### Primer Core v6.0.0 -- Fixed `primer-base` dependency to point to latest version - -**Repo urls corrected from `packages` to `modules` in:** -- primer-base v1.1.5 -- primer-box v2.1.8 -- primer-buttons v2.0.6 -- primer-forms v1.0.13 -- primer-layout v1.0.5 -- primer-navigation v1.0.6 -- primer-support v4.0.7 -- primer-table-object v1.0.9 -- primer-tooltips v1.0.2 -- primer-truncate v1.0.2 -- primer-utilities v4.3.5 - -### Primer Product v5.0.2 - -**Repo urls corrected from `packages` to `modules` in:** -- primer-alerts v1.1.8 -- primer-avatars v1.0.2 -- primer-blankslate v1.0.2 -- primer-labels v1.1.6 -- primer-markdown v3.3.13 -- primer-support v4.0.7 - -### Primer Marketing v5.0.2 - -**Repo urls corrected from `packages` to `modules` in:** -- primer-breadcrumb v1.0.2 -- primer-cards v0.1.8 -- primer-marketing-support v1.0.2 -- primer-marketing-type v1.0.2 -- primer-marketing-utilities v1.0.2 -- primer-page-headers v1.0.2 -- primer-page-sections v1.0.2 -- primer-support v4.0.7 -- primer-tables v1.0.2 - -# 8.0.0 - Imports - -Fixes issues with the ordering of imports in each of our meta-packages. See PR [#239](https://github.com/primer/primer-css/pull/239) - - -## Changes - -### Primer Core v5.0.1 -- Re-ordered imports in `index.scss` to ensure utilities come last in the cascade - -### Primer Product v5.0.1 -- Re-ordered imports in `index.scss` to move markdown import to end of list to match former setup in GitHub.com - -### Primer Marketing v5.0.1 -- Re-ordered imports in `index.scss` to ensure marketing utilities come last in the cascade - -# 7.0.0 - Monorepo - -In an effort to improve our publishing workflow we turned Primer CSS into a monorepo, made this repo the source of truth for Primer by removing Primer modules from GitHub, and setup Lerna for managing multiple packages and maintaining independent versioning for all our modules. - -This is exciting because: - -- we can spend less time hunting down the cause of a broken build and more time focussing on making Primer more useful and robust for everyone to use -- we can be more confident that changes we publish won't cause unexpected problems on GitHub.com and many other GitHub websites that use Primer -- we no longer have files like package.json, scripts, and readme's in the GitHub app that don't really belong there -- **we can accept pull requests from external contributors** again! - -See PR for more details on this change: https://github.com/primer/primer-css/pull/230 - -## Other changes: - -### Primer Core v4.0.3 - -#### primer-support v4.0.5 -- Update fade color variables to use rgba instead of transparentize color function for better Sass readability -- Update support variables and mixins to use new color variables - -#### primer-layout v1.0.3 -- Update grid gutter styles naming convention and add responsive modifiers -- Deprecate `single-column` and `table-column` from layout module -- Remove `@include clearfix` from responsive container classes - -#### primer-utilities v4.3.3 -- Add `show-on-focus` utility class for accessibility -- Update typography utilities to use new color variables -- Add `.p-responsive` class - -#### primer-base v1.1.3 -- Update `b` tag font weight to use variable in base styles - -### Primer Marketing v4.0.3 - -#### primer-tables -- Update marketing table colors to use new variables - - -# 6.0.0 -- Add `State--small` to labels module -- Fix responsive border utilities -- Added and updated typography variables and mixins; updated variables used in typography utilities; updated margin, padding, and typography readmes -- Darken `.box-shadow-extra-large` shadow -- Update `.tooltip-multiline` to remove `word-break: break-word` property -- Add `.border-purple` utility class -- Add responsive border utilities to primer-marketing -- Add `ws-normal` utility for `whitespace: normal` -- Updated syntax and classnames for `Counters` and `Labels`, moved into combined module with states. - -# 5.1.0 -- Add negative margin utilities -- Move `.d-flex` & `.d-flex-inline` to be with other display utility classes in `visibility-display.scss` -- Delete `.shade-gradient` in favor of `.bg-shade-gradient` -- Removed alt-body-font variable from primer-marketing -- Removed un-used `alt` typography styles from primer-marketing -- Add green border utility - -# 5.0.0 -- Added new border variable and utility, replaced deprecated flash border variables -- Updated variable name in form validation -- Updated `.sr-only` to not use negative margin -- Added and removed border variables and utilities -- Add filter utility to Primer Marketing -- Removed all custom color variables within Primer-marketing in favor of the new color system -- Updated style for form group error display so it is positioned properly -- Updated state closed color and text and background pending utilities -- Removed local font css file from primer-marketing/support -- Updated all color variables and replaced 579 hex refs across modules with new variables, added additional shades to start introducing a new color system which required updating nearly all primer modules -- Added layout utility `.sr-only` for creating screen reader only elements -- Added `.flex{-infix}-item-equal` utilities for creating equal width and equal height flex items. -- Added `.flex{-infix}-row-reverse` utility for reversing rows of content -- Updated `.select-menu-button-large` to use `em` units for sizing of the CSS triangle. -- Added `.box-shadow-extra-large` utility for large, diffused shadow -- Updated: removed background color from markdown body -- Updated: remove background on the only item in an avatar stack -- Added form utility `.form-checkbox-details` to allow content to be shown/hidden based on a radio button being checked -- Added form utility to override Webkit's incorrect assumption of where to try to autofill contact information - -# 4.7.0 -- Update primer modules to use bold variable applying `font-weight: 600` - -# 4.6.0 -- Added `CircleBadge` component for badge-like displays within product/components/avatars -- Added Box shadow utilities `box-shadow`, `box-shadow-medium`, `box-shadow-large`, `box-shadow-none` -- Moved visibility and display utilities to separate partial at the end of the imports list, moved flexbox to it's own partial -- Added `flex-shrink-0` to address Flexbox Safari bug -- Updated: Using spacing variables in the `.flash` component -- Updated Box component styles and documentation -- Added `.wb-break-all` utility - -# 4.4.0 -- Adding primer-marketing module to primer -- Added red and blue border color variables and utilities -- Updated: `$spacer-5` has been changed to `32px` from `36px` -- Updated: `$spacer-6` has been changed to `40px` from `48px` -- Deprecated `link-blue`, updated `link-gray` and `link-gray-dark`, added `link-hover-blue` - Updated: blankslate module to use support variables for sizing - -# 4.3.0 -- Renamed `.flex-table` to `.TableObject` -- Updated: `$spacer-1` has been changed to `4px` from `3px` -- Updated: `$spacer-2` has been changed to `6px` from `8px` -- Added: `.text-shadow-dark` & `.text-shadow-light` utilities -- Updated: Moved non-framework CSS out of Primer modules. Added `box.scss` to `primer-core`. Added `discussion-timeline.scss` to `primer-product`, and moved `blob-csv.scss` into `/primer-product/markdown` directory -- Added: Flex utilities -- Refactor: Site typography to use Primer Marketing styles -- Added: `.list-style-none` utility -- Refactor: Button groups into some cleaner CSS -- Updated: Reorganizing how we separate primer-core, primer-product, primer-marketing css - - -# 4.2.0 -- Added: Responsive styles for margin and padding utilities, display, float, and new responsive hide utility, and updates to make typography responsive -- Added: new container styles and grid styles with responsive options -- Added: updated underline nav styles -- Deprecate: Deprecating a lot of color and layout utilities -- Added: More type utilities for different weights and larger sizes. -- Added: Well defined browser support - - -# 4.1.0 -- Added: [primer-markdown](https://github.com/primer/markdown) to the build -- Fixes: Pointing "style" package.json to `build/build.css` file. -- Added: Update font stack to system fonts -- Added: Updated type scale as part of system font update -- Added: `.Box` component for replacing boxed groups, simple box, and table-list styles -- Added: New type utilities for headings and line-height -- Deprecated: `vertical-middle` was replaced with `v-align-middle`. -- Added: Layout utilities for vertical alignment, overflow, width and height, visibility, and display table -- Added: Changing from font icons to SVG - -# 4.0.2 -- Added npm build scripts to add `build/build.css` to the npm package - -# 4.0.1 -- Fixed: missing primer-layout from build - -# 4.0.0 -- Whole new npm build system, pulling in the code from separate component repos - -# 3.0.0 -- Added: Animation utilities -- Added: Whitespace scale, and margin and padding utilities -- Added: Border utilities From db7637ea8b22cafe8659382f2236103c96f76207 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 20 Sep 2017 16:41:32 -0700 Subject: [PATCH 13/13] try not building tags --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4102c4e6e9..b0d72d9175 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,7 @@ deploy: skip_cleanup: true on: branch: release* + tags: false # publish "final" releases on master - provider: script @@ -36,6 +37,7 @@ deploy: skip_cleanup: true on: branch: master + tags: false notifications: slack: