@bamboocss/generator 1.60.0 → 1.60.2

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.mjs CHANGED
@@ -1557,6 +1557,871 @@ var content$1 = "interface ConditionOptions {\n /**\n * The conditions to gen
1557
1557
  //#endregion
1558
1558
  //#region src/artifacts/generated/system-types.d.ts.json
1559
1559
  var content = "import type { ConditionalValue, Nested } from './conditions'\nimport type { AtRule, Globals, Properties } from './csstype'\nimport type { SystemProperties, CssVarProperties } from './style-props'\n\ntype String = string & {}\ntype Number = number & {}\n\nexport type Pretty<T> = { [K in keyof T]: T[K] } & {}\n\nexport type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never\n\nexport type DistributiveUnion<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] | T[K] : T[K]\n} & DistributiveOmit<U, keyof T>\n\nexport type Assign<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] : T[K]\n} & U\n\n/* -----------------------------------------------------------------------------\n * Native css properties\n * -----------------------------------------------------------------------------*/\n\ntype CornerShapeValue = 'round' | 'square' | 'bevel' | 'scoop' | 'notch' | 'squircle' | `superellipse(${number})`\n\nexport interface ModernCssProperties {\n /**\n * Controls whether the entire element should be draggable instead of its contents.\n */\n WebkitUserDrag?: Globals | 'auto' | 'element' | 'none' | undefined\n\n /**\n * Specifies whether an element can be used to drag the entire app window (Electron).\n */\n WebkitAppRegion?: Globals | 'drag' | 'no-drag' | undefined\n\n /**\n * Sets the horizontal spacing between table borders.\n */\n WebkitBorderHorizontalSpacing?: Globals | String | Number | undefined\n\n /**\n * Sets the vertical spacing between table borders.\n */\n WebkitBorderVerticalSpacing?: Globals | String | Number | undefined\n\n /**\n * Controls the display of text content for security purposes (e.g., password fields).\n */\n WebkitTextSecurity?: Globals | 'none' | 'circle' | 'disc' | 'square' | undefined\n\n /**\n * Specifies the shape of a box's corners within the area defined by the border-radius property.\n * @experimental\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/corner-shape\n */\n cornerShape?:\n | Globals\n | CornerShapeValue\n | `${CornerShapeValue} ${CornerShapeValue}`\n | `${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue}`\n | `${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue}`\n | String\n | undefined\n}\n\nexport type CssProperty = keyof Properties\n\nexport interface CssProperties extends Properties<String | Number>, CssVarProperties, ModernCssProperties {}\n\nexport interface CssKeyframes {\n [name: string]: {\n [time: string]: CssProperties\n }\n}\n\n/* -----------------------------------------------------------------------------\n * Conditional css properties\n * -----------------------------------------------------------------------------*/\n\ninterface GenericProperties {\n [key: string]: ConditionalValue<String | Number | boolean>\n}\n\n/* -----------------------------------------------------------------------------\n * Native css props\n * -----------------------------------------------------------------------------*/\n\nexport type NestedCssProperties = Nested<CssProperties>\n\nexport type SystemStyleObject = Omit<Nested<SystemProperties & CssVarProperties>, 'base'>\n\n/**\n * A style object with these properties alone, in every condition and selector too: what a component\n * takes when it lets its caller style part of it. `SystemStyleObjectWith<'width' | 'margin'>` takes\n * those two; a shorthand, `mt`, is a property of its own and listed as one. It is a\n * `SystemStyleObject`, so it goes into `css()` as one.\n */\nexport type SystemStyleObjectWith<K extends keyof SystemProperties> = Omit<Nested<Pick<SystemProperties, K>>, 'base'>\n\n/** A style object with every property but these, in every condition and selector too. @see SystemStyleObjectWith */\nexport type SystemStyleObjectWithout<K extends keyof SystemProperties> = Omit<Nested<Omit<SystemProperties, K>>, 'base'>\n\n/**\n * The four `::view-transition-*` pseudo-elements a `viewTransition()` bag can style.\n *\n * `imagePair` is camelCase here and emitted as `::view-transition-image-pair`, matching\n * how every other property in a style object is authored.\n */\nexport interface ViewTransitionStyleObject {\n group?: SystemStyleObject | undefined\n imagePair?: SystemStyleObject | undefined\n old?: SystemStyleObject | undefined\n new?: SystemStyleObject | undefined\n}\n\nexport type ViewTransitionFn = (options: ViewTransitionStyleObject) => string\n\n/**\n * The stops of one `@keyframes` block: `from`, `to` or a percentage, each the declarations at that\n * point, as a theme keyframe takes them.\n */\nexport interface KeyframeStops {\n [stop: string]: CssProperties\n}\n\nexport type KeyframesFn = (stops: KeyframeStops) => string\n\nexport interface GlobalStyleObject {\n [selector: string]: SystemStyleObject\n}\nexport interface ExtendableGlobalStyleObject {\n [selector: string]: SystemStyleObject | undefined\n extend?: GlobalStyleObject | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Composition (text styles, layer styles)\n * -----------------------------------------------------------------------------*/\n\ntype FilterStyleObject<P extends string> = {\n [K in P]?: (K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown) | undefined\n}\n\nexport type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>\n\n/* -----------------------------------------------------------------------------\n * Font face\n * -----------------------------------------------------------------------------*/\n\nexport type GlobalFontfaceRule = Omit<AtRule.FontFaceFallback, 'src'> & Required<Pick<AtRule.FontFaceFallback, 'src'>>\n\nexport type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>\n\nexport interface GlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[]\n}\n\nexport interface ExtendableGlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[] | GlobalFontface | undefined\n extend?: GlobalFontface | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Jsx style props\n * -----------------------------------------------------------------------------*/\ninterface WithCss {\n css?: SystemStyleObject | SystemStyleObject[] | undefined\n}\n\nexport type JsxStyleProps = SystemStyleObject & WithCss\n\nexport interface PatchedHTMLProps {\n htmlWidth?: string | number | undefined\n htmlHeight?: string | number | undefined\n htmlTranslate?: 'yes' | 'no' | undefined\n htmlContent?: string | undefined\n}\n\nexport type OmittedHTMLProps = 'color' | 'translate' | 'transition' | 'width' | 'height' | 'content'\n\ntype WithHTMLProps<T> = DistributiveOmit<T, OmittedHTMLProps> & PatchedHTMLProps\n\nexport type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<\n WithHTMLProps<T>,\n P\n>\n";
1560
+ var cssProperties = [
1561
+ "KhtmlBoxAlign",
1562
+ "KhtmlBoxDirection",
1563
+ "KhtmlBoxFlex",
1564
+ "KhtmlBoxFlexGroup",
1565
+ "KhtmlBoxLines",
1566
+ "KhtmlBoxOrdinalGroup",
1567
+ "KhtmlBoxOrient",
1568
+ "KhtmlBoxPack",
1569
+ "KhtmlLineBreak",
1570
+ "KhtmlOpacity",
1571
+ "KhtmlUserSelect",
1572
+ "MozAnimation",
1573
+ "MozAnimationDelay",
1574
+ "MozAnimationDirection",
1575
+ "MozAnimationDuration",
1576
+ "MozAnimationFillMode",
1577
+ "MozAnimationIterationCount",
1578
+ "MozAnimationName",
1579
+ "MozAnimationPlayState",
1580
+ "MozAnimationTimingFunction",
1581
+ "MozAppearance",
1582
+ "MozBackfaceVisibility",
1583
+ "MozBackgroundClip",
1584
+ "MozBackgroundOrigin",
1585
+ "MozBackgroundSize",
1586
+ "MozBinding",
1587
+ "MozBorderBottomColors",
1588
+ "MozBorderEndColor",
1589
+ "MozBorderEndStyle",
1590
+ "MozBorderEndWidth",
1591
+ "MozBorderImage",
1592
+ "MozBorderLeftColors",
1593
+ "MozBorderRadius",
1594
+ "MozBorderRadiusBottomleft",
1595
+ "MozBorderRadiusBottomright",
1596
+ "MozBorderRadiusTopleft",
1597
+ "MozBorderRadiusTopright",
1598
+ "MozBorderRightColors",
1599
+ "MozBorderStartColor",
1600
+ "MozBorderStartStyle",
1601
+ "MozBorderTopColors",
1602
+ "MozBoxAlign",
1603
+ "MozBoxDirection",
1604
+ "MozBoxFlex",
1605
+ "MozBoxOrdinalGroup",
1606
+ "MozBoxOrient",
1607
+ "MozBoxPack",
1608
+ "MozBoxShadow",
1609
+ "MozBoxSizing",
1610
+ "MozColumnCount",
1611
+ "MozColumnFill",
1612
+ "MozColumnRule",
1613
+ "MozColumnRuleColor",
1614
+ "MozColumnRuleStyle",
1615
+ "MozColumnRuleWidth",
1616
+ "MozColumnWidth",
1617
+ "MozColumns",
1618
+ "MozContextProperties",
1619
+ "MozFloatEdge",
1620
+ "MozFontFeatureSettings",
1621
+ "MozFontLanguageOverride",
1622
+ "MozForceBrokenImageIcon",
1623
+ "MozHyphens",
1624
+ "MozMarginEnd",
1625
+ "MozMarginStart",
1626
+ "MozOpacity",
1627
+ "MozOrient",
1628
+ "MozOsxFontSmoothing",
1629
+ "MozOutline",
1630
+ "MozOutlineColor",
1631
+ "MozOutlineRadius",
1632
+ "MozOutlineRadiusBottomleft",
1633
+ "MozOutlineRadiusBottomright",
1634
+ "MozOutlineRadiusTopleft",
1635
+ "MozOutlineRadiusTopright",
1636
+ "MozOutlineStyle",
1637
+ "MozOutlineWidth",
1638
+ "MozPaddingEnd",
1639
+ "MozPaddingStart",
1640
+ "MozPerspective",
1641
+ "MozPerspectiveOrigin",
1642
+ "MozStackSizing",
1643
+ "MozTabSize",
1644
+ "MozTextAlignLast",
1645
+ "MozTextBlink",
1646
+ "MozTextDecorationColor",
1647
+ "MozTextDecorationLine",
1648
+ "MozTextDecorationStyle",
1649
+ "MozTextSizeAdjust",
1650
+ "MozTransform",
1651
+ "MozTransformOrigin",
1652
+ "MozTransformStyle",
1653
+ "MozTransition",
1654
+ "MozTransitionDelay",
1655
+ "MozTransitionDuration",
1656
+ "MozTransitionProperty",
1657
+ "MozTransitionTimingFunction",
1658
+ "MozUserFocus",
1659
+ "MozUserInput",
1660
+ "MozUserModify",
1661
+ "MozUserSelect",
1662
+ "MozWindowDragging",
1663
+ "MozWindowShadow",
1664
+ "OAnimation",
1665
+ "OAnimationDelay",
1666
+ "OAnimationDirection",
1667
+ "OAnimationDuration",
1668
+ "OAnimationFillMode",
1669
+ "OAnimationIterationCount",
1670
+ "OAnimationName",
1671
+ "OAnimationPlayState",
1672
+ "OAnimationTimingFunction",
1673
+ "OBackgroundSize",
1674
+ "OBorderImage",
1675
+ "OObjectFit",
1676
+ "OObjectPosition",
1677
+ "OTabSize",
1678
+ "OTextOverflow",
1679
+ "OTransform",
1680
+ "OTransformOrigin",
1681
+ "OTransition",
1682
+ "OTransitionDelay",
1683
+ "OTransitionDuration",
1684
+ "OTransitionProperty",
1685
+ "OTransitionTimingFunction",
1686
+ "WebkitAlignContent",
1687
+ "WebkitAlignItems",
1688
+ "WebkitAlignSelf",
1689
+ "WebkitAnimation",
1690
+ "WebkitAnimationDelay",
1691
+ "WebkitAnimationDirection",
1692
+ "WebkitAnimationDuration",
1693
+ "WebkitAnimationFillMode",
1694
+ "WebkitAnimationIterationCount",
1695
+ "WebkitAnimationName",
1696
+ "WebkitAnimationPlayState",
1697
+ "WebkitAnimationTimingFunction",
1698
+ "WebkitAppRegion",
1699
+ "WebkitAppearance",
1700
+ "WebkitBackdropFilter",
1701
+ "WebkitBackfaceVisibility",
1702
+ "WebkitBackgroundClip",
1703
+ "WebkitBackgroundOrigin",
1704
+ "WebkitBackgroundSize",
1705
+ "WebkitBorderBefore",
1706
+ "WebkitBorderBeforeColor",
1707
+ "WebkitBorderBeforeStyle",
1708
+ "WebkitBorderBeforeWidth",
1709
+ "WebkitBorderBottomLeftRadius",
1710
+ "WebkitBorderBottomRightRadius",
1711
+ "WebkitBorderHorizontalSpacing",
1712
+ "WebkitBorderImage",
1713
+ "WebkitBorderImageSlice",
1714
+ "WebkitBorderRadius",
1715
+ "WebkitBorderTopLeftRadius",
1716
+ "WebkitBorderTopRightRadius",
1717
+ "WebkitBorderVerticalSpacing",
1718
+ "WebkitBoxAlign",
1719
+ "WebkitBoxDecorationBreak",
1720
+ "WebkitBoxDirection",
1721
+ "WebkitBoxFlex",
1722
+ "WebkitBoxFlexGroup",
1723
+ "WebkitBoxLines",
1724
+ "WebkitBoxOrdinalGroup",
1725
+ "WebkitBoxOrient",
1726
+ "WebkitBoxPack",
1727
+ "WebkitBoxReflect",
1728
+ "WebkitBoxShadow",
1729
+ "WebkitBoxSizing",
1730
+ "WebkitClipPath",
1731
+ "WebkitColumnCount",
1732
+ "WebkitColumnFill",
1733
+ "WebkitColumnRule",
1734
+ "WebkitColumnRuleColor",
1735
+ "WebkitColumnRuleStyle",
1736
+ "WebkitColumnRuleWidth",
1737
+ "WebkitColumnSpan",
1738
+ "WebkitColumnWidth",
1739
+ "WebkitColumns",
1740
+ "WebkitFilter",
1741
+ "WebkitFlex",
1742
+ "WebkitFlexBasis",
1743
+ "WebkitFlexDirection",
1744
+ "WebkitFlexFlow",
1745
+ "WebkitFlexGrow",
1746
+ "WebkitFlexShrink",
1747
+ "WebkitFlexWrap",
1748
+ "WebkitFontFeatureSettings",
1749
+ "WebkitFontKerning",
1750
+ "WebkitFontSmoothing",
1751
+ "WebkitFontVariantLigatures",
1752
+ "WebkitHyphenateCharacter",
1753
+ "WebkitHyphens",
1754
+ "WebkitInitialLetter",
1755
+ "WebkitJustifyContent",
1756
+ "WebkitLineBreak",
1757
+ "WebkitLineClamp",
1758
+ "WebkitLogicalHeight",
1759
+ "WebkitLogicalWidth",
1760
+ "WebkitMarginEnd",
1761
+ "WebkitMarginStart",
1762
+ "WebkitMask",
1763
+ "WebkitMaskAttachment",
1764
+ "WebkitMaskBoxImage",
1765
+ "WebkitMaskBoxImageOutset",
1766
+ "WebkitMaskBoxImageRepeat",
1767
+ "WebkitMaskBoxImageSlice",
1768
+ "WebkitMaskBoxImageSource",
1769
+ "WebkitMaskBoxImageWidth",
1770
+ "WebkitMaskClip",
1771
+ "WebkitMaskComposite",
1772
+ "WebkitMaskImage",
1773
+ "WebkitMaskOrigin",
1774
+ "WebkitMaskPosition",
1775
+ "WebkitMaskPositionX",
1776
+ "WebkitMaskPositionY",
1777
+ "WebkitMaskRepeat",
1778
+ "WebkitMaskRepeatX",
1779
+ "WebkitMaskRepeatY",
1780
+ "WebkitMaskSize",
1781
+ "WebkitMaxInlineSize",
1782
+ "WebkitOrder",
1783
+ "WebkitOverflowScrolling",
1784
+ "WebkitPaddingEnd",
1785
+ "WebkitPaddingStart",
1786
+ "WebkitPerspective",
1787
+ "WebkitPerspectiveOrigin",
1788
+ "WebkitPrintColorAdjust",
1789
+ "WebkitRubyPosition",
1790
+ "WebkitScrollSnapType",
1791
+ "WebkitShapeMargin",
1792
+ "WebkitTapHighlightColor",
1793
+ "WebkitTextCombine",
1794
+ "WebkitTextDecorationColor",
1795
+ "WebkitTextDecorationLine",
1796
+ "WebkitTextDecorationSkip",
1797
+ "WebkitTextDecorationStyle",
1798
+ "WebkitTextEmphasis",
1799
+ "WebkitTextEmphasisColor",
1800
+ "WebkitTextEmphasisPosition",
1801
+ "WebkitTextEmphasisStyle",
1802
+ "WebkitTextFillColor",
1803
+ "WebkitTextOrientation",
1804
+ "WebkitTextSecurity",
1805
+ "WebkitTextSizeAdjust",
1806
+ "WebkitTextStroke",
1807
+ "WebkitTextStrokeColor",
1808
+ "WebkitTextStrokeWidth",
1809
+ "WebkitTextUnderlinePosition",
1810
+ "WebkitTouchCallout",
1811
+ "WebkitTransform",
1812
+ "WebkitTransformOrigin",
1813
+ "WebkitTransformStyle",
1814
+ "WebkitTransition",
1815
+ "WebkitTransitionDelay",
1816
+ "WebkitTransitionDuration",
1817
+ "WebkitTransitionProperty",
1818
+ "WebkitTransitionTimingFunction",
1819
+ "WebkitUserDrag",
1820
+ "WebkitUserModify",
1821
+ "WebkitUserSelect",
1822
+ "WebkitWritingMode",
1823
+ "accentColor",
1824
+ "alignContent",
1825
+ "alignItems",
1826
+ "alignSelf",
1827
+ "alignTracks",
1828
+ "alignmentBaseline",
1829
+ "all",
1830
+ "anchorName",
1831
+ "anchorScope",
1832
+ "animation",
1833
+ "animationComposition",
1834
+ "animationDelay",
1835
+ "animationDirection",
1836
+ "animationDuration",
1837
+ "animationFillMode",
1838
+ "animationIterationCount",
1839
+ "animationName",
1840
+ "animationPlayState",
1841
+ "animationRange",
1842
+ "animationRangeEnd",
1843
+ "animationRangeStart",
1844
+ "animationTimeline",
1845
+ "animationTimingFunction",
1846
+ "appearance",
1847
+ "aspectRatio",
1848
+ "backdropFilter",
1849
+ "backfaceVisibility",
1850
+ "background",
1851
+ "backgroundAttachment",
1852
+ "backgroundBlendMode",
1853
+ "backgroundClip",
1854
+ "backgroundColor",
1855
+ "backgroundImage",
1856
+ "backgroundOrigin",
1857
+ "backgroundPosition",
1858
+ "backgroundPositionX",
1859
+ "backgroundPositionY",
1860
+ "backgroundRepeat",
1861
+ "backgroundSize",
1862
+ "baselineShift",
1863
+ "blockSize",
1864
+ "border",
1865
+ "borderBlock",
1866
+ "borderBlockColor",
1867
+ "borderBlockEnd",
1868
+ "borderBlockEndColor",
1869
+ "borderBlockEndStyle",
1870
+ "borderBlockEndWidth",
1871
+ "borderBlockStart",
1872
+ "borderBlockStartColor",
1873
+ "borderBlockStartStyle",
1874
+ "borderBlockStartWidth",
1875
+ "borderBlockStyle",
1876
+ "borderBlockWidth",
1877
+ "borderBottom",
1878
+ "borderBottomColor",
1879
+ "borderBottomLeftRadius",
1880
+ "borderBottomRightRadius",
1881
+ "borderBottomStyle",
1882
+ "borderBottomWidth",
1883
+ "borderCollapse",
1884
+ "borderColor",
1885
+ "borderEndEndRadius",
1886
+ "borderEndStartRadius",
1887
+ "borderImage",
1888
+ "borderImageOutset",
1889
+ "borderImageRepeat",
1890
+ "borderImageSlice",
1891
+ "borderImageSource",
1892
+ "borderImageWidth",
1893
+ "borderInline",
1894
+ "borderInlineColor",
1895
+ "borderInlineEnd",
1896
+ "borderInlineEndColor",
1897
+ "borderInlineEndStyle",
1898
+ "borderInlineEndWidth",
1899
+ "borderInlineStart",
1900
+ "borderInlineStartColor",
1901
+ "borderInlineStartStyle",
1902
+ "borderInlineStartWidth",
1903
+ "borderInlineStyle",
1904
+ "borderInlineWidth",
1905
+ "borderLeft",
1906
+ "borderLeftColor",
1907
+ "borderLeftStyle",
1908
+ "borderLeftWidth",
1909
+ "borderRadius",
1910
+ "borderRight",
1911
+ "borderRightColor",
1912
+ "borderRightStyle",
1913
+ "borderRightWidth",
1914
+ "borderSpacing",
1915
+ "borderStartEndRadius",
1916
+ "borderStartStartRadius",
1917
+ "borderStyle",
1918
+ "borderTop",
1919
+ "borderTopColor",
1920
+ "borderTopLeftRadius",
1921
+ "borderTopRightRadius",
1922
+ "borderTopStyle",
1923
+ "borderTopWidth",
1924
+ "borderWidth",
1925
+ "bottom",
1926
+ "boxAlign",
1927
+ "boxDecorationBreak",
1928
+ "boxDirection",
1929
+ "boxFlex",
1930
+ "boxFlexGroup",
1931
+ "boxLines",
1932
+ "boxOrdinalGroup",
1933
+ "boxOrient",
1934
+ "boxPack",
1935
+ "boxShadow",
1936
+ "boxSizing",
1937
+ "breakAfter",
1938
+ "breakBefore",
1939
+ "breakInside",
1940
+ "captionSide",
1941
+ "caret",
1942
+ "caretColor",
1943
+ "caretShape",
1944
+ "clear",
1945
+ "clip",
1946
+ "clipPath",
1947
+ "clipRule",
1948
+ "color",
1949
+ "colorAdjust",
1950
+ "colorInterpolation",
1951
+ "colorInterpolationFilters",
1952
+ "colorRendering",
1953
+ "colorScheme",
1954
+ "columnCount",
1955
+ "columnFill",
1956
+ "columnGap",
1957
+ "columnRule",
1958
+ "columnRuleColor",
1959
+ "columnRuleStyle",
1960
+ "columnRuleWidth",
1961
+ "columnSpan",
1962
+ "columnWidth",
1963
+ "columns",
1964
+ "contain",
1965
+ "containIntrinsicBlockSize",
1966
+ "containIntrinsicHeight",
1967
+ "containIntrinsicInlineSize",
1968
+ "containIntrinsicSize",
1969
+ "containIntrinsicWidth",
1970
+ "container",
1971
+ "containerName",
1972
+ "containerType",
1973
+ "content",
1974
+ "contentVisibility",
1975
+ "cornerShape",
1976
+ "counterIncrement",
1977
+ "counterReset",
1978
+ "counterSet",
1979
+ "cursor",
1980
+ "cx",
1981
+ "cy",
1982
+ "d",
1983
+ "direction",
1984
+ "display",
1985
+ "dominantBaseline",
1986
+ "emptyCells",
1987
+ "fieldSizing",
1988
+ "fill",
1989
+ "fillOpacity",
1990
+ "fillRule",
1991
+ "filter",
1992
+ "flex",
1993
+ "flexBasis",
1994
+ "flexDirection",
1995
+ "flexFlow",
1996
+ "flexGrow",
1997
+ "flexShrink",
1998
+ "flexWrap",
1999
+ "float",
2000
+ "floodColor",
2001
+ "floodOpacity",
2002
+ "font",
2003
+ "fontFamily",
2004
+ "fontFeatureSettings",
2005
+ "fontKerning",
2006
+ "fontLanguageOverride",
2007
+ "fontOpticalSizing",
2008
+ "fontPalette",
2009
+ "fontSize",
2010
+ "fontSizeAdjust",
2011
+ "fontSmooth",
2012
+ "fontStretch",
2013
+ "fontStyle",
2014
+ "fontSynthesis",
2015
+ "fontSynthesisPosition",
2016
+ "fontSynthesisSmallCaps",
2017
+ "fontSynthesisStyle",
2018
+ "fontSynthesisWeight",
2019
+ "fontVariant",
2020
+ "fontVariantAlternates",
2021
+ "fontVariantCaps",
2022
+ "fontVariantEastAsian",
2023
+ "fontVariantEmoji",
2024
+ "fontVariantLigatures",
2025
+ "fontVariantNumeric",
2026
+ "fontVariantPosition",
2027
+ "fontVariationSettings",
2028
+ "fontWeight",
2029
+ "fontWidth",
2030
+ "forcedColorAdjust",
2031
+ "gap",
2032
+ "glyphOrientationVertical",
2033
+ "grid",
2034
+ "gridArea",
2035
+ "gridAutoColumns",
2036
+ "gridAutoFlow",
2037
+ "gridAutoRows",
2038
+ "gridColumn",
2039
+ "gridColumnEnd",
2040
+ "gridColumnGap",
2041
+ "gridColumnStart",
2042
+ "gridGap",
2043
+ "gridRow",
2044
+ "gridRowEnd",
2045
+ "gridRowGap",
2046
+ "gridRowStart",
2047
+ "gridTemplate",
2048
+ "gridTemplateAreas",
2049
+ "gridTemplateColumns",
2050
+ "gridTemplateRows",
2051
+ "hangingPunctuation",
2052
+ "height",
2053
+ "hyphenateCharacter",
2054
+ "hyphenateLimitChars",
2055
+ "hyphens",
2056
+ "imageOrientation",
2057
+ "imageRendering",
2058
+ "imageResolution",
2059
+ "imeMode",
2060
+ "initialLetter",
2061
+ "initialLetterAlign",
2062
+ "inlineSize",
2063
+ "inset",
2064
+ "insetArea",
2065
+ "insetBlock",
2066
+ "insetBlockEnd",
2067
+ "insetBlockStart",
2068
+ "insetInline",
2069
+ "insetInlineEnd",
2070
+ "insetInlineStart",
2071
+ "interpolateSize",
2072
+ "isolation",
2073
+ "justifyContent",
2074
+ "justifyItems",
2075
+ "justifySelf",
2076
+ "justifyTracks",
2077
+ "left",
2078
+ "letterSpacing",
2079
+ "lightingColor",
2080
+ "lineBreak",
2081
+ "lineClamp",
2082
+ "lineHeight",
2083
+ "lineHeightStep",
2084
+ "listStyle",
2085
+ "listStyleImage",
2086
+ "listStylePosition",
2087
+ "listStyleType",
2088
+ "margin",
2089
+ "marginBlock",
2090
+ "marginBlockEnd",
2091
+ "marginBlockStart",
2092
+ "marginBottom",
2093
+ "marginInline",
2094
+ "marginInlineEnd",
2095
+ "marginInlineStart",
2096
+ "marginLeft",
2097
+ "marginRight",
2098
+ "marginTop",
2099
+ "marginTrim",
2100
+ "marker",
2101
+ "markerEnd",
2102
+ "markerMid",
2103
+ "markerStart",
2104
+ "mask",
2105
+ "maskBorder",
2106
+ "maskBorderMode",
2107
+ "maskBorderOutset",
2108
+ "maskBorderRepeat",
2109
+ "maskBorderSlice",
2110
+ "maskBorderSource",
2111
+ "maskBorderWidth",
2112
+ "maskClip",
2113
+ "maskComposite",
2114
+ "maskImage",
2115
+ "maskMode",
2116
+ "maskOrigin",
2117
+ "maskPosition",
2118
+ "maskRepeat",
2119
+ "maskSize",
2120
+ "maskType",
2121
+ "masonryAutoFlow",
2122
+ "mathDepth",
2123
+ "mathShift",
2124
+ "mathStyle",
2125
+ "maxBlockSize",
2126
+ "maxHeight",
2127
+ "maxInlineSize",
2128
+ "maxLines",
2129
+ "maxWidth",
2130
+ "minBlockSize",
2131
+ "minHeight",
2132
+ "minInlineSize",
2133
+ "minWidth",
2134
+ "mixBlendMode",
2135
+ "motion",
2136
+ "motionDistance",
2137
+ "motionPath",
2138
+ "motionRotation",
2139
+ "msAccelerator",
2140
+ "msBlockProgression",
2141
+ "msContentZoomChaining",
2142
+ "msContentZoomLimit",
2143
+ "msContentZoomLimitMax",
2144
+ "msContentZoomLimitMin",
2145
+ "msContentZoomSnap",
2146
+ "msContentZoomSnapPoints",
2147
+ "msContentZoomSnapType",
2148
+ "msContentZooming",
2149
+ "msFilter",
2150
+ "msFlex",
2151
+ "msFlexDirection",
2152
+ "msFlexPositive",
2153
+ "msFlowFrom",
2154
+ "msFlowInto",
2155
+ "msGridColumns",
2156
+ "msGridRows",
2157
+ "msHighContrastAdjust",
2158
+ "msHyphenateLimitChars",
2159
+ "msHyphenateLimitLines",
2160
+ "msHyphenateLimitZone",
2161
+ "msHyphens",
2162
+ "msImeAlign",
2163
+ "msImeMode",
2164
+ "msLineBreak",
2165
+ "msOrder",
2166
+ "msOverflowStyle",
2167
+ "msOverflowX",
2168
+ "msOverflowY",
2169
+ "msScrollChaining",
2170
+ "msScrollLimit",
2171
+ "msScrollLimitXMax",
2172
+ "msScrollLimitXMin",
2173
+ "msScrollLimitYMax",
2174
+ "msScrollLimitYMin",
2175
+ "msScrollRails",
2176
+ "msScrollSnapPointsX",
2177
+ "msScrollSnapPointsY",
2178
+ "msScrollSnapType",
2179
+ "msScrollSnapX",
2180
+ "msScrollSnapY",
2181
+ "msScrollTranslation",
2182
+ "msScrollbar3dlightColor",
2183
+ "msScrollbarArrowColor",
2184
+ "msScrollbarBaseColor",
2185
+ "msScrollbarDarkshadowColor",
2186
+ "msScrollbarFaceColor",
2187
+ "msScrollbarHighlightColor",
2188
+ "msScrollbarShadowColor",
2189
+ "msScrollbarTrackColor",
2190
+ "msTextAutospace",
2191
+ "msTextCombineHorizontal",
2192
+ "msTextOverflow",
2193
+ "msTouchAction",
2194
+ "msTouchSelect",
2195
+ "msTransform",
2196
+ "msTransformOrigin",
2197
+ "msTransition",
2198
+ "msTransitionDelay",
2199
+ "msTransitionDuration",
2200
+ "msTransitionProperty",
2201
+ "msTransitionTimingFunction",
2202
+ "msUserSelect",
2203
+ "msWordBreak",
2204
+ "msWrapFlow",
2205
+ "msWrapMargin",
2206
+ "msWrapThrough",
2207
+ "msWritingMode",
2208
+ "objectFit",
2209
+ "objectPosition",
2210
+ "objectViewBox",
2211
+ "offset",
2212
+ "offsetAnchor",
2213
+ "offsetBlock",
2214
+ "offsetBlockEnd",
2215
+ "offsetBlockStart",
2216
+ "offsetDistance",
2217
+ "offsetInline",
2218
+ "offsetInlineEnd",
2219
+ "offsetInlineStart",
2220
+ "offsetPath",
2221
+ "offsetPosition",
2222
+ "offsetRotate",
2223
+ "offsetRotation",
2224
+ "opacity",
2225
+ "order",
2226
+ "orphans",
2227
+ "outline",
2228
+ "outlineColor",
2229
+ "outlineOffset",
2230
+ "outlineStyle",
2231
+ "outlineWidth",
2232
+ "overflow",
2233
+ "overflowAnchor",
2234
+ "overflowBlock",
2235
+ "overflowClipBox",
2236
+ "overflowClipMargin",
2237
+ "overflowInline",
2238
+ "overflowWrap",
2239
+ "overflowX",
2240
+ "overflowY",
2241
+ "overlay",
2242
+ "overscrollBehavior",
2243
+ "overscrollBehaviorBlock",
2244
+ "overscrollBehaviorInline",
2245
+ "overscrollBehaviorX",
2246
+ "overscrollBehaviorY",
2247
+ "padding",
2248
+ "paddingBlock",
2249
+ "paddingBlockEnd",
2250
+ "paddingBlockStart",
2251
+ "paddingBottom",
2252
+ "paddingInline",
2253
+ "paddingInlineEnd",
2254
+ "paddingInlineStart",
2255
+ "paddingLeft",
2256
+ "paddingRight",
2257
+ "paddingTop",
2258
+ "page",
2259
+ "pageBreakAfter",
2260
+ "pageBreakBefore",
2261
+ "pageBreakInside",
2262
+ "paintOrder",
2263
+ "perspective",
2264
+ "perspectiveOrigin",
2265
+ "placeContent",
2266
+ "placeItems",
2267
+ "placeSelf",
2268
+ "pointerEvents",
2269
+ "position",
2270
+ "positionAnchor",
2271
+ "positionArea",
2272
+ "positionTry",
2273
+ "positionTryFallbacks",
2274
+ "positionTryOptions",
2275
+ "positionTryOrder",
2276
+ "positionVisibility",
2277
+ "printColorAdjust",
2278
+ "quotes",
2279
+ "r",
2280
+ "resize",
2281
+ "right",
2282
+ "rotate",
2283
+ "rowGap",
2284
+ "rubyAlign",
2285
+ "rubyMerge",
2286
+ "rubyOverhang",
2287
+ "rubyPosition",
2288
+ "rx",
2289
+ "ry",
2290
+ "scale",
2291
+ "scrollBehavior",
2292
+ "scrollInitialTarget",
2293
+ "scrollMargin",
2294
+ "scrollMarginBlock",
2295
+ "scrollMarginBlockEnd",
2296
+ "scrollMarginBlockStart",
2297
+ "scrollMarginBottom",
2298
+ "scrollMarginInline",
2299
+ "scrollMarginInlineEnd",
2300
+ "scrollMarginInlineStart",
2301
+ "scrollMarginLeft",
2302
+ "scrollMarginRight",
2303
+ "scrollMarginTop",
2304
+ "scrollPadding",
2305
+ "scrollPaddingBlock",
2306
+ "scrollPaddingBlockEnd",
2307
+ "scrollPaddingBlockStart",
2308
+ "scrollPaddingBottom",
2309
+ "scrollPaddingInline",
2310
+ "scrollPaddingInlineEnd",
2311
+ "scrollPaddingInlineStart",
2312
+ "scrollPaddingLeft",
2313
+ "scrollPaddingRight",
2314
+ "scrollPaddingTop",
2315
+ "scrollSnapAlign",
2316
+ "scrollSnapCoordinate",
2317
+ "scrollSnapDestination",
2318
+ "scrollSnapMargin",
2319
+ "scrollSnapMarginBottom",
2320
+ "scrollSnapMarginLeft",
2321
+ "scrollSnapMarginRight",
2322
+ "scrollSnapMarginTop",
2323
+ "scrollSnapPointsX",
2324
+ "scrollSnapPointsY",
2325
+ "scrollSnapStop",
2326
+ "scrollSnapType",
2327
+ "scrollSnapTypeX",
2328
+ "scrollSnapTypeY",
2329
+ "scrollTimeline",
2330
+ "scrollTimelineAxis",
2331
+ "scrollTimelineName",
2332
+ "scrollbarColor",
2333
+ "scrollbarGutter",
2334
+ "scrollbarWidth",
2335
+ "shapeImageThreshold",
2336
+ "shapeMargin",
2337
+ "shapeOutside",
2338
+ "shapeRendering",
2339
+ "speakAs",
2340
+ "stopColor",
2341
+ "stopOpacity",
2342
+ "stroke",
2343
+ "strokeColor",
2344
+ "strokeDasharray",
2345
+ "strokeDashoffset",
2346
+ "strokeLinecap",
2347
+ "strokeLinejoin",
2348
+ "strokeMiterlimit",
2349
+ "strokeOpacity",
2350
+ "strokeWidth",
2351
+ "tabSize",
2352
+ "tableLayout",
2353
+ "textAlign",
2354
+ "textAlignLast",
2355
+ "textAnchor",
2356
+ "textAutospace",
2357
+ "textBox",
2358
+ "textBoxEdge",
2359
+ "textBoxTrim",
2360
+ "textCombineUpright",
2361
+ "textDecoration",
2362
+ "textDecorationColor",
2363
+ "textDecorationLine",
2364
+ "textDecorationSkip",
2365
+ "textDecorationSkipInk",
2366
+ "textDecorationStyle",
2367
+ "textDecorationThickness",
2368
+ "textEmphasis",
2369
+ "textEmphasisColor",
2370
+ "textEmphasisPosition",
2371
+ "textEmphasisStyle",
2372
+ "textIndent",
2373
+ "textJustify",
2374
+ "textOrientation",
2375
+ "textOverflow",
2376
+ "textRendering",
2377
+ "textShadow",
2378
+ "textSizeAdjust",
2379
+ "textSpacingTrim",
2380
+ "textTransform",
2381
+ "textUnderlineOffset",
2382
+ "textUnderlinePosition",
2383
+ "textWrap",
2384
+ "textWrapMode",
2385
+ "textWrapStyle",
2386
+ "timelineScope",
2387
+ "top",
2388
+ "touchAction",
2389
+ "transform",
2390
+ "transformBox",
2391
+ "transformOrigin",
2392
+ "transformStyle",
2393
+ "transition",
2394
+ "transitionBehavior",
2395
+ "transitionDelay",
2396
+ "transitionDuration",
2397
+ "transitionProperty",
2398
+ "transitionTimingFunction",
2399
+ "translate",
2400
+ "unicodeBidi",
2401
+ "userSelect",
2402
+ "vectorEffect",
2403
+ "verticalAlign",
2404
+ "viewTimeline",
2405
+ "viewTimelineAxis",
2406
+ "viewTimelineInset",
2407
+ "viewTimelineName",
2408
+ "viewTransitionClass",
2409
+ "viewTransitionName",
2410
+ "visibility",
2411
+ "whiteSpace",
2412
+ "whiteSpaceCollapse",
2413
+ "widows",
2414
+ "width",
2415
+ "willChange",
2416
+ "wordBreak",
2417
+ "wordSpacing",
2418
+ "wordWrap",
2419
+ "writingMode",
2420
+ "x",
2421
+ "y",
2422
+ "zIndex",
2423
+ "zoom"
2424
+ ];
1560
2425
  //#endregion
1561
2426
  //#region src/artifacts/types/generated.ts
1562
2427
  function getGeneratedTypes(ctx) {
@@ -1713,6 +2578,8 @@ function generatePropTypes(ctx) {
1713
2578
  }
1714
2579
  //#endregion
1715
2580
  //#region src/artifacts/types/style-props.ts
2581
+ /** The names `CssProperties["…"]` resolves for. See `packages/types/scripts/css-property-names.ts`. */
2582
+ const declaredCssProperties = new Set(cssProperties);
1716
2583
  function generateStyleProps(ctx) {
1717
2584
  const props = new Set(allCssProperties.concat(ctx.utility.keys()).filter(Boolean));
1718
2585
  const propTypes = ctx.utility.getTypes();
@@ -1737,7 +2604,7 @@ function generateStyleProps(ctx) {
1737
2604
  ${Array.from(props).map((key) => {
1738
2605
  const prop = ctx.utility.shorthands.get(key) ?? key;
1739
2606
  const union = [];
1740
- const cssFallback = allCssProperties.includes(prop) ? `CssProperties["${prop}"]` : "";
2607
+ const cssFallback = allCssProperties.includes(prop) && declaredCssProperties.has(prop) ? `CssProperties["${prop}"]` : "";
1741
2608
  /**
1742
2609
  * A utility's own values *extend* what the property accepts; they never replace it.
1743
2610
  *