@oslokommune/punkt-css 12.12.2 → 12.12.4

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 (54) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +1 -1
  3. package/dist/css/components/alert.css +13 -13
  4. package/dist/css/components/alert.min.css +1 -1
  5. package/dist/css/components/backlink.css +4 -4
  6. package/dist/css/components/backlink.min.css +1 -1
  7. package/dist/css/components/breadcrumbs.css +2 -2
  8. package/dist/css/components/breadcrumbs.min.css +1 -1
  9. package/dist/css/components/calendar.css +2 -2
  10. package/dist/css/components/calendar.min.css +1 -1
  11. package/dist/css/components/footer.css +12 -12
  12. package/dist/css/components/footer.min.css +1 -1
  13. package/dist/css/components/header.css +12 -12
  14. package/dist/css/components/header.min.css +1 -1
  15. package/dist/css/components/inputwrapper.css +14 -14
  16. package/dist/css/components/inputwrapper.min.css +1 -1
  17. package/dist/css/components/linkcard.css +4 -4
  18. package/dist/css/components/linkcard.min.css +1 -1
  19. package/dist/css/components/loader.css +6 -6
  20. package/dist/css/components/loader.min.css +1 -1
  21. package/dist/css/components/messagebox.css +10 -10
  22. package/dist/css/components/messagebox.min.css +1 -1
  23. package/dist/css/components/searchinput.css +4 -4
  24. package/dist/css/components/searchinput.min.css +1 -1
  25. package/dist/css/components/tabs.css +5 -5
  26. package/dist/css/components/tabs.min.css +1 -1
  27. package/dist/css/components/tag.css +11 -11
  28. package/dist/css/components/tag.min.css +1 -1
  29. package/dist/css/components/textinput.css +18 -12
  30. package/dist/css/components/textinput.min.css +1 -1
  31. package/dist/css/pkt-base.css +175 -175
  32. package/dist/css/pkt-base.min.css +1 -1
  33. package/dist/css/pkt-components.css +117 -111
  34. package/dist/css/pkt-components.min.css +1 -1
  35. package/dist/css/pkt-elements.css +65 -65
  36. package/dist/css/pkt-elements.min.css +1 -1
  37. package/dist/css/pkt.css +339 -339
  38. package/dist/css/pkt.min.css +1 -1
  39. package/dist/scss/abstracts/functions/_index.scss +12 -18
  40. package/dist/scss/abstracts/mixins/_typography.scss +9 -12
  41. package/dist/scss/abstracts/variables/_colors.scss +84 -81
  42. package/dist/scss/components/_alert.scss +6 -4
  43. package/dist/scss/components/_backlink.scss +2 -2
  44. package/dist/scss/components/_footer.scss +3 -3
  45. package/dist/scss/components/_inputwrapper.scss +4 -4
  46. package/dist/scss/components/_messagebox.scss +2 -2
  47. package/dist/scss/components/_stepper.scss +5 -5
  48. package/dist/scss/components/_tabs.scss +2 -1
  49. package/dist/scss/components/_tag.scss +245 -250
  50. package/dist/scss/elements/_button.scss +9 -7
  51. package/dist/scss/elements/_checkbox-radio.scss +24 -41
  52. package/dist/scss/elements/_input.scss +21 -12
  53. package/dist/scss/elements/_section.scss +10 -12
  54. package/package.json +2 -2
@@ -1,14 +1,18 @@
1
1
  // Sass tools
2
2
 
3
+ @use 'sass:map';
4
+ @use 'sass:string';
5
+
3
6
  /// Map deep get
4
7
  /// @author Kitty Giraudel
5
8
  /// @access public
6
9
  /// @param {Map} $map - Map
7
10
  /// @param {Arglist} $keys - Key chain
8
11
  /// @return {*} - Desired value
12
+
9
13
  @function map-deep-get($map, $keys...) {
10
14
  @each $key in $keys {
11
- $map: map-get($map, $key);
15
+ $map: map.get($map, $key);
12
16
  }
13
17
  @return $map;
14
18
  }
@@ -18,13 +22,7 @@
18
22
  // Requires the use of quotes around data URIs.
19
23
 
20
24
  // Characters which are escaped by the escape-svg function
21
- $escaped-characters: (
22
- ('<', '%3c'),
23
- ('>', '%3e'),
24
- ('#', '%23'),
25
- ('(', '%28'),
26
- (')', '%29')
27
- ) !default;
25
+ $escaped-characters: (('<', '%3c'), ('>', '%3e'), ('#', '%23'), ('(', '%28'), (')', '%29')) !default;
28
26
 
29
27
  // Replace `$search` with `$replace` in `$string`
30
28
  // Used on our SVG icon backgrounds for custom forms.
@@ -35,26 +33,22 @@ $escaped-characters: (
35
33
  // @param {String} $replace ('') - New value
36
34
  // @return {String} - Updated string
37
35
  @function str-replace($string, $search, $replace: '') {
38
- $index: str-index($string, $search);
36
+ $index: string.index($string, $search);
39
37
 
40
38
  @if $index {
41
- @return str-slice($string, 1, $index - 1) + $replace +
42
- str-replace(
43
- str-slice($string, $index + str-length($search)),
44
- $search,
45
- $replace
46
- );
39
+ @return string.slice($string, 1, $index - 1) + $replace +
40
+ str-replace(string.slice($string, $index + string.length($search)), $search, $replace);
47
41
  }
48
42
 
49
43
  @return $string;
50
44
  }
51
45
 
52
46
  @function escape-svg($string) {
53
- @if str-index($string, 'data:image/svg+xml') {
47
+ @if string.index($string, 'data:image/svg+xml') {
54
48
  @each $char, $encoded in $escaped-characters {
55
49
  // Do not escape the url brackets
56
- @if str-index($string, 'url(') == 1 {
57
- $string: url('#{str-replace(str-slice($string, 6, -3), $char, $encoded)}');
50
+ @if string.index($string, 'url(') == 1 {
51
+ $string: url('#{str-replace(string.slice($string, 6, -3), $char, $encoded)}');
58
52
  } @else {
59
53
  $string: str-replace($string, $char, $encoded);
60
54
  }
@@ -10,23 +10,20 @@
10
10
  .#{$name} {
11
11
  font-size: map.get(variables.$font-size, map.get($style, 'size'));
12
12
  font-weight: map.get(variables.$font-weight, map.get($style, 'weight'));
13
- letter-spacing: map.get(variables.$letter-spacing,
14
- map.get($style, 'letter-spacing'));
15
- line-height: map.get(variables.$line-height,
16
- map.get($style, 'line-height'));
13
+ letter-spacing: map.get(variables.$letter-spacing, map.get($style, 'letter-spacing'));
14
+ line-height: map.get(variables.$line-height, map.get($style, 'line-height'));
17
15
  }
18
16
  }
19
17
 
20
18
  // Fetch pkt get-text from settings files
21
19
  @mixin get-text($name) {
22
- font-size: map.get(variables.$font-size,
23
- functions.map-deep-get(variables.$pkt-styles, $name, 'size'));
24
- font-weight: map.get(variables.$font-weight,
25
- functions.map-deep-get(variables.$pkt-styles, $name, 'weight'));
26
- letter-spacing: map.get(variables.$letter-spacing,
27
- functions.map-deep-get(variables.$pkt-styles, $name, 'letter-spacing'));
28
- line-height: map.get(variables.$line-height,
29
- functions.map-deep-get(variables.$pkt-styles, $name, 'line-height'));
20
+ letter-spacing: map.get(
21
+ variables.$letter-spacing,
22
+ functions.map-deep-get(variables.$pkt-styles, $name, 'letter-spacing')
23
+ );
24
+ font-weight: map.get(variables.$font-weight, functions.map-deep-get(variables.$pkt-styles, $name, 'weight'));
25
+ font-size: map.get(variables.$font-size, functions.map-deep-get(variables.$pkt-styles, $name, 'size'));
26
+ line-height: map.get(variables.$line-height, functions.map-deep-get(variables.$pkt-styles, $name, 'line-height'));
30
27
  }
31
28
 
32
29
  @mixin truncate-text() {
@@ -1,109 +1,111 @@
1
+ @use 'sass:map';
1
2
  $pkt-colors: (
2
3
  // Blue
3
- brand-blue-100: #F1FDFF,
4
- brand-blue-200: #E5FCFF,
5
- brand-blue-300: #D1F9FF,
6
- brand-blue-500: #B3F5FF,
7
- brand-blue-1000: #6FE9FF,
8
- brand-dark-blue-700: #6A698B,
9
- brand-dark-blue-1000: #2A2859,
10
- brand-warm-blue-1000: #1F42AA,
4
+ brand-blue-100: #f1fdff,
5
+ brand-blue-200: #e5fcff,
6
+ brand-blue-300: #d1f9ff,
7
+ brand-blue-500: #b3f5ff,
8
+ brand-blue-1000: #6fe9ff,
9
+ brand-dark-blue-700: #6a698b,
10
+ brand-dark-blue-1000: #2a2859,
11
+ brand-warm-blue-1000: #1f42aa,
11
12
  // Green
12
- brand-green-400: #C7FDE9,
13
- brand-green-1000: #43F8B6,
14
- brand-light-green-400: #E5FFE6,
15
- brand-light-green-1000: #C7F6C9,
16
- brand-dark-green-1000: #034B45,
13
+ brand-green-400: #c7fde9,
14
+ brand-green-1000: #43f8b6,
15
+ brand-light-green-400: #e5ffe6,
16
+ brand-light-green-1000: #c7f6c9,
17
+ brand-dark-green-1000: #034b45,
17
18
 
18
19
  // Yellow
19
- brand-yellow-1000: #F9C66B,
20
- brand-yellow-500: #FFE7BC,
20
+ brand-yellow-1000: #f9c66b,
21
+ brand-yellow-500: #ffe7bc,
21
22
 
22
23
  // Red
23
- brand-red-100: #FFF2F1,
24
- brand-red-400: #FFDFDC,
25
- brand-red-600: #FFB4AC,
26
- brand-red-1000: #FF8274,
24
+ brand-red-100: #fff2f1,
25
+ brand-red-400: #ffdfdc,
26
+ brand-red-600: #ffb4ac,
27
+ brand-red-1000: #ff8274,
27
28
 
28
29
  // Beige
29
- brand-light-beige-1000: #F8F0DD,
30
- brand-dark-beige-1000: #D0BFAE,
30
+ brand-light-beige-1000: #f8f0dd,
31
+ brand-dark-beige-1000: #d0bfae,
31
32
 
32
33
  // Neutrals
33
- brand-neutrals-white: #FFFFFF,
34
- brand-neutrals-100: #F9F9F9,
35
- brand-neutrals-200: #F2F2F2,
36
- brand-neutrals-1000: #2C2C2C,
34
+ brand-neutrals-white: #ffffff,
35
+ brand-neutrals-100: #f9f9f9,
36
+ brand-neutrals-200: #f2f2f2,
37
+ brand-neutrals-1000: #2c2c2c,
37
38
  brand-neutrals-black: #000000,
38
39
  brand-neutrals-transparent: transparent,
39
40
 
40
41
  // Purple
41
- brand-purple-1000: #E0ADFF,
42
+ brand-purple-1000: #e0adff,
42
43
 
43
44
  // Grays
44
- grays-gray-100: #E6E6E6,
45
- grays-gray-200: #CCCCCC,
46
- grays-gray-300: #B3B3B3,
47
- grays-gray-400: #9A9A9A,
45
+ grays-gray-100: #e6e6e6,
46
+ grays-gray-200: #cccccc,
47
+ grays-gray-300: #b3b3b3,
48
+ grays-gray-400: #9a9a9a,
48
49
  grays-gray-500: #808080,
49
50
  grays-gray-600: #666666,
50
- grays-gray-700: #4D4D4D,
51
+ grays-gray-700: #4d4d4d,
51
52
  grays-gray-800: #333333,
52
- grays-gray-900: #1A1A1A,
53
- grays-gray-1000: #2C2C2C,
54
- ) !default;
53
+ grays-gray-900: #1a1a1a,
54
+ grays-gray-1000: #2c2c2c
55
+ ) !default;
55
56
 
56
57
  $pkt-semantic-colors: (
57
58
  // Background
58
- background-card: map-get($pkt-colors, brand-neutrals-white),
59
- background-default: map-get($pkt-colors, brand-neutrals-white),
60
- background-subtle: map-get($pkt-colors, brand-neutrals-100),
61
- background-transparent: map-get($pkt-colors, brand-neutrals-transparent),
59
+ background-card: map.get($pkt-colors, brand-neutrals-white),
60
+ background-default: map.get($pkt-colors, brand-neutrals-white),
61
+ background-subtle: map.get($pkt-colors, brand-neutrals-100),
62
+ background-transparent: map.get($pkt-colors, brand-neutrals-transparent),
62
63
  // Borders
63
- border-default: map-get($pkt-colors, brand-dark-blue-1000),
64
- border-beige: map-get($pkt-colors, brand-dark-beige-1000),
65
- border-blue: map-get($pkt-colors, brand-blue-1000),
66
- border-gray: map-get($pkt-colors, grays-gray-200),
67
- border-green: map-get($pkt-colors, brand-green-1000),
68
- border-light-beige: map-get($pkt-colors, brand-light-beige-1000),
69
- border-red: map-get($pkt-colors, brand-red-1000),
70
- border-subtle: map-get($pkt-colors, brand-neutrals-200),
71
- border-yellow: map-get($pkt-colors, brand-yellow-1000),
72
- border-states-active: map-get($pkt-colors, brand-warm-blue-1000),
73
- border-states-disabled: map-get($pkt-colors, grays-gray-300),
74
- border-states-focus: map-get($pkt-colors, brand-purple-1000),
75
- border-states-hover: map-get($pkt-colors, brand-warm-blue-1000),
64
+ border-default: map.get($pkt-colors, brand-dark-blue-1000),
65
+ border-beige: map.get($pkt-colors, brand-dark-beige-1000),
66
+ border-blue: map.get($pkt-colors, brand-blue-1000),
67
+ border-gray: map.get($pkt-colors, grays-gray-200),
68
+ border-green: map.get($pkt-colors, brand-green-1000),
69
+ border-light-beige: map.get($pkt-colors, brand-light-beige-1000),
70
+ border-red: map.get($pkt-colors, brand-red-1000),
71
+ border-subtle: map.get($pkt-colors, brand-neutrals-200),
72
+ border-yellow: map.get($pkt-colors, brand-yellow-1000),
73
+ border-states-active: map.get($pkt-colors, brand-warm-blue-1000),
74
+ border-states-disabled: map.get($pkt-colors, grays-gray-300),
75
+ border-states-focus: map.get($pkt-colors, brand-purple-1000),
76
+ border-states-hover: map.get($pkt-colors, brand-warm-blue-1000),
76
77
  // Surface
77
- surface-default-faded-green: map-get($pkt-colors, brand-light-green-400),
78
- surface-default-faded-red: map-get($pkt-colors, brand-red-400),
79
- surface-default-gray: map-get($pkt-colors, brand-neutrals-100),
80
- surface-default-light-beige: map-get($pkt-colors, brand-light-beige-1000),
81
- surface-default-light-blue: map-get($pkt-colors, brand-blue-300),
82
- surface-default-light-green: map-get($pkt-colors, brand-green-400),
83
- surface-default-red: map-get($pkt-colors, brand-red-600),
84
- surface-default-yellow: map-get($pkt-colors, brand-yellow-500),
85
- surface-strong-beige: map-get($pkt-colors, brand-dark-beige-1000),
86
- surface-strong-blue: map-get($pkt-colors, brand-blue-1000),
87
- surface-strong-dark-blue: map-get($pkt-colors, brand-dark-blue-1000),
88
- surface-strong-dark-green: map-get($pkt-colors, brand-dark-green-1000),
89
- surface-strong-gray: map-get($pkt-colors, brand-neutrals-200),
90
- surface-strong-green: map-get($pkt-colors, brand-green-1000),
91
- surface-strong-light-green: map-get($pkt-colors, brand-light-green-1000),
92
- surface-strong-red: map-get($pkt-colors, brand-red-1000),
93
- surface-strong-yellow: map-get($pkt-colors, brand-yellow-1000),
94
- surface-subtle-light-blue: map-get($pkt-colors, brand-blue-200),
95
- surface-subtle-light-red: map-get($pkt-colors, brand-red-100),
96
- surface-subtle-pale-blue: map-get($pkt-colors, brand-blue-100),
97
- surface-subtle-white: map-get($pkt-colors, brand-neutrals-white),
78
+ surface-default-faded-green: map.get($pkt-colors, brand-light-green-400),
79
+ surface-default-faded-red: map.get($pkt-colors, brand-red-400),
80
+ surface-default-gray: map.get($pkt-colors, brand-neutrals-100),
81
+ surface-default-light-beige: map.get($pkt-colors, brand-light-beige-1000),
82
+ surface-default-light-blue: map.get($pkt-colors, brand-blue-300),
83
+ surface-default-light-green: map.get($pkt-colors, brand-green-400),
84
+ surface-default-red: map.get($pkt-colors, brand-red-600),
85
+ surface-default-yellow: map.get($pkt-colors, brand-yellow-500),
86
+ surface-strong-beige: map.get($pkt-colors, brand-dark-beige-1000),
87
+ surface-strong-blue: map.get($pkt-colors, brand-blue-1000),
88
+ surface-strong-dark-blue: map.get($pkt-colors, brand-dark-blue-1000),
89
+ surface-strong-dark-green: map.get($pkt-colors, brand-dark-green-1000),
90
+ surface-strong-gray: map.get($pkt-colors, brand-neutrals-200),
91
+ surface-strong-green: map.get($pkt-colors, brand-green-1000),
92
+ surface-strong-light-green: map.get($pkt-colors, brand-light-green-1000),
93
+ surface-strong-red: map.get($pkt-colors, brand-red-1000),
94
+ surface-strong-yellow: map.get($pkt-colors, brand-yellow-1000),
95
+ surface-subtle-light-blue: map.get($pkt-colors, brand-blue-200),
96
+ surface-subtle-light-red: map.get($pkt-colors, brand-red-100),
97
+ surface-subtle-pale-blue: map.get($pkt-colors, brand-blue-100),
98
+ surface-subtle-white: map.get($pkt-colors, brand-neutrals-white),
98
99
  // Text
99
- text-body-dark: map-get($pkt-colors, brand-dark-blue-1000),
100
- text-body-default: map-get($pkt-colors, brand-dark-blue-1000),
101
- text-body-light: map-get($pkt-colors, brand-neutrals-white),
102
- text-placeholder: map-get($pkt-colors, grays-gray-600),
103
- text-action-disabled: map-get($pkt-colors, grays-gray-600),
104
- text-action-active: map-get($pkt-colors, brand-warm-blue-1000),
105
- text-action-hover: map-get($pkt-colors, brand-warm-blue-1000),
106
- text-action-normal: map-get($pkt-colors, brand-dark-blue-1000)) !default;
100
+ text-body-dark: map.get($pkt-colors, brand-dark-blue-1000),
101
+ text-body-default: map.get($pkt-colors, brand-dark-blue-1000),
102
+ text-body-light: map.get($pkt-colors, brand-neutrals-white),
103
+ text-placeholder: map.get($pkt-colors, grays-gray-600),
104
+ text-action-disabled: map.get($pkt-colors, grays-gray-600),
105
+ text-action-active: map.get($pkt-colors, brand-warm-blue-1000),
106
+ text-action-hover: map.get($pkt-colors, brand-warm-blue-1000),
107
+ text-action-normal: map.get($pkt-colors, brand-dark-blue-1000)
108
+ ) !default;
107
109
 
108
110
  // Deprecated colors
109
111
  $colors: (
@@ -163,4 +165,5 @@ $colors: (
163
165
  color-grayscale-70: #4d4d4d,
164
166
  color-grayscale-80: #333,
165
167
  color-grayscale-90: #1a1a1a,
166
- color-black: #000) !default;
168
+ color-black: #000
169
+ ) !default;
@@ -51,8 +51,8 @@ $-border-thickness: map.get(variables.$spacing, 'size-4');
51
51
  color: var(--pkt-color-alert-txt);
52
52
 
53
53
  &__title {
54
- @include get-text('pkt-txt-18-medium');
55
54
  margin: 0 0 $-alert-spacing 2.5rem;
55
+ @include get-text('pkt-txt-18-medium');
56
56
  }
57
57
 
58
58
  &__close ~ &__title {
@@ -60,10 +60,11 @@ $-border-thickness: map.get(variables.$spacing, 'size-4');
60
60
  }
61
61
 
62
62
  &__text {
63
- @include get-text('pkt-txt-18-light');
64
63
  margin: 0 0 0 2.5rem;
65
64
  overflow-wrap: break-word;
66
65
 
66
+ @include get-text('pkt-txt-18-light');
67
+
67
68
  p {
68
69
  margin-bottom: map.get(variables.$spacing, 'size-16');
69
70
 
@@ -87,8 +88,9 @@ $-border-thickness: map.get(variables.$spacing, 'size-4');
87
88
  }
88
89
 
89
90
  &__date {
90
- @include get-text('pkt-txt-14-light');
91
91
  margin-top: $-alert-spacing;
92
+
93
+ @include get-text('pkt-txt-14-light');
92
94
  }
93
95
 
94
96
  &__icon {
@@ -123,8 +125,8 @@ $-border-thickness: map.get(variables.$spacing, 'size-4');
123
125
  }
124
126
 
125
127
  .#{$-module-name}__text {
126
- @include get-text('pkt-txt-16-light');
127
128
  margin: 0 2.875rem;
129
+ @include get-text('pkt-txt-16-light');
128
130
  }
129
131
  .#{$-module-name}__close {
130
132
  top: 0.25rem;
@@ -1,4 +1,4 @@
1
- /*
1
+ /*
2
2
  * Back link component
3
3
  */
4
4
 
@@ -13,7 +13,7 @@
13
13
  }
14
14
 
15
15
  &__text {
16
- @include typography.get-text('pkt-txt-14-light');
17
16
  flex-grow: 1;
17
+ @include typography.get-text('pkt-txt-14-light');
18
18
  }
19
19
  }
@@ -14,13 +14,13 @@ $-footer-icon-r-margin: map.get(variables.$spacing, 'size-8');
14
14
  $-footer-link-b-margin: map.get(variables.$spacing, 'size-16');
15
15
 
16
16
  .pkt-footer {
17
- @include typography.get-text('pkt-txt-18-light');
18
17
  padding: map.get(variables.$spacing, 'size-40') map.get(variables.$spacing, 'size-24');
19
18
  background-color: $-footer-bg-color;
20
19
  color: $-footer-color;
21
20
  display: flex;
22
21
  align-items: center;
23
22
 
23
+ @include typography.get-text('pkt-txt-18-light');
24
24
  @include bp('laptop-up') {
25
25
  padding: map.get(variables.$spacing, 'size-56') map.get(variables.$spacing, 'size-24');
26
26
  justify-content: center;
@@ -31,10 +31,10 @@ $-footer-link-b-margin: map.get(variables.$spacing, 'size-16');
31
31
  }
32
32
 
33
33
  &__title {
34
- @include typography.get-text('pkt-txt-24-medium');
35
34
  margin-bottom: map.get(variables.$spacing, 'size-32');
36
35
  margin-top: 0;
37
36
  color: $-footer-color;
37
+ @include typography.get-text('pkt-txt-24-medium');
38
38
  }
39
39
 
40
40
  // tekstfelt
@@ -127,13 +127,13 @@ $-footer-link-b-margin: map.get(variables.$spacing, 'size-16');
127
127
  // Simple footer
128
128
 
129
129
  .pkt-footer-simple {
130
- @include typography.get-text('pkt-txt-18-light');
131
130
  padding: map.get(variables.$spacing, 'size-32') map.get(variables.$spacing, 'size-24');
132
131
  background-color: $-footer-bg-color;
133
132
  color: $-footer-color;
134
133
  display: flex;
135
134
  align-items: center;
136
135
 
136
+ @include typography.get-text('pkt-txt-18-light');
137
137
  @include bp('laptop-up') {
138
138
  justify-content: center;
139
139
  }
@@ -6,13 +6,13 @@
6
6
 
7
7
  .pkt-inputwrapper {
8
8
  &__label {
9
- @include typography.get-text('pkt-txt-18-medium');
10
9
  display: flex;
11
10
  flex-direction: column;
12
11
  align-items: flex-start;
13
12
  gap: map.get(variables.$spacing, 'size-8');
14
13
  color: var(--pkt-color-text-body-default);
15
14
 
15
+ @include typography.get-text('pkt-txt-18-medium');
16
16
  > h2 {
17
17
  font-size: inherit;
18
18
  font-weight: inherit;
@@ -25,17 +25,17 @@
25
25
 
26
26
  &__helptext {
27
27
  width: min(100%, 31rem);
28
- @include typography.get-text('pkt-txt-14-light');
29
28
  color: var(--pkt-color-text-body-default);
29
+ @include typography.get-text('pkt-txt-14-light');
30
30
 
31
31
  > .pkt-btn,
32
32
  &-expandable .pkt-btn {
33
- @include typography.get-text('pkt-txt-14-light');
34
33
  padding: 0;
35
34
  height: auto;
36
35
  display: inline-flex;
37
36
  text-align: left;
38
37
  align-items: center;
38
+ @include typography.get-text('pkt-txt-14-light');
39
39
  }
40
40
 
41
41
  > * {
@@ -50,8 +50,8 @@
50
50
 
51
51
  &-expandable {
52
52
  &-heading {
53
- @include typography.get-text('pkt-txt-18-medium');
54
53
  margin: 0;
54
+ @include typography.get-text('pkt-txt-18-medium');
55
55
  }
56
56
 
57
57
  &-open {
@@ -49,14 +49,14 @@ $-border-thickness: map.get(variables.$spacing, 'size-4');
49
49
 
50
50
  &__title {
51
51
  grid-area: title;
52
- @include get-text('pkt-txt-24-medium');
53
52
  margin: 0 0 $-messagebox-spacing 0;
53
+ @include get-text('pkt-txt-24-medium');
54
54
  }
55
55
 
56
56
  &__text {
57
57
  grid-area: text;
58
- @include get-text('pkt-txt-18-light');
59
58
  margin: 0;
59
+ @include get-text('pkt-txt-18-light');
60
60
 
61
61
  p {
62
62
  margin-bottom: map.get(variables.$spacing, 'size-16');
@@ -87,7 +87,7 @@
87
87
  &--current {
88
88
  .pkt-step__title,
89
89
  .pkt-step__content {
90
- padding: map-get(variables.$spacing, 'size-16') map-get(variables.$spacing, 'size-24');
90
+ padding: map.get(variables.$spacing, 'size-16') map.get(variables.$spacing, 'size-24');
91
91
  background-color: var(--pkt-color-surface-subtle-pale-blue);
92
92
  }
93
93
  .pkt-step__content {
@@ -95,7 +95,7 @@
95
95
  }
96
96
 
97
97
  .pkt-step__wrapper {
98
- margin-bottom: map-get(variables.$spacing, 'size-24');
98
+ margin-bottom: map.get(variables.$spacing, 'size-24');
99
99
  }
100
100
  }
101
101
 
@@ -145,12 +145,12 @@
145
145
  min-width: fit-content;
146
146
  }
147
147
  &__title {
148
- padding: map-get(variables.$spacing, 'size-24') map-get(variables.$spacing, 'size-16')
149
- map-get(variables.$spacing, 'size-24') 0;
148
+ padding: map.get(variables.$spacing, 'size-24') map.get(variables.$spacing, 'size-16')
149
+ map.get(variables.$spacing, 'size-24') 0;
150
150
  }
151
151
 
152
152
  &__content {
153
- padding: 0 map-get(variables.$spacing, 'size-16') map-get(variables.$spacing, 'size-16') 0;
153
+ padding: 0 map.get(variables.$spacing, 'size-16') map.get(variables.$spacing, 'size-16') 0;
154
154
  }
155
155
 
156
156
  &__indicator > svg {
@@ -34,8 +34,9 @@
34
34
  padding: 0.75rem 1rem;
35
35
  color: var(--pkt-color-text-action-disabled);
36
36
  border-bottom: 0.25rem solid transparent;
37
- @include typography.get-text('pkt-txt-16');
38
37
  white-space: nowrap;
38
+ @include typography.get-text('pkt-txt-16');
39
+
39
40
  .pkt-icon,
40
41
  pkt-icon {
41
42
  --fg-color: currentColor;