ymy-components 0.0.13 → 0.0.16

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.
package/dist/App.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare function App(): import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ import { default as DynamicLanguage } from '../types/DynamicLanguage';
3
+ type AnimatedTextProps = {
4
+ animate: boolean;
5
+ content: DynamicLanguage;
6
+ textStyles?: CSSProperties;
7
+ htmlElement?: keyof JSX.IntrinsicElements;
8
+ fadeIn?: boolean;
9
+ };
10
+ export default function AnimatedText(animatedTextProps: AnimatedTextProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { BannerButtonProps } from './BannerButton.types';
3
+ declare const BannerButton: React.FC<BannerButtonProps>;
4
+ export default BannerButton;
@@ -0,0 +1,4 @@
1
+ export declare const pressDown: import('styled-components/dist/models/Keyframes').default;
2
+ export declare const BannerButtonContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const StyledButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
4
+ export declare const IconComponent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Props for the BannerButton component.
3
+ */
4
+ export type BannerButtonProps = {
5
+ /**
6
+ * Specifies which icon to display.
7
+ * Accepts:
8
+ * - 'plus' for the plus icon.
9
+ * - 'send' for the send icon.
10
+ */
11
+ iconComponent: 'plus' | 'send';
12
+ /**
13
+ * The text content for the button in multiple languages.
14
+ */
15
+ buttonText: {
16
+ /** The English version of the button text. */
17
+ english: string;
18
+ /** The Traditional Chinese version of the button text. */
19
+ traditional: string;
20
+ /** The Simplified Chinese version of the button text. */
21
+ simplified: string;
22
+ };
23
+ /**
24
+ * Optional variant of the button styling.
25
+ * Defaults to 'primary' if not specified.
26
+ * Accepts:
27
+ * - 'primary' for the primary styling.
28
+ * - 'secondary' for the secondary styling.
29
+ */
30
+ buttonType?: 'primary' | 'secondary';
31
+ };
@@ -0,0 +1,4 @@
1
+ import { ReactElement } from 'react';
2
+ import { CircleIconButtonProps } from './CircleIconButton.types';
3
+ declare const CircleIconButton: ({ iconComponent, onClick }: CircleIconButtonProps) => ReactElement;
4
+ export default CircleIconButton;