@cashub/ui 0.48.27 → 0.48.28
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
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _styledComponents = require("styled-components");
|
|
8
8
|
var _templateObject;
|
|
9
9
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
10
|
-
const borderColor = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
|
|
10
|
+
const borderColor = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
|
|
11
11
|
let {
|
|
12
12
|
primary
|
|
13
13
|
} = _ref;
|
|
@@ -27,5 +27,10 @@ const borderColor = (0, _styledComponents.css)(_templateObject || (_templateObje
|
|
|
27
27
|
danger
|
|
28
28
|
} = _ref4;
|
|
29
29
|
return danger && 'border-color: var(--color-danger);';
|
|
30
|
+
}, _ref5 => {
|
|
31
|
+
let {
|
|
32
|
+
grey
|
|
33
|
+
} = _ref5;
|
|
34
|
+
return grey && 'border-color: var(--color-grey);';
|
|
30
35
|
});
|
|
31
36
|
var _default = exports.default = borderColor;
|
package/styles/mixin/color.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _styledComponents = require("styled-components");
|
|
8
8
|
var _templateObject;
|
|
9
9
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
10
|
-
const color = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
|
|
10
|
+
const color = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
|
|
11
11
|
let {
|
|
12
12
|
primary
|
|
13
13
|
} = _ref;
|
|
@@ -27,5 +27,10 @@ const color = (0, _styledComponents.css)(_templateObject || (_templateObject = _
|
|
|
27
27
|
danger
|
|
28
28
|
} = _ref4;
|
|
29
29
|
return danger && 'color: var(--color-danger);';
|
|
30
|
+
}, _ref5 => {
|
|
31
|
+
let {
|
|
32
|
+
grey
|
|
33
|
+
} = _ref5;
|
|
34
|
+
return grey && 'color: var(--color-grey);';
|
|
30
35
|
});
|
|
31
36
|
var _default = exports.default = color;
|