ymy-components 0.0.34 → 0.0.37

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,7 +1,7 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { default as DynamicLanguage, CharacterPreference } from '../types/DynamicLanguage';
3
3
  type AnimatedTextProps = {
4
- animate: boolean;
4
+ animate?: boolean;
5
5
  content: DynamicLanguage;
6
6
  textStyles?: CSSProperties;
7
7
  htmlElement?: keyof JSX.IntrinsicElements;
@@ -39,4 +39,9 @@ export type BannerButtonProps = {
39
39
  * Defaults to 'simplified' if not specified.
40
40
  */
41
41
  characterPreference?: CharacterPreference;
42
+ /**
43
+ * Whether to animate the text translation.
44
+ * Defaults to true if not specified.
45
+ */
46
+ animate?: boolean;
42
47
  };
@@ -1,3 +1,7 @@
1
+ export declare const Ripple: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
2
+ $x: number;
3
+ $y: number;
4
+ }>> & string;
1
5
  export declare const ContentContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
6
  export declare const ContentBody: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
7
  export declare const ContentSection: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;