@yahoo/uds 3.106.0 → 3.107.1

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.
Files changed (40) hide show
  1. package/dist/automated-config/dist/generated/autoVariants.cjs +6 -0
  2. package/dist/automated-config/dist/generated/autoVariants.d.cts +2 -2
  3. package/dist/automated-config/dist/generated/autoVariants.d.ts +2 -2
  4. package/dist/automated-config/dist/generated/autoVariants.js +6 -0
  5. package/dist/automated-config/dist/generated/generatedConfigs.cjs +39 -0
  6. package/dist/automated-config/dist/generated/generatedConfigs.d.cts +33 -3
  7. package/dist/automated-config/dist/generated/generatedConfigs.d.ts +33 -3
  8. package/dist/automated-config/dist/generated/generatedConfigs.js +39 -0
  9. package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +585 -0
  10. package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +585 -0
  11. package/dist/cli/dist/utils/rules/config.cjs +1 -1
  12. package/dist/cli/dist/utils/rules/config.js +1 -1
  13. package/dist/components/client/Button.cjs +1 -0
  14. package/dist/components/client/Button.d.cts +1 -0
  15. package/dist/components/client/Button.d.ts +1 -0
  16. package/dist/components/client/Button.js +1 -0
  17. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
  18. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
  19. package/dist/config/dist/index.cjs +586 -1
  20. package/dist/config/dist/index.js +586 -1
  21. package/dist/fixtures/dist/index.cjs +3 -0
  22. package/dist/fixtures/dist/index.js +3 -0
  23. package/dist/styles/styler.d.cts +24 -24
  24. package/dist/styles/styler.d.ts +24 -24
  25. package/dist/styles/variants.d.cts +6 -0
  26. package/dist/styles/variants.d.ts +6 -0
  27. package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
  28. package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
  29. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
  30. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
  31. package/dist/types/dist/index.d.cts +2 -1
  32. package/dist/types/dist/index.d.ts +2 -1
  33. package/dist/uds/generated/componentData.cjs +1163 -1163
  34. package/dist/uds/generated/componentData.js +1163 -1163
  35. package/dist/uds/generated/tailwindPurge.cjs +1 -1
  36. package/dist/uds/generated/tailwindPurge.js +1 -1
  37. package/package.json +1 -1
  38. /package/dist/{rules → cli/rules}/cursor/uds/components.mdc +0 -0
  39. /package/dist/{rules → cli/rules}/cursor/uds/icons.mdc +0 -0
  40. /package/dist/{rules → cli/rules}/cursor/uds/tailwind.mdc +0 -0
@@ -1,7 +1,7 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
2
  //#region ../config/dist/index.js
3
3
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
4
- const LATEST_MIGRATION_VERSION = "v0.81.0";
4
+ const LATEST_MIGRATION_VERSION = "v0.82.0";
5
5
  /**
6
6
  * NOTE: If you're building a feature with a migration,
7
7
  * this type will likely throw. You can regenerate yosConfig
@@ -1545,6 +1545,591 @@ const defaultTokensConfig = {
1545
1545
  variant: "primary"
1546
1546
  },
1547
1547
  variables: {
1548
+ "variant/contrast-high/root": {
1549
+ borderWidth: {
1550
+ rest: {
1551
+ type: "borderWidths",
1552
+ valueType: "alias",
1553
+ value: "thin"
1554
+ },
1555
+ pressed: {
1556
+ type: "borderWidths",
1557
+ valueType: "alias",
1558
+ value: "thin"
1559
+ },
1560
+ hover: {
1561
+ type: "borderWidths",
1562
+ valueType: "alias",
1563
+ value: "thin"
1564
+ },
1565
+ disabled: {
1566
+ type: "borderWidths",
1567
+ valueType: "alias",
1568
+ value: "thin"
1569
+ }
1570
+ },
1571
+ borderRadius: {
1572
+ rest: {
1573
+ type: "borderRadii",
1574
+ valueType: "alias",
1575
+ value: "full"
1576
+ },
1577
+ pressed: {
1578
+ type: "borderRadii",
1579
+ valueType: "alias",
1580
+ value: "full"
1581
+ },
1582
+ hover: {
1583
+ type: "borderRadii",
1584
+ valueType: "alias",
1585
+ value: "full"
1586
+ },
1587
+ disabled: {
1588
+ type: "borderRadii",
1589
+ valueType: "alias",
1590
+ value: "full"
1591
+ }
1592
+ },
1593
+ borderColor: {
1594
+ rest: {
1595
+ type: "spectrumColors",
1596
+ valueType: "alias",
1597
+ value: "carbon-12"
1598
+ },
1599
+ pressed: {
1600
+ type: "spectrumColors",
1601
+ valueType: "alias",
1602
+ value: "carbon-15"
1603
+ },
1604
+ hover: {
1605
+ type: "spectrumColors",
1606
+ valueType: "alias",
1607
+ value: "carbon-12"
1608
+ },
1609
+ disabled: {
1610
+ type: "spectrumColors",
1611
+ valueType: "alias",
1612
+ value: "carbon-12"
1613
+ }
1614
+ },
1615
+ backgroundColor: {
1616
+ rest: {
1617
+ type: "spectrumColors",
1618
+ valueType: "alias",
1619
+ value: "carbon-12"
1620
+ },
1621
+ pressed: {
1622
+ type: "spectrumColors",
1623
+ valueType: "alias",
1624
+ value: "carbon-15"
1625
+ },
1626
+ hover: {
1627
+ type: "spectrumColors",
1628
+ valueType: "alias",
1629
+ value: "carbon-12"
1630
+ },
1631
+ disabled: {
1632
+ type: "spectrumColors",
1633
+ valueType: "alias",
1634
+ value: "carbon-12"
1635
+ }
1636
+ },
1637
+ color: {
1638
+ rest: {
1639
+ type: "foregroundPaletteColors",
1640
+ valueType: "alias",
1641
+ value: "on-color"
1642
+ },
1643
+ pressed: {
1644
+ type: "foregroundPaletteColors",
1645
+ valueType: "alias",
1646
+ value: "on-color"
1647
+ },
1648
+ hover: {
1649
+ type: "foregroundPaletteColors",
1650
+ valueType: "alias",
1651
+ value: "on-color"
1652
+ },
1653
+ disabled: {
1654
+ type: "foregroundPaletteColors",
1655
+ valueType: "alias",
1656
+ value: "on-color"
1657
+ }
1658
+ },
1659
+ opacity: { disabled: {
1660
+ type: "opacitySteps",
1661
+ valueType: "alias",
1662
+ value: "20"
1663
+ } },
1664
+ shadow: {
1665
+ rest: {
1666
+ type: "shadowVariants",
1667
+ valueType: "alias",
1668
+ value: "none"
1669
+ },
1670
+ pressed: {
1671
+ type: "shadowVariants",
1672
+ valueType: "alias",
1673
+ value: "none"
1674
+ },
1675
+ hover: {
1676
+ type: "shadowVariants",
1677
+ valueType: "alias",
1678
+ value: "md"
1679
+ },
1680
+ disabled: {
1681
+ type: "shadowVariants",
1682
+ valueType: "alias",
1683
+ value: "none"
1684
+ }
1685
+ },
1686
+ insetShadow: {
1687
+ rest: {
1688
+ type: "shadowVariantsWithInvert",
1689
+ valueType: "alias",
1690
+ value: "none"
1691
+ },
1692
+ pressed: {
1693
+ type: "shadowVariantsWithInvert",
1694
+ valueType: "alias",
1695
+ value: "md"
1696
+ },
1697
+ hover: {
1698
+ type: "shadowVariantsWithInvert",
1699
+ valueType: "alias",
1700
+ value: "md-invert"
1701
+ },
1702
+ disabled: {
1703
+ type: "shadowVariantsWithInvert",
1704
+ valueType: "alias",
1705
+ value: "none"
1706
+ }
1707
+ },
1708
+ scaleEffect: {
1709
+ hover: {
1710
+ type: "scaleEffects",
1711
+ valueType: "alias",
1712
+ value: "none"
1713
+ },
1714
+ pressed: {
1715
+ type: "scaleEffects",
1716
+ valueType: "alias",
1717
+ value: "down"
1718
+ }
1719
+ }
1720
+ },
1721
+ "variant/contrast-high/icon": { color: {
1722
+ rest: {
1723
+ type: "foregroundPaletteColors",
1724
+ valueType: "alias",
1725
+ value: "on-color"
1726
+ },
1727
+ pressed: {
1728
+ type: "foregroundPaletteColors",
1729
+ valueType: "alias",
1730
+ value: "on-color"
1731
+ },
1732
+ hover: {
1733
+ type: "foregroundPaletteColors",
1734
+ valueType: "alias",
1735
+ value: "on-color"
1736
+ },
1737
+ disabled: {
1738
+ type: "foregroundPaletteColors",
1739
+ valueType: "alias",
1740
+ value: "on-color"
1741
+ }
1742
+ } },
1743
+ "variant/contrast-medium/root": {
1744
+ borderWidth: {
1745
+ rest: {
1746
+ type: "borderWidths",
1747
+ valueType: "alias",
1748
+ value: "thin"
1749
+ },
1750
+ pressed: {
1751
+ type: "borderWidths",
1752
+ valueType: "alias",
1753
+ value: "thin"
1754
+ },
1755
+ hover: {
1756
+ type: "borderWidths",
1757
+ valueType: "alias",
1758
+ value: "thin"
1759
+ },
1760
+ disabled: {
1761
+ type: "borderWidths",
1762
+ valueType: "alias",
1763
+ value: "thin"
1764
+ }
1765
+ },
1766
+ borderRadius: {
1767
+ rest: {
1768
+ type: "borderRadii",
1769
+ valueType: "alias",
1770
+ value: "full"
1771
+ },
1772
+ pressed: {
1773
+ type: "borderRadii",
1774
+ valueType: "alias",
1775
+ value: "full"
1776
+ },
1777
+ hover: {
1778
+ type: "borderRadii",
1779
+ valueType: "alias",
1780
+ value: "full"
1781
+ },
1782
+ disabled: {
1783
+ type: "borderRadii",
1784
+ valueType: "alias",
1785
+ value: "full"
1786
+ }
1787
+ },
1788
+ borderColor: {
1789
+ rest: {
1790
+ type: "linePaletteColors",
1791
+ valueType: "alias",
1792
+ value: "accent"
1793
+ },
1794
+ pressed: {
1795
+ type: "spectrumColors",
1796
+ valueType: "alias",
1797
+ value: "carbon-5"
1798
+ },
1799
+ hover: {
1800
+ type: "spectrumColors",
1801
+ valueType: "alias",
1802
+ value: "carbon-5"
1803
+ },
1804
+ disabled: {
1805
+ type: "linePaletteColors",
1806
+ valueType: "alias",
1807
+ value: "accent"
1808
+ }
1809
+ },
1810
+ backgroundColor: {
1811
+ rest: {
1812
+ type: "backgroundPaletteColors",
1813
+ valueType: "alias",
1814
+ value: "accent"
1815
+ },
1816
+ pressed: {
1817
+ type: "spectrumColors",
1818
+ valueType: "alias",
1819
+ value: "carbon-3"
1820
+ },
1821
+ hover: {
1822
+ type: "spectrumColors",
1823
+ valueType: "alias",
1824
+ value: "carbon-3"
1825
+ },
1826
+ disabled: {
1827
+ type: "backgroundPaletteColors",
1828
+ valueType: "alias",
1829
+ value: "accent"
1830
+ }
1831
+ },
1832
+ color: {
1833
+ rest: {
1834
+ type: "foregroundPaletteColors",
1835
+ valueType: "alias",
1836
+ value: "primary"
1837
+ },
1838
+ pressed: {
1839
+ type: "foregroundPaletteColors",
1840
+ valueType: "alias",
1841
+ value: "primary"
1842
+ },
1843
+ hover: {
1844
+ type: "foregroundPaletteColors",
1845
+ valueType: "alias",
1846
+ value: "primary"
1847
+ },
1848
+ disabled: {
1849
+ type: "foregroundPaletteColors",
1850
+ valueType: "alias",
1851
+ value: "primary"
1852
+ }
1853
+ },
1854
+ opacity: { disabled: {
1855
+ type: "opacitySteps",
1856
+ valueType: "alias",
1857
+ value: "20"
1858
+ } },
1859
+ shadow: {
1860
+ rest: {
1861
+ type: "shadowVariants",
1862
+ valueType: "alias",
1863
+ value: "none"
1864
+ },
1865
+ pressed: {
1866
+ type: "shadowVariants",
1867
+ valueType: "alias",
1868
+ value: "none"
1869
+ },
1870
+ hover: {
1871
+ type: "shadowVariants",
1872
+ valueType: "alias",
1873
+ value: "md"
1874
+ },
1875
+ disabled: {
1876
+ type: "shadowVariants",
1877
+ valueType: "alias",
1878
+ value: "none"
1879
+ }
1880
+ },
1881
+ insetShadow: {
1882
+ rest: {
1883
+ type: "shadowVariantsWithInvert",
1884
+ valueType: "alias",
1885
+ value: "none"
1886
+ },
1887
+ pressed: {
1888
+ type: "shadowVariantsWithInvert",
1889
+ valueType: "alias",
1890
+ value: "md"
1891
+ },
1892
+ hover: {
1893
+ type: "shadowVariantsWithInvert",
1894
+ valueType: "alias",
1895
+ value: "md-invert"
1896
+ },
1897
+ disabled: {
1898
+ type: "shadowVariantsWithInvert",
1899
+ valueType: "alias",
1900
+ value: "none"
1901
+ }
1902
+ },
1903
+ scaleEffect: {
1904
+ hover: {
1905
+ type: "scaleEffects",
1906
+ valueType: "alias",
1907
+ value: "none"
1908
+ },
1909
+ pressed: {
1910
+ type: "scaleEffects",
1911
+ valueType: "alias",
1912
+ value: "down"
1913
+ }
1914
+ }
1915
+ },
1916
+ "variant/contrast-medium/icon": { color: {
1917
+ rest: {
1918
+ type: "foregroundPaletteColors",
1919
+ valueType: "alias",
1920
+ value: "primary"
1921
+ },
1922
+ pressed: {
1923
+ type: "foregroundPaletteColors",
1924
+ valueType: "alias",
1925
+ value: "primary"
1926
+ },
1927
+ hover: {
1928
+ type: "foregroundPaletteColors",
1929
+ valueType: "alias",
1930
+ value: "primary"
1931
+ },
1932
+ disabled: {
1933
+ type: "foregroundPaletteColors",
1934
+ valueType: "alias",
1935
+ value: "primary"
1936
+ }
1937
+ } },
1938
+ "variant/contrast-low/root": {
1939
+ borderWidth: {
1940
+ rest: {
1941
+ type: "borderWidths",
1942
+ valueType: "alias",
1943
+ value: "thin"
1944
+ },
1945
+ pressed: {
1946
+ type: "borderWidths",
1947
+ valueType: "alias",
1948
+ value: "thin"
1949
+ },
1950
+ hover: {
1951
+ type: "borderWidths",
1952
+ valueType: "alias",
1953
+ value: "thin"
1954
+ },
1955
+ disabled: {
1956
+ type: "borderWidths",
1957
+ valueType: "alias",
1958
+ value: "thin"
1959
+ }
1960
+ },
1961
+ borderRadius: {
1962
+ rest: {
1963
+ type: "borderRadii",
1964
+ valueType: "alias",
1965
+ value: "full"
1966
+ },
1967
+ pressed: {
1968
+ type: "borderRadii",
1969
+ valueType: "alias",
1970
+ value: "full"
1971
+ },
1972
+ hover: {
1973
+ type: "borderRadii",
1974
+ valueType: "alias",
1975
+ value: "full"
1976
+ },
1977
+ disabled: {
1978
+ type: "borderRadii",
1979
+ valueType: "alias",
1980
+ value: "full"
1981
+ }
1982
+ },
1983
+ borderColor: {
1984
+ rest: {
1985
+ type: "spectrumColors",
1986
+ valueType: "alias",
1987
+ value: "carbon-3"
1988
+ },
1989
+ pressed: {
1990
+ type: "spectrumColors",
1991
+ valueType: "alias",
1992
+ value: "carbon-3"
1993
+ },
1994
+ hover: {
1995
+ type: "spectrumColors",
1996
+ valueType: "alias",
1997
+ value: "carbon-3"
1998
+ },
1999
+ disabled: {
2000
+ type: "spectrumColors",
2001
+ valueType: "alias",
2002
+ value: "carbon-3"
2003
+ }
2004
+ },
2005
+ backgroundColor: {
2006
+ rest: {
2007
+ type: "spectrumColors",
2008
+ valueType: "alias",
2009
+ value: "carbon-0"
2010
+ },
2011
+ pressed: {
2012
+ type: "spectrumColors",
2013
+ valueType: "alias",
2014
+ value: "carbon-2"
2015
+ },
2016
+ hover: {
2017
+ type: "spectrumColors",
2018
+ valueType: "alias",
2019
+ value: "carbon-2"
2020
+ },
2021
+ disabled: {
2022
+ type: "spectrumColors",
2023
+ valueType: "alias",
2024
+ value: "carbon-0"
2025
+ }
2026
+ },
2027
+ color: {
2028
+ rest: {
2029
+ type: "foregroundPaletteColors",
2030
+ valueType: "alias",
2031
+ value: "primary"
2032
+ },
2033
+ pressed: {
2034
+ type: "foregroundPaletteColors",
2035
+ valueType: "alias",
2036
+ value: "primary"
2037
+ },
2038
+ hover: {
2039
+ type: "foregroundPaletteColors",
2040
+ valueType: "alias",
2041
+ value: "primary"
2042
+ },
2043
+ disabled: {
2044
+ type: "foregroundPaletteColors",
2045
+ valueType: "alias",
2046
+ value: "primary"
2047
+ }
2048
+ },
2049
+ opacity: { disabled: {
2050
+ type: "opacitySteps",
2051
+ valueType: "alias",
2052
+ value: "20"
2053
+ } },
2054
+ shadow: {
2055
+ rest: {
2056
+ type: "shadowVariants",
2057
+ valueType: "alias",
2058
+ value: "none"
2059
+ },
2060
+ pressed: {
2061
+ type: "shadowVariants",
2062
+ valueType: "alias",
2063
+ value: "none"
2064
+ },
2065
+ hover: {
2066
+ type: "shadowVariants",
2067
+ valueType: "alias",
2068
+ value: "md"
2069
+ },
2070
+ disabled: {
2071
+ type: "shadowVariants",
2072
+ valueType: "alias",
2073
+ value: "none"
2074
+ }
2075
+ },
2076
+ insetShadow: {
2077
+ rest: {
2078
+ type: "shadowVariantsWithInvert",
2079
+ valueType: "alias",
2080
+ value: "none"
2081
+ },
2082
+ pressed: {
2083
+ type: "shadowVariantsWithInvert",
2084
+ valueType: "alias",
2085
+ value: "md"
2086
+ },
2087
+ hover: {
2088
+ type: "shadowVariantsWithInvert",
2089
+ valueType: "alias",
2090
+ value: "md-invert"
2091
+ },
2092
+ disabled: {
2093
+ type: "shadowVariantsWithInvert",
2094
+ valueType: "alias",
2095
+ value: "none"
2096
+ }
2097
+ },
2098
+ scaleEffect: {
2099
+ hover: {
2100
+ type: "scaleEffects",
2101
+ valueType: "alias",
2102
+ value: "none"
2103
+ },
2104
+ pressed: {
2105
+ type: "scaleEffects",
2106
+ valueType: "alias",
2107
+ value: "down"
2108
+ }
2109
+ }
2110
+ },
2111
+ "variant/contrast-low/icon": { color: {
2112
+ rest: {
2113
+ type: "foregroundPaletteColors",
2114
+ valueType: "alias",
2115
+ value: "primary"
2116
+ },
2117
+ pressed: {
2118
+ type: "foregroundPaletteColors",
2119
+ valueType: "alias",
2120
+ value: "primary"
2121
+ },
2122
+ hover: {
2123
+ type: "foregroundPaletteColors",
2124
+ valueType: "alias",
2125
+ value: "primary"
2126
+ },
2127
+ disabled: {
2128
+ type: "foregroundPaletteColors",
2129
+ valueType: "alias",
2130
+ value: "primary"
2131
+ }
2132
+ } },
1548
2133
  "variant/brand/icon": { color: {
1549
2134
  disabled: {
1550
2135
  type: "foregroundPaletteColors",
@@ -1598,6 +1598,9 @@ var buttonVariantsFlat = [
1598
1598
  "warning-secondary",
1599
1599
  "info-secondary",
1600
1600
  "tertiary",
1601
+ "contrast-high",
1602
+ "contrast-medium",
1603
+ "contrast-low",
1601
1604
  "brand-tertiary",
1602
1605
  "alert-tertiary",
1603
1606
  "positive-tertiary",
@@ -1597,6 +1597,9 @@ var buttonVariantsFlat = [
1597
1597
  "warning-secondary",
1598
1598
  "info-secondary",
1599
1599
  "tertiary",
1600
+ "contrast-high",
1601
+ "contrast-medium",
1602
+ "contrast-low",
1600
1603
  "brand-tertiary",
1601
1604
  "alert-tertiary",
1602
1605
  "positive-tertiary",