From 15e590fa5814297216213fb1eeef71fde9605a23 Mon Sep 17 00:00:00 2001 From: Tigran Date: Fri, 29 Jan 2021 23:33:48 +0400 Subject: [PATCH] fix small bug --- docs/foo-comments.min.js | 2 +- src/components/Editor/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/foo-comments.min.js b/docs/foo-comments.min.js index 3f74adb..56ca302 100644 --- a/docs/foo-comments.min.js +++ b/docs/foo-comments.min.js @@ -3391,7 +3391,7 @@ var n;!function(t,e){"function"==typeof n&&n.amd?n([],e):"undefined"!=typeof mod },{}],"tPh4":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Input=exports.Form=exports.Footer=exports.Button=exports.Textarea=exports.Container=void 0;var n=r(require("styled-components"));function e(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return e=function(){return n},n}function r(n){if(n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var r=e();if(r&&r.has(n))return r.get(n);var t={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var a=o?Object.getOwnPropertyDescriptor(n,i):null;a&&(a.get||a.set)?Object.defineProperty(t,i,a):t[i]=n[i]}return t.default=n,r&&r.set(n,t),t}function t(){var n=s(["\n flex: 1;\n height: auto;\n border: none;\n padding: 8px;\n outline: none;\n font-size: 13px;\n min-width: 10px;\n box-shadow: none;\n appearance: none;\n border-radius: 0;\n letter-spacing: 0.5px;\n box-sizing: border-box;\n color: ",";\n background: ",";\n border-right: 2px solid ",";\n"]);return t=function(){return n},n}function o(){var n=s(["\n font-size: 0;\n line-height: 0;\n"]);return o=function(){return n},n}function i(){var n=s(["\n height: 36px;\n display: flex;\n flex-wrap: nowrap;\n flex-direction: row;\n border-radius: 0 0 2px 2px;\n transition: opacity linear 0.2s;\n border-top: solid 2px ",";\n"]);return i=function(){return n},n}function a(){var n=s(["\n border: none;\n margin: -2px;\n outline: none;\n font-size: 13px;\n cursor: pointer;\n appearance: none;\n box-shadow: none;\n font-weight: 700;\n min-width: 150px;\n font-weight: 500;\n line-height: 1.1;\n text-shadow: none;\n padding: 12px 25px;\n white-space: nowrap;\n letter-spacing: 0.5px;\n display: inline-block;\n transition: background 0.2s;\n border-radius: 0px 0px 3px 0px;\n color: ",";\n background: ",";\n &:disabled {\n font-size: 0;\n position: relative;\n &:after {\n top: 26%;\n left: 43%;\n content: '';\n width: 15px;\n height: 15px;\n display: block;\n position: absolute;\n border-radius: 100%;\n animation: "," 1s linear infinite;\n border: 3px solid ",";\n border-top-color: transparent;\n border-bottom-color: transparent;\n }\n }\n"]);return a=function(){return n},n}function u(){var n=s(["\n border: 0;\n margin: 0;\n width: 100%;\n height: auto;\n outline: none;\n font-size: 14px;\n min-width: 100%;\n max-width: 100%;\n min-height: 80px;\n box-shadow: none;\n line-height: 1.4;\n border-radius: 0;\n padding: 8px 10px;\n letter-spacing: 0.7px;\n box-sizing: border-box;\n color: ",";\n background: ",";\n"]);return u=function(){return n},n}function p(){var n=s(["\n margin: 0;\n padding: 0;\n font-size: 0;\n appearance: none;\n position: relative;\n border-radius: 4px;\n box-sizing: border-box;\n border: 2px solid ",";\n"]);return p=function(){return n},n}function d(){var n=s(["\n 0% { \n transform: rotate(0); \n }\n 100% { \n transform: rotate(360deg); \n }\n"]);return d=function(){return n},n}function s(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var f=(0,n.keyframes)(d()),c=n.default.div(p(),function(n){return n.theme.borderColor});exports.Container=c;var l=n.default.textarea(u(),function(n){return n.theme.textColor},function(n){return n.theme.inputBackground});exports.Textarea=l;var x=n.default.button(a(),function(n){return n.theme.buttonColor},function(n){return n.theme.buttonBackground},f,function(n){return n.theme.buttonColor});exports.Button=x;var b=n.default.div(i(),function(n){return n.theme.borderColor});exports.Footer=b;var h=n.default.form(o());exports.Form=h;var g=n.default.input(t(),function(n){return n.theme.textColor},function(n){return n.theme.inputBackground},function(n){return n.theme.borderColor});exports.Input=g; },{"styled-components":"tFSs"}],"Zi9t":[function(require,module,exports) { -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=p;var e=l(require("react")),t=u(require("lscache")),r=require("../../providers/Comments"),n=require("./style"),a=require("react-i18next");function u(e){return e&&e.__esModule?e:{default:e}}function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var u=n?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}function i(e,t){return y(e)||s(e,t)||f(e,t)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r { setBody('');