@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('
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"."
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
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
|
}
|