@fastkit/vui 0.6.28 → 0.6.33
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/tool/index.js +6 -0
- package/dist/tool/vite-plugin.d.ts.map +1 -1
- package/dist/vui.cjs.js +684 -72
- package/dist/vui.cjs.prod.js +684 -72
- package/dist/vui.css +234 -0
- package/dist/vui.d.ts +379 -180
- package/dist/vui.esm-bundler.js +685 -76
- package/dist/vui.min.css +1 -1
- package/dist/vui.min.css.map +1 -1
- package/package.json +6 -6
package/dist/vui.css
CHANGED
|
@@ -347,6 +347,15 @@ template {
|
|
|
347
347
|
:root {
|
|
348
348
|
--root-em: 16px;
|
|
349
349
|
--root-spacing: 4px;
|
|
350
|
+
--transition-fast-out-slow-in: cubic-bezier(0.4, 0, 0.2, 1);
|
|
351
|
+
--transition-linear-out-slow-in: cubic-bezier(0, 0, 0.2, 1);
|
|
352
|
+
--transition-fast-out-linear-in: cubic-bezier(0.4, 0, 1, 1);
|
|
353
|
+
--transition-ease-in-out: cubic-bezier(0.4, 0, 0.6, 1);
|
|
354
|
+
--transition-fast-in-fast-out: cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
355
|
+
--transition-swing: cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
356
|
+
--transition-primary: var(--transition-swing);
|
|
357
|
+
--transition-tab: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
358
|
+
--transition-fade: 0.2s;
|
|
350
359
|
--typo-fallback-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
351
360
|
"Helvetica Neue", Arial, sans-serif;
|
|
352
361
|
--type-emoji-font: "Apple Color Emoji", "Segoe UI Emoji";
|
|
@@ -400,6 +409,7 @@ template {
|
|
|
400
409
|
--typo-subtitle2-weight: 500;
|
|
401
410
|
--typo-subtitle2-height: 1.57;
|
|
402
411
|
--typo-subtitle2-spacing: 0.00714em;
|
|
412
|
+
--typo-sm-size: calc(var(--root-em) * 0.875);
|
|
403
413
|
--control-field-rem-sm: 0.875rem;
|
|
404
414
|
--control-field-rem-md: 1rem;
|
|
405
415
|
--control-field-rem-lg: 1.125rem;
|
|
@@ -531,6 +541,10 @@ template {
|
|
|
531
541
|
--table-cell-horizontal-padding: calc(var(--root-em) * 1);
|
|
532
542
|
--table-header-color: var(--palette-primary);
|
|
533
543
|
--table-header-font-weight: 500;
|
|
544
|
+
--tabs-height: calc(var(--root-em) * 3);
|
|
545
|
+
--tabs-bar-height: calc(var(--root-em) * 0.375);
|
|
546
|
+
--tabs-font-size: calc(var(--root-em) * 0.875);
|
|
547
|
+
--breadcrumbs-font-size: var(--typo-sm-size);
|
|
534
548
|
}
|
|
535
549
|
|
|
536
550
|
:root,
|
|
@@ -731,6 +745,22 @@ h6,
|
|
|
731
745
|
box-shadow: var(--shadow-key-umbra-0), var(--shadow-key-penumbra-0), var(--shadow-key-ambient-0) !important;
|
|
732
746
|
}
|
|
733
747
|
|
|
748
|
+
code,
|
|
749
|
+
kbd,
|
|
750
|
+
pre,
|
|
751
|
+
samp {
|
|
752
|
+
font-family: monospace;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
code {
|
|
756
|
+
padding: 0.2em 0.4em;
|
|
757
|
+
font-size: 85%;
|
|
758
|
+
font-weight: 400;
|
|
759
|
+
color: rgba(0, 0, 0, 0.87);
|
|
760
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
761
|
+
border-radius: 3px;
|
|
762
|
+
}
|
|
763
|
+
|
|
734
764
|
table {
|
|
735
765
|
display: table;
|
|
736
766
|
max-width: 100%;
|
|
@@ -1678,6 +1708,210 @@ thead th {
|
|
|
1678
1708
|
font-style: italic;
|
|
1679
1709
|
color: var(--control-disabled-color);
|
|
1680
1710
|
}
|
|
1711
|
+
.v-tabs {
|
|
1712
|
+
position: relative;
|
|
1713
|
+
width: 100%;
|
|
1714
|
+
height: var(--tabs-height);
|
|
1715
|
+
overflow: hidden;
|
|
1716
|
+
}
|
|
1717
|
+
.v-tabs::before {
|
|
1718
|
+
position: absolute;
|
|
1719
|
+
right: 0;
|
|
1720
|
+
bottom: 0;
|
|
1721
|
+
left: 0;
|
|
1722
|
+
display: block;
|
|
1723
|
+
height: 2px;
|
|
1724
|
+
content: "";
|
|
1725
|
+
background: currentColor;
|
|
1726
|
+
opacity: 0.25;
|
|
1727
|
+
}
|
|
1728
|
+
.v-tabs__scroller {
|
|
1729
|
+
width: 100%;
|
|
1730
|
+
height: calc(var(--tabs-height) + 30px);
|
|
1731
|
+
}
|
|
1732
|
+
.v-tabs__scroller__container {
|
|
1733
|
+
padding-bottom: 30px;
|
|
1734
|
+
}
|
|
1735
|
+
.v-tabs__content {
|
|
1736
|
+
position: relative;
|
|
1737
|
+
display: inline-flex;
|
|
1738
|
+
align-items: stretch;
|
|
1739
|
+
min-width: 100%;
|
|
1740
|
+
vertical-align: bottom;
|
|
1741
|
+
}
|
|
1742
|
+
.v-tab {
|
|
1743
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
1744
|
+
padding: 0;
|
|
1745
|
+
touch-action: manipulation;
|
|
1746
|
+
cursor: pointer;
|
|
1747
|
+
user-select: none;
|
|
1748
|
+
background-color: transparent;
|
|
1749
|
+
border: 0;
|
|
1750
|
+
outline: 0;
|
|
1751
|
+
appearance: none;
|
|
1752
|
+
--tab-content-color: var(--palette-caption);
|
|
1753
|
+
--tab-content-focus-color: var(--main-color);
|
|
1754
|
+
--tab-content-opacity: 0.7;
|
|
1755
|
+
position: relative;
|
|
1756
|
+
z-index: 3;
|
|
1757
|
+
display: flex;
|
|
1758
|
+
align-items: center;
|
|
1759
|
+
justify-content: center;
|
|
1760
|
+
height: var(--tabs-height);
|
|
1761
|
+
padding: 0 1.25em;
|
|
1762
|
+
font: inherit;
|
|
1763
|
+
font-size: var(--tabs-font-size);
|
|
1764
|
+
white-space: nowrap;
|
|
1765
|
+
user-select: none;
|
|
1766
|
+
transition: color 0.6s;
|
|
1767
|
+
}
|
|
1768
|
+
.v-tab::-moz-focus-inner {
|
|
1769
|
+
border: 0;
|
|
1770
|
+
}
|
|
1771
|
+
.v-tab, .v-tab:hover, .v-tab:focus {
|
|
1772
|
+
text-decoration: none;
|
|
1773
|
+
}
|
|
1774
|
+
.v-tab::before {
|
|
1775
|
+
position: absolute;
|
|
1776
|
+
right: 0;
|
|
1777
|
+
bottom: 0;
|
|
1778
|
+
left: 0;
|
|
1779
|
+
z-index: 1;
|
|
1780
|
+
height: 2px;
|
|
1781
|
+
content: "";
|
|
1782
|
+
background-color: var(--tab-content-focus-color);
|
|
1783
|
+
border-radius: inherit;
|
|
1784
|
+
transition: all 0.25s;
|
|
1785
|
+
transform: scaleX(0);
|
|
1786
|
+
}
|
|
1787
|
+
.v-tab__content {
|
|
1788
|
+
position: relative;
|
|
1789
|
+
z-index: 2;
|
|
1790
|
+
display: flex;
|
|
1791
|
+
align-items: center;
|
|
1792
|
+
line-height: 1.2;
|
|
1793
|
+
color: var(--tab-content-color);
|
|
1794
|
+
text-align: center;
|
|
1795
|
+
opacity: var(--tab-content-opacity);
|
|
1796
|
+
transition: all 0.25s ease;
|
|
1797
|
+
}
|
|
1798
|
+
.v-tab__icon {
|
|
1799
|
+
margin-right: 8px;
|
|
1800
|
+
font-size: 120%;
|
|
1801
|
+
}
|
|
1802
|
+
.v-tab:hover {
|
|
1803
|
+
--tab-content-color: var(--tab-content-focus-color);
|
|
1804
|
+
}
|
|
1805
|
+
.v-tab--active {
|
|
1806
|
+
--tab-content-color: rgba(0, 0, 0, 0.87);
|
|
1807
|
+
pointer-events: none;
|
|
1808
|
+
background: var(--tabs-color);
|
|
1809
|
+
--tab-content-opacity: 1;
|
|
1810
|
+
}
|
|
1811
|
+
.v-tab--active::before {
|
|
1812
|
+
transform: scaleX(1);
|
|
1813
|
+
}
|
|
1814
|
+
.v-breadcrumbs {
|
|
1815
|
+
display: block;
|
|
1816
|
+
margin: 1.5em auto;
|
|
1817
|
+
font-size: var(--breadcrumbs-font-size);
|
|
1818
|
+
}
|
|
1819
|
+
.v-breadcrumbs__list {
|
|
1820
|
+
display: inline-flex;
|
|
1821
|
+
flex-wrap: wrap;
|
|
1822
|
+
align-items: center;
|
|
1823
|
+
padding: 0;
|
|
1824
|
+
margin: 0;
|
|
1825
|
+
vertical-align: bottom;
|
|
1826
|
+
list-style: none;
|
|
1827
|
+
}
|
|
1828
|
+
.v-breadcrumbs__item, .v-breadcrumbs__divider {
|
|
1829
|
+
padding: 0;
|
|
1830
|
+
margin: 0;
|
|
1831
|
+
list-style: none;
|
|
1832
|
+
}
|
|
1833
|
+
.v-breadcrumbs__link {
|
|
1834
|
+
display: inline-flex;
|
|
1835
|
+
align-items: center;
|
|
1836
|
+
text-decoration: none;
|
|
1837
|
+
white-space: nowrap;
|
|
1838
|
+
vertical-align: middle;
|
|
1839
|
+
}
|
|
1840
|
+
.v-breadcrumbs__item--disabled .v-breadcrumbs__link {
|
|
1841
|
+
color: inherit;
|
|
1842
|
+
pointer-events: none;
|
|
1843
|
+
}
|
|
1844
|
+
.v-breadcrumbs__icon {
|
|
1845
|
+
margin-right: 0.2em;
|
|
1846
|
+
font-size: 140%;
|
|
1847
|
+
}
|
|
1848
|
+
.v-breadcrumbs__divider {
|
|
1849
|
+
position: relative;
|
|
1850
|
+
top: 1px;
|
|
1851
|
+
display: flex;
|
|
1852
|
+
align-items: center;
|
|
1853
|
+
justify-content: center;
|
|
1854
|
+
margin: 0 1.25em;
|
|
1855
|
+
}
|
|
1856
|
+
.v-breadcrumbs__divider__icon {
|
|
1857
|
+
display: block;
|
|
1858
|
+
width: 0.5em;
|
|
1859
|
+
height: 0.5em;
|
|
1860
|
+
margin-left: -0.25em;
|
|
1861
|
+
border-top: solid 1px currentColor;
|
|
1862
|
+
border-right: solid 1px currentColor;
|
|
1863
|
+
transform: rotate(45deg);
|
|
1864
|
+
}
|
|
1865
|
+
.v-content-switcher {
|
|
1866
|
+
position: relative;
|
|
1867
|
+
display: block;
|
|
1868
|
+
width: 100%;
|
|
1869
|
+
overflow: hidden;
|
|
1870
|
+
transition: var(--transition-tab);
|
|
1871
|
+
}
|
|
1872
|
+
.v-content-switcher__content {
|
|
1873
|
+
width: 100%;
|
|
1874
|
+
}
|
|
1875
|
+
.v-content-switcher-prev-enter-active, .v-content-switcher-prev-leave-active {
|
|
1876
|
+
transition: var(--transition-tab);
|
|
1877
|
+
}
|
|
1878
|
+
.v-content-switcher-prev-enter-from {
|
|
1879
|
+
transform: translateX(-100%);
|
|
1880
|
+
}
|
|
1881
|
+
.v-content-switcher-prev-enter-to {
|
|
1882
|
+
transform: translateX(0%);
|
|
1883
|
+
}
|
|
1884
|
+
.v-content-switcher-prev-leave {
|
|
1885
|
+
transform: translateX(0%);
|
|
1886
|
+
}
|
|
1887
|
+
.v-content-switcher-prev-leave-active {
|
|
1888
|
+
position: absolute;
|
|
1889
|
+
top: 0;
|
|
1890
|
+
left: 0;
|
|
1891
|
+
}
|
|
1892
|
+
.v-content-switcher-prev-leave-to {
|
|
1893
|
+
transform: translateX(100%);
|
|
1894
|
+
}
|
|
1895
|
+
.v-content-switcher-next-enter-active, .v-content-switcher-next-leave-active {
|
|
1896
|
+
transition: var(--transition-tab);
|
|
1897
|
+
}
|
|
1898
|
+
.v-content-switcher-next-enter-from {
|
|
1899
|
+
transform: translateX(100%);
|
|
1900
|
+
}
|
|
1901
|
+
.v-content-switcher-next-enter-to {
|
|
1902
|
+
transform: translateX(0%);
|
|
1903
|
+
}
|
|
1904
|
+
.v-content-switcher-next-leave {
|
|
1905
|
+
transform: translateX(0%);
|
|
1906
|
+
}
|
|
1907
|
+
.v-content-switcher-next-leave-active {
|
|
1908
|
+
position: absolute;
|
|
1909
|
+
top: 0;
|
|
1910
|
+
left: 0;
|
|
1911
|
+
}
|
|
1912
|
+
.v-content-switcher-next-leave-to {
|
|
1913
|
+
transform: translateX(-100%);
|
|
1914
|
+
}
|
|
1681
1915
|
.v-data-table {
|
|
1682
1916
|
--controls-vertial-margin: 0.625em;
|
|
1683
1917
|
}
|