@trafilea/afrodita-components 5.0.0-beta.102 → 5.0.0-beta.103
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.
- package/build/index.esm.js +3 -3
- package/build/index.js +3 -3
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -4779,7 +4779,7 @@ var Text$6 = function (_a) {
|
|
|
4779
4779
|
var variantName = [variant, size].filter(Boolean).join('-');
|
|
4780
4780
|
// These are styles specific to `variation-size`.
|
|
4781
4781
|
var variantSizeStyle = (_b = theme.typography.variants[variantName]) !== null && _b !== void 0 ? _b : {};
|
|
4782
|
-
var style = __assign$1(__assign$1({ margin: 0, color: theme.colors.text.color }, variantstyle), variantSizeStyle);
|
|
4782
|
+
var style = __assign$1(__assign$1(__assign$1({ margin: 0, color: theme.colors.text.color }, variantstyle), variantSizeStyle), { fontFamily: theme.fonts.config[0].family });
|
|
4783
4783
|
if (weight) {
|
|
4784
4784
|
style.fontWeight = theme.typography.config.weight[weight];
|
|
4785
4785
|
}
|
|
@@ -11654,12 +11654,12 @@ var AccordionSummaryStyles = {
|
|
|
11654
11654
|
simple: function (theme, disabled) {
|
|
11655
11655
|
return css(__assign$1(__assign$1({}, theme.component.accordion.variant.simple.summary), { color: disabled
|
|
11656
11656
|
? theme.colors.text.disabled
|
|
11657
|
-
: theme.component.accordion.variant.simple.summary.color }));
|
|
11657
|
+
: theme.component.accordion.variant.simple.summary.color, fontFamily: theme.fonts.config[0].family }));
|
|
11658
11658
|
},
|
|
11659
11659
|
box: function (theme, disabled) {
|
|
11660
11660
|
return css(__assign$1(__assign$1({}, theme.component.accordion.variant.box.summary), { color: disabled
|
|
11661
11661
|
? theme.colors.text.disabled
|
|
11662
|
-
: theme.component.accordion.variant.box.summary.color }));
|
|
11662
|
+
: theme.component.accordion.variant.box.summary.color, fontFamily: theme.fonts.config[0].family }));
|
|
11663
11663
|
},
|
|
11664
11664
|
title: function (titleColor) {
|
|
11665
11665
|
return css({
|
package/build/index.js
CHANGED
|
@@ -4805,7 +4805,7 @@ var Text$6 = function (_a) {
|
|
|
4805
4805
|
var variantName = [variant, size].filter(Boolean).join('-');
|
|
4806
4806
|
// These are styles specific to `variation-size`.
|
|
4807
4807
|
var variantSizeStyle = (_b = theme.typography.variants[variantName]) !== null && _b !== void 0 ? _b : {};
|
|
4808
|
-
var style = __assign$1(__assign$1({ margin: 0, color: theme.colors.text.color }, variantstyle), variantSizeStyle);
|
|
4808
|
+
var style = __assign$1(__assign$1(__assign$1({ margin: 0, color: theme.colors.text.color }, variantstyle), variantSizeStyle), { fontFamily: theme.fonts.config[0].family });
|
|
4809
4809
|
if (weight) {
|
|
4810
4810
|
style.fontWeight = theme.typography.config.weight[weight];
|
|
4811
4811
|
}
|
|
@@ -11680,12 +11680,12 @@ var AccordionSummaryStyles = {
|
|
|
11680
11680
|
simple: function (theme, disabled) {
|
|
11681
11681
|
return css(__assign$1(__assign$1({}, theme.component.accordion.variant.simple.summary), { color: disabled
|
|
11682
11682
|
? theme.colors.text.disabled
|
|
11683
|
-
: theme.component.accordion.variant.simple.summary.color }));
|
|
11683
|
+
: theme.component.accordion.variant.simple.summary.color, fontFamily: theme.fonts.config[0].family }));
|
|
11684
11684
|
},
|
|
11685
11685
|
box: function (theme, disabled) {
|
|
11686
11686
|
return css(__assign$1(__assign$1({}, theme.component.accordion.variant.box.summary), { color: disabled
|
|
11687
11687
|
? theme.colors.text.disabled
|
|
11688
|
-
: theme.component.accordion.variant.box.summary.color }));
|
|
11688
|
+
: theme.component.accordion.variant.box.summary.color, fontFamily: theme.fonts.config[0].family }));
|
|
11689
11689
|
},
|
|
11690
11690
|
title: function (titleColor) {
|
|
11691
11691
|
return css({
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Trafilea's Design System",
|
|
4
4
|
"author": "Trafilea",
|
|
5
5
|
"repository": "https://github.com/trafilea/afrodita-components",
|
|
6
|
-
"version": "5.0.0-beta.
|
|
6
|
+
"version": "5.0.0-beta.103",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|