1
1
mirror of https://github.com/primer/css.git synced 2024-11-25 18:26:14 +03:00
Commit Graph

345 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
Jon Rohan
327e6122cb
head_ref 2021-05-05 14:19:04 -07:00
Jon Rohan
fd6c893fec
test 2021-05-05 14:17:42 -07:00
Jon Rohan
15da55628b
name 2021-05-05 14:16:14 -07:00
Jon Rohan
bf5ebba9f7
test 2021-05-05 14:13:22 -07:00
Jon Rohan
31ae63daa9
head_ref 2021-05-05 13:40:23 -07:00
Jon Rohan
73d25a473e
Fix author 2021-05-05 13:34:10 -07:00
Jon Rohan
6556619131
Still run triage on all the other branches 2021-05-05 13:30:49 -07:00
Jon Rohan
abe261ee71
Call this a release template 2021-05-05 13:26:41 -07:00
Jon Rohan
8d9f553e43
Remove greeting 2021-05-05 13:22:07 -07:00
Jon Rohan
b88834a69b
pull_request 2021-05-05 13:18:08 -07:00
Jon Rohan
93a2e5d338
Run this on release branches 2021-05-05 13:03:48 -07:00
Jon Rohan
ab65fc37e4
Try it this way 2021-05-05 13:01:33 -07:00
Jon Rohan
8ff5958bfc
Update script 2021-05-05 12:39:41 -07:00
Jon Rohan
4538e28654
Link to latest release 2021-05-05 10:39:14 -07:00
Jon Rohan
9ec5edaa24
Adding checklist back 2021-05-05 10:33:05 -07:00
Jon Rohan
6988ac7451
Putting back the canary release workflow 2021-05-05 10:30:29 -07:00
Jon Rohan
4175d128b3
Add canary version back 2021-05-05 10:27:13 -07:00
Jon Rohan
ccec5cfcd7
Merge branch 'main' into welcome_template
Conflicts:
	.github/workflows/triage.yml
2021-05-05 10:21:51 -07:00
dependabot[bot]
a82b1b16c7
Bump actions/github-script from v3 to v4.0.2
Bumps [actions/github-script](https://github.com/actions/github-script) from v3 to v4.0.2.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v3...a3e7071a34d7e1f219a8a4de9a5e0a34d1ee1293)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 08:04:03 +00:00
Jon Rohan
b2f135350b
Ignore dependabot for deployments 2021-04-20 08:44:13 -07:00
Jon Rohan
882901737f
Change schedule on dependabot to weekly 2021-04-15 10:47:30 -07:00
Jon Rohan
8a4bc029fa
on push 2021-04-12 13:50:13 -07:00
Jon Rohan
1913a1a62e
Merge branch 'main' into welcome_template
Conflicts:
	.github/workflows/triage.yml
2021-04-12 09:38:08 -07:00
Jon Rohan
57ee7e1f37
Don't run on target 2021-04-12 09:19:30 -07:00
Jon Rohan
966f64f6de
Adding more words 2021-04-11 12:33:37 -07:00
Jon Rohan
30c7973f33
Change event to pull request 2021-04-10 14:49:03 -07:00
Jon Rohan
7b73a6a1c9
Title change 2021-04-10 13:57:34 -07:00
Jon Rohan
acafb30f14
Escape the tics 2021-04-10 13:41:46 -07:00
Jon Rohan
fef5d92214
Change bundle report to markdown 2021-04-10 13:36:52 -07:00
Jon Rohan
1fd75fb93c
Fix output 2021-04-10 13:25:47 -07:00
Jon Rohan
bcd5e40491
Rename and use pull_request until it's in main 2021-04-10 13:20:13 -07:00
Jon Rohan
82ff1d9646
Rename and use pull_request until it's in main 2021-04-10 13:20:08 -07:00
Jon Rohan
9c658c0a48
Combine into one workflow 2021-04-10 13:18:42 -07:00
Jon Rohan
100cf09024
Update the template 2021-04-10 13:09:49 -07:00
Jon Rohan
a62d91091d
Replace with author login 2021-04-10 13:06:45 -07:00
Jon Rohan
12c6a520ce
remove bundle_report 2021-04-10 11:20:34 -07:00
Jon Rohan
6f9a990356
Integrate into more workflows 2021-04-10 11:07:24 -07:00
Jon Rohan
7b862d5698
Update deploy_production.yml 2021-04-09 15:32:29 -07:00
Jon Rohan
c8158f862a
test deploy 2021-04-09 15:31:38 -07:00
Jon Rohan
2f8982da9f
Creating bundle report workflow 2021-04-08 21:15:29 -07:00
Jon Rohan
c07b8a9df7
Updating workflows for node 14. 2021-04-08 10:21:21 -07:00
Jon Rohan
66e184725e
Merge branch 'main' into stale 2021-04-07 20:48:56 -07:00
Jon Rohan
682e874790
Ignore triage on dependabot branches 2021-04-07 11:35:02 -07:00
Jon Rohan
2a989aa114
two config didn't work 2021-04-07 10:44:56 -07:00
Jon Rohan
1d6a90453f
Add daily check for primer dependencies 2021-04-07 10:21:16 -07:00
Jon Rohan
19787246ac
build dist before stylelint 2021-04-07 10:05:38 -07:00
Jon Rohan
f74e0e509f
Merge pull request #1314 from primer/dependabot/github_actions/chrnorm/deployment-action-v1.2.0
Bump chrnorm/deployment-action from v1 to v1.2.0
2021-04-06 22:14:35 -07:00
dependabot[bot]
f0c1cb4f5e
Bump chrnorm/deployment-action from v1 to v1.2.0
Bumps [chrnorm/deployment-action](https://github.com/chrnorm/deployment-action) from v1 to v1.2.0.
- [Release notes](https://github.com/chrnorm/deployment-action/releases)
- [Commits](https://github.com/chrnorm/deployment-action/compare/v1...0a0479c8ab41cd336ddc266342ca0a1c54727a72)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-07 04:58:53 +00:00
dependabot[bot]
da4707e99b
Bump chrnorm/deployment-status from v1 to v1.0.0
Bumps [chrnorm/deployment-status](https://github.com/chrnorm/deployment-status) from v1 to v1.0.0.
- [Release notes](https://github.com/chrnorm/deployment-status/releases)
- [Commits](https://github.com/chrnorm/deployment-status/compare/v1...598d987f3a8dec3817b995f810e6de7c06c92106)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-07 04:58:51 +00:00
Jon Rohan
67d4ea99d3
using version instead of master 2021-04-06 21:53:07 -07:00