@laerdal/life-react-components 5.0.7 → 5.0.8-dev.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.
Files changed (47) hide show
  1. package/dist/Chips/ChoiceChips.cjs +1 -0
  2. package/dist/Chips/ChoiceChips.cjs.map +1 -1
  3. package/dist/Chips/ChoiceChips.js +1 -0
  4. package/dist/Chips/ChoiceChips.js.map +1 -1
  5. package/dist/ChipsInput/ChipDropdownInput.cjs +1 -1
  6. package/dist/ChipsInput/ChipDropdownInput.cjs.map +1 -1
  7. package/dist/ChipsInput/ChipDropdownInput.js +1 -1
  8. package/dist/ChipsInput/ChipDropdownInput.js.map +1 -1
  9. package/dist/Dropdown/BasicDropdown.cjs +2 -0
  10. package/dist/Dropdown/BasicDropdown.cjs.map +1 -1
  11. package/dist/Dropdown/BasicDropdown.js +2 -0
  12. package/dist/Dropdown/BasicDropdown.js.map +1 -1
  13. package/dist/Dropdown/DropdownButton.cjs +2 -0
  14. package/dist/Dropdown/DropdownButton.cjs.map +1 -1
  15. package/dist/Dropdown/DropdownButton.js +2 -0
  16. package/dist/Dropdown/DropdownButton.js.map +1 -1
  17. package/dist/Dropdown/DropdownContent.cjs +1 -1
  18. package/dist/Dropdown/DropdownContent.cjs.map +1 -1
  19. package/dist/Dropdown/DropdownContent.js +1 -1
  20. package/dist/Dropdown/DropdownContent.js.map +1 -1
  21. package/dist/Dropdown/DropdownFilter.cjs +2 -0
  22. package/dist/Dropdown/DropdownFilter.cjs.map +1 -1
  23. package/dist/Dropdown/DropdownFilter.js +2 -0
  24. package/dist/Dropdown/DropdownFilter.js.map +1 -1
  25. package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.cjs +0 -1
  26. package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.cjs.map +1 -1
  27. package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.js +0 -1
  28. package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.js.map +1 -1
  29. package/dist/GlobalNavigationBar/desktop/SubMenu.cjs +0 -1
  30. package/dist/GlobalNavigationBar/desktop/SubMenu.cjs.map +1 -1
  31. package/dist/GlobalNavigationBar/desktop/SubMenu.js +0 -1
  32. package/dist/GlobalNavigationBar/desktop/SubMenu.js.map +1 -1
  33. package/dist/InputFields/QuickSearch.cjs +1 -1
  34. package/dist/InputFields/QuickSearch.cjs.map +1 -1
  35. package/dist/InputFields/QuickSearch.js +1 -1
  36. package/dist/InputFields/QuickSearch.js.map +1 -1
  37. package/dist/Modals/ModalContainer.cjs +106 -142
  38. package/dist/Modals/ModalContainer.cjs.map +1 -1
  39. package/dist/Modals/ModalContainer.d.ts +1 -17
  40. package/dist/Modals/ModalContainer.js +106 -142
  41. package/dist/Modals/ModalContainer.js.map +1 -1
  42. package/dist/styles/typography.cjs +59 -35
  43. package/dist/styles/typography.cjs.map +1 -1
  44. package/dist/styles/typography.d.ts +1 -1
  45. package/dist/styles/typography.js +59 -35
  46. package/dist/styles/typography.js.map +1 -1
  47. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"typography.cjs","names":["_react","_interopRequireDefault","require","_styledComponents","_interopRequireWildcard","_","_types","_jsxRuntime","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","TypographyBase","styled","div","_taggedTemplateLiteral2","props","$fontSize","$fontWeight","$lineHeight","_props$$textTransform","$textTransform","_props$$textDecoratio","$textDecorationLine","_props$$fontStyle","$fontStyle","_props$$color","$color","COLORS","getColor","theme","exports","ComponentTextStyle","componentFontWeight","textStyle","fontWeight","Bold","UppercaseBold","componentFontStyle","fontStyle","Italic","componentTextTransformation","ComponentStyling","fontSize","lineHeight","color","css","concat","ComponentXLStyling","ComponentXL","_ref","children","className","jsx","propTypes","_propTypes","string","oneOf","node","ComponentLStyling","ComponentL","_ref2","ComponentMStyling","ComponentM","_ref3","ComponentSStyling","ComponentS","_ref4","ComponentXSStyling","ComponentXS","_ref5","textTransform","ComponentXXSStyling","ComponentXXS","_ref6","ComponentResponsive","_ref7","size","width","fontsize","Size","Medium","Small","Large","XXSmall","XSmall","Typography","QuoteTypography","NoteTypography","UpperCaseTypography","Note","p","Quote","UpperCase"],"sources":["../../src/styles/typography.tsx"],"sourcesContent":["import React from 'react';\nimport styled, {css} from 'styled-components';\nimport {COLORS} from '.';\nimport {Property} from 'csstype';\nimport {Size} from '../types';\n\nexport const TypographyBase = styled.div<{$color?: string,\n $lineHeight: number,\n $fontSize: number,\n $fontWeight: number,\n $fontStyle?: string,\n $textTransform?: Property.TextTransform,\n $textDecorationLine?: Property.TextDecorationLine,\n}>`\n font-size: ${props => props.$fontSize}px;\n font-weight: ${props => props.$fontWeight};\n line-height: ${props => props.$lineHeight}px;\n text-transform: ${props => props.$textTransform ?? 'none' };\n text-decoration-line: ${props => props.$textDecorationLine ?? 'none'};\n font-style: ${props => props.$fontStyle ?? 'normal'};\n color: ${props => props.$color ?? COLORS.getColor('black', props.theme)};\n`;\n\nenum ComponentTextStyle {\n Regular = 1,\n Bold,\n Italic,\n UppercaseBold,\n}\n\ntype ComponentProps = {\n color?: string;\n className?: string;\n textStyle?: ComponentTextStyle;\n children?: React.ReactNode;\n};\n\nconst componentFontWeight = (textStyle?: ComponentTextStyle) => {\n let fontWeight = 400;\n if (textStyle === ComponentTextStyle.Bold || textStyle === ComponentTextStyle.UppercaseBold) {\n fontWeight = 700;\n }\n return fontWeight;\n};\n\nconst componentFontStyle = (textStyle?: ComponentTextStyle) => {\n let fontStyle = textStyle && textStyle === ComponentTextStyle.Italic ? 'italic' : '';\n return fontStyle;\n};\n\nconst componentTextTransformation = (textStyle?: ComponentTextStyle): Property.TextTransform => {\n let fontStyle: Property.TextTransform = textStyle && textStyle === ComponentTextStyle.UppercaseBold ? 'uppercase' : 'none';\n return fontStyle;\n};\n\nconst ComponentStyling = (fontSize: string, lineHeight: string, textStyle: ComponentTextStyle, color: string | undefined | null) => {\n return css`\n font-size: ${fontSize};\n font-weight: ${componentFontWeight(textStyle)};\n line-height: ${lineHeight};\n font-style: ${componentFontStyle(textStyle)};\n ${props => color === null ? '' : `color: ${color || COLORS.getColor('black', props.theme)};`}\n `;\n};\n\nconst ComponentXLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('24px', '28px', textStyle, color);\nconst ComponentXL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={28} $fontSize={24} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('20px', '24px', textStyle, color);\nconst ComponentL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={24} $fontSize={20} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentMStyling = (textStyle: ComponentTextStyle, color: string | undefined | null) => ComponentStyling('18px', '24px', textStyle, color);\nconst ComponentM: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={24} $fontSize={18} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('16px', '20px', textStyle, color);\nconst ComponentS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={20} $fontSize={16} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('14px', '16px', textStyle, color);\nconst ComponentXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={16} $fontSize={14} $fontWeight={fontWeight}\n $fontStyle={fontStyle} $textTransform={textTransform}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('12px', '16px', textStyle, color);\nconst ComponentXXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={16} $fontSize={12} $fontWeight={fontWeight}\n $fontStyle={fontStyle} $textTransform={textTransform}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentResponsive: React.FunctionComponent<ComponentProps & { size?: Size; width: number }> = ({\n color,\n textStyle,\n children,\n size,\n width\n }) => {\n let fontsize = size;\n if (!size) {\n if (width == -1) {\n fontsize = Size.Medium;\n } else if (width < 768) {\n fontsize = Size.Small;\n } else if (width < 992) {\n fontsize = Size.Medium;\n } else {\n fontsize = Size.Large;\n }\n }\n switch (fontsize) {\n case Size.XXSmall:\n return <ComponentXXS color={color} textStyle={textStyle} children={children}/>;\n case Size.XSmall:\n return <ComponentXS color={color} textStyle={textStyle} children={children}/>;\n case Size.Small:\n return <ComponentS color={color} textStyle={textStyle} children={children}/>;\n case Size.Medium:\n return <ComponentM color={color} textStyle={textStyle} children={children}/>;\n case Size.Large:\n default:\n return <ComponentL color={color} textStyle={textStyle} children={children}/>;\n }\n};\n\nexport const Typography = css`\n html {\n font-size: 100%;\n }\n\n @media (min-width: 48rem) {\n html {\n font-size: 112.5%;\n }\n }\n\n @media (min-width: 80rem) {\n html {\n font-size: 125%;\n }\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: 700;\n line-height: 120%;\n margin: 0;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n h2 {\n font-size: 2.5rem;\n }\n\n h3 {\n font-size: 2rem;\n }\n\n h4 {\n font-size: 1.75rem;\n }\n\n h5 {\n font-size: 1.5rem;\n }\n\n h6 {\n font-size: 1.25rem;\n }\n\n p {\n font-size: 1rem;\n line-height: 150%;\n margin: 0 0 0.5rem;\n }\n\n p:last-of-type {\n margin-bottom: 0;\n }\n\n\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 34rem;\n }\n\n :lang(ja-jp) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(ko-kr) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(zh-CN) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n`;\n\nexport const QuoteTypography = css`\n font-size: 1.5rem;\n line-height: 150%;\n margin-bottom: 0.75rem;\n`;\n\nexport const NoteTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n margin-bottom: 0.375rem;\n`;\n\nexport const UpperCaseTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n font-weight: 700;\n text-transform: uppercase;\n`;\n\nexport const Note = styled.p`\n ${NoteTypography}\n`;\n\nexport const Quote = styled.p`\n ${QuoteTypography}\n`;\n\nexport const UpperCase = styled.p`\n ${UpperCaseTypography}\n`;\n\nexport {\n ComponentTextStyle,\n ComponentXL,\n ComponentL,\n ComponentM,\n ComponentS,\n ComponentXS,\n ComponentXXS,\n ComponentResponsive\n};\n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AAG1C,qBAAG,EAAA3D,gBAAA,KAAAA,gBAAA,OAAA4B,uBAAA,+FAIhC;AAACgB,OAAA,CAAAyD,cAAA,GAAAA,cAAA;AAEK,IAAMC,mBAAmB,OAAG3C,qBAAG,EAAA1D,gBAAA,KAAAA,gBAAA,OAAA2B,uBAAA,sHAKrC;AAACgB,OAAA,CAAA0D,mBAAA,GAAAA,mBAAA;AAEK,IAAMC,IAAI,GAAG7E,4BAAM,CAAC8E,CAAC,CAAAtG,gBAAA,KAAAA,gBAAA,OAAA0B,uBAAA,+BACxByE,cAAc,CACjB;AAACzD,OAAA,CAAA2D,IAAA,GAAAA,IAAA;AAEK,IAAME,KAAK,GAAG/E,4BAAM,CAAC8E,CAAC,CAAArG,gBAAA,KAAAA,gBAAA,OAAAyB,uBAAA,+BACzBwE,eAAe,CAClB;AAACxD,OAAA,CAAA6D,KAAA,GAAAA,KAAA;AAEK,IAAMC,SAAS,GAAGhF,4BAAM,CAAC8E,CAAC,CAAApG,gBAAA,KAAAA,gBAAA,OAAAwB,uBAAA,+BAC7B0E,mBAAmB,CACtB;AAAC1D,OAAA,CAAA8D,SAAA,GAAAA,SAAA","ignoreList":[]}
1
+ {"version":3,"file":"typography.cjs","names":["_react","_interopRequireDefault","require","_styledComponents","_interopRequireWildcard","_","_types","_jsxRuntime","_excluded","_excluded2","_excluded3","_excluded4","_excluded5","_excluded6","_excluded7","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ownKeys","keys","getOwnPropertySymbols","o","filter","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","TypographyBase","styled","div","_taggedTemplateLiteral2","props","$fontSize","$fontWeight","$lineHeight","_props$$textTransform","$textTransform","_props$$textDecoratio","$textDecorationLine","_props$$fontStyle","$fontStyle","_props$$color","$color","COLORS","getColor","theme","exports","ComponentTextStyle","componentFontWeight","textStyle","fontWeight","Bold","UppercaseBold","componentFontStyle","fontStyle","Italic","componentTextTransformation","ComponentStyling","fontSize","lineHeight","color","css","concat","ComponentXLStyling","ComponentXL","_ref","children","className","rest","_objectWithoutProperties2","jsx","propTypes","_propTypes","string","oneOf","node","ComponentLStyling","ComponentL","_ref2","ComponentMStyling","ComponentM","_ref3","ComponentSStyling","ComponentS","_ref4","ComponentXSStyling","ComponentXS","_ref5","textTransform","ComponentXXSStyling","ComponentXXS","_ref6","ComponentResponsive","_ref7","size","width","fontsize","Size","Medium","Small","Large","XXSmall","XSmall","Typography","QuoteTypography","NoteTypography","UpperCaseTypography","Note","p","Quote","UpperCase"],"sources":["../../src/styles/typography.tsx"],"sourcesContent":["import React, { AriaAttributes } from 'react';\nimport styled, {css} from 'styled-components';\nimport {COLORS} from '.';\nimport {Property} from 'csstype';\nimport {Size} from '../types';\n\nexport const TypographyBase = styled.div<{$color?: string,\n $lineHeight: number,\n $fontSize: number,\n $fontWeight: number,\n $fontStyle?: string,\n $textTransform?: Property.TextTransform,\n $textDecorationLine?: Property.TextDecorationLine,\n}>`\n font-size: ${props => props.$fontSize}px;\n font-weight: ${props => props.$fontWeight};\n line-height: ${props => props.$lineHeight}px;\n text-transform: ${props => props.$textTransform ?? 'none' };\n text-decoration-line: ${props => props.$textDecorationLine ?? 'none'};\n font-style: ${props => props.$fontStyle ?? 'normal'};\n color: ${props => props.$color ?? COLORS.getColor('black', props.theme)};\n`;\n\nenum ComponentTextStyle {\n Regular = 1,\n Bold,\n Italic,\n UppercaseBold,\n}\n\ntype ComponentProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'className' | 'children'> & {\n color?: string;\n className?: string;\n textStyle?: ComponentTextStyle;\n children?: React.ReactNode;\n};\n\nconst componentFontWeight = (textStyle?: ComponentTextStyle) => {\n let fontWeight = 400;\n if (textStyle === ComponentTextStyle.Bold || textStyle === ComponentTextStyle.UppercaseBold) {\n fontWeight = 700;\n }\n return fontWeight;\n};\n\nconst componentFontStyle = (textStyle?: ComponentTextStyle) => {\n let fontStyle = textStyle && textStyle === ComponentTextStyle.Italic ? 'italic' : '';\n return fontStyle;\n};\n\nconst componentTextTransformation = (textStyle?: ComponentTextStyle): Property.TextTransform => {\n let fontStyle: Property.TextTransform = textStyle && textStyle === ComponentTextStyle.UppercaseBold ? 'uppercase' : 'none';\n return fontStyle;\n};\n\nconst ComponentStyling = (fontSize: string, lineHeight: string, textStyle: ComponentTextStyle, color: string | undefined | null) => {\n return css`\n font-size: ${fontSize};\n font-weight: ${componentFontWeight(textStyle)};\n line-height: ${lineHeight};\n font-style: ${componentFontStyle(textStyle)};\n ${props => color === null ? '' : `color: ${color || COLORS.getColor('black', props.theme)};`}\n `;\n};\n\nconst ComponentXLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('24px', '28px', textStyle, color);\nconst ComponentXL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={28} $fontSize={24} $fontWeight={fontWeight}\n $fontStyle={fontStyle} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('20px', '24px', textStyle, color);\nconst ComponentL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={24} $fontSize={20} $fontWeight={fontWeight}\n $fontStyle={fontStyle} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentMStyling = (textStyle: ComponentTextStyle, color: string | undefined | null) => ComponentStyling('18px', '24px', textStyle, color);\nconst ComponentM: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={24} $fontSize={18} $fontWeight={fontWeight}\n $fontStyle={fontStyle} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('16px', '20px', textStyle, color);\nconst ComponentS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={20} $fontSize={16} $fontWeight={fontWeight}\n $fontStyle={fontStyle} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('14px', '16px', textStyle, color);\nconst ComponentXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={16} $fontSize={14} $fontWeight={fontWeight}\n $fontStyle={fontStyle} $textTransform={textTransform} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('12px', '16px', textStyle, color);\nconst ComponentXXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={16} $fontSize={12} $fontWeight={fontWeight}\n $fontStyle={fontStyle} $textTransform={textTransform} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentResponsive: React.FunctionComponent<ComponentProps & { size?: Size; width: number }> = ({\n color,\n textStyle,\n children,\n size,\n width, \n ...rest\n }) => {\n let fontsize = size;\n if (!size) {\n if (width == -1) {\n fontsize = Size.Medium;\n } else if (width < 768) {\n fontsize = Size.Small;\n } else if (width < 992) {\n fontsize = Size.Medium;\n } else {\n fontsize = Size.Large;\n }\n }\n switch (fontsize) {\n case Size.XXSmall:\n return <ComponentXXS color={color} textStyle={textStyle} children={children} {...rest}/>;\n case Size.XSmall:\n return <ComponentXS color={color} textStyle={textStyle} children={children} {...rest}/>;\n case Size.Small:\n return <ComponentS color={color} textStyle={textStyle} children={children} {...rest}/>;\n case Size.Medium:\n return <ComponentM color={color} textStyle={textStyle} children={children} {...rest}/>;\n case Size.Large:\n default:\n return <ComponentL color={color} textStyle={textStyle} children={children} {...rest}/>;\n }\n};\n\nexport const Typography = css`\n html {\n font-size: 100%;\n }\n\n @media (min-width: 48rem) {\n html {\n font-size: 112.5%;\n }\n }\n\n @media (min-width: 80rem) {\n html {\n font-size: 125%;\n }\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: 700;\n line-height: 120%;\n margin: 0;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n h2 {\n font-size: 2.5rem;\n }\n\n h3 {\n font-size: 2rem;\n }\n\n h4 {\n font-size: 1.75rem;\n }\n\n h5 {\n font-size: 1.5rem;\n }\n\n h6 {\n font-size: 1.25rem;\n }\n\n p {\n font-size: 1rem;\n line-height: 150%;\n margin: 0 0 0.5rem;\n }\n\n p:last-of-type {\n margin-bottom: 0;\n }\n\n\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 34rem;\n }\n\n :lang(ja-jp) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(ko-kr) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(zh-CN) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n`;\n\nexport const QuoteTypography = css`\n font-size: 1.5rem;\n line-height: 150%;\n margin-bottom: 0.75rem;\n`;\n\nexport const NoteTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n margin-bottom: 0.375rem;\n`;\n\nexport const UpperCaseTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n font-weight: 700;\n text-transform: uppercase;\n`;\n\nexport const Note = styled.p`\n ${NoteTypography}\n`;\n\nexport const Quote = styled.p`\n ${QuoteTypography}\n`;\n\nexport const UpperCase = styled.p`\n ${UpperCaseTypography}\n`;\n\nexport {\n ComponentTextStyle,\n ComponentXL,\n ComponentL,\n ComponentM,\n ComponentS,\n ComponentXS,\n ComponentXXS,\n ComponentResponsive\n};\nexport {\n ComponentXLStyling,\n ComponentLStyling,\n ComponentMStyling,\n ComponentSStyling,\n ComponentXSStyling,\n ComponentXXSStyling\n};\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,CAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AAA8B,IAAAK,WAAA,GAAAL,OAAA;AAAA,IAAAM,SAAA;EAAAC,UAAA;EAAAC,UAAA;EAAAC,UAAA;EAAAC,UAAA;EAAAC,UAAA;EAAAC,UAAA;AAAA,IAAAC,eAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA;AAAA,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAArB,wBAAAqB,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAA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AAG7C,qBAAG,EAAAzE,gBAAA,KAAAA,gBAAA,OAAA0C,uBAAA,sHAKrC;AAACgB,OAAA,CAAA4D,mBAAA,GAAAA,mBAAA;AAEK,IAAMC,IAAI,GAAG/E,4BAAM,CAACgF,CAAC,CAAAvH,gBAAA,KAAAA,gBAAA,OAAAyC,uBAAA,+BACxB2E,cAAc,CACjB;AAAC3D,OAAA,CAAA6D,IAAA,GAAAA,IAAA;AAEK,IAAME,KAAK,GAAGjF,4BAAM,CAACgF,CAAC,CAAAtH,gBAAA,KAAAA,gBAAA,OAAAwC,uBAAA,+BACzB0E,eAAe,CAClB;AAAC1D,OAAA,CAAA+D,KAAA,GAAAA,KAAA;AAEK,IAAMC,SAAS,GAAGlF,4BAAM,CAACgF,CAAC,CAAArH,gBAAA,KAAAA,gBAAA,OAAAuC,uBAAA,+BAC7B4E,mBAAmB,CACtB;AAAC5D,OAAA,CAAAgE,SAAA,GAAAA,SAAA","ignoreList":[]}
@@ -16,7 +16,7 @@ declare enum ComponentTextStyle {
16
16
  Italic = 3,
17
17
  UppercaseBold = 4
18
18
  }
19
- type ComponentProps = {
19
+ type ComponentProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'className' | 'children'> & {
20
20
  color?: string;
21
21
  className?: string;
22
22
  textStyle?: ComponentTextStyle;
@@ -1,6 +1,17 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
1
3
  import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
4
  import _pt from "prop-types";
5
+ var _excluded = ["color", "textStyle", "children", "className"],
6
+ _excluded2 = ["color", "textStyle", "children", "className"],
7
+ _excluded3 = ["color", "textStyle", "children", "className"],
8
+ _excluded4 = ["color", "textStyle", "children", "className"],
9
+ _excluded5 = ["color", "textStyle", "children", "className"],
10
+ _excluded6 = ["color", "textStyle", "children", "className"],
11
+ _excluded7 = ["color", "textStyle", "children", "size", "width"];
3
12
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
15
  import React from 'react';
5
16
  import styled, { css } from 'styled-components';
6
17
  import { COLORS } from '.';
@@ -59,18 +70,20 @@ var ComponentXL = function ComponentXL(_ref) {
59
70
  var color = _ref.color,
60
71
  textStyle = _ref.textStyle,
61
72
  children = _ref.children,
62
- className = _ref.className;
73
+ className = _ref.className,
74
+ rest = _objectWithoutProperties(_ref, _excluded);
63
75
  var fontWeight = componentFontWeight(textStyle);
64
76
  var fontStyle = componentFontStyle(textStyle);
65
- return /*#__PURE__*/_jsx(TypographyBase, {
77
+ return /*#__PURE__*/_jsx(TypographyBase, _objectSpread(_objectSpread({
66
78
  className: className,
67
79
  $color: color,
68
80
  $lineHeight: 28,
69
81
  $fontSize: 24,
70
82
  $fontWeight: fontWeight,
71
- $fontStyle: fontStyle,
83
+ $fontStyle: fontStyle
84
+ }, rest), {}, {
72
85
  children: children
73
- });
86
+ }));
74
87
  };
75
88
  ComponentXL.propTypes = {
76
89
  color: _pt.string,
@@ -85,18 +98,20 @@ var ComponentL = function ComponentL(_ref2) {
85
98
  var color = _ref2.color,
86
99
  textStyle = _ref2.textStyle,
87
100
  children = _ref2.children,
88
- className = _ref2.className;
101
+ className = _ref2.className,
102
+ rest = _objectWithoutProperties(_ref2, _excluded2);
89
103
  var fontWeight = componentFontWeight(textStyle);
90
104
  var fontStyle = componentFontStyle(textStyle);
91
- return /*#__PURE__*/_jsx(TypographyBase, {
105
+ return /*#__PURE__*/_jsx(TypographyBase, _objectSpread(_objectSpread({
92
106
  className: className,
93
107
  $color: color,
94
108
  $lineHeight: 24,
95
109
  $fontSize: 20,
96
110
  $fontWeight: fontWeight,
97
- $fontStyle: fontStyle,
111
+ $fontStyle: fontStyle
112
+ }, rest), {}, {
98
113
  children: children
99
- });
114
+ }));
100
115
  };
101
116
  ComponentL.propTypes = {
102
117
  color: _pt.string,
@@ -111,18 +126,20 @@ var ComponentM = function ComponentM(_ref3) {
111
126
  var color = _ref3.color,
112
127
  textStyle = _ref3.textStyle,
113
128
  children = _ref3.children,
114
- className = _ref3.className;
129
+ className = _ref3.className,
130
+ rest = _objectWithoutProperties(_ref3, _excluded3);
115
131
  var fontWeight = componentFontWeight(textStyle);
116
132
  var fontStyle = componentFontStyle(textStyle);
117
- return /*#__PURE__*/_jsx(TypographyBase, {
133
+ return /*#__PURE__*/_jsx(TypographyBase, _objectSpread(_objectSpread({
118
134
  className: className,
119
135
  $color: color,
120
136
  $lineHeight: 24,
121
137
  $fontSize: 18,
122
138
  $fontWeight: fontWeight,
123
- $fontStyle: fontStyle,
139
+ $fontStyle: fontStyle
140
+ }, rest), {}, {
124
141
  children: children
125
- });
142
+ }));
126
143
  };
127
144
  ComponentM.propTypes = {
128
145
  color: _pt.string,
@@ -137,18 +154,20 @@ var ComponentS = function ComponentS(_ref4) {
137
154
  var color = _ref4.color,
138
155
  textStyle = _ref4.textStyle,
139
156
  children = _ref4.children,
140
- className = _ref4.className;
157
+ className = _ref4.className,
158
+ rest = _objectWithoutProperties(_ref4, _excluded4);
141
159
  var fontWeight = componentFontWeight(textStyle);
142
160
  var fontStyle = componentFontStyle(textStyle);
143
- return /*#__PURE__*/_jsx(TypographyBase, {
161
+ return /*#__PURE__*/_jsx(TypographyBase, _objectSpread(_objectSpread({
144
162
  className: className,
145
163
  $color: color,
146
164
  $lineHeight: 20,
147
165
  $fontSize: 16,
148
166
  $fontWeight: fontWeight,
149
- $fontStyle: fontStyle,
167
+ $fontStyle: fontStyle
168
+ }, rest), {}, {
150
169
  children: children
151
- });
170
+ }));
152
171
  };
153
172
  ComponentS.propTypes = {
154
173
  color: _pt.string,
@@ -163,20 +182,22 @@ var ComponentXS = function ComponentXS(_ref5) {
163
182
  var color = _ref5.color,
164
183
  textStyle = _ref5.textStyle,
165
184
  children = _ref5.children,
166
- className = _ref5.className;
185
+ className = _ref5.className,
186
+ rest = _objectWithoutProperties(_ref5, _excluded5);
167
187
  var fontWeight = componentFontWeight(textStyle);
168
188
  var fontStyle = componentFontStyle(textStyle);
169
189
  var textTransform = componentTextTransformation(textStyle);
170
- return /*#__PURE__*/_jsx(TypographyBase, {
190
+ return /*#__PURE__*/_jsx(TypographyBase, _objectSpread(_objectSpread({
171
191
  className: className,
172
192
  $color: color,
173
193
  $lineHeight: 16,
174
194
  $fontSize: 14,
175
195
  $fontWeight: fontWeight,
176
196
  $fontStyle: fontStyle,
177
- $textTransform: textTransform,
197
+ $textTransform: textTransform
198
+ }, rest), {}, {
178
199
  children: children
179
- });
200
+ }));
180
201
  };
181
202
  ComponentXS.propTypes = {
182
203
  color: _pt.string,
@@ -191,20 +212,22 @@ var ComponentXXS = function ComponentXXS(_ref6) {
191
212
  var color = _ref6.color,
192
213
  textStyle = _ref6.textStyle,
193
214
  children = _ref6.children,
194
- className = _ref6.className;
215
+ className = _ref6.className,
216
+ rest = _objectWithoutProperties(_ref6, _excluded6);
195
217
  var fontWeight = componentFontWeight(textStyle);
196
218
  var fontStyle = componentFontStyle(textStyle);
197
219
  var textTransform = componentTextTransformation(textStyle);
198
- return /*#__PURE__*/_jsx(TypographyBase, {
220
+ return /*#__PURE__*/_jsx(TypographyBase, _objectSpread(_objectSpread({
199
221
  className: className,
200
222
  $color: color,
201
223
  $lineHeight: 16,
202
224
  $fontSize: 12,
203
225
  $fontWeight: fontWeight,
204
226
  $fontStyle: fontStyle,
205
- $textTransform: textTransform,
227
+ $textTransform: textTransform
228
+ }, rest), {}, {
206
229
  children: children
207
- });
230
+ }));
208
231
  };
209
232
  ComponentXXS.propTypes = {
210
233
  color: _pt.string,
@@ -217,7 +240,8 @@ var ComponentResponsive = function ComponentResponsive(_ref7) {
217
240
  textStyle = _ref7.textStyle,
218
241
  children = _ref7.children,
219
242
  size = _ref7.size,
220
- width = _ref7.width;
243
+ width = _ref7.width,
244
+ rest = _objectWithoutProperties(_ref7, _excluded7);
221
245
  var fontsize = size;
222
246
  if (!size) {
223
247
  if (width == -1) {
@@ -232,36 +256,36 @@ var ComponentResponsive = function ComponentResponsive(_ref7) {
232
256
  }
233
257
  switch (fontsize) {
234
258
  case Size.XXSmall:
235
- return /*#__PURE__*/_jsx(ComponentXXS, {
259
+ return /*#__PURE__*/_jsx(ComponentXXS, _objectSpread({
236
260
  color: color,
237
261
  textStyle: textStyle,
238
262
  children: children
239
- });
263
+ }, rest));
240
264
  case Size.XSmall:
241
- return /*#__PURE__*/_jsx(ComponentXS, {
265
+ return /*#__PURE__*/_jsx(ComponentXS, _objectSpread({
242
266
  color: color,
243
267
  textStyle: textStyle,
244
268
  children: children
245
- });
269
+ }, rest));
246
270
  case Size.Small:
247
- return /*#__PURE__*/_jsx(ComponentS, {
271
+ return /*#__PURE__*/_jsx(ComponentS, _objectSpread({
248
272
  color: color,
249
273
  textStyle: textStyle,
250
274
  children: children
251
- });
275
+ }, rest));
252
276
  case Size.Medium:
253
- return /*#__PURE__*/_jsx(ComponentM, {
277
+ return /*#__PURE__*/_jsx(ComponentM, _objectSpread({
254
278
  color: color,
255
279
  textStyle: textStyle,
256
280
  children: children
257
- });
281
+ }, rest));
258
282
  case Size.Large:
259
283
  default:
260
- return /*#__PURE__*/_jsx(ComponentL, {
284
+ return /*#__PURE__*/_jsx(ComponentL, _objectSpread({
261
285
  color: color,
262
286
  textStyle: textStyle,
263
287
  children: children
264
- });
288
+ }, rest));
265
289
  }
266
290
  };
267
291
  ComponentResponsive.propTypes = {
@@ -1 +1 @@
1
- {"version":3,"file":"typography.js","names":["React","styled","css","COLORS","Size","jsx","_jsx","TypographyBase","div","_templateObject","_taggedTemplateLiteral","props","$fontSize","$fontWeight","$lineHeight","_props$$textTransform","$textTransform","_props$$textDecoratio","$textDecorationLine","_props$$fontStyle","$fontStyle","_props$$color","$color","getColor","theme","ComponentTextStyle","componentFontWeight","textStyle","fontWeight","Bold","UppercaseBold","componentFontStyle","fontStyle","Italic","componentTextTransformation","ComponentStyling","fontSize","lineHeight","color","_templateObject2","concat","ComponentXLStyling","ComponentXL","_ref","children","className","propTypes","_pt","string","oneOf","node","ComponentLStyling","ComponentL","_ref2","ComponentMStyling","ComponentM","_ref3","ComponentSStyling","ComponentS","_ref4","ComponentXSStyling","ComponentXS","_ref5","textTransform","ComponentXXSStyling","ComponentXXS","_ref6","ComponentResponsive","_ref7","size","width","fontsize","Medium","Small","Large","XXSmall","XSmall","Typography","_templateObject3","QuoteTypography","_templateObject4","NoteTypography","_templateObject5","UpperCaseTypography","_templateObject6","Note","p","_templateObject7","Quote","_templateObject8","UpperCase","_templateObject9"],"sources":["../../src/styles/typography.tsx"],"sourcesContent":["import React from 'react';\nimport styled, {css} from 'styled-components';\nimport {COLORS} from '.';\nimport {Property} from 'csstype';\nimport {Size} from '../types';\n\nexport const TypographyBase = styled.div<{$color?: string,\n $lineHeight: number,\n $fontSize: number,\n $fontWeight: number,\n $fontStyle?: string,\n $textTransform?: Property.TextTransform,\n $textDecorationLine?: Property.TextDecorationLine,\n}>`\n font-size: ${props => props.$fontSize}px;\n font-weight: ${props => props.$fontWeight};\n line-height: ${props => props.$lineHeight}px;\n text-transform: ${props => props.$textTransform ?? 'none' };\n text-decoration-line: ${props => props.$textDecorationLine ?? 'none'};\n font-style: ${props => props.$fontStyle ?? 'normal'};\n color: ${props => props.$color ?? COLORS.getColor('black', props.theme)};\n`;\n\nenum ComponentTextStyle {\n Regular = 1,\n Bold,\n Italic,\n UppercaseBold,\n}\n\ntype ComponentProps = {\n color?: string;\n className?: string;\n textStyle?: ComponentTextStyle;\n children?: React.ReactNode;\n};\n\nconst componentFontWeight = (textStyle?: ComponentTextStyle) => {\n let fontWeight = 400;\n if (textStyle === ComponentTextStyle.Bold || textStyle === ComponentTextStyle.UppercaseBold) {\n fontWeight = 700;\n }\n return fontWeight;\n};\n\nconst componentFontStyle = (textStyle?: ComponentTextStyle) => {\n let fontStyle = textStyle && textStyle === ComponentTextStyle.Italic ? 'italic' : '';\n return fontStyle;\n};\n\nconst componentTextTransformation = (textStyle?: ComponentTextStyle): Property.TextTransform => {\n let fontStyle: Property.TextTransform = textStyle && textStyle === ComponentTextStyle.UppercaseBold ? 'uppercase' : 'none';\n return fontStyle;\n};\n\nconst ComponentStyling = (fontSize: string, lineHeight: string, textStyle: ComponentTextStyle, color: string | undefined | null) => {\n return css`\n font-size: ${fontSize};\n font-weight: ${componentFontWeight(textStyle)};\n line-height: ${lineHeight};\n font-style: ${componentFontStyle(textStyle)};\n ${props => color === null ? '' : `color: ${color || COLORS.getColor('black', props.theme)};`}\n `;\n};\n\nconst ComponentXLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('24px', '28px', textStyle, color);\nconst ComponentXL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={28} $fontSize={24} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('20px', '24px', textStyle, color);\nconst ComponentL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={24} $fontSize={20} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentMStyling = (textStyle: ComponentTextStyle, color: string | undefined | null) => ComponentStyling('18px', '24px', textStyle, color);\nconst ComponentM: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={24} $fontSize={18} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('16px', '20px', textStyle, color);\nconst ComponentS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={20} $fontSize={16} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('14px', '16px', textStyle, color);\nconst ComponentXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={16} $fontSize={14} $fontWeight={fontWeight}\n $fontStyle={fontStyle} $textTransform={textTransform}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('12px', '16px', textStyle, color);\nconst ComponentXXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={16} $fontSize={12} $fontWeight={fontWeight}\n $fontStyle={fontStyle} $textTransform={textTransform}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentResponsive: React.FunctionComponent<ComponentProps & { size?: Size; width: number }> = ({\n color,\n textStyle,\n children,\n size,\n width\n }) => {\n let fontsize = size;\n if (!size) {\n if (width == -1) {\n fontsize = Size.Medium;\n } else if (width < 768) {\n fontsize = Size.Small;\n } else if (width < 992) {\n fontsize = Size.Medium;\n } else {\n fontsize = Size.Large;\n }\n }\n switch (fontsize) {\n case Size.XXSmall:\n return <ComponentXXS color={color} textStyle={textStyle} children={children}/>;\n case Size.XSmall:\n return <ComponentXS color={color} textStyle={textStyle} children={children}/>;\n case Size.Small:\n return <ComponentS color={color} textStyle={textStyle} children={children}/>;\n case Size.Medium:\n return <ComponentM color={color} textStyle={textStyle} children={children}/>;\n case Size.Large:\n default:\n return <ComponentL color={color} textStyle={textStyle} children={children}/>;\n }\n};\n\nexport const Typography = css`\n html {\n font-size: 100%;\n }\n\n @media (min-width: 48rem) {\n html {\n font-size: 112.5%;\n }\n }\n\n @media (min-width: 80rem) {\n html {\n font-size: 125%;\n }\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: 700;\n line-height: 120%;\n margin: 0;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n h2 {\n font-size: 2.5rem;\n }\n\n h3 {\n font-size: 2rem;\n }\n\n h4 {\n font-size: 1.75rem;\n }\n\n h5 {\n font-size: 1.5rem;\n }\n\n h6 {\n font-size: 1.25rem;\n }\n\n p {\n font-size: 1rem;\n line-height: 150%;\n margin: 0 0 0.5rem;\n }\n\n p:last-of-type {\n margin-bottom: 0;\n }\n\n\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 34rem;\n }\n\n :lang(ja-jp) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(ko-kr) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(zh-CN) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n`;\n\nexport const QuoteTypography = css`\n font-size: 1.5rem;\n line-height: 150%;\n margin-bottom: 0.75rem;\n`;\n\nexport const NoteTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n margin-bottom: 0.375rem;\n`;\n\nexport const UpperCaseTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n font-weight: 700;\n text-transform: uppercase;\n`;\n\nexport const Note = styled.p`\n ${NoteTypography}\n`;\n\nexport const Quote = styled.p`\n ${QuoteTypography}\n`;\n\nexport const UpperCase = styled.p`\n ${UpperCaseTypography}\n`;\n\nexport {\n ComponentTextStyle,\n ComponentXL,\n ComponentL,\n ComponentM,\n ComponentS,\n ComponentXS,\n ComponentXXS,\n ComponentResponsive\n};\nexport {\n ComponentXLStyling,\n ComponentLStyling,\n ComponentMStyling,\n ComponentSStyling,\n ComponentXSStyling,\n ComponentXXSStyling\n};\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,IAAGC,GAAG,QAAO,mBAAmB;AAC7C,SAAQC,MAAM,QAAO,GAAG;AAExB,SAAQC,IAAI,QAAO,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE9B,OAAO,IAAMC,cAAc,GAAGN,MAAM,CAACO,GAAG,CAAAC,eAAA,KAAAA,eAAA,GAAAC,sBAAA,4KAQzB,UAAAC,KAAK;EAAA,OAAIA,KAAK,CAACC,SAAS;AAAA,GACtB,UAAAD,KAAK;EAAA,OAAIA,KAAK,CAACE,WAAW;AAAA,GAC1B,UAAAF,KAAK;EAAA,OAAIA,KAAK,CAACG,WAAW;AAAA,GACvB,UAAAH,KAAK;EAAA,IAAAI,qBAAA;EAAA,QAAAA,qBAAA,GAAIJ,KAAK,CAACK,cAAc,cAAAD,qBAAA,cAAAA,qBAAA,GAAI,MAAM;AAAA,GACjC,UAAAJ,KAAK;EAAA,I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AAMW,SAAS,GAAGzF,MAAM,CAACqF,CAAC,CAAAK,gBAAA,KAAAA,gBAAA,GAAAjF,sBAAA,mBAC7ByE,mBAAmB,CACtB;AAED,SACE1D,kBAAkB,EAClBiB,WAAW,EACXU,UAAU,EACVG,UAAU,EACVG,UAAU,EACVG,WAAW,EACXI,YAAY,EACZE,mBAAmB;AAErB,SACE1B,kBAAkB,EAClBU,iBAAiB,EACjBG,iBAAiB,EACjBG,iBAAiB,EACjBG,kBAAkB,EAClBI,mBAAmB","ignoreList":[]}
1
+ {"version":3,"file":"typography.js","names":["React","styled","css","COLORS","Size","jsx","_jsx","TypographyBase","div","_templateObject","_taggedTemplateLiteral","props","$fontSize","$fontWeight","$lineHeight","_props$$textTransform","$textTransform","_props$$textDecoratio","$textDecorationLine","_props$$fontStyle","$fontStyle","_props$$color","$color","getColor","theme","ComponentTextStyle","componentFontWeight","textStyle","fontWeight","Bold","UppercaseBold","componentFontStyle","fontStyle","Italic","componentTextTransformation","ComponentStyling","fontSize","lineHeight","color","_templateObject2","concat","ComponentXLStyling","ComponentXL","_ref","children","className","rest","_objectWithoutProperties","_excluded","_objectSpread","propTypes","_pt","string","oneOf","node","ComponentLStyling","ComponentL","_ref2","_excluded2","ComponentMStyling","ComponentM","_ref3","_excluded3","ComponentSStyling","ComponentS","_ref4","_excluded4","ComponentXSStyling","ComponentXS","_ref5","_excluded5","textTransform","ComponentXXSStyling","ComponentXXS","_ref6","_excluded6","ComponentResponsive","_ref7","size","width","_excluded7","fontsize","Medium","Small","Large","XXSmall","XSmall","Typography","_templateObject3","QuoteTypography","_templateObject4","NoteTypography","_templateObject5","UpperCaseTypography","_templateObject6","Note","p","_templateObject7","Quote","_templateObject8","UpperCase","_templateObject9"],"sources":["../../src/styles/typography.tsx"],"sourcesContent":["import React, { AriaAttributes } from 'react';\nimport styled, {css} from 'styled-components';\nimport {COLORS} from '.';\nimport {Property} from 'csstype';\nimport {Size} from '../types';\n\nexport const TypographyBase = styled.div<{$color?: string,\n $lineHeight: number,\n $fontSize: number,\n $fontWeight: number,\n $fontStyle?: string,\n $textTransform?: Property.TextTransform,\n $textDecorationLine?: Property.TextDecorationLine,\n}>`\n font-size: ${props => props.$fontSize}px;\n font-weight: ${props => props.$fontWeight};\n line-height: ${props => props.$lineHeight}px;\n text-transform: ${props => props.$textTransform ?? 'none' };\n text-decoration-line: ${props => props.$textDecorationLine ?? 'none'};\n font-style: ${props => props.$fontStyle ?? 'normal'};\n color: ${props => props.$color ?? COLORS.getColor('black', props.theme)};\n`;\n\nenum ComponentTextStyle {\n Regular = 1,\n Bold,\n Italic,\n UppercaseBold,\n}\n\ntype ComponentProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'className' | 'children'> & {\n color?: string;\n className?: string;\n textStyle?: ComponentTextStyle;\n children?: React.ReactNode;\n};\n\nconst componentFontWeight = (textStyle?: ComponentTextStyle) => {\n let fontWeight = 400;\n if (textStyle === ComponentTextStyle.Bold || textStyle === ComponentTextStyle.UppercaseBold) {\n fontWeight = 700;\n }\n return fontWeight;\n};\n\nconst componentFontStyle = (textStyle?: ComponentTextStyle) => {\n let fontStyle = textStyle && textStyle === ComponentTextStyle.Italic ? 'italic' : '';\n return fontStyle;\n};\n\nconst componentTextTransformation = (textStyle?: ComponentTextStyle): Property.TextTransform => {\n let fontStyle: Property.TextTransform = textStyle && textStyle === ComponentTextStyle.UppercaseBold ? 'uppercase' : 'none';\n return fontStyle;\n};\n\nconst ComponentStyling = (fontSize: string, lineHeight: string, textStyle: ComponentTextStyle, color: string | undefined | null) => {\n return css`\n font-size: ${fontSize};\n font-weight: ${componentFontWeight(textStyle)};\n line-height: ${lineHeight};\n font-style: ${componentFontStyle(textStyle)};\n ${props => color === null ? '' : `color: ${color || COLORS.getColor('black', props.theme)};`}\n `;\n};\n\nconst ComponentXLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('24px', '28px', textStyle, color);\nconst ComponentXL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={28} $fontSize={24} $fontWeight={fontWeight}\n $fontStyle={fontStyle} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('20px', '24px', textStyle, color);\nconst ComponentL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={24} $fontSize={20} $fontWeight={fontWeight}\n $fontStyle={fontStyle} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentMStyling = (textStyle: ComponentTextStyle, color: string | undefined | null) => ComponentStyling('18px', '24px', textStyle, color);\nconst ComponentM: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={24} $fontSize={18} $fontWeight={fontWeight}\n $fontStyle={fontStyle} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('16px', '20px', textStyle, color);\nconst ComponentS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={20} $fontSize={16} $fontWeight={fontWeight}\n $fontStyle={fontStyle} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('14px', '16px', textStyle, color);\nconst ComponentXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={16} $fontSize={14} $fontWeight={fontWeight}\n $fontStyle={fontStyle} $textTransform={textTransform} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('12px', '16px', textStyle, color);\nconst ComponentXXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className, ...rest}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} $lineHeight={16} $fontSize={12} $fontWeight={fontWeight}\n $fontStyle={fontStyle} $textTransform={textTransform} {...rest}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentResponsive: React.FunctionComponent<ComponentProps & { size?: Size; width: number }> = ({\n color,\n textStyle,\n children,\n size,\n width, \n ...rest\n }) => {\n let fontsize = size;\n if (!size) {\n if (width == -1) {\n fontsize = Size.Medium;\n } else if (width < 768) {\n fontsize = Size.Small;\n } else if (width < 992) {\n fontsize = Size.Medium;\n } else {\n fontsize = Size.Large;\n }\n }\n switch (fontsize) {\n case Size.XXSmall:\n return <ComponentXXS color={color} textStyle={textStyle} children={children} {...rest}/>;\n case Size.XSmall:\n return <ComponentXS color={color} textStyle={textStyle} children={children} {...rest}/>;\n case Size.Small:\n return <ComponentS color={color} textStyle={textStyle} children={children} {...rest}/>;\n case Size.Medium:\n return <ComponentM color={color} textStyle={textStyle} children={children} {...rest}/>;\n case Size.Large:\n default:\n return <ComponentL color={color} textStyle={textStyle} children={children} {...rest}/>;\n }\n};\n\nexport const Typography = css`\n html {\n font-size: 100%;\n }\n\n @media (min-width: 48rem) {\n html {\n font-size: 112.5%;\n }\n }\n\n @media (min-width: 80rem) {\n html {\n font-size: 125%;\n }\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: 700;\n line-height: 120%;\n margin: 0;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n h2 {\n font-size: 2.5rem;\n }\n\n h3 {\n font-size: 2rem;\n }\n\n h4 {\n font-size: 1.75rem;\n }\n\n h5 {\n font-size: 1.5rem;\n }\n\n h6 {\n font-size: 1.25rem;\n }\n\n p {\n font-size: 1rem;\n line-height: 150%;\n margin: 0 0 0.5rem;\n }\n\n p:last-of-type {\n margin-bottom: 0;\n }\n\n\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 34rem;\n }\n\n :lang(ja-jp) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(ko-kr) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(zh-CN) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n`;\n\nexport const QuoteTypography = css`\n font-size: 1.5rem;\n line-height: 150%;\n margin-bottom: 0.75rem;\n`;\n\nexport const NoteTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n margin-bottom: 0.375rem;\n`;\n\nexport const UpperCaseTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n font-weight: 700;\n text-transform: uppercase;\n`;\n\nexport const Note = styled.p`\n ${NoteTypography}\n`;\n\nexport const Quote = styled.p`\n ${QuoteTypography}\n`;\n\nexport const UpperCase = styled.p`\n ${UpperCaseTypography}\n`;\n\nexport {\n ComponentTextStyle,\n ComponentXL,\n ComponentL,\n ComponentM,\n ComponentS,\n ComponentXS,\n ComponentXXS,\n ComponentResponsive\n};\nexport {\n ComponentXLStyling,\n ComponentLStyling,\n ComponentMStyling,\n ComponentSStyling,\n ComponentXSStyling,\n ComponentXXSStyling\n};\n"],"mappings":";;;;;;;;;;;;;;AAAA,OAAOA,KAAK,MAA0B,OAAO;AAC7C,OAAOC,MAAM,IAAGC,GAAG,QAAO,mBAAmB;AAC7C,SAAQC,MAAM,QAAO,GAAG;AAExB,SAAQC,I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GAAAzF,sBAAA,mBACzB+E,eAAe,CAClB;AAED,OAAO,IAAMW,SAAS,GAAGnG,MAAM,CAAC+F,CAAC,CAAAK,gBAAA,KAAAA,gBAAA,GAAA3F,sBAAA,mBAC7BmF,mBAAmB,CACtB;AAED,SACEpE,kBAAkB,EAClBiB,WAAW,EACXc,UAAU,EACVI,UAAU,EACVI,UAAU,EACVI,WAAW,EACXK,YAAY,EACZG,mBAAmB;AAErB,SACEnC,kBAAkB,EAClBc,iBAAiB,EACjBI,iBAAiB,EACjBI,iBAAiB,EACjBI,kBAAkB,EAClBK,mBAAmB","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laerdal/life-react-components",
3
- "version": "5.0.7",
3
+ "version": "5.0.8-dev.1",
4
4
  "private": false,
5
5
  "author": "Erik Martirosyan <erik.martirosyan@laerdal.com>",
6
6
  "contributors": [],