inferred-types 0.55.10 → 0.55.12

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.
@@ -5704,6 +5704,8 @@ interface CssAlignProperties {
5704
5704
  "align-items"?: CssAlignItems;
5705
5705
  /** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) */
5706
5706
  "align-self"?: CssAlignSelf;
5707
+ /** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align) */
5708
+ "vertical-align"?: "baseline" | "top" | "middle" | "bottom" | "sub" | "text-top";
5707
5709
  }
5708
5710
 
5709
5711
  type Cascade<T extends readonly string[], TResult extends string = ""> = [] extends T ? TResult : Cascade<AfterFirst<T>, `${TResult}${First<T> | ""}`>;
@@ -5868,7 +5870,7 @@ type TwTarget__Color__Light = `${TwColorTarget}-${TwTarget__ColorName}-${number}
5868
5870
  type CssNamedColors = typeof CSS_NAMED_COLORS[number];
5869
5871
  type CssColorSpace = "srgb" | "srgb-linear" | "display-p3" | "rec2020" | "a98-rgb" | "prophoto-rgb" | "xyz" | "xyz-d50" | "xyz-d65" | "hsl" | "hwb" | "lch" | "oklch";
5870
5872
  type CssRgb = `rgb(${number} ${number} ${number})` | `rgb(${number},${OptionalSpace}${number},${OptionalSpace}${number})`;
5871
- type CssRgba = `rgba(${number} ${number} ${number})` | `rgba(${number},${OptionalSpace}${number},${OptionalSpace}${number})`;
5873
+ type CssRgba = `rgba(${number} ${number} ${number} ${number})` | `rgba(${number},${OptionalSpace}${number},${OptionalSpace}${number},${OptionalSpace}${number})`;
5872
5874
  /**
5873
5875
  * Hue, Saturation, and Lightness level (**HSL** color model)
5874
5876
  */
@@ -5924,12 +5926,12 @@ interface CssTextProperties {
5924
5926
  "text-align"?: CssTextAlign;
5925
5927
  "text-align-last"?: CssTextAlign;
5926
5928
  "text-decoration-line"?: CssTextDecorationLine | `${CssTextDecorationLine} ${CssTextDecorationLine}${string}` | CssGlobal;
5927
- "text-decoration-color"?: CssColorLight | CssGlobal;
5929
+ "text-decoration-color"?: Suggest<CssColorLight | CssGlobal>;
5928
5930
  "text-decoration-thickness"?: "auto" | "from-font" | CssSizingLight | CssGlobal;
5929
5931
  "text-decoration-style"?: CssTextDecorationStyle;
5930
- "text-indent"?: CssTextIndent;
5932
+ "text-indent"?: Suggest<CssTextIndent>;
5931
5933
  "text-emphasis"?: string;
5932
- "text-justify"?: CssTextJustify;
5934
+ "text-justify"?: Suggest<CssTextJustify>;
5933
5935
  "text-orientation"?: CssTextOrientation;
5934
5936
  "text-shadow"?: `${CssSizingLight}${string}${CssColorLight}` | CssGlobal;
5935
5937
  "text-transform"?: CssTextTransform;
@@ -5966,7 +5968,7 @@ type CssGap = CssSizing | `${CssSizing} ${CssSizing}` | CssGlobal;
5966
5968
  *
5967
5969
  * a union of valid values for the **CSS** `flex-grow` property.
5968
5970
  */
5969
- type CssFlexGrow = number | CssGlobal;
5971
+ type CssFlexGrow = Suggest<"1" | "2" | "3" | CssGlobal>;
5970
5972
  /**
5971
5973
  * **CssFlexShrink**
5972
5974
  *
@@ -6098,7 +6100,7 @@ interface CssBackgroundProperties {
6098
6100
  "background-attachement"?: string;
6099
6101
  "background-blend-mode"?: string;
6100
6102
  "background-clip"?: string;
6101
- "background-color"?: CssColor;
6103
+ "background-color"?: Suggest<CssColor>;
6102
6104
  "background-image"?: string;
6103
6105
  "background-origin"?: string;
6104
6106
  "background-position"?: string;
@@ -6570,44 +6572,44 @@ interface CssTransformProperties {
6570
6572
  */
6571
6573
  type CssDefinition = {
6572
6574
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/appearance) */
6573
- "appearance"?: CssAppearance;
6575
+ "appearance"?: Suggest<CssAppearance>;
6574
6576
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter) */
6575
- "backdrop-filter"?: CssBackdropFilter;
6577
+ "backdrop-filter"?: Suggest<CssBackdropFilter>;
6576
6578
  /**
6577
6579
  * The valid values for the
6578
6580
  * [**display**](https://developer.mozilla.org/en-US/docs/Web/CSS/display)
6579
6581
  * property in CSS.
6580
6582
  */
6581
- "display"?: CssDisplay;
6583
+ "display"?: Suggest<CssDisplay>;
6582
6584
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/position) */
6583
- "position"?: CssPosition;
6585
+ "position"?: Suggest<CssPosition>;
6584
6586
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio) */
6585
- "aspect-ratio"?: CssAspectRatio;
6587
+ "aspect-ratio"?: Suggest<CssAspectRatio>;
6586
6588
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/opacity) */
6587
- "opacity"?: CssOpacity;
6589
+ "opacity"?: Suggest<CssOpacity>;
6588
6590
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/gap) */
6589
- "gap"?: CssGap;
6591
+ "gap"?: Suggest<CssGap>;
6590
6592
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) */
6591
- "flex"?: CssFlex;
6593
+ "flex"?: Suggest<CssFlex>;
6592
6594
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow) */
6593
- "flex-grow"?: CssFlexGrow;
6595
+ "flex-grow"?: Suggest<CssFlexGrow>;
6594
6596
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink) */
6595
- "flex-shrink"?: CssFlexShrink;
6597
+ "flex-shrink"?: Suggest<CssFlexShrink>;
6596
6598
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction) */
6597
- "flex-direction"?: CssFlexDirection;
6599
+ "flex-direction"?: Suggest<CssFlexDirection>;
6598
6600
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-flow) */
6599
- "flex-flow"?: CssFlexFlow;
6601
+ "flex-flow"?: Suggest<CssFlexFlow>;
6600
6602
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis) */
6601
- "flex-basis"?: CssFlexBasis;
6603
+ "flex-basis"?: Suggest<CssFlexBasis>;
6602
6604
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/float) */
6603
- "float"?: CssFloat;
6605
+ "float"?: Suggest<CssFloat>;
6604
6606
  /**
6605
6607
  * a union of valid values for the **CSS** [`list-style`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style) property.
6606
6608
  *
6607
6609
  * The list-style CSS shorthand property allows you to set all the list style properties
6608
6610
  * at once.
6609
6611
  */
6610
- "list-style"?: CssListStyle;
6612
+ "list-style"?: Suggest<CssListStyle>;
6611
6613
  /**
6612
6614
  * The block-size CSS property defines the horizontal or vertical size of an element's block,
6613
6615
  * depending on its writing mode. It corresponds to either the width or the height property,
@@ -6619,26 +6621,26 @@ type CssDefinition = {
6619
6621
  *
6620
6622
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size)
6621
6623
  */
6622
- "block-size"?: CssSizing;
6624
+ "block-size"?: Suggest<CssSizing>;
6623
6625
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-size) */
6624
- "border-size"?: CssSizing;
6626
+ "border-size"?: Suggest<CssSizing>;
6625
6627
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/content) */
6626
- "content"?: CssContent;
6628
+ "content"?: Suggest<CssContent>;
6627
6629
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/color) */
6628
- "color"?: CssColor;
6630
+ "color"?: Suggest<CssColor>;
6629
6631
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor) */
6630
- "cursor"?: CssCursor | CssGlobal;
6632
+ "cursor"?: Suggest<CssCursor | CssGlobal>;
6631
6633
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/height) */
6632
- "height"?: CssSizing;
6634
+ "height"?: Suggest<CssSizing>;
6633
6635
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/width) */
6634
- "width"?: CssSizing;
6636
+ "width"?: Suggest<CssSizing>;
6635
6637
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/perspective) */
6636
- "perspective"?: CssSizingLight | "none" | CssGlobal;
6637
- "perspective-origin"?: CssPerspectiveOrigin;
6638
+ "perspective"?: Suggest<CssSizingLight | "none" | CssGlobal>;
6639
+ "perspective-origin"?: Suggest<CssPerspectiveOrigin>;
6638
6640
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode) */
6639
- "mix-blend-mode"?: CssMixBlendMode;
6641
+ "mix-blend-mode"?: Suggest<CssMixBlendMode>;
6640
6642
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing) */
6641
- "letter-spacing"?: CssLetterSpacing;
6643
+ "letter-spacing"?: Suggest<CssLetterSpacing>;
6642
6644
  /**
6643
6645
  * The lighting-color CSS property defines the color of the light source for the
6644
6646
  * <feDiffuseLighting> and <feSpecularLighting> SVG lighting filter primitives within an
@@ -6646,76 +6648,149 @@ type CssDefinition = {
6646
6648
  *
6647
6649
  * - [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/lighting-color)
6648
6650
  */
6649
- "lighting-color"?: CssColor;
6651
+ "lighting-color"?: Suggest<CssColor>;
6650
6652
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit) */
6651
- "object-fit"?: CssObjectFit;
6653
+ "object-fit"?: Suggest<CssObjectFit>;
6652
6654
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) */
6653
- "object-position"?: CssObjectPosition;
6654
- "order"?: `${number}` | CssGlobal;
6655
+ "object-position"?: Suggest<CssObjectPosition>;
6656
+ "order"?: Suggest<`${number}` | CssGlobal>;
6655
6657
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/image-orientation) */
6656
- "image-orientation"?: CssImageOrientation;
6658
+ "image-orientation"?: Suggest<CssImageOrientation>;
6657
6659
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering) */
6658
- "image-rendering"?: CssImageRendering;
6660
+ "image-rendering"?: Suggest<CssImageRendering>;
6659
6661
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/image-resolution) */
6660
- "image-resolution"?: CssImageResolution;
6662
+ "image-resolution"?: Suggest<CssImageResolution>;
6661
6663
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/hanging-punction) */
6662
- "hanging-punctuation"?: CssHangingPunctuation;
6664
+ "hanging-punctuation"?: Suggest<CssHangingPunctuation>;
6663
6665
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/min-height) */
6664
- "min-height"?: CssSizing;
6666
+ "min-height"?: Suggest<CssSizing>;
6665
6667
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/min-width) */
6666
- "min-width"?: CssSizing;
6668
+ "min-width"?: Suggest<CssSizing>;
6667
6669
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size) */
6668
- "min-block-size"?: CssSizing;
6670
+ "min-block-size"?: Suggest<CssSizing>;
6669
6671
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size) */
6670
- "min-inline-size"?: CssSizing;
6672
+ "min-inline-size"?: Suggest<CssSizing>;
6671
6673
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/stop-color) */
6672
- "stop-color"?: CssColorLight | CssGlobal;
6674
+ "stop-color"?: Suggest<CssColorLight | CssGlobal>;
6673
6675
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/stop-opacity) */
6674
- "stop-opacity"?: `${number}` | `${number}%` | CssGlobal;
6676
+ "stop-opacity"?: Suggest<`${number}` | `${number}%` | CssGlobal>;
6675
6677
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size) */
6676
- "tab-size"?: `${number}` | CssSizingLight | CssGlobal;
6678
+ "tab-size"?: Suggest<`${number}` | CssSizingLight | CssGlobal>;
6677
6679
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout) */
6678
- "table-layout"?: "auto" | "fixed" | CssGlobal;
6680
+ "table-layout"?: Suggest<"auto" | "fixed" | CssGlobal>;
6679
6681
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/translate) */
6680
- "translate"?: CssTranslate | CssGlobal;
6682
+ "translate"?: Suggest<CssTranslate | CssGlobal>;
6681
6683
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/quotes) */
6682
- "quotes"?: string;
6684
+ "quotes"?: Suggest<string>;
6683
6685
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/r) */
6684
- "r"?: CssSizingLight | CssGlobal;
6686
+ "r"?: Suggest<CssSizingLight | CssGlobal>;
6685
6687
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events) */
6686
- "pointer-events"?: PointerEvent | CssGlobal;
6688
+ "pointer-events"?: string;
6687
6689
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/resize) */
6688
- "resize"?: "both" | "horizontal" | "vertical" | "none" | CssGlobal;
6690
+ "resize"?: Suggest<"both" | "horizontal" | "vertical" | "none" | CssGlobal>;
6689
6691
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/rotate) */
6690
- "rotate"?: CssRotation | `x ${CssRotation}` | `y ${CssRotation}` | `z ${CssRotation}` | CssGlobal;
6691
- "row-gap"?: CssSizing;
6692
+ "rotate"?: Suggest<CssRotation | `x ${CssRotation}` | `y ${CssRotation}` | `z ${CssRotation}` | CssGlobal>;
6693
+ "row-gap"?: Suggest<CssSizing>;
6692
6694
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/rx) */
6693
- "rx"?: CssSizing;
6695
+ "rx"?: Suggest<CssSizing>;
6694
6696
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/ry) */
6695
- "ry"?: CssSizing;
6697
+ "ry"?: Suggest<CssSizing>;
6696
6698
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/x) */
6697
- "x"?: CssSizing;
6699
+ "x"?: Suggest<CssSizing>;
6698
6700
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/y) */
6699
- "y"?: CssSizing;
6701
+ "y"?: Suggest<CssSizing>;
6700
6702
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) */
6701
- "white-space"?: CssWhiteSpace;
6703
+ "white-space"?: Suggest<CssWhiteSpace>;
6702
6704
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space-collapse) */
6703
- "white-space-collapse"?: CssWhiteSpaceCollapse;
6705
+ "white-space-collapse"?: Suggest<CssWhiteSpaceCollapse>;
6704
6706
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/widows) */
6705
- "widows"?: string;
6707
+ "widows"?: Suggest<string>;
6706
6708
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/will-change) */
6707
- "will-change"?: string;
6709
+ "will-change"?: Suggest<string>;
6708
6710
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/word-break) */
6709
- "word-break"?: CssWordBreak;
6711
+ "word-break"?: Suggest<CssWordBreak>;
6710
6712
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/word-spacing) */
6711
- "word-spacing"?: "normal" | CssSizing;
6713
+ "word-spacing"?: Suggest<"normal" | CssSizing>;
6712
6714
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode) */
6713
- "writing-mode"?: CssWritingMode;
6715
+ "writing-mode"?: Suggest<CssWritingMode>;
6714
6716
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/z-index) */
6715
- "z-index"?: `${number}` | "auto" | CssGlobal;
6717
+ "z-index"?: Suggest<`${number}` | "auto" | CssGlobal>;
6716
6718
  /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/zoom) */
6717
- "zoom"?: `${number}` | `${number}%` | "normal" | "reset" | CssGlobal;
6718
- } & CssBorderProperties & CssBackgroundProperties & CssAbsolutionPositioningProperties & CssOffsetProperties & CssBreakProperties & CssBoxProperties & CssTextProperties & CssStrokeProperties & CssJustifyProperties & CssAlignProperties & CssPlaceProperties & CssAnimationProperties & CssMarginProperties & CssPaddingProperties & CssOutlineProperties & CssOverflowProperties & CssOffsetProperties & CssTransformProperties;
6719
+ "zoom"?: Suggest<`${number}` | `${number}%` | "normal" | "reset" | CssGlobal>;
6720
+ } & CssBorderProperties & CssBackgroundProperties & CssAbsolutionPositioningProperties & CssOffsetProperties & CssBreakProperties & CssBoxProperties & CssTextProperties & CssStrokeProperties & CssJustifyProperties & CssAlignProperties & CssPlaceProperties & CssAnimationProperties & CssMarginProperties & CssPaddingProperties & CssOutlineProperties & CssOverflowProperties & CssOffsetProperties & CssTransformProperties & CssFontProperties & {
6721
+ [key: string]: string;
6722
+ };
6723
+
6724
+ type CssFontFamily = `"${string}"` | "serif" | "san-serif" | "monospace" | "cursive" | "fantasy" | "system-ui" | "ui-serif" | "ui-sans-serif" | "ui-monospace" | "ui-rounded" | "emoji" | "math" | "fansong";
6725
+ type CssFontFeatureSetting = "normal" | "liga" | "tnum" | "smcp";
6726
+ type CssFontKerning = "auto" | "normal" | "none" | CssGlobal;
6727
+ type CssFontPalette = "normal" | "light" | "dark" | `--${string}` | `palette-mix(in ${ColorGamut},${string})`;
6728
+ type CssFontWidth = "normal" | "ultra-condensed" | "extra-condensed" | "condensed" | "semi-condensed" | "expanded" | "extra-expanded" | "ultra-expanded" | `${number}%` | CssGlobal;
6729
+ type CssFontStyle = "normal" | "italic" | "oblique" | `oblique ${CssRotation}` | CssGlobal;
6730
+ type CssFontSynthesis = "none" | "weight" | "style" | "position" | "small-caps";
6731
+ type CssFontWeight = "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "lighter" | "bolder" | CssGlobal;
6732
+ /**
6733
+ * The font-language-override CSS property controls the use of language-specific glyphs in a typeface.
6734
+ *
6735
+ * By default, HTML's lang attribute tells browsers to display glyphs designed specifically
6736
+ * for that language. For example, a lot of fonts have a special character for the digraph
6737
+ * fi that merge the dot on the "i" with the "f." However, if the language is set to Turkish
6738
+ * the typeface will likely know not to use the merged glyph; Turkish has two versions of
6739
+ * the "i," one with a dot (i) and one without (ı), and using the ligature would incorrectly
6740
+ * transform a dotted "i" into a dotless "i."
6741
+ *
6742
+ * The font-language-override property lets you override the typeface behavior for a specific
6743
+ * language. This is useful, for example, when the typeface you're using lacks proper support
6744
+ * for the language. For instance, if a typeface doesn't have proper rules for the Azeri
6745
+ * language, you can force the font to use Turkish glyphs, which follow similar rules.
6746
+ */
6747
+ type CssFontLanguageOverride = string;
6748
+ interface CssFontProperties {
6749
+ "font-family"?: CssFontFamily | `${CssFontFamily}, ${CssFontFamily}${string}` | CssGlobal;
6750
+ "font-feature-settings"?: CssFontFeatureSetting | `${CssFontFeatureSetting} ${number | "on" | "off"}` | `${CssFontFeatureSetting} ${number | "on" | "off"},${string}`;
6751
+ "font-kerning"?: CssFontKerning;
6752
+ "font-language-override"?: CssFontLanguageOverride;
6753
+ "font-size"?: CssSizing | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large" | "xxx-large";
6754
+ /**
6755
+ * The font-size-adjust CSS property provides a way to modify the size of lowercase
6756
+ * letters relative to the size of uppercase letters, which defines the overall
6757
+ * font-size. This property is useful for situations where font fallback can
6758
+ * occur.
6759
+ *
6760
+ * - [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size-adjust)
6761
+ */
6762
+ "font-size-adjust"?: CssSizingLight | "none" | `${number}` | `from-font${Opt$1<` ${CssSizingLight}`>}` | `cap-height${Opt$1<` ${CssSizingLight}`>}` | `ex-height${Opt$1<` ${CssSizingLight}`>}` | `ch-width${Opt$1<` ${CssSizingLight}`>}` | `ic-width${Opt$1<` ${CssSizingLight}`>}` | `ic-height${Opt$1<` ${CssSizingLight}`>}`;
6763
+ /**
6764
+ * The font-palette CSS property allows specifying one of the many palettes contained in a
6765
+ * color font that a user agent may use for the font. Users can also override the values in
6766
+ * a palette or create a new palette by using the @font-palette-values at-rule.
6767
+ *
6768
+ * - [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-palette)
6769
+ */
6770
+ "font-palette"?: CssFontPalette;
6771
+ /**
6772
+ * An alias for `font-width`
6773
+ */
6774
+ "font-stretch"?: CssFontWidth;
6775
+ /**
6776
+ * The font-stretch CSS property selects a normal, condensed, or expanded face from a font.
6777
+ *
6778
+ * - [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-width)
6779
+ */
6780
+ "font-width"?: CssFontWidth;
6781
+ /** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-style) */
6782
+ "font-style"?: CssFontStyle;
6783
+ /**
6784
+ * The `font-synthesis` shorthand CSS property lets you specify whether or not the browser
6785
+ * may synthesize the bold, italic, small-caps, and/or subscript and superscript typefaces
6786
+ * when they are missing in the specified font-family.
6787
+ *
6788
+ * - [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-synthesis)
6789
+ */
6790
+ "font-synthesis"?: CssFontSynthesis | `${CssFontSynthesis} ${CssFontSynthesis}` | `${CssFontSynthesis} ${CssFontSynthesis} ${CssFontSynthesis}${string}` | CssGlobal;
6791
+ /** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) */
6792
+ "font-weight"?: CssFontWeight;
6793
+ }
6719
6794
  type HtmlTableElement = "col" | "colgroup" | "hgroup" | "table" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "tr";
6720
6795
  type HtmlSymantecElement = "abbr" | "acronym" | "address" | "area" | "article" | "aside" | "blockquote" | "caption" | "cite" | "details" | "dfn" | "dialog" | "fieldset" | "figure" | "figcaption" | "header" | "footer" | "legend" | "nav" | "menu" | "search" | "summary" | "section";
6721
6796
  type HtmlInputElement = "button" | "form" | "label" | "optgroup" | "option" | "select" | "input" | "textarea";
@@ -11966,12 +12041,16 @@ declare function createCssKeyframe<TName extends string, TKeyframes extends CssK
11966
12041
  css: `@keyframes ${TName} ${FrameToCSS<HandleDoneFn<ReturnType<TKeyframes>>, {}>}`;
11967
12042
  };
11968
12043
 
12044
+ interface CssFromDefnOption {
12045
+ indent?: string;
12046
+ inline?: boolean;
12047
+ }
11969
12048
  /**
11970
- * **cssFromDefinition**`(defn, [indent], [inline])`
12049
+ * **cssFromDefinition**`(defn, [opt])`
11971
12050
  *
11972
12051
  * converts a `CssDefinition` into a CSS string
11973
12052
  */
11974
- declare function cssFromDefinition<T extends CssDefinition>(defn: T, indent?: string, inline?: boolean): string;
12053
+ declare function cssFromDefinition<T extends CssDefinition, O extends CssFromDefnOption>(defn: T, opt?: O): string;
11975
12054
  declare function defineCss<T extends CssDefinition>(defn: T): {
11976
12055
  defn: T;
11977
12056
  } & (<S extends string>(selector?: S) => string);
@@ -15547,4 +15626,4 @@ declare function isVueRef(val: unknown): val is VueRef;
15547
15626
  */
15548
15627
  declare function asVueRef<T extends Narrowable>(value: T): VueRef<T>;
15549
15628
 
15550
- export { type AsClassSelector, type AsList, type BoxValue, type BoxedFnParams, type ConfigRestApi, type CssKeyframeCallback, type CssSelectorOptions, type CsvFormat, type DictionaryWithValueFilter, type DictionaryWithoutValueFilter, type DoesExtendTypeguard, type EndingWithTypeGuard, type EndpointGenerator, type EqualTo, type Finder, type FnParam, type FnParams, type GenParam, type GenParams, type GetEachOptions, type GetInference, type GetInferenceProps, type GetOptions, type Joiner, type KeyframeApi, type Mapper, type Rtn, ShapeApiImplementation, type SingletonClosure, type StartingWithTypeGuard, type StripSurroundConfigured, type SurroundWith, type ToKeyValueSort, type TokenContainerClosure, type TokenFunctionClosure, type TokenSetClosure, type TypeOfTypeGuard, type Unbox, type UndefinedArrayIsUnknown, type UnionClosure, type UrlMeta, type YouTubeMeta, addFnToProps, addPropsToFn, and, asApi, asArray, asChars, asDate, asEscapeFunction, asIsoDate, asOptionalParamFunction, asPhoneFormat, asRecord, asString, asStringLiteral, asType, asTypeToken, asVueRef, box, boxDictionaryValues, capitalize, cardType, choices, createConverter, createCssKeyframe, createCssSelector, createErrorCondition, createFifoQueue, createFixedLengthArray, createFnWithProps, createFnWithPropsExplicit, createLifoQueue, createMapper, createObjectMap, createTypeToken, cssColor, cssFromDefinition, csv, defineCss, defineObj, defineObject, defineObjectApi, defineTuple, doesExtend, endsWith, ensureLeading, ensureSurround, ensureTrailing, entries, errCondition, filter, filterEmpty, find, fnMeta, fromDefineObject, fromKeyValue, get, getDaysBetween, getEach, getPhoneCountryCode, getTailwindModifiers, getToday, getTokenKind, getTomorrow, getTypeSubtype, getUrlBase, getUrlDefaultPort, getUrlDynamics, getUrlPath, getUrlPort, getUrlProtocol, getUrlQueryParams, getUrlSource, getWeekNumber, getYesterday, getYouTubePageType, handleDoneFn, hasCountryCode, hasDefaultValue, hasIndexOf, hasKeys, hasOverlappingKeys, hasProtocol, hasProtocolPrefix, hasUrlPort, hasUrlQueryParameter, hasWhiteSpace, idLiteral, idTypeGuard, identity, ifArray, ifArrayPartial, ifBoolean, ifChar, ifContainer, ifDefined, ifFalse, ifFunction, ifHasKey, ifLength, ifLowercaseChar, ifNotNull, ifNull, ifNumber, ifObject, ifSameType, ifScalar, ifString, ifTrue, ifUndefined, ifUppercaseChar, indexOf, infer, intersect, intersection, ip6GroupExpansion, ip6Prefix, isAccelerationMetric, isAccelerationUom, isAlpha, isAmazonUrl, isAmericanExpress, isApi, isApiSurface, isAppleUrl, isAreaMetric, isAreaUom, isArray, isArrayToken, isAtomicKind, isAtomicToken, isAustralianNewsUrl, isBelgiumNewsUrl, isBestBuyUrl, isBitbucketUrl, isBoolean, isBooleanLike, isBox, isCanadianNewsUrl, isChineseNewsUrl, isCodeCommitUrl, isConstant, isContainer, isContainerToken, isCostCoUrl, isCountryAbbrev, isCountryCode2, isCountryCode3, isCountryName, isCreditCard, isCssAspectRatio, isCsv, isCurrentMetric, isCurrentUom, isCvsUrl, isDanishNewsUrl, isDate, isDefineObject, isDefined, isDellUrl, isDistanceMetric, isDistanceUom, isDomainName, isDoneFn, isDutchNewsUrl, isEbayUrl, isEmail, isEmpty, isEnergyMetric, isEnergyUom, isEqual, isErrorCondition, isEscapeFunction, isEtsyUrl, isFalse, isFalsy, isFnBasedKind, isFnBasedToken, isFnWithParams, isFrenchNewsUrl, isFrequencyMetric, isFrequencyUom, isFunction, isGermanNewsUrl, isGithubIssueUrl, isGithubIssuesListUrl, isGithubOrgUrl, isGithubProjectUrl, isGithubProjectsListUrl, isGithubReleaseTagUrl, isGithubReleasesListUrl, isGithubRepoReleaseTagUrl, isGithubRepoReleasesUrl, isGithubRepoUrl, isGithubUrl, isHexadecimal, isHmUrl, isHomeDepotUrl, isHtmlElement, isIkeaUrl, isIndexable, isIndianNewsUrl, isInlineSvg, isIp4Address, isIp6Address, isIpAddress, isIso3166Alpha2, isIso3166Alpha3, isIso3166CountryCode, isIso3166CountryName, isIsoDate, isIsoDateTime, isIsoExplicitDate, isIsoExplicitTime, isIsoImplicitDate, isIsoImplicitTime, isIsoTime, isIsoYear, isItalianNewsUrl, isJapaneseNewsUrl, isKrogersUrl, isLeapYear, isLength, isLikeRegExp, isLowesUrl, isLuminosityMetric, isLuminosityUom, isLuxonDateTime, isMacysUrl, isMap, isMapToken, isMassMetric, isMassUom, isMastercard, isMetric, isMexicanNewsUrl, isMoment, isNarrowableObject, isNever, isNewsUrl, isNikeUrl, isNorwegianNewsUrl, isNotEmpty, isNotNull, isNothing, isNull, isNumber, isNumberLike, isNumericArray, isNumericString, isObject, isObjectToken, isOptionalParamFunction, isPhoneNumber, isPowerMetric, isPowerUom, isPressureMetric, isPressureUom, isProtocol, isProtocolPrefix, isReadonlyArray, isRecordToken, isRef, isRegExp, isRepoSource, isRepoUrl, isResistance, isResistanceUom, isRetailUrl, isSameTypeOf, isScalar, isSemanticVersion, isSet, isSetBasedKind, isSetBasedToken, isSetContainer, isSetToken, isShape, isShapeCallback, isSimpleContainerToken, isSimpleContainerTokenTuple, isSimpleScalarToken, isSimpleScalarTokenTuple, isSimpleToken, isSimpleTokenTuple, isSingletonKind, isSingletonToken, isSocialMediaProfileUrl, isSocialMediaUrl, isSouthKoreanNewsUrl, isSpanishNewsUrl, isSpecificConstant, isSpeedMetric, isSpeedUom, isString, isStringArray, isSwissNewsUrl, isSymbol, isTailwindColor, isTailwindColorClass, isTailwindColorName, isTailwindColorTarget, isTailwindColorWithLuminosity, isTailwindColorWithLuminosityAndOpacity, isTailwindModifier, isTargetUrl, isTemperatureMetric, isTemperatureUom, isThenable, isThisMonth, isThisWeek, isThisYear, isTimeMetric, isTimeUom, isToday, isTomorrow, isTrimable, isTrue, isTruthy, isTuple, isTupleToken, isTurkishNewsUrl, isTypeOf, isTypeSubtype, isTypeToken, isTypeTokenKind, isTypeTuple, isUkNewsUrl, isUndefined, isUnset, isUom, isUri, isUrl, isUrlPath, isUrlSource, isUsNewsUrl, isUsPhoneNumber, isUsStateAbbreviation, isUsStateName, isVariable, isVisa, isVisaMastercard, isVoltageMetric, isVoltageUom, isVolumeMetric, isVolumeUom, isVueRef, isWalgreensUrl, isWalmartUrl, isWayfairUrl, isWholeFoodsUrl, isYesterday, isYouTubeCreatorUrl, isYouTubeFeedHistoryUrl, isYouTubeFeedUrl, isYouTubePlaylistUrl, isYouTubePlaylistsUrl, isYouTubeShareUrl, isYouTubeSubscriptionsUrl, isYouTubeTrendingUrl, isYouTubeUrl, isYouTubeVideoUrl, isYouTubeVideosInPlaylist, isZaraUrl, isZipCode, isZipCode5, isZipPlus4, joinWith, jsonValue, jsonValues, keysOf, kindLiteral, last, list, literal, logicalReturns, lookupCountryAlpha2, lookupCountryAlpha3, lookupCountryCode, lookupCountryName, lowercase, maybePhoneNumber, mergeObjects, mergeScalars, mergeTuples, nameLiteral, narrow, narrowObjectTo, narrowObjectToType, never, objectToApi, objectValues, omit, optional, optionalOrNull, or, orNull, pathJoin, pluralize, removePhoneCountryCode, removeTailwindModifiers, removeUrlProtocol, result, retain, retainAfter, retainAfterInclusive, retainChars, retainUntil, retainUntilInclusive, retainWhile, reverse, rightWhitespace, shape, sharedKeys, shift, simpleContainerToken, simpleContainerTokenToTypeToken, simpleContainerType, simpleScalarToken, simpleScalarTokenToTypeToken, simpleScalarType, simpleToken, simpleType, simpleUnionTokenToTypeToken, slice, split, startsWith, stripAfter, stripBefore, stripChars, stripLeading, stripParenthesis, stripSurround, stripTrailing, stripUntil, stripWhile, surround, takeNumericCharacters, takeProp, toCamelCase, toKebabCase, toKeyValue, toNumber, toNumericArray, toPascalCase, toSnakeCase, toString, toUppercase, trim, trimEnd, trimLeft, trimRight, trimStart, truncate, tuple, twColor, unbox, uncapitalize, union, unionize, unique, uniqueKeys, unset, uppercase, urlMeta, valuesOf, widen, withDefaults, withKeys, withValue, withoutKeys, withoutValue, wrapFn, youtubeEmbed, youtubeMeta };
15629
+ export { type AsClassSelector, type AsList, type BoxValue, type BoxedFnParams, type ConfigRestApi, type CssFromDefnOption, type CssKeyframeCallback, type CssSelectorOptions, type CsvFormat, type DictionaryWithValueFilter, type DictionaryWithoutValueFilter, type DoesExtendTypeguard, type EndingWithTypeGuard, type EndpointGenerator, type EqualTo, type Finder, type FnParam, type FnParams, type GenParam, type GenParams, type GetEachOptions, type GetInference, type GetInferenceProps, type GetOptions, type Joiner, type KeyframeApi, type Mapper, type Rtn, ShapeApiImplementation, type SingletonClosure, type StartingWithTypeGuard, type StripSurroundConfigured, type SurroundWith, type ToKeyValueSort, type TokenContainerClosure, type TokenFunctionClosure, type TokenSetClosure, type TypeOfTypeGuard, type Unbox, type UndefinedArrayIsUnknown, type UnionClosure, type UrlMeta, type YouTubeMeta, addFnToProps, addPropsToFn, and, asApi, asArray, asChars, asDate, asEscapeFunction, asIsoDate, asOptionalParamFunction, asPhoneFormat, asRecord, asString, asStringLiteral, asType, asTypeToken, asVueRef, box, boxDictionaryValues, capitalize, cardType, choices, createConverter, createCssKeyframe, createCssSelector, createErrorCondition, createFifoQueue, createFixedLengthArray, createFnWithProps, createFnWithPropsExplicit, createLifoQueue, createMapper, createObjectMap, createTypeToken, cssColor, cssFromDefinition, csv, defineCss, defineObj, defineObject, defineObjectApi, defineTuple, doesExtend, endsWith, ensureLeading, ensureSurround, ensureTrailing, entries, errCondition, filter, filterEmpty, find, fnMeta, fromDefineObject, fromKeyValue, get, getDaysBetween, getEach, getPhoneCountryCode, getTailwindModifiers, getToday, getTokenKind, getTomorrow, getTypeSubtype, getUrlBase, getUrlDefaultPort, getUrlDynamics, getUrlPath, getUrlPort, getUrlProtocol, getUrlQueryParams, getUrlSource, getWeekNumber, getYesterday, getYouTubePageType, handleDoneFn, hasCountryCode, hasDefaultValue, hasIndexOf, hasKeys, hasOverlappingKeys, hasProtocol, hasProtocolPrefix, hasUrlPort, hasUrlQueryParameter, hasWhiteSpace, idLiteral, idTypeGuard, identity, ifArray, ifArrayPartial, ifBoolean, ifChar, ifContainer, ifDefined, ifFalse, ifFunction, ifHasKey, ifLength, ifLowercaseChar, ifNotNull, ifNull, ifNumber, ifObject, ifSameType, ifScalar, ifString, ifTrue, ifUndefined, ifUppercaseChar, indexOf, infer, intersect, intersection, ip6GroupExpansion, ip6Prefix, isAccelerationMetric, isAccelerationUom, isAlpha, isAmazonUrl, isAmericanExpress, isApi, isApiSurface, isAppleUrl, isAreaMetric, isAreaUom, isArray, isArrayToken, isAtomicKind, isAtomicToken, isAustralianNewsUrl, isBelgiumNewsUrl, isBestBuyUrl, isBitbucketUrl, isBoolean, isBooleanLike, isBox, isCanadianNewsUrl, isChineseNewsUrl, isCodeCommitUrl, isConstant, isContainer, isContainerToken, isCostCoUrl, isCountryAbbrev, isCountryCode2, isCountryCode3, isCountryName, isCreditCard, isCssAspectRatio, isCsv, isCurrentMetric, isCurrentUom, isCvsUrl, isDanishNewsUrl, isDate, isDefineObject, isDefined, isDellUrl, isDistanceMetric, isDistanceUom, isDomainName, isDoneFn, isDutchNewsUrl, isEbayUrl, isEmail, isEmpty, isEnergyMetric, isEnergyUom, isEqual, isErrorCondition, isEscapeFunction, isEtsyUrl, isFalse, isFalsy, isFnBasedKind, isFnBasedToken, isFnWithParams, isFrenchNewsUrl, isFrequencyMetric, isFrequencyUom, isFunction, isGermanNewsUrl, isGithubIssueUrl, isGithubIssuesListUrl, isGithubOrgUrl, isGithubProjectUrl, isGithubProjectsListUrl, isGithubReleaseTagUrl, isGithubReleasesListUrl, isGithubRepoReleaseTagUrl, isGithubRepoReleasesUrl, isGithubRepoUrl, isGithubUrl, isHexadecimal, isHmUrl, isHomeDepotUrl, isHtmlElement, isIkeaUrl, isIndexable, isIndianNewsUrl, isInlineSvg, isIp4Address, isIp6Address, isIpAddress, isIso3166Alpha2, isIso3166Alpha3, isIso3166CountryCode, isIso3166CountryName, isIsoDate, isIsoDateTime, isIsoExplicitDate, isIsoExplicitTime, isIsoImplicitDate, isIsoImplicitTime, isIsoTime, isIsoYear, isItalianNewsUrl, isJapaneseNewsUrl, isKrogersUrl, isLeapYear, isLength, isLikeRegExp, isLowesUrl, isLuminosityMetric, isLuminosityUom, isLuxonDateTime, isMacysUrl, isMap, isMapToken, isMassMetric, isMassUom, isMastercard, isMetric, isMexicanNewsUrl, isMoment, isNarrowableObject, isNever, isNewsUrl, isNikeUrl, isNorwegianNewsUrl, isNotEmpty, isNotNull, isNothing, isNull, isNumber, isNumberLike, isNumericArray, isNumericString, isObject, isObjectToken, isOptionalParamFunction, isPhoneNumber, isPowerMetric, isPowerUom, isPressureMetric, isPressureUom, isProtocol, isProtocolPrefix, isReadonlyArray, isRecordToken, isRef, isRegExp, isRepoSource, isRepoUrl, isResistance, isResistanceUom, isRetailUrl, isSameTypeOf, isScalar, isSemanticVersion, isSet, isSetBasedKind, isSetBasedToken, isSetContainer, isSetToken, isShape, isShapeCallback, isSimpleContainerToken, isSimpleContainerTokenTuple, isSimpleScalarToken, isSimpleScalarTokenTuple, isSimpleToken, isSimpleTokenTuple, isSingletonKind, isSingletonToken, isSocialMediaProfileUrl, isSocialMediaUrl, isSouthKoreanNewsUrl, isSpanishNewsUrl, isSpecificConstant, isSpeedMetric, isSpeedUom, isString, isStringArray, isSwissNewsUrl, isSymbol, isTailwindColor, isTailwindColorClass, isTailwindColorName, isTailwindColorTarget, isTailwindColorWithLuminosity, isTailwindColorWithLuminosityAndOpacity, isTailwindModifier, isTargetUrl, isTemperatureMetric, isTemperatureUom, isThenable, isThisMonth, isThisWeek, isThisYear, isTimeMetric, isTimeUom, isToday, isTomorrow, isTrimable, isTrue, isTruthy, isTuple, isTupleToken, isTurkishNewsUrl, isTypeOf, isTypeSubtype, isTypeToken, isTypeTokenKind, isTypeTuple, isUkNewsUrl, isUndefined, isUnset, isUom, isUri, isUrl, isUrlPath, isUrlSource, isUsNewsUrl, isUsPhoneNumber, isUsStateAbbreviation, isUsStateName, isVariable, isVisa, isVisaMastercard, isVoltageMetric, isVoltageUom, isVolumeMetric, isVolumeUom, isVueRef, isWalgreensUrl, isWalmartUrl, isWayfairUrl, isWholeFoodsUrl, isYesterday, isYouTubeCreatorUrl, isYouTubeFeedHistoryUrl, isYouTubeFeedUrl, isYouTubePlaylistUrl, isYouTubePlaylistsUrl, isYouTubeShareUrl, isYouTubeSubscriptionsUrl, isYouTubeTrendingUrl, isYouTubeUrl, isYouTubeVideoUrl, isYouTubeVideosInPlaylist, isZaraUrl, isZipCode, isZipCode5, isZipPlus4, joinWith, jsonValue, jsonValues, keysOf, kindLiteral, last, list, literal, logicalReturns, lookupCountryAlpha2, lookupCountryAlpha3, lookupCountryCode, lookupCountryName, lowercase, maybePhoneNumber, mergeObjects, mergeScalars, mergeTuples, nameLiteral, narrow, narrowObjectTo, narrowObjectToType, never, objectToApi, objectValues, omit, optional, optionalOrNull, or, orNull, pathJoin, pluralize, removePhoneCountryCode, removeTailwindModifiers, removeUrlProtocol, result, retain, retainAfter, retainAfterInclusive, retainChars, retainUntil, retainUntilInclusive, retainWhile, reverse, rightWhitespace, shape, sharedKeys, shift, simpleContainerToken, simpleContainerTokenToTypeToken, simpleContainerType, simpleScalarToken, simpleScalarTokenToTypeToken, simpleScalarType, simpleToken, simpleType, simpleUnionTokenToTypeToken, slice, split, startsWith, stripAfter, stripBefore, stripChars, stripLeading, stripParenthesis, stripSurround, stripTrailing, stripUntil, stripWhile, surround, takeNumericCharacters, takeProp, toCamelCase, toKebabCase, toKeyValue, toNumber, toNumericArray, toPascalCase, toSnakeCase, toString, toUppercase, trim, trimEnd, trimLeft, trimRight, trimStart, truncate, tuple, twColor, unbox, uncapitalize, union, unionize, unique, uniqueKeys, unset, uppercase, urlMeta, valuesOf, widen, withDefaults, withKeys, withValue, withoutKeys, withoutValue, wrapFn, youtubeEmbed, youtubeMeta };
@@ -2192,15 +2192,17 @@ ${frameToCss(frames)}
2192
2192
  };
2193
2193
  }
2194
2194
 
2195
- // src/css/defineCss.ts
2196
- function cssFromDefinition(defn, indent = "", inline = false) {
2195
+ // src/css/cssFromDefinition.ts
2196
+ function cssFromDefinition(defn, opt) {
2197
+ const inline = isDefined(opt?.inline) ? opt.inline : true;
2198
+ const indent = isString(opt?.indent) ? opt.indent : "";
2197
2199
  const nextDefn = inline ? " " : "\n";
2198
- return Object.keys(defn).map((key) => `${indent}${key}: ${ensureTrailing(defn[key], ";")}${nextDefn}`).join("");
2200
+ return Object.keys(defn).map((key) => `${indent}${key}: ${ensureTrailing(defn[key], ";")}`).join(nextDefn);
2199
2201
  }
2200
2202
  function defineCss(defn) {
2201
2203
  const fn2 = (selector) => {
2202
2204
  return selector ? `${selector} {
2203
- ${cssFromDefinition(defn, " ")}}
2205
+ ${cssFromDefinition(defn, { indent: " " })}}
2204
2206
  ` : cssFromDefinition(defn);
2205
2207
  };
2206
2208
  return createFnWithProps(