{"id":23039372,"url":"https://github.com/javadbat/jb-mobile-input","last_synced_at":"2025-10-28T16:47:26.370Z","repository":{"id":62464949,"uuid":"559498651","full_name":"javadbat/jb-mobile-input","owner":"javadbat","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-11T16:54:13.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-11T17:39:43.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javadbat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-10-30T10:02:43.000Z","updated_at":"2024-12-11T16:54:18.000Z","dependencies_parsed_at":"2024-06-15T09:42:36.974Z","dependency_job_id":"79b5ffcd-4383-409a-a5b9-30daa85b6ead","html_url":"https://github.com/javadbat/jb-mobile-input","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"a719b58525d28de74506f5b8b4b295e6307e4aab"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javadbat%2Fjb-mobile-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javadbat%2Fjb-mobile-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javadbat%2Fjb-mobile-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javadbat%2Fjb-mobile-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javadbat","download_url":"https://codeload.github.com/javadbat/jb-mobile-input/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229714056,"owners_count":18112642,"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-12-15T18:31:00.058Z","updated_at":"2025-10-28T16:47:26.361Z","avatar_url":"https://github.com/javadbat.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jb-mobile-input web component\n\nsuperset component on [jb-input](https://github.com/javadbat/jb-input) , just for mobile number input with extra filter and ready to use validator.\n- dont accept non-number char\n- accept persian number char\n- type heading `09` in case of user missing it and always give you the number in the same format.\n- have ready to use inside validator with [jb-validation](https://github.com/javadbat/jb-validation)\n\nDemo in codepen: [jb-mobile-input](https://codepen.io/javadbat/pen/eYwZQjV)\n\n## using with JS frameworks\n\nto use this component in **react** see [`jb-mobile-input/react`](https://github.com/javadbat/jb-mobile-input/tree/main/react);\n\n## Installation\n\n```sh\nnpm install jb-mobile-input\n```\n\n## Usage\n\n```js\nimport 'jb-mobile-input';\n```\nor by using cdn\n\n```html\n\u003cscript src=\"https://unpkg.com/jb-mobile-input/dist/jb-mobile-input.umd.js\"\u003e\u003c/script\u003e\n```\n\n```html\n\u003cjb-mobile-input\u003e\u003c/jb-mobile-input\u003e\n```\n\nto learn more information about this component and how to customize it like events, validation, styling,... just read [jb-input](https://github.com/javadbat/jb-input).\n\n## styling\nall styles come from [jb-input](https://github.com/javadbat/jb-input) except `--jb-mobile-input-input-direction` this may be set if you want your input to be rtl (not recommended).\n\n## Other Related Docs:\n\n- see [`jb-mobile-input/react`](https://github.com/javadbat/jb-mobile-input/tree/main/react) if you want to use this component as a ReactJS component.\n\n- see [All JB Design system Component List](https://javadbat.github.io/design-system/) for more components\n\n- use [Contribution Guide](https://github.com/javadbat/design-system/blob/main/docs/contribution-guide.md) if you want to contribute in this component.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavadbat%2Fjb-mobile-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavadbat%2Fjb-mobile-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavadbat%2Fjb-mobile-input/lists"}