@grantbii/design-system 1.18.0 → 1.18.1

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 type { TextStyle } from "../atoms/Typography";
2
- export declare const applyTypography: (style: TextStyle) => import("styled-components").RuleSet<object>;
1
+ import { Typography } from "../atoms";
2
+ export declare const applyTypography: (style: Typography.TextStyle) => import("styled-components").RuleSet<object>;
@@ -1,15 +1,15 @@
1
1
  import { css } from "styled-components";
2
- import { WIDTH_BREAKPOINTS } from "../atoms/Responsive";
2
+ import { Responsive, Typography } from "../atoms";
3
3
  export const applyTypography = (style) => css `
4
4
  font-family: ${style.fontFamily};
5
5
  font-weight: ${style.fontWeight};
6
6
 
7
- @media (width < ${WIDTH_BREAKPOINTS.laptop}) {
7
+ @media (width < ${Responsive.WIDTH_BREAKPOINTS.laptop}) {
8
8
  font-size: ${style.fontSize.small};
9
9
  line-height: ${style.lineHeight.small};
10
10
  }
11
11
 
12
- @media (width >= ${WIDTH_BREAKPOINTS.laptop}) {
12
+ @media (width >= ${Responsive.WIDTH_BREAKPOINTS.laptop}) {
13
13
  font-size: ${style.fontSize.large};
14
14
  line-height: ${style.lineHeight.large};
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../core/integrations/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,GAAG,CAAA;iBACvC,KAAK,CAAC,UAAU;iBAChB,KAAK,CAAC,UAAU;;oBAEb,iBAAiB,CAAC,MAAM;iBAC3B,KAAK,CAAC,QAAQ,CAAC,KAAK;mBAClB,KAAK,CAAC,UAAU,CAAC,KAAK;;;qBAGpB,iBAAiB,CAAC,MAAM;iBAC5B,KAAK,CAAC,QAAQ,CAAC,KAAK;mBAClB,KAAK,CAAC,UAAU,CAAC,KAAK;;CAExC,CAAC","sourcesContent":["import { css } from \"styled-components\";\nimport { WIDTH_BREAKPOINTS } from \"../atoms/Responsive\";\nimport type { TextStyle } from \"../atoms/Typography\";\n\nexport const applyTypography = (style: TextStyle) => css`\n font-family: ${style.fontFamily};\n font-weight: ${style.fontWeight};\n\n @media (width < ${WIDTH_BREAKPOINTS.laptop}) {\n font-size: ${style.fontSize.small};\n line-height: ${style.lineHeight.small};\n }\n\n @media (width >= ${WIDTH_BREAKPOINTS.laptop}) {\n font-size: ${style.fontSize.large};\n line-height: ${style.lineHeight.large};\n }\n`;\n"]}
1
+ {"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../core/integrations/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAA2B,EAAE,EAAE,CAAC,GAAG,CAAA;iBAClD,KAAK,CAAC,UAAU;iBAChB,KAAK,CAAC,UAAU;;oBAEb,UAAU,CAAC,iBAAiB,CAAC,MAAM;iBACtC,KAAK,CAAC,QAAQ,CAAC,KAAK;mBAClB,KAAK,CAAC,UAAU,CAAC,KAAK;;;qBAGpB,UAAU,CAAC,iBAAiB,CAAC,MAAM;iBACvC,KAAK,CAAC,QAAQ,CAAC,KAAK;mBAClB,KAAK,CAAC,UAAU,CAAC,KAAK;;CAExC,CAAC","sourcesContent":["import { css } from \"styled-components\";\nimport { Responsive, Typography } from \"../atoms\";\n\nexport const applyTypography = (style: Typography.TextStyle) => css`\n font-family: ${style.fontFamily};\n font-weight: ${style.fontWeight};\n\n @media (width < ${Responsive.WIDTH_BREAKPOINTS.laptop}) {\n font-size: ${style.fontSize.small};\n line-height: ${style.lineHeight.small};\n }\n\n @media (width >= ${Responsive.WIDTH_BREAKPOINTS.laptop}) {\n font-size: ${style.fontSize.large};\n line-height: ${style.lineHeight.large};\n }\n`;\n"]}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@grantbii/design-system",
3
3
  "author": "Grantbii",
4
4
  "license": "UNLICENSED",
5
- "version": "1.18.0",
5
+ "version": "1.18.1",
6
6
  "description": "Grantbii's Design System",
7
7
  "homepage": "https://design.grantbii.com",
8
8
  "repository": {