Skip to content

Commit 9fce145

Browse files
authored
docs: minor fixes in notification showcases
- removed closeable button from all examples except the one for the closeable property/section - removed the timestamp from the example of the variant property/section - fixed the typo "Closable" to "Closeable" in all three examples sections at the end - added closeable property for all "Closeable" examples in all three examples sections at the end
1 parent 4aafba8 commit 9fce145

File tree

1 file changed

+39
-43
lines changed

1 file changed

+39
-43
lines changed

showcases/shared/notification.json

Lines changed: 39 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"style": { "width": "300px" },
99
"props": {
1010
"headline": "Headline",
11-
"icon": "information_circle",
12-
"closeable": true
11+
"icon": "information_circle"
1312
}
1413
},
1514
{
@@ -18,8 +17,7 @@
1817
"style": { "width": "300px" },
1918
"props": {
2019
"headline": "Headline",
21-
"icon": "information_circle",
22-
"closeable": true
20+
"icon": "information_circle"
2321
}
2422
},
2523
{
@@ -28,8 +26,7 @@
2826
"style": { "width": "300px" },
2927
"props": {
3028
"headline": "Headline",
31-
"icon": "information_circle",
32-
"closeable": true
29+
"icon": "information_circle"
3330
}
3431
}
3532
]
@@ -43,8 +40,7 @@
4340
"props": {
4441
"variant": "docked",
4542
"headline": "Headline",
46-
"icon": "information_circle",
47-
"closeable": true
43+
"icon": "information_circle"
4844
}
4945
},
5046
{
@@ -53,8 +49,7 @@
5349
"props": {
5450
"variant": "standalone",
5551
"headline": "Headline",
56-
"icon": "information_circle",
57-
"closeable": true
52+
"icon": "information_circle"
5853
}
5954
},
6055
{
@@ -63,9 +58,7 @@
6358
"props": {
6459
"variant": "overlay",
6560
"headline": "Headline",
66-
"icon": "information_circle",
67-
"closeable": true,
68-
"timestamp": "10 min ago"
61+
"icon": "information_circle"
6962
}
7063
}
7164
]
@@ -77,53 +70,47 @@
7770
"name": "(Default) Adaptive",
7871
"style": { "width": "300px" },
7972
"props": {
80-
"headline": "Headline",
81-
"closeable": true
73+
"headline": "Headline"
8274
}
8375
},
8476
{
8577
"name": "Neutral",
8678
"style": { "width": "300px" },
8779
"props": {
8880
"semantic": "neutral",
89-
"headline": "Headline",
90-
"closeable": true
81+
"headline": "Headline"
9182
}
9283
},
9384
{
9485
"name": "Critical",
9586
"style": { "width": "300px" },
9687
"props": {
9788
"semantic": "critical",
98-
"headline": "Headline",
99-
"closeable": true
89+
"headline": "Headline"
10090
}
10191
},
10292
{
10393
"name": "Informational",
10494
"style": { "width": "300px" },
10595
"props": {
10696
"semantic": "informational",
107-
"headline": "Headline",
108-
"closeable": true
97+
"headline": "Headline"
10998
}
11099
},
111100
{
112101
"name": "Successful",
113102
"style": { "width": "300px" },
114103
"props": {
115104
"semantic": "successful",
116-
"headline": "Headline",
117-
"closeable": true
105+
"headline": "Headline"
118106
}
119107
},
120108
{
121109
"name": "Warning",
122110
"style": { "width": "300px" },
123111
"props": {
124112
"semantic": "warning",
125-
"headline": "Headline",
126-
"closeable": true
113+
"headline": "Headline"
127114
}
128115
}
129116
]
@@ -337,12 +324,13 @@
337324
]
338325
},
339326
{
340-
"name": "Text & Headline & Textlink Inline & Closable",
327+
"name": "Text & Headline & Textlink Inline & Closeable",
341328
"style": { "width": "300px" },
342329
"props": {
343330
"headline": "Headline",
344331
"link": true,
345-
"linkVariant": "inline"
332+
"linkVariant": "inline",
333+
"closeable": true
346334
},
347335
"children": [
348336
{
@@ -356,13 +344,14 @@
356344
]
357345
},
358346
{
359-
"name": "Text & Icon & Headline & Textlink Inline & Closable",
347+
"name": "Text & Icon & Headline & Textlink Inline & Closeable",
360348
"style": { "width": "300px" },
361349
"props": {
362350
"icon": "information_circle",
363351
"headline": "Headline",
364352
"link": true,
365-
"linkVariant": "inline"
353+
"linkVariant": "inline",
354+
"closeable": true
366355
},
367356
"children": [
368357
{
@@ -468,13 +457,14 @@
468457
]
469458
},
470459
{
471-
"name": "Text & Headline & Textlink Inline & Closable",
460+
"name": "Text & Headline & Textlink Inline & Closeable",
472461
"style": { "width": "300px" },
473462
"props": {
474463
"headline": "Headline",
475464
"link": true,
476465
"linkVariant": "inline",
477-
"variant": "standalone"
466+
"variant": "standalone",
467+
"closeable": true
478468
},
479469
"children": [
480470
{
@@ -488,14 +478,15 @@
488478
]
489479
},
490480
{
491-
"name": "Text & Icon & Headline & Textlink Inline & Closable",
481+
"name": "Text & Icon & Headline & Textlink Inline & Closeable",
492482
"style": { "width": "300px" },
493483
"props": {
494484
"icon": "information_circle",
495485
"headline": "Headline",
496486
"link": true,
497487
"linkVariant": "inline",
498-
"variant": "standalone"
488+
"variant": "standalone",
489+
"closeable": true
499490
},
500491
"children": [
501492
{
@@ -591,22 +582,24 @@
591582
]
592583
},
593584
{
594-
"name": "Text & Headline & Textlink Inline & Closable",
585+
"name": "Text & Headline & Textlink Inline & Closeable",
595586
"style": { "width": "300px" },
596587
"props": {
597588
"headline": "Headline",
598589
"link": true,
599-
"variant": "overlay"
590+
"variant": "overlay",
591+
"closeable": true
600592
}
601593
},
602594
{
603-
"name": "Text & Icon & Headline & Textlink Inline & Closable",
595+
"name": "Text & Icon & Headline & Textlink Inline & Closeable",
604596
"style": { "width": "300px" },
605597
"props": {
606598
"icon": "information_circle",
607599
"headline": "Headline",
608600
"link": true,
609-
"variant": "overlay"
601+
"variant": "overlay",
602+
"closeable": true
610603
}
611604
},
612605
{
@@ -619,30 +612,33 @@
619612
}
620613
},
621614
{
622-
"name": "Text & Timed & Closable",
615+
"name": "Text & Timed & Closeable",
623616
"style": { "width": "300px" },
624617
"props": {
625618
"timestamp": "10 min ago",
626-
"variant": "overlay"
619+
"variant": "overlay",
620+
"closeable": true
627621
}
628622
},
629623
{
630-
"name": "Text & Headline & Timed & Closable",
624+
"name": "Text & Headline & Timed & Closeable",
631625
"style": { "width": "300px" },
632626
"props": {
633627
"headline": "Headline",
634628
"timestamp": "10 min ago",
635-
"variant": "overlay"
629+
"variant": "overlay",
630+
"closeable": true
636631
}
637632
},
638633
{
639-
"name": "Text & Icon & Headline & Timed & Closable",
634+
"name": "Text & Icon & Headline & Timed & Closeable",
640635
"style": { "width": "300px" },
641636
"props": {
642637
"icon": "information_circle",
643638
"headline": "Headline",
644639
"timestamp": "10 min ago",
645-
"variant": "overlay"
640+
"variant": "overlay",
641+
"closeable": true
646642
}
647643
}
648644
]

0 commit comments

Comments
 (0)