@cruk/chakra-components 3.10.0 → 3.12.0
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 -2
- package/dist/cjs/components/CTABanner/index.js +1 -1
- package/dist/cjs/components/CTABanner/index.js.map +1 -1
- package/dist/cjs/components/DonateWidget/index.js +1 -1
- package/dist/cjs/components/DonateWidget/index.js.map +1 -1
- package/dist/cjs/components/DonateWidget/navigation.js +2 -0
- package/dist/cjs/components/DonateWidget/navigation.js.map +1 -0
- package/dist/cjs/components/KeyStatistics/index.js +1 -1
- package/dist/cjs/components/KeyStatistics/index.js.map +1 -1
- package/dist/cjs/components/Navigation/index.js +1 -1
- package/dist/cjs/components/Navigation/index.js.map +1 -1
- package/dist/cjs/components/Toggle/index.js +1 -1
- package/dist/cjs/components/Toggle/index.js.map +1 -1
- package/dist/cjs/static/icons/alert.js +1 -1
- package/dist/cjs/static/icons/alert.js.map +1 -1
- package/dist/cjs/static/icons/apple.js +1 -1
- package/dist/cjs/static/icons/apple.js.map +1 -1
- package/dist/cjs/static/icons/arrowReturnUp.js +1 -1
- package/dist/cjs/static/icons/arrowReturnUp.js.map +1 -1
- package/dist/cjs/static/icons/cloudUpload.js +1 -1
- package/dist/cjs/static/icons/cloudUpload.js.map +1 -1
- package/dist/cjs/static/icons/directDebit.js +1 -1
- package/dist/cjs/static/icons/directDebit.js.map +1 -1
- package/dist/cjs/static/icons/facebook.js +1 -1
- package/dist/cjs/static/icons/facebook.js.map +1 -1
- package/dist/cjs/static/icons/googlePay.js +1 -1
- package/dist/cjs/static/icons/googlePay.js.map +1 -1
- package/dist/cjs/static/icons/info.js +1 -1
- package/dist/cjs/static/icons/info.js.map +1 -1
- package/dist/cjs/static/icons/instagram.js +1 -1
- package/dist/cjs/static/icons/instagram.js.map +1 -1
- package/dist/cjs/static/icons/masterCard.js +1 -1
- package/dist/cjs/static/icons/masterCard.js.map +1 -1
- package/dist/cjs/static/icons/payPal.js +1 -1
- package/dist/cjs/static/icons/payPal.js.map +1 -1
- package/dist/cjs/static/icons/phone.js +1 -1
- package/dist/cjs/static/icons/phone.js.map +1 -1
- package/dist/cjs/static/icons/play.js +1 -1
- package/dist/cjs/static/icons/play.js.map +1 -1
- package/dist/cjs/static/icons/success.js +1 -1
- package/dist/cjs/static/icons/success.js.map +1 -1
- package/dist/cjs/static/icons/tikTok.js +1 -1
- package/dist/cjs/static/icons/tikTok.js.map +1 -1
- package/dist/cjs/static/icons/twitter.js +1 -1
- package/dist/cjs/static/icons/twitter.js.map +1 -1
- package/dist/cjs/static/icons/visa.js +1 -1
- package/dist/cjs/static/icons/visa.js.map +1 -1
- package/dist/cjs/static/icons/youTube.js +1 -1
- package/dist/cjs/static/icons/youTube.js.map +1 -1
- package/dist/cjs/theme/cruk/components/checkbox.js +1 -1
- package/dist/cjs/theme/cruk/components/checkbox.js.map +1 -1
- package/dist/cjs/theme/cruk/foundations/semantic-tokens.js +1 -1
- package/dist/cjs/theme/cruk/foundations/semantic-tokens.js.map +1 -1
- package/dist/cjs/theme/r4l/foundations/semantic-tokens.js +1 -1
- package/dist/cjs/theme/r4l/foundations/semantic-tokens.js.map +1 -1
- package/dist/cjs/theme/su2c/foundations/semantic-tokens.js +1 -1
- package/dist/cjs/theme/su2c/foundations/semantic-tokens.js.map +1 -1
- package/dist/esm/components/CTABanner/index.js +1 -1
- package/dist/esm/components/CTABanner/index.js.map +1 -1
- package/dist/esm/components/DonateWidget/index.js +1 -1
- package/dist/esm/components/DonateWidget/index.js.map +1 -1
- package/dist/esm/components/DonateWidget/navigation.js +2 -0
- package/dist/esm/components/DonateWidget/navigation.js.map +1 -0
- package/dist/esm/components/KeyStatistics/index.js +1 -1
- package/dist/esm/components/KeyStatistics/index.js.map +1 -1
- package/dist/esm/components/Navigation/index.js +1 -1
- package/dist/esm/components/Navigation/index.js.map +1 -1
- package/dist/esm/components/Toggle/index.js +1 -1
- package/dist/esm/components/Toggle/index.js.map +1 -1
- package/dist/esm/static/icons/alert.js +1 -1
- package/dist/esm/static/icons/alert.js.map +1 -1
- package/dist/esm/static/icons/apple.js +1 -1
- package/dist/esm/static/icons/apple.js.map +1 -1
- package/dist/esm/static/icons/arrowReturnUp.js +1 -1
- package/dist/esm/static/icons/arrowReturnUp.js.map +1 -1
- package/dist/esm/static/icons/cloudUpload.js +1 -1
- package/dist/esm/static/icons/cloudUpload.js.map +1 -1
- package/dist/esm/static/icons/directDebit.js +1 -1
- package/dist/esm/static/icons/directDebit.js.map +1 -1
- package/dist/esm/static/icons/facebook.js +1 -1
- package/dist/esm/static/icons/facebook.js.map +1 -1
- package/dist/esm/static/icons/googlePay.js +1 -1
- package/dist/esm/static/icons/googlePay.js.map +1 -1
- package/dist/esm/static/icons/info.js +1 -1
- package/dist/esm/static/icons/info.js.map +1 -1
- package/dist/esm/static/icons/instagram.js +1 -1
- package/dist/esm/static/icons/instagram.js.map +1 -1
- package/dist/esm/static/icons/masterCard.js +1 -1
- package/dist/esm/static/icons/masterCard.js.map +1 -1
- package/dist/esm/static/icons/payPal.js +1 -1
- package/dist/esm/static/icons/payPal.js.map +1 -1
- package/dist/esm/static/icons/phone.js +1 -1
- package/dist/esm/static/icons/phone.js.map +1 -1
- package/dist/esm/static/icons/play.js +1 -1
- package/dist/esm/static/icons/play.js.map +1 -1
- package/dist/esm/static/icons/success.js +1 -1
- package/dist/esm/static/icons/success.js.map +1 -1
- package/dist/esm/static/icons/tikTok.js +1 -1
- package/dist/esm/static/icons/tikTok.js.map +1 -1
- package/dist/esm/static/icons/twitter.js +1 -1
- package/dist/esm/static/icons/twitter.js.map +1 -1
- package/dist/esm/static/icons/visa.js +1 -1
- package/dist/esm/static/icons/visa.js.map +1 -1
- package/dist/esm/static/icons/youTube.js +1 -1
- package/dist/esm/static/icons/youTube.js.map +1 -1
- package/dist/esm/theme/cruk/components/checkbox.js +1 -1
- package/dist/esm/theme/cruk/components/checkbox.js.map +1 -1
- package/dist/esm/theme/cruk/foundations/semantic-tokens.js +1 -1
- package/dist/esm/theme/cruk/foundations/semantic-tokens.js.map +1 -1
- package/dist/esm/theme/r4l/foundations/semantic-tokens.js +1 -1
- package/dist/esm/theme/r4l/foundations/semantic-tokens.js.map +1 -1
- package/dist/esm/theme/su2c/foundations/semantic-tokens.js +1 -1
- package/dist/esm/theme/su2c/foundations/semantic-tokens.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/package.json +49 -47
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const r={primary:"magenta.600",secondary:"navy.600",tertiary:"cyan.600",textOnPrimary:"white",textOnSecondary:"white",textOnTertiary:"white"},o={textDark:"black",textLight:"white",backgroundLight:"white",backgroundLightGrey:"grey.100",textInputBorder:"grey.600",inputBorder:"grey.600",selectBackground:"backgroundLight",selectionBorder:"grey.600",disabled:"grey.600",disabledBackground:"grey.100",hoverColor:"black",activeField:"status.information",formPrimarySelectItemColour:"grey.600",formPrimarySelectItemHover:"magenta.700",formPrimaryLabel:"grey.600",formPrimaryPlaceholder:"grey.600",formPrimaryBgDisabled:"grey.100",formPrimaryDisabled:"grey.600",quoteIconPrimary:"magenta.700",quoteIconAlt:"magenta.600",accordionIconPrimary:"magenta.700",buttonPrimaryBackground:"magenta.700",buttonPrimaryBorder:"magenta.700",buttonPrimaryText:"white",buttonPrimaryBorderHover:"magenta.800",buttonPrimaryTextHover:"magenta.800",buttonPrimaryBackgroundHover:"magenta.800",buttonPrimaryDisabledBackground:"grey.200",buttonPrimaryDisabledText:"grey.600",buttonPrimaryAltBackground:r.secondary,buttonPrimaryAltBorder:r.secondary,buttonPrimaryAltBorderHover:r.secondary,buttonPrimaryAltTextHover:r.secondary,buttonPrimaryAltBackgroundHover:r.secondary,buttonSecondaryBackground:"white",buttonSecondaryBorder:"magenta.700",buttonSecondaryText:"magenta.700",buttonSecondaryBorderHover:"magenta.800",buttonSecondaryBackgroundHover:"magenta.100",buttonSecondaryTextHover:"magenta.800",buttonSecondaryAltBorder:r.secondary,buttonSecondaryAltText:r.secondary,buttonSecondaryAltBorderHover:r.secondary,buttonSecondaryAltBackgroundHover:"navy.100",buttonSecondaryAltTextHover:r.secondary,buttonSecondaryDisabledBackground:"grey.600",buttonSecondaryDisabledBorder:"grey.600",buttonSecondaryDisabledText:"grey.600",buttonAlternativeBackground:"white",buttonAlternativeText:"navy.600",buttonAlternativeTextHover:"magenta.700",buttonAlternativeDisabledBackground:"grey.200",buttonAlternativeDisabledText:"grey.600",buttonLinkBackground:"white",buttonLinkText:"black",buttonVideoBackground:"black",buttonVideoText:"white",buttonToggleBackground:"white",buttonToggleText:r.secondary,buttonToggleBorder:r.secondary,buttonToggleTextHover:"white",buttonToggleBackgroundHover:r.secondary,buttonToggleSelectedBackground:r.secondary,buttonToggleSelectedBorder:r.secondary,buttonToggleSelectedText:"white",buttonToggleDisabledBackground:"white",buttonToggleDisabledText:"grey.600",buttonToggleDisabledBorder:"grey.600",buttonBackToTopHover:"navy.700",buttonCitationPrimary:r.secondary,btnCitationBgPrimary:"grey.100",btnAccordionHover:"magenta.700",boxPrimaryBg:r.secondary,boxSecondaryBg:r.primary,boxAltBg:"grey.600",boxTertiaryBg:r.tertiary,boxCaseStudyborderColor:"brandGrey.600",boxPullQuoteborderColor:"brandGrey.600",ctaBannerPrimaryBg:"magenta.700",ctaBannerSecondaryBg:"navy.600",ctaBannerTextOnPrimary:"white",ctaBannerTextOnSecondary:"black",gridPrimaryBg:r.secondary,gridSecondaryBg:r.primary,gridAltBg:"grey.600",gridAltGreyBg:"grey.200",gridTertiaryBg:r.tertiary,linkColor:"magenta.700",linkColorHover:"magenta.800",linkColorVisited:"magenta.800",altLinkColor:r.secondary,altLinkColorHover:"navy.700",altLinkColorVisited:"navy.700",truncateColor:r.secondary,truncateColorHover:"cyan.700",navigationLinkColor:"black",navigationLinkHover:"magenta.700",linkRefPrimary:"navy.600",linkRefHover:"navy.700",citationPopoverLink:"magenta.400",citationPopoverLinkHover:"magenta.300",citationPopoverLinkVisited:"magenta.300",cardTextBackgroundColor:"brandGrey.600",CardNavigationHeaderColor:"navy.600",cardTextColor:"black",cardBoxShadowColor:"grey.200",cardNavigationTextHover:"magenta.700",cardNavigationIconHover:"magenta.700",loaderColor1:"primary",loaderColor2:"secondary",loaderColor3:"tertiary",onThisPagePrimaryBg:"navy.100",headingColor:"navy.600",subheadingColor:"black",textColor:"black",captionColor:"grey.600",textDonateByCancerInfo:"cyan.700",tagBg:"cyan.100",tagColor:"grey.700",tabPrimaryColor:"grey.600",breadcrumbSpacing:"1",badgeColorPrimary:"primary",badgeColorSecondary:"secondary",badgeBorderColorSecondary:r.secondary,badgeColorTertiary:"white",badgeTextColorOnTertiary:r.tertiary,badgeBorderColorTertiary:r.tertiary,circleColorPrimary:"primary",circleColorSecondary:"secondary",circleColorTertiary:"tertiary",totaliserBackground:"grey.200",totaliserBubbleTextColor:"su2c_black",totaliserBubbleTotalColor:"primary",totaliserTextTransform:"uppercase",keyStatsPrimaryBackgroundColor:r.secondary,keyStatsPrimaryTextColor:r.textOnPrimary,
|
|
1
|
+
const r={primary:"magenta.600",secondary:"navy.600",tertiary:"cyan.600",textOnPrimary:"white",textOnSecondary:"white",textOnTertiary:"white"},o={textDark:"black",textLight:"white",backgroundLight:"white",backgroundLightGrey:"grey.100",textInputBorder:"grey.600",inputBorder:"grey.600",selectBackground:"backgroundLight",selectionBorder:"grey.600",disabled:"grey.600",disabledBackground:"grey.100",hoverColor:"black",activeField:"status.information",formPrimarySelectItemColour:"grey.600",formPrimarySelectItemHover:"magenta.700",formPrimaryLabel:"grey.600",formPrimaryPlaceholder:"grey.600",formPrimaryBgDisabled:"grey.100",formPrimaryDisabled:"grey.600",quoteIconPrimary:"magenta.700",quoteIconAlt:"magenta.600",accordionIconPrimary:"magenta.700",buttonPrimaryBackground:"magenta.700",buttonPrimaryBorder:"magenta.700",buttonPrimaryText:"white",buttonPrimaryBorderHover:"magenta.800",buttonPrimaryTextHover:"magenta.800",buttonPrimaryBackgroundHover:"magenta.800",buttonPrimaryDisabledBackground:"grey.200",buttonPrimaryDisabledText:"grey.600",buttonPrimaryAltBackground:r.secondary,buttonPrimaryAltBorder:r.secondary,buttonPrimaryAltBorderHover:r.secondary,buttonPrimaryAltTextHover:r.secondary,buttonPrimaryAltBackgroundHover:r.secondary,buttonSecondaryBackground:"white",buttonSecondaryBorder:"magenta.700",buttonSecondaryText:"magenta.700",buttonSecondaryBorderHover:"magenta.800",buttonSecondaryBackgroundHover:"magenta.100",buttonSecondaryTextHover:"magenta.800",buttonSecondaryAltBorder:r.secondary,buttonSecondaryAltText:r.secondary,buttonSecondaryAltBorderHover:r.secondary,buttonSecondaryAltBackgroundHover:"navy.100",buttonSecondaryAltTextHover:r.secondary,buttonSecondaryDisabledBackground:"grey.600",buttonSecondaryDisabledBorder:"grey.600",buttonSecondaryDisabledText:"grey.600",buttonAlternativeBackground:"white",buttonAlternativeText:"navy.600",buttonAlternativeTextHover:"magenta.700",buttonAlternativeDisabledBackground:"grey.200",buttonAlternativeDisabledText:"grey.600",buttonLinkBackground:"white",buttonLinkText:"black",buttonVideoBackground:"black",buttonVideoText:"white",buttonToggleBackground:"white",buttonToggleText:r.secondary,buttonToggleBorder:r.secondary,buttonToggleTextHover:"white",buttonToggleBackgroundHover:r.secondary,buttonToggleSelectedBackground:r.secondary,buttonToggleSelectedBorder:r.secondary,buttonToggleSelectedText:"white",buttonToggleDisabledBackground:"white",buttonToggleDisabledText:"grey.600",buttonToggleDisabledBorder:"grey.600",buttonBackToTopHover:"navy.700",buttonCitationPrimary:r.secondary,btnCitationBgPrimary:"grey.100",btnAccordionHover:"magenta.700",boxPrimaryBg:r.secondary,boxSecondaryBg:r.primary,boxAltBg:"grey.600",boxTertiaryBg:r.tertiary,boxCaseStudyborderColor:"brandGrey.600",boxPullQuoteborderColor:"brandGrey.600",ctaBannerPrimaryBg:"magenta.700",ctaBannerSecondaryBg:"navy.600",ctaBannerTextOnPrimary:"white",ctaBannerTextOnSecondary:"black",gridPrimaryBg:r.secondary,gridSecondaryBg:r.primary,gridAltBg:"grey.600",gridAltGreyBg:"grey.200",gridTertiaryBg:r.tertiary,linkColor:"magenta.700",linkColorHover:"magenta.800",linkColorVisited:"magenta.800",altLinkColor:r.secondary,altLinkColorHover:"navy.700",altLinkColorVisited:"navy.700",truncateColor:r.secondary,truncateColorHover:"cyan.700",navigationLinkColor:"black",navigationLinkHover:"magenta.700",linkRefPrimary:"navy.600",linkRefHover:"navy.700",citationPopoverLink:"magenta.400",citationPopoverLinkHover:"magenta.300",citationPopoverLinkVisited:"magenta.300",cardTextBackgroundColor:"brandGrey.600",CardNavigationHeaderColor:"navy.600",cardTextColor:"black",cardBoxShadowColor:"grey.200",cardNavigationTextHover:"magenta.700",cardNavigationIconHover:"magenta.700",loaderColor1:"primary",loaderColor2:"secondary",loaderColor3:"tertiary",onThisPagePrimaryBg:"navy.100",headingColor:"navy.600",subheadingColor:"black",textColor:"black",captionColor:"grey.600",textDonateByCancerInfo:"cyan.700",tagBg:"cyan.100",tagColor:"grey.700",tabPrimaryColor:"grey.600",breadcrumbSpacing:"1",badgeColorPrimary:"primary",badgeColorSecondary:"secondary",badgeBorderColorSecondary:r.secondary,badgeColorTertiary:"white",badgeTextColorOnTertiary:r.tertiary,badgeBorderColorTertiary:r.tertiary,circleColorPrimary:"primary",circleColorSecondary:"secondary",circleColorTertiary:"tertiary",totaliserBackground:"grey.200",totaliserBubbleTextColor:"su2c_black",totaliserBubbleTotalColor:"primary",totaliserTextTransform:"uppercase",keyStatsPrimaryBackgroundColor:r.secondary,keyStatsPrimaryTextColor:r.textOnPrimary,keyStatsAltValueBackgroundColor:"brandGrey.700",keyStatsTwoBlockHighBarColor:"navy.600",keyStatsTwoBlockLowBarColor:"brandGrey.600",keyStatsTextTwoBlockPrimaryColor:r.secondary,keyStatsTextTwoBlockSecondaryColor:"brandGrey.700",listIconPrimaryColor:"navy.700",popoverPrimaryBackground:"navy.700",popoverPrimaryBorder:"navy.700",popoverPrimaryText:"white",popoverSecondaryBackground:"white",popoverSecondaryBorder:"black",popoverSecondaryText:"black",promoBannerBackgroundPrimary:r.primary,promoBannerBackgroundSecondary:r.secondary,sideNavTopLevelBorder:"grey.200",sideNavSideBorder:"magenta.700"},e={containerMax:"960px"},a={colors:{...r,...o},componentWidths:e};export{r as brandBaseTokens,o as componentTokens,e as componentWidths,a as default};
|
|
2
2
|
//# sourceMappingURL=semantic-tokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semantic-tokens.js","sources":["../../../../../src/theme/r4l/foundations/semantic-tokens.ts"],"sourcesContent":[null],"names":["brandBaseTokens","primary","secondary","tertiary","textOnPrimary","textOnSecondary","textOnTertiary","componentTokens","textDark","textLight","backgroundLight","backgroundLightGrey","textInputBorder","inputBorder","selectBackground","selectionBorder","disabled","disabledBackground","hoverColor","activeField","formPrimarySelectItemColour","formPrimarySelectItemHover","formPrimaryLabel","formPrimaryPlaceholder","formPrimaryBgDisabled","formPrimaryDisabled","quoteIconPrimary","quoteIconAlt","accordionIconPrimary","buttonPrimaryBackground","buttonPrimaryBorder","buttonPrimaryText","buttonPrimaryBorderHover","buttonPrimaryTextHover","buttonPrimaryBackgroundHover","buttonPrimaryDisabledBackground","buttonPrimaryDisabledText","buttonPrimaryAltBackground","buttonPrimaryAltBorder","buttonPrimaryAltBorderHover","buttonPrimaryAltTextHover","buttonPrimaryAltBackgroundHover","buttonSecondaryBackground","buttonSecondaryBorder","buttonSecondaryText","buttonSecondaryBorderHover","buttonSecondaryBackgroundHover","buttonSecondaryTextHover","buttonSecondaryAltBorder","buttonSecondaryAltText","buttonSecondaryAltBorderHover","buttonSecondaryAltBackgroundHover","buttonSecondaryAltTextHover","buttonSecondaryDisabledBackground","buttonSecondaryDisabledBorder","buttonSecondaryDisabledText","buttonAlternativeBackground","buttonAlternativeText","buttonAlternativeTextHover","buttonAlternativeDisabledBackground","buttonAlternativeDisabledText","buttonLinkBackground","buttonLinkText","buttonVideoBackground","buttonVideoText","buttonToggleBackground","buttonToggleText","buttonToggleBorder","buttonToggleTextHover","buttonToggleBackgroundHover","buttonToggleSelectedBackground","buttonToggleSelectedBorder","buttonToggleSelectedText","buttonToggleDisabledBackground","buttonToggleDisabledText","buttonToggleDisabledBorder","buttonBackToTopHover","buttonCitationPrimary","btnCitationBgPrimary","btnAccordionHover","boxPrimaryBg","boxSecondaryBg","boxAltBg","boxTertiaryBg","boxCaseStudyborderColor","boxPullQuoteborderColor","ctaBannerPrimaryBg","ctaBannerSecondaryBg","ctaBannerTextOnPrimary","ctaBannerTextOnSecondary","gridPrimaryBg","gridSecondaryBg","gridAltBg","gridAltGreyBg","gridTertiaryBg","linkColor","linkColorHover","linkColorVisited","altLinkColor","altLinkColorHover","altLinkColorVisited","truncateColor","truncateColorHover","navigationLinkColor","navigationLinkHover","linkRefPrimary","linkRefHover","citationPopoverLink","citationPopoverLinkHover","citationPopoverLinkVisited","cardTextBackgroundColor","CardNavigationHeaderColor","cardTextColor","cardBoxShadowColor","cardNavigationTextHover","cardNavigationIconHover","loaderColor1","loaderColor2","loaderColor3","onThisPagePrimaryBg","headingColor","subheadingColor","textColor","captionColor","textDonateByCancerInfo","tagBg","tagColor","tabPrimaryColor","breadcrumbSpacing","badgeColorPrimary","badgeColorSecondary","badgeBorderColorSecondary","badgeColorTertiary","badgeTextColorOnTertiary","badgeBorderColorTertiary","circleColorPrimary","circleColorSecondary","circleColorTertiary","totaliserBackground","totaliserBubbleTextColor","totaliserBubbleTotalColor","totaliserTextTransform","keyStatsPrimaryBackgroundColor","keyStatsPrimaryTextColor","
|
|
1
|
+
{"version":3,"file":"semantic-tokens.js","sources":["../../../../../src/theme/r4l/foundations/semantic-tokens.ts"],"sourcesContent":[null],"names":["brandBaseTokens","primary","secondary","tertiary","textOnPrimary","textOnSecondary","textOnTertiary","componentTokens","textDark","textLight","backgroundLight","backgroundLightGrey","textInputBorder","inputBorder","selectBackground","selectionBorder","disabled","disabledBackground","hoverColor","activeField","formPrimarySelectItemColour","formPrimarySelectItemHover","formPrimaryLabel","formPrimaryPlaceholder","formPrimaryBgDisabled","formPrimaryDisabled","quoteIconPrimary","quoteIconAlt","accordionIconPrimary","buttonPrimaryBackground","buttonPrimaryBorder","buttonPrimaryText","buttonPrimaryBorderHover","buttonPrimaryTextHover","buttonPrimaryBackgroundHover","buttonPrimaryDisabledBackground","buttonPrimaryDisabledText","buttonPrimaryAltBackground","buttonPrimaryAltBorder","buttonPrimaryAltBorderHover","buttonPrimaryAltTextHover","buttonPrimaryAltBackgroundHover","buttonSecondaryBackground","buttonSecondaryBorder","buttonSecondaryText","buttonSecondaryBorderHover","buttonSecondaryBackgroundHover","buttonSecondaryTextHover","buttonSecondaryAltBorder","buttonSecondaryAltText","buttonSecondaryAltBorderHover","buttonSecondaryAltBackgroundHover","buttonSecondaryAltTextHover","buttonSecondaryDisabledBackground","buttonSecondaryDisabledBorder","buttonSecondaryDisabledText","buttonAlternativeBackground","buttonAlternativeText","buttonAlternativeTextHover","buttonAlternativeDisabledBackground","buttonAlternativeDisabledText","buttonLinkBackground","buttonLinkText","buttonVideoBackground","buttonVideoText","buttonToggleBackground","buttonToggleText","buttonToggleBorder","buttonToggleTextHover","buttonToggleBackgroundHover","buttonToggleSelectedBackground","buttonToggleSelectedBorder","buttonToggleSelectedText","buttonToggleDisabledBackground","buttonToggleDisabledText","buttonToggleDisabledBorder","buttonBackToTopHover","buttonCitationPrimary","btnCitationBgPrimary","btnAccordionHover","boxPrimaryBg","boxSecondaryBg","boxAltBg","boxTertiaryBg","boxCaseStudyborderColor","boxPullQuoteborderColor","ctaBannerPrimaryBg","ctaBannerSecondaryBg","ctaBannerTextOnPrimary","ctaBannerTextOnSecondary","gridPrimaryBg","gridSecondaryBg","gridAltBg","gridAltGreyBg","gridTertiaryBg","linkColor","linkColorHover","linkColorVisited","altLinkColor","altLinkColorHover","altLinkColorVisited","truncateColor","truncateColorHover","navigationLinkColor","navigationLinkHover","linkRefPrimary","linkRefHover","citationPopoverLink","citationPopoverLinkHover","citationPopoverLinkVisited","cardTextBackgroundColor","CardNavigationHeaderColor","cardTextColor","cardBoxShadowColor","cardNavigationTextHover","cardNavigationIconHover","loaderColor1","loaderColor2","loaderColor3","onThisPagePrimaryBg","headingColor","subheadingColor","textColor","captionColor","textDonateByCancerInfo","tagBg","tagColor","tabPrimaryColor","breadcrumbSpacing","badgeColorPrimary","badgeColorSecondary","badgeBorderColorSecondary","badgeColorTertiary","badgeTextColorOnTertiary","badgeBorderColorTertiary","circleColorPrimary","circleColorSecondary","circleColorTertiary","totaliserBackground","totaliserBubbleTextColor","totaliserBubbleTotalColor","totaliserTextTransform","keyStatsPrimaryBackgroundColor","keyStatsPrimaryTextColor","keyStatsAltValueBackgroundColor","keyStatsTwoBlockHighBarColor","keyStatsTwoBlockLowBarColor","keyStatsTextTwoBlockPrimaryColor","keyStatsTextTwoBlockSecondaryColor","listIconPrimaryColor","popoverPrimaryBackground","popoverPrimaryBorder","popoverPrimaryText","popoverSecondaryBackground","popoverSecondaryBorder","popoverSecondaryText","promoBannerBackgroundPrimary","promoBannerBackgroundSecondary","sideNavTopLevelBorder","sideNavSideBorder","componentWidths","containerMax","semanticTokens","colors"],"mappings":"AAEA,MAAMA,EAAsC,CAC1CC,QAAS,cACTC,UAAW,WACXC,SAAU,WACVC,cAAe,QACfC,gBAAiB,QACjBC,eAAgB,SAGZC,EAAsC,CAC1CC,SAAU,QACVC,UAAW,QACXC,gBAAiB,QACjBC,oBAAqB,WAGrBC,gBAAiB,WACjBC,YAAa,WACbC,iBAAkB,kBAClBC,gBAAiB,WACjBC,SAAU,WACVC,mBAAoB,WACpBC,WAAY,QACZC,YAAa,qBACbC,4BAA6B,WAC7BC,2BAA4B,cAC5BC,iBAAkB,WAClBC,uBAAwB,WACxBC,sBAAuB,WACvBC,oBAAqB,WAGrBC,iBAAkB,cAClBC,aAAc,cACdC,qBAAsB,cAGtBC,wBAAyB,cACzBC,oBAAqB,cACrBC,kBAAmB,QACnBC,yBAA0B,cAC1BC,uBAAwB,cACxBC,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{componentTokens as r,brandBaseTokens as e}from"../../cruk/foundations/semantic-tokens.js";const o={...e,primary:"orange.500",secondary:"orange.500",tertiary:"su2c_black",textOnPrimary:"su2c_black",textOnSecondary:"su2c_black",textOnTertiary:"white"},t={...r,textDark:"su2c_black",textLight:"white",backgroundLight:"white",backgroundDark:o.textOnPrimary,textInputBorder:"grey.600",selectionBorder:"grey.500",selectBackground:"grey.900",disabled:"grey.600",formPrimaryLabel:"grey.600",popoverPrimaryBackground:"white",popoverPrimaryBorder:"white",popoverPrimaryText:"white",popoverSecondaryBackground:"white",popoverSecondaryBorder:"black",popoverSecondaryText:"su2c_black",citationPopoverLink:"orange.800",citationPopoverLinkHover:"orange.900",citationPopoverLinkVisited:"orange.900",buttonPrimaryBackground:"orange.600",buttonPrimaryHover:"orange.700",buttonPrimaryBorder:"orange.600",buttonPrimaryText:"su2c_black",buttonPrimaryBorderHover:"orange.700",buttonPrimaryTextHover:"su2c_black",buttonPrimaryBackgroundHover:"orange.700",buttonPrimaryDisabledBackground:"grey.200",buttonPrimaryDisabledBorder:"grey.200",buttonPrimaryDisabledText:"grey.600",buttonSecondaryBackground:"white",buttonSecondaryBorder:"orange.700",buttonSecondaryText:"su2c_black",buttonSecondaryBackgroundHover:"orange.100",buttonSecondaryBorderHover:"orange.100",buttonSecondaryTextHover:"su2c_black",buttonSecondaryIconFill:"orange.700",buttonSecondaryDisabledBackground:"white",buttonSecondaryDisabledBorder:"grey.600",buttonSecondaryDisabledText:"grey.600",buttonAlternativeBackground:"white",buttonAlternativeText:"su2c_black",buttonAlternativeTextHover:"orange.800",buttonAlternativeDisabledBackground:"grey.100",buttonAlternativeDisabledText:"grey.600",buttonTertiaryText:"orange.800",buttonTertiaryTextHover:"orange.800",buttonTertiaryDisabledText:"grey.800",buttonToggleBackground:"white",buttonToggleText:"su2c_black",buttonToggleBorder:"orange.500",buttonToggleBackgroundHover:"orange.100",buttonToggleSelectedBackground:"orange.500",buttonToggleSelectedBorder:"orange.500",buttonToggleDisabledBackground:"white",buttonToggleDisabledText:"grey.600",buttonToggleDisabledBorder:"grey.600",buttonLinkHover:"grey.600",keyStatsPrimaryBarColor:o.primary,keyStatsPrimaryBackgroundColor:o.primary,keyStatsPrimaryTextColor:o.textOnPrimary,
|
|
1
|
+
import{componentTokens as r,brandBaseTokens as e}from"../../cruk/foundations/semantic-tokens.js";const o={...e,primary:"orange.500",secondary:"orange.500",tertiary:"su2c_black",textOnPrimary:"su2c_black",textOnSecondary:"su2c_black",textOnTertiary:"white"},t={...r,textDark:"su2c_black",textLight:"white",backgroundLight:"white",backgroundDark:o.textOnPrimary,textInputBorder:"grey.600",selectionBorder:"grey.500",selectBackground:"grey.900",disabled:"grey.600",formPrimaryLabel:"grey.600",popoverPrimaryBackground:"white",popoverPrimaryBorder:"white",popoverPrimaryText:"white",popoverSecondaryBackground:"white",popoverSecondaryBorder:"black",popoverSecondaryText:"su2c_black",citationPopoverLink:"orange.800",citationPopoverLinkHover:"orange.900",citationPopoverLinkVisited:"orange.900",buttonPrimaryBackground:"orange.600",buttonPrimaryHover:"orange.700",buttonPrimaryBorder:"orange.600",buttonPrimaryText:"su2c_black",buttonPrimaryBorderHover:"orange.700",buttonPrimaryTextHover:"su2c_black",buttonPrimaryBackgroundHover:"orange.700",buttonPrimaryDisabledBackground:"grey.200",buttonPrimaryDisabledBorder:"grey.200",buttonPrimaryDisabledText:"grey.600",buttonSecondaryBackground:"white",buttonSecondaryBorder:"orange.700",buttonSecondaryText:"su2c_black",buttonSecondaryBackgroundHover:"orange.100",buttonSecondaryBorderHover:"orange.100",buttonSecondaryTextHover:"su2c_black",buttonSecondaryIconFill:"orange.700",buttonSecondaryDisabledBackground:"white",buttonSecondaryDisabledBorder:"grey.600",buttonSecondaryDisabledText:"grey.600",buttonAlternativeBackground:"white",buttonAlternativeText:"su2c_black",buttonAlternativeTextHover:"orange.800",buttonAlternativeDisabledBackground:"grey.100",buttonAlternativeDisabledText:"grey.600",buttonTertiaryText:"orange.800",buttonTertiaryTextHover:"orange.800",buttonTertiaryDisabledText:"grey.800",buttonToggleBackground:"white",buttonToggleText:"su2c_black",buttonToggleBorder:"orange.500",buttonToggleBackgroundHover:"orange.100",buttonToggleSelectedBackground:"orange.500",buttonToggleSelectedBorder:"orange.500",buttonToggleDisabledBackground:"white",buttonToggleDisabledText:"grey.600",buttonToggleDisabledBorder:"grey.600",buttonLinkHover:"grey.600",keyStatsPrimaryBarColor:o.primary,keyStatsPrimaryBackgroundColor:o.primary,keyStatsPrimaryTextColor:o.textOnPrimary,keyStatsAltValueBackgroundColor:"grey.200",keyStatsTwoBlockHighBarColor:"orange.500",keyStatsTwoBlockLowBarColor:"tertiary",keyStatsTextTwoBlockPrimaryColor:"orange.800",keyStatsTextTwoBlockSecondaryColor:o.textOnPrimary,linkColor:"orange.800",linkColorHover:"orange.900",linkColorVisited:"orange.900",altLinkColor:o.tertiary,altLinkColorHover:"grey.800",altLinkColorVisited:"grey.800",cardTextBackgroundColor:"grey.200",cardTextColor:"black",loaderColor1:"orange.500",loaderColor2:"red.500",loaderColor3:"su2c_black",totaliserBackground:"tertiary",totaliserBubbleTextColor:"white",totaliserBubbleTotalColor:"white",totaliserTextTransform:"uppercase",textColor:"black",captionColor:"black",textDonateByCancerInfo:"cyan.700",labelColor:"black",sideNavTopLevelBorder:"grey.600",sideNavSideBorder:"su2c_black",tagBg:"orange.800",tagColor:"white",ctaBannerPrimaryBg:"magenta.700",ctaBannerSecondaryBg:"navy.600",ctaBannerTextOnPrimary:"white",ctaBannerTextOnSecondary:"black",indicatorColorActive:"orange.600",indicatorColorComplete:"orange.600",indicatorColorIncomplete:"grey.600",checkboxDisabledText:"grey.600"},a={containerMax:"960px"},n={colors:{...o,...t},fontWeights:{legendFontWeight:"semibold"}};export{o as brandBaseTokens,t as componentTokens,a as componentWidths,n as default};
|
|
2
2
|
//# sourceMappingURL=semantic-tokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semantic-tokens.js","sources":["../../../../../src/theme/su2c/foundations/semantic-tokens.ts"],"sourcesContent":[null],"names":["brandBaseTokens","defaultBrandTokens","primary","secondary","tertiary","textOnPrimary","textOnSecondary","textOnTertiary","componentTokens","defaultComponentTokens","textDark","textLight","backgroundLight","backgroundDark","textInputBorder","selectionBorder","selectBackground","disabled","formPrimaryLabel","popoverPrimaryBackground","popoverPrimaryBorder","popoverPrimaryText","popoverSecondaryBackground","popoverSecondaryBorder","popoverSecondaryText","citationPopoverLink","citationPopoverLinkHover","citationPopoverLinkVisited","buttonPrimaryBackground","buttonPrimaryHover","buttonPrimaryBorder","buttonPrimaryText","buttonPrimaryBorderHover","buttonPrimaryTextHover","buttonPrimaryBackgroundHover","buttonPrimaryDisabledBackground","buttonPrimaryDisabledBorder","buttonPrimaryDisabledText","buttonSecondaryBackground","buttonSecondaryBorder","buttonSecondaryText","buttonSecondaryBackgroundHover","buttonSecondaryBorderHover","buttonSecondaryTextHover","buttonSecondaryIconFill","buttonSecondaryDisabledBackground","buttonSecondaryDisabledBorder","buttonSecondaryDisabledText","buttonAlternativeBackground","buttonAlternativeText","buttonAlternativeTextHover","buttonAlternativeDisabledBackground","buttonAlternativeDisabledText","buttonTertiaryText","buttonTertiaryTextHover","buttonTertiaryDisabledText","buttonToggleBackground","buttonToggleText","buttonToggleBorder","buttonToggleBackgroundHover","buttonToggleSelectedBackground","buttonToggleSelectedBorder","buttonToggleDisabledBackground","buttonToggleDisabledText","buttonToggleDisabledBorder","buttonLinkHover","keyStatsPrimaryBarColor","keyStatsPrimaryBackgroundColor","keyStatsPrimaryTextColor","
|
|
1
|
+
{"version":3,"file":"semantic-tokens.js","sources":["../../../../../src/theme/su2c/foundations/semantic-tokens.ts"],"sourcesContent":[null],"names":["brandBaseTokens","defaultBrandTokens","primary","secondary","tertiary","textOnPrimary","textOnSecondary","textOnTertiary","componentTokens","defaultComponentTokens","textDark","textLight","backgroundLight","backgroundDark","textInputBorder","selectionBorder","selectBackground","disabled","formPrimaryLabel","popoverPrimaryBackground","popoverPrimaryBorder","popoverPrimaryText","popoverSecondaryBackground","popoverSecondaryBorder","popoverSecondaryText","citationPopoverLink","citationPopoverLinkHover","citationPopoverLinkVisited","buttonPrimaryBackground","buttonPrimaryHover","buttonPrimaryBorder","buttonPrimaryText","buttonPrimaryBorderHover","buttonPrimaryTextHover","buttonPrimaryBackgroundHover","buttonPrimaryDisabledBackground","buttonPrimaryDisabledBorder","buttonPrimaryDisabledText","buttonSecondaryBackground","buttonSecondaryBorder","buttonSecondaryText","buttonSecondaryBackgroundHover","buttonSecondaryBorderHover","buttonSecondaryTextHover","buttonSecondaryIconFill","buttonSecondaryDisabledBackground","buttonSecondaryDisabledBorder","buttonSecondaryDisabledText","buttonAlternativeBackground","buttonAlternativeText","buttonAlternativeTextHover","buttonAlternativeDisabledBackground","buttonAlternativeDisabledText","buttonTertiaryText","buttonTertiaryTextHover","buttonTertiaryDisabledText","buttonToggleBackground","buttonToggleText","buttonToggleBorder","buttonToggleBackgroundHover","buttonToggleSelectedBackground","buttonToggleSelectedBorder","buttonToggleDisabledBackground","buttonToggleDisabledText","buttonToggleDisabledBorder","buttonLinkHover","keyStatsPrimaryBarColor","keyStatsPrimaryBackgroundColor","keyStatsPrimaryTextColor","keyStatsAltValueBackgroundColor","keyStatsTwoBlockHighBarColor","keyStatsTwoBlockLowBarColor","keyStatsTextTwoBlockPrimaryColor","keyStatsTextTwoBlockSecondaryColor","linkColor","linkColorHover","linkColorVisited","altLinkColor","altLinkColorHover","altLinkColorVisited","cardTextBackgroundColor","cardTextColor","loaderColor1","loaderColor2","loaderColor3","totaliserBackground","totaliserBubbleTextColor","totaliserBubbleTotalColor","totaliserTextTransform","textColor","captionColor","textDonateByCancerInfo","labelColor","sideNavTopLevelBorder","sideNavSideBorder","tagBg","tagColor","ctaBannerPrimaryBg","ctaBannerSecondaryBg","ctaBannerTextOnPrimary","ctaBannerTextOnSecondary","indicatorColorActive","indicatorColorComplete","indicatorColorIncomplete","checkboxDisabledText","componentWidths","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AoCzE,EAAgBK,cAGpDqE,UAAW,aACXC,eAAgB,aAChBC,iBAAkB,aAClBC,aAAc7E,EAAgBI,SAC9B0E,kBAAmB,WACnBC,oBAAqB,WAErBC,wBAAyB,WACzBC,cAAe,QAGfC,aAAc,aACdC,aAAc,UACdC,aAAc,aAEdC,oBAAqB,WACrBC,yBAA0B,QAC1BC,0BAA2B,QAC3BC,uBAAwB,YAGxBC,UAAW,QACXC,aAAc,QACdC,uBAAwB,WACxBC,WAAY,QAGZC,sBAAuB,WACvBC,kBAAmB,aAGnBC,MAAO,aACPC,SAAU,QAGVC,mBAAoB,cACpBC,qBAAsB,WACtBC,uBAAwB,QACxBC,yBAA0B,QAG1BC,qBAAsB,aACtBC,uBAAwB,aACxBC,yBAA0B,WAG1BC,qBAAsB,YAGlBC,EAAkB,CACtBC,aAAc,SAQVC,EAAiB,CACrBC,OAAQ,IACH5G,KACAQ,GAELqG,YAVsC,CAEtCC,iBAAkB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -96,6 +96,11 @@ type SingleStatisticsProps = ProgressProps$1 & {
|
|
|
96
96
|
style?: CSSProperties | undefined;
|
|
97
97
|
color?: ChakraProps["color"];
|
|
98
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Indicates alternative/secondary visual treatment.
|
|
101
|
+
* Note: this currently only affects height calculations and no longer
|
|
102
|
+
* influences color or track styling (e.g. chooseTrackColor was removed).
|
|
103
|
+
*/
|
|
99
104
|
hasSecondaryStyling?: boolean;
|
|
100
105
|
};
|
|
101
106
|
declare const SingleStatistics: _chakra_ui_react.ComponentWithAs<"div", SingleStatisticsProps>;
|
|
@@ -204,6 +209,7 @@ type TabProps = {
|
|
|
204
209
|
interface DonateWidgetProps extends TabsProps {
|
|
205
210
|
tabs: TabProps[];
|
|
206
211
|
formAction: string;
|
|
212
|
+
defaultTabIndex?: number;
|
|
207
213
|
}
|
|
208
214
|
declare const DonateWidget: _chakra_ui_react.ComponentWithAs<"div", DonateWidgetProps>;
|
|
209
215
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cruk/chakra-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.0",
|
|
4
4
|
"description": "Chakra UI v2 based components for CRUK applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"build": "rm -rf dist/ && rollup --config",
|
|
37
37
|
"lint": "eslint .",
|
|
38
38
|
"test": "vitest",
|
|
39
|
+
"test:consumer": "npm run build && npm --prefix test-package install && node test-package/index.js",
|
|
39
40
|
"test-ct": "playwright test -c playwright-ct.config.ts",
|
|
40
41
|
"test-ct:debug": "playwright test -c playwright-ct.config.ts --debug --project=chromium",
|
|
41
42
|
"test-ct:ui": "playwright test -c playwright-ct.config.ts --ui",
|
|
@@ -52,70 +53,71 @@
|
|
|
52
53
|
"release": "npm run build && semantic-release"
|
|
53
54
|
},
|
|
54
55
|
"dependencies": {
|
|
55
|
-
"@applitools/eyes-storybook": "^3.
|
|
56
|
+
"@applitools/eyes-storybook": "^3.63.3",
|
|
57
|
+
"@applitools/eyes-storybook-addon": "^1.0.4",
|
|
56
58
|
"@chakra-ui/icons": "^2.2.4",
|
|
57
59
|
"@chakra-ui/react": "^2.10.9",
|
|
58
60
|
"@emotion/react": "^11.14.0",
|
|
59
61
|
"@emotion/styled": "^11.14.1",
|
|
60
62
|
"framer-motion": "^12.23.12",
|
|
61
|
-
"react": "^19.
|
|
62
|
-
"react-dom": "^19.
|
|
63
|
-
"react-dropzone": "^14.3.
|
|
63
|
+
"react": "^19.1.1",
|
|
64
|
+
"react-dom": "^19.1.1",
|
|
65
|
+
"react-dropzone": "^14.3.8",
|
|
64
66
|
"slugify": "^1.6.6"
|
|
65
67
|
},
|
|
66
68
|
"devDependencies": {
|
|
67
|
-
"@axe-core/playwright": "^4.
|
|
68
|
-
"@chromatic-com/storybook": "^4.1.
|
|
69
|
-
"@eslint/js": "^9.
|
|
70
|
-
"@octokit/rest": "^22.0.
|
|
71
|
-
"@playwright/experimental-ct-react": "^1.
|
|
72
|
-
"@rollup/plugin-commonjs": "^
|
|
73
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
69
|
+
"@axe-core/playwright": "^4.11.0",
|
|
70
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
71
|
+
"@eslint/js": "^9.39.2",
|
|
72
|
+
"@octokit/rest": "^22.0.1",
|
|
73
|
+
"@playwright/experimental-ct-react": "^1.57.0",
|
|
74
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
75
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
74
76
|
"@rollup/plugin-terser": "^0.4.4",
|
|
75
|
-
"@rollup/plugin-typescript": "^12.
|
|
77
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
76
78
|
"@semantic-release/changelog": "^6.0.3",
|
|
77
79
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
78
80
|
"@semantic-release/exec": "^7.1.0",
|
|
79
81
|
"@semantic-release/git": "^10.0.1",
|
|
80
|
-
"@semantic-release/github": "^
|
|
81
|
-
"@semantic-release/npm": "^
|
|
82
|
-
"@semantic-release/release-notes-generator": "^14.0
|
|
83
|
-
"@storybook/addon-a11y": "^10.
|
|
84
|
-
"@storybook/addon-links": "^10.
|
|
85
|
-
"@storybook/addon-themes": "^10.
|
|
86
|
-
"@storybook/react-vite": "^10.
|
|
87
|
-
"@storybook/test-runner": "^0.24.
|
|
88
|
-
"@testing-library/dom": "^10.4.
|
|
89
|
-
"@testing-library/react": "^16.
|
|
90
|
-
"@types/node": "^22.
|
|
91
|
-
"@types/react": "^19.
|
|
92
|
-
"@types/react-dom": "^19.
|
|
93
|
-
"@vitejs/plugin-react": "^4.
|
|
94
|
-
"@vitest/coverage-v8": "^3.
|
|
95
|
-
"axe-playwright": "^2.
|
|
96
|
-
"concurrently": "^9.1
|
|
97
|
-
"eslint": "^9.
|
|
98
|
-
"eslint-plugin-react-hooks": "^
|
|
99
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
100
|
-
"eslint-plugin-storybook": "^
|
|
101
|
-
"globals": "^
|
|
82
|
+
"@semantic-release/github": "^12.0.2",
|
|
83
|
+
"@semantic-release/npm": "^13.1.3",
|
|
84
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
85
|
+
"@storybook/addon-a11y": "^10.1.9",
|
|
86
|
+
"@storybook/addon-links": "^10.1.9",
|
|
87
|
+
"@storybook/addon-themes": "^10.1.9",
|
|
88
|
+
"@storybook/react-vite": "^10.1.9",
|
|
89
|
+
"@storybook/test-runner": "^0.24.2",
|
|
90
|
+
"@testing-library/dom": "^10.4.1",
|
|
91
|
+
"@testing-library/react": "^16.3.1",
|
|
92
|
+
"@types/node": "^22.18.4",
|
|
93
|
+
"@types/react": "^19.1.13",
|
|
94
|
+
"@types/react-dom": "^19.1.9",
|
|
95
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
96
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
97
|
+
"axe-playwright": "^2.2.2",
|
|
98
|
+
"concurrently": "^9.2.1",
|
|
99
|
+
"eslint": "^9.39.2",
|
|
100
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
101
|
+
"eslint-plugin-react-refresh": "^0.4.25",
|
|
102
|
+
"eslint-plugin-storybook": "^10.1.9",
|
|
103
|
+
"globals": "^16.5.0",
|
|
102
104
|
"http-server": "^14.1.1",
|
|
103
105
|
"husky": "^9.1.7",
|
|
104
|
-
"jsdom": "^26.
|
|
105
|
-
"lint-staged": "^
|
|
106
|
-
"prettier": "^3.
|
|
107
|
-
"rollup": "^4.
|
|
108
|
-
"rollup-plugin-dts": "^6.
|
|
106
|
+
"jsdom": "^26.1.0",
|
|
107
|
+
"lint-staged": "^16.2.7",
|
|
108
|
+
"prettier": "^3.7.4",
|
|
109
|
+
"rollup": "^4.53.4",
|
|
110
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
109
111
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
110
112
|
"rollup-preserve-directives": "^1.1.3",
|
|
111
|
-
"semantic-release": "^
|
|
112
|
-
"storybook": "^10.
|
|
113
|
+
"semantic-release": "^25.0.2",
|
|
114
|
+
"storybook": "^10.1.9",
|
|
113
115
|
"typescript": "~5.7.3",
|
|
114
|
-
"typescript-eslint": "^8.
|
|
115
|
-
"vite": "^6.
|
|
116
|
-
"vitest": "^3.
|
|
117
|
-
"wait-on": "^
|
|
118
|
-
"@storybook/addon-docs": "^10.
|
|
116
|
+
"typescript-eslint": "^8.50.0",
|
|
117
|
+
"vite": "^6.3.6",
|
|
118
|
+
"vitest": "^3.2.4",
|
|
119
|
+
"wait-on": "^9.0.3",
|
|
120
|
+
"@storybook/addon-docs": "^10.1.9"
|
|
119
121
|
},
|
|
120
122
|
"peerDependencies": {
|
|
121
123
|
"@chakra-ui/icons": "^2.2.4",
|