Skip to content

Commit

Permalink
SVG. Non-sealed classes [generated]
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky committed Sep 22, 2024
1 parent c30fdd7 commit b9ef6a6
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 15 deletions.
3 changes: 2 additions & 1 deletion kotlin-browser/src/jsMain/generated/web/svg/SVGAngle.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle)
*/
sealed external class SVGAngle {
external class SVGAngle
private constructor() {
val unitType: UnitType
var value: Float
var valueAsString: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedAngle)
*/
sealed external class SVGAnimatedAngle {
external class SVGAnimatedAngle
private constructor() {
val animVal: SVGAngle
val baseVal: SVGAngle
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean)
*/
sealed external class SVGAnimatedBoolean {
external class SVGAnimatedBoolean
private constructor() {
val animVal: Boolean
var baseVal: Boolean
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration)
*/
sealed external class SVGAnimatedEnumeration<T> {
external class SVGAnimatedEnumeration<T>
private constructor() {
/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger)
*/
sealed external class SVGAnimatedInteger {
external class SVGAnimatedInteger
private constructor() {
val animVal: Int
var baseVal: Int
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength)
*/
sealed external class SVGAnimatedLength {
external class SVGAnimatedLength
private constructor() {
/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumber)
*/
sealed external class SVGAnimatedNumber {
external class SVGAnimatedNumber
private constructor() {
val animVal: Float
var baseVal: Float
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio)
*/
sealed external class SVGAnimatedPreserveAspectRatio {
external class SVGAnimatedPreserveAspectRatio
private constructor() {
val animVal: SVGPreserveAspectRatio
val baseVal: SVGPreserveAspectRatio
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import web.geometry.DOMRectReadOnly
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect)
*/
sealed external class SVGAnimatedRect {
external class SVGAnimatedRect
private constructor() {
val animVal: DOMRectReadOnly
val baseVal: DOMRect
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString)
*/
sealed external class SVGAnimatedString {
external class SVGAnimatedString
private constructor() {
/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/animVal)
*/
Expand Down
3 changes: 2 additions & 1 deletion kotlin-browser/src/jsMain/generated/web/svg/SVGLength.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLength)
*/
sealed external class SVGLength {
external class SVGLength
private constructor() {
val unitType: UnitType
var value: Float
var valueAsString: String
Expand Down
3 changes: 2 additions & 1 deletion kotlin-browser/src/jsMain/generated/web/svg/SVGNumber.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumber)
*/
sealed external class SVGNumber {
external class SVGNumber
private constructor() {
var value: Float
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPreserveAspectRatio)
*/
sealed external class SVGPreserveAspectRatio {
external class SVGPreserveAspectRatio
private constructor() {
var align: Align
var meetOrSlice: MeetOrSlice
val SVG_PRESERVEASPECTRATIO_UNKNOWN: Align
Expand Down
3 changes: 2 additions & 1 deletion kotlin-browser/src/jsMain/generated/web/svg/SVGTransform.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import web.geometry.DOMMatrixReadOnly
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform)
*/
sealed external class SVGTransform {
external class SVGTransform
private constructor() {
val angle: Float
val matrix: DOMMatrix
val type: Type
Expand Down
3 changes: 2 additions & 1 deletion kotlin-browser/src/jsMain/generated/web/svg/SVGUnitTypes.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package web.svg
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGUnitTypes)
*/
sealed external class SVGUnitTypes {
external class SVGUnitTypes
private constructor() {
val SVG_UNIT_TYPE_UNKNOWN: Type
val SVG_UNIT_TYPE_USERSPACEONUSE: Type
val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Type
Expand Down

0 comments on commit b9ef6a6

Please sign in to comment.