{"id":18348681,"url":"https://github.com/paraboly/pwc-tooltip","last_synced_at":"2025-04-06T09:31:43.657Z","repository":{"id":57135125,"uuid":"215044618","full_name":"Paraboly/pwc-tooltip","owner":"Paraboly","description":"Fully customizable tooltip web component with StencilJS via Paraboly","archived":false,"fork":false,"pushed_at":"2019-10-25T13:04:44.000Z","size":237,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T21:11:55.332Z","etag":null,"topics":["html","pwc-tooltip","tooltip","web-component"],"latest_commit_sha":null,"homepage":"https://paraboly.com","language":"CSS","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/Paraboly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-14T12:58:14.000Z","updated_at":"2020-05-16T02:16:30.000Z","dependencies_parsed_at":"2022-09-04T09:00:47.029Z","dependency_job_id":null,"html_url":"https://github.com/Paraboly/pwc-tooltip","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Fpwc-tooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Fpwc-tooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Fpwc-tooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Fpwc-tooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Paraboly","download_url":"https://codeload.github.com/Paraboly/pwc-tooltip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463744,"owners_count":20942935,"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":["html","pwc-tooltip","tooltip","web-component"],"created_at":"2024-11-05T21:18:48.309Z","updated_at":"2025-04-06T09:31:43.385Z","avatar_url":"https://github.com/Paraboly.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D\u0026colorA=16161d\u0026style=for-the-badge)\n\n\u003cimg alt=\"WebComponent PWC Tooltip\" src=\"assets/logo.png\" width=\"1050\"/\u003e\n\n\n[![Fully customizable tooltip web component with StencilJS via Paraboly](https://img.shields.io/badge/-Fully%20customizable%20tooltip%20web%20component%20with%20StencilJS%20via%20Paraboly-lightgrey?style=for-the-badge)](https://github.com/Paraboly/pwc-tooltip)\n\n\n[![npm version](https://img.shields.io/npm/v/@paraboly/pwc-tooltip.svg?style=for-the-badge)](https://www.npmjs.com/package/@paraboly/pwc-tooltip)\n[![npm](https://img.shields.io/npm/dt/@paraboly/pwc-tooltip.svg?style=for-the-badge)](https://www.npmjs.com/package/@paraboly/pwc-tooltip)\n![Platform - Platform Free Web](https://img.shields.io/badge/-Web%20%7C%20Platform%20Free-blue?style=for-the-badge)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)\n\n\n\n## Basic Tooltip Screenshots \n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"WebComponent PWC Tooltip\" src=\"assets/basic-left.png\" width=\"40%\" height=\"40%\" /\u003e\n  \u003cimg alt=\"WebComponent PWC Tooltip\" src=\"assets/basic-right.png\" width=\"40%\" height=\"40%\" /\u003e\n  \u003cimg alt=\"WebComponent PWC Tooltip\" src=\"assets/basic-top.png\" width=\"35%\" height=\"35%\" /\u003e\n  \u003cimg alt=\"WebComponent PWC Tooltip\" src=\"assets/basic-bottom.png\" width=\"28%\" height=\"28%\" /\u003e\n\u003c/p\u003e\n\n## Custom Image Screenshot\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"WebComponent PWC Tooltip\" src=\"assets/custom-image.png\" width=\"35%\" height=\"35%\" /\u003e\n\u003c/p\u003e\n\n\n## Custom Slot (Children) Screenshot (Your own design)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"WebComponent PWC Tooltip\" src=\"assets/custom-slot.png\" width=\"65%\" height=\"65%\" /\u003e\n\u003c/p\u003e\n\n\n## [Live Codepen Example](https://codepen.io/wrathchaos/pen/jOOBKqr)\n\n\u003c/br\u003e\n\n## Installation\n\n### Script tag\n\n- Put a script tag similar to this `\u003cscript\ttype=\"module\" src=\"https://unpkg.com/@paraboly/pwc-tooltip@latest/dist/pwc-tooltip/pwc-tooltip.esm.js\"\u003e\u003c/script\u003e` in the head of your index.html\n- Then you can use the element anywhere in your template, JSX, html etc\n\n### Node Modules\n- Run `npm install @paraboly/pwc-tooltip --save`\n- Put a script tag similar to this `\u003cscript src='node_modules/@paraboly/pwc-tooltip/dist/pwc-tooltip.js'\u003e\u003c/script\u003e` in the head of your index.html\n- Then you can use the element anywhere in your template, JSX, html etc\n\n### In a stencil-starter app\n- Run `npm install @paraboly/pwc-tooltip --save`\n- Add an import to the npm packages `import @paraboly/pwc-tooltip;`\n- Then you can use the element anywhere in your template, JSX, html etc\n\n\n# Usage\n\n## Basic Tooltip Usage\n\n```html\n\u003cpwc-tooltip\n    tooltip-alignment=\"bottom\"\n    tooltip-text=\"Basic Tooltip\"\n\u003e\u003c/pwc-tooltip\u003e\n```\n\n## Custom Image Tooltip Usage\n\n```html\n\u003cpwc-tooltip\n  source-width=\"100\"\n  source-height=\"100\"\n  tooltip-alignment=\"bottom\"\n  tooltip-text=\"Custom Image Source\"\n  tooltip-source=\"../../assets/blog.svg\"\n\u003e\n\u003c/pwc-tooltip\u003e\n```\n\n## Custom Children Design (Slot) Usage\n\n```html\n\u003cpwc-tooltip\n  tooltip-alignment=\"right\"\n  tooltip-text=\"\"\n  background-color=\"transparent\"\n\u003e\n  \u003cdiv class=\"container\"\u003e\n    \u003cimg\n      class=\"img-container\"\n      src=\"https://images.unsplash.com/photo-1516093491926-a4c43060540a?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=2709\u0026q=80\"\n    /\u003e\n    \u003cdiv class=\"content-style\"\u003e\n      \u003ch3 class=\"h3-style\"\u003e\n        Awesome Title\n      \u003c/h3\u003e\n      \u003cul class=\"ul-style\"\u003e\n        \u003cli\u003e\n          It is a long established fact that a reader will be distracted by\n          the readable\n        \u003c/li\u003e\n        \u003cli\u003e\n          Lorem Ipsum is simply dummy text of the printing and typesetting\n          industry.\n        \u003c/li\u003e\n        \u003cli\u003e\n          Contrary to popular belief, Lorem Ipsum is not simply random text.\n        \u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/pwc-tooltip\u003e\n```\n\n## Authors\n\nFreakyCoder, kuray.ogun@paraboly.com | kurayogun@gmail.com\n\n## License\n\nWebComponent PWC PWC Tooltip is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaboly%2Fpwc-tooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparaboly%2Fpwc-tooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaboly%2Fpwc-tooltip/lists"}