@mond-design-system/react 4.7.0 → 4.9.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/README.md +3 -2
- package/dist/index.cjs +131 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +113 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +95 -1
- package/dist/index.d.ts +95 -1
- package/dist/index.js +128 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -2339,6 +2339,75 @@ button.mds-Link__link {
|
|
|
2339
2339
|
background: var(--mds-accent-hover);
|
|
2340
2340
|
}
|
|
2341
2341
|
|
|
2342
|
+
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/SideNav/SideNav.module.css?mds-scoped */
|
|
2343
|
+
.mds-SideNav__nav {
|
|
2344
|
+
display: flex;
|
|
2345
|
+
flex-direction: column;
|
|
2346
|
+
gap: var(--mds-gap-tight);
|
|
2347
|
+
width: var(--mds-sidebar-w);
|
|
2348
|
+
flex: 0 0 var(--mds-sidebar-w);
|
|
2349
|
+
padding: var(--mds-pad-page-y) var(--mds-pad-tight);
|
|
2350
|
+
overflow-y: auto;
|
|
2351
|
+
}
|
|
2352
|
+
.mds-SideNav__group {
|
|
2353
|
+
display: flex;
|
|
2354
|
+
flex-direction: column;
|
|
2355
|
+
gap: var(--mds-gap-hairline);
|
|
2356
|
+
}
|
|
2357
|
+
.mds-SideNav__heading {
|
|
2358
|
+
padding-inline: var(--mds-pad-control);
|
|
2359
|
+
font: var(--mds-type-label);
|
|
2360
|
+
color: var(--mds-text-muted);
|
|
2361
|
+
}
|
|
2362
|
+
.mds-SideNav__item {
|
|
2363
|
+
display: flex;
|
|
2364
|
+
align-items: center;
|
|
2365
|
+
gap: var(--mds-gap-tight);
|
|
2366
|
+
min-height: var(--mds-tap-min);
|
|
2367
|
+
padding: var(--mds-pad-tight) var(--mds-pad-control);
|
|
2368
|
+
border: none;
|
|
2369
|
+
border-radius: var(--mds-radius-control);
|
|
2370
|
+
background: none;
|
|
2371
|
+
color: var(--mds-text-secondary);
|
|
2372
|
+
font: var(--mds-type-label);
|
|
2373
|
+
text-align: left;
|
|
2374
|
+
text-decoration: none;
|
|
2375
|
+
cursor: pointer;
|
|
2376
|
+
transition: var(--mds-transition-surface);
|
|
2377
|
+
}
|
|
2378
|
+
.mds-SideNav__item:hover {
|
|
2379
|
+
background: var(--mds-surface-sunken);
|
|
2380
|
+
color: var(--mds-text-primary);
|
|
2381
|
+
}
|
|
2382
|
+
.mds-SideNav__active,
|
|
2383
|
+
.mds-SideNav__active:hover {
|
|
2384
|
+
background: var(--mds-surface-selected);
|
|
2385
|
+
color: var(--mds-text-primary);
|
|
2386
|
+
font-weight: var(--mds-weight-semibold);
|
|
2387
|
+
}
|
|
2388
|
+
.mds-SideNav__icon {
|
|
2389
|
+
display: inline-flex;
|
|
2390
|
+
flex: none;
|
|
2391
|
+
--mds-icon-slot: var(--mds-icon-md);
|
|
2392
|
+
width: var(--mds-icon-slot);
|
|
2393
|
+
height: var(--mds-icon-slot);
|
|
2394
|
+
font-size: var(--mds-icon-slot);
|
|
2395
|
+
}
|
|
2396
|
+
.mds-SideNav__icon > svg {
|
|
2397
|
+
width: 100%;
|
|
2398
|
+
height: 100%;
|
|
2399
|
+
}
|
|
2400
|
+
.mds-SideNav__label {
|
|
2401
|
+
flex: 1;
|
|
2402
|
+
min-width: 0;
|
|
2403
|
+
overflow: hidden;
|
|
2404
|
+
text-overflow: ellipsis;
|
|
2405
|
+
white-space: nowrap;
|
|
2406
|
+
}
|
|
2407
|
+
.mds-SideNav__count {
|
|
2408
|
+
flex: none;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2342
2411
|
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/MediaPlaceholder/MediaPlaceholder.module.css?mds-scoped */
|
|
2343
2412
|
.mds-MediaPlaceholder__media {
|
|
2344
2413
|
position: relative;
|
|
@@ -2552,6 +2621,50 @@ button.mds-Link__link {
|
|
|
2552
2621
|
color: var(--mds-status-danger);
|
|
2553
2622
|
}
|
|
2554
2623
|
|
|
2624
|
+
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/FileDrop/FileDrop.module.css?mds-scoped */
|
|
2625
|
+
.mds-FileDrop__drop {
|
|
2626
|
+
display: block;
|
|
2627
|
+
}
|
|
2628
|
+
.mds-FileDrop__target {
|
|
2629
|
+
display: flex;
|
|
2630
|
+
flex-direction: column;
|
|
2631
|
+
align-items: center;
|
|
2632
|
+
gap: var(--mds-gap-hairline);
|
|
2633
|
+
width: 100%;
|
|
2634
|
+
padding: var(--mds-pad-drop-y) var(--mds-pad-card);
|
|
2635
|
+
border: var(--mds-border-width) dashed var(--mds-border-strong);
|
|
2636
|
+
border-radius: var(--mds-radius-media);
|
|
2637
|
+
background: var(--mds-surface-sunken);
|
|
2638
|
+
color: var(--mds-text-primary);
|
|
2639
|
+
cursor: pointer;
|
|
2640
|
+
transition: var(--mds-transition-surface);
|
|
2641
|
+
}
|
|
2642
|
+
.mds-FileDrop__target:focus-visible {
|
|
2643
|
+
outline: var(--mds-focus-width) solid var(--mds-focus-ring-color);
|
|
2644
|
+
outline-offset: var(--mds-focus-offset);
|
|
2645
|
+
}
|
|
2646
|
+
.mds-FileDrop__target:disabled {
|
|
2647
|
+
border-color: var(--mds-border-subtle);
|
|
2648
|
+
color: var(--mds-action-disabled-fg);
|
|
2649
|
+
cursor: not-allowed;
|
|
2650
|
+
}
|
|
2651
|
+
.mds-FileDrop__over .mds-FileDrop__target {
|
|
2652
|
+
border-color: var(--mds-action-bg);
|
|
2653
|
+
background: var(--mds-surface-selected);
|
|
2654
|
+
}
|
|
2655
|
+
.mds-FileDrop__icon {
|
|
2656
|
+
display: inline-flex;
|
|
2657
|
+
align-items: center;
|
|
2658
|
+
justify-content: center;
|
|
2659
|
+
width: var(--mds-icon-lg);
|
|
2660
|
+
height: var(--mds-icon-lg);
|
|
2661
|
+
font-size: var(--mds-icon-lg);
|
|
2662
|
+
color: var(--mds-text-muted);
|
|
2663
|
+
}
|
|
2664
|
+
.mds-FileDrop__picker {
|
|
2665
|
+
display: none;
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2555
2668
|
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Lightbox/Lightbox.module.css?mds-scoped */
|
|
2556
2669
|
.mds-Lightbox__panel {
|
|
2557
2670
|
flex: 1;
|