@skirbi/pinta 0.0.20 → 0.0.22
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/Changes +8 -0
- package/lib/index.mjs +1 -1
- package/lib/themes/pinta.css +185 -90
- package/package.json +2 -2
package/Changes
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
Revision history for @skirbi/pinta
|
|
2
2
|
|
|
3
|
+
0.0.22 2026-07-01 19:10:06Z
|
|
4
|
+
|
|
5
|
+
* Add checkbox/radio button styles: --skirbi-choice-size
|
|
6
|
+
|
|
7
|
+
0.0.21 2026-06-17 16:41:23Z
|
|
8
|
+
|
|
9
|
+
* Fix small glitch
|
|
10
|
+
|
|
3
11
|
0.0.20 2026-06-17 16:22:28Z
|
|
4
12
|
|
|
5
13
|
* Import other projects sane defaults to pinta
|
package/lib/index.mjs
CHANGED
package/lib/themes/pinta.css
CHANGED
|
@@ -1658,9 +1658,7 @@
|
|
|
1658
1658
|
semtic-select,
|
|
1659
1659
|
semtic-textarea,
|
|
1660
1660
|
semtic-checkbox,
|
|
1661
|
-
semtic-radio
|
|
1662
|
-
sugar-input,
|
|
1663
|
-
sugar-select {
|
|
1661
|
+
semtic-radio {
|
|
1664
1662
|
display: flex;
|
|
1665
1663
|
flex-direction: row;
|
|
1666
1664
|
align-items: center;
|
|
@@ -1678,9 +1676,7 @@
|
|
|
1678
1676
|
semtic-select[label-position="left"],
|
|
1679
1677
|
semtic-textarea[label-position="left"],
|
|
1680
1678
|
semtic-checkbox[label-position="left"],
|
|
1681
|
-
semtic-radio[label-position="left"]
|
|
1682
|
-
sugar-input[label-position="left"],
|
|
1683
|
-
sugar-select[label-position="left"] {
|
|
1679
|
+
semtic-radio[label-position="left"] {
|
|
1684
1680
|
flex-direction: row;
|
|
1685
1681
|
align-items: center;
|
|
1686
1682
|
}
|
|
@@ -1689,9 +1685,7 @@
|
|
|
1689
1685
|
semtic-select[label-position="right"],
|
|
1690
1686
|
semtic-textarea[label-position="right"],
|
|
1691
1687
|
semtic-checkbox[label-position="right"],
|
|
1692
|
-
semtic-radio[label-position="right"]
|
|
1693
|
-
sugar-input[label-position="right"],
|
|
1694
|
-
sugar-select[label-position="right"] {
|
|
1688
|
+
semtic-radio[label-position="right"] {
|
|
1695
1689
|
flex-direction: row-reverse;
|
|
1696
1690
|
align-items: center;
|
|
1697
1691
|
}
|
|
@@ -1700,9 +1694,7 @@
|
|
|
1700
1694
|
semtic-select[label-position="top"],
|
|
1701
1695
|
semtic-textarea[label-position="top"],
|
|
1702
1696
|
semtic-checkbox[label-position="top"],
|
|
1703
|
-
semtic-radio[label-position="top"]
|
|
1704
|
-
sugar-input[label-position="top"],
|
|
1705
|
-
sugar-select[label-position="top"] {
|
|
1697
|
+
semtic-radio[label-position="top"] {
|
|
1706
1698
|
flex-direction: column;
|
|
1707
1699
|
align-items: flex-start;
|
|
1708
1700
|
}
|
|
@@ -1711,9 +1703,7 @@
|
|
|
1711
1703
|
semtic-select[label-position="bottom"],
|
|
1712
1704
|
semtic-textarea[label-position="bottom"],
|
|
1713
1705
|
semtic-checkbox[label-position="bottom"],
|
|
1714
|
-
semtic-radio[label-position="bottom"]
|
|
1715
|
-
sugar-input[label-position="bottom"],
|
|
1716
|
-
sugar-select[label-position="bottom"] {
|
|
1706
|
+
semtic-radio[label-position="bottom"] {
|
|
1717
1707
|
flex-direction: column-reverse;
|
|
1718
1708
|
align-items: flex-start;
|
|
1719
1709
|
}
|
|
@@ -1723,11 +1713,7 @@
|
|
|
1723
1713
|
semtic-select[label-position="top"] select[wc-control],
|
|
1724
1714
|
semtic-select[label-position="bottom"] select[wc-control],
|
|
1725
1715
|
semtic-textarea[label-position="top"] textarea[wc-control],
|
|
1726
|
-
semtic-textarea[label-position="bottom"] textarea[wc-control]
|
|
1727
|
-
sugar-input[label-position="top"] input[wc-control],
|
|
1728
|
-
sugar-input[label-position="bottom"] input[wc-control],
|
|
1729
|
-
sugar-select[label-position="top"] select[wc-control],
|
|
1730
|
-
sugar-select[label-position="bottom"] select[wc-control] {
|
|
1716
|
+
semtic-textarea[label-position="bottom"] textarea[wc-control] {
|
|
1731
1717
|
width: 100%;
|
|
1732
1718
|
box-sizing: border-box;
|
|
1733
1719
|
}
|
|
@@ -1750,40 +1736,29 @@
|
|
|
1750
1736
|
semtic-select[label-position="top"],
|
|
1751
1737
|
semtic-select[label-position="bottom"],
|
|
1752
1738
|
semtic-textarea[label-position="top"],
|
|
1753
|
-
semtic-textarea[label-position="bottom"]
|
|
1754
|
-
sugar-input[label-position="top"],
|
|
1755
|
-
sugar-input[label-position="bottom"],
|
|
1756
|
-
sugar-select[label-position="top"],
|
|
1757
|
-
sugar-select[label-position="bottom"] {
|
|
1739
|
+
semtic-textarea[label-position="bottom"] {
|
|
1758
1740
|
width: 100%;
|
|
1759
1741
|
}
|
|
1760
1742
|
|
|
1761
1743
|
semtic-select[label-position="top"] [skirbi-select],
|
|
1762
|
-
semtic-select[label-position="bottom"] [skirbi-select]
|
|
1763
|
-
sugar-select[label-position="top"] [skirbi-select],
|
|
1764
|
-
sugar-select[label-position="bottom"] [skirbi-select] {
|
|
1744
|
+
semtic-select[label-position="bottom"] [skirbi-select] {
|
|
1765
1745
|
width: 100%;
|
|
1766
1746
|
}
|
|
1767
1747
|
|
|
1768
|
-
semtic-select[label-error-position="inline"] [skirbi-select]
|
|
1769
|
-
sugar-select[label-error-position="inline"] [skirbi-select] {
|
|
1748
|
+
semtic-select[label-error-position="inline"] [skirbi-select] {
|
|
1770
1749
|
width: 100%;
|
|
1771
1750
|
grid-column: 1 / -1;
|
|
1772
1751
|
}
|
|
1773
1752
|
|
|
1774
1753
|
semtic-input:has([semtic-error]:not(:empty)) [semtic-label],
|
|
1775
1754
|
semtic-select:has([semtic-error]:not(:empty)) [semtic-label],
|
|
1776
|
-
semtic-textarea:has([semtic-error]:not(:empty)) [semtic-label]
|
|
1777
|
-
sugar-input:has([semtic-error]:not(:empty)) [semtic-label],
|
|
1778
|
-
sugar-select:has([semtic-error]:not(:empty)) [semtic-label] {
|
|
1755
|
+
semtic-textarea:has([semtic-error]:not(:empty)) [semtic-label] {
|
|
1779
1756
|
color: var(--skirbi-error-base, #b91c1c);
|
|
1780
1757
|
}
|
|
1781
1758
|
|
|
1782
1759
|
semtic-input:has([semtic-error]:not(:empty)),
|
|
1783
1760
|
semtic-select:has([semtic-error]:not(:empty)),
|
|
1784
|
-
semtic-textarea:has([semtic-error]:not(:empty))
|
|
1785
|
-
sugar-input:has([semtic-error]:not(:empty)),
|
|
1786
|
-
sugar-select:has([semtic-error]:not(:empty)) {
|
|
1761
|
+
semtic-textarea:has([semtic-error]:not(:empty)) {
|
|
1787
1762
|
background: color-mix(
|
|
1788
1763
|
in srgb, var(--skirbi-error-base, #b91c1c) 6%, transparent
|
|
1789
1764
|
);
|
|
@@ -1813,6 +1788,161 @@
|
|
|
1813
1788
|
);
|
|
1814
1789
|
}
|
|
1815
1790
|
|
|
1791
|
+
/* Checkbox / radio controls
|
|
1792
|
+
*
|
|
1793
|
+
* Keep label-position/layout rules above in charge. These styles only
|
|
1794
|
+
* change the native control itself, overriding the generic text-input
|
|
1795
|
+
* recipe for choice controls.
|
|
1796
|
+
*/
|
|
1797
|
+
:is(
|
|
1798
|
+
semtic-input[type="checkbox"],
|
|
1799
|
+
semtic-input[type="radio"],
|
|
1800
|
+
semtic-checkbox,
|
|
1801
|
+
semtic-radio
|
|
1802
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]) {
|
|
1803
|
+
appearance: none;
|
|
1804
|
+
-webkit-appearance: none;
|
|
1805
|
+
|
|
1806
|
+
inline-size: var(--skirbi-choice-size, 0.95rem);
|
|
1807
|
+
block-size: var(--skirbi-choice-size, 0.95rem);
|
|
1808
|
+
min-inline-size: var(--skirbi-choice-size, 0.95rem);
|
|
1809
|
+
min-block-size: var(--skirbi-choice-size, 0.95rem);
|
|
1810
|
+
|
|
1811
|
+
margin: 0;
|
|
1812
|
+
padding: 0;
|
|
1813
|
+
|
|
1814
|
+
border: 1px solid var(--skirbi-choice-border, var(--skirbi-surface-border-final));
|
|
1815
|
+
background: var(--skirbi-choice-bg, var(--skirbi-surface-bg-final));
|
|
1816
|
+
color: var(--skirbi-choice-accent, var(--skirbi-primary-main));
|
|
1817
|
+
|
|
1818
|
+
display: inline-grid;
|
|
1819
|
+
place-content: center;
|
|
1820
|
+
flex: 0 0 auto;
|
|
1821
|
+
cursor: pointer;
|
|
1822
|
+
|
|
1823
|
+
transition:
|
|
1824
|
+
border-color var(--skirbi-transition-duration, 180ms)
|
|
1825
|
+
var(--skirbi-transition-ease, ease),
|
|
1826
|
+
background var(--skirbi-transition-duration, 180ms)
|
|
1827
|
+
var(--skirbi-transition-ease, ease),
|
|
1828
|
+
box-shadow var(--skirbi-transition-duration, 180ms)
|
|
1829
|
+
var(--skirbi-transition-ease, ease);
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
/* Checkbox shape */
|
|
1833
|
+
:is(
|
|
1834
|
+
semtic-input[type="checkbox"],
|
|
1835
|
+
semtic-checkbox
|
|
1836
|
+
) > input[wc-control][type="checkbox"] {
|
|
1837
|
+
border-radius: 0.2rem;
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
/* Checkbox tick */
|
|
1841
|
+
:is(
|
|
1842
|
+
semtic-input[type="checkbox"],
|
|
1843
|
+
semtic-checkbox
|
|
1844
|
+
) > input[wc-control][type="checkbox"]::before {
|
|
1845
|
+
content: "";
|
|
1846
|
+
inline-size: 0.28rem;
|
|
1847
|
+
block-size: 0.52rem;
|
|
1848
|
+
|
|
1849
|
+
border: solid currentColor;
|
|
1850
|
+
border-width: 0 0.11rem 0.11rem 0;
|
|
1851
|
+
|
|
1852
|
+
transform: rotate(45deg) scale(0);
|
|
1853
|
+
transform-origin: center;
|
|
1854
|
+
transition: transform var(--skirbi-transform-duration, 140ms)
|
|
1855
|
+
var(--skirbi-transition-ease, ease);
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
/* Radio shape */
|
|
1859
|
+
:is(
|
|
1860
|
+
semtic-input[type="radio"],
|
|
1861
|
+
semtic-radio
|
|
1862
|
+
) > input[wc-control][type="radio"] {
|
|
1863
|
+
border-radius: 50%;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
/* Radio dot */
|
|
1867
|
+
:is(
|
|
1868
|
+
semtic-input[type="radio"],
|
|
1869
|
+
semtic-radio
|
|
1870
|
+
) > input[wc-control][type="radio"]::before {
|
|
1871
|
+
content: "";
|
|
1872
|
+
inline-size: 0.42rem;
|
|
1873
|
+
block-size: 0.42rem;
|
|
1874
|
+
border-radius: 50%;
|
|
1875
|
+
background: currentColor;
|
|
1876
|
+
|
|
1877
|
+
transform: scale(0);
|
|
1878
|
+
transition: transform var(--skirbi-transform-duration, 140ms)
|
|
1879
|
+
var(--skirbi-transition-ease, ease);
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
/* Checked */
|
|
1883
|
+
:is(
|
|
1884
|
+
semtic-input[type="checkbox"],
|
|
1885
|
+
semtic-input[type="radio"],
|
|
1886
|
+
semtic-checkbox,
|
|
1887
|
+
semtic-radio
|
|
1888
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]):checked {
|
|
1889
|
+
border-color: currentColor;
|
|
1890
|
+
background: color-mix(
|
|
1891
|
+
in srgb,
|
|
1892
|
+
currentColor 7%,
|
|
1893
|
+
var(--skirbi-surface-bg-final)
|
|
1894
|
+
);
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
:is(
|
|
1898
|
+
semtic-input[type="checkbox"],
|
|
1899
|
+
semtic-checkbox
|
|
1900
|
+
) > input[wc-control][type="checkbox"]:checked::before {
|
|
1901
|
+
transform: rotate(45deg) scale(1);
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
:is(
|
|
1905
|
+
semtic-input[type="radio"],
|
|
1906
|
+
semtic-radio
|
|
1907
|
+
) > input[wc-control][type="radio"]:checked::before {
|
|
1908
|
+
transform: scale(1);
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/* Hover/focus */
|
|
1912
|
+
:is(
|
|
1913
|
+
semtic-input[type="checkbox"],
|
|
1914
|
+
semtic-input[type="radio"],
|
|
1915
|
+
semtic-checkbox,
|
|
1916
|
+
semtic-radio
|
|
1917
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]):hover {
|
|
1918
|
+
border-color: currentColor;
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
:is(
|
|
1922
|
+
semtic-input[type="checkbox"],
|
|
1923
|
+
semtic-input[type="radio"],
|
|
1924
|
+
semtic-checkbox,
|
|
1925
|
+
semtic-radio
|
|
1926
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]):focus-visible {
|
|
1927
|
+
outline: none;
|
|
1928
|
+
box-shadow: 0 0 0 2px color-mix(
|
|
1929
|
+
in srgb,
|
|
1930
|
+
currentColor 20%,
|
|
1931
|
+
transparent
|
|
1932
|
+
);
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
/* Disabled */
|
|
1936
|
+
:is(
|
|
1937
|
+
semtic-input[type="checkbox"],
|
|
1938
|
+
semtic-input[type="radio"],
|
|
1939
|
+
semtic-checkbox,
|
|
1940
|
+
semtic-radio
|
|
1941
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]):disabled {
|
|
1942
|
+
opacity: 0.55;
|
|
1943
|
+
cursor: not-allowed;
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1816
1946
|
[semtic-error]:not(:empty) {
|
|
1817
1947
|
color: var(--skirbi-error-base, #b91c1c);
|
|
1818
1948
|
font-size: 0.875rem;
|
|
@@ -1823,9 +1953,7 @@
|
|
|
1823
1953
|
semtic-select:has([semtic-error]:not(:empty)) select[wc-control],
|
|
1824
1954
|
semtic-textarea:has([semtic-error]:not(:empty)) textarea[wc-control],
|
|
1825
1955
|
semtic-checkbox:has([semtic-error]:not(:empty)) input[wc-control],
|
|
1826
|
-
semtic-radio:has([semtic-error]:not(:empty)) input[wc-control]
|
|
1827
|
-
sugar-input:has([semtic-error]:not(:empty)) input[wc-control],
|
|
1828
|
-
sugar-select:has([semtic-error]:not(:empty)) select[wc-control] {
|
|
1956
|
+
semtic-radio:has([semtic-error]:not(:empty)) input[wc-control] {
|
|
1829
1957
|
border-color: var(--skirbi-error-base, #b91c1c);
|
|
1830
1958
|
box-shadow: 0 0 0 3px color-mix(
|
|
1831
1959
|
in srgb, var(--skirbi-error-base, #b91c1c) 20%, transparent
|
|
@@ -1837,9 +1965,7 @@
|
|
|
1837
1965
|
[skirbi-theme] {
|
|
1838
1966
|
semtic-input[label-error-position="inline"][label-position="top"],
|
|
1839
1967
|
semtic-select[label-error-position="inline"][label-position="top"],
|
|
1840
|
-
semtic-textarea[label-error-position="inline"][label-position="top"]
|
|
1841
|
-
sugar-input[label-error-position="inline"][label-position="top"],
|
|
1842
|
-
sugar-select[label-error-position="inline"][label-position="top"] {
|
|
1968
|
+
semtic-textarea[label-error-position="inline"][label-position="top"] {
|
|
1843
1969
|
display: grid;
|
|
1844
1970
|
grid-template-areas:
|
|
1845
1971
|
"label error"
|
|
@@ -1850,25 +1976,19 @@
|
|
|
1850
1976
|
|
|
1851
1977
|
semtic-input[label-error-position="inline"] [semtic-label],
|
|
1852
1978
|
semtic-select[label-error-position="inline"] [semtic-label],
|
|
1853
|
-
semtic-textarea[label-error-position="inline"] [semtic-label]
|
|
1854
|
-
sugar-input[label-error-position="inline"] [semtic-label],
|
|
1855
|
-
sugar-select[label-error-position="inline"] [semtic-label] {
|
|
1979
|
+
semtic-textarea[label-error-position="inline"] [semtic-label] {
|
|
1856
1980
|
grid-area: label;
|
|
1857
1981
|
}
|
|
1858
1982
|
|
|
1859
1983
|
semtic-input[label-error-position="inline"] input[wc-control],
|
|
1860
1984
|
semtic-select[label-error-position="inline"] select[wc-control],
|
|
1861
|
-
semtic-textarea[label-error-position="inline"] textarea[wc-control]
|
|
1862
|
-
sugar-input[label-error-position="inline"] input[wc-control],
|
|
1863
|
-
sugar-select[label-error-position="inline"] select[wc-control] {
|
|
1985
|
+
semtic-textarea[label-error-position="inline"] textarea[wc-control] {
|
|
1864
1986
|
grid-area: input;
|
|
1865
1987
|
}
|
|
1866
1988
|
|
|
1867
1989
|
semtic-input[label-error-position="inline"] [semtic-error],
|
|
1868
1990
|
semtic-select[label-error-position="inline"] [semtic-error],
|
|
1869
|
-
semtic-textarea[label-error-position="inline"] [semtic-error]
|
|
1870
|
-
sugar-input[label-error-position="inline"] [semtic-error],
|
|
1871
|
-
sugar-select[label-error-position="inline"] [semtic-error] {
|
|
1991
|
+
semtic-textarea[label-error-position="inline"] [semtic-error] {
|
|
1872
1992
|
grid-area: error;
|
|
1873
1993
|
text-align: right;
|
|
1874
1994
|
align-self: baseline;
|
|
@@ -1876,18 +1996,14 @@
|
|
|
1876
1996
|
|
|
1877
1997
|
semtic-input[label-error-position="bottom"] [semtic-error],
|
|
1878
1998
|
semtic-select[label-error-position="bottom"] [semtic-error],
|
|
1879
|
-
semtic-textarea[label-error-position="bottom"] [semtic-error]
|
|
1880
|
-
sugar-input[label-error-position="bottom"] [semtic-error],
|
|
1881
|
-
sugar-select[label-error-position="bottom"] [semtic-error] {
|
|
1999
|
+
semtic-textarea[label-error-position="bottom"] [semtic-error] {
|
|
1882
2000
|
order: 99;
|
|
1883
2001
|
width: 100%;
|
|
1884
2002
|
}
|
|
1885
2003
|
|
|
1886
2004
|
semtic-input[label-error-position="top"],
|
|
1887
2005
|
semtic-select[label-error-position="top"],
|
|
1888
|
-
semtic-textarea[label-error-position="top"]
|
|
1889
|
-
sugar-input[label-error-position="top"],
|
|
1890
|
-
sugar-select[label-error-position="top"] {
|
|
2006
|
+
semtic-textarea[label-error-position="top"] {
|
|
1891
2007
|
display: grid;
|
|
1892
2008
|
grid-template-areas:
|
|
1893
2009
|
"error"
|
|
@@ -1897,33 +2013,25 @@
|
|
|
1897
2013
|
|
|
1898
2014
|
semtic-input[label-error-position="top"] [semtic-label],
|
|
1899
2015
|
semtic-select[label-error-position="top"] [semtic-label],
|
|
1900
|
-
semtic-textarea[label-error-position="top"] [semtic-label]
|
|
1901
|
-
sugar-input[label-error-position="top"] [semtic-label],
|
|
1902
|
-
sugar-select[label-error-position="top"] [semtic-label] {
|
|
2016
|
+
semtic-textarea[label-error-position="top"] [semtic-label] {
|
|
1903
2017
|
grid-area: label;
|
|
1904
2018
|
}
|
|
1905
2019
|
|
|
1906
2020
|
semtic-input[label-error-position="top"] input[wc-control],
|
|
1907
2021
|
semtic-select[label-error-position="top"] select[wc-control],
|
|
1908
|
-
semtic-textarea[label-error-position="top"] textarea[wc-control]
|
|
1909
|
-
sugar-input[label-error-position="top"] input[wc-control],
|
|
1910
|
-
sugar-select[label-error-position="top"] select[wc-control] {
|
|
2022
|
+
semtic-textarea[label-error-position="top"] textarea[wc-control] {
|
|
1911
2023
|
grid-area: input;
|
|
1912
2024
|
}
|
|
1913
2025
|
|
|
1914
2026
|
semtic-input[label-error-position="top"] [semtic-error],
|
|
1915
2027
|
semtic-select[label-error-position="top"] [semtic-error],
|
|
1916
|
-
semtic-textarea[label-error-position="top"] [semtic-error]
|
|
1917
|
-
sugar-input[label-error-position="top"] [semtic-error],
|
|
1918
|
-
sugar-select[label-error-position="top"] [semtic-error] {
|
|
2028
|
+
semtic-textarea[label-error-position="top"] [semtic-error] {
|
|
1919
2029
|
grid-area: error;
|
|
1920
2030
|
}
|
|
1921
2031
|
|
|
1922
2032
|
semtic-input[label-error-position="left"],
|
|
1923
2033
|
semtic-select[label-error-position="left"],
|
|
1924
|
-
semtic-textarea[label-error-position="left"]
|
|
1925
|
-
sugar-input[label-error-position="left"],
|
|
1926
|
-
sugar-select[label-error-position="left"] {
|
|
2034
|
+
semtic-textarea[label-error-position="left"] {
|
|
1927
2035
|
display: grid;
|
|
1928
2036
|
grid-template-areas:
|
|
1929
2037
|
"label input"
|
|
@@ -1933,33 +2041,25 @@
|
|
|
1933
2041
|
|
|
1934
2042
|
semtic-input[label-error-position="left"] [semtic-label],
|
|
1935
2043
|
semtic-select[label-error-position="left"] [semtic-label],
|
|
1936
|
-
semtic-textarea[label-error-position="left"] [semtic-label]
|
|
1937
|
-
sugar-input[label-error-position="left"] [semtic-label],
|
|
1938
|
-
sugar-select[label-error-position="left"] [semtic-label] {
|
|
2044
|
+
semtic-textarea[label-error-position="left"] [semtic-label] {
|
|
1939
2045
|
grid-area: label;
|
|
1940
2046
|
}
|
|
1941
2047
|
|
|
1942
2048
|
semtic-input[label-error-position="left"] input[wc-control],
|
|
1943
2049
|
semtic-select[label-error-position="left"] select[wc-control],
|
|
1944
|
-
semtic-textarea[label-error-position="left"] textarea[wc-control]
|
|
1945
|
-
sugar-input[label-error-position="left"] input[wc-control],
|
|
1946
|
-
sugar-select[label-error-position="left"] select[wc-control] {
|
|
2050
|
+
semtic-textarea[label-error-position="left"] textarea[wc-control] {
|
|
1947
2051
|
grid-area: input;
|
|
1948
2052
|
}
|
|
1949
2053
|
|
|
1950
2054
|
semtic-input[label-error-position="left"] [semtic-error],
|
|
1951
2055
|
semtic-select[label-error-position="left"] [semtic-error],
|
|
1952
|
-
semtic-textarea[label-error-position="left"] [semtic-error]
|
|
1953
|
-
sugar-input[label-error-position="left"] [semtic-error],
|
|
1954
|
-
sugar-select[label-error-position="left"] [semtic-error] {
|
|
2056
|
+
semtic-textarea[label-error-position="left"] [semtic-error] {
|
|
1955
2057
|
grid-area: error;
|
|
1956
2058
|
}
|
|
1957
2059
|
|
|
1958
2060
|
semtic-input[label-error-position="right"],
|
|
1959
2061
|
semtic-select[label-error-position="right"],
|
|
1960
|
-
semtic-textarea[label-error-position="right"]
|
|
1961
|
-
sugar-input[label-error-position="right"],
|
|
1962
|
-
sugar-select[label-error-position="right"] {
|
|
2062
|
+
semtic-textarea[label-error-position="right"] {
|
|
1963
2063
|
display: grid;
|
|
1964
2064
|
grid-template-areas:
|
|
1965
2065
|
"label input"
|
|
@@ -1969,25 +2069,19 @@
|
|
|
1969
2069
|
|
|
1970
2070
|
semtic-input[label-error-position="right"] [semtic-label],
|
|
1971
2071
|
semtic-select[label-error-position="right"] [semtic-label],
|
|
1972
|
-
semtic-textarea[label-error-position="right"] [semtic-label]
|
|
1973
|
-
sugar-input[label-error-position="right"] [semtic-label],
|
|
1974
|
-
sugar-select[label-error-position="right"] [semtic-label] {
|
|
2072
|
+
semtic-textarea[label-error-position="right"] [semtic-label] {
|
|
1975
2073
|
grid-area: label;
|
|
1976
2074
|
}
|
|
1977
2075
|
|
|
1978
2076
|
semtic-input[label-error-position="right"] input[wc-control],
|
|
1979
2077
|
semtic-select[label-error-position="right"] select[wc-control],
|
|
1980
|
-
semtic-textarea[label-error-position="right"] textarea[wc-control]
|
|
1981
|
-
sugar-input[label-error-position="right"] input[wc-control],
|
|
1982
|
-
sugar-select[label-error-position="right"] select[wc-control] {
|
|
2078
|
+
semtic-textarea[label-error-position="right"] textarea[wc-control] {
|
|
1983
2079
|
grid-area: input;
|
|
1984
2080
|
}
|
|
1985
2081
|
|
|
1986
2082
|
semtic-input[label-error-position="right"] [semtic-error],
|
|
1987
2083
|
semtic-select[label-error-position="right"] [semtic-error],
|
|
1988
|
-
semtic-textarea[label-error-position="right"] [semtic-error]
|
|
1989
|
-
sugar-input[label-error-position="right"] [semtic-error],
|
|
1990
|
-
sugar-select[label-error-position="right"] [semtic-error] {
|
|
2084
|
+
semtic-textarea[label-error-position="right"] [semtic-error] {
|
|
1991
2085
|
grid-area: error;
|
|
1992
2086
|
}
|
|
1993
2087
|
}
|
|
@@ -2359,6 +2453,7 @@
|
|
|
2359
2453
|
}
|
|
2360
2454
|
|
|
2361
2455
|
[skirbi-theme] {
|
|
2456
|
+
semtic-choice-card,
|
|
2362
2457
|
semtic-choice-card * {
|
|
2363
2458
|
cursor: pointer;
|
|
2364
2459
|
}
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"keywords": [],
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"name": "@skirbi/pinta",
|
|
15
|
-
"
|
|
15
|
+
"optionalDependencies": {
|
|
16
16
|
"@skirbi/semtic": "*"
|
|
17
17
|
},
|
|
18
18
|
"private": false,
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"type": "module",
|
|
31
|
-
"version": "0.0.
|
|
31
|
+
"version": "0.0.22"
|
|
32
32
|
}
|