Skip to content

Commit 6446663

Browse files
committed
docs: fix texts
1 parent 2a6fc02 commit 6446663

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

dev/blog/2023-06-08.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,24 @@ Die wichtigsten Änderungen sind:
1414

1515
- Verbesserungen
1616
- Refactorings
17-
- Vereinheitlichung von Komponenten-Eigenschaften (siehe <KolLink _href="/docs/concepts/properties" _label="Eigenschaften" />-Konzept)
17+
- Vereinheitlichung von Properties der Komponenten (siehe <KolLink _href="/docs/concepts/properties" _label="Eigenschaften" />-Konzept)
1818
- `_alignment` vom Popover in `_align` umbenannt
1919
- Typ `Alignment` wurde intern in `Align` umbenannt
2020
- `_label` wird in Version 2 folgende Properties ersetzen:
2121
- `_aria-label` von Breadcrumb, Button, ButtonLink, Icon, Link, LinkButton, Modal, Nav, SkipNav, SplitButton, Symbol und Tabs
22-
- ~~`_caption` von Quote und Table~~
22+
- `_caption` von Quote und Table
2323
- `_heading` von Accordion, Alert, Card und Toast
2424
- `_headline` von Card
25-
- `_quote` von Quote
25+
- `_quote` von Quote (?)
2626
- `_summary` von Details
2727
- `_symbol` von Symbol
2828
- `_title` von Abbr
29+
- Properties, die zukünftig nicht mehr benötigt werden
30+
- `_has-footer` von Card
31+
- `_height_` von Select
32+
- `_icon-align` ...
33+
- `_part` ...
34+
- `_show-dropdown` ...
2935
- Expert-Slot
3036
- Alle Inputs-, Select- und Textarea-Komponenten haben nun einen Expert-Slot und das `_label` ist Pflicht. Wenn das `_label=""` leer bleibt, dann wird das Label über den Slot, wie gewohnt angezeigt.
3137
- Theming

dev/src/components/Properties.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ const DEPRECATED = new Map<string, Set<string>>();
5858
DEPRECATED.set('_align', new Set(['_alignment']));
5959
DEPRECATED.set('_hide-button', new Set(['_has-buttons']));
6060
DEPRECATED.set('_hide-label', new Set(['_icon-only']));
61-
DEPRECATED.set('_label', new Set(['_aria-label', '_caption', '_heading', '_headline', '_quote', '_summary', '_symbol', '_title']));
61+
DEPRECATED.set('_label', new Set(['_aria-label', '_caption', '_heading', '_headline', '_quote (?)', '_summary', '_symbol', '_title']));
6262
// DEPRECATED.set('_list', new Set(['_links']));
6363
DEPRECATED.set('_variant', new Set(['_type<sup>*</sup>']));
64-
DEPRECATED.set('', new Set(['_has-buttons', '_has-footer', '_height', '_icon-align', '_part', '_show-dropdown']));
64+
DEPRECATED.set('', new Set(['_has-footer', '_height', '_icon-align', '_part', '_show-dropdown']));
6565

6666
export const Properties: FC = () => {
6767
return (
@@ -115,12 +115,12 @@ export const Properties: FC = () => {
115115
</tbody>
116116
</table>
117117
<h2>Deprecated</h2>
118-
<p>Die in der folgenden Tabelle aufgelisteten Eigenschaften lösen zahlreiche veraltete Eigenschaften (-{Math.round((16 / PROPS.size) * 100)}%) ab.</p>
118+
<p>Die in der folgenden Tabelle aufgelisteten Eigenschaften lösen zahlreiche veraltete Eigenschaften (-{Math.round((15 / PROPS.size) * 100)}%) ab.</p>
119119
<table>
120120
<thead>
121121
<tr>
122122
<th>New Property</th>
123-
<th>Deprecates Properties</th>
123+
<th>Deprecated Properties</th>
124124
</tr>
125125
</thead>
126126
<tbody>

0 commit comments

Comments
 (0)