@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,2 +1,2 @@
1
- export * as window from './window/index.js'
2
1
  export * as detectRuntime from './detect-runtime/index.js'
2
+ export * as window from './window/index.js'
@@ -1,11 +1,11 @@
1
1
  export * as assert from './assert/index.js'
2
2
  export * as cast from './cast/index.js'
3
+ export * as connection from './connection/index.js'
3
4
  export * as crawler from './crawler/index.js'
4
5
  export * as crossenv from './crossenv/index.js'
5
- export * as connection from './connection/index.js'
6
6
  export * as dataSize from './data-size/index.js'
7
- export * as isNullish from './is-nullish/index.js'
8
7
  export * as isConstructorFunction from './is-constructor-function/index.js'
8
+ export * as isNullish from './is-nullish/index.js'
9
9
  export * as logs from './logs/index.js'
10
10
  export * as loremIpsum from './lorem-ipsum/index.js'
11
11
  export * as normalizeExtension from './normalize-extension/index.js'
@@ -1,11 +1,11 @@
1
1
  export * as assert from './assert/index.js'
2
2
  export * as cast from './cast/index.js'
3
+ export * as connection from './connection/index.js'
3
4
  export * as crawler from './crawler/index.js'
4
5
  export * as crossenv from './crossenv/index.js'
5
- export * as connection from './connection/index.js'
6
6
  export * as dataSize from './data-size/index.js'
7
- export * as isNullish from './is-nullish/index.js'
8
7
  export * as isConstructorFunction from './is-constructor-function/index.js'
8
+ export * as isNullish from './is-nullish/index.js'
9
9
  export * as logs from './logs/index.js'
10
10
  export * as loremIpsum from './lorem-ipsum/index.js'
11
11
  export * as normalizeExtension from './normalize-extension/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as logger from './logger/index.js'
2
- export * as makeTextBlock from './make-text-block/index.js'
3
2
  export * as styles from './styles/index.js'
3
+ export * as makeTextBlock from './make-text-block/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as logger from './logger/index.js'
2
- export * as makeTextBlock from './make-text-block/index.js'
3
2
  export * as styles from './styles/index.js'
3
+ export * as makeTextBlock from './make-text-block/index.js'
@@ -2,5 +2,5 @@ export * as approximateRational from './approximate-rational/index.js'
2
2
  export * as absoluteModulo from './absolute-modulo/index.js'
3
3
  export * as clamp from './clamp/index.js'
4
4
  export * as geometricProgressions from './geometric-progressions/index.js'
5
- export * as round from './round/index.js'
6
5
  export * as interpolate from './interpolate/index.js'
6
+ export * as round from './round/index.js'
@@ -2,5 +2,5 @@ export * as approximateRational from './approximate-rational/index.js'
2
2
  export * as absoluteModulo from './absolute-modulo/index.js'
3
3
  export * as clamp from './clamp/index.js'
4
4
  export * as geometricProgressions from './geometric-progressions/index.js'
5
- export * as round from './round/index.js'
6
5
  export * as interpolate from './interpolate/index.js'
6
+ export * as round from './round/index.js'
@@ -1,9 +1,9 @@
1
1
  export * as deepGetProperty from './deep-get-property/index.js'
2
2
  export * as enums from './enums/index.js'
3
- export * as flattenGetters from './flatten-getters/index.js'
4
3
  export * as isObject from './is-object/index.js'
5
- export * as recordFormat from './record-format/index.js'
6
4
  export * as isRecord from './is-record/index.js'
5
+ export * as flattenGetters from './flatten-getters/index.js'
6
+ export * as recordFormat from './record-format/index.js'
7
7
  export * as recordMap from './record-map/index.js'
8
8
  export * as sortKeys from './sort-keys/index.js'
9
9
  export * as validation from './validation/index.js'
@@ -1,9 +1,9 @@
1
1
  export * as deepGetProperty from './deep-get-property/index.js'
2
2
  export * as enums from './enums/index.js'
3
- export * as flattenGetters from './flatten-getters/index.js'
4
3
  export * as isObject from './is-object/index.js'
5
- export * as recordFormat from './record-format/index.js'
6
4
  export * as isRecord from './is-record/index.js'
5
+ export * as flattenGetters from './flatten-getters/index.js'
6
+ export * as recordFormat from './record-format/index.js'
7
7
  export * as recordMap from './record-map/index.js'
8
8
  export * as sortKeys from './sort-keys/index.js'
9
9
  export * as validation from './validation/index.js'
@@ -1,3 +1,3 @@
1
- export * as hexChar from './hex-char/index.js'
2
1
  export * as random from './random/index.js'
3
2
  export * as uuid from './uuid/index.js'
3
+ export * as hexChar from './hex-char/index.js'
@@ -1,3 +1,3 @@
1
- export * as hexChar from './hex-char/index.js'
2
1
  export * as random from './random/index.js'
3
2
  export * as uuid from './uuid/index.js'
3
+ export * as hexChar from './hex-char/index.js'
@@ -1,7 +1,7 @@
1
1
  export * as charCodes from './char-codes/index.js'
2
2
  export * as matches from './matches/index.js'
3
- export * as replaceAll from './replace-all/index.js'
4
- export * as toAlphanum from './to-alphanum/index.js'
5
3
  export * as normalizeIndent from './normalize-indent/index.js'
6
4
  export * as parseTable from './parse-table/index.js'
5
+ export * as replaceAll from './replace-all/index.js'
6
+ export * as toAlphanum from './to-alphanum/index.js'
7
7
  export * as trim from './trim/index.js'
@@ -1,7 +1,7 @@
1
1
  export * as charCodes from './char-codes/index.js'
2
2
  export * as matches from './matches/index.js'
3
- export * as replaceAll from './replace-all/index.js'
4
- export * as toAlphanum from './to-alphanum/index.js'
5
3
  export * as normalizeIndent from './normalize-indent/index.js'
6
4
  export * as parseTable from './parse-table/index.js'
5
+ export * as replaceAll from './replace-all/index.js'
6
+ export * as toAlphanum from './to-alphanum/index.js'
7
7
  export * as trim from './trim/index.js'
@@ -1,7 +1,18 @@
1
- import {
2
- replaceAll
3
- } from "../../../chunks/chunk-EPUHVR7J.js";
4
1
  import "../../../chunks/chunk-WSFCRVEQ.js";
2
+
3
+ // src/agnostic/strings/replace-all/index.ts
4
+ function replaceAll(input, pattern, replacer) {
5
+ console.warn("[DEPRECATED] Use String.replaceAll instead");
6
+ const found = Array.from(input.match(pattern) ?? []);
7
+ const foundReplaced = typeof replacer === "string" ? found.map(() => replacer) : found.map((e) => replacer(e));
8
+ const splitted = input.split(pattern);
9
+ const replaced = splitted.map((chunk, chunkPos) => {
10
+ const isLast = chunkPos === splitted.length - 1;
11
+ if (isLast) return [chunk];
12
+ return [chunk, foundReplaced[chunkPos] ?? ""];
13
+ }).flat().join("");
14
+ return replaced;
15
+ }
5
16
  export {
6
17
  replaceAll
7
18
  };
@@ -1,5 +1,5 @@
1
+ export * as dates from './dates/index.js'
1
2
  export * as duration from './duration/index.js'
2
3
  export * as timeout from './timeout/index.js'
3
4
  export * as transitions from './transitions/index.js'
4
5
  export * as wait from './wait/index.js'
5
- export * as dates from './dates/index.js'
@@ -1,5 +1,5 @@
1
+ export * as dates from './dates/index.js'
1
2
  export * as duration from './duration/index.js'
2
3
  export * as timeout from './timeout/index.js'
3
4
  export * as transitions from './transitions/index.js'
4
5
  export * as wait from './wait/index.js'
5
- export * as dates from './dates/index.js'
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  paginator
3
- } from "./chunk-3DNVFA25.js";
3
+ } from "./chunk-IEZ3O5OF.js";
4
4
  import {
5
5
  clss
6
6
  } from "./chunk-TRFZSKNB.js";
@@ -15,13 +15,7 @@ import {
15
15
  Children,
16
16
  useState
17
17
  } from "react";
18
-
19
- // src/components/Paginator/styles.module.css
20
- var styles_default = {
21
- threshold: "styles_threshold"
22
- };
23
-
24
- // src/components/Paginator/index.tsx
18
+ import cssModule from "./styles.module.css";
25
19
  import { jsx } from "react/jsx-runtime";
26
20
  var Paginator = ({
27
21
  thresholdOffsetPercent,
@@ -86,7 +80,7 @@ var Paginator = ({
86
80
  });
87
81
  return () => observer.disconnect();
88
82
  }, [thresholdOffsetPercent, children]);
89
- const c = clss(paginator, { cssModule: styles_default });
83
+ const c = clss(paginator, { cssModule });
90
84
  const rootClss = mergeClassNames(
91
85
  c(null, {
92
86
  forwards: directionState === "forwards",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SmartTags
3
- } from "./chunk-FCABYQRX.js";
3
+ } from "./chunk-MSU7JU63.js";
4
4
  import {
5
5
  makeSuccess
6
6
  } from "./chunk-LUAYN7VJ.js";
@@ -10,7 +10,7 @@ var nullFunc = SmartTags.makeSmartTag({
10
10
  name: "null",
11
11
  defaultMode: "isolation",
12
12
  isolationInitType: "null",
13
- mainValueCheck: (i) => ({ success: true, payload: i }),
13
+ mainValueCheck: (i) => makeSuccess(i),
14
14
  argsValueCheck: (a) => makeSuccess(a),
15
15
  func: () => makeSuccess(null)
16
16
  });
@@ -1,54 +1,51 @@
1
1
  import {
2
2
  nullFunc
3
- } from "./chunk-FJH35B3Q.js";
3
+ } from "./chunk-B4HGXMP3.js";
4
4
  import {
5
- array
6
- } from "./chunk-QDHET2TE.js";
5
+ Types
6
+ } from "./chunk-XEQ2PBT2.js";
7
7
  import {
8
8
  any
9
- } from "./chunk-DU6U226H.js";
9
+ } from "./chunk-RJRNYRPM.js";
10
+ import {
11
+ array
12
+ } from "./chunk-HYGUIF2O.js";
10
13
  import {
11
14
  SmartTags
12
- } from "./chunk-FCABYQRX.js";
15
+ } from "./chunk-MSU7JU63.js";
13
16
  import {
14
17
  Serialize
15
- } from "./chunk-H4KLHV6B.js";
18
+ } from "./chunk-O32IRXDX.js";
16
19
  import {
17
20
  Transformer
18
- } from "./chunk-4STX5SQX.js";
21
+ } from "./chunk-LEBGVBYD.js";
19
22
  import {
20
23
  Method
21
24
  } from "./chunk-RW7VAKJW.js";
22
- import {
23
- Types
24
- } from "./chunk-XEQ2PBT2.js";
25
25
  import {
26
26
  insertNode
27
27
  } from "./chunk-XA4HVHJ4.js";
28
- import {
29
- isInEnum
30
- } from "./chunk-E6MSDKON.js";
31
- import {
32
- get
33
- } from "./chunk-57YKZBJR.js";
34
28
  import {
35
29
  recordMap
36
30
  } from "./chunk-XNF5MLCQ.js";
31
+ import {
32
+ isInEnum
33
+ } from "./chunk-E6MSDKON.js";
37
34
  import {
38
35
  isRecord
39
36
  } from "./chunk-YDIBNEGA.js";
37
+ import {
38
+ trimEnd,
39
+ trimStart
40
+ } from "./chunk-6XL25OZX.js";
40
41
  import {
41
42
  makeFailure,
42
43
  makeSuccess,
43
44
  outcome_exports
44
45
  } from "./chunk-LUAYN7VJ.js";
45
46
  import {
46
- replaceAll
47
- } from "./chunk-EPUHVR7J.js";
48
- import {
49
- trimEnd,
50
- trimStart
51
- } from "./chunk-6XL25OZX.js";
47
+ get
48
+ } from "./chunk-57YKZBJR.js";
52
49
  import {
53
50
  isNonNullObject
54
51
  } from "./chunk-HQLRJ7XW.js";
@@ -200,7 +197,7 @@ var guess = SmartTags.makeSmartTag({
200
197
  name: "guess",
201
198
  defaultMode: "isolation",
202
199
  isolationInitType: "string",
203
- mainValueCheck: (m) => makeSuccess(m),
200
+ mainValueCheck: SmartTags.expectNotUndef,
204
201
  argsValueCheck: (a) => makeSuccess(a),
205
202
  func: (main, args) => {
206
203
  const { typeCheck } = Utils.Tree.TypeChecks;
@@ -248,10 +245,8 @@ var nodelist = SmartTags.makeSmartTag({
248
245
  func: (main, args) => {
249
246
  const { document } = get();
250
247
  const returnedParent = document.createDocumentFragment();
251
- returnedParent.append(
252
- ...Array.from(Cast.toNodeList(main)),
253
- ...Array.from(Cast.toNodeList(args))
254
- );
248
+ if (main !== void 0) returnedParent.append(...Array.from(Cast.toNodeList(main)));
249
+ returnedParent.append(...Array.from(Cast.toNodeList(args)));
255
250
  const returned = returnedParent.childNodes;
256
251
  return makeSuccess(returned);
257
252
  }
@@ -401,7 +396,7 @@ var and = SmartTags.makeSmartTag({
401
396
  name: "and",
402
397
  defaultMode: "coalescion",
403
398
  isolationInitType: "array",
404
- mainValueCheck: (m) => makeSuccess(m),
399
+ mainValueCheck: SmartTags.expectNotUndef,
405
400
  argsValueCheck: (a) => makeSuccess(a),
406
401
  func: (main, args) => {
407
402
  const all = [main, ...args];
@@ -516,7 +511,7 @@ var clone = SmartTags.makeSmartTag({
516
511
  name: "clone",
517
512
  defaultMode: "coalescion",
518
513
  isolationInitType: "array",
519
- mainValueCheck: (m) => makeSuccess(m),
514
+ mainValueCheck: SmartTags.expectNotUndef,
520
515
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
521
516
  func: (main) => makeSuccess(Utils.clone(main))
522
517
  });
@@ -567,7 +562,7 @@ var equals = SmartTags.makeSmartTag({
567
562
  name: "equals",
568
563
  defaultMode: "coalescion",
569
564
  isolationInitType: "array",
570
- mainValueCheck: (m) => makeSuccess(m),
565
+ mainValueCheck: SmartTags.expectNotUndef,
571
566
  argsValueCheck: (a) => {
572
567
  const [first, ...others] = a;
573
568
  if (first === void 0) return makeFailure(Utils.SmartTags.makeArgsValueError(
@@ -736,7 +731,7 @@ var hjstringify = SmartTags.makeSmartTag({
736
731
  name: "hjstringify",
737
732
  defaultMode: "coalescion",
738
733
  isolationInitType: "array",
739
- mainValueCheck: (m) => makeSuccess(m),
734
+ mainValueCheck: SmartTags.expectNotUndef,
740
735
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
741
736
  func: (main) => {
742
737
  const stringified = stringify(main);
@@ -787,7 +782,7 @@ var initialize = SmartTags.makeSmartTag({
787
782
  name: "initialize",
788
783
  defaultMode: "coalescion",
789
784
  isolationInitType: "array",
790
- mainValueCheck: (m) => makeSuccess(m),
785
+ mainValueCheck: SmartTags.expectNotUndef,
791
786
  argsValueCheck: (a) => {
792
787
  const { makeFailure: makeFailure2, makeSuccess: makeSuccess2 } = outcome_exports;
793
788
  const { getType, typeCheck } = Utils.Tree.TypeChecks;
@@ -922,7 +917,7 @@ var or = SmartTags.makeSmartTag({
922
917
  name: "or",
923
918
  defaultMode: "coalescion",
924
919
  isolationInitType: "array",
925
- mainValueCheck: (m) => makeSuccess(m),
920
+ mainValueCheck: SmartTags.expectNotUndef,
926
921
  argsValueCheck: (a) => makeSuccess(a),
927
922
  func: (main, args) => {
928
923
  const all = [main, ...args];
@@ -1015,7 +1010,7 @@ var populate = SmartTags.makeSmartTag({
1015
1010
  for (const [propName, toReplace] of actions) {
1016
1011
  try {
1017
1012
  const value = deepGetProperty(record2, Cast.toString(propName));
1018
- const replaced = replaceAll(returnedStr, Cast.toString(toReplace), Cast.toString(value));
1013
+ const replaced = returnedStr.replaceAll(Cast.toString(toReplace), Cast.toString(value));
1019
1014
  returnedStr = replaced;
1020
1015
  } catch (err) {
1021
1016
  return makeFailure2(makeTransformationError({
@@ -1198,7 +1193,7 @@ var replace = SmartTags.makeSmartTag({
1198
1193
  name: "replace",
1199
1194
  defaultMode: "coalescion",
1200
1195
  isolationInitType: "array",
1201
- mainValueCheck: (m) => makeSuccess(m),
1196
+ mainValueCheck: SmartTags.expectNotUndef,
1202
1197
  argsValueCheck: (a) => {
1203
1198
  const { makeFailure: makeFailure2, makeSuccess: makeSuccess2 } = outcome_exports;
1204
1199
  const { getType, typeCheckMany } = Utils.Tree.TypeChecks;
@@ -1271,7 +1266,7 @@ var set = SmartTags.makeSmartTag({
1271
1266
  name: "set",
1272
1267
  defaultMode: "coalescion",
1273
1268
  isolationInitType: "array",
1274
- mainValueCheck: (m) => makeSuccess(m),
1269
+ mainValueCheck: SmartTags.expectNotUndef,
1275
1270
  argsValueCheck: (a) => {
1276
1271
  const { makeFailure: makeFailure2, makeSuccess: makeSuccess2 } = outcome_exports;
1277
1272
  const { makeArgsValueError } = Utils.SmartTags;
@@ -1617,7 +1612,7 @@ var toarray = SmartTags.makeSmartTag({
1617
1612
  name: "toarray",
1618
1613
  defaultMode: "coalescion",
1619
1614
  isolationInitType: "array",
1620
- mainValueCheck: (m) => makeSuccess(m),
1615
+ mainValueCheck: SmartTags.expectNotUndef,
1621
1616
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1622
1617
  func: (main) => makeSuccess(Cast.toArray(main))
1623
1618
  });
@@ -1627,7 +1622,7 @@ var toboolean = SmartTags.makeSmartTag({
1627
1622
  name: "toboolean",
1628
1623
  defaultMode: "coalescion",
1629
1624
  isolationInitType: "array",
1630
- mainValueCheck: (m) => makeSuccess(m),
1625
+ mainValueCheck: SmartTags.expectNotUndef,
1631
1626
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1632
1627
  func: (m) => makeSuccess(Cast.toBoolean(m))
1633
1628
  });
@@ -1637,7 +1632,7 @@ var toelement = SmartTags.makeSmartTag({
1637
1632
  name: "toelement",
1638
1633
  defaultMode: "coalescion",
1639
1634
  isolationInitType: "array",
1640
- mainValueCheck: (m) => makeSuccess(m),
1635
+ mainValueCheck: SmartTags.expectNotUndef,
1641
1636
  argsValueCheck: (a) => Utils.Tree.TypeChecks.typeCheckManyWithLength(a, 0, 1, "string", "text"),
1642
1637
  func: (m, a) => {
1643
1638
  const [rawTagName] = a;
@@ -1679,7 +1674,7 @@ var tonodelist = SmartTags.makeSmartTag({
1679
1674
  name: "tonodelist",
1680
1675
  defaultMode: "coalescion",
1681
1676
  isolationInitType: "array",
1682
- mainValueCheck: (m) => makeSuccess(m),
1677
+ mainValueCheck: SmartTags.expectNotUndef,
1683
1678
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1684
1679
  func: (m) => makeSuccess(Cast.toNodeList(m))
1685
1680
  });
@@ -1689,7 +1684,7 @@ var tonull = SmartTags.makeSmartTag({
1689
1684
  name: "tonull",
1690
1685
  defaultMode: "coalescion",
1691
1686
  isolationInitType: "array",
1692
- mainValueCheck: (m) => makeSuccess(m),
1687
+ mainValueCheck: SmartTags.expectNotUndef,
1693
1688
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1694
1689
  func: () => makeSuccess(null)
1695
1690
  });
@@ -1699,7 +1694,7 @@ var tonumber = SmartTags.makeSmartTag({
1699
1694
  name: "tonumber",
1700
1695
  defaultMode: "coalescion",
1701
1696
  isolationInitType: "array",
1702
- mainValueCheck: (m) => makeSuccess(m),
1697
+ mainValueCheck: SmartTags.expectNotUndef,
1703
1698
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1704
1699
  func: (m) => makeSuccess(Cast.toNumber(m))
1705
1700
  });
@@ -1709,7 +1704,7 @@ var torecord = SmartTags.makeSmartTag({
1709
1704
  name: "torecord",
1710
1705
  defaultMode: "coalescion",
1711
1706
  isolationInitType: "array",
1712
- mainValueCheck: (m) => makeSuccess(m),
1707
+ mainValueCheck: SmartTags.expectNotUndef,
1713
1708
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1714
1709
  func: (main) => makeSuccess(Cast.toRecord(main))
1715
1710
  });
@@ -1719,7 +1714,7 @@ var toref = SmartTags.makeSmartTag({
1719
1714
  name: "toref",
1720
1715
  defaultMode: "coalescion",
1721
1716
  isolationInitType: "array",
1722
- mainValueCheck: (m) => makeSuccess(m),
1717
+ mainValueCheck: SmartTags.expectNotUndef,
1723
1718
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1724
1719
  func: (main, args, details) => func(Cast.toString(main), args, details)
1725
1720
  });
@@ -1729,7 +1724,7 @@ var tostring = SmartTags.makeSmartTag({
1729
1724
  name: "tostring",
1730
1725
  defaultMode: "coalescion",
1731
1726
  isolationInitType: "array",
1732
- mainValueCheck: (m) => makeSuccess(m),
1727
+ mainValueCheck: SmartTags.expectNotUndef,
1733
1728
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1734
1729
  func: (m) => makeSuccess(Cast.toString(m))
1735
1730
  });
@@ -1739,7 +1734,7 @@ var totext = SmartTags.makeSmartTag({
1739
1734
  name: "totext",
1740
1735
  defaultMode: "coalescion",
1741
1736
  isolationInitType: "array",
1742
- mainValueCheck: (m) => makeSuccess(m),
1737
+ mainValueCheck: SmartTags.expectNotUndef,
1743
1738
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1744
1739
  func: (m) => makeSuccess(Cast.toText(m))
1745
1740
  });
@@ -2197,11 +2192,10 @@ var Utils;
2197
2192
  throw new Error(`Cannot clone value: ${value}`);
2198
2193
  }
2199
2194
  Utils2.clone = clone2;
2200
- function coalesceValues(currentValue, subpath, subvalue) {
2195
+ function coalesceValues(currentValue, subpath, toCoalesce) {
2201
2196
  const { Element: Element2, Text: Text2, NodeList: NodeList2, document } = get();
2202
- let actualSubvalue = subvalue;
2203
- if (actualSubvalue instanceof Transformer) {
2204
- const transformer = actualSubvalue;
2197
+ if (toCoalesce instanceof Transformer) {
2198
+ const transformer = toCoalesce;
2205
2199
  const transformationResult = transformer.apply(currentValue);
2206
2200
  if (!transformationResult.success) {
2207
2201
  console.warn({ ...transformationResult.error });
@@ -2209,87 +2203,87 @@ var Utils;
2209
2203
  }
2210
2204
  const evaluated = transformationResult.payload;
2211
2205
  if (transformer.mode === "isolation") {
2212
- actualSubvalue = evaluated;
2206
+ toCoalesce = evaluated;
2213
2207
  } else {
2214
2208
  return evaluated;
2215
2209
  }
2216
2210
  }
2217
- if (Array.isArray(currentValue)) return [...currentValue, actualSubvalue];
2218
- if (currentValue === null) return actualSubvalue;
2219
- if (typeof currentValue === "boolean") return actualSubvalue;
2220
- if (typeof currentValue === "number") return actualSubvalue;
2221
- if (currentValue instanceof Transformer) return actualSubvalue;
2222
- if (currentValue instanceof Method) return actualSubvalue;
2211
+ if (Array.isArray(currentValue)) return [...currentValue, toCoalesce];
2212
+ if (currentValue === null) return toCoalesce;
2213
+ if (typeof currentValue === "boolean") return toCoalesce;
2214
+ if (typeof currentValue === "number") return toCoalesce;
2215
+ if (currentValue instanceof Transformer) return toCoalesce;
2216
+ if (currentValue instanceof Method) return toCoalesce;
2223
2217
  if (typeof currentValue === "string") {
2224
- if (actualSubvalue === null || typeof actualSubvalue === "boolean" || typeof actualSubvalue === "number" || typeof actualSubvalue === "string") return `${currentValue}${actualSubvalue}`;
2225
- if (actualSubvalue instanceof Text2) return `${currentValue}${actualSubvalue.textContent}`;
2226
- if (actualSubvalue instanceof Element2) {
2218
+ if (toCoalesce === null || typeof toCoalesce === "boolean" || typeof toCoalesce === "number" || typeof toCoalesce === "string") return `${currentValue}${toCoalesce}`;
2219
+ if (toCoalesce instanceof Text2) return `${currentValue}${toCoalesce.textContent}`;
2220
+ if (toCoalesce instanceof Element2) {
2227
2221
  const frag = document.createDocumentFragment();
2228
- frag.append(currentValue, Utils2.clone(actualSubvalue));
2222
+ frag.append(currentValue, Utils2.clone(toCoalesce));
2229
2223
  return frag.childNodes;
2230
2224
  }
2231
- if (actualSubvalue instanceof NodeList2) {
2225
+ if (toCoalesce instanceof NodeList2) {
2232
2226
  const frag = document.createDocumentFragment();
2233
- frag.append(currentValue, ...Array.from(Utils2.clone(actualSubvalue)));
2227
+ frag.append(currentValue, ...Array.from(Utils2.clone(toCoalesce)));
2234
2228
  return frag.childNodes;
2235
2229
  }
2236
- return actualSubvalue;
2230
+ return toCoalesce;
2237
2231
  }
2238
2232
  if (currentValue instanceof Text2) {
2239
- if (actualSubvalue === null || typeof actualSubvalue === "boolean" || typeof actualSubvalue === "number" || typeof actualSubvalue === "string") return document.createTextNode(`${currentValue.textContent}${actualSubvalue}`);
2240
- if (actualSubvalue instanceof Text2) return document.createTextNode(`${currentValue.textContent}${actualSubvalue.textContent}`);
2241
- if (actualSubvalue instanceof Element2) {
2233
+ if (toCoalesce === null || typeof toCoalesce === "boolean" || typeof toCoalesce === "number" || typeof toCoalesce === "string") return document.createTextNode(`${currentValue.textContent}${toCoalesce}`);
2234
+ if (toCoalesce instanceof Text2) return document.createTextNode(`${currentValue.textContent}${toCoalesce.textContent}`);
2235
+ if (toCoalesce instanceof Element2) {
2242
2236
  const frag = document.createDocumentFragment();
2243
- frag.append(clone2(currentValue), clone2(actualSubvalue));
2237
+ frag.append(clone2(currentValue), clone2(toCoalesce));
2244
2238
  return frag.childNodes;
2245
2239
  }
2246
- if (actualSubvalue instanceof NodeList2) {
2240
+ if (toCoalesce instanceof NodeList2) {
2247
2241
  const frag = document.createDocumentFragment();
2248
- frag.append(clone2(currentValue), ...Array.from(clone2(actualSubvalue)));
2242
+ frag.append(clone2(currentValue), ...Array.from(clone2(toCoalesce)));
2249
2243
  return frag.childNodes;
2250
2244
  }
2251
- return actualSubvalue;
2245
+ return toCoalesce;
2252
2246
  }
2253
2247
  if (currentValue instanceof Element2) {
2254
- if (actualSubvalue === null || typeof actualSubvalue === "boolean" || typeof actualSubvalue === "number" || typeof actualSubvalue === "string") {
2248
+ if (toCoalesce === null || typeof toCoalesce === "boolean" || typeof toCoalesce === "number" || typeof toCoalesce === "string") {
2255
2249
  const frag = document.createDocumentFragment();
2256
- frag.append(clone2(currentValue), `${actualSubvalue}`);
2250
+ frag.append(clone2(currentValue), `${toCoalesce}`);
2257
2251
  return frag.childNodes;
2258
2252
  }
2259
- if (actualSubvalue instanceof Text2 || actualSubvalue instanceof Element2) {
2253
+ if (toCoalesce instanceof Text2 || toCoalesce instanceof Element2) {
2260
2254
  const frag = document.createDocumentFragment();
2261
- frag.append(clone2(currentValue), clone2(actualSubvalue));
2255
+ frag.append(clone2(currentValue), clone2(toCoalesce));
2262
2256
  return frag.childNodes;
2263
2257
  }
2264
- if (actualSubvalue instanceof NodeList2) {
2258
+ if (toCoalesce instanceof NodeList2) {
2265
2259
  const frag = document.createDocumentFragment();
2266
- frag.append(clone2(currentValue), ...Array.from(clone2(actualSubvalue)));
2260
+ frag.append(clone2(currentValue), ...Array.from(clone2(toCoalesce)));
2267
2261
  return frag.childNodes;
2268
2262
  }
2269
- return actualSubvalue;
2263
+ return toCoalesce;
2270
2264
  }
2271
2265
  if (currentValue instanceof NodeList2) {
2272
- if (actualSubvalue === null || typeof actualSubvalue === "boolean" || typeof actualSubvalue === "number" || typeof actualSubvalue === "string") {
2266
+ if (toCoalesce === null || typeof toCoalesce === "boolean" || typeof toCoalesce === "number" || typeof toCoalesce === "string") {
2273
2267
  const frag = document.createDocumentFragment();
2274
- frag.append(...Array.from(clone2(currentValue)), `${actualSubvalue}`);
2268
+ frag.append(...Array.from(clone2(currentValue)), `${toCoalesce}`);
2275
2269
  return frag.childNodes;
2276
2270
  }
2277
- if (actualSubvalue instanceof Text2 || actualSubvalue instanceof Element2) {
2271
+ if (toCoalesce instanceof Text2 || toCoalesce instanceof Element2) {
2278
2272
  const frag = document.createDocumentFragment();
2279
- frag.append(...Array.from(clone2(currentValue)), clone2(actualSubvalue));
2273
+ frag.append(...Array.from(clone2(currentValue)), clone2(toCoalesce));
2280
2274
  return frag.childNodes;
2281
2275
  }
2282
- if (actualSubvalue instanceof NodeList2) {
2276
+ if (toCoalesce instanceof NodeList2) {
2283
2277
  const frag = document.createDocumentFragment();
2284
- frag.append(...Array.from(clone2(currentValue)), ...Array.from(clone2(actualSubvalue)));
2278
+ frag.append(...Array.from(clone2(currentValue)), ...Array.from(clone2(toCoalesce)));
2285
2279
  return frag.childNodes;
2286
2280
  }
2287
- return actualSubvalue;
2281
+ return toCoalesce;
2288
2282
  }
2289
2283
  if (typeof subpath === "number") return { ...currentValue };
2290
2284
  return {
2291
2285
  ...currentValue,
2292
- [subpath]: actualSubvalue
2286
+ [subpath]: toCoalesce
2293
2287
  };
2294
2288
  }
2295
2289
  Utils2.coalesceValues = coalesceValues;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  intersectionObserver
3
- } from "./chunk-3DNVFA25.js";
3
+ } from "./chunk-IEZ3O5OF.js";
4
4
  import {
5
5
  clss
6
6
  } from "./chunk-TRFZSKNB.js";
@@ -15,11 +15,7 @@ import {
15
15
  useEffect,
16
16
  useCallback
17
17
  } from "react";
18
-
19
- // src/components/IntersectionObserver/styles.module.css
20
- var styles_default = {};
21
-
22
- // src/components/IntersectionObserver/index.tsx
18
+ import cssModule from "./styles.module.css";
23
19
  import { jsx } from "react/jsx-runtime";
24
20
  var IntersectionObserverComponent = ({
25
21
  onIntersected,
@@ -61,7 +57,7 @@ var IntersectionObserverComponent = ({
61
57
  window.clearTimeout(timeout2);
62
58
  };
63
59
  }, [forceObservation]);
64
- const c = clss(intersectionObserver, { cssModule: styles_default });
60
+ const c = clss(intersectionObserver, { cssModule });
65
61
  const isIntersecting = ioEntry?.isIntersecting ?? false;
66
62
  const rootClss = mergeClassNames(
67
63
  c(null, { "is-intersecting": isIntersecting }),