@arwes/react-text
Advanced tools
Comparing version 1.0.0-next.24072301 to 1.0.0-next.24072501
@@ -33,3 +33,2 @@ "use strict"; | ||
} | ||
// If there is no text, there is nothing to animate. | ||
if (!childrenText.length) { | ||
@@ -36,0 +35,0 @@ return; |
@@ -12,6 +12,2 @@ import { type ReactNode, type ReactElement, type HTMLProps, type ForwardedRef, type CSSProperties } from 'react'; | ||
easing?: keyof typeof easing; | ||
/** | ||
* If the duration of the animation should be fixed by the parent Animator | ||
* or dynamic according to its children. | ||
*/ | ||
fixed?: boolean; | ||
@@ -18,0 +14,0 @@ hideOnEntered?: boolean; |
@@ -30,3 +30,2 @@ import { createElement, useMemo, useState, useRef, useEffect } from 'react'; | ||
} | ||
// If there is no text, there is nothing to animate. | ||
if (!childrenText.length) { | ||
@@ -33,0 +32,0 @@ return; |
{ | ||
"name": "@arwes/react-text", | ||
"version": "1.0.0-next.24072301", | ||
"version": "1.0.0-next.24072501", | ||
"publishConfig": { | ||
@@ -46,7 +46,7 @@ "access": "public" | ||
"dependencies": { | ||
"@arwes/animator": "^1.0.0-next.24072301", | ||
"@arwes/react-animator": "^1.0.0-next.24072301", | ||
"@arwes/react-tools": "^1.0.0-next.24072301", | ||
"@arwes/text": "^1.0.0-next.24072301", | ||
"@arwes/tools": "^1.0.0-next.24072301", | ||
"@arwes/animator": "^1.0.0-next.24072501", | ||
"@arwes/react-animator": "^1.0.0-next.24072501", | ||
"@arwes/react-tools": "^1.0.0-next.24072501", | ||
"@arwes/text": "^1.0.0-next.24072501", | ||
"@arwes/tools": "^1.0.0-next.24072501", | ||
"tslib": "2" | ||
@@ -60,3 +60,3 @@ }, | ||
}, | ||
"gitHead": "6a769ef7d70b669157e05c873dba292a6548ca35" | ||
"gitHead": "cf43a3fc1aeffef581e49783fa298a3f5dec7ff4" | ||
} |
14037
278