@onemrvapublic/design-system 22.0.0-develop.5 → 22.0.0-develop.7

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 (28) hide show
  1. package/README.md +10 -4
  2. package/assets/i18n/de.json +12 -0
  3. package/assets/i18n/en.json +12 -0
  4. package/assets/i18n/fr.json +12 -0
  5. package/assets/i18n/nl.json +12 -0
  6. package/fesm2022/onemrvapublic-design-system-layout.mjs +2 -31
  7. package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
  8. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +17 -41
  9. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
  10. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +2 -47
  11. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
  12. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +5 -32
  13. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
  14. package/fesm2022/onemrvapublic-design-system-page-error.mjs +2 -3
  15. package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
  16. package/fesm2022/onemrvapublic-design-system-shared.mjs +1 -1
  17. package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
  18. package/fesm2022/onemrvapublic-design-system-timeline.mjs +563 -0
  19. package/fesm2022/onemrvapublic-design-system-timeline.mjs.map +1 -0
  20. package/fesm2022/onemrvapublic-design-system.mjs +1 -1
  21. package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
  22. package/mat-carousel/src/onemrva-mat-carousel.component.scss +18 -0
  23. package/package.json +5 -1
  24. package/timeline/src/onemrva-timeline.component.scss +371 -0
  25. package/types/onemrvapublic-design-system-mat-carousel.d.ts +0 -3
  26. package/types/onemrvapublic-design-system-page-error.d.ts +0 -1
  27. package/types/onemrvapublic-design-system-timeline.d.ts +195 -0
  28. package/types/onemrvapublic-design-system.d.ts +1 -1
package/README.md CHANGED
@@ -33,13 +33,19 @@ If you need access to our design system board, send us a message.
33
33
  @Bram Decuypere (NL / EN)
34
34
  ## Changelog
35
35
 
36
- ### 22.0.0-develop.5
36
+ ### 22.0.0-develop.7
37
37
 
38
- # [22.0.0-develop.5](https://rvaonem.ghe.com/AS-DESIGN-SYSTEM/core/compare/v22.0.0-develop.4...v22.0.0-develop.5) (2026-06-18)
38
+ # [22.0.0-develop.7](https://rvaonem.ghe.com/AS-DESIGN-SYSTEM/core/compare/v22.0.0-develop.6...v22.0.0-develop.7) (2026-06-22)
39
39
 
40
40
 
41
41
  ### Bug Fixes
42
42
 
43
- * ensure ngx translate update ([82bbd15](https://rvaonem.ghe.com/AS-DESIGN-SYSTEM/core/commit/82bbd15d5956701b440a76aa9fcd2690496b39b3))
44
- * ensure ngx translate update ([d3f1d05](https://rvaonem.ghe.com/AS-DESIGN-SYSTEM/core/commit/d3f1d0558c342921e61be6ac3379c8b20e9ab9e3))
43
+ * **timeline:** drop invalid TranslateModule import and redundant optional chain ([a988299](https://rvaonem.ghe.com/AS-DESIGN-SYSTEM/core/commit/a98829939d4c1467eb6365188cf8b7e307bc2d7c))
44
+
45
+
46
+ ### Features
47
+
48
+ * **timeline:** add en, fr, nl and de translations ([cfef4bb](https://rvaonem.ghe.com/AS-DESIGN-SYSTEM/core/commit/cfef4bbc445eb760c2b1130ebf40dc834ff54a97))
49
+ * **timeline:** add full-size mode and refine layout, models and docs ([e794eec](https://rvaonem.ghe.com/AS-DESIGN-SYSTEM/core/commit/e794eecf1caf7be432687cf8a862347cd7f14cb6))
50
+ * **timeline:** add timeline component to design system ([5e05e1f](https://rvaonem.ghe.com/AS-DESIGN-SYSTEM/core/commit/5e05e1f84b7276d8b6e7ab27247bf2c33e52be01))
45
51
 
@@ -1,4 +1,16 @@
1
1
  {
2
+ "timeline": {
3
+ "period": "Zeitraum",
4
+ "month": "Monat",
5
+ "year": "Jahr",
6
+ "years": "Jahre",
7
+ "goToMonth": "Zum Monat",
8
+ "previousYear": "Zum vorherigen Jahr",
9
+ "nextYear": "Zum nächsten Jahr",
10
+ "previousMonth": "Zum vorherigen Monat",
11
+ "nextMonth": "Zum nächsten Monat",
12
+ "goTo": "Gehe zu {{label}}"
13
+ },
2
14
  "demo.title": "Design System",
3
15
  "error": {
4
16
  "500": {
@@ -1,4 +1,16 @@
1
1
  {
2
+ "timeline": {
3
+ "period": "Period",
4
+ "month": "Month",
5
+ "year": "Year",
6
+ "years": "Years",
7
+ "goToMonth": "Go to month",
8
+ "previousYear": "Go to previous year",
9
+ "nextYear": "Go to next year",
10
+ "previousMonth": "Go to previous month",
11
+ "nextMonth": "Go to next month",
12
+ "goTo": "Go to {{label}}"
13
+ },
2
14
  "demo.title": "Design System",
3
15
  "error": {
4
16
  "500": {
@@ -1,4 +1,16 @@
1
1
  {
2
+ "timeline": {
3
+ "period": "Période",
4
+ "month": "Mois",
5
+ "year": "An",
6
+ "years": "Ans",
7
+ "goToMonth": "Aller au mois",
8
+ "previousYear": "Aller à l'année précédente",
9
+ "nextYear": "Aller à l'année suivante",
10
+ "previousMonth": "Aller au mois précédent",
11
+ "nextMonth": "Aller au mois suivant",
12
+ "goTo": "Aller à {{label}}"
13
+ },
2
14
  "demo.title": "Design System",
3
15
  "error": {
4
16
  "500": {
@@ -1,4 +1,16 @@
1
1
  {
2
+ "timeline": {
3
+ "period": "Periode",
4
+ "month": "Maand",
5
+ "year": "Jaar",
6
+ "years": "Jaar",
7
+ "goToMonth": "Ga naar maand",
8
+ "previousYear": "Ga naar vorig jaar",
9
+ "nextYear": "Ga naar volgend jaar",
10
+ "previousMonth": "Ga naar vorige maand",
11
+ "nextMonth": "Ga naar volgende maand",
12
+ "goTo": "Ga naar {{label}}"
13
+ },
2
14
  "demo.title": "Ontwerpsysteem",
3
15
  "error": {
4
16
  "500": {
@@ -19,7 +19,6 @@ import { MatRipple } from '@angular/material/core';
19
19
  import { OnemrvaMatNavigationComponent } from '@onemrvapublic/design-system/mat-navigation';
20
20
  import { TranslateService, TranslatePipe, TranslateDirective } from '@ngx-translate/core';
21
21
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
22
- import { trigger, state, style, transition, animate } from '@angular/animations';
23
22
  import * as i1 from '@angular/material/form-field';
24
23
  import { MatFormFieldModule } from '@angular/material/form-field';
25
24
  import * as i2 from '@angular/material/select';
@@ -474,39 +473,11 @@ class LayoutSidenavComponent {
474
473
  return 'Unnamed Route';
475
474
  }
476
475
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: LayoutSidenavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
477
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: LayoutSidenavComponent, isStandalone: true, selector: "onemrva-layout-sidenav", inputs: { isSmall: { classPropertyName: "isSmall", publicName: "isSmall", isSignal: true, isRequired: true, transformFunction: null }, routes: { classPropertyName: "routes", publicName: "routes", isSignal: true, isRequired: false, transformFunction: null }, languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (\n isSmall() &&\n (routes()?.toArray()?.length || (languages() && languages().length > 1))\n) {\n <div class=\"sidebar\">\n @if (isSmall() && routes()?.toArray()?.length) {\n <div class=\"navigation\">\n <div class=\"close-button\">\n <button\n type=\"button\"\n mat-icon-button\n (click)=\"close()\"\n data-cy=\"smallDeviceMenu\"\n attr.aria-label=\"{{ 'layout.menu' | translate }}\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <onemrva-mat-navigation [items]=\"items\" />\n </div>\n @if (languages() && languages().length > 1) {\n <div class=\"language-selector\">\n <mat-form-field>\n <mat-select\n [ngModel]=\"currentLanguage\"\n (selectionChange)=\"changeLanguage($event)\"\n >\n @for (lang of languages(); track lang.code) {\n <mat-option\n [value]=\"lang\"\n [attr.data-cy]=\"'language_' + lang.code\"\n >\n {{ lang.label }}\n </mat-option>\n }\n </mat-select>\n </mat-form-field>\n </div>\n }\n }\n </div>\n}\n", styles: [":host .close-button{display:flex;justify-content:flex-end;padding:var(--spacer)}:host .mobile-menu-item{display:flex;width:100%;background:var(--mat-sys-background);padding:var(--spacer);border:none;box-shadow:none;font-size:1.2rem;align-items:center;text-align:left}:host .mobile-menu-item:active,:host .mobile-menu-item.active{border-right:4px solid var(--mat-sys-secondary);font-weight:700!important}:host .mobile-menu-item mat-icon{margin-left:4px}:host .sidebar{overflow:scroll;display:flex;flex-direction:column;justify-content:space-between;height:100vh}:host .sidebar .language-selector mat-form-field{width:100%}:host .sidebar .language-selector{margin:var(--double-spacer);bottom:0}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: OnemrvaMatNavigationComponent, selector: "onemrva-mat-navigation", inputs: ["items", "level", "translate"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], animations: [
478
- trigger('slideInOut', [
479
- state('in', style({
480
- overflow: 'hidden',
481
- height: '*',
482
- })),
483
- state('out', style({
484
- opacity: '0',
485
- overflow: 'hidden',
486
- height: '0px',
487
- })),
488
- transition('in => out', animate('400ms ease-in-out')),
489
- transition('out => in', animate('400ms ease-in-out')),
490
- ]),
491
- ] }); }
476
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: LayoutSidenavComponent, isStandalone: true, selector: "onemrva-layout-sidenav", inputs: { isSmall: { classPropertyName: "isSmall", publicName: "isSmall", isSignal: true, isRequired: true, transformFunction: null }, routes: { classPropertyName: "routes", publicName: "routes", isSignal: true, isRequired: false, transformFunction: null }, languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (\n isSmall() &&\n (routes()?.toArray()?.length || (languages() && languages().length > 1))\n) {\n <div class=\"sidebar\">\n @if (isSmall() && routes()?.toArray()?.length) {\n <div class=\"navigation\">\n <div class=\"close-button\">\n <button\n type=\"button\"\n mat-icon-button\n (click)=\"close()\"\n data-cy=\"smallDeviceMenu\"\n attr.aria-label=\"{{ 'layout.menu' | translate }}\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <onemrva-mat-navigation [items]=\"items\" />\n </div>\n @if (languages() && languages().length > 1) {\n <div class=\"language-selector\">\n <mat-form-field>\n <mat-select\n [ngModel]=\"currentLanguage\"\n (selectionChange)=\"changeLanguage($event)\"\n >\n @for (lang of languages(); track lang.code) {\n <mat-option\n [value]=\"lang\"\n [attr.data-cy]=\"'language_' + lang.code\"\n >\n {{ lang.label }}\n </mat-option>\n }\n </mat-select>\n </mat-form-field>\n </div>\n }\n }\n </div>\n}\n", styles: [":host .close-button{display:flex;justify-content:flex-end;padding:var(--spacer)}:host .mobile-menu-item{display:flex;width:100%;background:var(--mat-sys-background);padding:var(--spacer);border:none;box-shadow:none;font-size:1.2rem;align-items:center;text-align:left}:host .mobile-menu-item:active,:host .mobile-menu-item.active{border-right:4px solid var(--mat-sys-secondary);font-weight:700!important}:host .mobile-menu-item mat-icon{margin-left:4px}:host .sidebar{overflow:scroll;display:flex;flex-direction:column;justify-content:space-between;height:100vh}:host .sidebar .language-selector mat-form-field{width:100%}:host .sidebar .language-selector{margin:var(--double-spacer);bottom:0}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: OnemrvaMatNavigationComponent, selector: "onemrva-mat-navigation", inputs: ["items", "level", "translate"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
492
477
  }
493
478
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: LayoutSidenavComponent, decorators: [{
494
479
  type: Component,
495
- args: [{ selector: 'onemrva-layout-sidenav', animations: [
496
- trigger('slideInOut', [
497
- state('in', style({
498
- overflow: 'hidden',
499
- height: '*',
500
- })),
501
- state('out', style({
502
- opacity: '0',
503
- overflow: 'hidden',
504
- height: '0px',
505
- })),
506
- transition('in => out', animate('400ms ease-in-out')),
507
- transition('out => in', animate('400ms ease-in-out')),
508
- ]),
509
- ], standalone: true, imports: [
480
+ args: [{ selector: 'onemrva-layout-sidenav', standalone: true, imports: [
510
481
  MatIconButton,
511
482
  MatIcon,
512
483
  TranslatePipe,