Skip to content

Commit 3190c9c

Browse files
authored
Merge pull request #353 from primer/release-9.5.0
Release 9.5.0
2 parents b7610f1 + c996a22 commit 3190c9c

File tree

32 files changed

+191
-147
lines changed

32 files changed

+191
-147
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# 9.5.0
2+
3+
### Added
4+
- 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
5+
6+
### Changes
7+
- Updates our release candidate versioning logic so that prerelease increments are done on a per-module basis, fixing #350.
8+
9+
# 9.4.0
10+
11+
### Added
12+
- Add `v-align-baseline` class to `primer-utilities` #324
13+
- Add deprecation warnings for `primer-cards` and `primer-forms/lib/form-validation.scss` #347 (these will be removed in v10.0.0)
14+
15+
### Changes
16+
- Update npm metadata for `primer-css`, `primer-core`, `primer-product`, and `primer-marketing` #328
17+
- Remove `HEAD` heading from the changelog #327
18+
119
# 9.3.0
220

321
## Added

modules/primer-alerts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.4.0",
2+
"version": "1.5.0",
33
"name": "primer-alerts",
44
"description": "Flash messages, or alerts, inform users of successful or pending actions.",
55
"homepage": "http://primercss.io/",
@@ -27,7 +27,7 @@
2727
"test": "npm-run-all -s build lint"
2828
},
2929
"dependencies": {
30-
"primer-support": "4.3.0"
30+
"primer-support": "4.4.0"
3131
},
3232
"keywords": [
3333
"alerts",

modules/primer-avatars/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.3.0",
2+
"version": "1.4.0",
33
"name": "primer-avatars",
44
"description": "Basic styles for user profile avatars.",
55
"homepage": "http://primercss.io/",
@@ -27,7 +27,7 @@
2727
"test": "npm-run-all -s build lint"
2828
},
2929
"dependencies": {
30-
"primer-support": "4.3.0"
30+
"primer-support": "4.4.0"
3131
},
3232
"keywords": [
3333
"avatars",

modules/primer-base/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.4.0",
2+
"version": "1.5.0",
33
"name": "primer-base",
44
"description": "CSS to reset the browsers default styles",
55
"homepage": "http://primercss.io/",
@@ -27,7 +27,7 @@
2727
"test": "npm-run-all -s build lint"
2828
},
2929
"dependencies": {
30-
"primer-support": "4.3.0"
30+
"primer-support": "4.4.0"
3131
},
3232
"keywords": [
3333
"primer",

modules/primer-blankslate/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.3.0",
2+
"version": "1.4.0",
33
"name": "primer-blankslate",
44
"description": "Blankslates are for when there is a lack of content within a page or section.",
55
"homepage": "http://primercss.io/",
@@ -27,7 +27,7 @@
2727
"test": "npm-run-all -s build lint"
2828
},
2929
"dependencies": {
30-
"primer-support": "4.3.0"
30+
"primer-support": "4.4.0"
3131
},
3232
"keywords": [
3333
"primer",

modules/primer-box/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.4.0",
2+
"version": "2.5.0",
33
"name": "primer-box",
44
"description": "A module for creating rounded-corner boxes with options for headers, lists, and footers.",
55
"homepage": "http://primercss.io/",
@@ -27,7 +27,7 @@
2727
"test": "npm-run-all -s build lint"
2828
},
2929
"dependencies": {
30-
"primer-support": "4.3.0"
30+
"primer-support": "4.4.0"
3131
},
3232
"keywords": [
3333
"primer",

modules/primer-breadcrumb/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.3.0",
2+
"version": "1.4.0",
33
"name": "primer-breadcrumb",
44
"description": "Breadcrumb navigation for pages with parents / grandparents.",
55
"homepage": "http://primercss.io/",
@@ -29,7 +29,7 @@
2929
},
3030
"dependencies": {
3131
"primer-marketing-support": "1.3.0",
32-
"primer-support": "4.3.0"
32+
"primer-support": "4.4.0"
3333
},
3434
"keywords": [
3535
"breadcrumb",

modules/primer-buttons/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,25 @@ Use `.hidden-text-expander` to indicate and toggle hidden text.
245245

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

248+
249+
#### Using button styles with the details summary element
250+
251+
You can add `.btn` and `.btn-*` classes to any
252+
[`<summary>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary)
253+
element so that it gains the appearance of a button, and
254+
selected/active styles when the parent
255+
[`<details>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details)
256+
element is open.
257+
258+
```html
259+
<details>
260+
<summary class="btn btn-block btn-primary">Toggle the content</summary>
261+
<p class="mt-2">
262+
This content will be toggled.
263+
</p>
264+
</details>
265+
```
266+
248267
<!-- %enddocs -->
249268

250269
## License

modules/primer-buttons/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.3.0",
2+
"version": "2.4.0",
33
"name": "primer-buttons",
44
"description": "A collection of buttons used for primary and secondary actions.",
55
"homepage": "http://primercss.io/",
@@ -27,7 +27,7 @@
2727
"test": "npm-run-all -s build lint"
2828
},
2929
"dependencies": {
30-
"primer-support": "4.3.0"
30+
"primer-support": "4.4.0"
3131
},
3232
"keywords": [
3333
"primer",

modules/primer-cards/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.4.1",
2+
"version": "0.5.0",
33
"name": "primer-cards",
44
"description": "Card-like containers to group semantically related content together on marketing websites at GitHub.",
55
"homepage": "http://primercss.io/",
@@ -28,7 +28,7 @@
2828
},
2929
"dependencies": {
3030
"primer-marketing-support": "1.3.0",
31-
"primer-support": "4.3.0"
31+
"primer-support": "4.4.0"
3232
},
3333
"keywords": [
3434
"cards",

0 commit comments

Comments
 (0)