umaki 0.7.6 → 0.8.0

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 (219) hide show
  1. package/README.md +204 -0
  2. package/dist/index.cjs.js +52 -48
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.es.js +52 -48
  5. package/dist/libs/callback/index.d.ts +5 -0
  6. package/dist/libs/callback/tap-async.cjs.js +8 -0
  7. package/dist/libs/callback/tap-async.d.ts +47 -0
  8. package/dist/libs/callback/tap-async.es.js +8 -0
  9. package/dist/libs/callback/tap.cjs.js +7 -0
  10. package/dist/libs/callback/tap.d.ts +35 -0
  11. package/dist/libs/callback/tap.es.js +7 -0
  12. package/dist/libs/config/{getConfig.cjs.js → get-config.cjs.js} +1 -1
  13. package/dist/libs/config/{getConfig.es.js → get-config.es.js} +1 -1
  14. package/dist/libs/config/index.d.ts +3 -3
  15. package/dist/libs/config/{setConfig.cjs.js → set-config.cjs.js} +1 -1
  16. package/dist/libs/config/{setConfig.es.js → set-config.es.js} +1 -1
  17. package/dist/libs/control/{bgScrollStop.cjs.js → bg-scroll-stop.cjs.js} +1 -1
  18. package/dist/libs/control/{bgScrollStop.es.js → bg-scroll-stop.es.js} +1 -1
  19. package/dist/libs/control/index.d.ts +3 -3
  20. package/dist/libs/control/{videoPlayControl.cjs.js → video-play-control.cjs.js} +1 -1
  21. package/dist/libs/control/{videoPlayControl.es.js → video-play-control.es.js} +1 -1
  22. package/dist/libs/convert/index.d.ts +2 -2
  23. package/dist/libs/get/{getAspectRatio.cjs.js → get-aspect-ratio.cjs.js} +1 -1
  24. package/dist/libs/get/{getAspectRatio.es.js → get-aspect-ratio.es.js} +1 -1
  25. package/dist/libs/get/{getGcd.cjs.js → get-gcd.cjs.js} +1 -1
  26. package/dist/libs/get/{getGcd.es.js → get-gcd.es.js} +1 -1
  27. package/dist/libs/get/{getStylePropertyValueToNumber.cjs.js → get-style-property-value-to-number.cjs.js} +1 -1
  28. package/dist/libs/get/{getStylePropertyValueToNumber.es.js → get-style-property-value-to-number.es.js} +1 -1
  29. package/dist/libs/get/{getUaData.cjs.js → get-ua-data.cjs.js} +1 -1
  30. package/dist/libs/get/{getUaData.es.js → get-ua-data.es.js} +1 -1
  31. package/dist/libs/get/index.d.ts +16 -16
  32. package/dist/libs/is/{checkDeviceSize.cjs.js → check-device-size.cjs.js} +1 -1
  33. package/dist/libs/is/{checkDeviceSize.es.js → check-device-size.es.js} +1 -1
  34. package/dist/libs/is/index.d.ts +9 -9
  35. package/dist/libs/is/{isIpad.cjs.js → is-ipad.cjs.js} +2 -2
  36. package/dist/libs/is/{isIpad.es.js → is-ipad.es.js} +2 -2
  37. package/dist/libs/is/{isSafari.cjs.js → is-safari.cjs.js} +1 -1
  38. package/dist/libs/is/{isSafari.es.js → is-safari.es.js} +1 -1
  39. package/dist/libs/remove/index.d.ts +4 -4
  40. package/dist/libs/security/index.d.ts +1 -1
  41. package/dist/libs/set/index.d.ts +6 -6
  42. package/dist/libs/to/index.d.ts +2 -2
  43. package/dist/libs/transform/index.d.ts +1 -1
  44. package/dist/libs/transform/wrap-text-with-spans.test.d.ts +1 -0
  45. package/dist/libs/wait/index.d.ts +1 -1
  46. package/dist/libs/wait/wait-for-all-media-loaded.test.d.ts +1 -0
  47. package/package.json +1 -1
  48. /package/dist/libs/{control/scrollToHash.test.d.ts → callback/tap-async.test.d.ts} +0 -0
  49. /package/dist/libs/{control/videoPlayControl.test.d.ts → callback/tap.test.d.ts} +0 -0
  50. /package/dist/libs/config/{defaultConfig.cjs.js → default-config.cjs.js} +0 -0
  51. /package/dist/libs/config/{defaultConfig.d.ts → default-config.d.ts} +0 -0
  52. /package/dist/libs/config/{defaultConfig.es.js → default-config.es.js} +0 -0
  53. /package/dist/libs/config/{getConfig.d.ts → get-config.d.ts} +0 -0
  54. /package/dist/libs/config/{setConfig.d.ts → set-config.d.ts} +0 -0
  55. /package/dist/libs/control/{bgScrollStop.d.ts → bg-scroll-stop.d.ts} +0 -0
  56. /package/dist/libs/control/{scrollToHash.cjs.js → scroll-to-hash.cjs.js} +0 -0
  57. /package/dist/libs/control/{scrollToHash.d.ts → scroll-to-hash.d.ts} +0 -0
  58. /package/dist/libs/control/{scrollToHash.es.js → scroll-to-hash.es.js} +0 -0
  59. /package/dist/libs/{convert/changeDateStringToSpecificFormat.test.d.ts → control/scroll-to-hash.test.d.ts} +0 -0
  60. /package/dist/libs/control/{videoPlayControl.d.ts → video-play-control.d.ts} +0 -0
  61. /package/dist/libs/{convert/jsonStringToJsonObject.test.d.ts → control/video-play-control.test.d.ts} +0 -0
  62. /package/dist/libs/convert/{changeDateStringToSpecificFormat.cjs.js → change-date-string-to-specific-format.cjs.js} +0 -0
  63. /package/dist/libs/convert/{changeDateStringToSpecificFormat.d.ts → change-date-string-to-specific-format.d.ts} +0 -0
  64. /package/dist/libs/convert/{changeDateStringToSpecificFormat.es.js → change-date-string-to-specific-format.es.js} +0 -0
  65. /package/dist/libs/{get/getAspectRatio.test.d.ts → convert/change-date-string-to-specific-format.test.d.ts} +0 -0
  66. /package/dist/libs/convert/{jsonStringToJsonObject.cjs.js → json-string-to-json-object.cjs.js} +0 -0
  67. /package/dist/libs/convert/{jsonStringToJsonObject.d.ts → json-string-to-json-object.d.ts} +0 -0
  68. /package/dist/libs/convert/{jsonStringToJsonObject.es.js → json-string-to-json-object.es.js} +0 -0
  69. /package/dist/libs/{get/getClassNames.test.d.ts → convert/json-string-to-json-object.test.d.ts} +0 -0
  70. /package/dist/libs/get/{getAspectRatio.d.ts → get-aspect-ratio.d.ts} +0 -0
  71. /package/dist/libs/get/{getDocumentHeight.test.d.ts → get-aspect-ratio.test.d.ts} +0 -0
  72. /package/dist/libs/get/{getClassNames.cjs.js → get-class-names.cjs.js} +0 -0
  73. /package/dist/libs/get/{getClassNames.d.ts → get-class-names.d.ts} +0 -0
  74. /package/dist/libs/get/{getClassNames.es.js → get-class-names.es.js} +0 -0
  75. /package/dist/libs/get/{getGcd.test.d.ts → get-class-names.test.d.ts} +0 -0
  76. /package/dist/libs/get/{getDocumentHeight.cjs.js → get-document-height.cjs.js} +0 -0
  77. /package/dist/libs/get/{getDocumentHeight.d.ts → get-document-height.d.ts} +0 -0
  78. /package/dist/libs/get/{getDocumentHeight.es.js → get-document-height.es.js} +0 -0
  79. /package/dist/libs/get/{getGravatarUrl.test.d.ts → get-document-height.test.d.ts} +0 -0
  80. /package/dist/libs/get/{getEventPaths.cjs.js → get-event-paths.cjs.js} +0 -0
  81. /package/dist/libs/get/{getEventPaths.d.ts → get-event-paths.d.ts} +0 -0
  82. /package/dist/libs/get/{getEventPaths.es.js → get-event-paths.es.js} +0 -0
  83. /package/dist/libs/get/{getGcd.d.ts → get-gcd.d.ts} +0 -0
  84. /package/dist/libs/get/{getOrientation.test.d.ts → get-gcd.test.d.ts} +0 -0
  85. /package/dist/libs/get/{getGravatarUrl.cjs.js → get-gravatar-url.cjs.js} +0 -0
  86. /package/dist/libs/get/{getGravatarUrl.d.ts → get-gravatar-url.d.ts} +0 -0
  87. /package/dist/libs/get/{getGravatarUrl.es.js → get-gravatar-url.es.js} +0 -0
  88. /package/dist/libs/get/{getParentList.test.d.ts → get-gravatar-url.test.d.ts} +0 -0
  89. /package/dist/libs/get/{getImageSize.d.ts → get-image-size.d.ts} +0 -0
  90. /package/dist/libs/get/{getOrientation.cjs.js → get-orientation.cjs.js} +0 -0
  91. /package/dist/libs/get/{getOrientation.d.ts → get-orientation.d.ts} +0 -0
  92. /package/dist/libs/get/{getOrientation.es.js → get-orientation.es.js} +0 -0
  93. /package/dist/libs/get/{getPath.test.d.ts → get-orientation.test.d.ts} +0 -0
  94. /package/dist/libs/get/{getParentList.cjs.js → get-parent-list.cjs.js} +0 -0
  95. /package/dist/libs/get/{getParentList.d.ts → get-parent-list.d.ts} +0 -0
  96. /package/dist/libs/get/{getParentList.es.js → get-parent-list.es.js} +0 -0
  97. /package/dist/libs/get/{getPathFromLocalPublic.test.d.ts → get-parent-list.test.d.ts} +0 -0
  98. /package/dist/libs/get/{getPathFromLocalPublic.d.ts → get-path-from-local-public.d.ts} +0 -0
  99. /package/dist/libs/get/{getQueryParams.test.d.ts → get-path-from-local-public.test.d.ts} +0 -0
  100. /package/dist/libs/get/{getPath.d.ts → get-path.d.ts} +0 -0
  101. /package/dist/libs/get/{getRem.test.d.ts → get-path.test.d.ts} +0 -0
  102. /package/dist/libs/get/{getQueryParams.cjs.js → get-query-params.cjs.js} +0 -0
  103. /package/dist/libs/get/{getQueryParams.d.ts → get-query-params.d.ts} +0 -0
  104. /package/dist/libs/get/{getQueryParams.es.js → get-query-params.es.js} +0 -0
  105. /package/dist/libs/get/{getScrollbarWidth.test.d.ts → get-query-params.test.d.ts} +0 -0
  106. /package/dist/libs/get/{getRem.cjs.js → get-rem.cjs.js} +0 -0
  107. /package/dist/libs/get/{getRem.d.ts → get-rem.d.ts} +0 -0
  108. /package/dist/libs/get/{getRem.es.js → get-rem.es.js} +0 -0
  109. /package/dist/libs/get/{getSessionStorage.test.d.ts → get-rem.test.d.ts} +0 -0
  110. /package/dist/libs/get/{getScrollbarWidth.cjs.js → get-scrollbar-width.cjs.js} +0 -0
  111. /package/dist/libs/get/{getScrollbarWidth.d.ts → get-scrollbar-width.d.ts} +0 -0
  112. /package/dist/libs/get/{getScrollbarWidth.es.js → get-scrollbar-width.es.js} +0 -0
  113. /package/dist/libs/get/{getStringLength.test.d.ts → get-scrollbar-width.test.d.ts} +0 -0
  114. /package/dist/libs/get/{getSessionStorage.cjs.js → get-session-storage.cjs.js} +0 -0
  115. /package/dist/libs/get/{getSessionStorage.d.ts → get-session-storage.d.ts} +0 -0
  116. /package/dist/libs/get/{getSessionStorage.es.js → get-session-storage.es.js} +0 -0
  117. /package/dist/libs/get/{getStylePropertyValue.test.d.ts → get-session-storage.test.d.ts} +0 -0
  118. /package/dist/libs/get/{getStringLength.cjs.js → get-string-length.cjs.js} +0 -0
  119. /package/dist/libs/get/{getStringLength.d.ts → get-string-length.d.ts} +0 -0
  120. /package/dist/libs/get/{getStringLength.es.js → get-string-length.es.js} +0 -0
  121. /package/dist/libs/get/{getStylePropertyValueToNumber.test.d.ts → get-string-length.test.d.ts} +0 -0
  122. /package/dist/libs/get/{getStylePropertyValueToNumber.d.ts → get-style-property-value-to-number.d.ts} +0 -0
  123. /package/dist/libs/get/{getUaData.test.d.ts → get-style-property-value-to-number.test.d.ts} +0 -0
  124. /package/dist/libs/get/{getStylePropertyValue.cjs.js → get-style-property-value.cjs.js} +0 -0
  125. /package/dist/libs/get/{getStylePropertyValue.d.ts → get-style-property-value.d.ts} +0 -0
  126. /package/dist/libs/get/{getStylePropertyValue.es.js → get-style-property-value.es.js} +0 -0
  127. /package/dist/libs/{is/checkDeviceSize.test.d.ts → get/get-style-property-value.test.d.ts} +0 -0
  128. /package/dist/libs/get/{getUaData.d.ts → get-ua-data.d.ts} +0 -0
  129. /package/dist/libs/{is/isAfterDateTime.test.d.ts → get/get-ua-data.test.d.ts} +0 -0
  130. /package/dist/libs/is/{checkDeviceSize.d.ts → check-device-size.d.ts} +0 -0
  131. /package/dist/libs/is/{isBetweenDateTime.test.d.ts → check-device-size.test.d.ts} +0 -0
  132. /package/dist/libs/is/{isAfterDateTime.cjs.js → is-after-date-time.cjs.js} +0 -0
  133. /package/dist/libs/is/{isAfterDateTime.d.ts → is-after-date-time.d.ts} +0 -0
  134. /package/dist/libs/is/{isAfterDateTime.es.js → is-after-date-time.es.js} +0 -0
  135. /package/dist/libs/is/{isExistAllElements.test.d.ts → is-after-date-time.test.d.ts} +0 -0
  136. /package/dist/libs/is/{isBetweenDateTime.cjs.js → is-between-date-time.cjs.js} +0 -0
  137. /package/dist/libs/is/{isBetweenDateTime.d.ts → is-between-date-time.d.ts} +0 -0
  138. /package/dist/libs/is/{isBetweenDateTime.es.js → is-between-date-time.es.js} +0 -0
  139. /package/dist/libs/is/{isIpad.test.d.ts → is-between-date-time.test.d.ts} +0 -0
  140. /package/dist/libs/is/{isExistAllElements.cjs.js → is-exist-all-elements.cjs.js} +0 -0
  141. /package/dist/libs/is/{isExistAllElements.d.ts → is-exist-all-elements.d.ts} +0 -0
  142. /package/dist/libs/is/{isExistAllElements.es.js → is-exist-all-elements.es.js} +0 -0
  143. /package/dist/libs/is/{isKeyExists.test.d.ts → is-exist-all-elements.test.d.ts} +0 -0
  144. /package/dist/libs/is/{isIpad.d.ts → is-ipad.d.ts} +0 -0
  145. /package/dist/libs/is/{isProduction.test.d.ts → is-ipad.test.d.ts} +0 -0
  146. /package/dist/libs/is/{isKeyExists.cjs.js → is-key-exists.cjs.js} +0 -0
  147. /package/dist/libs/is/{isKeyExists.d.ts → is-key-exists.d.ts} +0 -0
  148. /package/dist/libs/is/{isKeyExists.es.js → is-key-exists.es.js} +0 -0
  149. /package/dist/libs/is/{isSafari.test.d.ts → is-key-exists.test.d.ts} +0 -0
  150. /package/dist/libs/is/{isProduction.d.ts → is-production.d.ts} +0 -0
  151. /package/dist/libs/is/{isScrollable.test.d.ts → is-production.test.d.ts} +0 -0
  152. /package/dist/libs/is/{isSafari.d.ts → is-safari.d.ts} +0 -0
  153. /package/dist/libs/is/{isTouchSupport.test.d.ts → is-safari.test.d.ts} +0 -0
  154. /package/dist/libs/is/{isScrollable.cjs.js → is-scrollable.cjs.js} +0 -0
  155. /package/dist/libs/is/{isScrollable.d.ts → is-scrollable.d.ts} +0 -0
  156. /package/dist/libs/is/{isScrollable.es.js → is-scrollable.es.js} +0 -0
  157. /package/dist/libs/{remove/removeAllHtmlTags.test.d.ts → is/is-scrollable.test.d.ts} +0 -0
  158. /package/dist/libs/is/{isTouchSupport.cjs.js → is-touch-support.cjs.js} +0 -0
  159. /package/dist/libs/is/{isTouchSupport.d.ts → is-touch-support.d.ts} +0 -0
  160. /package/dist/libs/is/{isTouchSupport.es.js → is-touch-support.es.js} +0 -0
  161. /package/dist/libs/{remove/removeAttribute.test.d.ts → is/is-touch-support.test.d.ts} +0 -0
  162. /package/dist/libs/remove/{removeAllHtmlTags.cjs.js → remove-all-html-tags.cjs.js} +0 -0
  163. /package/dist/libs/remove/{removeAllHtmlTags.d.ts → remove-all-html-tags.d.ts} +0 -0
  164. /package/dist/libs/remove/{removeAllHtmlTags.es.js → remove-all-html-tags.es.js} +0 -0
  165. /package/dist/libs/remove/{removeSessionStorage.test.d.ts → remove-all-html-tags.test.d.ts} +0 -0
  166. /package/dist/libs/remove/{removeAttribute.cjs.js → remove-attribute.cjs.js} +0 -0
  167. /package/dist/libs/remove/{removeAttribute.d.ts → remove-attribute.d.ts} +0 -0
  168. /package/dist/libs/remove/{removeAttribute.es.js → remove-attribute.es.js} +0 -0
  169. /package/dist/libs/remove/{removeStylePropertyValue.test.d.ts → remove-attribute.test.d.ts} +0 -0
  170. /package/dist/libs/remove/{removeSessionStorage.cjs.js → remove-session-storage.cjs.js} +0 -0
  171. /package/dist/libs/remove/{removeSessionStorage.d.ts → remove-session-storage.d.ts} +0 -0
  172. /package/dist/libs/remove/{removeSessionStorage.es.js → remove-session-storage.es.js} +0 -0
  173. /package/dist/libs/{security/htmlSanitize.test.d.ts → remove/remove-session-storage.test.d.ts} +0 -0
  174. /package/dist/libs/remove/{removeStylePropertyValue.cjs.js → remove-style-property-value.cjs.js} +0 -0
  175. /package/dist/libs/remove/{removeStylePropertyValue.d.ts → remove-style-property-value.d.ts} +0 -0
  176. /package/dist/libs/remove/{removeStylePropertyValue.es.js → remove-style-property-value.es.js} +0 -0
  177. /package/dist/libs/{set/set100vh.test.d.ts → remove/remove-style-property-value.test.d.ts} +0 -0
  178. /package/dist/libs/security/{htmlSanitize.cjs.js → html-sanitize.cjs.js} +0 -0
  179. /package/dist/libs/security/{htmlSanitize.d.ts → html-sanitize.d.ts} +0 -0
  180. /package/dist/libs/security/{htmlSanitize.es.js → html-sanitize.es.js} +0 -0
  181. /package/dist/libs/{set/set100vw.test.d.ts → security/html-sanitize.test.d.ts} +0 -0
  182. /package/dist/libs/set/{set100vh.cjs.js → set-100vh.cjs.js} +0 -0
  183. /package/dist/libs/set/{set100vh.d.ts → set-100vh.d.ts} +0 -0
  184. /package/dist/libs/set/{set100vh.es.js → set-100vh.es.js} +0 -0
  185. /package/dist/libs/set/{setAttribute.test.d.ts → set-100vh.test.d.ts} +0 -0
  186. /package/dist/libs/set/{set100vw.cjs.js → set-100vw.cjs.js} +0 -0
  187. /package/dist/libs/set/{set100vw.d.ts → set-100vw.d.ts} +0 -0
  188. /package/dist/libs/set/{set100vw.es.js → set-100vw.es.js} +0 -0
  189. /package/dist/libs/set/{setScrollPositionToCenter.test.d.ts → set-100vw.test.d.ts} +0 -0
  190. /package/dist/libs/set/{setAttribute.cjs.js → set-attribute.cjs.js} +0 -0
  191. /package/dist/libs/set/{setAttribute.d.ts → set-attribute.d.ts} +0 -0
  192. /package/dist/libs/set/{setAttribute.es.js → set-attribute.es.js} +0 -0
  193. /package/dist/libs/set/{setSessionStorage.test.d.ts → set-attribute.test.d.ts} +0 -0
  194. /package/dist/libs/set/{setScrollPositionToCenter.cjs.js → set-scroll-position-to-center.cjs.js} +0 -0
  195. /package/dist/libs/set/{setScrollPositionToCenter.d.ts → set-scroll-position-to-center.d.ts} +0 -0
  196. /package/dist/libs/set/{setScrollPositionToCenter.es.js → set-scroll-position-to-center.es.js} +0 -0
  197. /package/dist/libs/set/{setStylePropertyValue.test.d.ts → set-scroll-position-to-center.test.d.ts} +0 -0
  198. /package/dist/libs/set/{setSessionStorage.cjs.js → set-session-storage.cjs.js} +0 -0
  199. /package/dist/libs/set/{setSessionStorage.d.ts → set-session-storage.d.ts} +0 -0
  200. /package/dist/libs/set/{setSessionStorage.es.js → set-session-storage.es.js} +0 -0
  201. /package/dist/libs/{to/toBoolean.test.d.ts → set/set-session-storage.test.d.ts} +0 -0
  202. /package/dist/libs/set/{setStylePropertyValue.cjs.js → set-style-property-value.cjs.js} +0 -0
  203. /package/dist/libs/set/{setStylePropertyValue.d.ts → set-style-property-value.d.ts} +0 -0
  204. /package/dist/libs/set/{setStylePropertyValue.es.js → set-style-property-value.es.js} +0 -0
  205. /package/dist/libs/{to/toPositiveNumber.test.d.ts → set/set-style-property-value.test.d.ts} +0 -0
  206. /package/dist/libs/to/{toBoolean.cjs.js → to-boolean.cjs.js} +0 -0
  207. /package/dist/libs/to/{toBoolean.d.ts → to-boolean.d.ts} +0 -0
  208. /package/dist/libs/to/{toBoolean.es.js → to-boolean.es.js} +0 -0
  209. /package/dist/libs/{transform/wrapTextWithSpans.test.d.ts → to/to-boolean.test.d.ts} +0 -0
  210. /package/dist/libs/to/{toPositiveNumber.cjs.js → to-positive-number.cjs.js} +0 -0
  211. /package/dist/libs/to/{toPositiveNumber.d.ts → to-positive-number.d.ts} +0 -0
  212. /package/dist/libs/to/{toPositiveNumber.es.js → to-positive-number.es.js} +0 -0
  213. /package/dist/libs/{wait/waitForAllMediaLoaded.test.d.ts → to/to-positive-number.test.d.ts} +0 -0
  214. /package/dist/libs/transform/{wrapTextWithSpans.cjs.js → wrap-text-with-spans.cjs.js} +0 -0
  215. /package/dist/libs/transform/{wrapTextWithSpans.d.ts → wrap-text-with-spans.d.ts} +0 -0
  216. /package/dist/libs/transform/{wrapTextWithSpans.es.js → wrap-text-with-spans.es.js} +0 -0
  217. /package/dist/libs/wait/{waitForAllMediaLoaded.cjs.js → wait-for-all-media-loaded.cjs.js} +0 -0
  218. /package/dist/libs/wait/{waitForAllMediaLoaded.d.ts → wait-for-all-media-loaded.d.ts} +0 -0
  219. /package/dist/libs/wait/{waitForAllMediaLoaded.es.js → wait-for-all-media-loaded.es.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { getScrollbarWidth } from "../get/getScrollbarWidth.es.js";
1
+ import { getScrollbarWidth } from "../get/get-scrollbar-width.es.js";
2
2
  const bgScrollStop = (isStop = true) => {
3
3
  document.body.style.paddingRight = isStop ? `${getScrollbarWidth()}px` : "";
4
4
  if (isStop) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Control functions
3
3
  */
4
- export { bgScrollStop } from './bgScrollStop';
4
+ export { bgScrollStop } from './bg-scroll-stop';
5
5
  export { pd } from './pd';
6
- export { scrollToHash } from './scrollToHash';
7
- export { videoPlayControl } from './videoPlayControl';
6
+ export { scrollToHash } from './scroll-to-hash';
7
+ export { videoPlayControl } from './video-play-control';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const toBoolean = require("../to/toBoolean.cjs.js");
3
+ const toBoolean = require("../to/to-boolean.cjs.js");
4
4
  const videoPlayControl = async (videoElement, state, currentTime) => {
5
5
  if (state && videoElement.paused) {
6
6
  const isPlaying = toBoolean.toBoolean(videoElement.dataset.playing);
@@ -1,4 +1,4 @@
1
- import { toBoolean } from "../to/toBoolean.es.js";
1
+ import { toBoolean } from "../to/to-boolean.es.js";
2
2
  const videoPlayControl = async (videoElement, state, currentTime) => {
3
3
  if (state && videoElement.paused) {
4
4
  const isPlaying = toBoolean(videoElement.dataset.playing);
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Convert functions
3
3
  */
4
- export { changeDateStringToSpecificFormat } from './changeDateStringToSpecificFormat';
5
- export { jsonStringToJsonObject } from './jsonStringToJsonObject';
4
+ export { changeDateStringToSpecificFormat } from './change-date-string-to-specific-format';
5
+ export { jsonStringToJsonObject } from './json-string-to-json-object';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const getGcd = require("./getGcd.cjs.js");
3
+ const getGcd = require("./get-gcd.cjs.js");
4
4
  const getAspectRatio = (w, h) => {
5
5
  const gcd = getGcd.getGcd(w, h);
6
6
  return { w: w / gcd, h: h / gcd };
@@ -1,4 +1,4 @@
1
- import { getGcd } from "./getGcd.es.js";
1
+ import { getGcd } from "./get-gcd.es.js";
2
2
  const getAspectRatio = (w, h) => {
3
3
  const gcd = getGcd(w, h);
4
4
  return { w: w / gcd, h: h / gcd };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const toPositiveNumber = require("../to/toPositiveNumber.cjs.js");
3
+ const toPositiveNumber = require("../to/to-positive-number.cjs.js");
4
4
  const getGcd = (a, b) => {
5
5
  const positiveA = toPositiveNumber.toPositiveNumber(Math.abs(a));
6
6
  const positiveB = toPositiveNumber.toPositiveNumber(Math.abs(b));
@@ -1,4 +1,4 @@
1
- import { toPositiveNumber } from "../to/toPositiveNumber.es.js";
1
+ import { toPositiveNumber } from "../to/to-positive-number.es.js";
2
2
  const getGcd = (a, b) => {
3
3
  const positiveA = toPositiveNumber(Math.abs(a));
4
4
  const positiveB = toPositiveNumber(Math.abs(b));
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const getStylePropertyValue = require("./getStylePropertyValue.cjs.js");
3
+ const getStylePropertyValue = require("./get-style-property-value.cjs.js");
4
4
  const getStylePropertyValueToNumber = (key) => Number.parseInt(getStylePropertyValue.getStylePropertyValue(key), 10) || 0;
5
5
  exports.getStylePropertyValueToNumber = getStylePropertyValueToNumber;
@@ -1,4 +1,4 @@
1
- import { getStylePropertyValue } from "./getStylePropertyValue.es.js";
1
+ import { getStylePropertyValue } from "./get-style-property-value.es.js";
2
2
  const getStylePropertyValueToNumber = (key) => Number.parseInt(getStylePropertyValue(key), 10) || 0;
3
3
  export {
4
4
  getStylePropertyValueToNumber
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const isTouchSupport = require("../is/isTouchSupport.cjs.js");
3
+ const isTouchSupport = require("../is/is-touch-support.cjs.js");
4
4
  const UAParser = require("ua-parser-js");
5
5
  const getUaData = () => {
6
6
  const parser = new UAParser();
@@ -1,4 +1,4 @@
1
- import { isTouchSupport } from "../is/isTouchSupport.es.js";
1
+ import { isTouchSupport } from "../is/is-touch-support.es.js";
2
2
  import UAParser from "ua-parser-js";
3
3
  const getUaData = () => {
4
4
  const parser = new UAParser();
@@ -1,19 +1,19 @@
1
1
  /**
2
2
  * Get functions
3
3
  */
4
- export { getAspectRatio } from './getAspectRatio';
5
- export { getClassNames } from './getClassNames';
6
- export { getDocumentHeight } from './getDocumentHeight';
7
- export { getEventPaths } from './getEventPaths';
8
- export { getGcd } from './getGcd';
9
- export { getGravatarUrl } from './getGravatarUrl';
10
- export { getOrientation } from './getOrientation';
11
- export { getParentList } from './getParentList';
12
- export { getQueryParams } from './getQueryParams';
13
- export { getRem } from './getRem';
14
- export { getScrollbarWidth } from './getScrollbarWidth';
15
- export { getSessionStorage } from './getSessionStorage';
16
- export { getStringLength } from './getStringLength';
17
- export { getStylePropertyValue } from './getStylePropertyValue';
18
- export { getStylePropertyValueToNumber } from './getStylePropertyValueToNumber';
19
- export { getUaData } from './getUaData';
4
+ export { getAspectRatio } from './get-aspect-ratio';
5
+ export { getClassNames } from './get-class-names';
6
+ export { getDocumentHeight } from './get-document-height';
7
+ export { getEventPaths } from './get-event-paths';
8
+ export { getGcd } from './get-gcd';
9
+ export { getGravatarUrl } from './get-gravatar-url';
10
+ export { getOrientation } from './get-orientation';
11
+ export { getParentList } from './get-parent-list';
12
+ export { getQueryParams } from './get-query-params';
13
+ export { getRem } from './get-rem';
14
+ export { getScrollbarWidth } from './get-scrollbar-width';
15
+ export { getSessionStorage } from './get-session-storage';
16
+ export { getStringLength } from './get-string-length';
17
+ export { getStylePropertyValue } from './get-style-property-value';
18
+ export { getStylePropertyValueToNumber } from './get-style-property-value-to-number';
19
+ export { getUaData } from './get-ua-data';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const getConfig = require("../config/getConfig.cjs.js");
3
+ const getConfig = require("../config/get-config.cjs.js");
4
4
  const checkDeviceSize = () => {
5
5
  const breakpoint = getConfig.getConfigValue("BREAKPOINT");
6
6
  if (typeof window !== "undefined") {
@@ -1,4 +1,4 @@
1
- import { getConfigValue } from "../config/getConfig.es.js";
1
+ import { getConfigValue } from "../config/get-config.es.js";
2
2
  const checkDeviceSize = () => {
3
3
  const breakpoint = getConfigValue("BREAKPOINT");
4
4
  if (typeof window !== "undefined") {
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Is functions
3
3
  */
4
- export { checkDeviceSize } from './checkDeviceSize';
5
- export { isAfterDateTime } from './isAfterDateTime';
6
- export { isBetweenDateTime } from './isBetweenDateTime';
7
- export { isExistAllElements } from './isExistAllElements';
8
- export { isIpad } from './isIpad';
9
- export { isKeyExists } from './isKeyExists';
10
- export { isSafari } from './isSafari';
11
- export { isScrollable } from './isScrollable';
12
- export { isTouchSupport } from './isTouchSupport';
4
+ export { checkDeviceSize } from './check-device-size';
5
+ export { isAfterDateTime } from './is-after-date-time';
6
+ export { isBetweenDateTime } from './is-between-date-time';
7
+ export { isExistAllElements } from './is-exist-all-elements';
8
+ export { isIpad } from './is-ipad';
9
+ export { isKeyExists } from './is-key-exists';
10
+ export { isSafari } from './is-safari';
11
+ export { isScrollable } from './is-scrollable';
12
+ export { isTouchSupport } from './is-touch-support';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const getOrientation = require("../get/getOrientation.cjs.js");
4
- const getUaData = require("../get/getUaData.cjs.js");
3
+ const getOrientation = require("../get/get-orientation.cjs.js");
4
+ const getUaData = require("../get/get-ua-data.cjs.js");
5
5
  const isIpad = (orientation = "portrait") => {
6
6
  const clientData = getUaData.getUaData();
7
7
  if (!clientData.touchSupport) return false;
@@ -1,5 +1,5 @@
1
- import { getOrientation } from "../get/getOrientation.es.js";
2
- import { getUaData } from "../get/getUaData.es.js";
1
+ import { getOrientation } from "../get/get-orientation.es.js";
2
+ import { getUaData } from "../get/get-ua-data.es.js";
3
3
  const isIpad = (orientation = "portrait") => {
4
4
  const clientData = getUaData();
5
5
  if (!clientData.touchSupport) return false;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const getUaData = require("../get/getUaData.cjs.js");
3
+ const getUaData = require("../get/get-ua-data.cjs.js");
4
4
  const isSafari = (includeMobileSafari = true) => {
5
5
  const clientData = getUaData.getUaData();
6
6
  if (includeMobileSafari) {
@@ -1,4 +1,4 @@
1
- import { getUaData } from "../get/getUaData.es.js";
1
+ import { getUaData } from "../get/get-ua-data.es.js";
2
2
  const isSafari = (includeMobileSafari = true) => {
3
3
  const clientData = getUaData();
4
4
  if (includeMobileSafari) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Remove functions
3
3
  */
4
- export { removeAllHtmlTags } from './removeAllHtmlTags';
5
- export { removeAttribute } from './removeAttribute';
6
- export { removeSessionStorage } from './removeSessionStorage';
7
- export { removeStylePropertyValue } from './removeStylePropertyValue';
4
+ export { removeAllHtmlTags } from './remove-all-html-tags';
5
+ export { removeAttribute } from './remove-attribute';
6
+ export { removeSessionStorage } from './remove-session-storage';
7
+ export { removeStylePropertyValue } from './remove-style-property-value';
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Security functions
3
3
  */
4
- export { htmlSanitize } from './htmlSanitize';
4
+ export { htmlSanitize } from './html-sanitize';
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Set functions
3
3
  */
4
- export { set100vh } from './set100vh';
5
- export { set100vw } from './set100vw';
6
- export { setAttribute } from './setAttribute';
7
- export { setScrollPositionToCenter } from './setScrollPositionToCenter';
8
- export { setSessionStorage } from './setSessionStorage';
9
- export { setStylePropertyValue } from './setStylePropertyValue';
4
+ export { set100vh } from './set-100vh';
5
+ export { set100vw } from './set-100vw';
6
+ export { setAttribute } from './set-attribute';
7
+ export { setScrollPositionToCenter } from './set-scroll-position-to-center';
8
+ export { setSessionStorage } from './set-session-storage';
9
+ export { setStylePropertyValue } from './set-style-property-value';
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * To functions
3
3
  */
4
- export { toBoolean } from './toBoolean';
5
- export { toPositiveNumber } from './toPositiveNumber';
4
+ export { toBoolean } from './to-boolean';
5
+ export { toPositiveNumber } from './to-positive-number';
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Transform functions
3
3
  */
4
- export { wrapTextWithSpans } from './wrapTextWithSpans';
4
+ export { wrapTextWithSpans } from './wrap-text-with-spans';
@@ -0,0 +1 @@
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  * Wait functions
3
3
  */
4
4
  export { sleep } from './sleep';
5
- export { waitForAllMediaLoaded } from './waitForAllMediaLoaded';
5
+ export { waitForAllMediaLoaded } from './wait-for-all-media-loaded';
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umaki",
3
- "version": "0.7.6",
3
+ "version": "0.8.0",
4
4
  "description": "A utility that is often used in web production.",
5
5
  "author": "TsubasaHiga",
6
6
  "homepage": "https://github.com/TsubasaHiga/umaki",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes