@cashub/ui 0.6.6 → 0.6.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cashub/ui",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "private": false,
5
5
  "author": "CASHUB Team",
6
6
  "description": "CASHUB UI components library",
@@ -21,7 +21,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
21
21
 
22
22
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
23
23
 
24
- var SectionHeader = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: transparent;\n padding: 0;\n margin-bottom: calc(var(--spacing-s) * -1);\n\n > * {\n padding-bottom: var(--spacing-s);\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
24
+ var SectionHeader = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: transparent;\n padding: 0;\n margin-bottom: calc(var(--spacing-s) * -1);\n\n > * {\n padding-bottom: var(--spacing-s);\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
25
25
  var inline = _ref.inline;
26
26
  return inline && (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n "])));
27
27
  }, function (_ref2) {
@@ -34,7 +34,10 @@ var SectionHeader = _styledComponents.default.div(_templateObject || (_templateO
34
34
  var backgroundFill = _ref4.backgroundFill;
35
35
  return backgroundFill && 'background: var(--color-background1);';
36
36
  }, function (_ref5) {
37
- var sticky = _ref5.sticky;
37
+ var backgroundReverse = _ref5.backgroundReverse;
38
+ return backgroundReverse && 'background: var(--color-background2);';
39
+ }, function (_ref6) {
40
+ var sticky = _ref6.sticky;
38
41
  return sticky && "position: sticky;\n z-index:30;\n top: ".concat(_header.default.height, ";\n ");
39
42
  });
40
43