@design-edito/tools 0.4.0 → 0.4.2

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 (214) hide show
  1. package/agnostic/arrays/index.d.ts +2 -2
  2. package/agnostic/arrays/index.js +2 -2
  3. package/agnostic/colors/channels/index.js +1 -1
  4. package/agnostic/colors/contrast/index.js +1 -1
  5. package/agnostic/colors/convert/index.js +1 -1
  6. package/agnostic/colors/distance/index.js +1 -1
  7. package/agnostic/colors/grayscale/index.js +1 -1
  8. package/agnostic/colors/index.d.ts +4 -4
  9. package/agnostic/colors/index.js +4 -4
  10. package/agnostic/colors/invert/index.js +1 -1
  11. package/agnostic/colors/lerp/index.js +1 -1
  12. package/agnostic/colors/luminance/index.js +1 -1
  13. package/agnostic/colors/palette/index.js +1 -1
  14. package/agnostic/colors/rotate/index.js +1 -1
  15. package/agnostic/colors/tidy/index.js +1 -1
  16. package/agnostic/css/index.d.ts +2 -2
  17. package/agnostic/css/index.js +2 -2
  18. package/agnostic/html/hyper-json/cast/index.js +11 -12
  19. package/agnostic/html/hyper-json/index.js +13 -14
  20. package/agnostic/html/hyper-json/method/index.d.ts +2 -2
  21. package/agnostic/html/hyper-json/serialize/index.js +3 -3
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +11 -12
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +11 -12
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +11 -12
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +11 -12
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +11 -12
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +11 -12
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +11 -12
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +11 -12
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +11 -12
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +11 -12
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +11 -12
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +11 -12
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +11 -12
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +11 -12
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +11 -12
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +11 -11
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +11 -11
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +11 -12
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +11 -12
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +11 -12
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +11 -12
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +11 -12
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +11 -12
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +11 -12
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +11 -12
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +11 -12
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +11 -12
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +11 -12
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +11 -12
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +11 -12
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +11 -12
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +11 -12
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +11 -12
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +11 -12
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +11 -12
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +11 -12
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +11 -12
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +11 -12
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +11 -12
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +11 -12
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +11 -12
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +11 -12
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +11 -12
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +11 -12
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +11 -12
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +11 -12
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +11 -12
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +11 -12
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +11 -12
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +11 -12
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +11 -12
  73. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +11 -12
  74. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +11 -12
  75. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +11 -12
  76. package/agnostic/html/hyper-json/smart-tags/index.d.ts +8 -1
  77. package/agnostic/html/hyper-json/smart-tags/index.js +2 -2
  78. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +3 -1
  79. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +3 -3
  80. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +3 -1
  81. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +3 -3
  82. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +11 -12
  83. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +11 -12
  84. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +11 -12
  85. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +11 -12
  86. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +1 -1
  87. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +1 -1
  88. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +2 -1
  89. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +11 -12
  90. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +3 -1
  91. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +3 -3
  92. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +11 -12
  93. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +11 -12
  94. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +11 -12
  95. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +11 -12
  96. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +11 -12
  97. package/agnostic/html/hyper-json/transformer/index.d.ts +7 -7
  98. package/agnostic/html/hyper-json/transformer/index.js +1 -1
  99. package/agnostic/html/hyper-json/tree/index.js +11 -12
  100. package/agnostic/html/hyper-json/types/index.d.ts +4 -4
  101. package/agnostic/html/hyper-json/utils/index.d.ts +1 -1
  102. package/agnostic/html/hyper-json/utils/index.js +11 -12
  103. package/agnostic/html/index.d.ts +1 -1
  104. package/agnostic/html/index.js +1 -1
  105. package/agnostic/index.d.ts +7 -7
  106. package/agnostic/index.js +7 -7
  107. package/agnostic/misc/crossenv/index.d.ts +1 -1
  108. package/agnostic/misc/crossenv/index.js +1 -1
  109. package/agnostic/misc/index.d.ts +2 -2
  110. package/agnostic/misc/index.js +2 -2
  111. package/agnostic/misc/logs/index.d.ts +1 -1
  112. package/agnostic/misc/logs/index.js +1 -1
  113. package/agnostic/numbers/index.d.ts +1 -1
  114. package/agnostic/numbers/index.js +1 -1
  115. package/agnostic/objects/index.d.ts +2 -2
  116. package/agnostic/objects/index.js +2 -2
  117. package/agnostic/random/index.d.ts +1 -1
  118. package/agnostic/random/index.js +1 -1
  119. package/agnostic/strings/index.d.ts +2 -2
  120. package/agnostic/strings/index.js +2 -2
  121. package/agnostic/strings/replace-all/index.js +14 -3
  122. package/agnostic/time/index.d.ts +1 -1
  123. package/agnostic/time/index.js +1 -1
  124. package/chunks/{chunk-3K4JD65D.js → chunk-AC4UMIWM.js} +3 -9
  125. package/chunks/{chunk-FJH35B3Q.js → chunk-B4HGXMP3.js} +2 -2
  126. package/chunks/{chunk-3JPY46VO.js → chunk-BPKMOVMW.js} +80 -86
  127. package/chunks/{chunk-SPC2SMZR.js → chunk-F2YJXIT7.js} +3 -7
  128. package/chunks/{chunk-UVG2S54P.js → chunk-GG4EFNMU.js} +3 -7
  129. package/chunks/{chunk-QDHET2TE.js → chunk-HYGUIF2O.js} +5 -2
  130. package/chunks/{chunk-3DNVFA25.js → chunk-IEZ3O5OF.js} +2 -0
  131. package/chunks/{chunk-4STX5SQX.js → chunk-LEBGVBYD.js} +9 -2
  132. package/chunks/{chunk-FCABYQRX.js → chunk-MSU7JU63.js} +13 -1
  133. package/chunks/{chunk-H4KLHV6B.js → chunk-O32IRXDX.js} +1 -1
  134. package/chunks/{chunk-KKYEOIJI.js → chunk-PYJKFOMV.js} +3 -5
  135. package/chunks/{chunk-DU6U226H.js → chunk-RJRNYRPM.js} +2 -2
  136. package/chunks/{chunk-OEVSF7D3.js → chunk-XFB4PUXO.js} +3 -7
  137. package/chunks/{chunk-AS4CIZVE.js → chunk-ZJNQRKEJ.js} +3 -7
  138. package/components/BeforeAfter/index.js +3 -5
  139. package/components/Disclaimer/index.js +2 -2
  140. package/components/Drawer/index.js +4 -8
  141. package/components/EventListener/index.js +3 -7
  142. package/components/Gallery/index.js +3 -11
  143. package/components/Image/index.js +5 -9
  144. package/components/IntersectionObserver/index.js +2 -2
  145. package/components/Overlayer/index.d.ts +59 -0
  146. package/components/Overlayer/index.js +67 -0
  147. package/components/Overlayer/styles.module.css +0 -0
  148. package/components/Paginator/index.js +2 -2
  149. package/components/ResizeObserver/index.js +2 -2
  150. package/components/Scrllgngn/index.js +8 -25
  151. package/components/ScrollListener/index.js +4 -6
  152. package/components/Sequencer/index.js +4 -8
  153. package/components/ShadowRoot/index.js +3 -7
  154. package/components/Subtitles/index.js +3 -3
  155. package/components/Theatre/index.js +2 -2
  156. package/components/UIModule/index.js +3 -7
  157. package/components/Video/index.js +8 -10
  158. package/components/index.d.ts +6 -5
  159. package/components/index.js +6 -5
  160. package/components/public-classnames.d.ts +1 -0
  161. package/node/@aws-s3/storage/directory/index.d.ts +1 -1
  162. package/node/@aws-s3/storage/directory/index.js +1 -1
  163. package/node/@aws-s3/storage/file/index.d.ts +3 -3
  164. package/node/@aws-s3/storage/file/index.js +3 -3
  165. package/node/@google-cloud/storage/file/index.d.ts +4 -4
  166. package/node/@google-cloud/storage/file/index.js +4 -4
  167. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +3 -3
  168. package/node/@google-cloud/storage/index.d.ts +1 -1
  169. package/node/@google-cloud/storage/index.js +1 -1
  170. package/node/cloud-storage/operations/index.d.ts +2 -2
  171. package/node/cloud-storage/operations/index.js +2 -2
  172. package/node/files/index.d.ts +1 -1
  173. package/node/files/index.js +1 -1
  174. package/node/ftps/directory/index.d.ts +1 -1
  175. package/node/ftps/directory/index.js +1 -1
  176. package/node/ftps/file/index.d.ts +3 -3
  177. package/node/ftps/file/index.js +3 -3
  178. package/node/images/create/index.js +1 -1
  179. package/node/images/format/index.js +1 -1
  180. package/node/images/metadata/index.js +1 -1
  181. package/node/images/transform/index.js +28 -28
  182. package/node/images/transform/operations/extend/index.js +1 -1
  183. package/node/images/transform/operations/flatten/index.js +1 -1
  184. package/node/images/transform/operations/index.d.ts +4 -4
  185. package/node/images/transform/operations/index.js +4 -4
  186. package/node/images/transform/operations/overlay/index.js +1 -1
  187. package/node/images/transform/operations/resize/index.js +1 -1
  188. package/node/images/transform/operations/rotate/index.js +1 -1
  189. package/node/images/utils/index.js +1 -1
  190. package/node/index.d.ts +2 -2
  191. package/node/index.js +2 -2
  192. package/node/sftp/directory/index.d.ts +1 -1
  193. package/node/sftp/directory/index.js +1 -1
  194. package/node/sftp/file/index.d.ts +2 -2
  195. package/node/sftp/file/index.js +2 -2
  196. package/package.json +8 -1
  197. package/chunks/chunk-EPUHVR7J.js +0 -17
  198. package/components/BeforeAfter/index.css +0 -1
  199. package/components/Disclaimer/index.css +0 -1
  200. package/components/Drawer/index.css +0 -2
  201. package/components/EventListener/index.css +0 -1
  202. package/components/Gallery/index.css +0 -29
  203. package/components/Image/index.css +0 -3
  204. package/components/IntersectionObserver/index.css +0 -1
  205. package/components/Paginator/index.css +0 -10
  206. package/components/ResizeObserver/index.css +0 -1
  207. package/components/Scrllgngn/index.css +0 -69
  208. package/components/ScrollListener/index.css +0 -2
  209. package/components/Sequencer/index.css +0 -2
  210. package/components/ShadowRoot/index.css +0 -1
  211. package/components/Subtitles/index.css +0 -1
  212. package/components/Theatre/index.css +0 -1
  213. package/components/UIModule/index.css +0 -1
  214. package/components/Video/index.css +0 -4
@@ -1,15 +1,15 @@
1
1
  export * as blur from './blur/index.js'
2
2
  export * as brighten from './brighten/index.js'
3
3
  export * as extend from './extend/index.js'
4
+ export * as flatten from './flatten/index.js'
4
5
  export * as extract from './extract/index.js'
5
6
  export * as flip from './flip/index.js'
6
7
  export * as flop from './flop/index.js'
7
- export * as level from './level/index.js'
8
- export * as flatten from './flatten/index.js'
9
8
  export * as hue from './hue/index.js'
10
- export * as lighten from './lighten/index.js'
9
+ export * as level from './level/index.js'
11
10
  export * as overlay from './overlay/index.js'
12
11
  export * as normalize from './normalize/index.js'
12
+ export * as lighten from './lighten/index.js'
13
13
  export * as resize from './resize/index.js'
14
- export * as saturate from './saturate/index.js'
15
14
  export * as rotate from './rotate/index.js'
15
+ export * as saturate from './saturate/index.js'
@@ -6,8 +6,8 @@ import "../../../../../chunks/chunk-HMMPT3UM.js";
6
6
  import "../../../../../chunks/chunk-LUAYN7VJ.js";
7
7
  import "../../../../../chunks/chunk-CVMYA5XK.js";
8
8
  import "../../../../../chunks/chunk-OBSTP7YR.js";
9
- import "../../../../../chunks/chunk-DNIOWD7K.js";
10
9
  import "../../../../../chunks/chunk-HQLRJ7XW.js";
10
+ import "../../../../../chunks/chunk-DNIOWD7K.js";
11
11
  import "../../../../../chunks/chunk-PUQUSA6S.js";
12
12
  import "../../../../../chunks/chunk-OSAXBA7G.js";
13
13
  import "../../../../../chunks/chunk-WSFCRVEQ.js";
@@ -6,8 +6,8 @@ import "../../../../../chunks/chunk-HMMPT3UM.js";
6
6
  import "../../../../../chunks/chunk-LUAYN7VJ.js";
7
7
  import "../../../../../chunks/chunk-CVMYA5XK.js";
8
8
  import "../../../../../chunks/chunk-OBSTP7YR.js";
9
- import "../../../../../chunks/chunk-DNIOWD7K.js";
10
9
  import "../../../../../chunks/chunk-HQLRJ7XW.js";
10
+ import "../../../../../chunks/chunk-DNIOWD7K.js";
11
11
  import "../../../../../chunks/chunk-PUQUSA6S.js";
12
12
  import "../../../../../chunks/chunk-OSAXBA7G.js";
13
13
  import "../../../../../chunks/chunk-WSFCRVEQ.js";
@@ -6,8 +6,8 @@ import "../../../../../chunks/chunk-HMMPT3UM.js";
6
6
  import "../../../../../chunks/chunk-LUAYN7VJ.js";
7
7
  import "../../../../../chunks/chunk-CVMYA5XK.js";
8
8
  import "../../../../../chunks/chunk-OBSTP7YR.js";
9
- import "../../../../../chunks/chunk-DNIOWD7K.js";
10
9
  import "../../../../../chunks/chunk-HQLRJ7XW.js";
10
+ import "../../../../../chunks/chunk-DNIOWD7K.js";
11
11
  import "../../../../../chunks/chunk-PUQUSA6S.js";
12
12
  import "../../../../../chunks/chunk-OSAXBA7G.js";
13
13
  import "../../../../../chunks/chunk-WSFCRVEQ.js";
@@ -6,8 +6,8 @@ import {
6
6
  } from "../../../chunks/chunk-HMMPT3UM.js";
7
7
  import "../../../chunks/chunk-CVMYA5XK.js";
8
8
  import "../../../chunks/chunk-OBSTP7YR.js";
9
- import "../../../chunks/chunk-DNIOWD7K.js";
10
9
  import "../../../chunks/chunk-HQLRJ7XW.js";
10
+ import "../../../chunks/chunk-DNIOWD7K.js";
11
11
  import "../../../chunks/chunk-PUQUSA6S.js";
12
12
  import "../../../chunks/chunk-OSAXBA7G.js";
13
13
  import "../../../chunks/chunk-WSFCRVEQ.js";
package/node/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  export * as awsS3 from './@aws-s3/index.js'
2
2
  export * as designEdito from './@design-edito/index.js'
3
3
  export * as express from './@express/index.js'
4
+ export * as googleCloud from './@google-cloud/index.js'
4
5
  export * as cloudStorage from './cloud-storage/index.js'
5
6
  export * as encryption from './encryption/index.js'
6
7
  export * as files from './files/index.js'
7
8
  export * as ftps from './ftps/index.js'
8
9
  export * as images from './images/index.js'
9
- export * as googleCloud from './@google-cloud/index.js'
10
- export * as sftp from './sftp/index.js'
11
10
  export * as process from './process/index.js'
11
+ export * as sftp from './sftp/index.js'
package/node/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  export * as awsS3 from './@aws-s3/index.js'
2
2
  export * as designEdito from './@design-edito/index.js'
3
3
  export * as express from './@express/index.js'
4
+ export * as googleCloud from './@google-cloud/index.js'
4
5
  export * as cloudStorage from './cloud-storage/index.js'
5
6
  export * as encryption from './encryption/index.js'
6
7
  export * as files from './files/index.js'
7
8
  export * as ftps from './ftps/index.js'
8
9
  export * as images from './images/index.js'
9
- export * as googleCloud from './@google-cloud/index.js'
10
- export * as sftp from './sftp/index.js'
11
10
  export * as process from './process/index.js'
11
+ export * as sftp from './sftp/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
2
  export * as list from './list/index.js'
3
- export * as removeDir from './remove-dir/index.js'
4
3
  export * as moveDir from './move-dir/index.js'
4
+ export * as removeDir from './remove-dir/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
2
  export * as list from './list/index.js'
3
- export * as removeDir from './remove-dir/index.js'
4
3
  export * as moveDir from './move-dir/index.js'
4
+ export * as removeDir from './remove-dir/index.js'
@@ -1,7 +1,7 @@
1
1
  export * as copy from './copy/index.js'
2
2
  export * as download from './download/index.js'
3
- export * as exists from './exists/index.js'
3
+ export * as remove from './remove/index.js'
4
4
  export * as move from './move/index.js'
5
5
  export * as stat from './stat/index.js'
6
+ export * as exists from './exists/index.js'
6
7
  export * as upload from './upload/index.js'
7
- export * as remove from './remove/index.js'
@@ -1,7 +1,7 @@
1
1
  export * as copy from './copy/index.js'
2
2
  export * as download from './download/index.js'
3
- export * as exists from './exists/index.js'
3
+ export * as remove from './remove/index.js'
4
4
  export * as move from './move/index.js'
5
5
  export * as stat from './stat/index.js'
6
+ export * as exists from './exists/index.js'
6
7
  export * as upload from './upload/index.js'
7
- export * as remove from './remove/index.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
@@ -1391,6 +1391,13 @@
1391
1391
  "./components/IntersectionObserver/index.js": {
1392
1392
  "import": "./components/IntersectionObserver/index.js"
1393
1393
  },
1394
+ "./components/Overlayer": {
1395
+ "import": "./components/Overlayer/index.js",
1396
+ "types": "./components/Overlayer/index.d.ts"
1397
+ },
1398
+ "./components/Overlayer/index.js": {
1399
+ "import": "./components/Overlayer/index.js"
1400
+ },
1394
1401
  "./components/Paginator": {
1395
1402
  "import": "./components/Paginator/index.js",
1396
1403
  "types": "./components/Paginator/index.d.ts"
@@ -1,17 +0,0 @@
1
- // src/agnostic/strings/replace-all/index.ts
2
- function replaceAll(input, pattern, replacer) {
3
- console.warn("[DEPRECATED] Use String.replaceAll instead");
4
- const found = Array.from(input.match(pattern) ?? []);
5
- const foundReplaced = typeof replacer === "string" ? found.map(() => replacer) : found.map((e) => replacer(e));
6
- const splitted = input.split(pattern);
7
- const replaced = splitted.map((chunk, chunkPos) => {
8
- const isLast = chunkPos === splitted.length - 1;
9
- if (isLast) return [chunk];
10
- return [chunk, foundReplaced[chunkPos] ?? ""];
11
- }).flat().join("");
12
- return replaced;
13
- }
14
-
15
- export {
16
- replaceAll
17
- };
@@ -1 +0,0 @@
1
- /* src/components/BeforeAfter/styles.module.css */
@@ -1 +0,0 @@
1
- /* src/components/Disclaimer/styles.module.css */
@@ -1,2 +0,0 @@
1
- /* src/components/Drawer/styles.module.css */
2
- /* src/components/ResizeObserver/style.module.css */
@@ -1 +0,0 @@
1
- /* src/components/EventListener/styles.module.css */
@@ -1,29 +0,0 @@
1
- /* src/components/Gallery/styles.module.css */
2
- .styles_scroller {
3
- display: flex;
4
- overflow-x: auto;
5
- scroll-snap-type: x mandatory;
6
- scroll-behavior: smooth;
7
- -webkit-overflow-scrolling: touch;
8
- scrollbar-width: none;
9
- -ms-overflow-style: none;
10
- scrollbar-color: transparent transparent;
11
- }
12
- .styles_scroller::-webkit-scrollbar {
13
- display: none;
14
- height: 0;
15
- }
16
- .styles_scroller::-webkit-scrollbar-track,
17
- .styles_scroller::-webkit-scrollbar-thumb {
18
- background: transparent;
19
- }
20
- .styles_root2.styles_root--controlled .styles_scroller {
21
- overflow-x: hidden;
22
- }
23
- .styles_root2.styles_root--no-snap .styles_scroller {
24
- scroll-snap-type: unset;
25
- scroll-behavior: unset;
26
- }
27
- .styles_slot {
28
- scroll-snap-align: center;
29
- }
@@ -1,3 +0,0 @@
1
- /* src/components/Disclaimer/styles.module.css */
2
- /* src/components/Theatre/styles.module.css */
3
- /* src/components/Image/styles.module.css */
@@ -1 +0,0 @@
1
- /* src/components/IntersectionObserver/styles.module.css */
@@ -1,10 +0,0 @@
1
- /* src/components/Paginator/styles.module.css */
2
- .styles_threshold {
3
- position: fixed;
4
- left: 0px;
5
- right: 0px;
6
- height: 0px;
7
- user-select: none;
8
- pointer-events: none;
9
- z-index: -9999;
10
- }
@@ -1 +0,0 @@
1
- /* src/components/ResizeObserver/style.module.css */
@@ -1,69 +0,0 @@
1
- /* src/components/IntersectionObserver/styles.module.css */
2
- /* src/components/Paginator/styles.module.css */
3
- .styles_threshold {
4
- position: fixed;
5
- left: 0px;
6
- right: 0px;
7
- height: 0px;
8
- user-select: none;
9
- pointer-events: none;
10
- z-index: -9999;
11
- }
12
-
13
- /* src/components/ResizeObserver/style.module.css */
14
-
15
- /* src/components/Scrllgngn/styles.module.css */
16
- .styles_root {
17
- position: relative;
18
- }
19
- .styles_back-blocks {
20
- z-index: 1;
21
- }
22
- .styles_scrolling-content {
23
- z-index: 2;
24
- }
25
- .styles_front-blocks {
26
- z-index: 3;
27
- }
28
- .styles_back-blocks,
29
- .styles_front-blocks,
30
- .styles_root.styles_root--top-visible.styles_root--content-visible .styles_back-blocks,
31
- .styles_root.styles_root--top-visible.styles_root--content-visible .styles_front-blocks {
32
- position: absolute;
33
- top: 0;
34
- left: 0;
35
- right: 0;
36
- height: 100vh;
37
- }
38
- .styles_root.styles_root--content-visible .styles_back-blocks,
39
- .styles_root.styles_root--content-visible .styles_front-blocks,
40
- .styles_root.styles_root--top-visible.styles_root--content-visible.styles_root--force-stick-blocks-before .styles_back-blocks,
41
- .styles_root.styles_root--top-visible.styles_root--content-visible.styles_root--force-stick-blocks-before .styles_front-blocks,
42
- .styles_root.styles_root--top-visible.styles_root--content-visible.styles_root--force-stick-blocks-both .styles_back-blocks,
43
- .styles_root.styles_root--top-visible.styles_root--content-visible.styles_root--force-stick-blocks-both .styles_front-blocks,
44
- .styles_root.styles_root--bottom-visible.styles_root--content-visible.styles_root--force-stick-blocks-after .styles_back-blocks,
45
- .styles_root.styles_root--bottom-visible.styles_root--content-visible.styles_root--force-stick-blocks-after .styles_front-blocks,
46
- .styles_root.styles_root--bottom-visible.styles_root--content-visible.styles_root--force-stick-blocks-both .styles_back-blocks,
47
- .styles_root.styles_root--bottom-visible.styles_root--content-visible.styles_root--force-stick-blocks-both .styles_front-blocks {
48
- position: fixed;
49
- top: 0;
50
- left: var(--PRIVATE-left);
51
- width: var(--PRIVATE-width);
52
- height: 100vh;
53
- }
54
- .styles_root.styles_root--bottom-visible.styles_root--content-visible .styles_back-blocks,
55
- .styles_root.styles_root--bottom-visible.styles_root--content-visible .styles_front-blocks {
56
- position: absolute;
57
- top: calc(var(--PRIVATE-height) - 100vh);
58
- left: 0;
59
- right: 0;
60
- height: 100vh;
61
- }
62
- .styles_back-block,
63
- .styles_front-block {
64
- position: absolute;
65
- top: 0;
66
- bottom: 0;
67
- left: 0;
68
- right: 0;
69
- }
@@ -1,2 +0,0 @@
1
- /* src/components/IntersectionObserver/styles.module.css */
2
- /* src/components/ScrollListener/styles.module.css */
@@ -1,2 +0,0 @@
1
- /* src/components/IntersectionObserver/styles.module.css */
2
- /* src/components/Sequencer/styles.module.css */
@@ -1 +0,0 @@
1
- /* src/components/ShadowRoot/styles.module.css */
@@ -1 +0,0 @@
1
- /* src/components/Subtitles/styles.module.css */
@@ -1 +0,0 @@
1
- /* src/components/Theatre/styles.module.css */
@@ -1 +0,0 @@
1
- /* src/components/UIModule/styles.module.css */
@@ -1,4 +0,0 @@
1
- /* src/components/Disclaimer/styles.module.css */
2
- /* src/components/IntersectionObserver/styles.module.css */
3
- /* src/components/Subtitles/styles.module.css */
4
- /* src/components/Video/styles.module.css */