Comparing version 1.0.6 to 1.0.7
import React from 'react'; | ||
import HeaderLink from './header-link'; | ||
import HeaderNav from './header-nav'; | ||
import Heading from './heading'; | ||
@@ -12,8 +10,3 @@ import Wrapper from './wrapper'; | ||
<Heading size={2}>{props.title}</Heading> | ||
<HeaderNav> | ||
<HeaderLink to="#">About</HeaderLink> | ||
<HeaderLink to="#">Story</HeaderLink> | ||
<HeaderLink to="#">Team</HeaderLink> | ||
<HeaderLink to="#">Contact</HeaderLink> | ||
</HeaderNav> | ||
{props.children} | ||
</header> | ||
@@ -20,0 +13,0 @@ ); |
@@ -1,2 +0,2 @@ | ||
module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)r.d(n,u,function(t){return e[t]}.bind(null,u));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=14)}([function(e,t,r){"use strict";e.exports=r(15)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.className?"ds-heading "+e.className:"ds-heading";switch((e.size?e.size:1).toString()){case"1":return l.default.createElement("h1",{className:t+" ds-heading--big"},e.children);case"2":return l.default.createElement("h2",{className:t+" ds-heading--med"},e.children);case"3":return l.default.createElement("h3",{className:t+" ds-heading--small"},e.children);default:return l.default.createElement("h1",{className:t+" ds-heading--big"},e.children)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("div",{className:"ds-flex--between "+(e.className||"")},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.space?"ds-button--spaced":null,r=e.className?"ds-button "+e.className:"ds-button "+t;return l.default.createElement("a",{className:r,href:e.to},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.className?"ds-fig "+e.className:"ds-fig",r=e.withCaption?l.default.createElement("figcaption",{className:"ds-fig__caption"},e.caption):null,n=e.small?"ds-fig__img--small":null;return l.default.createElement("figure",{className:t},l.default.createElement("img",{className:"ds-fig__img "+n,src:e.src,alt:e.caption}),r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("p",{className:"ds-text ds-text--light"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=l(r(0)),u=l(r(10));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return n.default.createElement(u.default,null,n.default.createElement("a",{href:e.to,className:"ds-header__nav-link "+(e.className||"")},e.children))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("nav",{className:"ds-header__nav"},l.default.createElement("ul",{className:"ds-header__nav-list"},e.children))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("div",{className:"ds-flex--center"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("p",{className:"ds-text "+(e.className||"")},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("li",{className:"ds-list-item"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("section",{className:"ds-section"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("div",{className:"ds-wrap"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.space?"ds-button-two--spaced":null,r=e.className?"ds-button-two "+e.className:"ds-button-two "+t;return l.default.createElement("a",{className:r,href:e.to},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=t.VertSpace=t.Text=t.Subtext=t.SmallArticle=t.Section=t.SecondaryButton=t.Heading=t.Header=t.HeaderNav=t.HeaderListItem=t.HeaderLink=t.Footer=t.Figure=t.CTA=t.Copy=t.CenterFlex=t.Button=t.BigArticle=t.BetweenFlex=void 0;var n=O(r(2)),u=O(r(17)),l=O(r(3)),a=O(r(8)),o=O(r(18)),c=O(r(19)),f=O(r(4)),i=O(r(20)),s=O(r(6)),d=O(r(10)),m=O(r(7)),p=O(r(21)),_=O(r(1)),y=O(r(13)),v=O(r(11)),b=O(r(22)),h=O(r(5)),E=O(r(9)),g=O(r(23)),j=O(r(12));function O(e){return e&&e.__esModule?e:{default:e}}t.BetweenFlex=n.default,t.BigArticle=u.default,t.Button=l.default,t.CenterFlex=a.default,t.Copy=o.default,t.CTA=c.default,t.Figure=f.default,t.Footer=i.default,t.HeaderLink=s.default,t.HeaderListItem=d.default,t.HeaderNav=m.default,t.Header=p.default,t.Heading=_.default,t.SecondaryButton=y.default,t.Section=v.default,t.SmallArticle=b.default,t.Subtext=h.default,t.Text=E.default,t.VertSpace=g.default,t.Wrapper=j.default},function(e,t,r){"use strict"; | ||
module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)r.d(n,u,function(t){return e[t]}.bind(null,u));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=14)}([function(e,t,r){"use strict";e.exports=r(15)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.className?"ds-heading "+e.className:"ds-heading";switch((e.size?e.size:1).toString()){case"1":return l.default.createElement("h1",{className:t+" ds-heading--big"},e.children);case"2":return l.default.createElement("h2",{className:t+" ds-heading--med"},e.children);case"3":return l.default.createElement("h3",{className:t+" ds-heading--small"},e.children);default:return l.default.createElement("h1",{className:t+" ds-heading--big"},e.children)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("div",{className:"ds-flex--between "+(e.className||"")},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.space?"ds-button--spaced":null,r=e.className?"ds-button "+e.className:"ds-button "+t;return l.default.createElement("a",{className:r,href:e.to},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.className?"ds-fig "+e.className:"ds-fig",r=e.withCaption?l.default.createElement("figcaption",{className:"ds-fig__caption"},e.caption):null,n=e.small?"ds-fig__img--small":null;return l.default.createElement("figure",{className:t},l.default.createElement("img",{className:"ds-fig__img "+n,src:e.src,alt:e.caption}),r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("p",{className:"ds-text ds-text--light"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("div",{className:"ds-flex--center"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("p",{className:"ds-text "+(e.className||"")},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=l(r(0)),u=l(r(9));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return n.default.createElement(u.default,null,n.default.createElement("a",{href:e.to,className:"ds-header__nav-link "+(e.className||"")},e.children))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("li",{className:"ds-list-item"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("nav",{className:"ds-header__nav"},l.default.createElement("ul",{className:"ds-header__nav-list"},e.children))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("section",{className:"ds-section"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("div",{className:"ds-wrap"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.space?"ds-button-two--spaced":null,r=e.className?"ds-button-two "+e.className:"ds-button-two "+t;return l.default.createElement("a",{className:r,href:e.to},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=t.VertSpace=t.Text=t.Subtext=t.SmallArticle=t.Section=t.SecondaryButton=t.Heading=t.Header=t.HeaderNav=t.HeaderListItem=t.HeaderLink=t.Footer=t.Figure=t.CTA=t.Copy=t.CenterFlex=t.Button=t.BigArticle=t.BetweenFlex=void 0;var n=O(r(2)),u=O(r(17)),l=O(r(3)),a=O(r(6)),o=O(r(18)),c=O(r(19)),f=O(r(4)),i=O(r(20)),s=O(r(8)),d=O(r(9)),p=O(r(10)),m=O(r(21)),_=O(r(1)),y=O(r(13)),v=O(r(11)),b=O(r(22)),h=O(r(5)),E=O(r(7)),g=O(r(23)),j=O(r(12));function O(e){return e&&e.__esModule?e:{default:e}}t.BetweenFlex=n.default,t.BigArticle=u.default,t.Button=l.default,t.CenterFlex=a.default,t.Copy=o.default,t.CTA=c.default,t.Figure=f.default,t.Footer=i.default,t.HeaderLink=s.default,t.HeaderListItem=d.default,t.HeaderNav=p.default,t.Header=m.default,t.Heading=_.default,t.SecondaryButton=y.default,t.Section=v.default,t.SmallArticle=b.default,t.Subtext=h.default,t.Text=E.default,t.VertSpace=g.default,t.Wrapper=j.default},function(e,t,r){"use strict"; | ||
/** @license React v16.13.1 | ||
@@ -9,3 +9,3 @@ * react.production.min.js | ||
* LICENSE file in the root directory of this source tree. | ||
*/var n=r(16),u="function"==typeof Symbol&&Symbol.for,l=u?Symbol.for("react.element"):60103,a=u?Symbol.for("react.portal"):60106,o=u?Symbol.for("react.fragment"):60107,c=u?Symbol.for("react.strict_mode"):60108,f=u?Symbol.for("react.profiler"):60114,i=u?Symbol.for("react.provider"):60109,s=u?Symbol.for("react.context"):60110,d=u?Symbol.for("react.forward_ref"):60112,m=u?Symbol.for("react.suspense"):60113,p=u?Symbol.for("react.memo"):60115,_=u?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h={};function E(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||b}function g(){}function j(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||b}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=E.prototype;var O=j.prototype=new g;O.constructor=j,n(O,E.prototype),O.isPureReactComponent=!0;var S={current:null},N=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,r){var n,u={},a=null,o=null;if(null!=t)for(n in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(a=""+t.key),t)N.call(t,n)&&!M.hasOwnProperty(n)&&(u[n]=t[n]);var c=arguments.length-2;if(1===c)u.children=r;else if(1<c){for(var f=Array(c),i=0;i<c;i++)f[i]=arguments[i+2];u.children=f}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===u[n]&&(u[n]=c[n]);return{$$typeof:l,type:e,key:a,ref:o,props:u,_owner:S.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===l}var w=/\/+/g,k=[];function C(e,t,r,n){if(k.length){var u=k.pop();return u.result=e,u.keyPrefix=t,u.func=r,u.context=n,u.count=0,u}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function $(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>k.length&&k.push(e)}function R(e,t,r){return null==e?0:function e(t,r,n,u){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var c=!1;if(null===t)c=!0;else switch(o){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case l:case a:c=!0}}if(c)return n(u,t,""===r?"."+T(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var f=0;f<t.length;f++){var i=r+T(o=t[f],f);c+=e(o,i,n,u)}else if(null===t||"object"!=typeof t?i=null:i="function"==typeof(i=y&&t[y]||t["@@iterator"])?i:null,"function"==typeof i)for(t=i.call(t),f=0;!(o=t.next()).done;)c+=e(o=o.value,i=r+T(o,f++),n,u);else if("object"===o)throw n=""+t,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,r)}function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function A(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,r){var n=e.result,u=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?H(e,n,r,(function(e){return e})):null!=e&&(x(e)&&(e=function(e,t){return{$$typeof:l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,u+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(w,"$&/")+"/")+r)),n.push(e))}function H(e,t,r,n,u){var l="";null!=r&&(l=(""+r).replace(w,"$&/")+"/"),R(e,F,t=C(t,l,n,u)),$(t)}var B={current:null};function I(){var e=B.current;if(null===e)throw Error(v(321));return e}var L={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return H(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;R(e,A,t=C(null,null,t,r)),$(t)},count:function(e){return R(e,(function(){return null}),null)},toArray:function(e){var t=[];return H(e,t,null,(function(e){return e})),t},only:function(e){if(!x(e))throw Error(v(143));return e}},t.Component=E,t.Fragment=o,t.Profiler=f,t.PureComponent=j,t.StrictMode=c,t.Suspense=m,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,r){if(null==e)throw Error(v(267,e));var u=n({},e.props),a=e.key,o=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,c=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var f=e.type.defaultProps;for(i in t)N.call(t,i)&&!M.hasOwnProperty(i)&&(u[i]=void 0===t[i]&&void 0!==f?f[i]:t[i])}var i=arguments.length-2;if(1===i)u.children=r;else if(1<i){f=Array(i);for(var s=0;s<i;s++)f[s]=arguments[s+2];u.children=f}return{$$typeof:l,type:e.type,key:a,ref:o,props:u,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:_,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return I().useCallback(e,t)},t.useContext=function(e,t){return I().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return I().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return I().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return I().useLayoutEffect(e,t)},t.useMemo=function(e,t){return I().useMemo(e,t)},t.useReducer=function(e,t,r){return I().useReducer(e,t,r)},t.useRef=function(e){return I().useRef(e)},t.useState=function(e){return I().useState(e)},t.version="16.13.1"},function(e,t,r){"use strict"; | ||
*/var n=r(16),u="function"==typeof Symbol&&Symbol.for,l=u?Symbol.for("react.element"):60103,a=u?Symbol.for("react.portal"):60106,o=u?Symbol.for("react.fragment"):60107,c=u?Symbol.for("react.strict_mode"):60108,f=u?Symbol.for("react.profiler"):60114,i=u?Symbol.for("react.provider"):60109,s=u?Symbol.for("react.context"):60110,d=u?Symbol.for("react.forward_ref"):60112,p=u?Symbol.for("react.suspense"):60113,m=u?Symbol.for("react.memo"):60115,_=u?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h={};function E(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||b}function g(){}function j(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||b}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=E.prototype;var O=j.prototype=new g;O.constructor=j,n(O,E.prototype),O.isPureReactComponent=!0;var S={current:null},N=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,r){var n,u={},a=null,o=null;if(null!=t)for(n in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(a=""+t.key),t)N.call(t,n)&&!M.hasOwnProperty(n)&&(u[n]=t[n]);var c=arguments.length-2;if(1===c)u.children=r;else if(1<c){for(var f=Array(c),i=0;i<c;i++)f[i]=arguments[i+2];u.children=f}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===u[n]&&(u[n]=c[n]);return{$$typeof:l,type:e,key:a,ref:o,props:u,_owner:S.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===l}var w=/\/+/g,k=[];function C(e,t,r,n){if(k.length){var u=k.pop();return u.result=e,u.keyPrefix=t,u.func=r,u.context=n,u.count=0,u}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function $(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>k.length&&k.push(e)}function R(e,t,r){return null==e?0:function e(t,r,n,u){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var c=!1;if(null===t)c=!0;else switch(o){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case l:case a:c=!0}}if(c)return n(u,t,""===r?"."+T(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var f=0;f<t.length;f++){var i=r+T(o=t[f],f);c+=e(o,i,n,u)}else if(null===t||"object"!=typeof t?i=null:i="function"==typeof(i=y&&t[y]||t["@@iterator"])?i:null,"function"==typeof i)for(t=i.call(t),f=0;!(o=t.next()).done;)c+=e(o=o.value,i=r+T(o,f++),n,u);else if("object"===o)throw n=""+t,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,r)}function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function A(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,r){var n=e.result,u=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?H(e,n,r,(function(e){return e})):null!=e&&(x(e)&&(e=function(e,t){return{$$typeof:l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,u+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(w,"$&/")+"/")+r)),n.push(e))}function H(e,t,r,n,u){var l="";null!=r&&(l=(""+r).replace(w,"$&/")+"/"),R(e,F,t=C(t,l,n,u)),$(t)}var B={current:null};function I(){var e=B.current;if(null===e)throw Error(v(321));return e}var L={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return H(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;R(e,A,t=C(null,null,t,r)),$(t)},count:function(e){return R(e,(function(){return null}),null)},toArray:function(e){var t=[];return H(e,t,null,(function(e){return e})),t},only:function(e){if(!x(e))throw Error(v(143));return e}},t.Component=E,t.Fragment=o,t.Profiler=f,t.PureComponent=j,t.StrictMode=c,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,r){if(null==e)throw Error(v(267,e));var u=n({},e.props),a=e.key,o=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,c=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var f=e.type.defaultProps;for(i in t)N.call(t,i)&&!M.hasOwnProperty(i)&&(u[i]=void 0===t[i]&&void 0!==f?f[i]:t[i])}var i=arguments.length-2;if(1===i)u.children=r;else if(1<i){f=Array(i);for(var s=0;s<i;s++)f[s]=arguments[s+2];u.children=f}return{$$typeof:l,type:e.type,key:a,ref:o,props:u,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:_,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return I().useCallback(e,t)},t.useContext=function(e,t){return I().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return I().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return I().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return I().useLayoutEffect(e,t)},t.useMemo=function(e,t){return I().useMemo(e,t)},t.useReducer=function(e,t,r){return I().useReducer(e,t,r)},t.useRef=function(e){return I().useRef(e)},t.useState=function(e){return I().useState(e)},t.version="16.13.1"},function(e,t,r){"use strict"; | ||
/* | ||
@@ -15,2 +15,2 @@ object-assign | ||
@license MIT | ||
*/var n=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=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 t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,o,c=a(e),f=1;f<arguments.length;f++){for(var i in r=Object(arguments[f]))u.call(r,i)&&(c[i]=r[i]);if(n){o=n(r);for(var s=0;s<o.length;s++)l.call(r,o[s])&&(c[o[s]]=r[o[s]])}}return c}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=f(r(0)),u=f(r(2)),l=f(r(3)),a=f(r(4)),o=f(r(1)),c=f(r(5));function f(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=n.default.createElement("div",{className:"ds-big-article__info"},n.default.createElement(o.default,null,e.title),n.default.createElement(c.default,null,e.subText),n.default.createElement(l.default,{to:e.btnTo,className:"ds-big-article__button"},e.btnText)),r=n.default.createElement(a.default,{src:e.imgSrc,caption:e.imgCaption}),f=e.left?n.default.createElement("div",null,t,r):n.default.createElement("div",null,r,t);return n.default.createElement(u.default,{className:"ds-big-article"},f)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("p",{className:"ds-copy"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(r(0)),u=o(r(3)),l=o(r(8)),a=o(r(9));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return n.default.createElement(Section,{around:!0},n.default.createElement(l.default,null,n.default.createElement(a.default,{className:"ds-cta__text"},e.text),n.default.createElement(u.default,{to:"#",space:!0},e.btnText)))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=f(r(0)),u=f(r(2)),l=f(r(6)),a=f(r(7)),o=f(r(1)),c=f(r(11));function f(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return n.default.createElement("footer",{className:"ds-footer"},n.default.createElement(c.default,null,n.default.createElement(u.default,null,n.default.createElement(o.default,{className:"ds-footer__title",size:3},e.title),n.default.createElement(a.default,null,n.default.createElement(l.default,{className:"ds-footer__link",to:"#"},"About"),n.default.createElement(l.default,{className:"ds-footer__link",to:"#"},"Story"),n.default.createElement(l.default,{className:"ds-footer__link",to:"#"},"Team"),n.default.createElement(l.default,{className:"ds-footer__link",to:"#"},"Contact")))))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(r(0)),u=c(r(6)),l=c(r(7)),a=c(r(1)),o=c(r(12));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(){return n.default.createElement("header",{className:"ds-header"},n.default.createElement(a.default,{size:2},e.title),n.default.createElement(l.default,null,n.default.createElement(u.default,{to:"#"},"About"),n.default.createElement(u.default,{to:"#"},"Story"),n.default.createElement(u.default,{to:"#"},"Team"),n.default.createElement(u.default,{to:"#"},"Contact")))};return e.fullWidth?n.default.createElement(t,null):n.default.createElement(o.default,null,n.default.createElement(t,null))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(r(0)),u=c(r(4)),l=c(r(1)),a=c(r(13)),o=c(r(5));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return n.default.createElement("div",{className:"ds-small-article"},n.default.createElement(u.default,{className:"ds-small-article__img",small:!0,src:e.imgSrc,caption:e.imgCaption}),n.default.createElement(l.default,{size:2},e.title),n.default.createElement(o.default,null,e.subText),n.default.createElement(a.default,{className:"ds-small-article__button",to:e.btnTo},e.btnText))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("div",{className:"ds-vert-space"})}}]); | ||
*/var n=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=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 t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,o,c=a(e),f=1;f<arguments.length;f++){for(var i in r=Object(arguments[f]))u.call(r,i)&&(c[i]=r[i]);if(n){o=n(r);for(var s=0;s<o.length;s++)l.call(r,o[s])&&(c[o[s]]=r[o[s]])}}return c}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=f(r(0)),u=f(r(2)),l=f(r(3)),a=f(r(4)),o=f(r(1)),c=f(r(5));function f(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=n.default.createElement("div",{className:"ds-big-article__info"},n.default.createElement(o.default,null,e.title),n.default.createElement(c.default,null,e.subText),n.default.createElement(l.default,{to:e.btnTo,className:"ds-big-article__button"},e.btnText)),r=n.default.createElement(a.default,{src:e.imgSrc,caption:e.imgCaption}),f=e.left?n.default.createElement("div",null,t,r):n.default.createElement("div",null,r,t);return n.default.createElement(u.default,{className:"ds-big-article"},f)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("p",{className:"ds-copy"},e.children)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(r(0)),u=o(r(3)),l=o(r(6)),a=o(r(7));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return n.default.createElement(Section,{around:!0},n.default.createElement(l.default,null,n.default.createElement(a.default,{className:"ds-cta__text"},e.text),n.default.createElement(u.default,{to:"#",space:!0},e.btnText)))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=f(r(0)),u=f(r(2)),l=f(r(8)),a=f(r(10)),o=f(r(1)),c=f(r(11));function f(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return n.default.createElement("footer",{className:"ds-footer"},n.default.createElement(c.default,null,n.default.createElement(u.default,null,n.default.createElement(o.default,{className:"ds-footer__title",size:3},e.title),n.default.createElement(a.default,null,n.default.createElement(l.default,{className:"ds-footer__link",to:"#"},"About"),n.default.createElement(l.default,{className:"ds-footer__link",to:"#"},"Story"),n.default.createElement(l.default,{className:"ds-footer__link",to:"#"},"Team"),n.default.createElement(l.default,{className:"ds-footer__link",to:"#"},"Contact")))))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(r(0)),u=a(r(1)),l=a(r(12));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(){return n.default.createElement("header",{className:"ds-header"},n.default.createElement(u.default,{size:2},e.title),e.children)};return e.fullWidth?n.default.createElement(t,null):n.default.createElement(l.default,null,n.default.createElement(t,null))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(r(0)),u=c(r(4)),l=c(r(1)),a=c(r(13)),o=c(r(5));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return n.default.createElement("div",{className:"ds-small-article"},n.default.createElement(u.default,{className:"ds-small-article__img",small:!0,src:e.imgSrc,caption:e.imgCaption}),n.default.createElement(l.default,{size:2},e.title),n.default.createElement(o.default,null,e.subText),n.default.createElement(a.default,{className:"ds-small-article__button",to:e.btnTo},e.btnText))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=(n=u)&&n.__esModule?n:{default:n};t.default=function(e){return l.default.createElement("div",{className:"ds-vert-space"})}}]); |
{ | ||
"name": "groy", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A practice design systems for the ages", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
25458
308