Skip to content

Commit 4f4ddae

Browse files
authored
Make links to the style guide point to valid URLs (#2102)
1 parent 11c032e commit 4f4ddae

File tree

72 files changed

+434
-434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+434
-434
lines changed

src/components/AccountConnection/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,6 @@ class AccountConnectionExample extends React.Component {
173173

174174
<!-- content-for: web -->
175175

176-
See accessibility guidance for the [setting toggle component](/components/actions/setting-toggle) to turn connections on and off.
176+
See accessibility guidance for the [setting toggle component](https://polaris.shopify.com/components/actions/setting-toggle) to turn connections on and off.
177177

178178
<!-- /content-for-->

src/components/ActionList/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ keywords:
1515

1616
# Action list
1717

18-
Action lists render a list of actions or selectable options. This component is usually placed inside a [popover container](/components/overlays/popover) to create a dropdown menu or to let merchants select from a list of options.
18+
Action lists render a list of actions or selectable options. This component is usually placed inside a [popover container](https://polaris.shopify.com/components/overlays/popover) to create a dropdown menu or to let merchants select from a list of options.
1919

2020
---
2121

@@ -324,8 +324,8 @@ class ActionListExample extends React.Component {
324324

325325
## Related components
326326

327-
- To combine more than one button in a single layout, [use the button group component](/components/actions/button-group)
328-
- To display a list of related content, [use the list component](/components/lists-and-tables/list)
327+
- To combine more than one button in a single layout, [use the button group component](https://polaris.shopify.com/components/actions/button-group)
328+
- To display a list of related content, [use the list component](https://polaris.shopify.com/components/lists-and-tables/list)
329329

330330
---
331331

@@ -351,7 +351,7 @@ See Apple’s Human Interface Guidelines and API documentation about accessibili
351351

352352
<!-- content-for: web -->
353353

354-
Items in an action list are organized as list items (`<li>`) in an unordered list (`<ul>`) and are conveyed as a group of related elements to assistive technology users. Each item is implemented as a [button](/components/actions/button).
354+
Items in an action list are organized as list items (`<li>`) in an unordered list (`<ul>`) and are conveyed as a group of related elements to assistive technology users. Each item is implemented as a [button](https://polaris.shopify.com/components/actions/button).
355355

356356
### Keyboard support
357357

src/components/AppProvider/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ AppProvider works by default without any additional options passed to it.
9292

9393
### With i18n
9494

95-
With an `i18n`, `AppProvider` will provide these translations to polaris components. See [using translations](/components/structure/app-provider#using-translations)
95+
With an `i18n`, `AppProvider` will provide these translations to polaris components. See [using translations](https://polaris.shopify.com/components/structure/app-provider#using-translations)
9696

9797
```jsx
9898
<AppProvider
@@ -198,7 +198,7 @@ class ProviderLinkExample extends React.Component {
198198

199199
### With theme
200200

201-
With a `theme`, the app provider component will set light, dark, and text colors for the [top bar](/components/structure/top-bar) component when given a `background` color, as well as a logo for the top bar and [contextual save bar](/components/forms/contextual-save-bar) components.
201+
With a `theme`, the app provider component will set light, dark, and text colors for the [top bar](https://polaris.shopify.com/components/structure/top-bar) component when given a `background` color, as well as a logo for the top bar and [contextual save bar](https://polaris.shopify.com/components/forms/contextual-save-bar) components.
202202

203203
```jsx
204204
class ProviderThemeExample extends React.Component {
@@ -314,7 +314,7 @@ class ProviderThemeExample extends React.Component {
314314

315315
### With theme using all theme keys
316316

317-
Provide specific keys and corresponding colors to the [top bar](/components/structure/top-bar) component theme for finer control. When giving more than just the `background`, providing all keys is necessary to prevent falling back to default colors.
317+
Provide specific keys and corresponding colors to the [top bar](https://polaris.shopify.com/components/structure/top-bar) component theme for finer control. When giving more than just the `background`, providing all keys is necessary to prevent falling back to default colors.
318318

319319
```jsx
320320
class ProviderThemeExample extends React.Component {

src/components/Autocomplete/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The autocomplete component should:
2626

2727
## Content guidelines
2828

29-
The input field for autocomplete should follow the [content guidelines](/components/forms/text-field) for text fields.
29+
The input field for autocomplete should follow the [content guidelines](https://polaris.shopify.com/components/forms/text-field) for text fields.
3030

3131
---
3232

@@ -520,8 +520,8 @@ class AutocompleteExample extends React.Component {
520520

521521
## Related components
522522

523-
- For an input field without suggested options, [use the text field component](/components/forms/text-field)
524-
- For a list of selectable options not linked to an input field, [use the option list component](/components/lists-and-tables/option-list)
523+
- For an input field without suggested options, [use the text field component](https://polaris.shopify.com/components/forms/text-field)
524+
- For a list of selectable options not linked to an input field, [use the option list component](https://polaris.shopify.com/components/lists-and-tables/option-list)
525525

526526
---
527527

src/components/Avatar/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Avatars should be one of 3 sizes:
4444

4545
## Content guidelines
4646

47-
Any time you use an image to communicate a concept on Shopify, it’s important to use descriptive [alt text](/content/alternative-text). Doing this is important for [accessibility](/patterns-and-guides/accessibility) because it allows screen readers to describe what’s in the image to people who may not be able to see it.
47+
Any time you use an image to communicate a concept on Shopify, it’s important to use descriptive [alt text](https://polaris.shopify.com/content/alternative-text). Doing this is important for [accessibility](https://polaris.shopify.com/patterns-and-guides/accessibility) because it allows screen readers to describe what’s in the image to people who may not be able to see it.
4848

4949
For avatars, we recommend using a format that describes what will show in the
5050
image:
@@ -67,21 +67,21 @@ Use to present an avatar for a merchant, customer, or business.
6767

6868
<!-- content-for: android -->
6969

70-
![Default avatar](/public_images/components/Avatar/android/[email protected])
70+
![Default avatar](https://polaris.shopify.com/public_images/components/Avatar/android/[email protected])
7171

7272
<!-- /content-for -->
7373

7474
<!-- content-for: ios -->
7575

76-
![Default avatar](/public_images/components/Avatar/ios/[email protected])
76+
![Default avatar](https://polaris.shopify.com/public_images/components/Avatar/ios/[email protected])
7777

7878
<!-- /content-for -->
7979

8080
---
8181

8282
## Related components
8383

84-
- To show a thumbnail for an object rather than a person or business, [use the thumbnail component](/components/images-and-icons/thumbnail)
84+
- To show a thumbnail for an object rather than a person or business, [use the thumbnail component](https://polaris.shopify.com/components/images-and-icons/thumbnail)
8585

8686
---
8787

src/components/Badge/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ Use to give a non-critical status update on a piece of information or action.
8888

8989
<!-- content-for: android -->
9090

91-
![Default badge with gray background](/public_images/components/Badge/android/[email protected])
91+
![Default badge with gray background](https://polaris.shopify.com/public_images/components/Badge/android/[email protected])
9292

9393
<!-- /content-for -->
9494

9595
<!-- content-for: ios -->
9696

97-
![Default badge with gray background](/public_images/components/Badge/ios/[email protected])
97+
![Default badge with gray background](https://polaris.shopify.com/public_images/components/Badge/ios/[email protected])
9898

9999
<!-- /content-for -->
100100

@@ -108,13 +108,13 @@ Use to call out an object or action as having an important attribute. For exampl
108108

109109
<!-- content-for: android -->
110110

111-
![Informational badge with blue background](/public_images/components/Badge/android/[email protected])
111+
![Informational badge with blue background](https://polaris.shopify.com/public_images/components/Badge/android/[email protected])
112112

113113
<!-- /content-for -->
114114

115115
<!-- content-for: ios -->
116116

117-
![Informational badge with blue background](/public_images/components/Badge/ios/[email protected])
117+
![Informational badge with blue background](https://polaris.shopify.com/public_images/components/Badge/ios/[email protected])
118118

119119
<!-- /content-for -->
120120

@@ -128,13 +128,13 @@ Use to indicate a successful, completed, or desirable state when it’s importan
128128

129129
<!-- content-for: android -->
130130

131-
![Success badge with green background](/public_images/components/Badge/android/[email protected])
131+
![Success badge with green background](https://polaris.shopify.com/public_images/components/Badge/android/[email protected])
132132

133133
<!-- /content-for -->
134134

135135
<!-- content-for: ios -->
136136

137-
![Success badge with green background](/public_images/components/Badge/ios/[email protected])
137+
![Success badge with green background](https://polaris.shopify.com/public_images/components/Badge/ios/[email protected])
138138

139139
<!-- /content-for -->
140140

@@ -148,13 +148,13 @@ Use when something requires merchants’ attention but the issue isn’t critica
148148

149149
<!-- content-for: android -->
150150

151-
![Attention badge with yellow background](/public_images/components/Badge/android/[email protected])
151+
![Attention badge with yellow background](https://polaris.shopify.com/public_images/components/Badge/android/[email protected])
152152

153153
<!-- /content-for -->
154154

155155
<!-- content-for: ios -->
156156

157-
![Attention badge with yellow background](/public_images/components/Badge/ios/[email protected])
157+
![Attention badge with yellow background](https://polaris.shopify.com/public_images/components/Badge/ios/[email protected])
158158

159159
<!-- /content-for -->
160160

@@ -170,13 +170,13 @@ Keep in mind that seeing this badge can feel stressful for merchants so it shoul
170170

171171
<!-- content-for: android -->
172172

173-
![Warning badge with orange background](/public_images/components/Badge/android/[email protected])
173+
![Warning badge with orange background](https://polaris.shopify.com/public_images/components/Badge/android/[email protected])
174174

175175
<!-- /content-for -->
176176

177177
<!-- content-for: ios -->
178178

179-
![Warning badge with orange background](/public_images/components/Badge/ios/[email protected])
179+
![Warning badge with orange background](https://polaris.shopify.com/public_images/components/Badge/ios/[email protected])
180180

181181
<!-- /content-for -->
182182

@@ -190,13 +190,13 @@ Keep in mind that seeing this badge can feel stressful for merchants so it shoul
190190

191191
<!-- content-for: android -->
192192

193-
![Critical badge with red background](/public_images/components/Badge/android/[email protected])
193+
![Critical badge with red background](https://polaris.shopify.com/public_images/components/Badge/android/[email protected])
194194

195195
<!-- /content-for -->
196196

197197
<!-- content-for: ios -->
198198

199-
![Critical badge with red background](/public_images/components/Badge/ios/[email protected])
199+
![Critical badge with red background](https://polaris.shopify.com/public_images/components/Badge/ios/[email protected])
200200

201201
<!-- /content-for -->
202202

@@ -210,13 +210,13 @@ Use to indicate when a given task has not yet been completed. For example, when
210210

211211
<!-- content-for: android -->
212212

213-
![Incomplete badge. Default badge with incomplete status](/public_images/components/Badge/android/[email protected])
213+
![Incomplete badge. Default badge with incomplete status](https://polaris.shopify.com/public_images/components/Badge/android/[email protected])
214214

215215
<!-- /content-for -->
216216

217217
<!-- content-for: ios -->
218218

219-
![Incomplete badge. Default badge with incomplete status](/public_images/components/Badge/ios/[email protected])
219+
![Incomplete badge. Default badge with incomplete status](https://polaris.shopify.com/public_images/components/Badge/ios/[email protected])
220220

221221
<!-- /content-for -->
222222

@@ -230,13 +230,13 @@ Use to indicate when a given task has been partially completed. For example, whe
230230

231231
<!-- content-for: android -->
232232

233-
![Partially complete badge. Default badge with partially complete status](/public_images/components/Badge/android/[email protected])
233+
![Partially complete badge. Default badge with partially complete status](https://polaris.shopify.com/public_images/components/Badge/android/[email protected])
234234

235235
<!-- /content-for -->
236236

237237
<!-- content-for: ios -->
238238

239-
![Partially complete badge. Default badge with partially complete status](/public_images/components/Badge/ios/[email protected])
239+
![Partially complete badge. Default badge with partially complete status](https://polaris.shopify.com/public_images/components/Badge/ios/[email protected])
240240

241241
<!-- /content-for -->
242242

@@ -250,21 +250,21 @@ Use to indicate when a given task has been completed. For example, when merchant
250250

251251
<!-- content-for: android -->
252252

253-
![Complete badge. Default badge with complete status](/public_images/components/Badge/android/[email protected])
253+
![Complete badge. Default badge with complete status](https://polaris.shopify.com/public_images/components/Badge/android/[email protected])
254254

255255
<!-- /content-for -->
256256

257257
<!-- content-for: ios -->
258258

259-
![Complete badge. Default badge with complete status](/public_images/components/Badge/ios/[email protected])
259+
![Complete badge. Default badge with complete status](https://polaris.shopify.com/public_images/components/Badge/ios/[email protected])
260260

261261
<!-- /content-for -->
262262

263263
---
264264

265265
## Related components
266266

267-
- To represent an interactive list of categories provided by merchants, [use tags](/components/forms/tag)
267+
- To represent an interactive list of categories provided by merchants, [use tags](https://polaris.shopify.com/components/forms/tag)
268268

269269
---
270270

@@ -290,6 +290,6 @@ See Apple’s Human Interface Guidelines and API documentation about accessibili
290290

291291
<!-- content-for: web -->
292292

293-
Badges that convey information with icons or color include text provided by the [visually hidden component](/components/titles-and-text/visually-hidden#navigation). This text is read out by assistive technologies like screen readers so that merchants with vision issues can access the meaning of the badge in context.
293+
Badges that convey information with icons or color include text provided by the [visually hidden component](https://polaris.shopify.com/components/titles-and-text/visually-hidden#navigation). This text is read out by assistive technologies like screen readers so that merchants with vision issues can access the meaning of the badge in context.
294294

295295
<!-- /content-for -->

0 commit comments

Comments
 (0)