diff --git a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/Printer.scala b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/Printer.scala index 1c8dd22273..fd094a02bf 100644 --- a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/Printer.scala +++ b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/Printer.scala @@ -512,6 +512,8 @@ object Printer { es.map(e => (" " * indent) + formatExpr(indent + 2)(e)).mkString("{\n", "\n", "\n}") case ExprTree.Null => "null" + case ExprTree.`:_*`(e) => + s"${formatExpr(indent)(e)} :_*" case ExprTree.Ref(value) => formatQN(value) case ExprTree.StringLit(value) => diff --git a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/TreeTransformation.scala b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/TreeTransformation.scala index 17aa63098f..57cda81ac4 100644 --- a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/TreeTransformation.scala +++ b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/TreeTransformation.scala @@ -66,6 +66,8 @@ class TreeTransformation { self => s match { case ExprTree.Null => ExprTree.Null + case ExprTree.`:_*`(e) => + ExprTree.`:_*`(visitExprTree(childrenScope)(e)) case ExprTree.Val(name, value) => ExprTree.Val(name, visitExprTree(childrenScope)(value)) case ExprTree.Throw(expr) => diff --git a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/MemberToProp.scala b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/MemberToProp.scala index 1b775b4d72..a5206b6994 100644 --- a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/MemberToProp.scala +++ b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/MemberToProp.scala @@ -52,6 +52,15 @@ object MemberToProp { case x: Prop.Normal => x.allVariants case _ => Empty } + case TypeRef(QualifiedName.Array, IArray.exactlyOne(t), _) => + IArray( + Prop.Variant( + TypeRef.Repeated(t, NoComments), + e => Call(Ref(QualifiedName.Array), IArray(IArray(`:_*`(e)))), + isRewritten = true, + extendsAnyVal = false, + ), + ) case _ => Empty } diff --git a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/package.scala b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/package.scala index 2380861716..00969fe784 100644 --- a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/package.scala +++ b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/flavours/package.scala @@ -14,8 +14,9 @@ package object flavours { def nameFor(tpe: TypeRef): String = tpe match { - case tr if Name.Internal(tr.name) => tr.targs.map(nameFor).mkString("") - case other => other.name.unescaped + case TypeRef(QualifiedName.REPEATED, _, _) => "Varargs" + case tr if Name.Internal(tr.name) => tr.targs.map(nameFor).mkString("") + case other => other.name.unescaped } } diff --git a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/tree.scala b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/tree.scala index 4ea9a695e8..f2eac4387b 100644 --- a/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/tree.scala +++ b/scalajs/src/main/scala/org/scalablytyped/converter/internal/scalajs/tree.scala @@ -520,6 +520,7 @@ object ExprTree { case class BinaryOp(one: ExprTree, op: String, two: ExprTree) extends ExprTree case class Block(expressions: IArray[ExprTree]) extends ExprTree case class Call(function: ExprTree, params: IArray[IArray[Arg]]) extends ExprTree + case class `:_*`(e: ExprTree) extends ExprTree case class If(pred: ExprTree, ifTrue: ExprTree, ifFalse: Option[ExprTree]) extends ExprTree case class Lambda(params: IArray[ParamTree], body: ExprTree) extends ExprTree case class New(expr: TypeRef, params: IArray[ExprTree]) extends ExprTree diff --git a/tests/chart.js/check/c/chart_dot_js/build.sbt b/tests/chart.js/check/c/chart_dot_js/build.sbt index 6e071cdb6e..03cbf57d28 100644 --- a/tests/chart.js/check/c/chart_dot_js/build.sbt +++ b/tests/chart.js/check/c/chart_dot_js/build.sbt @@ -1,6 +1,6 @@ organization := "org.scalablytyped" name := "chart_dot_js" -version := "0.0-unknown-e484e7" +version := "0.0-unknown-63d1fa" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( diff --git a/tests/chart.js/check/c/chart_dot_js/src/main/scala/typings/chartJs/mod/ChartData.scala b/tests/chart.js/check/c/chart_dot_js/src/main/scala/typings/chartJs/mod/ChartData.scala index 176e6318a0..624dd27162 100644 --- a/tests/chart.js/check/c/chart_dot_js/src/main/scala/typings/chartJs/mod/ChartData.scala +++ b/tests/chart.js/check/c/chart_dot_js/src/main/scala/typings/chartJs/mod/ChartData.scala @@ -27,6 +27,8 @@ object ChartData { x } @scala.inline + def setLabelsVarargs(value: (String | js.Array[String])*): Self = this.set("labels", js.Array(value :_*)) + @scala.inline def setLabels(value: js.Array[String | js.Array[String]]): Self = this.set("labels", value.asInstanceOf[js.Any]) @scala.inline def deleteLabels: Self = this.set("labels", js.undefined) diff --git a/tests/commander/check/c/commander/build.sbt b/tests/commander/check/c/commander/build.sbt index f8f071e06a..fc1c8cc414 100644 --- a/tests/commander/check/c/commander/build.sbt +++ b/tests/commander/check/c/commander/build.sbt @@ -1,6 +1,6 @@ organization := "org.scalablytyped" name := "commander" -version := "2.15.1-7393d6" +version := "2.15.1-a82110" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( diff --git a/tests/commander/check/c/commander/src/main/scala/typings/commander/mod/ParseOptionsResult.scala b/tests/commander/check/c/commander/src/main/scala/typings/commander/mod/ParseOptionsResult.scala index cfe51d1c84..96b086959b 100644 --- a/tests/commander/check/c/commander/src/main/scala/typings/commander/mod/ParseOptionsResult.scala +++ b/tests/commander/check/c/commander/src/main/scala/typings/commander/mod/ParseOptionsResult.scala @@ -28,8 +28,12 @@ object ParseOptionsResult { x } @scala.inline + def setArgsVarargs(value: String*): Self = this.set("args", js.Array(value :_*)) + @scala.inline def setArgs(value: js.Array[String]): Self = this.set("args", value.asInstanceOf[js.Any]) @scala.inline + def setUnknownVarargs(value: String*): Self = this.set("unknown", js.Array(value :_*)) + @scala.inline def setUnknown(value: js.Array[String]): Self = this.set("unknown", value.asInstanceOf[js.Any]) } diff --git a/tests/numjs/check/n/ndarray/build.sbt b/tests/numjs/check/n/ndarray/build.sbt index be3dbf4091..54ce938756 100644 --- a/tests/numjs/check/n/ndarray/build.sbt +++ b/tests/numjs/check/n/ndarray/build.sbt @@ -1,6 +1,6 @@ organization := "org.scalablytyped" name := "ndarray" -version := "0.0-unknown-2ebd0c" +version := "0.0-unknown-d41b11" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( diff --git a/tests/numjs/check/n/ndarray/src/main/scala/typings/ndarray/mod/ndarray.scala b/tests/numjs/check/n/ndarray/src/main/scala/typings/ndarray/mod/ndarray.scala index fffded38d4..cc7ec31df3 100644 --- a/tests/numjs/check/n/ndarray/src/main/scala/typings/ndarray/mod/ndarray.scala +++ b/tests/numjs/check/n/ndarray/src/main/scala/typings/ndarray/mod/ndarray.scala @@ -30,6 +30,8 @@ object ndarray { @scala.inline def setT(value: ndarray[T]): Self = this.set("T", value.asInstanceOf[js.Any]) @scala.inline + def setDataVarargs(value: T*): Self = this.set("data", js.Array(value :_*)) + @scala.inline def setData(value: Data[T]): Self = this.set("data", value.asInstanceOf[js.Any]) } diff --git a/tests/numjs/check/n/numjs/build.sbt b/tests/numjs/check/n/numjs/build.sbt index b5fa82abe6..6c7263007d 100644 --- a/tests/numjs/check/n/numjs/build.sbt +++ b/tests/numjs/check/n/numjs/build.sbt @@ -1,11 +1,11 @@ organization := "org.scalablytyped" name := "numjs" -version := "0.0-unknown-b064a6" +version := "0.0-unknown-5afa38" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", - "org.scalablytyped" %%% "ndarray" % "0.0-unknown-2ebd0c", + "org.scalablytyped" %%% "ndarray" % "0.0-unknown-d41b11", "org.scalablytyped" %%% "std" % "0.0-unknown-a0c14e") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-japgolly/c/componentstest/build.sbt b/tests/react-integration-test/check-japgolly/c/componentstest/build.sbt index 757754d893..521929abdf 100644 --- a/tests/react-integration-test/check-japgolly/c/componentstest/build.sbt +++ b/tests/react-integration-test/check-japgolly/c/componentstest/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "componentstest" -version := "0.0-unknown-7b1cf5" +version := "0.0-unknown-6f7945" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.github.japgolly.scalajs-react" %%% "core" % "1.7.0", "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", - "org.scalablytyped" %%% "react" % "16.9.2-a88e75", + "org.scalablytyped" %%% "react" % "16.9.2-0e9f42", "org.scalablytyped" %%% "std" % "0.0-unknown-1edc23") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-japgolly/r/react-bootstrap/build.sbt b/tests/react-integration-test/check-japgolly/r/react-bootstrap/build.sbt index cf7f16f951..30d8638710 100644 --- a/tests/react-integration-test/check-japgolly/r/react-bootstrap/build.sbt +++ b/tests/react-integration-test/check-japgolly/r/react-bootstrap/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react-bootstrap" -version := "0.32-755c07" +version := "0.32-718358" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.github.japgolly.scalajs-react" %%% "core" % "1.7.0", "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", - "org.scalablytyped" %%% "react" % "16.9.2-a88e75", + "org.scalablytyped" %%% "react" % "16.9.2-0e9f42", "org.scalablytyped" %%% "std" % "0.0-unknown-1edc23") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-japgolly/r/react-bootstrap/src/main/scala/typingsJapgolly/reactBootstrap/components/ButtonGroup.scala b/tests/react-integration-test/check-japgolly/r/react-bootstrap/src/main/scala/typingsJapgolly/reactBootstrap/components/ButtonGroup.scala index f821a668ef..0146d00d73 100644 --- a/tests/react-integration-test/check-japgolly/r/react-bootstrap/src/main/scala/typingsJapgolly/reactBootstrap/components/ButtonGroup.scala +++ b/tests/react-integration-test/check-japgolly/r/react-bootstrap/src/main/scala/typingsJapgolly/reactBootstrap/components/ButtonGroup.scala @@ -252,6 +252,8 @@ object ButtonGroup { @scala.inline def defaultChecked(value: Boolean): this.type = set("defaultChecked", value.asInstanceOf[js.Any]) @scala.inline + def defaultValueVarargs(value: String*): this.type = set("defaultValue", js.Array(value :_*)) + @scala.inline def defaultValue(value: String | js.Array[String]): this.type = set("defaultValue", value.asInstanceOf[js.Any]) @scala.inline def defer(value: Boolean): this.type = set("defer", value.asInstanceOf[js.Any]) @@ -778,6 +780,8 @@ object ButtonGroup { @scala.inline def useMap(value: String): this.type = set("useMap", value.asInstanceOf[js.Any]) @scala.inline + def valueVarargs(value: String*): this.type = set("value", js.Array(value :_*)) + @scala.inline def value(value: String | js.Array[String] | Double): this.type = set("value", value.asInstanceOf[js.Any]) @scala.inline def vertical(value: Boolean): this.type = set("vertical", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-japgolly/r/react-contextmenu/build.sbt b/tests/react-integration-test/check-japgolly/r/react-contextmenu/build.sbt index 7a2836df93..0dc7bdf9f3 100644 --- a/tests/react-integration-test/check-japgolly/r/react-contextmenu/build.sbt +++ b/tests/react-integration-test/check-japgolly/r/react-contextmenu/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react-contextmenu" -version := "2.13.0-122518" +version := "2.13.0-9699ef" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.github.japgolly.scalajs-react" %%% "core" % "1.7.0", "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", - "org.scalablytyped" %%% "react" % "16.9.2-a88e75", + "org.scalablytyped" %%% "react" % "16.9.2-0e9f42", "org.scalablytyped" %%% "std" % "0.0-unknown-1edc23") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-japgolly/r/react-dropzone/build.sbt b/tests/react-integration-test/check-japgolly/r/react-dropzone/build.sbt index 3d0f5873c9..12a96db23d 100644 --- a/tests/react-integration-test/check-japgolly/r/react-dropzone/build.sbt +++ b/tests/react-integration-test/check-japgolly/r/react-dropzone/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react-dropzone" -version := "10.1.10-bac3c0" +version := "10.1.10-04c4c6" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.github.japgolly.scalajs-react" %%% "core" % "1.7.0", "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", - "org.scalablytyped" %%% "react" % "16.9.2-a88e75", + "org.scalablytyped" %%% "react" % "16.9.2-0e9f42", "org.scalablytyped" %%% "std" % "0.0-unknown-1edc23") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-japgolly/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/components/ReactDropzone.scala b/tests/react-integration-test/check-japgolly/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/components/ReactDropzone.scala index b734879ab8..8cc28becde 100644 --- a/tests/react-integration-test/check-japgolly/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/components/ReactDropzone.scala +++ b/tests/react-integration-test/check-japgolly/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/components/ReactDropzone.scala @@ -26,6 +26,8 @@ object ReactDropzone { extends AnyVal with StBuildingComponent[Ref with js.Object] { @scala.inline + def acceptVarargs(value: String*): this.type = set("accept", js.Array(value :_*)) + @scala.inline def accept(value: String | js.Array[String]): this.type = set("accept", value.asInstanceOf[js.Any]) @scala.inline def children(value: /* state */ DropzoneState => CallbackTo[Element]): this.type = set("children", js.Any.fromFunction1((t0: /* state */ DropzoneState) => value(t0).runNow())) diff --git a/tests/react-integration-test/check-japgolly/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/mod/DropzoneOptions.scala b/tests/react-integration-test/check-japgolly/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/mod/DropzoneOptions.scala index 8f6b7c9e2e..009c987937 100644 --- a/tests/react-integration-test/check-japgolly/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/mod/DropzoneOptions.scala +++ b/tests/react-integration-test/check-japgolly/r/react-dropzone/src/main/scala/typingsJapgolly/reactDropzone/mod/DropzoneOptions.scala @@ -82,6 +82,8 @@ object DropzoneOptions { x } @scala.inline + def setAcceptVarargs(value: String*): Self = this.set("accept", js.Array(value :_*)) + @scala.inline def setAccept(value: String | js.Array[String]): Self = this.set("accept", value.asInstanceOf[js.Any]) @scala.inline def deleteAccept: Self = this.set("accept", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react-select/build.sbt b/tests/react-integration-test/check-japgolly/r/react-select/build.sbt index f17d1d1002..7bf5f253ae 100644 --- a/tests/react-integration-test/check-japgolly/r/react-select/build.sbt +++ b/tests/react-integration-test/check-japgolly/r/react-select/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react-select" -version := "0.0-unknown-395eb2" +version := "0.0-unknown-c72f42" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.github.japgolly.scalajs-react" %%% "core" % "1.7.0", "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", - "org.scalablytyped" %%% "react" % "16.9.2-a88e75", + "org.scalablytyped" %%% "react" % "16.9.2-0e9f42", "org.scalablytyped" %%% "std" % "0.0-unknown-1edc23") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-japgolly/r/react/build.sbt b/tests/react-integration-test/check-japgolly/r/react/build.sbt index 7d02964f62..ec7a02d43e 100644 --- a/tests/react-integration-test/check-japgolly/r/react/build.sbt +++ b/tests/react-integration-test/check-japgolly/r/react/build.sbt @@ -1,6 +1,6 @@ organization := "org.scalablytyped" name := "react" -version := "16.9.2-a88e75" +version := "16.9.2-0e9f42" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/AllHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/AllHTMLAttributes.scala index 08f5fb87b1..c722243d7a 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/AllHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/AllHTMLAttributes.scala @@ -536,6 +536,8 @@ object AllHTMLAttributes { @scala.inline def deleteUseMap: Self = this.set("useMap", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ButtonHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ButtonHTMLAttributes.scala index 4f5a074e39..5bba2a87cb 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ButtonHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ButtonHTMLAttributes.scala @@ -80,6 +80,8 @@ object ButtonHTMLAttributes { @scala.inline def deleteType: Self = this.set("type", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/DataHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/DataHTMLAttributes.scala index 1d40a46fc3..d2db0925c6 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/DataHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/DataHTMLAttributes.scala @@ -27,6 +27,8 @@ object DataHTMLAttributes { x } @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/HTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/HTMLAttributes.scala index 5aaa552ec5..0bcefe6775 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/HTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/HTMLAttributes.scala @@ -124,6 +124,8 @@ object HTMLAttributes { @scala.inline def deleteDefaultChecked: Self = this.set("defaultChecked", js.undefined) @scala.inline + def setDefaultValueVarargs(value: String*): Self = this.set("defaultValue", js.Array(value :_*)) + @scala.inline def setDefaultValue(value: String | js.Array[String]): Self = this.set("defaultValue", value.asInstanceOf[js.Any]) @scala.inline def deleteDefaultValue: Self = this.set("defaultValue", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/InputHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/InputHTMLAttributes.scala index adeaae2de9..693b9922be 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/InputHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/InputHTMLAttributes.scala @@ -183,6 +183,8 @@ object InputHTMLAttributes { @scala.inline def deleteType: Self = this.set("type", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/LiHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/LiHTMLAttributes.scala index 4bd6883f8e..464ea41559 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/LiHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/LiHTMLAttributes.scala @@ -27,6 +27,8 @@ object LiHTMLAttributes { x } @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/MeterHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/MeterHTMLAttributes.scala index 28b62b068f..eb97171072 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/MeterHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/MeterHTMLAttributes.scala @@ -57,6 +57,8 @@ object MeterHTMLAttributes { @scala.inline def deleteOptimum: Self = this.set("optimum", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/Mixin.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/Mixin.scala index 194eb1617d..b25a6d9342 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/Mixin.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/Mixin.scala @@ -57,6 +57,8 @@ object Mixin { @scala.inline def deleteGetInitialState: Self = this.set("getInitialState", js.undefined) @scala.inline + def setMixinsVarargs(value: (Mixin[P, S])*): Self = this.set("mixins", js.Array(value :_*)) + @scala.inline def setMixins(value: js.Array[Mixin[P, S]]): Self = this.set("mixins", value.asInstanceOf[js.Any]) @scala.inline def deleteMixins: Self = this.set("mixins", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/OptionHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/OptionHTMLAttributes.scala index 1a371782b6..6a6eb76e58 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/OptionHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/OptionHTMLAttributes.scala @@ -42,6 +42,8 @@ object OptionHTMLAttributes { @scala.inline def deleteSelected: Self = this.set("selected", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ParamHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ParamHTMLAttributes.scala index 2d5e07555f..2c1a48d2cd 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ParamHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ParamHTMLAttributes.scala @@ -32,6 +32,8 @@ object ParamHTMLAttributes { @scala.inline def deleteName: Self = this.set("name", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ProgressHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ProgressHTMLAttributes.scala index 2789e6a3c8..5832e4d440 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ProgressHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/ProgressHTMLAttributes.scala @@ -32,6 +32,8 @@ object ProgressHTMLAttributes { @scala.inline def deleteMax: Self = this.set("max", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/SelectHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/SelectHTMLAttributes.scala index ebd9828342..8f2ec6a04c 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/SelectHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/SelectHTMLAttributes.scala @@ -76,6 +76,8 @@ object SelectHTMLAttributes { @scala.inline def deleteSize: Self = this.set("size", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/TextareaHTMLAttributes.scala b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/TextareaHTMLAttributes.scala index 712e96779a..7a48516e5f 100644 --- a/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/TextareaHTMLAttributes.scala +++ b/tests/react-integration-test/check-japgolly/r/react/src/main/scala/typingsJapgolly/react/mod/TextareaHTMLAttributes.scala @@ -97,6 +97,8 @@ object TextareaHTMLAttributes { @scala.inline def deleteRows: Self = this.set("rows", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/build.sbt b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/build.sbt index a2768b8246..3ba951eb03 100644 --- a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/build.sbt +++ b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "semantic-ui-react" -version := "0.0-unknown-d20874" +version := "0.0-unknown-6724d4" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.github.japgolly.scalajs-react" %%% "core" % "1.7.0", "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", - "org.scalablytyped" %%% "react" % "16.9.2-a88e75", + "org.scalablytyped" %%% "react" % "16.9.2-0e9f42", "org.scalablytyped" %%% "std" % "0.0-unknown-1edc23") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionAccordionMod/StrictAccordionAccordionProps.scala b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionAccordionMod/StrictAccordionAccordionProps.scala index 8dc86a81ff..f91a7db05a 100644 --- a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionAccordionMod/StrictAccordionAccordionProps.scala +++ b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/accordionAccordionAccordionMod/StrictAccordionAccordionProps.scala @@ -9,6 +9,7 @@ import org.scalajs.dom.raw.HTMLDivElement import typingsJapgolly.semanticUiReact.accordionPanelMod.AccordionPanelProps import typingsJapgolly.semanticUiReact.accordionTitleMod.AccordionTitleProps import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandCollection +import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandItem import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ @@ -62,6 +63,8 @@ object StrictAccordionAccordionProps { x } @scala.inline + def setActiveIndexVarargs(value: Double*): Self = this.set("activeIndex", js.Array(value :_*)) + @scala.inline def setActiveIndex(value: Double | js.Array[Double]): Self = this.set("activeIndex", value.asInstanceOf[js.Any]) @scala.inline def deleteActiveIndex: Self = this.set("activeIndex", js.undefined) @@ -80,6 +83,8 @@ object StrictAccordionAccordionProps { @scala.inline def deleteClassName: Self = this.set("className", js.undefined) @scala.inline + def setDefaultActiveIndexVarargs(value: Double*): Self = this.set("defaultActiveIndex", js.Array(value :_*)) + @scala.inline def setDefaultActiveIndex(value: Double | js.Array[Double]): Self = this.set("defaultActiveIndex", value.asInstanceOf[js.Any]) @scala.inline def deleteDefaultActiveIndex: Self = this.set("defaultActiveIndex", js.undefined) @@ -94,6 +99,8 @@ object StrictAccordionAccordionProps { @scala.inline def deleteOnTitleClick: Self = this.set("onTitleClick", js.undefined) @scala.inline + def setPanelsVarargs(value: SemanticShorthandItem[AccordionPanelProps]*): Self = this.set("panels", js.Array(value :_*)) + @scala.inline def setPanels(value: SemanticShorthandCollection[AccordionPanelProps]): Self = this.set("panels", value.asInstanceOf[js.Any]) @scala.inline def deletePanels: Self = this.set("panels", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonGroupMod/StrictButtonGroupProps.scala b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonGroupMod/StrictButtonGroupProps.scala index 15555d2dde..59f5e5a1b6 100644 --- a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonGroupMod/StrictButtonGroupProps.scala +++ b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/buttonGroupMod/StrictButtonGroupProps.scala @@ -9,6 +9,7 @@ import typingsJapgolly.semanticUiReact.genericMod.SemanticFLOATS import typingsJapgolly.semanticUiReact.genericMod.SemanticSIZES import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandCollection import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandContent +import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandItem import typingsJapgolly.semanticUiReact.genericMod.SemanticWIDTHS import typingsJapgolly.semanticUiReact.semanticUiReactStrings.bottom import typingsJapgolly.semanticUiReact.semanticUiReactStrings.left @@ -96,6 +97,8 @@ object StrictButtonGroupProps { @scala.inline def deleteBasic: Self = this.set("basic", js.undefined) @scala.inline + def setButtonsVarargs(value: SemanticShorthandItem[ButtonProps]*): Self = this.set("buttons", js.Array(value :_*)) + @scala.inline def setButtons(value: SemanticShorthandCollection[ButtonProps]): Self = this.set("buttons", value.asInstanceOf[js.Any]) @scala.inline def deleteButtons: Self = this.set("buttons", js.undefined) diff --git a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Accordion.scala b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Accordion.scala index 55ad8e633d..d58150a664 100644 --- a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Accordion.scala +++ b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Accordion.scala @@ -9,6 +9,7 @@ import typingsJapgolly.semanticUiReact.accordionMod.default import typingsJapgolly.semanticUiReact.accordionPanelMod.AccordionPanelProps import typingsJapgolly.semanticUiReact.accordionTitleMod.AccordionTitleProps import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandCollection +import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandItem import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ @@ -23,12 +24,16 @@ object Accordion { extends AnyVal with StBuildingComponent[default] { @scala.inline + def activeIndexVarargs(value: Double*): this.type = set("activeIndex", js.Array(value :_*)) + @scala.inline def activeIndex(value: Double | js.Array[Double]): this.type = set("activeIndex", value.asInstanceOf[js.Any]) @scala.inline def as(value: js.Any): this.type = set("as", value.asInstanceOf[js.Any]) @scala.inline def className(value: String): this.type = set("className", value.asInstanceOf[js.Any]) @scala.inline + def defaultActiveIndexVarargs(value: Double*): this.type = set("defaultActiveIndex", js.Array(value :_*)) + @scala.inline def defaultActiveIndex(value: Double | js.Array[Double]): this.type = set("defaultActiveIndex", value.asInstanceOf[js.Any]) @scala.inline def exclusive(value: Boolean): this.type = set("exclusive", value.asInstanceOf[js.Any]) @@ -41,6 +46,8 @@ object Accordion { value: (/* event */ ReactMouseEventFrom[HTMLDivElement], /* data */ AccordionTitleProps) => Callback ): this.type = set("onTitleClick", js.Any.fromFunction2((t0: /* event */ ReactMouseEventFrom[HTMLDivElement], t1: /* data */ AccordionTitleProps) => (value(t0, t1)).runNow())) @scala.inline + def panelsVarargs(value: SemanticShorthandItem[AccordionPanelProps]*): this.type = set("panels", js.Array(value :_*)) + @scala.inline def panels(value: SemanticShorthandCollection[AccordionPanelProps]): this.type = set("panels", value.asInstanceOf[js.Any]) @scala.inline def styled(value: Boolean): this.type = set("styled", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/AccordionAccordion.scala b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/AccordionAccordion.scala index 5552c888f6..bb407d5d0a 100644 --- a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/AccordionAccordion.scala +++ b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/AccordionAccordion.scala @@ -9,6 +9,7 @@ import typingsJapgolly.semanticUiReact.accordionAccordionAccordionMod.default import typingsJapgolly.semanticUiReact.accordionPanelMod.AccordionPanelProps import typingsJapgolly.semanticUiReact.accordionTitleMod.AccordionTitleProps import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandCollection +import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandItem import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ @@ -23,12 +24,16 @@ object AccordionAccordion { extends AnyVal with StBuildingComponent[default] { @scala.inline + def activeIndexVarargs(value: Double*): this.type = set("activeIndex", js.Array(value :_*)) + @scala.inline def activeIndex(value: Double | js.Array[Double]): this.type = set("activeIndex", value.asInstanceOf[js.Any]) @scala.inline def as(value: js.Any): this.type = set("as", value.asInstanceOf[js.Any]) @scala.inline def className(value: String): this.type = set("className", value.asInstanceOf[js.Any]) @scala.inline + def defaultActiveIndexVarargs(value: Double*): this.type = set("defaultActiveIndex", js.Array(value :_*)) + @scala.inline def defaultActiveIndex(value: Double | js.Array[Double]): this.type = set("defaultActiveIndex", value.asInstanceOf[js.Any]) @scala.inline def exclusive(value: Boolean): this.type = set("exclusive", value.asInstanceOf[js.Any]) @@ -37,6 +42,8 @@ object AccordionAccordion { value: (/* event */ ReactMouseEventFrom[HTMLDivElement], /* data */ AccordionTitleProps) => Callback ): this.type = set("onTitleClick", js.Any.fromFunction2((t0: /* event */ ReactMouseEventFrom[HTMLDivElement], t1: /* data */ AccordionTitleProps) => (value(t0, t1)).runNow())) @scala.inline + def panelsVarargs(value: SemanticShorthandItem[AccordionPanelProps]*): this.type = set("panels", js.Array(value :_*)) + @scala.inline def panels(value: SemanticShorthandCollection[AccordionPanelProps]): this.type = set("panels", value.asInstanceOf[js.Any]) } diff --git a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Button.scala b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Button.scala index 674522b3f2..8e75d69a3a 100644 --- a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Button.scala +++ b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Button.scala @@ -237,6 +237,8 @@ object Button { @scala.inline def defaultChecked(value: Boolean): this.type = set("defaultChecked", value.asInstanceOf[js.Any]) @scala.inline + def defaultValueVarargs(value: String*): this.type = set("defaultValue", js.Array(value :_*)) + @scala.inline def defaultValue(value: String | js.Array[String]): this.type = set("defaultValue", value.asInstanceOf[js.Any]) @scala.inline def dir(value: String): this.type = set("dir", value.asInstanceOf[js.Any]) @@ -521,6 +523,8 @@ object Button { @scala.inline def unselectable(value: on | off): this.type = set("unselectable", value.asInstanceOf[js.Any]) @scala.inline + def valueVarargs(value: String*): this.type = set("value", js.Array(value :_*)) + @scala.inline def value(value: String | js.Array[String] | Double): this.type = set("value", value.asInstanceOf[js.Any]) @scala.inline def vocab(value: String): this.type = set("vocab", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/ButtonGroup.scala b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/ButtonGroup.scala index dfc2655df9..3f41e17386 100644 --- a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/ButtonGroup.scala +++ b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/ButtonGroup.scala @@ -9,6 +9,7 @@ import typingsJapgolly.semanticUiReact.genericMod.SemanticFLOATS import typingsJapgolly.semanticUiReact.genericMod.SemanticSIZES import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandCollection import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandContent +import typingsJapgolly.semanticUiReact.genericMod.SemanticShorthandItem import typingsJapgolly.semanticUiReact.genericMod.SemanticWIDTHS import typingsJapgolly.semanticUiReact.semanticUiReactStrings.bottom import typingsJapgolly.semanticUiReact.semanticUiReactStrings.left @@ -34,6 +35,8 @@ object ButtonGroup { @scala.inline def basic(value: Boolean): this.type = set("basic", value.asInstanceOf[js.Any]) @scala.inline + def buttonsVarargs(value: SemanticShorthandItem[ButtonProps]*): this.type = set("buttons", js.Array(value :_*)) + @scala.inline def buttons(value: SemanticShorthandCollection[ButtonProps]): this.type = set("buttons", value.asInstanceOf[js.Any]) @scala.inline def className(value: String): this.type = set("className", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Input.scala b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Input.scala index a308d294b0..cb99cc3a94 100644 --- a/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Input.scala +++ b/tests/react-integration-test/check-japgolly/s/semantic-ui-react/src/main/scala/typingsJapgolly/semanticUiReact/components/Input.scala @@ -230,6 +230,8 @@ object Input { @scala.inline def defaultChecked(value: Boolean): this.type = set("defaultChecked", value.asInstanceOf[js.Any]) @scala.inline + def defaultValueVarargs(value: String*): this.type = set("defaultValue", js.Array(value :_*)) + @scala.inline def defaultValue(value: String | js.Array[String]): this.type = set("defaultValue", value.asInstanceOf[js.Any]) @scala.inline def dir(value: String): this.type = set("dir", value.asInstanceOf[js.Any]) @@ -538,6 +540,8 @@ object Input { @scala.inline def unselectable(value: on | off): this.type = set("unselectable", value.asInstanceOf[js.Any]) @scala.inline + def valueVarargs(value: String*): this.type = set("value", js.Array(value :_*)) + @scala.inline def value(value: String | js.Array[String] | Double): this.type = set("value", value.asInstanceOf[js.Any]) @scala.inline def vocab(value: String): this.type = set("vocab", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-japgolly/s/stardust-ui__react-component-event-listener/build.sbt b/tests/react-integration-test/check-japgolly/s/stardust-ui__react-component-event-listener/build.sbt index 9d1cc5cacf..a7387dead3 100644 --- a/tests/react-integration-test/check-japgolly/s/stardust-ui__react-component-event-listener/build.sbt +++ b/tests/react-integration-test/check-japgolly/s/stardust-ui__react-component-event-listener/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "stardust-ui__react-component-event-listener" -version := "0.38.0-fad2a5" +version := "0.38.0-a080d2" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.github.japgolly.scalajs-react" %%% "core" % "1.7.0", "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", - "org.scalablytyped" %%% "react" % "16.9.2-a88e75", + "org.scalablytyped" %%% "react" % "16.9.2-0e9f42", "org.scalablytyped" %%% "std" % "0.0-unknown-1edc23") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-japgolly/s/stardust-ui__react-component-ref/build.sbt b/tests/react-integration-test/check-japgolly/s/stardust-ui__react-component-ref/build.sbt index 374f156939..4e5f903e32 100644 --- a/tests/react-integration-test/check-japgolly/s/stardust-ui__react-component-ref/build.sbt +++ b/tests/react-integration-test/check-japgolly/s/stardust-ui__react-component-ref/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "stardust-ui__react-component-ref" -version := "0.38.0-70b104" +version := "0.38.0-8430cc" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.github.japgolly.scalajs-react" %%% "core" % "1.7.0", "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", - "org.scalablytyped" %%% "react" % "16.9.2-a88e75", + "org.scalablytyped" %%% "react" % "16.9.2-0e9f42", "org.scalablytyped" %%% "std" % "0.0-unknown-1edc23") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-slinky/c/componentstest/build.sbt b/tests/react-integration-test/check-slinky/c/componentstest/build.sbt index 4246adcaea..f3585d076c 100644 --- a/tests/react-integration-test/check-slinky/c/componentstest/build.sbt +++ b/tests/react-integration-test/check-slinky/c/componentstest/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "componentstest" -version := "0.0-unknown-6202dc" +version := "0.0-unknown-4c9c34" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "me.shadaj" %%% "slinky-web" % "0.6.5", - "org.scalablytyped" %%% "react" % "16.9.2-6e1de1", + "org.scalablytyped" %%% "react" % "16.9.2-0bc26f", "org.scalablytyped" %%% "std" % "0.0-unknown-d0ed57") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-slinky/r/react-bootstrap/build.sbt b/tests/react-integration-test/check-slinky/r/react-bootstrap/build.sbt index fe6a0d639c..686ca904c8 100644 --- a/tests/react-integration-test/check-slinky/r/react-bootstrap/build.sbt +++ b/tests/react-integration-test/check-slinky/r/react-bootstrap/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react-bootstrap" -version := "0.32-03fa0b" +version := "0.32-721dcb" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "me.shadaj" %%% "slinky-web" % "0.6.5", - "org.scalablytyped" %%% "react" % "16.9.2-6e1de1", + "org.scalablytyped" %%% "react" % "16.9.2-0bc26f", "org.scalablytyped" %%% "std" % "0.0-unknown-d0ed57") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-slinky/r/react-bootstrap/src/main/scala/typingsSlinky/reactBootstrap/components/ButtonGroup.scala b/tests/react-integration-test/check-slinky/r/react-bootstrap/src/main/scala/typingsSlinky/reactBootstrap/components/ButtonGroup.scala index 97d8dc3433..ea670e2876 100644 --- a/tests/react-integration-test/check-slinky/r/react-bootstrap/src/main/scala/typingsSlinky/reactBootstrap/components/ButtonGroup.scala +++ b/tests/react-integration-test/check-slinky/r/react-bootstrap/src/main/scala/typingsSlinky/reactBootstrap/components/ButtonGroup.scala @@ -253,6 +253,8 @@ object ButtonGroup { @scala.inline def defaultChecked(value: Boolean): this.type = set("defaultChecked", value.asInstanceOf[js.Any]) @scala.inline + def defaultValueVarargs(value: String*): this.type = set("defaultValue", js.Array(value :_*)) + @scala.inline def defaultValue(value: String | js.Array[String]): this.type = set("defaultValue", value.asInstanceOf[js.Any]) @scala.inline def defer(value: Boolean): this.type = set("defer", value.asInstanceOf[js.Any]) @@ -633,6 +635,8 @@ object ButtonGroup { @scala.inline def useMap(value: String): this.type = set("useMap", value.asInstanceOf[js.Any]) @scala.inline + def valueVarargs(value: String*): this.type = set("value", js.Array(value :_*)) + @scala.inline def value(value: String | js.Array[String] | Double): this.type = set("value", value.asInstanceOf[js.Any]) @scala.inline def vertical(value: Boolean): this.type = set("vertical", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky/r/react-contextmenu/build.sbt b/tests/react-integration-test/check-slinky/r/react-contextmenu/build.sbt index 1b19cdf061..291d0cddf0 100644 --- a/tests/react-integration-test/check-slinky/r/react-contextmenu/build.sbt +++ b/tests/react-integration-test/check-slinky/r/react-contextmenu/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react-contextmenu" -version := "2.13.0-f13a2c" +version := "2.13.0-466496" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "me.shadaj" %%% "slinky-web" % "0.6.5", - "org.scalablytyped" %%% "react" % "16.9.2-6e1de1", + "org.scalablytyped" %%% "react" % "16.9.2-0bc26f", "org.scalablytyped" %%% "std" % "0.0-unknown-d0ed57") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-slinky/r/react-dropzone/build.sbt b/tests/react-integration-test/check-slinky/r/react-dropzone/build.sbt index b9998efb5e..0cb3140b9c 100644 --- a/tests/react-integration-test/check-slinky/r/react-dropzone/build.sbt +++ b/tests/react-integration-test/check-slinky/r/react-dropzone/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react-dropzone" -version := "10.1.10-0aa583" +version := "10.1.10-4d0467" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "me.shadaj" %%% "slinky-web" % "0.6.5", - "org.scalablytyped" %%% "react" % "16.9.2-6e1de1", + "org.scalablytyped" %%% "react" % "16.9.2-0bc26f", "org.scalablytyped" %%% "std" % "0.0-unknown-d0ed57") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-slinky/r/react-dropzone/src/main/scala/typingsSlinky/reactDropzone/components/ReactDropzone.scala b/tests/react-integration-test/check-slinky/r/react-dropzone/src/main/scala/typingsSlinky/reactDropzone/components/ReactDropzone.scala index 513a89e290..c1e7ea11bd 100644 --- a/tests/react-integration-test/check-slinky/r/react-dropzone/src/main/scala/typingsSlinky/reactDropzone/components/ReactDropzone.scala +++ b/tests/react-integration-test/check-slinky/r/react-dropzone/src/main/scala/typingsSlinky/reactDropzone/components/ReactDropzone.scala @@ -25,6 +25,8 @@ object ReactDropzone { extends AnyVal with StBuildingComponent[tag.type, Ref[js.Any] with js.Object] { @scala.inline + def acceptVarargs(value: String*): this.type = set("accept", js.Array(value :_*)) + @scala.inline def accept(value: String | js.Array[String]): this.type = set("accept", value.asInstanceOf[js.Any]) @scala.inline def children(value: /* state */ DropzoneState => ReactElement): this.type = set("children", js.Any.fromFunction1(value)) diff --git a/tests/react-integration-test/check-slinky/r/react-dropzone/src/main/scala/typingsSlinky/reactDropzone/mod/DropzoneOptions.scala b/tests/react-integration-test/check-slinky/r/react-dropzone/src/main/scala/typingsSlinky/reactDropzone/mod/DropzoneOptions.scala index ad6a138f1f..324466f3e5 100644 --- a/tests/react-integration-test/check-slinky/r/react-dropzone/src/main/scala/typingsSlinky/reactDropzone/mod/DropzoneOptions.scala +++ b/tests/react-integration-test/check-slinky/r/react-dropzone/src/main/scala/typingsSlinky/reactDropzone/mod/DropzoneOptions.scala @@ -80,6 +80,8 @@ object DropzoneOptions { x } @scala.inline + def setAcceptVarargs(value: String*): Self = this.set("accept", js.Array(value :_*)) + @scala.inline def setAccept(value: String | js.Array[String]): Self = this.set("accept", value.asInstanceOf[js.Any]) @scala.inline def deleteAccept: Self = this.set("accept", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react-select/build.sbt b/tests/react-integration-test/check-slinky/r/react-select/build.sbt index 494a060fb4..5bd0890262 100644 --- a/tests/react-integration-test/check-slinky/r/react-select/build.sbt +++ b/tests/react-integration-test/check-slinky/r/react-select/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "react-select" -version := "0.0-unknown-4f112d" +version := "0.0-unknown-509741" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "me.shadaj" %%% "slinky-web" % "0.6.5", - "org.scalablytyped" %%% "react" % "16.9.2-6e1de1", + "org.scalablytyped" %%% "react" % "16.9.2-0bc26f", "org.scalablytyped" %%% "std" % "0.0-unknown-d0ed57") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-slinky/r/react/build.sbt b/tests/react-integration-test/check-slinky/r/react/build.sbt index 87775c5d43..c553d61a46 100644 --- a/tests/react-integration-test/check-slinky/r/react/build.sbt +++ b/tests/react-integration-test/check-slinky/r/react/build.sbt @@ -1,6 +1,6 @@ organization := "org.scalablytyped" name := "react" -version := "16.9.2-6e1de1" +version := "16.9.2-0bc26f" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/AllHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/AllHTMLAttributes.scala index ec832d05e0..d9f3e39c1f 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/AllHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/AllHTMLAttributes.scala @@ -536,6 +536,8 @@ object AllHTMLAttributes { @scala.inline def deleteUseMap: Self = this.set("useMap", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ButtonHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ButtonHTMLAttributes.scala index f926093d25..3265c428a6 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ButtonHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ButtonHTMLAttributes.scala @@ -80,6 +80,8 @@ object ButtonHTMLAttributes { @scala.inline def deleteType: Self = this.set("type", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/DataHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/DataHTMLAttributes.scala index 0232170971..6c3448db53 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/DataHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/DataHTMLAttributes.scala @@ -27,6 +27,8 @@ object DataHTMLAttributes { x } @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/HTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/HTMLAttributes.scala index 447156b332..ef089fc24b 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/HTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/HTMLAttributes.scala @@ -124,6 +124,8 @@ object HTMLAttributes { @scala.inline def deleteDefaultChecked: Self = this.set("defaultChecked", js.undefined) @scala.inline + def setDefaultValueVarargs(value: String*): Self = this.set("defaultValue", js.Array(value :_*)) + @scala.inline def setDefaultValue(value: String | js.Array[String]): Self = this.set("defaultValue", value.asInstanceOf[js.Any]) @scala.inline def deleteDefaultValue: Self = this.set("defaultValue", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/InputHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/InputHTMLAttributes.scala index 9a8dedee75..c48d924e72 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/InputHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/InputHTMLAttributes.scala @@ -180,6 +180,8 @@ object InputHTMLAttributes { @scala.inline def deleteType: Self = this.set("type", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/LiHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/LiHTMLAttributes.scala index 90de88bad9..a687b049d6 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/LiHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/LiHTMLAttributes.scala @@ -27,6 +27,8 @@ object LiHTMLAttributes { x } @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/MeterHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/MeterHTMLAttributes.scala index 746ea63f88..6e71178759 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/MeterHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/MeterHTMLAttributes.scala @@ -57,6 +57,8 @@ object MeterHTMLAttributes { @scala.inline def deleteOptimum: Self = this.set("optimum", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/Mixin.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/Mixin.scala index e1b208af99..bf7e500541 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/Mixin.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/Mixin.scala @@ -56,6 +56,8 @@ object Mixin { @scala.inline def deleteGetInitialState: Self = this.set("getInitialState", js.undefined) @scala.inline + def setMixinsVarargs(value: (Mixin[P, S])*): Self = this.set("mixins", js.Array(value :_*)) + @scala.inline def setMixins(value: js.Array[Mixin[P, S]]): Self = this.set("mixins", value.asInstanceOf[js.Any]) @scala.inline def deleteMixins: Self = this.set("mixins", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/OptionHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/OptionHTMLAttributes.scala index bcece09367..eb73cb358d 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/OptionHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/OptionHTMLAttributes.scala @@ -42,6 +42,8 @@ object OptionHTMLAttributes { @scala.inline def deleteSelected: Self = this.set("selected", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ParamHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ParamHTMLAttributes.scala index 67ec2da37a..74b4f0e04d 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ParamHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ParamHTMLAttributes.scala @@ -32,6 +32,8 @@ object ParamHTMLAttributes { @scala.inline def deleteName: Self = this.set("name", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ProgressHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ProgressHTMLAttributes.scala index c95f85c735..2253eb5473 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ProgressHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/ProgressHTMLAttributes.scala @@ -32,6 +32,8 @@ object ProgressHTMLAttributes { @scala.inline def deleteMax: Self = this.set("max", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/SelectHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/SelectHTMLAttributes.scala index 1f9db2f72b..a2f8e906db 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/SelectHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/SelectHTMLAttributes.scala @@ -73,6 +73,8 @@ object SelectHTMLAttributes { @scala.inline def deleteSize: Self = this.set("size", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/TextareaHTMLAttributes.scala b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/TextareaHTMLAttributes.scala index a6ae32d2ea..3d9f8389ce 100644 --- a/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/TextareaHTMLAttributes.scala +++ b/tests/react-integration-test/check-slinky/r/react/src/main/scala/typingsSlinky/react/mod/TextareaHTMLAttributes.scala @@ -94,6 +94,8 @@ object TextareaHTMLAttributes { @scala.inline def deleteRows: Self = this.set("rows", js.undefined) @scala.inline + def setValueVarargs(value: String*): Self = this.set("value", js.Array(value :_*)) + @scala.inline def setValue(value: String | js.Array[String] | Double): Self = this.set("value", value.asInstanceOf[js.Any]) @scala.inline def deleteValue: Self = this.set("value", js.undefined) diff --git a/tests/react-integration-test/check-slinky/s/semantic-ui-react/build.sbt b/tests/react-integration-test/check-slinky/s/semantic-ui-react/build.sbt index c1461f14e9..3e4bb55c3c 100644 --- a/tests/react-integration-test/check-slinky/s/semantic-ui-react/build.sbt +++ b/tests/react-integration-test/check-slinky/s/semantic-ui-react/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "semantic-ui-react" -version := "0.0-unknown-07ef29" +version := "0.0-unknown-2962e6" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "me.shadaj" %%% "slinky-web" % "0.6.5", - "org.scalablytyped" %%% "react" % "16.9.2-6e1de1", + "org.scalablytyped" %%% "react" % "16.9.2-0bc26f", "org.scalablytyped" %%% "std" % "0.0-unknown-d0ed57") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/accordionAccordionAccordionMod/StrictAccordionAccordionProps.scala b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/accordionAccordionAccordionMod/StrictAccordionAccordionProps.scala index a5cb387cf5..0dd68f8611 100644 --- a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/accordionAccordionAccordionMod/StrictAccordionAccordionProps.scala +++ b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/accordionAccordionAccordionMod/StrictAccordionAccordionProps.scala @@ -6,6 +6,7 @@ import slinky.web.SyntheticMouseEvent import typingsSlinky.semanticUiReact.accordionPanelMod.AccordionPanelProps import typingsSlinky.semanticUiReact.accordionTitleMod.AccordionTitleProps import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandCollection +import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandItem import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ @@ -59,6 +60,8 @@ object StrictAccordionAccordionProps { x } @scala.inline + def setActiveIndexVarargs(value: Double*): Self = this.set("activeIndex", js.Array(value :_*)) + @scala.inline def setActiveIndex(value: Double | js.Array[Double]): Self = this.set("activeIndex", value.asInstanceOf[js.Any]) @scala.inline def deleteActiveIndex: Self = this.set("activeIndex", js.undefined) @@ -77,6 +80,8 @@ object StrictAccordionAccordionProps { @scala.inline def deleteClassName: Self = this.set("className", js.undefined) @scala.inline + def setDefaultActiveIndexVarargs(value: Double*): Self = this.set("defaultActiveIndex", js.Array(value :_*)) + @scala.inline def setDefaultActiveIndex(value: Double | js.Array[Double]): Self = this.set("defaultActiveIndex", value.asInstanceOf[js.Any]) @scala.inline def deleteDefaultActiveIndex: Self = this.set("defaultActiveIndex", js.undefined) @@ -89,6 +94,8 @@ object StrictAccordionAccordionProps { @scala.inline def deleteOnTitleClick: Self = this.set("onTitleClick", js.undefined) @scala.inline + def setPanelsVarargs(value: SemanticShorthandItem[AccordionPanelProps]*): Self = this.set("panels", js.Array(value :_*)) + @scala.inline def setPanels(value: SemanticShorthandCollection[AccordionPanelProps]): Self = this.set("panels", value.asInstanceOf[js.Any]) @scala.inline def deletePanels: Self = this.set("panels", js.undefined) diff --git a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/buttonGroupMod/StrictButtonGroupProps.scala b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/buttonGroupMod/StrictButtonGroupProps.scala index 7826d2c018..cdc6e9f329 100644 --- a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/buttonGroupMod/StrictButtonGroupProps.scala +++ b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/buttonGroupMod/StrictButtonGroupProps.scala @@ -7,6 +7,7 @@ import typingsSlinky.semanticUiReact.genericMod.SemanticFLOATS import typingsSlinky.semanticUiReact.genericMod.SemanticSIZES import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandCollection import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandContent +import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandItem import typingsSlinky.semanticUiReact.genericMod.SemanticWIDTHS import typingsSlinky.semanticUiReact.semanticUiReactStrings.bottom import typingsSlinky.semanticUiReact.semanticUiReactStrings.left @@ -94,6 +95,8 @@ object StrictButtonGroupProps { @scala.inline def deleteBasic: Self = this.set("basic", js.undefined) @scala.inline + def setButtonsVarargs(value: SemanticShorthandItem[ButtonProps]*): Self = this.set("buttons", js.Array(value :_*)) + @scala.inline def setButtons(value: SemanticShorthandCollection[ButtonProps]): Self = this.set("buttons", value.asInstanceOf[js.Any]) @scala.inline def deleteButtons: Self = this.set("buttons", js.undefined) diff --git a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Accordion.scala b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Accordion.scala index 8e97db397e..2082f5c44f 100644 --- a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Accordion.scala +++ b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Accordion.scala @@ -9,6 +9,7 @@ import typingsSlinky.semanticUiReact.accordionMod.default import typingsSlinky.semanticUiReact.accordionPanelMod.AccordionPanelProps import typingsSlinky.semanticUiReact.accordionTitleMod.AccordionTitleProps import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandCollection +import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandItem import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ @@ -23,12 +24,16 @@ object Accordion { extends AnyVal with StBuildingComponent[tag.type, default] { @scala.inline + def activeIndexVarargs(value: Double*): this.type = set("activeIndex", js.Array(value :_*)) + @scala.inline def activeIndex(value: Double | js.Array[Double]): this.type = set("activeIndex", value.asInstanceOf[js.Any]) @scala.inline def as(value: js.Any): this.type = set("as", value.asInstanceOf[js.Any]) @scala.inline def className(value: String): this.type = set("className", value.asInstanceOf[js.Any]) @scala.inline + def defaultActiveIndexVarargs(value: Double*): this.type = set("defaultActiveIndex", js.Array(value :_*)) + @scala.inline def defaultActiveIndex(value: Double | js.Array[Double]): this.type = set("defaultActiveIndex", value.asInstanceOf[js.Any]) @scala.inline def exclusive(value: Boolean): this.type = set("exclusive", value.asInstanceOf[js.Any]) @@ -39,6 +44,8 @@ object Accordion { @scala.inline def onTitleClick(value: (/* event */ SyntheticMouseEvent[HTMLDivElement], /* data */ AccordionTitleProps) => Unit): this.type = set("onTitleClick", js.Any.fromFunction2(value)) @scala.inline + def panelsVarargs(value: SemanticShorthandItem[AccordionPanelProps]*): this.type = set("panels", js.Array(value :_*)) + @scala.inline def panels(value: SemanticShorthandCollection[AccordionPanelProps]): this.type = set("panels", value.asInstanceOf[js.Any]) @scala.inline def styled(value: Boolean): this.type = set("styled", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/AccordionAccordion.scala b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/AccordionAccordion.scala index 5427a1bdef..2ad19c35ab 100644 --- a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/AccordionAccordion.scala +++ b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/AccordionAccordion.scala @@ -9,6 +9,7 @@ import typingsSlinky.semanticUiReact.accordionAccordionAccordionMod.default import typingsSlinky.semanticUiReact.accordionPanelMod.AccordionPanelProps import typingsSlinky.semanticUiReact.accordionTitleMod.AccordionTitleProps import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandCollection +import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandItem import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ @@ -23,18 +24,24 @@ object AccordionAccordion { extends AnyVal with StBuildingComponent[tag.type, default] { @scala.inline + def activeIndexVarargs(value: Double*): this.type = set("activeIndex", js.Array(value :_*)) + @scala.inline def activeIndex(value: Double | js.Array[Double]): this.type = set("activeIndex", value.asInstanceOf[js.Any]) @scala.inline def as(value: js.Any): this.type = set("as", value.asInstanceOf[js.Any]) @scala.inline def className(value: String): this.type = set("className", value.asInstanceOf[js.Any]) @scala.inline + def defaultActiveIndexVarargs(value: Double*): this.type = set("defaultActiveIndex", js.Array(value :_*)) + @scala.inline def defaultActiveIndex(value: Double | js.Array[Double]): this.type = set("defaultActiveIndex", value.asInstanceOf[js.Any]) @scala.inline def exclusive(value: Boolean): this.type = set("exclusive", value.asInstanceOf[js.Any]) @scala.inline def onTitleClick(value: (/* event */ SyntheticMouseEvent[HTMLDivElement], /* data */ AccordionTitleProps) => Unit): this.type = set("onTitleClick", js.Any.fromFunction2(value)) @scala.inline + def panelsVarargs(value: SemanticShorthandItem[AccordionPanelProps]*): this.type = set("panels", js.Array(value :_*)) + @scala.inline def panels(value: SemanticShorthandCollection[AccordionPanelProps]): this.type = set("panels", value.asInstanceOf[js.Any]) } diff --git a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Button.scala b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Button.scala index 50a2d4a204..03fba90db8 100644 --- a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Button.scala +++ b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Button.scala @@ -236,6 +236,8 @@ object Button { @scala.inline def defaultChecked(value: Boolean): this.type = set("defaultChecked", value.asInstanceOf[js.Any]) @scala.inline + def defaultValueVarargs(value: String*): this.type = set("defaultValue", js.Array(value :_*)) + @scala.inline def defaultValue(value: String | js.Array[String]): this.type = set("defaultValue", value.asInstanceOf[js.Any]) @scala.inline def dir(value: String): this.type = set("dir", value.asInstanceOf[js.Any]) @@ -524,6 +526,8 @@ object Button { @scala.inline def unselectable(value: on | off): this.type = set("unselectable", value.asInstanceOf[js.Any]) @scala.inline + def valueVarargs(value: String*): this.type = set("value", js.Array(value :_*)) + @scala.inline def value(value: String | js.Array[String] | Double): this.type = set("value", value.asInstanceOf[js.Any]) @scala.inline def vocab(value: String): this.type = set("vocab", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/ButtonGroup.scala b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/ButtonGroup.scala index cf8ec48958..392c205b97 100644 --- a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/ButtonGroup.scala +++ b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/ButtonGroup.scala @@ -10,6 +10,7 @@ import typingsSlinky.semanticUiReact.genericMod.SemanticFLOATS import typingsSlinky.semanticUiReact.genericMod.SemanticSIZES import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandCollection import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandContent +import typingsSlinky.semanticUiReact.genericMod.SemanticShorthandItem import typingsSlinky.semanticUiReact.genericMod.SemanticWIDTHS import typingsSlinky.semanticUiReact.semanticUiReactStrings.bottom import typingsSlinky.semanticUiReact.semanticUiReactStrings.left @@ -35,6 +36,8 @@ object ButtonGroup { @scala.inline def basic(value: Boolean): this.type = set("basic", value.asInstanceOf[js.Any]) @scala.inline + def buttonsVarargs(value: SemanticShorthandItem[ButtonProps]*): this.type = set("buttons", js.Array(value :_*)) + @scala.inline def buttons(value: SemanticShorthandCollection[ButtonProps]): this.type = set("buttons", value.asInstanceOf[js.Any]) @scala.inline def className(value: String): this.type = set("className", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Input.scala b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Input.scala index 887cc65733..6fcf9f7431 100644 --- a/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Input.scala +++ b/tests/react-integration-test/check-slinky/s/semantic-ui-react/src/main/scala/typingsSlinky/semanticUiReact/components/Input.scala @@ -230,6 +230,8 @@ object Input { @scala.inline def defaultChecked(value: Boolean): this.type = set("defaultChecked", value.asInstanceOf[js.Any]) @scala.inline + def defaultValueVarargs(value: String*): this.type = set("defaultValue", js.Array(value :_*)) + @scala.inline def defaultValue(value: String | js.Array[String]): this.type = set("defaultValue", value.asInstanceOf[js.Any]) @scala.inline def dir(value: String): this.type = set("dir", value.asInstanceOf[js.Any]) @@ -540,6 +542,8 @@ object Input { @scala.inline def unselectable(value: on | off): this.type = set("unselectable", value.asInstanceOf[js.Any]) @scala.inline + def valueVarargs(value: String*): this.type = set("value", js.Array(value :_*)) + @scala.inline def value(value: String | js.Array[String] | Double): this.type = set("value", value.asInstanceOf[js.Any]) @scala.inline def vocab(value: String): this.type = set("vocab", value.asInstanceOf[js.Any]) diff --git a/tests/react-integration-test/check-slinky/s/stardust-ui__react-component-event-listener/build.sbt b/tests/react-integration-test/check-slinky/s/stardust-ui__react-component-event-listener/build.sbt index 8341c065ca..643efe37b3 100644 --- a/tests/react-integration-test/check-slinky/s/stardust-ui__react-component-event-listener/build.sbt +++ b/tests/react-integration-test/check-slinky/s/stardust-ui__react-component-event-listener/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "stardust-ui__react-component-event-listener" -version := "0.38.0-14ed72" +version := "0.38.0-a33d99" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "me.shadaj" %%% "slinky-web" % "0.6.5", - "org.scalablytyped" %%% "react" % "16.9.2-6e1de1", + "org.scalablytyped" %%% "react" % "16.9.2-0bc26f", "org.scalablytyped" %%% "std" % "0.0-unknown-d0ed57") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/react-integration-test/check-slinky/s/stardust-ui__react-component-ref/build.sbt b/tests/react-integration-test/check-slinky/s/stardust-ui__react-component-ref/build.sbt index 4b85e0de22..4fd4156bf1 100644 --- a/tests/react-integration-test/check-slinky/s/stardust-ui__react-component-ref/build.sbt +++ b/tests/react-integration-test/check-slinky/s/stardust-ui__react-component-ref/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "stardust-ui__react-component-ref" -version := "0.38.0-23e355" +version := "0.38.0-8f50dd" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "me.shadaj" %%% "slinky-web" % "0.6.5", - "org.scalablytyped" %%% "react" % "16.9.2-6e1de1", + "org.scalablytyped" %%% "react" % "16.9.2-0bc26f", "org.scalablytyped" %%% "std" % "0.0-unknown-d0ed57") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/typings-json/check/p/phaser/build.sbt b/tests/typings-json/check/p/phaser/build.sbt index 848b57ec3b..71f7a4c0c9 100644 --- a/tests/typings-json/check/p/phaser/build.sbt +++ b/tests/typings-json/check/p/phaser/build.sbt @@ -1,6 +1,6 @@ organization := "org.scalablytyped" name := "phaser" -version := "2.6.2-1dd8e8" +version := "2.6.2-743033" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( diff --git a/tests/typings-json/check/p/phaser/src/main/scala/typings/phaser/anon/LowerBound.scala b/tests/typings-json/check/p/phaser/src/main/scala/typings/phaser/anon/LowerBound.scala index 140acddefb..2a9c4e7317 100644 --- a/tests/typings-json/check/p/phaser/src/main/scala/typings/phaser/anon/LowerBound.scala +++ b/tests/typings-json/check/p/phaser/src/main/scala/typings/phaser/anon/LowerBound.scala @@ -28,10 +28,14 @@ object LowerBound { x } @scala.inline + def setLowerBoundVarargs(value: Double*): Self = this.set("lowerBound", js.Array(value :_*)) + @scala.inline def setLowerBound(value: js.Array[Double]): Self = this.set("lowerBound", value.asInstanceOf[js.Any]) @scala.inline def deleteLowerBound: Self = this.set("lowerBound", js.undefined) @scala.inline + def setUpperBoundVarargs(value: Double*): Self = this.set("upperBound", js.Array(value :_*)) + @scala.inline def setUpperBound(value: js.Array[Double]): Self = this.set("upperBound", value.asInstanceOf[js.Any]) @scala.inline def deleteUpperBound: Self = this.set("upperBound", js.undefined) diff --git a/tests/vue/check/s/storybook__vue/build.sbt b/tests/vue/check/s/storybook__vue/build.sbt index 486b8e6056..e084144804 100644 --- a/tests/vue/check/s/storybook__vue/build.sbt +++ b/tests/vue/check/s/storybook__vue/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "storybook__vue" -version := "3.3-574ffa" +version := "3.3-8ee65b" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "org.scalablytyped" %%% "std" % "0.0-unknown-61d151", - "org.scalablytyped" %%% "vue" % "2.5.13-e4e2e4", + "org.scalablytyped" %%% "vue" % "2.5.13-24184e", "org.scalablytyped" %%% "webpack-env" % "1.13-9fc148") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") diff --git a/tests/vue/check/s/storybook__vue/src/main/scala/typings/storybookVue/mod/StoryStore.scala b/tests/vue/check/s/storybook__vue/src/main/scala/typings/storybookVue/mod/StoryStore.scala index 430efef892..fdbbf9487f 100644 --- a/tests/vue/check/s/storybook__vue/src/main/scala/typings/storybookVue/mod/StoryStore.scala +++ b/tests/vue/check/s/storybook__vue/src/main/scala/typings/storybookVue/mod/StoryStore.scala @@ -31,6 +31,8 @@ object StoryStore { @scala.inline def setKind(value: String): Self = this.set("kind", value.asInstanceOf[js.Any]) @scala.inline + def setStoriesVarargs(value: StoryObject*): Self = this.set("stories", js.Array(value :_*)) + @scala.inline def setStories(value: js.Array[StoryObject]): Self = this.set("stories", value.asInstanceOf[js.Any]) @scala.inline def setFileName(value: String): Self = this.set("fileName", value.asInstanceOf[js.Any]) diff --git a/tests/vue/check/v/vue-scrollto/build.sbt b/tests/vue/check/v/vue-scrollto/build.sbt index d46a0acd88..6135852991 100644 --- a/tests/vue/check/v/vue-scrollto/build.sbt +++ b/tests/vue/check/v/vue-scrollto/build.sbt @@ -1,12 +1,12 @@ organization := "org.scalablytyped" name := "vue-scrollto" -version := "2.7-725236" +version := "2.7-e86c0a" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( "com.olvind" %%% "scalablytyped-runtime" % "2.1.0", "org.scalablytyped" %%% "std" % "0.0-unknown-61d151", - "org.scalablytyped" %%% "vue" % "2.5.13-e4e2e4") + "org.scalablytyped" %%% "vue" % "2.5.13-24184e") publishArtifact in packageDoc := false scalacOptions ++= List("-encoding", "utf-8", "-feature", "-g:notailcalls", "-language:implicitConversions", "-language:higherKinds", "-language:existentials") licenses += ("MIT", url("http://opensource.org/licenses/MIT")) diff --git a/tests/vue/check/v/vue/build.sbt b/tests/vue/check/v/vue/build.sbt index a4c6c85a8a..b25a01fa60 100644 --- a/tests/vue/check/v/vue/build.sbt +++ b/tests/vue/check/v/vue/build.sbt @@ -1,6 +1,6 @@ organization := "org.scalablytyped" name := "vue" -version := "2.5.13-e4e2e4" +version := "2.5.13-24184e" scalaVersion := "2.13.2" enablePlugins(ScalaJSPlugin) libraryDependencies ++= Seq( diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/anon/Render.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/anon/Render.scala index b3ceefa4c6..4f9cdca507 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/anon/Render.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/anon/Render.scala @@ -30,6 +30,8 @@ object Render { @scala.inline def setRender(value: js.Function): Self = this.set("render", value.asInstanceOf[js.Any]) @scala.inline + def setStaticRenderFnsVarargs(value: js.Function*): Self = this.set("staticRenderFns", js.Array(value :_*)) + @scala.inline def setStaticRenderFns(value: js.Array[js.Function]): Self = this.set("staticRenderFns", value.asInstanceOf[js.Any]) } diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/anon/StaticRenderFns.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/anon/StaticRenderFns.scala index ebfd4bb482..310ba2adf8 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/anon/StaticRenderFns.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/anon/StaticRenderFns.scala @@ -32,6 +32,8 @@ object StaticRenderFns { @scala.inline def setRender(value: CreateElement => VNode): Self = this.set("render", js.Any.fromFunction1(value)) @scala.inline + def setStaticRenderFnsVarargs(value: js.Function0[VNode]*): Self = this.set("staticRenderFns", js.Array(value :_*)) + @scala.inline def setStaticRenderFns(value: js.Array[js.Function0[VNode]]): Self = this.set("staticRenderFns", value.asInstanceOf[js.Any]) } diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/ComponentOptions.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/ComponentOptions.scala index 07926fd98d..86c028fa68 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/ComponentOptions.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/ComponentOptions.scala @@ -174,6 +174,8 @@ object ComponentOptions { @scala.inline def deleteInheritAttrs: Self = this.set("inheritAttrs", js.undefined) @scala.inline + def setInjectVarargs(value: String*): Self = this.set("inject", js.Array(value :_*)) + @scala.inline def setInject(value: InjectOptions): Self = this.set("inject", value.asInstanceOf[js.Any]) @scala.inline def deleteInject: Self = this.set("inject", js.undefined) @@ -182,6 +184,16 @@ object ComponentOptions { @scala.inline def deleteMethods: Self = this.set("methods", js.undefined) @scala.inline + def setMixinsVarargs( + value: ((ComponentOptions[ + Vue, + DefaultData[Vue], + DefaultMethods[Vue], + DefaultComputed, + PropsDefinition[DefaultProps] + ]) | VueConstructor[Vue])* + ): Self = this.set("mixins", js.Array(value :_*)) + @scala.inline def setMixins( value: js.Array[ (ComponentOptions[ @@ -234,6 +246,8 @@ object ComponentOptions { @scala.inline def deleteRenderError: Self = this.set("renderError", js.undefined) @scala.inline + def setStaticRenderFnsVarargs(value: (js.Function1[/* createElement */ CreateElement, VNode])*): Self = this.set("staticRenderFns", js.Array(value :_*)) + @scala.inline def setStaticRenderFns(value: js.Array[js.Function1[/* createElement */ CreateElement, VNode]]): Self = this.set("staticRenderFns", value.asInstanceOf[js.Any]) @scala.inline def deleteStaticRenderFns: Self = this.set("staticRenderFns", js.undefined) diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/FunctionalComponentOptions.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/FunctionalComponentOptions.scala index c0b8db68c7..823e2cb2c3 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/FunctionalComponentOptions.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/FunctionalComponentOptions.scala @@ -37,6 +37,8 @@ object FunctionalComponentOptions { @scala.inline def setRender(value: (CreateElement, RenderContext[Props]) => VNode): Self = this.set("render", js.Any.fromFunction2(value)) @scala.inline + def setInjectVarargs(value: String*): Self = this.set("inject", js.Array(value :_*)) + @scala.inline def setInject(value: InjectOptions): Self = this.set("inject", value.asInstanceOf[js.Any]) @scala.inline def deleteInject: Self = this.set("inject", js.undefined) diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/PropOptions.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/PropOptions.scala index d8ff68cbdc..1471c9003d 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/PropOptions.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/PropOptions.scala @@ -42,6 +42,8 @@ object PropOptions { @scala.inline def deleteRequired: Self = this.set("required", js.undefined) @scala.inline + def setTypeVarargs(value: Prop[T]*): Self = this.set("type", js.Array(value :_*)) + @scala.inline def setTypeFunction0(value: () => T): Self = this.set("type", js.Any.fromFunction0(value)) @scala.inline def setType(value: Prop[T] | js.Array[Prop[T]]): Self = this.set("type", value.asInstanceOf[js.Any]) diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/RenderContext.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/RenderContext.scala index 6bd9eab74c..493add3f09 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/RenderContext.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/optionsMod/RenderContext.scala @@ -42,6 +42,8 @@ object RenderContext { x } @scala.inline + def setChildrenVarargs(value: VNode*): Self = this.set("children", js.Array(value :_*)) + @scala.inline def setChildren(value: js.Array[VNode]): Self = this.set("children", value.asInstanceOf[js.Any]) @scala.inline def setData(value: VNodeData): Self = this.set("data", value.asInstanceOf[js.Any]) diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNode.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNode.scala index 22c0c79aef..9c4f1f1007 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNode.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNode.scala @@ -47,6 +47,8 @@ object VNode { @scala.inline def setIsRootInsert(value: Boolean): Self = this.set("isRootInsert", value.asInstanceOf[js.Any]) @scala.inline + def setChildrenVarargs(value: VNode*): Self = this.set("children", js.Array(value :_*)) + @scala.inline def setChildren(value: js.Array[VNode]): Self = this.set("children", value.asInstanceOf[js.Any]) @scala.inline def deleteChildren: Self = this.set("children", js.undefined) diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNodeComponentOptions.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNodeComponentOptions.scala index cf33f4c8ed..753ad063a5 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNodeComponentOptions.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNodeComponentOptions.scala @@ -35,6 +35,8 @@ object VNodeComponentOptions { @scala.inline def setCtor(value: VueConstructor[Vue]): Self = this.set("Ctor", value.asInstanceOf[js.Any]) @scala.inline + def setChildrenVarargs(value: ScopedSlot*): Self = this.set("children", js.Array(value :_*)) + @scala.inline def setChildren(value: VNodeChildren): Self = this.set("children", value.asInstanceOf[js.Any]) @scala.inline def deleteChildren: Self = this.set("children", js.undefined) diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNodeData.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNodeData.scala index 010d7568fb..3522c14baa 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNodeData.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/vnodeMod/VNodeData.scala @@ -56,6 +56,8 @@ object VNodeData { @scala.inline def deleteClass: Self = this.set("class", js.undefined) @scala.inline + def setDirectivesVarargs(value: VNodeDirective*): Self = this.set("directives", js.Array(value :_*)) + @scala.inline def setDirectives(value: js.Array[VNodeDirective]): Self = this.set("directives", value.asInstanceOf[js.Any]) @scala.inline def deleteDirectives: Self = this.set("directives", js.undefined) @@ -116,6 +118,8 @@ object VNodeData { @scala.inline def deleteStaticStyle: Self = this.set("staticStyle", js.undefined) @scala.inline + def setStyleVarargs(value: js.Object*): Self = this.set("style", js.Array(value :_*)) + @scala.inline def setStyle(value: js.Array[js.Object] | js.Object): Self = this.set("style", value.asInstanceOf[js.Any]) @scala.inline def deleteStyle: Self = this.set("style", js.undefined) diff --git a/tests/vue/check/v/vue/src/main/scala/typings/vue/vueMod/VueConfiguration.scala b/tests/vue/check/v/vue/src/main/scala/typings/vue/vueMod/VueConfiguration.scala index 009993adc8..bf44050d4f 100644 --- a/tests/vue/check/v/vue/src/main/scala/typings/vue/vueMod/VueConfiguration.scala +++ b/tests/vue/check/v/vue/src/main/scala/typings/vue/vueMod/VueConfiguration.scala @@ -52,6 +52,8 @@ object VueConfiguration { @scala.inline def setErrorHandler(value: (Error, Vue, String) => Unit): Self = this.set("errorHandler", js.Any.fromFunction3(value)) @scala.inline + def setIgnoredElementsVarargs(value: (String | RegExp)*): Self = this.set("ignoredElements", js.Array(value :_*)) + @scala.inline def setIgnoredElements(value: js.Array[String | RegExp]): Self = this.set("ignoredElements", value.asInstanceOf[js.Any]) @scala.inline def setKeyCodes(value: StringDictionary[Double | js.Array[Double]]): Self = this.set("keyCodes", value.asInstanceOf[js.Any])