@oslokommune/punkt-css 17.0.5 → 17.0.7

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 (125) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/css/components/alert.css +3 -3
  3. package/dist/css/components/alert.min.css +1 -1
  4. package/dist/css/components/badge.css +2 -2
  5. package/dist/css/components/badge.min.css +1 -1
  6. package/dist/css/components/breadcrumbs.css +1 -1
  7. package/dist/css/components/breadcrumbs.min.css +1 -1
  8. package/dist/css/components/calendar.css +2 -2
  9. package/dist/css/components/calendar.min.css +1 -1
  10. package/dist/css/components/card.css +12 -12
  11. package/dist/css/components/card.min.css +1 -1
  12. package/dist/css/components/combobox.css +3 -3
  13. package/dist/css/components/combobox.min.css +1 -1
  14. package/dist/css/components/datepicker.css +7 -10
  15. package/dist/css/components/datepicker.min.css +1 -1
  16. package/dist/css/components/fileupload.css +16 -16
  17. package/dist/css/components/fileupload.min.css +1 -1
  18. package/dist/css/components/footer.css +6 -7
  19. package/dist/css/components/footer.min.css +1 -1
  20. package/dist/css/components/header-global.css +7 -7
  21. package/dist/css/components/header-global.min.css +1 -1
  22. package/dist/css/components/header-menu.css +20 -20
  23. package/dist/css/components/header-menu.min.css +1 -1
  24. package/dist/css/components/header-service-mobile.css +3 -3
  25. package/dist/css/components/header-service-mobile.min.css +1 -1
  26. package/dist/css/components/header-service.css +9 -9
  27. package/dist/css/components/header-service.min.css +1 -1
  28. package/dist/css/components/header-user-menu.css +3 -3
  29. package/dist/css/components/header-user-menu.min.css +1 -1
  30. package/dist/css/components/header.css +8 -9
  31. package/dist/css/components/header.min.css +1 -1
  32. package/dist/css/components/heading.css +1 -2
  33. package/dist/css/components/heading.min.css +1 -1
  34. package/dist/css/components/linkcard.css +4 -4
  35. package/dist/css/components/linkcard.min.css +1 -1
  36. package/dist/css/components/listbox.css +7 -7
  37. package/dist/css/components/listbox.min.css +1 -1
  38. package/dist/css/components/loader.css +1 -1
  39. package/dist/css/components/loader.min.css +1 -1
  40. package/dist/css/components/messagebox.css +2 -2
  41. package/dist/css/components/messagebox.min.css +1 -1
  42. package/dist/css/components/modal.css +7 -7
  43. package/dist/css/components/modal.min.css +1 -1
  44. package/dist/css/components/preview.css +6 -6
  45. package/dist/css/components/preview.min.css +1 -1
  46. package/dist/css/components/progressbar.css +3 -3
  47. package/dist/css/components/progressbar.min.css +1 -1
  48. package/dist/css/components/searchinput.css +2 -2
  49. package/dist/css/components/searchinput.min.css +1 -1
  50. package/dist/css/components/stepper.css +4 -4
  51. package/dist/css/components/stepper.min.css +1 -1
  52. package/dist/css/components/tabs.css +1 -1
  53. package/dist/css/components/tabs.min.css +1 -1
  54. package/dist/css/components/tag.css +2 -2
  55. package/dist/css/components/tag.min.css +1 -1
  56. package/dist/css/components/timepicker.css +8 -9
  57. package/dist/css/components/timepicker.min.css +1 -1
  58. package/dist/css/elements/checkbox-radio.css +4 -4
  59. package/dist/css/elements/checkbox-radio.min.css +1 -1
  60. package/dist/css/elements/form.css +1 -1
  61. package/dist/css/elements/form.min.css +1 -1
  62. package/dist/css/elements/list.css +3 -3
  63. package/dist/css/elements/list.min.css +1 -1
  64. package/dist/css/elements/section.css +2 -2
  65. package/dist/css/elements/section.min.css +1 -1
  66. package/dist/css/elements/table.css +1 -1
  67. package/dist/css/elements/table.min.css +1 -1
  68. package/dist/css/pkt-base.css +13219 -13223
  69. package/dist/css/pkt-base.min.css +1 -1
  70. package/dist/css/pkt-components.css +150 -157
  71. package/dist/css/pkt-components.min.css +1 -1
  72. package/dist/css/pkt-docs.css +13358 -13369
  73. package/dist/css/pkt-docs.min.css +1 -1
  74. package/dist/css/pkt-elements.css +11 -11
  75. package/dist/css/pkt-elements.min.css +1 -1
  76. package/dist/css/pkt-grid.css +2232 -0
  77. package/dist/css/pkt-grid.min.css +1 -0
  78. package/dist/css/pkt-tokens.css +273 -0
  79. package/dist/css/pkt-tokens.min.css +1 -0
  80. package/dist/css/pkt-utilities.css +11335 -0
  81. package/dist/css/pkt-utilities.min.css +1 -0
  82. package/dist/css/pkt.css +13362 -13373
  83. package/dist/css/pkt.min.css +1 -1
  84. package/dist/scss/base/_colors-tokens.scss +106 -0
  85. package/dist/scss/base/_colors-utilities.scss +43 -0
  86. package/dist/scss/base/_colors.scss +2 -144
  87. package/dist/scss/base/_containers.scss +4 -8
  88. package/dist/scss/base/_index.scss +10 -3
  89. package/dist/scss/components/_alert.scss +3 -3
  90. package/dist/scss/components/_badge.scss +2 -2
  91. package/dist/scss/components/_breadcrumbs.scss +1 -1
  92. package/dist/scss/components/_calendar.scss +2 -2
  93. package/dist/scss/components/_card.scss +12 -12
  94. package/dist/scss/components/_combobox.scss +3 -3
  95. package/dist/scss/components/_datepicker.scss +6 -8
  96. package/dist/scss/components/_fileupload.scss +16 -16
  97. package/dist/scss/components/_footer.scss +5 -6
  98. package/dist/scss/components/_header-global.scss +7 -7
  99. package/dist/scss/components/_header-menu.scss +8 -8
  100. package/dist/scss/components/_header-service-mobile.scss +3 -3
  101. package/dist/scss/components/_header-service.scss +9 -9
  102. package/dist/scss/components/_header-user-menu.scss +3 -3
  103. package/dist/scss/components/_header.scss +8 -9
  104. package/dist/scss/components/_heading.scss +1 -2
  105. package/dist/scss/components/_linkcard.scss +4 -4
  106. package/dist/scss/components/_listbox.scss +7 -7
  107. package/dist/scss/components/_loader.scss +1 -1
  108. package/dist/scss/components/_messagebox.scss +2 -2
  109. package/dist/scss/components/_modal.scss +7 -7
  110. package/dist/scss/components/_preview.scss +6 -6
  111. package/dist/scss/components/_progressbar.scss +3 -3
  112. package/dist/scss/components/_searchinput.scss +2 -2
  113. package/dist/scss/components/_stepper.scss +4 -4
  114. package/dist/scss/components/_tabs.scss +1 -1
  115. package/dist/scss/components/_tag.scss +2 -2
  116. package/dist/scss/components/_timepicker.scss +8 -9
  117. package/dist/scss/elements/_checkbox-radio.scss +4 -4
  118. package/dist/scss/elements/_form.scss +1 -1
  119. package/dist/scss/elements/_list.scss +3 -3
  120. package/dist/scss/elements/_section.scss +2 -2
  121. package/dist/scss/elements/_table.scss +1 -1
  122. package/dist/scss/pkt-grid.scss +6 -0
  123. package/dist/scss/pkt-tokens.scss +5 -0
  124. package/dist/scss/pkt-utilities.scss +6 -0
  125. package/package.json +2 -2
@@ -79,8 +79,7 @@ $-footer-content-max-width: 75rem;
79
79
  }
80
80
 
81
81
  &--compact {
82
- padding-top: map.get(variables.$spacing, 'size-32');
83
- padding-bottom: map.get(variables.$spacing, 'size-32');
82
+ padding-block: map.get(variables.$spacing, 'size-32');
84
83
  }
85
84
  }
86
85
 
@@ -118,16 +117,16 @@ $-footer-content-max-width: 75rem;
118
117
  justify-content: space-between;
119
118
  align-items: center;
120
119
  gap: map.get(variables.$spacing, 'size-32');
121
- margin-top: map.get(variables.$spacing, 'size-16');
120
+ margin-block-start: map.get(variables.$spacing, 'size-16');
122
121
 
123
122
  @include cq('pkt-footer', $cq-bp-tablet) {
124
123
  grid-column: -2 / -1;
125
- margin-top: 0;
124
+ margin-block-start: 0;
126
125
  }
127
126
  }
128
127
 
129
128
  &__sections + &__bottom {
130
- margin-top: map.get(variables.$spacing, 'size-32');
129
+ margin-block-start: map.get(variables.$spacing, 'size-32');
131
130
  }
132
131
 
133
132
  &__bottom-links {
@@ -167,7 +166,7 @@ $-footer-content-max-width: 75rem;
167
166
  }
168
167
 
169
168
  &__sections + &__consent {
170
- margin-top: map.get(variables.$spacing, 'size-32');
169
+ margin-block-start: map.get(variables.$spacing, 'size-32');
171
170
  }
172
171
  }
173
172
 
@@ -31,14 +31,14 @@
31
31
  &__logo-area {
32
32
  align-items: center;
33
33
  display: inline-flex;
34
- padding-left: map.get(variables.$spacing, 'size-32');
34
+ padding-inline-start: map.get(variables.$spacing, 'size-32');
35
35
 
36
36
  .pkt-header-global--tablet & {
37
- padding-left: map.get(variables.$spacing, 'size-16');
37
+ padding-inline-start: map.get(variables.$spacing, 'size-16');
38
38
  }
39
39
 
40
40
  .pkt-header-global--mobile & {
41
- padding-left: map.get(variables.$spacing, 'size-8');
41
+ padding-inline-start: map.get(variables.$spacing, 'size-8');
42
42
  }
43
43
  }
44
44
 
@@ -58,7 +58,7 @@
58
58
 
59
59
  .pkt-header-global--mobile & {
60
60
  column-gap: map.get(variables.$spacing, 'size-8');
61
- padding-right: map.get(variables.$spacing, 'size-8');
61
+ padding-inline-end: map.get(variables.$spacing, 'size-8');
62
62
  }
63
63
  }
64
64
 
@@ -69,10 +69,10 @@
69
69
 
70
70
  &__user {
71
71
  justify-self: end;
72
- padding-right: map.get(variables.$spacing, 'size-32');
72
+ padding-inline-end: map.get(variables.$spacing, 'size-32');
73
73
 
74
74
  .pkt-header-global--tablet:not(.pkt-header-global--mobile) & {
75
- padding-right: map.get(variables.$spacing, 'size-16');
75
+ padding-inline-end: map.get(variables.$spacing, 'size-16');
76
76
  }
77
77
  }
78
78
 
@@ -171,7 +171,7 @@
171
171
  }
172
172
 
173
173
  &__search-panel-inner {
174
- margin-left: var(--pkt-header-global-left, 0px);
174
+ margin-inline-start: var(--pkt-header-global-left, 0px);
175
175
  width: var(--pkt-header-global-width, 100%);
176
176
  background-color: var(--pkt-color-background-default);
177
177
  border-bottom: 1px solid var(--pkt-color-border-subtle);
@@ -12,8 +12,8 @@ $pkt-header-menu-breakpoint: 48rem;
12
12
  @mixin pkt-header-menu-region-inner {
13
13
  max-width: 75rem;
14
14
  margin: 0 auto;
15
- padding-top: map.get(variables.$spacing, 'size-32');
16
- padding-bottom: map.get(variables.$spacing, 'size-16');
15
+ padding-block-start: map.get(variables.$spacing, 'size-32');
16
+ padding-block-end: map.get(variables.$spacing, 'size-16');
17
17
 
18
18
  @include cq('pkt-header-menu', $cq-bp-tablet) {
19
19
  padding: map.get(variables.$spacing, 'size-52');
@@ -52,7 +52,7 @@ $pkt-header-menu-breakpoint: 48rem;
52
52
  }
53
53
 
54
54
  &__services-title {
55
- margin-bottom: map.get(variables.$spacing, 'size-32');
55
+ margin-block-end: map.get(variables.$spacing, 'size-32');
56
56
  }
57
57
 
58
58
  &__services-list {
@@ -77,7 +77,7 @@ $pkt-header-menu-breakpoint: 48rem;
77
77
  display: flex;
78
78
  gap: map.get(variables.$spacing, 'size-16');
79
79
  flex-wrap: wrap;
80
- padding-top: 0;
80
+ padding-block-start: 0;
81
81
  }
82
82
 
83
83
  @include cq('pkt-header-menu', $cq-bp-tablet-big) {
@@ -232,11 +232,11 @@ $pkt-header-menu-breakpoint: 48rem;
232
232
  border-right: 1px solid currentColor;
233
233
  padding: 0 map.get(variables.$spacing, 'size-32');
234
234
  &:first-child {
235
- padding-left: 0;
235
+ padding-inline-start: 0;
236
236
  }
237
237
  &:last-child {
238
238
  border-right: none;
239
- padding-right: 0;
239
+ padding-inline-end: 0;
240
240
  }
241
241
  }
242
242
  }
@@ -285,10 +285,10 @@ $pkt-header-menu-breakpoint: 48rem;
285
285
  @include pkt-header-menu-region-inner;
286
286
  text-align: center;
287
287
  color: var(--pkt-color-text-body-default);
288
- padding-bottom: map.get(variables.$spacing, 'size-48');
288
+ padding-block-end: map.get(variables.$spacing, 'size-48');
289
289
 
290
290
  @include cq('pkt-header-menu', $cq-bp-tablet) {
291
- padding-bottom: map.get(variables.$spacing, 'size-52');
291
+ padding-block-end: map.get(variables.$spacing, 'size-52');
292
292
  }
293
293
  }
294
294
  }
@@ -34,7 +34,7 @@
34
34
  &__content {
35
35
  grid-column: 2;
36
36
  grid-row: 1;
37
- padding-right: map.get(variables.$spacing, 'size-8');
37
+ padding-inline-end: map.get(variables.$spacing, 'size-8');
38
38
  }
39
39
 
40
40
  &__user {
@@ -134,10 +134,10 @@
134
134
  align-items: stretch;
135
135
  &,
136
136
  > ul {
137
- margin-left: 0;
137
+ margin-inline-start: 0;
138
138
  gap: map.get(variables.$spacing, 'size-24');
139
139
  > * {
140
- margin-left: 0;
140
+ margin-inline-start: 0;
141
141
  }
142
142
  }
143
143
  }
@@ -139,14 +139,14 @@
139
139
  grid-row: 1;
140
140
  align-items: center;
141
141
  display: inline-flex;
142
- padding-left: map.get(variables.$spacing, 'size-32');
142
+ padding-inline-start: map.get(variables.$spacing, 'size-32');
143
143
 
144
144
  .pkt-header-service--tablet & {
145
- padding-left: map.get(variables.$spacing, 'size-16');
145
+ padding-inline-start: map.get(variables.$spacing, 'size-16');
146
146
  }
147
147
 
148
148
  .pkt-header-service--mobile & {
149
- padding-left: map.get(variables.$spacing, 'size-8');
149
+ padding-inline-start: map.get(variables.$spacing, 'size-8');
150
150
  }
151
151
  }
152
152
 
@@ -174,10 +174,10 @@
174
174
  &__user {
175
175
  grid-column: 3;
176
176
  justify-self: end;
177
- padding-right: map.get(variables.$spacing, 'size-32');
177
+ padding-inline-end: map.get(variables.$spacing, 'size-32');
178
178
 
179
179
  .pkt-header-service--tablet & {
180
- padding-right: map.get(variables.$spacing, 'size-16');
180
+ padding-inline-end: map.get(variables.$spacing, 'size-16');
181
181
  }
182
182
  }
183
183
 
@@ -206,7 +206,7 @@
206
206
  &__service-name {
207
207
  @include get-text('pkt-txt-22-medium');
208
208
 
209
- padding-top: 4px;
209
+ padding-block-start: 4px;
210
210
  white-space: normal;
211
211
  display: -webkit-box;
212
212
  -webkit-box-orient: vertical;
@@ -252,7 +252,7 @@
252
252
  &__search-input {
253
253
  background-color: var(--pkt-color-background-default);
254
254
  .pkt-input-icon:not(button) svg {
255
- margin-left: 0;
255
+ margin-inline-start: 0;
256
256
  }
257
257
  }
258
258
 
@@ -269,13 +269,13 @@
269
269
  flex-direction: row;
270
270
  align-items: center;
271
271
  > * + * {
272
- margin-left: map.get(variables.$spacing, 'size-32');
272
+ margin-inline-start: map.get(variables.$spacing, 'size-32');
273
273
  }
274
274
 
275
275
  > .pkt-link + .pkt-link,
276
276
  > pkt-link + pkt-link,
277
277
  > a + a {
278
- margin-left: map.get(variables.$spacing, 'size-24');
278
+ margin-inline-start: map.get(variables.$spacing, 'size-24');
279
279
  }
280
280
  }
281
281
 
@@ -84,7 +84,7 @@
84
84
  &__label {
85
85
  @include get-text('pkt-txt-14-medium');
86
86
  color: var(--pkt-color-text-placeholder);
87
- margin-bottom: map.get(variables.$spacing, 'size-8');
87
+ margin-block-end: map.get(variables.$spacing, 'size-8');
88
88
  }
89
89
 
90
90
  &__name {
@@ -96,7 +96,7 @@
96
96
  }
97
97
 
98
98
  &__action {
99
- margin-top: map.get(variables.$spacing, 'size-16');
99
+ margin-block-start: map.get(variables.$spacing, 'size-16');
100
100
  }
101
101
 
102
102
  &__button {
@@ -120,7 +120,7 @@
120
120
  }
121
121
 
122
122
  .pkt-link__icon {
123
- margin-right: map.get(variables.$spacing, 'size-8');
123
+ margin-inline-end: map.get(variables.$spacing, 'size-8');
124
124
  align-self: baseline;
125
125
  }
126
126
  }
@@ -67,7 +67,7 @@
67
67
  }
68
68
 
69
69
  &-service {
70
- padding-top: 0.3rem;
70
+ padding-block-start: 0.3rem;
71
71
  display: none;
72
72
  white-space: nowrap;
73
73
  text-overflow: ellipsis;
@@ -80,7 +80,7 @@
80
80
  }
81
81
 
82
82
  @include bp('laptop-up') {
83
- padding-top: 0.6rem;
83
+ padding-block-start: 0.6rem;
84
84
  @include get-text('pkt-txt-24-light');
85
85
  }
86
86
  }
@@ -104,7 +104,7 @@
104
104
  gap: map.get(variables.$spacing, 'size-16');
105
105
 
106
106
  &-service {
107
- padding-top: 0.28rem;
107
+ padding-block-start: 0.28rem;
108
108
  @include get-text('pkt-txt-18-light');
109
109
  }
110
110
 
@@ -137,7 +137,7 @@
137
137
 
138
138
  &-row {
139
139
  list-style: none;
140
- padding-left: 0;
140
+ padding-inline-start: 0;
141
141
  margin: 0;
142
142
  display: flex;
143
143
  align-items: center;
@@ -153,10 +153,10 @@
153
153
  z-index: 2;
154
154
  position: absolute;
155
155
  margin: 0;
156
- margin-top: map.get(variables.$spacing, 'size-12');
156
+ margin-block-start: map.get(variables.$spacing, 'size-12');
157
157
  right: 0;
158
158
  left: 0;
159
- padding-left: 0;
159
+ padding-inline-start: 0;
160
160
  list-style: none;
161
161
  visibility: hidden;
162
162
  max-height: calc(100vh - 4.5rem);
@@ -165,7 +165,7 @@
165
165
  color: var(--pkt-color-text-body-dark);
166
166
 
167
167
  @include bp('tablet-up') {
168
- margin-top: map.get(variables.$spacing, 'size-16');
168
+ margin-block-start: map.get(variables.$spacing, 'size-16');
169
169
  left: auto;
170
170
  right: 0;
171
171
  min-width: 23rem;
@@ -177,8 +177,7 @@
177
177
  background-color: var(--pkt-color-surface-subtle-white);
178
178
 
179
179
  &.footer {
180
- padding-top: map.get(variables.$spacing, 'size-16');
181
- padding-bottom: map.get(variables.$spacing, 'size-16');
180
+ padding-block: map.get(variables.$spacing, 'size-16');
182
181
  }
183
182
 
184
183
  &:nth-child(odd) {
@@ -88,8 +88,7 @@ pkt-heading {
88
88
  }
89
89
 
90
90
  &--noSpacing {
91
- margin-bottom: 0;
92
- margin-top: 0;
91
+ margin-block: 0;
93
92
  }
94
93
 
95
94
  &--start {
@@ -69,7 +69,7 @@ $-linkcard-spacing-big: map.get(variables.$spacing, 'size-24');
69
69
  width: 1.5rem;
70
70
  background-size: 1.5rem 1.5rem;
71
71
  background-position: center;
72
- margin-left: 0.5rem;
72
+ margin-inline-start: 0.5rem;
73
73
  flex: 0 0 auto;
74
74
  align-self: flex-start;
75
75
  }
@@ -78,17 +78,17 @@ $-linkcard-spacing-big: map.get(variables.$spacing, 'size-24');
78
78
 
79
79
  > .pkt-icon.pkt-link__icon,
80
80
  pkt-icon.pkt-link__icon {
81
- margin-right: 0;
81
+ margin-inline-end: 0;
82
82
  }
83
83
 
84
84
  &__text {
85
85
  grid-column: 2;
86
86
  p:first-of-type {
87
- margin-top: 0;
87
+ margin-block-start: 0;
88
88
  }
89
89
 
90
90
  p:last-of-type {
91
- margin-bottom: 0;
91
+ margin-block-end: 0;
92
92
  }
93
93
  }
94
94
 
@@ -60,7 +60,7 @@ pkt-listbox {
60
60
  }
61
61
 
62
62
  &-description {
63
- padding-top: 0.25rem;
63
+ padding-block-start: 0.25rem;
64
64
  grid-area: description;
65
65
  }
66
66
 
@@ -76,14 +76,14 @@ pkt-listbox {
76
76
  padding: 0.75rem 0.5rem 0.75rem 0.75rem;
77
77
  column-gap: 0.5rem;
78
78
  &:focus {
79
- padding-left: 10px;
79
+ padding-inline-start: 10px;
80
80
  }
81
81
  }
82
82
 
83
83
  &--selected {
84
- padding-left: 0.25rem;
84
+ padding-inline-start: 0.25rem;
85
85
  &:focus {
86
- padding-left: 2px;
86
+ padding-inline-start: 2px;
87
87
  }
88
88
  }
89
89
 
@@ -98,13 +98,13 @@ pkt-listbox {
98
98
  }
99
99
 
100
100
  .pkt-listbox__option {
101
- margin-bottom: 0.125rem;
101
+ margin-block-end: 0.125rem;
102
102
  overflow-wrap: break-word;
103
103
  hyphens: auto;
104
104
  cursor: pointer;
105
105
 
106
106
  &:first-child:not(.pkt-listbox__search, .pkt-listbox__banners) {
107
- margin-top: 0.125rem;
107
+ margin-block-start: 0.125rem;
108
108
  }
109
109
 
110
110
  &:hover:not(.pkt-listbox__search) {
@@ -184,7 +184,7 @@ pkt-listbox {
184
184
  cursor: default;
185
185
  display: flex;
186
186
  align-items: center;
187
- padding-right: 0.25rem;
187
+ padding-inline-end: 0.25rem;
188
188
 
189
189
  .pkt-icon {
190
190
  width: 1.25rem;
@@ -61,7 +61,7 @@
61
61
  display: flex;
62
62
  justify-content: center;
63
63
  align-items: center;
64
- margin-top: 8em;
64
+ margin-block-start: 8em;
65
65
  font-size: 0.4rem;
66
66
  width: 25em;
67
67
  height: 5em;
@@ -70,10 +70,10 @@ $-border-thickness: map.get(variables.$spacing, 'size-4');
70
70
  @include get-text('pkt-txt-18-light');
71
71
 
72
72
  p {
73
- margin-bottom: map.get(variables.$spacing, 'size-16');
73
+ margin-block-end: map.get(variables.$spacing, 'size-16');
74
74
 
75
75
  &:last-of-type {
76
- margin-bottom: 0;
76
+ margin-block-end: 0;
77
77
  }
78
78
  }
79
79
  }
@@ -75,7 +75,7 @@ $pkt-modal-padding-sides: map.get(variables.$spacing, 'size-40');
75
75
  &--right {
76
76
  left: auto;
77
77
  right: 0;
78
- margin-right: 0;
78
+ margin-inline-end: 0;
79
79
  translate: 100% 0;
80
80
  @starting-style {
81
81
  &[open] {
@@ -86,7 +86,7 @@ $pkt-modal-padding-sides: map.get(variables.$spacing, 'size-40');
86
86
  &--left {
87
87
  left: 0;
88
88
  right: auto;
89
- margin-left: 0;
89
+ margin-inline-start: 0;
90
90
  translate: -100% 0;
91
91
  @starting-style {
92
92
  &[open] {
@@ -125,8 +125,8 @@ $pkt-modal-padding-sides: map.get(variables.$spacing, 'size-40');
125
125
  }
126
126
 
127
127
  .pkt-modal__container {
128
- padding-top: $pkt-modal-gap;
129
- margin-top: -1px;
128
+ padding-block-start: $pkt-modal-gap;
129
+ margin-block-start: -1px;
130
130
  background: var(--pkt-color-background-default);
131
131
  display: flex;
132
132
  flex-direction: column;
@@ -218,7 +218,7 @@ $pkt-modal-padding-sides: map.get(variables.$spacing, 'size-40');
218
218
  overflow-y: auto;
219
219
  overscroll-behavior: contain;
220
220
  padding: map.get(variables.$spacing, 'size-32') map.get(variables.$spacing, 'size-40');
221
- padding-top: 0;
221
+ padding-block-start: 0;
222
222
  position: relative;
223
223
  color: var(--pkt-color-text-body-default);
224
224
  background:
@@ -255,7 +255,7 @@ $pkt-modal-padding-sides: map.get(variables.$spacing, 'size-40');
255
255
  }
256
256
 
257
257
  .pkt-modal__btn-wrapper {
258
- padding-top: map.get(variables.$spacing, 'size-24');
258
+ padding-block-start: map.get(variables.$spacing, 'size-24');
259
259
  display: flex;
260
260
  justify-content: flex-start;
261
261
  gap: map.get(variables.$spacing, 'size-16');
@@ -350,7 +350,7 @@ $pkt-modal-padding-sides: map.get(variables.$spacing, 'size-40');
350
350
 
351
351
  .pkt-modal.pkt-modal--noHeadingText {
352
352
  .pkt-modal__container {
353
- padding-top: 1rem;
353
+ padding-block-start: 1rem;
354
354
  }
355
355
  }
356
356
 
@@ -64,7 +64,7 @@
64
64
  display: flex;
65
65
  flex-direction: column;
66
66
  gap: 1rem;
67
- margin-bottom: 1rem;
67
+ margin-block-end: 1rem;
68
68
  }
69
69
  }
70
70
  &__options {
@@ -89,13 +89,13 @@
89
89
  .hide-code-button {
90
90
  position: absolute;
91
91
  top: 100%;
92
- margin-top: -1.5rem;
92
+ margin-block-start: -1.5rem;
93
93
  left: 0;
94
94
  width: 100%;
95
95
  display: flex;
96
96
  justify-content: center;
97
97
  align-items: flex-end;
98
- padding-bottom: 1rem;
98
+ padding-block-end: 1rem;
99
99
  z-index: 2;
100
100
  }
101
101
  &__code {
@@ -128,7 +128,7 @@
128
128
  pre {
129
129
  max-height: 30rem;
130
130
  overflow: auto;
131
- margin-top: 0 !important;
131
+ margin-block-start: 0 !important;
132
132
  background-color: transparent !important;
133
133
  font-size: 1rem;
134
134
  padding: 2rem 0;
@@ -168,7 +168,7 @@
168
168
  }
169
169
  &__add-object {
170
170
  text-align: right;
171
- margin-top: 0.5rem;
171
+ margin-block-start: 0.5rem;
172
172
  }
173
173
  &__remove-object {
174
174
  position: absolute;
@@ -177,7 +177,7 @@
177
177
  }
178
178
  &__specs {
179
179
  pre {
180
- margin-top: 0 !important;
180
+ margin-block-start: 0 !important;
181
181
  }
182
182
  }
183
183
  }
@@ -8,7 +8,7 @@
8
8
  &__title {
9
9
  display: block;
10
10
  margin: 0;
11
- margin-bottom: 8px;
11
+ margin-block-end: 8px;
12
12
  text-align: left;
13
13
  font-weight: 500;
14
14
  font-size: 0.875rem;
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  &__status {
46
- margin-top: 8px;
46
+ margin-block-start: 8px;
47
47
  position: relative;
48
48
  white-space: nowrap;
49
49
  font-weight: 400;
@@ -57,7 +57,7 @@
57
57
 
58
58
  &__status-placement {
59
59
  &--following {
60
- margin-left: max(
60
+ margin-inline-start: max(
61
61
  0%,
62
62
  min(
63
63
  calc(100% - var(--pkt-progress-label-width)),
@@ -80,7 +80,7 @@
80
80
 
81
81
  &--local .pkt-input__container--small .pkt-input,
82
82
  &--local .pkt-input__container--xsmall .pkt-input {
83
- padding-right: 0;
83
+ padding-inline-end: 0;
84
84
  }
85
85
 
86
86
  &--local &__button {
@@ -88,7 +88,7 @@
88
88
  border-color: var(--pkt-color-input-border-disabled);
89
89
  }
90
90
  & svg {
91
- margin-left: 0;
91
+ margin-inline-start: 0;
92
92
  }
93
93
  --pkt-color-button-border-hover: var(--pkt-color-input-border-active);
94
94
  }
@@ -39,7 +39,7 @@
39
39
 
40
40
  &__content {
41
41
  font-weight: map.get(variables.$font-weight, 'light');
42
- padding-bottom: map.get(variables.$spacing, 'size-24');
42
+ padding-block-end: map.get(variables.$spacing, 'size-24');
43
43
  width: 100%;
44
44
  }
45
45
 
@@ -67,7 +67,7 @@
67
67
  &__nav-wrapper {
68
68
  display: flex;
69
69
  gap: 20px;
70
- margin-top: map.get(variables.$spacing, 'size-16');
70
+ margin-block-start: map.get(variables.$spacing, 'size-16');
71
71
  }
72
72
  }
73
73
  }
@@ -91,11 +91,11 @@
91
91
  background-color: var(--pkt-color-surface-subtle-pale-blue);
92
92
  }
93
93
  .pkt-step__content {
94
- padding-top: 0;
94
+ padding-block-start: 0;
95
95
  }
96
96
 
97
97
  .pkt-step__wrapper {
98
- margin-bottom: map.get(variables.$spacing, 'size-24');
98
+ margin-block-end: map.get(variables.$spacing, 'size-24');
99
99
  }
100
100
  }
101
101
 
@@ -106,7 +106,7 @@ pkt-tab-item {
106
106
 
107
107
  &--with-separator {
108
108
  .pkt-tabs__list {
109
- padding-right: 0.25rem;
109
+ padding-inline-end: 0.25rem;
110
110
  align-items: center;
111
111
  }
112
112
 
@@ -88,13 +88,13 @@ pkt-tag > .pkt-tag {
88
88
  &__icon {
89
89
  width: 16px;
90
90
  height: 16px;
91
- margin-right: map.get(variables.$spacing, 'size-8');
91
+ margin-inline-end: map.get(variables.$spacing, 'size-8');
92
92
  }
93
93
 
94
94
  &__close-btn {
95
95
  width: 16px;
96
96
  height: 16px;
97
- margin-left: map.get(variables.$spacing, 'size-8');
97
+ margin-inline-start: map.get(variables.$spacing, 'size-8');
98
98
  }
99
99
 
100
100
  // Modifiers