@helsenorge/designsystem-react 10.2.0 → 10.3.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.
- package/CHANGELOG.md +25 -0
- package/components/AnchorLink/styles.module.scss +8 -9
- package/components/Avatar/styles.module.scss +9 -9
- package/components/Badge/styles.module.scss +9 -9
- package/components/Button/styles.module.scss +65 -59
- package/components/Checkbox/styles.module.scss +103 -103
- package/components/Chip/styles.module.scss +22 -22
- package/components/Close/styles.module.scss +4 -4
- package/components/DictionaryTrigger/styles.module.scss +5 -5
- package/components/Drawer/styles.module.scss +16 -16
- package/components/Dropdown/styles.module.scss +51 -51
- package/components/Duolist/index.js +2 -1
- package/components/Duolist/index.js.map +1 -1
- package/components/Duolist/styles.module.scss +57 -35
- package/components/Duolist/styles.module.scss.d.ts +1 -0
- package/components/EmptyState/styles.module.scss +12 -12
- package/components/ErrorWrapper/styles.module.scss +11 -21
- package/components/ErrorWrapper/styles.module.scss.d.ts +0 -1
- package/components/Expander/styles.module.scss +46 -46
- package/components/ExpanderHierarchy/expander.module.scss +29 -29
- package/components/ExpanderHierarchy/styles.module.scss +4 -5
- package/components/ExpanderList/styles.module.scss +30 -30
- package/components/EyebrowHeader/styles.module.scss +0 -2
- package/components/FormGroup/styles.module.scss +9 -9
- package/components/FormLayout/styles.module.scss +4 -5
- package/components/HelpBubble/styles.module.scss +13 -13
- package/components/HelpPanel/styles.module.scss +2 -2
- package/components/HelpQuestion/styles.module.scss +19 -19
- package/components/HighlightPanel/styles.module.scss +20 -20
- package/components/HorizontalScroll/styles.module.scss +4 -3
- package/components/Input/styles.module.scss +12 -12
- package/components/Label/styles.module.scss +15 -15
- package/components/LinkList/styles.module.scss +33 -33
- package/components/ListHeader/styles.module.scss +8 -8
- package/components/Loader/styles.module.scss +14 -14
- package/components/MaxCharacters/styles.module.scss +11 -11
- package/components/Modal/styles.module.scss +34 -34
- package/components/NotificationPanel/styles.module.scss +33 -33
- package/components/Panel/styles.module.scss +45 -45
- package/components/PanelList/styles.module.scss +5 -5
- package/components/PopMenu/styles.module.scss +15 -15
- package/components/PopOver/styles.module.scss +13 -14
- package/components/PopOver/styles.module.scss.d.ts +0 -3
- package/components/Progressbar/styles.module.scss +4 -4
- package/components/PromoPanel/styles.module.scss +22 -22
- package/components/RadioButton/styles.module.scss +99 -99
- package/components/Select/styles.module.scss +21 -21
- package/components/ServiceMessage/styles.module.scss +49 -49
- package/components/SharingStatus/styles.module.scss +13 -13
- package/components/Slider/styles.module.scss +24 -24
- package/components/Spacer/styles.module.scss +14 -14
- package/components/StatusDot/styles.module.scss +22 -22
- package/components/Step/styles.module.scss +3 -3
- package/components/StepButtons/styles.module.scss +9 -9
- package/components/Stepper/styles.module.scss +23 -15
- package/components/StickyNote/styles.module.scss +3 -3
- package/components/Table/styles.module.scss +32 -32
- package/components/Tabs/TabList/styles.module.scss +1 -1
- package/components/Tabs/TabPanel/styles.module.scss +5 -5
- package/components/Tabs/styles.module.scss +1 -1
- package/components/Tag/styles.module.scss +16 -16
- package/components/TagList/styles.module.scss +4 -4
- package/components/Textarea/styles.module.scss +9 -9
- package/components/Tile/styles.module.scss +25 -25
- package/components/Title/styles.module.scss +8 -8
- package/components/Toggle/styles.module.scss +14 -14
- package/components/Tooltip/TooltipWord/styles.module.scss +4 -4
- package/components/Trigger/styles.module.scss +21 -21
- package/components/Validation/styles.module.scss +10 -10
- package/package.json +1 -1
- package/scss/_body.scss +5 -6
- package/scss/_breakpoints.scss +2 -2
- package/scss/_font-mixins.scss +2 -2
- package/scss/_fonts.scss +0 -2
- package/scss/_input.scss +53 -50
- package/scss/_print.scss +2 -2
- package/scss/layout.module.scss +2 -2
- package/scss/typography.module.scss +44 -43
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
2
|
+
@use '../../scss/spacers' as spacers;
|
|
3
|
+
@use '../../scss/palette' as palette;
|
|
4
|
+
@use '../../scss/font-settings' as font-settings;
|
|
5
|
+
@use '../../scss/breakpoints' as *;
|
|
6
6
|
@import '../../scss/grid';
|
|
7
7
|
|
|
8
8
|
.service-message {
|
|
@@ -16,54 +16,54 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&--success {
|
|
19
|
-
background-color:
|
|
19
|
+
background-color: palette.$kiwi50;
|
|
20
20
|
|
|
21
21
|
&:hover {
|
|
22
|
-
background-color: rgba-to-rgb(rgba(
|
|
22
|
+
background-color: rgba-to-rgb(rgba(palette.$kiwi500, 0.1), palette.$kiwi50);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&#{$servicemessage},
|
|
26
26
|
&#{$servicemessage}__label-container {
|
|
27
|
-
border-color:
|
|
27
|
+
border-color: palette.$kiwi900;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&--info {
|
|
32
|
-
background-color:
|
|
32
|
+
background-color: palette.$blueberry50;
|
|
33
33
|
|
|
34
34
|
&:hover {
|
|
35
|
-
background-color: rgba-to-rgb(rgba(
|
|
35
|
+
background-color: rgba-to-rgb(rgba(palette.$blueberry500, 0.1), palette.$blueberry50);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&#{$servicemessage},
|
|
39
39
|
&#{$servicemessage}__label-container {
|
|
40
|
-
border-color:
|
|
40
|
+
border-color: palette.$blueberry700;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&--warn {
|
|
45
|
-
background-color:
|
|
45
|
+
background-color: palette.$banana50;
|
|
46
46
|
|
|
47
47
|
&:hover {
|
|
48
|
-
background-color: rgba-to-rgb(rgba(
|
|
48
|
+
background-color: rgba-to-rgb(rgba(palette.$banana500, 0.1), palette.$banana50);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&#{$servicemessage},
|
|
52
52
|
&#{$servicemessage}__label-container {
|
|
53
|
-
border-color:
|
|
53
|
+
border-color: palette.$banana700;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&--error {
|
|
58
|
-
background-color:
|
|
58
|
+
background-color: palette.$cherry50;
|
|
59
59
|
|
|
60
60
|
&:hover {
|
|
61
|
-
background-color: rgba-to-rgb(rgba(
|
|
61
|
+
background-color: rgba-to-rgb(rgba(palette.$cherry500, 0.1), palette.$cherry50);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&#{$servicemessage},
|
|
65
65
|
&#{$servicemessage}__label-container {
|
|
66
|
-
border-color:
|
|
66
|
+
border-color: palette.$cherry700;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -83,16 +83,16 @@
|
|
|
83
83
|
|
|
84
84
|
&__label-container {
|
|
85
85
|
position: relative;
|
|
86
|
-
padding-top: getSpacer(3xs);
|
|
87
|
-
padding-bottom: getSpacer(3xs);
|
|
86
|
+
padding-top: spacers.getSpacer(3xs);
|
|
87
|
+
padding-bottom: spacers.getSpacer(3xs);
|
|
88
88
|
|
|
89
89
|
@media (min-width: map.get($grid-breakpoints, lg)) {
|
|
90
|
-
padding-top: getSpacer(2xs);
|
|
91
|
-
padding-bottom: getSpacer(2xs);
|
|
90
|
+
padding-top: spacers.getSpacer(2xs);
|
|
91
|
+
padding-bottom: spacers.getSpacer(2xs);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
&--has-expander:has(:focus-visible) {
|
|
95
|
-
box-shadow: inset 0 0 0 2px
|
|
95
|
+
box-shadow: inset 0 0 0 2px palette.$black;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -100,21 +100,21 @@
|
|
|
100
100
|
display: flex;
|
|
101
101
|
width: 100%;
|
|
102
102
|
align-items: center;
|
|
103
|
-
gap: getSpacer(2xs);
|
|
103
|
+
gap: spacers.getSpacer(2xs);
|
|
104
104
|
|
|
105
105
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
106
|
-
gap: getSpacer(m);
|
|
106
|
+
gap: spacers.getSpacer(m);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
&__title {
|
|
111
111
|
width: 100%;
|
|
112
112
|
font-weight: 700;
|
|
113
|
-
font-size:
|
|
113
|
+
font-size: font-settings.$font-size-xs;
|
|
114
114
|
line-height: 1.25rem;
|
|
115
115
|
|
|
116
116
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
117
|
-
font-size:
|
|
117
|
+
font-size: font-settings.$font-size-sm;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
@@ -130,43 +130,43 @@
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
&__content {
|
|
133
|
-
margin-left: calc(38px + getSpacer(2xs));
|
|
134
|
-
margin-right: calc(38px + getSpacer(2xs));
|
|
135
|
-
padding-top: getSpacer(xs);
|
|
136
|
-
padding-bottom: getSpacer(xs);
|
|
133
|
+
margin-left: calc(38px + spacers.getSpacer(2xs));
|
|
134
|
+
margin-right: calc(38px + spacers.getSpacer(2xs));
|
|
135
|
+
padding-top: spacers.getSpacer(xs);
|
|
136
|
+
padding-bottom: spacers.getSpacer(xs);
|
|
137
137
|
|
|
138
138
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
139
|
-
margin-left: calc(38px + getSpacer(m));
|
|
140
|
-
margin-right: calc(38px + getSpacer(m));
|
|
139
|
+
margin-left: calc(38px + spacers.getSpacer(m));
|
|
140
|
+
margin-right: calc(38px + spacers.getSpacer(m));
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
@media (min-width: map.get($grid-breakpoints, lg)) {
|
|
144
|
-
margin-left: calc(48px + getSpacer(m));
|
|
145
|
-
margin-right: calc(48px + getSpacer(m));
|
|
146
|
-
padding-top: getSpacer(2xs);
|
|
147
|
-
padding-bottom: getSpacer(s);
|
|
144
|
+
margin-left: calc(48px + spacers.getSpacer(m));
|
|
145
|
+
margin-right: calc(48px + spacers.getSpacer(m));
|
|
146
|
+
padding-top: spacers.getSpacer(2xs);
|
|
147
|
+
padding-bottom: spacers.getSpacer(s);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
&__info {
|
|
152
|
-
font-size:
|
|
152
|
+
font-size: font-settings.$font-size-xs;
|
|
153
153
|
line-height: 1.25rem;
|
|
154
154
|
margin: 0;
|
|
155
155
|
|
|
156
156
|
@media (min-width: map.get($grid-breakpoints, lg)) {
|
|
157
|
-
margin-top: getSpacer(xs);
|
|
157
|
+
margin-top: spacers.getSpacer(xs);
|
|
158
158
|
line-height: 1.625rem;
|
|
159
|
-
font-size:
|
|
159
|
+
font-size: font-settings.$font-size-sm;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
&--extra {
|
|
163
163
|
font-size: 0.875rem;
|
|
164
|
-
margin-top: getSpacer(2xs);
|
|
164
|
+
margin-top: spacers.getSpacer(2xs);
|
|
165
165
|
|
|
166
166
|
@media (min-width: map.get($grid-breakpoints, lg)) {
|
|
167
|
-
margin-top: getSpacer(xs);
|
|
168
|
-
font-size:
|
|
169
|
-
line-height:
|
|
167
|
+
margin-top: spacers.getSpacer(xs);
|
|
168
|
+
font-size: font-settings.$font-size-xs;
|
|
169
|
+
line-height: font-settings.$lineheight-size-xs;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
}
|
|
@@ -175,15 +175,15 @@
|
|
|
175
175
|
display: flex;
|
|
176
176
|
justify-content: space-between;
|
|
177
177
|
flex-flow: column wrap;
|
|
178
|
-
gap: getSpacer(2xs);
|
|
179
|
-
margin-top: getSpacer(2xs);
|
|
178
|
+
gap: spacers.getSpacer(2xs);
|
|
179
|
+
margin-top: spacers.getSpacer(2xs);
|
|
180
180
|
|
|
181
181
|
@media (min-width: map.get($grid-breakpoints, sm)) {
|
|
182
182
|
flex-direction: row;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
@media (min-width: map.get($grid-breakpoints, lg)) {
|
|
186
|
-
margin-top: getSpacer(s);
|
|
186
|
+
margin-top: spacers.getSpacer(s);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
|
|
@@ -192,15 +192,15 @@
|
|
|
192
192
|
align-items: center;
|
|
193
193
|
border: none;
|
|
194
194
|
width: fit-content;
|
|
195
|
-
color:
|
|
195
|
+
color: palette.$blueberry700;
|
|
196
196
|
font-weight: 600;
|
|
197
|
-
font-size:
|
|
197
|
+
font-size: font-settings.$font-size-xs;
|
|
198
198
|
line-height: 1.25rem;
|
|
199
199
|
background-color: transparent;
|
|
200
200
|
text-decoration: none;
|
|
201
201
|
padding: 0.5rem;
|
|
202
202
|
margin-left: -0.5rem;
|
|
203
|
-
gap: getSpacer(xs);
|
|
203
|
+
gap: spacers.getSpacer(xs);
|
|
204
204
|
|
|
205
205
|
&:hover,
|
|
206
206
|
&:active {
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
&:focus-visible {
|
|
211
|
-
box-shadow: 0 0 0 2px
|
|
211
|
+
box-shadow: 0 0 0 2px palette.$black;
|
|
212
212
|
background-color: transparent;
|
|
213
213
|
border: 0;
|
|
214
214
|
outline: none;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
2
|
+
@use '../../scss/spacers' as spacers;
|
|
3
|
+
@use '../../scss/palette' as palette;
|
|
4
|
+
@use '../../scss/font-settings' as font-settings;
|
|
5
|
+
@use '../../scss/screen-reader' as *;
|
|
6
|
+
@use '../../scss/breakpoints' as *;
|
|
7
7
|
|
|
8
8
|
$dot-size: 1.765rem;
|
|
9
9
|
|
|
10
10
|
.sharing-status {
|
|
11
11
|
display: inline-flex;
|
|
12
12
|
align-items: center;
|
|
13
|
-
font-size:
|
|
13
|
+
font-size: font-settings.$font-size-sm;
|
|
14
14
|
line-height: 1.25rem;
|
|
15
15
|
font-weight: 600;
|
|
16
|
-
gap: getSpacer(2xs);
|
|
16
|
+
gap: spacers.getSpacer(2xs);
|
|
17
17
|
|
|
18
18
|
&__dot {
|
|
19
19
|
display: inline-flex;
|
|
@@ -26,15 +26,15 @@ $dot-size: 1.765rem;
|
|
|
26
26
|
min-height: $dot-size;
|
|
27
27
|
|
|
28
28
|
&--kiwi {
|
|
29
|
-
background:
|
|
29
|
+
background: palette.$kiwi900;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&--cherry {
|
|
33
|
-
background:
|
|
33
|
+
background: palette.$cherry500;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&--neutral {
|
|
37
|
-
background:
|
|
37
|
+
background: palette.$neutral700;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -46,15 +46,15 @@ $dot-size: 1.765rem;
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&--kiwi {
|
|
49
|
-
color:
|
|
49
|
+
color: palette.$kiwi900;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&--cherry {
|
|
53
|
-
color:
|
|
53
|
+
color: palette.$cherry500;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&--neutral {
|
|
57
|
-
color:
|
|
57
|
+
color: palette.$neutral700;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
1
|
+
@use '../../scss/spacers' as spacers;
|
|
2
|
+
@use '../../scss/palette' as palette;
|
|
3
|
+
@use '../../scss/screen-reader' as *;
|
|
4
|
+
@use '../../scss/breakpoints' as *;
|
|
5
5
|
@import '../../scss/supernova/styles/colors';
|
|
6
6
|
|
|
7
7
|
$track-height-offset: 1rem;
|
|
8
|
-
$mark-size: getSpacer(l);
|
|
8
|
+
$mark-size: spacers.getSpacer(l);
|
|
9
9
|
|
|
10
10
|
.sr-only-slider {
|
|
11
11
|
@include sr-only;
|
|
@@ -14,7 +14,7 @@ $mark-size: getSpacer(l);
|
|
|
14
14
|
.slider {
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: column;
|
|
17
|
-
row-gap: getSpacer(s);
|
|
17
|
+
row-gap: spacers.getSpacer(s);
|
|
18
18
|
width: 100%;
|
|
19
19
|
position: relative;
|
|
20
20
|
outline: none !important;
|
|
@@ -26,8 +26,8 @@ $mark-size: getSpacer(l);
|
|
|
26
26
|
&__content-container {
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
29
|
-
row-gap: getSpacer(s);
|
|
30
|
-
padding: 0 getSpacer(s);
|
|
29
|
+
row-gap: spacers.getSpacer(s);
|
|
30
|
+
padding: 0 spacers.getSpacer(s);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&__emoji-container,
|
|
@@ -58,23 +58,23 @@ $mark-size: getSpacer(l);
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&__track {
|
|
61
|
-
padding: 0 getSpacer(s);
|
|
62
|
-
border-top: 2px solid
|
|
61
|
+
padding: 0 spacers.getSpacer(s);
|
|
62
|
+
border-top: 2px solid palette.$black;
|
|
63
63
|
position: relative;
|
|
64
64
|
top: $track-height-offset;
|
|
65
65
|
|
|
66
66
|
&--disabled {
|
|
67
|
-
border-color:
|
|
67
|
+
border-color: palette.$neutral600;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&__step {
|
|
71
71
|
position: absolute;
|
|
72
72
|
left: -1px;
|
|
73
73
|
width: 2px;
|
|
74
|
-
height: getSpacer(xs);
|
|
74
|
+
height: spacers.getSpacer(xs);
|
|
75
75
|
bottom: 0;
|
|
76
76
|
top: (calc($track-height-offset / 2) * -1) + 0.05rem;
|
|
77
|
-
background-color:
|
|
77
|
+
background-color: palette.$black;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -84,8 +84,8 @@ $mark-size: getSpacer(l);
|
|
|
84
84
|
align-items: center;
|
|
85
85
|
width: $mark-size;
|
|
86
86
|
height: $mark-size;
|
|
87
|
-
background-color:
|
|
88
|
-
border: 0.15rem solid
|
|
87
|
+
background-color: palette.$white;
|
|
88
|
+
border: 0.15rem solid palette.$black;
|
|
89
89
|
border-radius: 10rem;
|
|
90
90
|
position: absolute;
|
|
91
91
|
z-index: 9;
|
|
@@ -93,12 +93,12 @@ $mark-size: getSpacer(l);
|
|
|
93
93
|
cursor: pointer;
|
|
94
94
|
|
|
95
95
|
&--focused {
|
|
96
|
-
outline: 0.15rem solid
|
|
96
|
+
outline: 0.15rem solid palette.$black;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
&--focused#{&}--selected {
|
|
100
100
|
&::after {
|
|
101
|
-
background-color:
|
|
101
|
+
background-color: palette.$blueberry700;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -107,12 +107,12 @@ $mark-size: getSpacer(l);
|
|
|
107
107
|
content: '';
|
|
108
108
|
width: 1.25rem;
|
|
109
109
|
height: 1.25rem;
|
|
110
|
-
border: 0.1rem solid
|
|
110
|
+
border: 0.1rem solid palette.$black;
|
|
111
111
|
border-radius: 10rem;
|
|
112
|
-
background-color:
|
|
112
|
+
background-color: palette.$blueberry600;
|
|
113
113
|
|
|
114
114
|
:hover > & {
|
|
115
|
-
background-color:
|
|
115
|
+
background-color: palette.$blueberry700;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -122,15 +122,15 @@ $mark-size: getSpacer(l);
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
&--disabled {
|
|
125
|
-
border-color:
|
|
125
|
+
border-color: palette.$neutral500;
|
|
126
126
|
cursor: default;
|
|
127
127
|
|
|
128
128
|
&::after {
|
|
129
|
-
border-color:
|
|
130
|
-
background-color:
|
|
129
|
+
border-color: palette.$neutral500;
|
|
130
|
+
background-color: palette.$neutral200;
|
|
131
131
|
|
|
132
132
|
:hover > & {
|
|
133
|
-
background-color:
|
|
133
|
+
background-color: palette.$neutral200;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../scss/spacers' as spacers;
|
|
2
2
|
|
|
3
3
|
.spacer {
|
|
4
4
|
display: block;
|
|
@@ -6,54 +6,54 @@
|
|
|
6
6
|
height: 0.125rem;
|
|
7
7
|
|
|
8
8
|
&--4xs {
|
|
9
|
-
height: getSpacer(4xs);
|
|
9
|
+
height: spacers.getSpacer(4xs);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&--3xs {
|
|
13
|
-
height: getSpacer(3xs);
|
|
13
|
+
height: spacers.getSpacer(3xs);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
&--2xs {
|
|
17
|
-
height: getSpacer(2xs);
|
|
17
|
+
height: spacers.getSpacer(2xs);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&--xs {
|
|
21
|
-
height: getSpacer(xs);
|
|
21
|
+
height: spacers.getSpacer(xs);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&--s {
|
|
25
|
-
height: getSpacer(s);
|
|
25
|
+
height: spacers.getSpacer(s);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&--m {
|
|
29
|
-
height: getSpacer(m);
|
|
29
|
+
height: spacers.getSpacer(m);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&--l {
|
|
33
|
-
height: getSpacer(l);
|
|
33
|
+
height: spacers.getSpacer(l);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&--xl {
|
|
37
|
-
height: getSpacer(xl);
|
|
37
|
+
height: spacers.getSpacer(xl);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&--2xl {
|
|
41
|
-
height: getSpacer(2xl);
|
|
41
|
+
height: spacers.getSpacer(2xl);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&--3xl {
|
|
45
|
-
height: getSpacer(3xl);
|
|
45
|
+
height: spacers.getSpacer(3xl);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&--4xl {
|
|
49
|
-
height: getSpacer(4xl);
|
|
49
|
+
height: spacers.getSpacer(4xl);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&--5xl {
|
|
53
|
-
height: getSpacer(5xl);
|
|
53
|
+
height: spacers.getSpacer(5xl);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&--6xl {
|
|
57
|
-
height: getSpacer(6xl);
|
|
57
|
+
height: spacers.getSpacer(6xl);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
2
|
+
@use '../../scss/spacers' as spacers;
|
|
3
|
+
@use '../../scss/palette' as palette;
|
|
4
|
+
@use '../../scss/font-settings' as font-settings;
|
|
5
|
+
@use '../../scss/screen-reader' as *;
|
|
6
|
+
@use '../../scss/breakpoints' as *;
|
|
7
7
|
|
|
8
8
|
$status-dot-size: 0.937rem;
|
|
9
9
|
|
|
@@ -11,17 +11,17 @@ $status-dot-size: 0.937rem;
|
|
|
11
11
|
position: relative;
|
|
12
12
|
display: inline-flex;
|
|
13
13
|
align-items: flex-start;
|
|
14
|
-
font-size:
|
|
14
|
+
font-size: font-settings.$font-size-xs;
|
|
15
15
|
line-height: 1.4rem;
|
|
16
16
|
font-weight: 400;
|
|
17
17
|
|
|
18
18
|
@media (min-width: map.get($grid-breakpoints, sm)) {
|
|
19
|
-
font-size:
|
|
19
|
+
font-size: font-settings.$font-size-sm;
|
|
20
20
|
line-height: 1.6rem;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&--cancelled {
|
|
24
|
-
color:
|
|
24
|
+
color: palette.$cherry600;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&__dot {
|
|
@@ -29,8 +29,8 @@ $status-dot-size: 0.937rem;
|
|
|
29
29
|
align-items: center;
|
|
30
30
|
justify-content: center;
|
|
31
31
|
position: relative;
|
|
32
|
-
top: getSpacer(4xs);
|
|
33
|
-
margin-right: getSpacer(2xs);
|
|
32
|
+
top: spacers.getSpacer(4xs);
|
|
33
|
+
margin-right: spacers.getSpacer(2xs);
|
|
34
34
|
border-radius: 10rem;
|
|
35
35
|
width: $status-dot-size;
|
|
36
36
|
height: $status-dot-size;
|
|
@@ -38,44 +38,44 @@ $status-dot-size: 0.937rem;
|
|
|
38
38
|
min-height: $status-dot-size;
|
|
39
39
|
|
|
40
40
|
@media (min-width: map.get($grid-breakpoints, sm)) {
|
|
41
|
-
top: getSpacer(3xs);
|
|
41
|
+
top: spacers.getSpacer(3xs);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&--info {
|
|
45
|
-
background:
|
|
45
|
+
background: palette.$kiwi900;
|
|
46
46
|
}
|
|
47
47
|
&--info#{&}--on-dark {
|
|
48
|
-
background:
|
|
48
|
+
background: palette.$kiwi400;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&--warning {
|
|
52
|
-
background:
|
|
52
|
+
background: palette.$banana400;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&--alert,
|
|
56
56
|
&--cancelled {
|
|
57
|
-
background:
|
|
57
|
+
background: palette.$cherry500;
|
|
58
58
|
}
|
|
59
59
|
&--alert#{&}--on-dark {
|
|
60
|
-
background:
|
|
60
|
+
background: palette.$cherry300;
|
|
61
61
|
}
|
|
62
62
|
&--cancelled#{&}--on-dark {
|
|
63
|
-
outline: 2px solid
|
|
63
|
+
outline: 2px solid palette.$white;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&--active {
|
|
67
|
-
background:
|
|
67
|
+
background: palette.$blueberry500;
|
|
68
68
|
}
|
|
69
69
|
&--active#{&}--on-dark {
|
|
70
|
-
background:
|
|
70
|
+
background: palette.$blueberry300;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&--transparent {
|
|
74
|
-
border: 2px solid
|
|
74
|
+
border: 2px solid palette.$neutral600;
|
|
75
75
|
}
|
|
76
76
|
&--transparent#{&}--on-dark {
|
|
77
77
|
border: none;
|
|
78
|
-
background:
|
|
78
|
+
background: palette.$white;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
svg {
|
|
@@ -85,7 +85,7 @@ $status-dot-size: 0.937rem;
|
|
|
85
85
|
|
|
86
86
|
&__label {
|
|
87
87
|
&--on-dark {
|
|
88
|
-
color:
|
|
88
|
+
color: palette.$white;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../../scss/spacers' as spacers;
|
|
3
3
|
|
|
4
4
|
.step {
|
|
5
5
|
&__stepper {
|
|
6
|
-
margin-bottom: getSpacer(m);
|
|
6
|
+
margin-bottom: spacers.getSpacer(m);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
&__content {
|
|
10
|
-
margin-bottom: getSpacer(s);
|
|
10
|
+
margin-bottom: spacers.getSpacer(s);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
2
|
+
@use '../../scss/spacers' as spacers;
|
|
3
|
+
@use '../../scss/palette' as palette;
|
|
4
|
+
@use '../../scss/screen-reader' as *;
|
|
5
|
+
@use '../../scss/breakpoints' as *;
|
|
6
6
|
|
|
7
7
|
.stepbuttons {
|
|
8
|
-
margin-top: getSpacer(m);
|
|
9
|
-
margin-bottom: getSpacer(s);
|
|
8
|
+
margin-top: spacers.getSpacer(m);
|
|
9
|
+
margin-bottom: spacers.getSpacer(s);
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-wrap: wrap;
|
|
12
|
-
gap: getSpacer(m) getSpacer(l);
|
|
12
|
+
gap: spacers.getSpacer(m) spacers.getSpacer(l);
|
|
13
13
|
|
|
14
14
|
&--has-sticky-buttons {
|
|
15
|
-
background-color:
|
|
15
|
+
background-color: palette.$white;
|
|
16
16
|
position: sticky;
|
|
17
17
|
bottom: 0;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&__buttons {
|
|
21
21
|
display: flex;
|
|
22
|
-
gap: getSpacer(s);
|
|
22
|
+
gap: spacers.getSpacer(s);
|
|
23
23
|
|
|
24
24
|
@media (max-width: map.get($grid-max-breakpoints, xs)) {
|
|
25
25
|
width: 100%;
|