Svelte/kit component library for SWR Data Lab charts and interactives.
- Run
npm i --save @swr-data-lab/componentsto install the package - See Storybook for component-level usage examples and documentation.
/components: Central repository for components, utility scripts, and other reusable assets. We use Storybook for previewing and component testing./mock-sveltekit: Sample SvelteKit application for e2e testing and developing the configuration needed to deploy our apps to SWR.de and the SWR Aktuell native app./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 npm 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.