{"id":22683709,"url":"https://github.com/andregoncalves/stencil-timepicker","last_synced_at":"2026-05-11T02:27:19.658Z","repository":{"id":57370755,"uuid":"122498950","full_name":"andregoncalves/stencil-timepicker","owner":"andregoncalves","description":"st-timepicker is a web component built with Stencil to add a simple time picker with a select/dropdown list.","archived":false,"fork":false,"pushed_at":"2018-06-21T14:03:37.000Z","size":81,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T12:17:43.468Z","etag":null,"topics":["jsx","stencil","time-picker","webcomponents"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/andregoncalves.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":"2018-02-22T15:42:13.000Z","updated_at":"2018-12-02T06:28:32.000Z","dependencies_parsed_at":"2022-09-07T13:00:20.404Z","dependency_job_id":null,"html_url":"https://github.com/andregoncalves/stencil-timepicker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andregoncalves%2Fstencil-timepicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andregoncalves%2Fstencil-timepicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andregoncalves%2Fstencil-timepicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andregoncalves%2Fstencil-timepicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andregoncalves","download_url":"https://codeload.github.com/andregoncalves/stencil-timepicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200301,"owners_count":20739563,"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":["jsx","stencil","time-picker","webcomponents"],"created_at":"2024-12-09T21:13:12.787Z","updated_at":"2026-05-11T02:27:19.625Z","avatar_url":"https://github.com/andregoncalves.png","language":"TypeScript","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=flat-square)\n\n# st-timepicker\n\nst-timepicker is a web component built with [Stencil](https://stenciljs.com/) to add a simple time picker with a select/dropdown list.\n\n## Demo\n\n## Getting Started\n\nTo try this component:\n\n```bash\ngit clone git@github.com:andregoncalves/stencil-timepicker.git\ncd stencil-timepicker\ngit remote rm origin\n```\n\nand run:\n\n```bash\nnpm install\nnpm start\n```\n\n## Using this component\n\n### Script tag\n\n\n- Put `\u003cscript src='https://unpkg.com/stencil-timepicker@latest/dist/timepicker.js'\u003e\u003c/script\u003e` in the head of your index.html\n- Then you can use the component\n\n### Node Modules\n- Run `npm install stencil-timepicker --save`\n- Put a script tag similar to this `\u003cscript src='node_modules/stencil-timepicker/dist/timepicker.js\u003e\u003c/script\u003e` in the head of your index.html\n- Then you can use the element `\u003cst-timepicker\u003e` anywhere in your template, JSX, html etc\n\n### In a stencil-starter app\n- Run `npm install stencil-timepicker --save`\n- Add this import to your root component or root module: `import 'stencil-timepicker'`;\n- Then you can use the element `\u003cst-timepicker\u003e` anywhere in your template, JSX, html etc\n\n## Parameters\n\nAttribute | Default | Description\n------------ | ------------- | -------------\nselected | '' | The selected time\nstep | 15 | The step minute interval\nclock24 | false | Choose between 24 or 12 hour clock\nlabel | 'Pick a time' | Label to display when nothing is selected\n\n## Methods\n\n## Events\n\n\n## Example usage\n\n```html\n\u003cst-timepicker name=\"picker1\" selected=\"05:00 AM\" class=\"my-class\" label=\"Choose time\"\u003e\u003c/st-timepicker\u003e\n\u003cst-timepicker name=\"picker2\" selected=\"16:05\" step=\"5\" clock24\u003e\u003c/st-timepicker\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandregoncalves%2Fstencil-timepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandregoncalves%2Fstencil-timepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandregoncalves%2Fstencil-timepicker/lists"}