@duetds/cli 4.0.50 → 4.1.0

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.
Files changed (95) hide show
  1. package/package.json +2 -2
  2. package/templates/angular/13.2.4/src/tests/playwright/playwright.test.ts-snapshots/angular-5-chromium-darwin.png +0 -0
  3. package/templates/angular/14.2.12/src/tests/playwright/playwright.test.ts-snapshots/angular-5-chromium-darwin.png +0 -0
  4. package/templates/angular/15.0.4/src/tests/playwright/playwright.test.ts-snapshots/angular-5-chromium-darwin.png +0 -0
  5. package/templates/angular/16.2.0/package.file +1 -1
  6. package/templates/angular/16.2.0/src/tests/playwright/playwright.test.ts-snapshots/angular-5-chromium-darwin.png +0 -0
  7. package/templates/angular/17.0.0/package.file +1 -1
  8. package/templates/angular/17.0.0/src/app/app.module.ts +10 -1
  9. package/templates/angular/17.0.0/src/app/investment-amount/investment-amount.component.html +2 -0
  10. package/templates/angular/17.0.0/src/app/investment-amount/investment-amount.component.ts +2 -12
  11. package/templates/angular/17.0.0/src/app/investment-origin/investment-origin.component.html +8 -8
  12. package/templates/angular/17.0.0/src/app/investment-origin/investment-origin.component.ts +2 -21
  13. package/templates/angular/17.0.0/src/app/value-accessors.ts +147 -0
  14. package/templates/angular/17.0.0/src/tests/playwright/playwright.test.ts-snapshots/angular-5-chromium-darwin.png +0 -0
  15. package/templates/react/16.14.0/package.file +1 -1
  16. package/templates/react/19rc/README.md +54 -0
  17. package/templates/react/19rc/package-lock.json +10713 -0
  18. package/templates/react/19rc/package.file +39 -0
  19. package/templates/{angular/12.2.16/playwright.config.ts → react/19rc/playwright.config.mjs} +7 -7
  20. package/templates/react/19rc/public/index.html +48 -0
  21. package/templates/react/19rc/src/App.js +140 -0
  22. package/templates/react/19rc/src/components/Footer.js +23 -0
  23. package/templates/react/19rc/src/components/Header.js +6 -0
  24. package/templates/react/19rc/src/components/InvestmentAmount.js +129 -0
  25. package/templates/react/19rc/src/components/InvestmentOrigin.js +88 -0
  26. package/templates/react/19rc/src/components/Summary.js +87 -0
  27. package/templates/react/19rc/src/index.js +17 -0
  28. package/templates/react/19rc/src/index.scss +2 -0
  29. package/templates/react/19rc/src/serviceWorker.js +141 -0
  30. package/templates/{angular/12.2.16/src/tests/playwright/playwright.test.ts → react/19rc/src/tests/playwright/playwright.test.mjs} +14 -14
  31. package/templates/react/19rc/src/tests/playwright/playwright.test.mjs-snapshots/app-1-chromium-darwin.png +0 -0
  32. package/templates/react/19rc/src/tests/playwright/playwright.test.mjs-snapshots/app-2-chromium-darwin.png +0 -0
  33. package/templates/react/19rc/src/tests/playwright/playwright.test.mjs-snapshots/app-3-chromium-darwin.png +0 -0
  34. package/templates/{angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-4-chromium-darwin.png → react/19rc/src/tests/playwright/playwright.test.mjs-snapshots/app-4-chromium-darwin.png} +0 -0
  35. package/templates/{angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-5-chromium-darwin.png → react/19rc/src/tests/playwright/playwright.test.mjs-snapshots/app-5-chromium-darwin.png} +0 -0
  36. package/templates/{angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots → react/19rc/src/tests/playwright/playwright.test.mjs-snapshots}/code-chromium-darwin.json +1 -1
  37. package/templates/angular/12.2.16/.browserlistrc +0 -16
  38. package/templates/angular/12.2.16/.depcheckrc +0 -2
  39. package/templates/angular/12.2.16/.editorconfig +0 -16
  40. package/templates/angular/12.2.16/.eslintrc.json +0 -51
  41. package/templates/angular/12.2.16/.prettierignore +0 -3
  42. package/templates/angular/12.2.16/.prettierrc +0 -14
  43. package/templates/angular/12.2.16/README.md +0 -32
  44. package/templates/angular/12.2.16/angular.json +0 -122
  45. package/templates/angular/12.2.16/config/jest.base.ts +0 -17
  46. package/templates/angular/12.2.16/config/jest.setup.ts +0 -24
  47. package/templates/angular/12.2.16/package.file +0 -58
  48. package/templates/angular/12.2.16/src/app/agreement.model.ts +0 -3
  49. package/templates/angular/12.2.16/src/app/app-routing.module.ts +0 -11
  50. package/templates/angular/12.2.16/src/app/app.component.html +0 -5
  51. package/templates/angular/12.2.16/src/app/app.component.scss +0 -0
  52. package/templates/angular/12.2.16/src/app/app.component.ts +0 -10
  53. package/templates/angular/12.2.16/src/app/app.module.ts +0 -21
  54. package/templates/angular/12.2.16/src/app/currency-formatter.service.ts +0 -12
  55. package/templates/angular/12.2.16/src/app/footer/footer.component.html +0 -22
  56. package/templates/angular/12.2.16/src/app/footer/footer.component.scss +0 -0
  57. package/templates/angular/12.2.16/src/app/footer/footer.component.ts +0 -10
  58. package/templates/angular/12.2.16/src/app/header/header.component.html +0 -1
  59. package/templates/angular/12.2.16/src/app/header/header.component.scss +0 -0
  60. package/templates/angular/12.2.16/src/app/header/header.component.ts +0 -10
  61. package/templates/angular/12.2.16/src/app/index-page/index-page.component.html +0 -49
  62. package/templates/angular/12.2.16/src/app/index-page/index-page.component.scss +0 -0
  63. package/templates/angular/12.2.16/src/app/index-page/index-page.component.ts +0 -61
  64. package/templates/angular/12.2.16/src/app/investment-amount/investment-amount.component.html +0 -87
  65. package/templates/angular/12.2.16/src/app/investment-amount/investment-amount.component.scss +0 -0
  66. package/templates/angular/12.2.16/src/app/investment-amount/investment-amount.component.ts +0 -31
  67. package/templates/angular/12.2.16/src/app/investment-origin/investment-origin.component.html +0 -12
  68. package/templates/angular/12.2.16/src/app/investment-origin/investment-origin.component.scss +0 -0
  69. package/templates/angular/12.2.16/src/app/investment-origin/investment-origin.component.ts +0 -24
  70. package/templates/angular/12.2.16/src/app/summary/summary.component.html +0 -74
  71. package/templates/angular/12.2.16/src/app/summary/summary.component.scss +0 -0
  72. package/templates/angular/12.2.16/src/app/summary/summary.component.ts +0 -16
  73. package/templates/angular/12.2.16/src/assets/.gitkeep +0 -0
  74. package/templates/angular/12.2.16/src/environments/environment.prod.ts +0 -3
  75. package/templates/angular/12.2.16/src/environments/environment.ts +0 -16
  76. package/templates/angular/12.2.16/src/index.html +0 -24
  77. package/templates/angular/12.2.16/src/main.ts +0 -13
  78. package/templates/angular/12.2.16/src/polyfills.ts +0 -62
  79. package/templates/angular/12.2.16/src/styles.scss +0 -3
  80. package/templates/angular/12.2.16/src/tests/app.test.ts +0 -13
  81. package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-1-chromium-darwin.png +0 -0
  82. package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-2-chromium-darwin.png +0 -0
  83. package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-3-chromium-darwin.png +0 -0
  84. package/templates/angular/12.2.16/src/utils/string.utils.ts +0 -1
  85. package/templates/angular/12.2.16/tsconfig.app.json +0 -9
  86. package/templates/angular/12.2.16/tsconfig.base.json +0 -17
  87. package/templates/angular/12.2.16/tsconfig.json +0 -8
  88. package/templates/angular/12.2.16/tsconfig.spec.json +0 -15
  89. package/templates/angular/12.2.16/tslint.json +0 -92
  90. /package/templates/{angular/12.2.16 → react/19rc}/LICENSE.md +0 -0
  91. /package/templates/{angular/12.2.16/src → react/19rc/public}/assets/img/android-chrome-192x192.png +0 -0
  92. /package/templates/{angular/12.2.16/src → react/19rc/public}/assets/img/apple-touch-icon-180x180.png +0 -0
  93. /package/templates/{angular/12.2.16/src → react/19rc/public}/assets/img/splash-screen-icon-512x512.png +0 -0
  94. /package/templates/{angular/12.2.16/src → react/19rc/public}/favicon.ico +0 -0
  95. /package/templates/{angular/12.2.16/src → react/19rc/public}/manifest.json +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/cli",
3
- "version": "4.0.50",
3
+ "version": "4.1.0",
4
4
  "description": "This package includes Duet Design System CLI.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "LocalTapiola Services Ltd <duetdesignsystem@lahitapiola.fi>",
@@ -33,5 +33,5 @@
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "641839a13806dcc24e3c98d5e7a3485c7f88b2d4"
36
+ "gitHead": "ec23a2c67483a350022a26c2d70b3503de94198b"
37
37
  }
@@ -54,6 +54,6 @@
54
54
  "eslint-plugin-unused-imports": "2.0.0",
55
55
  "jest": "^29.5.0",
56
56
  "ts-node": "10.9.0",
57
- "typescript": "^5.1.0"
57
+ "typescript": "5.1.3"
58
58
  }
59
59
  }
@@ -54,6 +54,6 @@
54
54
  "eslint-plugin-unused-imports": "3.0.0",
55
55
  "jest": "^29.5.0",
56
56
  "ts-node": "10.9.0",
57
- "typescript": "^5.2.2"
57
+ "typescript": "5.2.2"
58
58
  }
59
59
  }
@@ -10,9 +10,18 @@ import { FooterComponent } from "./footer/footer.component"
10
10
  import { InvestmentAmountComponent } from './investment-amount/investment-amount.component';
11
11
  import { InvestmentOriginComponent } from './investment-origin/investment-origin.component';
12
12
  import { SummaryComponent } from './summary/summary.component'
13
+ import {
14
+ BooleanValueAccessorDirective, NumericValueAccessorDirective,
15
+ SelectValueAccessorDirective, TextValueAccessorDirective
16
+ } from "./value-accessors"
13
17
 
14
18
  @NgModule({
15
- declarations: [AppComponent, IndexPageComponent, HeaderComponent, FooterComponent, InvestmentAmountComponent, InvestmentOriginComponent, SummaryComponent],
19
+ declarations: [
20
+ AppComponent, IndexPageComponent, HeaderComponent, FooterComponent,
21
+ InvestmentAmountComponent, InvestmentOriginComponent, SummaryComponent,
22
+ BooleanValueAccessorDirective, NumericValueAccessorDirective,
23
+ SelectValueAccessorDirective, TextValueAccessorDirective,
24
+ ],
16
25
  imports: [BrowserModule, FormsModule, ReactiveFormsModule, AppRoutingModule],
17
26
  providers: [],
18
27
  bootstrap: [AppComponent],
@@ -1,5 +1,6 @@
1
1
  <ng-container [formGroup]="form">
2
2
  <duet-select
3
+ formControlName="agreement"
3
4
  expand
4
5
  label="Valitse sopimus"
5
6
  placeholder="Valitse…"
@@ -74,6 +75,7 @@
74
75
  <duet-spacer></duet-spacer>
75
76
  <duet-card variation="plain" background="gray-lighter">
76
77
  <duet-input
78
+ formControlName="additionalInvestment"
77
79
  numeric-keyboard
78
80
  expand
79
81
  label="Syötä summa"
@@ -12,19 +12,9 @@ export class InvestmentAmountComponent implements OnInit {
12
12
  @Input() agreements: Record<number, Agreement>
13
13
  @Input() form: FormGroup
14
14
 
15
- constructor(public formatter: CurrencyFormatterService, private myElement: ElementRef) {}
15
+ constructor(public formatter: CurrencyFormatterService) {}
16
16
 
17
- ngOnInit(): void {
18
- const element = this.myElement.nativeElement as Element
19
- const select = element.querySelector("duet-select") as HTMLDuetSelectElement
20
- const input = element.querySelector("duet-input") as HTMLDuetInputElement
21
- select.addEventListener("duetChange", (e: CustomEvent<{value: number}>) => {
22
- this.form.controls['agreement'].setValue(e.detail.value)
23
- })
24
- input.addEventListener("duetChange", (e: CustomEvent<{value: string}>) => {
25
- this.form.controls['additionalInvestment'].setValue(Number(e.detail.value))
26
- })
27
- }
17
+ ngOnInit(): void {}
28
18
 
29
19
  get selectedAgreement() {
30
20
  return this.agreements[this.form.value.agreement]
@@ -1,12 +1,12 @@
1
1
  <ng-container [formGroup]="form">
2
- <duet-checkbox label="Valinta 1"></duet-checkbox>
3
- <duet-checkbox label="Valinta 2"></duet-checkbox>
4
- <duet-checkbox label="Valinta 3"></duet-checkbox>
5
- <duet-checkbox label="Valinta 4"></duet-checkbox>
6
- <duet-checkbox label="Valinta 5"></duet-checkbox>
7
- <duet-checkbox label="Valinta 6"></duet-checkbox>
2
+ <duet-checkbox formControlName="salary" label="Valinta 1"></duet-checkbox>
3
+ <duet-checkbox formControlName="gift" label="Valinta 2"></duet-checkbox>
4
+ <duet-checkbox formControlName="heritage" label="Valinta 3"></duet-checkbox>
5
+ <duet-checkbox formControlName="entrepreneurialIncome" label="Valinta 4"></duet-checkbox>
6
+ <duet-checkbox formControlName="assets" label="Valinta 5"></duet-checkbox>
7
+ <duet-checkbox formControlName="otherIncome" label="Valinta 6"></duet-checkbox>
8
8
  <duet-checkbox label="Muu, mikä?" (duetChange)="handleExtrasChange($event)"></duet-checkbox>
9
9
  <div *ngIf="hasExtras">
10
- <duet-input label="Kerro sijoitettavien varojen muu alkuperä" label-hidden (duetChange)="handleExtrasValueChange($event)"></duet-input>
10
+ <duet-input formControlName="extras" label="Kerro sijoitettavien varojen muu alkuperä" label-hidden></duet-input>
11
11
  </div>
12
- </ng-container>
12
+ </ng-container>
@@ -11,23 +11,9 @@ export class InvestmentOriginComponent implements OnInit {
11
11
  hasExtras = false
12
12
  extrasValue = ""
13
13
 
14
- constructor(private myElement: ElementRef) {}
14
+ constructor() {}
15
15
 
16
- ngOnInit(): void {
17
- const element = this.myElement.nativeElement as Element
18
- function listenCheckboxEvents(form: FormGroup, selector: string, control: string) {
19
- const checkbox = element.querySelector(`duet-checkbox[label='${selector}']`) as HTMLDuetSelectElement
20
- checkbox.addEventListener("duetChange", (e: CustomEvent<{checked: boolean}>) => {
21
- form.controls[control].setValue(e.detail.checked)
22
- })
23
- }
24
- listenCheckboxEvents(this.form, 'Valinta 1', 'salary')
25
- listenCheckboxEvents(this.form, 'Valinta 2', 'gift')
26
- listenCheckboxEvents(this.form, 'Valinta 3', 'heritage')
27
- listenCheckboxEvents(this.form, 'Valinta 4', 'entrepreneurialIncome')
28
- listenCheckboxEvents(this.form, 'Valinta 5', 'assets')
29
- listenCheckboxEvents(this.form, 'Valinta 6', 'otherIncome')
30
- }
16
+ ngOnInit(): void {}
31
17
 
32
18
  handleExtrasChange(event: CustomEvent) {
33
19
  this.hasExtras = event.detail.checked
@@ -36,9 +22,4 @@ export class InvestmentOriginComponent implements OnInit {
36
22
  this.form.get("extras").setValue(null)
37
23
  }
38
24
  }
39
-
40
- handleExtrasValueChange(event: CustomEvent) {
41
- this.extrasValue = event.detail.value
42
- this.form.get("extras").setValue(this.extrasValue)
43
- }
44
25
  }
@@ -0,0 +1,147 @@
1
+ /* eslint-disable @angular-eslint/directive-selector, @angular-eslint/no-host-metadata-property */
2
+
3
+ import { Directive, ElementRef, HostListener } from "@angular/core";
4
+ import { ControlValueAccessor, NG_VALUE_ACCESSOR } from "@angular/forms";
5
+
6
+ @Directive({})
7
+ export class ValueAccessor implements ControlValueAccessor {
8
+ private onChange: (value: any) => void = () => {};
9
+ private onTouched: () => void = () => {};
10
+ protected lastValue: any;
11
+
12
+ constructor(protected el: ElementRef) {}
13
+
14
+ writeValue(value: any) {
15
+ this.el.nativeElement.value = this.lastValue = value == null ? '' : value;
16
+ }
17
+
18
+ handleChangeEvent(value: any) {
19
+ if (value !== this.lastValue) {
20
+ this.lastValue = value;
21
+ this.onChange(value);
22
+ }
23
+ }
24
+
25
+ @HostListener('focusout')
26
+ _handleBlurEvent() {
27
+ this.onTouched();
28
+ }
29
+
30
+ registerOnChange(fn: (value: any) => void) {
31
+ this.onChange = fn;
32
+ }
33
+ registerOnTouched(fn: () => void) {
34
+ this.onTouched = fn;
35
+ }
36
+
37
+ setDisabledState(disabled: boolean) {
38
+ this.el.nativeElement.disabled = disabled;
39
+ }
40
+ }
41
+
42
+ @Directive({
43
+ selector: 'duet-input:not([type=number]), duet-textarea, duet-date-picker',
44
+ host: {
45
+ '(duetChange)': 'handleChangeEvent($event.target.value)'
46
+ },
47
+ providers: [
48
+ {
49
+ provide: NG_VALUE_ACCESSOR,
50
+ useExisting: TextValueAccessorDirective,
51
+ multi: true
52
+ }
53
+ ]
54
+ })
55
+ export class TextValueAccessorDirective extends ValueAccessor {
56
+ constructor(el: ElementRef) {
57
+ super(el);
58
+ }
59
+ }
60
+
61
+ @Directive({
62
+ /* tslint:disable-next-line:directive-selector */
63
+ selector: 'duet-range-slider, duet-select, duet-radio-group, duet-choice-group',
64
+ host: {
65
+ '(duetChange)': 'handleChangeEvent($event.target.value)'
66
+ },
67
+ providers: [
68
+ {
69
+ provide: NG_VALUE_ACCESSOR,
70
+ useExisting: SelectValueAccessorDirective,
71
+ multi: true
72
+ }
73
+ ]
74
+ })
75
+ export class SelectValueAccessorDirective extends ValueAccessor {
76
+ constructor(el: ElementRef) {
77
+ super(el);
78
+ }
79
+ }
80
+
81
+ @Directive({
82
+ /* tslint:disable-next-line:directive-selector */
83
+ selector: 'duet-radio, duet-choice[type=radio]',
84
+ host: {
85
+ '(duetSelect)': 'handleChangeEvent($event.target.checked)'
86
+ },
87
+ providers: [
88
+ {
89
+ provide: NG_VALUE_ACCESSOR,
90
+ useExisting: RadioValueAccessorDirective,
91
+ multi: true
92
+ }
93
+ ]
94
+ })
95
+ export class RadioValueAccessorDirective extends ValueAccessor {
96
+ constructor(el: ElementRef) {
97
+ super(el);
98
+ }
99
+ }
100
+
101
+ @Directive({
102
+ /* tslint:disable-next-line:directive-selector */
103
+ selector: 'duet-input[type=number], duet-number-input',
104
+ host: {
105
+ '(duetChange)': 'handleChangeEvent($event.target.value)'
106
+ },
107
+ providers: [
108
+ {
109
+ provide: NG_VALUE_ACCESSOR,
110
+ useExisting: NumericValueAccessorDirective,
111
+ multi: true
112
+ }
113
+ ]
114
+ })
115
+ export class NumericValueAccessorDirective extends ValueAccessor {
116
+ constructor(el: ElementRef) {
117
+ super(el);
118
+ }
119
+ registerOnChange(fn: (_: number | null) => void) {
120
+ super.registerOnChange(value => {
121
+ fn(value === '' ? null : parseFloat(value));
122
+ });
123
+ }
124
+ }
125
+
126
+ @Directive({
127
+ /* tslint:disable-next-line:directive-selector */
128
+ selector: 'duet-checkbox, duet-toggle, duet-choice[type=checkbox]',
129
+ host: {
130
+ '(duetChange)': 'handleChangeEvent($event.target.checked)'
131
+ },
132
+ providers: [
133
+ {
134
+ provide: NG_VALUE_ACCESSOR,
135
+ useExisting: BooleanValueAccessorDirective,
136
+ multi: true
137
+ }
138
+ ]
139
+ })
140
+ export class BooleanValueAccessorDirective extends ValueAccessor {
141
+ constructor(el: ElementRef) {
142
+ super(el);
143
+ }
144
+ writeValue(value: any) {
145
+ this.el.nativeElement.checked = this.lastValue = value == null ? false : value;
146
+ }
147
+ }
@@ -18,7 +18,7 @@
18
18
  "@duetds/tokens": "latest",
19
19
  "react": "16.14.0",
20
20
  "react-dom": "16.14.0",
21
- "react-scripts": "3.4.4",
21
+ "react-scripts": "5.0.0",
22
22
  "sass": "1.49.9"
23
23
  },
24
24
  "eslintConfig": {
@@ -0,0 +1,54 @@
1
+ # Duet React Example
2
+
3
+ An example app built with [@duetds/react](https://www.npmjs.com/package/@duetds/react), demonstrating basic form handling.
4
+
5
+ ## Features
6
+
7
+ - Comes with [Duet Web Components](https://www.duetds.com/components/).
8
+ - Supports [Duet Design Tokens](https://www.duetds.com/tokens/) in SCSS without additional configuration.
9
+ - Comes with automated build and deploy steps for prototyping.
10
+ - Additionally comes with [Duet Fonts](https://www.duetds.com/typography/) and [Duet CSS Framework](https://www.duetds.com/css-framework/) preconfigured.
11
+
12
+ ## Available Scripts
13
+
14
+ In the project directory, you can run:
15
+
16
+ ### `npm start`
17
+
18
+ Runs the app in the development mode.<br />
19
+ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
20
+
21
+ The page will reload if you make edits.<br />
22
+ You will also see any lint errors in the console.
23
+
24
+ ### `npm run build`
25
+
26
+ Builds the app for production to the `build` folder.<br />
27
+ It correctly bundles React in production mode and optimizes the build for the best performance.
28
+
29
+ The build is minified and the filenames include the hashes.<br />
30
+ Your app is ready to be deployed!
31
+
32
+ See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
33
+
34
+ ### `npm run eject`
35
+
36
+ **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
37
+
38
+ If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
39
+
40
+ Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
41
+
42
+ You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
43
+
44
+ ## Learn More
45
+
46
+ You can learn more in the [Create React App documentation](https://create-react-app.dev/docs/getting-started/).
47
+
48
+ To learn React, check out the [React documentation](https://reactjs.org/).
49
+
50
+ For more Duet usage instructions, please see [Duet Design System documentation](https://www.duetds.com).
51
+
52
+ ## Copyright
53
+
54
+ Copyright © 2020 LocalTapiola Services Ltd. For license, please see LICENSE.md.