@cruk/cruk-react-components 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -3
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +2 -0
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +2 -0
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +2 -0
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
- package/lib/cjs/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js +2 -0
- package/lib/cjs/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js.map +1 -0
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusMerge.js +1 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusMerge.js.map +1 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/solver.js +1 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/solver.js.map +1 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/DOMutils.js +1 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/DOMutils.js.map +1 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/auto-focus.js +2 -0
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/auto-focus.js.map +1 -0
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js +1 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/medium.js.map +1 -1
- package/lib/cjs/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js.map +1 -1
- package/lib/cjs/node_modules/tslib/tslib.es6.js.map +1 -1
- package/lib/cjs/src/components/AddressLookup/index.js +1 -1
- package/lib/cjs/src/components/Avatar/README.md.js +1 -1
- package/lib/cjs/src/components/Avatar/README.md.js.map +1 -1
- package/lib/cjs/src/components/Button/styles.js +1 -1
- package/lib/cjs/src/components/Carousel/Dots.js +1 -1
- package/lib/cjs/src/components/Checkbox/index.js +1 -1
- package/lib/cjs/src/components/Checkbox/styles.js +1 -1
- package/lib/cjs/src/components/Collapse/index.js +1 -1
- package/lib/cjs/src/components/Header/index.js +1 -1
- package/lib/cjs/src/components/Header/styles.js +1 -1
- package/lib/cjs/src/components/Link/index.js +1 -1
- package/lib/cjs/src/components/Modal/index.js +1 -1
- package/lib/cjs/src/components/ProgressBar/styles.js +1 -1
- package/lib/cjs/src/components/Radio/styles.js +1 -1
- package/lib/cjs/src/components/Select/styles.js +1 -1
- package/lib/cjs/src/components/TextField/styles.js +1 -1
- package/lib/components/AddressLookup/index.d.ts +27 -2
- package/lib/components/Avatar/index.d.ts +1 -1
- package/lib/components/Avatar/styles.d.ts +1 -1
- package/lib/components/Badge/index.d.ts +1 -1
- package/lib/components/Badge/styles.d.ts +1 -1
- package/lib/components/Box/index.d.ts +1 -1
- package/lib/components/Button/index.d.ts +20 -2
- package/lib/components/Button/styles.d.ts +1 -1
- package/lib/components/Carousel/Dots.d.ts +1 -1
- package/lib/components/Carousel/index.d.ts +1 -1
- package/lib/components/Carousel/styles.d.ts +4 -4
- package/lib/components/Checkbox/index.d.ts +9 -2
- package/lib/components/Checkbox/styles.d.ts +1 -1
- package/lib/components/Collapse/index.d.ts +1 -1
- package/lib/components/Collapse/styles.d.ts +11 -1
- package/lib/components/DateField/index.d.ts +1 -1
- package/lib/components/Divider.d.ts +1 -1
- package/lib/components/ErrorText/index.d.ts +1 -1
- package/lib/components/Footer/index.d.ts +1 -1
- package/lib/components/Header/index.d.ts +1 -1
- package/lib/components/Header/styles.d.ts +15 -8
- package/lib/components/Heading/index.d.ts +1 -1
- package/lib/components/Icon/index.d.ts +2 -1
- package/lib/components/IconFa/index.d.ts +2 -1
- package/lib/components/InfoBox/index.d.ts +1 -1
- package/lib/components/LabelWrapper/index.d.ts +1 -1
- package/lib/components/LegendWrapper/index.d.ts +1 -1
- package/lib/components/LegendWrapper/styles.d.ts +1 -1
- package/lib/components/Link/index.d.ts +22 -2
- package/lib/components/Loader/index.d.ts +1 -0
- package/lib/components/Modal/index.d.ts +1 -1
- package/lib/components/Modal/styles.d.ts +12 -2
- package/lib/components/Pagination/index.d.ts +1 -1
- package/lib/components/Pagination/styles.d.ts +1 -1
- package/lib/components/PopOver/index.d.ts +1 -1
- package/lib/components/ProgressBar/index.d.ts +1 -1
- package/lib/components/ProgressBar/styles.d.ts +4 -4
- package/lib/components/Radio/index.d.ts +9 -2
- package/lib/components/Radio/styles.d.ts +3 -3
- package/lib/components/RadioConsent/index.d.ts +1 -1
- package/lib/components/RadioConsent/styles.d.ts +7 -2
- package/lib/components/Select/index.d.ts +1 -1
- package/lib/components/Select/styles.d.ts +1 -1
- package/lib/components/Spacing/index.d.ts +1 -1
- package/lib/components/Step/index.d.ts +1 -1
- package/lib/components/Step/styles.d.ts +2 -2
- package/lib/components/TestWrapper.d.ts +2 -2
- package/lib/components/Text/index.d.ts +1 -1
- package/lib/components/Text/styles.d.ts +1 -1
- package/lib/components/TextAreaField/index.d.ts +1 -1
- package/lib/components/TextAreaField/styles.d.ts +1 -1
- package/lib/components/TextField/index.d.ts +1 -1
- package/lib/components/TextField/styles.d.ts +2 -2
- package/lib/components/ThemeCheatSheet.d.ts +3 -1
- package/lib/components/Totaliser/index.d.ts +1 -1
- package/lib/components/Totaliser/styles.d.ts +2 -1
- package/lib/components/UserBlock/index.d.ts +1 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +2 -0
- package/lib/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
- package/lib/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +2 -0
- package/lib/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
- package/lib/es/node_modules/@babel/runtime/helpers/esm/typeof.js +2 -0
- package/lib/es/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
- package/lib/es/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js +2 -0
- package/lib/es/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js.map +1 -0
- package/lib/es/node_modules/focus-lock/dist/es2015/focusMerge.js +1 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/focusMerge.js.map +1 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/solver.js +1 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/solver.js.map +1 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/DOMutils.js +1 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/DOMutils.js.map +1 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/auto-focus.js +2 -0
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/auto-focus.js.map +1 -0
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/medium.js.map +1 -1
- package/lib/es/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js.map +1 -1
- package/lib/es/node_modules/tslib/tslib.es6.js.map +1 -1
- package/lib/es/src/components/AddressLookup/index.js +1 -1
- package/lib/es/src/components/Avatar/README.md.js +1 -1
- package/lib/es/src/components/Avatar/README.md.js.map +1 -1
- package/lib/es/src/components/Button/styles.js +1 -1
- package/lib/es/src/components/Carousel/Dots.js +1 -1
- package/lib/es/src/components/Checkbox/index.js +1 -1
- package/lib/es/src/components/Checkbox/styles.js +1 -1
- package/lib/es/src/components/Collapse/index.js +1 -1
- package/lib/es/src/components/Header/index.js +1 -1
- package/lib/es/src/components/Header/styles.js +1 -1
- package/lib/es/src/components/Link/index.js +1 -1
- package/lib/es/src/components/Modal/index.js +1 -1
- package/lib/es/src/components/ProgressBar/styles.js +1 -1
- package/lib/es/src/components/Radio/styles.js +1 -1
- package/lib/es/src/components/Select/styles.js +1 -1
- package/lib/es/src/components/TextField/styles.js +1 -1
- package/lib/hocs/MdxProvider.d.ts +1 -1
- package/lib/types.d.ts +21 -21
- package/package.json +25 -26
- package/lib/cjs/node_modules/@fortawesome/free-solid-svg-icons/index.es.js +0 -8
- package/lib/cjs/node_modules/@fortawesome/free-solid-svg-icons/index.es.js.map +0 -1
- package/lib/es/node_modules/@fortawesome/free-solid-svg-icons/index.es.js +0 -7
- package/lib/es/node_modules/@fortawesome/free-solid-svg-icons/index.es.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),l=require("styled-components"),r=require("../../hooks/useScrollPosition.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),l=require("styled-components"),r=require("../../hooks/useScrollPosition.js"),a=require("../../themes/cruk.js"),n=require("./styles.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(t),u=function(i){var u=i.isSticky,s=i.siteSlogan,d=i.logoAltText,c=i.logoImageSrc,f=i.logoLinkTitle,m=i.logoLinkUrl,S=i.fullWidth,g=i.children,y=t.useState(!1),k=y[0],p=y[1],h="undefined"!=typeof window,E=l.useTheme(),C=e.__assign(e.__assign({},a.default),E);return r.default((function(e){var t=e.currPos,l=!!h&&t.y>240;l!==k&&p(l)}),[k],null,!0,50),o.default.createElement(l.ThemeProvider,{theme:C},o.default.createElement(n.StyledHeader,null,o.default.createElement(n.HeaderStickyPlaceHolder,null,o.default.createElement(n.HeaderStickyContainer,{"data-cy":"header-sticky-container",isSmall:k,isSticky:u},o.default.createElement(n.SkipToMain,{className:"skip-main",href:"#main"},"Skip to main content"),o.default.createElement(n.HeaderMainContent,{fullWidth:S},o.default.createElement(n.StyledLink,{href:null!=m?m:C.siteConfig.logoUrl,title:null!=f?f:"Home"},o.default.createElement(n.LogoWrapper,{isSmall:k,isSticky:u},o.default.createElement(n.Logo,{src:null!=c?c:C.siteConfig.logoSrc,alt:null!=d?d:C.siteConfig.logoAlt}))),s?o.default.createElement(n.Tagline,{isSmall:k,isSticky:u},s):null,o.default.createElement(n.ChildWrapper,null,o.default.createElement(n.ChildInner,null,g)))))))};exports.Header=u,exports.default=u;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components"),t=require("../../themes/cruk.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,a,r,d,l,u,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components"),t=require("../../themes/cruk.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,a,r,d,h,l,u,s,c,p,m,f=i(e),g="120px",x="72px",b=t.default.spacing.s,y="40px",w="0.2s",k=f.default.header(o||(o=n.__makeTemplateObject(["\n box-sizing: border-box;\n position: relative;\n width: 100%;\n background-color: ",";\n z-index: 9998;\n"],["\n box-sizing: border-box;\n position: relative;\n width: 100%;\n background-color: ",";\n z-index: 9998;\n"])),(function(n){return n.theme.colors.headerBackground})),v=f.default.div(a||(a=n.__makeTemplateObject(["\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"],["\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"])),x,(function(n){return n.theme.breakpoint.desktop}),g),_=f.default.div(r||(r=n.__makeTemplateObject(["\n width: 100%;\n height: 100%;\n padding: 0 ",";\n background-color: ",";\n position: relative;\n border-bottom: ",";\n height: ",";\n\n top: ",";\n position: ",";\n transition: height "," ease;\n\n @media (min-width: ",") {\n position: ",";\n height: ",";\n }\n"],["\n width: 100%;\n height: 100%;\n padding: 0 ",";\n background-color: ",";\n position: relative;\n border-bottom: ",";\n height: ",";\n\n top: ",";\n position: ",";\n transition: height "," ease;\n\n @media (min-width: ",") {\n position: ",";\n height: ",";\n }\n"])),b,(function(n){return n.theme.colors.headerBackground}),(function(n){var e=n.theme.colors.headerBorder;return"solid 1px ".concat(e)}),x,(function(n){return n.isSticky?0:"auto"}),(function(n){return n.isSticky?"fixed":"relative"}),w,(function(n){return n.theme.breakpoint.desktop}),(function(n){return n.isSticky?"fixed":"relative"}),(function(n){var e=n.isSmall,t=n.isSticky;return e&&t?x:g})),j=f.default.div(d||(d=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n margin: 0 auto;\n max-width: ",";\n"],["\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n margin: 0 auto;\n max-width: ",";\n"])),(function(n){var e=n.fullWidth,t=n.theme.utilities.contentMaxWidth;return e?"100%":t})),z=f.default.img(h||(h=n.__makeTemplateObject(["\n height: 100%;\n width: auto;\n max-width: 100%;\n max-height: 100%;\n"],["\n height: 100%;\n width: auto;\n max-width: 100%;\n max-height: 100%;\n"]))),S=f.default.div(l||(l=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n width: auto;\n transition: height "," ease;\n\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n width: auto;\n transition: height "," ease;\n\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"])),w,y,(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.isSmall,t=n.isSticky;return e&&t?y:"80px"})),T=f.default.a(u||(u=n.__makeTemplateObject(["\n display: inline-block;\n"],["\n display: inline-block;\n"]))),O=f.default.a(s||(s=n.__makeTemplateObject(["\n left: -999px;\n position: absolute;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n z-index: -999;\n &:focus,\n &:active,\n &:focus-within {\n left: auto;\n top: auto;\n width: 30%;\n height: auto;\n overflow: auto;\n margin: 10px 35%;\n padding: ",";\n border-radius: 15px;\n border: 4px solid yellow;\n text-align: center;\n font-size: 1.2em;\n z-index: 999;\n }\n"],["\n left: -999px;\n position: absolute;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n z-index: -999;\n &:focus,\n &:active,\n &:focus-within {\n left: auto;\n top: auto;\n width: 30%;\n height: auto;\n overflow: auto;\n margin: 10px 35%;\n padding: ",";\n border-radius: 15px;\n border: 4px solid yellow;\n text-align: center;\n font-size: 1.2em;\n z-index: 999;\n }\n"])),(function(n){return n.theme.spacing.xs})),H=f.default.p(c||(c=n.__makeTemplateObject(["\n flex: 1 1 auto;\n font-family: ",";\n font-weight: ",";\n font-size: ",";\n color: ",";\n text-align: center;\n opacity: 0;\n\n transition: opacity "," ease;\n\n @media (min-width: ",") {\n opacity: ",";\n }\n"],["\n flex: 1 1 auto;\n font-family: ",";\n font-weight: ",";\n font-size: ",";\n color: ",";\n text-align: center;\n opacity: 0;\n\n transition: opacity "," ease;\n\n @media (min-width: ",") {\n opacity: ",";\n }\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.fontWeightLight}),(function(n){return n.theme.fontSizes.xl}),(function(n){return n.theme.colors.primary}),w,(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.isSmall,t=n.isSticky;return e&&t?0:1})),W=f.default.div(p||(p=n.__makeTemplateObject(["\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n"],["\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n"]))),C=f.default.div(m||(m=n.__makeTemplateObject(["\n height: auto;\n margin: auto 0;\n"],["\n height: auto;\n margin: auto 0;\n"])));exports.ChildInner=C,exports.ChildWrapper=W,exports.HeaderMainContent=j,exports.HeaderStickyContainer=_,exports.HeaderStickyPlaceHolder=v,exports.Logo=z,exports.LogoWrapper=S,exports.SkipToMain=O,exports.StyledHeader=k,exports.StyledLink=T,exports.Tagline=H;
|
|
2
2
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),r=require("react"),t=require("styled-components"),s=require("../../../node_modules/@fortawesome/free-solid-svg-icons/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),r=require("react"),t=require("styled-components"),s=require("../../../node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js"),a=require("../../themes/cruk.js"),n=require("./styles.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(r),l=r.forwardRef((function(r,i){var l=t.useTheme(),u=e.__assign(e.__assign({},a.default),l),d=r.rel?r.rel:"_blank"===r.target?"noopener noreferrer":"";return o.default.createElement(t.ThemeProvider,{theme:u},o.default.createElement(n.StyledLink,e.__assign({},r,{theme:u,rel:d,forwardedAs:"a",ref:i}),"primary"===r.appearance&&o.default.createElement(n.ChevyWithLevee,{faIcon:s.faChevronRight,size:"0.8em"}),r.children))}));exports.Link=l,exports.default=l;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),o=require("react-dom"),n=require("styled-components"),d=require("../../../node_modules/react-focus-lock/dist/es2015/Combination.js");require("../../../node_modules/react-focus-lock/dist/es2015/Lock.js"),require("../../../node_modules/react-focus-lock/dist/es2015/AutoFocusInside.js"),require("../../../node_modules/react-focus-lock/dist/es2015/MoveFocusInside.js"),require("../../../node_modules/react-focus-lock/dist/es2015/FreeFocusInside.js"),require("../../../node_modules/react-focus-lock/dist/es2015/FocusGuard.js");var r=require("../../../node_modules/@fortawesome/free-solid-svg-icons/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),o=require("react-dom"),n=require("styled-components"),d=require("../../../node_modules/react-focus-lock/dist/es2015/Combination.js");require("../../../node_modules/react-focus-lock/dist/es2015/Lock.js"),require("../../../node_modules/react-focus-lock/dist/es2015/AutoFocusInside.js"),require("../../../node_modules/react-focus-lock/dist/es2015/MoveFocusInside.js"),require("../../../node_modules/react-focus-lock/dist/es2015/FreeFocusInside.js"),require("../../../node_modules/react-focus-lock/dist/es2015/FocusGuard.js");var r=require("../../../node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js"),i=require("../IconFa/index.js"),a=require("../../themes/cruk.js"),u=require("./styles.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(t);exports.default=function(l){var c=l.modalName,m=l.closeFunction,f=l.showCloseButton,g=l.maxWidth,p=void 0===g?"500px":g,v=l.top,h=void 0===v?"1rem":v,k=l.backgroundColor,y=void 0===k?"backgroundLight":k,j=l.children,q=l.width,w=void 0===q?"90%":q,_=l.margin,b=l.marginHorizontal,E=l.marginVertical,x=l.marginTop,F=l.marginRight,C=l.marginBottom,L=void 0===C?"xxl":C,B=l.marginLeft,T=l.padding,I=void 0===T?"xs":T,z=l.paddingHorizontal,H=l.paddingVertical,R=l.paddingTop,V=l.paddingRight,P=l.paddingBottom,W=l.paddingLeft,M=n.useTheme(),A=e.__assign(e.__assign({},a.default),M),G=function(e){"Escape"===e.key&&m&&m()};return t.useEffect((function(){if("undefined"!=typeof window)return document.body.style.overflow="hidden",document.addEventListener("keydown",G),function(){"undefined"!=typeof window&&(document.body.style.overflow="unset",document.removeEventListener("keydown",G))}}),[]),s.default.createElement(s.default.Fragment,null,"undefined"!=typeof window?o.createPortal(s.default.createElement("section",null,s.default.createElement(d.default,{returnFocus:!0},s.default.createElement(n.ThemeProvider,{theme:A},s.default.createElement(u.Wrapper,{role:"dialog","aria-modal":"true","aria-label":c},s.default.createElement(u.Content,{backgroundColor:y,maxWidth:p,width:w,top:h,margin:_,marginHorizontal:b,marginVertical:E,marginTop:x,marginRight:F,marginBottom:L,marginLeft:B,padding:I,paddingHorizontal:z,paddingVertical:H,paddingTop:R,paddingRight:V,paddingBottom:P,paddingLeft:W},f&&m?s.default.createElement(u.CloseButton,{"aria-label":"close",appearance:"tertiary",onClick:function(){m()}},s.default.createElement(i.default,{faIcon:r.faClose})):null,j),s.default.createElement(u.Background,null))))),document.body):null)};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,o,i,a,s,c,l,p,d,u,h,f,m,g,b,x=t(e),k=function(t){var o=t.strokeDashoffsetInit,i=t.strokeDashoffset;return e.keyframes(r||(r=n.__makeTemplateObject(["\n 0% {\n stroke-dashoffset: "," ;\n }\n 50% {\n stroke-dashoffset: "," ;\n }\n 100% {\n stroke-dashoffset: "," ;\n }\n"],["\n 0% {\n stroke-dashoffset: "," ;\n }\n 50% {\n stroke-dashoffset: "," ;\n }\n 100% {\n stroke-dashoffset: "," ;\n }\n"])),o,i,i)},
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,o,i,a,s,c,l,p,d,u,h,f,m,g,b,x=t(e),k="16px",_=function(t){var o=t.strokeDashoffsetInit,i=t.strokeDashoffset;return e.keyframes(r||(r=n.__makeTemplateObject(["\n 0% {\n stroke-dashoffset: "," ;\n }\n 50% {\n stroke-dashoffset: "," ;\n }\n 100% {\n stroke-dashoffset: "," ;\n }\n"],["\n 0% {\n stroke-dashoffset: "," ;\n }\n 50% {\n stroke-dashoffset: "," ;\n }\n 100% {\n stroke-dashoffset: "," ;\n }\n"])),o,i,i)},y=function(t){var r=t.strokeDashoffsetInit,i=t.strokeDashoffset;return e.keyframes(o||(o=n.__makeTemplateObject(["\n 0% {\n stroke-dashoffset: "," ;\n }\n 100% {\n stroke-dashoffset: "," ;\n }\n"],["\n 0% {\n stroke-dashoffset: "," ;\n }\n 100% {\n stroke-dashoffset: "," ;\n }\n"])),r,i)},w=function(){return e.keyframes(i||(i=n.__makeTemplateObject(["\n 0% {\n width: 0px;\n height: 0px;\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n width: 64px;\n height: 64px;\n right: -32px;\n }\n"],["\n 0% {\n width: 0px;\n height: 0px;\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n width: 64px;\n height: 64px;\n right: -32px;\n }\n"])))},v=function(){return e.keyframes(a||(a=n.__makeTemplateObject(["\n 0% {\n transform: scale(1);\n border-radius: 0px;\n\n }\n 50% {\n transform:scale(1.025);\n }\n 100% {\n transform: scale(1);\n border-radius: 0px;\n }\n"],["\n 0% {\n transform: scale(1);\n border-radius: 0px;\n\n }\n 50% {\n transform:scale(1.025);\n }\n 100% {\n transform: scale(1);\n border-radius: 0px;\n }\n"])))},j=x.default.div(s||(s=n.__makeTemplateObject(["\n margin-top: ",";\n"],["\n margin-top: ",";\n"])),k),O=x.default.div(l||(l=n.__makeTemplateObject(["\n position: relative;\n height: ",";\n margin-bottom: 0;\n background-color: ",";\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n\n ","\n"],["\n position: relative;\n height: ",";\n margin-bottom: 0;\n background-color: ",";\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n\n ","\n"])),k,(function(n){return n.theme.colors.progressBarBackground}),(function(t){var r=t.percentage,o=t.secondaryPercentage;return(100===r||100===o)&&e.css(c||(c=n.__makeTemplateObject(["\n animation: "," 0.3s 0.5s 1 ease-out;\n "],["\n animation: "," 0.3s 0.5s 1 ease-out;\n "])),v)})),T=x.default.div(d||(d=n.__makeTemplateObject(["\n position: absolute;\n left: 0;\n height: ",";\n background-color: ",";\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n transition: width 0.6s ease;\n width: ",'%;\n\n &::before {\n content: "";\n display: inline-block;\n position: absolute;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n width: 0px;\n height: 0px;\n border-radius: 50%;\n opacity: 0;\n filter: blur(2px);\n background-color: ',";\n\n ","\n }\n"],["\n position: absolute;\n left: 0;\n height: ",";\n background-color: ",";\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n transition: width 0.6s ease;\n width: ",'%;\n\n &::before {\n content: "";\n display: inline-block;\n position: absolute;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n width: 0px;\n height: 0px;\n border-radius: 50%;\n opacity: 0;\n filter: blur(2px);\n background-color: ',";\n\n ","\n }\n"])),k,(function(n){var e=n.barColor,t=n.isSecondary,r=n.theme.colors,o=r.progressBar,i=r.progressBarSecondary;return e||t?i:o}),(function(n){return n.percentage}),(function(n){var e=n.barColor,t=n.isSecondary,r=n.theme.colors,o=r.progressBar,i=r.progressBarSecondary;return e||t?i:o}),(function(t){return 100===t.percentage&&e.css(p||(p=n.__makeTemplateObject(["\n animation: "," 0.33s 0.75s 3 ease-in;\n "],["\n animation: "," 0.33s 0.75s 3 ease-in;\n "])),w)})),S=x.default.span(u||(u=n.__makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n"],["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n"]))),B=x.default.div(h||(h=n.__makeTemplateObject(["\n position: relative;\n width: ",";\n height: ",";\n background: none;\n margin: 0 auto;\n box-shadow: none;\n"],["\n position: relative;\n width: ",";\n height: ",";\n background: none;\n margin: 0 auto;\n box-shadow: none;\n"])),(function(n){return n.circleSize}),(function(n){return n.circleSize})),C=x.default.svg(f||(f=n.__makeTemplateObject(["\n position: absolute;\n transform: rotate(-90deg);\n fill: none;\n stroke-linecap: round;\n width: 100%;\n height: 100%;\n"],["\n position: absolute;\n transform: rotate(-90deg);\n fill: none;\n stroke-linecap: round;\n width: 100%;\n height: 100%;\n"]))),z=x.default.circle(m||(m=n.__makeTemplateObject(["\n stroke: ",";\n"],["\n stroke: ",";\n"])),(function(n){return n.theme.tokenColors.grey_200})),P=x.default.circle(g||(g=n.__makeTemplateObject(["\n stroke: ",";\n animation: ","\n 1s linear;\n"],["\n stroke: ",";\n animation: ","\n 1s linear;\n"])),(function(n){var e=n.isSecondary,t=n.barColor,r=n.theme.colors,o=r.circularProgress,i=r.circularProgressSecondary;return t||e?i:o}),(function(n){return n.isSecondary?y:_})),D=x.default.div(b||(b=n.__makeTemplateObject(["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n z-index: 2;\n font-size: ",";\n line-height: ",";\n text-align: center;\n height: 100%;\n color: ",";\n"],["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n z-index: 2;\n font-size: ",";\n line-height: ",";\n text-align: center;\n height: 100%;\n color: ",";\n"])),(function(n){return n.theme.fontSizes.l}),(function(n){return n.theme.fontSizes.l}),(function(n){return n.theme.colors.textDark}));exports.CircleSvg=C,exports.CircularValue=D,exports.CircularWrapper=B,exports.EmptyCircle=z,exports.FullCircle=P,exports.LineProgressBar=T,exports.LineProgressBarWrapper=O,exports.ProgressBarWrapper=j,exports.ScreenReaderOnly=S;
|
|
2
2
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,i,r,l,a,c,s,d,u,p=t(e),b=p.default.div(o||(o=n.__makeTemplateObject(["\n display: inline-block;\n height: ",";\n width: ",";\n position: absolute;\n top: calc(50% - ("," / 2));\n left: ",";\n"],["\n display: inline-block;\n height: ",";\n width: ",";\n position: absolute;\n top: calc(50% - ("," / 2));\n left: ",";\n"])),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,i,r,l,a,c,s,d,u,p=t(e),b="1.5rem",h="1rem",m=p.default.div(o||(o=n.__makeTemplateObject(["\n display: inline-block;\n height: ",";\n width: ",";\n position: absolute;\n top: calc(50% - ("," / 2));\n left: ",";\n"],["\n display: inline-block;\n height: ",";\n width: ",";\n position: absolute;\n top: calc(50% - ("," / 2));\n left: ",";\n"])),b,b,b,(function(n){return n.theme.spacing.xs})),g=p.default.span(i||(i=n.__makeTemplateObject(["\n display: block;\n position: relative;\n border: 2px solid ",";\n border-radius: 100%;\n height: ",";\n width: ",';\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 5;\n transition: border 0.25s linear, box-shadow 0.25s linear;\n\n ::before {\n display: block;\n position: absolute;\n content: "";\n border-radius: 100%;\n height: ',";\n width: ",";\n top: calc(50% - ("," / 2));\n left: calc(50% - ("," / 2));\n margin: auto;\n transition: background-color 0.25s linear;\n }\n"],["\n display: block;\n position: relative;\n border: 2px solid ",";\n border-radius: 100%;\n height: ",";\n width: ",';\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 5;\n transition: border 0.25s linear, box-shadow 0.25s linear;\n\n ::before {\n display: block;\n position: absolute;\n content: "";\n border-radius: 100%;\n height: ',";\n width: ",";\n top: calc(50% - ("," / 2));\n left: calc(50% - ("," / 2));\n margin: auto;\n transition: background-color 0.25s linear;\n }\n"])),(function(n){return n.theme.colors.selectionBorder}),b,b,h,h,h,h),f=p.default.label(l||(l=n.__makeTemplateObject(["\n background-color: ",";\n width: 100%;\n position: relative;\n border-width: ",";\n border-style: solid;\n border-color: ",";\n cursor: pointer;\n display: inline-block;\n font-weight: ",";\n color: ",";\n padding: ",";\n vertical-align: middle;\n\n &:focus ~ "," "," {\n outline: 2px solid #7aacfe; /* for non-webkit browsers */\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n ","\n"],["\n background-color: ",";\n width: 100%;\n position: relative;\n border-width: ",";\n border-style: solid;\n border-color: ",";\n cursor: pointer;\n display: inline-block;\n font-weight: ",";\n color: ",";\n padding: ",";\n vertical-align: middle;\n\n &:focus ~ "," "," {\n outline: 2px solid #7aacfe; /* for non-webkit browsers */\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n ","\n"])),(function(n){return n.theme.colors.backgroundLight}),(function(n){return n.theme.utilities.inputBorderWidth}),(function(n){var e=n.hasError,t=n.theme,o=n.checked;return e?t.colors.textError:o&&!t.utilities.useDefaultFocusRect?t.colors.primary:t.colors.inputBorder}),(function(n){return n.checked?"bold":"normal"}),(function(n){var e=n.theme;return n.disabled?e.colors.disabled:e.colors.textDark}),(function(n){var e=n.theme;return"calc( (".concat("3em"," - ( ").concat(e.utilities.inputBorderWidth," * 2) - ").concat(e.typography.lineHeight," ) / 2) ").concat(e.spacing.m," calc( (").concat("3em"," - ( ").concat(e.utilities.inputBorderWidth," * 2) - ").concat(e.typography.lineHeight," ) / 2) ").concat(e.spacing.xl)}),m,g,(function(t){return t.theme.utilities.useDefaultFromControls?null:e.css(r||(r=n.__makeTemplateObject(["\n min-height: 2rem;\n\n &:hover "," "," {\n border: solid 2px\n ",";\n }\n "],["\n min-height: 2rem;\n\n &:hover "," "," {\n border: solid 2px\n ",";\n }\n "])),m,g,(function(n){return n.theme.colors.primary}))})),k=p.default.span(a||(a=n.__makeTemplateObject(["\n vertical-align: middle;\n line-height: 100%;\n background-color: ",";\n z-index: 1;\n"],["\n vertical-align: middle;\n line-height: 100%;\n background-color: ",";\n z-index: 1;\n"])),(function(n){return n.theme.colors.backgroundLight})),x=p.default.div(c||(c=n.__makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0);\n z-index: 0;\n"],["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0);\n z-index: 0;\n"]))),w=p.default.input(u||(u=n.__makeTemplateObject(["\n margin-right: ",";\n\n ","\n"],["\n margin-right: ",";\n\n ","\n"])),(function(n){return n.theme.spacing.xxs}),(function(t){var o=t.theme;return o.utilities.useDefaultFromControls?e.css(s||(s=n.__makeTemplateObject(["\n position: absolute;\n display: inline-block;\n transform: translate(-50%, -50%);\n top: 50%;\n margin: 0;\n padding: 0;\n left: ",";\n "],["\n position: absolute;\n display: inline-block;\n transform: translate(-50%, -50%);\n top: 50%;\n margin: 0;\n padding: 0;\n left: ",";\n "])),(function(n){return n.theme.spacing.s})):e.css(d||(d=n.__makeTemplateObject(["\n position: absolute;\n left: ",";\n opacity: 0;\n\n &:focus ~ "," {\n outline: none !important;\n box-shadow: inset 0 0 0 2px ",";\n box-shadow: inset 0 0 0 2px -webkit-focus-ring-color;\n }\n\n &:checked ~ "," ","::before {\n background: ",";\n }\n "],["\n position: absolute;\n left: ",";\n opacity: 0;\n\n &:focus ~ "," {\n outline: none !important;\n box-shadow: inset 0 0 0 2px ",";\n box-shadow: inset 0 0 0 2px -webkit-focus-ring-color;\n }\n\n &:checked ~ "," ","::before {\n background: ",";\n }\n "])),(function(n){return n.theme.spacing.xxs}),x,o.colors.inputBorder,m,g,o.colors.primary)}));exports.Check=g,exports.CheckWrapper=m,exports.SelectedBorder=x,exports.StyledInput=w,exports.StyledLabel=f,exports.VerticalAlign=k;
|
|
2
2
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,t,c=r(e).default.select(t||(t=n.__makeTemplateObject(["\n appearance: none;\n background: linear-gradient(\n 45deg,\n "," 50%,\n "," 50%\n ),\n linear-gradient(\n 135deg,\n "," 50%,\n "," 50%\n );\n background-color: ",";\n background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;\n background-size: 6px 6px;\n background-repeat: no-repeat;\n border: ",";\n color: ",";\n display: block;\n font-size: ",";\n min-height: ",";\n padding: ",";\n width: 100%;\n transition: border-color 150ms linear;\n &:disabled {\n border-color: ",";\n color: ",";\n }\n\n ",";\n"],["\n appearance: none;\n background: linear-gradient(\n 45deg,\n "," 50%,\n "," 50%\n ),\n linear-gradient(\n 135deg,\n "," 50%,\n "," 50%\n );\n background-color: ",";\n background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;\n background-size: 6px 6px;\n background-repeat: no-repeat;\n border: ",";\n color: ",";\n display: block;\n font-size: ",";\n min-height: ",";\n padding: ",";\n width: 100%;\n transition: border-color 150ms linear;\n &:disabled {\n border-color: ",";\n color: ",";\n }\n\n ",";\n"])),(function(n){return n.theme.colors.backgroundLight}),(function(n){return n.theme.colors.selectBackground}),(function(n){return n.theme.colors.selectBackground}),(function(n){return n.theme.colors.backgroundLight}),(function(n){return n.theme.colors.backgroundLight}),(function(n){var e=n.theme,r=n.hasError,o=n.errorMessage;return"solid ".concat(e.utilities.inputBorderWidth," ").concat(r||o?e.colors.textError:e.colors.textInputBorder)}),(function(n){return n.theme.colors.textDark}),(function(n){return n.theme.fontSizes.m}),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,t,c="3rem",i=r(e).default.select(t||(t=n.__makeTemplateObject(["\n appearance: none;\n background: linear-gradient(\n 45deg,\n "," 50%,\n "," 50%\n ),\n linear-gradient(\n 135deg,\n "," 50%,\n "," 50%\n );\n background-color: ",";\n background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;\n background-size: 6px 6px;\n background-repeat: no-repeat;\n border: ",";\n color: ",";\n display: block;\n font-size: ",";\n min-height: ",";\n padding: ",";\n width: 100%;\n transition: border-color 150ms linear;\n &:disabled {\n border-color: ",";\n color: ",";\n }\n\n ",";\n"],["\n appearance: none;\n background: linear-gradient(\n 45deg,\n "," 50%,\n "," 50%\n ),\n linear-gradient(\n 135deg,\n "," 50%,\n "," 50%\n );\n background-color: ",";\n background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;\n background-size: 6px 6px;\n background-repeat: no-repeat;\n border: ",";\n color: ",";\n display: block;\n font-size: ",";\n min-height: ",";\n padding: ",";\n width: 100%;\n transition: border-color 150ms linear;\n &:disabled {\n border-color: ",";\n color: ",";\n }\n\n ",";\n"])),(function(n){return n.theme.colors.backgroundLight}),(function(n){return n.theme.colors.selectBackground}),(function(n){return n.theme.colors.selectBackground}),(function(n){return n.theme.colors.backgroundLight}),(function(n){return n.theme.colors.backgroundLight}),(function(n){var e=n.theme,r=n.hasError,o=n.errorMessage;return"solid ".concat(e.utilities.inputBorderWidth," ").concat(r||o?e.colors.textError:e.colors.textInputBorder)}),(function(n){return n.theme.colors.textDark}),(function(n){return n.theme.fontSizes.m}),c,(function(n){var e=n.theme;return"calc( (".concat(c," - ( ").concat(e.utilities.inputBorderWidth," * 2) - ").concat(e.typography.lineHeight," ) / 2) ").concat(e.spacing.m," calc( (").concat(c," - ( ").concat(e.utilities.inputBorderWidth," * 2) - ").concat(e.typography.lineHeight," ) / 2) ").concat(e.spacing.xs)}),(function(n){return n.theme.colors.disabled}),(function(n){return n.theme.colors.disabled}),(function(r){var t=r.theme;return t.utilities.useDefaultFocusRect?null:e.css(o||(o=n.__makeTemplateObject(["\n &:focus {\n outline: 0;\n border-color: ",";\n }\n "],["\n &:focus {\n outline: 0;\n border-color: ",";\n }\n "])),t.colors.tertiary)}));exports.StyledSelect=i,exports.default=i;
|
|
2
2
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),t=require("styled-components");function e(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var A,o,i,r,a,l,c,g,b,u,d,s=e(t),m=s.default.span(A||(A=n.__makeTemplateObject(["\n display: block;\n background-color: ",";\n color: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n padding: ",";\n margin: 0;\n line-height: 1rem;\n width: 100%;\n"],["\n display: block;\n background-color: ",";\n color: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n padding: ",";\n margin: 0;\n line-height: 1rem;\n width: 100%;\n"])),(function(n){return n.theme.colors.textInputExtraInfo}),(function(n){return n.theme.colors.textDark}),(function(n){return n.theme.fontSizes.m}),(function(n){return n.theme.typography.lineHeight}),(function(n){return n.theme.typography.fontWeightLight}),(function(n){var t=n.theme;return"calc((".concat("48px"," - 1em ) / 2) ").concat(t.spacing.xs)})),p=s.default(m)(o||(o=n.__makeTemplateObject(["\n width: initial;\n vertical-align: middle;\n height: ",";\n\n button {\n min-height: "," !important;\n }\n"],["\n width: initial;\n vertical-align: middle;\n height: ",";\n\n button {\n min-height: "," !important;\n }\n"])),"48px",(function(n){var t=n.theme;return"calc(".concat("48px"," - (2 * ").concat(t.utilities.inputBorderWidth,"))")})),h=s.default(m)(i||(i=n.__makeTemplateObject(["\n width: initial;\n border: ",";\n transition: border-color 150ms linear;\n border-left: 0;\n background-color: transparent;\n padding: 0;\n height: ",";\n vertical-align: middle;\n\n button {\n min-height: "," !important;\n }\n"],["\n width: initial;\n border: ",";\n transition: border-color 150ms linear;\n border-left: 0;\n background-color: transparent;\n padding: 0;\n height: ",";\n vertical-align: middle;\n\n button {\n min-height: "," !important;\n }\n"])),(function(n){var t=n.theme;return"solid ".concat(t.utilities.inputBorderWidth," ").concat(t.colors.textInputBorder)}),"48px",(function(n){var t=n.theme;return"calc(".concat("48px"," - (2 * ").concat(t.utilities.inputBorderWidth,"))")})),W=s.default.span(r||(r=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Z=s.default.span(c||(c=n.__makeTemplateObject(["\n position: relative;\n display: block;\n flex: 1 1;\n &:after {\n display: ",';\n position: absolute;\n width: 2em;\n z-index: 1;\n bottom: 0;\n right: 0;\n content: "";\n top: 0;\n background-repeat: no-repeat;\n background-position: ',";\n ","\n ","\n }\n"],["\n position: relative;\n display: block;\n flex: 1 1;\n &:after {\n display: ",';\n position: absolute;\n width: 2em;\n z-index: 1;\n bottom: 0;\n right: 0;\n content: "";\n top: 0;\n background-repeat: no-repeat;\n background-position: ',";\n ","\n ","\n }\n"])),(function(n){var t=n.isValidVisible;return n.isInvalidVisible||t?"block":"none"}),(function(n){var t=n.theme;return"calc( 100% - ".concat(t.spacing.xxs,") 50% ")}),(function(e){var A=e.isValid,o=e.isInvalidVisible;return!A&&o&&t.css(a||(a=n.__makeTemplateObject(['\n background-image: url("data:image/png;base64,','");\n '],['\n background-image: url("data:image/png;base64,','");\n '])),"iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAK0mlDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU9kWhs+96Y0WQDqhN0E6AaSEHkB6F5WQBBIIMSYEEbsyqOBYUBFBZQCHquDoCMhYEAsWRLFhnyCDgjoOFmyozAUeYWbeeu+tt9c693x3Z5999r65Z63/AkDxY4lEAlgJgCxhtjgq0IeWkJhEww0CCGgDAlADtiy2RMSIiAgFiE3Pf7f3d5BoxG5aT+T699//q6lwuBI2AFAywqkcCTsL4Q5kDLFF4mwAUHWI32hptmiCuxFWFSMFIiyb4PQpfjfBqZOMxk/GxET5IqwDAJ7MYonTASCbI35aDjsdyUMOQthWyOELEc5F2JPNY3EQbkN4dlbW4gn+DWFzJF4EAIWMMD31LznT/5Y/VZ6fxUqX81Rfk4b340tEAtay//PR/G/LEkin9zBFBpknDopCZuTfhO5mLg6RszA1LHya+ZzJ+EnmSYNip5kt8U2aZg7LL0S+VhAWOs1p/ACmPE82M2aauRL/6GkWL46S75Um9mVMM0s8s680M1bu53GZ8vx5vJj4ac7hx4VNsyQzOmQmxlfuF0uj5PVzhYE+M/sGyHvPkvylXz5TvjabFxMk7501Uz9XyJjJKUmQ18bh+vnPxMTK40XZPvK9RIIIeTxXECj3S3Ki5WuzkZdzZm2E/BlmsIIjphlEgFDgAByBK3KNB5HZ3NzsiSZ8F4uWifnpvGwaAzlpXBpTyLaZTbO3tbcDYOLcTr0Kb+9OnkdIHT/jS0POl2MDclZcZ3yCDQCcuQ6AwsYZn9FbAAgTfgFbKs6Z8qEnLhhABIpAFWgCPWAEzIE1sAfOwB14A38QDMJBDEgECwEb8EAWEIOlYAVY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2hFeSdGJaLot88jxwyUqbYIuVBzlfXstmu3R6D+F4XNg4MsPD0Orrwf8HF9FsVwRsYW8ZL+TEhi+eRbibkog0s7NYPt3kuSwyQN3ECdeYEVGqb0trHhLvQgkrL0fRiXql+rbE1gL7K30DyJH9QlP3H5DVd3c5YcTWgseOOm2ufjacdkuypxfrbW0FJSG2FmpsdEGV4gVXW3G9b7CgJJLNN0z+5/ARvrCnzHVZ/f30oeWZqSm+VHvI5VOxyavXODctcZl87fIVVwwxia0hFETxvbvqwe2WTjIVHb9DRIFqJrRls0+yZAq2/bleaznv+cHjZtpO6teh5XTGFZ1sQKT/jQy3E+x4PaACEX3XB6pKWxVZ0QRDFRvi2AWHFCp1xqePKL7VSlu9cKGaLMbQWGe5lExnTXYSd+6vwpmF+tv8L/oLio+JWZ6NQZEAAAAASUVORK5CYII=")}),(function(e){var A=e.isValid,o=e.isValidVisible;return A&&o&&t.css(l||(l=n.__makeTemplateObject(['\n background-image: url("data:image/png;base64,','");\n '],['\n background-image: url("data:image/png;base64,','");\n '])),"iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAK0mlDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU9kWhs+96Y0WQDqhN0E6AaSEHkB6F5WQBBIIMSYEEbsyqOBYUBFBZQCHquDoCMhYEAsWRLFhnyCDgjoOFmyozAUeYWbeeu+tt9c693x3Z5999r65Z63/AkDxY4lEAlgJgCxhtjgq0IeWkJhEww0CCGgDAlADtiy2RMSIiAgFiE3Pf7f3d5BoxG5aT+T699//q6lwuBI2AFAywqkcCTsL4Q5kDLFF4mwAUHWI32hptmiCuxFWFSMFIiyb4PQpfjfBqZOMxk/GxET5IqwDAJ7MYonTASCbI35aDjsdyUMOQthWyOELEc5F2JPNY3EQbkN4dlbW4gn+DWFzJF4EAIWMMD31LznT/5Y/VZ6fxUqX81Rfk4b340tEAtay//PR/G/LEkin9zBFBpknDopCZuTfhO5mLg6RszA1LHya+ZzJ+EnmSYNip5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hRyaTy5g6NMIPsxM4Fviu5a53r0O20orUL25CoWughzVgGup2dGZcTyO9iAy/BZz87+yphUXrkLDzr0I1jXBX7o1a44jfQUJCQu/6MKTd33IuTQDziHjU3sacfFQM9zS1CiTwfSPL7jcFcLo10ljTt6x3+tDR3MbytZu0Gt0g9mfcZx7dB1j8Sl90k5Q6dmIh2fvoGS1RysXCtLafW/ZcLL4gGQpaQY975/jzdigGrN1rd0SgEv8e16yyKREMrWIB6+e2oKqomOB/QifDqH9+FU1pDHJFq9HBvB5blafsBoQfvvENVnmQGQoqpeTSbZ4Kd9zuzLCb3TfxbNYvwlFthiUu9SO/gcnk2wxGZ/O4Bc5c2//fOCEki0SC79NBizuvdQBv7fcNK5u8oUzn2zhLihStdq1obpO7kQvwsFbGSZW4ISRLXyeMpNBa+99RGJReNd4TCZW4YSS7Tx5PngzNvVRN0nJ7h0Z7pfdsQI15dtxOFAPp5xtabwgfx3I9rboxWnBgapaiIOy3aYrmUqhRW53tZIrR87IFGtwMskW9dJlU3FJugeMJovS0MqTE0Ym2Vo3Zd8I9XVmmHCA/WWXbwcGJmJZ55cabJN/adPuo9C6E4N9lTVZc7kSq3CyyKT0dt0u+wl7+XJFBllKugEPiE7ZEXkq2RVryVCHDTn6iaagK3omKxNeV+yrwmjCeLnfRX8BLskwhmjw6AkAAAAASUVORK5CYII=")})),C=s.default.input(d||(d=n.__makeTemplateObject(["\n background-color: ",";\n background-image: none;\n border: ",";\n border-radius: 0;\n color: ",";\n display: block;\n font-size: ",";\n line-height: ",";\n min-width: 3em;\n padding: ",";\n\n /* Make sure text doesn't go behind the valid indicatior icon */\n ","\n\n width: 100%;\n transition: border-color 150ms linear;\n &:disabled {\n border-color: ",";\n color: ",";\n }\n\n ",";\n\n ","\n &:-webkit-autofill,\n &:-webkit-autofill:focus {\n box-shadow: 0 0 0 3em white inset !important;\n }\n"],["\n background-color: ",";\n background-image: none;\n border: ",";\n border-radius: 0;\n color: ",";\n display: block;\n font-size: ",";\n line-height: ",";\n min-width: 3em;\n padding: ",";\n\n /* Make sure text doesn't go behind the valid indicatior icon */\n ","\n\n width: 100%;\n transition: border-color 150ms linear;\n &:disabled {\n border-color: ",";\n color: ",";\n }\n\n ",";\n\n ","\n &:-webkit-autofill,\n &:-webkit-autofill:focus {\n box-shadow: 0 0 0 3em white inset !important;\n }\n"])),(function(n){return n.theme.colors.backgroundLight}),(function(n){var t=n.hasError,e=n.theme;return"solid ".concat(e.utilities.inputBorderWidth," ").concat(t?e.colors.textError:e.colors.textInputBorder)}),(function(n){return n.theme.colors.textDark}),(function(n){return n.theme.fontSizes.m}),(function(n){return n.theme.typography.lineHeight}),(function(n){var t=n.theme;return"calc((".concat("48px"," - (").concat(t.utilities.inputBorderWidth," * 2) - ").concat(t.typography.lineHeight," ) / 2) ").concat(t.spacing.xs)}),(function(e){var A=e.isValidVisible,o=e.isInvalidVisible;return(A||o)&&t.css(g||(g=n.__makeTemplateObject(["\n padding-right: 3rem;\n "],["\n padding-right: 3rem;\n "])))}),(function(n){return n.theme.colors.disabled}),(function(n){return n.theme.colors.disabled}),(function(e){var A=e.theme;return A.utilities.useDefaultFocusRect?null:t.css(b||(b=n.__makeTemplateObject(["\n &:focus {\n outline: 0;\n border-color: ",";\n ~ "," {\n border-color: ",";\n }\n }\n "],["\n &:focus {\n outline: 0;\n border-color: ",";\n ~ "," {\n border-color: ",";\n }\n }\n "])),A.colors.tertiary,h,A.colors.tertiary)}),(function(e){var A=e.hasError,o=e.theme;return A&&t.css(u||(u=n.__makeTemplateObject(["\n ~ "," {\n border-color: ",";\n }\n "],["\n ~ "," {\n border-color: ",";\n }\n "])),h,o.colors.textError)}));exports.Extra=m,exports.ExtraLeft=p,exports.ExtraRight=h,exports.ExtraWrapper=W,exports.StyledInput=C,exports.StyledInputWrapper=Z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),t=require("styled-components");function e(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var A,o,i,r,a,l,c,g,b,u,d,s=e(t),m="48px",p=s.default.span(A||(A=n.__makeTemplateObject(["\n display: block;\n background-color: ",";\n color: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n padding: ",";\n margin: 0;\n line-height: 1rem;\n width: 100%;\n"],["\n display: block;\n background-color: ",";\n color: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n padding: ",";\n margin: 0;\n line-height: 1rem;\n width: 100%;\n"])),(function(n){return n.theme.colors.textInputExtraInfo}),(function(n){return n.theme.colors.textDark}),(function(n){return n.theme.fontSizes.m}),(function(n){return n.theme.typography.lineHeight}),(function(n){return n.theme.typography.fontWeightLight}),(function(n){var t=n.theme;return"calc((".concat(m," - 1em ) / 2) ").concat(t.spacing.xs)})),h=s.default(p)(o||(o=n.__makeTemplateObject(["\n width: initial;\n vertical-align: middle;\n height: ",";\n\n button {\n min-height: "," !important;\n }\n"],["\n width: initial;\n vertical-align: middle;\n height: ",";\n\n button {\n min-height: "," !important;\n }\n"])),m,(function(n){var t=n.theme;return"calc(".concat(m," - (2 * ").concat(t.utilities.inputBorderWidth,"))")})),W=s.default(p)(i||(i=n.__makeTemplateObject(["\n width: initial;\n border: ",";\n transition: border-color 150ms linear;\n border-left: 0;\n background-color: transparent;\n padding: 0;\n height: ",";\n vertical-align: middle;\n\n button {\n min-height: "," !important;\n }\n"],["\n width: initial;\n border: ",";\n transition: border-color 150ms linear;\n border-left: 0;\n background-color: transparent;\n padding: 0;\n height: ",";\n vertical-align: middle;\n\n button {\n min-height: "," !important;\n }\n"])),(function(n){var t=n.theme;return"solid ".concat(t.utilities.inputBorderWidth," ").concat(t.colors.textInputBorder)}),m,(function(n){var t=n.theme;return"calc(".concat(m," - (2 * ").concat(t.utilities.inputBorderWidth,"))")})),Z=s.default.span(r||(r=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),C=s.default.span(c||(c=n.__makeTemplateObject(["\n position: relative;\n display: block;\n flex: 1 1;\n &:after {\n display: ",';\n position: absolute;\n width: 2em;\n z-index: 1;\n bottom: 0;\n right: 0;\n content: "";\n top: 0;\n background-repeat: no-repeat;\n background-position: ',";\n ","\n ","\n }\n"],["\n position: relative;\n display: block;\n flex: 1 1;\n &:after {\n display: ",';\n position: absolute;\n width: 2em;\n z-index: 1;\n bottom: 0;\n right: 0;\n content: "";\n top: 0;\n background-repeat: no-repeat;\n background-position: ',";\n ","\n ","\n }\n"])),(function(n){var t=n.isValidVisible;return n.isInvalidVisible||t?"block":"none"}),(function(n){var t=n.theme;return"calc( 100% - ".concat(t.spacing.xxs,") 50% ")}),(function(e){var A=e.isValid,o=e.isInvalidVisible;return!A&&o&&t.css(a||(a=n.__makeTemplateObject(['\n background-image: url("data:image/png;base64,','");\n '],['\n background-image: url("data:image/png;base64,','");\n '])),"iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAK0mlDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU9kWhs+96Y0WQDqhN0E6AaSEHkB6F5WQBBIIMSYEEbsyqOBYUBFBZQCHquDoCMhYEAsWRLFhnyCDgjoOFmyozAUeYWbeeu+tt9c693x3Z5999r65Z63/AkDxY4lEAlgJgCxhtjgq0IeWkJhEww0CCGgDAlADtiy2RMSIiAgFiE3Pf7f3d5BoxG5aT+T699//q6lwuBI2AFAywqkcCTsL4Q5kDLFF4mwAUHWI32hptmiCuxFWFSMFIiyb4PQpfjfBqZOMxk/GxET5IqwDAJ7MYonTASCbI35aDjsdyUMOQthWyOELEc5F2JPNY3EQbkN4dlbW4gn+DWFzJF4EAIWMMD31LznT/5Y/VZ6fxUqX81Rfk4b340tEAtay//PR/G/LEkin9zBFBpknDopCZuTfhO5mLg6RszA1LHya+ZzJ+EnmSYNip5kt8U2aZg7LL0S+VhAWOs1p/ACmPE82M2aauRL/6GkWL46S75Um9mVMM0s8s680M1bu53GZ8vx5vJj4ac7hx4VNsyQzOmQmxlfuF0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boXe0A4axaRc95kzA5+aweuESrLGEK6hQJVhbhejrV2AVFfYQOwGfn8dqUwxWYsZ2bqUTrDqA6PsBsNJSOVxTkOT1G9uGE4sekFhKZAKr9yU2Pn9RNtmyUABFDcddNi/FK45YxCTRYFpIPn6SM9bo7kLkbR/C55pzfMpAcONFXMbpTaeUWbaSKdhaemgI6dkfLicp5sCguDOE4889kyh4INYMPjMD8+uoi0FMYgc6Sko6rdFvLicp1tgkMD2JYCwmLjEL0Zc24XPBEwksn2lB5vt8DkOLhhFoD+mdmZ//Tmh2hFeSdGJaLot88jxwyUqbYIuVBzlfXstmu3R6D+F4XNg4MsPD0Orrwf8HF9FsVwRsYW8ZL+TEhi+eRbibkog0s7NYPt3kuSwyQN3ECdeYEVGqb0trHhLvQgkrL0fRiXql+rbE1gL7K30DyJH9QlP3H5DVd3c5YcTWgseOOm2ufjacdkuypxfrbW0FJSG2FmpsdEGV4gVXW3G9b7CgJJLNN0z+5/ARvrCnzHVZ/f30oeWZqSm+VHvI5VOxyavXODctcZl87fIVVwwxia0hFETxvbvqwe2WTjIVHb9DRIFqJrRls0+yZAq2/bleaznv+cHjZtpO6teh5XTGFZ1sQKT/jQy3E+x4PaACEX3XB6pKWxVZ0QRDFRvi2AWHFCp1xqePKL7VSlu9cKGaLMbQWGe5lExnTXYSd+6vwpmF+tv8L/oLio+JWZ6NQZEAAAAASUVORK5CYII=")}),(function(e){var A=e.isValid,o=e.isValidVisible;return A&&o&&t.css(l||(l=n.__makeTemplateObject(['\n background-image: url("data:image/png;base64,','");\n '],['\n background-image: url("data:image/png;base64,','");\n '])),"iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAK0mlDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU9kWhs+96Y0WQDqhN0E6AaSEHkB6F5WQBBIIMSYEEbsyqOBYUBFBZQCHquDoCMhYEAsWRLFhnyCDgjoOFmyozAUeYWbeeu+tt9c693x3Z5999r65Z63/AkDxY4lEAlgJgCxh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xYRGltZW5zaW9uPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4K2qAMJwAAAoBJREFUSA21ll9IU1Ecx787m0ora7m0cpnQrCY+REh/9KHCosCX7CmwRUFQUVDQk2RIrOytoAdhBkEP5UsP6otQD6MImhXSkzhBIxUptWwlLdK5Ot8b53LvNtfuFb8Pu797zu/3+d4z7vmd6/gjhRyaTy5g6NMIPsxM4Fviu5a53r0O20orUL25CoWughzVgGup2dGZcTyO9iAy/BZz87+yphUXrkLDzr0I1jXBX7o1a44jfQUJCQu/6MKTd33IuTQDziHjU3sacfFQM9zS1CiTwfSPL7jcFcLo10ljTt6x3+tDR3MbytZu0Gt0g9mfcZx7dB1j8Sl90k5Q6dmIh2fvoGS1RysXCtLafW/ZcLL4gGQpaQY975/jzdigGrN1rd0SgEv8e16yyKREMrWIB6+e2oKqomOB/QifDqH9+FU1pDHJFq9HBvB5blafsBoQfvvENVnmQGQoqpeTSbZ4Kd9zuzLCb3TfxbNYvwlFthiUu9SO/gcnk2wxGZ/O4Bc5c2//fOCEki0SC79NBizuvdQBv7fcNK5u8oUzn2zhLihStdq1obpO7kQvwsFbGSZW4ISRLXyeMpNBa+99RGJReNd4TCZW4YSS7Tx5PngzNvVRN0nJ7h0Z7pfdsQI15dtxOFAPp5xtabwgfx3I9rboxWnBgapaiIOy3aYrmUqhRW53tZIrR87IFGtwMskW9dJlU3FJugeMJovS0MqTE0Ym2Vo3Zd8I9XVmmHCA/WWXbwcGJmJZ55cabJN/adPuo9C6E4N9lTVZc7kSq3CyyKT0dt0u+wl7+XJFBllKugEPiE7ZEXkq2RVryVCHDTn6iaagK3omKxNeV+yrwmjCeLnfRX8BLskwhmjw6AkAAAAASUVORK5CYII=")})),I=s.default.input(d||(d=n.__makeTemplateObject(["\n background-color: ",";\n background-image: none;\n border: ",";\n border-radius: 0;\n color: ",";\n display: block;\n font-size: ",";\n line-height: ",";\n min-width: 3em;\n padding: ",";\n\n /* Make sure text doesn't go behind the valid indicatior icon */\n ","\n\n width: 100%;\n transition: border-color 150ms linear;\n &:disabled {\n border-color: ",";\n color: ",";\n }\n\n ",";\n\n ","\n &:-webkit-autofill,\n &:-webkit-autofill:focus {\n box-shadow: 0 0 0 3em white inset !important;\n }\n"],["\n background-color: ",";\n background-image: none;\n border: ",";\n border-radius: 0;\n color: ",";\n display: block;\n font-size: ",";\n line-height: ",";\n min-width: 3em;\n padding: ",";\n\n /* Make sure text doesn't go behind the valid indicatior icon */\n ","\n\n width: 100%;\n transition: border-color 150ms linear;\n &:disabled {\n border-color: ",";\n color: ",";\n }\n\n ",";\n\n ","\n &:-webkit-autofill,\n &:-webkit-autofill:focus {\n box-shadow: 0 0 0 3em white inset !important;\n }\n"])),(function(n){return n.theme.colors.backgroundLight}),(function(n){var t=n.hasError,e=n.theme;return"solid ".concat(e.utilities.inputBorderWidth," ").concat(t?e.colors.textError:e.colors.textInputBorder)}),(function(n){return n.theme.colors.textDark}),(function(n){return n.theme.fontSizes.m}),(function(n){return n.theme.typography.lineHeight}),(function(n){var t=n.theme;return"calc((".concat(m," - (").concat(t.utilities.inputBorderWidth," * 2) - ").concat(t.typography.lineHeight," ) / 2) ").concat(t.spacing.xs)}),(function(e){var A=e.isValidVisible,o=e.isInvalidVisible;return(A||o)&&t.css(g||(g=n.__makeTemplateObject(["\n padding-right: 3rem;\n "],["\n padding-right: 3rem;\n "])))}),(function(n){return n.theme.colors.disabled}),(function(n){return n.theme.colors.disabled}),(function(e){var A=e.theme;return A.utilities.useDefaultFocusRect?null:t.css(b||(b=n.__makeTemplateObject(["\n &:focus {\n outline: 0;\n border-color: ",";\n ~ "," {\n border-color: ",";\n }\n }\n "],["\n &:focus {\n outline: 0;\n border-color: ",";\n ~ "," {\n border-color: ",";\n }\n }\n "])),A.colors.tertiary,W,A.colors.tertiary)}),(function(e){var A=e.hasError,o=e.theme;return A&&t.css(u||(u=n.__makeTemplateObject(["\n ~ "," {\n border-color: ",";\n }\n "],["\n ~ "," {\n border-color: ",";\n }\n "])),W,o.colors.textError)}));exports.Extra=p,exports.ExtraLeft=h,exports.ExtraRight=W,exports.ExtraWrapper=Z,exports.StyledInput=I,exports.StyledInputWrapper=C;
|
|
2
2
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { InputHTMLAttributes, Ref, FocusEvent } from "react";
|
|
2
2
|
import { AddressDataType } from "../../types";
|
|
3
|
-
export
|
|
3
|
+
export type AddressLookupProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
4
4
|
/** api key for loqate */
|
|
5
5
|
apiKey: string;
|
|
6
6
|
/** list of countries codes you want the address look up to search within */
|
|
@@ -32,5 +32,30 @@ export declare type AddressLookupProps = InputHTMLAttributes<HTMLInputElement> &
|
|
|
32
32
|
* You will need a Loqate api key, the examples below use "MG17-ZD93-FF33-KF13" our development key.
|
|
33
33
|
* This component is generally only used for country codes including "GBR", "GGY", "IMN", "JEY". An example of this behavior is included bellow.
|
|
34
34
|
*/
|
|
35
|
-
declare const AddressLookup: React.ForwardRefExoticComponent<Pick<
|
|
35
|
+
declare const AddressLookup: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement> & {
|
|
36
|
+
/** api key for loqate */
|
|
37
|
+
apiKey: string;
|
|
38
|
+
/** list of countries codes you want the address look up to search within */
|
|
39
|
+
countries?: string[] | undefined;
|
|
40
|
+
/** callback function which is passed the selected address data */
|
|
41
|
+
onAddressSelected: (address: AddressDataType) => void;
|
|
42
|
+
/** error message */
|
|
43
|
+
errorMessage?: string | undefined;
|
|
44
|
+
/** when true a input has a red border */
|
|
45
|
+
hasError?: boolean | undefined;
|
|
46
|
+
/** flag which effects the check or cross icons to the right of the input */
|
|
47
|
+
isValid?: boolean | undefined;
|
|
48
|
+
/** flag to hide or show the check icon when valid */
|
|
49
|
+
isValidVisible?: boolean | undefined;
|
|
50
|
+
/** flag to hide or show the cross icon when invalid */
|
|
51
|
+
isInvalidVisible?: boolean | undefined;
|
|
52
|
+
/** label text */
|
|
53
|
+
label?: string | undefined;
|
|
54
|
+
/** callback function which is passed the error */
|
|
55
|
+
onAddressError?: ((error: Error) => void) | undefined;
|
|
56
|
+
/** onBlur handler */
|
|
57
|
+
onBlur?: ((e: FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
58
|
+
/** attach a DOM reference variable to your component */
|
|
59
|
+
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
60
|
+
}, "apiKey" | "countries" | "errorMessage" | "hasError" | "isValid" | "isValidVisible" | "isInvalidVisible" | "label" | "onAddressError" | "onAddressSelected" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
36
61
|
export default AddressLookup;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent, HTMLAttributes, Ref, ReactNode, ElementType } from "react";
|
|
2
2
|
import { SpacingProps } from "../Spacing";
|
|
3
|
-
export
|
|
3
|
+
export type BoxProps = SpacingProps & HTMLAttributes<HTMLElement> & {
|
|
4
4
|
/** background color of box, this will add default padding */
|
|
5
5
|
backgroundColor?: string;
|
|
6
6
|
css?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode, ButtonHTMLAttributes, Ref, ElementType } from "react";
|
|
2
2
|
import { ButtonAppearanceType } from "../../types";
|
|
3
|
-
export
|
|
3
|
+
export type Props = ButtonHTMLAttributes<HTMLElement> & {
|
|
4
4
|
/** the look and feel of the button */
|
|
5
5
|
appearance?: ButtonAppearanceType;
|
|
6
6
|
/** flag to streatch but to 100% width */
|
|
@@ -24,5 +24,23 @@ export declare type Props = ButtonHTMLAttributes<HTMLElement> & {
|
|
|
24
24
|
*
|
|
25
25
|
* Design system documentation SU2C https://zeroheight.com/79db39f7e/p/22ff0e-button/b/32e1a2
|
|
26
26
|
*/
|
|
27
|
-
export declare const Button: React.ForwardRefExoticComponent<Pick<
|
|
27
|
+
export declare const Button: React.ForwardRefExoticComponent<Pick<React.ButtonHTMLAttributes<HTMLElement> & {
|
|
28
|
+
/** the look and feel of the button */
|
|
29
|
+
appearance?: ButtonAppearanceType | undefined;
|
|
30
|
+
/** flag to streatch but to 100% width */
|
|
31
|
+
full?: boolean | undefined;
|
|
32
|
+
/** this is a url which will convert the button to an anchor tag */
|
|
33
|
+
href?: string | undefined;
|
|
34
|
+
/** the height of the button, this will add padding not increase text size */
|
|
35
|
+
size?: "m" | "l" | undefined;
|
|
36
|
+
css?: any;
|
|
37
|
+
/** styled-components polymorphism where you can use the styling of a button but convert to another element like an anchor tag */
|
|
38
|
+
as?: React.ElementType<any> | undefined;
|
|
39
|
+
/** flag to force button into an icon button shape which is square or round */
|
|
40
|
+
isIconButton?: boolean | undefined;
|
|
41
|
+
/** Element reference */
|
|
42
|
+
ref?: React.Ref<HTMLElement> | undefined;
|
|
43
|
+
/** Component reference */
|
|
44
|
+
children?: ReactNode;
|
|
45
|
+
}, keyof React.ButtonHTMLAttributes<HTMLElement> | "appearance" | "full" | "href" | "size" | "css" | "as" | "isIconButton"> & React.RefAttributes<HTMLElement>>;
|
|
28
46
|
export default Button;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThemeType, ButtonAppearanceType } from "../../types";
|
|
2
2
|
export declare const Spacer: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
3
|
-
|
|
3
|
+
type StyledButtonProps = {
|
|
4
4
|
isIconButton: boolean;
|
|
5
5
|
appearance?: ButtonAppearanceType;
|
|
6
6
|
full?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type CarouselProps = {
|
|
3
3
|
/** Index in which the carousel is scrolled to on mount */
|
|
4
4
|
startPosition?: number;
|
|
5
5
|
/** call back for on position changed first prop is the possition */
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ThemeType } from "../../types";
|
|
2
2
|
export declare const CarouselWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
|
|
3
|
+
type ThemeProps = {
|
|
4
4
|
theme: ThemeType;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type CarouselScrollAreaProps = {
|
|
7
7
|
smoothScrolling: boolean;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type CarouselCardProps = {
|
|
10
10
|
onlyChild: boolean;
|
|
11
11
|
fullWidthChild: boolean;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
type CarouselCardInnerProps = {
|
|
14
14
|
isSelected: boolean;
|
|
15
15
|
shrinkUnselectedPages: boolean;
|
|
16
16
|
onlyChild: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { InputHTMLAttributes, Ref, ReactNode } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type CheckBoxProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
3
3
|
ref?: Ref<HTMLInputElement>;
|
|
4
4
|
/** flag for error styling */
|
|
5
5
|
hasError?: boolean;
|
|
@@ -12,5 +12,12 @@ export declare type CheckBoxProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
12
12
|
*
|
|
13
13
|
* The value or children becomes the label, if you want an outer label for a checkbox or group of checkboxes please use a LegendWrapper component
|
|
14
14
|
*/
|
|
15
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Pick<
|
|
15
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement> & {
|
|
16
|
+
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
17
|
+
/** flag for error styling */
|
|
18
|
+
hasError?: boolean | undefined;
|
|
19
|
+
/** error message text */
|
|
20
|
+
errorMessage?: string | undefined;
|
|
21
|
+
children?: ReactNode;
|
|
22
|
+
}, keyof React.InputHTMLAttributes<HTMLInputElement> | "hasError" | "errorMessage"> & React.RefAttributes<HTMLInputElement>>;
|
|
16
23
|
export default Checkbox;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode, HTMLAttributes } from "react";
|
|
2
2
|
import { FontSizeType } from "../../types";
|
|
3
|
-
export
|
|
3
|
+
export type CollapseProps = HTMLAttributes<HTMLElement> & {
|
|
4
4
|
/** id is required for a11y reasons as we use aria attributes which depends on an id */
|
|
5
5
|
id: string;
|
|
6
6
|
/** text of collapse header, even if there is a custom header component this prop is still used for aria attributes */
|
|
@@ -4,7 +4,17 @@ export declare const transitionDurationSeconds = 0.5;
|
|
|
4
4
|
export declare const FlippingIcon: import("styled-components").StyledComponent<({ faIcon, color, size, ...rest }: import("../IconFa").IconFaProps) => JSX.Element, any, {
|
|
5
5
|
open: boolean;
|
|
6
6
|
}, never>;
|
|
7
|
-
export declare const DefaultHeader: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("
|
|
7
|
+
export declare const DefaultHeader: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("react").ButtonHTMLAttributes<HTMLElement> & {
|
|
8
|
+
appearance?: import("../../types").ButtonAppearanceType | undefined;
|
|
9
|
+
full?: boolean | undefined;
|
|
10
|
+
href?: string | undefined;
|
|
11
|
+
size?: "m" | "l" | undefined;
|
|
12
|
+
css?: any;
|
|
13
|
+
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
isIconButton?: boolean | undefined;
|
|
15
|
+
ref?: import("react").Ref<HTMLElement> | undefined;
|
|
16
|
+
children?: import("react").ReactNode;
|
|
17
|
+
}, "size" | keyof import("react").ButtonHTMLAttributes<HTMLElement> | "appearance" | "full" | "href" | "css" | "as" | "isIconButton"> & import("react").RefAttributes<HTMLElement>>, any, {
|
|
8
18
|
textColor?: string | undefined;
|
|
9
19
|
textSize?: FontSizeType | undefined;
|
|
10
20
|
textFontFamily?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent, HTMLAttributes } from "react";
|
|
2
2
|
import { SpacingProps } from "../Spacing";
|
|
3
|
-
export
|
|
3
|
+
export type ErrorTextProps = SpacingProps & HTMLAttributes<HTMLElement> & {
|
|
4
4
|
as?: React.ElementType;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, HTMLAttributes } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type FooterProps = HTMLAttributes<HTMLElement> & {
|
|
3
3
|
/** used to customise text in middle section, it could also be react element, this is not to be confused with the component children which is primarily for the links in the footer */
|
|
4
4
|
middleSection?: ReactNode;
|
|
5
5
|
children?: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type HeaderProps = HTMLAttributes<HTMLElement> & {
|
|
3
3
|
/** flag which make header fixed to the top even when scrolling */
|
|
4
4
|
isSticky?: boolean;
|
|
5
5
|
/** text in the middle of the header */
|
|
@@ -1,24 +1,31 @@
|
|
|
1
|
+
import { ThemeType } from "../../types";
|
|
1
2
|
export declare const StyledHeader: import("styled-components").StyledComponent<"header", any, {
|
|
2
3
|
isSmall?: boolean | undefined;
|
|
3
4
|
isSticky?: boolean | undefined;
|
|
4
5
|
fullWidth?: boolean | undefined;
|
|
5
6
|
}, never>;
|
|
6
7
|
export declare const HeaderStickyPlaceHolder: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
|
|
8
|
-
isSmall?: boolean
|
|
9
|
-
isSticky?: boolean
|
|
10
|
-
|
|
8
|
+
type HeaderStickyProps = {
|
|
9
|
+
isSmall?: boolean;
|
|
10
|
+
isSticky?: boolean;
|
|
11
|
+
theme: ThemeType;
|
|
12
|
+
};
|
|
13
|
+
export declare const HeaderStickyContainer: import("styled-components").StyledComponent<"div", any, HeaderStickyProps, never>;
|
|
11
14
|
export declare const HeaderMainContent: import("styled-components").StyledComponent<"div", any, {
|
|
12
15
|
fullWidth?: boolean | undefined;
|
|
13
16
|
}, never>;
|
|
14
17
|
export declare const Logo: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
15
|
-
|
|
16
|
-
isSmall?: boolean
|
|
17
|
-
isSticky?: boolean
|
|
18
|
-
}
|
|
18
|
+
type LogoWrapperProps = {
|
|
19
|
+
isSmall?: boolean;
|
|
20
|
+
isSticky?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export declare const LogoWrapper: import("styled-components").StyledComponent<"div", any, LogoWrapperProps, never>;
|
|
19
23
|
export declare const StyledLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
20
24
|
export declare const SkipToMain: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
21
25
|
export declare const Tagline: import("styled-components").StyledComponent<"p", any, {
|
|
22
26
|
isSmall?: boolean | undefined;
|
|
23
27
|
isSticky?: boolean | undefined;
|
|
24
28
|
}, never>;
|
|
29
|
+
export declare const ChildWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
30
|
+
export declare const ChildInner: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
31
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ElementType } from "react";
|
|
2
2
|
import { SpacingProps } from "../Spacing";
|
|
3
3
|
import { FontSizeType, WordBreakType, OverflowWrapType } from "../../types";
|
|
4
|
-
export
|
|
4
|
+
export type HeadingProps = SpacingProps & HTMLAttributes<HTMLElement> & {
|
|
5
5
|
h1?: boolean;
|
|
6
6
|
h2?: boolean;
|
|
7
7
|
h3?: boolean;
|