From ca656086587bb6b8d8f4560eeb678708d89e571a Mon Sep 17 00:00:00 2001 From: Evyatar Date: Sat, 27 Jan 2018 15:54:34 +0200 Subject: [PATCH] 2.0.2 - [PATCH][BUGFIX] add onClick handler to emojis --- dist/index.js | 4 ++-- dist/index.js.map | 2 +- dist/universal/index.js | 4 ++-- dist/universal/index.js.map | 2 +- package.json | 2 +- src/DiversityPicker/index.js | 5 ++--- src/Emoji/index.js | 10 ++++++++-- src/EmojiPicker/index.js | 6 ++---- yarn.lock | 14 +++++++------- 9 files changed, 26 insertions(+), 23 deletions(-) diff --git a/dist/index.js b/dist/index.js index 5ff9ea89..a7d56950 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,7 +1,7 @@ -!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react"),require("throttle-debounce")):"function"==typeof define&&define.amd?define(["react","throttle-debounce"],n):"object"==typeof exports?exports.EmojiPicker=n(require("react"),require("throttle-debounce")):e.EmojiPicker=n(e.react,e["throttle-debounce"])}("undefined"!=typeof self?self:this,function(e,n){return function(e){function n(t){if(o[t])return o[t].exports;var f=o[t]={i:t,l:!1,exports:{}};return e[t].call(f.exports,f,f.exports,n),f.l=!0,f.exports}var o={};return n.m=e,n.c=o,n.d=function(e,o,t){n.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(o,"a",o),o},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=63)}([function(e,n){var o=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=o)},function(e,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.skinTones=n.keywords=n.modifiers=n.categories=n.emojis=void 0;var t=o(113);n.emojis=t.emojis,n.categories=t.categories,n.modifiers=t.modifiers,n.keywords=t.keywords,n.skinTones=t.skinTones},function(e,n){function o(e,n){var o=e[1]||"",f=e[3];if(!f)return o;if(n&&"function"==typeof btoa){var c=t(f);return[o].concat(f.sources.map(function(e){return"/*# sourceURL="+f.sourceRoot+e+" */"})).concat([c]).join("\n")}return[o].join("\n")}function t(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t=o(n,e);return n[2]?"@media "+n[2]+"{"+t+"}":t}).join("")},n.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var t={},f=0;f=0&&v.splice(n,1)}function a(e){var n=document.createElement("style");return e.attrs.type="text/css",u(n,e.attrs),c(e,n),n}function i(e){var n=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",u(n,e.attrs),c(e,n),n}function u(e,n){Object.keys(n).forEach(function(o){e.setAttribute(o,n[o])})}function s(e,n){var o,t,f,c;if(n.transform&&e.css){if(!(c=n.transform(e.css)))return function(){};e.css=c}if(n.singleton){var u=_++;o=b||(b=a(n)),t=l.bind(null,o,u,!1),f=l.bind(null,o,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=i(n),t=p.bind(null,o,n),f=function(){r(o),o.href&&URL.revokeObjectURL(o.href)}):(o=a(n),t=d.bind(null,o),f=function(){r(o)});return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else f()}}function l(e,n,o,t){var f=o?"":t.css;if(e.styleSheet)e.styleSheet.cssText=k(n,f);else{var c=document.createTextNode(f),r=e.childNodes;r[n]&&e.removeChild(r[n]),r.length?e.insertBefore(c,r[n]):e.appendChild(c)}}function d(e,n){var o=n.css,t=n.media;if(t&&e.setAttribute("media",t),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}function p(e,n,o){var t=o.css,f=o.sourceMap,c=void 0===n.convertToAbsoluteUrls&&f;(n.convertToAbsoluteUrls||c)&&(t=y(t)),f&&(t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(f))))+" */");var r=new Blob([t],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(r),a&&URL.revokeObjectURL(a)}var g={},h=function(e){var n;return function(){return void 0===n&&(n=e.apply(this,arguments)),n}}(function(){return window&&document&&document.all&&!window.atob}),m=function(e){var n={};return function(o){if(void 0===n[o]){var t=e.call(this,o);if(t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[o]=t}return n[o]}}(function(e){return document.querySelector(e)}),b=null,_=0,v=[],y=o(116);e.exports=function(e,n){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");n=n||{},n.attrs="object"==typeof n.attrs?n.attrs:{},n.singleton||"boolean"==typeof n.singleton||(n.singleton=h()),n.insertInto||(n.insertInto="head"),n.insertAt||(n.insertAt="bottom");var o=f(e,n);return t(o,n),function(e){for(var c=[],r=0;r0?t:o)(e)}},function(e,n,o){var t=o(33)("keys"),f=o(26);e.exports=function(e){return t[e]||(t[e]=f(e))}},function(e,n,o){var t=o(7),f=t["__core-js_shared__"]||(t["__core-js_shared__"]={});e.exports=function(e){return f[e]||(f[e]={})}},function(e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,n){n.f=Object.getOwnPropertySymbols},function(e,n){e.exports=!0},function(e,n){e.exports={}},function(e,n,o){var t=o(17),f=o(85),c=o(34),r=o(32)("IE_PROTO"),a=function(){},i=function(){var e,n=o(49)("iframe"),t=c.length;for(n.style.display="none",o(86).appendChild(n),n.src="javascript:",e=n.contentWindow.document,e.open(),e.write("