Skip to content

Commit

Permalink
Merge branch 'main' into css_module_button_ga
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan authored Oct 17, 2024
2 parents b4a9a4e + 4680ce6 commit 3f034e8
Show file tree
Hide file tree
Showing 144 changed files with 4,988 additions and 4,305 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-brooms-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Added className prop to the AvatarStack component
5 changes: 5 additions & 0 deletions .changeset/angry-pants-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Add `className` prop to `FormControl.Label` component
5 changes: 0 additions & 5 deletions .changeset/breezy-windows-speak.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/five-windows-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Adds `aria-describedby` for `LeadingVisual` and `TrailingVisual` in `TextInput`; adds new prop `loaderText` to convey loading state to screen readers
5 changes: 5 additions & 0 deletions .changeset/grumpy-hairs-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Add support for `aria-disabled` in `Button`
5 changes: 5 additions & 0 deletions .changeset/lucky-lamps-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Add `classname` prop support to `ActionList.Description` component
5 changes: 5 additions & 0 deletions .changeset/odd-zoos-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Update confirmation dialog body to default color. Removing the muted color override.
5 changes: 5 additions & 0 deletions .changeset/perfect-fishes-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

fix(TooltipV2): always add aria-hidden
27 changes: 27 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"example-theming": "0.0.0"
},
"changesets": [
"angry-brooms-knock",
"angry-pants-brush",
"angry-tigers-jump",
"beige-schools-kneel",
"big-pumas-sit",
Expand All @@ -24,15 +26,19 @@
"cool-lobsters-nail",
"curvy-goats-sell",
"dirty-pianos-wash",
"dry-pens-pay",
"dry-trainers-protect",
"dull-beans-dance",
"dull-dolphins-bake",
"dull-mirrors-dream",
"dull-turkeys-cheer",
"early-lions-vanish",
"eight-avocados-lick",
"eighty-houses-beg",
"eleven-drinks-kiss",
"fifty-foxes-drop",
"fifty-rockets-joke",
"five-seas-scream",
"flat-avocados-cheer",
"flat-weeks-battle",
"fluffy-ravens-thank",
Expand All @@ -45,66 +51,87 @@
"good-years-attack",
"green-poems-play",
"green-schools-smell",
"grumpy-hairs-look",
"happy-fireants-mate",
"honest-ligers-fly",
"hot-baboons-allow",
"khaki-dolls-reflect",
"large-glasses-provide",
"large-plants-unite",
"lemon-candles-deny",
"light-chefs-bow",
"little-bats-approve",
"long-pans-travel",
"lovely-days-march",
"lucky-lamps-invite",
"lucky-oranges-camp",
"mighty-parrots-carry",
"modern-cooks-invite",
"moody-rivers-impress",
"nervous-llamas-ring",
"new-shirts-beam",
"nice-moles-know",
"odd-rings-applaud",
"odd-zoos-judge",
"olive-donkeys-exercise",
"orange-steaks-do",
"perfect-fishes-camp",
"pink-actors-cross",
"plenty-books-agree",
"purple-apricots-relax",
"quick-adults-buy",
"quick-feet-sip",
"quiet-rules-rescue",
"real-seahorses-grab",
"selectpanel-announcements",
"selfish-carpets-breathe",
"serious-sheep-love",
"serious-terms-sniff",
"seven-scissors-explain",
"shiny-cheetahs-flash",
"shiny-otters-call",
"short-boats-cover",
"silent-fireants-kneel",
"silent-planes-grab",
"silly-weeks-clap",
"silver-cheetahs-compare",
"six-owls-walk",
"sixty-olives-glow",
"slimy-sloths-whisper",
"slow-walls-drum",
"soft-tips-chew",
"sour-cooks-dress",
"sour-cycles-warn",
"spicy-eggs-melt",
"spicy-flies-sniff",
"spicy-pants-breathe",
"spotty-melons-sit",
"stale-lizards-report",
"stale-pets-tan",
"strong-tables-rest",
"stupid-monkeys-beg",
"tall-wasps-end",
"tame-boats-hide",
"ten-gifts-own",
"ten-masks-smoke",
"thin-keys-move",
"thin-planes-grow",
"thirty-pets-impress",
"thirty-tips-bow",
"three-coins-tell",
"three-scissors-hide",
"tidy-bats-warn",
"tidy-clocks-marry",
"tidy-impalas-remain",
"tough-pans-punch",
"twelve-tables-leave",
"twenty-spoons-give",
"weak-hats-type",
"weak-ravens-greet",
"wet-apples-hide",
"wet-otters-pull",
"wicked-books-occur",
"wicked-ties-walk",
"yellow-tools-call",
"young-meals-worry"
]
Expand Down
5 changes: 5 additions & 0 deletions .changeset/real-seahorses-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Add ButtonBase to `@primer/react/experimental` to help with wildcard import interop
5 changes: 5 additions & 0 deletions .changeset/shiny-cheetahs-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bug fix: ActionList Group className prop
5 changes: 5 additions & 0 deletions .changeset/shiny-otters-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

[SegmentedControl, Autocomplete] Support passing React.ReactElements for icons.
5 changes: 5 additions & 0 deletions .changeset/silver-cheetahs-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bug fix for `IconButton` to respect the `style` prop width when the feature flag is on.
5 changes: 5 additions & 0 deletions .changeset/slimy-sloths-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

fix(ProgressBar): add aria-valuetext attribute
5 changes: 5 additions & 0 deletions .changeset/spicy-pants-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Update CSS styles for CounterLabel to allow overrides for color, background color
5 changes: 0 additions & 5 deletions .changeset/tame-walls-travel.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/thin-keys-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Add 'className' prop to `Dialog` component
5 changes: 5 additions & 0 deletions .changeset/three-jokes-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Make sure all components accept `className` as a prop on outermost component element.
5 changes: 5 additions & 0 deletions .changeset/wicked-ties-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Add `className` prop support to `Textarea` component
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ module.exports = {
'react/jsx-no-undef': 'off',
'react/jsx-key': 'off',
'react/jsx-no-comment-textnodes': 'off',
'react-hooks/rules-of-hooks': 'off',
'import/no-anonymous-default-export': 'off',
'prettier/prettier': 'off',
// These a11y rules should eventually be re-enabled
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run VRT
uses: docker://mcr.microsoft.com/playwright:v1.43.0-jammy
uses: docker://mcr.microsoft.com/playwright:v1.47.2-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run VRT
uses: docker://mcr.microsoft.com/playwright:v1.43.0-jammy
uses: docker://mcr.microsoft.com/playwright:v1.47.2-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
Expand Down Expand Up @@ -253,8 +253,8 @@ jobs:
with:
name: vrt-all-flags
path: playwright-report
- name: check vrt-runner job status
if: ${{ needs.vrt-runner.result == 'failure' }}
- name: check vrt-runner-all-flags job status
if: ${{ needs.vrt-runner-all-flags.result == 'failure' }}
run: exit 1

aat-runner:
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run AAT
uses: docker://mcr.microsoft.com/playwright:v1.43.0-jammy
uses: docker://mcr.microsoft.com/playwright:v1.47.2-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
Expand Down Expand Up @@ -363,7 +363,7 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run AAT
uses: docker://mcr.microsoft.com/playwright:v1.43.0-jammy
uses: docker://mcr.microsoft.com/playwright:v1.47.2-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
Expand Down Expand Up @@ -405,8 +405,8 @@ jobs:
with:
name: axe-all-flags
path: playwright-report
- name: Check aat-runner job status
if: ${{ needs.aat-runner.result == 'failure' }}
- name: Check aat-runner-all-flags job status
if: ${{ needs.aat-runner-all-flags.result == 'failure' }}
run: exit 1

build-components-json:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run VRT
uses: docker://mcr.microsoft.com/playwright:v1.43.0-jammy
uses: docker://mcr.microsoft.com/playwright:v1.47.2-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ blob-report

# TypeScript
*.tsbuildinfo

# ESLint
.eslintcache
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions .husky/pre-commit

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3f034e8

Please sign in to comment.