@nuskin/marketing-components 1.28.0 → 1.29.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.
@@ -55,6 +55,17 @@ export declare const typographyVariants: {
55
55
  };
56
56
  fontFamily: string;
57
57
  };
58
+ boxquote: {
59
+ desktop: {
60
+ fontSize: string;
61
+ lineHeight: string;
62
+ };
63
+ mobile: {
64
+ fontSize: string;
65
+ lineHeight: string;
66
+ };
67
+ fontFamily: string;
68
+ };
58
69
  };
59
70
  /**
60
71
  * Common text element styles for rich content
@@ -62,6 +73,7 @@ export declare const typographyVariants: {
62
73
  * Can be imported and used in other styled components
63
74
  */
64
75
  export declare const commonTextStyles = "\n p {\n margin: 0;\n padding: 0;\n font-size: 16px;\n line-height: 22px;\n font-family: 'Inter', sans-serif;\n }\n\n @media (max-width: 768px) {\n p {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n strong, b {\n font-weight: 600;\n }\n\n em, i {\n font-style: italic;\n }\n\n a {\n color: #008ab0;\n text-decoration: underline;\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n ul, ol {\n margin: 16px 0;\n padding-left: 24px;\n }\n\n li {\n margin: 8px 0;\n }\n";
76
+ export declare const variantToElement: Record<string, string>;
65
77
  export declare const TypographyStyled: import("@emotion/styled").StyledComponent<{
66
78
  theme?: import("@emotion/react").Theme;
67
79
  as?: React.ElementType;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, CSSProperties } from 'react';
2
- export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'body' | 'disclaimer';
2
+ export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'body' | 'disclaimer' | 'boxquote';
3
3
  export interface TypographyStyledProps {
4
4
  variant?: TypographyVariant;
5
5
  color?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/marketing-components",
3
- "version": "1.28.0",
3
+ "version": "1.29.0",
4
4
  "description": "A React based component library for marketing components to use with content stack pagebuilding",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",