@trafilea/afrodita-components 4.0.2-beta.4 → 4.0.2-beta.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.
- package/build/index.esm.js +23 -3
- package/build/index.esm.js.map +1 -1
- package/build/index.js +23 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -55,8 +55,8 @@ function __makeTemplateObject(cooked, raw) {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
var IconWrapper = function (_a) {
|
|
58
|
-
var height = _a.height,
|
|
59
|
-
return (jsxs$1("svg", __assign({ width: width ? "".concat(width, "rem") : '100%', height: height ? "".concat(height, "rem") : '100%', viewBox: "0 0 ".concat(viewBoxX, " ").concat(viewBoxY), xmlns: "http://www.w3.org/2000/svg", "data-testid": testid ? testid : 'IconWrapper', fill: fill }, { children: [jsxs$1("title", { children: [title, " icon"] }, void 0), children] }), void 0));
|
|
58
|
+
var height = _a.height, _b = _a.width, width = _b === void 0 ? 1 : _b, title = _a.title, viewBoxX = _a.viewBoxX, viewBoxY = _a.viewBoxY, children = _a.children, testid = _a.testid, fill = _a.fill;
|
|
59
|
+
return (jsxs$1("svg", __assign({ style: { display: 'inline-block', verticalAlign: 'middle' }, width: width ? "".concat(width, "rem") : '100%', height: height ? "".concat(height, "rem") : width ? "".concat(width, "rem") : '100%', viewBox: "0 0 ".concat(viewBoxX, " ").concat(viewBoxY), xmlns: "http://www.w3.org/2000/svg", "data-testid": testid ? testid : 'IconWrapper', fill: fill }, { children: [jsxs$1("title", { children: [title, " icon"] }, void 0), children] }), void 0));
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
var SixtyDaysGuarantee = function (_a) {
|
|
@@ -3280,7 +3280,7 @@ var InputValidationType;
|
|
|
3280
3280
|
})(InputValidationType || (InputValidationType = {}));
|
|
3281
3281
|
|
|
3282
3282
|
var Section = newStyled.div(templateObject_1$$ || (templateObject_1$$ = __makeTemplateObject(["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"], ["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"])), function (props) {
|
|
3283
|
-
return props.type === CardSectionType.Header ? '
|
|
3283
|
+
return props.type === CardSectionType.Header ? '1.5rem 1.5rem 0' : '0 1.5rem 1.5rem';
|
|
3284
3284
|
});
|
|
3285
3285
|
var CardHeader = function (_a) {
|
|
3286
3286
|
var children = _a.children;
|
|
@@ -6390,6 +6390,15 @@ var DEFAULTS = {
|
|
|
6390
6390
|
heading3: {
|
|
6391
6391
|
weight: 'bold',
|
|
6392
6392
|
},
|
|
6393
|
+
heading4: {
|
|
6394
|
+
weight: 'bold',
|
|
6395
|
+
},
|
|
6396
|
+
heading5: {
|
|
6397
|
+
weight: 'bold',
|
|
6398
|
+
},
|
|
6399
|
+
heading6: {
|
|
6400
|
+
weight: 'bold',
|
|
6401
|
+
},
|
|
6393
6402
|
hero1: {
|
|
6394
6403
|
weight: 'heavy',
|
|
6395
6404
|
},
|
|
@@ -6417,6 +6426,17 @@ var DEFAULTS = {
|
|
|
6417
6426
|
size: 'regular',
|
|
6418
6427
|
weight: 'regular',
|
|
6419
6428
|
},
|
|
6429
|
+
label: {
|
|
6430
|
+
size: 'regular',
|
|
6431
|
+
weight: 'regular',
|
|
6432
|
+
},
|
|
6433
|
+
link: {
|
|
6434
|
+
size: 'regular',
|
|
6435
|
+
weight: 'regular',
|
|
6436
|
+
},
|
|
6437
|
+
pricing: {
|
|
6438
|
+
size: 'regular',
|
|
6439
|
+
},
|
|
6420
6440
|
};
|
|
6421
6441
|
var templateObject_1$W, templateObject_2$B, templateObject_3$n, templateObject_4$e, templateObject_5$7, templateObject_6$5, templateObject_7$3, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
|
|
6422
6442
|
|