Skip to content

Commit 02bb9ff

Browse files
committed
Docs(web): Remove unexisting Icon class
1 parent d15fd1b commit 02bb9ff

File tree

7 files changed

+35
-35
lines changed

7 files changed

+35
-35
lines changed

packages/web/src/scss/components/Alert/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Variants:
44

55
```html
66
<div class="Alert Alert--success mb-600" role="alert">
7-
<svg class="Icon" width="24" height="24">
7+
<svg width="24" height="24">
88
<use xlink:href="/icons/svg/sprite.svg#info" />
99
</svg>
1010
<div>We sent you an activation link to email <strong>spirit@lmc.eu</strong>.</div>
1111
</div>
1212

1313
<div class="Alert Alert--informative mb-600" role="alert">
14-
<svg class="Icon" width="24" height="24">
14+
<svg width="24" height="24">
1515
<use xlink:href="/icons/svg/sprite.svg#info" />
1616
</svg>
1717
<div>
@@ -22,28 +22,28 @@ Variants:
2222
</div>
2323

2424
<div class="Alert Alert--warning mb-600" role="alert">
25-
<svg class="Icon" width="24" height="24">
25+
<svg width="24" height="24">
2626
<use xlink:href="/icons/svg/sprite.svg#warning" />
2727
</svg>
2828
<div><strong>Warning!</strong> Data update failed due to missing internet connection</div>
2929
</div>
3030

3131
<div class="Alert Alert--danger mb-600" role="alert">
32-
<svg class="Icon" width="24" height="24">
32+
<svg width="24" height="24">
3333
<use xlink:href="/icons/svg/sprite.svg#close" />
3434
</svg>
3535
<div>Data update failed due to missing internet connection</div>
3636
</div>
3737

3838
<div class="Alert Alert--success Alert--center mb-600" role="alert">
39-
<svg class="Icon" width="24" height="24">
39+
<svg width="24" height="24">
4040
<use xlink:href="/icons/svg/sprite.svg#info" />
4141
</svg>
4242
<div>We sent you an activation link to email <strong>spirit@lmc.eu</strong>.</div>
4343
</div>
4444

4545
<div class="Alert Alert--informative Alert--center" role="alert">
46-
<svg class="Icon" width="24" height="24">
46+
<svg width="24" height="24">
4747
<use xlink:href="/icons/svg/sprite.svg#info" />
4848
</svg>
4949
<div>
@@ -54,14 +54,14 @@ Variants:
5454
</div>
5555

5656
<div class="Alert Alert--warning Alert--center mb-600" role="alert">
57-
<svg class="Icon" width="24" height="24">
57+
<svg width="24" height="24">
5858
<use xlink:href="/icons/svg/sprite.svg#warning" />
5959
</svg>
6060
<div><strong>Warning!</strong> Data update failed due to missing internet connection</div>
6161
</div>
6262

6363
<div class="Alert Alert--danger Alert--center mb-600" role="alert">
64-
<svg class="Icon" width="24" height="24">
64+
<svg width="24" height="24">
6565
<use xlink:href="/icons/svg/sprite.svg#close" />
6666
</svg>
6767
<div>Data update failed due to missing internet connection</div>

packages/web/src/scss/components/Alert/index.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ <h2 class="docs-Heading">Alert Colors</h2>
66
<div class="docs-Stack docs-Stack--stretch">
77

88
<div class="Alert Alert--success" role="alert">
9-
<svg class="Icon" width="24" height="24">
9+
<svg width="24" height="24">
1010
<use xlink:href="/icons/svg/sprite.svg#check-plain" />
1111
</svg>
1212
<div>We sent you an activation link to email <strong>spirit@lmc.eu</strong>. See <a href="./" class="link-underlined">FAQ</a> for more info.</div>
1313
</div>
1414

1515
<div class="Alert Alert--informative" role="alert">
16-
<svg class="Icon" width="24" height="24">
16+
<svg width="24" height="24">
1717
<use xlink:href="/icons/svg/sprite.svg#info" />
1818
</svg>
1919
<div>
@@ -24,14 +24,14 @@ <h2 class="docs-Heading">Alert Colors</h2>
2424
</div>
2525

2626
<div class="Alert Alert--warning" role="alert">
27-
<svg class="Icon" width="24" height="24">
27+
<svg width="24" height="24">
2828
<use xlink:href="/icons/svg/sprite.svg#warning" />
2929
</svg>
3030
<div><strong>Warning!</strong> Data update failed due to missing internet connection. See <a href="./" class="link-underlined">FAQ</a> for more info.</div>
3131
</div>
3232

3333
<div class="Alert Alert--danger" role="alert">
34-
<svg class="Icon" width="24" height="24">
34+
<svg width="24" height="24">
3535
<use xlink:href="/icons/svg/sprite.svg#warning" />
3636
</svg>
3737
<div>Data update failed due to missing internet connection. See <a href="./" class="link-underlined">FAQ</a> for more info.</div>
@@ -47,14 +47,14 @@ <h2 class="docs-Heading">Alert Centered</h2>
4747
<div class="docs-Stack docs-Stack--stretch">
4848

4949
<div class="Alert Alert--success Alert--center" role="alert">
50-
<svg class="Icon" width="24" height="24">
50+
<svg width="24" height="24">
5151
<use xlink:href="/icons/svg/sprite.svg#check-plain" />
5252
</svg>
5353
<div>We sent you an activation link to email <strong>spirit@lmc.eu</strong>. See <a href="./" class="link-underlined">FAQ</a> for more info.</div>
5454
</div>
5555

5656
<div class="Alert Alert--informative Alert--center" role="alert">
57-
<svg class="Icon" width="24" height="24">
57+
<svg width="24" height="24">
5858
<use xlink:href="/icons/svg/sprite.svg#info" />
5959
</svg>
6060
<div>
@@ -65,14 +65,14 @@ <h2 class="docs-Heading">Alert Centered</h2>
6565
</div>
6666

6767
<div class="Alert Alert--warning Alert--center" role="alert">
68-
<svg class="Icon" width="24" height="24">
68+
<svg width="24" height="24">
6969
<use xlink:href="/icons/svg/sprite.svg#warning" />
7070
</svg>
7171
<div><strong>Warning!</strong> Data update failed due to missing internet connection. See <a href="./" class="link-underlined">FAQ</a> for more info.</div>
7272
</div>
7373

7474
<div class="Alert Alert--danger Alert--center" role="alert">
75-
<svg class="Icon" width="24" height="24">
75+
<svg width="24" height="24">
7676
<use xlink:href="/icons/svg/sprite.svg#warning" />
7777
</svg>
7878
<div>Data update failed due to missing internet connection. See <a href="./" class="link-underlined">FAQ</a> for more info.</div>
@@ -88,14 +88,14 @@ <h2 class="docs-Heading">Alert Icons</h2>
8888
<div class="docs-Stack docs-Stack--stretch">
8989

9090
<div class="Alert Alert--success" role="alert">
91-
<svg class="Icon" width="24" height="24">
91+
<svg width="24" height="24">
9292
<use xlink:href="/icons/svg/sprite.svg#profile" />
9393
</svg>
9494
<div>We sent you an activation link to email <strong>spirit@lmc.eu</strong>. See <a href="./" class="link-underlined">FAQ</a> for more info.</div>
9595
</div>
9696

9797
<div class="Alert Alert--informative" role="alert">
98-
<svg class="Icon" width="24" height="24">
98+
<svg width="24" height="24">
9999
<use xlink:href="/icons/svg/sprite.svg#info" />
100100
</svg>
101101
<div>
@@ -106,14 +106,14 @@ <h2 class="docs-Heading">Alert Icons</h2>
106106
</div>
107107

108108
<div class="Alert Alert--warning" role="alert">
109-
<svg class="Icon" width="24" height="24">
109+
<svg width="24" height="24">
110110
<use xlink:href="/icons/svg/sprite.svg#warning" />
111111
</svg>
112112
<div><strong>Warning!</strong> Data update failed due to missing internet connection. See <a href="./" class="link-underlined">FAQ</a> for more info.</div>
113113
</div>
114114

115115
<div class="Alert Alert--danger" role="alert">
116-
<svg class="Icon" width="24" height="24">
116+
<svg width="24" height="24">
117117
<use xlink:href="/icons/svg/sprite.svg#close" />
118118
</svg>
119119
<div>Data update failed due to missing internet connection. See <a href="./" class="link-underlined">FAQ</a> for more info.</div>

packages/web/src/scss/components/Breadcrumbs/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@ <h2 class="docs-Heading">Default</h2>
66
<ol>
77
<li class="d-none d-tablet-flex">
88
<a href="#rootUrl" class="link-primary link-underlined">Root</a>
9-
<svg class="Icon" width="24" height="24">
9+
<svg width="24" height="24">
1010
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
1111
</svg>
1212
</li>
1313
<li class="d-none d-tablet-flex">
1414
<a href="#categoryUrl" class="link-primary link-underlined">Category</a>
15-
<svg class="Icon" width="24" height="24">
15+
<svg width="24" height="24">
1616
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
1717
</svg>
1818
</li>
1919
<li class="d-tablet-none">
20-
<svg class="Icon" width="24" height="24">
20+
<svg width="24" height="24">
2121
<use xlink:href="/icons/svg/sprite.svg#chevron-left" />
2222
</svg>
2323
<a href="#subcategoryUrl" class="link-primary link-underlined">Back</a>
2424
</li>
2525
<li class="d-none d-tablet-flex">
2626
<a href="#subcategoryUrl" class="link-primary link-underlined">Subcategory</a>
27-
<svg class="Icon" width="24" height="24">
27+
<svg width="24" height="24">
2828
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
2929
</svg>
3030
</li>
@@ -45,25 +45,25 @@ <h2 class="docs-Heading">Custom</h2>
4545
<ol>
4646
<li class="d-none d-tablet-flex">
4747
<a href="#rootUrl" class="link-primary link-underlined">Root</a>
48-
<svg class="Icon" width="24" height="24">
48+
<svg width="24" height="24">
4949
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
5050
</svg>
5151
</li>
5252
<li class="d-none d-tablet-flex">
5353
<a href="#categoryUrl" class="link-primary link-underlined">Category</a>
54-
<svg class="Icon" width="24" height="24">
54+
<svg width="24" height="24">
5555
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
5656
</svg>
5757
</li>
5858
<li class="d-tablet-none">
59-
<svg class="Icon" width="24" height="24">
59+
<svg width="24" height="24">
6060
<use xlink:href="/icons/svg/sprite.svg#chevron-left" />
6161
</svg>
6262
<a href="#subcategoryUrl" class="link-primary link-underlined">Back</a>
6363
</li>
6464
<li class="d-none d-tablet-flex">
6565
<a href="#subcategoryUrl" class="link-primary link-underlined">Subcategory</a>
66-
<svg class="Icon" width="24" height="24">
66+
<svg width="24" height="24">
6767
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
6868
</svg>
6969
</li>

packages/web/src/scss/components/Modal/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ModalHeader contains the title of the dialog and the close button.
113113
aria-controls="example_1"
114114
aria-expanded="false"
115115
>
116-
<svg class="Icon" width="24" height="24" aria-hidden="true">
116+
<svg width="24" height="24" aria-hidden="true">
117117
<use xlink:href="/icons/svg/sprite.svg#close" />
118118
</svg>
119119
<span class="accessibility-hidden">Close</span>
@@ -283,7 +283,7 @@ When you put it all together:
283283
aria-controls="example_1"
284284
aria-expanded="false"
285285
>
286-
<svg class="Icon" width="24" height="24" aria-hidden="true">
286+
<svg width="24" height="24" aria-hidden="true">
287287
<use xlink:href="/icons/svg/sprite.svg#close" />
288288
</svg>
289289
<span class="accessibility-hidden">Close</span>

packages/web/src/scss/components/Modal/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ <h2 id="example_scroll_view_title" class="ModalHeader__title">
439439
aria-controls="example_scroll_view"
440440
aria-expanded="false"
441441
>
442-
<svg class="Icon" width="24" height="24" aria-hidden="true">
442+
<svg width="24" height="24" aria-hidden="true">
443443
<use xlink:href="/icons/svg/sprite.svg#close" />
444444
</svg>
445445
<span class="accessibility-hidden">Close</span>
@@ -533,7 +533,7 @@ <h2 id="example_scroll_view_title" class="ModalHeader__title">
533533

534534
</dialog>
535535
<!-- Modal: end -->
536-
536+
537537
</div>
538538

539539
</section>

packages/web/src/scss/components/Tooltip/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Tooltip can be made dismissible by following these steps:
151151
aria-controls="my-dismissible-tooltip"
152152
aria-expanded="true"
153153
>
154-
<svg class="Icon" width="24" height="24" aria-hidden="true">
154+
<svg width="24" height="24" aria-hidden="true">
155155
<use xlink:href="/icons/svg/sprite.svg#close" />
156156
</svg>
157157
<span class="accessibility-hidden">Close</span>

packages/web/src/scss/components/Tooltip/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ <h2 class="docs-Heading">Dismissible Tooltip</h2>
128128
aria-controls="my-dismissible-tooltip"
129129
aria-expanded="true"
130130
>
131-
<svg class="Icon" width="24" height="24" aria-hidden="true">
131+
<svg width="24" height="24" aria-hidden="true">
132132
<use xlink:href="/icons/svg/sprite.svg#close" />
133133
</svg>
134134
<span class="accessibility-hidden">Close</span>
@@ -164,7 +164,7 @@ <h2 class="docs-Heading">Dismissible Tooltip via JS API</h2>
164164
aria-controls="my-dismissible-tooltip2"
165165
aria-expanded="true"
166166
>
167-
<svg class="Icon" width="24" height="24" aria-hidden="true">
167+
<svg width="24" height="24" aria-hidden="true">
168168
<use xlink:href="/icons/svg/sprite.svg#close" />
169169
</svg>
170170
<span class="accessibility-hidden">Close</span>

0 commit comments

Comments
 (0)