Skip to content

Commit ad5fe96

Browse files
committed
0.14.1
1 parent 23c2c4a commit ad5fe96

12 files changed

+118
-118
lines changed

docs/API.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ A component to manage enter/update/exit of its children by key, that works simil
5454

5555
#### Defined in
5656

57-
[src/react/components/TransitionGroup.tsx:74](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/components/TransitionGroup.tsx#L74)
57+
[src/react/components/TransitionGroup.tsx:74](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/components/TransitionGroup.tsx#L74)
5858

5959
___
6060

@@ -83,7 +83,7 @@ A basic hook to use Web Animations API. See [AnimationHandle](interfaces/Animati
8383

8484
#### Defined in
8585

86-
[src/react/hooks/useAnimation.ts:162](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L162)
86+
[src/react/hooks/useAnimation.ts:163](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L163)
8787

8888
___
8989

@@ -112,7 +112,7 @@ Same as [useAnimation](API.md#useanimation), but it drives function not React el
112112

113113
#### Defined in
114114

115-
[src/react/hooks/useAnimationFunction.ts:69](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimationFunction.ts#L69)
115+
[src/react/hooks/useAnimationFunction.ts:69](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimationFunction.ts#L69)
116116

117117
___
118118

@@ -138,7 +138,7 @@ This hook must be used under [TransitionGroup](API.md#transitiongroup) component
138138

139139
#### Defined in
140140

141-
[src/react/hooks/useTransitionAnimation.ts:37](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useTransitionAnimation.ts#L37)
141+
[src/react/hooks/useTransitionAnimation.ts:38](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useTransitionAnimation.ts#L38)
142142

143143
## Type Aliases
144144

@@ -150,7 +150,7 @@ Strictly typed [Keyframe](https://developer.mozilla.org/en-US/docs/Web/API/Web_A
150150

151151
#### Defined in
152152

153-
[src/core/waapi.ts:17](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/core/waapi.ts#L17)
153+
[src/core/waapi.ts:17](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/core/waapi.ts#L17)
154154

155155
___
156156

@@ -160,7 +160,7 @@ ___
160160

161161
#### Defined in
162162

163-
[src/core/waapi.ts:22](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/core/waapi.ts#L22)
163+
[src/core/waapi.ts:22](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/core/waapi.ts#L22)
164164

165165
___
166166

@@ -180,7 +180,7 @@ A function to define keyframe dynamically
180180

181181
#### Defined in
182182

183-
[src/core/waapi.ts:31](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/core/waapi.ts#L31)
183+
[src/core/waapi.ts:31](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/core/waapi.ts#L31)
184184

185185
___
186186

@@ -190,7 +190,7 @@ ___
190190

191191
#### Defined in
192192

193-
[src/core/waapi.ts:4](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/core/waapi.ts#L4)
193+
[src/core/waapi.ts:4](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/core/waapi.ts#L4)
194194

195195
___
196196

@@ -206,7 +206,7 @@ ___
206206

207207
#### Defined in
208208

209-
[src/core/waapi.ts:74](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/core/waapi.ts#L74)
209+
[src/core/waapi.ts:74](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/core/waapi.ts#L74)
210210

211211
___
212212

@@ -216,7 +216,7 @@ ___
216216

217217
#### Defined in
218218

219-
[src/core/waapi.ts:145](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/core/waapi.ts#L145)
219+
[src/core/waapi.ts:145](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/core/waapi.ts#L145)
220220

221221
___
222222

@@ -232,7 +232,7 @@ ___
232232

233233
#### Defined in
234234

235-
[src/react/hooks/useAnimation.ts:28](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L28)
235+
[src/react/hooks/useAnimation.ts:29](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L29)
236236

237237
___
238238

@@ -244,7 +244,7 @@ Non nullable [ComputedEffectTiming](https://developer.mozilla.org/en-US/docs/Web
244244

245245
#### Defined in
246246

247-
[src/react/hooks/useAnimationFunction.ts:32](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimationFunction.ts#L32)
247+
[src/react/hooks/useAnimationFunction.ts:32](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimationFunction.ts#L32)
248248

249249
___
250250

@@ -265,7 +265,7 @@ In this callback you can update any state or ref in JS.
265265

266266
#### Defined in
267267

268-
[src/react/hooks/useAnimationFunction.ts:42](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimationFunction.ts#L42)
268+
[src/react/hooks/useAnimationFunction.ts:42](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimationFunction.ts#L42)
269269

270270
___
271271

@@ -275,4 +275,4 @@ ___
275275

276276
#### Defined in
277277

278-
[src/react/hooks/useTransitionAnimation.ts:27](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useTransitionAnimation.ts#L27)
278+
[src/react/hooks/useTransitionAnimation.ts:28](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useTransitionAnimation.ts#L28)

docs/interfaces/AnimationFunctionHandle.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ A wrapper of Web Animations API's [play](https://developer.mozilla.org/en-US/doc
5151

5252
#### Defined in
5353

54-
[src/react/hooks/useAnimation.ts:34](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L34)
54+
[src/react/hooks/useAnimation.ts:35](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L35)
5555

5656
___
5757

@@ -71,7 +71,7 @@ A wrapper of Web Animations API's [reverse](https://developer.mozilla.org/en-US/
7171

7272
#### Defined in
7373

74-
[src/react/hooks/useAnimation.ts:40](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L40)
74+
[src/react/hooks/useAnimation.ts:41](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L41)
7575

7676
___
7777

@@ -91,7 +91,7 @@ A wrapper of Web Animations API's [cancel](https://developer.mozilla.org/en-US/d
9191

9292
#### Defined in
9393

94-
[src/react/hooks/useAnimation.ts:44](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L44)
94+
[src/react/hooks/useAnimation.ts:45](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L45)
9595

9696
___
9797

@@ -111,7 +111,7 @@ A wrapper of Web Animations API's [finish](https://developer.mozilla.org/en-US/d
111111

112112
#### Defined in
113113

114-
[src/react/hooks/useAnimation.ts:48](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L48)
114+
[src/react/hooks/useAnimation.ts:49](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L49)
115115

116116
___
117117

@@ -131,7 +131,7 @@ A wrapper of Web Animations API's [pause](https://developer.mozilla.org/en-US/do
131131

132132
#### Defined in
133133

134-
[src/react/hooks/useAnimation.ts:52](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L52)
134+
[src/react/hooks/useAnimation.ts:53](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L53)
135135

136136
___
137137

@@ -159,7 +159,7 @@ If you pass function, you can get [endTime](https://developer.mozilla.org/en-US/
159159

160160
#### Defined in
161161

162-
[src/react/hooks/useAnimation.ts:58](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L58)
162+
[src/react/hooks/useAnimation.ts:59](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L59)
163163

164164
___
165165

@@ -187,7 +187,7 @@ If you pass function, you can get current [playbackRate](https://developer.mozil
187187

188188
#### Defined in
189189

190-
[src/react/hooks/useAnimation.ts:66](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L66)
190+
[src/react/hooks/useAnimation.ts:67](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L67)
191191

192192
___
193193

@@ -216,4 +216,4 @@ A getter of Promise that will be resolved in specified timing.
216216

217217
#### Defined in
218218

219-
[src/react/hooks/useAnimation.ts:75](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L75)
219+
[src/react/hooks/useAnimation.ts:76](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L76)

docs/interfaces/AnimationFunctionOptions.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Extended [options of KeyframeEffect](https://developer.mozilla.org/en-US/docs/We
3737

3838
#### Defined in
3939

40-
[src/core/waapi.ts:40](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/core/waapi.ts#L40)
40+
[src/core/waapi.ts:40](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/core/waapi.ts#L40)
4141

4242
___
4343

@@ -51,7 +51,7 @@ ___
5151

5252
#### Defined in
5353

54-
node_modules/typescript/lib/lib.dom.d.ts:430
54+
node_modules/typescript/lib/lib.dom.d.ts:449
5555

5656
___
5757

@@ -65,7 +65,7 @@ ___
6565

6666
#### Defined in
6767

68-
node_modules/typescript/lib/lib.dom.d.ts:426
68+
node_modules/typescript/lib/lib.dom.d.ts:445
6969

7070
___
7171

@@ -79,7 +79,7 @@ ___
7979

8080
#### Defined in
8181

82-
node_modules/typescript/lib/lib.dom.d.ts:715
82+
node_modules/typescript/lib/lib.dom.d.ts:757
8383

8484
___
8585

@@ -93,7 +93,7 @@ ___
9393

9494
#### Defined in
9595

96-
node_modules/typescript/lib/lib.dom.d.ts:716
96+
node_modules/typescript/lib/lib.dom.d.ts:758
9797

9898
___
9999

@@ -107,7 +107,7 @@ ___
107107

108108
#### Defined in
109109

110-
node_modules/typescript/lib/lib.dom.d.ts:717
110+
node_modules/typescript/lib/lib.dom.d.ts:759
111111

112112
___
113113

@@ -121,21 +121,21 @@ ___
121121

122122
#### Defined in
123123

124-
node_modules/typescript/lib/lib.dom.d.ts:425
124+
node_modules/typescript/lib/lib.dom.d.ts:444
125125

126126
___
127127

128128
### duration
129129

130-
`Optional` **duration**: `string` \| `number`
130+
`Optional` **duration**: `string` \| `number` \| `CSSNumericValue`
131131

132132
#### Inherited from
133133

134134
[TypedKeyframeEffectOptions](TypedKeyframeEffectOptions.md).[duration](TypedKeyframeEffectOptions.md#duration)
135135

136136
#### Defined in
137137

138-
node_modules/typescript/lib/lib.dom.d.ts:427
138+
node_modules/typescript/lib/lib.dom.d.ts:446
139139

140140
___
141141

@@ -149,7 +149,7 @@ ___
149149

150150
#### Defined in
151151

152-
node_modules/typescript/lib/lib.dom.d.ts:429
152+
node_modules/typescript/lib/lib.dom.d.ts:448
153153

154154
___
155155

@@ -163,7 +163,7 @@ ___
163163

164164
#### Defined in
165165

166-
node_modules/typescript/lib/lib.dom.d.ts:431
166+
node_modules/typescript/lib/lib.dom.d.ts:450
167167

168168
___
169169

@@ -177,7 +177,7 @@ ___
177177

178178
#### Defined in
179179

180-
node_modules/typescript/lib/lib.dom.d.ts:432
180+
node_modules/typescript/lib/lib.dom.d.ts:451
181181

182182
___
183183

@@ -191,4 +191,4 @@ ___
191191

192192
#### Defined in
193193

194-
node_modules/typescript/lib/lib.dom.d.ts:433
194+
node_modules/typescript/lib/lib.dom.d.ts:452

docs/interfaces/AnimationHandle.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You have to pass this callback to ref of element you want to control.
3434

3535
#### Defined in
3636

37-
[src/react/hooks/useAnimation.ts:87](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L87)
37+
[src/react/hooks/useAnimation.ts:88](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L88)
3838

3939
## Table of contents
4040

@@ -73,7 +73,7 @@ A wrapper of Web Animations API's [play](https://developer.mozilla.org/en-US/doc
7373

7474
#### Defined in
7575

76-
[src/react/hooks/useAnimation.ts:34](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L34)
76+
[src/react/hooks/useAnimation.ts:35](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L35)
7777

7878
___
7979

@@ -93,7 +93,7 @@ A wrapper of Web Animations API's [reverse](https://developer.mozilla.org/en-US/
9393

9494
#### Defined in
9595

96-
[src/react/hooks/useAnimation.ts:40](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L40)
96+
[src/react/hooks/useAnimation.ts:41](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L41)
9797

9898
___
9999

@@ -113,7 +113,7 @@ A wrapper of Web Animations API's [cancel](https://developer.mozilla.org/en-US/d
113113

114114
#### Defined in
115115

116-
[src/react/hooks/useAnimation.ts:44](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L44)
116+
[src/react/hooks/useAnimation.ts:45](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L45)
117117

118118
___
119119

@@ -133,7 +133,7 @@ A wrapper of Web Animations API's [finish](https://developer.mozilla.org/en-US/d
133133

134134
#### Defined in
135135

136-
[src/react/hooks/useAnimation.ts:48](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L48)
136+
[src/react/hooks/useAnimation.ts:49](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L49)
137137

138138
___
139139

@@ -153,7 +153,7 @@ A wrapper of Web Animations API's [pause](https://developer.mozilla.org/en-US/do
153153

154154
#### Defined in
155155

156-
[src/react/hooks/useAnimation.ts:52](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L52)
156+
[src/react/hooks/useAnimation.ts:53](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L53)
157157

158158
___
159159

@@ -181,7 +181,7 @@ If you pass function, you can get [endTime](https://developer.mozilla.org/en-US/
181181

182182
#### Defined in
183183

184-
[src/react/hooks/useAnimation.ts:58](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L58)
184+
[src/react/hooks/useAnimation.ts:59](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L59)
185185

186186
___
187187

@@ -209,7 +209,7 @@ If you pass function, you can get current [playbackRate](https://developer.mozil
209209

210210
#### Defined in
211211

212-
[src/react/hooks/useAnimation.ts:66](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L66)
212+
[src/react/hooks/useAnimation.ts:67](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L67)
213213

214214
___
215215

@@ -238,4 +238,4 @@ A getter of Promise that will be resolved in specified timing.
238238

239239
#### Defined in
240240

241-
[src/react/hooks/useAnimation.ts:75](https://github.com/inokawa/react-animatable/blob/90fdc5a/src/react/hooks/useAnimation.ts#L75)
241+
[src/react/hooks/useAnimation.ts:76](https://github.com/inokawa/react-animatable/blob/23c2c4a/src/react/hooks/useAnimation.ts#L76)

0 commit comments

Comments
 (0)