@cruk/chakra-components 4.0.0-dev.11 → 4.0.0-dev.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/components/AlertBanner/index.js +1 -1
- package/dist/cjs/components/FileUploader/index.js +1 -1
- package/dist/cjs/components/Link/index.js +1 -1
- package/dist/cjs/components/Link/index.js.map +1 -1
- package/dist/cjs/components/List/index.js +1 -1
- package/dist/cjs/components/List/index.js.map +1 -1
- package/dist/cjs/components/OnThisPage/index.js +1 -1
- package/dist/cjs/components/OnThisPage/index.js.map +1 -1
- package/dist/cjs/components/ReferenceBlock/index.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/static/icons/index.js +1 -1
- package/dist/cjs/theme/cruk/components/button.js +1 -1
- package/dist/cjs/theme/cruk/components/button.js.map +1 -1
- package/dist/esm/components/AlertBanner/index.js +1 -1
- package/dist/esm/components/FileUploader/index.js +1 -1
- package/dist/esm/components/Link/index.js +1 -1
- package/dist/esm/components/Link/index.js.map +1 -1
- package/dist/esm/components/List/index.js +1 -1
- package/dist/esm/components/List/index.js.map +1 -1
- package/dist/esm/components/OnThisPage/index.js +1 -1
- package/dist/esm/components/OnThisPage/index.js.map +1 -1
- package/dist/esm/components/ReferenceBlock/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/static/icons/index.js +1 -1
- package/dist/esm/theme/cruk/components/button.js +1 -1
- package/dist/esm/theme/cruk/components/button.js.map +1 -1
- package/dist/index.d.ts +24 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ npm install @cruk/chakra-components
|
|
|
26
26
|
npm install @chakra-ui/react @emotion/react @emotion/styled framer-motion
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
**NOTE:** Not all projects use `npm` as their package managers
|
|
29
|
+
**NOTE:** Not all projects use `npm` as their package managers - use whichever is appropriate for your project.
|
|
30
30
|
|
|
31
31
|
### Basic Setup
|
|
32
32
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react/jsx-runtime"),i=require("@chakra-ui/react");require("../../static/icons/1in4.js"),require("../../static/icons/2in4.js"),require("../../static/icons/3in4.js"),require("../../static/icons/4in4.js"),require("../../static/icons/adult.js");var e=require("../../static/icons/alert.js");require("../../static/icons/apple.js"),require("../../static/icons/arrowDown.js"),require("../../static/icons/arrowReturnUp.js"),require("../../static/icons/arrowUp.js"),require("../../static/icons/bagdrop.js"),require("../../static/icons/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react/jsx-runtime"),i=require("@chakra-ui/react");require("../../static/icons/1in4.js"),require("../../static/icons/2in4.js"),require("../../static/icons/3in4.js"),require("../../static/icons/4in4.js"),require("../../static/icons/adult.js");var e=require("../../static/icons/alert.js");require("../../static/icons/apple.js"),require("../../static/icons/arrowDown.js"),require("../../static/icons/arrowReturnUp.js"),require("../../static/icons/arrowUp.js"),require("../../static/icons/bagdrop.js"),require("../../static/icons/bluesky.js"),require("../../static/icons/checkCircle.js"),require("../../static/icons/children.js"),require("../../static/icons/clock.js"),require("../../static/icons/cloudUpload.js"),require("../../static/icons/cross.js"),require("../../static/icons/date.js"),require("../../static/icons/directDebit.js"),require("../../static/icons/dogs.js"),require("../../static/icons/email.js"),require("../../static/icons/facebook.js"),require("../../static/icons/fileIcons/audioFileIcon.js"),require("../../static/icons/fileIcons/codeIcon.js"),require("../../static/icons/fileIcons/excelFileIcon.js"),require("../../static/icons/fileIcons/imageFileIcon.js"),require("../../static/icons/fileIcons/pdfFileIcon.js"),require("../../static/icons/fileIcons/printIcon.js"),require("../../static/icons/fileIcons/videoFileIcon.js"),require("../../static/icons/fileIcons/wordFileIcon.js"),require("../../static/icons/fileIcons/zipFileIcon.js"),require("../../static/icons/fundraisingRegulator.js"),require("../../static/icons/googlePay.js"),require("../../static/icons/heart.js"),require("../../static/icons/heartSu2c.js");var r=require("../../static/icons/info.js");require("../../static/icons/instagram.js"),require("../../static/icons/linkedin.js"),require("../../static/icons/masterCard.js"),require("../../static/icons/microscope.js"),require("../../static/icons/newsletter.js"),require("../../static/icons/ovarian.js"),require("../../static/icons/parking.js"),require("../../static/icons/pause.js"),require("../../static/icons/payPal.js"),require("../../static/icons/pdf.js"),require("../../static/icons/people.js"),require("../../static/icons/phone.js"),require("../../static/icons/play.js"),require("../../static/icons/plus.js"),require("../../static/icons/plusSu2c.js"),require("../../static/icons/pound.js"),require("../../static/icons/pushchair.js"),require("../../static/icons/quote.js"),require("../../static/icons/refreshments.js"),require("../../static/icons/royalties-grants.js"),require("../../static/icons/share.js"),require("../../static/icons/shower.js"),require("../../static/icons/speechBubble.js");var t=require("../../static/icons/success.js");require("../../static/icons/thumbsUp.js"),require("../../static/icons/thumbsUpSu2.js"),require("../../static/icons/tikTok.js"),require("../../static/icons/toilets.js"),require("../../static/icons/twitter.js"),require("../../static/icons/venue.js"),require("../../static/icons/visa.js"),require("../../static/icons/whatsApp.js"),require("../../static/icons/wheelchairs.js"),require("../../static/icons/youTube.js"),require("@chakra-ui/icons");var c=require("../Text/index.js"),o=require("../Icon/index.js");const a={display:"flex",flexDirection:"row",alignItems:"flex-Start",overflow:"scroll",backgroundColor:"transparent",borderWidth:"2px 2px 2px 8px",paddingLeft:{base:6,md:10,lg:16},paddingRight:{base:6,md:10,lg:16},paddingTop:{base:6,md:6,lg:10},paddingBottom:{base:6,md:6,lg:10},marginBottom:{base:4,lg:6},gap:{base:6,md:6,lg:10},"&.warning":{borderColor:"status.warning"},"&.error":{borderColor:"status.error"},"&.information":{borderColor:"status.information"},"&.success":{borderColor:"status.success"}},n={information:"Information",success:"Success"},u=i.forwardRef((({icon:u,heading:j,description:l,variant:q,...d},p)=>s.jsxs(i.Box,{ref:p,role:"alert",__css:a,className:q.toLowerCase(),...d,children:[void 0!==u?s.jsx(s.Fragment,{children:"string"==typeof u?s.jsx(o.Icon,{margin:"auto 0",name:u,color:`status.${q.toLowerCase()}`,boxSize:8,padding:0}):s.jsx(s.Fragment,{children:u})}):s.jsx(o.Icon,{margin:"auto 0",as:q===n.information?r.default:q===n.success?t.default:e.default,name:q,color:`status.${q.toLowerCase()}`,boxSize:8,padding:0}),s.jsxs(i.VStack,{alignItems:"flex-start",children:["string"==typeof j?s.jsx(c.Text,{fontWeight:500,children:j}):s.jsx(s.Fragment,{children:j}),"string"==typeof l?s.jsx(c.Text,{fontSize:{lg:"md"},children:l}):s.jsx(s.Fragment,{children:l})]})]})));exports.AlertBanner=u,exports.default=u,exports.variants=n;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";var e=require("react/jsx-runtime"),i=require("@chakra-ui/react"),s=require("react"),r=require("react-dropzone");require("../../static/icons/1in4.js"),require("../../static/icons/2in4.js"),require("../../static/icons/3in4.js"),require("../../static/icons/4in4.js"),require("../../static/icons/adult.js"),require("../../static/icons/alert.js"),require("../../static/icons/apple.js"),require("../../static/icons/arrowDown.js"),require("../../static/icons/arrowReturnUp.js"),require("../../static/icons/arrowUp.js"),require("../../static/icons/bagdrop.js"),require("../../static/icons/checkCircle.js"),require("../../static/icons/children.js"),require("../../static/icons/clock.js");var t=require("../../static/icons/cloudUpload.js");require("../../static/icons/cross.js"),require("../../static/icons/date.js"),require("../../static/icons/directDebit.js"),require("../../static/icons/dogs.js"),require("../../static/icons/email.js"),require("../../static/icons/facebook.js"),require("../../static/icons/
|
|
1
|
+
"use client";"use strict";var e=require("react/jsx-runtime"),i=require("@chakra-ui/react"),s=require("react"),r=require("react-dropzone");require("../../static/icons/1in4.js"),require("../../static/icons/2in4.js"),require("../../static/icons/3in4.js"),require("../../static/icons/4in4.js"),require("../../static/icons/adult.js"),require("../../static/icons/alert.js"),require("../../static/icons/apple.js"),require("../../static/icons/arrowDown.js"),require("../../static/icons/arrowReturnUp.js"),require("../../static/icons/arrowUp.js"),require("../../static/icons/bagdrop.js"),require("../../static/icons/bluesky.js"),require("../../static/icons/checkCircle.js"),require("../../static/icons/children.js"),require("../../static/icons/clock.js");var t=require("../../static/icons/cloudUpload.js");require("../../static/icons/cross.js"),require("../../static/icons/date.js"),require("../../static/icons/directDebit.js"),require("../../static/icons/dogs.js"),require("../../static/icons/email.js"),require("../../static/icons/facebook.js"),require("../../static/icons/fileIcons/audioFileIcon.js"),require("../../static/icons/fileIcons/codeIcon.js"),require("../../static/icons/fileIcons/excelFileIcon.js"),require("../../static/icons/fileIcons/imageFileIcon.js"),require("../../static/icons/fileIcons/pdfFileIcon.js"),require("../../static/icons/fileIcons/printIcon.js"),require("../../static/icons/fileIcons/videoFileIcon.js"),require("../../static/icons/fileIcons/wordFileIcon.js"),require("../../static/icons/fileIcons/zipFileIcon.js"),require("../../static/icons/fundraisingRegulator.js"),require("../../static/icons/googlePay.js"),require("../../static/icons/heart.js"),require("../../static/icons/heartSu2c.js"),require("../../static/icons/info.js"),require("../../static/icons/instagram.js"),require("../../static/icons/linkedin.js"),require("../../static/icons/masterCard.js"),require("../../static/icons/microscope.js"),require("../../static/icons/newsletter.js"),require("../../static/icons/ovarian.js"),require("../../static/icons/parking.js"),require("../../static/icons/pause.js"),require("../../static/icons/payPal.js"),require("../../static/icons/pdf.js"),require("../../static/icons/people.js"),require("../../static/icons/phone.js"),require("../../static/icons/play.js"),require("../../static/icons/plus.js"),require("../../static/icons/plusSu2c.js"),require("../../static/icons/pound.js"),require("../../static/icons/pushchair.js"),require("../../static/icons/quote.js"),require("../../static/icons/refreshments.js"),require("../../static/icons/royalties-grants.js"),require("../../static/icons/share.js"),require("../../static/icons/shower.js"),require("../../static/icons/speechBubble.js"),require("../../static/icons/success.js"),require("../../static/icons/thumbsUp.js"),require("../../static/icons/thumbsUpSu2.js"),require("../../static/icons/tikTok.js"),require("../../static/icons/toilets.js"),require("../../static/icons/twitter.js"),require("../../static/icons/venue.js"),require("../../static/icons/visa.js"),require("../../static/icons/whatsApp.js"),require("../../static/icons/wheelchairs.js"),require("../../static/icons/youTube.js"),require("@chakra-ui/icons");var c=require("../Text/index.js"),a=require("./CtaMessage.js"),o=require("./FileItem.js");const n=(e,i,s,r)=>{let t="";switch(e.errors[0].code){case"file-invalid-type":t=`Only ${r.join(", ")} are allowed.`;break;case"file-too-large":t=`This file exceeds the size limit of ${s}MB. Please try with a smaller file.`;break;case"too-many-files":t=`Maximum of ${i} files allowed for upload.`;break;default:t=e.errors[0].message}return t},l=i.forwardRef((({isDisabled:l=!1,isInvalid:u=!1,uploadError:d=!1,maxFiles:j=10,maxSize:p=50,failedUploads:q,completedUploads:f,uploadFiles:m,rejectedFiles:x,handleError:g,removeAcceptedFile:h,removeRejectedFile:b,addRejectedFiles:F,onDrop:I,acceptedFileTypes:v,acceptedFileTypeDictionary:y,...w},k)=>{const U=i.useStyleConfig("FileUpload"),{fileRejections:D,getRootProps:S,getInputProps:C,isFocused:z,isDragAccept:E,isDragReject:R,isDragActive:T}=r.useDropzone({noDragEventsBubbling:!0,disabled:l,onDrop:I,minSize:1,maxSize:1e6*p,accept:y}),M=`Supported types: ${v.join(", ")}`,A=`Max ${p}MB in total`,B=l?"#ffffff":"fileUploadSecondaryColor",P=l?"fileUploadSecondaryColor":"#ffffff";return s.useEffect((()=>{F([...D])}),[D,F]),s.useEffect((()=>{g(x.length>0)}),[x,g]),e.jsxs(i.Box,{ref:k,__css:U,...w,...S(),children:[e.jsxs(i.Container,{"data-disabled":l,"data-drag-accept":E,"data-drag-active":T,"data-drag-reject":R,"data-is-focused":z,"data-upload-error":u,role:"presentation",className:"container",children:[e.jsx(a.CtaMessage,{uploadDisabled:l,isInvalid:u,uploadError:d,isDragActive:T,maxFiles:j}),e.jsx("input",{...C()}),e.jsx(i.Icon,{as:t.default,boxSize:20,color:l||u?"disabled":"primary",height:"80px",width:"80px"}),e.jsx(c.Text,{fontWeight:"normal",mb:{base:"10px",lg:"10px",sm:"10px"},children:A}),e.jsx(c.Text,{textAlign:{base:"center",lg:"left"},backgroundColor:T?P:B,gap:{base:"8px",lg:"8px",sm:"4px"},p:3,pl:5,w:"100%",children:M})]}),e.jsxs("aside",{children:[e.jsx("div",{children:m.map((i=>e.jsx(o.FileItem,{file:i,isFileUploaded:f?.includes(i)||!1,isFileUploadError:q?.includes(i.name)||!1,callback:()=>h(i)},i.name)))}),e.jsx("div",{children:x.map((i=>e.jsx(o.FileItem,{file:i.file,isFileUploadError:!0,isFileUploaded:!1,rejectedFile:i,callback:()=>b(i),errorMessage:n(i,j,p,v)},i.file.name)))})]})]})}));exports.FileUploader=l;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),r=require("@chakra-ui/react"),n=require("../../helpers/customIcons.js"),t=require("../Text/index.js");const i=r.forwardRef(((n,t)=>{const{variant:i,linkIcon:s,children:a,...l}=n;return e.jsx(r.Link,{size:{base:"sm",lg:"md"},ref:t,...l,variant:i,children:s?e.jsxs(r.Flex,{alignItems:n.alignItems??"flex-start",children:[e.jsx(r.Icon,{"data-testid":"icon",as:s,mr:2,boxSize:6}),e.jsx("span",{children:a})]}):a})})),s=r.forwardRef(((n,t)=>e.jsx(r.Link,{ref:t,...n}))),a=r.forwardRef(((i,s)=>{const{fileType:a,entryType:l,fileSize:o,children:c,href:d,...f}=i,x=n.useFileIcon(d||"");return e.jsxs(e.Fragment,{children:[e.jsxs(r.Link,{size:{base:"sm",lg:"md"},ref:s,...f,children:["embedded-entry-inline"===l&&x&&e.jsx(x,{mr:"1","aria-hidden":"true"}),c]}),a&&e.jsxs(t.Text,{as:"span",ml:"1",color:"captionColor",children:["(",a?.toUpperCase(),o?`, ${o.toUpperCase()}`:"",")"]})]})})),l=r.forwardRef(((r,n)=>{const{target:t,variant:l,...o}=r,c="string"==typeof r.children?r.children:"Link",d=r.title||c,f={...o,title:"_blank"===t?`${d} (opens in a new tab)`:d,ref:n,variant:l,target:t,"data-cta-variant":l,rel:"_blank"===t?"noopener noreferrer":void 0};switch(l){case"file":return e.jsx(a,{...f});case"footer":return e.jsx(s,{...f});default:return e.jsx(i,{...f})}}));Object.defineProperty(exports,"LinkOverlay",{enumerable:!0,get:function(){return r.LinkOverlay}}),exports.Link=l;
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),r=require("@chakra-ui/react"),n=require("../../helpers/customIcons.js"),t=require("../Text/index.js");const i=r.forwardRef(((n,t)=>{const{variant:i,linkIcon:s,children:a,...l}=n;return e.jsx(r.Link,{size:{base:"sm",lg:"md"},ref:t,...l,variant:i,children:s?e.jsxs(r.Flex,{alignItems:n.alignItems??"flex-start",children:[e.jsx(r.Icon,{"data-testid":"icon",as:s,mr:2,boxSize:6}),e.jsx("span",{children:a})]}):a})})),s=r.forwardRef(((n,t)=>e.jsx(r.Link,{ref:t,...n}))),a=r.forwardRef(((i,s)=>{const{fileType:a,entryType:l,fileSize:o,children:c,href:d,...f}=i,x=n.useFileIcon(d||"");return e.jsxs(e.Fragment,{children:[e.jsxs(r.Link,{size:{base:"sm",lg:"md"},ref:s,...f,href:d,children:["embedded-entry-inline"===l&&x&&e.jsx(x,{mr:"1","aria-hidden":"true"}),c]}),a&&e.jsxs(t.Text,{as:"span",ml:"1",color:"captionColor",children:["(",a?.toUpperCase(),o?`, ${o.toUpperCase()}`:"",")"]})]})})),l=r.forwardRef(((r,n)=>{const{target:t,variant:l,...o}=r,c="string"==typeof r.children?r.children:"Link",d=r.title||c,f={...o,title:"_blank"===t?`${d} (opens in a new tab)`:d,ref:n,variant:l,target:t,"data-cta-variant":l,rel:"_blank"===t?"noopener noreferrer":void 0};switch(l){case"file":return e.jsx(a,{...f});case"footer":return e.jsx(s,{...f});default:return e.jsx(i,{...f})}}));Object.defineProperty(exports,"LinkOverlay",{enumerable:!0,get:function(){return r.LinkOverlay}}),exports.Link=l;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/Link/index.tsx"],"sourcesContent":[null],"names":["Inline","forwardRef","props","ref","variant","linkIcon","children","rest","_jsx","jsx","ChakraLink","size","base","lg","_jsxs","jsxs","Flex","alignItems","Icon","as","mr","boxSize","Footer","File","fileType","entryType","fileSize","href","FileIcon","useFileIcon","_Fragment","Fragment","Text","ml","color","toUpperCase","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/Link/index.tsx"],"sourcesContent":[null],"names":["Inline","forwardRef","props","ref","variant","linkIcon","children","rest","_jsx","jsx","ChakraLink","size","base","lg","_jsxs","jsxs","Flex","alignItems","Icon","as","mr","boxSize","Footer","File","fileType","entryType","fileSize","href","FileIcon","useFileIcon","_Fragment","Fragment","Link","Text","ml","color","toUpperCase","target","restProps","linkContents","linkTitle","title","linkProps","rel","undefined"],"mappings":"sJAoCA,MAAMA,EAASC,EAAUA,YAAiB,CAACC,EAAOC,KAChD,MAAMC,QAAEA,EAAOC,SAAEA,EAAQC,SAAEA,KAAaC,GAASL,EACjD,OACEM,EAAAC,IAACC,OAAU,CACTC,KAAM,CAAEC,KAAM,KAAMC,GAAI,MACxBV,IAAKA,KACDI,EACJH,QAASA,EAAOE,SAGfD,EACCS,EAACC,KAAAC,QAAKC,WAAYf,EAAMe,YAAc,aAAYX,SAAA,CAChDE,MAACU,EAAAA,KAAI,CAAA,cAAa,OAAOC,GAAId,EAAUe,GAAI,EAAGC,QAAS,IACvDb,EAAAA,IAAO,OAAA,CAAAF,SAAAA,UAKA,IAIXgB,EAASrB,EAAUA,YAAiB,CAACC,EAAOC,IAChDK,EAACC,IAAAC,OAAW,CAAAP,IAAKA,KAASD,MAGtBqB,EAAOtB,EAAUA,YAAqB,CAACC,EAAOC,KAClD,MAAMqB,SAAEA,EAAQC,UAAEA,EAASC,SAAEA,EAAQpB,SAAEA,EAAQqB,KAAEA,KAASpB,GAASL,EAC7D0B,EAAWC,EAAAA,YAAYF,GAAQ,IACrC,OACEb,EACEC,KAAAe,EAAAC,SAAA,CAAAzB,SAAA,CAAAQ,EAAAC,KAACL,EAAUsB,KACT,CAAArB,KAAM,CAAEC,KAAM,KAAMC,GAAI,MACxBV,IAAKA,KACDI,EACJoB,KAAMA,YAES,0BAAdF,GAAyCG,GACxCpB,EAAAC,IAACmB,EAAS,CAAAR,GAAG,IAAG,cAAa,SAE9Bd,KAEFkB,GACCV,EAAAC,KAACkB,EAAIA,KAAC,CAAAd,GAAG,OAAOe,GAAG,IAAIC,MAAM,eACzB7B,SAAA,CAAA,IAAAkB,GAAUY,cACXV,EAAW,KAAKA,EAASU,gBAAkB,YAG/C,IAIDJ,EAAO/B,EAAUA,YAA2B,CAACC,EAAOC,KACxD,MAAMkC,OAAEA,EAAMjC,QAAEA,KAAYkC,GAAcpC,EACpCqC,EACsB,iBAAnBrC,EAAMI,SAAwBJ,EAAMI,SAAW,OAClDkC,EAAYtC,EAAMuC,OAASF,EAI3BG,EAAY,IACbJ,EACHG,MAJW,WAAXJ,EAAsB,GAAGG,yBAAmCA,EAK5DrC,MACAC,UACAiC,SACA,mBAAoBjC,EACpBuC,IAAgB,WAAXN,EAAsB,2BAAwBO,GAGrD,OAAQxC,GACN,IAAK,OACH,OAAOI,MAACe,EAAS,IAAAmB,IACnB,IAAK,SACH,OAAOlC,MAACc,EAAW,IAAAoB,IACrB,QACE,OAAOlC,MAACR,EAAW,IAAA0C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react"),r=require("react/jsx-runtime"),t=require("@chakra-ui/icons"),n=require("@chakra-ui/react");const i=n.forwardRef(((e,t)=>{const{children:i,...s}=e;return r.jsx(n.List,{ref:t,variant:"checklist",spacing:{base:"3",lg:"4"},...s,children:i})})),s=n.forwardRef(((t,s)=>{const{children:o,as:c,...
|
|
1
|
+
"use strict";var e=require("react"),r=require("react/jsx-runtime"),t=require("@chakra-ui/icons"),n=require("@chakra-ui/react");const i=n.forwardRef(((e,t)=>{const{children:i,...s}=e;return r.jsx(n.List,{ref:t,variant:"checklist",spacing:{base:"3",lg:"4"},...s,children:i})})),s=n.forwardRef(((t,s)=>{const{children:o,as:c,iconAlignment:a="top",...l}=t,d=e.Children.toArray(o);return r.jsx(i,{ref:s,children:d.map(((t,i)=>e.createElement(n.ListItem,{alignItems:"center"===a?"center":"flex-start",display:"flex",...l,key:`check-list-icon-${i}`},r.jsx(n.ListIcon,{boxSize:{base:6,lg:8},marginInlineEnd:{base:3,lg:4},color:"tertiary",as:c}),t)))})})),o=n.forwardRef(((e,i)=>{const{children:s,...o}=e;return r.jsxs(n.ListItem,{ref:i,...o,children:[r.jsx(n.ListIcon,{as:t.ArrowDownIcon,boxSize:6,marginInlineEnd:2,color:"listIconPrimaryColor"}),s]})}));Object.defineProperty(exports,"List",{enumerable:!0,get:function(){return n.List}}),Object.defineProperty(exports,"ListIcon",{enumerable:!0,get:function(){return n.ListIcon}}),Object.defineProperty(exports,"ListItem",{enumerable:!0,get:function(){return n.ListItem}}),Object.defineProperty(exports,"OrderedList",{enumerable:!0,get:function(){return n.OrderedList}}),Object.defineProperty(exports,"UnorderedList",{enumerable:!0,get:function(){return n.UnorderedList}}),exports.ArrowDownListItem=o,exports.CheckList=s,exports.CheckListUL=i;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/List/index.tsx"],"sourcesContent":[null],"names":["CheckListUL","forwardRef","props","ref","children","rest","_jsx","List","variant","spacing","base","lg","CheckList","as","childrenList","React","Children","toArray","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/List/index.tsx"],"sourcesContent":[null],"names":["CheckListUL","forwardRef","props","ref","children","rest","_jsx","List","variant","spacing","base","lg","CheckList","as","iconAlignment","childrenList","React","Children","toArray","map","list","index","_createElement","createElement","ListItem","alignItems","display","key","ListIcon","boxSize","marginInlineEnd","color","ArrowDownListItem","_jsxs","jsxs","jsx","ArrowDownIcon"],"mappings":"+HAkBM,MAAAA,EAAcC,EAAUA,YAAkB,CAACC,EAAOC,KACtD,MAAMC,SAAEA,KAAaC,GAASH,EAC9B,OACEI,EAAAA,IAACC,EAAAA,KAAI,CACHJ,IAAKA,EACLK,QAAQ,YACRC,QAAS,CAAEC,KAAM,IAAKC,GAAI,QACtBN,EAAID,SAEPA,GACI,IAILQ,EAAYX,EAAUA,YAA2B,CAACC,EAAOC,KAC7D,MAAMC,SAAEA,EAAQS,GAAEA,EAAEC,cAAEA,EAAgB,SAAUT,GAASH,EACnDa,EAAeC,EAAMC,SAASC,QAAQd,GAE5C,OACEE,MAACN,EAAW,CAACG,IAAKA,WACfY,EAAaI,KAAI,CAACC,EAAMC,IACvBC,EAAAC,cAACC,EAAQA,SAAA,CACPC,WAA8B,WAAlBX,EAA6B,SAAW,aACpDY,QAAQ,UACJrB,EACJsB,IAAK,mBAAmBN,KAExBf,MAACsB,EAAAA,SAAQ,CACPC,QAAS,CAAEnB,KAAM,EAAGC,GAAI,GACxBmB,gBAAiB,CAAEpB,KAAM,EAAGC,GAAI,GAChCoB,MAAM,WACNlB,GAAIA,IAELO,MAGO,IAIZY,EAAoB/B,EAAUA,YAAsB,CAACC,EAAOC,KAChE,MAAMC,SAAEA,KAAaC,GAASH,EAC9B,OACE+B,EAAAC,KAACV,WAAQ,CAACrB,IAAKA,KAASE,EACtBD,SAAA,CAAAE,EAAA6B,IAACP,WAAQ,CACPf,GAAIuB,gBACJP,QAAS,EACTC,gBAAiB,EACjBC,MAAM,yBAEP3B,IACQ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),n=require("@chakra-ui/react"),i=require("react"),r=require("../Button/index.js"),t=require("../Button/IconButton.js");require("../Flex/index.js");var
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),n=require("@chakra-ui/react"),i=require("react"),r=require("../Button/index.js"),t=require("../Button/IconButton.js");require("../Flex/index.js");var o=require("../Heading/index.js");require("../Icon/index.js");var s=require("../List/index.js"),a=require("@chakra-ui/icons");const d=n.forwardRef(((d,l)=>{const{children:c,...x}=d,[h,g]=i.useState(!1),[u,j]=i.useState(!1),p=i.Children.toArray(c),f=n.useBreakpointValue({base:5,lg:8},{fallback:"md"}),m=p.slice(0,h?p.length:f),b="OnThisPage-container";return i.useEffect((()=>{const e=()=>{const e=document.getElementById(b);if(!e)throw new Error("Could not find OnThisPage component");j(window.scrollY>e.offsetTop+e.offsetHeight)};return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]),e.jsx(n.Box,{paddingTop:{base:4,md:8,lg:10},ref:l,"data-testid":b,id:b,children:e.jsxs(n.Box,{backgroundColor:"onThisPagePrimaryBg",padding:{base:4,md:6,lg:8},...x,children:[e.jsxs("nav",{children:[e.jsx(o.Heading,{fontSize:{base:"headings.sm",lg:"headings.lg"},lineHeight:{base:"headings.sm",lg:"headings.lg"},display:"flex",pb:4,children:"On this page"}),e.jsx(n.UnorderedList,{marginInlineStart:0,paddingInlineStart:0,sx:{li:{display:"flex",paddingBottom:2,alignItems:"center"}},styleType:"none",children:m.map(((n,i)=>e.jsx(s.ArrowDownListItem,{children:n},i)))})]}),f&&p.length>f&&e.jsx(n.Flex,{justifyContent:"flex-end",children:e.jsx(r.Button,{mt:4,variant:"linkNoDecoration",rightIcon:h?e.jsx(a.ChevronUpIcon,{boxSize:6}):e.jsx(a.ChevronDownIcon,{boxSize:6}),onClick:()=>g(!h),children:h?"Show less":"Show all"})}),u&&e.jsx(n.Portal,{children:e.jsx(n.Flex,{justifyContent:"center",pointerEvents:"none",children:e.jsx(n.Container,{position:"fixed",bottom:{base:4,md:20},children:e.jsx(n.Flex,{justifyContent:"end",paddingRight:{base:4,md:8},children:e.jsx(n.Box,{pointerEvents:"auto",zIndex:"sticky",position:"relative",children:e.jsx(n.Link,{href:`#${b}`,children:e.jsx(t.IconButton,{icon:e.jsx(a.ArrowUpIcon,{}),variant:"backToTop","aria-label":"Back to top"})})})})})})})]})})}));exports.OnThisPageHeadings=d;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/OnThisPage/index.tsx"],"sourcesContent":[null],"names":["OnThisPageHeadings","forwardRef","props","ref","children","rest","shouldShowAll","setShouldShowAll","React","useState","showBackToTop","setShowBackToTop","headings","Children","toArray","noOfHeadings","useBreakpointValue","base","lg","fallback","displayHeadings","slice","length","boxId","useEffect","handleScroll","box","document","getElementById","Error","window","scrollY","offsetTop","offsetHeight","addEventListener","removeEventListener","_jsx","Box","paddingTop","md","id","_jsxs","jsxs","backgroundColor","padding","Heading","fontSize","lineHeight","display","pb","UnorderedList","marginInlineStart","paddingInlineStart","sx","li","paddingBottom","alignItems","styleType","map","heading","index","ArrowDownListItem","Flex","justifyContent","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/OnThisPage/index.tsx"],"sourcesContent":[null],"names":["OnThisPageHeadings","forwardRef","props","ref","children","rest","shouldShowAll","setShouldShowAll","React","useState","showBackToTop","setShowBackToTop","headings","Children","toArray","noOfHeadings","useBreakpointValue","base","lg","fallback","displayHeadings","slice","length","boxId","useEffect","handleScroll","box","document","getElementById","Error","window","scrollY","offsetTop","offsetHeight","addEventListener","removeEventListener","_jsx","Box","paddingTop","md","id","_jsxs","jsxs","backgroundColor","padding","Heading","fontSize","lineHeight","display","pb","UnorderedList","marginInlineStart","paddingInlineStart","sx","li","paddingBottom","alignItems","styleType","map","heading","index","jsx","ArrowDownListItem","Flex","justifyContent","Button","mt","variant","rightIcon","ChevronUpIcon","boxSize","ChevronDownIcon","onClick","Portal","pointerEvents","Container","position","bottom","paddingRight","zIndex","Link","href","IconButton","icon","ArrowUpIcon"],"mappings":"mUAsBM,MAAAA,EAAqBC,EAAUA,YAAyB,CAACC,EAAOC,KACpE,MAAMC,SAAEA,KAAaC,GAASH,GAEvBI,EAAeC,GAAoBC,EAAMC,UAAS,IAClDC,EAAeC,GAAoBH,EAAMC,UAAS,GAEnDG,EAAWJ,EAAMK,SAASC,QAAQV,GAElCW,EAAeC,EAAAA,mBACnB,CACEC,KAAM,EACNC,GAAI,GAEN,CAAEC,SAAU,OAGRC,EAAkBR,EAASS,MAC/B,EACAf,EAAgBM,EAASU,OAASP,GAI9BQ,EAAQ,uBAsBd,OApBAC,EAAAA,WAAU,KACR,MAAMC,EAAe,KACnB,MAAMC,EAAMC,SAASC,eAAeL,GAEpC,IAAKG,EACH,MAAM,IAAIG,MAAM,uCAGlBlB,EAAiBmB,OAAOC,QAAUL,EAAIM,UAAYN,EAAIO,aAAa,EAOrE,OAFAR,IACAK,OAAOI,iBAAiB,SAAUT,GAC3B,KACLK,OAAOK,oBAAoB,SAAUV,EAAa,CACnD,GACA,IAGDW,EAAAA,IAACC,EAAAA,IAAG,CACFC,WAAY,CAAErB,KAAM,EAAGsB,GAAI,EAAGrB,GAAI,IAClCf,IAAKA,EACQ,cAAAoB,EACbiB,GAAIjB,EAEJnB,SAAAqC,EAAAC,KAACL,EAAGA,IACF,CAAAM,gBAAgB,sBAChBC,QAAS,CAAE3B,KAAM,EAAGsB,GAAI,EAAGrB,GAAI,MAC3Bb,EAAID,SAAA,CAERqC,EAAAA,sBACEL,EAAAA,IAACS,EAAAA,SACCC,SAAU,CAAE7B,KAAM,cAAeC,GAAI,eACrC6B,WAAY,CAAE9B,KAAM,cAAeC,GAAI,eACvC8B,QAAQ,OACRC,GAAI,EAGI7C,SAAA,iBACVgC,EAAAA,IAACc,EAAAA,cAAa,CACZC,kBAAmB,EACnBC,mBAAoB,EACpBC,GAAI,CACFC,GAAI,CAAEN,QAAS,OAAQO,cAAe,EAAGC,WAAY,WAEvDC,UAAU,OAAMrD,SAEfgB,EAAgBsC,KAAI,CAACC,EAASC,IAC7BxB,EAAAyB,IAACC,EAAiBA,kBAAc,CAAA1D,SAAAuD,GAARC,UAI7B7C,GAAgBH,EAASU,OAASP,GACjCqB,MAAC2B,EAAIA,KAAA,CAACC,eAAe,oBACnB5B,EAAAA,IAAC6B,EAAAA,OACC,CAAAC,GAAI,EACJC,QAAQ,mBACRC,UACE9D,EACE8B,EAAAA,IAACiC,EAAAA,cAAc,CAAAC,QAAS,IAExBlC,EAACyB,IAAAU,EAAeA,iBAACD,QAAS,IAG9BE,QArEU,IAAMjE,GAAkBD,GAqEZF,SAErBE,EAAgB,YAAc,eAIpCI,GACC0B,EAAAA,IAACqC,EAAAA,iBACCrC,EAACyB,IAAAE,EAAIA,MAACC,eAAe,SAASU,cAAc,OAC1CtE,SAAAgC,EAAAyB,IAACc,EAASA,UAAC,CAAAC,SAAS,QAAQC,OAAQ,CAAE5D,KAAM,EAAGsB,GAAI,IACjDnC,SAAAgC,EAAAA,IAAC2B,EAAAA,KAAI,CAACC,eAAe,MAAMc,aAAc,CAAE7D,KAAM,EAAGsB,GAAI,YACtDH,EAACyB,IAAAxB,EAAGA,KAACqC,cAAc,OAAOK,OAAO,SAASH,SAAS,WAAUxE,SAC3DgC,MAAC4C,EAAIA,KAAA,CAACC,KAAM,IAAI1D,IACdnB,SAAAgC,EAAAyB,IAACqB,EAAUA,WACT,CAAAC,KAAM/C,EAACyB,IAAAuB,EAAWA,gBAClBjB,QAAQ,YACG,aAAA,gCAUzB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var i=require("react/jsx-runtime"),e=require("@chakra-ui/react");require("../../static/icons/1in4.js"),require("../../static/icons/2in4.js"),require("../../static/icons/3in4.js"),require("../../static/icons/4in4.js"),require("../../static/icons/adult.js"),require("../../static/icons/alert.js"),require("../../static/icons/apple.js"),require("../../static/icons/arrowDown.js");var s=require("../../static/icons/arrowReturnUp.js");require("../../static/icons/arrowUp.js"),require("../../static/icons/bagdrop.js"),require("../../static/icons/
|
|
1
|
+
"use strict";var i=require("react/jsx-runtime"),e=require("@chakra-ui/react");require("../../static/icons/1in4.js"),require("../../static/icons/2in4.js"),require("../../static/icons/3in4.js"),require("../../static/icons/4in4.js"),require("../../static/icons/adult.js"),require("../../static/icons/alert.js"),require("../../static/icons/apple.js"),require("../../static/icons/arrowDown.js");var s=require("../../static/icons/arrowReturnUp.js");require("../../static/icons/arrowUp.js"),require("../../static/icons/bagdrop.js"),require("../../static/icons/bluesky.js"),require("../../static/icons/checkCircle.js"),require("../../static/icons/children.js"),require("../../static/icons/clock.js"),require("../../static/icons/cloudUpload.js"),require("../../static/icons/cross.js"),require("../../static/icons/date.js"),require("../../static/icons/directDebit.js"),require("../../static/icons/dogs.js"),require("../../static/icons/email.js"),require("../../static/icons/facebook.js"),require("../../static/icons/fileIcons/audioFileIcon.js"),require("../../static/icons/fileIcons/codeIcon.js"),require("../../static/icons/fileIcons/excelFileIcon.js"),require("../../static/icons/fileIcons/imageFileIcon.js"),require("../../static/icons/fileIcons/pdfFileIcon.js"),require("../../static/icons/fileIcons/printIcon.js"),require("../../static/icons/fileIcons/videoFileIcon.js"),require("../../static/icons/fileIcons/wordFileIcon.js"),require("../../static/icons/fileIcons/zipFileIcon.js"),require("../../static/icons/fundraisingRegulator.js"),require("../../static/icons/googlePay.js"),require("../../static/icons/heart.js"),require("../../static/icons/heartSu2c.js"),require("../../static/icons/info.js"),require("../../static/icons/instagram.js"),require("../../static/icons/linkedin.js"),require("../../static/icons/masterCard.js"),require("../../static/icons/microscope.js"),require("../../static/icons/newsletter.js"),require("../../static/icons/ovarian.js"),require("../../static/icons/parking.js"),require("../../static/icons/pause.js"),require("../../static/icons/payPal.js"),require("../../static/icons/pdf.js"),require("../../static/icons/people.js"),require("../../static/icons/phone.js"),require("../../static/icons/play.js"),require("../../static/icons/plus.js"),require("../../static/icons/plusSu2c.js"),require("../../static/icons/pound.js"),require("../../static/icons/pushchair.js"),require("../../static/icons/quote.js"),require("../../static/icons/refreshments.js"),require("../../static/icons/royalties-grants.js"),require("../../static/icons/share.js"),require("../../static/icons/shower.js"),require("../../static/icons/speechBubble.js"),require("../../static/icons/success.js"),require("../../static/icons/thumbsUp.js"),require("../../static/icons/thumbsUpSu2.js"),require("../../static/icons/tikTok.js"),require("../../static/icons/toilets.js"),require("../../static/icons/twitter.js"),require("../../static/icons/venue.js"),require("../../static/icons/visa.js"),require("../../static/icons/whatsApp.js"),require("../../static/icons/wheelchairs.js"),require("../../static/icons/youTube.js"),require("@chakra-ui/icons");var r=require("../Accordion/index.js"),c=require("../Heading/index.js"),t=require("../Link/index.js");require("../List/index.js");const n=e.forwardRef((({referenceEntries:r},c)=>i.jsx(e.OrderedList,{ref:c,spacing:4,pl:6,ml:6,children:r&&r.map(((r,c)=>i.jsxs(e.ListItem,{fontSize:"md",position:"relative",children:[i.jsx(t.Link,{href:r.contentLink,linkIcon:s.default,variant:"reference",title:`Link to reference ${c+1}`,"data-testid":"reference-link"}),r.text]},r.id)))}))),o=e.forwardRef(((s,t)=>{const{title:o,referenceEntries:a,hideDivider:u,...j}=s;return i.jsxs(e.Container,{ref:t,p:0,...j,children:[i.jsxs(e.Container,{p:0,display:{base:"none",md:"block"},children:[i.jsx(c.Heading2,{mb:2,children:o}),i.jsx(n,{referenceEntries:a})]}),i.jsx(r.Accordion,{allowToggle:!0,display:{base:"block",md:"none"},children:i.jsxs(e.AccordionItem,{border:"none",children:[i.jsx(e.AccordionButton,{id:"accordion-button",borderBottomWidth:u?0:void 0,paddingLeft:0,paddingRight:0,_hover:{backgroundColor:"unset"},border:"none",children:i.jsxs(e.Box,{as:"span",flex:"1",textAlign:"left",borderBottomWidth:u?0:"2px !important",borderColor:"black",display:"flex",flexDir:"row",justifyContent:"space-between",alignItems:"center",children:[i.jsx(c.Heading2,{pb:2,children:o}),i.jsx(e.AccordionIcon,{})]})}),i.jsx(e.AccordionPanel,{id:"accordion-panel",fontFamily:"inherit",paddingLeft:0,paddingRight:0,children:i.jsx(n,{referenceEntries:a})})]})})]})}));exports.ReferenceBlock=n,exports.ReferenceBlockContainer=o;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";var e=require("@chakra-ui/react"),r=require("./theme/cruk/index.js"),t=require("./theme/r4l/index.js"),n=require("./theme/su2c/index.js"),o=require("./components/Accordion/index.js"),i=require("./components/AlertBanner/index.js"),c=require("./components/Avatar/index.js"),s=require("./components/Badge/index.js"),u=require("./components/Breadcrumb/index.js"),a=require("./components/Button/index.js"),p=require("./components/Card/index.js"),d=require("./components/Checkbox/index.js"),l=require("./components/CircleDevice/index.js"),x=require("./components/CTABanner/index.js"),f=require("./components/DatePicker/index.js"),b=require("./components/DonateWidget/index.js"),m=require("./components/FileUploader/index.js"),j=require("./components/Footer/index.js"),g=require("./components/Footnote/index.js");require("./components/FormControl/index.js");var I=require("./components/FormField/index.js"),P=require("./components/GoogleMapEmbed/index.js"),y=require("./components/Heading/index.js"),q=require("./components/Image/index.js"),O=require("./components/Input/index.js"),h=require("./components/Link/index.js"),T=require("./components/List/index.js"),C=require("./components/Loader/index.js"),k=require("./components/LogoGroup/index.js"),A=require("./components/Navigation/index.js"),S=require("./components/NumberInput/index.js"),v=require("./components/ParagraphWithMedia/index.js"),w=require("./components/PopOver/index.js"),B=require("./components/PopoverAlert/index.js"),F=require("./components/ProgressBar/index.js");require("./components/Radio/index.js");var L=require("./components/RadioConsent/index.js"),R=require("./components/ReferenceBlock/index.js"),H=require("./components/RichHeader/index.js"),D=require("./components/SideNav/index.js"),U=require("./components/SimpleHeader/index.js"),G=require("./components/SocialProof/index.js"),E=require("./components/Stepper/index.js"),W=require("./components/StickyNavigation/index.js"),V=require("./components/Tabs/index.js"),N=require("./components/Text/index.js"),M=require("./components/TextareaInput/TextareaWithWordCount.js"),Q=require("./components/TextTruncate/index.js"),Y=require("./components/Toggle/index.js"),K=require("./components/Totaliser/index.js"),z=require("./components/Video/index.js"),X=require("./components/VimeoEmbed/index.js"),Z=require("./components/YouTubeEmbed/index.js"),J=require("./components/Divider/index.js");require("./components/Flex/index.js");var $=require("./components/Icon/index.js"),_=require("./components/KeyStatistics/index.js"),ee=require("./components/OnThisPage/index.js"),re=require("./components/SpotifyEmbed/index.js"),te=require("./components/Table/index.js"),ne=require("./static/icons/1in4.js"),oe=require("./static/icons/2in4.js"),ie=require("./static/icons/3in4.js"),ce=require("./static/icons/4in4.js"),se=require("./static/icons/adult.js"),ue=require("./static/icons/alert.js"),ae=require("./static/icons/apple.js"),pe=require("./static/icons/arrowDown.js"),de=require("./static/icons/arrowReturnUp.js"),le=require("./static/icons/arrowUp.js"),xe=require("./static/icons/bagdrop.js"),fe=require("./static/icons/checkCircle.js"),be=require("./static/icons/children.js"),me=require("./static/icons/clock.js"),je=require("./static/icons/cloudUpload.js"),ge=require("./static/icons/cross.js"),Ie=require("./static/icons/date.js"),Pe=require("./static/icons/directDebit.js"),ye=require("./static/icons/dogs.js"),qe=require("./static/icons/email.js"),Oe=require("./static/icons/facebook.js"),he=require("./static/icons/fundraisingRegulator.js"),Te=require("./static/icons/googlePay.js"),Ce=require("./static/icons/heart.js"),ke=require("./static/icons/heartSu2c.js"),Ae=require("./static/icons/info.js"),Se=require("./static/icons/instagram.js"),ve=require("./static/icons/bluesky.js"),we=require("./static/icons/linkedin.js"),Be=require("./static/icons/masterCard.js"),Fe=require("./static/icons/microscope.js"),Le=require("./static/icons/newsletter.js"),Re=require("./static/icons/ovarian.js"),He=require("./static/icons/parking.js"),De=require("./static/icons/pause.js"),Ue=require("./static/icons/payPal.js"),Ge=require("./static/icons/pdf.js"),Ee=require("./static/icons/people.js"),We=require("./static/icons/phone.js"),Ve=require("./static/icons/play.js"),Ne=require("./static/icons/plus.js"),Me=require("./static/icons/plusSu2c.js"),Qe=require("./static/icons/pound.js"),Ye=require("./static/icons/pushchair.js"),Ke=require("./static/icons/quote.js"),ze=require("./static/icons/refreshments.js"),Xe=require("./static/icons/royalties-grants.js"),Ze=require("./static/icons/share.js"),Je=require("./static/icons/shower.js"),$e=require("./static/icons/speechBubble.js"),_e=require("./static/icons/success.js"),er=require("./static/icons/thumbsUp.js"),rr=require("./static/icons/thumbsUpSu2.js"),tr=require("./static/icons/tikTok.js"),nr=require("./static/icons/toilets.js"),or=require("./static/icons/twitter.js"),ir=require("./static/icons/venue.js"),cr=require("./static/icons/visa.js"),sr=require("./static/icons/whatsApp.js"),ur=require("./static/icons/wheelchairs.js"),ar=require("./static/icons/youTube.js"),pr=require("./static/icons/fileIcons/pdfFileIcon.js"),dr=require("./static/icons/fileIcons/wordFileIcon.js"),lr=require("./static/icons/fileIcons/excelFileIcon.js"),xr=require("./static/icons/fileIcons/zipFileIcon.js"),fr=require("./static/icons/fileIcons/videoFileIcon.js"),br=require("./static/icons/fileIcons/imageFileIcon.js"),mr=require("./static/icons/fileIcons/audioFileIcon.js"),jr=require("./static/icons/fileIcons/codeIcon.js"),gr=require("./static/icons/fileIcons/printIcon.js"),Ir=require("@chakra-ui/icons"),Pr=require("./components/FormControl/FormLabel.js"),yr=require("./components/KeyStatistics/TwoBlockStatistics.js");Object.defineProperty(exports,"AccordionButton",{enumerable:!0,get:function(){return e.AccordionButton}}),Object.defineProperty(exports,"AccordionIcon",{enumerable:!0,get:function(){return e.AccordionIcon}}),Object.defineProperty(exports,"AccordionItem",{enumerable:!0,get:function(){return e.AccordionItem}}),Object.defineProperty(exports,"AccordionPanel",{enumerable:!0,get:function(){return e.AccordionPanel}}),Object.defineProperty(exports,"AvatarBadge",{enumerable:!0,get:function(){return e.AvatarBadge}}),Object.defineProperty(exports,"AvatarGroup",{enumerable:!0,get:function(){return e.AvatarGroup}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return e.Box}}),Object.defineProperty(exports,"BreadcrumbItem",{enumerable:!0,get:function(){return e.BreadcrumbItem}}),Object.defineProperty(exports,"ButtonGroup",{enumerable:!0,get:function(){return e.ButtonGroup}}),Object.defineProperty(exports,"ChakraBaseProvider",{enumerable:!0,get:function(){return e.ChakraBaseProvider}}),Object.defineProperty(exports,"Container",{enumerable:!0,get:function(){return e.Container}}),Object.defineProperty(exports,"Flex",{enumerable:!0,get:function(){return e.Flex}}),Object.defineProperty(exports,"FormControl",{enumerable:!0,get:function(){return e.FormControl}}),Object.defineProperty(exports,"FormErrorMessage",{enumerable:!0,get:function(){return e.FormErrorMessage}}),Object.defineProperty(exports,"FormHelperText",{enumerable:!0,get:function(){return e.FormHelperText}}),Object.defineProperty(exports,"Grid",{enumerable:!0,get:function(){return e.Grid}}),Object.defineProperty(exports,"GridItem",{enumerable:!0,get:function(){return e.GridItem}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return e.HStack}}),Object.defineProperty(exports,"InputAddon",{enumerable:!0,get:function(){return e.InputAddon}}),Object.defineProperty(exports,"InputGroup",{enumerable:!0,get:function(){return e.InputGroup}}),Object.defineProperty(exports,"InputLeftAddon",{enumerable:!0,get:function(){return e.InputLeftAddon}}),Object.defineProperty(exports,"InputLeftElement",{enumerable:!0,get:function(){return e.InputLeftElement}}),Object.defineProperty(exports,"InputRightAddon",{enumerable:!0,get:function(){return e.InputRightAddon}}),Object.defineProperty(exports,"InputRightElement",{enumerable:!0,get:function(){return e.InputRightElement}}),Object.defineProperty(exports,"LinkOverlay",{enumerable:!0,get:function(){return e.LinkOverlay}}),Object.defineProperty(exports,"List",{enumerable:!0,get:function(){return e.List}}),Object.defineProperty(exports,"ListIcon",{enumerable:!0,get:function(){return e.ListIcon}}),Object.defineProperty(exports,"ListItem",{enumerable:!0,get:function(){return e.ListItem}}),Object.defineProperty(exports,"OrderedList",{enumerable:!0,get:function(){return e.OrderedList}}),Object.defineProperty(exports,"PopoverAnchor",{enumerable:!0,get:function(){return e.PopoverAnchor}}),Object.defineProperty(exports,"PopoverArrow",{enumerable:!0,get:function(){return e.PopoverArrow}}),Object.defineProperty(exports,"PopoverBody",{enumerable:!0,get:function(){return e.PopoverBody}}),Object.defineProperty(exports,"PopoverCloseButton",{enumerable:!0,get:function(){return e.PopoverCloseButton}}),Object.defineProperty(exports,"PopoverContent",{enumerable:!0,get:function(){return e.PopoverContent}}),Object.defineProperty(exports,"PopoverFooter",{enumerable:!0,get:function(){return e.PopoverFooter}}),Object.defineProperty(exports,"PopoverHeader",{enumerable:!0,get:function(){return e.PopoverHeader}}),Object.defineProperty(exports,"PopoverTrigger",{enumerable:!0,get:function(){return e.PopoverTrigger}}),Object.defineProperty(exports,"Portal",{enumerable:!0,get:function(){return e.Portal}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return e.Radio}}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:function(){return e.RadioGroup}}),Object.defineProperty(exports,"Select",{enumerable:!0,get:function(){return e.Select}}),Object.defineProperty(exports,"SimpleGrid",{enumerable:!0,get:function(){return e.SimpleGrid}}),Object.defineProperty(exports,"Stack",{enumerable:!0,get:function(){return e.Stack}}),Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return e.Tab}}),Object.defineProperty(exports,"TabList",{enumerable:!0,get:function(){return e.TabList}}),Object.defineProperty(exports,"TabPanel",{enumerable:!0,get:function(){return e.TabPanel}}),Object.defineProperty(exports,"TabPanels",{enumerable:!0,get:function(){return e.TabPanels}}),Object.defineProperty(exports,"TableContainer",{enumerable:!0,get:function(){return e.TableContainer}}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return e.Tag}}),Object.defineProperty(exports,"Tbody",{enumerable:!0,get:function(){return e.Tbody}}),Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return e.Td}}),Object.defineProperty(exports,"Textarea",{enumerable:!0,get:function(){return e.Textarea}}),Object.defineProperty(exports,"Th",{enumerable:!0,get:function(){return e.Th}}),Object.defineProperty(exports,"Thead",{enumerable:!0,get:function(){return e.Thead}}),Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return e.Tr}}),Object.defineProperty(exports,"UnorderedList",{enumerable:!0,get:function(){return e.UnorderedList}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return e.VStack}}),Object.defineProperty(exports,"VisuallyHidden",{enumerable:!0,get:function(){return e.VisuallyHidden}}),Object.defineProperty(exports,"Wrap",{enumerable:!0,get:function(){return e.Wrap}}),Object.defineProperty(exports,"WrapItem",{enumerable:!0,get:function(){return e.WrapItem}}),Object.defineProperty(exports,"extendBaseTheme",{enumerable:!0,get:function(){return e.extendBaseTheme}}),exports.crukBrand=r.default,exports.r4lBrand=t.default,exports.su2cBrand=n.default,exports.Accordion=o.Accordion,exports.AlertBanner=i.AlertBanner,exports.Avatar=c.Avatar,exports.Badge=s.Badge,exports.Breadcrumb=u.Breadcrumb,exports.BreadcrumbLink=u.BreadcrumbLink,exports.Button=a.Button,exports.Card=p.Card,exports.CardStack=p.CardStack,exports.Checkbox=d.Checkbox,exports.CheckboxGroup=d.CheckboxGroup,exports.CircleDevice=l.CircleDevice,exports.CTABanner=x.CTABanner,exports.DatePicker=f.default,exports.DonateWidget=b.DonateWidget,exports.FileUploader=m.FileUploader,exports.Footer=j.Footer,exports.Footnote=g.Footnote,exports.FormField=I.FormField,exports.GoogleMapEmbed=P.GoogleMapEmbed,exports.Heading=y.Heading,exports.Heading1=y.Heading1,exports.Heading2=y.Heading2,exports.Heading3=y.Heading3,exports.Heading4=y.Heading4,exports.Heading5=y.Heading5,exports.Heading6=y.Heading6,exports.Image=q.Image,exports.Input=O.Input,exports.Link=h.Link,exports.ArrowDownListItem=T.ArrowDownListItem,exports.CheckList=T.CheckList,exports.CheckListUL=T.CheckListUL,exports.Loader=C.Loader,exports.LogoGroup=k.LogoGroup,exports.Navigation=A.Navigation,exports.NumberInput=S.NumberInput,exports.ParagraphWithMedia=v.ParagraphWithMedia,exports.Popover=w.Popover,exports.PopoverAlert=B.PopoverAlert,exports.ProgressBar=F.ProgressBar,exports.RadioConsent=L.RadioConsent,exports.ReferenceBlock=R.ReferenceBlock,exports.ReferenceBlockContainer=R.ReferenceBlockContainer,exports.RichHeader=H.RichHeader,exports.SideNav=D.SideNav,exports.SimpleHeader=U.SimpleHeader,exports.SocialProof=G.SocialProof,exports.Stepper=E.Stepper,exports.StickyNavigation=W.StickyNavigation,exports.Tabs=V.Tabs,exports.Text=N.Text,exports.TextareaWithWordCount=M.default,exports.TextTruncate=Q.TextTruncate,exports.ToggleGroup=Y.ToggleGroup,exports.Totaliser=K.Totaliser,exports.Video=z.Video,exports.VimeoEmbed=X.VimeoEmbed,exports.YouTubeEmbed=Z.YouTubeEmbed,exports.Divider=J.Divider,exports.Icon=$.Icon,exports.SingleStatistics=_.SingleStatistics,exports.OnThisPageHeadings=ee.OnThisPageHeadings,exports.SpotifyEmbed=re.SpotifyEmbed,exports.Table=te.Table,exports.OneInFour=ne.default,exports.TwoInFour=oe.default,exports.ThreeInFour=ie.default,exports.FourInFour=ce.default,exports.Adult=se.Adult,exports.Alert=ue.default,exports.Apple=ae.default,exports.ArrowDown=pe.default,exports.ArrowReturnUpIcon=de.default,exports.ArrowUp=le.default,exports.Bagdrop=xe.Bagdrop,exports.CheckCircle=fe.default,exports.Children=be.Children,exports.Clock=me.Clock,exports.CloudUpload=je.default,exports.Cross=ge.default,exports.Date=Ie.Date,exports.DirectDebit=Pe.default,exports.Dogs=ye.Dogs,exports.EmailIcon=qe.default,exports.Facebook=Oe.default,exports.FundraisingRegulator=he.default,exports.GooglePay=Te.default,exports.Heart=Ce.default,exports.HeartSu2c=ke.default,exports.Info=Ae.default,exports.Instagram=Se.default,exports.BlueSky=ve.default,exports.LinkedIn=we.default,exports.MasterCard=Be.default,exports.Microscope=Fe.default,exports.Newsletter=Le.default,exports.OvarianIcon=Re.OvarianIcon,exports.Parking=He.Parking,exports.PauseIcon=De.default,exports.PayPal=Ue.default,exports.PdfIcon=Ge.default,exports.People=Ee.default,exports.PhoneIcon=We.default,exports.PlayIcon=Ve.default,exports.Plus=Ne.default,exports.PlusSu2c=Me.default,exports.Pound=Qe.default,exports.Pushchair=Ye.Pushchair,exports.QuoteIcon=Ke.default,exports.Refreshments=ze.Refreshments,exports.Royalties=Xe.Royalties,exports.Share=Ze.default,exports.Shower=Je.Shower,exports.SpeechBubble=$e.default,exports.Success=_e.default,exports.ThumbsUp=er.default,exports.ThumbsUpSu2c=rr.default,exports.TikTok=tr.default,exports.Toilets=nr.Toilets,exports.X=or.default,exports.Venue=ir.Venue,exports.Visa=cr.default,exports.WhatsApp=sr.default,exports.Wheelchairs=ur.Wheelchairs,exports.YouTube=ar.default,exports.PdfFileIcon=pr.default,exports.WordFileIcon=dr.default,exports.ExcelFileIcon=lr.default,exports.ZipFileIcon=xr.default,exports.VideoFileIcon=fr.default,exports.ImageIcon=br.default,exports.AudioFileIcon=mr.default,exports.CodeIcon=jr.default,exports.PrintIcon=gr.default,Object.defineProperty(exports,"AddIcon",{enumerable:!0,get:function(){return Ir.AddIcon}}),Object.defineProperty(exports,"ArrowBackIcon",{enumerable:!0,get:function(){return Ir.ArrowBackIcon}}),Object.defineProperty(exports,"ArrowDownIcon",{enumerable:!0,get:function(){return Ir.ArrowDownIcon}}),Object.defineProperty(exports,"ArrowForwardIcon",{enumerable:!0,get:function(){return Ir.ArrowForwardIcon}}),Object.defineProperty(exports,"ArrowLeftIcon",{enumerable:!0,get:function(){return Ir.ArrowLeftIcon}}),Object.defineProperty(exports,"ArrowRightIcon",{enumerable:!0,get:function(){return Ir.ArrowRightIcon}}),Object.defineProperty(exports,"ArrowUpIcon",{enumerable:!0,get:function(){return Ir.ArrowUpIcon}}),Object.defineProperty(exports,"AtSignIcon",{enumerable:!0,get:function(){return Ir.AtSignIcon}}),Object.defineProperty(exports,"AttachmentIcon",{enumerable:!0,get:function(){return Ir.AttachmentIcon}}),Object.defineProperty(exports,"BellIcon",{enumerable:!0,get:function(){return Ir.BellIcon}}),Object.defineProperty(exports,"CalendarIcon",{enumerable:!0,get:function(){return Ir.CalendarIcon}}),Object.defineProperty(exports,"ChatIcon",{enumerable:!0,get:function(){return Ir.ChatIcon}}),Object.defineProperty(exports,"CheckCircleIcon",{enumerable:!0,get:function(){return Ir.CheckCircleIcon}}),Object.defineProperty(exports,"CheckIcon",{enumerable:!0,get:function(){return Ir.CheckIcon}}),Object.defineProperty(exports,"ChevronDownIcon",{enumerable:!0,get:function(){return Ir.ChevronDownIcon}}),Object.defineProperty(exports,"ChevronLeftIcon",{enumerable:!0,get:function(){return Ir.ChevronLeftIcon}}),Object.defineProperty(exports,"ChevronRightIcon",{enumerable:!0,get:function(){return Ir.ChevronRightIcon}}),Object.defineProperty(exports,"ChevronUpIcon",{enumerable:!0,get:function(){return Ir.ChevronUpIcon}}),Object.defineProperty(exports,"CloseIcon",{enumerable:!0,get:function(){return Ir.CloseIcon}}),Object.defineProperty(exports,"CopyIcon",{enumerable:!0,get:function(){return Ir.CopyIcon}}),Object.defineProperty(exports,"DeleteIcon",{enumerable:!0,get:function(){return Ir.DeleteIcon}}),Object.defineProperty(exports,"DownloadIcon",{enumerable:!0,get:function(){return Ir.DownloadIcon}}),Object.defineProperty(exports,"DragHandleIcon",{enumerable:!0,get:function(){return Ir.DragHandleIcon}}),Object.defineProperty(exports,"EditIcon",{enumerable:!0,get:function(){return Ir.EditIcon}}),Object.defineProperty(exports,"ExternalLinkIcon",{enumerable:!0,get:function(){return Ir.ExternalLinkIcon}}),Object.defineProperty(exports,"HamburgerIcon",{enumerable:!0,get:function(){return Ir.HamburgerIcon}}),Object.defineProperty(exports,"InfoIcon",{enumerable:!0,get:function(){return Ir.InfoIcon}}),Object.defineProperty(exports,"InfoOutlineIcon",{enumerable:!0,get:function(){return Ir.InfoOutlineIcon}}),Object.defineProperty(exports,"LinkIcon",{enumerable:!0,get:function(){return Ir.LinkIcon}}),Object.defineProperty(exports,"LockIcon",{enumerable:!0,get:function(){return Ir.LockIcon}}),Object.defineProperty(exports,"MinusIcon",{enumerable:!0,get:function(){return Ir.MinusIcon}}),Object.defineProperty(exports,"MoonIcon",{enumerable:!0,get:function(){return Ir.MoonIcon}}),Object.defineProperty(exports,"NotAllowedIcon",{enumerable:!0,get:function(){return Ir.NotAllowedIcon}}),Object.defineProperty(exports,"PlusSquareIcon",{enumerable:!0,get:function(){return Ir.PlusSquareIcon}}),Object.defineProperty(exports,"QuestionIcon",{enumerable:!0,get:function(){return Ir.QuestionIcon}}),Object.defineProperty(exports,"QuestionOutlineIcon",{enumerable:!0,get:function(){return Ir.QuestionOutlineIcon}}),Object.defineProperty(exports,"ReactIcon",{enumerable:!0,get:function(){return Ir.ReactIcon}}),Object.defineProperty(exports,"RepeatClockIcon",{enumerable:!0,get:function(){return Ir.RepeatClockIcon}}),Object.defineProperty(exports,"RepeatIcon",{enumerable:!0,get:function(){return Ir.RepeatIcon}}),Object.defineProperty(exports,"Search2Icon",{enumerable:!0,get:function(){return Ir.Search2Icon}}),Object.defineProperty(exports,"SearchIcon",{enumerable:!0,get:function(){return Ir.SearchIcon}}),Object.defineProperty(exports,"SettingsIcon",{enumerable:!0,get:function(){return Ir.SettingsIcon}}),Object.defineProperty(exports,"SmallAddIcon",{enumerable:!0,get:function(){return Ir.SmallAddIcon}}),Object.defineProperty(exports,"SmallCloseIcon",{enumerable:!0,get:function(){return Ir.SmallCloseIcon}}),Object.defineProperty(exports,"SpinnerIcon",{enumerable:!0,get:function(){return Ir.SpinnerIcon}}),Object.defineProperty(exports,"StarIcon",{enumerable:!0,get:function(){return Ir.StarIcon}}),Object.defineProperty(exports,"SunIcon",{enumerable:!0,get:function(){return Ir.SunIcon}}),Object.defineProperty(exports,"TimeIcon",{enumerable:!0,get:function(){return Ir.TimeIcon}}),Object.defineProperty(exports,"TriangleDownIcon",{enumerable:!0,get:function(){return Ir.TriangleDownIcon}}),Object.defineProperty(exports,"TriangleUpIcon",{enumerable:!0,get:function(){return Ir.TriangleUpIcon}}),Object.defineProperty(exports,"UnlockIcon",{enumerable:!0,get:function(){return Ir.UnlockIcon}}),Object.defineProperty(exports,"UpDownIcon",{enumerable:!0,get:function(){return Ir.UpDownIcon}}),Object.defineProperty(exports,"ViewIcon",{enumerable:!0,get:function(){return Ir.ViewIcon}}),Object.defineProperty(exports,"ViewOffIcon",{enumerable:!0,get:function(){return Ir.ViewOffIcon}}),Object.defineProperty(exports,"WarningIcon",{enumerable:!0,get:function(){return Ir.WarningIcon}}),Object.defineProperty(exports,"WarningTwoIcon",{enumerable:!0,get:function(){return Ir.WarningTwoIcon}}),exports.FormLabel=Pr.FormLabel,exports.TwoBlockStatistics=yr.TwoBlockStatistics;
|
|
1
|
+
"use client";"use strict";var e=require("@chakra-ui/react"),r=require("./theme/cruk/index.js"),t=require("./theme/r4l/index.js"),n=require("./theme/su2c/index.js"),o=require("./components/Accordion/index.js"),i=require("./components/AlertBanner/index.js"),c=require("./components/Avatar/index.js"),s=require("./components/Badge/index.js"),u=require("./components/Breadcrumb/index.js"),a=require("./components/Button/index.js"),p=require("./components/Card/index.js"),d=require("./components/Checkbox/index.js"),l=require("./components/CircleDevice/index.js"),f=require("./components/CTABanner/index.js"),x=require("./components/DatePicker/index.js"),b=require("./components/DonateWidget/index.js"),m=require("./components/FileUploader/index.js"),j=require("./components/Footer/index.js"),g=require("./components/Footnote/index.js");require("./components/FormControl/index.js");var I=require("./components/FormField/index.js"),P=require("./components/GoogleMapEmbed/index.js"),y=require("./components/Heading/index.js"),O=require("./components/Image/index.js"),q=require("./components/Input/index.js"),h=require("./components/Link/index.js"),T=require("./components/List/index.js"),C=require("./components/Loader/index.js"),k=require("./components/LogoGroup/index.js"),A=require("./components/Navigation/index.js"),S=require("./components/NumberInput/index.js"),v=require("./components/ParagraphWithMedia/index.js"),B=require("./components/PopOver/index.js"),w=require("./components/PopoverAlert/index.js"),L=require("./components/ProgressBar/index.js");require("./components/Radio/index.js");var F=require("./components/RadioConsent/index.js"),R=require("./components/ReferenceBlock/index.js"),H=require("./components/RichHeader/index.js"),D=require("./components/SideNav/index.js"),U=require("./components/SimpleHeader/index.js"),G=require("./components/SocialProof/index.js"),E=require("./components/Stepper/index.js"),M=require("./components/StickyNavigation/index.js"),W=require("./components/Tabs/index.js"),V=require("./components/Text/index.js"),N=require("./components/TextareaInput/TextareaWithWordCount.js"),Q=require("./components/TextTruncate/index.js"),Y=require("./components/Toggle/index.js"),K=require("./components/Totaliser/index.js"),z=require("./components/Video/index.js"),X=require("./components/VimeoEmbed/index.js"),Z=require("./components/YouTubeEmbed/index.js"),J=require("./components/Divider/index.js");require("./components/Flex/index.js");var $=require("./components/Icon/index.js"),_=require("./components/KeyStatistics/index.js"),ee=require("./components/OnThisPage/index.js"),re=require("./components/SpotifyEmbed/index.js"),te=require("./components/Table/index.js"),ne=require("@chakra-ui/icons"),oe=require("./static/icons/1in4.js"),ie=require("./static/icons/2in4.js"),ce=require("./static/icons/3in4.js"),se=require("./static/icons/4in4.js"),ue=require("./static/icons/adult.js"),ae=require("./static/icons/alert.js"),pe=require("./static/icons/apple.js"),de=require("./static/icons/arrowDown.js"),le=require("./static/icons/arrowReturnUp.js"),fe=require("./static/icons/arrowUp.js"),xe=require("./static/icons/bagdrop.js"),be=require("./static/icons/bluesky.js"),me=require("./static/icons/checkCircle.js"),je=require("./static/icons/children.js"),ge=require("./static/icons/clock.js"),Ie=require("./static/icons/cloudUpload.js"),Pe=require("./static/icons/cross.js"),ye=require("./static/icons/date.js"),Oe=require("./static/icons/directDebit.js"),qe=require("./static/icons/dogs.js"),he=require("./static/icons/email.js"),Te=require("./static/icons/facebook.js"),Ce=require("./static/icons/fileIcons/audioFileIcon.js"),ke=require("./static/icons/fileIcons/codeIcon.js"),Ae=require("./static/icons/fileIcons/excelFileIcon.js"),Se=require("./static/icons/fileIcons/imageFileIcon.js"),ve=require("./static/icons/fileIcons/pdfFileIcon.js"),Be=require("./static/icons/fileIcons/printIcon.js"),we=require("./static/icons/fileIcons/videoFileIcon.js"),Le=require("./static/icons/fileIcons/wordFileIcon.js"),Fe=require("./static/icons/fileIcons/zipFileIcon.js"),Re=require("./static/icons/fundraisingRegulator.js"),He=require("./static/icons/googlePay.js"),De=require("./static/icons/heart.js"),Ue=require("./static/icons/heartSu2c.js"),Ge=require("./static/icons/info.js"),Ee=require("./static/icons/instagram.js"),Me=require("./static/icons/linkedin.js"),We=require("./static/icons/masterCard.js"),Ve=require("./static/icons/microscope.js"),Ne=require("./static/icons/newsletter.js"),Qe=require("./static/icons/ovarian.js"),Ye=require("./static/icons/parking.js"),Ke=require("./static/icons/pause.js"),ze=require("./static/icons/payPal.js"),Xe=require("./static/icons/pdf.js"),Ze=require("./static/icons/people.js"),Je=require("./static/icons/phone.js"),$e=require("./static/icons/play.js"),_e=require("./static/icons/plus.js"),er=require("./static/icons/plusSu2c.js"),rr=require("./static/icons/pound.js"),tr=require("./static/icons/pushchair.js"),nr=require("./static/icons/quote.js"),or=require("./static/icons/refreshments.js"),ir=require("./static/icons/royalties-grants.js"),cr=require("./static/icons/share.js"),sr=require("./static/icons/shower.js"),ur=require("./static/icons/speechBubble.js"),ar=require("./static/icons/success.js"),pr=require("./static/icons/thumbsUp.js"),dr=require("./static/icons/thumbsUpSu2.js"),lr=require("./static/icons/tikTok.js"),fr=require("./static/icons/toilets.js"),xr=require("./static/icons/twitter.js"),br=require("./static/icons/venue.js"),mr=require("./static/icons/visa.js"),jr=require("./static/icons/whatsApp.js"),gr=require("./static/icons/wheelchairs.js"),Ir=require("./static/icons/youTube.js"),Pr=require("./components/FormControl/FormLabel.js"),yr=require("./components/KeyStatistics/TwoBlockStatistics.js");Object.defineProperty(exports,"AccordionButton",{enumerable:!0,get:function(){return e.AccordionButton}}),Object.defineProperty(exports,"AccordionIcon",{enumerable:!0,get:function(){return e.AccordionIcon}}),Object.defineProperty(exports,"AccordionItem",{enumerable:!0,get:function(){return e.AccordionItem}}),Object.defineProperty(exports,"AccordionPanel",{enumerable:!0,get:function(){return e.AccordionPanel}}),Object.defineProperty(exports,"AvatarBadge",{enumerable:!0,get:function(){return e.AvatarBadge}}),Object.defineProperty(exports,"AvatarGroup",{enumerable:!0,get:function(){return e.AvatarGroup}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return e.Box}}),Object.defineProperty(exports,"BreadcrumbItem",{enumerable:!0,get:function(){return e.BreadcrumbItem}}),Object.defineProperty(exports,"ButtonGroup",{enumerable:!0,get:function(){return e.ButtonGroup}}),Object.defineProperty(exports,"ChakraBaseProvider",{enumerable:!0,get:function(){return e.ChakraBaseProvider}}),Object.defineProperty(exports,"Container",{enumerable:!0,get:function(){return e.Container}}),Object.defineProperty(exports,"Flex",{enumerable:!0,get:function(){return e.Flex}}),Object.defineProperty(exports,"FormControl",{enumerable:!0,get:function(){return e.FormControl}}),Object.defineProperty(exports,"FormErrorMessage",{enumerable:!0,get:function(){return e.FormErrorMessage}}),Object.defineProperty(exports,"FormHelperText",{enumerable:!0,get:function(){return e.FormHelperText}}),Object.defineProperty(exports,"Grid",{enumerable:!0,get:function(){return e.Grid}}),Object.defineProperty(exports,"GridItem",{enumerable:!0,get:function(){return e.GridItem}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return e.HStack}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return e.IconButton}}),Object.defineProperty(exports,"InputAddon",{enumerable:!0,get:function(){return e.InputAddon}}),Object.defineProperty(exports,"InputGroup",{enumerable:!0,get:function(){return e.InputGroup}}),Object.defineProperty(exports,"InputLeftAddon",{enumerable:!0,get:function(){return e.InputLeftAddon}}),Object.defineProperty(exports,"InputLeftElement",{enumerable:!0,get:function(){return e.InputLeftElement}}),Object.defineProperty(exports,"InputRightAddon",{enumerable:!0,get:function(){return e.InputRightAddon}}),Object.defineProperty(exports,"InputRightElement",{enumerable:!0,get:function(){return e.InputRightElement}}),Object.defineProperty(exports,"LinkOverlay",{enumerable:!0,get:function(){return e.LinkOverlay}}),Object.defineProperty(exports,"List",{enumerable:!0,get:function(){return e.List}}),Object.defineProperty(exports,"ListIcon",{enumerable:!0,get:function(){return e.ListIcon}}),Object.defineProperty(exports,"ListItem",{enumerable:!0,get:function(){return e.ListItem}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return e.Menu}}),Object.defineProperty(exports,"MenuButton",{enumerable:!0,get:function(){return e.MenuButton}}),Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:function(){return e.MenuItem}}),Object.defineProperty(exports,"MenuList",{enumerable:!0,get:function(){return e.MenuList}}),Object.defineProperty(exports,"OrderedList",{enumerable:!0,get:function(){return e.OrderedList}}),Object.defineProperty(exports,"PopoverAnchor",{enumerable:!0,get:function(){return e.PopoverAnchor}}),Object.defineProperty(exports,"PopoverArrow",{enumerable:!0,get:function(){return e.PopoverArrow}}),Object.defineProperty(exports,"PopoverBody",{enumerable:!0,get:function(){return e.PopoverBody}}),Object.defineProperty(exports,"PopoverCloseButton",{enumerable:!0,get:function(){return e.PopoverCloseButton}}),Object.defineProperty(exports,"PopoverContent",{enumerable:!0,get:function(){return e.PopoverContent}}),Object.defineProperty(exports,"PopoverFooter",{enumerable:!0,get:function(){return e.PopoverFooter}}),Object.defineProperty(exports,"PopoverHeader",{enumerable:!0,get:function(){return e.PopoverHeader}}),Object.defineProperty(exports,"PopoverTrigger",{enumerable:!0,get:function(){return e.PopoverTrigger}}),Object.defineProperty(exports,"Portal",{enumerable:!0,get:function(){return e.Portal}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return e.Radio}}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:function(){return e.RadioGroup}}),Object.defineProperty(exports,"Select",{enumerable:!0,get:function(){return e.Select}}),Object.defineProperty(exports,"SimpleGrid",{enumerable:!0,get:function(){return e.SimpleGrid}}),Object.defineProperty(exports,"Stack",{enumerable:!0,get:function(){return e.Stack}}),Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return e.Tab}}),Object.defineProperty(exports,"TabList",{enumerable:!0,get:function(){return e.TabList}}),Object.defineProperty(exports,"TabPanel",{enumerable:!0,get:function(){return e.TabPanel}}),Object.defineProperty(exports,"TabPanels",{enumerable:!0,get:function(){return e.TabPanels}}),Object.defineProperty(exports,"TableContainer",{enumerable:!0,get:function(){return e.TableContainer}}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return e.Tag}}),Object.defineProperty(exports,"Tbody",{enumerable:!0,get:function(){return e.Tbody}}),Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return e.Td}}),Object.defineProperty(exports,"Textarea",{enumerable:!0,get:function(){return e.Textarea}}),Object.defineProperty(exports,"Th",{enumerable:!0,get:function(){return e.Th}}),Object.defineProperty(exports,"Thead",{enumerable:!0,get:function(){return e.Thead}}),Object.defineProperty(exports,"Tooltip",{enumerable:!0,get:function(){return e.Tooltip}}),Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return e.Tr}}),Object.defineProperty(exports,"UnorderedList",{enumerable:!0,get:function(){return e.UnorderedList}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return e.VStack}}),Object.defineProperty(exports,"VisuallyHidden",{enumerable:!0,get:function(){return e.VisuallyHidden}}),Object.defineProperty(exports,"Wrap",{enumerable:!0,get:function(){return e.Wrap}}),Object.defineProperty(exports,"WrapItem",{enumerable:!0,get:function(){return e.WrapItem}}),Object.defineProperty(exports,"extendBaseTheme",{enumerable:!0,get:function(){return e.extendBaseTheme}}),exports.crukBrand=r.default,exports.r4lBrand=t.default,exports.su2cBrand=n.default,exports.Accordion=o.Accordion,exports.AlertBanner=i.AlertBanner,exports.Avatar=c.Avatar,exports.Badge=s.Badge,exports.Breadcrumb=u.Breadcrumb,exports.BreadcrumbLink=u.BreadcrumbLink,exports.Button=a.Button,exports.Card=p.Card,exports.CardStack=p.CardStack,exports.Checkbox=d.Checkbox,exports.CheckboxGroup=d.CheckboxGroup,exports.CircleDevice=l.CircleDevice,exports.CTABanner=f.CTABanner,exports.DatePicker=x.default,exports.DonateWidget=b.DonateWidget,exports.FileUploader=m.FileUploader,exports.Footer=j.Footer,exports.Footnote=g.Footnote,exports.FormField=I.FormField,exports.GoogleMapEmbed=P.GoogleMapEmbed,exports.Heading=y.Heading,exports.Heading1=y.Heading1,exports.Heading2=y.Heading2,exports.Heading3=y.Heading3,exports.Heading4=y.Heading4,exports.Heading5=y.Heading5,exports.Heading6=y.Heading6,exports.Image=O.Image,exports.Input=q.Input,exports.Link=h.Link,exports.ArrowDownListItem=T.ArrowDownListItem,exports.CheckList=T.CheckList,exports.CheckListUL=T.CheckListUL,exports.Loader=C.Loader,exports.LogoGroup=k.LogoGroup,exports.Navigation=A.Navigation,exports.NumberInput=S.NumberInput,exports.ParagraphWithMedia=v.ParagraphWithMedia,exports.Popover=B.Popover,exports.PopoverAlert=w.PopoverAlert,exports.ProgressBar=L.ProgressBar,exports.RadioConsent=F.RadioConsent,exports.ReferenceBlock=R.ReferenceBlock,exports.ReferenceBlockContainer=R.ReferenceBlockContainer,exports.RichHeader=H.RichHeader,exports.SideNav=D.SideNav,exports.SimpleHeader=U.SimpleHeader,exports.SocialProof=G.SocialProof,exports.Stepper=E.Stepper,exports.StickyNavigation=M.StickyNavigation,exports.Tabs=W.Tabs,exports.Text=V.Text,exports.TextareaWithWordCount=N.default,exports.TextTruncate=Q.TextTruncate,exports.ToggleGroup=Y.ToggleGroup,exports.Totaliser=K.Totaliser,exports.Video=z.Video,exports.VimeoEmbed=X.VimeoEmbed,exports.YouTubeEmbed=Z.YouTubeEmbed,exports.Divider=J.Divider,exports.Icon=$.Icon,exports.SingleStatistics=_.SingleStatistics,exports.OnThisPageHeadings=ee.OnThisPageHeadings,exports.SpotifyEmbed=re.SpotifyEmbed,exports.Table=te.Table,Object.defineProperty(exports,"AddIcon",{enumerable:!0,get:function(){return ne.AddIcon}}),Object.defineProperty(exports,"ArrowBackIcon",{enumerable:!0,get:function(){return ne.ArrowBackIcon}}),Object.defineProperty(exports,"ArrowDownIcon",{enumerable:!0,get:function(){return ne.ArrowDownIcon}}),Object.defineProperty(exports,"ArrowForwardIcon",{enumerable:!0,get:function(){return ne.ArrowForwardIcon}}),Object.defineProperty(exports,"ArrowLeftIcon",{enumerable:!0,get:function(){return ne.ArrowLeftIcon}}),Object.defineProperty(exports,"ArrowRightIcon",{enumerable:!0,get:function(){return ne.ArrowRightIcon}}),Object.defineProperty(exports,"ArrowUpIcon",{enumerable:!0,get:function(){return ne.ArrowUpIcon}}),Object.defineProperty(exports,"AtSignIcon",{enumerable:!0,get:function(){return ne.AtSignIcon}}),Object.defineProperty(exports,"AttachmentIcon",{enumerable:!0,get:function(){return ne.AttachmentIcon}}),Object.defineProperty(exports,"BellIcon",{enumerable:!0,get:function(){return ne.BellIcon}}),Object.defineProperty(exports,"CalendarIcon",{enumerable:!0,get:function(){return ne.CalendarIcon}}),Object.defineProperty(exports,"ChatIcon",{enumerable:!0,get:function(){return ne.ChatIcon}}),Object.defineProperty(exports,"CheckCircleIcon",{enumerable:!0,get:function(){return ne.CheckCircleIcon}}),Object.defineProperty(exports,"CheckIcon",{enumerable:!0,get:function(){return ne.CheckIcon}}),Object.defineProperty(exports,"ChevronDownIcon",{enumerable:!0,get:function(){return ne.ChevronDownIcon}}),Object.defineProperty(exports,"ChevronLeftIcon",{enumerable:!0,get:function(){return ne.ChevronLeftIcon}}),Object.defineProperty(exports,"ChevronRightIcon",{enumerable:!0,get:function(){return ne.ChevronRightIcon}}),Object.defineProperty(exports,"ChevronUpIcon",{enumerable:!0,get:function(){return ne.ChevronUpIcon}}),Object.defineProperty(exports,"CloseIcon",{enumerable:!0,get:function(){return ne.CloseIcon}}),Object.defineProperty(exports,"CopyIcon",{enumerable:!0,get:function(){return ne.CopyIcon}}),Object.defineProperty(exports,"DeleteIcon",{enumerable:!0,get:function(){return ne.DeleteIcon}}),Object.defineProperty(exports,"DownloadIcon",{enumerable:!0,get:function(){return ne.DownloadIcon}}),Object.defineProperty(exports,"DragHandleIcon",{enumerable:!0,get:function(){return ne.DragHandleIcon}}),Object.defineProperty(exports,"EditIcon",{enumerable:!0,get:function(){return ne.EditIcon}}),Object.defineProperty(exports,"ExternalLinkIcon",{enumerable:!0,get:function(){return ne.ExternalLinkIcon}}),Object.defineProperty(exports,"HamburgerIcon",{enumerable:!0,get:function(){return ne.HamburgerIcon}}),Object.defineProperty(exports,"InfoIcon",{enumerable:!0,get:function(){return ne.InfoIcon}}),Object.defineProperty(exports,"InfoOutlineIcon",{enumerable:!0,get:function(){return ne.InfoOutlineIcon}}),Object.defineProperty(exports,"LinkIcon",{enumerable:!0,get:function(){return ne.LinkIcon}}),Object.defineProperty(exports,"LockIcon",{enumerable:!0,get:function(){return ne.LockIcon}}),Object.defineProperty(exports,"MinusIcon",{enumerable:!0,get:function(){return ne.MinusIcon}}),Object.defineProperty(exports,"MoonIcon",{enumerable:!0,get:function(){return ne.MoonIcon}}),Object.defineProperty(exports,"NotAllowedIcon",{enumerable:!0,get:function(){return ne.NotAllowedIcon}}),Object.defineProperty(exports,"PlusSquareIcon",{enumerable:!0,get:function(){return ne.PlusSquareIcon}}),Object.defineProperty(exports,"QuestionIcon",{enumerable:!0,get:function(){return ne.QuestionIcon}}),Object.defineProperty(exports,"QuestionOutlineIcon",{enumerable:!0,get:function(){return ne.QuestionOutlineIcon}}),Object.defineProperty(exports,"ReactIcon",{enumerable:!0,get:function(){return ne.ReactIcon}}),Object.defineProperty(exports,"RepeatClockIcon",{enumerable:!0,get:function(){return ne.RepeatClockIcon}}),Object.defineProperty(exports,"RepeatIcon",{enumerable:!0,get:function(){return ne.RepeatIcon}}),Object.defineProperty(exports,"Search2Icon",{enumerable:!0,get:function(){return ne.Search2Icon}}),Object.defineProperty(exports,"SearchIcon",{enumerable:!0,get:function(){return ne.SearchIcon}}),Object.defineProperty(exports,"SettingsIcon",{enumerable:!0,get:function(){return ne.SettingsIcon}}),Object.defineProperty(exports,"SmallAddIcon",{enumerable:!0,get:function(){return ne.SmallAddIcon}}),Object.defineProperty(exports,"SmallCloseIcon",{enumerable:!0,get:function(){return ne.SmallCloseIcon}}),Object.defineProperty(exports,"SpinnerIcon",{enumerable:!0,get:function(){return ne.SpinnerIcon}}),Object.defineProperty(exports,"StarIcon",{enumerable:!0,get:function(){return ne.StarIcon}}),Object.defineProperty(exports,"SunIcon",{enumerable:!0,get:function(){return ne.SunIcon}}),Object.defineProperty(exports,"TimeIcon",{enumerable:!0,get:function(){return ne.TimeIcon}}),Object.defineProperty(exports,"TriangleDownIcon",{enumerable:!0,get:function(){return ne.TriangleDownIcon}}),Object.defineProperty(exports,"TriangleUpIcon",{enumerable:!0,get:function(){return ne.TriangleUpIcon}}),Object.defineProperty(exports,"UnlockIcon",{enumerable:!0,get:function(){return ne.UnlockIcon}}),Object.defineProperty(exports,"UpDownIcon",{enumerable:!0,get:function(){return ne.UpDownIcon}}),Object.defineProperty(exports,"ViewIcon",{enumerable:!0,get:function(){return ne.ViewIcon}}),Object.defineProperty(exports,"ViewOffIcon",{enumerable:!0,get:function(){return ne.ViewOffIcon}}),Object.defineProperty(exports,"WarningIcon",{enumerable:!0,get:function(){return ne.WarningIcon}}),Object.defineProperty(exports,"WarningTwoIcon",{enumerable:!0,get:function(){return ne.WarningTwoIcon}}),exports.OneInFour=oe.default,exports.TwoInFour=ie.default,exports.ThreeInFour=ce.default,exports.FourInFour=se.default,exports.Adult=ue.Adult,exports.Alert=ae.default,exports.Apple=pe.default,exports.ArrowDown=de.default,exports.ArrowReturnUpIcon=le.default,exports.ArrowUp=fe.default,exports.Bagdrop=xe.Bagdrop,exports.BlueSky=be.default,exports.CheckCircle=me.default,exports.Children=je.Children,exports.Clock=ge.Clock,exports.CloudUpload=Ie.default,exports.Cross=Pe.default,exports.Date=ye.Date,exports.DirectDebit=Oe.default,exports.Dogs=qe.Dogs,exports.EmailIcon=he.default,exports.Facebook=Te.default,exports.AudioFileIcon=Ce.default,exports.CodeIcon=ke.default,exports.ExcelFileIcon=Ae.default,exports.ImageIcon=Se.default,exports.PdfFileIcon=ve.default,exports.PrintIcon=Be.default,exports.VideoFileIcon=we.default,exports.WordFileIcon=Le.default,exports.ZipFileIcon=Fe.default,exports.FundraisingRegulator=Re.default,exports.GooglePay=He.default,exports.Heart=De.default,exports.HeartSu2c=Ue.default,exports.Info=Ge.default,exports.Instagram=Ee.default,exports.LinkedIn=Me.default,exports.MasterCard=We.default,exports.Microscope=Ve.default,exports.Newsletter=Ne.default,exports.OvarianIcon=Qe.OvarianIcon,exports.Parking=Ye.Parking,exports.PauseIcon=Ke.default,exports.PayPal=ze.default,exports.PdfIcon=Xe.default,exports.People=Ze.default,exports.PhoneIcon=Je.default,exports.PlayIcon=$e.default,exports.Plus=_e.default,exports.PlusSu2c=er.default,exports.Pound=rr.default,exports.Pushchair=tr.Pushchair,exports.QuoteIcon=nr.default,exports.Refreshments=or.Refreshments,exports.Royalties=ir.Royalties,exports.Share=cr.default,exports.Shower=sr.Shower,exports.SpeechBubble=ur.default,exports.Success=ar.default,exports.ThumbsUp=pr.default,exports.ThumbsUpSu2c=dr.default,exports.TikTok=lr.default,exports.Toilets=fr.Toilets,exports.X=xr.default,exports.Venue=br.Venue,exports.Visa=mr.default,exports.WhatsApp=jr.default,exports.Wheelchairs=gr.Wheelchairs,exports.YouTube=Ir.default,exports.FormLabel=Pr.FormLabel,exports.TwoBlockStatistics=yr.TwoBlockStatistics;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("./1in4.js"),r=require("./2in4.js"),t=require("./3in4.js"),n=require("./4in4.js"),o=require("./adult.js"),u=require("./alert.js"),c=require("./apple.js"),i=require("./arrowDown.js"),s=require("./arrowReturnUp.js"),p=require("./arrowUp.js"),a=require("./bagdrop.js"),l=require("./
|
|
1
|
+
"use strict";var e=require("./1in4.js"),r=require("./2in4.js"),t=require("./3in4.js"),n=require("./4in4.js"),o=require("./adult.js"),u=require("./alert.js"),c=require("./apple.js"),i=require("./arrowDown.js"),s=require("./arrowReturnUp.js"),p=require("./arrowUp.js"),a=require("./bagdrop.js"),l=require("./bluesky.js"),f=require("./checkCircle.js"),d=require("./children.js"),I=require("./clock.js"),b=require("./cloudUpload.js"),x=require("./cross.js"),j=require("./date.js"),g=require("./directDebit.js"),m=require("./dogs.js"),P=require("./email.js"),q=require("./facebook.js"),y=require("./fileIcons/audioFileIcon.js"),O=require("./fileIcons/codeIcon.js"),h=require("./fileIcons/excelFileIcon.js"),w=require("./fileIcons/imageFileIcon.js"),C=require("./fileIcons/pdfFileIcon.js"),k=require("./fileIcons/printIcon.js"),A=require("./fileIcons/videoFileIcon.js"),S=require("./fileIcons/wordFileIcon.js"),D=require("./fileIcons/zipFileIcon.js"),F=require("./fundraisingRegulator.js"),U=require("./googlePay.js"),T=require("./heart.js"),R=require("./heartSu2c.js"),v=require("./info.js"),L=require("./instagram.js"),B=require("./linkedin.js"),V=require("./masterCard.js"),W=require("./microscope.js"),E=require("./newsletter.js"),H=require("./ovarian.js"),M=require("./parking.js"),Q=require("./pause.js"),N=require("./payPal.js"),z=require("./pdf.js"),G=require("./people.js"),X=require("./phone.js"),Y=require("./play.js"),Z=require("./plus.js"),J=require("./plusSu2c.js"),K=require("./pound.js"),$=require("./pushchair.js"),_=require("./quote.js"),ee=require("./refreshments.js"),re=require("./royalties-grants.js"),te=require("./share.js"),ne=require("./shower.js"),oe=require("./speechBubble.js"),ue=require("./success.js"),ce=require("./thumbsUp.js"),ie=require("./thumbsUpSu2.js"),se=require("./tikTok.js"),pe=require("./toilets.js"),ae=require("./twitter.js"),le=require("./venue.js"),fe=require("./visa.js"),de=require("./whatsApp.js"),Ie=require("./wheelchairs.js"),be=require("./youTube.js"),xe=require("@chakra-ui/icons");exports.OneInFour=e.default,exports.TwoInFour=r.default,exports.ThreeInFour=t.default,exports.FourInFour=n.default,exports.Adult=o.Adult,exports.Alert=u.default,exports.Apple=c.default,exports.ArrowDown=i.default,exports.ArrowReturnUpIcon=s.default,exports.ArrowUp=p.default,exports.Bagdrop=a.Bagdrop,exports.BlueSky=l.default,exports.CheckCircle=f.default,exports.Children=d.Children,exports.Clock=I.Clock,exports.CloudUpload=b.default,exports.Cross=x.default,exports.Date=j.Date,exports.DirectDebit=g.default,exports.Dogs=m.Dogs,exports.EmailIcon=P.default,exports.Facebook=q.default,exports.AudioFileIcon=y.default,exports.CodeIcon=O.default,exports.ExcelFileIcon=h.default,exports.ImageIcon=w.default,exports.PdfFileIcon=C.default,exports.PrintIcon=k.default,exports.VideoFileIcon=A.default,exports.WordFileIcon=S.default,exports.ZipFileIcon=D.default,exports.FundraisingRegulator=F.default,exports.GooglePay=U.default,exports.Heart=T.default,exports.HeartSu2c=R.default,exports.Info=v.default,exports.Instagram=L.default,exports.LinkedIn=B.default,exports.MasterCard=V.default,exports.Microscope=W.default,exports.Newsletter=E.default,exports.OvarianIcon=H.OvarianIcon,exports.Parking=M.Parking,exports.PauseIcon=Q.default,exports.PayPal=N.default,exports.PdfIcon=z.default,exports.People=G.default,exports.PhoneIcon=X.default,exports.PlayIcon=Y.default,exports.Plus=Z.default,exports.PlusSu2c=J.default,exports.Pound=K.default,exports.Pushchair=$.Pushchair,exports.QuoteIcon=_.default,exports.Refreshments=ee.Refreshments,exports.Royalties=re.Royalties,exports.Share=te.default,exports.Shower=ne.Shower,exports.SpeechBubble=oe.default,exports.Success=ue.default,exports.ThumbsUp=ce.default,exports.ThumbsUpSu2c=ie.default,exports.TikTok=se.default,exports.Toilets=pe.Toilets,exports.X=ae.default,exports.Venue=le.Venue,exports.Visa=fe.default,exports.WhatsApp=de.default,exports.Wheelchairs=Ie.Wheelchairs,exports.YouTube=be.default,Object.defineProperty(exports,"AddIcon",{enumerable:!0,get:function(){return xe.AddIcon}}),Object.defineProperty(exports,"ArrowBackIcon",{enumerable:!0,get:function(){return xe.ArrowBackIcon}}),Object.defineProperty(exports,"ArrowDownIcon",{enumerable:!0,get:function(){return xe.ArrowDownIcon}}),Object.defineProperty(exports,"ArrowForwardIcon",{enumerable:!0,get:function(){return xe.ArrowForwardIcon}}),Object.defineProperty(exports,"ArrowLeftIcon",{enumerable:!0,get:function(){return xe.ArrowLeftIcon}}),Object.defineProperty(exports,"ArrowRightIcon",{enumerable:!0,get:function(){return xe.ArrowRightIcon}}),Object.defineProperty(exports,"ArrowUpIcon",{enumerable:!0,get:function(){return xe.ArrowUpIcon}}),Object.defineProperty(exports,"AtSignIcon",{enumerable:!0,get:function(){return xe.AtSignIcon}}),Object.defineProperty(exports,"AttachmentIcon",{enumerable:!0,get:function(){return xe.AttachmentIcon}}),Object.defineProperty(exports,"BellIcon",{enumerable:!0,get:function(){return xe.BellIcon}}),Object.defineProperty(exports,"CalendarIcon",{enumerable:!0,get:function(){return xe.CalendarIcon}}),Object.defineProperty(exports,"ChatIcon",{enumerable:!0,get:function(){return xe.ChatIcon}}),Object.defineProperty(exports,"CheckCircleIcon",{enumerable:!0,get:function(){return xe.CheckCircleIcon}}),Object.defineProperty(exports,"CheckIcon",{enumerable:!0,get:function(){return xe.CheckIcon}}),Object.defineProperty(exports,"ChevronDownIcon",{enumerable:!0,get:function(){return xe.ChevronDownIcon}}),Object.defineProperty(exports,"ChevronLeftIcon",{enumerable:!0,get:function(){return xe.ChevronLeftIcon}}),Object.defineProperty(exports,"ChevronRightIcon",{enumerable:!0,get:function(){return xe.ChevronRightIcon}}),Object.defineProperty(exports,"ChevronUpIcon",{enumerable:!0,get:function(){return xe.ChevronUpIcon}}),Object.defineProperty(exports,"CloseIcon",{enumerable:!0,get:function(){return xe.CloseIcon}}),Object.defineProperty(exports,"CopyIcon",{enumerable:!0,get:function(){return xe.CopyIcon}}),Object.defineProperty(exports,"DeleteIcon",{enumerable:!0,get:function(){return xe.DeleteIcon}}),Object.defineProperty(exports,"DownloadIcon",{enumerable:!0,get:function(){return xe.DownloadIcon}}),Object.defineProperty(exports,"DragHandleIcon",{enumerable:!0,get:function(){return xe.DragHandleIcon}}),Object.defineProperty(exports,"EditIcon",{enumerable:!0,get:function(){return xe.EditIcon}}),Object.defineProperty(exports,"ExternalLinkIcon",{enumerable:!0,get:function(){return xe.ExternalLinkIcon}}),Object.defineProperty(exports,"HamburgerIcon",{enumerable:!0,get:function(){return xe.HamburgerIcon}}),Object.defineProperty(exports,"InfoIcon",{enumerable:!0,get:function(){return xe.InfoIcon}}),Object.defineProperty(exports,"InfoOutlineIcon",{enumerable:!0,get:function(){return xe.InfoOutlineIcon}}),Object.defineProperty(exports,"LinkIcon",{enumerable:!0,get:function(){return xe.LinkIcon}}),Object.defineProperty(exports,"LockIcon",{enumerable:!0,get:function(){return xe.LockIcon}}),Object.defineProperty(exports,"MinusIcon",{enumerable:!0,get:function(){return xe.MinusIcon}}),Object.defineProperty(exports,"MoonIcon",{enumerable:!0,get:function(){return xe.MoonIcon}}),Object.defineProperty(exports,"NotAllowedIcon",{enumerable:!0,get:function(){return xe.NotAllowedIcon}}),Object.defineProperty(exports,"PlusSquareIcon",{enumerable:!0,get:function(){return xe.PlusSquareIcon}}),Object.defineProperty(exports,"QuestionIcon",{enumerable:!0,get:function(){return xe.QuestionIcon}}),Object.defineProperty(exports,"QuestionOutlineIcon",{enumerable:!0,get:function(){return xe.QuestionOutlineIcon}}),Object.defineProperty(exports,"ReactIcon",{enumerable:!0,get:function(){return xe.ReactIcon}}),Object.defineProperty(exports,"RepeatClockIcon",{enumerable:!0,get:function(){return xe.RepeatClockIcon}}),Object.defineProperty(exports,"RepeatIcon",{enumerable:!0,get:function(){return xe.RepeatIcon}}),Object.defineProperty(exports,"Search2Icon",{enumerable:!0,get:function(){return xe.Search2Icon}}),Object.defineProperty(exports,"SearchIcon",{enumerable:!0,get:function(){return xe.SearchIcon}}),Object.defineProperty(exports,"SettingsIcon",{enumerable:!0,get:function(){return xe.SettingsIcon}}),Object.defineProperty(exports,"SmallAddIcon",{enumerable:!0,get:function(){return xe.SmallAddIcon}}),Object.defineProperty(exports,"SmallCloseIcon",{enumerable:!0,get:function(){return xe.SmallCloseIcon}}),Object.defineProperty(exports,"SpinnerIcon",{enumerable:!0,get:function(){return xe.SpinnerIcon}}),Object.defineProperty(exports,"StarIcon",{enumerable:!0,get:function(){return xe.StarIcon}}),Object.defineProperty(exports,"SunIcon",{enumerable:!0,get:function(){return xe.SunIcon}}),Object.defineProperty(exports,"TimeIcon",{enumerable:!0,get:function(){return xe.TimeIcon}}),Object.defineProperty(exports,"TriangleDownIcon",{enumerable:!0,get:function(){return xe.TriangleDownIcon}}),Object.defineProperty(exports,"TriangleUpIcon",{enumerable:!0,get:function(){return xe.TriangleUpIcon}}),Object.defineProperty(exports,"UnlockIcon",{enumerable:!0,get:function(){return xe.UnlockIcon}}),Object.defineProperty(exports,"UpDownIcon",{enumerable:!0,get:function(){return xe.UpDownIcon}}),Object.defineProperty(exports,"ViewIcon",{enumerable:!0,get:function(){return xe.ViewIcon}}),Object.defineProperty(exports,"ViewOffIcon",{enumerable:!0,get:function(){return xe.ViewOffIcon}}),Object.defineProperty(exports,"WarningIcon",{enumerable:!0,get:function(){return xe.WarningIcon}}),Object.defineProperty(exports,"WarningTwoIcon",{enumerable:!0,get:function(){return xe.WarningTwoIcon}});
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const o=require("@chakra-ui/react").defineStyleConfig({baseStyle:{fontFamily:"body",fontWeight:"medium",borderRadius:0,px:6,py:3,fontSize:{base:"text.sm",lg:"text.md"}},variants:{primary:{color:"buttonPrimaryText",bg:"buttonPrimaryBackground",_hover:{bg:"buttonPrimaryBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_focus:{bg:"buttonPrimaryBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground",opacity:1}},primaryAlt:{color:"buttonPrimaryText",bg:"buttonPrimaryAltBackground",_hover:{bg:"buttonPrimaryAltBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_focus:{bg:"buttonPrimaryAltBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground",opacity:1}},secondary:{bg:"buttonSecondaryBackground",color:"buttonSecondaryText",outline:"1px solid",outlineColor:"buttonSecondaryBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline","& svg":{fontSize:"1.25rem"},_hover:{color:"buttonSecondaryTextHover",outlineColor:"buttonSecondaryBackgroundHover",bg:"buttonSecondaryBackgroundHover",_disabled:{color:"buttonSecondaryDisabledText"}},_focus:{bg:"buttonPrimaryBackground",color:"buttonPrimaryText",_disabled:{color:"buttonSecondaryDisabledText",bg:"buttonSecondaryDisabledBackground"}},_disabled:{color:"buttonSecondaryDisabledText",opacity:1,outlineColor:"buttonSecondaryDisabledBorder",_hover:{outlineColor:"buttonSecondaryDisabledBorder"}}},secondaryAlt:{bg:"buttonSecondaryAltBackground",color:"buttonSecondaryAltText",outline:"1px solid",outlineColor:"buttonSecondaryAltBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline",_hover:{color:"buttonSecondaryAltTextHover",outlineColor:"buttonSecondaryAltBackgroundHover",bg:"buttonSecondaryAltBackgroundHover",_disabled:{color:"buttonSecondaryDisabledText"}},_focus:{bg:"buttonPrimaryAltBackground",color:"buttonPrimaryText",_disabled:{color:"buttonSecondaryDisabledText",bg:"buttonSecondaryDisabledBackground"}},_disabled:{color:"buttonSecondaryDisabledText",opacity:1,outlineColor:"buttonSecondaryDisabledBorder",_hover:{outlineColor:"buttonSecondaryDisabledBorder"}}},alternative:{fontFamily:"body",fontWeight:"medium",bg:"buttonAlternativeBackground",color:"buttonAlternativeText",justifyContent:"space-between",textDecoration:"none",paddingInline:"0 !important",_hover:{color:"buttonAlternativeTextHover",_disabled:{color:"buttonAlternativeDisabledText",bg:"buttonAlternativeDisabledBackground"}},_disabled:{color:"buttonAlternativeDisabledText",bg:"buttonAlternativeDisabledBackground",opacity:1}},link:{fontFamily:"body",fontWeight:"medium",bg:"buttonLinkBackground",color:"buttonLinkText",padding:0,_hover:{textDecoration:"underline"}},linkNoDecoration:{fontFamily:"body",fontWeight:"medium",paddingInlineEnd:"0 !important",paddingInline:"0 !important",color:"buttonLinkText",padding:0,_hover:{textDecoration:"none"}},truncationControl:{fontFamily:"body",fontWeight:"black",textDecoration:"none",color:"truncateColor",display:"contents",padding:"0",width:"0",fontSize:{base:"text.sm",md:"text.sm",lg:"text.md",xl:"text.md"},lineHeight:{sm:"text.sm",md:"text.sm",lg:"text.md",xl:"text.md"},_visited:{color:"truncateColor"},_hover:{color:"truncateColorHover",textDecoration:"underline"}},toggle:{fontSize:{base:"text.sm",lg:"text.md"},display:"flex",justifyContent:"center",cursor:"pointer",bg:"buttonToggleBackground",color:"buttonToggleText",outline:"1px solid",outlineColor:"buttonToggleBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline",_hover:{bg:"buttonToggleBackgroundHover",color:"buttonToggleTextHover",outlineColor:"buttonToggleBackgroundHover",_disabled:{color:"buttonToggleDisabledText"}}},toggleSelected:{display:"flex",justifyContent:"center",cursor:"pointer",bg:"buttonToggleSelectedBackground",color:"buttonToggleSelectedText",outline:"1px solid",outlineColor:"buttonToggleSelectedBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline"},toggleDisabled:{cursor:"not-allowed",bg:"buttonToggleDisabledBackground",color:"buttonToggleDisabledText",outline:"1px solid",outlineColor:"buttonToggleDisabledBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline"},video:{bg:"buttonVideoBackground",color:"buttonVideoText",padding:4},citation:{color:"buttonCitationPrimary",_before:{content:'"["'},_after:{content:'"]"'},padding:0,margin:0,px:0,py:0,paddingInline:0,fontSize:"text.xs",fontFamily:"body",fontWeight:"semibold",_visited:{color:"buttonCitationPrimary",textDecoration:"none"},_hover:{color:"buttonCitationPrimary",textDecoration:"none",bg:"btnCitationBgPrimary"},_active:{color:"white",textDecoration:"none",bg:"buttonCitationPrimary"}},backToTop:{"> svg":{boxSize:{base:7,sm:10}},bg:"buttonPrimaryAltBackground",borderRadius:"full",boxSizing:"border-box",paddingInline:0,color:"white",boxShadow:{base:"2px 2px 6px rgba(0, 0, 0, 0.4)",sm:"none"},_active:{boxShadow:"none",bg:"buttonBackToTopHover"},_hover:{bg:"buttonBackToTopHover"},width:{base:"40px",sm:"56px"},height:{base:"40px",sm:"56px"}}},sizes:{md:{fontSize:{base:"text.sm",lg:"text.md"},lineHeight:"text.md",height:"auto",paddingInline:6},sm:{fontSize:"text.sm",lineHeight:"text.sm",height:"auto",paddingInline:6}},defaultProps:{variant:"primary"}});exports.buttonTheme=o,exports.default=o;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const o=require("@chakra-ui/react").defineStyleConfig({baseStyle:{fontFamily:"body",fontWeight:"medium",borderRadius:0,px:6,py:3,fontSize:{base:"text.sm",lg:"text.md"},whiteSpace:"normal"},variants:{primary:{color:"buttonPrimaryText",bg:"buttonPrimaryBackground",_hover:{bg:"buttonPrimaryBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_focus:{bg:"buttonPrimaryBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground",opacity:1}},primaryAlt:{color:"buttonPrimaryText",bg:"buttonPrimaryAltBackground",_hover:{bg:"buttonPrimaryAltBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_focus:{bg:"buttonPrimaryAltBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground",opacity:1}},secondary:{bg:"buttonSecondaryBackground",color:"buttonSecondaryText",outline:"1px solid",outlineColor:"buttonSecondaryBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline","& svg":{fontSize:"1.25rem"},_hover:{color:"buttonSecondaryTextHover",outlineColor:"buttonSecondaryBackgroundHover",bg:"buttonSecondaryBackgroundHover",_disabled:{color:"buttonSecondaryDisabledText"}},_focus:{bg:"buttonPrimaryBackground",color:"buttonPrimaryText",_disabled:{color:"buttonSecondaryDisabledText",bg:"buttonSecondaryDisabledBackground"}},_disabled:{color:"buttonSecondaryDisabledText",opacity:1,outlineColor:"buttonSecondaryDisabledBorder",_hover:{outlineColor:"buttonSecondaryDisabledBorder"}}},secondaryAlt:{bg:"buttonSecondaryAltBackground",color:"buttonSecondaryAltText",outline:"1px solid",outlineColor:"buttonSecondaryAltBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline",_hover:{color:"buttonSecondaryAltTextHover",outlineColor:"buttonSecondaryAltBackgroundHover",bg:"buttonSecondaryAltBackgroundHover",_disabled:{color:"buttonSecondaryDisabledText"}},_focus:{bg:"buttonPrimaryAltBackground",color:"buttonPrimaryText",_disabled:{color:"buttonSecondaryDisabledText",bg:"buttonSecondaryDisabledBackground"}},_disabled:{color:"buttonSecondaryDisabledText",opacity:1,outlineColor:"buttonSecondaryDisabledBorder",_hover:{outlineColor:"buttonSecondaryDisabledBorder"}}},alternative:{fontFamily:"body",fontWeight:"medium",bg:"buttonAlternativeBackground",color:"buttonAlternativeText",justifyContent:"space-between",textDecoration:"none",paddingInline:"0 !important",_hover:{color:"buttonAlternativeTextHover",_disabled:{color:"buttonAlternativeDisabledText",bg:"buttonAlternativeDisabledBackground"}},_disabled:{color:"buttonAlternativeDisabledText",bg:"buttonAlternativeDisabledBackground",opacity:1}},link:{fontFamily:"body",fontWeight:"medium",bg:"buttonLinkBackground",color:"buttonLinkText",padding:0,_hover:{textDecoration:"underline"}},linkNoDecoration:{fontFamily:"body",fontWeight:"medium",paddingInlineEnd:"0 !important",paddingInline:"0 !important",color:"buttonLinkText",padding:0,_hover:{textDecoration:"none"}},truncationControl:{fontFamily:"body",fontWeight:"black",textDecoration:"none",color:"truncateColor",display:"contents",padding:"0",width:"0",fontSize:{base:"text.sm",md:"text.sm",lg:"text.md",xl:"text.md"},lineHeight:{sm:"text.sm",md:"text.sm",lg:"text.md",xl:"text.md"},_visited:{color:"truncateColor"},_hover:{color:"truncateColorHover",textDecoration:"underline"}},toggle:{fontSize:{base:"text.sm",lg:"text.md"},display:"flex",justifyContent:"center",cursor:"pointer",bg:"buttonToggleBackground",color:"buttonToggleText",outline:"1px solid",outlineColor:"buttonToggleBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline",_hover:{bg:"buttonToggleBackgroundHover",color:"buttonToggleTextHover",outlineColor:"buttonToggleBackgroundHover",_disabled:{color:"buttonToggleDisabledText"}}},toggleSelected:{display:"flex",justifyContent:"center",cursor:"pointer",bg:"buttonToggleSelectedBackground",color:"buttonToggleSelectedText",outline:"1px solid",outlineColor:"buttonToggleSelectedBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline"},toggleDisabled:{cursor:"not-allowed",bg:"buttonToggleDisabledBackground",color:"buttonToggleDisabledText",outline:"1px solid",outlineColor:"buttonToggleDisabledBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline"},video:{bg:"buttonVideoBackground",color:"buttonVideoText",padding:4},citation:{color:"buttonCitationPrimary",_before:{content:'"["'},_after:{content:'"]"'},padding:0,margin:0,px:0,py:0,paddingInline:0,fontSize:"text.xs",fontFamily:"body",fontWeight:"semibold",_visited:{color:"buttonCitationPrimary",textDecoration:"none"},_hover:{color:"buttonCitationPrimary",textDecoration:"none",bg:"btnCitationBgPrimary"},_active:{color:"white",textDecoration:"none",bg:"buttonCitationPrimary"}},backToTop:{"> svg":{boxSize:{base:7,sm:10}},bg:"buttonPrimaryAltBackground",borderRadius:"full",boxSizing:"border-box",paddingInline:0,color:"white",boxShadow:{base:"2px 2px 6px rgba(0, 0, 0, 0.4)",sm:"none"},_active:{boxShadow:"none",bg:"buttonBackToTopHover"},_hover:{bg:"buttonBackToTopHover"},width:{base:"40px",sm:"56px"},height:{base:"40px",sm:"56px"}}},sizes:{md:{fontSize:{base:"text.sm",lg:"text.md"},lineHeight:"text.md",height:"auto",paddingInline:6},sm:{fontSize:"text.sm",lineHeight:"text.sm",height:"auto",paddingInline:6}},defaultProps:{variant:"primary"}});exports.buttonTheme=o,exports.default=o;
|
|
2
2
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../../src/theme/cruk/components/button.ts"],"sourcesContent":[null],"names":["buttonTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","borderRadius","px","py","fontSize","base","lg","variants","primary","color","bg","_hover","_disabled","_focus","opacity","primaryAlt","secondary","outline","outlineColor","transitionProperty","secondaryAlt","alternative","justifyContent","textDecoration","paddingInline","link","padding","linkNoDecoration","paddingInlineEnd","truncationControl","display","width","md","xl","lineHeight","sm","_visited","toggle","cursor","toggleSelected","toggleDisabled","video","citation","_before","content","_after","margin","_active","backToTop","boxSize","boxSizing","boxShadow","height","sizes","defaultProps","variant"],"mappings":"oEAEO,MAAMA,8BAAcC,kBAAkB,CAC3CC,UAAW,CACTC,WAAY,OACZC,WAAY,SACZC,aAAc,EACdC,GAAI,EACJC,GAAI,EACJC,SAAU,CAAEC,KAAM,UAAWC,GAAI,
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../../src/theme/cruk/components/button.ts"],"sourcesContent":[null],"names":["buttonTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","borderRadius","px","py","fontSize","base","lg","whiteSpace","variants","primary","color","bg","_hover","_disabled","_focus","opacity","primaryAlt","secondary","outline","outlineColor","transitionProperty","secondaryAlt","alternative","justifyContent","textDecoration","paddingInline","link","padding","linkNoDecoration","paddingInlineEnd","truncationControl","display","width","md","xl","lineHeight","sm","_visited","toggle","cursor","toggleSelected","toggleDisabled","video","citation","_before","content","_after","margin","_active","backToTop","boxSize","boxSizing","boxShadow","height","sizes","defaultProps","variant"],"mappings":"oEAEO,MAAMA,8BAAcC,kBAAkB,CAC3CC,UAAW,CACTC,WAAY,OACZC,WAAY,SACZC,aAAc,EACdC,GAAI,EACJC,GAAI,EACJC,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCC,WAAY,UAEdC,SAAU,CACRC,QAAS,CACPC,MAAO,oBACPC,GAAI,0BACJC,OAAQ,CACND,GAAI,+BACJE,UAAW,CACTH,MAAO,4BACPC,GAAI,oCAGRG,OAAQ,CACNH,GAAI,+BACJE,UAAW,CACTH,MAAO,4BACPC,GAAI,oCAGRE,UAAW,CACTH,MAAO,4BACPC,GAAI,kCACJI,QAAS,IAGbC,WAAY,CACVN,MAAO,oBACPC,GAAI,6BACJC,OAAQ,CACND,GAAI,kCACJE,UAAW,CACTH,MAAO,4BACPC,GAAI,oCAGRG,OAAQ,CACNH,GAAI,kCACJE,UAAW,CACTH,MAAO,4BACPC,GAAI,oCAGRE,UAAW,CACTH,MAAO,4BACPC,GAAI,kCACJI,QAAS,IAGbE,UAAW,CACTN,GAAI,4BACJD,MAAO,sBACPQ,QAAS,YACTC,aAAc,wBACdC,mBACE,+FACF,QAAS,CACPhB,SAAU,WAEZQ,OAAQ,CACNF,MAAO,2BACPS,aAAc,iCACdR,GAAI,iCACJE,UAAW,CACTH,MAAO,gCAGXI,OAAQ,CACNH,GAAI,0BACJD,MAAO,oBACPG,UAAW,CACTH,MAAO,8BACPC,GAAI,sCAGRE,UAAW,CACTH,MAAO,8BACPK,QAAS,EACTI,aAAc,gCACdP,OAAQ,CACNO,aAAc,mCAIpBE,aAAc,CACZV,GAAI,+BACJD,MAAO,yBACPQ,QAAS,YACTC,aAAc,2BACdC,mBACE,+FACFR,OAAQ,CACNF,MAAO,8BACPS,aAAc,oCACdR,GAAI,oCACJE,UAAW,CACTH,MAAO,gCAGXI,OAAQ,CACNH,GAAI,6BACJD,MAAO,oBACPG,UAAW,CACTH,MAAO,8BACPC,GAAI,sCAGRE,UAAW,CACTH,MAAO,8BACPK,QAAS,EACTI,aAAc,gCACdP,OAAQ,CACNO,aAAc,mCAIpBG,YAAa,CACXvB,WAAY,OACZC,WAAY,SACZW,GAAI,8BACJD,MAAO,wBACPa,eAAgB,gBAChBC,eAAgB,OAEhBC,cAAe,eACfb,OAAQ,CACNF,MAAO,6BACPG,UAAW,CACTH,MAAO,gCACPC,GAAI,wCAGRE,UAAW,CACTH,MAAO,gCACPC,GAAI,sCACJI,QAAS,IAGbW,KAAM,CACJ3B,WAAY,OACZC,WAAY,SACZW,GAAI,uBACJD,MAAO,iBACPiB,QAAS,EACTf,OAAQ,CACNY,eAAgB,cAGpBI,iBAAkB,CAChB7B,WAAY,OACZC,WAAY,SACZ6B,iBAAkB,eAClBJ,cAAe,eACff,MAAO,iBACPiB,QAAS,EACTf,OAAQ,CACNY,eAAgB,SAGpBM,kBAAmB,CACjB/B,WAAY,OACZC,WAAY,QACZwB,eAAgB,OAChBd,MAAO,gBACPqB,QAAS,WACTJ,QAAS,IACTK,MAAO,IACP5B,SAAU,CACRC,KAAM,UACN4B,GAAI,UACJ3B,GAAI,UACJ4B,GAAI,WAENC,WAAY,CACVC,GAAI,UACJH,GAAI,UACJ3B,GAAI,UACJ4B,GAAI,WAENG,SAAU,CACR3B,MAAO,iBAETE,OAAQ,CACNF,MAAO,qBACPc,eAAgB,cAGpBc,OAAQ,CACNlC,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCyB,QAAS,OACTR,eAAgB,SAChBgB,OAAQ,UACR5B,GAAI,yBACJD,MAAO,mBACPQ,QAAS,YACTC,aAAc,qBACdC,mBACE,+FACFR,OAAQ,CACND,GAAI,8BACJD,MAAO,wBACPS,aAAc,8BACdN,UAAW,CACTH,MAAO,8BAIb8B,eAAgB,CACdT,QAAS,OACTR,eAAgB,SAChBgB,OAAQ,UACR5B,GAAI,iCACJD,MAAO,2BACPQ,QAAS,YACTC,aAAc,6BACdC,mBACE,gGAEJqB,eAAgB,CACdF,OAAQ,cACR5B,GAAI,iCACJD,MAAO,2BACPQ,QAAS,YACTC,aAAc,6BACdC,mBACE,gGAEJsB,MAAO,CACL/B,GAAI,wBACJD,MAAO,kBACPiB,QAAS,GAEXgB,SAAU,CACRjC,MAAO,wBACPkC,QAAS,CAAEC,QAAS,OACpBC,OAAQ,CAAED,QAAS,OACnBlB,QAAS,EACToB,OAAQ,EACR7C,GAAI,EACJC,GAAI,EACJsB,cAAe,EACfrB,SAAU,UACVL,WAAY,OACZC,WAAY,WACZqC,SAAU,CACR3B,MAAO,wBACPc,eAAgB,QAElBZ,OAAQ,CACNF,MAAO,wBACPc,eAAgB,OAChBb,GAAI,wBAENqC,QAAS,CACPtC,MAAO,QACPc,eAAgB,OAChBb,GAAI,0BAGRsC,UAAW,CACT,QAAS,CACPC,QAAS,CAAE7C,KAAM,EAAG+B,GAAI,KAE1BzB,GAAI,6BACJV,aAAc,OACdkD,UAAW,aACX1B,cAAe,EACff,MAAO,QACP0C,UAAW,CACT/C,KAAM,iCACN+B,GAAI,QAENY,QAAS,CACPI,UAAW,OACXzC,GAAI,wBAENC,OAAQ,CACND,GAAI,wBAENqB,MAAO,CACL3B,KAAM,OACN+B,GAAI,QAENiB,OAAQ,CACNhD,KAAM,OACN+B,GAAI,UAIVkB,MAAO,CACLrB,GAAI,CACF7B,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjC6B,WAAY,UACZkB,OAAQ,OACR5B,cAAe,GAEjBW,GAAI,CACFhC,SAAU,UACV+B,WAAY,UACZkB,OAAQ,OACR5B,cAAe,IAGnB8B,aAAc,CACZC,QAAS"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as i,jsx as s,Fragment as t}from"react/jsx-runtime";import{forwardRef as o,Box as c,VStack as r}from"@chakra-ui/react";import"../../static/icons/1in4.js";import"../../static/icons/2in4.js";import"../../static/icons/3in4.js";import"../../static/icons/4in4.js";import"../../static/icons/adult.js";import a from"../../static/icons/alert.js";import"../../static/icons/apple.js";import"../../static/icons/arrowDown.js";import"../../static/icons/arrowReturnUp.js";import"../../static/icons/arrowUp.js";import"../../static/icons/bagdrop.js";import"../../static/icons/checkCircle.js";import"../../static/icons/children.js";import"../../static/icons/clock.js";import"../../static/icons/cloudUpload.js";import"../../static/icons/cross.js";import"../../static/icons/date.js";import"../../static/icons/directDebit.js";import"../../static/icons/dogs.js";import"../../static/icons/email.js";import"../../static/icons/facebook.js";import"../../static/icons/
|
|
1
|
+
import{jsxs as i,jsx as s,Fragment as t}from"react/jsx-runtime";import{forwardRef as o,Box as c,VStack as r}from"@chakra-ui/react";import"../../static/icons/1in4.js";import"../../static/icons/2in4.js";import"../../static/icons/3in4.js";import"../../static/icons/4in4.js";import"../../static/icons/adult.js";import a from"../../static/icons/alert.js";import"../../static/icons/apple.js";import"../../static/icons/arrowDown.js";import"../../static/icons/arrowReturnUp.js";import"../../static/icons/arrowUp.js";import"../../static/icons/bagdrop.js";import"../../static/icons/bluesky.js";import"../../static/icons/checkCircle.js";import"../../static/icons/children.js";import"../../static/icons/clock.js";import"../../static/icons/cloudUpload.js";import"../../static/icons/cross.js";import"../../static/icons/date.js";import"../../static/icons/directDebit.js";import"../../static/icons/dogs.js";import"../../static/icons/email.js";import"../../static/icons/facebook.js";import"../../static/icons/fileIcons/audioFileIcon.js";import"../../static/icons/fileIcons/codeIcon.js";import"../../static/icons/fileIcons/excelFileIcon.js";import"../../static/icons/fileIcons/imageFileIcon.js";import"../../static/icons/fileIcons/pdfFileIcon.js";import"../../static/icons/fileIcons/printIcon.js";import"../../static/icons/fileIcons/videoFileIcon.js";import"../../static/icons/fileIcons/wordFileIcon.js";import"../../static/icons/fileIcons/zipFileIcon.js";import"../../static/icons/fundraisingRegulator.js";import"../../static/icons/googlePay.js";import"../../static/icons/heart.js";import"../../static/icons/heartSu2c.js";import n from"../../static/icons/info.js";import"../../static/icons/instagram.js";import"../../static/icons/linkedin.js";import"../../static/icons/masterCard.js";import"../../static/icons/microscope.js";import"../../static/icons/newsletter.js";import"../../static/icons/ovarian.js";import"../../static/icons/parking.js";import"../../static/icons/pause.js";import"../../static/icons/payPal.js";import"../../static/icons/pdf.js";import"../../static/icons/people.js";import"../../static/icons/phone.js";import"../../static/icons/play.js";import"../../static/icons/plus.js";import"../../static/icons/plusSu2c.js";import"../../static/icons/pound.js";import"../../static/icons/pushchair.js";import"../../static/icons/quote.js";import"../../static/icons/refreshments.js";import"../../static/icons/royalties-grants.js";import"../../static/icons/share.js";import"../../static/icons/shower.js";import"../../static/icons/speechBubble.js";import e from"../../static/icons/success.js";import"../../static/icons/thumbsUp.js";import"../../static/icons/thumbsUpSu2.js";import"../../static/icons/tikTok.js";import"../../static/icons/toilets.js";import"../../static/icons/twitter.js";import"../../static/icons/venue.js";import"../../static/icons/visa.js";import"../../static/icons/whatsApp.js";import"../../static/icons/wheelchairs.js";import"../../static/icons/youTube.js";import"@chakra-ui/icons";import{Text as p}from"../Text/index.js";import{Icon as m}from"../Icon/index.js";const l={display:"flex",flexDirection:"row",alignItems:"flex-Start",overflow:"scroll",backgroundColor:"transparent",borderWidth:"2px 2px 2px 8px",paddingLeft:{base:6,md:10,lg:16},paddingRight:{base:6,md:10,lg:16},paddingTop:{base:6,md:6,lg:10},paddingBottom:{base:6,md:6,lg:10},marginBottom:{base:4,lg:6},gap:{base:6,md:6,lg:10},"&.warning":{borderColor:"status.warning"},"&.error":{borderColor:"status.error"},"&.information":{borderColor:"status.information"},"&.success":{borderColor:"status.success"}},j={information:"Information",success:"Success"},d=o((({icon:o,heading:d,description:u,variant:f,...g},h)=>i(c,{ref:h,role:"alert",__css:l,className:f.toLowerCase(),...g,children:[void 0!==o?s(t,{children:"string"==typeof o?s(m,{margin:"auto 0",name:o,color:`status.${f.toLowerCase()}`,boxSize:8,padding:0}):s(t,{children:o})}):s(m,{margin:"auto 0",as:f===j.information?n:f===j.success?e:a,name:f,color:`status.${f.toLowerCase()}`,boxSize:8,padding:0}),i(r,{alignItems:"flex-start",children:["string"==typeof d?s(p,{fontWeight:500,children:d}):s(t,{children:d}),"string"==typeof u?s(p,{fontSize:{lg:"md"},children:u}):s(t,{children:u})]})]})));export{d as AlertBanner,d as default,j as variants};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{jsxs as i,jsx as s}from"react/jsx-runtime";import{forwardRef as t,useStyleConfig as o,Box as c,Container as e,Icon as a}from"@chakra-ui/react";import{useEffect as r}from"react";import{useDropzone as n}from"react-dropzone";import"../../static/icons/1in4.js";import"../../static/icons/2in4.js";import"../../static/icons/3in4.js";import"../../static/icons/4in4.js";import"../../static/icons/adult.js";import"../../static/icons/alert.js";import"../../static/icons/apple.js";import"../../static/icons/arrowDown.js";import"../../static/icons/arrowReturnUp.js";import"../../static/icons/arrowUp.js";import"../../static/icons/bagdrop.js";import"../../static/icons/checkCircle.js";import"../../static/icons/children.js";import"../../static/icons/clock.js";import p from"../../static/icons/cloudUpload.js";import"../../static/icons/cross.js";import"../../static/icons/date.js";import"../../static/icons/directDebit.js";import"../../static/icons/dogs.js";import"../../static/icons/email.js";import"../../static/icons/facebook.js";import"../../static/icons/
|
|
1
|
+
"use client";import{jsxs as i,jsx as s}from"react/jsx-runtime";import{forwardRef as t,useStyleConfig as o,Box as c,Container as e,Icon as a}from"@chakra-ui/react";import{useEffect as r}from"react";import{useDropzone as n}from"react-dropzone";import"../../static/icons/1in4.js";import"../../static/icons/2in4.js";import"../../static/icons/3in4.js";import"../../static/icons/4in4.js";import"../../static/icons/adult.js";import"../../static/icons/alert.js";import"../../static/icons/apple.js";import"../../static/icons/arrowDown.js";import"../../static/icons/arrowReturnUp.js";import"../../static/icons/arrowUp.js";import"../../static/icons/bagdrop.js";import"../../static/icons/bluesky.js";import"../../static/icons/checkCircle.js";import"../../static/icons/children.js";import"../../static/icons/clock.js";import p from"../../static/icons/cloudUpload.js";import"../../static/icons/cross.js";import"../../static/icons/date.js";import"../../static/icons/directDebit.js";import"../../static/icons/dogs.js";import"../../static/icons/email.js";import"../../static/icons/facebook.js";import"../../static/icons/fileIcons/audioFileIcon.js";import"../../static/icons/fileIcons/codeIcon.js";import"../../static/icons/fileIcons/excelFileIcon.js";import"../../static/icons/fileIcons/imageFileIcon.js";import"../../static/icons/fileIcons/pdfFileIcon.js";import"../../static/icons/fileIcons/printIcon.js";import"../../static/icons/fileIcons/videoFileIcon.js";import"../../static/icons/fileIcons/wordFileIcon.js";import"../../static/icons/fileIcons/zipFileIcon.js";import"../../static/icons/fundraisingRegulator.js";import"../../static/icons/googlePay.js";import"../../static/icons/heart.js";import"../../static/icons/heartSu2c.js";import"../../static/icons/info.js";import"../../static/icons/instagram.js";import"../../static/icons/linkedin.js";import"../../static/icons/masterCard.js";import"../../static/icons/microscope.js";import"../../static/icons/newsletter.js";import"../../static/icons/ovarian.js";import"../../static/icons/parking.js";import"../../static/icons/pause.js";import"../../static/icons/payPal.js";import"../../static/icons/pdf.js";import"../../static/icons/people.js";import"../../static/icons/phone.js";import"../../static/icons/play.js";import"../../static/icons/plus.js";import"../../static/icons/plusSu2c.js";import"../../static/icons/pound.js";import"../../static/icons/pushchair.js";import"../../static/icons/quote.js";import"../../static/icons/refreshments.js";import"../../static/icons/royalties-grants.js";import"../../static/icons/share.js";import"../../static/icons/shower.js";import"../../static/icons/speechBubble.js";import"../../static/icons/success.js";import"../../static/icons/thumbsUp.js";import"../../static/icons/thumbsUpSu2.js";import"../../static/icons/tikTok.js";import"../../static/icons/toilets.js";import"../../static/icons/twitter.js";import"../../static/icons/venue.js";import"../../static/icons/visa.js";import"../../static/icons/whatsApp.js";import"../../static/icons/wheelchairs.js";import"../../static/icons/youTube.js";import"@chakra-ui/icons";import{Text as l}from"../Text/index.js";import{CtaMessage as m}from"./CtaMessage.js";import{FileItem as d}from"./FileItem.js";const j=(i,s,t,o)=>{let c="";switch(i.errors[0].code){case"file-invalid-type":c=`Only ${o.join(", ")} are allowed.`;break;case"file-too-large":c=`This file exceeds the size limit of ${t}MB. Please try with a smaller file.`;break;case"too-many-files":c=`Maximum of ${s} files allowed for upload.`;break;default:c=i.errors[0].message}return c},f=t((({isDisabled:t=!1,isInvalid:f=!1,uploadError:u=!1,maxFiles:h=10,maxSize:g=50,failedUploads:b,completedUploads:F,uploadFiles:x,rejectedFiles:I,handleError:y,removeAcceptedFile:k,removeRejectedFile:w,addRejectedFiles:v,onDrop:U,acceptedFileTypes:D,acceptedFileTypeDictionary:S,...z},R)=>{const A=o("FileUpload"),{fileRejections:C,getRootProps:E,getInputProps:M,isFocused:T,isDragAccept:P,isDragReject:$,isDragActive:B}=n({noDragEventsBubbling:!0,disabled:t,onDrop:U,minSize:1,maxSize:1e6*g,accept:S}),_=`Supported types: ${D.join(", ")}`,q=`Max ${g}MB in total`,N=t?"#ffffff":"fileUploadSecondaryColor",O=t?"fileUploadSecondaryColor":"#ffffff";return r((()=>{v([...C])}),[C,v]),r((()=>{y(I.length>0)}),[I,y]),i(c,{ref:R,__css:A,...z,...E(),children:[i(e,{"data-disabled":t,"data-drag-accept":P,"data-drag-active":B,"data-drag-reject":$,"data-is-focused":T,"data-upload-error":f,role:"presentation",className:"container",children:[s(m,{uploadDisabled:t,isInvalid:f,uploadError:u,isDragActive:B,maxFiles:h}),s("input",{...M()}),s(a,{as:p,boxSize:20,color:t||f?"disabled":"primary",height:"80px",width:"80px"}),s(l,{fontWeight:"normal",mb:{base:"10px",lg:"10px",sm:"10px"},children:q}),s(l,{textAlign:{base:"center",lg:"left"},backgroundColor:B?O:N,gap:{base:"8px",lg:"8px",sm:"4px"},p:3,pl:5,w:"100%",children:_})]}),i("aside",{children:[s("div",{children:x.map((i=>s(d,{file:i,isFileUploaded:F?.includes(i)||!1,isFileUploadError:b?.includes(i.name)||!1,callback:()=>k(i)},i.name)))}),s("div",{children:I.map((i=>s(d,{file:i.file,isFileUploadError:!0,isFileUploaded:!1,rejectedFile:i,callback:()=>w(i),errorMessage:j(i,h,g,D)},i.file.name)))})]})]})}));export{f as FileUploader};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{forwardRef as n,Link as i,Flex as a,Icon as o}from"@chakra-ui/react";export{LinkOverlay}from"@chakra-ui/react";import{useFileIcon as s}from"../../helpers/customIcons.js";import{Text as l}from"../Text/index.js";const c=n(((t,n)=>{const{variant:s,linkIcon:l,children:c,...d}=t;return e(i,{size:{base:"sm",lg:"md"},ref:n,...d,variant:s,children:l?r(a,{alignItems:t.alignItems??"flex-start",children:[e(o,{"data-testid":"icon",as:l,mr:2,boxSize:6}),e("span",{children:c})]}):c})})),d=n(((r,t)=>e(i,{ref:t,...r}))),m=n(((n,a)=>{const{fileType:o,entryType:c,fileSize:d,children:m,href:p
|
|
1
|
+
import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{forwardRef as n,Link as i,Flex as a,Icon as o}from"@chakra-ui/react";export{LinkOverlay}from"@chakra-ui/react";import{useFileIcon as s}from"../../helpers/customIcons.js";import{Text as l}from"../Text/index.js";const c=n(((t,n)=>{const{variant:s,linkIcon:l,children:c,...d}=t;return e(i,{size:{base:"sm",lg:"md"},ref:n,...d,variant:s,children:l?r(a,{alignItems:t.alignItems??"flex-start",children:[e(o,{"data-testid":"icon",as:l,mr:2,boxSize:6}),e("span",{children:c})]}):c})})),d=n(((r,t)=>e(i,{ref:t,...r}))),m=n(((n,a)=>{const{fileType:o,entryType:c,fileSize:d,children:m,href:f,...p}=n,h=s(f||"");return r(t,{children:[r(i,{size:{base:"sm",lg:"md"},ref:a,...p,href:f,children:["embedded-entry-inline"===c&&h&&e(h,{mr:"1","aria-hidden":"true"}),m]}),o&&r(l,{as:"span",ml:"1",color:"captionColor",children:["(",o?.toUpperCase(),d?`, ${d.toUpperCase()}`:"",")"]})]})})),f=n(((r,t)=>{const{target:n,variant:i,...a}=r,o="string"==typeof r.children?r.children:"Link",s=r.title||o,l={...a,title:"_blank"===n?`${s} (opens in a new tab)`:s,ref:t,variant:i,target:n,"data-cta-variant":i,rel:"_blank"===n?"noopener noreferrer":void 0};switch(i){case"file":return e(m,{...l});case"footer":return e(d,{...l});default:return e(c,{...l})}}));export{f as Link};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/Link/index.tsx"],"sourcesContent":[null],"names":["Inline","forwardRef","props","ref","variant","linkIcon","children","rest","_jsx","ChakraLink","size","base","lg","_jsxs","Flex","alignItems","Icon","as","mr","boxSize","Footer","File","fileType","entryType","fileSize","href","FileIcon","useFileIcon","_Fragment","Text","ml","color","toUpperCase","Link","target","restProps","linkContents","linkTitle","title","linkProps","rel","undefined"],"mappings":"yRAoCA,MAAMA,EAASC,GAA2B,CAACC,EAAOC,KAChD,MAAMC,QAAEA,EAAOC,SAAEA,EAAQC,SAAEA,KAAaC,GAASL,EACjD,OACEM,EAACC,EAAU,CACTC,KAAM,CAAEC,KAAM,KAAMC,GAAI,MACxBT,IAAKA,KACDI,EACJH,QAASA,EAAOE,SAGfD,EACCQ,EAACC,GAAKC,WAAYb,EAAMa,YAAc,aAAYT,SAAA,CAChDE,EAACQ,EAAI,CAAA,cAAa,OAAOC,GAAIZ,EAAUa,GAAI,EAAGC,QAAS,IACvDX,EAAO,OAAA,CAAAF,SAAAA,UAKA,IAIXc,EAASnB,GAA2B,CAACC,EAAOC,IAChDK,EAACC,EAAW,CAAAN,IAAKA,KAASD,MAGtBmB,EAAOpB,GAA+B,CAACC,EAAOC,KAClD,MAAMmB,SAAEA,EAAQC,UAAEA,EAASC,SAAEA,EAAQlB,SAAEA,EAAQmB,KAAEA,KAASlB,GAASL,EAC7DwB,EAAWC,EAAYF,GAAQ,IACrC,OACEZ,EACEe,EAAA,CAAAtB,SAAA,CAAAO,EAACJ,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/Link/index.tsx"],"sourcesContent":[null],"names":["Inline","forwardRef","props","ref","variant","linkIcon","children","rest","_jsx","ChakraLink","size","base","lg","_jsxs","Flex","alignItems","Icon","as","mr","boxSize","Footer","File","fileType","entryType","fileSize","href","FileIcon","useFileIcon","_Fragment","Text","ml","color","toUpperCase","Link","target","restProps","linkContents","linkTitle","title","linkProps","rel","undefined"],"mappings":"yRAoCA,MAAMA,EAASC,GAA2B,CAACC,EAAOC,KAChD,MAAMC,QAAEA,EAAOC,SAAEA,EAAQC,SAAEA,KAAaC,GAASL,EACjD,OACEM,EAACC,EAAU,CACTC,KAAM,CAAEC,KAAM,KAAMC,GAAI,MACxBT,IAAKA,KACDI,EACJH,QAASA,EAAOE,SAGfD,EACCQ,EAACC,GAAKC,WAAYb,EAAMa,YAAc,aAAYT,SAAA,CAChDE,EAACQ,EAAI,CAAA,cAAa,OAAOC,GAAIZ,EAAUa,GAAI,EAAGC,QAAS,IACvDX,EAAO,OAAA,CAAAF,SAAAA,UAKA,IAIXc,EAASnB,GAA2B,CAACC,EAAOC,IAChDK,EAACC,EAAW,CAAAN,IAAKA,KAASD,MAGtBmB,EAAOpB,GAA+B,CAACC,EAAOC,KAClD,MAAMmB,SAAEA,EAAQC,UAAEA,EAASC,SAAEA,EAAQlB,SAAEA,EAAQmB,KAAEA,KAASlB,GAASL,EAC7DwB,EAAWC,EAAYF,GAAQ,IACrC,OACEZ,EACEe,EAAA,CAAAtB,SAAA,CAAAO,EAACJ,EACC,CAAAC,KAAM,CAAEC,KAAM,KAAMC,GAAI,MACxBT,IAAKA,KACDI,EACJkB,KAAMA,YAES,0BAAdF,GAAyCG,GACxClB,EAACkB,EAAS,CAAAR,GAAG,IAAG,cAAa,SAE9BZ,KAEFgB,GACCT,EAACgB,EAAK,CAAAZ,GAAG,OAAOa,GAAG,IAAIC,MAAM,eACzBzB,SAAA,CAAA,IAAAgB,GAAUU,cACXR,EAAW,KAAKA,EAASQ,gBAAkB,YAG/C,IAIDC,EAAOhC,GAAqC,CAACC,EAAOC,KACxD,MAAM+B,OAAEA,EAAM9B,QAAEA,KAAY+B,GAAcjC,EACpCkC,EACsB,iBAAnBlC,EAAMI,SAAwBJ,EAAMI,SAAW,OAClD+B,EAAYnC,EAAMoC,OAASF,EAI3BG,EAAY,IACbJ,EACHG,MAJW,WAAXJ,EAAsB,GAAGG,yBAAmCA,EAK5DlC,MACAC,UACA8B,SACA,mBAAoB9B,EACpBoC,IAAgB,WAAXN,EAAsB,2BAAwBO,GAGrD,OAAQrC,GACN,IAAK,OACH,OAAOI,EAACa,EAAS,IAAAkB,IACnB,IAAK,SACH,OAAO/B,EAACY,EAAW,IAAAmB,IACrB,QACE,OAAO/B,EAACR,EAAW,IAAAuC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r,{createElement as e}from"react";import{jsx as i,jsxs as t}from"react/jsx-runtime";import{ArrowDownIcon as n}from"@chakra-ui/icons";import{forwardRef as
|
|
1
|
+
import r,{createElement as e}from"react";import{jsx as i,jsxs as t}from"react/jsx-runtime";import{ArrowDownIcon as n}from"@chakra-ui/icons";import{forwardRef as c,List as o,ListItem as a,ListIcon as s}from"@chakra-ui/react";export{List,ListIcon,ListItem,OrderedList,UnorderedList}from"@chakra-ui/react";const l=c(((r,e)=>{const{children:t,...n}=r;return i(o,{ref:e,variant:"checklist",spacing:{base:"3",lg:"4"},...n,children:t})})),m=c(((t,n)=>{const{children:c,as:o,iconAlignment:m="top",...d}=t,h=r.Children.toArray(c);return i(l,{ref:n,children:h.map(((r,t)=>e(a,{alignItems:"center"===m?"center":"flex-start",display:"flex",...d,key:`check-list-icon-${t}`},i(s,{boxSize:{base:6,lg:8},marginInlineEnd:{base:3,lg:4},color:"tertiary",as:o}),r)))})})),d=c(((r,e)=>{const{children:c,...o}=r;return t(a,{ref:e,...o,children:[i(s,{as:n,boxSize:6,marginInlineEnd:2,color:"listIconPrimaryColor"}),c]})}));export{d as ArrowDownListItem,m as CheckList,l as CheckListUL};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/List/index.tsx"],"sourcesContent":[null],"names":["CheckListUL","forwardRef","props","ref","children","rest","_jsx","List","variant","spacing","base","lg","CheckList","as","childrenList","React","Children","toArray","map","list","index","_createElement","ListItem","display","key","ListIcon","boxSize","marginInlineEnd","color","ArrowDownListItem","_jsxs","ArrowDownIcon"],"mappings":"+
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/List/index.tsx"],"sourcesContent":[null],"names":["CheckListUL","forwardRef","props","ref","children","rest","_jsx","List","variant","spacing","base","lg","CheckList","as","iconAlignment","childrenList","React","Children","toArray","map","list","index","_createElement","ListItem","alignItems","display","key","ListIcon","boxSize","marginInlineEnd","color","ArrowDownListItem","_jsxs","ArrowDownIcon"],"mappings":"+SAkBM,MAAAA,EAAcC,GAA4B,CAACC,EAAOC,KACtD,MAAMC,SAAEA,KAAaC,GAASH,EAC9B,OACEI,EAACC,EAAI,CACHJ,IAAKA,EACLK,QAAQ,YACRC,QAAS,CAAEC,KAAM,IAAKC,GAAI,QACtBN,EAAID,SAEPA,GACI,IAILQ,EAAYX,GAAqC,CAACC,EAAOC,KAC7D,MAAMC,SAAEA,EAAQS,GAAEA,EAAEC,cAAEA,EAAgB,SAAUT,GAASH,EACnDa,EAAeC,EAAMC,SAASC,QAAQd,GAE5C,OACEE,EAACN,EAAW,CAACG,IAAKA,WACfY,EAAaI,KAAI,CAACC,EAAMC,IACvBC,EAACC,EAAQ,CACPC,WAA8B,WAAlBV,EAA6B,SAAW,aACpDW,QAAQ,UACJpB,EACJqB,IAAK,mBAAmBL,KAExBf,EAACqB,EAAQ,CACPC,QAAS,CAAElB,KAAM,EAAGC,GAAI,GACxBkB,gBAAiB,CAAEnB,KAAM,EAAGC,GAAI,GAChCmB,MAAM,WACNjB,GAAIA,IAELO,MAGO,IAIZW,EAAoB9B,GAAgC,CAACC,EAAOC,KAChE,MAAMC,SAAEA,KAAaC,GAASH,EAC9B,OACE8B,EAACT,EAAQ,CAACpB,IAAKA,KAASE,EACtBD,SAAA,CAAAE,EAACqB,EAAQ,CACPd,GAAIoB,EACJL,QAAS,EACTC,gBAAiB,EACjBC,MAAM,yBAEP1B,IACQ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as n}from"react/jsx-runtime";import{forwardRef as i,useBreakpointValue as t,Box as o,UnorderedList as r,Flex as a,Portal as d,Container as l,Link as s}from"@chakra-ui/react";import c,{useEffect as m}from"react";import{Button as h}from"../Button/index.js";import{IconButton as g}from"../Button/IconButton.js";import"../Flex/index.js";import{Heading as p}from"../Heading/index.js";import"../Icon/index.js";import{ArrowDownListItem as f}from"../List/index.js";import{ChevronUpIcon as u,ChevronDownIcon as
|
|
1
|
+
import{jsx as e,jsxs as n}from"react/jsx-runtime";import{forwardRef as i,useBreakpointValue as t,Box as o,UnorderedList as r,Flex as a,Portal as d,Container as l,Link as s}from"@chakra-ui/react";import c,{useEffect as m}from"react";import{Button as h}from"../Button/index.js";import{IconButton as g}from"../Button/IconButton.js";import"../Flex/index.js";import{Heading as p}from"../Heading/index.js";import"../Icon/index.js";import{ArrowDownListItem as f}from"../List/index.js";import{ChevronUpIcon as u,ChevronDownIcon as x,ArrowUpIcon as b}from"@chakra-ui/icons";const y=i(((i,y)=>{const{children:j,...w}=i,[k,v]=c.useState(!1),[I,S]=c.useState(!1),T=c.Children.toArray(j),B=t({base:5,lg:8},{fallback:"md"}),C=T.slice(0,k?T.length:B),E="OnThisPage-container";return m((()=>{const e=()=>{const e=document.getElementById(E);if(!e)throw new Error("Could not find OnThisPage component");S(window.scrollY>e.offsetTop+e.offsetHeight)};return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]),e(o,{paddingTop:{base:4,md:8,lg:10},ref:y,"data-testid":E,id:E,children:n(o,{backgroundColor:"onThisPagePrimaryBg",padding:{base:4,md:6,lg:8},...w,children:[n("nav",{children:[e(p,{fontSize:{base:"headings.sm",lg:"headings.lg"},lineHeight:{base:"headings.sm",lg:"headings.lg"},display:"flex",pb:4,children:"On this page"}),e(r,{marginInlineStart:0,paddingInlineStart:0,sx:{li:{display:"flex",paddingBottom:2,alignItems:"center"}},styleType:"none",children:C.map(((n,i)=>e(f,{children:n},i)))})]}),B&&T.length>B&&e(a,{justifyContent:"flex-end",children:e(h,{mt:4,variant:"linkNoDecoration",rightIcon:e(k?u:x,{boxSize:6}),onClick:()=>v(!k),children:k?"Show less":"Show all"})}),I&&e(d,{children:e(a,{justifyContent:"center",pointerEvents:"none",children:e(l,{position:"fixed",bottom:{base:4,md:20},children:e(a,{justifyContent:"end",paddingRight:{base:4,md:8},children:e(o,{pointerEvents:"auto",zIndex:"sticky",position:"relative",children:e(s,{href:`#${E}`,children:e(g,{icon:e(b,{}),variant:"backToTop","aria-label":"Back to top"})})})})})})})]})})}));export{y as OnThisPageHeadings};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/OnThisPage/index.tsx"],"sourcesContent":[null],"names":["OnThisPageHeadings","forwardRef","props","ref","children","rest","shouldShowAll","setShouldShowAll","React","useState","showBackToTop","setShowBackToTop","headings","Children","toArray","noOfHeadings","useBreakpointValue","base","lg","fallback","displayHeadings","slice","length","boxId","useEffect","handleScroll","box","document","getElementById","Error","window","scrollY","offsetTop","offsetHeight","addEventListener","removeEventListener","_jsx","Box","paddingTop","md","id","_jsxs","backgroundColor","padding","Heading","fontSize","lineHeight","display","pb","UnorderedList","marginInlineStart","paddingInlineStart","sx","li","paddingBottom","alignItems","styleType","map","heading","index","ArrowDownListItem","Flex","justifyContent","Button","mt","variant","rightIcon","ChevronUpIcon","ChevronDownIcon","boxSize","onClick","Portal","Container","position","bottom","paddingRight","Link","href","IconButton","icon","ArrowUpIcon"],"mappings":"qjBAsBM,MAAAA,EAAqBC,GAAmC,CAACC,EAAOC,KACpE,MAAMC,SAAEA,KAAaC,GAASH,GAEvBI,EAAeC,GAAoBC,EAAMC,UAAS,IAClDC,EAAeC,GAAoBH,EAAMC,UAAS,GAEnDG,EAAWJ,EAAMK,SAASC,QAAQV,GAElCW,EAAeC,EACnB,CACEC,KAAM,EACNC,GAAI,GAEN,CAAEC,SAAU,OAGRC,EAAkBR,EAASS,MAC/B,EACAf,EAAgBM,EAASU,OAASP,GAI9BQ,EAAQ,uBAsBd,OApBAC,GAAU,KACR,MAAMC,EAAe,KACnB,MAAMC,EAAMC,SAASC,eAAeL,GAEpC,IAAKG,EACH,MAAM,IAAIG,MAAM,uCAGlBlB,EAAiBmB,OAAOC,QAAUL,EAAIM,UAAYN,EAAIO,aAAa,EAOrE,OAFAR,IACAK,OAAOI,iBAAiB,SAAUT,GAC3B,KACLK,OAAOK,oBAAoB,SAAUV,EAAa,CACnD,GACA,IAGDW,EAACC,EAAG,CACFC,WAAY,CAAErB,KAAM,EAAGsB,GAAI,EAAGrB,GAAI,IAClCf,IAAKA,EACQ,cAAAoB,EACbiB,GAAIjB,EAEJnB,SAAAqC,EAACJ,EACC,CAAAK,gBAAgB,sBAChBC,QAAS,CAAE1B,KAAM,EAAGsB,GAAI,EAAGrB,GAAI,MAC3Bb,EAAID,SAAA,CAERqC,mBACEL,EAACQ,GACCC,SAAU,CAAE5B,KAAM,cAAeC,GAAI,eACrC4B,WAAY,CAAE7B,KAAM,cAAeC,GAAI,eACvC6B,QAAQ,OACRC,GAAI,EAGI5C,SAAA,iBACVgC,EAACa,EAAa,CACZC,kBAAmB,EACnBC,mBAAoB,EACpBC,GAAI,CACFC,GAAI,CAAEN,QAAS,OAAQO,cAAe,EAAGC,WAAY,WAEvDC,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/OnThisPage/index.tsx"],"sourcesContent":[null],"names":["OnThisPageHeadings","forwardRef","props","ref","children","rest","shouldShowAll","setShouldShowAll","React","useState","showBackToTop","setShowBackToTop","headings","Children","toArray","noOfHeadings","useBreakpointValue","base","lg","fallback","displayHeadings","slice","length","boxId","useEffect","handleScroll","box","document","getElementById","Error","window","scrollY","offsetTop","offsetHeight","addEventListener","removeEventListener","_jsx","Box","paddingTop","md","id","_jsxs","backgroundColor","padding","Heading","fontSize","lineHeight","display","pb","UnorderedList","marginInlineStart","paddingInlineStart","sx","li","paddingBottom","alignItems","styleType","map","heading","index","ArrowDownListItem","Flex","justifyContent","Button","mt","variant","rightIcon","ChevronUpIcon","ChevronDownIcon","boxSize","onClick","Portal","pointerEvents","Container","position","bottom","paddingRight","zIndex","Link","href","IconButton","icon","ArrowUpIcon"],"mappings":"qjBAsBM,MAAAA,EAAqBC,GAAmC,CAACC,EAAOC,KACpE,MAAMC,SAAEA,KAAaC,GAASH,GAEvBI,EAAeC,GAAoBC,EAAMC,UAAS,IAClDC,EAAeC,GAAoBH,EAAMC,UAAS,GAEnDG,EAAWJ,EAAMK,SAASC,QAAQV,GAElCW,EAAeC,EACnB,CACEC,KAAM,EACNC,GAAI,GAEN,CAAEC,SAAU,OAGRC,EAAkBR,EAASS,MAC/B,EACAf,EAAgBM,EAASU,OAASP,GAI9BQ,EAAQ,uBAsBd,OApBAC,GAAU,KACR,MAAMC,EAAe,KACnB,MAAMC,EAAMC,SAASC,eAAeL,GAEpC,IAAKG,EACH,MAAM,IAAIG,MAAM,uCAGlBlB,EAAiBmB,OAAOC,QAAUL,EAAIM,UAAYN,EAAIO,aAAa,EAOrE,OAFAR,IACAK,OAAOI,iBAAiB,SAAUT,GAC3B,KACLK,OAAOK,oBAAoB,SAAUV,EAAa,CACnD,GACA,IAGDW,EAACC,EAAG,CACFC,WAAY,CAAErB,KAAM,EAAGsB,GAAI,EAAGrB,GAAI,IAClCf,IAAKA,EACQ,cAAAoB,EACbiB,GAAIjB,EAEJnB,SAAAqC,EAACJ,EACC,CAAAK,gBAAgB,sBAChBC,QAAS,CAAE1B,KAAM,EAAGsB,GAAI,EAAGrB,GAAI,MAC3Bb,EAAID,SAAA,CAERqC,mBACEL,EAACQ,GACCC,SAAU,CAAE5B,KAAM,cAAeC,GAAI,eACrC4B,WAAY,CAAE7B,KAAM,cAAeC,GAAI,eACvC6B,QAAQ,OACRC,GAAI,EAGI5C,SAAA,iBACVgC,EAACa,EAAa,CACZC,kBAAmB,EACnBC,mBAAoB,EACpBC,GAAI,CACFC,GAAI,CAAEN,QAAS,OAAQO,cAAe,EAAGC,WAAY,WAEvDC,UAAU,OAAMpD,SAEfgB,EAAgBqC,KAAI,CAACC,EAASC,IAC7BvB,EAACwB,EAA+B,CAAAxD,SAAAsD,GAARC,UAI7B5C,GAAgBH,EAASU,OAASP,GACjCqB,EAACyB,EAAI,CAACC,eAAe,oBACnB1B,EAAC2B,EACC,CAAAC,GAAI,EACJC,QAAQ,mBACRC,UAEI9B,EADF9B,EACG6D,EAEAC,EAFc,CAAAC,QAAS,IAK5BC,QArEU,IAAM/D,GAAkBD,GAqEZF,SAErBE,EAAgB,YAAc,eAIpCI,GACC0B,EAACmC,YACCnC,EAACyB,GAAKC,eAAe,SAASU,cAAc,OAC1CpE,SAAAgC,EAACqC,EAAU,CAAAC,SAAS,QAAQC,OAAQ,CAAE1D,KAAM,EAAGsB,GAAI,IACjDnC,SAAAgC,EAACyB,EAAI,CAACC,eAAe,MAAMc,aAAc,CAAE3D,KAAM,EAAGsB,GAAI,YACtDH,EAACC,GAAImC,cAAc,OAAOK,OAAO,SAASH,SAAS,WAAUtE,SAC3DgC,EAAC0C,EAAI,CAACC,KAAM,IAAIxD,IACdnB,SAAAgC,EAAC4C,EACC,CAAAC,KAAM7C,EAAC8C,MACPjB,QAAQ,YACG,aAAA,gCAUzB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as i,jsxs as t}from"react/jsx-runtime";import{forwardRef as s,OrderedList as o,ListItem as c,Container as n,AccordionItem as r,AccordionButton as e,Box as a,AccordionIcon as p,AccordionPanel as m}from"@chakra-ui/react";import"../../static/icons/1in4.js";import"../../static/icons/2in4.js";import"../../static/icons/3in4.js";import"../../static/icons/4in4.js";import"../../static/icons/adult.js";import"../../static/icons/alert.js";import"../../static/icons/apple.js";import"../../static/icons/arrowDown.js";import l from"../../static/icons/arrowReturnUp.js";import"../../static/icons/arrowUp.js";import"../../static/icons/bagdrop.js";import"../../static/icons/checkCircle.js";import"../../static/icons/children.js";import"../../static/icons/clock.js";import"../../static/icons/cloudUpload.js";import"../../static/icons/cross.js";import"../../static/icons/date.js";import"../../static/icons/directDebit.js";import"../../static/icons/dogs.js";import"../../static/icons/email.js";import"../../static/icons/facebook.js";import"../../static/icons/
|
|
1
|
+
import{jsx as i,jsxs as t}from"react/jsx-runtime";import{forwardRef as s,OrderedList as o,ListItem as c,Container as n,AccordionItem as r,AccordionButton as e,Box as a,AccordionIcon as p,AccordionPanel as m}from"@chakra-ui/react";import"../../static/icons/1in4.js";import"../../static/icons/2in4.js";import"../../static/icons/3in4.js";import"../../static/icons/4in4.js";import"../../static/icons/adult.js";import"../../static/icons/alert.js";import"../../static/icons/apple.js";import"../../static/icons/arrowDown.js";import l from"../../static/icons/arrowReturnUp.js";import"../../static/icons/arrowUp.js";import"../../static/icons/bagdrop.js";import"../../static/icons/bluesky.js";import"../../static/icons/checkCircle.js";import"../../static/icons/children.js";import"../../static/icons/clock.js";import"../../static/icons/cloudUpload.js";import"../../static/icons/cross.js";import"../../static/icons/date.js";import"../../static/icons/directDebit.js";import"../../static/icons/dogs.js";import"../../static/icons/email.js";import"../../static/icons/facebook.js";import"../../static/icons/fileIcons/audioFileIcon.js";import"../../static/icons/fileIcons/codeIcon.js";import"../../static/icons/fileIcons/excelFileIcon.js";import"../../static/icons/fileIcons/imageFileIcon.js";import"../../static/icons/fileIcons/pdfFileIcon.js";import"../../static/icons/fileIcons/printIcon.js";import"../../static/icons/fileIcons/videoFileIcon.js";import"../../static/icons/fileIcons/wordFileIcon.js";import"../../static/icons/fileIcons/zipFileIcon.js";import"../../static/icons/fundraisingRegulator.js";import"../../static/icons/googlePay.js";import"../../static/icons/heart.js";import"../../static/icons/heartSu2c.js";import"../../static/icons/info.js";import"../../static/icons/instagram.js";import"../../static/icons/linkedin.js";import"../../static/icons/masterCard.js";import"../../static/icons/microscope.js";import"../../static/icons/newsletter.js";import"../../static/icons/ovarian.js";import"../../static/icons/parking.js";import"../../static/icons/pause.js";import"../../static/icons/payPal.js";import"../../static/icons/pdf.js";import"../../static/icons/people.js";import"../../static/icons/phone.js";import"../../static/icons/play.js";import"../../static/icons/plus.js";import"../../static/icons/plusSu2c.js";import"../../static/icons/pound.js";import"../../static/icons/pushchair.js";import"../../static/icons/quote.js";import"../../static/icons/refreshments.js";import"../../static/icons/royalties-grants.js";import"../../static/icons/share.js";import"../../static/icons/shower.js";import"../../static/icons/speechBubble.js";import"../../static/icons/success.js";import"../../static/icons/thumbsUp.js";import"../../static/icons/thumbsUpSu2.js";import"../../static/icons/tikTok.js";import"../../static/icons/toilets.js";import"../../static/icons/twitter.js";import"../../static/icons/venue.js";import"../../static/icons/visa.js";import"../../static/icons/whatsApp.js";import"../../static/icons/wheelchairs.js";import"../../static/icons/youTube.js";import"@chakra-ui/icons";import{Accordion as j}from"../Accordion/index.js";import{Heading2 as d}from"../Heading/index.js";import{Link as f}from"../Link/index.js";import"../List/index.js";const h=s((({referenceEntries:s},n)=>i(o,{ref:n,spacing:4,pl:6,ml:6,children:s&&s.map(((s,o)=>t(c,{fontSize:"md",position:"relative",children:[i(f,{href:s.contentLink,linkIcon:l,variant:"reference",title:`Link to reference ${o+1}`,"data-testid":"reference-link"}),s.text]},s.id)))}))),u=s(((s,o)=>{const{title:c,referenceEntries:l,hideDivider:f,...u}=s;return t(n,{ref:o,p:0,...u,children:[t(n,{p:0,display:{base:"none",md:"block"},children:[i(d,{mb:2,children:c}),i(h,{referenceEntries:l})]}),i(j,{allowToggle:!0,display:{base:"block",md:"none"},children:t(r,{border:"none",children:[i(e,{id:"accordion-button",borderBottomWidth:f?0:void 0,paddingLeft:0,paddingRight:0,_hover:{backgroundColor:"unset"},border:"none",children:t(a,{as:"span",flex:"1",textAlign:"left",borderBottomWidth:f?0:"2px !important",borderColor:"black",display:"flex",flexDir:"row",justifyContent:"space-between",alignItems:"center",children:[i(d,{pb:2,children:c}),i(p,{})]})}),i(m,{id:"accordion-panel",fontFamily:"inherit",paddingLeft:0,paddingRight:0,children:i(h,{referenceEntries:l})})]})})]})}));export{h as ReferenceBlock,u as ReferenceBlockContainer};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";export{AccordionButton,AccordionIcon,AccordionItem,AccordionPanel,AvatarBadge,AvatarGroup,Box,BreadcrumbItem,ButtonGroup,ChakraBaseProvider,Container,Flex,FormControl,FormErrorMessage,FormHelperText,Grid,GridItem,HStack,InputAddon,InputGroup,InputLeftAddon,InputLeftElement,InputRightAddon,InputRightElement,LinkOverlay,List,ListIcon,ListItem,OrderedList,PopoverAnchor,PopoverArrow,PopoverBody,PopoverCloseButton,PopoverContent,PopoverFooter,PopoverHeader,PopoverTrigger,Portal,Radio,RadioGroup,Select,SimpleGrid,Stack,Tab,TabList,TabPanel,TabPanels,TableContainer,Tag,Tbody,Td,Textarea,Th,Thead,Tr,UnorderedList,VStack,VisuallyHidden,Wrap,WrapItem,extendBaseTheme}from"@chakra-ui/react";export{default as crukBrand}from"./theme/cruk/index.js";export{default as r4lBrand}from"./theme/r4l/index.js";export{default as su2cBrand}from"./theme/su2c/index.js";export{Accordion}from"./components/Accordion/index.js";export{AlertBanner}from"./components/AlertBanner/index.js";export{Avatar}from"./components/Avatar/index.js";export{Badge}from"./components/Badge/index.js";export{Breadcrumb,BreadcrumbLink}from"./components/Breadcrumb/index.js";export{Button}from"./components/Button/index.js";export{Card,CardStack}from"./components/Card/index.js";export{Checkbox,CheckboxGroup}from"./components/Checkbox/index.js";export{CircleDevice}from"./components/CircleDevice/index.js";export{CTABanner}from"./components/CTABanner/index.js";export{default as DatePicker}from"./components/DatePicker/index.js";export{DonateWidget}from"./components/DonateWidget/index.js";export{FileUploader}from"./components/FileUploader/index.js";export{Footer}from"./components/Footer/index.js";export{Footnote}from"./components/Footnote/index.js";import"./components/FormControl/index.js";export{FormField}from"./components/FormField/index.js";export{GoogleMapEmbed}from"./components/GoogleMapEmbed/index.js";export{Heading,Heading1,Heading2,Heading3,Heading4,Heading5,Heading6}from"./components/Heading/index.js";export{Image}from"./components/Image/index.js";export{Input}from"./components/Input/index.js";export{Link}from"./components/Link/index.js";export{ArrowDownListItem,CheckList,CheckListUL}from"./components/List/index.js";export{Loader}from"./components/Loader/index.js";export{LogoGroup}from"./components/LogoGroup/index.js";export{Navigation}from"./components/Navigation/index.js";export{NumberInput}from"./components/NumberInput/index.js";export{ParagraphWithMedia}from"./components/ParagraphWithMedia/index.js";export{Popover}from"./components/PopOver/index.js";export{PopoverAlert}from"./components/PopoverAlert/index.js";export{ProgressBar}from"./components/ProgressBar/index.js";import"./components/Radio/index.js";export{RadioConsent}from"./components/RadioConsent/index.js";export{ReferenceBlock,ReferenceBlockContainer}from"./components/ReferenceBlock/index.js";export{RichHeader}from"./components/RichHeader/index.js";export{SideNav}from"./components/SideNav/index.js";export{SimpleHeader}from"./components/SimpleHeader/index.js";export{SocialProof}from"./components/SocialProof/index.js";export{Stepper}from"./components/Stepper/index.js";export{StickyNavigation}from"./components/StickyNavigation/index.js";export{Tabs}from"./components/Tabs/index.js";export{Text}from"./components/Text/index.js";export{default as TextareaWithWordCount}from"./components/TextareaInput/TextareaWithWordCount.js";export{TextTruncate}from"./components/TextTruncate/index.js";export{ToggleGroup}from"./components/Toggle/index.js";export{Totaliser}from"./components/Totaliser/index.js";export{Video}from"./components/Video/index.js";export{VimeoEmbed}from"./components/VimeoEmbed/index.js";export{YouTubeEmbed}from"./components/YouTubeEmbed/index.js";export{Divider}from"./components/Divider/index.js";import"./components/Flex/index.js";export{Icon}from"./components/Icon/index.js";export{SingleStatistics}from"./components/KeyStatistics/index.js";export{OnThisPageHeadings}from"./components/OnThisPage/index.js";export{SpotifyEmbed}from"./components/SpotifyEmbed/index.js";export{Table}from"./components/Table/index.js";export{default as OneInFour}from"./static/icons/1in4.js";export{default as TwoInFour}from"./static/icons/2in4.js";export{default as ThreeInFour}from"./static/icons/3in4.js";export{default as FourInFour}from"./static/icons/4in4.js";export{Adult}from"./static/icons/adult.js";export{default as Alert}from"./static/icons/alert.js";export{default as Apple}from"./static/icons/apple.js";export{default as ArrowDown}from"./static/icons/arrowDown.js";export{default as ArrowReturnUpIcon}from"./static/icons/arrowReturnUp.js";export{default as ArrowUp}from"./static/icons/arrowUp.js";export{Bagdrop}from"./static/icons/bagdrop.js";export{default as CheckCircle}from"./static/icons/checkCircle.js";export{Children}from"./static/icons/children.js";export{Clock}from"./static/icons/clock.js";export{default as CloudUpload}from"./static/icons/cloudUpload.js";export{default as Cross}from"./static/icons/cross.js";export{Date}from"./static/icons/date.js";export{default as DirectDebit}from"./static/icons/directDebit.js";export{Dogs}from"./static/icons/dogs.js";export{default as EmailIcon}from"./static/icons/email.js";export{default as Facebook}from"./static/icons/facebook.js";export{default as
|
|
1
|
+
"use client";export{AccordionButton,AccordionIcon,AccordionItem,AccordionPanel,AvatarBadge,AvatarGroup,Box,BreadcrumbItem,ButtonGroup,ChakraBaseProvider,Container,Flex,FormControl,FormErrorMessage,FormHelperText,Grid,GridItem,HStack,IconButton,InputAddon,InputGroup,InputLeftAddon,InputLeftElement,InputRightAddon,InputRightElement,LinkOverlay,List,ListIcon,ListItem,Menu,MenuButton,MenuItem,MenuList,OrderedList,PopoverAnchor,PopoverArrow,PopoverBody,PopoverCloseButton,PopoverContent,PopoverFooter,PopoverHeader,PopoverTrigger,Portal,Radio,RadioGroup,Select,SimpleGrid,Stack,Tab,TabList,TabPanel,TabPanels,TableContainer,Tag,Tbody,Td,Textarea,Th,Thead,Tooltip,Tr,UnorderedList,VStack,VisuallyHidden,Wrap,WrapItem,extendBaseTheme}from"@chakra-ui/react";export{default as crukBrand}from"./theme/cruk/index.js";export{default as r4lBrand}from"./theme/r4l/index.js";export{default as su2cBrand}from"./theme/su2c/index.js";export{Accordion}from"./components/Accordion/index.js";export{AlertBanner}from"./components/AlertBanner/index.js";export{Avatar}from"./components/Avatar/index.js";export{Badge}from"./components/Badge/index.js";export{Breadcrumb,BreadcrumbLink}from"./components/Breadcrumb/index.js";export{Button}from"./components/Button/index.js";export{Card,CardStack}from"./components/Card/index.js";export{Checkbox,CheckboxGroup}from"./components/Checkbox/index.js";export{CircleDevice}from"./components/CircleDevice/index.js";export{CTABanner}from"./components/CTABanner/index.js";export{default as DatePicker}from"./components/DatePicker/index.js";export{DonateWidget}from"./components/DonateWidget/index.js";export{FileUploader}from"./components/FileUploader/index.js";export{Footer}from"./components/Footer/index.js";export{Footnote}from"./components/Footnote/index.js";import"./components/FormControl/index.js";export{FormField}from"./components/FormField/index.js";export{GoogleMapEmbed}from"./components/GoogleMapEmbed/index.js";export{Heading,Heading1,Heading2,Heading3,Heading4,Heading5,Heading6}from"./components/Heading/index.js";export{Image}from"./components/Image/index.js";export{Input}from"./components/Input/index.js";export{Link}from"./components/Link/index.js";export{ArrowDownListItem,CheckList,CheckListUL}from"./components/List/index.js";export{Loader}from"./components/Loader/index.js";export{LogoGroup}from"./components/LogoGroup/index.js";export{Navigation}from"./components/Navigation/index.js";export{NumberInput}from"./components/NumberInput/index.js";export{ParagraphWithMedia}from"./components/ParagraphWithMedia/index.js";export{Popover}from"./components/PopOver/index.js";export{PopoverAlert}from"./components/PopoverAlert/index.js";export{ProgressBar}from"./components/ProgressBar/index.js";import"./components/Radio/index.js";export{RadioConsent}from"./components/RadioConsent/index.js";export{ReferenceBlock,ReferenceBlockContainer}from"./components/ReferenceBlock/index.js";export{RichHeader}from"./components/RichHeader/index.js";export{SideNav}from"./components/SideNav/index.js";export{SimpleHeader}from"./components/SimpleHeader/index.js";export{SocialProof}from"./components/SocialProof/index.js";export{Stepper}from"./components/Stepper/index.js";export{StickyNavigation}from"./components/StickyNavigation/index.js";export{Tabs}from"./components/Tabs/index.js";export{Text}from"./components/Text/index.js";export{default as TextareaWithWordCount}from"./components/TextareaInput/TextareaWithWordCount.js";export{TextTruncate}from"./components/TextTruncate/index.js";export{ToggleGroup}from"./components/Toggle/index.js";export{Totaliser}from"./components/Totaliser/index.js";export{Video}from"./components/Video/index.js";export{VimeoEmbed}from"./components/VimeoEmbed/index.js";export{YouTubeEmbed}from"./components/YouTubeEmbed/index.js";export{Divider}from"./components/Divider/index.js";import"./components/Flex/index.js";export{Icon}from"./components/Icon/index.js";export{SingleStatistics}from"./components/KeyStatistics/index.js";export{OnThisPageHeadings}from"./components/OnThisPage/index.js";export{SpotifyEmbed}from"./components/SpotifyEmbed/index.js";export{Table}from"./components/Table/index.js";export{AddIcon,ArrowBackIcon,ArrowDownIcon,ArrowForwardIcon,ArrowLeftIcon,ArrowRightIcon,ArrowUpIcon,AtSignIcon,AttachmentIcon,BellIcon,CalendarIcon,ChatIcon,CheckCircleIcon,CheckIcon,ChevronDownIcon,ChevronLeftIcon,ChevronRightIcon,ChevronUpIcon,CloseIcon,CopyIcon,DeleteIcon,DownloadIcon,DragHandleIcon,EditIcon,ExternalLinkIcon,HamburgerIcon,InfoIcon,InfoOutlineIcon,LinkIcon,LockIcon,MinusIcon,MoonIcon,NotAllowedIcon,PlusSquareIcon,QuestionIcon,QuestionOutlineIcon,ReactIcon,RepeatClockIcon,RepeatIcon,Search2Icon,SearchIcon,SettingsIcon,SmallAddIcon,SmallCloseIcon,SpinnerIcon,StarIcon,SunIcon,TimeIcon,TriangleDownIcon,TriangleUpIcon,UnlockIcon,UpDownIcon,ViewIcon,ViewOffIcon,WarningIcon,WarningTwoIcon}from"@chakra-ui/icons";export{default as OneInFour}from"./static/icons/1in4.js";export{default as TwoInFour}from"./static/icons/2in4.js";export{default as ThreeInFour}from"./static/icons/3in4.js";export{default as FourInFour}from"./static/icons/4in4.js";export{Adult}from"./static/icons/adult.js";export{default as Alert}from"./static/icons/alert.js";export{default as Apple}from"./static/icons/apple.js";export{default as ArrowDown}from"./static/icons/arrowDown.js";export{default as ArrowReturnUpIcon}from"./static/icons/arrowReturnUp.js";export{default as ArrowUp}from"./static/icons/arrowUp.js";export{Bagdrop}from"./static/icons/bagdrop.js";export{default as BlueSky}from"./static/icons/bluesky.js";export{default as CheckCircle}from"./static/icons/checkCircle.js";export{Children}from"./static/icons/children.js";export{Clock}from"./static/icons/clock.js";export{default as CloudUpload}from"./static/icons/cloudUpload.js";export{default as Cross}from"./static/icons/cross.js";export{Date}from"./static/icons/date.js";export{default as DirectDebit}from"./static/icons/directDebit.js";export{Dogs}from"./static/icons/dogs.js";export{default as EmailIcon}from"./static/icons/email.js";export{default as Facebook}from"./static/icons/facebook.js";export{default as AudioFileIcon}from"./static/icons/fileIcons/audioFileIcon.js";export{default as CodeIcon}from"./static/icons/fileIcons/codeIcon.js";export{default as ExcelFileIcon}from"./static/icons/fileIcons/excelFileIcon.js";export{default as ImageIcon}from"./static/icons/fileIcons/imageFileIcon.js";export{default as PdfFileIcon}from"./static/icons/fileIcons/pdfFileIcon.js";export{default as PrintIcon}from"./static/icons/fileIcons/printIcon.js";export{default as VideoFileIcon}from"./static/icons/fileIcons/videoFileIcon.js";export{default as WordFileIcon}from"./static/icons/fileIcons/wordFileIcon.js";export{default as ZipFileIcon}from"./static/icons/fileIcons/zipFileIcon.js";export{default as FundraisingRegulator}from"./static/icons/fundraisingRegulator.js";export{default as GooglePay}from"./static/icons/googlePay.js";export{default as Heart}from"./static/icons/heart.js";export{default as HeartSu2c}from"./static/icons/heartSu2c.js";export{default as Info}from"./static/icons/info.js";export{default as Instagram}from"./static/icons/instagram.js";export{default as LinkedIn}from"./static/icons/linkedin.js";export{default as MasterCard}from"./static/icons/masterCard.js";export{default as Microscope}from"./static/icons/microscope.js";export{default as Newsletter}from"./static/icons/newsletter.js";export{OvarianIcon}from"./static/icons/ovarian.js";export{Parking}from"./static/icons/parking.js";export{default as PauseIcon}from"./static/icons/pause.js";export{default as PayPal}from"./static/icons/payPal.js";export{default as PdfIcon}from"./static/icons/pdf.js";export{default as People}from"./static/icons/people.js";export{default as PhoneIcon}from"./static/icons/phone.js";export{default as PlayIcon}from"./static/icons/play.js";export{default as Plus}from"./static/icons/plus.js";export{default as PlusSu2c}from"./static/icons/plusSu2c.js";export{default as Pound}from"./static/icons/pound.js";export{Pushchair}from"./static/icons/pushchair.js";export{default as QuoteIcon}from"./static/icons/quote.js";export{Refreshments}from"./static/icons/refreshments.js";export{Royalties}from"./static/icons/royalties-grants.js";export{default as Share}from"./static/icons/share.js";export{Shower}from"./static/icons/shower.js";export{default as SpeechBubble}from"./static/icons/speechBubble.js";export{default as Success}from"./static/icons/success.js";export{default as ThumbsUp}from"./static/icons/thumbsUp.js";export{default as ThumbsUpSu2c}from"./static/icons/thumbsUpSu2.js";export{default as TikTok}from"./static/icons/tikTok.js";export{Toilets}from"./static/icons/toilets.js";export{default as X}from"./static/icons/twitter.js";export{Venue}from"./static/icons/venue.js";export{default as Visa}from"./static/icons/visa.js";export{default as WhatsApp}from"./static/icons/whatsApp.js";export{Wheelchairs}from"./static/icons/wheelchairs.js";export{default as YouTube}from"./static/icons/youTube.js";export{FormLabel}from"./components/FormControl/FormLabel.js";export{TwoBlockStatistics}from"./components/KeyStatistics/TwoBlockStatistics.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as OneInFour}from"./1in4.js";export{default as TwoInFour}from"./2in4.js";export{default as ThreeInFour}from"./3in4.js";export{default as FourInFour}from"./4in4.js";export{Adult}from"./adult.js";export{default as Alert}from"./alert.js";export{default as Apple}from"./apple.js";export{default as ArrowDown}from"./arrowDown.js";export{default as ArrowReturnUpIcon}from"./arrowReturnUp.js";export{default as ArrowUp}from"./arrowUp.js";export{Bagdrop}from"./bagdrop.js";export{default as CheckCircle}from"./checkCircle.js";export{Children}from"./children.js";export{Clock}from"./clock.js";export{default as CloudUpload}from"./cloudUpload.js";export{default as Cross}from"./cross.js";export{Date}from"./date.js";export{default as DirectDebit}from"./directDebit.js";export{Dogs}from"./dogs.js";export{default as EmailIcon}from"./email.js";export{default as Facebook}from"./facebook.js";export{default as
|
|
1
|
+
export{default as OneInFour}from"./1in4.js";export{default as TwoInFour}from"./2in4.js";export{default as ThreeInFour}from"./3in4.js";export{default as FourInFour}from"./4in4.js";export{Adult}from"./adult.js";export{default as Alert}from"./alert.js";export{default as Apple}from"./apple.js";export{default as ArrowDown}from"./arrowDown.js";export{default as ArrowReturnUpIcon}from"./arrowReturnUp.js";export{default as ArrowUp}from"./arrowUp.js";export{Bagdrop}from"./bagdrop.js";export{default as BlueSky}from"./bluesky.js";export{default as CheckCircle}from"./checkCircle.js";export{Children}from"./children.js";export{Clock}from"./clock.js";export{default as CloudUpload}from"./cloudUpload.js";export{default as Cross}from"./cross.js";export{Date}from"./date.js";export{default as DirectDebit}from"./directDebit.js";export{Dogs}from"./dogs.js";export{default as EmailIcon}from"./email.js";export{default as Facebook}from"./facebook.js";export{default as AudioFileIcon}from"./fileIcons/audioFileIcon.js";export{default as CodeIcon}from"./fileIcons/codeIcon.js";export{default as ExcelFileIcon}from"./fileIcons/excelFileIcon.js";export{default as ImageIcon}from"./fileIcons/imageFileIcon.js";export{default as PdfFileIcon}from"./fileIcons/pdfFileIcon.js";export{default as PrintIcon}from"./fileIcons/printIcon.js";export{default as VideoFileIcon}from"./fileIcons/videoFileIcon.js";export{default as WordFileIcon}from"./fileIcons/wordFileIcon.js";export{default as ZipFileIcon}from"./fileIcons/zipFileIcon.js";export{default as FundraisingRegulator}from"./fundraisingRegulator.js";export{default as GooglePay}from"./googlePay.js";export{default as Heart}from"./heart.js";export{default as HeartSu2c}from"./heartSu2c.js";export{default as Info}from"./info.js";export{default as Instagram}from"./instagram.js";export{default as LinkedIn}from"./linkedin.js";export{default as MasterCard}from"./masterCard.js";export{default as Microscope}from"./microscope.js";export{default as Newsletter}from"./newsletter.js";export{OvarianIcon}from"./ovarian.js";export{Parking}from"./parking.js";export{default as PauseIcon}from"./pause.js";export{default as PayPal}from"./payPal.js";export{default as PdfIcon}from"./pdf.js";export{default as People}from"./people.js";export{default as PhoneIcon}from"./phone.js";export{default as PlayIcon}from"./play.js";export{default as Plus}from"./plus.js";export{default as PlusSu2c}from"./plusSu2c.js";export{default as Pound}from"./pound.js";export{Pushchair}from"./pushchair.js";export{default as QuoteIcon}from"./quote.js";export{Refreshments}from"./refreshments.js";export{Royalties}from"./royalties-grants.js";export{default as Share}from"./share.js";export{Shower}from"./shower.js";export{default as SpeechBubble}from"./speechBubble.js";export{default as Success}from"./success.js";export{default as ThumbsUp}from"./thumbsUp.js";export{default as ThumbsUpSu2c}from"./thumbsUpSu2.js";export{default as TikTok}from"./tikTok.js";export{Toilets}from"./toilets.js";export{default as X}from"./twitter.js";export{Venue}from"./venue.js";export{default as Visa}from"./visa.js";export{default as WhatsApp}from"./whatsApp.js";export{Wheelchairs}from"./wheelchairs.js";export{default as YouTube}from"./youTube.js";export{AddIcon,ArrowBackIcon,ArrowDownIcon,ArrowForwardIcon,ArrowLeftIcon,ArrowRightIcon,ArrowUpIcon,AtSignIcon,AttachmentIcon,BellIcon,CalendarIcon,ChatIcon,CheckCircleIcon,CheckIcon,ChevronDownIcon,ChevronLeftIcon,ChevronRightIcon,ChevronUpIcon,CloseIcon,CopyIcon,DeleteIcon,DownloadIcon,DragHandleIcon,EditIcon,ExternalLinkIcon,HamburgerIcon,InfoIcon,InfoOutlineIcon,LinkIcon,LockIcon,MinusIcon,MoonIcon,NotAllowedIcon,PlusSquareIcon,QuestionIcon,QuestionOutlineIcon,ReactIcon,RepeatClockIcon,RepeatIcon,Search2Icon,SearchIcon,SettingsIcon,SmallAddIcon,SmallCloseIcon,SpinnerIcon,StarIcon,SunIcon,TimeIcon,TriangleDownIcon,TriangleUpIcon,UnlockIcon,UpDownIcon,ViewIcon,ViewOffIcon,WarningIcon,WarningTwoIcon}from"@chakra-ui/icons";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineStyleConfig as o}from"@chakra-ui/react";const t=o({baseStyle:{fontFamily:"body",fontWeight:"medium",borderRadius:0,px:6,py:3,fontSize:{base:"text.sm",lg:"text.md"}},variants:{primary:{color:"buttonPrimaryText",bg:"buttonPrimaryBackground",_hover:{bg:"buttonPrimaryBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_focus:{bg:"buttonPrimaryBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground",opacity:1}},primaryAlt:{color:"buttonPrimaryText",bg:"buttonPrimaryAltBackground",_hover:{bg:"buttonPrimaryAltBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_focus:{bg:"buttonPrimaryAltBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground",opacity:1}},secondary:{bg:"buttonSecondaryBackground",color:"buttonSecondaryText",outline:"1px solid",outlineColor:"buttonSecondaryBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline","& svg":{fontSize:"1.25rem"},_hover:{color:"buttonSecondaryTextHover",outlineColor:"buttonSecondaryBackgroundHover",bg:"buttonSecondaryBackgroundHover",_disabled:{color:"buttonSecondaryDisabledText"}},_focus:{bg:"buttonPrimaryBackground",color:"buttonPrimaryText",_disabled:{color:"buttonSecondaryDisabledText",bg:"buttonSecondaryDisabledBackground"}},_disabled:{color:"buttonSecondaryDisabledText",opacity:1,outlineColor:"buttonSecondaryDisabledBorder",_hover:{outlineColor:"buttonSecondaryDisabledBorder"}}},secondaryAlt:{bg:"buttonSecondaryAltBackground",color:"buttonSecondaryAltText",outline:"1px solid",outlineColor:"buttonSecondaryAltBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline",_hover:{color:"buttonSecondaryAltTextHover",outlineColor:"buttonSecondaryAltBackgroundHover",bg:"buttonSecondaryAltBackgroundHover",_disabled:{color:"buttonSecondaryDisabledText"}},_focus:{bg:"buttonPrimaryAltBackground",color:"buttonPrimaryText",_disabled:{color:"buttonSecondaryDisabledText",bg:"buttonSecondaryDisabledBackground"}},_disabled:{color:"buttonSecondaryDisabledText",opacity:1,outlineColor:"buttonSecondaryDisabledBorder",_hover:{outlineColor:"buttonSecondaryDisabledBorder"}}},alternative:{fontFamily:"body",fontWeight:"medium",bg:"buttonAlternativeBackground",color:"buttonAlternativeText",justifyContent:"space-between",textDecoration:"none",paddingInline:"0 !important",_hover:{color:"buttonAlternativeTextHover",_disabled:{color:"buttonAlternativeDisabledText",bg:"buttonAlternativeDisabledBackground"}},_disabled:{color:"buttonAlternativeDisabledText",bg:"buttonAlternativeDisabledBackground",opacity:1}},link:{fontFamily:"body",fontWeight:"medium",bg:"buttonLinkBackground",color:"buttonLinkText",padding:0,_hover:{textDecoration:"underline"}},linkNoDecoration:{fontFamily:"body",fontWeight:"medium",paddingInlineEnd:"0 !important",paddingInline:"0 !important",color:"buttonLinkText",padding:0,_hover:{textDecoration:"none"}},truncationControl:{fontFamily:"body",fontWeight:"black",textDecoration:"none",color:"truncateColor",display:"contents",padding:"0",width:"0",fontSize:{base:"text.sm",md:"text.sm",lg:"text.md",xl:"text.md"},lineHeight:{sm:"text.sm",md:"text.sm",lg:"text.md",xl:"text.md"},_visited:{color:"truncateColor"},_hover:{color:"truncateColorHover",textDecoration:"underline"}},toggle:{fontSize:{base:"text.sm",lg:"text.md"},display:"flex",justifyContent:"center",cursor:"pointer",bg:"buttonToggleBackground",color:"buttonToggleText",outline:"1px solid",outlineColor:"buttonToggleBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline",_hover:{bg:"buttonToggleBackgroundHover",color:"buttonToggleTextHover",outlineColor:"buttonToggleBackgroundHover",_disabled:{color:"buttonToggleDisabledText"}}},toggleSelected:{display:"flex",justifyContent:"center",cursor:"pointer",bg:"buttonToggleSelectedBackground",color:"buttonToggleSelectedText",outline:"1px solid",outlineColor:"buttonToggleSelectedBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline"},toggleDisabled:{cursor:"not-allowed",bg:"buttonToggleDisabledBackground",color:"buttonToggleDisabledText",outline:"1px solid",outlineColor:"buttonToggleDisabledBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline"},video:{bg:"buttonVideoBackground",color:"buttonVideoText",padding:4},citation:{color:"buttonCitationPrimary",_before:{content:'"["'},_after:{content:'"]"'},padding:0,margin:0,px:0,py:0,paddingInline:0,fontSize:"text.xs",fontFamily:"body",fontWeight:"semibold",_visited:{color:"buttonCitationPrimary",textDecoration:"none"},_hover:{color:"buttonCitationPrimary",textDecoration:"none",bg:"btnCitationBgPrimary"},_active:{color:"white",textDecoration:"none",bg:"buttonCitationPrimary"}},backToTop:{"> svg":{boxSize:{base:7,sm:10}},bg:"buttonPrimaryAltBackground",borderRadius:"full",boxSizing:"border-box",paddingInline:0,color:"white",boxShadow:{base:"2px 2px 6px rgba(0, 0, 0, 0.4)",sm:"none"},_active:{boxShadow:"none",bg:"buttonBackToTopHover"},_hover:{bg:"buttonBackToTopHover"},width:{base:"40px",sm:"56px"},height:{base:"40px",sm:"56px"}}},sizes:{md:{fontSize:{base:"text.sm",lg:"text.md"},lineHeight:"text.md",height:"auto",paddingInline:6},sm:{fontSize:"text.sm",lineHeight:"text.sm",height:"auto",paddingInline:6}},defaultProps:{variant:"primary"}});export{t as buttonTheme,t as default};
|
|
1
|
+
import{defineStyleConfig as o}from"@chakra-ui/react";const t=o({baseStyle:{fontFamily:"body",fontWeight:"medium",borderRadius:0,px:6,py:3,fontSize:{base:"text.sm",lg:"text.md"},whiteSpace:"normal"},variants:{primary:{color:"buttonPrimaryText",bg:"buttonPrimaryBackground",_hover:{bg:"buttonPrimaryBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_focus:{bg:"buttonPrimaryBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground",opacity:1}},primaryAlt:{color:"buttonPrimaryText",bg:"buttonPrimaryAltBackground",_hover:{bg:"buttonPrimaryAltBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_focus:{bg:"buttonPrimaryAltBackgroundHover",_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground"}},_disabled:{color:"buttonPrimaryDisabledText",bg:"buttonPrimaryDisabledBackground",opacity:1}},secondary:{bg:"buttonSecondaryBackground",color:"buttonSecondaryText",outline:"1px solid",outlineColor:"buttonSecondaryBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline","& svg":{fontSize:"1.25rem"},_hover:{color:"buttonSecondaryTextHover",outlineColor:"buttonSecondaryBackgroundHover",bg:"buttonSecondaryBackgroundHover",_disabled:{color:"buttonSecondaryDisabledText"}},_focus:{bg:"buttonPrimaryBackground",color:"buttonPrimaryText",_disabled:{color:"buttonSecondaryDisabledText",bg:"buttonSecondaryDisabledBackground"}},_disabled:{color:"buttonSecondaryDisabledText",opacity:1,outlineColor:"buttonSecondaryDisabledBorder",_hover:{outlineColor:"buttonSecondaryDisabledBorder"}}},secondaryAlt:{bg:"buttonSecondaryAltBackground",color:"buttonSecondaryAltText",outline:"1px solid",outlineColor:"buttonSecondaryAltBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline",_hover:{color:"buttonSecondaryAltTextHover",outlineColor:"buttonSecondaryAltBackgroundHover",bg:"buttonSecondaryAltBackgroundHover",_disabled:{color:"buttonSecondaryDisabledText"}},_focus:{bg:"buttonPrimaryAltBackground",color:"buttonPrimaryText",_disabled:{color:"buttonSecondaryDisabledText",bg:"buttonSecondaryDisabledBackground"}},_disabled:{color:"buttonSecondaryDisabledText",opacity:1,outlineColor:"buttonSecondaryDisabledBorder",_hover:{outlineColor:"buttonSecondaryDisabledBorder"}}},alternative:{fontFamily:"body",fontWeight:"medium",bg:"buttonAlternativeBackground",color:"buttonAlternativeText",justifyContent:"space-between",textDecoration:"none",paddingInline:"0 !important",_hover:{color:"buttonAlternativeTextHover",_disabled:{color:"buttonAlternativeDisabledText",bg:"buttonAlternativeDisabledBackground"}},_disabled:{color:"buttonAlternativeDisabledText",bg:"buttonAlternativeDisabledBackground",opacity:1}},link:{fontFamily:"body",fontWeight:"medium",bg:"buttonLinkBackground",color:"buttonLinkText",padding:0,_hover:{textDecoration:"underline"}},linkNoDecoration:{fontFamily:"body",fontWeight:"medium",paddingInlineEnd:"0 !important",paddingInline:"0 !important",color:"buttonLinkText",padding:0,_hover:{textDecoration:"none"}},truncationControl:{fontFamily:"body",fontWeight:"black",textDecoration:"none",color:"truncateColor",display:"contents",padding:"0",width:"0",fontSize:{base:"text.sm",md:"text.sm",lg:"text.md",xl:"text.md"},lineHeight:{sm:"text.sm",md:"text.sm",lg:"text.md",xl:"text.md"},_visited:{color:"truncateColor"},_hover:{color:"truncateColorHover",textDecoration:"underline"}},toggle:{fontSize:{base:"text.sm",lg:"text.md"},display:"flex",justifyContent:"center",cursor:"pointer",bg:"buttonToggleBackground",color:"buttonToggleText",outline:"1px solid",outlineColor:"buttonToggleBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline",_hover:{bg:"buttonToggleBackgroundHover",color:"buttonToggleTextHover",outlineColor:"buttonToggleBackgroundHover",_disabled:{color:"buttonToggleDisabledText"}}},toggleSelected:{display:"flex",justifyContent:"center",cursor:"pointer",bg:"buttonToggleSelectedBackground",color:"buttonToggleSelectedText",outline:"1px solid",outlineColor:"buttonToggleSelectedBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline"},toggleDisabled:{cursor:"not-allowed",bg:"buttonToggleDisabledBackground",color:"buttonToggleDisabledText",outline:"1px solid",outlineColor:"buttonToggleDisabledBorder",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, outline"},video:{bg:"buttonVideoBackground",color:"buttonVideoText",padding:4},citation:{color:"buttonCitationPrimary",_before:{content:'"["'},_after:{content:'"]"'},padding:0,margin:0,px:0,py:0,paddingInline:0,fontSize:"text.xs",fontFamily:"body",fontWeight:"semibold",_visited:{color:"buttonCitationPrimary",textDecoration:"none"},_hover:{color:"buttonCitationPrimary",textDecoration:"none",bg:"btnCitationBgPrimary"},_active:{color:"white",textDecoration:"none",bg:"buttonCitationPrimary"}},backToTop:{"> svg":{boxSize:{base:7,sm:10}},bg:"buttonPrimaryAltBackground",borderRadius:"full",boxSizing:"border-box",paddingInline:0,color:"white",boxShadow:{base:"2px 2px 6px rgba(0, 0, 0, 0.4)",sm:"none"},_active:{boxShadow:"none",bg:"buttonBackToTopHover"},_hover:{bg:"buttonBackToTopHover"},width:{base:"40px",sm:"56px"},height:{base:"40px",sm:"56px"}}},sizes:{md:{fontSize:{base:"text.sm",lg:"text.md"},lineHeight:"text.md",height:"auto",paddingInline:6},sm:{fontSize:"text.sm",lineHeight:"text.sm",height:"auto",paddingInline:6}},defaultProps:{variant:"primary"}});export{t as buttonTheme,t as default};
|
|
2
2
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../../src/theme/cruk/components/button.ts"],"sourcesContent":[null],"names":["buttonTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","borderRadius","px","py","fontSize","base","lg","variants","primary","color","bg","_hover","_disabled","_focus","opacity","primaryAlt","secondary","outline","outlineColor","transitionProperty","secondaryAlt","alternative","justifyContent","textDecoration","paddingInline","link","padding","linkNoDecoration","paddingInlineEnd","truncationControl","display","width","md","xl","lineHeight","sm","_visited","toggle","cursor","toggleSelected","toggleDisabled","video","citation","_before","content","_after","margin","_active","backToTop","boxSize","boxSizing","boxShadow","height","sizes","defaultProps","variant"],"mappings":"qDAEO,MAAMA,EAAcC,EAAkB,CAC3CC,UAAW,CACTC,WAAY,OACZC,WAAY,SACZC,aAAc,EACdC,GAAI,EACJC,GAAI,EACJC,SAAU,CAAEC,KAAM,UAAWC,GAAI,
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../../src/theme/cruk/components/button.ts"],"sourcesContent":[null],"names":["buttonTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","borderRadius","px","py","fontSize","base","lg","whiteSpace","variants","primary","color","bg","_hover","_disabled","_focus","opacity","primaryAlt","secondary","outline","outlineColor","transitionProperty","secondaryAlt","alternative","justifyContent","textDecoration","paddingInline","link","padding","linkNoDecoration","paddingInlineEnd","truncationControl","display","width","md","xl","lineHeight","sm","_visited","toggle","cursor","toggleSelected","toggleDisabled","video","citation","_before","content","_after","margin","_active","backToTop","boxSize","boxSizing","boxShadow","height","sizes","defaultProps","variant"],"mappings":"qDAEO,MAAMA,EAAcC,EAAkB,CAC3CC,UAAW,CACTC,WAAY,OACZC,WAAY,SACZC,aAAc,EACdC,GAAI,EACJC,GAAI,EACJC,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCC,WAAY,UAEdC,SAAU,CACRC,QAAS,CACPC,MAAO,oBACPC,GAAI,0BACJC,OAAQ,CACND,GAAI,+BACJE,UAAW,CACTH,MAAO,4BACPC,GAAI,oCAGRG,OAAQ,CACNH,GAAI,+BACJE,UAAW,CACTH,MAAO,4BACPC,GAAI,oCAGRE,UAAW,CACTH,MAAO,4BACPC,GAAI,kCACJI,QAAS,IAGbC,WAAY,CACVN,MAAO,oBACPC,GAAI,6BACJC,OAAQ,CACND,GAAI,kCACJE,UAAW,CACTH,MAAO,4BACPC,GAAI,oCAGRG,OAAQ,CACNH,GAAI,kCACJE,UAAW,CACTH,MAAO,4BACPC,GAAI,oCAGRE,UAAW,CACTH,MAAO,4BACPC,GAAI,kCACJI,QAAS,IAGbE,UAAW,CACTN,GAAI,4BACJD,MAAO,sBACPQ,QAAS,YACTC,aAAc,wBACdC,mBACE,+FACF,QAAS,CACPhB,SAAU,WAEZQ,OAAQ,CACNF,MAAO,2BACPS,aAAc,iCACdR,GAAI,iCACJE,UAAW,CACTH,MAAO,gCAGXI,OAAQ,CACNH,GAAI,0BACJD,MAAO,oBACPG,UAAW,CACTH,MAAO,8BACPC,GAAI,sCAGRE,UAAW,CACTH,MAAO,8BACPK,QAAS,EACTI,aAAc,gCACdP,OAAQ,CACNO,aAAc,mCAIpBE,aAAc,CACZV,GAAI,+BACJD,MAAO,yBACPQ,QAAS,YACTC,aAAc,2BACdC,mBACE,+FACFR,OAAQ,CACNF,MAAO,8BACPS,aAAc,oCACdR,GAAI,oCACJE,UAAW,CACTH,MAAO,gCAGXI,OAAQ,CACNH,GAAI,6BACJD,MAAO,oBACPG,UAAW,CACTH,MAAO,8BACPC,GAAI,sCAGRE,UAAW,CACTH,MAAO,8BACPK,QAAS,EACTI,aAAc,gCACdP,OAAQ,CACNO,aAAc,mCAIpBG,YAAa,CACXvB,WAAY,OACZC,WAAY,SACZW,GAAI,8BACJD,MAAO,wBACPa,eAAgB,gBAChBC,eAAgB,OAEhBC,cAAe,eACfb,OAAQ,CACNF,MAAO,6BACPG,UAAW,CACTH,MAAO,gCACPC,GAAI,wCAGRE,UAAW,CACTH,MAAO,gCACPC,GAAI,sCACJI,QAAS,IAGbW,KAAM,CACJ3B,WAAY,OACZC,WAAY,SACZW,GAAI,uBACJD,MAAO,iBACPiB,QAAS,EACTf,OAAQ,CACNY,eAAgB,cAGpBI,iBAAkB,CAChB7B,WAAY,OACZC,WAAY,SACZ6B,iBAAkB,eAClBJ,cAAe,eACff,MAAO,iBACPiB,QAAS,EACTf,OAAQ,CACNY,eAAgB,SAGpBM,kBAAmB,CACjB/B,WAAY,OACZC,WAAY,QACZwB,eAAgB,OAChBd,MAAO,gBACPqB,QAAS,WACTJ,QAAS,IACTK,MAAO,IACP5B,SAAU,CACRC,KAAM,UACN4B,GAAI,UACJ3B,GAAI,UACJ4B,GAAI,WAENC,WAAY,CACVC,GAAI,UACJH,GAAI,UACJ3B,GAAI,UACJ4B,GAAI,WAENG,SAAU,CACR3B,MAAO,iBAETE,OAAQ,CACNF,MAAO,qBACPc,eAAgB,cAGpBc,OAAQ,CACNlC,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCyB,QAAS,OACTR,eAAgB,SAChBgB,OAAQ,UACR5B,GAAI,yBACJD,MAAO,mBACPQ,QAAS,YACTC,aAAc,qBACdC,mBACE,+FACFR,OAAQ,CACND,GAAI,8BACJD,MAAO,wBACPS,aAAc,8BACdN,UAAW,CACTH,MAAO,8BAIb8B,eAAgB,CACdT,QAAS,OACTR,eAAgB,SAChBgB,OAAQ,UACR5B,GAAI,iCACJD,MAAO,2BACPQ,QAAS,YACTC,aAAc,6BACdC,mBACE,gGAEJqB,eAAgB,CACdF,OAAQ,cACR5B,GAAI,iCACJD,MAAO,2BACPQ,QAAS,YACTC,aAAc,6BACdC,mBACE,gGAEJsB,MAAO,CACL/B,GAAI,wBACJD,MAAO,kBACPiB,QAAS,GAEXgB,SAAU,CACRjC,MAAO,wBACPkC,QAAS,CAAEC,QAAS,OACpBC,OAAQ,CAAED,QAAS,OACnBlB,QAAS,EACToB,OAAQ,EACR7C,GAAI,EACJC,GAAI,EACJsB,cAAe,EACfrB,SAAU,UACVL,WAAY,OACZC,WAAY,WACZqC,SAAU,CACR3B,MAAO,wBACPc,eAAgB,QAElBZ,OAAQ,CACNF,MAAO,wBACPc,eAAgB,OAChBb,GAAI,wBAENqC,QAAS,CACPtC,MAAO,QACPc,eAAgB,OAChBb,GAAI,0BAGRsC,UAAW,CACT,QAAS,CACPC,QAAS,CAAE7C,KAAM,EAAG+B,GAAI,KAE1BzB,GAAI,6BACJV,aAAc,OACdkD,UAAW,aACX1B,cAAe,EACff,MAAO,QACP0C,UAAW,CACT/C,KAAM,iCACN+B,GAAI,QAENY,QAAS,CACPI,UAAW,OACXzC,GAAI,wBAENC,OAAQ,CACND,GAAI,wBAENqB,MAAO,CACL3B,KAAM,OACN+B,GAAI,QAENiB,OAAQ,CACNhD,KAAM,OACN+B,GAAI,UAIVkB,MAAO,CACLrB,GAAI,CACF7B,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjC6B,WAAY,UACZkB,OAAQ,OACR5B,cAAe,GAEjBW,GAAI,CACFhC,SAAU,UACV+B,WAAY,UACZkB,OAAQ,OACR5B,cAAe,IAGnB8B,aAAc,CACZC,QAAS"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
|
2
2
|
import { AccordionProps, AvatarProps, BoxProps, BreadcrumbItemProps, BreadcrumbLinkProps as BreadcrumbLinkProps$1, ButtonProps as ButtonProps$1, HeadingProps, IconProps as IconProps$1, ComponentWithAs, ImageProps as ImageProps$2, ResponsiveValue, ContainerProps, ProgressProps as ProgressProps$1, ChakraProps, LinkProps as LinkProps$1, CardProps as CardProps$1, StackProps, TagProps, CheckboxProps, CheckboxGroupProps, GridProps, InputProps as InputProps$1, TabsProps, FlexProps, FormLabelProps as FormLabelProps$1, ListItemProps, ListProps, NumberInputFieldProps, NumberInputProps, PopoverProps, StepperProps as StepperProps$1, TextProps, TextareaProps, RadioGroupProps, DividerProps, TableProps } from '@chakra-ui/react';
|
|
3
|
-
export { AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AvatarBadge, AvatarGroup, Box, BoxProps, BreadcrumbItem, BreadcrumbItemProps, ButtonGroup, ChakraBaseProvider, Container, Flex, FlexProps, FormControl, FormErrorMessage, FormHelperText, Grid, GridItem, HStack, HeadingProps, InputAddon, InputGroup, InputLeftAddon, InputLeftElement, InputRightAddon, InputRightElement, LinkOverlay, List, ListIcon, ListItem, OrderedList, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverProps, PopoverTrigger, Portal, Radio, RadioGroup, Select, SimpleGrid, Stack, Tab, TabList, TabPanel, TabPanels, TableContainer, Tag, TagProps, Tbody, Td, TextProps, Textarea, TextareaProps, Th, Thead, Tr, UnorderedList, VStack, VisuallyHidden, Wrap, WrapItem, extendBaseTheme } from '@chakra-ui/react';
|
|
3
|
+
export { AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AvatarBadge, AvatarGroup, Box, BoxProps, BreadcrumbItem, BreadcrumbItemProps, ButtonGroup, ChakraBaseProvider, Container, Flex, FlexProps, FormControl, FormErrorMessage, FormHelperText, Grid, GridItem, HStack, HeadingProps, IconButton, IconButtonProps, InputAddon, InputGroup, InputLeftAddon, InputLeftElement, InputRightAddon, InputRightElement, LinkOverlay, List, ListIcon, ListItem, Menu, MenuButton, MenuButtonProps, MenuItem, MenuItemProps, MenuList, MenuListProps, MenuProps, OrderedList, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverProps, PopoverTrigger, Portal, Radio, RadioGroup, Select, SimpleGrid, Stack, Tab, TabList, TabPanel, TabPanels, TableContainer, Tag, TagProps, Tbody, Td, TextProps, Textarea, TextareaProps, Th, Thead, Tooltip, TooltipProps, Tr, UnorderedList, VStack, VisuallyHidden, Wrap, WrapItem, extendBaseTheme } from '@chakra-ui/react';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { HTMLAttributes, CSSProperties, ElementType, ReactElement, ChangeEventHandler, FC, ReactNode } from 'react';
|
|
6
6
|
import * as _chakra_ui_icons from '@chakra-ui/icons';
|
|
@@ -308,6 +308,7 @@ type InputProps = InputProps$1 & {
|
|
|
308
308
|
declare const Input: _chakra_ui_react.ComponentWithAs<"input", InputProps>;
|
|
309
309
|
|
|
310
310
|
interface CheckListItemProps extends ListItemProps {
|
|
311
|
+
iconAlignment?: "top" | "center";
|
|
311
312
|
children: React__default.ReactNode;
|
|
312
313
|
}
|
|
313
314
|
declare const CheckListUL: _chakra_ui_icons.ComponentWithAs<"ul", ListProps>;
|
|
@@ -592,6 +593,8 @@ declare const ArrownUp: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react
|
|
|
592
593
|
|
|
593
594
|
declare const Bagdrop: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
594
595
|
|
|
596
|
+
declare const BlueSky: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
597
|
+
|
|
595
598
|
declare const CheckCircle: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
596
599
|
|
|
597
600
|
declare const Children: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
@@ -612,6 +615,24 @@ declare const EmailIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_reac
|
|
|
612
615
|
|
|
613
616
|
declare const Facebook: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
614
617
|
|
|
618
|
+
declare const AudioFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
619
|
+
|
|
620
|
+
declare const CodeIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
621
|
+
|
|
622
|
+
declare const ExcelFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
623
|
+
|
|
624
|
+
declare const ImageIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
625
|
+
|
|
626
|
+
declare const PdfIcon$1: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
627
|
+
|
|
628
|
+
declare const PrintIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
629
|
+
|
|
630
|
+
declare const VideoFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
631
|
+
|
|
632
|
+
declare const WordFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
633
|
+
|
|
634
|
+
declare const ZipFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
635
|
+
|
|
615
636
|
declare const FundraisingRegulator: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
616
637
|
|
|
617
638
|
declare const GooglePay: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
@@ -624,8 +645,6 @@ declare const Info: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.Ico
|
|
|
624
645
|
|
|
625
646
|
declare const Instagram: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
626
647
|
|
|
627
|
-
declare const BlueSky: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
628
|
-
|
|
629
648
|
declare const LinkedIn: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
630
649
|
|
|
631
650
|
declare const MasterCard: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
@@ -642,7 +661,7 @@ declare const PauseIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_reac
|
|
|
642
661
|
|
|
643
662
|
declare const PayPal: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
644
663
|
|
|
645
|
-
declare const PdfIcon
|
|
664
|
+
declare const PdfIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
646
665
|
|
|
647
666
|
declare const People: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
648
667
|
|
|
@@ -692,24 +711,6 @@ declare const Wheelchairs: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_re
|
|
|
692
711
|
|
|
693
712
|
declare const YouTube: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
694
713
|
|
|
695
|
-
declare const PdfIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
696
|
-
|
|
697
|
-
declare const WordFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
698
|
-
|
|
699
|
-
declare const ExcelFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
700
|
-
|
|
701
|
-
declare const ZipFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
702
|
-
|
|
703
|
-
declare const VideoFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
704
|
-
|
|
705
|
-
declare const ImageIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
706
|
-
|
|
707
|
-
declare const AudioFileIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
708
|
-
|
|
709
|
-
declare const CodeIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
710
|
-
|
|
711
|
-
declare const PrintIcon: _chakra_ui_react.ComponentWithAs<"svg", _chakra_ui_react.IconProps>;
|
|
712
|
-
|
|
713
714
|
type SemanticTokensType = {
|
|
714
715
|
[key: string]: string | number | object;
|
|
715
716
|
};
|
|
@@ -726,5 +727,5 @@ type R4lTheme = Theme$2;
|
|
|
726
727
|
type Su2cTheme = Theme$1;
|
|
727
728
|
type Theme = CrukTheme | R4lTheme | Su2cTheme;
|
|
728
729
|
|
|
729
|
-
export { Accordion, Adult, Alert, AlertBanner, Apple, ArrownDown as ArrowDown, ArrowDownListItem, ArrowReturnUpIcon, ArrownUp as ArrowUp, AudioFileIcon, Avatar, Badge, Bagdrop, BlueSky, Breadcrumb, BreadcrumbLink, Button, CTABanner, Card, CardStack, CheckCircle, CheckList, CheckListUL, Checkbox, CheckboxGroup, Children, CircleDevice, Clock, CloudUpload, CodeIcon, Cross, Date, DatePicker, DirectDebit, Divider, Dogs, DonateWidget, EmailIcon, ExcelFileIcon, Facebook, FileUploader, Footer, Footnote, FormField, FormLabel, FourInFour, FundraisingRegulator, GoogleMapEmbed, GooglePay, Heading$1 as Heading, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Heart, HeartSu2c, Icon, Image, ImageIcon, Info, Input, Instagram, Link, LinkedIn, Loader, LogoGroup, MasterCard, Microscope, Navigation, Newsletter, NumberInput, OnThisPageHeadings, OneInFour, OvarianIcon, ParagraphWithMedia, Parking, PauseIcon, PayPal, PdfIcon as PdfFileIcon, PdfIcon
|
|
730
|
+
export { Accordion, Adult, Alert, AlertBanner, Apple, ArrownDown as ArrowDown, ArrowDownListItem, ArrowReturnUpIcon, ArrownUp as ArrowUp, AudioFileIcon, Avatar, Badge, Bagdrop, BlueSky, Breadcrumb, BreadcrumbLink, Button, CTABanner, Card, CardStack, CheckCircle, CheckList, CheckListUL, Checkbox, CheckboxGroup, Children, CircleDevice, Clock, CloudUpload, CodeIcon, Cross, Date, DatePicker, DirectDebit, Divider, Dogs, DonateWidget, EmailIcon, ExcelFileIcon, Facebook, FileUploader, Footer, Footnote, FormField, FormLabel, FourInFour, FundraisingRegulator, GoogleMapEmbed, GooglePay, Heading$1 as Heading, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Heart, HeartSu2c, Icon, Image, ImageIcon, Info, Input, Instagram, Link, LinkedIn, Loader, LogoGroup, MasterCard, Microscope, Navigation, Newsletter, NumberInput, OnThisPageHeadings, OneInFour, OvarianIcon, ParagraphWithMedia, Parking, PauseIcon, PayPal, PdfIcon$1 as PdfFileIcon, PdfIcon, People, PhoneIcon, PlayIcon, Plus, PlusSu2c, Popover, PopoverAlert, Pound, PrintIcon, ProgressBar, Pushchair, QuoteIcon, RadioConsent, ReferenceBlock, ReferenceBlockContainer, Refreshments, RichHeader, Royalties, Share, Shower, SideNav, SimpleHeader, SingleStatistics, SocialProof, SpeechBubble, SpotifyEmbed, Stepper, StickyNavigation, Success, Table, Tabs, Text, TextTruncate, TextareaWithWordCount, ThreeInFour, ThumbsUp, ThumbsUpSu2c, TikTok, ToggleGroup, Toilets, Totaliser, TwoBlockStatistics, TwoInFour, Venue, Video, VideoFileIcon, VimeoEmbed, Visa, WhatsApp, Wheelchairs, WordFileIcon, X, YouTube, YouTubeEmbed, ZipFileIcon, crukBrand, r4lBrand, su2cBrand };
|
|
730
731
|
export type { AlertBannerProps, AtLeastOnePropertyOf, ButtonProps, CTABannerProps, CardProps, CardStackProps, CrukTheme, FooterNavigationLink, FooterProps, IconProps, ImageLink, ImageProps$1 as ImageProps, LogoGroupProps, LogoProps, NavigationProps, PopoverAlertProps, R4lTheme, ReferenceBlockContainerProps, ReferenceBlockProps, SemanticTokensType, Su2cTheme, Theme };
|