@bigtablet/design-system 3.23.1 → 3.25.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 +194 -0
- package/dist/index.d.ts +181 -64
- package/dist/index.js +230 -93
- package/dist/vanilla/bigtablet.min.js +1 -1
- package/package.json +6 -3
package/dist/index.css
CHANGED
|
@@ -1734,6 +1734,171 @@ body:has(.bottom_nav) {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
|
1736
1736
|
|
|
1737
|
+
/* src/ui/navigation/stepper/style.scss */
|
|
1738
|
+
@keyframes skeleton_loading {
|
|
1739
|
+
0% {
|
|
1740
|
+
background-position: 100% 0;
|
|
1741
|
+
}
|
|
1742
|
+
100% {
|
|
1743
|
+
background-position: 0 0;
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
.stepper {
|
|
1747
|
+
margin: 0;
|
|
1748
|
+
padding: 0;
|
|
1749
|
+
list-style: none;
|
|
1750
|
+
display: flex;
|
|
1751
|
+
font-family: "Pretendard", sans-serif;
|
|
1752
|
+
}
|
|
1753
|
+
.stepper_step {
|
|
1754
|
+
position: relative;
|
|
1755
|
+
display: flex;
|
|
1756
|
+
min-width: 0;
|
|
1757
|
+
}
|
|
1758
|
+
.stepper_content {
|
|
1759
|
+
display: flex;
|
|
1760
|
+
align-items: flex-start;
|
|
1761
|
+
gap: 8px;
|
|
1762
|
+
min-width: 0;
|
|
1763
|
+
padding: 0;
|
|
1764
|
+
border: none;
|
|
1765
|
+
background: none;
|
|
1766
|
+
color: inherit;
|
|
1767
|
+
font: inherit;
|
|
1768
|
+
text-align: left;
|
|
1769
|
+
}
|
|
1770
|
+
.stepper_button {
|
|
1771
|
+
cursor: pointer;
|
|
1772
|
+
border-radius: 6px;
|
|
1773
|
+
transition: background-color 0.1s ease-in-out;
|
|
1774
|
+
}
|
|
1775
|
+
.stepper_button:hover:not([aria-disabled=true]) {
|
|
1776
|
+
background-color: var(--bt-color-bg-solid-dim);
|
|
1777
|
+
}
|
|
1778
|
+
.stepper_button[aria-disabled=true] {
|
|
1779
|
+
cursor: default;
|
|
1780
|
+
}
|
|
1781
|
+
.stepper_button:focus-visible {
|
|
1782
|
+
outline: none;
|
|
1783
|
+
box-shadow: var(--bt-focus-ring);
|
|
1784
|
+
}
|
|
1785
|
+
.stepper_indicator {
|
|
1786
|
+
flex-shrink: 0;
|
|
1787
|
+
display: inline-flex;
|
|
1788
|
+
align-items: center;
|
|
1789
|
+
justify-content: center;
|
|
1790
|
+
box-sizing: border-box;
|
|
1791
|
+
width: 28px;
|
|
1792
|
+
height: 28px;
|
|
1793
|
+
border-radius: 9999px;
|
|
1794
|
+
background: var(--bt-color-bg-solid-dim);
|
|
1795
|
+
color: var(--bt-color-text-caption);
|
|
1796
|
+
font-size: 14px;
|
|
1797
|
+
font-weight: 500;
|
|
1798
|
+
line-height: 20px;
|
|
1799
|
+
letter-spacing: 0px;
|
|
1800
|
+
font-variant-numeric: tabular-nums;
|
|
1801
|
+
transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
|
|
1802
|
+
}
|
|
1803
|
+
.stepper_text {
|
|
1804
|
+
display: flex;
|
|
1805
|
+
flex-direction: column;
|
|
1806
|
+
gap: 2px;
|
|
1807
|
+
min-width: 0;
|
|
1808
|
+
padding-top: 4px;
|
|
1809
|
+
}
|
|
1810
|
+
.stepper_label {
|
|
1811
|
+
color: var(--bt-color-text-heading);
|
|
1812
|
+
font-size: 15px;
|
|
1813
|
+
font-weight: 500;
|
|
1814
|
+
line-height: 22.5px;
|
|
1815
|
+
letter-spacing: 0px;
|
|
1816
|
+
overflow-wrap: anywhere;
|
|
1817
|
+
}
|
|
1818
|
+
.stepper_description {
|
|
1819
|
+
color: var(--bt-color-text-caption);
|
|
1820
|
+
font-size: 14px;
|
|
1821
|
+
font-weight: 400;
|
|
1822
|
+
line-height: 20px;
|
|
1823
|
+
letter-spacing: 0px;
|
|
1824
|
+
overflow-wrap: anywhere;
|
|
1825
|
+
}
|
|
1826
|
+
.stepper_sr_only {
|
|
1827
|
+
position: absolute;
|
|
1828
|
+
width: 1px;
|
|
1829
|
+
height: 1px;
|
|
1830
|
+
padding: 0;
|
|
1831
|
+
margin: -1px;
|
|
1832
|
+
overflow: hidden;
|
|
1833
|
+
clip: rect(0 0 0 0);
|
|
1834
|
+
clip-path: inset(50%);
|
|
1835
|
+
white-space: nowrap;
|
|
1836
|
+
border: 0;
|
|
1837
|
+
}
|
|
1838
|
+
.stepper_step_done .stepper_indicator {
|
|
1839
|
+
background: var(--bt-color-status-success-container);
|
|
1840
|
+
color: var(--bt-color-status-success-on-container);
|
|
1841
|
+
}
|
|
1842
|
+
.stepper_step_active .stepper_indicator {
|
|
1843
|
+
background: var(--bt-color-accent-default);
|
|
1844
|
+
color: var(--bt-color-accent-on-surface);
|
|
1845
|
+
}
|
|
1846
|
+
.stepper_step_pending .stepper_indicator {
|
|
1847
|
+
background: transparent;
|
|
1848
|
+
border: 2px solid var(--bt-color-border-default);
|
|
1849
|
+
}
|
|
1850
|
+
.stepper_step_pending .stepper_label {
|
|
1851
|
+
color: var(--bt-color-text-caption);
|
|
1852
|
+
}
|
|
1853
|
+
.stepper_horizontal {
|
|
1854
|
+
flex-direction: row;
|
|
1855
|
+
align-items: flex-start;
|
|
1856
|
+
gap: 8px;
|
|
1857
|
+
}
|
|
1858
|
+
.stepper_horizontal .stepper_step {
|
|
1859
|
+
flex: 1;
|
|
1860
|
+
align-items: flex-start;
|
|
1861
|
+
}
|
|
1862
|
+
.stepper_horizontal .stepper_step:not(:last-child)::after {
|
|
1863
|
+
content: "";
|
|
1864
|
+
flex: 1;
|
|
1865
|
+
height: 1px;
|
|
1866
|
+
margin-top: 14px;
|
|
1867
|
+
margin-left: 8px;
|
|
1868
|
+
background: var(--bt-color-border-default);
|
|
1869
|
+
}
|
|
1870
|
+
.stepper_horizontal .stepper_step_done:not(:last-child)::after {
|
|
1871
|
+
background: var(--bt-color-accent-default);
|
|
1872
|
+
}
|
|
1873
|
+
.stepper_vertical {
|
|
1874
|
+
flex-direction: column;
|
|
1875
|
+
}
|
|
1876
|
+
.stepper_vertical .stepper_step {
|
|
1877
|
+
padding-bottom: 20px;
|
|
1878
|
+
}
|
|
1879
|
+
.stepper_vertical .stepper_step:last-child {
|
|
1880
|
+
padding-bottom: 0;
|
|
1881
|
+
}
|
|
1882
|
+
.stepper_vertical .stepper_step:not(:last-child) .stepper_indicator::before {
|
|
1883
|
+
content: "";
|
|
1884
|
+
position: absolute;
|
|
1885
|
+
top: 28px;
|
|
1886
|
+
bottom: -4px;
|
|
1887
|
+
left: 14px;
|
|
1888
|
+
width: 1px;
|
|
1889
|
+
background: var(--bt-color-border-default);
|
|
1890
|
+
transform: translateX(-50%);
|
|
1891
|
+
}
|
|
1892
|
+
.stepper_vertical .stepper_step_done:not(:last-child) .stepper_indicator::before {
|
|
1893
|
+
background: var(--bt-color-accent-default);
|
|
1894
|
+
}
|
|
1895
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1896
|
+
.stepper_button,
|
|
1897
|
+
.stepper_indicator {
|
|
1898
|
+
transition: none;
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1737
1902
|
/* src/ui/navigation/tabs/style.scss */
|
|
1738
1903
|
@keyframes skeleton_loading {
|
|
1739
1904
|
0% {
|
|
@@ -4620,6 +4785,13 @@ body:has(.bottom_nav) {
|
|
|
4620
4785
|
height: 16px;
|
|
4621
4786
|
}
|
|
4622
4787
|
}
|
|
4788
|
+
.toast_live {
|
|
4789
|
+
flex: 1;
|
|
4790
|
+
min-width: 0;
|
|
4791
|
+
display: flex;
|
|
4792
|
+
align-items: flex-start;
|
|
4793
|
+
gap: 8px;
|
|
4794
|
+
}
|
|
4623
4795
|
.toast_message {
|
|
4624
4796
|
flex: 1;
|
|
4625
4797
|
overflow-wrap: anywhere;
|
|
@@ -4656,6 +4828,28 @@ body:has(.bottom_nav) {
|
|
|
4656
4828
|
margin-top: 0;
|
|
4657
4829
|
}
|
|
4658
4830
|
}
|
|
4831
|
+
.toast_action {
|
|
4832
|
+
flex-shrink: 0;
|
|
4833
|
+
margin-top: -1px;
|
|
4834
|
+
padding: 2px 8px;
|
|
4835
|
+
border: none;
|
|
4836
|
+
background: none;
|
|
4837
|
+
cursor: pointer;
|
|
4838
|
+
color: var(--bt-color-accent-default);
|
|
4839
|
+
font-size: 13px;
|
|
4840
|
+
font-weight: 600;
|
|
4841
|
+
line-height: 20px;
|
|
4842
|
+
border-radius: 6px;
|
|
4843
|
+
transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
4844
|
+
}
|
|
4845
|
+
.toast_action:hover {
|
|
4846
|
+
color: var(--bt-color-accent-strong);
|
|
4847
|
+
background-color: var(--bt-color-bg-solid-dim);
|
|
4848
|
+
}
|
|
4849
|
+
.toast_action:focus-visible {
|
|
4850
|
+
outline: none;
|
|
4851
|
+
box-shadow: var(--bt-focus-ring);
|
|
4852
|
+
}
|
|
4659
4853
|
.toast_progress {
|
|
4660
4854
|
position: absolute;
|
|
4661
4855
|
bottom: 0;
|