@mond-design-system/react 4.7.0 → 4.8.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
@@ -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;