@usefidel/design-system 0.15.0 → 0.17.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/fidel.manifest.json +2 -2
- package/dist/icons.cjs +66 -0
- package/dist/icons.d.cts +21 -0
- package/dist/icons.d.ts +21 -0
- package/dist/icons.js +57 -0
- package/dist/index.cjs +501 -121
- package/dist/index.css +628 -0
- package/dist/index.d.cts +184 -2
- package/dist/index.d.ts +184 -2
- package/dist/index.js +490 -121
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -165,6 +165,22 @@
|
|
|
165
165
|
color: #a3a3a3;
|
|
166
166
|
cursor: not-allowed;
|
|
167
167
|
}
|
|
168
|
+
.fds-button--dark {
|
|
169
|
+
background-color: var(--color-primary, #171717);
|
|
170
|
+
color: var(--color-primary-text, #ffffff);
|
|
171
|
+
box-shadow: var(--shadow-xs, 0 1px 2px rgba(0, 0, 0, 0.04));
|
|
172
|
+
}
|
|
173
|
+
.fds-button--dark:hover:not(:disabled) {
|
|
174
|
+
background-color: var(--color-primary-hover, #262626);
|
|
175
|
+
}
|
|
176
|
+
.fds-button--dark:active:not(:disabled) {
|
|
177
|
+
background-color: #000000;
|
|
178
|
+
}
|
|
179
|
+
.fds-button--dark:disabled {
|
|
180
|
+
background-color: var(--color-surface, #f5f5f5);
|
|
181
|
+
color: #a3a3a3;
|
|
182
|
+
cursor: not-allowed;
|
|
183
|
+
}
|
|
168
184
|
.fds-button--neutral {
|
|
169
185
|
background-color: var(--color-surface-subtle, #fafafa);
|
|
170
186
|
color: var(--color-text-on-neutral, #404040);
|
|
@@ -1421,3 +1437,615 @@
|
|
|
1421
1437
|
position: static;
|
|
1422
1438
|
}
|
|
1423
1439
|
}
|
|
1440
|
+
|
|
1441
|
+
/* src/components/Badge/badge.css */
|
|
1442
|
+
.fds-badge {
|
|
1443
|
+
box-sizing: border-box;
|
|
1444
|
+
display: inline-flex;
|
|
1445
|
+
align-items: center;
|
|
1446
|
+
gap: 6px;
|
|
1447
|
+
padding: 6px 12px;
|
|
1448
|
+
border-radius: var(--radius-pill, 9999px);
|
|
1449
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1450
|
+
font-size: var(--font-size-text-sm, 14px);
|
|
1451
|
+
line-height: 20px;
|
|
1452
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1453
|
+
white-space: nowrap;
|
|
1454
|
+
}
|
|
1455
|
+
.fds-badge__icon {
|
|
1456
|
+
display: inline-flex;
|
|
1457
|
+
flex-shrink: 0;
|
|
1458
|
+
}
|
|
1459
|
+
.fds-badge__icon > svg {
|
|
1460
|
+
width: 12px;
|
|
1461
|
+
height: 12px;
|
|
1462
|
+
}
|
|
1463
|
+
.fds-badge--neutral {
|
|
1464
|
+
background: var(--color-surface, #f5f5f5);
|
|
1465
|
+
color: var(--color-text-secondary, #525252);
|
|
1466
|
+
}
|
|
1467
|
+
.fds-badge--info {
|
|
1468
|
+
background: var(--color-info-surface, #eff6ff);
|
|
1469
|
+
color: var(--color-info-strong, #2563eb);
|
|
1470
|
+
}
|
|
1471
|
+
.fds-badge--success {
|
|
1472
|
+
background: var(--color-success-bg, #f0fdf4);
|
|
1473
|
+
color: var(--color-success-text, #15803d);
|
|
1474
|
+
}
|
|
1475
|
+
.fds-badge--warning {
|
|
1476
|
+
background: var(--color-warning-bg, #fffbeb);
|
|
1477
|
+
color: var(--color-warning-text, #92400e);
|
|
1478
|
+
}
|
|
1479
|
+
.fds-badge--danger {
|
|
1480
|
+
background: var(--color-error-bg, #fef2f2);
|
|
1481
|
+
color: var(--color-destructive, #eb2d2d);
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
/* src/components/Tag/tag.css */
|
|
1485
|
+
.fds-tag {
|
|
1486
|
+
box-sizing: border-box;
|
|
1487
|
+
display: inline-flex;
|
|
1488
|
+
align-items: center;
|
|
1489
|
+
gap: 6px;
|
|
1490
|
+
padding: 4px 10px;
|
|
1491
|
+
background: var(--color-surface-subtle, #fafafa);
|
|
1492
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
1493
|
+
border-radius: var(--radius-md, 6px);
|
|
1494
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1495
|
+
font-size: var(--font-size-text-sm, 14px);
|
|
1496
|
+
line-height: 20px;
|
|
1497
|
+
color: var(--color-text-secondary, #525252);
|
|
1498
|
+
white-space: nowrap;
|
|
1499
|
+
}
|
|
1500
|
+
.fds-dot {
|
|
1501
|
+
display: inline-block;
|
|
1502
|
+
flex-shrink: 0;
|
|
1503
|
+
width: 6px;
|
|
1504
|
+
height: 6px;
|
|
1505
|
+
border-radius: var(--radius-full, 9999px);
|
|
1506
|
+
}
|
|
1507
|
+
.fds-dot--neutral {
|
|
1508
|
+
background: var(--color-text-tertiary, #737373);
|
|
1509
|
+
}
|
|
1510
|
+
.fds-dot--info {
|
|
1511
|
+
background: var(--color-info-strong, #2563eb);
|
|
1512
|
+
}
|
|
1513
|
+
.fds-dot--success {
|
|
1514
|
+
background: var(--color-success, #059669);
|
|
1515
|
+
}
|
|
1516
|
+
.fds-dot--warning {
|
|
1517
|
+
background: var(--color-warning, #ca8a04);
|
|
1518
|
+
}
|
|
1519
|
+
.fds-dot--danger {
|
|
1520
|
+
background: var(--color-destructive, #eb2d2d);
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
/* src/components/MultiSelect/multi-select.css */
|
|
1524
|
+
.fds-multiselect {
|
|
1525
|
+
position: relative;
|
|
1526
|
+
display: inline-block;
|
|
1527
|
+
}
|
|
1528
|
+
.fds-multiselect__trigger {
|
|
1529
|
+
box-sizing: border-box;
|
|
1530
|
+
display: inline-flex;
|
|
1531
|
+
align-items: center;
|
|
1532
|
+
gap: var(--spacing-2, 8px);
|
|
1533
|
+
min-height: 44px;
|
|
1534
|
+
padding: 10px 14px;
|
|
1535
|
+
background: var(--color-surface-raised, #ffffff);
|
|
1536
|
+
border: 1px solid var(--color-border-strong, #d4d4d4);
|
|
1537
|
+
border-radius: var(--radius-lg, 8px);
|
|
1538
|
+
box-shadow: var(--shadow-xs, 0 1px 2px rgba(0, 0, 0, 0.04));
|
|
1539
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1540
|
+
font-size: var(--font-size-text-md, 16px);
|
|
1541
|
+
line-height: 24px;
|
|
1542
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1543
|
+
color: var(--color-text, #171717);
|
|
1544
|
+
cursor: pointer;
|
|
1545
|
+
white-space: nowrap;
|
|
1546
|
+
transition: border-color var(--duration-instant, 80ms) ease, box-shadow var(--duration-instant, 80ms) ease;
|
|
1547
|
+
}
|
|
1548
|
+
.fds-multiselect__trigger:focus-visible,
|
|
1549
|
+
.fds-multiselect__trigger--open {
|
|
1550
|
+
outline: none;
|
|
1551
|
+
border-color: var(--color-accent, #ea580c);
|
|
1552
|
+
box-shadow: inset 0 0 0 1px var(--color-accent, #ea580c);
|
|
1553
|
+
}
|
|
1554
|
+
.fds-multiselect__trigger:disabled {
|
|
1555
|
+
background: var(--color-surface-subtle, #fafafa);
|
|
1556
|
+
color: var(--color-text-muted, #a3a3a3);
|
|
1557
|
+
cursor: not-allowed;
|
|
1558
|
+
}
|
|
1559
|
+
.fds-multiselect__count {
|
|
1560
|
+
padding: 2px 6px;
|
|
1561
|
+
border: 1px solid var(--color-border-light, #f5f5f5);
|
|
1562
|
+
border-radius: var(--radius-sm, 4px);
|
|
1563
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
1564
|
+
line-height: 18px;
|
|
1565
|
+
color: var(--color-text-tertiary, #737373);
|
|
1566
|
+
}
|
|
1567
|
+
.fds-multiselect__chevron {
|
|
1568
|
+
display: inline-flex;
|
|
1569
|
+
margin-left: var(--spacing-4, 16px);
|
|
1570
|
+
color: var(--color-text-tertiary, #737373);
|
|
1571
|
+
transition: transform var(--duration-instant, 80ms) ease;
|
|
1572
|
+
}
|
|
1573
|
+
.fds-multiselect__chevron--open {
|
|
1574
|
+
transform: rotate(180deg);
|
|
1575
|
+
}
|
|
1576
|
+
.fds-multiselect__popover {
|
|
1577
|
+
position: absolute;
|
|
1578
|
+
top: calc(100% + 8px);
|
|
1579
|
+
left: 0;
|
|
1580
|
+
z-index: 50;
|
|
1581
|
+
min-width: max(100%, 280px);
|
|
1582
|
+
background: var(--color-surface-raised, #ffffff);
|
|
1583
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
1584
|
+
border-radius: var(--radius-lg, 8px);
|
|
1585
|
+
box-shadow: 0 12px 16px -4px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
|
|
1586
|
+
overflow: hidden;
|
|
1587
|
+
}
|
|
1588
|
+
.fds-multiselect__list {
|
|
1589
|
+
padding: 4px 0;
|
|
1590
|
+
}
|
|
1591
|
+
.fds-multiselect__list:focus {
|
|
1592
|
+
outline: none;
|
|
1593
|
+
}
|
|
1594
|
+
.fds-multiselect__option {
|
|
1595
|
+
display: flex;
|
|
1596
|
+
align-items: center;
|
|
1597
|
+
gap: var(--spacing-2, 8px);
|
|
1598
|
+
padding: 10px 14px;
|
|
1599
|
+
cursor: pointer;
|
|
1600
|
+
}
|
|
1601
|
+
.fds-multiselect__option--active {
|
|
1602
|
+
background: var(--color-surface-subtle, #fafafa);
|
|
1603
|
+
}
|
|
1604
|
+
.fds-multiselect__option--disabled {
|
|
1605
|
+
opacity: 0.5;
|
|
1606
|
+
cursor: not-allowed;
|
|
1607
|
+
}
|
|
1608
|
+
.fds-multiselect__box {
|
|
1609
|
+
box-sizing: border-box;
|
|
1610
|
+
display: inline-grid;
|
|
1611
|
+
place-items: center;
|
|
1612
|
+
flex-shrink: 0;
|
|
1613
|
+
width: 16px;
|
|
1614
|
+
height: 16px;
|
|
1615
|
+
border: 1px solid var(--color-border-strong, #d4d4d4);
|
|
1616
|
+
border-radius: var(--radius-sm, 4px);
|
|
1617
|
+
color: var(--color-text, #171717);
|
|
1618
|
+
}
|
|
1619
|
+
.fds-multiselect__box--checked {
|
|
1620
|
+
border-color: var(--color-text-secondary, #525252);
|
|
1621
|
+
}
|
|
1622
|
+
.fds-multiselect__optLabel {
|
|
1623
|
+
flex: 1 1 auto;
|
|
1624
|
+
min-width: 0;
|
|
1625
|
+
overflow: hidden;
|
|
1626
|
+
text-overflow: ellipsis;
|
|
1627
|
+
white-space: nowrap;
|
|
1628
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1629
|
+
font-size: var(--font-size-text-md, 16px);
|
|
1630
|
+
line-height: 24px;
|
|
1631
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1632
|
+
color: var(--color-text, #171717);
|
|
1633
|
+
}
|
|
1634
|
+
.fds-multiselect__optCount {
|
|
1635
|
+
flex-shrink: 0;
|
|
1636
|
+
margin-left: var(--spacing-2, 8px);
|
|
1637
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1638
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
1639
|
+
line-height: 18px;
|
|
1640
|
+
color: var(--color-text-secondary, #525252);
|
|
1641
|
+
}
|
|
1642
|
+
.fds-multiselect__footer {
|
|
1643
|
+
display: flex;
|
|
1644
|
+
justify-content: space-between;
|
|
1645
|
+
align-items: center;
|
|
1646
|
+
height: 40px;
|
|
1647
|
+
padding: 0 16px;
|
|
1648
|
+
border-top: 1px solid var(--color-border, #e5e5e5);
|
|
1649
|
+
}
|
|
1650
|
+
.fds-multiselect__action {
|
|
1651
|
+
padding: 0;
|
|
1652
|
+
background: none;
|
|
1653
|
+
border: 0;
|
|
1654
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1655
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
1656
|
+
line-height: 18px;
|
|
1657
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1658
|
+
color: var(--color-text-tertiary, #737373);
|
|
1659
|
+
cursor: pointer;
|
|
1660
|
+
}
|
|
1661
|
+
.fds-multiselect__action:hover {
|
|
1662
|
+
color: var(--color-text, #171717);
|
|
1663
|
+
}
|
|
1664
|
+
.fds-multiselect__action:focus-visible {
|
|
1665
|
+
outline: 2px solid var(--color-focus, #ea580c);
|
|
1666
|
+
outline-offset: 2px;
|
|
1667
|
+
border-radius: var(--radius-xs, 2px);
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
/* src/components/SearchInput/search-input.css */
|
|
1671
|
+
.fds-search {
|
|
1672
|
+
position: relative;
|
|
1673
|
+
display: flex;
|
|
1674
|
+
align-items: center;
|
|
1675
|
+
width: 100%;
|
|
1676
|
+
}
|
|
1677
|
+
.fds-search__icon {
|
|
1678
|
+
position: absolute;
|
|
1679
|
+
left: 14px;
|
|
1680
|
+
color: var(--color-text-tertiary, #737373);
|
|
1681
|
+
pointer-events: none;
|
|
1682
|
+
}
|
|
1683
|
+
.fds-search__input {
|
|
1684
|
+
box-sizing: border-box;
|
|
1685
|
+
width: 100%;
|
|
1686
|
+
min-height: 44px;
|
|
1687
|
+
padding: 10px 40px 10px 42px;
|
|
1688
|
+
background: var(--color-surface-raised, #ffffff);
|
|
1689
|
+
border: 1px solid var(--color-border-strong, #d4d4d4);
|
|
1690
|
+
border-radius: var(--radius-lg, 8px);
|
|
1691
|
+
box-shadow: var(--shadow-xs, 0 1px 2px rgba(0, 0, 0, 0.04));
|
|
1692
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1693
|
+
font-size: var(--font-size-text-md, 16px);
|
|
1694
|
+
line-height: 24px;
|
|
1695
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1696
|
+
color: var(--color-text, #171717);
|
|
1697
|
+
transition: border-color var(--duration-instant, 80ms) ease, box-shadow var(--duration-instant, 80ms) ease;
|
|
1698
|
+
}
|
|
1699
|
+
.fds-search__input::placeholder {
|
|
1700
|
+
color: var(--color-text-tertiary, #737373);
|
|
1701
|
+
}
|
|
1702
|
+
.fds-search__input:focus {
|
|
1703
|
+
outline: none;
|
|
1704
|
+
border-color: var(--color-accent, #ea580c);
|
|
1705
|
+
box-shadow: inset 0 0 0 1px var(--color-accent, #ea580c);
|
|
1706
|
+
}
|
|
1707
|
+
.fds-search__input::-webkit-search-cancel-button {
|
|
1708
|
+
cursor: pointer;
|
|
1709
|
+
}
|
|
1710
|
+
.fds-search__kbd {
|
|
1711
|
+
position: absolute;
|
|
1712
|
+
right: 12px;
|
|
1713
|
+
padding: 0 6px;
|
|
1714
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
1715
|
+
border-radius: var(--radius-sm, 4px);
|
|
1716
|
+
font-family: var(--font-mono, monospace);
|
|
1717
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
1718
|
+
line-height: 18px;
|
|
1719
|
+
color: var(--color-text-tertiary, #737373);
|
|
1720
|
+
pointer-events: none;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
/* src/components/Pagination/pagination.css */
|
|
1724
|
+
.fds-pagination {
|
|
1725
|
+
display: flex;
|
|
1726
|
+
align-items: center;
|
|
1727
|
+
justify-content: space-between;
|
|
1728
|
+
gap: var(--spacing-4, 16px);
|
|
1729
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1730
|
+
font-size: var(--font-size-text-sm, 14px);
|
|
1731
|
+
line-height: 20px;
|
|
1732
|
+
color: var(--color-text-secondary, #525252);
|
|
1733
|
+
}
|
|
1734
|
+
.fds-pagination--compact {
|
|
1735
|
+
justify-content: center;
|
|
1736
|
+
}
|
|
1737
|
+
.fds-pagination__range {
|
|
1738
|
+
margin: 0;
|
|
1739
|
+
}
|
|
1740
|
+
.fds-pagination__controls {
|
|
1741
|
+
display: flex;
|
|
1742
|
+
align-items: center;
|
|
1743
|
+
gap: var(--spacing-1, 4px);
|
|
1744
|
+
}
|
|
1745
|
+
.fds-pagination__arrow,
|
|
1746
|
+
.fds-pagination__page {
|
|
1747
|
+
box-sizing: border-box;
|
|
1748
|
+
display: inline-grid;
|
|
1749
|
+
place-items: center;
|
|
1750
|
+
min-width: 36px;
|
|
1751
|
+
height: 36px;
|
|
1752
|
+
padding: 0 8px;
|
|
1753
|
+
background: none;
|
|
1754
|
+
border: 1px solid transparent;
|
|
1755
|
+
border-radius: var(--radius-lg, 8px);
|
|
1756
|
+
font: inherit;
|
|
1757
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1758
|
+
color: var(--color-text-secondary, #525252);
|
|
1759
|
+
cursor: pointer;
|
|
1760
|
+
transition: background var(--duration-instant, 80ms) ease;
|
|
1761
|
+
}
|
|
1762
|
+
.fds-pagination__arrow:hover:not(:disabled),
|
|
1763
|
+
.fds-pagination__page:hover {
|
|
1764
|
+
background: var(--color-surface, #f5f5f5);
|
|
1765
|
+
}
|
|
1766
|
+
.fds-pagination__arrow:disabled {
|
|
1767
|
+
color: var(--color-text-muted, #a3a3a3);
|
|
1768
|
+
cursor: not-allowed;
|
|
1769
|
+
}
|
|
1770
|
+
.fds-pagination__arrow:focus-visible,
|
|
1771
|
+
.fds-pagination__page:focus-visible {
|
|
1772
|
+
outline: 2px solid var(--color-focus, #ea580c);
|
|
1773
|
+
outline-offset: 2px;
|
|
1774
|
+
}
|
|
1775
|
+
.fds-pagination__page--current {
|
|
1776
|
+
border-color: var(--color-border, #e5e5e5);
|
|
1777
|
+
background: var(--color-surface-raised, #ffffff);
|
|
1778
|
+
color: var(--color-text, #171717);
|
|
1779
|
+
box-shadow: var(--shadow-xs, 0 1px 2px rgba(0, 0, 0, 0.04));
|
|
1780
|
+
}
|
|
1781
|
+
.fds-pagination__gap {
|
|
1782
|
+
min-width: 24px;
|
|
1783
|
+
text-align: center;
|
|
1784
|
+
color: var(--color-text-muted, #a3a3a3);
|
|
1785
|
+
}
|
|
1786
|
+
.fds-pagination__status {
|
|
1787
|
+
padding: 0 var(--spacing-2, 8px);
|
|
1788
|
+
white-space: nowrap;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
/* src/components/EmptyState/empty-state.css */
|
|
1792
|
+
.fds-empty {
|
|
1793
|
+
display: flex;
|
|
1794
|
+
flex-direction: column;
|
|
1795
|
+
align-items: center;
|
|
1796
|
+
gap: var(--spacing-8, 32px);
|
|
1797
|
+
padding: 64px 40px;
|
|
1798
|
+
text-align: center;
|
|
1799
|
+
}
|
|
1800
|
+
.fds-empty__illustration {
|
|
1801
|
+
display: grid;
|
|
1802
|
+
place-items: center;
|
|
1803
|
+
min-height: 180px;
|
|
1804
|
+
}
|
|
1805
|
+
.fds-empty__text {
|
|
1806
|
+
display: flex;
|
|
1807
|
+
flex-direction: column;
|
|
1808
|
+
align-items: center;
|
|
1809
|
+
gap: var(--spacing-3, 12px);
|
|
1810
|
+
}
|
|
1811
|
+
.fds-empty__title {
|
|
1812
|
+
margin: 0;
|
|
1813
|
+
font-family: var(--font-display, "Rethink Sans", system-ui, sans-serif);
|
|
1814
|
+
font-size: var(--font-size-display-xs, 24px);
|
|
1815
|
+
line-height: 32px;
|
|
1816
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1817
|
+
letter-spacing: -0.18px;
|
|
1818
|
+
color: var(--color-text, #171717);
|
|
1819
|
+
}
|
|
1820
|
+
.fds-empty__description {
|
|
1821
|
+
margin: 0;
|
|
1822
|
+
max-width: 380px;
|
|
1823
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1824
|
+
font-size: var(--font-size-text-sm, 14px);
|
|
1825
|
+
line-height: 20px;
|
|
1826
|
+
color: var(--color-text-secondary, #525252);
|
|
1827
|
+
}
|
|
1828
|
+
.fds-empty__actions {
|
|
1829
|
+
display: flex;
|
|
1830
|
+
flex-direction: column;
|
|
1831
|
+
align-items: center;
|
|
1832
|
+
gap: var(--spacing-6, 24px);
|
|
1833
|
+
}
|
|
1834
|
+
.fds-empty__footer {
|
|
1835
|
+
display: flex;
|
|
1836
|
+
flex-wrap: wrap;
|
|
1837
|
+
align-items: center;
|
|
1838
|
+
justify-content: center;
|
|
1839
|
+
gap: 10px;
|
|
1840
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1841
|
+
font-size: var(--font-size-text-sm, 14px);
|
|
1842
|
+
line-height: 20px;
|
|
1843
|
+
color: var(--color-text-tertiary, #737373);
|
|
1844
|
+
}
|
|
1845
|
+
.fds-stacked-cards {
|
|
1846
|
+
position: relative;
|
|
1847
|
+
width: 240px;
|
|
1848
|
+
height: 160px;
|
|
1849
|
+
}
|
|
1850
|
+
.fds-stacked-cards__card {
|
|
1851
|
+
box-sizing: border-box;
|
|
1852
|
+
position: absolute;
|
|
1853
|
+
width: 180px;
|
|
1854
|
+
height: 116px;
|
|
1855
|
+
background: var(--color-surface-raised, #ffffff);
|
|
1856
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
1857
|
+
border-radius: var(--radius-xl, 12px);
|
|
1858
|
+
}
|
|
1859
|
+
.fds-stacked-cards__card--back {
|
|
1860
|
+
left: 30px;
|
|
1861
|
+
top: 27px;
|
|
1862
|
+
transform: rotate(5deg);
|
|
1863
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
|
|
1864
|
+
}
|
|
1865
|
+
.fds-stacked-cards__card--front {
|
|
1866
|
+
left: 19px;
|
|
1867
|
+
top: 3px;
|
|
1868
|
+
display: flex;
|
|
1869
|
+
align-items: flex-start;
|
|
1870
|
+
justify-content: space-between;
|
|
1871
|
+
padding: 16px;
|
|
1872
|
+
border-width: 1.5px;
|
|
1873
|
+
transform: rotate(-4deg);
|
|
1874
|
+
filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.02));
|
|
1875
|
+
}
|
|
1876
|
+
.fds-stacked-cards__lines {
|
|
1877
|
+
display: flex;
|
|
1878
|
+
flex-direction: column;
|
|
1879
|
+
gap: 6px;
|
|
1880
|
+
width: 100px;
|
|
1881
|
+
}
|
|
1882
|
+
.fds-stacked-cards__lines > span {
|
|
1883
|
+
height: 6px;
|
|
1884
|
+
border-radius: 3px;
|
|
1885
|
+
}
|
|
1886
|
+
.fds-stacked-cards__lines > span:nth-child(1) {
|
|
1887
|
+
width: 100%;
|
|
1888
|
+
background: var(--color-border, #e5e5e5);
|
|
1889
|
+
}
|
|
1890
|
+
.fds-stacked-cards__lines > span:nth-child(2) {
|
|
1891
|
+
width: 70px;
|
|
1892
|
+
background: var(--color-surface, #f5f5f5);
|
|
1893
|
+
}
|
|
1894
|
+
.fds-stacked-cards__lines > span:nth-child(3) {
|
|
1895
|
+
width: 45px;
|
|
1896
|
+
background: var(--color-surface-subtle, #fafafa);
|
|
1897
|
+
}
|
|
1898
|
+
.fds-stacked-cards__status {
|
|
1899
|
+
color: var(--color-border, #e5e5e5);
|
|
1900
|
+
}
|
|
1901
|
+
.fds-stacked-cards__statusDot {
|
|
1902
|
+
fill: var(--color-text-tertiary, #737373);
|
|
1903
|
+
}
|
|
1904
|
+
.fds-stacked-cards__badge {
|
|
1905
|
+
position: absolute;
|
|
1906
|
+
left: 145px;
|
|
1907
|
+
top: 75px;
|
|
1908
|
+
display: grid;
|
|
1909
|
+
place-items: center;
|
|
1910
|
+
width: 48px;
|
|
1911
|
+
height: 48px;
|
|
1912
|
+
border-radius: var(--radius-full, 9999px);
|
|
1913
|
+
background: var(--color-primary, #171717);
|
|
1914
|
+
color: var(--color-primary-text, #ffffff);
|
|
1915
|
+
filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.13));
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
/* src/components/Callout/callout.css */
|
|
1919
|
+
.fds-callout {
|
|
1920
|
+
box-sizing: border-box;
|
|
1921
|
+
display: flex;
|
|
1922
|
+
align-items: center;
|
|
1923
|
+
gap: 14px;
|
|
1924
|
+
padding: 14px 16px;
|
|
1925
|
+
border: 1px solid var(--fds-callout-border);
|
|
1926
|
+
border-radius: var(--radius-lg, 12px);
|
|
1927
|
+
background: var(--fds-callout-bg);
|
|
1928
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1929
|
+
color: var(--color-text, #171717);
|
|
1930
|
+
}
|
|
1931
|
+
.fds-callout__icon {
|
|
1932
|
+
display: inline-flex;
|
|
1933
|
+
align-items: center;
|
|
1934
|
+
justify-content: center;
|
|
1935
|
+
flex-shrink: 0;
|
|
1936
|
+
align-self: flex-start;
|
|
1937
|
+
width: 32px;
|
|
1938
|
+
height: 32px;
|
|
1939
|
+
border-radius: var(--radius-md, 8px);
|
|
1940
|
+
background: var(--color-bg, #ffffff);
|
|
1941
|
+
color: var(--fds-callout-icon);
|
|
1942
|
+
}
|
|
1943
|
+
.fds-callout__icon > svg {
|
|
1944
|
+
width: 16px;
|
|
1945
|
+
height: 16px;
|
|
1946
|
+
}
|
|
1947
|
+
.fds-callout__body {
|
|
1948
|
+
flex: 1;
|
|
1949
|
+
min-width: 0;
|
|
1950
|
+
}
|
|
1951
|
+
.fds-callout__title {
|
|
1952
|
+
display: flex;
|
|
1953
|
+
flex-wrap: wrap;
|
|
1954
|
+
align-items: center;
|
|
1955
|
+
gap: 4px 8px;
|
|
1956
|
+
margin: 0;
|
|
1957
|
+
font-size: var(--font-size-text-sm, 14px);
|
|
1958
|
+
line-height: 20px;
|
|
1959
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
1960
|
+
}
|
|
1961
|
+
.fds-callout__aside {
|
|
1962
|
+
display: inline-flex;
|
|
1963
|
+
}
|
|
1964
|
+
.fds-callout__text {
|
|
1965
|
+
margin-top: 2px;
|
|
1966
|
+
font-size: 13px;
|
|
1967
|
+
line-height: 20px;
|
|
1968
|
+
color: var(--color-text-secondary, #525252);
|
|
1969
|
+
}
|
|
1970
|
+
.fds-callout__action {
|
|
1971
|
+
display: flex;
|
|
1972
|
+
flex-shrink: 0;
|
|
1973
|
+
gap: 8px;
|
|
1974
|
+
}
|
|
1975
|
+
@media (max-width: 480px) {
|
|
1976
|
+
.fds-callout {
|
|
1977
|
+
flex-wrap: wrap;
|
|
1978
|
+
}
|
|
1979
|
+
.fds-callout__action {
|
|
1980
|
+
flex-basis: 100%;
|
|
1981
|
+
padding-left: 46px;
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
.fds-callout--neutral {
|
|
1985
|
+
--fds-callout-bg: var(--color-surface-subtle, #fafafa);
|
|
1986
|
+
--fds-callout-border: var(--color-border, #e5e5e5);
|
|
1987
|
+
--fds-callout-icon: var(--color-text-secondary, #525252);
|
|
1988
|
+
}
|
|
1989
|
+
.fds-callout--accent {
|
|
1990
|
+
--fds-callout-bg: var(--color-accent-subtle, #fff7ed);
|
|
1991
|
+
--fds-callout-border: var(--color-accent-muted, #fdba74);
|
|
1992
|
+
--fds-callout-icon: var(--color-accent, #ea580c);
|
|
1993
|
+
}
|
|
1994
|
+
.fds-callout--info {
|
|
1995
|
+
--fds-callout-bg: var(--color-info-surface, #eff6ff);
|
|
1996
|
+
--fds-callout-border: var(--color-info, #93c5fd);
|
|
1997
|
+
--fds-callout-icon: var(--color-info-strong, #2563eb);
|
|
1998
|
+
}
|
|
1999
|
+
.fds-callout--success {
|
|
2000
|
+
--fds-callout-bg: var(--color-success-bg, #f0fdf4);
|
|
2001
|
+
--fds-callout-border: var(--color-success, #86efac);
|
|
2002
|
+
--fds-callout-icon: var(--color-success-text, #15803d);
|
|
2003
|
+
}
|
|
2004
|
+
.fds-callout--warning {
|
|
2005
|
+
--fds-callout-bg: var(--color-warning-bg, #fffbeb);
|
|
2006
|
+
--fds-callout-border: var(--color-warning-border, #fcd34d);
|
|
2007
|
+
--fds-callout-icon: var(--color-warning-text, #92400e);
|
|
2008
|
+
}
|
|
2009
|
+
.fds-callout--danger {
|
|
2010
|
+
--fds-callout-bg: var(--color-error-bg, #fef2f2);
|
|
2011
|
+
--fds-callout-border: var(--color-error-border, #fecaca);
|
|
2012
|
+
--fds-callout-icon: var(--color-destructive, #eb2d2d);
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
/* src/components/Skeleton/skeleton.css */
|
|
2016
|
+
.fds-skeleton {
|
|
2017
|
+
display: block;
|
|
2018
|
+
flex-shrink: 0;
|
|
2019
|
+
max-width: 100%;
|
|
2020
|
+
height: 16px;
|
|
2021
|
+
border-radius: var(--radius-sm, 4px);
|
|
2022
|
+
background: var(--color-surface-hover, #ececec);
|
|
2023
|
+
animation: fds-skeleton-pulse 1.4s ease-in-out infinite;
|
|
2024
|
+
}
|
|
2025
|
+
.fds-skeleton--text {
|
|
2026
|
+
width: 100%;
|
|
2027
|
+
height: 1em;
|
|
2028
|
+
border-radius: var(--radius-xs, 2px);
|
|
2029
|
+
}
|
|
2030
|
+
.fds-skeleton--circle {
|
|
2031
|
+
border-radius: var(--radius-full, 9999px);
|
|
2032
|
+
}
|
|
2033
|
+
.fds-skeleton-lines {
|
|
2034
|
+
display: flex;
|
|
2035
|
+
flex-direction: column;
|
|
2036
|
+
gap: 0.5em;
|
|
2037
|
+
width: 100%;
|
|
2038
|
+
}
|
|
2039
|
+
@keyframes fds-skeleton-pulse {
|
|
2040
|
+
0%, 100% {
|
|
2041
|
+
opacity: 1;
|
|
2042
|
+
}
|
|
2043
|
+
50% {
|
|
2044
|
+
opacity: 0.45;
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2048
|
+
.fds-skeleton {
|
|
2049
|
+
animation: none;
|
|
2050
|
+
}
|
|
2051
|
+
}
|