@cruk/cruk-react-components 1.0.9 → 1.0.10

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 (118) hide show
  1. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusInside.js +1 -1
  2. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusInside.js.map +1 -1
  3. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusIsHidden.js +1 -1
  4. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusIsHidden.js.map +1 -1
  5. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusMerge.js +1 -1
  6. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusMerge.js.map +1 -1
  7. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusables.js +1 -1
  8. package/lib/cjs/node_modules/focus-lock/dist/es2015/focusables.js.map +1 -1
  9. package/lib/cjs/node_modules/focus-lock/dist/es2015/index.js.map +1 -1
  10. package/lib/cjs/node_modules/focus-lock/dist/es2015/setFocus.js +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 +1 -1
  13. package/lib/cjs/node_modules/focus-lock/dist/es2015/solver.js.map +1 -1
  14. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/DOMutils.js.map +1 -1
  15. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/all-affected.js +1 -1
  16. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/all-affected.js.map +1 -1
  17. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/correctFocus.js +1 -1
  18. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/correctFocus.js.map +1 -1
  19. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/firstFocus.js.map +1 -1
  20. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js +2 -0
  21. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js.map +1 -0
  22. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/is.js +1 -1
  23. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/is.js.map +1 -1
  24. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/parenting.js +1 -1
  25. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/parenting.js.map +1 -1
  26. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabOrder.js.map +1 -1
  27. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabUtils.js +1 -1
  28. package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabUtils.js.map +1 -1
  29. package/lib/cjs/node_modules/react-clientside-effect/lib/index.es.js.map +1 -1
  30. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Combination.js.map +1 -1
  31. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/FocusGuard.js.map +1 -1
  32. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js +1 -1
  33. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
  34. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Trap.js +1 -1
  35. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Trap.js.map +1 -1
  36. package/lib/cjs/node_modules/react-focus-lock/dist/es2015/medium.js.map +1 -1
  37. package/lib/cjs/node_modules/tslib/tslib.es6.js.map +1 -1
  38. package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -1
  39. package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -1
  40. package/lib/cjs/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -1
  41. package/lib/cjs/node_modules/use-sidecar/node_modules/tslib/tslib.es6.js.map +1 -1
  42. package/lib/cjs/src/components/Checkbox/styles.js +1 -1
  43. package/lib/cjs/src/components/DateField/styles.js +1 -1
  44. package/lib/cjs/src/components/LegendWrapper/styles.js +1 -1
  45. package/lib/cjs/src/components/Link/styles.js +1 -1
  46. package/lib/cjs/src/components/Text/styles.js +1 -1
  47. package/lib/cjs/src/themes/cruk.js +1 -1
  48. package/lib/components/Text/index.d.ts +1 -1
  49. package/lib/es/node_modules/focus-lock/dist/es2015/focusInside.js +1 -1
  50. package/lib/es/node_modules/focus-lock/dist/es2015/focusInside.js.map +1 -1
  51. package/lib/es/node_modules/focus-lock/dist/es2015/focusIsHidden.js +1 -1
  52. package/lib/es/node_modules/focus-lock/dist/es2015/focusIsHidden.js.map +1 -1
  53. package/lib/es/node_modules/focus-lock/dist/es2015/focusMerge.js +1 -1
  54. package/lib/es/node_modules/focus-lock/dist/es2015/focusMerge.js.map +1 -1
  55. package/lib/es/node_modules/focus-lock/dist/es2015/focusables.js +1 -1
  56. package/lib/es/node_modules/focus-lock/dist/es2015/focusables.js.map +1 -1
  57. package/lib/es/node_modules/focus-lock/dist/es2015/index.js.map +1 -1
  58. package/lib/es/node_modules/focus-lock/dist/es2015/setFocus.js +1 -1
  59. package/lib/es/node_modules/focus-lock/dist/es2015/setFocus.js.map +1 -1
  60. package/lib/es/node_modules/focus-lock/dist/es2015/solver.js +1 -1
  61. package/lib/es/node_modules/focus-lock/dist/es2015/solver.js.map +1 -1
  62. package/lib/es/node_modules/focus-lock/dist/es2015/utils/all-affected.js +1 -1
  63. package/lib/es/node_modules/focus-lock/dist/es2015/utils/all-affected.js.map +1 -1
  64. package/lib/es/node_modules/focus-lock/dist/es2015/utils/correctFocus.js +1 -1
  65. package/lib/es/node_modules/focus-lock/dist/es2015/utils/correctFocus.js.map +1 -1
  66. package/lib/es/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js +2 -0
  67. package/lib/es/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js.map +1 -0
  68. package/lib/es/node_modules/focus-lock/dist/es2015/utils/is.js +1 -1
  69. package/lib/es/node_modules/focus-lock/dist/es2015/utils/is.js.map +1 -1
  70. package/lib/es/node_modules/focus-lock/dist/es2015/utils/parenting.js +1 -1
  71. package/lib/es/node_modules/focus-lock/dist/es2015/utils/parenting.js.map +1 -1
  72. package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabOrder.js.map +1 -1
  73. package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabUtils.js +1 -1
  74. package/lib/es/node_modules/focus-lock/dist/es2015/utils/tabUtils.js.map +1 -1
  75. package/lib/es/node_modules/react-focus-lock/dist/es2015/Combination.js.map +1 -1
  76. package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js +1 -1
  77. package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
  78. package/lib/es/node_modules/react-focus-lock/dist/es2015/Trap.js +1 -1
  79. package/lib/es/node_modules/react-focus-lock/dist/es2015/Trap.js.map +1 -1
  80. package/lib/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -1
  81. package/lib/es/src/components/AddressLookup/README.md.js.map +1 -1
  82. package/lib/es/src/components/Avatar/README.md.js.map +1 -1
  83. package/lib/es/src/components/Badge/README.md.js.map +1 -1
  84. package/lib/es/src/components/Box/README.md.js.map +1 -1
  85. package/lib/es/src/components/Button/README.md.js.map +1 -1
  86. package/lib/es/src/components/Checkbox/README.md.js.map +1 -1
  87. package/lib/es/src/components/Checkbox/styles.js +1 -1
  88. package/lib/es/src/components/Collapse/README.md.js.map +1 -1
  89. package/lib/es/src/components/DateField/README.md.js.map +1 -1
  90. package/lib/es/src/components/DateField/styles.js +1 -1
  91. package/lib/es/src/components/ErrorText/README.md.js.map +1 -1
  92. package/lib/es/src/components/Footer/README.md.js.map +1 -1
  93. package/lib/es/src/components/Header/README.md.js.map +1 -1
  94. package/lib/es/src/components/Heading/README.md.js.map +1 -1
  95. package/lib/es/src/components/Icon/README.md.js.map +1 -1
  96. package/lib/es/src/components/LegendWrapper/README.md.js.map +1 -1
  97. package/lib/es/src/components/LegendWrapper/styles.js +1 -1
  98. package/lib/es/src/components/Link/README.md.js.map +1 -1
  99. package/lib/es/src/components/Link/styles.js +1 -1
  100. package/lib/es/src/components/Loader/README.md.js.map +1 -1
  101. package/lib/es/src/components/Modal/README.md.js.map +1 -1
  102. package/lib/es/src/components/Pagination/README.md.js.map +1 -1
  103. package/lib/es/src/components/PopOver/README.md.js.map +1 -1
  104. package/lib/es/src/components/ProgressBar/README.md.js.map +1 -1
  105. package/lib/es/src/components/Radio/README.md.js.map +1 -1
  106. package/lib/es/src/components/RadioConsent/README.md.js.map +1 -1
  107. package/lib/es/src/components/Select/README.md.js.map +1 -1
  108. package/lib/es/src/components/Step/README.md.js.map +1 -1
  109. package/lib/es/src/components/Text/README.md.js.map +1 -1
  110. package/lib/es/src/components/Text/styles.js +1 -1
  111. package/lib/es/src/components/TextAreaField/README.md.js.map +1 -1
  112. package/lib/es/src/components/TextField/README.md.js.map +1 -1
  113. package/lib/es/src/components/Totaliser/README.md.js.map +1 -1
  114. package/lib/es/src/components/UserBlock/README.md.js.map +1 -1
  115. package/lib/es/src/themes/cruk.js +1 -1
  116. package/lib/types.d.ts +1 -0
  117. package/package.json +3 -3
  118. package/CHANGELOG.md +0 -169
@@ -1,2 +1,2 @@
1
- var e={contentMaxWidth:"1020px",useDefaultFocusRect:!0,useDefaultFromControls:!1,useBackgroundStyleLinks:!1,inputBorderWidth:"1px"},r={cdnPath:"https://ccp-s3.int.cruk.org/",assetPath:"https://fundraise.cancerresearchuk.org/profiles/cruk_fundraising/themes/cruk_of_bootstrap/",logoUrl:"/",logoAlt:"Cancer Research UK Giving Page",logoSrc:"https://fundraise.cancerresearchuk.org/profiles/cruk_fundraising/themes/cruk_of_bootstrap/logo.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://fundraise.cancerresearchuk.org/profiles/cruk_fundraising/themes/cruk_of_bootstrap/images/fundreg.png"},a={s:"35px",m:"50px",l:"60px",xl:"90px",path:"".concat(r.assetPath,"images/icon-avatars/")},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},s={none:"0",auto:"auto",xxs:"0.5rem",xs:"1rem",s:"1.5rem",m:"2rem",l:"2.5rem",xl:"3rem",xxl:"3.5rem"},g={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",url:"https://ccp-s3.int.cruk.org/fonts/MuseoSansRounded-500"}],fontUrl:"".concat(r.cdnPath,"fonts"),fontFamilyBase:"Arial, Calibri, nimbussansl, liberationsans, freesans, clean, sans-serif",fontFamilyHeadings:"MuseoSans-500,Calibri,Arial,sans-serif",fontSizeBase:"16px",fontWeightHeavy:"700",fontWeightMedium:"500",fontWeightLight:"300",fontWeightVLight:"100",linkTextDecoration:"underline",lineHeight:"1.5em",headerLineHeight:"1.25em",headerTextTransform:"none"},u={name:"cruk",avatar:a,breakpoint:o,button:t,tokenColors:n,colors:i,spacing:s,fontSizes:g,siteConfig:r,typography:d,utilities:e};export{a as AVATAR,o as BREAKPOINT,t as BUTTON,i as COLORS,g as FONT_SIZES,r as SITE_CONFIG,s as SPACING,n as TOKEN_COLORS,d as TYPOGRAPHY,e as UTILITIES,u as default};
1
+ var e={contentMaxWidth:"1020px",useDefaultFocusRect:!0,useDefaultFromControls:!1,useBackgroundStyleLinks:!1,inputBorderWidth:"1px"},r={cdnPath:"https://ccp-s3.int.cruk.org/",assetPath:"https://fundraise.cancerresearchuk.org/profiles/cruk_fundraising/themes/cruk_of_bootstrap/",logoUrl:"/",logoAlt:"Cancer Research UK Giving Page",logoSrc:"https://fundraise.cancerresearchuk.org/profiles/cruk_fundraising/themes/cruk_of_bootstrap/logo.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://fundraise.cancerresearchuk.org/profiles/cruk_fundraising/themes/cruk_of_bootstrap/images/fundreg.png"},a={s:"35px",m:"50px",l:"60px",xl:"90px",path:"".concat(r.assetPath,"images/icon-avatars/")},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"},s={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",url:"https://ccp-s3.int.cruk.org/fonts/MuseoSansRounded-500"}],fontUrl:"".concat(r.cdnPath,"fonts"),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:s,siteConfig:r,typography:d,utilities:e};export{a as AVATAR,o as BREAKPOINT,t as BUTTON,i as COLORS,s 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
package/lib/types.d.ts CHANGED
@@ -138,6 +138,7 @@ export declare type TypographyType = {
138
138
  fontFamilyHeadings: string;
139
139
  fontSizeBase: string;
140
140
  fontWeightHeavy: string;
141
+ fontWeightNormal: string;
141
142
  fontWeightMedium: string;
142
143
  fontWeightLight: string;
143
144
  fontWeightVLight: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cruk/cruk-react-components",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "React components implementing CRUK and SU2C designs",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -18,7 +18,7 @@
18
18
  "node": "^14 || ^16"
19
19
  },
20
20
  "scripts": {
21
- "dev": "NODE_ENV=development npm i && docker-compose up server",
21
+ "dev": "NODE_ENV=development npm i && npm run start",
22
22
  "start": "webpack server --config webpack.config.docs.js --mode development",
23
23
  "clean-lib": "rm -rf ./lib",
24
24
  "build-lib": "npm run clean-lib && webpack --config webpack.config.lib.js --mode production",
@@ -87,7 +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
- "@storybook/addon-a11y": "6.4.19",
90
+ "@storybook/addon-a11y": "6.4.21",
91
91
  "@storybook/addon-actions": "^6.4.19",
92
92
  "@storybook/addon-docs": "^6.4.19",
93
93
  "@storybook/addon-essentials": "^6.4.19",
package/CHANGELOG.md DELETED
@@ -1,169 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [1.0.9] - 2021-04-06
9
-
10
- ### Changed
11
-
12
- CRUK magenta_500 from #e40074 to #e40087 to match design system
13
-
14
- ### Fixed
15
-
16
- - Text size s is incorrect should be 0.875 em not 0.857 em [#452](https://github.com/CRUKorg/cruk-react-components/issues/#452)
17
-
18
- ## [1.0.8] - 2021-03-29
19
-
20
- ### Fixed
21
-
22
- - TextField with extra on left or right looks wonkey on iOS [#445](https://github.com/CRUKorg/cruk-react-components/issues/445)
23
-
24
- ## [1.0.7] - 2021-03-24
25
-
26
- ### Fixed
27
-
28
- - Focus rect visible on mouse click and touch events for some items [#438](https://github.com/CRUKorg/cruk-react-components/issues/438)
29
-
30
- ## [1.0.6] - 2021-03-23
31
-
32
- ### Fixed
33
-
34
- - Links, Pagination button/links and Buttons that have been cast as an anchor tag all show default focus outline on focus. This wasn't happening in Firefox. [#428](https://github.com/CRUKorg/cruk-react-components/issues/428)
35
-
36
- ### Added
37
-
38
- - Carousel component
39
- - secondaryPercentage prop for Progress Bar and Totaliser
40
-
41
- ## [1.0.5] - 2021-02-09
42
-
43
- ### Changed
44
-
45
- - Using node 16 and cypress 9.4.1
46
-
47
- ## [1.0.4] - 2021-02-02
48
-
49
- ### Fixed
50
-
51
- - Collapse focus rect SU2C needs reduced border radius [#403](https://github.com/CRUKorg/cruk-react-components/issues/403)
52
- - Totaliser with custom summary has a speech bubble arrow artifact [#404](https://github.com/CRUKorg/cruk-react-components/issues/404)
53
-
54
- ## [1.0.3] - 2021-01-21
55
-
56
- ### Changed
57
-
58
- - Moving storybook/react into dev dependencies
59
-
60
- ## [1.0.2] - 2021-01-21
61
-
62
- ### Changed
63
-
64
- - Bumping storybook dependencies to 6.4.14
65
-
66
- ## [1.0.1] - 2021-12-01
67
-
68
- ### Removed
69
-
70
- - "@react-theming/storybook-addon", because it was breaking storybook post 6.4
71
-
72
- ### Changed
73
-
74
- - Replaced all absolute paths with relative paths, not out of choice but because rollup + typescript + absolute paths leads to broken typescript definition files with absolute paths, this broke intellisense.
75
- - Footer logo src and alt text configurable from theme
76
-
77
- ### Added
78
-
79
- - New theme selector bar in storybook top bar to replace the react-theming addon
80
-
81
- ## [1.0.0] - 2021-10-18
82
-
83
- ### Changed
84
-
85
- (BREAKING CHANGES)
86
-
87
- - Renamed RadioGroup to RadioConsent to discorage people to use this pattern in other scenarios
88
- - The old Button variant 'tertiary' has been removed and old Button variant 'text' is now Button variant 'teriary'
89
- - Changed avatar name prop type from ReactNode to string
90
-
91
- ### Added
92
-
93
- - Added aria-described by support for controlls with error messages for TextField, TextAreaField, Select, Checkbox, Radio
94
- - Added isIconButton prop to Button sets the button into a round or square shape when it only contains and icon, is happening in order to deprecate Icon and use another tree shakeable icon library in its stead.
95
- - Added hideRequiredInLabel prop to select to hide required in label when it is used to filter lists etc.
96
-
97
- ## [0.1.7] - 2021-10-06
98
-
99
- ### Fixed
100
-
101
- - CRUK secondary button hover colours solution causes cypress to think something is covering/obscuring text inputs when it isn't
102
-
103
- ## [0.1.6] - 2021-10-05
104
-
105
- ### Fixed
106
-
107
- - CRUK secondary button hover colours not accessible [#299](https://github.com/CRUKorg/cruk-react-components/issues/299)
108
- - CRUK totaliser colours not accessible [#324](https://github.com/CRUKorg/cruk-react-components/issues/324)
109
-
110
- ## [0.1.5] - 2021-09-23
111
-
112
- ### Added
113
-
114
- - Test for TextField with extra left and extra right props
115
-
116
- ### Changed
117
-
118
- - Heading H6 tags are always 1em
119
-
120
- ### Fixed
121
-
122
- - TextField isValid and isInvalid checks and crosses disappear when focused because of Chrome browser default styling [#298](https://github.com/CRUKorg/cruk-react-components/issues/298)
123
- - Missing attributes on AddressDataType [#306](https://github.com/CRUKorg/cruk-react-components/issues/306)
124
-
125
- ## [0.1.4] - 2021-08-27
126
-
127
- ### Changed
128
-
129
- - improved select cypress tests
130
- - Checkbox and Radio focus rect box shaddow is now inset for visual fix where it appears cropped in some scenarios
131
-
132
- ### Added
133
-
134
- - Added onPopOverIsOpenChange prop to PopOver component
135
- - Added backgroundColor prop to Modal component
136
-
137
- ## [0.1.3] - 2021-08-09
138
-
139
- ### Changed
140
-
141
- - Added Hotjar recording suppression attribute to TextField, TextAreaField and AddressLookup components
142
-
143
- ## [0.1.2] - 2021-07-20
144
-
145
- ### Added
146
-
147
- - LegendWrapper component
148
-
149
- ### Changed
150
-
151
- - Added hasError and errorMessage prop to Radio and Checkbox components
152
- - Updated styles for the Radio and Checkbox components to reflect hasError
153
- - Updated JS doc comment for Text, Link, TextField and TextAreaField components
154
- - Updated ErrorText colour, font weight and spacing inside form controlls
155
- - Updated AddressLookup, tab away from component and search results disappear, address results are focusable and input will no longer blur when clicking though lists of address
156
-
157
- ### Removed
158
-
159
- ### Fixed
160
-
161
- ## [0.1.1] - 2021-06-11
162
-
163
- ### Added
164
-
165
- ### Changed
166
-
167
- ### Removed
168
-
169
- ### Fixed