@cruk/cruk-react-components 1.1.7 → 1.2.0
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/package.json +5 -5
- package/CHANGELOG.md +0 -239
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
- 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/cjs/node_modules/focus-lock/dist/es2015/constants.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/constants.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusInside.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusInside.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusIsHidden.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusIsHidden.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusMerge.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusMerge.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusables.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusables.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/index.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/index.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/setFocus.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/setFocus.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/solver.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/solver.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/DOMutils.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/DOMutils.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/all-affected.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/all-affected.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/array.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/array.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/correctFocus.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/correctFocus.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/firstFocus.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/firstFocus.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/is.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/is.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/parenting.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/parenting.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabOrder.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabOrder.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabUtils.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabUtils.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabbables.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabbables.js.map +0 -1
- package/lib/cjs/node_modules/react-clientside-effect/lib/index.es.js +0 -2
- package/lib/cjs/node_modules/react-clientside-effect/lib/index.es.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Combination.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Combination.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/FocusGuard.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/FocusGuard.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Trap.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Trap.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/index.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/index.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/medium.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/medium.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/util.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/util.js.map +0 -1
- package/lib/cjs/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js +0 -2
- package/lib/cjs/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js.map +0 -1
- package/lib/cjs/node_modules/tslib/tslib.es6.js +0 -2
- package/lib/cjs/node_modules/tslib/tslib.es6.js.map +0 -1
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -2
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -2
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -2
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/lib/cjs/node_modules/use-sidecar/dist/es2015/medium.js +0 -2
- package/lib/cjs/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- package/lib/cjs/src/components/AddressLookup/README.md.js +0 -2
- package/lib/cjs/src/components/AddressLookup/README.md.js.map +0 -1
- package/lib/cjs/src/components/AddressLookup/index.js +0 -2
- package/lib/cjs/src/components/AddressLookup/index.js.map +0 -1
- package/lib/cjs/src/components/AddressLookup/styles.js +0 -2
- package/lib/cjs/src/components/AddressLookup/styles.js.map +0 -1
- package/lib/cjs/src/components/Avatar/README.md.js +0 -2
- package/lib/cjs/src/components/Avatar/README.md.js.map +0 -1
- package/lib/cjs/src/components/Avatar/index.js +0 -2
- package/lib/cjs/src/components/Avatar/index.js.map +0 -1
- package/lib/cjs/src/components/Avatar/styles.js +0 -2
- package/lib/cjs/src/components/Avatar/styles.js.map +0 -1
- package/lib/cjs/src/components/Badge/README.md.js +0 -2
- package/lib/cjs/src/components/Badge/README.md.js.map +0 -1
- package/lib/cjs/src/components/Badge/index.js +0 -2
- package/lib/cjs/src/components/Badge/index.js.map +0 -1
- package/lib/cjs/src/components/Badge/styles.js +0 -2
- package/lib/cjs/src/components/Badge/styles.js.map +0 -1
- package/lib/cjs/src/components/Box/README.md.js +0 -2
- package/lib/cjs/src/components/Box/README.md.js.map +0 -1
- package/lib/cjs/src/components/Box/index.js +0 -2
- package/lib/cjs/src/components/Box/index.js.map +0 -1
- package/lib/cjs/src/components/Box/styles.js +0 -2
- package/lib/cjs/src/components/Box/styles.js.map +0 -1
- package/lib/cjs/src/components/Button/README.md.js +0 -2
- package/lib/cjs/src/components/Button/README.md.js.map +0 -1
- package/lib/cjs/src/components/Button/index.js +0 -2
- package/lib/cjs/src/components/Button/index.js.map +0 -1
- package/lib/cjs/src/components/Button/styles.js +0 -2
- package/lib/cjs/src/components/Button/styles.js.map +0 -1
- package/lib/cjs/src/components/Carousel/Dots.js +0 -2
- package/lib/cjs/src/components/Carousel/Dots.js.map +0 -1
- package/lib/cjs/src/components/Carousel/index.js +0 -2
- package/lib/cjs/src/components/Carousel/index.js.map +0 -1
- package/lib/cjs/src/components/Carousel/styles.js +0 -2
- package/lib/cjs/src/components/Carousel/styles.js.map +0 -1
- package/lib/cjs/src/components/Checkbox/README.md.js +0 -2
- package/lib/cjs/src/components/Checkbox/README.md.js.map +0 -1
- package/lib/cjs/src/components/Checkbox/index.js +0 -2
- package/lib/cjs/src/components/Checkbox/index.js.map +0 -1
- package/lib/cjs/src/components/Checkbox/styles.js +0 -2
- package/lib/cjs/src/components/Checkbox/styles.js.map +0 -1
- package/lib/cjs/src/components/Collapse/README.md.js +0 -2
- package/lib/cjs/src/components/Collapse/README.md.js.map +0 -1
- package/lib/cjs/src/components/Collapse/index.js +0 -2
- package/lib/cjs/src/components/Collapse/index.js.map +0 -1
- package/lib/cjs/src/components/Collapse/styles.js +0 -2
- package/lib/cjs/src/components/Collapse/styles.js.map +0 -1
- package/lib/cjs/src/components/DateField/README.md.js +0 -2
- package/lib/cjs/src/components/DateField/README.md.js.map +0 -1
- package/lib/cjs/src/components/DateField/index.js +0 -2
- package/lib/cjs/src/components/DateField/index.js.map +0 -1
- package/lib/cjs/src/components/DateField/styles.js +0 -2
- package/lib/cjs/src/components/DateField/styles.js.map +0 -1
- package/lib/cjs/src/components/Divider.js +0 -2
- package/lib/cjs/src/components/Divider.js.map +0 -1
- package/lib/cjs/src/components/ErrorText/README.md.js +0 -2
- package/lib/cjs/src/components/ErrorText/README.md.js.map +0 -1
- package/lib/cjs/src/components/ErrorText/index.js +0 -2
- package/lib/cjs/src/components/ErrorText/index.js.map +0 -1
- package/lib/cjs/src/components/ErrorText/styles.js +0 -2
- package/lib/cjs/src/components/ErrorText/styles.js.map +0 -1
- package/lib/cjs/src/components/Flex.js +0 -2
- package/lib/cjs/src/components/Flex.js.map +0 -1
- package/lib/cjs/src/components/Footer/README.md.js +0 -2
- package/lib/cjs/src/components/Footer/README.md.js.map +0 -1
- package/lib/cjs/src/components/Footer/index.js +0 -2
- package/lib/cjs/src/components/Footer/index.js.map +0 -1
- package/lib/cjs/src/components/Footer/styles.js +0 -2
- package/lib/cjs/src/components/Footer/styles.js.map +0 -1
- package/lib/cjs/src/components/GlobalStyle.js +0 -2
- package/lib/cjs/src/components/GlobalStyle.js.map +0 -1
- package/lib/cjs/src/components/Header/README.md.js +0 -2
- package/lib/cjs/src/components/Header/README.md.js.map +0 -1
- package/lib/cjs/src/components/Header/index.js +0 -2
- package/lib/cjs/src/components/Header/index.js.map +0 -1
- package/lib/cjs/src/components/Header/styles.js +0 -2
- package/lib/cjs/src/components/Header/styles.js.map +0 -1
- package/lib/cjs/src/components/Heading/README.md.js +0 -2
- package/lib/cjs/src/components/Heading/README.md.js.map +0 -1
- package/lib/cjs/src/components/Heading/index.js +0 -2
- package/lib/cjs/src/components/Heading/index.js.map +0 -1
- package/lib/cjs/src/components/Heading/styles.js +0 -2
- package/lib/cjs/src/components/Heading/styles.js.map +0 -1
- package/lib/cjs/src/components/Icon/README.md.js +0 -2
- package/lib/cjs/src/components/Icon/README.md.js.map +0 -1
- package/lib/cjs/src/components/Icon/iconList.js +0 -2
- package/lib/cjs/src/components/Icon/iconList.js.map +0 -1
- package/lib/cjs/src/components/Icon/index.js +0 -2
- package/lib/cjs/src/components/Icon/index.js.map +0 -1
- package/lib/cjs/src/components/Icon/styles.js +0 -2
- package/lib/cjs/src/components/Icon/styles.js.map +0 -1
- package/lib/cjs/src/components/IconFa/README.md.js +0 -2
- package/lib/cjs/src/components/IconFa/README.md.js.map +0 -1
- package/lib/cjs/src/components/IconFa/index.js +0 -2
- package/lib/cjs/src/components/IconFa/index.js.map +0 -1
- package/lib/cjs/src/components/IconFa/styles.js +0 -2
- package/lib/cjs/src/components/IconFa/styles.js.map +0 -1
- package/lib/cjs/src/components/LabelWrapper/index.js +0 -2
- package/lib/cjs/src/components/LabelWrapper/index.js.map +0 -1
- package/lib/cjs/src/components/LabelWrapper/styles.js +0 -2
- package/lib/cjs/src/components/LabelWrapper/styles.js.map +0 -1
- package/lib/cjs/src/components/LegendWrapper/README.md.js +0 -2
- package/lib/cjs/src/components/LegendWrapper/README.md.js.map +0 -1
- package/lib/cjs/src/components/LegendWrapper/index.js +0 -2
- package/lib/cjs/src/components/LegendWrapper/index.js.map +0 -1
- package/lib/cjs/src/components/LegendWrapper/styles.js +0 -2
- package/lib/cjs/src/components/LegendWrapper/styles.js.map +0 -1
- package/lib/cjs/src/components/Link/README.md.js +0 -2
- package/lib/cjs/src/components/Link/README.md.js.map +0 -1
- package/lib/cjs/src/components/Link/index.js +0 -2
- package/lib/cjs/src/components/Link/index.js.map +0 -1
- package/lib/cjs/src/components/Link/styles.js +0 -2
- package/lib/cjs/src/components/Link/styles.js.map +0 -1
- package/lib/cjs/src/components/Loader/README.md.js +0 -2
- package/lib/cjs/src/components/Loader/README.md.js.map +0 -1
- package/lib/cjs/src/components/Loader/index.js +0 -2
- package/lib/cjs/src/components/Loader/index.js.map +0 -1
- package/lib/cjs/src/components/Loader/styles.js +0 -2
- package/lib/cjs/src/components/Loader/styles.js.map +0 -1
- package/lib/cjs/src/components/Modal/README.md.js +0 -2
- package/lib/cjs/src/components/Modal/README.md.js.map +0 -1
- package/lib/cjs/src/components/Modal/index.js +0 -2
- package/lib/cjs/src/components/Modal/index.js.map +0 -1
- package/lib/cjs/src/components/Modal/styles.js +0 -2
- package/lib/cjs/src/components/Modal/styles.js.map +0 -1
- package/lib/cjs/src/components/Pagination/README.md.js +0 -2
- package/lib/cjs/src/components/Pagination/README.md.js.map +0 -1
- package/lib/cjs/src/components/Pagination/index.js +0 -2
- package/lib/cjs/src/components/Pagination/index.js.map +0 -1
- package/lib/cjs/src/components/Pagination/styles.js +0 -2
- package/lib/cjs/src/components/Pagination/styles.js.map +0 -1
- package/lib/cjs/src/components/PopOver/README.md.js +0 -2
- package/lib/cjs/src/components/PopOver/README.md.js.map +0 -1
- package/lib/cjs/src/components/PopOver/index.js +0 -2
- package/lib/cjs/src/components/PopOver/index.js.map +0 -1
- package/lib/cjs/src/components/PopOver/styles.js +0 -2
- package/lib/cjs/src/components/PopOver/styles.js.map +0 -1
- package/lib/cjs/src/components/ProgressBar/README.md.js +0 -2
- package/lib/cjs/src/components/ProgressBar/README.md.js.map +0 -1
- package/lib/cjs/src/components/ProgressBar/index.js +0 -2
- package/lib/cjs/src/components/ProgressBar/index.js.map +0 -1
- package/lib/cjs/src/components/ProgressBar/styles.js +0 -2
- package/lib/cjs/src/components/ProgressBar/styles.js.map +0 -1
- package/lib/cjs/src/components/Radio/README.md.js +0 -2
- package/lib/cjs/src/components/Radio/README.md.js.map +0 -1
- package/lib/cjs/src/components/Radio/index.js +0 -2
- package/lib/cjs/src/components/Radio/index.js.map +0 -1
- package/lib/cjs/src/components/Radio/styles.js +0 -2
- package/lib/cjs/src/components/Radio/styles.js.map +0 -1
- package/lib/cjs/src/components/RadioConsent/README.md.js +0 -2
- package/lib/cjs/src/components/RadioConsent/README.md.js.map +0 -1
- package/lib/cjs/src/components/RadioConsent/index.js +0 -2
- package/lib/cjs/src/components/RadioConsent/index.js.map +0 -1
- package/lib/cjs/src/components/RadioConsent/styles.js +0 -2
- package/lib/cjs/src/components/RadioConsent/styles.js.map +0 -1
- package/lib/cjs/src/components/Select/README.md.js +0 -2
- package/lib/cjs/src/components/Select/README.md.js.map +0 -1
- package/lib/cjs/src/components/Select/index.js +0 -2
- package/lib/cjs/src/components/Select/index.js.map +0 -1
- package/lib/cjs/src/components/Select/styles.js +0 -2
- package/lib/cjs/src/components/Select/styles.js.map +0 -1
- package/lib/cjs/src/components/Spacing/index.js +0 -2
- package/lib/cjs/src/components/Spacing/index.js.map +0 -1
- package/lib/cjs/src/components/Step/README.md.js +0 -2
- package/lib/cjs/src/components/Step/README.md.js.map +0 -1
- package/lib/cjs/src/components/Step/index.js +0 -2
- package/lib/cjs/src/components/Step/index.js.map +0 -1
- package/lib/cjs/src/components/Step/styles.js +0 -2
- package/lib/cjs/src/components/Step/styles.js.map +0 -1
- package/lib/cjs/src/components/Text/README.md.js +0 -2
- package/lib/cjs/src/components/Text/README.md.js.map +0 -1
- package/lib/cjs/src/components/Text/index.js +0 -2
- package/lib/cjs/src/components/Text/index.js.map +0 -1
- package/lib/cjs/src/components/Text/styles.js +0 -2
- package/lib/cjs/src/components/Text/styles.js.map +0 -1
- package/lib/cjs/src/components/TextAreaField/README.md.js +0 -2
- package/lib/cjs/src/components/TextAreaField/README.md.js.map +0 -1
- package/lib/cjs/src/components/TextAreaField/index.js +0 -2
- package/lib/cjs/src/components/TextAreaField/index.js.map +0 -1
- package/lib/cjs/src/components/TextAreaField/styles.js +0 -2
- package/lib/cjs/src/components/TextAreaField/styles.js.map +0 -1
- package/lib/cjs/src/components/TextField/README.md.js +0 -2
- package/lib/cjs/src/components/TextField/README.md.js.map +0 -1
- package/lib/cjs/src/components/TextField/index.js +0 -2
- package/lib/cjs/src/components/TextField/index.js.map +0 -1
- package/lib/cjs/src/components/TextField/styles.js +0 -2
- package/lib/cjs/src/components/TextField/styles.js.map +0 -1
- package/lib/cjs/src/components/Totaliser/README.md.js +0 -2
- package/lib/cjs/src/components/Totaliser/README.md.js.map +0 -1
- package/lib/cjs/src/components/Totaliser/index.js +0 -2
- package/lib/cjs/src/components/Totaliser/index.js.map +0 -1
- package/lib/cjs/src/components/Totaliser/styles.js +0 -2
- package/lib/cjs/src/components/Totaliser/styles.js.map +0 -1
- package/lib/cjs/src/components/UserBlock/README.md.js +0 -2
- package/lib/cjs/src/components/UserBlock/README.md.js.map +0 -1
- package/lib/cjs/src/components/UserBlock/index.js +0 -2
- package/lib/cjs/src/components/UserBlock/index.js.map +0 -1
- package/lib/cjs/src/components/UserBlock/styles.js +0 -2
- package/lib/cjs/src/components/UserBlock/styles.js.map +0 -1
- package/lib/cjs/src/components/index.js +0 -2
- package/lib/cjs/src/components/index.js.map +0 -1
- package/lib/cjs/src/hooks/useEffectBrowser.js +0 -2
- package/lib/cjs/src/hooks/useEffectBrowser.js.map +0 -1
- package/lib/cjs/src/hooks/useKey.js +0 -2
- package/lib/cjs/src/hooks/useKey.js.map +0 -1
- package/lib/cjs/src/hooks/useLayoutEffectBrowser.js +0 -2
- package/lib/cjs/src/hooks/useLayoutEffectBrowser.js.map +0 -1
- package/lib/cjs/src/hooks/useScrollPosition.js +0 -2
- package/lib/cjs/src/hooks/useScrollPosition.js.map +0 -1
- package/lib/cjs/src/themes/cruk.js +0 -2
- package/lib/cjs/src/themes/cruk.js.map +0 -1
- package/lib/cjs/src/themes/su2c.js +0 -2
- package/lib/cjs/src/themes/su2c.js.map +0 -1
- package/lib/cjs/src/utils/Helper.js +0 -2
- package/lib/cjs/src/utils/Helper.js.map +0 -1
- package/lib/cjs/src/utils/debounce.js +0 -2
- package/lib/cjs/src/utils/debounce.js.map +0 -1
- package/lib/components/AddressLookup/AddressLookUp.test.cypress.d.ts +0 -1
- package/lib/components/AddressLookup/AddressLookup.stories.d.ts +0 -6
- package/lib/components/AddressLookup/index.d.ts +0 -36
- package/lib/components/AddressLookup/styles.d.ts +0 -14
- package/lib/components/Avatar/Avatar.stories.d.ts +0 -15
- package/lib/components/Avatar/Avatar.test.cypress.d.ts +0 -1
- package/lib/components/Avatar/index.d.ts +0 -15
- package/lib/components/Avatar/styles.d.ts +0 -7
- package/lib/components/Badge/Badge.stories.d.ts +0 -12
- package/lib/components/Badge/Badge.test.cypress.d.ts +0 -1
- package/lib/components/Badge/index.d.ts +0 -29
- package/lib/components/Badge/styles.d.ts +0 -11
- package/lib/components/Box/Box.stories.d.ts +0 -10
- package/lib/components/Box/Box.test.cypress.d.ts +0 -1
- package/lib/components/Box/index.d.ts +0 -18
- package/lib/components/Box/styles.d.ts +0 -8
- package/lib/components/Button/Button.stories.d.ts +0 -12
- package/lib/components/Button/Button.test.cypress.d.ts +0 -1
- package/lib/components/Button/index.d.ts +0 -28
- package/lib/components/Button/styles.d.ts +0 -13
- package/lib/components/Carousel/Carousel.stories.d.ts +0 -6
- package/lib/components/Carousel/Carousel.test.cypress.d.ts +0 -1
- package/lib/components/Carousel/Dots.d.ts +0 -12
- package/lib/components/Carousel/index.d.ts +0 -18
- package/lib/components/Carousel/styles.d.ts +0 -30
- package/lib/components/Checkbox/CheckBox.test.cypress.d.ts +0 -1
- package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -7
- package/lib/components/Checkbox/index.d.ts +0 -16
- package/lib/components/Checkbox/styles.d.ts +0 -13
- package/lib/components/Collapse/Collapse.stories.d.ts +0 -10
- package/lib/components/Collapse/Collapse.test.cypress.d.ts +0 -1
- package/lib/components/Collapse/index.d.ts +0 -29
- package/lib/components/Collapse/styles.d.ts +0 -16
- package/lib/components/DateField/DateField.stories.d.ts +0 -8
- package/lib/components/DateField/DateField.test.cypress.d.ts +0 -1
- package/lib/components/DateField/index.d.ts +0 -32
- package/lib/components/DateField/styles.d.ts +0 -4
- package/lib/components/Divider.d.ts +0 -6
- package/lib/components/ErrorText/ErrorText.stories.d.ts +0 -6
- package/lib/components/ErrorText/ErrorText.test.cypress.d.ts +0 -1
- package/lib/components/ErrorText/index.d.ts +0 -13
- package/lib/components/ErrorText/styles.d.ts +0 -3
- package/lib/components/Flex.d.ts +0 -3
- package/lib/components/Footer/Footer.stories.d.ts +0 -6
- package/lib/components/Footer/Footer.test.cypress.d.ts +0 -1
- package/lib/components/Footer/index.d.ts +0 -11
- package/lib/components/Footer/styles.d.ts +0 -11
- package/lib/components/GlobalStyle.d.ts +0 -9
- package/lib/components/Header/Header.stories.d.ts +0 -6
- package/lib/components/Header/Header.test.cypress.d.ts +0 -1
- package/lib/components/Header/index.d.ts +0 -37
- package/lib/components/Header/styles.d.ts +0 -24
- package/lib/components/Heading/Heading.stories.d.ts +0 -19
- package/lib/components/Heading/Heading.test.cypress.d.ts +0 -1
- package/lib/components/Heading/index.d.ts +0 -32
- package/lib/components/Heading/styles.d.ts +0 -50
- package/lib/components/Icon/Icon.stories.d.ts +0 -6
- package/lib/components/Icon/Icon.test.cypress.d.ts +0 -1
- package/lib/components/Icon/iconList.d.ts +0 -268
- package/lib/components/Icon/index.d.ts +0 -22
- package/lib/components/Icon/styles.d.ts +0 -5
- package/lib/components/IconFa/IconFa.stories.d.ts +0 -6
- package/lib/components/IconFa/IconFa.test.cypress.d.ts +0 -1
- package/lib/components/IconFa/index.d.ts +0 -16
- package/lib/components/IconFa/styles.d.ts +0 -5
- package/lib/components/LabelWrapper/index.d.ts +0 -14
- package/lib/components/LabelWrapper/styles.d.ts +0 -6
- package/lib/components/LegendWrapper/LegendWrapper.stories.d.ts +0 -10
- package/lib/components/LegendWrapper/LegendWrapper.test.cypress.d.ts +0 -1
- package/lib/components/LegendWrapper/index.d.ts +0 -22
- package/lib/components/LegendWrapper/styles.d.ts +0 -12
- package/lib/components/Link/Link.stories.d.ts +0 -11
- package/lib/components/Link/Link.test.cypress.d.ts +0 -1
- package/lib/components/Link/index.d.ts +0 -26
- package/lib/components/Link/styles.d.ts +0 -18
- package/lib/components/Loader/Loader.stories.d.ts +0 -5
- package/lib/components/Loader/Loader.test.cypress.d.ts +0 -1
- package/lib/components/Loader/index.d.ts +0 -6
- package/lib/components/Loader/styles.d.ts +0 -2
- package/lib/components/Modal/Modal.stories.d.ts +0 -6
- package/lib/components/Modal/Modal.test.cypress.d.ts +0 -1
- package/lib/components/Modal/index.d.ts +0 -29
- package/lib/components/Modal/styles.d.ts +0 -8
- package/lib/components/Pagination/Pagination.stories.d.ts +0 -6
- package/lib/components/Pagination/Pagination.test.cypress.d.ts +0 -1
- package/lib/components/Pagination/index.d.ts +0 -24
- package/lib/components/Pagination/styles.d.ts +0 -10
- package/lib/components/PopOver/PopOver.test.cypress.d.ts +0 -1
- package/lib/components/PopOver/Popover.stories.d.ts +0 -6
- package/lib/components/PopOver/index.d.ts +0 -24
- package/lib/components/PopOver/styles.d.ts +0 -10
- package/lib/components/ProgressBar/ProgressBar.stories.d.ts +0 -8
- package/lib/components/ProgressBar/ProgressBar.test.cypress.d.ts +0 -1
- package/lib/components/ProgressBar/index.d.ts +0 -24
- package/lib/components/ProgressBar/styles.d.ts +0 -30
- package/lib/components/Radio/Radio.stories.d.ts +0 -7
- package/lib/components/Radio/Radio.test.cypress.d.ts +0 -1
- package/lib/components/Radio/index.d.ts +0 -16
- package/lib/components/Radio/styles.d.ts +0 -19
- package/lib/components/RadioConsent/Radio.stories.d.ts +0 -6
- package/lib/components/RadioConsent/RadioConsent.test.cypress.d.ts +0 -1
- package/lib/components/RadioConsent/index.d.ts +0 -24
- package/lib/components/RadioConsent/styles.d.ts +0 -11
- package/lib/components/Select/Select.test.cypress.d.ts +0 -1
- package/lib/components/Select/Selelct.stories.d.ts +0 -8
- package/lib/components/Select/index.d.ts +0 -21
- package/lib/components/Select/styles.d.ts +0 -9
- package/lib/components/Spacing/index.d.ts +0 -19
- package/lib/components/Step/Step.stories.d.ts +0 -6
- package/lib/components/Step/Step.test.cypress.d.ts +0 -1
- package/lib/components/Step/index.d.ts +0 -15
- package/lib/components/Step/styles.d.ts +0 -13
- package/lib/components/TestWrapper.d.ts +0 -12
- package/lib/components/Text/Text.stories.d.ts +0 -6
- package/lib/components/Text/Text.test.cypress.d.ts +0 -1
- package/lib/components/Text/index.d.ts +0 -26
- package/lib/components/Text/styles.d.ts +0 -22
- package/lib/components/TextAreaField/TextAreaField.stories.d.ts +0 -8
- package/lib/components/TextAreaField/TextAreaField.test.cypress.d.ts +0 -1
- package/lib/components/TextAreaField/index.d.ts +0 -22
- package/lib/components/TextAreaField/styles.d.ts +0 -10
- package/lib/components/TextField/TextField.stories.d.ts +0 -10
- package/lib/components/TextField/TextField.test.cypress.d.ts +0 -1
- package/lib/components/TextField/index.d.ts +0 -34
- package/lib/components/TextField/styles.d.ts +0 -18
- package/lib/components/ThemeCheatSheet.d.ts +0 -5
- package/lib/components/Totaliser/Totaliser.stories.d.ts +0 -14
- package/lib/components/Totaliser/Totaliser.test.cypress.d.ts +0 -1
- package/lib/components/Totaliser/index.d.ts +0 -22
- package/lib/components/Totaliser/styles.d.ts +0 -15
- package/lib/components/UserBlock/UserBlock.stories.d.ts +0 -12
- package/lib/components/UserBlock/UserBlock.test.cypress.d.ts +0 -1
- package/lib/components/UserBlock/index.d.ts +0 -18
- package/lib/components/UserBlock/styles.d.ts +0 -4
- package/lib/components/index.d.ts +0 -68
- package/lib/docs/Docs.d.ts +0 -2
- package/lib/docs/index.d.ts +0 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -2
- package/lib/es/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/extends.js +0 -2
- package/lib/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -2
- package/lib/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -2
- package/lib/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/lib/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -2
- package/lib/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.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
- package/lib/es/node_modules/focus-lock/dist/es2015/constants.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/constants.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/focusInside.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/focusInside.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/focusIsHidden.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/focusIsHidden.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/focusMerge.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/focusMerge.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/focusables.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/focusables.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/index.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/index.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/setFocus.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/setFocus.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/solver.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/solver.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/DOMutils.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/DOMutils.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/all-affected.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/all-affected.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/array.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/array.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/correctFocus.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/correctFocus.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/firstFocus.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/firstFocus.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/is.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/is.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/parenting.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/parenting.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabOrder.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabOrder.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabUtils.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabUtils.js.map +0 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabbables.js +0 -2
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabbables.js.map +0 -1
- package/lib/es/node_modules/react-clientside-effect/lib/index.es.js +0 -2
- package/lib/es/node_modules/react-clientside-effect/lib/index.es.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Combination.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Combination.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/FocusGuard.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/FocusGuard.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Trap.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Trap.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/index.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/index.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/medium.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/medium.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/util.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/util.js.map +0 -1
- package/lib/es/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js +0 -2
- package/lib/es/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js.map +0 -1
- package/lib/es/node_modules/tslib/tslib.es6.js +0 -2
- package/lib/es/node_modules/tslib/tslib.es6.js.map +0 -1
- package/lib/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -2
- package/lib/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/lib/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -2
- package/lib/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/lib/es/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -2
- package/lib/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/lib/es/node_modules/use-sidecar/dist/es2015/medium.js +0 -2
- package/lib/es/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- package/lib/es/src/components/AddressLookup/README.md.js +0 -2
- package/lib/es/src/components/AddressLookup/README.md.js.map +0 -1
- package/lib/es/src/components/AddressLookup/index.js +0 -2
- package/lib/es/src/components/AddressLookup/index.js.map +0 -1
- package/lib/es/src/components/AddressLookup/styles.js +0 -2
- package/lib/es/src/components/AddressLookup/styles.js.map +0 -1
- package/lib/es/src/components/Avatar/README.md.js +0 -2
- package/lib/es/src/components/Avatar/README.md.js.map +0 -1
- package/lib/es/src/components/Avatar/index.js +0 -2
- package/lib/es/src/components/Avatar/index.js.map +0 -1
- package/lib/es/src/components/Avatar/styles.js +0 -2
- package/lib/es/src/components/Avatar/styles.js.map +0 -1
- package/lib/es/src/components/Badge/README.md.js +0 -2
- package/lib/es/src/components/Badge/README.md.js.map +0 -1
- package/lib/es/src/components/Badge/index.js +0 -2
- package/lib/es/src/components/Badge/index.js.map +0 -1
- package/lib/es/src/components/Badge/styles.js +0 -2
- package/lib/es/src/components/Badge/styles.js.map +0 -1
- package/lib/es/src/components/Box/README.md.js +0 -2
- package/lib/es/src/components/Box/README.md.js.map +0 -1
- package/lib/es/src/components/Box/index.js +0 -2
- package/lib/es/src/components/Box/index.js.map +0 -1
- package/lib/es/src/components/Box/styles.js +0 -2
- package/lib/es/src/components/Box/styles.js.map +0 -1
- package/lib/es/src/components/Button/README.md.js +0 -2
- package/lib/es/src/components/Button/README.md.js.map +0 -1
- package/lib/es/src/components/Button/index.js +0 -2
- package/lib/es/src/components/Button/index.js.map +0 -1
- package/lib/es/src/components/Button/styles.js +0 -2
- package/lib/es/src/components/Button/styles.js.map +0 -1
- package/lib/es/src/components/Carousel/Dots.js +0 -2
- package/lib/es/src/components/Carousel/Dots.js.map +0 -1
- package/lib/es/src/components/Carousel/index.js +0 -2
- package/lib/es/src/components/Carousel/index.js.map +0 -1
- package/lib/es/src/components/Carousel/styles.js +0 -2
- package/lib/es/src/components/Carousel/styles.js.map +0 -1
- package/lib/es/src/components/Checkbox/README.md.js +0 -2
- package/lib/es/src/components/Checkbox/README.md.js.map +0 -1
- package/lib/es/src/components/Checkbox/index.js +0 -2
- package/lib/es/src/components/Checkbox/index.js.map +0 -1
- package/lib/es/src/components/Checkbox/styles.js +0 -2
- package/lib/es/src/components/Checkbox/styles.js.map +0 -1
- package/lib/es/src/components/Collapse/README.md.js +0 -2
- package/lib/es/src/components/Collapse/README.md.js.map +0 -1
- package/lib/es/src/components/Collapse/index.js +0 -2
- package/lib/es/src/components/Collapse/index.js.map +0 -1
- package/lib/es/src/components/Collapse/styles.js +0 -2
- package/lib/es/src/components/Collapse/styles.js.map +0 -1
- package/lib/es/src/components/DateField/README.md.js +0 -2
- package/lib/es/src/components/DateField/README.md.js.map +0 -1
- package/lib/es/src/components/DateField/index.js +0 -2
- package/lib/es/src/components/DateField/index.js.map +0 -1
- package/lib/es/src/components/DateField/styles.js +0 -2
- package/lib/es/src/components/DateField/styles.js.map +0 -1
- package/lib/es/src/components/Divider.js +0 -2
- package/lib/es/src/components/Divider.js.map +0 -1
- package/lib/es/src/components/ErrorText/README.md.js +0 -2
- package/lib/es/src/components/ErrorText/README.md.js.map +0 -1
- package/lib/es/src/components/ErrorText/index.js +0 -2
- package/lib/es/src/components/ErrorText/index.js.map +0 -1
- package/lib/es/src/components/ErrorText/styles.js +0 -2
- package/lib/es/src/components/ErrorText/styles.js.map +0 -1
- package/lib/es/src/components/Flex.js +0 -2
- package/lib/es/src/components/Flex.js.map +0 -1
- package/lib/es/src/components/Footer/README.md.js +0 -2
- package/lib/es/src/components/Footer/README.md.js.map +0 -1
- package/lib/es/src/components/Footer/index.js +0 -2
- package/lib/es/src/components/Footer/index.js.map +0 -1
- package/lib/es/src/components/Footer/styles.js +0 -2
- package/lib/es/src/components/Footer/styles.js.map +0 -1
- package/lib/es/src/components/GlobalStyle.js +0 -2
- package/lib/es/src/components/GlobalStyle.js.map +0 -1
- package/lib/es/src/components/Header/README.md.js +0 -2
- package/lib/es/src/components/Header/README.md.js.map +0 -1
- package/lib/es/src/components/Header/index.js +0 -2
- package/lib/es/src/components/Header/index.js.map +0 -1
- package/lib/es/src/components/Header/styles.js +0 -2
- package/lib/es/src/components/Header/styles.js.map +0 -1
- package/lib/es/src/components/Heading/README.md.js +0 -2
- package/lib/es/src/components/Heading/README.md.js.map +0 -1
- package/lib/es/src/components/Heading/index.js +0 -2
- package/lib/es/src/components/Heading/index.js.map +0 -1
- package/lib/es/src/components/Heading/styles.js +0 -2
- package/lib/es/src/components/Heading/styles.js.map +0 -1
- package/lib/es/src/components/Icon/README.md.js +0 -2
- package/lib/es/src/components/Icon/README.md.js.map +0 -1
- package/lib/es/src/components/Icon/iconList.js +0 -2
- package/lib/es/src/components/Icon/iconList.js.map +0 -1
- package/lib/es/src/components/Icon/index.js +0 -2
- package/lib/es/src/components/Icon/index.js.map +0 -1
- package/lib/es/src/components/Icon/styles.js +0 -2
- package/lib/es/src/components/Icon/styles.js.map +0 -1
- package/lib/es/src/components/IconFa/README.md.js +0 -2
- package/lib/es/src/components/IconFa/README.md.js.map +0 -1
- package/lib/es/src/components/IconFa/index.js +0 -2
- package/lib/es/src/components/IconFa/index.js.map +0 -1
- package/lib/es/src/components/IconFa/styles.js +0 -2
- package/lib/es/src/components/IconFa/styles.js.map +0 -1
- package/lib/es/src/components/LabelWrapper/index.js +0 -2
- package/lib/es/src/components/LabelWrapper/index.js.map +0 -1
- package/lib/es/src/components/LabelWrapper/styles.js +0 -2
- package/lib/es/src/components/LabelWrapper/styles.js.map +0 -1
- package/lib/es/src/components/LegendWrapper/README.md.js +0 -2
- package/lib/es/src/components/LegendWrapper/README.md.js.map +0 -1
- package/lib/es/src/components/LegendWrapper/index.js +0 -2
- package/lib/es/src/components/LegendWrapper/index.js.map +0 -1
- package/lib/es/src/components/LegendWrapper/styles.js +0 -2
- package/lib/es/src/components/LegendWrapper/styles.js.map +0 -1
- package/lib/es/src/components/Link/README.md.js +0 -2
- package/lib/es/src/components/Link/README.md.js.map +0 -1
- package/lib/es/src/components/Link/index.js +0 -2
- package/lib/es/src/components/Link/index.js.map +0 -1
- package/lib/es/src/components/Link/styles.js +0 -2
- package/lib/es/src/components/Link/styles.js.map +0 -1
- package/lib/es/src/components/Loader/README.md.js +0 -2
- package/lib/es/src/components/Loader/README.md.js.map +0 -1
- package/lib/es/src/components/Loader/index.js +0 -2
- package/lib/es/src/components/Loader/index.js.map +0 -1
- package/lib/es/src/components/Loader/styles.js +0 -2
- package/lib/es/src/components/Loader/styles.js.map +0 -1
- package/lib/es/src/components/Modal/README.md.js +0 -2
- package/lib/es/src/components/Modal/README.md.js.map +0 -1
- package/lib/es/src/components/Modal/index.js +0 -2
- package/lib/es/src/components/Modal/index.js.map +0 -1
- package/lib/es/src/components/Modal/styles.js +0 -2
- package/lib/es/src/components/Modal/styles.js.map +0 -1
- package/lib/es/src/components/Pagination/README.md.js +0 -2
- package/lib/es/src/components/Pagination/README.md.js.map +0 -1
- package/lib/es/src/components/Pagination/index.js +0 -2
- package/lib/es/src/components/Pagination/index.js.map +0 -1
- package/lib/es/src/components/Pagination/styles.js +0 -2
- package/lib/es/src/components/Pagination/styles.js.map +0 -1
- package/lib/es/src/components/PopOver/README.md.js +0 -2
- package/lib/es/src/components/PopOver/README.md.js.map +0 -1
- package/lib/es/src/components/PopOver/index.js +0 -2
- package/lib/es/src/components/PopOver/index.js.map +0 -1
- package/lib/es/src/components/PopOver/styles.js +0 -2
- package/lib/es/src/components/PopOver/styles.js.map +0 -1
- package/lib/es/src/components/ProgressBar/README.md.js +0 -2
- package/lib/es/src/components/ProgressBar/README.md.js.map +0 -1
- package/lib/es/src/components/ProgressBar/index.js +0 -2
- package/lib/es/src/components/ProgressBar/index.js.map +0 -1
- package/lib/es/src/components/ProgressBar/styles.js +0 -2
- package/lib/es/src/components/ProgressBar/styles.js.map +0 -1
- package/lib/es/src/components/Radio/README.md.js +0 -2
- package/lib/es/src/components/Radio/README.md.js.map +0 -1
- package/lib/es/src/components/Radio/index.js +0 -2
- package/lib/es/src/components/Radio/index.js.map +0 -1
- package/lib/es/src/components/Radio/styles.js +0 -2
- package/lib/es/src/components/Radio/styles.js.map +0 -1
- package/lib/es/src/components/RadioConsent/README.md.js +0 -2
- package/lib/es/src/components/RadioConsent/README.md.js.map +0 -1
- package/lib/es/src/components/RadioConsent/index.js +0 -2
- package/lib/es/src/components/RadioConsent/index.js.map +0 -1
- package/lib/es/src/components/RadioConsent/styles.js +0 -2
- package/lib/es/src/components/RadioConsent/styles.js.map +0 -1
- package/lib/es/src/components/Select/README.md.js +0 -2
- package/lib/es/src/components/Select/README.md.js.map +0 -1
- package/lib/es/src/components/Select/index.js +0 -2
- package/lib/es/src/components/Select/index.js.map +0 -1
- package/lib/es/src/components/Select/styles.js +0 -2
- package/lib/es/src/components/Select/styles.js.map +0 -1
- package/lib/es/src/components/Spacing/index.js +0 -2
- package/lib/es/src/components/Spacing/index.js.map +0 -1
- package/lib/es/src/components/Step/README.md.js +0 -2
- package/lib/es/src/components/Step/README.md.js.map +0 -1
- package/lib/es/src/components/Step/index.js +0 -2
- package/lib/es/src/components/Step/index.js.map +0 -1
- package/lib/es/src/components/Step/styles.js +0 -2
- package/lib/es/src/components/Step/styles.js.map +0 -1
- package/lib/es/src/components/Text/README.md.js +0 -2
- package/lib/es/src/components/Text/README.md.js.map +0 -1
- package/lib/es/src/components/Text/index.js +0 -2
- package/lib/es/src/components/Text/index.js.map +0 -1
- package/lib/es/src/components/Text/styles.js +0 -2
- package/lib/es/src/components/Text/styles.js.map +0 -1
- package/lib/es/src/components/TextAreaField/README.md.js +0 -2
- package/lib/es/src/components/TextAreaField/README.md.js.map +0 -1
- package/lib/es/src/components/TextAreaField/index.js +0 -2
- package/lib/es/src/components/TextAreaField/index.js.map +0 -1
- package/lib/es/src/components/TextAreaField/styles.js +0 -2
- package/lib/es/src/components/TextAreaField/styles.js.map +0 -1
- package/lib/es/src/components/TextField/README.md.js +0 -2
- package/lib/es/src/components/TextField/README.md.js.map +0 -1
- package/lib/es/src/components/TextField/index.js +0 -2
- package/lib/es/src/components/TextField/index.js.map +0 -1
- package/lib/es/src/components/TextField/styles.js +0 -2
- package/lib/es/src/components/TextField/styles.js.map +0 -1
- package/lib/es/src/components/Totaliser/README.md.js +0 -2
- package/lib/es/src/components/Totaliser/README.md.js.map +0 -1
- package/lib/es/src/components/Totaliser/index.js +0 -2
- package/lib/es/src/components/Totaliser/index.js.map +0 -1
- package/lib/es/src/components/Totaliser/styles.js +0 -2
- package/lib/es/src/components/Totaliser/styles.js.map +0 -1
- package/lib/es/src/components/UserBlock/README.md.js +0 -2
- package/lib/es/src/components/UserBlock/README.md.js.map +0 -1
- package/lib/es/src/components/UserBlock/index.js +0 -2
- package/lib/es/src/components/UserBlock/index.js.map +0 -1
- package/lib/es/src/components/UserBlock/styles.js +0 -2
- package/lib/es/src/components/UserBlock/styles.js.map +0 -1
- package/lib/es/src/components/index.js +0 -2
- package/lib/es/src/components/index.js.map +0 -1
- package/lib/es/src/hooks/useEffectBrowser.js +0 -2
- package/lib/es/src/hooks/useEffectBrowser.js.map +0 -1
- package/lib/es/src/hooks/useKey.js +0 -2
- package/lib/es/src/hooks/useKey.js.map +0 -1
- package/lib/es/src/hooks/useLayoutEffectBrowser.js +0 -2
- package/lib/es/src/hooks/useLayoutEffectBrowser.js.map +0 -1
- package/lib/es/src/hooks/useScrollPosition.js +0 -2
- package/lib/es/src/hooks/useScrollPosition.js.map +0 -1
- package/lib/es/src/themes/cruk.js +0 -2
- package/lib/es/src/themes/cruk.js.map +0 -1
- package/lib/es/src/themes/su2c.js +0 -2
- package/lib/es/src/themes/su2c.js.map +0 -1
- package/lib/es/src/utils/Helper.js +0 -2
- package/lib/es/src/utils/Helper.js.map +0 -1
- package/lib/es/src/utils/debounce.js +0 -2
- package/lib/es/src/utils/debounce.js.map +0 -1
- package/lib/hocs/MdxProvider.d.ts +0 -6
- package/lib/hooks/useEffectBrowser.d.ts +0 -3
- package/lib/hooks/useKey.d.ts +0 -6
- package/lib/hooks/useLayoutEffectBrowser.d.ts +0 -4
- package/lib/hooks/useScrollPosition.d.ts +0 -13
- package/lib/themes/cruk.d.ts +0 -13
- package/lib/themes/su2c.d.ts +0 -13
- package/lib/types.d.ts +0 -228
- package/lib/utils/Helper.d.ts +0 -6
- package/lib/utils/__tests__/testHelpers.jest.d.ts +0 -1
- package/lib/utils/debounce.d.ts +0 -2
|
@@ -1,2 +0,0 @@
|
|
|
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"),a=require("../../themes/cruk.js"),i=require("../ErrorText/index.js"),l=require("../LabelWrapper/index.js"),d=require("./styles.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=s(r),u=r.forwardRef((function(r,s){var u=r.errorMessage,o=r.extraBottom,f=r.extraLeft,m=r.extraRight,c=r.extraTop,x=r.hasError,b=r.hintText,h=r.isValid,p=r.isValidVisible,E=r.isInvalidVisible,V=r.label,v=r.hideRequiredInLabel,q=e.__rest(r,["errorMessage","extraBottom","extraLeft","extraRight","extraTop","hasError","hintText","isValid","isValidVisible","isInvalidVisible","label","hideRequiredInLabel"]),_=t.useTheme(),g=e.__assign(e.__assign({},a.default),_),I=n.default.createElement(n.default.Fragment,null,!!f&&n.default.createElement(d.ExtraLeft,{theme:g},f),n.default.createElement(d.StyledInputWrapper,{hasError:x||!!u||!1,isValid:void 0!==h?h:!x&&!u,"aria-invalid":x||!!u||!1,isValidVisible:p||!1,isInvalidVisible:E||!1,theme:g},n.default.createElement(d.StyledInput,e.__assign({hasError:x||!!u||!1,isValid:void 0!==h?h:!x&&!u,"aria-invalid":x||!!u||!1,"aria-describedby":q.id&&u?"".concat(q.id,"-error"):void 0,isValidVisible:p||!1,isInvalidVisible:E||!1},q,{theme:g,"data-hj-suppress":!0,ref:s}))),!!m&&n.default.createElement(d.ExtraRight,{theme:g},m));return n.default.createElement(l.LabelWrapper,{label:V,hintText:b,required:q.required||!1,hideRequiredInLabel:v},!!c&&n.default.createElement(d.Extra,{theme:g},c),m||f?n.default.createElement(d.ExtraWrapper,null,I):I,!!o&&n.default.createElement(d.Extra,{theme:g},o),!!u&&n.default.createElement(i.default,{marginTop:"xxs",id:q.id?"".concat(q.id,"-error"):void 0},u))}));exports.default=u;
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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+vnPxMTK40XZPvK9R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A6PsBsNJSOVxTkOT1G9uGE4sekFhKZAKr9yU2Pn9RNtmyUABFDcddNi/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/AkDxY4lEAlgJgCxhtjgq0IeWkJhEww0CCGgDAlADtiy2RMSIiAgFiE3Pf7f3d5BoxG5aT+T699//q6lwuBI2AFA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W9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4K2qAMJwAAAoBJREFUSA21ll9IU1Ecx787m0ora7m0cpnQrCY+REh/9KHCosCX7CmwRUFQUVDQk2RIrOytoAdhBkEP5UsP6otQD6MImhXSkzhBIxUptWwlLdK5Ot8b53LvNtfuFb8Pu797zu/3+d4z7vmd6/gjhRyaTy5g6NMIPsxM4Fviu5a53r0O20orUL25CoWughzVgGup2dGZcTyO9iAy/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;
|
|
2
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="IyBUb3RhbGlzZXIKClRoaW5rIEJsdWUgUGV0ZXIsIHVzZWQgdG8gZGlzcGxheSB0b3RhbCByYXNpc2VkIGFuZCBpZiB0YXJnZXQgcHJvcCBpcyBwYXNzZWQgd2lsbCBkaXNwbGF5IHRlcmNlbnRhZ2Ugb2YgdGFyZ2V0IHJlYWNoZWQuCgojIyMgVHJ5IHRoZW0gb3V0CgpgYGAuanN4CmZ1bmN0aW9uICgpIHsKICBjb25zdCBbdGFyZ2V0LCBzZXRUYXJnZXRdID0gUmVhY3QudXNlU3RhdGUoNik7CgogIHJldHVybiAoCiAgICA8PgogICAgICA8Qm94PgogICAgICAgIDxUb3RhbGlzZXIgdG90YWw9ezIyLjV9IGdpZnRBaWQ9ezEwLjU1fSAvPgogICAgICA8L0JveD4KICAgICAgPEJveD4KICAgICAgICA8VG90YWxpc2VyIHRvdGFsPXswLjAxfSB0YXJnZXQ9ezEwMH0gLz4KICAgICAgPC9Cb3g+CiAgICAgIDxCb3g+CiAgICAgICAgPFRvdGFsaXNlciB0b3RhbD17OTkuOTl9IHRhcmdldD17MTAwfSBnaWZ0QWlkPXsyNX0gLz4KICAgICAgPC9Cb3g+CiAgICAgIDxCb3g+CiAgICAgICAgPFRvdGFsaXNlciB0b3RhbD17MzJ9IHRhcmdldD17MTAwfSBnaWZ0QWlkPXs2LjR9IGlzQ29tcGFjdCAvPgogICAgICA8L0JveD4KICAgICAgPEJveD4KICAgICAgICA8VG90YWxpc2VyCiAgICAgICAgICB0b3RhbD17MTIwfQogICAgICAgICAgZ2lmdEFpZD17MjcuNX0KICAgICAgICAgIHRhcmdldD17MTAwfQogICAgICAgICAgc3VtbWFyeU1lc3NhZ2U9ezxUZXh0PkN1c3RvbSBzdW1tYXJ5IG1lc3NhZ2U8L1RleHQ+fQogICAgICAgIC8+CiAgICAgIDwvQm94PgogICAgICA8Qm94PgogICAgICAgIDxUb3RhbGlzZXIKICAgICAgICAgIHRvdGFsPXsxMjB9CiAgICAgICAgICBnaWZ0QWlkPXsyNy41fQogICAgICAgICAgdGFyZ2V0PXsxMDB9CiAgICAgICAgICBzdW1tYXJ5TWVzc2FnZT0nQ3VzdG9tIHN1bW1hcnkgbWVzc2FnZScKICAgICAgICAvPgogICAgICA8L0JveD4KICAgIDwvPgogICkKfQpgYGAKCiMjIFByb3BzCgp8IE5hbWUgICAgICAgICAgIHwgVHlwZSAgICAgICAgICAgICAgICAgIHwgT3B0aW9ucyB8IERlZmF1bHQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgRGVzY3JpcHRpb24gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfAp8IDotLS0tLS0tLS0tLS0tIHwgOi0tLS0tLS0tLS0tLS0tLS0tLS0tIHwgOi0tLS0tOiB8IDotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tIHwgOi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gfAp8IGdpZnRBaWQgICAgICAgIHwgTnVtYmVyICAgICAgICAgICAgICAgIHwgICAgICAgICB8IDAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgR2lmdCBhaWQgYW1vdW50IGluIHBvdW5kcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfAp8IGlzQ29tcGFjdCAgICAgIHwgQm9vbGVhbiAgICAgICAgICAgICAgIHwgICAgICAgICB8IGZhbHNlICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgVG9nZ2xlIGNvbXBhY3QgYW5kIGZ1bGwgdmlldyBtb2RlLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfAp8IHN1bW1hcnlNZXNzYWdlIHwgUmVhY3RFbGVtZW50IC8gU3RyaW5nIHwgICAgICAgICB8IENvbXBvbmVudCB3aGljaCBzaG93cyBwZXJjZW50YWdlIHZhbHVlIG9mIHRvdGFsIHZhbHVlIHwgQSBzdHJpbmcgb3IgY29tcG9uZW50IHRoYXQgcmVuZGVycyBhdCB0aGUgYm90dG9tIG9mIHRoZSB0b3RhbGlzZXIgfAp8IHRhcmdldCAgICAgICAgIHwgTnVtYmVyICAgICAgICAgICAgICAgIHwgICAgICAgICB8IG51bGwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgVmFsdWUgdXNlZCB0byB3b3JrIG91dCBwZXJjZW50YWdlIG9mIHRhcmdldCByZWFjaGVkICAgICAgICAgICAgICAgfAp8IHRvdGFsICAgICAgICAgIHwgTnVtYmVyICAgICAgICAgICAgICAgIHwgICAgICAgICB8ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgVG90YWwgaW4gcG91bmRzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfAoKIyMgQW4gb3ZlciB0aGUgdG9wIGV4YW1wbGUKCmBgYC5qc3gKZnVuY3Rpb24gKCkgewogIGNvbnN0IHByb3BzID0ge3RhcmdldDogMjB9CiAgY29uc3QgW3RhcmdldCwgc2V0VGFyZ2V0XSA9IFJlYWN0LnVzZVN0YXRlKHByb3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AogICAgPC9kaXY+CiAgKX07CgogIHJldHVybiAoCiAgICA8Qm94PgogICAgICA8VG90YWxpc2VyCiAgICAgICAgZ2lmdEFpZD0iMi41IgogICAgICAgIHRhcmdldD17dGFyZ2V0fQogICAgICAgIHN1bW1hcnlNZXNzYWdlPXtzdW1tYXJ5KHRhcmdldCwgMTApfQogICAgICAgIHRvdGFsPSIxMCIKICAgICAgLz4KICAgICAge2lzRWRpdGluZyAmJgogICAgICAgIDw+CiAgICAgICAgICA8QnV0dG9uIG9uQ2xpY2s9e2hhbmRsZUNhbmNlbH0+Q2FuY2VsPC9CdXR0b24+CiAgICAgICAgICA8QnV0dG9uIGFwcGVhcmFuY2U9InByaW1hcnkiIG9uQ2xpY2s9e2hhbmRsZVN1Ym1pdH0+U2F2ZTwvQnV0dG9uPgogICAgICAgIDwvPgogICAgICB9CiAgICA8L0JveD4KICApCn0KYGBgCg==";
|
|
2
|
-
//# sourceMappingURL=README.md.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"README.md.js","sources":["../../../../../src/components/Totaliser/README.md"],"sourcesContent":["export default \"IyBUb3RhbGlzZXIKClRoaW5rIEJsdWUgUGV0ZXIsIHVzZWQgdG8gZGlzcGxheSB0b3RhbCByYXNpc2VkIGFuZCBpZiB0YXJnZXQgcHJvcCBpcyBwYXNzZWQgd2lsbCBkaXNwbGF5IHRlcmNlbnRhZ2Ugb2YgdGFyZ2V0IHJlYWNoZWQuCgojIyMgVHJ5IHRoZW0gb3V0CgpgYGAuanN4CmZ1bmN0aW9uICgpIHsKICBjb25zdCBbdGFyZ2V0LCBzZXRUYXJnZXRdID0gUmVhY3QudXNlU3RhdGUoNik7CgogIHJldHVybiAoCiAgICA8PgogICAgICA8Qm94PgogICAgICAgIDxUb3RhbGlzZXIgdG90YWw9ezIyLjV9IGdpZnRBaWQ9ezEwLjU1fSAvPgogICAgICA8L0JveD4KICAgICAgPEJveD4KICAgICAgICA8VG90YWxpc2VyIHRvdGFsPXswLjAxfSB0YXJnZXQ9ezEwMH0gLz4KICAgICAgPC9Cb3g+CiAgICAgIDxCb3g+CiAgICAgICAgPFRvdGFsaXNlciB0b3RhbD17OTkuOTl9IHRhcmdldD17MTAwfSBnaWZ0QWlkPXsyNX0gLz4KICAgICAgPC9Cb3g+CiAgICAgIDxCb3g+CiAgICAgICAgPFRvdGFsaXNlciB0b3RhbD17MzJ9IHRhcmdldD17MTAwfSBnaWZ0QWlkPXs2LjR9IGlzQ29tcGFjdCAvPgogICAgICA8L0JveD4KICAgICAgPEJveD4KICAgICAgICA8VG90YWxpc2VyCiAgICAgICAgICB0b3RhbD17MTIwfQogICAgICAgICAgZ2lmdEFpZD17MjcuNX0KICAgICAgICAgIHRhcmdldD17MTAwfQogICAgICAgICAgc3VtbWFyeU1lc3NhZ2U9ezxUZXh0PkN1c3RvbSBzdW1tYXJ5IG1lc3NhZ2U8L1RleHQ+fQogICAgICAgIC8+CiAgICAgIDwvQm94PgogICAgICA8Qm94PgogICAgICAgIDxUb3RhbGlzZXIKICAgICAgICAgIHRvdGFsPXsxMjB9CiAgICAgICAgICBnaWZ0QWlkPXsyNy41fQogICAgICAgICAgdGFyZ2V0PXsxMDB9CiAgICAgICAgICBzdW1tYXJ5TWVzc2FnZT0nQ3VzdG9tIHN1bW1hcnkgbWVzc2FnZScKICAgICAgICAvPgogICAgICA8L0JveD4KICAgIDwvPgogICkKfQpgYGAKCiMjIFByb3BzCgp8IE5hbWUgICAgICAgICAgIHwgVHlwZSAgICAgICAgICAgICAgICAgIHwgT3B0aW9ucyB8IERlZmF1bHQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgRGVzY3JpcHRpb24gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfAp8IDotLS0tLS0tLS0tLS0tIHwgOi0tLS0tLS0tLS0tLS0tLS0tLS0tIHwgOi0tLS0tOiB8IDotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tIHwgOi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gfAp8IGdpZnRBaWQgICAgICAgIHwgTnVtYmVyICAgICAgICAgICAgICAgIHwgICAgICAgICB8IDAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgR2lmdCBhaWQgYW1vdW50IGluIHBvdW5kcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfAp8IGlzQ29tcGFjdCAgICAgIHwgQm9vbGVhbiAgICAgICAgICAgICAgIHwgICAgICAgICB8IGZhbHNlICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgVG9nZ2xlIGNvbXBhY3QgYW5kIGZ1bGwgdmlldyBtb2RlLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfAp8IHN1bW1hcnlNZXNzYWdlIHwgUmVhY3RFbGVtZW50IC8gU3RyaW5nIHwgICAgICAgICB8IENvbXBvbmVudCB3aGljaCBzaG93cyBwZXJjZW50YWdlIHZhbHVlIG9mIHRvdGFsIHZhbHVlIHwgQSBzdHJpbmcgb3IgY29tcG9uZW50IHRoYXQgcmVuZGVycyBhdCB0aGUgYm90dG9tIG9mIHRoZSB0b3RhbGlzZXIgfAp8IHRhcmdldCAgICAgICAgIHwgTnVtYmVyICAgICAgICAgICAgICAgIHwgICAgICAgICB8IG51bGwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgVmFsdWUgdXNlZCB0byB3b3JrIG91dCBwZXJjZW50YWdlIG9mIHRhcmdldCByZWFjaGVkICAgICAgICAgICAgICAgfAp8IHRvdGFsICAgICAgICAgIHwgTnVtYmVyICAgICAgICAgICAgICAgIHwgICAgICAgICB8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CiAgICAgICAgICA8SWNvbiBuYW1lPSJlZGl0Ii8+CiAgICAgICAgPC9CdXR0b24+CiAgICAgIH0KICAgICAgQXdlc29tZSB5b3UgaGF2ZSByYWlzZWQge3BhcnNlSW50KHBlcmNlbnRhZ2UpfSUgb2YgeW91ciDCo3tpc0VkaXRpbmcKICAgICAgICA/IDxpbnB1dCB0eXBlPSJudW1iZXIiIHZhbHVlPXt0YXJnZXR9IG9uQ2hhbmdlPXtoYW5kbGVDaGFuZ2V9Lz4KICAgICAgICA6IHRhcmdldAogICAgICB9IHRhcmdldAogICAgPC9kaXY+CiAgKX07CgogIHJldHVybiAoCiAgICA8Qm94PgogICAgICA8VG90YWxpc2VyCiAgICAgICAgZ2lmdEFpZD0iMi41IgogICAgICAgIHRhcmdldD17dGFyZ2V0fQogICAgICAgIHN1bW1hcnlNZXNzYWdlPXtzdW1tYXJ5KHRhcmdldCwgMTApfQogICAgICAgIHRvdGFsPSIxMCIKICAgICAgLz4KICAgICAge2lzRWRpdGluZyAmJgogICAgICAgIDw+CiAgICAgICAgICA8QnV0dG9uIG9uQ2xpY2s9e2hhbmRsZUNhbmNlbH0+Q2FuY2VsPC9CdXR0b24+CiAgICAgICAgICA8QnV0dG9uIGFwcGVhcmFuY2U9InByaW1hcnkiIG9uQ2xpY2s9e2hhbmRsZVN1Ym1pdH0+U2F2ZTwvQnV0dG9uPgogICAgICAgIDwvPgogICAgICB9CiAgICA8L0JveD4KICApCn0KYGBgCg==\""],"names":[],"mappings":"oFAAe"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),a=require("styled-components"),r=require("../../utils/Helper.js"),l=require("../../themes/cruk.js"),n=require("../Text/index.js"),u=require("../Badge/index.js"),m=require("../Box/index.js"),o=require("./styles.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=s(t);exports.default=function(t){var s=t.total,d=t.additionalAmount,c=t.giftAid,f=t.target,p=void 0===f?null:f,g=t.isCompact,E=t.summaryMessage,h=void 0===E?void 0:E,y=t.children,x=a.useTheme(),j=e.__assign(e.__assign({},l.default),x),q=r.calculatePercentRounded(+s,p||0),b=r.calculatePercentRounded(d?+s+(d||0):0,p||0),C="".concat(q,"% of the £").concat(r.formatMoneyWithCommas(p||0)," target");return i.default.createElement(o.TotaliserWrapper,{isCompact:g||!1,theme:j},g?i.default.createElement(o.CompactWrapper,{theme:j},i.default.createElement(m.default,{marginHorizontal:"none",marginRight:"xxs",marginBottom:"none"},i.default.createElement(u.default,null,"£".concat(r.formatMoneyWithCommas(s)))),null!==p&&i.default.createElement(o.Summary,null,i.default.createElement(n.Text,{as:"span"},C))):i.default.createElement(o.BubbleWrapper,{theme:j},i.default.createElement(o.BubbleText,null,"Total raised"),i.default.createElement(o.Total,null,"£",r.formatMoneyWithCommas(s)),i.default.createElement(o.GiftAid,null,"+ £",r.formatMoneyWithCommas(c||0)," Gift Aid")),(!!p||!!h)&&i.default.createElement(o.ProgressBarWrapper,{isCompact:g||!1,theme:j},i.default.createElement(o.StyledProgressBar,{theme:j,percentage:q,secondaryPercentage:b}),!g&&(h?i.default.createElement(o.Summary,null,h):i.default.createElement(o.Summary,null,i.default.createElement(n.Text,{as:"span"},C)))),y)};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components"),t=require("../ProgressBar/index.js");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,a,i,l,p,m,s,f,c,u,d,b=r(e),g=b.default.div(o||(o=n.__makeTemplateObject(["\n text-align: center;\n background-color: ",";\n border-radius: 3.2rem;\n padding: 5px;\n position: relative;\n p {\n margin: 0;\n }\n"],["\n text-align: center;\n background-color: ",";\n border-radius: 3.2rem;\n padding: 5px;\n position: relative;\n p {\n margin: 0;\n }\n"])),(function(n){return n.theme.colors.totaliserBubbleColor})),x=b.default.div(i||(i=n.__makeTemplateObject(["\n padding: 0 46px 12px;\n margin-top: ",";\n position: relative;\n\n ",";\n"],["\n padding: 0 46px 12px;\n margin-top: ",";\n position: relative;\n\n ",";\n"])),(function(n){return n.theme.spacing.s}),(function(t){return!0!=!!t.isCompact&&e.css(a||(a=n.__makeTemplateObject(['\n div > div > div:not(:first-child) {\n &:after {\n content: "\\25bc";\n color: ',";\n position: absolute;\n top: -30px;\n right: -15px;\n font-size: 32px;\n }\n }\n "],['\n div > div > div:not(:first-child) {\n &:after {\n content: "\\\\25bc";\n color: ',";\n position: absolute;\n top: -30px;\n right: -15px;\n font-size: 32px;\n }\n }\n "])),(function(n){return n.theme.colors.totaliserBubbleColor}))})),y=b.default.p(l||(l=n.__makeTemplateObject(["\n color: ",";\n font-size: 2.625rem;\n line-height: 3rem;\n font-family: ",";\n text-transform: ",";\n"],["\n color: ",";\n font-size: 2.625rem;\n line-height: 3rem;\n font-family: ",";\n text-transform: ",";\n"])),(function(n){return n.theme.colors.totaliserBubbleTotalColor}),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.headerTextTransform})),h=b.default.p(p||(p=n.__makeTemplateObject(["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"],["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"])),(function(n){return n.theme.colors.totaliserBubbleTextColor}),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.headerTextTransform})),_=b.default.p(m||(m=n.__makeTemplateObject(["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"],["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"])),(function(n){return n.theme.colors.totaliserBubbleTotalColor}),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.headerTextTransform})),T=b.default.span(s||(s=n.__makeTemplateObject(["\n display: block;\n text-align: right;\n margin-top: 12px;\n margin-bottom: 0;\n font-family: ",";\n"],["\n display: block;\n text-align: right;\n margin-top: 12px;\n margin-bottom: 0;\n font-family: ",";\n"])),(function(n){return n.theme.typography.fontFamilyBase})),j=b.default.div(c||(c=n.__makeTemplateObject(["\n font-family: ",";\n margin: 0;\n ","\n"],["\n font-family: ",";\n margin: 0;\n ","\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(t){return t.isCompact&&e.css(f||(f=n.__makeTemplateObject(["\n "," {\n border: none;\n padding: 0;\n }\n "],["\n "," {\n border: none;\n padding: 0;\n }\n "])),x)})),v=b.default.div(u||(u=n.__makeTemplateObject(["\n justify-content: space-between;\n display: flex;\n"],["\n justify-content: space-between;\n display: flex;\n"]))),k=b.default(t.default)(d||(d=n.__makeTemplateObject([""],[""])));exports.BubbleText=h,exports.BubbleWrapper=g,exports.CompactWrapper=v,exports.GiftAid=_,exports.ProgressBarWrapper=x,exports.StyledProgressBar=k,exports.Summary=T,exports.Total=y,exports.TotaliserWrapper=j;
|
|
2
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="IyBVc2VyQmxvY2sKCkRpc3BsYXkgYW4gYXZhdGFyIHdpdGggdGl0bGUgYW5kIHN1YnRpdGxlCgojIyMgVHJ5IGl0IG91dAoKYGBgLmpzeAo8PgogIDxVc2VyQmxvY2sgLz4KICA8VXNlckJsb2NrIG5hbWU9IlNhbSBTbWl0aCIgc2l6ZT0icyIgLz4KICA8VXNlckJsb2NrIG5hbWU9IlNhbSBTbWl0aCIgc2l6ZT0ibCIgZXh0cmE9ezw+PEljb24gbmFtZT0iY2xvY2siLz4gSnVzdCB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.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"README.md.js","sources":["../../../../../src/components/UserBlock/README.md"],"sourcesContent":["export default \"IyBVc2VyQmxvY2sKCkRpc3BsYXkgYW4gYXZhdGFyIHdpdGggdGl0bGUgYW5kIHN1YnRpdGxlCgojIyMgVHJ5IGl0IG91dAoKYGBgLmpzeAo8PgogIDxVc2VyQmxvY2sgLz4KICA8VXNlckJsb2NrIG5hbWU9IlNhbSBTbWl0aCIgc2l6ZT0icyIgLz4KICA8VXNlckJsb2NrIG5hbWU9IlNhbSBTbWl0aCIgc2l6ZT0ibCIgZXh0cmE9ezw+PEljb24gbmFtZT0iY2xvY2siLz4gSnVzdCBub3c8Lz59IC8+CiAgPFVzZXJCbG9jawogICAgbmFtZT0iU2FtIFNtaXRoIgogICAgYXZhdGFyVXJsPSJodHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vMzAwLzJlMDA4Yi9kOTMxOGE/dGV4dD1hdmF0YXIiCiAgICBleHRyYT0iKE1hbmFnZWQgYnkgTXkgTXVtKSIKICAvPgo8Lz4KYGBgCgojIyBQcm9wcwoKfCBOYW1lICAgICAgfCBUeXBlICAgICAgICAgICAgICB8ICAgT3B0aW9ucyAgIHwgRGVmYXVsdCAgICAgfCBEZXNjcmlwdGlvbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKfCA6LS0tLS0tLS0gfCA6LS0tLS0tLS0tLS0tLS0tLSB8IDotLS0tLS0tLS06IHwgOi0tLS0tLS0tLS0gfCA6LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tIHwKfCBuYW1lICAgICAgfCBTdHJpbmcvUmVhY3Qgbm9kZSB8ICAgICAgICAgICAgIHwgIkFub255bW91cyIgfCBUaXRsZSB0byBiZSBkaXNwbGF5ZWQgYXMgcHJpbWFyeSB0ZXh0ICAgIHwKfCBleHRyYSAgICAgfCBTdHJpbmcvUmVhY3Qgbm9kZSB8ICAgICAgICAgICAgIHwgICAgICAgICAgICAgfCBzdWJ0aXRsZSB0byBiZSBkaXNwbGF5ZWQgYXMgcHJpbWFyeSB0ZXh0IHwKfCBzaXplICAgICAgfCBTdHJpbmcgICAgICAgICAgICB8ICJzIiAibSIgImwiIHwgIm0iICAgICAgICAgfCBEZWZpbmUgdGhlIHNpemUgb2YgdGhlIGF2YXRhciAgICAgICAgICAgIHwKfCBhdmF0YXJVcmwgfCBTdHJpbmcgICAgICAgICAgICB8ICAgICAgICAgICAgIHwgICAgICAgICAgICAgfCBVUkwgb2YgaW1hZ2UgZm9yIGF2YXRhciAgICAgICAgICAgICAgICAgIHwK\""],"names":[],"mappings":"oFAAe"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),r=require("styled-components"),a=require("../../themes/cruk.js"),l=require("../Avatar/index.js"),u=require("./styles.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=s(t);exports.default=function(t){var s=t.name,i=t.avatarName,o=t.avatarUrl,d=t.extra,m=t.size,f=r.useTheme(),c=e.__assign(e.__assign({},a.default),f);return n.default.createElement(u.StyledUserBlock,{theme:c},n.default.createElement(l.default,{name:i||("string"==typeof s?s:"Anonymous"),url:o||void 0,size:m}),n.default.createElement(u.Details,null,n.default.createElement(u.Name,null,s||"Anonymous"),!!d&&n.default.createElement(u.Extra,null,d)))};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t,r,a,o,i=n(require("styled-components")),l=i.default.div(t||(t=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: start;\n flex: 1;\n"],["\n display: flex;\n align-items: center;\n justify-content: start;\n flex: 1;\n"]))),s=i.default.div(r||(r=e.__makeTemplateObject(["\n flex: 1;\n margin-left: ",";\n text-align: left;\n min-width: 0;\n"],["\n flex: 1;\n margin-left: ",";\n text-align: left;\n min-width: 0;\n"])),(function(e){return e.theme.spacing.xs})),f=i.default.div(a||(a=e.__makeTemplateObject(["\n font-family: ",";\n font-size: ",";\n white-space: normal;\n word-break: break-word;\n"],["\n font-family: ",";\n font-size: ",";\n white-space: normal;\n word-break: break-word;\n"])),(function(e){return e.theme.typography.fontFamilyHeadings}),(function(e){return e.theme.fontSizes.l})),m=i.default.div(o||(o=e.__makeTemplateObject(["\n color: ",";\n margin-top: 4px;\n white-space: normal;\n word-break: break-word;\n"],["\n color: ",";\n margin-top: 4px;\n white-space: normal;\n word-break: break-word;\n"])),(function(e){return e.theme.colors.userBlockExtraText}));exports.Details=s,exports.Extra=m,exports.Name=f,exports.StyledUserBlock=l;
|
|
2
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./AddressLookup/index.js"),r=require("./Avatar/index.js"),d=require("./Badge/index.js"),t=require("./Box/index.js"),s=require("./Button/index.js"),a=require("./Carousel/index.js"),o=require("./Checkbox/index.js"),i=require("./Collapse/index.js"),u=require("./DateField/index.js"),x=require("./Divider.js"),l=require("./ErrorText/index.js"),p=require("./Flex.js"),n=require("./Footer/index.js"),j=require("./GlobalStyle.js"),R=require("./Header/index.js"),q=require("./Heading/index.js"),m=require("./Icon/index.js"),E=require("./IconFa/index.js"),f=require("./LabelWrapper/index.js"),A=require("./LegendWrapper/index.js"),D=require("./Link/index.js"),M=require("./Loader/index.js"),c=require("./Modal/index.js"),F=require("./Pagination/index.js"),T=require("./PopOver/index.js"),g=require("./ProgressBar/index.js"),B=require("./Radio/index.js"),L=require("./RadioConsent/index.js"),k=require("./Select/index.js"),C=require("./Step/index.js"),v=require("./Text/index.js"),P=require("./TextAreaField/index.js"),b=require("./TextField/index.js"),S=require("./Totaliser/index.js"),H=require("./UserBlock/index.js"),h=require("../themes/cruk.js"),I=require("../themes/su2c.js"),W=require("./AddressLookup/README.md.js"),O=require("./Avatar/README.md.js"),U=require("./Badge/README.md.js"),y=require("./Box/README.md.js"),G=require("./Button/README.md.js"),_=require("./Checkbox/README.md.js"),w=require("./Collapse/README.md.js"),z=require("./DateField/README.md.js"),J=require("./ErrorText/README.md.js"),K=require("./Footer/README.md.js"),N=require("./Heading/README.md.js"),Q=require("./Header/README.md.js"),V=require("./Icon/README.md.js"),X=require("./IconFa/README.md.js"),Y=require("./Link/README.md.js"),Z=require("./LegendWrapper/README.md.js"),$=require("./Loader/README.md.js"),ee=require("./Modal/README.md.js"),re=require("./Pagination/README.md.js"),de=require("./PopOver/README.md.js"),te=require("./ProgressBar/README.md.js"),se=require("./Radio/README.md.js"),ae=require("./RadioConsent/README.md.js"),oe=require("./Select/README.md.js"),ie=require("./Step/README.md.js"),ue=require("./Text/README.md.js"),xe=require("./TextAreaField/README.md.js"),le=require("./TextField/README.md.js"),pe=require("./Totaliser/README.md.js"),ne=require("./UserBlock/README.md.js");exports.AddressLookup=e.default,exports.Avatar=r.default,exports.Badge=d.default,exports.Box=t.default,exports.Button=s.Button,exports.Carousel=a.default,exports.Checkbox=o.default,exports.Collapse=i.default,exports.DateField=u.default,exports.Divider=x.Divider,exports.ErrorText=l.default,exports.Flex=p.default,exports.Footer=n.Footer,exports.GlobalStyle=j.default,exports.Header=R.Header,exports.Heading=q.default,exports.Icon=m.default,exports.IconFa=E.default,exports.LabelWrapper=f.LabelWrapper,exports.LegendWrapper=A.LegendWrapper,exports.Link=D.Link,exports.Loader=M.default,exports.Modal=c.default,exports.Pagination=F.default,exports.PopOver=T.default,exports.ProgressBar=g.default,exports.Radio=B.default,exports.RadioConsent=L.default,exports.Select=k.default,exports.Step=C.default,exports.Text=v.Text,exports.TextAreaField=P.default,exports.TextField=b.default,exports.Totaliser=S.default,exports.UserBlock=H.default,exports.crukTheme=h.default,exports.su2cTheme=I.default,exports.AddressLookupReadme=W.default,exports.AvatarReadme=O.default,exports.BadgeReadme=U.default,exports.BoxReadme=y.default,exports.ButtonReadme=G.default,exports.CheckboxReadme=_.default,exports.CollapseReadme=w.default,exports.DateFieldReadme=z.default,exports.ErrorTextReadme=J.default,exports.FooterReadme=K.default,exports.HeadingReadme=N.default,exports.HeaderReadme=Q.default,exports.IconReadme=V.default,exports.IconFaReadme=X.default,exports.LinkReadme=Y.default,exports.LegendWrapperReadme=Z.default,exports.LoaderReadme=$.default,exports.ModalReadme=ee.default,exports.PaginationReadme=re.default,exports.PopOverReadme=de.default,exports.ProgressBarReadme=te.default,exports.RadioReadme=se.default,exports.RadioConsentReadme=ae.default,exports.SelectReadme=oe.default,exports.StepReadme=ie.default,exports.TextReadme=ue.default,exports.TextAreaFieldReadme=xe.default,exports.TextFieldReadme=le.default,exports.TotaliserReadme=pe.default,exports.UserBlockReadme=ne.default;
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEffectBrowser.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../utils/Helper.js"),n=function(n,r,o){var i=r.detectKeys,u=void 0===i?[]:i,s=r.keyevent,d=function(e){(u.includes(e.key)||0===u.length)&&n(e)};e.useEffect((function(){if(t.isBrowser)return window.document.addEventListener(s||"keydown",d),function(){window.document.removeEventListener(s||"keydown",d)}}),o||[])};exports.default=n,exports.useKey=n;
|
|
2
|
-
//# sourceMappingURL=useKey.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useKey.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t="undefined"!=typeof window,r=function(r,u){return t?e.useLayoutEffect(r,u):null};exports.default=r,exports.useLayoutEffectBrowser=r;
|
|
2
|
-
//# sourceMappingURL=useLayoutEffectBrowser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLayoutEffectBrowser.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),n=require("./useLayoutEffectBrowser.js"),r="undefined"!=typeof window;function t(e){var n=e.element,t=e.useWindow;if(!r)return{x:0,y:0};var o=n?n.current:document.body,u=o?o.getBoundingClientRect():{top:0,left:0};return t?{x:window.scrollX,y:window.scrollY}:{x:u.left,y:u.top}}var o=function(o,u,i,l,s){var c=e.useRef(t({useWindow:l,element:i})),d=null,f=function(){var e=t({element:i,useWindow:l});o({prevPos:c.current,currPos:e}),c.current=e,d=null};n.default((function(){var e=function(){s?null===d&&(d=setTimeout(f,s)):f()};return r&&window.addEventListener("scroll",e),function(){r&&window.removeEventListener("scroll",e)}}),u)};exports.default=o,exports.useScrollPosition=o;
|
|
2
|
-
//# sourceMappingURL=useScrollPosition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollPosition.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={contentMaxWidth:"1020px",useDefaultFocusRect:!0,useDefaultFromControls:!1,useBackgroundStyleLinks:!1,inputBorderWidth:"1px"},r={assetPath:"https://rcl.assets.cancerresearchuk.org/",logoUrl:"/",logoAlt:"Cancer Research UK Giving Page",logoSrc:"https://rcl.assets.cancerresearchuk.org/images/logos/cruk-160.png",footerCopyText:"Cancer Research UK is a registered charity in England and Wales (1089464), Scotland (SC041666), the Isle of Man (1103) and Jersey (247). A company limited by guarantee. Registered company in England and Wales(4325234) and the Isle of Man (5713F).",footerLogoAlt:"Registered with Fundraising Regulator",footerLogoSrc:"https://rcl.assets.cancerresearchuk.org/images/logos/fundreg.png"},a={s:"35px",m:"50px",l:"60px",xl:"90px",path:"".concat(r.assetPath,"images/avatar/cruk/")},t={borderRadius:"4px",borderRadiusLarge:"4px",buttonBorderThickness:"2px",textDecoration:"none",textTransform:"none"},o={mobile:"576px",tablet:"768px",desktop:"992px",desktopLarge:"1200px"},n={darkBlue_100:"#edeaf5",darkBlue_200:"#dad2ea",darkBlue_300:"#a896cf",darkBlue_500:"#2e008b",magenta_100:"#fdeaf5",magenta_500:"#e40087",magenta_800:"#BB0071",magenta_900:"#710044",cyan_500:"#00b6ed",cyan_900:"#005870",grey_100:"#f5f5f5",grey_200:"#ededed",grey_300:"#c6c6c6",grey_500:"#9A9A9A",grey_800:"#575757",grey_900:"#2e2d2c",white:"#fff",black:"#000",red:"#D51311",yellow:"#fdc02f",green:"#3d854d"},s={primary:n.darkBlue_500,secondary:n.magenta_500,tertiary:n.cyan_500,textOnPrimary:n.white,textOnSecondary:n.white,textOnTertiary:n.white,disabled:n.grey_300,danger:n.red,warning:n.yellow,success:n.green,info:n.cyan_500,textError:n.red,linkColor:n.darkBlue_500,linkColorHover:n.magenta_800,textDark:n.grey_900,textLight:n.white,progressBar:n.darkBlue_500,progressBarSecondary:n.magenta_500,progressBarBackground:n.grey_200,circularProgress:n.cyan_500,circularProgressSecondary:n.magenta_500,circularProgressBackground:n.grey_300,buttonPrimaryBackground:n.magenta_500,buttonPrimaryText:n.white,buttonPrimaryBorder:n.magenta_500,buttonPrimaryBackgroundHover:n.magenta_800,buttonPrimaryTextHover:n.white,buttonPrimaryBorderHover:n.magenta_800,buttonPrimaryDisabledBackground:n.grey_100,buttonPrimaryDisabledText:n.grey_500,buttonPrimaryDisabledBorder:n.grey_100,buttonSecondaryBackground:n.white,buttonSecondaryText:n.magenta_500,buttonSecondaryBorder:n.magenta_500,buttonSecondaryBackgroundHover:n.magenta_100,buttonSecondaryTextHover:n.magenta_800,buttonSecondaryBorderHover:n.magenta_800,buttonSecondaryDisabledBackground:n.grey_100,buttonSecondaryDisabledText:n.grey_500,buttonSecondaryDisabledBorder:n.grey_100,buttonTertiaryText:n.magenta_500,buttonTertiaryTextHover:n.magenta_800,buttonTertiaryDisabledText:n.grey_500,selectionBorder:n.grey_500,textInputBorder:n.grey_900,inputBorder:n.grey_900,headerBackground:n.white,backgroundLight:n.white,backgroundLightColor:n.darkBlue_200,backgroundMid:n.grey_100,loaderColor1:n.darkBlue_500,loaderColor2:n.magenta_500,loaderColor3:n.cyan_500,paginationText:n.darkBlue_500,paginationActive:n.grey_300,paginationBackground:n.darkBlue_500,footerBackground:n.grey_200,headerBorder:n.grey_300,stepBorder:n.grey_300,stepBackground:n.white,popoverBackground:n.white,textInputExtraInfo:n.grey_200,totaliserBubbleColor:n.grey_200,totaliserBubbleTextColor:n.grey_900,totaliserBubbleTotalColor:n.darkBlue_500,selectBackground:n.grey_900,modalBackdrop:n.grey_900,userBlockExtraText:n.grey_800},g={none:"0",auto:"auto",xxs:"0.5rem",xs:"1rem",s:"1.5rem",m:"2rem",l:"2.5rem",xl:"3rem",xxl:"3.5rem"},i={xs:"0.75rem",s:"0.875rem",m:"1rem",l:"1.25rem",xl:"1.5625rem",xxl:"2rem",xxxl:"2.5rem",xxxxl:"3.125rem"},d={customFonts:[{family:"MuseoSans-500",urlWoff:"".concat(r.assetPath,"fonts/MuseoSansRounded-500.woff"),urlWoff2:"".concat(r.assetPath,"fonts/MuseoSansRounded-500.woff2")}],fontFamilyBase:"Arial, Calibri, nimbussansl, liberationsans, freesans, clean, sans-serif",fontFamilyHeadings:"MuseoSans-500,Calibri,Arial,sans-serif",fontSizeBase:"16px",fontWeightHeavy:"700",fontWeightMedium:"500",fontWeightNormal:"400",fontWeightLight:"300",fontWeightVLight:"100",linkTextDecoration:"underline",lineHeight:"1.5em",headerLineHeight:"1.25em",headerTextTransform:"none"},l={name:"cruk",avatar:a,breakpoint:o,button:t,tokenColors:n,colors:s,spacing:g,fontSizes:i,siteConfig:r,typography:d,utilities:e};exports.AVATAR=a,exports.BREAKPOINT=o,exports.BUTTON=t,exports.COLORS=s,exports.FONT_SIZES=i,exports.SITE_CONFIG=r,exports.SPACING=g,exports.TOKEN_COLORS=n,exports.TYPOGRAPHY=d,exports.UTILITIES=e,exports.default=l;
|
|
2
|
-
//# sourceMappingURL=cruk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cruk.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../node_modules/tslib/tslib.es6.js"),r=require("./cruk.js"),a=e.__assign(e.__assign({},r.default.utilities),{useBackgroundStyleLinks:!0}),t=e.__assign(e.__assign({},r.default.siteConfig),{logoSrc:"https://rcl.assets.cancerresearchuk.org/images/logos/su2c-160.png",footerCopyText:"Stand Up To Cancer and Stand Up To Cancer Brand Marks are registered trademarks of the Entertainment Industry Foundation. Cancer Research UK is a registered charity in England and Wales (1089464), Scotland(SC041666), the Isle of Man (1103) and Jersey (247). A company limited by guarantee. Registered company in England and Wales (4325234) and the Isle of Man (5713F). Registered address: 2 Redman Place, London, E20 1JQ. Donations will be made to Cancer Research UK in support of the Stand Up To Cancer campaign."}),s=e.__assign(e.__assign({},r.default.avatar),{path:"".concat(t.assetPath,"images/avatar/su2c/")}),o=e.__assign(e.__assign({},r.default.button),{borderRadius:"1.5rem",borderRadiusLarge:"2rem",textTransform:"uppercase"}),n=e.__assign({},r.default.breakpoint),c=e.__assign(e.__assign({},r.default.tokenColors),{su2cOrange5:"#FF8E00",su2cOrange3:"#FFB04D",su2cOrange2:"#FFDAAD",su2cOrange1:"#FFF6EB",su2cBlack:"#231F20",su2cGrey1:"#555759",su2cGrey2:"#A5A5A9",su2cRed:"#EF4135",su2cYellow:"#FFC325"}),i=e.__assign(e.__assign({},r.default.colors),{primary:c.su2cOrange5,secondary:c.su2cOrange5,tertiary:c.su2cBlack,textOnPrimary:c.su2cBlack,progressBar:c.su2cOrange5,progressBarSecondary:c.su2cRed,circularProgress:c.su2cOrange3,circularProgressSecondary:c.su2cRed,linkColor:c.su2cOrange5,linkColorHover:c.su2cRed,backgroundLightColor:c.su2cOrange2,loaderColor1:c.su2cOrange5,loaderColor2:c.su2cRed,loaderColor3:c.su2cBlack,paginationText:c.su2cBlack,paginationBackground:c.su2cBlack,totaliserBubbleColor:c.su2cBlack,totaliserBubbleTextColor:c.white,totaliserBubbleTotalColor:c.white,buttonPrimaryBackground:c.su2cOrange5,buttonPrimaryText:c.su2cBlack,buttonPrimaryBorder:c.su2cOrange5,buttonPrimaryBackgroundHover:c.su2cOrange3,buttonPrimaryTextHover:c.su2cBlack,buttonPrimaryBorderHover:c.su2cOrange3,buttonPrimaryDisabledBackground:c.grey_300,buttonPrimaryDisabledText:c.white,buttonPrimaryDisabledBorder:c.grey_300,buttonSecondaryBackground:c.white,buttonSecondaryText:c.su2cOrange5,buttonSecondaryBorder:c.su2cOrange5,buttonSecondaryBackgroundHover:c.su2cOrange1,buttonSecondaryTextHover:c.su2cOrange5,buttonSecondaryBorderHover:c.su2cOrange5,buttonSecondaryDisabledBackground:c.white,buttonSecondaryDisabledText:c.grey_300,buttonSecondaryDisabledBorder:c.grey_300,buttonTertiaryText:c.su2cOrange5,buttonTertiaryTextHover:c.su2cOrange5,buttonTertiaryDisabledText:c.grey_300}),u=e.__assign({},r.default.spacing),d=e.__assign({},r.default.fontSizes),g=e.__assign(e.__assign({},r.default.typography),{customFonts:[{family:"itc_avant_garde_pro_mdbold",urlWoff:"".concat(t.assetPath,"fonts/itc_-_itcavantgardepro-bold-webfont.woff")}],fontFamilyHeadings:"itc_avant_garde_pro_mdbold,Arial,sans-serif",linkTextDecoration:"none",headerLineHeight:"1.5em",headerTextTransform:"uppercase"}),l={name:"su2c",avatar:s,breakpoint:n,button:o,tokenColors:c,colors:i,spacing:u,fontSizes:d,siteConfig:t,typography:g,utilities:a};exports.AVATAR=s,exports.BREAKPOINT=n,exports.BUTTON=o,exports.COLORS=i,exports.FONT_SIZES=d,exports.SITE_CONFIG=t,exports.SPACING=u,exports.TOKEN_COLORS=c,exports.TYPOGRAPHY=g,exports.UTILITIES=a,exports.default=l;
|
|
2
|
-
//# sourceMappingURL=su2c.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"su2c.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e="undefined"!=typeof window,r=function(e){if(!e)return"";var r=e.toString().split(".");return"".concat(r[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")).concat(r[1]?".".concat(r[1]):"")};exports.calculatePercentRounded=function(e,r){var t=e/r*100;return t===Number.POSITIVE_INFINITY||Number.isNaN(t)?0:Math.floor(t<1?Math.ceil(t):Math.floor(t))},exports.formatMoneyWithCommas=function(e){var t=Number.parseFloat((Math.round(100*e)/100).toString()).toFixed(2);return Number.isNaN(parseFloat(t))||Number.isNaN(e)?"0":r(t)},exports.isBrowser=e,exports.numberWithCommas=r;
|
|
2
|
-
//# sourceMappingURL=Helper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Helper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=function(e,t){var o;return function(){for(var r=[],u=0;u<arguments.length;u++)r[u]=arguments[u];o&&clearTimeout(o),o=setTimeout((function(){t.apply(void 0,r),o=null}),e)}};
|
|
2
|
-
//# sourceMappingURL=debounce.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Story, Meta } from "@storybook/react";
|
|
2
|
-
import { AddressLookupProps } from ".";
|
|
3
|
-
declare const _default: Meta<AddressLookupProps>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const AddressLookUp: Story<AddressLookupProps>;
|
|
6
|
-
export declare const SU2CAddressLookUp: Story<AddressLookupProps>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React, { InputHTMLAttributes, Ref, FocusEvent } from "react";
|
|
2
|
-
import { AddressDataType } from "../../types";
|
|
3
|
-
export declare type AddressLookupProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
4
|
-
/** api key for loqate */
|
|
5
|
-
apiKey: string;
|
|
6
|
-
/** list of countries codes you want the address look up to search within */
|
|
7
|
-
countries?: string[];
|
|
8
|
-
/** callback function which is passed the selected address data */
|
|
9
|
-
onAddressSelected: (address: AddressDataType) => void;
|
|
10
|
-
/** error message */
|
|
11
|
-
errorMessage?: string;
|
|
12
|
-
/** when true a input has a red border */
|
|
13
|
-
hasError?: boolean;
|
|
14
|
-
/** flag which effects the check or cross icons to the right of the input */
|
|
15
|
-
isValid?: boolean;
|
|
16
|
-
/** flag to hide or show the check icon when valid */
|
|
17
|
-
isValidVisible?: boolean;
|
|
18
|
-
/** flag to hide or show the cross icon when invalid */
|
|
19
|
-
isInvalidVisible?: boolean;
|
|
20
|
-
/** label text */
|
|
21
|
-
label?: string;
|
|
22
|
-
/** callback function which is passed the error */
|
|
23
|
-
onAddressError?: (error: Error) => void;
|
|
24
|
-
/** onBlur handler */
|
|
25
|
-
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
26
|
-
/** attach a DOM reference variable to your component */
|
|
27
|
-
ref?: Ref<HTMLInputElement>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* This component creates a combobox for a user to type in a post code or partial address and be presented with a of verified addresses.
|
|
31
|
-
* We use Loqate (formerly Addressy and Postcode Anywhere) API v3, we have looked at v4 but it is more expensive without many benefits for our use case.
|
|
32
|
-
* You will need a Loqate api key, the examples below use "MG17-ZD93-FF33-KF13" our development key.
|
|
33
|
-
* This component is generally only used for country codes including "GBR", "GGY", "IMN", "JEY". An example of this behavior is included bellow.
|
|
34
|
-
*/
|
|
35
|
-
declare const AddressLookup: React.ForwardRefExoticComponent<Pick<AddressLookupProps, "apiKey" | "countries" | "errorMessage" | "hasError" | "isValid" | "isValidVisible" | "isInvalidVisible" | "label" | "onAddressError" | "onAddressSelected" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
36
|
-
export default AddressLookup;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface ListWrapperProps extends React.HTMLProps<HTMLDivElement> {
|
|
3
|
-
tabIndex?: number;
|
|
4
|
-
}
|
|
5
|
-
export declare const ListWrapper: import("styled-components").StyledComponent<"div", any, ListWrapperProps, never>;
|
|
6
|
-
export declare const List: import("styled-components").StyledComponent<"ul", any, {
|
|
7
|
-
ref?: import("react").Ref<HTMLUListElement> | undefined;
|
|
8
|
-
}, never>;
|
|
9
|
-
export declare const ListItem: import("styled-components").StyledComponent<"li", any, {
|
|
10
|
-
isActive: boolean;
|
|
11
|
-
ref?: import("react").Ref<HTMLLIElement> | undefined;
|
|
12
|
-
}, never>;
|
|
13
|
-
export declare const ScreenReaderOnly: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Story, Meta } from "@storybook/react";
|
|
2
|
-
import { AvatarProps } from ".";
|
|
3
|
-
declare const _default: Meta<AvatarProps>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: Story;
|
|
6
|
-
export declare const Small: Story;
|
|
7
|
-
export declare const Medium: Story;
|
|
8
|
-
export declare const Large: Story;
|
|
9
|
-
export declare const ExtraLarge: Story;
|
|
10
|
-
export declare const CustomImage: Story;
|
|
11
|
-
export declare const SU2CDefault: Story;
|
|
12
|
-
export declare const SU2CSmall: Story;
|
|
13
|
-
export declare const SU2CMedium: Story;
|
|
14
|
-
export declare const SU2CLarge: Story;
|
|
15
|
-
export declare const SU2CExtraLarge: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ImgHTMLAttributes } from "react";
|
|
2
|
-
export declare type AvatarProps = ImgHTMLAttributes<HTMLElement> & {
|
|
3
|
-
/** name of user/entity */
|
|
4
|
-
name?: string;
|
|
5
|
-
/** image url */
|
|
6
|
-
url?: string;
|
|
7
|
-
/** image size */
|
|
8
|
-
size?: "s" | "m" | "l" | "xl";
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* You can use an avatar to display ownership of an item of content. If you pass a URL of an image that will be displayed otherwise the first letter of the name will be used to display a branded avatar.
|
|
13
|
-
*/
|
|
14
|
-
declare const Avatar: ({ url, name, size, alt, ...rest }: AvatarProps) => JSX.Element;
|
|
15
|
-
export default Avatar;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ThemeType } from "../../types";
|
|
2
|
-
declare type AvatarStyledProps = {
|
|
3
|
-
size?: string;
|
|
4
|
-
theme: ThemeType;
|
|
5
|
-
};
|
|
6
|
-
export declare const StyledAvatar: import("styled-components").StyledComponent<"img", any, AvatarStyledProps, never>;
|
|
7
|
-
export default StyledAvatar;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Story, Meta } from "@storybook/react";
|
|
2
|
-
import { BadgeProps } from ".";
|
|
3
|
-
declare const _default: Meta<BadgeProps>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const BadgeWithText: Story;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const BadgeWithColour: Story;
|
|
8
|
-
export declare const BadgeWithInverseColours: Story;
|
|
9
|
-
export declare const SU2CBadgeWithText: Story;
|
|
10
|
-
export declare const SU2CDefault: Story;
|
|
11
|
-
export declare const SU2CBadgeWithColour: Story;
|
|
12
|
-
export declare const SU2CBadgeWithInverseColours: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { SpaceType } from "../../types";
|
|
3
|
-
export declare type BadgeProps = {
|
|
4
|
-
/** background colour of badge */
|
|
5
|
-
backgroundColor?: string;
|
|
6
|
-
/** border colour of badge */
|
|
7
|
-
borderColor?: string;
|
|
8
|
-
/** text colour of badge */
|
|
9
|
-
textColor?: string;
|
|
10
|
-
/** size of badge */
|
|
11
|
-
size?: SpaceType;
|
|
12
|
-
/** contents of badge */
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Displays a numeric or icon indicator. You can use the icon prop to
|
|
17
|
-
indicate the importance of the badge to the user.
|
|
18
|
-
|
|
19
|
-
Note that depending on how they are used, badges may be confusing for users
|
|
20
|
-
of screen readers and similar assistive technologies. While the styling of
|
|
21
|
-
badges provides a visual cue as to their purpose, these users will simply
|
|
22
|
-
be presented with the content of the badge. Depending on the specific
|
|
23
|
-
situation, these badges may seem like random additional words or numbers
|
|
24
|
-
at the end of a sentence, link, or button. Unless the context is clear,
|
|
25
|
-
consider including additional context with a visually hidden piece of
|
|
26
|
-
additional text.
|
|
27
|
-
*/
|
|
28
|
-
declare const Badge: ({ children, ...rest }: BadgeProps) => JSX.Element;
|
|
29
|
-
export default Badge;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SpaceType, ThemeType } from "../../types";
|
|
2
|
-
declare type StyleBadgeProps = {
|
|
3
|
-
backgroundColor?: string;
|
|
4
|
-
borderColor?: string;
|
|
5
|
-
textColor?: string;
|
|
6
|
-
isText?: boolean;
|
|
7
|
-
size: SpaceType;
|
|
8
|
-
theme: ThemeType;
|
|
9
|
-
};
|
|
10
|
-
export declare const StyledBadge: import("styled-components").StyledComponent<"span", any, StyleBadgeProps, never>;
|
|
11
|
-
export default StyledBadge;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Story, Meta } from "@storybook/react";
|
|
2
|
-
import { BoxProps } from ".";
|
|
3
|
-
declare const _default: Meta<BoxProps>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: Story;
|
|
6
|
-
export declare const BoxWithColour: Story;
|
|
7
|
-
export declare const BoxWithColourWithCustomSpacing: Story;
|
|
8
|
-
export declare const SU2CDefault: Story;
|
|
9
|
-
export declare const SU2CBoxWithColour: Story;
|
|
10
|
-
export declare const SU2CBoxWithColourWithCustomSpacing: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FunctionComponent, HTMLAttributes, Ref, ReactNode, ElementType } from "react";
|
|
2
|
-
import { SpacingProps } from "../Spacing";
|
|
3
|
-
export declare type BoxProps = SpacingProps & HTMLAttributes<HTMLElement> & {
|
|
4
|
-
/** background color of box, this will add default padding */
|
|
5
|
-
backgroundColor?: string;
|
|
6
|
-
css?: string;
|
|
7
|
-
ref?: Ref<HTMLDivElement>;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
/** styled-component polymorphic feature so you take the styling of a box and cast the component to be a "span" for example */
|
|
10
|
-
as?: ElementType;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Box is used to wrap other components to add margin and padding. The values will be in the t-shirt sizes specified in the theme sizes.
|
|
14
|
-
|
|
15
|
-
The more specific the the target the higher priority the css will have. For example `margin` will be overridden by the `marginVertical` or `marginHorizontal` props. `marginTop`, `marginBottom`, `marginLeft`, `marginRight` will override the the `marginVertical` and `marginHorizontal` props.
|
|
16
|
-
*/
|
|
17
|
-
declare const Box: FunctionComponent<BoxProps>;
|
|
18
|
-
export default Box;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SpacingProps } from "../Spacing";
|
|
2
|
-
import { ThemeType } from "../../types";
|
|
3
|
-
export declare const StyledBox: import("styled-components").StyledComponent<"div", any, SpacingProps & {
|
|
4
|
-
backgroundColor?: string | undefined;
|
|
5
|
-
css?: string | undefined;
|
|
6
|
-
theme: ThemeType;
|
|
7
|
-
}, never>;
|
|
8
|
-
export default StyledBox;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Story, Meta } from "@storybook/react";
|
|
2
|
-
import { Props } from ".";
|
|
3
|
-
declare const _default: Meta<Props>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story;
|
|
6
|
-
export declare const PrimaryAnchorButton: Story;
|
|
7
|
-
export declare const Secondary: Story;
|
|
8
|
-
export declare const Tertiary: Story;
|
|
9
|
-
export declare const WithIcons: Story;
|
|
10
|
-
export declare const SU2CPrimary: Story;
|
|
11
|
-
export declare const SU2CSecondary: Story;
|
|
12
|
-
export declare const SU2CTertiary: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode, ButtonHTMLAttributes, Ref, ElementType } from "react";
|
|
2
|
-
import { ButtonAppearanceType } from "../../types";
|
|
3
|
-
export declare type Props = ButtonHTMLAttributes<HTMLElement> & {
|
|
4
|
-
/** the look and feel of the button */
|
|
5
|
-
appearance?: ButtonAppearanceType;
|
|
6
|
-
/** flag to streatch but to 100% width */
|
|
7
|
-
full?: boolean;
|
|
8
|
-
/** this is a url which will convert the button to an anchor tag */
|
|
9
|
-
href?: string;
|
|
10
|
-
/** the height of the button, this will add padding not increase text size */
|
|
11
|
-
size?: "m" | "l";
|
|
12
|
-
css?: any;
|
|
13
|
-
/** styled-components polymorphism where you can use the styling of a button but convert to another element like an anchor tag */
|
|
14
|
-
as?: ElementType;
|
|
15
|
-
/** flag to force button into an icon button shape which is square or round */
|
|
16
|
-
isIconButton?: boolean;
|
|
17
|
-
/** Element reference */
|
|
18
|
-
ref?: Ref<HTMLElement>;
|
|
19
|
-
/** Component reference */
|
|
20
|
-
children?: ReactNode;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Design system documentation CRUK https://zeroheight.com/23de8a59a/p/180ef6-buttons/b/32e1a2
|
|
24
|
-
*
|
|
25
|
-
* Design system documentation SU2C https://zeroheight.com/79db39f7e/p/22ff0e-button/b/32e1a2
|
|
26
|
-
*/
|
|
27
|
-
export declare const Button: React.ForwardRefExoticComponent<Pick<Props, keyof React.ButtonHTMLAttributes<HTMLElement> | "appearance" | "full" | "href" | "size" | "css" | "as" | "isIconButton"> & React.RefAttributes<HTMLElement>>;
|
|
28
|
-
export default Button;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ThemeType, ButtonAppearanceType } from "../../types";
|
|
2
|
-
export declare const Spacer: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
3
|
-
declare type StyledButtonProps = {
|
|
4
|
-
isIconButton: boolean;
|
|
5
|
-
appearance?: ButtonAppearanceType;
|
|
6
|
-
full?: boolean;
|
|
7
|
-
theme: ThemeType;
|
|
8
|
-
href?: string;
|
|
9
|
-
size?: "m" | "l";
|
|
10
|
-
css?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const StyledButton: import("styled-components").StyledComponent<"button", any, StyledButtonProps, never>;
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from "react";
|
|
2
|
-
declare type DotProps = {
|
|
3
|
-
count: number;
|
|
4
|
-
currentPosition: number;
|
|
5
|
-
scrollToPosition: (to: number) => void;
|
|
6
|
-
next: () => void;
|
|
7
|
-
previous: () => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const CarouselLeftButton: (props: ButtonHTMLAttributes<HTMLElement>) => JSX.Element;
|
|
10
|
-
export declare const CarouselRightButton: (props: ButtonHTMLAttributes<HTMLElement>) => JSX.Element;
|
|
11
|
-
export declare const Dots: ({ count, currentPosition, scrollToPosition, next, previous, }: DotProps) => JSX.Element;
|
|
12
|
-
export default Dots;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
export declare type CarouselProps = {
|
|
3
|
-
/** Index in which the carousel is scrolled to on mount */
|
|
4
|
-
startPosition?: number;
|
|
5
|
-
/** call back for on position changed first prop is the possition */
|
|
6
|
-
onPositionChanged?: (position: number) => void;
|
|
7
|
-
/** show item left and right of current smaller than current item */
|
|
8
|
-
shrinkUnselectedPages?: boolean;
|
|
9
|
-
/** childrent item of the carousel */
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* Light weight carousel component that works with mouse and touch events, will work with divs and much anything you chuck in children
|
|
15
|
-
*/
|
|
16
|
-
export declare const Carousel: ({ startPosition, children, onPositionChanged, shrinkUnselectedPages, }: CarouselProps) => JSX.Element;
|
|
17
|
-
declare const _default: React.MemoExoticComponent<({ startPosition, children, onPositionChanged, shrinkUnselectedPages, }: CarouselProps) => JSX.Element>;
|
|
18
|
-
export default _default;
|