Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 2.39 KB

File metadata and controls

24 lines (15 loc) · 2.39 KB

Chart Components

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

Package version Deploy Storybook Run Storybook Tests Release to NPM

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 reusable components, utility scripts, and other reusable assets. We use Storybook for previewing and component-level testing.
  2. /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.
  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