Skip to content

Commit 6701f82

Browse files
authored
Add new Text properties (#427)
1 parent ca7a66b commit 6701f82

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.changeset/fair-bushes-notice.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'stylelint-config-recess-order': minor
3+
---
4+
5+
Add new Text properties
6+
7+
- [`hyphenate-character`](https://developer.mozilla.org/en-US/docs/Web/CSS/hyphenate-character)
8+
- [`line-break`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-break)
9+
- [`text-wrap-mode`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap-mode)
10+
- [`text-wrap-style`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap-style)
11+
- [`white-space-collapse`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space-collapse)

groups.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,17 @@ const propertyGroups = [
323323
'word-spacing',
324324
'letter-spacing',
325325
'hyphens',
326+
'hyphenate-character',
327+
'line-break',
326328
'word-break',
327329
'text-wrap',
330+
'text-wrap-mode',
331+
'text-wrap-style',
328332
'word-wrap', // Legacy name for `overflow-wrap`
329333
'overflow-wrap',
330334
'tab-size',
331335
'white-space',
336+
'white-space-collapse',
332337
],
333338
},
334339

0 commit comments

Comments
 (0)