@cruk/cruk-react-components 6.2.1 → 6.2.2

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
- import{__makeTemplateObject as n}from"../../../node_modules/tslib/tslib.es6.js";import e from"styled-components";var i,o,r,t=e.legend(i||(i=n(["\n display: block;\n float: left;\n font-family: ",";\n\n // increase font size for desktop\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n display: block;\n float: left;\n font-family: ",";\n\n // increase font size for desktop\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),function(n){return n.theme.typography.fontFamilyBase},function(n){return n.theme.breakpoint.desktopLarge},function(n){return n.theme.fontSizes.ml}),a=e.fieldset(o||(o=n(["\n box-sizing: border-box;\n *,\n *:after,\n *:before {\n box-sizing: border-box;\n }\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(min(8rem, 100%), 1fr));\n position: relative;\n border: none;\n padding: 0;\n margin: 0 0 "," 0;\n"],["\n box-sizing: border-box;\n *,\n *:after,\n *:before {\n box-sizing: border-box;\n }\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(min(8rem, 100%), 1fr));\n position: relative;\n border: none;\n padding: 0;\n margin: 0 0 "," 0;\n"])),function(n){return n.theme.spacing.s}),l=e.div(r||(r=n(["\n display: flex;\n flex-direction: row;\n"],["\n display: flex;\n flex-direction: row;\n"])));export{l as OptionWrapper,a as StyledFieldSet,t as StyledLegend};
1
+ import{__makeTemplateObject as n}from"../../../node_modules/tslib/tslib.es6.js";import e from"styled-components";var i,t,o,r=e.legend(i||(i=n(["\n display: block;\n float: left;\n font-family: ",";\n\n // increase font size for desktop\n @media (min-width: ",") {\n font-size: ",";\n }\n"],["\n display: block;\n float: left;\n font-family: ",";\n\n // increase font size for desktop\n @media (min-width: ",") {\n font-size: ",";\n }\n"])),function(n){return n.theme.typography.fontFamilyBase},function(n){return n.theme.breakpoint.desktopLarge},function(n){return n.theme.fontSizes.ml}),a=e.fieldset(t||(t=n(["\n box-sizing: border-box;\n *,\n *:after,\n *:before {\n box-sizing: border-box;\n }\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(min(8em, 100%), 0.25fr));\n position: relative;\n border: none;\n padding: 0;\n margin: 0 0 "," 0;\n"],["\n box-sizing: border-box;\n *,\n *:after,\n *:before {\n box-sizing: border-box;\n }\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(min(8em, 100%), 0.25fr));\n position: relative;\n border: none;\n padding: 0;\n margin: 0 0 "," 0;\n"])),function(n){return n.theme.spacing.s}),s=e.div(o||(o=n(["\n display: flex;\n flex-direction: row;\n gap: ",";\n align-items: flex-start;\n justify-content: flex-start;\n gap: 0px;\n label {\n min-width: 0px;\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: ",";\n align-items: flex-start;\n justify-content: flex-start;\n gap: 0px;\n label {\n min-width: 0px;\n }\n"])),function(n){return n.theme.spacing.m});export{s as OptionWrapper,a as StyledFieldSet,r as StyledLegend};
2
2
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sources":["../../../../src/components/RadioConsent/styles.ts"],"sourcesContent":["import styled from \"styled-components\";\nimport { type ThemeType } from \"../../types\";\n\nexport const StyledLegend = styled.legend<{\n theme: ThemeType;\n}>`\n display: block;\n float: left;\n font-family: ${({ theme }) => theme.typography.fontFamilyBase};\n\n // increase font size for desktop\n @media (min-width: ${({ theme }) => theme.breakpoint.desktopLarge}) {\n font-size: ${({ theme }) => theme.fontSizes.ml};\n }\n`;\n\nexport const StyledFieldSet = styled.fieldset<{\n theme: ThemeType;\n}>`\n box-sizing: border-box;\n *,\n *:after,\n *:before {\n box-sizing: border-box;\n }\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(min(8rem, 100%), 1fr));\n position: relative;\n border: none;\n padding: 0;\n margin: 0 0 ${({ theme }) => theme.spacing.s} 0;\n`;\n\nexport const OptionWrapper = styled.div<{\n theme: ThemeType;\n}>`\n display: flex;\n flex-direction: row;\n`;\n"],"names":["StyledLegend","styled","legend","templateObject_1","__makeTemplateObject","_a","theme","typography","fontFamilyBase","breakpoint","desktopLarge","fontSizes","ml","StyledFieldSet","fieldset","templateObject_2","spacing","s","OptionWrapper","div","templateObject_3"],"mappings":"iHAGO,UAAMA,EAAeC,EAAOC,OAAMC,IAAAA,EAAAC,EAAA,CAAA,uDAAA,kEAAA,uBAAA,YAAA,CAEvC,uDAG6D,kEAGI,uBACjB,cAJjC,SAACC,GAAc,OAAPA,EAAAC,MAAaC,WAAWC,cAAjB,EAGT,SAACH,GAAc,OAAPA,EAAAC,MAAaG,WAAWC,YAAjB,EACrB,SAACL,GAAc,OAAPA,EAAAC,MAAaK,UAAUC,EAAhB,GAInBC,EAAiBZ,EAAOa,SAAQC,IAAAA,EAAAX,EAAA,CAAA,oQAAA,SAAA,CAE3C,oQAY4C,WAA9B,SAACC,GAAc,OAAPA,EAAAC,MAAaU,QAAQC,CAAd,GAGlBC,EAAgBjB,EAAOkB,IAAGC,IAAAA,EAAAhB,EAAA,CAAA,gDAAA,CAErC"}
1
+ {"version":3,"file":"styles.js","sources":["../../../../src/components/RadioConsent/styles.ts"],"sourcesContent":["import styled from \"styled-components\";\nimport { type ThemeType } from \"../../types\";\n\nexport const StyledLegend = styled.legend<{\n theme: ThemeType;\n}>`\n display: block;\n float: left;\n font-family: ${({ theme }) => theme.typography.fontFamilyBase};\n\n // increase font size for desktop\n @media (min-width: ${({ theme }) => theme.breakpoint.desktopLarge}) {\n font-size: ${({ theme }) => theme.fontSizes.ml};\n }\n`;\n\nexport const StyledFieldSet = styled.fieldset<{\n theme: ThemeType;\n}>`\n box-sizing: border-box;\n *,\n *:after,\n *:before {\n box-sizing: border-box;\n }\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(min(8em, 100%), 0.25fr));\n position: relative;\n border: none;\n padding: 0;\n margin: 0 0 ${({ theme }) => theme.spacing.s} 0;\n`;\n\nexport const OptionWrapper = styled.div<{\n theme: ThemeType;\n}>`\n display: flex;\n flex-direction: row;\n gap: ${({ theme }) => theme.spacing.m};\n align-items: flex-start;\n justify-content: flex-start;\n gap: 0px;\n label {\n min-width: 0px;\n }\n`;\n"],"names":["StyledLegend","styled","legend","templateObject_1","__makeTemplateObject","_a","theme","typography","fontFamilyBase","breakpoint","desktopLarge","fontSizes","ml","StyledFieldSet","fieldset","templateObject_2","spacing","s","OptionWrapper","div","templateObject_3","m"],"mappings":"iHAGO,UAAMA,EAAeC,EAAOC,OAAMC,IAAAA,EAAAC,EAAA,CAAA,uDAAA,kEAAA,uBAAA,YAAA,CAEvC,uDAG6D,kEAGI,uBACjB,cAJjC,SAACC,GAAc,OAAPA,EAAAC,MAAaC,WAAWC,cAAjB,EAGT,SAACH,GAAc,OAAPA,EAAAC,MAAaG,WAAWC,YAAjB,EACrB,SAACL,GAAc,OAAPA,EAAAC,MAAaK,UAAUC,EAAhB,GAInBC,EAAiBZ,EAAOa,SAAQC,IAAAA,EAAAX,EAAA,CAAA,qQAAA,SAAA,CAE3C,qQAY4C,WAA9B,SAACC,GAAc,OAAPA,EAAAC,MAAaU,QAAQC,CAAd,GAGlBC,EAAgBjB,EAAOkB,IAAGC,IAAAA,EAAAhB,EAAA,CAAA,sDAAA,qHAAA,CAErC,sDAGqC,uHAA9B,SAACC,GAAc,OAAPA,EAAAC,MAAaU,QAAQK,CAAd"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cruk/cruk-react-components",
3
- "version": "6.2.1",
3
+ "version": "6.2.2",
4
4
  "description": "React components implementing CRUK, RFL, SU2C & Bowelbabe designs",
5
5
  "license": "MIT",
6
6
  "publishConfig": {