@rypen-dev/shared-components 8.2.0 → 8.2.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rypen-dev/shared-components",
3
3
  "description": "Shared styles and Vuejs ui components for Rypen projects. Starting with version 8, this package is built with Vite 7 and Vue 3.",
4
- "version": "8.2.0",
4
+ "version": "8.2.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "scripts": {
@@ -1,3 +1,5 @@
1
+ @use 'sass:map';
2
+
1
3
  .order-summary {
2
4
  .value {
3
5
  font-size: 1.25rem;
@@ -7,7 +9,7 @@
7
9
  color: $primary;
8
10
  }
9
11
 
10
- @media print, screen and (min-width: map-get($breakpoints, large)) {
12
+ @media print, screen and (min-width: map.get($breakpoints, large)) {
11
13
  &.cart-summary {
12
14
  width: 330px;
13
15
  }
@@ -3,6 +3,7 @@
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
5
  @use "sass:math";
6
+ @use 'sass:map';
6
7
 
7
8
  .cta-link {
8
9
  display: inline-block;
@@ -148,7 +149,7 @@
148
149
  cursor: default;
149
150
  }
150
151
 
151
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
152
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
152
153
  line-height: 1rem;
153
154
  font-size: 0.9375rem;
154
155
 
@@ -236,7 +237,7 @@ a.info {
236
237
  }
237
238
  }
238
239
 
239
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
240
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
240
241
  > span:not(.tooltip) {
241
242
  width: 24px;
242
243
  height: 24px;
@@ -395,7 +396,7 @@ $arrow-width-medium: 50px;
395
396
  }
396
397
 
397
398
  &.small-no-tail {
398
- @media screen and (max-width: map-get($breakpoints, medium) - 1px) {
399
+ @media screen and (max-width: map.get($breakpoints, medium) - 1px) {
399
400
  padding-right: 20px;
400
401
 
401
402
  &::before {
@@ -410,7 +411,7 @@ $arrow-width-medium: 50px;
410
411
  }
411
412
 
412
413
  &.medium-no-tail {
413
- @media screen and (max-width: map-get($breakpoints, large) - 1px) {
414
+ @media screen and (max-width: map.get($breakpoints, large) - 1px) {
414
415
  padding-right: 20px;
415
416
 
416
417
  &::before {
@@ -511,7 +512,7 @@ $arrow-width-medium: 50px;
511
512
  }
512
513
  }
513
514
 
514
- @media screen and (min-width: map-get($breakpoints, meidum)) and (max-width: map-get($breakpoints, large) - 1px) {
515
+ @media screen and (min-width: map.get($breakpoints, meidum)) and (max-width: map.get($breakpoints, large) - 1px) {
515
516
  &.medium-only-small-text {
516
517
  font-size: 0.875rem;
517
518
  }
@@ -530,7 +531,7 @@ $arrow-width-medium: 50px;
530
531
  }
531
532
  }
532
533
 
533
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
534
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
534
535
  line-height: 1.125rem;
535
536
  font-size: 1.0625rem;
536
537
  letter-spacing: 2px;
@@ -585,7 +586,7 @@ $arrow-width-medium: 50px;
585
586
  }
586
587
  }
587
588
 
588
- @media print, screen and (min-width: map-get($breakpoints, medium)) and (max-width: map-get($breakpoints, large) - 1px) {
589
+ @media print, screen and (min-width: map.get($breakpoints, medium)) and (max-width: map.get($breakpoints, large) - 1px) {
589
590
  &.medium-only-small-text {
590
591
  font-size: 0.875rem;
591
592
  }
@@ -679,7 +680,7 @@ $arrow-width-medium: 50px;
679
680
  }
680
681
  }
681
682
 
682
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
683
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
683
684
  line-height: 1.125rem;
684
685
  font-size: 1.0625rem;
685
686
  padding-right: $arrow-width-medium;
@@ -1046,7 +1047,7 @@ button,
1046
1047
  margin-right: -6px;
1047
1048
  }
1048
1049
 
1049
- @media screen and (max-width: map-get($breakpoints, medium) - 1px) {
1050
+ @media screen and (max-width: map.get($breakpoints, medium) - 1px) {
1050
1051
  &.small-full {
1051
1052
  width: 100% !important;
1052
1053
  margin-left: 0;
@@ -1054,7 +1055,7 @@ button,
1054
1055
  }
1055
1056
  }
1056
1057
 
1057
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
1058
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
1058
1059
  line-height: $button-height-medium;
1059
1060
  margin-bottom: 1rem;
1060
1061
  letter-spacing: $button-letter-spacing-medium;
@@ -1177,7 +1178,7 @@ button,
1177
1178
  }
1178
1179
  }
1179
1180
 
1180
- @media screen and (max-width: map-get($breakpoints, medium) - 1px) {
1181
+ @media screen and (max-width: map.get($breakpoints, medium) - 1px) {
1181
1182
  > button,
1182
1183
  > .button {
1183
1184
  &.small-full {
@@ -1223,7 +1224,7 @@ button,
1223
1224
  }
1224
1225
 
1225
1226
  .medium-button-row {
1226
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
1227
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
1227
1228
  > button,
1228
1229
  > .button {
1229
1230
  margin-left: 5px;
@@ -1353,7 +1354,7 @@ ul.button-menu {
1353
1354
  padding: 0 20px;
1354
1355
  }
1355
1356
 
1356
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
1357
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
1357
1358
  margin: 0 -0.5rem;
1358
1359
  }
1359
1360
  }
@@ -2,6 +2,8 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
+ @use 'sass:map';
6
+
5
7
  .photo-collage {
6
8
  position: relative;
7
9
  width: 250px;
@@ -9,7 +11,7 @@
9
11
  padding: 20px 0;
10
12
 
11
13
  &.small-centered {
12
- @media (max-width: map-get($breakpoints, medium) - 1px) {
14
+ @media (max-width: map.get($breakpoints, medium) - 1px) {
13
15
  margin-left: auto;
14
16
  margin-right: auto;
15
17
  }
@@ -68,7 +70,7 @@
68
70
  }
69
71
  }
70
72
 
71
- @media (min-width: map-get($breakpoints, medium)) {
73
+ @media (min-width: map.get($breakpoints, medium)) {
72
74
  &.single {
73
75
  width: 200px;
74
76
 
@@ -86,7 +88,7 @@
86
88
  }
87
89
  }
88
90
 
89
- @media (min-width: map-get($breakpoints, large)) {
91
+ @media (min-width: map.get($breakpoints, large)) {
90
92
  margin-top: 0;
91
93
  margin-bottom: 0;
92
94
  }
@@ -1,7 +1,9 @@
1
1
  /// <reference path="../variables" />
2
2
  /// <reference path="../vendor/foundation-settings" />
3
3
 
4
- @media (min-width: map-get($breakpoints, medium)) {
4
+ @use 'sass:map';
5
+
6
+ @media (min-width: map.get($breakpoints, medium)) {
5
7
  body.flyover-open {
6
8
  overflow: hidden;
7
9
  }
@@ -62,7 +64,7 @@
62
64
  }
63
65
  }
64
66
 
65
- @media print, screen and (min-width: map-get($breakpoints, large)) {
67
+ @media print, screen and (min-width: map.get($breakpoints, large)) {
66
68
  width: 50vw;
67
69
 
68
70
  .body.restricted {
@@ -75,7 +77,7 @@
75
77
  .flyover-enter .flyover {
76
78
  right: -100vw !important;
77
79
 
78
- @media (min-width: map-get($breakpoints, large)) {
80
+ @media (min-width: map.get($breakpoints, large)) {
79
81
  right: -50vw !important;
80
82
  }
81
83
  }
@@ -83,7 +85,7 @@
83
85
  .flyover-leave-to .flyover {
84
86
  right: -100vw !important;
85
87
 
86
- @media (min-width: map-get($breakpoints, large)) {
88
+ @media (min-width: map.get($breakpoints, large)) {
87
89
  right: -50vw !important;
88
90
  }
89
91
  }
@@ -3,6 +3,7 @@
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
5
  @use "sass:color";
6
+ @use 'sass:map';
6
7
 
7
8
  input[type=date]::-webkit-datetime-edit-text {
8
9
  color: $input-placeholder-color;
@@ -118,7 +119,7 @@ select {
118
119
  margin-bottom: 0 !important;
119
120
  }
120
121
 
121
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
122
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
122
123
  label {
123
124
  padding-top: 2px;
124
125
  }
@@ -449,7 +450,7 @@ select {
449
450
  }
450
451
  }
451
452
 
452
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
453
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
453
454
  &.medium-flex-group {
454
455
  display: flex;
455
456
 
@@ -509,7 +510,7 @@ label {
509
510
  margin-bottom: 0;
510
511
  }
511
512
 
512
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
513
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
513
514
  font-size: 1.0625rem;
514
515
  }
515
516
  }
@@ -520,6 +521,14 @@ label {
520
521
  border-radius: 0 $global-form-input-radius $global-form-input-radius 0;
521
522
  }
522
523
 
524
+ &.small {
525
+ .input-group-field {
526
+ height: 35px;
527
+ padding: 5px;
528
+ font-size: 0.875rem;
529
+ }
530
+ }
531
+
523
532
  &.tiny {
524
533
  .input-group-field {
525
534
  height: 30px;
@@ -872,7 +881,7 @@ label {
872
881
  }
873
882
  }
874
883
 
875
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
884
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
876
885
  input {
877
886
  height: 4rem;
878
887
  font-size: 1.625rem;
@@ -1031,7 +1040,7 @@ label {
1031
1040
  line-height: calc(2.75rem - 4px) !important;
1032
1041
  }
1033
1042
 
1034
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
1043
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
1035
1044
  line-height: calc(5rem - 4px);
1036
1045
 
1037
1046
  &.small,
@@ -1096,7 +1105,7 @@ label {
1096
1105
  }
1097
1106
  }
1098
1107
 
1099
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
1108
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
1100
1109
  &.medium-no-margin {
1101
1110
  margin-bottom: 0 !important;
1102
1111
  }
@@ -1106,7 +1115,7 @@ label {
1106
1115
  }
1107
1116
  }
1108
1117
 
1109
- @media print, screen and (min-width: map-get($breakpoints, large)) {
1118
+ @media print, screen and (min-width: map.get($breakpoints, large)) {
1110
1119
  &.large-no-margin {
1111
1120
  margin-bottom: 0 !important;
1112
1121
  }
@@ -1409,7 +1418,7 @@ select {
1409
1418
  }
1410
1419
  }
1411
1420
 
1412
- @media (min-width: map-get($breakpoints, large)) {
1421
+ @media (min-width: map.get($breakpoints, large)) {
1413
1422
  li a .preview {
1414
1423
  .preview-image {
1415
1424
  width: 300px;
@@ -1418,7 +1427,7 @@ select {
1418
1427
  }
1419
1428
  }
1420
1429
 
1421
- @media (min-width: map-get($breakpoints, xlarge)) {
1430
+ @media (min-width: map.get($breakpoints, xlarge)) {
1422
1431
  li a .preview {
1423
1432
  .preview-image {
1424
1433
  width: 400px;
@@ -1428,7 +1437,7 @@ select {
1428
1437
  }
1429
1438
  }
1430
1439
 
1431
- @media screen and (max-width: map-get($breakpoints, medium) - 1px) {
1440
+ @media screen and (max-width: map.get($breakpoints, medium) - 1px) {
1432
1441
  a {
1433
1442
  .preview {
1434
1443
  display: none !important;
@@ -1436,7 +1445,7 @@ select {
1436
1445
  }
1437
1446
  }
1438
1447
 
1439
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
1448
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
1440
1449
  li {
1441
1450
  margin-right: 4px;
1442
1451
  margin-bottom: 4px;
@@ -1652,7 +1661,7 @@ body.hover-capable {
1652
1661
  margin-bottom: 0;
1653
1662
  }
1654
1663
 
1655
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
1664
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
1656
1665
  flex: 1 1 0;
1657
1666
  vertical-align: bottom;
1658
1667
  margin: 0 26px 38px 0;
@@ -1686,7 +1695,7 @@ body.hover-capable {
1686
1695
  }
1687
1696
 
1688
1697
  .grouped-fields {
1689
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
1698
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
1690
1699
  display: flex;
1691
1700
  flex-grow: 1;
1692
1701
  position: relative;
@@ -2060,7 +2069,7 @@ input:checked ~ .switch-paddle {
2060
2069
  }
2061
2070
  }
2062
2071
 
2063
- @media (min-width: map-get($breakpoints, medium)) {
2072
+ @media (min-width: map.get($breakpoints, medium)) {
2064
2073
  &.range {
2065
2074
  .divider strong::after {
2066
2075
  content: '\00a0–\00a0';
@@ -1,25 +1,27 @@
1
- @media all and (max-width: map-get($breakpoints, medium) - 1px) {
1
+ @use 'sass:map';
2
+
3
+ @media all and (max-width: map.get($breakpoints, medium) - 1px) {
2
4
  body:after {
3
5
  content: 'size-small';
4
6
  display: none;
5
7
  }
6
8
  }
7
9
 
8
- @media all and (min-width: map-get($breakpoints, medium)) {
10
+ @media all and (min-width: map.get($breakpoints, medium)) {
9
11
  body:after {
10
12
  content: 'size-medium';
11
13
  display: none;
12
14
  }
13
15
  }
14
16
 
15
- @media all and (min-width: map-get($breakpoints, large)) {
17
+ @media all and (min-width: map.get($breakpoints, large)) {
16
18
  body:after {
17
19
  content: 'size-large';
18
20
  display: none;
19
21
  }
20
22
  }
21
23
 
22
- @media all and (min-width: map-get($breakpoints, xlarge)) {
24
+ @media all and (min-width: map.get($breakpoints, xlarge)) {
23
25
  body:after {
24
26
  content: 'size-xlarge';
25
27
  display: none;
@@ -79,7 +81,7 @@
79
81
  margin-top: #{$single-space * 0.25} !important;
80
82
  }
81
83
 
82
- @media screen and (max-width: (map-get($breakpoints, medium) - 1px)) {
84
+ @media screen and (max-width: (map.get($breakpoints, medium) - 1px)) {
83
85
  .small-single-space {
84
86
  margin-bottom: $single-space !important;
85
87
  }
@@ -109,7 +111,7 @@
109
111
  }
110
112
  }
111
113
 
112
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
114
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
113
115
  .medium-single-space {
114
116
  margin-bottom: $single-space !important;
115
117
  }
@@ -139,13 +141,13 @@
139
141
  }
140
142
  }
141
143
 
142
- @media print, screen and (min-width: map-get($breakpoints, medium)) and (max-width: (map-get($breakpoints, large) - 1px)) {
144
+ @media print, screen and (min-width: map.get($breakpoints, medium)) and (max-width: (map.get($breakpoints, large) - 1px)) {
143
145
  .medium-only-double-space {
144
146
  margin-bottom: #{$single-space * 2} !important;
145
147
  }
146
148
  }
147
149
 
148
- @media print, screen and (min-width: map-get($breakpoints, large)) {
150
+ @media print, screen and (min-width: map.get($breakpoints, large)) {
149
151
  .large-no-space {
150
152
  margin-bottom: 0 !important;
151
153
  }
@@ -164,7 +166,7 @@
164
166
  }
165
167
 
166
168
  .medium-grid-container {
167
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
169
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
168
170
  max-width: $grid-container;
169
171
  margin: 0 auto;
170
172
  padding-left: $grid-container-gutter-medium;
@@ -195,7 +197,7 @@ hr {
195
197
  &.extra-large {
196
198
  margin: 60px 0;
197
199
 
198
- @media (min-width: map-get($breakpoints, medium)) {
200
+ @media (min-width: map.get($breakpoints, medium)) {
199
201
  margin: 80px 0;
200
202
  }
201
203
  }
@@ -344,7 +346,7 @@ hr {
344
346
  }
345
347
  }
346
348
 
347
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
349
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
348
350
  li {
349
351
  margin-bottom: 8px;
350
352
  }
@@ -395,7 +397,7 @@ hr {
395
397
  }
396
398
  }
397
399
 
398
- @media (min-width: map-get($breakpoints, large)) {
400
+ @media (min-width: map.get($breakpoints, large)) {
399
401
  a {
400
402
  font-size: 1.125rem;
401
403
  margin: 0 20px;
@@ -452,7 +454,7 @@ hr {
452
454
  }
453
455
  }
454
456
 
455
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
457
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
456
458
  a {
457
459
  margin-right: 30px;
458
460
  }
@@ -3,6 +3,7 @@
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
5
  @use "sass:color";
6
+ @use 'sass:map';
6
7
 
7
8
  .modal-mask {
8
9
  position: fixed;
@@ -235,7 +236,7 @@
235
236
  padding-right: $grid-cell-padding;
236
237
  }
237
238
 
238
- @media (min-width: map-get($breakpoints, medium)) {
239
+ @media (min-width: map.get($breakpoints, medium)) {
239
240
  .modal-body {
240
241
  margin-left: -$grid-cell-padding-medium;
241
242
  margin-right: -$grid-cell-padding-medium;
@@ -245,7 +246,7 @@
245
246
  }
246
247
  }
247
248
 
248
- @media (max-width: map-get($breakpoints, medium) - 1px) {
249
+ @media (max-width: map.get($breakpoints, medium) - 1px) {
249
250
  .modal-header {
250
251
  padding-top: 20px;
251
252
 
@@ -267,7 +268,7 @@
267
268
  }
268
269
  }
269
270
 
270
- @media (min-width: map-get($breakpoints, medium)) {
271
+ @media (min-width: map.get($breakpoints, medium)) {
271
272
  padding: 40px 30px;
272
273
  border-color: $modal-border-color-medium;
273
274
  width: 687px;
@@ -2,6 +2,8 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
+ @use 'sass:map';
6
+
5
7
  nav > ul {
6
8
  list-style-type: none;
7
9
  margin: 0;
@@ -87,7 +89,7 @@ nav > ul {
87
89
  background-color: $pagination-hover-color;
88
90
  }
89
91
 
90
- @media (max-width: map-get($breakpoints, medium) - 1px) {
92
+ @media (max-width: map.get($breakpoints, medium) - 1px) {
91
93
  li {
92
94
  &:first-child {
93
95
  padding-left: 0 !important;
@@ -1,3 +1,5 @@
1
+ @use 'sass:map';
2
+
1
3
  .progress-bar {
2
4
  ol {
3
5
  list-style-type: none;
@@ -141,7 +143,7 @@
141
143
  }
142
144
  }
143
145
 
144
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
146
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
145
147
  li {
146
148
  > span {
147
149
  span {
@@ -3,6 +3,7 @@
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
5
  @use "sass:color";
6
+ @use 'sass:map';
6
7
 
7
8
  .image-selector {
8
9
  position: relative;
@@ -116,7 +117,7 @@
116
117
  }
117
118
  }
118
119
 
119
- @media (max-width: map-get($breakpoints, medium) - 1px) {
120
+ @media (max-width: map.get($breakpoints, medium) - 1px) {
120
121
  .image-area {
121
122
  .substitute-warning {
122
123
  font-size: 0.675rem;
@@ -144,7 +145,7 @@
144
145
  }
145
146
  }
146
147
 
147
- @media (min-width: map-get($breakpoints, medium)) {
148
+ @media (min-width: map.get($breakpoints, medium)) {
148
149
  padding: 30px 90px 90px;
149
150
  margin-bottom: 0;
150
151
 
@@ -224,7 +225,7 @@
224
225
  }
225
226
  }
226
227
 
227
- @media (min-width: map-get($breakpoints, large)) {
228
+ @media (min-width: map.get($breakpoints, large)) {
228
229
  .image-nav {
229
230
  .image-nav-list {
230
231
  &.up-6 {
@@ -1,6 +1,8 @@
1
1
  /// <reference path="../variables" />
2
2
  /// <reference path="../vendor/foundation-settings" />
3
3
 
4
+ @use 'sass:map';
5
+
4
6
  .modal-container {
5
7
  .modal-body {
6
8
  .form.side-by-side {
@@ -16,7 +18,7 @@
16
18
  }
17
19
  }
18
20
 
19
- @media (min-width: map-get($breakpoints, medium)) {
21
+ @media (min-width: map.get($breakpoints, medium)) {
20
22
  .modal-body {
21
23
  .form.side-by-side {
22
24
  .row {
@@ -50,7 +52,7 @@
50
52
  text-align: left;
51
53
  }
52
54
 
53
- @media (min-width: map-get($breakpoints, medium)) {
55
+ @media (min-width: map.get($breakpoints, medium)) {
54
56
  .modal-grid {
55
57
  max-height: calc(100vh - 80px);
56
58
  }
@@ -2,6 +2,8 @@
2
2
  /// <reference path="../../node_modules/@rypen-dev/shared-components/scss/variables" />
3
3
  /// <reference path="../../node_modules/@rypen-dev/shared-components/scss/vendor/foundation-settings" />
4
4
 
5
+ @use 'sass:map';
6
+
5
7
  .slideshow {
6
8
  position: relative;
7
9
  overflow: hidden;
@@ -65,7 +67,7 @@
65
67
  opacity: 1;
66
68
  }
67
69
 
68
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
70
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
69
71
  padding-bottom: 53.4722%;
70
72
  }
71
73
  }
@@ -93,7 +95,7 @@
93
95
  }
94
96
  }
95
97
 
96
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
98
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
97
99
  position: absolute;
98
100
  bottom: 20px;
99
101
  left: 0;
@@ -124,7 +126,7 @@
124
126
  padding-bottom: 63.57%;
125
127
  }
126
128
 
127
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
129
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
128
130
  .slide {
129
131
  }
130
132
 
@@ -195,7 +197,7 @@
195
197
  }
196
198
  }
197
199
 
198
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
200
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
199
201
  .promo-card {
200
202
  .content {
201
203
  padding-left: 30px;
@@ -212,7 +214,7 @@
212
214
  }
213
215
  }
214
216
 
215
- @media screen and (min-width: map-get($breakpoints, medium)) and (max-width: map-get($breakpoints, large) - 1px) {
217
+ @media screen and (min-width: map.get($breakpoints, medium)) and (max-width: map.get($breakpoints, large) - 1px) {
216
218
  .promo-card {
217
219
  .content {
218
220
  h2 {
@@ -223,7 +225,7 @@
223
225
  }
224
226
  }
225
227
 
226
- @media print, screen and (min-width: map-get($breakpoints, large)) {
228
+ @media print, screen and (min-width: map.get($breakpoints, large)) {
227
229
  .promo-card {
228
230
  .content {
229
231
  padding-left: 60px;
@@ -254,7 +256,7 @@
254
256
  }
255
257
  }
256
258
 
257
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
259
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
258
260
  position: absolute;
259
261
  top: 20px;
260
262
  left: 0;
@@ -273,7 +275,7 @@
273
275
  }
274
276
  }
275
277
 
276
- @media print, screen and (min-width: map-get($breakpoints, large)) {
278
+ @media print, screen and (min-width: map.get($breakpoints, large)) {
277
279
  top: 40px;
278
280
 
279
281
  .cell {
@@ -2,6 +2,8 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
+ @use 'sass:map';
6
+
5
7
  .specsheet {
6
8
  padding: 1rem 0;
7
9
  font-weight: $headline-weight-normal;
@@ -136,7 +138,7 @@
136
138
  }
137
139
  }
138
140
 
139
- @media screen and (max-width: map-get($breakpoints, medium) - 1px) {
141
+ @media screen and (max-width: map.get($breakpoints, medium) - 1px) {
140
142
  .specsheet-list {
141
143
  .item {
142
144
  width: 100%;
@@ -1,6 +1,8 @@
1
1
  /// <reference path="../variables" />
2
2
  /// <reference path="../vendor/foundation-settings" />
3
3
 
4
+ @use 'sass:map';
5
+
4
6
  div.table {
5
7
  font-size: 0.9375rem;
6
8
  color: $table-text-color;
@@ -9,7 +11,7 @@ div.table {
9
11
  padding: 10px 0;
10
12
  }
11
13
 
12
- @media screen and (max-width: map-get($breakpoints, medium) - 1px) {
14
+ @media screen and (max-width: map.get($breakpoints, medium) - 1px) {
13
15
  .table-head {
14
16
  display: none;
15
17
  }
@@ -48,7 +50,7 @@ div.table {
48
50
  }
49
51
  }
50
52
 
51
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
53
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
52
54
  display: table;
53
55
  width: 100%;
54
56
 
@@ -1,3 +1,5 @@
1
+ @use 'sass:map';
2
+
1
3
  .tooltip-container {
2
4
  position: relative;
3
5
 
@@ -188,7 +190,7 @@
188
190
  }
189
191
  }
190
192
 
191
- @media (max-width: map-get($breakpoints, medium) - 1px) {
193
+ @media (max-width: map.get($breakpoints, medium) - 1px) {
192
194
  display: none !important;
193
195
  }
194
196
  }
@@ -236,7 +238,7 @@
236
238
  border-left: solid 10px transparent;
237
239
  }
238
240
 
239
- @media (min-width: map-get($breakpoints, medium)) {
241
+ @media (min-width: map.get($breakpoints, medium)) {
240
242
  &.medium-right-tooltip::after {
241
243
  right: 0;
242
244
  border-right: 0;
@@ -247,7 +249,7 @@
247
249
  }
248
250
  }
249
251
 
250
- @media (max-width: map-get($breakpoints, medium) - 1px) {
252
+ @media (max-width: map.get($breakpoints, medium) - 1px) {
251
253
  &.small-left-tooltip {
252
254
  left: 0;
253
255
  transform: none;
@@ -282,7 +284,7 @@
282
284
  }
283
285
  }
284
286
 
285
- @media (min-width: map-get($breakpoints, medium)) {
287
+ @media (min-width: map.get($breakpoints, medium)) {
286
288
  &.medium-up {
287
289
  top: auto;
288
290
  bottom: 100%;
@@ -1,9 +1,12 @@
1
1
  /// <reference path="../variables" />
2
2
  /// <reference path="../vendor/foundation-settings" />
3
3
 
4
- @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Ubuntu:300,400,500,700');
4
+ @use 'sass:map';
5
5
 
6
- // OpenSans: Light = 300, Regular = 400, Semi-Bold = 600, Bold = 700 (Extra-Bold = 800)
6
+ //@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Ubuntu:300,400,500,700');
7
+ @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
8
+
9
+ // OpenSans: Light = 300, Regular = 400, Semi-Bold = 600, Bold = 700, Extra-Bold = 800
7
10
  // Ubuntu: Light = 300, Regular = 400, Medium = 500, Bold = 700
8
11
 
9
12
  body {
@@ -77,7 +80,7 @@ h6 {
77
80
  border-bottom: solid 2px $headline-accent-color;
78
81
  padding-bottom: 2px;
79
82
 
80
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
83
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
81
84
  border-bottom-width: 3px;
82
85
  }
83
86
  }
@@ -154,7 +157,7 @@ h2 {
154
157
  padding-bottom: 4px;
155
158
  }
156
159
 
157
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
160
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
158
161
  font-size: 2.875rem;
159
162
  line-height: 4.5rem;
160
163
  margin-bottom: 40px;
@@ -179,7 +182,7 @@ h3 {
179
182
  }
180
183
  }
181
184
 
182
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
185
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
183
186
  font-size: 2.125rem;
184
187
  line-height: 3.375rem;
185
188
  margin-bottom: 40px;
@@ -218,7 +221,7 @@ h5 {
218
221
  font-weight: $headline-weight-bold;
219
222
  }
220
223
 
221
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
224
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
222
225
  font-size: 1.125rem;
223
226
  letter-spacing: 1.5px;
224
227
  margin-bottom: 40px;
@@ -337,7 +340,7 @@ h5 {
337
340
  content: '— ';
338
341
  }
339
342
 
340
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
343
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
341
344
  font-size: 1.0625rem;
342
345
 
343
346
  strong {
@@ -353,7 +356,7 @@ h6 {
353
356
  font-weight: 600;
354
357
  margin-bottom: 20px;
355
358
 
356
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
359
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
357
360
  letter-spacing: 1px;
358
361
  }
359
362
 
@@ -380,7 +383,7 @@ p {
380
383
  margin-bottom: 0;
381
384
  }
382
385
 
383
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
386
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
384
387
  margin-bottom: 40px;
385
388
  }
386
389
  }
@@ -403,7 +406,7 @@ blockquote {
403
406
  }
404
407
  }
405
408
 
406
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
409
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
407
410
  font-size: 1.75rem;
408
411
  line-height: 2.44rem;
409
412
  }
@@ -449,7 +452,7 @@ blockquote {
449
452
  text-transform: uppercase;
450
453
  }
451
454
 
452
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
455
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
453
456
  letter-spacing: 2px;
454
457
  line-height: 1.125rem;
455
458
  font-size: 1.0625rem;
@@ -470,7 +473,7 @@ small,
470
473
  font-size: 1.125rem;
471
474
  line-height: 1.5rem;
472
475
 
473
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
476
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
474
477
  font-size: 1.625rem;
475
478
  line-height: 2.625rem;
476
479
  }
@@ -599,7 +602,7 @@ small,
599
602
  font-size: 2.5rem;
600
603
  line-height: normal;
601
604
 
602
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
605
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
603
606
  font-size: 3.25rem;
604
607
  }
605
608
  }
@@ -689,7 +692,7 @@ small,
689
692
  font-family: $headline-font-family;
690
693
  font-weight: $headline-weight-normal;
691
694
 
692
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
695
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
693
696
  font-size: 1.25rem;
694
697
  line-height: 1.6;
695
698
 
@@ -3,6 +3,7 @@
3
3
  /// <reference path="./vendor/foundation-settings" />
4
4
 
5
5
  @use "sass:color";
6
+ @use 'sass:map';
6
7
 
7
8
  // --> Originally from layout.scss
8
9
  .pill.menu {
@@ -135,7 +136,7 @@
135
136
  }
136
137
  }
137
138
 
138
- @media (min-width: map-get($breakpoints, medium)) {
139
+ @media (min-width: map.get($breakpoints, medium)) {
139
140
  span {
140
141
  position: absolute;
141
142
  display: block;
@@ -164,7 +165,7 @@
164
165
  display: none;
165
166
  }
166
167
 
167
- @media screen and (max-width: map-get($breakpoints, medium) - 1px) {
168
+ @media screen and (max-width: map.get($breakpoints, medium) - 1px) {
168
169
  .selected-container {
169
170
  text-align: center;
170
171
 
@@ -325,7 +326,7 @@
325
326
  }
326
327
  }
327
328
 
328
- @media (max-width: map-get($breakpoints, medium) - 1px) {
329
+ @media (max-width: map.get($breakpoints, medium) - 1px) {
329
330
  width: calc(100vw - 20px) !important;
330
331
  top: 50%;
331
332
  left: 10px;
@@ -338,7 +339,7 @@
338
339
  }
339
340
  }
340
341
 
341
- @media (min-width: map-get($breakpoints, medium)) {
342
+ @media (min-width: map.get($breakpoints, medium)) {
342
343
  .inner {
343
344
  .card {
344
345
  header {
@@ -397,7 +398,7 @@
397
398
  }
398
399
  }
399
400
 
400
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
401
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
401
402
  &.scrolling {
402
403
  > ul,
403
404
  > .table-wrapper {
@@ -505,7 +506,7 @@
505
506
  padding: 0 15px 10px;
506
507
  }
507
508
 
508
- @media screen and (max-width: map-get($breakpoints, medium) - 1px) {
509
+ @media screen and (max-width: map.get($breakpoints, medium) - 1px) {
509
510
  .editor-content & {
510
511
  margin-left: -10px;
511
512
  margin-right: -10px;
@@ -538,7 +539,7 @@
538
539
  }
539
540
  }
540
541
 
541
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
542
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
542
543
  .item-row {
543
544
  padding: 10px 15px;
544
545
 
@@ -664,7 +665,7 @@
664
665
  }
665
666
  }
666
667
 
667
- @media print, screen and (min-width: map-get($breakpoints, medium)) {
668
+ @media print, screen and (min-width: map.get($breakpoints, medium)) {
668
669
  &.label-small-only {
669
670
  label {
670
671
  display: none;
@@ -743,7 +744,7 @@
743
744
  }
744
745
 
745
746
  &.side-by-side {
746
- @media (min-width: map-get($breakpoints, medium)) {
747
+ @media (min-width: map.get($breakpoints, medium)) {
747
748
  .toggle-section {
748
749
  padding-left: 200px;
749
750
  margin-bottom: 0;
@@ -1,6 +1,8 @@
1
1
  /// <reference path="./variables" />
2
2
  /// <reference path="./mixins" />
3
3
  /// <reference path="./vendor/foundation-settings" />
4
+
5
+ @use 'sass:map';
4
6
 
5
7
  .project-footer {
6
8
  margin-top: 30px;
@@ -35,7 +37,7 @@
35
37
  margin-bottom: 30px;
36
38
  }
37
39
 
38
- @media screen and (min-width: map-get($breakpoints, medium)) {
40
+ @media screen and (min-width: map.get($breakpoints, medium)) {
39
41
  margin-top: 50px;
40
42
  display: flex;
41
43
  justify-content: space-between;
@@ -150,7 +152,7 @@
150
152
  }
151
153
  }
152
154
 
153
- @media (min-width: map-get($breakpoints, medium)) {
155
+ @media (min-width: map.get($breakpoints, medium)) {
154
156
  .group-name {
155
157
  font-size: 1.25rem;
156
158
 
package/scss/styles.scss CHANGED
@@ -48,6 +48,7 @@
48
48
  @include foundation-visibility-classes;
49
49
  //@include foundation-float-classes;
50
50
 
51
+ @import './partials/typography';
51
52
  @import './partials/layout';
52
53
  @import './partials/navigation';
53
54
  @import './partials/badges';
@@ -59,7 +60,6 @@
59
60
  @import './partials/pills';
60
61
  @import './partials/tables';
61
62
  @import './partials/tooltips';
62
- @import './partials/typography';
63
63
  @import './partials/content';
64
64
  @import './partials/specsheet';
65
65
  @import './partials/notifications';