@cruk/cruk-react-components 0.1.6 → 1.0.2

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.
Files changed (260) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/README.md +8 -1
  3. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js +1 -1
  4. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
  5. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Trap.js +1 -1
  6. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Trap.js.map +1 -1
  7. package/lib/cjs/src/components/AddressLookup/index.js +1 -1
  8. package/lib/cjs/src/components/Avatar/README.md.js +1 -1
  9. package/lib/cjs/src/components/Avatar/README.md.js.map +1 -1
  10. package/lib/cjs/src/components/Avatar/index.js +1 -1
  11. package/lib/cjs/src/components/Avatar/styles.js +1 -1
  12. package/lib/cjs/src/components/Badge/styles.js +1 -1
  13. package/lib/cjs/src/components/Box/styles.js +1 -1
  14. package/lib/cjs/src/components/Button/README.md.js +1 -1
  15. package/lib/cjs/src/components/Button/README.md.js.map +1 -1
  16. package/lib/cjs/src/components/Button/index.js +1 -1
  17. package/lib/cjs/src/components/Button/styles.js +1 -1
  18. package/lib/cjs/src/components/Checkbox/README.md.js +1 -1
  19. package/lib/cjs/src/components/Checkbox/README.md.js.map +1 -1
  20. package/lib/cjs/src/components/Checkbox/index.js +1 -1
  21. package/lib/cjs/src/components/Checkbox/styles.js +1 -1
  22. package/lib/cjs/src/components/Collapse/index.js +1 -1
  23. package/lib/cjs/src/components/Collapse/styles.js +1 -1
  24. package/lib/cjs/src/components/Divider.js +1 -1
  25. package/lib/cjs/src/components/ErrorText/index.js +1 -1
  26. package/lib/cjs/src/components/ErrorText/styles.js +1 -1
  27. package/lib/cjs/src/components/Flex.js +1 -1
  28. package/lib/cjs/src/components/Footer/index.js +1 -1
  29. package/lib/cjs/src/components/GlobalStyle.js +1 -1
  30. package/lib/cjs/src/components/Header/index.js +1 -1
  31. package/lib/cjs/src/components/Header/styles.js +1 -1
  32. package/lib/cjs/src/components/Heading/styles.js +1 -1
  33. package/lib/cjs/src/components/Icon/index.js +1 -1
  34. package/lib/cjs/src/components/Icon/styles.js +1 -1
  35. package/lib/cjs/src/components/Link/styles.js +1 -1
  36. package/lib/cjs/src/components/Modal/index.js +1 -1
  37. package/lib/cjs/src/components/Modal/styles.js +1 -1
  38. package/lib/cjs/src/components/Pagination/index.js +1 -1
  39. package/lib/cjs/src/components/Pagination/styles.js +1 -1
  40. package/lib/cjs/src/components/PopOver/README.md.js +1 -1
  41. package/lib/cjs/src/components/PopOver/README.md.js.map +1 -1
  42. package/lib/cjs/src/components/PopOver/index.js +1 -1
  43. package/lib/cjs/src/components/PopOver/styles.js +1 -1
  44. package/lib/cjs/src/components/ProgressBar/index.js +1 -1
  45. package/lib/cjs/src/components/ProgressBar/styles.js +1 -1
  46. package/lib/cjs/src/components/Radio/README.md.js +1 -1
  47. package/lib/cjs/src/components/Radio/README.md.js.map +1 -1
  48. package/lib/cjs/src/components/Radio/index.js +1 -1
  49. package/lib/cjs/src/components/Radio/styles.js +1 -1
  50. package/lib/cjs/src/components/RadioConsent/README.md.js +2 -0
  51. package/lib/cjs/src/components/RadioConsent/README.md.js.map +1 -0
  52. package/lib/cjs/src/components/{RadioGroup → RadioConsent}/index.js +0 -0
  53. package/lib/cjs/src/components/{RadioGroup → RadioConsent}/index.js.map +0 -0
  54. package/lib/cjs/src/components/RadioConsent/styles.js +2 -0
  55. package/lib/cjs/src/components/{RadioGroup → RadioConsent}/styles.js.map +0 -0
  56. package/lib/cjs/src/components/Select/index.js +1 -1
  57. package/lib/cjs/src/components/Select/styles.js +1 -1
  58. package/lib/cjs/src/components/Spacing/index.js +1 -1
  59. package/lib/cjs/src/components/Step/index.js +1 -1
  60. package/lib/cjs/src/components/Step/styles.js +1 -1
  61. package/lib/cjs/src/components/Text/styles.js +1 -1
  62. package/lib/cjs/src/components/TextAreaField/README.md.js +1 -1
  63. package/lib/cjs/src/components/TextAreaField/README.md.js.map +1 -1
  64. package/lib/cjs/src/components/TextAreaField/index.js +1 -1
  65. package/lib/cjs/src/components/TextAreaField/styles.js +1 -1
  66. package/lib/cjs/src/components/TextField/README.md.js +1 -1
  67. package/lib/cjs/src/components/TextField/README.md.js.map +1 -1
  68. package/lib/cjs/src/components/TextField/index.js +1 -1
  69. package/lib/cjs/src/components/TextField/styles.js +1 -1
  70. package/lib/cjs/src/components/Totaliser/README.md.js +1 -1
  71. package/lib/cjs/src/components/Totaliser/README.md.js.map +1 -1
  72. package/lib/cjs/src/components/Totaliser/index.js +1 -1
  73. package/lib/cjs/src/components/Totaliser/styles.js +1 -1
  74. package/lib/cjs/src/components/UserBlock/index.js +1 -1
  75. package/lib/cjs/src/components/index.js +1 -1
  76. package/lib/cjs/src/hooks/useLayoutEffectBrowser.js +1 -1
  77. package/lib/cjs/src/hooks/useScrollPosition.js +1 -1
  78. package/lib/cjs/src/themes/cruk.js +1 -1
  79. package/lib/cjs/src/themes/su2c.js +1 -1
  80. package/lib/cjs/src/utils/Helper.js +1 -1
  81. package/lib/components/AddressLookup/AddressLookup.stories.d.ts +2 -2
  82. package/lib/components/AddressLookup/index.d.ts +3 -3
  83. package/lib/components/Avatar/Avatar.stories.d.ts +2 -2
  84. package/lib/components/Avatar/index.d.ts +3 -3
  85. package/lib/components/Avatar/styles.d.ts +3 -1
  86. package/lib/components/Badge/Badge.stories.d.ts +2 -2
  87. package/lib/components/Badge/index.d.ts +2 -2
  88. package/lib/components/Badge/styles.d.ts +2 -2
  89. package/lib/components/Box/Box.stories.d.ts +2 -2
  90. package/lib/components/Box/index.d.ts +3 -3
  91. package/lib/components/Box/styles.d.ts +5 -2
  92. package/lib/components/Button/Button.stories.d.ts +2 -2
  93. package/lib/components/Button/index.d.ts +5 -3
  94. package/lib/components/Button/styles.d.ts +3 -3
  95. package/lib/components/Checkbox/Checkbox.stories.d.ts +2 -2
  96. package/lib/components/Checkbox/index.d.ts +1 -1
  97. package/lib/components/Checkbox/styles.d.ts +2 -0
  98. package/lib/components/Collapse/Collapse.stories.d.ts +2 -2
  99. package/lib/components/Collapse/index.d.ts +2 -2
  100. package/lib/components/Collapse/styles.d.ts +3 -3
  101. package/lib/components/DateField/DateField.stories.d.ts +2 -2
  102. package/lib/components/DateField/index.d.ts +2 -2
  103. package/lib/components/ErrorText/ErrorText.stories.d.ts +2 -2
  104. package/lib/components/ErrorText/index.d.ts +4 -4
  105. package/lib/components/ErrorText/styles.d.ts +2 -1
  106. package/lib/components/Flex.d.ts +2 -4
  107. package/lib/components/Footer/Footer.stories.d.ts +2 -2
  108. package/lib/components/Footer/index.d.ts +1 -1
  109. package/lib/components/Header/Header.stories.d.ts +2 -2
  110. package/lib/components/Header/index.d.ts +2 -2
  111. package/lib/components/Heading/Heading.stories.d.ts +2 -2
  112. package/lib/components/Heading/index.d.ts +4 -4
  113. package/lib/components/Heading/styles.d.ts +2 -2
  114. package/lib/components/Icon/Icon.stories.d.ts +2 -2
  115. package/lib/components/Icon/index.d.ts +2 -2
  116. package/lib/components/Icon/styles.d.ts +1 -0
  117. package/lib/components/LabelWrapper/index.d.ts +1 -1
  118. package/lib/components/LabelWrapper/styles.d.ts +1 -1
  119. package/lib/components/LegendWrapper/LegendWrapper.stories.d.ts +2 -2
  120. package/lib/components/LegendWrapper/index.d.ts +1 -1
  121. package/lib/components/LegendWrapper/styles.d.ts +3 -3
  122. package/lib/components/Link/Link.stories.d.ts +2 -2
  123. package/lib/components/Link/index.d.ts +4 -4
  124. package/lib/components/Link/styles.d.ts +7 -7
  125. package/lib/components/Loader/Loader.stories.d.ts +1 -1
  126. package/lib/components/Loader/index.d.ts +2 -2
  127. package/lib/components/Modal/Modal.stories.d.ts +2 -2
  128. package/lib/components/Modal/index.d.ts +3 -3
  129. package/lib/components/Pagination/Pagination.stories.d.ts +2 -2
  130. package/lib/components/Pagination/index.d.ts +4 -4
  131. package/lib/components/PopOver/Popover.stories.d.ts +2 -2
  132. package/lib/components/PopOver/index.d.ts +2 -2
  133. package/lib/components/PopOver/styles.d.ts +1 -1
  134. package/lib/components/ProgressBar/ProgressBar.stories.d.ts +2 -2
  135. package/lib/components/ProgressBar/index.d.ts +1 -1
  136. package/lib/components/ProgressBar/styles.d.ts +2 -2
  137. package/lib/components/Radio/Radio.stories.d.ts +2 -2
  138. package/lib/components/Radio/index.d.ts +1 -1
  139. package/lib/components/Radio/styles.d.ts +10 -3
  140. package/lib/components/RadioConsent/Radio.stories.d.ts +6 -0
  141. package/lib/components/RadioConsent/index.d.ts +24 -0
  142. package/lib/components/{RadioGroup → RadioConsent}/styles.d.ts +7 -4
  143. package/lib/components/{RadioGroup → RadioConsent}/test.cypress.d.ts +0 -0
  144. package/lib/components/Select/Selelct.stories.d.ts +2 -2
  145. package/lib/components/Select/index.d.ts +4 -1
  146. package/lib/components/Select/styles.d.ts +4 -3
  147. package/lib/components/Spacing/index.d.ts +1 -1
  148. package/lib/components/Step/Step.stories.d.ts +2 -2
  149. package/lib/components/Step/index.d.ts +1 -1
  150. package/lib/components/Text/Text.stories.d.ts +2 -2
  151. package/lib/components/Text/index.d.ts +4 -4
  152. package/lib/components/Text/styles.d.ts +5 -5
  153. package/lib/components/TextAreaField/TextAreaField.stories.d.ts +2 -2
  154. package/lib/components/TextAreaField/index.d.ts +3 -3
  155. package/lib/components/TextAreaField/styles.d.ts +5 -4
  156. package/lib/components/TextField/TextField.stories.d.ts +2 -2
  157. package/lib/components/TextField/index.d.ts +1 -1
  158. package/lib/components/TextField/styles.d.ts +1 -1
  159. package/lib/components/Totaliser/Totaliser.stories.d.ts +2 -2
  160. package/lib/components/Totaliser/index.d.ts +1 -1
  161. package/lib/components/Totaliser/styles.d.ts +4 -7
  162. package/lib/components/UserBlock/UserBlock.stories.d.ts +2 -2
  163. package/lib/components/UserBlock/index.d.ts +2 -2
  164. package/lib/components/index.d.ts +2 -2
  165. package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js +1 -1
  166. package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
  167. package/lib/es/node_modules/react-focus-lock/dist/es2015/Trap.js +1 -1
  168. package/lib/es/node_modules/react-focus-lock/dist/es2015/Trap.js.map +1 -1
  169. package/lib/es/src/components/AddressLookup/index.js +1 -1
  170. package/lib/es/src/components/Avatar/README.md.js +1 -1
  171. package/lib/es/src/components/Avatar/README.md.js.map +1 -1
  172. package/lib/es/src/components/Avatar/index.js +1 -1
  173. package/lib/es/src/components/Avatar/styles.js +1 -1
  174. package/lib/es/src/components/Badge/styles.js +1 -1
  175. package/lib/es/src/components/Box/styles.js +1 -1
  176. package/lib/es/src/components/Button/README.md.js +1 -1
  177. package/lib/es/src/components/Button/README.md.js.map +1 -1
  178. package/lib/es/src/components/Button/index.js +1 -1
  179. package/lib/es/src/components/Button/styles.js +1 -1
  180. package/lib/es/src/components/Checkbox/README.md.js +1 -1
  181. package/lib/es/src/components/Checkbox/README.md.js.map +1 -1
  182. package/lib/es/src/components/Checkbox/index.js +1 -1
  183. package/lib/es/src/components/Checkbox/styles.js +1 -1
  184. package/lib/es/src/components/Collapse/index.js +1 -1
  185. package/lib/es/src/components/Collapse/styles.js +1 -1
  186. package/lib/es/src/components/Divider.js +1 -1
  187. package/lib/es/src/components/ErrorText/index.js +1 -1
  188. package/lib/es/src/components/ErrorText/styles.js +1 -1
  189. package/lib/es/src/components/Flex.js +1 -1
  190. package/lib/es/src/components/Footer/index.js +1 -1
  191. package/lib/es/src/components/GlobalStyle.js +1 -1
  192. package/lib/es/src/components/Header/index.js +1 -1
  193. package/lib/es/src/components/Header/styles.js +1 -1
  194. package/lib/es/src/components/Heading/styles.js +1 -1
  195. package/lib/es/src/components/Icon/index.js +1 -1
  196. package/lib/es/src/components/Icon/styles.js +1 -1
  197. package/lib/es/src/components/Link/styles.js +1 -1
  198. package/lib/es/src/components/Modal/index.js +1 -1
  199. package/lib/es/src/components/Modal/styles.js +1 -1
  200. package/lib/es/src/components/Pagination/index.js +1 -1
  201. package/lib/es/src/components/Pagination/styles.js +1 -1
  202. package/lib/es/src/components/PopOver/README.md.js +1 -1
  203. package/lib/es/src/components/PopOver/README.md.js.map +1 -1
  204. package/lib/es/src/components/PopOver/index.js +1 -1
  205. package/lib/es/src/components/PopOver/styles.js +1 -1
  206. package/lib/es/src/components/ProgressBar/index.js +1 -1
  207. package/lib/es/src/components/ProgressBar/styles.js +1 -1
  208. package/lib/es/src/components/Radio/README.md.js +1 -1
  209. package/lib/es/src/components/Radio/README.md.js.map +1 -1
  210. package/lib/es/src/components/Radio/index.js +1 -1
  211. package/lib/es/src/components/Radio/styles.js +1 -1
  212. package/lib/es/src/components/RadioConsent/README.md.js +2 -0
  213. package/lib/es/src/components/RadioConsent/README.md.js.map +1 -0
  214. package/lib/es/src/components/{RadioGroup → RadioConsent}/index.js +0 -0
  215. package/lib/es/src/components/{RadioGroup → RadioConsent}/index.js.map +0 -0
  216. package/lib/es/src/components/RadioConsent/styles.js +2 -0
  217. package/lib/es/src/components/{RadioGroup → RadioConsent}/styles.js.map +0 -0
  218. package/lib/es/src/components/Select/index.js +1 -1
  219. package/lib/es/src/components/Select/styles.js +1 -1
  220. package/lib/es/src/components/Spacing/index.js +1 -1
  221. package/lib/es/src/components/Step/index.js +1 -1
  222. package/lib/es/src/components/Step/styles.js +1 -1
  223. package/lib/es/src/components/Text/styles.js +1 -1
  224. package/lib/es/src/components/TextAreaField/README.md.js +1 -1
  225. package/lib/es/src/components/TextAreaField/README.md.js.map +1 -1
  226. package/lib/es/src/components/TextAreaField/index.js +1 -1
  227. package/lib/es/src/components/TextAreaField/styles.js +1 -1
  228. package/lib/es/src/components/TextField/README.md.js +1 -1
  229. package/lib/es/src/components/TextField/README.md.js.map +1 -1
  230. package/lib/es/src/components/TextField/index.js +1 -1
  231. package/lib/es/src/components/TextField/styles.js +1 -1
  232. package/lib/es/src/components/Totaliser/README.md.js +1 -1
  233. package/lib/es/src/components/Totaliser/README.md.js.map +1 -1
  234. package/lib/es/src/components/Totaliser/index.js +1 -1
  235. package/lib/es/src/components/Totaliser/styles.js +1 -1
  236. package/lib/es/src/components/UserBlock/index.js +1 -1
  237. package/lib/es/src/components/index.js +1 -1
  238. package/lib/es/src/hooks/useLayoutEffectBrowser.js +1 -1
  239. package/lib/es/src/hooks/useScrollPosition.js +1 -1
  240. package/lib/es/src/themes/cruk.js +1 -1
  241. package/lib/es/src/themes/su2c.js +1 -1
  242. package/lib/es/src/utils/Helper.js +1 -1
  243. package/lib/hooks/useKey.d.ts +2 -2
  244. package/lib/hooks/useLayoutEffectBrowser.d.ts +2 -1
  245. package/lib/hooks/useScrollPosition.d.ts +12 -1
  246. package/lib/types.d.ts +11 -13
  247. package/package.json +39 -25
  248. package/lib/cjs/src/components/RadioGroup/README.md.js +0 -2
  249. package/lib/cjs/src/components/RadioGroup/README.md.js.map +0 -1
  250. package/lib/cjs/src/components/RadioGroup/styles.js +0 -2
  251. package/lib/components/RadioGroup/Radio.stories.d.ts +0 -6
  252. package/lib/components/RadioGroup/index.d.ts +0 -24
  253. package/lib/es/src/components/RadioGroup/README.md.js +0 -2
  254. package/lib/es/src/components/RadioGroup/README.md.js.map +0 -1
  255. package/lib/es/src/components/RadioGroup/styles.js +0 -2
  256. package/lib/stories/Button.d.ts +0 -28
  257. package/lib/stories/Header.d.ts +0 -9
  258. package/lib/stories/Header.stories.d.ts +0 -6
  259. package/lib/stories/Page.d.ts +0 -9
  260. package/lib/stories/Page.stories.d.ts +0 -6
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),t=require("styled-components"),e=require("../Button/index.js"),o=require("../Icon/index.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,a,s,l,u=i(t),f=u.default(o.default)(r||(r=n.__makeTemplateObject(["\n transform: ",";\n transition-duration: ","s;\n"],["\n transform: ",";\n transition-duration: ","s;\n"])),(function(n){return n.open?"rotate(90deg) translateX(0.1em) scaleX(-1) ":"rotate(90deg)"}),.5),d=u.default(e.Button)(a||(a=n.__makeTemplateObject(["\n display: flex;\n color: ",";\n font-size: ",";\n font-family: ",";\n font-weight: normal;\n margin-bottom: 0;\n height: initial;\n text-decoration: none;\n text-align: left;\n :hover,\n :focus {\n color: ",";\n }\n"],["\n display: flex;\n color: ",";\n font-size: ",";\n font-family: ",";\n font-weight: normal;\n margin-bottom: 0;\n height: initial;\n text-decoration: none;\n text-align: left;\n :hover,\n :focus {\n color: ",";\n }\n"])),(function(n){var t=n.theme.colors,e=n.textColor;return e&&void 0!==t[e]?t[e]:e||t.secondary}),(function(n){var t=n.theme,e=t.fontSizes,o=t.fontSizes.m,i=n.textSize;return i?e[i]:o}),(function(n){var t=n.theme,e=n.textFontFamily;return e||t.typography.fontFamilyBase}),(function(n){var t=n.theme.colors,e=n.textColor;return e&&void 0!==t[e]?t[e]:e||t.secondary})),c=u.default.div(s||(s=n.__makeTemplateObject(["\n margin: 0;\n transition: ","s ease;\n height: ",";\n visibility: ",";\n overflow: hidden;\n & > p {\n margin-top: 0;\n }\n"],["\n margin: 0;\n transition: ","s ease;\n height: ",";\n visibility: ",";\n overflow: hidden;\n & > p {\n margin-top: 0;\n }\n"])),.5,(function(n){return n.contentHeight}),(function(n){return n.openStatus?"visible":"hidden"})),m=u.default.div(l||(l=n.__makeTemplateObject(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"])));exports.CollapseContent=c,exports.CustomHeader=m,exports.DefaultHeader=d,exports.FlippingIcon=f,exports.transitionDurationSeconds=.5;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),t=require("styled-components"),e=require("../Button/index.js"),o=require("../Icon/index.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,a,s,l,u=i(t),f=u.default(o.default)(r||(r=n.__makeTemplateObject(["\n transform: ",";\n transition-duration: ","s;\n"],["\n transform: ",";\n transition-duration: ","s;\n"])),(function(n){return n.open?"rotate(90deg) translateX(0.1em) scaleX(-1) ":"rotate(90deg)"}),.5),d=u.default(e.Button)(a||(a=n.__makeTemplateObject(["\n display: flex;\n color: ",";\n font-size: ",";\n font-family: ",";\n font-weight: normal;\n margin-bottom: 0;\n height: initial;\n text-decoration: none;\n text-align: left;\n :hover,\n :focus {\n color: ",";\n }\n"],["\n display: flex;\n color: ",";\n font-size: ",";\n font-family: ",";\n font-weight: normal;\n margin-bottom: 0;\n height: initial;\n text-decoration: none;\n text-align: left;\n :hover,\n :focus {\n color: ",";\n }\n"])),(function(n){var t=n.theme.colors,e=n.textColor;return e&&void 0!==t[e]?t[e]:e||t.secondary}),(function(n){var t=n.theme,e=t.fontSizes,o=t.fontSizes.m,i=n.textSize;return i?e[i]:o}),(function(n){var t=n.theme;return n.textFontFamily||t.typography.fontFamilyBase}),(function(n){var t=n.theme.colors,e=n.textColor;return e&&void 0!==t[e]?t[e]:e||t.secondary})),c=u.default.div(s||(s=n.__makeTemplateObject(["\n margin: 0;\n transition: ","s ease;\n height: ",";\n visibility: ",";\n overflow: hidden;\n & > p {\n margin-top: 0;\n }\n"],["\n margin: 0;\n transition: ","s ease;\n height: ",";\n visibility: ",";\n overflow: hidden;\n & > p {\n margin-top: 0;\n }\n"])),.5,(function(n){return n.contentHeight}),(function(n){return n.openStatus?"visible":"hidden"})),m=u.default.div(l||(l=n.__makeTemplateObject(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"])));exports.CollapseContent=c,exports.CustomHeader=m,exports.DefaultHeader=d,exports.FlippingIcon=f,exports.transitionDurationSeconds=.5;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../node_modules/tslib/tslib.es6.js"),n=require("react"),t=require("styled-components");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l,r=i(n),o=i(t).default.div(l||(l=e.__makeTemplateObject(['\n align-items: center;\n display: flex;\n flex-basis: 100%;\n padding-bottom: 10px;\n padding-top: 10px;\n text-align: center;\n width: 100%;\n :before,\n :after {\n background-color: #333;\n content: "";\n display: inline-block;\n flex-grow: 1;\n height: 1px;\n }\n'],['\n align-items: center;\n display: flex;\n flex-basis: 100%;\n padding-bottom: 10px;\n padding-top: 10px;\n text-align: center;\n width: 100%;\n :before,\n :after {\n background-color: #333;\n content: "";\n display: inline-block;\n flex-grow: 1;\n height: 1px;\n }\n']))),a=function(e){return r.default.createElement(o,null,e.children)};exports.Divider=a,exports.default=a;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../node_modules/tslib/tslib.es6.js"),n=require("react"),t=require("styled-components");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r,l=i(n),o=i(t).default.div(r||(r=e.__makeTemplateObject(['\n align-items: center;\n display: flex;\n flex-basis: 100%;\n padding-bottom: 10px;\n padding-top: 10px;\n text-align: center;\n width: 100%;\n :before,\n :after {\n background-color: #333;\n content: "";\n display: inline-block;\n flex-grow: 1;\n height: 1px;\n }\n'],['\n align-items: center;\n display: flex;\n flex-basis: 100%;\n padding-bottom: 10px;\n padding-top: 10px;\n text-align: center;\n width: 100%;\n :before,\n :after {\n background-color: #333;\n content: "";\n display: inline-block;\n flex-grow: 1;\n height: 1px;\n }\n']))),a=function(e){var n=e.children;return l.default.createElement(o,null,n)};exports.Divider=a,exports.default=a;
2
2
  //# sourceMappingURL=Divider.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),r=require("react"),t=require("styled-components"),s=require("./styles.js"),u=require("../../themes/cruk.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(r);exports.default=function(r){var a=r.children,l=r.as,n=void 0===l?"span":l,d=e.__rest(r,["children","as"]),o=t.useTheme(),c=e.__assign(e.__assign({},u.default),o);return i.default.createElement(s.StyledErrorText,e.__assign({forwardedAs:n},d,{theme:c,role:"alert"}),a)};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),r=require("react"),t=require("styled-components"),s=require("../../themes/cruk.js"),u=require("./styles.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(r);exports.default=function(r){var a=r.children,l=r.as,n=void 0===l?"span":l,d=e.__rest(r,["children","as"]),o=t.useTheme(),c=e.__assign(e.__assign({},s.default),o);return i.default.createElement(u.StyledErrorText,e.__assign({forwardedAs:n},d,{theme:c,role:"alert"}),a)};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("styled-components"),n=require("../Text/index.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o,i=r(t).default(n.Text)(o||(o=e.__makeTemplateObject(["\n display: inline-block;\n color: ",";\n font-weight: ",";\n"],["\n display: inline-block;\n color: ",";\n font-weight: ",";\n"])),(function(e){return e.theme.colors.textError}),(function(e){return e.theme.typography.fontWeightHeavy}));exports.StyledErrorText=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("styled-components"),n=require("../Text/index.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o,i=r(t).default(n.Text)(o||(o=e.__makeTemplateObject(["\n display: inline-block;\n color: ",";\n font-weight: ",";\n"],["\n display: inline-block;\n color: ",";\n font-weight: ",";\n"])),(function(e){return e.theme.colors.textError}),(function(e){return e.theme.typography.fontWeightHeavy}));exports.StyledErrorText=i,exports.default=i;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../node_modules/tslib/tslib.es6.js"),n=require("styled-components"),t=require("./Spacing/index.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r,s=i(n).default.div(r||(r=e.__makeTemplateObject(["\n display: block;\n @media (min-width: ",") {\n display: flex;\n }\n ","\n ","\n"],["\n display: block;\n @media (min-width: ",") {\n display: flex;\n }\n ","\n ","\n"])),(function(e){return e.theme.breakpoint.tablet}),(function(e){return n.css([e.css])}),(function(e){return t.Spacing(e,e.theme)}));exports.default=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../node_modules/tslib/tslib.es6.js"),n=require("styled-components"),t=require("./Spacing/index.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l,r=i(n).default.div(l||(l=e.__makeTemplateObject(["\n display: block;\n @media (min-width: ",") {\n display: flex;\n }\n ","\n"],["\n display: block;\n @media (min-width: ",") {\n display: flex;\n }\n ","\n"])),(function(e){return e.theme.breakpoint.tablet}),(function(e){return t.Spacing(e,e.theme)}));exports.default=r;
2
2
  //# sourceMappingURL=Flex.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),l=require("styled-components"),r=require("../../themes/cruk.js"),n=require("../Text/index.js"),a=require("./styles.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=u(t),d=function(t){var u=o.default.Children.toArray(t.children),d=l.useTheme(),s=e.__assign(e.__assign({},r.default),d);return o.default.createElement(l.ThemeProvider,{theme:s},o.default.createElement(a.StyledFooter,null,o.default.createElement(a.FooterContentWrapper,null,o.default.createElement(a.FooterSectionLogo,null,o.default.createElement(a.StyledRegulatorLogo,{alt:"Registered with Fundraising Regulator",src:"https://fundraise.cancerresearchuk.org/profiles/cruk_fundraising/themes/cruk_of_bootstrap/images/fundreg.png"})),o.default.createElement(a.FooterSectionLinks,null,o.default.createElement(a.StyledNav,{"aria-label":"footer links"},o.default.createElement(a.StyledUL,null,u.length?u.map((function(e,t){return o.default.createElement(a.StyledLI,{key:t},e)})):null))),o.default.createElement(a.FooterSection,null,t.middleSection?"string"==typeof t.middleSection?o.default.createElement(n.Text,{textSize:"s"},t.middleSection):o.default.createElement(o.default.Fragment,null,t.middleSection):o.default.createElement(n.Text,{textSize:"s"},s.siteConfig.footerCopyText)),o.default.createElement(a.FooterSectionAddress,null,o.default.createElement(a.StyledAddress,null,o.default.createElement(n.Text,{as:"span",textSize:"s"},"2 Redman Place"),o.default.createElement(n.Text,{as:"span",textSize:"s"},"London"),o.default.createElement(n.Text,{as:"span",textSize:"s"},"E20 1JQ"))))))};exports.Footer=d,exports.default=d;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),l=require("styled-components"),r=require("../../themes/cruk.js"),n=require("../Text/index.js"),a=require("./styles.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t),d=function(t){var o=t.children,d=t.middleSection,s=u.default.Children.toArray(o),i=l.useTheme(),f=e.__assign(e.__assign({},r.default),i);return u.default.createElement(l.ThemeProvider,{theme:f},u.default.createElement(a.StyledFooter,null,u.default.createElement(a.FooterContentWrapper,null,u.default.createElement(a.FooterSectionLogo,null,u.default.createElement(a.StyledRegulatorLogo,{alt:f.siteConfig.footerLogoAlt||"",src:f.siteConfig.footerLogoSrc||""})),u.default.createElement(a.FooterSectionLinks,null,u.default.createElement(a.StyledNav,{"aria-label":"footer links"},u.default.createElement(a.StyledUL,null,s.length?s.map((function(e,t){return u.default.createElement(a.StyledLI,{key:t},e)})):null))),u.default.createElement(a.FooterSection,null,d?"string"==typeof d?u.default.createElement(n.Text,{textSize:"s"},d):u.default.createElement(u.default.Fragment,null,d):u.default.createElement(n.Text,{textSize:"s"},f.siteConfig.footerCopyText)),u.default.createElement(a.FooterSectionAddress,null,u.default.createElement(a.StyledAddress,null,u.default.createElement(n.Text,{as:"span",textSize:"s"},"2 Redman Place"),u.default.createElement(n.Text,{as:"span",textSize:"s"},"London"),u.default.createElement(n.Text,{as:"span",textSize:"s"},"E20 1JQ"))))))};exports.Footer=d,exports.default=d;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../node_modules/tslib/tslib.es6.js"),o=require("styled-components"),e=require("../themes/cruk.js"),t=o.createGlobalStyle(r||(r=n.__makeTemplateObject(["\n ","\n *, *:after, *:before {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n \n @media (prefers-reduced-motion: reduce) {\n *, *:after, *:before {\n animation-play-state: paused !important;\n animation-direction: reverse !important;\n transition: none !important;\n scroll-behavior: auto !important;\n }\n }\n\n table, td, th {\n border-spacing: 0;\n border: 1px solid #ccc;\n padding: 10px;\n }\n .no-focus-outline a:focus,\n .no-focus-outline button:focus {\n outline: none;\n }\n img {\n width: 100%;\n height: auto;\n }\n section {\n width: 100%;\n }\n button {\n font-size: 1em;\n }\n"],["\n ","\n *, *:after, *:before {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n \n @media (prefers-reduced-motion: reduce) {\n *, *:after, *:before {\n animation-play-state: paused !important;\n animation-direction: reverse !important;\n transition: none !important;\n scroll-behavior: auto !important;\n }\n }\n\n table, td, th {\n border-spacing: 0;\n border: 1px solid #ccc;\n padding: 10px;\n }\n .no-focus-outline a:focus,\n .no-focus-outline button:focus {\n outline: none;\n }\n img {\n width: 100%;\n height: auto;\n }\n section {\n width: 100%;\n }\n button {\n font-size: 1em;\n }\n"])),(function(o){var t=n.__assign(n.__assign({},e.default),o.theme);return"\n "+(t.typography.customFonts.map((function(n){return"\n @font-face {\n font-family: "+n.family+';\n src: url("'+n.url+".woff2\") format('woff2'),\n url(\""+n.url+".woff\") format('woff');\n font-weight: normal;\n font-style: normal;\n font-display: fallback;\n }\n "})).join("")+"\n html {\n font-size: ")+t.typography.fontSizeBase+";\n font-family: "+t.typography.fontFamilyBase+";\n line-height: "+t.typography.lineHeight+";\n }\n body {\n background-color: "+t.colors.backgroundMid+";\n color: "+t.colors.textDark+";\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n }\n "}));t.defaultProps={theme:e.default};var r,i=o.withTheme(t);exports.default=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../node_modules/tslib/tslib.es6.js"),o=require("styled-components"),t=require("../themes/cruk.js"),e=o.createGlobalStyle(r||(r=n.__makeTemplateObject(["\n ","\n *, *:after, *:before {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n \n @media (prefers-reduced-motion: reduce) {\n *, *:after, *:before {\n animation-play-state: paused !important;\n animation-direction: reverse !important;\n transition: none !important;\n scroll-behavior: auto !important;\n }\n }\n\n table, td, th {\n border-spacing: 0;\n border: 1px solid #ccc;\n padding: 10px;\n }\n .no-focus-outline a:focus,\n .no-focus-outline button:focus {\n outline: none;\n }\n img {\n width: 100%;\n height: auto;\n }\n section {\n width: 100%;\n }\n button {\n font-size: 1em;\n }\n"],["\n ","\n *, *:after, *:before {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n \n @media (prefers-reduced-motion: reduce) {\n *, *:after, *:before {\n animation-play-state: paused !important;\n animation-direction: reverse !important;\n transition: none !important;\n scroll-behavior: auto !important;\n }\n }\n\n table, td, th {\n border-spacing: 0;\n border: 1px solid #ccc;\n padding: 10px;\n }\n .no-focus-outline a:focus,\n .no-focus-outline button:focus {\n outline: none;\n }\n img {\n width: 100%;\n height: auto;\n }\n section {\n width: 100%;\n }\n button {\n font-size: 1em;\n }\n"])),(function(o){var e,r=n.__assign(n.__assign({},t.default),o.theme);return"\n ".concat((e=r.typography.customFonts,e.map((function(n){return"\n @font-face {\n font-family: ".concat(n.family,';\n src: url("').concat(n.url,".woff2\") format('woff2'),\n url(\"").concat(n.url,".woff\") format('woff');\n font-weight: normal;\n font-style: normal;\n font-display: fallback;\n }\n ")})).join("")),"\n html {\n font-size: ").concat(r.typography.fontSizeBase,";\n font-family: ").concat(r.typography.fontFamilyBase,";\n line-height: ").concat(r.typography.lineHeight,";\n }\n body {\n background-color: ").concat(r.colors.backgroundMid,";\n color: ").concat(r.colors.textDark,";\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n }\n ")}));e.defaultProps={theme:t.default};var r,i=o.withTheme(e);exports.default=i;
2
2
  //# sourceMappingURL=GlobalStyle.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),l=require("styled-components"),i=require("../../hooks/useScrollPosition.js"),r=require("../../themes/cruk.js"),n=require("./styles.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(t),s=function(a){var s=a.isSticky,u=a.siteSlogan,c=a.logoAltText,d=a.logoImageSrc,f=a.logoLinkTitle,m=a.logoLinkUrl,S=a.fullWidth,g=a.children,y=t.useState(!1),k=y[0],p=y[1],h="undefined"!=typeof window,E=l.useTheme(),H=e.__assign(e.__assign({},r.default),E);return i.useScrollPosition((function(e){var t=e.currPos,l=!!h&&t.y>66;l!==k&&p(l)}),[k],null,!0,100),o.default.createElement(l.ThemeProvider,{theme:H},o.default.createElement(n.StyledHeader,null,o.default.createElement(n.HeaderStickyPlaceHolder,null,o.default.createElement(n.HeaderStickyContainer,{"data-cy":"header-sticky-container",isSmall:k,isSticky:s},o.default.createElement(n.SkipToMain,{className:"skip-main",href:"#main"},"Skip to main content"),o.default.createElement(n.HeaderMainContent,{fullWidth:S},o.default.createElement(n.StyledLink,{href:null!=m?m:H.siteConfig.logoUrl,title:null!=f?f:"Home"},o.default.createElement(n.LogoWrapper,{isSmall:k,isSticky:s},o.default.createElement(n.Logo,{src:null!=d?d:H.siteConfig.logoSrc,alt:null!=c?c:H.siteConfig.logoAlt}))),u?o.default.createElement(n.Tagline,{isSmall:k,isSticky:s},u):null,g)))))};exports.Header=s,exports.default=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),l=require("styled-components"),r=require("../../hooks/useScrollPosition.js"),i=require("../../themes/cruk.js"),a=require("./styles.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(t),u=function(n){var u=n.isSticky,s=n.siteSlogan,c=n.logoAltText,d=n.logoImageSrc,f=n.logoLinkTitle,m=n.logoLinkUrl,S=n.fullWidth,g=n.children,y=t.useState(!1),k=y[0],p=y[1],h="undefined"!=typeof window,E=l.useTheme(),H=e.__assign(e.__assign({},i.default),E);return r.default((function(e){var t=e.currPos,l=!!h&&t.y>66;l!==k&&p(l)}),[k],null,!0,100),o.default.createElement(l.ThemeProvider,{theme:H},o.default.createElement(a.StyledHeader,null,o.default.createElement(a.HeaderStickyPlaceHolder,null,o.default.createElement(a.HeaderStickyContainer,{"data-cy":"header-sticky-container",isSmall:k,isSticky:u},o.default.createElement(a.SkipToMain,{className:"skip-main",href:"#main"},"Skip to main content"),o.default.createElement(a.HeaderMainContent,{fullWidth:S},o.default.createElement(a.StyledLink,{href:null!=m?m:H.siteConfig.logoUrl,title:null!=f?f:"Home"},o.default.createElement(a.LogoWrapper,{isSmall:k,isSticky:u},o.default.createElement(a.Logo,{src:null!=d?d:H.siteConfig.logoSrc,alt:null!=c?c:H.siteConfig.logoAlt}))),s?o.default.createElement(a.Tagline,{isSmall:k,isSticky:u},s):null,g)))))};exports.Header=u,exports.default=u;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components"),t=require("../../themes/cruk.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,a,r,d,l,u,h,p,s,c=i(e),m=t.default.spacing.s,f=c.default.header(o||(o=n.__makeTemplateObject(["\n box-sizing: border-box;\n position: relative;\n width: 100%;\n background-color: ",";\n z-index: 9998;\n"],["\n box-sizing: border-box;\n position: relative;\n width: 100%;\n background-color: ",";\n z-index: 9998;\n"])),(function(n){return n.theme.colors.headerBackground})),x=c.default.div(a||(a=n.__makeTemplateObject(["\n box-sizing: border-box;\n width: 100%;\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"],["\n box-sizing: border-box;\n width: 100%;\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"])),"72px",(function(n){return n.theme.breakpoint.desktop}),"120px"),g=c.default.div(r||(r=n.__makeTemplateObject(["\n width: 100%;\n padding: 0;\n background-color: ",";\n position: relative;\n border-bottom: ",";\n padding: 0 ",";\n height: ",";\n\n top: ",";\n position: ",";\n\n @media (min-width: ",") {\n position: ",";\n height: ",";\n }\n"],["\n width: 100%;\n padding: 0;\n background-color: ",";\n position: relative;\n border-bottom: ",";\n padding: 0 ",";\n height: ",";\n\n top: ",";\n position: ",";\n\n @media (min-width: ",") {\n position: ",";\n height: ",";\n }\n"])),(function(n){return n.theme.colors.headerBackground}),(function(n){return"solid 1px "+n.theme.colors.headerBorder}),m,"72px",(function(n){return n.isSticky?0:"auto"}),(function(n){return n.isSticky?"fixed":"relative"}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.isSticky,t=n.isSmall;return e&&t?"fixed":"relative"}),(function(n){var e=n.isSmall,t=n.isSticky;return e&&t?"72px":"120px"})),b=c.default.div(d||(d=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n max-width: ",";\n margin: 0 auto;\n"],["\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n max-width: ",";\n margin: 0 auto;\n"])),(function(n){var e=n.fullWidth,t=n.theme.utilities.contentMaxWidth;return e?"100%":t})),w=c.default.img(l||(l=n.__makeTemplateObject(["\n height: 100%;\n width: auto;\n max-width: 100%;\n max-height: 100%;\n"],["\n height: 100%;\n width: auto;\n max-width: 100%;\n max-height: 100%;\n"]))),k=c.default.div(u||(u=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n width: auto;\n\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n width: auto;\n\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"])),"40px",(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.isSmall,t=n.isSticky;return e&&t?"40px":"80px"})),y=c.default.a(h||(h=n.__makeTemplateObject(["\n display: inline-block;\n"],["\n display: inline-block;\n"]))),v=c.default.a(p||(p=n.__makeTemplateObject(["\n left: -999px;\n position: absolute;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n z-index: -999;\n &:focus,\n &:active,\n &:focus-within {\n left: auto;\n top: auto;\n width: 30%;\n height: auto;\n overflow: auto;\n margin: 10px 35%;\n padding: ",";\n border-radius: 15px;\n border: 4px solid yellow;\n text-align: center;\n font-size: 1.2em;\n z-index: 999;\n }\n"],["\n left: -999px;\n position: absolute;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n z-index: -999;\n &:focus,\n &:active,\n &:focus-within {\n left: auto;\n top: auto;\n width: 30%;\n height: auto;\n overflow: auto;\n margin: 10px 35%;\n padding: ",";\n border-radius: 15px;\n border: 4px solid yellow;\n text-align: center;\n font-size: 1.2em;\n z-index: 999;\n }\n"])),(function(n){return n.theme.spacing.xs})),_=c.default.p(s||(s=n.__makeTemplateObject(["\n flex: 1 1 auto;\n font-family: ",";\n font-weight: ",";\n font-size: ",";\n color: ",";\n text-align: center;\n\n display: none;\n\n @media (min-width: ",") {\n display: ",";\n }\n"],["\n flex: 1 1 auto;\n font-family: ",";\n font-weight: ",";\n font-size: ",";\n color: ",";\n text-align: center;\n\n display: none;\n\n @media (min-width: ",") {\n display: ",";\n }\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.fontWeightLight}),(function(n){return n.theme.fontSizes.xl}),(function(n){return n.theme.colors.primary}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.isSmall,t=n.isSticky;return e&&t?"none":"block"}));exports.HeaderMainContent=b,exports.HeaderStickyContainer=g,exports.HeaderStickyPlaceHolder=x,exports.Logo=w,exports.LogoWrapper=k,exports.SkipToMain=v,exports.StyledHeader=f,exports.StyledLink=y,exports.Tagline=_;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components"),t=require("../../themes/cruk.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,a,r,d,l,u,h,p,s,c=i(e),m=t.default.spacing.s,f=c.default.header(o||(o=n.__makeTemplateObject(["\n box-sizing: border-box;\n position: relative;\n width: 100%;\n background-color: ",";\n z-index: 9998;\n"],["\n box-sizing: border-box;\n position: relative;\n width: 100%;\n background-color: ",";\n z-index: 9998;\n"])),(function(n){return n.theme.colors.headerBackground})),x=c.default.div(a||(a=n.__makeTemplateObject(["\n box-sizing: border-box;\n width: 100%;\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"],["\n box-sizing: border-box;\n width: 100%;\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"])),"72px",(function(n){return n.theme.breakpoint.desktop}),"120px"),g=c.default.div(r||(r=n.__makeTemplateObject(["\n width: 100%;\n padding: 0;\n background-color: ",";\n position: relative;\n border-bottom: ",";\n padding: 0 ",";\n height: ",";\n\n top: ",";\n position: ",";\n\n @media (min-width: ",") {\n position: ",";\n height: ",";\n }\n"],["\n width: 100%;\n padding: 0;\n background-color: ",";\n position: relative;\n border-bottom: ",";\n padding: 0 ",";\n height: ",";\n\n top: ",";\n position: ",";\n\n @media (min-width: ",") {\n position: ",";\n height: ",";\n }\n"])),(function(n){return n.theme.colors.headerBackground}),(function(n){var e=n.theme.colors.headerBorder;return"solid 1px ".concat(e)}),m,"72px",(function(n){return n.isSticky?0:"auto"}),(function(n){return n.isSticky?"fixed":"relative"}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.isSticky,t=n.isSmall;return e&&t?"fixed":"relative"}),(function(n){var e=n.isSmall,t=n.isSticky;return e&&t?"72px":"120px"})),b=c.default.div(d||(d=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n max-width: ",";\n margin: 0 auto;\n"],["\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n max-width: ",";\n margin: 0 auto;\n"])),(function(n){var e=n.fullWidth,t=n.theme.utilities.contentMaxWidth;return e?"100%":t})),w=c.default.img(l||(l=n.__makeTemplateObject(["\n height: 100%;\n width: auto;\n max-width: 100%;\n max-height: 100%;\n"],["\n height: 100%;\n width: auto;\n max-width: 100%;\n max-height: 100%;\n"]))),k=c.default.div(u||(u=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n width: auto;\n\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n width: auto;\n\n height: ",";\n\n @media (min-width: ",") {\n height: ",";\n }\n"])),"40px",(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.isSmall,t=n.isSticky;return e&&t?"40px":"80px"})),y=c.default.a(h||(h=n.__makeTemplateObject(["\n display: inline-block;\n"],["\n display: inline-block;\n"]))),v=c.default.a(p||(p=n.__makeTemplateObject(["\n left: -999px;\n position: absolute;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n z-index: -999;\n &:focus,\n &:active,\n &:focus-within {\n left: auto;\n top: auto;\n width: 30%;\n height: auto;\n overflow: auto;\n margin: 10px 35%;\n padding: ",";\n border-radius: 15px;\n border: 4px solid yellow;\n text-align: center;\n font-size: 1.2em;\n z-index: 999;\n }\n"],["\n left: -999px;\n position: absolute;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n z-index: -999;\n &:focus,\n &:active,\n &:focus-within {\n left: auto;\n top: auto;\n width: 30%;\n height: auto;\n overflow: auto;\n margin: 10px 35%;\n padding: ",";\n border-radius: 15px;\n border: 4px solid yellow;\n text-align: center;\n font-size: 1.2em;\n z-index: 999;\n }\n"])),(function(n){return n.theme.spacing.xs})),_=c.default.p(s||(s=n.__makeTemplateObject(["\n flex: 1 1 auto;\n font-family: ",";\n font-weight: ",";\n font-size: ",";\n color: ",";\n text-align: center;\n\n display: none;\n\n @media (min-width: ",") {\n display: ",";\n }\n"],["\n flex: 1 1 auto;\n font-family: ",";\n font-weight: ",";\n font-size: ",";\n color: ",";\n text-align: center;\n\n display: none;\n\n @media (min-width: ",") {\n display: ",";\n }\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.fontWeightLight}),(function(n){return n.theme.fontSizes.xl}),(function(n){return n.theme.colors.primary}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.isSmall,t=n.isSticky;return e&&t?"none":"block"}));exports.HeaderMainContent=b,exports.HeaderStickyContainer=g,exports.HeaderStickyPlaceHolder=x,exports.Logo=w,exports.LogoWrapper=k,exports.SkipToMain=v,exports.StyledHeader=f,exports.StyledLink=y,exports.Tagline=_;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components"),t=require("../Spacing/index.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,o,u,f,a,m,s,l=i(e),x=function(i){return e.css(r||(r=n.__makeTemplateObject(["\n font-family: ",";\n word-break: ",";\n font-weight: ",";\n color: ",";\n line-height: ",";\n text-transform: ",";\n margin-top: ",";\n margin-bottom: ",";\n max-width: 100%;\n text-align: ",";\n\n &:first-child {\n margin-top: 0;\n }\n\n ","\n"],["\n font-family: ",";\n word-break: ",";\n font-weight: ",";\n color: ",";\n line-height: ",";\n text-transform: ",";\n margin-top: ",";\n margin-bottom: ",";\n max-width: 100%;\n text-align: ",";\n\n &:first-child {\n margin-top: 0;\n }\n\n ","\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(){return i.wordBreak||"normal"}),(function(n){return n.theme.typography.fontWeightMedium}),(function(n){var e=n.theme.colors,t=n.textColor;return t&&void 0!==e[t]?e[t]:t||e.textDark}),(function(n){return n.theme.typography.headerLineHeight}),(function(n){return n.theme.typography.headerTextTransform}),(function(n){return n.theme.spacing.m}),(function(n){return n.theme.spacing.s}),(function(n){var e=n.textAlign;return e||"left"}),(function(e){e.theme;var i=n.__rest(e,["theme"]);return t.Spacing(i,e.theme)}))},c=function(n,e,t){switch(n){case"m":return t.fontSizes.m;case"l":return t.fontSizes.l;case"xl":return t.fontSizes.xl;case"xxl":return t.fontSizes.xxl;case"xxxl":return t.fontSizes.xxxl;case"xxxxl":return t.fontSizes.xxxxl;default:return e}},h=function(n,e,t){switch(n){case"m":return t.fontSizes.m;case"l":case"xl":return t.fontSizes.l;case"xxl":return t.fontSizes.xl;case"xxxl":return t.fontSizes.xxl;case"xxxxl":return t.fontSizes.xxxl;default:return e}},z=function(n,e,t){switch(n){case"m":return t.fontSizes.m;case"l":case"xl":case"xxl":return t.fontSizes.l;case"xxxl":return t.fontSizes.xl;case"xxxxl":return t.fontSizes.xxl;default:return e}},d=l.default.h1(o||(o=n.__makeTemplateObject(["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n };\n"],["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n };\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.xxl,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.xxxl,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.xxxxl,e)})),S=l.default.h2(u||(u=n.__makeTemplateObject(["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.xl,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.xxl,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.xxxl,e)})),p=l.default.h3(f||(f=n.__makeTemplateObject(["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.xl,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.xxl,e)})),w=l.default.h4(a||(a=n.__makeTemplateObject(["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.xl,e)})),b=l.default.h5(m||(m=n.__makeTemplateObject(["\n ","\n\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.l,e)})),k=l.default.h6(s||(s=n.__makeTemplateObject(["\n ","\n \n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n \n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.m,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.m,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.m,e)}));exports.H1=d,exports.H2=S,exports.H3=p,exports.H4=w,exports.H5=b,exports.H6=k;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components"),t=require("../Spacing/index.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,o,u,f,a,m,s,l=i(e),x=function(i){return e.css(r||(r=n.__makeTemplateObject(["\n font-family: ",";\n word-break: ",";\n font-weight: ",";\n color: ",";\n line-height: ",";\n text-transform: ",";\n margin-top: ",";\n margin-bottom: ",";\n max-width: 100%;\n text-align: ",";\n\n &:first-child {\n margin-top: 0;\n }\n\n ","\n"],["\n font-family: ",";\n word-break: ",";\n font-weight: ",";\n color: ",";\n line-height: ",";\n text-transform: ",";\n margin-top: ",";\n margin-bottom: ",";\n max-width: 100%;\n text-align: ",";\n\n &:first-child {\n margin-top: 0;\n }\n\n ","\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(){return i.wordBreak||"normal"}),(function(n){return n.theme.typography.fontWeightMedium}),(function(n){var e=n.theme.colors,t=n.textColor;return t&&void 0!==e[t]?e[t]:t||e.textDark}),(function(n){return n.theme.typography.headerLineHeight}),(function(n){return n.theme.typography.headerTextTransform}),(function(n){return n.theme.spacing.m}),(function(n){return n.theme.spacing.s}),(function(n){return n.textAlign||"left"}),(function(){i.theme;var e=n.__rest(i,["theme"]);return t.Spacing(e,i.theme)}))},c=function(n,e,t){switch(n){case"m":return t.fontSizes.m;case"l":return t.fontSizes.l;case"xl":return t.fontSizes.xl;case"xxl":return t.fontSizes.xxl;case"xxxl":return t.fontSizes.xxxl;case"xxxxl":return t.fontSizes.xxxxl;default:return e}},h=function(n,e,t){switch(n){case"m":return t.fontSizes.m;case"l":case"xl":return t.fontSizes.l;case"xxl":return t.fontSizes.xl;case"xxxl":return t.fontSizes.xxl;case"xxxxl":return t.fontSizes.xxxl;default:return e}},z=function(n,e,t){switch(n){case"m":return t.fontSizes.m;case"l":case"xl":case"xxl":return t.fontSizes.l;case"xxxl":return t.fontSizes.xl;case"xxxxl":return t.fontSizes.xxl;default:return e}},d=l.default.h1(o||(o=n.__makeTemplateObject(["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n } ;\n"],["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n } ;\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.xxl,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.xxxl,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.xxxxl,e)})),S=l.default.h2(u||(u=n.__makeTemplateObject(["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.xl,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.xxl,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.xxxl,e)})),p=l.default.h3(f||(f=n.__makeTemplateObject(["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.xl,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.xxl,e)})),w=l.default.h4(a||(a=n.__makeTemplateObject(["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.xl,e)})),b=l.default.h5(m||(m=n.__makeTemplateObject(["\n ","\n\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.l,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.l,e)})),k=l.default.h6(s||(s=n.__makeTemplateObject(["\n ","\n\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n ","\n\n font-size: ",";\n @media (min-width: ",") {\n font-size: ",";\n }\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),(function(n){return x(n)}),(function(n){var e=n.theme,t=n.textSize;return z(t||null,e.fontSizes.m,e)}),(function(n){return n.theme.breakpoint.tablet}),(function(n){var e=n.theme,t=n.textSize;return h(t||null,e.fontSizes.m,e)}),(function(n){return n.theme.breakpoint.desktop}),(function(n){var e=n.theme,t=n.textSize;return c(t||null,e.fontSizes.m,e)}));exports.H1=d,exports.H2=S,exports.H3=p,exports.H4=w,exports.H5=b,exports.H6=k;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),r=require("styled-components"),s=require("../../themes/cruk.js"),u=require("./iconList.js"),i=require("./styles.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(t);Object.keys(u.ICONS).reduce((function(e,t){return e[t]=t,e}),{});var o=function(t){var n=r.useTheme(),o=e.__assign(e.__assign({},s.default),n),l=u.ICONS[t.name];return a.default.createElement(i.StyledIcon,e.__assign({theme:o,"alt-text":"",role:"presentation",viewBox:"0 0 "+l.width+" "+l.height,size:t.size},t),l.paths.map((function(e,t){return a.default.createElement("path",{key:t,d:e})})))};o.defaultProps={size:"1.1rem"},exports.default=o;
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"),s=require("../../themes/cruk.js"),n=require("./iconList.js"),i=require("./styles.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);Object.keys(n.ICONS).reduce((function(e,t){return e[t]=t,e}),{});exports.default=function(t){var o=t.name,a=t.color,c=t.size,l=void 0===c?"1.1rem":c,d=e.__rest(t,["name","color","size"]),f=r.useTheme(),m=e.__assign(e.__assign({},s.default),f),_=n.ICONS[o];return u.default.createElement(i.StyledIcon,e.__assign({theme:m,"alt-text":"",role:"presentation",viewBox:"0 0 ".concat(_.width," ").concat(_.height),size:l||"1.1rem",color:a},d),_.paths.map((function(e,t){return u.default.createElement("path",{key:t,d:e})})))};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t,i=n(require("styled-components")).default.svg(t||(t=e.__makeTemplateObject(["\n display: inline-block;\n height: ",";\n margin-top: -0.2em;\n vertical-align: middle;\n width: ",";\n path {\n fill: ",";\n }\n"],["\n display: inline-block;\n height: ",";\n margin-top: -0.2em;\n vertical-align: middle;\n width: ",";\n path {\n fill: ",";\n }\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){var n=e.theme.colors,t=e.color;return t&&void 0!==n[t]?n[t]:t||"currentColor"}));exports.StyledIcon=i;
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,i=n(require("styled-components")).default.svg(t||(t=e.__makeTemplateObject(["\n display: inline-block;\n height: ",";\n margin-top: -0.2em;\n vertical-align: middle;\n width: ",";\n path {\n fill: ",";\n }\n"],["\n display: inline-block;\n height: ",";\n margin-top: -0.2em;\n vertical-align: middle;\n width: ",";\n path {\n fill: ",";\n }\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){var n=e.theme.colors,t=e.color;return t&&void 0!==n[t]?n[t]:t||"currentColor"}));exports.StyledIcon=i,exports.default=i;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),n=require("styled-components"),r=require("../Text/index.js"),o=require("../Icon/index.js");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a,i,c,u=t(n),s=u.default(o.default)(a||(a=e.__makeTemplateObject(["\n margin-right: ",";\n"],["\n margin-right: ",";\n"])),(function(e){return e.theme.spacing.xxs})),d=u.default(r.Text)(c||(c=e.__makeTemplateObject(["\n transition: color 0.2s ease, background-size 0.3s ease;\n background-color: rgba(255, 255, 255, 0);\n border: none;\n padding: 0;\n color: ",";\n text-decoration: ",";\n font-weight: ",";\n background: ",";\n background-repeat: no-repeat;\n background-position-y: calc(100%);\n background-size: 100% 2px;\n\n ","\n\n &:hover {\n cursor: pointer;\n background-size: 100% 100%;\n color: ",";\n }\n"],["\n transition: color 0.2s ease, background-size 0.3s ease;\n background-color: rgba(255, 255, 255, 0);\n border: none;\n padding: 0;\n color: ",";\n text-decoration: ",";\n font-weight: ",";\n background: ",";\n background-repeat: no-repeat;\n background-position-y: calc(100%);\n background-size: 100% 2px;\n\n ","\n\n &:hover {\n cursor: pointer;\n background-size: 100% 100%;\n color: ",";\n }\n"])),(function(e){var n=e.theme,r=n.colors,o=n.utilities.useBackgroundStyleLinks,t=e.textColor,a=e.appearance;return t&&void 0!==r[t]?r[t]:t||(!a&&o?"currentColor":a&&"primary"===a?r.secondary:r.linkColor)}),(function(e){var n=e.appearance,r=e.theme.typography.linkTextDecoration;return"primary"===n||"secondary"===n?"none":r}),(function(e){var n=e.theme;return n.utilities.useBackgroundStyleLinks?n.typography.fontWeightHeavy:n.typography.fontWeightMedium}),(function(e){var n=e.appearance,r=e.theme;return e.theme.utilities.useBackgroundStyleLinks&&!n?"linear-gradient(180deg, rgba(255, 255, 255, 0) 0px, "+r.colors.primary+" -4px);":void 0}),(function(r){var o=r.appearance,t=r.theme.typography.fontWeightHeavy;return("primary"===o||"secondary"===o)&&n.css(i||(i=e.__makeTemplateObject(["\n font-weight: ",";\n "],["\n font-weight: ",";\n "])),t)}),(function(e){var n=e.theme,r=n.colors,o=n.utilities.useBackgroundStyleLinks,t=e.textHoverColor;return!t&&o?r.textDark:t&&void 0!==r[t]?r[t]:t||r.linkColorHover}));exports.ChevyWithLevee=s,exports.StyledLink=d;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),n=require("styled-components"),r=require("../Text/index.js"),o=require("../Icon/index.js");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a,i,c,u=t(n),s=u.default(o.default)(a||(a=e.__makeTemplateObject(["\n margin-right: ",";\n"],["\n margin-right: ",";\n"])),(function(e){return e.theme.spacing.xxs})),d=u.default(r.Text)(c||(c=e.__makeTemplateObject(["\n transition: color 0.2s ease, background-size 0.3s ease;\n background-color: rgba(255, 255, 255, 0);\n border: none;\n padding: 0;\n color: ",";\n text-decoration: ",";\n font-weight: ",";\n background: ",";\n background-repeat: no-repeat;\n background-position-y: calc(100%);\n background-size: 100% 2px;\n\n ","\n\n &:hover {\n cursor: pointer;\n background-size: 100% 100%;\n color: ",";\n }\n"],["\n transition: color 0.2s ease, background-size 0.3s ease;\n background-color: rgba(255, 255, 255, 0);\n border: none;\n padding: 0;\n color: ",";\n text-decoration: ",";\n font-weight: ",";\n background: ",";\n background-repeat: no-repeat;\n background-position-y: calc(100%);\n background-size: 100% 2px;\n\n ","\n\n &:hover {\n cursor: pointer;\n background-size: 100% 100%;\n color: ",";\n }\n"])),(function(e){var n=e.theme,r=n.colors,o=n.utilities.useBackgroundStyleLinks,t=e.textColor,a=e.appearance;return t&&void 0!==r[t]?r[t]:t||(!a&&o?"currentColor":a&&"primary"===a?r.secondary:r.linkColor)}),(function(e){var n=e.appearance,r=e.theme.typography.linkTextDecoration;return"primary"===n||"secondary"===n?"none":r}),(function(e){var n=e.theme;return n.utilities.useBackgroundStyleLinks?n.typography.fontWeightHeavy:n.typography.fontWeightMedium}),(function(e){var n=e.appearance,r=e.theme;return e.theme.utilities.useBackgroundStyleLinks&&!n?"linear-gradient(180deg, rgba(255, 255, 255, 0) 0px, ".concat(r.colors.primary," -4px);"):void 0}),(function(r){var o=r.appearance,t=r.theme.typography.fontWeightHeavy;return("primary"===o||"secondary"===o)&&n.css(i||(i=e.__makeTemplateObject(["\n font-weight: ",";\n "],["\n font-weight: ",";\n "])),t)}),(function(e){var n=e.theme,r=n.colors,o=n.utilities.useBackgroundStyleLinks,t=e.textHoverColor;return!t&&o?r.textDark:t&&void 0!==r[t]?r[t]:t||r.linkColorHover}));exports.ChevyWithLevee=s,exports.StyledLink=d;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),o=require("react-dom"),n=require("styled-components"),r=require("../../../node_modules/react-focus-lock/dist/es2015/Combination.js"),l=require("../Icon/index.js"),u=require("../../themes/cruk.js"),d=require("./styles.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(t),c=a(o),s=function(o){var a=o.modalName,s=o.closeFunction,f=o.showCloseButton,m=o.maxWidth,p=void 0===m?"500px":m,y=o.top,v=void 0===y?"1rem":y,b=o.backgroundColor,E=void 0===b?"backgroundLight":b,w=o.children,h=n.useTheme(),k=e.__assign(e.__assign({},u.default),h),g=function(e){"Escape"===e.key&&s&&s()};return t.useEffect((function(){if("undefined"!=typeof window)return document.body.style.overflow="hidden",document.addEventListener("keydown",g),function(){"undefined"!=typeof window&&(document.body.style.overflow="unset",document.removeEventListener("keydown",g))}}),[]),i.default.createElement(i.default.Fragment,null,"undefined"!=typeof window?c.default.createPortal(i.default.createElement("section",null,i.default.createElement(r.default,{returnFocus:!0},i.default.createElement(n.ThemeProvider,{theme:k},i.default.createElement(d.Wrapper,{role:"dialog","aria-modal":"true","aria-label":a},i.default.createElement(d.Content,{backgroundColor:E,maxWidth:p,top:v},f&&s?i.default.createElement(d.CloseButton,{"aria-label":"close",appearance:"text",onClick:function(){s()}},i.default.createElement(l.default,{name:"close"})):null,w),i.default.createElement(d.Background,null))))),document.body):null)};s.defaultProps={closeFunction:void 0,showCloseButton:!0},exports.default=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),n=require("react-dom"),o=require("styled-components"),r=require("../../../node_modules/react-focus-lock/dist/es2015/Combination.js"),l=require("../Icon/index.js"),u=require("../../themes/cruk.js"),a=require("./styles.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=d(t),c=d(n);exports.default=function(n){var d=n.modalName,s=n.closeFunction,f=n.showCloseButton,m=n.maxWidth,p=void 0===m?"500px":m,y=n.top,b=void 0===y?"1rem":y,v=n.backgroundColor,E=void 0===v?"backgroundLight":v,w=n.children,h=o.useTheme(),k=e.__assign(e.__assign({},u.default),h),g=function(e){"Escape"===e.key&&s&&s()};return t.useEffect((function(){if("undefined"!=typeof window)return document.body.style.overflow="hidden",document.addEventListener("keydown",g),function(){"undefined"!=typeof window&&(document.body.style.overflow="unset",document.removeEventListener("keydown",g))}}),[]),i.default.createElement(i.default.Fragment,null,"undefined"!=typeof window?c.default.createPortal(i.default.createElement("section",null,i.default.createElement(r.default,{returnFocus:!0},i.default.createElement(o.ThemeProvider,{theme:k},i.default.createElement(a.Wrapper,{role:"dialog","aria-modal":"true","aria-label":d},i.default.createElement(a.Content,{backgroundColor:E,maxWidth:p,top:b},f&&s?i.default.createElement(a.CloseButton,{"aria-label":"close",appearance:"tertiary",onClick:function(){s()}},i.default.createElement(l.default,{name:"close"})):null,w),i.default.createElement(a.Background,null))))),document.body):null)};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),t=require("styled-components"),e=require("../Box/index.js"),o=require("../Button/index.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,a,d,u,s=i(t),p=s.default.div(r||(r=n.__makeTemplateObject(["\n background: ",";\n bottom: 0;\n left: 0;\n opacity: 0.5;\n position: fixed;\n right: 0;\n top: 0;\n transition: opacity 0.3s, bottom 0s 0.3s;\n z-index: 100;\n"],["\n background: ",";\n bottom: 0;\n left: 0;\n opacity: 0.5;\n position: fixed;\n right: 0;\n top: 0;\n transition: opacity 0.3s, bottom 0s 0.3s;\n z-index: 100;\n"])),(function(n){return n.theme.colors.modalBackdrop})),l=s.default.div(a||(a=n.__makeTemplateObject(["\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n position: fixed;\n top: 0;\n width: 100%;\n z-index: 9999;\n"],["\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n position: fixed;\n top: 0;\n width: 100%;\n z-index: 9999;\n"]))),m=s.default(e.default)(d||(d=n.__makeTemplateObject(["\n background-color: ",";\n position: relative;\n border-radius: 4px;\n box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);\n margin: ",";\n width: 90%;\n min-height: 10rem;\n padding: ",";\n max-width: ",";\n z-index: 9999;\n margin-bottom: ",";\n"],["\n background-color: ",";\n position: relative;\n border-radius: 4px;\n box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);\n margin: ",";\n width: 90%;\n min-height: 10rem;\n padding: ",";\n max-width: ",";\n z-index: 9999;\n margin-bottom: ",";\n"])),(function(n){var t=n.theme.colors,e=n.backgroundColor;return e&&void 0!==t[e]?t[e]:e||"backgroundLight"}),(function(n){return n.top+" auto auto auto"}),(function(n){return n.theme.spacing.xs}),(function(n){return n.maxWidth}),(function(n){return n.theme.spacing.xxl})),c=s.default(o.Button)(u||(u=n.__makeTemplateObject(["\n float: right;\n margin-left: ",";\n font-size: 1.2rem;\n padding: 0;\n"],["\n float: right;\n margin-left: ",";\n font-size: 1.2rem;\n padding: 0;\n"])),(function(n){return n.theme.spacing.xs}));exports.Background=p,exports.CloseButton=c,exports.Content=m,exports.Wrapper=l;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),t=require("styled-components"),e=require("../Box/index.js"),o=require("../Button/index.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,a,d,u,s=i(t),p=s.default.div(r||(r=n.__makeTemplateObject(["\n background: ",";\n bottom: 0;\n left: 0;\n opacity: 0.5;\n position: fixed;\n right: 0;\n top: 0;\n transition: opacity 0.3s, bottom 0s 0.3s;\n z-index: 100;\n"],["\n background: ",";\n bottom: 0;\n left: 0;\n opacity: 0.5;\n position: fixed;\n right: 0;\n top: 0;\n transition: opacity 0.3s, bottom 0s 0.3s;\n z-index: 100;\n"])),(function(n){return n.theme.colors.modalBackdrop})),c=s.default.div(a||(a=n.__makeTemplateObject(["\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n position: fixed;\n top: 0;\n width: 100%;\n z-index: 9999;\n"],["\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n position: fixed;\n top: 0;\n width: 100%;\n z-index: 9999;\n"]))),l=s.default(e.default)(d||(d=n.__makeTemplateObject(["\n background-color: ",";\n position: relative;\n border-radius: 4px;\n box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);\n margin: ",";\n width: 90%;\n min-height: 10rem;\n padding: ",";\n max-width: ",";\n z-index: 9999;\n margin-bottom: ",";\n"],["\n background-color: ",";\n position: relative;\n border-radius: 4px;\n box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);\n margin: ",";\n width: 90%;\n min-height: 10rem;\n padding: ",";\n max-width: ",";\n z-index: 9999;\n margin-bottom: ",";\n"])),(function(n){var t=n.theme.colors,e=n.backgroundColor;return void 0!==e&&void 0!==typeof e?void 0!==t[e]?t[e]:e:t.backgroundLight}),(function(n){var t=n.top;return"".concat(t," auto auto auto")}),(function(n){return n.theme.spacing.xs}),(function(n){return n.maxWidth}),(function(n){return n.theme.spacing.xxl})),m=s.default(o.Button)(u||(u=n.__makeTemplateObject(["\n float: right;\n margin-left: ",";\n font-size: 1.2rem;\n padding: 0;\n"],["\n float: right;\n margin-left: ",";\n font-size: 1.2rem;\n padding: 0;\n"])),(function(n){return n.theme.spacing.xs}));exports.Background=p,exports.CloseButton=m,exports.Content=l,exports.Wrapper=c;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),a=require("styled-components"),r=require("../../themes/cruk.js"),n=require("./styles.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(t),s=function(t){var l=a.useTheme(),s=e.__assign(e.__assign({},r.default),l),u=t.perPage>0?t.perPage:1,i=Math.ceil(t.items/u)||1,d=function(e){return{href:("undefined"!=typeof window?window.location.pathname:"")+"?"+t.searchParam+"="+e,onClick:function(a){a.preventDefault(),t.pagerCallback(e)}}};return c.default.createElement(a.ThemeProvider,{theme:s},t.items>t.perPage&&c.default.createElement(n.PagerWrapper,null,c.default.createElement(n.PagerList,null,c.default.createElement(n.PagerItem,{key:"Prev"},c.default.createElement(n.PagerLink,e.__assign({name:"Prev",disabled:1===t.current},1!==t.current&&d(t.current-1)),"Prev")),function(a,r){for(var l=[],s=[],u=1;u<=r;u++)l.push(c.default.createElement(n.PagerItem,{key:u},c.default.createElement(n.PagerLink,e.__assign({active:u===a},d(u),{"aria-label":"page "+u+" of "+r}),u)));var i=l.slice(0,1).concat(c.default.createElement(n.PagerItem,{key:"first"},c.default.createElement("span",null,"..."))),f=l.slice(l.length-1).concat(c.default.createElement(n.PagerItem,{key:"last"},c.default.createElement("span",null,"..."))).reverse();return s=l.slice(0,r),r>7&&(s=a<=4?t.hideLast?l.slice(0,7):l.slice(0,5).concat(f):a>r-4?i.concat(l.slice(-5)):t.hideLast?i.concat(l.slice(a-3,a+2)):i.concat(l.slice(a-2,a+1)).concat(f)),s}(t.current,i),c.default.createElement(n.PagerItem,{key:"Next"},c.default.createElement(n.PagerLink,e.__assign({name:"Next",disabled:t.current===i},t.current!==i&&d(t.current+1)),"Next"))),t.children))};s.defaultProps={searchParam:"page"},exports.default=s;
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("../../themes/cruk.js"),n=require("./styles.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=c(t);exports.default=function(t){var c=t.current,i=t.items,s=t.hideLast,u=t.pagerCallback,o=t.perPage,d=t.searchParam,f=void 0===d?"page":d,m=t.children,g=a.useTheme(),p=e.__assign(e.__assign({},r.default),g),P=o>0?o:1,v=Math.ceil(i/P)||1,E=function(e){return{href:"".concat("undefined"!=typeof window?window.location.pathname:"","?").concat(f?"".concat(f,"=").concat(e):""),onClick:function(t){t.preventDefault(),u(e)}}};return l.default.createElement(a.ThemeProvider,{theme:p},i>o&&l.default.createElement(n.PagerWrapper,null,l.default.createElement(n.PagerList,null,l.default.createElement(n.PagerItem,{key:"Prev"},l.default.createElement(n.PagerLink,e.__assign({name:"Prev",disabled:1===c},1!==c&&E(c-1)),"Prev")),function(t,a){for(var r=[],c=[],i=1;i<=a;i+=1)r.push(l.default.createElement(n.PagerItem,{key:i},l.default.createElement(n.PagerLink,e.__assign({active:i===t},E(i),{"aria-label":"page ".concat(i," of ").concat(a)}),i)));var u=r.slice(0,1).concat(l.default.createElement(n.PagerItem,{key:"first"},l.default.createElement("span",null,"..."))),o=r.slice(r.length-1).concat(l.default.createElement(n.PagerItem,{key:"last"},l.default.createElement("span",null,"..."))).reverse();return c=r.slice(0,a),a>7&&(c=t<=4?s?r.slice(0,7):r.slice(0,5).concat(o):t>a-4?u.concat(r.slice(-5)):s?u.concat(r.slice(t-3,t+2)):u.concat(r.slice(t-2,t+1)).concat(o)),c}(c,v),l.default.createElement(n.PagerItem,{key:"Next"},l.default.createElement(n.PagerLink,e.__assign({name:"Next",disabled:c===v},c!==v&&E(c+1)),"Next"))),m))};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,r,i,a,c,d,l,s=t(e),u=s.default.div(o||(o=n.__makeTemplateObject(["\n display: table;\n width: 100%;\n clear: both;\n text-align: center;\n"],["\n display: table;\n width: 100%;\n clear: both;\n text-align: center;\n"]))),p=s.default.ul(r||(r=n.__makeTemplateObject(["\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n"],["\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n"]))),m=s.default.a(d||(d=n.__makeTemplateObject(["\n font-weight: normal;\n font-family: ",";\n font-size: ",";\n color: ",";\n background-color: ",";\n cursor: pointer;\n border-radius: 0;\n margin: ",";\n padding: 7px 11px;\n text-decoration: none;\n &:hover{\n opacity: 0.88;\n text-decoration: underline;\n }\n &:focus,\n &:active, \n &:visited {\n text-decoration: none;\n }\n \n ","\n\n ","\n\n ","\n"],["\n font-weight: normal;\n font-family: ",";\n font-size: ",";\n color: ",";\n background-color: ",";\n cursor: pointer;\n border-radius: 0;\n margin: ",";\n padding: 7px 11px;\n text-decoration: none;\n &:hover{\n opacity: 0.88;\n text-decoration: underline;\n }\n &:focus,\n &:active, \n &:visited {\n text-decoration: none;\n }\n \n ","\n\n ","\n\n ","\n"])),(function(n){return n.theme.typography.fontFamilyBase}),(function(n){return n.theme.fontSizes.s}),(function(n){return n.theme.colors.textLight}),(function(n){return n.theme.colors.paginationBackground}),(function(n){return n.theme.spacing.xxs}),(function(t){return t.active&&e.css(i||(i=n.__makeTemplateObject(["\n color: ",";\n background-color: ",";\n cursor: default;\n &:hover {\n background-color: ",";\n text-decoration: none;\n }\n "],["\n color: ",";\n background-color: ",";\n cursor: default;\n &:hover {\n background-color: ",";\n text-decoration: none;\n }\n "])),(function(n){return n.theme.colors.textDark}),(function(n){return n.theme.colors.paginationActive}),(function(n){return n.theme.colors.paginationActive}))}),(function(t){return("Prev"===t.name||"Next"===t.name)&&e.css(a||(a=n.__makeTemplateObject(["\n color: ",";\n background-color: transparent;\n font-weight: bold;\n padding: 8px 6px;\n background-color: transparent;\n &:hover {\n background-color: transparent;\n text-decoration: underline;\n }\n &:focus,\n &:active,\n &:visited {\n text-decoration: none;\n }\n "],["\n color: ",";\n background-color: transparent;\n font-weight: bold;\n padding: 8px 6px;\n background-color: transparent;\n &:hover {\n background-color: transparent;\n text-decoration: underline;\n }\n &:focus,\n &:active,\n &:visited {\n text-decoration: none;\n }\n "])),(function(n){return n.theme.colors.paginationBackground}))}),(function(t){return t.disabled&&e.css(c||(c=n.__makeTemplateObject(["\n color: ",";\n cursor: not-allowed;\n text-decoration: none;\n &:hover,\n &:focus,\n &:active,\n &:visited {\n color: ",";\n text-decoration: none;\n }\n "],["\n color: ",";\n cursor: not-allowed;\n text-decoration: none;\n &:hover,\n &:focus,\n &:active,\n &:visited {\n color: ",";\n text-decoration: none;\n }\n "])),(function(n){return n.theme.colors.disabled}),(function(n){return n.theme.colors.disabled}))})),f=s.default.li(l||(l=n.__makeTemplateObject(["\n display: none;\n &:first-child,\n &:last-child {\n display: inline;\n }\n @media (min-width: ",") {\n display: inline;\n }\n span {\n border: none;\n min-width: 30px;\n padding: 5px;\n margin: 1px;\n border-radius: 0;\n }\n"],["\n display: none;\n &:first-child,\n &:last-child {\n display: inline;\n }\n @media (min-width: ",") {\n display: inline;\n }\n span {\n border: none;\n min-width: 30px;\n padding: 5px;\n margin: 1px;\n border-radius: 0;\n }\n"])),(function(n){return n.theme.breakpoint.mobile}));exports.PagerItem=f,exports.PagerLink=m,exports.PagerList=p,exports.PagerWrapper=u;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,r,i,a,c,d,l,s=t(e),u=s.default.div(o||(o=n.__makeTemplateObject(["\n display: table;\n width: 100%;\n clear: both;\n text-align: center;\n"],["\n display: table;\n width: 100%;\n clear: both;\n text-align: center;\n"]))),p=s.default.ul(r||(r=n.__makeTemplateObject(["\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n"],["\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n"]))),m=s.default.a(d||(d=n.__makeTemplateObject(["\n font-weight: normal;\n font-family: ",";\n font-size: ",";\n color: ",";\n background-color: ",";\n cursor: pointer;\n border-radius: 0;\n margin: ",";\n padding: 7px 11px;\n text-decoration: none;\n &:hover {\n opacity: 0.88;\n text-decoration: underline;\n }\n &:focus,\n &:active,\n &:visited {\n text-decoration: none;\n }\n\n ","\n\n ","\n\n ","\n"],["\n font-weight: normal;\n font-family: ",";\n font-size: ",";\n color: ",";\n background-color: ",";\n cursor: pointer;\n border-radius: 0;\n margin: ",";\n padding: 7px 11px;\n text-decoration: none;\n &:hover {\n opacity: 0.88;\n text-decoration: underline;\n }\n &:focus,\n &:active,\n &:visited {\n text-decoration: none;\n }\n\n ","\n\n ","\n\n ","\n"])),(function(n){return n.theme.typography.fontFamilyBase}),(function(n){return n.theme.fontSizes.s}),(function(n){return n.theme.colors.textLight}),(function(n){return n.theme.colors.paginationBackground}),(function(n){return n.theme.spacing.xxs}),(function(t){return t.active&&e.css(i||(i=n.__makeTemplateObject(["\n color: ",";\n background-color: ",";\n cursor: default;\n &:hover {\n background-color: ",";\n text-decoration: none;\n }\n "],["\n color: ",";\n background-color: ",";\n cursor: default;\n &:hover {\n background-color: ",";\n text-decoration: none;\n }\n "])),(function(n){return n.theme.colors.textDark}),(function(n){return n.theme.colors.paginationActive}),(function(n){return n.theme.colors.paginationActive}))}),(function(t){return("Prev"===t.name||"Next"===t.name)&&e.css(a||(a=n.__makeTemplateObject(["\n color: ",";\n background-color: transparent;\n font-weight: bold;\n padding: 8px 6px;\n background-color: transparent;\n &:hover {\n background-color: transparent;\n text-decoration: underline;\n }\n &:focus,\n &:active,\n &:visited {\n text-decoration: none;\n }\n "],["\n color: ",";\n background-color: transparent;\n font-weight: bold;\n padding: 8px 6px;\n background-color: transparent;\n &:hover {\n background-color: transparent;\n text-decoration: underline;\n }\n &:focus,\n &:active,\n &:visited {\n text-decoration: none;\n }\n "])),(function(n){var e=n.theme;return n.disabled?e.colors.disabled:e.colors.paginationText}))}),(function(t){return t.disabled&&e.css(c||(c=n.__makeTemplateObject(["\n color: $ ",";\n cursor: not-allowed;\n text-decoration: none;\n &:hover,\n &:focus,\n &:active,\n &:visited {\n color: ",";\n text-decoration: none;\n }\n "],["\n color: $ ",";\n cursor: not-allowed;\n text-decoration: none;\n &:hover,\n &:focus,\n &:active,\n &:visited {\n color: ",";\n text-decoration: none;\n }\n "])),(function(n){return n.theme.colors.disabled}),(function(n){return n.theme.colors.disabled}))})),f=s.default.li(l||(l=n.__makeTemplateObject(["\n display: none;\n &:first-child,\n &:last-child {\n display: inline;\n }\n @media (min-width: ",") {\n display: inline;\n }\n span {\n border: none;\n min-width: 30px;\n padding: 5px;\n margin: 1px;\n border-radius: 0;\n }\n"],["\n display: none;\n &:first-child,\n &:last-child {\n display: inline;\n }\n @media (min-width: ",") {\n display: inline;\n }\n span {\n border: none;\n min-width: 30px;\n padding: 5px;\n margin: 1px;\n border-radius: 0;\n }\n"])),(function(n){return n.theme.breakpoint.mobile}));exports.PagerItem=f,exports.PagerLink=m,exports.PagerList=p,exports.PagerWrapper=u;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="IyBQb3BPdmVyCgojIyMjIFVzZSBQb3BPdmVyIGZvciBnaXZpbmcgZXh0cmEgY29udGV4dCBBTkQgdG8gbWFrZSB2aXN1YWwgY3VlcyBhY2Nlc3NpYmxlCgpQb3BvdmVyIGlzIGEgbm9uLW1vZGFsIGRpYWxvZyB0aGF0IGZsb2F0cyBhcm91bmQgaXRzIGRpc2Nsb3N1cmUuIEl0J3MKY29tbW9ubHkgdXNlZCBmb3IgZGlzcGxheWluZyBhZGRpdGlvbmFsIHJpY2ggY29udGVudCBvbiB0b3Agb2Ygc29tZXRoaW5nLgoKIyMjIFRyeSB0aGVtIG91dAoKYGBgLmpzeApmdW5jdGlvbiAoKSB7CiAgY29uc3QgY29udGVudCA9ICg8PgogICA8Qm94IHBhZGRpbmc9Inh4cyI+CiAgICA8QnV0dG9uIGFwcGVhcmFuY2U9InRleHQiIGFyaWEtbGFiZWw9IkZhY2Vib29rIj4KICAgICAgPEljb24gbmFtZT0iZmFjZWJvb2tTcXVhcmUiIGNvbG9yPSIjNDI2N2IyIiBzaXplPSIxLjVyZW0iIC8+CiAgICA8L0J1dHRvbj4KICAgIDxCdXR0b24gYXBwZWFyYW5jZT0idGV4dCIgYXJpYS1sYWJlbD0iVHdpdHRlciI+CiAgICAgIDxJY29uIG5hbWU9InR3aXR0ZXJTc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XJpbmcgb3B0aW9ucyIgcG9zaXRpb249InJpZ2h0IiBtb2RhbENvbnRlbnQ9e2NvbnRlbnR9IG1pbldpZHRoPSIyM2VtIj4KICAgICAgICA8QnV0dG9uPgogICAgICAgICAgPEljb24gbmFtZT0ic2hhcmUiIC8+U2hhcmUgcmlnaHQKICAgICAgICA8L0J1dHRvbj4KICAgICAgPC9Qb3BPdmVyPgogICAgPC8+CiAgKTsKfQpgYGAKCiMjIFByb3BzCgp8IE5hbWUgICAgICAgICB8IFR5cGUgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgIE9wdGlvbnMgICAgICAgICAgICAgICAgICAgICAgICB8IERlZmF1bHQgfCBEZXNjcmlwdGlvbiAgICAgICAgICAgICAgICAgICAgfAp8IDotLS0tLS0tLS0tLSB8IDotLS0tLS0tLS0tLS0tLS0tIHwgOi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tOiB8IDotLS0tLS0gfCA6LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gfAp8IHBvc2l0aW9uICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgInRvcCIgImJvdHRvbSIgImxlZnQiICJyaWdodCIgInRvcExlZnQiICJib3R0b21MZWZ0IiB8ICJ0b3AiICAgfCBXaGVyZSB0byBwbGFjZSB0aGUgcG9wb3ZlciAgICAgfAp8IG1vZGFsQ29udGVudCB8IFN0cmluZy9SZWFjdCBub2RlIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCBDb250ZW50IHRvIHNob3cgaW4gdGhlIHBvcG92ZXIgfAp8IG1heFdpZHRoICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICJhdXRvIiAgfCBNYXggd2lkdGggZm9yIHBvcG92ZXIgY29udGVudCAgfAp8IG1pbldpZHRoICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICJhdXRvIiAgfCBNaW4gd2lkdGggZm9yIHBvcG92ZXIgY29udGVudCAgfAp8IG1vZGFsTGFiZWwgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCBhcmlhLWxhYmVsIGZvciBtb2RhbCAgICAgICAgICAgfAoKIyMgVXNhZ2UKCkVsZW1lbnRzIHdpdGggdGhlIGRpc2FibGVkIGF0dHJpYnV0ZSBhcmVu4oCZdCBpbnRlcmFjdGl2ZSwgbWVhbmluZyB1c2VycyBjYW5ub3QKaG92ZXIgb3IgY2xpY2sgdGhlbSB0byB0cmlnZ2VyIGEgcG9wb3ZlciAob3IgdG9vbHRpcCkuIEFzIGEgd29ya2Fyb3VuZCwgeW914oCZbGwKd2FudCB0byB0cmlnZ2VyIHRoZSBvdmVybGF5IGZyb20gYSB3cmFwcGVyIGA8ZGl2PmAgb3IgYDxzcGFuPmAgYW5kIG92ZXJyaWRlIHRoZQpwb2ludGVyLWV2ZW50cyBvbiB0aGUgZGlzYWJsZWQgZWxlbWVudC4K";
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="IyBQb3BPdmVyCgojIyMjIFVzZSBQb3BPdmVyIGZvciBnaXZpbmcgZXh0cmEgY29udGV4dCBBTkQgdG8gbWFrZSB2aXN1YWwgY3VlcyBhY2Nlc3NpYmxlCgpQb3BvdmVyIGlzIGEgbm9uLW1vZGFsIGRpYWxvZyB0aGF0IGZsb2F0cyBhcm91bmQgaXRzIGRpc2Nsb3N1cmUuIEl0J3MKY29tbW9ubHkgdXNlZCBmb3IgZGlzcGxheWluZyBhZGRpdGlvbmFsIHJpY2ggY29udGVudCBvbiB0b3Agb2Yg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yAgICAgICAgICAgIHwgInRvcCIgImJvdHRvbSIgImxlZnQiICJyaWdodCIgInRvcExlZnQiICJib3R0b21MZWZ0IiB8ICJ0b3AiICAgfCBXaGVyZSB0byBwbGFjZSB0aGUgcG9wb3ZlciAgICAgfAp8IG1vZGFsQ29udGVudCB8IFN0cmluZy9SZWFjdCBub2RlIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCBDb250ZW50IHRvIHNob3cgaW4gdGhlIHBvcG92ZXIgfAp8IG1heFdpZHRoICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICJhdXRvIiAgfCBNYXggd2lkdGggZm9yIHBvcG92ZXIgY29udGVudCAgfAp8IG1pbldpZHRoICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICJhdXRvIiAgfCBNaW4gd2lkdGggZm9yIHBvcG92ZXIgY29udGVudCAgfAp8IG1vZGFsTGFiZWwgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCBhcmlhLWxhYmVsIGZvciBtb2RhbCAgICAgICAgICAgfAoKIyMgVXNhZ2UKCkVsZW1lbnRzIHdpdGggdGhlIGRpc2FibGVkIGF0dHJpYnV0ZSBhcmVu4oCZdCBpbnRlcmFjdGl2ZSwgbWVhbmluZyB1c2VycyBjYW5ub3QKaG92ZXIgb3IgY2xpY2sgdGhlbSB0byB0cmlnZ2VyIGEgcG9wb3ZlciAob3IgdG9vbHRpcCkuIEFzIGEgd29ya2Fyb3VuZCwgeW914oCZbGwKd2FudCB0byB0cmlnZ2VyIHRoZSBvdmVybGF5IGZyb20gYSB3cmFwcGVyIGA8ZGl2PmAgb3IgYDxzcGFuPmAgYW5kIG92ZXJyaWRlIHRoZQpwb2ludGVyLWV2ZW50cyBvbiB0aGUgZGlzYWJsZWQgZWxlbWVudC4K";
2
2
  //# sourceMappingURL=README.md.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"README.md.js","sources":["../../../../../src/components/PopOver/README.md"],"sourcesContent":["export default \"IyBQb3BPdmVyCgojIyMjIFVzZSBQb3BPdmVyIGZvciBnaXZpbmcgZXh0cmEgY29udGV4dCBBTkQgdG8gbWFrZSB2aXN1YWwgY3VlcyBhY2Nlc3NpYmxlCgpQb3BvdmVyIGlzIGEgbm9uLW1vZGFsIGRpYWxvZyB0aGF0IGZsb2F0cyBhcm91bmQgaXRzIGRpc2Nsb3N1cmUuIEl0J3MKY29tbW9ubHkgdXNlZCBmb3IgZGlzcGxheWluZyBhZGRpdGlvbmFsIHJpY2ggY29udGVudCBvbiB0b3Agb2Ygc29tZXRoaW5nLgoKIyMjIFRyeSB0aGVtIG91dAoKYGBgLmpzeApmdW5jdGlvbiAoKSB7CiAgY29uc3QgY29udGVudCA9ICg8PgogICA8Qm94IHBhZGRpbmc9Inh4cyI+CiAgICA8QnV0dG9uIGFwcGVhcmFuY2U9InRleHQiIGFyaWEtbGFiZWw9IkZhY2Vib29rIj4KICAgICAgPEljb24gbmFtZT0iZmFjZWJvb2tTcXVhcmUiIGNvbG9yPSIjNDI2N2IyIiBzaXplPSIxLjVyZW0iIC8+CiAgICA8L0J1dHRvbj4KICAgIDxCdXR0b24gYXBwZWFyYW5jZT0idGV4dCIgYXJpYS1sYWJlbD0iVHdpdHRlciI+CiAgICAgIDxJY29uIG5hbWU9InR3aXR0ZXJTcXVhcmUiIGNvbG9yPSIjMWRhMWYyIiBzaXplPSIxLjVyZW0iIC8+CiAgICA8L0J1dHRvbj4KICAgIDxCdXR0b24gYXBwZWFyYW5jZT0idGV4dCIgYXJpYS1sYWJlbD0iV2hhdHNBcHAiPgogICAgICA8SWNvbiBuYW1lPS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lnaHQKICAgICAgICA8L0J1dHRvbj4KICAgICAgPC9Qb3BPdmVyPgogICAgPC8+CiAgKTsKfQpgYGAKCiMjIFByb3BzCgp8IE5hbWUgICAgICAgICB8IFR5cGUgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgIE9wdGlvbnMgICAgICAgICAgICAgICAgICAgICAgICB8IERlZmF1bHQgfCBEZXNjcmlwdGlvbiAgICAgICAgICAgICAgICAgICAgfAp8IDotLS0tLS0tLS0tLSB8IDotLS0tLS0tLS0tLS0tLS0tIHwgOi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tOiB8IDotLS0tLS0gfCA6LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gfAp8IHBvc2l0aW9uICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgInRvcCIgImJvdHRvbSIgImxlZnQiICJyaWdodCIgInRvcExlZnQiICJib3R0b21MZWZ0IiB8ICJ0b3AiICAgfCBXaGVyZSB0byBwbGFjZSB0aGUgcG9wb3ZlciAgICAgfAp8IG1vZGFsQ29udGVudCB8IFN0cmluZy9SZWFjdCBub2RlIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCBDb250ZW50IHRvIHNob3cgaW4gdGhlIHBvcG92ZXIgfAp8IG1heFdpZHRoICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICJhdXRvIiAgfCBNYXggd2lkdGggZm9yIHBvcG92ZXIgY29udGVudCAgfAp8IG1pbldpZHRoICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICJhdXRvIiAgfCBNaW4gd2lkdGggZm9yIHBvcG92ZXIgY29udGVudCAgfAp8IG1vZGFsTGFiZWwgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCBhcmlhLWxhYmVsIGZvciBtb2RhbCAgICAgICAgICAgfAoKIyMgVXNhZ2UKCkVsZW1lbnRzIHdpdGggdGhlIGRpc2FibGVkIGF0dHJpYnV0ZSBhcmVu4oCZdCBpbnRlcmFjdGl2ZSwgbWVhbmluZyB1c2VycyBjYW5ub3QKaG92ZXIgb3IgY2xpY2sgdGhlbSB0byB0cmlnZ2VyIGEgcG9wb3ZlciAob3IgdG9vbHRpcCkuIEFzIGEgd29ya2Fyb3VuZCwgeW914oCZbGwKd2FudCB0byB0cmlnZ2VyIHRoZSBvdmVybGF5IGZyb20gYSB3cmFwcGVyIGA8ZGl2PmAgb3IgYDxzcGFuPmAgYW5kIG92ZXJyaWRlIHRoZQpwb2ludGVyLWV2ZW50cyBvbiB0aGUgZGlzYWJsZWQgZWxlbWVudC4K\""],"names":[],"mappings":"oFAAe"}
1
+ {"version":3,"file":"README.md.js","sources":["../../../../../src/components/PopOver/README.md"],"sourcesContent":["export default \"IyBQb3BPdmVyCgojIyMjIFVzZSBQb3BPdmVyIGZvciBnaXZpbmcgZXh0cmEgY29udGV4dCBBTkQgdG8gbWFrZSB2aXN1YWwgY3VlcyBhY2Nlc3NpYmxlCgpQb3BvdmVyIGlzIGEgbm9uLW1vZGFsIGRpYWxvZyB0aGF0IGZsb2F0cyBhcm91bmQgaXRzIGRpc2Nsb3N1cmUuIEl0J3MKY29tbW9ubHkgdXNlZCBmb3IgZGlzcGxheWluZyBhZGRpdGlvbmFsIHJpY2ggY29udGVudCBvbiB0b3Agb2Ygc29tZXRoaW5nLgoKIyMjIFRyeSB0aGVtIG91dAoKYGBgLmpzeApmdW5jdGlvbiAoKSB7CiAgY29uc3QgY29udGVudCA9ICg8PgogICA8Qm94IHBhZGRpbmc9Inh4cyI+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G9wb3ZlciAgICAgfAp8IG1vZGFsQ29udGVudCB8IFN0cmluZy9SZWFjdCBub2RlIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCBDb250ZW50IHRvIHNob3cgaW4gdGhlIHBvcG92ZXIgfAp8IG1heFdpZHRoICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICJhdXRvIiAgfCBNYXggd2lkdGggZm9yIHBvcG92ZXIgY29udGVudCAgfAp8IG1pbldpZHRoICAgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICJhdXRvIiAgfCBNaW4gd2lkdGggZm9yIHBvcG92ZXIgY29udGVudCAgfAp8IG1vZGFsTGFiZWwgICB8IFN0cmluZyAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCBhcmlhLWxhYmVsIGZvciBtb2RhbCAgICAgICAgICAgfAoKIyMgVXNhZ2UKCkVsZW1lbnRzIHdpdGggdGhlIGRpc2FibGVkIGF0dHJpYnV0ZSBhcmVu4oCZdCBpbnRlcmFjdGl2ZSwgbWVhbmluZyB1c2VycyBjYW5ub3QKaG92ZXIgb3IgY2xpY2sgdGhlbSB0byB0cmlnZ2VyIGEgcG9wb3ZlciAob3IgdG9vbHRpcCkuIEFzIGEgd29ya2Fyb3VuZCwgeW914oCZbGwKd2FudCB0byB0cmlnZ2VyIHRoZSBvdmVybGF5IGZyb20gYSB3cmFwcGVyIGA8ZGl2PmAgb3IgYDxzcGFuPmAgYW5kIG92ZXJyaWRlIHRoZQpwb2ludGVyLWV2ZW50cyBvbiB0aGUgZGlzYWJsZWQgZWxlbWVudC4K\""],"names":[],"mappings":"oFAAe"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react"),r=require("styled-components"),n=require("../../hooks/useKey.js"),u=require("../../themes/cruk.js"),o=require("../../hooks/useEffectBrowser.js"),a=require("./styles.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(t);exports.default=function(i){var l=i.onPopOverIsOpenChange,c=i.children,d=i.minWidth,f=i.maxWidth,m=i.position,p=i.modalLabel,h=i.modalContent,v=i.css,E=t.useRef(null),b=t.useState(!1),j=b[0],k=b[1],q=r.useTheme(),y=e.__assign(e.__assign({},u.default),q),_=function(){return k(!j)},g=function(){return k(!1)},x=t.useCallback((function(e){E.current.contains(e.target)||g()}),[E.current]);return n.useKey((function(){g()}),{detectKeys:["Escape"]},[]),t.useEffect((function(){l&&l(j)}),[j]),o.useEffectBrowser((function(){return document.addEventListener("click",x,!0),function(){document.removeEventListener("click",x,!0)}}),[]),s.default.createElement(r.ThemeProvider,{theme:y},s.default.createElement(a.PopOverWrapper,{css:v,ref:E},s.default.Children.map(c,(function(e){return s.default.cloneElement(e,{onClick:_,"aria-expanded":j,"aria-haspopup":"dialog"})})),j?s.default.createElement(a.PopOverModal,{maxWidth:f||"none",minWidth:d||"auto",position:m||"top",theme:y,role:"dialog","aria-label":p,"aria-modal":j},h):null))};
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"),n=require("../../hooks/useKey.js"),u=require("../../themes/cruk.js"),o=require("../../hooks/useEffectBrowser.js"),a=require("./styles.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(t);exports.default=function(i){var l=i.onPopOverIsOpenChange,c=i.children,d=i.minWidth,f=i.maxWidth,m=i.position,p=i.modalLabel,h=i.modalContent,v=i.css,E=t.useRef(null),b=t.useState(!1),j=b[0],k=b[1],q=r.useTheme(),y=e.__assign(e.__assign({},u.default),q),_=function(){return k(!j)},g=function(){return k(!1)},x=t.useCallback((function(e){E.current&&!E.current.contains(e.target)&&g()}),[E.current]);return n.useKey((function(){g()}),{detectKeys:["Escape"]},[]),t.useEffect((function(){l&&l(j)}),[j]),o.useEffectBrowser((function(){return document.addEventListener("click",x,!0),function(){document.removeEventListener("click",x,!0)}}),[]),s.default.createElement(r.ThemeProvider,{theme:y},s.default.createElement(a.PopOverWrapper,{css:v,ref:E},s.default.Children.map(c,(function(e){return s.default.cloneElement(e,{onClick:_,"aria-expanded":j,"aria-haspopup":"dialog"})})),j?s.default.createElement(a.PopOverModal,{maxWidth:f||"none",minWidth:d||"auto",position:m||"top",theme:y,role:"dialog","aria-label":p,"aria-modal":j},h):null))};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../../node_modules/tslib/tslib.es6.js"),n=require("styled-components");function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r,o,a=e(n),i=a.default.div(r||(r=t.__makeTemplateObject(["\n position: relative;\n display: inline-block;\n ","\n"],["\n position: relative;\n display: inline-block;\n ","\n"])),(function(t){return n.css([t.css])})),s=a.default.div(o||(o=t.__makeTemplateObject(["\n position: absolute;\n display: flex;\n justify-content: center;\n word-wrap: break-word;\n z-index: 9999;\n max-width: ",";\n min-width: ",";\n font-size: ",";\n background-color: ",";\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.25);\n border-radius: ",";\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n\n margin-bottom: ",";\n\n margin-top: ",";\n top: ",";\n\n bottom: ",";\n\n left: ",";\n right: ",";\n\n &:after,\n &:before {\n content: '';\n border-style: solid;\n border-width: 10px;\n width: 0;\n height: 0;\n position: absolute;\n top: ",";\n bottom: ",";\n\n left: ",";\n right: ",";\n }\n &:before {\n border-color: ",";\n }\n &:after {\n margin: ",";\n border-color: ",";\n }\n\n @media (min-width: ",") {\n margin-top: ",";\n\n margin-left: ",";\n margin-right: ",";\n\n top: ",";\n\n left: ",";\n right: ",";\n\n &:after,\n &:before {\n content: '';\n top: ",";\n bottom: ",";\n\n left: ",";\n right: ",";\n }\n &:before {\n border-color: ",";\n }\n &:after {\n margin: ",";\n border-color: ",";\n }\n }\n"],["\n position: absolute;\n display: flex;\n justify-content: center;\n word-wrap: break-word;\n z-index: 9999;\n max-width: ",";\n min-width: ",";\n font-size: ",";\n background-color: ",";\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.25);\n border-radius: ",";\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n\n margin-bottom: ",";\n\n margin-top: ",";\n top: ",";\n\n bottom: ",";\n\n left: ",";\n right: ",";\n\n &:after,\n &:before {\n content: '';\n border-style: solid;\n border-width: 10px;\n width: 0;\n height: 0;\n position: absolute;\n top: ",";\n bottom: ",";\n\n left: ",";\n right: ",";\n }\n &:before {\n border-color: ",";\n }\n &:after {\n margin: ",";\n border-color: ",";\n }\n\n @media (min-width: ",") {\n margin-top: ",";\n\n margin-left: ",";\n margin-right: ",";\n\n top: ",";\n\n left: ",";\n right: ",";\n\n &:after,\n &:before {\n content: '';\n top: ",";\n bottom: ",";\n\n left: ",";\n right: ",";\n }\n &:before {\n border-color: ",";\n }\n &:after {\n margin: ",";\n border-color: ",";\n }\n }\n"])),(function(t){return t.maxWidth}),(function(t){return t.minWidth}),(function(t){return t.theme.fontSizes.s}),(function(t){return t.theme.colors.popoverBackground}),(function(t){return t.theme.utilities.borderRadius}),(function(t){switch(t.position){default:return"10px";case"left":case"right":case"bottom":return 0}}),(function(t){switch(t.position){case"bottom":case"bottomLeft":case"left":case"right":return"10px";default:return 0}}),(function(t){switch(t.position){default:return"auto";case"left":case"right":case"bottom":case"bottomLeft":return"100%"}}),(function(t){switch(t.position){default:return"100%";case"left":case"right":case"bottom":case"bottomLeft":return"auto"}}),(function(t){return"top"===t.position?0:"auto"}),(function(t){switch(t.position){default:return"auto";case"topLeft":case"bottomLeft":return 0;case"right":return"0"}}),(function(t){switch(t.position){default:return"100%";case"left":case"right":case"bottom":case"bottomLeft":return"auto"}}),(function(t){switch(t.position){default:return"auto";case"left":case"right":case"bottom":case"bottomLeft":return"100%"}}),(function(t){var n=t.position,e=t.theme;switch(n){default:return""+e.spacing.s;case"topLeft":case"right":case"bottomLeft":return"auto"}}),(function(t){var n=t.position,e=t.theme;switch(n){default:return"auto";case"topLeft":case"right":case"bottomLeft":return""+e.spacing.s}}),(function(t){switch(t.position){default:return"rgba(0, 0, 0, 0.25) transparent transparent";case"left":case"right":case"bottom":case"bottomLeft":return"transparent transparent rgba(0, 0, 0, 0.25)"}}),(function(t){switch(t.position){default:return"-1px 0 0 0";case"left":case"right":case"bottom":case"bottomLeft":return"0 0 -1px 0"}}),(function(t){var n=t.theme;switch(t.position){default:return n.colors.popoverBackground+" transparent transparent";case"left":case"right":case"bottom":case"bottomLeft":return"transparent transparent "+n.colors.popoverBackground}}),(function(t){return t.theme.breakpoint.desktop}),(function(t){switch(t.position){case"bottom":case"bottomLeft":return"10px";default:return 0}}),(function(t){return"right"===t.position?"10px":0}),(function(t){return"left"===t.position?"10px":0}),(function(t){switch(t.position){default:return"auto";case"left":case"right":return 0;case"bottom":case"bottomLeft":return"100%"}}),(function(t){switch(t.position){case"top":return 0;default:return"auto";case"right":return"100%"}}),(function(t){switch(t.position){default:return"auto";case"topLeft":case"bottomLeft":return 0;case"left":return"100%"}}),(function(t){var n=t.position,e=t.theme;switch(n){default:return"100%";case"left":case"right":return""+e.spacing.xs;case"bottom":case"bottomLeft":return"auto"}}),(function(t){switch(t.position){default:return"auto";case"bottom":case"bottomLeft":return"100%"}}),(function(t){var n=t.position,e=t.theme;switch(n){default:return""+e.spacing.s;case"topLeft":case"bottomLeft":return"auto";case"left":return"100%";case"right":return"-20px"}}),(function(t){var n=t.position,e=t.theme;switch(n){default:return"auto";case"topLeft":case"bottomLeft":return""+e.spacing.s;case"right":return"0"}}),(function(t){switch(t.position){default:return"rgba(0, 0, 0, 0.25) transparent transparent";case"left":return"transparent transparent transparent rgba(0, 0, 0, 0.25)";case"right":return"transparent rgba(0, 0, 0, 0.25) transparent transparent";case"bottom":case"bottomLeft":return"transparent transparent rgba(0, 0, 0, 0.25)"}}),(function(t){switch(t.position){default:return"-1px 0 0 0";case"left":return"0 0 0 -1px";case"right":return"0 0 0 1px";case"bottom":case"bottomLeft":return"0 0 -1px 0"}}),(function(t){var n=t.theme;switch(t.position){default:return n.colors.popoverBackground+" transparent transparent";case"left":return"transparent transparent transparent "+n.colors.popoverBackground;case"right":return"transparent "+n.colors.popoverBackground+" transparent transparent";case"bottom":case"bottomLeft":return"transparent transparent "+n.colors.popoverBackground}}));exports.PopOverModal=s,exports.PopOverWrapper=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o,r,a,s=n(e),c=s.default.div(r||(r=t.__makeTemplateObject(["\n position: relative;\n display: inline-block;\n\n ","\n"],["\n position: relative;\n display: inline-block;\n\n ","\n"])),(function(n){return n.css&&e.css(o||(o=t.__makeTemplateObject(["\n ","\n "],["\n ","\n "])),n.css)})),i=s.default.div(a||(a=t.__makeTemplateObject(["\n position: absolute;\n display: flex;\n justify-content: center;\n word-wrap: break-word;\n z-index: 9999;\n max-width: ",";\n min-width: ",";\n font-size: ",";\n background-color: ",";\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.25);\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n\n margin-bottom: ",";\n\n margin-top: ",";\n top: ",";\n\n bottom: ",";\n\n left: ",";\n right: ",';\n\n &:after,\n &:before {\n content: "";\n border-style: solid;\n border-width: 10px;\n width: 0;\n height: 0;\n position: absolute;\n top: ',";\n bottom: ",";\n\n left: ",";\n right: ",";\n }\n &:before {\n border-color: ",";\n }\n &:after {\n margin: ",";\n border-color: ",";\n }\n\n @media (min-width: ",") {\n margin-top: ",";\n\n margin-left: ",";\n margin-right: ",";\n\n top: ",";\n\n left: ",";\n right: ",';\n\n &:after,\n &:before {\n content: "";\n top: ',";\n bottom: ",";\n\n left: ",";\n right: ",";\n }\n &:before {\n border-color: ",";\n }\n &:after {\n margin: ",";\n border-color: ",";\n }\n }\n"],["\n position: absolute;\n display: flex;\n justify-content: center;\n word-wrap: break-word;\n z-index: 9999;\n max-width: ",";\n min-width: ",";\n font-size: ",";\n background-color: ",";\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.25);\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n\n margin-bottom: ",";\n\n margin-top: ",";\n top: ",";\n\n bottom: ",";\n\n left: ",";\n right: ",';\n\n &:after,\n &:before {\n content: "";\n border-style: solid;\n border-width: 10px;\n width: 0;\n height: 0;\n position: absolute;\n top: ',";\n bottom: ",";\n\n left: ",";\n right: ",";\n }\n &:before {\n border-color: ",";\n }\n &:after {\n margin: ",";\n border-color: ",";\n }\n\n @media (min-width: ",") {\n margin-top: ",";\n\n margin-left: ",";\n margin-right: ",";\n\n top: ",";\n\n left: ",";\n right: ",';\n\n &:after,\n &:before {\n content: "";\n top: ',";\n bottom: ",";\n\n left: ",";\n right: ",";\n }\n &:before {\n border-color: ",";\n }\n &:after {\n margin: ",";\n border-color: ",";\n }\n }\n"])),(function(t){return t.maxWidth}),(function(t){return t.minWidth}),(function(t){return t.theme.fontSizes.s}),(function(t){return t.theme.colors.popoverBackground}),(function(t){switch(t.position){case"top":case"topLeft":case"bottomLeft":default:return"10px";case"left":case"right":case"bottom":return 0}}),(function(t){switch(t.position){case"bottom":case"bottomLeft":case"left":case"right":return"10px";default:return 0}}),(function(t){switch(t.position){case"top":case"topLeft":default:return"auto";case"left":case"right":case"bottom":case"bottomLeft":return"100%"}}),(function(t){switch(t.position){case"top":case"topLeft":default:return"100%";case"left":case"right":case"bottom":case"bottomLeft":return"auto"}}),(function(t){return"top"===t.position?0:"auto"}),(function(t){switch(t.position){case"top":case"left":case"bottom":default:return"auto";case"topLeft":case"bottomLeft":return 0;case"right":return"0"}}),(function(t){switch(t.position){case"top":case"topLeft":default:return"100%";case"left":case"right":case"bottom":case"bottomLeft":return"auto"}}),(function(t){switch(t.position){case"top":case"topLeft":default:return"auto";case"left":case"right":case"bottom":case"bottomLeft":return"100%"}}),(function(t){var e=t.position,n=t.theme;switch(e){case"top":case"left":case"bottom":default:return"".concat(n.spacing.s);case"topLeft":case"right":case"bottomLeft":return"auto"}}),(function(t){var e=t.position,n=t.theme;switch(e){case"top":case"left":case"bottom":default:return"auto";case"topLeft":case"right":case"bottomLeft":return"".concat(n.spacing.s)}}),(function(t){switch(t.position){case"top":case"topLeft":default:return"rgba(0, 0, 0, 0.25) transparent transparent";case"left":case"right":case"bottom":case"bottomLeft":return"transparent transparent rgba(0, 0, 0, 0.25)"}}),(function(t){switch(t.position){case"top":case"topLeft":default:return"-1px 0 0 0";case"left":case"right":case"bottom":case"bottomLeft":return"0 0 -1px 0"}}),(function(t){var e=t.theme;switch(t.position){case"top":case"topLeft":default:return"".concat(e.colors.popoverBackground," transparent transparent");case"left":case"right":case"bottom":case"bottomLeft":return"transparent transparent ".concat(e.colors.popoverBackground)}}),(function(t){return t.theme.breakpoint.desktop}),(function(t){switch(t.position){case"bottom":case"bottomLeft":return"10px";default:return 0}}),(function(t){return"right"===t.position?"10px":0}),(function(t){return"left"===t.position?"10px":0}),(function(t){switch(t.position){case"top":case"topLeft":default:return"auto";case"left":case"right":return 0;case"bottom":case"bottomLeft":return"100%"}}),(function(t){switch(t.position){case"top":return 0;case"topLeft":case"left":case"bottom":case"bottomLeft":default:return"auto";case"right":return"100%"}}),(function(t){switch(t.position){case"top":case"right":case"bottom":default:return"auto";case"topLeft":case"bottomLeft":return 0;case"left":return"100%"}}),(function(t){var e=t.position,n=t.theme;switch(e){case"top":case"topLeft":default:return"100%";case"left":case"right":return"".concat(n.spacing.xs);case"bottom":case"bottomLeft":return"auto"}}),(function(t){switch(t.position){case"top":case"topLeft":case"left":case"right":default:return"auto";case"bottom":case"bottomLeft":return"100%"}}),(function(t){var e=t.position,n=t.theme;switch(e){case"top":case"bottom":default:return"".concat(n.spacing.s);case"topLeft":case"bottomLeft":return"auto";case"left":return"100%";case"right":return"-20px"}}),(function(t){var e=t.position,n=t.theme;switch(e){case"top":case"left":case"bottom":default:return"auto";case"topLeft":case"bottomLeft":return"".concat(n.spacing.s);case"right":return"0"}}),(function(t){switch(t.position){case"top":case"topLeft":default:return"rgba(0, 0, 0, 0.25) transparent transparent";case"left":return"transparent transparent transparent rgba(0, 0, 0, 0.25)";case"right":return"transparent rgba(0, 0, 0, 0.25) transparent transparent";case"bottom":case"bottomLeft":return"transparent transparent rgba(0, 0, 0, 0.25)"}}),(function(t){switch(t.position){case"top":case"topLeft":default:return"-1px 0 0 0";case"left":return"0 0 0 -1px";case"right":return"0 0 0 1px";case"bottom":case"bottomLeft":return"0 0 -1px 0"}}),(function(t){var e=t.theme;switch(t.position){case"top":case"topLeft":default:return"".concat(e.colors.popoverBackground," transparent transparent");case"left":return"transparent transparent transparent ".concat(e.colors.popoverBackground);case"right":return"transparent ".concat(e.colors.popoverBackground," transparent transparent");case"bottom":case"bottomLeft":return"transparent transparent ".concat(e.colors.popoverBackground)}}));exports.PopOverModal=i,exports.PopOverWrapper=c;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),r=require("react"),t=require("styled-components"),l=require("../../themes/cruk.js"),a=require("./styles.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=n(r),u=function(r){var n=t.useTheme(),u=e.__assign(e.__assign({},l.default),n),s=r.percentage,i=(Number.isNaN(s)?"0":s)+"%",o=("string"==typeof r.circleContents?r.circleContents:null)+" "+i+"% Complete",d=r.circleContents||i;return c.default.createElement(t.ThemeProvider,{theme:u},c.default.createElement(a.ProgressBarWrapper,e.__assign({},r),r.isCircular?c.default.createElement(a.CircularWrapper,{percentage:s,circleSize:r.circleSize||"90px"},c.default.createElement(a.CircularLeft,{className:"Left"},c.default.createElement(a.CircularColorFill,{barColor:r.barColor})),c.default.createElement(a.CircularRight,{className:"Right"},c.default.createElement(a.CircularColorFill,{barColor:r.barColor})),c.default.createElement(a.CircularValue,null,d)):c.default.createElement(a.LineProgressBarWrapper,null,c.default.createElement(a.LineProgressBar,{percentage:s>100?100:s,barColor:r.barColor}),c.default.createElement(a.ScreenReaderOnly,null,o)),r.children))};u.defaultProps={percentage:0},exports.default=u;
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"),l=require("../../themes/cruk.js"),a=require("./styles.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(r);exports.default=function(r){var c=r.percentage,n=void 0===c?0:c,i=r.isCircular,s=r.circleContents,o=r.circleSize,d=r.barColor,f=r.children,m=t.useTheme(),p=e.__assign(e.__assign({},l.default),m),C=n,g="".concat(Number.isNaN(C)?"0":C,"%"),E="".concat("string"==typeof s?s:""," ").concat(g,"% Complete"),b=s||g;return u.default.createElement(t.ThemeProvider,{theme:p},u.default.createElement(a.ProgressBarWrapper,null,i?u.default.createElement(a.CircularWrapper,{percentage:C,circleSize:o||"90px"},u.default.createElement(a.CircularLeft,{className:"Left"},u.default.createElement(a.CircularColorFill,{barColor:d})),u.default.createElement(a.CircularRight,{className:"Right"},u.default.createElement(a.CircularColorFill,{barColor:d})),u.default.createElement(a.CircularValue,null,b)):u.default.createElement(a.LineProgressBarWrapper,null,u.default.createElement(a.LineProgressBar,{percentage:C>100?100:C,barColor:d}),u.default.createElement(a.ScreenReaderOnly,null,E)),f))};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,o,i,a,s,d,l,c,u,p,f,h,g,b,m,w,x=t(e),_=x.default.div(r||(r=n.__makeTemplateObject(["\n margin-top: 15px;\n"],["\n margin-top: 15px;\n"]))),k=e.css(o||(o=n.__makeTemplateObject(["\n height: 15px;\n margin-bottom: 0;\n background-color: ",";\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n"],["\n height: 15px;\n margin-bottom: 0;\n background-color: ",";\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n"])),(function(n){return n.theme.colors.progressBarBackground})),v=x.default.div(i||(i=n.__makeTemplateObject(["\n ",";\n"],["\n ",";\n"])),k),j=x.default.div(s||(s=n.__makeTemplateObject(["\n float: left;\n width: 1%;\n height: 100%;\n font-size: ",";\n line-height: ",";\n color: ",";\n text-align: center;\n background-color: ",";\n border-radius: ",";\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n transition: width 0.6s ease;\n position: relative;\n\n ","\n"],["\n float: left;\n width: 1%;\n height: 100%;\n font-size: ",";\n line-height: ",";\n color: ",";\n text-align: center;\n background-color: ",";\n border-radius: ",";\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n transition: width 0.6s ease;\n position: relative;\n\n ","\n"])),(function(n){return n.theme.fontSizes.s}),(function(n){return n.theme.typography.lineHeight}),(function(n){return n.theme.colors.textLight}),(function(n){var e=n.barColor,t=n.theme.colors.progressBar;return e||t}),(function(n){return n.theme.utilities.borderRadius}),(function(t){return t.percentage&&e.css(a||(a=n.__makeTemplateObject(["\n width: ","%;\n "],["\n width: ","%;\n "])),t.percentage)})),O=x.default.span(d||(d=n.__makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n"],["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n"]))),T=x.default.span(l||(l=n.__makeTemplateObject(["\n width: 100%;\n height: 100%;\n background: none;\n border-width: ",";\n border-style: solid;\n position: absolute;\n top: 0;\n border-color: ",";\n"],["\n width: 100%;\n height: 100%;\n background: none;\n border-width: ",";\n border-style: solid;\n position: absolute;\n top: 0;\n border-color: ",";\n"])),"4px",(function(n){var e=n.barColor,t=n.theme.colors.circularProgress;return e||t})),z=x.default.span(c||(c=n.__makeTemplateObject(["\n left: 0;\n\n "," {\n left: 100%;\n border-top-right-radius: 100vw;\n border-bottom-right-radius: 100vw;\n border-left: 0;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n"],["\n left: 0;\n\n "," {\n left: 100%;\n border-top-right-radius: 100vw;\n border-bottom-right-radius: 100vw;\n border-left: 0;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n"])),T),y=x.default.span(u||(u=n.__makeTemplateObject(["\n right: 0;\n\n "," {\n left: -100%;\n border-top-left-radius: 100vw;\n border-bottom-left-radius: 100vw;\n border-right: 0;\n -webkit-transform-origin: center right;\n transform-origin: center right;\n }\n"],["\n right: 0;\n\n "," {\n left: -100%;\n border-top-left-radius: 100vw;\n border-bottom-left-radius: 100vw;\n border-right: 0;\n -webkit-transform-origin: center right;\n transform-origin: center right;\n }\n"])),T),C=function(t){var r=t.percentage;return e.keyframes(p||(p=n.__makeTemplateObject(["\n 0% { transform: rotate(0deg); }\n 100% {\n transform: rotate(","deg);\n }\n"],["\n 0% { transform: rotate(0deg); }\n 100% {\n transform: rotate(","deg);\n }\n"])),r>50?"180":3.6*r)},B=function(t){var r=t.percentage;return e.keyframes(f||(f=n.__makeTemplateObject(["\n 0% { transform: rotate(0deg); }\n 100% {\n transform: rotate(","deg);\n }\n"],["\n 0% { transform: rotate(0deg); }\n 100% {\n transform: rotate(","deg);\n }\n"])),r>100?"180":3.6*r-180)},P=x.default.div(m||(m=n.__makeTemplateObject(["\n ",";\n\n width: ",";\n height: ",";\n background: none;\n margin: 0 auto;\n box-shadow: none;\n position: relative;\n\n &:after {\n content: '';\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border: ",";\n position: absolute;\n top: 0;\n left: 0;\n z-index: 0;\n }\n > span {\n width: 50%;\n height: 100%;\n overflow: hidden;\n position: absolute;\n top: 0;\n z-index: 1;\n }\n\n ",";\n ",";\n ",";\n"],["\n ",";\n\n width: ",";\n height: ",";\n background: none;\n margin: 0 auto;\n box-shadow: none;\n position: relative;\n\n &:after {\n content: '';\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border: ",";\n position: absolute;\n top: 0;\n left: 0;\n z-index: 0;\n }\n > span {\n width: 50%;\n height: 100%;\n overflow: hidden;\n position: absolute;\n top: 0;\n z-index: 1;\n }\n\n ",";\n ",";\n ",";\n"])),k,(function(n){return n.circleSize}),(function(n){return n.circleSize}),(function(n){return"4px solid "+n.theme.colors.circularProgressBackground}),(function(t){return t.percentage<51&&e.css(h||(h=n.__makeTemplateObject(["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "],["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "])),y,T,C)}),(function(t){return t.percentage>50&&e.css(g||(g=n.__makeTemplateObject(["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "," "," {\n animation: "," 0.5s linear forwards 0.5s;\n }\n "],["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "," "," {\n animation: "," 0.5s linear forwards 0.5s;\n }\n "])),y,T,C,z,T,B)}),(function(t){return t.percentage>=100&&e.css(b||(b=n.__makeTemplateObject(["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "," "," {\n animation: "," 0.5s linear forwards 0.5s;\n }\n "],["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "," "," {\n animation: "," 0.5s linear forwards 0.5s;\n }\n "])),y,T,C,z,T,B)})),S=x.default.div(w||(w=n.__makeTemplateObject(["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n z-index: 2;\n font-size: ",";\n line-height: ",";\n text-align: center;\n height: 100%;\n color: ",";\n"],["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n z-index: 2;\n font-size: ",";\n line-height: ",";\n text-align: center;\n height: 100%;\n color: ",";\n"])),(function(n){return n.theme.fontSizes.l}),(function(n){return n.theme.fontSizes.l}),(function(n){return n.theme.colors.textDark}));exports.CircularColorFill=T,exports.CircularLeft=z,exports.CircularRight=y,exports.CircularValue=S,exports.CircularWrapper=P,exports.LineProgressBar=j,exports.LineProgressBarWrapper=v,exports.ProgressBarWrapper=_,exports.ScreenReaderOnly=O;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,o,i,a,s,l,d,c,p,f,h,u,g,m,b,w,x=t(e),_=x.default.div(r||(r=n.__makeTemplateObject(["\n margin-top: 15px;\n"],["\n margin-top: 15px;\n"]))),k=e.css(o||(o=n.__makeTemplateObject(["\n height: 15px;\n margin-bottom: 0;\n background-color: ",";\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n"],["\n height: 15px;\n margin-bottom: 0;\n background-color: ",";\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n"])),(function(n){return n.theme.colors.progressBarBackground})),v=x.default.div(i||(i=n.__makeTemplateObject(["\n ",";\n"],["\n ",";\n"])),k),j=x.default.div(s||(s=n.__makeTemplateObject(["\n float: left;\n width: 1%;\n height: 100%;\n font-size: ",";\n line-height: ",";\n color: ",";\n text-align: center;\n background-color: ",";\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n transition: width 0.6s ease;\n position: relative;\n\n ","\n"],["\n float: left;\n width: 1%;\n height: 100%;\n font-size: ",";\n line-height: ",";\n color: ",";\n text-align: center;\n background-color: ",";\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n transition: width 0.6s ease;\n position: relative;\n\n ","\n"])),(function(n){return n.theme.fontSizes.s}),(function(n){return n.theme.typography.lineHeight}),(function(n){return n.theme.colors.textLight}),(function(n){var e=n.barColor,t=n.theme.colors.progressBar;return e||t}),(function(t){return t.percentage&&e.css(a||(a=n.__makeTemplateObject(["\n width: ","%;\n "],["\n width: ","%;\n "])),t.percentage)})),O=x.default.span(l||(l=n.__makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n"],["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n"]))),T=x.default.span(d||(d=n.__makeTemplateObject(["\n width: 100%;\n height: 100%;\n background: none;\n border-width: ",";\n border-style: solid;\n position: absolute;\n top: 0;\n border-color: ",";\n"],["\n width: 100%;\n height: 100%;\n background: none;\n border-width: ",";\n border-style: solid;\n position: absolute;\n top: 0;\n border-color: ",";\n"])),"4px",(function(n){var e=n.barColor,t=n.theme.colors.circularProgress;return e||t})),z=x.default.span(c||(c=n.__makeTemplateObject(["\n left: 0;\n\n "," {\n left: 100%;\n border-top-right-radius: 100vw;\n border-bottom-right-radius: 100vw;\n border-left: 0;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n"],["\n left: 0;\n\n "," {\n left: 100%;\n border-top-right-radius: 100vw;\n border-bottom-right-radius: 100vw;\n border-left: 0;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n"])),T),y=x.default.span(p||(p=n.__makeTemplateObject(["\n right: 0;\n\n "," {\n left: -100%;\n border-top-left-radius: 100vw;\n border-bottom-left-radius: 100vw;\n border-right: 0;\n -webkit-transform-origin: center right;\n transform-origin: center right;\n }\n"],["\n right: 0;\n\n "," {\n left: -100%;\n border-top-left-radius: 100vw;\n border-bottom-left-radius: 100vw;\n border-right: 0;\n -webkit-transform-origin: center right;\n transform-origin: center right;\n }\n"])),T),C=function(t){var r=t.percentage;return e.keyframes(f||(f=n.__makeTemplateObject(["\n 0% { transform: rotate(0deg); }\n 100% {\n transform: rotate(","deg);\n }\n"],["\n 0% { transform: rotate(0deg); }\n 100% {\n transform: rotate(","deg);\n }\n"])),r>50?"180":3.6*r)},B=function(t){var r=t.percentage;return e.keyframes(h||(h=n.__makeTemplateObject(["\n 0% { transform: rotate(0deg); }\n 100% {\n transform: rotate(","deg);\n }\n"],["\n 0% { transform: rotate(0deg); }\n 100% {\n transform: rotate(","deg);\n }\n"])),r>100?"180":3.6*r-180)},P=x.default.div(b||(b=n.__makeTemplateObject(["\n ",";\n\n width: ",";\n height: ",';\n background: none;\n margin: 0 auto;\n box-shadow: none;\n position: relative;\n\n &:after {\n content: "";\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border: ',";\n position: absolute;\n top: 0;\n left: 0;\n z-index: 0;\n }\n > span {\n width: 50%;\n height: 100%;\n overflow: hidden;\n position: absolute;\n top: 0;\n z-index: 1;\n }\n\n ",";\n ",";\n ",";\n"],["\n ",";\n\n width: ",";\n height: ",';\n background: none;\n margin: 0 auto;\n box-shadow: none;\n position: relative;\n\n &:after {\n content: "";\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border: ',";\n position: absolute;\n top: 0;\n left: 0;\n z-index: 0;\n }\n > span {\n width: 50%;\n height: 100%;\n overflow: hidden;\n position: absolute;\n top: 0;\n z-index: 1;\n }\n\n ",";\n ",";\n ",";\n"])),k,(function(n){return n.circleSize}),(function(n){return n.circleSize}),(function(n){var e=n.theme.colors.circularProgressBackground;return"".concat("4px"," solid ").concat(e)}),(function(t){return t.percentage<51&&e.css(u||(u=n.__makeTemplateObject(["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "],["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "])),y,T,C)}),(function(t){return t.percentage>50&&e.css(g||(g=n.__makeTemplateObject(["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "," "," {\n animation: "," 0.5s linear forwards 0.5s;\n }\n "],["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "," "," {\n animation: "," 0.5s linear forwards 0.5s;\n }\n "])),y,T,C,z,T,B)}),(function(t){return t.percentage>=100&&e.css(m||(m=n.__makeTemplateObject(["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "," "," {\n animation: "," 0.5s linear forwards 0.5s;\n }\n "],["\n "," "," {\n animation: "," 0.5s linear forwards;\n }\n "," "," {\n animation: "," 0.5s linear forwards 0.5s;\n }\n "])),y,T,C,z,T,B)})),S=x.default.div(w||(w=n.__makeTemplateObject(["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n z-index: 2;\n font-size: ",";\n line-height: ",";\n text-align: center;\n height: 100%;\n color: ",";\n"],["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n z-index: 2;\n font-size: ",";\n line-height: ",";\n text-align: center;\n height: 100%;\n color: ",";\n"])),(function(n){return n.theme.fontSizes.l}),(function(n){return n.theme.fontSizes.l}),(function(n){return n.theme.colors.textDark}));exports.CircularColorFill=T,exports.CircularLeft=z,exports.CircularRight=y,exports.CircularValue=S,exports.CircularWrapper=P,exports.LineProgressBar=j,exports.LineProgressBarWrapper=v,exports.ProgressBarWrapper=_,exports.ScreenReaderOnly=O;
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="IyBSYWRpbyBidXR0b24gaW5wdXQKCkEgc2luZ2xlIHJhZGlvIGJ1dHRvbiB3aGljaCBzaG91bGQ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gICAgICB8CnwgbmFtZSAgICAgfCBTdHJpbmcgICB8ICAgICAgICAgfCAgICAgICAgIHwgVXNlZCB0byBsaW5rIHJhZGlvcyB0b2dldGhlci4gTXVzdCBiZSB1bmlxdWUgcGVyIHBhZ2UgICAgICAgICAgICAgICAgfAp8IG9uQ2hhbmdlIHwgRnVuY3Rpb24gfCAgICAgICAgIHwgICAgICAgICB8IENhbGxiYWNrIGZ1bmN0aW9uIGNhbGxlZCBvbiBpbnB1dCBjaGFuZ2UgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKfCB2YWx1ZSAgICB8IFN0cmluZyAgIHwgICAgICAgICB8ICAgICAgICAgfCBWYWx1ZSB0byBiZSByZXR1cm5lZCBhbmQgdXNlZCBhcyBsYWJlbCBpZiBsYWJlbCBwcm9wIGlzIG5vdCBzdXBwbGllZCB8Cg==";
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="IyBSYWRpbyBidXR0b24gaW5wdXQKCkEgc2luZ2xlIHJhZGlvIGJ1dHRvbiB3aGljaCBzaG91bGQgYmUgcGFydCBvZiBhIGZpZWxkIHNldCBvZiByYWRpbyBidXR0b25zCgojIyMgVHJ5IGl0IG91dAoKYGBgLmpzeApmdW5jdGlvbiAoKSB7CiAgY29uc3QgW3NlbGVjdGVkLCBzZXRTZWxlY3RlZF0gPSBSZWFjdC51c2VTdGF0ZSgnb25lJyk7CiAgY29uc3QgaGFuZGxlQ2hhbmdlID0gKHZhbHVlKSA9PiB7CiAgICAgIHNldFNlbGVjdGVkKHZhbHVlKQogIH0KCiAgcmV0dXJuICgKICAgIDw+CiAgICAgIDxSYWRpbwogICAgICAgIG5hbWU9ImV4YW1wbGUxIgogICAgICAgIG9uQ2hhbmdlPXtlID0+IGhhbmRsZUNoYW5nZShlLnRhcmdldC52YWx1ZSl9CiAgICAgICAgdmFsdWU9Im9uZSIKICAgICAgICBjaGVja2VkPXtzZWxlY3RlZCA9PT0gJ29uZSd9CiAgICAgID4KICAgICA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gICAgICAgICAgICAgfAp8IHZhbHVlICAgIHwgU3RyaW5nICAgfCAgICAgICAgIHwgICAgICAgICB8IFZhbHVlIHRvIGJlIHJldHVybmVkIGFuZCB1c2VkIGFzIGxhYmVsIGlmIGxhYmVsIHByb3AgaXMgbm90IHN1cHBsaWVkIHwK";
2
2
  //# sourceMappingURL=README.md.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"README.md.js","sources":["../../../../../src/components/Radio/README.md"],"sourcesContent":["export default \"IyBSYWRpbyBidXR0b24gaW5wdXQKCkEgc2luZ2xlIHJhZGlvIGJ1dHRvbiB3aGljaCBzaG91bGQgYmUgcGFydCBvZiBhIGZpZWxkIHNldCBvZiByYWRpbyBidXR0b25zCgojIyMgVHJ5IGl0IG91dAoKYGBgLmpzeApmdW5jdGlvbiAoKSB7CiAgY29uc3QgW3NlbGVjdGVkLCBzZXRTZWxlY3RlZF0gPSBSZWFjdC51c2VTdGF0ZSgnb25lJyk7CiAgY29uc3QgaGFuZGxlQ2hhbmdlID0gKHZhbHVlKSA9PiB7CiAgICAgIHNldFNlbGVjdGVkKHZhbHVlKQogIH0KCiAgcmV0dXJuICgKICAgIDw+CiAgICAgIDxSYWRpbwogICAgICAgIG5hbWU9ImV4YW1wbGUxIgogICAgICAgIG9uQ2hhbmdlPXtlID0+IGhhbmRsZUNoYW5nZShlLnRhcmdldC52YWx1ZSl9CiAgICAgICAgdmFsdWU9Im9uZSIKICAgICAgICBjaGVja2VkPXtzZWxlY3RlZCA9PT0gJ29uZSd9CiAgICAgID4KICAgICAgICBPcHRpb24gb25lCiAgICAgIDwvUmFkaW8+CgogICAgICA8UmFkaW8KICAgICAgICBuYW1lPSJleGFtcGxlMSIKICAgICAgICBvbkNoYW5nZT17ZSA9PiBoYW5kbGVDaGFuZ2UoZS50YXJnZXQudmFsdWUpfQogICAgICAgIHZhbHVlPSJ0d28iCiAgICAgICAgY2hlY2tlZD17c2VsZWN0ZWQgPT09ICd0d28nfQogICAgICA+CiAgICAgIC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m90IHRoZSByYWRpbyBidXR0b24gaXMgdGhlIGN1cnJlbnRseSBzZWxlY3RlZCAgfAp8IGNoaWxkcmVuIHwgU3RyaW5nICAgfCAgICAgICAgIHwgICAgICAgICB8IFVzZWQgYXMgbGFiZWwgdGV4dCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKfCBkaXNhYmxlZCB8IGJvb2xlYW4gIHwgICAgICAgICB8IGZhbHNlICAgfCBBcHBsaWVzIGRpc2FibGVkIGF0dHJpYnV0ZSB0byBIVE1MIGlucHV0ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgbmFtZSAgICAgfCBTdHJpbmcgICB8ICAgICAgICAgfCAgICAgICAgIHwgVXNlZCB0byBsaW5rIHJhZGlvcyB0b2dldGhlci4gTXVzdCBiZSB1bmlxdWUgcGVyIHBhZ2UgICAgICAgICAgICAgICAgfAp8IG9uQ2hhbmdlIHwgRnVuY3Rpb24gfCAgICAgICAgIHwgICAgICAgICB8IENhbGxiYWNrIGZ1bmN0aW9uIGNhbGxlZCBvbiBpbnB1dCBjaGFuZ2UgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKfCB2YWx1ZSAgICB8IFN0cmluZyAgIHwgICAgICAgICB8ICAgICAgICAgfCBWYWx1ZSB0byBiZSByZXR1cm5lZCBhbmQgdXNlZCBhcyBsYWJlbCBpZiBsYWJlbCBwcm9wIGlzIG5vdCBzdXBwbGllZCB8Cg==\""],"names":[],"mappings":"oFAAe"}
1
+ {"version":3,"file":"README.md.js","sources":["../../../../../src/components/Radio/README.md"],"sourcesContent":["export default \"IyBSYWRpbyBidXR0b24gaW5wdXQKCkEgc2luZ2xlIHJhZGlvIGJ1dHRvbiB3aGljaCBzaG91bGQgYmUgcGFydCBvZiBhIGZpZWxkIHNldCBvZiByYWRpbyBidXR0b25zCgojIyMgVHJ5IGl0IG91dAoKYGBgLmpzeApmdW5jdGlvbiAoKSB7CiAgY29uc3QgW3NlbG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UgICB8IEFwcGxpZXMgZGlzYWJsZWQgYXR0cmlidXRlIHRvIEhUTUwgaW5wdXQgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKfCBuYW1lICAgICB8IFN0cmluZyAgIHwgICAgICAgICB8ICAgICAgICAgfCBVc2VkIHRvIGxpbmsgcmFkaW9zIHRvZ2V0aGVyLiBNdXN0IGJlIHVuaXF1ZSBwZXIgcGFnZSAgICAgICAgICAgICAgICB8Cnwgb25DaGFuZ2UgfCBGdW5jdGlvbiB8ICAgICAgICAgfCAgICAgICAgIHwgQ2FsbGJhY2sgZnVuY3Rpb24gY2FsbGVkIG9uIGlucHV0IGNoYW5nZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfAp8IHZhbHVlICAgIHwgU3RyaW5nICAgfCAgICAgICAgIHwgICAgICAgICB8IFZhbHVlIHRvIGJlIHJldHVybmVkIGFuZCB1c2VkIGFzIGxhYmVsIGlmIGxhYmVsIHByb3AgaXMgbm90IHN1cHBsaWVkIHwK\""],"names":[],"mappings":"oFAAe"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),r=require("react"),t=require("styled-components"),l=require("../../themes/cruk.js"),a=require("../ErrorText/index.js"),s=require("./styles.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=u(r),n=r.forwardRef((function(r,u){var n=t.useTheme(),i=e.__assign(e.__assign({},l.default),n);r.children;var c=e.__rest(r,["children"]);return d.default.createElement(t.ThemeProvider,{theme:i},d.default.createElement(s.StyledLabel,{hasError:r.hasError||!!r.errorMessage||!1,className:r.className,checked:r.checked||!1,disabled:r.disabled||!1},d.default.createElement(s.StyledInput,e.__assign({},c,{type:"radio",ref:u})),d.default.createElement(s.SelectedBorder,null),i.utilities.useDefaultFromControls?null:d.default.createElement(s.CheckWrapper,null,d.default.createElement(s.Check,null)),d.default.createElement(s.VerticalAlign,null,r.children||r.value)),!!r.errorMessage&&d.default.createElement(a.default,{marginTop:"xxs"},r.errorMessage))}));exports.default=n;
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"),l=require("../../themes/cruk.js"),a=require("../ErrorText/index.js"),s=require("./styles.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=d(r),u=r.forwardRef((function(r,d){var u=t.useTheme(),n=e.__assign(e.__assign({},l.default),u);r.children;var c=e.__rest(r,["children"]);return i.default.createElement(t.ThemeProvider,{theme:n},i.default.createElement(s.StyledLabel,{hasError:r.hasError||!!r.errorMessage||!1,className:r.className,checked:r.checked||!1,disabled:r.disabled||!1},i.default.createElement(s.StyledInput,e.__assign({},c,{type:"radio",ref:d,"aria-describedby":r.id&&r.errorMessage?"".concat(r.id,"-error"):void 0})),i.default.createElement(s.SelectedBorder,null),n.utilities.useDefaultFromControls?null:i.default.createElement(s.CheckWrapper,null,i.default.createElement(s.Check,null)),i.default.createElement(s.VerticalAlign,null,r.children||r.value)),!!r.errorMessage&&i.default.createElement(a.default,{marginTop:"xxs",id:r.id?"".concat(r.id,"-error"):void 0},r.errorMessage))}));exports.default=u;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,i,r,l,a,s,c,d,u,p=t(e),b=p.default.div(o||(o=n.__makeTemplateObject(["\n display: inline-block;\n height: ",";\n width: ",";\n position: absolute;\n top: calc(50% - ("," / 2));\n left: ",";\n"],["\n display: inline-block;\n height: ",";\n width: ",";\n position: absolute;\n top: calc(50% - ("," / 2));\n left: ",";\n"])),"1.5rem","1.5rem","1.5rem",(function(n){return n.theme.spacing.xs})),h=p.default.span(i||(i=n.__makeTemplateObject(["\n display: block;\n position: relative;\n border: 2px solid ",";\n border-radius: 100%;\n height: ",";\n width: ",";\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 5;\n transition: border 0.25s linear, box-shadow 0.25s linear;\n\n ::before {\n display: block;\n position: absolute;\n content: '';\n border-radius: 100%;\n height: ",";\n width: ",";\n top: calc(50% - ("," / 2));\n left: calc(50% - ("," / 2));\n margin: auto;\n transition: background-color 0.25s linear;\n }\n"],["\n display: block;\n position: relative;\n border: 2px solid ",";\n border-radius: 100%;\n height: ",";\n width: ",";\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 5;\n transition: border 0.25s linear, box-shadow 0.25s linear;\n\n ::before {\n display: block;\n position: absolute;\n content: '';\n border-radius: 100%;\n height: ",";\n width: ",";\n top: calc(50% - ("," / 2));\n left: calc(50% - ("," / 2));\n margin: auto;\n transition: background-color 0.25s linear;\n }\n"])),(function(n){return n.theme.colors.selectionBorder}),"1.5rem","1.5rem","1rem","1rem","1rem","1rem"),m=p.default.label(l||(l=n.__makeTemplateObject(["\n background-color: ",";\n width: 100%;\n position: relative;\n border-radius: ",";\n border-width: ",";\n border-style: solid;\n border-color: ",";\n cursor: pointer;\n display: inline-block;\n font-weight: ",";\n color: ",";\n padding: ",";\n vertical-align: middle;\n\n &:focus ~ "," "," {\n outline: 2px solid #7aacfe; /* for non-webkit browsers */\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n ","\n"],["\n background-color: ",";\n width: 100%;\n position: relative;\n border-radius: ",";\n border-width: ",";\n border-style: solid;\n border-color: ",";\n cursor: pointer;\n display: inline-block;\n font-weight: ",";\n color: ",";\n padding: ",";\n vertical-align: middle;\n\n &:focus ~ "," "," {\n outline: 2px solid #7aacfe; /* for non-webkit browsers */\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n ","\n"])),(function(n){return n.theme.colors.backgroundLight}),(function(n){return n.theme.utilities.borderRadius}),(function(n){return n.theme.utilities.inputBorderWidth}),(function(n){var e=n.hasError,t=n.theme,o=n.checked;return e?t.colors.textError:o&&!t.utilities.useDefaultFocusRect?t.colors.primary:t.colors.inputBorder}),(function(n){return n.checked?"bold":"normal"}),(function(n){var e=n.theme;return n.disabled?e.colors.disabled:e.colors.textDark}),(function(n){var e=n.theme;return"calc( (3em - ( "+e.utilities.inputBorderWidth+" * 2) - "+e.typography.lineHeight+" ) / 2) "+e.spacing.m+" calc( (3em - ( "+e.utilities.inputBorderWidth+" * 2) - "+e.typography.lineHeight+" ) / 2) "+e.spacing.xl}),b,h,(function(t){return t.theme.utilities.useDefaultFromControls?null:e.css(r||(r=n.__makeTemplateObject(["\n min-height: 2rem;\n\n &:hover "," "," {\n border: solid 2px\n ",";\n }\n "],["\n min-height: 2rem;\n\n &:hover "," "," {\n border: solid 2px\n ",";\n }\n "])),b,h,(function(n){return n.theme.colors.primary}))})),f=p.default.span(a||(a=n.__makeTemplateObject(["\n vertical-align: middle;\n line-height: 100%;\n background-color: ",";\n z-index: 1;\n"],["\n vertical-align: middle;\n line-height: 100%;\n background-color: ",";\n z-index: 1;\n"])),(function(n){return n.theme.colors.backgroundLight})),g=p.default.div(s||(s=n.__makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0);\n z-index: 0;\n"],["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0);\n z-index: 0;\n"]))),k=p.default.input(u||(u=n.__makeTemplateObject(["\n margin-right: ",";\n\n ","\n"],["\n margin-right: ",";\n\n ","\n"])),(function(n){return n.theme.spacing.xxs}),(function(t){return t.theme.utilities.useDefaultFromControls?e.css(c||(c=n.__makeTemplateObject(["\n position: absolute;\n display: inline-block;\n transform: translate(-50%, -50%);\n top: 50%;\n margin: 0;\n padding: 0;\n left: ",";\n "],["\n position: absolute;\n display: inline-block;\n transform: translate(-50%, -50%);\n top: 50%;\n margin: 0;\n padding: 0;\n left: ",";\n "])),(function(n){return n.theme.spacing.s})):e.css(d||(d=n.__makeTemplateObject(["\n position: absolute;\n left: ",";\n opacity: 0;\n\n &:focus ~ "," {\n outline: none !important;\n box-shadow: inset 0 0 0 2px ",";\n box-shadow: inset 0 0 0 2px -webkit-focus-ring-color;\n }\n\n &:checked ~ "," ","::before {\n background: ",";\n }\n "],["\n position: absolute;\n left: ",";\n opacity: 0;\n\n &:focus ~ "," {\n outline: none !important;\n box-shadow: inset 0 0 0 2px ",";\n box-shadow: inset 0 0 0 2px -webkit-focus-ring-color;\n }\n\n &:checked ~ "," ","::before {\n background: ",";\n }\n "])),(function(n){return n.theme.spacing.xxs}),g,(function(n){return n.theme.colors.inputBorderColour}),b,h,(function(n){return n.theme.colors.primary}))}));exports.Check=h,exports.CheckWrapper=b,exports.SelectedBorder=g,exports.StyledInput=k,exports.StyledLabel=m,exports.VerticalAlign=f;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../../../node_modules/tslib/tslib.es6.js"),e=require("styled-components");function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,i,r,l,a,c,s,d,u,p=t(e),b=p.default.div(o||(o=n.__makeTemplateObject(["\n display: inline-block;\n height: ",";\n width: ",";\n position: absolute;\n top: calc(50% - ("," / 2));\n left: ",";\n"],["\n display: inline-block;\n height: ",";\n width: ",";\n position: absolute;\n top: calc(50% - ("," / 2));\n left: ",";\n"])),"1.5rem","1.5rem","1.5rem",(function(n){return n.theme.spacing.xs})),h=p.default.span(i||(i=n.__makeTemplateObject(["\n display: block;\n position: relative;\n border: 2px solid ",";\n border-radius: 100%;\n height: ",";\n width: ",';\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 5;\n transition: border 0.25s linear, box-shadow 0.25s linear;\n\n ::before {\n display: block;\n position: absolute;\n content: "";\n border-radius: 100%;\n height: ',";\n width: ",";\n top: calc(50% - ("," / 2));\n left: calc(50% - ("," / 2));\n margin: auto;\n transition: background-color 0.25s linear;\n }\n"],["\n display: block;\n position: relative;\n border: 2px solid ",";\n border-radius: 100%;\n height: ",";\n width: ",';\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 5;\n transition: border 0.25s linear, box-shadow 0.25s linear;\n\n ::before {\n display: block;\n position: absolute;\n content: "";\n border-radius: 100%;\n height: ',";\n width: ",";\n top: calc(50% - ("," / 2));\n left: calc(50% - ("," / 2));\n margin: auto;\n transition: background-color 0.25s linear;\n }\n"])),(function(n){return n.theme.colors.selectionBorder}),"1.5rem","1.5rem","1rem","1rem","1rem","1rem"),m=p.default.label(l||(l=n.__makeTemplateObject(["\n background-color: ",";\n width: 100%;\n position: relative;\n border-width: ",";\n border-style: solid;\n border-color: ",";\n cursor: pointer;\n display: inline-block;\n font-weight: ",";\n color: ",";\n padding: ",";\n vertical-align: middle;\n\n &:focus ~ "," "," {\n outline: 2px solid #7aacfe; /* for non-webkit browsers */\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n ","\n"],["\n background-color: ",";\n width: 100%;\n position: relative;\n border-width: ",";\n border-style: solid;\n border-color: ",";\n cursor: pointer;\n display: inline-block;\n font-weight: ",";\n color: ",";\n padding: ",";\n vertical-align: middle;\n\n &:focus ~ "," "," {\n outline: 2px solid #7aacfe; /* for non-webkit browsers */\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n ","\n"])),(function(n){return n.theme.colors.backgroundLight}),(function(n){return n.theme.utilities.inputBorderWidth}),(function(n){var e=n.hasError,t=n.theme,o=n.checked;return e?t.colors.textError:o&&!t.utilities.useDefaultFocusRect?t.colors.primary:t.colors.inputBorder}),(function(n){return n.checked?"bold":"normal"}),(function(n){var e=n.theme;return n.disabled?e.colors.disabled:e.colors.textDark}),(function(n){var e=n.theme;return"calc( (".concat("3em"," - ( ").concat(e.utilities.inputBorderWidth," * 2) - ").concat(e.typography.lineHeight," ) / 2) ").concat(e.spacing.m," calc( (").concat("3em"," - ( ").concat(e.utilities.inputBorderWidth," * 2) - ").concat(e.typography.lineHeight," ) / 2) ").concat(e.spacing.xl)}),b,h,(function(t){return t.theme.utilities.useDefaultFromControls?null:e.css(r||(r=n.__makeTemplateObject(["\n min-height: 2rem;\n\n &:hover "," "," {\n border: solid 2px\n ",";\n }\n "],["\n min-height: 2rem;\n\n &:hover "," "," {\n border: solid 2px\n ",";\n }\n "])),b,h,(function(n){return n.theme.colors.primary}))})),g=p.default.span(a||(a=n.__makeTemplateObject(["\n vertical-align: middle;\n line-height: 100%;\n background-color: ",";\n z-index: 1;\n"],["\n vertical-align: middle;\n line-height: 100%;\n background-color: ",";\n z-index: 1;\n"])),(function(n){return n.theme.colors.backgroundLight})),f=p.default.div(c||(c=n.__makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0);\n z-index: 0;\n"],["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0);\n z-index: 0;\n"]))),k=p.default.input(u||(u=n.__makeTemplateObject(["\n margin-right: ",";\n\n ","\n"],["\n margin-right: ",";\n\n ","\n"])),(function(n){return n.theme.spacing.xxs}),(function(t){var o=t.theme;return o.utilities.useDefaultFromControls?e.css(s||(s=n.__makeTemplateObject(["\n position: absolute;\n display: inline-block;\n transform: translate(-50%, -50%);\n top: 50%;\n margin: 0;\n padding: 0;\n left: ",";\n "],["\n position: absolute;\n display: inline-block;\n transform: translate(-50%, -50%);\n top: 50%;\n margin: 0;\n padding: 0;\n left: ",";\n "])),(function(n){return n.theme.spacing.s})):e.css(d||(d=n.__makeTemplateObject(["\n position: absolute;\n left: ",";\n opacity: 0;\n\n &:focus ~ "," {\n outline: none !important;\n box-shadow: inset 0 0 0 2px ",";\n box-shadow: inset 0 0 0 2px -webkit-focus-ring-color;\n }\n\n &:checked ~ "," ","::before {\n background: ",";\n }\n "],["\n position: absolute;\n left: ",";\n opacity: 0;\n\n &:focus ~ "," {\n outline: none !important;\n box-shadow: inset 0 0 0 2px ",";\n box-shadow: inset 0 0 0 2px -webkit-focus-ring-color;\n }\n\n &:checked ~ "," ","::before {\n background: ",";\n }\n "])),(function(n){return n.theme.spacing.xxs}),f,o.colors.inputBorder,b,h,o.colors.primary)}));exports.Check=h,exports.CheckWrapper=b,exports.SelectedBorder=f,exports.StyledInput=k,exports.StyledLabel=m,exports.VerticalAlign=g;
2
2
  //# sourceMappingURL=styles.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="IyBSYWRpb0NvbnNlbnQKClJhZGlvQ29uc2VudCBpcyBhIGNvbXBvbmVudCBmb3Igc2hvd2luZyBhIGJ1bmNoIG9mIHllcy9ubyByYWRpb3MgcHJlZG9taW5hbnRseSB1c2VkIGZvciBub3RpZmljYXRpb24gc2VsZWN0aW9ucyB3aGVyZSBhIHVuc2VsZWN0ZWQgc3RhdGUgaXMgdXNlZnVsbCBmb3IgYW5hbHl0aWNzLgpUaGlzIGlzIGFsd2F5cyBhIGNvbnRyb2xsZWQgY29tcG9uZW50IHRoYXQgd2lsbCBvbmx5IGNoYW5nZSBzdGF0ZSB3aXRoIHRoZSBzZWxlY3RlZFZhbHVlIHByb3AKCiMjIyBFeGFtcGxlCgpgYGAuanN4CgpmdW5jdGlvbiAoKSB7CiAgY29uc3QgW3NlbGVjdGVkRW1haWwsIHNldFNlbGVjdGVkRW1haWxdID0gUmVhY3QudXNlU3RhdGUoJ3llcycpOwogIGNvbnN0IFtzZWxlY3RlZFBob25lLCBzZXRTZWxlY3RlZFBob25lXSA9IFJlYWN0LnVzZVN0YXRlKCdubycpOwoKICByZXR1cm4gKAogICAgPD4KICAgICAgPFJhZGlvQ29uc2VudAogICAgICAgIGxlZ2VuZD0iRW1haWwiCiAgICAgICAgbmFtZT0iZW1haWwiCiAgICAgICAgb25DaGFuZ2U9e2UgPT4gc2V0U2VsZWN0ZWRFbWFpbChlLnRhcmdldC52YWx1ZSl9CiAgICAgICAgYXR0cmlidXRlcz0ge1t7b3B0aW9uOiAnWWVzJywgdmFsdW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YgdGhlIHJhZGlvIGNvbnNlbnQgZ3JvdXAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKfCBuYW1lICAgICAgICAgIHwgU3RyaW5nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgIHwgICAgICAgICB8IFVzZWQgdG8gbGluayByYWRpb3MgdG9nZXRoZXIuIE11c3QgYmUgdW5pcXVlIHBlciBwYWdlICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgYXR0cmlidXRlcyAgICB8IEFycmF5PHtvcHRpb246IHN0cmluZywgdmFsdWU6IHN0cmluZ30+IHwgICAgICAgICB8ICAgICAgICAgfCBUaGlzIGJ1aWxkcyB0aGUgUmFkaW9Db25zZW50IG9wdGlvbnMgZnJvbSBhbiBhcnJheSBvZiBvYmplY3RzIGNvbnRhaW5pbmcgYW4gdGhlIG9wdGlvbiB0aXRsZSBhbmQgdmFsdWUgfAp8IHNlbGVjdGVkVmFsdWUgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAgICAgICAgIHwgVGhlIHZhbHVlIG9mIHRoZSByYWRpbyB0aGF0IGlzIHNlbGVjdGVkICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKfCBvbkNoYW5nZSAgICAgIHwgRnVuY3Rpb24gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgIHwgICAgICAgICB8IENhbGxiYWNrIGZ1bmN0aW9uIGNhbGxlZCBvbiBpbnB1dCBjaGFuZ2UgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8Cg==";
2
+ //# sourceMappingURL=README.md.js.map