From 6d7e1e2ebf172c5cd9680574a0ca36429781bca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Raddum=20Berg?= Date: Tue, 6 Jul 2021 11:52:55 +0200 Subject: [PATCH 1/2] scalajs-react 2.0.0, rename Flavour.Japgolly => Flavour.ScalajsReact --- docs/flavour.md | 2 +- .../internal/importer/ConversionOptions.scala | 2 +- .../converter/internal/importer/Ci.scala | 2 +- .../org/scalablytyped/converter/Flavour.scala | 7 +- .../converter/internal/scalajs/Versions.scala | 2 +- .../scalajs/flavours/JapgollyNames.scala | 17 +- .../check-japgolly-3/m/material-ui/build.sbt | 8 +- .../materialUi/MaterialUI.scala | 2 +- .../check-japgolly-3/r/react/build.sbt | 6 +- .../StBuildingComponent.scala | 4 +- .../scala/mylib.internal.baz/react/anon.scala | 8 +- .../scala/mylib.internal.baz/react/mod.scala | 14 +- .../check-japgolly-3/s/std/build.sbt | 6 +- .../std/HTMLElementTagNameMap.scala | 42 +- .../std/SVGElementTagNameMap.scala | 6 +- .../mylib.internal.baz/std/package.scala | 12 +- .../check-japgolly/m/material-ui/build.sbt | 13 + .../materialUi/MaterialUI.scala | 2 +- .../StBuildingComponent.scala | 4 +- .../scala/mylib.internal.baz/react/anon.scala | 8 +- .../scala/mylib.internal.baz/react/mod.scala | 14 +- .../c/componentstest/build.sbt | 8 +- .../componentstest/components/Card.scala | 4 +- .../typingsJapgolly/componentstest/mod.scala | 4 +- .../r/react-bootstrap/build.sbt | 8 +- .../components/ButtonGroup.scala | 2 +- .../r/react-contextmenu/build.sbt | 8 +- .../reactContextmenu/actionsMod.scala | 2 +- .../components/ContextMenu.scala | 2 +- .../components/MenuItem.scala | 4 +- .../reactContextmenu/components/SubMenu.scala | 6 +- .../reactContextmenu/mod.scala | 8 +- .../r/react-dropzone/build.sbt | 8 +- .../components/ReactDropzone.scala | 8 +- .../typingsJapgolly/reactDropzone/mod.scala | 16 +- .../r/react-markdown/build.sbt | 8 +- .../typingsJapgolly/reactMarkdown/mod.scala | 6 +- .../check-japgolly-3/r/react-native/build.sbt | 6 +- .../check-japgolly-3/r/react-select/build.sbt | 8 +- .../check-japgolly-3/r/react/build.sbt | 6 +- .../typingsJapgolly/StBuildingComponent.scala | 4 +- .../scala/typingsJapgolly/react/anon.scala | 8 +- ...Builder_DetailedHTMLProps1253650682.scala} | 6 +- .../typingsJapgolly/react/components/a.scala | 4 +- .../react/components/abbr.scala | 6 +- .../react/components/address.scala | 6 +- .../react/components/area.scala | 4 +- .../react/components/article.scala | 6 +- .../react/components/aside.scala | 6 +- .../react/components/audio.scala | 4 +- .../typingsJapgolly/react/components/b.scala | 6 +- .../react/components/base.scala | 4 +- .../react/components/bdi.scala | 6 +- .../react/components/bdo.scala | 6 +- .../react/components/big.scala | 6 +- .../react/components/view.scala | 4 +- .../scala/typingsJapgolly/react/global.scala | 76 +-- .../react/mod/AbstractView.scala | 4 +- .../react/mod/AnimationEvent.scala | 2 +- .../react/mod/ChangeEvent.scala | 4 +- .../react/mod/ClipboardEvent.scala | 4 +- .../typingsJapgolly/react/mod/Component.scala | 2 +- .../react/mod/ComponentClass.scala | 4 +- .../react/mod/ComponentElement.scala | 6 +- .../react/mod/ComponentFactory.scala | 4 +- .../react/mod/ComponentSpec.scala | 2 +- .../react/mod/CompositionEvent.scala | 2 +- .../react/mod/ConsumerProps.scala | 2 +- .../react/mod/DOMAttributes.scala | 166 ++--- .../react/mod/DOMElement.scala | 2 +- .../react/mod/DOMFactory.scala | 6 +- .../react/mod/DetailedHTMLFactory.scala | 2 +- .../react/mod/DetailedReactHTMLElement.scala | 2 +- .../typingsJapgolly/react/mod/DragEvent.scala | 4 +- .../react/mod/ExoticComponent.scala | 2 +- .../typingsJapgolly/react/mod/Factory.scala | 4 +- .../react/mod/FocusEvent.scala | 2 +- .../react/mod/FunctionComponent.scala | 2 +- .../react/mod/FunctionComponentFactory.scala | 2 +- .../react/mod/InputHTMLAttributes.scala | 2 +- .../react/mod/InvalidEvent.scala | 4 +- .../react/mod/KeyboardEvent.scala | 2 +- .../react/mod/MouseEvent.scala | 2 +- .../react/mod/PointerEvent.scala | 2 +- .../react/mod/ProfilerProps.scala | 8 +- .../typingsJapgolly/react/mod/Props.scala | 8 +- .../react/mod/ProviderProps.scala | 8 +- .../typingsJapgolly/react/mod/ReactDOM.scala | 104 +-- .../typingsJapgolly/react/mod/ReactHTML.scala | 104 +-- .../react/mod/ReactNodeArray.scala | 2 +- .../react/mod/ReactPortal.scala | 8 +- .../react/mod/ReactSVGElement.scala | 2 +- .../react/mod/RefForwardingComponent.scala | 2 +- .../react/mod/SVGFactory.scala | 2 +- .../react/mod/SelectHTMLAttributes.scala | 2 +- .../react/mod/SuspenseProps.scala | 8 +- .../react/mod/TextareaHTMLAttributes.scala | 2 +- .../typingsJapgolly/react/mod/Touch.scala | 2 +- .../react/mod/TouchEvent.scala | 2 +- .../react/mod/TransitionEvent.scala | 2 +- .../typingsJapgolly/react/mod/UIEvent.scala | 2 +- .../react/mod/WheelEvent.scala | 2 +- .../typingsJapgolly/react/mod/global.scala | 14 +- .../typingsJapgolly/react/mod/package.scala | 337 +++++----- .../s/semantic-ui-react/build.sbt | 8 +- .../accordionAccordionAccordionMod.scala | 12 +- .../accordionAccordionMod.scala | 2 +- .../semanticUiReact/accordionContentMod.scala | 8 +- .../semanticUiReact/accordionPanelMod.scala | 12 +- .../semanticUiReact/accordionTitleMod.scala | 12 +- .../semanticUiReact/buttonContentMod.scala | 8 +- .../semanticUiReact/buttonGroupMod.scala | 8 +- .../semanticUiReact/buttonMod.scala | 10 +- .../components/Accordion.scala | 2 +- .../components/AccordionPanel.scala | 10 +- .../semanticUiReact/components/Button.scala | 166 ++--- .../components/Container.scala | 6 +- .../semanticUiReact/components/Input.scala | 166 ++--- ...er_AccordionAccordionProps1188692388.scala | 2 +- ...der_AccordionContentProps_1883056278.scala | 6 +- ...uilder_AccordionTitleProps_248880662.scala | 10 +- ...Builder_ButtonContentProps1680783343.scala | 6 +- ...edBuilder_ButtonGroupProps_158814638.scala | 6 +- .../components/TestContainer.scala | 6 +- .../containerContainerMod.scala | 8 +- .../genericMod/StrictHtmlLabelProps.scala | 8 +- .../genericMod/StrictHtmlSpanProps.scala | 8 +- .../semanticUiReact/genericMod/package.scala | 10 +- .../semanticUiReact/inputInputMod.scala | 10 +- .../testContainerTestContainerMod.scala | 8 +- .../build.sbt | 8 +- .../components/EventListener.scala | 2 +- .../mod.scala | 2 +- .../typesMod.scala | 2 +- .../build.sbt | 8 +- .../stardustUiReactComponentRef/mod.scala | 2 +- .../refForwardMod.scala | 2 +- .../toRefObjectMod.scala | 2 +- .../typesMod.scala | 2 +- .../check-japgolly-3/s/std/build.sbt | 6 +- .../std/HTMLElementTagNameMap.scala | 624 +++++++++--------- .../std/SVGElementTagNameMap.scala | 18 +- .../scala/typingsJapgolly/std/package.scala | 250 +++---- .../check-slinky-3/c/componentstest/build.sbt | 4 +- .../r/react-bootstrap/build.sbt | 4 +- .../r/react-contextmenu/build.sbt | 4 +- .../check-slinky-3/r/react-dropzone/build.sbt | 4 +- .../check-slinky-3/r/react-markdown/build.sbt | 4 +- .../check-slinky-3/r/react-select/build.sbt | 4 +- .../check-slinky-3/r/react/build.sbt | 2 +- .../typingsSlinky/react/components/a.scala | 2 +- .../typingsSlinky/react/components/abbr.scala | 4 +- .../react/components/address.scala | 4 +- .../typingsSlinky/react/components/area.scala | 2 +- .../react/components/article.scala | 4 +- .../react/components/aside.scala | 4 +- .../react/components/audio.scala | 2 +- .../typingsSlinky/react/components/b.scala | 4 +- .../typingsSlinky/react/components/base.scala | 2 +- .../typingsSlinky/react/components/bdi.scala | 4 +- .../typingsSlinky/react/components/bdo.scala | 4 +- .../typingsSlinky/react/components/big.scala | 4 +- .../typingsSlinky/react/components/view.scala | 2 +- .../s/semantic-ui-react/build.sbt | 4 +- .../build.sbt | 4 +- .../build.sbt | 4 +- .../r/react-transition-group/build.sbt | 8 +- .../reactTransitionGroup/anon.scala | 2 +- .../transitionGroupMod.scala | 2 +- .../check-japgolly-3/r/react/build.sbt | 6 +- .../typingsJapgolly/StBuildingComponent.scala | 4 +- .../scala/typingsJapgolly/react/anon.scala | 2 +- .../react/components/abbr.scala | 2 +- .../react/components/animate.scala | 2 +- .../scala/typingsJapgolly/react/mod.scala | 18 +- .../check-japgolly-3/s/std/build.sbt | 6 +- .../std/HTMLElementTagNameMap.scala | 28 +- .../std/SVGElementTagNameMap.scala | 4 +- .../scala/typingsJapgolly/std/package.scala | 14 +- .../r/react-transition-group/build.sbt | 4 +- .../check-slinky-3/r/react/build.sbt | 2 +- .../typingsSlinky/react/components/abbr.scala | 2 +- .../react/components/animate.scala | 4 +- 183 files changed, 1491 insertions(+), 1473 deletions(-) create mode 100644 tests/material-ui/check-japgolly/m/material-ui/build.sbt rename tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/{SharedBuilder_DetailedHTMLProps_127198210.scala => SharedBuilder_DetailedHTMLProps1253650682.scala} (99%) diff --git a/docs/flavour.md b/docs/flavour.md index f5249bb940..f6682ae284 100644 --- a/docs/flavour.md +++ b/docs/flavour.md @@ -21,7 +21,7 @@ project.settings( // for Slinky native projects stFlavour := Flavour.SlinkyNative, // for scalajs-react projects - stFlavour := Flavour.Japgolly + stFlavour := Flavour.ScalajsReact ) ``` diff --git a/importer-portable/src/main/scala/org/scalablytyped/converter/internal/importer/ConversionOptions.scala b/importer-portable/src/main/scala/org/scalablytyped/converter/internal/importer/ConversionOptions.scala index 69274b7836..6c9b19a6ad 100644 --- a/importer-portable/src/main/scala/org/scalablytyped/converter/internal/importer/ConversionOptions.scala +++ b/importer-portable/src/main/scala/org/scalablytyped/converter/internal/importer/ConversionOptions.scala @@ -37,7 +37,7 @@ case class ConversionOptions( SlinkyFlavour(outputPackage, enableLongApplyMethod, versions, enableReactTreeShaking) case Flavour.SlinkyNative => SlinkyNativeFlavour(outputPackage, enableLongApplyMethod, versions, enableReactTreeShaking) - case Flavour.Japgolly => + case Flavour.ScalajsReact => JapgollyFlavour(outputPackage, enableLongApplyMethod, versions, enableReactTreeShaking) } diff --git a/importer/src/main/scala/org/scalablytyped/converter/internal/importer/Ci.scala b/importer/src/main/scala/org/scalablytyped/converter/internal/importer/Ci.scala index 0fa682dd5c..f240401e71 100644 --- a/importer/src/main/scala/org/scalablytyped/converter/internal/importer/Ci.scala +++ b/importer/src/main/scala/org/scalablytyped/converter/internal/importer/Ci.scala @@ -82,7 +82,7 @@ object Ci { ) else if (flags.contains("-flavourJapgolly")) ( - Flavour.Japgolly, + Flavour.ScalajsReact, Name("typingsJapgolly"), ProjectName("ScalajsReactTyped"), new URI("https://github.com/ScalablyTyped/ScalajsReactTyped.git"), diff --git a/scalajs/src/main/scala/org/scalablytyped/converter/Flavour.scala b/scalajs/src/main/scala/org/scalablytyped/converter/Flavour.scala index 858adeaede..8dd53014d2 100644 --- a/scalajs/src/main/scala/org/scalablytyped/converter/Flavour.scala +++ b/scalajs/src/main/scala/org/scalablytyped/converter/Flavour.scala @@ -8,10 +8,13 @@ object Flavour { case object Normal extends Flavour("normal") case object Slinky extends Flavour("slinky") case object SlinkyNative extends Flavour("slinky-native") - case object Japgolly extends Flavour("japgolly") + case object ScalajsReact extends Flavour("scalajs-react") + + @deprecated("Use Flavour.ScalajsReact") + val Japgolly = ScalajsReact val All: List[Flavour] = - List(Normal, Slinky, SlinkyNative, Japgolly) + List(Normal, Slinky, SlinkyNative, ScalajsReact) val byName: Map[String, Flavour] = All.map(f => f.id -> f).toMap diff --git a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/Versions.scala b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/Versions.scala index 657433afe1..41ccd06508 100644 --- a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/Versions.scala +++ b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/Versions.scala @@ -114,5 +114,5 @@ case class Versions(scala: Versions.Scala, scalaJs: Versions.ScalaJs) { val scalaJsDom = Dep.ScalaJs("org.scala-js", "scalajs-dom", "2.0.0") val slinkyWeb = Dep.ScalaJs("me.shadaj", "slinky-web", "0.6.8+1-b1dd3f4c").for3Use2_13(scala.is3) val slinkyNative = Dep.ScalaJs("me.shadaj", "slinky-native", "0.6.8+1-b1dd3f4c").for3Use2_13(scala.is3) - val scalajsReact = Dep.ScalaJs("com.github.japgolly.scalajs-react", "core", "1.7.5").for3Use2_13(scala.is3) + val scalajsReact = Dep.ScalaJs("com.github.japgolly.scalajs-react", "core", "2.0.0") } diff --git a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/JapgollyNames.scala b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/JapgollyNames.scala index f2715e50fc..ae1fdf99ed 100644 --- a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/JapgollyNames.scala +++ b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/JapgollyNames.scala @@ -28,14 +28,15 @@ object JapgollyNames { val Array = QualifiedName("japgolly.scalajs.react.vdom.VdomArray") val VdomNode = QualifiedName("japgolly.scalajs.react.vdom.VdomNode") } + object rawReact { - val Element = QualifiedName("japgolly.scalajs.react.raw.React.Element") - val Node = QualifiedName("japgolly.scalajs.react.raw.React.Node") - val RefFn = QualifiedName("japgolly.scalajs.react.raw.React.RefFn") - val RefHandle = QualifiedName("japgolly.scalajs.react.raw.React.RefHandle") - val Component = QualifiedName("japgolly.scalajs.react.raw.React.Component") - val ComponentClassP = QualifiedName("japgolly.scalajs.react.raw.React.ComponentClassP") - val DomElement = QualifiedName("japgolly.scalajs.react.raw.React.DomElement") - val ElementType = QualifiedName("japgolly.scalajs.react.raw.React.ElementType") + val Element = QualifiedName("japgolly.scalajs.react.facade.React.Element") + val Node = QualifiedName("japgolly.scalajs.react.facade.React.Node") + val RefFn = QualifiedName("japgolly.scalajs.react.facade.React.RefFn") + val RefHandle = QualifiedName("japgolly.scalajs.react.facade.React.RefHandle") + val Component = QualifiedName("japgolly.scalajs.react.facade.React.Component") + val ComponentClassP = QualifiedName("japgolly.scalajs.react.facade.React.ComponentClassP") + val DomElement = QualifiedName("japgolly.scalajs.react.facade.React.DomElement") + val ElementType = QualifiedName("japgolly.scalajs.react.facade.React.ElementType") } } diff --git a/tests/material-ui/check-japgolly-3/m/material-ui/build.sbt b/tests/material-ui/check-japgolly-3/m/material-ui/build.sbt index 8f9c538c79..2b58842180 100644 --- a/tests/material-ui/check-japgolly-3/m/material-ui/build.sbt +++ b/tests/material-ui/check-japgolly-3/m/material-ui/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "material-ui" -version := "0.0-unknown-d92b16" +version := "0.0-unknown-49dc92" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "0.0-unknown-b0e5ab", - "org.scalablytyped" %%% "std" % "0.0-unknown-8533be", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "0.0-unknown-9cdef8", + "org.scalablytyped" %%% "std" % "0.0-unknown-e41d98") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/material-ui/check-japgolly-3/m/material-ui/src/main/scala/mylib.internal.baz/materialUi/MaterialUI.scala b/tests/material-ui/check-japgolly-3/m/material-ui/src/main/scala/mylib.internal.baz/materialUi/MaterialUI.scala index c5fd7bae80..ebec4a7d8c 100644 --- a/tests/material-ui/check-japgolly-3/m/material-ui/src/main/scala/mylib.internal.baz/materialUi/MaterialUI.scala +++ b/tests/material-ui/check-japgolly-3/m/material-ui/src/main/scala/mylib.internal.baz/materialUi/MaterialUI.scala @@ -1,6 +1,6 @@ package mylib.internal.baz.materialUi -import japgolly.scalajs.react.raw.React.Component +import japgolly.scalajs.react.facade.React.Component import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/material-ui/check-japgolly-3/r/react/build.sbt b/tests/material-ui/check-japgolly-3/r/react/build.sbt index 71dc97a3b2..16312a4e1f 100644 --- a/tests/material-ui/check-japgolly-3/r/react/build.sbt +++ b/tests/material-ui/check-japgolly-3/r/react/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react" -version := "0.0-unknown-b0e5ab" +version := "0.0-unknown-9cdef8" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "std" % "0.0-unknown-8533be", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "std" % "0.0-unknown-e41d98") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/StBuildingComponent.scala b/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/StBuildingComponent.scala index 7bb51adf3e..25dd4684be 100644 --- a/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/StBuildingComponent.scala +++ b/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/StBuildingComponent.scala @@ -3,8 +3,8 @@ package mylib.internal.baz import mylib.internal.baz.StBuildingComponent.make import japgolly.scalajs.react.Key import japgolly.scalajs.react.Ref.Simple -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.TagMod import japgolly.scalajs.react.vdom.TagMod.Composite import japgolly.scalajs.react.vdom.VdomElement diff --git a/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/react/anon.scala b/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/react/anon.scala index edbd460dc3..b572fce9af 100644 --- a/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/react/anon.scala +++ b/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/react/anon.scala @@ -1,9 +1,9 @@ package mylib.internal.baz.react -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.StObject diff --git a/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/react/mod.scala b/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/react/mod.scala index 1bd7b9798f..4d88225da0 100644 --- a/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/react/mod.scala +++ b/tests/material-ui/check-japgolly-3/r/react/src/main/scala/mylib.internal.baz/react/mod.scala @@ -5,11 +5,11 @@ import mylib.internal.baz.react.anon.Html import mylib.internal.baz.react.reactStrings.foo import mylib.internal.baz.std.Partial import japgolly.scalajs.react.Callback -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.ComponentClassP -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.ComponentClassP +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Instantiable1 @@ -54,12 +54,12 @@ private[internal] object mod { extends StObject with Instantiable1[ /* props */ P, - japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] + japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] ] with Instantiable2[ /* props */ P, /* context */ js.Any, - japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] + japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] ] { var defaultProps: js.UndefOr[Partial[P]] = js.native diff --git a/tests/material-ui/check-japgolly-3/s/std/build.sbt b/tests/material-ui/check-japgolly-3/s/std/build.sbt index f51c1466f6..601da9caa2 100644 --- a/tests/material-ui/check-japgolly-3/s/std/build.sbt +++ b/tests/material-ui/check-japgolly-3/s/std/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "std" -version := "0.0-unknown-8533be" +version := "0.0-unknown-e41d98" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( - "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", + "com.olvind" %%% "scalablytyped-runtime" % "2.4.2") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/HTMLElementTagNameMap.scala b/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/HTMLElementTagNameMap.scala index 6fbef3936e..19ad3a7d11 100644 --- a/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/HTMLElementTagNameMap.scala +++ b/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/HTMLElementTagNameMap.scala @@ -6,30 +6,30 @@ import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, J private[internal] trait HTMLElementTagNameMap extends StObject { - var a: org.scalajs.dom.raw.HTMLAnchorElement + var a: org.scalajs.dom.HTMLAnchorElement - var abbr: org.scalajs.dom.raw.HTMLElement + var abbr: org.scalajs.dom.HTMLElement - var address: org.scalajs.dom.raw.HTMLElement + var address: org.scalajs.dom.HTMLElement - var area: org.scalajs.dom.raw.HTMLAreaElement + var area: org.scalajs.dom.HTMLAreaElement - var article: org.scalajs.dom.raw.HTMLElement + var article: org.scalajs.dom.HTMLElement - var aside: org.scalajs.dom.raw.HTMLElement + var aside: org.scalajs.dom.HTMLElement - var audio: org.scalajs.dom.raw.HTMLAudioElement + var audio: org.scalajs.dom.HTMLAudioElement } private[internal] object HTMLElementTagNameMap { inline def apply( - a: org.scalajs.dom.raw.HTMLAnchorElement, - abbr: org.scalajs.dom.raw.HTMLElement, - address: org.scalajs.dom.raw.HTMLElement, - area: org.scalajs.dom.raw.HTMLAreaElement, - article: org.scalajs.dom.raw.HTMLElement, - aside: org.scalajs.dom.raw.HTMLElement, - audio: org.scalajs.dom.raw.HTMLAudioElement + a: org.scalajs.dom.HTMLAnchorElement, + abbr: org.scalajs.dom.HTMLElement, + address: org.scalajs.dom.HTMLElement, + area: org.scalajs.dom.HTMLAreaElement, + article: org.scalajs.dom.HTMLElement, + aside: org.scalajs.dom.HTMLElement, + audio: org.scalajs.dom.HTMLAudioElement ): HTMLElementTagNameMap = { val __obj = js.Dynamic.literal(a = a.asInstanceOf[js.Any], abbr = abbr.asInstanceOf[js.Any], address = address.asInstanceOf[js.Any], area = area.asInstanceOf[js.Any], article = article.asInstanceOf[js.Any], aside = aside.asInstanceOf[js.Any], audio = audio.asInstanceOf[js.Any]) __obj.asInstanceOf[HTMLElementTagNameMap] @@ -37,18 +37,18 @@ private[internal] object HTMLElementTagNameMap { extension [Self <: HTMLElementTagNameMap](x: Self) { - inline def setA(value: org.scalajs.dom.raw.HTMLAnchorElement): Self = StObject.set(x, "a", value.asInstanceOf[js.Any]) + inline def setA(value: org.scalajs.dom.HTMLAnchorElement): Self = StObject.set(x, "a", value.asInstanceOf[js.Any]) - inline def setAbbr(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "abbr", value.asInstanceOf[js.Any]) + inline def setAbbr(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "abbr", value.asInstanceOf[js.Any]) - inline def setAddress(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "address", value.asInstanceOf[js.Any]) + inline def setAddress(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "address", value.asInstanceOf[js.Any]) - inline def setArea(value: org.scalajs.dom.raw.HTMLAreaElement): Self = StObject.set(x, "area", value.asInstanceOf[js.Any]) + inline def setArea(value: org.scalajs.dom.HTMLAreaElement): Self = StObject.set(x, "area", value.asInstanceOf[js.Any]) - inline def setArticle(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "article", value.asInstanceOf[js.Any]) + inline def setArticle(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "article", value.asInstanceOf[js.Any]) - inline def setAside(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "aside", value.asInstanceOf[js.Any]) + inline def setAside(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "aside", value.asInstanceOf[js.Any]) - inline def setAudio(value: org.scalajs.dom.raw.HTMLAudioElement): Self = StObject.set(x, "audio", value.asInstanceOf[js.Any]) + inline def setAudio(value: org.scalajs.dom.HTMLAudioElement): Self = StObject.set(x, "audio", value.asInstanceOf[js.Any]) } } diff --git a/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/SVGElementTagNameMap.scala b/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/SVGElementTagNameMap.scala index 819261d9cb..ea0e3de2a5 100644 --- a/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/SVGElementTagNameMap.scala +++ b/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/SVGElementTagNameMap.scala @@ -6,17 +6,17 @@ import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, J private[internal] trait SVGElementTagNameMap extends StObject { - var circle: org.scalajs.dom.raw.SVGCircleElement + var circle: org.scalajs.dom.SVGCircleElement } private[internal] object SVGElementTagNameMap { - inline def apply(circle: org.scalajs.dom.raw.SVGCircleElement): SVGElementTagNameMap = { + inline def apply(circle: org.scalajs.dom.SVGCircleElement): SVGElementTagNameMap = { val __obj = js.Dynamic.literal(circle = circle.asInstanceOf[js.Any]) __obj.asInstanceOf[SVGElementTagNameMap] } extension [Self <: SVGElementTagNameMap](x: Self) { - inline def setCircle(value: org.scalajs.dom.raw.SVGCircleElement): Self = StObject.set(x, "circle", value.asInstanceOf[js.Any]) + inline def setCircle(value: org.scalajs.dom.SVGCircleElement): Self = StObject.set(x, "circle", value.asInstanceOf[js.Any]) } } diff --git a/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/package.scala b/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/package.scala index 35a441321e..6e0f262803 100644 --- a/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/package.scala +++ b/tests/material-ui/check-japgolly-3/s/std/src/main/scala/mylib.internal.baz/std/package.scala @@ -5,16 +5,16 @@ import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} -private[internal] type Element = org.scalajs.dom.raw.Node +private[internal] type Element = org.scalajs.dom.Node -private[internal] type HTMLAnchorElement = org.scalajs.dom.raw.Element +private[internal] type HTMLAnchorElement = org.scalajs.dom.Element -private[internal] type HTMLAreaElement = org.scalajs.dom.raw.Element +private[internal] type HTMLAreaElement = org.scalajs.dom.Element -private[internal] type HTMLAudioElement = org.scalajs.dom.raw.Element +private[internal] type HTMLAudioElement = org.scalajs.dom.Element -private[internal] type HTMLElement = org.scalajs.dom.raw.Element +private[internal] type HTMLElement = org.scalajs.dom.Element private[internal] type Partial[T] = T -private[internal] type SVGCircleElement = org.scalajs.dom.raw.Element +private[internal] type SVGCircleElement = org.scalajs.dom.Element diff --git a/tests/material-ui/check-japgolly/m/material-ui/build.sbt b/tests/material-ui/check-japgolly/m/material-ui/build.sbt new file mode 100644 index 0000000000..9627eb6f28 --- /dev/null +++ b/tests/material-ui/check-japgolly/m/material-ui/build.sbt @@ -0,0 +1,13 @@ +organization := "org.scalablytyped" +name := "material-ui" +version := "0.0-unknown-f24ba3" +scalaVersion := "3.0.1" +enablePlugins(ScalaJSPlugin) +libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0-RC1", + "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", + "org.scalablytyped" %%% "react" % "0.0-unknown-a6bd68", + "org.scalablytyped" %%% "std" % "0.0-unknown-7bde64") +publishArtifact in packageDoc := false +scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent") +licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/material-ui/check-japgolly/m/material-ui/src/main/scala/mylib.internal.baz/materialUi/MaterialUI.scala b/tests/material-ui/check-japgolly/m/material-ui/src/main/scala/mylib.internal.baz/materialUi/MaterialUI.scala index c5fd7bae80..ebec4a7d8c 100644 --- a/tests/material-ui/check-japgolly/m/material-ui/src/main/scala/mylib.internal.baz/materialUi/MaterialUI.scala +++ b/tests/material-ui/check-japgolly/m/material-ui/src/main/scala/mylib.internal.baz/materialUi/MaterialUI.scala @@ -1,6 +1,6 @@ package mylib.internal.baz.materialUi -import japgolly.scalajs.react.raw.React.Component +import japgolly.scalajs.react.facade.React.Component import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/StBuildingComponent.scala b/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/StBuildingComponent.scala index 85d7dc8f57..f5d52fda5b 100644 --- a/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/StBuildingComponent.scala +++ b/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/StBuildingComponent.scala @@ -3,8 +3,8 @@ package mylib.internal.baz import mylib.internal.baz.StBuildingComponent.make import japgolly.scalajs.react.Key import japgolly.scalajs.react.Ref.Simple -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.TagMod import japgolly.scalajs.react.vdom.TagMod.Composite import japgolly.scalajs.react.vdom.VdomElement diff --git a/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/react/anon.scala b/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/react/anon.scala index af92711024..24222412bf 100644 --- a/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/react/anon.scala +++ b/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/react/anon.scala @@ -1,9 +1,9 @@ package mylib.internal.baz.react -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.StObject diff --git a/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/react/mod.scala b/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/react/mod.scala index 4ce2342bcf..98a26a275c 100644 --- a/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/react/mod.scala +++ b/tests/material-ui/check-japgolly/r/react/src/main/scala/mylib.internal.baz/react/mod.scala @@ -5,11 +5,11 @@ import mylib.internal.baz.react.anon.Html import mylib.internal.baz.react.reactStrings.foo import mylib.internal.baz.std.Partial import japgolly.scalajs.react.Callback -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.ComponentClassP -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.ComponentClassP +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Instantiable1 @@ -54,12 +54,12 @@ private[internal] object mod { extends StObject with Instantiable1[ /* props */ P, - japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] + japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] ] with Instantiable2[ /* props */ P, /* context */ js.Any, - japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] + japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] ] { var defaultProps: js.UndefOr[Partial[P]] = js.native diff --git a/tests/react-integration-test/check-japgolly-3/c/componentstest/build.sbt b/tests/react-integration-test/check-japgolly-3/c/componentstest/build.sbt index 54b2bfe77e..26203682d5 100644 --- a/tests/react-integration-test/check-japgolly-3/c/componentstest/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/c/componentstest/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "componentstest" -version := "0.0-unknown-9ddc4b" +version := "0.0-unknown-099c41" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-4c379f", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "16.9.2-ef29ae", + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/c/componentstest/src/main/scala/typingsJapgolly/componentstest/components/Card.scala b/tests/react-integration-test/check-japgolly-3/c/componentstest/src/main/scala/typingsJapgolly/componentstest/components/Card.scala index 81f73b24b0..6d9b0cf719 100644 --- a/tests/react-integration-test/check-japgolly-3/c/componentstest/src/main/scala/typingsJapgolly/componentstest/components/Card.scala +++ b/tests/react-integration-test/check-japgolly-3/c/componentstest/src/main/scala/typingsJapgolly/componentstest/components/Card.scala @@ -2,8 +2,8 @@ package typingsJapgolly.componentstest.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import org.scalajs.dom.raw.Element -import org.scalajs.dom.raw.HTMLDivElement +import org.scalajs.dom.Element +import org.scalajs.dom.HTMLDivElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.componentstest.mod.CardGridProps import typingsJapgolly.componentstest.mod.CardProps diff --git a/tests/react-integration-test/check-japgolly-3/c/componentstest/src/main/scala/typingsJapgolly/componentstest/mod.scala b/tests/react-integration-test/check-japgolly-3/c/componentstest/src/main/scala/typingsJapgolly/componentstest/mod.scala index 3878164edc..80850c7bdd 100644 --- a/tests/react-integration-test/check-japgolly-3/c/componentstest/src/main/scala/typingsJapgolly/componentstest/mod.scala +++ b/tests/react-integration-test/check-japgolly-3/c/componentstest/src/main/scala/typingsJapgolly/componentstest/mod.scala @@ -3,8 +3,8 @@ package typingsJapgolly.componentstest import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo import japgolly.scalajs.react.ReactMouseEventFrom -import org.scalajs.dom.raw.Element -import org.scalajs.dom.raw.HTMLDivElement +import org.scalajs.dom.Element +import org.scalajs.dom.HTMLDivElement import typingsJapgolly.componentstest.anon.Equals import typingsJapgolly.react.mod.CSSProperties import typingsJapgolly.react.mod.ComponentType diff --git a/tests/react-integration-test/check-japgolly-3/r/react-bootstrap/build.sbt b/tests/react-integration-test/check-japgolly-3/r/react-bootstrap/build.sbt index f907bfa2d3..cbdc0eea73 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-bootstrap/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/r/react-bootstrap/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "react-bootstrap" -version := "0.32-25ff9c" +version := "0.32-c24124" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-4c379f", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "16.9.2-ef29ae", + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/r/react-bootstrap/src/main/scala/typingsJapgolly/reactBootstrap/components/ButtonGroup.scala b/tests/react-integration-test/check-japgolly-3/r/react-bootstrap/src/main/scala/typingsJapgolly/reactBootstrap/components/ButtonGroup.scala index 60bca94e78..453b508ff2 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-bootstrap/src/main/scala/typingsJapgolly/reactBootstrap/components/ButtonGroup.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react-bootstrap/src/main/scala/typingsJapgolly/reactBootstrap/components/ButtonGroup.scala @@ -14,7 +14,7 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import org.scalajs.dom.raw.Element +import org.scalajs.dom.Element import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.CSSProperties diff --git a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/build.sbt b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/build.sbt index b4c39085bd..93a22415ef 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "react-contextmenu" -version := "2.13.0-3f2db9" +version := "2.13.0-a98e8b" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-4c379f", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "16.9.2-ef29ae", + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/actionsMod.scala b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/actionsMod.scala index fddf3c1efb..b3af01cc87 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/actionsMod.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/actionsMod.scala @@ -1,6 +1,6 @@ package typingsJapgolly.reactContextmenu -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/ContextMenu.scala b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/ContextMenu.scala index 6fd54cf075..cdfe76d45a 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/ContextMenu.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/ContextMenu.scala @@ -2,7 +2,7 @@ package typingsJapgolly.reactContextmenu.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.reactContextmenu.mod.ContextMenuProps import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/MenuItem.scala b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/MenuItem.scala index 57889bb095..4db7a876ae 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/MenuItem.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/MenuItem.scala @@ -3,8 +3,8 @@ package typingsJapgolly.reactContextmenu.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom import japgolly.scalajs.react.ReactTouchEventFrom -import org.scalajs.dom.raw.HTMLDivElement -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLDivElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.mod.HTMLAttributes import typingsJapgolly.reactContextmenu.mod.MenuItemProps diff --git a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/SubMenu.scala b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/SubMenu.scala index 2e1016d5be..f77b7ddaad 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/SubMenu.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/components/SubMenu.scala @@ -3,9 +3,9 @@ package typingsJapgolly.reactContextmenu.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom import japgolly.scalajs.react.ReactTouchEventFrom -import japgolly.scalajs.react.raw.React.Element -import org.scalajs.dom.raw.HTMLDivElement -import org.scalajs.dom.raw.HTMLElement +import japgolly.scalajs.react.facade.React.Element +import org.scalajs.dom.HTMLDivElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.mod.ReactText import typingsJapgolly.reactContextmenu.mod.SubMenuProps diff --git a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/mod.scala b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/mod.scala index 323821877c..7b0b6cc245 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/mod.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react-contextmenu/src/main/scala/typingsJapgolly/reactContextmenu/mod.scala @@ -3,11 +3,11 @@ package typingsJapgolly.reactContextmenu import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom import japgolly.scalajs.react.ReactTouchEventFrom -import japgolly.scalajs.react.raw.React.ComponentClassP -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.React.ComponentClassP +import japgolly.scalajs.react.facade.React.Element import japgolly.scalajs.react.vdom.VdomElement -import org.scalajs.dom.raw.HTMLDivElement -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLDivElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.Component import typingsJapgolly.react.mod.HTMLAttributes import typingsJapgolly.react.mod.ReactText diff --git a/tests/react-integration-test/check-japgolly-3/r/react-dropzone/build.sbt b/tests/react-integration-test/check-japgolly-3/r/react-dropzone/build.sbt index cbe11f2eea..f492aa8df6 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-dropzone/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/r/react-dropzone/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "react-dropzone" -version := "10.1.10-6a59c6" +version := "10.1.10-8eb18d" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-4c379f", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "16.9.2-ef29ae", + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/components/ReactDropzone.scala b/tests/react-integration-test/check-japgolly-3/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/components/ReactDropzone.scala index ce969e3c76..52420c0469 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/components/ReactDropzone.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/components/ReactDropzone.scala @@ -2,7 +2,7 @@ package typingsJapgolly.reactDropzone.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactDragEventFrom -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.mod.RefAttributes import typingsJapgolly.react.mod.global.JSX.Element @@ -51,11 +51,11 @@ object ReactDropzone { inline def noKeyboard(value: Boolean): this.type = set("noKeyboard", value.asInstanceOf[js.Any]) - inline def onDragEnter(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragEnter(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragLeave(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragLeave(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragOver(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragOver(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element]) => value(t0).runNow())) inline def onDrop( value: (/* acceptedFiles */ js.Array[ diff --git a/tests/react-integration-test/check-japgolly-3/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/mod.scala b/tests/react-integration-test/check-japgolly-3/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/mod.scala index a07d668d49..db3f0ea09f 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/mod.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/mod.scala @@ -3,12 +3,12 @@ package typingsJapgolly.reactDropzone import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactDragEventFrom import japgolly.scalajs.react.ReactEventFrom -import japgolly.scalajs.react.raw.React.RefHandle +import japgolly.scalajs.react.facade.React.RefHandle import org.scalablytyped.runtime.StringDictionary -import org.scalajs.dom.raw.DragEvent -import org.scalajs.dom.raw.Event -import org.scalajs.dom.raw.HTMLElement -import org.scalajs.dom.raw.HTMLInputElement +import org.scalajs.dom.DragEvent +import org.scalajs.dom.Event +import org.scalajs.dom.HTMLElement +import org.scalajs.dom.HTMLInputElement import typingsJapgolly.react.mod.DragEventHandler import typingsJapgolly.react.mod.HTMLAttributes import typingsJapgolly.react.mod.InputHTMLAttributes @@ -176,15 +176,15 @@ object mod { inline def setNoKeyboardUndefined: Self = StObject.set(x, "noKeyboard", js.undefined) - inline def setOnDragEnter(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDragEnter(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDragEnterUndefined: Self = StObject.set(x, "onDragEnter", js.undefined) - inline def setOnDragLeave(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDragLeave(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDragLeaveUndefined: Self = StObject.set(x, "onDragLeave", js.undefined) - inline def setOnDragOver(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDragOver(value: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLElement & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDragOverUndefined: Self = StObject.set(x, "onDragOver", js.undefined) diff --git a/tests/react-integration-test/check-japgolly-3/r/react-markdown/build.sbt b/tests/react-integration-test/check-japgolly-3/r/react-markdown/build.sbt index 237ce6a370..32f7961f09 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-markdown/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/r/react-markdown/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "react-markdown" -version := "0.0-unknown-258734" +version := "0.0-unknown-4c0634" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-4c379f", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "16.9.2-ef29ae", + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/r/react-markdown/src/main/scala/typingsJapgolly/reactMarkdown/mod.scala b/tests/react-integration-test/check-japgolly-3/r/react-markdown/src/main/scala/typingsJapgolly/reactMarkdown/mod.scala index 6f3a23f9e7..e0b02f997c 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-markdown/src/main/scala/typingsJapgolly/reactMarkdown/mod.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react-markdown/src/main/scala/typingsJapgolly/reactMarkdown/mod.scala @@ -1,8 +1,8 @@ package typingsJapgolly.reactMarkdown -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.ElementType -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.ElementType +import japgolly.scalajs.react.facade.React.Node import org.scalablytyped.runtime.StringDictionary import org.scalablytyped.runtime.TopLevel import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/r/react-native/build.sbt b/tests/react-integration-test/check-japgolly-3/r/react-native/build.sbt index ec9b618630..5feca38d48 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-native/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/r/react-native/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react-native" -version := "0.0-unknown-7a170c" +version := "0.0-unknown-3b60de" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/r/react-select/build.sbt b/tests/react-integration-test/check-japgolly-3/r/react-select/build.sbt index 71ec03d683..e9c24cae8d 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react-select/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/r/react-select/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "react-select" -version := "0.0-unknown-49a74f" +version := "0.0-unknown-b2651f" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-4c379f", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "16.9.2-ef29ae", + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/r/react/build.sbt b/tests/react-integration-test/check-japgolly-3/r/react/build.sbt index c30d67793d..ab7b504822 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/r/react/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react" -version := "16.9.2-4c379f" +version := "16.9.2-ef29ae" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/StBuildingComponent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/StBuildingComponent.scala index 87dacbf6c7..e6efa36361 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/StBuildingComponent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/StBuildingComponent.scala @@ -2,8 +2,8 @@ package typingsJapgolly import japgolly.scalajs.react.Key import japgolly.scalajs.react.Ref.Simple -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.TagMod import japgolly.scalajs.react.vdom.TagMod.Composite import japgolly.scalajs.react.vdom.VdomElement diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/anon.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/anon.scala index 60babd998b..63f352ef3c 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/anon.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/anon.scala @@ -1,9 +1,9 @@ package typingsJapgolly.react -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import typingsJapgolly.std.Exclude diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/SharedBuilder_DetailedHTMLProps_127198210.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/SharedBuilder_DetailedHTMLProps1253650682.scala similarity index 99% rename from tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/SharedBuilder_DetailedHTMLProps_127198210.scala rename to tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/SharedBuilder_DetailedHTMLProps1253650682.scala index 371dad6ffa..2f74d4f764 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/SharedBuilder_DetailedHTMLProps_127198210.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/SharedBuilder_DetailedHTMLProps1253650682.scala @@ -14,8 +14,8 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import org.scalajs.dom.raw.Element -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.Element +import org.scalajs.dom.HTMLElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.CSSProperties @@ -60,7 +60,7 @@ import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @scala.inline -open class SharedBuilder_DetailedHTMLProps_127198210[R <: js.Object] (val args: js.Array[js.Any]) +open class SharedBuilder_DetailedHTMLProps1253650682[R <: js.Object] (val args: js.Array[js.Any]) extends AnyVal with StBuildingComponent[R] { diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/a.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/a.scala index e7b3e15f96..c826771836 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/a.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/a.scala @@ -14,8 +14,8 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import org.scalajs.dom.raw.Element -import org.scalajs.dom.raw.HTMLAnchorElement +import org.scalajs.dom.Element +import org.scalajs.dom.HTMLAnchorElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.AnchorHTMLAttributes diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/abbr.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/abbr.scala index a9a95960a0..42b6dd8ed2 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/abbr.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/abbr.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.DetailedHTMLProps import typingsJapgolly.react.mod.HTMLAttributes import org.scalablytyped.runtime.StObject @@ -11,7 +11,7 @@ object abbr { val component: String = "abbr" - implicit def make(companion: abbr.type): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: abbr.type): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/address.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/address.scala index 0692a88c45..03be4f9887 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/address.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/address.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.DetailedHTMLProps import typingsJapgolly.react.mod.HTMLAttributes import org.scalablytyped.runtime.StObject @@ -11,7 +11,7 @@ object address { val component: String = "address" - implicit def make(companion: address.type): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: address.type): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/area.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/area.scala index d66f5a4e49..4175248b8c 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/area.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/area.scala @@ -14,8 +14,8 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import org.scalajs.dom.raw.Element -import org.scalajs.dom.raw.HTMLAreaElement +import org.scalajs.dom.Element +import org.scalajs.dom.HTMLAreaElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.AreaHTMLAttributes diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/article.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/article.scala index 089445fc1e..b07053b591 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/article.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/article.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.DetailedHTMLProps import typingsJapgolly.react.mod.HTMLAttributes import org.scalablytyped.runtime.StObject @@ -11,7 +11,7 @@ object article { val component: String = "article" - implicit def make(companion: article.type): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: article.type): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/aside.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/aside.scala index 29a4f79a23..1731951978 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/aside.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/aside.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.DetailedHTMLProps import typingsJapgolly.react.mod.HTMLAttributes import org.scalablytyped.runtime.StObject @@ -11,7 +11,7 @@ object aside { val component: String = "aside" - implicit def make(companion: aside.type): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: aside.type): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/audio.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/audio.scala index 23cefbb039..41820d021d 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/audio.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/audio.scala @@ -14,8 +14,8 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import org.scalajs.dom.raw.Element -import org.scalajs.dom.raw.HTMLAudioElement +import org.scalajs.dom.Element +import org.scalajs.dom.HTMLAudioElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.AudioHTMLAttributes diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/b.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/b.scala index dd95e3a039..ada82cb12d 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/b.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/b.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.DetailedHTMLProps import typingsJapgolly.react.mod.HTMLAttributes import org.scalablytyped.runtime.StObject @@ -11,7 +11,7 @@ object b { val component: String = "b" - implicit def make(companion: b.type): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: b.type): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/base.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/base.scala index a2ea6bf298..939f5d2717 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/base.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/base.scala @@ -14,8 +14,8 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import org.scalajs.dom.raw.Element -import org.scalajs.dom.raw.HTMLBaseElement +import org.scalajs.dom.Element +import org.scalajs.dom.HTMLBaseElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.BaseHTMLAttributes diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/bdi.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/bdi.scala index 96e0d37d7b..2e93b7b378 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/bdi.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/bdi.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.DetailedHTMLProps import typingsJapgolly.react.mod.HTMLAttributes import org.scalablytyped.runtime.StObject @@ -11,7 +11,7 @@ object bdi { val component: String = "bdi" - implicit def make(companion: bdi.type): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: bdi.type): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/bdo.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/bdo.scala index 92ca43cd0e..de55d9f690 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/bdo.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/bdo.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.DetailedHTMLProps import typingsJapgolly.react.mod.HTMLAttributes import org.scalablytyped.runtime.StObject @@ -11,7 +11,7 @@ object bdo { val component: String = "bdo" - implicit def make(companion: bdo.type): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: bdo.type): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/big.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/big.scala index 9b63efa041..f25338abe7 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/big.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/big.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.DetailedHTMLProps import typingsJapgolly.react.mod.HTMLAttributes import org.scalablytyped.runtime.StObject @@ -11,7 +11,7 @@ object big { val component: String = "big" - implicit def make(companion: big.type): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: big.type): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_127198210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_127198210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps1253650682[HTMLElement] = new SharedBuilder_DetailedHTMLProps1253650682[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/view.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/view.scala index cbd60436fb..054c9fa2e0 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/view.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/view.scala @@ -14,8 +14,8 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import org.scalajs.dom.raw.Element -import org.scalajs.dom.raw.SVGViewElement +import org.scalajs.dom.Element +import org.scalajs.dom.SVGViewElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.CSSProperties diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/global.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/global.scala index 3d7fd789a1..9571a66331 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/global.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/global.scala @@ -1,13 +1,13 @@ package typingsJapgolly.react -import japgolly.scalajs.react.raw.React.ComponentClassP -import japgolly.scalajs.react.raw.React.DomElement -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node -import japgolly.scalajs.react.raw.React.RefHandle -import org.scalajs.dom.raw.HTMLElement -import org.scalajs.dom.raw.HTMLInputElement -import org.scalajs.dom.raw.SVGElement +import japgolly.scalajs.react.facade.React.ComponentClassP +import japgolly.scalajs.react.facade.React.DomElement +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node +import japgolly.scalajs.react.facade.React.RefHandle +import org.scalajs.dom.HTMLElement +import org.scalajs.dom.HTMLInputElement +import org.scalajs.dom.SVGElement import typingsJapgolly.react.mod.Attributes import typingsJapgolly.react.mod.CElement import typingsJapgolly.react.mod.CFactory @@ -149,21 +149,21 @@ object global { inline def cloneElement[P](element: FunctionComponentElement[P], props: Partial[P] & Attributes, children: Node*): FunctionComponentElement[P] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[FunctionComponentElement[P]] inline def cloneElement[P](element: FunctionComponentElement[P], props: Unit, children: Node*): FunctionComponentElement[P] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[FunctionComponentElement[P]] // DOM Element (has to be the last, because type checking stops at first overload that fits) - inline def cloneElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */](element: DomElement, props: DOMAttributes[T] & P, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] - inline def cloneElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */](element: DomElement, props: Unit, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] - inline def cloneElement[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */](element: CElement[P, T], props: Partial[P] & ClassAttributes[T], children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] - inline def cloneElement[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */](element: CElement[P, T], props: Unit, children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] - // ReactHTMLElement, less specific - inline def cloneElement[P /* <: HTMLAttributes[T] */, T /* <: HTMLElement */](element: ReactHTMLElement[T], props: P, children: Node*): ReactHTMLElement[T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[ReactHTMLElement[T]] - inline def cloneElement[P /* <: HTMLAttributes[T] */, T /* <: HTMLElement */](element: ReactHTMLElement[T], props: Unit, children: Node*): ReactHTMLElement[T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[ReactHTMLElement[T]] + inline def cloneElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */](element: DomElement, props: DOMAttributes[T] & P, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] + inline def cloneElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */](element: DomElement, props: Unit, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] + inline def cloneElement[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */](element: CElement[P, T], props: Partial[P] & ClassAttributes[T], children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] + inline def cloneElement[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */](element: CElement[P, T], props: Unit, children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] + // DOM Elements + // ReactHTMLElement + inline def cloneElement[P /* <: HTMLAttributes[T] */, T /* <: HTMLElement */](element: DetailedReactHTMLElement[P, T], props: P, children: Node*): DetailedReactHTMLElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DetailedReactHTMLElement[P, T]] + inline def cloneElement[P /* <: HTMLAttributes[T] */, T /* <: HTMLElement */](element: DetailedReactHTMLElement[P, T], props: Unit, children: Node*): DetailedReactHTMLElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DetailedReactHTMLElement[P, T]] // SVGElement inline def cloneElement[P /* <: SVGAttributes[T] */, T /* <: SVGElement */](element: ReactSVGElement, props: P, children: Node*): ReactSVGElement = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[ReactSVGElement] inline def cloneElement[P /* <: SVGAttributes[T] */, T /* <: SVGElement */](element: ReactSVGElement, props: Unit, children: Node*): ReactSVGElement = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[ReactSVGElement] - // DOM Elements - // ReactHTMLElement - inline def cloneElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: HTMLAttributes[T] */, T /* <: HTMLElement */](element: DetailedReactHTMLElement[P, T], props: P, children: Node*): DetailedReactHTMLElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DetailedReactHTMLElement[P, T]] - inline def cloneElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: HTMLAttributes[T] */, T /* <: HTMLElement */](element: DetailedReactHTMLElement[P, T], props: Unit, children: Node*): DetailedReactHTMLElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DetailedReactHTMLElement[P, T]] + // ReactHTMLElement, less specific + inline def cloneElement_P_HTMLAttributesTT_HTMLElement_ReactHTMLElement[P /* <: HTMLAttributes[T] */, T /* <: HTMLElement */](element: ReactHTMLElement[T], props: P, children: Node*): ReactHTMLElement[T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[ReactHTMLElement[T]] + inline def cloneElement_P_HTMLAttributesTT_HTMLElement_ReactHTMLElement[P /* <: HTMLAttributes[T] */, T /* <: HTMLElement */](element: ReactHTMLElement[T], props: Unit, children: Node*): ReactHTMLElement[T] = (^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[ReactHTMLElement[T]] inline def createContext[T](defaultValue: T): Context[T] = ^.asInstanceOf[js.Dynamic].applyDynamic("createContext")(defaultValue.asInstanceOf[js.Any]).asInstanceOf[Context[T]] inline def createContext[T](defaultValue: T, calculateChangedBits: js.Function2[/* prev */ T, /* next */ T, Double]): Context[T] = (^.asInstanceOf[js.Dynamic].applyDynamic("createContext")(defaultValue.asInstanceOf[js.Any], calculateChangedBits.asInstanceOf[js.Any])).asInstanceOf[Context[T]] @@ -207,13 +207,13 @@ object global { props: Unit, children: Node* ): ReactSVGElement = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[ReactSVGElement] - inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */, C /* <: ComponentClassP[P & js.Object] */](`type`: ClassType[P, T, C], props: ClassAttributes[T] & P, children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] - inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */, C /* <: ComponentClassP[P & js.Object] */](`type`: ClassType[P, T, C], props: Null, children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] - inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */, C /* <: ComponentClassP[P & js.Object] */](`type`: ClassType[P, T, C], props: Unit, children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] + inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */, C /* <: ComponentClassP[P & js.Object] */](`type`: ClassType[P, T, C], props: ClassAttributes[T] & P, children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] + inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */, C /* <: ComponentClassP[P & js.Object] */](`type`: ClassType[P, T, C], props: Null, children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] + inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */, C /* <: ComponentClassP[P & js.Object] */](`type`: ClassType[P, T, C], props: Unit, children: Node*): CElement[P, T] = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[CElement[P, T]] - inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */](`type`: String, props: ClassAttributes[T] & P, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] - inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */](`type`: String, props: Null, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] - inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */](`type`: String, props: Unit, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] + inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */](`type`: String, props: ClassAttributes[T] & P, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] + inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */](`type`: String, props: Null, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] + inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */](`type`: String, props: Unit, children: Node*): DomElement = (^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[DomElement] inline def createElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: HTMLAttributes[T] */, T /* <: HTMLElement */]( `type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 115 */ js.Any, @@ -251,8 +251,8 @@ object global { inline def createFactory[P](`type`: ClassType[P, ClassicComponent[P, js.Object], ClassicComponentClass[P]]): CFactory[P, ClassicComponent[P, js.Object]] = ^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[CFactory[P, ClassicComponent[P, js.Object]]] // Custom components inline def createFactory[P](`type`: FunctionComponent[P]): FunctionComponentFactory[P] = ^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[FunctionComponentFactory[P]] - inline def createFactory[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */](`type`: String): DOMFactory[P, T] = ^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[DOMFactory[P, T]] - inline def createFactory[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */, C /* <: ComponentClassP[P & js.Object] */](`type`: ClassType[P, T, C]): CFactory[P, T] = ^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[CFactory[P, T]] + inline def createFactory[P /* <: DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */](`type`: String): DOMFactory[P, T] = ^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[DOMFactory[P, T]] + inline def createFactory[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */, C /* <: ComponentClassP[P & js.Object] */](`type`: ClassType[P, T, C]): CFactory[P, T] = ^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[CFactory[P, T]] // // Top Level API @@ -423,7 +423,8 @@ object global { initializer: js.Function1[(/* arg */ I & ReducerState[R]) | (/* arg */ I), ReducerState[R]] ): js.Tuple2[ReducerState[R], Dispatch[ReducerAction[R]]] = (^.asInstanceOf[js.Dynamic].applyDynamic("useReducer")(reducer.asInstanceOf[js.Any], initializerArg.asInstanceOf[js.Any], initializer.asInstanceOf[js.Any])).asInstanceOf[js.Tuple2[ReducerState[R], Dispatch[ReducerAction[R]]]] - // convenience overload for refs given as a ref prop as they typically start with a null value + // convenience overload for potentially undefined initialValue / call with 0 arguments + // has a default to stop it from defaulting to {} instead /** * `useRef` returns a mutable ref object whose `.current` property is initialized to the passed argument * (`initialValue`). The returned object will persist for the full lifetime of the component. @@ -431,18 +432,11 @@ object global { * Note that `useRef()` is useful for more than the `ref` attribute. It’s handy for keeping any mutable * value around similar to how you’d use instance fields in classes. * - * Usage note: if you need the result of useRef to be directly mutable, include `| null` in the type - * of the generic argument. - * * @version 16.8.0 * @see https://reactjs.org/docs/hooks-reference.html#useref */ // TODO (TypeScript 3.0): - inline def useRef[T](): RefHandle[T] = ^.asInstanceOf[js.Dynamic].applyDynamic("useRef")().asInstanceOf[RefHandle[T]] - inline def useRef[T](initialValue: T): RefHandle[T] = ^.asInstanceOf[js.Dynamic].applyDynamic("useRef")(initialValue.asInstanceOf[js.Any]).asInstanceOf[RefHandle[T]] - - // convenience overload for potentially undefined initialValue / call with 0 arguments - // has a default to stop it from defaulting to {} instead + inline def useRef[T](): MutableRefObject[js.UndefOr[T]] = ^.asInstanceOf[js.Dynamic].applyDynamic("useRef")().asInstanceOf[MutableRefObject[js.UndefOr[T]]] /** * `useRef` returns a mutable ref object whose `.current` property is initialized to the passed argument * (`initialValue`). The returned object will persist for the full lifetime of the component. @@ -454,7 +448,9 @@ object global { * @see https://reactjs.org/docs/hooks-reference.html#useref */ // TODO (TypeScript 3.0): - inline def useRef_T_MutableRefObject[T](): MutableRefObject[js.UndefOr[T]] = ^.asInstanceOf[js.Dynamic].applyDynamic("useRef")().asInstanceOf[MutableRefObject[js.UndefOr[T]]] + inline def useRef[T](initialValue: T): MutableRefObject[T] = ^.asInstanceOf[js.Dynamic].applyDynamic("useRef")(initialValue.asInstanceOf[js.Any]).asInstanceOf[MutableRefObject[T]] + + // convenience overload for refs given as a ref prop as they typically start with a null value /** * `useRef` returns a mutable ref object whose `.current` property is initialized to the passed argument * (`initialValue`). The returned object will persist for the full lifetime of the component. @@ -462,11 +458,15 @@ object global { * Note that `useRef()` is useful for more than the `ref` attribute. It’s handy for keeping any mutable * value around similar to how you’d use instance fields in classes. * + * Usage note: if you need the result of useRef to be directly mutable, include `| null` in the type + * of the generic argument. + * * @version 16.8.0 * @see https://reactjs.org/docs/hooks-reference.html#useref */ // TODO (TypeScript 3.0): - inline def useRef_T_MutableRefObject[T](initialValue: T): MutableRefObject[T] = ^.asInstanceOf[js.Dynamic].applyDynamic("useRef")(initialValue.asInstanceOf[js.Any]).asInstanceOf[MutableRefObject[T]] + inline def useRef_T_RefHandle[T](): RefHandle[T] = ^.asInstanceOf[js.Dynamic].applyDynamic("useRef")().asInstanceOf[RefHandle[T]] + inline def useRef_T_RefHandle[T](initialValue: T): RefHandle[T] = ^.asInstanceOf[js.Dynamic].applyDynamic("useRef")(initialValue.asInstanceOf[js.Any]).asInstanceOf[RefHandle[T]] // convenience overload when first argument is ommitted /** diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/AbstractView.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/AbstractView.scala index 89aa778c45..5c385f6086 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/AbstractView.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/AbstractView.scala @@ -1,7 +1,7 @@ package typingsJapgolly.react.mod -import org.scalajs.dom.raw.Document -import org.scalajs.dom.raw.StyleMedia +import org.scalajs.dom.Document +import org.scalajs.dom.StyleMedia import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/AnimationEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/AnimationEvent.scala index d9f8b38bf6..5ec6dfe475 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/AnimationEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/AnimationEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ChangeEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ChangeEvent.scala index a438d31c02..cc64e0f701 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ChangeEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ChangeEvent.scala @@ -2,8 +2,8 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.Event -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.Event +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ClipboardEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ClipboardEvent.scala index 1e7824cfd0..17cdcbb3c9 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ClipboardEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ClipboardEvent.scala @@ -2,8 +2,8 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.DataTransfer -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.DataTransfer +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Component.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Component.scala index 7de4f27c9c..e615d0f248 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Component.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Component.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Node import org.scalablytyped.runtime.StringDictionary import typingsJapgolly.std.Pick import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentClass.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentClass.scala index 0907d96945..9f35585d55 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentClass.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentClass.scala @@ -13,12 +13,12 @@ trait ComponentClass[P, S] with StaticLifecycle[P, S] with Instantiable1[ /* props */ P, - japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] + japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] ] with Instantiable2[ /* props */ P, /* context */ js.Any, - japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] + japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] ] { var childContextTypes: js.UndefOr[ValidationMap[js.Any]] = js.native diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentElement.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentElement.scala index 6eb1d69c38..fe248406bd 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentElement.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentElement.scala @@ -5,7 +5,7 @@ import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} -trait ComponentElement[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */] +trait ComponentElement[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */] extends StObject with ReactElement { @@ -13,13 +13,13 @@ trait ComponentElement[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & } object ComponentElement { - inline def apply[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */](props: js.Any, `type`: js.Any): ComponentElement[P, T] = { + inline def apply[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */](props: js.Any, `type`: js.Any): ComponentElement[P, T] = { val __obj = js.Dynamic.literal(props = props.asInstanceOf[js.Any], key = null) __obj.updateDynamic("type")(`type`.asInstanceOf[js.Any]) __obj.asInstanceOf[ComponentElement[P, T]] } - extension [Self <: ComponentElement[?, ?], P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */](x: Self & (ComponentElement[P, T])) { + extension [Self <: ComponentElement[?, ?], P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */](x: Self & (ComponentElement[P, T])) { inline def setRef(value: LegacyRef[T]): Self = StObject.set(x, "ref", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentFactory.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentFactory.scala index ef29a73f75..10c33bb1c0 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentFactory.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentFactory.scala @@ -1,12 +1,12 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Node import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native -trait ComponentFactory[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */] extends StObject { +trait ComponentFactory[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */] extends StObject { def apply(props: ClassAttributes[T] & P, children: Node*): CElement[P, T] = js.native def apply(props: Unit, children: Node*): CElement[P, T] = js.native diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentSpec.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentSpec.scala index 31d5061a7c..b59d547022 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentSpec.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ComponentSpec.scala @@ -1,7 +1,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.CallbackTo -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Node import org.scalablytyped.runtime.StringDictionary import org.scalablytyped.runtime.StObject import scala.scalajs.js diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/CompositionEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/CompositionEvent.scala index a12890a6ae..949d863de1 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/CompositionEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/CompositionEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ConsumerProps.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ConsumerProps.scala index 551e8997c7..7140b94c15 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ConsumerProps.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ConsumerProps.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Node import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMAttributes.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMAttributes.scala index e227c80d47..9279f5295d 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMAttributes.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMAttributes.scala @@ -14,10 +14,10 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import typingsJapgolly.react.anon.Html @@ -228,319 +228,319 @@ object DOMAttributes { inline def setDangerouslySetInnerHTMLUndefined: Self = StObject.set(x, "dangerouslySetInnerHTML", js.undefined) - inline def setOnAbort(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onAbort", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnAbort(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onAbort", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnAbortUndefined: Self = StObject.set(x, "onAbort", js.undefined) - inline def setOnAnimationEnd(value: ReactAnimationEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onAnimationEnd", js.Any.fromFunction1((t0: ReactAnimationEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnAnimationEnd(value: ReactAnimationEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onAnimationEnd", js.Any.fromFunction1((t0: ReactAnimationEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnAnimationEndUndefined: Self = StObject.set(x, "onAnimationEnd", js.undefined) - inline def setOnAnimationIteration(value: ReactAnimationEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onAnimationIteration", js.Any.fromFunction1((t0: ReactAnimationEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnAnimationIteration(value: ReactAnimationEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onAnimationIteration", js.Any.fromFunction1((t0: ReactAnimationEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnAnimationIterationUndefined: Self = StObject.set(x, "onAnimationIteration", js.undefined) - inline def setOnAnimationStart(value: ReactAnimationEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onAnimationStart", js.Any.fromFunction1((t0: ReactAnimationEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnAnimationStart(value: ReactAnimationEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onAnimationStart", js.Any.fromFunction1((t0: ReactAnimationEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnAnimationStartUndefined: Self = StObject.set(x, "onAnimationStart", js.undefined) - inline def setOnAuxClick(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onAuxClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnAuxClick(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onAuxClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnAuxClickUndefined: Self = StObject.set(x, "onAuxClick", js.undefined) - inline def setOnBeforeInput(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onBeforeInput", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnBeforeInput(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onBeforeInput", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnBeforeInputUndefined: Self = StObject.set(x, "onBeforeInput", js.undefined) - inline def setOnBlur(value: ReactFocusEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onBlur", js.Any.fromFunction1((t0: ReactFocusEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnBlur(value: ReactFocusEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onBlur", js.Any.fromFunction1((t0: ReactFocusEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnBlurUndefined: Self = StObject.set(x, "onBlur", js.undefined) - inline def setOnCanPlay(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onCanPlay", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnCanPlay(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onCanPlay", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def setOnCanPlayThrough(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onCanPlayThrough", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnCanPlayThrough(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onCanPlayThrough", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnCanPlayThroughUndefined: Self = StObject.set(x, "onCanPlayThrough", js.undefined) inline def setOnCanPlayUndefined: Self = StObject.set(x, "onCanPlay", js.undefined) - inline def setOnChange(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onChange", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnChange(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onChange", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnChangeUndefined: Self = StObject.set(x, "onChange", js.undefined) - inline def setOnClick(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnClick(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnClickUndefined: Self = StObject.set(x, "onClick", js.undefined) - inline def setOnCompositionEnd(value: ReactCompositionEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onCompositionEnd", js.Any.fromFunction1((t0: ReactCompositionEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnCompositionEnd(value: ReactCompositionEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onCompositionEnd", js.Any.fromFunction1((t0: ReactCompositionEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnCompositionEndUndefined: Self = StObject.set(x, "onCompositionEnd", js.undefined) - inline def setOnCompositionStart(value: ReactCompositionEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onCompositionStart", js.Any.fromFunction1((t0: ReactCompositionEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnCompositionStart(value: ReactCompositionEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onCompositionStart", js.Any.fromFunction1((t0: ReactCompositionEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnCompositionStartUndefined: Self = StObject.set(x, "onCompositionStart", js.undefined) - inline def setOnCompositionUpdate(value: ReactCompositionEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onCompositionUpdate", js.Any.fromFunction1((t0: ReactCompositionEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnCompositionUpdate(value: ReactCompositionEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onCompositionUpdate", js.Any.fromFunction1((t0: ReactCompositionEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnCompositionUpdateUndefined: Self = StObject.set(x, "onCompositionUpdate", js.undefined) - inline def setOnContextMenu(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onContextMenu", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnContextMenu(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onContextMenu", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnContextMenuUndefined: Self = StObject.set(x, "onContextMenu", js.undefined) - inline def setOnCopy(value: ReactClipboardEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onCopy", js.Any.fromFunction1((t0: ReactClipboardEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnCopy(value: ReactClipboardEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onCopy", js.Any.fromFunction1((t0: ReactClipboardEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnCopyUndefined: Self = StObject.set(x, "onCopy", js.undefined) - inline def setOnCut(value: ReactClipboardEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onCut", js.Any.fromFunction1((t0: ReactClipboardEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnCut(value: ReactClipboardEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onCut", js.Any.fromFunction1((t0: ReactClipboardEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnCutUndefined: Self = StObject.set(x, "onCut", js.undefined) - inline def setOnDoubleClick(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDoubleClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDoubleClick(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDoubleClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDoubleClickUndefined: Self = StObject.set(x, "onDoubleClick", js.undefined) - inline def setOnDrag(value: ReactDragEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDrag", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDrag(value: ReactDragEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDrag", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def setOnDragEnd(value: ReactDragEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDragEnd", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDragEnd(value: ReactDragEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDragEnd", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDragEndUndefined: Self = StObject.set(x, "onDragEnd", js.undefined) - inline def setOnDragEnter(value: ReactDragEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDragEnter(value: ReactDragEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDragEnterUndefined: Self = StObject.set(x, "onDragEnter", js.undefined) - inline def setOnDragExit(value: ReactDragEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDragExit", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDragExit(value: ReactDragEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDragExit", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDragExitUndefined: Self = StObject.set(x, "onDragExit", js.undefined) - inline def setOnDragLeave(value: ReactDragEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDragLeave(value: ReactDragEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDragLeaveUndefined: Self = StObject.set(x, "onDragLeave", js.undefined) - inline def setOnDragOver(value: ReactDragEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDragOver(value: ReactDragEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDragOverUndefined: Self = StObject.set(x, "onDragOver", js.undefined) - inline def setOnDragStart(value: ReactDragEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDragStart", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDragStart(value: ReactDragEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDragStart", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDragStartUndefined: Self = StObject.set(x, "onDragStart", js.undefined) inline def setOnDragUndefined: Self = StObject.set(x, "onDrag", js.undefined) - inline def setOnDrop(value: ReactDragEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDrop", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDrop(value: ReactDragEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDrop", js.Any.fromFunction1((t0: ReactDragEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDropUndefined: Self = StObject.set(x, "onDrop", js.undefined) - inline def setOnDurationChange(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onDurationChange", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnDurationChange(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onDurationChange", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnDurationChangeUndefined: Self = StObject.set(x, "onDurationChange", js.undefined) - inline def setOnEmptied(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onEmptied", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnEmptied(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onEmptied", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnEmptiedUndefined: Self = StObject.set(x, "onEmptied", js.undefined) - inline def setOnEncrypted(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onEncrypted", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnEncrypted(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onEncrypted", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnEncryptedUndefined: Self = StObject.set(x, "onEncrypted", js.undefined) - inline def setOnEnded(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onEnded", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnEnded(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onEnded", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnEndedUndefined: Self = StObject.set(x, "onEnded", js.undefined) - inline def setOnError(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onError", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnError(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onError", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnErrorUndefined: Self = StObject.set(x, "onError", js.undefined) - inline def setOnFocus(value: ReactFocusEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onFocus", js.Any.fromFunction1((t0: ReactFocusEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnFocus(value: ReactFocusEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onFocus", js.Any.fromFunction1((t0: ReactFocusEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnFocusUndefined: Self = StObject.set(x, "onFocus", js.undefined) - inline def setOnInput(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onInput", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnInput(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onInput", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnInputUndefined: Self = StObject.set(x, "onInput", js.undefined) - inline def setOnInvalid(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onInvalid", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnInvalid(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onInvalid", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnInvalidUndefined: Self = StObject.set(x, "onInvalid", js.undefined) - inline def setOnKeyDown(value: ReactKeyboardEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onKeyDown", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnKeyDown(value: ReactKeyboardEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onKeyDown", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnKeyDownUndefined: Self = StObject.set(x, "onKeyDown", js.undefined) - inline def setOnKeyPress(value: ReactKeyboardEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onKeyPress", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnKeyPress(value: ReactKeyboardEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onKeyPress", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnKeyPressUndefined: Self = StObject.set(x, "onKeyPress", js.undefined) - inline def setOnKeyUp(value: ReactKeyboardEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onKeyUp", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnKeyUp(value: ReactKeyboardEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onKeyUp", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnKeyUpUndefined: Self = StObject.set(x, "onKeyUp", js.undefined) - inline def setOnLoad(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onLoad", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnLoad(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onLoad", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def setOnLoadStart(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onLoadStart", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnLoadStart(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onLoadStart", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnLoadStartUndefined: Self = StObject.set(x, "onLoadStart", js.undefined) inline def setOnLoadUndefined: Self = StObject.set(x, "onLoad", js.undefined) - inline def setOnLoadedData(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onLoadedData", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnLoadedData(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onLoadedData", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnLoadedDataUndefined: Self = StObject.set(x, "onLoadedData", js.undefined) - inline def setOnLoadedMetadata(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onLoadedMetadata", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnLoadedMetadata(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onLoadedMetadata", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnLoadedMetadataUndefined: Self = StObject.set(x, "onLoadedMetadata", js.undefined) - inline def setOnMouseDown(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onMouseDown", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnMouseDown(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onMouseDown", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnMouseDownUndefined: Self = StObject.set(x, "onMouseDown", js.undefined) - inline def setOnMouseEnter(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onMouseEnter", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnMouseEnter(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onMouseEnter", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnMouseEnterUndefined: Self = StObject.set(x, "onMouseEnter", js.undefined) - inline def setOnMouseLeave(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onMouseLeave", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnMouseLeave(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onMouseLeave", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnMouseLeaveUndefined: Self = StObject.set(x, "onMouseLeave", js.undefined) - inline def setOnMouseMove(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onMouseMove", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnMouseMove(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onMouseMove", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnMouseMoveUndefined: Self = StObject.set(x, "onMouseMove", js.undefined) - inline def setOnMouseOut(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onMouseOut", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnMouseOut(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onMouseOut", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnMouseOutUndefined: Self = StObject.set(x, "onMouseOut", js.undefined) - inline def setOnMouseOver(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onMouseOver", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnMouseOver(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onMouseOver", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnMouseOverUndefined: Self = StObject.set(x, "onMouseOver", js.undefined) - inline def setOnMouseUp(value: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onMouseUp", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnMouseUp(value: ReactMouseEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onMouseUp", js.Any.fromFunction1((t0: ReactMouseEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnMouseUpUndefined: Self = StObject.set(x, "onMouseUp", js.undefined) - inline def setOnPaste(value: ReactClipboardEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPaste", js.Any.fromFunction1((t0: ReactClipboardEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPaste(value: ReactClipboardEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPaste", js.Any.fromFunction1((t0: ReactClipboardEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPasteUndefined: Self = StObject.set(x, "onPaste", js.undefined) - inline def setOnPause(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPause", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPause(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPause", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPauseUndefined: Self = StObject.set(x, "onPause", js.undefined) - inline def setOnPlay(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPlay", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPlay(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPlay", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPlayUndefined: Self = StObject.set(x, "onPlay", js.undefined) - inline def setOnPlaying(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPlaying", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPlaying(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPlaying", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPlayingUndefined: Self = StObject.set(x, "onPlaying", js.undefined) - inline def setOnPointerCancel(value: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPointerCancel", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPointerCancel(value: ReactPointerEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPointerCancel", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPointerCancelUndefined: Self = StObject.set(x, "onPointerCancel", js.undefined) - inline def setOnPointerDown(value: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPointerDown", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPointerDown(value: ReactPointerEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPointerDown", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPointerDownUndefined: Self = StObject.set(x, "onPointerDown", js.undefined) - inline def setOnPointerEnter(value: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPointerEnter", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPointerEnter(value: ReactPointerEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPointerEnter", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPointerEnterUndefined: Self = StObject.set(x, "onPointerEnter", js.undefined) - inline def setOnPointerLeave(value: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPointerLeave", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPointerLeave(value: ReactPointerEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPointerLeave", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPointerLeaveUndefined: Self = StObject.set(x, "onPointerLeave", js.undefined) - inline def setOnPointerMove(value: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPointerMove", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPointerMove(value: ReactPointerEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPointerMove", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPointerMoveUndefined: Self = StObject.set(x, "onPointerMove", js.undefined) - inline def setOnPointerOut(value: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPointerOut", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPointerOut(value: ReactPointerEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPointerOut", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPointerOutUndefined: Self = StObject.set(x, "onPointerOut", js.undefined) - inline def setOnPointerOver(value: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPointerOver", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPointerOver(value: ReactPointerEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPointerOver", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPointerOverUndefined: Self = StObject.set(x, "onPointerOver", js.undefined) - inline def setOnPointerUp(value: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onPointerUp", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnPointerUp(value: ReactPointerEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onPointerUp", js.Any.fromFunction1((t0: ReactPointerEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnPointerUpUndefined: Self = StObject.set(x, "onPointerUp", js.undefined) - inline def setOnProgress(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onProgress", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnProgress(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onProgress", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnProgressUndefined: Self = StObject.set(x, "onProgress", js.undefined) - inline def setOnRateChange(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onRateChange", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnRateChange(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onRateChange", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnRateChangeUndefined: Self = StObject.set(x, "onRateChange", js.undefined) - inline def setOnReset(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onReset", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnReset(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onReset", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnResetUndefined: Self = StObject.set(x, "onReset", js.undefined) - inline def setOnScroll(value: ReactUIEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onScroll", js.Any.fromFunction1((t0: ReactUIEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnScroll(value: ReactUIEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onScroll", js.Any.fromFunction1((t0: ReactUIEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnScrollUndefined: Self = StObject.set(x, "onScroll", js.undefined) - inline def setOnSeeked(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onSeeked", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnSeeked(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onSeeked", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnSeekedUndefined: Self = StObject.set(x, "onSeeked", js.undefined) - inline def setOnSeeking(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onSeeking", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnSeeking(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onSeeking", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnSeekingUndefined: Self = StObject.set(x, "onSeeking", js.undefined) - inline def setOnSelect(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onSelect", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnSelect(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onSelect", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnSelectUndefined: Self = StObject.set(x, "onSelect", js.undefined) - inline def setOnStalled(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onStalled", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnStalled(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onStalled", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnStalledUndefined: Self = StObject.set(x, "onStalled", js.undefined) - inline def setOnSubmit(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onSubmit", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnSubmit(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onSubmit", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnSubmitUndefined: Self = StObject.set(x, "onSubmit", js.undefined) - inline def setOnSuspend(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onSuspend", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnSuspend(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onSuspend", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnSuspendUndefined: Self = StObject.set(x, "onSuspend", js.undefined) - inline def setOnTimeUpdate(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onTimeUpdate", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnTimeUpdate(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onTimeUpdate", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnTimeUpdateUndefined: Self = StObject.set(x, "onTimeUpdate", js.undefined) - inline def setOnTouchCancel(value: ReactTouchEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onTouchCancel", js.Any.fromFunction1((t0: ReactTouchEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnTouchCancel(value: ReactTouchEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onTouchCancel", js.Any.fromFunction1((t0: ReactTouchEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnTouchCancelUndefined: Self = StObject.set(x, "onTouchCancel", js.undefined) - inline def setOnTouchEnd(value: ReactTouchEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onTouchEnd", js.Any.fromFunction1((t0: ReactTouchEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnTouchEnd(value: ReactTouchEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onTouchEnd", js.Any.fromFunction1((t0: ReactTouchEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnTouchEndUndefined: Self = StObject.set(x, "onTouchEnd", js.undefined) - inline def setOnTouchMove(value: ReactTouchEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onTouchMove", js.Any.fromFunction1((t0: ReactTouchEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnTouchMove(value: ReactTouchEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onTouchMove", js.Any.fromFunction1((t0: ReactTouchEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnTouchMoveUndefined: Self = StObject.set(x, "onTouchMove", js.undefined) - inline def setOnTouchStart(value: ReactTouchEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onTouchStart", js.Any.fromFunction1((t0: ReactTouchEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnTouchStart(value: ReactTouchEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onTouchStart", js.Any.fromFunction1((t0: ReactTouchEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnTouchStartUndefined: Self = StObject.set(x, "onTouchStart", js.undefined) - inline def setOnTransitionEnd(value: ReactTransitionEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onTransitionEnd", js.Any.fromFunction1((t0: ReactTransitionEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnTransitionEnd(value: ReactTransitionEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onTransitionEnd", js.Any.fromFunction1((t0: ReactTransitionEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnTransitionEndUndefined: Self = StObject.set(x, "onTransitionEnd", js.undefined) - inline def setOnVolumeChange(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onVolumeChange", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnVolumeChange(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onVolumeChange", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnVolumeChangeUndefined: Self = StObject.set(x, "onVolumeChange", js.undefined) - inline def setOnWaiting(value: ReactEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onWaiting", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnWaiting(value: ReactEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onWaiting", js.Any.fromFunction1((t0: ReactEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnWaitingUndefined: Self = StObject.set(x, "onWaiting", js.undefined) - inline def setOnWheel(value: ReactWheelEventFrom[T & org.scalajs.dom.raw.Element] => Callback): Self = StObject.set(x, "onWheel", js.Any.fromFunction1((t0: ReactWheelEventFrom[T & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def setOnWheel(value: ReactWheelEventFrom[T & org.scalajs.dom.Element] => Callback): Self = StObject.set(x, "onWheel", js.Any.fromFunction1((t0: ReactWheelEventFrom[T & org.scalajs.dom.Element]) => value(t0).runNow())) inline def setOnWheelUndefined: Self = StObject.set(x, "onWheel", js.undefined) } diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMElement.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMElement.scala index 2aa5e8ec94..16a3880014 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMElement.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMElement.scala @@ -1,7 +1,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback -import org.scalajs.dom.raw.Element +import org.scalajs.dom.Element import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMFactory.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMFactory.scala index 07fb2950a5..08ff5c2827 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMFactory.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DOMFactory.scala @@ -1,8 +1,8 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.DomElement -import japgolly.scalajs.react.raw.React.Node -import org.scalajs.dom.raw.Element +import japgolly.scalajs.react.facade.React.DomElement +import japgolly.scalajs.react.facade.React.Node +import org.scalajs.dom.Element import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DetailedHTMLFactory.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DetailedHTMLFactory.scala index 2f9679b1a3..e78acc843f 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DetailedHTMLFactory.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DetailedHTMLFactory.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DetailedReactHTMLElement.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DetailedReactHTMLElement.scala index 21d4147661..c686af2be9 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DetailedReactHTMLElement.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DetailedReactHTMLElement.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DragEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DragEvent.scala index 7a0aaccb57..cdb87434e6 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DragEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/DragEvent.scala @@ -2,8 +2,8 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.DataTransfer -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.DataTransfer +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ExoticComponent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ExoticComponent.scala index 1c0e2c43f0..1b7135a8d3 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ExoticComponent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ExoticComponent.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.React.Element import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Factory.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Factory.scala index 90fdc97f2d..18c39ce17d 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Factory.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Factory.scala @@ -1,7 +1,7 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FocusEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FocusEvent.scala index 17f3c7bfa3..ea0091180d 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FocusEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FocusEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FunctionComponent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FunctionComponent.scala index cebe12a5ac..368ec544cb 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FunctionComponent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FunctionComponent.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.React.Element import typingsJapgolly.std.Partial import org.scalablytyped.runtime.StObject import scala.scalajs.js diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FunctionComponentFactory.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FunctionComponentFactory.scala index 3cfcbb49f5..2d46e15498 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FunctionComponentFactory.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/FunctionComponentFactory.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Node import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/InputHTMLAttributes.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/InputHTMLAttributes.scala index 962143e5a7..6f089d5463 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/InputHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/InputHTMLAttributes.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactEventFrom -import org.scalajs.dom.raw.Element +import org.scalajs.dom.Element import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/InvalidEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/InvalidEvent.scala index 4184e897a5..f53b1e2a6a 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/InvalidEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/InvalidEvent.scala @@ -2,8 +2,8 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.Event -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.Event +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/KeyboardEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/KeyboardEvent.scala index e471e4e4ca..a2b823a1f0 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/KeyboardEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/KeyboardEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/MouseEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/MouseEvent.scala index 76d7163a47..8d19cad25a 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/MouseEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/MouseEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/PointerEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/PointerEvent.scala index 1eb8334f51..4fceace9d4 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/PointerEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/PointerEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import typingsJapgolly.react.reactStrings.mouse import typingsJapgolly.react.reactStrings.pen import typingsJapgolly.react.reactStrings.touch diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ProfilerProps.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ProfilerProps.scala index 537922e3d1..541ed61b72 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ProfilerProps.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ProfilerProps.scala @@ -1,10 +1,10 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import typingsJapgolly.react.reactStrings.mount diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Props.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Props.scala index c53d7d37b4..3fb8ee264d 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Props.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Props.scala @@ -1,10 +1,10 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ProviderProps.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ProviderProps.scala index 7aa107ee7c..670359a1c2 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ProviderProps.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ProviderProps.scala @@ -1,9 +1,9 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactDOM.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactDOM.scala index 4c2c96be03..8bcdabc36f 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactDOM.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactDOM.scala @@ -1,57 +1,57 @@ package typingsJapgolly.react.mod -import org.scalajs.dom.raw.HTMLAnchorElement -import org.scalajs.dom.raw.HTMLAreaElement -import org.scalajs.dom.raw.HTMLAudioElement -import org.scalajs.dom.raw.HTMLBRElement -import org.scalajs.dom.raw.HTMLBaseElement -import org.scalajs.dom.raw.HTMLBodyElement -import org.scalajs.dom.raw.HTMLButtonElement -import org.scalajs.dom.raw.HTMLCanvasElement -import org.scalajs.dom.raw.HTMLDListElement -import org.scalajs.dom.raw.HTMLDataListElement -import org.scalajs.dom.raw.HTMLDivElement -import org.scalajs.dom.raw.HTMLElement -import org.scalajs.dom.raw.HTMLEmbedElement -import org.scalajs.dom.raw.HTMLFieldSetElement -import org.scalajs.dom.raw.HTMLFormElement -import org.scalajs.dom.raw.HTMLHRElement -import org.scalajs.dom.raw.HTMLHeadElement -import org.scalajs.dom.raw.HTMLHeadingElement -import org.scalajs.dom.raw.HTMLHtmlElement -import org.scalajs.dom.raw.HTMLIFrameElement -import org.scalajs.dom.raw.HTMLImageElement -import org.scalajs.dom.raw.HTMLInputElement -import org.scalajs.dom.raw.HTMLLIElement -import org.scalajs.dom.raw.HTMLLabelElement -import org.scalajs.dom.raw.HTMLLegendElement -import org.scalajs.dom.raw.HTMLLinkElement -import org.scalajs.dom.raw.HTMLMapElement -import org.scalajs.dom.raw.HTMLMetaElement -import org.scalajs.dom.raw.HTMLModElement -import org.scalajs.dom.raw.HTMLOListElement -import org.scalajs.dom.raw.HTMLObjectElement -import org.scalajs.dom.raw.HTMLOptGroupElement -import org.scalajs.dom.raw.HTMLOptionElement -import org.scalajs.dom.raw.HTMLParagraphElement -import org.scalajs.dom.raw.HTMLParamElement -import org.scalajs.dom.raw.HTMLPreElement -import org.scalajs.dom.raw.HTMLProgressElement -import org.scalajs.dom.raw.HTMLQuoteElement -import org.scalajs.dom.raw.HTMLScriptElement -import org.scalajs.dom.raw.HTMLSelectElement -import org.scalajs.dom.raw.HTMLSourceElement -import org.scalajs.dom.raw.HTMLSpanElement -import org.scalajs.dom.raw.HTMLStyleElement -import org.scalajs.dom.raw.HTMLTableColElement -import org.scalajs.dom.raw.HTMLTableElement -import org.scalajs.dom.raw.HTMLTableRowElement -import org.scalajs.dom.raw.HTMLTableSectionElement -import org.scalajs.dom.raw.HTMLTextAreaElement -import org.scalajs.dom.raw.HTMLTitleElement -import org.scalajs.dom.raw.HTMLTrackElement -import org.scalajs.dom.raw.HTMLUListElement -import org.scalajs.dom.raw.HTMLVideoElement +import org.scalajs.dom.HTMLAnchorElement +import org.scalajs.dom.HTMLAreaElement +import org.scalajs.dom.HTMLAudioElement +import org.scalajs.dom.HTMLBRElement +import org.scalajs.dom.HTMLBaseElement +import org.scalajs.dom.HTMLBodyElement +import org.scalajs.dom.HTMLButtonElement +import org.scalajs.dom.HTMLCanvasElement +import org.scalajs.dom.HTMLDListElement +import org.scalajs.dom.HTMLDataListElement +import org.scalajs.dom.HTMLDivElement +import org.scalajs.dom.HTMLElement +import org.scalajs.dom.HTMLEmbedElement +import org.scalajs.dom.HTMLFieldSetElement +import org.scalajs.dom.HTMLFormElement +import org.scalajs.dom.HTMLHRElement +import org.scalajs.dom.HTMLHeadElement +import org.scalajs.dom.HTMLHeadingElement +import org.scalajs.dom.HTMLHtmlElement +import org.scalajs.dom.HTMLIFrameElement +import org.scalajs.dom.HTMLImageElement +import org.scalajs.dom.HTMLInputElement +import org.scalajs.dom.HTMLLIElement +import org.scalajs.dom.HTMLLabelElement +import org.scalajs.dom.HTMLLegendElement +import org.scalajs.dom.HTMLLinkElement +import org.scalajs.dom.HTMLMapElement +import org.scalajs.dom.HTMLMetaElement +import org.scalajs.dom.HTMLModElement +import org.scalajs.dom.HTMLOListElement +import org.scalajs.dom.HTMLObjectElement +import org.scalajs.dom.HTMLOptGroupElement +import org.scalajs.dom.HTMLOptionElement +import org.scalajs.dom.HTMLParagraphElement +import org.scalajs.dom.HTMLParamElement +import org.scalajs.dom.HTMLPreElement +import org.scalajs.dom.HTMLProgressElement +import org.scalajs.dom.HTMLQuoteElement +import org.scalajs.dom.HTMLScriptElement +import org.scalajs.dom.HTMLSelectElement +import org.scalajs.dom.HTMLSourceElement +import org.scalajs.dom.HTMLSpanElement +import org.scalajs.dom.HTMLStyleElement +import org.scalajs.dom.HTMLTableColElement +import org.scalajs.dom.HTMLTableElement +import org.scalajs.dom.HTMLTableRowElement +import org.scalajs.dom.HTMLTableSectionElement +import org.scalajs.dom.HTMLTextAreaElement +import org.scalajs.dom.HTMLTitleElement +import org.scalajs.dom.HTMLTrackElement +import org.scalajs.dom.HTMLUListElement +import org.scalajs.dom.HTMLVideoElement import typingsJapgolly.std.HTMLDataElement import typingsJapgolly.std.HTMLDialogElement import typingsJapgolly.std.HTMLTableDataCellElement diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactHTML.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactHTML.scala index 022cc22b98..5b5a8b3a37 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactHTML.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactHTML.scala @@ -1,57 +1,57 @@ package typingsJapgolly.react.mod -import org.scalajs.dom.raw.HTMLAnchorElement -import org.scalajs.dom.raw.HTMLAreaElement -import org.scalajs.dom.raw.HTMLAudioElement -import org.scalajs.dom.raw.HTMLBRElement -import org.scalajs.dom.raw.HTMLBaseElement -import org.scalajs.dom.raw.HTMLBodyElement -import org.scalajs.dom.raw.HTMLButtonElement -import org.scalajs.dom.raw.HTMLCanvasElement -import org.scalajs.dom.raw.HTMLDListElement -import org.scalajs.dom.raw.HTMLDataListElement -import org.scalajs.dom.raw.HTMLDivElement -import org.scalajs.dom.raw.HTMLElement -import org.scalajs.dom.raw.HTMLEmbedElement -import org.scalajs.dom.raw.HTMLFieldSetElement -import org.scalajs.dom.raw.HTMLFormElement -import org.scalajs.dom.raw.HTMLHRElement -import org.scalajs.dom.raw.HTMLHeadElement -import org.scalajs.dom.raw.HTMLHeadingElement -import org.scalajs.dom.raw.HTMLHtmlElement -import org.scalajs.dom.raw.HTMLIFrameElement -import org.scalajs.dom.raw.HTMLImageElement -import org.scalajs.dom.raw.HTMLInputElement -import org.scalajs.dom.raw.HTMLLIElement -import org.scalajs.dom.raw.HTMLLabelElement -import org.scalajs.dom.raw.HTMLLegendElement -import org.scalajs.dom.raw.HTMLLinkElement -import org.scalajs.dom.raw.HTMLMapElement -import org.scalajs.dom.raw.HTMLMetaElement -import org.scalajs.dom.raw.HTMLModElement -import org.scalajs.dom.raw.HTMLOListElement -import org.scalajs.dom.raw.HTMLObjectElement -import org.scalajs.dom.raw.HTMLOptGroupElement -import org.scalajs.dom.raw.HTMLOptionElement -import org.scalajs.dom.raw.HTMLParagraphElement -import org.scalajs.dom.raw.HTMLParamElement -import org.scalajs.dom.raw.HTMLPreElement -import org.scalajs.dom.raw.HTMLProgressElement -import org.scalajs.dom.raw.HTMLQuoteElement -import org.scalajs.dom.raw.HTMLScriptElement -import org.scalajs.dom.raw.HTMLSelectElement -import org.scalajs.dom.raw.HTMLSourceElement -import org.scalajs.dom.raw.HTMLSpanElement -import org.scalajs.dom.raw.HTMLStyleElement -import org.scalajs.dom.raw.HTMLTableColElement -import org.scalajs.dom.raw.HTMLTableElement -import org.scalajs.dom.raw.HTMLTableRowElement -import org.scalajs.dom.raw.HTMLTableSectionElement -import org.scalajs.dom.raw.HTMLTextAreaElement -import org.scalajs.dom.raw.HTMLTitleElement -import org.scalajs.dom.raw.HTMLTrackElement -import org.scalajs.dom.raw.HTMLUListElement -import org.scalajs.dom.raw.HTMLVideoElement +import org.scalajs.dom.HTMLAnchorElement +import org.scalajs.dom.HTMLAreaElement +import org.scalajs.dom.HTMLAudioElement +import org.scalajs.dom.HTMLBRElement +import org.scalajs.dom.HTMLBaseElement +import org.scalajs.dom.HTMLBodyElement +import org.scalajs.dom.HTMLButtonElement +import org.scalajs.dom.HTMLCanvasElement +import org.scalajs.dom.HTMLDListElement +import org.scalajs.dom.HTMLDataListElement +import org.scalajs.dom.HTMLDivElement +import org.scalajs.dom.HTMLElement +import org.scalajs.dom.HTMLEmbedElement +import org.scalajs.dom.HTMLFieldSetElement +import org.scalajs.dom.HTMLFormElement +import org.scalajs.dom.HTMLHRElement +import org.scalajs.dom.HTMLHeadElement +import org.scalajs.dom.HTMLHeadingElement +import org.scalajs.dom.HTMLHtmlElement +import org.scalajs.dom.HTMLIFrameElement +import org.scalajs.dom.HTMLImageElement +import org.scalajs.dom.HTMLInputElement +import org.scalajs.dom.HTMLLIElement +import org.scalajs.dom.HTMLLabelElement +import org.scalajs.dom.HTMLLegendElement +import org.scalajs.dom.HTMLLinkElement +import org.scalajs.dom.HTMLMapElement +import org.scalajs.dom.HTMLMetaElement +import org.scalajs.dom.HTMLModElement +import org.scalajs.dom.HTMLOListElement +import org.scalajs.dom.HTMLObjectElement +import org.scalajs.dom.HTMLOptGroupElement +import org.scalajs.dom.HTMLOptionElement +import org.scalajs.dom.HTMLParagraphElement +import org.scalajs.dom.HTMLParamElement +import org.scalajs.dom.HTMLPreElement +import org.scalajs.dom.HTMLProgressElement +import org.scalajs.dom.HTMLQuoteElement +import org.scalajs.dom.HTMLScriptElement +import org.scalajs.dom.HTMLSelectElement +import org.scalajs.dom.HTMLSourceElement +import org.scalajs.dom.HTMLSpanElement +import org.scalajs.dom.HTMLStyleElement +import org.scalajs.dom.HTMLTableColElement +import org.scalajs.dom.HTMLTableElement +import org.scalajs.dom.HTMLTableRowElement +import org.scalajs.dom.HTMLTableSectionElement +import org.scalajs.dom.HTMLTextAreaElement +import org.scalajs.dom.HTMLTitleElement +import org.scalajs.dom.HTMLTrackElement +import org.scalajs.dom.HTMLUListElement +import org.scalajs.dom.HTMLVideoElement import typingsJapgolly.std.HTMLDataElement import typingsJapgolly.std.HTMLDialogElement import typingsJapgolly.std.HTMLTableDataCellElement diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactNodeArray.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactNodeArray.scala index ff79070c0e..58474ce852 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactNodeArray.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactNodeArray.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Node import typingsJapgolly.std.Array import org.scalablytyped.runtime.StObject import scala.scalajs.js diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactPortal.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactPortal.scala index 1c0ac08f63..6ad6acdc8a 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactPortal.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactPortal.scala @@ -1,9 +1,9 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactSVGElement.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactSVGElement.scala index 4390094233..78c3e1f9f5 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactSVGElement.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/ReactSVGElement.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import org.scalajs.dom.raw.SVGElement +import org.scalajs.dom.SVGElement import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/RefForwardingComponent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/RefForwardingComponent.scala index dd9bb61cd6..e32890902c 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/RefForwardingComponent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/RefForwardingComponent.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.React.Element import typingsJapgolly.std.Partial import org.scalablytyped.runtime.StObject import scala.scalajs.js diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SVGFactory.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SVGFactory.scala index 7973d2c957..3fc652e437 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SVGFactory.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SVGFactory.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import org.scalajs.dom.raw.SVGElement +import org.scalajs.dom.SVGElement import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SelectHTMLAttributes.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SelectHTMLAttributes.scala index 5d1b672db0..a13e18a449 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SelectHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SelectHTMLAttributes.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactEventFrom -import org.scalajs.dom.raw.Element +import org.scalajs.dom.Element import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SuspenseProps.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SuspenseProps.scala index 9ed4036065..fa5d7ff06d 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SuspenseProps.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/SuspenseProps.scala @@ -1,9 +1,9 @@ package typingsJapgolly.react.mod -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TextareaHTMLAttributes.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TextareaHTMLAttributes.scala index ee8feef966..9b70a9682b 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TextareaHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TextareaHTMLAttributes.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactEventFrom -import org.scalajs.dom.raw.Element +import org.scalajs.dom.Element import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Touch.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Touch.scala index a4989ff6a3..7f78fe4b3b 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Touch.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/Touch.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.mod -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TouchEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TouchEvent.scala index bb66c47ba9..3af382f43c 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TouchEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TouchEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TransitionEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TransitionEvent.scala index 2fc50304d2..ae925bd508 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TransitionEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/TransitionEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/UIEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/UIEvent.scala index ce4ad1f89b..6f23fc65e9 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/UIEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/UIEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/WheelEvent.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/WheelEvent.scala index ba862592df..37546f3510 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/WheelEvent.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/WheelEvent.scala @@ -2,7 +2,7 @@ package typingsJapgolly.react.mod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import org.scalajs.dom.raw.EventTarget +import org.scalajs.dom.EventTarget import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/global.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/global.scala index dd68a41365..48111839b2 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/global.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/global.scala @@ -1,11 +1,11 @@ package typingsJapgolly.react.mod -import org.scalajs.dom.raw.HTMLAnchorElement -import org.scalajs.dom.raw.HTMLAreaElement -import org.scalajs.dom.raw.HTMLAudioElement -import org.scalajs.dom.raw.HTMLBaseElement -import org.scalajs.dom.raw.HTMLElement -import org.scalajs.dom.raw.SVGViewElement +import org.scalajs.dom.HTMLAnchorElement +import org.scalajs.dom.HTMLAreaElement +import org.scalajs.dom.HTMLAudioElement +import org.scalajs.dom.HTMLBaseElement +import org.scalajs.dom.HTMLElement +import org.scalajs.dom.SVGViewElement import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @@ -15,7 +15,7 @@ object global { object JSX { // tslint:disable-next-line:no-empty-interface - type Element = japgolly.scalajs.react.raw.React.Element + type Element = japgolly.scalajs.react.facade.React.Element trait ElementAttributesProperty extends StObject diff --git a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/package.scala b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/package.scala index 501123627b..9b583bb862 100644 --- a/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/package.scala +++ b/tests/react-integration-test/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod/package.scala @@ -20,108 +20,108 @@ inline def StrictMode: typingsJapgolly.react.mod.ExoticComponent[typingsJapgolly inline def Suspense: typingsJapgolly.react.mod.ExoticComponent[typingsJapgolly.react.mod.SuspenseProps] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].selectDynamic("Suspense").asInstanceOf[typingsJapgolly.react.mod.ExoticComponent[typingsJapgolly.react.mod.SuspenseProps]] inline def cloneElement[P]( - element: japgolly.scalajs.react.raw.React.Element, + element: japgolly.scalajs.react.facade.React.Element, props: typingsJapgolly.std.Partial[P] & typingsJapgolly.react.mod.Attributes, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] inline def cloneElement[P]( - element: japgolly.scalajs.react.raw.React.Element, + element: japgolly.scalajs.react.facade.React.Element, props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] // Custom components inline def cloneElement[P]( element: typingsJapgolly.react.mod.FunctionComponentElement[P], props: typingsJapgolly.std.Partial[P] & typingsJapgolly.react.mod.Attributes, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.FunctionComponentElement[P] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.FunctionComponentElement[P]] inline def cloneElement[P]( element: typingsJapgolly.react.mod.FunctionComponentElement[P], props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.FunctionComponentElement[P] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.FunctionComponentElement[P]] // DOM Element (has to be the last, because type checking stops at first overload that fits) -inline def cloneElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */]( - element: japgolly.scalajs.react.raw.React.DomElement, +inline def cloneElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */]( + element: japgolly.scalajs.react.facade.React.DomElement, props: typingsJapgolly.react.mod.DOMAttributes[T] & P, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.DomElement] -inline def cloneElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */]( - element: japgolly.scalajs.react.raw.React.DomElement, + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.DomElement] +inline def cloneElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */]( + element: japgolly.scalajs.react.facade.React.DomElement, props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.DomElement] -inline def cloneElement[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */]( + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.DomElement] +inline def cloneElement[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */]( element: typingsJapgolly.react.mod.CElement[P, T], props: typingsJapgolly.std.Partial[P] & typingsJapgolly.react.mod.ClassAttributes[T], - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.CElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.CElement[P, T]] -inline def cloneElement[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */]( +inline def cloneElement[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */]( element: typingsJapgolly.react.mod.CElement[P, T], props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.CElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.CElement[P, T]] -// ReactHTMLElement, less specific -inline def cloneElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.raw.HTMLElement */]( - element: typingsJapgolly.react.mod.ReactHTMLElement[T], +// DOM Elements +// ReactHTMLElement +inline def cloneElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.HTMLElement */]( + element: typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T], props: P, - children: japgolly.scalajs.react.raw.React.Node* -): typingsJapgolly.react.mod.ReactHTMLElement[T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.ReactHTMLElement[T]] -inline def cloneElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.raw.HTMLElement */]( - element: typingsJapgolly.react.mod.ReactHTMLElement[T], + children: japgolly.scalajs.react.facade.React.Node* +): typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T]] +inline def cloneElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.HTMLElement */]( + element: typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T], props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* -): typingsJapgolly.react.mod.ReactHTMLElement[T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.ReactHTMLElement[T]] + children: japgolly.scalajs.react.facade.React.Node* +): typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T]] // SVGElement -inline def cloneElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.raw.SVGElement */]( +inline def cloneElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.SVGElement */]( element: typingsJapgolly.react.mod.ReactSVGElement, props: P, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.ReactSVGElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.ReactSVGElement] -inline def cloneElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.raw.SVGElement */]( +inline def cloneElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.SVGElement */]( element: typingsJapgolly.react.mod.ReactSVGElement, props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.ReactSVGElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.ReactSVGElement] -// DOM Elements -// ReactHTMLElement -inline def cloneElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.raw.HTMLElement */]( - element: typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T], +// ReactHTMLElement, less specific +inline def cloneElement_P_HTMLAttributesTT_HTMLElement_ReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.HTMLElement */]( + element: typingsJapgolly.react.mod.ReactHTMLElement[T], props: P, - children: japgolly.scalajs.react.raw.React.Node* -): typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T]] -inline def cloneElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.raw.HTMLElement */]( - element: typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T], + children: japgolly.scalajs.react.facade.React.Node* +): typingsJapgolly.react.mod.ReactHTMLElement[T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.ReactHTMLElement[T]] +inline def cloneElement_P_HTMLAttributesTT_HTMLElement_ReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.HTMLElement */]( + element: typingsJapgolly.react.mod.ReactHTMLElement[T], props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* -): typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T]] + children: japgolly.scalajs.react.facade.React.Node* +): typingsJapgolly.react.mod.ReactHTMLElement[T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("cloneElement")(element.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.ReactHTMLElement[T]] inline def createContext[T](defaultValue: T): typingsJapgolly.react.mod.Context[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createContext")(defaultValue.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.Context[T]] inline def createContext[T](defaultValue: T, calculateChangedBits: js.Function2[/* prev */ T, /* next */ T, scala.Double]): typingsJapgolly.react.mod.Context[T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createContext")(defaultValue.asInstanceOf[js.Any], calculateChangedBits.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.Context[T]] inline def createElement[P /* <: js.Object */]( - `type`: japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object], + `type`: japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object], props: typingsJapgolly.react.mod.Attributes & P, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] inline def createElement[P /* <: js.Object */]( - `type`: japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object], + `type`: japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object], props: scala.Null, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] inline def createElement[P /* <: js.Object */]( - `type`: japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object], + `type`: japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object], props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] inline def createElement[P /* <: js.Object */]( `type`: java.lang.String, props: typingsJapgolly.react.mod.Attributes & P, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] -inline def createElement[P /* <: js.Object */](`type`: java.lang.String, props: scala.Null, children: japgolly.scalajs.react.raw.React.Node*): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] -inline def createElement[P /* <: js.Object */](`type`: java.lang.String, props: scala.Unit, children: japgolly.scalajs.react.raw.React.Node*): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] +inline def createElement[P /* <: js.Object */](`type`: java.lang.String, props: scala.Null, children: japgolly.scalajs.react.facade.React.Node*): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] +inline def createElement[P /* <: js.Object */](`type`: java.lang.String, props: scala.Unit, children: japgolly.scalajs.react.facade.React.Node*): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] inline def createElement[P /* <: js.Object */]( `type`: typingsJapgolly.react.mod.ClassType[ P, @@ -129,7 +129,7 @@ inline def createElement[P /* <: js.Object */]( typingsJapgolly.react.mod.ClassicComponentClass[P] ], props: (typingsJapgolly.react.mod.ClassAttributes[typingsJapgolly.react.mod.ClassicComponent[P, js.Object]]) & P, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.CElement[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.CElement[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]]] inline def createElement[P /* <: js.Object */]( `type`: typingsJapgolly.react.mod.ClassType[ @@ -138,7 +138,7 @@ inline def createElement[P /* <: js.Object */]( typingsJapgolly.react.mod.ClassicComponentClass[P] ], props: scala.Null, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.CElement[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.CElement[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]]] inline def createElement[P /* <: js.Object */]( `type`: typingsJapgolly.react.mod.ClassType[ @@ -147,127 +147,127 @@ inline def createElement[P /* <: js.Object */]( typingsJapgolly.react.mod.ClassicComponentClass[P] ], props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.CElement[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.CElement[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]]] inline def createElement[P /* <: js.Object */]( `type`: typingsJapgolly.react.mod.FunctionComponent[P], props: typingsJapgolly.react.mod.Attributes & P, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] inline def createElement[P /* <: js.Object */]( `type`: typingsJapgolly.react.mod.FunctionComponent[P], props: scala.Null, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] inline def createElement[P /* <: js.Object */]( `type`: typingsJapgolly.react.mod.FunctionComponent[P], props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.Element] -inline def createElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.raw.SVGElement */]( + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.Element = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.Element] +inline def createElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.SVGElement */]( `type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 55 */ js.Any, props: typingsJapgolly.react.mod.ClassAttributes[T] & P, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.ReactSVGElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.ReactSVGElement] -inline def createElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.raw.SVGElement */]( +inline def createElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.SVGElement */]( `type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 55 */ js.Any, props: scala.Null, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.ReactSVGElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.ReactSVGElement] -inline def createElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.raw.SVGElement */]( +inline def createElement[P /* <: typingsJapgolly.react.mod.SVGAttributes[T] */, T /* <: org.scalajs.dom.SVGElement */]( `type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 55 */ js.Any, props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.ReactSVGElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.ReactSVGElement] -inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object] */]( +inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object] */]( `type`: typingsJapgolly.react.mod.ClassType[P, T, C], props: typingsJapgolly.react.mod.ClassAttributes[T] & P, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.CElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.CElement[P, T]] -inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object] */]( +inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object] */]( `type`: typingsJapgolly.react.mod.ClassType[P, T, C], props: scala.Null, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.CElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.CElement[P, T]] -inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object] */]( +inline def createElement[P /* <: js.Object */, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object] */]( `type`: typingsJapgolly.react.mod.ClassType[P, T, C], props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.CElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.CElement[P, T]] -inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */]( +inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */]( `type`: java.lang.String, props: typingsJapgolly.react.mod.ClassAttributes[T] & P, - children: japgolly.scalajs.react.raw.React.Node* -): japgolly.scalajs.react.raw.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.DomElement] -inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */](`type`: java.lang.String, props: scala.Null, children: japgolly.scalajs.react.raw.React.Node*): japgolly.scalajs.react.raw.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.DomElement] -inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */](`type`: java.lang.String, props: scala.Unit, children: japgolly.scalajs.react.raw.React.Node*): japgolly.scalajs.react.raw.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.raw.React.DomElement] + children: japgolly.scalajs.react.facade.React.Node* +): japgolly.scalajs.react.facade.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.DomElement] +inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */](`type`: java.lang.String, props: scala.Null, children: japgolly.scalajs.react.facade.React.Node*): japgolly.scalajs.react.facade.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.DomElement] +inline def createElement_P_DOMAttributesTT_Element_DomElement[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */](`type`: java.lang.String, props: scala.Unit, children: japgolly.scalajs.react.facade.React.Node*): japgolly.scalajs.react.facade.React.DomElement = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[japgolly.scalajs.react.facade.React.DomElement] -inline def createElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.raw.HTMLElement */]( +inline def createElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.HTMLElement */]( `type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 115 */ js.Any, props: typingsJapgolly.react.mod.ClassAttributes[T] & P, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T]] -inline def createElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.raw.HTMLElement */]( +inline def createElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.HTMLElement */]( `type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 115 */ js.Any, props: scala.Null, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T]] -inline def createElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.raw.HTMLElement */]( +inline def createElement_P_HTMLAttributesTT_HTMLElement_DetailedReactHTMLElement[P /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T /* <: org.scalajs.dom.HTMLElement */]( `type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 115 */ js.Any, props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[P, T]] // Custom components inline def createElement_P_Object_FunctionComponentElement[P /* <: js.Object */]( `type`: typingsJapgolly.react.mod.FunctionComponent[P], props: typingsJapgolly.react.mod.Attributes & P, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.FunctionComponentElement[P] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.FunctionComponentElement[P]] inline def createElement_P_Object_FunctionComponentElement[P /* <: js.Object */]( `type`: typingsJapgolly.react.mod.FunctionComponent[P], props: scala.Null, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.FunctionComponentElement[P] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.FunctionComponentElement[P]] inline def createElement_P_Object_FunctionComponentElement[P /* <: js.Object */]( `type`: typingsJapgolly.react.mod.FunctionComponent[P], props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.FunctionComponentElement[P] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.FunctionComponentElement[P]] // DOM Elements // TODO: generalize this to everything in `keyof ReactHTML`, not just "input" inline def createElement_input( `type`: typingsJapgolly.react.reactStrings.input, - props: typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.raw.HTMLInputElement] & typingsJapgolly.react.mod.ClassAttributes[org.scalajs.dom.raw.HTMLInputElement], - children: japgolly.scalajs.react.raw.React.Node* + props: typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.HTMLInputElement] & typingsJapgolly.react.mod.ClassAttributes[org.scalajs.dom.HTMLInputElement], + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.DetailedReactHTMLElement[ -typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.raw.HTMLInputElement], -org.scalajs.dom.raw.HTMLInputElement] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[ -typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.raw.HTMLInputElement], -org.scalajs.dom.raw.HTMLInputElement]] +typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.HTMLInputElement], +org.scalajs.dom.HTMLInputElement] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[ +typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.HTMLInputElement], +org.scalajs.dom.HTMLInputElement]] inline def createElement_input( `type`: typingsJapgolly.react.reactStrings.input, props: scala.Null, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.DetailedReactHTMLElement[ -typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.raw.HTMLInputElement], -org.scalajs.dom.raw.HTMLInputElement] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[ -typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.raw.HTMLInputElement], -org.scalajs.dom.raw.HTMLInputElement]] +typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.HTMLInputElement], +org.scalajs.dom.HTMLInputElement] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[ +typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.HTMLInputElement], +org.scalajs.dom.HTMLInputElement]] inline def createElement_input( `type`: typingsJapgolly.react.reactStrings.input, props: scala.Unit, - children: japgolly.scalajs.react.raw.React.Node* + children: japgolly.scalajs.react.facade.React.Node* ): typingsJapgolly.react.mod.DetailedReactHTMLElement[ -typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.raw.HTMLInputElement], -org.scalajs.dom.raw.HTMLInputElement] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[ -typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.raw.HTMLInputElement], -org.scalajs.dom.raw.HTMLInputElement]] +typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.HTMLInputElement], +org.scalajs.dom.HTMLInputElement] = (typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createElement")(`type`.asInstanceOf[js.Any], props.asInstanceOf[js.Any], children.asInstanceOf[js.Any])).asInstanceOf[typingsJapgolly.react.mod.DetailedReactHTMLElement[ +typingsJapgolly.react.mod.InputHTMLAttributes[org.scalajs.dom.HTMLInputElement], +org.scalajs.dom.HTMLInputElement]] inline def createFactory(`type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 55 */ js.Any): typingsJapgolly.react.mod.SVGFactory = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.SVGFactory] -inline def createFactory[P](`type`: japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object]): typingsJapgolly.react.mod.Factory[P] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.Factory[P]] +inline def createFactory[P](`type`: japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object]): typingsJapgolly.react.mod.Factory[P] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.Factory[P]] inline def createFactory[P]( `type`: typingsJapgolly.react.mod.ClassType[ P, @@ -277,16 +277,16 @@ inline def createFactory[P]( ): typingsJapgolly.react.mod.CFactory[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.CFactory[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]]] // Custom components inline def createFactory[P](`type`: typingsJapgolly.react.mod.FunctionComponent[P]): typingsJapgolly.react.mod.FunctionComponentFactory[P] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.FunctionComponentFactory[P]] -inline def createFactory[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.raw.Element */](`type`: java.lang.String): typingsJapgolly.react.mod.DOMFactory[P, T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.DOMFactory[P, T]] -inline def createFactory[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object] */](`type`: typingsJapgolly.react.mod.ClassType[P, T, C]): typingsJapgolly.react.mod.CFactory[P, T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.CFactory[P, T]] +inline def createFactory[P /* <: typingsJapgolly.react.mod.DOMAttributes[T] */, T /* <: org.scalajs.dom.Element */](`type`: java.lang.String): typingsJapgolly.react.mod.DOMFactory[P, T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.DOMFactory[P, T]] +inline def createFactory[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object] */](`type`: typingsJapgolly.react.mod.ClassType[P, T, C]): typingsJapgolly.react.mod.CFactory[P, T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.CFactory[P, T]] // // Top Level API // ---------------------------------------------------------------------- // DOM Elements -inline def createFactory_T_HTMLElement_HTMLFactory[T /* <: org.scalajs.dom.raw.HTMLElement */](`type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 115 */ js.Any): typingsJapgolly.react.mod.HTMLFactory[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.HTMLFactory[T]] +inline def createFactory_T_HTMLElement_HTMLFactory[T /* <: org.scalajs.dom.HTMLElement */](`type`: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 115 */ js.Any): typingsJapgolly.react.mod.HTMLFactory[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createFactory")(`type`.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.HTMLFactory[T]] -inline def createRef[T](): japgolly.scalajs.react.raw.React.RefHandle[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createRef")().asInstanceOf[japgolly.scalajs.react.raw.React.RefHandle[T]] +inline def createRef[T](): japgolly.scalajs.react.facade.React.RefHandle[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("createRef")().asInstanceOf[japgolly.scalajs.react.facade.React.RefHandle[T]] inline def forwardRef[T, P](Component: typingsJapgolly.react.mod.RefForwardingComponent[T, P]): typingsJapgolly.react.mod.ForwardRefExoticComponent[ typingsJapgolly.react.mod.PropsWithoutRef[P] & typingsJapgolly.react.mod.RefAttributes[T]] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("forwardRef")(Component.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.ForwardRefExoticComponent[ @@ -474,7 +474,8 @@ typingsJapgolly.react.mod.Dispatch[typingsJapgolly.react.mod.ReducerAction[R]]] typingsJapgolly.react.mod.ReducerState[R], typingsJapgolly.react.mod.Dispatch[typingsJapgolly.react.mod.ReducerAction[R]]]] -// convenience overload for refs given as a ref prop as they typically start with a null value +// convenience overload for potentially undefined initialValue / call with 0 arguments +// has a default to stop it from defaulting to {} instead /** * `useRef` returns a mutable ref object whose `.current` property is initialized to the passed argument * (`initialValue`). The returned object will persist for the full lifetime of the component. @@ -482,18 +483,11 @@ typingsJapgolly.react.mod.Dispatch[typingsJapgolly.react.mod.ReducerAction[R]]]] * Note that `useRef()` is useful for more than the `ref` attribute. It’s handy for keeping any mutable * value around similar to how you’d use instance fields in classes. * - * Usage note: if you need the result of useRef to be directly mutable, include `| null` in the type - * of the generic argument. - * * @version 16.8.0 * @see https://reactjs.org/docs/hooks-reference.html#useref */ // TODO (TypeScript 3.0): -inline def useRef[T](): japgolly.scalajs.react.raw.React.RefHandle[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("useRef")().asInstanceOf[japgolly.scalajs.react.raw.React.RefHandle[T]] -inline def useRef[T](initialValue: T): japgolly.scalajs.react.raw.React.RefHandle[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("useRef")(initialValue.asInstanceOf[js.Any]).asInstanceOf[japgolly.scalajs.react.raw.React.RefHandle[T]] - -// convenience overload for potentially undefined initialValue / call with 0 arguments -// has a default to stop it from defaulting to {} instead +inline def useRef[T](): typingsJapgolly.react.mod.MutableRefObject[js.UndefOr[T]] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("useRef")().asInstanceOf[typingsJapgolly.react.mod.MutableRefObject[js.UndefOr[T]]] /** * `useRef` returns a mutable ref object whose `.current` property is initialized to the passed argument * (`initialValue`). The returned object will persist for the full lifetime of the component. @@ -505,7 +499,9 @@ inline def useRef[T](initialValue: T): japgolly.scalajs.react.raw.React.RefHandl * @see https://reactjs.org/docs/hooks-reference.html#useref */ // TODO (TypeScript 3.0): -inline def useRef_T_MutableRefObject[T](): typingsJapgolly.react.mod.MutableRefObject[js.UndefOr[T]] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("useRef")().asInstanceOf[typingsJapgolly.react.mod.MutableRefObject[js.UndefOr[T]]] +inline def useRef[T](initialValue: T): typingsJapgolly.react.mod.MutableRefObject[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("useRef")(initialValue.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.MutableRefObject[T]] + +// convenience overload for refs given as a ref prop as they typically start with a null value /** * `useRef` returns a mutable ref object whose `.current` property is initialized to the passed argument * (`initialValue`). The returned object will persist for the full lifetime of the component. @@ -513,11 +509,15 @@ inline def useRef_T_MutableRefObject[T](): typingsJapgolly.react.mod.MutableRefO * Note that `useRef()` is useful for more than the `ref` attribute. It’s handy for keeping any mutable * value around similar to how you’d use instance fields in classes. * + * Usage note: if you need the result of useRef to be directly mutable, include `| null` in the type + * of the generic argument. + * * @version 16.8.0 * @see https://reactjs.org/docs/hooks-reference.html#useref */ // TODO (TypeScript 3.0): -inline def useRef_T_MutableRefObject[T](initialValue: T): typingsJapgolly.react.mod.MutableRefObject[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("useRef")(initialValue.asInstanceOf[js.Any]).asInstanceOf[typingsJapgolly.react.mod.MutableRefObject[T]] +inline def useRef_T_RefHandle[T](): japgolly.scalajs.react.facade.React.RefHandle[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("useRef")().asInstanceOf[japgolly.scalajs.react.facade.React.RefHandle[T]] +inline def useRef_T_RefHandle[T](initialValue: T): japgolly.scalajs.react.facade.React.RefHandle[T] = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].applyDynamic("useRef")(initialValue.asInstanceOf[js.Any]).asInstanceOf[japgolly.scalajs.react.facade.React.RefHandle[T]] // convenience overload when first argument is ommitted /** @@ -542,29 +542,29 @@ inline def useState[S](initialState: js.Function0[S]): js.Tuple2[S, typingsJapgo inline def version: java.lang.String = typingsJapgolly.react.mod.^.asInstanceOf[js.Dynamic].selectDynamic("version").asInstanceOf[java.lang.String] -type AnimationEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactAnimationEventFrom[T & org.scalajs.dom.raw.Element]] +type AnimationEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactAnimationEventFrom[T & org.scalajs.dom.Element]] // tslint:disable-next-line:no-empty-interface type AudioHTMLAttributes[T] = typingsJapgolly.react.mod.MediaHTMLAttributes[T] -type CElement[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */] = typingsJapgolly.react.mod.ComponentElement[P, T] +type CElement[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */] = typingsJapgolly.react.mod.ComponentElement[P, T] -type CFactory[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */] = typingsJapgolly.react.mod.ComponentFactory[P, T] +type CFactory[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */] = typingsJapgolly.react.mod.ComponentFactory[P, T] -type ChangeEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactEventFrom[T & org.scalajs.dom.raw.Element]] +type ChangeEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactEventFrom[T & org.scalajs.dom.Element]] /** * We use an intersection type to infer multiple type parameters from * a single argument, which is useful for many top-level API defs. * See https://github.com/Microsoft/TypeScript/issues/7234 for more info. */ -type ClassType[P, T /* <: japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object] */] = C & (org.scalablytyped.runtime.Instantiable2[/* props */ P, /* context */ js.UndefOr[js.Any], T]) +type ClassType[P, T /* <: japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] */, C /* <: japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object] */] = C & (org.scalablytyped.runtime.Instantiable2[/* props */ P, /* context */ js.UndefOr[js.Any], T]) type ClassicElement[P] = typingsJapgolly.react.mod.CElement[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]] type ClassicFactory[P] = typingsJapgolly.react.mod.CFactory[P, typingsJapgolly.react.mod.ClassicComponent[P, js.Object]] -type ClipboardEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactClipboardEventFrom[T & org.scalajs.dom.raw.Element]] +type ClipboardEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactClipboardEventFrom[T & org.scalajs.dom.Element]] /** * NOTE: prefer ComponentPropsWithRef, if the ref is forwarded, @@ -572,17 +572,16 @@ type ClipboardEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly. */ type ComponentProps[T /* <: typingsJapgolly.react.reactStrings.a_ | typingsJapgolly.react.reactStrings.abbr | typingsJapgolly.react.reactStrings.address | typingsJapgolly.react.reactStrings.area | typingsJapgolly.react.reactStrings.article | typingsJapgolly.react.reactStrings.aside | typingsJapgolly.react.reactStrings.audio | typingsJapgolly.react.reactStrings.b | typingsJapgolly.react.reactStrings.base | typingsJapgolly.react.reactStrings.bdi | typingsJapgolly.react.reactStrings.bdo | typingsJapgolly.react.reactStrings.big | typingsJapgolly.react.reactStrings.view | typingsJapgolly.react.mod.JSXElementConstructor[js.Any] */] = js.Object | (/* import warning: importer.ImportType#apply Failed type conversion: react.react..JSX.IntrinsicElements[T] */ js.Any) -type ComponentPropsWithRef[T /* <: japgolly.scalajs.react.raw.React.ElementType */] = typingsJapgolly.react.mod.PropsWithRef[typingsJapgolly.react.mod.ComponentProps[T]] | (typingsJapgolly.react.mod.PropsWithoutRef[js.Any] & (typingsJapgolly.react.mod.RefAttributes[ +type ComponentPropsWithRef[T /* <: japgolly.scalajs.react.facade.React.ElementType */] = typingsJapgolly.react.mod.PropsWithRef[typingsJapgolly.react.mod.ComponentProps[T]] | (typingsJapgolly.react.mod.PropsWithoutRef[js.Any] & (typingsJapgolly.react.mod.RefAttributes[ /* import warning: transforms.QualifyReferences#resolveTypeRef many Couldn't qualify InstanceType */ js.Any])) -type ComponentPropsWithoutRef[T /* <: japgolly.scalajs.react.raw.React.ElementType */] = typingsJapgolly.react.mod.PropsWithoutRef[typingsJapgolly.react.mod.ComponentProps[T]] +type ComponentPropsWithoutRef[T /* <: japgolly.scalajs.react.facade.React.ElementType */] = typingsJapgolly.react.mod.PropsWithoutRef[typingsJapgolly.react.mod.ComponentProps[T]] type ComponentState = js.Any -type ComponentType[P] = (japgolly.scalajs.react.raw.React.ComponentClassP[P & js.Object]) | typingsJapgolly.react.mod.FunctionComponent[P] +type ComponentType[P] = (japgolly.scalajs.react.facade.React.ComponentClassP[P & js.Object]) | typingsJapgolly.react.mod.FunctionComponent[P] -type CompositionEventHandler[T] = typingsJapgolly.react.mod.EventHandler[ -japgolly.scalajs.react.ReactCompositionEventFrom[T & org.scalajs.dom.raw.Element]] +type CompositionEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactCompositionEventFrom[T & org.scalajs.dom.Element]] type Consumer[T] = typingsJapgolly.react.mod.ExoticComponent[typingsJapgolly.react.mod.ConsumerProps[T]] @@ -614,7 +613,7 @@ type DetailedHTMLProps[E /* <: typingsJapgolly.react.mod.HTMLAttributes[T] */, T // and it's not even released so probably better to not define it. type Dispatch[A] = js.Function1[/* value */ A, scala.Unit] -type DragEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactDragEventFrom[T & org.scalajs.dom.raw.Element]] +type DragEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactDragEventFrom[T & org.scalajs.dom.Element]] // NOTE: callbacks are _only_ allowed to return either void, or a destructor. // The destructor is itself only allowed to return void. @@ -628,18 +627,18 @@ type ElementType[P] = (/* import warning: importer.ImportType#apply Failed type // // Event Handler Types // ---------------------------------------------------------------------- -type EventHandler[E /* <: japgolly.scalajs.react.ReactEventFrom[js.Any & org.scalajs.dom.raw.Element] */] = js.Function1[/* event */ E, scala.Unit] +type EventHandler[E /* <: japgolly.scalajs.react.ReactEventFrom[js.Any & org.scalajs.dom.Element] */] = js.Function1[/* event */ E, scala.Unit] type ExactlyAnyPropertyKeys[T] = /* import warning: importer.ImportType#apply Failed type conversion: {[ K in keyof T ]: react.react.IsExactlyAny extends true? K : never}[keyof T] */ js.Any type FC[P] = typingsJapgolly.react.mod.FunctionComponent[P] -type FocusEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactFocusEventFrom[T & org.scalajs.dom.raw.Element]] +type FocusEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactFocusEventFrom[T & org.scalajs.dom.Element]] // tslint:disable-next-line:no-empty-interface -type FormEvent[T] = japgolly.scalajs.react.ReactEventFrom[T & org.scalajs.dom.raw.Element] +type FormEvent[T] = japgolly.scalajs.react.ReactEventFrom[T & org.scalajs.dom.Element] -type FormEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactEventFrom[T & org.scalajs.dom.raw.Element]] +type FormEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactEventFrom[T & org.scalajs.dom.Element]] type GetDerivedStateFromError[P, S] = /** * This lifecycle is invoked after an error has been thrown by a descendant component. @@ -657,15 +656,15 @@ type GetDerivedStateFromProps[P, S] = /** js.Function2[/* nextProps */ P, /* prevState */ S, typingsJapgolly.std.Partial[S] | scala.Null] // tslint:disable-next-line:no-empty-interface -type HTMLFactory[T /* <: org.scalajs.dom.raw.HTMLElement */] = typingsJapgolly.react.mod.DetailedHTMLFactory[typingsJapgolly.react.mod.AllHTMLAttributes[T], T] +type HTMLFactory[T /* <: org.scalajs.dom.HTMLElement */] = typingsJapgolly.react.mod.DetailedHTMLFactory[typingsJapgolly.react.mod.AllHTMLAttributes[T], T] -type JSXElementConstructor[P] = (js.Function1[/* props */ P, japgolly.scalajs.react.raw.React.Element | scala.Null]) | (org.scalablytyped.runtime.Instantiable1[ +type JSXElementConstructor[P] = (js.Function1[/* props */ P, japgolly.scalajs.react.facade.React.Element | scala.Null]) | (org.scalablytyped.runtime.Instantiable1[ /* props */ P, -japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object]]) +japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object]]) type Key = java.lang.String | scala.Double -type KeyboardEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactKeyboardEventFrom[T & org.scalajs.dom.raw.Element]] +type KeyboardEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactKeyboardEventFrom[T & org.scalajs.dom.Element]] type LegacyRef[T] = java.lang.String | typingsJapgolly.react.mod.Ref[T] @@ -679,37 +678,37 @@ typingsJapgolly.std.Exclude[ P, typingsJapgolly.std.Exclude[/* keyof P */ java.lang.String, /* keyof T */ java.lang.String]])) | P | T -type MouseEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactMouseEventFrom[T & org.scalajs.dom.raw.Element]] +type MouseEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactMouseEventFrom[T & org.scalajs.dom.Element]] -type NativeAnimationEvent = org.scalajs.dom.raw.AnimationEvent +type NativeAnimationEvent = org.scalajs.dom.AnimationEvent -type NativeClipboardEvent = org.scalajs.dom.raw.ClipboardEvent +type NativeClipboardEvent = org.scalajs.dom.ClipboardEvent -type NativeCompositionEvent = org.scalajs.dom.raw.CompositionEvent +type NativeCompositionEvent = org.scalajs.dom.CompositionEvent -type NativeDragEvent = org.scalajs.dom.raw.DragEvent +type NativeDragEvent = org.scalajs.dom.DragEvent -type NativeFocusEvent = org.scalajs.dom.raw.FocusEvent +type NativeFocusEvent = org.scalajs.dom.FocusEvent -type NativeKeyboardEvent = org.scalajs.dom.raw.KeyboardEvent +type NativeKeyboardEvent = org.scalajs.dom.KeyboardEvent -type NativeMouseEvent = org.scalajs.dom.raw.MouseEvent +type NativeMouseEvent = org.scalajs.dom.MouseEvent -type NativePointerEvent = org.scalajs.dom.raw.PointerEvent +type NativePointerEvent = org.scalajs.dom.PointerEvent -type NativeTouchEvent = org.scalajs.dom.raw.TouchEvent +type NativeTouchEvent = org.scalajs.dom.TouchEvent -type NativeTransitionEvent = org.scalajs.dom.raw.TransitionEvent +type NativeTransitionEvent = org.scalajs.dom.TransitionEvent -type NativeUIEvent = org.scalajs.dom.raw.UIEvent +type NativeUIEvent = org.scalajs.dom.UIEvent -type NativeWheelEvent = org.scalajs.dom.raw.WheelEvent +type NativeWheelEvent = org.scalajs.dom.WheelEvent type NotExactlyAnyPropertyKeys[T] = typingsJapgolly.std.Exclude[ /* keyof T */ java.lang.String, typingsJapgolly.react.mod.ExactlyAnyPropertyKeys[T]] -type PointerEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactPointerEventFrom[T & org.scalajs.dom.raw.Element]] +type PointerEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactPointerEventFrom[T & org.scalajs.dom.Element]] /** * {@link https://github.com/bvaughn/rfcs/blob/profiler/text/0000-profiler.md#detailed-design | API} @@ -738,22 +737,22 @@ typingsJapgolly.std.Exclude[/* keyof P */ java.lang.String, typingsJapgolly.reac // https://github.com/facebook/react-devtools/blob/e0b854e4c/backend/attachRendererFiber.js#L310-L325 type Provider[T] = typingsJapgolly.react.mod.ProviderExoticComponent[typingsJapgolly.react.mod.ProviderProps[T]] -type ReactChild = japgolly.scalajs.react.raw.React.Element | typingsJapgolly.react.mod.ReactText +type ReactChild = japgolly.scalajs.react.facade.React.Element | typingsJapgolly.react.mod.ReactText -type ReactComponentElement[T /* <: typingsJapgolly.react.reactStrings.a_ | typingsJapgolly.react.reactStrings.abbr | typingsJapgolly.react.reactStrings.address | typingsJapgolly.react.reactStrings.area | typingsJapgolly.react.reactStrings.article | typingsJapgolly.react.reactStrings.aside | typingsJapgolly.react.reactStrings.audio | typingsJapgolly.react.reactStrings.b | typingsJapgolly.react.reactStrings.base | typingsJapgolly.react.reactStrings.bdi | typingsJapgolly.react.reactStrings.bdo | typingsJapgolly.react.reactStrings.big | typingsJapgolly.react.reactStrings.view | typingsJapgolly.react.mod.JSXElementConstructor[js.Any] */, P] = japgolly.scalajs.react.raw.React.Element +type ReactComponentElement[T /* <: typingsJapgolly.react.reactStrings.a_ | typingsJapgolly.react.reactStrings.abbr | typingsJapgolly.react.reactStrings.address | typingsJapgolly.react.reactStrings.area | typingsJapgolly.react.reactStrings.article | typingsJapgolly.react.reactStrings.aside | typingsJapgolly.react.reactStrings.audio | typingsJapgolly.react.reactStrings.b | typingsJapgolly.react.reactStrings.base | typingsJapgolly.react.reactStrings.bdi | typingsJapgolly.react.reactStrings.bdo | typingsJapgolly.react.reactStrings.big | typingsJapgolly.react.reactStrings.view | typingsJapgolly.react.mod.JSXElementConstructor[js.Any] */, P] = japgolly.scalajs.react.facade.React.Element -type ReactEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactEventFrom[T & org.scalajs.dom.raw.Element]] +type ReactEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactEventFrom[T & org.scalajs.dom.Element]] type ReactFragment = js.Object | typingsJapgolly.react.mod.ReactNodeArray // ReactHTML for ReactHTMLElement // tslint:disable-next-line:no-empty-interface -type ReactHTMLElement[T /* <: org.scalajs.dom.raw.HTMLElement */] = typingsJapgolly.react.mod.DetailedReactHTMLElement[typingsJapgolly.react.mod.AllHTMLAttributes[T], T] +type ReactHTMLElement[T /* <: org.scalajs.dom.HTMLElement */] = typingsJapgolly.react.mod.DetailedReactHTMLElement[typingsJapgolly.react.mod.AllHTMLAttributes[T], T] // // Component API // ---------------------------------------------------------------------- -type ReactInstance = (japgolly.scalajs.react.raw.React.Component[js.Any & js.Object, js.Object]) | org.scalajs.dom.raw.Element +type ReactInstance = (japgolly.scalajs.react.facade.React.Component[js.Any & js.Object, js.Object]) | org.scalajs.dom.Element type ReactManagedAttributes[C, P] = P | (typingsJapgolly.react.mod.Defaultize[ (typingsJapgolly.react.mod.MergePropTypes[ @@ -776,7 +775,7 @@ type ReactText = java.lang.String | scala.Double /** * @deprecated Please use `ElementType` */ -type ReactType[P] = japgolly.scalajs.react.raw.React.ElementType +type ReactType[P] = japgolly.scalajs.react.facade.React.ElementType // Unlike redux, the actions _can_ be anything type Reducer[S, A] = js.Function2[/* prevState */ S, /* action */ A, S] @@ -787,7 +786,7 @@ type ReducerAction[R /* <: typingsJapgolly.react.mod.Reducer[js.Any, js.Any] */] // to a supertype common with the second argument to useReducer() type ReducerState[R /* <: typingsJapgolly.react.mod.Reducer[js.Any, js.Any] */] = js.Any -type Ref[T] = (js.Function1[/* instance */ T | scala.Null, scala.Unit]) | japgolly.scalajs.react.raw.React.RefHandle[T] | scala.Null +type Ref[T] = (js.Function1[/* instance */ T | scala.Null, scala.Unit]) | japgolly.scalajs.react.facade.React.RefHandle[T] | scala.Null type Requireable[T] = /* import warning: transforms.QualifyReferences#resolveTypeRef many Couldn't qualify PropTypes.Requireable */ js.Any @@ -834,13 +833,13 @@ type StatelessComponent[P] = typingsJapgolly.react.mod.FunctionComponent[P] * This might be a child element to the element on which the event listener is registered. * If you thought this should be `EventTarget & T`, see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12239 */ -type SyntheticEvent[T, E] = japgolly.scalajs.react.ReactEventFrom[org.scalajs.dom.raw.EventTarget & T & org.scalajs.dom.raw.Element] +type SyntheticEvent[T, E] = japgolly.scalajs.react.ReactEventFrom[org.scalajs.dom.EventTarget & T & org.scalajs.dom.Element] -type TouchEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactTouchEventFrom[T & org.scalajs.dom.raw.Element]] +type TouchEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactTouchEventFrom[T & org.scalajs.dom.Element]] -type TransitionEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactTransitionEventFrom[T & org.scalajs.dom.raw.Element]] +type TransitionEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactTransitionEventFrom[T & org.scalajs.dom.Element]] -type UIEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactUIEventFrom[T & org.scalajs.dom.raw.Element]] +type UIEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactUIEventFrom[T & org.scalajs.dom.Element]] type ValidationMap[T] = /* import warning: transforms.QualifyReferences#resolveTypeRef many Couldn't qualify PropTypes.ValidationMap */ js.Any @@ -853,4 +852,4 @@ type WeakValidationMap[T] = /* import warning: importer.ImportType#apply c Unsup {[ K in keyof T ]:? null extends T[K]? react.react.Validator : undefined extends T[K]? react.react.Validator : react.react.Validator} */ typingsJapgolly.react.reactStrings.WeakValidationMap & org.scalablytyped.runtime.TopLevel[js.Any] -type WheelEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactWheelEventFrom[T & org.scalajs.dom.raw.Element]] +type WheelEventHandler[T] = typingsJapgolly.react.mod.EventHandler[japgolly.scalajs.react.ReactWheelEventFrom[T & org.scalajs.dom.Element]] diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/build.sbt b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/build.sbt index 4ec51bbc8b..ac86c7dc8e 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "semantic-ui-react" -version := "0.0-unknown-12ff79" +version := "0.0-unknown-1eac34" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-4c379f", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "16.9.2-ef29ae", + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionAccordionMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionAccordionMod.scala index b2f5171a8d..7dc428eb54 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionAccordionMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionAccordionMod.scala @@ -2,16 +2,16 @@ package typingsJapgolly.semanticUiReact import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.ComponentClassP -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.ComponentClassP +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Shortcut import org.scalablytyped.runtime.StringDictionary -import org.scalajs.dom.raw.HTMLDivElement +import org.scalajs.dom.HTMLDivElement import typingsJapgolly.react.mod.Component import typingsJapgolly.semanticUiReact.accordionPanelMod.AccordionPanelProps import typingsJapgolly.semanticUiReact.accordionTitleMod.AccordionTitleProps diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionMod.scala index 3e1c54cc16..3381f5098c 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionMod.scala @@ -1,6 +1,6 @@ package typingsJapgolly.semanticUiReact -import japgolly.scalajs.react.raw.React.ComponentClassP +import japgolly.scalajs.react.facade.React.ComponentClassP import org.scalablytyped.runtime.Shortcut import org.scalablytyped.runtime.StringDictionary import typingsJapgolly.react.mod.Component diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionContentMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionContentMod.scala index 1b3d1e6fa3..8f55ef7cc2 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionContentMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionContentMod.scala @@ -1,9 +1,9 @@ package typingsJapgolly.semanticUiReact -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Shortcut diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionPanelMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionPanelMod.scala index 584d4ff58d..2198e44176 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionPanelMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionPanelMod.scala @@ -2,13 +2,13 @@ package typingsJapgolly.semanticUiReact import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import org.scalablytyped.runtime.StringDictionary -import org.scalajs.dom.raw.HTMLDivElement +import org.scalajs.dom.HTMLDivElement import typingsJapgolly.react.mod.Component import typingsJapgolly.react.mod.ReactNodeArray import typingsJapgolly.react.mod.ReactType @@ -26,7 +26,7 @@ object accordionPanelMod { open class default () extends Component[AccordionPanelProps, js.Object, js.Any] - type AccordionPanel = japgolly.scalajs.react.raw.React.Component[AccordionPanelProps & js.Object, js.Object] + type AccordionPanel = japgolly.scalajs.react.facade.React.Component[AccordionPanelProps & js.Object, js.Object] trait AccordionPanelProps extends StObject diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionTitleMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionTitleMod.scala index b74b829a2f..93317d71ef 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionTitleMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionTitleMod.scala @@ -2,16 +2,16 @@ package typingsJapgolly.semanticUiReact import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.ComponentClassP -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.ComponentClassP +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Shortcut import org.scalablytyped.runtime.StringDictionary -import org.scalajs.dom.raw.HTMLDivElement +import org.scalajs.dom.HTMLDivElement import typingsJapgolly.react.mod.Component import typingsJapgolly.react.mod.ReactNodeArray import typingsJapgolly.react.mod.ReactType diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonContentMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonContentMod.scala index be053f985b..2725a27881 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonContentMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonContentMod.scala @@ -1,9 +1,9 @@ package typingsJapgolly.semanticUiReact -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Shortcut diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonGroupMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonGroupMod.scala index 79073d6ecf..e3059e3462 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonGroupMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonGroupMod.scala @@ -1,9 +1,9 @@ package typingsJapgolly.semanticUiReact -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Shortcut diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonMod.scala index 43627f3053..46ef44c30e 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonMod.scala @@ -2,12 +2,12 @@ package typingsJapgolly.semanticUiReact import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement -import org.scalajs.dom.raw.HTMLButtonElement +import org.scalajs.dom.HTMLButtonElement import typingsJapgolly.react.mod.ButtonHTMLAttributes import typingsJapgolly.react.mod.Component import typingsJapgolly.react.mod.ReactNodeArray diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Accordion.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Accordion.scala index c0a4aba8e8..48d8148898 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Accordion.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Accordion.scala @@ -2,7 +2,7 @@ package typingsJapgolly.semanticUiReact.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import org.scalajs.dom.raw.HTMLDivElement +import org.scalajs.dom.HTMLDivElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.semanticUiReact.accordionAccordionAccordionMod.AccordionAccordionProps import typingsJapgolly.semanticUiReact.accordionAccordionMod.AccordionProps diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/AccordionPanel.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/AccordionPanel.scala index 6fc2875ffa..61052de9d0 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/AccordionPanel.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/AccordionPanel.scala @@ -2,12 +2,12 @@ package typingsJapgolly.semanticUiReact.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement -import org.scalajs.dom.raw.HTMLDivElement +import org.scalajs.dom.HTMLDivElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.mod.ReactNodeArray import typingsJapgolly.react.mod.ReactType diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Button.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Button.scala index 200d08b6bd..f5b11faca6 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Button.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Button.scala @@ -14,12 +14,12 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement -import org.scalajs.dom.raw.HTMLButtonElement +import org.scalajs.dom.HTMLButtonElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.CSSProperties @@ -373,163 +373,163 @@ object Button { inline def negative(value: Boolean): this.type = set("negative", value.asInstanceOf[js.Any]) - inline def onAbort(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAbort", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAbort(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onAbort", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onAnimationEnd(value: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAnimationEnd", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAnimationEnd(value: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onAnimationEnd", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onAnimationIteration(value: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAnimationIteration", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAnimationIteration(value: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onAnimationIteration", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onAnimationStart(value: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAnimationStart", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAnimationStart(value: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onAnimationStart", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onAuxClick(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAuxClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAuxClick(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onAuxClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onBeforeInput(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onBeforeInput", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onBeforeInput(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onBeforeInput", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onBlur(value: ReactFocusEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onBlur", js.Any.fromFunction1((t0: ReactFocusEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onBlur(value: ReactFocusEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onBlur", js.Any.fromFunction1((t0: ReactFocusEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCanPlay(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCanPlay", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCanPlay(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onCanPlay", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCanPlayThrough(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCanPlayThrough", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCanPlayThrough(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onCanPlayThrough", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onChange(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onChange(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) inline def onClick(value: (/* event */ ReactMouseEventFrom[HTMLButtonElement], /* data */ ButtonProps) => Callback): this.type = set("onClick", js.Any.fromFunction2((t0: /* event */ ReactMouseEventFrom[HTMLButtonElement], t1: /* data */ ButtonProps) => (value(t0, t1)).runNow())) - inline def onCompositionEnd(value: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCompositionEnd", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCompositionEnd(value: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onCompositionEnd", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCompositionStart(value: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCompositionStart", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCompositionStart(value: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onCompositionStart", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCompositionUpdate(value: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCompositionUpdate", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCompositionUpdate(value: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onCompositionUpdate", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onContextMenu(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onContextMenu", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onContextMenu(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onContextMenu", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCopy(value: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCopy", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCopy(value: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onCopy", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCut(value: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCut", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCut(value: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onCut", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDoubleClick(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDoubleClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDoubleClick(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDoubleClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDrag(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDrag", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDrag(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDrag", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragEnd(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragEnd", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragEnd(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragEnd", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragEnter(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragEnter(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragExit(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragExit", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragExit(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragExit", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragLeave(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragLeave(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragOver(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragOver(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragStart(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragStart", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragStart(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragStart", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDrop(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDrop", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDrop(value: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDrop", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDurationChange(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDurationChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDurationChange(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onDurationChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onEmptied(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onEmptied", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onEmptied(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onEmptied", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onEncrypted(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onEncrypted", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onEncrypted(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onEncrypted", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onEnded(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onEnded", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onEnded(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onEnded", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onError(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onError", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onError(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onError", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onFocus(value: ReactFocusEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onFocus", js.Any.fromFunction1((t0: ReactFocusEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onFocus(value: ReactFocusEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onFocus", js.Any.fromFunction1((t0: ReactFocusEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onInput(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onInput", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onInput(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onInput", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onInvalid(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onInvalid", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onInvalid(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onInvalid", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onKeyDown(value: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onKeyDown", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onKeyDown(value: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onKeyDown", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onKeyPress(value: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onKeyPress", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onKeyPress(value: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onKeyPress", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onKeyUp(value: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onKeyUp", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onKeyUp(value: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onKeyUp", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onLoad(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onLoad", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onLoad(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onLoad", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onLoadStart(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onLoadStart", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onLoadStart(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onLoadStart", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onLoadedData(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onLoadedData", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onLoadedData(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onLoadedData", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onLoadedMetadata(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onLoadedMetadata", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onLoadedMetadata(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onLoadedMetadata", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseDown(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseDown", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseDown(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseDown", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseEnter(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseEnter", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseEnter(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseEnter", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseLeave(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseLeave", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseLeave(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseLeave", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseMove(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseMove", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseMove(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseMove", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseOut(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseOut", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseOut(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseOut", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseOver(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseOver", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseOver(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseOver", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseUp(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseUp", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseUp(value: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseUp", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPaste(value: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPaste", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPaste(value: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPaste", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPause(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPause", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPause(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPause", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPlay(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPlay", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPlay(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPlay", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPlaying(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPlaying", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPlaying(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPlaying", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerCancel(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerCancel", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerCancel(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerCancel", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerDown(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerDown", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerDown(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerDown", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerEnter(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerEnter", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerEnter(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerEnter", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerLeave(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerLeave", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerLeave(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerLeave", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerMove(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerMove", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerMove(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerMove", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerOut(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerOut", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerOut(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerOut", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerOver(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerOver", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerOver(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerOver", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerUp(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerUp", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerUp(value: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerUp", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onProgress(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onProgress", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onProgress(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onProgress", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onRateChange(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onRateChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onRateChange(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onRateChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onReset(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onReset", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onReset(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onReset", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onScroll(value: ReactUIEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onScroll", js.Any.fromFunction1((t0: ReactUIEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onScroll(value: ReactUIEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onScroll", js.Any.fromFunction1((t0: ReactUIEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSeeked(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSeeked", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSeeked(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onSeeked", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSeeking(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSeeking", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSeeking(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onSeeking", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSelect(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSelect", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSelect(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onSelect", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onStalled(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onStalled", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onStalled(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onStalled", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSubmit(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSubmit", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSubmit(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onSubmit", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSuspend(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSuspend", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSuspend(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onSuspend", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTimeUpdate(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTimeUpdate", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTimeUpdate(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onTimeUpdate", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTouchCancel(value: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTouchCancel", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTouchCancel(value: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onTouchCancel", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTouchEnd(value: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTouchEnd", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTouchEnd(value: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onTouchEnd", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTouchMove(value: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTouchMove", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTouchMove(value: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onTouchMove", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTouchStart(value: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTouchStart", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTouchStart(value: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onTouchStart", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTransitionEnd(value: ReactTransitionEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTransitionEnd", js.Any.fromFunction1((t0: ReactTransitionEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTransitionEnd(value: ReactTransitionEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onTransitionEnd", js.Any.fromFunction1((t0: ReactTransitionEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onVolumeChange(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onVolumeChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onVolumeChange(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onVolumeChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onWaiting(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onWaiting", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onWaiting(value: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onWaiting", js.Any.fromFunction1((t0: ReactEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onWheel(value: ReactWheelEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onWheel", js.Any.fromFunction1((t0: ReactWheelEventFrom[HTMLButtonElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onWheel(value: ReactWheelEventFrom[HTMLButtonElement & org.scalajs.dom.Element] => Callback): this.type = set("onWheel", js.Any.fromFunction1((t0: ReactWheelEventFrom[HTMLButtonElement & org.scalajs.dom.Element]) => value(t0).runNow())) inline def placeholder(value: String): this.type = set("placeholder", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Container.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Container.scala index 4ec5b05292..e83aebe0d3 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Container.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Container.scala @@ -1,8 +1,8 @@ package typingsJapgolly.semanticUiReact.components -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element import japgolly.scalajs.react.vdom.VdomElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.semanticUiReact.containerContainerMod.ContainerProps diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Input.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Input.scala index 1c24952319..f43fbd26fa 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Input.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Input.scala @@ -14,12 +14,12 @@ import japgolly.scalajs.react.ReactTouchEventFrom import japgolly.scalajs.react.ReactTransitionEventFrom import japgolly.scalajs.react.ReactUIEventFrom import japgolly.scalajs.react.ReactWheelEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement -import org.scalajs.dom.raw.HTMLInputElement +import org.scalajs.dom.HTMLInputElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.CSSProperties @@ -348,163 +348,163 @@ object Input { inline def name(value: String): this.type = set("name", value.asInstanceOf[js.Any]) - inline def onAbort(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAbort", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAbort(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onAbort", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onAnimationEnd(value: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAnimationEnd", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAnimationEnd(value: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onAnimationEnd", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onAnimationIteration(value: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAnimationIteration", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAnimationIteration(value: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onAnimationIteration", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onAnimationStart(value: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAnimationStart", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAnimationStart(value: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onAnimationStart", js.Any.fromFunction1((t0: ReactAnimationEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onAuxClick(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onAuxClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onAuxClick(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onAuxClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onBeforeInput(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onBeforeInput", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onBeforeInput(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onBeforeInput", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onBlur(value: ReactFocusEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onBlur", js.Any.fromFunction1((t0: ReactFocusEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onBlur(value: ReactFocusEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onBlur", js.Any.fromFunction1((t0: ReactFocusEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCanPlay(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCanPlay", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCanPlay(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onCanPlay", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCanPlayThrough(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCanPlayThrough", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCanPlayThrough(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onCanPlayThrough", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) inline def onChange(value: (/* event */ ReactEventFrom[HTMLInputElement], /* data */ InputOnChangeData) => Callback): this.type = set("onChange", js.Any.fromFunction2((t0: /* event */ ReactEventFrom[HTMLInputElement], t1: /* data */ InputOnChangeData) => (value(t0, t1)).runNow())) - inline def onClick(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onClick(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCompositionEnd(value: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCompositionEnd", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCompositionEnd(value: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onCompositionEnd", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCompositionStart(value: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCompositionStart", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCompositionStart(value: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onCompositionStart", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCompositionUpdate(value: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCompositionUpdate", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCompositionUpdate(value: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onCompositionUpdate", js.Any.fromFunction1((t0: ReactCompositionEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onContextMenu(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onContextMenu", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onContextMenu(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onContextMenu", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCopy(value: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCopy", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCopy(value: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onCopy", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onCut(value: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onCut", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onCut(value: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onCut", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDoubleClick(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDoubleClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDoubleClick(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDoubleClick", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDrag(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDrag", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDrag(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDrag", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragEnd(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragEnd", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragEnd(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragEnd", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragEnter(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragEnter(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragEnter", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragExit(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragExit", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragExit(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragExit", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragLeave(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragLeave(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragLeave", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragOver(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragOver(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragOver", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDragStart(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDragStart", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDragStart(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDragStart", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDrop(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDrop", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDrop(value: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDrop", js.Any.fromFunction1((t0: ReactDragEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onDurationChange(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onDurationChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onDurationChange(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onDurationChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onEmptied(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onEmptied", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onEmptied(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onEmptied", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onEncrypted(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onEncrypted", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onEncrypted(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onEncrypted", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onEnded(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onEnded", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onEnded(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onEnded", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onError(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onError", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onError(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onError", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onFocus(value: ReactFocusEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onFocus", js.Any.fromFunction1((t0: ReactFocusEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onFocus(value: ReactFocusEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onFocus", js.Any.fromFunction1((t0: ReactFocusEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onInput(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onInput", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onInput(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onInput", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onInvalid(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onInvalid", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onInvalid(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onInvalid", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onKeyDown(value: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onKeyDown", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onKeyDown(value: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onKeyDown", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onKeyPress(value: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onKeyPress", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onKeyPress(value: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onKeyPress", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onKeyUp(value: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onKeyUp", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onKeyUp(value: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onKeyUp", js.Any.fromFunction1((t0: ReactKeyboardEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onLoad(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onLoad", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onLoad(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onLoad", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onLoadStart(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onLoadStart", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onLoadStart(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onLoadStart", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onLoadedData(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onLoadedData", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onLoadedData(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onLoadedData", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onLoadedMetadata(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onLoadedMetadata", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onLoadedMetadata(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onLoadedMetadata", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseDown(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseDown", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseDown(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseDown", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseEnter(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseEnter", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseEnter(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseEnter", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseLeave(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseLeave", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseLeave(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseLeave", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseMove(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseMove", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseMove(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseMove", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseOut(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseOut", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseOut(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseOut", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseOver(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseOver", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseOver(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseOver", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onMouseUp(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onMouseUp", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onMouseUp(value: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onMouseUp", js.Any.fromFunction1((t0: ReactMouseEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPaste(value: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPaste", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPaste(value: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPaste", js.Any.fromFunction1((t0: ReactClipboardEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPause(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPause", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPause(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPause", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPlay(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPlay", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPlay(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPlay", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPlaying(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPlaying", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPlaying(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPlaying", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerCancel(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerCancel", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerCancel(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerCancel", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerDown(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerDown", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerDown(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerDown", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerEnter(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerEnter", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerEnter(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerEnter", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerLeave(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerLeave", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerLeave(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerLeave", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerMove(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerMove", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerMove(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerMove", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerOut(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerOut", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerOut(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerOut", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerOver(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerOver", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerOver(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerOver", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onPointerUp(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onPointerUp", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onPointerUp(value: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onPointerUp", js.Any.fromFunction1((t0: ReactPointerEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onProgress(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onProgress", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onProgress(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onProgress", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onRateChange(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onRateChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onRateChange(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onRateChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onReset(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onReset", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onReset(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onReset", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onScroll(value: ReactUIEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onScroll", js.Any.fromFunction1((t0: ReactUIEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onScroll(value: ReactUIEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onScroll", js.Any.fromFunction1((t0: ReactUIEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSeeked(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSeeked", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSeeked(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onSeeked", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSeeking(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSeeking", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSeeking(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onSeeking", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSelect(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSelect", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSelect(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onSelect", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onStalled(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onStalled", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onStalled(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onStalled", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSubmit(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSubmit", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSubmit(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onSubmit", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onSuspend(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onSuspend", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onSuspend(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onSuspend", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTimeUpdate(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTimeUpdate", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTimeUpdate(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onTimeUpdate", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTouchCancel(value: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTouchCancel", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTouchCancel(value: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onTouchCancel", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTouchEnd(value: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTouchEnd", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTouchEnd(value: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onTouchEnd", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTouchMove(value: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTouchMove", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTouchMove(value: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onTouchMove", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTouchStart(value: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTouchStart", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTouchStart(value: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onTouchStart", js.Any.fromFunction1((t0: ReactTouchEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onTransitionEnd(value: ReactTransitionEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onTransitionEnd", js.Any.fromFunction1((t0: ReactTransitionEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onTransitionEnd(value: ReactTransitionEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onTransitionEnd", js.Any.fromFunction1((t0: ReactTransitionEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onVolumeChange(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onVolumeChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onVolumeChange(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onVolumeChange", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onWaiting(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onWaiting", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onWaiting(value: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onWaiting", js.Any.fromFunction1((t0: ReactEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) - inline def onWheel(value: ReactWheelEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element] => Callback): this.type = set("onWheel", js.Any.fromFunction1((t0: ReactWheelEventFrom[HTMLInputElement & org.scalajs.dom.raw.Element]) => value(t0).runNow())) + inline def onWheel(value: ReactWheelEventFrom[HTMLInputElement & org.scalajs.dom.Element] => Callback): this.type = set("onWheel", js.Any.fromFunction1((t0: ReactWheelEventFrom[HTMLInputElement & org.scalajs.dom.Element]) => value(t0).runNow())) inline def pattern(value: String): this.type = set("pattern", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionAccordionProps1188692388.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionAccordionProps1188692388.scala index 9ad113fdc2..1e6d20b8a9 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionAccordionProps1188692388.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionAccordionProps1188692388.scala @@ -2,7 +2,7 @@ package typingsJapgolly.semanticUiReact.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import org.scalajs.dom.raw.HTMLDivElement +import org.scalajs.dom.HTMLDivElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.semanticUiReact.accordionPanelMod.AccordionPanelProps import typingsJapgolly.semanticUiReact.accordionTitleMod.AccordionTitleProps diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionContentProps_1883056278.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionContentProps_1883056278.scala index 255f44c346..3e8fb7063b 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionContentProps_1883056278.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionContentProps_1883056278.scala @@ -1,8 +1,8 @@ package typingsJapgolly.semanticUiReact.components -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element import japgolly.scalajs.react.vdom.VdomElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandContent diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionTitleProps_248880662.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionTitleProps_248880662.scala index 73744dbd97..049bc57a2f 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionTitleProps_248880662.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_AccordionTitleProps_248880662.scala @@ -2,12 +2,12 @@ package typingsJapgolly.semanticUiReact.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactMouseEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement -import org.scalajs.dom.raw.HTMLDivElement +import org.scalajs.dom.HTMLDivElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.react.mod.ReactNodeArray import typingsJapgolly.react.mod.ReactType diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_ButtonContentProps1680783343.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_ButtonContentProps1680783343.scala index 2074bcda68..3588f042b6 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_ButtonContentProps1680783343.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_ButtonContentProps1680783343.scala @@ -1,8 +1,8 @@ package typingsJapgolly.semanticUiReact.components -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element import japgolly.scalajs.react.vdom.VdomElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandContent diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_ButtonGroupProps_158814638.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_ButtonGroupProps_158814638.scala index fcdeea72b1..d8f4ca7ea0 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_ButtonGroupProps_158814638.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/SharedBuilder_ButtonGroupProps_158814638.scala @@ -1,8 +1,8 @@ package typingsJapgolly.semanticUiReact.components -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element import japgolly.scalajs.react.vdom.VdomElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.semanticUiReact.buttonMod.ButtonProps diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/TestContainer.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/TestContainer.scala index bfbea91c07..fa5fc64f1d 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/TestContainer.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/TestContainer.scala @@ -2,9 +2,9 @@ package typingsJapgolly.semanticUiReact.components import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element import japgolly.scalajs.react.vdom.VdomElement import typingsJapgolly.StBuildingComponent import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandContent diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/containerContainerMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/containerContainerMod.scala index ac2484b2ab..73123b493c 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/containerContainerMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/containerContainerMod.scala @@ -1,9 +1,9 @@ package typingsJapgolly.semanticUiReact -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Shortcut diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/StrictHtmlLabelProps.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/StrictHtmlLabelProps.scala index 26cbcb87b9..fe4f3ccb74 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/StrictHtmlLabelProps.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/StrictHtmlLabelProps.scala @@ -1,9 +1,9 @@ package typingsJapgolly.semanticUiReact.genericMod -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/StrictHtmlSpanProps.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/StrictHtmlSpanProps.scala index 229507a575..be152120c8 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/StrictHtmlSpanProps.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/StrictHtmlSpanProps.scala @@ -1,9 +1,9 @@ package typingsJapgolly.semanticUiReact.genericMod -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/package.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/package.scala index 4247b4b0ee..584435f0c5 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/package.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/genericMod/package.scala @@ -7,12 +7,14 @@ import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, J type SemanticShorthandCollection[TProps] = js.Array[typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandItem[TProps]] -type SemanticShorthandContent = japgolly.scalajs.react.raw.React.Node +type SemanticShorthandContent = japgolly.scalajs.react.facade.React.Node -type SemanticShorthandItem[TProps] = japgolly.scalajs.react.raw.React.Node | TProps | typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandItemFunc[TProps] +type SemanticShorthandItem[TProps] = japgolly.scalajs.react.facade.React.Node | TProps | typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandItemFunc[TProps] type SemanticShorthandItemFunc[TProps] = js.Function3[ /* component */ typingsJapgolly.react.mod.ReactType[TProps], /* props */ TProps, -/* children */ js.UndefOr[japgolly.scalajs.react.raw.React.Node | typingsJapgolly.react.mod.ReactNodeArray], -japgolly.scalajs.react.raw.React.Element | scala.Null] +/* children */ js.UndefOr[ + japgolly.scalajs.react.facade.React.Node | typingsJapgolly.react.mod.ReactNodeArray +], +japgolly.scalajs.react.facade.React.Element | scala.Null] diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/inputInputMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/inputInputMod.scala index a420fdcaff..fd7e6dd11b 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/inputInputMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/inputInputMod.scala @@ -2,12 +2,12 @@ package typingsJapgolly.semanticUiReact import japgolly.scalajs.react.Callback import japgolly.scalajs.react.ReactEventFrom -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement -import org.scalajs.dom.raw.HTMLInputElement +import org.scalajs.dom.HTMLInputElement import typingsJapgolly.react.mod.Component import typingsJapgolly.react.mod.InputHTMLAttributes import typingsJapgolly.react.mod.ReactNodeArray diff --git a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/testContainerTestContainerMod.scala b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/testContainerTestContainerMod.scala index bc73c276c2..4cd0908d8a 100644 --- a/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/testContainerTestContainerMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/testContainerTestContainerMod.scala @@ -2,10 +2,10 @@ package typingsJapgolly.semanticUiReact import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo -import japgolly.scalajs.react.raw.Empty -import japgolly.scalajs.react.raw.JsNumber -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.Empty +import japgolly.scalajs.react.facade.JsNumber +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomElement import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Shortcut diff --git a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/build.sbt b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/build.sbt index 3f10c972db..ef2299433b 100644 --- a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "stardust-ui__react-component-event-listener" -version := "0.38.0-9dd750" +version := "0.38.0-6e3f80" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-4c379f", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "16.9.2-ef29ae", + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/components/EventListener.scala b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/components/EventListener.scala index 862b01f98c..724481b624 100644 --- a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/components/EventListener.scala +++ b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/components/EventListener.scala @@ -1,7 +1,7 @@ package typingsJapgolly.stardustUiReactComponentEventListener.components import japgolly.scalajs.react.Callback -import japgolly.scalajs.react.raw.React.RefHandle +import japgolly.scalajs.react.facade.React.RefHandle import typingsJapgolly.StBuildingComponent import typingsJapgolly.stardustUiReactComponentEventListener.typesMod.EventListenerOptions import typingsJapgolly.stardustUiReactComponentEventListener.typesMod.EventTypes diff --git a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/mod.scala b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/mod.scala index 786d95bb6a..c21106e3e0 100644 --- a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/mod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/mod.scala @@ -1,6 +1,6 @@ package typingsJapgolly.stardustUiReactComponentEventListener -import japgolly.scalajs.react.raw.React.RefHandle +import japgolly.scalajs.react.facade.React.RefHandle import typingsJapgolly.stardustUiReactComponentEventListener.anon.Capture import typingsJapgolly.stardustUiReactComponentEventListener.anon.Listener import typingsJapgolly.stardustUiReactComponentEventListener.typesMod.EventListenerOptions diff --git a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/typesMod.scala b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/typesMod.scala index 0eb5319df8..e851df956d 100644 --- a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/typesMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-event-listener/src/main/scala/typingsJapgolly/stardustUiReactComponentEventListener/typesMod.scala @@ -1,7 +1,7 @@ package typingsJapgolly.stardustUiReactComponentEventListener import japgolly.scalajs.react.Callback -import japgolly.scalajs.react.raw.React.RefHandle +import japgolly.scalajs.react.facade.React.RefHandle import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/build.sbt b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/build.sbt index 03018d4b8e..a7cafe6766 100644 --- a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "stardust-ui__react-component-ref" -version := "0.38.0-394234" +version := "0.38.0-a8daa9" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-4c379f", - "org.scalablytyped" %%% "std" % "0.0-unknown-ee5bb3", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "16.9.2-ef29ae", + "org.scalablytyped" %%% "std" % "0.0-unknown-979d38") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/mod.scala b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/mod.scala index 31decdb4ac..646700f928 100644 --- a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/mod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/mod.scala @@ -1,6 +1,6 @@ package typingsJapgolly.stardustUiReactComponentRef -import japgolly.scalajs.react.raw.React.RefHandle +import japgolly.scalajs.react.facade.React.RefHandle import typingsJapgolly.react.mod.FunctionComponent import typingsJapgolly.stardustUiReactComponentRef.anon.Children import typingsJapgolly.stardustUiReactComponentRef.anon.InnerRef diff --git a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/refForwardMod.scala b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/refForwardMod.scala index 9a457efdfe..87adc0d372 100644 --- a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/refForwardMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/refForwardMod.scala @@ -1,6 +1,6 @@ package typingsJapgolly.stardustUiReactComponentRef -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.react.mod.Component import typingsJapgolly.stardustUiReactComponentRef.anon.Children import typingsJapgolly.stardustUiReactComponentRef.anon.InnerRef diff --git a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/toRefObjectMod.scala b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/toRefObjectMod.scala index 1aa60baed1..315a40a3ea 100644 --- a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/toRefObjectMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/toRefObjectMod.scala @@ -1,6 +1,6 @@ package typingsJapgolly.stardustUiReactComponentRef -import japgolly.scalajs.react.raw.React.RefHandle +import japgolly.scalajs.react.facade.React.RefHandle import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/typesMod.scala b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/typesMod.scala index b948913ca7..b351610786 100644 --- a/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/typesMod.scala +++ b/tests/react-integration-test/check-japgolly-3/s/stardust-ui__react-component-ref/src/main/scala/typingsJapgolly/stardustUiReactComponentRef/typesMod.scala @@ -1,7 +1,7 @@ package typingsJapgolly.stardustUiReactComponentRef import japgolly.scalajs.react.Callback -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.React.Element import japgolly.scalajs.react.vdom.VdomElement import typingsJapgolly.react.mod.Ref import org.scalablytyped.runtime.StObject diff --git a/tests/react-integration-test/check-japgolly-3/s/std/build.sbt b/tests/react-integration-test/check-japgolly-3/s/std/build.sbt index fbdc7a6820..dded7d1201 100644 --- a/tests/react-integration-test/check-japgolly-3/s/std/build.sbt +++ b/tests/react-integration-test/check-japgolly-3/s/std/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "std" -version := "0.0-unknown-ee5bb3" +version := "0.0-unknown-979d38" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( - "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", + "com.olvind" %%% "scalablytyped-runtime" % "2.4.2") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/HTMLElementTagNameMap.scala b/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/HTMLElementTagNameMap.scala index 63ebe0aa9f..52bf7213ba 100644 --- a/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/HTMLElementTagNameMap.scala +++ b/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/HTMLElementTagNameMap.scala @@ -6,321 +6,321 @@ import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, J trait HTMLElementTagNameMap extends StObject { - var a: org.scalajs.dom.raw.HTMLAnchorElement + var a: org.scalajs.dom.HTMLAnchorElement - var abbr: org.scalajs.dom.raw.HTMLElement + var abbr: org.scalajs.dom.HTMLElement - var address: org.scalajs.dom.raw.HTMLElement + var address: org.scalajs.dom.HTMLElement - var area: org.scalajs.dom.raw.HTMLAreaElement + var area: org.scalajs.dom.HTMLAreaElement - var article: org.scalajs.dom.raw.HTMLElement + var article: org.scalajs.dom.HTMLElement - var aside: org.scalajs.dom.raw.HTMLElement + var aside: org.scalajs.dom.HTMLElement - var audio: org.scalajs.dom.raw.HTMLAudioElement + var audio: org.scalajs.dom.HTMLAudioElement - var b: org.scalajs.dom.raw.HTMLElement + var b: org.scalajs.dom.HTMLElement - var base: org.scalajs.dom.raw.HTMLBaseElement + var base: org.scalajs.dom.HTMLBaseElement - var bdi: org.scalajs.dom.raw.HTMLElement + var bdi: org.scalajs.dom.HTMLElement - var bdo: org.scalajs.dom.raw.HTMLElement + var bdo: org.scalajs.dom.HTMLElement - var blockquote: org.scalajs.dom.raw.HTMLQuoteElement + var blockquote: org.scalajs.dom.HTMLQuoteElement - var body: org.scalajs.dom.raw.HTMLBodyElement + var body: org.scalajs.dom.HTMLBodyElement - var br: org.scalajs.dom.raw.HTMLBRElement + var br: org.scalajs.dom.HTMLBRElement - var button: org.scalajs.dom.raw.HTMLButtonElement + var button: org.scalajs.dom.HTMLButtonElement - var canvas: org.scalajs.dom.raw.HTMLCanvasElement + var canvas: org.scalajs.dom.HTMLCanvasElement - var cite: org.scalajs.dom.raw.HTMLElement + var cite: org.scalajs.dom.HTMLElement - var code: org.scalajs.dom.raw.HTMLElement + var code: org.scalajs.dom.HTMLElement - var col: org.scalajs.dom.raw.HTMLTableColElement + var col: org.scalajs.dom.HTMLTableColElement - var colgroup: org.scalajs.dom.raw.HTMLTableColElement + var colgroup: org.scalajs.dom.HTMLTableColElement - var data: org.scalajs.dom.raw.Element + var data: org.scalajs.dom.Element - var datalist: org.scalajs.dom.raw.HTMLDataListElement + var datalist: org.scalajs.dom.HTMLDataListElement - var dd: org.scalajs.dom.raw.HTMLElement + var dd: org.scalajs.dom.HTMLElement - var del: org.scalajs.dom.raw.HTMLModElement + var del: org.scalajs.dom.HTMLModElement - var dfn: org.scalajs.dom.raw.HTMLElement + var dfn: org.scalajs.dom.HTMLElement - var dialog: org.scalajs.dom.raw.Element + var dialog: org.scalajs.dom.Element - var div: org.scalajs.dom.raw.HTMLDivElement + var div: org.scalajs.dom.HTMLDivElement - var dl: org.scalajs.dom.raw.HTMLDListElement + var dl: org.scalajs.dom.HTMLDListElement - var dt: org.scalajs.dom.raw.HTMLElement + var dt: org.scalajs.dom.HTMLElement - var em: org.scalajs.dom.raw.HTMLElement + var em: org.scalajs.dom.HTMLElement - var embed: org.scalajs.dom.raw.HTMLEmbedElement + var embed: org.scalajs.dom.HTMLEmbedElement - var fieldset: org.scalajs.dom.raw.HTMLFieldSetElement + var fieldset: org.scalajs.dom.HTMLFieldSetElement - var figcaption: org.scalajs.dom.raw.HTMLElement + var figcaption: org.scalajs.dom.HTMLElement - var figure: org.scalajs.dom.raw.HTMLElement + var figure: org.scalajs.dom.HTMLElement - var footer: org.scalajs.dom.raw.HTMLElement + var footer: org.scalajs.dom.HTMLElement - var form: org.scalajs.dom.raw.HTMLFormElement + var form: org.scalajs.dom.HTMLFormElement - var h1: org.scalajs.dom.raw.HTMLHeadingElement + var h1: org.scalajs.dom.HTMLHeadingElement - var h2: org.scalajs.dom.raw.HTMLHeadingElement + var h2: org.scalajs.dom.HTMLHeadingElement - var h3: org.scalajs.dom.raw.HTMLHeadingElement + var h3: org.scalajs.dom.HTMLHeadingElement - var h4: org.scalajs.dom.raw.HTMLHeadingElement + var h4: org.scalajs.dom.HTMLHeadingElement - var h5: org.scalajs.dom.raw.HTMLHeadingElement + var h5: org.scalajs.dom.HTMLHeadingElement - var h6: org.scalajs.dom.raw.HTMLHeadingElement + var h6: org.scalajs.dom.HTMLHeadingElement - var head: org.scalajs.dom.raw.HTMLHeadElement + var head: org.scalajs.dom.HTMLHeadElement - var header: org.scalajs.dom.raw.HTMLElement + var header: org.scalajs.dom.HTMLElement - var hgroup: org.scalajs.dom.raw.HTMLElement + var hgroup: org.scalajs.dom.HTMLElement - var hr: org.scalajs.dom.raw.HTMLHRElement + var hr: org.scalajs.dom.HTMLHRElement - var html: org.scalajs.dom.raw.HTMLHtmlElement + var html: org.scalajs.dom.HTMLHtmlElement - var i: org.scalajs.dom.raw.HTMLElement + var i: org.scalajs.dom.HTMLElement - var iframe: org.scalajs.dom.raw.HTMLIFrameElement + var iframe: org.scalajs.dom.HTMLIFrameElement - var img: org.scalajs.dom.raw.HTMLImageElement + var img: org.scalajs.dom.HTMLImageElement - var input: org.scalajs.dom.raw.HTMLInputElement + var input: org.scalajs.dom.HTMLInputElement - var ins: org.scalajs.dom.raw.HTMLModElement + var ins: org.scalajs.dom.HTMLModElement - var kbd: org.scalajs.dom.raw.HTMLElement + var kbd: org.scalajs.dom.HTMLElement - var label: org.scalajs.dom.raw.HTMLLabelElement + var label: org.scalajs.dom.HTMLLabelElement - var legend: org.scalajs.dom.raw.HTMLLegendElement + var legend: org.scalajs.dom.HTMLLegendElement - var li: org.scalajs.dom.raw.HTMLLIElement + var li: org.scalajs.dom.HTMLLIElement - var link: org.scalajs.dom.raw.HTMLLinkElement + var link: org.scalajs.dom.HTMLLinkElement - var main: org.scalajs.dom.raw.HTMLElement + var main: org.scalajs.dom.HTMLElement - var map: org.scalajs.dom.raw.HTMLMapElement + var map: org.scalajs.dom.HTMLMapElement - var mark: org.scalajs.dom.raw.HTMLElement + var mark: org.scalajs.dom.HTMLElement - var meta: org.scalajs.dom.raw.HTMLMetaElement + var meta: org.scalajs.dom.HTMLMetaElement - var nav: org.scalajs.dom.raw.HTMLElement + var nav: org.scalajs.dom.HTMLElement - var noscript: org.scalajs.dom.raw.HTMLElement + var noscript: org.scalajs.dom.HTMLElement - var `object`: org.scalajs.dom.raw.HTMLObjectElement + var `object`: org.scalajs.dom.HTMLObjectElement - var ol: org.scalajs.dom.raw.HTMLOListElement + var ol: org.scalajs.dom.HTMLOListElement - var optgroup: org.scalajs.dom.raw.HTMLOptGroupElement + var optgroup: org.scalajs.dom.HTMLOptGroupElement - var option: org.scalajs.dom.raw.HTMLOptionElement + var option: org.scalajs.dom.HTMLOptionElement - var p: org.scalajs.dom.raw.HTMLParagraphElement + var p: org.scalajs.dom.HTMLParagraphElement - var param: org.scalajs.dom.raw.HTMLParamElement + var param: org.scalajs.dom.HTMLParamElement - var pre: org.scalajs.dom.raw.HTMLPreElement + var pre: org.scalajs.dom.HTMLPreElement - var progress: org.scalajs.dom.raw.HTMLProgressElement + var progress: org.scalajs.dom.HTMLProgressElement - var q: org.scalajs.dom.raw.HTMLQuoteElement + var q: org.scalajs.dom.HTMLQuoteElement - var rp: org.scalajs.dom.raw.HTMLElement + var rp: org.scalajs.dom.HTMLElement - var rt: org.scalajs.dom.raw.HTMLElement + var rt: org.scalajs.dom.HTMLElement - var ruby: org.scalajs.dom.raw.HTMLElement + var ruby: org.scalajs.dom.HTMLElement - var s: org.scalajs.dom.raw.HTMLElement + var s: org.scalajs.dom.HTMLElement - var samp: org.scalajs.dom.raw.HTMLElement + var samp: org.scalajs.dom.HTMLElement - var script: org.scalajs.dom.raw.HTMLScriptElement + var script: org.scalajs.dom.HTMLScriptElement - var section: org.scalajs.dom.raw.HTMLElement + var section: org.scalajs.dom.HTMLElement - var select: org.scalajs.dom.raw.HTMLSelectElement + var select: org.scalajs.dom.HTMLSelectElement - var small: org.scalajs.dom.raw.HTMLElement + var small: org.scalajs.dom.HTMLElement - var source: org.scalajs.dom.raw.HTMLSourceElement + var source: org.scalajs.dom.HTMLSourceElement - var span: org.scalajs.dom.raw.HTMLSpanElement + var span: org.scalajs.dom.HTMLSpanElement - var strong: org.scalajs.dom.raw.HTMLElement + var strong: org.scalajs.dom.HTMLElement - var style: org.scalajs.dom.raw.HTMLStyleElement + var style: org.scalajs.dom.HTMLStyleElement - var sub: org.scalajs.dom.raw.HTMLElement + var sub: org.scalajs.dom.HTMLElement - var summary: org.scalajs.dom.raw.HTMLElement + var summary: org.scalajs.dom.HTMLElement - var sup: org.scalajs.dom.raw.HTMLElement + var sup: org.scalajs.dom.HTMLElement - var table: org.scalajs.dom.raw.HTMLTableElement + var table: org.scalajs.dom.HTMLTableElement - var tbody: org.scalajs.dom.raw.HTMLTableSectionElement + var tbody: org.scalajs.dom.HTMLTableSectionElement - var td: org.scalajs.dom.raw.Element + var td: org.scalajs.dom.Element - var template: org.scalajs.dom.raw.Element + var template: org.scalajs.dom.Element - var textarea: org.scalajs.dom.raw.HTMLTextAreaElement + var textarea: org.scalajs.dom.HTMLTextAreaElement - var tfoot: org.scalajs.dom.raw.HTMLTableSectionElement + var tfoot: org.scalajs.dom.HTMLTableSectionElement - var th: org.scalajs.dom.raw.Element + var th: org.scalajs.dom.Element - var thead: org.scalajs.dom.raw.HTMLTableSectionElement + var thead: org.scalajs.dom.HTMLTableSectionElement - var title: org.scalajs.dom.raw.HTMLTitleElement + var title: org.scalajs.dom.HTMLTitleElement - var tr: org.scalajs.dom.raw.HTMLTableRowElement + var tr: org.scalajs.dom.HTMLTableRowElement - var track: org.scalajs.dom.raw.HTMLTrackElement + var track: org.scalajs.dom.HTMLTrackElement - var u: org.scalajs.dom.raw.HTMLElement + var u: org.scalajs.dom.HTMLElement - var ul: org.scalajs.dom.raw.HTMLUListElement + var ul: org.scalajs.dom.HTMLUListElement - var `var`: org.scalajs.dom.raw.HTMLElement + var `var`: org.scalajs.dom.HTMLElement - var video: org.scalajs.dom.raw.HTMLVideoElement + var video: org.scalajs.dom.HTMLVideoElement - var wbr: org.scalajs.dom.raw.HTMLElement + var wbr: org.scalajs.dom.HTMLElement } object HTMLElementTagNameMap { inline def apply( - a: org.scalajs.dom.raw.HTMLAnchorElement, - abbr: org.scalajs.dom.raw.HTMLElement, - address: org.scalajs.dom.raw.HTMLElement, - area: org.scalajs.dom.raw.HTMLAreaElement, - article: org.scalajs.dom.raw.HTMLElement, - aside: org.scalajs.dom.raw.HTMLElement, - audio: org.scalajs.dom.raw.HTMLAudioElement, - b: org.scalajs.dom.raw.HTMLElement, - base: org.scalajs.dom.raw.HTMLBaseElement, - bdi: org.scalajs.dom.raw.HTMLElement, - bdo: org.scalajs.dom.raw.HTMLElement, - blockquote: org.scalajs.dom.raw.HTMLQuoteElement, - body: org.scalajs.dom.raw.HTMLBodyElement, - br: org.scalajs.dom.raw.HTMLBRElement, - button: org.scalajs.dom.raw.HTMLButtonElement, - canvas: org.scalajs.dom.raw.HTMLCanvasElement, - cite: org.scalajs.dom.raw.HTMLElement, - code: org.scalajs.dom.raw.HTMLElement, - col: org.scalajs.dom.raw.HTMLTableColElement, - colgroup: org.scalajs.dom.raw.HTMLTableColElement, - data: org.scalajs.dom.raw.Element, - datalist: org.scalajs.dom.raw.HTMLDataListElement, - dd: org.scalajs.dom.raw.HTMLElement, - del: org.scalajs.dom.raw.HTMLModElement, - dfn: org.scalajs.dom.raw.HTMLElement, - dialog: org.scalajs.dom.raw.Element, - div: org.scalajs.dom.raw.HTMLDivElement, - dl: org.scalajs.dom.raw.HTMLDListElement, - dt: org.scalajs.dom.raw.HTMLElement, - em: org.scalajs.dom.raw.HTMLElement, - embed: org.scalajs.dom.raw.HTMLEmbedElement, - fieldset: org.scalajs.dom.raw.HTMLFieldSetElement, - figcaption: org.scalajs.dom.raw.HTMLElement, - figure: org.scalajs.dom.raw.HTMLElement, - footer: org.scalajs.dom.raw.HTMLElement, - form: org.scalajs.dom.raw.HTMLFormElement, - h1: org.scalajs.dom.raw.HTMLHeadingElement, - h2: org.scalajs.dom.raw.HTMLHeadingElement, - h3: org.scalajs.dom.raw.HTMLHeadingElement, - h4: org.scalajs.dom.raw.HTMLHeadingElement, - h5: org.scalajs.dom.raw.HTMLHeadingElement, - h6: org.scalajs.dom.raw.HTMLHeadingElement, - head: org.scalajs.dom.raw.HTMLHeadElement, - header: org.scalajs.dom.raw.HTMLElement, - hgroup: org.scalajs.dom.raw.HTMLElement, - hr: org.scalajs.dom.raw.HTMLHRElement, - html: org.scalajs.dom.raw.HTMLHtmlElement, - i: org.scalajs.dom.raw.HTMLElement, - iframe: org.scalajs.dom.raw.HTMLIFrameElement, - img: org.scalajs.dom.raw.HTMLImageElement, - input: org.scalajs.dom.raw.HTMLInputElement, - ins: org.scalajs.dom.raw.HTMLModElement, - kbd: org.scalajs.dom.raw.HTMLElement, - label: org.scalajs.dom.raw.HTMLLabelElement, - legend: org.scalajs.dom.raw.HTMLLegendElement, - li: org.scalajs.dom.raw.HTMLLIElement, - link: org.scalajs.dom.raw.HTMLLinkElement, - main: org.scalajs.dom.raw.HTMLElement, - map: org.scalajs.dom.raw.HTMLMapElement, - mark: org.scalajs.dom.raw.HTMLElement, - meta: org.scalajs.dom.raw.HTMLMetaElement, - nav: org.scalajs.dom.raw.HTMLElement, - noscript: org.scalajs.dom.raw.HTMLElement, - `object`: org.scalajs.dom.raw.HTMLObjectElement, - ol: org.scalajs.dom.raw.HTMLOListElement, - optgroup: org.scalajs.dom.raw.HTMLOptGroupElement, - option: org.scalajs.dom.raw.HTMLOptionElement, - p: org.scalajs.dom.raw.HTMLParagraphElement, - param: org.scalajs.dom.raw.HTMLParamElement, - pre: org.scalajs.dom.raw.HTMLPreElement, - progress: org.scalajs.dom.raw.HTMLProgressElement, - q: org.scalajs.dom.raw.HTMLQuoteElement, - rp: org.scalajs.dom.raw.HTMLElement, - rt: org.scalajs.dom.raw.HTMLElement, - ruby: org.scalajs.dom.raw.HTMLElement, - s: org.scalajs.dom.raw.HTMLElement, - samp: org.scalajs.dom.raw.HTMLElement, - script: org.scalajs.dom.raw.HTMLScriptElement, - section: org.scalajs.dom.raw.HTMLElement, - select: org.scalajs.dom.raw.HTMLSelectElement, - small: org.scalajs.dom.raw.HTMLElement, - source: org.scalajs.dom.raw.HTMLSourceElement, - span: org.scalajs.dom.raw.HTMLSpanElement, - strong: org.scalajs.dom.raw.HTMLElement, - style: org.scalajs.dom.raw.HTMLStyleElement, - sub: org.scalajs.dom.raw.HTMLElement, - summary: org.scalajs.dom.raw.HTMLElement, - sup: org.scalajs.dom.raw.HTMLElement, - table: org.scalajs.dom.raw.HTMLTableElement, - tbody: org.scalajs.dom.raw.HTMLTableSectionElement, - td: org.scalajs.dom.raw.Element, - template: org.scalajs.dom.raw.Element, - textarea: org.scalajs.dom.raw.HTMLTextAreaElement, - tfoot: org.scalajs.dom.raw.HTMLTableSectionElement, - th: org.scalajs.dom.raw.Element, - thead: org.scalajs.dom.raw.HTMLTableSectionElement, - title: org.scalajs.dom.raw.HTMLTitleElement, - tr: org.scalajs.dom.raw.HTMLTableRowElement, - track: org.scalajs.dom.raw.HTMLTrackElement, - u: org.scalajs.dom.raw.HTMLElement, - ul: org.scalajs.dom.raw.HTMLUListElement, - `var`: org.scalajs.dom.raw.HTMLElement, - video: org.scalajs.dom.raw.HTMLVideoElement, - wbr: org.scalajs.dom.raw.HTMLElement + a: org.scalajs.dom.HTMLAnchorElement, + abbr: org.scalajs.dom.HTMLElement, + address: org.scalajs.dom.HTMLElement, + area: org.scalajs.dom.HTMLAreaElement, + article: org.scalajs.dom.HTMLElement, + aside: org.scalajs.dom.HTMLElement, + audio: org.scalajs.dom.HTMLAudioElement, + b: org.scalajs.dom.HTMLElement, + base: org.scalajs.dom.HTMLBaseElement, + bdi: org.scalajs.dom.HTMLElement, + bdo: org.scalajs.dom.HTMLElement, + blockquote: org.scalajs.dom.HTMLQuoteElement, + body: org.scalajs.dom.HTMLBodyElement, + br: org.scalajs.dom.HTMLBRElement, + button: org.scalajs.dom.HTMLButtonElement, + canvas: org.scalajs.dom.HTMLCanvasElement, + cite: org.scalajs.dom.HTMLElement, + code: org.scalajs.dom.HTMLElement, + col: org.scalajs.dom.HTMLTableColElement, + colgroup: org.scalajs.dom.HTMLTableColElement, + data: org.scalajs.dom.Element, + datalist: org.scalajs.dom.HTMLDataListElement, + dd: org.scalajs.dom.HTMLElement, + del: org.scalajs.dom.HTMLModElement, + dfn: org.scalajs.dom.HTMLElement, + dialog: org.scalajs.dom.Element, + div: org.scalajs.dom.HTMLDivElement, + dl: org.scalajs.dom.HTMLDListElement, + dt: org.scalajs.dom.HTMLElement, + em: org.scalajs.dom.HTMLElement, + embed: org.scalajs.dom.HTMLEmbedElement, + fieldset: org.scalajs.dom.HTMLFieldSetElement, + figcaption: org.scalajs.dom.HTMLElement, + figure: org.scalajs.dom.HTMLElement, + footer: org.scalajs.dom.HTMLElement, + form: org.scalajs.dom.HTMLFormElement, + h1: org.scalajs.dom.HTMLHeadingElement, + h2: org.scalajs.dom.HTMLHeadingElement, + h3: org.scalajs.dom.HTMLHeadingElement, + h4: org.scalajs.dom.HTMLHeadingElement, + h5: org.scalajs.dom.HTMLHeadingElement, + h6: org.scalajs.dom.HTMLHeadingElement, + head: org.scalajs.dom.HTMLHeadElement, + header: org.scalajs.dom.HTMLElement, + hgroup: org.scalajs.dom.HTMLElement, + hr: org.scalajs.dom.HTMLHRElement, + html: org.scalajs.dom.HTMLHtmlElement, + i: org.scalajs.dom.HTMLElement, + iframe: org.scalajs.dom.HTMLIFrameElement, + img: org.scalajs.dom.HTMLImageElement, + input: org.scalajs.dom.HTMLInputElement, + ins: org.scalajs.dom.HTMLModElement, + kbd: org.scalajs.dom.HTMLElement, + label: org.scalajs.dom.HTMLLabelElement, + legend: org.scalajs.dom.HTMLLegendElement, + li: org.scalajs.dom.HTMLLIElement, + link: org.scalajs.dom.HTMLLinkElement, + main: org.scalajs.dom.HTMLElement, + map: org.scalajs.dom.HTMLMapElement, + mark: org.scalajs.dom.HTMLElement, + meta: org.scalajs.dom.HTMLMetaElement, + nav: org.scalajs.dom.HTMLElement, + noscript: org.scalajs.dom.HTMLElement, + `object`: org.scalajs.dom.HTMLObjectElement, + ol: org.scalajs.dom.HTMLOListElement, + optgroup: org.scalajs.dom.HTMLOptGroupElement, + option: org.scalajs.dom.HTMLOptionElement, + p: org.scalajs.dom.HTMLParagraphElement, + param: org.scalajs.dom.HTMLParamElement, + pre: org.scalajs.dom.HTMLPreElement, + progress: org.scalajs.dom.HTMLProgressElement, + q: org.scalajs.dom.HTMLQuoteElement, + rp: org.scalajs.dom.HTMLElement, + rt: org.scalajs.dom.HTMLElement, + ruby: org.scalajs.dom.HTMLElement, + s: org.scalajs.dom.HTMLElement, + samp: org.scalajs.dom.HTMLElement, + script: org.scalajs.dom.HTMLScriptElement, + section: org.scalajs.dom.HTMLElement, + select: org.scalajs.dom.HTMLSelectElement, + small: org.scalajs.dom.HTMLElement, + source: org.scalajs.dom.HTMLSourceElement, + span: org.scalajs.dom.HTMLSpanElement, + strong: org.scalajs.dom.HTMLElement, + style: org.scalajs.dom.HTMLStyleElement, + sub: org.scalajs.dom.HTMLElement, + summary: org.scalajs.dom.HTMLElement, + sup: org.scalajs.dom.HTMLElement, + table: org.scalajs.dom.HTMLTableElement, + tbody: org.scalajs.dom.HTMLTableSectionElement, + td: org.scalajs.dom.Element, + template: org.scalajs.dom.Element, + textarea: org.scalajs.dom.HTMLTextAreaElement, + tfoot: org.scalajs.dom.HTMLTableSectionElement, + th: org.scalajs.dom.Element, + thead: org.scalajs.dom.HTMLTableSectionElement, + title: org.scalajs.dom.HTMLTitleElement, + tr: org.scalajs.dom.HTMLTableRowElement, + track: org.scalajs.dom.HTMLTrackElement, + u: org.scalajs.dom.HTMLElement, + ul: org.scalajs.dom.HTMLUListElement, + `var`: org.scalajs.dom.HTMLElement, + video: org.scalajs.dom.HTMLVideoElement, + wbr: org.scalajs.dom.HTMLElement ): HTMLElementTagNameMap = { val __obj = js.Dynamic.literal(a = a.asInstanceOf[js.Any], abbr = abbr.asInstanceOf[js.Any], address = address.asInstanceOf[js.Any], area = area.asInstanceOf[js.Any], article = article.asInstanceOf[js.Any], aside = aside.asInstanceOf[js.Any], audio = audio.asInstanceOf[js.Any], b = b.asInstanceOf[js.Any], base = base.asInstanceOf[js.Any], bdi = bdi.asInstanceOf[js.Any], bdo = bdo.asInstanceOf[js.Any], blockquote = blockquote.asInstanceOf[js.Any], body = body.asInstanceOf[js.Any], br = br.asInstanceOf[js.Any], button = button.asInstanceOf[js.Any], canvas = canvas.asInstanceOf[js.Any], cite = cite.asInstanceOf[js.Any], code = code.asInstanceOf[js.Any], col = col.asInstanceOf[js.Any], colgroup = colgroup.asInstanceOf[js.Any], data = data.asInstanceOf[js.Any], datalist = datalist.asInstanceOf[js.Any], dd = dd.asInstanceOf[js.Any], del = del.asInstanceOf[js.Any], dfn = dfn.asInstanceOf[js.Any], dialog = dialog.asInstanceOf[js.Any], div = div.asInstanceOf[js.Any], dl = dl.asInstanceOf[js.Any], dt = dt.asInstanceOf[js.Any], em = em.asInstanceOf[js.Any], embed = embed.asInstanceOf[js.Any], fieldset = fieldset.asInstanceOf[js.Any], figcaption = figcaption.asInstanceOf[js.Any], figure = figure.asInstanceOf[js.Any], footer = footer.asInstanceOf[js.Any], form = form.asInstanceOf[js.Any], h1 = h1.asInstanceOf[js.Any], h2 = h2.asInstanceOf[js.Any], h3 = h3.asInstanceOf[js.Any], h4 = h4.asInstanceOf[js.Any], h5 = h5.asInstanceOf[js.Any], h6 = h6.asInstanceOf[js.Any], head = head.asInstanceOf[js.Any], header = header.asInstanceOf[js.Any], hgroup = hgroup.asInstanceOf[js.Any], hr = hr.asInstanceOf[js.Any], html = html.asInstanceOf[js.Any], i = i.asInstanceOf[js.Any], iframe = iframe.asInstanceOf[js.Any], img = img.asInstanceOf[js.Any], input = input.asInstanceOf[js.Any], ins = ins.asInstanceOf[js.Any], kbd = kbd.asInstanceOf[js.Any], label = label.asInstanceOf[js.Any], legend = legend.asInstanceOf[js.Any], li = li.asInstanceOf[js.Any], link = link.asInstanceOf[js.Any], main = main.asInstanceOf[js.Any], map = map.asInstanceOf[js.Any], mark = mark.asInstanceOf[js.Any], meta = meta.asInstanceOf[js.Any], nav = nav.asInstanceOf[js.Any], noscript = noscript.asInstanceOf[js.Any], ol = ol.asInstanceOf[js.Any], optgroup = optgroup.asInstanceOf[js.Any], option = option.asInstanceOf[js.Any], p = p.asInstanceOf[js.Any], param = param.asInstanceOf[js.Any], pre = pre.asInstanceOf[js.Any], progress = progress.asInstanceOf[js.Any], q = q.asInstanceOf[js.Any], rp = rp.asInstanceOf[js.Any], rt = rt.asInstanceOf[js.Any], ruby = ruby.asInstanceOf[js.Any], s = s.asInstanceOf[js.Any], samp = samp.asInstanceOf[js.Any], script = script.asInstanceOf[js.Any], section = section.asInstanceOf[js.Any], select = select.asInstanceOf[js.Any], small = small.asInstanceOf[js.Any], source = source.asInstanceOf[js.Any], span = span.asInstanceOf[js.Any], strong = strong.asInstanceOf[js.Any], style = style.asInstanceOf[js.Any], sub = sub.asInstanceOf[js.Any], summary = summary.asInstanceOf[js.Any], sup = sup.asInstanceOf[js.Any], table = table.asInstanceOf[js.Any], tbody = tbody.asInstanceOf[js.Any], td = td.asInstanceOf[js.Any], template = template.asInstanceOf[js.Any], textarea = textarea.asInstanceOf[js.Any], tfoot = tfoot.asInstanceOf[js.Any], th = th.asInstanceOf[js.Any], thead = thead.asInstanceOf[js.Any], title = title.asInstanceOf[js.Any], tr = tr.asInstanceOf[js.Any], track = track.asInstanceOf[js.Any], u = u.asInstanceOf[js.Any], ul = ul.asInstanceOf[js.Any], video = video.asInstanceOf[js.Any], wbr = wbr.asInstanceOf[js.Any]) __obj.updateDynamic("object")(`object`.asInstanceOf[js.Any]) @@ -330,212 +330,212 @@ object HTMLElementTagNameMap { extension [Self <: HTMLElementTagNameMap](x: Self) { - inline def setA(value: org.scalajs.dom.raw.HTMLAnchorElement): Self = StObject.set(x, "a", value.asInstanceOf[js.Any]) + inline def setA(value: org.scalajs.dom.HTMLAnchorElement): Self = StObject.set(x, "a", value.asInstanceOf[js.Any]) - inline def setAbbr(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "abbr", value.asInstanceOf[js.Any]) + inline def setAbbr(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "abbr", value.asInstanceOf[js.Any]) - inline def setAddress(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "address", value.asInstanceOf[js.Any]) + inline def setAddress(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "address", value.asInstanceOf[js.Any]) - inline def setArea(value: org.scalajs.dom.raw.HTMLAreaElement): Self = StObject.set(x, "area", value.asInstanceOf[js.Any]) + inline def setArea(value: org.scalajs.dom.HTMLAreaElement): Self = StObject.set(x, "area", value.asInstanceOf[js.Any]) - inline def setArticle(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "article", value.asInstanceOf[js.Any]) + inline def setArticle(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "article", value.asInstanceOf[js.Any]) - inline def setAside(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "aside", value.asInstanceOf[js.Any]) + inline def setAside(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "aside", value.asInstanceOf[js.Any]) - inline def setAudio(value: org.scalajs.dom.raw.HTMLAudioElement): Self = StObject.set(x, "audio", value.asInstanceOf[js.Any]) + inline def setAudio(value: org.scalajs.dom.HTMLAudioElement): Self = StObject.set(x, "audio", value.asInstanceOf[js.Any]) - inline def setB(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "b", value.asInstanceOf[js.Any]) + inline def setB(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "b", value.asInstanceOf[js.Any]) - inline def setBase(value: org.scalajs.dom.raw.HTMLBaseElement): Self = StObject.set(x, "base", value.asInstanceOf[js.Any]) + inline def setBase(value: org.scalajs.dom.HTMLBaseElement): Self = StObject.set(x, "base", value.asInstanceOf[js.Any]) - inline def setBdi(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "bdi", value.asInstanceOf[js.Any]) + inline def setBdi(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "bdi", value.asInstanceOf[js.Any]) - inline def setBdo(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "bdo", value.asInstanceOf[js.Any]) + inline def setBdo(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "bdo", value.asInstanceOf[js.Any]) - inline def setBlockquote(value: org.scalajs.dom.raw.HTMLQuoteElement): Self = StObject.set(x, "blockquote", value.asInstanceOf[js.Any]) + inline def setBlockquote(value: org.scalajs.dom.HTMLQuoteElement): Self = StObject.set(x, "blockquote", value.asInstanceOf[js.Any]) - inline def setBody(value: org.scalajs.dom.raw.HTMLBodyElement): Self = StObject.set(x, "body", value.asInstanceOf[js.Any]) + inline def setBody(value: org.scalajs.dom.HTMLBodyElement): Self = StObject.set(x, "body", value.asInstanceOf[js.Any]) - inline def setBr(value: org.scalajs.dom.raw.HTMLBRElement): Self = StObject.set(x, "br", value.asInstanceOf[js.Any]) + inline def setBr(value: org.scalajs.dom.HTMLBRElement): Self = StObject.set(x, "br", value.asInstanceOf[js.Any]) - inline def setButton(value: org.scalajs.dom.raw.HTMLButtonElement): Self = StObject.set(x, "button", value.asInstanceOf[js.Any]) + inline def setButton(value: org.scalajs.dom.HTMLButtonElement): Self = StObject.set(x, "button", value.asInstanceOf[js.Any]) - inline def setCanvas(value: org.scalajs.dom.raw.HTMLCanvasElement): Self = StObject.set(x, "canvas", value.asInstanceOf[js.Any]) + inline def setCanvas(value: org.scalajs.dom.HTMLCanvasElement): Self = StObject.set(x, "canvas", value.asInstanceOf[js.Any]) - inline def setCite(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "cite", value.asInstanceOf[js.Any]) + inline def setCite(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "cite", value.asInstanceOf[js.Any]) - inline def setCode(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "code", value.asInstanceOf[js.Any]) + inline def setCode(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "code", value.asInstanceOf[js.Any]) - inline def setCol(value: org.scalajs.dom.raw.HTMLTableColElement): Self = StObject.set(x, "col", value.asInstanceOf[js.Any]) + inline def setCol(value: org.scalajs.dom.HTMLTableColElement): Self = StObject.set(x, "col", value.asInstanceOf[js.Any]) - inline def setColgroup(value: org.scalajs.dom.raw.HTMLTableColElement): Self = StObject.set(x, "colgroup", value.asInstanceOf[js.Any]) + inline def setColgroup(value: org.scalajs.dom.HTMLTableColElement): Self = StObject.set(x, "colgroup", value.asInstanceOf[js.Any]) - inline def setData(value: org.scalajs.dom.raw.Element): Self = StObject.set(x, "data", value.asInstanceOf[js.Any]) + inline def setData(value: org.scalajs.dom.Element): Self = StObject.set(x, "data", value.asInstanceOf[js.Any]) - inline def setDatalist(value: org.scalajs.dom.raw.HTMLDataListElement): Self = StObject.set(x, "datalist", value.asInstanceOf[js.Any]) + inline def setDatalist(value: org.scalajs.dom.HTMLDataListElement): Self = StObject.set(x, "datalist", value.asInstanceOf[js.Any]) - inline def setDd(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "dd", value.asInstanceOf[js.Any]) + inline def setDd(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "dd", value.asInstanceOf[js.Any]) - inline def setDel(value: org.scalajs.dom.raw.HTMLModElement): Self = StObject.set(x, "del", value.asInstanceOf[js.Any]) + inline def setDel(value: org.scalajs.dom.HTMLModElement): Self = StObject.set(x, "del", value.asInstanceOf[js.Any]) - inline def setDfn(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "dfn", value.asInstanceOf[js.Any]) + inline def setDfn(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "dfn", value.asInstanceOf[js.Any]) - inline def setDialog(value: org.scalajs.dom.raw.Element): Self = StObject.set(x, "dialog", value.asInstanceOf[js.Any]) + inline def setDialog(value: org.scalajs.dom.Element): Self = StObject.set(x, "dialog", value.asInstanceOf[js.Any]) - inline def setDiv(value: org.scalajs.dom.raw.HTMLDivElement): Self = StObject.set(x, "div", value.asInstanceOf[js.Any]) + inline def setDiv(value: org.scalajs.dom.HTMLDivElement): Self = StObject.set(x, "div", value.asInstanceOf[js.Any]) - inline def setDl(value: org.scalajs.dom.raw.HTMLDListElement): Self = StObject.set(x, "dl", value.asInstanceOf[js.Any]) + inline def setDl(value: org.scalajs.dom.HTMLDListElement): Self = StObject.set(x, "dl", value.asInstanceOf[js.Any]) - inline def setDt(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "dt", value.asInstanceOf[js.Any]) + inline def setDt(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "dt", value.asInstanceOf[js.Any]) - inline def setEm(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "em", value.asInstanceOf[js.Any]) + inline def setEm(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "em", value.asInstanceOf[js.Any]) - inline def setEmbed(value: org.scalajs.dom.raw.HTMLEmbedElement): Self = StObject.set(x, "embed", value.asInstanceOf[js.Any]) + inline def setEmbed(value: org.scalajs.dom.HTMLEmbedElement): Self = StObject.set(x, "embed", value.asInstanceOf[js.Any]) - inline def setFieldset(value: org.scalajs.dom.raw.HTMLFieldSetElement): Self = StObject.set(x, "fieldset", value.asInstanceOf[js.Any]) + inline def setFieldset(value: org.scalajs.dom.HTMLFieldSetElement): Self = StObject.set(x, "fieldset", value.asInstanceOf[js.Any]) - inline def setFigcaption(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "figcaption", value.asInstanceOf[js.Any]) + inline def setFigcaption(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "figcaption", value.asInstanceOf[js.Any]) - inline def setFigure(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "figure", value.asInstanceOf[js.Any]) + inline def setFigure(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "figure", value.asInstanceOf[js.Any]) - inline def setFooter(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "footer", value.asInstanceOf[js.Any]) + inline def setFooter(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "footer", value.asInstanceOf[js.Any]) - inline def setForm(value: org.scalajs.dom.raw.HTMLFormElement): Self = StObject.set(x, "form", value.asInstanceOf[js.Any]) + inline def setForm(value: org.scalajs.dom.HTMLFormElement): Self = StObject.set(x, "form", value.asInstanceOf[js.Any]) - inline def setH1(value: org.scalajs.dom.raw.HTMLHeadingElement): Self = StObject.set(x, "h1", value.asInstanceOf[js.Any]) + inline def setH1(value: org.scalajs.dom.HTMLHeadingElement): Self = StObject.set(x, "h1", value.asInstanceOf[js.Any]) - inline def setH2(value: org.scalajs.dom.raw.HTMLHeadingElement): Self = StObject.set(x, "h2", value.asInstanceOf[js.Any]) + inline def setH2(value: org.scalajs.dom.HTMLHeadingElement): Self = StObject.set(x, "h2", value.asInstanceOf[js.Any]) - inline def setH3(value: org.scalajs.dom.raw.HTMLHeadingElement): Self = StObject.set(x, "h3", value.asInstanceOf[js.Any]) + inline def setH3(value: org.scalajs.dom.HTMLHeadingElement): Self = StObject.set(x, "h3", value.asInstanceOf[js.Any]) - inline def setH4(value: org.scalajs.dom.raw.HTMLHeadingElement): Self = StObject.set(x, "h4", value.asInstanceOf[js.Any]) + inline def setH4(value: org.scalajs.dom.HTMLHeadingElement): Self = StObject.set(x, "h4", value.asInstanceOf[js.Any]) - inline def setH5(value: org.scalajs.dom.raw.HTMLHeadingElement): Self = StObject.set(x, "h5", value.asInstanceOf[js.Any]) + inline def setH5(value: org.scalajs.dom.HTMLHeadingElement): Self = StObject.set(x, "h5", value.asInstanceOf[js.Any]) - inline def setH6(value: org.scalajs.dom.raw.HTMLHeadingElement): Self = StObject.set(x, "h6", value.asInstanceOf[js.Any]) + inline def setH6(value: org.scalajs.dom.HTMLHeadingElement): Self = StObject.set(x, "h6", value.asInstanceOf[js.Any]) - inline def setHead(value: org.scalajs.dom.raw.HTMLHeadElement): Self = StObject.set(x, "head", value.asInstanceOf[js.Any]) + inline def setHead(value: org.scalajs.dom.HTMLHeadElement): Self = StObject.set(x, "head", value.asInstanceOf[js.Any]) - inline def setHeader(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "header", value.asInstanceOf[js.Any]) + inline def setHeader(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "header", value.asInstanceOf[js.Any]) - inline def setHgroup(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "hgroup", value.asInstanceOf[js.Any]) + inline def setHgroup(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "hgroup", value.asInstanceOf[js.Any]) - inline def setHr(value: org.scalajs.dom.raw.HTMLHRElement): Self = StObject.set(x, "hr", value.asInstanceOf[js.Any]) + inline def setHr(value: org.scalajs.dom.HTMLHRElement): Self = StObject.set(x, "hr", value.asInstanceOf[js.Any]) - inline def setHtml(value: org.scalajs.dom.raw.HTMLHtmlElement): Self = StObject.set(x, "html", value.asInstanceOf[js.Any]) + inline def setHtml(value: org.scalajs.dom.HTMLHtmlElement): Self = StObject.set(x, "html", value.asInstanceOf[js.Any]) - inline def setI(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "i", value.asInstanceOf[js.Any]) + inline def setI(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "i", value.asInstanceOf[js.Any]) - inline def setIframe(value: org.scalajs.dom.raw.HTMLIFrameElement): Self = StObject.set(x, "iframe", value.asInstanceOf[js.Any]) + inline def setIframe(value: org.scalajs.dom.HTMLIFrameElement): Self = StObject.set(x, "iframe", value.asInstanceOf[js.Any]) - inline def setImg(value: org.scalajs.dom.raw.HTMLImageElement): Self = StObject.set(x, "img", value.asInstanceOf[js.Any]) + inline def setImg(value: org.scalajs.dom.HTMLImageElement): Self = StObject.set(x, "img", value.asInstanceOf[js.Any]) - inline def setInput(value: org.scalajs.dom.raw.HTMLInputElement): Self = StObject.set(x, "input", value.asInstanceOf[js.Any]) + inline def setInput(value: org.scalajs.dom.HTMLInputElement): Self = StObject.set(x, "input", value.asInstanceOf[js.Any]) - inline def setIns(value: org.scalajs.dom.raw.HTMLModElement): Self = StObject.set(x, "ins", value.asInstanceOf[js.Any]) + inline def setIns(value: org.scalajs.dom.HTMLModElement): Self = StObject.set(x, "ins", value.asInstanceOf[js.Any]) - inline def setKbd(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "kbd", value.asInstanceOf[js.Any]) + inline def setKbd(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "kbd", value.asInstanceOf[js.Any]) - inline def setLabel(value: org.scalajs.dom.raw.HTMLLabelElement): Self = StObject.set(x, "label", value.asInstanceOf[js.Any]) + inline def setLabel(value: org.scalajs.dom.HTMLLabelElement): Self = StObject.set(x, "label", value.asInstanceOf[js.Any]) - inline def setLegend(value: org.scalajs.dom.raw.HTMLLegendElement): Self = StObject.set(x, "legend", value.asInstanceOf[js.Any]) + inline def setLegend(value: org.scalajs.dom.HTMLLegendElement): Self = StObject.set(x, "legend", value.asInstanceOf[js.Any]) - inline def setLi(value: org.scalajs.dom.raw.HTMLLIElement): Self = StObject.set(x, "li", value.asInstanceOf[js.Any]) + inline def setLi(value: org.scalajs.dom.HTMLLIElement): Self = StObject.set(x, "li", value.asInstanceOf[js.Any]) - inline def setLink(value: org.scalajs.dom.raw.HTMLLinkElement): Self = StObject.set(x, "link", value.asInstanceOf[js.Any]) + inline def setLink(value: org.scalajs.dom.HTMLLinkElement): Self = StObject.set(x, "link", value.asInstanceOf[js.Any]) - inline def setMain(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "main", value.asInstanceOf[js.Any]) + inline def setMain(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "main", value.asInstanceOf[js.Any]) - inline def setMap(value: org.scalajs.dom.raw.HTMLMapElement): Self = StObject.set(x, "map", value.asInstanceOf[js.Any]) + inline def setMap(value: org.scalajs.dom.HTMLMapElement): Self = StObject.set(x, "map", value.asInstanceOf[js.Any]) - inline def setMark(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "mark", value.asInstanceOf[js.Any]) + inline def setMark(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "mark", value.asInstanceOf[js.Any]) - inline def setMeta(value: org.scalajs.dom.raw.HTMLMetaElement): Self = StObject.set(x, "meta", value.asInstanceOf[js.Any]) + inline def setMeta(value: org.scalajs.dom.HTMLMetaElement): Self = StObject.set(x, "meta", value.asInstanceOf[js.Any]) - inline def setNav(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "nav", value.asInstanceOf[js.Any]) + inline def setNav(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "nav", value.asInstanceOf[js.Any]) - inline def setNoscript(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "noscript", value.asInstanceOf[js.Any]) + inline def setNoscript(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "noscript", value.asInstanceOf[js.Any]) - inline def setObject(value: org.scalajs.dom.raw.HTMLObjectElement): Self = StObject.set(x, "object", value.asInstanceOf[js.Any]) + inline def setObject(value: org.scalajs.dom.HTMLObjectElement): Self = StObject.set(x, "object", value.asInstanceOf[js.Any]) - inline def setOl(value: org.scalajs.dom.raw.HTMLOListElement): Self = StObject.set(x, "ol", value.asInstanceOf[js.Any]) + inline def setOl(value: org.scalajs.dom.HTMLOListElement): Self = StObject.set(x, "ol", value.asInstanceOf[js.Any]) - inline def setOptgroup(value: org.scalajs.dom.raw.HTMLOptGroupElement): Self = StObject.set(x, "optgroup", value.asInstanceOf[js.Any]) + inline def setOptgroup(value: org.scalajs.dom.HTMLOptGroupElement): Self = StObject.set(x, "optgroup", value.asInstanceOf[js.Any]) - inline def setOption(value: org.scalajs.dom.raw.HTMLOptionElement): Self = StObject.set(x, "option", value.asInstanceOf[js.Any]) + inline def setOption(value: org.scalajs.dom.HTMLOptionElement): Self = StObject.set(x, "option", value.asInstanceOf[js.Any]) - inline def setP(value: org.scalajs.dom.raw.HTMLParagraphElement): Self = StObject.set(x, "p", value.asInstanceOf[js.Any]) + inline def setP(value: org.scalajs.dom.HTMLParagraphElement): Self = StObject.set(x, "p", value.asInstanceOf[js.Any]) - inline def setParam(value: org.scalajs.dom.raw.HTMLParamElement): Self = StObject.set(x, "param", value.asInstanceOf[js.Any]) + inline def setParam(value: org.scalajs.dom.HTMLParamElement): Self = StObject.set(x, "param", value.asInstanceOf[js.Any]) - inline def setPre(value: org.scalajs.dom.raw.HTMLPreElement): Self = StObject.set(x, "pre", value.asInstanceOf[js.Any]) + inline def setPre(value: org.scalajs.dom.HTMLPreElement): Self = StObject.set(x, "pre", value.asInstanceOf[js.Any]) - inline def setProgress(value: org.scalajs.dom.raw.HTMLProgressElement): Self = StObject.set(x, "progress", value.asInstanceOf[js.Any]) + inline def setProgress(value: org.scalajs.dom.HTMLProgressElement): Self = StObject.set(x, "progress", value.asInstanceOf[js.Any]) - inline def setQ(value: org.scalajs.dom.raw.HTMLQuoteElement): Self = StObject.set(x, "q", value.asInstanceOf[js.Any]) + inline def setQ(value: org.scalajs.dom.HTMLQuoteElement): Self = StObject.set(x, "q", value.asInstanceOf[js.Any]) - inline def setRp(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "rp", value.asInstanceOf[js.Any]) + inline def setRp(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "rp", value.asInstanceOf[js.Any]) - inline def setRt(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "rt", value.asInstanceOf[js.Any]) + inline def setRt(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "rt", value.asInstanceOf[js.Any]) - inline def setRuby(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "ruby", value.asInstanceOf[js.Any]) + inline def setRuby(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "ruby", value.asInstanceOf[js.Any]) - inline def setS(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "s", value.asInstanceOf[js.Any]) + inline def setS(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "s", value.asInstanceOf[js.Any]) - inline def setSamp(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "samp", value.asInstanceOf[js.Any]) + inline def setSamp(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "samp", value.asInstanceOf[js.Any]) - inline def setScript(value: org.scalajs.dom.raw.HTMLScriptElement): Self = StObject.set(x, "script", value.asInstanceOf[js.Any]) + inline def setScript(value: org.scalajs.dom.HTMLScriptElement): Self = StObject.set(x, "script", value.asInstanceOf[js.Any]) - inline def setSection(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "section", value.asInstanceOf[js.Any]) + inline def setSection(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "section", value.asInstanceOf[js.Any]) - inline def setSelect(value: org.scalajs.dom.raw.HTMLSelectElement): Self = StObject.set(x, "select", value.asInstanceOf[js.Any]) + inline def setSelect(value: org.scalajs.dom.HTMLSelectElement): Self = StObject.set(x, "select", value.asInstanceOf[js.Any]) - inline def setSmall(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "small", value.asInstanceOf[js.Any]) + inline def setSmall(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "small", value.asInstanceOf[js.Any]) - inline def setSource(value: org.scalajs.dom.raw.HTMLSourceElement): Self = StObject.set(x, "source", value.asInstanceOf[js.Any]) + inline def setSource(value: org.scalajs.dom.HTMLSourceElement): Self = StObject.set(x, "source", value.asInstanceOf[js.Any]) - inline def setSpan(value: org.scalajs.dom.raw.HTMLSpanElement): Self = StObject.set(x, "span", value.asInstanceOf[js.Any]) + inline def setSpan(value: org.scalajs.dom.HTMLSpanElement): Self = StObject.set(x, "span", value.asInstanceOf[js.Any]) - inline def setStrong(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "strong", value.asInstanceOf[js.Any]) + inline def setStrong(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "strong", value.asInstanceOf[js.Any]) - inline def setStyle(value: org.scalajs.dom.raw.HTMLStyleElement): Self = StObject.set(x, "style", value.asInstanceOf[js.Any]) + inline def setStyle(value: org.scalajs.dom.HTMLStyleElement): Self = StObject.set(x, "style", value.asInstanceOf[js.Any]) - inline def setSub(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "sub", value.asInstanceOf[js.Any]) + inline def setSub(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "sub", value.asInstanceOf[js.Any]) - inline def setSummary(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "summary", value.asInstanceOf[js.Any]) + inline def setSummary(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "summary", value.asInstanceOf[js.Any]) - inline def setSup(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "sup", value.asInstanceOf[js.Any]) + inline def setSup(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "sup", value.asInstanceOf[js.Any]) - inline def setTable(value: org.scalajs.dom.raw.HTMLTableElement): Self = StObject.set(x, "table", value.asInstanceOf[js.Any]) + inline def setTable(value: org.scalajs.dom.HTMLTableElement): Self = StObject.set(x, "table", value.asInstanceOf[js.Any]) - inline def setTbody(value: org.scalajs.dom.raw.HTMLTableSectionElement): Self = StObject.set(x, "tbody", value.asInstanceOf[js.Any]) + inline def setTbody(value: org.scalajs.dom.HTMLTableSectionElement): Self = StObject.set(x, "tbody", value.asInstanceOf[js.Any]) - inline def setTd(value: org.scalajs.dom.raw.Element): Self = StObject.set(x, "td", value.asInstanceOf[js.Any]) + inline def setTd(value: org.scalajs.dom.Element): Self = StObject.set(x, "td", value.asInstanceOf[js.Any]) - inline def setTemplate(value: org.scalajs.dom.raw.Element): Self = StObject.set(x, "template", value.asInstanceOf[js.Any]) + inline def setTemplate(value: org.scalajs.dom.Element): Self = StObject.set(x, "template", value.asInstanceOf[js.Any]) - inline def setTextarea(value: org.scalajs.dom.raw.HTMLTextAreaElement): Self = StObject.set(x, "textarea", value.asInstanceOf[js.Any]) + inline def setTextarea(value: org.scalajs.dom.HTMLTextAreaElement): Self = StObject.set(x, "textarea", value.asInstanceOf[js.Any]) - inline def setTfoot(value: org.scalajs.dom.raw.HTMLTableSectionElement): Self = StObject.set(x, "tfoot", value.asInstanceOf[js.Any]) + inline def setTfoot(value: org.scalajs.dom.HTMLTableSectionElement): Self = StObject.set(x, "tfoot", value.asInstanceOf[js.Any]) - inline def setTh(value: org.scalajs.dom.raw.Element): Self = StObject.set(x, "th", value.asInstanceOf[js.Any]) + inline def setTh(value: org.scalajs.dom.Element): Self = StObject.set(x, "th", value.asInstanceOf[js.Any]) - inline def setThead(value: org.scalajs.dom.raw.HTMLTableSectionElement): Self = StObject.set(x, "thead", value.asInstanceOf[js.Any]) + inline def setThead(value: org.scalajs.dom.HTMLTableSectionElement): Self = StObject.set(x, "thead", value.asInstanceOf[js.Any]) - inline def setTitle(value: org.scalajs.dom.raw.HTMLTitleElement): Self = StObject.set(x, "title", value.asInstanceOf[js.Any]) + inline def setTitle(value: org.scalajs.dom.HTMLTitleElement): Self = StObject.set(x, "title", value.asInstanceOf[js.Any]) - inline def setTr(value: org.scalajs.dom.raw.HTMLTableRowElement): Self = StObject.set(x, "tr", value.asInstanceOf[js.Any]) + inline def setTr(value: org.scalajs.dom.HTMLTableRowElement): Self = StObject.set(x, "tr", value.asInstanceOf[js.Any]) - inline def setTrack(value: org.scalajs.dom.raw.HTMLTrackElement): Self = StObject.set(x, "track", value.asInstanceOf[js.Any]) + inline def setTrack(value: org.scalajs.dom.HTMLTrackElement): Self = StObject.set(x, "track", value.asInstanceOf[js.Any]) - inline def setU(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "u", value.asInstanceOf[js.Any]) + inline def setU(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "u", value.asInstanceOf[js.Any]) - inline def setUl(value: org.scalajs.dom.raw.HTMLUListElement): Self = StObject.set(x, "ul", value.asInstanceOf[js.Any]) + inline def setUl(value: org.scalajs.dom.HTMLUListElement): Self = StObject.set(x, "ul", value.asInstanceOf[js.Any]) - inline def setVar(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "var", value.asInstanceOf[js.Any]) + inline def setVar(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "var", value.asInstanceOf[js.Any]) - inline def setVideo(value: org.scalajs.dom.raw.HTMLVideoElement): Self = StObject.set(x, "video", value.asInstanceOf[js.Any]) + inline def setVideo(value: org.scalajs.dom.HTMLVideoElement): Self = StObject.set(x, "video", value.asInstanceOf[js.Any]) - inline def setWbr(value: org.scalajs.dom.raw.HTMLElement): Self = StObject.set(x, "wbr", value.asInstanceOf[js.Any]) + inline def setWbr(value: org.scalajs.dom.HTMLElement): Self = StObject.set(x, "wbr", value.asInstanceOf[js.Any]) } } diff --git a/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/SVGElementTagNameMap.scala b/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/SVGElementTagNameMap.scala index d8c01ae01d..a093a9da09 100644 --- a/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/SVGElementTagNameMap.scala +++ b/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/SVGElementTagNameMap.scala @@ -6,18 +6,18 @@ import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, J trait SVGElementTagNameMap extends StObject { - var circle: org.scalajs.dom.raw.SVGCircleElement + var circle: org.scalajs.dom.SVGCircleElement - var clipPath: org.scalajs.dom.raw.SVGClipPathElement + var clipPath: org.scalajs.dom.SVGClipPathElement - var defs: org.scalajs.dom.raw.SVGDefsElement + var defs: org.scalajs.dom.SVGDefsElement } object SVGElementTagNameMap { inline def apply( - circle: org.scalajs.dom.raw.SVGCircleElement, - clipPath: org.scalajs.dom.raw.SVGClipPathElement, - defs: org.scalajs.dom.raw.SVGDefsElement + circle: org.scalajs.dom.SVGCircleElement, + clipPath: org.scalajs.dom.SVGClipPathElement, + defs: org.scalajs.dom.SVGDefsElement ): SVGElementTagNameMap = { val __obj = js.Dynamic.literal(circle = circle.asInstanceOf[js.Any], clipPath = clipPath.asInstanceOf[js.Any], defs = defs.asInstanceOf[js.Any]) __obj.asInstanceOf[SVGElementTagNameMap] @@ -25,10 +25,10 @@ object SVGElementTagNameMap { extension [Self <: SVGElementTagNameMap](x: Self) { - inline def setCircle(value: org.scalajs.dom.raw.SVGCircleElement): Self = StObject.set(x, "circle", value.asInstanceOf[js.Any]) + inline def setCircle(value: org.scalajs.dom.SVGCircleElement): Self = StObject.set(x, "circle", value.asInstanceOf[js.Any]) - inline def setClipPath(value: org.scalajs.dom.raw.SVGClipPathElement): Self = StObject.set(x, "clipPath", value.asInstanceOf[js.Any]) + inline def setClipPath(value: org.scalajs.dom.SVGClipPathElement): Self = StObject.set(x, "clipPath", value.asInstanceOf[js.Any]) - inline def setDefs(value: org.scalajs.dom.raw.SVGDefsElement): Self = StObject.set(x, "defs", value.asInstanceOf[js.Any]) + inline def setDefs(value: org.scalajs.dom.SVGDefsElement): Self = StObject.set(x, "defs", value.asInstanceOf[js.Any]) } } diff --git a/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/package.scala b/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/package.scala index a50db0c4fc..c90f311c25 100644 --- a/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/package.scala +++ b/tests/react-integration-test/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/package.scala @@ -5,140 +5,140 @@ import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} -type AnimationEvent = org.scalajs.dom.raw.Event +type AnimationEvent = org.scalajs.dom.Event -type ClipboardEvent = org.scalajs.dom.raw.Event +type ClipboardEvent = org.scalajs.dom.Event -type CompositionEvent = org.scalajs.dom.raw.Event +type CompositionEvent = org.scalajs.dom.Event -type DragEvent = org.scalajs.dom.raw.Event +type DragEvent = org.scalajs.dom.Event /** * Exclude from T those types that are assignable to U */ type Exclude[T, U] = T -type FocusEvent = org.scalajs.dom.raw.Event +type FocusEvent = org.scalajs.dom.Event -type HTMLAnchorElement = org.scalajs.dom.raw.HTMLElement +type HTMLAnchorElement = org.scalajs.dom.HTMLElement -type HTMLAreaElement = org.scalajs.dom.raw.HTMLElement +type HTMLAreaElement = org.scalajs.dom.HTMLElement -type HTMLAudioElement = org.scalajs.dom.raw.HTMLElement +type HTMLAudioElement = org.scalajs.dom.HTMLElement -type HTMLBRElement = org.scalajs.dom.raw.HTMLElement +type HTMLBRElement = org.scalajs.dom.HTMLElement -type HTMLBaseElement = org.scalajs.dom.raw.HTMLElement +type HTMLBaseElement = org.scalajs.dom.HTMLElement -type HTMLBodyElement = org.scalajs.dom.raw.HTMLElement +type HTMLBodyElement = org.scalajs.dom.HTMLElement -type HTMLButtonElement = org.scalajs.dom.raw.HTMLElement +type HTMLButtonElement = org.scalajs.dom.HTMLElement -type HTMLCanvasElement = org.scalajs.dom.raw.HTMLElement +type HTMLCanvasElement = org.scalajs.dom.HTMLElement -type HTMLDListElement = org.scalajs.dom.raw.HTMLElement +type HTMLDListElement = org.scalajs.dom.HTMLElement -type HTMLDataElement = org.scalajs.dom.raw.HTMLElement +type HTMLDataElement = org.scalajs.dom.HTMLElement -type HTMLDataListElement = org.scalajs.dom.raw.HTMLElement +type HTMLDataListElement = org.scalajs.dom.HTMLElement -type HTMLDialogElement = org.scalajs.dom.raw.HTMLElement +type HTMLDialogElement = org.scalajs.dom.HTMLElement -type HTMLDivElement = org.scalajs.dom.raw.HTMLElement +type HTMLDivElement = org.scalajs.dom.HTMLElement -type HTMLElement = org.scalajs.dom.raw.Element +type HTMLElement = org.scalajs.dom.Element -type HTMLEmbedElement = org.scalajs.dom.raw.HTMLElement +type HTMLEmbedElement = org.scalajs.dom.HTMLElement -type HTMLFieldSetElement = org.scalajs.dom.raw.HTMLElement +type HTMLFieldSetElement = org.scalajs.dom.HTMLElement -type HTMLFormElement = org.scalajs.dom.raw.HTMLElement +type HTMLFormElement = org.scalajs.dom.HTMLElement -type HTMLHRElement = org.scalajs.dom.raw.HTMLElement +type HTMLHRElement = org.scalajs.dom.HTMLElement -type HTMLHeadElement = org.scalajs.dom.raw.HTMLElement +type HTMLHeadElement = org.scalajs.dom.HTMLElement -type HTMLHeadingElement = org.scalajs.dom.raw.HTMLElement +type HTMLHeadingElement = org.scalajs.dom.HTMLElement -type HTMLHtmlElement = org.scalajs.dom.raw.HTMLElement +type HTMLHtmlElement = org.scalajs.dom.HTMLElement -type HTMLIFrameElement = org.scalajs.dom.raw.HTMLElement +type HTMLIFrameElement = org.scalajs.dom.HTMLElement -type HTMLImageElement = org.scalajs.dom.raw.HTMLElement +type HTMLImageElement = org.scalajs.dom.HTMLElement -type HTMLInputElement = org.scalajs.dom.raw.HTMLElement +type HTMLInputElement = org.scalajs.dom.HTMLElement -type HTMLLIElement = org.scalajs.dom.raw.HTMLElement +type HTMLLIElement = org.scalajs.dom.HTMLElement -type HTMLLabelElement = org.scalajs.dom.raw.HTMLElement +type HTMLLabelElement = org.scalajs.dom.HTMLElement -type HTMLLegendElement = org.scalajs.dom.raw.HTMLElement +type HTMLLegendElement = org.scalajs.dom.HTMLElement -type HTMLLinkElement = org.scalajs.dom.raw.HTMLElement +type HTMLLinkElement = org.scalajs.dom.HTMLElement -type HTMLMapElement = org.scalajs.dom.raw.HTMLElement +type HTMLMapElement = org.scalajs.dom.HTMLElement -type HTMLMetaElement = org.scalajs.dom.raw.HTMLElement +type HTMLMetaElement = org.scalajs.dom.HTMLElement -type HTMLModElement = org.scalajs.dom.raw.HTMLElement +type HTMLModElement = org.scalajs.dom.HTMLElement -type HTMLOListElement = org.scalajs.dom.raw.HTMLElement +type HTMLOListElement = org.scalajs.dom.HTMLElement -type HTMLObjectElement = org.scalajs.dom.raw.HTMLElement +type HTMLObjectElement = org.scalajs.dom.HTMLElement -type HTMLOptGroupElement = org.scalajs.dom.raw.HTMLElement +type HTMLOptGroupElement = org.scalajs.dom.HTMLElement -type HTMLOptionElement = org.scalajs.dom.raw.HTMLElement +type HTMLOptionElement = org.scalajs.dom.HTMLElement -type HTMLParagraphElement = org.scalajs.dom.raw.HTMLElement +type HTMLParagraphElement = org.scalajs.dom.HTMLElement -type HTMLParamElement = org.scalajs.dom.raw.HTMLElement +type HTMLParamElement = org.scalajs.dom.HTMLElement -type HTMLPreElement = org.scalajs.dom.raw.HTMLElement +type HTMLPreElement = org.scalajs.dom.HTMLElement -type HTMLProgressElement = org.scalajs.dom.raw.HTMLElement +type HTMLProgressElement = org.scalajs.dom.HTMLElement -type HTMLQuoteElement = org.scalajs.dom.raw.HTMLElement +type HTMLQuoteElement = org.scalajs.dom.HTMLElement -type HTMLScriptElement = org.scalajs.dom.raw.HTMLElement +type HTMLScriptElement = org.scalajs.dom.HTMLElement -type HTMLSelectElement = org.scalajs.dom.raw.HTMLElement +type HTMLSelectElement = org.scalajs.dom.HTMLElement -type HTMLSourceElement = org.scalajs.dom.raw.HTMLElement +type HTMLSourceElement = org.scalajs.dom.HTMLElement -type HTMLSpanElement = org.scalajs.dom.raw.HTMLElement +type HTMLSpanElement = org.scalajs.dom.HTMLElement -type HTMLStyleElement = org.scalajs.dom.raw.HTMLElement +type HTMLStyleElement = org.scalajs.dom.HTMLElement -type HTMLTableColElement = org.scalajs.dom.raw.HTMLElement +type HTMLTableColElement = org.scalajs.dom.HTMLElement -type HTMLTableDataCellElement = org.scalajs.dom.raw.HTMLElement +type HTMLTableDataCellElement = org.scalajs.dom.HTMLElement -type HTMLTableElement = org.scalajs.dom.raw.HTMLElement +type HTMLTableElement = org.scalajs.dom.HTMLElement -type HTMLTableHeaderCellElement = org.scalajs.dom.raw.HTMLElement +type HTMLTableHeaderCellElement = org.scalajs.dom.HTMLElement -type HTMLTableRowElement = org.scalajs.dom.raw.HTMLElement +type HTMLTableRowElement = org.scalajs.dom.HTMLElement -type HTMLTableSectionElement = org.scalajs.dom.raw.HTMLElement +type HTMLTableSectionElement = org.scalajs.dom.HTMLElement -type HTMLTemplateElement = org.scalajs.dom.raw.HTMLElement +type HTMLTemplateElement = org.scalajs.dom.HTMLElement -type HTMLTextAreaElement = org.scalajs.dom.raw.HTMLElement +type HTMLTextAreaElement = org.scalajs.dom.HTMLElement -type HTMLTitleElement = org.scalajs.dom.raw.HTMLElement +type HTMLTitleElement = org.scalajs.dom.HTMLElement -type HTMLTrackElement = org.scalajs.dom.raw.HTMLElement +type HTMLTrackElement = org.scalajs.dom.HTMLElement -type HTMLUListElement = org.scalajs.dom.raw.HTMLElement +type HTMLUListElement = org.scalajs.dom.HTMLElement -type HTMLVideoElement = org.scalajs.dom.raw.HTMLElement +type HTMLVideoElement = org.scalajs.dom.HTMLElement -type HTMLWebViewElement = org.scalajs.dom.raw.HTMLElement +type HTMLWebViewElement = org.scalajs.dom.HTMLElement -type KeyboardEvent = org.scalajs.dom.raw.Event +type KeyboardEvent = org.scalajs.dom.Event -type MouseEvent = org.scalajs.dom.raw.Event +type MouseEvent = org.scalajs.dom.Event type Omit[T, K /* <: /* keyof any */ java.lang.String */] = typingsJapgolly.std.Pick[T, typingsJapgolly.std.Exclude[/* keyof T */ java.lang.String, K]] @@ -156,7 +156,7 @@ type Pick[T, K /* <: /* keyof T */ java.lang.String */] = /* import warning: imp {[ P in K ]: T[P]} */ typingsJapgolly.std.stdStrings.Pick & org.scalablytyped.runtime.TopLevel[T] -type PointerEvent = org.scalajs.dom.raw.Event +type PointerEvent = org.scalajs.dom.Event /** * Make all properties in T readonly @@ -170,120 +170,120 @@ type Readonly[T] = /* import warning: importer.ImportType#apply c Unsupported ty */ type Record[K /* <: /* keyof any */ java.lang.String */, T] = org.scalablytyped.runtime.StringDictionary[T] -type SVGCircleElement = org.scalajs.dom.raw.SVGElement +type SVGCircleElement = org.scalajs.dom.SVGElement -type SVGClipPathElement = org.scalajs.dom.raw.SVGElement +type SVGClipPathElement = org.scalajs.dom.SVGElement -type SVGDefsElement = org.scalajs.dom.raw.SVGElement +type SVGDefsElement = org.scalajs.dom.SVGElement -type SVGDescElement = org.scalajs.dom.raw.SVGElement +type SVGDescElement = org.scalajs.dom.SVGElement -type SVGElement = org.scalajs.dom.raw.Element +type SVGElement = org.scalajs.dom.Element -type SVGEllipseElement = org.scalajs.dom.raw.SVGElement +type SVGEllipseElement = org.scalajs.dom.SVGElement -type SVGFEBlendElement = org.scalajs.dom.raw.SVGElement +type SVGFEBlendElement = org.scalajs.dom.SVGElement -type SVGFEColorMatrixElement = org.scalajs.dom.raw.SVGElement +type SVGFEColorMatrixElement = org.scalajs.dom.SVGElement -type SVGFEComponentTransferElement = org.scalajs.dom.raw.SVGElement +type SVGFEComponentTransferElement = org.scalajs.dom.SVGElement -type SVGFECompositeElement = org.scalajs.dom.raw.SVGElement +type SVGFECompositeElement = org.scalajs.dom.SVGElement -type SVGFEConvolveMatrixElement = org.scalajs.dom.raw.SVGElement +type SVGFEConvolveMatrixElement = org.scalajs.dom.SVGElement -type SVGFEDiffuseLightingElement = org.scalajs.dom.raw.SVGElement +type SVGFEDiffuseLightingElement = org.scalajs.dom.SVGElement -type SVGFEDisplacementMapElement = org.scalajs.dom.raw.SVGElement +type SVGFEDisplacementMapElement = org.scalajs.dom.SVGElement -type SVGFEDistantLightElement = org.scalajs.dom.raw.SVGElement +type SVGFEDistantLightElement = org.scalajs.dom.SVGElement -type SVGFEDropShadowElement = org.scalajs.dom.raw.SVGElement +type SVGFEDropShadowElement = org.scalajs.dom.SVGElement -type SVGFEFloodElement = org.scalajs.dom.raw.SVGElement +type SVGFEFloodElement = org.scalajs.dom.SVGElement -type SVGFEFuncAElement = org.scalajs.dom.raw.SVGElement +type SVGFEFuncAElement = org.scalajs.dom.SVGElement -type SVGFEFuncBElement = org.scalajs.dom.raw.SVGElement +type SVGFEFuncBElement = org.scalajs.dom.SVGElement -type SVGFEFuncGElement = org.scalajs.dom.raw.SVGElement +type SVGFEFuncGElement = org.scalajs.dom.SVGElement -type SVGFEFuncRElement = org.scalajs.dom.raw.SVGElement +type SVGFEFuncRElement = org.scalajs.dom.SVGElement -type SVGFEGaussianBlurElement = org.scalajs.dom.raw.SVGElement +type SVGFEGaussianBlurElement = org.scalajs.dom.SVGElement -type SVGFEImageElement = org.scalajs.dom.raw.SVGElement +type SVGFEImageElement = org.scalajs.dom.SVGElement -type SVGFEMergeElement = org.scalajs.dom.raw.SVGElement +type SVGFEMergeElement = org.scalajs.dom.SVGElement -type SVGFEMergeNodeElement = org.scalajs.dom.raw.SVGElement +type SVGFEMergeNodeElement = org.scalajs.dom.SVGElement -type SVGFEMorphologyElement = org.scalajs.dom.raw.SVGElement +type SVGFEMorphologyElement = org.scalajs.dom.SVGElement -type SVGFEOffsetElement = org.scalajs.dom.raw.SVGElement +type SVGFEOffsetElement = org.scalajs.dom.SVGElement -type SVGFEPointLightElement = org.scalajs.dom.raw.SVGElement +type SVGFEPointLightElement = org.scalajs.dom.SVGElement -type SVGFESpecularLightingElement = org.scalajs.dom.raw.SVGElement +type SVGFESpecularLightingElement = org.scalajs.dom.SVGElement -type SVGFESpotLightElement = org.scalajs.dom.raw.SVGElement +type SVGFESpotLightElement = org.scalajs.dom.SVGElement -type SVGFETileElement = org.scalajs.dom.raw.SVGElement +type SVGFETileElement = org.scalajs.dom.SVGElement -type SVGFETurbulenceElement = org.scalajs.dom.raw.SVGElement +type SVGFETurbulenceElement = org.scalajs.dom.SVGElement -type SVGFilterElement = org.scalajs.dom.raw.SVGElement +type SVGFilterElement = org.scalajs.dom.SVGElement -type SVGForeignObjectElement = org.scalajs.dom.raw.SVGElement +type SVGForeignObjectElement = org.scalajs.dom.SVGElement -type SVGGElement = org.scalajs.dom.raw.SVGElement +type SVGGElement = org.scalajs.dom.SVGElement -type SVGImageElement = org.scalajs.dom.raw.SVGElement +type SVGImageElement = org.scalajs.dom.SVGElement -type SVGLineElement = org.scalajs.dom.raw.SVGElement +type SVGLineElement = org.scalajs.dom.SVGElement -type SVGLinearGradientElement = org.scalajs.dom.raw.SVGElement +type SVGLinearGradientElement = org.scalajs.dom.SVGElement -type SVGMarkerElement = org.scalajs.dom.raw.SVGElement +type SVGMarkerElement = org.scalajs.dom.SVGElement -type SVGMaskElement = org.scalajs.dom.raw.SVGElement +type SVGMaskElement = org.scalajs.dom.SVGElement -type SVGMetadataElement = org.scalajs.dom.raw.SVGElement +type SVGMetadataElement = org.scalajs.dom.SVGElement -type SVGPathElement = org.scalajs.dom.raw.SVGElement +type SVGPathElement = org.scalajs.dom.SVGElement -type SVGPatternElement = org.scalajs.dom.raw.SVGElement +type SVGPatternElement = org.scalajs.dom.SVGElement -type SVGPolygonElement = org.scalajs.dom.raw.SVGElement +type SVGPolygonElement = org.scalajs.dom.SVGElement -type SVGPolylineElement = org.scalajs.dom.raw.SVGElement +type SVGPolylineElement = org.scalajs.dom.SVGElement -type SVGRadialGradientElement = org.scalajs.dom.raw.SVGElement +type SVGRadialGradientElement = org.scalajs.dom.SVGElement -type SVGRectElement = org.scalajs.dom.raw.SVGElement +type SVGRectElement = org.scalajs.dom.SVGElement -type SVGSVGElement = org.scalajs.dom.raw.SVGElement +type SVGSVGElement = org.scalajs.dom.SVGElement -type SVGStopElement = org.scalajs.dom.raw.SVGElement +type SVGStopElement = org.scalajs.dom.SVGElement -type SVGSwitchElement = org.scalajs.dom.raw.SVGElement +type SVGSwitchElement = org.scalajs.dom.SVGElement -type SVGSymbolElement = org.scalajs.dom.raw.SVGElement +type SVGSymbolElement = org.scalajs.dom.SVGElement -type SVGTSpanElement = org.scalajs.dom.raw.SVGElement +type SVGTSpanElement = org.scalajs.dom.SVGElement -type SVGTextElement = org.scalajs.dom.raw.SVGElement +type SVGTextElement = org.scalajs.dom.SVGElement -type SVGTextPathElement = org.scalajs.dom.raw.SVGElement +type SVGTextPathElement = org.scalajs.dom.SVGElement -type SVGUseElement = org.scalajs.dom.raw.SVGElement +type SVGUseElement = org.scalajs.dom.SVGElement -type SVGViewElement = org.scalajs.dom.raw.SVGElement +type SVGViewElement = org.scalajs.dom.SVGElement -type TouchEvent = org.scalajs.dom.raw.Event +type TouchEvent = org.scalajs.dom.Event -type TransitionEvent = org.scalajs.dom.raw.Event +type TransitionEvent = org.scalajs.dom.Event -type UIEvent = org.scalajs.dom.raw.Event +type UIEvent = org.scalajs.dom.Event -type WheelEvent = org.scalajs.dom.raw.Event +type WheelEvent = org.scalajs.dom.Event diff --git a/tests/react-integration-test/check-slinky-3/c/componentstest/build.sbt b/tests/react-integration-test/check-slinky-3/c/componentstest/build.sbt index 2fcde8f902..29cd9ccb12 100644 --- a/tests/react-integration-test/check-slinky-3/c/componentstest/build.sbt +++ b/tests/react-integration-test/check-slinky-3/c/componentstest/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "componentstest" -version := "0.0-unknown-8afc51" +version := "0.0-unknown-afd726" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-9b76f4", + "org.scalablytyped" %%% "react" % "16.9.2-3178c2", "org.scalablytyped" %%% "std" % "0.0-unknown-7f8a22", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-integration-test/check-slinky-3/r/react-bootstrap/build.sbt b/tests/react-integration-test/check-slinky-3/r/react-bootstrap/build.sbt index d7981cad06..5c1bf71cfc 100644 --- a/tests/react-integration-test/check-slinky-3/r/react-bootstrap/build.sbt +++ b/tests/react-integration-test/check-slinky-3/r/react-bootstrap/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "react-bootstrap" -version := "0.32-971e1b" +version := "0.32-5016cd" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-9b76f4", + "org.scalablytyped" %%% "react" % "16.9.2-3178c2", "org.scalablytyped" %%% "std" % "0.0-unknown-7f8a22", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-integration-test/check-slinky-3/r/react-contextmenu/build.sbt b/tests/react-integration-test/check-slinky-3/r/react-contextmenu/build.sbt index 2d918596ca..5613233c26 100644 --- a/tests/react-integration-test/check-slinky-3/r/react-contextmenu/build.sbt +++ b/tests/react-integration-test/check-slinky-3/r/react-contextmenu/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "react-contextmenu" -version := "2.13.0-6c1f75" +version := "2.13.0-cddcf4" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-9b76f4", + "org.scalablytyped" %%% "react" % "16.9.2-3178c2", "org.scalablytyped" %%% "std" % "0.0-unknown-7f8a22", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-integration-test/check-slinky-3/r/react-dropzone/build.sbt b/tests/react-integration-test/check-slinky-3/r/react-dropzone/build.sbt index c3894eadcf..62d9c545c0 100644 --- a/tests/react-integration-test/check-slinky-3/r/react-dropzone/build.sbt +++ b/tests/react-integration-test/check-slinky-3/r/react-dropzone/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "react-dropzone" -version := "10.1.10-cdd8df" +version := "10.1.10-43ed44" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-9b76f4", + "org.scalablytyped" %%% "react" % "16.9.2-3178c2", "org.scalablytyped" %%% "std" % "0.0-unknown-7f8a22", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-integration-test/check-slinky-3/r/react-markdown/build.sbt b/tests/react-integration-test/check-slinky-3/r/react-markdown/build.sbt index 662ca424f6..8033986a63 100644 --- a/tests/react-integration-test/check-slinky-3/r/react-markdown/build.sbt +++ b/tests/react-integration-test/check-slinky-3/r/react-markdown/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "react-markdown" -version := "0.0-unknown-8615e1" +version := "0.0-unknown-e84bcc" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-9b76f4", + "org.scalablytyped" %%% "react" % "16.9.2-3178c2", "org.scalablytyped" %%% "std" % "0.0-unknown-7f8a22", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-integration-test/check-slinky-3/r/react-select/build.sbt b/tests/react-integration-test/check-slinky-3/r/react-select/build.sbt index 7d12138dec..7ace819238 100644 --- a/tests/react-integration-test/check-slinky-3/r/react-select/build.sbt +++ b/tests/react-integration-test/check-slinky-3/r/react-select/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "react-select" -version := "0.0-unknown-8432a7" +version := "0.0-unknown-c9e66b" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-9b76f4", + "org.scalablytyped" %%% "react" % "16.9.2-3178c2", "org.scalablytyped" %%% "std" % "0.0-unknown-7f8a22", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-integration-test/check-slinky-3/r/react/build.sbt b/tests/react-integration-test/check-slinky-3/r/react/build.sbt index d0351798a6..9e369279a2 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/build.sbt +++ b/tests/react-integration-test/check-slinky-3/r/react/build.sbt @@ -1,6 +1,6 @@ organization := "org.scalablytyped" name := "react" -version := "16.9.2-9b76f4" +version := "16.9.2-3178c2" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/a.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/a.scala index 7c2863d2d1..7c09f807ed 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/a.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/a.scala @@ -67,7 +67,7 @@ object a { @scala.inline open class Builder (val args: js.Array[js.Any]) extends AnyVal - with StBuildingComponent[tag.type, HTMLAnchorElement & js.Object] { + with StBuildingComponent[tag.type, HTMLAnchorElement] { inline def about(value: String): this.type = set("about", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/abbr.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/abbr.scala index 27cc2014e1..c958a83241 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/abbr.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/abbr.scala @@ -11,7 +11,7 @@ object abbr { val component: String = "abbr" - implicit def make(companion: abbr.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: abbr.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/address.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/address.scala index 2a56e18eff..8218628c1a 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/address.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/address.scala @@ -11,7 +11,7 @@ object address { val component: String = "address" - implicit def make(companion: address.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: address.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/area.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/area.scala index 2fd5fd96f7..4129438b1a 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/area.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/area.scala @@ -67,7 +67,7 @@ object area { @scala.inline open class Builder (val args: js.Array[js.Any]) extends AnyVal - with StBuildingComponent[tag.type, HTMLAreaElement & js.Object] { + with StBuildingComponent[tag.type, HTMLAreaElement] { inline def about(value: String): this.type = set("about", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/article.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/article.scala index 048b0093a3..f201684489 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/article.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/article.scala @@ -11,7 +11,7 @@ object article { val component: String = "article" - implicit def make(companion: article.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: article.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/aside.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/aside.scala index c00fa18437..4df9c423c9 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/aside.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/aside.scala @@ -11,7 +11,7 @@ object aside { val component: String = "aside" - implicit def make(companion: aside.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: aside.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/audio.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/audio.scala index 6afa6df604..a8d522651b 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/audio.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/audio.scala @@ -67,7 +67,7 @@ object audio { @scala.inline open class Builder (val args: js.Array[js.Any]) extends AnyVal - with StBuildingComponent[tag.type, HTMLAudioElement & js.Object] { + with StBuildingComponent[tag.type, HTMLAudioElement] { inline def about(value: String): this.type = set("about", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/b.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/b.scala index c2c47c91ed..711c751b23 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/b.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/b.scala @@ -11,7 +11,7 @@ object b { val component: String = "b" - implicit def make(companion: b.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: b.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/base.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/base.scala index a169c53dc9..f88743562f 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/base.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/base.scala @@ -67,7 +67,7 @@ object base { @scala.inline open class Builder (val args: js.Array[js.Any]) extends AnyVal - with StBuildingComponent[tag.type, HTMLBaseElement & js.Object] { + with StBuildingComponent[tag.type, HTMLBaseElement] { inline def about(value: String): this.type = set("about", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/bdi.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/bdi.scala index 9e54145878..fcc61e10b1 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/bdi.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/bdi.scala @@ -11,7 +11,7 @@ object bdi { val component: String = "bdi" - implicit def make(companion: bdi.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: bdi.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/bdo.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/bdo.scala index 1425ef168a..35571492a1 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/bdo.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/bdo.scala @@ -11,7 +11,7 @@ object bdo { val component: String = "bdo" - implicit def make(companion: bdo.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: bdo.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/big.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/big.scala index 3ab0e69ed5..576acc995a 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/big.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/big.scala @@ -11,7 +11,7 @@ object big { val component: String = "big" - implicit def make(companion: big.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: big.type): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement & js.Object](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: DetailedHTMLProps[HTMLAttributes[HTMLElement], HTMLElement]): SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement] = new SharedBuilder_DetailedHTMLProps_1670340210[HTMLElement](js.Array(this.component, p.asInstanceOf[js.Any])) } diff --git a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/view.scala b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/view.scala index ff45bb33dc..1526903ea5 100644 --- a/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/view.scala +++ b/tests/react-integration-test/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/view.scala @@ -95,7 +95,7 @@ object view { @scala.inline open class Builder (val args: js.Array[js.Any]) extends AnyVal - with StBuildingComponent[tag.type, SVGViewElement & js.Object] { + with StBuildingComponent[tag.type, SVGViewElement] { inline def accentHeight(value: Double | String): this.type = set("accentHeight", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky-3/s/semantic-ui-react/build.sbt b/tests/react-integration-test/check-slinky-3/s/semantic-ui-react/build.sbt index f57e10d19a..19d6fe305d 100644 --- a/tests/react-integration-test/check-slinky-3/s/semantic-ui-react/build.sbt +++ b/tests/react-integration-test/check-slinky-3/s/semantic-ui-react/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "semantic-ui-react" -version := "0.0-unknown-9c7f10" +version := "0.0-unknown-050810" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-9b76f4", + "org.scalablytyped" %%% "react" % "16.9.2-3178c2", "org.scalablytyped" %%% "std" % "0.0-unknown-7f8a22", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-integration-test/check-slinky-3/s/stardust-ui__react-component-event-listener/build.sbt b/tests/react-integration-test/check-slinky-3/s/stardust-ui__react-component-event-listener/build.sbt index 18094e3e51..f36ff27c84 100644 --- a/tests/react-integration-test/check-slinky-3/s/stardust-ui__react-component-event-listener/build.sbt +++ b/tests/react-integration-test/check-slinky-3/s/stardust-ui__react-component-event-listener/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "stardust-ui__react-component-event-listener" -version := "0.38.0-28d87a" +version := "0.38.0-dd02e3" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-9b76f4", + "org.scalablytyped" %%% "react" % "16.9.2-3178c2", "org.scalablytyped" %%% "std" % "0.0-unknown-7f8a22", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-integration-test/check-slinky-3/s/stardust-ui__react-component-ref/build.sbt b/tests/react-integration-test/check-slinky-3/s/stardust-ui__react-component-ref/build.sbt index 58c508c9d2..c2071e7b61 100644 --- a/tests/react-integration-test/check-slinky-3/s/stardust-ui__react-component-ref/build.sbt +++ b/tests/react-integration-test/check-slinky-3/s/stardust-ui__react-component-ref/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "stardust-ui__react-component-ref" -version := "0.38.0-eb7aeb" +version := "0.38.0-f31a71" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "16.9.2-9b76f4", + "org.scalablytyped" %%% "react" % "16.9.2-3178c2", "org.scalablytyped" %%% "std" % "0.0-unknown-7f8a22", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-transition-group/check-japgolly-3/r/react-transition-group/build.sbt b/tests/react-transition-group/check-japgolly-3/r/react-transition-group/build.sbt index 5e88029def..cc5b931c58 100644 --- a/tests/react-transition-group/check-japgolly-3/r/react-transition-group/build.sbt +++ b/tests/react-transition-group/check-japgolly-3/r/react-transition-group/build.sbt @@ -1,13 +1,13 @@ organization := "org.scalablytyped" name := "react-transition-group" -version := "2.0-286b57" +version := "2.0-56b0f3" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "0.0-unknown-cff0c1", - "org.scalablytyped" %%% "std" % "0.0-unknown-159600", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "react" % "0.0-unknown-e24bfa", + "org.scalablytyped" %%% "std" % "0.0-unknown-8efe51") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-transition-group/check-japgolly-3/r/react-transition-group/src/main/scala/typingsJapgolly/reactTransitionGroup/anon.scala b/tests/react-transition-group/check-japgolly-3/r/react-transition-group/src/main/scala/typingsJapgolly/reactTransitionGroup/anon.scala index 02089843e7..d337a733b1 100644 --- a/tests/react-transition-group/check-japgolly-3/r/react-transition-group/src/main/scala/typingsJapgolly/reactTransitionGroup/anon.scala +++ b/tests/react-transition-group/check-japgolly-3/r/react-transition-group/src/main/scala/typingsJapgolly/reactTransitionGroup/anon.scala @@ -1,6 +1,6 @@ package typingsJapgolly.reactTransitionGroup -import japgolly.scalajs.react.raw.React.Element +import japgolly.scalajs.react.facade.React.Element import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} diff --git a/tests/react-transition-group/check-japgolly-3/r/react-transition-group/src/main/scala/typingsJapgolly/reactTransitionGroup/transitionGroupMod.scala b/tests/react-transition-group/check-japgolly-3/r/react-transition-group/src/main/scala/typingsJapgolly/reactTransitionGroup/transitionGroupMod.scala index 686828b9cd..c6136a1e7f 100644 --- a/tests/react-transition-group/check-japgolly-3/r/react-transition-group/src/main/scala/typingsJapgolly/reactTransitionGroup/transitionGroupMod.scala +++ b/tests/react-transition-group/check-japgolly-3/r/react-transition-group/src/main/scala/typingsJapgolly/reactTransitionGroup/transitionGroupMod.scala @@ -42,7 +42,7 @@ object transitionGroupMod { } } - type TransitionGroup = japgolly.scalajs.react.raw.React.Component[(TransitionGroupProps[abbr, js.Any]) & js.Object, js.Object] + type TransitionGroup = japgolly.scalajs.react.facade.React.Component[(TransitionGroupProps[abbr, js.Any]) & js.Object, js.Object] type TransitionGroupProps[T /* <: abbr | animate */, V /* <: ReactType[js.Any] */] = (IntrinsicTransitionGroupProps[T] & (/* import warning: importer.ImportType#apply Failed type conversion: react.react..JSX.IntrinsicElements[T] */ js.Any)) | (ComponentTransitionGroupProps[V] & ChildFactory) } diff --git a/tests/react-transition-group/check-japgolly-3/r/react/build.sbt b/tests/react-transition-group/check-japgolly-3/r/react/build.sbt index 413371177d..46eee0e562 100644 --- a/tests/react-transition-group/check-japgolly-3/r/react/build.sbt +++ b/tests/react-transition-group/check-japgolly-3/r/react/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react" -version := "0.0-unknown-cff0c1" +version := "0.0-unknown-e24bfa" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "std" % "0.0-unknown-159600", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "org.scalablytyped" %%% "std" % "0.0-unknown-8efe51") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/StBuildingComponent.scala b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/StBuildingComponent.scala index 87dacbf6c7..e6efa36361 100644 --- a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/StBuildingComponent.scala +++ b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/StBuildingComponent.scala @@ -2,8 +2,8 @@ package typingsJapgolly import japgolly.scalajs.react.Key import japgolly.scalajs.react.Ref.Simple -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.TagMod import japgolly.scalajs.react.vdom.TagMod.Composite import japgolly.scalajs.react.vdom.VdomElement diff --git a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/anon.scala b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/anon.scala index b7627a2334..066042c51e 100644 --- a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/anon.scala +++ b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/anon.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.StObject import scala.scalajs.js diff --git a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/abbr.scala b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/abbr.scala index 6c24be209e..857f74017e 100644 --- a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/abbr.scala +++ b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/abbr.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.HTMLElement +import org.scalajs.dom.HTMLElement import typingsJapgolly.StBuildingComponent.Default import typingsJapgolly.react.anon.Html import typingsJapgolly.react.mod.DetailedHTMLProps diff --git a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/animate.scala b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/animate.scala index e5f5ce91ae..4716b06170 100644 --- a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/animate.scala +++ b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/components/animate.scala @@ -1,6 +1,6 @@ package typingsJapgolly.react.components -import org.scalajs.dom.raw.SVGElement +import org.scalajs.dom.SVGElement import typingsJapgolly.StBuildingComponent.Default import typingsJapgolly.react.mod.ClassAttributes import org.scalablytyped.runtime.StObject diff --git a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod.scala b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod.scala index 5bad501b0e..461bc5b58c 100644 --- a/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod.scala +++ b/tests/react-transition-group/check-japgolly-3/r/react/src/main/scala/typingsJapgolly/react/mod.scala @@ -1,15 +1,15 @@ package typingsJapgolly.react import japgolly.scalajs.react.CallbackTo -import japgolly.scalajs.react.raw.React.ComponentClassP -import japgolly.scalajs.react.raw.React.Element -import japgolly.scalajs.react.raw.React.Node +import japgolly.scalajs.react.facade.React.ComponentClassP +import japgolly.scalajs.react.facade.React.Element +import japgolly.scalajs.react.facade.React.Node import japgolly.scalajs.react.vdom.VdomNode import org.scalablytyped.runtime.Instantiable1 import org.scalablytyped.runtime.Instantiable2 -import org.scalajs.dom.raw.AnimationEvent -import org.scalajs.dom.raw.HTMLElement -import org.scalajs.dom.raw.SVGElement +import org.scalajs.dom.AnimationEvent +import org.scalajs.dom.HTMLElement +import org.scalajs.dom.SVGElement import typingsJapgolly.react.anon.Children import typingsJapgolly.react.anon.Html import typingsJapgolly.std.Partial @@ -88,12 +88,12 @@ object mod { extends StObject with Instantiable1[ /* props */ P, - japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] + japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] ] with Instantiable2[ /* props */ P, /* context */ js.Any, - japgolly.scalajs.react.raw.React.Component[P & js.Object, js.Object] + japgolly.scalajs.react.facade.React.Component[P & js.Object, js.Object] ] { var defaultProps: js.UndefOr[Partial[P]] = js.native @@ -225,7 +225,7 @@ object mod { object JSX { // tslint:disable-next-line:no-empty-interface - type Element = japgolly.scalajs.react.raw.React.Element + type Element = japgolly.scalajs.react.facade.React.Element trait ElementAttributesProperty extends StObject diff --git a/tests/react-transition-group/check-japgolly-3/s/std/build.sbt b/tests/react-transition-group/check-japgolly-3/s/std/build.sbt index 4724367c26..8a8e975d56 100644 --- a/tests/react-transition-group/check-japgolly-3/s/std/build.sbt +++ b/tests/react-transition-group/check-japgolly-3/s/std/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "std" -version := "0.0-unknown-159600" +version := "0.0-unknown-8efe51" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( - "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - ("com.github.japgolly.scalajs-react" %%% "core" % "1.7.5").cross(CrossVersion.for3Use2_13)) + "com.github.japgolly.scalajs-react" %%% "core" % "2.0.0", + "com.olvind" %%% "scalablytyped-runtime" % "2.4.2") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/HTMLElementTagNameMap.scala b/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/HTMLElementTagNameMap.scala index a8daa605d1..961d6dd581 100644 --- a/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/HTMLElementTagNameMap.scala +++ b/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/HTMLElementTagNameMap.scala @@ -6,30 +6,30 @@ import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, J trait HTMLElementTagNameMap extends StObject { - var a: org.scalajs.dom.raw.HTMLAnchorElement + var a: org.scalajs.dom.HTMLAnchorElement - var abbr: org.scalajs.dom.raw.HTMLElement + var abbr: org.scalajs.dom.HTMLElement - var address: org.scalajs.dom.raw.HTMLElement + var address: org.scalajs.dom.HTMLElement - var area: org.scalajs.dom.raw.HTMLAreaElement + var area: org.scalajs.dom.HTMLAreaElement - var article: org.scalajs.dom.raw.HTMLElement + var article: org.scalajs.dom.HTMLElement - var aside: org.scalajs.dom.raw.HTMLElement + var aside: org.scalajs.dom.HTMLElement - var audio: org.scalajs.dom.raw.HTMLAudioElement + var audio: org.scalajs.dom.HTMLAudioElement } object HTMLElementTagNameMap { inline def apply( - a: org.scalajs.dom.raw.HTMLAnchorElement, - abbr: org.scalajs.dom.raw.HTMLElement, - address: org.scalajs.dom.raw.HTMLElement, - area: org.scalajs.dom.raw.HTMLAreaElement, - article: org.scalajs.dom.raw.HTMLElement, - aside: org.scalajs.dom.raw.HTMLElement, - audio: org.scalajs.dom.raw.HTMLAudioElement + a: org.scalajs.dom.HTMLAnchorElement, + abbr: org.scalajs.dom.HTMLElement, + address: org.scalajs.dom.HTMLElement, + area: org.scalajs.dom.HTMLAreaElement, + article: org.scalajs.dom.HTMLElement, + aside: org.scalajs.dom.HTMLElement, + audio: org.scalajs.dom.HTMLAudioElement ): HTMLElementTagNameMap = { val __obj = js.Dynamic.literal(a = a.asInstanceOf[js.Any], abbr = abbr.asInstanceOf[js.Any], address = address.asInstanceOf[js.Any], area = area.asInstanceOf[js.Any], article = article.asInstanceOf[js.Any], aside = aside.asInstanceOf[js.Any], audio = audio.asInstanceOf[js.Any]) __obj.asInstanceOf[HTMLElementTagNameMap] diff --git a/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/SVGElementTagNameMap.scala b/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/SVGElementTagNameMap.scala index 723b93ee90..0f90daca72 100644 --- a/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/SVGElementTagNameMap.scala +++ b/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/SVGElementTagNameMap.scala @@ -6,11 +6,11 @@ import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, J trait SVGElementTagNameMap extends StObject { - var circle: org.scalajs.dom.raw.SVGCircleElement + var circle: org.scalajs.dom.SVGCircleElement } object SVGElementTagNameMap { - inline def apply(circle: org.scalajs.dom.raw.SVGCircleElement): SVGElementTagNameMap = { + inline def apply(circle: org.scalajs.dom.SVGCircleElement): SVGElementTagNameMap = { val __obj = js.Dynamic.literal(circle = circle.asInstanceOf[js.Any]) __obj.asInstanceOf[SVGElementTagNameMap] } diff --git a/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/package.scala b/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/package.scala index 15fbdb6a3e..4beca66b67 100644 --- a/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/package.scala +++ b/tests/react-transition-group/check-japgolly-3/s/std/src/main/scala/typingsJapgolly/std/package.scala @@ -5,18 +5,18 @@ import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} -type AnimationEvent = org.scalajs.dom.raw.Event +type AnimationEvent = org.scalajs.dom.Event -type HTMLAnchorElement = org.scalajs.dom.raw.HTMLElement +type HTMLAnchorElement = org.scalajs.dom.HTMLElement -type HTMLAreaElement = org.scalajs.dom.raw.HTMLElement +type HTMLAreaElement = org.scalajs.dom.HTMLElement -type HTMLAudioElement = org.scalajs.dom.raw.HTMLElement +type HTMLAudioElement = org.scalajs.dom.HTMLElement -type HTMLElement = org.scalajs.dom.raw.Element +type HTMLElement = org.scalajs.dom.Element type Partial[T] = T -type SVGCircleElement = org.scalajs.dom.raw.SVGElement +type SVGCircleElement = org.scalajs.dom.SVGElement -type SVGElement = org.scalajs.dom.raw.Element +type SVGElement = org.scalajs.dom.Element diff --git a/tests/react-transition-group/check-slinky-3/r/react-transition-group/build.sbt b/tests/react-transition-group/check-slinky-3/r/react-transition-group/build.sbt index f578f67c92..e2913f0c24 100644 --- a/tests/react-transition-group/check-slinky-3/r/react-transition-group/build.sbt +++ b/tests/react-transition-group/check-slinky-3/r/react-transition-group/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "react-transition-group" -version := "2.0-8aa528" +version := "2.0-9a3c63" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.4.2", - "org.scalablytyped" %%% "react" % "0.0-unknown-2fe5aa", + "org.scalablytyped" %%% "react" % "0.0-unknown-0d7ed8", "org.scalablytyped" %%% "std" % "0.0-unknown-74c717", ("me.shadaj" %%% "slinky-web" % "0.6.8+1-b1dd3f4c").cross(CrossVersion.for3Use2_13)) publishArtifact in packageDoc := false diff --git a/tests/react-transition-group/check-slinky-3/r/react/build.sbt b/tests/react-transition-group/check-slinky-3/r/react/build.sbt index e845c7b988..4fbdd79bb6 100644 --- a/tests/react-transition-group/check-slinky-3/r/react/build.sbt +++ b/tests/react-transition-group/check-slinky-3/r/react/build.sbt @@ -1,6 +1,6 @@ organization := "org.scalablytyped" name := "react" -version := "0.0-unknown-2fe5aa" +version := "0.0-unknown-0d7ed8" scalaVersion := "3.1.0" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( diff --git a/tests/react-transition-group/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/abbr.scala b/tests/react-transition-group/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/abbr.scala index b3b427338c..bd29bce0ef 100644 --- a/tests/react-transition-group/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/abbr.scala +++ b/tests/react-transition-group/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/abbr.scala @@ -15,7 +15,7 @@ object abbr { @scala.inline open class Builder (val args: js.Array[js.Any]) extends AnyVal - with StBuildingComponent[tag.type, HTMLElement & js.Object] { + with StBuildingComponent[tag.type, HTMLElement] { inline def dangerouslySetInnerHTML(value: Html): this.type = set("dangerouslySetInnerHTML", value.asInstanceOf[js.Any]) diff --git a/tests/react-transition-group/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/animate.scala b/tests/react-transition-group/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/animate.scala index ed05ef8ac3..149b9dcc94 100644 --- a/tests/react-transition-group/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/animate.scala +++ b/tests/react-transition-group/check-slinky-3/r/react/src/main/scala/typingsSlinky/react/components/animate.scala @@ -12,7 +12,7 @@ object animate { val component: String = "animate" - implicit def make(companion: animate.type): Default[tag.type, SVGElement & js.Object] = new Default[tag.type, SVGElement & js.Object](js.Array(this.component, js.Dictionary.empty))() + implicit def make(companion: animate.type): Default[tag.type, SVGElement] = new Default[tag.type, SVGElement](js.Array(this.component, js.Dictionary.empty))() - def withProps(p: ClassAttributes[SVGElement]): Default[tag.type, SVGElement & js.Object] = new Default[tag.type, SVGElement & js.Object](js.Array(this.component, p.asInstanceOf[js.Any])) + def withProps(p: ClassAttributes[SVGElement]): Default[tag.type, SVGElement] = new Default[tag.type, SVGElement](js.Array(this.component, p.asInstanceOf[js.Any])) } From 110352fa8b34c4ed5843bbe0ad01c1fa54443788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Raddum=20Berg?= Date: Wed, 15 Dec 2021 23:26:29 +0100 Subject: [PATCH 2/2] clean cache --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6d39c68106..dd83f04920 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,9 +26,9 @@ jobs: # Download and cache dependencies - restore_cache: keys: - - v1-dependencies-{{ checksum "build.sbt" }} + - v2-dependencies-{{ checksum "build.sbt" }} # fallback to using the latest cache if no exact match is found - - v1-dependencies- + - v2-dependencies- - run: cat /dev/null | sbt test scalafmtCheck @@ -51,4 +51,4 @@ jobs: - ~/.ivy2/cache - ~/.ivy2/local - ~/.cache/scalablytyped/tests/artifacts - key: v1-dependencies--{{ checksum "build.sbt" }} + key: v2-dependencies--{{ checksum "build.sbt" }}