diff --git a/docs/.vuepress/components/TwemojiTextarea.vue b/docs/.vuepress/components/TwemojiTextarea.vue index 1c61dfa7..6ba5bd44 100644 --- a/docs/.vuepress/components/TwemojiTextarea.vue +++ b/docs/.vuepress/components/TwemojiTextarea.vue @@ -11,6 +11,9 @@ idTextarea="idTextarea" pickerWidth="#idTextarea" :pickerArrowEnabled="false" + :pickerPaddingOffset="0" + componentColor="#F7F7F7" + placeholder="Type here..." > diff --git a/docs/docs/changelog/index.md b/docs/docs/changelog/index.md index afd87ee3..65d9c0b6 100644 --- a/docs/docs/changelog/index.md +++ b/docs/docs/changelog/index.md @@ -4,6 +4,9 @@ title: 'Changelog' # Changelog +## 5.7.4 +- Minor style bugfix for components + ## 5.7.3 - Style update for TwemojiPicker diff --git a/docs/docs/twemoji-textarea-api/index.md b/docs/docs/twemoji-textarea-api/index.md index c0054055..d9a37e7c 100644 --- a/docs/docs/twemoji-textarea-api/index.md +++ b/docs/docs/twemoji-textarea-api/index.md @@ -35,7 +35,7 @@ The value of this prop represents whether the textarea is enabled. ### componentColor - Type: ``string`` -- Default: ``'#f0f0f0'`` +- Default: ``'#F7F7F7'`` - Valid Props: ``Any CSS valid color.`` Define the component color style. diff --git a/package.json b/package.json index 6e261475..0468d778 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kevinfaguiar/vue-twemoji-picker", - "version": "5.7.3", + "version": "5.7.4", "main": "dist/vue-twemoji-picker.umd.min.js", "module": "dist/vue-twemoji-picker.esm.min.js", "unpkg": "dist/vue-twemoji-picker.min.js", @@ -49,7 +49,7 @@ "vue": "^2.6.11" }, "devDependencies": { - "@kevinfaguiar/vue-twemoji-picker": "^5.7.1", + "@kevinfaguiar/vue-twemoji-picker": "^5.7.3", "@rollup/plugin-commonjs": "^11.1.0", "@rollup/plugin-image": "^2.0.4", "@rollup/plugin-node-resolve": "^7.1.3", diff --git a/src/components/Sandbox.vue b/src/components/Sandbox.vue index 59188092..eac08223 100644 --- a/src/components/Sandbox.vue +++ b/src/components/Sandbox.vue @@ -36,6 +36,7 @@ pickerWidth="#idTextarea" :randomEmojiArray="randomEmojiArray" :emojiPickerDisabled="emojiPickerDisabled" + :textareaDisabled="textareaDisabled" > @@ -64,7 +65,7 @@ @import '../assets/simple-grid.css'; body { - background-color: #fafafa; + background-color: #ffffff; } a { @@ -121,6 +122,7 @@ export default Vue.extend({ content: '', randomEmojiArray: ['😀'], emojiPickerDisabled: false, + textareaDisabled: false, }; }, mounted() { @@ -186,6 +188,7 @@ export default Vue.extend({ }, onClickTest() { this.emojiPickerDisabled = !this.emojiPickerDisabled; + this.textareaDisabled = !this.textareaDisabled; }, testChangeIsPickerOpen1() { this.$refs.picker.isPickerOpen = !this.$refs.picker.isPickerOpen; diff --git a/src/components/TwemojiPicker/TwemojiPicker.vue b/src/components/TwemojiPicker/TwemojiPicker.vue index dc03eac4..be763029 100644 --- a/src/components/TwemojiPicker/TwemojiPicker.vue +++ b/src/components/TwemojiPicker/TwemojiPicker.vue @@ -37,7 +37,7 @@