{"id":15067456,"url":"https://github.com/ivansotelo/vuefeedbackreaction","last_synced_at":"2025-03-03T06:04:54.049Z","repository":{"id":35053878,"uuid":"200881152","full_name":"IvanSotelo/VueFeedbackReaction","owner":"IvanSotelo","description":"Helps you to collect feedback and leads using the most spoken language in the world: the emoji.","archived":true,"fork":false,"pushed_at":"2025-02-18T01:48:16.000Z","size":1710,"stargazers_count":106,"open_issues_count":11,"forks_count":21,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-03T06:00:03.936Z","etag":null,"topics":["emoji","feedback","reaction","vue"],"latest_commit_sha":null,"homepage":"https://ivansotelo.github.io/VueFeedbackReaction/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IvanSotelo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-06T15:46:28.000Z","updated_at":"2025-02-27T02:16:29.000Z","dependencies_parsed_at":"2024-06-19T12:12:46.168Z","dependency_job_id":"fddcfa8c-ca5b-423f-8b93-faf5001fbec2","html_url":"https://github.com/IvanSotelo/VueFeedbackReaction","commit_stats":{"total_commits":54,"total_committers":6,"mean_commits":9.0,"dds":"0.42592592592592593","last_synced_commit":"f20eee2c113db615f69b90e4cd8c267a91e482cc"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSotelo%2FVueFeedbackReaction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSotelo%2FVueFeedbackReaction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSotelo%2FVueFeedbackReaction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSotelo%2FVueFeedbackReaction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IvanSotelo","download_url":"https://codeload.github.com/IvanSotelo/VueFeedbackReaction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616701,"owners_count":19991543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emoji","feedback","reaction","vue"],"created_at":"2024-09-25T01:24:13.655Z","updated_at":"2025-03-03T06:04:54.030Z","avatar_url":"https://github.com/IvanSotelo.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VueFeedbackReaction\n\n\u003e Helps you to collect feedback and leads using the most spoken language in the world: the emoji.\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/afda1cbc405d4ef2844920e9c46772df)](https://www.codacy.com/manual/IvanSotelo/VueFeedbackReaction?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=IvanSotelo/VueFeedbackReaction\u0026amp;utm_campaign=Badge_Grade)\n[![NPMVERSION](https://img.shields.io/npm/v/vue-feedback-reaction.svg)](http://npmjs.com/package/vue-feedback-reaction) [![GITHUBSTARS](https://img.shields.io/github/stars/IvanSotelo/VueFeedbackReaction.svg)](https://github.com/IvanSotelo/VueFeedbackReaction/stargazers) [![MadeWithVueJs.com shield](https://madewithvuejs.com/storage/repo-shields/1774-shield.svg)](https://madewithvuejs.com/p/vuefeedbackreaction/shield-link) [![BUILD](https://travis-ci.org/IvanSotelo/VueFeedbackReaction.svg?branch=master)](https://travis-ci.org/IvanSotelo/VueFeedbackReaction) [![DOWNLOADS](https://img.shields.io/npm/dt/vue-feedback-reaction.svg)](https://npmjs.com/package/vue-feedback-reaction)\n[![Build Status](https://github.com/IvanSotelo/VueFeedbackReaction/workflows/Build/badge.svg)](https://github.com/IvanSotelo/VueFeedbackReaction/actions)\n\nThis project is inspired by [Feedback Reactions](https://dribbble.com/shots/4793955-Feedback-Reactions) from [Mohammad Amiri](https://dribbble.com/pixelamiri)\n\n## Installation\n\n``` bash\n# Install with npm\n$ npm i -S vue-feedback-reaction\n\n# or yarn\n$ yarn add vue-feedback-reaction\n```\n\n**Note:** This project exports two components, VueFeedBackReaction, which is the feedback component itself, and VueReactionEmoji, if you'd like to use a single emoji. If you install using `Vue.use`, you will **only** get VueFeedbackReaction component.\n\n## Usage\n\n### VueFeedbackReaction\n\n``` vue\n\u003ctemplate\u003e\n  \u003cdiv class=\"app\"\u003e\n    \u003cvue-feedback-reaction v-model=\"feedback\" /\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n  import { VueFeedbackReaction } from 'vue-feedback-reaction';\n\n  export default {\n    name: 'demo',\n    components: {\n      VueFeedbackReaction\n    },\n    data: () =\u003e ({\n      feedback: ''\n    })\n  };\n\u003c/script\u003e\n```\n\n### Props\n\n| Property name   | Type                  | Default | Description                                                                        |\n|-----------------|-----------------------|---------|------------------------------------------------------------------------------------|\n| value           | String, Number        | ''      | Input value (v-model)                                                              |\n| labels          | Array                 | []      | Array of strings that set labels below each emoji reaction, starting from the left |\n| labelClass      | Object, Array, String | ''      | Only works if you are using the labels prop. Set a v-bind:class to all the labels  |\n| emojiWidth      | String, Number        | ''      | Set a width for all emojis                                                         |\n| emojiHeight     | String, Number        | ''      | Set a height for all emojis                                                        |\n| containerWidth  | String, Number        | ''      | Set the containers width                                                           |\n| containerHeight | String, Number        | ''      | Set the containers height                                                          |\n\n### VueReactionEmoji\n\n``` vue\n\u003ctemplate\u003e\n  \u003cdiv class=\"app\"\u003e\n    \u003cvue-reaction-emoji :reaction=\"reaction\" :is-active=\"isActive\" :is-disabled=\"isDisabled\" /\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n  import { VueReactionEmoji } from 'vue-feedback-reaction';\n\n  export default {\n    name: 'demo',\n    components: {\n      VueReactionEmoji\n    },\n    data: () =\u003e ({\n      reaction: 'natural',\n      isActive: false,\n      isDisabled: false\n    })\n  };\n\u003c/script\u003e\n```\n\n### Props\n\n| Property name   | Type           | Default   | Description                                                                                    |\n|-----------------|----------------|-----------|------------------------------------------------------------------------------------------------|\n| reaction        | String         | 'natural' | Reaction of the emoji. Must be either `hate`, `disappointed`, `natural`, `good` or `excellent` |\n| is-active       | Boolean        | false     | If you want the emoji to start with it's active state, set it to `true`                        |\n| is-disabled     | Boolean        | false     | If you want the emoji to have **no** hover or click state, set it to `true`                    |\n| width           | String, Number | ''        | Set the emojis width                                                                           |\n| height          | String, Number | ''        | Set the emojis height                                                                          |\n\n### Events\n\nIt emits an `@input` event when you click an emoji, if `is-disabled` is set to `false`.\n\n## License\n\n```\nThe MIT License (MIT)\n\nCopyright (c) 2019 Ivan Sotelo Vargas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivansotelo%2Fvuefeedbackreaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivansotelo%2Fvuefeedbackreaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivansotelo%2Fvuefeedbackreaction/lists"}