@design-edito/tools 0.5.32 → 0.5.34

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 (57) hide show
  1. package/agnostic/arrays/index.d.ts +2 -2
  2. package/agnostic/arrays/index.js +2 -2
  3. package/agnostic/colors/index.d.ts +2 -2
  4. package/agnostic/colors/index.js +2 -2
  5. package/agnostic/css/index.d.ts +1 -1
  6. package/agnostic/css/index.js +1 -1
  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 +10 -10
  10. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +10 -10
  11. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +2 -2
  12. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +2 -2
  13. package/agnostic/index.d.ts +2 -2
  14. package/agnostic/index.js +2 -2
  15. package/agnostic/misc/index.d.ts +3 -3
  16. package/agnostic/misc/index.js +3 -3
  17. package/agnostic/numbers/index.d.ts +1 -1
  18. package/agnostic/numbers/index.js +1 -1
  19. package/agnostic/objects/index.d.ts +2 -2
  20. package/agnostic/objects/index.js +2 -2
  21. package/agnostic/random/index.d.ts +1 -1
  22. package/agnostic/random/index.js +1 -1
  23. package/agnostic/strings/index.d.ts +2 -2
  24. package/agnostic/strings/index.js +2 -2
  25. package/agnostic/subtitles/index.d.ts +1 -1
  26. package/agnostic/subtitles/index.js +1 -1
  27. package/agnostic/time/index.d.ts +1 -1
  28. package/agnostic/time/index.js +1 -1
  29. package/components/Gallery/index.d.ts +7 -7
  30. package/components/Gallery/index.js +10 -10
  31. package/components/Gallery/utils.d.ts +4 -4
  32. package/components/Gallery/utils.js +5 -5
  33. package/components/UIModule/index.d.ts +31 -18
  34. package/components/UIModule/index.js +32 -6
  35. package/components/index.d.ts +6 -6
  36. package/components/index.js +6 -6
  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/ftps/directory/index.d.ts +1 -1
  48. package/node/ftps/directory/index.js +1 -1
  49. package/node/ftps/file/index.d.ts +1 -1
  50. package/node/ftps/file/index.js +1 -1
  51. package/node/images/transform/operations/index.d.ts +4 -4
  52. package/node/images/transform/operations/index.js +4 -4
  53. package/node/index.d.ts +2 -2
  54. package/node/index.js +2 -2
  55. package/node/sftp/index.d.ts +1 -1
  56. package/node/sftp/index.js +1 -1
  57. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- export * as findDuplicates from './find-duplicates/index.js'
2
1
  export * as dedupe from './dedupe/index.js'
2
+ export * as findDuplicates from './find-duplicates/index.js'
3
3
  export * as isArrayOf from './is-array-of/index.js'
4
4
  export * as make from './make/index.js'
5
- export * as shuffle from './shuffle/index.js'
6
5
  export * as randomPick from './random-pick/index.js'
6
+ export * as shuffle from './shuffle/index.js'
@@ -1,6 +1,6 @@
1
- export * as findDuplicates from './find-duplicates/index.js'
2
1
  export * as dedupe from './dedupe/index.js'
2
+ export * as findDuplicates from './find-duplicates/index.js'
3
3
  export * as isArrayOf from './is-array-of/index.js'
4
4
  export * as make from './make/index.js'
5
- export * as shuffle from './shuffle/index.js'
6
5
  export * as randomPick from './random-pick/index.js'
6
+ export * as shuffle from './shuffle/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'
4
5
  export * as grayscale from './grayscale/index.js'
5
6
  export * as invert from './invert/index.js'
6
7
  export * as luminance from './luminance/index.js'
7
8
  export * as palette from './palette/index.js'
8
9
  export * as rotate from './rotate/index.js'
9
- export * as lerp from './lerp/index.js'
10
- export * as distance from './distance/index.js'
11
10
  export * as tidy from './tidy/index.js'
12
11
  export * as typechecks from './typechecks/index.js'
12
+ export * as lerp from './lerp/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'
4
5
  export * as grayscale from './grayscale/index.js'
5
6
  export * as invert from './invert/index.js'
6
7
  export * as luminance from './luminance/index.js'
7
8
  export * as palette from './palette/index.js'
8
9
  export * as rotate from './rotate/index.js'
9
- export * as lerp from './lerp/index.js'
10
- export * as distance from './distance/index.js'
11
10
  export * as tidy from './tidy/index.js'
12
11
  export * as typechecks from './typechecks/index.js'
12
+ export * as lerp from './lerp/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as bem from './bem/index.js'
2
- export * as clss from './clss/index.js'
3
2
  export * as generateNiceColor from './generate-nice-color/index.js'
4
3
  export * as isValidCssClassName from './is-valid-css-class-name/index.js'
5
4
  export * as scale from './scale/index.js'
6
5
  export * as stylesSet from './styles-set/index.js'
6
+ export * as clss from './clss/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as bem from './bem/index.js'
2
- export * as clss from './clss/index.js'
3
2
  export * as generateNiceColor from './generate-nice-color/index.js'
4
3
  export * as isValidCssClassName from './is-valid-css-class-name/index.js'
5
4
  export * as scale from './scale/index.js'
6
5
  export * as stylesSet from './styles-set/index.js'
6
+ export * as clss from './clss/index.js'
@@ -1,2 +1,2 @@
1
- export * as unknownToString from './unknown-to-string/index.js'
2
1
  export * as register from './register/index.js'
2
+ export * as unknownToString from './unknown-to-string/index.js'
@@ -1,2 +1,2 @@
1
- export * as unknownToString from './unknown-to-string/index.js'
2
1
  export * as register from './register/index.js'
2
+ export * as unknownToString from './unknown-to-string/index.js'
@@ -1,6 +1,6 @@
1
- export * as add from './add/index.js'
2
1
  export * as addclass from './addclass/index.js'
3
2
  export * as and from './and/index.js'
3
+ export * as add from './add/index.js'
4
4
  export * as append from './append/index.js'
5
5
  export * as at from './at/index.js'
6
6
  export * as call from './call/index.js'
@@ -9,14 +9,14 @@ 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 hjparse from './hjparse/index.js'
13
12
  export * as getproperty from './getproperty/index.js'
13
+ export * as hjparse from './hjparse/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
- export * as join from './join/index.js'
18
17
  export * as length from './length/index.js'
19
18
  export * as map from './map/index.js'
19
+ export * as join from './join/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'
@@ -24,13 +24,13 @@ export * as pickrandom from './pickrandom/index.js'
24
24
  export * as populate from './populate/index.js'
25
25
  export * as print from './print/index.js'
26
26
  export * as push from './push/index.js'
27
+ export * as pusheach from './pusheach/index.js'
27
28
  export * as recordtoarray from './recordtoarray/index.js'
28
29
  export * as removeattribute from './removeattribute/index.js'
29
- export * as pusheach from './pusheach/index.js'
30
30
  export * as removeclass from './removeclass/index.js'
31
31
  export * as renameproperty from './renameproperty/index.js'
32
- export * as replace from './replace/index.js'
33
32
  export * as select from './select/index.js'
33
+ export * as replace from './replace/index.js'
34
34
  export * as set from './set/index.js'
35
35
  export * as setattribute from './setattribute/index.js'
36
36
  export * as setproperty from './setproperty/index.js'
@@ -38,15 +38,15 @@ export * as sorton from './sorton/index.js'
38
38
  export * as split from './split/index.js'
39
39
  export * as spread from './spread/index.js'
40
40
  export * as toarray from './toarray/index.js'
41
+ export * as toggleclass from './toggleclass/index.js'
41
42
  export * as toboolean from './toboolean/index.js'
42
43
  export * as toelement from './toelement/index.js'
43
- export * as toggleclass from './toggleclass/index.js'
44
44
  export * as tonodelist from './tonodelist/index.js'
45
- export * as tonull from './tonull/index.js'
46
- export * as torecord from './torecord/index.js'
47
45
  export * as tonumber from './tonumber/index.js'
46
+ export * as torecord from './torecord/index.js'
47
+ export * as tonull from './tonull/index.js'
48
+ export * as toref from './toref/index.js'
48
49
  export * as tostring from './tostring/index.js'
49
- export * as totext from './totext/index.js'
50
50
  export * as transformselected from './transformselected/index.js'
51
+ export * as totext from './totext/index.js'
51
52
  export * as trim from './trim/index.js'
52
- export * as toref from './toref/index.js'
@@ -1,6 +1,6 @@
1
- export * as add from './add/index.js'
2
1
  export * as addclass from './addclass/index.js'
3
2
  export * as and from './and/index.js'
3
+ export * as add from './add/index.js'
4
4
  export * as append from './append/index.js'
5
5
  export * as at from './at/index.js'
6
6
  export * as call from './call/index.js'
@@ -9,14 +9,14 @@ 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 hjparse from './hjparse/index.js'
13
12
  export * as getproperty from './getproperty/index.js'
13
+ export * as hjparse from './hjparse/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
- export * as join from './join/index.js'
18
17
  export * as length from './length/index.js'
19
18
  export * as map from './map/index.js'
19
+ export * as join from './join/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'
@@ -24,13 +24,13 @@ export * as pickrandom from './pickrandom/index.js'
24
24
  export * as populate from './populate/index.js'
25
25
  export * as print from './print/index.js'
26
26
  export * as push from './push/index.js'
27
+ export * as pusheach from './pusheach/index.js'
27
28
  export * as recordtoarray from './recordtoarray/index.js'
28
29
  export * as removeattribute from './removeattribute/index.js'
29
- export * as pusheach from './pusheach/index.js'
30
30
  export * as removeclass from './removeclass/index.js'
31
31
  export * as renameproperty from './renameproperty/index.js'
32
- export * as replace from './replace/index.js'
33
32
  export * as select from './select/index.js'
33
+ export * as replace from './replace/index.js'
34
34
  export * as set from './set/index.js'
35
35
  export * as setattribute from './setattribute/index.js'
36
36
  export * as setproperty from './setproperty/index.js'
@@ -38,15 +38,15 @@ export * as sorton from './sorton/index.js'
38
38
  export * as split from './split/index.js'
39
39
  export * as spread from './spread/index.js'
40
40
  export * as toarray from './toarray/index.js'
41
+ export * as toggleclass from './toggleclass/index.js'
41
42
  export * as toboolean from './toboolean/index.js'
42
43
  export * as toelement from './toelement/index.js'
43
- export * as toggleclass from './toggleclass/index.js'
44
44
  export * as tonodelist from './tonodelist/index.js'
45
- export * as tonull from './tonull/index.js'
46
- export * as torecord from './torecord/index.js'
47
45
  export * as tonumber from './tonumber/index.js'
46
+ export * as torecord from './torecord/index.js'
47
+ export * as tonull from './tonull/index.js'
48
+ export * as toref from './toref/index.js'
48
49
  export * as tostring from './tostring/index.js'
49
- export * as totext from './totext/index.js'
50
50
  export * as transformselected from './transformselected/index.js'
51
+ export * as totext from './totext/index.js'
51
52
  export * as trim from './trim/index.js'
52
- export * as toref from './toref/index.js'
@@ -6,8 +6,8 @@ export * as get from './get/index.js'
6
6
  export * as guess from './guess/index.js'
7
7
  export * as nodelist from './nodelist/index.js'
8
8
  export * as null from './null/index.js'
9
- export * as record from './record/index.js'
10
9
  export * as number from './number/index.js'
10
+ export * as record from './record/index.js'
11
11
  export * as ref from './ref/index.js'
12
- export * as text from './text/index.js'
13
12
  export * as string from './string/index.js'
13
+ export * as text from './text/index.js'
@@ -6,8 +6,8 @@ export * as get from './get/index.js'
6
6
  export * as guess from './guess/index.js'
7
7
  export * as nodelist from './nodelist/index.js'
8
8
  export * as null from './null/index.js'
9
- export * as record from './record/index.js'
10
9
  export * as number from './number/index.js'
10
+ export * as record from './record/index.js'
11
11
  export * as ref from './ref/index.js'
12
- export * as text from './text/index.js'
13
12
  export * as string from './string/index.js'
13
+ export * as text from './text/index.js'
@@ -2,12 +2,12 @@ export * as arrays from './arrays/index.js'
2
2
  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
+ export * as html from './html/index.js'
5
6
  export * as errors from './errors/index.js'
6
7
  export * as misc from './misc/index.js'
7
- export * as html from './html/index.js'
8
8
  export * as numbers from './numbers/index.js'
9
- export * as optim from './optim/index.js'
10
9
  export * as objects from './objects/index.js'
10
+ export * as optim from './optim/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'
package/agnostic/index.js CHANGED
@@ -2,12 +2,12 @@ export * as arrays from './arrays/index.js'
2
2
  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
+ export * as html from './html/index.js'
5
6
  export * as errors from './errors/index.js'
6
7
  export * as misc from './misc/index.js'
7
- export * as html from './html/index.js'
8
8
  export * as numbers from './numbers/index.js'
9
- export * as optim from './optim/index.js'
10
9
  export * as objects from './objects/index.js'
10
+ export * as optim from './optim/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'
@@ -1,12 +1,12 @@
1
- export * as connection from './connection/index.js'
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
- export * as assert from './assert/index.js'
5
- export * as crossenv from './crossenv/index.js'
6
5
  export * as dataSize from './data-size/index.js'
7
6
  export * as isConstructorFunction from './is-constructor-function/index.js'
8
7
  export * as isNullish from './is-nullish/index.js'
9
8
  export * as logs from './logs/index.js'
9
+ export * as crossenv from './crossenv/index.js'
10
10
  export * as loremIpsum from './lorem-ipsum/index.js'
11
11
  export * as normalizeExtension from './normalize-extension/index.js'
12
12
  export * as outcome from './outcome/index.js'
@@ -1,12 +1,12 @@
1
- export * as connection from './connection/index.js'
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
- export * as assert from './assert/index.js'
5
- export * as crossenv from './crossenv/index.js'
6
5
  export * as dataSize from './data-size/index.js'
7
6
  export * as isConstructorFunction from './is-constructor-function/index.js'
8
7
  export * as isNullish from './is-nullish/index.js'
9
8
  export * as logs from './logs/index.js'
9
+ export * as crossenv from './crossenv/index.js'
10
10
  export * as loremIpsum from './lorem-ipsum/index.js'
11
11
  export * as normalizeExtension from './normalize-extension/index.js'
12
12
  export * as outcome from './outcome/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as absoluteModulo from './absolute-modulo/index.js'
2
2
  export * as approximateRational from './approximate-rational/index.js'
3
+ export * as geometricProgressions from './geometric-progressions/index.js'
3
4
  export * as clamp from './clamp/index.js'
4
5
  export * as interpolate from './interpolate/index.js'
5
6
  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
2
  export * as approximateRational from './approximate-rational/index.js'
3
+ export * as geometricProgressions from './geometric-progressions/index.js'
3
4
  export * as clamp from './clamp/index.js'
4
5
  export * as interpolate from './interpolate/index.js'
5
6
  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
3
  export * as flattenGetters from './flatten-getters/index.js'
4
+ export * as isObject from './is-object/index.js'
4
5
  export * as isRecord from './is-record/index.js'
5
6
  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'
8
7
  export * as recordMap from './record-map/index.js'
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
3
  export * as flattenGetters from './flatten-getters/index.js'
4
+ export * as isObject from './is-object/index.js'
4
5
  export * as isRecord from './is-record/index.js'
5
6
  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'
8
7
  export * as recordMap from './record-map/index.js'
8
+ export * as sortKeys from './sort-keys/index.js'
9
9
  export * as validation from './validation/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as hexChar from './hex-char/index.js'
2
- export * as uuid from './uuid/index.js'
3
2
  export * as random from './random/index.js'
3
+ export * as uuid from './uuid/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as hexChar from './hex-char/index.js'
2
- export * as uuid from './uuid/index.js'
3
2
  export * as random from './random/index.js'
3
+ export * as uuid from './uuid/index.js'
@@ -1,8 +1,8 @@
1
1
  export * as charCodes from './char-codes/index.js'
2
2
  export * as matches from './matches/index.js'
3
3
  export * as normalizeIndent from './normalize-indent/index.js'
4
- export * as toAlphanum from './to-alphanum/index.js'
5
- export * as splitTrim from './split-trim/index.js'
6
4
  export * as parseTable from './parse-table/index.js'
7
5
  export * as replaceAll from './replace-all/index.js'
6
+ export * as splitTrim from './split-trim/index.js'
7
+ export * as toAlphanum from './to-alphanum/index.js'
8
8
  export * as trim from './trim/index.js'
@@ -1,8 +1,8 @@
1
1
  export * as charCodes from './char-codes/index.js'
2
2
  export * as matches from './matches/index.js'
3
3
  export * as normalizeIndent from './normalize-indent/index.js'
4
- export * as toAlphanum from './to-alphanum/index.js'
5
- export * as splitTrim from './split-trim/index.js'
6
4
  export * as parseTable from './parse-table/index.js'
7
5
  export * as replaceAll from './replace-all/index.js'
6
+ export * as splitTrim from './split-trim/index.js'
7
+ export * as toAlphanum from './to-alphanum/index.js'
8
8
  export * as trim from './trim/index.js'
@@ -1,2 +1,2 @@
1
- export * as parseSrt from './parse-srt/index.js'
2
1
  export * as srtTimecodeToMs from './srt-timecode-to-ms/index.js'
2
+ export * as parseSrt from './parse-srt/index.js'
@@ -1,2 +1,2 @@
1
- export * as parseSrt from './parse-srt/index.js'
2
1
  export * as srtTimecodeToMs from './srt-timecode-to-ms/index.js'
2
+ export * as parseSrt from './parse-srt/index.js'
@@ -1,5 +1,5 @@
1
1
  export * as dates from './dates/index.js'
2
2
  export * as duration from './duration/index.js'
3
- export * as timeout from './timeout/index.js'
4
3
  export * as transitions from './transitions/index.js'
5
4
  export * as wait from './wait/index.js'
5
+ export * as timeout from './timeout/index.js'
@@ -1,5 +1,5 @@
1
1
  export * as dates from './dates/index.js'
2
2
  export * as duration from './duration/index.js'
3
- export * as timeout from './timeout/index.js'
4
3
  export * as transitions from './transitions/index.js'
5
4
  export * as wait from './wait/index.js'
5
+ export * as timeout from './timeout/index.js'
@@ -3,10 +3,10 @@ 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. 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.
6
+ * @property offsetLeft - Room kept before the first slot, so it can reach the middle
7
+ * like any other. A number is pixels. Falls back to `offset`, then `0px`.
8
+ * @property offsetRight - Room kept after the last slot. Same rules.
9
+ * @property offset - Shorthand for both ends, used when a side is not set.
10
10
  * @property prevButtonContent - Content of the "previous" control. Defaults to `"prev"`.
11
11
  * @property nextButtonContent - Content of the "next" control. Defaults to `"next"`.
12
12
  * @property paginationContent - Content of each pagination item: a node used for all of
@@ -27,9 +27,9 @@ import type { WithClassName } from '../utils/types.js';
27
27
  * @property children - One slot per child.
28
28
  */
29
29
  export type Props = PropsWithChildren<WithClassName<{
30
- paddingLeft?: string | number;
31
- paddingRight?: string | number;
32
- padding?: string | number;
30
+ offsetLeft?: string | number;
31
+ offsetRight?: string | number;
32
+ offset?: string | number;
33
33
  prevButtonContent?: ReactNode;
34
34
  nextButtonContent?: ReactNode;
35
35
  paginationContent?: ReactNode | ((page: number) => ReactNode);
@@ -5,8 +5,8 @@ import { mergeClassNames, useChangeDispatch } from '../utils/index.js';
5
5
  import { gallery as publicClassName } from '../public-classnames.js';
6
6
  import { EMPTY_GEOMETRY, measureGeometry, readActiveIndex, readReach } from './utils.js';
7
7
  import cssModule from './styles.module.css';
8
- /** Resolves one side's padding to a CSS length, falling back to the shorthand then to `0px`. */
9
- function resolvePadding(side, shorthand) {
8
+ /** Resolves one side's offset to a CSS length, falling back to the shorthand then to `0px`. */
9
+ function resolveOffset(side, shorthand) {
10
10
  const value = side ?? shorthand ?? 0;
11
11
  return typeof value === 'number' ? `${value}px` : value;
12
12
  }
@@ -39,7 +39,7 @@ function resolvePadding(side, shorthand) {
39
39
  * measurement lands, the root carries no `measured` modifier and every slot position
40
40
  * reads as `0`.
41
41
  */
42
- export const Gallery = ({ paddingLeft, paddingRight, padding, prevButtonContent, nextButtonContent, paginationContent, defaultActive, active, noSnap, onPrevClicked, onNextClicked, onPaginationClicked, onActiveSlotChanged, onCanGoLeftChanged, onCanGoRightChanged, children, className }) => {
42
+ export const Gallery = ({ offsetLeft, offsetRight, offset, prevButtonContent, nextButtonContent, paginationContent, defaultActive, active, noSnap, onPrevClicked, onNextClicked, onPaginationClicked, onActiveSlotChanged, onCanGoLeftChanged, onCanGoRightChanged, children, className }) => {
43
43
  // State & refs
44
44
  const scrollerRef = useRef(null);
45
45
  const geometryRef = useRef(EMPTY_GEOMETRY);
@@ -77,10 +77,10 @@ export const Gallery = ({ paddingLeft, paddingRight, padding, prevButtonContent,
77
77
  }, [readScroll]);
78
78
  const scrollToSlot = useCallback((pos, smooth = true) => {
79
79
  const scrollerElt = scrollerRef.current;
80
- const offset = geometryRef.current.offsets[pos];
81
- if (scrollerElt === null || offset === undefined)
80
+ const scrollPosition = geometryRef.current.scrollPositions[pos];
81
+ if (scrollerElt === null || scrollPosition === undefined)
82
82
  return;
83
- scrollerElt.scrollTo({ left: offset, behavior: smooth ? 'smooth' : 'instant' });
83
+ scrollerElt.scrollTo({ left: scrollPosition, behavior: smooth ? 'smooth' : 'instant' });
84
84
  }, []);
85
85
  // User actions handlers
86
86
  const handlePrevClick = () => {
@@ -165,16 +165,16 @@ export const Gallery = ({ paddingLeft, paddingRight, padding, prevButtonContent,
165
165
  const nextBtnClss = c('next');
166
166
  const paginationClss = c('pagination');
167
167
  const dataAttributes = { 'data-active': `${activeIndex}` };
168
- const actualPaddingLeft = resolvePadding(paddingLeft, padding);
169
- const actualPaddingRight = resolvePadding(paddingRight, padding);
168
+ const actualOffsetLeft = resolveOffset(offsetLeft, offset);
169
+ const actualOffsetRight = resolveOffset(offsetRight, offset);
170
170
  return _jsxs("div", { className: rootClss, ...dataAttributes, children: [_jsx("div", { className: scrollerClss, ref: scrollerRef, children: Children.map(children, (child, pos) => {
171
171
  const slotClss = c('slot', { active: pos === activeIndex });
172
172
  const style = {
173
173
  'margin-left': pos === 0
174
- ? actualPaddingLeft
174
+ ? actualOffsetLeft
175
175
  : undefined,
176
176
  'margin-right': pos === childrenCount - 1
177
- ? actualPaddingRight
177
+ ? actualOffsetRight
178
178
  : undefined
179
179
  };
180
180
  return _jsx("div", { className: slotClss, style: { ...style }, "data-slot": pos, children: child }, pos);
@@ -1,7 +1,7 @@
1
1
  /** The layout, measured once, so that reading the active slot touches no element. */
2
2
  export type Geometry = {
3
3
  /** Scroll positions that bring each slot to the middle, clamped to the track. */
4
- offsets: number[];
4
+ scrollPositions: number[];
5
5
  /** Midpoints between consecutive slot centres, in content coordinates. */
6
6
  boundaries: number[];
7
7
  /** Half the viewport, kept here rather than read again on every scroll. */
@@ -13,9 +13,9 @@ export declare const EMPTY_GEOMETRY: Geometry;
13
13
  /**
14
14
  * Everything the gallery needs to know about its own layout.
15
15
  *
16
- * Positions are taken against the scroller's own box rather than `offsetLeft`, which is
17
- * relative to whichever ancestor happens to be positioned — so a gallery nested anywhere
18
- * measures the same.
16
+ * Positions are taken against the scroller's own box rather than the DOM's `offsetLeft`,
17
+ * which is relative to whichever ancestor happens to be positioned — so a gallery nested
18
+ * anywhere measures the same.
19
19
  *
20
20
  * **Boundaries come from slot centres, and scroll positions are clamped.** Keeping them
21
21
  * apart is what avoids ties: two slots at the same end of the track share a scroll
@@ -1,7 +1,7 @@
1
1
  /** A tolerance in px, so a sub-pixel scroll position does not read as « can still go ». */
2
2
  const EDGE_TOLERANCE = 1;
3
3
  export const EMPTY_GEOMETRY = {
4
- offsets: [],
4
+ scrollPositions: [],
5
5
  boundaries: [],
6
6
  halfViewport: 0,
7
7
  maxScroll: 0
@@ -9,9 +9,9 @@ export const EMPTY_GEOMETRY = {
9
9
  /**
10
10
  * Everything the gallery needs to know about its own layout.
11
11
  *
12
- * Positions are taken against the scroller's own box rather than `offsetLeft`, which is
13
- * relative to whichever ancestor happens to be positioned — so a gallery nested anywhere
14
- * measures the same.
12
+ * Positions are taken against the scroller's own box rather than the DOM's `offsetLeft`,
13
+ * which is relative to whichever ancestor happens to be positioned — so a gallery nested
14
+ * anywhere measures the same.
15
15
  *
16
16
  * **Boundaries come from slot centres, and scroll positions are clamped.** Keeping them
17
17
  * apart is what avoids ties: two slots at the same end of the track share a scroll
@@ -27,7 +27,7 @@ export function measureGeometry(scroller) {
27
27
  return rect.left - scrollerLeft + scrollLeft + rect.width / 2;
28
28
  });
29
29
  return {
30
- offsets: centers.map(center => Math.min(Math.max(center - halfViewport, 0), maxScroll)),
30
+ scrollPositions: centers.map(center => Math.min(Math.max(center - halfViewport, 0), maxScroll)),
31
31
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- i is in range by construction, centers[i] sits before the one being mapped
32
32
  boundaries: centers.slice(1).map((center, i) => (centers[i] + center) / 2),
33
33
  halfViewport,
@@ -1,36 +1,43 @@
1
1
  import { type FunctionComponent } from 'react';
2
2
  import type { WithClassName } from '../utils/types.js';
3
3
  /**
4
- * Describes the contract a dynamically imported UI module must satisfy.
5
- * Every member is validated at runtime after the import resolves.
4
+ * Describes the contract a dynamically imported UI module must satisfy. Only `init`
5
+ * is required; every member present is validated at runtime after the import resolves.
6
6
  *
7
- * @property init - Called once after the module loads. Receives the current
8
- * `props` and must return the root `Element` that will be appended to the
9
- * host `<div>`. Throwing inside `init` is caught and surfaced as an error state.
10
- * @property destroy - Called when the component unmounts or `src` changes.
11
- * Receives the `Element` previously returned by `init`. Use it to tear down
12
- * event listeners, timers, or third-party instances.
13
- * @property update - Optional. Called when `props` change after the module is
14
- * already initialized. Receives the live `Element` and the new props object.
7
+ * @property init - Called once after the module loads. Receives the current `props`
8
+ * and must return the root `Element` that will be appended to the host `<div>`.
9
+ * **The element is not in the document yet**, so measuring it or reaching its
10
+ * ancestors belongs in `postInit`, not here. Throwing is caught and surfaced as an
11
+ * error state.
12
+ * @property postInit - Optional. Called once, right after the element returned by
13
+ * `init` has been appended. First point at which the module holds an attached
14
+ * element: layout can be measured and ancestors reached.
15
+ * @property update - Optional. Called when the `props` object changes identity,
16
+ * once the module is live. Compared by reference, not by value — a consumer passing
17
+ * an inline object gets one call per render, one passing a stable reference gets one
18
+ * per real change.
19
+ * @property destroy - Optional. Called when the component unmounts or `src` changes.
20
+ * Receives the `Element` previously returned by `init`. Use it to tear down event
21
+ * listeners, timers, or third-party instances.
15
22
  * @property css - Optional array of raw CSS strings scoped automatically to
16
23
  * the host element via `.<publicClassName>#<id> { … }` and injected as
17
24
  * `<style>` elements.
18
25
  */
19
26
  type ModuleData = {
20
27
  init: (props: Record<string, unknown>) => Element;
21
- destroy: (target: Element) => void;
28
+ postInit?: (target: Element, props: Record<string, unknown>) => void;
22
29
  update?: (target: Element, props: Record<string, unknown>) => void;
30
+ destroy?: (target: Element) => void;
23
31
  css?: string[];
24
32
  };
25
33
  /**
26
34
  * Props for the {@link UIModule} component.
27
35
  *
28
36
  * @property src - URL of the ES module to import dynamically. The module must
29
- * satisfy the {@link ModuleData} interface — `init` and `destroy` are required,
30
- * `update` and `css` are optional. When `undefined`, nothing is loaded and the
31
- * component stays in the `--no-module` state.
32
- * @property props - Arbitrary key-value object forwarded verbatim to the
33
- * module's `init` call and, on subsequent changes, to `update` (if exported).
37
+ * satisfy the {@link ModuleData} interface — only `init` is required. When
38
+ * `undefined`, nothing is loaded and the component stays in the `--no-module` state.
39
+ * @property props - Arbitrary key-value object forwarded verbatim to `init`, then to
40
+ * `postInit`, then to `update` whenever the object's identity changes.
34
41
  * @property onIdGenerated - Called once on mount with the instance's generated
35
42
  * `id`. The id never changes afterwards, so this fires exactly once.
36
43
  * @property onIsLoadingChanged - Called after the loading state changed, with
@@ -55,8 +62,14 @@ export type Props = WithClassName<{
55
62
  * and appends that element to its own root `<div>`.
56
63
  *
57
64
  * The imported module is expected to conform to the {@link ModuleData} interface.
58
- * Any violation (missing exports, wrong types, `init` not returning an `Element`)
59
- * transitions the component into the `--error` state and logs to `console.error`.
65
+ * A missing `init`, a member of the wrong type, or an `init` not returning an
66
+ * `Element` transitions the component into the `--error` state and logs to
67
+ * `console.error`.
68
+ *
69
+ * ### Lifecycle
70
+ * `init(props)` builds the element, **detached**. It is appended, then `postInit`
71
+ * runs on it attached. `update` follows each change of the `props` object's
72
+ * identity, and `destroy` runs on unmount or when `src` changes.
60
73
  *
61
74
  * ### CSS modifiers
62
75
  * Reflecting the current load lifecycle:
@@ -13,8 +13,14 @@ import cssModule from './styles.module.css';
13
13
  * and appends that element to its own root `<div>`.
14
14
  *
15
15
  * The imported module is expected to conform to the {@link ModuleData} interface.
16
- * Any violation (missing exports, wrong types, `init` not returning an `Element`)
17
- * transitions the component into the `--error` state and logs to `console.error`.
16
+ * A missing `init`, a member of the wrong type, or an `init` not returning an
17
+ * `Element` transitions the component into the `--error` state and logs to
18
+ * `console.error`.
19
+ *
20
+ * ### Lifecycle
21
+ * `init(props)` builds the element, **detached**. It is appended, then `postInit`
22
+ * runs on it attached. `update` follows each change of the `props` object's
23
+ * identity, and `destroy` runs on unmount or when `src` changes.
18
24
  *
19
25
  * ### CSS modifiers
20
26
  * Reflecting the current load lifecycle:
@@ -45,10 +51,16 @@ export const UIModule = ({ src, props, onIdGenerated, onIsLoadingChanged, onLoad
45
51
  // What the teardown needs, held outside state so the load effect can depend on
46
52
  // `src` alone and still destroy whatever is actually live at cleanup time.
47
53
  const liveInstanceRef = useRef(null);
54
+ // The load effect depends on `src` alone, so the props it closes over are those of
55
+ // the render it ran on. This is what `init` and `postInit` read instead.
56
+ const propsRef = useRef(props);
48
57
  // State dispatch
49
58
  useChangeDispatch(isLoading, onIsLoadingChanged);
50
59
  useChangeDispatch(loadedModule, onLoadedModuleChanged);
51
60
  useChangeDispatch(moduleTarget, onModuleTargetChanged);
61
+ // Fx. no dep. - keep the latest props reachable from the effects that run outside
62
+ // their own render, declared first so they read this render's value and not the last
63
+ useEffect(() => { propsRef.current = props; });
52
64
  // Fx. no dep. - report the generated id, which never changes afterwards
53
65
  useEffect(() => { onIdGenerated?.(id); }, []);
54
66
  // Fx. dep. `src` - import, validate and initialize the module
@@ -63,8 +75,10 @@ export const UIModule = ({ src, props, onIdGenerated, onIsLoadingChanged, onLoad
63
75
  return setLoadedModule(new Error('Not a module'));
64
76
  if (!('init' in data) || typeof data.init !== 'function')
65
77
  return setLoadedModule(new Error('Module exported member `init` must be a function'));
66
- if (!('destroy' in data) || typeof data.destroy !== 'function')
78
+ if ('destroy' in data && typeof data.destroy !== 'function')
67
79
  return setLoadedModule(new Error('Module exported member `destroy` must be a function'));
80
+ if ('postInit' in data && typeof data.postInit !== 'function')
81
+ return setLoadedModule(new Error('Module exported member `postInit` must be a function'));
68
82
  if ('css' in data) {
69
83
  if (!Array.isArray(data.css))
70
84
  return setLoadedModule(new Error('Module exported member `css` must be an array of strings'));
@@ -77,7 +91,7 @@ export const UIModule = ({ src, props, onIdGenerated, onIsLoadingChanged, onLoad
77
91
  const module = data;
78
92
  setLoadedModule(module);
79
93
  try {
80
- const target = module.init(props ?? {});
94
+ const target = module.init(propsRef.current ?? {});
81
95
  if (!(target instanceof Element))
82
96
  return setLoadedModule(new Error('Module exported function `init` must return an Element'));
83
97
  liveInstanceRef.current = { module, target };
@@ -99,7 +113,7 @@ export const UIModule = ({ src, props, onIdGenerated, onIsLoadingChanged, onLoad
99
113
  const liveInstance = liveInstanceRef.current;
100
114
  if (liveInstance === null)
101
115
  return;
102
- liveInstance.module.destroy(liveInstance.target);
116
+ liveInstance.module.destroy?.(liveInstance.target);
103
117
  liveInstanceRef.current = null;
104
118
  };
105
119
  }, [src]);
@@ -109,14 +123,26 @@ export const UIModule = ({ src, props, onIdGenerated, onIsLoadingChanged, onLoad
109
123
  if (loadedModule instanceof Error)
110
124
  console.error(loadedModule);
111
125
  }, [loadedModule]);
112
- // Fx. dep. `moduleTarget` - append the element the module built
126
+ // Fx. dep. `moduleTarget` - append the element the module built, then hand it back
127
+ // attached. `init` ran on a detached node, so this is the first point a module can
128
+ // measure its own box or reach an ancestor.
113
129
  useEffect(() => {
114
130
  if (moduleTarget === null)
115
131
  return;
116
132
  if (rootRef.current === null)
117
133
  return;
118
134
  rootRef.current.appendChild(moduleTarget);
135
+ liveInstanceRef.current?.module.postInit?.(moduleTarget, propsRef.current ?? {});
119
136
  }, [moduleTarget]);
137
+ // Fx. dep. `props` - hand a props change to a module that is already live. Compared
138
+ // by reference: the component knows nothing of the values, so it leaves the call to
139
+ // the consumer's reference discipline and the module's own reading of what changed.
140
+ useEffect(() => {
141
+ const liveInstance = liveInstanceRef.current;
142
+ if (liveInstance === null)
143
+ return;
144
+ liveInstance.module.update?.(liveInstance.target, props ?? {});
145
+ }, [props]);
120
146
  // Rendering
121
147
  const c = clss(publicClassName, { cssModule });
122
148
  const hasErrored = loadedModule instanceof Error;
@@ -1,6 +1,6 @@
1
+ export * as beforeAfter from './BeforeAfter/index.js'
1
2
  export * as button from './Button/index.js'
2
3
  export * as clippable from './Clippable/index.js'
3
- export * as beforeAfter from './BeforeAfter/index.js'
4
4
  export * as disclaimer from './Disclaimer/index.js'
5
5
  export * as drawer from './Drawer/index.js'
6
6
  export * as eventListener from './EventListener/index.js'
@@ -9,21 +9,21 @@ export * as iframe from './Iframe/index.js'
9
9
  export * as image from './Image/index.js'
10
10
  export * as input from './Input/index.js'
11
11
  export * as intersectionObserver from './IntersectionObserver/index.js'
12
- export * as lightbox from './Lightbox/index.js'
13
12
  export * as jsonEditor from './JsonEditor/index.js'
13
+ export * as lightbox from './Lightbox/index.js'
14
14
  export * as listLoader from './ListLoader/index.js'
15
15
  export * as overlayer from './Overlayer/index.js'
16
+ export * as paginator from './Paginator/index.js'
17
+ export * as resizeObserver from './ResizeObserver/index.js'
16
18
  export * as scrllgngn from './Scrllgngn/index.js'
17
19
  export * as scrollListener from './ScrollListener/index.js'
18
- export * as resizeObserver from './ResizeObserver/index.js'
19
- export * as paginator from './Paginator/index.js'
20
20
  export * as select from './Select/index.js'
21
21
  export * as sequencer from './Sequencer/index.js'
22
- export * as shadowRoot from './ShadowRoot/index.js'
23
22
  export * as subtitles from './Subtitles/index.js'
23
+ export * as shadowRoot from './ShadowRoot/index.js'
24
+ export * as textarea from './Textarea/index.js'
24
25
  export * as uiModule from './UIModule/index.js'
25
26
  export * as video from './Video/index.js'
26
- export * as textarea from './Textarea/index.js'
27
27
  export * as wipAudioQuote from './_WIP_AudioQuote/index.js'
28
28
  export * as wipIcon from './_WIP_Icon/index.js'
29
29
  export * as utils from './utils/index.js'
@@ -1,6 +1,6 @@
1
+ export * as beforeAfter from './BeforeAfter/index.js'
1
2
  export * as button from './Button/index.js'
2
3
  export * as clippable from './Clippable/index.js'
3
- export * as beforeAfter from './BeforeAfter/index.js'
4
4
  export * as disclaimer from './Disclaimer/index.js'
5
5
  export * as drawer from './Drawer/index.js'
6
6
  export * as eventListener from './EventListener/index.js'
@@ -9,21 +9,21 @@ export * as iframe from './Iframe/index.js'
9
9
  export * as image from './Image/index.js'
10
10
  export * as input from './Input/index.js'
11
11
  export * as intersectionObserver from './IntersectionObserver/index.js'
12
- export * as lightbox from './Lightbox/index.js'
13
12
  export * as jsonEditor from './JsonEditor/index.js'
13
+ export * as lightbox from './Lightbox/index.js'
14
14
  export * as listLoader from './ListLoader/index.js'
15
15
  export * as overlayer from './Overlayer/index.js'
16
+ export * as paginator from './Paginator/index.js'
17
+ export * as resizeObserver from './ResizeObserver/index.js'
16
18
  export * as scrllgngn from './Scrllgngn/index.js'
17
19
  export * as scrollListener from './ScrollListener/index.js'
18
- export * as resizeObserver from './ResizeObserver/index.js'
19
- export * as paginator from './Paginator/index.js'
20
20
  export * as select from './Select/index.js'
21
21
  export * as sequencer from './Sequencer/index.js'
22
- export * as shadowRoot from './ShadowRoot/index.js'
23
22
  export * as subtitles from './Subtitles/index.js'
23
+ export * as shadowRoot from './ShadowRoot/index.js'
24
+ export * as textarea from './Textarea/index.js'
24
25
  export * as uiModule from './UIModule/index.js'
25
26
  export * as video from './Video/index.js'
26
- export * as textarea from './Textarea/index.js'
27
27
  export * as wipAudioQuote from './_WIP_AudioQuote/index.js'
28
28
  export * as wipIcon from './_WIP_Icon/index.js'
29
29
  export * as utils from './utils/index.js'
@@ -1,4 +1,4 @@
1
+ export * as copyDir from './copy-dir/index.js'
1
2
  export * as list from './list/index.js'
2
3
  export * as moveDir from './move-dir/index.js'
3
4
  export * as removeDir from './remove-dir/index.js'
4
- export * as copyDir from './copy-dir/index.js'
@@ -1,4 +1,4 @@
1
+ export * as copyDir from './copy-dir/index.js'
1
2
  export * as list from './list/index.js'
2
3
  export * as moveDir from './move-dir/index.js'
3
4
  export * as removeDir from './remove-dir/index.js'
4
- export * as copyDir from './copy-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
3
  export * as exists from './exists/index.js'
4
+ export * as move from './move/index.js'
4
5
  export * as remove from './remove/index.js'
5
6
  export * as stat from './stat/index.js'
6
- export * as move from './move/index.js'
7
7
  export * as upload from './upload/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
3
  export * as exists from './exists/index.js'
4
+ export * as move from './move/index.js'
4
5
  export * as remove from './remove/index.js'
5
6
  export * as stat from './stat/index.js'
6
- export * as move from './move/index.js'
7
7
  export * as upload from './upload/index.js'
@@ -1,4 +1,4 @@
1
- export * as list from './list/index.js'
2
1
  export * as copyDir from './copy-dir/index.js'
2
+ export * as list from './list/index.js'
3
3
  export * as moveDir from './move-dir/index.js'
4
4
  export * as removeDir from './remove-dir/index.js'
@@ -1,4 +1,4 @@
1
- export * as list from './list/index.js'
2
1
  export * as copyDir from './copy-dir/index.js'
2
+ export * as list from './list/index.js'
3
3
  export * as moveDir from './move-dir/index.js'
4
4
  export * as removeDir from './remove-dir/index.js'
@@ -1,11 +1,11 @@
1
1
  export * as copy from './copy/index.js'
2
2
  export * as download from './download/index.js'
3
3
  export * as exists from './exists/index.js'
4
+ export * as getMetadata from './get-metadata/index.js'
4
5
  export * as generateSignedUrl from './generate-signed-url/index.js'
5
6
  export * as getPermissions from './get-permissions/index.js'
6
- export * as getMetadata from './get-metadata/index.js'
7
- export * as remove from './remove/index.js'
8
7
  export * as move from './move/index.js'
8
+ export * as remove from './remove/index.js'
9
9
  export * as revokeSignedUrls from './revoke-signed-urls/index.js'
10
10
  export * as stat from './stat/index.js'
11
11
  export * as updateMetadata from './update-metadata/index.js'
@@ -1,11 +1,11 @@
1
1
  export * as copy from './copy/index.js'
2
2
  export * as download from './download/index.js'
3
3
  export * as exists from './exists/index.js'
4
+ export * as getMetadata from './get-metadata/index.js'
4
5
  export * as generateSignedUrl from './generate-signed-url/index.js'
5
6
  export * as getPermissions from './get-permissions/index.js'
6
- export * as getMetadata from './get-metadata/index.js'
7
- export * as remove from './remove/index.js'
8
7
  export * as move from './move/index.js'
8
+ export * as remove from './remove/index.js'
9
9
  export * as revokeSignedUrls from './revoke-signed-urls/index.js'
10
10
  export * as stat from './stat/index.js'
11
11
  export * as updateMetadata from './update-metadata/index.js'
@@ -1,11 +1,11 @@
1
- export * as copyFile from './copy-file/index.js'
2
1
  export * as copyDir from './copy-dir/index.js'
2
+ export * as copyFile from './copy-file/index.js'
3
3
  export * as downloadFile from './download-file/index.js'
4
4
  export * as existsFile from './exists-file/index.js'
5
5
  export * as listDir from './list-dir/index.js'
6
6
  export * as moveDir from './move-dir/index.js'
7
+ export * as moveFile from './move-file/index.js'
7
8
  export * as removeDir from './remove-dir/index.js'
8
9
  export * as removeFile from './remove-file/index.js'
9
10
  export * as statFile from './stat-file/index.js'
10
11
  export * as uploadFile from './upload-file/index.js'
11
- export * as moveFile from './move-file/index.js'
@@ -1,11 +1,11 @@
1
- export * as copyFile from './copy-file/index.js'
2
1
  export * as copyDir from './copy-dir/index.js'
2
+ export * as copyFile from './copy-file/index.js'
3
3
  export * as downloadFile from './download-file/index.js'
4
4
  export * as existsFile from './exists-file/index.js'
5
5
  export * as listDir from './list-dir/index.js'
6
6
  export * as moveDir from './move-dir/index.js'
7
+ export * as moveFile from './move-file/index.js'
7
8
  export * as removeDir from './remove-dir/index.js'
8
9
  export * as removeFile from './remove-file/index.js'
9
10
  export * as statFile from './stat-file/index.js'
10
11
  export * as uploadFile from './upload-file/index.js'
11
- export * as moveFile from './move-file/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
- export * as moveDir from './move-dir/index.js'
3
2
  export * as list from './list/index.js'
3
+ export * as moveDir from './move-dir/index.js'
4
4
  export * as removeDir from './remove-dir/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
- export * as moveDir from './move-dir/index.js'
3
2
  export * as list from './list/index.js'
3
+ export * as moveDir from './move-dir/index.js'
4
4
  export * as removeDir from './remove-dir/index.js'
@@ -1,5 +1,5 @@
1
- export * as download from './download/index.js'
2
1
  export * as copy from './copy/index.js'
2
+ export * as download from './download/index.js'
3
3
  export * as exists from './exists/index.js'
4
4
  export * as move from './move/index.js'
5
5
  export * as remove from './remove/index.js'
@@ -1,5 +1,5 @@
1
- export * as download from './download/index.js'
2
1
  export * as copy from './copy/index.js'
2
+ export * as download from './download/index.js'
3
3
  export * as exists from './exists/index.js'
4
4
  export * as move from './move/index.js'
5
5
  export * as remove from './remove/index.js'
@@ -1,15 +1,15 @@
1
- export * as extend from './extend/index.js'
2
1
  export * as blur from './blur/index.js'
2
+ export * as brighten from './brighten/index.js'
3
+ export * as extend from './extend/index.js'
3
4
  export * as extract from './extract/index.js'
4
5
  export * as flatten from './flatten/index.js'
5
6
  export * as flip from './flip/index.js'
6
7
  export * as flop from './flop/index.js'
7
8
  export * as hue from './hue/index.js'
8
- export * as brighten from './brighten/index.js'
9
+ export * as level from './level/index.js'
9
10
  export * as lighten from './lighten/index.js'
10
11
  export * as normalize from './normalize/index.js'
11
- export * as level from './level/index.js'
12
- export * as resize from './resize/index.js'
13
12
  export * as overlay from './overlay/index.js'
13
+ export * as resize from './resize/index.js'
14
14
  export * as rotate from './rotate/index.js'
15
15
  export * as saturate from './saturate/index.js'
@@ -1,15 +1,15 @@
1
- export * as extend from './extend/index.js'
2
1
  export * as blur from './blur/index.js'
2
+ export * as brighten from './brighten/index.js'
3
+ export * as extend from './extend/index.js'
3
4
  export * as extract from './extract/index.js'
4
5
  export * as flatten from './flatten/index.js'
5
6
  export * as flip from './flip/index.js'
6
7
  export * as flop from './flop/index.js'
7
8
  export * as hue from './hue/index.js'
8
- export * as brighten from './brighten/index.js'
9
+ export * as level from './level/index.js'
9
10
  export * as lighten from './lighten/index.js'
10
11
  export * as normalize from './normalize/index.js'
11
- export * as level from './level/index.js'
12
- export * as resize from './resize/index.js'
13
12
  export * as overlay from './overlay/index.js'
13
+ export * as resize from './resize/index.js'
14
14
  export * as rotate from './rotate/index.js'
15
15
  export * as saturate from './saturate/index.js'
package/node/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
+ export * as awsS3 from './@aws-s3/index.js'
1
2
  export * as designEdito from './@design-edito/index.js'
2
3
  export * as express from './@express/index.js'
3
4
  export * as googleCloud from './@google-cloud/index.js'
4
- export * as awsS3 from './@aws-s3/index.js'
5
5
  export * as cloudStorage from './cloud-storage/index.js'
6
6
  export * as encryption from './encryption/index.js'
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
10
  export * as process from './process/index.js'
10
11
  export * as sftp from './sftp/index.js'
11
- export * as files from './files/index.js'
package/node/index.js CHANGED
@@ -1,11 +1,11 @@
1
+ export * as awsS3 from './@aws-s3/index.js'
1
2
  export * as designEdito from './@design-edito/index.js'
2
3
  export * as express from './@express/index.js'
3
4
  export * as googleCloud from './@google-cloud/index.js'
4
- export * as awsS3 from './@aws-s3/index.js'
5
5
  export * as cloudStorage from './cloud-storage/index.js'
6
6
  export * as encryption from './encryption/index.js'
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
10
  export * as process from './process/index.js'
10
11
  export * as sftp from './sftp/index.js'
11
- export * as files from './files/index.js'
@@ -1,2 +1,2 @@
1
- export * as file from './file/index.js'
2
1
  export * as directory from './directory/index.js'
2
+ export * as file from './file/index.js'
@@ -1,2 +1,2 @@
1
- export * as file from './file/index.js'
2
1
  export * as directory from './directory/index.js'
2
+ export * as file from './file/index.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.5.32",
3
+ "version": "0.5.34",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",