@adyen/kyc-components 2.63.0 → 2.64.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/dist/style.css CHANGED
@@ -1,5 +1,6 @@
1
1
  /* #region Borders */
2
2
  /* #endregion */
3
+ /* for container queries */
3
4
  /* #region Z-index */
4
5
  /* #endregion */
5
6
  /* #region Timing functions */
@@ -24,8 +25,10 @@
24
25
  .adyen-kyc-summary-section {
25
26
  margin-bottom: var(--adyen-sdk-spacer-090, 24px);
26
27
  }
27
- .adyen-layout-lg .adyen-kyc-summary-section {
28
- padding-left: var(--adyen-sdk-spacer-120, 48px);
28
+ @container main (min-width: 1024px) {
29
+ .adyen-kyc-summary-section {
30
+ padding-left: var(--adyen-sdk-spacer-120, 48px);
31
+ }
29
32
  }
30
33
  .adyen-kyc-summary-section__header {
31
34
  display: flex;
@@ -45,8 +48,10 @@
45
48
  font-size: var(--adyen-sdk-text-body-font-size, 14px);
46
49
  margin-bottom: var(--adyen-sdk-spacer-060, 12px);
47
50
  }
48
- .adyen-layout-xs-only .adyen-kyc-summary-section__field {
49
- flex-direction: column;
51
+ @container main (max-width: 680px) {
52
+ .adyen-kyc-summary-section__field {
53
+ flex-direction: column;
54
+ }
50
55
  }
51
56
  .adyen-kyc-summary-section__field:last-child {
52
57
  margin-bottom: var(--adyen-sdk-spacer-000, 0px);
@@ -61,8 +66,10 @@
61
66
  .adyen-kyc-summary-section__data {
62
67
  margin: var(--adyen-sdk-spacer-000, 0px);
63
68
  }
64
- .adyen-layout-xs-only .adyen-kyc-summary-section__data {
65
- margin-top: var(--adyen-sdk-spacer-010, 2px);
69
+ @container main (max-width: 680px) {
70
+ .adyen-kyc-summary-section__data {
71
+ margin-top: var(--adyen-sdk-spacer-010, 2px);
72
+ }
66
73
  }
67
74
  .adyen-kyc-summary__legal-caption {
68
75
  color: var(--adyen-sdk-color-label-secondary, #5c687c);
@@ -72,6 +79,7 @@
72
79
  line-height: var(--adyen-sdk-text-caption-line-height, 18px);
73
80
  }/* #region Borders */
74
81
  /* #endregion */
82
+ /* for container queries */
75
83
  /* #region Z-index */
76
84
  /* #endregion */
77
85
  /* #region Timing functions */
@@ -215,6 +223,7 @@ button[disabled]:hover {
215
223
  color: var(--adyen-sdk-color-label-disabled, #8d95a3);
216
224
  }/* #region Borders */
217
225
  /* #endregion */
226
+ /* for container queries */
218
227
  /* #region Z-index */
219
228
  /* #endregion */
220
229
  /* #region Timing functions */
@@ -296,6 +305,7 @@ button[disabled]:hover {
296
305
  display: inline-block;
297
306
  }/* #region Borders */
298
307
  /* #endregion */
308
+ /* for container queries */
299
309
  /* #region Z-index */
300
310
  /* #endregion */
301
311
  /* #region Timing functions */
@@ -375,6 +385,7 @@ button[disabled]:hover {
375
385
  margin-bottom: var(--adyen-sdk-spacer-080, 20px);
376
386
  }/* #region Borders */
377
387
  /* #endregion */
388
+ /* for container queries */
378
389
  /* #region Z-index */
379
390
  /* #endregion */
380
391
  /* #region Timing functions */
@@ -631,6 +642,7 @@ button[disabled]:hover {
631
642
  padding-left: var(--adyen-sdk-spacer-070, 16px);
632
643
  }/* #region Borders */
633
644
  /* #endregion */
645
+ /* for container queries */
634
646
  /* #region Z-index */
635
647
  /* #endregion */
636
648
  /* #region Timing functions */
@@ -848,6 +860,7 @@ button[disabled]:hover {
848
860
  background-color: var(--adyen-sdk-color-background-highlight-weak, #f2f8ff);
849
861
  }/* #region Borders */
850
862
  /* #endregion */
863
+ /* for container queries */
851
864
  /* #region Z-index */
852
865
  /* #endregion */
853
866
  /* #region Timing functions */
@@ -925,6 +938,7 @@ button[disabled]:hover {
925
938
  display: flex;
926
939
  }/* #region Borders */
927
940
  /* #endregion */
941
+ /* for container queries */
928
942
  /* #region Z-index */
929
943
  /* #endregion */
930
944
  /* #region Timing functions */
@@ -993,6 +1007,7 @@ button[disabled]:hover {
993
1007
  line-height: var(--adyen-sdk-text-body-line-height, 20px);
994
1008
  }/* #region Borders */
995
1009
  /* #endregion */
1010
+ /* for container queries */
996
1011
  /* #region Z-index */
997
1012
  /* #endregion */
998
1013
  /* #region Timing functions */
@@ -1054,9 +1069,11 @@ button[disabled]:hover {
1054
1069
  line-height: var(--adyen-sdk-text-title-line-height, 26px);
1055
1070
  letter-spacing: var(--adyen-sdk-text-title-letter-spacing, 0);
1056
1071
  }
1057
- .adyen-layout-xs-only .adyen-kyc-typography--title {
1058
- font-size: var(--adyen-sdk-text-title-mobile-font-size, 16px);
1059
- line-height: var(--adyen-sdk-text-title-mobile-line-height, 26px);
1072
+ @container main (max-width: 680px) {
1073
+ .adyen-kyc-typography--title {
1074
+ font-size: var(--adyen-sdk-text-title-mobile-font-size, 16px);
1075
+ line-height: var(--adyen-sdk-text-title-mobile-line-height, 26px);
1076
+ }
1060
1077
  }
1061
1078
  .adyen-kyc-typography--title-m {
1062
1079
  font-size: var(--adyen-sdk-text-title-m-font-size, 20px);
@@ -1065,9 +1082,11 @@ button[disabled]:hover {
1065
1082
  line-height: var(--adyen-sdk-text-title-m-line-height, 30px);
1066
1083
  letter-spacing: var(--adyen-sdk-text-title-m-letter-spacing, 0);
1067
1084
  }
1068
- .adyen-layout-xs-only .adyen-kyc-typography--title-m {
1069
- font-size: var(--adyen-sdk-text-title-m-mobile-font-size, 18px);
1070
- line-height: var(--adyen-sdk-text-title-m-mobile-line-height, 28px);
1085
+ @container main (max-width: 680px) {
1086
+ .adyen-kyc-typography--title-m {
1087
+ font-size: var(--adyen-sdk-text-title-m-mobile-font-size, 18px);
1088
+ line-height: var(--adyen-sdk-text-title-m-mobile-line-height, 28px);
1089
+ }
1071
1090
  }
1072
1091
  .adyen-kyc-typography--title-l {
1073
1092
  font-size: var(--adyen-sdk-text-title-l-font-size, 24px);
@@ -1076,9 +1095,11 @@ button[disabled]:hover {
1076
1095
  line-height: var(--adyen-sdk-text-title-l-line-height, 34px);
1077
1096
  letter-spacing: var(--adyen-sdk-text-title-l-letter-spacing, 0);
1078
1097
  }
1079
- .adyen-layout-xs-only .adyen-kyc-typography--title-l {
1080
- font-size: var(--adyen-sdk-text-title-l-mobile-font-size, 20px);
1081
- line-height: var(--adyen-sdk-text-title-l-mobile-line-height, 30px);
1098
+ @container main (max-width: 680px) {
1099
+ .adyen-kyc-typography--title-l {
1100
+ font-size: var(--adyen-sdk-text-title-l-mobile-font-size, 20px);
1101
+ line-height: var(--adyen-sdk-text-title-l-mobile-line-height, 30px);
1102
+ }
1082
1103
  }
1083
1104
  .adyen-kyc-typography--primary {
1084
1105
  color: var(--adyen-sdk-color-label-primary, #00112c);
@@ -1179,6 +1200,7 @@ button[disabled]:hover {
1179
1200
  z-index: 0;
1180
1201
  }/* #region Borders */
1181
1202
  /* #endregion */
1203
+ /* for container queries */
1182
1204
  /* #region Z-index */
1183
1205
  /* #endregion */
1184
1206
  /* #region Timing functions */
@@ -1202,6 +1224,7 @@ button[disabled]:hover {
1202
1224
  line-height: var(--adyen-sdk-text-title-line-height, 26px);
1203
1225
  }/* #region Borders */
1204
1226
  /* #endregion */
1227
+ /* for container queries */
1205
1228
  /* #region Z-index */
1206
1229
  /* #endregion */
1207
1230
  /* #region Timing functions */
@@ -1329,18 +1352,21 @@ button[disabled]:hover {
1329
1352
  right: 0;
1330
1353
  }
1331
1354
 
1332
- .adyen-layout-xs-only [class*=adyen-kyc-field--col-] {
1333
- width: 100%;
1334
- }
1335
-
1336
- .adyen-layout-md .adyen-kyc-field-wrapper {
1337
- flex-wrap: nowrap;
1338
- }
1339
- .adyen-layout-md .adyen-kyc-field-wrapper > .adyen-kyc-field:first-child {
1340
- margin-right: var(--adyen-sdk-spacer-040, 8px);
1355
+ @container main (max-width: 680px) {
1356
+ [class*=adyen-kyc-field--col-] {
1357
+ width: 100%;
1358
+ }
1341
1359
  }
1342
- .adyen-layout-md .adyen-kyc-field-wrapper > .adyen-kyc-field:nth-child(2) {
1343
- margin-left: var(--adyen-sdk-spacer-040, 8px);
1360
+ @container main (min-width: 680px) and (max-width: 1024px) {
1361
+ .adyen-kyc-field-wrapper {
1362
+ flex-wrap: nowrap;
1363
+ }
1364
+ .adyen-kyc-field-wrapper > .adyen-kyc-field:first-child {
1365
+ margin-right: var(--adyen-sdk-spacer-040, 8px);
1366
+ }
1367
+ .adyen-kyc-field-wrapper > .adyen-kyc-field:nth-child(2) {
1368
+ margin-left: var(--adyen-sdk-spacer-040, 8px);
1369
+ }
1344
1370
  }.adyen-kyc-company-registration-details fieldset {
1345
1371
  border: 0;
1346
1372
  padding: 0;
@@ -1392,6 +1418,7 @@ button[disabled]:hover {
1392
1418
  color: inherit;
1393
1419
  }/* #region Borders */
1394
1420
  /* #endregion */
1421
+ /* for container queries */
1395
1422
  /* #region Z-index */
1396
1423
  /* #endregion */
1397
1424
  /* #region Timing functions */
@@ -1530,6 +1557,7 @@ button[disabled]:hover {
1530
1557
  font-weight: var(--adyen-sdk-text-caption-font-weight, 400);
1531
1558
  }/* #region Borders */
1532
1559
  /* #endregion */
1560
+ /* for container queries */
1533
1561
  /* #region Z-index */
1534
1562
  /* #endregion */
1535
1563
  /* #region Timing functions */
@@ -1548,8 +1576,10 @@ button[disabled]:hover {
1548
1576
  padding-right: var(--adyen-sdk-spacer-070, 16px);
1549
1577
  margin-bottom: var(--adyen-sdk-spacer-070, 16px);
1550
1578
  }
1551
- .adyen-layout-md .adyen-kyc-radio-group-card__label {
1552
- padding-right: var(--adyen-sdk-spacer-000, 0px);
1579
+ @container main (min-width: 680px) and (max-width: 1024px) {
1580
+ .adyen-kyc-radio-group-card__label {
1581
+ padding-right: var(--adyen-sdk-spacer-000, 0px);
1582
+ }
1553
1583
  }
1554
1584
  .adyen-kyc-radio-group-card__subtitle {
1555
1585
  color: var(--adyen-sdk-color-label-tertiary, #8d95a3);
@@ -1575,6 +1605,7 @@ button[disabled]:hover {
1575
1605
  top: var(--adyen-sdk-spacer-070, 16px);
1576
1606
  }/* #region Borders */
1577
1607
  /* #endregion */
1608
+ /* for container queries */
1578
1609
  /* #region Z-index */
1579
1610
  /* #endregion */
1580
1611
  /* #region Timing functions */
@@ -1630,6 +1661,7 @@ button[disabled]:hover {
1630
1661
  margin-bottom: var(--adyen-sdk-spacer-040, 8px);
1631
1662
  }/* #region Borders */
1632
1663
  /* #endregion */
1664
+ /* for container queries */
1633
1665
  /* #region Z-index */
1634
1666
  /* #endregion */
1635
1667
  /* #region Timing functions */
@@ -1689,6 +1721,7 @@ button[disabled]:hover {
1689
1721
  background-color: var(--adyen-sdk-color-background-critical-strong, #e22d2d);
1690
1722
  }/* #region Borders */
1691
1723
  /* #endregion */
1724
+ /* for container queries */
1692
1725
  /* #region Z-index */
1693
1726
  /* #endregion */
1694
1727
  /* #region Timing functions */
@@ -1738,6 +1771,7 @@ button[disabled]:hover {
1738
1771
  text-align: center;
1739
1772
  }/* #region Borders */
1740
1773
  /* #endregion */
1774
+ /* for container queries */
1741
1775
  /* #region Z-index */
1742
1776
  /* #endregion */
1743
1777
  /* #region Timing functions */
@@ -1800,6 +1834,7 @@ button[disabled]:hover {
1800
1834
  margin: var(--adyen-sdk-spacer-060, 12px) 0;
1801
1835
  }/* #region Borders */
1802
1836
  /* #endregion */
1837
+ /* for container queries */
1803
1838
  /* #region Z-index */
1804
1839
  /* #endregion */
1805
1840
  /* #region Timing functions */
@@ -1846,6 +1881,7 @@ button[disabled]:hover {
1846
1881
  list-style-type: decimal;
1847
1882
  }/* #region Borders */
1848
1883
  /* #endregion */
1884
+ /* for container queries */
1849
1885
  /* #region Z-index */
1850
1886
  /* #endregion */
1851
1887
  /* #region Timing functions */
@@ -1863,15 +1899,17 @@ fieldset {
1863
1899
  flex-direction: column;
1864
1900
  gap: 0;
1865
1901
  }
1866
- .adyen-layout-md .adyen-kyc-address__condensed-fields {
1867
- flex-direction: row;
1868
- gap: var(--adyen-sdk-spacer-080, 20px);
1869
- }
1870
- .adyen-layout-md .adyen-kyc-address__condensed-fields > *:first-child {
1871
- flex: 0 0 50%;
1872
- }
1873
- .adyen-layout-md .adyen-kyc-address__condensed-fields > *:not(:first-child) {
1874
- flex: 1;
1902
+ @container main (min-width: 680px) and (max-width: 1024px) {
1903
+ .adyen-kyc-address__condensed-fields {
1904
+ flex-direction: row;
1905
+ gap: var(--adyen-sdk-spacer-080, 20px);
1906
+ }
1907
+ .adyen-kyc-address__condensed-fields > *:first-child {
1908
+ flex: 0 0 50%;
1909
+ }
1910
+ .adyen-kyc-address__condensed-fields > *:not(:first-child) {
1911
+ flex: 1;
1912
+ }
1875
1913
  }
1876
1914
 
1877
1915
  .adyen-kyc-search-address {
@@ -1913,6 +1951,7 @@ fieldset {
1913
1951
  text-align: center;
1914
1952
  }/* #region Borders */
1915
1953
  /* #endregion */
1954
+ /* for container queries */
1916
1955
  /* #region Z-index */
1917
1956
  /* #endregion */
1918
1957
  /* #region Timing functions */
@@ -1926,8 +1965,10 @@ fieldset {
1926
1965
  .adyen-kyc-id-verification {
1927
1966
  min-height: 250px;
1928
1967
  }
1929
- .adyen-layout-xs-only .adyen-kyc-id-verification {
1930
- height: 380px;
1968
+ @container main (max-width: 680px) {
1969
+ .adyen-kyc-id-verification {
1970
+ height: 380px;
1971
+ }
1931
1972
  }
1932
1973
  .adyen-kyc-id-verification .onfido-sdk-ui-Modal-inner {
1933
1974
  border: 0 !important;
@@ -2033,6 +2074,7 @@ fieldset {
2033
2074
  margin-bottom: var(--adyen-sdk-spacer-070, 16px);
2034
2075
  }/* #region Borders */
2035
2076
  /* #endregion */
2077
+ /* for container queries */
2036
2078
  /* #region Z-index */
2037
2079
  /* #endregion */
2038
2080
  /* #region Timing functions */
@@ -2064,6 +2106,7 @@ fieldset {
2064
2106
  flex: 1;
2065
2107
  }/* #region Borders */
2066
2108
  /* #endregion */
2109
+ /* for container queries */
2067
2110
  /* #region Z-index */
2068
2111
  /* #endregion */
2069
2112
  /* #region Timing functions */
@@ -2076,13 +2119,17 @@ fieldset {
2076
2119
  align-items: center;
2077
2120
  margin: var(--adyen-sdk-spacer-120, 48px) var(--adyen-sdk-spacer-000, 0px) var(--adyen-sdk-spacer-000, 0px);
2078
2121
  }
2079
- .adyen-layout-xs-only .adyen-action-bar {
2080
- flex-direction: column;
2081
- gap: var(--adyen-sdk-spacer-040, 8px);
2122
+ @container main (max-width: 680px) {
2123
+ .adyen-action-bar {
2124
+ flex-direction: column;
2125
+ gap: var(--adyen-sdk-spacer-040, 8px);
2126
+ }
2082
2127
  }
2083
- .adyen-layout-md .adyen-action-bar {
2084
- flex-flow: row-reverse;
2085
- justify-content: space-between;
2128
+ @container main (min-width: 680px) and (max-width: 1024px) {
2129
+ .adyen-action-bar {
2130
+ flex-flow: row-reverse;
2131
+ justify-content: space-between;
2132
+ }
2086
2133
  }
2087
2134
 
2088
2135
  .adyen-action-bar__action {
@@ -2090,8 +2137,10 @@ fieldset {
2090
2137
  align-items: center;
2091
2138
  gap: var(--adyen-sdk-spacer-040, 8px);
2092
2139
  }
2093
- .adyen-layout-xs-only .adyen-action-bar__action {
2094
- width: 100%;
2140
+ @container main (max-width: 680px) {
2141
+ .adyen-action-bar__action {
2142
+ width: 100%;
2143
+ }
2095
2144
  }
2096
2145
 
2097
2146
  .adyen-action-bar__button {
@@ -2138,6 +2187,7 @@ fieldset {
2138
2187
  fill: var(--adyen-sdk-color-label-highlight, #0070f5);
2139
2188
  }/* #region Borders */
2140
2189
  /* #endregion */
2190
+ /* for container queries */
2141
2191
  /* #region Z-index */
2142
2192
  /* #endregion */
2143
2193
  /* #region Timing functions */
@@ -2148,14 +2198,18 @@ fieldset {
2148
2198
  display: flex;
2149
2199
  gap: var(--adyen-sdk-spacer-060, 12px);
2150
2200
  }
2151
- .adyen-layout-xs-only .adyen-kyc-field-verification-methods {
2152
- flex-direction: column;
2201
+ @container main (max-width: 680px) {
2202
+ .adyen-kyc-field-verification-methods {
2203
+ flex-direction: column;
2204
+ }
2153
2205
  }
2154
2206
  .adyen-kyc-field-verification-methods__card {
2155
2207
  display: flex;
2156
2208
  }
2157
- .adyen-layout-md .adyen-kyc-field-verification-methods__card {
2158
- display: block;
2209
+ @container main (min-width: 680px) and (max-width: 1024px) {
2210
+ .adyen-kyc-field-verification-methods__card {
2211
+ display: block;
2212
+ }
2159
2213
  }
2160
2214
  .adyen-kyc-field-verification-methods .adyen-kyc-radio-card {
2161
2215
  width: 100%;
@@ -2164,15 +2218,19 @@ fieldset {
2164
2218
  margin-right: var(--adyen-sdk-spacer-070, 16px);
2165
2219
  width: 20%;
2166
2220
  }
2167
- .adyen-layout-md .adyen-kyc-field-verification-methods .adyen-kyc-radio-card__icon {
2168
- margin-right: var(--adyen-sdk-spacer-000, 0px);
2169
- width: auto;
2221
+ @container main (min-width: 680px) and (max-width: 1024px) {
2222
+ .adyen-kyc-field-verification-methods .adyen-kyc-radio-card__icon {
2223
+ margin-right: var(--adyen-sdk-spacer-000, 0px);
2224
+ width: auto;
2225
+ }
2170
2226
  }
2171
2227
  .adyen-kyc-field-verification-methods .adyen-kyc-radio-card__content {
2172
2228
  width: 80%;
2173
2229
  }
2174
- .adyen-layout-md .adyen-kyc-field-verification-methods .adyen-kyc-radio-card__content {
2175
- width: auto;
2230
+ @container main (min-width: 680px) and (max-width: 1024px) {
2231
+ .adyen-kyc-field-verification-methods .adyen-kyc-radio-card__content {
2232
+ width: auto;
2233
+ }
2176
2234
  }
2177
2235
  .adyen-kyc-field-verification-methods__footer {
2178
2236
  align-items: center;
@@ -2192,8 +2250,10 @@ fieldset {
2192
2250
  .adyen-kyc-radio-group-card__illustration svg {
2193
2251
  height: 75px;
2194
2252
  }
2195
- .adyen-layout-md .adyen-kyc-radio-group-card__illustration svg {
2196
- height: 125px;
2253
+ @container main (min-width: 680px) and (max-width: 1024px) {
2254
+ .adyen-kyc-radio-group-card__illustration svg {
2255
+ height: 125px;
2256
+ }
2197
2257
  }
2198
2258
 
2199
2259
  .adyen-kyc-instant-verification-error,
@@ -2219,6 +2279,7 @@ fieldset {
2219
2279
  position: absolute;
2220
2280
  }/* #region Borders */
2221
2281
  /* #endregion */
2282
+ /* for container queries */
2222
2283
  /* #region Z-index */
2223
2284
  /* #endregion */
2224
2285
  /* #region Timing functions */
@@ -2428,6 +2489,7 @@ fieldset {
2428
2489
  text-decoration: underline;
2429
2490
  }/* #region Borders */
2430
2491
  /* #endregion */
2492
+ /* for container queries */
2431
2493
  /* #region Z-index */
2432
2494
  /* #endregion */
2433
2495
  /* #region Timing functions */
@@ -2445,9 +2507,11 @@ fieldset {
2445
2507
  display: flex;
2446
2508
  flex-direction: column;
2447
2509
  }
2448
- .adyen-layout-md .adyen-kyc-structured-list-list-item {
2449
- flex-direction: row;
2450
- align-items: center;
2510
+ @container main (min-width: 680px) and (max-width: 1024px) {
2511
+ .adyen-kyc-structured-list-list-item {
2512
+ flex-direction: row;
2513
+ align-items: center;
2514
+ }
2451
2515
  }
2452
2516
 
2453
2517
  .adyen-kyc-structured-list-list-item:not(:last-of-type) {
@@ -2466,8 +2530,10 @@ fieldset {
2466
2530
  margin: var(--adyen-sdk-spacer-020, 4px) var(--adyen-sdk-spacer-000, 0px) var(--adyen-sdk-spacer-000, 0px);
2467
2531
  overflow-x: auto;
2468
2532
  }
2469
- .adyen-layout-md .adyen-kyc-structured-list-value {
2470
- margin: var(--adyen-sdk-spacer-000, 0px);
2533
+ @container main (min-width: 680px) and (max-width: 1024px) {
2534
+ .adyen-kyc-structured-list-value {
2535
+ margin: var(--adyen-sdk-spacer-000, 0px);
2536
+ }
2471
2537
  }.adyen-kyc-basic-information {
2472
2538
  display: flex;
2473
2539
  flex-direction: column;
@@ -2498,6 +2564,7 @@ fieldset {
2498
2564
  text-wrap: nowrap;
2499
2565
  }/* #region Borders */
2500
2566
  /* #endregion */
2567
+ /* for container queries */
2501
2568
  /* #region Z-index */
2502
2569
  /* #endregion */
2503
2570
  /* #region Timing functions */
@@ -2590,6 +2657,7 @@ fieldset {
2590
2657
  color: var(--adyen-sdk-color-label-primary, #00112c);
2591
2658
  }/* #region Borders */
2592
2659
  /* #endregion */
2660
+ /* for container queries */
2593
2661
  /* #region Z-index */
2594
2662
  /* #endregion */
2595
2663
  /* #region Timing functions */
@@ -2599,8 +2667,10 @@ fieldset {
2599
2667
  .adyen-kyc-form-container {
2600
2668
  width: 100%;
2601
2669
  }
2602
- .adyen-layout-md .adyen-kyc-form-container {
2603
- flex: 1;
2670
+ @container main (min-width: 680px) and (max-width: 1024px) {
2671
+ .adyen-kyc-form-container {
2672
+ flex: 1;
2673
+ }
2604
2674
  }
2605
2675
 
2606
2676
  .adyen-kyc-form-wrapper--hidden {
@@ -2611,8 +2681,10 @@ fieldset {
2611
2681
  width: 27%;
2612
2682
  }
2613
2683
 
2614
- .adyen-layout-xs-only .adyen-kyc-dropin__content-main {
2615
- flex-direction: column;
2684
+ @container main (max-width: 680px) {
2685
+ .adyen-kyc-dropin__content-main {
2686
+ flex-direction: column;
2687
+ }
2616
2688
  }.adyen-kyc-expiry-modal__footer {
2617
2689
  display: flex;
2618
2690
  flex-direction: row;
@@ -2744,6 +2816,7 @@ fieldset {
2744
2816
  backdrop-filter: blur(10px);
2745
2817
  }/* #region Borders */
2746
2818
  /* #endregion */
2819
+ /* for container queries */
2747
2820
  /* #region Z-index */
2748
2821
  /* #endregion */
2749
2822
  /* #region Timing functions */
@@ -2803,6 +2876,7 @@ fieldset {
2803
2876
  margin: 0 calc(var(--step-progress-internal-height) / 2);
2804
2877
  }/* #region Borders */
2805
2878
  /* #endregion */
2879
+ /* for container queries */
2806
2880
  /* #region Z-index */
2807
2881
  /* #endregion */
2808
2882
  /* #region Timing functions */
@@ -2839,8 +2913,10 @@ fieldset {
2839
2913
  height: calc(100% - 56px);
2840
2914
  overflow: auto;
2841
2915
  }
2842
- .adyen-layout-md .adyen-kyc-dropin__content {
2843
- height: calc(100% - 72px);
2916
+ @container main (min-width: 680px) and (max-width: 1024px) {
2917
+ .adyen-kyc-dropin__content {
2918
+ height: calc(100% - 72px);
2919
+ }
2844
2920
  }
2845
2921
 
2846
2922
  /* padding in dropins, not used in modal view */
@@ -2850,11 +2926,15 @@ fieldset {
2850
2926
  padding: var(--adyen-sdk-spacer-070, 16px);
2851
2927
  width: 100%;
2852
2928
  }
2853
- .adyen-layout-md .adyen-kyc-dropin__content-main {
2854
- padding: var(--adyen-sdk-spacer-090, 24px);
2929
+ @container main (min-width: 680px) and (max-width: 1024px) {
2930
+ .adyen-kyc-dropin__content-main {
2931
+ padding: var(--adyen-sdk-spacer-090, 24px);
2932
+ }
2855
2933
  }
2856
- .adyen-layout-lg .adyen-kyc-dropin__content-main {
2857
- padding: var(--adyen-sdk-spacer-110, 40px);
2934
+ @container main (min-width: 1024px) {
2935
+ .adyen-kyc-dropin__content-main {
2936
+ padding: var(--adyen-sdk-spacer-110, 40px);
2937
+ }
2858
2938
  }
2859
2939
 
2860
2940
  .adyen-kyc-dropin__main {
@@ -2876,6 +2956,7 @@ fieldset {
2876
2956
  justify-content: end;
2877
2957
  }/* #region Borders */
2878
2958
  /* #endregion */
2959
+ /* for container queries */
2879
2960
  /* #region Z-index */
2880
2961
  /* #endregion */
2881
2962
  /* #region Timing functions */
@@ -2885,27 +2966,33 @@ fieldset {
2885
2966
  .adyen-kyc-form-navigation {
2886
2967
  width: 100%;
2887
2968
  }
2888
- .adyen-layout-xs-only .adyen-kyc-form-navigation .adyen-kyc-form-navigation__item {
2889
- display: none;
2890
- }
2891
- .adyen-layout-xs-only .adyen-kyc-form-navigation .adyen-kyc-form-navigation__home-button-item .adyen-kyc-button__text {
2892
- font-size: 0;
2893
- }
2894
- .adyen-layout-xs-only .adyen-kyc-form-navigation .adyen-kyc-form-navigation__home-button-item .adyen-kyc-form-navigation__home-button {
2895
- font-size: var(--adyen-sdk-text-title-font-size, 16px);
2896
- font-family: var(--adyen-sdk-text-title-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
2897
- font-weight: var(--adyen-sdk-text-title-font-weight, 600);
2898
- line-height: var(--adyen-sdk-text-title-line-height, 26px);
2899
- padding-left: var(--adyen-sdk-spacer-000, 0px);
2900
- }
2901
- .adyen-layout-md .adyen-kyc-form-navigation {
2902
- padding-right: var(--adyen-sdk-spacer-100, 32px);
2969
+ @container main (max-width: 680px) {
2970
+ .adyen-kyc-form-navigation .adyen-kyc-form-navigation__item {
2971
+ display: none;
2972
+ }
2973
+ .adyen-kyc-form-navigation .adyen-kyc-form-navigation__home-button-item .adyen-kyc-button__text {
2974
+ font-size: 0;
2975
+ }
2976
+ .adyen-kyc-form-navigation .adyen-kyc-form-navigation__home-button-item .adyen-kyc-form-navigation__home-button {
2977
+ font-size: var(--adyen-sdk-text-title-font-size, 16px);
2978
+ font-family: var(--adyen-sdk-text-title-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
2979
+ font-weight: var(--adyen-sdk-text-title-font-weight, 600);
2980
+ line-height: var(--adyen-sdk-text-title-line-height, 26px);
2981
+ padding-left: var(--adyen-sdk-spacer-000, 0px);
2982
+ }
2903
2983
  }
2904
- .adyen-layout-md .adyen-kyc-form-navigation .adyen-kyc-form-navigation__step-count {
2905
- display: none;
2984
+ @container main (min-width: 680px) and (max-width: 1024px) {
2985
+ .adyen-kyc-form-navigation {
2986
+ padding-right: var(--adyen-sdk-spacer-100, 32px);
2987
+ }
2988
+ .adyen-kyc-form-navigation .adyen-kyc-form-navigation__step-count {
2989
+ display: none;
2990
+ }
2906
2991
  }
2907
- .adyen-layout-xs-only .adyen-kyc-form-navigation .adyen-kyc-form-navigation__header {
2908
- display: none;
2992
+ @container main (max-width: 680px) {
2993
+ .adyen-kyc-form-navigation .adyen-kyc-form-navigation__header {
2994
+ display: none;
2995
+ }
2909
2996
  }
2910
2997
  .adyen-kyc-form-navigation .adyen-kyc-form-navigation__header {
2911
2998
  color: var(--adyen-sdk-color-label-tertiary, #8d95a3);
@@ -2933,6 +3020,7 @@ fieldset {
2933
3020
  margin-bottom: var(--adyen-sdk-spacer-070, 16px);
2934
3021
  }/* #region Borders */
2935
3022
  /* #endregion */
3023
+ /* for container queries */
2936
3024
  /* #region Z-index */
2937
3025
  /* #endregion */
2938
3026
  /* #region Timing functions */
@@ -3007,6 +3095,7 @@ fieldset {
3007
3095
  margin-left: auto;
3008
3096
  }/* #region Borders */
3009
3097
  /* #endregion */
3098
+ /* for container queries */
3010
3099
  /* #region Z-index */
3011
3100
  /* #endregion */
3012
3101
  /* #region Timing functions */
@@ -3022,13 +3111,15 @@ fieldset {
3022
3111
  -webkit-font-smoothing: antialiased;
3023
3112
  -moz-osx-font-smoothing: grayscale;
3024
3113
  }
3025
- .adyen-layout-md .adyen-kyc-decision-makers__container {
3026
- display: flex;
3027
- flex-direction: column;
3028
- }
3029
- .adyen-layout-md .adyen-kyc-decision-makers__box {
3030
- margin-right: var(--adyen-sdk-spacer-090, 24px);
3031
- width: 33.3%;
3114
+ @container main (min-width: 680px) and (max-width: 1024px) {
3115
+ .adyen-kyc-decision-makers__container {
3116
+ display: flex;
3117
+ flex-direction: column;
3118
+ }
3119
+ .adyen-kyc-decision-makers__box {
3120
+ margin-right: var(--adyen-sdk-spacer-090, 24px);
3121
+ width: 33.3%;
3122
+ }
3032
3123
  }
3033
3124
  .adyen-kyc-decision-makers__container {
3034
3125
  margin-bottom: var(--adyen-sdk-spacer-090, 24px);
@@ -3073,6 +3164,7 @@ fieldset {
3073
3164
  margin-bottom: var(--adyen-sdk-spacer-020, 4px);
3074
3165
  }/* #region Borders */
3075
3166
  /* #endregion */
3167
+ /* for container queries */
3076
3168
  /* #region Z-index */
3077
3169
  /* #endregion */
3078
3170
  /* #region Timing functions */
@@ -3152,6 +3244,7 @@ fieldset {
3152
3244
  padding: var(--adyen-sdk-spacer-040, 8px);
3153
3245
  }/* #region Borders */
3154
3246
  /* #endregion */
3247
+ /* for container queries */
3155
3248
  /* #region Z-index */
3156
3249
  /* #endregion */
3157
3250
  /* #region Timing functions */
@@ -3218,10 +3311,13 @@ fieldset {
3218
3311
  border-top-color: var(--adyen-sdk-color-background-inverse-primary, #00112c);
3219
3312
  }
3220
3313
 
3221
- .adyen-layout-xs-only .adyen-kyc-status__text {
3222
- display: none;
3314
+ @container main (max-width: 680px) {
3315
+ .adyen-kyc-status__text {
3316
+ display: none;
3317
+ }
3223
3318
  }/* #region Borders */
3224
3319
  /* #endregion */
3320
+ /* for container queries */
3225
3321
  /* #region Z-index */
3226
3322
  /* #endregion */
3227
3323
  /* #region Timing functions */
@@ -3250,6 +3346,7 @@ fieldset {
3250
3346
  width: 100%;
3251
3347
  }/* #region Borders */
3252
3348
  /* #endregion */
3349
+ /* for container queries */
3253
3350
  /* #region Z-index */
3254
3351
  /* #endregion */
3255
3352
  /* #region Timing functions */
@@ -3419,6 +3516,7 @@ fieldset {
3419
3516
  width: 92px;
3420
3517
  }/* #region Borders */
3421
3518
  /* #endregion */
3519
+ /* for container queries */
3422
3520
  /* #region Z-index */
3423
3521
  /* #endregion */
3424
3522
  /* #region Timing functions */
@@ -3510,6 +3608,7 @@ fieldset {
3510
3608
  align-items: center;
3511
3609
  }/* #region Borders */
3512
3610
  /* #endregion */
3611
+ /* for container queries */
3513
3612
  /* #region Z-index */
3514
3613
  /* #endregion */
3515
3614
  /* #region Timing functions */
@@ -3532,8 +3631,10 @@ fieldset {
3532
3631
  .adyen-task-item__header {
3533
3632
  flex-wrap: wrap-reverse;
3534
3633
  }
3535
- .adyen-layout-md .adyen-task-item__status {
3536
- gap: var(--adyen-sdk-spacer-040, 8px);
3634
+ @container main (min-width: 680px) and (max-width: 1024px) {
3635
+ .adyen-task-item__status {
3636
+ gap: var(--adyen-sdk-spacer-040, 8px);
3637
+ }
3537
3638
  }
3538
3639
  .adyen-task-item__body {
3539
3640
  display: flex;
@@ -3627,6 +3728,7 @@ fieldset {
3627
3728
  padding-top: 1px;
3628
3729
  }/* #region Borders */
3629
3730
  /* #endregion */
3731
+ /* for container queries */
3630
3732
  /* #region Z-index */
3631
3733
  /* #endregion */
3632
3734
  /* #region Timing functions */
@@ -3644,8 +3746,10 @@ fieldset {
3644
3746
  align-items: flex-start;
3645
3747
  background: var(--adyen-sdk-color-background-primary, #ffffff);
3646
3748
  }
3647
- .adyen-layout-xs-only .adyen-task-list-group {
3648
- border: 0;
3749
+ @container main (max-width: 680px) {
3750
+ .adyen-task-list-group {
3751
+ border: 0;
3752
+ }
3649
3753
  }
3650
3754
  .adyen-task-list-group__header {
3651
3755
  padding: var(--adyen-sdk-spacer-000, 0px) var(--adyen-sdk-spacer-070, 16px);
@@ -3660,6 +3764,7 @@ fieldset {
3660
3764
  margin-top: var(--adyen-sdk-spacer-070, 16px);
3661
3765
  }/* #region Borders */
3662
3766
  /* #endregion */
3767
+ /* for container queries */
3663
3768
  /* #region Z-index */
3664
3769
  /* #endregion */
3665
3770
  /* #region Timing functions */
@@ -3712,6 +3817,7 @@ fieldset {
3712
3817
  margin-top: var(--adyen-sdk-spacer-070, 16px);
3713
3818
  }/* #region Borders */
3714
3819
  /* #endregion */
3820
+ /* for container queries */
3715
3821
  /* #region Z-index */
3716
3822
  /* #endregion */
3717
3823
  /* #region Timing functions */
@@ -3792,6 +3898,7 @@ fieldset {
3792
3898
  color: var(--adyen-sdk-color-label-secondary, #5c687c);
3793
3899
  }/* #region Borders */
3794
3900
  /* #endregion */
3901
+ /* for container queries */
3795
3902
  /* #region Z-index */
3796
3903
  /* #endregion */
3797
3904
  /* #region Timing functions */
@@ -3821,6 +3928,7 @@ fieldset {
3821
3928
  line-height: var(--adyen-sdk-text-body-line-height, 20px);
3822
3929
  }/* #region Borders */
3823
3930
  /* #endregion */
3931
+ /* for container queries */
3824
3932
  /* #region Z-index */
3825
3933
  /* #endregion */
3826
3934
  /* #region Timing functions */
@@ -4387,9 +4495,19 @@ fieldset {
4387
4495
  position: relative;
4388
4496
  padding: var(--adyen-sdk-spacer-100, 32px);
4389
4497
  border-radius: var(--adyen-sdk-border-radius-m, 8px);
4498
+ /**
4499
+ * main container query, used similarly to a @media query
4500
+ * considering our Component can be embedded in a container of arbitrary size
4501
+ * that does not necessarily match the whole window/screen size.
4502
+ * Uses s and l breakpoints defined in variables.
4503
+ */
4504
+ container-type: inline-size;
4505
+ container-name: main;
4390
4506
  }
4391
- .adyen-layout-xs-only .adyen-kyc-ui-element-container {
4392
- padding: var(--adyen-sdk-spacer-040, 8px);
4507
+ @container main (max-width: 680px) {
4508
+ .adyen-kyc-ui-element-container {
4509
+ padding: var(--adyen-sdk-spacer-040, 8px);
4510
+ }
4393
4511
  }
4394
4512
 
4395
4513
  /*
@@ -4402,6 +4520,7 @@ fieldset {
4402
4520
  padding: 0;
4403
4521
  }/* #region Borders */
4404
4522
  /* #endregion */
4523
+ /* for container queries */
4405
4524
  /* #region Z-index */
4406
4525
  /* #endregion */
4407
4526
  /* #region Timing functions */
@@ -4514,14 +4633,19 @@ fieldset {
4514
4633
  transform: translate(-50%, 0);
4515
4634
  z-index: 500;
4516
4635
  }
4517
- .adyen-layout-xs-only .adyen-kyc-dropin__toast-stack {
4518
- bottom: var(--adyen-sdk-spacer-070, 16px);
4519
- position: fixed;
4636
+ @container main (max-width: 680px) {
4637
+ .adyen-kyc-dropin__toast-stack {
4638
+ bottom: var(--adyen-sdk-spacer-070, 16px);
4639
+ position: fixed;
4640
+ }
4520
4641
  }
4521
- .adyen-layout-md .adyen-kyc-dropin__toast-stack {
4522
- top: var(--adyen-sdk-spacer-070, 16px);
4642
+ @container main (min-width: 680px) and (max-width: 1024px) {
4643
+ .adyen-kyc-dropin__toast-stack {
4644
+ top: var(--adyen-sdk-spacer-070, 16px);
4645
+ }
4523
4646
  }/* #region Borders */
4524
4647
  /* #endregion */
4648
+ /* for container queries */
4525
4649
  /* #region Z-index */
4526
4650
  /* #endregion */
4527
4651
  /* #region Timing functions */