Skip to content

Commit e7e3342

Browse files
fr0manojoshblackprimer[bot]
authored
chore: Fix typos (#7174)
Co-authored-by: Josh Black <joshblack@github.com> Co-authored-by: primer[bot] <119360173+primer[bot]@users.noreply.github.com>
1 parent 8229688 commit e7e3342

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

contributor-docs/adrs/adr-009-behavior-isolation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,4 @@ Organizational overhead of shared dependencies is something that we will have to
208208
## Consequences
209209

210210
- By using `@lit-labs/ssr` today, we introduce a new dependency into Primer React. This may be removed later should React support Custom Elements out of the box (which seems likely for React 19), but for now we will need to continue to ship this dependency.
211-
- This decision may expediate the need to resolve organisational overhead issues. Deciding to use custom elements to share more code among PVC and PRC may highlight other areas which need to be addressed in subsequent PRs.
211+
- This decision may expedite the need to resolve organisational overhead issues. Deciding to use custom elements to share more code among PVC and PRC may highlight other areas which need to be addressed in subsequent PRs.

packages/react/src/KeybindingHint/key-names.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const accessibleKeyName = (key: string, isMacOS: boolean) =>
7575
printscreen: 'print screen',
7676
// We don't need to represent _every_ symbol - only those found on standard keyboards.
7777
// Other symbols should be avoided as keyboard shortcuts anyway.
78-
// These should match the colloqiual names of the keys, not the names of the symbols. Ie,
78+
// These should match the colloquial names of the keys, not the names of the symbols. Ie,
7979
// "Equals" not "Equal Sign", "Dash" not "Minus", "Period" not "Dot", etc.
8080
'`': 'backtick',
8181
'~': 'tilde',

packages/react/src/NavList/NavList.figma.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ figma.connect(
3737
example: ({actionList}) => <NavList.Item href="#">{actionList.text}</NavList.Item>,
3838
},
3939
)
40-
/** Collapsable item **/
40+
/** Collapsible item **/
4141
figma.connect(
4242
NavList.Item,
4343
'https://www.figma.com/design/GCvY3Qv8czRgZgvl1dG6lp/Primer-Web?node-id=16716-62586&m=dev',

packages/react/src/ThemeProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const getServerHandoff = (id: string) => {
4444
const serverData = document.getElementById(`__PRIMER_DATA_${id}__`)?.textContent
4545
if (serverData) return JSON.parse(serverData)
4646
} catch (_error) {
47-
// if document/element does not exist or JSON is invalid, supress error
47+
// if document/element does not exist or JSON is invalid, suppress error
4848
}
4949
return {}
5050
}

packages/react/src/VisuallyHidden/VisuallyHidden.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import classes from './VisuallyHidden.module.css'
55

66
/**
77
* Provides a component that implements the "visually hidden" technique. This is
8-
* analagous to the common `sr-only` class. Children that are rendered inside
8+
* analogous to the common `sr-only` class. Children that are rendered inside
99
* this component will not be visible but will be available to screen readers.
1010
*
1111
* Note: if this component, or a descendant, has focus then this component will

packages/react/src/internal/components/UnderlineTabbedInterface.module.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/* make space for the underline */
99
min-height: var(--control-xlarge-size, 48px);
1010

11-
/* using a box-shadow instead of a border to accomodate 'overflow-y: hidden' on UnderlinePanels */
11+
/* using a box-shadow instead of a border to accommodate 'overflow-y: hidden' on UnderlinePanels */
1212
/* stylelint-disable-next-line primer/box-shadow */
1313
box-shadow: inset 0 -1px var(--borderColor-muted);
1414

@@ -136,7 +136,8 @@
136136
.LoadingCounter {
137137
display: inline-block;
138138
width: 1.5rem;
139-
height: 1rem; /* 16px */
139+
height: 1rem;
140+
/* 16px */
140141
background-color: var(--bgColor-neutral-muted);
141142
border-color: var(--borderColor-default);
142143
/* stylelint-disable-next-line primer/borders */

0 commit comments

Comments
 (0)