Component library for SWR Data Lab interactives.
Run npm install --save @swr-data-lab/components to install the package
See also this sample repository. Refer to Storybook for component-level usage examples and documentation.
/components: Central repository for reusable components, utility scripts, and other reusable assets. We use Storybook for previewing and component-level testing./mock-sveltekit: Sample SvelteKit application used to test our components and develop the configuration needed to build our applications for SWR.de, the SWR Aktuell native app and wherever else they need to go./mock-sophora: Testing environment designed to mimic the SWR.de environment, featuringdefunkt/jquery-pjaxnavigation, global styles and server-side includes./sophora-components: Experimental components that are intended to be used directly within SWR.de articles and pages via the "Datenjournalismus" module in the Sophora CMS.
- We use semantic-release to create releases and publish to the NPM registry on commit to 
main. - Only conventional commits trigger new releases. Prefix your commit message with 
fix:for a patch,feat:for a minor and!:for a major version bump. See also semantic-release docs.