kiva-protocol-ui-kit 1.0.73 → 1.0.74
Sign up to get free protection for your applications and to get access to all the features.
- package/build/button/Button.d.ts +2 -0
- package/build/button/Button.scss +9 -0
- package/build/index.esm.js +8 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +8 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
@@ -53,7 +53,7 @@ var ActionCard = function (prop) {
|
|
53
53
|
React__default['default'].createElement("span", { className: "text-center text-gray-600" }, prop.caption))));
|
54
54
|
};
|
55
55
|
|
56
|
-
var css_248z$a = "button.protocol-button{background-color:#004fd4!important;border-radius:16px!important;font-family:Roboto Mono,monospace;height:50px;line-height:18.46px!important;padding:16px 30px!important}";
|
56
|
+
var css_248z$a = "button.protocol-button{background-color:#004fd4!important;border-radius:16px!important;font-family:Roboto Mono,monospace;height:50px;line-height:18.46px!important;padding:16px 30px!important;text-transform:uppercase}button.protocol-button.disabled{opacity:.5}button.protocol-button.secondary{background-color:#fff!important;border:.5px solid #d4d4d4;color:#000}";
|
57
57
|
styleInject(css_248z$a);
|
58
58
|
|
59
59
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
@@ -17264,6 +17264,13 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
17264
17264
|
|
17265
17265
|
var Button = function (prop) {
|
17266
17266
|
var classString = "";
|
17267
|
+
if (prop.disabled) {
|
17268
|
+
classString += " disabled";
|
17269
|
+
}
|
17270
|
+
if (prop.small) {
|
17271
|
+
classString += " small";
|
17272
|
+
}
|
17273
|
+
classString += " " + prop.style;
|
17267
17274
|
lodash.forEach(prop.classes, function (value) {
|
17268
17275
|
classString = classString + (" " + value);
|
17269
17276
|
});
|
@@ -17433,7 +17440,6 @@ var Fingerprint = function (prop) {
|
|
17433
17440
|
};
|
17434
17441
|
var svgSrc = variants[prop.variant];
|
17435
17442
|
console.log(svgSrc);
|
17436
|
-
debugger;
|
17437
17443
|
return (React__default['default'].createElement("img", { src: svgSrc, width: 200, alt: "Fingerprint reference image" }));
|
17438
17444
|
};
|
17439
17445
|
|