@myhealth-belgium/webcomponent-population-screenings 0.1.2 → 0.1.4
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/CHANGELOG.md +25 -0
- package/README.md +19 -10
- package/assets/chunk-CS3NHAQO-BO31QAB-.js +5 -0
- package/assets/chunk-DX7SAJOB-D2hEslYe.js +9 -0
- package/assets/main-XmM-jVZE.js +1258 -0
- package/main.js +1 -1
- package/package.json +1 -1
- package/assets/main-pWLKv7CP.js +0 -1270
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# 0.1.4
|
|
2
|
+
|
|
3
|
+
**Bug fixes:**
|
|
4
|
+
|
|
5
|
+
- Added a missing translation.
|
|
6
|
+
|
|
7
|
+
# 0.1.3
|
|
8
|
+
|
|
9
|
+
**Bug fixes:**
|
|
10
|
+
|
|
11
|
+
- Renamed the webcomponent from `mh-population-screenings-webcomponent` to `mh-webcomponent-population-screenings` to adhere with package naming.
|
|
12
|
+
- Renamed `configname` input attribute to `configName`. This results to `config-name` in the HTML attribute due to (Angular Elements' mapping)[https://angular.dev/guide/elements#mapping].
|
|
13
|
+
- Implemented (MyHealth - Web Component Integration)[https://www.npmjs.com/package/@smals-belgium/myhealth-wc-integration] version `1.3` for demo data.
|
|
14
|
+
- Expanded and corrected README.md doccumentation
|
|
15
|
+
|
|
16
|
+
# 0.1.2
|
|
17
|
+
|
|
18
|
+
- Made the info bubbles collapsable, and automatically collapsed on mobile.
|
|
19
|
+
|
|
20
|
+
# 0.1.1
|
|
21
|
+
|
|
22
|
+
**Fixed bugs:**
|
|
23
|
+
|
|
24
|
+
- Fixed spacing issue inside of tables on small screen.
|
|
25
|
+
|
|
1
26
|
# 0.1.0
|
|
2
27
|
|
|
3
28
|
Initial version.
|
package/README.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
# MyHealth Population Screenings
|
|
1
|
+
# MyHealth Webcomponent Population Screenings
|
|
2
2
|
|
|
3
|
-
The MyHealth Population Screenings
|
|
3
|
+
The MyHealth Webcomponent Population Screenings provides a comprehensive view of a user's health sumehr.
|
|
4
4
|
|
|
5
|
-
All MyHealth webcomponents implement the [MyHealth
|
|
5
|
+
All MyHealth webcomponents implement the [MyHealth - Web Component Integration](https://www.npmjs.com/package/@smals-belgium/myhealth-wc-integration) and use the [MyHealth - Angular design kit](https://www.npmjs.com/package/@myhealth-belgium/design-kit) package for styling.
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
-
To use the MyHealth Population Screenings
|
|
9
|
+
To use the MyHealth Webcomponent Population Screenings, simply import the package's JavaScript and CSS into your application:
|
|
10
10
|
|
|
11
11
|
```ts
|
|
12
|
-
import '@myhealth-belgium/population-screenings';
|
|
12
|
+
import '@myhealth-belgium/webcomponent-population-screenings';
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
```scss
|
|
16
|
-
@use '@myhealth-belgium/population-screenings';
|
|
16
|
+
@use '@myhealth-belgium/webcomponent-population-screenings/styles.css';
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
Then, implement the webcomponent in your HTML according to [MyHealth
|
|
19
|
+
Then, implement the webcomponent in your HTML according to [MyHealth - Web Component Integration](https://www.npmjs.com/package/@smals-belgium/myhealth-wc-integration)'s guidelines. Example:
|
|
20
20
|
|
|
21
21
|
```html
|
|
22
|
-
<mh-population-screenings
|
|
22
|
+
<mh-webcomponent-population-screenings
|
|
23
23
|
version="${hostSpecVersion}"
|
|
24
24
|
language="${Language.EN}"
|
|
25
|
-
|
|
25
|
+
config-name="${Configuration.DEV}"
|
|
26
26
|
services="${services}"
|
|
27
|
-
></mh-population-screenings
|
|
27
|
+
></mh-webcomponent-population-screenings>
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
### Mock data
|
|
@@ -37,3 +37,12 @@ When in demo mode, the webcomponent will not make API calls and use standard moc
|
|
|
37
37
|
As stated before, all MyHealth webcomponents use the [MyHealth - Angular design kit](https://www.npmjs.com/package/@myhealth-belgium/design-kit) package.
|
|
38
38
|
|
|
39
39
|
This means all webcomponents use the core functionality of the design kit, and override the Material components that the webcomponent consumes.
|
|
40
|
+
|
|
41
|
+
By default, importing `@myhealth-belgium/webcomponent-sumehr/styles.css` will execute the mixins below.
|
|
42
|
+
|
|
43
|
+
```scss
|
|
44
|
+
@include mh.core();
|
|
45
|
+
@include mh.override-all-mat-components();
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
You **can leave out the styling** if you **provide** these **mixins yourself** using the [MyHealth - Angular design kit](https://www.npmjs.com/package/@myhealth-belgium/design-kit).
|