@mond-design-system/react 3.0.3 → 4.1.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/index.css CHANGED
@@ -245,11 +245,46 @@
245
245
  width: var(--mds-control-h-sm);
246
246
  }
247
247
  .mds-Button__icon-only.mds-Button__size-md {
248
- width: var(--mds-control-h-md);
248
+ width: var(--mds-icon-btn-size);
249
+ height: var(--mds-icon-btn-size);
249
250
  }
250
251
  .mds-Button__icon-only.mds-Button__size-lg {
251
252
  width: var(--mds-control-h-lg);
252
253
  }
254
+ .mds-Button__on-media.mds-Button__variant-ghost,
255
+ .mds-Button__on-media.mds-Button__variant-secondary {
256
+ color: var(--mds-text-on-media);
257
+ }
258
+ .mds-Button__on-media.mds-Button__variant-secondary {
259
+ border-color: var(--mds-on-media-border);
260
+ }
261
+ .mds-Button__on-media.mds-Button__variant-ghost:hover:not(:disabled),
262
+ .mds-Button__on-media.mds-Button__variant-secondary:hover:not(:disabled) {
263
+ background: var(--mds-on-media-surface-hover);
264
+ color: var(--mds-text-on-media);
265
+ }
266
+ .mds-Button__on-media.mds-Button__variant-secondary:hover:not(:disabled) {
267
+ border-color: var(--mds-text-on-media);
268
+ }
269
+ .mds-Button__on-media.mds-Button__variant-ghost:active:not(:disabled),
270
+ .mds-Button__on-media.mds-Button__variant-secondary:active:not(:disabled) {
271
+ background: var(--mds-on-media-surface-active);
272
+ }
273
+ .mds-Button__on-media:focus-visible {
274
+ outline-color: var(--mds-on-media-focus-ring);
275
+ }
276
+ .mds-Button__on-media.mds-Button__variant-ghost:disabled,
277
+ .mds-Button__on-media.mds-Button__variant-secondary:disabled {
278
+ background: none;
279
+ border-color: var(--mds-on-media-border);
280
+ color: var(--mds-on-media-dim);
281
+ }
282
+ .mds-Button__button.mds-Button__shape-rect {
283
+ border-radius: var(--mds-radius-control);
284
+ }
285
+ .mds-Button__button.mds-Button__shape-pill {
286
+ border-radius: var(--mds-radius-pill);
287
+ }
253
288
 
254
289
  /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Link/Link.module.css?mds-scoped */
255
290
  .mds-Link__link {
@@ -682,11 +717,11 @@ button.mds-Link__link {
682
717
  pointer-events: none;
683
718
  }
684
719
 
685
- /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Overlay/Overlay.module.css?mds-scoped */
720
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/internal/Overlay.module.css?mds-scoped */
686
721
  .mds-Overlay__scrim {
687
722
  position: fixed;
688
723
  inset: 0;
689
- height: var(--mds-vvh, 100dvh);
724
+ height: var(--mds-vvh);
690
725
  display: flex;
691
726
  background: var(--mds-scrim);
692
727
  opacity: 0;
@@ -706,6 +741,12 @@ button.mds-Link__link {
706
741
  align-items: flex-end;
707
742
  justify-content: center;
708
743
  }
744
+ .mds-Overlay__variant-lightbox {
745
+ z-index: var(--mds-z-modal);
746
+ align-items: stretch;
747
+ justify-content: stretch;
748
+ background: var(--mds-scrim-strong);
749
+ }
709
750
 
710
751
  /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Sheet/Sheet.module.css?mds-scoped */
711
752
  .mds-Sheet__panel {
@@ -878,6 +919,15 @@ button.mds-Link__link {
878
919
  }
879
920
 
880
921
  /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Tag/Tag.module.css?mds-scoped */
922
+ .mds-hit-area__hitArea::before {
923
+ content: "";
924
+ position: absolute;
925
+ top: 50%;
926
+ left: 50%;
927
+ translate: -50% -50%;
928
+ width: max(100%, var(--mds-tap-min));
929
+ height: max(100%, var(--mds-tap-min));
930
+ }
881
931
  .mds-Tag__tag {
882
932
  display: inline-flex;
883
933
  align-items: center;
@@ -908,6 +958,7 @@ button.mds-Link__link {
908
958
  background: transparent;
909
959
  color: inherit;
910
960
  cursor: pointer;
961
+ position: relative;
911
962
  }
912
963
  .mds-Tag__remove:hover {
913
964
  background: var(--mds-surface-sunken);
@@ -931,6 +982,19 @@ button.mds-Link__link {
931
982
  align-self: stretch;
932
983
  }
933
984
 
985
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/VisuallyHidden/VisuallyHidden.module.css?mds-scoped */
986
+ .mds-VisuallyHidden__hidden {
987
+ position: absolute;
988
+ width: var(--mds-hidden-size);
989
+ height: var(--mds-hidden-size);
990
+ margin: calc(-1 * var(--mds-hidden-size));
991
+ padding: 0;
992
+ border: 0;
993
+ overflow: hidden;
994
+ clip-path: inset(50%);
995
+ white-space: nowrap;
996
+ }
997
+
934
998
  /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Skeleton/Skeleton.module.css?mds-scoped */
935
999
  .mds-Skeleton__skeleton {
936
1000
  display: block;
@@ -1131,6 +1195,15 @@ button.mds-Link__link {
1131
1195
  }
1132
1196
 
1133
1197
  /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Checkbox/Checkbox.module.css?mds-scoped */
1198
+ .mds-hit-area__hitArea::before {
1199
+ content: "";
1200
+ position: absolute;
1201
+ top: 50%;
1202
+ left: 50%;
1203
+ translate: -50% -50%;
1204
+ width: max(100%, var(--mds-tap-min));
1205
+ height: max(100%, var(--mds-tap-min));
1206
+ }
1134
1207
  .mds-Checkbox__root {
1135
1208
  display: inline-flex;
1136
1209
  align-items: center;
@@ -1183,7 +1256,9 @@ button.mds-Link__link {
1183
1256
  .mds-Checkbox__box:disabled ~ .mds-Checkbox__label {
1184
1257
  color: var(--mds-action-disabled-fg);
1185
1258
  }
1186
- .mds-Checkbox__box::before {
1259
+
1260
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Radio/Radio.module.css?mds-scoped */
1261
+ .mds-hit-area__hitArea::before {
1187
1262
  content: "";
1188
1263
  position: absolute;
1189
1264
  top: 50%;
@@ -1192,8 +1267,6 @@ button.mds-Link__link {
1192
1267
  width: max(100%, var(--mds-tap-min));
1193
1268
  height: max(100%, var(--mds-tap-min));
1194
1269
  }
1195
-
1196
- /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Radio/Radio.module.css?mds-scoped */
1197
1270
  .mds-Radio__root {
1198
1271
  display: inline-flex;
1199
1272
  align-items: center;
@@ -1242,7 +1315,9 @@ button.mds-Link__link {
1242
1315
  .mds-Radio__dot:disabled ~ .mds-Radio__label {
1243
1316
  color: var(--mds-action-disabled-fg);
1244
1317
  }
1245
- .mds-Radio__dot::before {
1318
+
1319
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Switch/Switch.module.css?mds-scoped */
1320
+ .mds-hit-area__hitArea::before {
1246
1321
  content: "";
1247
1322
  position: absolute;
1248
1323
  top: 50%;
@@ -1251,8 +1326,6 @@ button.mds-Link__link {
1251
1326
  width: max(100%, var(--mds-tap-min));
1252
1327
  height: max(100%, var(--mds-tap-min));
1253
1328
  }
1254
-
1255
- /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Switch/Switch.module.css?mds-scoped */
1256
1329
  .mds-Switch__root {
1257
1330
  display: inline-flex;
1258
1331
  align-items: center;
@@ -1270,9 +1343,9 @@ button.mds-Link__link {
1270
1343
  height: var(--mds-switch-h);
1271
1344
  border-radius: var(--mds-radius-pill);
1272
1345
  background: var(--mds-border-strong);
1273
- position: relative;
1274
1346
  cursor: inherit;
1275
1347
  transition: background-color var(--mds-transition-control);
1348
+ position: relative;
1276
1349
  }
1277
1350
  .mds-Switch__track::after {
1278
1351
  content: "";
@@ -1318,15 +1391,6 @@ button.mds-Link__link {
1318
1391
  .mds-Switch__root:has(.mds-Switch__track:disabled) .mds-Switch__label {
1319
1392
  color: var(--mds-action-disabled-fg);
1320
1393
  }
1321
- .mds-Switch__track::before {
1322
- content: "";
1323
- position: absolute;
1324
- top: 50%;
1325
- left: 50%;
1326
- translate: -50% -50%;
1327
- width: max(100%, var(--mds-tap-min));
1328
- height: max(100%, var(--mds-tap-min));
1329
- }
1330
1394
 
1331
1395
  /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/SegmentedControl/SegmentedControl.module.css?mds-scoped */
1332
1396
  .mds-SegmentedControl__group {
@@ -1336,6 +1400,24 @@ button.mds-Link__link {
1336
1400
  background: var(--mds-surface-sunken);
1337
1401
  border-radius: var(--mds-radius-control);
1338
1402
  }
1403
+ .mds-SegmentedControl__size-md .mds-SegmentedControl__face {
1404
+ height: calc(var(--mds-control-h-md) - 2 * var(--mds-pad-segment));
1405
+ padding: 0 var(--mds-pad-pill-x);
1406
+ }
1407
+ .mds-SegmentedControl__size-sm .mds-SegmentedControl__face {
1408
+ height: calc(var(--mds-control-h-sm) - 2 * var(--mds-pad-segment));
1409
+ padding: 0 var(--mds-pad-tag-x);
1410
+ }
1411
+ .mds-SegmentedControl__bare {
1412
+ padding: 0;
1413
+ background: transparent;
1414
+ }
1415
+ .mds-SegmentedControl__bare.mds-SegmentedControl__size-md .mds-SegmentedControl__face {
1416
+ height: var(--mds-control-h-md);
1417
+ }
1418
+ .mds-SegmentedControl__bare.mds-SegmentedControl__size-sm .mds-SegmentedControl__face {
1419
+ height: var(--mds-control-h-sm);
1420
+ }
1339
1421
  .mds-SegmentedControl__segment {
1340
1422
  display: inline-flex;
1341
1423
  position: relative;
@@ -1364,8 +1446,6 @@ button.mds-Link__link {
1364
1446
  display: inline-flex;
1365
1447
  align-items: center;
1366
1448
  justify-content: center;
1367
- height: calc(var(--mds-control-h-md) - 2 * var(--mds-pad-segment));
1368
- padding: 0 var(--mds-pad-pill-x);
1369
1449
  border-radius: var(--mds-radius-segment);
1370
1450
  font: var(--mds-type-pill);
1371
1451
  color: var(--mds-text-secondary);
@@ -1394,6 +1474,15 @@ button.mds-Link__link {
1394
1474
  }
1395
1475
 
1396
1476
  /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/SearchField/SearchField.module.css?mds-scoped */
1477
+ .mds-hit-area__hitArea::before {
1478
+ content: "";
1479
+ position: absolute;
1480
+ top: 50%;
1481
+ left: 50%;
1482
+ translate: -50% -50%;
1483
+ width: max(100%, var(--mds-tap-min));
1484
+ height: max(100%, var(--mds-tap-min));
1485
+ }
1397
1486
  .mds-SearchField__wrap {
1398
1487
  position: relative;
1399
1488
  display: inline-flex;
@@ -1586,6 +1675,15 @@ button.mds-Link__link {
1586
1675
  }
1587
1676
 
1588
1677
  /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Toast/Toast.module.css?mds-scoped */
1678
+ .mds-hit-area__hitArea::before {
1679
+ content: "";
1680
+ position: absolute;
1681
+ top: 50%;
1682
+ left: 50%;
1683
+ translate: -50% -50%;
1684
+ width: max(100%, var(--mds-tap-min));
1685
+ height: max(100%, var(--mds-tap-min));
1686
+ }
1589
1687
  .mds-Toast__viewport {
1590
1688
  position: fixed;
1591
1689
  bottom: calc(var(--mds-toast-inset) + var(--mds-safe-bottom));
@@ -1642,6 +1740,7 @@ button.mds-Link__link {
1642
1740
  background: transparent;
1643
1741
  color: var(--mds-text-secondary);
1644
1742
  cursor: pointer;
1743
+ position: relative;
1645
1744
  }
1646
1745
  .mds-Toast__close:hover {
1647
1746
  background: var(--mds-surface-sunken);
@@ -1650,6 +1749,21 @@ button.mds-Link__link {
1650
1749
  width: var(--mds-icon-sm);
1651
1750
  height: var(--mds-icon-sm);
1652
1751
  }
1752
+ .mds-Toast__action {
1753
+ flex: none;
1754
+ align-self: center;
1755
+ padding: var(--mds-pad-pill-y) var(--mds-pad-pill-x);
1756
+ border: none;
1757
+ border-radius: var(--mds-radius-pill);
1758
+ background: transparent;
1759
+ font: var(--mds-type-label);
1760
+ color: var(--mds-text-accent);
1761
+ cursor: pointer;
1762
+ position: relative;
1763
+ }
1764
+ .mds-Toast__action:hover {
1765
+ background: var(--mds-surface-sunken);
1766
+ }
1653
1767
 
1654
1768
  /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Stack/Stack.module.css?mds-scoped */
1655
1769
  .mds-Stack__stack {
@@ -2013,4 +2127,404 @@ button.mds-Link__link {
2013
2127
  .mds-TabBar__action:hover {
2014
2128
  background: var(--mds-accent-hover);
2015
2129
  }
2130
+
2131
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/MediaPlaceholder/MediaPlaceholder.module.css?mds-scoped */
2132
+ .mds-MediaPlaceholder__media {
2133
+ position: relative;
2134
+ display: block;
2135
+ overflow: hidden;
2136
+ aspect-ratio: var(--media-aspect, 16 / 9);
2137
+ border-radius: var(--mds-radius-media);
2138
+ background: var(--mds-surface-sunken);
2139
+ }
2140
+ .mds-MediaPlaceholder__fill {
2141
+ position: absolute;
2142
+ inset: 0;
2143
+ display: flex;
2144
+ flex-direction: column;
2145
+ align-items: center;
2146
+ justify-content: center;
2147
+ gap: var(--mds-gap-tight);
2148
+ color: var(--mds-text-muted);
2149
+ background-image:
2150
+ repeating-linear-gradient(
2151
+ 45deg,
2152
+ transparent 0 var(--mds-media-hatch),
2153
+ var(--mds-border-strong) var(--mds-media-hatch) calc(var(--mds-media-hatch) + var(--mds-border-width)));
2154
+ transition: filter var(--mds-transition-reveal);
2155
+ }
2156
+ .mds-MediaPlaceholder__image {
2157
+ position: absolute;
2158
+ inset: 0;
2159
+ display: block;
2160
+ width: 100%;
2161
+ height: 100%;
2162
+ object-fit: cover;
2163
+ transition: filter var(--mds-transition-reveal);
2164
+ }
2165
+ .mds-MediaPlaceholder__caption {
2166
+ position: absolute;
2167
+ inset-inline: 0;
2168
+ inset-block-end: 0;
2169
+ padding: var(--mds-pad-tight);
2170
+ background: var(--mds-scrim);
2171
+ }
2172
+ .mds-MediaPlaceholder__cover {
2173
+ position: absolute;
2174
+ inset: 0;
2175
+ display: flex;
2176
+ flex-direction: column;
2177
+ align-items: center;
2178
+ justify-content: center;
2179
+ gap: var(--mds-gap-tight);
2180
+ padding: var(--mds-pad-card);
2181
+ text-align: center;
2182
+ }
2183
+ .mds-MediaPlaceholder__blurred .mds-MediaPlaceholder__fill,
2184
+ .mds-MediaPlaceholder__blurred .mds-MediaPlaceholder__image {
2185
+ filter: blur(var(--mds-blur-media));
2186
+ transform: scale(1.1);
2187
+ }
2188
+
2189
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/ImageCarousel/ImageCarousel.module.css?mds-scoped */
2190
+ .mds-ImageCarousel__carousel {
2191
+ display: flex;
2192
+ flex-direction: column;
2193
+ gap: var(--mds-gap-tight);
2194
+ }
2195
+ .mds-ImageCarousel__viewport {
2196
+ position: relative;
2197
+ touch-action: pan-y;
2198
+ user-select: none;
2199
+ }
2200
+ .mds-ImageCarousel__slide {
2201
+ overflow: hidden;
2202
+ border-radius: var(--mds-radius-media);
2203
+ }
2204
+ .mds-ImageCarousel__viewport .mds-ImageCarousel__step,
2205
+ .mds-ImageCarousel__viewport .mds-ImageCarousel__zoom {
2206
+ position: absolute;
2207
+ z-index: var(--mds-z-raised);
2208
+ background: var(--mds-surface-card);
2209
+ }
2210
+ .mds-ImageCarousel__viewport .mds-ImageCarousel__step {
2211
+ top: 50%;
2212
+ transform: translateY(-50%);
2213
+ }
2214
+ .mds-ImageCarousel__viewport .mds-ImageCarousel__prev {
2215
+ inset-inline-start: var(--mds-media-inset);
2216
+ }
2217
+ .mds-ImageCarousel__viewport .mds-ImageCarousel__next {
2218
+ inset-inline-end: var(--mds-media-inset);
2219
+ }
2220
+ .mds-ImageCarousel__viewport .mds-ImageCarousel__step:disabled {
2221
+ visibility: hidden;
2222
+ }
2223
+ .mds-ImageCarousel__viewport .mds-ImageCarousel__zoom {
2224
+ inset-inline-start: var(--mds-media-inset);
2225
+ inset-block-end: var(--mds-media-inset);
2226
+ }
2227
+ .mds-ImageCarousel__counter {
2228
+ position: absolute;
2229
+ inset-inline-end: var(--mds-media-inset);
2230
+ inset-block-end: var(--mds-media-inset);
2231
+ z-index: var(--mds-z-raised);
2232
+ padding: var(--mds-pad-count-y) var(--mds-pad-count-x);
2233
+ border-radius: var(--mds-radius-pill);
2234
+ background: var(--mds-scrim);
2235
+ color: var(--mds-text-on-media);
2236
+ }
2237
+ .mds-ImageCarousel__thumbs {
2238
+ display: flex;
2239
+ gap: var(--mds-gap-hairline);
2240
+ }
2241
+ .mds-ImageCarousel__thumb {
2242
+ flex: 1 1 0;
2243
+ min-width: 0;
2244
+ overflow: hidden;
2245
+ padding: 0;
2246
+ border: var(--mds-border-width) solid transparent;
2247
+ border-radius: var(--mds-radius-media);
2248
+ background: var(--mds-surface-sunken);
2249
+ cursor: pointer;
2250
+ transition: var(--mds-transition-control);
2251
+ }
2252
+ .mds-ImageCarousel__thumb:hover {
2253
+ border-color: var(--mds-border-subtle);
2254
+ }
2255
+ .mds-ImageCarousel__thumb[aria-current=true] {
2256
+ border-color: var(--mds-border-strong);
2257
+ }
2258
+ .mds-ImageCarousel__more {
2259
+ display: flex;
2260
+ align-items: center;
2261
+ justify-content: center;
2262
+ aspect-ratio: 1 / 1;
2263
+ }
2264
+ .mds-ImageCarousel__dots {
2265
+ display: flex;
2266
+ flex-wrap: wrap;
2267
+ justify-content: center;
2268
+ }
2269
+ .mds-ImageCarousel__dot {
2270
+ display: flex;
2271
+ align-items: center;
2272
+ justify-content: center;
2273
+ min-width: var(--mds-tap-min);
2274
+ min-height: var(--mds-tap-min);
2275
+ padding: 0;
2276
+ border: 0;
2277
+ background: none;
2278
+ cursor: pointer;
2279
+ }
2280
+ .mds-ImageCarousel__dot::after {
2281
+ content: "";
2282
+ width: var(--mds-dot);
2283
+ height: var(--mds-dot);
2284
+ border-radius: var(--mds-radius-pill);
2285
+ background: var(--mds-border-subtle);
2286
+ transition: var(--mds-transition-control);
2287
+ }
2288
+ .mds-ImageCarousel__dot[aria-current=true]::after {
2289
+ background: var(--mds-accent);
2290
+ }
2291
+
2292
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/UploadProgress/UploadProgress.module.css?mds-scoped */
2293
+ .mds-UploadProgress__upload {
2294
+ display: flex;
2295
+ flex-direction: column;
2296
+ gap: var(--mds-gap-tight);
2297
+ }
2298
+ .mds-UploadProgress__head {
2299
+ display: flex;
2300
+ align-items: center;
2301
+ gap: var(--mds-gap-tight);
2302
+ min-width: 0;
2303
+ }
2304
+ .mds-UploadProgress__preview {
2305
+ flex: none;
2306
+ width: var(--mds-upload-thumb);
2307
+ height: var(--mds-upload-thumb);
2308
+ overflow: hidden;
2309
+ border-radius: var(--mds-radius-media);
2310
+ background: var(--mds-surface-sunken);
2311
+ }
2312
+ .mds-UploadProgress__preview > * {
2313
+ display: block;
2314
+ width: 100%;
2315
+ height: 100%;
2316
+ object-fit: cover;
2317
+ }
2318
+ .mds-UploadProgress__mark {
2319
+ --mds-icon-slot: var(--mds-icon-sm);
2320
+ display: inline-flex;
2321
+ flex: none;
2322
+ align-items: center;
2323
+ justify-content: center;
2324
+ width: var(--mds-icon-slot);
2325
+ height: var(--mds-icon-slot);
2326
+ font-size: var(--mds-icon-slot);
2327
+ }
2328
+ .mds-UploadProgress__name {
2329
+ flex: 1;
2330
+ min-width: 0;
2331
+ }
2332
+ .mds-UploadProgress__foot {
2333
+ display: flex;
2334
+ flex-wrap: wrap;
2335
+ gap: var(--mds-gap-tight);
2336
+ }
2337
+ .mds-UploadProgress__status-done .mds-UploadProgress__mark {
2338
+ color: var(--mds-status-success);
2339
+ }
2340
+ .mds-UploadProgress__status-error .mds-UploadProgress__mark {
2341
+ color: var(--mds-status-danger);
2342
+ }
2343
+
2344
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Lightbox/Lightbox.module.css?mds-scoped */
2345
+ .mds-Lightbox__panel {
2346
+ flex: 1;
2347
+ min-width: 0;
2348
+ display: flex;
2349
+ flex-direction: column;
2350
+ }
2351
+ .mds-Lightbox__bar {
2352
+ display: flex;
2353
+ justify-content: flex-end;
2354
+ gap: var(--mds-gap-tight);
2355
+ padding: var(--mds-pad-tight);
2356
+ padding-top: calc(var(--mds-pad-tight) + var(--mds-safe-top));
2357
+ }
2358
+ .mds-Lightbox__surface {
2359
+ flex: 1;
2360
+ min-height: 0;
2361
+ display: flex;
2362
+ align-items: center;
2363
+ justify-content: center;
2364
+ overflow: hidden;
2365
+ touch-action: none;
2366
+ user-select: none;
2367
+ }
2368
+ .mds-Lightbox__image {
2369
+ max-width: 100%;
2370
+ max-height: 100%;
2371
+ object-fit: contain;
2372
+ transform-origin: center;
2373
+ transform: translate(var(--pan-x), var(--pan-y)) scale(var(--zoom));
2374
+ will-change: transform;
2375
+ }
2376
+ .mds-Lightbox__caption {
2377
+ padding: var(--mds-pad-tight) var(--mds-pad-card);
2378
+ padding-bottom: calc(var(--mds-pad-card) + var(--mds-safe-bottom));
2379
+ text-align: center;
2380
+ }
2381
+
2382
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/VideoPlayer/VideoPlayer.module.css?mds-scoped */
2383
+ .mds-VideoPlayer__player {
2384
+ display: flex;
2385
+ flex-direction: column;
2386
+ gap: var(--mds-gap-tight);
2387
+ }
2388
+ .mds-VideoPlayer__frame {
2389
+ position: relative;
2390
+ overflow: hidden;
2391
+ border-radius: var(--mds-radius-media);
2392
+ background: var(--mds-surface-media);
2393
+ }
2394
+ .mds-VideoPlayer__media {
2395
+ display: block;
2396
+ width: 100%;
2397
+ aspect-ratio: 16 / 9;
2398
+ object-fit: contain;
2399
+ transition: var(--mds-transition-reveal);
2400
+ }
2401
+ .mds-VideoPlayer__covered .mds-VideoPlayer__media {
2402
+ filter: blur(var(--mds-blur-media));
2403
+ transform: scale(1.1);
2404
+ }
2405
+ .mds-VideoPlayer__start {
2406
+ position: absolute;
2407
+ inset: 0;
2408
+ display: flex;
2409
+ align-items: center;
2410
+ justify-content: center;
2411
+ border: 0;
2412
+ padding: 0;
2413
+ background: var(--mds-scrim);
2414
+ color: var(--mds-text-on-media);
2415
+ cursor: pointer;
2416
+ }
2417
+ .mds-VideoPlayer__startGlyph {
2418
+ display: flex;
2419
+ width: var(--mds-icon-btn-size);
2420
+ height: var(--mds-icon-btn-size);
2421
+ align-items: center;
2422
+ justify-content: center;
2423
+ border: var(--mds-border-width) solid var(--mds-on-media-border);
2424
+ border-radius: var(--mds-radius-pill);
2425
+ background: var(--mds-on-media-surface-hover);
2426
+ }
2427
+ .mds-VideoPlayer__startGlyph svg {
2428
+ width: var(--mds-icon-md);
2429
+ height: var(--mds-icon-md);
2430
+ }
2431
+ .mds-VideoPlayer__cover {
2432
+ position: absolute;
2433
+ inset: 0;
2434
+ display: flex;
2435
+ align-items: center;
2436
+ justify-content: center;
2437
+ padding: var(--mds-pad-card);
2438
+ text-align: center;
2439
+ }
2440
+ .mds-VideoPlayer__controls {
2441
+ display: flex;
2442
+ align-items: center;
2443
+ gap: var(--mds-gap-tight);
2444
+ }
2445
+ .mds-VideoPlayer__scrub {
2446
+ flex: 1 1 auto;
2447
+ min-width: 0;
2448
+ accent-color: var(--mds-accent);
2449
+ cursor: pointer;
2450
+ }
2451
+ .mds-VideoPlayer__scrub:focus-visible {
2452
+ border-radius: var(--mds-radius-pill);
2453
+ }
2454
+ .mds-VideoPlayer__time {
2455
+ font-variant-numeric: tabular-nums;
2456
+ white-space: nowrap;
2457
+ }
2458
+ .mds-VideoPlayer__chapters {
2459
+ display: flex;
2460
+ flex-direction: column;
2461
+ gap: var(--mds-gap-hairline);
2462
+ margin: 0;
2463
+ padding: 0;
2464
+ list-style: none;
2465
+ }
2466
+ .mds-VideoPlayer__chapter {
2467
+ width: 100%;
2468
+ justify-content: flex-start;
2469
+ gap: var(--mds-gap-tight);
2470
+ text-align: start;
2471
+ }
2472
+ .mds-VideoPlayer__chapterAt {
2473
+ font-variant-numeric: tabular-nums;
2474
+ color: var(--mds-text-muted);
2475
+ }
2476
+ .mds-VideoPlayer__player:fullscreen {
2477
+ justify-content: center;
2478
+ padding: var(--mds-pad-tight);
2479
+ background: var(--mds-surface-page);
2480
+ }
2481
+ .mds-VideoPlayer__player:fullscreen .mds-VideoPlayer__frame {
2482
+ display: flex;
2483
+ min-height: 0;
2484
+ flex: 1;
2485
+ align-items: center;
2486
+ justify-content: center;
2487
+ }
2488
+ .mds-VideoPlayer__player:fullscreen .mds-VideoPlayer__media {
2489
+ max-height: 100%;
2490
+ aspect-ratio: auto;
2491
+ }
2492
+ .mds-VideoPlayer__player:fullscreen .mds-VideoPlayer__chapters {
2493
+ min-height: 0;
2494
+ overflow-y: auto;
2495
+ }
2496
+
2497
+ /* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Breadcrumb/Breadcrumb.module.css?mds-scoped */
2498
+ .mds-Breadcrumb__crumbs {
2499
+ min-width: 0;
2500
+ }
2501
+ .mds-Breadcrumb__list {
2502
+ display: flex;
2503
+ flex-wrap: wrap;
2504
+ align-items: center;
2505
+ gap: var(--mds-gap-hairline);
2506
+ margin: 0;
2507
+ padding: 0;
2508
+ list-style: none;
2509
+ }
2510
+ .mds-Breadcrumb__item {
2511
+ display: flex;
2512
+ align-items: center;
2513
+ gap: var(--mds-gap-hairline);
2514
+ min-width: 0;
2515
+ }
2516
+ .mds-Breadcrumb__separator {
2517
+ flex: none;
2518
+ width: var(--mds-icon-sm);
2519
+ height: var(--mds-icon-sm);
2520
+ color: var(--mds-text-muted);
2521
+ }
2522
+ .mds-Breadcrumb__link {
2523
+ display: flex;
2524
+ align-items: center;
2525
+ color: var(--mds-text-secondary);
2526
+ }
2527
+ .mds-Breadcrumb__link:hover {
2528
+ color: var(--mds-text-primary);
2529
+ }
2016
2530
  /*# sourceMappingURL=index.css.map */