Skip to content

Commit e05d342

Browse files
authored
TextStyleProps: update fontVariant possible enums list (#4702)
1 parent 7d72205 commit e05d342

File tree

5 files changed

+80
-15
lines changed

5 files changed

+80
-15
lines changed

website/versioned_docs/version-0.77/text-style-props.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -819,9 +819,22 @@ Set to `false` to remove extra font padding intended to make space for certain a
819819

820820
Allows you to set all the font variants for a font. Can be set by using an array of enums or a space-separated string e.g. `'small-caps common-ligatures'`.
821821

822-
| Type | Default |
823-
| -------------------------------------------------------------------------------------------------------------------- | ------- |
824-
| array of enum(`'small-caps'`, `'oldstyle-nums'`, `'lining-nums'`, `'tabular-nums'`, `'proportional-nums'`) or string | `[]` |
822+
<table>
823+
<thead>
824+
<tr>
825+
<th colspan="5">Type</th>
826+
<th>Default</th>
827+
</tr>
828+
</thead>
829+
<tbody>
830+
<tr>
831+
<td colspan="5">
832+
array of enum(`'common-ligatures'`, `'contextual'`, `'discretionary-ligatures'`, `'historical-ligatures'`, `'lining-nums'`, `'no-common-ligatures'`, `'no-contextual'`, `'no-discretionary-ligatures'`, `'no-historical-ligatures'`, `'oldstyle-nums'`, `'proportional-nums'`, `'small-caps'`, `'stylistic-eight'`, `'stylistic-eighteen'`, `'stylistic-eleven'`, `'stylistic-fifteen'`, `'stylistic-five'`, `'stylistic-four'`, `'stylistic-fourteen'`, `'stylistic-nine'`, `'stylistic-nineteen'`, `'stylistic-one'`, `'stylistic-seven'`, `'stylistic-seventeen'`, `'stylistic-six'`, `'stylistic-sixteen'`, `'stylistic-ten'`, `'stylistic-thirteen'`, `'stylistic-three'`, `'stylistic-twelve'`, `'stylistic-twenty'`, `'stylistic-two'`, `'tabular-nums'`) or string
833+
</td>
834+
<td>`[]`</td>
835+
</tr>
836+
</tbody>
837+
</table>
825838

826839
---
827840

website/versioned_docs/version-0.78/text-style-props.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -819,9 +819,22 @@ Set to `false` to remove extra font padding intended to make space for certain a
819819

820820
Allows you to set all the font variants for a font. Can be set by using an array of enums or a space-separated string e.g. `'small-caps common-ligatures'`.
821821

822-
| Type | Default |
823-
| -------------------------------------------------------------------------------------------------------------------- | ------- |
824-
| array of enum(`'small-caps'`, `'oldstyle-nums'`, `'lining-nums'`, `'tabular-nums'`, `'proportional-nums'`) or string | `[]` |
822+
<table>
823+
<thead>
824+
<tr>
825+
<th colspan="5">Type</th>
826+
<th>Default</th>
827+
</tr>
828+
</thead>
829+
<tbody>
830+
<tr>
831+
<td colspan="5">
832+
array of enum(`'common-ligatures'`, `'contextual'`, `'discretionary-ligatures'`, `'historical-ligatures'`, `'lining-nums'`, `'no-common-ligatures'`, `'no-contextual'`, `'no-discretionary-ligatures'`, `'no-historical-ligatures'`, `'oldstyle-nums'`, `'proportional-nums'`, `'small-caps'`, `'stylistic-eight'`, `'stylistic-eighteen'`, `'stylistic-eleven'`, `'stylistic-fifteen'`, `'stylistic-five'`, `'stylistic-four'`, `'stylistic-fourteen'`, `'stylistic-nine'`, `'stylistic-nineteen'`, `'stylistic-one'`, `'stylistic-seven'`, `'stylistic-seventeen'`, `'stylistic-six'`, `'stylistic-sixteen'`, `'stylistic-ten'`, `'stylistic-thirteen'`, `'stylistic-three'`, `'stylistic-twelve'`, `'stylistic-twenty'`, `'stylistic-two'`, `'tabular-nums'`) or string
833+
</td>
834+
<td>`[]`</td>
835+
</tr>
836+
</tbody>
837+
</table>
825838

826839
---
827840

website/versioned_docs/version-0.79/text-style-props.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -819,9 +819,22 @@ Set to `false` to remove extra font padding intended to make space for certain a
819819

820820
Allows you to set all the font variants for a font. Can be set by using an array of enums or a space-separated string e.g. `'small-caps common-ligatures'`.
821821

822-
| Type | Default |
823-
| -------------------------------------------------------------------------------------------------------------------- | ------- |
824-
| array of enum(`'small-caps'`, `'oldstyle-nums'`, `'lining-nums'`, `'tabular-nums'`, `'proportional-nums'`) or string | `[]` |
822+
<table>
823+
<thead>
824+
<tr>
825+
<th colspan="5">Type</th>
826+
<th>Default</th>
827+
</tr>
828+
</thead>
829+
<tbody>
830+
<tr>
831+
<td colspan="5">
832+
array of enum(`'common-ligatures'`, `'contextual'`, `'discretionary-ligatures'`, `'historical-ligatures'`, `'lining-nums'`, `'no-common-ligatures'`, `'no-contextual'`, `'no-discretionary-ligatures'`, `'no-historical-ligatures'`, `'oldstyle-nums'`, `'proportional-nums'`, `'small-caps'`, `'stylistic-eight'`, `'stylistic-eighteen'`, `'stylistic-eleven'`, `'stylistic-fifteen'`, `'stylistic-five'`, `'stylistic-four'`, `'stylistic-fourteen'`, `'stylistic-nine'`, `'stylistic-nineteen'`, `'stylistic-one'`, `'stylistic-seven'`, `'stylistic-seventeen'`, `'stylistic-six'`, `'stylistic-sixteen'`, `'stylistic-ten'`, `'stylistic-thirteen'`, `'stylistic-three'`, `'stylistic-twelve'`, `'stylistic-twenty'`, `'stylistic-two'`, `'tabular-nums'`) or string
833+
</td>
834+
<td>`[]`</td>
835+
</tr>
836+
</tbody>
837+
</table>
825838

826839
---
827840

website/versioned_docs/version-0.80/text-style-props.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -819,9 +819,22 @@ Set to `false` to remove extra font padding intended to make space for certain a
819819

820820
Allows you to set all the font variants for a font. Can be set by using an array of enums or a space-separated string e.g. `'small-caps common-ligatures'`.
821821

822-
| Type | Default |
823-
| -------------------------------------------------------------------------------------------------------------------- | ------- |
824-
| array of enum(`'small-caps'`, `'oldstyle-nums'`, `'lining-nums'`, `'tabular-nums'`, `'proportional-nums'`) or string | `[]` |
822+
<table>
823+
<thead>
824+
<tr>
825+
<th colspan="5">Type</th>
826+
<th>Default</th>
827+
</tr>
828+
</thead>
829+
<tbody>
830+
<tr>
831+
<td colspan="5">
832+
array of enum(`'common-ligatures'`, `'contextual'`, `'discretionary-ligatures'`, `'historical-ligatures'`, `'lining-nums'`, `'no-common-ligatures'`, `'no-contextual'`, `'no-discretionary-ligatures'`, `'no-historical-ligatures'`, `'oldstyle-nums'`, `'proportional-nums'`, `'small-caps'`, `'stylistic-eight'`, `'stylistic-eighteen'`, `'stylistic-eleven'`, `'stylistic-fifteen'`, `'stylistic-five'`, `'stylistic-four'`, `'stylistic-fourteen'`, `'stylistic-nine'`, `'stylistic-nineteen'`, `'stylistic-one'`, `'stylistic-seven'`, `'stylistic-seventeen'`, `'stylistic-six'`, `'stylistic-sixteen'`, `'stylistic-ten'`, `'stylistic-thirteen'`, `'stylistic-three'`, `'stylistic-twelve'`, `'stylistic-twenty'`, `'stylistic-two'`, `'tabular-nums'`) or string
833+
</td>
834+
<td>`[]`</td>
835+
</tr>
836+
</tbody>
837+
</table>
825838

826839
---
827840

website/versioned_docs/version-0.81/text-style-props.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -819,9 +819,22 @@ Set to `false` to remove extra font padding intended to make space for certain a
819819

820820
Allows you to set all the font variants for a font. Can be set by using an array of enums or a space-separated string e.g. `'small-caps common-ligatures'`.
821821

822-
| Type | Default |
823-
| -------------------------------------------------------------------------------------------------------------------- | ------- |
824-
| array of enum(`'small-caps'`, `'oldstyle-nums'`, `'lining-nums'`, `'tabular-nums'`, `'proportional-nums'`) or string | `[]` |
822+
<table>
823+
<thead>
824+
<tr>
825+
<th colspan="5">Type</th>
826+
<th>Default</th>
827+
</tr>
828+
</thead>
829+
<tbody>
830+
<tr>
831+
<td colspan="5">
832+
array of enum(`'common-ligatures'`, `'contextual'`, `'discretionary-ligatures'`, `'historical-ligatures'`, `'lining-nums'`, `'no-common-ligatures'`, `'no-contextual'`, `'no-discretionary-ligatures'`, `'no-historical-ligatures'`, `'oldstyle-nums'`, `'proportional-nums'`, `'small-caps'`, `'stylistic-eight'`, `'stylistic-eighteen'`, `'stylistic-eleven'`, `'stylistic-fifteen'`, `'stylistic-five'`, `'stylistic-four'`, `'stylistic-fourteen'`, `'stylistic-nine'`, `'stylistic-nineteen'`, `'stylistic-one'`, `'stylistic-seven'`, `'stylistic-seventeen'`, `'stylistic-six'`, `'stylistic-sixteen'`, `'stylistic-ten'`, `'stylistic-thirteen'`, `'stylistic-three'`, `'stylistic-twelve'`, `'stylistic-twenty'`, `'stylistic-two'`, `'tabular-nums'`) or string
833+
</td>
834+
<td>`[]`</td>
835+
</tr>
836+
</tbody>
837+
</table>
825838

826839
---
827840

0 commit comments

Comments
 (0)