Skip to content

SWRdata/components

Repository files navigation

Chart Components

Svelte/kit component library for SWR Data Lab charts and interactives.

Package version deploy storybook component tests e2e tests release

Usage

  • Run npm i --save @swr-data-lab/components to install the package
  • See Storybook for component-level usage examples and documentation.

Contributing

Project structure

  1. /components: Central repository for components, utility scripts, and other reusable assets. We use Storybook for previewing and component testing.
  2. /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.
  3. /mock-sophora: Testing environment designed to mimic the SWR.de environment, featuring defunkt/jquery-pjax navigation, global styles and server-side includes.
  4. /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.

Release workflow

About

Component library for SWR Data Lab interactives

Resources

Stars

Watchers

Forks

Contributors