@design-edito/tools 0.5.31 → 0.5.32

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 (66) hide show
  1. package/agnostic/arrays/index.d.ts +3 -3
  2. package/agnostic/arrays/index.js +3 -3
  3. package/agnostic/colors/index.d.ts +3 -3
  4. package/agnostic/colors/index.js +3 -3
  5. package/agnostic/css/index.d.ts +3 -3
  6. package/agnostic/css/index.js +3 -3
  7. package/agnostic/errors/index.d.ts +1 -1
  8. package/agnostic/errors/index.js +1 -1
  9. package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +8 -8
  10. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +8 -8
  11. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +3 -3
  12. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +3 -3
  13. package/agnostic/html/index.d.ts +3 -3
  14. package/agnostic/html/index.js +3 -3
  15. package/agnostic/index.d.ts +3 -3
  16. package/agnostic/index.js +3 -3
  17. package/agnostic/misc/index.d.ts +3 -3
  18. package/agnostic/misc/index.js +3 -3
  19. package/agnostic/numbers/index.d.ts +3 -3
  20. package/agnostic/numbers/index.js +3 -3
  21. package/agnostic/objects/index.d.ts +3 -3
  22. package/agnostic/objects/index.js +3 -3
  23. package/agnostic/sanitization/index.d.ts +1 -1
  24. package/agnostic/sanitization/index.js +1 -1
  25. package/agnostic/strings/index.d.ts +3 -3
  26. package/agnostic/strings/index.js +3 -3
  27. package/agnostic/time/dates/index.d.ts +1 -1
  28. package/agnostic/time/dates/index.js +1 -1
  29. package/components/Gallery/index.d.ts +45 -41
  30. package/components/Gallery/index.js +89 -50
  31. package/components/Gallery/utils.d.ts +36 -1
  32. package/components/Gallery/utils.js +57 -15
  33. package/components/index.d.ts +6 -7
  34. package/components/index.js +6 -7
  35. package/components/public-classnames.d.ts +0 -1
  36. package/components/public-classnames.js +0 -1
  37. package/node/@aws-s3/storage/directory/index.d.ts +1 -1
  38. package/node/@aws-s3/storage/directory/index.js +1 -1
  39. package/node/@aws-s3/storage/file/index.d.ts +1 -1
  40. package/node/@aws-s3/storage/file/index.js +1 -1
  41. package/node/@google-cloud/storage/directory/index.d.ts +1 -1
  42. package/node/@google-cloud/storage/directory/index.js +1 -1
  43. package/node/@google-cloud/storage/file/index.d.ts +2 -2
  44. package/node/@google-cloud/storage/file/index.js +2 -2
  45. package/node/cloud-storage/operations/index.d.ts +2 -2
  46. package/node/cloud-storage/operations/index.js +2 -2
  47. package/node/files/index.d.ts +1 -1
  48. package/node/files/index.js +1 -1
  49. package/node/ftps/directory/index.d.ts +1 -1
  50. package/node/ftps/directory/index.js +1 -1
  51. package/node/images/index.d.ts +1 -1
  52. package/node/images/index.js +1 -1
  53. package/node/images/transform/operations/index.d.ts +5 -5
  54. package/node/images/transform/operations/index.js +5 -5
  55. package/node/index.d.ts +2 -2
  56. package/node/index.js +2 -2
  57. package/node/process/index.d.ts +1 -1
  58. package/node/process/index.js +1 -1
  59. package/node/sftp/index.d.ts +1 -1
  60. package/node/sftp/index.js +1 -1
  61. package/package.json +1 -8
  62. package/components/GalleryAlt/index.d.ts +0 -76
  63. package/components/GalleryAlt/index.js +0 -188
  64. package/components/GalleryAlt/styles.module.css +0 -33
  65. package/components/GalleryAlt/utils.d.ts +0 -36
  66. package/components/GalleryAlt/utils.js +0 -58
@@ -1,6 +1,6 @@
1
- export * as dedupe from './dedupe/index.js'
2
1
  export * as findDuplicates from './find-duplicates/index.js'
2
+ export * as dedupe from './dedupe/index.js'
3
3
  export * as isArrayOf from './is-array-of/index.js'
4
- export * as randomPick from './random-pick/index.js'
5
- export * as shuffle from './shuffle/index.js'
6
4
  export * as make from './make/index.js'
5
+ export * as shuffle from './shuffle/index.js'
6
+ export * as randomPick from './random-pick/index.js'
@@ -1,6 +1,6 @@
1
- export * as dedupe from './dedupe/index.js'
2
1
  export * as findDuplicates from './find-duplicates/index.js'
2
+ export * as dedupe from './dedupe/index.js'
3
3
  export * as isArrayOf from './is-array-of/index.js'
4
- export * as randomPick from './random-pick/index.js'
5
- export * as shuffle from './shuffle/index.js'
6
4
  export * as make from './make/index.js'
5
+ export * as shuffle from './shuffle/index.js'
6
+ export * as randomPick from './random-pick/index.js'
@@ -1,12 +1,12 @@
1
1
  export * as channels from './channels/index.js'
2
2
  export * as contrast from './contrast/index.js'
3
3
  export * as convert from './convert/index.js'
4
- export * as distance from './distance/index.js'
5
4
  export * as grayscale from './grayscale/index.js'
6
5
  export * as invert from './invert/index.js'
7
- export * as lerp from './lerp/index.js'
8
6
  export * as luminance from './luminance/index.js'
9
- export * as rotate from './rotate/index.js'
10
7
  export * as palette from './palette/index.js'
8
+ export * as rotate from './rotate/index.js'
9
+ export * as lerp from './lerp/index.js'
10
+ export * as distance from './distance/index.js'
11
11
  export * as tidy from './tidy/index.js'
12
12
  export * as typechecks from './typechecks/index.js'
@@ -1,12 +1,12 @@
1
1
  export * as channels from './channels/index.js'
2
2
  export * as contrast from './contrast/index.js'
3
3
  export * as convert from './convert/index.js'
4
- export * as distance from './distance/index.js'
5
4
  export * as grayscale from './grayscale/index.js'
6
5
  export * as invert from './invert/index.js'
7
- export * as lerp from './lerp/index.js'
8
6
  export * as luminance from './luminance/index.js'
9
- export * as rotate from './rotate/index.js'
10
7
  export * as palette from './palette/index.js'
8
+ export * as rotate from './rotate/index.js'
9
+ export * as lerp from './lerp/index.js'
10
+ export * as distance from './distance/index.js'
11
11
  export * as tidy from './tidy/index.js'
12
12
  export * as typechecks from './typechecks/index.js'
@@ -1,6 +1,6 @@
1
- export * as clss from './clss/index.js'
2
1
  export * as bem from './bem/index.js'
2
+ export * as clss from './clss/index.js'
3
3
  export * as generateNiceColor from './generate-nice-color/index.js'
4
- export * as stylesSet from './styles-set/index.js'
5
- export * as scale from './scale/index.js'
6
4
  export * as isValidCssClassName from './is-valid-css-class-name/index.js'
5
+ export * as scale from './scale/index.js'
6
+ export * as stylesSet from './styles-set/index.js'
@@ -1,6 +1,6 @@
1
- export * as clss from './clss/index.js'
2
1
  export * as bem from './bem/index.js'
2
+ export * as clss from './clss/index.js'
3
3
  export * as generateNiceColor from './generate-nice-color/index.js'
4
- export * as stylesSet from './styles-set/index.js'
5
- export * as scale from './scale/index.js'
6
4
  export * as isValidCssClassName from './is-valid-css-class-name/index.js'
5
+ export * as scale from './scale/index.js'
6
+ export * as stylesSet from './styles-set/index.js'
@@ -1,2 +1,2 @@
1
- export * as register from './register/index.js'
2
1
  export * as unknownToString from './unknown-to-string/index.js'
2
+ export * as register from './register/index.js'
@@ -1,2 +1,2 @@
1
- export * as register from './register/index.js'
2
1
  export * as unknownToString from './unknown-to-string/index.js'
2
+ export * as register from './register/index.js'
@@ -9,42 +9,42 @@ export * as deleteproperties from './deleteproperties/index.js'
9
9
  export * as getattribute from './getattribute/index.js'
10
10
  export * as equals from './equals/index.js'
11
11
  export * as getproperties from './getproperties/index.js'
12
- export * as getproperty from './getproperty/index.js'
13
12
  export * as hjparse from './hjparse/index.js'
13
+ export * as getproperty from './getproperty/index.js'
14
14
  export * as hjstringify from './hjstringify/index.js'
15
15
  export * as if from './if/index.js'
16
16
  export * as initialize from './initialize/index.js'
17
17
  export * as join from './join/index.js'
18
- export * as map from './map/index.js'
19
18
  export * as length from './length/index.js'
19
+ export * as map from './map/index.js'
20
20
  export * as negate from './negate/index.js'
21
21
  export * as notrailing from './notrailing/index.js'
22
22
  export * as or from './or/index.js'
23
23
  export * as pickrandom from './pickrandom/index.js'
24
+ export * as populate from './populate/index.js'
24
25
  export * as print from './print/index.js'
25
26
  export * as push from './push/index.js'
26
- export * as pusheach from './pusheach/index.js'
27
27
  export * as recordtoarray from './recordtoarray/index.js'
28
28
  export * as removeattribute from './removeattribute/index.js'
29
+ export * as pusheach from './pusheach/index.js'
29
30
  export * as removeclass from './removeclass/index.js'
30
31
  export * as renameproperty from './renameproperty/index.js'
31
32
  export * as replace from './replace/index.js'
32
- export * as set from './set/index.js'
33
33
  export * as select from './select/index.js'
34
+ export * as set from './set/index.js'
34
35
  export * as setattribute from './setattribute/index.js'
35
- export * as populate from './populate/index.js'
36
- export * as sorton from './sorton/index.js'
37
36
  export * as setproperty from './setproperty/index.js'
37
+ export * as sorton from './sorton/index.js'
38
+ export * as split from './split/index.js'
38
39
  export * as spread from './spread/index.js'
39
40
  export * as toarray from './toarray/index.js'
40
- export * as split from './split/index.js'
41
41
  export * as toboolean from './toboolean/index.js'
42
42
  export * as toelement from './toelement/index.js'
43
43
  export * as toggleclass from './toggleclass/index.js'
44
44
  export * as tonodelist from './tonodelist/index.js'
45
45
  export * as tonull from './tonull/index.js'
46
- export * as tonumber from './tonumber/index.js'
47
46
  export * as torecord from './torecord/index.js'
47
+ export * as tonumber from './tonumber/index.js'
48
48
  export * as tostring from './tostring/index.js'
49
49
  export * as totext from './totext/index.js'
50
50
  export * as transformselected from './transformselected/index.js'
@@ -9,42 +9,42 @@ export * as deleteproperties from './deleteproperties/index.js'
9
9
  export * as getattribute from './getattribute/index.js'
10
10
  export * as equals from './equals/index.js'
11
11
  export * as getproperties from './getproperties/index.js'
12
- export * as getproperty from './getproperty/index.js'
13
12
  export * as hjparse from './hjparse/index.js'
13
+ export * as getproperty from './getproperty/index.js'
14
14
  export * as hjstringify from './hjstringify/index.js'
15
15
  export * as if from './if/index.js'
16
16
  export * as initialize from './initialize/index.js'
17
17
  export * as join from './join/index.js'
18
- export * as map from './map/index.js'
19
18
  export * as length from './length/index.js'
19
+ export * as map from './map/index.js'
20
20
  export * as negate from './negate/index.js'
21
21
  export * as notrailing from './notrailing/index.js'
22
22
  export * as or from './or/index.js'
23
23
  export * as pickrandom from './pickrandom/index.js'
24
+ export * as populate from './populate/index.js'
24
25
  export * as print from './print/index.js'
25
26
  export * as push from './push/index.js'
26
- export * as pusheach from './pusheach/index.js'
27
27
  export * as recordtoarray from './recordtoarray/index.js'
28
28
  export * as removeattribute from './removeattribute/index.js'
29
+ export * as pusheach from './pusheach/index.js'
29
30
  export * as removeclass from './removeclass/index.js'
30
31
  export * as renameproperty from './renameproperty/index.js'
31
32
  export * as replace from './replace/index.js'
32
- export * as set from './set/index.js'
33
33
  export * as select from './select/index.js'
34
+ export * as set from './set/index.js'
34
35
  export * as setattribute from './setattribute/index.js'
35
- export * as populate from './populate/index.js'
36
- export * as sorton from './sorton/index.js'
37
36
  export * as setproperty from './setproperty/index.js'
37
+ export * as sorton from './sorton/index.js'
38
+ export * as split from './split/index.js'
38
39
  export * as spread from './spread/index.js'
39
40
  export * as toarray from './toarray/index.js'
40
- export * as split from './split/index.js'
41
41
  export * as toboolean from './toboolean/index.js'
42
42
  export * as toelement from './toelement/index.js'
43
43
  export * as toggleclass from './toggleclass/index.js'
44
44
  export * as tonodelist from './tonodelist/index.js'
45
45
  export * as tonull from './tonull/index.js'
46
- export * as tonumber from './tonumber/index.js'
47
46
  export * as torecord from './torecord/index.js'
47
+ export * as tonumber from './tonumber/index.js'
48
48
  export * as tostring from './tostring/index.js'
49
49
  export * as totext from './totext/index.js'
50
50
  export * as transformselected from './transformselected/index.js'
@@ -3,11 +3,11 @@ export * as array from './array/index.js'
3
3
  export * as boolean from './boolean/index.js'
4
4
  export * as element from './element/index.js'
5
5
  export * as get from './get/index.js'
6
- export * as nodelist from './nodelist/index.js'
7
6
  export * as guess from './guess/index.js'
7
+ export * as nodelist from './nodelist/index.js'
8
8
  export * as null from './null/index.js'
9
- export * as number from './number/index.js'
10
9
  export * as record from './record/index.js'
10
+ export * as number from './number/index.js'
11
11
  export * as ref from './ref/index.js'
12
- export * as string from './string/index.js'
13
12
  export * as text from './text/index.js'
13
+ export * as string from './string/index.js'
@@ -3,11 +3,11 @@ export * as array from './array/index.js'
3
3
  export * as boolean from './boolean/index.js'
4
4
  export * as element from './element/index.js'
5
5
  export * as get from './get/index.js'
6
- export * as nodelist from './nodelist/index.js'
7
6
  export * as guess from './guess/index.js'
7
+ export * as nodelist from './nodelist/index.js'
8
8
  export * as null from './null/index.js'
9
- export * as number from './number/index.js'
10
9
  export * as record from './record/index.js'
10
+ export * as number from './number/index.js'
11
11
  export * as ref from './ref/index.js'
12
- export * as string from './string/index.js'
13
12
  export * as text from './text/index.js'
13
+ export * as string from './string/index.js'
@@ -1,10 +1,10 @@
1
- export * as hyperJson from './hyper-json/index.js'
2
1
  export * as deepSelect from './deep-select/index.js'
2
+ export * as getNodeAncestors from './get-node-ancestors/index.js'
3
+ export * as getPositionInsideParent from './get-position-inside-parent/index.js'
4
+ export * as hyperJson from './hyper-json/index.js'
3
5
  export * as insertNode from './insert-node/index.js'
4
6
  export * as placeholders from './placeholders/index.js'
5
- export * as getNodeAncestors from './get-node-ancestors/index.js'
6
7
  export * as replaceInElement from './replace-in-element/index.js'
7
8
  export * as selectorToElement from './selector-to-element/index.js'
8
9
  export * as stringToNodes from './string-to-nodes/index.js'
9
10
  export * as watchSelection from './watch-selection/index.js'
10
- export * as getPositionInsideParent from './get-position-inside-parent/index.js'
@@ -1,10 +1,10 @@
1
- export * as hyperJson from './hyper-json/index.js'
2
1
  export * as deepSelect from './deep-select/index.js'
2
+ export * as getNodeAncestors from './get-node-ancestors/index.js'
3
+ export * as getPositionInsideParent from './get-position-inside-parent/index.js'
4
+ export * as hyperJson from './hyper-json/index.js'
3
5
  export * as insertNode from './insert-node/index.js'
4
6
  export * as placeholders from './placeholders/index.js'
5
- export * as getNodeAncestors from './get-node-ancestors/index.js'
6
7
  export * as replaceInElement from './replace-in-element/index.js'
7
8
  export * as selectorToElement from './selector-to-element/index.js'
8
9
  export * as stringToNodes from './string-to-nodes/index.js'
9
10
  export * as watchSelection from './watch-selection/index.js'
10
- export * as getPositionInsideParent from './get-position-inside-parent/index.js'
@@ -3,15 +3,15 @@ export * as booleans from './booleans/index.js'
3
3
  export * as colors from './colors/index.js'
4
4
  export * as css from './css/index.js'
5
5
  export * as errors from './errors/index.js'
6
+ export * as misc from './misc/index.js'
6
7
  export * as html from './html/index.js'
7
8
  export * as numbers from './numbers/index.js'
8
- export * as misc from './misc/index.js'
9
- export * as objects from './objects/index.js'
10
9
  export * as optim from './optim/index.js'
10
+ export * as objects from './objects/index.js'
11
11
  export * as random from './random/index.js'
12
12
  export * as regexps from './regexps/index.js'
13
13
  export * as sanitization from './sanitization/index.js'
14
14
  export * as strings from './strings/index.js'
15
- export * as time from './time/index.js'
16
15
  export * as subtitles from './subtitles/index.js'
16
+ export * as time from './time/index.js'
17
17
  export * as typescript from './typescript/index.js'
package/agnostic/index.js CHANGED
@@ -3,15 +3,15 @@ export * as booleans from './booleans/index.js'
3
3
  export * as colors from './colors/index.js'
4
4
  export * as css from './css/index.js'
5
5
  export * as errors from './errors/index.js'
6
+ export * as misc from './misc/index.js'
6
7
  export * as html from './html/index.js'
7
8
  export * as numbers from './numbers/index.js'
8
- export * as misc from './misc/index.js'
9
- export * as objects from './objects/index.js'
10
9
  export * as optim from './optim/index.js'
10
+ export * as objects from './objects/index.js'
11
11
  export * as random from './random/index.js'
12
12
  export * as regexps from './regexps/index.js'
13
13
  export * as sanitization from './sanitization/index.js'
14
14
  export * as strings from './strings/index.js'
15
- export * as time from './time/index.js'
16
15
  export * as subtitles from './subtitles/index.js'
16
+ export * as time from './time/index.js'
17
17
  export * as typescript from './typescript/index.js'
@@ -1,12 +1,12 @@
1
- export * as assert from './assert/index.js'
1
+ export * as connection from './connection/index.js'
2
2
  export * as cast from './cast/index.js'
3
3
  export * as crawler from './crawler/index.js'
4
+ export * as assert from './assert/index.js'
4
5
  export * as crossenv from './crossenv/index.js'
5
6
  export * as dataSize from './data-size/index.js'
7
+ export * as isConstructorFunction from './is-constructor-function/index.js'
6
8
  export * as isNullish from './is-nullish/index.js'
7
9
  export * as logs from './logs/index.js'
8
- export * as isConstructorFunction from './is-constructor-function/index.js'
9
10
  export * as loremIpsum from './lorem-ipsum/index.js'
10
11
  export * as normalizeExtension from './normalize-extension/index.js'
11
12
  export * as outcome from './outcome/index.js'
12
- export * as connection from './connection/index.js'
@@ -1,12 +1,12 @@
1
- export * as assert from './assert/index.js'
1
+ export * as connection from './connection/index.js'
2
2
  export * as cast from './cast/index.js'
3
3
  export * as crawler from './crawler/index.js'
4
+ export * as assert from './assert/index.js'
4
5
  export * as crossenv from './crossenv/index.js'
5
6
  export * as dataSize from './data-size/index.js'
7
+ export * as isConstructorFunction from './is-constructor-function/index.js'
6
8
  export * as isNullish from './is-nullish/index.js'
7
9
  export * as logs from './logs/index.js'
8
- export * as isConstructorFunction from './is-constructor-function/index.js'
9
10
  export * as loremIpsum from './lorem-ipsum/index.js'
10
11
  export * as normalizeExtension from './normalize-extension/index.js'
11
12
  export * as outcome from './outcome/index.js'
12
- export * as connection from './connection/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as absoluteModulo from './absolute-modulo/index.js'
2
- export * as clamp from './clamp/index.js'
3
2
  export * as approximateRational from './approximate-rational/index.js'
4
- export * as geometricProgressions from './geometric-progressions/index.js'
5
- export * as round from './round/index.js'
3
+ export * as clamp from './clamp/index.js'
6
4
  export * as interpolate from './interpolate/index.js'
5
+ export * as round from './round/index.js'
6
+ export * as geometricProgressions from './geometric-progressions/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as absoluteModulo from './absolute-modulo/index.js'
2
- export * as clamp from './clamp/index.js'
3
2
  export * as approximateRational from './approximate-rational/index.js'
4
- export * as geometricProgressions from './geometric-progressions/index.js'
5
- export * as round from './round/index.js'
3
+ export * as clamp from './clamp/index.js'
6
4
  export * as interpolate from './interpolate/index.js'
5
+ export * as round from './round/index.js'
6
+ export * as geometricProgressions from './geometric-progressions/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 isObject from './is-object/index.js'
4
- export * as isRecord from './is-record/index.js'
5
3
  export * as flattenGetters from './flatten-getters/index.js'
4
+ export * as isRecord from './is-record/index.js'
6
5
  export * as recordFormat from './record-format/index.js'
6
+ export * as isObject from './is-object/index.js'
7
+ export * as sortKeys from './sort-keys/index.js'
7
8
  export * as recordMap from './record-map/index.js'
8
9
  export * as validation from './validation/index.js'
9
- export * as sortKeys from './sort-keys/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 isObject from './is-object/index.js'
4
- export * as isRecord from './is-record/index.js'
5
3
  export * as flattenGetters from './flatten-getters/index.js'
4
+ export * as isRecord from './is-record/index.js'
6
5
  export * as recordFormat from './record-format/index.js'
6
+ export * as isObject from './is-object/index.js'
7
+ export * as sortKeys from './sort-keys/index.js'
7
8
  export * as recordMap from './record-map/index.js'
8
9
  export * as validation from './validation/index.js'
9
- export * as sortKeys from './sort-keys/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as fileName from './file-name/index.js'
2
2
  export * as html from './html/index.js'
3
- export * as userInput from './user-input/index.js'
4
3
  export * as path from './path/index.js'
4
+ export * as userInput from './user-input/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as fileName from './file-name/index.js'
2
2
  export * as html from './html/index.js'
3
- export * as userInput from './user-input/index.js'
4
3
  export * as path from './path/index.js'
4
+ export * as userInput from './user-input/index.js'
@@ -1,8 +1,8 @@
1
+ export * as charCodes from './char-codes/index.js'
1
2
  export * as matches from './matches/index.js'
2
3
  export * as normalizeIndent from './normalize-indent/index.js'
3
- export * as charCodes from './char-codes/index.js'
4
- export * as replaceAll from './replace-all/index.js'
5
- export * as splitTrim from './split-trim/index.js'
6
4
  export * as toAlphanum from './to-alphanum/index.js'
5
+ export * as splitTrim from './split-trim/index.js'
7
6
  export * as parseTable from './parse-table/index.js'
7
+ export * as replaceAll from './replace-all/index.js'
8
8
  export * as trim from './trim/index.js'
@@ -1,8 +1,8 @@
1
+ export * as charCodes from './char-codes/index.js'
1
2
  export * as matches from './matches/index.js'
2
3
  export * as normalizeIndent from './normalize-indent/index.js'
3
- export * as charCodes from './char-codes/index.js'
4
- export * as replaceAll from './replace-all/index.js'
5
- export * as splitTrim from './split-trim/index.js'
6
4
  export * as toAlphanum from './to-alphanum/index.js'
5
+ export * as splitTrim from './split-trim/index.js'
7
6
  export * as parseTable from './parse-table/index.js'
7
+ export * as replaceAll from './replace-all/index.js'
8
8
  export * as trim from './trim/index.js'
@@ -1,2 +1,2 @@
1
- export * as toFrenchRepublican from './to-french-republican/index.js'
2
1
  export * as formatDate from './format-date/index.js'
2
+ export * as toFrenchRepublican from './to-french-republican/index.js'
@@ -1,2 +1,2 @@
1
- export * as toFrenchRepublican from './to-french-republican/index.js'
2
1
  export * as formatDate from './format-date/index.js'
2
+ export * as toFrenchRepublican from './to-french-republican/index.js'
@@ -3,40 +3,28 @@ import type { WithClassName } from '../utils/types.js';
3
3
  /**
4
4
  * Props for the Gallery component.
5
5
  *
6
- * @property paddingLeft - Left padding applied to the first slot. Accepts a number (pixels) or any valid CSS length value.
7
- * If not provided, falls back to `padding` or `0px`.
8
- * @property paddingRight - Right padding applied to the last slot. Accepts a number (pixels) or any valid CSS length value.
9
- * If not provided, falls back to `padding` or `0px`.
10
- * @property padding - Shorthand horizontal padding applied to both ends when `paddingLeft` and/or `paddingRight`
11
- * are not explicitly defined. Accepts a number (pixels) or any valid CSS length value.
12
- * @property prevButtonContent - Content rendered inside the "previous" navigation control.
13
- * Defaults to the string `"prev"` when not provided.
14
- * @property nextButtonContent - Content rendered inside the "next" navigation control.
15
- * Defaults to the string `"next"` when not provided.
16
- * @property paginationContent - Content rendered inside each pagination item.
17
- * Can be:
18
- * - A ReactNode used for all pages,
19
- * - A function receiving the page index and returning a ReactNode,
20
- * - Undefined, in which case the page index is displayed.
21
- * @property defaultActive - Optional. When uncontrolled mode, sets the default active slot at mount
22
- * @property active - Optional controlled index. When provided, the active slot is driven by this
23
- * value instead of internal scroll-derived state. When omitted, the component manages its own
24
- * active index based on scroll position.
25
- * @property noSnap - Optional, defines if scroll is free in side the scroller or not (defaults to false)
26
- * @property onPrevClicked - Called when the "previous" control is clicked,
27
- * before the gallery reacts, with the active index as it was.
28
- * @property onNextClicked - Called when the "next" control is clicked, before
29
- * the gallery reacts, with the active index as it was.
30
- * @property onPaginationClicked - Called when a pagination item is clicked,
31
- * before the gallery reacts, with the active index as it was and the target index.
32
- * @property onActiveSlotChanged - Called after the active slot changed, with
33
- * the new index.
34
- * @property onCanGoLeftChanged - Called after the ability to scroll further left
35
- * changed, with the new value. Never on mount.
36
- * @property onCanGoRightChanged - Called after the ability to scroll further
37
- * right changed, with the new value. Never on mount.
38
- * @property className - Optional additional class name(s) applied to the root element.
39
- * @property children - Elements rendered as gallery slots. Each child is wrapped in a slot container.
6
+ * @property paddingLeft - Left padding applied to the first slot. A number is pixels.
7
+ * Falls back to `padding`, then `0px`.
8
+ * @property paddingRight - Right padding applied to the last slot. Same rules.
9
+ * @property padding - Shorthand for both ends, used when a side is not set.
10
+ * @property prevButtonContent - Content of the "previous" control. Defaults to `"prev"`.
11
+ * @property nextButtonContent - Content of the "next" control. Defaults to `"next"`.
12
+ * @property paginationContent - Content of each pagination item: a node used for all of
13
+ * them, a function of the page index, or undefined to show the index.
14
+ * @property defaultActive - Slot to scroll to at mount, in uncontrolled mode.
15
+ * @property active - Controlled index. When set, the active slot is this one and hand
16
+ * scrolling is disabled.
17
+ * @property noSnap - Frees the scroll from snapping to a slot.
18
+ * @property onPrevClicked - Fires before the gallery reacts, with the index as it was.
19
+ * @property onNextClicked - Fires before the gallery reacts, with the index as it was.
20
+ * @property onPaginationClicked - Fires before the gallery reacts, with the index as it
21
+ * was and the one aimed at.
22
+ * @property onActiveSlotChanged - Fires after the active slot changed, with the new index.
23
+ * @property onCanGoLeftChanged - Fires after the ability to scroll further left changed.
24
+ * Never on mount.
25
+ * @property onCanGoRightChanged - Same, to the right.
26
+ * @property className - Added to the root element.
27
+ * @property children - One slot per child.
40
28
  */
41
29
  export type Props = PropsWithChildren<WithClassName<{
42
30
  paddingLeft?: string | number;
@@ -56,16 +44,32 @@ export type Props = PropsWithChildren<WithClassName<{
56
44
  onCanGoRightChanged?: (canGoRight: boolean) => void;
57
45
  }>>;
58
46
  /**
59
- * Horizontally scrollable gallery component with navigation controls and pagination.
47
+ * Horizontally scrollable gallery, with navigation controls and pagination.
60
48
  *
61
- * Tracks the active slot based on scroll position and exposes state through CSS class names
62
- * and a `data-active` attribute on the root element.
49
+ * Geometry is measured **once per layout change** into a table of scroll positions, one
50
+ * per slot, and the boundaries between them. A scroll event then only has to place a
51
+ * number between two others — no element is measured while the reader scrolls.
52
+ *
53
+ * The same table is what the controls scroll to, so reading the active slot and moving
54
+ * to one cannot disagree, with or without snapping.
55
+ *
56
+ * ### CSS elements
57
+ * - `scroller`
58
+ * - `slot`, `slot--active`
59
+ * - `actions`, `prev`, `next`
60
+ * - `pagination`, `page`, `page--active`
61
+ *
62
+ * Root modifiers: `controlled`, `no-snap`, `measured`, `at-first`, `at-last`,
63
+ * `can-go-left`, `can-go-right`.
63
64
  *
64
65
  * @param props - Component properties.
65
66
  * @see {@link Props}
66
- * @returns A container element wrapping:
67
- * - A scrollable area containing each child in a slot wrapper,
68
- * - Previous/next navigation controls,
69
- * - Pagination controls allowing direct slot activation.
67
+ * @returns A container wrapping the scroller, the two controls and the pagination.
68
+ *
69
+ * @remarks
70
+ * Nothing is measured while the reader scrolls: the table is rebuilt only when a box
71
+ * changes size or a slot is added, watched through a `ResizeObserver`. Until the first
72
+ * measurement lands, the root carries no `measured` modifier and every slot position
73
+ * reads as `0`.
70
74
  */
71
75
  export declare const Gallery: FunctionComponent<Props>;