@mond-design-system/react 4.6.1 → 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/README.md +1 -1
- package/dist/index.cjs +182 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +245 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +146 -2
- package/dist/index.d.ts +146 -2
- package/dist/index.js +179 -11
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1224,6 +1224,9 @@ button.mds-Link__link {
|
|
|
1224
1224
|
.mds-Checkbox__root:has(.mds-Checkbox__box:disabled) {
|
|
1225
1225
|
cursor: not-allowed;
|
|
1226
1226
|
}
|
|
1227
|
+
.mds-Checkbox__bare {
|
|
1228
|
+
gap: 0;
|
|
1229
|
+
}
|
|
1227
1230
|
.mds-Checkbox__box {
|
|
1228
1231
|
appearance: none;
|
|
1229
1232
|
flex: none;
|
|
@@ -1244,6 +1247,16 @@ button.mds-Link__link {
|
|
|
1244
1247
|
background: var(--mds-action-bg);
|
|
1245
1248
|
border-color: var(--mds-action-bg);
|
|
1246
1249
|
}
|
|
1250
|
+
.mds-Checkbox__box:indeterminate {
|
|
1251
|
+
background: var(--mds-action-bg);
|
|
1252
|
+
border-color: var(--mds-action-bg);
|
|
1253
|
+
}
|
|
1254
|
+
.mds-Checkbox__box:indeterminate::after {
|
|
1255
|
+
content: "";
|
|
1256
|
+
width: 0.5em;
|
|
1257
|
+
height: 0;
|
|
1258
|
+
border-top: solid calc(var(--mds-border-width) * 2) var(--mds-action-fg);
|
|
1259
|
+
}
|
|
1247
1260
|
.mds-Checkbox__box:checked::after {
|
|
1248
1261
|
content: "";
|
|
1249
1262
|
width: 0.32em;
|
|
@@ -1653,6 +1666,169 @@ button.mds-Link__link {
|
|
|
1653
1666
|
color: var(--mds-text-secondary);
|
|
1654
1667
|
}
|
|
1655
1668
|
|
|
1669
|
+
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/DataTable/DataTable.module.css?mds-scoped */
|
|
1670
|
+
.mds-DataTable__root {
|
|
1671
|
+
display: flex;
|
|
1672
|
+
flex-direction: column;
|
|
1673
|
+
gap: var(--mds-gap-tight);
|
|
1674
|
+
}
|
|
1675
|
+
.mds-DataTable__table {
|
|
1676
|
+
width: 100%;
|
|
1677
|
+
display: block;
|
|
1678
|
+
}
|
|
1679
|
+
.mds-DataTable__table colgroup {
|
|
1680
|
+
display: none;
|
|
1681
|
+
}
|
|
1682
|
+
.mds-DataTable__body {
|
|
1683
|
+
display: flex;
|
|
1684
|
+
flex-direction: column;
|
|
1685
|
+
gap: var(--mds-gap-tight);
|
|
1686
|
+
}
|
|
1687
|
+
.mds-DataTable__row {
|
|
1688
|
+
display: flex;
|
|
1689
|
+
flex-direction: column;
|
|
1690
|
+
gap: var(--mds-gap-hairline);
|
|
1691
|
+
padding: var(--mds-pad-card);
|
|
1692
|
+
background: var(--mds-surface-card);
|
|
1693
|
+
border: var(--mds-border-width) solid var(--mds-border-subtle);
|
|
1694
|
+
border-radius: var(--mds-radius-card);
|
|
1695
|
+
}
|
|
1696
|
+
.mds-DataTable__cell,
|
|
1697
|
+
.mds-DataTable__select,
|
|
1698
|
+
.mds-DataTable__actions {
|
|
1699
|
+
display: block;
|
|
1700
|
+
padding: 0;
|
|
1701
|
+
font: var(--mds-type-body);
|
|
1702
|
+
text-align: start;
|
|
1703
|
+
}
|
|
1704
|
+
.mds-DataTable__key {
|
|
1705
|
+
display: block;
|
|
1706
|
+
color: var(--mds-text-secondary);
|
|
1707
|
+
font: var(--mds-type-label);
|
|
1708
|
+
}
|
|
1709
|
+
.mds-DataTable__lead {
|
|
1710
|
+
font: var(--mds-type-subtitle);
|
|
1711
|
+
}
|
|
1712
|
+
.mds-DataTable__select {
|
|
1713
|
+
order: -1;
|
|
1714
|
+
}
|
|
1715
|
+
.mds-DataTable__actions {
|
|
1716
|
+
display: flex;
|
|
1717
|
+
flex-wrap: wrap;
|
|
1718
|
+
gap: var(--mds-gap-tight);
|
|
1719
|
+
margin-block-start: var(--mds-gap-hairline);
|
|
1720
|
+
}
|
|
1721
|
+
.mds-DataTable__selected {
|
|
1722
|
+
background: var(--mds-surface-selected);
|
|
1723
|
+
}
|
|
1724
|
+
.mds-DataTable__muted {
|
|
1725
|
+
color: var(--mds-text-secondary);
|
|
1726
|
+
}
|
|
1727
|
+
.mds-DataTable__empty {
|
|
1728
|
+
padding: var(--mds-pad-card);
|
|
1729
|
+
text-align: center;
|
|
1730
|
+
}
|
|
1731
|
+
.mds-DataTable__bulk {
|
|
1732
|
+
display: flex;
|
|
1733
|
+
flex-direction: column;
|
|
1734
|
+
align-items: stretch;
|
|
1735
|
+
gap: var(--mds-gap-tight);
|
|
1736
|
+
padding: var(--mds-pad-tight) var(--mds-pad-control);
|
|
1737
|
+
background: var(--mds-surface-sunken);
|
|
1738
|
+
border: var(--mds-border-width) solid var(--mds-border-subtle);
|
|
1739
|
+
border-radius: var(--mds-radius-card);
|
|
1740
|
+
}
|
|
1741
|
+
.mds-DataTable__bulkActions {
|
|
1742
|
+
display: flex;
|
|
1743
|
+
gap: var(--mds-gap-tight);
|
|
1744
|
+
}
|
|
1745
|
+
.mds-DataTable__bulkActions > * {
|
|
1746
|
+
flex: 1;
|
|
1747
|
+
}
|
|
1748
|
+
@media (min-width: 600px) {
|
|
1749
|
+
.mds-DataTable__bulk {
|
|
1750
|
+
flex-direction: row;
|
|
1751
|
+
align-items: center;
|
|
1752
|
+
justify-content: space-between;
|
|
1753
|
+
}
|
|
1754
|
+
.mds-DataTable__bulkActions > * {
|
|
1755
|
+
flex: initial;
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
@media (min-width: 1024px) {
|
|
1759
|
+
.mds-DataTable__table {
|
|
1760
|
+
display: table;
|
|
1761
|
+
border-collapse: collapse;
|
|
1762
|
+
background: var(--mds-surface-card);
|
|
1763
|
+
border: var(--mds-border-width) solid var(--mds-border-subtle);
|
|
1764
|
+
border-radius: var(--mds-radius-card);
|
|
1765
|
+
overflow: hidden;
|
|
1766
|
+
}
|
|
1767
|
+
.mds-DataTable__table colgroup {
|
|
1768
|
+
display: table-column-group;
|
|
1769
|
+
}
|
|
1770
|
+
.mds-DataTable__root .mds-DataTable__head {
|
|
1771
|
+
display: table-header-group;
|
|
1772
|
+
position: static;
|
|
1773
|
+
width: auto;
|
|
1774
|
+
height: auto;
|
|
1775
|
+
margin: 0;
|
|
1776
|
+
overflow: visible;
|
|
1777
|
+
clip-path: none;
|
|
1778
|
+
white-space: normal;
|
|
1779
|
+
}
|
|
1780
|
+
.mds-DataTable__body {
|
|
1781
|
+
display: table-row-group;
|
|
1782
|
+
}
|
|
1783
|
+
.mds-DataTable__row {
|
|
1784
|
+
display: table-row;
|
|
1785
|
+
padding: 0;
|
|
1786
|
+
background: none;
|
|
1787
|
+
border: none;
|
|
1788
|
+
border-radius: 0;
|
|
1789
|
+
border-bottom: var(--mds-border-width) solid var(--mds-border-subtle);
|
|
1790
|
+
}
|
|
1791
|
+
.mds-DataTable__body .mds-DataTable__row:last-child {
|
|
1792
|
+
border-bottom: none;
|
|
1793
|
+
}
|
|
1794
|
+
.mds-DataTable__body .mds-DataTable__row:hover {
|
|
1795
|
+
background: var(--mds-surface-sunken);
|
|
1796
|
+
}
|
|
1797
|
+
.mds-DataTable__body .mds-DataTable__selected {
|
|
1798
|
+
background: var(--mds-surface-selected);
|
|
1799
|
+
}
|
|
1800
|
+
.mds-DataTable__cell,
|
|
1801
|
+
.mds-DataTable__select,
|
|
1802
|
+
.mds-DataTable__actions {
|
|
1803
|
+
display: table-cell;
|
|
1804
|
+
padding: var(--mds-pad-tight) var(--mds-pad-control);
|
|
1805
|
+
vertical-align: middle;
|
|
1806
|
+
}
|
|
1807
|
+
.mds-DataTable__key {
|
|
1808
|
+
display: none;
|
|
1809
|
+
}
|
|
1810
|
+
.mds-DataTable__lead {
|
|
1811
|
+
font: var(--mds-type-body);
|
|
1812
|
+
}
|
|
1813
|
+
th.mds-DataTable__cell,
|
|
1814
|
+
th.mds-DataTable__select,
|
|
1815
|
+
th.mds-DataTable__actions {
|
|
1816
|
+
color: var(--mds-text-secondary);
|
|
1817
|
+
font: var(--mds-type-label);
|
|
1818
|
+
white-space: nowrap;
|
|
1819
|
+
}
|
|
1820
|
+
.mds-DataTable__select {
|
|
1821
|
+
order: 0;
|
|
1822
|
+
width: var(--mds-tap-min);
|
|
1823
|
+
}
|
|
1824
|
+
.mds-DataTable__actions {
|
|
1825
|
+
width: 0;
|
|
1826
|
+
margin-block-start: 0;
|
|
1827
|
+
white-space: nowrap;
|
|
1828
|
+
text-align: end;
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1656
1832
|
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/EmptyState/EmptyState.module.css?mds-scoped */
|
|
1657
1833
|
.mds-EmptyState__root {
|
|
1658
1834
|
display: flex;
|
|
@@ -2163,6 +2339,75 @@ button.mds-Link__link {
|
|
|
2163
2339
|
background: var(--mds-accent-hover);
|
|
2164
2340
|
}
|
|
2165
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
|
+
|
|
2166
2411
|
/* mds-css:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/MediaPlaceholder/MediaPlaceholder.module.css?mds-scoped */
|
|
2167
2412
|
.mds-MediaPlaceholder__media {
|
|
2168
2413
|
position: relative;
|