ymy-components 0.0.43 → 0.0.45
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/animations/AnimatedText.d.ts +3 -1
- package/dist/collections/ListItem.d.ts +2 -1
- package/dist/index.cjs.js +11 -11
- package/dist/index.es.js +177 -174
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ type AnimatedTextProps = {
|
|
|
7
7
|
htmlElement?: keyof JSX.IntrinsicElements;
|
|
8
8
|
fadeIn?: boolean;
|
|
9
9
|
characterPreference?: CharacterPreference;
|
|
10
|
+
/** Maximum delay in milliseconds between animation cycles (default: 15000) */
|
|
11
|
+
maxDelay?: number;
|
|
10
12
|
};
|
|
11
|
-
export default function AnimatedText({ animate, content, textStyles, htmlElement, fadeIn, characterPreference, }: AnimatedTextProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default function AnimatedText({ animate, content, textStyles, htmlElement, fadeIn, characterPreference, maxDelay, }: AnimatedTextProps): import("react/jsx-runtime").JSX.Element;
|
|
12
14
|
export {};
|
|
@@ -13,11 +13,12 @@ interface ListItemProps {
|
|
|
13
13
|
textContent?: DynamicLanguage;
|
|
14
14
|
characterPreference?: CharacterPreference;
|
|
15
15
|
animate?: boolean;
|
|
16
|
+
maxDelay?: number;
|
|
16
17
|
actionIcon?: SecondaryIconName;
|
|
17
18
|
onClick?: () => void;
|
|
18
19
|
styles?: React.CSSProperties;
|
|
19
20
|
switchChecked?: boolean;
|
|
20
21
|
onSwitchChange?: (checked: boolean) => void;
|
|
21
22
|
}
|
|
22
|
-
export declare const ListItem: ({ icon, text, textContent, characterPreference, animate, actionIcon, onClick, styles, switchChecked, onSwitchChange, }: ListItemProps) => ReactElement;
|
|
23
|
+
export declare const ListItem: ({ icon, text, textContent, characterPreference, animate, maxDelay, actionIcon, onClick, styles, switchChecked, onSwitchChange, }: ListItemProps) => ReactElement;
|
|
23
24
|
export {};
|