Skip to content

Commit

Permalink
Merge pull request #353 from primer/release-9.5.0
Browse files Browse the repository at this point in the history
Release 9.5.0
  • Loading branch information
shawnbot authored Oct 4, 2017
2 parents b7610f1 + c996a22 commit 3190c9c
Show file tree
Hide file tree
Showing 32 changed files with 191 additions and 147 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# 9.5.0

### Added
- It's now possible to style `<summary>` elements as buttons and have them appear in the active/selected state when the enclosing [`<details>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) is open. #346

### Changes
- Updates our release candidate versioning logic so that prerelease increments are done on a per-module basis, fixing #350.

# 9.4.0

### Added
- Add `v-align-baseline` class to `primer-utilities` #324
- Add deprecation warnings for `primer-cards` and `primer-forms/lib/form-validation.scss` #347 (these will be removed in v10.0.0)

### Changes
- Update npm metadata for `primer-css`, `primer-core`, `primer-product`, and `primer-marketing` #328
- Remove `HEAD` heading from the changelog #327

# 9.3.0

## Added
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-alerts/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.4.0",
"version": "1.5.0",
"name": "primer-alerts",
"description": "Flash messages, or alerts, inform users of successful or pending actions.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -27,7 +27,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"alerts",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-avatars/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": "primer-avatars",
"description": "Basic styles for user profile avatars.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -27,7 +27,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"avatars",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-base/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.4.0",
"version": "1.5.0",
"name": "primer-base",
"description": "CSS to reset the browsers default styles",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -27,7 +27,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"primer",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-blankslate/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": "primer-blankslate",
"description": "Blankslates are for when there is a lack of content within a page or section.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -27,7 +27,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"primer",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-box/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.4.0",
"version": "2.5.0",
"name": "primer-box",
"description": "A module for creating rounded-corner boxes with options for headers, lists, and footers.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -27,7 +27,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"primer",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-breadcrumb/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": "primer-breadcrumb",
"description": "Breadcrumb navigation for pages with parents / grandparents.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"primer-marketing-support": "1.3.0",
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"breadcrumb",
Expand Down
19 changes: 19 additions & 0 deletions modules/primer-buttons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,25 @@ Use `.hidden-text-expander` to indicate and toggle hidden text.

You can also make the expander appear inline by adding `.inline`.


#### Using button styles with the details summary element

You can add `.btn` and `.btn-*` classes to any
[`<summary>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary)
element so that it gains the appearance of a button, and
selected/active styles when the parent
[`<details>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details)
element is open.

```html
<details>
<summary class="btn btn-block btn-primary">Toggle the content</summary>
<p class="mt-2">
This content will be toggled.
</p>
</details>
```

<!-- %enddocs -->

## License
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-buttons/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.3.0",
"version": "2.4.0",
"name": "primer-buttons",
"description": "A collection of buttons used for primary and secondary actions.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -27,7 +27,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"primer",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-cards/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.1",
"version": "0.5.0",
"name": "primer-cards",
"description": "Card-like containers to group semantically related content together on marketing websites at GitHub.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"primer-marketing-support": "1.3.0",
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"cards",
Expand Down
24 changes: 12 additions & 12 deletions modules/primer-core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "6.3.1",
"version": "6.4.0",
"name": "primer-core",
"description": "Primer CSS's core modules",
"homepage": "http://primercss.io/",
Expand All @@ -25,16 +25,16 @@
"test": "npm run build"
},
"dependencies": {
"primer-base": "1.4.0",
"primer-box": "2.4.0",
"primer-buttons": "2.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.7.0"
"primer-base": "1.5.0",
"primer-box": "2.5.0",
"primer-buttons": "2.4.0",
"primer-forms": "1.4.0",
"primer-layout": "1.4.0",
"primer-navigation": "1.4.0",
"primer-support": "4.4.0",
"primer-table-object": "1.4.0",
"primer-tooltips": "1.4.0",
"primer-truncate": "1.4.0",
"primer-utilities": "4.8.0"
}
}
54 changes: 27 additions & 27 deletions modules/primer-css/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "9.4.0",
"version": "9.5.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/",
Expand All @@ -25,33 +25,33 @@
"test": "npm run build"
},
"dependencies": {
"primer-alerts": "1.4.0",
"primer-avatars": "1.3.0",
"primer-base": "1.4.0",
"primer-blankslate": "1.3.0",
"primer-box": "2.4.0",
"primer-breadcrumb": "1.3.0",
"primer-buttons": "2.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.1",
"primer-alerts": "1.5.0",
"primer-avatars": "1.4.0",
"primer-base": "1.5.0",
"primer-blankslate": "1.4.0",
"primer-box": "2.5.0",
"primer-breadcrumb": "1.4.0",
"primer-buttons": "2.4.0",
"primer-cards": "0.5.0",
"primer-core": "6.4.0",
"primer-forms": "1.4.0",
"primer-labels": "1.5.0",
"primer-layout": "1.4.0",
"primer-markdown": "3.7.0",
"primer-marketing": "5.4.0",
"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.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.7.0"
"primer-marketing-type": "1.4.0",
"primer-marketing-utilities": "1.4.0",
"primer-navigation": "1.4.0",
"primer-page-headers": "1.4.0",
"primer-page-sections": "1.4.0",
"primer-product": "5.4.0",
"primer-support": "4.4.0",
"primer-table-object": "1.4.0",
"primer-tables": "1.4.0",
"primer-tooltips": "1.4.0",
"primer-truncate": "1.4.0",
"primer-utilities": "4.8.0"
},
"keywords": [
"primer",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-forms/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.3.1",
"version": "1.4.0",
"name": "primer-forms",
"description": "Style individual form controls and utilize common layouts.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -27,7 +27,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"primer",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-labels/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.4.0",
"version": "1.5.0",
"name": "primer-labels",
"description": "Labels add metatdata or indicate status of items and navigational elements.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -27,7 +27,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"primer",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-layout/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": "primer-layout",
"description": "Containers, rows, and columns for creating page layout.",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -28,7 +28,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"primer",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-markdown/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.6.0",
"version": "3.7.0",
"name": "primer-markdown",
"description": "GitHub stylesheets for rendering markdown.",
"homepage": "https://github.com/primer/primer-markdown",
Expand Down Expand Up @@ -27,7 +27,7 @@
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"github",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-marketing-type/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": "primer-marketing-type",
"description": "Typography for marketing websites at GitHub",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"primer-marketing-support": "1.3.0",
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"css",
Expand Down
4 changes: 2 additions & 2 deletions modules/primer-marketing-utilities/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": "primer-marketing-utilities",
"description": "Marketing specific immutable, atomic CSS classes",
"homepage": "http://primercss.io/",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"primer-marketing-support": "1.3.0",
"primer-support": "4.3.0"
"primer-support": "4.4.0"
},
"keywords": [
"primer",
Expand Down
Loading

0 comments on commit 3190c9c

Please sign in to comment.