@laerdal/life-react-components 6.0.0-dev.26 → 6.0.0-dev.26.full

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.
@@ -73,7 +73,7 @@ describe('ChoiceChips', () => {
73
73
  });
74
74
 
75
75
  expect(wrapper.queryAllByRole('radio')[0]).toHaveClass('outline');
76
- expect(wrapper.queryAllByRole('radio')[1]).toHaveClass('default')
76
+ expect(wrapper.queryAllByRole('radio')[1]).toHaveClass('selected')
77
77
  });
78
78
 
79
79
  })
package/package.json CHANGED
@@ -1,150 +1,154 @@
1
1
  {
2
- "name": "@laerdal/life-react-components",
3
- "version": "6.0.0-dev.26",
4
- "private": false,
5
- "author": "Erik Martirosyan <erik.martirosyan@laerdal.com>",
6
- "contributors": [],
7
- "description": "Laerdal LIFE component library for React.",
8
- "keywords": [],
9
- "license": "UNLICENSED",
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/Laerdal-Medical/dcs-life-react-js"
13
- },
14
- "main": "dist/index.cjs",
15
- "module": "dist/index.js",
16
- "types": "dist/index.d.ts",
17
- "exports": {
18
- ".": {
19
- "require": "./dist/index.cjs",
20
- "import": "./dist/index.js",
21
- "types": "./dist/index.d.ts"
22
- }
23
- },
24
- "sideEffects": false,
25
- "files": [
26
- "dist"
27
- ],
28
- "scripts": {
29
- "bump": "yarn version --patch",
30
- "build": "yarn extract-design-tokens && yarn build:babel:esm && yarn build:babel:cjs && tsc --emitDeclarationOnly --declaration --declarationDir dist && node scripts/copyTS.cjs",
31
- "extract-design-tokens": "node scripts/extractDesignTokens.js",
32
- "build:babel:esm": "cross-env BABEL_ENV=esm babel --source-maps --extensions \".js,.ts,.tsx\" src --out-dir dist --out-file-extension .js --copy-files",
33
- "build:babel:cjs": "cross-env BABEL_ENV=cjs babel --source-maps --extensions \".js,.ts,.tsx\" src --out-dir dist --out-file-extension .cjs --copy-files",
34
- "clean": "rimraf dist",
35
- "develop": "yarn build:babel:esm --skip-initial-build --watch --verbose",
36
- "test": "jest src/",
37
- "test:coverage": "jest --collectCoverage src/",
38
- "test-watch": "jest --watch",
39
- "storybook": "storybook dev -p 6006",
40
- "build-storybook": "storybook build"
41
- },
42
- "eslintConfig": {
43
- "extends": [
44
- "react-app",
45
- "plugin:storybook/recommended"
46
- ]
47
- },
48
- "browserslist": {
49
- "production": [
50
- ">0.2%",
51
- "not dead",
52
- "not op_mini all"
53
- ],
54
- "development": [
55
- "last 1 chrome version",
56
- "last 1 firefox version",
57
- "last 1 safari version"
58
- ]
59
- },
60
- "omlet": {
61
- "exports": {
62
- ".": "src/index.ts"
63
- }
64
- },
65
- "dependencies": {
66
- "@babel/plugin-transform-typescript": "^7.28.0",
67
- "@laerdal/figma-svg": "^5.2.2",
68
- "@types/node": "^18.0.6",
69
- "animated-scroll-to": "^2.3.0",
70
- "dayjs": "^1.11.5",
71
- "nanoid": "3.3.11",
72
- "react": "^19.0.0",
73
- "react-datepicker": "^8.4.0",
74
- "react-dom": "^19.0.0",
75
- "react-inlinesvg": "^4.2.0",
76
- "react-modal": "^3.16.0",
77
- "react-quill": "^2.0.0",
78
- "react-resize-detector": "^11.0.1",
79
- "rooks": "^7.1.1",
80
- "styled-components": "^6.1.13",
81
- "typescript": "^5.1.2"
82
- },
83
- "devDependencies": {
84
- "@babel/cli": "^7.22.0",
85
- "@babel/plugin-proposal-class-properties": "^7.18.6",
86
- "@babel/plugin-proposal-decorators": "^7.27.1",
87
- "@babel/plugin-proposal-export-default-from": "^7.22.0",
88
- "@babel/plugin-proposal-numeric-separator": "^7.18.6",
89
- "@babel/plugin-proposal-object-rest-spread": "^7.18.6",
90
- "@babel/plugin-transform-runtime": "^7.22.0",
91
- "@babel/preset-env": "^7.22.0",
92
- "@babel/preset-react": "^7.22.0",
93
- "@babel/preset-typescript": "^7.27.0",
94
- "@babel/runtime": "^7.22.0",
95
- "@chromatic-com/storybook": "1.4.0",
96
- "@laerdal-medical/life-design-tokens": "^1.5.1-beta",
97
- "@laerdal/life-react-components": "5.1.0",
98
- "@laerdal/navigation": "^3.2.0",
99
- "@storybook/addon-essentials": "^8.1.3",
100
- "@storybook/addon-interactions": "^8.1.3",
101
- "@storybook/addon-links": "^8.1.3",
102
- "@storybook/addon-onboarding": "^8.1.3",
103
- "@storybook/addon-webpack5-compiler-swc": "1.0.2",
104
- "@storybook/addons": "^7.6.17",
105
- "@storybook/blocks": "^8.1.3",
106
- "@storybook/react": "^8.1.3",
107
- "@storybook/react-webpack5": "^8.1.3",
108
- "@storybook/test": "^8.1.3",
109
- "@testing-library/dom": "^10.4.0",
110
- "@testing-library/jest-dom": "^6.5.0",
111
- "@testing-library/react": "^16.0.1",
112
- "@testing-library/user-event": "^14.5.2",
113
- "@types/jest": "^29.5.12",
114
- "@types/react": "^19.1.2",
115
- "@types/react-datepicker": "^4.4.2",
116
- "@types/react-dom": "^18.3.0",
117
- "@types/react-modal": "^3.13.1",
118
- "babel-plugin-inline-react-svg": "^2.0.1",
119
- "babel-plugin-typescript-to-proptypes": "^2.0.0",
120
- "concurrently": "^5.2.0",
121
- "cross-env": "^7.0.3",
122
- "css-loader": "^7.1.2",
123
- "eslint-plugin-storybook": "^0.8.0",
124
- "history": "^5.3.0",
125
- "jest": "^29.7.0",
126
- "jest-environment-jsdom": "^29.7.0",
127
- "jest-styled-components": "^7.2.0",
128
- "jest-svg-transformer": "^1.0.0",
129
- "react-router": "^6.0.0",
130
- "react-share": "^5.1.0",
131
- "regenerator-runtime": "^0.13.9",
132
- "storybook": "^8.1.3",
133
- "storybook-addon-themes": "^6.1.0",
134
- "style-loader": "^4.0.0",
135
- "ts-jest": "^29.2.5",
136
- "webpack": "^5.99.9",
137
- "webpack-cli": "^6.0.1",
138
- "webpack-dev-server": "^5.2.1"
139
- },
140
- "peerDependencies": {
141
- "@babel/core": "^7.0.0",
142
- "react": "^19",
143
- "react-dom": "^19"
144
- },
145
- "resolutions": {
146
- "nwsapi": "2.2.9",
147
- "date-fns": "2.24.0",
148
- "@types/react": "19.1.2"
149
- }
2
+ "name": "@laerdal/life-react-components",
3
+ "version": "6.0.0-dev.26.full",
4
+ "private": false,
5
+ "author": "Erik Martirosyan \u003cerik.martirosyan@laerdal.com\u003e",
6
+ "contributors": [
7
+
8
+ ],
9
+ "description": "Laerdal LIFE component library for React.",
10
+ "keywords": [
11
+
12
+ ],
13
+ "license": "UNLICENSED",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/Laerdal-Medical/dcs-life-react-js"
17
+ },
18
+ "main": "dist/index.cjs",
19
+ "module": "dist/index.js",
20
+ "types": "dist/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "require": "./dist/index.cjs",
24
+ "import": "./dist/index.js",
25
+ "types": "./dist/index.d.ts"
26
+ }
27
+ },
28
+ "sideEffects": false,
29
+ "files": [
30
+ "dist"
31
+ ],
32
+ "scripts": {
33
+ "bump": "yarn version --patch",
34
+ "build": "yarn extract-design-tokens \u0026\u0026 yarn build:babel:esm \u0026\u0026 yarn build:babel:cjs \u0026\u0026 tsc --emitDeclarationOnly --declaration --declarationDir dist \u0026\u0026 node scripts/copyTS.cjs",
35
+ "extract-design-tokens": "node scripts/extractDesignTokens.js",
36
+ "build:babel:esm": "cross-env BABEL_ENV=esm babel --source-maps --extensions \".js,.ts,.tsx\" src --out-dir dist --out-file-extension .js --copy-files",
37
+ "build:babel:cjs": "cross-env BABEL_ENV=cjs babel --source-maps --extensions \".js,.ts,.tsx\" src --out-dir dist --out-file-extension .cjs --copy-files",
38
+ "clean": "rimraf dist",
39
+ "develop": "yarn build:babel:esm --skip-initial-build --watch --verbose",
40
+ "test": "jest src/",
41
+ "test:coverage": "jest --collectCoverage src/",
42
+ "test-watch": "jest --watch",
43
+ "storybook": "storybook dev -p 6006",
44
+ "build-storybook": "storybook build"
45
+ },
46
+ "eslintConfig": {
47
+ "extends": [
48
+ "react-app",
49
+ "plugin:storybook/recommended"
50
+ ]
51
+ },
52
+ "browserslist": {
53
+ "production": [
54
+ "\u003e0.2%",
55
+ "not dead",
56
+ "not op_mini all"
57
+ ],
58
+ "development": [
59
+ "last 1 chrome version",
60
+ "last 1 firefox version",
61
+ "last 1 safari version"
62
+ ]
63
+ },
64
+ "omlet": {
65
+ "exports": {
66
+ ".": "src/index.ts"
67
+ }
68
+ },
69
+ "dependencies": {
70
+ "@babel/plugin-transform-typescript": "^7.28.0",
71
+ "@laerdal/figma-svg": "^5.2.2",
72
+ "@types/node": "^18.0.6",
73
+ "animated-scroll-to": "^2.3.0",
74
+ "dayjs": "^1.11.5",
75
+ "nanoid": "3.3.11",
76
+ "react": "^19.0.0",
77
+ "react-datepicker": "^8.4.0",
78
+ "react-dom": "^19.0.0",
79
+ "react-inlinesvg": "^4.2.0",
80
+ "react-modal": "^3.16.0",
81
+ "react-quill": "^2.0.0",
82
+ "react-resize-detector": "^11.0.1",
83
+ "rooks": "^7.1.1",
84
+ "styled-components": "^6.1.13",
85
+ "typescript": "^5.1.2"
86
+ },
87
+ "devDependencies": {
88
+ "@babel/cli": "^7.22.0",
89
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
90
+ "@babel/plugin-proposal-decorators": "^7.27.1",
91
+ "@babel/plugin-proposal-export-default-from": "^7.22.0",
92
+ "@babel/plugin-proposal-numeric-separator": "^7.18.6",
93
+ "@babel/plugin-proposal-object-rest-spread": "^7.18.6",
94
+ "@babel/plugin-transform-runtime": "^7.22.0",
95
+ "@babel/preset-env": "^7.22.0",
96
+ "@babel/preset-react": "^7.22.0",
97
+ "@babel/preset-typescript": "^7.27.0",
98
+ "@babel/runtime": "^7.22.0",
99
+ "@chromatic-com/storybook": "1.4.0",
100
+ "@laerdal-medical/life-design-tokens": "^1.5.1-beta",
101
+ "@laerdal/life-react-components": "5.1.0",
102
+ "@laerdal/navigation": "^3.2.0",
103
+ "@storybook/addon-essentials": "^8.1.3",
104
+ "@storybook/addon-interactions": "^8.1.3",
105
+ "@storybook/addon-links": "^8.1.3",
106
+ "@storybook/addon-onboarding": "^8.1.3",
107
+ "@storybook/addon-webpack5-compiler-swc": "1.0.2",
108
+ "@storybook/addons": "^7.6.17",
109
+ "@storybook/blocks": "^8.1.3",
110
+ "@storybook/react": "^8.1.3",
111
+ "@storybook/react-webpack5": "^8.1.3",
112
+ "@storybook/test": "^8.1.3",
113
+ "@testing-library/dom": "^10.4.0",
114
+ "@testing-library/jest-dom": "^6.5.0",
115
+ "@testing-library/react": "^16.0.1",
116
+ "@testing-library/user-event": "^14.5.2",
117
+ "@types/jest": "^29.5.12",
118
+ "@types/react": "^19.1.2",
119
+ "@types/react-datepicker": "^4.4.2",
120
+ "@types/react-dom": "^18.3.0",
121
+ "@types/react-modal": "^3.13.1",
122
+ "babel-plugin-inline-react-svg": "^2.0.1",
123
+ "babel-plugin-typescript-to-proptypes": "^2.0.0",
124
+ "concurrently": "^5.2.0",
125
+ "cross-env": "^7.0.3",
126
+ "css-loader": "^7.1.2",
127
+ "eslint-plugin-storybook": "^0.8.0",
128
+ "history": "^5.3.0",
129
+ "jest": "^29.7.0",
130
+ "jest-environment-jsdom": "^29.7.0",
131
+ "jest-styled-components": "^7.2.0",
132
+ "jest-svg-transformer": "^1.0.0",
133
+ "react-router": "^6.0.0",
134
+ "react-share": "^5.1.0",
135
+ "regenerator-runtime": "^0.13.9",
136
+ "storybook": "^8.1.3",
137
+ "storybook-addon-themes": "^6.1.0",
138
+ "style-loader": "^4.0.0",
139
+ "ts-jest": "^29.2.5",
140
+ "webpack": "^5.99.9",
141
+ "webpack-cli": "^6.0.1",
142
+ "webpack-dev-server": "^5.2.1"
143
+ },
144
+ "peerDependencies": {
145
+ "@babel/core": "^7.0.0",
146
+ "react": "^19",
147
+ "react-dom": "^19"
148
+ },
149
+ "resolutions": {
150
+ "nwsapi": "2.2.9",
151
+ "date-fns": "2.24.0",
152
+ "@types/react": "19.1.2"
153
+ }
150
154
  }