@@ -31,7 +31,7 @@ export type elementEventHandlerAttribute = typeof elementEventHandlerAttributesB
3131
3232// list of all default element attributes
3333export const defaultElementAttributes = [
34- "accesskey" , "class" , "contenteditable" , "contextmenu" , "dir" , "draggable" , "dropzone" , "hidden" , "id" , "lang" , "spellcheck" , "style" , "tabindex" , "title" ,
34+ "accesskey" , "class" , "contenteditable" , "contextmenu" , "dir" , "draggable" , "dropzone" , "hidden" , "id" , "lang" , "spellcheck" , "style" , "tabindex" , "title" , "popover" ,
3535 "role" , "name" , "slot" ,
3636 // uix specific
3737 "uix-module" , "uix-title" , "stylesheet" ,
@@ -138,8 +138,8 @@ export const htmlElementAttributes = {
138138 script : [ ...src , "type" , "async" , "defer" , "nomodule" , "crossorigin" , "integrity" , "referrerpolicy" ] ,
139139
140140 progress : [ "value" , "max" , "min" ] ,
141- input : [ ...input , alt , ...src , alt , ...widthAndHeight , "min" , "minlength" , "accept" , "autocomplete" , "autofocus" , "checked" , "dirname" , "disabled" , "form" , "formaction" , "formenctype" , "formmethod" , "formnovalidate" , "formtarget" , "list" , "max" , "maxlength" , "multiple" , "name" , "pattern" , "placeholder" , "readonly" , "required" , "size" , "step" , "type" , "value" , "value:out" , "value:in" , "value:selected" ] ,
142- button : [ "type" , "disabled" , "form" ] ,
141+ input : [ "popovertargetaction" , "popovertarget" , ...input , alt , ...src , alt , ...widthAndHeight , "min" , "minlength" , "accept" , "autocomplete" , "autofocus" , "checked" , "dirname" , "disabled" , "form" , "formaction" , "formenctype" , "formmethod" , "formnovalidate" , "formtarget" , "list" , "max" , "maxlength" , "multiple" , "name" , "pattern" , "placeholder" , "readonly" , "required" , "size" , "step" , "type" , "value" , "value:out" , "value:in" , "value:selected" ] ,
142+ button : [ "popovertargetaction" , "popovertarget" , " type", "disabled" , "form" ] ,
143143 form : [ "method" , "enctype" , "action" , "rel" ] ,
144144 img : [ alt , ...src , ...widthAndHeight , "border" , "crossorigin" , "ismap" , "loading" , "longdesc" , "referrerpolicy" , "sizes" , "srcset" , "usemap" ] ,
145145 template : [ "shadowrootmode" ] ,
@@ -184,6 +184,8 @@ export type htmlElementAttributeValues = {
184184 step : htmlNumber ,
185185 type : "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week" ,
186186
187+ popovertarget : string ,
188+ popovertargetaction : string ,
187189 value : primitive | Time ,
188190 "value:out" : primitive | Time ,
189191 "value:in" : primitive | Time ,
@@ -231,7 +233,9 @@ export type htmlElementAttributeValues = {
231233
232234 button : {
233235 type : "button" | "submit" | "reset" ,
234- disabled : boolean
236+ disabled : boolean ,
237+ popovertarget : string ,
238+ popovertargetaction : string
235239 } ,
236240
237241 form : rel & {
0 commit comments