@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.
Files changed (205) hide show
  1. package/README.md +5 -9
  2. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +14 -20
  3. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -1
  4. package/fesm2022/onemrvapublic-design-system-layout.mjs +207 -290
  5. package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
  6. package/fesm2022/onemrvapublic-design-system-mat-address.mjs +19 -25
  7. package/fesm2022/onemrvapublic-design-system-mat-address.mjs.map +1 -1
  8. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +58 -223
  9. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
  10. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +47 -53
  11. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -1
  12. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +50 -71
  13. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
  14. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +27 -29
  15. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -1
  16. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +24 -42
  17. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -1
  18. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +8 -12
  19. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs.map +1 -1
  20. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +4 -4
  21. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -1
  22. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +10 -18
  23. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -1
  24. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +98 -173
  25. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
  26. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +32 -52
  27. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
  28. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +10 -13
  29. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
  30. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +10 -13
  31. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
  32. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +24 -44
  33. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
  34. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +22 -40
  35. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
  36. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +26 -39
  37. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
  38. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +45 -180
  39. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -1
  40. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +38 -63
  41. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
  42. package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs +40 -65
  43. package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs.map +1 -1
  44. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +19 -59
  45. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
  46. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +23 -49
  47. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -1
  48. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +61 -101
  49. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -1
  50. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +30 -50
  51. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -1
  52. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +26 -38
  53. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -1
  54. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +66 -105
  55. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -1
  56. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +23 -43
  57. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
  58. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +15 -26
  59. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -1
  60. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +62 -177
  61. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -1
  62. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +17 -21
  63. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -1
  64. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +14 -22
  65. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
  66. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +8 -8
  67. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
  68. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +79 -93
  69. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -1
  70. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +59 -94
  71. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -1
  72. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +178 -245
  73. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
  74. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +7 -7
  75. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
  76. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +33 -43
  77. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -1
  78. package/fesm2022/onemrvapublic-design-system-page-error.mjs +33 -39
  79. package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
  80. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +38 -42
  81. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -1
  82. package/fesm2022/onemrvapublic-design-system-shared.mjs +188 -312
  83. package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
  84. package/fesm2022/onemrvapublic-design-system-utils.mjs.map +1 -1
  85. package/mat-choice-chip/src/onemrva-mat-choice-chip.component.scss +13 -3
  86. package/mat-empty-row/src/onemrva-mat-empty-row.component.scss +2 -2
  87. package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.scss +1 -1
  88. package/mat-input-phone/src/onemrva-mat-input-phone.component.scss +1 -1
  89. package/mat-panel/src/onemrva-mat-panel-content.scss +1 -1
  90. package/mat-skeleton/src/onemrva-mat-skeleton.component.scss +1 -1
  91. package/mat-table-of-content/src/onemrva-mat-table-of-content.component.scss +10 -2
  92. package/package.json +72 -62
  93. package/theme/index.scss +230 -0
  94. package/theme/overrides/_autocomplete.scss +9 -0
  95. package/theme/overrides/_button-toggle.scss +14 -0
  96. package/theme/overrides/_button.scss +140 -0
  97. package/theme/overrides/_card.scss +34 -0
  98. package/theme/overrides/_carousel.scss +13 -0
  99. package/theme/overrides/_checkbox.scss +49 -0
  100. package/theme/overrides/_chips.scss +42 -0
  101. package/theme/overrides/_datepicker.scss +10 -0
  102. package/theme/overrides/_dialogs.scss +118 -0
  103. package/theme/overrides/_divider.scss +9 -0
  104. package/theme/overrides/_drag-and-drop.scss +74 -0
  105. package/theme/overrides/_expansion.scss +51 -0
  106. package/theme/overrides/_fab.scss +45 -0
  107. package/theme/overrides/_form-field.scss +223 -0
  108. package/theme/overrides/_icon-button.scss +24 -0
  109. package/theme/overrides/_icon.scss +97 -0
  110. package/theme/overrides/_input.scss +18 -0
  111. package/theme/overrides/_layout.scss +35 -0
  112. package/theme/overrides/_menu.scss +45 -0
  113. package/theme/overrides/_option.scss +15 -0
  114. package/theme/overrides/_panel.scss +59 -0
  115. package/theme/overrides/_progress-bar.scss +29 -0
  116. package/theme/overrides/_radio.scss +16 -0
  117. package/theme/overrides/_select.scss +124 -0
  118. package/theme/overrides/_sidenav.scss +13 -0
  119. package/theme/overrides/_slide-toggle.scss +53 -0
  120. package/theme/overrides/_stepper.scss +196 -0
  121. package/theme/overrides/_stickers.scss +13 -0
  122. package/theme/overrides/_table.scss +115 -0
  123. package/theme/overrides/_tabs.scss +20 -0
  124. package/theme/overrides/_toast.scss +16 -0
  125. package/theme/overrides/_toc.scss +26 -0
  126. package/theme/overrides/_toolbar.scss +26 -0
  127. package/theme/overrides/_tooltip.scss +19 -0
  128. package/theme/palettes/_palette.scss +189 -0
  129. package/theme/utilities/_animations.scss +54 -0
  130. package/theme/utilities/_container.scss +14 -0
  131. package/theme/utilities/_fonts.scss +170 -0
  132. package/theme/utilities/_grid.scss +75 -0
  133. package/theme/utilities/_media.scss +33 -0
  134. package/theme/utilities/_palettes.scss +120 -0
  135. package/theme/utilities/_spacing.scss +86 -0
  136. package/theme/utilities/_tokens.scss +123 -0
  137. package/theme/utilities/_utilities.scss +351 -0
  138. package/theme/utilities/_variables.scss +42 -0
  139. package/types/onemrvapublic-design-system-flag-icon.d.ts +18 -0
  140. package/types/onemrvapublic-design-system-layout.d.ts +305 -0
  141. package/{mat-address/index.d.ts → types/onemrvapublic-design-system-mat-address.d.ts} +8 -8
  142. package/types/onemrvapublic-design-system-mat-avatar.d.ts +67 -0
  143. package/{mat-breadcrumb/index.d.ts → types/onemrvapublic-design-system-mat-breadcrumb.d.ts} +8 -6
  144. package/types/onemrvapublic-design-system-mat-carousel.d.ts +52 -0
  145. package/types/onemrvapublic-design-system-mat-choice-chip.d.ts +23 -0
  146. package/types/onemrvapublic-design-system-mat-copy-to-clipboard.d.ts +25 -0
  147. package/types/onemrvapublic-design-system-mat-country-item.d.ts +10 -0
  148. package/types/onemrvapublic-design-system-mat-empty-row.d.ts +18 -0
  149. package/{mat-file-upload/index.d.ts → types/onemrvapublic-design-system-mat-file-upload.d.ts} +53 -51
  150. package/types/onemrvapublic-design-system-mat-input-address.d.ts +32 -0
  151. package/{mat-input-birthplace/index.d.ts → types/onemrvapublic-design-system-mat-input-birthplace.d.ts} +10 -10
  152. package/{mat-input-country/index.d.ts → types/onemrvapublic-design-system-mat-input-country.d.ts} +2 -2
  153. package/types/onemrvapublic-design-system-mat-input-enterprise-number.d.ts +37 -0
  154. package/{mat-input-iban/index.d.ts → types/onemrvapublic-design-system-mat-input-iban.d.ts} +12 -13
  155. package/{mat-input-phone/index.d.ts → types/onemrvapublic-design-system-mat-input-phone.d.ts} +12 -12
  156. package/types/onemrvapublic-design-system-mat-message-box.d.ts +29 -0
  157. package/types/onemrvapublic-design-system-mat-multi-select.d.ts +57 -0
  158. package/types/onemrvapublic-design-system-mat-navigation.d.ts +55 -0
  159. package/types/onemrvapublic-design-system-mat-notification.d.ts +23 -0
  160. package/types/onemrvapublic-design-system-mat-paginator.d.ts +58 -0
  161. package/types/onemrvapublic-design-system-mat-panel.d.ts +66 -0
  162. package/types/onemrvapublic-design-system-mat-pop-over.d.ts +40 -0
  163. package/types/onemrvapublic-design-system-mat-progress-bar.d.ts +16 -0
  164. package/{mat-select-search/index.d.ts → types/onemrvapublic-design-system-mat-select-search.d.ts} +35 -35
  165. package/types/onemrvapublic-design-system-mat-selectable-box.d.ts +26 -0
  166. package/{mat-side-menu/index.d.ts → types/onemrvapublic-design-system-mat-side-menu.d.ts} +6 -6
  167. package/types/onemrvapublic-design-system-mat-skeleton.d.ts +82 -0
  168. package/{mat-spinner/index.d.ts → types/onemrvapublic-design-system-mat-spinner.d.ts} +3 -4
  169. package/{mat-stepper/index.d.ts → types/onemrvapublic-design-system-mat-stepper.d.ts} +3 -6
  170. package/types/onemrvapublic-design-system-mat-table-of-content.d.ts +85 -0
  171. package/types/onemrvapublic-design-system-mat-task-list.d.ts +56 -0
  172. package/{mat-timepicker/index.d.ts → types/onemrvapublic-design-system-mat-timepicker.d.ts} +50 -66
  173. package/types/onemrvapublic-design-system-mat-tooltip.d.ts +40 -0
  174. package/types/onemrvapublic-design-system-page-error.d.ts +29 -0
  175. package/{page-not-found/index.d.ts → types/onemrvapublic-design-system-page-not-found.d.ts} +6 -6
  176. package/{shared/index.d.ts → types/onemrvapublic-design-system-shared.d.ts} +47 -71
  177. package/flag-icon/index.d.ts +0 -18
  178. package/layout/index.d.ts +0 -295
  179. package/mat-avatar/index.d.ts +0 -187
  180. package/mat-carousel/index.d.ts +0 -52
  181. package/mat-choice-chip/index.d.ts +0 -21
  182. package/mat-copy-to-clipboard/index.d.ts +0 -25
  183. package/mat-country-item/index.d.ts +0 -10
  184. package/mat-empty-row/index.d.ts +0 -19
  185. package/mat-input-address/index.d.ts +0 -32
  186. package/mat-input-enterprise-number/index.d.ts +0 -37
  187. package/mat-message-box/index.d.ts +0 -101
  188. package/mat-multi-select/index.d.ts +0 -57
  189. package/mat-navigation/index.d.ts +0 -54
  190. package/mat-notification/index.d.ts +0 -43
  191. package/mat-paginator/index.d.ts +0 -58
  192. package/mat-panel/index.d.ts +0 -66
  193. package/mat-pop-over/index.d.ts +0 -40
  194. package/mat-progress-bar/index.d.ts +0 -18
  195. package/mat-selectable-box/index.d.ts +0 -29
  196. package/mat-skeleton/index.d.ts +0 -100
  197. package/mat-table-of-content/index.d.ts +0 -84
  198. package/mat-task-list/index.d.ts +0 -57
  199. package/mat-tooltip/index.d.ts +0 -40
  200. package/page-error/index.d.ts +0 -34
  201. /package/{mat-datepicker-header/index.d.ts → types/onemrvapublic-design-system-mat-datepicker-header.d.ts} +0 -0
  202. /package/{mat-sticker/index.d.ts → types/onemrvapublic-design-system-mat-sticker.d.ts} +0 -0
  203. /package/{mat-toast/index.d.ts → types/onemrvapublic-design-system-mat-toast.d.ts} +0 -0
  204. /package/{utils/index.d.ts → types/onemrvapublic-design-system-utils.d.ts} +0 -0
  205. /package/{index.d.ts → types/onemrvapublic-design-system.d.ts} +0 -0
@@ -0,0 +1,189 @@
1
+ $palette: (
2
+ primary: (
3
+ 0: #000000,
4
+ 10: #180e54,
5
+ 20: #2d2669,
6
+ 25: #383275,
7
+ 30: #443e81,
8
+ 35: #504a8d,
9
+ 40: #625d9c,
10
+ // 6e68ae is not accessible if not on white
11
+ // 600 5e5994
12
+ 50: #756fb5,
13
+ 60: #8f88d1,
14
+ 70: #a9a3ee,
15
+ 80: #c6c0ff,
16
+ 90: #f1f0fc,
17
+ 95: #f3eeff,
18
+ 98: #fcf8ff,
19
+ 99: #fffbff,
20
+ 100: #ffffff,
21
+ ),
22
+ secondary: (
23
+ 0: #000000,
24
+ 5: #100f1d,
25
+ 10: #1b1a28,
26
+ 15: #262432,
27
+ 20: #302f3d,
28
+ 25: #3b3a49,
29
+ 30: #474555,
30
+ 35: #535161,
31
+ 40: #5f5c6d,
32
+ 50: #787586,
33
+ 60: #928fa0,
34
+ 70: #aca9bb,
35
+ 80: #c8c4d7,
36
+ 90: #e4e0f4,
37
+ 95: #f3eeff,
38
+ 98: #fcf8ff,
39
+ 99: #fffbff,
40
+ 100: #ffffff,
41
+ ),
42
+
43
+ tertiary: (
44
+ 0: #000000,
45
+ 10: #610047,
46
+ 20: #7e024a,
47
+ 25: #a80e4f,
48
+ 30: #c40149,
49
+ 35: #d20a5c,
50
+ 40: #eb142a,
51
+ 50: #de2174,
52
+ 60: #fb6889,
53
+ 70: #fa7ca0,
54
+ 80: #fb95ad,
55
+ 90: #fcedf9,
56
+ 95: #fcedfc,
57
+ 98: #fcedf4,
58
+ 99: #fff6fa,
59
+ 100: #ffffff,
60
+ ),
61
+ neutral: (
62
+ 0: #000000,
63
+ 4: #0e0e0e,
64
+ 6: #161616,
65
+ 10: #242424,
66
+ 12: #282829,
67
+ 17: #343334,
68
+ 20: #3a3a3b,
69
+ 22: #3f3e40,
70
+ 24: #444244,
71
+ 25: #464446,
72
+ 30: #514f52,
73
+ 35: #5c5a5e,
74
+ 40: #686569,
75
+ 50: #7e7a80,
76
+ 60: #949097,
77
+ 70: #aba6ae,
78
+ 80: #c2bbc5,
79
+ 87: #d1cbd5,
80
+ 90: #d8d1dc,
81
+ 92: #ece6f0,
82
+ 94: #f3edf7,
83
+ 95: #f5f0f8,
84
+ 96: #f7f2fa,
85
+ 98: #ffffff,
86
+ 99: #ffffff,
87
+ 100: #ffffff,
88
+ ),
89
+ neutral-variant: (
90
+ 0: #000000,
91
+ 5: #111016,
92
+ 10: #1c1b21,
93
+ 15: #26252b,
94
+ 20: #313036,
95
+ 25: #3c3a41,
96
+ 30: #47464d,
97
+ 35: #535158,
98
+ 40: #5f5d65,
99
+ 50: #78767d,
100
+ 60: #928f97,
101
+ 70: #adaab2,
102
+ 80: #d7d5ed,
103
+ 90: #e5e1e9,
104
+ 95: #f3eff8,
105
+ 98: #fcf8ff,
106
+ 99: #fffbff,
107
+ 100: #ffffff,
108
+ ),
109
+ error: (
110
+ 0: #000000,
111
+ 10: #4c0e08,
112
+ 20: #7f1b11,
113
+ 25: #992216,
114
+ 30: #b3291a,
115
+ 35: #bc2411,
116
+ 40: #bf2600,
117
+ // fixed
118
+ 50: #cc4d2e,
119
+ 60: #d9755c,
120
+ 70: #e59c8a,
121
+ 80: #f2c4b7,
122
+ 90: #ffebe6,
123
+ // fixed
124
+ 95: #fff1ec,
125
+ 98: #fff7f5,
126
+ 99: #fffcfa,
127
+ 100: #ffffff,
128
+ // fixed
129
+ ),
130
+ info: (
131
+ 0: #000000,
132
+ 10: #0e006a,
133
+ 20: #1c00a6,
134
+ 25: #2300c6,
135
+ 30: #301ed3,
136
+ 35: #3e32de,
137
+ 40: #463ce5,
138
+ 50: #4d66ea,
139
+ 60: #6782ef,
140
+ 70: #8ba4f5,
141
+ 80: #b0c6f9,
142
+ 90: #d6e7fc,
143
+ 95: #e8f2fe,
144
+ 98: #f4f8ff,
145
+ 99: #fafcff,
146
+ 100: #ffffff,
147
+ ),
148
+ warn: (
149
+ 0: #000000,
150
+ 10: #401a01,
151
+ 20: #7f3402,
152
+ 25: #9f4102,
153
+ 30: #bf4e03,
154
+ // fixed
155
+ 35: #c14e02,
156
+ 40: #c75300,
157
+ // fixed
158
+ 50: #dc7520,
159
+ 60: #f09740,
160
+ 70: #f9ba70,
161
+ 80: #fbdcb0,
162
+ 90: #fff4eb,
163
+ // fixed
164
+ 95: #fff7f1,
165
+ 98: #fffaf7,
166
+ 99: #fffcfa,
167
+ 100: #ffffff,
168
+ ),
169
+ success: (
170
+ 0: #000000,
171
+ 10: #002110,
172
+ 20: #00391f,
173
+ 25: #004527,
174
+ 30: #00522f,
175
+ 35: #005f37,
176
+ 40: #328154,
177
+ // moved from 50 to 40
178
+ 50: #5cb280,
179
+ 60: #72c092,
180
+ 70: #88cfa5,
181
+ 80: #9eddb7,
182
+ 90: #ebfff4,
183
+ // replaced previous bright green with this
184
+ 95: #f3fff8,
185
+ 98: #f8fffaf6,
186
+ 99: #fbfffd,
187
+ 100: #ffffff,
188
+ ),
189
+ );
@@ -0,0 +1,54 @@
1
+ @mixin animations() {
2
+ @keyframes fade {
3
+ 0% {
4
+ opacity: 1;
5
+ }
6
+ 50% {
7
+ opacity: 0;
8
+ }
9
+ 100% {
10
+ opacity: 1;
11
+ text-align: left;
12
+ width: auto;
13
+ margin-left: 4px;
14
+ vertical-align: top;
15
+ }
16
+ }
17
+
18
+ @keyframes spin {
19
+ 100% {
20
+ transform: rotate(360deg);
21
+ }
22
+ }
23
+
24
+ // CSS Animation Keyframes
25
+ @keyframes progress {
26
+ 0% {
27
+ transform: translate3d(-200px, 0, 0);
28
+ }
29
+ 100% {
30
+ transform: translate3d(calc(200px + 100vw), 0, 0);
31
+ }
32
+ }
33
+
34
+ @keyframes pulse {
35
+ 0% {
36
+ opacity: 1;
37
+ }
38
+ 50% {
39
+ opacity: 0.4;
40
+ }
41
+ 100% {
42
+ opacity: 1;
43
+ }
44
+ }
45
+
46
+ @keyframes rotate {
47
+ 0% {
48
+ transform: rotate(0deg);
49
+ }
50
+ 100% {
51
+ transform: rotate(360deg);
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,14 @@
1
+ @use './media' as media;
2
+ @use 'sass:map';
3
+
4
+ @mixin theme() {
5
+ .content-container {
6
+ width: 95%;
7
+ max-width: 1400px;
8
+ padding: var(--double-spacer);
9
+ margin: auto;
10
+ h1 {
11
+ margin-top: 0;
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,170 @@
1
+ @use '@angular/material' as mat;
2
+ @use 'sass:map';
3
+
4
+ @mixin theme() {
5
+ @at-root {
6
+ @import url('https://cdn.services.rvaonem.fgov.be/font/poppins/import.css');
7
+ @import url('https://cdn.services.rvaonem.fgov.be/font/source-sans-pro/import.css');
8
+ @import url('https://cdn.services.rvaonem.fgov.be/font/material/import.css');
9
+ }
10
+
11
+ & {
12
+ font: var(--mat-sys-body-medium);
13
+ }
14
+ h1 {
15
+ font: var(--mat-sys-display-small);
16
+ }
17
+ h2 {
18
+ font: var(--mat-sys-headline-large);
19
+ }
20
+ h3 {
21
+ font: var(--mat-sys-headline-medium);
22
+ }
23
+ h4 {
24
+ font: var(--mat-sys-headline-small);
25
+ }
26
+ h5 {
27
+ font: var(--mat-sys-title-large);
28
+ }
29
+ h6 {
30
+ font: var(--mat-sys-title-medium);
31
+ }
32
+ a {
33
+ cursor: pointer;
34
+ color: var(--mat-sys-primary);
35
+ font-weight: var(--mat-sys-label-large-weight);
36
+ }
37
+ .bold {
38
+ font-weight: bold;
39
+ }
40
+ .bolder {
41
+ font-weight: bolder;
42
+ }
43
+ .lighter {
44
+ font-weight: lighter;
45
+ }
46
+ .font-weight-normal {
47
+ font-weight: normal;
48
+ }
49
+
50
+ @include mat.theme-overrides(
51
+ (
52
+ body-large: 400 1rem/1.625rem Source Sans Pro,
53
+ body-large-font: Source Sans Pro,
54
+ body-large-size: 1rem,
55
+ body-large-line-height: 1.625rem,
56
+ body-large-weight: 600,
57
+
58
+ body-medium: 400 1rem/1.625rem Source Sans Pro,
59
+ body-medium-font: Source Sans Pro,
60
+ body-medium-size: 1rem,
61
+ body-medium-line-height: 1.625rem,
62
+ body-medium-weight: 400,
63
+
64
+ body-small: 400 0.875rem/1.3125rem Source Sans Pro,
65
+ body-small-font: Source Sans Pro,
66
+ body-small-size: 0.875rem,
67
+ body-small-line-height: 1.3125rem,
68
+ body-small-weight: 400,
69
+
70
+ display-small: 600 2rem/3.25rem Poppins,
71
+ display-small-font: Poppins,
72
+ display-small-size: 2rem,
73
+ display-small-line-height: 3.25rem,
74
+ display-small-weight: 600,
75
+
76
+ display-medium: 700 4.5rem/6.25rem Poppins,
77
+ display-medium-font: Poppins,
78
+ display-medium-size: 4.5rem,
79
+ display-medium-line-height: 6.25rem,
80
+ display-medium-weight: 700,
81
+
82
+ display-large: 700 9.25rem/11.25rem Poppins,
83
+ display-large-font: Poppins,
84
+ display-large-size: 9.25rem,
85
+ display-large-line-height: 11.25rem,
86
+ display-large-weight: 700,
87
+
88
+ headline-small: 600 1.25rem/2.25rem Poppins,
89
+ headline-small-font: Poppins,
90
+ headline-small-size: 1.25rem,
91
+ headline-small-line-height: 2.25rem,
92
+ headline-small-weight: 600,
93
+
94
+ headline-medium: 600 1.5rem/2.5rem Poppins,
95
+ headline-medium-font: Poppins,
96
+ headline-medium-size: 1.5rem,
97
+ headline-medium-line-height: 2.5rem,
98
+ headline-medium-weight: 600,
99
+
100
+ headline-large: 600 1.625rem/2.75rem Poppins,
101
+ headline-large-font: Poppins,
102
+ headline-large-size: 1.625rem,
103
+ headline-large-line-height: 2.75rem,
104
+ headline-large-weight: 600,
105
+
106
+ label-large: 500 1rem/1.3125rem Source Sans Pro,
107
+ label-large-font: Source Sans Pro,
108
+ label-large-size: 1rem,
109
+ label-large-line-height: 1.3125rem,
110
+ label-large-weight: 500,
111
+
112
+ label-medium: 400 0.875rem/1.3125rem Source Sans Pro,
113
+ label-medium-font: Source Sans Pro,
114
+ label-medium-size: 0.875rem,
115
+ label-medium-line-height: 1.3125rem,
116
+ label-medium-weight: 400,
117
+
118
+ label-small: 400 0.75rem/1.125rem Source Sans Pro,
119
+ label-small-font: Source Sans Pro,
120
+ label-small-size: 0.75rem,
121
+ label-small-line-height: 1.125rem,
122
+ label-small-weight: 400,
123
+
124
+ title-small: 600 0.75rem/1.3125rem Poppins,
125
+ title-small-font: Poppins,
126
+ title-small-size: 0.75rem,
127
+ title-small-line-height: 1.3125rem,
128
+ title-small-weight: 600,
129
+
130
+ title-medium: 600 1rem/1.75rem Poppins,
131
+ title-medium-font: Poppins,
132
+ title-medium-size: 1rem,
133
+ title-medium-line-height: 1.75rem,
134
+ title-medium-weight: 600,
135
+
136
+ title-large: 600 1.125rem/2rem Poppins,
137
+ title-large-font: Poppins,
138
+ title-large-size: 1.125rem,
139
+ title-large-line-height: 2rem,
140
+ title-large-weight: 600,
141
+
142
+ level1: 0px 3px 3px 0px rgba(49, 47, 59, 0.32),
143
+ level2: 0px 3px 3px 0px rgba(49, 47, 59, 0.32),
144
+ level3: 0px 2px 6px 0px rgba(0, 0, 0, 0.32),
145
+ level4: 0px 3px 6px 0px rgba(0, 0, 0, 0.16),
146
+ )
147
+ );
148
+ }
149
+ /* ANGULAR DEFAULTS
150
+ --mat-sys-body-small: 400 .75rem / 1rem Roboto;
151
+ --mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;
152
+ --mat-sys-body-large: 400 1rem / 1.5rem Roboto;
153
+
154
+ --mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;
155
+ --mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;
156
+ --mat-sys-display-large: 400 3.562rem / 4rem Roboto;
157
+
158
+ --mat-sys-headline-small: 400 1.5rem / 2rem Roboto;
159
+ --mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;
160
+ --mat-sys-headline-large: 400 2rem / 2.5rem Roboto;
161
+
162
+ --mat-sys-label-small: 500 .688rem / 1rem Roboto;
163
+ --mat-sys-label-medium: 500 .75rem / 1rem Roboto;
164
+ --mat-sys-label-large: 500 .875rem / 1.25rem Roboto;
165
+
166
+ --mat-sys-title-small: 500 .875rem / 1.25rem Roboto;
167
+ --mat-sys-title-medium: 500 1rem / 1.5rem Roboto;
168
+ --mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;
169
+
170
+ */
@@ -0,0 +1,75 @@
1
+ @use '../utilities/variables' as variables;
2
+ @use '../utilities/media' as media;
3
+ @use 'sass:list';
4
+
5
+ @mixin colrules($suffix: '') {
6
+ @for $i from 0 through 12 {
7
+ $width: 0;
8
+ @if $i > 0 {
9
+ $width: calc(100 / 12) * $i;
10
+ }
11
+ .col-#{$i}#{$suffix} {
12
+ flex: 0 0 auto !important;
13
+ width: $width + 0% !important;
14
+ }
15
+ .offset-#{$i}#{$suffix} {
16
+ margin-left: $width + 0% !important;
17
+ }
18
+ }
19
+ }
20
+ @mixin grid() {
21
+ .row {
22
+ display: flex !important;
23
+ flex-wrap: wrap !important;
24
+ margin: 0 !important;
25
+ padding: 0 !important;
26
+ width: 100% !important;
27
+
28
+ --bs-gutter-x: 0 !important;
29
+ --bs-gutter-y: 0 !important;
30
+
31
+ & > * {
32
+ flex-shrink: 0 !important;
33
+ width: 100% !important;
34
+ max-width: 100% !important;
35
+ padding-right: var(--bs-gutter-x) !important;
36
+ padding-left: var(--bs-gutter-x) !important;
37
+ margin-top: var(--bs-gutter-y) !important;
38
+ }
39
+ .col,
40
+ .col-auto,
41
+ div[class^='col-'],
42
+ div[class*=' col-'] {
43
+ border: none;
44
+ box-sizing: border-box !important;
45
+ display: block !important;
46
+ }
47
+ .col,
48
+ .col-auto {
49
+ width: auto !important;
50
+ flex: 1 0 0 !important;
51
+ }
52
+ .offset-auto {
53
+ margin-left: auto !important;
54
+ }
55
+
56
+ @include colrules();
57
+
58
+ @each $breakpoint in variables.$breakpoints {
59
+ @include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
60
+ $sfx: -#{list.nth($breakpoint, 1)};
61
+ @include colrules($sfx);
62
+ }
63
+ }
64
+ }
65
+ @each $spacer in variables.$spacers {
66
+ .gx#{list.nth($spacer, 1)},
67
+ .g#{list.nth($spacer, 1)} {
68
+ --bs-gutter-x: #{list.nth($spacer, 2)} !important;
69
+ }
70
+ .gy#{list.nth($spacer, 1)},
71
+ .g#{list.nth($spacer, 1)} {
72
+ --bs-gutter-y: #{list.nth($spacer, 2)} !important;
73
+ }
74
+ }
75
+ }
@@ -0,0 +1,33 @@
1
+ @use '../utilities/variables' as variables;
2
+ @use 'sass:map';
3
+
4
+ @mixin media($breakpoints, $from, $to: false) {
5
+ $min: false;
6
+ $max: false;
7
+ @if $from {
8
+ $min: map.get(map.get(variables.$breakpoints, $from), min);
9
+ }
10
+ @if $to {
11
+ $max: map.get(map.get(variables.$breakpoints, $to), max);
12
+ }
13
+
14
+ @if $min {
15
+ @if $max {
16
+ @media (min-width: #{$min}px) and (max-width: #{$max}px) {
17
+ @content;
18
+ }
19
+ } @else {
20
+ @media (min-width: #{$min}px) {
21
+ @content;
22
+ }
23
+ }
24
+ } @else {
25
+ @if $max {
26
+ @media (max-width: #{$max}px) {
27
+ @content;
28
+ }
29
+ } @else {
30
+ @content;
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,120 @@
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @use '../palettes/palette' as palette;
5
+
6
+ $_rest: (
7
+ secondary: map.get(palette.$palette, secondary),
8
+ neutral: map.get(palette.$palette, neutral),
9
+ 'neutral-variant': map.get(palette.$palette, 'neutral-variant'),
10
+ error: map.get(palette.$palette, error),
11
+ );
12
+
13
+ $primary-palette: map.merge(map.get(palette.$palette, primary), $_rest);
14
+ $secondary-palette: map.merge(map.get(palette.$palette, secondary), $_rest);
15
+ $tertiary-palette: map.merge(map.get(palette.$palette, tertiary), $_rest);
16
+ $success-palette: map.merge(map.get(palette.$palette, success), $_rest);
17
+ $warn-palette: map.merge(map.get(palette.$palette, warn), $_rest);
18
+ $info-palette: map.merge(map.get(palette.$palette, info), $_rest);
19
+ $error-palette: map.merge(map.get(palette.$palette, error), $_rest);
20
+ $neutral-palette: map.merge(
21
+ map.get(palette.$palette, 'neutral-variant'),
22
+ $_rest
23
+ );
24
+
25
+ //@function _high-contrast-value($light, $dark, $theme-type) {
26
+ // @if ($theme-type == light) {
27
+ // @return $light;
28
+ // }
29
+ // @if ($theme-type == dark) {
30
+ // @return $dark;
31
+ // }
32
+ // @if ($theme-type == color-scheme) {
33
+ // @return light-dark(#{$light}, #{$dark});
34
+ // }
35
+ //
36
+ // @error 'Unknown theme-type #{$theme-type}. Expected light, dark, or color-scheme';
37
+ //}
38
+ //
39
+ //@mixin high-contrast-overrides($theme-type) {
40
+ // @include mat.theme-overrides(
41
+ // (
42
+ // primary: _high-contrast-value(#292264, #f2eeff, $theme-type),
43
+ // on-primary: _high-contrast-value(#ffffff, #000000, $theme-type),
44
+ // primary-container: _high-contrast-value(#464083, #c2bbff, $theme-type),
45
+ // on-primary-container: _high-contrast-value(#ffffff, #080039, $theme-type),
46
+ // inverse-primary: _high-contrast-value(#c6c0ff, #453f82, $theme-type),
47
+ // primary-fixed: _high-contrast-value(#464083, #e4dfff, $theme-type),
48
+ // primary-fixed-dim: _high-contrast-value(#2f296b, #c6c0ff, $theme-type),
49
+ // on-primary-fixed: _high-contrast-value(#ffffff, #000000, $theme-type),
50
+ // on-primary-fixed-variant: _high-contrast-value(
51
+ // #ffffff,
52
+ // #0c0049,
53
+ // $theme-type
54
+ // ),
55
+ // secondary: _high-contrast-value(#600009, #ffecea, $theme-type),
56
+ // on-secondary: _high-contrast-value(#ffffff, #000000, $theme-type),
57
+ // secondary-container: _high-contrast-value(#970014, #ffaea7, $theme-type),
58
+ // on-secondary-container: _high-contrast-value(
59
+ // #ffffff,
60
+ // #220001,
61
+ // $theme-type
62
+ // ),
63
+ // secondary-fixed: _high-contrast-value(#970014, #ffdad7, $theme-type),
64
+ // secondary-fixed-dim: _high-contrast-value(#6d000b, #ffb3ad, $theme-type),
65
+ // on-secondary-fixed: _high-contrast-value(#ffffff, #000000, $theme-type),
66
+ // on-secondary-fixed-variant: _high-contrast-value(
67
+ // #ffffff,
68
+ // #2d0002,
69
+ // $theme-type
70
+ // ),
71
+ // tertiary: _high-contrast-value(#00341c, #bdffd1, $theme-type),
72
+ // on-tertiary: _high-contrast-value(#ffffff, #000000, $theme-type),
73
+ // tertiary-container: _high-contrast-value(#005530, #78d69c, $theme-type),
74
+ // on-tertiary-container: _high-contrast-value(#ffffff, #000f05, $theme-type),
75
+ // tertiary-fixed: _high-contrast-value(#005530, #97f6ba, $theme-type),
76
+ // tertiary-fixed-dim: _high-contrast-value(#003b20, #7cdaa0, $theme-type),
77
+ // on-tertiary-fixed: _high-contrast-value(#ffffff, #000000, $theme-type),
78
+ // on-tertiary-fixed-variant: _high-contrast-value(
79
+ // #ffffff,
80
+ // #001508,
81
+ // $theme-type
82
+ // ),
83
+ // background: _high-contrast-value(#fbf8ff, #131319, $theme-type),
84
+ // on-background: _high-contrast-value(#1b1b21, #e4e1ea, $theme-type),
85
+ // surface: _high-contrast-value(#fbf8ff, #131319, $theme-type),
86
+ // surface-dim: _high-contrast-value(#bab8c0, #131319, $theme-type),
87
+ // surface-bright: _high-contrast-value(#fbf8ff, #504f56, $theme-type),
88
+ // surface-container-lowest: _high-contrast-value(
89
+ // #ffffff,
90
+ // #000000,
91
+ // $theme-type
92
+ // ),
93
+ // surface-container: _high-contrast-value(#e4e1ea, #303036, $theme-type),
94
+ // surface-container-high: _high-contrast-value(
95
+ // #d6d3db,
96
+ // #3b3b41,
97
+ // $theme-type
98
+ // ),
99
+ // surface-container-highest: _high-contrast-value(
100
+ // #c8c5cd,
101
+ // #47464d,
102
+ // $theme-type
103
+ // ),
104
+ // on-surface: _high-contrast-value(#000000, #ffffff, $theme-type),
105
+ // shadow: _high-contrast-value(#000000, #000000, $theme-type),
106
+ // scrim: _high-contrast-value(#000000, #000000, $theme-type),
107
+ // surface-tint: _high-contrast-value(#6e68ae, #c6c0ff, $theme-type),
108
+ // inverse-surface: _high-contrast-value(#303036, #e4e1ea, $theme-type),
109
+ // inverse-on-surface: _high-contrast-value(#ffffff, #000000, $theme-type),
110
+ // outline: _high-contrast-value(#19009a, #f1eeff, $theme-type),
111
+ // outline-variant: _high-contrast-value(#3322d5, #bebcff, $theme-type),
112
+ // error: _high-contrast-value(#5b0d00, #ffece8, $theme-type),
113
+ // on-error: _high-contrast-value(#ffffff, #000000, $theme-type),
114
+ // error-container: _high-contrast-value(#901a00, #ffaf9c, $theme-type),
115
+ // on-error-container: _high-contrast-value(#ffffff, #200200, $theme-type),
116
+ // surface-variant: _high-contrast-value(#e2dfff, #301ed3, $theme-type),
117
+ // on-surface-variant: _high-contrast-value(#000000, #ffffff, $theme-type),
118
+ // )
119
+ // );
120
+ //}