diff --git a/.changeset/README.md b/.changeset/README.md
new file mode 100644
index 0000000000..4f3b76b096
--- /dev/null
+++ b/.changeset/README.md
@@ -0,0 +1,8 @@
+# Changesets
+
+Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
+with multi-package repos, or single-package repos to help you version and publish your code. You can
+find the full documentation for it [in our repository](https://github.com/changesets/changesets)
+
+We have a quick list of common questions to get you started engaging with this project in
+[our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.md)
diff --git a/.changeset/config.json b/.changeset/config.json
new file mode 100644
index 0000000000..6a5b9d29b2
--- /dev/null
+++ b/.changeset/config.json
@@ -0,0 +1,10 @@
+{
+ "$schema": "https://unpkg.com/@changesets/config@1.5.0/schema.json",
+ "changelog": ["@changesets/changelog-github", {"repo": "primer/css"}],
+ "commit": false,
+ "linked": [],
+ "access": "public",
+ "baseBranch": "main",
+ "updateInternalDependencies": "patch",
+ "ignore": []
+}
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index faf4840888..bea5004e37 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -19,7 +19,7 @@ Guidelines for bug reports:
2. **Use the GitHub issue search** — check if the issue has already been reported.
-3. **Check if the issue has been fixed** — try to reproduce it using the latest `master` branch in the repository.
+3. **Check if the issue has been fixed** — try to reproduce it using the latest `main` branch in the repository.
4. **Isolate the problem** — ideally create a [reduced test case](https://css-tricks.com/reduced-test-cases/) and a live example.
@@ -56,7 +56,7 @@ Anyone can open a pull request on Primer CSS. You do not need to work at GitHub
1. Fork and clone [this repository](https://github.com/primer/css).
2. Configure and install the dependencies: `npm install`
-3. Create a new branch from master `git checkout -b my-branch-name`
+3. Create a new branch from main `git checkout -b my-branch-name`
4. Make your changes and commit them.
5. Push your branch and open a pull request. Add a comment describing your proposed changes and request a review from `@primer/ds-core`.
6. Wait for CI tests to finish.
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000000..abdd0568e0
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,13 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are located.
+# Please see the documentation for all configuration options:
+# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+ - package-ecosystem: "npm" # See documentation for possible values
+ directory: "/docs" # Location of package manifests
+ schedule:
+ interval: "daily"
+ allow:
+ - dependency-name: "@primer/gatsby-theme-doctocat"
diff --git a/.github/workflows/bundle_size.yml b/.github/workflows/bundle_size.yml
new file mode 100644
index 0000000000..6fcdb54a08
--- /dev/null
+++ b/.github/workflows/bundle_size.yml
@@ -0,0 +1,23 @@
+name: Bundle report
+on: [push]
+jobs:
+ bundle:
+ name: Bundle report
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@master
+
+ - name: Set up Node.js
+ uses: actions/setup-node@master
+ with:
+ node-version: 12
+
+ - name: Install dependencies
+ run: yarn
+
+ - name: Build
+ run: yarn dist
+
+ - name: Reporting bundle sizes
+ run: script/bundle-size-report.js --all
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
deleted file mode 100644
index 06b1c97a1c..0000000000
--- a/.github/workflows/changelog.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: changelog
-on:
- push:
- branches:
- - 'release-*'
- - '*changelog*'
-jobs:
- all:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@master
- - uses: actions/setup-node@master
- with:
- node-version: 11
- - name: install
- run: npm install
- - name: changelog
- run: script/changelog.js
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9ad3402d6c..e9a10063a1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,25 +1,51 @@
name: CI
-on: push
+on: [push]
jobs:
- all:
+ ci:
+ name: CI
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@master
- - uses: actions/setup-node@master
+ - name: Checkout repository
+ uses: actions/checkout@master
+
+ - name: Set up Node.js
+ uses: actions/setup-node@master
with:
- node-version: 11
- - name: install
- run: npm install
- - name: lint
- run: script/lint-ci
- - name: test
- run: npm test
- - name: prepublish
- run: script/prepublish
- - name: test deprecations
- if: startsWith(github.ref, 'refs/heads/release-')
- run: script/test-deprecations.js
- - uses: primer/publish@v1.1.0
+ node-version: 12
+
+ - name: Install dependencies
+ run: yarn
+
+ - name: CSS Lint
+ run: yarn stylelint && yarn stylelint -- --report-needless-disables
+
+ - name: Build
+ run: yarn dist
+
+ - name: Test
+ run: yarn test
+
+ - name: Create .npmrc
+ run: |
+ cat << EOF > "$HOME/.npmrc"
+ //registry.npmjs.org/:_authToken=$NPM_TOKEN
+ EOF
+ env:
+ NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
+
+ - name: Publish canary version
+ run: |
+ echo "$( jq '.version = "0.0.0"' package.json )" > package.json
+ echo -e "---\n'@primer/css': patch\n---\n\nFake entry to force publishing" > .changeset/force-snapshot-release.md
+ yarn changeset version --snapshot
+ yarn changeset publish --tag canary
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Output canary version number
+ run: |
+ name=$(jq -r .name package.json)
+ version=$(jq -r .version package.json)
+ npx action-status --context="Published $name" --state=success --description=$version --url "https://unpkg.com/$name@$version/"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000000..784ffbd044
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,34 @@
+name: Release
+on:
+ push:
+ branches:
+ - main
+jobs:
+ release:
+ name: Release
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@master
+ with:
+ # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
+ fetch-depth: 0
+
+ - name: Set up Node.js
+ uses: actions/setup-node@master
+ with:
+ node-version: 12.x
+
+ - name: Install dependencies
+ run: yarn
+
+ - name: Create release pull request or publish to npm
+ id: changesets
+ uses: changesets/action@master
+ with:
+ title: Release Tracking
+ # This expects you to have a script called release which does a build for your packages and calls changeset publish
+ publish: yarn release
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
diff --git a/.node-version b/.node-version
new file mode 100644
index 0000000000..420568d756
--- /dev/null
+++ b/.node-version
@@ -0,0 +1 @@
+14.15.2
diff --git a/.npmignore b/.npmignore
index 2803190acb..3e45a2bf01 100644
--- a/.npmignore
+++ b/.npmignore
@@ -1,4 +1,5 @@
*.log
+.changeset/
.github/
.next/
.storybook/
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 722a4f9754..2020d5d613 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,12 +1,49 @@
+# @primer/css
+
+## 16.0.2
+
+### Patch Changes
+
+- [#1258](https://github.com/primer/css/pull/1258) [`c6945cd5`](https://github.com/primer/css/commit/c6945cd50c297b621a69aecb619440bfb2bf4c32) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing post publish storybook hook
+
+## 16.0.1
+
+### Patch Changes
+
+- [#1247](https://github.com/primer/css/pull/1247) [`1b6ba39c`](https://github.com/primer/css/commit/1b6ba39c733433fc5488d60b0b8b384b6d2b4d7d) Thanks [@jonrohan](https://github.com/jonrohan)! - Adding changesets to release workflow
+
+## 16.0.0
+
+### :boom: Breaking Change
+
+- Update to Primer Primitives `4.0.0` [primer/primitives#43](https://github.com/primer/primitives/pull/43)
+- Add color modes [#1131](https://github.com/primer/css/pull/1131)
+
+### :rocket: Enhancement
+
+- Add `flex-shrink: 0` to `.avatar` [#1183](https://github.com/primer/css/pull/1183)
+- Adding timeline-badge success border [#1246](https://github.com/primer/css/pull/1246)
+- Add `.anim-rotate` utility class [#1251](https://github.com/primer/css/pull/1251)
+
+### :nail_care: Polish
+
+- Move marketing `@font-face` declarations from vars to type [#1238](https://github.com/primer/css/pull/1238)
+
+### :memo: Documentation
+
+- Update documentation with color modes [#1186](https://github.com/primer/css/pull/1186)
+
## 15.2.0
### :rocket: Enhancements
+
- [#1145](https://github.com/primer/css/pull/1145) Make final position responsive
- [#1148](https://github.com/primer/css/pull/1148) flex wrap reverse added
- [#1157](https://github.com/primer/css/pull/1157) Overflow responsive variants
- [#1156](https://github.com/primer/css/pull/1156) Add missing rounded-3 utility
### :memo: Documentation
+
- [#1160](https://github.com/primer/css/pull/1160) Remove custom emoji from SelectMenu docs
- [#1165](https://github.com/primer/css/pull/1165) Replaced old octicons in examples
- [#1146](https://github.com/primer/css/pull/1146) Corrected a few typos
@@ -15,42 +52,47 @@
- [#1155](https://github.com/primer/css/pull/1155) Place search subnav example on new line
### :nail_care: Polish
+
- [#1147](https://github.com/primer/css/pull/1147) Increase input font-size on iOS
- [#1152](https://github.com/primer/css/pull/1152) Remove .autocomplete-results inset border that is occluded by items
### Committers
+
- [@MauricioHernanCabrera](https://github.com/MauricioHernanCabrera)
- [@ashygee](https://github.com/ashygee)
- [@esdraspavon](https://github.com/esdraspavon)
- [@neildaniels](https://github.com/neildaniels)
- [@nicksloan](https://github.com/nicksloan)
-
## 15.1.0
### :rocket: Enhancements
+
- [#1062](https://github.com/primer/css/pull/1062) Make tabnav responsive
- [#1128](https://github.com/primer/css/pull/1128) Add support for table border
- [#1132](https://github.com/primer/css/pull/1132) Add .bg-orange to the list of colors
### :memo: Documentation
+
- [#1122](https://github.com/primer/css/pull/1122) fix comment typo
### :nail_care: Polish
+
- [#1121](https://github.com/primer/css/pull/1121) Update layout when the Counter is empty
- [#1126](https://github.com/primer/css/pull/1126) Increase border contrast for Label--yellow
### Committers
+
- [@colinkeany](https://github.com/colinkeany)
- [@garman](https://github.com/garman)
- [@nikolasveneti](https://github.com/nikolasveneti)
- [@nuthinking](https://github.com/nuthinking)
- [@simurai](https://github.com/simurai)
-
## 15.0.0
### :rocket: Enhancements
+
- [#1116](https://github.com/primer/css/pull/1116) Improve accessibility
- [#1083](https://github.com/primer/css/pull/1083) Make sure autocomplete resets button styles
- [#1074](https://github.com/primer/css/pull/1074) Update pagination
@@ -64,6 +106,7 @@
- [#1022](https://github.com/primer/css/pull/1022) Update border radius
### :nail_care: Polish
+
- [#1109](https://github.com/primer/css/pull/1109) Polish 9
- [#1090](https://github.com/primer/css/pull/1090) Polish 8
- [#1077](https://github.com/primer/css/pull/1077) Polish 7
@@ -73,24 +116,29 @@
- [#1041](https://github.com/primer/css/pull/1041) Polish
### Committers
+
- [@muan](https://github.com/muan)
- [@simurai](https://github.com/simurai)
## 14.4.0
### :rocket: Enhancements
+
- [#1089](https://github.com/primer/css/pull/1089) Accessible Progress
### :bug: Bug fixes
+
- [#1060](https://github.com/primer/css/pull/1060) Add support for aria-current=false
### :memo: Documentation
+
- [#1059](https://github.com/primer/css/pull/1059) Typo in scss.md
- [#1065](https://github.com/primer/css/pull/1065) Convert markdown page to one big example
- [#1075](https://github.com/primer/css/pull/1075) chore: add missing link to color utilities
- [#1067](https://github.com/primer/css/pull/1067) Add .text-gray-light to docs
### Committers
+
- [@daniseguraf](https://github.com/daniseguraf)
- [@metonym](https://github.com/metonym)
- [@simurai](https://github.com/simurai)
@@ -103,14 +151,17 @@
- [#1028](https://github.com/primer/css/pull/1028) Improve .form-group accessibility
### :bug: Bug fixes
+
- [#670](https://github.com/primer/css/pull/670) Fix Box row top border
- [#1042](https://github.com/primer/css/pull/1042) Fix UnderlineNav in Safari
- [#1035](https://github.com/primer/css/pull/1035) Update UnderlineNav-item to not wrap counter & icon
### :memo: Documentation
+
- [#1018](https://github.com/primer/css/pull/1018) Update MIGRATING.md
### Committers
+
- [@emplums](https://github.com/emplums)
- [@jonrohan](https://github.com/jonrohan)
- [@simurai](https://github.com/simurai)
@@ -118,21 +169,25 @@
## 14.2.0
### :rocket: Enhancements
+
- [#1006](https://github.com/primer/css/pull/1006) Use ARIA attributes for states
- [#1014](https://github.com/primer/css/pull/1014) Add aria-disabled state
- [#1001](https://github.com/primer/css/pull/1001) Add Inter bold font file
- [#982](https://github.com/primer/css/pull/982) Applies .selected styles to [aria-selected=true]
### :bug: Bug fixes
+
- [#1002](https://github.com/primer/css/pull/1002) Fix marketing utilities
- [#1005](https://github.com/primer/css/pull/1005) Add .selected back to the .UnderlineNav
### :memo: Documentation
+
- [#1012](https://github.com/primer/css/pull/1012) Improve margin/padding docs
- [#1013](https://github.com/primer/css/pull/1013) Fix docs links
- [#1004](https://github.com/primer/css/pull/1004) rm deprecated flash-banner component from docs
### Committers
+
- [@flavianunes](https://github.com/flavianunes)
- [@ktravers](https://github.com/ktravers)
- [@simurai](https://github.com/simurai)
@@ -140,21 +195,26 @@
## 14.1.0
### :rocket: Enhancements
+
- [#994](https://github.com/primer/css/pull/994) Responsive line-height utilities
- [#995](https://github.com/primer/css/pull/995) Add bold weight to marketing font variables
### :bug: Bug fixes
+
- [#998](https://github.com/primer/css/pull/998) Use a gray background when hovering SelectMenu items
### :memo: Documentation
+
- [#989](https://github.com/primer/css/pull/989) Add link to the Stylelint guide
- [#1000](https://github.com/primer/css/pull/1000) Update contributing guide for a general audience
- [#972](https://github.com/primer/css/pull/972) Variables page
### :house: Internal
+
- [#997](https://github.com/primer/css/pull/997) Fix CHANGELOG links
### Committers
+
- [@shawnbot](https://github.com/shawnbot)
- [@simurai](https://github.com/simurai)
- [@skullface](https://github.com/skullface)
@@ -162,11 +222,13 @@
## 14.0.0
### :boom: Breaking changes
+
- [#922](https://github.com/primer/css/pull/922) More SelectMenu improvements
- [#966](https://github.com/primer/css/pull/966) Rename `.flex-item-equal` to `.flex-1`
- [#973](https://github.com/primer/css/pull/973) Deprecate variables in 14.0.0
### :rocket: Enhancements
+
- [#987](https://github.com/primer/css/pull/987) Add .position-sticky utility
- [#979](https://github.com/primer/css/pull/979) Add `.radio-group` component
- [#981](https://github.com/primer/css/pull/981) Autocomplete + Suggester components
@@ -175,15 +237,18 @@
- [#971](https://github.com/primer/css/pull/971) Add variable deprecation data and tests
### :memo: Documentation
+
- [#988](https://github.com/primer/css/pull/988) Add docs for flexbug no. 9
- [#977](https://github.com/primer/css/pull/977) Update spacing.md
### :house: Internal
+
- [#952](https://github.com/primer/css/pull/952) Async/awaitify script/dist.js
- [#963](https://github.com/primer/css/pull/963) Generate changelog with semantic-release
- [#968](https://github.com/primer/css/pull/968) Stylelint update
### Committers
+
- [@BinaryMuse](https://github.com/BinaryMuse)
- [@danchristian](https://github.com/danchristian)
- [@shawnbot](https://github.com/shawnbot)
@@ -192,22 +257,27 @@
# 13.2.0
### :rocket: Enhancements
+
- [#959](https://github.com/primer/css/pull/959) More buttons
- [#950](https://github.com/primer/css/pull/950) Add Diffstat component
- [#913](https://github.com/primer/css/pull/913) Importing TimelineItem from .com and creating matching docs
- [#953](https://github.com/primer/css/pull/953) Add IssueLabel component
### :bug: Bug fixes
+
- [#945](https://github.com/primer/css/pull/945) Add `[role=tab][aria-selected=true]` to `.UnderlineNav-item.selected`
### :memo: Documentation
+
- [#939](https://github.com/primer/css/pull/939) Fix `Box--overlay` example
- [#943](https://github.com/primer/css/pull/943) Fix broken links to typography utilities
### :house: Internal
+
- [#946](https://github.com/primer/css/pull/946) Add `TODO@version` stylelint rule (local)
### Committers
+
- [@MohamedElidrissi](https://github.com/MohamedElidrissi)
- [@jonrohan](https://github.com/jonrohan)
- [@shawnbot](https://github.com/shawnbot)
@@ -216,30 +286,36 @@
# 13.1.0
### :rocket: Enhancement
-- [#904](https://github.com/primer/css/pull/904) Add Keyboard Shortcuts `kbd` from github/github
+
+- [#904](https://github.com/primer/css/pull/904) Add Keyboard Shortcuts `kbd` from github/github
- [#926](https://github.com/primer/css/pull/926) Add Flash Banner `.flash-banner` from github/github
- [#927](https://github.com/primer/css/pull/927) Add `.flex-column-reverse` utilities
### :memo: Documentation
+
- [#932](https://github.com/primer/css/pull/932) Fix CDN links in documentation
- [#933](https://github.com/primer/css/pull/933) Convert most ERB examples to HTML
### Committers
+
- [@shawnbot](https://github.com/shawnbot)
- [@simurai](https://github.com/simurai)
# 13.0.2
### :memo: Documentation
+
- Use inline octicon in branch name example [#886](https://github.com/primer/css/pull/886)
- Move select menu list into the modal div [#903](https://github.com/primer/css/pull/903)
- Improve SelectMenu docs [#923](https://github.com/primer/css/pull/923)
### :house: Internal
+
- Update "Ship checklist" [#902](https://github.com/primer/css/pull/902)
- Bump stylelint, et al; add CI tests and script for removing needless disables [#912](https://github.com/primer/css/pull/912)
### Committers
+
- [@colebemis](https://github.com/colebemis)
- [@mxie](https://github.com/mxie)
- [@shawnbot](https://github.com/shawnbot)
@@ -248,32 +324,39 @@
# 13.0.1
### :bug: Bug Fix
+
- Remove "Segoe UI Symbol" from font stack [#906](https://github.com/primer/css/pull/906)
### Committers
+
- [@simurai](https://github.com/simurai)
# 13.0.0
### :boom: Breaking Change
+
- Remove `.container`, `.columns`, `.column`, and related classes [#662](https://github.com/primer/css/pull/662)
- Remove `.btn-purple` [#736](https://github.com/primer/css/pull/736) :wave: π
- Remove `.text-pending` and `.bg-pending` [#888](https://github.com/primer/css/pull/888)
- Remove `.dropdown-menu-content` [#884](https://github.com/primer/css/pull/884)
### :nail_care: Polish
+
- Select menu improvements [#893](https://github.com/primer/css/pull/893)
### :memo: Documentation
+
- The layout docs, formerly available at `/css/objects/layout`, are gone and will redirect to `/css/objects/grid`.
### :house: Internal
+
- Add deprecations test script [#889](https://github.com/primer/css/pull/889)
- Clean up scripts and dev dependencies [#890](https://github.com/primer/css/pull/890)
- Upgrade stylelint-config-primer to v8.0.0 [#892](https://github.com/primer/css/pull/892)
- Upgrade doctocat, live code wrappers [#895](https://github.com/primer/css/pull/895)
### Committers
+
- [@jonrohan](https://github.com/jonrohan)
- [@shawnbot](https://github.com/shawnbot)
- [@simurai](https://github.com/simurai)
@@ -282,18 +365,22 @@
# 12.7.0
### :rocket: Enhancement
+
- Import Dropdown component; add dark variants for dropdown and text fields [#862](https://github.com/primer/css/pull/862)
- Add `.break-word` utility and improve word-break docs [#880](https://github.com/primer/css/pull/880)
- Publish deprecation data [#883](https://github.com/primer/css/pull/883)
### :memo: Documentation
+
- Fix mistake in flex-justify-start explanation [#877](https://github.com/primer/css/pull/877)
### :house: Internal
+
- Fix CSS bundle size report when adding bundles [#879](https://github.com/primer/css/pull/879)
- Migrate to GitHub Actions v2 [#881](https://github.com/primer/css/pull/881)
### Committers
+
- [@dcastil](https://github.com/dcastil)
- [@shawnbot](https://github.com/shawnbot)
- [@simurai](https://github.com/simurai)
@@ -302,31 +389,39 @@
# 12.6.2
### :nail_care: Polish
+
- Add default background-color to SideNav https://github.com/primer/css/pull/873
### :house: Internal
+
- Change order in RELEASING.md https://github.com/primer/css/pull/875
### Committers
+
- [@shawnbot](https://github.com/shawnbot)
- [@simurai](https://github.com/simurai)
# 12.6.1
### :bug: Bug Fix
+
- Remove non-ascii characters (en dashes?) from SCSS comments [#870](https://github.com/primer/css/pull/870)
- Fix SideNav "jumping" in Safari [#868](https://github.com/primer/css/pull/868)
### :nail_care: Polish
+
- Improve Select Menu spacing [#844](https://github.com/primer/css/pull/844)
### :memo: Documentation
+
- Update colorable URL [#867](https://github.com/primer/css/pull/867)
### :house: Internal
+
- Update changelog for 12.6.0 [#866](https://github.com/primer/css/pull/866)
### Committers
+
- [@jonrohan](https://github.com/jonrohan)
- [@kiendang](https://github.com/kiendang)
- [@shawnbot](https://github.com/shawnbot)
@@ -336,6 +431,7 @@
# 12.6.0
### π Enhancements
+
- Loading toast styles [#852](https://github.com/primer/css/pull/852)
- Header component [#845](https://github.com/primer/css/pull/845)
- Import `.octicon` CSS in the core bundle [#857](https://github.com/primer/css/pull/857)
@@ -343,15 +439,18 @@
- Don't let State labels wrap [#863](https://github.com/primer/css/pull/863)
### π Documentation
+
- Fix some links in linting docs [#856](https://github.com/primer/css/pull/856)
- Updates to the development docs [#855](https://github.com/primer/css/pull/855)
- Generate bundle source READMEs from a template [#859](https://github.com/primer/css/pull/859)
- Render Octicon Ruby helper in docs [#847](https://github.com/primer/css/pull/847)
### π Internal
+
- Add GitHub `styleguide.css` to Storybook [#849](https://github.com/primer/css/pull/849)
### Committers
+
- [@ashygee](https://github.com/ashygee)
- [@emilybrick](https://github.com/emilybrick)
- [@jonrohan](https://github.com/jonrohan)
@@ -361,6 +460,7 @@
# 12.5.0
### :rocket: Enhancement
+
- Add `.Toast` component [#831](https://github.com/primer/css/pull/831)
- Add `.SideNav` component [#827](https://github.com/primer/css/pull/827)
- Add `.SelectMenu` component [#808](https://github.com/primer/css/pull/808)
@@ -369,15 +469,18 @@
- Change default for `$marketing-font-path` to `/fonts/` [#837](https://github.com/primer/css/pull/837)
### :bug: Bug Fix
+
- Improve monospaced font on Chrome Android [#812](https://github.com/primer/css/pull/812)
### :memo: Documentation
+
- Add multi-word naming conventions to BEM docs [#836](https://github.com/primer/css/pull/836)
- Color system docs updates [#811](https://github.com/primer/css/pull/811)
- Color utility table tweaks [#842](https://github.com/primer/css/pull/842)
- Fix markdown typos in Contributing docs page [#846](https://github.com/primer/css/pull/846)
### Committers
+
- [@ampinsk](https://github.com/ampinsk)
- [@emilybrick](https://github.com/emilybrick)
- [@emplums](https://github.com/emplums)
@@ -390,9 +493,11 @@
# 12.4.1
### :bug: Bug fixes
+
- Fix [#822](https://github.com/primer/css/issues/822) (`.border-dashed` issues) via [#824](https://github.com/primer/css/issues/824)
### :memo: Documentation
+
- Typos fixed in [#802](https://github.com/primer/css/issues/802) (thank you, [@The-Compiler](https://github.com/The-Compiler)!)
- Nav updates [#803](https://github.com/primer/css/issues/803)
- Fix tables of contents [#762](https://github.com/primer/css/issues/762)
@@ -400,30 +505,35 @@
- Lots more documentation updates in [#814](https://github.com/primer/css/issues/814)
### :house: Internal
+
- Decommission `primer/deploy` [#809](https://github.com/primer/css/issues/809)
### Committers
+
- [@emplums](https://github.com/emplums)
- [@shawnbot](https://github.com/shawnbot)
- [@simurai](https://github.com/simurai)
- [@The-Compiler](https://github.com/The-Compiler)
-
# 12.4.0
### :rocket: Enhancement
+
- More responsive border utilities [#775](https://github.com/primer/css/pull/775)
- Add `overflow: visible` utilities [#798](https://github.com/primer/css/pull/798)
- Add `yellow` color utilities that will replace `pending` [#737](https://github.com/primer/css/pull/737)
### :bug: Bug Fix
+
- Fix Ruby Sass compiler warnings by quoting keys in `$hue-maps` declaration [#794](https://github.com/primer/css/pull/794)
### :house: Internal
+
- Remove `test-all-modules` scripts and old monorepo test scripts [#795](https://github.com/primer/css/pull/795)
- Resolve all but one ([#796](https://github.com/primer/css/pull/796)) vulnerability in npm dev dependencies [#797](https://github.com/primer/css/pull/797)
### Committers
+
- [@broccolini](https://github.com/broccolini)
- [@shawnbot](https://github.com/shawnbot)
- [@simurai](https://github.com/simurai)
@@ -431,33 +541,41 @@
# 12.3.1
### π Bug Fix
+
- Add `aria-selected="true"` support to tabbed navigation styles to play nicely with [`` elements as buttons and have them appear in the active/selected state when the enclosing [`