62.21.0 • Published 12 days ago

@dso-toolkit/react v62.21.0

Weekly downloads
25
License
-
Repository
github
Last release
12 days ago

This project is using Percy.io for visual regression testing. npm version Build status master branch

DSO Toolkit - Design System van het Digitaal Stelsel Omgevingswet (DSO)

De DSO Toolkit bestaat uit documentatie en een stijlgids. Daarnaast worden er twee implementaties geleverd: CSS en Web Components. De Web Components krijgen voor Angular en React wrappers, zie issue #915.

De deliverables van de DSO Toolkit:

  • Handleiding: Een handleiding voor elke versie op https://www.dso-toolkit.nl/
  • CDN: Een CDN op https://cdn.dso-toolkit.nl/, voor documentatie zie verderop in deze README
  • NPM package @dso-toolkit/styling: Een incomplete CSS implementatie van de DSO stijlset geschreven in SCSS
  • NPM package dso-toolkit: De handleiding en complete CSS implementatie van de DSO stijlset.

We zijn bezig met het verhuizen van de styling van dso-toolkit naar @dso-toolkit/styling. Zodra die verhuizing is afgerond zal dso-toolkit worden deprecated en moeten implementaties overstappen naar @dso-toolkit/styling. De componenten zoals die worden aangeboden op https://www.dso-toolkit.nl/ blijven functioneren. Voor meer informatie zie #827

Getting started

Stable releases can be found on the GitHub Releases page.

NPM registry

npm install dso-toolkit --save-dev
  1. Add node_modules/dso-toolkit/libs and node_modules as include paths to your SASS compiler/wrapper (See #105 for more information)
  2. Bundle /node_modules/dso-toolkit/src/dso.scss in your build process.

The Web Components are not yet available as NPM package, see #827 and #885. In the meantime you could use the <script>-tag mentioned below.

CDN

The toolkit and component library are distributed to dso-toolkit.nl. Use the table below to resolve the branch/channel to the base url:

branchchannelurl
masterstablehttps://cdn.dso-toolkit.nl/master/
tags onlyreleaseshttps://cdn.dso-toolkit.nl/VERSION/

The same goes for the component library:

branchchannelurl
masterstablehttps://www.dso-toolkit.nl/master/
tags onlyreleaseshttps://www.dso-toolkit.nl/VERSION/
<link rel="stylesheet" href="https://cdn.dso-toolkit.nl/[master|VERSION]/styles/dso.css" />

For Web Components:

<script type="module" src="https://cdn.dso-toolkit.nl/[master|VERSION]/core/dso-toolkit.esm.js"></script>
<script nomodule src="https://cdn.dso-toolkit.nl/[master|VERSION]/core/dso-toolkit.js"></script>

The referenced scripts are very small: Only the actually used Web Components are lazy loaded. For more information: https://stenciljs.com/docs/distribution

Develop or mockups

To work on the DSO Toolkit using components and variants or create mockups of pages, forms or components you need Node 12 and Yarn 2.

Either install Yarn with

npm install --global yarn

or use Yarn with npx:

npx yarn <<<my commands here>>>
git clone git@github.com:dso-toolkit/dso-toolkit.git
cd dso-toolkit
yarn install
yarn start

A local webserver is started at http://localhost:3000/. See the Fractal guide on how to develop components. See CONTRIBUTING.md on how to contribute.

Requirements

Node 12. For development on the DSO Toolkit you also need Yarn.

Dependencies

The DSO Toolkit and Component Library uses

  • npm as the registry for node packages
  • yarn for package management
  • gulp for build automation
  • node-sass to compile sass to css
  • fractal to document the toolkit
  • yaml to configure fractal components

Further reading

62.21.0

12 days ago

62.20.1

15 days ago

62.20.0

17 days ago

62.19.0

26 days ago

62.18.0

1 month ago

62.17.0

2 months ago

62.16.0

2 months ago

62.15.1

2 months ago

62.15.2

2 months ago

62.15.0

2 months ago

62.11.1

2 months ago

62.14.0

2 months ago

62.13.0

2 months ago

62.12.1

2 months ago

62.11.0-ghi-2525.0

3 months ago

62.12.0

3 months ago

62.11.0

3 months ago

62.10.0

4 months ago

62.9.0

4 months ago

62.8.2

4 months ago

62.8.4

4 months ago

62.8.1

4 months ago

62.8.0

4 months ago

62.7.0

5 months ago

62.6.0

5 months ago

62.3.1

6 months ago

62.3.2

6 months ago

62.3.3

5 months ago

62.3.0

6 months ago

58.3.0

8 months ago

58.3.1

8 months ago

55.0.0

10 months ago

61.0.0

7 months ago

62.2.2

6 months ago

58.0.0

9 months ago

62.2.0

6 months ago

62.2.1

6 months ago

58.0.1

9 months ago

56.1.0

10 months ago

62.5.0

6 months ago

62.1.0

6 months ago

58.1.0

9 months ago

60.0.0

7 months ago

56.0.0

10 months ago

62.4.0

6 months ago

62.0.0

7 months ago

58.2.0

8 months ago

61.2.0

7 months ago

57.0.0

9 months ago

59.0.0

8 months ago

59.0.1

8 months ago

53.0.0

1 year ago

51.3.0

1 year ago

54.2.0

11 months ago

54.2.1

11 months ago

51.4.0

1 year ago

51.4.1

1 year ago

51.0.0

1 year ago

54.1.0

11 months ago

52.0.0

1 year ago

52.0.1

1 year ago

52.0.2

1 year ago

52.0.3

1 year ago

51.1.0

1 year ago

54.0.1

12 months ago

54.0.0

12 months ago

53.1.0

12 months ago

51.2.0

1 year ago

51.2.1

1 year ago

54.3.0

11 months ago

49.0.2

1 year ago

49.0.1

1 year ago

49.0.0

1 year ago

48.0.0

1 year ago

49.1.0

1 year ago

50.0.0

1 year ago

50.0.1

1 year ago

45.1.0

2 years ago

47.0.0

1 year ago

47.0.1

1 year ago

46.0.0

2 years ago

45.2.0

2 years ago

45.0.1

2 years ago

45.0.0

2 years ago

44.0.0

2 years ago

40.0.0

2 years ago

43.1.0

2 years ago

40.1.0

2 years ago

39.0.1

2 years ago

39.0.0

2 years ago

43.0.0

2 years ago

38.1.1

2 years ago

42.0.0

2 years ago

41.0.1

2 years ago

41.0.0

2 years ago

36.2.0

2 years ago

38.0.0

2 years ago

37.0.0

2 years ago

36.3.0

2 years ago

38.1.0

2 years ago

36.0.0

2 years ago

36.1.0

2 years ago

35.0.0

2 years ago

34.2.0

2 years ago

34.2.1

2 years ago

34.1.0

2 years ago

33.1.0

2 years ago

33.3.0

2 years ago

32.2.0

2 years ago

34.0.0

2 years ago

33.0.0

2 years ago

33.2.0

2 years ago

32.0.0

2 years ago

32.1.0

2 years ago

31.1.0

2 years ago

31.1.1

2 years ago

31.0.0

3 years ago

30.1.0

3 years ago

30.0.0

3 years ago

29.0.1

3 years ago

29.0.0

3 years ago

28.0.2

3 years ago

28.0.0

3 years ago

28.0.1

3 years ago

27.4.0

3 years ago

27.3.0

3 years ago

27.2.0

3 years ago

27.1.0

3 years ago

27.0.0

3 years ago

26.0.0

3 years ago

25.1.2

3 years ago

25.1.1

3 years ago

25.1.0

3 years ago

25.0.1

3 years ago

24.4.1

3 years ago

24.4.0

3 years ago

25.0.0

3 years ago

24.3.1

3 years ago

24.2.2

3 years ago

24.3.0

3 years ago

24.2.1

3 years ago

24.2.0

3 years ago

24.1.0

3 years ago

23.0.0

3 years ago

24.0.0

3 years ago

22.1.1

3 years ago

22.0.0

3 years ago

21.2.0

3 years ago

21.1.0

3 years ago

21.3.0

3 years ago

19.0.0

3 years ago

21.0.0

3 years ago

20.0.0

3 years ago

18.0.0

3 years ago

17.1.0

3 years ago

17.0.1

3 years ago

17.0.0-rc2

3 years ago

17.0.0-rc1

3 years ago