From 79cef7f863c56c1e53ed1390683aa6f77130c480 Mon Sep 17 00:00:00 2001 From: dkirchhof Date: Sat, 7 Mar 2026 11:53:45 +0100 Subject: [PATCH 1/3] delete jsxdom and jsxdomstyle and remove from artifacts --- packages/@rescript/runtime/JsxDOM.res | 622 ------- packages/@rescript/runtime/JsxDOMStyle.res | 1834 -------------------- packages/artifacts.json | 14 +- 3 files changed, 1 insertion(+), 2469 deletions(-) delete mode 100644 packages/@rescript/runtime/JsxDOM.res delete mode 100644 packages/@rescript/runtime/JsxDOMStyle.res diff --git a/packages/@rescript/runtime/JsxDOM.res b/packages/@rescript/runtime/JsxDOM.res deleted file mode 100644 index 33f1d474eb..0000000000 --- a/packages/@rescript/runtime/JsxDOM.res +++ /dev/null @@ -1,622 +0,0 @@ -/* Copyright (C) 2015-2016 Bloomberg Finance L.P. - * Copyright (C) 2017- Hongbo Zhang, Authors of ReScript - * - * SPDX-License-Identifier: MIT - */ - -type style = JsxDOMStyle.t -type domRef -/** - [Read more on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/popover) -*/ -type popover = | @as("auto") Auto | @as("manual") Manual | @as("hint") Hint -/** - [Read more on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#popovertargetaction) -*/ -type popoverTargetAction = | @as("toggle") Toggle | @as("show") Show | @as("hide") Hide - -/* - This list isn't exhaustive. We'll add more as we go. -*/ -type domProps = { - key?: string, - children?: Jsx.element, - ref?: domRef, - // https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#allow - allow?: string, - /* accessibility */ - /* https://www.w3.org/TR/wai-aria-1.1/ */ - /* https://accessibilityresources.org/ is a great resource for these */ - @as("aria-current") - ariaCurrent?: [#page | #step | #location | #date | #time | #"true" | #"false"], - @as("aria-details") - ariaDetails?: string, - @as("aria-disabled") - ariaDisabled?: bool, - @as("aria-hidden") - ariaHidden?: bool, - @as("aria-invalid") ariaInvalid?: [#grammar | #"false" | #spelling | #"true"], - @as("aria-keyshortcuts") - ariaKeyshortcuts?: string, - @as("aria-label") - ariaLabel?: string, - @as("aria-roledescription") - ariaRoledescription?: string, - /* Widget Attributes */ - @as("aria-autocomplete") ariaAutocomplete?: [#inline | #list | #both | #none], - /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */ - @as("aria-checked") - ariaChecked?: [#"true" | #"false" | #mixed], - @as("aria-expanded") - ariaExpanded?: bool, - @as("aria-haspopup") - ariaHaspopup?: [#menu | #listbox | #tree | #grid | #dialog | #"true" | #"false"], - @as("aria-level") - ariaLevel?: int, - @as("aria-modal") - ariaModal?: bool, - @as("aria-multiline") - ariaMultiline?: bool, - @as("aria-multiselectable") - ariaMultiselectable?: bool, - @as("aria-orientation") ariaOrientation?: [#horizontal | #vertical | #undefined], - @as("aria-placeholder") - ariaPlaceholder?: string, - /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */ - @as("aria-pressed") ariaPressed?: [#"true" | #"false" | #mixed], - @as("aria-readonly") - ariaReadonly?: bool, - @as("aria-required") - ariaRequired?: bool, - @as("aria-selected") - ariaSelected?: bool, - @as("aria-sort") - ariaSort?: string, - @as("aria-valuemax") - ariaValuemax?: float, - @as("aria-valuemin") - ariaValuemin?: float, - @as("aria-valuenow") - ariaValuenow?: float, - @as("aria-valuetext") - ariaValuetext?: string, - /* Live Region Attributes */ - @as("aria-atomic") - ariaAtomic?: bool, - @as("aria-busy") - ariaBusy?: bool, - @as("aria-live") ariaLive?: [#off | #polite | #assertive | #rude], - @as("aria-relevant") - ariaRelevant?: string, - /* Drag-and-Drop Attributes */ - @as("aria-dropeffect") ariaDropeffect?: [#copy | #move | #link | #execute | #popup | #none], - @as("aria-grabbed") - ariaGrabbed?: bool, - /* Relationship Attributes */ - @as("aria-activedescendant") - ariaActivedescendant?: string, - @as("aria-colcount") - ariaColcount?: int, - @as("aria-colindex") - ariaColindex?: int, - @as("aria-colspan") - ariaColspan?: int, - @as("aria-controls") - ariaControls?: string, - @as("aria-describedby") - ariaDescribedby?: string, - @as("aria-errormessage") - ariaErrormessage?: string, - @as("aria-flowto") - ariaFlowto?: string, - @as("aria-labelledby") - ariaLabelledby?: string, - @as("aria-owns") - ariaOwns?: string, - @as("aria-posinset") - ariaPosinset?: int, - @as("aria-rowcount") - ariaRowcount?: int, - @as("aria-rowindex") - ariaRowindex?: int, - @as("aria-rowspan") - ariaRowspan?: int, - @as("aria-setsize") - ariaSetsize?: int, - /* react textarea/input */ - defaultChecked?: bool, - defaultValue?: string, - /* global html attributes */ - accessKey?: string, - capture?: [#user | #environment], - className?: string /* substitute for "class" */, - contentEditable?: bool, - contextMenu?: string, - @as("data-testid") dataTestId?: string, - dir?: string /* "ltr", "rtl" or "auto" */, - draggable?: bool, - hidden?: bool, - id?: string, - inert?: bool, - lang?: string, - popover?: popover, - popoverTarget?: string, - popoverTargetAction?: popoverTargetAction, - role?: string /* ARIA role */, - style?: style, - spellCheck?: bool, - tabIndex?: int, - title?: string, - /* html5 microdata */ - itemID?: string, - itemProp?: string, - itemRef?: string, - itemScope?: bool, - itemType?: string /* uri */, - /* tag-specific html attributes */ - accept?: string, - acceptCharset?: string, - action?: string /* uri */, - allowFullScreen?: bool, - alt?: string, - @as("as") - as_?: string, - async?: bool, - autoComplete?: string /* has a fixed, but large-ish, set of possible values */, - autoCapitalize?: string /* Mobile Safari specific */, - autoFocus?: bool, - autoPlay?: bool, - challenge?: string, - charSet?: string, - checked?: bool, - cite?: string /* uri */, - crossOrigin?: string /* anonymous, use-credentials */, - cols?: int, - colSpan?: int, - content?: string, - controls?: bool, - coords?: string /* set of values specifying the coordinates of a region */, - data?: string /* uri */, - dateTime?: string /* "valid date string with optional time" */, - default?: bool, - defer?: bool, - disabled?: bool, - download?: string /* should really be either a boolean, signifying presence, or a string */, - encType?: string /* "application/x-www-form-urlencoded", "multipart/form-data" or "text/plain" */, - form?: string, - formAction?: string /* uri */, - formTarget?: string /* "_blank", "_self", etc. */, - formMethod?: string /* "post", "get", "put" */, - // https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#frameborder - frameBorder?: int /* "0", "1" */, - headers?: string, - height?: string /* in html5 this can only be a number, but in html4 it can ba a percentage as well */, - high?: int, - href?: string /* uri */, - hrefLang?: string, - htmlFor?: string /* substitute for "for" */, - httpEquiv?: string /* has a fixed set of possible values */, - icon?: string /* uri? */, - inputMode?: string /* "verbatim", "latin", "numeric", etc. */, - integrity?: string, - keyType?: string, - kind?: string /* has a fixed set of possible values */, - label?: string, - list?: string, - loading?: [#lazy | #eager], - loop?: bool, - low?: int, - manifest?: string /* uri */, - max?: string /* should be int or Date.t */, - maxLength?: int, - media?: string /* a valid media query */, - mediaGroup?: string, - method?: string /* "post" or "get" */, - min?: string, - minLength?: int, - multiple?: bool, - muted?: bool, - name?: string, - nonce?: string, - noValidate?: bool, - @as("open") - open_?: bool /* use this one. Previous one is deprecated */, - optimum?: int, - pattern?: string /* valid Js RegExp */, - placeholder?: string, - playsInline?: bool, - poster?: string /* uri */, - preload?: string /* "none", "metadata" or "auto" (and "" as a synonym for "auto") */, - radioGroup?: string, - readOnly?: bool, - rel?: string /* a space- or comma-separated (depending on the element) list of a fixed set of "link types" */, - required?: bool, - reversed?: bool, - rows?: int, - rowSpan?: int, - sandbox?: string /* has a fixed set of possible values */, - scope?: string /* has a fixed set of possible values */, - scoped?: bool, - scrolling?: string /* html4 only, "auto", "yes" or "no" */, - /* seamless - supported by React, but removed from the html5 spec */ - selected?: bool, - shape?: string, - size?: int, - sizes?: string, - span?: int, - src?: string /* uri */, - srcDoc?: string, - srcLang?: string, - srcSet?: string, - start?: int, - step?: float, - summary?: string /* deprecated */, - target?: string, - @as("type") - type_?: string /* has a fixed but large-ish set of possible values */ /* use this one. Previous one is deprecated */, - useMap?: string, - value?: string, - width?: string /* in html5 this can only be a number, but in html4 it can ba a percentage as well */, - wrap?: string /* "hard" or "soft" */, - /* Clipboard events */ - onCopy?: JsxEvent.Clipboard.t => unit, - onCut?: JsxEvent.Clipboard.t => unit, - onPaste?: JsxEvent.Clipboard.t => unit, - /* Composition events */ - onCompositionEnd?: JsxEvent.Composition.t => unit, - onCompositionStart?: JsxEvent.Composition.t => unit, - onCompositionUpdate?: JsxEvent.Composition.t => unit, - /* Keyboard events */ - onKeyDown?: JsxEvent.Keyboard.t => unit, - onKeyPress?: JsxEvent.Keyboard.t => unit, - onKeyUp?: JsxEvent.Keyboard.t => unit, - /* Focus events */ - onFocus?: JsxEvent.Focus.t => unit, - onBlur?: JsxEvent.Focus.t => unit, - /* Form events */ - onBeforeInput?: JsxEvent.Form.t => unit, - onChange?: JsxEvent.Form.t => unit, - onInput?: JsxEvent.Form.t => unit, - onReset?: JsxEvent.Form.t => unit, - onSubmit?: JsxEvent.Form.t => unit, - onInvalid?: JsxEvent.Form.t => unit, - /* Mouse events */ - onClick?: JsxEvent.Mouse.t => unit, - onContextMenu?: JsxEvent.Mouse.t => unit, - onDoubleClick?: JsxEvent.Mouse.t => unit, - onDrag?: JsxEvent.Mouse.t => unit, - onDragEnd?: JsxEvent.Mouse.t => unit, - onDragEnter?: JsxEvent.Mouse.t => unit, - onDragExit?: JsxEvent.Mouse.t => unit, - onDragLeave?: JsxEvent.Mouse.t => unit, - onDragOver?: JsxEvent.Mouse.t => unit, - onDragStart?: JsxEvent.Mouse.t => unit, - onDrop?: JsxEvent.Mouse.t => unit, - onMouseDown?: JsxEvent.Mouse.t => unit, - onMouseEnter?: JsxEvent.Mouse.t => unit, - onMouseLeave?: JsxEvent.Mouse.t => unit, - onMouseMove?: JsxEvent.Mouse.t => unit, - onMouseOut?: JsxEvent.Mouse.t => unit, - onMouseOver?: JsxEvent.Mouse.t => unit, - onMouseUp?: JsxEvent.Mouse.t => unit, - /* Selection events */ - onSelect?: JsxEvent.Selection.t => unit, - /* Touch events */ - onTouchCancel?: JsxEvent.Touch.t => unit, - onTouchEnd?: JsxEvent.Touch.t => unit, - onTouchMove?: JsxEvent.Touch.t => unit, - onTouchStart?: JsxEvent.Touch.t => unit, - // Pointer events - onPointerOver?: JsxEvent.Pointer.t => unit, - onPointerEnter?: JsxEvent.Pointer.t => unit, - onPointerDown?: JsxEvent.Pointer.t => unit, - onPointerMove?: JsxEvent.Pointer.t => unit, - onPointerUp?: JsxEvent.Pointer.t => unit, - onPointerCancel?: JsxEvent.Pointer.t => unit, - onPointerOut?: JsxEvent.Pointer.t => unit, - onPointerLeave?: JsxEvent.Pointer.t => unit, - onGotPointerCapture?: JsxEvent.Pointer.t => unit, - onLostPointerCapture?: JsxEvent.Pointer.t => unit, - /* UI events */ - onScroll?: JsxEvent.UI.t => unit, - /* Wheel events */ - onWheel?: JsxEvent.Wheel.t => unit, - /* Media events */ - onAbort?: JsxEvent.Media.t => unit, - onCanPlay?: JsxEvent.Media.t => unit, - onCanPlayThrough?: JsxEvent.Media.t => unit, - onDurationChange?: JsxEvent.Media.t => unit, - onEmptied?: JsxEvent.Media.t => unit, - onEncrypted?: JsxEvent.Media.t => unit, - onEnded?: JsxEvent.Media.t => unit, - onError?: JsxEvent.Media.t => unit, - onLoadedData?: JsxEvent.Media.t => unit, - onLoadedMetadata?: JsxEvent.Media.t => unit, - onLoadStart?: JsxEvent.Media.t => unit, - onPause?: JsxEvent.Media.t => unit, - onPlay?: JsxEvent.Media.t => unit, - onPlaying?: JsxEvent.Media.t => unit, - onProgress?: JsxEvent.Media.t => unit, - onRateChange?: JsxEvent.Media.t => unit, - onSeeked?: JsxEvent.Media.t => unit, - onSeeking?: JsxEvent.Media.t => unit, - onStalled?: JsxEvent.Media.t => unit, - onSuspend?: JsxEvent.Media.t => unit, - onTimeUpdate?: JsxEvent.Media.t => unit, - onVolumeChange?: JsxEvent.Media.t => unit, - onWaiting?: JsxEvent.Media.t => unit, - /* Image events */ - onLoad?: JsxEvent.Image.t => unit /* duplicate */ /* ~onError: ReactEvent.Image.t => unit=?, */, - /* Animation events */ - onAnimationStart?: JsxEvent.Animation.t => unit, - onAnimationEnd?: JsxEvent.Animation.t => unit, - onAnimationIteration?: JsxEvent.Animation.t => unit, - /* Transition events */ - onTransitionEnd?: JsxEvent.Transition.t => unit, - /* svg */ - accentHeight?: string, - accumulate?: string, - additive?: string, - alignmentBaseline?: string, - allowReorder?: string, - alphabetic?: string, - amplitude?: string, - arabicForm?: string, - ascent?: string, - attributeName?: string, - attributeType?: string, - autoReverse?: string, - azimuth?: string, - baseFrequency?: string, - baseProfile?: string, - baselineShift?: string, - bbox?: string, - begin?: string, - @deprecated("Please use begin") - begin_?: string, - bias?: string, - by?: string, - calcMode?: string, - capHeight?: string, - clip?: string, - clipPath?: string, - clipPathUnits?: string, - clipRule?: string, - colorInterpolation?: string, - colorInterpolationFilters?: string, - colorProfile?: string, - colorRendering?: string, - contentScriptType?: string, - contentStyleType?: string, - cursor?: string, - cx?: string, - cy?: string, - d?: string, - decelerate?: string, - descent?: string, - diffuseConstant?: string, - direction?: string, - display?: string, - divisor?: string, - dominantBaseline?: string, - dur?: string, - dx?: string, - dy?: string, - edgeMode?: string, - elevation?: string, - enableBackground?: string, - end?: string, - @deprecated("Please use end") - end_?: string, - exponent?: string, - externalResourcesRequired?: string, - fill?: string, - fillOpacity?: string, - fillRule?: string, - filter?: string, - filterRes?: string, - filterUnits?: string, - floodColor?: string, - floodOpacity?: string, - focusable?: string, - fontFamily?: string, - fontSize?: string, - fontSizeAdjust?: string, - fontStretch?: string, - fontStyle?: string, - fontVariant?: string, - fontWeight?: string, - fomat?: string, - from?: string, - fx?: string, - fy?: string, - g1?: string, - g2?: string, - glyphName?: string, - glyphOrientationHorizontal?: string, - glyphOrientationVertical?: string, - glyphRef?: string, - gradientTransform?: string, - gradientUnits?: string, - hanging?: string, - horizAdvX?: string, - horizOriginX?: string, - ideographic?: string, - imageRendering?: string, - @as("in") - in_?: string /* use this one. Previous one is deprecated */, - in2?: string, - intercept?: string, - k?: string, - k1?: string, - k2?: string, - k3?: string, - k4?: string, - kernelMatrix?: string, - kernelUnitLength?: string, - kerning?: string, - keyPoints?: string, - keySplines?: string, - keyTimes?: string, - lengthAdjust?: string, - letterSpacing?: string, - lightingColor?: string, - limitingConeAngle?: string, - local?: string, - markerEnd?: string, - markerHeight?: string, - markerMid?: string, - markerStart?: string, - markerUnits?: string, - markerWidth?: string, - mask?: string, - maskContentUnits?: string, - maskUnits?: string, - mathematical?: string, - mode?: string, - numOctaves?: string, - offset?: string, - opacity?: string, - operator?: string, - order?: string, - orient?: string, - orientation?: string, - origin?: string, - overflow?: string, - overflowX?: string, - overflowY?: string, - overlinePosition?: string, - overlineThickness?: string, - paintOrder?: string, - panose1?: string, - pathLength?: string, - patternContentUnits?: string, - patternTransform?: string, - patternUnits?: string, - pointerEvents?: string, - points?: string, - pointsAtX?: string, - pointsAtY?: string, - pointsAtZ?: string, - preserveAlpha?: string, - preserveAspectRatio?: string, - primitiveUnits?: string, - r?: string, - radius?: string, - // https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#referrerpolicy - referrerPolicy?: string, - refX?: string, - refY?: string, - renderingIntent?: string, - repeatCount?: string, - repeatDur?: string, - requiredExtensions?: string, - requiredFeatures?: string, - restart?: string, - result?: string, - rotate?: string, - rx?: string, - ry?: string, - scale?: string, - seed?: string, - shapeRendering?: string, - slope?: string, - slot?: string, - spacing?: string, - specularConstant?: string, - specularExponent?: string, - speed?: string, - spreadMethod?: string, - startOffset?: string, - stdDeviation?: string, - stemh?: string, - stemv?: string, - stitchTiles?: string, - stopColor?: string, - stopOpacity?: string, - strikethroughPosition?: string, - strikethroughThickness?: string, - string?: string, - stroke?: string, - strokeDasharray?: string, - strokeDashoffset?: string, - strokeLinecap?: string, - strokeLinejoin?: string, - strokeMiterlimit?: string, - strokeOpacity?: string, - strokeWidth?: string, - surfaceScale?: string, - systemLanguage?: string, - tableValues?: string, - targetX?: string, - targetY?: string, - textAnchor?: string, - textDecoration?: string, - textLength?: string, - textRendering?: string, - to?: string, - @deprecated("Please use to") - to_?: string, - transform?: string, - u1?: string, - u2?: string, - underlinePosition?: string, - underlineThickness?: string, - unicode?: string, - unicodeBidi?: string, - unicodeRange?: string, - unitsPerEm?: string, - vAlphabetic?: string, - vHanging?: string, - vIdeographic?: string, - vMathematical?: string, - values?: string, - vectorEffect?: string, - version?: string, - vertAdvX?: string, - vertAdvY?: string, - vertOriginX?: string, - vertOriginY?: string, - viewBox?: string, - viewTarget?: string, - visibility?: string, - /* width::string? => */ - widths?: string, - wordSpacing?: string, - writingMode?: string, - x?: string, - x1?: string, - x2?: string, - xChannelSelector?: string, - xHeight?: string, - xlinkActuate?: string, - xlinkArcrole?: string, - xlinkHref?: string, - xlinkRole?: string, - xlinkShow?: string, - xlinkTitle?: string, - xlinkType?: string, - xmlns?: string, - xmlnsXlink?: string, - xmlBase?: string, - xmlLang?: string, - xmlSpace?: string, - y?: string, - y1?: string, - y2?: string, - yChannelSelector?: string, - z?: string, - zoomAndPan?: string, - /* RDFa */ - about?: string, - datatype?: string, - inlist?: string, - prefix?: string, - property?: string, - resource?: string, - typeof?: string, - vocab?: string, - /* react-specific */ - dangerouslySetInnerHTML?: {"__html": string}, - suppressContentEditableWarning?: bool, -} diff --git a/packages/@rescript/runtime/JsxDOMStyle.res b/packages/@rescript/runtime/JsxDOMStyle.res deleted file mode 100644 index d41fe72b50..0000000000 --- a/packages/@rescript/runtime/JsxDOMStyle.res +++ /dev/null @@ -1,1834 +0,0 @@ -/* Copyright (C) 2015-2016 Bloomberg Finance L.P. - * Copyright (C) 2017- Hongbo Zhang, Authors of ReScript - * - * SPDX-License-Identifier: MIT - */ - -type t = { - /** - See [`accent-color`](https://developer.mozilla.org/docs/Web/CSS/accent-color) on MDN. - */ - accentColor?: string, - /** - See [`align-content`](https://developer.mozilla.org/docs/Web/CSS/align-content) on MDN. - */ - alignContent?: string, - /** - See [`align-items`](https://developer.mozilla.org/docs/Web/CSS/align-items) on MDN. - */ - alignItems?: string, - /** - See [`align-self`](https://developer.mozilla.org/docs/Web/CSS/align-self) on MDN. - */ - alignSelf?: string, - /** - See [`all`](https://developer.mozilla.org/docs/Web/CSS/all) on MDN. - */ - all?: string, - /** - See [`animation`](https://developer.mozilla.org/docs/Web/CSS/animation) on MDN. - */ - animation?: string, - /** - See [`animation-composition`](https://developer.mozilla.org/docs/Web/CSS/animation-composition) on MDN. - */ - animationComposition?: string, - /** - See [`animation-delay`](https://developer.mozilla.org/docs/Web/CSS/animation-delay) on MDN. - */ - animationDelay?: string, - /** - See [`animation-direction`](https://developer.mozilla.org/docs/Web/CSS/animation-direction) on MDN. - */ - animationDirection?: string, - /** - See [`animation-duration`](https://developer.mozilla.org/docs/Web/CSS/animation-duration) on MDN. - */ - animationDuration?: string, - /** - See [`animation-fill-mode`](https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode) on MDN. - */ - animationFillMode?: string, - /** - See [`animation-iteration-count`](https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count) on MDN. - */ - animationIterationCount?: string, - /** - See [`animation-name`](https://developer.mozilla.org/docs/Web/CSS/animation-name) on MDN. - */ - animationName?: string, - /** - See [`animation-play-state`](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) on MDN. - */ - animationPlayState?: string, - /** - See [`animation-timing-function`](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) on MDN. - */ - animationTimingFunction?: string, - /** - See [`appearance`](https://developer.mozilla.org/docs/Web/CSS/appearance) on MDN. - */ - appearance?: string, - /** - See [`aspect-ratio`](https://developer.mozilla.org/docs/Web/CSS/aspect-ratio) on MDN. - */ - aspectRatio?: string, - /** - See [`backdrop-filter`](https://developer.mozilla.org/docs/Web/CSS/backdrop-filter) on MDN. - */ - backdropFilter?: string, - /** - See [`backface-visibility`](https://developer.mozilla.org/docs/Web/CSS/backface-visibility) on MDN. - */ - backfaceVisibility?: string, - /** - See [`background`](https://developer.mozilla.org/docs/Web/CSS/background) on MDN. - */ - background?: string, - /** - See [`background-attachment`](https://developer.mozilla.org/docs/Web/CSS/background-attachment) on MDN. - */ - backgroundAttachment?: string, - /** - See [`background-blend-mode`](https://developer.mozilla.org/docs/Web/CSS/background-blend-mode) on MDN. - */ - backgroundBlendMode?: string, - /** - See [`background-clip`](https://developer.mozilla.org/docs/Web/CSS/background-clip) on MDN. - */ - backgroundClip?: string, - /** - See [`background-color`](https://developer.mozilla.org/docs/Web/CSS/background-color) on MDN. - */ - backgroundColor?: string, - /** - See [`background-image`](https://developer.mozilla.org/docs/Web/CSS/background-image) on MDN. - */ - backgroundImage?: string, - /** - See [`background-origin`](https://developer.mozilla.org/docs/Web/CSS/background-origin) on MDN. - */ - backgroundOrigin?: string, - /** - See [`background-position`](https://developer.mozilla.org/docs/Web/CSS/background-position) on MDN. - */ - backgroundPosition?: string, - /** - See [`background-position-x`](https://developer.mozilla.org/docs/Web/CSS/background-position-x) on MDN. - */ - backgroundPositionX?: string, - /** - See [`background-position-y`](https://developer.mozilla.org/docs/Web/CSS/background-position-y) on MDN. - */ - backgroundPositionY?: string, - /** - See [`background-repeat`](https://developer.mozilla.org/docs/Web/CSS/background-repeat) on MDN. - */ - backgroundRepeat?: string, - /** - See [`background-size`](https://developer.mozilla.org/docs/Web/CSS/background-size) on MDN. - */ - backgroundSize?: string, - /** - See [`block-size`](https://developer.mozilla.org/docs/Web/CSS/block-size) on MDN. - */ - blockSize?: string, - /** - See [`border`](https://developer.mozilla.org/docs/Web/CSS/border) on MDN. - */ - border?: string, - /** - See [`border-block`](https://developer.mozilla.org/docs/Web/CSS/border-block) on MDN. - */ - borderBlock?: string, - /** - See [`border-block-color`](https://developer.mozilla.org/docs/Web/CSS/border-block-color) on MDN. - */ - borderBlockColor?: string, - /** - See [`border-block-end`](https://developer.mozilla.org/docs/Web/CSS/border-block-end) on MDN. - */ - borderBlockEnd?: string, - /** - See [`border-block-end-color`](https://developer.mozilla.org/docs/Web/CSS/border-block-end-color) on MDN. - */ - borderBlockEndColor?: string, - /** - See [`border-block-end-style`](https://developer.mozilla.org/docs/Web/CSS/border-block-end-style) on MDN. - */ - borderBlockEndStyle?: string, - /** - See [`border-block-end-width`](https://developer.mozilla.org/docs/Web/CSS/border-block-end-width) on MDN. - */ - borderBlockEndWidth?: string, - /** - See [`border-block-start`](https://developer.mozilla.org/docs/Web/CSS/border-block-start) on MDN. - */ - borderBlockStart?: string, - /** - See [`border-block-start-color`](https://developer.mozilla.org/docs/Web/CSS/border-block-start-color) on MDN. - */ - borderBlockStartColor?: string, - /** - See [`border-block-start-style`](https://developer.mozilla.org/docs/Web/CSS/border-block-start-style) on MDN. - */ - borderBlockStartStyle?: string, - /** - See [`border-block-start-width`](https://developer.mozilla.org/docs/Web/CSS/border-block-start-width) on MDN. - */ - borderBlockStartWidth?: string, - /** - See [`border-block-style`](https://developer.mozilla.org/docs/Web/CSS/border-block-style) on MDN. - */ - borderBlockStyle?: string, - /** - See [`border-block-width`](https://developer.mozilla.org/docs/Web/CSS/border-block-width) on MDN. - */ - borderBlockWidth?: string, - /** - See [`border-bottom`](https://developer.mozilla.org/docs/Web/CSS/border-bottom) on MDN. - */ - borderBottom?: string, - /** - See [`border-bottom-color`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-color) on MDN. - */ - borderBottomColor?: string, - /** - See [`border-bottom-left-radius`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius) on MDN. - */ - borderBottomLeftRadius?: string, - /** - See [`border-bottom-right-radius`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius) on MDN. - */ - borderBottomRightRadius?: string, - /** - See [`border-bottom-style`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-style) on MDN. - */ - borderBottomStyle?: string, - /** - See [`border-bottom-width`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-width) on MDN. - */ - borderBottomWidth?: string, - /** - See [`border-collapse`](https://developer.mozilla.org/docs/Web/CSS/border-collapse) on MDN. - */ - borderCollapse?: string, - /** - See [`border-color`](https://developer.mozilla.org/docs/Web/CSS/border-color) on MDN. - */ - borderColor?: string, - /** - See [`border-end-end-radius`](https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius) on MDN. - */ - borderEndEndRadius?: string, - /** - See [`border-end-start-radius`](https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius) on MDN. - */ - borderEndStartRadius?: string, - /** - See [`border-image`](https://developer.mozilla.org/docs/Web/CSS/border-image) on MDN. - */ - borderImage?: string, - /** - See [`border-image-outset`](https://developer.mozilla.org/docs/Web/CSS/border-image-outset) on MDN. - */ - borderImageOutset?: string, - /** - See [`border-image-repeat`](https://developer.mozilla.org/docs/Web/CSS/border-image-repeat) on MDN. - */ - borderImageRepeat?: string, - /** - See [`border-image-slice`](https://developer.mozilla.org/docs/Web/CSS/border-image-slice) on MDN. - */ - borderImageSlice?: string, - /** - See [`border-image-source`](https://developer.mozilla.org/docs/Web/CSS/border-image-source) on MDN. - */ - borderImageSource?: string, - /** - See [`border-image-width`](https://developer.mozilla.org/docs/Web/CSS/border-image-width) on MDN. - */ - borderImageWidth?: string, - /** - See [`border-inline`](https://developer.mozilla.org/docs/Web/CSS/border-inline) on MDN. - */ - borderInline?: string, - /** - See [`border-inline-color`](https://developer.mozilla.org/docs/Web/CSS/border-inline-color) on MDN. - */ - borderInlineColor?: string, - /** - See [`border-inline-end`](https://developer.mozilla.org/docs/Web/CSS/border-inline-end) on MDN. - */ - borderInlineEnd?: string, - /** - See [`border-inline-end-color`](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color) on MDN. - */ - borderInlineEndColor?: string, - /** - See [`border-inline-end-style`](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style) on MDN. - */ - borderInlineEndStyle?: string, - /** - See [`border-inline-end-width`](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width) on MDN. - */ - borderInlineEndWidth?: string, - /** - See [`border-inline-start`](https://developer.mozilla.org/docs/Web/CSS/border-inline-start) on MDN. - */ - borderInlineStart?: string, - /** - See [`border-inline-start-color`](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color) on MDN. - */ - borderInlineStartColor?: string, - /** - See [`border-inline-start-style`](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style) on MDN. - */ - borderInlineStartStyle?: string, - /** - See [`border-inline-start-width`](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width) on MDN. - */ - borderInlineStartWidth?: string, - /** - See [`border-inline-style`](https://developer.mozilla.org/docs/Web/CSS/border-inline-style) on MDN. - */ - borderInlineStyle?: string, - /** - See [`border-inline-width`](https://developer.mozilla.org/docs/Web/CSS/border-inline-width) on MDN. - */ - borderInlineWidth?: string, - /** - See [`border-left`](https://developer.mozilla.org/docs/Web/CSS/border-left) on MDN. - */ - borderLeft?: string, - /** - See [`border-left-color`](https://developer.mozilla.org/docs/Web/CSS/border-left-color) on MDN. - */ - borderLeftColor?: string, - /** - See [`border-left-style`](https://developer.mozilla.org/docs/Web/CSS/border-left-style) on MDN. - */ - borderLeftStyle?: string, - /** - See [`border-left-width`](https://developer.mozilla.org/docs/Web/CSS/border-left-width) on MDN. - */ - borderLeftWidth?: string, - /** - See [`border-radius`](https://developer.mozilla.org/docs/Web/CSS/border-radius) on MDN. - */ - borderRadius?: string, - /** - See [`border-right`](https://developer.mozilla.org/docs/Web/CSS/border-right) on MDN. - */ - borderRight?: string, - /** - See [`border-right-color`](https://developer.mozilla.org/docs/Web/CSS/border-right-color) on MDN. - */ - borderRightColor?: string, - /** - See [`border-right-style`](https://developer.mozilla.org/docs/Web/CSS/border-right-style) on MDN. - */ - borderRightStyle?: string, - /** - See [`border-right-width`](https://developer.mozilla.org/docs/Web/CSS/border-right-width) on MDN. - */ - borderRightWidth?: string, - /** - See [`border-spacing`](https://developer.mozilla.org/docs/Web/CSS/border-spacing) on MDN. - */ - borderSpacing?: string, - /** - See [`border-start-end-radius`](https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius) on MDN. - */ - borderStartEndRadius?: string, - /** - See [`border-start-start-radius`](https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius) on MDN. - */ - borderStartStartRadius?: string, - /** - See [`border-style`](https://developer.mozilla.org/docs/Web/CSS/border-style) on MDN. - */ - borderStyle?: string, - /** - See [`border-top`](https://developer.mozilla.org/docs/Web/CSS/border-top) on MDN. - */ - borderTop?: string, - /** - See [`border-top-color`](https://developer.mozilla.org/docs/Web/CSS/border-top-color) on MDN. - */ - borderTopColor?: string, - /** - See [`border-top-left-radius`](https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius) on MDN. - */ - borderTopLeftRadius?: string, - /** - See [`border-top-right-radius`](https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius) on MDN. - */ - borderTopRightRadius?: string, - /** - See [`border-top-style`](https://developer.mozilla.org/docs/Web/CSS/border-top-style) on MDN. - */ - borderTopStyle?: string, - /** - See [`border-top-width`](https://developer.mozilla.org/docs/Web/CSS/border-top-width) on MDN. - */ - borderTopWidth?: string, - /** - See [`border-width`](https://developer.mozilla.org/docs/Web/CSS/border-width) on MDN. - */ - borderWidth?: string, - /** - See [`bottom`](https://developer.mozilla.org/docs/Web/CSS/bottom) on MDN. - */ - bottom?: string, - /** - See [`box-decoration-break`](https://developer.mozilla.org/docs/Web/CSS/box-decoration-break) on MDN. - */ - boxDecorationBreak?: string, - /** - See [`box-shadow`](https://developer.mozilla.org/docs/Web/CSS/box-shadow) on MDN. - */ - boxShadow?: string, - /** - See [`box-sizing`](https://developer.mozilla.org/docs/Web/CSS/box-sizing) on MDN. - */ - boxSizing?: string, - /** - See [`break-after`](https://developer.mozilla.org/docs/Web/CSS/break-after) on MDN. - */ - breakAfter?: string, - /** - See [`break-before`](https://developer.mozilla.org/docs/Web/CSS/break-before) on MDN. - */ - breakBefore?: string, - /** - See [`break-inside`](https://developer.mozilla.org/docs/Web/CSS/break-inside) on MDN. - */ - breakInside?: string, - /** - See [`caption-side`](https://developer.mozilla.org/docs/Web/CSS/caption-side) on MDN. - */ - captionSide?: string, - /** - */ - caret?: string, - /** - See [`caret-color`](https://developer.mozilla.org/docs/Web/CSS/caret-color) on MDN. - */ - caretColor?: string, - /** - */ - caretShape?: string, - /** - See [`clear`](https://developer.mozilla.org/docs/Web/CSS/clear) on MDN. - */ - clear?: string, - /** - See [`clip-path`](https://developer.mozilla.org/docs/Web/CSS/clip-path) on MDN. - */ - clipPath?: string, - /** - See [`clip-rule`](https://developer.mozilla.org/docs/Web/CSS/clip-rule) on MDN. - */ - clipRule?: string, - /** - See [`color`](https://developer.mozilla.org/docs/Web/CSS/color) on MDN. - */ - color?: string, - /** - See [`color-interpolation-filters`](https://developer.mozilla.org/docs/Web/CSS/color-interpolation-filters) on MDN. - */ - colorInterpolationFilters?: string, - /** - See [`color-scheme`](https://developer.mozilla.org/docs/Web/CSS/color-scheme) on MDN. - */ - colorScheme?: string, - /** - See [`column-count`](https://developer.mozilla.org/docs/Web/CSS/column-count) on MDN. - */ - columnCount?: string, - /** - See [`column-fill`](https://developer.mozilla.org/docs/Web/CSS/column-fill) on MDN. - */ - columnFill?: string, - /** - See [`column-gap`](https://developer.mozilla.org/docs/Web/CSS/column-gap) on MDN. - */ - columnGap?: string, - /** - See [`column-rule`](https://developer.mozilla.org/docs/Web/CSS/column-rule) on MDN. - */ - columnRule?: string, - /** - See [`column-rule-color`](https://developer.mozilla.org/docs/Web/CSS/column-rule-color) on MDN. - */ - columnRuleColor?: string, - /** - See [`column-rule-style`](https://developer.mozilla.org/docs/Web/CSS/column-rule-style) on MDN. - */ - columnRuleStyle?: string, - /** - See [`column-rule-width`](https://developer.mozilla.org/docs/Web/CSS/column-rule-width) on MDN. - */ - columnRuleWidth?: string, - /** - See [`column-span`](https://developer.mozilla.org/docs/Web/CSS/column-span) on MDN. - */ - columnSpan?: string, - /** - See [`column-width`](https://developer.mozilla.org/docs/Web/CSS/column-width) on MDN. - */ - columnWidth?: string, - /** - See [`columns`](https://developer.mozilla.org/docs/Web/CSS/columns) on MDN. - */ - columns?: string, - /** - See [`contain`](https://developer.mozilla.org/docs/Web/CSS/contain) on MDN. - */ - contain?: string, - /** - See [`contain-intrinsic-block-size`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-block-size) on MDN. - */ - containIntrinsicBlockSize?: string, - /** - See [`contain-intrinsic-height`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) on MDN. - */ - containIntrinsicHeight?: string, - /** - See [`contain-intrinsic-inline-size`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-inline-size) on MDN. - */ - containIntrinsicInlineSize?: string, - /** - See [`contain-intrinsic-size`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) on MDN. - */ - containIntrinsicSize?: string, - /** - See [`contain-intrinsic-width`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-width) on MDN. - */ - containIntrinsicWidth?: string, - /** - See [`container`](https://developer.mozilla.org/docs/Web/CSS/container) on MDN. - */ - container?: string, - /** - See [`container-name`](https://developer.mozilla.org/docs/Web/CSS/container-name) on MDN. - */ - containerName?: string, - /** - See [`container-type`](https://developer.mozilla.org/docs/Web/CSS/container-type) on MDN. - */ - containerType?: string, - /** - See [`content`](https://developer.mozilla.org/docs/Web/CSS/content) on MDN. - */ - content?: string, - /** - See [`content-visibility`](https://developer.mozilla.org/docs/Web/CSS/content-visibility) on MDN. - */ - contentVisibility?: string, - /** - See [`counter-increment`](https://developer.mozilla.org/docs/Web/CSS/counter-increment) on MDN. - */ - counterIncrement?: string, - /** - See [`counter-reset`](https://developer.mozilla.org/docs/Web/CSS/counter-reset) on MDN. - */ - counterReset?: string, - /** - See [`counter-set`](https://developer.mozilla.org/docs/Web/CSS/counter-set) on MDN. - */ - counterSet?: string, - /** - See [`cursor`](https://developer.mozilla.org/docs/Web/CSS/cursor) on MDN. - */ - cursor?: string, - /** - See [`cx`](https://developer.mozilla.org/docs/Web/CSS/cx) on MDN. - */ - cx?: string, - /** - See [`cy`](https://developer.mozilla.org/docs/Web/CSS/cy) on MDN. - */ - cy?: string, - /** - See [`d`](https://developer.mozilla.org/docs/Web/CSS/d) on MDN. - */ - d?: string, - /** - See [`direction`](https://developer.mozilla.org/docs/Web/CSS/direction) on MDN. - */ - direction?: string, - /** - See [`display`](https://developer.mozilla.org/docs/Web/CSS/display) on MDN. - */ - display?: string, - /** - See [`dominant-baseline`](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) on MDN. - */ - dominantBaseline?: string, - /** - See [`empty-cells`](https://developer.mozilla.org/docs/Web/CSS/empty-cells) on MDN. - */ - emptyCells?: string, - /** - See [`fill`](https://developer.mozilla.org/docs/Web/CSS/fill) on MDN. - */ - fill?: string, - /** - See [`fill-opacity`](https://developer.mozilla.org/docs/Web/CSS/fill-opacity) on MDN. - */ - fillOpacity?: string, - /** - See [`fill-rule`](https://developer.mozilla.org/docs/Web/CSS/fill-rule) on MDN. - */ - fillRule?: string, - /** - See [`filter`](https://developer.mozilla.org/docs/Web/CSS/filter) on MDN. - */ - filter?: string, - /** - See [`flex`](https://developer.mozilla.org/docs/Web/CSS/flex) on MDN. - */ - flex?: string, - /** - See [`flex-basis`](https://developer.mozilla.org/docs/Web/CSS/flex-basis) on MDN. - */ - flexBasis?: string, - /** - See [`flex-direction`](https://developer.mozilla.org/docs/Web/CSS/flex-direction) on MDN. - */ - flexDirection?: string, - /** - See [`flex-flow`](https://developer.mozilla.org/docs/Web/CSS/flex-flow) on MDN. - */ - flexFlow?: string, - /** - See [`flex-grow`](https://developer.mozilla.org/docs/Web/CSS/flex-grow) on MDN. - */ - flexGrow?: string, - /** - See [`flex-shrink`](https://developer.mozilla.org/docs/Web/CSS/flex-shrink) on MDN. - */ - flexShrink?: string, - /** - See [`flex-wrap`](https://developer.mozilla.org/docs/Web/CSS/flex-wrap) on MDN. - */ - flexWrap?: string, - /** - See [`float`](https://developer.mozilla.org/docs/Web/CSS/float) on MDN. - */ - float?: string, - /** - See [`flood-color`](https://developer.mozilla.org/docs/Web/CSS/flood-color) on MDN. - */ - floodColor?: string, - /** - See [`flood-opacity`](https://developer.mozilla.org/docs/Web/CSS/flood-opacity) on MDN. - */ - floodOpacity?: string, - /** - See [`font`](https://developer.mozilla.org/docs/Web/CSS/font) on MDN. - */ - font?: string, - /** - See [`font-family`](https://developer.mozilla.org/docs/Web/CSS/font-family) on MDN. - */ - fontFamily?: string, - /** - See [`font-feature-settings`](https://developer.mozilla.org/docs/Web/CSS/font-feature-settings) on MDN. - */ - fontFeatureSettings?: string, - /** - See [`font-kerning`](https://developer.mozilla.org/docs/Web/CSS/font-kerning) on MDN. - */ - fontKerning?: string, - /** - See [`font-language-override`](https://developer.mozilla.org/docs/Web/CSS/font-language-override) on MDN. - */ - fontLanguageOverride?: string, - /** - See [`font-optical-sizing`](https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing) on MDN. - */ - fontOpticalSizing?: string, - /** - See [`font-palette`](https://developer.mozilla.org/docs/Web/CSS/font-palette) on MDN. - */ - fontPalette?: string, - /** - See [`font-size`](https://developer.mozilla.org/docs/Web/CSS/font-size) on MDN. - */ - fontSize?: string, - /** - See [`font-size-adjust`](https://developer.mozilla.org/docs/Web/CSS/font-size-adjust) on MDN. - */ - fontSizeAdjust?: string, - /** - See [`font-stretch`](https://developer.mozilla.org/docs/Web/CSS/font-stretch) on MDN. - */ - fontStretch?: string, - /** - See [`font-style`](https://developer.mozilla.org/docs/Web/CSS/font-style) on MDN. - */ - fontStyle?: string, - /** - See [`font-synthesis`](https://developer.mozilla.org/docs/Web/CSS/font-synthesis) on MDN. - */ - fontSynthesis?: string, - /** - See [`font-synthesis-small-caps`](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-small-caps) on MDN. - */ - fontSynthesisSmallCaps?: string, - /** - See [`font-synthesis-style`](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-style) on MDN. - */ - fontSynthesisStyle?: string, - /** - See [`font-synthesis-weight`](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-weight) on MDN. - */ - fontSynthesisWeight?: string, - /** - See [`font-variant`](https://developer.mozilla.org/docs/Web/CSS/font-variant) on MDN. - */ - fontVariant?: string, - /** - See [`font-variant-alternates`](https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates) on MDN. - */ - fontVariantAlternates?: string, - /** - See [`font-variant-caps`](https://developer.mozilla.org/docs/Web/CSS/font-variant-caps) on MDN. - */ - fontVariantCaps?: string, - /** - See [`font-variant-east-asian`](https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian) on MDN. - */ - fontVariantEastAsian?: string, - /** - See [`font-variant-emoji`](https://developer.mozilla.org/docs/Web/CSS/font-variant-emoji) on MDN. - */ - fontVariantEmoji?: string, - /** - See [`font-variant-ligatures`](https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures) on MDN. - */ - fontVariantLigatures?: string, - /** - See [`font-variant-numeric`](https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric) on MDN. - */ - fontVariantNumeric?: string, - /** - See [`font-variant-position`](https://developer.mozilla.org/docs/Web/CSS/font-variant-position) on MDN. - */ - fontVariantPosition?: string, - /** - See [`font-variation-settings`](https://developer.mozilla.org/docs/Web/CSS/font-variation-settings) on MDN. - */ - fontVariationSettings?: string, - /** - See [`font-weight`](https://developer.mozilla.org/docs/Web/CSS/font-weight) on MDN. - */ - fontWeight?: string, - /** - See [`forced-color-adjust`](https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust) on MDN. - */ - forcedColorAdjust?: string, - /** - See [`gap`](https://developer.mozilla.org/docs/Web/CSS/gap) on MDN. - */ - gap?: string, - /** - See [`grid`](https://developer.mozilla.org/docs/Web/CSS/grid) on MDN. - */ - grid?: string, - /** - See [`grid-area`](https://developer.mozilla.org/docs/Web/CSS/grid-area) on MDN. - */ - gridArea?: string, - /** - See [`grid-auto-columns`](https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns) on MDN. - */ - gridAutoColumns?: string, - /** - See [`grid-auto-flow`](https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow) on MDN. - */ - gridAutoFlow?: string, - /** - See [`grid-auto-rows`](https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows) on MDN. - */ - gridAutoRows?: string, - /** - See [`grid-column`](https://developer.mozilla.org/docs/Web/CSS/grid-column) on MDN. - */ - gridColumn?: string, - /** - See [`grid-column-end`](https://developer.mozilla.org/docs/Web/CSS/grid-column-end) on MDN. - */ - gridColumnEnd?: string, - /** - See [`grid-column-start`](https://developer.mozilla.org/docs/Web/CSS/grid-column-start) on MDN. - */ - gridColumnStart?: string, - /** - See [`grid-row`](https://developer.mozilla.org/docs/Web/CSS/grid-row) on MDN. - */ - gridRow?: string, - /** - See [`grid-row-end`](https://developer.mozilla.org/docs/Web/CSS/grid-row-end) on MDN. - */ - gridRowEnd?: string, - /** - See [`grid-row-start`](https://developer.mozilla.org/docs/Web/CSS/grid-row-start) on MDN. - */ - gridRowStart?: string, - /** - See [`grid-template`](https://developer.mozilla.org/docs/Web/CSS/grid-template) on MDN. - */ - gridTemplate?: string, - /** - See [`grid-template-areas`](https://developer.mozilla.org/docs/Web/CSS/grid-template-areas) on MDN. - */ - gridTemplateAreas?: string, - /** - See [`grid-template-columns`](https://developer.mozilla.org/docs/Web/CSS/grid-template-columns) on MDN. - */ - gridTemplateColumns?: string, - /** - See [`grid-template-rows`](https://developer.mozilla.org/docs/Web/CSS/grid-template-rows) on MDN. - */ - gridTemplateRows?: string, - /** - See [`hanging-punctuation`](https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation) on MDN. - */ - hangingPunctuation?: string, - /** - See [`height`](https://developer.mozilla.org/docs/Web/CSS/height) on MDN. - */ - height?: string, - /** - See [`hyphenate-character`](https://developer.mozilla.org/docs/Web/CSS/hyphenate-character) on MDN. - */ - hyphenateCharacter?: string, - /** - See [`hyphenate-limit-chars`](https://developer.mozilla.org/docs/Web/CSS/hyphenate-limit-chars) on MDN. - */ - hyphenateLimitChars?: string, - /** - See [`hyphens`](https://developer.mozilla.org/docs/Web/CSS/hyphens) on MDN. - */ - hyphens?: string, - /** - See [`image-orientation`](https://developer.mozilla.org/docs/Web/CSS/image-orientation) on MDN. - */ - imageOrientation?: string, - /** - See [`image-rendering`](https://developer.mozilla.org/docs/Web/CSS/image-rendering) on MDN. - */ - imageRendering?: string, - /** - See [`initial-letter`](https://developer.mozilla.org/docs/Web/CSS/initial-letter) on MDN. - */ - initialLetter?: string, - /** - See [`inline-size`](https://developer.mozilla.org/docs/Web/CSS/inline-size) on MDN. - */ - inlineSize?: string, - /** - */ - inputSecurity?: string, - /** - See [`inset`](https://developer.mozilla.org/docs/Web/CSS/inset) on MDN. - */ - inset?: string, - /** - See [`inset-block`](https://developer.mozilla.org/docs/Web/CSS/inset-block) on MDN. - */ - insetBlock?: string, - /** - See [`inset-block-end`](https://developer.mozilla.org/docs/Web/CSS/inset-block-end) on MDN. - */ - insetBlockEnd?: string, - /** - See [`inset-block-start`](https://developer.mozilla.org/docs/Web/CSS/inset-block-start) on MDN. - */ - insetBlockStart?: string, - /** - See [`inset-inline`](https://developer.mozilla.org/docs/Web/CSS/inset-inline) on MDN. - */ - insetInline?: string, - /** - See [`inset-inline-end`](https://developer.mozilla.org/docs/Web/CSS/inset-inline-end) on MDN. - */ - insetInlineEnd?: string, - /** - See [`inset-inline-start`](https://developer.mozilla.org/docs/Web/CSS/inset-inline-start) on MDN. - */ - insetInlineStart?: string, - /** - See [`isolation`](https://developer.mozilla.org/docs/Web/CSS/isolation) on MDN. - */ - isolation?: string, - /** - See [`justify-content`](https://developer.mozilla.org/docs/Web/CSS/justify-content) on MDN. - */ - justifyContent?: string, - /** - See [`justify-items`](https://developer.mozilla.org/docs/Web/CSS/justify-items) on MDN. - */ - justifyItems?: string, - /** - See [`justify-self`](https://developer.mozilla.org/docs/Web/CSS/justify-self) on MDN. - */ - justifySelf?: string, - /** - See [`left`](https://developer.mozilla.org/docs/Web/CSS/left) on MDN. - */ - left?: string, - /** - See [`letter-spacing`](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) on MDN. - */ - letterSpacing?: string, - /** - See [`lighting-color`](https://developer.mozilla.org/docs/Web/CSS/lighting-color) on MDN. - */ - lightingColor?: string, - /** - See [`line-break`](https://developer.mozilla.org/docs/Web/CSS/line-break) on MDN. - */ - lineBreak?: string, - /** - */ - lineClamp?: string, - /** - See [`line-height`](https://developer.mozilla.org/docs/Web/CSS/line-height) on MDN. - */ - lineHeight?: string, - /** - See [`list-style`](https://developer.mozilla.org/docs/Web/CSS/list-style) on MDN. - */ - listStyle?: string, - /** - See [`list-style-image`](https://developer.mozilla.org/docs/Web/CSS/list-style-image) on MDN. - */ - listStyleImage?: string, - /** - See [`list-style-position`](https://developer.mozilla.org/docs/Web/CSS/list-style-position) on MDN. - */ - listStylePosition?: string, - /** - See [`list-style-type`](https://developer.mozilla.org/docs/Web/CSS/list-style-type) on MDN. - */ - listStyleType?: string, - /** - See [`margin`](https://developer.mozilla.org/docs/Web/CSS/margin) on MDN. - */ - margin?: string, - /** - See [`margin-block`](https://developer.mozilla.org/docs/Web/CSS/margin-block) on MDN. - */ - marginBlock?: string, - /** - See [`margin-block-end`](https://developer.mozilla.org/docs/Web/CSS/margin-block-end) on MDN. - */ - marginBlockEnd?: string, - /** - See [`margin-block-start`](https://developer.mozilla.org/docs/Web/CSS/margin-block-start) on MDN. - */ - marginBlockStart?: string, - /** - See [`margin-bottom`](https://developer.mozilla.org/docs/Web/CSS/margin-bottom) on MDN. - */ - marginBottom?: string, - /** - See [`margin-inline`](https://developer.mozilla.org/docs/Web/CSS/margin-inline) on MDN. - */ - marginInline?: string, - /** - See [`margin-inline-end`](https://developer.mozilla.org/docs/Web/CSS/margin-inline-end) on MDN. - */ - marginInlineEnd?: string, - /** - See [`margin-inline-start`](https://developer.mozilla.org/docs/Web/CSS/margin-inline-start) on MDN. - */ - marginInlineStart?: string, - /** - See [`margin-left`](https://developer.mozilla.org/docs/Web/CSS/margin-left) on MDN. - */ - marginLeft?: string, - /** - See [`margin-right`](https://developer.mozilla.org/docs/Web/CSS/margin-right) on MDN. - */ - marginRight?: string, - /** - See [`margin-top`](https://developer.mozilla.org/docs/Web/CSS/margin-top) on MDN. - */ - marginTop?: string, - /** - See [`marker`](https://developer.mozilla.org/docs/Web/CSS/marker) on MDN. - */ - marker?: string, - /** - See [`marker-end`](https://developer.mozilla.org/docs/Web/CSS/marker-end) on MDN. - */ - markerEnd?: string, - /** - See [`marker-mid`](https://developer.mozilla.org/docs/Web/CSS/marker-mid) on MDN. - */ - markerMid?: string, - /** - See [`marker-start`](https://developer.mozilla.org/docs/Web/CSS/marker-start) on MDN. - */ - markerStart?: string, - /** - See [`mask`](https://developer.mozilla.org/docs/Web/CSS/mask) on MDN. - */ - mask?: string, - /** - See [`mask-border`](https://developer.mozilla.org/docs/Web/CSS/mask-border) on MDN. - */ - maskBorder?: string, - /** - See [`mask-border-mode`](https://developer.mozilla.org/docs/Web/CSS/mask-border-mode) on MDN. - */ - maskBorderMode?: string, - /** - See [`mask-border-outset`](https://developer.mozilla.org/docs/Web/CSS/mask-border-outset) on MDN. - */ - maskBorderOutset?: string, - /** - See [`mask-border-repeat`](https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat) on MDN. - */ - maskBorderRepeat?: string, - /** - See [`mask-border-slice`](https://developer.mozilla.org/docs/Web/CSS/mask-border-slice) on MDN. - */ - maskBorderSlice?: string, - /** - See [`mask-border-source`](https://developer.mozilla.org/docs/Web/CSS/mask-border-source) on MDN. - */ - maskBorderSource?: string, - /** - See [`mask-border-width`](https://developer.mozilla.org/docs/Web/CSS/mask-border-width) on MDN. - */ - maskBorderWidth?: string, - /** - See [`mask-clip`](https://developer.mozilla.org/docs/Web/CSS/mask-clip) on MDN. - */ - maskClip?: string, - /** - See [`mask-composite`](https://developer.mozilla.org/docs/Web/CSS/mask-composite) on MDN. - */ - maskComposite?: string, - /** - See [`mask-image`](https://developer.mozilla.org/docs/Web/CSS/mask-image) on MDN. - */ - maskImage?: string, - /** - See [`mask-mode`](https://developer.mozilla.org/docs/Web/CSS/mask-mode) on MDN. - */ - maskMode?: string, - /** - See [`mask-origin`](https://developer.mozilla.org/docs/Web/CSS/mask-origin) on MDN. - */ - maskOrigin?: string, - /** - See [`mask-position`](https://developer.mozilla.org/docs/Web/CSS/mask-position) on MDN. - */ - maskPosition?: string, - /** - See [`mask-repeat`](https://developer.mozilla.org/docs/Web/CSS/mask-repeat) on MDN. - */ - maskRepeat?: string, - /** - See [`mask-size`](https://developer.mozilla.org/docs/Web/CSS/mask-size) on MDN. - */ - maskSize?: string, - /** - See [`mask-type`](https://developer.mozilla.org/docs/Web/CSS/mask-type) on MDN. - */ - maskType?: string, - /** - See [`math-depth`](https://developer.mozilla.org/docs/Web/CSS/math-depth) on MDN. - */ - mathDepth?: string, - /** - See [`math-style`](https://developer.mozilla.org/docs/Web/CSS/math-style) on MDN. - */ - mathStyle?: string, - /** - See [`max-block-size`](https://developer.mozilla.org/docs/Web/CSS/max-block-size) on MDN. - */ - maxBlockSize?: string, - /** - See [`max-height`](https://developer.mozilla.org/docs/Web/CSS/max-height) on MDN. - */ - maxHeight?: string, - /** - See [`max-inline-size`](https://developer.mozilla.org/docs/Web/CSS/max-inline-size) on MDN. - */ - maxInlineSize?: string, - /** - See [`max-width`](https://developer.mozilla.org/docs/Web/CSS/max-width) on MDN. - */ - maxWidth?: string, - /** - See [`min-block-size`](https://developer.mozilla.org/docs/Web/CSS/min-block-size) on MDN. - */ - minBlockSize?: string, - /** - See [`min-height`](https://developer.mozilla.org/docs/Web/CSS/min-height) on MDN. - */ - minHeight?: string, - /** - See [`min-inline-size`](https://developer.mozilla.org/docs/Web/CSS/min-inline-size) on MDN. - */ - minInlineSize?: string, - /** - See [`min-width`](https://developer.mozilla.org/docs/Web/CSS/min-width) on MDN. - */ - minWidth?: string, - /** - See [`mix-blend-mode`](https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode) on MDN. - */ - mixBlendMode?: string, - /** - See [`object-fit`](https://developer.mozilla.org/docs/Web/CSS/object-fit) on MDN. - */ - objectFit?: string, - /** - See [`object-position`](https://developer.mozilla.org/docs/Web/CSS/object-position) on MDN. - */ - objectPosition?: string, - /** - See [`offset`](https://developer.mozilla.org/docs/Web/CSS/offset) on MDN. - */ - offset?: string, - /** - See [`offset-anchor`](https://developer.mozilla.org/docs/Web/CSS/offset-anchor) on MDN. - */ - offsetAnchor?: string, - /** - See [`offset-distance`](https://developer.mozilla.org/docs/Web/CSS/offset-distance) on MDN. - */ - offsetDistance?: string, - /** - See [`offset-path`](https://developer.mozilla.org/docs/Web/CSS/offset-path) on MDN. - */ - offsetPath?: string, - /** - See [`offset-position`](https://developer.mozilla.org/docs/Web/CSS/offset-position) on MDN. - */ - offsetPosition?: string, - /** - See [`offset-rotate`](https://developer.mozilla.org/docs/Web/CSS/offset-rotate) on MDN. - */ - offsetRotate?: string, - /** - See [`opacity`](https://developer.mozilla.org/docs/Web/CSS/opacity) on MDN. - */ - opacity?: string, - /** - See [`order`](https://developer.mozilla.org/docs/Web/CSS/order) on MDN. - */ - order?: string, - /** - See [`orphans`](https://developer.mozilla.org/docs/Web/CSS/orphans) on MDN. - */ - orphans?: string, - /** - See [`outline`](https://developer.mozilla.org/docs/Web/CSS/outline) on MDN. - */ - outline?: string, - /** - See [`outline-color`](https://developer.mozilla.org/docs/Web/CSS/outline-color) on MDN. - */ - outlineColor?: string, - /** - See [`outline-offset`](https://developer.mozilla.org/docs/Web/CSS/outline-offset) on MDN. - */ - outlineOffset?: string, - /** - See [`outline-style`](https://developer.mozilla.org/docs/Web/CSS/outline-style) on MDN. - */ - outlineStyle?: string, - /** - See [`outline-width`](https://developer.mozilla.org/docs/Web/CSS/outline-width) on MDN. - */ - outlineWidth?: string, - /** - See [`overflow`](https://developer.mozilla.org/docs/Web/CSS/overflow) on MDN. - */ - overflow?: string, - /** - See [`overflow-anchor`](https://developer.mozilla.org/docs/Web/CSS/overflow-anchor) on MDN. - */ - overflowAnchor?: string, - /** - See [`overflow-block`](https://developer.mozilla.org/docs/Web/CSS/overflow-block) on MDN. - */ - overflowBlock?: string, - /** - See [`overflow-clip-margin`](https://developer.mozilla.org/docs/Web/CSS/overflow-clip-margin) on MDN. - */ - overflowClipMargin?: string, - /** - See [`overflow-inline`](https://developer.mozilla.org/docs/Web/CSS/overflow-inline) on MDN. - */ - overflowInline?: string, - /** - See [`overflow-wrap`](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap) on MDN. - */ - overflowWrap?: string, - /** - See [`overflow-x`](https://developer.mozilla.org/docs/Web/CSS/overflow-x) on MDN. - */ - overflowX?: string, - /** - See [`overflow-y`](https://developer.mozilla.org/docs/Web/CSS/overflow-y) on MDN. - */ - overflowY?: string, - /** - See [`overscroll-behavior`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior) on MDN. - */ - overscrollBehavior?: string, - /** - See [`overscroll-behavior-block`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block) on MDN. - */ - overscrollBehaviorBlock?: string, - /** - See [`overscroll-behavior-inline`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline) on MDN. - */ - overscrollBehaviorInline?: string, - /** - See [`overscroll-behavior-x`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x) on MDN. - */ - overscrollBehaviorX?: string, - /** - See [`overscroll-behavior-y`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y) on MDN. - */ - overscrollBehaviorY?: string, - /** - See [`padding`](https://developer.mozilla.org/docs/Web/CSS/padding) on MDN. - */ - padding?: string, - /** - See [`padding-block`](https://developer.mozilla.org/docs/Web/CSS/padding-block) on MDN. - */ - paddingBlock?: string, - /** - See [`padding-block-end`](https://developer.mozilla.org/docs/Web/CSS/padding-block-end) on MDN. - */ - paddingBlockEnd?: string, - /** - See [`padding-block-start`](https://developer.mozilla.org/docs/Web/CSS/padding-block-start) on MDN. - */ - paddingBlockStart?: string, - /** - See [`padding-bottom`](https://developer.mozilla.org/docs/Web/CSS/padding-bottom) on MDN. - */ - paddingBottom?: string, - /** - See [`padding-inline`](https://developer.mozilla.org/docs/Web/CSS/padding-inline) on MDN. - */ - paddingInline?: string, - /** - See [`padding-inline-end`](https://developer.mozilla.org/docs/Web/CSS/padding-inline-end) on MDN. - */ - paddingInlineEnd?: string, - /** - See [`padding-inline-start`](https://developer.mozilla.org/docs/Web/CSS/padding-inline-start) on MDN. - */ - paddingInlineStart?: string, - /** - See [`padding-left`](https://developer.mozilla.org/docs/Web/CSS/padding-left) on MDN. - */ - paddingLeft?: string, - /** - See [`padding-right`](https://developer.mozilla.org/docs/Web/CSS/padding-right) on MDN. - */ - paddingRight?: string, - /** - See [`padding-top`](https://developer.mozilla.org/docs/Web/CSS/padding-top) on MDN. - */ - paddingTop?: string, - /** - See [`page`](https://developer.mozilla.org/docs/Web/CSS/page) on MDN. - */ - page?: string, - /** - See [`page-break-after`](https://developer.mozilla.org/docs/Web/CSS/page-break-after) on MDN. - */ - pageBreakAfter?: string, - /** - See [`page-break-before`](https://developer.mozilla.org/docs/Web/CSS/page-break-before) on MDN. - */ - pageBreakBefore?: string, - /** - See [`page-break-inside`](https://developer.mozilla.org/docs/Web/CSS/page-break-inside) on MDN. - */ - pageBreakInside?: string, - /** - See [`paint-order`](https://developer.mozilla.org/docs/Web/CSS/paint-order) on MDN. - */ - paintOrder?: string, - /** - See [`perspective`](https://developer.mozilla.org/docs/Web/CSS/perspective) on MDN. - */ - perspective?: string, - /** - See [`perspective-origin`](https://developer.mozilla.org/docs/Web/CSS/perspective-origin) on MDN. - */ - perspectiveOrigin?: string, - /** - See [`place-content`](https://developer.mozilla.org/docs/Web/CSS/place-content) on MDN. - */ - placeContent?: string, - /** - See [`place-items`](https://developer.mozilla.org/docs/Web/CSS/place-items) on MDN. - */ - placeItems?: string, - /** - See [`place-self`](https://developer.mozilla.org/docs/Web/CSS/place-self) on MDN. - */ - placeSelf?: string, - /** - See [`pointer-events`](https://developer.mozilla.org/docs/Web/CSS/pointer-events) on MDN. - */ - pointerEvents?: string, - /** - See [`position`](https://developer.mozilla.org/docs/Web/CSS/position) on MDN. - */ - position?: string, - /** - See [`print-color-adjust`](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) on MDN. - */ - printColorAdjust?: string, - /** - See [`quotes`](https://developer.mozilla.org/docs/Web/CSS/quotes) on MDN. - */ - quotes?: string, - /** - See [`r`](https://developer.mozilla.org/docs/Web/CSS/r) on MDN. - */ - r?: string, - /** - See [`resize`](https://developer.mozilla.org/docs/Web/CSS/resize) on MDN. - */ - resize?: string, - /** - See [`right`](https://developer.mozilla.org/docs/Web/CSS/right) on MDN. - */ - right?: string, - /** - See [`rotate`](https://developer.mozilla.org/docs/Web/CSS/rotate) on MDN. - */ - rotate?: string, - /** - See [`row-gap`](https://developer.mozilla.org/docs/Web/CSS/row-gap) on MDN. - */ - rowGap?: string, - /** - See [`ruby-align`](https://developer.mozilla.org/docs/Web/CSS/ruby-align) on MDN. - */ - rubyAlign?: string, - /** - See [`ruby-position`](https://developer.mozilla.org/docs/Web/CSS/ruby-position) on MDN. - */ - rubyPosition?: string, - /** - See [`rx`](https://developer.mozilla.org/docs/Web/CSS/rx) on MDN. - */ - rx?: string, - /** - See [`ry`](https://developer.mozilla.org/docs/Web/CSS/ry) on MDN. - */ - ry?: string, - /** - See [`scale`](https://developer.mozilla.org/docs/Web/CSS/scale) on MDN. - */ - scale?: string, - /** - See [`scroll-behavior`](https://developer.mozilla.org/docs/Web/CSS/scroll-behavior) on MDN. - */ - scrollBehavior?: string, - /** - See [`scroll-margin`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin) on MDN. - */ - scrollMargin?: string, - /** - See [`scroll-margin-block`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block) on MDN. - */ - scrollMarginBlock?: string, - /** - See [`scroll-margin-block-end`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end) on MDN. - */ - scrollMarginBlockEnd?: string, - /** - See [`scroll-margin-block-start`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start) on MDN. - */ - scrollMarginBlockStart?: string, - /** - See [`scroll-margin-bottom`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom) on MDN. - */ - scrollMarginBottom?: string, - /** - See [`scroll-margin-inline`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline) on MDN. - */ - scrollMarginInline?: string, - /** - See [`scroll-margin-inline-end`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end) on MDN. - */ - scrollMarginInlineEnd?: string, - /** - See [`scroll-margin-inline-start`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start) on MDN. - */ - scrollMarginInlineStart?: string, - /** - See [`scroll-margin-left`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left) on MDN. - */ - scrollMarginLeft?: string, - /** - See [`scroll-margin-right`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right) on MDN. - */ - scrollMarginRight?: string, - /** - See [`scroll-margin-top`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top) on MDN. - */ - scrollMarginTop?: string, - /** - See [`scroll-padding`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding) on MDN. - */ - scrollPadding?: string, - /** - See [`scroll-padding-block`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block) on MDN. - */ - scrollPaddingBlock?: string, - /** - See [`scroll-padding-block-end`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end) on MDN. - */ - scrollPaddingBlockEnd?: string, - /** - See [`scroll-padding-block-start`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start) on MDN. - */ - scrollPaddingBlockStart?: string, - /** - See [`scroll-padding-bottom`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom) on MDN. - */ - scrollPaddingBottom?: string, - /** - See [`scroll-padding-inline`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline) on MDN. - */ - scrollPaddingInline?: string, - /** - See [`scroll-padding-inline-end`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end) on MDN. - */ - scrollPaddingInlineEnd?: string, - /** - See [`scroll-padding-inline-start`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start) on MDN. - */ - scrollPaddingInlineStart?: string, - /** - See [`scroll-padding-left`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left) on MDN. - */ - scrollPaddingLeft?: string, - /** - See [`scroll-padding-right`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right) on MDN. - */ - scrollPaddingRight?: string, - /** - See [`scroll-padding-top`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top) on MDN. - */ - scrollPaddingTop?: string, - /** - See [`scroll-snap-align`](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align) on MDN. - */ - scrollSnapAlign?: string, - /** - See [`scroll-snap-stop`](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop) on MDN. - */ - scrollSnapStop?: string, - /** - See [`scroll-snap-type`](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) on MDN. - */ - scrollSnapType?: string, - /** - See [`scrollbar-color`](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) on MDN. - */ - scrollbarColor?: string, - /** - See [`scrollbar-gutter`](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) on MDN. - */ - scrollbarGutter?: string, - /** - See [`scrollbar-width`](https://developer.mozilla.org/docs/Web/CSS/scrollbar-width) on MDN. - */ - scrollbarWidth?: string, - /** - See [`shape-image-threshold`](https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold) on MDN. - */ - shapeImageThreshold?: string, - /** - See [`shape-margin`](https://developer.mozilla.org/docs/Web/CSS/shape-margin) on MDN. - */ - shapeMargin?: string, - /** - See [`shape-outside`](https://developer.mozilla.org/docs/Web/CSS/shape-outside) on MDN. - */ - shapeOutside?: string, - /** - See [`shape-rendering`](https://developer.mozilla.org/docs/Web/CSS/shape-rendering) on MDN. - */ - shapeRendering?: string, - /** - See [`stop-color`](https://developer.mozilla.org/docs/Web/CSS/stop-color) on MDN. - */ - stopColor?: string, - /** - See [`stop-opacity`](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) on MDN. - */ - stopOpacity?: string, - /** - See [`stroke`](https://developer.mozilla.org/docs/Web/CSS/stroke) on MDN. - */ - stroke?: string, - /** - See [`stroke-dasharray`](https://developer.mozilla.org/docs/Web/CSS/stroke-dasharray) on MDN. - */ - strokeDasharray?: string, - /** - See [`stroke-dashoffset`](https://developer.mozilla.org/docs/Web/CSS/stroke-dashoffset) on MDN. - */ - strokeDashoffset?: string, - /** - See [`stroke-linecap`](https://developer.mozilla.org/docs/Web/CSS/stroke-linecap) on MDN. - */ - strokeLinecap?: string, - /** - See [`stroke-linejoin`](https://developer.mozilla.org/docs/Web/CSS/stroke-linejoin) on MDN. - */ - strokeLinejoin?: string, - /** - See [`stroke-miterlimit`](https://developer.mozilla.org/docs/Web/CSS/stroke-miterlimit) on MDN. - */ - strokeMiterlimit?: string, - /** - See [`stroke-opacity`](https://developer.mozilla.org/docs/Web/CSS/stroke-opacity) on MDN. - */ - strokeOpacity?: string, - /** - See [`stroke-width`](https://developer.mozilla.org/docs/Web/CSS/stroke-width) on MDN. - */ - strokeWidth?: string, - /** - See [`tab-size`](https://developer.mozilla.org/docs/Web/CSS/tab-size) on MDN. - */ - tabSize?: string, - /** - See [`table-layout`](https://developer.mozilla.org/docs/Web/CSS/table-layout) on MDN. - */ - tableLayout?: string, - /** - See [`text-align`](https://developer.mozilla.org/docs/Web/CSS/text-align) on MDN. - */ - textAlign?: string, - /** - See [`text-align-last`](https://developer.mozilla.org/docs/Web/CSS/text-align-last) on MDN. - */ - textAlignLast?: string, - /** - See [`text-anchor`](https://developer.mozilla.org/docs/Web/CSS/text-anchor) on MDN. - */ - textAnchor?: string, - /** - */ - textBox?: string, - /** - */ - textBoxEdge?: string, - /** - */ - textBoxTrim?: string, - /** - See [`text-combine-upright`](https://developer.mozilla.org/docs/Web/CSS/text-combine-upright) on MDN. - */ - textCombineUpright?: string, - /** - See [`text-decoration`](https://developer.mozilla.org/docs/Web/CSS/text-decoration) on MDN. - */ - textDecoration?: string, - /** - See [`text-decoration-color`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-color) on MDN. - */ - textDecorationColor?: string, - /** - See [`text-decoration-line`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-line) on MDN. - */ - textDecorationLine?: string, - /** - See [`text-decoration-skip-ink`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink) on MDN. - */ - textDecorationSkipInk?: string, - /** - See [`text-decoration-style`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-style) on MDN. - */ - textDecorationStyle?: string, - /** - See [`text-decoration-thickness`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness) on MDN. - */ - textDecorationThickness?: string, - /** - See [`text-emphasis`](https://developer.mozilla.org/docs/Web/CSS/text-emphasis) on MDN. - */ - textEmphasis?: string, - /** - See [`text-emphasis-color`](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color) on MDN. - */ - textEmphasisColor?: string, - /** - See [`text-emphasis-position`](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position) on MDN. - */ - textEmphasisPosition?: string, - /** - See [`text-emphasis-style`](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style) on MDN. - */ - textEmphasisStyle?: string, - /** - See [`text-indent`](https://developer.mozilla.org/docs/Web/CSS/text-indent) on MDN. - */ - textIndent?: string, - /** - See [`text-justify`](https://developer.mozilla.org/docs/Web/CSS/text-justify) on MDN. - */ - textJustify?: string, - /** - See [`text-orientation`](https://developer.mozilla.org/docs/Web/CSS/text-orientation) on MDN. - */ - textOrientation?: string, - /** - See [`text-overflow`](https://developer.mozilla.org/docs/Web/CSS/text-overflow) on MDN. - */ - textOverflow?: string, - /** - See [`text-rendering`](https://developer.mozilla.org/docs/Web/CSS/text-rendering) on MDN. - */ - textRendering?: string, - /** - See [`text-shadow`](https://developer.mozilla.org/docs/Web/CSS/text-shadow) on MDN. - */ - textShadow?: string, - /** - See [`text-transform`](https://developer.mozilla.org/docs/Web/CSS/text-transform) on MDN. - */ - textTransform?: string, - /** - See [`text-underline-offset`](https://developer.mozilla.org/docs/Web/CSS/text-underline-offset) on MDN. - */ - textUnderlineOffset?: string, - /** - See [`text-underline-position`](https://developer.mozilla.org/docs/Web/CSS/text-underline-position) on MDN. - */ - textUnderlinePosition?: string, - /** - See [`text-wrap`](https://developer.mozilla.org/docs/Web/CSS/text-wrap) on MDN. - */ - textWrap?: string, - /** - See [`text-wrap-mode`](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) on MDN. - */ - textWrapMode?: string, - /** - See [`text-wrap-style`](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) on MDN. - */ - textWrapStyle?: string, - /** - See [`top`](https://developer.mozilla.org/docs/Web/CSS/top) on MDN. - */ - top?: string, - /** - See [`touch-action`](https://developer.mozilla.org/docs/Web/CSS/touch-action) on MDN. - */ - touchAction?: string, - /** - See [`transform`](https://developer.mozilla.org/docs/Web/CSS/transform) on MDN. - */ - transform?: string, - /** - See [`transform-box`](https://developer.mozilla.org/docs/Web/CSS/transform-box) on MDN. - */ - transformBox?: string, - /** - See [`transform-origin`](https://developer.mozilla.org/docs/Web/CSS/transform-origin) on MDN. - */ - transformOrigin?: string, - /** - See [`transform-style`](https://developer.mozilla.org/docs/Web/CSS/transform-style) on MDN. - */ - transformStyle?: string, - /** - See [`transition`](https://developer.mozilla.org/docs/Web/CSS/transition) on MDN. - */ - transition?: string, - /** - See [`transition-behavior`](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) on MDN. - */ - transitionBehavior?: string, - /** - See [`transition-delay`](https://developer.mozilla.org/docs/Web/CSS/transition-delay) on MDN. - */ - transitionDelay?: string, - /** - See [`transition-duration`](https://developer.mozilla.org/docs/Web/CSS/transition-duration) on MDN. - */ - transitionDuration?: string, - /** - See [`transition-property`](https://developer.mozilla.org/docs/Web/CSS/transition-property) on MDN. - */ - transitionProperty?: string, - /** - See [`transition-timing-function`](https://developer.mozilla.org/docs/Web/CSS/transition-timing-function) on MDN. - */ - transitionTimingFunction?: string, - /** - See [`translate`](https://developer.mozilla.org/docs/Web/CSS/translate) on MDN. - */ - translate?: string, - /** - See [`unicode-bidi`](https://developer.mozilla.org/docs/Web/CSS/unicode-bidi) on MDN. - */ - unicodeBidi?: string, - /** - See [`user-select`](https://developer.mozilla.org/docs/Web/CSS/user-select) on MDN. - */ - userSelect?: string, - /** - See [`vector-effect`](https://developer.mozilla.org/docs/Web/CSS/vector-effect) on MDN. - */ - vectorEffect?: string, - /** - See [`vertical-align`](https://developer.mozilla.org/docs/Web/CSS/vertical-align) on MDN. - */ - verticalAlign?: string, - /** - See [`view-transition-name`](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) on MDN. - */ - viewTransitionName?: string, - /** - See [`visibility`](https://developer.mozilla.org/docs/Web/CSS/visibility) on MDN. - */ - visibility?: string, - /** - See [`white-space`](https://developer.mozilla.org/docs/Web/CSS/white-space) on MDN. - */ - whiteSpace?: string, - /** - See [`white-space-collapse`](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) on MDN. - */ - whiteSpaceCollapse?: string, - /** - See [`widows`](https://developer.mozilla.org/docs/Web/CSS/widows) on MDN. - */ - widows?: string, - /** - See [`width`](https://developer.mozilla.org/docs/Web/CSS/width) on MDN. - */ - width?: string, - /** - See [`will-change`](https://developer.mozilla.org/docs/Web/CSS/will-change) on MDN. - */ - willChange?: string, - /** - See [`word-break`](https://developer.mozilla.org/docs/Web/CSS/word-break) on MDN. - */ - wordBreak?: string, - /** - See [`word-spacing`](https://developer.mozilla.org/docs/Web/CSS/word-spacing) on MDN. - */ - wordSpacing?: string, - /** - See [`word-wrap`](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap) on MDN. - */ - wordWrap?: string, - /** - See [`writing-mode`](https://developer.mozilla.org/docs/Web/CSS/writing-mode) on MDN. - */ - writingMode?: string, - /** - See [`x`](https://developer.mozilla.org/docs/Web/CSS/x) on MDN. - */ - x?: string, - /** - See [`y`](https://developer.mozilla.org/docs/Web/CSS/y) on MDN. - */ - y?: string, - /** - See [`z-index`](https://developer.mozilla.org/docs/Web/CSS/z-index) on MDN. - */ - zIndex?: string, - /** - See [`zoom`](https://developer.mozilla.org/docs/Web/CSS/zoom) on MDN. - */ - zoom?: string, - /* Experimental properties: */ - imageResolution?: string, - textDecorationSkip?: string, - maxLines?: string, - rubyMerge?: string, - /* Non-standard properties: */ - azimuth?: string, - clip?: string, - cue?: string, - cueAfter?: string, - cueBefore?: string, - elevation?: string, - markerOffset?: string, - marks?: string, - pause?: string, - pauseAfter?: string, - pauseBefore?: string, - pitch?: string, - pitchRange?: string, - playDuring?: string, - richness?: string, - size?: string, - speak?: string, - speakHeader?: string, - speakNumeral?: string, - speakPunctuation?: string, - speechRate?: string, - stress?: string, - voiceFamily?: string, - volume?: string, - rest?: string, - restAfter?: string, - restBefore?: string, - speakAs?: string, - voiceBalance?: string, - voiceDuration?: string, - voicePitch?: string, - voiceRange?: string, - voiceRate?: string, - voiceStress?: string, - voiceVolume?: string, - forntVariantAlternates?: string, - glyphOrientationVertical?: string, - navDown?: string, - navLeft?: string, - navRight?: string, - navUp?: string, - gridColumnGap?: string, - gridGap?: string, - gridRowGap?: string, - caretAnimation?: string, - marqueeDirection?: string, - marqueeLoop?: string, - marqueeSpeed?: string, - marqueeStyle?: string, - overflowStyle?: string, - rotation?: string, - rotationPoint?: string, - alignmentBaseline?: string, - baselineShift?: string, - colorInterpolation?: string, - colorProfile?: string, - colorRendering?: string, - glyphOrientationHorizontal?: string, - kerning?: string, -} diff --git a/packages/artifacts.json b/packages/artifacts.json index a024c5ebc4..f2eada7cb7 100644 --- a/packages/artifacts.json +++ b/packages/artifacts.json @@ -100,8 +100,6 @@ "lib/es6/Js_weakmap.mjs", "lib/es6/Js_weakset.mjs", "lib/es6/Jsx.mjs", - "lib/es6/JsxDOM.mjs", - "lib/es6/JsxDOMStyle.mjs", "lib/es6/JsxEvent.mjs", "lib/es6/Obj.mjs", "lib/es6/Pervasives.mjs", @@ -274,8 +272,6 @@ "lib/js/Js_weakmap.cjs", "lib/js/Js_weakset.cjs", "lib/js/Jsx.cjs", - "lib/js/JsxDOM.cjs", - "lib/js/JsxDOMStyle.cjs", "lib/js/JsxEvent.cjs", "lib/js/Obj.cjs", "lib/js/Pervasives.cjs", @@ -792,14 +788,6 @@ "lib/ocaml/Jsx.cmj", "lib/ocaml/Jsx.cmt", "lib/ocaml/Jsx.res", - "lib/ocaml/JsxDOM.cmi", - "lib/ocaml/JsxDOM.cmj", - "lib/ocaml/JsxDOM.cmt", - "lib/ocaml/JsxDOM.res", - "lib/ocaml/JsxDOMStyle.cmi", - "lib/ocaml/JsxDOMStyle.cmj", - "lib/ocaml/JsxDOMStyle.cmt", - "lib/ocaml/JsxDOMStyle.res", "lib/ocaml/JsxEvent.cmi", "lib/ocaml/JsxEvent.cmj", "lib/ocaml/JsxEvent.cmt", @@ -1240,4 +1228,4 @@ "lib/ocaml/Stdlib_WeakSet.res", "package.json" ] -} \ No newline at end of file +} From d9a866434a6ed0dcc0321336f0920e1809a8b7a3 Mon Sep 17 00:00:00 2001 From: dkirchhof Date: Sun, 8 Mar 2026 07:22:37 +0100 Subject: [PATCH 2/3] update rescript-react dependency for tests --- package.json | 2 +- .../deadcode/expected/deadcode.txt | 4 +- .../tests/src/expected/Completion.res.txt | 2 +- .../expected/CompletionInferValues.res.txt | 12 +- .../tests/src/expected/CompletionJsx.res.txt | 10 +- .../src/expected/CompletionJsxProps.res.txt | 27 +- .../tests/src/expected/Div.res.txt | 10 +- .../tests/src/expected/Fragment.res.txt | 4 +- .../tests/src/expected/Jsx2.res.txt | 12 +- .../tests/src/expected/JsxV4.res.txt | 2 +- .../dependencies/rescript-react/package.json | 2 +- .../dependencies/rescript-react/src/React.res | 82 +- .../rescript-react/src/ReactDOM.res | 190 +- .../rescript-react/src/ReactDOMProps.res | 644 ++++++ .../rescript-react/src/ReactDOMStyle.res | 1835 ++++++++++++++++- .../rescript-react/src/ReactEvent.res | 60 +- .../typescript-react-example/package.json | 8 +- 17 files changed, 2804 insertions(+), 102 deletions(-) create mode 100644 tests/dependencies/rescript-react/src/ReactDOMProps.res diff --git a/package.json b/package.json index 4473393cec..2adae97453 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rescript", - "version": "13.0.0-alpha.3", + "version": "13.0.0-alpha.4", "description": "ReScript toolchain", "type": "module", "keywords": [ diff --git a/tests/analysis_tests/tests-reanalyze/deadcode/expected/deadcode.txt b/tests/analysis_tests/tests-reanalyze/deadcode/expected/deadcode.txt index 9f8e8ec204..9f6f065ce2 100644 --- a/tests/analysis_tests/tests-reanalyze/deadcode/expected/deadcode.txt +++ b/tests/analysis_tests/tests-reanalyze/deadcode/expected/deadcode.txt @@ -359,7 +359,7 @@ addValueDeclaration +make Hooks.res:63:6 path:+Hooks.RenderPropRequiresConversion addRecordLabelDeclaration name Hooks.res:1:16 path:+Hooks.vehicle addRecordLabelDeclaration vehicle Hooks.res:4:12 path:+Hooks.props - addValueReference Hooks.res:5:26 --> React.res:134:0 + addValueReference Hooks.res:5:26 --> React.res:135:0 addTypeReference Hooks.res:10:29 --> Hooks.res:1:16 addValueReference Hooks.res:10:29 --> Hooks.res:4:12 addValueReference Hooks.res:10:75 --> Hooks.res:5:7 @@ -369,9 +369,9 @@ addValueReference Hooks.res:10:75 --> Hooks.res:5:7 addValueReference Hooks.res:9:7 --> React.res:7:0 addValueReference Hooks.res:13:54 --> React.res:7:0 - addValueReference Hooks.res:13:54 --> React.res:7:0 addValueReference Hooks.res:13:40 --> Hooks.res:5:7 addValueReference Hooks.res:13:26 --> Hooks.res:5:14 + addValueReference Hooks.res:13:54 --> React.res:7:0 addValueReference Hooks.res:14:5 --> ImportHooks.res:13:0 addValueReference Hooks.res:15:7 --> React.res:7:0 addValueReference Hooks.res:15:32 --> React.res:7:0 diff --git a/tests/analysis_tests/tests/src/expected/Completion.res.txt b/tests/analysis_tests/tests/src/expected/Completion.res.txt index 31a934d68a..e3bac59928 100644 --- a/tests/analysis_tests/tests/src/expected/Completion.res.txt +++ b/tests/analysis_tests/tests/src/expected/Completion.res.txt @@ -2075,7 +2075,7 @@ Path this }] Hover src/Completion.res 349:14 -{"contents": {"kind": "markdown", "value": "```rescript\nJsxDOM.domProps\n```\n\n---\n\n```\n \n```\n```rescript\ntype JsxDOM.domProps = {\n key?: string,\n children?: Jsx.element,\n ref?: domRef,\n allow?: string,\n ariaCurrent?: [\n | #date\n | #\"false\"\n | #location\n | #page\n | #step\n | #time\n | #\"true\"\n ],\n ariaDetails?: string,\n ariaDisabled?: bool,\n ariaHidden?: bool,\n ariaInvalid?: [#\"false\" | #grammar | #spelling | #\"true\"],\n ariaKeyshortcuts?: string,\n ariaLabel?: string,\n ariaRoledescription?: string,\n ariaAutocomplete?: [#both | #inline | #list | #none],\n ariaChecked?: [#\"false\" | #mixed | #\"true\"],\n ariaExpanded?: bool,\n ariaHaspopup?: [\n | #dialog\n | #\"false\"\n | #grid\n | #listbox\n | #menu\n | #tree\n | #\"true\"\n ],\n ariaLevel?: int,\n ariaModal?: bool,\n ariaMultiline?: bool,\n ariaMultiselectable?: bool,\n ariaOrientation?: [#horizontal | #undefined | #vertical],\n ariaPlaceholder?: string,\n ariaPressed?: [#\"false\" | #mixed | #\"true\"],\n ariaReadonly?: bool,\n ariaRequired?: bool,\n ariaSelected?: bool,\n ariaSort?: string,\n ariaValuemax?: float,\n ariaValuemin?: float,\n ariaValuenow?: float,\n ariaValuetext?: string,\n ariaAtomic?: bool,\n ariaBusy?: bool,\n ariaLive?: [#assertive | #off | #polite | #rude],\n ariaRelevant?: string,\n ariaDropeffect?: [\n | #copy\n | #execute\n | #link\n | #move\n | #none\n | #popup\n ],\n ariaGrabbed?: bool,\n ariaActivedescendant?: string,\n ariaColcount?: int,\n ariaColindex?: int,\n ariaColspan?: int,\n ariaControls?: string,\n ariaDescribedby?: string,\n ariaErrormessage?: string,\n ariaFlowto?: string,\n ariaLabelledby?: string,\n ariaOwns?: string,\n ariaPosinset?: int,\n ariaRowcount?: int,\n ariaRowindex?: int,\n ariaRowspan?: int,\n ariaSetsize?: int,\n defaultChecked?: bool,\n defaultValue?: string,\n accessKey?: string,\n capture?: [#environment | #user],\n className?: string,\n contentEditable?: bool,\n contextMenu?: string,\n dataTestId?: string,\n dir?: string,\n draggable?: bool,\n hidden?: bool,\n id?: string,\n inert?: bool,\n lang?: string,\n popover?: popover,\n popoverTarget?: string,\n popoverTargetAction?: popoverTargetAction,\n role?: string,\n style?: style,\n spellCheck?: bool,\n tabIndex?: int,\n title?: string,\n itemID?: string,\n itemProp?: string,\n itemRef?: string,\n itemScope?: bool,\n itemType?: string,\n accept?: string,\n acceptCharset?: string,\n action?: string,\n allowFullScreen?: bool,\n alt?: string,\n as_?: string,\n async?: bool,\n autoComplete?: string,\n autoCapitalize?: string,\n autoFocus?: bool,\n autoPlay?: bool,\n challenge?: string,\n charSet?: string,\n checked?: bool,\n cite?: string,\n crossOrigin?: string,\n cols?: int,\n colSpan?: int,\n content?: string,\n controls?: bool,\n coords?: string,\n data?: string,\n dateTime?: string,\n default?: bool,\n defer?: bool,\n disabled?: bool,\n download?: string,\n encType?: string,\n form?: string,\n formAction?: string,\n formTarget?: string,\n formMethod?: string,\n frameBorder?: int,\n headers?: string,\n height?: string,\n high?: int,\n href?: string,\n hrefLang?: string,\n htmlFor?: string,\n httpEquiv?: string,\n icon?: string,\n inputMode?: string,\n integrity?: string,\n keyType?: string,\n kind?: string,\n label?: string,\n list?: string,\n loading?: [#eager | #lazy],\n loop?: bool,\n low?: int,\n manifest?: string,\n max?: string,\n maxLength?: int,\n media?: string,\n mediaGroup?: string,\n method?: string,\n min?: string,\n minLength?: int,\n multiple?: bool,\n muted?: bool,\n name?: string,\n nonce?: string,\n noValidate?: bool,\n open_?: bool,\n optimum?: int,\n pattern?: string,\n placeholder?: string,\n playsInline?: bool,\n poster?: string,\n preload?: string,\n radioGroup?: string,\n readOnly?: bool,\n rel?: string,\n required?: bool,\n reversed?: bool,\n rows?: int,\n rowSpan?: int,\n sandbox?: string,\n scope?: string,\n scoped?: bool,\n scrolling?: string,\n selected?: bool,\n shape?: string,\n size?: int,\n sizes?: string,\n span?: int,\n src?: string,\n srcDoc?: string,\n srcLang?: string,\n srcSet?: string,\n start?: int,\n step?: float,\n summary?: string,\n target?: string,\n type_?: string,\n useMap?: string,\n value?: string,\n width?: string,\n wrap?: string,\n onCopy?: JsxEvent.Clipboard.t => unit,\n onCut?: JsxEvent.Clipboard.t => unit,\n onPaste?: JsxEvent.Clipboard.t => unit,\n onCompositionEnd?: JsxEvent.Composition.t => unit,\n onCompositionStart?: JsxEvent.Composition.t => unit,\n onCompositionUpdate?: JsxEvent.Composition.t => unit,\n onKeyDown?: JsxEvent.Keyboard.t => unit,\n onKeyPress?: JsxEvent.Keyboard.t => unit,\n onKeyUp?: JsxEvent.Keyboard.t => unit,\n onFocus?: JsxEvent.Focus.t => unit,\n onBlur?: JsxEvent.Focus.t => unit,\n onBeforeInput?: JsxEvent.Form.t => unit,\n onChange?: JsxEvent.Form.t => unit,\n onInput?: JsxEvent.Form.t => unit,\n onReset?: JsxEvent.Form.t => unit,\n onSubmit?: JsxEvent.Form.t => unit,\n onInvalid?: JsxEvent.Form.t => unit,\n onClick?: JsxEvent.Mouse.t => unit,\n onContextMenu?: JsxEvent.Mouse.t => unit,\n onDoubleClick?: JsxEvent.Mouse.t => unit,\n onDrag?: JsxEvent.Mouse.t => unit,\n onDragEnd?: JsxEvent.Mouse.t => unit,\n onDragEnter?: JsxEvent.Mouse.t => unit,\n onDragExit?: JsxEvent.Mouse.t => unit,\n onDragLeave?: JsxEvent.Mouse.t => unit,\n onDragOver?: JsxEvent.Mouse.t => unit,\n onDragStart?: JsxEvent.Mouse.t => unit,\n onDrop?: JsxEvent.Mouse.t => unit,\n onMouseDown?: JsxEvent.Mouse.t => unit,\n onMouseEnter?: JsxEvent.Mouse.t => unit,\n onMouseLeave?: JsxEvent.Mouse.t => unit,\n onMouseMove?: JsxEvent.Mouse.t => unit,\n onMouseOut?: JsxEvent.Mouse.t => unit,\n onMouseOver?: JsxEvent.Mouse.t => unit,\n onMouseUp?: JsxEvent.Mouse.t => unit,\n onSelect?: JsxEvent.Selection.t => unit,\n onTouchCancel?: JsxEvent.Touch.t => unit,\n onTouchEnd?: JsxEvent.Touch.t => unit,\n onTouchMove?: JsxEvent.Touch.t => unit,\n onTouchStart?: JsxEvent.Touch.t => unit,\n onPointerOver?: JsxEvent.Pointer.t => unit,\n onPointerEnter?: JsxEvent.Pointer.t => unit,\n onPointerDown?: JsxEvent.Pointer.t => unit,\n onPointerMove?: JsxEvent.Pointer.t => unit,\n onPointerUp?: JsxEvent.Pointer.t => unit,\n onPointerCancel?: JsxEvent.Pointer.t => unit,\n onPointerOut?: JsxEvent.Pointer.t => unit,\n onPointerLeave?: JsxEvent.Pointer.t => unit,\n onGotPointerCapture?: JsxEvent.Pointer.t => unit,\n onLostPointerCapture?: JsxEvent.Pointer.t => unit,\n onScroll?: JsxEvent.UI.t => unit,\n onWheel?: JsxEvent.Wheel.t => unit,\n onAbort?: JsxEvent.Media.t => unit,\n onCanPlay?: JsxEvent.Media.t => unit,\n onCanPlayThrough?: JsxEvent.Media.t => unit,\n onDurationChange?: JsxEvent.Media.t => unit,\n onEmptied?: JsxEvent.Media.t => unit,\n onEncrypted?: JsxEvent.Media.t => unit,\n onEnded?: JsxEvent.Media.t => unit,\n onError?: JsxEvent.Media.t => unit,\n onLoadedData?: JsxEvent.Media.t => unit,\n onLoadedMetadata?: JsxEvent.Media.t => unit,\n onLoadStart?: JsxEvent.Media.t => unit,\n onPause?: JsxEvent.Media.t => unit,\n onPlay?: JsxEvent.Media.t => unit,\n onPlaying?: JsxEvent.Media.t => unit,\n onProgress?: JsxEvent.Media.t => unit,\n onRateChange?: JsxEvent.Media.t => unit,\n onSeeked?: JsxEvent.Media.t => unit,\n onSeeking?: JsxEvent.Media.t => unit,\n onStalled?: JsxEvent.Media.t => unit,\n onSuspend?: JsxEvent.Media.t => unit,\n onTimeUpdate?: JsxEvent.Media.t => unit,\n onVolumeChange?: JsxEvent.Media.t => unit,\n onWaiting?: JsxEvent.Media.t => unit,\n onLoad?: JsxEvent.Image.t => unit,\n onAnimationStart?: JsxEvent.Animation.t => unit,\n onAnimationEnd?: JsxEvent.Animation.t => unit,\n onAnimationIteration?: JsxEvent.Animation.t => unit,\n onTransitionEnd?: JsxEvent.Transition.t => unit,\n accentHeight?: string,\n accumulate?: string,\n additive?: string,\n alignmentBaseline?: string,\n allowReorder?: string,\n alphabetic?: string,\n amplitude?: string,\n arabicForm?: string,\n ascent?: string,\n attributeName?: string,\n attributeType?: string,\n autoReverse?: string,\n azimuth?: string,\n baseFrequency?: string,\n baseProfile?: string,\n baselineShift?: string,\n bbox?: string,\n begin?: string,\n begin_?: string,\n bias?: string,\n by?: string,\n calcMode?: string,\n capHeight?: string,\n clip?: string,\n clipPath?: string,\n clipPathUnits?: string,\n clipRule?: string,\n colorInterpolation?: string,\n colorInterpolationFilters?: string,\n colorProfile?: string,\n colorRendering?: string,\n contentScriptType?: string,\n contentStyleType?: string,\n cursor?: string,\n cx?: string,\n cy?: string,\n d?: string,\n decelerate?: string,\n descent?: string,\n diffuseConstant?: string,\n direction?: string,\n display?: string,\n divisor?: string,\n dominantBaseline?: string,\n dur?: string,\n dx?: string,\n dy?: string,\n edgeMode?: string,\n elevation?: string,\n enableBackground?: string,\n end?: string,\n end_?: string,\n exponent?: string,\n externalResourcesRequired?: string,\n fill?: string,\n fillOpacity?: string,\n fillRule?: string,\n filter?: string,\n filterRes?: string,\n filterUnits?: string,\n floodColor?: string,\n floodOpacity?: string,\n focusable?: string,\n fontFamily?: string,\n fontSize?: string,\n fontSizeAdjust?: string,\n fontStretch?: string,\n fontStyle?: string,\n fontVariant?: string,\n fontWeight?: string,\n fomat?: string,\n from?: string,\n fx?: string,\n fy?: string,\n g1?: string,\n g2?: string,\n glyphName?: string,\n glyphOrientationHorizontal?: string,\n glyphOrientationVertical?: string,\n glyphRef?: string,\n gradientTransform?: string,\n gradientUnits?: string,\n hanging?: string,\n horizAdvX?: string,\n horizOriginX?: string,\n ideographic?: string,\n imageRendering?: string,\n in_?: string,\n in2?: string,\n intercept?: string,\n k?: string,\n k1?: string,\n k2?: string,\n k3?: string,\n k4?: string,\n kernelMatrix?: string,\n kernelUnitLength?: string,\n kerning?: string,\n keyPoints?: string,\n keySplines?: string,\n keyTimes?: string,\n lengthAdjust?: string,\n letterSpacing?: string,\n lightingColor?: string,\n limitingConeAngle?: string,\n local?: string,\n markerEnd?: string,\n markerHeight?: string,\n markerMid?: string,\n markerStart?: string,\n markerUnits?: string,\n markerWidth?: string,\n mask?: string,\n maskContentUnits?: string,\n maskUnits?: string,\n mathematical?: string,\n mode?: string,\n numOctaves?: string,\n offset?: string,\n opacity?: string,\n operator?: string,\n order?: string,\n orient?: string,\n orientation?: string,\n origin?: string,\n overflow?: string,\n overflowX?: string,\n overflowY?: string,\n overlinePosition?: string,\n overlineThickness?: string,\n paintOrder?: string,\n panose1?: string,\n pathLength?: string,\n patternContentUnits?: string,\n patternTransform?: string,\n patternUnits?: string,\n pointerEvents?: string,\n points?: string,\n pointsAtX?: string,\n pointsAtY?: string,\n pointsAtZ?: string,\n preserveAlpha?: string,\n preserveAspectRatio?: string,\n primitiveUnits?: string,\n r?: string,\n radius?: string,\n referrerPolicy?: string,\n refX?: string,\n refY?: string,\n renderingIntent?: string,\n repeatCount?: string,\n repeatDur?: string,\n requiredExtensions?: string,\n requiredFeatures?: string,\n restart?: string,\n result?: string,\n rotate?: string,\n rx?: string,\n ry?: string,\n scale?: string,\n seed?: string,\n shapeRendering?: string,\n slope?: string,\n slot?: string,\n spacing?: string,\n specularConstant?: string,\n specularExponent?: string,\n speed?: string,\n spreadMethod?: string,\n startOffset?: string,\n stdDeviation?: string,\n stemh?: string,\n stemv?: string,\n stitchTiles?: string,\n stopColor?: string,\n stopOpacity?: string,\n strikethroughPosition?: string,\n strikethroughThickness?: string,\n string?: string,\n stroke?: string,\n strokeDasharray?: string,\n strokeDashoffset?: string,\n strokeLinecap?: string,\n strokeLinejoin?: string,\n strokeMiterlimit?: string,\n strokeOpacity?: string,\n strokeWidth?: string,\n surfaceScale?: string,\n systemLanguage?: string,\n tableValues?: string,\n targetX?: string,\n targetY?: string,\n textAnchor?: string,\n textDecoration?: string,\n textLength?: string,\n textRendering?: string,\n to?: string,\n to_?: string,\n transform?: string,\n u1?: string,\n u2?: string,\n underlinePosition?: string,\n underlineThickness?: string,\n unicode?: string,\n unicodeBidi?: string,\n unicodeRange?: string,\n unitsPerEm?: string,\n vAlphabetic?: string,\n vHanging?: string,\n vIdeographic?: string,\n vMathematical?: string,\n values?: string,\n vectorEffect?: string,\n version?: string,\n vertAdvX?: string,\n vertAdvY?: string,\n vertOriginX?: string,\n vertOriginY?: string,\n viewBox?: string,\n viewTarget?: string,\n visibility?: string,\n widths?: string,\n wordSpacing?: string,\n writingMode?: string,\n x?: string,\n x1?: string,\n x2?: string,\n xChannelSelector?: string,\n xHeight?: string,\n xlinkActuate?: string,\n xlinkArcrole?: string,\n xlinkHref?: string,\n xlinkRole?: string,\n xlinkShow?: string,\n xlinkTitle?: string,\n xlinkType?: string,\n xmlns?: string,\n xmlnsXlink?: string,\n xmlBase?: string,\n xmlLang?: string,\n xmlSpace?: string,\n y?: string,\n y1?: string,\n y2?: string,\n yChannelSelector?: string,\n z?: string,\n zoomAndPan?: string,\n about?: string,\n datatype?: string,\n inlist?: string,\n prefix?: string,\n property?: string,\n resource?: string,\n typeof?: string,\n vocab?: string,\n dangerouslySetInnerHTML?: {\"__html\": string},\n suppressContentEditableWarning?: bool,\n}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxDOM.res%22%2C20%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype Jsx.element\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Jsx.res%22%2C7%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype domRef\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxDOM.res%22%2C7%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype popover =\n | @as(\"auto\") Auto\n | @as(\"manual\") Manual\n | @as(\"hint\") Hint\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxDOM.res%22%2C11%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype popoverTargetAction =\n | @as(\"toggle\") Toggle\n | @as(\"show\") Show\n | @as(\"hide\") Hide\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxDOM.res%22%2C15%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype style = JsxDOMStyle.t\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxDOM.res%22%2C6%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Clipboard.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C77%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Composition.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C87%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Keyboard.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C96%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Focus.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C118%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Form.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C128%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Mouse.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C135%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Selection.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C212%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Touch.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C219%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Pointer.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C164%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.UI.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C242%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Wheel.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C253%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Media.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C265%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Image.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C272%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Animation.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C279%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Transition.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C290%2C2%5D)\n"}} +{"contents": {"kind": "markdown", "value": "```rescript\nReactDOMProps.t\n```\n\n---\n\n```\n \n```\n```rescript\ntype ReactDOMProps.t = {\n allow?: string,\n accessKey?: string,\n capture?: [#environment | #user],\n className?: string,\n contentEditable?: bool,\n contextMenu?: string,\n dataTestId?: string,\n dir?: string,\n draggable?: bool,\n hidden?: bool,\n id?: string,\n inert?: bool,\n lang?: string,\n popover?: popover,\n popoverTarget?: string,\n popoverTargetAction?: popoverTargetAction,\n role?: string,\n spellCheck?: bool,\n tabIndex?: int,\n title?: string,\n accept?: string,\n acceptCharset?: string,\n action?: string,\n allowFullScreen?: bool,\n alt?: string,\n as_?: string,\n async?: bool,\n autoComplete?: string,\n autoCapitalize?: string,\n autoFocus?: bool,\n autoPlay?: bool,\n challenge?: string,\n charSet?: string,\n checked?: bool,\n cite?: string,\n crossOrigin?: string,\n cols?: int,\n colSpan?: int,\n content?: string,\n controls?: bool,\n coords?: string,\n data?: string,\n dateTime?: string,\n default?: bool,\n defer?: bool,\n disabled?: bool,\n download?: string,\n encType?: string,\n form?: string,\n formAction?: string,\n formTarget?: string,\n formMethod?: string,\n frameBorder?: int,\n headers?: string,\n height?: string,\n high?: int,\n href?: string,\n hrefLang?: string,\n htmlFor?: string,\n httpEquiv?: string,\n icon?: string,\n inputMode?: string,\n integrity?: string,\n keyType?: string,\n kind?: string,\n label?: string,\n list?: string,\n loading?: [#eager | #lazy],\n loop?: bool,\n low?: int,\n manifest?: string,\n max?: string,\n maxLength?: int,\n media?: string,\n mediaGroup?: string,\n method?: string,\n min?: string,\n minLength?: int,\n multiple?: bool,\n muted?: bool,\n name?: string,\n nonce?: string,\n noValidate?: bool,\n open_?: bool,\n optimum?: int,\n pattern?: string,\n placeholder?: string,\n playsInline?: bool,\n poster?: string,\n preload?: string,\n radioGroup?: string,\n readOnly?: bool,\n rel?: string,\n required?: bool,\n reversed?: bool,\n rows?: int,\n rowSpan?: int,\n sandbox?: string,\n scope?: string,\n scoped?: bool,\n scrolling?: string,\n shape?: string,\n size?: int,\n sizes?: string,\n span?: int,\n src?: string,\n srcDoc?: string,\n srcLang?: string,\n srcSet?: string,\n start?: int,\n step?: float,\n summary?: string,\n target?: string,\n type_?: string,\n useMap?: string,\n value?: string,\n width?: string,\n wrap?: string,\n ariaCurrent?: [\n | #date\n | #\"false\"\n | #location\n | #page\n | #step\n | #time\n | #\"true\"\n ],\n ariaDetails?: string,\n ariaDisabled?: bool,\n ariaHidden?: bool,\n ariaInvalid?: [#\"false\" | #grammar | #spelling | #\"true\"],\n ariaKeyshortcuts?: string,\n ariaLabel?: string,\n ariaRoledescription?: string,\n ariaAutocomplete?: [#both | #inline | #list | #none],\n ariaChecked?: [#\"false\" | #mixed | #\"true\"],\n ariaExpanded?: bool,\n ariaHaspopup?: [\n | #dialog\n | #\"false\"\n | #grid\n | #listbox\n | #menu\n | #tree\n | #\"true\"\n ],\n ariaLevel?: int,\n ariaModal?: bool,\n ariaMultiline?: bool,\n ariaMultiselectable?: bool,\n ariaOrientation?: [#horizontal | #undefined | #vertical],\n ariaPlaceholder?: string,\n ariaPressed?: [#\"false\" | #mixed | #\"true\"],\n ariaReadonly?: bool,\n ariaRequired?: bool,\n ariaSelected?: bool,\n ariaSort?: string,\n ariaValuemax?: float,\n ariaValuemin?: float,\n ariaValuenow?: float,\n ariaValuetext?: string,\n ariaAtomic?: bool,\n ariaBusy?: bool,\n ariaLive?: [#assertive | #off | #polite | #rude],\n ariaRelevant?: string,\n ariaDropeffect?: [\n | #copy\n | #execute\n | #link\n | #move\n | #none\n | #popup\n ],\n ariaGrabbed?: bool,\n ariaActivedescendant?: string,\n ariaColcount?: int,\n ariaColindex?: int,\n ariaColspan?: int,\n ariaControls?: string,\n ariaDescribedby?: string,\n ariaErrormessage?: string,\n ariaFlowto?: string,\n ariaLabelledby?: string,\n ariaOwns?: string,\n ariaPosinset?: int,\n ariaRowcount?: int,\n ariaRowindex?: int,\n ariaRowspan?: int,\n ariaSetsize?: int,\n itemID?: string,\n itemProp?: string,\n itemRef?: string,\n itemScope?: bool,\n itemType?: string,\n onCopy?: JsxEvent.Clipboard.t => unit,\n onCut?: JsxEvent.Clipboard.t => unit,\n onPaste?: JsxEvent.Clipboard.t => unit,\n onCompositionEnd?: JsxEvent.Composition.t => unit,\n onCompositionStart?: JsxEvent.Composition.t => unit,\n onCompositionUpdate?: JsxEvent.Composition.t => unit,\n onKeyDown?: JsxEvent.Keyboard.t => unit,\n onKeyPress?: JsxEvent.Keyboard.t => unit,\n onKeyUp?: JsxEvent.Keyboard.t => unit,\n onFocus?: JsxEvent.Focus.t => unit,\n onBlur?: JsxEvent.Focus.t => unit,\n onBeforeInput?: JsxEvent.Form.t => unit,\n onChange?: JsxEvent.Form.t => unit,\n onInput?: JsxEvent.Form.t => unit,\n onReset?: JsxEvent.Form.t => unit,\n onSubmit?: JsxEvent.Form.t => unit,\n onInvalid?: JsxEvent.Form.t => unit,\n onClick?: JsxEvent.Mouse.t => unit,\n onContextMenu?: JsxEvent.Mouse.t => unit,\n onDoubleClick?: JsxEvent.Mouse.t => unit,\n onDrag?: JsxEvent.Mouse.t => unit,\n onDragEnd?: JsxEvent.Mouse.t => unit,\n onDragEnter?: JsxEvent.Mouse.t => unit,\n onDragExit?: JsxEvent.Mouse.t => unit,\n onDragLeave?: JsxEvent.Mouse.t => unit,\n onDragOver?: JsxEvent.Mouse.t => unit,\n onDragStart?: JsxEvent.Mouse.t => unit,\n onDrop?: JsxEvent.Mouse.t => unit,\n onMouseDown?: JsxEvent.Mouse.t => unit,\n onMouseEnter?: JsxEvent.Mouse.t => unit,\n onMouseLeave?: JsxEvent.Mouse.t => unit,\n onMouseMove?: JsxEvent.Mouse.t => unit,\n onMouseOut?: JsxEvent.Mouse.t => unit,\n onMouseOver?: JsxEvent.Mouse.t => unit,\n onMouseUp?: JsxEvent.Mouse.t => unit,\n onSelect?: JsxEvent.Selection.t => unit,\n onTouchCancel?: JsxEvent.Touch.t => unit,\n onTouchEnd?: JsxEvent.Touch.t => unit,\n onTouchMove?: JsxEvent.Touch.t => unit,\n onTouchStart?: JsxEvent.Touch.t => unit,\n onPointerOver?: JsxEvent.Pointer.t => unit,\n onPointerEnter?: JsxEvent.Pointer.t => unit,\n onPointerDown?: JsxEvent.Pointer.t => unit,\n onPointerMove?: JsxEvent.Pointer.t => unit,\n onPointerUp?: JsxEvent.Pointer.t => unit,\n onPointerCancel?: JsxEvent.Pointer.t => unit,\n onPointerOut?: JsxEvent.Pointer.t => unit,\n onPointerLeave?: JsxEvent.Pointer.t => unit,\n onGotPointerCapture?: JsxEvent.Pointer.t => unit,\n onLostPointerCapture?: JsxEvent.Pointer.t => unit,\n onScroll?: JsxEvent.UI.t => unit,\n onWheel?: JsxEvent.Wheel.t => unit,\n onAbort?: JsxEvent.Media.t => unit,\n onCanPlay?: JsxEvent.Media.t => unit,\n onCanPlayThrough?: JsxEvent.Media.t => unit,\n onDurationChange?: JsxEvent.Media.t => unit,\n onEmptied?: JsxEvent.Media.t => unit,\n onEncrypted?: JsxEvent.Media.t => unit,\n onEnded?: JsxEvent.Media.t => unit,\n onError?: JsxEvent.Media.t => unit,\n onLoadedData?: JsxEvent.Media.t => unit,\n onLoadedMetadata?: JsxEvent.Media.t => unit,\n onLoadStart?: JsxEvent.Media.t => unit,\n onPause?: JsxEvent.Media.t => unit,\n onPlay?: JsxEvent.Media.t => unit,\n onPlaying?: JsxEvent.Media.t => unit,\n onProgress?: JsxEvent.Media.t => unit,\n onRateChange?: JsxEvent.Media.t => unit,\n onSeeked?: JsxEvent.Media.t => unit,\n onSeeking?: JsxEvent.Media.t => unit,\n onStalled?: JsxEvent.Media.t => unit,\n onSuspend?: JsxEvent.Media.t => unit,\n onTimeUpdate?: JsxEvent.Media.t => unit,\n onVolumeChange?: JsxEvent.Media.t => unit,\n onWaiting?: JsxEvent.Media.t => unit,\n onLoad?: JsxEvent.Image.t => unit,\n onAnimationStart?: JsxEvent.Animation.t => unit,\n onAnimationEnd?: JsxEvent.Animation.t => unit,\n onAnimationIteration?: JsxEvent.Animation.t => unit,\n onTransitionEnd?: JsxEvent.Transition.t => unit,\n accentHeight?: string,\n accumulate?: string,\n additive?: string,\n alignmentBaseline?: string,\n allowReorder?: string,\n alphabetic?: string,\n amplitude?: string,\n arabicForm?: string,\n ascent?: string,\n attributeName?: string,\n attributeType?: string,\n autoReverse?: string,\n azimuth?: string,\n baseFrequency?: string,\n baseProfile?: string,\n baselineShift?: string,\n bbox?: string,\n begin?: string,\n begin_?: string,\n bias?: string,\n by?: string,\n calcMode?: string,\n capHeight?: string,\n clip?: string,\n clipPath?: string,\n clipPathUnits?: string,\n clipRule?: string,\n colorInterpolation?: string,\n colorInterpolationFilters?: string,\n colorProfile?: string,\n colorRendering?: string,\n contentScriptType?: string,\n contentStyleType?: string,\n cursor?: string,\n cx?: string,\n cy?: string,\n d?: string,\n decelerate?: string,\n descent?: string,\n diffuseConstant?: string,\n direction?: string,\n display?: string,\n divisor?: string,\n dominantBaseline?: string,\n dur?: string,\n dx?: string,\n dy?: string,\n edgeMode?: string,\n elevation?: string,\n enableBackground?: string,\n end?: string,\n end_?: string,\n exponent?: string,\n externalResourcesRequired?: string,\n fill?: string,\n fillOpacity?: string,\n fillRule?: string,\n filter?: string,\n filterRes?: string,\n filterUnits?: string,\n floodColor?: string,\n floodOpacity?: string,\n focusable?: string,\n fontFamily?: string,\n fontSize?: string,\n fontSizeAdjust?: string,\n fontStretch?: string,\n fontStyle?: string,\n fontVariant?: string,\n fontWeight?: string,\n fomat?: string,\n from?: string,\n fx?: string,\n fy?: string,\n g1?: string,\n g2?: string,\n glyphName?: string,\n glyphOrientationHorizontal?: string,\n glyphOrientationVertical?: string,\n glyphRef?: string,\n gradientTransform?: string,\n gradientUnits?: string,\n hanging?: string,\n horizAdvX?: string,\n horizOriginX?: string,\n ideographic?: string,\n imageRendering?: string,\n in_?: string,\n in2?: string,\n intercept?: string,\n k?: string,\n k1?: string,\n k2?: string,\n k3?: string,\n k4?: string,\n kernelMatrix?: string,\n kernelUnitLength?: string,\n kerning?: string,\n keyPoints?: string,\n keySplines?: string,\n keyTimes?: string,\n lengthAdjust?: string,\n letterSpacing?: string,\n lightingColor?: string,\n limitingConeAngle?: string,\n local?: string,\n markerEnd?: string,\n markerHeight?: string,\n markerMid?: string,\n markerStart?: string,\n markerUnits?: string,\n markerWidth?: string,\n mask?: string,\n maskContentUnits?: string,\n maskUnits?: string,\n mathematical?: string,\n mode?: string,\n numOctaves?: string,\n offset?: string,\n opacity?: string,\n operator?: string,\n order?: string,\n orient?: string,\n orientation?: string,\n origin?: string,\n overflow?: string,\n overflowX?: string,\n overflowY?: string,\n overlinePosition?: string,\n overlineThickness?: string,\n paintOrder?: string,\n panose1?: string,\n pathLength?: string,\n patternContentUnits?: string,\n patternTransform?: string,\n patternUnits?: string,\n pointerEvents?: string,\n points?: string,\n pointsAtX?: string,\n pointsAtY?: string,\n pointsAtZ?: string,\n preserveAlpha?: string,\n preserveAspectRatio?: string,\n primitiveUnits?: string,\n r?: string,\n radius?: string,\n referrerPolicy?: string,\n refX?: string,\n refY?: string,\n renderingIntent?: string,\n repeatCount?: string,\n repeatDur?: string,\n requiredExtensions?: string,\n requiredFeatures?: string,\n restart?: string,\n result?: string,\n rotate?: string,\n rx?: string,\n ry?: string,\n scale?: string,\n seed?: string,\n shapeRendering?: string,\n slope?: string,\n slot?: string,\n spacing?: string,\n specularConstant?: string,\n specularExponent?: string,\n speed?: string,\n spreadMethod?: string,\n startOffset?: string,\n stdDeviation?: string,\n stemh?: string,\n stemv?: string,\n stitchTiles?: string,\n stopColor?: string,\n stopOpacity?: string,\n strikethroughPosition?: string,\n strikethroughThickness?: string,\n string?: string,\n stroke?: string,\n strokeDasharray?: string,\n strokeDashoffset?: string,\n strokeLinecap?: string,\n strokeLinejoin?: string,\n strokeMiterlimit?: string,\n strokeOpacity?: string,\n strokeWidth?: string,\n surfaceScale?: string,\n systemLanguage?: string,\n tableValues?: string,\n targetX?: string,\n targetY?: string,\n textAnchor?: string,\n textDecoration?: string,\n textLength?: string,\n textRendering?: string,\n to?: string,\n to_?: string,\n transform?: string,\n u1?: string,\n u2?: string,\n underlinePosition?: string,\n underlineThickness?: string,\n unicode?: string,\n unicodeBidi?: string,\n unicodeRange?: string,\n unitsPerEm?: string,\n vAlphabetic?: string,\n vHanging?: string,\n vIdeographic?: string,\n vMathematical?: string,\n values?: string,\n vectorEffect?: string,\n version?: string,\n vertAdvX?: string,\n vertAdvY?: string,\n vertOriginX?: string,\n vertOriginY?: string,\n viewBox?: string,\n viewTarget?: string,\n visibility?: string,\n widths?: string,\n wordSpacing?: string,\n writingMode?: string,\n x?: string,\n x1?: string,\n x2?: string,\n xChannelSelector?: string,\n xHeight?: string,\n xlinkActuate?: string,\n xlinkArcrole?: string,\n xlinkHref?: string,\n xlinkRole?: string,\n xlinkShow?: string,\n xlinkTitle?: string,\n xlinkType?: string,\n xmlns?: string,\n xmlnsXlink?: string,\n xmlBase?: string,\n xmlLang?: string,\n xmlSpace?: string,\n y?: string,\n y1?: string,\n y2?: string,\n yChannelSelector?: string,\n z?: string,\n zoomAndPan?: string,\n about?: string,\n datatype?: string,\n inlist?: string,\n prefix?: string,\n property?: string,\n resource?: string,\n typeof?: string,\n vocab?: string,\n children?: Jsx.element,\n dangerouslySetInnerHTML?: {\"__html\": string},\n defaultChecked?: bool,\n defaultValue?: string,\n key?: string,\n ref?: domRef,\n selected?: bool,\n suppressContentEditableWarning?: bool,\n style?: style,\n}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22ReactDOMProps.res%22%2C634%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype popover =\n | @as(\"auto\") Auto\n | @as(\"manual\") Manual\n | @as(\"hint\") Hint\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22ReactDOMProps.res%22%2C12%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype popoverTargetAction =\n | @as(\"toggle\") Toggle\n | @as(\"show\") Show\n | @as(\"hide\") Hide\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22ReactDOMProps.res%22%2C17%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Clipboard.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C77%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Composition.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C87%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Keyboard.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C96%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Focus.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C118%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Form.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C128%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Mouse.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C135%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Selection.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C212%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Touch.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C219%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Pointer.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C164%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.UI.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C242%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Wheel.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C253%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Media.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C265%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Image.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C272%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Animation.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C279%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype JsxEvent.Transition.t = synthetic\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxEvent.res%22%2C290%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype Jsx.element\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Jsx.res%22%2C7%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype domRef\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22ReactDOMProps.res%22%2C7%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype style = JsxDOMStyle.t\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22ReactDOMProps.res%22%2C6%2C0%5D)\n"}} Hover src/Completion.res 352:17 Nothing at that position. Now trying to use completion. diff --git a/tests/analysis_tests/tests/src/expected/CompletionInferValues.res.txt b/tests/analysis_tests/tests/src/expected/CompletionInferValues.res.txt index a8840ab77e..eb469d664e 100644 --- a/tests/analysis_tests/tests/src/expected/CompletionInferValues.res.txt +++ b/tests/analysis_tests/tests/src/expected/CompletionInferValues.res.txt @@ -275,17 +275,7 @@ Path event ContextPath CArgument CJsxPropValue [div] onMouseEnter($0) ContextPath CJsxPropValue [div] onMouseEnter Path ReactDOM.domProps -Path JsxDOM.domProps -CPPipe pathFromEnv:JsxEvent.Mouse found:false -Path JsxEvent.Mouse.pr -Path pr -[{ - "label": "JsxEvent.Mouse.preventDefault", - "kind": 12, - "tags": [], - "detail": "t => unit", - "documentation": null - }] +[] Complete src/CompletionInferValues.res 44:50 posCursor:[44:50] posNoWhite:[44:49] Found expr:[44:11->44:56] diff --git a/tests/analysis_tests/tests/src/expected/CompletionJsx.res.txt b/tests/analysis_tests/tests/src/expected/CompletionJsx.res.txt index 4ef9123b44..09e5468a97 100644 --- a/tests/analysis_tests/tests/src/expected/CompletionJsx.res.txt +++ b/tests/analysis_tests/tests/src/expected/CompletionJsx.res.txt @@ -629,14 +629,8 @@ Completable: Cjsx([h1], hidd, [hidd]) Package opens Stdlib.place holder Pervasives.JsxModules.place holder Resolved opens 1 Stdlib Path ReactDOM.domProps -Path JsxDOM.domProps -[{ - "label": "hidden", - "kind": 4, - "tags": [], - "detail": "bool", - "documentation": null - }] +[completing-lowercase-jsx] could not find element props to complete from. +[] Complete src/CompletionJsx.res 61:30 posCursor:[61:30] posNoWhite:[61:28] Found expr:[61:3->61:29] diff --git a/tests/analysis_tests/tests/src/expected/CompletionJsxProps.res.txt b/tests/analysis_tests/tests/src/expected/CompletionJsxProps.res.txt index af410bf97a..1ac929bd62 100644 --- a/tests/analysis_tests/tests/src/expected/CompletionJsxProps.res.txt +++ b/tests/analysis_tests/tests/src/expected/CompletionJsxProps.res.txt @@ -223,20 +223,7 @@ Package opens Stdlib.place holder Pervasives.JsxModules.place holder Resolved opens 1 Stdlib ContextPath CJsxPropValue [div] muted Path ReactDOM.domProps -Path JsxDOM.domProps -[{ - "label": "true", - "kind": 4, - "tags": [], - "detail": "bool", - "documentation": null - }, { - "label": "false", - "kind": 4, - "tags": [], - "detail": "bool", - "documentation": null - }] +[] Complete src/CompletionJsxProps.res 18:29 posCursor:[18:29] posNoWhite:[18:28] Found expr:[18:11->18:32] @@ -246,17 +233,7 @@ Package opens Stdlib.place holder Pervasives.JsxModules.place holder Resolved opens 1 Stdlib ContextPath CJsxPropValue [div] onMouseEnter Path ReactDOM.domProps -Path JsxDOM.domProps -[{ - "label": "event => event", - "kind": 12, - "tags": [], - "detail": "JsxEvent.Mouse.t => unit", - "documentation": null, - "sortText": "A", - "insertText": "{${1:event} => ${0:event}}", - "insertTextFormat": 2 - }] +[] Complete src/CompletionJsxProps.res 22:52 posCursor:[22:52] posNoWhite:[22:51] Found expr:[22:11->22:52] diff --git a/tests/analysis_tests/tests/src/expected/Div.res.txt b/tests/analysis_tests/tests/src/expected/Div.res.txt index deb951ada8..966984d6bc 100644 --- a/tests/analysis_tests/tests/src/expected/Div.res.txt +++ b/tests/analysis_tests/tests/src/expected/Div.res.txt @@ -8,12 +8,6 @@ Completable: Cjsx([div], dangerous, [dangerous]) Package opens Stdlib.place holder Pervasives.JsxModules.place holder Resolved opens 1 Stdlib Path ReactDOM.domProps -Path JsxDOM.domProps -[{ - "label": "dangerouslySetInnerHTML", - "kind": 4, - "tags": [], - "detail": "{\"__html\": string}", - "documentation": null - }] +[completing-lowercase-jsx] could not find element props to complete from. +[] diff --git a/tests/analysis_tests/tests/src/expected/Fragment.res.txt b/tests/analysis_tests/tests/src/expected/Fragment.res.txt index 689d63155e..c2601ef121 100644 --- a/tests/analysis_tests/tests/src/expected/Fragment.res.txt +++ b/tests/analysis_tests/tests/src/expected/Fragment.res.txt @@ -1,6 +1,6 @@ Hover src/Fragment.res 6:19 -{"contents": {"kind": "markdown", "value": "```rescript\nReact.component>\n```\n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C12%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype SectionHeader.props<'children> = {children: 'children}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Fragment.res%22%2C1%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype React.element = Jsx.element\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C0%2C0%5D)\n"}} +{"contents": {"kind": "markdown", "value": "```rescript\nReact.component>\n```\n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C13%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype SectionHeader.props<'children> = {children: 'children}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Fragment.res%22%2C1%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype React.element = Jsx.element\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C0%2C0%5D)\n"}} Hover src/Fragment.res 9:56 -{"contents": {"kind": "markdown", "value": "```rescript\nReact.component\n```\n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C12%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype React.fragmentProps = {children?: element}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C41%2C0%5D)\n"}} +{"contents": {"kind": "markdown", "value": "```rescript\nReact.component\n```\n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C13%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype React.fragmentProps = {children?: element}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C42%2C0%5D)\n"}} diff --git a/tests/analysis_tests/tests/src/expected/Jsx2.res.txt b/tests/analysis_tests/tests/src/expected/Jsx2.res.txt index 66920cb633..ae7f3f1925 100644 --- a/tests/analysis_tests/tests/src/expected/Jsx2.res.txt +++ b/tests/analysis_tests/tests/src/expected/Jsx2.res.txt @@ -472,17 +472,7 @@ Package opens Stdlib.place holder Pervasives.JsxModules.place holder Resolved opens 1 Stdlib ContextPath CJsxPropValue [div] x Path ReactDOM.domProps -Path JsxDOM.domProps -[{ - "label": "\"\"", - "kind": 12, - "tags": [], - "detail": "string", - "documentation": null, - "sortText": "A", - "insertText": "{\"$0\"}", - "insertTextFormat": 2 - }] +[] Complete src/Jsx2.res 150:21 posCursor:[150:21] posNoWhite:[150:20] Found expr:[150:11->150:32] diff --git a/tests/analysis_tests/tests/src/expected/JsxV4.res.txt b/tests/analysis_tests/tests/src/expected/JsxV4.res.txt index ea1e781cb4..5c8085c298 100644 --- a/tests/analysis_tests/tests/src/expected/JsxV4.res.txt +++ b/tests/analysis_tests/tests/src/expected/JsxV4.res.txt @@ -17,7 +17,7 @@ Path M4.make }] Hover src/JsxV4.res 14:9 -{"contents": {"kind": "markdown", "value": "```rescript\nReact.component>\n```\n---\n Doc Comment For M4 \n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C12%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype M4.props<'first, 'fun, 'second> = {\n first: 'first,\n fun?: 'fun,\n second?: 'second,\n}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxV4.res%22%2C3%2C2%5D)\n"}} +{"contents": {"kind": "markdown", "value": "```rescript\nReact.component>\n```\n---\n Doc Comment For M4 \n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C13%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype M4.props<'first, 'fun, 'second> = {\n first: 'first,\n fun?: 'fun,\n second?: 'second,\n}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxV4.res%22%2C3%2C2%5D)\n"}} Create Interface src/JsxV4.res module M4: { diff --git a/tests/dependencies/rescript-react/package.json b/tests/dependencies/rescript-react/package.json index 71321b3ec6..722525d1dc 100644 --- a/tests/dependencies/rescript-react/package.json +++ b/tests/dependencies/rescript-react/package.json @@ -1,7 +1,7 @@ { "name": "@rescript/react", "private": true, - "version": "13.0.0-alpha.3", + "version": "0.14.2", "homepage": "https://rescript-lang.org", "bugs": "https://github.com/rescript-lang/rescript/issues", "repository": { diff --git a/tests/dependencies/rescript-react/src/React.res b/tests/dependencies/rescript-react/src/React.res index 0beaa59080..4eb876a264 100644 --- a/tests/dependencies/rescript-react/src/React.res +++ b/tests/dependencies/rescript-react/src/React.res @@ -5,6 +5,7 @@ type element = Jsx.element external float: float => element = "%identity" external int: int => element = "%identity" external string: string => element = "%identity" +external promise: promise => element = "%identity" external array: array => element = "%identity" @@ -250,6 +251,9 @@ external useCallback7: ('callback, ('a, 'b, 'c, 'd, 'e, 'f, 'g)) => 'callback = @module("react") external useContext: Context.t<'any> => 'any = "useContext" +@module("react") +external usePromise: promise<'a> => 'a = "use" + @module("react") external useRef: 'value => ref<'value> = "useRef" @module("react") @@ -309,10 +313,9 @@ external useImperativeHandle7: ( @module("react") external useId: unit => string = "useId" -@module("react") external useDeferredValue: 'value => 'value = "useDeferredValue" - +/** `useDeferredValue` is a React Hook that lets you defer updating a part of the UI. */ @module("react") -external useTransition: unit => (bool, (unit => unit) => unit) = "useTransition" +external useDeferredValue: ('value, ~initialValue: 'value=?) => 'value = "useDeferredValue" @module("react") external useInsertionEffectOnEveryRender: (unit => option unit>) => unit = @@ -405,3 +408,76 @@ external setDisplayName: (component<'props>, string) => unit = "displayName" @get @return(nullable) external displayName: component<'props> => option = "displayName" + +// Actions + +type transitionFunction = unit => unit +type transitionStartFunction = transitionFunction => unit + +type transitionFunctionAsync = unit => promise +type transitionStartFunctionAsync = transitionFunctionAsync => unit + +/** `startTransition` lets you render a part of the UI in the background. */ +@module("react") +external startTransition: transitionStartFunction = "startTransition" +@module("react") +external startTransitionAsync: transitionStartFunctionAsync = "startTransition" + +/** `useTransition` is a React Hook that lets you render a part of the UI in the background. */ +@module("react") +external useTransition: unit => (bool, transitionStartFunction) = "useTransition" +@module("react") +external useTransitionAsync: unit => (bool, transitionStartFunctionAsync) = "useTransition" + +type action<'state, 'payload> = ('state, 'payload) => promise<'state> + +type formAction<'formData> = 'formData => promise + +/** `useActionState` is a Hook that allows you to update state based on the result of a form action. */ +@module("react") +external useActionState: ( + action<'state, 'payload>, + 'state, + ~permalink: string=?, +) => ('state, formAction<'payload>, bool) = "useActionState" + +/** `useOptimistic` is a React Hook that lets you optimistically update the UI. */ +@module("react") +external useOptimistic: ( + 'state, + ~updateFn: ('state, 'action) => 'state=?, +) => ('state, 'action => unit) = "useOptimistic" + +/** `act` is a test helper to apply pending React updates before making assertions. */ +@module("react") +external act: (unit => promise) => promise = "act" + +/** +captureOwnerStack reads the current Owner Stack in development and returns it as a string if available. +[Read more on the React Documentation](https://react.dev/reference/react/captureOwnerStack) +*/ +@module("react") +@return(null_to_opt) +external captureOwnerStack: unit => option = "captureOwnerStack" + +/** + lets you hide and restore the UI and internal state of its children. +[Read more on the React Documentation](https://react.dev/reference/react/Activity) +*/ +module Activity = { + type mode = + | @as("visible") Visible + | @as("hidden") Hidden + + type props = {mode?: mode, children: element, name?: string} + + @module("react") + external make: component = "Activity" +} + +/** +useEffectEvent is a React Hook that lets you extract non-reactive logic from your Effects into a reusable function called an Effect Event. +[Read more on the React Documentation](https://react.dev/reference/react/useEffectEvent) +*/ +@module("react") +external useEffectEvent: (unit => unit) => unit = "useEffectEvent" diff --git a/tests/dependencies/rescript-react/src/ReactDOM.res b/tests/dependencies/rescript-react/src/ReactDOM.res index 04c39c2647..d87f61abad 100644 --- a/tests/dependencies/rescript-react/src/ReactDOM.res +++ b/tests/dependencies/rescript-react/src/ReactDOM.res @@ -25,6 +25,52 @@ module Client = { external hydrateRoot: (Dom.element, React.element) => Root.t = "hydrateRoot" } +// Very rudimentary form data bindings +module FormData = { + type t + type file + + type formValue = + | String(string) + | File(file) + + @new external make: unit => t = "FormData" + + @send external append: (t, string, ~filename: string=?) => unit = "append" + @send external delete: (t, string) => unit = "delete" + @return(nullable) @send external getUnsafe: (t, string) => option<'a> = "get" + @send external getAllUnsafe: (t, string) => array<'a> = "getAll" + + let getString = (formData, name) => { + switch formData->getUnsafe(name) { + | Some(value) => Js.typeof(value) === "string" ? Some(value) : None + | _ => None + } + } + + external _asFile: 'a => file = "%identity" + + let getFile = (formData, name) => { + switch formData->getUnsafe(name) { + | Some(value) => Js.typeof(value) === "string" ? None : Some(value->_asFile) + | _ => None + } + } + + let getAll = (t, string) => { + t + ->getAllUnsafe(string) + ->Js.Array2.map(value => { + Js.typeof(value) === "string" ? String(value) : File(value->_asFile) + }) + } + + @send external set: (string, string) => unit = "set" + @send external has: string => bool = "has" + // @send external keys: t => Iterator.t = "keys"; + // @send external values: t => Iterator.t = "values"; +} + @module("react-dom") external createPortal: (React.element, Dom.element) => React.element = "createPortal" @@ -37,37 +83,165 @@ type domRef = JsxDOM.domRef module Ref = { type t = domRef type currentDomRef = React.ref> - type callbackDomRef = Js.nullable => unit + type callbackDomRef = Js.nullable => option unit> external domRef: currentDomRef => domRef = "%identity" external callbackDomRef: callbackDomRef => domRef = "%identity" } -type domProps = JsxDOM.domProps +// Hooks + +type formStatus<'state> = { + /** If true, this means the parent
is pending submission. Otherwise, false. */ + pending: bool, + /** An object implementing the FormData interface that contains the data the parent is submitting. If there is no active submission or no parent , it will be null. */ + data: FormData.t, + /** This represents whether the parent is submitting with either a GET or POST HTTP method. By default, a will use the GET method and can be specified by the method property. */ + method: [#get | #post], + /** A reference to the function passed to the action prop on the parent . If there is no parent , the property is null. If there is a URI value provided to the action prop, or no action prop specified, status.action will be null. */ + action: React.action<'state, FormData.t>, +} + +external formAction: React.formAction => string = "%identity" + +/** `useFormStatus` is a Hook that gives you status information of the last form submission. */ +@module("react-dom") +external useFormStatus: unit => formStatus<'state> = "useFormStatus" + +// Resource Preloading APIs + +/** The CORS policy to use. */ +type crossOrigin = [ + | #anonymous + | #"use-credentials" +] + +/** The Referrer header to send when fetching. */ +type referrerPolicy = [ + | #"referrer-when-downgrade" + | #"no-referrer" + | #origin + | #"origin-when-cross-origin" + | #"unsafe-url" +] + +/** Suggests a relative priority for fetching the resource. */ +type fetchPriority = [#auto | #high | #low] + +/** `prefetchDNS` lets you eagerly look up the IP of a server that you expect to load resources from. */ +@module("react-dom") +external prefetchDNS: string => unit = "prefetchDNS" + +/** `preconnect` lets you eagerly connect to a server that you expect to load resources from. */ +@module("react-dom") +external preconnect: string => unit = "preconnect" + +type preloadOptions = { + /** The type of resource. */ + @as("as") + as_: [ + | #audio + | #document + | #embed + | #fetch + | #font + | #image + | #object + | #script + | #style + | #track + | #video + | #worker + ], + /** The CORS policy to use. It is required when as is set to "fetch". */ + crossOrigin?: crossOrigin, + /** The Referrer header to send when fetching. */ + referrerPolicy?: referrerPolicy, + /** A cryptographic hash of the resource, to verify its authenticity. */ + integrity?: string, + /** The MIME type of the resource. */ + @as("type") + type_?: string, + /** A cryptographic nonce to allow the resource when using a strict Content Security Policy. */ + nonce?: string, + /** Suggests a relative priority for fetching the resource. */ + fetchPriority?: fetchPriority, + /** For use only with as: "image". Specifies the source set of the image. */ + imageSrcSet?: string, + /** For use only with as: "image". Specifies the sizes of the image. */ + imageSizes?: string, +} + +/** `preload` lets you eagerly fetch a resource such as a stylesheet, font, or external script that you expect to use. */ +@module("react-dom") +external preload: (string, preloadOptions) => unit = "preload" + +type preloadModuleOptions = { + /** The type of resource. */ + @as("as") + as_: [#script], + /** The CORS policy to use. It is required when as is set to "fetch". */ + crossOrigin?: crossOrigin, + /** A cryptographic hash of the resource, to verify its authenticity. */ + integrity?: string, + /** A cryptographic nonce to allow the resource when using a strict Content Security Policy. */ + nonce?: string, +} + +/** `preloadModule` lets you eagerly fetch an ESM module that you expect to use. */ +@module("react-dom") +external preloadModule: (string, preloadModuleOptions) => unit = "preloadModule" + +type preinitOptions = { + /** The type of resource. */ + @as("as") + as_: [#script | #style], + /** Required with stylesheets. Says where to insert the stylesheet relative to others. Stylesheets with higher precedence can override those with lower precedence. */ + precedence?: [#reset | #low | #medium | #high], + /** The CORS policy to use. It is required when as is set to "fetch". */ + crossOrigin?: crossOrigin, + /** The Referrer header to send when fetching. */ + referrerPolicy?: referrerPolicy, + /** A cryptographic hash of the resource, to verify its authenticity. */ + integrity?: string, + nonce?: string, + /** Suggests a relative priority for fetching the resource. */ + fetchPriority?: fetchPriority, +} + +/** `preinit` lets you eagerly fetch and evaluate a stylesheet or external script. */ +@module("react-dom") +external preinit: (string, preinitOptions) => unit = "preinit" + +/** To preinit an ESM module, call the `preinitModule` function from react-dom. */ +@module("react-dom") +external preinitModule: (string, preloadModuleOptions) => unit = "preinitModule" + +// Runtime @variadic @module("react") -external createElement: (string, ~props: domProps=?, array) => React.element = +external createElement: (string, ~props: ReactDOMProps.t=?, array) => React.element = "createElement" @variadic @module("react") external createDOMElementVariadic: ( string, - ~props: domProps=?, + ~props: ReactDOMProps.t=?, array, ) => React.element = "createElement" external someElement: React.element => option = "%identity" @module("react/jsx-runtime") -external jsx: (string, JsxDOM.domProps) => Jsx.element = "jsx" +external jsx: (string, ReactDOMProps.t) => Jsx.element = "jsx" @module("react/jsx-runtime") -external jsxKeyed: (string, JsxDOM.domProps, ~key: string=?, @ignore unit) => Jsx.element = "jsx" +external jsxKeyed: (string, ReactDOMProps.t, ~key: string=?, @ignore unit) => Jsx.element = "jsx" @module("react/jsx-runtime") -external jsxs: (string, JsxDOM.domProps) => Jsx.element = "jsxs" +external jsxs: (string, ReactDOMProps.t) => Jsx.element = "jsxs" @module("react/jsx-runtime") -external jsxsKeyed: (string, JsxDOM.domProps, ~key: string=?, @ignore unit) => Jsx.element = "jsxs" +external jsxsKeyed: (string, ReactDOMProps.t, ~key: string=?, @ignore unit) => Jsx.element = "jsxs" module Style = ReactDOMStyle diff --git a/tests/dependencies/rescript-react/src/ReactDOMProps.res b/tests/dependencies/rescript-react/src/ReactDOMProps.res new file mode 100644 index 0000000000..20265f9cab --- /dev/null +++ b/tests/dependencies/rescript-react/src/ReactDOMProps.res @@ -0,0 +1,644 @@ +/* Copyright (C) 2015-2016 Bloomberg Finance L.P. + * Copyright (C) 2017- Hongbo Zhang, Authors of ReScript + * + * SPDX-License-Identifier: MIT + */ + +type style = JsxDOMStyle.t +type domRef + +/** + [Read more on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/popover) +*/ +type popover = | @as("auto") Auto | @as("manual") Manual | @as("hint") Hint + +/** + [Read more on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#popovertargetaction) +*/ +type popoverTargetAction = | @as("toggle") Toggle | @as("show") Show | @as("hide") Hide + +type base = { + // https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#allow + allow?: string, + accessKey?: string, + capture?: [#user | #environment], + className?: string /* substitute for "class" */, + contentEditable?: bool, + contextMenu?: string, + @as("data-testid") dataTestId?: string, + dir?: string /* "ltr", "rtl" or "auto" */, + draggable?: bool, + hidden?: bool, + id?: string, + inert?: bool, + lang?: string, + popover?: popover, + popoverTarget?: string, + popoverTargetAction?: popoverTargetAction, + role?: string /* ARIA role */, + spellCheck?: bool, + tabIndex?: int, + title?: string, + /* tag-specific html attributes */ + accept?: string, + acceptCharset?: string, + action?: string /* uri */, + allowFullScreen?: bool, + alt?: string, + @as("as") + as_?: string, + async?: bool, + autoComplete?: string /* has a fixed, but large-ish, set of possible values */, + autoCapitalize?: string /* Mobile Safari specific */, + autoFocus?: bool, + autoPlay?: bool, + challenge?: string, + charSet?: string, + checked?: bool, + cite?: string /* uri */, + crossOrigin?: string /* anonymous, use-credentials */, + cols?: int, + colSpan?: int, + content?: string, + controls?: bool, + coords?: string /* set of values specifying the coordinates of a region */, + data?: string /* uri */, + dateTime?: string /* "valid date string with optional time" */, + default?: bool, + defer?: bool, + disabled?: bool, + download?: string /* should really be either a boolean, signifying presence, or a string */, + encType?: string /* "application/x-www-form-urlencoded", "multipart/form-data" or "text/plain" */, + form?: string, + formAction?: string /* uri */, + formTarget?: string /* "_blank", "_self", etc. */, + formMethod?: string /* "post", "get", "put" */, + // https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#frameborder + frameBorder?: int /* "0", "1" */, + headers?: string, + height?: string /* in html5 this can only be a number, but in html4 it can ba a percentage as well */, + high?: int, + href?: string /* uri */, + hrefLang?: string, + htmlFor?: string /* substitute for "for" */, + httpEquiv?: string /* has a fixed set of possible values */, + icon?: string /* uri? */, + inputMode?: string /* "verbatim", "latin", "numeric", etc. */, + integrity?: string, + keyType?: string, + kind?: string /* has a fixed set of possible values */, + label?: string, + list?: string, + loading?: [#\"lazy" | #eager], + loop?: bool, + low?: int, + manifest?: string /* uri */, + max?: string /* should be int or Date.t */, + maxLength?: int, + media?: string /* a valid media query */, + mediaGroup?: string, + method?: string /* "post" or "get" */, + min?: string, + minLength?: int, + multiple?: bool, + muted?: bool, + name?: string, + nonce?: string, + noValidate?: bool, + @as("open") + open_?: bool /* use this one. Previous one is deprecated */, + optimum?: int, + pattern?: string /* valid Js RegExp */, + placeholder?: string, + playsInline?: bool, + poster?: string /* uri */, + preload?: string /* "none", "metadata" or "auto" (and "" as a synonym for "auto") */, + radioGroup?: string, + readOnly?: bool, + rel?: string /* a space- or comma-separated (depending on the element) list of a fixed set of "link types" */, + required?: bool, + reversed?: bool, + rows?: int, + rowSpan?: int, + sandbox?: string /* has a fixed set of possible values */, + scope?: string /* has a fixed set of possible values */, + scoped?: bool, + scrolling?: string /* html4 only, "auto", "yes" or "no" */, + shape?: string, + size?: int, + sizes?: string, + span?: int, + src?: string /* uri */, + srcDoc?: string, + srcLang?: string, + srcSet?: string, + start?: int, + step?: float, + summary?: string /* deprecated */, + target?: string, + @as("type") + type_?: string /* has a fixed but large-ish set of possible values */ /* use this one. Previous one is deprecated */, + useMap?: string, + value?: string, + width?: string /* in html5 this can only be a number, but in html4 it can ba a percentage as well */, + wrap?: string /* "hard" or "soft" */, +} + +type accessibility = { + /* https://www.w3.org/TR/wai-aria-1.1/ */ + /* https://accessibilityresources.org/ is a great resource for these */ + @as("aria-current") + ariaCurrent?: [#page | #step | #location | #date | #time | #"true" | #"false"], + @as("aria-details") + ariaDetails?: string, + @as("aria-disabled") + ariaDisabled?: bool, + @as("aria-hidden") + ariaHidden?: bool, + @as("aria-invalid") ariaInvalid?: [#grammar | #"false" | #spelling | #"true"], + @as("aria-keyshortcuts") + ariaKeyshortcuts?: string, + @as("aria-label") + ariaLabel?: string, + @as("aria-roledescription") + ariaRoledescription?: string, + /* Widget Attributes */ + @as("aria-autocomplete") ariaAutocomplete?: [#inline | #list | #both | #none], + /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */ + @as("aria-checked") + ariaChecked?: [#"true" | #"false" | #mixed], + @as("aria-expanded") + ariaExpanded?: bool, + @as("aria-haspopup") + ariaHaspopup?: [#menu | #listbox | #tree | #grid | #dialog | #"true" | #"false"], + @as("aria-level") + ariaLevel?: int, + @as("aria-modal") + ariaModal?: bool, + @as("aria-multiline") + ariaMultiline?: bool, + @as("aria-multiselectable") + ariaMultiselectable?: bool, + @as("aria-orientation") ariaOrientation?: [#horizontal | #vertical | #undefined], + @as("aria-placeholder") + ariaPlaceholder?: string, + /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */ + @as("aria-pressed") ariaPressed?: [#"true" | #"false" | #mixed], + @as("aria-readonly") + ariaReadonly?: bool, + @as("aria-required") + ariaRequired?: bool, + @as("aria-selected") + ariaSelected?: bool, + @as("aria-sort") + ariaSort?: string, + @as("aria-valuemax") + ariaValuemax?: float, + @as("aria-valuemin") + ariaValuemin?: float, + @as("aria-valuenow") + ariaValuenow?: float, + @as("aria-valuetext") + ariaValuetext?: string, + /* Live Region Attributes */ + @as("aria-atomic") + ariaAtomic?: bool, + @as("aria-busy") + ariaBusy?: bool, + @as("aria-live") ariaLive?: [#off | #polite | #assertive | #rude], + @as("aria-relevant") + ariaRelevant?: string, + /* Drag-and-Drop Attributes */ + @as("aria-dropeffect") ariaDropeffect?: [#copy | #move | #link | #execute | #popup | #none], + @as("aria-grabbed") + ariaGrabbed?: bool, + /* Relationship Attributes */ + @as("aria-activedescendant") + ariaActivedescendant?: string, + @as("aria-colcount") + ariaColcount?: int, + @as("aria-colindex") + ariaColindex?: int, + @as("aria-colspan") + ariaColspan?: int, + @as("aria-controls") + ariaControls?: string, + @as("aria-describedby") + ariaDescribedby?: string, + @as("aria-errormessage") + ariaErrormessage?: string, + @as("aria-flowto") + ariaFlowto?: string, + @as("aria-labelledby") + ariaLabelledby?: string, + @as("aria-owns") + ariaOwns?: string, + @as("aria-posinset") + ariaPosinset?: int, + @as("aria-rowcount") + ariaRowcount?: int, + @as("aria-rowindex") + ariaRowindex?: int, + @as("aria-rowspan") + ariaRowspan?: int, + @as("aria-setsize") + ariaSetsize?: int, +} + +type microdata = { + itemID?: string, + itemProp?: string, + itemRef?: string, + itemScope?: bool, + itemType?: string /* uri */, +} + +type events = { + /* Clipboard events */ + onCopy?: JsxEvent.Clipboard.t => unit, + onCut?: JsxEvent.Clipboard.t => unit, + onPaste?: JsxEvent.Clipboard.t => unit, + /* Composition events */ + onCompositionEnd?: JsxEvent.Composition.t => unit, + onCompositionStart?: JsxEvent.Composition.t => unit, + onCompositionUpdate?: JsxEvent.Composition.t => unit, + /* Keyboard events */ + onKeyDown?: JsxEvent.Keyboard.t => unit, + onKeyPress?: JsxEvent.Keyboard.t => unit, + onKeyUp?: JsxEvent.Keyboard.t => unit, + /* Focus events */ + onFocus?: JsxEvent.Focus.t => unit, + onBlur?: JsxEvent.Focus.t => unit, + /* Form events */ + onBeforeInput?: JsxEvent.Form.t => unit, + onChange?: JsxEvent.Form.t => unit, + onInput?: JsxEvent.Form.t => unit, + onReset?: JsxEvent.Form.t => unit, + onSubmit?: JsxEvent.Form.t => unit, + onInvalid?: JsxEvent.Form.t => unit, + /* Mouse events */ + onClick?: JsxEvent.Mouse.t => unit, + onContextMenu?: JsxEvent.Mouse.t => unit, + onDoubleClick?: JsxEvent.Mouse.t => unit, + onDrag?: JsxEvent.Mouse.t => unit, + onDragEnd?: JsxEvent.Mouse.t => unit, + onDragEnter?: JsxEvent.Mouse.t => unit, + onDragExit?: JsxEvent.Mouse.t => unit, + onDragLeave?: JsxEvent.Mouse.t => unit, + onDragOver?: JsxEvent.Mouse.t => unit, + onDragStart?: JsxEvent.Mouse.t => unit, + onDrop?: JsxEvent.Mouse.t => unit, + onMouseDown?: JsxEvent.Mouse.t => unit, + onMouseEnter?: JsxEvent.Mouse.t => unit, + onMouseLeave?: JsxEvent.Mouse.t => unit, + onMouseMove?: JsxEvent.Mouse.t => unit, + onMouseOut?: JsxEvent.Mouse.t => unit, + onMouseOver?: JsxEvent.Mouse.t => unit, + onMouseUp?: JsxEvent.Mouse.t => unit, + /* Selection events */ + onSelect?: JsxEvent.Selection.t => unit, + /* Touch events */ + onTouchCancel?: JsxEvent.Touch.t => unit, + onTouchEnd?: JsxEvent.Touch.t => unit, + onTouchMove?: JsxEvent.Touch.t => unit, + onTouchStart?: JsxEvent.Touch.t => unit, + // Pointer events + onPointerOver?: JsxEvent.Pointer.t => unit, + onPointerEnter?: JsxEvent.Pointer.t => unit, + onPointerDown?: JsxEvent.Pointer.t => unit, + onPointerMove?: JsxEvent.Pointer.t => unit, + onPointerUp?: JsxEvent.Pointer.t => unit, + onPointerCancel?: JsxEvent.Pointer.t => unit, + onPointerOut?: JsxEvent.Pointer.t => unit, + onPointerLeave?: JsxEvent.Pointer.t => unit, + onGotPointerCapture?: JsxEvent.Pointer.t => unit, + onLostPointerCapture?: JsxEvent.Pointer.t => unit, + /* UI events */ + onScroll?: JsxEvent.UI.t => unit, + /* Wheel events */ + onWheel?: JsxEvent.Wheel.t => unit, + /* Media events */ + onAbort?: JsxEvent.Media.t => unit, + onCanPlay?: JsxEvent.Media.t => unit, + onCanPlayThrough?: JsxEvent.Media.t => unit, + onDurationChange?: JsxEvent.Media.t => unit, + onEmptied?: JsxEvent.Media.t => unit, + onEncrypted?: JsxEvent.Media.t => unit, + onEnded?: JsxEvent.Media.t => unit, + onError?: JsxEvent.Media.t => unit, + onLoadedData?: JsxEvent.Media.t => unit, + onLoadedMetadata?: JsxEvent.Media.t => unit, + onLoadStart?: JsxEvent.Media.t => unit, + onPause?: JsxEvent.Media.t => unit, + onPlay?: JsxEvent.Media.t => unit, + onPlaying?: JsxEvent.Media.t => unit, + onProgress?: JsxEvent.Media.t => unit, + onRateChange?: JsxEvent.Media.t => unit, + onSeeked?: JsxEvent.Media.t => unit, + onSeeking?: JsxEvent.Media.t => unit, + onStalled?: JsxEvent.Media.t => unit, + onSuspend?: JsxEvent.Media.t => unit, + onTimeUpdate?: JsxEvent.Media.t => unit, + onVolumeChange?: JsxEvent.Media.t => unit, + onWaiting?: JsxEvent.Media.t => unit, + /* Image events */ + onLoad?: JsxEvent.Image.t => unit /* duplicate */ /* ~onError: ReactEvent.Image.t => unit=?, */, + /* Animation events */ + onAnimationStart?: JsxEvent.Animation.t => unit, + onAnimationEnd?: JsxEvent.Animation.t => unit, + onAnimationIteration?: JsxEvent.Animation.t => unit, + /* Transition events */ + onTransitionEnd?: JsxEvent.Transition.t => unit, +} + +type svg = { + accentHeight?: string, + accumulate?: string, + additive?: string, + alignmentBaseline?: string, + allowReorder?: string, + alphabetic?: string, + amplitude?: string, + arabicForm?: string, + ascent?: string, + attributeName?: string, + attributeType?: string, + autoReverse?: string, + azimuth?: string, + baseFrequency?: string, + baseProfile?: string, + baselineShift?: string, + bbox?: string, + begin?: string, + @deprecated("Please use begin") + begin_?: string, + bias?: string, + by?: string, + calcMode?: string, + capHeight?: string, + clip?: string, + clipPath?: string, + clipPathUnits?: string, + clipRule?: string, + colorInterpolation?: string, + colorInterpolationFilters?: string, + colorProfile?: string, + colorRendering?: string, + contentScriptType?: string, + contentStyleType?: string, + cursor?: string, + cx?: string, + cy?: string, + d?: string, + decelerate?: string, + descent?: string, + diffuseConstant?: string, + direction?: string, + display?: string, + divisor?: string, + dominantBaseline?: string, + dur?: string, + dx?: string, + dy?: string, + edgeMode?: string, + elevation?: string, + enableBackground?: string, + end?: string, + @deprecated("Please use end") + end_?: string, + exponent?: string, + externalResourcesRequired?: string, + fill?: string, + fillOpacity?: string, + fillRule?: string, + filter?: string, + filterRes?: string, + filterUnits?: string, + floodColor?: string, + floodOpacity?: string, + focusable?: string, + fontFamily?: string, + fontSize?: string, + fontSizeAdjust?: string, + fontStretch?: string, + fontStyle?: string, + fontVariant?: string, + fontWeight?: string, + fomat?: string, + from?: string, + fx?: string, + fy?: string, + g1?: string, + g2?: string, + glyphName?: string, + glyphOrientationHorizontal?: string, + glyphOrientationVertical?: string, + glyphRef?: string, + gradientTransform?: string, + gradientUnits?: string, + hanging?: string, + horizAdvX?: string, + horizOriginX?: string, + ideographic?: string, + imageRendering?: string, + @as("in") + in_?: string /* use this one. Previous one is deprecated */, + in2?: string, + intercept?: string, + k?: string, + k1?: string, + k2?: string, + k3?: string, + k4?: string, + kernelMatrix?: string, + kernelUnitLength?: string, + kerning?: string, + keyPoints?: string, + keySplines?: string, + keyTimes?: string, + lengthAdjust?: string, + letterSpacing?: string, + lightingColor?: string, + limitingConeAngle?: string, + local?: string, + markerEnd?: string, + markerHeight?: string, + markerMid?: string, + markerStart?: string, + markerUnits?: string, + markerWidth?: string, + mask?: string, + maskContentUnits?: string, + maskUnits?: string, + mathematical?: string, + mode?: string, + numOctaves?: string, + offset?: string, + opacity?: string, + operator?: string, + order?: string, + orient?: string, + orientation?: string, + origin?: string, + overflow?: string, + overflowX?: string, + overflowY?: string, + overlinePosition?: string, + overlineThickness?: string, + paintOrder?: string, + panose1?: string, + pathLength?: string, + patternContentUnits?: string, + patternTransform?: string, + patternUnits?: string, + pointerEvents?: string, + points?: string, + pointsAtX?: string, + pointsAtY?: string, + pointsAtZ?: string, + preserveAlpha?: string, + preserveAspectRatio?: string, + primitiveUnits?: string, + r?: string, + radius?: string, + // https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#referrerpolicy + referrerPolicy?: string, + refX?: string, + refY?: string, + renderingIntent?: string, + repeatCount?: string, + repeatDur?: string, + requiredExtensions?: string, + requiredFeatures?: string, + restart?: string, + result?: string, + rotate?: string, + rx?: string, + ry?: string, + scale?: string, + seed?: string, + shapeRendering?: string, + slope?: string, + slot?: string, + spacing?: string, + specularConstant?: string, + specularExponent?: string, + speed?: string, + spreadMethod?: string, + startOffset?: string, + stdDeviation?: string, + stemh?: string, + stemv?: string, + stitchTiles?: string, + stopColor?: string, + stopOpacity?: string, + strikethroughPosition?: string, + strikethroughThickness?: string, + string?: string, + stroke?: string, + strokeDasharray?: string, + strokeDashoffset?: string, + strokeLinecap?: string, + strokeLinejoin?: string, + strokeMiterlimit?: string, + strokeOpacity?: string, + strokeWidth?: string, + surfaceScale?: string, + systemLanguage?: string, + tableValues?: string, + targetX?: string, + targetY?: string, + textAnchor?: string, + textDecoration?: string, + textLength?: string, + textRendering?: string, + to?: string, + @deprecated("Please use to") + to_?: string, + transform?: string, + u1?: string, + u2?: string, + underlinePosition?: string, + underlineThickness?: string, + unicode?: string, + unicodeBidi?: string, + unicodeRange?: string, + unitsPerEm?: string, + vAlphabetic?: string, + vHanging?: string, + vIdeographic?: string, + vMathematical?: string, + values?: string, + vectorEffect?: string, + version?: string, + vertAdvX?: string, + vertAdvY?: string, + vertOriginX?: string, + vertOriginY?: string, + viewBox?: string, + viewTarget?: string, + visibility?: string, + /* width::string? => */ + widths?: string, + wordSpacing?: string, + writingMode?: string, + x?: string, + x1?: string, + x2?: string, + xChannelSelector?: string, + xHeight?: string, + xlinkActuate?: string, + xlinkArcrole?: string, + xlinkHref?: string, + xlinkRole?: string, + xlinkShow?: string, + xlinkTitle?: string, + xlinkType?: string, + xmlns?: string, + xmlnsXlink?: string, + xmlBase?: string, + xmlLang?: string, + xmlSpace?: string, + y?: string, + y1?: string, + y2?: string, + yChannelSelector?: string, + z?: string, + zoomAndPan?: string, +} + +type rdfa = { + about?: string, + datatype?: string, + inlist?: string, + prefix?: string, + property?: string, + resource?: string, + typeof?: string, + vocab?: string, +} + +type react = { + children?: Jsx.element, + dangerouslySetInnerHTML?: {"__html": string}, + defaultChecked?: bool, + defaultValue?: string, + key?: string, + ref?: domRef, + selected?: bool, + suppressContentEditableWarning?: bool, +} + +/* + This list isn't exhaustive. We'll add more as we go. +*/ +type t = { + ...base, + ...accessibility, + ...microdata, + ...events, + ...svg, + ...rdfa, + ...react, + style?: style, +} diff --git a/tests/dependencies/rescript-react/src/ReactDOMStyle.res b/tests/dependencies/rescript-react/src/ReactDOMStyle.res index ae68d03554..d90fde2630 100644 --- a/tests/dependencies/rescript-react/src/ReactDOMStyle.res +++ b/tests/dependencies/rescript-react/src/ReactDOMStyle.res @@ -1,4 +1,1837 @@ -type t = JsxDOMStyle.t +/* Copyright (C) 2015-2016 Bloomberg Finance L.P. + * Copyright (C) 2017- Hongbo Zhang, Authors of ReScript + * + * SPDX-License-Identifier: MIT + */ + +type t = { + /** + See [`accent-color`](https://developer.mozilla.org/docs/Web/CSS/accent-color) on MDN. + */ + accentColor?: string, + /** + See [`align-content`](https://developer.mozilla.org/docs/Web/CSS/align-content) on MDN. + */ + alignContent?: string, + /** + See [`align-items`](https://developer.mozilla.org/docs/Web/CSS/align-items) on MDN. + */ + alignItems?: string, + /** + See [`align-self`](https://developer.mozilla.org/docs/Web/CSS/align-self) on MDN. + */ + alignSelf?: string, + /** + See [`all`](https://developer.mozilla.org/docs/Web/CSS/all) on MDN. + */ + all?: string, + /** + See [`animation`](https://developer.mozilla.org/docs/Web/CSS/animation) on MDN. + */ + animation?: string, + /** + See [`animation-composition`](https://developer.mozilla.org/docs/Web/CSS/animation-composition) on MDN. + */ + animationComposition?: string, + /** + See [`animation-delay`](https://developer.mozilla.org/docs/Web/CSS/animation-delay) on MDN. + */ + animationDelay?: string, + /** + See [`animation-direction`](https://developer.mozilla.org/docs/Web/CSS/animation-direction) on MDN. + */ + animationDirection?: string, + /** + See [`animation-duration`](https://developer.mozilla.org/docs/Web/CSS/animation-duration) on MDN. + */ + animationDuration?: string, + /** + See [`animation-fill-mode`](https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode) on MDN. + */ + animationFillMode?: string, + /** + See [`animation-iteration-count`](https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count) on MDN. + */ + animationIterationCount?: string, + /** + See [`animation-name`](https://developer.mozilla.org/docs/Web/CSS/animation-name) on MDN. + */ + animationName?: string, + /** + See [`animation-play-state`](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) on MDN. + */ + animationPlayState?: string, + /** + See [`animation-timing-function`](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) on MDN. + */ + animationTimingFunction?: string, + /** + See [`appearance`](https://developer.mozilla.org/docs/Web/CSS/appearance) on MDN. + */ + appearance?: string, + /** + See [`aspect-ratio`](https://developer.mozilla.org/docs/Web/CSS/aspect-ratio) on MDN. + */ + aspectRatio?: string, + /** + See [`backdrop-filter`](https://developer.mozilla.org/docs/Web/CSS/backdrop-filter) on MDN. + */ + backdropFilter?: string, + /** + See [`backface-visibility`](https://developer.mozilla.org/docs/Web/CSS/backface-visibility) on MDN. + */ + backfaceVisibility?: string, + /** + See [`background`](https://developer.mozilla.org/docs/Web/CSS/background) on MDN. + */ + background?: string, + /** + See [`background-attachment`](https://developer.mozilla.org/docs/Web/CSS/background-attachment) on MDN. + */ + backgroundAttachment?: string, + /** + See [`background-blend-mode`](https://developer.mozilla.org/docs/Web/CSS/background-blend-mode) on MDN. + */ + backgroundBlendMode?: string, + /** + See [`background-clip`](https://developer.mozilla.org/docs/Web/CSS/background-clip) on MDN. + */ + backgroundClip?: string, + /** + See [`background-color`](https://developer.mozilla.org/docs/Web/CSS/background-color) on MDN. + */ + backgroundColor?: string, + /** + See [`background-image`](https://developer.mozilla.org/docs/Web/CSS/background-image) on MDN. + */ + backgroundImage?: string, + /** + See [`background-origin`](https://developer.mozilla.org/docs/Web/CSS/background-origin) on MDN. + */ + backgroundOrigin?: string, + /** + See [`background-position`](https://developer.mozilla.org/docs/Web/CSS/background-position) on MDN. + */ + backgroundPosition?: string, + /** + See [`background-position-x`](https://developer.mozilla.org/docs/Web/CSS/background-position-x) on MDN. + */ + backgroundPositionX?: string, + /** + See [`background-position-y`](https://developer.mozilla.org/docs/Web/CSS/background-position-y) on MDN. + */ + backgroundPositionY?: string, + /** + See [`background-repeat`](https://developer.mozilla.org/docs/Web/CSS/background-repeat) on MDN. + */ + backgroundRepeat?: string, + /** + See [`background-size`](https://developer.mozilla.org/docs/Web/CSS/background-size) on MDN. + */ + backgroundSize?: string, + /** + See [`block-size`](https://developer.mozilla.org/docs/Web/CSS/block-size) on MDN. + */ + blockSize?: string, + /** + See [`border`](https://developer.mozilla.org/docs/Web/CSS/border) on MDN. + */ + border?: string, + /** + See [`border-block`](https://developer.mozilla.org/docs/Web/CSS/border-block) on MDN. + */ + borderBlock?: string, + /** + See [`border-block-color`](https://developer.mozilla.org/docs/Web/CSS/border-block-color) on MDN. + */ + borderBlockColor?: string, + /** + See [`border-block-end`](https://developer.mozilla.org/docs/Web/CSS/border-block-end) on MDN. + */ + borderBlockEnd?: string, + /** + See [`border-block-end-color`](https://developer.mozilla.org/docs/Web/CSS/border-block-end-color) on MDN. + */ + borderBlockEndColor?: string, + /** + See [`border-block-end-style`](https://developer.mozilla.org/docs/Web/CSS/border-block-end-style) on MDN. + */ + borderBlockEndStyle?: string, + /** + See [`border-block-end-width`](https://developer.mozilla.org/docs/Web/CSS/border-block-end-width) on MDN. + */ + borderBlockEndWidth?: string, + /** + See [`border-block-start`](https://developer.mozilla.org/docs/Web/CSS/border-block-start) on MDN. + */ + borderBlockStart?: string, + /** + See [`border-block-start-color`](https://developer.mozilla.org/docs/Web/CSS/border-block-start-color) on MDN. + */ + borderBlockStartColor?: string, + /** + See [`border-block-start-style`](https://developer.mozilla.org/docs/Web/CSS/border-block-start-style) on MDN. + */ + borderBlockStartStyle?: string, + /** + See [`border-block-start-width`](https://developer.mozilla.org/docs/Web/CSS/border-block-start-width) on MDN. + */ + borderBlockStartWidth?: string, + /** + See [`border-block-style`](https://developer.mozilla.org/docs/Web/CSS/border-block-style) on MDN. + */ + borderBlockStyle?: string, + /** + See [`border-block-width`](https://developer.mozilla.org/docs/Web/CSS/border-block-width) on MDN. + */ + borderBlockWidth?: string, + /** + See [`border-bottom`](https://developer.mozilla.org/docs/Web/CSS/border-bottom) on MDN. + */ + borderBottom?: string, + /** + See [`border-bottom-color`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-color) on MDN. + */ + borderBottomColor?: string, + /** + See [`border-bottom-left-radius`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius) on MDN. + */ + borderBottomLeftRadius?: string, + /** + See [`border-bottom-right-radius`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius) on MDN. + */ + borderBottomRightRadius?: string, + /** + See [`border-bottom-style`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-style) on MDN. + */ + borderBottomStyle?: string, + /** + See [`border-bottom-width`](https://developer.mozilla.org/docs/Web/CSS/border-bottom-width) on MDN. + */ + borderBottomWidth?: string, + /** + See [`border-collapse`](https://developer.mozilla.org/docs/Web/CSS/border-collapse) on MDN. + */ + borderCollapse?: string, + /** + See [`border-color`](https://developer.mozilla.org/docs/Web/CSS/border-color) on MDN. + */ + borderColor?: string, + /** + See [`border-end-end-radius`](https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius) on MDN. + */ + borderEndEndRadius?: string, + /** + See [`border-end-start-radius`](https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius) on MDN. + */ + borderEndStartRadius?: string, + /** + See [`border-image`](https://developer.mozilla.org/docs/Web/CSS/border-image) on MDN. + */ + borderImage?: string, + /** + See [`border-image-outset`](https://developer.mozilla.org/docs/Web/CSS/border-image-outset) on MDN. + */ + borderImageOutset?: string, + /** + See [`border-image-repeat`](https://developer.mozilla.org/docs/Web/CSS/border-image-repeat) on MDN. + */ + borderImageRepeat?: string, + /** + See [`border-image-slice`](https://developer.mozilla.org/docs/Web/CSS/border-image-slice) on MDN. + */ + borderImageSlice?: string, + /** + See [`border-image-source`](https://developer.mozilla.org/docs/Web/CSS/border-image-source) on MDN. + */ + borderImageSource?: string, + /** + See [`border-image-width`](https://developer.mozilla.org/docs/Web/CSS/border-image-width) on MDN. + */ + borderImageWidth?: string, + /** + See [`border-inline`](https://developer.mozilla.org/docs/Web/CSS/border-inline) on MDN. + */ + borderInline?: string, + /** + See [`border-inline-color`](https://developer.mozilla.org/docs/Web/CSS/border-inline-color) on MDN. + */ + borderInlineColor?: string, + /** + See [`border-inline-end`](https://developer.mozilla.org/docs/Web/CSS/border-inline-end) on MDN. + */ + borderInlineEnd?: string, + /** + See [`border-inline-end-color`](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color) on MDN. + */ + borderInlineEndColor?: string, + /** + See [`border-inline-end-style`](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style) on MDN. + */ + borderInlineEndStyle?: string, + /** + See [`border-inline-end-width`](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width) on MDN. + */ + borderInlineEndWidth?: string, + /** + See [`border-inline-start`](https://developer.mozilla.org/docs/Web/CSS/border-inline-start) on MDN. + */ + borderInlineStart?: string, + /** + See [`border-inline-start-color`](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color) on MDN. + */ + borderInlineStartColor?: string, + /** + See [`border-inline-start-style`](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style) on MDN. + */ + borderInlineStartStyle?: string, + /** + See [`border-inline-start-width`](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width) on MDN. + */ + borderInlineStartWidth?: string, + /** + See [`border-inline-style`](https://developer.mozilla.org/docs/Web/CSS/border-inline-style) on MDN. + */ + borderInlineStyle?: string, + /** + See [`border-inline-width`](https://developer.mozilla.org/docs/Web/CSS/border-inline-width) on MDN. + */ + borderInlineWidth?: string, + /** + See [`border-left`](https://developer.mozilla.org/docs/Web/CSS/border-left) on MDN. + */ + borderLeft?: string, + /** + See [`border-left-color`](https://developer.mozilla.org/docs/Web/CSS/border-left-color) on MDN. + */ + borderLeftColor?: string, + /** + See [`border-left-style`](https://developer.mozilla.org/docs/Web/CSS/border-left-style) on MDN. + */ + borderLeftStyle?: string, + /** + See [`border-left-width`](https://developer.mozilla.org/docs/Web/CSS/border-left-width) on MDN. + */ + borderLeftWidth?: string, + /** + See [`border-radius`](https://developer.mozilla.org/docs/Web/CSS/border-radius) on MDN. + */ + borderRadius?: string, + /** + See [`border-right`](https://developer.mozilla.org/docs/Web/CSS/border-right) on MDN. + */ + borderRight?: string, + /** + See [`border-right-color`](https://developer.mozilla.org/docs/Web/CSS/border-right-color) on MDN. + */ + borderRightColor?: string, + /** + See [`border-right-style`](https://developer.mozilla.org/docs/Web/CSS/border-right-style) on MDN. + */ + borderRightStyle?: string, + /** + See [`border-right-width`](https://developer.mozilla.org/docs/Web/CSS/border-right-width) on MDN. + */ + borderRightWidth?: string, + /** + See [`border-spacing`](https://developer.mozilla.org/docs/Web/CSS/border-spacing) on MDN. + */ + borderSpacing?: string, + /** + See [`border-start-end-radius`](https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius) on MDN. + */ + borderStartEndRadius?: string, + /** + See [`border-start-start-radius`](https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius) on MDN. + */ + borderStartStartRadius?: string, + /** + See [`border-style`](https://developer.mozilla.org/docs/Web/CSS/border-style) on MDN. + */ + borderStyle?: string, + /** + See [`border-top`](https://developer.mozilla.org/docs/Web/CSS/border-top) on MDN. + */ + borderTop?: string, + /** + See [`border-top-color`](https://developer.mozilla.org/docs/Web/CSS/border-top-color) on MDN. + */ + borderTopColor?: string, + /** + See [`border-top-left-radius`](https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius) on MDN. + */ + borderTopLeftRadius?: string, + /** + See [`border-top-right-radius`](https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius) on MDN. + */ + borderTopRightRadius?: string, + /** + See [`border-top-style`](https://developer.mozilla.org/docs/Web/CSS/border-top-style) on MDN. + */ + borderTopStyle?: string, + /** + See [`border-top-width`](https://developer.mozilla.org/docs/Web/CSS/border-top-width) on MDN. + */ + borderTopWidth?: string, + /** + See [`border-width`](https://developer.mozilla.org/docs/Web/CSS/border-width) on MDN. + */ + borderWidth?: string, + /** + See [`bottom`](https://developer.mozilla.org/docs/Web/CSS/bottom) on MDN. + */ + bottom?: string, + /** + See [`box-decoration-break`](https://developer.mozilla.org/docs/Web/CSS/box-decoration-break) on MDN. + */ + boxDecorationBreak?: string, + /** + See [`box-shadow`](https://developer.mozilla.org/docs/Web/CSS/box-shadow) on MDN. + */ + boxShadow?: string, + /** + See [`box-sizing`](https://developer.mozilla.org/docs/Web/CSS/box-sizing) on MDN. + */ + boxSizing?: string, + /** + See [`break-after`](https://developer.mozilla.org/docs/Web/CSS/break-after) on MDN. + */ + breakAfter?: string, + /** + See [`break-before`](https://developer.mozilla.org/docs/Web/CSS/break-before) on MDN. + */ + breakBefore?: string, + /** + See [`break-inside`](https://developer.mozilla.org/docs/Web/CSS/break-inside) on MDN. + */ + breakInside?: string, + /** + See [`caption-side`](https://developer.mozilla.org/docs/Web/CSS/caption-side) on MDN. + */ + captionSide?: string, + /** + */ + caret?: string, + /** + See [`caret-color`](https://developer.mozilla.org/docs/Web/CSS/caret-color) on MDN. + */ + caretColor?: string, + /** + */ + caretShape?: string, + /** + See [`clear`](https://developer.mozilla.org/docs/Web/CSS/clear) on MDN. + */ + clear?: string, + /** + See [`clip-path`](https://developer.mozilla.org/docs/Web/CSS/clip-path) on MDN. + */ + clipPath?: string, + /** + See [`clip-rule`](https://developer.mozilla.org/docs/Web/CSS/clip-rule) on MDN. + */ + clipRule?: string, + /** + See [`color`](https://developer.mozilla.org/docs/Web/CSS/color) on MDN. + */ + color?: string, + /** + See [`color-interpolation-filters`](https://developer.mozilla.org/docs/Web/CSS/color-interpolation-filters) on MDN. + */ + colorInterpolationFilters?: string, + /** + See [`color-scheme`](https://developer.mozilla.org/docs/Web/CSS/color-scheme) on MDN. + */ + colorScheme?: string, + /** + See [`column-count`](https://developer.mozilla.org/docs/Web/CSS/column-count) on MDN. + */ + columnCount?: string, + /** + See [`column-fill`](https://developer.mozilla.org/docs/Web/CSS/column-fill) on MDN. + */ + columnFill?: string, + /** + See [`column-gap`](https://developer.mozilla.org/docs/Web/CSS/column-gap) on MDN. + */ + columnGap?: string, + /** + See [`column-rule`](https://developer.mozilla.org/docs/Web/CSS/column-rule) on MDN. + */ + columnRule?: string, + /** + See [`column-rule-color`](https://developer.mozilla.org/docs/Web/CSS/column-rule-color) on MDN. + */ + columnRuleColor?: string, + /** + See [`column-rule-style`](https://developer.mozilla.org/docs/Web/CSS/column-rule-style) on MDN. + */ + columnRuleStyle?: string, + /** + See [`column-rule-width`](https://developer.mozilla.org/docs/Web/CSS/column-rule-width) on MDN. + */ + columnRuleWidth?: string, + /** + See [`column-span`](https://developer.mozilla.org/docs/Web/CSS/column-span) on MDN. + */ + columnSpan?: string, + /** + See [`column-width`](https://developer.mozilla.org/docs/Web/CSS/column-width) on MDN. + */ + columnWidth?: string, + /** + See [`columns`](https://developer.mozilla.org/docs/Web/CSS/columns) on MDN. + */ + columns?: string, + /** + See [`contain`](https://developer.mozilla.org/docs/Web/CSS/contain) on MDN. + */ + contain?: string, + /** + See [`contain-intrinsic-block-size`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-block-size) on MDN. + */ + containIntrinsicBlockSize?: string, + /** + See [`contain-intrinsic-height`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) on MDN. + */ + containIntrinsicHeight?: string, + /** + See [`contain-intrinsic-inline-size`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-inline-size) on MDN. + */ + containIntrinsicInlineSize?: string, + /** + See [`contain-intrinsic-size`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) on MDN. + */ + containIntrinsicSize?: string, + /** + See [`contain-intrinsic-width`](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-width) on MDN. + */ + containIntrinsicWidth?: string, + /** + See [`container`](https://developer.mozilla.org/docs/Web/CSS/container) on MDN. + */ + container?: string, + /** + See [`container-name`](https://developer.mozilla.org/docs/Web/CSS/container-name) on MDN. + */ + containerName?: string, + /** + See [`container-type`](https://developer.mozilla.org/docs/Web/CSS/container-type) on MDN. + */ + containerType?: string, + /** + See [`content`](https://developer.mozilla.org/docs/Web/CSS/content) on MDN. + */ + content?: string, + /** + See [`content-visibility`](https://developer.mozilla.org/docs/Web/CSS/content-visibility) on MDN. + */ + contentVisibility?: string, + /** + See [`counter-increment`](https://developer.mozilla.org/docs/Web/CSS/counter-increment) on MDN. + */ + counterIncrement?: string, + /** + See [`counter-reset`](https://developer.mozilla.org/docs/Web/CSS/counter-reset) on MDN. + */ + counterReset?: string, + /** + See [`counter-set`](https://developer.mozilla.org/docs/Web/CSS/counter-set) on MDN. + */ + counterSet?: string, + /** + See [`cursor`](https://developer.mozilla.org/docs/Web/CSS/cursor) on MDN. + */ + cursor?: string, + /** + See [`cx`](https://developer.mozilla.org/docs/Web/CSS/cx) on MDN. + */ + cx?: string, + /** + See [`cy`](https://developer.mozilla.org/docs/Web/CSS/cy) on MDN. + */ + cy?: string, + /** + See [`d`](https://developer.mozilla.org/docs/Web/CSS/d) on MDN. + */ + d?: string, + /** + See [`direction`](https://developer.mozilla.org/docs/Web/CSS/direction) on MDN. + */ + direction?: string, + /** + See [`display`](https://developer.mozilla.org/docs/Web/CSS/display) on MDN. + */ + display?: string, + /** + See [`dominant-baseline`](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) on MDN. + */ + dominantBaseline?: string, + /** + See [`empty-cells`](https://developer.mozilla.org/docs/Web/CSS/empty-cells) on MDN. + */ + emptyCells?: string, + /** + See [`fill`](https://developer.mozilla.org/docs/Web/CSS/fill) on MDN. + */ + fill?: string, + /** + See [`fill-opacity`](https://developer.mozilla.org/docs/Web/CSS/fill-opacity) on MDN. + */ + fillOpacity?: string, + /** + See [`fill-rule`](https://developer.mozilla.org/docs/Web/CSS/fill-rule) on MDN. + */ + fillRule?: string, + /** + See [`filter`](https://developer.mozilla.org/docs/Web/CSS/filter) on MDN. + */ + filter?: string, + /** + See [`flex`](https://developer.mozilla.org/docs/Web/CSS/flex) on MDN. + */ + flex?: string, + /** + See [`flex-basis`](https://developer.mozilla.org/docs/Web/CSS/flex-basis) on MDN. + */ + flexBasis?: string, + /** + See [`flex-direction`](https://developer.mozilla.org/docs/Web/CSS/flex-direction) on MDN. + */ + flexDirection?: string, + /** + See [`flex-flow`](https://developer.mozilla.org/docs/Web/CSS/flex-flow) on MDN. + */ + flexFlow?: string, + /** + See [`flex-grow`](https://developer.mozilla.org/docs/Web/CSS/flex-grow) on MDN. + */ + flexGrow?: string, + /** + See [`flex-shrink`](https://developer.mozilla.org/docs/Web/CSS/flex-shrink) on MDN. + */ + flexShrink?: string, + /** + See [`flex-wrap`](https://developer.mozilla.org/docs/Web/CSS/flex-wrap) on MDN. + */ + flexWrap?: string, + /** + See [`float`](https://developer.mozilla.org/docs/Web/CSS/float) on MDN. + */ + float?: string, + /** + See [`flood-color`](https://developer.mozilla.org/docs/Web/CSS/flood-color) on MDN. + */ + floodColor?: string, + /** + See [`flood-opacity`](https://developer.mozilla.org/docs/Web/CSS/flood-opacity) on MDN. + */ + floodOpacity?: string, + /** + See [`font`](https://developer.mozilla.org/docs/Web/CSS/font) on MDN. + */ + font?: string, + /** + See [`font-family`](https://developer.mozilla.org/docs/Web/CSS/font-family) on MDN. + */ + fontFamily?: string, + /** + See [`font-feature-settings`](https://developer.mozilla.org/docs/Web/CSS/font-feature-settings) on MDN. + */ + fontFeatureSettings?: string, + /** + See [`font-kerning`](https://developer.mozilla.org/docs/Web/CSS/font-kerning) on MDN. + */ + fontKerning?: string, + /** + See [`font-language-override`](https://developer.mozilla.org/docs/Web/CSS/font-language-override) on MDN. + */ + fontLanguageOverride?: string, + /** + See [`font-optical-sizing`](https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing) on MDN. + */ + fontOpticalSizing?: string, + /** + See [`font-palette`](https://developer.mozilla.org/docs/Web/CSS/font-palette) on MDN. + */ + fontPalette?: string, + /** + See [`font-size`](https://developer.mozilla.org/docs/Web/CSS/font-size) on MDN. + */ + fontSize?: string, + /** + See [`font-size-adjust`](https://developer.mozilla.org/docs/Web/CSS/font-size-adjust) on MDN. + */ + fontSizeAdjust?: string, + /** + See [`font-stretch`](https://developer.mozilla.org/docs/Web/CSS/font-stretch) on MDN. + */ + fontStretch?: string, + /** + See [`font-style`](https://developer.mozilla.org/docs/Web/CSS/font-style) on MDN. + */ + fontStyle?: string, + /** + See [`font-synthesis`](https://developer.mozilla.org/docs/Web/CSS/font-synthesis) on MDN. + */ + fontSynthesis?: string, + /** + See [`font-synthesis-small-caps`](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-small-caps) on MDN. + */ + fontSynthesisSmallCaps?: string, + /** + See [`font-synthesis-style`](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-style) on MDN. + */ + fontSynthesisStyle?: string, + /** + See [`font-synthesis-weight`](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-weight) on MDN. + */ + fontSynthesisWeight?: string, + /** + See [`font-variant`](https://developer.mozilla.org/docs/Web/CSS/font-variant) on MDN. + */ + fontVariant?: string, + /** + See [`font-variant-alternates`](https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates) on MDN. + */ + fontVariantAlternates?: string, + /** + See [`font-variant-caps`](https://developer.mozilla.org/docs/Web/CSS/font-variant-caps) on MDN. + */ + fontVariantCaps?: string, + /** + See [`font-variant-east-asian`](https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian) on MDN. + */ + fontVariantEastAsian?: string, + /** + See [`font-variant-emoji`](https://developer.mozilla.org/docs/Web/CSS/font-variant-emoji) on MDN. + */ + fontVariantEmoji?: string, + /** + See [`font-variant-ligatures`](https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures) on MDN. + */ + fontVariantLigatures?: string, + /** + See [`font-variant-numeric`](https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric) on MDN. + */ + fontVariantNumeric?: string, + /** + See [`font-variant-position`](https://developer.mozilla.org/docs/Web/CSS/font-variant-position) on MDN. + */ + fontVariantPosition?: string, + /** + See [`font-variation-settings`](https://developer.mozilla.org/docs/Web/CSS/font-variation-settings) on MDN. + */ + fontVariationSettings?: string, + /** + See [`font-weight`](https://developer.mozilla.org/docs/Web/CSS/font-weight) on MDN. + */ + fontWeight?: string, + /** + See [`forced-color-adjust`](https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust) on MDN. + */ + forcedColorAdjust?: string, + /** + See [`gap`](https://developer.mozilla.org/docs/Web/CSS/gap) on MDN. + */ + gap?: string, + /** + See [`grid`](https://developer.mozilla.org/docs/Web/CSS/grid) on MDN. + */ + grid?: string, + /** + See [`grid-area`](https://developer.mozilla.org/docs/Web/CSS/grid-area) on MDN. + */ + gridArea?: string, + /** + See [`grid-auto-columns`](https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns) on MDN. + */ + gridAutoColumns?: string, + /** + See [`grid-auto-flow`](https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow) on MDN. + */ + gridAutoFlow?: string, + /** + See [`grid-auto-rows`](https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows) on MDN. + */ + gridAutoRows?: string, + /** + See [`grid-column`](https://developer.mozilla.org/docs/Web/CSS/grid-column) on MDN. + */ + gridColumn?: string, + /** + See [`grid-column-end`](https://developer.mozilla.org/docs/Web/CSS/grid-column-end) on MDN. + */ + gridColumnEnd?: string, + /** + See [`grid-column-start`](https://developer.mozilla.org/docs/Web/CSS/grid-column-start) on MDN. + */ + gridColumnStart?: string, + /** + See [`grid-row`](https://developer.mozilla.org/docs/Web/CSS/grid-row) on MDN. + */ + gridRow?: string, + /** + See [`grid-row-end`](https://developer.mozilla.org/docs/Web/CSS/grid-row-end) on MDN. + */ + gridRowEnd?: string, + /** + See [`grid-row-start`](https://developer.mozilla.org/docs/Web/CSS/grid-row-start) on MDN. + */ + gridRowStart?: string, + /** + See [`grid-template`](https://developer.mozilla.org/docs/Web/CSS/grid-template) on MDN. + */ + gridTemplate?: string, + /** + See [`grid-template-areas`](https://developer.mozilla.org/docs/Web/CSS/grid-template-areas) on MDN. + */ + gridTemplateAreas?: string, + /** + See [`grid-template-columns`](https://developer.mozilla.org/docs/Web/CSS/grid-template-columns) on MDN. + */ + gridTemplateColumns?: string, + /** + See [`grid-template-rows`](https://developer.mozilla.org/docs/Web/CSS/grid-template-rows) on MDN. + */ + gridTemplateRows?: string, + /** + See [`hanging-punctuation`](https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation) on MDN. + */ + hangingPunctuation?: string, + /** + See [`height`](https://developer.mozilla.org/docs/Web/CSS/height) on MDN. + */ + height?: string, + /** + See [`hyphenate-character`](https://developer.mozilla.org/docs/Web/CSS/hyphenate-character) on MDN. + */ + hyphenateCharacter?: string, + /** + See [`hyphenate-limit-chars`](https://developer.mozilla.org/docs/Web/CSS/hyphenate-limit-chars) on MDN. + */ + hyphenateLimitChars?: string, + /** + See [`hyphens`](https://developer.mozilla.org/docs/Web/CSS/hyphens) on MDN. + */ + hyphens?: string, + /** + See [`image-orientation`](https://developer.mozilla.org/docs/Web/CSS/image-orientation) on MDN. + */ + imageOrientation?: string, + /** + See [`image-rendering`](https://developer.mozilla.org/docs/Web/CSS/image-rendering) on MDN. + */ + imageRendering?: string, + /** + See [`initial-letter`](https://developer.mozilla.org/docs/Web/CSS/initial-letter) on MDN. + */ + initialLetter?: string, + /** + See [`inline-size`](https://developer.mozilla.org/docs/Web/CSS/inline-size) on MDN. + */ + inlineSize?: string, + /** + */ + inputSecurity?: string, + /** + See [`inset`](https://developer.mozilla.org/docs/Web/CSS/inset) on MDN. + */ + inset?: string, + /** + See [`inset-block`](https://developer.mozilla.org/docs/Web/CSS/inset-block) on MDN. + */ + insetBlock?: string, + /** + See [`inset-block-end`](https://developer.mozilla.org/docs/Web/CSS/inset-block-end) on MDN. + */ + insetBlockEnd?: string, + /** + See [`inset-block-start`](https://developer.mozilla.org/docs/Web/CSS/inset-block-start) on MDN. + */ + insetBlockStart?: string, + /** + See [`inset-inline`](https://developer.mozilla.org/docs/Web/CSS/inset-inline) on MDN. + */ + insetInline?: string, + /** + See [`inset-inline-end`](https://developer.mozilla.org/docs/Web/CSS/inset-inline-end) on MDN. + */ + insetInlineEnd?: string, + /** + See [`inset-inline-start`](https://developer.mozilla.org/docs/Web/CSS/inset-inline-start) on MDN. + */ + insetInlineStart?: string, + /** + See [`isolation`](https://developer.mozilla.org/docs/Web/CSS/isolation) on MDN. + */ + isolation?: string, + /** + See [`justify-content`](https://developer.mozilla.org/docs/Web/CSS/justify-content) on MDN. + */ + justifyContent?: string, + /** + See [`justify-items`](https://developer.mozilla.org/docs/Web/CSS/justify-items) on MDN. + */ + justifyItems?: string, + /** + See [`justify-self`](https://developer.mozilla.org/docs/Web/CSS/justify-self) on MDN. + */ + justifySelf?: string, + /** + See [`left`](https://developer.mozilla.org/docs/Web/CSS/left) on MDN. + */ + left?: string, + /** + See [`letter-spacing`](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) on MDN. + */ + letterSpacing?: string, + /** + See [`lighting-color`](https://developer.mozilla.org/docs/Web/CSS/lighting-color) on MDN. + */ + lightingColor?: string, + /** + See [`line-break`](https://developer.mozilla.org/docs/Web/CSS/line-break) on MDN. + */ + lineBreak?: string, + /** + */ + lineClamp?: string, + /** + See [`line-height`](https://developer.mozilla.org/docs/Web/CSS/line-height) on MDN. + */ + lineHeight?: string, + /** + See [`list-style`](https://developer.mozilla.org/docs/Web/CSS/list-style) on MDN. + */ + listStyle?: string, + /** + See [`list-style-image`](https://developer.mozilla.org/docs/Web/CSS/list-style-image) on MDN. + */ + listStyleImage?: string, + /** + See [`list-style-position`](https://developer.mozilla.org/docs/Web/CSS/list-style-position) on MDN. + */ + listStylePosition?: string, + /** + See [`list-style-type`](https://developer.mozilla.org/docs/Web/CSS/list-style-type) on MDN. + */ + listStyleType?: string, + /** + See [`margin`](https://developer.mozilla.org/docs/Web/CSS/margin) on MDN. + */ + margin?: string, + /** + See [`margin-block`](https://developer.mozilla.org/docs/Web/CSS/margin-block) on MDN. + */ + marginBlock?: string, + /** + See [`margin-block-end`](https://developer.mozilla.org/docs/Web/CSS/margin-block-end) on MDN. + */ + marginBlockEnd?: string, + /** + See [`margin-block-start`](https://developer.mozilla.org/docs/Web/CSS/margin-block-start) on MDN. + */ + marginBlockStart?: string, + /** + See [`margin-bottom`](https://developer.mozilla.org/docs/Web/CSS/margin-bottom) on MDN. + */ + marginBottom?: string, + /** + See [`margin-inline`](https://developer.mozilla.org/docs/Web/CSS/margin-inline) on MDN. + */ + marginInline?: string, + /** + See [`margin-inline-end`](https://developer.mozilla.org/docs/Web/CSS/margin-inline-end) on MDN. + */ + marginInlineEnd?: string, + /** + See [`margin-inline-start`](https://developer.mozilla.org/docs/Web/CSS/margin-inline-start) on MDN. + */ + marginInlineStart?: string, + /** + See [`margin-left`](https://developer.mozilla.org/docs/Web/CSS/margin-left) on MDN. + */ + marginLeft?: string, + /** + See [`margin-right`](https://developer.mozilla.org/docs/Web/CSS/margin-right) on MDN. + */ + marginRight?: string, + /** + See [`margin-top`](https://developer.mozilla.org/docs/Web/CSS/margin-top) on MDN. + */ + marginTop?: string, + /** + See [`marker`](https://developer.mozilla.org/docs/Web/CSS/marker) on MDN. + */ + marker?: string, + /** + See [`marker-end`](https://developer.mozilla.org/docs/Web/CSS/marker-end) on MDN. + */ + markerEnd?: string, + /** + See [`marker-mid`](https://developer.mozilla.org/docs/Web/CSS/marker-mid) on MDN. + */ + markerMid?: string, + /** + See [`marker-start`](https://developer.mozilla.org/docs/Web/CSS/marker-start) on MDN. + */ + markerStart?: string, + /** + See [`mask`](https://developer.mozilla.org/docs/Web/CSS/mask) on MDN. + */ + mask?: string, + /** + See [`mask-border`](https://developer.mozilla.org/docs/Web/CSS/mask-border) on MDN. + */ + maskBorder?: string, + /** + See [`mask-border-mode`](https://developer.mozilla.org/docs/Web/CSS/mask-border-mode) on MDN. + */ + maskBorderMode?: string, + /** + See [`mask-border-outset`](https://developer.mozilla.org/docs/Web/CSS/mask-border-outset) on MDN. + */ + maskBorderOutset?: string, + /** + See [`mask-border-repeat`](https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat) on MDN. + */ + maskBorderRepeat?: string, + /** + See [`mask-border-slice`](https://developer.mozilla.org/docs/Web/CSS/mask-border-slice) on MDN. + */ + maskBorderSlice?: string, + /** + See [`mask-border-source`](https://developer.mozilla.org/docs/Web/CSS/mask-border-source) on MDN. + */ + maskBorderSource?: string, + /** + See [`mask-border-width`](https://developer.mozilla.org/docs/Web/CSS/mask-border-width) on MDN. + */ + maskBorderWidth?: string, + /** + See [`mask-clip`](https://developer.mozilla.org/docs/Web/CSS/mask-clip) on MDN. + */ + maskClip?: string, + /** + See [`mask-composite`](https://developer.mozilla.org/docs/Web/CSS/mask-composite) on MDN. + */ + maskComposite?: string, + /** + See [`mask-image`](https://developer.mozilla.org/docs/Web/CSS/mask-image) on MDN. + */ + maskImage?: string, + /** + See [`mask-mode`](https://developer.mozilla.org/docs/Web/CSS/mask-mode) on MDN. + */ + maskMode?: string, + /** + See [`mask-origin`](https://developer.mozilla.org/docs/Web/CSS/mask-origin) on MDN. + */ + maskOrigin?: string, + /** + See [`mask-position`](https://developer.mozilla.org/docs/Web/CSS/mask-position) on MDN. + */ + maskPosition?: string, + /** + See [`mask-repeat`](https://developer.mozilla.org/docs/Web/CSS/mask-repeat) on MDN. + */ + maskRepeat?: string, + /** + See [`mask-size`](https://developer.mozilla.org/docs/Web/CSS/mask-size) on MDN. + */ + maskSize?: string, + /** + See [`mask-type`](https://developer.mozilla.org/docs/Web/CSS/mask-type) on MDN. + */ + maskType?: string, + /** + See [`math-depth`](https://developer.mozilla.org/docs/Web/CSS/math-depth) on MDN. + */ + mathDepth?: string, + /** + See [`math-style`](https://developer.mozilla.org/docs/Web/CSS/math-style) on MDN. + */ + mathStyle?: string, + /** + See [`max-block-size`](https://developer.mozilla.org/docs/Web/CSS/max-block-size) on MDN. + */ + maxBlockSize?: string, + /** + See [`max-height`](https://developer.mozilla.org/docs/Web/CSS/max-height) on MDN. + */ + maxHeight?: string, + /** + See [`max-inline-size`](https://developer.mozilla.org/docs/Web/CSS/max-inline-size) on MDN. + */ + maxInlineSize?: string, + /** + See [`max-width`](https://developer.mozilla.org/docs/Web/CSS/max-width) on MDN. + */ + maxWidth?: string, + /** + See [`min-block-size`](https://developer.mozilla.org/docs/Web/CSS/min-block-size) on MDN. + */ + minBlockSize?: string, + /** + See [`min-height`](https://developer.mozilla.org/docs/Web/CSS/min-height) on MDN. + */ + minHeight?: string, + /** + See [`min-inline-size`](https://developer.mozilla.org/docs/Web/CSS/min-inline-size) on MDN. + */ + minInlineSize?: string, + /** + See [`min-width`](https://developer.mozilla.org/docs/Web/CSS/min-width) on MDN. + */ + minWidth?: string, + /** + See [`mix-blend-mode`](https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode) on MDN. + */ + mixBlendMode?: string, + /** + See [`object-fit`](https://developer.mozilla.org/docs/Web/CSS/object-fit) on MDN. + */ + objectFit?: string, + /** + See [`object-position`](https://developer.mozilla.org/docs/Web/CSS/object-position) on MDN. + */ + objectPosition?: string, + /** + See [`offset`](https://developer.mozilla.org/docs/Web/CSS/offset) on MDN. + */ + offset?: string, + /** + See [`offset-anchor`](https://developer.mozilla.org/docs/Web/CSS/offset-anchor) on MDN. + */ + offsetAnchor?: string, + /** + See [`offset-distance`](https://developer.mozilla.org/docs/Web/CSS/offset-distance) on MDN. + */ + offsetDistance?: string, + /** + See [`offset-path`](https://developer.mozilla.org/docs/Web/CSS/offset-path) on MDN. + */ + offsetPath?: string, + /** + See [`offset-position`](https://developer.mozilla.org/docs/Web/CSS/offset-position) on MDN. + */ + offsetPosition?: string, + /** + See [`offset-rotate`](https://developer.mozilla.org/docs/Web/CSS/offset-rotate) on MDN. + */ + offsetRotate?: string, + /** + See [`opacity`](https://developer.mozilla.org/docs/Web/CSS/opacity) on MDN. + */ + opacity?: string, + /** + See [`order`](https://developer.mozilla.org/docs/Web/CSS/order) on MDN. + */ + order?: string, + /** + See [`orphans`](https://developer.mozilla.org/docs/Web/CSS/orphans) on MDN. + */ + orphans?: string, + /** + See [`outline`](https://developer.mozilla.org/docs/Web/CSS/outline) on MDN. + */ + outline?: string, + /** + See [`outline-color`](https://developer.mozilla.org/docs/Web/CSS/outline-color) on MDN. + */ + outlineColor?: string, + /** + See [`outline-offset`](https://developer.mozilla.org/docs/Web/CSS/outline-offset) on MDN. + */ + outlineOffset?: string, + /** + See [`outline-style`](https://developer.mozilla.org/docs/Web/CSS/outline-style) on MDN. + */ + outlineStyle?: string, + /** + See [`outline-width`](https://developer.mozilla.org/docs/Web/CSS/outline-width) on MDN. + */ + outlineWidth?: string, + /** + See [`overflow`](https://developer.mozilla.org/docs/Web/CSS/overflow) on MDN. + */ + overflow?: string, + /** + See [`overflow-anchor`](https://developer.mozilla.org/docs/Web/CSS/overflow-anchor) on MDN. + */ + overflowAnchor?: string, + /** + See [`overflow-block`](https://developer.mozilla.org/docs/Web/CSS/overflow-block) on MDN. + */ + overflowBlock?: string, + /** + See [`overflow-clip-margin`](https://developer.mozilla.org/docs/Web/CSS/overflow-clip-margin) on MDN. + */ + overflowClipMargin?: string, + /** + See [`overflow-inline`](https://developer.mozilla.org/docs/Web/CSS/overflow-inline) on MDN. + */ + overflowInline?: string, + /** + See [`overflow-wrap`](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap) on MDN. + */ + overflowWrap?: string, + /** + See [`overflow-x`](https://developer.mozilla.org/docs/Web/CSS/overflow-x) on MDN. + */ + overflowX?: string, + /** + See [`overflow-y`](https://developer.mozilla.org/docs/Web/CSS/overflow-y) on MDN. + */ + overflowY?: string, + /** + See [`overscroll-behavior`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior) on MDN. + */ + overscrollBehavior?: string, + /** + See [`overscroll-behavior-block`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block) on MDN. + */ + overscrollBehaviorBlock?: string, + /** + See [`overscroll-behavior-inline`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline) on MDN. + */ + overscrollBehaviorInline?: string, + /** + See [`overscroll-behavior-x`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x) on MDN. + */ + overscrollBehaviorX?: string, + /** + See [`overscroll-behavior-y`](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y) on MDN. + */ + overscrollBehaviorY?: string, + /** + See [`padding`](https://developer.mozilla.org/docs/Web/CSS/padding) on MDN. + */ + padding?: string, + /** + See [`padding-block`](https://developer.mozilla.org/docs/Web/CSS/padding-block) on MDN. + */ + paddingBlock?: string, + /** + See [`padding-block-end`](https://developer.mozilla.org/docs/Web/CSS/padding-block-end) on MDN. + */ + paddingBlockEnd?: string, + /** + See [`padding-block-start`](https://developer.mozilla.org/docs/Web/CSS/padding-block-start) on MDN. + */ + paddingBlockStart?: string, + /** + See [`padding-bottom`](https://developer.mozilla.org/docs/Web/CSS/padding-bottom) on MDN. + */ + paddingBottom?: string, + /** + See [`padding-inline`](https://developer.mozilla.org/docs/Web/CSS/padding-inline) on MDN. + */ + paddingInline?: string, + /** + See [`padding-inline-end`](https://developer.mozilla.org/docs/Web/CSS/padding-inline-end) on MDN. + */ + paddingInlineEnd?: string, + /** + See [`padding-inline-start`](https://developer.mozilla.org/docs/Web/CSS/padding-inline-start) on MDN. + */ + paddingInlineStart?: string, + /** + See [`padding-left`](https://developer.mozilla.org/docs/Web/CSS/padding-left) on MDN. + */ + paddingLeft?: string, + /** + See [`padding-right`](https://developer.mozilla.org/docs/Web/CSS/padding-right) on MDN. + */ + paddingRight?: string, + /** + See [`padding-top`](https://developer.mozilla.org/docs/Web/CSS/padding-top) on MDN. + */ + paddingTop?: string, + /** + See [`page`](https://developer.mozilla.org/docs/Web/CSS/page) on MDN. + */ + page?: string, + /** + See [`page-break-after`](https://developer.mozilla.org/docs/Web/CSS/page-break-after) on MDN. + */ + pageBreakAfter?: string, + /** + See [`page-break-before`](https://developer.mozilla.org/docs/Web/CSS/page-break-before) on MDN. + */ + pageBreakBefore?: string, + /** + See [`page-break-inside`](https://developer.mozilla.org/docs/Web/CSS/page-break-inside) on MDN. + */ + pageBreakInside?: string, + /** + See [`paint-order`](https://developer.mozilla.org/docs/Web/CSS/paint-order) on MDN. + */ + paintOrder?: string, + /** + See [`perspective`](https://developer.mozilla.org/docs/Web/CSS/perspective) on MDN. + */ + perspective?: string, + /** + See [`perspective-origin`](https://developer.mozilla.org/docs/Web/CSS/perspective-origin) on MDN. + */ + perspectiveOrigin?: string, + /** + See [`place-content`](https://developer.mozilla.org/docs/Web/CSS/place-content) on MDN. + */ + placeContent?: string, + /** + See [`place-items`](https://developer.mozilla.org/docs/Web/CSS/place-items) on MDN. + */ + placeItems?: string, + /** + See [`place-self`](https://developer.mozilla.org/docs/Web/CSS/place-self) on MDN. + */ + placeSelf?: string, + /** + See [`pointer-events`](https://developer.mozilla.org/docs/Web/CSS/pointer-events) on MDN. + */ + pointerEvents?: string, + /** + See [`position`](https://developer.mozilla.org/docs/Web/CSS/position) on MDN. + */ + position?: string, + /** + See [`print-color-adjust`](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) on MDN. + */ + printColorAdjust?: string, + /** + See [`quotes`](https://developer.mozilla.org/docs/Web/CSS/quotes) on MDN. + */ + quotes?: string, + /** + See [`r`](https://developer.mozilla.org/docs/Web/CSS/r) on MDN. + */ + r?: string, + /** + See [`resize`](https://developer.mozilla.org/docs/Web/CSS/resize) on MDN. + */ + resize?: string, + /** + See [`right`](https://developer.mozilla.org/docs/Web/CSS/right) on MDN. + */ + right?: string, + /** + See [`rotate`](https://developer.mozilla.org/docs/Web/CSS/rotate) on MDN. + */ + rotate?: string, + /** + See [`row-gap`](https://developer.mozilla.org/docs/Web/CSS/row-gap) on MDN. + */ + rowGap?: string, + /** + See [`ruby-align`](https://developer.mozilla.org/docs/Web/CSS/ruby-align) on MDN. + */ + rubyAlign?: string, + /** + See [`ruby-position`](https://developer.mozilla.org/docs/Web/CSS/ruby-position) on MDN. + */ + rubyPosition?: string, + /** + See [`rx`](https://developer.mozilla.org/docs/Web/CSS/rx) on MDN. + */ + rx?: string, + /** + See [`ry`](https://developer.mozilla.org/docs/Web/CSS/ry) on MDN. + */ + ry?: string, + /** + See [`scale`](https://developer.mozilla.org/docs/Web/CSS/scale) on MDN. + */ + scale?: string, + /** + See [`scroll-behavior`](https://developer.mozilla.org/docs/Web/CSS/scroll-behavior) on MDN. + */ + scrollBehavior?: string, + /** + See [`scroll-margin`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin) on MDN. + */ + scrollMargin?: string, + /** + See [`scroll-margin-block`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block) on MDN. + */ + scrollMarginBlock?: string, + /** + See [`scroll-margin-block-end`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end) on MDN. + */ + scrollMarginBlockEnd?: string, + /** + See [`scroll-margin-block-start`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start) on MDN. + */ + scrollMarginBlockStart?: string, + /** + See [`scroll-margin-bottom`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom) on MDN. + */ + scrollMarginBottom?: string, + /** + See [`scroll-margin-inline`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline) on MDN. + */ + scrollMarginInline?: string, + /** + See [`scroll-margin-inline-end`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end) on MDN. + */ + scrollMarginInlineEnd?: string, + /** + See [`scroll-margin-inline-start`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start) on MDN. + */ + scrollMarginInlineStart?: string, + /** + See [`scroll-margin-left`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left) on MDN. + */ + scrollMarginLeft?: string, + /** + See [`scroll-margin-right`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right) on MDN. + */ + scrollMarginRight?: string, + /** + See [`scroll-margin-top`](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top) on MDN. + */ + scrollMarginTop?: string, + /** + See [`scroll-padding`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding) on MDN. + */ + scrollPadding?: string, + /** + See [`scroll-padding-block`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block) on MDN. + */ + scrollPaddingBlock?: string, + /** + See [`scroll-padding-block-end`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end) on MDN. + */ + scrollPaddingBlockEnd?: string, + /** + See [`scroll-padding-block-start`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start) on MDN. + */ + scrollPaddingBlockStart?: string, + /** + See [`scroll-padding-bottom`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom) on MDN. + */ + scrollPaddingBottom?: string, + /** + See [`scroll-padding-inline`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline) on MDN. + */ + scrollPaddingInline?: string, + /** + See [`scroll-padding-inline-end`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end) on MDN. + */ + scrollPaddingInlineEnd?: string, + /** + See [`scroll-padding-inline-start`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start) on MDN. + */ + scrollPaddingInlineStart?: string, + /** + See [`scroll-padding-left`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left) on MDN. + */ + scrollPaddingLeft?: string, + /** + See [`scroll-padding-right`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right) on MDN. + */ + scrollPaddingRight?: string, + /** + See [`scroll-padding-top`](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top) on MDN. + */ + scrollPaddingTop?: string, + /** + See [`scroll-snap-align`](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align) on MDN. + */ + scrollSnapAlign?: string, + /** + See [`scroll-snap-stop`](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop) on MDN. + */ + scrollSnapStop?: string, + /** + See [`scroll-snap-type`](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) on MDN. + */ + scrollSnapType?: string, + /** + See [`scrollbar-color`](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) on MDN. + */ + scrollbarColor?: string, + /** + See [`scrollbar-gutter`](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) on MDN. + */ + scrollbarGutter?: string, + /** + See [`scrollbar-width`](https://developer.mozilla.org/docs/Web/CSS/scrollbar-width) on MDN. + */ + scrollbarWidth?: string, + /** + See [`shape-image-threshold`](https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold) on MDN. + */ + shapeImageThreshold?: string, + /** + See [`shape-margin`](https://developer.mozilla.org/docs/Web/CSS/shape-margin) on MDN. + */ + shapeMargin?: string, + /** + See [`shape-outside`](https://developer.mozilla.org/docs/Web/CSS/shape-outside) on MDN. + */ + shapeOutside?: string, + /** + See [`shape-rendering`](https://developer.mozilla.org/docs/Web/CSS/shape-rendering) on MDN. + */ + shapeRendering?: string, + /** + See [`stop-color`](https://developer.mozilla.org/docs/Web/CSS/stop-color) on MDN. + */ + stopColor?: string, + /** + See [`stop-opacity`](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) on MDN. + */ + stopOpacity?: string, + /** + See [`stroke`](https://developer.mozilla.org/docs/Web/CSS/stroke) on MDN. + */ + stroke?: string, + /** + See [`stroke-dasharray`](https://developer.mozilla.org/docs/Web/CSS/stroke-dasharray) on MDN. + */ + strokeDasharray?: string, + /** + See [`stroke-dashoffset`](https://developer.mozilla.org/docs/Web/CSS/stroke-dashoffset) on MDN. + */ + strokeDashoffset?: string, + /** + See [`stroke-linecap`](https://developer.mozilla.org/docs/Web/CSS/stroke-linecap) on MDN. + */ + strokeLinecap?: string, + /** + See [`stroke-linejoin`](https://developer.mozilla.org/docs/Web/CSS/stroke-linejoin) on MDN. + */ + strokeLinejoin?: string, + /** + See [`stroke-miterlimit`](https://developer.mozilla.org/docs/Web/CSS/stroke-miterlimit) on MDN. + */ + strokeMiterlimit?: string, + /** + See [`stroke-opacity`](https://developer.mozilla.org/docs/Web/CSS/stroke-opacity) on MDN. + */ + strokeOpacity?: string, + /** + See [`stroke-width`](https://developer.mozilla.org/docs/Web/CSS/stroke-width) on MDN. + */ + strokeWidth?: string, + /** + See [`tab-size`](https://developer.mozilla.org/docs/Web/CSS/tab-size) on MDN. + */ + tabSize?: string, + /** + See [`table-layout`](https://developer.mozilla.org/docs/Web/CSS/table-layout) on MDN. + */ + tableLayout?: string, + /** + See [`text-align`](https://developer.mozilla.org/docs/Web/CSS/text-align) on MDN. + */ + textAlign?: string, + /** + See [`text-align-last`](https://developer.mozilla.org/docs/Web/CSS/text-align-last) on MDN. + */ + textAlignLast?: string, + /** + See [`text-anchor`](https://developer.mozilla.org/docs/Web/CSS/text-anchor) on MDN. + */ + textAnchor?: string, + /** + */ + textBox?: string, + /** + */ + textBoxEdge?: string, + /** + */ + textBoxTrim?: string, + /** + See [`text-combine-upright`](https://developer.mozilla.org/docs/Web/CSS/text-combine-upright) on MDN. + */ + textCombineUpright?: string, + /** + See [`text-decoration`](https://developer.mozilla.org/docs/Web/CSS/text-decoration) on MDN. + */ + textDecoration?: string, + /** + See [`text-decoration-color`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-color) on MDN. + */ + textDecorationColor?: string, + /** + See [`text-decoration-line`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-line) on MDN. + */ + textDecorationLine?: string, + /** + See [`text-decoration-skip-ink`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink) on MDN. + */ + textDecorationSkipInk?: string, + /** + See [`text-decoration-style`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-style) on MDN. + */ + textDecorationStyle?: string, + /** + See [`text-decoration-thickness`](https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness) on MDN. + */ + textDecorationThickness?: string, + /** + See [`text-emphasis`](https://developer.mozilla.org/docs/Web/CSS/text-emphasis) on MDN. + */ + textEmphasis?: string, + /** + See [`text-emphasis-color`](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color) on MDN. + */ + textEmphasisColor?: string, + /** + See [`text-emphasis-position`](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position) on MDN. + */ + textEmphasisPosition?: string, + /** + See [`text-emphasis-style`](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style) on MDN. + */ + textEmphasisStyle?: string, + /** + See [`text-indent`](https://developer.mozilla.org/docs/Web/CSS/text-indent) on MDN. + */ + textIndent?: string, + /** + See [`text-justify`](https://developer.mozilla.org/docs/Web/CSS/text-justify) on MDN. + */ + textJustify?: string, + /** + See [`text-orientation`](https://developer.mozilla.org/docs/Web/CSS/text-orientation) on MDN. + */ + textOrientation?: string, + /** + See [`text-overflow`](https://developer.mozilla.org/docs/Web/CSS/text-overflow) on MDN. + */ + textOverflow?: string, + /** + See [`text-rendering`](https://developer.mozilla.org/docs/Web/CSS/text-rendering) on MDN. + */ + textRendering?: string, + /** + See [`text-shadow`](https://developer.mozilla.org/docs/Web/CSS/text-shadow) on MDN. + */ + textShadow?: string, + /** + See [`text-transform`](https://developer.mozilla.org/docs/Web/CSS/text-transform) on MDN. + */ + textTransform?: string, + /** + See [`text-underline-offset`](https://developer.mozilla.org/docs/Web/CSS/text-underline-offset) on MDN. + */ + textUnderlineOffset?: string, + /** + See [`text-underline-position`](https://developer.mozilla.org/docs/Web/CSS/text-underline-position) on MDN. + */ + textUnderlinePosition?: string, + /** + See [`text-wrap`](https://developer.mozilla.org/docs/Web/CSS/text-wrap) on MDN. + */ + textWrap?: string, + /** + See [`text-wrap-mode`](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) on MDN. + */ + textWrapMode?: string, + /** + See [`text-wrap-style`](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) on MDN. + */ + textWrapStyle?: string, + /** + See [`top`](https://developer.mozilla.org/docs/Web/CSS/top) on MDN. + */ + top?: string, + /** + See [`touch-action`](https://developer.mozilla.org/docs/Web/CSS/touch-action) on MDN. + */ + touchAction?: string, + /** + See [`transform`](https://developer.mozilla.org/docs/Web/CSS/transform) on MDN. + */ + transform?: string, + /** + See [`transform-box`](https://developer.mozilla.org/docs/Web/CSS/transform-box) on MDN. + */ + transformBox?: string, + /** + See [`transform-origin`](https://developer.mozilla.org/docs/Web/CSS/transform-origin) on MDN. + */ + transformOrigin?: string, + /** + See [`transform-style`](https://developer.mozilla.org/docs/Web/CSS/transform-style) on MDN. + */ + transformStyle?: string, + /** + See [`transition`](https://developer.mozilla.org/docs/Web/CSS/transition) on MDN. + */ + transition?: string, + /** + See [`transition-behavior`](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) on MDN. + */ + transitionBehavior?: string, + /** + See [`transition-delay`](https://developer.mozilla.org/docs/Web/CSS/transition-delay) on MDN. + */ + transitionDelay?: string, + /** + See [`transition-duration`](https://developer.mozilla.org/docs/Web/CSS/transition-duration) on MDN. + */ + transitionDuration?: string, + /** + See [`transition-property`](https://developer.mozilla.org/docs/Web/CSS/transition-property) on MDN. + */ + transitionProperty?: string, + /** + See [`transition-timing-function`](https://developer.mozilla.org/docs/Web/CSS/transition-timing-function) on MDN. + */ + transitionTimingFunction?: string, + /** + See [`translate`](https://developer.mozilla.org/docs/Web/CSS/translate) on MDN. + */ + translate?: string, + /** + See [`unicode-bidi`](https://developer.mozilla.org/docs/Web/CSS/unicode-bidi) on MDN. + */ + unicodeBidi?: string, + /** + See [`user-select`](https://developer.mozilla.org/docs/Web/CSS/user-select) on MDN. + */ + userSelect?: string, + /** + See [`vector-effect`](https://developer.mozilla.org/docs/Web/CSS/vector-effect) on MDN. + */ + vectorEffect?: string, + /** + See [`vertical-align`](https://developer.mozilla.org/docs/Web/CSS/vertical-align) on MDN. + */ + verticalAlign?: string, + /** + See [`view-transition-name`](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) on MDN. + */ + viewTransitionName?: string, + /** + See [`visibility`](https://developer.mozilla.org/docs/Web/CSS/visibility) on MDN. + */ + visibility?: string, + /** + See [`white-space`](https://developer.mozilla.org/docs/Web/CSS/white-space) on MDN. + */ + whiteSpace?: string, + /** + See [`white-space-collapse`](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) on MDN. + */ + whiteSpaceCollapse?: string, + /** + See [`widows`](https://developer.mozilla.org/docs/Web/CSS/widows) on MDN. + */ + widows?: string, + /** + See [`width`](https://developer.mozilla.org/docs/Web/CSS/width) on MDN. + */ + width?: string, + /** + See [`will-change`](https://developer.mozilla.org/docs/Web/CSS/will-change) on MDN. + */ + willChange?: string, + /** + See [`word-break`](https://developer.mozilla.org/docs/Web/CSS/word-break) on MDN. + */ + wordBreak?: string, + /** + See [`word-spacing`](https://developer.mozilla.org/docs/Web/CSS/word-spacing) on MDN. + */ + wordSpacing?: string, + /** + See [`word-wrap`](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap) on MDN. + */ + wordWrap?: string, + /** + See [`writing-mode`](https://developer.mozilla.org/docs/Web/CSS/writing-mode) on MDN. + */ + writingMode?: string, + /** + See [`x`](https://developer.mozilla.org/docs/Web/CSS/x) on MDN. + */ + x?: string, + /** + See [`y`](https://developer.mozilla.org/docs/Web/CSS/y) on MDN. + */ + y?: string, + /** + See [`z-index`](https://developer.mozilla.org/docs/Web/CSS/z-index) on MDN. + */ + zIndex?: string, + /** + See [`zoom`](https://developer.mozilla.org/docs/Web/CSS/zoom) on MDN. + */ + zoom?: string, + /* Experimental properties: */ + imageResolution?: string, + textDecorationSkip?: string, + maxLines?: string, + rubyMerge?: string, + /* Non-standard properties: */ + azimuth?: string, + clip?: string, + cue?: string, + cueAfter?: string, + cueBefore?: string, + elevation?: string, + markerOffset?: string, + marks?: string, + pause?: string, + pauseAfter?: string, + pauseBefore?: string, + pitch?: string, + pitchRange?: string, + playDuring?: string, + richness?: string, + size?: string, + speak?: string, + speakHeader?: string, + speakNumeral?: string, + speakPunctuation?: string, + speechRate?: string, + stress?: string, + voiceFamily?: string, + volume?: string, + rest?: string, + restAfter?: string, + restBefore?: string, + speakAs?: string, + voiceBalance?: string, + voiceDuration?: string, + voicePitch?: string, + voiceRange?: string, + voiceRate?: string, + voiceStress?: string, + voiceVolume?: string, + forntVariantAlternates?: string, + glyphOrientationVertical?: string, + navDown?: string, + navLeft?: string, + navRight?: string, + navUp?: string, + gridColumnGap?: string, + gridGap?: string, + gridRowGap?: string, + caretAnimation?: string, + marqueeDirection?: string, + marqueeLoop?: string, + marqueeSpeed?: string, + marqueeStyle?: string, + overflowStyle?: string, + rotation?: string, + rotationPoint?: string, + alignmentBaseline?: string, + baselineShift?: string, + colorInterpolation?: string, + colorProfile?: string, + colorRendering?: string, + glyphOrientationHorizontal?: string, + kerning?: string, +} /* CSS2Properties: https://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSS2Properties */ @val diff --git a/tests/dependencies/rescript-react/src/ReactEvent.res b/tests/dependencies/rescript-react/src/ReactEvent.res index 54ac5910c2..2d927a1907 100644 --- a/tests/dependencies/rescript-react/src/ReactEvent.res +++ b/tests/dependencies/rescript-react/src/ReactEvent.res @@ -59,21 +59,27 @@ external toSyntheticEvent: synthetic<'a> => Synthetic.t = "%identity" module Clipboard = { type tag = JsxEvent.Clipboard.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get external clipboardData: t => {..} = "clipboardData" /* Should return Dom.dataTransfer */ } module Composition = { type tag = JsxEvent.Composition.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get external data: t => string = "data" } module Keyboard = { type tag = JsxEvent.Keyboard.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get external altKey: t => bool = "altKey" @get external charCode: t => int = "charCode" @get external code: t => string = "code" @@ -93,7 +99,9 @@ module Keyboard = { module Focus = { type tag = JsxEvent.Focus.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get @return(nullable) external relatedTarget: t => option<{..}> = "relatedTarget" /* Should return Dom.eventTarget */ } @@ -101,13 +109,17 @@ module Focus = { module Form = { type tag = JsxEvent.Form.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) } module Mouse = { type tag = JsxEvent.Mouse.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get external altKey: t => bool = "altKey" @get external button: t => int = "button" @get external buttons: t => int = "buttons" @@ -131,7 +143,9 @@ module Mouse = { module Pointer = { type tag = JsxEvent.Pointer.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) // UIEvent @get external detail: t => int = "detail" @@ -176,13 +190,17 @@ module Pointer = { module Selection = { type tag = JsxEvent.Selection.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) } module Touch = { type tag = JsxEvent.Touch.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get external altKey: t => bool = "altKey" @get external changedTouches: t => {..} = "changedTouches" /* Should return Dom.touchList */ @get external ctrlKey: t => bool = "ctrlKey" @@ -197,7 +215,9 @@ module Touch = { module UI = { type tag = JsxEvent.UI.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get external detail: t => int = "detail" @get external view: t => Dom.window = "view" /* Should return DOMAbstractView/WindowProxy */ } @@ -205,7 +225,9 @@ module UI = { module Wheel = { type tag = JsxEvent.Wheel.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get external deltaMode: t => int = "deltaMode" @get external deltaX: t => float = "deltaX" @get external deltaY: t => float = "deltaY" @@ -215,19 +237,25 @@ module Wheel = { module Media = { type tag = JsxEvent.Media.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) } module Image = { type tag = JsxEvent.Image.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) } module Animation = { type tag = JsxEvent.Animation.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get external animationName: t => string = "animationName" @get external pseudoElement: t => string = "pseudoElement" @get external elapsedTime: t => float = "elapsedTime" @@ -236,7 +264,9 @@ module Animation = { module Transition = { type tag = JsxEvent.Transition.tag type t = synthetic - include MakeEventWithType({type t = t}) + include MakeEventWithType({ + type t = t + }) @get external propertyName: t => string = "propertyName" @get external pseudoElement: t => string = "pseudoElement" @get external elapsedTime: t => float = "elapsedTime" diff --git a/tests/gentype_tests/typescript-react-example/package.json b/tests/gentype_tests/typescript-react-example/package.json index e2d7350cc0..28090b91d1 100644 --- a/tests/gentype_tests/typescript-react-example/package.json +++ b/tests/gentype_tests/typescript-react-example/package.json @@ -9,13 +9,13 @@ }, "dependencies": { "@rescript/react": "^0.14.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.1.0", + "react-dom": "^19.1.0", "rescript": "workspace:^" }, "devDependencies": { - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.1.0", + "@types/react-dom": "^19.1.0", "typescript": "5.9.3" } } From efb35f391c63dd0e5a3f786adb804e1409a3ce85 Mon Sep 17 00:00:00 2001 From: dkirchhof Date: Sun, 8 Mar 2026 08:20:00 +0100 Subject: [PATCH 3/3] update yarn.lock --- yarn.lock | 90 ++++++++++++++++++++----------------------------------- 1 file changed, 33 insertions(+), 57 deletions(-) diff --git a/yarn.lock b/yarn.lock index 22394d094a..1f9ffbdfca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -746,10 +746,10 @@ __metadata: resolution: "@tests/gentype-react-example@workspace:tests/gentype_tests/typescript-react-example" dependencies: "@rescript/react": "npm:^0.14.0" - "@types/react": "npm:^18.3.3" - "@types/react-dom": "npm:^18.3.0" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" + "@types/react": "npm:^19.1.0" + "@types/react-dom": "npm:^19.1.0" + react: "npm:^19.1.0" + react-dom: "npm:^19.1.0" rescript: "workspace:^" typescript: "npm:5.9.3" languageName: unknown @@ -830,29 +830,21 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*": - version: 15.7.14 - resolution: "@types/prop-types@npm:15.7.14" - checksum: 10c0/1ec775160bfab90b67a782d735952158c7e702ca4502968aa82565bd8e452c2de8601c8dfe349733073c31179116cf7340710160d3836aa8a1ef76d1532893b1 - languageName: node - linkType: hard - -"@types/react-dom@npm:^18.3.0": - version: 18.3.5 - resolution: "@types/react-dom@npm:18.3.5" +"@types/react-dom@npm:^19.1.0": + version: 19.2.3 + resolution: "@types/react-dom@npm:19.2.3" peerDependencies: - "@types/react": ^18.0.0 - checksum: 10c0/b163d35a6b32a79f5782574a7aeb12a31a647e248792bf437e6d596e2676961c394c5e3c6e91d1ce44ae90441dbaf93158efb4f051c0d61e2612f1cb04ce4faa + "@types/react": ^19.2.0 + checksum: 10c0/b486ebe0f4e2fb35e2e108df1d8fc0927ca5d6002d5771e8a739de11239fe62d0e207c50886185253c99eb9dedfeeb956ea7429e5ba17f6693c7acb4c02f8cd1 languageName: node linkType: hard -"@types/react@npm:^18.3.3": - version: 18.3.20 - resolution: "@types/react@npm:18.3.20" +"@types/react@npm:^19.1.0": + version: 19.2.14 + resolution: "@types/react@npm:19.2.14" dependencies: - "@types/prop-types": "npm:*" - csstype: "npm:^3.0.2" - checksum: 10c0/65fa867c91357e4c4c646945c8b99044360f8973cb7f928ec4de115fe3207827985d45be236e6fd6c092b09f631c2126ce835c137be30718419e143d73300d8f + csstype: "npm:^3.2.2" + checksum: 10c0/7d25bf41b57719452d86d2ac0570b659210402707313a36ee612666bf11275a1c69824f8c3ee1fdca077ccfe15452f6da8f1224529b917050eb2d861e52b59b7 languageName: node linkType: hard @@ -1183,10 +1175,10 @@ __metadata: languageName: node linkType: hard -"csstype@npm:^3.0.2": - version: 3.1.3 - resolution: "csstype@npm:3.1.3" - checksum: 10c0/80c089d6f7e0c5b2bd83cf0539ab41474198579584fa10d86d0cafe0642202343cbc119e076a0b1aece191989477081415d66c9fefbf3c957fc2fc4b7009f248 +"csstype@npm:^3.2.2": + version: 3.2.3 + resolution: "csstype@npm:3.2.3" + checksum: 10c0/cd29c51e70fa822f1cecd8641a1445bed7063697469d35633b516e60fe8c1bde04b08f6c5b6022136bb669b64c63d4173af54864510fbb4ee23281801841a3ce languageName: node linkType: hard @@ -1792,7 +1784,7 @@ __metadata: languageName: node linkType: hard -"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": +"js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" checksum: 10c0/e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed @@ -1882,17 +1874,6 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.1.0": - version: 1.4.0 - resolution: "loose-envify@npm:1.4.0" - dependencies: - js-tokens: "npm:^3.0.0 || ^4.0.0" - bin: - loose-envify: cli.js - checksum: 10c0/655d110220983c1a4b9c0c679a2e8016d4b67f6e9c7b5435ff5979ecdb20d0813f4dec0a08674fcbdd4846a3f07edbb50a36811fd37930b94aaa0d9daceb017e - languageName: node - linkType: hard - "lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": version: 10.4.3 resolution: "lru-cache@npm:10.4.3" @@ -2383,24 +2364,21 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^18.3.1": - version: 18.3.1 - resolution: "react-dom@npm:18.3.1" +"react-dom@npm:^19.1.0": + version: 19.2.4 + resolution: "react-dom@npm:19.2.4" dependencies: - loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.2" + scheduler: "npm:^0.27.0" peerDependencies: - react: ^18.3.1 - checksum: 10c0/a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85 + react: ^19.2.4 + checksum: 10c0/f0c63f1794dedb154136d4d0f59af00b41907f4859571c155940296808f4b94bf9c0c20633db75b5b2112ec13d8d7dd4f9bf57362ed48782f317b11d05a44f35 languageName: node linkType: hard -"react@npm:^18.3.1": - version: 18.3.1 - resolution: "react@npm:18.3.1" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10c0/283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3 +"react@npm:^19.1.0": + version: 19.2.4 + resolution: "react@npm:19.2.4" + checksum: 10c0/cd2c9ff67a720799cc3b38a516009986f7fc4cb8d3e15716c6211cf098d1357ee3e348ab05ad0600042bbb0fd888530ba92e329198c92eafa0994f5213396596 languageName: node linkType: hard @@ -2650,12 +2628,10 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.2": - version: 0.23.2 - resolution: "scheduler@npm:0.23.2" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10c0/26383305e249651d4c58e6705d5f8425f153211aef95f15161c151f7b8de885f24751b377e4a0b3dd42cce09aad3f87a61dab7636859c0d89b7daf1a1e2a5c78 +"scheduler@npm:^0.27.0": + version: 0.27.0 + resolution: "scheduler@npm:0.27.0" + checksum: 10c0/4f03048cb05a3c8fddc45813052251eca00688f413a3cee236d984a161da28db28ba71bd11e7a3dd02f7af84ab28d39fb311431d3b3772fed557945beb00c452 languageName: node linkType: hard