Comparing version 4.11.4 to 4.11.5
@@ -1163,3 +1163,3 @@ 'use strict'; | ||
function isPrimitive (value) { | ||
return value == null || (typeof value !== 'function' && typeof value !== 'object') | ||
return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs | ||
} | ||
@@ -1170,9 +1170,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.call(this, arg); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.call(this, arg); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1184,9 +1184,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.apply(this, args); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.apply(this, args); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1193,0 +1193,0 @@ |
@@ -1159,3 +1159,3 @@ import React from 'react'; | ||
function isPrimitive (value) { | ||
return value == null || (typeof value !== 'function' && typeof value !== 'object') | ||
return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs | ||
} | ||
@@ -1166,9 +1166,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.call(this, arg); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.call(this, arg); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1180,9 +1180,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.apply(this, args); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.apply(this, args); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1189,0 +1189,0 @@ |
@@ -1163,3 +1163,3 @@ (function (global, factory) { | ||
function isPrimitive (value) { | ||
return value == null || (typeof value !== 'function' && typeof value !== 'object') | ||
return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs | ||
} | ||
@@ -1170,9 +1170,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.call(this, arg); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.call(this, arg); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1184,9 +1184,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.apply(this, args); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.apply(this, args); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1193,0 +1193,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("glamor")):"function"==typeof define&&define.amd?define(["react","glamor"],t):e.glamorous=t(e.React,e.Glamor)}(this,function(e,t){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var r=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"].concat(["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","animation","audio","canvas","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","handler","hatch","hatchpath","hkern","iframe","image","line","linearGradient","listener","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","prefetch","radialGradient","rect","script","set","solidColor","solidcolor","stop","style","svg","switch","symbol","tbreak","text","textArea","textPath","title","tref","tspan","unknown","use","video","view","vkern"]).filter(function(e,t,r){return r.indexOf(e)===t}),o="__glamorous__",n=void 0;if(parseFloat(e.version.slice(0,4))>=15.5)try{n=("undefined"!=typeof window?window:global).PropTypes}catch(e){}n=n||e.PropTypes;var a=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},u=function(e,t){var r={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},c=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},d=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)};function f(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=r.noWarn,d=void 0!==u&&u,f=r.createElement,h=void 0===f||f,m=function(r){function n(){var e,t,r;a(this,n);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return t=r=c(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(i))),r.warned=d,r.state={theme:{}},r.setTheme=function(e){return r.setState({theme:e})},c(r,t)}return p(n,r),i(n,[{key:"componentWillMount",value:function(){this.context[o];var e=this.props.theme;this.context[o]?this.setTheme(e||this.context[o].getState()):this.setTheme(e||{})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.setTheme(e.theme)}},{key:"componentDidMount",value:function(){this.context[o]&&!this.props.theme&&(this.subscriptionId=this.context[o].subscribe(this.setTheme))}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[o].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return h?e.createElement(t,l({},this.props,this.state)):t.call(this,l({},this.props,this.state),this.context)}}]),n}(e.Component);m.propTypes={theme:n.object};var g=s({},o,n.object),y=null;return Object.defineProperty(m,"contextTypes",{enumerable:!0,configurable:!0,set:function(e){y=e},get:function(){return y?l({},g,y):g}}),m}var h=function(e){var t=m.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)},m=Object.prototype.toString;var g=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)};function y(e){return!0===g(e)&&"[object Object]"===Object.prototype.toString.call(e)}var b=function(t){function r(){var e,t,o;a(this,r);for(var n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];return t=o=c(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(i))),o.setOuterTheme=function(e){o.outerTheme=e,void 0!==o.broadcast&&o.publishTheme()},c(o,t)}return p(r,t),i(r,[{key:"getTheme",value:function(e){var t,r,o,n=e||this.props.theme;if(h(n)){var a=n(this.outerTheme);if(!1===y(t=a)||"function"!=typeof(r=t.constructor)||!1===y(o=r.prototype)||!1===o.hasOwnProperty("isPrototypeOf"))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return a}return l({},this.outerTheme,n)}},{key:"getChildContext",value:function(){return s({},o,this.broadcast)}},{key:"publishTheme",value:function(e){this.broadcast.setState(this.getTheme(e))}},{key:"componentDidMount",value:function(){this.context[o]&&(this.subscriptionId=this.context[o].subscribe(this.setOuterTheme))}},{key:"componentWillMount",value:function(){var e,t,r,n;this.context[o]&&this.setOuterTheme(this.context[o].getState()),this.broadcast=(e=this.getTheme(this.props.theme),t={},r=1,n=e,{getState:function(){return n},setState:function(e){n=e;for(var r=Object.keys(t),o=0,a=r.length;o<a;o++)t[r[o]]&&t[r[o]](e)},subscribe:function(e){if("function"!=typeof e)throw new Error("listener must be a function.");var o=r;return t[o]=e,r+=1,o},unsubscribe:function(e){t[e]=void 0}})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.publishTheme(e.theme)}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[o].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return this.props.children?e.Children.only(this.props.children):null}}]),r}(e.Component);function v(e){var t=[],r=[];return e.toString().split(" ").forEach(function(e){if(0===e.indexOf("css-")){var o=s({},"data-"+e,"");r.push(o)}else t.push(e)}),{glamorlessClassName:t,glamorStyles:r}}function C(e){var r=e.styles,o=e.props,n=e.cssOverrides,a=e.cssProp,i=e.context,s=(e.displayName,function e(t,r,o){var n=void 0;var a=[];var i=[];for(var s=0;s<t.length;s++)if("function"==typeof(n=t[s])){var l=n(r,o);if("string"==typeof l){var p=v(l),u=p.glamorStyles,c=p.glamorlessClassName;a.push.apply(a,d(u)),i.push.apply(i,d(c))}else a.push(l)}else if("string"==typeof n){var f=v(n),h=f.glamorStyles,m=f.glamorlessClassName;a.push.apply(a,d(h)),i.push.apply(i,d(m))}else if(Array.isArray(n)){var g=e(n,r,o);a.push.apply(a,d(g.mappedArgs)),i.push.apply(i,d(g.nonGlamorClassNames))}else a.push(n);return{mappedArgs:a,nonGlamorClassNames:i}}([].concat(d(r),[o.className,n,a]),o,i)),l=s.mappedArgs,p=s.nonGlamorClassNames;return(t.css.apply(void 0,[null].concat(d(l))).toString()+" "+p.join(" ").trim()).trim()}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e:[e]}function w(e,t){return e?e.concat(t):t}function x(e){return e.rootEl?e.rootEl:e.comp||e}function O(e,t,r,o){var n,a=null==(n=o)||"function"!=typeof n&&"object"!=typeof n?o:r(o);if(!t.has(a)){var i=e.call(this,o);return t.set(a,i),i}return t.get(a)}function T(e,t,r){var o=Array.prototype.slice.call(arguments,3),n=r(o);if(!t.has(n)){var a=e.apply(this,o);return t.set(n,a),a}return t.get(n)}function P(e,t,r,o,n){return r.bind(t,e,o,n)}function S(e,t){return P(e,this,1===e.length?O:T,t.cache.create(),t.serializer)}function A(){return JSON.stringify(arguments)}function j(){this.cache=Object.create(null)}b.childContextTypes=s({},o,n.object.isRequired),b.contextTypes=s({},o,n.object),b.propTypes={theme:n.oneOfType([n.object,n.func]).isRequired,children:n.node},j.prototype.has=function(e){return e in this.cache},j.prototype.get=function(e){return this.cache[e]},j.prototype.set=function(e,t){this.cache[e]=t};var E={create:function(){return new j}},M=function(e,t){var r=t&&t.cache?t.cache:E,o=t&&t.serializer?t.serializer:A;return(t&&t.strategy?t.strategy:S)(e,{cache:r,serializer:o})},D={variadic:function(e,t){return P(e,this,T,t.cache.create(),t.serializer)},monadic:function(e,t){return P(e,this,O,t.cache.create(),t.serializer)}};M.strategies=D;var F,L,R=["coords","download","href","name","rel","shape","target","type"],N=["title"],z=["alt","height","name","width"],I=["alt","coords","download","href","rel","shape","target","type"],U=["controls","loop","muted","preload","src"],q=["href","target"],G=["size"],_=["dir"],W=["cite"],B=["disabled","form","name","type","value"],H=["height","width"],V=["span","width"],K=["span","width"],X=["value"],Y=["cite"],Z=["open"],J=["title"],$=["open"],Q=["height","src","type","width"],ee=["disabled","form","name"],te=["size"],re=["accept","action","method","name","target"],oe=["name","scrolling","src"],ne=["cols","rows"],ae=["profile"],ie=["size","width"],se=["manifest"],le=["height","name","sandbox","scrolling","src","width"],pe=["alt","height","name","sizes","src","width"],ue=["accept","alt","autoCapitalize","autoCorrect","autoSave","checked","defaultChecked","defaultValue","disabled","form","height","list","max","min","multiple","name","onChange","pattern","placeholder","required","results","size","src","step","title","type","value","width"],ce=["cite"],de=["challenge","disabled","form","name"],fe=["form"],he=["type","value"],me=["color","href","integrity","media","nonce","rel","scope","sizes","target","title","type"],ge=["name"],ye=["content","name"],be=["high","low","max","min","optimum","value"],ve=["data","form","height","name","type","width"],Ce=["reversed","start","type"],ke=["disabled","label"],we=["disabled","label","selected","value"],xe=["form","name"],Oe=["name","type","value"],Te=["width"],Pe=["max","value"],Se=["cite"],Ae=["async","defer","integrity","nonce","src","type"],je=["defaultValue","disabled","form","multiple","name","onChange","required","size","value"],Ee=["name"],Me=["media","sizes","src","type"],De=["media","nonce","title","type"],Fe=["summary","width"],Le=["headers","height","scope","width"],Re=["autoCapitalize","autoCorrect","cols","defaultValue","disabled","form","name","onChange","placeholder","required","rows","value","wrap"],Ne=["headers","height","scope","width"],ze=["default","kind","label","src"],Ie=["type"],Ue=["controls","height","loop","muted","poster","preload","src","width"],qe=["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","color","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","height","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","width","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","xmlns","xmlnsXlink","y","y1","y2","yChannelSelector","z","zoomAndPan"],Ge={html:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],svg:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]},_e={a:R,abbr:N,applet:z,area:I,audio:U,base:q,basefont:G,bdo:_,blockquote:W,button:B,canvas:H,col:V,colgroup:K,data:X,del:Y,details:Z,dfn:J,dialog:$,embed:Q,fieldset:ee,font:te,form:re,frame:oe,frameset:ne,head:ae,hr:ie,html:se,iframe:le,img:pe,input:ue,ins:ce,keygen:de,label:fe,li:he,link:me,map:ge,meta:ye,meter:be,object:ve,ol:Ce,optgroup:ke,option:we,output:xe,param:Oe,pre:Te,progress:Pe,q:Se,script:Ae,select:je,slot:Ee,source:Me,style:De,table:Fe,td:Le,textarea:Re,th:Ne,track:ze,ul:Ie,video:Ue,svg:qe,elements:Ge,"*":["about","acceptCharset","accessKey","allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","charSet","classID","className","colSpan","contentEditable","contextMenu","crossOrigin","dangerouslySetInnerHTML","datatype","dateTime","dir","draggable","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hidden","hrefLang","htmlFor","httpEquiv","icon","id","inlist","inputMode","is","itemID","itemProp","itemRef","itemScope","itemType","keyParams","keyType","lang","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","prefix","property","radioGroup","readOnly","resource","role","rowSpan","scoped","seamless","security","spellCheck","srcDoc","srcLang","srcSet","style","suppressContentEditableWarning","tabIndex","title","typeof","unselectable","useMap","vocab","wmode"]},We=Object.freeze({a:R,abbr:N,applet:z,area:I,audio:U,base:q,basefont:G,bdo:_,blockquote:W,button:B,canvas:H,col:V,colgroup:K,data:X,del:Y,details:Z,dfn:J,dialog:$,embed:Q,fieldset:ee,font:te,form:re,frame:oe,frameset:ne,head:ae,hr:ie,html:se,iframe:le,img:pe,input:ue,ins:ce,keygen:de,label:fe,li:he,link:me,map:ge,meta:ye,meter:be,object:ve,ol:Ce,optgroup:ke,option:we,output:xe,param:Oe,pre:Te,progress:Pe,q:Se,script:Ae,select:je,slot:Ee,source:Me,style:De,table:Fe,td:Le,textarea:Re,th:Ne,track:ze,ul:Ie,video:Ue,svg:qe,elements:Ge,default:_e}),Be=We&&_e||We,He=(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=Be,e.exports=Be}(F={exports:{}},F.exports),F.exports),Ve=(L=He)&&L.__esModule&&Object.prototype.hasOwnProperty.call(L,"default")?L.default:L,Ke=["children","dangerouslySetInnerHTML","key","ref","autoFocus","defaultValue","valueLink","defaultChecked","checkedLink","innerHTML","suppressContentEditableWarning","onFocusIn","onFocusOut","className","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onLoad","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onCopyCapture","onCutCapture","onPasteCapture","onCompositionEndCapture","onCompositionStartCapture","onCompositionUpdateCapture","onKeyDownCapture","onKeyPressCapture","onKeyUpCapture","onFocusCapture","onBlurCapture","onChangeCapture","onInputCapture","onSubmitCapture","onClickCapture","onContextMenuCapture","onDoubleClickCapture","onDragCapture","onDragEndCapture","onDragEnterCapture","onDragExitCapture","onDragLeaveCapture","onDragOverCapture","onDragStartCapture","onDropCapture","onMouseDownCapture","onMouseEnterCapture","onMouseLeaveCapture","onMouseMoveCapture","onMouseOutCapture","onMouseOverCapture","onMouseUpCapture","onSelectCapture","onTouchCancelCapture","onTouchEndCapture","onTouchMoveCapture","onTouchStartCapture","onScrollCapture","onWheelCapture","onAbortCapture","onCanPlayCapture","onCanPlayThroughCapture","onDurationChangeCapture","onEmptiedCapture","onEncryptedCapture","onEndedCapture","onErrorCapture","onLoadedDataCapture","onLoadedMetadataCapture","onLoadStartCapture","onPauseCapture","onPlayCapture","onPlayingCapture","onProgressCapture","onRateChangeCapture","onSeekedCapture","onSeekingCapture","onStalledCapture","onSuspendCapture","onTimeUpdateCapture","onVolumeChangeCapture","onWaitingCapture","onLoadCapture","onAnimationStartCapture","onAnimationEndCapture","onAnimationIterationCapture","onTransitionEndCapture"];var Xe=Ve["*"],Ye=Ve.elements.svg,Ze=Ve.elements.html,Je=["color","height","width"],$e=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),Qe=function(e){return"svg"===e||-1===Ze.indexOf(e)&&-1!==Ye.indexOf(e)},et=M(function(e,t){return"string"!=typeof e||(n=t,i=void 0,i=Qe(a=e)?Ve.svg:Ve[a]||[],(-1!==Xe.indexOf(n)||-1!==i.indexOf(n)||(o=t,-1!==Ke.indexOf(o))||$e(t.toLowerCase()))&&(r=t,!(-1!==Je.indexOf(r))||Qe(e)));var r,o,n,a,i});var tt,rt=(tt=function(e,t){var r=t.propsAreCssOverrides,o=t.rootEl,n=t.filterProps,a=t.forwardProps,i=e.css,s=e.innerRef,l=(e.theme,e.className,e.glam,u(e,["css","innerRef","theme","className","glam"]));void 0!==s&&-1!==a.indexOf("innerRef")&&(l.innerRef=s);var p={toForward:{},cssProp:i,cssOverrides:{}};return r||"string"==typeof o||0!==n.length?Object.keys(l).reduce(function(e,t){return-1!==n.indexOf(t)?e:(-1!==a.indexOf(t)||et(o,t)?e.toForward[t]=l[t]:r&&(e.cssOverrides[t]=l[t]),e)},p):(p.toForward=l,p)},function t(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.rootEl,i=o.displayName,s=o.shouldClassNameUpdate,p=o.filterProps,c=void 0===p?[]:p,h=o.forwardProps,m=void 0===h?[]:h,g=o.propsAreCssOverrides,y=void 0===g?r.propsAreCssOverrides:g,b=o.withProps;return Object.assign(O,{withConfig:v}),O;function v(e){return t(r,l({},o,e))}function O(){for(var o=arguments.length,p=Array(o),h=0;h<o;h++)p[h]=arguments[h];var g,O,T,P,S,A,j,E,M,D,F,L=f(function(t,r){var o=function(e,t,r){if(!s)return!0;var o=!0;return r&&(s(r.props,e,r.context,t)||(o=!1)),o}(t=function e(t,r,o,n){return t.forEach(function(t){return"function"==typeof t?Object.assign(r,t(Object.assign({},r,o),n)):Array.isArray(t)?Object.assign(r,e(t,r,o,n)):Object.assign(r,t)}),Object.assign(r,o)}(L.propsToApply,{},t,r),r,this.previous);s&&(this.previous={props:t,context:r});var n=tt(t,L),a=n.toForward,i=n.cssOverrides,p=n.cssProp;return this.className=o?C({styles:L.styles,props:t,cssOverrides:i,cssProp:p,context:r,displayName:L.displayName}):this.className,e.createElement(L.comp,l({ref:"innerRef"in a?void 0:t.innerRef},a,{className:this.className}))},{noWarn:!0,createElement:!1});return L.propTypes={className:n.oneOfType([n.string,n.object]),cssOverrides:n.object,innerRef:n.func,glam:n.object},Object.assign(L,(O=(g={comp:r,styles:p,rootEl:a,filterProps:c,forwardProps:m,displayName:i,propsToApply:b}).comp,T=g.styles,P=g.rootEl,S=g.filterProps,A=g.forwardProps,j=g.displayName,E=g.propsToApply,M=O.comp?O.comp:O,D=O.propsToApply?[].concat(d(O.propsToApply),d(k(E))):k(E),{styles:w(O.styles,T),comp:M,rootEl:P||x(O),forwardProps:w(O.forwardProps,A),filterProps:w(O.filterProps,S),displayName:j||"glamorous("+(F=O,"string"==typeof F?F:F.displayName||F.name||"unknown")+")",propsToApply:D}),{isGlamorousComponent:!0,propsAreCssOverrides:y,withComponent:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=L.forwardProps,n=L.filterProps,a=u(L,["forwardProps","filterProps"]);return t(l({},a,{comp:e,rootEl:x(e)}),l({forwardProps:o,filterProps:n},r))()},withProps:function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return t(L,{withProps:r})()},withConfig:v}),L}});Object.assign(rt,r.reduce(function(e,t){return e[t]=rt(t),e},{})),Object.assign(rt,r.reduce(function(e,t){var r,o=(r=t).slice(0,1).toUpperCase()+r.slice(1);return e[o]=rt[t](),e[o].displayName="glamorous."+o,e[o].propsAreCssOverrides=!0,e},{})),rt.default=rt;var ot=Object.freeze({default:rt,ThemeProvider:b,withTheme:f}),nt=rt;return Object.assign(nt,Object.keys(ot).reduce(function(e,t){return"default"!==t&&(e[t]=ot[t]),e},{})),nt}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("glamor")):"function"==typeof define&&define.amd?define(["react","glamor"],t):e.glamorous=t(e.React,e.Glamor)}(this,function(e,t){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var r=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"].concat(["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","animation","audio","canvas","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","handler","hatch","hatchpath","hkern","iframe","image","line","linearGradient","listener","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","prefetch","radialGradient","rect","script","set","solidColor","solidcolor","stop","style","svg","switch","symbol","tbreak","text","textArea","textPath","title","tref","tspan","unknown","use","video","view","vkern"]).filter(function(e,t,r){return r.indexOf(e)===t}),o="__glamorous__",n=void 0;if(parseFloat(e.version.slice(0,4))>=15.5)try{n=("undefined"!=typeof window?window:global).PropTypes}catch(e){}n=n||e.PropTypes;var a=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},u=function(e,t){var r={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},c=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},d=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)};function f(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=r.noWarn,d=void 0!==u&&u,f=r.createElement,h=void 0===f||f,m=function(r){function n(){var e,t,r;a(this,n);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return t=r=c(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(i))),r.warned=d,r.state={theme:{}},r.setTheme=function(e){return r.setState({theme:e})},c(r,t)}return p(n,r),i(n,[{key:"componentWillMount",value:function(){this.context[o];var e=this.props.theme;this.context[o]?this.setTheme(e||this.context[o].getState()):this.setTheme(e||{})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.setTheme(e.theme)}},{key:"componentDidMount",value:function(){this.context[o]&&!this.props.theme&&(this.subscriptionId=this.context[o].subscribe(this.setTheme))}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[o].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return h?e.createElement(t,l({},this.props,this.state)):t.call(this,l({},this.props,this.state),this.context)}}]),n}(e.Component);m.propTypes={theme:n.object};var g=s({},o,n.object),y=null;return Object.defineProperty(m,"contextTypes",{enumerable:!0,configurable:!0,set:function(e){y=e},get:function(){return y?l({},g,y):g}}),m}var h=function(e){var t=m.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)},m=Object.prototype.toString;var g=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)};function y(e){return!0===g(e)&&"[object Object]"===Object.prototype.toString.call(e)}var b=function(t){function r(){var e,t,o;a(this,r);for(var n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];return t=o=c(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(i))),o.setOuterTheme=function(e){o.outerTheme=e,void 0!==o.broadcast&&o.publishTheme()},c(o,t)}return p(r,t),i(r,[{key:"getTheme",value:function(e){var t,r,o,n=e||this.props.theme;if(h(n)){var a=n(this.outerTheme);if(!1===y(t=a)||"function"!=typeof(r=t.constructor)||!1===y(o=r.prototype)||!1===o.hasOwnProperty("isPrototypeOf"))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return a}return l({},this.outerTheme,n)}},{key:"getChildContext",value:function(){return s({},o,this.broadcast)}},{key:"publishTheme",value:function(e){this.broadcast.setState(this.getTheme(e))}},{key:"componentDidMount",value:function(){this.context[o]&&(this.subscriptionId=this.context[o].subscribe(this.setOuterTheme))}},{key:"componentWillMount",value:function(){var e,t,r,n;this.context[o]&&this.setOuterTheme(this.context[o].getState()),this.broadcast=(e=this.getTheme(this.props.theme),t={},r=1,n=e,{getState:function(){return n},setState:function(e){n=e;for(var r=Object.keys(t),o=0,a=r.length;o<a;o++)t[r[o]]&&t[r[o]](e)},subscribe:function(e){if("function"!=typeof e)throw new Error("listener must be a function.");var o=r;return t[o]=e,r+=1,o},unsubscribe:function(e){t[e]=void 0}})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.publishTheme(e.theme)}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[o].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return this.props.children?e.Children.only(this.props.children):null}}]),r}(e.Component);function v(e){var t=[],r=[];return e.toString().split(" ").forEach(function(e){if(0===e.indexOf("css-")){var o=s({},"data-"+e,"");r.push(o)}else t.push(e)}),{glamorlessClassName:t,glamorStyles:r}}function C(e){var r=e.styles,o=e.props,n=e.cssOverrides,a=e.cssProp,i=e.context,s=(e.displayName,function e(t,r,o){var n=void 0;var a=[];var i=[];for(var s=0;s<t.length;s++)if("function"==typeof(n=t[s])){var l=n(r,o);if("string"==typeof l){var p=v(l),u=p.glamorStyles,c=p.glamorlessClassName;a.push.apply(a,d(u)),i.push.apply(i,d(c))}else a.push(l)}else if("string"==typeof n){var f=v(n),h=f.glamorStyles,m=f.glamorlessClassName;a.push.apply(a,d(h)),i.push.apply(i,d(m))}else if(Array.isArray(n)){var g=e(n,r,o);a.push.apply(a,d(g.mappedArgs)),i.push.apply(i,d(g.nonGlamorClassNames))}else a.push(n);return{mappedArgs:a,nonGlamorClassNames:i}}([].concat(d(r),[o.className,n,a]),o,i)),l=s.mappedArgs,p=s.nonGlamorClassNames;return(t.css.apply(void 0,[null].concat(d(l))).toString()+" "+p.join(" ").trim()).trim()}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e:[e]}function w(e,t){return e?e.concat(t):t}function x(e){return e.rootEl?e.rootEl:e.comp||e}function O(e,t,r,o){var n,a=null==(n=o)||"number"==typeof n||"boolean"==typeof n?o:r(o),i=t.get(a);return void 0===i&&(i=e.call(this,o),t.set(a,i)),i}function T(e,t,r){var o=Array.prototype.slice.call(arguments,3),n=r(o),a=t.get(n);return void 0===a&&(a=e.apply(this,o),t.set(n,a)),a}function P(e,t,r,o,n){return r.bind(t,e,o,n)}function S(e,t){return P(e,this,1===e.length?O:T,t.cache.create(),t.serializer)}function A(){return JSON.stringify(arguments)}function E(){this.cache=Object.create(null)}b.childContextTypes=s({},o,n.object.isRequired),b.contextTypes=s({},o,n.object),b.propTypes={theme:n.oneOfType([n.object,n.func]).isRequired,children:n.node},E.prototype.has=function(e){return e in this.cache},E.prototype.get=function(e){return this.cache[e]},E.prototype.set=function(e,t){this.cache[e]=t};var j={create:function(){return new E}},M=function(e,t){var r=t&&t.cache?t.cache:j,o=t&&t.serializer?t.serializer:A;return(t&&t.strategy?t.strategy:S)(e,{cache:r,serializer:o})},D={variadic:function(e,t){return P(e,this,T,t.cache.create(),t.serializer)},monadic:function(e,t){return P(e,this,O,t.cache.create(),t.serializer)}};M.strategies=D;var F,L,R=["coords","download","href","name","rel","shape","target","type"],N=["title"],z=["alt","height","name","width"],I=["alt","coords","download","href","rel","shape","target","type"],U=["controls","loop","muted","preload","src"],q=["href","target"],G=["size"],_=["dir"],W=["cite"],B=["disabled","form","name","type","value"],H=["height","width"],V=["span","width"],K=["span","width"],X=["value"],Y=["cite"],Z=["open"],J=["title"],$=["open"],Q=["height","src","type","width"],ee=["disabled","form","name"],te=["size"],re=["accept","action","method","name","target"],oe=["name","scrolling","src"],ne=["cols","rows"],ae=["profile"],ie=["size","width"],se=["manifest"],le=["height","name","sandbox","scrolling","src","width"],pe=["alt","height","name","sizes","src","width"],ue=["accept","alt","autoCapitalize","autoCorrect","autoSave","checked","defaultChecked","defaultValue","disabled","form","height","list","max","min","multiple","name","onChange","pattern","placeholder","required","results","size","src","step","title","type","value","width"],ce=["cite"],de=["challenge","disabled","form","name"],fe=["form"],he=["type","value"],me=["color","href","integrity","media","nonce","rel","scope","sizes","target","title","type"],ge=["name"],ye=["content","name"],be=["high","low","max","min","optimum","value"],ve=["data","form","height","name","type","width"],Ce=["reversed","start","type"],ke=["disabled","label"],we=["disabled","label","selected","value"],xe=["form","name"],Oe=["name","type","value"],Te=["width"],Pe=["max","value"],Se=["cite"],Ae=["async","defer","integrity","nonce","src","type"],Ee=["defaultValue","disabled","form","multiple","name","onChange","required","size","value"],je=["name"],Me=["media","sizes","src","type"],De=["media","nonce","title","type"],Fe=["summary","width"],Le=["headers","height","scope","width"],Re=["autoCapitalize","autoCorrect","cols","defaultValue","disabled","form","name","onChange","placeholder","required","rows","value","wrap"],Ne=["headers","height","scope","width"],ze=["default","kind","label","src"],Ie=["type"],Ue=["controls","height","loop","muted","poster","preload","src","width"],qe=["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","color","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","height","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","width","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","xmlns","xmlnsXlink","y","y1","y2","yChannelSelector","z","zoomAndPan"],Ge={html:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],svg:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]},_e={a:R,abbr:N,applet:z,area:I,audio:U,base:q,basefont:G,bdo:_,blockquote:W,button:B,canvas:H,col:V,colgroup:K,data:X,del:Y,details:Z,dfn:J,dialog:$,embed:Q,fieldset:ee,font:te,form:re,frame:oe,frameset:ne,head:ae,hr:ie,html:se,iframe:le,img:pe,input:ue,ins:ce,keygen:de,label:fe,li:he,link:me,map:ge,meta:ye,meter:be,object:ve,ol:Ce,optgroup:ke,option:we,output:xe,param:Oe,pre:Te,progress:Pe,q:Se,script:Ae,select:Ee,slot:je,source:Me,style:De,table:Fe,td:Le,textarea:Re,th:Ne,track:ze,ul:Ie,video:Ue,svg:qe,elements:Ge,"*":["about","acceptCharset","accessKey","allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","charSet","classID","className","colSpan","contentEditable","contextMenu","crossOrigin","dangerouslySetInnerHTML","datatype","dateTime","dir","draggable","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hidden","hrefLang","htmlFor","httpEquiv","icon","id","inlist","inputMode","is","itemID","itemProp","itemRef","itemScope","itemType","keyParams","keyType","lang","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","prefix","property","radioGroup","readOnly","resource","role","rowSpan","scoped","seamless","security","spellCheck","srcDoc","srcLang","srcSet","style","suppressContentEditableWarning","tabIndex","title","typeof","unselectable","useMap","vocab","wmode"]},We=Object.freeze({a:R,abbr:N,applet:z,area:I,audio:U,base:q,basefont:G,bdo:_,blockquote:W,button:B,canvas:H,col:V,colgroup:K,data:X,del:Y,details:Z,dfn:J,dialog:$,embed:Q,fieldset:ee,font:te,form:re,frame:oe,frameset:ne,head:ae,hr:ie,html:se,iframe:le,img:pe,input:ue,ins:ce,keygen:de,label:fe,li:he,link:me,map:ge,meta:ye,meter:be,object:ve,ol:Ce,optgroup:ke,option:we,output:xe,param:Oe,pre:Te,progress:Pe,q:Se,script:Ae,select:Ee,slot:je,source:Me,style:De,table:Fe,td:Le,textarea:Re,th:Ne,track:ze,ul:Ie,video:Ue,svg:qe,elements:Ge,default:_e}),Be=We&&_e||We,He=(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=Be,e.exports=Be}(F={exports:{}},F.exports),F.exports),Ve=(L=He)&&L.__esModule&&Object.prototype.hasOwnProperty.call(L,"default")?L.default:L,Ke=["children","dangerouslySetInnerHTML","key","ref","autoFocus","defaultValue","valueLink","defaultChecked","checkedLink","innerHTML","suppressContentEditableWarning","onFocusIn","onFocusOut","className","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onLoad","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onCopyCapture","onCutCapture","onPasteCapture","onCompositionEndCapture","onCompositionStartCapture","onCompositionUpdateCapture","onKeyDownCapture","onKeyPressCapture","onKeyUpCapture","onFocusCapture","onBlurCapture","onChangeCapture","onInputCapture","onSubmitCapture","onClickCapture","onContextMenuCapture","onDoubleClickCapture","onDragCapture","onDragEndCapture","onDragEnterCapture","onDragExitCapture","onDragLeaveCapture","onDragOverCapture","onDragStartCapture","onDropCapture","onMouseDownCapture","onMouseEnterCapture","onMouseLeaveCapture","onMouseMoveCapture","onMouseOutCapture","onMouseOverCapture","onMouseUpCapture","onSelectCapture","onTouchCancelCapture","onTouchEndCapture","onTouchMoveCapture","onTouchStartCapture","onScrollCapture","onWheelCapture","onAbortCapture","onCanPlayCapture","onCanPlayThroughCapture","onDurationChangeCapture","onEmptiedCapture","onEncryptedCapture","onEndedCapture","onErrorCapture","onLoadedDataCapture","onLoadedMetadataCapture","onLoadStartCapture","onPauseCapture","onPlayCapture","onPlayingCapture","onProgressCapture","onRateChangeCapture","onSeekedCapture","onSeekingCapture","onStalledCapture","onSuspendCapture","onTimeUpdateCapture","onVolumeChangeCapture","onWaitingCapture","onLoadCapture","onAnimationStartCapture","onAnimationEndCapture","onAnimationIterationCapture","onTransitionEndCapture"];var Xe=Ve["*"],Ye=Ve.elements.svg,Ze=Ve.elements.html,Je=["color","height","width"],$e=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),Qe=function(e){return"svg"===e||-1===Ze.indexOf(e)&&-1!==Ye.indexOf(e)},et=M(function(e,t){return"string"!=typeof e||(n=t,i=void 0,i=Qe(a=e)?Ve.svg:Ve[a]||[],(-1!==Xe.indexOf(n)||-1!==i.indexOf(n)||(o=t,-1!==Ke.indexOf(o))||$e(t.toLowerCase()))&&(r=t,!(-1!==Je.indexOf(r))||Qe(e)));var r,o,n,a,i});var tt,rt=(tt=function(e,t){var r=t.propsAreCssOverrides,o=t.rootEl,n=t.filterProps,a=t.forwardProps,i=e.css,s=e.innerRef,l=(e.theme,e.className,e.glam,u(e,["css","innerRef","theme","className","glam"]));void 0!==s&&-1!==a.indexOf("innerRef")&&(l.innerRef=s);var p={toForward:{},cssProp:i,cssOverrides:{}};return r||"string"==typeof o||0!==n.length?Object.keys(l).reduce(function(e,t){return-1!==n.indexOf(t)?e:(-1!==a.indexOf(t)||et(o,t)?e.toForward[t]=l[t]:r&&(e.cssOverrides[t]=l[t]),e)},p):(p.toForward=l,p)},function t(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.rootEl,i=o.displayName,s=o.shouldClassNameUpdate,p=o.filterProps,c=void 0===p?[]:p,h=o.forwardProps,m=void 0===h?[]:h,g=o.propsAreCssOverrides,y=void 0===g?r.propsAreCssOverrides:g,b=o.withProps;return Object.assign(O,{withConfig:v}),O;function v(e){return t(r,l({},o,e))}function O(){for(var o=arguments.length,p=Array(o),h=0;h<o;h++)p[h]=arguments[h];var g,O,T,P,S,A,E,j,M,D,F,L=f(function(t,r){var o=function(e,t,r){if(!s)return!0;var o=!0;return r&&(s(r.props,e,r.context,t)||(o=!1)),o}(t=function e(t,r,o,n){return t.forEach(function(t){return"function"==typeof t?Object.assign(r,t(Object.assign({},r,o),n)):Array.isArray(t)?Object.assign(r,e(t,r,o,n)):Object.assign(r,t)}),Object.assign(r,o)}(L.propsToApply,{},t,r),r,this.previous);s&&(this.previous={props:t,context:r});var n=tt(t,L),a=n.toForward,i=n.cssOverrides,p=n.cssProp;return this.className=o?C({styles:L.styles,props:t,cssOverrides:i,cssProp:p,context:r,displayName:L.displayName}):this.className,e.createElement(L.comp,l({ref:"innerRef"in a?void 0:t.innerRef},a,{className:this.className}))},{noWarn:!0,createElement:!1});return L.propTypes={className:n.oneOfType([n.string,n.object]),cssOverrides:n.object,innerRef:n.func,glam:n.object},Object.assign(L,(O=(g={comp:r,styles:p,rootEl:a,filterProps:c,forwardProps:m,displayName:i,propsToApply:b}).comp,T=g.styles,P=g.rootEl,S=g.filterProps,A=g.forwardProps,E=g.displayName,j=g.propsToApply,M=O.comp?O.comp:O,D=O.propsToApply?[].concat(d(O.propsToApply),d(k(j))):k(j),{styles:w(O.styles,T),comp:M,rootEl:P||x(O),forwardProps:w(O.forwardProps,A),filterProps:w(O.filterProps,S),displayName:E||"glamorous("+(F=O,"string"==typeof F?F:F.displayName||F.name||"unknown")+")",propsToApply:D}),{isGlamorousComponent:!0,propsAreCssOverrides:y,withComponent:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=L.forwardProps,n=L.filterProps,a=u(L,["forwardProps","filterProps"]);return t(l({},a,{comp:e,rootEl:x(e)}),l({forwardProps:o,filterProps:n},r))()},withProps:function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return t(L,{withProps:r})()},withConfig:v}),L}});Object.assign(rt,r.reduce(function(e,t){return e[t]=rt(t),e},{})),Object.assign(rt,r.reduce(function(e,t){var r,o=(r=t).slice(0,1).toUpperCase()+r.slice(1);return e[o]=rt[t](),e[o].displayName="glamorous."+o,e[o].propsAreCssOverrides=!0,e},{})),rt.default=rt;var ot=Object.freeze({default:rt,ThemeProvider:b,withTheme:f}),nt=rt;return Object.assign(nt,Object.keys(ot).reduce(function(e,t){return"default"!==t&&(e[t]=ot[t]),e},{})),nt}); | ||
//# sourceMappingURL=glamorous.umd.min.js.map |
@@ -1,1 +0,1 @@ | ||
{"name":"glamorous","version":"4.11.4","description":"React component styling solved","main":"dist/glamorous.cjs.js","jsnext:main":"dist/glamorous.esm.js","module":"dist/glamorous.esm.js","typings":"typings/glamorous.d.ts","scripts":{"add-contributor":"kcd-scripts contributors add","prebuild":"rimraf dist preact","build":"npm-run-all build:*","build:main":"kcd-scripts build --bundle --p-react --no-clean","build:tiny":"npm run build:main -- --no-package-json --environment BUILD_TINY","lint":"kcd-scripts lint","test":"kcd-scripts test","test:cover":"kcd-scripts test --coverage","test:update":"npm run test:cover -s -- --updateSnapshot","test:build":"kcd-scripts test --config other/jest.config.js --no-watch","build-and-test":"npm run build -s && npm run test:build -s","validate":"kcd-scripts validate lint,build-and-test,test:cover","precommit":"kcd-scripts precommit"},"files":["dist","typings","preact"],"keywords":["react","css","css-in-js","cssinjs","styled-components","glamor","jsxstyle"],"author":"Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)","license":"MIT","dependencies":{"brcast":"^3.0.0","fast-memoize":"^2.2.7","html-tag-names":"^1.1.1","is-function":"^1.0.1","is-plain-object":"^2.0.4","react-html-attributes":"^1.3.0","svg-tag-names":"^1.1.0"},"peerDependencies":{"glamor":">=2"},"devDependencies":{"@types/react":"^16.0.33","codegen.macro":"^1.0.0","cross-spawn":"^5.1.0","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","enzyme-to-json":"^3.3.0","glamor":"^2.20.37","jest-glamor-react":"^3.2.2","kcd-scripts":"^0.31.1","npm-run-all":"^4.1.2","preact":"^8.2.7","preval.macro":"^1.0.2","prop-types":"^15.5.10","react":"^16.2.0","react-dom":"^16.2.0","react-test-renderer":"^16.2.0","rimraf":"^2.6.2","tslint":"^5.8.0","tslint-microsoft-contrib":"^5.0.0","tsutils":"^2.15.0","typescript":"^2.6.2"},"eslintConfig":{"extends":"./node_modules/kcd-scripts/eslint.js","rules":{"import/prefer-default-export":"off","react/no-unused-prop-types":"off","valid-jsdoc":"off"}},"eslintIgnore":["node_modules","coverage","dist","storybook-static","typings"],"repository":{"type":"git","url":"https://github.com/paypal/glamorous.git"},"bugs":{"url":"https://github.com/paypal/glamorous/issues"},"homepage":"https://github.com/paypal/glamorous#readme"} | ||
{"name":"glamorous","version":"4.11.5","description":"React component styling solved","main":"dist/glamorous.cjs.js","jsnext:main":"dist/glamorous.esm.js","module":"dist/glamorous.esm.js","typings":"typings/glamorous.d.ts","scripts":{"add-contributor":"kcd-scripts contributors add","prebuild":"rimraf dist preact","build":"npm-run-all build:*","build:main":"kcd-scripts build --bundle --p-react --no-clean","build:tiny":"npm run build:main -- --no-package-json --environment BUILD_TINY","lint":"kcd-scripts lint","test":"kcd-scripts test","test:cover":"kcd-scripts test --coverage","test:update":"npm run test:cover -s -- --updateSnapshot","test:build":"kcd-scripts test --config other/jest.config.js --no-watch","build-and-test":"npm run build -s && npm run test:build -s","validate":"kcd-scripts validate lint,build-and-test,test:cover","precommit":"kcd-scripts precommit"},"files":["dist","typings","preact"],"keywords":["react","css","css-in-js","cssinjs","styled-components","glamor","jsxstyle"],"author":"Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)","license":"MIT","dependencies":{"brcast":"^3.0.0","fast-memoize":"^2.2.7","html-tag-names":"^1.1.1","is-function":"^1.0.1","is-plain-object":"^2.0.4","react-html-attributes":"^1.3.0","svg-tag-names":"^1.1.0"},"peerDependencies":{"glamor":">=2"},"devDependencies":{"@types/react":"^16.0.33","codegen.macro":"^1.0.0","cross-spawn":"^5.1.0","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","enzyme-to-json":"^3.3.0","glamor":"^2.20.37","jest-glamor-react":"^3.2.2","kcd-scripts":"^0.31.1","npm-run-all":"^4.1.2","preact":"^8.2.7","preval.macro":"^1.0.2","prop-types":"^15.5.10","react":"^16.2.0","react-dom":"^16.2.0","react-test-renderer":"^16.2.0","rimraf":"^2.6.2","tslint":"^5.8.0","tslint-microsoft-contrib":"^5.0.0","tsutils":"^2.15.0","typescript":"^2.6.2"},"eslintConfig":{"extends":"./node_modules/kcd-scripts/eslint.js","rules":{"import/prefer-default-export":"off","react/no-unused-prop-types":"off","valid-jsdoc":"off"}},"eslintIgnore":["node_modules","coverage","dist","storybook-static","typings"],"repository":{"type":"git","url":"https://github.com/paypal/glamorous.git"},"bugs":{"url":"https://github.com/paypal/glamorous/issues"},"homepage":"https://github.com/paypal/glamorous#readme"} |
@@ -1144,3 +1144,3 @@ 'use strict'; | ||
function isPrimitive (value) { | ||
return value == null || (typeof value !== 'function' && typeof value !== 'object') | ||
return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs | ||
} | ||
@@ -1151,9 +1151,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.call(this, arg); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.call(this, arg); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1165,9 +1165,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.apply(this, args); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.apply(this, args); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1174,0 +1174,0 @@ |
@@ -1140,3 +1140,3 @@ import React from 'preact'; | ||
function isPrimitive (value) { | ||
return value == null || (typeof value !== 'function' && typeof value !== 'object') | ||
return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs | ||
} | ||
@@ -1147,9 +1147,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.call(this, arg); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.call(this, arg); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1161,9 +1161,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.apply(this, args); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.apply(this, args); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1170,0 +1170,0 @@ |
@@ -1144,3 +1144,3 @@ (function (global, factory) { | ||
function isPrimitive (value) { | ||
return value == null || (typeof value !== 'function' && typeof value !== 'object') | ||
return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs | ||
} | ||
@@ -1151,9 +1151,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.call(this, arg); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.call(this, arg); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1165,9 +1165,9 @@ | ||
if (!cache.has(cacheKey)) { | ||
var computedValue = fn.apply(this, args); | ||
var computedValue = cache.get(cacheKey); | ||
if (typeof computedValue === 'undefined') { | ||
computedValue = fn.apply(this, args); | ||
cache.set(cacheKey, computedValue); | ||
return computedValue | ||
} | ||
return cache.get(cacheKey) | ||
return computedValue | ||
} | ||
@@ -1174,0 +1174,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("preact"),require("glamor")):"function"==typeof define&&define.amd?define(["preact","glamor"],t):e.glamorous=t(e.preact,e.Glamor)}(this,function(e,t){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var r=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"].concat(["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","animation","audio","canvas","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","handler","hatch","hatchpath","hkern","iframe","image","line","linearGradient","listener","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","prefetch","radialGradient","rect","script","set","solidColor","solidcolor","stop","style","svg","switch","symbol","tbreak","text","textArea","textPath","title","tref","tspan","unknown","use","video","view","vkern"]).filter(function(e,t,r){return r.indexOf(e)===t}),o="__glamorous__",n=void 0;if(e.PropTypes||(n=function(){return n},["array","bool","func","number","object","string","symbol","any","arrayOf","element","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact"].forEach(function(e){n[e]=n})),!e.Children){var a={map:function(e,t,r){return null==e?null:(e=a.toArray(e),r&&r!==e&&(t=t.bind(r)),e.map(t))},forEach:function(e,t,r){if(null==e)return null;e=a.toArray(e),r&&r!==e&&(t=t.bind(r)),e.forEach(t)},count:function(e){return e&&e.length||0},only:function(e){if(1!==(e=a.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:[].concat(e)}};e.Children=a}n=n||e.PropTypes;var i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},s=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),l=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},c=function(e,t){var r={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},d=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)};function m(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.noWarn,c=void 0!==a&&a,f=r.createElement,m=void 0===f||f,g=function(e){function r(){var e,t,o;i(this,r);for(var n=arguments.length,a=Array(n),s=0;s<n;s++)a[s]=arguments[s];return t=o=d(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(a))),o.warned=c,o.state={theme:{}},o.setTheme=function(e){return o.setState({theme:e})},d(o,t)}return p(r,e),s(r,[{key:"componentWillMount",value:function(){this.context[o];var e=this.props.theme;this.context[o]?this.setTheme(e||this.context[o].getState()):this.setTheme(e||{})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.setTheme(e.theme)}},{key:"componentDidMount",value:function(){this.context[o]&&!this.props.theme&&(this.subscriptionId=this.context[o].subscribe(this.setTheme))}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[o].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return m?h(t,u({},this.props,this.state)):t.call(this,u({},this.props,this.state),this.context)}}]),r}(e.Component),y=l({},o,n.object),b=null;return Object.defineProperty(g,"contextTypes",{enumerable:!0,configurable:!0,set:function(e){b=e},get:function(){return b?u({},y,b):y}}),g}var g=function(e){var t=y.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)},y=Object.prototype.toString;var b=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)};function v(e){return!0===b(e)&&"[object Object]"===Object.prototype.toString.call(e)}var C=function(t){function r(){var e,t,o;i(this,r);for(var n=arguments.length,a=Array(n),s=0;s<n;s++)a[s]=arguments[s];return t=o=d(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(a))),o.setOuterTheme=function(e){o.outerTheme=e,void 0!==o.broadcast&&o.publishTheme()},d(o,t)}return p(r,t),s(r,[{key:"getTheme",value:function(e){var t,r,o,n=e||this.props.theme;if(g(n)){var a=n(this.outerTheme);if(!1===v(t=a)||"function"!=typeof(r=t.constructor)||!1===v(o=r.prototype)||!1===o.hasOwnProperty("isPrototypeOf"))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return a}return u({},this.outerTheme,n)}},{key:"getChildContext",value:function(){return l({},o,this.broadcast)}},{key:"publishTheme",value:function(e){this.broadcast.setState(this.getTheme(e))}},{key:"componentDidMount",value:function(){this.context[o]&&(this.subscriptionId=this.context[o].subscribe(this.setOuterTheme))}},{key:"componentWillMount",value:function(){var e,t,r,n;this.context[o]&&this.setOuterTheme(this.context[o].getState()),this.broadcast=(e=this.getTheme(this.props.theme),t={},r=1,n=e,{getState:function(){return n},setState:function(e){n=e;for(var r=Object.keys(t),o=0,a=r.length;o<a;o++)t[r[o]]&&t[r[o]](e)},subscribe:function(e){if("function"!=typeof e)throw new Error("listener must be a function.");var o=r;return t[o]=e,r+=1,o},unsubscribe:function(e){t[e]=void 0}})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.publishTheme(e.theme)}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[o].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return this.props.children?e.Children.only(this.props.children):null}}]),r}(e.Component);function k(e){var t=[],r=[];return e.toString().split(" ").forEach(function(e){if(0===e.indexOf("css-")){var o=l({},"data-"+e,"");r.push(o)}else t.push(e)}),{glamorlessClassName:t,glamorStyles:r}}function x(e){var r=e.styles,o=e.props,n=e.cssOverrides,a=e.cssProp,i=e.context,s=(e.displayName,function e(t,r,o){var n=void 0;var a=[];var i=[];for(var s=0;s<t.length;s++)if("function"==typeof(n=t[s])){var l=n(r,o);if("string"==typeof l){var u=k(l),p=u.glamorStyles,c=u.glamorlessClassName;a.push.apply(a,f(p)),i.push.apply(i,f(c))}else a.push(l)}else if("string"==typeof n){var d=k(n),h=d.glamorStyles,m=d.glamorlessClassName;a.push.apply(a,f(h)),i.push.apply(i,f(m))}else if(Array.isArray(n)){var g=e(n,r,o);a.push.apply(a,f(g.mappedArgs)),i.push.apply(i,f(g.nonGlamorClassNames))}else a.push(n);return{mappedArgs:a,nonGlamorClassNames:i}}([].concat(f(r),[o.className,n,a]),o,i)),l=s.mappedArgs,u=s.nonGlamorClassNames;return(t.css.apply(void 0,[null].concat(f(l))).toString()+" "+u.join(" ").trim()).trim()}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e:[e]}function O(e,t){return e?e.concat(t):t}function P(e){return e.rootEl?e.rootEl:e.comp||e}function T(e,t,r,o){var n,a=null==(n=o)||"function"!=typeof n&&"object"!=typeof n?o:r(o);if(!t.has(a)){var i=e.call(this,o);return t.set(a,i),i}return t.get(a)}function S(e,t,r){var o=Array.prototype.slice.call(arguments,3),n=r(o);if(!t.has(n)){var a=e.apply(this,o);return t.set(n,a),a}return t.get(n)}function A(e,t,r,o,n){return r.bind(t,e,o,n)}function E(e,t){return A(e,this,1===e.length?T:S,t.cache.create(),t.serializer)}function M(){return JSON.stringify(arguments)}function j(){this.cache=Object.create(null)}C.childContextTypes=l({},o,n.object.isRequired),C.contextTypes=l({},o,n.object),j.prototype.has=function(e){return e in this.cache},j.prototype.get=function(e){return this.cache[e]},j.prototype.set=function(e,t){this.cache[e]=t};var D={create:function(){return new j}},F=function(e,t){var r=t&&t.cache?t.cache:D,o=t&&t.serializer?t.serializer:M;return(t&&t.strategy?t.strategy:E)(e,{cache:r,serializer:o})},L={variadic:function(e,t){return A(e,this,S,t.cache.create(),t.serializer)},monadic:function(e,t){return A(e,this,T,t.cache.create(),t.serializer)}};F.strategies=L;var R,N,z=["coords","download","href","name","rel","shape","target","type"],I=["title"],U=["alt","height","name","width"],G=["alt","coords","download","href","rel","shape","target","type"],_=["controls","loop","muted","preload","src"],q=["href","target"],W=["size"],B=["dir"],H=["cite"],V=["disabled","form","name","type","value"],K=["height","width"],X=["span","width"],Y=["span","width"],Z=["value"],J=["cite"],$=["open"],Q=["title"],ee=["open"],te=["height","src","type","width"],re=["disabled","form","name"],oe=["size"],ne=["accept","action","method","name","target"],ae=["name","scrolling","src"],ie=["cols","rows"],se=["profile"],le=["size","width"],ue=["manifest"],pe=["height","name","sandbox","scrolling","src","width"],ce=["alt","height","name","sizes","src","width"],de=["accept","alt","autoCapitalize","autoCorrect","autoSave","checked","defaultChecked","defaultValue","disabled","form","height","list","max","min","multiple","name","onChange","pattern","placeholder","required","results","size","src","step","title","type","value","width"],fe=["cite"],he=["challenge","disabled","form","name"],me=["form"],ge=["type","value"],ye=["color","href","integrity","media","nonce","rel","scope","sizes","target","title","type"],be=["name"],ve=["content","name"],Ce=["high","low","max","min","optimum","value"],ke=["data","form","height","name","type","width"],xe=["reversed","start","type"],we=["disabled","label"],Oe=["disabled","label","selected","value"],Pe=["form","name"],Te=["name","type","value"],Se=["width"],Ae=["max","value"],Ee=["cite"],Me=["async","defer","integrity","nonce","src","type"],je=["defaultValue","disabled","form","multiple","name","onChange","required","size","value"],De=["name"],Fe=["media","sizes","src","type"],Le=["media","nonce","title","type"],Re=["summary","width"],Ne=["headers","height","scope","width"],ze=["autoCapitalize","autoCorrect","cols","defaultValue","disabled","form","name","onChange","placeholder","required","rows","value","wrap"],Ie=["headers","height","scope","width"],Ue=["default","kind","label","src"],Ge=["type"],_e=["controls","height","loop","muted","poster","preload","src","width"],qe=["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","color","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","height","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","width","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","xmlns","xmlnsXlink","y","y1","y2","yChannelSelector","z","zoomAndPan"],We={html:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],svg:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]},Be={a:z,abbr:I,applet:U,area:G,audio:_,base:q,basefont:W,bdo:B,blockquote:H,button:V,canvas:K,col:X,colgroup:Y,data:Z,del:J,details:$,dfn:Q,dialog:ee,embed:te,fieldset:re,font:oe,form:ne,frame:ae,frameset:ie,head:se,hr:le,html:ue,iframe:pe,img:ce,input:de,ins:fe,keygen:he,label:me,li:ge,link:ye,map:be,meta:ve,meter:Ce,object:ke,ol:xe,optgroup:we,option:Oe,output:Pe,param:Te,pre:Se,progress:Ae,q:Ee,script:Me,select:je,slot:De,source:Fe,style:Le,table:Re,td:Ne,textarea:ze,th:Ie,track:Ue,ul:Ge,video:_e,svg:qe,elements:We,"*":["about","acceptCharset","accessKey","allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","charSet","classID","className","colSpan","contentEditable","contextMenu","crossOrigin","dangerouslySetInnerHTML","datatype","dateTime","dir","draggable","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hidden","hrefLang","htmlFor","httpEquiv","icon","id","inlist","inputMode","is","itemID","itemProp","itemRef","itemScope","itemType","keyParams","keyType","lang","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","prefix","property","radioGroup","readOnly","resource","role","rowSpan","scoped","seamless","security","spellCheck","srcDoc","srcLang","srcSet","style","suppressContentEditableWarning","tabIndex","title","typeof","unselectable","useMap","vocab","wmode"]},He=Object.freeze({a:z,abbr:I,applet:U,area:G,audio:_,base:q,basefont:W,bdo:B,blockquote:H,button:V,canvas:K,col:X,colgroup:Y,data:Z,del:J,details:$,dfn:Q,dialog:ee,embed:te,fieldset:re,font:oe,form:ne,frame:ae,frameset:ie,head:se,hr:le,html:ue,iframe:pe,img:ce,input:de,ins:fe,keygen:he,label:me,li:ge,link:ye,map:be,meta:ve,meter:Ce,object:ke,ol:xe,optgroup:we,option:Oe,output:Pe,param:Te,pre:Se,progress:Ae,q:Ee,script:Me,select:je,slot:De,source:Fe,style:Le,table:Re,td:Ne,textarea:ze,th:Ie,track:Ue,ul:Ge,video:_e,svg:qe,elements:We,default:Be}),Ve=He&&Be||He,Ke=(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=Ve,e.exports=Ve}(R={exports:{}},R.exports),R.exports),Xe=(N=Ke)&&N.__esModule&&Object.prototype.hasOwnProperty.call(N,"default")?N.default:N,Ye=["children","dangerouslySetInnerHTML","key","ref","autoFocus","defaultValue","valueLink","defaultChecked","checkedLink","innerHTML","suppressContentEditableWarning","onFocusIn","onFocusOut","className","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onLoad","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onCopyCapture","onCutCapture","onPasteCapture","onCompositionEndCapture","onCompositionStartCapture","onCompositionUpdateCapture","onKeyDownCapture","onKeyPressCapture","onKeyUpCapture","onFocusCapture","onBlurCapture","onChangeCapture","onInputCapture","onSubmitCapture","onClickCapture","onContextMenuCapture","onDoubleClickCapture","onDragCapture","onDragEndCapture","onDragEnterCapture","onDragExitCapture","onDragLeaveCapture","onDragOverCapture","onDragStartCapture","onDropCapture","onMouseDownCapture","onMouseEnterCapture","onMouseLeaveCapture","onMouseMoveCapture","onMouseOutCapture","onMouseOverCapture","onMouseUpCapture","onSelectCapture","onTouchCancelCapture","onTouchEndCapture","onTouchMoveCapture","onTouchStartCapture","onScrollCapture","onWheelCapture","onAbortCapture","onCanPlayCapture","onCanPlayThroughCapture","onDurationChangeCapture","onEmptiedCapture","onEncryptedCapture","onEndedCapture","onErrorCapture","onLoadedDataCapture","onLoadedMetadataCapture","onLoadStartCapture","onPauseCapture","onPlayCapture","onPlayingCapture","onProgressCapture","onRateChangeCapture","onSeekedCapture","onSeekingCapture","onStalledCapture","onSuspendCapture","onTimeUpdateCapture","onVolumeChangeCapture","onWaitingCapture","onLoadCapture","onAnimationStartCapture","onAnimationEndCapture","onAnimationIterationCapture","onTransitionEndCapture"];Ye.push("autocomplete","autofocus","class","for","onDblClick","onSearch","slot","srcset");var Ze=Xe["*"],Je=Xe.elements.svg,$e=Xe.elements.html,Qe=["color","height","width"],et=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),tt=function(e){return"svg"===e||-1===$e.indexOf(e)&&-1!==Je.indexOf(e)},rt=F(function(e,t){return"string"!=typeof e||(n=t,i=void 0,i=tt(a=e)?Xe.svg:Xe[a]||[],(-1!==Ze.indexOf(n)||-1!==i.indexOf(n)||(o=t,-1!==Ye.indexOf(o))||et(t.toLowerCase()))&&(r=t,!(-1!==Qe.indexOf(r))||tt(e)));var r,o,n,a,i});var ot,nt=(ot=function(e,t){var r=t.propsAreCssOverrides,o=t.rootEl,n=t.filterProps,a=t.forwardProps,i=e.css,s=e.innerRef,l=(e.theme,e.className,e.glam,c(e,["css","innerRef","theme","className","glam"]));void 0!==s&&-1!==a.indexOf("innerRef")&&(l.innerRef=s);var u={toForward:{},cssProp:i,cssOverrides:{}};return r||"string"==typeof o||0!==n.length?Object.keys(l).reduce(function(e,t){return-1!==n.indexOf(t)?e:(-1!==a.indexOf(t)||rt(o,t)?e.toForward[t]=l[t]:r&&(e.cssOverrides[t]=l[t]),e)},u):(u.toForward=l,u)},function t(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o.rootEl,a=o.displayName,i=o.shouldClassNameUpdate,s=o.filterProps,l=void 0===s?[]:s,p=o.forwardProps,d=void 0===p?[]:p,h=o.propsAreCssOverrides,g=void 0===h?r.propsAreCssOverrides:h,y=o.withProps;return Object.assign(v,{withConfig:b}),v;function b(e){return t(r,u({},o,e))}function v(){for(var o=arguments.length,s=Array(o),p=0;p<o;p++)s[p]=arguments[p];var h,v,C,k,T,S,A,E,M,j,D,F=m(function(t,r){var o=function(e,t,r){if(!i)return!0;var o=!0;return r&&(i(r.props,e,r.context,t)||(o=!1)),o}(t=function e(t,r,o,n){return t.forEach(function(t){return"function"==typeof t?Object.assign(r,t(Object.assign({},r,o),n)):Array.isArray(t)?Object.assign(r,e(t,r,o,n)):Object.assign(r,t)}),Object.assign(r,o)}(F.propsToApply,{},t,r),r,this.previous);i&&(this.previous={props:t,context:r});var n=ot(t,F),a=n.toForward,s=n.cssOverrides,l=n.cssProp;return this.className=o?x({styles:F.styles,props:t,cssOverrides:s,cssProp:l,context:r,displayName:F.displayName}):this.className,e.createElement(F.comp,u({ref:"innerRef"in a?void 0:t.innerRef},a,{className:this.className}))},{noWarn:!0,createElement:!1});return Object.assign(F,(v=(h={comp:r,styles:s,rootEl:n,filterProps:l,forwardProps:d,displayName:a,propsToApply:y}).comp,C=h.styles,k=h.rootEl,T=h.filterProps,S=h.forwardProps,A=h.displayName,E=h.propsToApply,M=v.comp?v.comp:v,j=v.propsToApply?[].concat(f(v.propsToApply),f(w(E))):w(E),{styles:O(v.styles,C),comp:M,rootEl:k||P(v),forwardProps:O(v.forwardProps,S),filterProps:O(v.filterProps,T),displayName:A||"glamorous("+(D=v,"string"==typeof D?D:D.displayName||D.name||"unknown")+")",propsToApply:j}),{isGlamorousComponent:!0,propsAreCssOverrides:g,withComponent:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=F.forwardProps,n=F.filterProps,a=c(F,["forwardProps","filterProps"]);return t(u({},a,{comp:e,rootEl:P(e)}),u({forwardProps:o,filterProps:n},r))()},withProps:function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return t(F,{withProps:r})()},withConfig:b}),F}});Object.assign(nt,r.reduce(function(e,t){return e[t]=nt(t),e},{})),Object.assign(nt,r.reduce(function(e,t){var r,o=(r=t).slice(0,1).toUpperCase()+r.slice(1);return e[o]=nt[t](),e[o].displayName="glamorous."+o,e[o].propsAreCssOverrides=!0,e},{})),nt.default=nt;var at=Object.freeze({default:nt,ThemeProvider:C,withTheme:m}),it=nt;return Object.assign(it,Object.keys(at).reduce(function(e,t){return"default"!==t&&(e[t]=at[t]),e},{})),it}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("preact"),require("glamor")):"function"==typeof define&&define.amd?define(["preact","glamor"],t):e.glamorous=t(e.preact,e.Glamor)}(this,function(e,t){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var r=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"].concat(["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","animation","audio","canvas","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","handler","hatch","hatchpath","hkern","iframe","image","line","linearGradient","listener","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","prefetch","radialGradient","rect","script","set","solidColor","solidcolor","stop","style","svg","switch","symbol","tbreak","text","textArea","textPath","title","tref","tspan","unknown","use","video","view","vkern"]).filter(function(e,t,r){return r.indexOf(e)===t}),o="__glamorous__",n=void 0;if(e.PropTypes||(n=function(){return n},["array","bool","func","number","object","string","symbol","any","arrayOf","element","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact"].forEach(function(e){n[e]=n})),!e.Children){var a={map:function(e,t,r){return null==e?null:(e=a.toArray(e),r&&r!==e&&(t=t.bind(r)),e.map(t))},forEach:function(e,t,r){if(null==e)return null;e=a.toArray(e),r&&r!==e&&(t=t.bind(r)),e.forEach(t)},count:function(e){return e&&e.length||0},only:function(e){if(1!==(e=a.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:[].concat(e)}};e.Children=a}n=n||e.PropTypes;var i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},s=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),l=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},c=function(e,t){var r={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},d=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)};function m(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.noWarn,c=void 0!==a&&a,f=r.createElement,m=void 0===f||f,g=function(e){function r(){var e,t,o;i(this,r);for(var n=arguments.length,a=Array(n),s=0;s<n;s++)a[s]=arguments[s];return t=o=d(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(a))),o.warned=c,o.state={theme:{}},o.setTheme=function(e){return o.setState({theme:e})},d(o,t)}return p(r,e),s(r,[{key:"componentWillMount",value:function(){this.context[o];var e=this.props.theme;this.context[o]?this.setTheme(e||this.context[o].getState()):this.setTheme(e||{})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.setTheme(e.theme)}},{key:"componentDidMount",value:function(){this.context[o]&&!this.props.theme&&(this.subscriptionId=this.context[o].subscribe(this.setTheme))}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[o].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return m?h(t,u({},this.props,this.state)):t.call(this,u({},this.props,this.state),this.context)}}]),r}(e.Component),y=l({},o,n.object),b=null;return Object.defineProperty(g,"contextTypes",{enumerable:!0,configurable:!0,set:function(e){b=e},get:function(){return b?u({},y,b):y}}),g}var g=function(e){var t=y.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)},y=Object.prototype.toString;var b=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)};function v(e){return!0===b(e)&&"[object Object]"===Object.prototype.toString.call(e)}var C=function(t){function r(){var e,t,o;i(this,r);for(var n=arguments.length,a=Array(n),s=0;s<n;s++)a[s]=arguments[s];return t=o=d(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(a))),o.setOuterTheme=function(e){o.outerTheme=e,void 0!==o.broadcast&&o.publishTheme()},d(o,t)}return p(r,t),s(r,[{key:"getTheme",value:function(e){var t,r,o,n=e||this.props.theme;if(g(n)){var a=n(this.outerTheme);if(!1===v(t=a)||"function"!=typeof(r=t.constructor)||!1===v(o=r.prototype)||!1===o.hasOwnProperty("isPrototypeOf"))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return a}return u({},this.outerTheme,n)}},{key:"getChildContext",value:function(){return l({},o,this.broadcast)}},{key:"publishTheme",value:function(e){this.broadcast.setState(this.getTheme(e))}},{key:"componentDidMount",value:function(){this.context[o]&&(this.subscriptionId=this.context[o].subscribe(this.setOuterTheme))}},{key:"componentWillMount",value:function(){var e,t,r,n;this.context[o]&&this.setOuterTheme(this.context[o].getState()),this.broadcast=(e=this.getTheme(this.props.theme),t={},r=1,n=e,{getState:function(){return n},setState:function(e){n=e;for(var r=Object.keys(t),o=0,a=r.length;o<a;o++)t[r[o]]&&t[r[o]](e)},subscribe:function(e){if("function"!=typeof e)throw new Error("listener must be a function.");var o=r;return t[o]=e,r+=1,o},unsubscribe:function(e){t[e]=void 0}})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.publishTheme(e.theme)}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[o].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return this.props.children?e.Children.only(this.props.children):null}}]),r}(e.Component);function k(e){var t=[],r=[];return e.toString().split(" ").forEach(function(e){if(0===e.indexOf("css-")){var o=l({},"data-"+e,"");r.push(o)}else t.push(e)}),{glamorlessClassName:t,glamorStyles:r}}function x(e){var r=e.styles,o=e.props,n=e.cssOverrides,a=e.cssProp,i=e.context,s=(e.displayName,function e(t,r,o){var n=void 0;var a=[];var i=[];for(var s=0;s<t.length;s++)if("function"==typeof(n=t[s])){var l=n(r,o);if("string"==typeof l){var u=k(l),p=u.glamorStyles,c=u.glamorlessClassName;a.push.apply(a,f(p)),i.push.apply(i,f(c))}else a.push(l)}else if("string"==typeof n){var d=k(n),h=d.glamorStyles,m=d.glamorlessClassName;a.push.apply(a,f(h)),i.push.apply(i,f(m))}else if(Array.isArray(n)){var g=e(n,r,o);a.push.apply(a,f(g.mappedArgs)),i.push.apply(i,f(g.nonGlamorClassNames))}else a.push(n);return{mappedArgs:a,nonGlamorClassNames:i}}([].concat(f(r),[o.className,n,a]),o,i)),l=s.mappedArgs,u=s.nonGlamorClassNames;return(t.css.apply(void 0,[null].concat(f(l))).toString()+" "+u.join(" ").trim()).trim()}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e:[e]}function O(e,t){return e?e.concat(t):t}function P(e){return e.rootEl?e.rootEl:e.comp||e}function T(e,t,r,o){var n,a=null==(n=o)||"number"==typeof n||"boolean"==typeof n?o:r(o),i=t.get(a);return void 0===i&&(i=e.call(this,o),t.set(a,i)),i}function S(e,t,r){var o=Array.prototype.slice.call(arguments,3),n=r(o),a=t.get(n);return void 0===a&&(a=e.apply(this,o),t.set(n,a)),a}function A(e,t,r,o,n){return r.bind(t,e,o,n)}function E(e,t){return A(e,this,1===e.length?T:S,t.cache.create(),t.serializer)}function M(){return JSON.stringify(arguments)}function j(){this.cache=Object.create(null)}C.childContextTypes=l({},o,n.object.isRequired),C.contextTypes=l({},o,n.object),j.prototype.has=function(e){return e in this.cache},j.prototype.get=function(e){return this.cache[e]},j.prototype.set=function(e,t){this.cache[e]=t};var D={create:function(){return new j}},F=function(e,t){var r=t&&t.cache?t.cache:D,o=t&&t.serializer?t.serializer:M;return(t&&t.strategy?t.strategy:E)(e,{cache:r,serializer:o})},L={variadic:function(e,t){return A(e,this,S,t.cache.create(),t.serializer)},monadic:function(e,t){return A(e,this,T,t.cache.create(),t.serializer)}};F.strategies=L;var R,N,z=["coords","download","href","name","rel","shape","target","type"],I=["title"],U=["alt","height","name","width"],G=["alt","coords","download","href","rel","shape","target","type"],_=["controls","loop","muted","preload","src"],q=["href","target"],W=["size"],B=["dir"],H=["cite"],V=["disabled","form","name","type","value"],K=["height","width"],X=["span","width"],Y=["span","width"],Z=["value"],J=["cite"],$=["open"],Q=["title"],ee=["open"],te=["height","src","type","width"],re=["disabled","form","name"],oe=["size"],ne=["accept","action","method","name","target"],ae=["name","scrolling","src"],ie=["cols","rows"],se=["profile"],le=["size","width"],ue=["manifest"],pe=["height","name","sandbox","scrolling","src","width"],ce=["alt","height","name","sizes","src","width"],de=["accept","alt","autoCapitalize","autoCorrect","autoSave","checked","defaultChecked","defaultValue","disabled","form","height","list","max","min","multiple","name","onChange","pattern","placeholder","required","results","size","src","step","title","type","value","width"],fe=["cite"],he=["challenge","disabled","form","name"],me=["form"],ge=["type","value"],ye=["color","href","integrity","media","nonce","rel","scope","sizes","target","title","type"],be=["name"],ve=["content","name"],Ce=["high","low","max","min","optimum","value"],ke=["data","form","height","name","type","width"],xe=["reversed","start","type"],we=["disabled","label"],Oe=["disabled","label","selected","value"],Pe=["form","name"],Te=["name","type","value"],Se=["width"],Ae=["max","value"],Ee=["cite"],Me=["async","defer","integrity","nonce","src","type"],je=["defaultValue","disabled","form","multiple","name","onChange","required","size","value"],De=["name"],Fe=["media","sizes","src","type"],Le=["media","nonce","title","type"],Re=["summary","width"],Ne=["headers","height","scope","width"],ze=["autoCapitalize","autoCorrect","cols","defaultValue","disabled","form","name","onChange","placeholder","required","rows","value","wrap"],Ie=["headers","height","scope","width"],Ue=["default","kind","label","src"],Ge=["type"],_e=["controls","height","loop","muted","poster","preload","src","width"],qe=["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","color","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","height","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","width","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","xmlns","xmlnsXlink","y","y1","y2","yChannelSelector","z","zoomAndPan"],We={html:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],svg:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]},Be={a:z,abbr:I,applet:U,area:G,audio:_,base:q,basefont:W,bdo:B,blockquote:H,button:V,canvas:K,col:X,colgroup:Y,data:Z,del:J,details:$,dfn:Q,dialog:ee,embed:te,fieldset:re,font:oe,form:ne,frame:ae,frameset:ie,head:se,hr:le,html:ue,iframe:pe,img:ce,input:de,ins:fe,keygen:he,label:me,li:ge,link:ye,map:be,meta:ve,meter:Ce,object:ke,ol:xe,optgroup:we,option:Oe,output:Pe,param:Te,pre:Se,progress:Ae,q:Ee,script:Me,select:je,slot:De,source:Fe,style:Le,table:Re,td:Ne,textarea:ze,th:Ie,track:Ue,ul:Ge,video:_e,svg:qe,elements:We,"*":["about","acceptCharset","accessKey","allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","charSet","classID","className","colSpan","contentEditable","contextMenu","crossOrigin","dangerouslySetInnerHTML","datatype","dateTime","dir","draggable","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hidden","hrefLang","htmlFor","httpEquiv","icon","id","inlist","inputMode","is","itemID","itemProp","itemRef","itemScope","itemType","keyParams","keyType","lang","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","prefix","property","radioGroup","readOnly","resource","role","rowSpan","scoped","seamless","security","spellCheck","srcDoc","srcLang","srcSet","style","suppressContentEditableWarning","tabIndex","title","typeof","unselectable","useMap","vocab","wmode"]},He=Object.freeze({a:z,abbr:I,applet:U,area:G,audio:_,base:q,basefont:W,bdo:B,blockquote:H,button:V,canvas:K,col:X,colgroup:Y,data:Z,del:J,details:$,dfn:Q,dialog:ee,embed:te,fieldset:re,font:oe,form:ne,frame:ae,frameset:ie,head:se,hr:le,html:ue,iframe:pe,img:ce,input:de,ins:fe,keygen:he,label:me,li:ge,link:ye,map:be,meta:ve,meter:Ce,object:ke,ol:xe,optgroup:we,option:Oe,output:Pe,param:Te,pre:Se,progress:Ae,q:Ee,script:Me,select:je,slot:De,source:Fe,style:Le,table:Re,td:Ne,textarea:ze,th:Ie,track:Ue,ul:Ge,video:_e,svg:qe,elements:We,default:Be}),Ve=He&&Be||He,Ke=(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=Ve,e.exports=Ve}(R={exports:{}},R.exports),R.exports),Xe=(N=Ke)&&N.__esModule&&Object.prototype.hasOwnProperty.call(N,"default")?N.default:N,Ye=["children","dangerouslySetInnerHTML","key","ref","autoFocus","defaultValue","valueLink","defaultChecked","checkedLink","innerHTML","suppressContentEditableWarning","onFocusIn","onFocusOut","className","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onLoad","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onCopyCapture","onCutCapture","onPasteCapture","onCompositionEndCapture","onCompositionStartCapture","onCompositionUpdateCapture","onKeyDownCapture","onKeyPressCapture","onKeyUpCapture","onFocusCapture","onBlurCapture","onChangeCapture","onInputCapture","onSubmitCapture","onClickCapture","onContextMenuCapture","onDoubleClickCapture","onDragCapture","onDragEndCapture","onDragEnterCapture","onDragExitCapture","onDragLeaveCapture","onDragOverCapture","onDragStartCapture","onDropCapture","onMouseDownCapture","onMouseEnterCapture","onMouseLeaveCapture","onMouseMoveCapture","onMouseOutCapture","onMouseOverCapture","onMouseUpCapture","onSelectCapture","onTouchCancelCapture","onTouchEndCapture","onTouchMoveCapture","onTouchStartCapture","onScrollCapture","onWheelCapture","onAbortCapture","onCanPlayCapture","onCanPlayThroughCapture","onDurationChangeCapture","onEmptiedCapture","onEncryptedCapture","onEndedCapture","onErrorCapture","onLoadedDataCapture","onLoadedMetadataCapture","onLoadStartCapture","onPauseCapture","onPlayCapture","onPlayingCapture","onProgressCapture","onRateChangeCapture","onSeekedCapture","onSeekingCapture","onStalledCapture","onSuspendCapture","onTimeUpdateCapture","onVolumeChangeCapture","onWaitingCapture","onLoadCapture","onAnimationStartCapture","onAnimationEndCapture","onAnimationIterationCapture","onTransitionEndCapture"];Ye.push("autocomplete","autofocus","class","for","onDblClick","onSearch","slot","srcset");var Ze=Xe["*"],Je=Xe.elements.svg,$e=Xe.elements.html,Qe=["color","height","width"],et=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),tt=function(e){return"svg"===e||-1===$e.indexOf(e)&&-1!==Je.indexOf(e)},rt=F(function(e,t){return"string"!=typeof e||(n=t,i=void 0,i=tt(a=e)?Xe.svg:Xe[a]||[],(-1!==Ze.indexOf(n)||-1!==i.indexOf(n)||(o=t,-1!==Ye.indexOf(o))||et(t.toLowerCase()))&&(r=t,!(-1!==Qe.indexOf(r))||tt(e)));var r,o,n,a,i});var ot,nt=(ot=function(e,t){var r=t.propsAreCssOverrides,o=t.rootEl,n=t.filterProps,a=t.forwardProps,i=e.css,s=e.innerRef,l=(e.theme,e.className,e.glam,c(e,["css","innerRef","theme","className","glam"]));void 0!==s&&-1!==a.indexOf("innerRef")&&(l.innerRef=s);var u={toForward:{},cssProp:i,cssOverrides:{}};return r||"string"==typeof o||0!==n.length?Object.keys(l).reduce(function(e,t){return-1!==n.indexOf(t)?e:(-1!==a.indexOf(t)||rt(o,t)?e.toForward[t]=l[t]:r&&(e.cssOverrides[t]=l[t]),e)},u):(u.toForward=l,u)},function t(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o.rootEl,a=o.displayName,i=o.shouldClassNameUpdate,s=o.filterProps,l=void 0===s?[]:s,p=o.forwardProps,d=void 0===p?[]:p,h=o.propsAreCssOverrides,g=void 0===h?r.propsAreCssOverrides:h,y=o.withProps;return Object.assign(v,{withConfig:b}),v;function b(e){return t(r,u({},o,e))}function v(){for(var o=arguments.length,s=Array(o),p=0;p<o;p++)s[p]=arguments[p];var h,v,C,k,T,S,A,E,M,j,D,F=m(function(t,r){var o=function(e,t,r){if(!i)return!0;var o=!0;return r&&(i(r.props,e,r.context,t)||(o=!1)),o}(t=function e(t,r,o,n){return t.forEach(function(t){return"function"==typeof t?Object.assign(r,t(Object.assign({},r,o),n)):Array.isArray(t)?Object.assign(r,e(t,r,o,n)):Object.assign(r,t)}),Object.assign(r,o)}(F.propsToApply,{},t,r),r,this.previous);i&&(this.previous={props:t,context:r});var n=ot(t,F),a=n.toForward,s=n.cssOverrides,l=n.cssProp;return this.className=o?x({styles:F.styles,props:t,cssOverrides:s,cssProp:l,context:r,displayName:F.displayName}):this.className,e.createElement(F.comp,u({ref:"innerRef"in a?void 0:t.innerRef},a,{className:this.className}))},{noWarn:!0,createElement:!1});return Object.assign(F,(v=(h={comp:r,styles:s,rootEl:n,filterProps:l,forwardProps:d,displayName:a,propsToApply:y}).comp,C=h.styles,k=h.rootEl,T=h.filterProps,S=h.forwardProps,A=h.displayName,E=h.propsToApply,M=v.comp?v.comp:v,j=v.propsToApply?[].concat(f(v.propsToApply),f(w(E))):w(E),{styles:O(v.styles,C),comp:M,rootEl:k||P(v),forwardProps:O(v.forwardProps,S),filterProps:O(v.filterProps,T),displayName:A||"glamorous("+(D=v,"string"==typeof D?D:D.displayName||D.name||"unknown")+")",propsToApply:j}),{isGlamorousComponent:!0,propsAreCssOverrides:g,withComponent:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=F.forwardProps,n=F.filterProps,a=c(F,["forwardProps","filterProps"]);return t(u({},a,{comp:e,rootEl:P(e)}),u({forwardProps:o,filterProps:n},r))()},withProps:function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return t(F,{withProps:r})()},withConfig:b}),F}});Object.assign(nt,r.reduce(function(e,t){return e[t]=nt(t),e},{})),Object.assign(nt,r.reduce(function(e,t){var r,o=(r=t).slice(0,1).toUpperCase()+r.slice(1);return e[o]=nt[t](),e[o].displayName="glamorous."+o,e[o].propsAreCssOverrides=!0,e},{})),nt.default=nt;var at=Object.freeze({default:nt,ThemeProvider:C,withTheme:m}),it=nt;return Object.assign(it,Object.keys(at).reduce(function(e,t){return"default"!==t&&(e[t]=at[t]),e},{})),it}); | ||
//# sourceMappingURL=glamorous.umd.min.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("preact"),require("glamor")):"function"==typeof define&&define.amd?define(["preact","glamor"],r):e.glamorous=r(e.preact,e.Glamor)}(this,function(e,r){"use strict";var t="__glamorous__",o=void 0;if((e=e&&e.hasOwnProperty("default")?e.default:e).PropTypes||(o=function(){return o},["array","bool","func","number","object","string","symbol","any","arrayOf","element","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact"].forEach(function(e){o[e]=o})),!e.Children){var n={map:function(e,r,t){return null==e?null:(e=n.toArray(e),t&&t!==e&&(r=r.bind(t)),e.map(r))},forEach:function(e,r,t){if(null==e)return null;e=n.toArray(e),t&&t!==e&&(r=r.bind(t)),e.forEach(r)},count:function(e){return e&&e.length||0},only:function(e){if(1!==(e=n.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:[].concat(e)}};e.Children=n}o=o||e.PropTypes;var s,a=function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")},i=function(){function e(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(r,t,o){return t&&e(r.prototype,t),o&&e(r,o),r}}(),p=function(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e},l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},c=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)},u=function(e,r){var t={};for(var o in e)r.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},f=function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r},m=function(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}return Array.from(e)};function y(e){var r=[],t=[];return e.toString().split(" ").forEach(function(e){if(0===e.indexOf("css-")){var o=p({},"data-"+e,"");t.push(o)}else r.push(e)}),{glamorlessClassName:r,glamorStyles:t}}function d(e){var t=e.styles,o=e.props,n=e.cssOverrides,s=e.cssProp,a=e.context,i=(e.displayName,function e(r,t,o){var n=void 0;var s=[];var a=[];for(var i=0;i<r.length;i++)if("function"==typeof(n=r[i])){var p=n(t,o);if("string"==typeof p){var l=y(p),c=l.glamorStyles,u=l.glamorlessClassName;s.push.apply(s,m(c)),a.push.apply(a,m(u))}else s.push(p)}else if("string"==typeof n){var f=y(n),h=f.glamorStyles,d=f.glamorlessClassName;s.push.apply(s,m(h)),a.push.apply(a,m(d))}else if(Array.isArray(n)){var v=e(n,t,o);s.push.apply(s,m(v.mappedArgs)),a.push.apply(a,m(v.nonGlamorClassNames))}else s.push(n);return{mappedArgs:s,nonGlamorClassNames:a}}([].concat(m(t),[o.className,n,s]),o,a)),p=i.mappedArgs,l=i.nonGlamorClassNames;return(r.css.apply(void 0,[null].concat(m(p))).toString()+" "+l.join(" ").trim()).trim()}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e:[e]}function g(e,r){return e?e.concat(r):r}function b(e){return e.rootEl?e.rootEl:e.comp||e}return s=function(e,r){var t=r.forwardProps,o=e.css,n=e.innerRef,s=(e.theme,e.className,e.glam,u(e,["css","innerRef","theme","className","glam"]));return void 0!==n&&-1!==t.indexOf("innerRef")&&(s.innerRef=n),{toForward:s,cssProp:o}},function r(n){var y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},O=y.rootEl,P=y.displayName,w=y.shouldClassNameUpdate,A=y.filterProps,j=void 0===A?[]:A,N=y.forwardProps,x=void 0===N?[]:N,C=y.propsAreCssOverrides,E=void 0===C?n.propsAreCssOverrides:C,T=y.withProps;return Object.assign(R,{withConfig:_}),R;function _(e){return r(n,l({},y,e))}function R(){for(var y=arguments.length,A=Array(y),N=0;N<y;N++)A[N]=arguments[N];var C,R,S,k,G,W,I,q,F,M,U,D=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=n.noWarn,u=void 0!==s&&s,m=n.createElement,y=void 0===m||m,d=function(e){function o(){var e,r,t;a(this,o);for(var n=arguments.length,s=Array(n),i=0;i<n;i++)s[i]=arguments[i];return r=t=f(this,(e=o.__proto__||Object.getPrototypeOf(o)).call.apply(e,[this].concat(s))),t.warned=u,t.state={theme:{}},t.setTheme=function(e){return t.setState({theme:e})},f(t,r)}return c(o,e),i(o,[{key:"componentWillMount",value:function(){this.context[t];var e=this.props.theme;this.context[t]?this.setTheme(e||this.context[t].getState()):this.setTheme(e||{})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.setTheme(e.theme)}},{key:"componentDidMount",value:function(){this.context[t]&&!this.props.theme&&(this.subscriptionId=this.context[t].subscribe(this.setTheme))}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[t].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return y?h(r,l({},this.props,this.state)):r.call(this,l({},this.props,this.state),this.context)}}]),o}(e.Component),v=p({},t,o.object),g=null;return Object.defineProperty(d,"contextTypes",{enumerable:!0,configurable:!0,set:function(e){g=e},get:function(){return g?l({},v,g):v}}),d}(function(r,t){var o=function(e,r,t){if(!w)return!0;var o=!0;return t&&(w(t.props,e,t.context,r)||(o=!1)),o}(r=function e(r,t,o,n){return r.forEach(function(r){return"function"==typeof r?Object.assign(t,r(Object.assign({},t,o),n)):Array.isArray(r)?Object.assign(t,e(r,t,o,n)):Object.assign(t,r)}),Object.assign(t,o)}(D.propsToApply,{},r,t),t,this.previous);w&&(this.previous={props:r,context:t});var n=s(r,D),a=n.toForward,i=n.cssOverrides,p=n.cssProp;return this.className=o?d({styles:D.styles,props:r,cssOverrides:i,cssProp:p,context:t,displayName:D.displayName}):this.className,e.createElement(D.comp,l({ref:"innerRef"in a?void 0:r.innerRef},a,{className:this.className}))},{noWarn:!0,createElement:!1});return Object.assign(D,(R=(C={comp:n,styles:A,rootEl:O,filterProps:j,forwardProps:x,displayName:P,propsToApply:T}).comp,S=C.styles,k=C.rootEl,G=C.filterProps,W=C.forwardProps,I=C.displayName,q=C.propsToApply,F=R.comp?R.comp:R,M=R.propsToApply?[].concat(m(R.propsToApply),m(v(q))):v(q),{styles:g(R.styles,S),comp:F,rootEl:k||b(R),forwardProps:g(R.forwardProps,W),filterProps:g(R.filterProps,G),displayName:I||"glamorous("+(U=R,"string"==typeof U?U:U.displayName||U.name||"unknown")+")",propsToApply:M}),{isGlamorousComponent:!0,propsAreCssOverrides:E,withComponent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=D.forwardProps,n=D.filterProps,s=u(D,["forwardProps","filterProps"]);return r(l({},s,{comp:e,rootEl:b(e)}),l({forwardProps:o,filterProps:n},t))()},withProps:function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return r(D,{withProps:t})()},withConfig:_}),D}}}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("preact"),require("glamor")):"function"==typeof define&&define.amd?define(["preact","glamor"],r):e.glamorous=r(e.preact,e.Glamor)}(this,function(e,r){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="__glamorous__",o=void 0;if(e.PropTypes||(o=function(){return o},["array","bool","func","number","object","string","symbol","any","arrayOf","element","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact"].forEach(function(e){o[e]=o})),!e.Children){var n={map:function(e,r,t){return null==e?null:(e=n.toArray(e),t&&t!==e&&(r=r.bind(t)),e.map(r))},forEach:function(e,r,t){if(null==e)return null;e=n.toArray(e),t&&t!==e&&(r=r.bind(t)),e.forEach(r)},count:function(e){return e&&e.length||0},only:function(e){if(1!==(e=n.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:[].concat(e)}};e.Children=n}o=o||e.PropTypes;var s,a=function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")},i=function(){function e(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(r,t,o){return t&&e(r.prototype,t),o&&e(r,o),r}}(),p=function(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e},l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},c=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)},u=function(e,r){var t={};for(var o in e)r.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},f=function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r},m=function(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}return Array.from(e)};function y(e){var r=[],t=[];return e.toString().split(" ").forEach(function(e){if(0===e.indexOf("css-")){var o=p({},"data-"+e,"");t.push(o)}else r.push(e)}),{glamorlessClassName:r,glamorStyles:t}}function d(e){var t=e.styles,o=e.props,n=e.cssOverrides,s=e.cssProp,a=e.context,i=(e.displayName,function e(r,t,o){var n=void 0;var s=[];var a=[];for(var i=0;i<r.length;i++)if("function"==typeof(n=r[i])){var p=n(t,o);if("string"==typeof p){var l=y(p),c=l.glamorStyles,u=l.glamorlessClassName;s.push.apply(s,m(c)),a.push.apply(a,m(u))}else s.push(p)}else if("string"==typeof n){var f=y(n),h=f.glamorStyles,d=f.glamorlessClassName;s.push.apply(s,m(h)),a.push.apply(a,m(d))}else if(Array.isArray(n)){var v=e(n,t,o);s.push.apply(s,m(v.mappedArgs)),a.push.apply(a,m(v.nonGlamorClassNames))}else s.push(n);return{mappedArgs:s,nonGlamorClassNames:a}}([].concat(m(t),[o.className,n,s]),o,a)),p=i.mappedArgs,l=i.nonGlamorClassNames;return(r.css.apply(void 0,[null].concat(m(p))).toString()+" "+l.join(" ").trim()).trim()}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e:[e]}function g(e,r){return e?e.concat(r):r}function b(e){return e.rootEl?e.rootEl:e.comp||e}return s=function(e,r){var t=r.forwardProps,o=e.css,n=e.innerRef,s=(e.theme,e.className,e.glam,u(e,["css","innerRef","theme","className","glam"]));return void 0!==n&&-1!==t.indexOf("innerRef")&&(s.innerRef=n),{toForward:s,cssProp:o}},function r(n){var y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},O=y.rootEl,P=y.displayName,w=y.shouldClassNameUpdate,A=y.filterProps,j=void 0===A?[]:A,N=y.forwardProps,x=void 0===N?[]:N,C=y.propsAreCssOverrides,E=void 0===C?n.propsAreCssOverrides:C,T=y.withProps;return Object.assign(R,{withConfig:_}),R;function _(e){return r(n,l({},y,e))}function R(){for(var y=arguments.length,A=Array(y),N=0;N<y;N++)A[N]=arguments[N];var C,R,S,k,G,W,I,q,F,M,U,D=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=n.noWarn,u=void 0!==s&&s,m=n.createElement,y=void 0===m||m,d=function(e){function o(){var e,r,t;a(this,o);for(var n=arguments.length,s=Array(n),i=0;i<n;i++)s[i]=arguments[i];return r=t=f(this,(e=o.__proto__||Object.getPrototypeOf(o)).call.apply(e,[this].concat(s))),t.warned=u,t.state={theme:{}},t.setTheme=function(e){return t.setState({theme:e})},f(t,r)}return c(o,e),i(o,[{key:"componentWillMount",value:function(){this.context[t];var e=this.props.theme;this.context[t]?this.setTheme(e||this.context[t].getState()):this.setTheme(e||{})}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.setTheme(e.theme)}},{key:"componentDidMount",value:function(){this.context[t]&&!this.props.theme&&(this.subscriptionId=this.context[t].subscribe(this.setTheme))}},{key:"componentWillUnmount",value:function(){this.subscriptionId&&this.context[t].unsubscribe(this.subscriptionId)}},{key:"render",value:function(){return y?h(r,l({},this.props,this.state)):r.call(this,l({},this.props,this.state),this.context)}}]),o}(e.Component),v=p({},t,o.object),g=null;return Object.defineProperty(d,"contextTypes",{enumerable:!0,configurable:!0,set:function(e){g=e},get:function(){return g?l({},v,g):v}}),d}(function(r,t){var o=function(e,r,t){if(!w)return!0;var o=!0;return t&&(w(t.props,e,t.context,r)||(o=!1)),o}(r=function e(r,t,o,n){return r.forEach(function(r){return"function"==typeof r?Object.assign(t,r(Object.assign({},t,o),n)):Array.isArray(r)?Object.assign(t,e(r,t,o,n)):Object.assign(t,r)}),Object.assign(t,o)}(D.propsToApply,{},r,t),t,this.previous);w&&(this.previous={props:r,context:t});var n=s(r,D),a=n.toForward,i=n.cssOverrides,p=n.cssProp;return this.className=o?d({styles:D.styles,props:r,cssOverrides:i,cssProp:p,context:t,displayName:D.displayName}):this.className,e.createElement(D.comp,l({ref:"innerRef"in a?void 0:r.innerRef},a,{className:this.className}))},{noWarn:!0,createElement:!1});return Object.assign(D,(R=(C={comp:n,styles:A,rootEl:O,filterProps:j,forwardProps:x,displayName:P,propsToApply:T}).comp,S=C.styles,k=C.rootEl,G=C.filterProps,W=C.forwardProps,I=C.displayName,q=C.propsToApply,F=R.comp?R.comp:R,M=R.propsToApply?[].concat(m(R.propsToApply),m(v(q))):v(q),{styles:g(R.styles,S),comp:F,rootEl:k||b(R),forwardProps:g(R.forwardProps,W),filterProps:g(R.filterProps,G),displayName:I||"glamorous("+(U=R,"string"==typeof U?U:U.displayName||U.name||"unknown")+")",propsToApply:M}),{isGlamorousComponent:!0,propsAreCssOverrides:E,withComponent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=D.forwardProps,n=D.filterProps,s=u(D,["forwardProps","filterProps"]);return r(l({},s,{comp:e,rootEl:b(e)}),l({forwardProps:o,filterProps:n},t))()},withProps:function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return r(D,{withProps:t})()},withConfig:_}),D}}}); | ||
//# sourceMappingURL=glamorous.umd.min.tiny.js.map |
@@ -17,3 +17,3 @@ <h1 align="center"> | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-58-orange.svg?style=flat-square)](#contributors) | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-59-orange.svg?style=flat-square)](#contributors) | ||
[![PRs Welcome][prs-badge]][prs] | ||
@@ -166,3 +166,3 @@ [![Chat][chat-badge]][chat] | ||
| [<img src="https://avatars3.githubusercontent.com/u/12473268?v=4" width="100px;"/><br /><sub><b>Junyoung Clare Jang</b></sub>](http://ailrun.github.io/)<br />[💻](https://github.com/paypal/glamorous/commits?author=Ailrun "Code") [⚠️](https://github.com/paypal/glamorous/commits?author=Ailrun "Tests") | [<img src="https://avatars2.githubusercontent.com/u/897575?v=4" width="100px;"/><br /><sub><b>Björn Ricks</b></sub>](https://twitter.com/bjoernricks)<br />[🐛](https://github.com/paypal/glamorous/issues?q=author%3Abjoernricks "Bug reports") [💻](https://github.com/paypal/glamorous/commits?author=bjoernricks "Code") [📖](https://github.com/paypal/glamorous/commits?author=bjoernricks "Documentation") [⚠️](https://github.com/paypal/glamorous/commits?author=bjoernricks "Tests") | [<img src="https://avatars0.githubusercontent.com/u/4934193?v=4" width="100px;"/><br /><sub><b>Tyler Deitz</b></sub>](http://tylerdeitz.com)<br />[💻](https://github.com/paypal/glamorous/commits?author=tvler "Code") | [<img src="https://avatars2.githubusercontent.com/u/16104985?v=4" width="100px;"/><br /><sub><b>Shovan Chatterjee</b></sub>](https://twitter.com/shovan_ch)<br />[📖](https://github.com/paypal/glamorous/commits?author=shovanch "Documentation") | [<img src="https://avatars1.githubusercontent.com/u/6839660?v=4" width="100px;"/><br /><sub><b>johnjessewood</b></sub>](https://github.com/johnjesse)<br />[💻](https://github.com/paypal/glamorous/commits?author=johnjesse "Code") | [<img src="https://avatars3.githubusercontent.com/u/856386?v=4" width="100px;"/><br /><sub><b>Daniel</b></sub>](https://www.danielberndt.net)<br />[💻](https://github.com/paypal/glamorous/commits?author=danielberndt "Code") [⚠️](https://github.com/paypal/glamorous/commits?author=danielberndt "Tests") | [<img src="https://avatars0.githubusercontent.com/u/174864?v=4" width="100px;"/><br /><sub><b>Ken Powers</b></sub>](https://knpw.rs)<br />[🤔](#ideas-knpwrs "Ideas, Planning, & Feedback") | | ||
| [<img src="https://avatars1.githubusercontent.com/u/442932?v=4" width="100px;"/><br /><sub><b>John Grishin</b></sub>](http://johngrish.in)<br />[🐛](https://github.com/paypal/glamorous/issues?q=author%3Aexah "Bug reports") [💻](https://github.com/paypal/glamorous/commits?author=exah "Code") [⚠️](https://github.com/paypal/glamorous/commits?author=exah "Tests") | [<img src="https://avatars3.githubusercontent.com/u/200528?v=4" width="100px;"/><br /><sub><b>Mordy Tikotzky</b></sub>](https://github.com/tikotzky)<br />[🐛](https://github.com/paypal/glamorous/issues?q=author%3Atikotzky "Bug reports") [💻](https://github.com/paypal/glamorous/commits?author=tikotzky "Code") | | ||
| [<img src="https://avatars1.githubusercontent.com/u/442932?v=4" width="100px;"/><br /><sub><b>John Grishin</b></sub>](http://johngrish.in)<br />[🐛](https://github.com/paypal/glamorous/issues?q=author%3Aexah "Bug reports") [💻](https://github.com/paypal/glamorous/commits?author=exah "Code") [⚠️](https://github.com/paypal/glamorous/commits?author=exah "Tests") | [<img src="https://avatars3.githubusercontent.com/u/200528?v=4" width="100px;"/><br /><sub><b>Mordy Tikotzky</b></sub>](https://github.com/tikotzky)<br />[🐛](https://github.com/paypal/glamorous/issues?q=author%3Atikotzky "Bug reports") [💻](https://github.com/paypal/glamorous/commits?author=tikotzky "Code") | [<img src="https://avatars3.githubusercontent.com/u/1027024?v=4" width="100px;"/><br /><sub><b>Alasdair McLeay</b></sub>](https://github.com/penx)<br />[💡](#example-penx "Examples") | | ||
@@ -169,0 +169,0 @@ <!-- ALL-CONTRIBUTORS-LIST:END --> |
import {ExtraGlamorousProps} from './glamorous-component' | ||
import {CSSProperties} from './css-properties' | ||
import { | ||
CSSPropertiesCompleteSingle, | ||
CSSPropertiesPseudo, | ||
} from './css-properties' | ||
import {SVGPropertiesCompleteSingle} from './svg-properties' | ||
@@ -18,54 +22,106 @@ // The file `./named-built-in-glamorous-components.d.ts` is based off this file | ||
A: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLAnchorElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLAnchorElement> | ||
> | ||
Abbr: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Address: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Area: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLAreaElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLAreaElement> | ||
> | ||
Article: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Aside: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Audio: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLAudioElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLAudioElement> | ||
> | ||
B: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Base: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLBaseElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLBaseElement> | ||
> | ||
Bdi: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Bdo: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Big: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Blockquote: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLQuoteElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLQuoteElement> | ||
> | ||
Body: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLBodyElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLBodyElement> | ||
> | ||
Br: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLBRElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLBRElement> | ||
> | ||
Button: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLButtonElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLButtonElement> | ||
> | ||
Canvas: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLCanvasElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLCanvasElement> | ||
> | ||
Caption: React.StatelessComponent< | ||
CSSProperties & | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
@@ -75,247 +131,488 @@ React.HTMLProps<HTMLTableCaptionElement> | ||
Cite: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Code: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Col: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableColElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableColElement> | ||
> | ||
Colgroup: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableColElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableColElement> | ||
> | ||
Data: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLDataElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLDataElement> | ||
> | ||
Datalist: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLDataListElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLDataListElement> | ||
> | ||
Dd: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Del: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLModElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLModElement> | ||
> | ||
// TypeScript doesn't have HTMLDetailsElement | ||
Details: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Dfn: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
// TypeScript doesn't have HTMLDialogElement | ||
Dialog: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Div: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLDivElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLDivElement> | ||
> | ||
Dl: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLDListElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLDListElement> | ||
> | ||
Dt: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Em: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Embed: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLEmbedElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLEmbedElement> | ||
> | ||
Fieldset: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLFieldSetElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLFieldSetElement> | ||
> | ||
Figcaption: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Figure: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Footer: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Form: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLFormElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLFormElement> | ||
> | ||
H1: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
H2: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
H3: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
H4: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
H5: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
H6: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
Head: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadElement> | ||
> | ||
Header: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Hgroup: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Hr: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHRElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHRElement> | ||
> | ||
Html: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHtmlElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHtmlElement> | ||
> | ||
I: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Iframe: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLIFrameElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLIFrameElement> | ||
> | ||
Img: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLImageElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLImageElement> | ||
> | ||
Input: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLInputElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLInputElement> | ||
> | ||
Ins: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLModElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLModElement> | ||
> | ||
Kbd: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
// TypeScript doesn't have HTMLKeygenElement | ||
Keygen: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Label: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLLabelElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLLabelElement> | ||
> | ||
Legend: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLLegendElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLLegendElement> | ||
> | ||
Li: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLLIElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLLIElement> | ||
> | ||
Link: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLLinkElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLLinkElement> | ||
> | ||
Main: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Map: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLMapElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLMapElement> | ||
> | ||
Mark: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Menu: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLMenuElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLMenuElement> | ||
> | ||
// TypeScript doesn't have HTMLMenuItemElement | ||
Menuitem: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Meta: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLMetaElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLMetaElement> | ||
> | ||
Meter: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLMeterElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLMeterElement> | ||
> | ||
Nav: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Noscript: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Object: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLObjectElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLObjectElement> | ||
> | ||
Ol: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLOListElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLOListElement> | ||
> | ||
Optgroup: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLOptGroupElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLOptGroupElement> | ||
> | ||
Option: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLOptionElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLOptionElement> | ||
> | ||
Output: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLOutputElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLOutputElement> | ||
> | ||
P: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLParagraphElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLParagraphElement> | ||
> | ||
Param: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLParamElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLParamElement> | ||
> | ||
Picture: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLPictureElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLPictureElement> | ||
> | ||
Pre: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLPreElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLPreElement> | ||
> | ||
Progress: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLProgressElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLProgressElement> | ||
> | ||
Q: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLQuoteElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLQuoteElement> | ||
> | ||
Rp: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Rt: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Ruby: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
S: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Samp: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Script: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLScriptElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLScriptElement> | ||
> | ||
Section: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Select: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLSelectElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLSelectElement> | ||
> | ||
Small: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Source: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLSourceElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLSourceElement> | ||
> | ||
Span: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLSpanElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLSpanElement> | ||
> | ||
Strong: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Style: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLStyleElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLStyleElement> | ||
> | ||
Sub: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Summary: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Sup: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Table: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableElement> | ||
> | ||
Tbody: React.StatelessComponent< | ||
CSSProperties & | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
@@ -325,3 +622,4 @@ React.HTMLProps<HTMLTableSectionElement> | ||
Td: React.StatelessComponent< | ||
CSSProperties & | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
@@ -331,6 +629,10 @@ React.HTMLProps<HTMLTableDataCellElement> | ||
Textarea: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTextAreaElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTextAreaElement> | ||
> | ||
Tfoot: React.StatelessComponent< | ||
CSSProperties & | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
@@ -340,3 +642,4 @@ React.HTMLProps<HTMLTableSectionElement> | ||
Th: React.StatelessComponent< | ||
CSSProperties & | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
@@ -346,3 +649,4 @@ React.HTMLProps<HTMLTableHeaderCellElement> | ||
Thead: React.StatelessComponent< | ||
CSSProperties & | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
@@ -352,27 +656,54 @@ React.HTMLProps<HTMLTableSectionElement> | ||
Time: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTimeElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTimeElement> | ||
> | ||
Title: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTitleElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTitleElement> | ||
> | ||
Tr: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableRowElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableRowElement> | ||
> | ||
Track: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTrackElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTrackElement> | ||
> | ||
U: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Ul: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLUListElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLUListElement> | ||
> | ||
Var: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
Video: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLVideoElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLVideoElement> | ||
> | ||
Wbr: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
@@ -383,6 +714,8 @@ } | ||
Circle: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGCircleElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGCircleElement> | ||
> | ||
ClipPath: React.StatelessComponent< | ||
CSSProperties & | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
@@ -392,18 +725,28 @@ React.SVGAttributes<SVGClipPathElement> | ||
Defs: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGDefsElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGDefsElement> | ||
> | ||
Ellipse: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGEllipseElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGEllipseElement> | ||
> | ||
G: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGGElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGGElement> | ||
> | ||
Image: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGImageElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGImageElement> | ||
> | ||
Line: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGLineElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGLineElement> | ||
> | ||
LinearGradient: React.StatelessComponent< | ||
CSSProperties & | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
@@ -413,15 +756,23 @@ React.SVGAttributes<SVGLinearGradientElement> | ||
Mask: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGMaskElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGMaskElement> | ||
> | ||
Path: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGPathElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGPathElement> | ||
> | ||
Pattern: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGPatternElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGPatternElement> | ||
> | ||
Polygon: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGPolygonElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGPolygonElement> | ||
> | ||
Polyline: React.StatelessComponent< | ||
CSSProperties & | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
@@ -431,3 +782,3 @@ React.SVGAttributes<SVGPolylineElement> | ||
RadialGradient: React.StatelessComponent< | ||
CSSProperties & | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
@@ -437,16 +788,26 @@ React.SVGAttributes<SVGRadialGradientElement> | ||
Rect: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGRectElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGRectElement> | ||
> | ||
Stop: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGStopElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGStopElement> | ||
> | ||
Svg: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGSVGElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGSVGElement> | ||
> | ||
Text: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGTextElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGTextElement> | ||
> | ||
Tspan: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGTSpanElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGTSpanElement> | ||
> | ||
} |
import * as React from 'react' | ||
import {ExtraGlamorousProps} from './glamorous-component' | ||
import {CSSProperties} from './css-properties' | ||
import { | ||
CSSPropertiesCompleteSingle, | ||
CSSPropertiesPseudo, | ||
} from './css-properties' | ||
import {SVGPropertiesCompleteSingle} from './svg-properties' | ||
// This file is based off `./built-in-glamorous-components.d.ts` | ||
// CSS tags | ||
export const A: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLAnchorElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLAnchorElement> | ||
> | ||
export const Abbr: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Address: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Area: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLAreaElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLAreaElement> | ||
> | ||
export const Article: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Aside: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Audio: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLAudioElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLAudioElement> | ||
> | ||
export const B: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Base: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLBaseElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLBaseElement> | ||
> | ||
export const Bdi: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Bdo: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Big: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Blockquote: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLQuoteElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLQuoteElement> | ||
> | ||
export const Body: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLBodyElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLBodyElement> | ||
> | ||
export const Br: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLBRElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLBRElement> | ||
> | ||
export const Button: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLButtonElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLButtonElement> | ||
> | ||
export const Canvas: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLCanvasElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLCanvasElement> | ||
> | ||
export const Caption: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableCaptionElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableCaptionElement> | ||
> | ||
export const Cite: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Code: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Col: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableColElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableColElement> | ||
> | ||
export const Colgroup: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableColElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableColElement> | ||
> | ||
export const Data: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLDataElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLDataElement> | ||
> | ||
export const Datalist: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLDataListElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLDataListElement> | ||
> | ||
export const Dd: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Del: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLModElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLModElement> | ||
> | ||
export const Details: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Dfn: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Dialog: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Div: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLDivElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLDivElement> | ||
> | ||
export const Dl: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLDListElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLDListElement> | ||
> | ||
export const Dt: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Em: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Embed: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLEmbedElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLEmbedElement> | ||
> | ||
export const Fieldset: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLFieldSetElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLFieldSetElement> | ||
> | ||
export const Figcaption: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Figure: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Footer: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Form: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLFormElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLFormElement> | ||
> | ||
export const H1: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
export const H2: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
export const H3: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
export const H4: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
export const H5: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
export const H6: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadingElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadingElement> | ||
> | ||
export const Head: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHeadElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHeadElement> | ||
> | ||
export const Header: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Hgroup: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Hr: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHRElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHRElement> | ||
> | ||
export const Html: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLHtmlElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLHtmlElement> | ||
> | ||
export const I: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Iframe: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLIFrameElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLIFrameElement> | ||
> | ||
export const Img: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLImageElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLImageElement> | ||
> | ||
export const Input: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLInputElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLInputElement> | ||
> | ||
export const Ins: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLModElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLModElement> | ||
> | ||
export const Kbd: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Keygen: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Label: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLLabelElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLLabelElement> | ||
> | ||
export const Legend: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLLegendElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLLegendElement> | ||
> | ||
export const Li: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLLIElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLLIElement> | ||
> | ||
export const Link: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLLinkElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLLinkElement> | ||
> | ||
export const Main: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Map: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLMapElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLMapElement> | ||
> | ||
export const Mark: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Menu: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLMenuElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLMenuElement> | ||
> | ||
export const Menuitem: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Meta: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLMetaElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLMetaElement> | ||
> | ||
export const Meter: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLMeterElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLMeterElement> | ||
> | ||
export const Nav: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Noscript: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Object: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLObjectElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLObjectElement> | ||
> | ||
export const Ol: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLOListElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLOListElement> | ||
> | ||
export const Optgroup: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLOptGroupElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLOptGroupElement> | ||
> | ||
export const Option: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLOptionElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLOptionElement> | ||
> | ||
export const Output: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLOutputElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLOutputElement> | ||
> | ||
export const P: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLParagraphElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLParagraphElement> | ||
> | ||
export const Param: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLParamElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLParamElement> | ||
> | ||
export const Picture: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLPictureElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLPictureElement> | ||
> | ||
export const Pre: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLPreElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLPreElement> | ||
> | ||
export const Progress: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLProgressElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLProgressElement> | ||
> | ||
export const Q: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLQuoteElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLQuoteElement> | ||
> | ||
export const Rp: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Rt: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Ruby: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const S: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Samp: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Script: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLScriptElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLScriptElement> | ||
> | ||
export const Section: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Select: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLSelectElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLSelectElement> | ||
> | ||
export const Small: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Source: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLSourceElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLSourceElement> | ||
> | ||
export const Span: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLSpanElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLSpanElement> | ||
> | ||
export const Strong: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Style: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLStyleElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLStyleElement> | ||
> | ||
export const Sub: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Summary: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Sup: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Table: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableElement> | ||
> | ||
export const Tbody: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableSectionElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableSectionElement> | ||
> | ||
export const Td: React.StatelessComponent< | ||
CSSProperties & | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
@@ -310,9 +614,16 @@ React.HTMLProps<HTMLTableDataCellElement> | ||
export const Textarea: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTextAreaElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTextAreaElement> | ||
> | ||
export const Tfoot: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableSectionElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableSectionElement> | ||
> | ||
export const Th: React.StatelessComponent< | ||
CSSProperties & | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
@@ -322,54 +633,101 @@ React.HTMLProps<HTMLTableHeaderCellElement> | ||
export const Thead: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableSectionElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableSectionElement> | ||
> | ||
export const Time: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTimeElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTimeElement> | ||
> | ||
export const Title: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTitleElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTitleElement> | ||
> | ||
export const Tr: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTableRowElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTableRowElement> | ||
> | ||
export const Track: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLTrackElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLTrackElement> | ||
> | ||
export const U: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Ul: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLUListElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLUListElement> | ||
> | ||
export const Var: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
export const Video: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLVideoElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLVideoElement> | ||
> | ||
export const Wbr: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.HTMLProps<HTMLElement> | ||
CSSPropertiesCompleteSingle & | ||
CSSPropertiesPseudo & | ||
ExtraGlamorousProps & | ||
React.HTMLProps<HTMLElement> | ||
> | ||
// SVG tags | ||
export const Circle: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGCircleElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGCircleElement> | ||
> | ||
export const ClipPath: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGClipPathElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGClipPathElement> | ||
> | ||
export const Defs: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGDefsElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGDefsElement> | ||
> | ||
export const Ellipse: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGEllipseElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGEllipseElement> | ||
> | ||
export const G: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGGElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGGElement> | ||
> | ||
export const Image: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGImageElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGImageElement> | ||
> | ||
export const Line: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGLineElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGLineElement> | ||
> | ||
export const LinearGradient: React.StatelessComponent< | ||
CSSProperties & | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
@@ -379,18 +737,28 @@ React.SVGAttributes<SVGLinearGradientElement> | ||
export const Mask: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGMaskElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGMaskElement> | ||
> | ||
export const Path: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGPathElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGPathElement> | ||
> | ||
export const Pattern: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGPatternElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGPatternElement> | ||
> | ||
export const Polygon: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGPolygonElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGPolygonElement> | ||
> | ||
export const Polyline: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGPolylineElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGPolylineElement> | ||
> | ||
export const RadialGradient: React.StatelessComponent< | ||
CSSProperties & | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
@@ -400,15 +768,25 @@ React.SVGAttributes<SVGRadialGradientElement> | ||
export const Rect: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGRectElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGRectElement> | ||
> | ||
export const Stop: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGStopElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGStopElement> | ||
> | ||
export const Svg: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGSVGElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGSVGElement> | ||
> | ||
export const Text: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGTextElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGTextElement> | ||
> | ||
export const Tspan: React.StatelessComponent< | ||
CSSProperties & ExtraGlamorousProps & React.SVGAttributes<SVGTSpanElement> | ||
SVGPropertiesCompleteSingle & | ||
ExtraGlamorousProps & | ||
React.SVGAttributes<SVGTSpanElement> | ||
> |
@@ -320,3 +320,2 @@ import {SingleOrArray} from './helpers' | ||
| SVGPropertiesLossy | ||
| React.ReactChild | ||
} | ||
@@ -323,0 +322,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1059864
17562