@cashub/ui 0.3.3 → 0.3.4
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/heading/Heading3.js +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
+
|
|
10
|
+
var _templateObject;
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
15
|
+
|
|
16
|
+
var Heading3 = _styledComponents.default.h3(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h3);\n word-break: break-word;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
17
|
+
var center = _ref.center;
|
|
18
|
+
return center && 'text-align: center;';
|
|
19
|
+
}, function (_ref2) {
|
|
20
|
+
var fontWeightNormal = _ref2.fontWeightNormal;
|
|
21
|
+
return fontWeightNormal && 'font-weight: normal;';
|
|
22
|
+
}, function (_ref3) {
|
|
23
|
+
var marginBottomXS = _ref3.marginBottomXS;
|
|
24
|
+
return marginBottomXS && 'margin-bottom: var(--spacing-xs);';
|
|
25
|
+
}, function (_ref4) {
|
|
26
|
+
var paddingBottomXS = _ref4.paddingBottomXS;
|
|
27
|
+
return paddingBottomXS && 'padding-bottom: var(--spacing-xs);';
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
var _default = Heading3;
|
|
31
|
+
exports.default = _default;
|