Skip to content

Commit 88a90a7

Browse files
authored
Merge pull request #5 from semencov/dev
v2.0
2 parents 8b91788 + c250baa commit 88a90a7

File tree

10 files changed

+462
-704
lines changed

10 files changed

+462
-704
lines changed

CHANGELOG.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,52 @@
1+
### Version 2.0.0
2+
3+
- Inter font updated to v3.15
4+
- Fixed different size units caused `NaN` for letter spacing
5+
- Refactored styles generation
6+
- Removed line height usage as redundant
7+
- Removed options `baseLineHeight` and `disableUnusedFeatures`
8+
- Removed plugin specific font size classes to use inherited classes instead (`.text-inter-lg``.font-inter .text-lg`)
9+
- Limited font feature settings classes to apply only if Inter font family applied (`.font-feature-numeric``.font-inter .font-feature-numeric`)
10+
- Added `.font-feature-default` class with `calt` and `kern` font feature settings enabled
11+
- Option `importFontFace` is now `true` by default
12+
113
### Version 1.0.8
214

3-
- Replaced Object.fromEntries with lodash methods to provide compatability older Node.js versions
15+
- Replaced Object.fromEntries with lodash methods to provide compatability older Node.js versions
416

517
### Version 1.0.7
618

7-
- Fixed line height and letter spacing values calculation for different font sizes (#2, #3)
19+
- Fixed line height and letter spacing values calculation for different font sizes (#2, #3)
820

921
### Version 1.0.6
1022

11-
- Fixed npm package missed files
23+
- Fixed npm package missed files
1224

1325
### Version 1.0.5
1426

15-
- Bump config adjustments
27+
- Bump config adjustments
1628

1729
### Version 1.0.4
1830

19-
- Bump config adjustments
31+
- Bump config adjustments
2032

2133
### Version 1.0.3
2234

23-
- Bump config
35+
- Bump config
2436

2537
### Version 1.0.2
2638

27-
- Inter font updated to v3.11
28-
- Demo page updated
29-
- Small improvements
39+
- Inter font updated to v3.11
40+
- Demo page updated
41+
- Small improvements
3042

3143
### Version 1.0.1
3244

33-
- Fixed exception when no `interFontFeatures` config specified.
45+
- Fixed exception when no `interFontFeatures` config specified.
3446

3547
### Version 1.0.0
3648

3749
Currently supports fot feature settings and dynamic line height with the different font sizes.
3850

39-
- Inter font updated to v3.10 (1.000)
40-
- Updated README.md
51+
- Inter font updated to v3.10 (1.000)
52+
- Updated README.md

0 commit comments

Comments
 (0)