@xaui/native 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -146,6 +146,7 @@ var Typography = ({
|
|
|
146
146
|
overflow = "clip",
|
|
147
147
|
color,
|
|
148
148
|
letterSpacing,
|
|
149
|
+
lineHeight,
|
|
149
150
|
fontWeight,
|
|
150
151
|
fontStyle,
|
|
151
152
|
textDecorationLine,
|
|
@@ -159,6 +160,7 @@ var Typography = ({
|
|
|
159
160
|
const textStyleOverrides = {
|
|
160
161
|
color: _nullishCoalesce(_nullishCoalesce(color, () => ( inheritedStyle.color)), () => ( themeColorValue)),
|
|
161
162
|
letterSpacing,
|
|
163
|
+
lineHeight,
|
|
162
164
|
fontWeight: _nullishCoalesce(fontWeight, () => ( inheritedStyle.fontWeight)),
|
|
163
165
|
fontStyle: _nullishCoalesce(fontStyle, () => ( inheritedStyle.fontStyle)),
|
|
164
166
|
textDecorationLine,
|
package/dist/typography/index.js
CHANGED
|
@@ -146,6 +146,7 @@ var Typography = ({
|
|
|
146
146
|
overflow = "clip",
|
|
147
147
|
color,
|
|
148
148
|
letterSpacing,
|
|
149
|
+
lineHeight,
|
|
149
150
|
fontWeight,
|
|
150
151
|
fontStyle,
|
|
151
152
|
textDecorationLine,
|
|
@@ -159,6 +160,7 @@ var Typography = ({
|
|
|
159
160
|
const textStyleOverrides = {
|
|
160
161
|
color: color ?? inheritedStyle.color ?? themeColorValue,
|
|
161
162
|
letterSpacing,
|
|
163
|
+
lineHeight,
|
|
162
164
|
fontWeight: fontWeight ?? inheritedStyle.fontWeight,
|
|
163
165
|
fontStyle: fontStyle ?? inheritedStyle.fontStyle,
|
|
164
166
|
textDecorationLine,
|