Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/afraid-cars-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@shopify/polaris': patch
'polaris.shopify.com': patch
---

Fixed typos and `editOnGithubUrl` in docs
2 changes: 1 addition & 1 deletion polaris-react/src/components/RadioButton/RadioButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {ChoiceBleedProps} from '../Choice';
import styles from './RadioButton.scss';

export interface RadioButtonProps extends ChoiceBleedProps {
/** Indicates the ID of the element that describes the the radio button */
/** Indicates the ID of the element that describes the radio button */
ariaDescribedBy?: string;
/** Label for the radio button */
label: React.ReactNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {mount} from 'tests/utilities';
import {isInputFocused} from '../is-input-focused';

describe('isInputFocused', () => {
it('returns true when the the focused element is not input, textarea, select or has the attribute contenteditable', () => {
it('returns true when the focused element is not input, textarea, select or has the attribute contenteditable', () => {
const markup = mount(<button />);
markup.domNode!.focus();
expect(isInputFocused()).toBe(false);
Expand Down
2 changes: 1 addition & 1 deletion polaris.shopify.com/src/components/Page/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function Layout({
githubIssueSubject,
)}&amp;labels=polaris.shopify.com`;
const editOnGithubUrl = editPageLinkPath
? `https://github.com/Shopify/polaris/tree/main${editPageLinkPath}`
? `https://github.com/Shopify/polaris/tree/main/${editPageLinkPath}`
: '';

return (
Expand Down