chnobli 0.1.7 → 0.1.9

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.
Files changed (225) hide show
  1. package/package.json +24 -11
  2. package/src/animation/Animation.ts +10 -6
  3. package/src/animation/public.ts +47 -10
  4. package/src/chnobli.ts +20 -11
  5. package/src/property/BasicProperty.ts +3 -3
  6. package/src/property/ClassProperty.ts +2 -2
  7. package/src/property/Property.ts +7 -5
  8. package/src/property/StyleProperty.ts +7 -7
  9. package/src/property/TransformProperty.ts +4 -4
  10. package/src/property/TransformXYProperty.ts +3 -3
  11. package/src/responsive/TestEvent.ts +1 -1
  12. package/src/scroll/Scroll.ts +174 -90
  13. package/src/scroll/index.ts +8 -0
  14. package/src/scroll/public.ts +23 -12
  15. package/src/stagger/stagger.ts +34 -14
  16. package/src/target/BaseTarget.old.ts +2 -2
  17. package/src/target/DomTarget.ts +3 -3
  18. package/src/target/ObjectTarget.ts +124 -0
  19. package/src/target/Target.ts +16 -3
  20. package/src/tests/properties.test.ts +54 -4
  21. package/src/tests/timeline.test.ts +3 -3
  22. package/src/tests/timing.test.ts +1 -1
  23. package/src/tests/usecases.test.ts +5 -5
  24. package/src/tests/values.test.ts +4 -4
  25. package/src/timeline/Nested.ts +7 -7
  26. package/src/timeline/{TimeLine.ts → Timeline.ts} +29 -9
  27. package/src/timeline/public.ts +198 -58
  28. package/src/timing/AnimationFrameTicker.ts +2 -2
  29. package/src/timing/TestTicker.ts +2 -2
  30. package/src/timing/Ticker.ts +1 -1
  31. package/src/timing/Timing.ts +38 -4
  32. package/src/utils/internal.ts +6 -3
  33. package/src/utils/utils.ts +18 -9
  34. package/src/values/ColorValue.ts +1 -1
  35. package/src/values/StyleValue.ts +15 -3
  36. package/tsconfig.build.json +2 -2
  37. package/tsconfig.json +2 -3
  38. package/.editorconfig +0 -11
  39. package/.github/workflows/ci.yaml +0 -34
  40. package/.prettierignore +0 -4
  41. package/.prettierrc +0 -6
  42. package/.vscode/settings.json +0 -4
  43. package/LICENSE.md +0 -21
  44. package/README.md +0 -5
  45. package/auto-docs/easing.js.html +0 -342
  46. package/auto-docs/fonts/OpenSans-Bold-webfont.eot +0 -0
  47. package/auto-docs/fonts/OpenSans-Bold-webfont.svg +0 -1830
  48. package/auto-docs/fonts/OpenSans-Bold-webfont.woff +0 -0
  49. package/auto-docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  50. package/auto-docs/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  51. package/auto-docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  52. package/auto-docs/fonts/OpenSans-Italic-webfont.eot +0 -0
  53. package/auto-docs/fonts/OpenSans-Italic-webfont.svg +0 -1830
  54. package/auto-docs/fonts/OpenSans-Italic-webfont.woff +0 -0
  55. package/auto-docs/fonts/OpenSans-Light-webfont.eot +0 -0
  56. package/auto-docs/fonts/OpenSans-Light-webfont.svg +0 -1831
  57. package/auto-docs/fonts/OpenSans-Light-webfont.woff +0 -0
  58. package/auto-docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  59. package/auto-docs/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  60. package/auto-docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  61. package/auto-docs/fonts/OpenSans-Regular-webfont.eot +0 -0
  62. package/auto-docs/fonts/OpenSans-Regular-webfont.svg +0 -1831
  63. package/auto-docs/fonts/OpenSans-Regular-webfont.woff +0 -0
  64. package/auto-docs/global.html +0 -4810
  65. package/auto-docs/index.html +0 -65
  66. package/auto-docs/scripts/linenumber.js +0 -25
  67. package/auto-docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  68. package/auto-docs/scripts/prettify/lang-css.js +0 -2
  69. package/auto-docs/scripts/prettify/prettify.js +0 -28
  70. package/auto-docs/styles/jsdoc-default.css +0 -358
  71. package/auto-docs/styles/prettify-jsdoc.css +0 -111
  72. package/auto-docs/styles/prettify-tomorrow.css +0 -132
  73. package/dist/animation/Animation.d.ts +0 -36
  74. package/dist/animation/Animation.d.ts.map +0 -1
  75. package/dist/animation/Animation.js +0 -230
  76. package/dist/animation/Animation.js.map +0 -1
  77. package/dist/animation/animation.d.ts +0 -36
  78. package/dist/animation/animation.d.ts.map +0 -1
  79. package/dist/animation/animation.js +0 -230
  80. package/dist/animation/animation.js.map +0 -1
  81. package/dist/animation/public.d.ts +0 -55
  82. package/dist/animation/public.d.ts.map +0 -1
  83. package/dist/animation/public.js +0 -104
  84. package/dist/animation/public.js.map +0 -1
  85. package/dist/chnobli.d.ts +0 -15
  86. package/dist/chnobli.d.ts.map +0 -1
  87. package/dist/chnobli.js +0 -63
  88. package/dist/chnobli.js.map +0 -1
  89. package/dist/property/BasicProperty.d.ts +0 -38
  90. package/dist/property/BasicProperty.d.ts.map +0 -1
  91. package/dist/property/BasicProperty.js +0 -72
  92. package/dist/property/BasicProperty.js.map +0 -1
  93. package/dist/property/ClassProperty.d.ts +0 -32
  94. package/dist/property/ClassProperty.d.ts.map +0 -1
  95. package/dist/property/ClassProperty.js +0 -108
  96. package/dist/property/ClassProperty.js.map +0 -1
  97. package/dist/property/Property.d.ts +0 -13
  98. package/dist/property/Property.d.ts.map +0 -1
  99. package/dist/property/Property.js +0 -20
  100. package/dist/property/Property.js.map +0 -1
  101. package/dist/property/StyleProperty.d.ts +0 -25
  102. package/dist/property/StyleProperty.d.ts.map +0 -1
  103. package/dist/property/StyleProperty.js +0 -221
  104. package/dist/property/StyleProperty.js.map +0 -1
  105. package/dist/property/TransformProperty.d.ts +0 -15
  106. package/dist/property/TransformProperty.d.ts.map +0 -1
  107. package/dist/property/TransformProperty.js +0 -43
  108. package/dist/property/TransformProperty.js.map +0 -1
  109. package/dist/property/TransformXYProperty.d.ts +0 -28
  110. package/dist/property/TransformXYProperty.d.ts.map +0 -1
  111. package/dist/property/TransformXYProperty.js +0 -65
  112. package/dist/property/TransformXYProperty.js.map +0 -1
  113. package/dist/responsive/ResponsiveEvent.d.ts +0 -17
  114. package/dist/responsive/ResponsiveEvent.d.ts.map +0 -1
  115. package/dist/responsive/ResponsiveEvent.js +0 -45
  116. package/dist/responsive/ResponsiveEvent.js.map +0 -1
  117. package/dist/responsive/TestEvent.d.ts +0 -11
  118. package/dist/responsive/TestEvent.d.ts.map +0 -1
  119. package/dist/responsive/TestEvent.js +0 -26
  120. package/dist/responsive/TestEvent.js.map +0 -1
  121. package/dist/responsive/event.d.ts +0 -10
  122. package/dist/responsive/event.d.ts.map +0 -1
  123. package/dist/responsive/event.js +0 -39
  124. package/dist/responsive/event.js.map +0 -1
  125. package/dist/scroll/Scroll.d.ts +0 -27
  126. package/dist/scroll/Scroll.d.ts.map +0 -1
  127. package/dist/scroll/Scroll.js +0 -132
  128. package/dist/scroll/Scroll.js.map +0 -1
  129. package/dist/scroll/ScrollEvent.d.ts +0 -17
  130. package/dist/scroll/ScrollEvent.d.ts.map +0 -1
  131. package/dist/scroll/ScrollEvent.js +0 -39
  132. package/dist/scroll/ScrollEvent.js.map +0 -1
  133. package/dist/scroll/public.d.ts +0 -7
  134. package/dist/scroll/public.d.ts.map +0 -1
  135. package/dist/scroll/public.js +0 -17
  136. package/dist/scroll/public.js.map +0 -1
  137. package/dist/stagger/stagger.d.ts +0 -13
  138. package/dist/stagger/stagger.d.ts.map +0 -1
  139. package/dist/stagger/stagger.js +0 -35
  140. package/dist/stagger/stagger.js.map +0 -1
  141. package/dist/target/BaseTarget.old.d.ts +0 -33
  142. package/dist/target/BaseTarget.old.d.ts.map +0 -1
  143. package/dist/target/BaseTarget.old.js +0 -73
  144. package/dist/target/BaseTarget.old.js.map +0 -1
  145. package/dist/target/DomTarget.d.ts +0 -41
  146. package/dist/target/DomTarget.d.ts.map +0 -1
  147. package/dist/target/DomTarget.js +0 -230
  148. package/dist/target/DomTarget.js.map +0 -1
  149. package/dist/target/Target.d.ts +0 -22
  150. package/dist/target/Target.d.ts.map +0 -1
  151. package/dist/target/Target.js +0 -21
  152. package/dist/target/Target.js.map +0 -1
  153. package/dist/target/TestDomNode.d.ts +0 -14
  154. package/dist/target/TestDomNode.d.ts.map +0 -1
  155. package/dist/target/TestDomNode.js +0 -55
  156. package/dist/target/TestDomNode.js.map +0 -1
  157. package/dist/timeline/Nested.d.ts +0 -30
  158. package/dist/timeline/Nested.d.ts.map +0 -1
  159. package/dist/timeline/Nested.js +0 -51
  160. package/dist/timeline/Nested.js.map +0 -1
  161. package/dist/timeline/TimeLine.d.ts +0 -32
  162. package/dist/timeline/TimeLine.d.ts.map +0 -1
  163. package/dist/timeline/TimeLine.js +0 -288
  164. package/dist/timeline/TimeLine.js.map +0 -1
  165. package/dist/timeline/public.d.ts +0 -120
  166. package/dist/timeline/public.d.ts.map +0 -1
  167. package/dist/timeline/public.js +0 -301
  168. package/dist/timeline/public.js.map +0 -1
  169. package/dist/timing/AnimationFrameTicker.d.ts +0 -32
  170. package/dist/timing/AnimationFrameTicker.d.ts.map +0 -1
  171. package/dist/timing/AnimationFrameTicker.js +0 -134
  172. package/dist/timing/AnimationFrameTicker.js.map +0 -1
  173. package/dist/timing/Ease.d.ts +0 -6
  174. package/dist/timing/Ease.d.ts.map +0 -1
  175. package/dist/timing/Ease.js +0 -15
  176. package/dist/timing/Ease.js.map +0 -1
  177. package/dist/timing/TestTicker.d.ts +0 -19
  178. package/dist/timing/TestTicker.d.ts.map +0 -1
  179. package/dist/timing/TestTicker.js +0 -81
  180. package/dist/timing/TestTicker.js.map +0 -1
  181. package/dist/timing/Ticker.d.ts +0 -14
  182. package/dist/timing/Ticker.d.ts.map +0 -1
  183. package/dist/timing/Ticker.js +0 -2
  184. package/dist/timing/Ticker.js.map +0 -1
  185. package/dist/timing/Timing.d.ts +0 -62
  186. package/dist/timing/Timing.d.ts.map +0 -1
  187. package/dist/timing/Timing.js +0 -257
  188. package/dist/timing/Timing.js.map +0 -1
  189. package/dist/timing/easing.d.ts +0 -158
  190. package/dist/timing/easing.d.ts.map +0 -1
  191. package/dist/timing/easing.js +0 -273
  192. package/dist/timing/easing.js.map +0 -1
  193. package/dist/utils/Events.d.ts +0 -9
  194. package/dist/utils/Events.d.ts.map +0 -1
  195. package/dist/utils/Events.js +0 -35
  196. package/dist/utils/Events.js.map +0 -1
  197. package/dist/utils/internal.d.ts +0 -2
  198. package/dist/utils/internal.d.ts.map +0 -1
  199. package/dist/utils/internal.js +0 -6
  200. package/dist/utils/internal.js.map +0 -1
  201. package/dist/utils/motionpath.d.ts +0 -16
  202. package/dist/utils/motionpath.d.ts.map +0 -1
  203. package/dist/utils/motionpath.js +0 -41
  204. package/dist/utils/motionpath.js.map +0 -1
  205. package/dist/utils/utils.d.ts +0 -43
  206. package/dist/utils/utils.d.ts.map +0 -1
  207. package/dist/utils/utils.js +0 -93
  208. package/dist/utils/utils.js.map +0 -1
  209. package/dist/values/ColorValue.d.ts +0 -12
  210. package/dist/values/ColorValue.d.ts.map +0 -1
  211. package/dist/values/ColorValue.js +0 -133
  212. package/dist/values/ColorValue.js.map +0 -1
  213. package/dist/values/StyleValue.d.ts +0 -40
  214. package/dist/values/StyleValue.d.ts.map +0 -1
  215. package/dist/values/StyleValue.js +0 -149
  216. package/dist/values/StyleValue.js.map +0 -1
  217. package/dist/values/Value.d.ts +0 -13
  218. package/dist/values/Value.d.ts.map +0 -1
  219. package/dist/values/Value.js +0 -38
  220. package/dist/values/Value.js.map +0 -1
  221. package/dist/values/defaultcolors.d.ts +0 -2
  222. package/dist/values/defaultcolors.d.ts.map +0 -1
  223. package/dist/values/defaultcolors.js +0 -149
  224. package/dist/values/defaultcolors.js.map +0 -1
  225. package/docs/INDEX.md +0 -15
@@ -1,358 +0,0 @@
1
- @font-face {
2
- font-family: 'Open Sans';
3
- font-weight: normal;
4
- font-style: normal;
5
- src: url('../fonts/OpenSans-Regular-webfont.eot');
6
- src:
7
- local('Open Sans'),
8
- local('OpenSans'),
9
- url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
10
- url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
11
- url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
12
- }
13
-
14
- @font-face {
15
- font-family: 'Open Sans Light';
16
- font-weight: normal;
17
- font-style: normal;
18
- src: url('../fonts/OpenSans-Light-webfont.eot');
19
- src:
20
- local('Open Sans Light'),
21
- local('OpenSans Light'),
22
- url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
23
- url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
24
- url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
25
- }
26
-
27
- html
28
- {
29
- overflow: auto;
30
- background-color: #fff;
31
- font-size: 14px;
32
- }
33
-
34
- body
35
- {
36
- font-family: 'Open Sans', sans-serif;
37
- line-height: 1.5;
38
- color: #4d4e53;
39
- background-color: white;
40
- }
41
-
42
- a, a:visited, a:active {
43
- color: #0095dd;
44
- text-decoration: none;
45
- }
46
-
47
- a:hover {
48
- text-decoration: underline;
49
- }
50
-
51
- header
52
- {
53
- display: block;
54
- padding: 0px 4px;
55
- }
56
-
57
- tt, code, kbd, samp {
58
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
59
- }
60
-
61
- .class-description {
62
- font-size: 130%;
63
- line-height: 140%;
64
- margin-bottom: 1em;
65
- margin-top: 1em;
66
- }
67
-
68
- .class-description:empty {
69
- margin: 0;
70
- }
71
-
72
- #main {
73
- float: left;
74
- width: 70%;
75
- }
76
-
77
- article dl {
78
- margin-bottom: 40px;
79
- }
80
-
81
- article img {
82
- max-width: 100%;
83
- }
84
-
85
- section
86
- {
87
- display: block;
88
- background-color: #fff;
89
- padding: 12px 24px;
90
- border-bottom: 1px solid #ccc;
91
- margin-right: 30px;
92
- }
93
-
94
- .variation {
95
- display: none;
96
- }
97
-
98
- .signature-attributes {
99
- font-size: 60%;
100
- color: #aaa;
101
- font-style: italic;
102
- font-weight: lighter;
103
- }
104
-
105
- nav
106
- {
107
- display: block;
108
- float: right;
109
- margin-top: 28px;
110
- width: 30%;
111
- box-sizing: border-box;
112
- border-left: 1px solid #ccc;
113
- padding-left: 16px;
114
- }
115
-
116
- nav ul {
117
- font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
118
- font-size: 100%;
119
- line-height: 17px;
120
- padding: 0;
121
- margin: 0;
122
- list-style-type: none;
123
- }
124
-
125
- nav ul a, nav ul a:visited, nav ul a:active {
126
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
127
- line-height: 18px;
128
- color: #4D4E53;
129
- }
130
-
131
- nav h3 {
132
- margin-top: 12px;
133
- }
134
-
135
- nav li {
136
- margin-top: 6px;
137
- }
138
-
139
- footer {
140
- display: block;
141
- padding: 6px;
142
- margin-top: 12px;
143
- font-style: italic;
144
- font-size: 90%;
145
- }
146
-
147
- h1, h2, h3, h4 {
148
- font-weight: 200;
149
- margin: 0;
150
- }
151
-
152
- h1
153
- {
154
- font-family: 'Open Sans Light', sans-serif;
155
- font-size: 48px;
156
- letter-spacing: -2px;
157
- margin: 12px 24px 20px;
158
- }
159
-
160
- h2, h3.subsection-title
161
- {
162
- font-size: 30px;
163
- font-weight: 700;
164
- letter-spacing: -1px;
165
- margin-bottom: 12px;
166
- }
167
-
168
- h3
169
- {
170
- font-size: 24px;
171
- letter-spacing: -0.5px;
172
- margin-bottom: 12px;
173
- }
174
-
175
- h4
176
- {
177
- font-size: 18px;
178
- letter-spacing: -0.33px;
179
- margin-bottom: 12px;
180
- color: #4d4e53;
181
- }
182
-
183
- h5, .container-overview .subsection-title
184
- {
185
- font-size: 120%;
186
- font-weight: bold;
187
- letter-spacing: -0.01em;
188
- margin: 8px 0 3px 0;
189
- }
190
-
191
- h6
192
- {
193
- font-size: 100%;
194
- letter-spacing: -0.01em;
195
- margin: 6px 0 3px 0;
196
- font-style: italic;
197
- }
198
-
199
- table
200
- {
201
- border-spacing: 0;
202
- border: 0;
203
- border-collapse: collapse;
204
- }
205
-
206
- td, th
207
- {
208
- border: 1px solid #ddd;
209
- margin: 0px;
210
- text-align: left;
211
- vertical-align: top;
212
- padding: 4px 6px;
213
- display: table-cell;
214
- }
215
-
216
- thead tr
217
- {
218
- background-color: #ddd;
219
- font-weight: bold;
220
- }
221
-
222
- th { border-right: 1px solid #aaa; }
223
- tr > th:last-child { border-right: 1px solid #ddd; }
224
-
225
- .ancestors, .attribs { color: #999; }
226
- .ancestors a, .attribs a
227
- {
228
- color: #999 !important;
229
- text-decoration: none;
230
- }
231
-
232
- .clear
233
- {
234
- clear: both;
235
- }
236
-
237
- .important
238
- {
239
- font-weight: bold;
240
- color: #950B02;
241
- }
242
-
243
- .yes-def {
244
- text-indent: -1000px;
245
- }
246
-
247
- .type-signature {
248
- color: #aaa;
249
- }
250
-
251
- .name, .signature {
252
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
253
- }
254
-
255
- .details { margin-top: 14px; border-left: 2px solid #DDD; }
256
- .details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; }
257
- .details dd { margin-left: 70px; }
258
- .details ul { margin: 0; }
259
- .details ul { list-style-type: none; }
260
- .details li { margin-left: 30px; padding-top: 6px; }
261
- .details pre.prettyprint { margin: 0 }
262
- .details .object-value { padding-top: 0; }
263
-
264
- .description {
265
- margin-bottom: 1em;
266
- margin-top: 1em;
267
- }
268
-
269
- .code-caption
270
- {
271
- font-style: italic;
272
- font-size: 107%;
273
- margin: 0;
274
- }
275
-
276
- .source
277
- {
278
- border: 1px solid #ddd;
279
- width: 80%;
280
- overflow: auto;
281
- }
282
-
283
- .prettyprint.source {
284
- width: inherit;
285
- }
286
-
287
- .source code
288
- {
289
- font-size: 100%;
290
- line-height: 18px;
291
- display: block;
292
- padding: 4px 12px;
293
- margin: 0;
294
- background-color: #fff;
295
- color: #4D4E53;
296
- }
297
-
298
- .prettyprint code span.line
299
- {
300
- display: inline-block;
301
- }
302
-
303
- .prettyprint.linenums
304
- {
305
- padding-left: 70px;
306
- -webkit-user-select: none;
307
- -moz-user-select: none;
308
- -ms-user-select: none;
309
- user-select: none;
310
- }
311
-
312
- .prettyprint.linenums ol
313
- {
314
- padding-left: 0;
315
- }
316
-
317
- .prettyprint.linenums li
318
- {
319
- border-left: 3px #ddd solid;
320
- }
321
-
322
- .prettyprint.linenums li.selected,
323
- .prettyprint.linenums li.selected *
324
- {
325
- background-color: lightyellow;
326
- }
327
-
328
- .prettyprint.linenums li *
329
- {
330
- -webkit-user-select: text;
331
- -moz-user-select: text;
332
- -ms-user-select: text;
333
- user-select: text;
334
- }
335
-
336
- .params .name, .props .name, .name code {
337
- color: #4D4E53;
338
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
339
- font-size: 100%;
340
- }
341
-
342
- .params td.description > p:first-child,
343
- .props td.description > p:first-child
344
- {
345
- margin-top: 0;
346
- padding-top: 0;
347
- }
348
-
349
- .params td.description > p:last-child,
350
- .props td.description > p:last-child
351
- {
352
- margin-bottom: 0;
353
- padding-bottom: 0;
354
- }
355
-
356
- .disabled {
357
- color: #454545;
358
- }
@@ -1,111 +0,0 @@
1
- /* JSDoc prettify.js theme */
2
-
3
- /* plain text */
4
- .pln {
5
- color: #000000;
6
- font-weight: normal;
7
- font-style: normal;
8
- }
9
-
10
- /* string content */
11
- .str {
12
- color: #006400;
13
- font-weight: normal;
14
- font-style: normal;
15
- }
16
-
17
- /* a keyword */
18
- .kwd {
19
- color: #000000;
20
- font-weight: bold;
21
- font-style: normal;
22
- }
23
-
24
- /* a comment */
25
- .com {
26
- font-weight: normal;
27
- font-style: italic;
28
- }
29
-
30
- /* a type name */
31
- .typ {
32
- color: #000000;
33
- font-weight: normal;
34
- font-style: normal;
35
- }
36
-
37
- /* a literal value */
38
- .lit {
39
- color: #006400;
40
- font-weight: normal;
41
- font-style: normal;
42
- }
43
-
44
- /* punctuation */
45
- .pun {
46
- color: #000000;
47
- font-weight: bold;
48
- font-style: normal;
49
- }
50
-
51
- /* lisp open bracket */
52
- .opn {
53
- color: #000000;
54
- font-weight: bold;
55
- font-style: normal;
56
- }
57
-
58
- /* lisp close bracket */
59
- .clo {
60
- color: #000000;
61
- font-weight: bold;
62
- font-style: normal;
63
- }
64
-
65
- /* a markup tag name */
66
- .tag {
67
- color: #006400;
68
- font-weight: normal;
69
- font-style: normal;
70
- }
71
-
72
- /* a markup attribute name */
73
- .atn {
74
- color: #006400;
75
- font-weight: normal;
76
- font-style: normal;
77
- }
78
-
79
- /* a markup attribute value */
80
- .atv {
81
- color: #006400;
82
- font-weight: normal;
83
- font-style: normal;
84
- }
85
-
86
- /* a declaration */
87
- .dec {
88
- color: #000000;
89
- font-weight: bold;
90
- font-style: normal;
91
- }
92
-
93
- /* a variable name */
94
- .var {
95
- color: #000000;
96
- font-weight: normal;
97
- font-style: normal;
98
- }
99
-
100
- /* a function name */
101
- .fun {
102
- color: #000000;
103
- font-weight: bold;
104
- font-style: normal;
105
- }
106
-
107
- /* Specify class=linenums on a pre to get line numbering */
108
- ol.linenums {
109
- margin-top: 0;
110
- margin-bottom: 0;
111
- }
@@ -1,132 +0,0 @@
1
- /* Tomorrow Theme */
2
- /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
- /* Pretty printing styles. Used with prettify.js. */
4
- /* SPAN elements with the classes below are added by prettyprint. */
5
- /* plain text */
6
- .pln {
7
- color: #4d4d4c; }
8
-
9
- @media screen {
10
- /* string content */
11
- .str {
12
- color: #718c00; }
13
-
14
- /* a keyword */
15
- .kwd {
16
- color: #8959a8; }
17
-
18
- /* a comment */
19
- .com {
20
- color: #8e908c; }
21
-
22
- /* a type name */
23
- .typ {
24
- color: #4271ae; }
25
-
26
- /* a literal value */
27
- .lit {
28
- color: #f5871f; }
29
-
30
- /* punctuation */
31
- .pun {
32
- color: #4d4d4c; }
33
-
34
- /* lisp open bracket */
35
- .opn {
36
- color: #4d4d4c; }
37
-
38
- /* lisp close bracket */
39
- .clo {
40
- color: #4d4d4c; }
41
-
42
- /* a markup tag name */
43
- .tag {
44
- color: #c82829; }
45
-
46
- /* a markup attribute name */
47
- .atn {
48
- color: #f5871f; }
49
-
50
- /* a markup attribute value */
51
- .atv {
52
- color: #3e999f; }
53
-
54
- /* a declaration */
55
- .dec {
56
- color: #f5871f; }
57
-
58
- /* a variable name */
59
- .var {
60
- color: #c82829; }
61
-
62
- /* a function name */
63
- .fun {
64
- color: #4271ae; } }
65
- /* Use higher contrast and text-weight for printable form. */
66
- @media print, projection {
67
- .str {
68
- color: #060; }
69
-
70
- .kwd {
71
- color: #006;
72
- font-weight: bold; }
73
-
74
- .com {
75
- color: #600;
76
- font-style: italic; }
77
-
78
- .typ {
79
- color: #404;
80
- font-weight: bold; }
81
-
82
- .lit {
83
- color: #044; }
84
-
85
- .pun, .opn, .clo {
86
- color: #440; }
87
-
88
- .tag {
89
- color: #006;
90
- font-weight: bold; }
91
-
92
- .atn {
93
- color: #404; }
94
-
95
- .atv {
96
- color: #060; } }
97
- /* Style */
98
- /*
99
- pre.prettyprint {
100
- background: white;
101
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
102
- font-size: 12px;
103
- line-height: 1.5;
104
- border: 1px solid #ccc;
105
- padding: 10px; }
106
- */
107
-
108
- /* Specify class=linenums on a pre to get line numbering */
109
- ol.linenums {
110
- margin-top: 0;
111
- margin-bottom: 0; }
112
-
113
- /* IE indents via margin-left */
114
- li.L0,
115
- li.L1,
116
- li.L2,
117
- li.L3,
118
- li.L4,
119
- li.L5,
120
- li.L6,
121
- li.L7,
122
- li.L8,
123
- li.L9 {
124
- /* */ }
125
-
126
- /* Alternate shading for lines */
127
- li.L1,
128
- li.L3,
129
- li.L5,
130
- li.L7,
131
- li.L9 {
132
- /* */ }
@@ -1,36 +0,0 @@
1
- import Timing from '../timing/Timing';
2
- import Property from '../property/Property';
3
- import Ticker from '../timing/Ticker';
4
- import { Target } from '../target/Target';
5
- export default class Animation {
6
- timing: Timing;
7
- target: Target;
8
- props: Record<string, PropertyAnimation<any>>;
9
- private _ticker;
10
- private _prevTimingState;
11
- private _props;
12
- private _initialized;
13
- constructor(target: any, ticker: Ticker, props?: Record<string, any>);
14
- advance(change: number): void;
15
- seekMs(ms: number): void;
16
- seek(pos: number): void;
17
- isFinite(): boolean;
18
- get duration(): number;
19
- init(reset?: boolean): void;
20
- render(): void;
21
- destroy(): void;
22
- }
23
- declare class PropertyAnimation<V> {
24
- prop: Property<V>;
25
- private staticValueFn;
26
- private valueFn;
27
- private iniResponsive;
28
- private iniFrom;
29
- private iniTo;
30
- constructor(prop: string, value: any, animation: Animation);
31
- init(target: Target): void;
32
- restoreBefore(target: Target): void;
33
- render(pos: number, target: Target): void;
34
- }
35
- export {};
36
- //# sourceMappingURL=Animation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Animation.d.ts","sourceRoot":"","sources":["../../src/animation/Animation.ts"],"names":[],"mappings":"AAAA,OAAO,MAAgD,MAAM,kBAAkB,CAAC;AAEhF,OAAO,QAAyC,MAAM,sBAAsB,CAAC;AAC7E,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,SAAS;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;IAE9C,OAAO,CAAC,OAAO,CAAS;IAExB,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,MAAM,CAA2B;IACzC,OAAO,CAAC,YAAY,CAAU;gBAKlB,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM;IAiBxE,OAAO,CAAC,MAAM,EAAE,MAAM;IAKtB,MAAM,CAAC,EAAE,EAAE,MAAM;IAKjB,IAAI,CAAC,GAAG,EAAE,MAAM;IAKhB,QAAQ,IAAI,OAAO;IAInB,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,CAAC,KAAK,UAAQ;IASlB,MAAM;IAwBN,OAAO;CAOP;AAOD,cAAM,iBAAiB,CAAC,CAAC;IACxB,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElB,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,OAAO,CAA2C;IAE1D,OAAO,CAAC,aAAa,CAAM;IAC3B,OAAO,CAAC,OAAO,CAAW;IAC1B,OAAO,CAAC,KAAK,CAAW;gBAEZ,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS;IAoC1D,IAAI,CAAC,MAAM,EAAE,MAAM;IAkDnB,aAAa,CAAC,MAAM,EAAE,MAAM;IAK5B,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAQlC"}