@seed-design/css 1.2.6 → 1.2.7
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/all.css +111 -0
- package/all.layered.css +111 -0
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/app-bar.css +93 -0
- package/recipes/app-bar.d.ts +1 -1
- package/recipes/app-bar.layered.css +90 -0
- package/recipes/app-bar.layered.mjs +4 -0
- package/recipes/app-bar.mjs +4 -0
- package/recipes/avatar-stack.css +7 -0
- package/recipes/avatar-stack.d.ts +1 -1
- package/recipes/avatar-stack.layered.css +9 -0
- package/recipes/avatar-stack.layered.mjs +1 -0
- package/recipes/avatar-stack.mjs +1 -0
- package/recipes/avatar.css +10 -0
- package/recipes/avatar.d.ts +1 -1
- package/recipes/avatar.layered.css +12 -0
- package/recipes/avatar.layered.mjs +1 -0
- package/recipes/avatar.mjs +1 -0
- package/vars/color/bg.d.ts +5 -5
- package/vars/component/avatar-stack.d.ts +10 -0
- package/vars/component/avatar-stack.mjs +10 -0
- package/vars/component/avatar.d.ts +42 -0
- package/vars/component/avatar.mjs +16 -0
package/all.css
CHANGED
|
@@ -1701,6 +1701,96 @@
|
|
|
1701
1701
|
animation: none !important;
|
|
1702
1702
|
}
|
|
1703
1703
|
|
|
1704
|
+
[data-global-transition-state="enter-active"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
1705
|
+
--seed-enter-translate-x: 0;
|
|
1706
|
+
--seed-enter-translate-y: 0;
|
|
1707
|
+
--seed-enter-opacity: 0;
|
|
1708
|
+
--seed-enter-scale: 1;
|
|
1709
|
+
opacity: 1;
|
|
1710
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
[data-global-transition-state="exit-active"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
1714
|
+
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
1715
|
+
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
1716
|
+
--seed-exit-translate-x: 0;
|
|
1717
|
+
--seed-exit-translate-y: 0;
|
|
1718
|
+
--seed-exit-opacity: 0;
|
|
1719
|
+
--seed-exit-scale: 1;
|
|
1720
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
[data-global-transition-state="enter-done"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
1724
|
+
--seed-enter-translate-x: calc(var(--swipe-back-displacement, 0) * .15);
|
|
1725
|
+
--seed-enter-translate-y: 0;
|
|
1726
|
+
--seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
1727
|
+
--seed-enter-scale: 1;
|
|
1728
|
+
opacity: 1;
|
|
1729
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
[data-swipe-back-state="swiping"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
1733
|
+
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
1734
|
+
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
1735
|
+
animation: none;
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
[data-swipe-back-state="canceling"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
1739
|
+
opacity: 1;
|
|
1740
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
1741
|
+
animation: none !important;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
[data-swipe-back-state="completing"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
1745
|
+
opacity: 0;
|
|
1746
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
1747
|
+
animation: none !important;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
[data-global-transition-state="enter-active"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
1751
|
+
opacity: 1;
|
|
1752
|
+
--seed-exit-translate-x: 0;
|
|
1753
|
+
--seed-exit-translate-y: 0;
|
|
1754
|
+
--seed-exit-opacity: 0;
|
|
1755
|
+
--seed-exit-scale: 1;
|
|
1756
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
[data-global-transition-state="exit-active"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
1760
|
+
--seed-enter-translate-x: 0;
|
|
1761
|
+
--seed-enter-translate-y: 0;
|
|
1762
|
+
--seed-enter-opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
1763
|
+
--seed-enter-scale: 1;
|
|
1764
|
+
opacity: 1;
|
|
1765
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
[data-global-transition-state="enter-done"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
1769
|
+
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
1770
|
+
--seed-exit-translate-x: 0;
|
|
1771
|
+
--seed-exit-translate-y: 0;
|
|
1772
|
+
--seed-exit-opacity: 0;
|
|
1773
|
+
--seed-exit-scale: 1;
|
|
1774
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
[data-swipe-back-state="swiping"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
1778
|
+
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
1779
|
+
animation: none;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
[data-swipe-back-state="canceling"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
1783
|
+
opacity: 0;
|
|
1784
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
1785
|
+
animation: none !important;
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
[data-swipe-back-state="completing"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
1789
|
+
opacity: 1;
|
|
1790
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
1791
|
+
animation: none !important;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1704
1794
|
[data-global-transition-state="enter-active"] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
1705
1795
|
--seed-enter-translate-x: 0;
|
|
1706
1796
|
--seed-enter-translate-y: 8vh;
|
|
@@ -2418,6 +2508,18 @@
|
|
|
2418
2508
|
--badge-offset: 30px;
|
|
2419
2509
|
}
|
|
2420
2510
|
|
|
2511
|
+
.seed-avatar__root--size_56 {
|
|
2512
|
+
--avatar-size: 56px;
|
|
2513
|
+
--avatar-stroke-width: 1px;
|
|
2514
|
+
--badge-mask-size: 24px;
|
|
2515
|
+
--badge-mask-offset: 34px;
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
.seed-avatar__badge--size_56 {
|
|
2519
|
+
--badge-size: 20px;
|
|
2520
|
+
--badge-offset: 36px;
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2421
2523
|
.seed-avatar__root--size_64 {
|
|
2422
2524
|
--avatar-size: 64px;
|
|
2423
2525
|
--avatar-stroke-width: 1px;
|
|
@@ -2543,6 +2645,15 @@
|
|
|
2543
2645
|
box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
|
|
2544
2646
|
}
|
|
2545
2647
|
|
|
2648
|
+
.seed-avatar-stack__item--size_56:not(:first-child) {
|
|
2649
|
+
margin-left: -13px;
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
.seed-avatar-stack__item--size_56 {
|
|
2653
|
+
clip-path: inset(-3px);
|
|
2654
|
+
box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default);
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2546
2657
|
.seed-avatar-stack__item--size_64:not(:first-child) {
|
|
2547
2658
|
margin-left: -16px;
|
|
2548
2659
|
}
|
package/all.layered.css
CHANGED
|
@@ -1798,6 +1798,96 @@
|
|
|
1798
1798
|
animation: none !important;
|
|
1799
1799
|
}
|
|
1800
1800
|
|
|
1801
|
+
[data-global-transition-state="enter-active"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
1802
|
+
--seed-enter-translate-x: 0;
|
|
1803
|
+
--seed-enter-translate-y: 0;
|
|
1804
|
+
--seed-enter-opacity: 0;
|
|
1805
|
+
--seed-enter-scale: 1;
|
|
1806
|
+
opacity: 1;
|
|
1807
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
[data-global-transition-state="exit-active"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
1811
|
+
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
1812
|
+
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
1813
|
+
--seed-exit-translate-x: 0;
|
|
1814
|
+
--seed-exit-translate-y: 0;
|
|
1815
|
+
--seed-exit-opacity: 0;
|
|
1816
|
+
--seed-exit-scale: 1;
|
|
1817
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
[data-global-transition-state="enter-done"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
1821
|
+
--seed-enter-translate-x: calc(var(--swipe-back-displacement, 0) * .15);
|
|
1822
|
+
--seed-enter-translate-y: 0;
|
|
1823
|
+
--seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
1824
|
+
--seed-enter-scale: 1;
|
|
1825
|
+
opacity: 1;
|
|
1826
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
[data-swipe-back-state="swiping"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
1830
|
+
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
1831
|
+
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
1832
|
+
animation: none;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
[data-swipe-back-state="canceling"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
1836
|
+
opacity: 1;
|
|
1837
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
1838
|
+
animation: none !important;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
[data-swipe-back-state="completing"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
1842
|
+
opacity: 0;
|
|
1843
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
1844
|
+
animation: none !important;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
[data-global-transition-state="enter-active"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
1848
|
+
opacity: 1;
|
|
1849
|
+
--seed-exit-translate-x: 0;
|
|
1850
|
+
--seed-exit-translate-y: 0;
|
|
1851
|
+
--seed-exit-opacity: 0;
|
|
1852
|
+
--seed-exit-scale: 1;
|
|
1853
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
[data-global-transition-state="exit-active"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
1857
|
+
--seed-enter-translate-x: 0;
|
|
1858
|
+
--seed-enter-translate-y: 0;
|
|
1859
|
+
--seed-enter-opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
1860
|
+
--seed-enter-scale: 1;
|
|
1861
|
+
opacity: 1;
|
|
1862
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
[data-global-transition-state="enter-done"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
1866
|
+
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
1867
|
+
--seed-exit-translate-x: 0;
|
|
1868
|
+
--seed-exit-translate-y: 0;
|
|
1869
|
+
--seed-exit-opacity: 0;
|
|
1870
|
+
--seed-exit-scale: 1;
|
|
1871
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
[data-swipe-back-state="swiping"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
1875
|
+
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
1876
|
+
animation: none;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
[data-swipe-back-state="canceling"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
1880
|
+
opacity: 0;
|
|
1881
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
1882
|
+
animation: none !important;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
[data-swipe-back-state="completing"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
1886
|
+
opacity: 1;
|
|
1887
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
1888
|
+
animation: none !important;
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1801
1891
|
[data-global-transition-state="enter-active"] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
1802
1892
|
--seed-enter-translate-x: 0;
|
|
1803
1893
|
--seed-enter-translate-y: 8vh;
|
|
@@ -2515,6 +2605,18 @@
|
|
|
2515
2605
|
--badge-offset: 30px;
|
|
2516
2606
|
}
|
|
2517
2607
|
|
|
2608
|
+
.seed-avatar__root--size_56 {
|
|
2609
|
+
--avatar-size: 56px;
|
|
2610
|
+
--avatar-stroke-width: 1px;
|
|
2611
|
+
--badge-mask-size: 24px;
|
|
2612
|
+
--badge-mask-offset: 34px;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
.seed-avatar__badge--size_56 {
|
|
2616
|
+
--badge-size: 20px;
|
|
2617
|
+
--badge-offset: 36px;
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2518
2620
|
.seed-avatar__root--size_64 {
|
|
2519
2621
|
--avatar-size: 64px;
|
|
2520
2622
|
--avatar-stroke-width: 1px;
|
|
@@ -2640,6 +2742,15 @@
|
|
|
2640
2742
|
box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
|
|
2641
2743
|
}
|
|
2642
2744
|
|
|
2745
|
+
.seed-avatar-stack__item--size_56:not(:first-child) {
|
|
2746
|
+
margin-left: -13px;
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2749
|
+
.seed-avatar-stack__item--size_56 {
|
|
2750
|
+
clip-path: inset(-3px);
|
|
2751
|
+
box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default);
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2643
2754
|
.seed-avatar-stack__item--size_64:not(:first-child) {
|
|
2644
2755
|
margin-left: -16px;
|
|
2645
2756
|
}
|