New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@bedrock-layout/grid

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrock-layout/grid - npm Package Compare versions

Comparing version

to
1.0.2

@@ -1,2 +0,2 @@

var e,n=(e=require("styled-components"))&&"object"==typeof e&&"default"in e?e.default:e,r=require("@bedrock-layout/spacing-constants");function t(e,n){return e(n={exports:{}},n.exports),n.exports}var o="function"==typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,f=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,l=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,y=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,b=o?Symbol.for("react.suspense_list"):60120,v=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,h=o?Symbol.for("react.block"):60121,O=o?Symbol.for("react.fundamental"):60117,S=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case a:switch(e=e.type){case p:case y:case c:case f:case u:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case v:case s:return e;default:return n}}case i:return n}}}function x(e){return E(e)===y}var j={AsyncMode:p,ConcurrentMode:y,ContextConsumer:l,ContextProvider:s,Element:a,ForwardRef:d,Fragment:c,Lazy:g,Memo:v,Portal:i,Profiler:f,StrictMode:u,Suspense:m,isAsyncMode:function(e){return x(e)||E(e)===p},isConcurrentMode:x,isContextConsumer:function(e){return E(e)===l},isContextProvider:function(e){return E(e)===s},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},isForwardRef:function(e){return E(e)===d},isFragment:function(e){return E(e)===c},isLazy:function(e){return E(e)===g},isMemo:function(e){return E(e)===v},isPortal:function(e){return E(e)===i},isProfiler:function(e){return E(e)===f},isStrictMode:function(e){return E(e)===u},isSuspense:function(e){return E(e)===m},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===c||e===y||e===f||e===u||e===m||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===O||e.$$typeof===S||e.$$typeof===w||e.$$typeof===h)},typeOf:E},$=t(function(e,n){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:var y=e.type;switch(y){case f:case s:case o:case i:case a:case p:return y;default:var b=y&&y.$$typeof;switch(b){case u:case l:case m:case d:case c:return b;default:return n}}case t:return n}}}var S=s,w=u,E=c,x=r,j=l,$=o,P=m,I=d,T=t,_=i,N=a,k=p,C=!1;function R(e){return O(e)===s}n.AsyncMode=f,n.ConcurrentMode=S,n.ContextConsumer=w,n.ContextProvider=E,n.Element=x,n.ForwardRef=j,n.Fragment=$,n.Lazy=P,n.Memo=I,n.Portal=T,n.Profiler=_,n.StrictMode=N,n.Suspense=k,n.isAsyncMode=function(e){return C||(C=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||O(e)===f},n.isConcurrentMode=R,n.isContextConsumer=function(e){return O(e)===u},n.isContextProvider=function(e){return O(e)===c},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return O(e)===l},n.isFragment=function(e){return O(e)===o},n.isLazy=function(e){return O(e)===m},n.isMemo=function(e){return O(e)===d},n.isPortal=function(e){return O(e)===t},n.isProfiler=function(e){return O(e)===i},n.isStrictMode=function(e){return O(e)===a},n.isSuspense=function(e){return O(e)===p},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===i||e===a||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===c||e.$$typeof===u||e.$$typeof===l||e.$$typeof===v||e.$$typeof===g||e.$$typeof===h||e.$$typeof===b)},n.typeOf=O}()}),P=t(function(e){e.exports="production"===process.env.NODE_ENV?j:$}),I=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,N=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},r=0;r<10;r++)n["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(e){return n[e]}).join(""))return!1;var t={};return"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},t)).join("")}catch(e){return!1}}()?Object.assign:function(e,n){for(var r,t,o=arguments,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var c in r=Object(o[i]))T.call(r,c)&&(a[c]=r[c]);if(I){t=I(r);for(var u=0;u<t.length;u++)_.call(r,t[u])&&(a[t[u]]=r[t[u]])}}return a},k="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",C=function(){};if("production"!==process.env.NODE_ENV){var R=k,A={},M=Function.call.bind(Object.prototype.hasOwnProperty);C=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function V(e,n,r,t,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(M(e,a)){var i;try{if("function"!=typeof e[a]){var c=Error((t||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw c.name="Invariant Violation",c}i=e[a](n,a,t,r,null,R)}catch(e){i=e}if(!i||i instanceof Error||C((t||"React class")+": type specification of "+r+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in A)){A[i.message]=!0;var u=o?o():"";C("Failed "+r+" type: "+i.message+(null!=u?u:""))}}}V.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(A={})};var W=V,D=Function.call.bind(Object.prototype.hasOwnProperty),F=function(){};function z(){return null}function q(){}function L(){}"production"!==process.env.NODE_ENV&&(F=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),L.resetWarningCache=q;var U=t(function(e){e.exports="production"!==process.env.NODE_ENV?function(e,n){var r="function"==typeof Symbol&&Symbol.iterator,t="@@iterator",o="<<anonymous>>",a={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:c(z),arrayOf:function(e){return c(function(n,r,t,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+t+"` has invalid PropType notation inside arrayOf.");var c=n[r];if(!Array.isArray(c))return new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+t+"`, expected an array.");for(var u=0;u<c.length;u++){var f=e(c,u,t,o,a+"["+u+"]",k);if(f instanceof Error)return f}return null})},element:c(function(n,r,t,o,a){var c=n[r];return e(c)?null:new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+t+"`, expected a single ReactElement.")}),elementType:c(function(e,n,r,t,o){var a=e[n];return P.isValidElementType(a)?null:new i("Invalid "+t+" `"+o+"` of type `"+s(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return c(function(n,r,t,a,c){var u;return n[r]instanceof e?null:new i("Invalid "+a+" `"+c+"` of type `"+((u=n[r]).constructor&&u.constructor.name?u.constructor.name:o)+"` supplied to `"+t+"`, expected instance of `"+(e.name||o)+"`.")})},node:c(function(e,n,r,t,o){return f(e[n])?null:new i("Invalid "+t+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")}),objectOf:function(e){return c(function(n,r,t,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+t+"` has invalid PropType notation inside objectOf.");var c=n[r],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected an object.");for(var f in c)if(D(c,f)){var l=e(c,f,t,o,a+"."+f,k);if(l instanceof Error)return l}return null})},oneOf:function(e){return Array.isArray(e)?c(function(n,r,t,o,a){for(var c=n[r],u=0;u<e.length;u++)if((f=c)===(s=e[u])?0!==f||1/f==1/s:f!=f&&s!=s)return null;var f,s,p=JSON.stringify(e,function(e,n){return"symbol"===l(n)?String(n):n});return new i("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+t+"`, expected one of "+p+".")}):("production"!==process.env.NODE_ENV&&F(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),z)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&F("Invalid argument supplied to oneOfType, expected an instance of array."),z;for(var n=0;n<e.length;n++){var r=e[n];if("function"!=typeof r)return F("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+p(r)+" at index "+n+"."),z}return c(function(n,r,t,o,a){for(var c=0;c<e.length;c++)if(null==(0,e[c])(n,r,t,o,a,k))return null;return new i("Invalid "+o+" `"+a+"` supplied to `"+t+"`.")})},shape:function(e){return c(function(n,r,t,o,a){var c=n[r],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected `object`.");for(var f in e){var l=e[f];if(l){var p=l(c,f,t,o,a+"."+f,k);if(p)return p}}return null})},exact:function(e){return c(function(n,r,t,o,a){var c=n[r],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected `object`.");var f=N({},n[r],e);for(var l in f){var p=e[l];if(!p)return new i("Invalid "+o+" `"+a+"` key `"+l+"` supplied to `"+t+"`.\nBad object: "+JSON.stringify(n[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=p(c,l,t,o,a+"."+l,k);if(y)return y}return null})}};function i(e){this.message=e,this.stack=""}function c(e){if("production"!==process.env.NODE_ENV)var r={},t=0;function a(a,c,u,f,s,l,p){if(f=f||o,l=l||u,p!==k){if(n){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var d=f+":"+u;!r[d]&&t<3&&(F("You are manually calling a React.PropTypes validation function for the `"+l+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[d]=!0,t++)}}return null==c[u]?a?new i(null===c[u]?"The "+s+" `"+l+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+s+" `"+l+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,u,f,s,l)}var c=a.bind(null,!1);return c.isRequired=a.bind(null,!0),c}function u(e){return c(function(n,r,t,o,a,c){var u=n[r];return s(u)!==e?new i("Invalid "+o+" `"+a+"` of type `"+l(u)+"` supplied to `"+t+"`, expected `"+e+"`."):null})}function f(n){switch(typeof n){case"number":case"string":case"undefined":return!0;case"boolean":return!n;case"object":if(Array.isArray(n))return n.every(f);if(null===n||e(n))return!0;var o=function(e){var o=n&&(r&&n[r]||n[t]);if("function"==typeof o)return o}();if(!o)return!1;var a,i=o.call(n);if(o!==n.entries){for(;!(a=i.next()).done;)if(!f(a.value))return!1}else for(;!(a=i.next()).done;){var c=a.value;if(c&&!f(c[1]))return!1}return!0;default:return!1}}function s(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function l(e){if(null==e)return""+e;var n=s(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function p(e){var n=l(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return i.prototype=Error.prototype,a.checkPropTypes=W,a.resetWarningCache=W.resetWarningCache,a.PropTypes=a,a}(P.isElement,!0):function(){function e(e,n,r,t,o,a){if(a!==k){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function n(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:L,resetWarningCache:q};return r.PropTypes=r,r}()}),Y=Object.freeze(["\n box-sizing: border-box;\n\n --gutter: ",";\n\n --minItemWidth: ",";\n\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(var(--minItemWidth), 1fr));\n grid-gap: var(--gutter);\n\n @supports (width: min(var(--minItemWidth), 100%)) {\n grid-template-columns: repeat(\n auto-fit,\n minmax(min(var(--minItemWidth), 100%), 1fr)\n );\n }\n\n @supports not (grid-gap: var(--gutter)) {\n display: flex;\n flex-flow: column;\n\n > * + * {\n margin-top: ",";\n }\n }\n"]),J=function(e){return void 0===e&&(e={}),Object.assign({},r.spacing,e)},B=n.div(Y,function(e){var n=e.gutter,r=e.theme.spacing;return void 0===r&&(r={}),n&&J(r)[n]?J(r)[n]:J(r).md},function(e){return"number"==typeof e.minItemWidth?e.minItemWidth+"px":(n=e.theme.breakPoints,void 0===n&&(n={}),Object.assign({},r.breakPoints,n)).smallOnly;var n},function(e){var n=e.gutter,r=e.theme.spacing;return void 0===r&&(r={}),n&&J(r)[n]?J(r)[n]:J(r).md});B.displayName="Grid",B.propTypes={gutter:U.oneOf(Object.keys(r.spacing)),minItemWidth:U.number},B.defaultProps={gutter:"md",minItemWidth:1},module.exports=B;
var e,r=(e=require("styled-components"))&&"object"==typeof e&&"default"in e?e.default:e,n=require("@bedrock-layout/spacing-constants");function t(e,r){return e(r={exports:{}},r.exports),r.exports}var o="function"==typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,f=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,l=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,y=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,b=o?Symbol.for("react.suspense_list"):60120,v=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,h=o?Symbol.for("react.block"):60121,O=o?Symbol.for("react.fundamental"):60117,S=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case a:switch(e=e.type){case p:case y:case c:case f:case u:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case v:case s:return e;default:return r}}case i:return r}}}function x(e){return E(e)===y}var j={AsyncMode:p,ConcurrentMode:y,ContextConsumer:l,ContextProvider:s,Element:a,ForwardRef:d,Fragment:c,Lazy:g,Memo:v,Portal:i,Profiler:f,StrictMode:u,Suspense:m,isAsyncMode:function(e){return x(e)||E(e)===p},isConcurrentMode:x,isContextConsumer:function(e){return E(e)===l},isContextProvider:function(e){return E(e)===s},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},isForwardRef:function(e){return E(e)===d},isFragment:function(e){return E(e)===c},isLazy:function(e){return E(e)===g},isMemo:function(e){return E(e)===v},isPortal:function(e){return E(e)===i},isProfiler:function(e){return E(e)===f},isStrictMode:function(e){return E(e)===u},isSuspense:function(e){return E(e)===m},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===c||e===y||e===f||e===u||e===m||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===O||e.$$typeof===S||e.$$typeof===w||e.$$typeof===h)},typeOf:E},$=t(function(e,r){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:var y=e.type;switch(y){case f:case s:case o:case i:case a:case p:return y;default:var b=y&&y.$$typeof;switch(b){case u:case l:case m:case d:case c:return b;default:return r}}case t:return r}}}var S=s,w=u,E=c,x=n,j=l,$=o,P=m,I=d,T=t,_=i,N=a,k=p,C=!1;function R(e){return O(e)===s}r.AsyncMode=f,r.ConcurrentMode=S,r.ContextConsumer=w,r.ContextProvider=E,r.Element=x,r.ForwardRef=j,r.Fragment=$,r.Lazy=P,r.Memo=I,r.Portal=T,r.Profiler=_,r.StrictMode=N,r.Suspense=k,r.isAsyncMode=function(e){return C||(C=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||O(e)===f},r.isConcurrentMode=R,r.isContextConsumer=function(e){return O(e)===u},r.isContextProvider=function(e){return O(e)===c},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return O(e)===l},r.isFragment=function(e){return O(e)===o},r.isLazy=function(e){return O(e)===m},r.isMemo=function(e){return O(e)===d},r.isPortal=function(e){return O(e)===t},r.isProfiler=function(e){return O(e)===i},r.isStrictMode=function(e){return O(e)===a},r.isSuspense=function(e){return O(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===i||e===a||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===c||e.$$typeof===u||e.$$typeof===l||e.$$typeof===v||e.$$typeof===g||e.$$typeof===h||e.$$typeof===b)},r.typeOf=O}()}),P=t(function(e){e.exports="production"===process.env.NODE_ENV?j:$}),I=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,N=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(r).map(function(e){return r[e]}).join(""))return!1;var t={};return"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},t)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var n,t,o=arguments,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var c in n=Object(o[i]))T.call(n,c)&&(a[c]=n[c]);if(I){t=I(n);for(var u=0;u<t.length;u++)_.call(n,t[u])&&(a[t[u]]=n[t[u]])}}return a},k="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",C=function(){};if("production"!==process.env.NODE_ENV){var R=k,A={},M=Function.call.bind(Object.prototype.hasOwnProperty);C=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}}function V(e,r,n,t,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(M(e,a)){var i;try{if("function"!=typeof e[a]){var c=Error((t||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw c.name="Invariant Violation",c}i=e[a](r,a,t,n,null,R)}catch(e){i=e}if(!i||i instanceof Error||C((t||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in A)){A[i.message]=!0;var u=o?o():"";C("Failed "+n+" type: "+i.message+(null!=u?u:""))}}}V.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(A={})};var W=V,D=Function.call.bind(Object.prototype.hasOwnProperty),F=function(){};function z(){return null}function q(){}function L(){}"production"!==process.env.NODE_ENV&&(F=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}),L.resetWarningCache=q;var U=t(function(e){e.exports="production"!==process.env.NODE_ENV?function(e,r){var n="function"==typeof Symbol&&Symbol.iterator,t="@@iterator",o="<<anonymous>>",a={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:c(z),arrayOf:function(e){return c(function(r,n,t,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+t+"` has invalid PropType notation inside arrayOf.");var c=r[n];if(!Array.isArray(c))return new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+t+"`, expected an array.");for(var u=0;u<c.length;u++){var f=e(c,u,t,o,a+"["+u+"]",k);if(f instanceof Error)return f}return null})},element:c(function(r,n,t,o,a){var c=r[n];return e(c)?null:new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+t+"`, expected a single ReactElement.")}),elementType:c(function(e,r,n,t,o){var a=e[r];return P.isValidElementType(a)?null:new i("Invalid "+t+" `"+o+"` of type `"+s(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return c(function(r,n,t,a,c){var u;return r[n]instanceof e?null:new i("Invalid "+a+" `"+c+"` of type `"+((u=r[n]).constructor&&u.constructor.name?u.constructor.name:o)+"` supplied to `"+t+"`, expected instance of `"+(e.name||o)+"`.")})},node:c(function(e,r,n,t,o){return f(e[r])?null:new i("Invalid "+t+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return c(function(r,n,t,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+t+"` has invalid PropType notation inside objectOf.");var c=r[n],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected an object.");for(var f in c)if(D(c,f)){var l=e(c,f,t,o,a+"."+f,k);if(l instanceof Error)return l}return null})},oneOf:function(e){return Array.isArray(e)?c(function(r,n,t,o,a){for(var c=r[n],u=0;u<e.length;u++)if((f=c)===(s=e[u])?0!==f||1/f==1/s:f!=f&&s!=s)return null;var f,s,p=JSON.stringify(e,function(e,r){return"symbol"===l(r)?String(r):r});return new i("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+t+"`, expected one of "+p+".")}):("production"!==process.env.NODE_ENV&&F(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),z)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&F("Invalid argument supplied to oneOfType, expected an instance of array."),z;for(var r=0;r<e.length;r++){var n=e[r];if("function"!=typeof n)return F("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+p(n)+" at index "+r+"."),z}return c(function(r,n,t,o,a){for(var c=0;c<e.length;c++)if(null==(0,e[c])(r,n,t,o,a,k))return null;return new i("Invalid "+o+" `"+a+"` supplied to `"+t+"`.")})},shape:function(e){return c(function(r,n,t,o,a){var c=r[n],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected `object`.");for(var f in e){var l=e[f];if(l){var p=l(c,f,t,o,a+"."+f,k);if(p)return p}}return null})},exact:function(e){return c(function(r,n,t,o,a){var c=r[n],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected `object`.");var f=N({},r[n],e);for(var l in f){var p=e[l];if(!p)return new i("Invalid "+o+" `"+a+"` key `"+l+"` supplied to `"+t+"`.\nBad object: "+JSON.stringify(r[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=p(c,l,t,o,a+"."+l,k);if(y)return y}return null})}};function i(e){this.message=e,this.stack=""}function c(e){if("production"!==process.env.NODE_ENV)var n={},t=0;function a(a,c,u,f,s,l,p){if(f=f||o,l=l||u,p!==k){if(r){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var d=f+":"+u;!n[d]&&t<3&&(F("You are manually calling a React.PropTypes validation function for the `"+l+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[d]=!0,t++)}}return null==c[u]?a?new i(null===c[u]?"The "+s+" `"+l+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+s+" `"+l+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,u,f,s,l)}var c=a.bind(null,!1);return c.isRequired=a.bind(null,!0),c}function u(e){return c(function(r,n,t,o,a,c){var u=r[n];return s(u)!==e?new i("Invalid "+o+" `"+a+"` of type `"+l(u)+"` supplied to `"+t+"`, expected `"+e+"`."):null})}function f(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(f);if(null===r||e(r))return!0;var o=function(e){var o=r&&(n&&r[n]||r[t]);if("function"==typeof o)return o}();if(!o)return!1;var a,i=o.call(r);if(o!==r.entries){for(;!(a=i.next()).done;)if(!f(a.value))return!1}else for(;!(a=i.next()).done;){var c=a.value;if(c&&!f(c[1]))return!1}return!0;default:return!1}}function s(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,r){return"symbol"===e||!!r&&("Symbol"===r["@@toStringTag"]||"function"==typeof Symbol&&r instanceof Symbol)}(r,e)?"symbol":r}function l(e){if(null==e)return""+e;var r=s(e);if("object"===r){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function p(e){var r=l(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}return i.prototype=Error.prototype,a.checkPropTypes=W,a.resetWarningCache=W.resetWarningCache,a.PropTypes=a,a}(P.isElement,!0):function(){function e(e,r,n,t,o,a){if(a!==k){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:L,resetWarningCache:q};return n.PropTypes=n,n}()}),Y=Object.freeze(["\n box-sizing: border-box;\n\n --gutter: ",";\n\n --minItemWidth: ",";\n\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(var(--minItemWidth), 1fr));\n grid-gap: var(--gutter);\n\n @supports (width: min(var(--minItemWidth), 100%)) {\n grid-template-columns: repeat(\n auto-fit,\n minmax(min(var(--minItemWidth), 100%), 1fr)\n );\n }\n\n @supports not (grid-gap: var(--gutter)) {\n display: flex;\n flex-flow: column;\n\n > * + * {\n margin-top: ",";\n }\n }\n"]),J=function(e){return void 0===e&&(e={}),Object.assign({},n.spacing,e)},B=r.div(Y,function(e){var r=e.gutter,n=e.theme.spacing;return void 0===n&&(n={}),r&&J(n)[r]?J(n)[r]:J(n).md},function(e){return"number"==typeof e.minItemWidth?e.minItemWidth+"px":(r=e.theme.breakPoints,void 0===r&&(r={}),Object.assign({},n.breakPoints,r)).smallOnly;var r},function(e){var r=e.gutter,n=e.theme.spacing;return void 0===n&&(n={}),r&&J(n)[r]?J(n)[r]:J(n).md});B.displayName="Grid",B.propTypes={gutter:U.oneOf(Object.keys(n.spacing)),minItemWidth:U.number},B.defaultProps={gutter:"md"},module.exports=B;
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import e from"styled-components";import{spacing as r,breakPoints as n}from"@bedrock-layout/spacing-constants";function t(e,r){return e(r={exports:{}},r.exports),r.exports}var o="function"==typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,f=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,l=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,y=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,b=o?Symbol.for("react.suspense_list"):60120,v=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,h=o?Symbol.for("react.block"):60121,O=o?Symbol.for("react.fundamental"):60117,S=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case a:switch(e=e.type){case p:case y:case c:case f:case u:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case v:case s:return e;default:return r}}case i:return r}}}function x(e){return E(e)===y}var $={AsyncMode:p,ConcurrentMode:y,ContextConsumer:l,ContextProvider:s,Element:a,ForwardRef:d,Fragment:c,Lazy:g,Memo:v,Portal:i,Profiler:f,StrictMode:u,Suspense:m,isAsyncMode:function(e){return x(e)||E(e)===p},isConcurrentMode:x,isContextConsumer:function(e){return E(e)===l},isContextProvider:function(e){return E(e)===s},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},isForwardRef:function(e){return E(e)===d},isFragment:function(e){return E(e)===c},isLazy:function(e){return E(e)===g},isMemo:function(e){return E(e)===v},isPortal:function(e){return E(e)===i},isProfiler:function(e){return E(e)===f},isStrictMode:function(e){return E(e)===u},isSuspense:function(e){return E(e)===m},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===c||e===y||e===f||e===u||e===m||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===O||e.$$typeof===S||e.$$typeof===w||e.$$typeof===h)},typeOf:E},j=t(function(e,r){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:var y=e.type;switch(y){case f:case s:case o:case i:case a:case p:return y;default:var b=y&&y.$$typeof;switch(b){case u:case l:case m:case d:case c:return b;default:return r}}case t:return r}}}var S=s,w=u,E=c,x=n,$=l,j=o,P=m,I=d,T=t,_=i,N=a,k=p,C=!1;function R(e){return O(e)===s}r.AsyncMode=f,r.ConcurrentMode=S,r.ContextConsumer=w,r.ContextProvider=E,r.Element=x,r.ForwardRef=$,r.Fragment=j,r.Lazy=P,r.Memo=I,r.Portal=T,r.Profiler=_,r.StrictMode=N,r.Suspense=k,r.isAsyncMode=function(e){return C||(C=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||O(e)===f},r.isConcurrentMode=R,r.isContextConsumer=function(e){return O(e)===u},r.isContextProvider=function(e){return O(e)===c},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return O(e)===l},r.isFragment=function(e){return O(e)===o},r.isLazy=function(e){return O(e)===m},r.isMemo=function(e){return O(e)===d},r.isPortal=function(e){return O(e)===t},r.isProfiler=function(e){return O(e)===i},r.isStrictMode=function(e){return O(e)===a},r.isSuspense=function(e){return O(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===i||e===a||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===c||e.$$typeof===u||e.$$typeof===l||e.$$typeof===v||e.$$typeof===g||e.$$typeof===h||e.$$typeof===b)},r.typeOf=O}()}),P=t(function(e){e.exports="production"===process.env.NODE_ENV?$:j}),I=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,N=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(r).map(function(e){return r[e]}).join(""))return!1;var t={};return"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},t)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var n,t,o=arguments,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var c in n=Object(o[i]))T.call(n,c)&&(a[c]=n[c]);if(I){t=I(n);for(var u=0;u<t.length;u++)_.call(n,t[u])&&(a[t[u]]=n[t[u]])}}return a},k="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",C=function(){};if("production"!==process.env.NODE_ENV){var R=k,A={},M=Function.call.bind(Object.prototype.hasOwnProperty);C=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}}function V(e,r,n,t,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(M(e,a)){var i;try{if("function"!=typeof e[a]){var c=Error((t||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw c.name="Invariant Violation",c}i=e[a](r,a,t,n,null,R)}catch(e){i=e}if(!i||i instanceof Error||C((t||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in A)){A[i.message]=!0;var u=o?o():"";C("Failed "+n+" type: "+i.message+(null!=u?u:""))}}}V.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(A={})};var W=V,D=Function.call.bind(Object.prototype.hasOwnProperty),F=function(){};function z(){return null}function q(){}function L(){}"production"!==process.env.NODE_ENV&&(F=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}),L.resetWarningCache=q;var U=t(function(e){e.exports="production"!==process.env.NODE_ENV?function(e,r){var n="function"==typeof Symbol&&Symbol.iterator,t="@@iterator",o="<<anonymous>>",a={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:c(z),arrayOf:function(e){return c(function(r,n,t,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+t+"` has invalid PropType notation inside arrayOf.");var c=r[n];if(!Array.isArray(c))return new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+t+"`, expected an array.");for(var u=0;u<c.length;u++){var f=e(c,u,t,o,a+"["+u+"]",k);if(f instanceof Error)return f}return null})},element:c(function(r,n,t,o,a){var c=r[n];return e(c)?null:new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+t+"`, expected a single ReactElement.")}),elementType:c(function(e,r,n,t,o){var a=e[r];return P.isValidElementType(a)?null:new i("Invalid "+t+" `"+o+"` of type `"+s(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return c(function(r,n,t,a,c){var u;return r[n]instanceof e?null:new i("Invalid "+a+" `"+c+"` of type `"+((u=r[n]).constructor&&u.constructor.name?u.constructor.name:o)+"` supplied to `"+t+"`, expected instance of `"+(e.name||o)+"`.")})},node:c(function(e,r,n,t,o){return f(e[r])?null:new i("Invalid "+t+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return c(function(r,n,t,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+t+"` has invalid PropType notation inside objectOf.");var c=r[n],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected an object.");for(var f in c)if(D(c,f)){var l=e(c,f,t,o,a+"."+f,k);if(l instanceof Error)return l}return null})},oneOf:function(e){return Array.isArray(e)?c(function(r,n,t,o,a){for(var c=r[n],u=0;u<e.length;u++)if((f=c)===(s=e[u])?0!==f||1/f==1/s:f!=f&&s!=s)return null;var f,s,p=JSON.stringify(e,function(e,r){return"symbol"===l(r)?String(r):r});return new i("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+t+"`, expected one of "+p+".")}):("production"!==process.env.NODE_ENV&&F(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),z)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&F("Invalid argument supplied to oneOfType, expected an instance of array."),z;for(var r=0;r<e.length;r++){var n=e[r];if("function"!=typeof n)return F("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+p(n)+" at index "+r+"."),z}return c(function(r,n,t,o,a){for(var c=0;c<e.length;c++)if(null==(0,e[c])(r,n,t,o,a,k))return null;return new i("Invalid "+o+" `"+a+"` supplied to `"+t+"`.")})},shape:function(e){return c(function(r,n,t,o,a){var c=r[n],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected `object`.");for(var f in e){var l=e[f];if(l){var p=l(c,f,t,o,a+"."+f,k);if(p)return p}}return null})},exact:function(e){return c(function(r,n,t,o,a){var c=r[n],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected `object`.");var f=N({},r[n],e);for(var l in f){var p=e[l];if(!p)return new i("Invalid "+o+" `"+a+"` key `"+l+"` supplied to `"+t+"`.\nBad object: "+JSON.stringify(r[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=p(c,l,t,o,a+"."+l,k);if(y)return y}return null})}};function i(e){this.message=e,this.stack=""}function c(e){if("production"!==process.env.NODE_ENV)var n={},t=0;function a(a,c,u,f,s,l,p){if(f=f||o,l=l||u,p!==k){if(r){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var d=f+":"+u;!n[d]&&t<3&&(F("You are manually calling a React.PropTypes validation function for the `"+l+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[d]=!0,t++)}}return null==c[u]?a?new i(null===c[u]?"The "+s+" `"+l+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+s+" `"+l+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,u,f,s,l)}var c=a.bind(null,!1);return c.isRequired=a.bind(null,!0),c}function u(e){return c(function(r,n,t,o,a,c){var u=r[n];return s(u)!==e?new i("Invalid "+o+" `"+a+"` of type `"+l(u)+"` supplied to `"+t+"`, expected `"+e+"`."):null})}function f(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(f);if(null===r||e(r))return!0;var o=function(e){var o=r&&(n&&r[n]||r[t]);if("function"==typeof o)return o}();if(!o)return!1;var a,i=o.call(r);if(o!==r.entries){for(;!(a=i.next()).done;)if(!f(a.value))return!1}else for(;!(a=i.next()).done;){var c=a.value;if(c&&!f(c[1]))return!1}return!0;default:return!1}}function s(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,r){return"symbol"===e||!!r&&("Symbol"===r["@@toStringTag"]||"function"==typeof Symbol&&r instanceof Symbol)}(r,e)?"symbol":r}function l(e){if(null==e)return""+e;var r=s(e);if("object"===r){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function p(e){var r=l(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}return i.prototype=Error.prototype,a.checkPropTypes=W,a.resetWarningCache=W.resetWarningCache,a.PropTypes=a,a}(P.isElement,!0):function(){function e(e,r,n,t,o,a){if(a!==k){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:L,resetWarningCache:q};return n.PropTypes=n,n}()}),Y=Object.freeze(["\n box-sizing: border-box;\n\n --gutter: ",";\n\n --minItemWidth: ",";\n\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(var(--minItemWidth), 1fr));\n grid-gap: var(--gutter);\n\n @supports (width: min(var(--minItemWidth), 100%)) {\n grid-template-columns: repeat(\n auto-fit,\n minmax(min(var(--minItemWidth), 100%), 1fr)\n );\n }\n\n @supports not (grid-gap: var(--gutter)) {\n display: flex;\n flex-flow: column;\n\n > * + * {\n margin-top: ",";\n }\n }\n"]),J=function(e){return void 0===e&&(e={}),Object.assign({},r,e)},B=e.div(Y,function(e){var r=e.gutter,n=e.theme.spacing;return void 0===n&&(n={}),r&&J(n)[r]?J(n)[r]:J(n).md},function(e){return"number"==typeof e.minItemWidth?e.minItemWidth+"px":(r=e.theme.breakPoints,void 0===r&&(r={}),Object.assign({},n,r)).smallOnly;var r},function(e){var r=e.gutter,n=e.theme.spacing;return void 0===n&&(n={}),r&&J(n)[r]?J(n)[r]:J(n).md});B.displayName="Grid",B.propTypes={gutter:U.oneOf(Object.keys(r)),minItemWidth:U.number},B.defaultProps={gutter:"md",minItemWidth:1};export default B;
import e from"styled-components";import{spacing as r,breakPoints as n}from"@bedrock-layout/spacing-constants";function t(e,r){return e(r={exports:{}},r.exports),r.exports}var o="function"==typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,c=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,f=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,l=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,y=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,b=o?Symbol.for("react.suspense_list"):60120,v=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,h=o?Symbol.for("react.block"):60121,O=o?Symbol.for("react.fundamental"):60117,S=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case a:switch(e=e.type){case p:case y:case c:case f:case u:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case v:case s:return e;default:return r}}case i:return r}}}function x(e){return E(e)===y}var $={AsyncMode:p,ConcurrentMode:y,ContextConsumer:l,ContextProvider:s,Element:a,ForwardRef:d,Fragment:c,Lazy:g,Memo:v,Portal:i,Profiler:f,StrictMode:u,Suspense:m,isAsyncMode:function(e){return x(e)||E(e)===p},isConcurrentMode:x,isContextConsumer:function(e){return E(e)===l},isContextProvider:function(e){return E(e)===s},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},isForwardRef:function(e){return E(e)===d},isFragment:function(e){return E(e)===c},isLazy:function(e){return E(e)===g},isMemo:function(e){return E(e)===v},isPortal:function(e){return E(e)===i},isProfiler:function(e){return E(e)===f},isStrictMode:function(e){return E(e)===u},isSuspense:function(e){return E(e)===m},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===c||e===y||e===f||e===u||e===m||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===O||e.$$typeof===S||e.$$typeof===w||e.$$typeof===h)},typeOf:E},j=t(function(e,r){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:var y=e.type;switch(y){case f:case s:case o:case i:case a:case p:return y;default:var b=y&&y.$$typeof;switch(b){case u:case l:case m:case d:case c:return b;default:return r}}case t:return r}}}var S=s,w=u,E=c,x=n,$=l,j=o,P=m,I=d,T=t,_=i,N=a,k=p,C=!1;function R(e){return O(e)===s}r.AsyncMode=f,r.ConcurrentMode=S,r.ContextConsumer=w,r.ContextProvider=E,r.Element=x,r.ForwardRef=$,r.Fragment=j,r.Lazy=P,r.Memo=I,r.Portal=T,r.Profiler=_,r.StrictMode=N,r.Suspense=k,r.isAsyncMode=function(e){return C||(C=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||O(e)===f},r.isConcurrentMode=R,r.isContextConsumer=function(e){return O(e)===u},r.isContextProvider=function(e){return O(e)===c},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return O(e)===l},r.isFragment=function(e){return O(e)===o},r.isLazy=function(e){return O(e)===m},r.isMemo=function(e){return O(e)===d},r.isPortal=function(e){return O(e)===t},r.isProfiler=function(e){return O(e)===i},r.isStrictMode=function(e){return O(e)===a},r.isSuspense=function(e){return O(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===i||e===a||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===c||e.$$typeof===u||e.$$typeof===l||e.$$typeof===v||e.$$typeof===g||e.$$typeof===h||e.$$typeof===b)},r.typeOf=O}()}),P=t(function(e){e.exports="production"===process.env.NODE_ENV?$:j}),I=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,N=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(r).map(function(e){return r[e]}).join(""))return!1;var t={};return"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},t)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var n,t,o=arguments,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var c in n=Object(o[i]))T.call(n,c)&&(a[c]=n[c]);if(I){t=I(n);for(var u=0;u<t.length;u++)_.call(n,t[u])&&(a[t[u]]=n[t[u]])}}return a},k="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",C=function(){};if("production"!==process.env.NODE_ENV){var R=k,A={},M=Function.call.bind(Object.prototype.hasOwnProperty);C=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}}function V(e,r,n,t,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(M(e,a)){var i;try{if("function"!=typeof e[a]){var c=Error((t||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw c.name="Invariant Violation",c}i=e[a](r,a,t,n,null,R)}catch(e){i=e}if(!i||i instanceof Error||C((t||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in A)){A[i.message]=!0;var u=o?o():"";C("Failed "+n+" type: "+i.message+(null!=u?u:""))}}}V.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(A={})};var W=V,D=Function.call.bind(Object.prototype.hasOwnProperty),F=function(){};function z(){return null}function q(){}function L(){}"production"!==process.env.NODE_ENV&&(F=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}),L.resetWarningCache=q;var U=t(function(e){e.exports="production"!==process.env.NODE_ENV?function(e,r){var n="function"==typeof Symbol&&Symbol.iterator,t="@@iterator",o="<<anonymous>>",a={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:c(z),arrayOf:function(e){return c(function(r,n,t,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+t+"` has invalid PropType notation inside arrayOf.");var c=r[n];if(!Array.isArray(c))return new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+t+"`, expected an array.");for(var u=0;u<c.length;u++){var f=e(c,u,t,o,a+"["+u+"]",k);if(f instanceof Error)return f}return null})},element:c(function(r,n,t,o,a){var c=r[n];return e(c)?null:new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+t+"`, expected a single ReactElement.")}),elementType:c(function(e,r,n,t,o){var a=e[r];return P.isValidElementType(a)?null:new i("Invalid "+t+" `"+o+"` of type `"+s(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return c(function(r,n,t,a,c){var u;return r[n]instanceof e?null:new i("Invalid "+a+" `"+c+"` of type `"+((u=r[n]).constructor&&u.constructor.name?u.constructor.name:o)+"` supplied to `"+t+"`, expected instance of `"+(e.name||o)+"`.")})},node:c(function(e,r,n,t,o){return f(e[r])?null:new i("Invalid "+t+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return c(function(r,n,t,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+t+"` has invalid PropType notation inside objectOf.");var c=r[n],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected an object.");for(var f in c)if(D(c,f)){var l=e(c,f,t,o,a+"."+f,k);if(l instanceof Error)return l}return null})},oneOf:function(e){return Array.isArray(e)?c(function(r,n,t,o,a){for(var c=r[n],u=0;u<e.length;u++)if((f=c)===(s=e[u])?0!==f||1/f==1/s:f!=f&&s!=s)return null;var f,s,p=JSON.stringify(e,function(e,r){return"symbol"===l(r)?String(r):r});return new i("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+t+"`, expected one of "+p+".")}):("production"!==process.env.NODE_ENV&&F(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),z)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&F("Invalid argument supplied to oneOfType, expected an instance of array."),z;for(var r=0;r<e.length;r++){var n=e[r];if("function"!=typeof n)return F("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+p(n)+" at index "+r+"."),z}return c(function(r,n,t,o,a){for(var c=0;c<e.length;c++)if(null==(0,e[c])(r,n,t,o,a,k))return null;return new i("Invalid "+o+" `"+a+"` supplied to `"+t+"`.")})},shape:function(e){return c(function(r,n,t,o,a){var c=r[n],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected `object`.");for(var f in e){var l=e[f];if(l){var p=l(c,f,t,o,a+"."+f,k);if(p)return p}}return null})},exact:function(e){return c(function(r,n,t,o,a){var c=r[n],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+t+"`, expected `object`.");var f=N({},r[n],e);for(var l in f){var p=e[l];if(!p)return new i("Invalid "+o+" `"+a+"` key `"+l+"` supplied to `"+t+"`.\nBad object: "+JSON.stringify(r[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=p(c,l,t,o,a+"."+l,k);if(y)return y}return null})}};function i(e){this.message=e,this.stack=""}function c(e){if("production"!==process.env.NODE_ENV)var n={},t=0;function a(a,c,u,f,s,l,p){if(f=f||o,l=l||u,p!==k){if(r){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var d=f+":"+u;!n[d]&&t<3&&(F("You are manually calling a React.PropTypes validation function for the `"+l+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[d]=!0,t++)}}return null==c[u]?a?new i(null===c[u]?"The "+s+" `"+l+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+s+" `"+l+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,u,f,s,l)}var c=a.bind(null,!1);return c.isRequired=a.bind(null,!0),c}function u(e){return c(function(r,n,t,o,a,c){var u=r[n];return s(u)!==e?new i("Invalid "+o+" `"+a+"` of type `"+l(u)+"` supplied to `"+t+"`, expected `"+e+"`."):null})}function f(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(f);if(null===r||e(r))return!0;var o=function(e){var o=r&&(n&&r[n]||r[t]);if("function"==typeof o)return o}();if(!o)return!1;var a,i=o.call(r);if(o!==r.entries){for(;!(a=i.next()).done;)if(!f(a.value))return!1}else for(;!(a=i.next()).done;){var c=a.value;if(c&&!f(c[1]))return!1}return!0;default:return!1}}function s(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,r){return"symbol"===e||!!r&&("Symbol"===r["@@toStringTag"]||"function"==typeof Symbol&&r instanceof Symbol)}(r,e)?"symbol":r}function l(e){if(null==e)return""+e;var r=s(e);if("object"===r){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function p(e){var r=l(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}return i.prototype=Error.prototype,a.checkPropTypes=W,a.resetWarningCache=W.resetWarningCache,a.PropTypes=a,a}(P.isElement,!0):function(){function e(e,r,n,t,o,a){if(a!==k){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:L,resetWarningCache:q};return n.PropTypes=n,n}()}),Y=Object.freeze(["\n box-sizing: border-box;\n\n --gutter: ",";\n\n --minItemWidth: ",";\n\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(var(--minItemWidth), 1fr));\n grid-gap: var(--gutter);\n\n @supports (width: min(var(--minItemWidth), 100%)) {\n grid-template-columns: repeat(\n auto-fit,\n minmax(min(var(--minItemWidth), 100%), 1fr)\n );\n }\n\n @supports not (grid-gap: var(--gutter)) {\n display: flex;\n flex-flow: column;\n\n > * + * {\n margin-top: ",";\n }\n }\n"]),J=function(e){return void 0===e&&(e={}),Object.assign({},r,e)},B=e.div(Y,function(e){var r=e.gutter,n=e.theme.spacing;return void 0===n&&(n={}),r&&J(n)[r]?J(n)[r]:J(n).md},function(e){return"number"==typeof e.minItemWidth?e.minItemWidth+"px":(r=e.theme.breakPoints,void 0===r&&(r={}),Object.assign({},n,r)).smallOnly;var r},function(e){var r=e.gutter,n=e.theme.spacing;return void 0===n&&(n={}),r&&J(n)[r]?J(n)[r]:J(n).md});B.displayName="Grid",B.propTypes={gutter:U.oneOf(Object.keys(r)),minItemWidth:U.number},B.defaultProps={gutter:"md"};export default B;
//# sourceMappingURL=index.m.js.map

@@ -1,2 +0,2 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("styled-components"),require("@bedrock-layout/spacing-constants")):"function"==typeof define&&define.amd?define(["styled-components","@bedrock-layout/spacing-constants"],n):e.grid=n(e.styled,e.spacingConstants)}(this,function(e,n){function t(e,n){return e(n={exports:{}},n.exports),n.exports}e=e&&e.hasOwnProperty("default")?e.default:e;var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,f=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,y=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,b=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,h=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case o:switch(e=e.type){case p:case l:case i:case u:case c:case d:return e;default:switch(e=e&&e.$$typeof){case s:case y:case v:case b:case f:return e;default:return n}}case a:return n}}}function E(e){return w(e)===l}var x={AsyncMode:p,ConcurrentMode:l,ContextConsumer:s,ContextProvider:f,Element:o,ForwardRef:y,Fragment:i,Lazy:v,Memo:b,Portal:a,Profiler:u,StrictMode:c,Suspense:d,isAsyncMode:function(e){return E(e)||w(e)===p},isConcurrentMode:E,isContextConsumer:function(e){return w(e)===s},isContextProvider:function(e){return w(e)===f},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},isForwardRef:function(e){return w(e)===y},isFragment:function(e){return w(e)===i},isLazy:function(e){return w(e)===v},isMemo:function(e){return w(e)===b},isPortal:function(e){return w(e)===a},isProfiler:function(e){return w(e)===u},isStrictMode:function(e){return w(e)===c},isSuspense:function(e){return w(e)===d},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===i||e===l||e===u||e===c||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===b||e.$$typeof===f||e.$$typeof===s||e.$$typeof===y||e.$$typeof===h||e.$$typeof===O||e.$$typeof===S||e.$$typeof===g)},typeOf:w},j=t(function(e,n){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,l=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case t:var y=e.type;switch(y){case f:case s:case o:case i:case a:case l:return y;default:var b=y&&y.$$typeof;switch(b){case u:case p:case m:case d:case c:return b;default:return n}}case r:return n}}}var S=s,w=u,E=c,x=t,j=p,$=o,P=m,I=d,T=r,_=i,k=a,N=l,C=!1;function R(e){return O(e)===s}n.AsyncMode=f,n.ConcurrentMode=S,n.ContextConsumer=w,n.ContextProvider=E,n.Element=x,n.ForwardRef=j,n.Fragment=$,n.Lazy=P,n.Memo=I,n.Portal=T,n.Profiler=_,n.StrictMode=k,n.Suspense=N,n.isAsyncMode=function(e){return C||(C=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||O(e)===f},n.isConcurrentMode=R,n.isContextConsumer=function(e){return O(e)===u},n.isContextProvider=function(e){return O(e)===c},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},n.isForwardRef=function(e){return O(e)===p},n.isFragment=function(e){return O(e)===o},n.isLazy=function(e){return O(e)===m},n.isMemo=function(e){return O(e)===d},n.isPortal=function(e){return O(e)===r},n.isProfiler=function(e){return O(e)===i},n.isStrictMode=function(e){return O(e)===a},n.isSuspense=function(e){return O(e)===l},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===i||e===a||e===l||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===c||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===g||e.$$typeof===h||e.$$typeof===b)},n.typeOf=O}()}),$=t(function(e){e.exports="production"===process.env.NODE_ENV?x:j}),P=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,_=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(e){return n[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,n){for(var t,r,o=arguments,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var c in t=Object(o[i]))I.call(t,c)&&(a[c]=t[c]);if(P){r=P(t);for(var u=0;u<r.length;u++)T.call(t,r[u])&&(a[r[u]]=t[r[u]])}}return a},k="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",N=function(){};if("production"!==process.env.NODE_ENV){var C=k,R={},A=Function.call.bind(Object.prototype.hasOwnProperty);N=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function M(e,n,t,r,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(A(e,a)){var i;try{if("function"!=typeof e[a]){var c=Error((r||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw c.name="Invariant Violation",c}i=e[a](n,a,r,t,null,C)}catch(e){i=e}if(!i||i instanceof Error||N((r||"React class")+": type specification of "+t+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in R)){R[i.message]=!0;var u=o?o():"";N("Failed "+t+" type: "+i.message+(null!=u?u:""))}}}M.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(R={})};var V=M,W=Function.call.bind(Object.prototype.hasOwnProperty),D=function(){};function F(){return null}function z(){}function q(){}"production"!==process.env.NODE_ENV&&(D=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),q.resetWarningCache=z;var L=t(function(e){e.exports="production"!==process.env.NODE_ENV?function(e,n){var t="function"==typeof Symbol&&Symbol.iterator,r="@@iterator",o="<<anonymous>>",a={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:c(F),arrayOf:function(e){return c(function(n,t,r,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var c=n[t];if(!Array.isArray(c))return new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<c.length;u++){var f=e(c,u,r,o,a+"["+u+"]",k);if(f instanceof Error)return f}return null})},element:c(function(n,t,r,o,a){var c=n[t];return e(c)?null:new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:c(function(e,n,t,r,o){var a=e[n];return $.isValidElementType(a)?null:new i("Invalid "+r+" `"+o+"` of type `"+s(a)+"` supplied to `"+t+"`, expected a single ReactElement type.")}),instanceOf:function(e){return c(function(n,t,r,a,c){var u;return n[t]instanceof e?null:new i("Invalid "+a+" `"+c+"` of type `"+((u=n[t]).constructor&&u.constructor.name?u.constructor.name:o)+"` supplied to `"+r+"`, expected instance of `"+(e.name||o)+"`.")})},node:c(function(e,n,t,r,o){return f(e[n])?null:new i("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")}),objectOf:function(e){return c(function(n,t,r,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var c=n[t],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var f in c)if(W(c,f)){var p=e(c,f,r,o,a+"."+f,k);if(p instanceof Error)return p}return null})},oneOf:function(e){return Array.isArray(e)?c(function(n,t,r,o,a){for(var c=n[t],u=0;u<e.length;u++)if((f=c)===(s=e[u])?0!==f||1/f==1/s:f!=f&&s!=s)return null;var f,s,l=JSON.stringify(e,function(e,n){return"symbol"===p(n)?String(n):n});return new i("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+r+"`, expected one of "+l+".")}):("production"!==process.env.NODE_ENV&&D(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),F)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&D("Invalid argument supplied to oneOfType, expected an instance of array."),F;for(var n=0;n<e.length;n++){var t=e[n];if("function"!=typeof t)return D("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+l(t)+" at index "+n+"."),F}return c(function(n,t,r,o,a){for(var c=0;c<e.length;c++)if(null==(0,e[c])(n,t,r,o,a,k))return null;return new i("Invalid "+o+" `"+a+"` supplied to `"+r+"`.")})},shape:function(e){return c(function(n,t,r,o,a){var c=n[t],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var f in e){var p=e[f];if(p){var l=p(c,f,r,o,a+"."+f,k);if(l)return l}}return null})},exact:function(e){return c(function(n,t,r,o,a){var c=n[t],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var f=_({},n[t],e);for(var p in f){var l=e[p];if(!l)return new i("Invalid "+o+" `"+a+"` key `"+p+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(n[t],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=l(c,p,r,o,a+"."+p,k);if(y)return y}return null})}};function i(e){this.message=e,this.stack=""}function c(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function a(a,c,u,f,s,p,l){if(f=f||o,p=p||u,l!==k){if(n){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var d=f+":"+u;!t[d]&&r<3&&(D("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[d]=!0,r++)}}return null==c[u]?a?new i(null===c[u]?"The "+s+" `"+p+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+s+" `"+p+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,u,f,s,p)}var c=a.bind(null,!1);return c.isRequired=a.bind(null,!0),c}function u(e){return c(function(n,t,r,o,a,c){var u=n[t];return s(u)!==e?new i("Invalid "+o+" `"+a+"` of type `"+p(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null})}function f(n){switch(typeof n){case"number":case"string":case"undefined":return!0;case"boolean":return!n;case"object":if(Array.isArray(n))return n.every(f);if(null===n||e(n))return!0;var o=function(e){var o=n&&(t&&n[t]||n[r]);if("function"==typeof o)return o}();if(!o)return!1;var a,i=o.call(n);if(o!==n.entries){for(;!(a=i.next()).done;)if(!f(a.value))return!1}else for(;!(a=i.next()).done;){var c=a.value;if(c&&!f(c[1]))return!1}return!0;default:return!1}}function s(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function p(e){if(null==e)return""+e;var n=s(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function l(e){var n=p(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return i.prototype=Error.prototype,a.checkPropTypes=V,a.resetWarningCache=V.resetWarningCache,a.PropTypes=a,a}($.isElement,!0):function(){function e(e,n,t,r,o,a){if(a!==k){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function n(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:q,resetWarningCache:z};return t.PropTypes=t,t}()}),U=Object.freeze(["\n box-sizing: border-box;\n\n --gutter: ",";\n\n --minItemWidth: ",";\n\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(var(--minItemWidth), 1fr));\n grid-gap: var(--gutter);\n\n @supports (width: min(var(--minItemWidth), 100%)) {\n grid-template-columns: repeat(\n auto-fit,\n minmax(min(var(--minItemWidth), 100%), 1fr)\n );\n }\n\n @supports not (grid-gap: var(--gutter)) {\n display: flex;\n flex-flow: column;\n\n > * + * {\n margin-top: ",";\n }\n }\n"]),Y=function(e){return void 0===e&&(e={}),Object.assign({},n.spacing,e)},J=e.div(U,function(e){var n=e.gutter,t=e.theme.spacing;return void 0===t&&(t={}),n&&Y(t)[n]?Y(t)[n]:Y(t).md},function(e){return"number"==typeof e.minItemWidth?e.minItemWidth+"px":(t=e.theme.breakPoints,void 0===t&&(t={}),Object.assign({},n.breakPoints,t)).smallOnly;var t},function(e){var n=e.gutter,t=e.theme.spacing;return void 0===t&&(t={}),n&&Y(t)[n]?Y(t)[n]:Y(t).md});return J.displayName="Grid",J.propTypes={gutter:L.oneOf(Object.keys(n.spacing)),minItemWidth:L.number},J.defaultProps={gutter:"md",minItemWidth:1},J});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("styled-components"),require("@bedrock-layout/spacing-constants")):"function"==typeof define&&define.amd?define(["styled-components","@bedrock-layout/spacing-constants"],n):e.grid=n(e.styled,e.spacingConstants)}(this,function(e,n){function t(e,n){return e(n={exports:{}},n.exports),n.exports}e=e&&e.hasOwnProperty("default")?e.default:e;var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,f=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,y=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,b=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,h=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case o:switch(e=e.type){case p:case l:case i:case u:case c:case d:return e;default:switch(e=e&&e.$$typeof){case s:case y:case v:case b:case f:return e;default:return n}}case a:return n}}}function E(e){return w(e)===l}var x={AsyncMode:p,ConcurrentMode:l,ContextConsumer:s,ContextProvider:f,Element:o,ForwardRef:y,Fragment:i,Lazy:v,Memo:b,Portal:a,Profiler:u,StrictMode:c,Suspense:d,isAsyncMode:function(e){return E(e)||w(e)===p},isConcurrentMode:E,isContextConsumer:function(e){return w(e)===s},isContextProvider:function(e){return w(e)===f},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},isForwardRef:function(e){return w(e)===y},isFragment:function(e){return w(e)===i},isLazy:function(e){return w(e)===v},isMemo:function(e){return w(e)===b},isPortal:function(e){return w(e)===a},isProfiler:function(e){return w(e)===u},isStrictMode:function(e){return w(e)===c},isSuspense:function(e){return w(e)===d},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===i||e===l||e===u||e===c||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===b||e.$$typeof===f||e.$$typeof===s||e.$$typeof===y||e.$$typeof===h||e.$$typeof===O||e.$$typeof===S||e.$$typeof===g)},typeOf:w},j=t(function(e,n){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,l=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case t:var y=e.type;switch(y){case f:case s:case o:case i:case a:case l:return y;default:var b=y&&y.$$typeof;switch(b){case u:case p:case m:case d:case c:return b;default:return n}}case r:return n}}}var S=s,w=u,E=c,x=t,j=p,$=o,P=m,I=d,T=r,_=i,k=a,N=l,C=!1;function R(e){return O(e)===s}n.AsyncMode=f,n.ConcurrentMode=S,n.ContextConsumer=w,n.ContextProvider=E,n.Element=x,n.ForwardRef=j,n.Fragment=$,n.Lazy=P,n.Memo=I,n.Portal=T,n.Profiler=_,n.StrictMode=k,n.Suspense=N,n.isAsyncMode=function(e){return C||(C=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||O(e)===f},n.isConcurrentMode=R,n.isContextConsumer=function(e){return O(e)===u},n.isContextProvider=function(e){return O(e)===c},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},n.isForwardRef=function(e){return O(e)===p},n.isFragment=function(e){return O(e)===o},n.isLazy=function(e){return O(e)===m},n.isMemo=function(e){return O(e)===d},n.isPortal=function(e){return O(e)===r},n.isProfiler=function(e){return O(e)===i},n.isStrictMode=function(e){return O(e)===a},n.isSuspense=function(e){return O(e)===l},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===i||e===a||e===l||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===c||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===g||e.$$typeof===h||e.$$typeof===b)},n.typeOf=O}()}),$=t(function(e){e.exports="production"===process.env.NODE_ENV?x:j}),P=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,_=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(e){return n[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,n){for(var t,r,o=arguments,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var c in t=Object(o[i]))I.call(t,c)&&(a[c]=t[c]);if(P){r=P(t);for(var u=0;u<r.length;u++)T.call(t,r[u])&&(a[r[u]]=t[r[u]])}}return a},k="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",N=function(){};if("production"!==process.env.NODE_ENV){var C=k,R={},A=Function.call.bind(Object.prototype.hasOwnProperty);N=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function M(e,n,t,r,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(A(e,a)){var i;try{if("function"!=typeof e[a]){var c=Error((r||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw c.name="Invariant Violation",c}i=e[a](n,a,r,t,null,C)}catch(e){i=e}if(!i||i instanceof Error||N((r||"React class")+": type specification of "+t+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in R)){R[i.message]=!0;var u=o?o():"";N("Failed "+t+" type: "+i.message+(null!=u?u:""))}}}M.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(R={})};var V=M,W=Function.call.bind(Object.prototype.hasOwnProperty),D=function(){};function F(){return null}function z(){}function q(){}"production"!==process.env.NODE_ENV&&(D=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),q.resetWarningCache=z;var L=t(function(e){e.exports="production"!==process.env.NODE_ENV?function(e,n){var t="function"==typeof Symbol&&Symbol.iterator,r="@@iterator",o="<<anonymous>>",a={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:c(F),arrayOf:function(e){return c(function(n,t,r,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var c=n[t];if(!Array.isArray(c))return new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<c.length;u++){var f=e(c,u,r,o,a+"["+u+"]",k);if(f instanceof Error)return f}return null})},element:c(function(n,t,r,o,a){var c=n[t];return e(c)?null:new i("Invalid "+o+" `"+a+"` of type `"+s(c)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:c(function(e,n,t,r,o){var a=e[n];return $.isValidElementType(a)?null:new i("Invalid "+r+" `"+o+"` of type `"+s(a)+"` supplied to `"+t+"`, expected a single ReactElement type.")}),instanceOf:function(e){return c(function(n,t,r,a,c){var u;return n[t]instanceof e?null:new i("Invalid "+a+" `"+c+"` of type `"+((u=n[t]).constructor&&u.constructor.name?u.constructor.name:o)+"` supplied to `"+r+"`, expected instance of `"+(e.name||o)+"`.")})},node:c(function(e,n,t,r,o){return f(e[n])?null:new i("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")}),objectOf:function(e){return c(function(n,t,r,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var c=n[t],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var f in c)if(W(c,f)){var p=e(c,f,r,o,a+"."+f,k);if(p instanceof Error)return p}return null})},oneOf:function(e){return Array.isArray(e)?c(function(n,t,r,o,a){for(var c=n[t],u=0;u<e.length;u++)if((f=c)===(s=e[u])?0!==f||1/f==1/s:f!=f&&s!=s)return null;var f,s,l=JSON.stringify(e,function(e,n){return"symbol"===p(n)?String(n):n});return new i("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+r+"`, expected one of "+l+".")}):("production"!==process.env.NODE_ENV&&D(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),F)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&D("Invalid argument supplied to oneOfType, expected an instance of array."),F;for(var n=0;n<e.length;n++){var t=e[n];if("function"!=typeof t)return D("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+l(t)+" at index "+n+"."),F}return c(function(n,t,r,o,a){for(var c=0;c<e.length;c++)if(null==(0,e[c])(n,t,r,o,a,k))return null;return new i("Invalid "+o+" `"+a+"` supplied to `"+r+"`.")})},shape:function(e){return c(function(n,t,r,o,a){var c=n[t],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var f in e){var p=e[f];if(p){var l=p(c,f,r,o,a+"."+f,k);if(l)return l}}return null})},exact:function(e){return c(function(n,t,r,o,a){var c=n[t],u=s(c);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var f=_({},n[t],e);for(var p in f){var l=e[p];if(!l)return new i("Invalid "+o+" `"+a+"` key `"+p+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(n[t],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=l(c,p,r,o,a+"."+p,k);if(y)return y}return null})}};function i(e){this.message=e,this.stack=""}function c(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function a(a,c,u,f,s,p,l){if(f=f||o,p=p||u,l!==k){if(n){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var d=f+":"+u;!t[d]&&r<3&&(D("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[d]=!0,r++)}}return null==c[u]?a?new i(null===c[u]?"The "+s+" `"+p+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+s+" `"+p+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,u,f,s,p)}var c=a.bind(null,!1);return c.isRequired=a.bind(null,!0),c}function u(e){return c(function(n,t,r,o,a,c){var u=n[t];return s(u)!==e?new i("Invalid "+o+" `"+a+"` of type `"+p(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null})}function f(n){switch(typeof n){case"number":case"string":case"undefined":return!0;case"boolean":return!n;case"object":if(Array.isArray(n))return n.every(f);if(null===n||e(n))return!0;var o=function(e){var o=n&&(t&&n[t]||n[r]);if("function"==typeof o)return o}();if(!o)return!1;var a,i=o.call(n);if(o!==n.entries){for(;!(a=i.next()).done;)if(!f(a.value))return!1}else for(;!(a=i.next()).done;){var c=a.value;if(c&&!f(c[1]))return!1}return!0;default:return!1}}function s(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function p(e){if(null==e)return""+e;var n=s(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function l(e){var n=p(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return i.prototype=Error.prototype,a.checkPropTypes=V,a.resetWarningCache=V.resetWarningCache,a.PropTypes=a,a}($.isElement,!0):function(){function e(e,n,t,r,o,a){if(a!==k){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function n(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:q,resetWarningCache:z};return t.PropTypes=t,t}()}),U=Object.freeze(["\n box-sizing: border-box;\n\n --gutter: ",";\n\n --minItemWidth: ",";\n\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(var(--minItemWidth), 1fr));\n grid-gap: var(--gutter);\n\n @supports (width: min(var(--minItemWidth), 100%)) {\n grid-template-columns: repeat(\n auto-fit,\n minmax(min(var(--minItemWidth), 100%), 1fr)\n );\n }\n\n @supports not (grid-gap: var(--gutter)) {\n display: flex;\n flex-flow: column;\n\n > * + * {\n margin-top: ",";\n }\n }\n"]),Y=function(e){return void 0===e&&(e={}),Object.assign({},n.spacing,e)},J=e.div(U,function(e){var n=e.gutter,t=e.theme.spacing;return void 0===t&&(t={}),n&&Y(t)[n]?Y(t)[n]:Y(t).md},function(e){return"number"==typeof e.minItemWidth?e.minItemWidth+"px":(t=e.theme.breakPoints,void 0===t&&(t={}),Object.assign({},n.breakPoints,t)).smallOnly;var t},function(e){var n=e.gutter,t=e.theme.spacing;return void 0===t&&(t={}),n&&Y(t)[n]?Y(t)[n]:Y(t).md});return J.displayName="Grid",J.propTypes={gutter:L.oneOf(Object.keys(n.spacing)),minItemWidth:L.number},J.defaultProps={gutter:"md"},J});
//# sourceMappingURL=index.umd.js.map
{
"name": "@bedrock-layout/grid",
"version": "1.0.1",
"version": "1.0.2",
"description": "bedrock-layout spacing constants",

@@ -50,3 +50,3 @@ "sideEffects": false,

},
"gitHead": "d248e4da3c2a0a28675698584839338cef19eff0"
"gitHead": "f3ed80e7b642362603db1607644546fe510ce8fe"
}

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