emoji-picker-react 3.5.0 → 3.6.1-rc
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/.babelrc +26 -22
- package/.eslintrc.js +1 -1
- package/README.md +0 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.css +2 -2
- package/dist/main.css.map +1 -1
- package/package.json +8 -7
- package/webpack.config.js +1 -1
package/dist/main.css
CHANGED
|
@@ -175,12 +175,12 @@ aside.emoji-picker-react {
|
|
|
175
175
|
position: relative;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
aside.emoji-picker-react .content-wrapper {
|
|
178
|
+
aside.emoji-picker-react .content-wrapper-epr {
|
|
179
179
|
overflow: hidden;
|
|
180
180
|
position: relative;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
aside.emoji-picker-react .content-wrapper:before {
|
|
183
|
+
aside.emoji-picker-react .content-wrapper-epr:before {
|
|
184
184
|
content: attr(data-name);
|
|
185
185
|
color: #aaa;
|
|
186
186
|
font-size: 11px;
|
package/dist/main.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://EmojiPicker/./src/components/SkinTones/style.css","webpack://EmojiPicker/./src/components/VariationsMenu/style.css","webpack://EmojiPicker/./src/components/CategoriesNav/style.css","webpack://EmojiPicker/./src/components/Emoji/style.css","webpack://EmojiPicker/./src/components/EmojiList/style.css","webpack://EmojiPicker/./src/components/Search/style.css","webpack://EmojiPicker/./src/style.css"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oDAAoD,gBAAgB;AACpE,mDAAmD,gBAAgB;AACnE,mDAAmD,gBAAgB;AACnE,mDAAmD,gBAAgB;AACnE,mDAAmD,gBAAgB;AACnE,mDAAmD,gBAAgB;;ACxCnE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;ACjCA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA","file":"main.css","sourcesContent":[".emoji-picker-react ul.skin-tones-list {\n padding: 0;\n margin: 0;\n list-style-type: none;\n position: absolute;\n top: 13px;\n right: 40px;\n}\n\n.emoji-picker-react ul.skin-tones-list li {\n background-color: currentColor;\n position: absolute;\n padding: 0;\n border-radius: 5px;\n overflow: hidden;\n transition: transform .3s ease;\n box-shadow: 0 0 3px currentColor;\n}\n\n.emoji-picker-react ul.skin-tones-list label {\n height: 10px;\n width: 10px;\n padding: 0;\n display: block;\n cursor: pointer;\n}\n\n.emoji-picker-react ul.skin-tones-list input {\n height: 0;\n width: 0;\n opacity: 0;\n visibility: hidden;\n display: none;\n}\n\n.emoji-picker-react ul.skin-tones-list li.tneutral { color: #ffe082; }\n.emoji-picker-react ul.skin-tones-list li.t1f3fb { color: #ffe0b2; }\n.emoji-picker-react ul.skin-tones-list li.t1f3fc { color: #ffccbc; }\n.emoji-picker-react ul.skin-tones-list li.t1f3fe { color: #795548; }\n.emoji-picker-react ul.skin-tones-list li.t1f3ff { color: #5d4037; }\n.emoji-picker-react ul.skin-tones-list li.t1f3fd { color: #ca7e55; }\n",".emoji-picker-react .variations-wrapper {\n position: relative;\n}\n\n.emoji-picker-react .variations-list {\n background: #F4F4F4;\n border-bottom: 1px solid #efefef;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n z-index: 10;\n margin: 0;\n padding: 0;\n display: flex;\n justify-content: space-evenly;\n list-style-type: none;\n}\n\n.emoji-picker-react .variations-list button {\n height: 35px;\n width: 35px;\n background-size: 20px 20px;\n background-position: 50% 50%;\n background-repeat: no-repeat;\n background-color: transparent;\n border-radius: 5px;\n transition: background .1s;\n}\n\n.emoji-picker-react .variations-list button:hover {\n background-color: #DBDBDB;\n}\n",".emoji-picker-react .emoji-categories button {\n height: 40px;\n width: 20px;\n padding: 5px 0;\n background-repeat: no-repeat;\n background-size: 20px;\n background-position: 50% 50%;\n cursor: pointer;\n opacity: .5;\n transition: opacity .1s;\n}\n\n\n.emoji-picker-react .emoji-categories {\n padding: 0 15px;\n display: flex;\n justify-content: space-between;\n box-sizing: border-box;\n}\n\n.emoji-picker-react .emoji-categories.inactive button,\n.emoji-picker-react .emoji-categories.inactive button.active,\n.emoji-picker-react .emoji-categories.inactive button:hover {\n opacity: .4;\n cursor: default;\n}\n\n.emoji-picker-react .emoji-categories button.active {\n opacity: 1;\n}\n\n.emoji-picker-react .emoji-categories button:hover {\n opacity: .7;\n}\n",".emoji-picker-react .emoji {\n position: relative;\n}\n\n.emoji-picker-react .emoji.has-skin-variation:before {\n content: '';\n display: block;\n height: 5px;\n width: 5px;\n background: #070B17;\n position: absolute;\n top: 0;\n right: 0;\n border-radius: 0 5px 0 0;\n}\n\n.emoji-picker-react .emoji button {\n color: inherit;\n height: 35px;\n width: 35px;\n border-radius: 5px;\n background-size: 20px 20px;\n background-position: 50% 50%;\n background-repeat: no-repeat;\n transition: .1s background;\n}\n\n.emoji-picker-react .emoji button:hover {\n background-color: currentColor;\n}\n",".emoji-picker-react .emoji-group {\n clear: both;\n padding: 0 15px;\n list-style: none;\n margin: 0;\n display: flex;\n flex-flow: row wrap;\n justify-content: space-between;\n}\n\n.emoji-picker-react .emoji-group:before {\n content: attr(data-name);\n color: #aaa;\n font-size: 14px;\n position: sticky;\n background: rgba(255,255,255,0.95);\n width: 100%;\n z-index: 1;\n top: 0;\n text-transform: uppercase;\n line-height: 45px;\n font-weight: 700;\n}\n\n.emoji-picker-react .emoji-group:after {\n content: '';\n flex: 1000;\n order: 99999;\n flex-basis: 25px;\n}\n\n.emoji-picker-react .emoji-scroll-wrapper {\n overflow-y: scroll;\n position: relative;\n height: 100%;\n box-sizing: border-box;\n}\n",".emoji-picker-react input.emoji-search {\n width: calc(100% - 30px);\n margin-left: 15px;\n outline: none;\n box-shadow: none;\n padding: 10px;\n box-sizing: border-box;\n border: 1px solid #efefef;\n border-radius: 3px;\n transition: border .1s;\n}\n\n.emoji-picker-react input.emoji-search:focus {\n border: 1px solid #D6D6D6;\n}\n","aside.emoji-picker-react {\n background: #fff;\n display: flex;\n flex-direction: column;\n height: 320px;\n width: 280px;\n font-family: sans-serif;\n border: 1px solid #efefef;\n border-radius: 5px;\n box-sizing: border-box;\n box-shadow: 0 5px 10px #efefef;\n overflow: hidden;\n position: relative;\n}\n\naside.emoji-picker-react .content-wrapper {\n overflow: hidden;\n position: relative;\n}\n\naside.emoji-picker-react .content-wrapper:before {\n content: attr(data-name);\n color: #aaa;\n font-size: 11px;\n display: block;\n position: absolute;\n right: 15px;\n z-index: 10;\n line-height: 45px;\n max-height: 45px;\n overflow: hidden;\n max-width: 100px;\n text-overflow: ellipsis;\n text-align: right;\n}\n\naside.emoji-picker-react button {\n border: none;\n cursor: pointer;\n outline: none;\n}\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack://EmojiPicker/./src/components/SkinTones/style.css","webpack://EmojiPicker/./src/components/VariationsMenu/style.css","webpack://EmojiPicker/./src/components/CategoriesNav/style.css","webpack://EmojiPicker/./src/components/Emoji/style.css","webpack://EmojiPicker/./src/components/EmojiList/style.css","webpack://EmojiPicker/./src/components/Search/style.css","webpack://EmojiPicker/./src/style.css"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oDAAoD,gBAAgB;AACpE,mDAAmD,gBAAgB;AACnE,mDAAmD,gBAAgB;AACnE,mDAAmD,gBAAgB;AACnE,mDAAmD,gBAAgB;AACnE,mDAAmD,gBAAgB;;ACxCnE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;ACjCA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA","file":"main.css","sourcesContent":[".emoji-picker-react ul.skin-tones-list {\n padding: 0;\n margin: 0;\n list-style-type: none;\n position: absolute;\n top: 13px;\n right: 40px;\n}\n\n.emoji-picker-react ul.skin-tones-list li {\n background-color: currentColor;\n position: absolute;\n padding: 0;\n border-radius: 5px;\n overflow: hidden;\n transition: transform .3s ease;\n box-shadow: 0 0 3px currentColor;\n}\n\n.emoji-picker-react ul.skin-tones-list label {\n height: 10px;\n width: 10px;\n padding: 0;\n display: block;\n cursor: pointer;\n}\n\n.emoji-picker-react ul.skin-tones-list input {\n height: 0;\n width: 0;\n opacity: 0;\n visibility: hidden;\n display: none;\n}\n\n.emoji-picker-react ul.skin-tones-list li.tneutral { color: #ffe082; }\n.emoji-picker-react ul.skin-tones-list li.t1f3fb { color: #ffe0b2; }\n.emoji-picker-react ul.skin-tones-list li.t1f3fc { color: #ffccbc; }\n.emoji-picker-react ul.skin-tones-list li.t1f3fe { color: #795548; }\n.emoji-picker-react ul.skin-tones-list li.t1f3ff { color: #5d4037; }\n.emoji-picker-react ul.skin-tones-list li.t1f3fd { color: #ca7e55; }\n",".emoji-picker-react .variations-wrapper {\n position: relative;\n}\n\n.emoji-picker-react .variations-list {\n background: #F4F4F4;\n border-bottom: 1px solid #efefef;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n z-index: 10;\n margin: 0;\n padding: 0;\n display: flex;\n justify-content: space-evenly;\n list-style-type: none;\n}\n\n.emoji-picker-react .variations-list button {\n height: 35px;\n width: 35px;\n background-size: 20px 20px;\n background-position: 50% 50%;\n background-repeat: no-repeat;\n background-color: transparent;\n border-radius: 5px;\n transition: background .1s;\n}\n\n.emoji-picker-react .variations-list button:hover {\n background-color: #DBDBDB;\n}\n",".emoji-picker-react .emoji-categories button {\n height: 40px;\n width: 20px;\n padding: 5px 0;\n background-repeat: no-repeat;\n background-size: 20px;\n background-position: 50% 50%;\n cursor: pointer;\n opacity: .5;\n transition: opacity .1s;\n}\n\n\n.emoji-picker-react .emoji-categories {\n padding: 0 15px;\n display: flex;\n justify-content: space-between;\n box-sizing: border-box;\n}\n\n.emoji-picker-react .emoji-categories.inactive button,\n.emoji-picker-react .emoji-categories.inactive button.active,\n.emoji-picker-react .emoji-categories.inactive button:hover {\n opacity: .4;\n cursor: default;\n}\n\n.emoji-picker-react .emoji-categories button.active {\n opacity: 1;\n}\n\n.emoji-picker-react .emoji-categories button:hover {\n opacity: .7;\n}\n",".emoji-picker-react .emoji {\n position: relative;\n}\n\n.emoji-picker-react .emoji.has-skin-variation:before {\n content: '';\n display: block;\n height: 5px;\n width: 5px;\n background: #070B17;\n position: absolute;\n top: 0;\n right: 0;\n border-radius: 0 5px 0 0;\n}\n\n.emoji-picker-react .emoji button {\n color: inherit;\n height: 35px;\n width: 35px;\n border-radius: 5px;\n background-size: 20px 20px;\n background-position: 50% 50%;\n background-repeat: no-repeat;\n transition: .1s background;\n}\n\n.emoji-picker-react .emoji button:hover {\n background-color: currentColor;\n}\n",".emoji-picker-react .emoji-group {\n clear: both;\n padding: 0 15px;\n list-style: none;\n margin: 0;\n display: flex;\n flex-flow: row wrap;\n justify-content: space-between;\n}\n\n.emoji-picker-react .emoji-group:before {\n content: attr(data-name);\n color: #aaa;\n font-size: 14px;\n position: sticky;\n background: rgba(255,255,255,0.95);\n width: 100%;\n z-index: 1;\n top: 0;\n text-transform: uppercase;\n line-height: 45px;\n font-weight: 700;\n}\n\n.emoji-picker-react .emoji-group:after {\n content: '';\n flex: 1000;\n order: 99999;\n flex-basis: 25px;\n}\n\n.emoji-picker-react .emoji-scroll-wrapper {\n overflow-y: scroll;\n position: relative;\n height: 100%;\n box-sizing: border-box;\n}\n",".emoji-picker-react input.emoji-search {\n width: calc(100% - 30px);\n margin-left: 15px;\n outline: none;\n box-shadow: none;\n padding: 10px;\n box-sizing: border-box;\n border: 1px solid #efefef;\n border-radius: 3px;\n transition: border .1s;\n}\n\n.emoji-picker-react input.emoji-search:focus {\n border: 1px solid #D6D6D6;\n}\n","aside.emoji-picker-react {\n background: #fff;\n display: flex;\n flex-direction: column;\n height: 320px;\n width: 280px;\n font-family: sans-serif;\n border: 1px solid #efefef;\n border-radius: 5px;\n box-sizing: border-box;\n box-shadow: 0 5px 10px #efefef;\n overflow: hidden;\n position: relative;\n}\n\naside.emoji-picker-react .content-wrapper-epr {\n overflow: hidden;\n position: relative;\n}\n\naside.emoji-picker-react .content-wrapper-epr:before {\n content: attr(data-name);\n color: #aaa;\n font-size: 11px;\n display: block;\n position: absolute;\n right: 15px;\n z-index: 10;\n line-height: 45px;\n max-height: 45px;\n overflow: hidden;\n max-width: 100px;\n text-overflow: ellipsis;\n text-align: right;\n}\n\naside.emoji-picker-react button {\n border: none;\n cursor: pointer;\n outline: none;\n}\n"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emoji-picker-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.1-rc",
|
|
4
4
|
"description": "Emoji picker component for react applications",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "emoji-picker-react.d.ts",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"@babel/plugin-transform-runtime": "^7.6.0",
|
|
39
39
|
"@babel/preset-env": "^7.6.0",
|
|
40
40
|
"@babel/preset-react": "^7.0.0",
|
|
41
|
-
"@storybook/addon-actions": "^
|
|
42
|
-
"@storybook/addon-links": "^
|
|
43
|
-
"@storybook/addons": "^
|
|
44
|
-
"@storybook/react": "^
|
|
41
|
+
"@storybook/addon-actions": "^6.4.18",
|
|
42
|
+
"@storybook/addon-links": "^6.4.18",
|
|
43
|
+
"@storybook/addons": "^6.4.18",
|
|
44
|
+
"@storybook/react": "^6.4.18",
|
|
45
45
|
"babel-loader": "^8.0.6",
|
|
46
46
|
"classnames": "^2.2.6",
|
|
47
47
|
"css-loader": "^3.2.0",
|
|
48
48
|
"emoji-datasource": "^7.0.2",
|
|
49
|
-
"eslint": "^
|
|
49
|
+
"eslint": "^7.5.0",
|
|
50
50
|
"eslint-plugin-import": "^2.18.2",
|
|
51
51
|
"eslint-plugin-react": "^7.14.3",
|
|
52
52
|
"eslint-plugin-react-hooks": "^2.0.1",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"svg-url-loader": "^3.0.2",
|
|
63
63
|
"terser-webpack-plugin": "^2.1.0",
|
|
64
64
|
"webpack": "^4.40.2",
|
|
65
|
-
"webpack-cli": "^3.3.9"
|
|
65
|
+
"webpack-cli": "^3.3.9",
|
|
66
|
+
"tinykeys": "^1.3.0"
|
|
66
67
|
}
|
|
67
68
|
}
|
package/webpack.config.js
CHANGED
|
@@ -41,7 +41,7 @@ module.exports = {
|
|
|
41
41
|
new MiniCssExtractPlugin(),
|
|
42
42
|
new webpack.DefinePlugin({
|
|
43
43
|
DEFAULT_EMOJI_URL: JSON.stringify(
|
|
44
|
-
'https://cdn.jsdelivr.net/npm/emoji-datasource-apple
|
|
44
|
+
'https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64'
|
|
45
45
|
),
|
|
46
46
|
}),
|
|
47
47
|
],
|