dibk-design 6.5.3 → 7.1.0

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 (94) hide show
  1. package/dist/components/Accordion.js +4 -4
  2. package/dist/components/Accordion.module.scss +25 -18
  3. package/dist/components/Button.js +11 -14
  4. package/dist/components/Button.module.scss +79 -66
  5. package/dist/components/CheckBoxIcon.js +2 -2
  6. package/dist/components/CheckBoxIcon.module.scss +17 -10
  7. package/dist/components/CheckBoxInput.js +2 -2
  8. package/dist/components/CheckBoxInput.module.scss +5 -4
  9. package/dist/components/CheckBoxList.js +4 -5
  10. package/dist/components/CheckBoxList.module.scss +3 -2
  11. package/dist/components/CheckBoxListItem.js +1 -1
  12. package/dist/components/CheckBoxListItem.module.scss +17 -9
  13. package/dist/components/Container.js +2 -3
  14. package/dist/components/Container.module.scss +5 -3
  15. package/dist/components/ContentBox.js +2 -3
  16. package/dist/components/ContentBox.module.scss +16 -11
  17. package/dist/components/DescriptionDetails.js +1 -1
  18. package/dist/components/DescriptionDetails.module.scss +3 -2
  19. package/dist/components/DescriptionList.js +2 -2
  20. package/dist/components/DescriptionList.module.scss +0 -2
  21. package/dist/components/DescriptionTerm.js +1 -1
  22. package/dist/components/DescriptionTerm.module.scss +3 -2
  23. package/dist/components/Dialog.js +4 -5
  24. package/dist/components/Dialog.module.scss +14 -9
  25. package/dist/components/DragAndDropFileInput.js +6 -7
  26. package/dist/components/DragAndDropFileInput.module.scss +9 -5
  27. package/dist/components/ErrorBox.js +1 -1
  28. package/dist/components/ErrorBox.module.scss +12 -8
  29. package/dist/components/ErrorMessage.js +4 -6
  30. package/dist/components/ErrorMessage.module.scss +5 -3
  31. package/dist/components/Footer.js +1 -1
  32. package/dist/components/Footer.module.scss +3 -2
  33. package/dist/components/Header.js +6 -7
  34. package/dist/components/Header.module.scss +14 -11
  35. package/dist/components/InfoBox.js +1 -1
  36. package/dist/components/InfoBox.module.scss +7 -4
  37. package/dist/components/InputField.js +8 -10
  38. package/dist/components/InputField.module.scss +19 -13
  39. package/dist/components/Label.js +3 -4
  40. package/dist/components/Label.module.scss +3 -2
  41. package/dist/components/Lead.js +1 -1
  42. package/dist/components/Lead.module.scss +5 -3
  43. package/dist/components/List.js +3 -3
  44. package/dist/components/List.module.scss +0 -2
  45. package/dist/components/ListItem.js +1 -1
  46. package/dist/components/ListItem.module.scss +3 -2
  47. package/dist/components/LoadingAnimation.js +1 -1
  48. package/dist/components/LoadingAnimation.module.scss +5 -3
  49. package/dist/components/NavigationBar.js +9 -10
  50. package/dist/components/NavigationBar.module.scss +66 -57
  51. package/dist/components/NavigationBarListItem.js +1 -1
  52. package/dist/components/PDF.scss +37 -17
  53. package/dist/components/Paper.js +2 -2
  54. package/dist/components/Paper.module.scss +3 -2
  55. package/dist/components/ProgressBar.js +2 -2
  56. package/dist/components/ProgressBar.module.scss +8 -4
  57. package/dist/components/RadioButtonIcon.js +2 -2
  58. package/dist/components/RadioButtonIcon.module.scss +18 -10
  59. package/dist/components/RadioButtonInput.js +2 -2
  60. package/dist/components/RadioButtonInput.module.scss +5 -4
  61. package/dist/components/RadioButtonList.js +4 -5
  62. package/dist/components/RadioButtonList.module.scss +3 -2
  63. package/dist/components/RadioButtonListItem.js +1 -1
  64. package/dist/components/RadioButtonListItem.module.scss +17 -9
  65. package/dist/components/Select.js +9 -10
  66. package/dist/components/Select.module.scss +24 -16
  67. package/dist/components/Table.js +3 -3
  68. package/dist/components/Table.module.scss +10 -8
  69. package/dist/components/Textarea.js +7 -8
  70. package/dist/components/Textarea.module.scss +21 -13
  71. package/dist/components/Theme.js +2 -2
  72. package/dist/components/Theme.module.scss +29 -27
  73. package/dist/components/ThemeProvider.js +2 -2
  74. package/dist/components/ThemeProvider.module.scss +7 -5
  75. package/dist/components/ToggleNavigationButton.js +1 -1
  76. package/dist/components/ToggleNavigationButton.module.scss +11 -8
  77. package/dist/components/WizardNavigation/Step.js +1 -1
  78. package/dist/components/WizardNavigation/Step.module.scss +27 -24
  79. package/dist/components/WizardNavigation.js +4 -5
  80. package/dist/components/WizardNavigation.module.scss +3 -2
  81. package/dist/functions/helpers.js +11 -15
  82. package/dist/functions/theme.js +3 -3
  83. package/dist/index.js +1 -1
  84. package/dist/style/base/_typography.scss +5 -2
  85. package/dist/style/layout/_containers.scss +3 -1
  86. package/dist/style/pdf.css +41 -18
  87. package/dist/style/pdf.css.map +1 -1
  88. package/package.json +16 -15
  89. package/dist/style/abstracts/_all.scss +0 -2
  90. package/dist/style/abstracts/mixins/_all.scss +0 -12
  91. package/dist/style/abstracts/variables/_all.scss +0 -5
  92. package/dist/style/base/_all.scss +0 -3
  93. package/dist/style/global.scss +0 -3
  94. package/dist/style/layout/_all.scss +0 -1
@@ -1,4 +1,13 @@
1
- @import "../style/global.scss";
1
+ // Mixins
2
+ @use "../style/abstracts/mixins/appearance";
3
+ @use "../style/abstracts/mixins/box-shadow";
4
+ @use "../style/abstracts/mixins/transition";
5
+
6
+ // Variables
7
+ @use "../style/abstracts/variables/colors";
8
+ @use "../style/abstracts/variables/transitions";
9
+ @use "../style/abstracts/variables/typography";
10
+ @use "../style/abstracts/variables/viewports";
2
11
 
3
12
  .navigationBarContainer {
4
13
  .mainContentLink {
@@ -33,21 +42,21 @@
33
42
  }
34
43
  &:not(.compact) {
35
44
  position: relative;
36
- background-color: var(--color-body-background, $color-body-background);
45
+ background-color: var(--color-body-background, colors.$color-body-background);
37
46
  padding: 5px;
38
- @media only screen and (min-width: $screen-sm) {
47
+ @media only screen and (min-width: viewports.$screen-sm) {
39
48
  padding: 20px;
40
49
  }
41
- @media only screen and (min-width: $screen-md) {
50
+ @media only screen and (min-width: viewports.$screen-md) {
42
51
  padding-bottom: 40px;
43
52
  }
44
53
  .mainContentLink {
45
- background-color: var(--color-body-background, $color-body-background);
46
- color: var(--color-primary, $color-primary);
54
+ background-color: var(--color-body-background, colors.$color-body-background);
55
+ color: var(--color-primary, colors.$color-primary);
47
56
  &:focus,
48
57
  &:active {
49
58
  span {
50
- outline-color: var(--color-primary, $color-primary);
59
+ outline-color: var(--color-primary, colors.$color-primary);
51
60
  }
52
61
  }
53
62
  }
@@ -69,18 +78,18 @@
69
78
  -ms-flex-direction: row;
70
79
  flex-direction: row;
71
80
  }
72
- @media only screen and (min-width: $screen-sm) {
81
+ @media only screen and (min-width: viewports.$screen-sm) {
73
82
  -ms-flex-direction: row;
74
83
  flex-direction: row;
75
84
  }
76
- @media only screen and (min-width: $screen-md) {
85
+ @media only screen and (min-width: viewports.$screen-md) {
77
86
  margin: 0;
78
87
  }
79
88
  }
80
89
  .logoContainer {
81
90
  width: var(--size-logo-small-width, 85px);
82
91
  margin-bottom: 0;
83
- @media only screen and (min-width: $screen-sm) {
92
+ @media only screen and (min-width: viewports.$screen-sm) {
84
93
  width: var(--size-logo-large-width, 100px);
85
94
  }
86
95
  }
@@ -91,8 +100,8 @@
91
100
  padding: 0 20px;
92
101
  }
93
102
  .menuToggle {
94
- transition: background-color $default-transition;
95
- font-family: $default-font;
103
+ transition: background-color transitions.$default-transition;
104
+ font-family: typography.$default-font;
96
105
  display: inline-block;
97
106
  line-height: 1.1;
98
107
  position: absolute;
@@ -100,15 +109,15 @@
100
109
  right: 10px;
101
110
  height: auto;
102
111
  margin: auto;
103
- border: 1px solid var(--color-primary, $color-primary);
112
+ border: 1px solid var(--color-primary, colors.$color-primary);
104
113
  padding: 10px 20px;
105
114
  padding-right: 54px;
106
115
  background-color: transparent;
107
- color: var(--color-primary, $color-primary);
116
+ color: var(--color-primary, colors.$color-primary);
108
117
  font-size: 20px;
109
118
  font-weight: 400;
110
119
  cursor: pointer;
111
- @media only screen and (min-width: $screen-sm) {
120
+ @media only screen and (min-width: viewports.$screen-sm) {
112
121
  position: relative;
113
122
  top: 0;
114
123
  right: 0;
@@ -124,7 +133,7 @@
124
133
  height: 4px;
125
134
  width: 24px;
126
135
  border-radius: 3px;
127
- background-color: var(--color-primary, $color-primary);
136
+ background-color: var(--color-primary, colors.$color-primary);
128
137
  &::before,
129
138
  &::after {
130
139
  content: "";
@@ -133,7 +142,7 @@
133
142
  left: 0;
134
143
  right: 0;
135
144
  border-radius: 3px;
136
- background-color: var(--color-primary, $color-primary);
145
+ background-color: var(--color-primary, colors.$color-primary);
137
146
  transition: transform 0.3s ease-out;
138
147
  }
139
148
  &::before {
@@ -147,12 +156,12 @@
147
156
  &:focus,
148
157
  &:active {
149
158
  color: #fff;
150
- background-color: var(--color-primary, $color-primary);
159
+ background-color: var(--color-primary, colors.$color-primary);
151
160
  .hamburgerIcon {
152
- background-color: var(--color-primary-contrast, $color-primary-contrast);
161
+ background-color: var(--color-primary-contrast, colors.$color-primary-contrast);
153
162
  &::before,
154
163
  &::after {
155
- background-color: var(--color-primary-contrast, $color-primary-contrast);
164
+ background-color: var(--color-primary-contrast, colors.$color-primary-contrast);
156
165
  }
157
166
  }
158
167
  }
@@ -173,8 +182,8 @@
173
182
  display: none;
174
183
  width: 100%;
175
184
  overflow: hidden;
176
- transition: all $default-transition;
177
- background-color: var(--color-body-background, $color-body-background);
185
+ transition: all transitions.$default-transition;
186
+ background-color: var(--color-body-background, colors.$color-body-background);
178
187
  &.active {
179
188
  display: block;
180
189
  }
@@ -187,7 +196,7 @@
187
196
  flex-wrap: wrap;
188
197
  padding: 0;
189
198
  padding: 20px;
190
- @media only screen and (min-width: $screen-sm) {
199
+ @media only screen and (min-width: viewports.$screen-sm) {
191
200
  padding: 40px 5%;
192
201
  }
193
202
  > ul.primaryList,
@@ -196,19 +205,19 @@
196
205
  padding: 0;
197
206
  list-style: none;
198
207
  margin: 0;
199
- @media only screen and (min-width: $screen-sm) {
208
+ @media only screen and (min-width: viewports.$screen-sm) {
200
209
  padding: 20px 0;
201
210
  }
202
211
  }
203
212
  > ul.primaryList {
204
213
  float: left;
205
- @media only screen and (min-width: $screen-sm) {
214
+ @media only screen and (min-width: viewports.$screen-sm) {
206
215
  width: 60%;
207
216
  }
208
217
  > li {
209
218
  line-height: 1.6;
210
219
  padding: 15px 0;
211
- @media only screen and (min-width: $screen-sm) {
220
+ @media only screen and (min-width: viewports.$screen-sm) {
212
221
  margin-left: 100px;
213
222
  }
214
223
  > a,
@@ -217,12 +226,12 @@
217
226
  line-height: 1.56;
218
227
  font-weight: 600;
219
228
  text-decoration: underline;
220
- color: var(--color-primary, $color-primary);
229
+ color: var(--color-primary, colors.$color-primary);
221
230
  cursor: pointer;
222
231
  &:hover {
223
232
  text-decoration: none;
224
233
  }
225
- @media only screen and (min-width: $screen-sm) {
234
+ @media only screen and (min-width: viewports.$screen-sm) {
226
235
  font-size: 26px;
227
236
  line-height: 1.58;
228
237
  }
@@ -230,7 +239,7 @@
230
239
  > ul.primaryList {
231
240
  display: none;
232
241
  list-style: none;
233
- @media only screen and (min-width: $screen-sm) {
242
+ @media only screen and (min-width: viewports.$screen-sm) {
234
243
  display: -ms-flexbox;
235
244
  display: flex;
236
245
  -ms-flex-direction: row;
@@ -243,11 +252,11 @@
243
252
  padding: 5px;
244
253
  line-height: 1.6;
245
254
  font-size: 16px;
246
- @media only screen and (min-width: $screen-md) {
255
+ @media only screen and (min-width: viewports.$screen-md) {
247
256
  font-size: 20px;
248
257
  }
249
258
  &:not(:last-of-type)::after {
250
- @media only screen and (min-width: $screen-sm) {
259
+ @media only screen and (min-width: viewports.$screen-sm) {
251
260
  content: "-";
252
261
  padding-left: 10px;
253
262
  }
@@ -267,7 +276,7 @@
267
276
  > ul.secondaryList {
268
277
  float: right;
269
278
  margin: 20px 0;
270
- @media only screen and (min-width: $screen-sm) {
279
+ @media only screen and (min-width: viewports.$screen-sm) {
271
280
  margin: 0;
272
281
  width: 40%;
273
282
  padding-left: 20px;
@@ -275,7 +284,7 @@
275
284
  li {
276
285
  padding: 5px 0;
277
286
  line-height: 1.6;
278
- @media only screen and (min-width: $screen-sm) {
287
+ @media only screen and (min-width: viewports.$screen-sm) {
279
288
  padding: 10px 0;
280
289
  position: relative;
281
290
  }
@@ -289,7 +298,7 @@
289
298
  &:hover {
290
299
  text-decoration: none;
291
300
  }
292
- @media only screen and (min-width: $screen-sm) {
301
+ @media only screen and (min-width: viewports.$screen-sm) {
293
302
  font-size: 22px;
294
303
  }
295
304
  }
@@ -298,28 +307,28 @@
298
307
  }
299
308
  }
300
309
  &.compact {
301
- @include box-shadow(0 2px 4px -2px rgba(0, 0, 0, 0.2));
310
+ @include box-shadow.box-shadow(0 2px 4px -2px rgba(0, 0, 0, 0.2));
302
311
  position: relative;
303
312
  z-index: 1;
304
313
 
305
314
  .mainContentLink {
306
- background-color: var(--color-primary, $color-primary);
307
- color: var(--color-primary-contrast, $color-primary-contrast);
315
+ background-color: var(--color-primary, colors.$color-primary);
316
+ color: var(--color-primary-contrast, colors.$color-primary-contrast);
308
317
  &:focus,
309
318
  &:active {
310
319
  span {
311
- outline-color: var(--color-primary-contrast, $color-primary-contrast);
320
+ outline-color: var(--color-primary-contrast, colors.$color-primary-contrast);
312
321
  }
313
322
  }
314
323
  }
315
324
 
316
325
  .navigationBar {
317
- background-color: var(--color-primary, $color-primary);
326
+ background-color: var(--color-primary, colors.$color-primary);
318
327
  height: 54px;
319
328
  display: flex;
320
329
  justify-content: space-between;
321
330
  align-items: center;
322
- @media only screen and (min-width: $screen-sm) {
331
+ @media only screen and (min-width: viewports.$screen-sm) {
323
332
  height: 73px;
324
333
  }
325
334
  }
@@ -332,7 +341,7 @@
332
341
  height: 54px;
333
342
  max-width: none;
334
343
  }
335
- @media only screen and (min-width: $screen-sm) {
344
+ @media only screen and (min-width: viewports.$screen-sm) {
336
345
  width: 270px;
337
346
  height: 73px;
338
347
  img {
@@ -343,13 +352,13 @@
343
352
 
344
353
  .childElements {
345
354
  display: block;
346
- color: var(--color-primary-contrast, $color-primary-contrast);
355
+ color: var(--color-primary-contrast, colors.$color-primary-contrast);
347
356
  flex: 1;
348
357
  }
349
358
 
350
359
  .menuToggle {
351
- @include appearance(none);
352
- @include transition(background-color 300ms ease-out);
360
+ @include appearance.appearance(none);
361
+ @include transition.transition(background-color 300ms ease-out);
353
362
  border: none;
354
363
  cursor: pointer;
355
364
  position: relative;
@@ -360,30 +369,30 @@
360
369
  width: 30px;
361
370
  display: block;
362
371
  .line {
363
- background-color: var(--color-primary-contrast, $color-primary-contrast);
372
+ background-color: var(--color-primary-contrast, colors.$color-primary-contrast);
364
373
  height: 2px;
365
374
  margin: 6px 0;
366
375
  display: block;
367
376
  }
368
377
  }
369
- @media only screen and (min-width: $screen-sm) {
378
+ @media only screen and (min-width: viewports.$screen-sm) {
370
379
  margin: 0 21px;
371
380
  }
372
381
  }
373
382
 
374
383
  .dropdownContainer {
375
- @include transition(max-height 0.15s ease-out);
384
+ @include transition.transition(max-height 0.15s ease-out);
376
385
  max-height: 0;
377
386
  overflow: hidden;
378
387
  &.active {
379
- @include transition(max-height 0.15s ease-out);
388
+ @include transition.transition(max-height 0.15s ease-out);
380
389
  max-height: 500px;
381
390
  }
382
391
  }
383
392
 
384
393
  .dropdown {
385
- @include box-shadow(0 2px 4px -2px rgba(0, 0, 0, 0.2));
386
- background-color: var(--color-primary, $color-primary);
394
+ @include box-shadow.box-shadow(0 2px 4px -2px rgba(0, 0, 0, 0.2));
395
+ background-color: var(--color-primary, colors.$color-primary);
387
396
  z-index: 2;
388
397
  > ul.primaryList {
389
398
  list-style: none;
@@ -392,13 +401,13 @@
392
401
  li {
393
402
  a,
394
403
  span {
395
- color: var(--color-primary-contrast, $color-primary-contrast);
404
+ color: var(--color-primary-contrast, colors.$color-primary-contrast);
396
405
  text-transform: uppercase;
397
406
  text-decoration: none;
398
- font-family: $default-font;
407
+ font-family: typography.$default-font;
399
408
  padding: 10px 0;
400
409
  display: block;
401
- border-bottom: 1px solid var(--color-primary, $color-primary);
410
+ border-bottom: 1px solid var(--color-primary, colors.$color-primary);
402
411
  font-size: 14px;
403
412
  line-height: 1.6;
404
413
  }
@@ -408,10 +417,10 @@
408
417
  li {
409
418
  a,
410
419
  span {
411
- color: var(--color-primary-contrast, $color-primary-contrast);
420
+ color: var(--color-primary-contrast, colors.$color-primary-contrast);
412
421
  text-transform: none;
413
422
  text-decoration: none;
414
- font-family: $default-font;
423
+ font-family: typography.$default-font;
415
424
  padding: 10px 0;
416
425
  margin-left: 20px;
417
426
  display: block;
@@ -442,12 +451,12 @@
442
451
  }
443
452
  }
444
453
 
445
- @media only screen and (min-width: $screen-sm) {
454
+ @media only screen and (min-width: viewports.$screen-sm) {
446
455
  .dropdownContainer {
447
456
  position: relative;
448
457
  overflow: visible;
449
458
  .dropdown {
450
- @include transition(max-height 0.15s ease-out);
459
+ @include transition.transition(max-height 0.15s ease-out);
451
460
  width: 300px;
452
461
  position: absolute;
453
462
  right: 0;
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
10
  const NavigationBarListItem = props => {
11
11
  if (typeof props.listItem === "string") {
12
12
  return _react.default.createElement("li", null, _react.default.createElement("span", null, props.listItem));
@@ -1,4 +1,8 @@
1
- @import "../style/abstracts/_all.scss";
1
+ // Mixins
2
+ @use "../style/abstracts/mixins/box-sizing";
3
+
4
+ // Variables
5
+ @use "../style/abstracts/variables/colors";
2
6
 
3
7
  $font-size-body: 16px;
4
8
  $font-size-h1: 34px;
@@ -108,7 +112,7 @@ body {
108
112
  }
109
113
 
110
114
  * {
111
- @include box-sizing(border-box);
115
+ @include box-sizing.box-sizing(border-box);
112
116
  }
113
117
 
114
118
  .page {
@@ -129,8 +133,13 @@ body {
129
133
  margin-left: $heading-logo-margin-left;
130
134
  }
131
135
 
136
+ caption {
137
+ text-align: left;
138
+ }
139
+
132
140
  h1,
133
- .h1 {
141
+ .h1,
142
+ caption[style*="--size: 1"] {
134
143
  page-break-after: avoid;
135
144
  font-size: $font-size-h1;
136
145
  font-weight: normal;
@@ -144,7 +153,8 @@ body {
144
153
  }
145
154
  }
146
155
  h2,
147
- .h2 {
156
+ .h2,
157
+ caption[style*="--size: 2"] {
148
158
  page-break-after: avoid;
149
159
  font-size: $font-size-h2;
150
160
  font-weight: normal;
@@ -162,7 +172,8 @@ body {
162
172
  }
163
173
  }
164
174
  h3,
165
- .h3 {
175
+ .h3,
176
+ caption[style*="--size: 3"] {
166
177
  page-break-after: avoid;
167
178
  font-size: $font-size-h3;
168
179
  font-weight: normal;
@@ -176,7 +187,9 @@ body {
176
187
  }
177
188
 
178
189
  h4,
179
- .h4 {
190
+ .h4,
191
+ caption[style*="--size: 4"],
192
+ caption:not([style*="--size"]) {
180
193
  page-break-after: avoid;
181
194
  font-size: $font-size-h4;
182
195
  font-weight: bold;
@@ -189,7 +202,8 @@ body {
189
202
  }
190
203
 
191
204
  h5,
192
- .h5 {
205
+ .h5,
206
+ caption[style*="--size: 5"] {
193
207
  page-break-after: avoid;
194
208
  font-size: $font-size-h5;
195
209
  font-weight: bold;
@@ -306,7 +320,7 @@ body {
306
320
  }
307
321
  }
308
322
 
309
- table + table thead tr {
323
+ table + table > thead:first-child tr {
310
324
  border-top: none;
311
325
  }
312
326
 
@@ -326,8 +340,8 @@ body {
326
340
  }
327
341
 
328
342
  blockquote {
329
- background: var(--color-secondary-x-light, $color-secondary-x-light);
330
- border-left: $border-left-width-blockquote solid var(--color-border, $color-border);
343
+ background: var(--color-secondary-x-light, colors.$color-secondary-x-light);
344
+ border-left: $border-left-width-blockquote solid var(--color-border, colors.$color-border);
331
345
  margin: $margin-vertical-blockquote $margin-horizontal-blockquote;
332
346
  padding: 0.5em $padding-horizontal-blockquote;
333
347
  min-height: $min-height-blockquote;
@@ -419,7 +433,8 @@ body {
419
433
  margin-left: calc($heading-logo-margin-left * $scaling-for-signed-documents);
420
434
  }
421
435
  h1,
422
- .h1 {
436
+ .h1,
437
+ caption[style*="--size: 1"] {
423
438
  font-size: calc($font-size-h1 * $scaling-for-signed-documents);
424
439
  margin-top: calc($margin-top-h1 * $scaling-for-signed-documents);
425
440
  small {
@@ -427,7 +442,8 @@ body {
427
442
  }
428
443
  }
429
444
  h2,
430
- .h2 {
445
+ .h2,
446
+ caption[style*="--size: 2"] {
431
447
  font-size: calc($font-size-h2 * $scaling-for-signed-documents);
432
448
  margin-top: calc($margin-top-h2 * $scaling-for-signed-documents);
433
449
  margin-bottom: calc($margin-bottom-h2 * $scaling-for-signed-documents);
@@ -437,19 +453,23 @@ body {
437
453
  }
438
454
  }
439
455
  h3,
440
- .h3 {
456
+ .h3,
457
+ caption[style*="--size: 3"] {
441
458
  font-size: calc($font-size-h3 * $scaling-for-signed-documents);
442
459
  margin-top: calc($margin-top-h3 * $scaling-for-signed-documents);
443
460
  margin-bottom: calc($margin-bottom-h3 * $scaling-for-signed-documents);
444
461
  }
445
462
  h4,
446
- .h4 {
463
+ .h4,
464
+ caption[style*="--size: 4"],
465
+ caption:not([style*="--size"]) {
447
466
  font-size: calc($font-size-h4 * $scaling-for-signed-documents);
448
467
  margin-top: calc($margin-top-h4 * $scaling-for-signed-documents);
449
468
  margin-bottom: calc($margin-bottom-h4 * $scaling-for-signed-documents);
450
469
  }
451
470
  h5,
452
- .h5 {
471
+ .h5,
472
+ caption[style*="--size: 5"] {
453
473
  font-size: calc($font-size-h5 * $scaling-for-signed-documents);
454
474
  margin-top: calc($margin-top-h5 * $scaling-for-signed-documents);
455
475
  margin-bottom: calc($margin-bottom-h5 * $scaling-for-signed-documents);
@@ -517,9 +537,9 @@ body {
517
537
  }
518
538
 
519
539
  blockquote {
520
- background: var(--color-secondary-x-light, $color-secondary-x-light);
540
+ background: var(--color-secondary-x-light, colors.$color-secondary-x-light);
521
541
  border-left: calc($border-left-width-blockquote * $scaling-for-signed-documents) solid
522
- var(--color-border, $color-border);
542
+ var(--color-border, colors.$color-border);
523
543
  margin: calc($margin-vertical-blockquote * $scaling-for-signed-documents)
524
544
  calc($margin-horizontal-blockquote * $scaling-for-signed-documents);
525
545
  padding: 0.5em calc($padding-horizontal-blockquote * $scaling-for-signed-documents);
@@ -7,10 +7,10 @@ exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _PaperModule = _interopRequireDefault(require("./Paper.module.scss"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
11
  const Paper = props => {
12
12
  return _react.default.createElement("div", {
13
- className: "".concat(_PaperModule.default.paper, " ").concat(props.noMargin ? _PaperModule.default.noMargin : "", " ").concat(props.noPadding ? _PaperModule.default.noPadding : "")
13
+ className: `${_PaperModule.default.paper} ${props.noMargin ? _PaperModule.default.noMargin : ""} ${props.noPadding ? _PaperModule.default.noPadding : ""}`
14
14
  }, props.children);
15
15
  };
16
16
  Paper.propTypes = {
@@ -1,4 +1,5 @@
1
- @import "../style/global.scss";
1
+ // Variables
2
+ @use "../style/abstracts/variables/viewports";
2
3
 
3
4
  .paper {
4
5
  position: relative;
@@ -9,7 +10,7 @@
9
10
  }
10
11
  &:not(.noPadding) {
11
12
  padding: 48px 20px;
12
- @media only screen and (min-width: $screen-sm) {
13
+ @media only screen and (min-width: viewports.$screen-sm) {
13
14
  padding: 48px;
14
15
  }
15
16
  }
@@ -7,11 +7,11 @@ exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _ProgressBarModule = _interopRequireDefault(require("./ProgressBar.module.scss"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
11
  const ProgressBar = props => {
12
12
  const scssValueProperty = "--value";
13
13
  return _react.default.createElement("div", {
14
- className: "".concat(_ProgressBarModule.default.progressBar, " ").concat(props.hasErrors ? _ProgressBarModule.default.hasErrors : ""),
14
+ className: `${_ProgressBarModule.default.progressBar} ${props.hasErrors ? _ProgressBarModule.default.hasErrors : ""}`,
15
15
  role: "progressbar",
16
16
  "aria-valuenow": props.progress || 0,
17
17
  "aria-valuemin": "0",
@@ -1,8 +1,12 @@
1
- @import "../style/global.scss";
1
+ // Mixins
2
+ @use "../style/abstracts/mixins/calc";
3
+
4
+ // Variables
5
+ @use "../style/abstracts/variables/colors";
2
6
 
3
7
  .progressBar {
4
8
  --size: 4rem;
5
- --fg: #{var(--color-primary, $color-primary)};
9
+ --fg: #{var(--color-primary, colors.$color-primary)};
6
10
  --bg: #e2e1e0;
7
11
  --pgPercentage: var(--value);
8
12
  width: var(--size);
@@ -13,7 +17,7 @@
13
17
  background: radial-gradient(closest-side, white 80%, transparent 0 99.9%, white 0),
14
18
  conic-gradient(var(--fg) calc(var(--pgPercentage) * 1%), var(--bg) 0);
15
19
  font-family: Helvetica, Arial, sans-serif;
16
- font-size: calc(var(--size) / 4);
20
+ @include calc.calc("font-size", var(--size) / 4);
17
21
  color: var(--fg);
18
22
  flex-shrink: 0;
19
23
  &::before {
@@ -21,6 +25,6 @@
21
25
  content: counter(percentage) "%";
22
26
  }
23
27
  &.hasErrors {
24
- --fg: #{var(--color-error, $color-error)};
28
+ --fg: #{var(--color-error, colors.$color-error)};
25
29
  }
26
30
  }
@@ -7,14 +7,14 @@ exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _RadioButtonIconModule = _interopRequireDefault(require("./RadioButtonIcon.module.scss"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
11
  const RadioButtonIcon = props => {
12
12
  let inlineStyle = {
13
13
  height: props.size,
14
14
  width: props.size
15
15
  };
16
16
  const radioButtonIconProps = {
17
- className: "".concat(_RadioButtonIconModule.default.radioButtonIcon, " ").concat(props.checked ? _RadioButtonIconModule.default.checked : "", " ").concat(props.disabled ? _RadioButtonIconModule.default.disabled : "", " ").concat(props.hasErrors ? _RadioButtonIconModule.default.hasErrors : ""),
17
+ className: `${_RadioButtonIconModule.default.radioButtonIcon} ${props.checked ? _RadioButtonIconModule.default.checked : ""} ${props.disabled ? _RadioButtonIconModule.default.disabled : ""} ${props.hasErrors ? _RadioButtonIconModule.default.hasErrors : ""}`,
18
18
  style: inlineStyle
19
19
  };
20
20
  return _react.default.createElement("span", radioButtonIconProps);