@cruk/cruk-react-components 1.1.1 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/CHANGELOG.md +222 -0
  2. package/lib/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -1
  3. package/lib/cjs/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -1
  4. package/lib/cjs/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -1
  5. package/lib/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -1
  6. package/lib/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -1
  7. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusInside.js.map +1 -1
  8. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusIsHidden.js.map +1 -1
  9. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusMerge.js.map +1 -1
  10. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusables.js.map +1 -1
  11. package/lib/cjs/node_modules/focus-lock/dist/es2015/setFocus.js.map +1 -1
  12. package/lib/cjs/node_modules/focus-lock/dist/es2015/solver.js.map +1 -1
  13. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/DOMutils.js.map +1 -1
  14. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/all-affected.js.map +1 -1
  15. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/array.js.map +1 -1
  16. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/correctFocus.js.map +1 -1
  17. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/firstFocus.js.map +1 -1
  18. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js.map +1 -1
  19. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/is.js.map +1 -1
  20. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/parenting.js.map +1 -1
  21. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabOrder.js.map +1 -1
  22. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabUtils.js.map +1 -1
  23. package/lib/cjs/node_modules/react-clientside-effect/lib/index.es.js.map +1 -1
  24. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Combination.js.map +1 -1
  25. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
  26. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Trap.js.map +1 -1
  27. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/medium.js.map +1 -1
  28. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/util.js.map +1 -1
  29. package/lib/cjs/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js.map +1 -1
  30. package/lib/cjs/node_modules/tslib/tslib.es6.js.map +1 -1
  31. package/lib/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -1
  32. package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -1
  33. package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -1
  34. package/lib/cjs/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -1
  35. package/lib/cjs/src/components/Button/styles.js +1 -1
  36. package/lib/cjs/src/components/GlobalStyle.js +1 -1
  37. package/lib/cjs/src/components/Link/README.md.js +1 -1
  38. package/lib/cjs/src/components/Link/README.md.js.map +1 -1
  39. package/lib/cjs/src/components/Totaliser/styles.js +1 -1
  40. package/lib/cjs/src/components/UserBlock/styles.js +1 -1
  41. package/lib/cjs/src/themes/cruk.js +1 -1
  42. package/lib/cjs/src/themes/su2c.js +1 -1
  43. package/lib/components/AddressLookup/index.d.ts +27 -2
  44. package/lib/components/Badge/index.d.ts +2 -2
  45. package/lib/components/Box/index.d.ts +4 -1
  46. package/lib/components/Button/index.d.ts +24 -3
  47. package/lib/components/Collapse/styles.d.ts +11 -1
  48. package/lib/components/Header/index.d.ts +3 -2
  49. package/lib/components/Heading/index.d.ts +3 -3
  50. package/lib/components/Icon/index.d.ts +2 -2
  51. package/lib/components/Link/index.d.ts +27 -3
  52. package/lib/components/Modal/styles.d.ts +11 -1
  53. package/lib/components/Totaliser/index.d.ts +4 -2
  54. package/lib/components/UserBlock/index.d.ts +2 -2
  55. package/lib/es/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -1
  56. package/lib/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -1
  57. package/lib/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -1
  58. package/lib/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -1
  59. package/lib/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -1
  60. package/lib/es/node_modules/focus-lock/dist/es2015/focusInside.js.map +1 -1
  61. package/lib/es/node_modules/focus-lock/dist/es2015/focusIsHidden.js.map +1 -1
  62. package/lib/es/node_modules/focus-lock/dist/es2015/focusMerge.js.map +1 -1
  63. package/lib/es/node_modules/focus-lock/dist/es2015/focusables.js.map +1 -1
  64. package/lib/es/node_modules/focus-lock/dist/es2015/setFocus.js.map +1 -1
  65. package/lib/es/node_modules/focus-lock/dist/es2015/solver.js.map +1 -1
  66. package/lib/es/node_modules/focus-lock/dist/es2015/utils/DOMutils.js.map +1 -1
  67. package/lib/es/node_modules/focus-lock/dist/es2015/utils/all-affected.js.map +1 -1
  68. package/lib/es/node_modules/focus-lock/dist/es2015/utils/array.js.map +1 -1
  69. package/lib/es/node_modules/focus-lock/dist/es2015/utils/correctFocus.js.map +1 -1
  70. package/lib/es/node_modules/focus-lock/dist/es2015/utils/firstFocus.js.map +1 -1
  71. package/lib/es/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js.map +1 -1
  72. package/lib/es/node_modules/focus-lock/dist/es2015/utils/is.js.map +1 -1
  73. package/lib/es/node_modules/focus-lock/dist/es2015/utils/parenting.js.map +1 -1
  74. package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabOrder.js.map +1 -1
  75. package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabUtils.js.map +1 -1
  76. package/lib/es/node_modules/react-clientside-effect/lib/index.es.js.map +1 -1
  77. package/lib/es/node_modules/react-focus-lock/dist/es2015/Combination.js.map +1 -1
  78. package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
  79. package/lib/es/node_modules/react-focus-lock/dist/es2015/Trap.js.map +1 -1
  80. package/lib/es/node_modules/react-focus-lock/dist/es2015/medium.js.map +1 -1
  81. package/lib/es/node_modules/react-focus-lock/dist/es2015/util.js.map +1 -1
  82. package/lib/es/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js.map +1 -1
  83. package/lib/es/node_modules/tslib/tslib.es6.js.map +1 -1
  84. package/lib/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -1
  85. package/lib/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -1
  86. package/lib/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -1
  87. package/lib/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -1
  88. package/lib/es/src/components/Button/styles.js +1 -1
  89. package/lib/es/src/components/GlobalStyle.js +1 -1
  90. package/lib/es/src/components/Link/README.md.js +1 -1
  91. package/lib/es/src/components/Link/README.md.js.map +1 -1
  92. package/lib/es/src/components/Totaliser/styles.js +1 -1
  93. package/lib/es/src/components/UserBlock/styles.js +1 -1
  94. package/lib/es/src/themes/cruk.js +1 -1
  95. package/lib/es/src/themes/su2c.js +1 -1
  96. package/lib/types.d.ts +2 -1
  97. package/package.json +9 -9
@@ -1 +1 @@
1
- {"version":3,"file":"README.md.js","sources":["../../../../../src/components/Link/README.md"],"sourcesContent":["export default \"IyBMaW5rCgpMaW5rcyBhcmUgZm9yIHdyYXBwaW5nIHBsYWluIHRleHQgb3IgZWxlbWVudHMgdG8gY3JlYXRlIGNsaWNrYWJsZSBsaW5rLiBUaGlzIGlzIHRvIGJlIHRyZWF0ZWQgYXMgYW4gYW5jaG9yIHRhZyB3aXRoIHRoZSBhZGRpdGlvbiBvZiB0aGUgVGV4dCBjb21wb25lbnQgQVBJLiBUaGlzIGNvbXBvbmVudCBjb250YWlucyBzdGFuZGFyZCBBbmNob3IgdGFnIHByb3BzIGxpa2UgJ2hyZWYnIGFuZCAndGFyZ2V0JywgYnV0IGl0IGFsc28gY29udGFpbnMgVGV4dCBjb21wb25lbnQgcHJvcHMgbGlrZSAndGV4dENvbG9yJyBhbmQgJ3RleHRBbGlnbicuIEEgbGluayBzaG91bGQgcmVhbGx5IG9ubHkgYmUgdXNlZCBmb3IgbmF2aWdhdGlvbiB0byB0YWtlIGEgdXNlciB0byBhcyBuZXcgbG9jYXRpb24uIFRoZSBvbkNsaWNrIGhhbmRsZXIgY2FuIGJlIHVzZSBmb3IgbW9yZSBjb21wbGljYXRlZCBzY2VuYXJpb3MuIElmIHlvdSB3YW50IHNvbWV0aGluZyB0aGF0IGxvb2tzIGxpa2UgYSBsaW5rIGJ1dCBiZWhhdmVzIGxpa2UgYSBidXR0b24gaWUuIG5vdGhpbmcgdG8gZG8gd2l0aCBuYXZpZ2F0aW9uLCBwbGVhc2UgY29uc2lkZXIgdXNpbmcgYSBidXR0b24gd2l0aCBhcHBlYXJhbmNlIHNldCB0byAnbGluaycKCiMjIyBUcnkgaXQgb3V0CgpgYGAuanN4CiAgPD4KICAgIDxkaXY+CiAgICAgIDxMaW5rIGhyZWY9Imh0dHA6Ly93d3cuZ29vZ2xlLmNvbSI+RGVmYXVsdCBsaW5rPC9MaW5rPgogICAgPC9kaXY+CiAgICA8ZGl2PgogICAgICA8TGluayBocmVmPSJodHRwOi8vd3d3Lmdvb2dsZS5jb20iIGFwcGVhcmFuY2U9InByaW1hcnkiPlByaW1hcnkgbGluazwvTGluaz4KICAgIDwvZGl2PgogICAgPGRpdj4KICAgICAgPExpbmsgaHJlZj0iaHR0cDovL3d3dy5nb29nbGUuY29tIiBhcHBlYXJhbmNlPSJzZWNvbmRhcnkiPnNlY29uZGFyeSBsaW5rPC9MaW5rPgogICAgPC9kaXY+CiAgICA8ZGl2PgogICAgPExpbmsgaHJlZj0iaHR0cDovL3d3dy5nb29nbGUuY29tIiBhcmlhLWxhYmVsPSJnb29nbGUgaG9tZXBhZ2UiPjxpbWcgc3R5bGU9e3t3aWR0aDogJzgwcHgnLCBoZWlnaHQ6ICczMHB4J319IGFsdD0iIiBzcmM9J2h0dHBzOi8vY2NwLXMzLmludC5jcnVrLm9yZy9pbWFnZXMvbG9nb3MvY3J1ay0xNjAucG5nJy8+PC9MaW5rPgogICAgPC9kaXY+CiAgPC8+CmBgYAoKIyMgUHJvcHMKCnwgTmFtZSAgICAgICAgICAgfCBUeXBlICAgICAgICAgICAgICAgICAgICAgICB8IE9wdGlvbnMgfCBEZWZhdWx0ICAgICAgICAgICAgICAgfCBEZXNjcmlwdGlvbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgOi0tLS0tLS0tLS0tLS0gfCA6LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSB8IDotLS0tLTogfCA6LS0tLS0tLS0tLS0tLS0tLS0tLS0gfCA6LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSB8CnwgaHJlZiAgICAgICAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgfCBVUkwgb2YgbGluayAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGFyZ2V0ICAgICAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnXF9zZWxmJyAgICAgICAgICAgICAgfCBIb3cgdGhlIGxpbmsgb3BlbnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgYXJpYS1sYWJlbCAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgfCBUaGlzIHNob3VsZCBiZSB1c2VkIHdoZW4gdGhlcmUgaXMgbm8gdGV4dCBpbiB0aGUgbGluayB0byBkZXNjcmliZSB3aGVyZSBpdCBpcyBnb2luZyB8CnwgcmVsICAgICAgICAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAibm9vcGVuZXIgbm9yZWZlcnJlciIgfCBSZWxhdGlvbnNoaXAgd2l0aCB0aGUgbGluayBhbmQgdGhlIGN1cnJlbnQgcGFnZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgYXBwZWFyYW5jZSAgICAgfCBudWxsIC8gcHJpbWFyeSAvIHNlY29uZGFyeSB8ICAgICAgICAgfCBudWxsICAgICAgICAgICAgICAgICAgfCBEZWZhdWx0LCBwcmltYXJ5IG9yIHNlY29uZGFyeSBsaW5rIGFwcGVhcmFuY2UgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8Cnwgb25DbGljayAgICAgICAgfCBmdW5jdGlvbiAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgfCBPbiBjbGljayBoYW5kbGVyIGZ1bmN0aW9uICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dENvbG9yICAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnY3VycmVudENvbG9yJyAgICAgICAgfCBDb2xvciBvZiB0ZXh0LCB3aWxsIHdvcmsgd2l0aCB0aGVtZSBjb2xvdXIgbmFtZXMgYW5kIGhleCBzdHJpbmdzICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dEhvdmVyQ29sb3IgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnY3VycmVudENvbG9yJyAgICAgICAgfCBIb3ZlciBjb2xvciBvZiB0ZXh0ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dEFsaWduICAgICAgfCAnbGVmdCcgLydyaWdodCcgLyAnY2VudGVyJyB8ICAgICAgICAgfCAnbGVmdCcgICAgICAgICAgICAgICAgfCBIb3Jpem9udGFsIHRleHQgYWxpZ25tZW50ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dFNpemUgICAgICAgfCBGb250U2l6ZVR5cGUgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnbScgICAgICAgICAgICAgICAgICAgfCBGb250IHNpemUgdXNlcyB0LXNoaXJ0IHNpemVzIG9mIHMvbS9sIGV0YyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dFdlaWdodCAgICAgfCBudW1iZXIgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnNTAwJyAgICAgICAgICAgICAgICAgfCBGb250IHdlaWdodCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8Cg==\""],"names":["README"],"mappings":"AAAA,IAAeA,EAAA"}
1
+ {"version":3,"file":"README.md.js","sources":["../../../../../src/components/Link/README.md"],"sourcesContent":["export default \"IyBMaW5rCgpMaW5rcyBhcmUgZm9yIHdyYXBwaW5nIHBsYWluIHRleHQgb3IgZWxlbWVudHMgdG8gY3JlYXRlIGNsaWNrYWJsZSBsaW5rLiBUaGlzIGlzIHRvIGJlIHRyZWF0ZWQgYXMgYW4gYW5jaG9yIHRhZyB3aXRoIHRoZSBhZGRpdGlvbiBvZiB0aGUgVGV4dCBjb21wb25lbnQgQVBJLiBUaGlzIGNvbXBvbmVudCBjb250YWlucyBzdGFuZGFyZCBBbmNob3IgdGFnIHByb3BzIGxpa2UgJ2hyZWYnIGFuZCAndGFyZ2V0JywgYnV0IGl0IGFsc28gY29udGFpbnMgVGV4dCBjb21wb25lbnQgcHJvcHMgbGlrZSAndGV4dENvbG9yJyBhbmQgJ3RleHRBbGlnbicuIEEgbGluayBzaG91bGQgcmVhbGx5IG9ubHkgYmUgdXNlZCBmb3IgbmF2aWdhdGlvbiB0byB0YWtlIGEgdXNlciB0byBhcyBuZXcgbG9jYXRpb24uIFRoZSBvbkNsaWNrIGhhbmRsZXIgY2FuIGJlIHVzZSBmb3IgbW9yZSBjb21wbGljYXRlZCBzY2VuYXJpb3MuIElmIHlvdSB3YW50IHNvbWV0aGluZyB0aGF0IGxvb2tzIGxpa2UgYSBsaW5rIGJ1dCBiZWhhdmVzIGxpa2UgYSBidXR0b24gaWUuIG5vdGhpbmcgdG8gZG8gd2l0aCBuYXZpZ2F0aW9uLCBwbGVhc2UgY29uc2lkZXIgdXNpbmcgYSBidXR0b24gd2l0aCBhcHBlYXJhbmNlIHNldCB0byAnbGluaycKCiMjIyBUcnkgaXQgb3V0CgpgYGAuanN4CiAgPD4KICAgIDxkaXY+CiAgICAgIDxMaW5rIGhyZWY9Imh0dHA6Ly93d3cuZ29vZ2xlLmNvbSI+RGVmYXVsdCBsaW5rPC9MaW5rPgogICAgPC9kaXY+CiAgICA8ZGl2PgogICAgICA8TGluayBocmVmPSJodHRwOi8vd3d3Lmdvb2dsZS5jb20iIGFwcGVhcmFuY2U9InByaW1hcnkiPlByaW1hcnkgbGluazwvTGluaz4KICAgIDwvZGl2PgogICAgPGRpdj4KICAgICAgPExpbmsgaHJlZj0iaHR0cDovL3d3dy5nb29nbGUuY29tIiBhcHBlYXJhbmNlPSJzZWNvbmRhcnkiPnNlY29uZGFyeSBsaW5rPC9MaW5rPgogICAgPC9kaXY+CiAgICA8ZGl2PgogICAgPExpbmsgaHJlZj0iaHR0cDovL3d3dy5nb29nbGUuY29tIiBhcmlhLWxhYmVsPSJnb29nbGUgaG9tZXBhZ2UiPjxpbWcgc3R5bGU9e3t3aWR0aDogJzgwcHgnLCBoZWlnaHQ6ICczMHB4J319IGFsdD0iIiBzcmM9J2h0dHBzOi8vcmNsLmFzc2V0cy5jYW5jZXJyZXNlYXJjaHVrLm9yZy9pbWFnZXMvbG9nb3MvY3J1ay0xNjAucG5nJy8+PC9MaW5rPgogICAgPC9kaXY+CiAgPC8+CmBgYAoKIyMgUHJvcHMKCnwgTmFtZSAgICAgICAgICAgfCBUeXBlICAgICAgICAgICAgICAgICAgICAgICB8IE9wdGlvbnMgfCBEZWZhdWx0ICAgICAgICAgICAgICAgfCBEZXNjcmlwdGlvbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgOi0tLS0tLS0tLS0tLS0gfCA6LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSB8IDotLS0tLTogfCA6LS0tLS0tLS0tLS0tLS0tLS0tLS0gfCA6LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSB8CnwgaHJlZiAgICAgICAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgfCBVUkwgb2YgbGluayAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGFyZ2V0ICAgICAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnXF9zZWxmJyAgICAgICAgICAgICAgfCBIb3cgdGhlIGxpbmsgb3BlbnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgYXJpYS1sYWJlbCAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgfCBUaGlzIHNob3VsZCBiZSB1c2VkIHdoZW4gdGhlcmUgaXMgbm8gdGV4dCBpbiB0aGUgbGluayB0byBkZXNjcmliZSB3aGVyZSBpdCBpcyBnb2luZyB8CnwgcmVsICAgICAgICAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAibm9vcGVuZXIgbm9yZWZlcnJlciIgfCBSZWxhdGlvbnNoaXAgd2l0aCB0aGUgbGluayBhbmQgdGhlIGN1cnJlbnQgcGFnZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgYXBwZWFyYW5jZSAgICAgfCBudWxsIC8gcHJpbWFyeSAvIHNlY29uZGFyeSB8ICAgICAgICAgfCBudWxsICAgICAgICAgICAgICAgICAgfCBEZWZhdWx0LCBwcmltYXJ5IG9yIHNlY29uZGFyeSBsaW5rIGFwcGVhcmFuY2UgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8Cnwgb25DbGljayAgICAgICAgfCBmdW5jdGlvbiAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgfCBPbiBjbGljayBoYW5kbGVyIGZ1bmN0aW9uICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dENvbG9yICAgICAgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnY3VycmVudENvbG9yJyAgICAgICAgfCBDb2xvciBvZiB0ZXh0LCB3aWxsIHdvcmsgd2l0aCB0aGVtZSBjb2xvdXIgbmFtZXMgYW5kIGhleCBzdHJpbmdzICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dEhvdmVyQ29sb3IgfCBzdHJpbmcgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnY3VycmVudENvbG9yJyAgICAgICAgfCBIb3ZlciBjb2xvciBvZiB0ZXh0ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dEFsaWduICAgICAgfCAnbGVmdCcgLydyaWdodCcgLyAnY2VudGVyJyB8ICAgICAgICAgfCAnbGVmdCcgICAgICAgICAgICAgICAgfCBIb3Jpem9udGFsIHRleHQgYWxpZ25tZW50ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dFNpemUgICAgICAgfCBGb250U2l6ZVR5cGUgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnbScgICAgICAgICAgICAgICAgICAgfCBGb250IHNpemUgdXNlcyB0LXNoaXJ0IHNpemVzIG9mIHMvbS9sIGV0YyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgdGV4dFdlaWdodCAgICAgfCBudW1iZXIgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgfCAnNTAwJyAgICAgICAgICAgICAgICAgfCBGb250IHdlaWdodCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8Cg==\""],"names":["README"],"mappings":"AAAA,IAAeA,EAAA"}
@@ -1,2 +1,2 @@
1
- import{__makeTemplateObject as n}from"../../../node_modules/tslib/tslib.es6.js";import t,{css as o}from"styled-components";import e from"../ProgressBar/index.js";var r,i,a,l,p,m,f,s,c,d,u,g=t.div(r||(r=n(["\n text-align: center;\n background-color: ",";\n border-radius: 3.2rem;\n padding: 5px;\n position: relative;\n z-index: 10;\n\n p {\n margin: 0;\n }\n"],["\n text-align: center;\n background-color: ",";\n border-radius: 3.2rem;\n padding: 5px;\n position: relative;\n z-index: 10;\n\n p {\n margin: 0;\n }\n"])),(function(n){return n.theme.colors.totaliserBubbleColor})),y=t.div(a||(a=n(["\n padding: 0 46px 12px;\n margin-top: ",";\n position: relative;\n\n ",";\n"],["\n padding: 0 46px 12px;\n margin-top: ",";\n position: relative;\n\n ",";\n"])),(function(n){return n.theme.spacing.s}),(function(t){return!0!=!!t.isCompact&&o(i||(i=n(['\n div > div > div:not(:first-child) {\n &:after {\n content: "\\25bc";\n color: ',";\n z-index: 11;\n position: absolute;\n top: -30px;\n right: -15px;\n font-size: 32px;\n }\n }\n "],['\n div > div > div:not(:first-child) {\n &:after {\n content: "\\\\25bc";\n color: ',";\n z-index: 11;\n position: absolute;\n top: -30px;\n right: -15px;\n font-size: 32px;\n }\n }\n "])),(function(n){return n.theme.colors.totaliserBubbleColor}))})),x=t.p(l||(l=n(["\n color: ",";\n font-size: 2.625rem;\n line-height: 3rem;\n font-family: ",";\n text-transform: ",";\n"],["\n color: ",";\n font-size: 2.625rem;\n line-height: 3rem;\n font-family: ",";\n text-transform: ",";\n"])),(function(n){return n.theme.colors.totaliserBubbleTotalColor}),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.headerTextTransform})),h=t.p(p||(p=n(["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"],["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"])),(function(n){return n.theme.colors.totaliserBubbleTextColor}),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.headerTextTransform})),b=t.p(m||(m=n(["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"],["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"])),(function(n){return n.theme.colors.totaliserBubbleTotalColor}),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.headerTextTransform})),v=t.span(f||(f=n(["\n display: block;\n text-align: right;\n margin-top: 12px;\n margin-bottom: 0;\n font-family: ",";\n"],["\n display: block;\n text-align: right;\n margin-top: 12px;\n margin-bottom: 0;\n font-family: ",";\n"])),(function(n){return n.theme.typography.fontFamilyBase})),T=t.div(c||(c=n(["\n font-family: ",";\n margin: 0;\n ","\n"],["\n font-family: ",";\n margin: 0;\n ","\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(t){return t.isCompact&&o(s||(s=n(["\n "," {\n border: none;\n padding: 0;\n }\n "],["\n "," {\n border: none;\n padding: 0;\n }\n "])),y)})),z=t.div(d||(d=n(["\n justify-content: space-between;\n display: flex;\n"],["\n justify-content: space-between;\n display: flex;\n"]))),B=t(e)(u||(u=n([""],[""])));export{h as BubbleText,g as BubbleWrapper,z as CompactWrapper,b as GiftAid,y as ProgressBarWrapper,B as StyledProgressBar,v as Summary,x as Total,T as TotaliserWrapper};
1
+ import{__makeTemplateObject as n}from"../../../node_modules/tslib/tslib.es6.js";import t,{css as o}from"styled-components";import r from"../ProgressBar/index.js";var e,i,a,l,p,m,f,s,c,d,u,g=t.div(e||(e=n(["\n text-align: center;\n background-color: ",";\n border-radius: 3.2rem;\n padding: 5px;\n position: relative;\n p {\n margin: 0;\n }\n"],["\n text-align: center;\n background-color: ",";\n border-radius: 3.2rem;\n padding: 5px;\n position: relative;\n p {\n margin: 0;\n }\n"])),(function(n){return n.theme.colors.totaliserBubbleColor})),y=t.div(a||(a=n(["\n padding: 0 46px 12px;\n margin-top: ",";\n position: relative;\n\n ",";\n"],["\n padding: 0 46px 12px;\n margin-top: ",";\n position: relative;\n\n ",";\n"])),(function(n){return n.theme.spacing.s}),(function(t){return!0!=!!t.isCompact&&o(i||(i=n(['\n div > div > div:not(:first-child) {\n &:after {\n content: "\\25bc";\n color: ',";\n position: absolute;\n top: -30px;\n right: -15px;\n font-size: 32px;\n }\n }\n "],['\n div > div > div:not(:first-child) {\n &:after {\n content: "\\\\25bc";\n color: ',";\n position: absolute;\n top: -30px;\n right: -15px;\n font-size: 32px;\n }\n }\n "])),(function(n){return n.theme.colors.totaliserBubbleColor}))})),h=t.p(l||(l=n(["\n color: ",";\n font-size: 2.625rem;\n line-height: 3rem;\n font-family: ",";\n text-transform: ",";\n"],["\n color: ",";\n font-size: 2.625rem;\n line-height: 3rem;\n font-family: ",";\n text-transform: ",";\n"])),(function(n){return n.theme.colors.totaliserBubbleTotalColor}),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.headerTextTransform})),x=t.p(p||(p=n(["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"],["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"])),(function(n){return n.theme.colors.totaliserBubbleTextColor}),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.headerTextTransform})),b=t.p(m||(m=n(["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"],["\n color: ",";\n font-family: ",";\n text-transform: ",";\n"])),(function(n){return n.theme.colors.totaliserBubbleTotalColor}),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.typography.headerTextTransform})),v=t.span(f||(f=n(["\n display: block;\n text-align: right;\n margin-top: 12px;\n margin-bottom: 0;\n font-family: ",";\n"],["\n display: block;\n text-align: right;\n margin-top: 12px;\n margin-bottom: 0;\n font-family: ",";\n"])),(function(n){return n.theme.typography.fontFamilyBase})),T=t.div(c||(c=n(["\n font-family: ",";\n margin: 0;\n ","\n"],["\n font-family: ",";\n margin: 0;\n ","\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(t){return t.isCompact&&o(s||(s=n(["\n "," {\n border: none;\n padding: 0;\n }\n "],["\n "," {\n border: none;\n padding: 0;\n }\n "])),y)})),B=t.div(d||(d=n(["\n justify-content: space-between;\n display: flex;\n"],["\n justify-content: space-between;\n display: flex;\n"]))),C=t(r)(u||(u=n([""],[""])));export{x as BubbleText,g as BubbleWrapper,B as CompactWrapper,b as GiftAid,y as ProgressBarWrapper,C as StyledProgressBar,v as Summary,h as Total,T as TotaliserWrapper};
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- import{__makeTemplateObject as n}from"../../../node_modules/tslib/tslib.es6.js";import t from"styled-components";var e,r,o,i,a=t.div(e||(e=n(["\n display: flex;\n align-items: center;\n justify-content: start;\n margin-bottom: ",";\n flex: 1;\n"],["\n display: flex;\n align-items: center;\n justify-content: start;\n margin-bottom: ",";\n flex: 1;\n"])),(function(n){return n.theme.spacing.xs})),l=t.div(r||(r=n(["\n flex: 1;\n margin-left: ",";\n text-align: left;\n min-width: 0;\n"],["\n flex: 1;\n margin-left: ",";\n text-align: left;\n min-width: 0;\n"])),(function(n){return n.theme.spacing.xs})),m=t.div(o||(o=n(["\n font-family: ",";\n font-size: ",";\n white-space: normal;\n word-break: break-word;\n"],["\n font-family: ",";\n font-size: ",";\n white-space: normal;\n word-break: break-word;\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.fontSizes.l})),s=t.div(i||(i=n(["\n color: ",";\n margin-top: 4px;\n white-space: normal;\n word-break: break-word;\n"],["\n color: ",";\n margin-top: 4px;\n white-space: normal;\n word-break: break-word;\n"])),(function(n){return n.theme.colors.userBlockExtraText}));export{l as Details,s as Extra,m as Name,a as StyledUserBlock};
1
+ import{__makeTemplateObject as n}from"../../../node_modules/tslib/tslib.es6.js";import e from"styled-components";var t,r,o,i,a=e.div(t||(t=n(["\n display: flex;\n align-items: center;\n justify-content: start;\n flex: 1;\n"],["\n display: flex;\n align-items: center;\n justify-content: start;\n flex: 1;\n"]))),l=e.div(r||(r=n(["\n flex: 1;\n margin-left: ",";\n text-align: left;\n min-width: 0;\n"],["\n flex: 1;\n margin-left: ",";\n text-align: left;\n min-width: 0;\n"])),(function(n){return n.theme.spacing.xs})),s=e.div(o||(o=n(["\n font-family: ",";\n font-size: ",";\n white-space: normal;\n word-break: break-word;\n"],["\n font-family: ",";\n font-size: ",";\n white-space: normal;\n word-break: break-word;\n"])),(function(n){return n.theme.typography.fontFamilyHeadings}),(function(n){return n.theme.fontSizes.l})),f=e.div(i||(i=n(["\n color: ",";\n margin-top: 4px;\n white-space: normal;\n word-break: break-word;\n"],["\n color: ",";\n margin-top: 4px;\n white-space: normal;\n word-break: break-word;\n"])),(function(n){return n.theme.colors.userBlockExtraText}));export{l as Details,f as Extra,s as Name,a as StyledUserBlock};
2
2
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- var e={contentMaxWidth:"1020px",useDefaultFocusRect:!0,useDefaultFromControls:!1,useBackgroundStyleLinks:!1,inputBorderWidth:"1px"},r={assetPath:"https://ccp-s3.int.cruk.org/",logoUrl:"/",logoAlt:"Cancer Research UK Giving Page",logoSrc:"https://ccp-s3.int.cruk.org/images/logos/cruk-160.png",footerCopyText:"Cancer Research UK is a registered charity in England and Wales (1089464), Scotland (SC041666), the Isle of Man (1103) and Jersey (247). A company limited by guarantee. Registered company in England and Wales(4325234) and the Isle of Man (5713F).",footerLogoAlt:"Registered with Fundraising Regulator",footerLogoSrc:"https://ccp-s3.int.cruk.org/images/logos/fundreg.png"},a={s:"35px",m:"50px",l:"60px",xl:"90px",path:"".concat(r.assetPath,"images/avatar/cruk/")},t={borderRadius:"4px",borderRadiusLarge:"4px",buttonBorderThickness:"2px",textDecoration:"none",textTransform:"none"},o={mobile:"576px",tablet:"768px",desktop:"992px",desktopLarge:"1200px"},n={darkBlue_100:"#edeaf5",darkBlue_200:"#dad2ea",darkBlue_300:"#a896cf",darkBlue_500:"#2e008b",magenta_100:"#fdeaf5",magenta_500:"#e40087",magenta_800:"#BB0071",magenta_900:"#710044",cyan_500:"#00b6ed",cyan_900:"#005870",grey_100:"#f5f5f5",grey_200:"#ededed",grey_300:"#c6c6c6",grey_500:"#9A9A9A",grey_800:"#575757",grey_900:"#2e2d2c",white:"#fff",black:"#000",red:"#D51311",yellow:"#fdc02f",green:"#3d854d"},i={primary:n.darkBlue_500,secondary:n.magenta_500,tertiary:n.cyan_500,textOnPrimary:n.white,textOnSecondary:n.white,textOnTertiary:n.white,disabled:n.grey_300,danger:n.red,warning:n.yellow,success:n.green,info:n.cyan_500,textError:n.red,linkColor:n.darkBlue_500,linkColorHover:n.magenta_800,textDark:n.grey_900,textLight:n.white,progressBar:n.darkBlue_500,progressBarSecondary:n.magenta_500,progressBarBackground:n.grey_200,circularProgress:n.cyan_500,circularProgressSecondary:n.magenta_500,circularProgressBackground:n.grey_300,buttonPrimaryBackground:n.magenta_500,buttonPrimaryText:n.white,buttonPrimaryBorder:n.magenta_500,buttonPrimaryBackgroundHover:n.magenta_800,buttonPrimaryTextHover:n.white,buttonPrimaryBorderHover:n.magenta_800,buttonPrimaryDisabledBackground:n.grey_100,buttonPrimaryDisabledText:n.grey_500,buttonPrimaryDisabledBorder:n.grey_100,buttonSecondaryBackground:n.white,buttonSecondaryText:n.magenta_500,buttonSecondaryBorder:n.magenta_500,buttonSecondaryBackgroundHover:n.magenta_100,buttonSecondaryTextHover:n.magenta_800,buttonSecondaryBorderHover:n.magenta_800,buttonSecondaryDisabledBackground:n.grey_100,buttonSecondaryDisabledText:n.grey_500,buttonSecondaryDisabledBorder:n.grey_100,buttonTertiaryText:n.magenta_500,buttonTertiaryTextHover:n.magenta_800,buttonTertiaryDisabledText:n.grey_500,selectionBorder:n.grey_500,textInputBorder:n.grey_900,inputBorder:n.grey_900,headerBackground:n.white,backgroundLight:n.white,backgroundLightColor:n.darkBlue_200,backgroundMid:n.grey_100,loaderColor1:n.darkBlue_500,loaderColor2:n.magenta_500,loaderColor3:n.cyan_500,paginationText:n.darkBlue_500,paginationActive:n.grey_300,paginationBackground:n.darkBlue_500,footerBackground:n.grey_200,headerBorder:n.grey_300,stepBorder:n.grey_300,stepBackground:n.white,popoverBackground:n.white,textInputExtraInfo:n.grey_200,totaliserBubbleColor:n.grey_200,totaliserBubbleTextColor:n.grey_900,totaliserBubbleTotalColor:n.darkBlue_500,selectBackground:n.grey_900,modalBackdrop:n.grey_900,userBlockExtraText:n.grey_800},g={none:"0",auto:"auto",xxs:"0.5rem",xs:"1rem",s:"1.5rem",m:"2rem",l:"2.5rem",xl:"3rem",xxl:"3.5rem"},d={xs:"0.75rem",s:"0.875rem",m:"1rem",l:"1.25rem",xl:"1.5625rem",xxl:"2rem",xxxl:"2.5rem",xxxxl:"3.125rem"},s={customFonts:[{family:"MuseoSans-500",url:"".concat(r.assetPath,"fonts/MuseoSansRounded-500")}],fontFamilyBase:"Arial, Calibri, nimbussansl, liberationsans, freesans, clean, sans-serif",fontFamilyHeadings:"MuseoSans-500,Calibri,Arial,sans-serif",fontSizeBase:"16px",fontWeightHeavy:"700",fontWeightMedium:"500",fontWeightNormal:"400",fontWeightLight:"300",fontWeightVLight:"100",linkTextDecoration:"underline",lineHeight:"1.5em",headerLineHeight:"1.25em",headerTextTransform:"none"},l={name:"cruk",avatar:a,breakpoint:o,button:t,tokenColors:n,colors:i,spacing:g,fontSizes:d,siteConfig:r,typography:s,utilities:e};export{a as AVATAR,o as BREAKPOINT,t as BUTTON,i as COLORS,d as FONT_SIZES,r as SITE_CONFIG,g as SPACING,n as TOKEN_COLORS,s as TYPOGRAPHY,e as UTILITIES,l as default};
1
+ var e={contentMaxWidth:"1020px",useDefaultFocusRect:!0,useDefaultFromControls:!1,useBackgroundStyleLinks:!1,inputBorderWidth:"1px"},r={assetPath:"https://rcl.assets.cancerresearchuk.org/",logoUrl:"/",logoAlt:"Cancer Research UK Giving Page",logoSrc:"https://rcl.assets.cancerresearchuk.org/images/logos/cruk-160.png",footerCopyText:"Cancer Research UK is a registered charity in England and Wales (1089464), Scotland (SC041666), the Isle of Man (1103) and Jersey (247). A company limited by guarantee. Registered company in England and Wales(4325234) and the Isle of Man (5713F).",footerLogoAlt:"Registered with Fundraising Regulator",footerLogoSrc:"https://rcl.assets.cancerresearchuk.org/images/logos/fundreg.png"},a={s:"35px",m:"50px",l:"60px",xl:"90px",path:"".concat(r.assetPath,"images/avatar/cruk/")},t={borderRadius:"4px",borderRadiusLarge:"4px",buttonBorderThickness:"2px",textDecoration:"none",textTransform:"none"},o={mobile:"576px",tablet:"768px",desktop:"992px",desktopLarge:"1200px"},n={darkBlue_100:"#edeaf5",darkBlue_200:"#dad2ea",darkBlue_300:"#a896cf",darkBlue_500:"#2e008b",magenta_100:"#fdeaf5",magenta_500:"#e40087",magenta_800:"#BB0071",magenta_900:"#710044",cyan_500:"#00b6ed",cyan_900:"#005870",grey_100:"#f5f5f5",grey_200:"#ededed",grey_300:"#c6c6c6",grey_500:"#9A9A9A",grey_800:"#575757",grey_900:"#2e2d2c",white:"#fff",black:"#000",red:"#D51311",yellow:"#fdc02f",green:"#3d854d"},s={primary:n.darkBlue_500,secondary:n.magenta_500,tertiary:n.cyan_500,textOnPrimary:n.white,textOnSecondary:n.white,textOnTertiary:n.white,disabled:n.grey_300,danger:n.red,warning:n.yellow,success:n.green,info:n.cyan_500,textError:n.red,linkColor:n.darkBlue_500,linkColorHover:n.magenta_800,textDark:n.grey_900,textLight:n.white,progressBar:n.darkBlue_500,progressBarSecondary:n.magenta_500,progressBarBackground:n.grey_200,circularProgress:n.cyan_500,circularProgressSecondary:n.magenta_500,circularProgressBackground:n.grey_300,buttonPrimaryBackground:n.magenta_500,buttonPrimaryText:n.white,buttonPrimaryBorder:n.magenta_500,buttonPrimaryBackgroundHover:n.magenta_800,buttonPrimaryTextHover:n.white,buttonPrimaryBorderHover:n.magenta_800,buttonPrimaryDisabledBackground:n.grey_100,buttonPrimaryDisabledText:n.grey_500,buttonPrimaryDisabledBorder:n.grey_100,buttonSecondaryBackground:n.white,buttonSecondaryText:n.magenta_500,buttonSecondaryBorder:n.magenta_500,buttonSecondaryBackgroundHover:n.magenta_100,buttonSecondaryTextHover:n.magenta_800,buttonSecondaryBorderHover:n.magenta_800,buttonSecondaryDisabledBackground:n.grey_100,buttonSecondaryDisabledText:n.grey_500,buttonSecondaryDisabledBorder:n.grey_100,buttonTertiaryText:n.magenta_500,buttonTertiaryTextHover:n.magenta_800,buttonTertiaryDisabledText:n.grey_500,selectionBorder:n.grey_500,textInputBorder:n.grey_900,inputBorder:n.grey_900,headerBackground:n.white,backgroundLight:n.white,backgroundLightColor:n.darkBlue_200,backgroundMid:n.grey_100,loaderColor1:n.darkBlue_500,loaderColor2:n.magenta_500,loaderColor3:n.cyan_500,paginationText:n.darkBlue_500,paginationActive:n.grey_300,paginationBackground:n.darkBlue_500,footerBackground:n.grey_200,headerBorder:n.grey_300,stepBorder:n.grey_300,stepBackground:n.white,popoverBackground:n.white,textInputExtraInfo:n.grey_200,totaliserBubbleColor:n.grey_200,totaliserBubbleTextColor:n.grey_900,totaliserBubbleTotalColor:n.darkBlue_500,selectBackground:n.grey_900,modalBackdrop:n.grey_900,userBlockExtraText:n.grey_800},g={none:"0",auto:"auto",xxs:"0.5rem",xs:"1rem",s:"1.5rem",m:"2rem",l:"2.5rem",xl:"3rem",xxl:"3.5rem"},i={xs:"0.75rem",s:"0.875rem",m:"1rem",l:"1.25rem",xl:"1.5625rem",xxl:"2rem",xxxl:"2.5rem",xxxxl:"3.125rem"},d={customFonts:[{family:"MuseoSans-500",urlWoff:"".concat(r.assetPath,"fonts/MuseoSansRounded-500.woff"),urlWoff2:"".concat(r.assetPath,"fonts/MuseoSansRounded-500.woff2")}],fontFamilyBase:"Arial, Calibri, nimbussansl, liberationsans, freesans, clean, sans-serif",fontFamilyHeadings:"MuseoSans-500,Calibri,Arial,sans-serif",fontSizeBase:"16px",fontWeightHeavy:"700",fontWeightMedium:"500",fontWeightNormal:"400",fontWeightLight:"300",fontWeightVLight:"100",linkTextDecoration:"underline",lineHeight:"1.5em",headerLineHeight:"1.25em",headerTextTransform:"none"},l={name:"cruk",avatar:a,breakpoint:o,button:t,tokenColors:n,colors:s,spacing:g,fontSizes:i,siteConfig:r,typography:d,utilities:e};export{a as AVATAR,o as BREAKPOINT,t as BUTTON,s as COLORS,i as FONT_SIZES,r as SITE_CONFIG,g as SPACING,n as TOKEN_COLORS,d as TYPOGRAPHY,e as UTILITIES,l as default};
2
2
  //# sourceMappingURL=cruk.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"../../node_modules/tslib/tslib.es6.js";import e from"./cruk.js";var a=r(r({},e.utilities),{useBackgroundStyleLinks:!0}),o=r(r({},e.siteConfig),{logoSrc:"https://ccp-s3.int.cruk.org/images/logos/su2c-160.png",footerCopyText:"Stand Up To Cancer and Stand Up To Cancer Brand Marks are registered trademarks of the Entertainment Industry Foundation. Cancer Research UK is a registered charity in England and Wales (1089464), Scotland(SC041666), the Isle of Man (1103) and Jersey (247). A company limited by guarantee. Registered company in England and Wales (4325234) and the Isle of Man (5713F). Registered address: 2 Redman Place, London, E20 1JQ. Donations will be made to Cancer Research UK in support of the Stand Up To Cancer campaign."}),t=r(r({},e.avatar),{path:"".concat(o.assetPath,"images/avatar/su2c/")}),n=r(r({},e.button),{borderRadius:"1.5rem",borderRadiusLarge:"2rem",textTransform:"uppercase"}),s=r({},e.breakpoint),c=r(r({},e.tokenColors),{su2cOrange5:"#FF8E00",su2cOrange3:"#FFB04D",su2cOrange2:"#FFDAAD",su2cOrange1:"#FFF6EB",su2cBlack:"#231F20",su2cGrey1:"#555759",su2cGrey2:"#A5A5A9",su2cRed:"#EF4135",su2cYellow:"#FFC325"}),u=r(r({},e.colors),{primary:c.su2cOrange5,secondary:c.su2cOrange5,tertiary:c.su2cBlack,textOnPrimary:c.su2cBlack,progressBar:c.su2cOrange5,progressBarSecondary:c.su2cRed,circularProgress:c.su2cOrange3,circularProgressSecondary:c.su2cRed,linkColor:c.su2cOrange5,linkColorHover:c.su2cRed,backgroundLightColor:c.su2cOrange2,loaderColor1:c.su2cOrange5,loaderColor2:c.su2cRed,loaderColor3:c.su2cBlack,paginationText:c.su2cBlack,paginationBackground:c.su2cBlack,totaliserBubbleColor:c.su2cBlack,totaliserBubbleTextColor:c.white,totaliserBubbleTotalColor:c.white,buttonPrimaryBackground:c.su2cOrange5,buttonPrimaryText:c.su2cBlack,buttonPrimaryBorder:c.su2cOrange5,buttonPrimaryBackgroundHover:c.su2cOrange3,buttonPrimaryTextHover:c.su2cBlack,buttonPrimaryBorderHover:c.su2cOrange3,buttonPrimaryDisabledBackground:c.grey_300,buttonPrimaryDisabledText:c.white,buttonPrimaryDisabledBorder:c.grey_300,buttonSecondaryBackground:c.white,buttonSecondaryText:c.su2cOrange5,buttonSecondaryBorder:c.su2cOrange5,buttonSecondaryBackgroundHover:c.su2cOrange1,buttonSecondaryTextHover:c.su2cOrange5,buttonSecondaryBorderHover:c.su2cOrange5,buttonSecondaryDisabledBackground:c.white,buttonSecondaryDisabledText:c.grey_300,buttonSecondaryDisabledBorder:c.grey_300,buttonTertiaryText:c.su2cOrange5,buttonTertiaryTextHover:c.su2cOrange5,buttonTertiaryDisabledText:c.grey_300}),i=r({},e.spacing),d=r({},e.fontSizes),l=r(r({},e.typography),{customFonts:[{family:"itc_avant_garde_pro_mdbold",url:"https://crukorg.github.io/SU2C-drupal/assets/fonts/su2c/itc_-_itcavantgardepro-bold-webfont"}],fontFamilyHeadings:"itc_avant_garde_pro_mdbold,Arial,sans-serif",linkTextDecoration:"none",headerLineHeight:"1.5em",headerTextTransform:"uppercase"}),g={name:"su2c",avatar:t,breakpoint:s,button:n,tokenColors:c,colors:u,spacing:i,fontSizes:d,siteConfig:o,typography:l,utilities:a};export{t as AVATAR,s as BREAKPOINT,n as BUTTON,u as COLORS,d as FONT_SIZES,o as SITE_CONFIG,i as SPACING,c as TOKEN_COLORS,l as TYPOGRAPHY,a as UTILITIES,g as default};
1
+ import{__assign as r}from"../../node_modules/tslib/tslib.es6.js";import e from"./cruk.js";var a=r(r({},e.utilities),{useBackgroundStyleLinks:!0}),o=r(r({},e.siteConfig),{logoSrc:"https://rcl.assets.cancerresearchuk.org/images/logos/su2c-160.png",footerCopyText:"Stand Up To Cancer and Stand Up To Cancer Brand Marks are registered trademarks of the Entertainment Industry Foundation. Cancer Research UK is a registered charity in England and Wales (1089464), Scotland(SC041666), the Isle of Man (1103) and Jersey (247). A company limited by guarantee. Registered company in England and Wales (4325234) and the Isle of Man (5713F). Registered address: 2 Redman Place, London, E20 1JQ. Donations will be made to Cancer Research UK in support of the Stand Up To Cancer campaign."}),t=r(r({},e.avatar),{path:"".concat(o.assetPath,"images/avatar/su2c/")}),n=r(r({},e.button),{borderRadius:"1.5rem",borderRadiusLarge:"2rem",textTransform:"uppercase"}),s=r({},e.breakpoint),c=r(r({},e.tokenColors),{su2cOrange5:"#FF8E00",su2cOrange3:"#FFB04D",su2cOrange2:"#FFDAAD",su2cOrange1:"#FFF6EB",su2cBlack:"#231F20",su2cGrey1:"#555759",su2cGrey2:"#A5A5A9",su2cRed:"#EF4135",su2cYellow:"#FFC325"}),u=r(r({},e.colors),{primary:c.su2cOrange5,secondary:c.su2cOrange5,tertiary:c.su2cBlack,textOnPrimary:c.su2cBlack,progressBar:c.su2cOrange5,progressBarSecondary:c.su2cRed,circularProgress:c.su2cOrange3,circularProgressSecondary:c.su2cRed,linkColor:c.su2cOrange5,linkColorHover:c.su2cRed,backgroundLightColor:c.su2cOrange2,loaderColor1:c.su2cOrange5,loaderColor2:c.su2cRed,loaderColor3:c.su2cBlack,paginationText:c.su2cBlack,paginationBackground:c.su2cBlack,totaliserBubbleColor:c.su2cBlack,totaliserBubbleTextColor:c.white,totaliserBubbleTotalColor:c.white,buttonPrimaryBackground:c.su2cOrange5,buttonPrimaryText:c.su2cBlack,buttonPrimaryBorder:c.su2cOrange5,buttonPrimaryBackgroundHover:c.su2cOrange3,buttonPrimaryTextHover:c.su2cBlack,buttonPrimaryBorderHover:c.su2cOrange3,buttonPrimaryDisabledBackground:c.grey_300,buttonPrimaryDisabledText:c.white,buttonPrimaryDisabledBorder:c.grey_300,buttonSecondaryBackground:c.white,buttonSecondaryText:c.su2cOrange5,buttonSecondaryBorder:c.su2cOrange5,buttonSecondaryBackgroundHover:c.su2cOrange1,buttonSecondaryTextHover:c.su2cOrange5,buttonSecondaryBorderHover:c.su2cOrange5,buttonSecondaryDisabledBackground:c.white,buttonSecondaryDisabledText:c.grey_300,buttonSecondaryDisabledBorder:c.grey_300,buttonTertiaryText:c.su2cOrange5,buttonTertiaryTextHover:c.su2cOrange5,buttonTertiaryDisabledText:c.grey_300}),i=r({},e.spacing),d=r({},e.fontSizes),l=r(r({},e.typography),{customFonts:[{family:"itc_avant_garde_pro_mdbold",urlWoff:"".concat(o.assetPath,"fonts/itc_-_itcavantgardepro-bold-webfont.woff")}],fontFamilyHeadings:"itc_avant_garde_pro_mdbold,Arial,sans-serif",linkTextDecoration:"none",headerLineHeight:"1.5em",headerTextTransform:"uppercase"}),g={name:"su2c",avatar:t,breakpoint:s,button:n,tokenColors:c,colors:u,spacing:i,fontSizes:d,siteConfig:o,typography:l,utilities:a};export{t as AVATAR,s as BREAKPOINT,n as BUTTON,u as COLORS,d as FONT_SIZES,o as SITE_CONFIG,i as SPACING,c as TOKEN_COLORS,l as TYPOGRAPHY,a as UTILITIES,g as default};
2
2
  //# sourceMappingURL=su2c.js.map
package/lib/types.d.ts CHANGED
@@ -128,7 +128,8 @@ export declare type SpacingType = {
128
128
  };
129
129
  export declare type CustomFontType = {
130
130
  family: string;
131
- url: string;
131
+ urlWoff?: string;
132
+ urlWoff2?: string;
132
133
  };
133
134
  export declare type TypographyType = {
134
135
  customFonts: [CustomFontType];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cruk/cruk-react-components",
3
- "version": "1.1.1",
3
+ "version": "1.1.4",
4
4
  "description": "React components implementing CRUK and SU2C designs",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -87,6 +87,7 @@
87
87
  "@rollup/plugin-babel": "^5.0.0",
88
88
  "@rollup/plugin-commonjs": "^21.0.0",
89
89
  "@rollup/plugin-node-resolve": "^13.0.5",
90
+ "@simonsmith/cypress-image-snapshot": "^5.0.4",
90
91
  "@storybook/addon-a11y": "6.5.9",
91
92
  "@storybook/addon-actions": "^6.5.9",
92
93
  "@storybook/addon-docs": "^6.5.9",
@@ -108,11 +109,10 @@
108
109
  "axe-core": "^4.2.1",
109
110
  "babel-loader": "8.2.3",
110
111
  "babel-plugin-styled-components": "^2.0.2",
111
- "cypress": "^10.2.0",
112
+ "cypress": "^10.4.0",
112
113
  "cypress-axe": "1.0.0",
113
- "cypress-image-snapshot": "^4.0.1",
114
114
  "cypress-plugin-tab": "^1.0.5",
115
- "eslint": "^7.32.0",
115
+ "eslint": "^8.19.0",
116
116
  "eslint-config-airbnb": "^19.0.4",
117
117
  "eslint-config-airbnb-typescript": "^17.0.0",
118
118
  "eslint-config-prettier": "^8.3.0",
@@ -124,12 +124,12 @@
124
124
  "eslint-plugin-promise": "^6.0.0",
125
125
  "eslint-plugin-react": "^7.26.1",
126
126
  "eslint-plugin-react-hooks": "^4.2.0",
127
- "eslint-plugin-storybook": "^0.5.12",
128
- "html-loader": "^2.1.2",
127
+ "eslint-plugin-storybook": "^0.6.1",
128
+ "html-loader": "^4.1.0",
129
129
  "html-webpack-plugin": "^5.3.2",
130
- "husky": "^7.0.2",
130
+ "husky": "^8.0.1",
131
131
  "jest": "^27.5.1",
132
- "lint-staged": "^11.1.2",
132
+ "lint-staged": "^13.0.3",
133
133
  "prettier": "^2.4.1",
134
134
  "pretty-quick": "^3.1.1",
135
135
  "react": "^16.12.0",
@@ -143,7 +143,7 @@
143
143
  "ts-loader": "9.2.8",
144
144
  "typescript": "^4.4.4",
145
145
  "webpack": "^5.53.0",
146
- "webpack-cli": "4.9.2",
146
+ "webpack-cli": "4.10.0",
147
147
  "webpack-dev-server": "^4.7.3"
148
148
  },
149
149
  "peerDependencies": {