{"id":21721634,"url":"https://github.com/polydile/dile-checkbox","last_synced_at":"2025-07-18T17:30:39.268Z","repository":{"id":35002497,"uuid":"195463076","full_name":"Polydile/dile-checkbox","owner":"Polydile","description":"Web component chekbox element. Based on LitElement","archived":true,"fork":false,"pushed_at":"2025-02-19T18:29:51.000Z","size":2439,"stargazers_count":2,"open_issues_count":21,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T04:42:24.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Polydile.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-07-05T20:18:57.000Z","updated_at":"2025-02-19T18:30:11.000Z","dependencies_parsed_at":"2023-01-15T11:49:31.894Z","dependency_job_id":null,"html_url":"https://github.com/Polydile/dile-checkbox","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Polydile/dile-checkbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-checkbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-checkbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-checkbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-checkbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polydile","download_url":"https://codeload.github.com/Polydile/dile-checkbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-checkbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265801585,"owners_count":23830438,"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":[],"created_at":"2024-11-26T02:18:09.141Z","updated_at":"2025-07-18T17:30:39.259Z","avatar_url":"https://github.com/Polydile.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moved\n\n**This package has moved** and is now available at [@dile/ui](https://github.com/Polydile/dile-components). Please update your dependencies. This repository is no longer maintained. You can read the documentation at [Dile Components](https://dile-components.com/).\n\n# \\\u003cdile-checkbox\u003e\n\nWeb Component to create a customized checkbox input interface, based on LitElement.\n\nLet's [go to DEMOS page](https://dile-checkbox.polydile.com)!\n\n## Installation\n```bash\nnpm i dile-checkbox\n```\n\n## Usage\n```html\n\u003cscript type=\"module\"\u003e\n  import 'dile-checkbox/dile-checkbox.js';\n\u003c/script\u003e\n\n\u003cdile-checkbox\u003eLabel for the element\u003c/dile-checkbox\u003e\n```\n\n### Properties\n\n- **checked**: Boolean, defines the checkbox state.\n- **disabled**: Boolean, mark checkbox as disabled.\n\n### Custom events\n\n- **dile-checkbox-changed**: Every time the checkbox changes emits a dile-checkbox-changed event. The checkbox current state is received in the handler usign the event object \"detail\" property.\n\n### CSS Custom Properties\n\nYou can customize it using CSS Custom Properties.\n\nCustom property | Description | Default\n----------------|-------------|---------\n--dile-checkbox-checked-color | Checked color for check control | #30a030\n--dile-checkbox-unchecked-color | Unchecked color for check control | #ccc\n--dile-checkbox-fill-color | Fill color for the check control | #fff\n--dile-checkbox-unchecked-fill-color | Checked color for check control when is in unchecked status| #fff\n--dile-checkbox-label-color | label regular color | #303030\n--dile-checkbox-label-disabled-color | Label color for disabled status | #303030\n--dile-checkbox-font-weight | Font weight for te label | normal\n--dile-checkbox-size | Checkbox size | 20px\n```\n\u003cstyle\u003e\n.customized {\n  --dile-checkbox-checked-color: #006;\n  --dile-checkbox-unchecked-color: #f66;\n  --dile-checkbox-fill-color: #fcc;\n  --dile-checkbox-unchecked-fill-color: #666;\n  --dile-checkbox-label-color: #c57;\n  --dile-checkbox-font-weight: bold;\n  --dile-checkbox-label-disabled-color: #ddd;\n}\n\u003c/style\u003e\n\n\u003cdile-checkbox checked class=\"customized\"\u003eMark as urgent\u003c/dile-checkbox\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolydile%2Fdile-checkbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolydile%2Fdile-checkbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolydile%2Fdile-checkbox/lists"}