Skip to content

Commit

Permalink
Merge branch 'main' into tylerjdev/progress-bar-a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJDev committed Sep 24, 2024
2 parents d73c566 + c909285 commit 344cf29
Show file tree
Hide file tree
Showing 1,145 changed files with 24,258 additions and 74,894 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-pumas-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

`Text` component CSS module feature flag changed to `primer_react_css_modules_staff`
5 changes: 5 additions & 0 deletions .changeset/breezy-boxes-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Changes the accessible name of the "toggle" button in `LabelGroup` to contain the visual label
5 changes: 5 additions & 0 deletions .changeset/breezy-buckets-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': major
---

Delete deprecated draft components `MarkdownEditor`, `MarkdownInput`, and `InlineAutocomplete`
5 changes: 5 additions & 0 deletions .changeset/calm-forks-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bug fix: Button loading spinner color
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["docs", "example-*", "codesandbox"]
"ignore": ["example-*", "codesandbox"]
}
5 changes: 5 additions & 0 deletions .changeset/cool-llamas-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Moving Link CSS modules to staff feature flag
5 changes: 5 additions & 0 deletions .changeset/curvy-goats-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Include current selected menu item in accessible name when using an `aria-label` in `SegmentedControl`
5 changes: 5 additions & 0 deletions .changeset/dirty-pianos-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Change the Link component feature flag from primer_react_css_modules_staff to primer_react_css_modules_ga
5 changes: 5 additions & 0 deletions .changeset/dull-dolphins-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Move Heading component to staff feature flag
5 changes: 5 additions & 0 deletions .changeset/dull-turkeys-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Removes the feature flag from the `Blankslate` component to always render with CSS modules.
5 changes: 5 additions & 0 deletions .changeset/eighty-houses-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

fix(Dialog): track mousedown event to prevent accidental closing
5 changes: 5 additions & 0 deletions .changeset/flat-avocados-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Utilizes `[disabled]` selector instead of `:disabled` in `TooltipV2` to address a false positive
5 changes: 5 additions & 0 deletions .changeset/friendly-boats-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

fix(Pagination): Use anchor instead of button for disabled prev/next controls
5 changes: 5 additions & 0 deletions .changeset/fuzzy-jobs-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Add missing `wide` CSS + className to Stack
5 changes: 5 additions & 0 deletions .changeset/green-poems-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

SelectPanel: Add `role=combobox` to filter input (behind feature flag `primer_react_select_panel_with_modern_action_list`)
5 changes: 5 additions & 0 deletions .changeset/green-schools-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

ActionMenu: Make sure event handlers on ActionMenu.Button and ActionMenu.Anchor are called
6 changes: 6 additions & 0 deletions .changeset/hot-baboons-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@primer/react': major
---

The drafts entrypoint has been removed from @primer/react. Use
@primer/react/experimental instead.
5 changes: 5 additions & 0 deletions .changeset/nice-moles-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Changed Heading feature flag from `primer_react_css_modules_staff` to `primer_react_css_modules_ga`
5 changes: 5 additions & 0 deletions .changeset/odd-rings-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Update Banner to use CSS Modules behind feature flag
5 changes: 5 additions & 0 deletions .changeset/olive-donkeys-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": major
---

Refactor ButtonBase component to use CSS modules behine flag
5 changes: 5 additions & 0 deletions .changeset/orange-steaks-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Migrate `ButtonGroup` component to use CSS modules behind the `primer_react_css_modules_team` feature flag
46 changes: 44 additions & 2 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,86 @@
"mode": "pre",
"tag": "rc",
"initialVersions": {
"docs": "1.0.0",
"codesandbox": "0.0.0",
"example-app-router": "0.0.0",
"example-consumer-test": "0.0.0",
"@primer/react": "36.27.0",
"rollup-plugin-import-css": "0.0.0",
"postcss-preset-primer": "0.0.0"
"postcss-preset-primer": "0.0.0",
"example-theming": "0.0.0"
},
"changesets": [
"beige-schools-kneel",
"big-pumas-sit",
"blue-stingrays-decide",
"breezy-boxes-jog",
"breezy-buckets-wash",
"calm-forks-pull",
"clever-birds-press",
"cool-llamas-live",
"cool-lobsters-nail",
"curvy-goats-sell",
"dirty-pianos-wash",
"dry-trainers-protect",
"dull-dolphins-bake",
"dull-turkeys-cheer",
"early-lions-vanish",
"eighty-houses-beg",
"eleven-drinks-kiss",
"fifty-foxes-drop",
"flat-avocados-cheer",
"fluffy-ravens-thank",
"forty-ants-tell",
"four-shoes-yell",
"four-tables-glow",
"friendly-boats-serve",
"fuzzy-jobs-deny",
"gold-cups-explode",
"green-poems-play",
"green-schools-smell",
"honest-ligers-fly",
"hot-baboons-allow",
"lemon-candles-deny",
"lovely-days-march",
"mighty-parrots-carry",
"moody-rivers-impress",
"nervous-llamas-ring",
"new-shirts-beam",
"nice-moles-know",
"odd-rings-applaud",
"olive-donkeys-exercise",
"pink-actors-cross",
"purple-apricots-relax",
"quick-adults-buy",
"quick-feet-sip",
"quiet-rules-rescue",
"selectpanel-announcements",
"selfish-carpets-breathe",
"serious-sheep-love",
"serious-terms-sniff",
"seven-scissors-explain",
"short-boats-cover",
"silly-weeks-clap",
"six-owls-walk",
"sixty-olives-glow",
"soft-tips-chew",
"sour-cooks-dress",
"spicy-eggs-melt",
"spicy-flies-sniff",
"stale-lizards-report",
"stale-pets-tan",
"tall-wasps-end",
"tame-boats-hide",
"ten-gifts-own",
"ten-masks-smoke",
"thirty-pets-impress",
"thirty-tips-bow",
"tidy-bats-warn",
"tidy-clocks-marry",
"tough-pans-punch",
"twelve-tables-leave",
"weak-hats-type",
"wicked-books-occur",
"yellow-tools-call",
"young-meals-worry"
]
Expand Down
5 changes: 5 additions & 0 deletions .changeset/purple-apricots-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

Refactor Label to use CSS modules behind the primer_react_css_modules_team feature flag
5 changes: 5 additions & 0 deletions .changeset/quick-feet-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Allow color to be customized for medium-sized IconButtons
5 changes: 5 additions & 0 deletions .changeset/selectpanel-announcements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

SelectPanel: Add announcements for screen readers (behind feature flag `primer_react_select_panel_with_modern_action_list`)
5 changes: 5 additions & 0 deletions .changeset/selfish-carpets-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Update tab in UnderlinePanels to set explicit type
5 changes: 5 additions & 0 deletions .changeset/serious-sheep-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

`Label` component CSS module feature flag changed to `primer_react_css_modules_staff`
5 changes: 5 additions & 0 deletions .changeset/serious-terms-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bug fix: `invisible` Button variant missing background color when disabled
5 changes: 5 additions & 0 deletions .changeset/silly-weeks-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Update issue where FormControl.Caption was rendering incorrectly when CSS Modules flags were enabled
5 changes: 5 additions & 0 deletions .changeset/six-owls-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

Move the Blankslate css modules feature flag to primer_react_css_modules_ga
5 changes: 5 additions & 0 deletions .changeset/slow-walls-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

ProgressBar: Add `bg` prop to `ProgressBar.Item`
5 changes: 5 additions & 0 deletions .changeset/sour-cooks-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

SelectPanel: Update SelectPanel to use modern ActionList behind a feature flag `primer_react_select_panel_with_modern_action_list`
5 changes: 5 additions & 0 deletions .changeset/spicy-eggs-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Banner: Update alignment of actions when it is dismissible and has a hidden title
5 changes: 5 additions & 0 deletions .changeset/stale-lizards-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bump `primer/primitives` v9.0.3
5 changes: 5 additions & 0 deletions .changeset/stale-pets-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

ProgressBar: Adding default gap between sections for progressbars with more than one section
5 changes: 5 additions & 0 deletions .changeset/tame-boats-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

Refactor Avatar component to use CSS modules behind feature flag
5 changes: 5 additions & 0 deletions .changeset/ten-gifts-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

SelectPanel: Fix focus and selection styles for Windows high contrast themes (behind feature flag `primer_react_select_panel_with_modern_action_list`)
5 changes: 5 additions & 0 deletions .changeset/ten-masks-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Button bug fixes: `invisible` variant icon colors missing variables + icon button disabled state
5 changes: 5 additions & 0 deletions .changeset/thirty-pets-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Adds dependencies to `Dialog` focus trap to ensure focus trap is reset when content within changes
5 changes: 5 additions & 0 deletions .changeset/tidy-bats-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Popover: Add note on deprecation of `caret` in v38
5 changes: 5 additions & 0 deletions .changeset/tidy-clocks-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

Refactor `Text` to CSS modules behind primer_react_css_modules_team feature flag
5 changes: 5 additions & 0 deletions .changeset/twenty-spoons-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

chore(AvatarPair): Convert AvatarPair to CSS modules
5 changes: 5 additions & 0 deletions .changeset/weak-hats-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bump stylelint + fixes
5 changes: 5 additions & 0 deletions .changeset/weak-ravens-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bug fix: `Button` aria-expanded state (CSS Modules)
7 changes: 7 additions & 0 deletions .changeset/wicked-books-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@primer/react": minor
---

SelectPanel: Support <kbd>PageDown</kbd> and <kbd>PageUp</kbd> for keyboard navigation

SelectPanel: Label `listbox` by the title of the panel
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ module.exports = {
// rules which apply to JS, TS, etc.
rules: {
'no-shadow': 'off',
'react/button-has-type': 'error',
'react/prop-types': 'off',
'react/display-name': 'off',
'react-hooks/exhaustive-deps': 'error',
Expand Down Expand Up @@ -149,6 +150,11 @@ module.exports = {
message:
'Please use the `useIsomorphicLayoutEffect` hook from `src/hooks/useIsomorphicLayoutEffect.ts` instead',
},
{
name: 'clsx',
importNames: ['default'],
message: 'Use the named import instead: `import {clsx} from "clsx"`',
},
],
patterns: [
{
Expand Down
2 changes: 1 addition & 1 deletion .github/release_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Please ensure these items are checked before merging.

### 🌏 Integration tests

- [ ] Successful integration test with github/github as a primary consumer of Primer React ([automated pull request](https://github.com/github/github/pulls?q=is%3Apr+is%3Aopen+Integration+tests+for+%40primer%2Freact+label%3Adependencies))
- [ ] Successful integration test with github/github as a primary consumer of Primer React ([automated pull request](https://github.com/github/github/pulls?q=is%3Apr+is%3Aopen+Integration+tests+for+%40primer%2Freact+release+label%3Adependencies))
- [ ] Verify all CI checks have passed on automated pull request
- [ ] Manually test critical paths in the review-lab
- [ ] Manually test release-specific bugfixes and/or features work as described in the review-lab
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
strategy:
fail-fast: false
matrix:
shard: [1, 2]
shard: [1, 2, 3, 4]
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
Expand Down
Loading

0 comments on commit 344cf29

Please sign in to comment.