{"id":18852533,"url":"https://github.com/discue/ui-components","last_synced_at":"2025-04-14T10:06:21.062Z","repository":{"id":39215636,"uuid":"485243933","full_name":"discue/ui-components","owner":"discue","description":"Themeable open source Vue.js UI component library of discue.io","archived":false,"fork":false,"pushed_at":"2025-04-13T20:25:33.000Z","size":18121,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T10:06:14.354Z","etag":null,"topics":["asynchronous","asynchronous-programming","components","vue","vuejs"],"latest_commit_sha":null,"homepage":"https://ui.discue.io","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/discue.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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,"zenodo":null}},"created_at":"2022-04-25T06:08:48.000Z","updated_at":"2025-04-13T20:25:37.000Z","dependencies_parsed_at":"2023-10-01T19:40:20.483Z","dependency_job_id":"e9a2fec4-5fd6-4095-acc6-72a662b4eccc","html_url":"https://github.com/discue/ui-components","commit_stats":{"total_commits":705,"total_committers":3,"mean_commits":235.0,"dds":"0.22836879432624113","last_synced_commit":"45f54626980497a48771804557d2b79717901997"},"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discue%2Fui-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discue%2Fui-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discue%2Fui-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discue%2Fui-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discue","download_url":"https://codeload.github.com/discue/ui-components/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860283,"owners_count":21173342,"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":["asynchronous","asynchronous-programming","components","vue","vuejs"],"created_at":"2024-11-08T03:40:25.716Z","updated_at":"2025-04-14T10:06:21.029Z","avatar_url":"https://github.com/discue.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\u003ca href=\"https://www.discue.io/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg width=\"256\" src=\"https://www.discue.io/icons-fire-no-badge-square/web/icon-192.png\" alt=\"Vue logo\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cdiv align=\"center\"\u003e\n\n[![GitHub tag](https://img.shields.io/github/tag/discue/ui-components?include_prereleases=\u0026sort=semver\u0026color=blue)](https://github.com/discue/ui-components/releases/)\n[![Latest Stable Version](https://img.shields.io/npm/v/@discue/ui-components.svg)](https://www.npmjs.com/package/@discue/ui-components)\n[![License](https://img.shields.io/npm/l/@discue/ui-components.svg)](https://www.npmjs.com/package/@discue/ui-components)\n\u003cbr/\u003e\n[![NPM Downloads](https://img.shields.io/npm/dt/@discue/ui-components.svg)](https://www.npmjs.com/package/@discue/ui-components)\n[![NPM Downloads](https://img.shields.io/npm/dm/@discue/ui-components.svg)](https://www.npmjs.com/package/@discue/ui-components)\n\u003cbr/\u003e\n[![contributions - welcome](https://img.shields.io/badge/contributions-welcome-blue)](/CONTRIBUTING.md \"Go to contributions doc\")\n[![Made with Node.js](https://img.shields.io/badge/Node.js-\u003e=16-blue?logo=node.js\u0026logoColor=white)](https://nodejs.org \"Go to Node.js homepage\")\n\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n# ui-components\n\nA collection of **themeable** vue.js components used in discue.io.\n\n## 📦 Installation\n\nInstall the package via npm:\n\n```bash\n  npm install @discue/ui-components\n```\n\n## 🚀 Usage\nIn your component files, import any ui component from the main export and use it in your template. \n\n```vue\n\u003ctemplate\u003e\n    \u003cNavLink href=\"#pricing\"\u003eGo to pricing\u003c/NavLink\u003e\n\u003c/template\u003e\n\n\u003cscript setup\u003e\nimport { NavLink } from '@discue/ui-components'\n\u003c/script\u003e\n```\n\nThe list of currently available components can be found at [ui.discue.io](https://ui.discue.io/components/back-to-top.html).\n\n## ✨ Theming\nTo change the default theme, register the module as a [Vue Plugin](https://vuejs.org/guide/reusability/plugins.html#introduction) and pass an object with theme properties. Valid theme property keys can be found in [theme.js](src/theme.js) and [theme-keys.js](src/theme-keys.js).\n\n```js\nimport { theme } from '@discue/ui-components'\nimport { createApp } from 'vue'\nimport App from './App.vue'\n\ncreateApp(App)\n    .use(theme, {\n        [theme.TEXT_COLOR_DEFAULT]: 'text-gray-500'\n    })\n    .mount('#app')\n```\n\n## 🧪 Running Tests\n\nTo run tests, run the following command\n\n```bash\n  npm run test:unit\n```\n\n## 📄 License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscue%2Fui-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscue%2Fui-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscue%2Fui-components/lists"}