@julo-ui/typography
Advanced tools
Comparing version 1.0.0-beta.5 to 1.0.0-beta.6
@@ -131,8 +131,3 @@ "use strict"; | ||
const htmlProps = omitStyleProps(resProps); | ||
const bodyClasses = (0, import_css3.cx)( | ||
"julo-body-typography", | ||
bodyTypographyCx, | ||
commonStyles(styleProps), | ||
className | ||
); | ||
const bodyClasses = (0, import_css3.cx)(bodyTypographyCx, commonStyles(styleProps), className); | ||
if (asChild) { | ||
@@ -154,3 +149,3 @@ if (!(0, import_react.isValidElement)(children)) | ||
ref, | ||
className: bodyClasses, | ||
className: (0, import_css3.cx)("julo-body-typography", bodyClasses), | ||
onClick, | ||
@@ -157,0 +152,0 @@ "data-typography-size": size, |
@@ -133,8 +133,3 @@ "use strict"; | ||
const htmlProps = omitStyleProps(resProps); | ||
const bodyClasses = (0, import_css3.cx)( | ||
"julo-body-typography", | ||
bodyTypographyCx, | ||
commonStyles(styleProps), | ||
className | ||
); | ||
const bodyClasses = (0, import_css3.cx)(bodyTypographyCx, commonStyles(styleProps), className); | ||
if (asChild) { | ||
@@ -156,3 +151,3 @@ if (!(0, import_react.isValidElement)(children)) | ||
ref, | ||
className: bodyClasses, | ||
className: (0, import_css3.cx)("julo-body-typography", bodyClasses), | ||
onClick, | ||
@@ -159,0 +154,0 @@ "data-typography-size": size, |
@@ -131,3 +131,2 @@ "use strict"; | ||
const captionClasses = (0, import_css3.cx)( | ||
"julo-caption-typography", | ||
captionTypographyCx, | ||
@@ -153,3 +152,3 @@ commonStyles(styleProps), | ||
ref, | ||
className: captionClasses, | ||
className: (0, import_css3.cx)("julo-caption-typography", captionClasses), | ||
"data-typography-size": size, | ||
@@ -156,0 +155,0 @@ onClick, |
@@ -133,3 +133,2 @@ "use strict"; | ||
const captionClasses = (0, import_css3.cx)( | ||
"julo-caption-typography", | ||
captionTypographyCx, | ||
@@ -155,3 +154,3 @@ commonStyles(styleProps), | ||
ref, | ||
className: captionClasses, | ||
className: (0, import_css3.cx)("julo-caption-typography", captionClasses), | ||
"data-typography-size": size, | ||
@@ -158,0 +157,0 @@ onClick, |
@@ -130,3 +130,2 @@ "use strict"; | ||
className: (0, import_css3.cx)( | ||
"julo-heading-typography", | ||
headingTypographyCx(fontSize, lineHeight), | ||
@@ -133,0 +132,0 @@ commonStyles(styleProps), |
@@ -132,3 +132,2 @@ "use strict"; | ||
className: (0, import_css3.cx)( | ||
"julo-heading-typography", | ||
headingTypographyCx(fontSize, lineHeight), | ||
@@ -135,0 +134,0 @@ commonStyles(styleProps), |
@@ -137,3 +137,2 @@ "use strict"; | ||
className: (0, import_css3.cx)( | ||
"julo-heading-typography", | ||
headingTypographyCx(fontSize, lineHeight), | ||
@@ -194,8 +193,3 @@ commonStyles(styleProps), | ||
const htmlProps = omitStyleProps(resProps); | ||
const bodyClasses = (0, import_css5.cx)( | ||
"julo-body-typography", | ||
bodyTypographyCx, | ||
commonStyles(styleProps), | ||
className | ||
); | ||
const bodyClasses = (0, import_css5.cx)(bodyTypographyCx, commonStyles(styleProps), className); | ||
if (asChild) { | ||
@@ -217,3 +211,3 @@ if (!(0, import_react2.isValidElement)(children)) | ||
ref, | ||
className: bodyClasses, | ||
className: (0, import_css5.cx)("julo-body-typography", bodyClasses), | ||
onClick, | ||
@@ -259,3 +253,2 @@ "data-typography-size": size, | ||
const captionClasses = (0, import_css7.cx)( | ||
"julo-caption-typography", | ||
captionTypographyCx, | ||
@@ -281,3 +274,3 @@ commonStyles(styleProps), | ||
ref, | ||
className: captionClasses, | ||
className: (0, import_css7.cx)("julo-caption-typography", captionClasses), | ||
"data-typography-size": size, | ||
@@ -284,0 +277,0 @@ onClick, |
@@ -134,3 +134,2 @@ "use strict"; | ||
className: (0, import_css3.cx)( | ||
"julo-heading-typography", | ||
headingTypographyCx(fontSize, lineHeight), | ||
@@ -191,8 +190,3 @@ commonStyles(styleProps), | ||
const htmlProps = omitStyleProps(resProps); | ||
const bodyClasses = (0, import_css5.cx)( | ||
"julo-body-typography", | ||
bodyTypographyCx, | ||
commonStyles(styleProps), | ||
className | ||
); | ||
const bodyClasses = (0, import_css5.cx)(bodyTypographyCx, commonStyles(styleProps), className); | ||
if (asChild) { | ||
@@ -214,3 +208,3 @@ if (!(0, import_react2.isValidElement)(children)) | ||
ref, | ||
className: bodyClasses, | ||
className: (0, import_css5.cx)("julo-body-typography", bodyClasses), | ||
onClick, | ||
@@ -256,3 +250,2 @@ "data-typography-size": size, | ||
const captionClasses = (0, import_css7.cx)( | ||
"julo-caption-typography", | ||
captionTypographyCx, | ||
@@ -278,3 +271,3 @@ commonStyles(styleProps), | ||
ref, | ||
className: captionClasses, | ||
className: (0, import_css7.cx)("julo-caption-typography", captionClasses), | ||
"data-typography-size": size, | ||
@@ -281,0 +274,0 @@ onClick, |
{ | ||
"name": "@julo-ui/typography", | ||
"version": "1.0.0-beta.5", | ||
"version": "1.0.0-beta.6", | ||
"description": "A Component used to give other component Typography style", | ||
@@ -26,10 +26,10 @@ "main": "dist/index.js", | ||
"@emotion/css": "^11.9.0", | ||
"@julo-ui/provider": "0.0.1-alpha.3" | ||
"@julo-ui/provider": "0.0.1-alpha.4" | ||
}, | ||
"devDependencies": { | ||
"@julo-ui/system": "0.0.1-alpha.2" | ||
"@julo-ui/system": "0.0.1-alpha.4" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=18", | ||
"@julo-ui/system": "0.0.1-alpha.2" | ||
"@julo-ui/system": "0.0.1-alpha.4" | ||
}, | ||
@@ -36,0 +36,0 @@ "clean-package": "../../../clean-package.config.json", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
76336
2295
+ Added@julo-ui/provider@0.0.1-alpha.4(transitive)
+ Added@julo-ui/system@0.0.1-alpha.4(transitive)
- Removed@julo-ui/provider@0.0.1-alpha.3(transitive)
- Removed@julo-ui/system@0.0.1-alpha.2(transitive)