@skirbi/pinta 0.0.21 → 0.0.23
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 +10 -0
- package/lib/index.mjs +1 -1
- package/lib/themes/pinta.css +203 -98
- package/package.json +2 -2
package/Changes
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
Revision history for @skirbi/pinta
|
|
2
2
|
|
|
3
|
+
0.0.23 2026-07-03 00:20:01Z
|
|
4
|
+
|
|
5
|
+
* Deprecate -light/-dark variants for primary/secondary/tertiary/quarternary.
|
|
6
|
+
These now are -soft/-strong. In the docs tertiary/quarternary don't have a
|
|
7
|
+
color family, in reality they do :P. The easter egg is now disclosed :)
|
|
8
|
+
|
|
9
|
+
0.0.22 2026-07-01 19:10:06Z
|
|
10
|
+
|
|
11
|
+
* Add checkbox/radio button styles: --skirbi-choice-size
|
|
12
|
+
|
|
3
13
|
0.0.21 2026-06-17 16:41:23Z
|
|
4
14
|
|
|
5
15
|
* Fix small glitch
|
package/lib/index.mjs
CHANGED
package/lib/themes/pinta.css
CHANGED
|
@@ -72,33 +72,44 @@
|
|
|
72
72
|
|
|
73
73
|
/* Color families */
|
|
74
74
|
--skirbi-primary-main: #0f172a;
|
|
75
|
-
--skirbi-primary-
|
|
75
|
+
--skirbi-primary-soft: color-mix(in srgb, var(--skirbi-primary-main)
|
|
76
76
|
30%, white);
|
|
77
|
-
--skirbi-primary-
|
|
77
|
+
--skirbi-primary-strong: color-mix(in srgb, var(--skirbi-primary-main)
|
|
78
78
|
30%, black);
|
|
79
79
|
--skirbi-primary-contrast: var(--skirbi-on-dark);
|
|
80
80
|
|
|
81
|
+
|
|
81
82
|
--skirbi-secondary-main: #06b6d4;
|
|
82
|
-
--skirbi-secondary-
|
|
83
|
+
--skirbi-secondary-soft: color-mix(in srgb,
|
|
83
84
|
var(--skirbi-secondary-main) 30%, white);
|
|
84
|
-
--skirbi-secondary-
|
|
85
|
+
--skirbi-secondary-strong: color-mix(in srgb,
|
|
85
86
|
var(--skirbi-secondary-main) 30%, black);
|
|
86
87
|
--skirbi-secondary-contrast: var(--skirbi-on-dark);
|
|
87
88
|
|
|
88
89
|
--skirbi-tertiary-main: #f8fafc;
|
|
89
|
-
--skirbi-tertiary-
|
|
90
|
+
--skirbi-tertiary-soft: color-mix(in srgb,
|
|
90
91
|
var(--skirbi-tertiary-main) 30%, white);
|
|
91
|
-
--skirbi-tertiary-
|
|
92
|
+
--skirbi-tertiary-strong: color-mix(in srgb,
|
|
92
93
|
var(--skirbi-tertiary-main) 30%, black);
|
|
93
94
|
--skirbi-tertiary-contrast: var(--skirbi-on-light);
|
|
94
95
|
|
|
95
96
|
--skirbi-quaternary-main: #475569;
|
|
96
|
-
--skirbi-quaternary-
|
|
97
|
+
--skirbi-quaternary-soft: color-mix(in srgb,
|
|
97
98
|
var(--skirbi-quaternary-main) 30%, white);
|
|
98
|
-
--skirbi-quaternary-
|
|
99
|
+
--skirbi-quaternary-strong: color-mix(in srgb,
|
|
99
100
|
var(--skirbi-quaternary-main) 30%, black);
|
|
100
101
|
--skirbi-quaternary-contrast: var(--skirbi-on-dark);
|
|
101
102
|
|
|
103
|
+
/* Deprecated knobs */
|
|
104
|
+
--skirbi-primary-light: var(--skirbi-primary-soft);
|
|
105
|
+
--skirbi-primary-dark: var(--skribi-primary-strong);
|
|
106
|
+
--skirbi-secondary-light: var(--skirbi-secondary-soft);
|
|
107
|
+
--skirbi-secondary-dark: var(--skribi-secondary-strong);
|
|
108
|
+
--skirbi-tertiary-light: var(--skirbi-tertiary-soft);
|
|
109
|
+
--skirbi-tertiary-dark: var(--skribi-tertiary-strong);
|
|
110
|
+
--skirbi-quaternary-light: var(--skirbi-quaternary-soft);
|
|
111
|
+
--skirbi-quaternary-dark: var(--skribi-quaternary-strong);
|
|
112
|
+
|
|
102
113
|
/* Background transforms */
|
|
103
114
|
--skirbi-bg-transform: wash;
|
|
104
115
|
--skirbi-wash-perc: 8%;
|
|
@@ -1658,9 +1669,7 @@
|
|
|
1658
1669
|
semtic-select,
|
|
1659
1670
|
semtic-textarea,
|
|
1660
1671
|
semtic-checkbox,
|
|
1661
|
-
semtic-radio
|
|
1662
|
-
sugar-input,
|
|
1663
|
-
sugar-select {
|
|
1672
|
+
semtic-radio {
|
|
1664
1673
|
display: flex;
|
|
1665
1674
|
flex-direction: row;
|
|
1666
1675
|
align-items: center;
|
|
@@ -1678,9 +1687,7 @@
|
|
|
1678
1687
|
semtic-select[label-position="left"],
|
|
1679
1688
|
semtic-textarea[label-position="left"],
|
|
1680
1689
|
semtic-checkbox[label-position="left"],
|
|
1681
|
-
semtic-radio[label-position="left"]
|
|
1682
|
-
sugar-input[label-position="left"],
|
|
1683
|
-
sugar-select[label-position="left"] {
|
|
1690
|
+
semtic-radio[label-position="left"] {
|
|
1684
1691
|
flex-direction: row;
|
|
1685
1692
|
align-items: center;
|
|
1686
1693
|
}
|
|
@@ -1689,9 +1696,7 @@
|
|
|
1689
1696
|
semtic-select[label-position="right"],
|
|
1690
1697
|
semtic-textarea[label-position="right"],
|
|
1691
1698
|
semtic-checkbox[label-position="right"],
|
|
1692
|
-
semtic-radio[label-position="right"]
|
|
1693
|
-
sugar-input[label-position="right"],
|
|
1694
|
-
sugar-select[label-position="right"] {
|
|
1699
|
+
semtic-radio[label-position="right"] {
|
|
1695
1700
|
flex-direction: row-reverse;
|
|
1696
1701
|
align-items: center;
|
|
1697
1702
|
}
|
|
@@ -1700,9 +1705,7 @@
|
|
|
1700
1705
|
semtic-select[label-position="top"],
|
|
1701
1706
|
semtic-textarea[label-position="top"],
|
|
1702
1707
|
semtic-checkbox[label-position="top"],
|
|
1703
|
-
semtic-radio[label-position="top"]
|
|
1704
|
-
sugar-input[label-position="top"],
|
|
1705
|
-
sugar-select[label-position="top"] {
|
|
1708
|
+
semtic-radio[label-position="top"] {
|
|
1706
1709
|
flex-direction: column;
|
|
1707
1710
|
align-items: flex-start;
|
|
1708
1711
|
}
|
|
@@ -1711,9 +1714,7 @@
|
|
|
1711
1714
|
semtic-select[label-position="bottom"],
|
|
1712
1715
|
semtic-textarea[label-position="bottom"],
|
|
1713
1716
|
semtic-checkbox[label-position="bottom"],
|
|
1714
|
-
semtic-radio[label-position="bottom"]
|
|
1715
|
-
sugar-input[label-position="bottom"],
|
|
1716
|
-
sugar-select[label-position="bottom"] {
|
|
1717
|
+
semtic-radio[label-position="bottom"] {
|
|
1717
1718
|
flex-direction: column-reverse;
|
|
1718
1719
|
align-items: flex-start;
|
|
1719
1720
|
}
|
|
@@ -1723,11 +1724,7 @@
|
|
|
1723
1724
|
semtic-select[label-position="top"] select[wc-control],
|
|
1724
1725
|
semtic-select[label-position="bottom"] select[wc-control],
|
|
1725
1726
|
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] {
|
|
1727
|
+
semtic-textarea[label-position="bottom"] textarea[wc-control] {
|
|
1731
1728
|
width: 100%;
|
|
1732
1729
|
box-sizing: border-box;
|
|
1733
1730
|
}
|
|
@@ -1750,40 +1747,29 @@
|
|
|
1750
1747
|
semtic-select[label-position="top"],
|
|
1751
1748
|
semtic-select[label-position="bottom"],
|
|
1752
1749
|
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"] {
|
|
1750
|
+
semtic-textarea[label-position="bottom"] {
|
|
1758
1751
|
width: 100%;
|
|
1759
1752
|
}
|
|
1760
1753
|
|
|
1761
1754
|
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] {
|
|
1755
|
+
semtic-select[label-position="bottom"] [skirbi-select] {
|
|
1765
1756
|
width: 100%;
|
|
1766
1757
|
}
|
|
1767
1758
|
|
|
1768
|
-
semtic-select[label-error-position="inline"] [skirbi-select]
|
|
1769
|
-
sugar-select[label-error-position="inline"] [skirbi-select] {
|
|
1759
|
+
semtic-select[label-error-position="inline"] [skirbi-select] {
|
|
1770
1760
|
width: 100%;
|
|
1771
1761
|
grid-column: 1 / -1;
|
|
1772
1762
|
}
|
|
1773
1763
|
|
|
1774
1764
|
semtic-input:has([semtic-error]:not(:empty)) [semtic-label],
|
|
1775
1765
|
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] {
|
|
1766
|
+
semtic-textarea:has([semtic-error]:not(:empty)) [semtic-label] {
|
|
1779
1767
|
color: var(--skirbi-error-base, #b91c1c);
|
|
1780
1768
|
}
|
|
1781
1769
|
|
|
1782
1770
|
semtic-input:has([semtic-error]:not(:empty)),
|
|
1783
1771
|
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)) {
|
|
1772
|
+
semtic-textarea:has([semtic-error]:not(:empty)) {
|
|
1787
1773
|
background: color-mix(
|
|
1788
1774
|
in srgb, var(--skirbi-error-base, #b91c1c) 6%, transparent
|
|
1789
1775
|
);
|
|
@@ -1813,6 +1799,161 @@
|
|
|
1813
1799
|
);
|
|
1814
1800
|
}
|
|
1815
1801
|
|
|
1802
|
+
/* Checkbox / radio controls
|
|
1803
|
+
*
|
|
1804
|
+
* Keep label-position/layout rules above in charge. These styles only
|
|
1805
|
+
* change the native control itself, overriding the generic text-input
|
|
1806
|
+
* recipe for choice controls.
|
|
1807
|
+
*/
|
|
1808
|
+
:is(
|
|
1809
|
+
semtic-input[type="checkbox"],
|
|
1810
|
+
semtic-input[type="radio"],
|
|
1811
|
+
semtic-checkbox,
|
|
1812
|
+
semtic-radio
|
|
1813
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]) {
|
|
1814
|
+
appearance: none;
|
|
1815
|
+
-webkit-appearance: none;
|
|
1816
|
+
|
|
1817
|
+
inline-size: var(--skirbi-choice-size, 0.95rem);
|
|
1818
|
+
block-size: var(--skirbi-choice-size, 0.95rem);
|
|
1819
|
+
min-inline-size: var(--skirbi-choice-size, 0.95rem);
|
|
1820
|
+
min-block-size: var(--skirbi-choice-size, 0.95rem);
|
|
1821
|
+
|
|
1822
|
+
margin: 0;
|
|
1823
|
+
padding: 0;
|
|
1824
|
+
|
|
1825
|
+
border: 1px solid var(--skirbi-choice-border, var(--skirbi-surface-border-final));
|
|
1826
|
+
background: var(--skirbi-choice-bg, var(--skirbi-surface-bg-final));
|
|
1827
|
+
color: var(--skirbi-choice-accent, var(--skirbi-primary-main));
|
|
1828
|
+
|
|
1829
|
+
display: inline-grid;
|
|
1830
|
+
place-content: center;
|
|
1831
|
+
flex: 0 0 auto;
|
|
1832
|
+
cursor: pointer;
|
|
1833
|
+
|
|
1834
|
+
transition:
|
|
1835
|
+
border-color var(--skirbi-transition-duration, 180ms)
|
|
1836
|
+
var(--skirbi-transition-ease, ease),
|
|
1837
|
+
background var(--skirbi-transition-duration, 180ms)
|
|
1838
|
+
var(--skirbi-transition-ease, ease),
|
|
1839
|
+
box-shadow var(--skirbi-transition-duration, 180ms)
|
|
1840
|
+
var(--skirbi-transition-ease, ease);
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/* Checkbox shape */
|
|
1844
|
+
:is(
|
|
1845
|
+
semtic-input[type="checkbox"],
|
|
1846
|
+
semtic-checkbox
|
|
1847
|
+
) > input[wc-control][type="checkbox"] {
|
|
1848
|
+
border-radius: 0.2rem;
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/* Checkbox tick */
|
|
1852
|
+
:is(
|
|
1853
|
+
semtic-input[type="checkbox"],
|
|
1854
|
+
semtic-checkbox
|
|
1855
|
+
) > input[wc-control][type="checkbox"]::before {
|
|
1856
|
+
content: "";
|
|
1857
|
+
inline-size: 0.28rem;
|
|
1858
|
+
block-size: 0.52rem;
|
|
1859
|
+
|
|
1860
|
+
border: solid currentColor;
|
|
1861
|
+
border-width: 0 0.11rem 0.11rem 0;
|
|
1862
|
+
|
|
1863
|
+
transform: rotate(45deg) scale(0);
|
|
1864
|
+
transform-origin: center;
|
|
1865
|
+
transition: transform var(--skirbi-transform-duration, 140ms)
|
|
1866
|
+
var(--skirbi-transition-ease, ease);
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
/* Radio shape */
|
|
1870
|
+
:is(
|
|
1871
|
+
semtic-input[type="radio"],
|
|
1872
|
+
semtic-radio
|
|
1873
|
+
) > input[wc-control][type="radio"] {
|
|
1874
|
+
border-radius: 50%;
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
/* Radio dot */
|
|
1878
|
+
:is(
|
|
1879
|
+
semtic-input[type="radio"],
|
|
1880
|
+
semtic-radio
|
|
1881
|
+
) > input[wc-control][type="radio"]::before {
|
|
1882
|
+
content: "";
|
|
1883
|
+
inline-size: 0.42rem;
|
|
1884
|
+
block-size: 0.42rem;
|
|
1885
|
+
border-radius: 50%;
|
|
1886
|
+
background: currentColor;
|
|
1887
|
+
|
|
1888
|
+
transform: scale(0);
|
|
1889
|
+
transition: transform var(--skirbi-transform-duration, 140ms)
|
|
1890
|
+
var(--skirbi-transition-ease, ease);
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
/* Checked */
|
|
1894
|
+
:is(
|
|
1895
|
+
semtic-input[type="checkbox"],
|
|
1896
|
+
semtic-input[type="radio"],
|
|
1897
|
+
semtic-checkbox,
|
|
1898
|
+
semtic-radio
|
|
1899
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]):checked {
|
|
1900
|
+
border-color: currentColor;
|
|
1901
|
+
background: color-mix(
|
|
1902
|
+
in srgb,
|
|
1903
|
+
currentColor 7%,
|
|
1904
|
+
var(--skirbi-surface-bg-final)
|
|
1905
|
+
);
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
:is(
|
|
1909
|
+
semtic-input[type="checkbox"],
|
|
1910
|
+
semtic-checkbox
|
|
1911
|
+
) > input[wc-control][type="checkbox"]:checked::before {
|
|
1912
|
+
transform: rotate(45deg) scale(1);
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
:is(
|
|
1916
|
+
semtic-input[type="radio"],
|
|
1917
|
+
semtic-radio
|
|
1918
|
+
) > input[wc-control][type="radio"]:checked::before {
|
|
1919
|
+
transform: scale(1);
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
/* Hover/focus */
|
|
1923
|
+
:is(
|
|
1924
|
+
semtic-input[type="checkbox"],
|
|
1925
|
+
semtic-input[type="radio"],
|
|
1926
|
+
semtic-checkbox,
|
|
1927
|
+
semtic-radio
|
|
1928
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]):hover {
|
|
1929
|
+
border-color: currentColor;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
:is(
|
|
1933
|
+
semtic-input[type="checkbox"],
|
|
1934
|
+
semtic-input[type="radio"],
|
|
1935
|
+
semtic-checkbox,
|
|
1936
|
+
semtic-radio
|
|
1937
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]):focus-visible {
|
|
1938
|
+
outline: none;
|
|
1939
|
+
box-shadow: 0 0 0 2px color-mix(
|
|
1940
|
+
in srgb,
|
|
1941
|
+
currentColor 20%,
|
|
1942
|
+
transparent
|
|
1943
|
+
);
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
/* Disabled */
|
|
1947
|
+
:is(
|
|
1948
|
+
semtic-input[type="checkbox"],
|
|
1949
|
+
semtic-input[type="radio"],
|
|
1950
|
+
semtic-checkbox,
|
|
1951
|
+
semtic-radio
|
|
1952
|
+
) > input[wc-control]:is([type="checkbox"], [type="radio"]):disabled {
|
|
1953
|
+
opacity: 0.55;
|
|
1954
|
+
cursor: not-allowed;
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1816
1957
|
[semtic-error]:not(:empty) {
|
|
1817
1958
|
color: var(--skirbi-error-base, #b91c1c);
|
|
1818
1959
|
font-size: 0.875rem;
|
|
@@ -1823,9 +1964,7 @@
|
|
|
1823
1964
|
semtic-select:has([semtic-error]:not(:empty)) select[wc-control],
|
|
1824
1965
|
semtic-textarea:has([semtic-error]:not(:empty)) textarea[wc-control],
|
|
1825
1966
|
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] {
|
|
1967
|
+
semtic-radio:has([semtic-error]:not(:empty)) input[wc-control] {
|
|
1829
1968
|
border-color: var(--skirbi-error-base, #b91c1c);
|
|
1830
1969
|
box-shadow: 0 0 0 3px color-mix(
|
|
1831
1970
|
in srgb, var(--skirbi-error-base, #b91c1c) 20%, transparent
|
|
@@ -1837,9 +1976,7 @@
|
|
|
1837
1976
|
[skirbi-theme] {
|
|
1838
1977
|
semtic-input[label-error-position="inline"][label-position="top"],
|
|
1839
1978
|
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"] {
|
|
1979
|
+
semtic-textarea[label-error-position="inline"][label-position="top"] {
|
|
1843
1980
|
display: grid;
|
|
1844
1981
|
grid-template-areas:
|
|
1845
1982
|
"label error"
|
|
@@ -1850,25 +1987,19 @@
|
|
|
1850
1987
|
|
|
1851
1988
|
semtic-input[label-error-position="inline"] [semtic-label],
|
|
1852
1989
|
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] {
|
|
1990
|
+
semtic-textarea[label-error-position="inline"] [semtic-label] {
|
|
1856
1991
|
grid-area: label;
|
|
1857
1992
|
}
|
|
1858
1993
|
|
|
1859
1994
|
semtic-input[label-error-position="inline"] input[wc-control],
|
|
1860
1995
|
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] {
|
|
1996
|
+
semtic-textarea[label-error-position="inline"] textarea[wc-control] {
|
|
1864
1997
|
grid-area: input;
|
|
1865
1998
|
}
|
|
1866
1999
|
|
|
1867
2000
|
semtic-input[label-error-position="inline"] [semtic-error],
|
|
1868
2001
|
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] {
|
|
2002
|
+
semtic-textarea[label-error-position="inline"] [semtic-error] {
|
|
1872
2003
|
grid-area: error;
|
|
1873
2004
|
text-align: right;
|
|
1874
2005
|
align-self: baseline;
|
|
@@ -1876,18 +2007,14 @@
|
|
|
1876
2007
|
|
|
1877
2008
|
semtic-input[label-error-position="bottom"] [semtic-error],
|
|
1878
2009
|
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] {
|
|
2010
|
+
semtic-textarea[label-error-position="bottom"] [semtic-error] {
|
|
1882
2011
|
order: 99;
|
|
1883
2012
|
width: 100%;
|
|
1884
2013
|
}
|
|
1885
2014
|
|
|
1886
2015
|
semtic-input[label-error-position="top"],
|
|
1887
2016
|
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"] {
|
|
2017
|
+
semtic-textarea[label-error-position="top"] {
|
|
1891
2018
|
display: grid;
|
|
1892
2019
|
grid-template-areas:
|
|
1893
2020
|
"error"
|
|
@@ -1897,33 +2024,25 @@
|
|
|
1897
2024
|
|
|
1898
2025
|
semtic-input[label-error-position="top"] [semtic-label],
|
|
1899
2026
|
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] {
|
|
2027
|
+
semtic-textarea[label-error-position="top"] [semtic-label] {
|
|
1903
2028
|
grid-area: label;
|
|
1904
2029
|
}
|
|
1905
2030
|
|
|
1906
2031
|
semtic-input[label-error-position="top"] input[wc-control],
|
|
1907
2032
|
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] {
|
|
2033
|
+
semtic-textarea[label-error-position="top"] textarea[wc-control] {
|
|
1911
2034
|
grid-area: input;
|
|
1912
2035
|
}
|
|
1913
2036
|
|
|
1914
2037
|
semtic-input[label-error-position="top"] [semtic-error],
|
|
1915
2038
|
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] {
|
|
2039
|
+
semtic-textarea[label-error-position="top"] [semtic-error] {
|
|
1919
2040
|
grid-area: error;
|
|
1920
2041
|
}
|
|
1921
2042
|
|
|
1922
2043
|
semtic-input[label-error-position="left"],
|
|
1923
2044
|
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"] {
|
|
2045
|
+
semtic-textarea[label-error-position="left"] {
|
|
1927
2046
|
display: grid;
|
|
1928
2047
|
grid-template-areas:
|
|
1929
2048
|
"label input"
|
|
@@ -1933,33 +2052,25 @@
|
|
|
1933
2052
|
|
|
1934
2053
|
semtic-input[label-error-position="left"] [semtic-label],
|
|
1935
2054
|
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] {
|
|
2055
|
+
semtic-textarea[label-error-position="left"] [semtic-label] {
|
|
1939
2056
|
grid-area: label;
|
|
1940
2057
|
}
|
|
1941
2058
|
|
|
1942
2059
|
semtic-input[label-error-position="left"] input[wc-control],
|
|
1943
2060
|
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] {
|
|
2061
|
+
semtic-textarea[label-error-position="left"] textarea[wc-control] {
|
|
1947
2062
|
grid-area: input;
|
|
1948
2063
|
}
|
|
1949
2064
|
|
|
1950
2065
|
semtic-input[label-error-position="left"] [semtic-error],
|
|
1951
2066
|
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] {
|
|
2067
|
+
semtic-textarea[label-error-position="left"] [semtic-error] {
|
|
1955
2068
|
grid-area: error;
|
|
1956
2069
|
}
|
|
1957
2070
|
|
|
1958
2071
|
semtic-input[label-error-position="right"],
|
|
1959
2072
|
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"] {
|
|
2073
|
+
semtic-textarea[label-error-position="right"] {
|
|
1963
2074
|
display: grid;
|
|
1964
2075
|
grid-template-areas:
|
|
1965
2076
|
"label input"
|
|
@@ -1969,25 +2080,19 @@
|
|
|
1969
2080
|
|
|
1970
2081
|
semtic-input[label-error-position="right"] [semtic-label],
|
|
1971
2082
|
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] {
|
|
2083
|
+
semtic-textarea[label-error-position="right"] [semtic-label] {
|
|
1975
2084
|
grid-area: label;
|
|
1976
2085
|
}
|
|
1977
2086
|
|
|
1978
2087
|
semtic-input[label-error-position="right"] input[wc-control],
|
|
1979
2088
|
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] {
|
|
2089
|
+
semtic-textarea[label-error-position="right"] textarea[wc-control] {
|
|
1983
2090
|
grid-area: input;
|
|
1984
2091
|
}
|
|
1985
2092
|
|
|
1986
2093
|
semtic-input[label-error-position="right"] [semtic-error],
|
|
1987
2094
|
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] {
|
|
2095
|
+
semtic-textarea[label-error-position="right"] [semtic-error] {
|
|
1991
2096
|
grid-area: error;
|
|
1992
2097
|
}
|
|
1993
2098
|
}
|
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.23"
|
|
32
32
|
}
|