@onemrvapublic/design-system 20.11.3 → 21.0.0-develop.2
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/README.md +5 -9
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +14 -20
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-layout.mjs +207 -290
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-address.mjs +19 -25
- package/fesm2022/onemrvapublic-design-system-mat-address.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +58 -223
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +47 -53
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +50 -71
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +27 -29
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +24 -42
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +8 -12
- package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +4 -4
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +10 -18
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +98 -173
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +32 -52
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +10 -13
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +10 -13
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +24 -44
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +22 -40
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +26 -39
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +45 -180
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +38 -63
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs +40 -65
- package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +19 -59
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +23 -49
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +61 -101
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +30 -50
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +26 -38
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +66 -105
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +23 -43
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +15 -26
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +62 -177
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +17 -21
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +14 -22
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +8 -8
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +79 -93
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +59 -94
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +178 -245
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +33 -43
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-page-error.mjs +33 -39
- package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +38 -42
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-shared.mjs +188 -312
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-utils.mjs.map +1 -1
- package/mat-choice-chip/src/onemrva-mat-choice-chip.component.scss +13 -3
- package/mat-empty-row/src/onemrva-mat-empty-row.component.scss +2 -2
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.scss +1 -1
- package/mat-input-phone/src/onemrva-mat-input-phone.component.scss +1 -1
- package/mat-panel/src/onemrva-mat-panel-content.scss +1 -1
- package/mat-skeleton/src/onemrva-mat-skeleton.component.scss +1 -1
- package/mat-table-of-content/src/onemrva-mat-table-of-content.component.scss +10 -2
- package/package.json +72 -62
- package/theme/index.scss +230 -0
- package/theme/overrides/_autocomplete.scss +9 -0
- package/theme/overrides/_button-toggle.scss +14 -0
- package/theme/overrides/_button.scss +140 -0
- package/theme/overrides/_card.scss +34 -0
- package/theme/overrides/_carousel.scss +13 -0
- package/theme/overrides/_checkbox.scss +49 -0
- package/theme/overrides/_chips.scss +42 -0
- package/theme/overrides/_datepicker.scss +10 -0
- package/theme/overrides/_dialogs.scss +118 -0
- package/theme/overrides/_divider.scss +9 -0
- package/theme/overrides/_drag-and-drop.scss +74 -0
- package/theme/overrides/_expansion.scss +51 -0
- package/theme/overrides/_fab.scss +45 -0
- package/theme/overrides/_form-field.scss +223 -0
- package/theme/overrides/_icon-button.scss +24 -0
- package/theme/overrides/_icon.scss +97 -0
- package/theme/overrides/_input.scss +18 -0
- package/theme/overrides/_layout.scss +35 -0
- package/theme/overrides/_menu.scss +45 -0
- package/theme/overrides/_option.scss +15 -0
- package/theme/overrides/_panel.scss +59 -0
- package/theme/overrides/_progress-bar.scss +29 -0
- package/theme/overrides/_radio.scss +16 -0
- package/theme/overrides/_select.scss +124 -0
- package/theme/overrides/_sidenav.scss +13 -0
- package/theme/overrides/_slide-toggle.scss +53 -0
- package/theme/overrides/_stepper.scss +196 -0
- package/theme/overrides/_stickers.scss +13 -0
- package/theme/overrides/_table.scss +115 -0
- package/theme/overrides/_tabs.scss +20 -0
- package/theme/overrides/_toast.scss +16 -0
- package/theme/overrides/_toc.scss +26 -0
- package/theme/overrides/_toolbar.scss +26 -0
- package/theme/overrides/_tooltip.scss +19 -0
- package/theme/palettes/_palette.scss +189 -0
- package/theme/utilities/_animations.scss +54 -0
- package/theme/utilities/_container.scss +14 -0
- package/theme/utilities/_fonts.scss +170 -0
- package/theme/utilities/_grid.scss +75 -0
- package/theme/utilities/_media.scss +33 -0
- package/theme/utilities/_palettes.scss +120 -0
- package/theme/utilities/_spacing.scss +86 -0
- package/theme/utilities/_tokens.scss +123 -0
- package/theme/utilities/_utilities.scss +351 -0
- package/theme/utilities/_variables.scss +42 -0
- package/types/onemrvapublic-design-system-flag-icon.d.ts +18 -0
- package/types/onemrvapublic-design-system-layout.d.ts +305 -0
- package/{mat-address/index.d.ts → types/onemrvapublic-design-system-mat-address.d.ts} +8 -8
- package/types/onemrvapublic-design-system-mat-avatar.d.ts +67 -0
- package/{mat-breadcrumb/index.d.ts → types/onemrvapublic-design-system-mat-breadcrumb.d.ts} +8 -6
- package/types/onemrvapublic-design-system-mat-carousel.d.ts +52 -0
- package/types/onemrvapublic-design-system-mat-choice-chip.d.ts +23 -0
- package/types/onemrvapublic-design-system-mat-copy-to-clipboard.d.ts +25 -0
- package/types/onemrvapublic-design-system-mat-country-item.d.ts +10 -0
- package/types/onemrvapublic-design-system-mat-empty-row.d.ts +18 -0
- package/{mat-file-upload/index.d.ts → types/onemrvapublic-design-system-mat-file-upload.d.ts} +53 -51
- package/types/onemrvapublic-design-system-mat-input-address.d.ts +32 -0
- package/{mat-input-birthplace/index.d.ts → types/onemrvapublic-design-system-mat-input-birthplace.d.ts} +10 -10
- package/{mat-input-country/index.d.ts → types/onemrvapublic-design-system-mat-input-country.d.ts} +2 -2
- package/types/onemrvapublic-design-system-mat-input-enterprise-number.d.ts +37 -0
- package/{mat-input-iban/index.d.ts → types/onemrvapublic-design-system-mat-input-iban.d.ts} +12 -13
- package/{mat-input-phone/index.d.ts → types/onemrvapublic-design-system-mat-input-phone.d.ts} +12 -12
- package/types/onemrvapublic-design-system-mat-message-box.d.ts +29 -0
- package/types/onemrvapublic-design-system-mat-multi-select.d.ts +57 -0
- package/types/onemrvapublic-design-system-mat-navigation.d.ts +55 -0
- package/types/onemrvapublic-design-system-mat-notification.d.ts +23 -0
- package/types/onemrvapublic-design-system-mat-paginator.d.ts +58 -0
- package/types/onemrvapublic-design-system-mat-panel.d.ts +66 -0
- package/types/onemrvapublic-design-system-mat-pop-over.d.ts +40 -0
- package/types/onemrvapublic-design-system-mat-progress-bar.d.ts +16 -0
- package/{mat-select-search/index.d.ts → types/onemrvapublic-design-system-mat-select-search.d.ts} +35 -35
- package/types/onemrvapublic-design-system-mat-selectable-box.d.ts +26 -0
- package/{mat-side-menu/index.d.ts → types/onemrvapublic-design-system-mat-side-menu.d.ts} +6 -6
- package/types/onemrvapublic-design-system-mat-skeleton.d.ts +82 -0
- package/{mat-spinner/index.d.ts → types/onemrvapublic-design-system-mat-spinner.d.ts} +3 -4
- package/{mat-stepper/index.d.ts → types/onemrvapublic-design-system-mat-stepper.d.ts} +3 -6
- package/types/onemrvapublic-design-system-mat-table-of-content.d.ts +85 -0
- package/types/onemrvapublic-design-system-mat-task-list.d.ts +56 -0
- package/{mat-timepicker/index.d.ts → types/onemrvapublic-design-system-mat-timepicker.d.ts} +50 -66
- package/types/onemrvapublic-design-system-mat-tooltip.d.ts +40 -0
- package/types/onemrvapublic-design-system-page-error.d.ts +29 -0
- package/{page-not-found/index.d.ts → types/onemrvapublic-design-system-page-not-found.d.ts} +6 -6
- package/{shared/index.d.ts → types/onemrvapublic-design-system-shared.d.ts} +47 -71
- package/flag-icon/index.d.ts +0 -18
- package/layout/index.d.ts +0 -295
- package/mat-avatar/index.d.ts +0 -187
- package/mat-carousel/index.d.ts +0 -52
- package/mat-choice-chip/index.d.ts +0 -21
- package/mat-copy-to-clipboard/index.d.ts +0 -25
- package/mat-country-item/index.d.ts +0 -10
- package/mat-empty-row/index.d.ts +0 -19
- package/mat-input-address/index.d.ts +0 -32
- package/mat-input-enterprise-number/index.d.ts +0 -37
- package/mat-message-box/index.d.ts +0 -101
- package/mat-multi-select/index.d.ts +0 -57
- package/mat-navigation/index.d.ts +0 -54
- package/mat-notification/index.d.ts +0 -43
- package/mat-paginator/index.d.ts +0 -58
- package/mat-panel/index.d.ts +0 -66
- package/mat-pop-over/index.d.ts +0 -40
- package/mat-progress-bar/index.d.ts +0 -18
- package/mat-selectable-box/index.d.ts +0 -29
- package/mat-skeleton/index.d.ts +0 -100
- package/mat-table-of-content/index.d.ts +0 -84
- package/mat-task-list/index.d.ts +0 -57
- package/mat-tooltip/index.d.ts +0 -40
- package/page-error/index.d.ts +0 -34
- /package/{mat-datepicker-header/index.d.ts → types/onemrvapublic-design-system-mat-datepicker-header.d.ts} +0 -0
- /package/{mat-sticker/index.d.ts → types/onemrvapublic-design-system-mat-sticker.d.ts} +0 -0
- /package/{mat-toast/index.d.ts → types/onemrvapublic-design-system-mat-toast.d.ts} +0 -0
- /package/{utils/index.d.ts → types/onemrvapublic-design-system-utils.d.ts} +0 -0
- /package/{index.d.ts → types/onemrvapublic-design-system.d.ts} +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@use '../utilities/variables' as variables;
|
|
2
|
+
@use '../utilities/media' as media;
|
|
3
|
+
@use 'sass:map';
|
|
4
|
+
@use 'sass:list';
|
|
5
|
+
|
|
6
|
+
@mixin padmarrules($name, $selector, $suffix, $value) {
|
|
7
|
+
.#{$selector}l#{$suffix},
|
|
8
|
+
.#{$selector}s#{$suffix} {
|
|
9
|
+
#{$name}-left: #{$value} !important;
|
|
10
|
+
}
|
|
11
|
+
.#{$selector}r#{$suffix},
|
|
12
|
+
.#{$selector}e#{$suffix} {
|
|
13
|
+
#{$name}-right: #{$value} !important;
|
|
14
|
+
}
|
|
15
|
+
.#{$selector}t#{$suffix} {
|
|
16
|
+
#{$name}-top: #{$value} !important;
|
|
17
|
+
}
|
|
18
|
+
.#{$selector}b#{$suffix} {
|
|
19
|
+
#{$name}-bottom: #{$value} !important;
|
|
20
|
+
}
|
|
21
|
+
.#{$selector}x#{$suffix} {
|
|
22
|
+
#{$name}-right: #{$value} !important;
|
|
23
|
+
#{$name}-left: #{$value} !important;
|
|
24
|
+
}
|
|
25
|
+
.#{$selector}y#{$suffix} {
|
|
26
|
+
#{$name}-top: #{$value} !important;
|
|
27
|
+
#{$name}-bottom: #{$value} !important;
|
|
28
|
+
}
|
|
29
|
+
.#{$selector}#{$suffix} {
|
|
30
|
+
#{$name}: #{$value} !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
@mixin gaprules($suffix, $value) {
|
|
34
|
+
.g#{$suffix} {
|
|
35
|
+
gap: $value !important;
|
|
36
|
+
}
|
|
37
|
+
.gc#{$suffix} {
|
|
38
|
+
column-gap: $value !important;
|
|
39
|
+
}
|
|
40
|
+
.gr#{$suffix} {
|
|
41
|
+
row-gap: $value !important;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@mixin spacing() {
|
|
46
|
+
@each $spacer in variables.$spacers {
|
|
47
|
+
@include padmarrules(
|
|
48
|
+
$name: 'padding',
|
|
49
|
+
$selector: 'p',
|
|
50
|
+
$suffix: list.nth($spacer, 1),
|
|
51
|
+
$value: list.nth($spacer, 2)
|
|
52
|
+
);
|
|
53
|
+
@include padmarrules(
|
|
54
|
+
$name: 'margin',
|
|
55
|
+
$selector: 'm',
|
|
56
|
+
$suffix: list.nth($spacer, 1),
|
|
57
|
+
$value: list.nth($spacer, 2)
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
@include gaprules(
|
|
61
|
+
$suffix: list.nth($spacer, 1),
|
|
62
|
+
$value: list.nth($spacer, 2)
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
@each $breakpoint in variables.$breakpoints {
|
|
66
|
+
//@media (min-width: list.nth($breakpoint, 2)) {
|
|
67
|
+
@include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
|
|
68
|
+
$sfx: #{list.nth($spacer, 1)}-#{list.nth($breakpoint, 1)};
|
|
69
|
+
@include padmarrules(
|
|
70
|
+
$name: 'padding',
|
|
71
|
+
$selector: 'p',
|
|
72
|
+
$suffix: $sfx,
|
|
73
|
+
$value: list.nth($spacer, 2)
|
|
74
|
+
);
|
|
75
|
+
@include padmarrules(
|
|
76
|
+
$name: 'margin',
|
|
77
|
+
$selector: 'm',
|
|
78
|
+
$suffix: $sfx,
|
|
79
|
+
$value: list.nth($spacer, 2)
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
@include gaprules($suffix: $sfx, $value: list.nth($spacer, 2));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin theme() {
|
|
5
|
+
& {
|
|
6
|
+
--icon-size-xsmall: 0.75rem;
|
|
7
|
+
--icon-size-small: 1rem;
|
|
8
|
+
--icon-size-medium: 1.25rem;
|
|
9
|
+
--icon-size-large: 1.5rem;
|
|
10
|
+
--icon-size-xlarge: 3rem;
|
|
11
|
+
--icon-size-xxlarge: 4rem;
|
|
12
|
+
|
|
13
|
+
--layout-header-height: 80px;
|
|
14
|
+
--layout-footer-height: 30px;
|
|
15
|
+
|
|
16
|
+
--box-shadow: 0 2px 6px #00000026;
|
|
17
|
+
|
|
18
|
+
--border-radius: 16px;
|
|
19
|
+
--half-border-radius: 8px;
|
|
20
|
+
--small-border-radius: 4px;
|
|
21
|
+
|
|
22
|
+
--input-height: 46px;
|
|
23
|
+
--paginator-height: 37px;
|
|
24
|
+
--page-size-width: 80px;
|
|
25
|
+
|
|
26
|
+
// Sizes based on 16px base rem
|
|
27
|
+
--quad-spacer: 2rem; // 32px
|
|
28
|
+
--triple-spacer: 1.5rem; // 24px
|
|
29
|
+
--double-spacer: 1rem; // 16px
|
|
30
|
+
--spacer-and-half: 0.75rem; // 12px
|
|
31
|
+
--spacer: 0.5rem; // 8px
|
|
32
|
+
--half-spacer: 0.25rem; // 4px
|
|
33
|
+
--quarter-spacer: 0.125rem; // 2px
|
|
34
|
+
|
|
35
|
+
--text-font: Source Sans Pro, sans-serif;
|
|
36
|
+
--brand-font: Poppins, sans-serif;
|
|
37
|
+
--icon-font: Material Icons;
|
|
38
|
+
--button-border-radius: 500px;
|
|
39
|
+
|
|
40
|
+
--background-error-page: url('https://cdn.services.rvaonem.fgov.be/img/404/background.svg');
|
|
41
|
+
|
|
42
|
+
--on-background-gradient: white;
|
|
43
|
+
--background-gradient: transparent
|
|
44
|
+
linear-gradient(90deg, #de2174 0%, #eb142a 100%) 0% 0% no-repeat
|
|
45
|
+
padding-box;
|
|
46
|
+
|
|
47
|
+
--toc-width: 280px;
|
|
48
|
+
|
|
49
|
+
--message-icon: '';
|
|
50
|
+
|
|
51
|
+
--breakpoint-small: 600px;
|
|
52
|
+
--breakpoint-medium: 960px;
|
|
53
|
+
--breakpoint-large: 1280px;
|
|
54
|
+
--breakpoint-xlarge: 1536px;
|
|
55
|
+
--breakpoint-xxlarge: 1920px;
|
|
56
|
+
|
|
57
|
+
.mat-info {
|
|
58
|
+
--message-icon: '\e88e';
|
|
59
|
+
}
|
|
60
|
+
.mat-success {
|
|
61
|
+
--message-icon: '\e86c';
|
|
62
|
+
}
|
|
63
|
+
.mat-error {
|
|
64
|
+
--message-icon: '\e000';
|
|
65
|
+
}
|
|
66
|
+
.mat-warn {
|
|
67
|
+
--message-icon: '\e002';
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
--avatar-size: 3.5rem;
|
|
71
|
+
--avatar-font-size: 1.5rem;
|
|
72
|
+
--avatar-resize: 0.75rem;
|
|
73
|
+
|
|
74
|
+
.onemrva-mat-avatar--text {
|
|
75
|
+
--avatar-font-size: 1rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.onemrva-mat-avatar.xsmall {
|
|
79
|
+
--avatar-size: 2rem;
|
|
80
|
+
--avatar-font-size: 0.75rem;
|
|
81
|
+
--avatar-resize: 0.25rem;
|
|
82
|
+
&.onemrva-mat-avatar--text {
|
|
83
|
+
--avatar-font-size: 0.5rem;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
.onemrva-mat-avatar.small {
|
|
87
|
+
--avatar-size: 2.5rem;
|
|
88
|
+
--avatar-font-size: 1rem;
|
|
89
|
+
--avatar-resize: 0.5rem;
|
|
90
|
+
&.onemrva-mat-avatar--text {
|
|
91
|
+
--avatar-font-size: 0.75rem;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
.onemrva-mat-avatar.large {
|
|
95
|
+
--avatar-size: 4.5rem;
|
|
96
|
+
--avatar-font-size: 2rem;
|
|
97
|
+
--avatar-resize: 1rem;
|
|
98
|
+
&.onemrva-mat-avatar--text {
|
|
99
|
+
--avatar-font-size: 1.25rem;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
.onemrva-mat-avatar.xlarge {
|
|
103
|
+
--avatar-resize: 1.5rem;
|
|
104
|
+
--avatar-size: 8rem;
|
|
105
|
+
--avatar-font-size: 4rem;
|
|
106
|
+
&.onemrva-mat-avatar--text {
|
|
107
|
+
--avatar-font-size: 2rem;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
//&:not(.light-theme) {
|
|
112
|
+
// @media (prefers-color-scheme: dark) {
|
|
113
|
+
// // TODO : dark mode
|
|
114
|
+
// --background-error-page: url('https://cdn.services.rvaonem.fgov.be/img/404/background-dark.svg');
|
|
115
|
+
// }
|
|
116
|
+
//}
|
|
117
|
+
|
|
118
|
+
&.dark-theme {
|
|
119
|
+
// TODO : dark mode
|
|
120
|
+
--background-error-page: url('https://cdn.services.rvaonem.fgov.be/img/404/background-dark.svg');
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
@use '../utilities/variables' as variables;
|
|
2
|
+
@use '../utilities/media' as media;
|
|
3
|
+
@use 'sass:map';
|
|
4
|
+
@use 'sass:list';
|
|
5
|
+
|
|
6
|
+
@mixin utilities() {
|
|
7
|
+
// text
|
|
8
|
+
.text-center {
|
|
9
|
+
text-align: center !important;
|
|
10
|
+
}
|
|
11
|
+
.text-right,
|
|
12
|
+
.text-end {
|
|
13
|
+
text-align: right !important;
|
|
14
|
+
}
|
|
15
|
+
.text-left,
|
|
16
|
+
.text-start {
|
|
17
|
+
text-align: left !important;
|
|
18
|
+
}
|
|
19
|
+
//@each $breakpoint in variables.$breakpoints {
|
|
20
|
+
// @include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
|
|
21
|
+
// .text-center-#{list.nth($breakpoint, 1)} {
|
|
22
|
+
// text-align: center !important;
|
|
23
|
+
// }
|
|
24
|
+
// .text-right-#{list.nth($breakpoint, 1)},
|
|
25
|
+
// .text-end-#{list.nth($breakpoint, 1)} {
|
|
26
|
+
// text-align: right !important;
|
|
27
|
+
// }
|
|
28
|
+
// .text-left-#{list.nth($breakpoint, 1)},
|
|
29
|
+
// .text-start-#{list.nth($breakpoint, 1)} {
|
|
30
|
+
// text-align: left !important;
|
|
31
|
+
// }
|
|
32
|
+
// }
|
|
33
|
+
//}
|
|
34
|
+
|
|
35
|
+
.text-lowercase {
|
|
36
|
+
text-transform: lowercase !important;
|
|
37
|
+
}
|
|
38
|
+
.text-uppercase {
|
|
39
|
+
text-transform: uppercase !important;
|
|
40
|
+
}
|
|
41
|
+
.text-capitalize {
|
|
42
|
+
text-transform: capitalize !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.rotate-0 {
|
|
46
|
+
transform: rotate(0deg);
|
|
47
|
+
transition: transform 0.3s ease;
|
|
48
|
+
}
|
|
49
|
+
.rotate-45 {
|
|
50
|
+
transform: rotate(45deg);
|
|
51
|
+
transition: transform 0.3s ease;
|
|
52
|
+
}
|
|
53
|
+
.rotate-90 {
|
|
54
|
+
transform: rotate(90deg);
|
|
55
|
+
transition: transform 0.3s ease;
|
|
56
|
+
}
|
|
57
|
+
.rotate-135 {
|
|
58
|
+
transform: rotate(135deg);
|
|
59
|
+
transition: transform 0.3s ease;
|
|
60
|
+
}
|
|
61
|
+
.rotate-180 {
|
|
62
|
+
transform: rotate(180deg);
|
|
63
|
+
transition: transform 0.3s ease;
|
|
64
|
+
}
|
|
65
|
+
.rotate-225 {
|
|
66
|
+
transform: rotate(225deg);
|
|
67
|
+
transition: transform 0.3s ease;
|
|
68
|
+
}
|
|
69
|
+
.rotate-270 {
|
|
70
|
+
transform: rotate(270deg);
|
|
71
|
+
transition: transform 0.3s ease;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// align
|
|
75
|
+
.align-baseline {
|
|
76
|
+
vertical-align: baseline !important;
|
|
77
|
+
}
|
|
78
|
+
.align-top {
|
|
79
|
+
vertical-align: top !important;
|
|
80
|
+
}
|
|
81
|
+
.align-middle {
|
|
82
|
+
vertical-align: middle !important;
|
|
83
|
+
}
|
|
84
|
+
.align-bottom {
|
|
85
|
+
vertical-align: bottom !important;
|
|
86
|
+
}
|
|
87
|
+
.align-text-top {
|
|
88
|
+
vertical-align: text-top !important;
|
|
89
|
+
}
|
|
90
|
+
.align-text-bottom {
|
|
91
|
+
vertical-align: text-bottom !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// overflow
|
|
95
|
+
.overflow-auto {
|
|
96
|
+
overflow: auto !important;
|
|
97
|
+
}
|
|
98
|
+
.overflow-hidden {
|
|
99
|
+
overflow: hidden !important;
|
|
100
|
+
}
|
|
101
|
+
.overflow-visible {
|
|
102
|
+
overflow: visible !important;
|
|
103
|
+
}
|
|
104
|
+
.overflow-scroll {
|
|
105
|
+
overflow: scroll !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// float
|
|
109
|
+
.float-right,
|
|
110
|
+
.float-end {
|
|
111
|
+
float: right !important;
|
|
112
|
+
}
|
|
113
|
+
.float-left,
|
|
114
|
+
.float-start {
|
|
115
|
+
float: left !important;
|
|
116
|
+
}
|
|
117
|
+
//@each $breakpoint in variables.$breakpoints {
|
|
118
|
+
// @include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
|
|
119
|
+
// .float-right-#{list.nth($breakpoint, 1)},
|
|
120
|
+
// .float-end-#{list.nth($breakpoint, 1)} {
|
|
121
|
+
// float: right !important;
|
|
122
|
+
// }
|
|
123
|
+
// .float-left-#{list.nth($breakpoint, 1)},
|
|
124
|
+
// .float-start-#{list.nth($breakpoint, 1)} {
|
|
125
|
+
// float: left !important;
|
|
126
|
+
// }
|
|
127
|
+
// }
|
|
128
|
+
//}
|
|
129
|
+
|
|
130
|
+
// display
|
|
131
|
+
.d-none {
|
|
132
|
+
display: none !important;
|
|
133
|
+
}
|
|
134
|
+
.d-inline {
|
|
135
|
+
display: inline !important;
|
|
136
|
+
}
|
|
137
|
+
.d-inline-block {
|
|
138
|
+
display: inline-block !important;
|
|
139
|
+
}
|
|
140
|
+
.d-block {
|
|
141
|
+
display: block !important;
|
|
142
|
+
}
|
|
143
|
+
.d-grid {
|
|
144
|
+
display: grid !important;
|
|
145
|
+
}
|
|
146
|
+
.d-table {
|
|
147
|
+
display: table !important;
|
|
148
|
+
}
|
|
149
|
+
.d-table-cell {
|
|
150
|
+
display: table-cell !important;
|
|
151
|
+
}
|
|
152
|
+
.d-table-row {
|
|
153
|
+
display: table-row !important;
|
|
154
|
+
}
|
|
155
|
+
.d-flex {
|
|
156
|
+
display: flex !important;
|
|
157
|
+
}
|
|
158
|
+
.d-inline-flex {
|
|
159
|
+
display: inline-flex !important;
|
|
160
|
+
}
|
|
161
|
+
.flex-column {
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
}
|
|
164
|
+
.flex-column-reverse {
|
|
165
|
+
flex-direction: column-reverse;
|
|
166
|
+
}
|
|
167
|
+
.flex-row {
|
|
168
|
+
flex-direction: row;
|
|
169
|
+
}
|
|
170
|
+
.flex-row-reverse {
|
|
171
|
+
flex-direction: row-reverse;
|
|
172
|
+
}
|
|
173
|
+
.flex-revert {
|
|
174
|
+
flex-direction: revert;
|
|
175
|
+
}
|
|
176
|
+
.flex-revert-layer {
|
|
177
|
+
flex-direction: revert-layer;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
@each $breakpoint in variables.$breakpoints {
|
|
181
|
+
@include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
|
|
182
|
+
.d-none-#{list.nth($breakpoint, 1)} {
|
|
183
|
+
display: none !important;
|
|
184
|
+
}
|
|
185
|
+
.d-inline-#{list.nth($breakpoint, 1)} {
|
|
186
|
+
display: inline !important;
|
|
187
|
+
}
|
|
188
|
+
.d-inline-block-#{list.nth($breakpoint, 1)} {
|
|
189
|
+
display: inline-block !important;
|
|
190
|
+
}
|
|
191
|
+
.d-block-#{list.nth($breakpoint, 1)} {
|
|
192
|
+
display: block !important;
|
|
193
|
+
}
|
|
194
|
+
.d-grid-#{list.nth($breakpoint, 1)} {
|
|
195
|
+
display: grid !important;
|
|
196
|
+
}
|
|
197
|
+
.d-table-#{list.nth($breakpoint, 1)} {
|
|
198
|
+
display: table !important;
|
|
199
|
+
}
|
|
200
|
+
.d-table-cell-#{list.nth($breakpoint, 1)} {
|
|
201
|
+
display: table-cell !important;
|
|
202
|
+
}
|
|
203
|
+
.d-table-row-#{list.nth($breakpoint, 1)} {
|
|
204
|
+
display: table-row !important;
|
|
205
|
+
}
|
|
206
|
+
.d-flex-#{list.nth($breakpoint, 1)} {
|
|
207
|
+
display: flex !important;
|
|
208
|
+
}
|
|
209
|
+
.d-inline-flex-#{list.nth($breakpoint, 1)} {
|
|
210
|
+
display: inline-flex !important;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.flex-center {
|
|
216
|
+
display: flex;
|
|
217
|
+
align-items: center;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// positions
|
|
221
|
+
.position-relative {
|
|
222
|
+
position: relative !important;
|
|
223
|
+
}
|
|
224
|
+
.position-absolute {
|
|
225
|
+
position: absolute !important;
|
|
226
|
+
}
|
|
227
|
+
.position-fixed {
|
|
228
|
+
position: fixed !important;
|
|
229
|
+
}
|
|
230
|
+
.position-static {
|
|
231
|
+
position: static !important;
|
|
232
|
+
}
|
|
233
|
+
.position-sticky {
|
|
234
|
+
position: sticky !important;
|
|
235
|
+
}
|
|
236
|
+
.clickable {
|
|
237
|
+
cursor: pointer;
|
|
238
|
+
}
|
|
239
|
+
// visibility
|
|
240
|
+
.visible {
|
|
241
|
+
visibility: visible !important;
|
|
242
|
+
}
|
|
243
|
+
.invisible {
|
|
244
|
+
visibility: hidden !important;
|
|
245
|
+
}
|
|
246
|
+
.hidden {
|
|
247
|
+
display: none;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// Sizing
|
|
251
|
+
@for $i from 0 through 100 {
|
|
252
|
+
.w-#{$i} {
|
|
253
|
+
width: '#{$i}%' !important;
|
|
254
|
+
}
|
|
255
|
+
.h-#{$i} {
|
|
256
|
+
height: '#{$i}%' !important;
|
|
257
|
+
}
|
|
258
|
+
.vw-#{$i} {
|
|
259
|
+
width: '#{$i}vw' !important;
|
|
260
|
+
}
|
|
261
|
+
.vh-#{$i} {
|
|
262
|
+
height: '#{$i}vh' !important;
|
|
263
|
+
}
|
|
264
|
+
.mw-#{$i} {
|
|
265
|
+
max-width: '#{$i}%' !important;
|
|
266
|
+
}
|
|
267
|
+
.mh-#{$i} {
|
|
268
|
+
max-height: '#{$i}%' !important;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
.w-auto {
|
|
272
|
+
width: auto !important;
|
|
273
|
+
}
|
|
274
|
+
.h-auto {
|
|
275
|
+
height: auto !important;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.mat-elevation-z0 {
|
|
279
|
+
box-shadow: var(--mat-sys-level0);
|
|
280
|
+
}
|
|
281
|
+
.mat-elevation-z1 {
|
|
282
|
+
box-shadow: var(--mat-sys-level1);
|
|
283
|
+
}
|
|
284
|
+
.mat-elevation-z2 {
|
|
285
|
+
box-shadow: var(--mat-sys-level2);
|
|
286
|
+
}
|
|
287
|
+
.mat-elevation-z3 {
|
|
288
|
+
box-shadow: var(--mat-sys-level3);
|
|
289
|
+
}
|
|
290
|
+
.mat-elevation-z4 {
|
|
291
|
+
box-shadow: var(--mat-sys-level4);
|
|
292
|
+
}
|
|
293
|
+
.mat-elevation-z5 {
|
|
294
|
+
box-shadow: var(--mat-sys-level5);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.show-icon {
|
|
298
|
+
&:not(.mat-grayscale):before {
|
|
299
|
+
font-family: var(--icon-font);
|
|
300
|
+
position: relative;
|
|
301
|
+
float: left;
|
|
302
|
+
//margin-left: calc(var(--spacer) * -4.25);
|
|
303
|
+
height: 100%;
|
|
304
|
+
line-height: 100%;
|
|
305
|
+
vertical-align: middle;
|
|
306
|
+
//left: var(--spacer);
|
|
307
|
+
font-size: 1.25rem;
|
|
308
|
+
font-variation-settings:
|
|
309
|
+
'FILL' 1,
|
|
310
|
+
'wght' 400,
|
|
311
|
+
'GRAD' 0,
|
|
312
|
+
'opsz' 48;
|
|
313
|
+
color: var(--mat-sys-primary);
|
|
314
|
+
}
|
|
315
|
+
&.small {
|
|
316
|
+
}
|
|
317
|
+
&.large {
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.show-icon.mat-info,
|
|
322
|
+
.mat-info .show-icon {
|
|
323
|
+
&:before {
|
|
324
|
+
content: '\e88e';
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
.show-icon.mat-success,
|
|
328
|
+
.mat-success .show-icon {
|
|
329
|
+
&:before {
|
|
330
|
+
content: '\e86c';
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
.show-icon.mat-warn,
|
|
334
|
+
.mat-warn .show-icon {
|
|
335
|
+
&:before {
|
|
336
|
+
content: '\e002';
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
.show-icon.mat-grayscale,
|
|
340
|
+
.mat-grayscale .show-icon,
|
|
341
|
+
.show-icon.mat-neutral,
|
|
342
|
+
.mat-grayscale .mat-neutral {
|
|
343
|
+
padding: var(--spacer);
|
|
344
|
+
}
|
|
345
|
+
.show-icon.mat-error,
|
|
346
|
+
.mat-error .show-icon {
|
|
347
|
+
&:before {
|
|
348
|
+
content: '\e000';
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use './palettes';
|
|
4
|
+
|
|
5
|
+
$spacer: 8px !default;
|
|
6
|
+
$spacers:
|
|
7
|
+
'-0' 0,
|
|
8
|
+
'-2xs' $spacer * 0.25,
|
|
9
|
+
'-xs' $spacer * 0.5,
|
|
10
|
+
'-s' $spacer,
|
|
11
|
+
'' $spacer,
|
|
12
|
+
'-m' $spacer * 2,
|
|
13
|
+
'-l' $spacer * 3,
|
|
14
|
+
'-xl' $spacer * 4,
|
|
15
|
+
'-2xl' $spacer * 5,
|
|
16
|
+
'-3xl' $spacer * 7,
|
|
17
|
+
'-auto' 'auto';
|
|
18
|
+
|
|
19
|
+
$breakpoints: (
|
|
20
|
+
xsmall: (
|
|
21
|
+
max: 599.99,
|
|
22
|
+
),
|
|
23
|
+
small: (
|
|
24
|
+
min: 600,
|
|
25
|
+
max: 959.99,
|
|
26
|
+
),
|
|
27
|
+
medium: (
|
|
28
|
+
min: 960,
|
|
29
|
+
max: 1279.99,
|
|
30
|
+
),
|
|
31
|
+
large: (
|
|
32
|
+
min: 1280,
|
|
33
|
+
max: 1535.99,
|
|
34
|
+
),
|
|
35
|
+
xlarge: (
|
|
36
|
+
min: 1536,
|
|
37
|
+
max: 1919.99,
|
|
38
|
+
),
|
|
39
|
+
xxlarge: (
|
|
40
|
+
min: 1920,
|
|
41
|
+
),
|
|
42
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class FlagIconComponent {
|
|
4
|
+
readonly countryCode: _angular_core.InputSignal<string | null | undefined>;
|
|
5
|
+
readonly mode: _angular_core.InputSignal<"square" | "rectangle">;
|
|
6
|
+
readonly width: _angular_core.InputSignal<number>;
|
|
7
|
+
height: number;
|
|
8
|
+
private readonly cdnUrl;
|
|
9
|
+
private cdn;
|
|
10
|
+
constructor();
|
|
11
|
+
get normalizedCountryCode(): string;
|
|
12
|
+
get modeValue(): "4x3" | "1x1";
|
|
13
|
+
get url(): string;
|
|
14
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FlagIconComponent, never>;
|
|
15
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FlagIconComponent, "flag-icon", never, { "countryCode": { "alias": "countryCode"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { FlagIconComponent };
|