@cruk/chakra-components 4.0.0-dev.22 → 4.0.0-dev.23

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.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=require("@chakra-ui/react").defineStyleConfig({baseStyle:{fontFamily:"heading",fontWeight:"medium",color:"headingColor",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"headings.4xl",lineHeight:"headings.4xl"},"3xl":{fontSize:"headings.3xl",lineHeight:"headings.3xl"},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl"},xl:{fontSize:"headings.xl",lineHeight:"headings.xl"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg"},md:{fontSize:"headings.md",lineHeight:"headings.md"},sm:{fontSize:"headings.sm",lineHeight:"headings.sm"},xs:{fontSize:"headings.xs",lineHeight:"headings.xs"}}});exports.default=e,exports.headingTheme=e;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=require("@chakra-ui/react").defineStyleConfig({baseStyle:{fontFamily:"heading",fontWeight:"medium",color:"headingColor",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"clamp(2rem, 4vw + 1rem, 3rem)",lineHeight:"clamp(2.5rem, 5vw + 1.25rem, 3.75rem)"},"3xl":{fontSize:"clamp(1.75rem, 3vw + 0.875rem, 2.25rem)",lineHeight:"clamp(2.25rem, 4vw + 1rem, 3rem)"},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl"},xl:{fontSize:"headings.xl",lineHeight:"headings.xl"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg"},md:{fontSize:"headings.md",lineHeight:"headings.md"},sm:{fontSize:"headings.sm",lineHeight:"headings.sm"},xs:{fontSize:"headings.xs",lineHeight:"headings.xs"}}});exports.default=e,exports.headingTheme=e;
2
2
  //# sourceMappingURL=heading.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"heading.js","sources":["../../../../../src/theme/cruk/components/heading.ts"],"sourcesContent":[null],"names":["headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","color","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"oEAEO,MAAMA,8BAAeC,kBAAkB,CAC5CC,UAAW,CACTC,WAAY,UACZC,WAAY,SACZC,MAAO,eACPC,QAAS,OACTC,SAAU,aACVC,aAAc,cAEhBC,MAAO,CACL,MAAO,CACLC,SAAU,eACVC,WAAY,gBAEd,MAAO,CACLD,SAAU,eACVC,WAAY,gBAEd,MAAO,CACLD,SAAU,eACVC,WAAY,gBAEdC,GAAI,CACFF,SAAU,cACVC,WAAY,eAEdE,GAAI,CACFH,SAAU,cACVC,WAAY,eAEdG,GAAI,CACFJ,SAAU,cACVC,WAAY,eAEdI,GAAI,CACFL,SAAU,cACVC,WAAY,eAEdK,GAAI,CACFN,SAAU,cACVC,WAAY"}
1
+ {"version":3,"file":"heading.js","sources":["../../../../../src/theme/cruk/components/heading.ts"],"sourcesContent":[null],"names":["headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","color","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"oEAEO,MAAMA,8BAAeC,kBAAkB,CAC5CC,UAAW,CACTC,WAAY,UACZC,WAAY,SACZC,MAAO,eACPC,QAAS,OACTC,SAAU,aACVC,aAAc,cAEhBC,MAAO,CACL,MAAO,CACLC,SAAU,gCACVC,WAAY,yCAEd,MAAO,CACLD,SAAU,0CACVC,WAAY,oCAEd,MAAO,CACLD,SAAU,eACVC,WAAY,gBAEdC,GAAI,CACFF,SAAU,cACVC,WAAY,eAEdE,GAAI,CACFH,SAAU,cACVC,WAAY,eAEdG,GAAI,CACFJ,SAAU,cACVC,WAAY,eAEdI,GAAI,CACFL,SAAU,cACVC,WAAY,eAEdK,GAAI,CACFN,SAAU,cACVC,WAAY"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=require("@chakra-ui/react").defineStyleConfig({baseStyle:{fontFamily:"body",fontWeight:"black",color:"headingColor",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"headings.4xl",lineHeight:"headings.4xl",fontFamily:"heading",fontWeight:"semibold"},"3xl":{fontSize:"headings.3xl",lineHeight:"headings.3xl",fontFamily:"heading",fontWeight:"semibold"},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl",fontFamily:"heading",fontWeight:"semibold"},xl:{fontSize:"headings.xl",lineHeight:"headings.xl",fontFamily:"heading",fontWeight:"semibold"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg",fontFamily:"heading",fontWeight:"semibold"},md:{fontSize:"headings.md",lineHeight:"headings.md",fontWeight:"bold"},sm:{fontSize:"headings.sm",lineHeight:"headings.sm",fontWeight:"bold"},xs:{fontSize:"headings.xs",lineHeight:"headings.xs",fontWeight:"bold"}}});exports.default=e,exports.headingTheme=e;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=require("@chakra-ui/react").defineStyleConfig({baseStyle:{fontFamily:"body",fontWeight:"black",color:"headingColor",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"clamp(2rem, 4vw + 1rem, 3rem)",lineHeight:"clamp(2.5rem, 5vw + 1.25rem, 3.75rem)",fontFamily:"heading",fontWeight:"semibold"},"3xl":{fontSize:"clamp(1.75rem, 3vw + 0.875rem, 2.25rem)",lineHeight:"clamp(2.25rem, 4vw + 1rem, 3rem)",fontFamily:"heading",fontWeight:"semibold"},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl",fontFamily:"heading",fontWeight:"semibold"},xl:{fontSize:"headings.xl",lineHeight:"headings.xl",fontFamily:"heading",fontWeight:"semibold"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg",fontFamily:"heading",fontWeight:"semibold"},md:{fontSize:"headings.md",lineHeight:"headings.md",fontWeight:"bold"},sm:{fontSize:"headings.sm",lineHeight:"headings.sm",fontWeight:"bold"},xs:{fontSize:"headings.xs",lineHeight:"headings.xs",fontWeight:"bold"}}});exports.default=e,exports.headingTheme=e;
2
2
  //# sourceMappingURL=heading.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"heading.js","sources":["../../../../../src/theme/r4l/components/heading.ts"],"sourcesContent":[null],"names":["headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","color","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"oEAEO,MAAMA,8BAAeC,kBAAkB,CAC5CC,UAAW,CACTC,WAAY,OACZC,WAAY,QACZC,MAAO,eACPC,QAAS,OACTC,SAAU,aACVC,aAAc,cAUhBC,MAAO,CACL,MAAO,CACLC,SAAU,eACVC,WAAY,eACZR,WAAY,UACZC,WAAY,YAEd,MAAO,CACLM,SAAU,eACVC,WAAY,eACZR,WAAY,UACZC,WAAY,YAEd,MAAO,CACLM,SAAU,eACVC,WAAY,eACZR,WAAY,UACZC,WAAY,YAEdQ,GAAI,CACFF,SAAU,cACVC,WAAY,cACZR,WAAY,UACZC,WAAY,YAEdS,GAAI,CACFH,SAAU,cACVC,WAAY,cACZR,WAAY,UACZC,WAAY,YAEdU,GAAI,CACFJ,SAAU,cACVC,WAAY,cACZP,WAAY,QAEdW,GAAI,CACFL,SAAU,cACVC,WAAY,cACZP,WAAY,QAEdY,GAAI,CACFN,SAAU,cACVC,WAAY,cACZP,WAAY"}
1
+ {"version":3,"file":"heading.js","sources":["../../../../../src/theme/r4l/components/heading.ts"],"sourcesContent":[null],"names":["headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","color","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"oEAEO,MAAMA,8BAAeC,kBAAkB,CAC5CC,UAAW,CACTC,WAAY,OACZC,WAAY,QACZC,MAAO,eACPC,QAAS,OACTC,SAAU,aACVC,aAAc,cAUhBC,MAAO,CACL,MAAO,CACLC,SAAU,gCACVC,WAAY,wCACZR,WAAY,UACZC,WAAY,YAEd,MAAO,CACLM,SAAU,0CACVC,WAAY,mCACZR,WAAY,UACZC,WAAY,YAEd,MAAO,CACLM,SAAU,eACVC,WAAY,eACZR,WAAY,UACZC,WAAY,YAEdQ,GAAI,CACFF,SAAU,cACVC,WAAY,cACZR,WAAY,UACZC,WAAY,YAEdS,GAAI,CACFH,SAAU,cACVC,WAAY,cACZR,WAAY,UACZC,WAAY,YAEdU,GAAI,CACFJ,SAAU,cACVC,WAAY,cACZP,WAAY,QAEdW,GAAI,CACFL,SAAU,cACVC,WAAY,cACZP,WAAY,QAEdY,GAAI,CACFN,SAAU,cACVC,WAAY,cACZP,WAAY"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e={display:"inline",backgroundColor:"tertiary",textTransform:"uppercase",color:"white",pt:3,px:3,boxDecorationBreak:"clone",width:"fit-content"},i=require("@chakra-ui/react").defineStyleConfig({baseStyle:{fontFamily:"body",fontWeight:"bold",color:"black",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"headings.4xl",lineHeight:"headings.4xl",...e},"3xl":{fontSize:"headings.3xl",lineHeight:"headings.3xl",...e},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl",...e},xl:{fontSize:"headings.xl",lineHeight:"headings.xl"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg"},md:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.md",lineHeight:"headings.md"},sm:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.sm",lineHeight:"headings.sm"},xs:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.xs",lineHeight:"headings.xs"}}});exports.default=i,exports.headingTheme=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e={display:"inline",backgroundColor:"tertiary",textTransform:"uppercase",color:"white",pt:3,px:3,boxDecorationBreak:"clone",width:"fit-content"},i=require("@chakra-ui/react").defineStyleConfig({baseStyle:{fontFamily:"body",fontWeight:"bold",color:"black",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"clamp(32px, 4vw + 16px, 48px)",lineHeight:"clamp(40px, 5vw + 20px, 60px)",...e},"3xl":{fontSize:"clamp(28px, 3vw + 14px, 36px)",lineHeight:"clamp(36px, 4vw + 16px, 48px)",...e},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl",...e},xl:{fontSize:"headings.xl",lineHeight:"headings.xl"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg"},md:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.md",lineHeight:"headings.md"},sm:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.sm",lineHeight:"headings.sm"},xs:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.xs",lineHeight:"headings.xs"}}});exports.default=i,exports.headingTheme=i;
2
2
  //# sourceMappingURL=heading.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"heading.js","sources":["../../../../../src/theme/su2c/components/heading.ts"],"sourcesContent":[null],"names":["headingLargeTheme","display","backgroundColor","textTransform","color","pt","px","boxDecorationBreak","width","headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"oEAEA,MAAMA,EAAoB,CACxBC,QAAS,SACTC,gBAAiB,WACjBC,cAAe,YACfC,MAAO,QACPC,GAAI,EACJC,GAAI,EACJC,mBAAoB,QACpBC,MAAO,eAGIC,8BAAeC,kBAAkB,CAC5CC,UAAW,CACTC,WAAY,OACZC,WAAY,OACZT,MAAO,QACPU,QAAS,OACTC,SAAU,aACVC,aAAc,cAEhBC,MAAO,CACL,MAAO,CACLC,SAAU,eACVC,WAAY,kBACTnB,GAEL,MAAO,CACLkB,SAAU,eACVC,WAAY,kBACTnB,GAEL,MAAO,CACLkB,SAAU,eACVC,WAAY,kBACTnB,GAELoB,GAAI,CACFF,SAAU,cACVC,WAAY,eAEdE,GAAI,CACFH,SAAU,cACVC,WAAY,eAEdG,GAAI,CACFV,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY,eAEdI,GAAI,CACFX,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY,eAEdK,GAAI,CACFZ,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY"}
1
+ {"version":3,"file":"heading.js","sources":["../../../../../src/theme/su2c/components/heading.ts"],"sourcesContent":[null],"names":["headingLargeTheme","display","backgroundColor","textTransform","color","pt","px","boxDecorationBreak","width","headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"oEAEA,MAAMA,EAAoB,CACxBC,QAAS,SACTC,gBAAiB,WACjBC,cAAe,YACfC,MAAO,QACPC,GAAI,EACJC,GAAI,EACJC,mBAAoB,QACpBC,MAAO,eAGIC,8BAAeC,kBAAkB,CAC5CC,UAAW,CACTC,WAAY,OACZC,WAAY,OACZT,MAAO,QACPU,QAAS,OACTC,SAAU,aACVC,aAAc,cAEhBC,MAAO,CACL,MAAO,CACLC,SAAU,gCACVC,WAAY,mCACTnB,GAEL,MAAO,CACLkB,SAAU,gCACVC,WAAY,mCACTnB,GAEL,MAAO,CACLkB,SAAU,eACVC,WAAY,kBACTnB,GAELoB,GAAI,CACFF,SAAU,cACVC,WAAY,eAEdE,GAAI,CACFH,SAAU,cACVC,WAAY,eAEdG,GAAI,CACFV,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY,eAEdI,GAAI,CACFX,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY,eAEdK,GAAI,CACFZ,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY"}
@@ -1,2 +1,2 @@
1
- import{defineStyleConfig as e}from"@chakra-ui/react";const i=e({baseStyle:{fontFamily:"heading",fontWeight:"medium",color:"headingColor",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"headings.4xl",lineHeight:"headings.4xl"},"3xl":{fontSize:"headings.3xl",lineHeight:"headings.3xl"},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl"},xl:{fontSize:"headings.xl",lineHeight:"headings.xl"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg"},md:{fontSize:"headings.md",lineHeight:"headings.md"},sm:{fontSize:"headings.sm",lineHeight:"headings.sm"},xs:{fontSize:"headings.xs",lineHeight:"headings.xs"}}});export{i as default,i as headingTheme};
1
+ import{defineStyleConfig as e}from"@chakra-ui/react";const i=e({baseStyle:{fontFamily:"heading",fontWeight:"medium",color:"headingColor",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"clamp(2rem, 4vw + 1rem, 3rem)",lineHeight:"clamp(2.5rem, 5vw + 1.25rem, 3.75rem)"},"3xl":{fontSize:"clamp(1.75rem, 3vw + 0.875rem, 2.25rem)",lineHeight:"clamp(2.25rem, 4vw + 1rem, 3rem)"},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl"},xl:{fontSize:"headings.xl",lineHeight:"headings.xl"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg"},md:{fontSize:"headings.md",lineHeight:"headings.md"},sm:{fontSize:"headings.sm",lineHeight:"headings.sm"},xs:{fontSize:"headings.xs",lineHeight:"headings.xs"}}});export{i as default,i as headingTheme};
2
2
  //# sourceMappingURL=heading.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"heading.js","sources":["../../../../../src/theme/cruk/components/heading.ts"],"sourcesContent":[null],"names":["headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","color","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"qDAEO,MAAMA,EAAeC,EAAkB,CAC5CC,UAAW,CACTC,WAAY,UACZC,WAAY,SACZC,MAAO,eACPC,QAAS,OACTC,SAAU,aACVC,aAAc,cAEhBC,MAAO,CACL,MAAO,CACLC,SAAU,eACVC,WAAY,gBAEd,MAAO,CACLD,SAAU,eACVC,WAAY,gBAEd,MAAO,CACLD,SAAU,eACVC,WAAY,gBAEdC,GAAI,CACFF,SAAU,cACVC,WAAY,eAEdE,GAAI,CACFH,SAAU,cACVC,WAAY,eAEdG,GAAI,CACFJ,SAAU,cACVC,WAAY,eAEdI,GAAI,CACFL,SAAU,cACVC,WAAY,eAEdK,GAAI,CACFN,SAAU,cACVC,WAAY"}
1
+ {"version":3,"file":"heading.js","sources":["../../../../../src/theme/cruk/components/heading.ts"],"sourcesContent":[null],"names":["headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","color","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"qDAEO,MAAMA,EAAeC,EAAkB,CAC5CC,UAAW,CACTC,WAAY,UACZC,WAAY,SACZC,MAAO,eACPC,QAAS,OACTC,SAAU,aACVC,aAAc,cAEhBC,MAAO,CACL,MAAO,CACLC,SAAU,gCACVC,WAAY,yCAEd,MAAO,CACLD,SAAU,0CACVC,WAAY,oCAEd,MAAO,CACLD,SAAU,eACVC,WAAY,gBAEdC,GAAI,CACFF,SAAU,cACVC,WAAY,eAEdE,GAAI,CACFH,SAAU,cACVC,WAAY,eAEdG,GAAI,CACFJ,SAAU,cACVC,WAAY,eAEdI,GAAI,CACFL,SAAU,cACVC,WAAY,eAEdK,GAAI,CACFN,SAAU,cACVC,WAAY"}
@@ -1,2 +1,2 @@
1
- import{defineStyleConfig as e}from"@chakra-ui/react";const i=e({baseStyle:{fontFamily:"body",fontWeight:"black",color:"headingColor",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"headings.4xl",lineHeight:"headings.4xl",fontFamily:"heading",fontWeight:"semibold"},"3xl":{fontSize:"headings.3xl",lineHeight:"headings.3xl",fontFamily:"heading",fontWeight:"semibold"},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl",fontFamily:"heading",fontWeight:"semibold"},xl:{fontSize:"headings.xl",lineHeight:"headings.xl",fontFamily:"heading",fontWeight:"semibold"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg",fontFamily:"heading",fontWeight:"semibold"},md:{fontSize:"headings.md",lineHeight:"headings.md",fontWeight:"bold"},sm:{fontSize:"headings.sm",lineHeight:"headings.sm",fontWeight:"bold"},xs:{fontSize:"headings.xs",lineHeight:"headings.xs",fontWeight:"bold"}}});export{i as default,i as headingTheme};
1
+ import{defineStyleConfig as e}from"@chakra-ui/react";const i=e({baseStyle:{fontFamily:"body",fontWeight:"black",color:"headingColor",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"clamp(2rem, 4vw + 1rem, 3rem)",lineHeight:"clamp(2.5rem, 5vw + 1.25rem, 3.75rem)",fontFamily:"heading",fontWeight:"semibold"},"3xl":{fontSize:"clamp(1.75rem, 3vw + 0.875rem, 2.25rem)",lineHeight:"clamp(2.25rem, 4vw + 1rem, 3rem)",fontFamily:"heading",fontWeight:"semibold"},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl",fontFamily:"heading",fontWeight:"semibold"},xl:{fontSize:"headings.xl",lineHeight:"headings.xl",fontFamily:"heading",fontWeight:"semibold"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg",fontFamily:"heading",fontWeight:"semibold"},md:{fontSize:"headings.md",lineHeight:"headings.md",fontWeight:"bold"},sm:{fontSize:"headings.sm",lineHeight:"headings.sm",fontWeight:"bold"},xs:{fontSize:"headings.xs",lineHeight:"headings.xs",fontWeight:"bold"}}});export{i as default,i as headingTheme};
2
2
  //# sourceMappingURL=heading.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"heading.js","sources":["../../../../../src/theme/r4l/components/heading.ts"],"sourcesContent":[null],"names":["headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","color","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"qDAEO,MAAMA,EAAeC,EAAkB,CAC5CC,UAAW,CACTC,WAAY,OACZC,WAAY,QACZC,MAAO,eACPC,QAAS,OACTC,SAAU,aACVC,aAAc,cAUhBC,MAAO,CACL,MAAO,CACLC,SAAU,eACVC,WAAY,eACZR,WAAY,UACZC,WAAY,YAEd,MAAO,CACLM,SAAU,eACVC,WAAY,eACZR,WAAY,UACZC,WAAY,YAEd,MAAO,CACLM,SAAU,eACVC,WAAY,eACZR,WAAY,UACZC,WAAY,YAEdQ,GAAI,CACFF,SAAU,cACVC,WAAY,cACZR,WAAY,UACZC,WAAY,YAEdS,GAAI,CACFH,SAAU,cACVC,WAAY,cACZR,WAAY,UACZC,WAAY,YAEdU,GAAI,CACFJ,SAAU,cACVC,WAAY,cACZP,WAAY,QAEdW,GAAI,CACFL,SAAU,cACVC,WAAY,cACZP,WAAY,QAEdY,GAAI,CACFN,SAAU,cACVC,WAAY,cACZP,WAAY"}
1
+ {"version":3,"file":"heading.js","sources":["../../../../../src/theme/r4l/components/heading.ts"],"sourcesContent":[null],"names":["headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","color","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"qDAEO,MAAMA,EAAeC,EAAkB,CAC5CC,UAAW,CACTC,WAAY,OACZC,WAAY,QACZC,MAAO,eACPC,QAAS,OACTC,SAAU,aACVC,aAAc,cAUhBC,MAAO,CACL,MAAO,CACLC,SAAU,gCACVC,WAAY,wCACZR,WAAY,UACZC,WAAY,YAEd,MAAO,CACLM,SAAU,0CACVC,WAAY,mCACZR,WAAY,UACZC,WAAY,YAEd,MAAO,CACLM,SAAU,eACVC,WAAY,eACZR,WAAY,UACZC,WAAY,YAEdQ,GAAI,CACFF,SAAU,cACVC,WAAY,cACZR,WAAY,UACZC,WAAY,YAEdS,GAAI,CACFH,SAAU,cACVC,WAAY,cACZR,WAAY,UACZC,WAAY,YAEdU,GAAI,CACFJ,SAAU,cACVC,WAAY,cACZP,WAAY,QAEdW,GAAI,CACFL,SAAU,cACVC,WAAY,cACZP,WAAY,QAEdY,GAAI,CACFN,SAAU,cACVC,WAAY,cACZP,WAAY"}
@@ -1,2 +1,2 @@
1
- import{defineStyleConfig as e}from"@chakra-ui/react";const i={display:"inline",backgroundColor:"tertiary",textTransform:"uppercase",color:"white",pt:3,px:3,boxDecorationBreak:"clone",width:"fit-content"},n=e({baseStyle:{fontFamily:"body",fontWeight:"bold",color:"black",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"headings.4xl",lineHeight:"headings.4xl",...i},"3xl":{fontSize:"headings.3xl",lineHeight:"headings.3xl",...i},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl",...i},xl:{fontSize:"headings.xl",lineHeight:"headings.xl"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg"},md:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.md",lineHeight:"headings.md"},sm:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.sm",lineHeight:"headings.sm"},xs:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.xs",lineHeight:"headings.xs"}}});export{n as default,n as headingTheme};
1
+ import{defineStyleConfig as e}from"@chakra-ui/react";const i={display:"inline",backgroundColor:"tertiary",textTransform:"uppercase",color:"white",pt:3,px:3,boxDecorationBreak:"clone",width:"fit-content"},n=e({baseStyle:{fontFamily:"body",fontWeight:"bold",color:"black",hyphens:"auto",wordWrap:"break-word",overflowWrap:"break-word"},sizes:{"4xl":{fontSize:"clamp(32px, 4vw + 16px, 48px)",lineHeight:"clamp(40px, 5vw + 20px, 60px)",...i},"3xl":{fontSize:"clamp(28px, 3vw + 14px, 36px)",lineHeight:"clamp(36px, 4vw + 16px, 48px)",...i},"2xl":{fontSize:"headings.2xl",lineHeight:"headings.2xl",...i},xl:{fontSize:"headings.xl",lineHeight:"headings.xl"},lg:{fontSize:"headings.lg",lineHeight:"headings.lg"},md:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.md",lineHeight:"headings.md"},sm:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.sm",lineHeight:"headings.sm"},xs:{fontFamily:"heading",fontWeight:"semibold",fontSize:"headings.xs",lineHeight:"headings.xs"}}});export{n as default,n as headingTheme};
2
2
  //# sourceMappingURL=heading.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"heading.js","sources":["../../../../../src/theme/su2c/components/heading.ts"],"sourcesContent":[null],"names":["headingLargeTheme","display","backgroundColor","textTransform","color","pt","px","boxDecorationBreak","width","headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"qDAEA,MAAMA,EAAoB,CACxBC,QAAS,SACTC,gBAAiB,WACjBC,cAAe,YACfC,MAAO,QACPC,GAAI,EACJC,GAAI,EACJC,mBAAoB,QACpBC,MAAO,eAGIC,EAAeC,EAAkB,CAC5CC,UAAW,CACTC,WAAY,OACZC,WAAY,OACZT,MAAO,QACPU,QAAS,OACTC,SAAU,aACVC,aAAc,cAEhBC,MAAO,CACL,MAAO,CACLC,SAAU,eACVC,WAAY,kBACTnB,GAEL,MAAO,CACLkB,SAAU,eACVC,WAAY,kBACTnB,GAEL,MAAO,CACLkB,SAAU,eACVC,WAAY,kBACTnB,GAELoB,GAAI,CACFF,SAAU,cACVC,WAAY,eAEdE,GAAI,CACFH,SAAU,cACVC,WAAY,eAEdG,GAAI,CACFV,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY,eAEdI,GAAI,CACFX,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY,eAEdK,GAAI,CACFZ,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY"}
1
+ {"version":3,"file":"heading.js","sources":["../../../../../src/theme/su2c/components/heading.ts"],"sourcesContent":[null],"names":["headingLargeTheme","display","backgroundColor","textTransform","color","pt","px","boxDecorationBreak","width","headingTheme","defineStyleConfig","baseStyle","fontFamily","fontWeight","hyphens","wordWrap","overflowWrap","sizes","fontSize","lineHeight","xl","lg","md","sm","xs"],"mappings":"qDAEA,MAAMA,EAAoB,CACxBC,QAAS,SACTC,gBAAiB,WACjBC,cAAe,YACfC,MAAO,QACPC,GAAI,EACJC,GAAI,EACJC,mBAAoB,QACpBC,MAAO,eAGIC,EAAeC,EAAkB,CAC5CC,UAAW,CACTC,WAAY,OACZC,WAAY,OACZT,MAAO,QACPU,QAAS,OACTC,SAAU,aACVC,aAAc,cAEhBC,MAAO,CACL,MAAO,CACLC,SAAU,gCACVC,WAAY,mCACTnB,GAEL,MAAO,CACLkB,SAAU,gCACVC,WAAY,mCACTnB,GAEL,MAAO,CACLkB,SAAU,eACVC,WAAY,kBACTnB,GAELoB,GAAI,CACFF,SAAU,cACVC,WAAY,eAEdE,GAAI,CACFH,SAAU,cACVC,WAAY,eAEdG,GAAI,CACFV,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY,eAEdI,GAAI,CACFX,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY,eAEdK,GAAI,CACFZ,WAAY,UACZC,WAAY,WACZK,SAAU,cACVC,WAAY"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cruk/chakra-components",
3
- "version": "4.0.0-dev.22",
3
+ "version": "4.0.0-dev.23",
4
4
  "description": "Chakra UI v2 based components for CRUK applications",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,