vevet 1.4.27 → 2.0.1-dev.3

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 (360) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +7 -71
  3. package/build/cdn/index.js +12 -0
  4. package/build/cdn/index.js.LICENSE.txt +14 -0
  5. package/build/cjs/app/Application.js +297 -0
  6. package/build/cjs/app/events/PageLoad.js +74 -0
  7. package/build/cjs/app/events/Viewport.js +303 -0
  8. package/build/cjs/base/Callbacks.js +232 -0
  9. package/build/cjs/base/Component.js +56 -0
  10. package/build/cjs/base/Module.js +262 -0
  11. package/build/cjs/base/MutableProp.js +165 -0
  12. package/build/cjs/base/Plugin.js +56 -0
  13. package/build/cjs/components/animation-frame/AnimationFrame.js +183 -0
  14. package/build/cjs/components/canvas/Ctx2D.js +200 -0
  15. package/build/cjs/components/canvas/Ctx2DPrerender.js +72 -0
  16. package/build/cjs/components/cursor/CustomCursor.js +344 -0
  17. package/build/cjs/components/dragger/Dragger.js +229 -0
  18. package/build/cjs/components/dragger/DraggerDirection.js +77 -0
  19. package/build/cjs/components/dragger/DraggerMove.js +84 -0
  20. package/build/cjs/components/loading/Preloader.js +229 -0
  21. package/build/cjs/components/loading/ProgressPreloader.js +377 -0
  22. package/build/cjs/components/page/Page.js +353 -0
  23. package/build/cjs/components/scroll/custom-scroll/CustomScroll.js +517 -0
  24. package/build/cjs/components/scroll/plugins/SmoothScrollDragPlugin.js +178 -0
  25. package/build/cjs/components/scroll/plugins/SmoothScrollKeyboardPlugin.js +138 -0
  26. package/build/cjs/components/scroll/scrollable/ScrollEventsBase.js +133 -0
  27. package/build/cjs/components/scroll/scrollable/ScrollView.js +315 -0
  28. package/build/cjs/components/scroll/scrollbar/Bar.js +315 -0
  29. package/build/cjs/components/scroll/scrollbar/ScrollBar.js +206 -0
  30. package/build/cjs/components/scroll/smooth-scroll/SmoothScroll.js +625 -0
  31. package/build/cjs/components/scroll/types.js +2 -0
  32. package/build/cjs/components/split-text/SplitText.js +233 -0
  33. package/build/cjs/components/text/SplitText.js +329 -0
  34. package/build/cjs/components/timeline/StaticTimeline.js +137 -0
  35. package/build/cjs/components/timeline/Timeline.js +190 -0
  36. package/build/cjs/index.js +87 -0
  37. package/build/cjs/utils/common/index.js +12 -0
  38. package/build/cjs/utils/common/mergeWithoutArrays.js +19 -0
  39. package/build/cjs/utils/common/randID.js +11 -0
  40. package/build/cjs/utils/common/timeoutCallback.js +17 -0
  41. package/build/cjs/utils/errors.js +8 -0
  42. package/build/cjs/utils/listeners/index.js +10 -0
  43. package/build/cjs/utils/listeners/intersectionObserverSupported.js +11 -0
  44. package/build/cjs/utils/listeners/onScroll.js +47 -0
  45. package/build/cjs/utils/math/boundVal.js +16 -0
  46. package/build/cjs/utils/math/index.js +12 -0
  47. package/build/cjs/utils/math/lerp.js +15 -0
  48. package/build/cjs/utils/math/scopeProgress.js +25 -0
  49. package/build/cjs/utils/types/general.js +2 -0
  50. package/build/cjs/utils/types/utility.js +2 -0
  51. package/build/es/app/Application.js +210 -0
  52. package/build/es/app/events/PageLoad.js +47 -0
  53. package/build/es/app/events/Viewport.js +232 -0
  54. package/build/es/base/Callbacks.js +205 -0
  55. package/build/es/base/Component.js +32 -0
  56. package/build/es/base/Module.js +225 -0
  57. package/build/es/base/MutableProp.js +152 -0
  58. package/build/es/base/Plugin.js +31 -0
  59. package/build/es/components/animation-frame/AnimationFrame.js +145 -0
  60. package/build/es/components/canvas/Ctx2D.js +133 -0
  61. package/build/es/components/canvas/Ctx2DPrerender.js +37 -0
  62. package/build/es/components/cursor/CustomCursor.js +274 -0
  63. package/build/es/components/dragger/Dragger.js +175 -0
  64. package/build/es/components/dragger/DraggerDirection.js +42 -0
  65. package/build/es/components/dragger/DraggerMove.js +56 -0
  66. package/build/es/components/loading/Preloader.js +164 -0
  67. package/build/es/components/loading/ProgressPreloader.js +304 -0
  68. package/build/es/components/page/Page.js +283 -0
  69. package/build/es/components/scroll/custom-scroll/CustomScroll.js +486 -0
  70. package/build/es/components/scroll/plugins/SmoothScrollDragPlugin.js +140 -0
  71. package/build/es/components/scroll/plugins/SmoothScrollKeyboardPlugin.js +109 -0
  72. package/build/es/components/scroll/scrollable/ScrollEventsBase.js +79 -0
  73. package/build/es/components/scroll/scrollable/ScrollView.js +264 -0
  74. package/build/es/components/scroll/scrollbar/Bar.js +262 -0
  75. package/build/es/components/scroll/scrollbar/ScrollBar.js +152 -0
  76. package/build/es/components/scroll/smooth-scroll/SmoothScroll.js +519 -0
  77. package/build/es/components/scroll/types.js +1 -0
  78. package/build/es/components/split-text/SplitText.js +199 -0
  79. package/build/es/components/text/SplitText.js +270 -0
  80. package/build/es/components/timeline/StaticTimeline.js +92 -0
  81. package/build/es/components/timeline/Timeline.js +141 -0
  82. package/build/es/index.js +37 -0
  83. package/build/es/utils/common/index.js +4 -0
  84. package/build/es/utils/common/mergeWithoutArrays.js +13 -0
  85. package/build/es/utils/common/randID.js +7 -0
  86. package/build/es/utils/common/timeoutCallback.js +14 -0
  87. package/build/es/utils/errors.js +5 -0
  88. package/build/es/utils/listeners/index.js +3 -0
  89. package/build/es/utils/listeners/intersectionObserverSupported.js +8 -0
  90. package/build/es/utils/listeners/onScroll.js +44 -0
  91. package/build/es/utils/math/boundVal.js +12 -0
  92. package/build/es/utils/math/index.js +4 -0
  93. package/build/es/utils/math/lerp.js +11 -0
  94. package/build/es/utils/math/scopeProgress.js +22 -0
  95. package/build/es/utils/types/general.js +1 -0
  96. package/build/es/utils/types/utility.js +1 -0
  97. package/build/types/app/Application.d.ts +161 -0
  98. package/build/types/app/Application.d.ts.map +1 -0
  99. package/build/types/app/events/PageLoad.d.ts +28 -0
  100. package/build/types/app/events/PageLoad.d.ts.map +1 -0
  101. package/build/types/app/events/Viewport.d.ts +137 -0
  102. package/build/types/app/events/Viewport.d.ts.map +1 -0
  103. package/build/types/base/Callbacks.d.ts +174 -0
  104. package/build/types/base/Callbacks.d.ts.map +1 -0
  105. package/build/types/base/Component.d.ts +48 -0
  106. package/build/types/base/Component.d.ts.map +1 -0
  107. package/build/types/base/Module.d.ts +179 -0
  108. package/build/types/base/Module.d.ts.map +1 -0
  109. package/build/types/base/MutableProp.d.ts +142 -0
  110. package/build/types/base/MutableProp.d.ts.map +1 -0
  111. package/build/types/base/Plugin.d.ts +35 -0
  112. package/build/types/base/Plugin.d.ts.map +1 -0
  113. package/build/types/components/animation-frame/AnimationFrame.d.ts +96 -0
  114. package/build/types/components/animation-frame/AnimationFrame.d.ts.map +1 -0
  115. package/build/types/components/canvas/Ctx2D.d.ts +111 -0
  116. package/build/types/components/canvas/Ctx2D.d.ts.map +1 -0
  117. package/build/types/components/canvas/Ctx2DPrerender.d.ts +41 -0
  118. package/build/types/components/canvas/Ctx2DPrerender.d.ts.map +1 -0
  119. package/build/types/components/cursor/CustomCursor.d.ts +181 -0
  120. package/build/types/components/cursor/CustomCursor.d.ts.map +1 -0
  121. package/build/types/components/dragger/Dragger.d.ts +120 -0
  122. package/build/types/components/dragger/Dragger.d.ts.map +1 -0
  123. package/build/types/components/dragger/DraggerDirection.d.ts +39 -0
  124. package/build/types/components/dragger/DraggerDirection.d.ts.map +1 -0
  125. package/build/types/components/dragger/DraggerMove.d.ts +49 -0
  126. package/build/types/components/dragger/DraggerMove.d.ts.map +1 -0
  127. package/build/types/components/loading/Preloader.d.ts +107 -0
  128. package/build/types/components/loading/Preloader.d.ts.map +1 -0
  129. package/build/types/components/loading/ProgressPreloader.d.ts +166 -0
  130. package/build/types/components/loading/ProgressPreloader.d.ts.map +1 -0
  131. package/build/types/components/page/Page.d.ts +126 -0
  132. package/build/types/components/page/Page.d.ts.map +1 -0
  133. package/build/types/components/scroll/custom-scroll/CustomScroll.d.ts +322 -0
  134. package/build/types/components/scroll/custom-scroll/CustomScroll.d.ts.map +1 -0
  135. package/build/types/components/scroll/plugins/SmoothScrollDragPlugin.d.ts +97 -0
  136. package/build/types/components/scroll/plugins/SmoothScrollDragPlugin.d.ts.map +1 -0
  137. package/build/types/components/scroll/plugins/SmoothScrollKeyboardPlugin.d.ts +34 -0
  138. package/build/types/components/scroll/plugins/SmoothScrollKeyboardPlugin.d.ts.map +1 -0
  139. package/build/types/components/scroll/scrollable/ScrollEventsBase.d.ts +60 -0
  140. package/build/types/components/scroll/scrollable/ScrollEventsBase.d.ts.map +1 -0
  141. package/build/types/components/scroll/scrollable/ScrollView.d.ts +140 -0
  142. package/build/types/components/scroll/scrollable/ScrollView.d.ts.map +1 -0
  143. package/build/types/components/scroll/scrollbar/Bar.d.ts +84 -0
  144. package/build/types/components/scroll/scrollbar/Bar.d.ts.map +1 -0
  145. package/build/types/components/scroll/scrollbar/ScrollBar.d.ts +109 -0
  146. package/build/types/components/scroll/scrollbar/ScrollBar.d.ts.map +1 -0
  147. package/build/types/components/scroll/smooth-scroll/SmoothScroll.d.ts +307 -0
  148. package/build/types/components/scroll/smooth-scroll/SmoothScroll.d.ts.map +1 -0
  149. package/build/types/components/scroll/types.d.ts +11 -0
  150. package/build/types/components/scroll/types.d.ts.map +1 -0
  151. package/build/types/components/split-text/SplitText.d.ts +118 -0
  152. package/build/types/components/split-text/SplitText.d.ts.map +1 -0
  153. package/build/types/components/text/SplitText.d.ts +118 -0
  154. package/build/types/components/text/SplitText.d.ts.map +1 -0
  155. package/build/types/components/timeline/StaticTimeline.d.ts +92 -0
  156. package/build/types/components/timeline/StaticTimeline.d.ts.map +1 -0
  157. package/build/types/components/timeline/Timeline.d.ts +101 -0
  158. package/build/types/components/timeline/Timeline.d.ts.map +1 -0
  159. package/build/types/index.d.ts +38 -0
  160. package/build/types/index.d.ts.map +1 -0
  161. package/build/types/utils/common/index.d.ts +5 -0
  162. package/build/types/utils/common/index.d.ts.map +1 -0
  163. package/build/types/utils/common/mergeWithoutArrays.d.ts +6 -0
  164. package/build/types/utils/common/mergeWithoutArrays.d.ts.map +1 -0
  165. package/build/types/utils/common/randID.d.ts +5 -0
  166. package/build/types/utils/common/randID.d.ts.map +1 -0
  167. package/build/types/utils/common/timeoutCallback.d.ts +6 -0
  168. package/build/types/utils/common/timeoutCallback.d.ts.map +1 -0
  169. package/build/types/utils/errors.d.ts +3 -0
  170. package/build/types/utils/errors.d.ts.map +1 -0
  171. package/build/types/utils/listeners/index.d.ts +4 -0
  172. package/build/types/utils/listeners/index.d.ts.map +1 -0
  173. package/build/types/utils/listeners/intersectionObserverSupported.d.ts +2 -0
  174. package/build/types/utils/listeners/intersectionObserverSupported.d.ts.map +1 -0
  175. package/build/types/utils/listeners/onScroll.d.ts +10 -0
  176. package/build/types/utils/listeners/onScroll.d.ts.map +1 -0
  177. package/build/types/utils/math/boundVal.d.ts +5 -0
  178. package/build/types/utils/math/boundVal.d.ts.map +1 -0
  179. package/build/types/utils/math/index.d.ts +5 -0
  180. package/build/types/utils/math/index.d.ts.map +1 -0
  181. package/build/types/utils/math/lerp.d.ts +5 -0
  182. package/build/types/utils/math/lerp.d.ts.map +1 -0
  183. package/build/types/utils/math/scopeProgress.d.ts +20 -0
  184. package/build/types/utils/math/scopeProgress.d.ts.map +1 -0
  185. package/build/types/utils/types/general.d.ts +7 -0
  186. package/build/types/utils/types/general.d.ts.map +1 -0
  187. package/build/types/utils/types/utility.d.ts +14 -0
  188. package/build/types/utils/types/utility.d.ts.map +1 -0
  189. package/package.json +88 -82
  190. package/src/cdn/index.js +3 -0
  191. package/src/sass/base.scss +3 -0
  192. package/src/sass/components/cursor/_custom-cursor.scss +63 -0
  193. package/src/sass/components/index.scss +6 -0
  194. package/src/sass/components/loading/_preloader.scss +15 -0
  195. package/src/sass/components/scroll/_scrollbar.scss +73 -0
  196. package/src/sass/components/scroll/_smooth-scroll.scss +17 -0
  197. package/src/sass/index.scss +3 -0
  198. package/src/sass/mixins/_scroll.scss +7 -0
  199. package/{dist/scss → src/sass}/mixins/_transition.scss +8 -4
  200. package/src/sass/mixins/_viewport.scss +69 -0
  201. package/src/sass/mixins/index.scss +3 -0
  202. package/src/ts/app/Application.ts +350 -0
  203. package/src/ts/app/events/PageLoad.ts +79 -0
  204. package/src/ts/app/events/Viewport.ts +365 -0
  205. package/src/ts/base/Callbacks.ts +380 -0
  206. package/src/ts/base/Component.ts +83 -0
  207. package/src/ts/base/Module.ts +385 -0
  208. package/src/ts/base/MutableProp.ts +242 -0
  209. package/src/ts/base/Plugin.ts +76 -0
  210. package/src/ts/components/animation-frame/AnimationFrame.ts +264 -0
  211. package/src/ts/components/canvas/Ctx2D.ts +260 -0
  212. package/src/ts/components/canvas/Ctx2DPrerender.ts +96 -0
  213. package/src/ts/components/cursor/CustomCursor.ts +462 -0
  214. package/src/ts/components/dragger/Dragger.ts +313 -0
  215. package/src/ts/components/dragger/DraggerDirection.ts +106 -0
  216. package/src/ts/components/dragger/DraggerMove.ts +114 -0
  217. package/src/ts/components/loading/Preloader.ts +279 -0
  218. package/src/ts/components/loading/ProgressPreloader.ts +484 -0
  219. package/src/ts/components/page/Page.ts +421 -0
  220. package/src/ts/components/scroll/plugins/SmoothScrollDragPlugin.ts +251 -0
  221. package/src/ts/components/scroll/plugins/SmoothScrollKeyboardPlugin.ts +166 -0
  222. package/src/ts/components/scroll/scrollable/ScrollEventsBase.ts +151 -0
  223. package/src/ts/components/scroll/scrollable/ScrollView.ts +435 -0
  224. package/src/ts/components/scroll/scrollbar/Bar.ts +364 -0
  225. package/src/ts/components/scroll/scrollbar/ScrollBar.ts +292 -0
  226. package/src/ts/components/scroll/smooth-scroll/SmoothScroll.ts +861 -0
  227. package/src/ts/components/scroll/types.ts +10 -0
  228. package/src/ts/components/text/SplitText.ts +418 -0
  229. package/src/ts/components/timeline/StaticTimeline.ts +197 -0
  230. package/src/ts/components/timeline/Timeline.ts +256 -0
  231. package/src/ts/index.ts +94 -0
  232. package/src/ts/utils/common/index.ts +9 -0
  233. package/src/ts/utils/common/mergeWithoutArrays.ts +20 -0
  234. package/src/ts/utils/common/randID.ts +9 -0
  235. package/src/ts/utils/common/timeoutCallback.ts +16 -0
  236. package/src/ts/utils/errors.ts +6 -0
  237. package/src/ts/utils/listeners/index.ts +7 -0
  238. package/src/ts/utils/listeners/intersectionObserverSupported.ts +10 -0
  239. package/src/ts/utils/listeners/onScroll.ts +56 -0
  240. package/src/ts/utils/math/boundVal.ts +15 -0
  241. package/src/ts/utils/math/index.ts +9 -0
  242. package/src/ts/utils/math/lerp.ts +16 -0
  243. package/src/ts/utils/math/scopeProgress.ts +23 -0
  244. package/src/ts/utils/types/general.ts +7 -0
  245. package/src/ts/utils/types/utility.ts +34 -0
  246. package/dist/js/AJAXEvent.js +0 -355
  247. package/dist/js/Application.js +0 -345
  248. package/dist/js/ColumnsModule.js +0 -392
  249. package/dist/js/CursorModule.js +0 -390
  250. package/dist/js/DraggerModule.js +0 -792
  251. package/dist/js/Event.js +0 -538
  252. package/dist/js/FilterModule.js +0 -943
  253. package/dist/js/FormModule.js +0 -706
  254. package/dist/js/FrameModule.js +0 -229
  255. package/dist/js/IntervalModule.js +0 -270
  256. package/dist/js/KeydownModule.js +0 -293
  257. package/dist/js/LoadEvent.js +0 -106
  258. package/dist/js/MenuBaseModule.js +0 -292
  259. package/dist/js/MenuModule.js +0 -265
  260. package/dist/js/MenuTimelineModule.js +0 -321
  261. package/dist/js/Module.js +0 -478
  262. package/dist/js/PageAjaxModule.js +0 -1010
  263. package/dist/js/PageLoadMediaPlugin.js +0 -285
  264. package/dist/js/PageModule.js +0 -440
  265. package/dist/js/PaginationModule.js +0 -961
  266. package/dist/js/PaginationScrollPlugin.js +0 -209
  267. package/dist/js/Plugin.js +0 -114
  268. package/dist/js/PopupModule.js +0 -942
  269. package/dist/js/PreloaderModule.js +0 -724
  270. package/dist/js/ResponsiveProp.js +0 -301
  271. package/dist/js/ScrollAnchorModule.js +0 -554
  272. package/dist/js/ScrollAnimateModule.js +0 -419
  273. package/dist/js/ScrollBarPlugin.js +0 -594
  274. package/dist/js/ScrollDragPlugin.js +0 -396
  275. package/dist/js/ScrollModule.js +0 -1071
  276. package/dist/js/ScrollViewModule.js +0 -388
  277. package/dist/js/SelectModule.js +0 -860
  278. package/dist/js/SliderCanvasModule.js +0 -733
  279. package/dist/js/SliderControlsPlugin.js +0 -247
  280. package/dist/js/SliderCounterPlugin.js +0 -278
  281. package/dist/js/SliderDotsPlugin.js +0 -270
  282. package/dist/js/SliderDragSwipePlugin.js +0 -245
  283. package/dist/js/SliderIntervalPlugin.js +0 -192
  284. package/dist/js/SliderKeydownPlugin.js +0 -185
  285. package/dist/js/SliderModule.js +0 -1062
  286. package/dist/js/SliderWheelPlugin.js +0 -194
  287. package/dist/js/TextAnimateModule.js +0 -663
  288. package/dist/js/TextSplitModule.js +0 -785
  289. package/dist/js/TimelineBaseModule.js +0 -405
  290. package/dist/js/TimelineModule.js +0 -494
  291. package/dist/js/URLEvent.js +0 -239
  292. package/dist/js/ViewportEvent.js +0 -465
  293. package/dist/js/WheelEventModule.js +0 -295
  294. package/dist/js/domChildOf.js +0 -46
  295. package/dist/js/domChildren.js +0 -47
  296. package/dist/js/domInsertAfter.js +0 -32
  297. package/dist/js/domRemoveChildren.js +0 -26
  298. package/dist/js/easing.js +0 -363
  299. package/dist/js/eventListenerAdd.js +0 -87
  300. package/dist/js/eventListenerGet.js +0 -49
  301. package/dist/js/eventListenerRemove.js +0 -36
  302. package/dist/js/generateId.js +0 -29
  303. package/dist/js/getBrowserName.js +0 -60
  304. package/dist/js/getOsName.js +0 -39
  305. package/dist/js/getVevetProperties.js +0 -22
  306. package/dist/js/index.js +0 -519
  307. package/dist/js/mathScopeProgress.js +0 -32
  308. package/dist/js/mathSpreadScopeProgress.js +0 -35
  309. package/dist/js/merge.js +0 -33
  310. package/dist/js/normalizeWheel.js +0 -97
  311. package/dist/js/text_animate_module_addons/_composite_elementary.js +0 -196
  312. package/dist/js/text_animate_module_addons/_elementary.js +0 -88
  313. package/dist/js/timeoutCallback.js +0 -26
  314. package/dist/js/vevet.js +0 -10
  315. package/dist/scss/_prefix.scss +0 -1
  316. package/dist/scss/classes/_clear.scss +0 -5
  317. package/dist/scss/classes/_col-row.scss +0 -48
  318. package/dist/scss/classes/_display.scss +0 -65
  319. package/dist/scss/classes/_document-reset.scss +0 -28
  320. package/dist/scss/classes/_document.scss +0 -7
  321. package/dist/scss/classes/_overflow.scss +0 -39
  322. package/dist/scss/classes/_position.scss +0 -55
  323. package/dist/scss/classes/_text.scss +0 -24
  324. package/dist/scss/classes/_transition.scss +0 -22
  325. package/dist/scss/classes/_wrap.scss +0 -31
  326. package/dist/scss/classes/index.scss +0 -14
  327. package/dist/scss/index.scss +0 -3
  328. package/dist/scss/mixins/_clear.scss +0 -6
  329. package/dist/scss/mixins/_display.scss +0 -6
  330. package/dist/scss/mixins/_form.scss +0 -14
  331. package/dist/scss/mixins/_position.scss +0 -42
  332. package/dist/scss/mixins/_reset.scss +0 -17
  333. package/dist/scss/mixins/_responsive.scss +0 -88
  334. package/dist/scss/mixins/index.scss +0 -7
  335. package/dist/scss/modules/columns/_settings.scss +0 -1
  336. package/dist/scss/modules/columns/index.scss +0 -19
  337. package/dist/scss/modules/cursor/_settings.scss +0 -7
  338. package/dist/scss/modules/cursor/index.scss +0 -15
  339. package/dist/scss/modules/form/_settings.scss +0 -15
  340. package/dist/scss/modules/form/index.scss +0 -57
  341. package/dist/scss/modules/index.scss +0 -11
  342. package/dist/scss/modules/menu/_button.scss +0 -58
  343. package/dist/scss/modules/menu/_menu.scss +0 -25
  344. package/dist/scss/modules/menu/_settings.scss +0 -23
  345. package/dist/scss/modules/menu/index.scss +0 -3
  346. package/dist/scss/modules/pagination/_settings.scss +0 -6
  347. package/dist/scss/modules/pagination/index.scss +0 -24
  348. package/dist/scss/modules/popup/_settings.scss +0 -26
  349. package/dist/scss/modules/popup/index.scss +0 -294
  350. package/dist/scss/modules/preloader/_settings.scss +0 -3
  351. package/dist/scss/modules/preloader/index.scss +0 -19
  352. package/dist/scss/modules/scroll/_settings.scss +0 -22
  353. package/dist/scss/modules/scroll/index.scss +0 -94
  354. package/dist/scss/modules/select/_settings.scss +0 -28
  355. package/dist/scss/modules/select/index.scss +0 -142
  356. package/dist/scss/modules/slider/_settings.scss +0 -35
  357. package/dist/scss/modules/slider/index.scss +0 -153
  358. package/dist/scss/modules/text/_settings.scss +0 -1
  359. package/dist/scss/modules/text/index.scss +0 -19
  360. package/dist/types/types.d.ts +0 -18763
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/ts/components/scroll/scrollable/ScrollView.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,WAAW,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAQlE,yBAAiB,WAAW,CAAC;IAEzB;;OAEG;IACH,UAAiB,UAAW,SAAQ,iBAAiB,CAAC,UAAU;QAC5D;;;WAGG;QACH,QAAQ,CAAC,EAAE,WAAW,CAAC;QACvB;;;;WAIG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB;;;WAGG;QACH,MAAM,CAAC,EAAE,IAAI,GAAG,OAAO,CAAC;QACxB;;;WAGG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB;;;WAGG;QACH,QAAQ,CAAC,EAAE,KAAK,GAAG;YACf,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,GAAG,GAAG,GAAG,CAAC;SAClB,CAAC;QACF;;;WAGG;QACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;KACrC;IAED;;OAEG;IACH,UAAiB,cAAe,SAAQ,iBAAiB,CAAC,cAAc;KAAI;IAE5E;;OAEG;IACH,UAAiB,EAAG,SAAQ,OAAO;QAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;KAC1B;IAED;;OAEG;IACH,UAAiB,cAAe,SAAQ,iBAAiB,CAAC,cAAc;QACpE,IAAI,EAAE,E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D;;OAEG;IACH,SAAS,CAAC,YAAY,CAClB,EAAE,EAAE,WAAW,CAAC,EAAE,EAClB,UAAU,EAAE,OAAO,EACnB,KAAK,SAAI;IA8Bb;;OAEG;IACH,SAAS,CAAC,sBAAsB;IAgBhC;;OAEG;IACH,SAAS,CAAC,QAAQ;CAIrB"}
@@ -0,0 +1,84 @@
1
+ /// <reference types="node" />
2
+ import { IAddEventListener } from 'vevet-dom';
3
+ import { IRemovable } from '../../../utils/types/general';
4
+ import { DraggerMove, NDraggerMove } from '../../dragger/DraggerMove';
5
+ import { SmoothScroll } from '../smooth-scroll/SmoothScroll';
6
+ interface Data {
7
+ container: Window | SmoothScroll | Element;
8
+ domParent: Element;
9
+ dir: 'x' | 'y';
10
+ autoHide: boolean;
11
+ autoSize: boolean;
12
+ minSize: number;
13
+ optimizeCalculations: boolean;
14
+ prefix: string;
15
+ isDraggable: boolean;
16
+ draggableScrollBehavior: 'smooth' | 'auto';
17
+ }
18
+ export default class Bar {
19
+ protected _prop: Data;
20
+ protected _outer: HTMLElement;
21
+ get outer(): HTMLElement;
22
+ protected _thumb: HTMLElement;
23
+ get thumb(): HTMLElement;
24
+ get prefix(): string;
25
+ get isX(): boolean;
26
+ get isY(): boolean;
27
+ protected _outerHeight: number;
28
+ protected _outerWidth: number;
29
+ protected _thumbHeight: number;
30
+ protected _thumbWidth: number;
31
+ get scrollElement(): Element | SmoothScroll<import("../smooth-scroll/SmoothScroll").NSmoothScroll.StaticProp, import("../smooth-scroll/SmoothScroll").NSmoothScroll.ChangeableProp, import("../smooth-scroll/SmoothScroll").NSmoothScroll.CallbacksTypes>;
32
+ get scrollLine(): number;
33
+ get scrollWidth(): number;
34
+ get scrollHeight(): number;
35
+ protected _scrollVal: number;
36
+ protected _coordsAtDragStart: {
37
+ left: number;
38
+ top: number;
39
+ };
40
+ protected _listeners: IAddEventListener[];
41
+ protected _scrollEvent?: IRemovable;
42
+ protected _actionTimeout?: NodeJS.Timeout;
43
+ protected _dragger?: DraggerMove;
44
+ get prop(): Data;
45
+ constructor(_prop: Data);
46
+ get scrollValues(): {
47
+ left: number;
48
+ top: number;
49
+ };
50
+ /**
51
+ * Set scrolblar events
52
+ */
53
+ protected _setEvents(): void;
54
+ /**
55
+ * Toggle scrollBehavior: disable & reset smooth scrolling
56
+ */
57
+ protected _disableScrollBehaviour(bool: boolean): void;
58
+ /**
59
+ * Handle hover state
60
+ */
61
+ protected _handleHover(bool: boolean): void;
62
+ /**
63
+ * Handle Scroll Event
64
+ */
65
+ protected _handleScroll(data: {
66
+ scrollTop: number;
67
+ scrollLeft: number;
68
+ }): void;
69
+ /**
70
+ * Event on dragger move
71
+ */
72
+ protected _handleThumbDrag(data: NDraggerMove.CallbacksTypes['move']): void;
73
+ /**
74
+ * Render the thumb
75
+ */
76
+ protected _renderThumb(): void;
77
+ /**
78
+ * Resize the scene
79
+ */
80
+ resize(): void;
81
+ destroy(): void;
82
+ }
83
+ export {};
84
+ //# sourceMappingURL=Bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bar.d.ts","sourceRoot":"","sources":["../../../../../src/ts/components/scroll/scrollbar/Bar.ts"],"names":[],"mappings":";AAAA,OAAO,EAAmC,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAG1D,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,UAAU,IAAI;IACV,SAAS,EAAE,MAAM,GAAG,YAAY,GAAG,OAAO,CAAC;IAC3C,SAAS,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,GAAG,GAAG,GAAG,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,MAAM,EAAE,M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,OAAO;IAKjB;;OAEG;IACH,SAAS,CAAC,aAAa,CAAE,IAAI,EAAE;QAC3B,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;KACtB;IAoCD;;OAEG;IACH,SAAS,CAAC,gBAAgB,CACtB,IAAI,EAAE,YAAY,CAAC,cAAc,CAAC,MAAM,CAAC;IA6B7C;;OAEG;IACH,SAAS,CAAC,YAAY;IAgBtB;;OAEG;IACI,MAAM;IA0CN,OAAO;CAejB"}
@@ -0,0 +1,109 @@
1
+ import { Component, NComponent } from '../../../base/Component';
2
+ import { RequiredModuleProp } from '../../../utils/types/utility';
3
+ import { SmoothScroll } from '../smooth-scroll/SmoothScroll';
4
+ import Bar from './Bar';
5
+ export declare namespace NScrollBar {
6
+ /**
7
+ * Static properties
8
+ */
9
+ interface StaticProp extends NComponent.StaticProp {
10
+ /**
11
+ * The scrollable element
12
+ * @default window
13
+ */
14
+ container?: Window | SmoothScroll | Element | string;
15
+ /**
16
+ * The element that will contain the scrollbar.
17
+ * If false, the property 'container' will be taken into consideration.
18
+ * @default false
19
+ */
20
+ domParent?: false | Element;
21
+ /**
22
+ * If the scrollbar must be interactive
23
+ * @default true
24
+ */
25
+ draggable?: boolean;
26
+ /**
27
+ * Automatically define the size of the scrollbar thumb
28
+ * @default true
29
+ */
30
+ autoSize?: boolean;
31
+ /**
32
+ * Automatically hide scrollbars
33
+ * @default true
34
+ */
35
+ autoHide?: boolean;
36
+ /**
37
+ * Minimum size of the scrollbar thumb
38
+ * @default 50
39
+ */
40
+ minSize?: number;
41
+ /**
42
+ * Optimize sizes calculation.
43
+ * If true, the sizes are calculated only when calling the "resize" method.
44
+ * Subsequently, if content changes, the scrollbar may be of false sizes.
45
+ * @default false
46
+ */
47
+ optimizeCalculations?: boolean;
48
+ /**
49
+ * If the scroll bar is draggable
50
+ * @default true
51
+ */
52
+ isDraggable?: boolean;
53
+ /**
54
+ * What scroll behavior should be used when dragging the ScrollBar thumb.
55
+ * Only for SmoothScroll
56
+ * @default 'smooth'
57
+ */
58
+ draggableScrollBehavior?: 'smooth' | 'auto';
59
+ }
60
+ /**
61
+ * Changeable properties
62
+ */
63
+ interface ChangeableProp extends NComponent.ChangeableProp {
64
+ }
65
+ /**
66
+ * Available callbacks
67
+ */
68
+ interface CallbacksTypes extends NComponent.CallbacksTypes {
69
+ }
70
+ }
71
+ /**
72
+ * Create custom scroll bar
73
+ */
74
+ export declare class ScrollBar<StaticProp extends NScrollBar.StaticProp = NScrollBar.StaticProp, ChangeableProp extends NScrollBar.ChangeableProp = NScrollBar.ChangeableProp, CallbacksTypes extends NScrollBar.CallbacksTypes = NScrollBar.CallbacksTypes> extends Component<StaticProp, ChangeableProp, CallbacksTypes> {
75
+ protected _getDefaultProp<T extends RequiredModuleProp<StaticProp & ChangeableProp>>(): T;
76
+ get prefix(): string;
77
+ /**
78
+ * Scroll container
79
+ */
80
+ get container(): Element | Window | SmoothScroll<import("../smooth-scroll/SmoothScroll").NSmoothScroll.StaticProp, import("../smooth-scroll/SmoothScroll").NSmoothScroll.ChangeableProp, import("../smooth-scroll/SmoothScroll").NSmoothScroll.CallbacksTypes>;
81
+ protected _container: Element | Window | SmoothScroll;
82
+ /**
83
+ * Get scrollable element
84
+ */
85
+ get scrollableElement(): Element;
86
+ /**
87
+ * The element into wchich scroll bars will be appended
88
+ */
89
+ get domParent(): Element;
90
+ /**
91
+ * The scroll wrapper.
92
+ * Used for wrapper scroll
93
+ */
94
+ protected _scrollWrapper?: HTMLElement;
95
+ protected _xBar: Bar;
96
+ protected _yBar: Bar;
97
+ constructor(initialProp?: (StaticProp & ChangeableProp), init?: boolean);
98
+ protected _setEvents(): void;
99
+ protected _onPropMutate(): void;
100
+ /**
101
+ * Resize the canvas
102
+ */
103
+ resize(): void;
104
+ /**
105
+ * Destroy the module
106
+ */
107
+ protected _destroy(): void;
108
+ }
109
+ //# sourceMappingURL=ScrollBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Scroll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,CAC9E,SAAQ,SAAS,CACf,UAAU,EACV,cAAc,EACd,cAAc,CACjB;IACG,SAAS,CAAC,eAAe,CACrB,CAAC,SAAS,kBAAkB,CAAC,UAAU,GAAG,cAAc,CAAC,KACvD,CAAC;IAeP,IAAI,MAAM,WAET;IAED;;OAEG;IACH,IAAI,SAAS,kPAEZ;IACD,SAAS,CAAC,UAAU,EAAE,OAAO,GAAG,MAAM,GAAG,YAAY,CAAC;IAEtD;;OAEG;IACH,IAAI,iBAAiB,YASpB;IAED;;OAEG;IACH,IAAI,SAAS,YAgBZ;IAED;;;OAGG;IACH,SAAS,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IAGvC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC;IACrB,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC;gBAKjB,WAAW,CAAC,EAAE,CAAC,UAAU,GAAG,cAAc,CAAC,EAC3C,IAAI,UAAO;IAgEf,SAAS,CAAC,UAAU;IAmBpB,SAAS,CAAC,aAAa;IAOvB;;OAEG;IACI,MAAM;IAOb;;OAEG;IACH,SAAS,CAAC,QAAQ;CAmBrB"}
@@ -0,0 +1,307 @@
1
+ import { Component, NComponent } from '../../../base/Component';
2
+ import { RequiredModuleProp } from '../../../utils/types/utility';
3
+ import { AnimationFrame } from '../../animation-frame/AnimationFrame';
4
+ import { ScrollableElement } from '../types';
5
+ import { NCallbacks } from '../../../base/Callbacks';
6
+ export declare namespace NSmoothScroll {
7
+ /**
8
+ * Static properties
9
+ */
10
+ interface StaticProp extends NComponent.StaticProp {
11
+ /**
12
+ * Scroll elements
13
+ */
14
+ selectors?: {
15
+ /**
16
+ * Scrollable wrapper.
17
+ * You may pass either a CSS selector to find the element or the element itself.
18
+ * @default '#v-smooth-scroll'
19
+ */
20
+ outer?: string | HTMLElement;
21
+ /**
22
+ * Scrollable elements inside the wrapper.
23
+ * You may pass either a CSS selector to find the elements or the elements themselves.
24
+ * @default '#v-smooth-scroll'
25
+ */
26
+ elements?: false | string | NodeListOf<HTMLElement> | HTMLElement | HTMLElement[];
27
+ };
28
+ /**
29
+ * Animation frame.
30
+ * Pass an AnimationFrame instance if you want to control the scrolling outside this class.
31
+ * @default false
32
+ */
33
+ animationFrame?: false | AnimationFrame;
34
+ }
35
+ /**
36
+ * Changeable properties
37
+ */
38
+ interface ChangeableProp extends NComponent.ChangeableProp {
39
+ /**
40
+ * If scrolling is enabled
41
+ * @default true
42
+ */
43
+ enabled?: boolean;
44
+ /**
45
+ * Recalculate sizes on each scroll update
46
+ * @default true
47
+ */
48
+ recalculateSizes?: boolean;
49
+ /**
50
+ * Use wheel event
51
+ * @default true
52
+ */
53
+ useWheel?: boolean;
54
+ /**
55
+ * If scrolling is horizontal
56
+ * @default false
57
+ */
58
+ isHorizontal?: boolean;
59
+ /**
60
+ * Automatically stop scrolling after the target and current values are approximated.
61
+ * @default true
62
+ */
63
+ autoStop?: boolean;
64
+ /**
65
+ * Stop propagation when scrolling the block
66
+ * @default true
67
+ */
68
+ stopPropagation?: boolean;
69
+ /**
70
+ * If need to add will-change to scrollable elements
71
+ * @default true
72
+ */
73
+ useWillChange?: boolean;
74
+ /**
75
+ * Animation options
76
+ */
77
+ render?: {
78
+ /**
79
+ * Linear interpolation ease
80
+ * @default 0.1
81
+ */
82
+ lerp?: number;
83
+ /**
84
+ * Sometimes scrolling may be choppy because of large decimal values in transforms.
85
+ * In such cases you may want to use this property.
86
+ * It works on the basis of "toFixed()" method. Only integers
87
+ * @default 2
88
+ */
89
+ lerpToFixed?: false | number;
90
+ /**
91
+ * @default 0.1
92
+ */
93
+ approximation?: 0.1;
94
+ /**
95
+ * On different screens with different FPS, scrolling may be faster or slower.
96
+ * This property is to normalize scrolling speed across different FPS.
97
+ * @default false
98
+ */
99
+ normalizeLerp?: boolean;
100
+ };
101
+ /**
102
+ * Overscroll options
103
+ */
104
+ overscroll?: false | {
105
+ /**
106
+ * Maximum overscroll
107
+ * @default 250
108
+ */
109
+ max?: number;
110
+ /**
111
+ * Maximum overscroll
112
+ * @default .5
113
+ */
114
+ friction?: number;
115
+ };
116
+ }
117
+ /**
118
+ * Available callbacks
119
+ */
120
+ interface CallbacksTypes extends NComponent.CallbacksTypes {
121
+ 'scroll': false;
122
+ 'resize': false;
123
+ 'approximate': false;
124
+ 'wheel': WheelEvent;
125
+ }
126
+ }
127
+ export interface ScrollInnerElement extends HTMLElement {
128
+ smoothScrollTop: number;
129
+ smoothScrollLeft: number;
130
+ smoothScrollLerpEase: number;
131
+ }
132
+ /**
133
+ * Create smooth scrolling.
134
+ */
135
+ export declare class SmoothScroll<StaticProp extends NSmoothScroll.StaticProp = NSmoothScroll.StaticProp, ChangeableProp extends NSmoothScroll.ChangeableProp = NSmoothScroll.ChangeableProp, CallbacksTypes extends NSmoothScroll.CallbacksTypes = NSmoothScroll.CallbacksTypes> extends Component<StaticProp, ChangeableProp, CallbacksTypes> implements ScrollableElement {
136
+ get prefix(): string;
137
+ /**
138
+ * Scroll parent
139
+ */
140
+ protected _outer: HTMLElement;
141
+ get outer(): HTMLElement;
142
+ /**
143
+ * Scroll container. If the element does not exist indide the outer,
144
+ * it will be created automatically
145
+ */
146
+ protected _container: HTMLElement;
147
+ get container(): HTMLElement;
148
+ /**
149
+ * If the container element existed before the class initialization
150
+ */
151
+ protected _containerExists: boolean;
152
+ /**
153
+ * Scrollable elements
154
+ */
155
+ protected _elements: ScrollInnerElement[];
156
+ get elements(): ScrollInnerElement[];
157
+ protected _elementsLength: number;
158
+ /**
159
+ * Scroll target value
160
+ */
161
+ protected _targetLeft: number;
162
+ get targetLeft(): number;
163
+ set targetLeft(val: number);
164
+ /**
165
+ * Set value without animation request
166
+ */
167
+ protected set targetLeftBound(val: number);
168
+ protected get targetLeftBound(): number;
169
+ /**
170
+ * Scroll target value
171
+ */
172
+ protected _targetTop: number;
173
+ get targetTop(): number;
174
+ set targetTop(val: number);
175
+ /**
176
+ * Set value without animation request
177
+ */
178
+ protected set targetTopBound(val: number);
179
+ protected get targetTopBound(): number;
180
+ /**
181
+ * Scroll left
182
+ */
183
+ protected _scrollLeft: number;
184
+ get scrollLeft(): number;
185
+ set scrollLeft(val: number);
186
+ /**
187
+ * Scroll top
188
+ */
189
+ protected _scrollTop: number;
190
+ get scrollTop(): number;
191
+ set scrollTop(val: number);
192
+ /**
193
+ * Scroll width
194
+ */
195
+ protected _scrollWidth: number;
196
+ get scrollWidth(): number;
197
+ /**
198
+ * Scroll height
199
+ */
200
+ protected _scrollHeight: number;
201
+ get scrollHeight(): number;
202
+ /**
203
+ * Parent width
204
+ */
205
+ protected _clientWidth: number;
206
+ get clientWidth(): number;
207
+ /**
208
+ * Parent height
209
+ */
210
+ protected _clientHeight: number;
211
+ get clientHeight(): number;
212
+ /**
213
+ * Maximum scrollable area of the X axis
214
+ */
215
+ get maxScrollableWidth(): number;
216
+ /**
217
+ * Maximum scrollable area of the Y axis
218
+ */
219
+ get maxScrollableHeight(): number;
220
+ /**
221
+ * If the approximation between the target and current scroll values must be instantaneous
222
+ */
223
+ protected _instant: boolean;
224
+ /**
225
+ * Inner AnimationFrame.
226
+ * The AnimationFrame is not create if an outer AnimationFrame is passed in properties.
227
+ */
228
+ protected _animationFrame?: AnimationFrame;
229
+ /**
230
+ * AnimationFrame callback is used for outer AnimationFrame only.
231
+ */
232
+ protected _outerAnimationFrameEvent?: NCallbacks.AddedCallback;
233
+ /**
234
+ * Current FPS. Used to normalize LERP ease
235
+ */
236
+ protected _currentFPS: number;
237
+ constructor(initialProp?: (StaticProp & ChangeableProp), init?: boolean);
238
+ protected _getDefaultProp<T extends RequiredModuleProp<StaticProp & ChangeableProp>>(): T;
239
+ protected _constructor(): void;
240
+ protected _setEvents(): void;
241
+ protected _onPropMutate(): void;
242
+ /**
243
+ * Recalculate scroll sizes
244
+ */
245
+ resize(
246
+ /**
247
+ * If the method was called natively on window resize
248
+ */
249
+ native?: boolean): void;
250
+ /**
251
+ * Recalculate scroll sizes
252
+ */
253
+ protected _recalculateSizes(): void;
254
+ /**
255
+ * Update elements' properties
256
+ */
257
+ protected _updateElementsProp(): void;
258
+ /**
259
+ * Event on wheel
260
+ */
261
+ protected _handleWheel(evt: WheelEvent): void;
262
+ /**
263
+ * Toggle animation: Enable / Disable scrolling
264
+ */
265
+ protected _toggle(): void;
266
+ /**
267
+ * Enable scrolling
268
+ */
269
+ protected _enable(): void;
270
+ /**
271
+ * Disable scrolling
272
+ */
273
+ protected _disable(): void;
274
+ /**
275
+ * Render elements
276
+ */
277
+ render(): void;
278
+ /**
279
+ * Calculate scroll value
280
+ */
281
+ protected _calcScroll(): void;
282
+ /**
283
+ * Calculate elements' values.
284
+ */
285
+ protected _calcElements(): void;
286
+ /**
287
+ * Interpolate values
288
+ */
289
+ protected _lerp(current: number, target: number, ease?: number): number;
290
+ /**
291
+ * Get element ease
292
+ */
293
+ protected _getLerpEase(el?: ScrollInnerElement | false): number;
294
+ /**
295
+ * Render elements
296
+ */
297
+ protected _renderElements(): void;
298
+ /**
299
+ * Scroll to
300
+ */
301
+ scrollTo(): void;
302
+ /**
303
+ * Destroy the scroll
304
+ */
305
+ protected _destroy(): void;
306
+ }
307
+ //# sourceMappingURL=SmoothScroll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SmoothScroll.d.ts","sourceRoot":"","sources":["../../../../../src/ts/components/scroll/smooth-scroll/SmoothScroll.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAKrD,yBAAiB,aAAa,CAAC;IAE3B;;OAEG;IACH,UAAiB,UAAW,SAAQ,UAAU,CAAC,UAAU;QACrD;;WAEG;QACH,SAAS,CAAC,EAAE;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IAmBpB,SAAS,CAAC,aAAa;IAQvB;;OAEG;IACI,MAAM;IACT;;OAEG;IACH,MAAM,UAAQ;IAiClB;;OAEG;IACH,SAAS,CAAC,iBAAiB;IAS3B;;OAEG;IACH,SAAS,CAAC,mBAAmB;IAoB7B;;OAEG;IACH,SAAS,CAAC,YAAY,CAClB,GAAG,EAAE,UAAU;IA2CnB;;OAEG;IACH,SAAS,CAAC,OAAO;IAQjB;;OAEG;IACH,SAAS,CAAC,OAAO;IAuBjB;;OAEG;IACH,SAAS,CAAC,QAAQ;IAWlB;;OAEG;IACI,MAAM;IAiCb;;OAEG;IACH,SAAS,CAAC,WAAW;IA0BrB;;OAEG;IACH,SAAS,CAAC,aAAa;IAiBvB;;OAEG;IACH,SAAS,CAAC,KAAK,CACX,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,IAAI,SAAsB;IAa9B;;OAEG;IACH,SAAS,CAAC,YAAY,CAClB,EAAE,GAAE,kBAAkB,GAAG,KAAa;IAU1C;;OAEG;IACH,SAAS,CAAC,eAAe;IAgBzB;;OAEG;IACI,QAAQ;IA2Cf;;OAEG;IACH,SAAS,CAAC,QAAQ;CA0BrB"}
@@ -0,0 +1,11 @@
1
+ export interface ScrollableElement {
2
+ scrollTop: number;
3
+ scrollTo(options: ScrollToOptions): void;
4
+ scrollTo(x: number, y: number): void;
5
+ scrollLeft: number;
6
+ scrollWidth: number;
7
+ scrollHeight: number;
8
+ clientWidth: number;
9
+ clientHeight: number;
10
+ }
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ts/components/scroll/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,118 @@
1
+ import { Component, NComponent } from '../../base/Component';
2
+ import { DeepRequired } from '../../utils/types/utility';
3
+ export declare namespace NSplitText {
4
+ /**
5
+ * Static properties
6
+ */
7
+ interface StaticProp extends NComponent.StaticProp {
8
+ /**
9
+ * Text container
10
+ */
11
+ container?: string | Element;
12
+ /**
13
+ * Timeout before lines are updated when the window is resized.
14
+ * @default 0
15
+ */
16
+ resizeTimeout?: number;
17
+ append?: {
18
+ /**
19
+ * If you need to wrap each letter into a single element.
20
+ * @default true
21
+ */
22
+ letters: boolean;
23
+ /**
24
+ * If you need to wrap each word into a single element.
25
+ * @default true
26
+ */
27
+ words: boolean;
28
+ /**
29
+ * If you need to wrap each line into a single element.
30
+ * @default false
31
+ */
32
+ lines: boolean;
33
+ };
34
+ }
35
+ /**
36
+ * Changeable properties
37
+ */
38
+ interface ChangeableProp extends NComponent.ChangeableProp {
39
+ }
40
+ /**
41
+ * Available callbacks
42
+ */
43
+ interface CallbacksTypes extends NComponent.CallbacksTypes {
44
+ 'resize': false;
45
+ 'split': false;
46
+ }
47
+ interface Letter {
48
+ el: HTMLElement | false;
49
+ content: string;
50
+ newLine: boolean;
51
+ whitespace: boolean;
52
+ }
53
+ }
54
+ /**
55
+ * The class splits text in an element into words, letters, and lines.
56
+ * This may be useful when animating the text.
57
+ */
58
+ export declare class SplitText<StaticProp extends NSplitText.StaticProp = NSplitText.StaticProp, ChangeableProp extends NSplitText.ChangeableProp = NSplitText.ChangeableProp, CallbacksTypes extends NSplitText.CallbacksTypes = NSplitText.CallbacksTypes> extends Component<StaticProp, ChangeableProp, CallbacksTypes> {
59
+ protected _getDefaultProp(): DeepRequired<StaticProp & ChangeableProp> & {
60
+ container: string | Element;
61
+ append: {
62
+ letters: boolean;
63
+ words: boolean;
64
+ lines: boolean;
65
+ };
66
+ resizeTimeout: number;
67
+ };
68
+ protected _constructor(): void;
69
+ /**
70
+ * Text container
71
+ */
72
+ protected _container: Element | null;
73
+ /**
74
+ * Get text container
75
+ */
76
+ get container(): Element;
77
+ /**
78
+ * innerHTML of the container
79
+ */
80
+ protected _html: string;
81
+ /**
82
+ * textContent of the container
83
+ */
84
+ protected _text: string | null;
85
+ /**
86
+ * Defines if the text is already split
87
+ */
88
+ protected _isSplit: boolean;
89
+ /**
90
+ * Text letters
91
+ */
92
+ protected _letters: NSplitText.Letter[];
93
+ /**
94
+ * Get text letters
95
+ */
96
+ get letters(): NSplitText.Letter[];
97
+ /**
98
+ * Create split text
99
+ */
100
+ protected _create(): void;
101
+ /**
102
+ * Set events
103
+ */
104
+ protected _setEvents(): void;
105
+ /**
106
+ * Resize the text
107
+ */
108
+ protected _resize(): void;
109
+ /**
110
+ * Split the text
111
+ */
112
+ split(): void;
113
+ /**
114
+ * Split text into words
115
+ */
116
+ protected _splitToWords(text: string): void;
117
+ }
118
+ //# sourceMappingURL=SplitText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplitText.d.ts","sourceRoot":"","sources":["../../../../src/ts/components/split-text/SplitText.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAG7D,OAAO,EAAmB,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAI1E,yBAAiB,UAAU,CAAC;IAExB;;OAEG;IACH,UAAiB,UAAW,SAAQ,UAAU,CAAC,UAAU;QACrD;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAC7B;;;WAGG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,MAAM,CAAC,EAAE;YACL;;;eAGG;YACH,OAAO,EAAE,OAAO,CAAC;YACjB;;;eAGG;YACH,KAAK,EAA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