@cruk/chakra-components 0.1.0-alpha.3 → 0.1.0-alpha.5
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/dist/cjs/packages/components/src/components/DonateWidget/index.js +1 -1
- package/dist/cjs/packages/components/src/components/ProgressBar/index.js +2 -0
- package/dist/cjs/packages/components/src/components/ProgressBar/index.js.map +1 -0
- package/dist/cjs/packages/components/src/index.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/components/progress.js +1 -1
- package/dist/esm/packages/components/src/components/DonateWidget/index.js +1 -1
- package/dist/esm/packages/components/src/components/ProgressBar/index.js +2 -0
- package/dist/esm/packages/components/src/components/ProgressBar/index.js.map +1 -0
- package/dist/esm/packages/components/src/index.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/components/progress.js +1 -1
- package/dist/types/src/components/Accordion/Accordion.stories.d.ts +11 -3
- package/dist/types/src/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/types/src/components/Accordion/Accordion.test.d.ts +2 -0
- package/dist/types/src/components/Accordion/Accordion.test.d.ts.map +1 -0
- package/dist/types/src/components/Avatar/Avatar.stories.d.ts +14 -8
- package/dist/types/src/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/types/src/components/Badge/Badge.stories.d.ts +10 -7
- package/dist/types/src/components/Badge/Badge.stories.d.ts.map +1 -1
- package/dist/types/src/components/Badge/Badge.test.d.ts +2 -0
- package/dist/types/src/components/Badge/Badge.test.d.ts.map +1 -0
- package/dist/types/src/components/Box/Box.stories.d.ts +10 -7
- package/dist/types/src/components/Box/Box.stories.d.ts.map +1 -1
- package/dist/types/src/components/Box/Box.test.d.ts +2 -0
- package/dist/types/src/components/Box/Box.test.d.ts.map +1 -0
- package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts +4 -1
- package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
- package/dist/types/src/components/Button/Button.stories.d.ts +15 -6
- package/dist/types/src/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/types/src/components/Button/IconButton.d.ts +1 -1
- package/dist/types/src/components/Button/IconButton.d.ts.map +1 -1
- package/dist/types/src/components/Button/IconButton.stories.d.ts +7 -3
- package/dist/types/src/components/Button/IconButton.stories.d.ts.map +1 -1
- package/dist/types/src/components/Button/IconButton.test.d.ts +2 -0
- package/dist/types/src/components/Button/IconButton.test.d.ts.map +1 -0
- package/dist/types/src/components/Card/Card.stories.d.ts +3 -3
- package/dist/types/src/components/Circle/Circle.stories.d.ts +10 -7
- package/dist/types/src/components/Circle/Circle.stories.d.ts.map +1 -1
- package/dist/types/src/components/CircleDevice/CircleDevice.stories.d.ts +8 -4
- package/dist/types/src/components/CircleDevice/CircleDevice.stories.d.ts.map +1 -1
- package/dist/types/src/components/CircleDevice/CircleDevice.test.d.ts +2 -0
- package/dist/types/src/components/CircleDevice/CircleDevice.test.d.ts.map +1 -0
- package/dist/types/src/components/Container/Container.stories.d.ts +18 -5
- package/dist/types/src/components/Container/Container.stories.d.ts.map +1 -1
- package/dist/types/src/components/Container/Container.test.d.ts +2 -0
- package/dist/types/src/components/Container/Container.test.d.ts.map +1 -0
- package/dist/types/src/components/Container/index.d.ts.map +1 -1
- package/dist/types/src/components/Divider/Divider.stories.d.ts +8 -5
- package/dist/types/src/components/Divider/Divider.stories.d.ts.map +1 -1
- package/dist/types/src/components/Divider/Divider.test.d.ts +2 -0
- package/dist/types/src/components/Divider/Divider.test.d.ts.map +1 -0
- package/dist/types/src/components/DonateWidget/DonateWidget.stories.d.ts +7 -29
- package/dist/types/src/components/DonateWidget/DonateWidget.stories.d.ts.map +1 -1
- package/dist/types/src/components/DonateWidget/index.d.ts +3 -0
- package/dist/types/src/components/DonateWidget/index.d.ts.map +1 -1
- package/dist/types/src/components/Flex/Flex.stories.d.ts +9 -4
- package/dist/types/src/components/Flex/Flex.stories.d.ts.map +1 -1
- package/dist/types/src/components/Flex/Flex.test.d.ts +2 -0
- package/dist/types/src/components/Flex/Flex.test.d.ts.map +1 -0
- package/dist/types/src/components/Footer/Footer.stories.d.ts +7 -3
- package/dist/types/src/components/Footer/Footer.stories.d.ts.map +1 -1
- package/dist/types/src/components/KeyStatistics/index.d.ts.map +1 -1
- package/dist/types/src/components/ProgressBar/ProgressBar.stories.d.ts +9 -0
- package/dist/types/src/components/ProgressBar/ProgressBar.stories.d.ts.map +1 -0
- package/dist/types/src/components/ProgressBar/index.d.ts +10 -0
- package/dist/types/src/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/theme/cruk/components/progress.d.ts +11 -10
- package/dist/types/src/theme/cruk/components/progress.d.ts.map +1 -1
- package/dist/types/template/template-test.d.ts +1 -0
- package/dist/types/template/template-test.d.ts.map +1 -0
- package/dist/types/template/template.stories.d.ts +1 -0
- package/dist/types/template/template.stories.d.ts.map +1 -0
- package/package.json +1 -2
- package/dist/fonts/Poppins-Bold.woff +0 -0
- package/dist/fonts/Poppins-Light.woff +0 -0
- package/dist/fonts/Poppins-LightItalic.woff +0 -0
- package/dist/fonts/Poppins-Medium.woff +0 -0
- package/dist/fonts/Poppins-Regular.woff +0 -0
- package/dist/fonts/Poppins-SemiBold.woff +0 -0
- package/dist/fonts/Progress-Light.woff +0 -0
- package/dist/fonts/Progress-Medium.woff +0 -0
- package/dist/fonts/Progress-Regular.woff +0 -0
- package/dist/fonts/Progress-SemiBold.woff +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_tslib.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),n=require("@chakra-ui/react"),a=require("react"),i=require("../Button/index.js"),r=require("../FormField/index.js"),o=require("../Icon/index.js"),s=require("../Input/index.js"),c=require("../Link/index.js"),l=require("../Tabs/index.js"),u=require("../Text/index.js"),d=require("../Toggle/index.js"),p=n.forwardRef((function(p,m){var b=p.tabs,f=p.formAction,x=e.__rest(p,["tabs","formAction"]);if(0!==b.length&&0!==b[0].amounts.length){var g=b.findIndex((function(e){return"monthly"===e.tabListTitle.toLowerCase()})),h=a.useState(g),L=h[0],j=h[1],y=a.useState(""),T=y[0],v=y[1],w=a.useState(""),C=w[0],I=w[1],q=a.useState(""),S=q[0],k=q[1],_=a.useState(!0),F=_[0],P=_[1],D=a.useState(),M=D[0],B=D[1],A=function(){P(!0),B("")},E=function(e,t){e.preventDefault();var n=C||T,a=function(e,t){return"monthly"===e.tabListTitle.toLowerCase()&&t>850||"single"===e.tabListTitle.toLowerCase()&&t>1e5?(P(!1),B(e.errorMessageTooHigh),!1):t<2?(P(!1),B(e.errorMessageTooLow),!1):(P(!0),B(""),!0)}(b[L],parseFloat(n));if(a){var i=new URLSearchParams;"single"===b[L].tabListTitle.toLowerCase()?i.append("type","single"):(i.append("type","regular"),i.append("frequency",b[L].tabListTitle.toLowerCase())),i.append("amount",n);var r=i.toString(),o="".concat(t,"?").concat(r);window.location.assign(o)}};return t.jsx(l.Tabs,e.__assign({ref:m},x,{bg:"white",onChange:function(e){!function(e){j(e),k(""),v("")}(e)},index:L,children:t.jsxs("form",{"data-component":"donate-widget",onSubmit:function(e){return E(e,f)},"aria-label":"Donation form for single or monthly contributions",children:[t.jsx(n.TabList,{as:n.List,"aria-label":"List with ".concat(b.length," items"),children:b?b.map((function(e,a){return t.jsx(n.ListItem,{width:"100%",children:t.jsx(n.Tab,{"aria-label":"Item ".concat(a+1,", ").concat(e.tabListTitle),children:e.tabListTitle},"prop-tabs-".concat(e.tabListTitle))},"prop-listitem-".concat(e.tabListTitle))})):null}),t.jsx(n.TabPanels,{children:b?b.map((function(a,l){return t.jsxs(n.TabPanel,{padding:"none",pt:6,children:[t.jsx(d.ToggleGroup,{options:a.amounts,value:T,onChange:function(e){return function(e,t){var n=t.amounts.find((function(t){return t.value.toString()===e.toString()}));n&&(v(n.value),k(n.statement||""),I(""),P(!0),B(""))}(e,a)},onFocus:function(){P(!0),B("")},children:void 0}),S&&t.jsx(n.Box,{mt:6,children:t.jsx(u.Text,{children:S})}),t.jsx(r.FormField,{label:a.inputLabel,errorMessage:M,optionalIndicator:!1,style:{marginTop:n.theme.space[6]},isInvalid:!F,children:t.jsx(s.Input,{placeholder:a.inputPlaceholder,inputType:"currency",title:"Enter a valid currency amount",onChange:function(e){return I(e.target.value)},onFocus:A,onKeyDown:function(e){var t;["e","E","+","-"].includes((t=e).key)&&t.preventDefault(),v(""),k("")},value:C})}),t.jsx(r.FormField,{errorMessage:"Please enter a donation of £2 or more",children:t.jsx(i.Button,e.__assign({},a.primaryCtaButton,{marginTop:6,"data-cta-level":"primary","data-link-type":"cta",type:"submit"}))}),a.secondaryCtaLink&&t.jsx(c.Link,{display:"block",as:a.secondaryCtaLink.as,variant:a.secondaryCtaLink.variant||"inline",href:a.secondaryCtaLink.href,mt:6,children:a.secondaryCtaLink.displayText}),a.paymentIcons&&t.jsx(o.IconContainer,{mt:6,as:n.List,"aria-label":"We accept donations by ".concat(a.paymentIcons.join(", ")),children:a.paymentIcons.map((function(e,a){return t.jsx(n.ListItem,{children:t.jsx(o.Icon,{boxSize:{base:50,lg:53},padding:0,name:e})},"payment-icon-".concat(e))}))})]},"tab-panels-".concat(a.tabListTitle))})):null})]})}))}}));exports.DonateWidget=p;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),s=require("@chakra-ui/react"),a=s.forwardRef((function(a,i){var o=a.value,l=a.size,u=a.secondaryValue,t=a.isCircular,n=e.__rest(a,["value","size","secondaryValue","isCircular"]);return u?r.jsxs(s.Box,{display:"flex",flexDirection:"column",position:"relative",children:[r.jsx(s.Progress,e.__assign({ref:i},n,{size:l||"lg",backgroundColor:"transparent",colorScheme:"blue",value:o,zIndex:2})),r.jsx(s.Progress,e.__assign({ref:i},n,{size:l||"lg",colorScheme:"magenta",value:u,zIndex:1,position:"absolute",top:0,width:"100%"}))]}):t?r.jsx(s.CircularProgress,e.__assign({ref:i},n,{color:"navy",value:o})):r.jsx(s.Progress,e.__assign({ref:i},n,{size:l||"lg",value:o}))}));exports.ProgressBar=a;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./theme/cruk/index.js"),r=require("./theme/su2c/index.js"),t=require("@chakra-ui/react"),n=require("./components/Accordion/index.js"),o=require("./components/Avatar/index.js"),i=require("./components/Badge/index.js"),u=require("./components/Breadcrumb/index.js"),p=require("./components/Button/index.js"),c=require("./components/Card/index.js"),s=require("./components/CircleDevice/index.js"),d=require("./components/DonateWidget/index.js"),a=require("./components/Footer/index.js"),x=require("./components/Footnote/index.js");require("./components/FormControl/index.js");var b=require("./components/FormField/index.js"),m=require("./components/GoogleMapEmbed/index.js"),f=require("./components/Heading/index.js"),l=require("./components/Image/index.js");require("./components/Input/InputCurrency.js");var g=require("./components/Link/index.js"),j=require("./components/List/index.js"),P=require("./components/Loader/index.js"),y=require("./components/Navigation/index.js"),O=require("./components/PopOver/index.js"),T=require("./components/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./theme/cruk/index.js"),r=require("./theme/su2c/index.js"),t=require("@chakra-ui/react"),n=require("./components/Accordion/index.js"),o=require("./components/Avatar/index.js"),i=require("./components/Badge/index.js"),u=require("./components/Breadcrumb/index.js"),p=require("./components/Button/index.js"),c=require("./components/Card/index.js"),s=require("./components/CircleDevice/index.js"),d=require("./components/DonateWidget/index.js"),a=require("./components/Footer/index.js"),x=require("./components/Footnote/index.js");require("./components/FormControl/index.js");var b=require("./components/FormField/index.js"),m=require("./components/GoogleMapEmbed/index.js"),f=require("./components/Heading/index.js"),l=require("./components/Image/index.js");require("./components/Input/InputCurrency.js");var g=require("./components/Link/index.js"),j=require("./components/List/index.js"),P=require("./components/Loader/index.js"),y=require("./components/Navigation/index.js"),O=require("./components/PopOver/index.js"),T=require("./components/ProgressBar/index.js"),v=require("./components/ReferenceBlock/index.js"),q=require("./components/RichHeader/index.js"),I=require("./components/SimpleHeader/index.js"),L=require("./components/SocialProof/index.js"),B=require("./components/Tabs/index.js"),A=require("./components/Text/index.js"),k=require("./components/TextTruncate/index.js"),C=require("./components/Toggle/index.js"),F=require("./components/Totaliser/index.js"),H=require("./components/Video/index.js"),h=require("./components/YouTubeEmbed/index.js"),G=require("./components/Divider/index.js");require("./components/Flex/index.js");var S=require("./components/OnThisPage/index.js"),R=require("./components/FormControl/FormLabel.js");exports.crukBrand=e.default,exports.su2cBrand=r.default,Object.defineProperty(exports,"AccordionButton",{enumerable:!0,get:function(){return t.AccordionButton}}),Object.defineProperty(exports,"AccordionIcon",{enumerable:!0,get:function(){return t.AccordionIcon}}),Object.defineProperty(exports,"AccordionItem",{enumerable:!0,get:function(){return t.AccordionItem}}),Object.defineProperty(exports,"AccordionPanel",{enumerable:!0,get:function(){return t.AccordionPanel}}),Object.defineProperty(exports,"AvatarBadge",{enumerable:!0,get:function(){return t.AvatarBadge}}),Object.defineProperty(exports,"AvatarGroup",{enumerable:!0,get:function(){return t.AvatarGroup}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return t.Box}}),Object.defineProperty(exports,"BreadcrumbItem",{enumerable:!0,get:function(){return t.BreadcrumbItem}}),Object.defineProperty(exports,"ButtonGroup",{enumerable:!0,get:function(){return t.ButtonGroup}}),Object.defineProperty(exports,"ChakraProvider",{enumerable:!0,get:function(){return t.ChakraProvider}}),Object.defineProperty(exports,"Container",{enumerable:!0,get:function(){return t.Container}}),Object.defineProperty(exports,"Flex",{enumerable:!0,get:function(){return t.Flex}}),Object.defineProperty(exports,"FormControl",{enumerable:!0,get:function(){return t.FormControl}}),Object.defineProperty(exports,"FormErrorMessage",{enumerable:!0,get:function(){return t.FormErrorMessage}}),Object.defineProperty(exports,"FormHelperText",{enumerable:!0,get:function(){return t.FormHelperText}}),Object.defineProperty(exports,"Grid",{enumerable:!0,get:function(){return t.Grid}}),Object.defineProperty(exports,"GridItem",{enumerable:!0,get:function(){return t.GridItem}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return t.HStack}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return t.Input}}),Object.defineProperty(exports,"InputAddon",{enumerable:!0,get:function(){return t.InputAddon}}),Object.defineProperty(exports,"InputGroup",{enumerable:!0,get:function(){return t.InputGroup}}),Object.defineProperty(exports,"InputLeftAddon",{enumerable:!0,get:function(){return t.InputLeftAddon}}),Object.defineProperty(exports,"InputLeftElement",{enumerable:!0,get:function(){return t.InputLeftElement}}),Object.defineProperty(exports,"InputRightAddon",{enumerable:!0,get:function(){return t.InputRightAddon}}),Object.defineProperty(exports,"InputRightElement",{enumerable:!0,get:function(){return t.InputRightElement}}),Object.defineProperty(exports,"LinkOverlay",{enumerable:!0,get:function(){return t.LinkOverlay}}),Object.defineProperty(exports,"List",{enumerable:!0,get:function(){return t.List}}),Object.defineProperty(exports,"ListIcon",{enumerable:!0,get:function(){return t.ListIcon}}),Object.defineProperty(exports,"ListItem",{enumerable:!0,get:function(){return t.ListItem}}),Object.defineProperty(exports,"OrderedList",{enumerable:!0,get:function(){return t.OrderedList}}),Object.defineProperty(exports,"PopoverAnchor",{enumerable:!0,get:function(){return t.PopoverAnchor}}),Object.defineProperty(exports,"PopoverArrow",{enumerable:!0,get:function(){return t.PopoverArrow}}),Object.defineProperty(exports,"PopoverBody",{enumerable:!0,get:function(){return t.PopoverBody}}),Object.defineProperty(exports,"PopoverCloseButton",{enumerable:!0,get:function(){return t.PopoverCloseButton}}),Object.defineProperty(exports,"PopoverContent",{enumerable:!0,get:function(){return t.PopoverContent}}),Object.defineProperty(exports,"PopoverFooter",{enumerable:!0,get:function(){return t.PopoverFooter}}),Object.defineProperty(exports,"PopoverHeader",{enumerable:!0,get:function(){return t.PopoverHeader}}),Object.defineProperty(exports,"PopoverTrigger",{enumerable:!0,get:function(){return t.PopoverTrigger}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return t.Radio}}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:function(){return t.RadioGroup}}),Object.defineProperty(exports,"Select",{enumerable:!0,get:function(){return t.Select}}),Object.defineProperty(exports,"SimpleGrid",{enumerable:!0,get:function(){return t.SimpleGrid}}),Object.defineProperty(exports,"Stack",{enumerable:!0,get:function(){return t.Stack}}),Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return t.Tab}}),Object.defineProperty(exports,"TabList",{enumerable:!0,get:function(){return t.TabList}}),Object.defineProperty(exports,"TabPanel",{enumerable:!0,get:function(){return t.TabPanel}}),Object.defineProperty(exports,"TabPanels",{enumerable:!0,get:function(){return t.TabPanels}}),Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return t.Table}}),Object.defineProperty(exports,"TableContainer",{enumerable:!0,get:function(){return t.TableContainer}}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return t.Tag}}),Object.defineProperty(exports,"Tbody",{enumerable:!0,get:function(){return t.Tbody}}),Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return t.Td}}),Object.defineProperty(exports,"Th",{enumerable:!0,get:function(){return t.Th}}),Object.defineProperty(exports,"Thead",{enumerable:!0,get:function(){return t.Thead}}),Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return t.Tr}}),Object.defineProperty(exports,"UnorderedList",{enumerable:!0,get:function(){return t.UnorderedList}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return t.VStack}}),Object.defineProperty(exports,"Wrap",{enumerable:!0,get:function(){return t.Wrap}}),Object.defineProperty(exports,"WrapItem",{enumerable:!0,get:function(){return t.WrapItem}}),Object.defineProperty(exports,"extendTheme",{enumerable:!0,get:function(){return t.extendTheme}}),exports.Accordion=n.Accordion,exports.Avatar=o.Avatar,exports.Badge=i.Badge,exports.Breadcrumb=u.Breadcrumb,exports.BreadcrumbLink=u.BreadcrumbLink,exports.Button=p.Button,exports.Card=c.Card,exports.CardStack=c.CardStack,exports.CircleDevice=s.CircleDevice,exports.DonateWidget=d.DonateWidget,exports.Footer=a.Footer,exports.Footnote=x.Footnote,exports.FormField=b.FormField,exports.GoogleMapEmbed=m.GoogleMapEmbed,exports.Heading=f.Heading,exports.Heading1=f.Heading1,exports.Heading2=f.Heading2,exports.Heading3=f.Heading3,exports.Heading4=f.Heading4,exports.Heading5=f.Heading5,exports.Heading6=f.Heading6,exports.Image=l.Image,exports.Link=g.Link,exports.ArrowDownListItem=j.ArrowDownListItem,exports.CheckList=j.CheckList,exports.CheckListItem=j.CheckListItem,exports.Loader=P.Loader,exports.Navigation=y.Navigation,exports.Popover=O.Popover,exports.ProgressBar=T.ProgressBar,exports.ReferenceBlock=v.ReferenceBlock,exports.ReferenceBlockContainer=v.ReferenceBlockContainer,exports.RichHeader=q.RichHeader,exports.SimpleHeader=I.SimpleHeader,exports.SocialProof=L.SocialProof,exports.Tabs=B.Tabs,exports.Text=A.Text,exports.TextTruncate=k.TextTruncate,exports.ToggleGroup=C.ToggleGroup,exports.Totaliser=F.Totaliser,exports.Video=H.Video,exports.YouTubeEmbed=h.YouTubeEmbed,exports.Divider=G.Divider,exports.OnThisPageHeadings=S.default,exports.FormLabel=R.FormLabel;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../../node_modules/@chakra-ui/anatomy/dist/chunk-GSYRQO2U.mjs.js"),r=require("@chakra-ui/react"),t=r.createMultiStyleConfigHelpers(e.progressAnatomy.keys),a=t.defineMultiStyleConfig,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../../node_modules/@chakra-ui/anatomy/dist/chunk-GSYRQO2U.mjs.js"),r=require("@chakra-ui/react"),t=r.createMultiStyleConfigHelpers(e.progressAnatomy.keys),a=(0,t.defineMultiStyleConfig)({baseStyle:(0,t.definePartsStyle)({label:r.defineStyle({left:"0%",top:"0%",transform:"rotate(-270deg)",transformOrigin:"center center",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",height:"100%",fontSize:"2.875rem",fontFamily:"ProgressRegular"}),track:r.defineStyle({"aria-label":"progress-bar"})}),defaultProps:{size:"md",colorScheme:"blue"},variants:{keyStatsVertical:{track:{minHeight:"12.5rem",minWidth:"12.5rem",transform:"rotate(-90deg)"},filledTrack:{backgroundColor:"keyStatsPrimaryBackgroundColor"}}}});exports.default=a;
|
|
2
2
|
//# sourceMappingURL=progress.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as n,__assign as t}from"../../../../../_virtual/_tslib.js";import{jsx as e,jsxs as a}from"react/jsx-runtime";import{forwardRef as
|
|
1
|
+
import{__rest as n,__assign as t}from"../../../../../_virtual/_tslib.js";import{jsx as e,jsxs as a}from"react/jsx-runtime";import{forwardRef as i,TabList as o,List as r,ListItem as c,Tab as l,TabPanels as s,TabPanel as m,Box as p,theme as u}from"@chakra-ui/react";import{useState as d}from"react";import{Button as f}from"../Button/index.js";import{FormField as h}from"../FormField/index.js";import{IconContainer as b,Icon as g}from"../Icon/index.js";import{Input as y}from"../Input/index.js";import{Link as L}from"../Link/index.js";import{Tabs as v}from"../Tabs/index.js";import{Text as T}from"../Text/index.js";import{ToggleGroup as x}from"../Toggle/index.js";var w=i((function(i,w){var C=i.tabs,j=i.formAction,k=n(i,["tabs","formAction"]);if(0!==C.length&&0!==C[0].amounts.length){var I=C.findIndex((function(n){return"monthly"===n.tabListTitle.toLowerCase()})),S=d(I),F=S[0],D=S[1],M=d(""),P=M[0],A=M[1],B=d(""),E=B[0],_=B[1],q=d(""),z=q[0],H=q[1],K=d(!0),R=K[0],U=K[1],W=d(),G=W[0],J=W[1],N=function(){U(!0),J("")},O=function(n,t){n.preventDefault();var e=E||P,a=function(n,t){return"monthly"===n.tabListTitle.toLowerCase()&&t>850||"single"===n.tabListTitle.toLowerCase()&&t>1e5?(U(!1),J(n.errorMessageTooHigh),!1):t<2?(U(!1),J(n.errorMessageTooLow),!1):(U(!0),J(""),!0)}(C[F],parseFloat(e));if(a){var i=new URLSearchParams;"single"===C[F].tabListTitle.toLowerCase()?i.append("type","single"):(i.append("type","regular"),i.append("frequency",C[F].tabListTitle.toLowerCase())),i.append("amount",e);var o=i.toString(),r="".concat(t,"?").concat(o);window.location.assign(r)}};return e(v,t({ref:w},k,{bg:"white",onChange:function(n){!function(n){D(n),H(""),A("")}(n)},index:F,children:a("form",{"data-component":"donate-widget",onSubmit:function(n){return O(n,j)},"aria-label":"Donation form for single or monthly contributions",children:[e(o,{as:r,"aria-label":"List with ".concat(C.length," items"),children:C?C.map((function(n,t){return e(c,{width:"100%",children:e(l,{"aria-label":"Item ".concat(t+1,", ").concat(n.tabListTitle),children:n.tabListTitle},"prop-tabs-".concat(n.tabListTitle))},"prop-listitem-".concat(n.tabListTitle))})):null}),e(s,{children:C?C.map((function(n,i){return a(m,{padding:"none",pt:6,children:[e(x,{options:n.amounts,value:P,onChange:function(t){return function(n,t){var e=t.amounts.find((function(t){return t.value.toString()===n.toString()}));e&&(A(e.value),H(e.statement||""),_(""),U(!0),J(""))}(t,n)},onFocus:function(){U(!0),J("")},children:void 0}),z&&e(p,{mt:6,children:e(T,{children:z})}),e(h,{label:n.inputLabel,errorMessage:G,optionalIndicator:!1,style:{marginTop:u.space[6]},isInvalid:!R,children:e(y,{placeholder:n.inputPlaceholder,inputType:"currency",title:"Enter a valid currency amount",onChange:function(n){return _(n.target.value)},onFocus:N,onKeyDown:function(n){var t;["e","E","+","-"].includes((t=n).key)&&t.preventDefault(),A(""),H("")},value:E})}),e(h,{errorMessage:"Please enter a donation of £2 or more",children:e(f,t({},n.primaryCtaButton,{marginTop:6,"data-cta-level":"primary","data-link-type":"cta",type:"submit"}))}),n.secondaryCtaLink&&e(L,{display:"block",as:n.secondaryCtaLink.as,variant:n.secondaryCtaLink.variant||"inline",href:n.secondaryCtaLink.href,mt:6,children:n.secondaryCtaLink.displayText}),n.paymentIcons&&e(b,{mt:6,as:r,"aria-label":"We accept donations by ".concat(n.paymentIcons.join(", ")),children:n.paymentIcons.map((function(n,t){return e(c,{children:e(g,{boxSize:{base:50,lg:53},padding:0,name:n})},"payment-icon-".concat(n))}))})]},"tab-panels-".concat(n.tabListTitle))})):null})]})}))}}));export{w as DonateWidget};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as e,__assign as r}from"../../../../../_virtual/_tslib.js";import{jsxs as a,jsx as i}from"react/jsx-runtime";import{forwardRef as l,Box as o,Progress as t,CircularProgress as u}from"@chakra-ui/react";var n=l((function(l,n){var c=l.value,s=l.size,m=l.secondaryValue,v=l.isCircular,f=e(l,["value","size","secondaryValue","isCircular"]);return m?a(o,{display:"flex",flexDirection:"column",position:"relative",children:[i(t,r({ref:n},f,{size:s||"lg",backgroundColor:"transparent",colorScheme:"blue",value:c,zIndex:2})),i(t,r({ref:n},f,{size:s||"lg",colorScheme:"magenta",value:m,zIndex:1,position:"absolute",top:0,width:"100%"}))]}):v?i(u,r({ref:n},f,{color:"navy",value:c})):i(t,r({ref:n},f,{size:s||"lg",value:c}))}));export{n as ProgressBar};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as crukBrand}from"./theme/cruk/index.js";export{default as su2cBrand}from"./theme/su2c/index.js";export{AccordionButton,AccordionIcon,AccordionItem,AccordionPanel,AvatarBadge,AvatarGroup,Box,BreadcrumbItem,ButtonGroup,ChakraProvider,Container,Flex,FormControl,FormErrorMessage,FormHelperText,Grid,GridItem,HStack,Input,InputAddon,InputGroup,InputLeftAddon,InputLeftElement,InputRightAddon,InputRightElement,LinkOverlay,List,ListIcon,ListItem,OrderedList,PopoverAnchor,PopoverArrow,PopoverBody,PopoverCloseButton,PopoverContent,PopoverFooter,PopoverHeader,PopoverTrigger,Radio,RadioGroup,Select,SimpleGrid,Stack,Tab,TabList,TabPanel,TabPanels,Table,TableContainer,Tag,Tbody,Td,Th,Thead,Tr,UnorderedList,VStack,Wrap,WrapItem,extendTheme}from"@chakra-ui/react";export{Accordion}from"./components/Accordion/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{CircleDevice}from"./components/CircleDevice/index.js";export{DonateWidget}from"./components/DonateWidget/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";import"./components/Input/InputCurrency.js";export{Link}from"./components/Link/index.js";export{ArrowDownListItem,CheckList,CheckListItem}from"./components/List/index.js";export{Loader}from"./components/Loader/index.js";export{Navigation}from"./components/Navigation/index.js";export{Popover}from"./components/PopOver/index.js";export{ReferenceBlock,ReferenceBlockContainer}from"./components/ReferenceBlock/index.js";export{RichHeader}from"./components/RichHeader/index.js";export{SimpleHeader}from"./components/SimpleHeader/index.js";export{SocialProof}from"./components/SocialProof/index.js";export{Tabs}from"./components/Tabs/index.js";export{Text}from"./components/Text/index.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{YouTubeEmbed}from"./components/YouTubeEmbed/index.js";export{Divider}from"./components/Divider/index.js";import"./components/Flex/index.js";export{default as OnThisPageHeadings}from"./components/OnThisPage/index.js";export{FormLabel}from"./components/FormControl/FormLabel.js";
|
|
1
|
+
export{default as crukBrand}from"./theme/cruk/index.js";export{default as su2cBrand}from"./theme/su2c/index.js";export{AccordionButton,AccordionIcon,AccordionItem,AccordionPanel,AvatarBadge,AvatarGroup,Box,BreadcrumbItem,ButtonGroup,ChakraProvider,Container,Flex,FormControl,FormErrorMessage,FormHelperText,Grid,GridItem,HStack,Input,InputAddon,InputGroup,InputLeftAddon,InputLeftElement,InputRightAddon,InputRightElement,LinkOverlay,List,ListIcon,ListItem,OrderedList,PopoverAnchor,PopoverArrow,PopoverBody,PopoverCloseButton,PopoverContent,PopoverFooter,PopoverHeader,PopoverTrigger,Radio,RadioGroup,Select,SimpleGrid,Stack,Tab,TabList,TabPanel,TabPanels,Table,TableContainer,Tag,Tbody,Td,Th,Thead,Tr,UnorderedList,VStack,Wrap,WrapItem,extendTheme}from"@chakra-ui/react";export{Accordion}from"./components/Accordion/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{CircleDevice}from"./components/CircleDevice/index.js";export{DonateWidget}from"./components/DonateWidget/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";import"./components/Input/InputCurrency.js";export{Link}from"./components/Link/index.js";export{ArrowDownListItem,CheckList,CheckListItem}from"./components/List/index.js";export{Loader}from"./components/Loader/index.js";export{Navigation}from"./components/Navigation/index.js";export{Popover}from"./components/PopOver/index.js";export{ProgressBar}from"./components/ProgressBar/index.js";export{ReferenceBlock,ReferenceBlockContainer}from"./components/ReferenceBlock/index.js";export{RichHeader}from"./components/RichHeader/index.js";export{SimpleHeader}from"./components/SimpleHeader/index.js";export{SocialProof}from"./components/SocialProof/index.js";export{Tabs}from"./components/Tabs/index.js";export{Text}from"./components/Text/index.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{YouTubeEmbed}from"./components/YouTubeEmbed/index.js";export{Divider}from"./components/Divider/index.js";import"./components/Flex/index.js";export{default as OnThisPageHeadings}from"./components/OnThisPage/index.js";export{FormLabel}from"./components/FormControl/FormLabel.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{progressAnatomy as e}from"../../../../../../node_modules/@chakra-ui/anatomy/dist/chunk-GSYRQO2U.mjs.js";import{createMultiStyleConfigHelpers as r,defineStyle as t}from"@chakra-ui/react";var a=r(e.keys),o=a.defineMultiStyleConfig,
|
|
1
|
+
import{progressAnatomy as e}from"../../../../../../node_modules/@chakra-ui/anatomy/dist/chunk-GSYRQO2U.mjs.js";import{createMultiStyleConfigHelpers as r,defineStyle as t}from"@chakra-ui/react";var a=r(e.keys),o=(0,a.defineMultiStyleConfig)({baseStyle:(0,a.definePartsStyle)({label:t({left:"0%",top:"0%",transform:"rotate(-270deg)",transformOrigin:"center center",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",height:"100%",fontSize:"2.875rem",fontFamily:"ProgressRegular"}),track:t({"aria-label":"progress-bar"})}),defaultProps:{size:"md",colorScheme:"blue"},variants:{keyStatsVertical:{track:{minHeight:"12.5rem",minWidth:"12.5rem",transform:"rotate(-90deg)"},filledTrack:{backgroundColor:"keyStatsPrimaryBackgroundColor"}}}});export{o as default};
|
|
2
2
|
//# sourceMappingURL=progress.js.map
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Accordion } from ".";
|
|
3
|
+
declare const meta: Meta<typeof Accordion>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Default Accordion - This is the base version of the Accordion Component. */
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
/** TwoAccordionItems Accordion - This is the two accordion items version of the Accordion Component. */
|
|
9
|
+
export declare const TwoAccordionItems: Story;
|
|
10
|
+
/** ThreeAccordionItems Accordion - This is the three accordion items version of the Accordion Component. */
|
|
11
|
+
export declare const ThreeAccordionItems: Story;
|
|
4
12
|
//# sourceMappingURL=Accordion.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/Accordion.stories.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Accordion.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/Accordion.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EACL,SAAS,EAKV,MAAM,GAAG,CAAC;AAKX,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAWhC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAqBnC,+EAA+E;AAC/E,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,wGAAwG;AACxG,eAAO,MAAM,iBAAiB,EAAE,KAO/B,CAAC;AAEF,4GAA4G;AAC5G,eAAO,MAAM,mBAAmB,EAAE,KAOjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/Accordion.test.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Avatar } from ".";
|
|
3
|
+
declare const meta: Meta<typeof Avatar>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Default Avatar - This is the base version of the Avatar Component. */
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
/** Default Avatar With Sizes - This is the Avatar Component at different sizes. */
|
|
9
|
+
export declare const WithSizes: Story;
|
|
10
|
+
/** Default Avatar With SrcSet - This is the Avatar Component at different sizes using the "srcSet" property. */
|
|
11
|
+
export declare const WithSrcSet: Story;
|
|
12
|
+
/** Default Avatar within Avatar Group - This is the Avatar Component Group. */
|
|
13
|
+
export declare const WithAvatarGroup: {
|
|
14
|
+
render: (args: any) => import("react/jsx-runtime").JSX.Element;
|
|
4
15
|
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Basic: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const WithSizes: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const WithSrcSet: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const WithAvatarGroup: () => import("react/jsx-runtime").JSX.Element;
|
|
10
16
|
//# sourceMappingURL=Avatar.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,MAAM,EAA4B,MAAM,GAAG,CAAC;AAIrD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAmB7B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,yEAAyE;AACzE,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,SAAS,EAAE,KAgBvB,CAAC;AAEF,gHAAgH;AAChH,eAAO,MAAM,UAAU,EAAE,KAgBxB,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,eAAe;;CAyB3B,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react";
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { Badge } from ".";
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
3
|
+
declare const meta: Meta<typeof Badge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Default Badge - This is the base version of the Badge Component. */
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
/** Secondary Version of Badge - This is the secondary version of the Badge Component. */
|
|
9
|
+
export declare const Secondary: Story;
|
|
10
|
+
/** Tertiary Version of Badge - This is the tertiary version of the Badge Component. */
|
|
11
|
+
export declare const Tertiary: Story;
|
|
9
12
|
//# sourceMappingURL=Badge.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/Badge.stories.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Badge.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/Badge.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAM1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAwB5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,uEAAuE;AACvE,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,yFAAyF;AACzF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/Badge.test.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Box } from "./index";
|
|
3
|
+
declare const meta: Meta<typeof Box>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Blue: Story;
|
|
8
|
+
export declare const Magenta: Story;
|
|
9
|
+
export declare const Cyan: Story;
|
|
10
|
+
export declare const BoxWithSpacer: Story;
|
|
8
11
|
//# sourceMappingURL=Box.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Box/Box.stories.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Box/Box.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAI9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,CA+B1B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAa3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/Box/Box.test.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -2,8 +2,11 @@ import type { Meta, StoryObj } from "@storybook/react";
|
|
|
2
2
|
import { Breadcrumb } from ".";
|
|
3
3
|
declare const meta: Meta<typeof Breadcrumb>;
|
|
4
4
|
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Default Breadcumb - This is the base version of the Breadcrumb Component. */
|
|
6
7
|
export declare const Default: Story;
|
|
8
|
+
/** Toplevel Breadcrumb - This is the top level version of the Breadcrumb Component. */
|
|
7
9
|
export declare const TopLevelBreadcrumb: Story;
|
|
10
|
+
/** Long Breadcrumb - This is the long version of the Breadcrumb Component. */
|
|
8
11
|
export declare const LongBreadcrumb: Story;
|
|
9
12
|
//# sourceMappingURL=Breadcrumb.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Breadcrumb/Breadcrumb.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAkC,MAAM,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"Breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Breadcrumb/Breadcrumb.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAkC,MAAM,GAAG,CAAC;AAI/D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAWjC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,gFAAgF;AAChF,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,kBAAkB,EAAE,KAUhC,CAAC;AAEF,8EAA8E;AAC9E,eAAO,MAAM,cAAc,EAAE,KAsB5B,CAAC"}
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react";
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { Button } from ".";
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const meta: Meta<typeof Button>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Primary Button - This is the base version of the Button Component. */
|
|
5
7
|
export declare const Primary: Story;
|
|
8
|
+
/** Primary Navy Button - This is the base version of the Button Component in Navy. */
|
|
6
9
|
export declare const PrimaryNavy: Story;
|
|
10
|
+
/** Primary Button with IconLeft - This is the primary version of the Button Component with an Icon on the left. */
|
|
11
|
+
export declare const IconLeftPrimary: Story;
|
|
12
|
+
/** Secondary Button - This is the secondary version of the Button Component. */
|
|
7
13
|
export declare const Secondary: Story;
|
|
14
|
+
/** Secondary Button In Navy - This is the secondary version of the Button Component in navy. */
|
|
8
15
|
export declare const SecondaryNavy: Story;
|
|
9
|
-
|
|
10
|
-
export declare const IconLeftPrimary: Story;
|
|
16
|
+
/** Secondary Button with IconRight - This is the secondary version of the Button Component with an Icon on the right. */
|
|
11
17
|
export declare const IconRightSecondary: Story;
|
|
18
|
+
/** Alternative Button - This is the alternative version of the Button Component. */
|
|
19
|
+
export declare const Alternative: Story;
|
|
20
|
+
/** Link Button - This is the link version of the Button Component. */
|
|
12
21
|
export declare const Link: Story;
|
|
22
|
+
/** Truncation Control Button - This is the trucation control version of the Button Component. */
|
|
13
23
|
export declare const TruncationControl: Story;
|
|
14
|
-
type Story = StoryObj<typeof Button>;
|
|
15
24
|
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC;AAM3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA0B7B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,yEAAyE;AACzE,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,sFAAsF;AACtF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,mHAAmH;AACnH,eAAO,MAAM,eAAe,EAAE,KAM7B,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAEF,gGAAgG;AAChG,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAC;AAEF,yHAAyH;AACzH,eAAO,MAAM,kBAAkB,EAAE,KAMhC,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,iGAAiG;AACjG,eAAO,MAAM,iBAAiB,EAAE,KAK/B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IconButtonProps } from "@chakra-ui/react";
|
|
2
2
|
declare const IconButton: import("@chakra-ui/system/dist/system.types").ComponentWithAs<"button", IconButtonProps>;
|
|
3
|
-
export
|
|
3
|
+
export { IconButton, type IconButtonProps };
|
|
4
4
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAGL,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAE1B,QAAA,MAAM,UAAU,0FAYd,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAGL,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAE1B,QAAA,MAAM,UAAU,0FAYd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { IconButton } from "./IconButton";
|
|
3
|
+
declare const meta: Meta<typeof IconButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Primary IconButton - This is the base version of the IconButton Component. */
|
|
7
|
+
export declare const Primary: Story;
|
|
4
8
|
//# sourceMappingURL=IconButton.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton.stories.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAoBjC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,iFAAiF;AACjF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton.test.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -13,7 +13,7 @@ export declare const Social: Story;
|
|
|
13
13
|
export declare const Navigation: Story;
|
|
14
14
|
/** One Column Card Stack - This is the One Column version of multiple Card Components. */
|
|
15
15
|
export declare const OneColumnCardStack: {
|
|
16
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
render: (args: any) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
parameters: {
|
|
18
18
|
design: {
|
|
19
19
|
type: string;
|
|
@@ -24,7 +24,7 @@ export declare const OneColumnCardStack: {
|
|
|
24
24
|
};
|
|
25
25
|
/** Two Column Card Stack - This is the Two Column version of multiple Card Components. */
|
|
26
26
|
export declare const TwoColumnCardStack: {
|
|
27
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
render: (args: any) => import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
parameters: {
|
|
29
29
|
design: {
|
|
30
30
|
type: string;
|
|
@@ -35,7 +35,7 @@ export declare const TwoColumnCardStack: {
|
|
|
35
35
|
};
|
|
36
36
|
/** Three Column Card Stack - This is the Three Column version of multiple Card Components. */
|
|
37
37
|
export declare const ThreeColumnCardStack: {
|
|
38
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
render: (args: any) => import("react/jsx-runtime").JSX.Element;
|
|
39
39
|
parameters: {
|
|
40
40
|
design: {
|
|
41
41
|
type: string;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react";
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { Circle } from ".";
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
3
|
+
declare const meta: Meta<typeof Circle>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Primary Circle - This is the base version of the Circle Component. */
|
|
7
|
+
export declare const Primary: Story;
|
|
8
|
+
/** Secondary Circle - This is the secondary version of the Circle Component. */
|
|
9
|
+
export declare const Secondary: Story;
|
|
10
|
+
/** Tertiary Circle - This is the tertiary version of the Circle Component. */
|
|
11
|
+
export declare const Tertiary: Story;
|
|
9
12
|
//# sourceMappingURL=Circle.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Circle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Circle/Circle.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Circle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Circle/Circle.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC;AAM3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAmB7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,yEAAyE;AACzE,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAEF,8EAA8E;AAC9E,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react";
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { CircleDevice } from ".";
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const meta: Meta<typeof CircleDevice>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Default Circle Device - This is the base version of the Circle Device Component. */
|
|
5
7
|
export declare const Default: Story;
|
|
8
|
+
/** Without Text Circle Device - This is the base version of the Circle Device Component without text. */
|
|
6
9
|
export declare const WithoutText: Story;
|
|
10
|
+
/** Without Heading Circle Device - This is the base version of the Circle Device Component without a heading. */
|
|
7
11
|
export declare const WithoutHeading: Story;
|
|
12
|
+
/** Without Different Colours Circle Device - This is the base version of the Circle Device Component with different colours. */
|
|
8
13
|
export declare const WithDifferentColorCircles: Story;
|
|
9
|
-
type Story = StoryObj<typeof CircleDevice>;
|
|
10
14
|
//# sourceMappingURL=CircleDevice.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircleDevice.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/CircleDevice/CircleDevice.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"CircleDevice.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/CircleDevice/CircleDevice.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,YAAY,EAAqB,MAAM,GAAG,CAAC;AAoBpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAoCnC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,uFAAuF;AACvF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,iHAAiH;AACjH,eAAO,MAAM,cAAc,EAAE,KAE5B,CAAC;AAEF,gIAAgI;AAChI,eAAO,MAAM,yBAAyB,EAAE,KAQvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircleDevice.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/CircleDevice/CircleDevice.test.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Container } from ".";
|
|
3
|
+
declare const meta: Meta<typeof Container>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Basic Container - This is the base version of the Container Component. */
|
|
7
|
+
export declare const Basic: Story;
|
|
8
|
+
/** Basic with Border Container - This is the base version of the Container Component with a 1px border. */
|
|
9
|
+
export declare const BasicWithBorder: Story;
|
|
10
|
+
/** Basic with Centered Items Container - This is the base version of the Container Component with a 4px border and centered items. */
|
|
11
|
+
export declare const WithCenteredBox: {
|
|
12
|
+
args: {
|
|
13
|
+
border: string;
|
|
14
|
+
p: string;
|
|
15
|
+
centerContent: boolean;
|
|
16
|
+
};
|
|
17
|
+
render: (args: any) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
};
|
|
6
19
|
//# sourceMappingURL=Container.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Container/Container.stories.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Container/Container.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC;AAI9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAgChC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,6EAA6E;AAC7E,eAAO,MAAM,KAAK,EAAE,KAcnB,CAAC;AAEF,2GAA2G;AAC3G,eAAO,MAAM,eAAe,EAAE,KAc7B,CAAC;AAEF,sIAAsI;AACtI,eAAO,MAAM,eAAe;;;;;;;CAa3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/Container/Container.test.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Container/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Container/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react";
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { Divider } from ".";
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
declare const meta: Meta<typeof Divider>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Default Divider - This is the base version of the Divider Component. */
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
/** Footer Divider - This is the footer version of the Divider Component. */
|
|
9
|
+
export declare const FooterVariant: Story;
|
|
7
10
|
//# sourceMappingURL=Divider.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/Divider.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Divider.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/Divider.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC;AAM5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAsB9B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,2EAA2E;AAC3E,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/Divider.test.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -1,30 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
tabListTitle: string;
|
|
9
|
-
amounts: AmountProps[];
|
|
10
|
-
inputLabel: string;
|
|
11
|
-
inputPlaceholder: string;
|
|
12
|
-
primaryCtaButtonCustomLink: {
|
|
13
|
-
children: string;
|
|
14
|
-
};
|
|
15
|
-
primaryCtaButton: {
|
|
16
|
-
children: string;
|
|
17
|
-
href: string;
|
|
18
|
-
};
|
|
19
|
-
errorMessageTooHigh: string;
|
|
20
|
-
errorMessageTooLow: string;
|
|
21
|
-
secondaryCtaLink: {
|
|
22
|
-
displayText: string;
|
|
23
|
-
href: string;
|
|
24
|
-
variant: string;
|
|
25
|
-
};
|
|
26
|
-
paymentIcons: string[];
|
|
27
|
-
}[];
|
|
28
|
-
};
|
|
29
|
-
};
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { DonateWidget } from "./index";
|
|
3
|
+
declare const meta: Meta<typeof DonateWidget>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Default Donate Widget - This is the base version of the Donate Widget Component. */
|
|
7
|
+
export declare const Default: Story;
|
|
30
8
|
//# sourceMappingURL=DonateWidget.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DonateWidget.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/DonateWidget/DonateWidget.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DonateWidget.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/DonateWidget/DonateWidget.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAe,YAAY,EAAqB,MAAM,SAAS,CAAC;AAyBvE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAgEnC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,uFAAuF;AACvF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|
|
@@ -21,6 +21,9 @@ type TabProps = {
|
|
|
21
21
|
inputLabel: string;
|
|
22
22
|
inputPlaceholder: string;
|
|
23
23
|
primaryCtaButton?: ButtonProps;
|
|
24
|
+
primaryCtaButtonCustomLink?: {
|
|
25
|
+
children: string;
|
|
26
|
+
};
|
|
24
27
|
secondaryCtaLink?: DonateLinkProps;
|
|
25
28
|
paymentIcons?: string[];
|
|
26
29
|
errorMessageTooHigh: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DonateWidget/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAqC,MAAM,kBAAkB,CAAC;AACzE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAC;AAIhD,OAAO,EAAQ,SAAS,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAA2C,SAAS,EAAE,MAAM,SAAS,CAAC;AAI7E,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,UAAU,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,EAAE,CAAC,EAAE,EAAE,CAAC;IACR,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAED,KAAK,QAAQ,GAAG;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,WAAW,CAAC;IAC/B,0BAA0B,CAAC,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAClD,gBAAgB,CAAC,EAAE,eAAe,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,mBAAmB,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,UAAU,iBAAkB,SAAQ,SAAS;IAC3C,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,yFAoPhB,CAAC;AAEH,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
1
|
+
import { Flex } from "@chakra-ui/react";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
declare const meta: Meta<typeof Flex>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Default Flex Component - This is the base version of the Flex Component. */
|
|
7
|
+
export declare const Basic: Story;
|
|
8
|
+
/** Default Flex Component With Spacer - This is the base version of the Flex Component with a spacer. */
|
|
9
|
+
export declare const FlexSpacer: Story;
|
|
5
10
|
//# sourceMappingURL=Flex.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Flex/Flex.stories.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Flex.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Flex/Flex.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAU,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIlD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAI3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,+EAA+E;AAC/E,eAAO,MAAM,KAAK,EAAE,KAcnB,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Flex.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/Flex/Flex.test.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Footer } from ".";
|
|
3
|
+
declare const meta: Meta<typeof Footer>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
/** Default Footer - This is the base version of the Footer Component. */
|
|
7
|
+
export declare const FOOTER: Story;
|
|
4
8
|
//# sourceMappingURL=Footer.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Footer/Footer.stories.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Footer/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,MAAM,EAAa,MAAM,GAAG,CAAC;AAMtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAW7B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAoCnC,yEAAyE;AACzE,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyStatistics/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAErB,QAAQ,EACR,aAAa,EACb,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAQ,SAAS,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAE9B,KAAK,qBAAqB,GAAG,aAAa,GAAG;IAC3C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAIF,QAAA,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyStatistics/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAErB,QAAQ,EACR,aAAa,EACb,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAQ,SAAS,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAE9B,KAAK,qBAAqB,GAAG,aAAa,GAAG;IAC3C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAIF,QAAA,MAAM,gBAAgB,6FAyCrB,CAAC;AAEF,QAAA,MAAM,gBAAgB,6FA6BrB,CAAC;AAEF,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,gBAAgB,GACjB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { StoryObj } from "@storybook/react";
|
|
2
|
+
import { ProgressBar } from ".";
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type Story = StoryObj<typeof ProgressBar>;
|
|
6
|
+
export declare const BasicProgressBar: Story;
|
|
7
|
+
export declare const ProgressBarWithSecondaryPercentage: Story;
|
|
8
|
+
export declare const BasicCircularProgressBar: Story;
|
|
9
|
+
//# sourceMappingURL=ProgressBar.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressBar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressBar/ProgressBar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC;;AAEhC,wBAIU;AAEV,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,eAAO,MAAM,gBAAgB,EAAE,KAO9B,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,KAQhD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAStC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ProgressProps as ChakraProgressProps } from "@chakra-ui/react";
|
|
2
|
+
interface ProgressProps extends ChakraProgressProps {
|
|
3
|
+
secondaryValue?: number;
|
|
4
|
+
barColor?: string;
|
|
5
|
+
secondaryBarColor?: string;
|
|
6
|
+
isCircular?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const ProgressBar: import("@chakra-ui/system/dist/system.types").ComponentWithAs<import("@chakra-ui/system/dist/system.types").As, ProgressProps>;
|
|
9
|
+
export { ProgressBar, type ProgressProps as ProgressBarProps };
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressBar/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,aAAa,IAAI,mBAAmB,EACrC,MAAM,kBAAkB,CAAC;AAE1B,UAAU,aAAc,SAAQ,mBAAmB;IACjD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,WAAW,gIAqCf,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,KAAK,aAAa,IAAI,gBAAgB,EAAE,CAAC"}
|
|
@@ -22,6 +22,7 @@ export { ArrowDownListItem, CheckList, CheckListItem, List, ListIcon, ListItem,
|
|
|
22
22
|
export { Loader } from "./components/Loader";
|
|
23
23
|
export { Navigation } from "./components/Navigation";
|
|
24
24
|
export { Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, type PopoverProps, PopoverTrigger, } from "./components/PopOver";
|
|
25
|
+
export { ProgressBar } from "./components/ProgressBar";
|
|
25
26
|
export { Radio, RadioGroup } from "./components/Radio";
|
|
26
27
|
export { ReferenceBlock, ReferenceBlockContainer, type ReferenceBlockContainerProps, type ReferenceBlockProps, } from "./components/ReferenceBlock";
|
|
27
28
|
export { RichHeader } from "./components/RichHeader";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/D,OAAO,EACL,SAAS,EACT,eAAe,EACf,aAAa,EACb,aAAa,EACb,cAAc,GACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,cAAc,EACd,KAAK,mBAAmB,EACxB,cAAc,GACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,SAAS,EACT,KAAK,cAAc,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EACL,MAAM,EACN,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,SAAS,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,SAAS,GACV,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CA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AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,KAAK,EACL,cAAc,EACd,KAAK,EACL,EAAE,EACF,EAAE,EACF,KAAK,EACL,EAAE,GACH,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAEnD,cAAc,SAAS,CAAC"}
|
|
@@ -13,13 +13,7 @@ declare const progressTheme: {
|
|
|
13
13
|
fontSize: string;
|
|
14
14
|
fontFamily: string;
|
|
15
15
|
};
|
|
16
|
-
filledTrack: {
|
|
17
|
-
backgroundColor: string;
|
|
18
|
-
};
|
|
19
16
|
track: {
|
|
20
|
-
minWidth: string;
|
|
21
|
-
minHeight: string;
|
|
22
|
-
transform: string;
|
|
23
17
|
"aria-label": string;
|
|
24
18
|
};
|
|
25
19
|
};
|
|
@@ -29,13 +23,20 @@ declare const progressTheme: {
|
|
|
29
23
|
}>;
|
|
30
24
|
};
|
|
31
25
|
variants?: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
keyStatsVertical: {
|
|
27
|
+
track: {
|
|
28
|
+
minHeight: string;
|
|
29
|
+
minWidth: string;
|
|
30
|
+
transform: string;
|
|
31
|
+
};
|
|
32
|
+
filledTrack: {
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
35
36
|
};
|
|
36
37
|
defaultProps?: {
|
|
37
38
|
size?: string | number;
|
|
38
|
-
variant?:
|
|
39
|
+
variant?: "keyStatsVertical";
|
|
39
40
|
colorScheme?: string;
|
|
40
41
|
};
|
|
41
42
|
parts: ("label" | "track" | "filledTrack")[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/progress.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/progress.ts"],"names":[],"mappings":"AA8BA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBjB,CAAC;AACH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=template-test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-test.d.ts","sourceRoot":"","sources":["../../../template/template-test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=template.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.stories.d.ts","sourceRoot":"","sources":["../../../template/template.stories.tsx"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cruk/chakra-components",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.5",
|
|
4
4
|
"description": "Chakra UI based components for CRUK - Work In Progress",
|
|
5
5
|
"main": "./dist/cjs/packages/components/src/index.js",
|
|
6
6
|
"module": "./dist/esm/packages/components/src/index.js",
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
"@chakra-ui/icons": "^2.1.0",
|
|
31
31
|
"@chakra-ui/react": "^2.7.1",
|
|
32
32
|
"@chakra-ui/storybook-addon": "^5.0.1",
|
|
33
|
-
"@rollup/plugin-url": "^8.0.2",
|
|
34
33
|
"@storybook/addon-styling": "^1.0.0-next.2",
|
|
35
34
|
"@storybook/jest": "^0.2.3",
|
|
36
35
|
"@storybook/react": "^7.4.1",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|