From 2dcda6fdb710011ea45f0e2b72b46ec44465de7a Mon Sep 17 00:00:00 2001 From: Steven Lin Date: Tue, 17 Dec 2024 16:37:19 +0800 Subject: [PATCH] add all standard CSS properties to `JsxDOMStyle`, and mark non-standard ones as deprecated --- runtime/JsxDOMStyle.res | 3370 +++++++++++++++++++++++++++++++++++---- 1 file changed, 3083 insertions(+), 287 deletions(-) diff --git a/runtime/JsxDOMStyle.res b/runtime/JsxDOMStyle.res index 283607e24f..8cda9fa2f7 100644 --- a/runtime/JsxDOMStyle.res +++ b/runtime/JsxDOMStyle.res @@ -23,415 +23,3211 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ type t = { - azimuth?: string, + /** + **Syntax**: `auto | ` + + See [`accent-color`](https://developer.mozilla.org/docs/Web/CSS/accent-color) on MDN. + */ + accentColor?: string, + + /** + **Syntax**: `normal | | | ? ` + + See [`align-content`](https://developer.mozilla.org/docs/Web/CSS/align-content) on MDN. + */ + alignContent?: string, + + /** + **Syntax**: `normal | stretch | | [ ? ]` + + See [`align-items`](https://developer.mozilla.org/docs/Web/CSS/align-items) on MDN. + */ + alignItems?: string, + + /** + **Syntax**: `auto | normal | stretch | | ? ` + + See [`align-self`](https://developer.mozilla.org/docs/Web/CSS/align-self) on MDN. + */ + alignSelf?: string, + + /** + **Syntax**: `initial | inherit | unset | revert | revert-layer` + + See [`all`](https://developer.mozilla.org/docs/Web/CSS/all) on MDN. + */ + all?: string, + + /** + **Syntax**: `#` + + See [`animation`](https://developer.mozilla.org/docs/Web/CSS/animation) on MDN. + */ + animation?: string, + + /** + **Syntax**: `#` + + See [`animation-composition`](https://developer.mozilla.org/docs/Web/CSS/animation-composition) on MDN. + */ + animationComposition?: string, + + /** + **Syntax**: `