From 603d7fdfc4d0ada5e85385afd49a917e58a3e0ba Mon Sep 17 00:00:00 2001 From: Madeline Trotter Date: Thu, 10 Oct 2019 11:00:24 -0700 Subject: [PATCH 1/2] Expose DOM element ReactComponents --- Makefile | 12 + codegen/index.js | 40 +- codegen/react-html-attributes.json | 2 - src/React/Basic.purs | 6 - src/React/Basic/DOM.purs | 2 +- src/React/Basic/DOM/Generated.purs | 1127 +++++++++++++++++++++------- src/React/Basic/DOM/SVG.purs | 764 +++++++++++++++++-- 7 files changed, 1576 insertions(+), 377 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3eac76b --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +all: build examples + +build: bower_components node_modules + npm run build + +bower_components: node_modules + npx bower --allow-root install + +node_modules: + npm install + +.PHONY: build diff --git a/codegen/index.js b/codegen/index.js index 23b1c7b..8d84921 100644 --- a/codegen/index.js +++ b/codegen/index.js @@ -14,7 +14,7 @@ import Data.Nullable (Nullable) import Foreign.Object (Object) import Prim.Row (class Union) import Web.DOM (Node) -import React.Basic (JSX, Ref, element) +import React.Basic (JSX, ReactComponent, Ref, element) import React.Basic.DOM.Internal (CSS, unsafeCreateDOMComponent) import React.Basic.Events (EventHandler) @@ -38,9 +38,11 @@ const svgHeader = `-- | ---------------------------------------- module React.Basic.DOM.SVG where +import Data.Nullable (Nullable) import Foreign.Object (Object) import Prim.Row (class Union) -import React.Basic (JSX, element) +import Web.DOM (Node) +import React.Basic (JSX, ReactComponent, Ref, element) import React.Basic.DOM.Internal (SharedSVGProps, unsafeCreateDOMComponent) `; @@ -69,20 +71,7 @@ Object.keys(svgProps).forEach(elName => { // The attribute list for in react-html-attributes // is wrong (it contains the union of the attributes of all // svg elements) -htmlProps['svg'] = camelCaseSvgProps['svg'].concat([ - "xlinkActuate", - "xlinkArcrole", - "xlinkHref", - "xlinkRole", - "xlinkShow", - "xlinkTitle", - "xlinkType", - "xmlBase", - "xmlLang", - "xmlSpace", - "xmlns", - "xmlnsXlink" -]); +delete htmlProps['svg']; const printRecord = (e, elProps) => elProps.length @@ -91,7 +80,9 @@ const printRecord = (e, elProps) => )` : "()"; -const generatePropTypes = (elements, props, sharedPropType) => +const reactProps = ["ref", "key", "_data"]; + +const generatePropTypes = (elements, props, sharedPropType) => elements.map(e => { const noChildren = voids.includes(e); const symbol = reserved.includes(e) ? `${e}'` : e; @@ -100,7 +91,12 @@ const generatePropTypes = (elements, props, sharedPropType) => return ` type Props_${e} =${printRecord(e, - (noChildren ? [] : ["children", "_data"]).concat(props[e] || [], props["*"] || []).sort() + ( noChildren + ? reactProps + : reactProps.concat("children") + ) + .concat(props[e] || [], props["*"] || []) + .sort() )} ${symbol} @@ -108,7 +104,13 @@ const generatePropTypes = (elements, props, sharedPropType) => . Union attrs attrs_ ${propType} => Record attrs -> JSX - ${symbol} = element (unsafeCreateDOMComponent "${e}")${ + ${symbol} = element ${symbol}' + + ${symbol}' + :: forall attrs attrs_ + . Union attrs attrs_ ${propType} + => ReactComponent (Record attrs) + ${symbol}' = unsafeCreateDOMComponent "${e}"${ noChildren ? "" : ` diff --git a/codegen/react-html-attributes.json b/codegen/react-html-attributes.json index 89b1077..441ac22 100644 --- a/codegen/react-html-attributes.json +++ b/codegen/react-html-attributes.json @@ -44,7 +44,6 @@ "itemRef", "itemScope", "itemType", - "key", "keyParams", "keyType", "lang", @@ -109,7 +108,6 @@ "property", "radioGroup", "readOnly", - "ref", "resource", "role", "rowSpan", diff --git a/src/React/Basic.purs b/src/React/Basic.purs index b818f0c..2cefd1d 100644 --- a/src/React/Basic.purs +++ b/src/React/Basic.purs @@ -301,9 +301,6 @@ foreign import fragment :: Array JSX -> JSX -- | Create a `JSX` node from a `ReactComponent`, by providing the props. -- | --- | This function is for non-React-Basic React components, such as those --- | imported from FFI. --- | -- | __*See also:* `ReactComponent`, `elementKeyed`__ element :: forall props @@ -314,9 +311,6 @@ element = runFn2 element_ -- | Create a `JSX` node from a `ReactComponent`, by providing the props and a key. -- | --- | This function is for non-React-Basic React components, such as those --- | imported from FFI. --- | -- | __*See also:* `ReactComponent`, `element`, React's documentation regarding the special `key` prop__ elementKeyed :: forall props diff --git a/src/React/Basic/DOM.purs b/src/React/Basic/DOM.purs index 02f0705..fc853a0 100644 --- a/src/React/Basic/DOM.purs +++ b/src/React/Basic/DOM.purs @@ -28,7 +28,7 @@ import Effect (Effect) import Effect.Exception (Error, throw, try) import Effect.Uncurried (EffectFn1, EffectFn3, runEffectFn1, runEffectFn3) import React.Basic (ReactComponentInstance, JSX) -import React.Basic.DOM.Generated (Props_a, Props_abbr, Props_address, Props_area, Props_article, Props_aside, Props_audio, Props_b, Props_base, Props_bdi, Props_bdo, Props_blockquote, Props_body, Props_br, Props_button, Props_canvas, Props_caption, Props_cite, Props_code, Props_col, Props_colgroup, Props_data, Props_datalist, Props_dd, Props_del, Props_details, Props_dfn, Props_dialog, Props_div, Props_dl, Props_dt, Props_em, Props_embed, Props_fieldset, Props_figcaption, Props_figure, Props_footer, Props_form, Props_h1, Props_h2, Props_h3, Props_h4, Props_h5, Props_h6, Props_head, Props_header, Props_hgroup, Props_hr, Props_html, Props_i, Props_iframe, Props_img, Props_input, Props_ins, Props_kbd, Props_keygen, Props_label, Props_legend, Props_li, Props_link, Props_main, Props_map, Props_mark, Props_math, Props_menu, Props_menuitem, Props_meta, Props_meter, Props_nav, Props_noscript, Props_object, Props_ol, Props_optgroup, Props_option, Props_output, Props_p, Props_param, Props_picture, Props_pre, Props_progress, Props_q, Props_rb, Props_rp, Props_rt, Props_rtc, Props_ruby, Props_s, Props_samp, Props_script, Props_section, Props_select, Props_slot, Props_small, Props_source, Props_span, Props_strong, Props_style, Props_sub, Props_summary, Props_sup, Props_svg, Props_table, Props_tbody, Props_td, Props_template, Props_textarea, Props_tfoot, Props_th, Props_thead, Props_time, Props_title, Props_tr, Props_track, Props_u, Props_ul, Props_var, Props_video, Props_wbr, a, a_, abbr, abbr_, address, address_, area, article, article_, aside, aside_, audio, audio_, b, b_, base, bdi, bdi_, bdo, bdo_, blockquote, blockquote_, body, body_, br, button, button_, canvas, canvas_, caption, caption_, cite, cite_, code, code_, col, colgroup, colgroup_, data', data_, datalist, datalist_, dd, dd_, del, del_, details, details_, dfn, dfn_, dialog, dialog_, div, div_, dl, dl_, dt, dt_, em, em_, embed, fieldset, fieldset_, figcaption, figcaption_, figure, figure_, footer, footer_, form, form_, h1, h1_, h2, h2_, h3, h3_, h4, h4_, h5, h5_, h6, h6_, head, head_, header, header_, hgroup, hgroup_, hr, html, html_, i, i_, iframe, iframe_, img, input, ins, ins_, kbd, kbd_, keygen, keygen_, label, label_, legend, legend_, li, li_, link, main, main_, map, map_, mark, mark_, math, math_, menu, menu_, menuitem, menuitem_, meta, meter, meter_, nav, nav_, noscript, noscript_, object, object_, ol, ol_, optgroup, optgroup_, option, option_, output, output_, p, p_, param, picture, picture_, pre, pre_, progress, progress_, q, q_, rb, rb_, rp, rp_, rt, rt_, rtc, rtc_, ruby, ruby_, s, s_, samp, samp_, script, script_, section, section_, select, select_, slot, slot_, small, small_, source, span, span_, strong, strong_, style, style_, sub, sub_, summary, summary_, sup, sup_, svg, svg_, table, table_, tbody, tbody_, td, td_, template, template_, textarea, textarea_, tfoot, tfoot_, th, th_, thead, thead_, time, time_, title, title_, tr, tr_, track, u, u_, ul, ul_, var, var_, video, video_, wbr) as Generated +import React.Basic.DOM.Generated (Props_a, Props_abbr, Props_address, Props_area, Props_article, Props_aside, Props_audio, Props_b, Props_base, Props_bdi, Props_bdo, Props_blockquote, Props_body, Props_br, Props_button, Props_canvas, Props_caption, Props_cite, Props_code, Props_col, Props_colgroup, Props_data, Props_datalist, Props_dd, Props_del, Props_details, Props_dfn, Props_dialog, Props_div, Props_dl, Props_dt, Props_em, Props_embed, Props_fieldset, Props_figcaption, Props_figure, Props_footer, Props_form, Props_h1, Props_h2, Props_h3, Props_h4, Props_h5, Props_h6, Props_head, Props_header, Props_hgroup, Props_hr, Props_html, Props_i, Props_iframe, Props_img, Props_input, Props_ins, Props_kbd, Props_keygen, Props_label, Props_legend, Props_li, Props_link, Props_main, Props_map, Props_mark, Props_math, Props_menu, Props_menuitem, Props_meta, Props_meter, Props_nav, Props_noscript, Props_object, Props_ol, Props_optgroup, Props_option, Props_output, Props_p, Props_param, Props_picture, Props_pre, Props_progress, Props_q, Props_rb, Props_rp, Props_rt, Props_rtc, Props_ruby, Props_s, Props_samp, Props_script, Props_section, Props_select, Props_slot, Props_small, Props_source, Props_span, Props_strong, Props_style, Props_sub, Props_summary, Props_sup, Props_svg, Props_table, Props_tbody, Props_td, Props_template, Props_textarea, Props_tfoot, Props_th, Props_thead, Props_time, Props_title, Props_tr, Props_track, Props_u, Props_ul, Props_var, Props_video, Props_wbr, a, a', a_, abbr, abbr', abbr_, address, address', address_, area, area', article, article', article_, aside, aside', aside_, audio, audio', audio_, b, b', b_, base, base', bdi, bdi', bdi_, bdo, bdo', bdo_, blockquote, blockquote', blockquote_, body, body', body_, br, br', button, button', button_, canvas, canvas', canvas_, caption, caption', caption_, cite, cite', cite_, code, code', code_, col, col', colgroup, colgroup', colgroup_, data', data'', data_, datalist, datalist', datalist_, dd, dd', dd_, del, del', del_, details, details', details_, dfn, dfn', dfn_, dialog, dialog', dialog_, div, div', div_, dl, dl', dl_, dt, dt', dt_, em, em', em_, embed, embed', fieldset, fieldset', fieldset_, figcaption, figcaption', figcaption_, figure, figure', figure_, footer, footer', footer_, form, form', form_, h1, h1', h1_, h2, h2', h2_, h3, h3', h3_, h4, h4', h4_, h5, h5', h5_, h6, h6', h6_, head, head', head_, header, header', header_, hgroup, hgroup', hgroup_, hr, hr', html, html', html_, i, i', i_, iframe, iframe', iframe_, img, img', input, input', ins, ins', ins_, kbd, kbd', kbd_, keygen, keygen', keygen_, label, label', label_, legend, legend', legend_, li, li', li_, link, link', main, main', main_, map, map', map_, mark, mark', mark_, math, math', math_, menu, menu', menu_, menuitem, menuitem', menuitem_, meta, meta', meter, meter', meter_, nav, nav', nav_, noscript, noscript', noscript_, object, object', object_, ol, ol', ol_, optgroup, optgroup', optgroup_, option, option', option_, output, output', output_, p, p', p_, param, param', picture, picture', picture_, pre, pre', pre_, progress, progress', progress_, q, q', q_, rb, rb', rb_, rp, rp', rp_, rt, rt', rt_, rtc, rtc', rtc_, ruby, ruby', ruby_, s, s', s_, samp, samp', samp_, script, script', script_, section, section', section_, select, select', select_, slot, slot', slot_, small, small', small_, source, source', span, span', span_, strong, strong', strong_, style, style', style_, sub, sub', sub_, summary, summary', summary_, sup, sup', sup_, svg, svg', svg_, table, table', table_, tbody, tbody', tbody_, td, td', td_, template, template', template_, textarea, textarea', textarea_, tfoot, tfoot', tfoot_, th, th', th_, thead, thead', thead_, time, time', time_, title, title', title_, tr, tr', tr_, track, track', u, u', u_, ul, ul', ul_, var, var', var_, video, video', video_, wbr, wbr') as Generated import React.Basic.DOM.Internal (CSS, css, mergeStyles, unsafeCreateDOMComponent) as Internal import Unsafe.Coerce (unsafeCoerce) import Web.DOM (Element, Node) diff --git a/src/React/Basic/DOM/Generated.purs b/src/React/Basic/DOM/Generated.purs index 3c3c60d..f0b32af 100644 --- a/src/React/Basic/DOM/Generated.purs +++ b/src/React/Basic/DOM/Generated.purs @@ -8,7 +8,7 @@ import Data.Nullable (Nullable) import Foreign.Object (Object) import Prim.Row (class Union) import Web.DOM (Node) -import React.Basic (JSX, Ref, element) +import React.Basic (JSX, ReactComponent, Ref, element) import React.Basic.DOM.Internal (CSS, unsafeCreateDOMComponent) import React.Basic.Events (EventHandler) @@ -159,7 +159,13 @@ a . Union attrs attrs_ Props_a => Record attrs -> JSX -a = element (unsafeCreateDOMComponent "a") +a = element a' + +a' + :: forall attrs attrs_ + . Union attrs attrs_ Props_a + => ReactComponent (Record attrs) +a' = unsafeCreateDOMComponent "a" a_ :: Array JSX -> JSX a_ children = a { children } @@ -304,7 +310,13 @@ abbr . Union attrs attrs_ Props_abbr => Record attrs -> JSX -abbr = element (unsafeCreateDOMComponent "abbr") +abbr = element abbr' + +abbr' + :: forall attrs attrs_ + . Union attrs attrs_ Props_abbr + => ReactComponent (Record attrs) +abbr' = unsafeCreateDOMComponent "abbr" abbr_ :: Array JSX -> JSX abbr_ children = abbr { children } @@ -448,13 +460,20 @@ address . Union attrs attrs_ Props_address => Record attrs -> JSX -address = element (unsafeCreateDOMComponent "address") +address = element address' + +address' + :: forall attrs attrs_ + . Union attrs attrs_ Props_address + => ReactComponent (Record attrs) +address' = unsafeCreateDOMComponent "address" address_ :: Array JSX -> JSX address_ children = address { children } type Props_area = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -598,7 +617,13 @@ area . Union attrs attrs_ Props_area => Record attrs -> JSX -area = element (unsafeCreateDOMComponent "area") +area = element area' + +area' + :: forall attrs attrs_ + . Union attrs attrs_ Props_area + => ReactComponent (Record attrs) +area' = unsafeCreateDOMComponent "area" type Props_article = ( _data :: Object String @@ -739,7 +764,13 @@ article . Union attrs attrs_ Props_article => Record attrs -> JSX -article = element (unsafeCreateDOMComponent "article") +article = element article' + +article' + :: forall attrs attrs_ + . Union attrs attrs_ Props_article + => ReactComponent (Record attrs) +article' = unsafeCreateDOMComponent "article" article_ :: Array JSX -> JSX article_ children = article { children } @@ -883,7 +914,13 @@ aside . Union attrs attrs_ Props_aside => Record attrs -> JSX -aside = element (unsafeCreateDOMComponent "aside") +aside = element aside' + +aside' + :: forall attrs attrs_ + . Union attrs attrs_ Props_aside + => ReactComponent (Record attrs) +aside' = unsafeCreateDOMComponent "aside" aside_ :: Array JSX -> JSX aside_ children = aside { children } @@ -1056,7 +1093,13 @@ audio . Union attrs attrs_ Props_audio => Record attrs -> JSX -audio = element (unsafeCreateDOMComponent "audio") +audio = element audio' + +audio' + :: forall attrs attrs_ + . Union attrs attrs_ Props_audio + => ReactComponent (Record attrs) +audio' = unsafeCreateDOMComponent "audio" audio_ :: Array JSX -> JSX audio_ children = audio { children } @@ -1200,13 +1243,20 @@ b . Union attrs attrs_ Props_b => Record attrs -> JSX -b = element (unsafeCreateDOMComponent "b") +b = element b' + +b' + :: forall attrs attrs_ + . Union attrs attrs_ Props_b + => ReactComponent (Record attrs) +b' = unsafeCreateDOMComponent "b" b_ :: Array JSX -> JSX b_ children = b { children } type Props_base = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -1344,7 +1394,13 @@ base . Union attrs attrs_ Props_base => Record attrs -> JSX -base = element (unsafeCreateDOMComponent "base") +base = element base' + +base' + :: forall attrs attrs_ + . Union attrs attrs_ Props_base + => ReactComponent (Record attrs) +base' = unsafeCreateDOMComponent "base" type Props_bdi = ( _data :: Object String @@ -1485,7 +1541,13 @@ bdi . Union attrs attrs_ Props_bdi => Record attrs -> JSX -bdi = element (unsafeCreateDOMComponent "bdi") +bdi = element bdi' + +bdi' + :: forall attrs attrs_ + . Union attrs attrs_ Props_bdi + => ReactComponent (Record attrs) +bdi' = unsafeCreateDOMComponent "bdi" bdi_ :: Array JSX -> JSX bdi_ children = bdi { children } @@ -1630,7 +1692,13 @@ bdo . Union attrs attrs_ Props_bdo => Record attrs -> JSX -bdo = element (unsafeCreateDOMComponent "bdo") +bdo = element bdo' + +bdo' + :: forall attrs attrs_ + . Union attrs attrs_ Props_bdo + => ReactComponent (Record attrs) +bdo' = unsafeCreateDOMComponent "bdo" bdo_ :: Array JSX -> JSX bdo_ children = bdo { children } @@ -1775,7 +1843,13 @@ blockquote . Union attrs attrs_ Props_blockquote => Record attrs -> JSX -blockquote = element (unsafeCreateDOMComponent "blockquote") +blockquote = element blockquote' + +blockquote' + :: forall attrs attrs_ + . Union attrs attrs_ Props_blockquote + => ReactComponent (Record attrs) +blockquote' = unsafeCreateDOMComponent "blockquote" blockquote_ :: Array JSX -> JSX blockquote_ children = blockquote { children } @@ -1919,13 +1993,20 @@ body . Union attrs attrs_ Props_body => Record attrs -> JSX -body = element (unsafeCreateDOMComponent "body") +body = element body' + +body' + :: forall attrs attrs_ + . Union attrs attrs_ Props_body + => ReactComponent (Record attrs) +body' = unsafeCreateDOMComponent "body" body_ :: Array JSX -> JSX body_ children = body { children } type Props_br = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -2061,7 +2142,13 @@ br . Union attrs attrs_ Props_br => Record attrs -> JSX -br = element (unsafeCreateDOMComponent "br") +br = element br' + +br' + :: forall attrs attrs_ + . Union attrs attrs_ Props_br + => ReactComponent (Record attrs) +br' = unsafeCreateDOMComponent "br" type Props_button = ( _data :: Object String @@ -2207,7 +2294,13 @@ button . Union attrs attrs_ Props_button => Record attrs -> JSX -button = element (unsafeCreateDOMComponent "button") +button = element button' + +button' + :: forall attrs attrs_ + . Union attrs attrs_ Props_button + => ReactComponent (Record attrs) +button' = unsafeCreateDOMComponent "button" button_ :: Array JSX -> JSX button_ children = button { children } @@ -2353,7 +2446,13 @@ canvas . Union attrs attrs_ Props_canvas => Record attrs -> JSX -canvas = element (unsafeCreateDOMComponent "canvas") +canvas = element canvas' + +canvas' + :: forall attrs attrs_ + . Union attrs attrs_ Props_canvas + => ReactComponent (Record attrs) +canvas' = unsafeCreateDOMComponent "canvas" canvas_ :: Array JSX -> JSX canvas_ children = canvas { children } @@ -2497,7 +2596,13 @@ caption . Union attrs attrs_ Props_caption => Record attrs -> JSX -caption = element (unsafeCreateDOMComponent "caption") +caption = element caption' + +caption' + :: forall attrs attrs_ + . Union attrs attrs_ Props_caption + => ReactComponent (Record attrs) +caption' = unsafeCreateDOMComponent "caption" caption_ :: Array JSX -> JSX caption_ children = caption { children } @@ -2641,7 +2746,13 @@ cite . Union attrs attrs_ Props_cite => Record attrs -> JSX -cite = element (unsafeCreateDOMComponent "cite") +cite = element cite' + +cite' + :: forall attrs attrs_ + . Union attrs attrs_ Props_cite + => ReactComponent (Record attrs) +cite' = unsafeCreateDOMComponent "cite" cite_ :: Array JSX -> JSX cite_ children = cite { children } @@ -2785,13 +2896,20 @@ code . Union attrs attrs_ Props_code => Record attrs -> JSX -code = element (unsafeCreateDOMComponent "code") +code = element code' + +code' + :: forall attrs attrs_ + . Union attrs attrs_ Props_code + => ReactComponent (Record attrs) +code' = unsafeCreateDOMComponent "code" code_ :: Array JSX -> JSX code_ children = code { children } type Props_col = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -2929,7 +3047,13 @@ col . Union attrs attrs_ Props_col => Record attrs -> JSX -col = element (unsafeCreateDOMComponent "col") +col = element col' + +col' + :: forall attrs attrs_ + . Union attrs attrs_ Props_col + => ReactComponent (Record attrs) +col' = unsafeCreateDOMComponent "col" type Props_colgroup = ( _data :: Object String @@ -3072,7 +3196,13 @@ colgroup . Union attrs attrs_ Props_colgroup => Record attrs -> JSX -colgroup = element (unsafeCreateDOMComponent "colgroup") +colgroup = element colgroup' + +colgroup' + :: forall attrs attrs_ + . Union attrs attrs_ Props_colgroup + => ReactComponent (Record attrs) +colgroup' = unsafeCreateDOMComponent "colgroup" colgroup_ :: Array JSX -> JSX colgroup_ children = colgroup { children } @@ -3217,7 +3347,13 @@ data' . Union attrs attrs_ Props_data => Record attrs -> JSX -data' = element (unsafeCreateDOMComponent "data") +data' = element data'' + +data'' + :: forall attrs attrs_ + . Union attrs attrs_ Props_data + => ReactComponent (Record attrs) +data'' = unsafeCreateDOMComponent "data" data_ :: Array JSX -> JSX data_ children = data' { children } @@ -3361,7 +3497,13 @@ datalist . Union attrs attrs_ Props_datalist => Record attrs -> JSX -datalist = element (unsafeCreateDOMComponent "datalist") +datalist = element datalist' + +datalist' + :: forall attrs attrs_ + . Union attrs attrs_ Props_datalist + => ReactComponent (Record attrs) +datalist' = unsafeCreateDOMComponent "datalist" datalist_ :: Array JSX -> JSX datalist_ children = datalist { children } @@ -3505,7 +3647,13 @@ dd . Union attrs attrs_ Props_dd => Record attrs -> JSX -dd = element (unsafeCreateDOMComponent "dd") +dd = element dd' + +dd' + :: forall attrs attrs_ + . Union attrs attrs_ Props_dd + => ReactComponent (Record attrs) +dd' = unsafeCreateDOMComponent "dd" dd_ :: Array JSX -> JSX dd_ children = dd { children } @@ -3650,7 +3798,13 @@ del . Union attrs attrs_ Props_del => Record attrs -> JSX -del = element (unsafeCreateDOMComponent "del") +del = element del' + +del' + :: forall attrs attrs_ + . Union attrs attrs_ Props_del + => ReactComponent (Record attrs) +del' = unsafeCreateDOMComponent "del" del_ :: Array JSX -> JSX del_ children = del { children } @@ -3795,7 +3949,13 @@ details . Union attrs attrs_ Props_details => Record attrs -> JSX -details = element (unsafeCreateDOMComponent "details") +details = element details' + +details' + :: forall attrs attrs_ + . Union attrs attrs_ Props_details + => ReactComponent (Record attrs) +details' = unsafeCreateDOMComponent "details" details_ :: Array JSX -> JSX details_ children = details { children } @@ -3940,7 +4100,13 @@ dfn . Union attrs attrs_ Props_dfn => Record attrs -> JSX -dfn = element (unsafeCreateDOMComponent "dfn") +dfn = element dfn' + +dfn' + :: forall attrs attrs_ + . Union attrs attrs_ Props_dfn + => ReactComponent (Record attrs) +dfn' = unsafeCreateDOMComponent "dfn" dfn_ :: Array JSX -> JSX dfn_ children = dfn { children } @@ -4085,7 +4251,13 @@ dialog . Union attrs attrs_ Props_dialog => Record attrs -> JSX -dialog = element (unsafeCreateDOMComponent "dialog") +dialog = element dialog' + +dialog' + :: forall attrs attrs_ + . Union attrs attrs_ Props_dialog + => ReactComponent (Record attrs) +dialog' = unsafeCreateDOMComponent "dialog" dialog_ :: Array JSX -> JSX dialog_ children = dialog { children } @@ -4229,7 +4401,13 @@ div . Union attrs attrs_ Props_div => Record attrs -> JSX -div = element (unsafeCreateDOMComponent "div") +div = element div' + +div' + :: forall attrs attrs_ + . Union attrs attrs_ Props_div + => ReactComponent (Record attrs) +div' = unsafeCreateDOMComponent "div" div_ :: Array JSX -> JSX div_ children = div { children } @@ -4373,7 +4551,13 @@ dl . Union attrs attrs_ Props_dl => Record attrs -> JSX -dl = element (unsafeCreateDOMComponent "dl") +dl = element dl' + +dl' + :: forall attrs attrs_ + . Union attrs attrs_ Props_dl + => ReactComponent (Record attrs) +dl' = unsafeCreateDOMComponent "dl" dl_ :: Array JSX -> JSX dl_ children = dl { children } @@ -4517,7 +4701,13 @@ dt . Union attrs attrs_ Props_dt => Record attrs -> JSX -dt = element (unsafeCreateDOMComponent "dt") +dt = element dt' + +dt' + :: forall attrs attrs_ + . Union attrs attrs_ Props_dt + => ReactComponent (Record attrs) +dt' = unsafeCreateDOMComponent "dt" dt_ :: Array JSX -> JSX dt_ children = dt { children } @@ -4661,13 +4851,20 @@ em . Union attrs attrs_ Props_em => Record attrs -> JSX -em = element (unsafeCreateDOMComponent "em") +em = element em' + +em' + :: forall attrs attrs_ + . Union attrs attrs_ Props_em + => ReactComponent (Record attrs) +em' = unsafeCreateDOMComponent "em" em_ :: Array JSX -> JSX em_ children = em { children } type Props_embed = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -4807,7 +5004,13 @@ embed . Union attrs attrs_ Props_embed => Record attrs -> JSX -embed = element (unsafeCreateDOMComponent "embed") +embed = element embed' + +embed' + :: forall attrs attrs_ + . Union attrs attrs_ Props_embed + => ReactComponent (Record attrs) +embed' = unsafeCreateDOMComponent "embed" type Props_fieldset = ( _data :: Object String @@ -4951,7 +5154,13 @@ fieldset . Union attrs attrs_ Props_fieldset => Record attrs -> JSX -fieldset = element (unsafeCreateDOMComponent "fieldset") +fieldset = element fieldset' + +fieldset' + :: forall attrs attrs_ + . Union attrs attrs_ Props_fieldset + => ReactComponent (Record attrs) +fieldset' = unsafeCreateDOMComponent "fieldset" fieldset_ :: Array JSX -> JSX fieldset_ children = fieldset { children } @@ -5095,7 +5304,13 @@ figcaption . Union attrs attrs_ Props_figcaption => Record attrs -> JSX -figcaption = element (unsafeCreateDOMComponent "figcaption") +figcaption = element figcaption' + +figcaption' + :: forall attrs attrs_ + . Union attrs attrs_ Props_figcaption + => ReactComponent (Record attrs) +figcaption' = unsafeCreateDOMComponent "figcaption" figcaption_ :: Array JSX -> JSX figcaption_ children = figcaption { children } @@ -5239,7 +5454,13 @@ figure . Union attrs attrs_ Props_figure => Record attrs -> JSX -figure = element (unsafeCreateDOMComponent "figure") +figure = element figure' + +figure' + :: forall attrs attrs_ + . Union attrs attrs_ Props_figure + => ReactComponent (Record attrs) +figure' = unsafeCreateDOMComponent "figure" figure_ :: Array JSX -> JSX figure_ children = figure { children } @@ -5383,7 +5604,13 @@ footer . Union attrs attrs_ Props_footer => Record attrs -> JSX -footer = element (unsafeCreateDOMComponent "footer") +footer = element footer' + +footer' + :: forall attrs attrs_ + . Union attrs attrs_ Props_footer + => ReactComponent (Record attrs) +footer' = unsafeCreateDOMComponent "footer" footer_ :: Array JSX -> JSX footer_ children = footer { children } @@ -5536,7 +5763,13 @@ form . Union attrs attrs_ Props_form => Record attrs -> JSX -form = element (unsafeCreateDOMComponent "form") +form = element form' + +form' + :: forall attrs attrs_ + . Union attrs attrs_ Props_form + => ReactComponent (Record attrs) +form' = unsafeCreateDOMComponent "form" form_ :: Array JSX -> JSX form_ children = form { children } @@ -5680,7 +5913,13 @@ h1 . Union attrs attrs_ Props_h1 => Record attrs -> JSX -h1 = element (unsafeCreateDOMComponent "h1") +h1 = element h1' + +h1' + :: forall attrs attrs_ + . Union attrs attrs_ Props_h1 + => ReactComponent (Record attrs) +h1' = unsafeCreateDOMComponent "h1" h1_ :: Array JSX -> JSX h1_ children = h1 { children } @@ -5824,7 +6063,13 @@ h2 . Union attrs attrs_ Props_h2 => Record attrs -> JSX -h2 = element (unsafeCreateDOMComponent "h2") +h2 = element h2' + +h2' + :: forall attrs attrs_ + . Union attrs attrs_ Props_h2 + => ReactComponent (Record attrs) +h2' = unsafeCreateDOMComponent "h2" h2_ :: Array JSX -> JSX h2_ children = h2 { children } @@ -5968,7 +6213,13 @@ h3 . Union attrs attrs_ Props_h3 => Record attrs -> JSX -h3 = element (unsafeCreateDOMComponent "h3") +h3 = element h3' + +h3' + :: forall attrs attrs_ + . Union attrs attrs_ Props_h3 + => ReactComponent (Record attrs) +h3' = unsafeCreateDOMComponent "h3" h3_ :: Array JSX -> JSX h3_ children = h3 { children } @@ -6112,7 +6363,13 @@ h4 . Union attrs attrs_ Props_h4 => Record attrs -> JSX -h4 = element (unsafeCreateDOMComponent "h4") +h4 = element h4' + +h4' + :: forall attrs attrs_ + . Union attrs attrs_ Props_h4 + => ReactComponent (Record attrs) +h4' = unsafeCreateDOMComponent "h4" h4_ :: Array JSX -> JSX h4_ children = h4 { children } @@ -6256,7 +6513,13 @@ h5 . Union attrs attrs_ Props_h5 => Record attrs -> JSX -h5 = element (unsafeCreateDOMComponent "h5") +h5 = element h5' + +h5' + :: forall attrs attrs_ + . Union attrs attrs_ Props_h5 + => ReactComponent (Record attrs) +h5' = unsafeCreateDOMComponent "h5" h5_ :: Array JSX -> JSX h5_ children = h5 { children } @@ -6400,7 +6663,13 @@ h6 . Union attrs attrs_ Props_h6 => Record attrs -> JSX -h6 = element (unsafeCreateDOMComponent "h6") +h6 = element h6' + +h6' + :: forall attrs attrs_ + . Union attrs attrs_ Props_h6 + => ReactComponent (Record attrs) +h6' = unsafeCreateDOMComponent "h6" h6_ :: Array JSX -> JSX h6_ children = h6 { children } @@ -6545,7 +6814,13 @@ head . Union attrs attrs_ Props_head => Record attrs -> JSX -head = element (unsafeCreateDOMComponent "head") +head = element head' + +head' + :: forall attrs attrs_ + . Union attrs attrs_ Props_head + => ReactComponent (Record attrs) +head' = unsafeCreateDOMComponent "head" head_ :: Array JSX -> JSX head_ children = head { children } @@ -6689,7 +6964,13 @@ header . Union attrs attrs_ Props_header => Record attrs -> JSX -header = element (unsafeCreateDOMComponent "header") +header = element header' + +header' + :: forall attrs attrs_ + . Union attrs attrs_ Props_header + => ReactComponent (Record attrs) +header' = unsafeCreateDOMComponent "header" header_ :: Array JSX -> JSX header_ children = header { children } @@ -6833,13 +7114,20 @@ hgroup . Union attrs attrs_ Props_hgroup => Record attrs -> JSX -hgroup = element (unsafeCreateDOMComponent "hgroup") +hgroup = element hgroup' + +hgroup' + :: forall attrs attrs_ + . Union attrs attrs_ Props_hgroup + => ReactComponent (Record attrs) +hgroup' = unsafeCreateDOMComponent "hgroup" hgroup_ :: Array JSX -> JSX hgroup_ children = hgroup { children } type Props_hr = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -6977,7 +7265,13 @@ hr . Union attrs attrs_ Props_hr => Record attrs -> JSX -hr = element (unsafeCreateDOMComponent "hr") +hr = element hr' + +hr' + :: forall attrs attrs_ + . Union attrs attrs_ Props_hr + => ReactComponent (Record attrs) +hr' = unsafeCreateDOMComponent "hr" type Props_html = ( _data :: Object String @@ -7119,7 +7413,13 @@ html . Union attrs attrs_ Props_html => Record attrs -> JSX -html = element (unsafeCreateDOMComponent "html") +html = element html' + +html' + :: forall attrs attrs_ + . Union attrs attrs_ Props_html + => ReactComponent (Record attrs) +html' = unsafeCreateDOMComponent "html" html_ :: Array JSX -> JSX html_ children = html { children } @@ -7263,7 +7563,13 @@ i . Union attrs attrs_ Props_i => Record attrs -> JSX -i = element (unsafeCreateDOMComponent "i") +i = element i' + +i' + :: forall attrs attrs_ + . Union attrs attrs_ Props_i + => ReactComponent (Record attrs) +i' = unsafeCreateDOMComponent "i" i_ :: Array JSX -> JSX i_ children = i { children } @@ -7413,13 +7719,20 @@ iframe . Union attrs attrs_ Props_iframe => Record attrs -> JSX -iframe = element (unsafeCreateDOMComponent "iframe") +iframe = element iframe' + +iframe' + :: forall attrs attrs_ + . Union attrs attrs_ Props_iframe + => ReactComponent (Record attrs) +iframe' = unsafeCreateDOMComponent "iframe" iframe_ :: Array JSX -> JSX iframe_ children = iframe { children } type Props_img = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -7562,10 +7875,17 @@ img . Union attrs attrs_ Props_img => Record attrs -> JSX -img = element (unsafeCreateDOMComponent "img") +img = element img' + +img' + :: forall attrs attrs_ + . Union attrs attrs_ Props_img + => ReactComponent (Record attrs) +img' = unsafeCreateDOMComponent "img" type Props_input = - ( about :: String + ( _data :: Object String + , about :: String , accept :: String , acceptCharset :: String , accessKey :: String @@ -7729,7 +8049,13 @@ input . Union attrs attrs_ Props_input => Record attrs -> JSX -input = element (unsafeCreateDOMComponent "input") +input = element input' + +input' + :: forall attrs attrs_ + . Union attrs attrs_ Props_input + => ReactComponent (Record attrs) +input' = unsafeCreateDOMComponent "input" type Props_ins = ( _data :: Object String @@ -7871,7 +8197,13 @@ ins . Union attrs attrs_ Props_ins => Record attrs -> JSX -ins = element (unsafeCreateDOMComponent "ins") +ins = element ins' + +ins' + :: forall attrs attrs_ + . Union attrs attrs_ Props_ins + => ReactComponent (Record attrs) +ins' = unsafeCreateDOMComponent "ins" ins_ :: Array JSX -> JSX ins_ children = ins { children } @@ -8015,7 +8347,13 @@ kbd . Union attrs attrs_ Props_kbd => Record attrs -> JSX -kbd = element (unsafeCreateDOMComponent "kbd") +kbd = element kbd' + +kbd' + :: forall attrs attrs_ + . Union attrs attrs_ Props_kbd + => ReactComponent (Record attrs) +kbd' = unsafeCreateDOMComponent "kbd" kbd_ :: Array JSX -> JSX kbd_ children = kbd { children } @@ -8163,7 +8501,13 @@ keygen . Union attrs attrs_ Props_keygen => Record attrs -> JSX -keygen = element (unsafeCreateDOMComponent "keygen") +keygen = element keygen' + +keygen' + :: forall attrs attrs_ + . Union attrs attrs_ Props_keygen + => ReactComponent (Record attrs) +keygen' = unsafeCreateDOMComponent "keygen" keygen_ :: Array JSX -> JSX keygen_ children = keygen { children } @@ -8308,7 +8652,13 @@ label . Union attrs attrs_ Props_label => Record attrs -> JSX -label = element (unsafeCreateDOMComponent "label") +label = element label' + +label' + :: forall attrs attrs_ + . Union attrs attrs_ Props_label + => ReactComponent (Record attrs) +label' = unsafeCreateDOMComponent "label" label_ :: Array JSX -> JSX label_ children = label { children } @@ -8452,7 +8802,13 @@ legend . Union attrs attrs_ Props_legend => Record attrs -> JSX -legend = element (unsafeCreateDOMComponent "legend") +legend = element legend' + +legend' + :: forall attrs attrs_ + . Union attrs attrs_ Props_legend + => ReactComponent (Record attrs) +legend' = unsafeCreateDOMComponent "legend" legend_ :: Array JSX -> JSX legend_ children = legend { children } @@ -8598,13 +8954,20 @@ li . Union attrs attrs_ Props_li => Record attrs -> JSX -li = element (unsafeCreateDOMComponent "li") +li = element li' + +li' + :: forall attrs attrs_ + . Union attrs attrs_ Props_li + => ReactComponent (Record attrs) +li' = unsafeCreateDOMComponent "li" li_ :: Array JSX -> JSX li_ children = li { children } type Props_link = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -8751,7 +9114,13 @@ link . Union attrs attrs_ Props_link => Record attrs -> JSX -link = element (unsafeCreateDOMComponent "link") +link = element link' + +link' + :: forall attrs attrs_ + . Union attrs attrs_ Props_link + => ReactComponent (Record attrs) +link' = unsafeCreateDOMComponent "link" type Props_main = ( _data :: Object String @@ -8892,7 +9261,13 @@ main . Union attrs attrs_ Props_main => Record attrs -> JSX -main = element (unsafeCreateDOMComponent "main") +main = element main' + +main' + :: forall attrs attrs_ + . Union attrs attrs_ Props_main + => ReactComponent (Record attrs) +main' = unsafeCreateDOMComponent "main" main_ :: Array JSX -> JSX main_ children = main { children } @@ -9037,7 +9412,13 @@ map . Union attrs attrs_ Props_map => Record attrs -> JSX -map = element (unsafeCreateDOMComponent "map") +map = element map' + +map' + :: forall attrs attrs_ + . Union attrs attrs_ Props_map + => ReactComponent (Record attrs) +map' = unsafeCreateDOMComponent "map" map_ :: Array JSX -> JSX map_ children = map { children } @@ -9181,7 +9562,13 @@ mark . Union attrs attrs_ Props_mark => Record attrs -> JSX -mark = element (unsafeCreateDOMComponent "mark") +mark = element mark' + +mark' + :: forall attrs attrs_ + . Union attrs attrs_ Props_mark + => ReactComponent (Record attrs) +mark' = unsafeCreateDOMComponent "mark" mark_ :: Array JSX -> JSX mark_ children = mark { children } @@ -9325,7 +9712,13 @@ math . Union attrs attrs_ Props_math => Record attrs -> JSX -math = element (unsafeCreateDOMComponent "math") +math = element math' + +math' + :: forall attrs attrs_ + . Union attrs attrs_ Props_math + => ReactComponent (Record attrs) +math' = unsafeCreateDOMComponent "math" math_ :: Array JSX -> JSX math_ children = math { children } @@ -9469,7 +9862,13 @@ menu . Union attrs attrs_ Props_menu => Record attrs -> JSX -menu = element (unsafeCreateDOMComponent "menu") +menu = element menu' + +menu' + :: forall attrs attrs_ + . Union attrs attrs_ Props_menu + => ReactComponent (Record attrs) +menu' = unsafeCreateDOMComponent "menu" menu_ :: Array JSX -> JSX menu_ children = menu { children } @@ -9613,13 +10012,20 @@ menuitem . Union attrs attrs_ Props_menuitem => Record attrs -> JSX -menuitem = element (unsafeCreateDOMComponent "menuitem") +menuitem = element menuitem' + +menuitem' + :: forall attrs attrs_ + . Union attrs attrs_ Props_menuitem + => ReactComponent (Record attrs) +menuitem' = unsafeCreateDOMComponent "menuitem" menuitem_ :: Array JSX -> JSX menuitem_ children = menuitem { children } type Props_meta = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -9757,7 +10163,13 @@ meta . Union attrs attrs_ Props_meta => Record attrs -> JSX -meta = element (unsafeCreateDOMComponent "meta") +meta = element meta' + +meta' + :: forall attrs attrs_ + . Union attrs attrs_ Props_meta + => ReactComponent (Record attrs) +meta' = unsafeCreateDOMComponent "meta" type Props_meter = ( _data :: Object String @@ -9904,7 +10316,13 @@ meter . Union attrs attrs_ Props_meter => Record attrs -> JSX -meter = element (unsafeCreateDOMComponent "meter") +meter = element meter' + +meter' + :: forall attrs attrs_ + . Union attrs attrs_ Props_meter + => ReactComponent (Record attrs) +meter' = unsafeCreateDOMComponent "meter" meter_ :: Array JSX -> JSX meter_ children = meter { children } @@ -10048,7 +10466,13 @@ nav . Union attrs attrs_ Props_nav => Record attrs -> JSX -nav = element (unsafeCreateDOMComponent "nav") +nav = element nav' + +nav' + :: forall attrs attrs_ + . Union attrs attrs_ Props_nav + => ReactComponent (Record attrs) +nav' = unsafeCreateDOMComponent "nav" nav_ :: Array JSX -> JSX nav_ children = nav { children } @@ -10192,7 +10616,13 @@ noscript . Union attrs attrs_ Props_noscript => Record attrs -> JSX -noscript = element (unsafeCreateDOMComponent "noscript") +noscript = element noscript' + +noscript' + :: forall attrs attrs_ + . Union attrs attrs_ Props_noscript + => ReactComponent (Record attrs) +noscript' = unsafeCreateDOMComponent "noscript" noscript_ :: Array JSX -> JSX noscript_ children = noscript { children } @@ -10342,7 +10772,13 @@ object . Union attrs attrs_ Props_object => Record attrs -> JSX -object = element (unsafeCreateDOMComponent "object") +object = element object' + +object' + :: forall attrs attrs_ + . Union attrs attrs_ Props_object + => ReactComponent (Record attrs) +object' = unsafeCreateDOMComponent "object" object_ :: Array JSX -> JSX object_ children = object { children } @@ -10489,7 +10925,13 @@ ol . Union attrs attrs_ Props_ol => Record attrs -> JSX -ol = element (unsafeCreateDOMComponent "ol") +ol = element ol' + +ol' + :: forall attrs attrs_ + . Union attrs attrs_ Props_ol + => ReactComponent (Record attrs) +ol' = unsafeCreateDOMComponent "ol" ol_ :: Array JSX -> JSX ol_ children = ol { children } @@ -10635,7 +11077,13 @@ optgroup . Union attrs attrs_ Props_optgroup => Record attrs -> JSX -optgroup = element (unsafeCreateDOMComponent "optgroup") +optgroup = element optgroup' + +optgroup' + :: forall attrs attrs_ + . Union attrs attrs_ Props_optgroup + => ReactComponent (Record attrs) +optgroup' = unsafeCreateDOMComponent "optgroup" optgroup_ :: Array JSX -> JSX optgroup_ children = optgroup { children } @@ -10783,7 +11231,13 @@ option . Union attrs attrs_ Props_option => Record attrs -> JSX -option = element (unsafeCreateDOMComponent "option") +option = element option' + +option' + :: forall attrs attrs_ + . Union attrs attrs_ Props_option + => ReactComponent (Record attrs) +option' = unsafeCreateDOMComponent "option" option_ :: Array JSX -> JSX option_ children = option { children } @@ -10929,7 +11383,13 @@ output . Union attrs attrs_ Props_output => Record attrs -> JSX -output = element (unsafeCreateDOMComponent "output") +output = element output' + +output' + :: forall attrs attrs_ + . Union attrs attrs_ Props_output + => ReactComponent (Record attrs) +output' = unsafeCreateDOMComponent "output" output_ :: Array JSX -> JSX output_ children = output { children } @@ -11073,13 +11533,20 @@ p . Union attrs attrs_ Props_p => Record attrs -> JSX -p = element (unsafeCreateDOMComponent "p") +p = element p' + +p' + :: forall attrs attrs_ + . Union attrs attrs_ Props_p + => ReactComponent (Record attrs) +p' = unsafeCreateDOMComponent "p" p_ :: Array JSX -> JSX p_ children = p { children } type Props_param = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -11218,7 +11685,13 @@ param . Union attrs attrs_ Props_param => Record attrs -> JSX -param = element (unsafeCreateDOMComponent "param") +param = element param' + +param' + :: forall attrs attrs_ + . Union attrs attrs_ Props_param + => ReactComponent (Record attrs) +param' = unsafeCreateDOMComponent "param" type Props_picture = ( _data :: Object String @@ -11359,7 +11832,13 @@ picture . Union attrs attrs_ Props_picture => Record attrs -> JSX -picture = element (unsafeCreateDOMComponent "picture") +picture = element picture' + +picture' + :: forall attrs attrs_ + . Union attrs attrs_ Props_picture + => ReactComponent (Record attrs) +picture' = unsafeCreateDOMComponent "picture" picture_ :: Array JSX -> JSX picture_ children = picture { children } @@ -11504,7 +11983,13 @@ pre . Union attrs attrs_ Props_pre => Record attrs -> JSX -pre = element (unsafeCreateDOMComponent "pre") +pre = element pre' + +pre' + :: forall attrs attrs_ + . Union attrs attrs_ Props_pre + => ReactComponent (Record attrs) +pre' = unsafeCreateDOMComponent "pre" pre_ :: Array JSX -> JSX pre_ children = pre { children } @@ -11650,7 +12135,13 @@ progress . Union attrs attrs_ Props_progress => Record attrs -> JSX -progress = element (unsafeCreateDOMComponent "progress") +progress = element progress' + +progress' + :: forall attrs attrs_ + . Union attrs attrs_ Props_progress + => ReactComponent (Record attrs) +progress' = unsafeCreateDOMComponent "progress" progress_ :: Array JSX -> JSX progress_ children = progress { children } @@ -11795,7 +12286,13 @@ q . Union attrs attrs_ Props_q => Record attrs -> JSX -q = element (unsafeCreateDOMComponent "q") +q = element q' + +q' + :: forall attrs attrs_ + . Union attrs attrs_ Props_q + => ReactComponent (Record attrs) +q' = unsafeCreateDOMComponent "q" q_ :: Array JSX -> JSX q_ children = q { children } @@ -11939,7 +12436,13 @@ rb . Union attrs attrs_ Props_rb => Record attrs -> JSX -rb = element (unsafeCreateDOMComponent "rb") +rb = element rb' + +rb' + :: forall attrs attrs_ + . Union attrs attrs_ Props_rb + => ReactComponent (Record attrs) +rb' = unsafeCreateDOMComponent "rb" rb_ :: Array JSX -> JSX rb_ children = rb { children } @@ -12083,7 +12586,13 @@ rp . Union attrs attrs_ Props_rp => Record attrs -> JSX -rp = element (unsafeCreateDOMComponent "rp") +rp = element rp' + +rp' + :: forall attrs attrs_ + . Union attrs attrs_ Props_rp + => ReactComponent (Record attrs) +rp' = unsafeCreateDOMComponent "rp" rp_ :: Array JSX -> JSX rp_ children = rp { children } @@ -12227,7 +12736,13 @@ rt . Union attrs attrs_ Props_rt => Record attrs -> JSX -rt = element (unsafeCreateDOMComponent "rt") +rt = element rt' + +rt' + :: forall attrs attrs_ + . Union attrs attrs_ Props_rt + => ReactComponent (Record attrs) +rt' = unsafeCreateDOMComponent "rt" rt_ :: Array JSX -> JSX rt_ children = rt { children } @@ -12371,7 +12886,13 @@ rtc . Union attrs attrs_ Props_rtc => Record attrs -> JSX -rtc = element (unsafeCreateDOMComponent "rtc") +rtc = element rtc' + +rtc' + :: forall attrs attrs_ + . Union attrs attrs_ Props_rtc + => ReactComponent (Record attrs) +rtc' = unsafeCreateDOMComponent "rtc" rtc_ :: Array JSX -> JSX rtc_ children = rtc { children } @@ -12515,7 +13036,13 @@ ruby . Union attrs attrs_ Props_ruby => Record attrs -> JSX -ruby = element (unsafeCreateDOMComponent "ruby") +ruby = element ruby' + +ruby' + :: forall attrs attrs_ + . Union attrs attrs_ Props_ruby + => ReactComponent (Record attrs) +ruby' = unsafeCreateDOMComponent "ruby" ruby_ :: Array JSX -> JSX ruby_ children = ruby { children } @@ -12659,7 +13186,13 @@ s . Union attrs attrs_ Props_s => Record attrs -> JSX -s = element (unsafeCreateDOMComponent "s") +s = element s' + +s' + :: forall attrs attrs_ + . Union attrs attrs_ Props_s + => ReactComponent (Record attrs) +s' = unsafeCreateDOMComponent "s" s_ :: Array JSX -> JSX s_ children = s { children } @@ -12803,7 +13336,13 @@ samp . Union attrs attrs_ Props_samp => Record attrs -> JSX -samp = element (unsafeCreateDOMComponent "samp") +samp = element samp' + +samp' + :: forall attrs attrs_ + . Union attrs attrs_ Props_samp + => ReactComponent (Record attrs) +samp' = unsafeCreateDOMComponent "samp" samp_ :: Array JSX -> JSX samp_ children = samp { children } @@ -12953,7 +13492,13 @@ script . Union attrs attrs_ Props_script => Record attrs -> JSX -script = element (unsafeCreateDOMComponent "script") +script = element script' + +script' + :: forall attrs attrs_ + . Union attrs attrs_ Props_script + => ReactComponent (Record attrs) +script' = unsafeCreateDOMComponent "script" script_ :: Array JSX -> JSX script_ children = script { children } @@ -13097,7 +13642,13 @@ section . Union attrs attrs_ Props_section => Record attrs -> JSX -section = element (unsafeCreateDOMComponent "section") +section = element section' + +section' + :: forall attrs attrs_ + . Union attrs attrs_ Props_section + => ReactComponent (Record attrs) +section' = unsafeCreateDOMComponent "section" section_ :: Array JSX -> JSX section_ children = section { children } @@ -13250,7 +13801,13 @@ select . Union attrs attrs_ Props_select => Record attrs -> JSX -select = element (unsafeCreateDOMComponent "select") +select = element select' + +select' + :: forall attrs attrs_ + . Union attrs attrs_ Props_select + => ReactComponent (Record attrs) +select' = unsafeCreateDOMComponent "select" select_ :: Array JSX -> JSX select_ children = select { children } @@ -13395,7 +13952,13 @@ slot . Union attrs attrs_ Props_slot => Record attrs -> JSX -slot = element (unsafeCreateDOMComponent "slot") +slot = element slot' + +slot' + :: forall attrs attrs_ + . Union attrs attrs_ Props_slot + => ReactComponent (Record attrs) +slot' = unsafeCreateDOMComponent "slot" slot_ :: Array JSX -> JSX slot_ children = slot { children } @@ -13539,13 +14102,20 @@ small . Union attrs attrs_ Props_small => Record attrs -> JSX -small = element (unsafeCreateDOMComponent "small") +small = element small' + +small' + :: forall attrs attrs_ + . Union attrs attrs_ Props_small + => ReactComponent (Record attrs) +small' = unsafeCreateDOMComponent "small" small_ :: Array JSX -> JSX small_ children = small { children } type Props_source = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -13685,7 +14255,13 @@ source . Union attrs attrs_ Props_source => Record attrs -> JSX -source = element (unsafeCreateDOMComponent "source") +source = element source' + +source' + :: forall attrs attrs_ + . Union attrs attrs_ Props_source + => ReactComponent (Record attrs) +source' = unsafeCreateDOMComponent "source" type Props_span = ( _data :: Object String @@ -13826,7 +14402,13 @@ span . Union attrs attrs_ Props_span => Record attrs -> JSX -span = element (unsafeCreateDOMComponent "span") +span = element span' + +span' + :: forall attrs attrs_ + . Union attrs attrs_ Props_span + => ReactComponent (Record attrs) +span' = unsafeCreateDOMComponent "span" span_ :: Array JSX -> JSX span_ children = span { children } @@ -13970,7 +14552,13 @@ strong . Union attrs attrs_ Props_strong => Record attrs -> JSX -strong = element (unsafeCreateDOMComponent "strong") +strong = element strong' + +strong' + :: forall attrs attrs_ + . Union attrs attrs_ Props_strong + => ReactComponent (Record attrs) +strong' = unsafeCreateDOMComponent "strong" strong_ :: Array JSX -> JSX strong_ children = strong { children } @@ -14118,7 +14706,13 @@ style . Union attrs attrs_ Props_style => Record attrs -> JSX -style = element (unsafeCreateDOMComponent "style") +style = element style' + +style' + :: forall attrs attrs_ + . Union attrs attrs_ Props_style + => ReactComponent (Record attrs) +style' = unsafeCreateDOMComponent "style" style_ :: Array JSX -> JSX style_ children = style { children } @@ -14262,7 +14856,13 @@ sub . Union attrs attrs_ Props_sub => Record attrs -> JSX -sub = element (unsafeCreateDOMComponent "sub") +sub = element sub' + +sub' + :: forall attrs attrs_ + . Union attrs attrs_ Props_sub + => ReactComponent (Record attrs) +sub' = unsafeCreateDOMComponent "sub" sub_ :: Array JSX -> JSX sub_ children = sub { children } @@ -14406,7 +15006,13 @@ summary . Union attrs attrs_ Props_summary => Record attrs -> JSX -summary = element (unsafeCreateDOMComponent "summary") +summary = element summary' + +summary' + :: forall attrs attrs_ + . Union attrs attrs_ Props_summary + => ReactComponent (Record attrs) +summary' = unsafeCreateDOMComponent "summary" summary_ :: Array JSX -> JSX summary_ children = summary { children } @@ -14550,7 +15156,13 @@ sup . Union attrs attrs_ Props_sup => Record attrs -> JSX -sup = element (unsafeCreateDOMComponent "sup") +sup = element sup' + +sup' + :: forall attrs attrs_ + . Union attrs attrs_ Props_sup + => ReactComponent (Record attrs) +sup' = unsafeCreateDOMComponent "sup" sup_ :: Array JSX -> JSX sup_ children = sup { children } @@ -14560,14 +15172,11 @@ type Props_svg = , about :: String , acceptCharset :: String , accessKey :: String - , alignmentBaseline :: String , allowFullScreen :: Boolean , allowTransparency :: Boolean , autoComplete :: Boolean , autoFocus :: Boolean , autoPlay :: Boolean - , baseProfile :: String - , baselineShift :: String , capture :: Boolean , cellPadding :: String , cellSpacing :: String @@ -14575,63 +15184,28 @@ type Props_svg = , children :: Array JSX , classID :: String , className :: String - , clip :: String - , clipPath :: String - , clipRule :: String , colSpan :: Int - , color :: String - , colorInterpolation :: String - , colorInterpolationFilters :: String - , colorProfile :: String - , colorRendering :: String , contentEditable :: Boolean - , contentScriptType :: String - , contentStyleType :: String , contextMenu :: String , crossOrigin :: String - , cursor :: String , dangerouslySetInnerHTML :: { __html :: String } , datatype :: String , dateTime :: String , dir :: String - , direction :: String - , display :: String - , dominantBaseline :: String , draggable :: Boolean - , enableBackground :: String , encType :: String - , externalResourcesRequired :: String - , fill :: String - , fillOpacity :: String - , fillRule :: String - , filter :: String - , floodColor :: String - , floodOpacity :: String - , focusHighlight :: String - , focusable :: String - , fontFamily :: String - , fontSize :: String - , fontSizeAdjust :: String - , fontStretch :: String - , fontStyle :: String - , fontVariant :: String - , fontWeight :: String , formAction :: String , formEncType :: String , formMethod :: String , formNoValidate :: Boolean , formTarget :: String , frameBorder :: String - , glyphOrientationHorizontal :: String - , glyphOrientationVertical :: String - , height :: String , hidden :: Boolean , hrefLang :: String , htmlFor :: String , httpEquiv :: String , icon :: String , id :: String - , imageRendering :: String , inlist :: String , inputMode :: String , is :: String @@ -14640,32 +15214,15 @@ type Props_svg = , itemRef :: String , itemScope :: Boolean , itemType :: String - , kerning :: String , key :: String , keyParams :: String , keyType :: String , lang :: String - , letterSpacing :: String - , lightingColor :: String , marginHeight :: String , marginWidth :: String - , markerEnd :: String - , markerMid :: String - , markerStart :: String - , mask :: String , maxLength :: Int , mediaGroup :: String , minLength :: Int - , navDown :: String - , navDownLeft :: String - , navDownRight :: String - , navLeft :: String - , navNext :: String - , navPrev :: String - , navRight :: String - , navUp :: String - , navUpLeft :: String - , navUpRight :: String , noValidate :: Boolean , onAnimationEnd :: EventHandler , onAnimationIteration :: EventHandler @@ -14718,81 +15275,30 @@ type Props_svg = , onTouchStart :: EventHandler , onTransitionEnd :: EventHandler , onWheel :: EventHandler - , opacity :: String - , overflow :: String - , playbackOrder :: String - , playbackorder :: String - , pointerEvents :: String , prefix :: String - , preserveAspectRatio :: String , property :: String , radioGroup :: String , readOnly :: Boolean , ref :: Ref (Nullable Node) - , requiredExtensions :: String - , requiredFeatures :: String , resource :: String , role :: String , rowSpan :: Int , scoped :: Boolean , seamless :: Boolean , security :: String - , shapeRendering :: String - , snapshotTime :: String , spellCheck :: Boolean , srcDoc :: JSX , srcLang :: String , srcSet :: String - , stopColor :: String - , stopOpacity :: String - , stroke :: String - , strokeDasharray :: String - , strokeDashoffset :: String - , strokeLinecap :: String - , strokeLinejoin :: String - , strokeMiterlimit :: String - , strokeOpacity :: String - , strokeWidth :: String , style :: CSS , suppressContentEditableWarning :: Boolean - , syncBehaviorDefault :: String - , syncToleranceDefault :: String - , systemLanguage :: String , tabIndex :: Int - , textAnchor :: String - , textDecoration :: String - , textRendering :: String - , timelineBegin :: String - , timelinebegin :: String , title :: String - , transform :: String , typeof :: String - , unicodeBidi :: String , unselectable :: Boolean , useMap :: String - , version :: String - , viewBox :: String - , visibility :: String , vocab :: String - , width :: String , wmode :: String - , wordSpacing :: String - , writingMode :: String - , x :: String - , xlinkActuate :: String - , xlinkArcrole :: String - , xlinkHref :: String - , xlinkRole :: String - , xlinkShow :: String - , xlinkTitle :: String - , xlinkType :: String - , xmlBase :: String - , xmlLang :: String - , xmlSpace :: String - , xmlns :: String - , xmlnsXlink :: String - , y :: String - , zoomAndPan :: String ) svg @@ -14800,7 +15306,13 @@ svg . Union attrs attrs_ Props_svg => Record attrs -> JSX -svg = element (unsafeCreateDOMComponent "svg") +svg = element svg' + +svg' + :: forall attrs attrs_ + . Union attrs attrs_ Props_svg + => ReactComponent (Record attrs) +svg' = unsafeCreateDOMComponent "svg" svg_ :: Array JSX -> JSX svg_ children = svg { children } @@ -14946,7 +15458,13 @@ table . Union attrs attrs_ Props_table => Record attrs -> JSX -table = element (unsafeCreateDOMComponent "table") +table = element table' + +table' + :: forall attrs attrs_ + . Union attrs attrs_ Props_table + => ReactComponent (Record attrs) +table' = unsafeCreateDOMComponent "table" table_ :: Array JSX -> JSX table_ children = table { children } @@ -15090,7 +15608,13 @@ tbody . Union attrs attrs_ Props_tbody => Record attrs -> JSX -tbody = element (unsafeCreateDOMComponent "tbody") +tbody = element tbody' + +tbody' + :: forall attrs attrs_ + . Union attrs attrs_ Props_tbody + => ReactComponent (Record attrs) +tbody' = unsafeCreateDOMComponent "tbody" tbody_ :: Array JSX -> JSX tbody_ children = tbody { children } @@ -15238,7 +15762,13 @@ td . Union attrs attrs_ Props_td => Record attrs -> JSX -td = element (unsafeCreateDOMComponent "td") +td = element td' + +td' + :: forall attrs attrs_ + . Union attrs attrs_ Props_td + => ReactComponent (Record attrs) +td' = unsafeCreateDOMComponent "td" td_ :: Array JSX -> JSX td_ children = td { children } @@ -15382,7 +15912,13 @@ template . Union attrs attrs_ Props_template => Record attrs -> JSX -template = element (unsafeCreateDOMComponent "template") +template = element template' + +template' + :: forall attrs attrs_ + . Union attrs attrs_ Props_template + => ReactComponent (Record attrs) +template' = unsafeCreateDOMComponent "template" template_ :: Array JSX -> JSX template_ children = template { children } @@ -15539,7 +16075,13 @@ textarea . Union attrs attrs_ Props_textarea => Record attrs -> JSX -textarea = element (unsafeCreateDOMComponent "textarea") +textarea = element textarea' + +textarea' + :: forall attrs attrs_ + . Union attrs attrs_ Props_textarea + => ReactComponent (Record attrs) +textarea' = unsafeCreateDOMComponent "textarea" textarea_ :: Array JSX -> JSX textarea_ children = textarea { children } @@ -15683,7 +16225,13 @@ tfoot . Union attrs attrs_ Props_tfoot => Record attrs -> JSX -tfoot = element (unsafeCreateDOMComponent "tfoot") +tfoot = element tfoot' + +tfoot' + :: forall attrs attrs_ + . Union attrs attrs_ Props_tfoot + => ReactComponent (Record attrs) +tfoot' = unsafeCreateDOMComponent "tfoot" tfoot_ :: Array JSX -> JSX tfoot_ children = tfoot { children } @@ -15831,7 +16379,13 @@ th . Union attrs attrs_ Props_th => Record attrs -> JSX -th = element (unsafeCreateDOMComponent "th") +th = element th' + +th' + :: forall attrs attrs_ + . Union attrs attrs_ Props_th + => ReactComponent (Record attrs) +th' = unsafeCreateDOMComponent "th" th_ :: Array JSX -> JSX th_ children = th { children } @@ -15975,7 +16529,13 @@ thead . Union attrs attrs_ Props_thead => Record attrs -> JSX -thead = element (unsafeCreateDOMComponent "thead") +thead = element thead' + +thead' + :: forall attrs attrs_ + . Union attrs attrs_ Props_thead + => ReactComponent (Record attrs) +thead' = unsafeCreateDOMComponent "thead" thead_ :: Array JSX -> JSX thead_ children = thead { children } @@ -16119,7 +16679,13 @@ time . Union attrs attrs_ Props_time => Record attrs -> JSX -time = element (unsafeCreateDOMComponent "time") +time = element time' + +time' + :: forall attrs attrs_ + . Union attrs attrs_ Props_time + => ReactComponent (Record attrs) +time' = unsafeCreateDOMComponent "time" time_ :: Array JSX -> JSX time_ children = time { children } @@ -16263,7 +16829,13 @@ title . Union attrs attrs_ Props_title => Record attrs -> JSX -title = element (unsafeCreateDOMComponent "title") +title = element title' + +title' + :: forall attrs attrs_ + . Union attrs attrs_ Props_title + => ReactComponent (Record attrs) +title' = unsafeCreateDOMComponent "title" title_ :: Array JSX -> JSX title_ children = title { children } @@ -16407,13 +16979,20 @@ tr . Union attrs attrs_ Props_tr => Record attrs -> JSX -tr = element (unsafeCreateDOMComponent "tr") +tr = element tr' + +tr' + :: forall attrs attrs_ + . Union attrs attrs_ Props_tr + => ReactComponent (Record attrs) +tr' = unsafeCreateDOMComponent "tr" tr_ :: Array JSX -> JSX tr_ children = tr { children } type Props_track = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -16553,7 +17132,13 @@ track . Union attrs attrs_ Props_track => Record attrs -> JSX -track = element (unsafeCreateDOMComponent "track") +track = element track' + +track' + :: forall attrs attrs_ + . Union attrs attrs_ Props_track + => ReactComponent (Record attrs) +track' = unsafeCreateDOMComponent "track" type Props_u = ( _data :: Object String @@ -16694,7 +17279,13 @@ u . Union attrs attrs_ Props_u => Record attrs -> JSX -u = element (unsafeCreateDOMComponent "u") +u = element u' + +u' + :: forall attrs attrs_ + . Union attrs attrs_ Props_u + => ReactComponent (Record attrs) +u' = unsafeCreateDOMComponent "u" u_ :: Array JSX -> JSX u_ children = u { children } @@ -16839,7 +17430,13 @@ ul . Union attrs attrs_ Props_ul => Record attrs -> JSX -ul = element (unsafeCreateDOMComponent "ul") +ul = element ul' + +ul' + :: forall attrs attrs_ + . Union attrs attrs_ Props_ul + => ReactComponent (Record attrs) +ul' = unsafeCreateDOMComponent "ul" ul_ :: Array JSX -> JSX ul_ children = ul { children } @@ -16983,7 +17580,13 @@ var . Union attrs attrs_ Props_var => Record attrs -> JSX -var = element (unsafeCreateDOMComponent "var") +var = element var' + +var' + :: forall attrs attrs_ + . Union attrs attrs_ Props_var + => ReactComponent (Record attrs) +var' = unsafeCreateDOMComponent "var" var_ :: Array JSX -> JSX var_ children = var { children } @@ -17008,7 +17611,6 @@ type Props_video = , colSpan :: Int , contentEditable :: Boolean , contextMenu :: String - , controls :: Boolean , crossOrigin :: String , dangerouslySetInnerHTML :: { __html :: String } , datatype :: String @@ -17022,7 +17624,6 @@ type Props_video = , formNoValidate :: Boolean , formTarget :: String , frameBorder :: String - , height :: String , hidden :: Boolean , hrefLang :: String , htmlFor :: String @@ -17041,21 +17642,16 @@ type Props_video = , keyParams :: String , keyType :: String , lang :: String - , loop :: Boolean , marginHeight :: String , marginWidth :: String , maxLength :: Int , mediaGroup :: String , minLength :: Int - , muted :: Boolean , noValidate :: Boolean - , onAbort :: EventHandler , onAnimationEnd :: EventHandler , onAnimationIteration :: EventHandler , onAnimationStart :: EventHandler , onBlur :: EventHandler - , onCanPlay :: EventHandler - , onCanPlayThrough :: EventHandler , onClick :: EventHandler , onCompositionEnd :: EventHandler , onCompositionStart :: EventHandler @@ -17072,20 +17668,12 @@ type Props_video = , onDragOver :: EventHandler , onDragStart :: EventHandler , onDrop :: EventHandler - , onDurationChange :: EventHandler - , onEmptied :: EventHandler - , onEncrypted :: EventHandler - , onEnded :: EventHandler - , onError :: EventHandler , onFocus :: EventHandler , onGotPointerCapture :: EventHandler , onInvalid :: EventHandler , onKeyDown :: EventHandler , onKeyPress :: EventHandler , onKeyUp :: EventHandler - , onLoadStart :: EventHandler - , onLoadedData :: EventHandler - , onLoadedMetadata :: EventHandler , onLostPointerCapture :: EventHandler , onMouseDown :: EventHandler , onMouseEnter :: EventHandler @@ -17095,9 +17683,6 @@ type Props_video = , onMouseOver :: EventHandler , onMouseUp :: EventHandler , onPaste :: EventHandler - , onPause :: EventHandler - , onPlay :: EventHandler - , onPlaying :: EventHandler , onPointerCancel :: EventHandler , onPointerDown :: EventHandler , onPointerEnter :: EventHandler @@ -17106,28 +17691,15 @@ type Props_video = , onPointerOut :: EventHandler , onPointerOver :: EventHandler , onPointerUp :: EventHandler - , onProgress :: EventHandler - , onRateChange :: EventHandler - , onScroll :: EventHandler - , onSeeked :: EventHandler - , onSeeking :: EventHandler , onSelect :: EventHandler - , onStalled :: EventHandler , onSubmit :: EventHandler - , onSuspend :: EventHandler - , onTimeUpdate :: EventHandler , onTouchCancel :: EventHandler , onTouchEnd :: EventHandler , onTouchMove :: EventHandler , onTouchStart :: EventHandler , onTransitionEnd :: EventHandler - , onVolumeChange :: EventHandler - , onWaiting :: EventHandler , onWheel :: EventHandler - , playsInline :: Boolean - , poster :: String , prefix :: String - , preload :: String , property :: String , radioGroup :: String , readOnly :: Boolean @@ -17139,7 +17711,6 @@ type Props_video = , seamless :: Boolean , security :: String , spellCheck :: Boolean - , src :: String , srcDoc :: JSX , srcLang :: String , srcSet :: String @@ -17151,7 +17722,6 @@ type Props_video = , unselectable :: Boolean , useMap :: String , vocab :: String - , width :: String , wmode :: String ) @@ -17160,13 +17730,20 @@ video . Union attrs attrs_ Props_video => Record attrs -> JSX -video = element (unsafeCreateDOMComponent "video") +video = element video' + +video' + :: forall attrs attrs_ + . Union attrs attrs_ Props_video + => ReactComponent (Record attrs) +video' = unsafeCreateDOMComponent "video" video_ :: Array JSX -> JSX video_ children = video { children } type Props_wbr = - ( about :: String + ( _data :: Object String + , about :: String , acceptCharset :: String , accessKey :: String , allowFullScreen :: Boolean @@ -17302,4 +17879,10 @@ wbr . Union attrs attrs_ Props_wbr => Record attrs -> JSX -wbr = element (unsafeCreateDOMComponent "wbr") +wbr = element wbr' + +wbr' + :: forall attrs attrs_ + . Union attrs attrs_ Props_wbr + => ReactComponent (Record attrs) +wbr' = unsafeCreateDOMComponent "wbr" diff --git a/src/React/Basic/DOM/SVG.purs b/src/React/Basic/DOM/SVG.purs index 2a2438e..79ebdb7 100644 --- a/src/React/Basic/DOM/SVG.purs +++ b/src/React/Basic/DOM/SVG.purs @@ -4,9 +4,11 @@ module React.Basic.DOM.SVG where +import Data.Nullable (Nullable) import Foreign.Object (Object) import Prim.Row (class Union) -import React.Basic (JSX, element) +import Web.DOM (Node) +import React.Basic (JSX, ReactComponent, Ref, element) import React.Basic.DOM.Internal (SharedSVGProps, unsafeCreateDOMComponent) type Props_a = @@ -50,6 +52,7 @@ type Props_a = , hreflang :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -70,6 +73,7 @@ type Props_a = , overflow :: String , ping :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , referrerpolicy :: String , requiredExtensions :: String , requiredFeatures :: String @@ -104,7 +108,13 @@ a . Union attrs attrs_ (SharedSVGProps Props_a) => Record attrs -> JSX -a = element (unsafeCreateDOMComponent "a") +a = element a' + +a' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_a) + => ReactComponent (Record attrs) +a' = unsafeCreateDOMComponent "a" a_ :: Array JSX -> JSX a_ children = a { children } @@ -156,6 +166,7 @@ type Props_animate = , href :: String , imageRendering :: String , kerning :: String + , key :: String , keySplines :: String , keyTimes :: String , letterSpacing :: String @@ -169,6 +180,7 @@ type Props_animate = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , repeatCount :: String , repeatDur :: String , requiredExtensions :: String @@ -204,7 +216,13 @@ animate . Union attrs attrs_ (SharedSVGProps Props_animate) => Record attrs -> JSX -animate = element (unsafeCreateDOMComponent "animate") +animate = element animate' + +animate' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_animate) + => ReactComponent (Record attrs) +animate' = unsafeCreateDOMComponent "animate" animate_ :: Array JSX -> JSX animate_ children = animate { children } @@ -255,6 +273,7 @@ type Props_animateColor = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , keySplines :: String , keyTimes :: String , letterSpacing :: String @@ -268,6 +287,7 @@ type Props_animateColor = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , repeatCount :: String , repeatDur :: String , requiredExtensions :: String @@ -303,7 +323,13 @@ animateColor . Union attrs attrs_ (SharedSVGProps Props_animateColor) => Record attrs -> JSX -animateColor = element (unsafeCreateDOMComponent "animateColor") +animateColor = element animateColor' + +animateColor' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_animateColor) + => ReactComponent (Record attrs) +animateColor' = unsafeCreateDOMComponent "animateColor" animateColor_ :: Array JSX -> JSX animateColor_ children = animateColor { children } @@ -322,6 +348,7 @@ type Props_animateMotion = , fill :: String , from :: String , href :: String + , key :: String , keyPoints :: String , keySplines :: String , keyTimes :: String @@ -329,6 +356,7 @@ type Props_animateMotion = , min :: String , origin :: String , path :: String + , ref :: Ref (Nullable Node) , repeatCount :: String , repeatDur :: String , requiredExtensions :: String @@ -347,7 +375,13 @@ animateMotion . Union attrs attrs_ (SharedSVGProps Props_animateMotion) => Record attrs -> JSX -animateMotion = element (unsafeCreateDOMComponent "animateMotion") +animateMotion = element animateMotion' + +animateMotion' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_animateMotion) + => ReactComponent (Record attrs) +animateMotion' = unsafeCreateDOMComponent "animateMotion" animateMotion_ :: Array JSX -> JSX animateMotion_ children = animateMotion { children } @@ -368,10 +402,12 @@ type Props_animateTransform = , fill :: String , from :: String , href :: String + , key :: String , keySplines :: String , keyTimes :: String , max :: String , min :: String + , ref :: Ref (Nullable Node) , repeatCount :: String , repeatDur :: String , requiredExtensions :: String @@ -390,7 +426,13 @@ animateTransform . Union attrs attrs_ (SharedSVGProps Props_animateTransform) => Record attrs -> JSX -animateTransform = element (unsafeCreateDOMComponent "animateTransform") +animateTransform = element animateTransform' + +animateTransform' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_animateTransform) + => ReactComponent (Record attrs) +animateTransform' = unsafeCreateDOMComponent "animateTransform" animateTransform_ :: Array JSX -> JSX animateTransform_ children = animateTransform { children } @@ -407,6 +449,7 @@ type Props_animation = , focusable :: String , height :: String , initialVisibility :: String + , key :: String , max :: String , min :: String , navDown :: String @@ -420,6 +463,7 @@ type Props_animation = , navUpLeft :: String , navUpRight :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , repeatCount :: String , repeatDur :: String , requiredExtensions :: String @@ -442,7 +486,13 @@ animation . Union attrs attrs_ (SharedSVGProps Props_animation) => Record attrs -> JSX -animation = element (unsafeCreateDOMComponent "animation") +animation = element animation' + +animation' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_animation) + => ReactComponent (Record attrs) +animation' = unsafeCreateDOMComponent "animation" animation_ :: Array JSX -> JSX animation_ children = animation { children } @@ -455,8 +505,10 @@ type Props_audio = , end :: String , externalResourcesRequired :: String , fill :: String + , key :: String , max :: String , min :: String + , ref :: Ref (Nullable Node) , repeatCount :: String , repeatDur :: String , requiredExtensions :: String @@ -476,7 +528,13 @@ audio . Union attrs attrs_ (SharedSVGProps Props_audio) => Record attrs -> JSX -audio = element (unsafeCreateDOMComponent "audio") +audio = element audio' + +audio' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_audio) + => ReactComponent (Record attrs) +audio' = unsafeCreateDOMComponent "audio" audio_ :: Array JSX -> JSX audio_ children = audio { children } @@ -484,7 +542,9 @@ audio_ children = audio { children } type Props_canvas = ( _data :: Object String , children :: Array JSX + , key :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , systemLanguage :: String ) @@ -494,7 +554,13 @@ canvas . Union attrs attrs_ (SharedSVGProps Props_canvas) => Record attrs -> JSX -canvas = element (unsafeCreateDOMComponent "canvas") +canvas = element canvas' + +canvas' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_canvas) + => ReactComponent (Record attrs) +canvas' = unsafeCreateDOMComponent "canvas" canvas_ :: Array JSX -> JSX canvas_ children = canvas { children } @@ -539,6 +605,7 @@ type Props_circle = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -560,6 +627,7 @@ type Props_circle = , pathLength :: String , pointerEvents :: String , r :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -591,7 +659,13 @@ circle . Union attrs attrs_ (SharedSVGProps Props_circle) => Record attrs -> JSX -circle = element (unsafeCreateDOMComponent "circle") +circle = element circle' + +circle' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_circle) + => ReactComponent (Record attrs) +circle' = unsafeCreateDOMComponent "circle" circle_ :: Array JSX -> JSX circle_ children = circle { children } @@ -633,6 +707,7 @@ type Props_clipPath = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -642,6 +717,7 @@ type Props_clipPath = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , shapeRendering :: String @@ -671,7 +747,13 @@ clipPath . Union attrs attrs_ (SharedSVGProps Props_clipPath) => Record attrs -> JSX -clipPath = element (unsafeCreateDOMComponent "clipPath") +clipPath = element clipPath' + +clipPath' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_clipPath) + => ReactComponent (Record attrs) +clipPath' = unsafeCreateDOMComponent "clipPath" clipPath_ :: Array JSX -> JSX clipPath_ children = clipPath { children } @@ -712,6 +794,7 @@ type Props_defs = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -721,6 +804,7 @@ type Props_defs = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , shapeRendering :: String @@ -750,7 +834,13 @@ defs . Union attrs attrs_ (SharedSVGProps Props_defs) => Record attrs -> JSX -defs = element (unsafeCreateDOMComponent "defs") +defs = element defs' + +defs' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_defs) + => ReactComponent (Record attrs) +defs' = unsafeCreateDOMComponent "defs" defs_ :: Array JSX -> JSX defs_ children = defs { children } @@ -758,6 +848,8 @@ defs_ children = defs { children } type Props_desc = ( _data :: Object String , children :: Array JSX + , key :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -770,7 +862,13 @@ desc . Union attrs attrs_ (SharedSVGProps Props_desc) => Record attrs -> JSX -desc = element (unsafeCreateDOMComponent "desc") +desc = element desc' + +desc' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_desc) + => ReactComponent (Record attrs) +desc' = unsafeCreateDOMComponent "desc" desc_ :: Array JSX -> JSX desc_ children = desc { children } @@ -780,6 +878,8 @@ type Props_discard = , begin :: String , children :: Array JSX , href :: String + , key :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -792,7 +892,13 @@ discard . Union attrs attrs_ (SharedSVGProps Props_discard) => Record attrs -> JSX -discard = element (unsafeCreateDOMComponent "discard") +discard = element discard' + +discard' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_discard) + => ReactComponent (Record attrs) +discard' = unsafeCreateDOMComponent "discard" discard_ :: Array JSX -> JSX discard_ children = discard { children } @@ -837,6 +943,7 @@ type Props_ellipse = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -857,6 +964,7 @@ type Props_ellipse = , overflow :: String , pathLength :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -890,7 +998,13 @@ ellipse . Union attrs attrs_ (SharedSVGProps Props_ellipse) => Record attrs -> JSX -ellipse = element (unsafeCreateDOMComponent "ellipse") +ellipse = element ellipse' + +ellipse' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_ellipse) + => ReactComponent (Record attrs) +ellipse' = unsafeCreateDOMComponent "ellipse" ellipse_ :: Array JSX -> JSX ellipse_ children = ellipse { children } @@ -933,6 +1047,7 @@ type Props_feBlend = , in :: String , in2 :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -943,6 +1058,7 @@ type Props_feBlend = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -972,7 +1088,13 @@ feBlend . Union attrs attrs_ (SharedSVGProps Props_feBlend) => Record attrs -> JSX -feBlend = element (unsafeCreateDOMComponent "feBlend") +feBlend = element feBlend' + +feBlend' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feBlend) + => ReactComponent (Record attrs) +feBlend' = unsafeCreateDOMComponent "feBlend" feBlend_ :: Array JSX -> JSX feBlend_ children = feBlend { children } @@ -1014,6 +1136,7 @@ type Props_feColorMatrix = , imageRendering :: String , in :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1023,6 +1146,7 @@ type Props_feColorMatrix = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -1054,7 +1178,13 @@ feColorMatrix . Union attrs attrs_ (SharedSVGProps Props_feColorMatrix) => Record attrs -> JSX -feColorMatrix = element (unsafeCreateDOMComponent "feColorMatrix") +feColorMatrix = element feColorMatrix' + +feColorMatrix' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feColorMatrix) + => ReactComponent (Record attrs) +feColorMatrix' = unsafeCreateDOMComponent "feColorMatrix" feColorMatrix_ :: Array JSX -> JSX feColorMatrix_ children = feColorMatrix { children } @@ -1096,6 +1226,7 @@ type Props_feComponentTransfer = , imageRendering :: String , in :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1105,6 +1236,7 @@ type Props_feComponentTransfer = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -1134,7 +1266,13 @@ feComponentTransfer . Union attrs attrs_ (SharedSVGProps Props_feComponentTransfer) => Record attrs -> JSX -feComponentTransfer = element (unsafeCreateDOMComponent "feComponentTransfer") +feComponentTransfer = element feComponentTransfer' + +feComponentTransfer' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feComponentTransfer) + => ReactComponent (Record attrs) +feComponentTransfer' = unsafeCreateDOMComponent "feComponentTransfer" feComponentTransfer_ :: Array JSX -> JSX feComponentTransfer_ children = feComponentTransfer { children } @@ -1181,6 +1319,7 @@ type Props_feComposite = , k3 :: String , k4 :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1191,6 +1330,7 @@ type Props_feComposite = , operator :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -1220,7 +1360,13 @@ feComposite . Union attrs attrs_ (SharedSVGProps Props_feComposite) => Record attrs -> JSX -feComposite = element (unsafeCreateDOMComponent "feComposite") +feComposite = element feComposite' + +feComposite' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feComposite) + => ReactComponent (Record attrs) +feComposite' = unsafeCreateDOMComponent "feComposite" feComposite_ :: Array JSX -> JSX feComposite_ children = feComposite { children } @@ -1267,6 +1413,7 @@ type Props_feConvolveMatrix = , kernelMatrix :: String , kernelUnitLength :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1278,6 +1425,7 @@ type Props_feConvolveMatrix = , overflow :: String , pointerEvents :: String , preserveAlpha :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -1309,7 +1457,13 @@ feConvolveMatrix . Union attrs attrs_ (SharedSVGProps Props_feConvolveMatrix) => Record attrs -> JSX -feConvolveMatrix = element (unsafeCreateDOMComponent "feConvolveMatrix") +feConvolveMatrix = element feConvolveMatrix' + +feConvolveMatrix' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feConvolveMatrix) + => ReactComponent (Record attrs) +feConvolveMatrix' = unsafeCreateDOMComponent "feConvolveMatrix" feConvolveMatrix_ :: Array JSX -> JSX feConvolveMatrix_ children = feConvolveMatrix { children } @@ -1353,6 +1507,7 @@ type Props_feDiffuseLighting = , in :: String , kernelUnitLength :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1362,6 +1517,7 @@ type Props_feDiffuseLighting = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -1392,7 +1548,13 @@ feDiffuseLighting . Union attrs attrs_ (SharedSVGProps Props_feDiffuseLighting) => Record attrs -> JSX -feDiffuseLighting = element (unsafeCreateDOMComponent "feDiffuseLighting") +feDiffuseLighting = element feDiffuseLighting' + +feDiffuseLighting' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feDiffuseLighting) + => ReactComponent (Record attrs) +feDiffuseLighting' = unsafeCreateDOMComponent "feDiffuseLighting" feDiffuseLighting_ :: Array JSX -> JSX feDiffuseLighting_ children = feDiffuseLighting { children } @@ -1435,6 +1597,7 @@ type Props_feDisplacementMap = , in :: String , in2 :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1444,6 +1607,7 @@ type Props_feDisplacementMap = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , scale :: String , shapeRendering :: String @@ -1476,7 +1640,13 @@ feDisplacementMap . Union attrs attrs_ (SharedSVGProps Props_feDisplacementMap) => Record attrs -> JSX -feDisplacementMap = element (unsafeCreateDOMComponent "feDisplacementMap") +feDisplacementMap = element feDisplacementMap' + +feDisplacementMap' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feDisplacementMap) + => ReactComponent (Record attrs) +feDisplacementMap' = unsafeCreateDOMComponent "feDisplacementMap" feDisplacementMap_ :: Array JSX -> JSX feDisplacementMap_ children = feDisplacementMap { children } @@ -1486,6 +1656,8 @@ type Props_feDistantLight = , azimuth :: String , children :: Array JSX , elevation :: String + , key :: String + , ref :: Ref (Nullable Node) ) feDistantLight @@ -1493,7 +1665,13 @@ feDistantLight . Union attrs attrs_ (SharedSVGProps Props_feDistantLight) => Record attrs -> JSX -feDistantLight = element (unsafeCreateDOMComponent "feDistantLight") +feDistantLight = element feDistantLight' + +feDistantLight' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feDistantLight) + => ReactComponent (Record attrs) +feDistantLight' = unsafeCreateDOMComponent "feDistantLight" feDistantLight_ :: Array JSX -> JSX feDistantLight_ children = feDistantLight { children } @@ -1505,6 +1683,8 @@ type Props_feDropShadow = , dy :: String , height :: String , in :: String + , key :: String + , ref :: Ref (Nullable Node) , result :: String , stdDeviation :: String , width :: String @@ -1517,7 +1697,13 @@ feDropShadow . Union attrs attrs_ (SharedSVGProps Props_feDropShadow) => Record attrs -> JSX -feDropShadow = element (unsafeCreateDOMComponent "feDropShadow") +feDropShadow = element feDropShadow' + +feDropShadow' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feDropShadow) + => ReactComponent (Record attrs) +feDropShadow' = unsafeCreateDOMComponent "feDropShadow" feDropShadow_ :: Array JSX -> JSX feDropShadow_ children = feDropShadow { children } @@ -1558,6 +1744,7 @@ type Props_feFlood = , height :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1567,6 +1754,7 @@ type Props_feFlood = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -1596,7 +1784,13 @@ feFlood . Union attrs attrs_ (SharedSVGProps Props_feFlood) => Record attrs -> JSX -feFlood = element (unsafeCreateDOMComponent "feFlood") +feFlood = element feFlood' + +feFlood' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feFlood) + => ReactComponent (Record attrs) +feFlood' = unsafeCreateDOMComponent "feFlood" feFlood_ :: Array JSX -> JSX feFlood_ children = feFlood { children } @@ -1607,7 +1801,9 @@ type Props_feFuncA = , children :: Array JSX , exponent :: String , intercept :: String + , key :: String , offset :: String + , ref :: Ref (Nullable Node) , slope :: String , tableValues :: String , type :: String @@ -1618,7 +1814,13 @@ feFuncA . Union attrs attrs_ (SharedSVGProps Props_feFuncA) => Record attrs -> JSX -feFuncA = element (unsafeCreateDOMComponent "feFuncA") +feFuncA = element feFuncA' + +feFuncA' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feFuncA) + => ReactComponent (Record attrs) +feFuncA' = unsafeCreateDOMComponent "feFuncA" feFuncA_ :: Array JSX -> JSX feFuncA_ children = feFuncA { children } @@ -1629,7 +1831,9 @@ type Props_feFuncB = , children :: Array JSX , exponent :: String , intercept :: String + , key :: String , offset :: String + , ref :: Ref (Nullable Node) , slope :: String , tableValues :: String , type :: String @@ -1640,7 +1844,13 @@ feFuncB . Union attrs attrs_ (SharedSVGProps Props_feFuncB) => Record attrs -> JSX -feFuncB = element (unsafeCreateDOMComponent "feFuncB") +feFuncB = element feFuncB' + +feFuncB' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feFuncB) + => ReactComponent (Record attrs) +feFuncB' = unsafeCreateDOMComponent "feFuncB" feFuncB_ :: Array JSX -> JSX feFuncB_ children = feFuncB { children } @@ -1651,7 +1861,9 @@ type Props_feFuncG = , children :: Array JSX , exponent :: String , intercept :: String + , key :: String , offset :: String + , ref :: Ref (Nullable Node) , slope :: String , tableValues :: String , type :: String @@ -1662,7 +1874,13 @@ feFuncG . Union attrs attrs_ (SharedSVGProps Props_feFuncG) => Record attrs -> JSX -feFuncG = element (unsafeCreateDOMComponent "feFuncG") +feFuncG = element feFuncG' + +feFuncG' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feFuncG) + => ReactComponent (Record attrs) +feFuncG' = unsafeCreateDOMComponent "feFuncG" feFuncG_ :: Array JSX -> JSX feFuncG_ children = feFuncG { children } @@ -1673,7 +1891,9 @@ type Props_feFuncR = , children :: Array JSX , exponent :: String , intercept :: String + , key :: String , offset :: String + , ref :: Ref (Nullable Node) , slope :: String , tableValues :: String , type :: String @@ -1684,7 +1904,13 @@ feFuncR . Union attrs attrs_ (SharedSVGProps Props_feFuncR) => Record attrs -> JSX -feFuncR = element (unsafeCreateDOMComponent "feFuncR") +feFuncR = element feFuncR' + +feFuncR' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feFuncR) + => ReactComponent (Record attrs) +feFuncR' = unsafeCreateDOMComponent "feFuncR" feFuncR_ :: Array JSX -> JSX feFuncR_ children = feFuncR { children } @@ -1727,6 +1953,7 @@ type Props_feGaussianBlur = , imageRendering :: String , in :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1736,6 +1963,7 @@ type Props_feGaussianBlur = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stdDeviation :: String @@ -1766,7 +1994,13 @@ feGaussianBlur . Union attrs attrs_ (SharedSVGProps Props_feGaussianBlur) => Record attrs -> JSX -feGaussianBlur = element (unsafeCreateDOMComponent "feGaussianBlur") +feGaussianBlur = element feGaussianBlur' + +feGaussianBlur' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feGaussianBlur) + => ReactComponent (Record attrs) +feGaussianBlur' = unsafeCreateDOMComponent "feGaussianBlur" feGaussianBlur_ :: Array JSX -> JSX feGaussianBlur_ children = feGaussianBlur { children } @@ -1810,6 +2044,7 @@ type Props_feImage = , href :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1820,6 +2055,7 @@ type Props_feImage = , overflow :: String , pointerEvents :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -1849,7 +2085,13 @@ feImage . Union attrs attrs_ (SharedSVGProps Props_feImage) => Record attrs -> JSX -feImage = element (unsafeCreateDOMComponent "feImage") +feImage = element feImage' + +feImage' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feImage) + => ReactComponent (Record attrs) +feImage' = unsafeCreateDOMComponent "feImage" feImage_ :: Array JSX -> JSX feImage_ children = feImage { children } @@ -1890,6 +2132,7 @@ type Props_feMerge = , height :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1899,6 +2142,7 @@ type Props_feMerge = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -1928,7 +2172,13 @@ feMerge . Union attrs attrs_ (SharedSVGProps Props_feMerge) => Record attrs -> JSX -feMerge = element (unsafeCreateDOMComponent "feMerge") +feMerge = element feMerge' + +feMerge' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feMerge) + => ReactComponent (Record attrs) +feMerge' = unsafeCreateDOMComponent "feMerge" feMerge_ :: Array JSX -> JSX feMerge_ children = feMerge { children } @@ -1937,6 +2187,8 @@ type Props_feMergeNode = ( _data :: Object String , children :: Array JSX , in :: String + , key :: String + , ref :: Ref (Nullable Node) ) feMergeNode @@ -1944,7 +2196,13 @@ feMergeNode . Union attrs attrs_ (SharedSVGProps Props_feMergeNode) => Record attrs -> JSX -feMergeNode = element (unsafeCreateDOMComponent "feMergeNode") +feMergeNode = element feMergeNode' + +feMergeNode' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feMergeNode) + => ReactComponent (Record attrs) +feMergeNode' = unsafeCreateDOMComponent "feMergeNode" feMergeNode_ :: Array JSX -> JSX feMergeNode_ children = feMergeNode { children } @@ -1986,6 +2244,7 @@ type Props_feMorphology = , imageRendering :: String , in :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -1997,6 +2256,7 @@ type Props_feMorphology = , overflow :: String , pointerEvents :: String , radius :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -2026,7 +2286,13 @@ feMorphology . Union attrs attrs_ (SharedSVGProps Props_feMorphology) => Record attrs -> JSX -feMorphology = element (unsafeCreateDOMComponent "feMorphology") +feMorphology = element feMorphology' + +feMorphology' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feMorphology) + => ReactComponent (Record attrs) +feMorphology' = unsafeCreateDOMComponent "feMorphology" feMorphology_ :: Array JSX -> JSX feMorphology_ children = feMorphology { children } @@ -2070,6 +2336,7 @@ type Props_feOffset = , imageRendering :: String , in :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2079,6 +2346,7 @@ type Props_feOffset = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -2108,7 +2376,13 @@ feOffset . Union attrs attrs_ (SharedSVGProps Props_feOffset) => Record attrs -> JSX -feOffset = element (unsafeCreateDOMComponent "feOffset") +feOffset = element feOffset' + +feOffset' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feOffset) + => ReactComponent (Record attrs) +feOffset' = unsafeCreateDOMComponent "feOffset" feOffset_ :: Array JSX -> JSX feOffset_ children = feOffset { children } @@ -2116,6 +2390,8 @@ feOffset_ children = feOffset { children } type Props_fePointLight = ( _data :: Object String , children :: Array JSX + , key :: String + , ref :: Ref (Nullable Node) , x :: String , y :: String , z :: String @@ -2126,7 +2402,13 @@ fePointLight . Union attrs attrs_ (SharedSVGProps Props_fePointLight) => Record attrs -> JSX -fePointLight = element (unsafeCreateDOMComponent "fePointLight") +fePointLight = element fePointLight' + +fePointLight' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_fePointLight) + => ReactComponent (Record attrs) +fePointLight' = unsafeCreateDOMComponent "fePointLight" fePointLight_ :: Array JSX -> JSX fePointLight_ children = fePointLight { children } @@ -2169,6 +2451,7 @@ type Props_feSpecularLighting = , in :: String , kernelUnitLength :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2178,6 +2461,7 @@ type Props_feSpecularLighting = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , specularConstant :: String @@ -2210,7 +2494,13 @@ feSpecularLighting . Union attrs attrs_ (SharedSVGProps Props_feSpecularLighting) => Record attrs -> JSX -feSpecularLighting = element (unsafeCreateDOMComponent "feSpecularLighting") +feSpecularLighting = element feSpecularLighting' + +feSpecularLighting' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feSpecularLighting) + => ReactComponent (Record attrs) +feSpecularLighting' = unsafeCreateDOMComponent "feSpecularLighting" feSpecularLighting_ :: Array JSX -> JSX feSpecularLighting_ children = feSpecularLighting { children } @@ -2218,10 +2508,12 @@ feSpecularLighting_ children = feSpecularLighting { children } type Props_feSpotLight = ( _data :: Object String , children :: Array JSX + , key :: String , limitingConeAngle :: String , pointsAtX :: String , pointsAtY :: String , pointsAtZ :: String + , ref :: Ref (Nullable Node) , specularExponent :: String , x :: String , y :: String @@ -2233,7 +2525,13 @@ feSpotLight . Union attrs attrs_ (SharedSVGProps Props_feSpotLight) => Record attrs -> JSX -feSpotLight = element (unsafeCreateDOMComponent "feSpotLight") +feSpotLight = element feSpotLight' + +feSpotLight' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feSpotLight) + => ReactComponent (Record attrs) +feSpotLight' = unsafeCreateDOMComponent "feSpotLight" feSpotLight_ :: Array JSX -> JSX feSpotLight_ children = feSpotLight { children } @@ -2275,6 +2573,7 @@ type Props_feTile = , imageRendering :: String , in :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2284,6 +2583,7 @@ type Props_feTile = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , shapeRendering :: String , stopColor :: String @@ -2313,7 +2613,13 @@ feTile . Union attrs attrs_ (SharedSVGProps Props_feTile) => Record attrs -> JSX -feTile = element (unsafeCreateDOMComponent "feTile") +feTile = element feTile' + +feTile' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feTile) + => ReactComponent (Record attrs) +feTile' = unsafeCreateDOMComponent "feTile" feTile_ :: Array JSX -> JSX feTile_ children = feTile { children } @@ -2355,6 +2661,7 @@ type Props_feTurbulence = , height :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2365,6 +2672,7 @@ type Props_feTurbulence = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , result :: String , seed :: String , shapeRendering :: String @@ -2397,7 +2705,13 @@ feTurbulence . Union attrs attrs_ (SharedSVGProps Props_feTurbulence) => Record attrs -> JSX -feTurbulence = element (unsafeCreateDOMComponent "feTurbulence") +feTurbulence = element feTurbulence' + +feTurbulence' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_feTurbulence) + => ReactComponent (Record attrs) +feTurbulence' = unsafeCreateDOMComponent "feTurbulence" feTurbulence_ :: Array JSX -> JSX feTurbulence_ children = feTurbulence { children } @@ -2441,6 +2755,7 @@ type Props_filter = , height :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2451,6 +2766,7 @@ type Props_filter = , overflow :: String , pointerEvents :: String , primitiveUnits :: String + , ref :: Ref (Nullable Node) , shapeRendering :: String , stopColor :: String , stopOpacity :: String @@ -2479,7 +2795,13 @@ filter . Union attrs attrs_ (SharedSVGProps Props_filter) => Record attrs -> JSX -filter = element (unsafeCreateDOMComponent "filter") +filter = element filter' + +filter' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_filter) + => ReactComponent (Record attrs) +filter' = unsafeCreateDOMComponent "filter" filter_ :: Array JSX -> JSX filter_ children = filter { children } @@ -2523,6 +2845,7 @@ type Props_foreignObject = , height :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2542,6 +2865,7 @@ type Props_foreignObject = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -2576,7 +2900,13 @@ foreignObject . Union attrs attrs_ (SharedSVGProps Props_foreignObject) => Record attrs -> JSX -foreignObject = element (unsafeCreateDOMComponent "foreignObject") +foreignObject = element foreignObject' + +foreignObject' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_foreignObject) + => ReactComponent (Record attrs) +foreignObject' = unsafeCreateDOMComponent "foreignObject" foreignObject_ :: Array JSX -> JSX foreignObject_ children = foreignObject { children } @@ -2619,6 +2949,7 @@ type Props_g = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2638,6 +2969,7 @@ type Props_g = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -2669,7 +3001,13 @@ g . Union attrs attrs_ (SharedSVGProps Props_g) => Record attrs -> JSX -g = element (unsafeCreateDOMComponent "g") +g = element g' + +g' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_g) + => ReactComponent (Record attrs) +g' = unsafeCreateDOMComponent "g" g_ :: Array JSX -> JSX g_ children = g { children } @@ -2678,6 +3016,8 @@ type Props_handler = ( _data :: Object String , children :: Array JSX , externalResourcesRequired :: String + , key :: String + , ref :: Ref (Nullable Node) , type :: String ) @@ -2686,7 +3026,13 @@ handler . Union attrs attrs_ (SharedSVGProps Props_handler) => Record attrs -> JSX -handler = element (unsafeCreateDOMComponent "handler") +handler = element handler' + +handler' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_handler) + => ReactComponent (Record attrs) +handler' = unsafeCreateDOMComponent "handler" handler_ :: Array JSX -> JSX handler_ children = handler { children } @@ -2694,6 +3040,8 @@ handler_ children = handler { children } type Props_iframe = ( _data :: Object String , children :: Array JSX + , key :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , systemLanguage :: String ) @@ -2703,7 +3051,13 @@ iframe . Union attrs attrs_ (SharedSVGProps Props_iframe) => Record attrs -> JSX -iframe = element (unsafeCreateDOMComponent "iframe") +iframe = element iframe' + +iframe' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_iframe) + => ReactComponent (Record attrs) +iframe' = unsafeCreateDOMComponent "iframe" iframe_ :: Array JSX -> JSX iframe_ children = iframe { children } @@ -2749,6 +3103,7 @@ type Props_image = , href :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2769,6 +3124,7 @@ type Props_image = , overflow :: String , pointerEvents :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -2804,7 +3160,13 @@ image . Union attrs attrs_ (SharedSVGProps Props_image) => Record attrs -> JSX -image = element (unsafeCreateDOMComponent "image") +image = element image' + +image' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_image) + => ReactComponent (Record attrs) +image' = unsafeCreateDOMComponent "image" image_ :: Array JSX -> JSX image_ children = image { children } @@ -2847,6 +3209,7 @@ type Props_line = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2867,6 +3230,7 @@ type Props_line = , overflow :: String , pathLength :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -2902,7 +3266,13 @@ line . Union attrs attrs_ (SharedSVGProps Props_line) => Record attrs -> JSX -line = element (unsafeCreateDOMComponent "line") +line = element line' + +line' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_line) + => ReactComponent (Record attrs) +line' = unsafeCreateDOMComponent "line" line_ :: Array JSX -> JSX line_ children = line { children } @@ -2946,6 +3316,7 @@ type Props_linearGradient = , href :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -2955,6 +3326,7 @@ type Props_linearGradient = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , shapeRendering :: String , spreadMethod :: String , stopColor :: String @@ -2985,7 +3357,13 @@ linearGradient . Union attrs attrs_ (SharedSVGProps Props_linearGradient) => Record attrs -> JSX -linearGradient = element (unsafeCreateDOMComponent "linearGradient") +linearGradient = element linearGradient' + +linearGradient' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_linearGradient) + => ReactComponent (Record attrs) +linearGradient' = unsafeCreateDOMComponent "linearGradient" linearGradient_ :: Array JSX -> JSX linearGradient_ children = linearGradient { children } @@ -2996,9 +3374,11 @@ type Props_listener = , defaultAction :: String , event :: String , handler :: String + , key :: String , observer :: String , phase :: String , propagate :: String + , ref :: Ref (Nullable Node) , target :: String ) @@ -3007,7 +3387,13 @@ listener . Union attrs attrs_ (SharedSVGProps Props_listener) => Record attrs -> JSX -listener = element (unsafeCreateDOMComponent "listener") +listener = element listener' + +listener' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_listener) + => ReactComponent (Record attrs) +listener' = unsafeCreateDOMComponent "listener" listener_ :: Array JSX -> JSX listener_ children = listener { children } @@ -3048,6 +3434,7 @@ type Props_marker = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -3062,6 +3449,7 @@ type Props_marker = , overflow :: String , pointerEvents :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , refX :: String , refY :: String , shapeRendering :: String @@ -3090,7 +3478,13 @@ marker . Union attrs attrs_ (SharedSVGProps Props_marker) => Record attrs -> JSX -marker = element (unsafeCreateDOMComponent "marker") +marker = element marker' + +marker' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_marker) + => ReactComponent (Record attrs) +marker' = unsafeCreateDOMComponent "marker" marker_ :: Array JSX -> JSX marker_ children = marker { children } @@ -3132,6 +3526,7 @@ type Props_mask = , height :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -3143,6 +3538,7 @@ type Props_mask = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , shapeRendering :: String @@ -3174,7 +3570,13 @@ mask . Union attrs attrs_ (SharedSVGProps Props_mask) => Record attrs -> JSX -mask = element (unsafeCreateDOMComponent "mask") +mask = element mask' + +mask' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_mask) + => ReactComponent (Record attrs) +mask' = unsafeCreateDOMComponent "mask" mask_ :: Array JSX -> JSX mask_ children = mask { children } @@ -3182,6 +3584,8 @@ mask_ children = mask { children } type Props_metadata = ( _data :: Object String , children :: Array JSX + , key :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -3194,7 +3598,13 @@ metadata . Union attrs attrs_ (SharedSVGProps Props_metadata) => Record attrs -> JSX -metadata = element (unsafeCreateDOMComponent "metadata") +metadata = element metadata' + +metadata' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_metadata) + => ReactComponent (Record attrs) +metadata' = unsafeCreateDOMComponent "metadata" metadata_ :: Array JSX -> JSX metadata_ children = metadata { children } @@ -3204,6 +3614,8 @@ type Props_mpath = , children :: Array JSX , externalResourcesRequired :: String , href :: String + , key :: String + , ref :: Ref (Nullable Node) ) mpath @@ -3211,7 +3623,13 @@ mpath . Union attrs attrs_ (SharedSVGProps Props_mpath) => Record attrs -> JSX -mpath = element (unsafeCreateDOMComponent "mpath") +mpath = element mpath' + +mpath' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_mpath) + => ReactComponent (Record attrs) +mpath' = unsafeCreateDOMComponent "mpath" mpath_ :: Array JSX -> JSX mpath_ children = mpath { children } @@ -3255,6 +3673,7 @@ type Props_path = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -3275,6 +3694,7 @@ type Props_path = , overflow :: String , pathLength :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -3306,7 +3726,13 @@ path . Union attrs attrs_ (SharedSVGProps Props_path) => Record attrs -> JSX -path = element (unsafeCreateDOMComponent "path") +path = element path' + +path' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_path) + => ReactComponent (Record attrs) +path' = unsafeCreateDOMComponent "path" path_ :: Array JSX -> JSX path_ children = path { children } @@ -3349,6 +3775,7 @@ type Props_pattern = , href :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -3362,6 +3789,7 @@ type Props_pattern = , patternUnits :: String , pointerEvents :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , shapeRendering :: String @@ -3394,7 +3822,13 @@ pattern . Union attrs attrs_ (SharedSVGProps Props_pattern) => Record attrs -> JSX -pattern = element (unsafeCreateDOMComponent "pattern") +pattern = element pattern' + +pattern' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_pattern) + => ReactComponent (Record attrs) +pattern' = unsafeCreateDOMComponent "pattern" pattern_ :: Array JSX -> JSX pattern_ children = pattern { children } @@ -3437,6 +3871,7 @@ type Props_polygon = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -3458,6 +3893,7 @@ type Props_polygon = , pathLength :: String , pointerEvents :: String , points :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -3489,7 +3925,13 @@ polygon . Union attrs attrs_ (SharedSVGProps Props_polygon) => Record attrs -> JSX -polygon = element (unsafeCreateDOMComponent "polygon") +polygon = element polygon' + +polygon' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_polygon) + => ReactComponent (Record attrs) +polygon' = unsafeCreateDOMComponent "polygon" polygon_ :: Array JSX -> JSX polygon_ children = polygon { children } @@ -3532,6 +3974,7 @@ type Props_polyline = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -3553,6 +3996,7 @@ type Props_polyline = , pathLength :: String , pointerEvents :: String , points :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -3584,7 +4028,13 @@ polyline . Union attrs attrs_ (SharedSVGProps Props_polyline) => Record attrs -> JSX -polyline = element (unsafeCreateDOMComponent "polyline") +polyline = element polyline' + +polyline' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_polyline) + => ReactComponent (Record attrs) +polyline' = unsafeCreateDOMComponent "polyline" polyline_ :: Array JSX -> JSX polyline_ children = polyline { children } @@ -3593,10 +4043,12 @@ type Props_prefetch = ( _data :: Object String , bandwidth :: String , children :: Array JSX + , key :: String , mediaCharacterEncoding :: String , mediaContentEncodings :: String , mediaSize :: String , mediaTime :: String + , ref :: Ref (Nullable Node) ) prefetch @@ -3604,7 +4056,13 @@ prefetch . Union attrs attrs_ (SharedSVGProps Props_prefetch) => Record attrs -> JSX -prefetch = element (unsafeCreateDOMComponent "prefetch") +prefetch = element prefetch' + +prefetch' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_prefetch) + => ReactComponent (Record attrs) +prefetch' = unsafeCreateDOMComponent "prefetch" prefetch_ :: Array JSX -> JSX prefetch_ children = prefetch { children } @@ -3653,6 +4111,7 @@ type Props_radialGradient = , href :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -3663,6 +4122,7 @@ type Props_radialGradient = , overflow :: String , pointerEvents :: String , r :: String + , ref :: Ref (Nullable Node) , shapeRendering :: String , spreadMethod :: String , stopColor :: String @@ -3689,7 +4149,13 @@ radialGradient . Union attrs attrs_ (SharedSVGProps Props_radialGradient) => Record attrs -> JSX -radialGradient = element (unsafeCreateDOMComponent "radialGradient") +radialGradient = element radialGradient' + +radialGradient' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_radialGradient) + => ReactComponent (Record attrs) +radialGradient' = unsafeCreateDOMComponent "radialGradient" radialGradient_ :: Array JSX -> JSX radialGradient_ children = radialGradient { children } @@ -3733,6 +4199,7 @@ type Props_rect = , height :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -3753,6 +4220,7 @@ type Props_rect = , overflow :: String , pathLength :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -3789,7 +4257,13 @@ rect . Union attrs attrs_ (SharedSVGProps Props_rect) => Record attrs -> JSX -rect = element (unsafeCreateDOMComponent "rect") +rect = element rect' + +rect' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_rect) + => ReactComponent (Record attrs) +rect' = unsafeCreateDOMComponent "rect" rect_ :: Array JSX -> JSX rect_ children = rect { children } @@ -3800,6 +4274,8 @@ type Props_script = , crossorigin :: String , externalResourcesRequired :: String , href :: String + , key :: String + , ref :: Ref (Nullable Node) , type :: String ) @@ -3808,7 +4284,13 @@ script . Union attrs attrs_ (SharedSVGProps Props_script) => Record attrs -> JSX -script = element (unsafeCreateDOMComponent "script") +script = element script' + +script' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_script) + => ReactComponent (Record attrs) +script' = unsafeCreateDOMComponent "script" script_ :: Array JSX -> JSX script_ children = script { children } @@ -3824,8 +4306,10 @@ type Props_set = , externalResourcesRequired :: String , fill :: String , href :: String + , key :: String , max :: String , min :: String + , ref :: Ref (Nullable Node) , repeatCount :: String , repeatDur :: String , requiredExtensions :: String @@ -3842,7 +4326,13 @@ set . Union attrs attrs_ (SharedSVGProps Props_set) => Record attrs -> JSX -set = element (unsafeCreateDOMComponent "set") +set = element set' + +set' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_set) + => ReactComponent (Record attrs) +set' = unsafeCreateDOMComponent "set" set_ :: Array JSX -> JSX set_ children = set { children } @@ -3882,6 +4372,7 @@ type Props_stop = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -3892,6 +4383,7 @@ type Props_stop = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , shapeRendering :: String , stopColor :: String , stopOpacity :: String @@ -3917,7 +4409,13 @@ stop . Union attrs attrs_ (SharedSVGProps Props_stop) => Record attrs -> JSX -stop = element (unsafeCreateDOMComponent "stop") +stop = element stop' + +stop' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_stop) + => ReactComponent (Record attrs) +stop' = unsafeCreateDOMComponent "stop" stop_ :: Array JSX -> JSX stop_ children = stop { children } @@ -3925,7 +4423,9 @@ stop_ children = stop { children } type Props_style = ( _data :: Object String , children :: Array JSX + , key :: String , media :: String + , ref :: Ref (Nullable Node) , title :: String , type :: String ) @@ -3935,7 +4435,13 @@ style . Union attrs attrs_ (SharedSVGProps Props_style) => Record attrs -> JSX -style = element (unsafeCreateDOMComponent "style") +style = element style' + +style' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_style) + => ReactComponent (Record attrs) +style' = unsafeCreateDOMComponent "style" style_ :: Array JSX -> JSX style_ children = style { children } @@ -3982,6 +4488,7 @@ type Props_svg = , height :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -4004,6 +4511,7 @@ type Props_svg = , playbackorder :: String , pointerEvents :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , shapeRendering :: String @@ -4044,7 +4552,13 @@ svg . Union attrs attrs_ (SharedSVGProps Props_svg) => Record attrs -> JSX -svg = element (unsafeCreateDOMComponent "svg") +svg = element svg' + +svg' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_svg) + => ReactComponent (Record attrs) +svg' = unsafeCreateDOMComponent "svg" svg_ :: Array JSX -> JSX svg_ children = svg { children } @@ -4087,6 +4601,7 @@ type Props_switch = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -4106,6 +4621,7 @@ type Props_switch = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -4137,7 +4653,13 @@ switch . Union attrs attrs_ (SharedSVGProps Props_switch) => Record attrs -> JSX -switch = element (unsafeCreateDOMComponent "switch") +switch = element switch' + +switch' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_switch) + => ReactComponent (Record attrs) +switch' = unsafeCreateDOMComponent "switch" switch_ :: Array JSX -> JSX switch_ children = switch { children } @@ -4178,6 +4700,7 @@ type Props_symbol = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -4188,6 +4711,7 @@ type Props_symbol = , overflow :: String , pointerEvents :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , refX :: String , refY :: String , shapeRendering :: String @@ -4216,7 +4740,13 @@ symbol . Union attrs attrs_ (SharedSVGProps Props_symbol) => Record attrs -> JSX -symbol = element (unsafeCreateDOMComponent "symbol") +symbol = element symbol' + +symbol' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_symbol) + => ReactComponent (Record attrs) +symbol' = unsafeCreateDOMComponent "symbol" symbol_ :: Array JSX -> JSX symbol_ children = symbol { children } @@ -4224,6 +4754,8 @@ symbol_ children = symbol { children } type Props_tbreak = ( _data :: Object String , children :: Array JSX + , key :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -4236,7 +4768,13 @@ tbreak . Union attrs attrs_ (SharedSVGProps Props_tbreak) => Record attrs -> JSX -tbreak = element (unsafeCreateDOMComponent "tbreak") +tbreak = element tbreak' + +tbreak' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_tbreak) + => ReactComponent (Record attrs) +tbreak' = unsafeCreateDOMComponent "tbreak" tbreak_ :: Array JSX -> JSX tbreak_ children = tbreak { children } @@ -4282,6 +4820,7 @@ type Props_text = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , lengthAdjust :: String , letterSpacing :: String , lightingColor :: String @@ -4302,6 +4841,7 @@ type Props_text = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -4337,7 +4877,13 @@ text . Union attrs attrs_ (SharedSVGProps Props_text) => Record attrs -> JSX -text = element (unsafeCreateDOMComponent "text") +text = element text' + +text' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_text) + => ReactComponent (Record attrs) +text' = unsafeCreateDOMComponent "text" text_ :: Array JSX -> JSX text_ children = text { children } @@ -4349,6 +4895,7 @@ type Props_textArea = , focusHighlight :: String , focusable :: String , height :: String + , key :: String , navDown :: String , navDownLeft :: String , navDownRight :: String @@ -4359,6 +4906,7 @@ type Props_textArea = , navUp :: String , navUpLeft :: String , navUpRight :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -4375,7 +4923,13 @@ textArea . Union attrs attrs_ (SharedSVGProps Props_textArea) => Record attrs -> JSX -textArea = element (unsafeCreateDOMComponent "textArea") +textArea = element textArea' + +textArea' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_textArea) + => ReactComponent (Record attrs) +textArea' = unsafeCreateDOMComponent "textArea" textArea_ :: Array JSX -> JSX textArea_ children = textArea { children } @@ -4417,6 +4971,7 @@ type Props_textPath = , href :: String , imageRendering :: String , kerning :: String + , key :: String , lengthAdjust :: String , letterSpacing :: String , lightingColor :: String @@ -4429,6 +4984,7 @@ type Props_textPath = , overflow :: String , path :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , shapeRendering :: String @@ -4461,7 +5017,13 @@ textPath . Union attrs attrs_ (SharedSVGProps Props_textPath) => Record attrs -> JSX -textPath = element (unsafeCreateDOMComponent "textPath") +textPath = element textPath' + +textPath' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_textPath) + => ReactComponent (Record attrs) +textPath' = unsafeCreateDOMComponent "textPath" textPath_ :: Array JSX -> JSX textPath_ children = textPath { children } @@ -4469,6 +5031,8 @@ textPath_ children = textPath { children } type Props_title = ( _data :: Object String , children :: Array JSX + , key :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -4481,7 +5045,13 @@ title . Union attrs attrs_ (SharedSVGProps Props_title) => Record attrs -> JSX -title = element (unsafeCreateDOMComponent "title") +title = element title' + +title' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_title) + => ReactComponent (Record attrs) +title' = unsafeCreateDOMComponent "title" title_ :: Array JSX -> JSX title_ children = title { children } @@ -4526,6 +5096,7 @@ type Props_tspan = , glyphOrientationVertical :: String , imageRendering :: String , kerning :: String + , key :: String , lengthAdjust :: String , letterSpacing :: String , lightingColor :: String @@ -4546,6 +5117,7 @@ type Props_tspan = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -4580,7 +5152,13 @@ tspan . Union attrs attrs_ (SharedSVGProps Props_tspan) => Record attrs -> JSX -tspan = element (unsafeCreateDOMComponent "tspan") +tspan = element tspan' + +tspan' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_tspan) + => ReactComponent (Record attrs) +tspan' = unsafeCreateDOMComponent "tspan" tspan_ :: Array JSX -> JSX tspan_ children = tspan { children } @@ -4588,6 +5166,8 @@ tspan_ children = tspan { children } type Props_unknown = ( _data :: Object String , children :: Array JSX + , key :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , systemLanguage :: String ) @@ -4597,7 +5177,13 @@ unknown . Union attrs attrs_ (SharedSVGProps Props_unknown) => Record attrs -> JSX -unknown = element (unsafeCreateDOMComponent "unknown") +unknown = element unknown' + +unknown' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_unknown) + => ReactComponent (Record attrs) +unknown' = unsafeCreateDOMComponent "unknown" unknown_ :: Array JSX -> JSX unknown_ children = unknown { children } @@ -4642,6 +5228,7 @@ type Props_use = , href :: String , imageRendering :: String , kerning :: String + , key :: String , letterSpacing :: String , lightingColor :: String , markerEnd :: String @@ -4661,6 +5248,7 @@ type Props_use = , opacity :: String , overflow :: String , pointerEvents :: String + , ref :: Ref (Nullable Node) , requiredExtensions :: String , requiredFeatures :: String , requiredFonts :: String @@ -4695,7 +5283,13 @@ use . Union attrs attrs_ (SharedSVGProps Props_use) => Record attrs -> JSX -use = element (unsafeCreateDOMComponent "use") +use = element use' + +use' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_use) + => ReactComponent (Record attrs) +use' = unsafeCreateDOMComponent "use" use_ :: Array JSX -> JSX use_ children = use { children } @@ -4712,6 +5306,7 @@ type Props_video = , focusable :: String , height :: String , initialVisibility :: String + , key :: String , max :: String , min :: String , navDown :: String @@ -4726,6 +5321,7 @@ type Props_video = , navUpRight :: String , overlay :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , repeatCount :: String , repeatDur :: String , requiredExtensions :: String @@ -4750,7 +5346,13 @@ video . Union attrs attrs_ (SharedSVGProps Props_video) => Record attrs -> JSX -video = element (unsafeCreateDOMComponent "video") +video = element video' + +video' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_video) + => ReactComponent (Record attrs) +video' = unsafeCreateDOMComponent "video" video_ :: Array JSX -> JSX video_ children = video { children } @@ -4759,7 +5361,9 @@ type Props_view = ( _data :: Object String , children :: Array JSX , externalResourcesRequired :: String + , key :: String , preserveAspectRatio :: String + , ref :: Ref (Nullable Node) , viewBox :: String , viewTarget :: String , zoomAndPan :: String @@ -4770,7 +5374,13 @@ view . Union attrs attrs_ (SharedSVGProps Props_view) => Record attrs -> JSX -view = element (unsafeCreateDOMComponent "view") +view = element view' + +view' + :: forall attrs attrs_ + . Union attrs attrs_ (SharedSVGProps Props_view) + => ReactComponent (Record attrs) +view' = unsafeCreateDOMComponent "view" view_ :: Array JSX -> JSX view_ children = view { children } From 19797a11f5fe89f6410f30b59e2131372d3dce69 Mon Sep 17 00:00:00 2001 From: Madeline Trotter Date: Mon, 14 Oct 2019 10:16:51 -0700 Subject: [PATCH 2/2] Remove duplicate 'svg' definition --- codegen/index.js | 3 +- src/React/Basic/DOM.purs | 2 +- src/React/Basic/DOM/Generated.purs | 149 ----------------------------- 3 files changed, 3 insertions(+), 151 deletions(-) diff --git a/codegen/index.js b/codegen/index.js index 8d84921..fe2698f 100644 --- a/codegen/index.js +++ b/codegen/index.js @@ -71,7 +71,8 @@ Object.keys(svgProps).forEach(elName => { // The attribute list for in react-html-attributes // is wrong (it contains the union of the attributes of all // svg elements) -delete htmlProps['svg']; +delete htmlProps.elements.html[htmlProps.elements.html.indexOf("svg")]; +delete htmlProps["svg"]; const printRecord = (e, elProps) => elProps.length diff --git a/src/React/Basic/DOM.purs b/src/React/Basic/DOM.purs index fc853a0..fd4afb4 100644 --- a/src/React/Basic/DOM.purs +++ b/src/React/Basic/DOM.purs @@ -28,7 +28,7 @@ import Effect (Effect) import Effect.Exception (Error, throw, try) import Effect.Uncurried (EffectFn1, EffectFn3, runEffectFn1, runEffectFn3) import React.Basic (ReactComponentInstance, JSX) -import React.Basic.DOM.Generated (Props_a, Props_abbr, Props_address, Props_area, Props_article, Props_aside, Props_audio, Props_b, Props_base, Props_bdi, Props_bdo, Props_blockquote, Props_body, Props_br, Props_button, Props_canvas, Props_caption, Props_cite, Props_code, Props_col, Props_colgroup, Props_data, Props_datalist, Props_dd, Props_del, Props_details, Props_dfn, Props_dialog, Props_div, Props_dl, Props_dt, Props_em, Props_embed, Props_fieldset, Props_figcaption, Props_figure, Props_footer, Props_form, Props_h1, Props_h2, Props_h3, Props_h4, Props_h5, Props_h6, Props_head, Props_header, Props_hgroup, Props_hr, Props_html, Props_i, Props_iframe, Props_img, Props_input, Props_ins, Props_kbd, Props_keygen, Props_label, Props_legend, Props_li, Props_link, Props_main, Props_map, Props_mark, Props_math, Props_menu, Props_menuitem, Props_meta, Props_meter, Props_nav, Props_noscript, Props_object, Props_ol, Props_optgroup, Props_option, Props_output, Props_p, Props_param, Props_picture, Props_pre, Props_progress, Props_q, Props_rb, Props_rp, Props_rt, Props_rtc, Props_ruby, Props_s, Props_samp, Props_script, Props_section, Props_select, Props_slot, Props_small, Props_source, Props_span, Props_strong, Props_style, Props_sub, Props_summary, Props_sup, Props_svg, Props_table, Props_tbody, Props_td, Props_template, Props_textarea, Props_tfoot, Props_th, Props_thead, Props_time, Props_title, Props_tr, Props_track, Props_u, Props_ul, Props_var, Props_video, Props_wbr, a, a', a_, abbr, abbr', abbr_, address, address', address_, area, area', article, article', article_, aside, aside', aside_, audio, audio', audio_, b, b', b_, base, base', bdi, bdi', bdi_, bdo, bdo', bdo_, blockquote, blockquote', blockquote_, body, body', body_, br, br', button, button', button_, canvas, canvas', canvas_, caption, caption', caption_, cite, cite', cite_, code, code', code_, col, col', colgroup, colgroup', colgroup_, data', data'', data_, datalist, datalist', datalist_, dd, dd', dd_, del, del', del_, details, details', details_, dfn, dfn', dfn_, dialog, dialog', dialog_, div, div', div_, dl, dl', dl_, dt, dt', dt_, em, em', em_, embed, embed', fieldset, fieldset', fieldset_, figcaption, figcaption', figcaption_, figure, figure', figure_, footer, footer', footer_, form, form', form_, h1, h1', h1_, h2, h2', h2_, h3, h3', h3_, h4, h4', h4_, h5, h5', h5_, h6, h6', h6_, head, head', head_, header, header', header_, hgroup, hgroup', hgroup_, hr, hr', html, html', html_, i, i', i_, iframe, iframe', iframe_, img, img', input, input', ins, ins', ins_, kbd, kbd', kbd_, keygen, keygen', keygen_, label, label', label_, legend, legend', legend_, li, li', li_, link, link', main, main', main_, map, map', map_, mark, mark', mark_, math, math', math_, menu, menu', menu_, menuitem, menuitem', menuitem_, meta, meta', meter, meter', meter_, nav, nav', nav_, noscript, noscript', noscript_, object, object', object_, ol, ol', ol_, optgroup, optgroup', optgroup_, option, option', option_, output, output', output_, p, p', p_, param, param', picture, picture', picture_, pre, pre', pre_, progress, progress', progress_, q, q', q_, rb, rb', rb_, rp, rp', rp_, rt, rt', rt_, rtc, rtc', rtc_, ruby, ruby', ruby_, s, s', s_, samp, samp', samp_, script, script', script_, section, section', section_, select, select', select_, slot, slot', slot_, small, small', small_, source, source', span, span', span_, strong, strong', strong_, style, style', style_, sub, sub', sub_, summary, summary', summary_, sup, sup', sup_, svg, svg', svg_, table, table', table_, tbody, tbody', tbody_, td, td', td_, template, template', template_, textarea, textarea', textarea_, tfoot, tfoot', tfoot_, th, th', th_, thead, thead', thead_, time, time', time_, title, title', title_, tr, tr', tr_, track, track', u, u', u_, ul, ul', ul_, var, var', var_, video, video', video_, wbr, wbr') as Generated +import React.Basic.DOM.Generated (Props_a, Props_abbr, Props_address, Props_area, Props_article, Props_aside, Props_audio, Props_b, Props_base, Props_bdi, Props_bdo, Props_blockquote, Props_body, Props_br, Props_button, Props_canvas, Props_caption, Props_cite, Props_code, Props_col, Props_colgroup, Props_data, Props_datalist, Props_dd, Props_del, Props_details, Props_dfn, Props_dialog, Props_div, Props_dl, Props_dt, Props_em, Props_embed, Props_fieldset, Props_figcaption, Props_figure, Props_footer, Props_form, Props_h1, Props_h2, Props_h3, Props_h4, Props_h5, Props_h6, Props_head, Props_header, Props_hgroup, Props_hr, Props_html, Props_i, Props_iframe, Props_img, Props_input, Props_ins, Props_kbd, Props_keygen, Props_label, Props_legend, Props_li, Props_link, Props_main, Props_map, Props_mark, Props_math, Props_menu, Props_menuitem, Props_meta, Props_meter, Props_nav, Props_noscript, Props_object, Props_ol, Props_optgroup, Props_option, Props_output, Props_p, Props_param, Props_picture, Props_pre, Props_progress, Props_q, Props_rb, Props_rp, Props_rt, Props_rtc, Props_ruby, Props_s, Props_samp, Props_script, Props_section, Props_select, Props_slot, Props_small, Props_source, Props_span, Props_strong, Props_style, Props_sub, Props_summary, Props_sup, Props_table, Props_tbody, Props_td, Props_template, Props_textarea, Props_tfoot, Props_th, Props_thead, Props_time, Props_title, Props_tr, Props_track, Props_u, Props_ul, Props_var, Props_video, Props_wbr, a, a', a_, abbr, abbr', abbr_, address, address', address_, area, area', article, article', article_, aside, aside', aside_, audio, audio', audio_, b, b', b_, base, base', bdi, bdi', bdi_, bdo, bdo', bdo_, blockquote, blockquote', blockquote_, body, body', body_, br, br', button, button', button_, canvas, canvas', canvas_, caption, caption', caption_, cite, cite', cite_, code, code', code_, col, col', colgroup, colgroup', colgroup_, data', data'', data_, datalist, datalist', datalist_, dd, dd', dd_, del, del', del_, details, details', details_, dfn, dfn', dfn_, dialog, dialog', dialog_, div, div', div_, dl, dl', dl_, dt, dt', dt_, em, em', em_, embed, embed', fieldset, fieldset', fieldset_, figcaption, figcaption', figcaption_, figure, figure', figure_, footer, footer', footer_, form, form', form_, h1, h1', h1_, h2, h2', h2_, h3, h3', h3_, h4, h4', h4_, h5, h5', h5_, h6, h6', h6_, head, head', head_, header, header', header_, hgroup, hgroup', hgroup_, hr, hr', html, html', html_, i, i', i_, iframe, iframe', iframe_, img, img', input, input', ins, ins', ins_, kbd, kbd', kbd_, keygen, keygen', keygen_, label, label', label_, legend, legend', legend_, li, li', li_, link, link', main, main', main_, map, map', map_, mark, mark', mark_, math, math', math_, menu, menu', menu_, menuitem, menuitem', menuitem_, meta, meta', meter, meter', meter_, nav, nav', nav_, noscript, noscript', noscript_, object, object', object_, ol, ol', ol_, optgroup, optgroup', optgroup_, option, option', option_, output, output', output_, p, p', p_, param, param', picture, picture', picture_, pre, pre', pre_, progress, progress', progress_, q, q', q_, rb, rb', rb_, rp, rp', rp_, rt, rt', rt_, rtc, rtc', rtc_, ruby, ruby', ruby_, s, s', s_, samp, samp', samp_, script, script', script_, section, section', section_, select, select', select_, slot, slot', slot_, small, small', small_, source, source', span, span', span_, strong, strong', strong_, style, style', style_, sub, sub', sub_, summary, summary', summary_, sup, sup', sup_, table, table', table_, tbody, tbody', tbody_, td, td', td_, template, template', template_, textarea, textarea', textarea_, tfoot, tfoot', tfoot_, th, th', th_, thead, thead', thead_, time, time', time_, title, title', title_, tr, tr', tr_, track, track', u, u', u_, ul, ul', ul_, var, var', var_, video, video', video_, wbr, wbr') as Generated import React.Basic.DOM.Internal (CSS, css, mergeStyles, unsafeCreateDOMComponent) as Internal import Unsafe.Coerce (unsafeCoerce) import Web.DOM (Element, Node) diff --git a/src/React/Basic/DOM/Generated.purs b/src/React/Basic/DOM/Generated.purs index f0b32af..3c089aa 100644 --- a/src/React/Basic/DOM/Generated.purs +++ b/src/React/Basic/DOM/Generated.purs @@ -15167,155 +15167,6 @@ sup' = unsafeCreateDOMComponent "sup" sup_ :: Array JSX -> JSX sup_ children = sup { children } -type Props_svg = - ( _data :: Object String - , about :: String - , acceptCharset :: String - , accessKey :: String - , allowFullScreen :: Boolean - , allowTransparency :: Boolean - , autoComplete :: Boolean - , autoFocus :: Boolean - , autoPlay :: Boolean - , capture :: Boolean - , cellPadding :: String - , cellSpacing :: String - , charSet :: String - , children :: Array JSX - , classID :: String - , className :: String - , colSpan :: Int - , contentEditable :: Boolean - , contextMenu :: String - , crossOrigin :: String - , dangerouslySetInnerHTML :: { __html :: String } - , datatype :: String - , dateTime :: String - , dir :: String - , draggable :: Boolean - , encType :: String - , formAction :: String - , formEncType :: String - , formMethod :: String - , formNoValidate :: Boolean - , formTarget :: String - , frameBorder :: String - , hidden :: Boolean - , hrefLang :: String - , htmlFor :: String - , httpEquiv :: String - , icon :: String - , id :: String - , inlist :: String - , inputMode :: String - , is :: String - , itemID :: String - , itemProp :: String - , itemRef :: String - , itemScope :: Boolean - , itemType :: String - , key :: String - , keyParams :: String - , keyType :: String - , lang :: String - , marginHeight :: String - , marginWidth :: String - , maxLength :: Int - , mediaGroup :: String - , minLength :: Int - , noValidate :: Boolean - , onAnimationEnd :: EventHandler - , onAnimationIteration :: EventHandler - , onAnimationStart :: EventHandler - , onBlur :: EventHandler - , onClick :: EventHandler - , onCompositionEnd :: EventHandler - , onCompositionStart :: EventHandler - , onCompositionUpdate :: EventHandler - , onContextMenu :: EventHandler - , onCopy :: EventHandler - , onCut :: EventHandler - , onDoubleClick :: EventHandler - , onDrag :: EventHandler - , onDragEnd :: EventHandler - , onDragEnter :: EventHandler - , onDragExit :: EventHandler - , onDragLeave :: EventHandler - , onDragOver :: EventHandler - , onDragStart :: EventHandler - , onDrop :: EventHandler - , onFocus :: EventHandler - , onGotPointerCapture :: EventHandler - , onInvalid :: EventHandler - , onKeyDown :: EventHandler - , onKeyPress :: EventHandler - , onKeyUp :: EventHandler - , onLostPointerCapture :: EventHandler - , onMouseDown :: EventHandler - , onMouseEnter :: EventHandler - , onMouseLeave :: EventHandler - , onMouseMove :: EventHandler - , onMouseOut :: EventHandler - , onMouseOver :: EventHandler - , onMouseUp :: EventHandler - , onPaste :: EventHandler - , onPointerCancel :: EventHandler - , onPointerDown :: EventHandler - , onPointerEnter :: EventHandler - , onPointerLeave :: EventHandler - , onPointerMove :: EventHandler - , onPointerOut :: EventHandler - , onPointerOver :: EventHandler - , onPointerUp :: EventHandler - , onSelect :: EventHandler - , onSubmit :: EventHandler - , onTouchCancel :: EventHandler - , onTouchEnd :: EventHandler - , onTouchMove :: EventHandler - , onTouchStart :: EventHandler - , onTransitionEnd :: EventHandler - , onWheel :: EventHandler - , prefix :: String - , property :: String - , radioGroup :: String - , readOnly :: Boolean - , ref :: Ref (Nullable Node) - , resource :: String - , role :: String - , rowSpan :: Int - , scoped :: Boolean - , seamless :: Boolean - , security :: String - , spellCheck :: Boolean - , srcDoc :: JSX - , srcLang :: String - , srcSet :: String - , style :: CSS - , suppressContentEditableWarning :: Boolean - , tabIndex :: Int - , title :: String - , typeof :: String - , unselectable :: Boolean - , useMap :: String - , vocab :: String - , wmode :: String - ) - -svg - :: forall attrs attrs_ - . Union attrs attrs_ Props_svg - => Record attrs - -> JSX -svg = element svg' - -svg' - :: forall attrs attrs_ - . Union attrs attrs_ Props_svg - => ReactComponent (Record attrs) -svg' = unsafeCreateDOMComponent "svg" - -svg_ :: Array JSX -> JSX -svg_ children = svg { children } type Props_table = ( _data :: Object String