{"id":13451934,"url":"https://github.com/nrkno/core-components","last_synced_at":"2025-03-23T19:33:18.772Z","repository":{"id":31121245,"uuid":"107238052","full_name":"nrkno/core-components","owner":"nrkno","description":"Accessible and lightweight Javascript components","archived":true,"fork":false,"pushed_at":"2024-04-08T07:47:10.000Z","size":3433,"stargazers_count":117,"open_issues_count":0,"forks_count":10,"subscribers_count":87,"default_branch":"master","last_synced_at":"2024-09-01T06:06:14.176Z","etag":null,"topics":["a11y","accessibility","accordion","autocomplete","calendar","datepicker","dialog","dropdown","input","javascript","lightweight","progress-bar","react","scroll","tabs","vanilla-js"],"latest_commit_sha":null,"homepage":"https://static.nrk.no/core-components/latest/","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/nrkno.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-17T08:12:06.000Z","updated_at":"2024-05-29T10:02:16.000Z","dependencies_parsed_at":"2023-02-12T20:00:56.727Z","dependency_job_id":"dfadee6e-12b5-4430-9149-42010d464a80","html_url":"https://github.com/nrkno/core-components","commit_stats":{"total_commits":974,"total_committers":27,"mean_commits":"36.074074074074076","dds":0.7084188911704312,"last_synced_commit":"72f0dc2c90c516775a232349e538701188352fb7"},"previous_names":[],"tags_count":130,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fcore-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fcore-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fcore-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fcore-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nrkno","download_url":"https://codeload.github.com/nrkno/core-components/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221900704,"owners_count":16898986,"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":["a11y","accessibility","accordion","autocomplete","calendar","datepicker","dialog","dropdown","input","javascript","lightweight","progress-bar","react","scroll","tabs","vanilla-js"],"created_at":"2024-07-31T07:01:07.390Z","updated_at":"2024-10-28T18:30:24.559Z","avatar_url":"https://github.com/nrkno.png","language":"TypeScript","readme":"# @nrk/core-components\n\n## Arkivert\n\nNRK har stoppet aktiv forvaltning og videreutvikling av Core-components. Eventuelle issues og pull-requests vil ikke bli besvart.\n\nVi anbefaler å undersøke om for eksempel [u-elements](https://u-elements.github.io/u-elements/) kan benyttes som erstatning.\n\n## Archived\n\nNRK is no longer actively maintaining and developing Core-components. New issues or pull-requests will not be considered.\n\nWe recommend looking into [u-elements](https://u-elements.github.io/u-elements/) as a possible replacement.\n\n---\n\n[![Playwright Tests](https://github.com/nrkno/core-components/actions/workflows/playwright.yml/badge.svg)](https://github.com/nrkno/core-components/actions/workflows/playwright.yml)\n\n\u003e A kit of lightweight, unstyled and accessible [Javascript](https://stackoverflow.com/questions/20435653/what-is-vanillajs) and [React](https://reactjs.org/) / [Preact](https://github.com/developit/preact-compat) components.\n\u003e It provides effortless and flexible usage, while under the hood enhancing markup and functionality for best best user experience across all major browsers and screen readers.\n\n## Documentation\n\nhttps://static.nrk.no/core-components/latest/\n\n## Local development\n\nFirst clone `@nrk/core-components` and install its dependencies:\n\n```bash\ngit clone git@github.com:nrkno/core-components.git\ncd core-components\nnpm install # Installs dependencies for all packages\nnpm start # Your browser will open documentation with hot reloading\n```\n\n## Testing with Playwright\n\nTests in this project are written using Playwright and are executed against major browser engines including Chromium, WebKit, and Firefox.\n\n### Local Testing\n\nTo run tests from the command line, use the following npm command:\n\n```sh\nnpm run test\n```\n\nYou can enhance your testing experience in VSCode by using the [Playwright Test for VSCode](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright) plugin.\n\n### Testing in GitHub Actions\n\nThe GitHub Actions workflow has been configured to automatically execute Playwright tests in response to changes being pushed to the master branch, as well as when code is pushed upstream to pull requests.\n\nAdditionally, it generates test reports and summaries, which are made available as artifacts for the purpose of reviewing and analyzing the test results. Artifacts have a retention period of 30 days.\n\n## Building and committing\n\nAfter having applied changes, remember to build before pushing the changes upstream.\n\n```bash\ngit checkout -b feature/my-changes\n# update the source code\nnpm run build\ngit commit -am \"\u003cprefix\u003e: Add my changes\"\ngit push --set-upstream origin feature/my-changes\n# then make PR to the master branch,\n# and assign a developer to review your code\n```\n\n## Publishing\n\n```bash\nnpm run publish:minor -- --core-input --core-toggle # Specify packages to publish\n```\n\n\u003e NOTE! Please also make sure to keep commits small and clean (that the commit message actually refers to the updated files).\n\u003e Stylistically, make sure the commit message is **Capitalized** and **starts with a verb in the present tense** (for example `Add minification support`).\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrkno%2Fcore-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnrkno%2Fcore-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrkno%2Fcore-components/lists"}