dhcw-design-system 0.1.105 → 0.1.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/LICENSE-CONTENT.md +28 -28
- package/README.md +257 -252
- package/dist/assets/dhcw-icon-white.svg +17 -0
- package/dist/assets/dhcw-icon.svg +17 -0
- package/dist/assets/nhsw-logo-dark.svg +84 -0
- package/dist/assets/nhsw-logo.svg +84 -0
- package/dist/nhsw-behaviours.js +573 -573
- package/dist/nhsw-date-picker.js +449 -449
- package/dist/nhsw.css +416 -71
- package/dist/nhsw.css.map +1 -1
- package/dist/nhsw.min.css +1 -1
- package/package.json +78 -74
- package/src/components/README.md +83 -83
- package/src/components/_index.scss +9 -9
- package/src/components/action-link/action-link.yaml +36 -36
- package/src/components/action-link/macro.njk +19 -19
- package/src/components/actions/_action-link.scss +119 -119
- package/src/components/actions/_back-link.scss +70 -70
- package/src/components/actions/_button-group.scss +13 -13
- package/src/components/actions/_button.scss +197 -197
- package/src/components/actions/_index.scss +5 -5
- package/src/components/actions/_link.scss +68 -68
- package/src/components/all-components.njk +69 -67
- package/src/components/back-link/back-link.yaml +35 -35
- package/src/components/back-link/macro.njk +13 -13
- package/src/components/bottom-nav/bottom-nav.yaml +50 -50
- package/src/components/bottom-nav/macro.njk +32 -32
- package/src/components/breadcrumb/breadcrumb.yaml +57 -57
- package/src/components/breadcrumb/macro.njk +32 -32
- package/src/components/button/button.yaml +97 -97
- package/src/components/button/macro.njk +45 -45
- package/src/components/callouts/_index.scss +2 -2
- package/src/components/callouts/_notification-banner.scss +62 -62
- package/src/components/callouts/_warning-callout.scss +86 -86
- package/src/components/card/card.yaml +145 -145
- package/src/components/card/macro.njk +89 -89
- package/src/components/cards/_card.scss +367 -352
- package/src/components/cards/_index.scss +1 -1
- package/src/components/checkboxes/checkboxes.yaml +132 -132
- package/src/components/checkboxes/macro.njk +66 -66
- package/src/components/content/_code-example.scss +21 -21
- package/src/components/content/_code-viewer.scss +184 -174
- package/src/components/content/_code.scss +16 -8
- package/src/components/content/_colour-swatch.scss +70 -70
- package/src/components/content/_details.scss +92 -92
- package/src/components/content/_example-preview.scss +170 -158
- package/src/components/content/_example-screenshot.scss +21 -21
- package/src/components/content/_expander.scss +142 -142
- package/src/components/content/_index.scss +26 -24
- package/src/components/content/_inset-text.scss +18 -18
- package/src/components/content/_kbd.scss +12 -0
- package/src/components/content/_pagination.scss +328 -326
- package/src/components/content/_panel.scss +103 -103
- package/src/components/content/_patient-header.scss +145 -145
- package/src/components/content/_screenshot-placeholder.scss +30 -30
- package/src/components/content/_search.scss +176 -176
- package/src/components/content/_session-row.scss +116 -116
- package/src/components/content/_step-list.scss +55 -0
- package/src/components/content/_summary-card.scss +65 -65
- package/src/components/content/_summary-list.scss +87 -87
- package/src/components/content/_table.scss +275 -275
- package/src/components/content/_tabs.scss +152 -152
- package/src/components/content/_tag.scss +110 -110
- package/src/components/content/_timeout-modal.scss +25 -25
- package/src/components/content/_type-specimen.scss +33 -33
- package/src/components/content/_typography.scss +96 -96
- package/src/components/content/_warning-text.scss +44 -42
- package/src/components/dashboard/dashboard.yaml +73 -73
- package/src/components/dashboard/macro.njk +70 -70
- package/src/components/date-input/date-input.yaml +92 -92
- package/src/components/date-input/macro.njk +55 -55
- package/src/components/date-picker/date-picker.yaml +74 -74
- package/src/components/date-picker/macro.njk +41 -41
- package/src/components/details/details.yaml +52 -52
- package/src/components/details/macro.njk +27 -27
- package/src/components/error-message/error-message.yaml +38 -38
- package/src/components/error-message/macro.njk +15 -15
- package/src/components/error-summary/error-summary.yaml +67 -67
- package/src/components/error-summary/macro.njk +30 -30
- package/src/components/expander/expander.yaml +53 -53
- package/src/components/expander/macro.njk +37 -36
- package/src/components/fieldset/fieldset.yaml +37 -37
- package/src/components/fieldset/macro.njk +20 -20
- package/src/components/file-upload/file-upload.yaml +82 -82
- package/src/components/file-upload/macro.njk +54 -54
- package/src/components/footer/footer.yaml +96 -92
- package/src/components/footer/macro.njk +89 -86
- package/src/components/forms/_checkboxes.scss +196 -196
- package/src/components/forms/_date-input.scss +31 -31
- package/src/components/forms/_date-picker.scss +233 -233
- package/src/components/forms/_error-message.scss +24 -24
- package/src/components/forms/_error-summary.scss +48 -48
- package/src/components/forms/_fieldset.scss +19 -19
- package/src/components/forms/_file-upload.scss +82 -82
- package/src/components/forms/_form-group.scss +36 -36
- package/src/components/forms/_hint.scss +17 -17
- package/src/components/forms/_index.scss +15 -15
- package/src/components/forms/_input-wrapper.scss +43 -43
- package/src/components/forms/_input.scss +64 -75
- package/src/components/forms/_label.scss +57 -57
- package/src/components/forms/_radios.scss +221 -221
- package/src/components/forms/_select.scss +90 -63
- package/src/components/forms/_textarea.scss +48 -48
- package/src/components/header/header.yaml +121 -119
- package/src/components/header/macro.njk +83 -83
- package/src/components/hint/hint.yaml +31 -31
- package/src/components/hint/macro.njk +13 -13
- package/src/components/input/input.yaml +152 -152
- package/src/components/input/macro.njk +80 -80
- package/src/components/inset-text/inset-text.yaml +39 -39
- package/src/components/inset-text/macro.njk +29 -29
- package/src/components/kbd/kbd.yaml +21 -0
- package/src/components/kbd/macro.njk +3 -0
- package/src/components/label/label.yaml +43 -43
- package/src/components/label/macro.njk +15 -15
- package/src/components/layout/_grid.scss +69 -69
- package/src/components/layout/_index.scss +1 -1
- package/src/components/navigation/_breadcrumb.scss +101 -101
- package/src/components/navigation/_index.scss +2 -2
- package/src/components/navigation/_skip-link.scss +22 -22
- package/src/components/notification-banner/macro.njk +41 -41
- package/src/components/notification-banner/notification-banner.yaml +82 -82
- package/src/components/pagination/macro.njk +78 -78
- package/src/components/pagination/pagination.yaml +80 -80
- package/src/components/panel/macro.njk +29 -29
- package/src/components/panel/panel.yaml +55 -55
- package/src/components/phase-banner/macro.njk +24 -21
- package/src/components/phase-banner/phase-banner.yaml +39 -35
- package/src/components/radios/macro.njk +64 -64
- package/src/components/radios/radios.yaml +108 -108
- package/src/components/select/macro.njk +47 -45
- package/src/components/select/select.yaml +78 -78
- package/src/components/session-row/macro.njk +56 -56
- package/src/components/session-row/session-row.yaml +57 -57
- package/src/components/site/_bottom-nav.scss +88 -88
- package/src/components/site/_cookie-banner.scss +46 -46
- package/src/components/site/_dashboard.scss +184 -184
- package/src/components/site/_footer.scss +129 -119
- package/src/components/site/_header.scss +584 -541
- package/src/components/site/_index.scss +7 -7
- package/src/components/site/_phase-banner.scss +101 -78
- package/src/components/site/_side-nav.scss +125 -124
- package/src/components/site-navigation/macro.njk +32 -32
- package/src/components/site-navigation/site-navigation.yaml +87 -87
- package/src/components/skip-link/macro.njk +12 -12
- package/src/components/skip-link/skip-link.yaml +31 -31
- package/src/components/step-list/macro.njk +7 -0
- package/src/components/step-list/step-list.yaml +29 -0
- package/src/components/summary-card/macro.njk +51 -51
- package/src/components/summary-card/summary-card.yaml +85 -85
- package/src/components/summary-list/macro.njk +29 -29
- package/src/components/summary-list/summary-list.yaml +52 -52
- package/src/components/table/macro.njk +91 -91
- package/src/components/table/table.yaml +108 -108
- package/src/components/tabs/macro.njk +37 -37
- package/src/components/tabs/tabs.yaml +45 -45
- package/src/components/tag/macro.njk +60 -60
- package/src/components/tag/tag.yaml +76 -76
- package/src/components/textarea/macro.njk +58 -58
- package/src/components/textarea/textarea.yaml +98 -98
- package/src/components/timeout/macro.njk +29 -29
- package/src/components/timeout/timeout.yaml +47 -47
- package/src/components/warning-callout/macro.njk +40 -40
- package/src/components/warning-callout/warning-callout.yaml +50 -50
- package/src/components/warning-text/macro.njk +19 -19
- package/src/components/warning-text/warning-text.yaml +36 -36
- package/src/foundations/_button-base.scss +40 -40
- package/src/foundations/_callouts.scss +14 -14
- package/src/foundations/_index.scss +4 -4
- package/src/foundations/_input-base.scss +59 -48
- package/src/foundations/_layout.scss +51 -44
- package/src/foundations/_typography.scss +199 -199
- package/src/index.scss +4 -4
- package/src/layouts/_docs-page.scss +132 -134
- package/src/layouts/_index.scss +2 -2
- package/src/layouts/_main-wrapper.scss +46 -46
- package/src/nunjucks.config.js +22 -22
- package/src/tokens/_colours.scss +73 -71
- package/src/tokens/_index.scss +2 -2
- package/src/tokens/_spacing.scss +34 -33
- package/src/tokens/_typography.scss +49 -47
- package/src/utilities/_breakpoints.scss +27 -27
- package/src/utilities/_focus-ring.scss +23 -23
- package/src/utilities/_hidden-control.scss +11 -11
- package/src/utilities/_index.scss +3 -3
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Digital Health and Care Wales
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Digital Health and Care Wales
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/LICENSE-CONTENT.md
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
# Content licence
|
|
2
|
-
|
|
3
|
-
Unless otherwise stated, the documentation and written content in this repository,
|
|
4
|
-
and on the Digital Health and Care Wales Design System website, is available under
|
|
5
|
-
the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
|
|
6
|
-
|
|
7
|
-
To view this licence, visit
|
|
8
|
-
<https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/>.
|
|
9
|
-
|
|
10
|
-
## What this covers
|
|
11
|
-
|
|
12
|
-
- The text of the guidance, component and pattern pages.
|
|
13
|
-
- Written examples and descriptions.
|
|
14
|
-
|
|
15
|
-
## What this does not cover
|
|
16
|
-
|
|
17
|
-
- **Code.** The Sass, JavaScript, Nunjucks macros and build scripts are available
|
|
18
|
-
under the MIT licence. See [LICENSE](LICENSE).
|
|
19
|
-
- **Logos, crests and other branding**, including the Digital Health and Care Wales
|
|
20
|
-
and NHS Wales logos. You must not use them without permission from the owner.
|
|
21
|
-
- Material owned by third parties, such as public sector information reused under
|
|
22
|
-
its own licence. This is identified where it is used.
|
|
23
|
-
|
|
24
|
-
## Attribution
|
|
25
|
-
|
|
26
|
-
When you reuse content under the Open Government Licence, acknowledge the source:
|
|
27
|
-
"Contains information from the Digital Health and Care Wales Design System, available
|
|
28
|
-
under the Open Government Licence v3.0."
|
|
1
|
+
# Content licence
|
|
2
|
+
|
|
3
|
+
Unless otherwise stated, the documentation and written content in this repository,
|
|
4
|
+
and on the Digital Health and Care Wales Design System website, is available under
|
|
5
|
+
the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
|
|
6
|
+
|
|
7
|
+
To view this licence, visit
|
|
8
|
+
<https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/>.
|
|
9
|
+
|
|
10
|
+
## What this covers
|
|
11
|
+
|
|
12
|
+
- The text of the guidance, component and pattern pages.
|
|
13
|
+
- Written examples and descriptions.
|
|
14
|
+
|
|
15
|
+
## What this does not cover
|
|
16
|
+
|
|
17
|
+
- **Code.** The Sass, JavaScript, Nunjucks macros and build scripts are available
|
|
18
|
+
under the MIT licence. See [LICENSE](LICENSE).
|
|
19
|
+
- **Logos, crests and other branding**, including the Digital Health and Care Wales
|
|
20
|
+
and NHS Wales logos. You must not use them without permission from the owner.
|
|
21
|
+
- Material owned by third parties, such as public sector information reused under
|
|
22
|
+
its own licence. This is identified where it is used.
|
|
23
|
+
|
|
24
|
+
## Attribution
|
|
25
|
+
|
|
26
|
+
When you reuse content under the Open Government Licence, acknowledge the source:
|
|
27
|
+
"Contains information from the Digital Health and Care Wales Design System, available
|
|
28
|
+
under the Open Government Licence v3.0."
|
package/README.md
CHANGED
|
@@ -1,252 +1,257 @@
|
|
|
1
|
-
# NHSW Component Library
|
|
2
|
-
|
|
3
|
-
[](https://github.com/DHCW-Digital-Health-and-Care-Wales/dhcw-design-system/actions/workflows/ci.yml)
|
|
4
|
-
[](LICENSE)
|
|
5
|
-
|
|
6
|
-
A Sass and Nunjucks component library for building consistent, accessible web
|
|
7
|
-
applications across Digital Health and Care Wales (DHCW). It provides a
|
|
8
|
-
single compiled stylesheet (`nhsw.css`) plus a matching set of Nunjucks
|
|
9
|
-
macros, so applications get the same look, markup and accessibility
|
|
10
|
-
behaviour without re-implementing it each time — in the spirit of
|
|
11
|
-
[GOV.UK Frontend](https://github.com/alphagov/govuk-frontend) and
|
|
12
|
-
[NHS.UK Frontend](https://github.com/nhsuk/nhsuk-frontend).
|
|
13
|
-
|
|
14
|
-
- **
|
|
15
|
-
layout — see [`src/components/`](src/components/) for the full list, or
|
|
16
|
-
browse them with live examples on the docs site below.
|
|
17
|
-
- **Accessible by default** — components are built and tested against
|
|
18
|
-
WCAG 2.2 AA (colour contrast, focus visibility, keyboard behaviour).
|
|
19
|
-
- **Styles and markup, decoupled** — use the Sass alone against your own
|
|
20
|
-
markup, use the Nunjucks macros alone against your own CSS, or use both
|
|
21
|
-
together.
|
|
22
|
-
|
|
23
|
-
## Installation
|
|
24
|
-
|
|
25
|
-
Every merge to `main` creates a new release. Check the
|
|
26
|
-
[latest release](https://github.com/DHCW-Digital-Health-and-Care-Wales/dhcw-design-system/releases/latest)
|
|
27
|
-
for the current version number and use it in place of `vX.Y.Z` below.
|
|
28
|
-
|
|
29
|
-
### Requirements
|
|
30
|
-
|
|
31
|
-
- [Node.js](https://nodejs.org/) 22 or later (what CI and releases use)
|
|
32
|
-
- [Dart Sass](https://sass-lang.com/dart-sass/) 1.93 or later, only if you
|
|
33
|
-
compile the Sass yourself
|
|
34
|
-
- [Nunjucks](https://mozilla.github.io/nunjucks/) 3.2 or later, only if you
|
|
35
|
-
use the macros
|
|
36
|
-
|
|
37
|
-
### Option 1: install with npm from GitHub (recommended)
|
|
38
|
-
|
|
39
|
-
Pin a release tag so your service only changes when you choose to upgrade:
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
npm install github:DHCW-Digital-Health-and-Care-Wales/dhcw-design-system#vX.Y.Z
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
This adds `dhcw-design-system` to your `dependencies` and installs the Sass
|
|
46
|
-
source, the compiled CSS and the JavaScript into
|
|
47
|
-
`node_modules/dhcw-design-system/`. To upgrade, run the same command with the
|
|
48
|
-
newer tag.
|
|
49
|
-
|
|
50
|
-
If a version has also been published to the npm registry, you can install it
|
|
51
|
-
by name instead:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
npm install dhcw-design-system@X.Y.Z
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### Option 2: download the release files
|
|
58
|
-
|
|
59
|
-
If your project doesn't use npm, download these files from the
|
|
60
|
-
[latest release](https://github.com/DHCW-Digital-Health-and-Care-Wales/dhcw-design-system/releases/latest):
|
|
61
|
-
|
|
62
|
-
| File | What it is |
|
|
63
|
-
|---|---|
|
|
64
|
-
| `nhsw.min.css` | Compiled styles for production (`nhsw.css` and `nhsw.css.map` for development) |
|
|
65
|
-
| `nhsw-behaviours.min.js` | Behaviours for interactive components (`nhsw-behaviours.js` for development) |
|
|
66
|
-
| `nhsw-date-picker.min.js` | Date picker, only if you use it (`nhsw-date-picker.js` for development) |
|
|
67
|
-
| `nhsw-nunjucks-components.zip` | A drop-in `components/` folder of Nunjucks macros |
|
|
68
|
-
|
|
69
|
-
## Quick start
|
|
70
|
-
|
|
71
|
-
### 1. Add the styles
|
|
72
|
-
|
|
73
|
-
**Without a Sass toolchain**, link the compiled stylesheet. From an npm
|
|
74
|
-
install, serve `node_modules/dhcw-design-system/dist/nhsw.min.css` (or
|
|
75
|
-
`nhsw.css` while developing); from a download, serve `nhsw.min.css`.
|
|
76
|
-
Releases up to v0.1.69 contain an out-of-date `dist/nhsw.css`, so with those,
|
|
77
|
-
use the release download or compile from source instead.
|
|
78
|
-
|
|
79
|
-
```html
|
|
80
|
-
<link rel="stylesheet" href="/assets/nhsw.min.css">
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
**With Dart Sass**, compile from source so you can use the design tokens in
|
|
84
|
-
your own styles. Add `node_modules` to Sass's load paths:
|
|
85
|
-
|
|
86
|
-
```scss
|
|
87
|
-
// your-app.scss
|
|
88
|
-
@use "dhcw-design-system/src" as nhsw;
|
|
89
|
-
|
|
90
|
-
.my-panel {
|
|
91
|
-
color: nhsw.$nhswales-primary-text-colour;
|
|
92
|
-
}
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
```bash
|
|
96
|
-
npx sass --load-path=node_modules your-app.scss public/app.css
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### 2. Add the scripts
|
|
100
|
-
|
|
101
|
-
Some components need JavaScript to be interactive — character counts,
|
|
102
|
-
conditionally revealed content, tabs, the expander, file upload status, error
|
|
103
|
-
summary focus, double-click prevention and the session-timeout countdown.
|
|
104
|
-
Include the behaviours script once, after your page content:
|
|
105
|
-
|
|
106
|
-
```html
|
|
107
|
-
<script src="/assets/nhsw-behaviours.min.js"></script>
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
It's a self-contained script with no dependencies — it wires itself up
|
|
111
|
-
against whatever matching markup is already on the page. The date picker
|
|
112
|
-
ships separately as `nhsw-date-picker.js` / `.min.js` for the same reason
|
|
113
|
-
(not every app that uses this library needs a date picker). From an npm
|
|
114
|
-
install, both are in `node_modules/dhcw-design-system/dist/`.
|
|
115
|
-
|
|
116
|
-
### 3. Use the Nunjucks macros
|
|
117
|
-
|
|
118
|
-
Every component has a matching macro under `src/components/<name>/macro.njk`,
|
|
119
|
-
with its parameters documented in `src/components/<name>/<name>.yaml`. Install
|
|
120
|
-
Nunjucks, then point a loader at the components folder:
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
npm install nunjucks
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
```js
|
|
127
|
-
const nunjucks = require("nunjucks");
|
|
128
|
-
|
|
129
|
-
const env = nunjucks.configure(
|
|
130
|
-
["views", "node_modules/dhcw-design-system/src/components"],
|
|
131
|
-
{ autoescape: true }
|
|
132
|
-
);
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
```njk
|
|
136
|
-
{% from "button/macro.njk" import nhswButton %}
|
|
137
|
-
{{ nhswButton({ text: "Continue", classes: "nhsw-button--primary" }) }}
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
If you downloaded the release files instead, unzip
|
|
141
|
-
`nhsw-nunjucks-components.zip` into your project and point the loader at the
|
|
142
|
-
`components` folder inside it. See
|
|
143
|
-
[`src/components/README.md`](src/components/README.md) for macro conventions
|
|
144
|
-
and a worked example.
|
|
145
|
-
|
|
146
|
-
### 4. Check your page shell
|
|
147
|
-
|
|
148
|
-
Each page needs a skip link, the site header, `<main class="nhsw-main-wrapper"
|
|
149
|
-
id="maincontent">` with a width container inside, and the site footer. The
|
|
150
|
-
[page templates](https://dhcw-digital-health-and-care-wales.github.io/dhcw-design-system/patterns/page-templates.html)
|
|
151
|
-
show complete public-facing and staff dashboard examples.
|
|
152
|
-
|
|
153
|
-
### Using AI coding agents
|
|
154
|
-
|
|
155
|
-
[`.agent/design-system-rules.md`](.agent/design-system-rules.md) and
|
|
156
|
-
[`.agent/component-registry.md`](.agent/component-registry.md) give coding
|
|
157
|
-
agents the design system's tokens, spacing, classes and usage rules. They
|
|
158
|
-
aren't part of the installed package, so take them from the release tag you
|
|
159
|
-
installed (for example
|
|
160
|
-
`https://github.com/DHCW-Digital-Health-and-Care-Wales/dhcw-design-system/tree/vX.Y.Z/.agent`)
|
|
161
|
-
to keep your agents' rules matched to your version.
|
|
162
|
-
|
|
163
|
-
## Documentation site
|
|
164
|
-
|
|
165
|
-
Every component, pattern and design token is documented with live,
|
|
166
|
-
interactive examples on the docs site, built with Jekyll from
|
|
167
|
-
[`preview/`](preview/). To run it locally you'll need Ruby 3+ and Bundler:
|
|
168
|
-
|
|
169
|
-
```bash
|
|
170
|
-
bundle install
|
|
171
|
-
npm run build:css # regenerates preview/dist/nhsw.css — Jekyll treats it as a static asset
|
|
172
|
-
npm run build:js # regenerates preview/dist/nhsw-behaviours.js and nhsw-date-picker.js
|
|
173
|
-
bundle exec jekyll serve
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Every push to `main` also builds and deploys this site to GitHub Pages
|
|
177
|
-
automatically ([`.github/workflows/pages.yml`](.github/workflows/pages.yml)).
|
|
178
|
-
That workflow needs the repo's **Settings → Pages → Build and deployment →
|
|
179
|
-
Source** set to "GitHub Actions" (a one-time, manual setting — not something
|
|
180
|
-
a workflow file can change).
|
|
181
|
-
|
|
182
|
-
## Development
|
|
183
|
-
|
|
184
|
-
```bash
|
|
185
|
-
npm install
|
|
186
|
-
npm run build:css # compile src/index.scss once, expanded + minified
|
|
187
|
-
npm run watch:css # rebuild on every change
|
|
188
|
-
npm test # Vitest: component styling, accessibility and token checks
|
|
189
|
-
npm run test:e2e # Playwright: renders preview/ and exercises it in a real browser
|
|
190
|
-
npm run render:njk # renders every component's yaml examples through its macro, for visual review
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
`npm run build:preview` and `npm run test:e2e` render the docs site through a
|
|
194
|
-
small Liquid renderer (`scripts/build-preview-site.js`) rather than real
|
|
195
|
-
Jekyll, so the full test suite runs without a Ruby install — including in
|
|
196
|
-
CI. It covers the same Liquid feature set the site actually uses; it's a
|
|
197
|
-
test fixture, not a substitute for the real Jekyll build above.
|
|
198
|
-
|
|
199
|
-
### Project layout
|
|
200
|
-
|
|
201
|
-
```
|
|
202
|
-
src/
|
|
203
|
-
├─ tokens/ design tokens — colour, spacing, type
|
|
204
|
-
├─ utilities/ shared mixins (focus states, hidden-control pattern, ...)
|
|
205
|
-
├─ foundations/ shared styling recipes used by several components
|
|
206
|
-
├─ layouts/ page-shell partials (header, footer, width containers)
|
|
207
|
-
└─ components/ one folder per component: _*.scss + macro.njk + *.yaml
|
|
208
|
-
|
|
209
|
-
preview/ Jekyll docs/preview site — every component's live examples,
|
|
210
|
-
plus manual QA checklists under preview/testing/
|
|
211
|
-
specs/ Vitest specs (CSS + accessibility) and Playwright e2e specs
|
|
212
|
-
scripts/ build/render/package tooling used by npm scripts and CI
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
## Testing and quality gates
|
|
216
|
-
|
|
217
|
-
- **Vitest** (`specs/tests/`) compiles each component's SCSS in isolation
|
|
218
|
-
and asserts on the output — colours, focus states, spacing, WCAG contrast
|
|
219
|
-
ratios, and shared-mixin usage.
|
|
220
|
-
- **Playwright** (`specs/e2e/`) renders the full docs site and drives real
|
|
221
|
-
browser behaviour — tab order, focus trapping, keyboard interaction.
|
|
222
|
-
- Manual accessibility scenarios that can't be automated (screen reader
|
|
223
|
-
behaviour, visual QA) are tracked as checklists under `preview/testing/`.
|
|
224
|
-
- Both suites run in CI on every push and pull request to `main`
|
|
225
|
-
([`.github/workflows/ci.yml`](.github/workflows/ci.yml)) and must pass
|
|
226
|
-
before a release is cut.
|
|
227
|
-
|
|
228
|
-
## Releasing
|
|
229
|
-
|
|
230
|
-
Every merge to `main` that passes CI is automatically tagged and released
|
|
231
|
-
with a patch version bump. For a deliberate minor or major
|
|
232
|
-
[Release workflow](.github/workflows/release.yml) manually from
|
|
233
|
-
tab
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
-
|
|
249
|
-
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
1
|
+
# NHSW Component Library
|
|
2
|
+
|
|
3
|
+
[](https://github.com/DHCW-Digital-Health-and-Care-Wales/dhcw-design-system/actions/workflows/ci.yml)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
|
|
6
|
+
A Sass and Nunjucks component library for building consistent, accessible web
|
|
7
|
+
applications across Digital Health and Care Wales (DHCW). It provides a
|
|
8
|
+
single compiled stylesheet (`nhsw.css`) plus a matching set of Nunjucks
|
|
9
|
+
macros, so applications get the same look, markup and accessibility
|
|
10
|
+
behaviour without re-implementing it each time — in the spirit of
|
|
11
|
+
[GOV.UK Frontend](https://github.com/alphagov/govuk-frontend) and
|
|
12
|
+
[NHS.UK Frontend](https://github.com/nhsuk/nhsuk-frontend).
|
|
13
|
+
|
|
14
|
+
- **42 components** — actions, forms, navigation, content, cards and
|
|
15
|
+
layout — see [`src/components/`](src/components/) for the full list, or
|
|
16
|
+
browse them with live examples on the docs site below.
|
|
17
|
+
- **Accessible by default** — components are built and tested against
|
|
18
|
+
WCAG 2.2 AA (colour contrast, focus visibility, keyboard behaviour).
|
|
19
|
+
- **Styles and markup, decoupled** — use the Sass alone against your own
|
|
20
|
+
markup, use the Nunjucks macros alone against your own CSS, or use both
|
|
21
|
+
together.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
Every merge to `main` creates a new release. Check the
|
|
26
|
+
[latest release](https://github.com/DHCW-Digital-Health-and-Care-Wales/dhcw-design-system/releases/latest)
|
|
27
|
+
for the current version number and use it in place of `vX.Y.Z` below.
|
|
28
|
+
|
|
29
|
+
### Requirements
|
|
30
|
+
|
|
31
|
+
- [Node.js](https://nodejs.org/) 22 or later (what CI and releases use)
|
|
32
|
+
- [Dart Sass](https://sass-lang.com/dart-sass/) 1.93 or later, only if you
|
|
33
|
+
compile the Sass yourself
|
|
34
|
+
- [Nunjucks](https://mozilla.github.io/nunjucks/) 3.2 or later, only if you
|
|
35
|
+
use the macros
|
|
36
|
+
|
|
37
|
+
### Option 1: install with npm from GitHub (recommended)
|
|
38
|
+
|
|
39
|
+
Pin a release tag so your service only changes when you choose to upgrade:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npm install github:DHCW-Digital-Health-and-Care-Wales/dhcw-design-system#vX.Y.Z
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
This adds `dhcw-design-system` to your `dependencies` and installs the Sass
|
|
46
|
+
source, the compiled CSS and the JavaScript into
|
|
47
|
+
`node_modules/dhcw-design-system/`. To upgrade, run the same command with the
|
|
48
|
+
newer tag.
|
|
49
|
+
|
|
50
|
+
If a version has also been published to the npm registry, you can install it
|
|
51
|
+
by name instead:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
npm install dhcw-design-system@X.Y.Z
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Option 2: download the release files
|
|
58
|
+
|
|
59
|
+
If your project doesn't use npm, download these files from the
|
|
60
|
+
[latest release](https://github.com/DHCW-Digital-Health-and-Care-Wales/dhcw-design-system/releases/latest):
|
|
61
|
+
|
|
62
|
+
| File | What it is |
|
|
63
|
+
|---|---|
|
|
64
|
+
| `nhsw.min.css` | Compiled styles for production (`nhsw.css` and `nhsw.css.map` for development) |
|
|
65
|
+
| `nhsw-behaviours.min.js` | Behaviours for interactive components (`nhsw-behaviours.js` for development) |
|
|
66
|
+
| `nhsw-date-picker.min.js` | Date picker, only if you use it (`nhsw-date-picker.js` for development) |
|
|
67
|
+
| `nhsw-nunjucks-components.zip` | A drop-in `components/` folder of Nunjucks macros |
|
|
68
|
+
|
|
69
|
+
## Quick start
|
|
70
|
+
|
|
71
|
+
### 1. Add the styles
|
|
72
|
+
|
|
73
|
+
**Without a Sass toolchain**, link the compiled stylesheet. From an npm
|
|
74
|
+
install, serve `node_modules/dhcw-design-system/dist/nhsw.min.css` (or
|
|
75
|
+
`nhsw.css` while developing); from a download, serve `nhsw.min.css`.
|
|
76
|
+
Releases up to v0.1.69 contain an out-of-date `dist/nhsw.css`, so with those,
|
|
77
|
+
use the release download or compile from source instead.
|
|
78
|
+
|
|
79
|
+
```html
|
|
80
|
+
<link rel="stylesheet" href="/assets/nhsw.min.css">
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**With Dart Sass**, compile from source so you can use the design tokens in
|
|
84
|
+
your own styles. Add `node_modules` to Sass's load paths:
|
|
85
|
+
|
|
86
|
+
```scss
|
|
87
|
+
// your-app.scss
|
|
88
|
+
@use "dhcw-design-system/src" as nhsw;
|
|
89
|
+
|
|
90
|
+
.my-panel {
|
|
91
|
+
color: nhsw.$nhswales-primary-text-colour;
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
npx sass --load-path=node_modules your-app.scss public/app.css
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### 2. Add the scripts
|
|
100
|
+
|
|
101
|
+
Some components need JavaScript to be interactive — character counts,
|
|
102
|
+
conditionally revealed content, tabs, the expander, file upload status, error
|
|
103
|
+
summary focus, double-click prevention and the session-timeout countdown.
|
|
104
|
+
Include the behaviours script once, after your page content:
|
|
105
|
+
|
|
106
|
+
```html
|
|
107
|
+
<script src="/assets/nhsw-behaviours.min.js"></script>
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
It's a self-contained script with no dependencies — it wires itself up
|
|
111
|
+
against whatever matching markup is already on the page. The date picker
|
|
112
|
+
ships separately as `nhsw-date-picker.js` / `.min.js` for the same reason
|
|
113
|
+
(not every app that uses this library needs a date picker). From an npm
|
|
114
|
+
install, both are in `node_modules/dhcw-design-system/dist/`.
|
|
115
|
+
|
|
116
|
+
### 3. Use the Nunjucks macros
|
|
117
|
+
|
|
118
|
+
Every component has a matching macro under `src/components/<name>/macro.njk`,
|
|
119
|
+
with its parameters documented in `src/components/<name>/<name>.yaml`. Install
|
|
120
|
+
Nunjucks, then point a loader at the components folder:
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
npm install nunjucks
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
```js
|
|
127
|
+
const nunjucks = require("nunjucks");
|
|
128
|
+
|
|
129
|
+
const env = nunjucks.configure(
|
|
130
|
+
["views", "node_modules/dhcw-design-system/src/components"],
|
|
131
|
+
{ autoescape: true }
|
|
132
|
+
);
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
```njk
|
|
136
|
+
{% from "button/macro.njk" import nhswButton %}
|
|
137
|
+
{{ nhswButton({ text: "Continue", classes: "nhsw-button--primary" }) }}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
If you downloaded the release files instead, unzip
|
|
141
|
+
`nhsw-nunjucks-components.zip` into your project and point the loader at the
|
|
142
|
+
`components` folder inside it. See
|
|
143
|
+
[`src/components/README.md`](src/components/README.md) for macro conventions
|
|
144
|
+
and a worked example.
|
|
145
|
+
|
|
146
|
+
### 4. Check your page shell
|
|
147
|
+
|
|
148
|
+
Each page needs a skip link, the site header, `<main class="nhsw-main-wrapper"
|
|
149
|
+
id="maincontent">` with a width container inside, and the site footer. The
|
|
150
|
+
[page templates](https://dhcw-digital-health-and-care-wales.github.io/dhcw-design-system/patterns/page-templates.html)
|
|
151
|
+
show complete public-facing and staff dashboard examples.
|
|
152
|
+
|
|
153
|
+
### Using AI coding agents
|
|
154
|
+
|
|
155
|
+
[`.agent/design-system-rules.md`](.agent/design-system-rules.md) and
|
|
156
|
+
[`.agent/component-registry.md`](.agent/component-registry.md) give coding
|
|
157
|
+
agents the design system's tokens, spacing, classes and usage rules. They
|
|
158
|
+
aren't part of the installed package, so take them from the release tag you
|
|
159
|
+
installed (for example
|
|
160
|
+
`https://github.com/DHCW-Digital-Health-and-Care-Wales/dhcw-design-system/tree/vX.Y.Z/.agent`)
|
|
161
|
+
to keep your agents' rules matched to your version.
|
|
162
|
+
|
|
163
|
+
## Documentation site
|
|
164
|
+
|
|
165
|
+
Every component, pattern and design token is documented with live,
|
|
166
|
+
interactive examples on the docs site, built with Jekyll from
|
|
167
|
+
[`preview/`](preview/). To run it locally you'll need Ruby 3+ and Bundler:
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
bundle install
|
|
171
|
+
npm run build:css # regenerates preview/dist/nhsw.css — Jekyll treats it as a static asset
|
|
172
|
+
npm run build:js # regenerates preview/dist/nhsw-behaviours.js and nhsw-date-picker.js
|
|
173
|
+
bundle exec jekyll serve
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Every push to `main` also builds and deploys this site to GitHub Pages
|
|
177
|
+
automatically ([`.github/workflows/pages.yml`](.github/workflows/pages.yml)).
|
|
178
|
+
That workflow needs the repo's **Settings → Pages → Build and deployment →
|
|
179
|
+
Source** set to "GitHub Actions" (a one-time, manual setting — not something
|
|
180
|
+
a workflow file can change).
|
|
181
|
+
|
|
182
|
+
## Development
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
npm install
|
|
186
|
+
npm run build:css # compile src/index.scss once, expanded + minified
|
|
187
|
+
npm run watch:css # rebuild on every change
|
|
188
|
+
npm test # Vitest: component styling, accessibility and token checks
|
|
189
|
+
npm run test:e2e # Playwright: renders preview/ and exercises it in a real browser
|
|
190
|
+
npm run render:njk # renders every component's yaml examples through its macro, for visual review
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
`npm run build:preview` and `npm run test:e2e` render the docs site through a
|
|
194
|
+
small Liquid renderer (`scripts/build-preview-site.js`) rather than real
|
|
195
|
+
Jekyll, so the full test suite runs without a Ruby install — including in
|
|
196
|
+
CI. It covers the same Liquid feature set the site actually uses; it's a
|
|
197
|
+
test fixture, not a substitute for the real Jekyll build above.
|
|
198
|
+
|
|
199
|
+
### Project layout
|
|
200
|
+
|
|
201
|
+
```
|
|
202
|
+
src/
|
|
203
|
+
├─ tokens/ design tokens — colour, spacing, type
|
|
204
|
+
├─ utilities/ shared mixins (focus states, hidden-control pattern, ...)
|
|
205
|
+
├─ foundations/ shared styling recipes used by several components
|
|
206
|
+
├─ layouts/ page-shell partials (header, footer, width containers)
|
|
207
|
+
└─ components/ one folder per component: _*.scss + macro.njk + *.yaml
|
|
208
|
+
|
|
209
|
+
preview/ Jekyll docs/preview site — every component's live examples,
|
|
210
|
+
plus manual QA checklists under preview/testing/
|
|
211
|
+
specs/ Vitest specs (CSS + accessibility) and Playwright e2e specs
|
|
212
|
+
scripts/ build/render/package tooling used by npm scripts and CI
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## Testing and quality gates
|
|
216
|
+
|
|
217
|
+
- **Vitest** (`specs/tests/`) compiles each component's SCSS in isolation
|
|
218
|
+
and asserts on the output — colours, focus states, spacing, WCAG contrast
|
|
219
|
+
ratios, and shared-mixin usage.
|
|
220
|
+
- **Playwright** (`specs/e2e/`) renders the full docs site and drives real
|
|
221
|
+
browser behaviour — tab order, focus trapping, keyboard interaction.
|
|
222
|
+
- Manual accessibility scenarios that can't be automated (screen reader
|
|
223
|
+
behaviour, visual QA) are tracked as checklists under `preview/testing/`.
|
|
224
|
+
- Both suites run in CI on every push and pull request to `main`
|
|
225
|
+
([`.github/workflows/ci.yml`](.github/workflows/ci.yml)) and must pass
|
|
226
|
+
before a release is cut.
|
|
227
|
+
|
|
228
|
+
## Releasing
|
|
229
|
+
|
|
230
|
+
Every merge to `main` that passes CI is automatically tagged and released
|
|
231
|
+
with a patch version bump, and published to npm. For a deliberate minor or major
|
|
232
|
+
release, run the [Release workflow](.github/workflows/release.yml) manually from
|
|
233
|
+
the Actions tab, choose the bump level and set **publish_npm** to `publish`.
|
|
234
|
+
|
|
235
|
+
Both workflows publish with
|
|
236
|
+
[npm trusted publishing](https://docs.npmjs.com/trusted-publishers), so no npm
|
|
237
|
+
token is stored. The package's settings on npmjs.com must list `ci.yml` and
|
|
238
|
+
`release.yml` as trusted publishers, each allowed to use `npm publish`.
|
|
239
|
+
|
|
240
|
+
## Contributing
|
|
241
|
+
|
|
242
|
+
Issues and pull requests are welcome. Before adding or changing a component:
|
|
243
|
+
|
|
244
|
+
- Reuse existing tokens and utilities rather than one-off values. See
|
|
245
|
+
[`.agent/design-system-rules.md`](.agent/design-system-rules.md) for
|
|
246
|
+
colour, typography, spacing and usage rules, and keep it in step with any
|
|
247
|
+
token or guidance change.
|
|
248
|
+
- Add or extend automated tests for any styling or behavioural change.
|
|
249
|
+
- Run `npm test` and `npm run test:e2e` before opening a PR.
|
|
250
|
+
|
|
251
|
+
## Licence
|
|
252
|
+
|
|
253
|
+
- **Code** (Sass, JavaScript, Nunjucks macros and build scripts) is available under the [MIT licence](LICENSE).
|
|
254
|
+
- **Documentation and written content**, such as the text of the guidance pages and examples, is available under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/), unless otherwise stated. See [LICENSE-CONTENT.md](LICENSE-CONTENT.md).
|
|
255
|
+
- **Logos, crests and other branding** (including the Digital Health and Care Wales and NHS Wales logos in `preview/assets`, which the npm package also contains in `dist/assets`) are not covered by either licence. You must not use them without permission from the owner.
|
|
256
|
+
|
|
257
|
+
© Digital Health and Care Wales
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="12.21 10.5 172.74 172.75">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>.cls-1{fill:#ffffff;}</style>
|
|
4
|
+
</defs>
|
|
5
|
+
<path class="cls-1" d="M107.55,61.91c11.14-15,8.88-29.4-9-43.41-19.16,15-20,30.45-7.82,45.25,1.81,2.11,7.82,7.82,7.82,7.82s6.68-.13,16.84,3.9a60.22,60.22,0,0,0-11.25-13.8C96.52,55.08,88,43.28,98.57,33.51c7.11,6.6,5.55,14.12,1.44,20.33,0,0,.47,1.51,5.56,6.23.73.68,1.31,1.33,2,1.84"/>
|
|
6
|
+
<path class="cls-1" d="M96.77,72.89a40.34,40.34,0,0,0-7.89,14.38,67,67,0,0,0-2.78,15.81c-4.27-1-10.55-6.27-10.55-6.27A62.25,62.25,0,0,1,80,78.49,39.7,39.7,0,0,1,89.1,65.21Z"/>
|
|
7
|
+
<path class="cls-1" d="M63.61,87.91c-15-11.15-29.4-8.89-43.4,9,15,19.15,30.44,20,45.24,7.81,2.11-1.8,7.82-7.81,7.82-7.81S73.15,90.2,77.18,80A60.71,60.71,0,0,0,63.37,91.29c-6.59,7.64-18.38,16.13-28.16,5.6,6.6-7.12,14.12-5.56,20.34-1.45,0,0,1.5-.47,6.23-5.55.68-.74,1.32-1.32,1.83-2"/>
|
|
8
|
+
<path class="cls-1" d="M74.59,98.68A40.34,40.34,0,0,0,89,106.57a66.42,66.42,0,0,0,15.81,2.78c-1,4.27-6.27,10.55-6.27,10.55a62.13,62.13,0,0,1-18.31-4.42,39.67,39.67,0,0,1-13.29-9.13Z"/>
|
|
9
|
+
<path class="cls-1" d="M89.61,131.84c-11.14,15-8.89,29.41,9,43.41,19.15-15,20-30.45,7.81-45.25-1.8-2.11-7.81-7.82-7.81-7.82s-6.68.13-16.84-3.91A60.29,60.29,0,0,0,93,132.08c7.64,6.59,16.14,18.38,5.6,28.16-7.12-6.6-5.56-14.12-1.44-20.34,0,0-.47-1.5-5.56-6.22-.73-.68-1.31-1.33-2-1.84"/>
|
|
10
|
+
<path class="cls-1" d="M100.38,120.86a40.34,40.34,0,0,0,7.89-14.38,66.75,66.75,0,0,0,2.79-15.81c4.26,1,10.55,6.27,10.55,6.27a62.25,62.25,0,0,1-4.42,18.32,39.65,39.65,0,0,1-9.14,13.28Z"/>
|
|
11
|
+
<path class="cls-1" d="M133.54,105.84c15,11.15,29.41,8.89,43.41-9-15-19.15-30.44-20-45.25-7.81-2.1,1.8-7.82,7.81-7.82,7.81s.13,6.68-3.9,16.85a60.71,60.71,0,0,0,13.81-11.25c6.59-7.64,18.38-16.13,28.15-5.6-6.6,7.12-14.11,5.56-20.33,1.44,0,0-1.5.48-6.23,5.56-.68.73-1.32,1.32-1.84,2"/>
|
|
12
|
+
<path class="cls-1" d="M122.57,95.07a40.34,40.34,0,0,0-14.38-7.89A66.47,66.47,0,0,0,92.37,84.4c1-4.27,6.28-10.55,6.28-10.55A62.13,62.13,0,0,1,117,78.27a39.8,39.8,0,0,1,13.29,9.13Z"/>
|
|
13
|
+
<path class="cls-1" d="M37.49,80.1a27.83,27.83,0,0,1,8.42-1.3,26.5,26.5,0,0,1,3.47.21A52.53,52.53,0,0,1,80.77,47.66a28.14,28.14,0,0,1-.16-3.33A27.6,27.6,0,0,1,82,35.76,63.44,63.44,0,0,0,37.49,80.1"/>
|
|
14
|
+
<path class="cls-1" d="M81.81,158a27.53,27.53,0,0,1-1.31-8.42,28.32,28.32,0,0,1,.21-3.46,52.52,52.52,0,0,1-31.35-31.4,28.07,28.07,0,0,1-3.32.16,27.62,27.62,0,0,1-8.58-1.34A63.44,63.44,0,0,0,81.81,158"/>
|
|
15
|
+
<path class="cls-1" d="M159.67,113.65a27.93,27.93,0,0,1-8.42,1.3,28.36,28.36,0,0,1-3.47-.21,52.5,52.5,0,0,1-31.39,31.35,28.24,28.24,0,0,1,.16,3.33,27.6,27.6,0,0,1-1.34,8.57,63.44,63.44,0,0,0,44.46-44.34"/>
|
|
16
|
+
<path class="cls-1" d="M115.35,35.79a27.53,27.53,0,0,1,1.31,8.42,28.32,28.32,0,0,1-.21,3.46,52.54,52.54,0,0,1,31.35,31.4,29.81,29.81,0,0,1,11.9,1.17,63.42,63.42,0,0,0-44.35-44.45"/>
|
|
17
|
+
</svg>
|