@oslokommune/punkt-css 12.12.0 → 12.12.3

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 +22 -14
  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 +121 -113
  34. package/dist/css/pkt-components.min.css +1 -1
  35. package/dist/css/pkt-elements.css +69 -67
  36. package/dist/css/pkt-elements.min.css +1 -1
  37. package/dist/css/pkt.css +343 -341
  38. package/dist/css/pkt.min.css +1 -1
  39. package/dist/scss/abstracts/functions/_index.scss +9 -9
  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 +26 -14
  53. package/dist/scss/elements/_section.scss +10 -12
  54. package/package.json +2 -2
@@ -160,22 +160,22 @@
160
160
  color: var(--pkt-color-alert-txt);
161
161
  }
162
162
  .pkt-alert__title {
163
- font-size: 1.125rem;
164
- font-weight: 500;
163
+ margin: 0 0 1.5rem 2.5rem;
165
164
  letter-spacing: -0.2px;
165
+ font-weight: 500;
166
+ font-size: 1.125rem;
166
167
  line-height: 1.75rem;
167
- margin: 0 0 1.5rem 2.5rem;
168
168
  }
169
169
  .pkt-alert__close ~ .pkt-alert__title {
170
170
  margin: 0 4rem 1.5rem 2.5rem;
171
171
  }
172
172
  .pkt-alert__text {
173
- font-size: 1.125rem;
174
- font-weight: 300;
175
- letter-spacing: -0.2px;
176
- line-height: 1.75rem;
177
173
  margin: 0 0 0 2.5rem;
178
174
  overflow-wrap: break-word;
175
+ letter-spacing: -0.2px;
176
+ font-weight: 300;
177
+ font-size: 1.125rem;
178
+ line-height: 1.75rem;
179
179
  }
180
180
  .pkt-alert__text p {
181
181
  margin-bottom: 1rem;
@@ -194,11 +194,11 @@
194
194
  margin-right: 0;
195
195
  }
196
196
  .pkt-alert__date {
197
- font-size: 0.875rem;
198
- font-weight: 300;
197
+ margin-top: 1.5rem;
199
198
  letter-spacing: -0.2px;
199
+ font-weight: 300;
200
+ font-size: 0.875rem;
200
201
  line-height: 1.375rem;
201
- margin-top: 1.5rem;
202
202
  }
203
203
  .pkt-alert__icon {
204
204
  --fg-color: var(--pkt-color-alert-icon-fg);
@@ -227,28 +227,28 @@
227
227
  left: 1.25rem;
228
228
  }
229
229
  .pkt-alert--compact .pkt-alert__text {
230
- font-size: 1rem;
231
- font-weight: 300;
230
+ margin: 0 2.875rem;
232
231
  letter-spacing: -0.2px;
232
+ font-weight: 300;
233
+ font-size: 1rem;
233
234
  line-height: 1.5rem;
234
- margin: 0 2.875rem;
235
235
  }
236
236
  .pkt-alert--compact .pkt-alert__close {
237
237
  top: 0.25rem;
238
238
  }
239
239
 
240
- /*
240
+ /*
241
241
  * Back link component
242
242
  */
243
243
  .pkt-back-link__icon {
244
244
  flex-basis: 1rem;
245
245
  }
246
246
  .pkt-back-link__text {
247
- font-size: 0.875rem;
248
- font-weight: 300;
247
+ flex-grow: 1;
249
248
  letter-spacing: -0.2px;
249
+ font-weight: 300;
250
+ font-size: 0.875rem;
250
251
  line-height: 1.375rem;
251
- flex-grow: 1;
252
252
  }
253
253
 
254
254
  /*
@@ -298,9 +298,9 @@
298
298
  */
299
299
  .pkt-breadcrumbs {
300
300
  position: relative;
301
- font-size: 0.875rem;
302
- font-weight: 300;
303
301
  letter-spacing: -0.2px;
302
+ font-weight: 300;
303
+ font-size: 0.875rem;
304
304
  line-height: 1.375rem;
305
305
  }
306
306
  .pkt-breadcrumbs__list {
@@ -412,9 +412,9 @@ pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker {
412
412
  }
413
413
  .pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input,
414
414
  pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input {
415
- font-size: 1rem;
416
- font-weight: 500;
417
415
  letter-spacing: -0.2px;
416
+ font-weight: 500;
417
+ font-size: 1rem;
418
418
  line-height: 1.5rem;
419
419
  }
420
420
  .pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input:is(select),
@@ -699,15 +699,15 @@ pkt-datepicker .pkt-datepicker__tags .pkt-tag {
699
699
  * Footer element
700
700
  */
701
701
  .pkt-footer {
702
- font-size: 1.125rem;
703
- font-weight: 300;
704
- letter-spacing: -0.2px;
705
- line-height: 1.75rem;
706
702
  padding: 2.5rem 1.5rem;
707
703
  background-color: var(--pkt-color-surface-strong-dark-blue);
708
704
  color: var(--pkt-color-text-body-default);
709
705
  display: flex;
710
706
  align-items: center;
707
+ letter-spacing: -0.2px;
708
+ font-weight: 300;
709
+ font-size: 1.125rem;
710
+ line-height: 1.75rem;
711
711
  }
712
712
  @media screen and (min-width: 80rem) {
713
713
  .pkt-footer {
@@ -719,13 +719,13 @@ pkt-datepicker .pkt-datepicker__tags .pkt-tag {
719
719
  max-width: 80rem;
720
720
  }
721
721
  .pkt-footer__title {
722
- font-size: 1.5rem;
723
- font-weight: 500;
724
- letter-spacing: -0.2px;
725
- line-height: 2.25rem;
726
722
  margin-bottom: 2rem;
727
723
  margin-top: 0;
728
724
  color: var(--pkt-color-text-body-default);
725
+ letter-spacing: -0.2px;
726
+ font-weight: 500;
727
+ font-size: 1.5rem;
728
+ line-height: 2.25rem;
729
729
  }
730
730
  .pkt-footer__text:last-child {
731
731
  margin-bottom: 0;
@@ -802,15 +802,15 @@ pkt-datepicker .pkt-datepicker__tags .pkt-tag {
802
802
  }
803
803
 
804
804
  .pkt-footer-simple {
805
- font-size: 1.125rem;
806
- font-weight: 300;
807
- letter-spacing: -0.2px;
808
- line-height: 1.75rem;
809
805
  padding: 2rem 1.5rem;
810
806
  background-color: var(--pkt-color-surface-strong-dark-blue);
811
807
  color: var(--pkt-color-text-body-default);
812
808
  display: flex;
813
809
  align-items: center;
810
+ letter-spacing: -0.2px;
811
+ font-weight: 300;
812
+ font-size: 1.125rem;
813
+ line-height: 1.75rem;
814
814
  }
815
815
  @media screen and (min-width: 80rem) {
816
816
  .pkt-footer-simple {
@@ -926,9 +926,9 @@ pkt-datepicker .pkt-datepicker__tags .pkt-tag {
926
926
  white-space: nowrap;
927
927
  text-overflow: ellipsis;
928
928
  overflow: hidden;
929
- font-size: 1.375rem;
930
- font-weight: 300;
931
929
  letter-spacing: -0.2px;
930
+ font-weight: 300;
931
+ font-size: 1.375rem;
932
932
  line-height: 2.125rem;
933
933
  }
934
934
  @media screen and (min-width: 48rem) {
@@ -939,9 +939,9 @@ pkt-datepicker .pkt-datepicker__tags .pkt-tag {
939
939
  @media screen and (min-width: 80rem) {
940
940
  .pkt-header__logo-service {
941
941
  padding-top: 0.6rem;
942
- font-size: 1.5rem;
943
- font-weight: 300;
944
942
  letter-spacing: -0.2px;
943
+ font-weight: 300;
944
+ font-size: 1.5rem;
945
945
  line-height: 2.25rem;
946
946
  }
947
947
  }
@@ -964,9 +964,9 @@ pkt-datepicker .pkt-datepicker__tags .pkt-tag {
964
964
  }
965
965
  .pkt-header--narrow .pkt-header__logo-service {
966
966
  padding-top: 0.28rem;
967
- font-size: 1.125rem;
968
- font-weight: 300;
969
967
  letter-spacing: -0.2px;
968
+ font-weight: 300;
969
+ font-size: 1.125rem;
970
970
  line-height: 1.75rem;
971
971
  }
972
972
  .pkt-header--narrow .pkt-header__logo-svg {
@@ -1096,21 +1096,21 @@ pkt-datepicker .pkt-datepicker__tags .pkt-tag {
1096
1096
  }
1097
1097
  .pkt-user-menu__label {
1098
1098
  color: var(--pkt-color-grays-gray-600);
1099
- font-size: 0.875rem;
1100
- font-weight: 500;
1101
1099
  letter-spacing: -0.2px;
1100
+ font-weight: 500;
1101
+ font-size: 0.875rem;
1102
1102
  line-height: 1.375rem;
1103
1103
  }
1104
1104
  .pkt-user-menu__name {
1105
- font-size: 1.125rem;
1106
- font-weight: 500;
1107
1105
  letter-spacing: -0.2px;
1106
+ font-weight: 500;
1107
+ font-size: 1.125rem;
1108
1108
  line-height: 1.75rem;
1109
1109
  }
1110
1110
  .pkt-user-menu__last-logged-in, .pkt-user-menu__org_number {
1111
- font-size: 1rem;
1112
- font-weight: 300;
1113
1111
  letter-spacing: -0.2px;
1112
+ font-weight: 300;
1113
+ font-size: 1rem;
1114
1114
  line-height: 1.5rem;
1115
1115
  }
1116
1116
  .pkt-user-menu .pkt-list {
@@ -1168,15 +1168,15 @@ pkt-icon > svg {
1168
1168
 
1169
1169
  /* inputwrapper */
1170
1170
  .pkt-inputwrapper__label {
1171
- font-size: 1.125rem;
1172
- font-weight: 500;
1173
- letter-spacing: -0.2px;
1174
- line-height: 1.75rem;
1175
1171
  display: flex;
1176
1172
  flex-direction: column;
1177
1173
  align-items: flex-start;
1178
1174
  gap: 0.5rem;
1179
1175
  color: var(--pkt-color-text-body-default);
1176
+ letter-spacing: -0.2px;
1177
+ font-weight: 500;
1178
+ font-size: 1.125rem;
1179
+ line-height: 1.75rem;
1180
1180
  }
1181
1181
  .pkt-inputwrapper__label > h2 {
1182
1182
  font-size: inherit;
@@ -1188,22 +1188,22 @@ pkt-icon > svg {
1188
1188
  }
1189
1189
  .pkt-inputwrapper__helptext {
1190
1190
  width: min(100%, 31rem);
1191
- font-size: 0.875rem;
1192
- font-weight: 300;
1191
+ color: var(--pkt-color-text-body-default);
1193
1192
  letter-spacing: -0.2px;
1193
+ font-weight: 300;
1194
+ font-size: 0.875rem;
1194
1195
  line-height: 1.375rem;
1195
- color: var(--pkt-color-text-body-default);
1196
1196
  }
1197
1197
  .pkt-inputwrapper__helptext > .pkt-btn, .pkt-inputwrapper__helptext-expandable .pkt-btn {
1198
- font-size: 0.875rem;
1199
- font-weight: 300;
1200
- letter-spacing: -0.2px;
1201
- line-height: 1.375rem;
1202
1198
  padding: 0;
1203
1199
  height: auto;
1204
1200
  display: inline-flex;
1205
1201
  text-align: left;
1206
1202
  align-items: center;
1203
+ letter-spacing: -0.2px;
1204
+ font-weight: 300;
1205
+ font-size: 0.875rem;
1206
+ line-height: 1.375rem;
1207
1207
  }
1208
1208
  .pkt-inputwrapper__helptext > *:first-child {
1209
1209
  margin-top: 0;
@@ -1212,11 +1212,11 @@ pkt-icon > svg {
1212
1212
  margin-bottom: 0;
1213
1213
  }
1214
1214
  .pkt-inputwrapper__helptext-expandable-heading {
1215
- font-size: 1.125rem;
1216
- font-weight: 500;
1215
+ margin: 0;
1217
1216
  letter-spacing: -0.2px;
1217
+ font-weight: 500;
1218
+ font-size: 1.125rem;
1218
1219
  line-height: 1.75rem;
1219
- margin: 0;
1220
1220
  }
1221
1221
  .pkt-inputwrapper__helptext-expandable-open {
1222
1222
  display: block;
@@ -1354,9 +1354,9 @@ pkt-icon > svg {
1354
1354
  }
1355
1355
  .pkt-linkcard__title {
1356
1356
  grid-column: 2;
1357
- font-size: 1.25rem;
1358
- font-weight: 500;
1359
1357
  letter-spacing: -0.2px;
1358
+ font-weight: 500;
1359
+ font-size: 1.25rem;
1360
1360
  line-height: 2rem;
1361
1361
  }
1362
1362
  .pkt-linkcard__title > p {
@@ -1364,9 +1364,9 @@ pkt-icon > svg {
1364
1364
  }
1365
1365
  @media screen and (min-width: 35.938rem) {
1366
1366
  .pkt-linkcard__title {
1367
- font-size: 1.5rem;
1368
- font-weight: 500;
1369
1367
  letter-spacing: -0.2px;
1368
+ font-weight: 500;
1369
+ font-size: 1.5rem;
1370
1370
  line-height: 2.25rem;
1371
1371
  }
1372
1372
  }
@@ -1472,9 +1472,9 @@ pkt-icon > svg {
1472
1472
  aspect-ratio: 600/165;
1473
1473
  }
1474
1474
  .pkt-loader--small > p {
1475
- font-size: 0.75rem;
1476
- font-weight: 300;
1477
1475
  letter-spacing: -0.2px;
1476
+ font-weight: 300;
1477
+ font-size: 0.75rem;
1478
1478
  line-height: 1.25rem;
1479
1479
  }
1480
1480
  .pkt-loader--small .pkt-loader__svg svg {
@@ -1484,9 +1484,9 @@ pkt-icon > svg {
1484
1484
  width: 1rem;
1485
1485
  }
1486
1486
  .pkt-loader--medium > p {
1487
- font-size: 1rem;
1488
- font-weight: 300;
1489
1487
  letter-spacing: -0.2px;
1488
+ font-weight: 300;
1489
+ font-size: 1rem;
1490
1490
  line-height: 1.5rem;
1491
1491
  }
1492
1492
  .pkt-loader--medium .pkt-loader__svg svg {
@@ -1496,9 +1496,9 @@ pkt-icon > svg {
1496
1496
  width: 2.5rem;
1497
1497
  }
1498
1498
  .pkt-loader--large > p {
1499
- font-size: 1.125rem;
1500
- font-weight: 300;
1501
1499
  letter-spacing: -0.2px;
1500
+ font-weight: 300;
1501
+ font-size: 1.125rem;
1502
1502
  line-height: 1.75rem;
1503
1503
  }
1504
1504
  .pkt-loader--large .pkt-loader__svg svg {
@@ -1753,19 +1753,19 @@ body.pkt-modal--open {
1753
1753
  }
1754
1754
  .pkt-messagebox__title {
1755
1755
  grid-area: title;
1756
- font-size: 1.5rem;
1757
- font-weight: 500;
1756
+ margin: 0 0 1.5rem 0;
1758
1757
  letter-spacing: -0.2px;
1758
+ font-weight: 500;
1759
+ font-size: 1.5rem;
1759
1760
  line-height: 2.25rem;
1760
- margin: 0 0 1.5rem 0;
1761
1761
  }
1762
1762
  .pkt-messagebox__text {
1763
1763
  grid-area: text;
1764
- font-size: 1.125rem;
1765
- font-weight: 300;
1764
+ margin: 0;
1766
1765
  letter-spacing: -0.2px;
1766
+ font-weight: 300;
1767
+ font-size: 1.125rem;
1767
1768
  line-height: 1.75rem;
1768
- margin: 0;
1769
1769
  }
1770
1770
  .pkt-messagebox__text p {
1771
1771
  margin-bottom: 1rem;
@@ -1784,15 +1784,15 @@ body.pkt-modal--open {
1784
1784
  padding: 1rem 1rem 1rem 0.75rem;
1785
1785
  }
1786
1786
  .pkt-messagebox--compact .pkt-messagebox__title {
1787
- font-size: 1rem;
1788
- font-weight: 500;
1789
1787
  letter-spacing: -0.2px;
1788
+ font-weight: 500;
1789
+ font-size: 1rem;
1790
1790
  line-height: 1.5rem;
1791
1791
  }
1792
1792
  .pkt-messagebox--compact .pkt-messagebox__text {
1793
- font-size: 1rem;
1794
- font-weight: 300;
1795
1793
  letter-spacing: -0.2px;
1794
+ font-weight: 300;
1795
+ font-size: 1rem;
1796
1796
  line-height: 1.5rem;
1797
1797
  }
1798
1798
  .pkt-messagebox--compact .pkt-messagebox__close > .pkt-btn {
@@ -1934,9 +1934,9 @@ body.pkt-modal--open {
1934
1934
  /* Common styles for all inputs */
1935
1935
  .pkt-searchinput {
1936
1936
  position: relative;
1937
- font-size: 1.125rem;
1938
- font-weight: 300;
1939
1937
  letter-spacing: -0.2px;
1938
+ font-weight: 300;
1939
+ font-size: 1.125rem;
1940
1940
  line-height: 1.75rem;
1941
1941
  }
1942
1942
  .pkt-searchinput__field {
@@ -2012,9 +2012,9 @@ body.pkt-modal--open {
2012
2012
  cursor: pointer;
2013
2013
  }
2014
2014
  .pkt-searchinput__suggestion-title {
2015
- font-size: 1.125rem;
2016
- font-weight: 500;
2017
2015
  letter-spacing: -0.2px;
2016
+ font-weight: 500;
2017
+ font-size: 1.125rem;
2018
2018
  line-height: 1.75rem;
2019
2019
  }
2020
2020
  .pkt-searchinput__suggestion-text {
@@ -2259,11 +2259,11 @@ body.pkt-modal--open {
2259
2259
  padding: 0.75rem 1rem;
2260
2260
  color: var(--pkt-color-text-action-disabled);
2261
2261
  border-bottom: 0.25rem solid transparent;
2262
- font-size: 1rem;
2263
- font-weight: 400;
2262
+ white-space: nowrap;
2264
2263
  letter-spacing: -0.2px;
2264
+ font-weight: 400;
2265
+ font-size: 1rem;
2265
2266
  line-height: 1.5rem;
2266
- white-space: nowrap;
2267
2267
  }
2268
2268
  .pkt-tabs__link .pkt-icon,
2269
2269
  .pkt-tabs__link pkt-icon, .pkt-tabs__button .pkt-icon,
@@ -2292,9 +2292,9 @@ body.pkt-modal--open {
2292
2292
  .pkt-tabs__link.active, .pkt-tabs__button.active {
2293
2293
  color: var(--pkt-color-text-action-normal);
2294
2294
  border-bottom: 0.25rem solid var(--pkt-color-border-blue);
2295
- font-size: 1rem;
2296
- font-weight: 500;
2297
2295
  letter-spacing: -0.2px;
2296
+ font-weight: 500;
2297
+ font-size: 1rem;
2298
2298
  line-height: 1.5rem;
2299
2299
  }
2300
2300
  .pkt-tabs:after {
@@ -2310,7 +2310,7 @@ body.pkt-modal--open {
2310
2310
  pointer-events: none;
2311
2311
  }
2312
2312
 
2313
- /*
2313
+ /*
2314
2314
  * Tag element
2315
2315
  */
2316
2316
  .pkt-tag {
@@ -2335,9 +2335,9 @@ body.pkt-modal--open {
2335
2335
  height: 1.875rem;
2336
2336
  column-gap: 0;
2337
2337
  color: var(--pkt-color-tag-text-normal);
2338
- font-size: 0.875rem;
2339
- font-weight: 500;
2340
2338
  letter-spacing: -0.2px;
2339
+ font-weight: 500;
2340
+ font-size: 0.875rem;
2341
2341
  line-height: 1.375rem;
2342
2342
  }
2343
2343
  .pkt-tag.pkt-btn:hover, .pkt-tag.pkt-tag--hover {
@@ -2528,23 +2528,23 @@ body.pkt-modal--open {
2528
2528
  height: 1.875rem;
2529
2529
  }
2530
2530
  .pkt-tag--large {
2531
- font-size: 1.125rem;
2532
- font-weight: 500;
2533
- letter-spacing: -0.2px;
2534
- line-height: 1.75rem;
2535
2531
  padding: 0.25rem 0.5rem;
2536
2532
  height: 2.25rem;
2533
+ letter-spacing: -0.2px;
2534
+ font-weight: 500;
2535
+ font-size: 1.125rem;
2536
+ line-height: 1.75rem;
2537
2537
  }
2538
2538
  .pkt-tag--normal-text {
2539
- font-size: 0.875rem;
2540
- font-weight: 500;
2541
2539
  letter-spacing: -0.2px;
2540
+ font-weight: 500;
2541
+ font-size: 0.875rem;
2542
2542
  line-height: 1.375rem;
2543
2543
  }
2544
2544
  .pkt-tag--thin-text {
2545
- font-size: 0.875rem;
2546
- font-weight: 300;
2547
2545
  letter-spacing: -0.2px;
2546
+ font-weight: 300;
2547
+ font-size: 0.875rem;
2548
2548
  line-height: 1.375rem;
2549
2549
  }
2550
2550
 
@@ -2648,10 +2648,6 @@ body.pkt-modal--open {
2648
2648
  }
2649
2649
 
2650
2650
  .pkt-input, .pkt-textinput__input {
2651
- font-size: 1.125rem;
2652
- font-weight: 300;
2653
- letter-spacing: -0.2px;
2654
- line-height: 1.75rem;
2655
2651
  display: flex;
2656
2652
  align-items: center;
2657
2653
  appearance: none;
@@ -2661,6 +2657,10 @@ body.pkt-modal--open {
2661
2657
  color: var(--pkt-color-input-text-normal);
2662
2658
  margin: 0;
2663
2659
  padding: 0.5rem 1rem;
2660
+ letter-spacing: -0.2px;
2661
+ font-weight: 300;
2662
+ font-size: 1.125rem;
2663
+ line-height: 1.75rem;
2664
2664
  }
2665
2665
  .pkt-input:not(.pkt-input-compact), .pkt-textinput__input:not(.pkt-input-compact) {
2666
2666
  min-height: 3rem;
@@ -2669,9 +2669,9 @@ body.pkt-modal--open {
2669
2669
  border: 0;
2670
2670
  border-bottom: 1px solid var(--pkt-color-input-border-normal);
2671
2671
  padding: 0 0 0.1rem 0;
2672
- font-size: 1rem;
2673
- font-weight: 300;
2674
2672
  letter-spacing: -0.2px;
2673
+ font-weight: 300;
2674
+ font-size: 1rem;
2675
2675
  line-height: 1.5rem;
2676
2676
  }
2677
2677
  .pkt-input-compact.pkt-input:is(select):not([multiple]), .pkt-input-compact.pkt-textinput__input:is(select):not([multiple]) {
@@ -2679,7 +2679,10 @@ body.pkt-modal--open {
2679
2679
  padding-right: 2rem;
2680
2680
  }
2681
2681
  .pkt-input:not(textarea[cols]):not(input[size]):not(.pkt-input--fullwidth):not(.pkt-datepicker__input:not(.pkt-datepicker--multiple)), .pkt-textinput__input:not(textarea[cols]):not(input[size]):not(.pkt-input--fullwidth):not(.pkt-datepicker__input:not(.pkt-datepicker--multiple)), .pkt-input__container:not(:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple)))):not(:is(:has(textarea[cols]))):not(:is(:has(input[size]))):not(:is(:has(.pkt-input--fullwidth))) {
2682
- width: min(100%, 31rem);
2682
+ width: min(31rem, 100%);
2683
+ }
2684
+ .pkt-input__container:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple))):not(:is(:has(.pkt-input--fullwidth))) {
2685
+ width: fit-content;
2683
2686
  }
2684
2687
  .pkt-input--fullwidth, .pkt-input--fullwidth + .pkt-input__counter {
2685
2688
  width: 100%;
@@ -2731,10 +2734,12 @@ body.pkt-modal--open {
2731
2734
  border: 2px solid var(--pkt-color-input-border-disabled);
2732
2735
  }
2733
2736
  .pkt-input-prefix, .pkt-input-suffix, .pkt-input-icon, .pkt-input-separator {
2734
- font-size: 1.125rem;
2735
- font-weight: 300;
2736
2737
  letter-spacing: -0.2px;
2738
+ font-weight: 300;
2739
+ font-size: 1.125rem;
2737
2740
  line-height: 1.75rem;
2741
+ }
2742
+ .pkt-input-prefix, .pkt-input-suffix, .pkt-input-icon, .pkt-input-separator {
2738
2743
  display: flex;
2739
2744
  align-items: center;
2740
2745
  width: auto;
@@ -2791,7 +2796,6 @@ body.pkt-modal--open {
2791
2796
  box-shadow: 0 0 0 2px var(--pkt-color-input-border-error);
2792
2797
  }
2793
2798
  .pkt-input__container {
2794
- width: fit-content;
2795
2799
  display: flex;
2796
2800
  align-items: center;
2797
2801
  align-self: stretch;
@@ -2832,18 +2836,22 @@ body.pkt-modal--open {
2832
2836
  border-color: var(--pkt-color-input-border-active);
2833
2837
  }
2834
2838
  .pkt-input__counter {
2835
- font-size: 0.875rem;
2836
- font-weight: 300;
2837
2839
  letter-spacing: -0.2px;
2840
+ font-weight: 300;
2841
+ font-size: 0.875rem;
2838
2842
  line-height: 1.375rem;
2843
+ }
2844
+ .pkt-input__counter {
2839
2845
  width: min(100%, 31rem);
2840
2846
  text-align: right;
2841
2847
  }
2842
2848
  .pkt-input__counter--error {
2843
- font-size: 0.875rem;
2844
- font-weight: 500;
2845
2849
  letter-spacing: -0.2px;
2850
+ font-weight: 500;
2851
+ font-size: 0.875rem;
2846
2852
  line-height: 1.375rem;
2853
+ }
2854
+ .pkt-input__counter--error {
2847
2855
  color: var(--pkt-color-input-text-error);
2848
2856
  }
2849
2857
  .pkt-input__range-inputs {