@mond-design-system/react 3.0.3 → 4.0.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.cjs +841 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +502 -19
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +418 -38
- package/dist/index.d.ts +418 -38
- package/dist/index.js +835 -54
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
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-
|
|
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/
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|
|
@@ -1394,6 +1458,15 @@ button.mds-Link__link {
|
|
|
1394
1458
|
}
|
|
1395
1459
|
|
|
1396
1460
|
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/SearchField/SearchField.module.css?mds-scoped */
|
|
1461
|
+
.mds-hit-area__hitArea::before {
|
|
1462
|
+
content: "";
|
|
1463
|
+
position: absolute;
|
|
1464
|
+
top: 50%;
|
|
1465
|
+
left: 50%;
|
|
1466
|
+
translate: -50% -50%;
|
|
1467
|
+
width: max(100%, var(--mds-tap-min));
|
|
1468
|
+
height: max(100%, var(--mds-tap-min));
|
|
1469
|
+
}
|
|
1397
1470
|
.mds-SearchField__wrap {
|
|
1398
1471
|
position: relative;
|
|
1399
1472
|
display: inline-flex;
|
|
@@ -1586,6 +1659,15 @@ button.mds-Link__link {
|
|
|
1586
1659
|
}
|
|
1587
1660
|
|
|
1588
1661
|
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Toast/Toast.module.css?mds-scoped */
|
|
1662
|
+
.mds-hit-area__hitArea::before {
|
|
1663
|
+
content: "";
|
|
1664
|
+
position: absolute;
|
|
1665
|
+
top: 50%;
|
|
1666
|
+
left: 50%;
|
|
1667
|
+
translate: -50% -50%;
|
|
1668
|
+
width: max(100%, var(--mds-tap-min));
|
|
1669
|
+
height: max(100%, var(--mds-tap-min));
|
|
1670
|
+
}
|
|
1589
1671
|
.mds-Toast__viewport {
|
|
1590
1672
|
position: fixed;
|
|
1591
1673
|
bottom: calc(var(--mds-toast-inset) + var(--mds-safe-bottom));
|
|
@@ -1642,6 +1724,7 @@ button.mds-Link__link {
|
|
|
1642
1724
|
background: transparent;
|
|
1643
1725
|
color: var(--mds-text-secondary);
|
|
1644
1726
|
cursor: pointer;
|
|
1727
|
+
position: relative;
|
|
1645
1728
|
}
|
|
1646
1729
|
.mds-Toast__close:hover {
|
|
1647
1730
|
background: var(--mds-surface-sunken);
|
|
@@ -2013,4 +2096,404 @@ button.mds-Link__link {
|
|
|
2013
2096
|
.mds-TabBar__action:hover {
|
|
2014
2097
|
background: var(--mds-accent-hover);
|
|
2015
2098
|
}
|
|
2099
|
+
|
|
2100
|
+
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/MediaPlaceholder/MediaPlaceholder.module.css?mds-scoped */
|
|
2101
|
+
.mds-MediaPlaceholder__media {
|
|
2102
|
+
position: relative;
|
|
2103
|
+
display: block;
|
|
2104
|
+
overflow: hidden;
|
|
2105
|
+
aspect-ratio: var(--media-aspect, 16 / 9);
|
|
2106
|
+
border-radius: var(--mds-radius-media);
|
|
2107
|
+
background: var(--mds-surface-sunken);
|
|
2108
|
+
}
|
|
2109
|
+
.mds-MediaPlaceholder__fill {
|
|
2110
|
+
position: absolute;
|
|
2111
|
+
inset: 0;
|
|
2112
|
+
display: flex;
|
|
2113
|
+
flex-direction: column;
|
|
2114
|
+
align-items: center;
|
|
2115
|
+
justify-content: center;
|
|
2116
|
+
gap: var(--mds-gap-tight);
|
|
2117
|
+
color: var(--mds-text-muted);
|
|
2118
|
+
background-image:
|
|
2119
|
+
repeating-linear-gradient(
|
|
2120
|
+
45deg,
|
|
2121
|
+
transparent 0 var(--mds-media-hatch),
|
|
2122
|
+
var(--mds-border-strong) var(--mds-media-hatch) calc(var(--mds-media-hatch) + var(--mds-border-width)));
|
|
2123
|
+
transition: filter var(--mds-transition-reveal);
|
|
2124
|
+
}
|
|
2125
|
+
.mds-MediaPlaceholder__image {
|
|
2126
|
+
position: absolute;
|
|
2127
|
+
inset: 0;
|
|
2128
|
+
display: block;
|
|
2129
|
+
width: 100%;
|
|
2130
|
+
height: 100%;
|
|
2131
|
+
object-fit: cover;
|
|
2132
|
+
transition: filter var(--mds-transition-reveal);
|
|
2133
|
+
}
|
|
2134
|
+
.mds-MediaPlaceholder__caption {
|
|
2135
|
+
position: absolute;
|
|
2136
|
+
inset-inline: 0;
|
|
2137
|
+
inset-block-end: 0;
|
|
2138
|
+
padding: var(--mds-pad-tight);
|
|
2139
|
+
background: var(--mds-scrim);
|
|
2140
|
+
}
|
|
2141
|
+
.mds-MediaPlaceholder__cover {
|
|
2142
|
+
position: absolute;
|
|
2143
|
+
inset: 0;
|
|
2144
|
+
display: flex;
|
|
2145
|
+
flex-direction: column;
|
|
2146
|
+
align-items: center;
|
|
2147
|
+
justify-content: center;
|
|
2148
|
+
gap: var(--mds-gap-tight);
|
|
2149
|
+
padding: var(--mds-pad-card);
|
|
2150
|
+
text-align: center;
|
|
2151
|
+
}
|
|
2152
|
+
.mds-MediaPlaceholder__blurred .mds-MediaPlaceholder__fill,
|
|
2153
|
+
.mds-MediaPlaceholder__blurred .mds-MediaPlaceholder__image {
|
|
2154
|
+
filter: blur(var(--mds-blur-media));
|
|
2155
|
+
transform: scale(1.1);
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/ImageCarousel/ImageCarousel.module.css?mds-scoped */
|
|
2159
|
+
.mds-ImageCarousel__carousel {
|
|
2160
|
+
display: flex;
|
|
2161
|
+
flex-direction: column;
|
|
2162
|
+
gap: var(--mds-gap-tight);
|
|
2163
|
+
}
|
|
2164
|
+
.mds-ImageCarousel__viewport {
|
|
2165
|
+
position: relative;
|
|
2166
|
+
touch-action: pan-y;
|
|
2167
|
+
user-select: none;
|
|
2168
|
+
}
|
|
2169
|
+
.mds-ImageCarousel__slide {
|
|
2170
|
+
overflow: hidden;
|
|
2171
|
+
border-radius: var(--mds-radius-media);
|
|
2172
|
+
}
|
|
2173
|
+
.mds-ImageCarousel__viewport .mds-ImageCarousel__step,
|
|
2174
|
+
.mds-ImageCarousel__viewport .mds-ImageCarousel__zoom {
|
|
2175
|
+
position: absolute;
|
|
2176
|
+
z-index: var(--mds-z-raised);
|
|
2177
|
+
background: var(--mds-surface-card);
|
|
2178
|
+
}
|
|
2179
|
+
.mds-ImageCarousel__viewport .mds-ImageCarousel__step {
|
|
2180
|
+
top: 50%;
|
|
2181
|
+
transform: translateY(-50%);
|
|
2182
|
+
}
|
|
2183
|
+
.mds-ImageCarousel__viewport .mds-ImageCarousel__prev {
|
|
2184
|
+
inset-inline-start: var(--mds-media-inset);
|
|
2185
|
+
}
|
|
2186
|
+
.mds-ImageCarousel__viewport .mds-ImageCarousel__next {
|
|
2187
|
+
inset-inline-end: var(--mds-media-inset);
|
|
2188
|
+
}
|
|
2189
|
+
.mds-ImageCarousel__viewport .mds-ImageCarousel__step:disabled {
|
|
2190
|
+
visibility: hidden;
|
|
2191
|
+
}
|
|
2192
|
+
.mds-ImageCarousel__viewport .mds-ImageCarousel__zoom {
|
|
2193
|
+
inset-inline-start: var(--mds-media-inset);
|
|
2194
|
+
inset-block-end: var(--mds-media-inset);
|
|
2195
|
+
}
|
|
2196
|
+
.mds-ImageCarousel__counter {
|
|
2197
|
+
position: absolute;
|
|
2198
|
+
inset-inline-end: var(--mds-media-inset);
|
|
2199
|
+
inset-block-end: var(--mds-media-inset);
|
|
2200
|
+
z-index: var(--mds-z-raised);
|
|
2201
|
+
padding: var(--mds-pad-count-y) var(--mds-pad-count-x);
|
|
2202
|
+
border-radius: var(--mds-radius-pill);
|
|
2203
|
+
background: var(--mds-scrim);
|
|
2204
|
+
color: var(--mds-text-on-media);
|
|
2205
|
+
}
|
|
2206
|
+
.mds-ImageCarousel__thumbs {
|
|
2207
|
+
display: flex;
|
|
2208
|
+
gap: var(--mds-gap-hairline);
|
|
2209
|
+
}
|
|
2210
|
+
.mds-ImageCarousel__thumb {
|
|
2211
|
+
flex: 1 1 0;
|
|
2212
|
+
min-width: 0;
|
|
2213
|
+
overflow: hidden;
|
|
2214
|
+
padding: 0;
|
|
2215
|
+
border: var(--mds-border-width) solid transparent;
|
|
2216
|
+
border-radius: var(--mds-radius-media);
|
|
2217
|
+
background: var(--mds-surface-sunken);
|
|
2218
|
+
cursor: pointer;
|
|
2219
|
+
transition: var(--mds-transition-control);
|
|
2220
|
+
}
|
|
2221
|
+
.mds-ImageCarousel__thumb:hover {
|
|
2222
|
+
border-color: var(--mds-border-subtle);
|
|
2223
|
+
}
|
|
2224
|
+
.mds-ImageCarousel__thumb[aria-current=true] {
|
|
2225
|
+
border-color: var(--mds-border-strong);
|
|
2226
|
+
}
|
|
2227
|
+
.mds-ImageCarousel__more {
|
|
2228
|
+
display: flex;
|
|
2229
|
+
align-items: center;
|
|
2230
|
+
justify-content: center;
|
|
2231
|
+
aspect-ratio: 1 / 1;
|
|
2232
|
+
}
|
|
2233
|
+
.mds-ImageCarousel__dots {
|
|
2234
|
+
display: flex;
|
|
2235
|
+
flex-wrap: wrap;
|
|
2236
|
+
justify-content: center;
|
|
2237
|
+
}
|
|
2238
|
+
.mds-ImageCarousel__dot {
|
|
2239
|
+
display: flex;
|
|
2240
|
+
align-items: center;
|
|
2241
|
+
justify-content: center;
|
|
2242
|
+
min-width: var(--mds-tap-min);
|
|
2243
|
+
min-height: var(--mds-tap-min);
|
|
2244
|
+
padding: 0;
|
|
2245
|
+
border: 0;
|
|
2246
|
+
background: none;
|
|
2247
|
+
cursor: pointer;
|
|
2248
|
+
}
|
|
2249
|
+
.mds-ImageCarousel__dot::after {
|
|
2250
|
+
content: "";
|
|
2251
|
+
width: var(--mds-dot);
|
|
2252
|
+
height: var(--mds-dot);
|
|
2253
|
+
border-radius: var(--mds-radius-pill);
|
|
2254
|
+
background: var(--mds-border-subtle);
|
|
2255
|
+
transition: var(--mds-transition-control);
|
|
2256
|
+
}
|
|
2257
|
+
.mds-ImageCarousel__dot[aria-current=true]::after {
|
|
2258
|
+
background: var(--mds-accent);
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/UploadProgress/UploadProgress.module.css?mds-scoped */
|
|
2262
|
+
.mds-UploadProgress__upload {
|
|
2263
|
+
display: flex;
|
|
2264
|
+
flex-direction: column;
|
|
2265
|
+
gap: var(--mds-gap-tight);
|
|
2266
|
+
}
|
|
2267
|
+
.mds-UploadProgress__head {
|
|
2268
|
+
display: flex;
|
|
2269
|
+
align-items: center;
|
|
2270
|
+
gap: var(--mds-gap-tight);
|
|
2271
|
+
min-width: 0;
|
|
2272
|
+
}
|
|
2273
|
+
.mds-UploadProgress__preview {
|
|
2274
|
+
flex: none;
|
|
2275
|
+
width: var(--mds-upload-thumb);
|
|
2276
|
+
height: var(--mds-upload-thumb);
|
|
2277
|
+
overflow: hidden;
|
|
2278
|
+
border-radius: var(--mds-radius-media);
|
|
2279
|
+
background: var(--mds-surface-sunken);
|
|
2280
|
+
}
|
|
2281
|
+
.mds-UploadProgress__preview > * {
|
|
2282
|
+
display: block;
|
|
2283
|
+
width: 100%;
|
|
2284
|
+
height: 100%;
|
|
2285
|
+
object-fit: cover;
|
|
2286
|
+
}
|
|
2287
|
+
.mds-UploadProgress__mark {
|
|
2288
|
+
--mds-icon-slot: var(--mds-icon-sm);
|
|
2289
|
+
display: inline-flex;
|
|
2290
|
+
flex: none;
|
|
2291
|
+
align-items: center;
|
|
2292
|
+
justify-content: center;
|
|
2293
|
+
width: var(--mds-icon-slot);
|
|
2294
|
+
height: var(--mds-icon-slot);
|
|
2295
|
+
font-size: var(--mds-icon-slot);
|
|
2296
|
+
}
|
|
2297
|
+
.mds-UploadProgress__name {
|
|
2298
|
+
flex: 1;
|
|
2299
|
+
min-width: 0;
|
|
2300
|
+
}
|
|
2301
|
+
.mds-UploadProgress__foot {
|
|
2302
|
+
display: flex;
|
|
2303
|
+
flex-wrap: wrap;
|
|
2304
|
+
gap: var(--mds-gap-tight);
|
|
2305
|
+
}
|
|
2306
|
+
.mds-UploadProgress__status-done .mds-UploadProgress__mark {
|
|
2307
|
+
color: var(--mds-status-success);
|
|
2308
|
+
}
|
|
2309
|
+
.mds-UploadProgress__status-error .mds-UploadProgress__mark {
|
|
2310
|
+
color: var(--mds-status-danger);
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Lightbox/Lightbox.module.css?mds-scoped */
|
|
2314
|
+
.mds-Lightbox__panel {
|
|
2315
|
+
flex: 1;
|
|
2316
|
+
min-width: 0;
|
|
2317
|
+
display: flex;
|
|
2318
|
+
flex-direction: column;
|
|
2319
|
+
}
|
|
2320
|
+
.mds-Lightbox__bar {
|
|
2321
|
+
display: flex;
|
|
2322
|
+
justify-content: flex-end;
|
|
2323
|
+
gap: var(--mds-gap-tight);
|
|
2324
|
+
padding: var(--mds-pad-tight);
|
|
2325
|
+
padding-top: calc(var(--mds-pad-tight) + var(--mds-safe-top));
|
|
2326
|
+
}
|
|
2327
|
+
.mds-Lightbox__surface {
|
|
2328
|
+
flex: 1;
|
|
2329
|
+
min-height: 0;
|
|
2330
|
+
display: flex;
|
|
2331
|
+
align-items: center;
|
|
2332
|
+
justify-content: center;
|
|
2333
|
+
overflow: hidden;
|
|
2334
|
+
touch-action: none;
|
|
2335
|
+
user-select: none;
|
|
2336
|
+
}
|
|
2337
|
+
.mds-Lightbox__image {
|
|
2338
|
+
max-width: 100%;
|
|
2339
|
+
max-height: 100%;
|
|
2340
|
+
object-fit: contain;
|
|
2341
|
+
transform-origin: center;
|
|
2342
|
+
transform: translate(var(--pan-x), var(--pan-y)) scale(var(--zoom));
|
|
2343
|
+
will-change: transform;
|
|
2344
|
+
}
|
|
2345
|
+
.mds-Lightbox__caption {
|
|
2346
|
+
padding: var(--mds-pad-tight) var(--mds-pad-card);
|
|
2347
|
+
padding-bottom: calc(var(--mds-pad-card) + var(--mds-safe-bottom));
|
|
2348
|
+
text-align: center;
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/VideoPlayer/VideoPlayer.module.css?mds-scoped */
|
|
2352
|
+
.mds-VideoPlayer__player {
|
|
2353
|
+
display: flex;
|
|
2354
|
+
flex-direction: column;
|
|
2355
|
+
gap: var(--mds-gap-tight);
|
|
2356
|
+
}
|
|
2357
|
+
.mds-VideoPlayer__frame {
|
|
2358
|
+
position: relative;
|
|
2359
|
+
overflow: hidden;
|
|
2360
|
+
border-radius: var(--mds-radius-media);
|
|
2361
|
+
background: var(--mds-surface-media);
|
|
2362
|
+
}
|
|
2363
|
+
.mds-VideoPlayer__media {
|
|
2364
|
+
display: block;
|
|
2365
|
+
width: 100%;
|
|
2366
|
+
aspect-ratio: 16 / 9;
|
|
2367
|
+
object-fit: contain;
|
|
2368
|
+
transition: var(--mds-transition-reveal);
|
|
2369
|
+
}
|
|
2370
|
+
.mds-VideoPlayer__covered .mds-VideoPlayer__media {
|
|
2371
|
+
filter: blur(var(--mds-blur-media));
|
|
2372
|
+
transform: scale(1.1);
|
|
2373
|
+
}
|
|
2374
|
+
.mds-VideoPlayer__start {
|
|
2375
|
+
position: absolute;
|
|
2376
|
+
inset: 0;
|
|
2377
|
+
display: flex;
|
|
2378
|
+
align-items: center;
|
|
2379
|
+
justify-content: center;
|
|
2380
|
+
border: 0;
|
|
2381
|
+
padding: 0;
|
|
2382
|
+
background: var(--mds-scrim);
|
|
2383
|
+
color: var(--mds-text-on-media);
|
|
2384
|
+
cursor: pointer;
|
|
2385
|
+
}
|
|
2386
|
+
.mds-VideoPlayer__startGlyph {
|
|
2387
|
+
display: flex;
|
|
2388
|
+
width: var(--mds-icon-btn-size);
|
|
2389
|
+
height: var(--mds-icon-btn-size);
|
|
2390
|
+
align-items: center;
|
|
2391
|
+
justify-content: center;
|
|
2392
|
+
border: var(--mds-border-width) solid var(--mds-on-media-border);
|
|
2393
|
+
border-radius: var(--mds-radius-pill);
|
|
2394
|
+
background: var(--mds-on-media-surface-hover);
|
|
2395
|
+
}
|
|
2396
|
+
.mds-VideoPlayer__startGlyph svg {
|
|
2397
|
+
width: var(--mds-icon-md);
|
|
2398
|
+
height: var(--mds-icon-md);
|
|
2399
|
+
}
|
|
2400
|
+
.mds-VideoPlayer__cover {
|
|
2401
|
+
position: absolute;
|
|
2402
|
+
inset: 0;
|
|
2403
|
+
display: flex;
|
|
2404
|
+
align-items: center;
|
|
2405
|
+
justify-content: center;
|
|
2406
|
+
padding: var(--mds-pad-card);
|
|
2407
|
+
text-align: center;
|
|
2408
|
+
}
|
|
2409
|
+
.mds-VideoPlayer__controls {
|
|
2410
|
+
display: flex;
|
|
2411
|
+
align-items: center;
|
|
2412
|
+
gap: var(--mds-gap-tight);
|
|
2413
|
+
}
|
|
2414
|
+
.mds-VideoPlayer__scrub {
|
|
2415
|
+
flex: 1 1 auto;
|
|
2416
|
+
min-width: 0;
|
|
2417
|
+
accent-color: var(--mds-accent);
|
|
2418
|
+
cursor: pointer;
|
|
2419
|
+
}
|
|
2420
|
+
.mds-VideoPlayer__scrub:focus-visible {
|
|
2421
|
+
border-radius: var(--mds-radius-pill);
|
|
2422
|
+
}
|
|
2423
|
+
.mds-VideoPlayer__time {
|
|
2424
|
+
font-variant-numeric: tabular-nums;
|
|
2425
|
+
white-space: nowrap;
|
|
2426
|
+
}
|
|
2427
|
+
.mds-VideoPlayer__chapters {
|
|
2428
|
+
display: flex;
|
|
2429
|
+
flex-direction: column;
|
|
2430
|
+
gap: var(--mds-gap-hairline);
|
|
2431
|
+
margin: 0;
|
|
2432
|
+
padding: 0;
|
|
2433
|
+
list-style: none;
|
|
2434
|
+
}
|
|
2435
|
+
.mds-VideoPlayer__chapter {
|
|
2436
|
+
width: 100%;
|
|
2437
|
+
justify-content: flex-start;
|
|
2438
|
+
gap: var(--mds-gap-tight);
|
|
2439
|
+
text-align: start;
|
|
2440
|
+
}
|
|
2441
|
+
.mds-VideoPlayer__chapterAt {
|
|
2442
|
+
font-variant-numeric: tabular-nums;
|
|
2443
|
+
color: var(--mds-text-muted);
|
|
2444
|
+
}
|
|
2445
|
+
.mds-VideoPlayer__player:fullscreen {
|
|
2446
|
+
justify-content: center;
|
|
2447
|
+
padding: var(--mds-pad-tight);
|
|
2448
|
+
background: var(--mds-surface-page);
|
|
2449
|
+
}
|
|
2450
|
+
.mds-VideoPlayer__player:fullscreen .mds-VideoPlayer__frame {
|
|
2451
|
+
display: flex;
|
|
2452
|
+
min-height: 0;
|
|
2453
|
+
flex: 1;
|
|
2454
|
+
align-items: center;
|
|
2455
|
+
justify-content: center;
|
|
2456
|
+
}
|
|
2457
|
+
.mds-VideoPlayer__player:fullscreen .mds-VideoPlayer__media {
|
|
2458
|
+
max-height: 100%;
|
|
2459
|
+
aspect-ratio: auto;
|
|
2460
|
+
}
|
|
2461
|
+
.mds-VideoPlayer__player:fullscreen .mds-VideoPlayer__chapters {
|
|
2462
|
+
min-height: 0;
|
|
2463
|
+
overflow-y: auto;
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Breadcrumb/Breadcrumb.module.css?mds-scoped */
|
|
2467
|
+
.mds-Breadcrumb__crumbs {
|
|
2468
|
+
min-width: 0;
|
|
2469
|
+
}
|
|
2470
|
+
.mds-Breadcrumb__list {
|
|
2471
|
+
display: flex;
|
|
2472
|
+
flex-wrap: wrap;
|
|
2473
|
+
align-items: center;
|
|
2474
|
+
gap: var(--mds-gap-hairline);
|
|
2475
|
+
margin: 0;
|
|
2476
|
+
padding: 0;
|
|
2477
|
+
list-style: none;
|
|
2478
|
+
}
|
|
2479
|
+
.mds-Breadcrumb__item {
|
|
2480
|
+
display: flex;
|
|
2481
|
+
align-items: center;
|
|
2482
|
+
gap: var(--mds-gap-hairline);
|
|
2483
|
+
min-width: 0;
|
|
2484
|
+
}
|
|
2485
|
+
.mds-Breadcrumb__separator {
|
|
2486
|
+
flex: none;
|
|
2487
|
+
width: var(--mds-icon-sm);
|
|
2488
|
+
height: var(--mds-icon-sm);
|
|
2489
|
+
color: var(--mds-text-muted);
|
|
2490
|
+
}
|
|
2491
|
+
.mds-Breadcrumb__link {
|
|
2492
|
+
display: flex;
|
|
2493
|
+
align-items: center;
|
|
2494
|
+
color: var(--mds-text-secondary);
|
|
2495
|
+
}
|
|
2496
|
+
.mds-Breadcrumb__link:hover {
|
|
2497
|
+
color: var(--mds-text-primary);
|
|
2498
|
+
}
|
|
2016
2499
|
/*# sourceMappingURL=index.css.map */
|