1
1
mirror of https://github.com/primer/css.git synced 2024-12-23 22:24:11 +03:00
Commit Graph

295 Commits

Author SHA1 Message Date
GitHub Design Systems Bot
cc81c59521
Release Tracking (#2039)
* Adding pre.json

* Delete pre.json

* Marketing: Remove unused pullquote selector (#1767)

* Remove unused pullquote style

* Create good-fireants-collect.md

* next_major protection

* On push

* Exit 1

* Update instructions

* Underline nav focus state (#1821)

* add pseudo selectors

* adjustments

* add stories, cleanup

* update mixin

* fix mixin

* lint

* add back overflow styles

* adjust focus for better overflow state, scrollsnap

* post test adjustments, move hacks to primer css

* Stylelint auto-fixes

* hover state desktop only

* document data-content hack

* Create nice-days-jog.md

* Use counter-border for LHC (#1792)

* Use counter-border for LHC

* Create orange-ties-sin.md

* Remove fallback

* Update nice-days-jog.md

Co-authored-by: langermank <langermank@github.com>
Co-authored-by: Actions Auto Build <actions@github.com>
Co-authored-by: simurai <simurai@github.com>

* Global focus styles (#1744)

* setup base focus styles

* add feature stories

* add stories for focusable things, delete outline:0

* switch back to box-shadow

* support class

* stylelint

* fix theme viewer

* switch back to outline, address feedback

* lint

* temp stashing stories here

* Create giant-bees-talk.md

* I think we got it!

* address input directly

* checkbox/radio outline offset

* lint

* change actionlist to just use focus

* merge

* Update giant-bees-talk.md

* address marketing styles

* tabnav focus fix

* reach all buttons

* attempt windows hc selector

* Stylelint auto-fixes

* fixes

* add focus style testing page

* Stylelint auto-fixes

* add href for testing

* remove position relative to fix chrome bug

* fix details scenario

* add offset to WHC

* maintain offset specificity in whc

* inset tabnav focus

* switch offset to inset

* fix actionlist focus

* lint

* better scoping, handle forms for safari

* moving specific styles from dotcom

* address autocomplete

* cleanup

* cleanup

* selected focus states

* adjust marketing focus

* use offset instead for marketing

* Stylelint auto-fixes

* fix merge

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
Co-authored-by: Actions Auto Build <actions@github.com>

* Upgrading to stylelint-config-12.4.0 (#2041)

* Upgrading to stylelint-config-12.4.0

* Create tame-clouds-shop.md

* Global focus style CSS from feature flag (#2046)

* extra CSS found from cleaning up feat flag

* lint

* Create young-trainers-yell.md

* fix mixin

Co-authored-by: Jon Rohan <yes@jonrohan.codes>

* UnderlineNav bug fix (#2047)

* fix selector (bad merge?)

* Create ninety-bobcats-do.md

* lint

* Comment box upload focus border-radius (#2049)

* missing border-radius

* Create beige-horses-fetch.md

* lint

* you would think I would know these by now

* Fix headings with an anchor in a summary (#2048)

* Fix headings with an anchor in a summary

* Create hip-readers-press.md

* Lint

* Version Packages

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
Co-authored-by: Tobias Ahlin <hello@tobiasahlin.com>
Co-authored-by: langermank <langermank@github.com>
Co-authored-by: Actions Auto Build <actions@github.com>
Co-authored-by: simurai <simurai@github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-29 10:33:00 -07:00
Rez
90e8bd5dcc
Force production docs to deploy on each push to main (#2044) 2022-04-26 20:57:49 +01:00
Jon Rohan
07045a60ce
Create codeql.yml 2022-04-25 20:36:38 -07:00
Rez
d6df77f94c
remove postinstall (#2040)
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-04-20 20:15:15 +01:00
Jon Rohan
06cd5a551c
global flag on matchAll 2022-04-20 11:46:38 -07:00
dependabot[bot]
d7804b2f5e
Bump actions/github-script from 5 to 6 (#1963)
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Katie Langerman <langermank@github.com>
2022-04-20 09:24:28 -07:00
Reza Rahman
8352d8d000 use prod primer workflow for main deployment 2022-04-20 10:15:26 +01:00
Reza Rahman
160286966b bypass main branch deployment guard 2022-04-20 10:04:27 +01:00
Rez
40b9e1674c
add deployment workflows for GitHub Pages (#2038)
* add workflows

* change trigger to pull_request

* remove duplciate workflow stage name

* remove workflow trigger conditions

* switch to experimental workflow

* attempt restoring storybook environment

* fix build trigger

* apply correct storybook environment

* add deployments to permissions

* bump more permissions

* add ref

* another workaround

* change target_url to make deployment appear

* revert ref stuff
2022-04-19 16:26:47 -07:00
Kate Higa
6d1cc359cf
Add accessibility checks for component documentation examples (#2017)
* * run axe on doc examples

* * update script

* * update axe.yml

* * update script to zsh

* * update axe.yml

* * fix indentation

* * fix script

* * can't use zsh script

* * fix syntax of calling array in bash

* * ensure that we don't run axe on pages we want to exclude

* * add to list

* * include utilities

* * add documentation to script

* * add back localhost

* * fix weird formatting

* bad

* bad

* bad

* bad

* * update script to only run on updated paths we care about

* * update comments on script*

* * move modified files check to action

* add fetch-depth

* add quotes

* * introduce GitHub Action workflow

* * refactor

* pass env variable to bash script

* update script and fix id

* * ensure array is used

* remove temporary testing changes

* * update message slightly

* Revert "remove temporary testing changes"

This reverts commit fc332142a8.

* add back exit code

* fix variables

* Revert "fix variables"

This reverts commit 191b02d5ea.

* update message

* update message

* add back files removed for testing

Co-authored-by: Katie Langerman <langermank@github.com>
2022-04-12 14:19:47 -07:00
dependabot[bot]
ad58924f45
Bump actions/checkout from 2 to 3 (#2006)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Katie Langerman <langermank@github.com>
2022-04-12 13:38:08 -07:00
simurai
d979039df2
Update dependency question (#2016) 2022-04-08 21:38:05 +09:00
dependabot[bot]
d7b8a7811d
Bump actions/setup-node from 2 to 3 (#1962)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 17:04:41 +09:00
simurai
45ea69b91c
Bump dependabot to monthly interval 2021-12-21 16:53:18 +09:00
Jon Rohan
8ee1f01b57
Update welcome.yml 2021-12-14 12:50:21 -08:00
Jon Rohan
da523b7fac
Update release_canary.yml 2021-12-14 10:15:53 -08:00
simurai
037ccb9cd2
Update pull_request_template.md (#1823) 2021-12-13 15:24:12 +09:00
Jon Rohan
e8d5402a26
Updating and autofixing stylelint (#1765)
* Updating and autofixing stylelint

* Moving config to primer/stylelint-config

* Removing unused disables from css

* Stylelint auto-fixes

* @primer/stylelint-config@12.2.0

* Remove these from workfow

* Use reusable release_canary workflow (#1811)

* Use reusable release_canary workflow

* Install with yarn

Co-authored-by: Jon Rohan <yes@jonrohan.codes>

* Use counter-border for LHC (#1792)

* Use counter-border for LHC

* Create orange-ties-sin.md

* Remove fallback

* UnderlineNav `:focus` styles (#1764)

* add pseudo selectors

* adjustments

* add stories, cleanup

* update mixin

* fix mixin

* lint

* add back overflow styles

* adjust focus for better overflow state, scrollsnap

* post test adjustments, move hacks to primer css

* Stylelint auto-fixes

* hover state desktop only

* document data-content hack

* Create nice-days-jog.md

Co-authored-by: Actions Auto Build <actions@github.com>
Co-authored-by: simurai <simurai@github.com>

* Add note about loading the "latest" Primer CSS version (#1784)

* Add stashing

* Stylelint auto-fixes

Co-authored-by: Actions Auto Build <actions@github.com>
Co-authored-by: Cole Bemis <colebemis@github.com>
Co-authored-by: simurai <simurai@github.com>
Co-authored-by: Katie Langerman <langermank@github.com>
2021-12-08 11:39:38 -08:00
Cole Bemis
4a003873a6
Use reusable release_canary workflow (#1811)
* Use reusable release_canary workflow

* Install with yarn

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-12-06 17:37:20 +00:00
Jon Rohan
42fb7a7e7f
Only try and commit if changes exist 2021-12-06 09:19:11 -08:00
Jon Rohan
23ba78946a Only update docs monthly 2021-11-01 16:24:46 -07:00
Jon Rohan
0b24926c88
Only add src files 2021-10-28 14:19:31 -07:00
Jon Rohan
2834cb6faa
Committing any Stylelint fixes in the github ci action (#1709)
* Commiting any fixes made by stylelint

* or true when there's nothing to commit

* Test error

* CI on push

* Stylint auto-fixes

* push to head ref

* git push head ref

* Does it not know the branch?

* Stylelint typo

* ref name

* checkout ref

* checkout branch

* fetch first

* remote update

* Stylelint auto-fixes

* Only commit on pull requests

Co-authored-by: Actions Auto Build <actions@github.com>
2021-10-27 22:07:44 +00:00
Katie Langerman
b7fd01d5a1
Deploy Storybook on Pull-Request (#1703)
* add build storybook

* Storybook deployment status (#1704)

* attempt 1

* nested path for storybook

* create duplicate deployment

* Different environment for storybook

* Take care of failure case as well

Co-authored-by: Siddharth Kshetrapal <siddharthkp@github.com>
2021-10-25 16:45:39 -07:00
Jon Rohan
d20bb84ecb
Don't ignore dependabot branches 2021-10-25 09:23:51 -07:00
Jon Rohan
61b481cfe4
don't run on forks 2021-10-21 10:14:59 -07:00
Jon Rohan
98cf1f1f6d
Update dependabot.yml 2021-10-01 16:34:31 -07:00
Jon Rohan
a5309618ce
Update welcome.yml 2021-09-29 14:34:38 -07:00
Jon Rohan
b8fe364418 This is still request 2021-09-27 11:20:40 -07:00
Jon Rohan
813f6ec9b7 Fixing actions/github-script breaking change 2021-09-27 11:17:39 -07:00
dependabot[bot]
33c6a41a14
Bump actions/github-script from 4.1 to 5 (#1619)
Bumps [actions/github-script](https://github.com/actions/github-script) from 4.1 to 5.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v4.1...v5)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 09:49:58 -07:00
Jon Rohan
13de16c7d6
Prepare main to hold code for next major version (#1599)
* Adding pre mode

* Updating the workflows

* Update README.md

* Create proud-rules-wonder.md

* Rename and move color mode variables out of base package (#1462)

* Rename and move color mode variables out of base package

* Create mighty-goats-teach.md

* Add test to make sure support is never more than 0

* Update mighty-goats-teach.md

* Update mighty-goats-teach.md

* Remove test

* Delete patch

* Moving color modes to their own bundle (#1465)

* Moving color modes to their own bundle

* Create new-beers-peel.md

* Removing the rem() mixin and usages. Placing the computed values in place. (#1541)

* Removing the rem() mixin and usages. Placing the computed values in place.

* Create flat-shirts-lay.md

* Fixing stylelint issues

* Fix more stylelint issue

* Remove break-word from utilities (#1566)

* Remove break-word from utilities

* Create twelve-fireants-shave.md

* Adding dark high contrast

* Fixing mising color modes selectors

* Remove pre.json if it exists

* Fixing lint error

* Removing pre mode

Co-authored-by: simurai <simurai@github.com>
2021-09-16 18:20:07 -07:00
Joel Hawksley
e3c8f90e7f
Update Breadcrumbs markup to match w3 aria example (#1590) 2021-09-13 14:06:45 -06:00
Jon Rohan
a176c47d03
Update welcome.yml 2021-09-03 09:10:33 -07:00
dependabot[bot]
8ed7b45ec7
Bump actions/github-script from 4.0.2 to 4.1 (#1544)
Bumps [actions/github-script](https://github.com/actions/github-script) from 4.0.2 to 4.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v4.0.2...v4.1)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 14:05:34 +09:00
Jon Rohan
9f8aa0de66
Create CODEOWNERS 2021-08-18 18:35:25 -07:00
dependabot[bot]
d44182a2f3
Bump actions/stale from 3 to 4 (#1503)
Bumps [actions/stale](https://github.com/actions/stale) from 3 to 4.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-19 10:31:58 -07:00
Inayaili León
5fdc762060
Move standard docs to root (#1454) 2021-06-10 12:09:59 +09:00
Jon Rohan
9bbe8fb200
Update stale.yml 2021-05-26 14:46:31 -07:00
Jon Rohan
901582bfc9
Update stale.yml 2021-05-26 14:44:11 -07:00
Jon Rohan
4fd6b19250
Update stale.yml 2021-05-26 10:12:34 -07:00
Jon Rohan
67c54a8327
Update stale.yml 2021-05-26 10:09:53 -07:00
Jon Rohan
1369fa3ee8
Update stale.yml 2021-05-26 09:53:13 -07:00
Jon Rohan
ebcaf806e0
Update stale.yml 2021-05-26 09:45:34 -07:00
Jon Rohan
7c8292161c
Update stale.yml 2021-05-26 09:45:08 -07:00
Jon Rohan
aed1b3b626
Organize the settings a bit 2021-05-26 09:34:00 -07:00
Jon Rohan
2361793365
Update stale.yml 2021-05-25 16:02:34 -07:00
Jon Rohan
573980b271
Merge branch 'main' into stale 2021-05-25 15:59:43 -07:00
Jon Rohan
e77f475f18
Update names 2021-05-05 14:22:50 -07:00
Jon Rohan
1ac41ed6e1
Run on branch 2021-05-05 14:21:10 -07:00