Created
April 23, 2019 14:28
-
-
Save manuelvicnt/995246753ea1b150502b6f290cebab76 to your computer and use it in GitHub Desktop.
Adds devsite-heading to kotlinx-html-jvm-0.6.8 library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/generate/src/main/resources/i18Languages.xsd b/generate/src/main/resources/i18Languages.xsd | |
index 4e3fc1b..6825a20 100644 | |
--- a/generate/src/main/resources/i18Languages.xsd | |
+++ b/generate/src/main/resources/i18Languages.xsd | |
@@ -134,6 +134,7 @@ | |
<xsd:enumeration value="de-lu"/> | |
<xsd:enumeration value="del"/> | |
+ <xsd:enumeration value="dheading"/> | |
<xsd:enumeration value="den"/> | |
<xsd:enumeration value="dgr"/> | |
<xsd:enumeration value="din"/> | |
diff --git a/js/src/main/kotlin/generated/gen-consumer-tags-js.kt b/js/src/main/kotlin/generated/gen-consumer-tags-js.kt | |
index 71c9248..99702af 100644 | |
--- a/js/src/main/kotlin/generated/gen-consumer-tags-js.kt | |
+++ b/js/src/main/kotlin/generated/gen-consumer-tags-js.kt | |
@@ -61,6 +61,8 @@ public fun TagConsumer<HTMLElement>.dd(classes : String? = null, block : DD.() - | |
public fun TagConsumer<HTMLElement>.del(classes : String? = null, block : DEL.() -> Unit = {}) : HTMLElement = DEL(attributesMapOf("class", classes), this).visitAndFinalize(this, block) | |
+public fun TagConsumer<HTMLElement>.dheading(classes : String? = null, block : DHEADING.() -> Unit = {}) : HTMLElement = DHEADING(attributesMapOf("class", classes), this).visitAndFinalize(this, block) | |
+ | |
public fun TagConsumer<HTMLElement>.details(classes : String? = null, block : DETAILS.() -> Unit = {}) : HTMLDetailsElement = DETAILS(attributesMapOf("class", classes), this).visitAndFinalize(this, block) as HTMLDetailsElement | |
public fun TagConsumer<HTMLElement>.dfn(classes : String? = null, block : DFN.() -> Unit = {}) : HTMLElement = DFN(attributesMapOf("class", classes), this).visitAndFinalize(this, block) | |
diff --git a/shared/src/main/kotlin/generated/gen-consumer-tags.kt b/shared/src/main/kotlin/generated/gen-consumer-tags.kt | |
index abf93ed..e4273cf 100644 | |
--- a/shared/src/main/kotlin/generated/gen-consumer-tags.kt | |
+++ b/shared/src/main/kotlin/generated/gen-consumer-tags.kt | |
@@ -60,6 +60,8 @@ fun <T, C : TagConsumer<T>> C.dd(classes : String? = null, block : DD.() -> Unit | |
fun <T, C : TagConsumer<T>> C.del(classes : String? = null, block : DEL.() -> Unit = {}) : T = DEL(attributesMapOf("class", classes), this).visitAndFinalize(this, block) | |
+fun <T, C : TagConsumer<T>> C.dheading(classes : String? = null, block : DHEADING.() -> Unit = {}) : T = DHEADING(attributesMapOf("class", classes), this).visitAndFinalize(this, block) | |
+ | |
fun <T, C : TagConsumer<T>> C.details(classes : String? = null, block : DETAILS.() -> Unit = {}) : T = DETAILS(attributesMapOf("class", classes), this).visitAndFinalize(this, block) | |
fun <T, C : TagConsumer<T>> C.dfn(classes : String? = null, block : DFN.() -> Unit = {}) : T = DFN(attributesMapOf("class", classes), this).visitAndFinalize(this, block) | |
diff --git a/shared/src/main/kotlin/generated/gen-tag-unions.kt b/shared/src/main/kotlin/generated/gen-tag-unions.kt | |
index 49e11ed..9b9ca7b 100644 | |
--- a/shared/src/main/kotlin/generated/gen-tag-unions.kt | |
+++ b/shared/src/main/kotlin/generated/gen-tag-unions.kt | |
@@ -83,6 +83,8 @@ fun FlowOrPhrasingContent.dataList(classes : String? = null, block : DATALIST.() | |
fun FlowOrPhrasingContent.del(classes : String? = null, block : DEL.() -> Unit = {}) : Unit = DEL(attributesMapOf("class", classes), consumer).visit(block) | |
+fun FlowOrPhrasingContent.dheading(classes : String? = null, block : DHEADING.() -> Unit = {}) : Unit = DHEADING(attributesMapOf("class", classes), consumer).visit(block) | |
+ | |
fun FlowOrPhrasingContent.dfn(classes : String? = null, block : DFN.() -> Unit = {}) : Unit = DFN(attributesMapOf("class", classes), consumer).visit(block) | |
fun FlowOrPhrasingContent.em(classes : String? = null, block : EM.() -> Unit = {}) : Unit = EM(attributesMapOf("class", classes), consumer).visit(block) | |
diff --git a/shared/src/main/kotlin/generated/gen-tags-d.kt b/shared/src/main/kotlin/generated/gen-tags-d.kt | |
index 583aa62..7869e50 100644 | |
--- a/shared/src/main/kotlin/generated/gen-tags-d.kt | |
+++ b/shared/src/main/kotlin/generated/gen-tags-d.kt | |
@@ -29,7 +29,7 @@ open class DD(initialAttributes : Map<String, String>, override val consumer : T | |
} | |
@Suppress("unused") | |
-open class DEL(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("del", consumer, initialAttributes, null, false, false), HtmlBlockInlineTag { | |
+open class DEL(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("del", consumer, initialAttributes, null, true, false), HtmlBlockInlineTag { | |
var cite : String | |
get() = attributeStringString.get(this, "cite") | |
set(newValue) {attributeStringString.set(this, "cite", newValue)} | |
@@ -46,7 +46,6 @@ val DEL.asFlowContent : FlowContent | |
val DEL.asPhrasingContent : PhrasingContent | |
get() = this | |
- | |
@Suppress("unused") | |
open class DETAILS(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("details", consumer, initialAttributes, null, false, false), CommonAttributeGroupFacadeFlowInteractiveContent { | |
var open : Boolean | |
@@ -74,6 +73,10 @@ val DFN.asFlowContent : FlowContent | |
val DFN.asPhrasingContent : PhrasingContent | |
get() = this | |
+@Suppress("unused") | |
+open class DHEADING(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("devsite-heading", consumer, initialAttributes, null, false, false), HtmlBlockTag { | |
+ | |
+} | |
@Suppress("unused") | |
open class DIALOG(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("dialog", consumer, initialAttributes, null, false, false), HtmlBlockTag { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment