@utrecht/component-library-react 7.0.0 → 7.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 (56) hide show
  1. package/CHANGELOG.md +200 -0
  2. package/CONTRIBUTING.md +169 -0
  3. package/README.md +65 -76
  4. package/README.nl.md +82 -0
  5. package/TESTING.md +203 -0
  6. package/dist/.jest-test-results.json +1 -1
  7. package/dist/Blockquote.d.ts +4 -0
  8. package/dist/Blockquote.d.ts.map +1 -1
  9. package/dist/Checkbox.d.ts +1 -0
  10. package/dist/Checkbox.d.ts.map +1 -1
  11. package/dist/ColumnLayout.d.ts.map +1 -1
  12. package/dist/FormFieldCheckbox.d.ts +14 -0
  13. package/dist/FormFieldCheckbox.d.ts.map +1 -0
  14. package/dist/FormFieldTextarea.d.ts +14 -0
  15. package/dist/FormFieldTextarea.d.ts.map +1 -0
  16. package/dist/Logo.d.ts +5 -3
  17. package/dist/Logo.d.ts.map +1 -1
  18. package/dist/Textarea.d.ts +1 -0
  19. package/dist/Textarea.d.ts.map +1 -1
  20. package/dist/css-module/Blockquote.d.ts +4 -0
  21. package/dist/css-module/Blockquote.d.ts.map +1 -1
  22. package/dist/css-module/Checkbox.d.ts +1 -0
  23. package/dist/css-module/Checkbox.d.ts.map +1 -1
  24. package/dist/css-module/ColumnLayout.d.ts.map +1 -1
  25. package/dist/css-module/FormFieldCheckbox.d.ts +14 -0
  26. package/dist/css-module/FormFieldCheckbox.d.ts.map +1 -0
  27. package/dist/css-module/FormFieldTextarea.d.ts +14 -0
  28. package/dist/css-module/FormFieldTextarea.d.ts.map +1 -0
  29. package/dist/css-module/Logo.d.ts +5 -3
  30. package/dist/css-module/Logo.d.ts.map +1 -1
  31. package/dist/css-module/Textarea.d.ts +1 -0
  32. package/dist/css-module/Textarea.d.ts.map +1 -1
  33. package/dist/css-module/css-module/Accordion.d.ts +1 -0
  34. package/dist/css-module/css-module/Accordion.d.ts.map +1 -1
  35. package/dist/css-module/css-module/Button.d.ts +1 -1
  36. package/dist/css-module/css-module/Button.d.ts.map +1 -1
  37. package/dist/css-module/css-module/FormFieldCheckbox.d.ts +10 -0
  38. package/dist/css-module/css-module/FormFieldCheckbox.d.ts.map +1 -0
  39. package/dist/css-module/css-module/FormFieldTextarea.d.ts +10 -0
  40. package/dist/css-module/css-module/FormFieldTextarea.d.ts.map +1 -0
  41. package/dist/css-module/css-module/index.d.ts +6 -2
  42. package/dist/css-module/css-module/index.d.ts.map +1 -1
  43. package/dist/css-module/index.d.ts +4 -0
  44. package/dist/css-module/index.d.ts.map +1 -1
  45. package/dist/css-module/index.js +971 -689
  46. package/dist/css-module/index.js.map +1 -1
  47. package/dist/css-module/index.mjs +969 -689
  48. package/dist/css-module/index.mjs.map +1 -1
  49. package/dist/index.cjs.js +784 -563
  50. package/dist/index.cjs.js.map +1 -1
  51. package/dist/index.d.ts +4 -0
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.esm.js +783 -564
  54. package/dist/index.esm.js.map +1 -1
  55. package/package.json +9 -8
  56. package/tsconfig.md +51 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../components-react/button-react/dist/index.esm.js"],"sourcesContent":["import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';\nimport _extends from '@babel/runtime/helpers/extends';\nimport _defineProperty from '@babel/runtime/helpers/defineProperty';\nimport _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport clsx from 'clsx';\nimport { forwardRef } from 'react';\n\nvar _excluded = [\"appearance\", \"busy\", \"disabled\", \"children\", \"className\", \"hint\", \"icon\", \"label\", \"pressed\", \"type\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nvar Button = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var appearance = _ref.appearance,\n busy = _ref.busy,\n disabled = _ref.disabled,\n children = _ref.children,\n className = _ref.className,\n hint = _ref.hint,\n icon = _ref.icon,\n label = _ref.label,\n pressed = _ref.pressed,\n type = _ref.type,\n restProps = _objectWithoutProperties(_ref, _excluded);\n return jsxs(\"button\", _objectSpread(_objectSpread({\n ref: ref,\n className: clsx('utrecht-button', busy && 'utrecht-button--busy', disabled && 'utrecht-button--disabled', type === 'submit' && 'utrecht-button--submit', appearance === 'primary-action-button' && 'utrecht-button--primary-action', appearance === 'secondary-action-button' && 'utrecht-button--secondary-action', appearance === 'subtle-button' && 'utrecht-button--subtle', hint === 'danger' && 'utrecht-button--danger', hint === 'warning' && 'utrecht-button--warning', hint === 'ready' && 'utrecht-button--ready', pressed === true && 'utrecht-button--pressed', className),\n \"aria-busy\": busy || undefined,\n \"aria-pressed\": typeof pressed === 'boolean' ? pressed : undefined,\n disabled: disabled,\n type: type || 'button'\n }, restProps), {}, {\n children: [icon, label && jsx(\"span\", {\n className: \"utrecht-button__label\",\n children: label\n }), children]\n }));\n});\nButton.displayName = 'Button';\nvar PrimaryActionButton = function PrimaryActionButton(_ref2) {\n var args = _extends({}, (_objectDestructuringEmpty(_ref2), _ref2));\n return jsx(Button, _objectSpread(_objectSpread({}, args), {}, {\n appearance: \"primary-action-button\"\n }));\n};\nPrimaryActionButton.displayName = 'PrimaryActionButton';\nvar SecondaryActionButton = function SecondaryActionButton(_ref3) {\n var args = _extends({}, (_objectDestructuringEmpty(_ref3), _ref3));\n return jsx(Button, _objectSpread(_objectSpread({}, args), {}, {\n appearance: \"secondary-action-button\"\n }));\n};\nSecondaryActionButton.displayName = 'SecondaryActionButton';\nvar SubtleButton = function SubtleButton(_ref4) {\n var args = _extends({}, (_objectDestructuringEmpty(_ref4), _ref4));\n return jsx(Button, _objectSpread(_objectSpread({}, args), {}, {\n appearance: \"subtle-button\"\n }));\n};\nSubtleButton.displayName = 'SubtleButton';\n\nexport { Button, PrimaryActionButton, SecondaryActionButton, SubtleButton };\n//# sourceMappingURL=index.esm.js.map\n"],"names":["_excluded","ownKeys","_objectSpread"],"mappings":";;;;;;;;;AAQA,IAAIA,YAAS,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AACxH,SAASC,UAAO,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,qBAAqB,EAAE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE,OAAO,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE;AAC/P,SAASC,gBAAa,CAAC,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,GAAG,IAAI,IAAI,SAAS,CAAC,CAAC,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../components-react/button-react/dist/index.esm.js"],"sourcesContent":["import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';\nimport _extends from '@babel/runtime/helpers/extends';\nimport _defineProperty from '@babel/runtime/helpers/defineProperty';\nimport _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport clsx from 'clsx';\nimport { forwardRef } from 'react';\n\nvar _excluded = [\"appearance\", \"busy\", \"disabled\", \"children\", \"className\", \"hint\", \"icon\", \"label\", \"pressed\", \"type\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nvar Button = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var appearance = _ref.appearance,\n busy = _ref.busy,\n disabled = _ref.disabled,\n children = _ref.children,\n className = _ref.className,\n hint = _ref.hint,\n icon = _ref.icon,\n label = _ref.label,\n pressed = _ref.pressed,\n type = _ref.type,\n restProps = _objectWithoutProperties(_ref, _excluded);\n return jsxs(\"button\", _objectSpread(_objectSpread({\n ref: ref,\n className: clsx('utrecht-button', busy && 'utrecht-button--busy', disabled && 'utrecht-button--disabled', type === 'submit' && 'utrecht-button--submit', appearance === 'primary-action-button' && 'utrecht-button--primary-action', appearance === 'secondary-action-button' && 'utrecht-button--secondary-action', appearance === 'subtle-button' && 'utrecht-button--subtle', hint === 'danger' && 'utrecht-button--danger', hint === 'warning' && 'utrecht-button--warning', hint === 'ready' && 'utrecht-button--ready', pressed === true && 'utrecht-button--pressed', className),\n \"aria-busy\": busy || undefined,\n \"aria-pressed\": typeof pressed === 'boolean' ? pressed : undefined,\n disabled: disabled,\n type: type || 'button'\n }, restProps), {}, {\n children: [icon, label && jsx(\"span\", {\n className: \"utrecht-button__label\",\n children: label\n }), children]\n }));\n});\nButton.displayName = 'Button';\nvar PrimaryActionButton = function PrimaryActionButton(_ref2) {\n var args = _extends({}, (_objectDestructuringEmpty(_ref2), _ref2));\n return jsx(Button, _objectSpread(_objectSpread({}, args), {}, {\n appearance: \"primary-action-button\"\n }));\n};\nPrimaryActionButton.displayName = 'PrimaryActionButton';\nvar SecondaryActionButton = function SecondaryActionButton(_ref3) {\n var args = _extends({}, (_objectDestructuringEmpty(_ref3), _ref3));\n return jsx(Button, _objectSpread(_objectSpread({}, args), {}, {\n appearance: \"secondary-action-button\"\n }));\n};\nSecondaryActionButton.displayName = 'SecondaryActionButton';\nvar SubtleButton = function SubtleButton(_ref4) {\n var args = _extends({}, (_objectDestructuringEmpty(_ref4), _ref4));\n return jsx(Button, _objectSpread(_objectSpread({}, args), {}, {\n appearance: \"subtle-button\"\n }));\n};\nSubtleButton.displayName = 'SubtleButton';\n\nexport { Button, PrimaryActionButton, SecondaryActionButton, SubtleButton };\n//# sourceMappingURL=index.esm.js.map\n"],"names":["_excluded","ownKeys","_objectSpread"],"mappings":";;;;;;;;;AAQA,IAAIA,YAAS,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AACxH,SAASC,UAAO,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,qBAAqB,EAAE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE,OAAO,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE;AAC/P,SAASC,gBAAa,CAAC,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,GAAG,IAAI,IAAI,SAAS,CAAC,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "7.0.0",
2
+ "version": "7.1.0",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "React component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
@@ -21,7 +21,8 @@
21
21
  "module": "./dist/index.esm.js",
22
22
  "types": "./dist/index.d.ts",
23
23
  "files": [
24
- "dist/"
24
+ "dist/",
25
+ "*.md"
25
26
  ],
26
27
  "dependencies": {
27
28
  "clsx": "2.1.1",
@@ -77,30 +78,30 @@
77
78
  "@utrecht/badge-counter-css": "1.2.1",
78
79
  "@utrecht/badge-data-css": "1.2.0",
79
80
  "@utrecht/badge-list-css": "2.0.0",
80
- "@utrecht/blockquote-css": "1.2.1",
81
81
  "@utrecht/badge-status-css": "1.2.0",
82
+ "@utrecht/blockquote-css": "1.3.0",
82
83
  "@utrecht/breadcrumb-nav-css": "1.2.0",
83
84
  "@utrecht/button-group-css": "1.2.0",
84
85
  "@utrecht/button-link-css": "1.1.0",
85
86
  "@utrecht/button-react": "2.0.0",
86
87
  "@utrecht/calendar-react": "1.0.2",
87
88
  "@utrecht/checkbox-css": "1.3.0",
88
- "@utrecht/code-css": "1.2.2",
89
89
  "@utrecht/code-block-css": "1.2.2",
90
+ "@utrecht/code-css": "1.2.2",
90
91
  "@utrecht/color-sample-css": "1.2.2",
91
- "@utrecht/column-layout-css": "1.2.0",
92
+ "@utrecht/column-layout-css": "1.3.0",
92
93
  "@utrecht/combobox-css": "1.2.0",
93
94
  "@utrecht/currency-data-css": "1.1.0",
94
95
  "@utrecht/custom-checkbox-css": "1.1.1",
95
96
  "@utrecht/data-list-css": "1.2.0",
96
- "@utrecht/digid-button-css": "1.2.0",
97
97
  "@utrecht/data-placeholder-css": "1.2.0",
98
+ "@utrecht/digid-button-css": "1.2.0",
98
99
  "@utrecht/document-css": "1.2.0",
99
100
  "@utrecht/drawer-css": "1.2.2",
100
101
  "@utrecht/emphasis-css": "1.2.0",
101
102
  "@utrecht/figure-css": "1.2.0",
102
103
  "@utrecht/focus-ring-css": "2.0.0",
103
- "@utrecht/form-field-css": "1.2.0",
104
+ "@utrecht/form-field-css": "1.3.0",
104
105
  "@utrecht/form-field-description-css": "1.3.0",
105
106
  "@utrecht/form-field-error-message-css": "1.3.1",
106
107
  "@utrecht/form-fieldset-css": "1.2.0",
@@ -115,8 +116,8 @@
115
116
  "@utrecht/heading-group-css": "1.2.0",
116
117
  "@utrecht/html-content-css": "1.1.0",
117
118
  "@utrecht/iban-data-css": "1.1.0",
118
- "@utrecht/img-css": "1.1.0",
119
119
  "@utrecht/icon": "1.2.0",
120
+ "@utrecht/img-css": "1.1.0",
120
121
  "@utrecht/index-char-nav-css": "1.2.0",
121
122
  "@utrecht/link-button-css": "1.1.0",
122
123
  "@utrecht/link-css": "1.3.0",
package/tsconfig.md ADDED
@@ -0,0 +1,51 @@
1
+ # Configuration
2
+
3
+ ## `package.json`
4
+
5
+ ### `files`
6
+
7
+ - Include `dist/` for the compiled JavaScript.
8
+ - Include `dist/` to allow _Go to definition_ and see the original TypeScript.
9
+
10
+ ### `"sideEffects": false`
11
+
12
+ Allow build tools to exclude code from this package when no imports appear to be used ("treeshaking"). Some code does include sideEffects, CSS injection in particular, but the side effects are only needed when the component is actually used.
13
+
14
+ ## `tsconfig.json`
15
+
16
+ ### `compilerOptions`
17
+
18
+ - [`composite`](https://www.typescriptlang.org/tsconfig/#composite): `true` because we include TypeScript projects for each React component npm package in this workspace.
19
+ - [`declaration`](https://www.typescriptlang.org/tsconfig/#declaration) and [`declarationMap`](https://www.typescriptlang.org/tsconfig/#declarationMap): allow jumping to the original `.ts` file when using _Go to definition_.
20
+ - `forceConsistentCasingInFileNames`: ensure we get the same errors as developers using a case-sensitive file system.
21
+ - `isolatedModules`: be prepared for [future build improvements](https://github.com/microsoft/TypeScript/issues/58944).
22
+ - `jsx: "react"`: do not require `import React from 'react';` in each `.tsx` file.
23
+ - `lib`: build for client-side scripts with access to the `"DOM"`. [`"ES2022"` on Can I Use](https://caniuse.com/?search=es2022) seems to have good browser support.
24
+ - `resolveJsonModule`: not needed for many projects, but it is harmless to make it consitently available.
25
+ - [`strict`](https://www.typescriptlang.org/tsconfig/#strict): automatically enable the following options, so we don't need to enable them explicitly:
26
+ - `alwaysStrict`
27
+ - `allowUnreachableCode`
28
+ - `noImplicitAny`
29
+ - `noImplicitThis`
30
+ - `strictBindCallApply`
31
+ - `strictFunctionTypes`
32
+ - `strictNullChecks`
33
+ - `strictPropertyInitialization`
34
+ - `useUnknownInCatchVariables`
35
+ - Enable the following too, because they are not part of the _strict mode family_:
36
+ - `noFallthroughCasesInSwitch`
37
+ - `noImplicitOverride`
38
+ - `noImplicitReturns`
39
+ - `noPropertyAccessFromIndexSignature`
40
+ - `noUncheckedIndexedAccess`
41
+ - `noUnusedLocals`
42
+ - `noUnusedParameters`
43
+
44
+ ### `include`
45
+
46
+ - include component library files file from `src/`
47
+ - include component npm packages from `packages/`
48
+
49
+ ## `tsconfig.test.json`
50
+
51
+ - `noEmit`: avoid creating `.js` new files based on unit tests.