@cashub/ui 0.6.5 → 0.6.6
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/Heading1.js +1 -1
- package/heading/Heading2.js +1 -1
- package/heading/Heading3.js +1 -1
- package/index.js +11 -14
- package/package.json +1 -1
package/heading/Heading1.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
13
13
|
|
|
14
14
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
15
15
|
|
|
16
|
-
var Heading1 = _styledComponents.default.h1(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h1);\n word-break: break-word;\n white-space: pre;\n\n ", "\n"])), function (_ref) {
|
|
16
|
+
var Heading1 = _styledComponents.default.h1(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h1);\n word-break: break-word;\n white-space: pre-wrap;\n\n ", "\n"])), function (_ref) {
|
|
17
17
|
var center = _ref.center;
|
|
18
18
|
return center && 'text-align: center;';
|
|
19
19
|
});
|
package/heading/Heading2.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
13
13
|
|
|
14
14
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
15
15
|
|
|
16
|
-
var Heading2 = _styledComponents.default.h2(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h2);\n word-break: break-word;\n white-space: pre;\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
16
|
+
var Heading2 = _styledComponents.default.h2(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h2);\n word-break: break-word;\n white-space: pre-wrap;\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
17
17
|
var center = _ref.center;
|
|
18
18
|
return center && 'text-align: center;';
|
|
19
19
|
}, function (_ref2) {
|
package/heading/Heading3.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
13
13
|
|
|
14
14
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
15
15
|
|
|
16
|
-
var Heading3 = _styledComponents.default.h3(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h3);\n word-break: break-word;\n white-space: pre;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
16
|
+
var Heading3 = _styledComponents.default.h3(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h3);\n word-break: break-word;\n white-space: pre-wrap;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
17
17
|
var center = _ref.center;
|
|
18
18
|
return center && 'text-align: center;';
|
|
19
19
|
}, function (_ref2) {
|
package/index.js
CHANGED
|
@@ -6,7 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
var _exportNames = {
|
|
9
|
-
Dropdown: true
|
|
9
|
+
Dropdown: true,
|
|
10
|
+
Tab: true
|
|
10
11
|
};
|
|
11
12
|
Object.defineProperty(exports, "Dropdown", {
|
|
12
13
|
enumerable: true,
|
|
@@ -14,6 +15,12 @@ Object.defineProperty(exports, "Dropdown", {
|
|
|
14
15
|
return _dropdown.default;
|
|
15
16
|
}
|
|
16
17
|
});
|
|
18
|
+
Object.defineProperty(exports, "Tab", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _Tab.default;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
17
24
|
|
|
18
25
|
var _animate = require("./animate");
|
|
19
26
|
|
|
@@ -477,19 +484,7 @@ Object.keys(_table).forEach(function (key) {
|
|
|
477
484
|
});
|
|
478
485
|
});
|
|
479
486
|
|
|
480
|
-
var _Tab = require("./Tab");
|
|
481
|
-
|
|
482
|
-
Object.keys(_Tab).forEach(function (key) {
|
|
483
|
-
if (key === "default" || key === "__esModule") return;
|
|
484
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
485
|
-
if (key in exports && exports[key] === _Tab[key]) return;
|
|
486
|
-
Object.defineProperty(exports, key, {
|
|
487
|
-
enumerable: true,
|
|
488
|
-
get: function get() {
|
|
489
|
-
return _Tab[key];
|
|
490
|
-
}
|
|
491
|
-
});
|
|
492
|
-
});
|
|
487
|
+
var _Tab = _interopRequireDefault(require("./Tab"));
|
|
493
488
|
|
|
494
489
|
var _tagify = require("./tagify");
|
|
495
490
|
|
|
@@ -575,6 +570,8 @@ Object.keys(_wizard).forEach(function (key) {
|
|
|
575
570
|
});
|
|
576
571
|
});
|
|
577
572
|
|
|
573
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
574
|
+
|
|
578
575
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
579
576
|
|
|
580
577
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|