@design-edito/tools 0.5.30 → 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 (62) 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/errors/index.d.ts +1 -1
  6. package/agnostic/errors/index.js +1 -1
  7. package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +9 -9
  8. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +9 -9
  9. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +2 -2
  10. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +2 -2
  11. package/agnostic/html/index.d.ts +2 -2
  12. package/agnostic/html/index.js +2 -2
  13. package/agnostic/index.d.ts +3 -3
  14. package/agnostic/index.js +3 -3
  15. package/agnostic/misc/index.d.ts +3 -3
  16. package/agnostic/misc/index.js +3 -3
  17. package/agnostic/misc/logs/index.d.ts +1 -1
  18. package/agnostic/misc/logs/index.js +1 -1
  19. package/agnostic/numbers/index.d.ts +1 -1
  20. package/agnostic/numbers/index.js +1 -1
  21. package/agnostic/objects/index.d.ts +2 -2
  22. package/agnostic/objects/index.js +2 -2
  23. package/agnostic/optim/index.d.ts +1 -1
  24. package/agnostic/optim/index.js +1 -1
  25. package/agnostic/random/index.d.ts +1 -1
  26. package/agnostic/random/index.js +1 -1
  27. package/agnostic/strings/index.d.ts +2 -2
  28. package/agnostic/strings/index.js +2 -2
  29. package/agnostic/time/dates/index.d.ts +1 -1
  30. package/agnostic/time/dates/index.js +1 -1
  31. package/agnostic/time/index.d.ts +1 -1
  32. package/agnostic/time/index.js +1 -1
  33. package/components/Gallery/index.d.ts +45 -41
  34. package/components/Gallery/index.js +89 -50
  35. package/components/Gallery/utils.d.ts +36 -1
  36. package/components/Gallery/utils.js +57 -15
  37. package/components/Sequencer/index.js +2 -25
  38. package/components/index.d.ts +6 -6
  39. package/components/index.js +6 -6
  40. package/node/@aws-s3/storage/directory/index.d.ts +1 -1
  41. package/node/@aws-s3/storage/directory/index.js +1 -1
  42. package/node/@aws-s3/storage/file/index.d.ts +1 -1
  43. package/node/@aws-s3/storage/file/index.js +1 -1
  44. package/node/@google-cloud/storage/directory/index.d.ts +2 -2
  45. package/node/@google-cloud/storage/directory/index.js +2 -2
  46. package/node/@google-cloud/storage/file/index.d.ts +2 -2
  47. package/node/@google-cloud/storage/file/index.js +2 -2
  48. package/node/cloud-storage/operations/index.d.ts +3 -3
  49. package/node/cloud-storage/operations/index.js +3 -3
  50. package/node/files/index.d.ts +1 -1
  51. package/node/files/index.js +1 -1
  52. package/node/ftps/file/index.d.ts +1 -1
  53. package/node/ftps/file/index.js +1 -1
  54. package/node/images/index.d.ts +1 -1
  55. package/node/images/index.js +1 -1
  56. package/node/images/transform/operations/index.d.ts +5 -5
  57. package/node/images/transform/operations/index.js +5 -5
  58. package/node/index.d.ts +3 -3
  59. package/node/index.js +3 -3
  60. package/node/sftp/index.d.ts +1 -1
  61. package/node/sftp/index.js +1 -1
  62. package/package.json +1 -1
@@ -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
4
  export * as make from './make/index.js'
5
- export * as randomPick from './random-pick/index.js'
6
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
4
  export * as make from './make/index.js'
5
- export * as randomPick from './random-pick/index.js'
6
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
7
  export * as palette from './palette/index.js'
10
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
7
  export * as palette from './palette/index.js'
10
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,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'
@@ -6,47 +6,47 @@ export * as at from './at/index.js'
6
6
  export * as call from './call/index.js'
7
7
  export * as clone from './clone/index.js'
8
8
  export * as deleteproperties from './deleteproperties/index.js'
9
- export * as equals from './equals/index.js'
10
9
  export * as getattribute from './getattribute/index.js'
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
+ export * as initialize from './initialize/index.js'
16
17
  export * as join from './join/index.js'
17
18
  export * as length from './length/index.js'
18
19
  export * as map from './map/index.js'
19
- export * as initialize from './initialize/index.js'
20
20
  export * as negate from './negate/index.js'
21
- export * as or from './or/index.js'
22
21
  export * as notrailing from './notrailing/index.js'
22
+ export * as or from './or/index.js'
23
23
  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'
28
27
  export * as recordtoarray from './recordtoarray/index.js'
29
28
  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
32
  export * as replace from './replace/index.js'
33
33
  export * as select from './select/index.js'
34
34
  export * as set from './set/index.js'
35
+ export * as setattribute from './setattribute/index.js'
35
36
  export * as setproperty from './setproperty/index.js'
36
37
  export * as sorton from './sorton/index.js'
37
38
  export * as split from './split/index.js'
38
39
  export * as spread from './spread/index.js'
39
- export * as toboolean from './toboolean/index.js'
40
40
  export * as toarray from './toarray/index.js'
41
+ export * as toboolean from './toboolean/index.js'
41
42
  export * as toelement from './toelement/index.js'
42
43
  export * as toggleclass from './toggleclass/index.js'
43
- export * as setattribute from './setattribute/index.js'
44
- export * as tonull from './tonull/index.js'
45
44
  export * as tonodelist from './tonodelist/index.js'
45
+ export * as tonull from './tonull/index.js'
46
46
  export * as torecord from './torecord/index.js'
47
47
  export * as tonumber from './tonumber/index.js'
48
- export * as toref from './toref/index.js'
49
48
  export * as tostring from './tostring/index.js'
50
49
  export * as totext from './totext/index.js'
51
50
  export * as transformselected from './transformselected/index.js'
52
51
  export * as trim from './trim/index.js'
52
+ export * as toref from './toref/index.js'
@@ -6,47 +6,47 @@ export * as at from './at/index.js'
6
6
  export * as call from './call/index.js'
7
7
  export * as clone from './clone/index.js'
8
8
  export * as deleteproperties from './deleteproperties/index.js'
9
- export * as equals from './equals/index.js'
10
9
  export * as getattribute from './getattribute/index.js'
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
+ export * as initialize from './initialize/index.js'
16
17
  export * as join from './join/index.js'
17
18
  export * as length from './length/index.js'
18
19
  export * as map from './map/index.js'
19
- export * as initialize from './initialize/index.js'
20
20
  export * as negate from './negate/index.js'
21
- export * as or from './or/index.js'
22
21
  export * as notrailing from './notrailing/index.js'
22
+ export * as or from './or/index.js'
23
23
  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'
28
27
  export * as recordtoarray from './recordtoarray/index.js'
29
28
  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
32
  export * as replace from './replace/index.js'
33
33
  export * as select from './select/index.js'
34
34
  export * as set from './set/index.js'
35
+ export * as setattribute from './setattribute/index.js'
35
36
  export * as setproperty from './setproperty/index.js'
36
37
  export * as sorton from './sorton/index.js'
37
38
  export * as split from './split/index.js'
38
39
  export * as spread from './spread/index.js'
39
- export * as toboolean from './toboolean/index.js'
40
40
  export * as toarray from './toarray/index.js'
41
+ export * as toboolean from './toboolean/index.js'
41
42
  export * as toelement from './toelement/index.js'
42
43
  export * as toggleclass from './toggleclass/index.js'
43
- export * as setattribute from './setattribute/index.js'
44
- export * as tonull from './tonull/index.js'
45
44
  export * as tonodelist from './tonodelist/index.js'
45
+ export * as tonull from './tonull/index.js'
46
46
  export * as torecord from './torecord/index.js'
47
47
  export * as tonumber from './tonumber/index.js'
48
- export * as toref from './toref/index.js'
49
48
  export * as tostring from './tostring/index.js'
50
49
  export * as totext from './totext/index.js'
51
50
  export * as transformselected from './transformselected/index.js'
52
51
  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 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'
@@ -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 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
1
  export * as deepSelect from './deep-select/index.js'
2
2
  export * as getNodeAncestors from './get-node-ancestors/index.js'
3
+ export * as getPositionInsideParent from './get-position-inside-parent/index.js'
3
4
  export * as hyperJson from './hyper-json/index.js'
4
5
  export * as insertNode from './insert-node/index.js'
5
- export * as getPositionInsideParent from './get-position-inside-parent/index.js'
6
6
  export * as placeholders from './placeholders/index.js'
7
7
  export * as replaceInElement from './replace-in-element/index.js'
8
- export * as stringToNodes from './string-to-nodes/index.js'
9
8
  export * as selectorToElement from './selector-to-element/index.js'
9
+ export * as stringToNodes from './string-to-nodes/index.js'
10
10
  export * as watchSelection from './watch-selection/index.js'
@@ -1,10 +1,10 @@
1
1
  export * as deepSelect from './deep-select/index.js'
2
2
  export * as getNodeAncestors from './get-node-ancestors/index.js'
3
+ export * as getPositionInsideParent from './get-position-inside-parent/index.js'
3
4
  export * as hyperJson from './hyper-json/index.js'
4
5
  export * as insertNode from './insert-node/index.js'
5
- export * as getPositionInsideParent from './get-position-inside-parent/index.js'
6
6
  export * as placeholders from './placeholders/index.js'
7
7
  export * as replaceInElement from './replace-in-element/index.js'
8
- export * as stringToNodes from './string-to-nodes/index.js'
9
8
  export * as selectorToElement from './selector-to-element/index.js'
9
+ export * as stringToNodes from './string-to-nodes/index.js'
10
10
  export * as watchSelection from './watch-selection/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'
7
+ export * as html from './html/index.js'
6
8
  export * as numbers from './numbers/index.js'
7
- export * as objects from './objects/index.js'
8
9
  export * as optim from './optim/index.js'
10
+ export * as objects from './objects/index.js'
9
11
  export * as random from './random/index.js'
10
12
  export * as regexps from './regexps/index.js'
11
13
  export * as sanitization from './sanitization/index.js'
12
14
  export * as strings from './strings/index.js'
13
- export * as html from './html/index.js'
14
- export * as misc from './misc/index.js'
15
15
  export * as subtitles from './subtitles/index.js'
16
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'
7
+ export * as html from './html/index.js'
6
8
  export * as numbers from './numbers/index.js'
7
- export * as objects from './objects/index.js'
8
9
  export * as optim from './optim/index.js'
10
+ export * as objects from './objects/index.js'
9
11
  export * as random from './random/index.js'
10
12
  export * as regexps from './regexps/index.js'
11
13
  export * as sanitization from './sanitization/index.js'
12
14
  export * as strings from './strings/index.js'
13
- export * as html from './html/index.js'
14
- export * as misc from './misc/index.js'
15
15
  export * as subtitles from './subtitles/index.js'
16
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'
2
- export * as cast from './cast/index.js'
3
1
  export * as connection from './connection/index.js'
2
+ export * as cast from './cast/index.js'
4
3
  export * as crawler from './crawler/index.js'
4
+ export * as assert from './assert/index.js'
5
5
  export * as crossenv from './crossenv/index.js'
6
6
  export * as dataSize from './data-size/index.js'
7
+ export * as isConstructorFunction from './is-constructor-function/index.js'
7
8
  export * as isNullish from './is-nullish/index.js'
8
9
  export * as logs from './logs/index.js'
9
- export * as isConstructorFunction from './is-constructor-function/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 assert from './assert/index.js'
2
- export * as cast from './cast/index.js'
3
1
  export * as connection from './connection/index.js'
2
+ export * as cast from './cast/index.js'
4
3
  export * as crawler from './crawler/index.js'
4
+ export * as assert from './assert/index.js'
5
5
  export * as crossenv from './crossenv/index.js'
6
6
  export * as dataSize from './data-size/index.js'
7
+ export * as isConstructorFunction from './is-constructor-function/index.js'
7
8
  export * as isNullish from './is-nullish/index.js'
8
9
  export * as logs from './logs/index.js'
9
- export * as isConstructorFunction from './is-constructor-function/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,3 +1,3 @@
1
1
  export * as logger from './logger/index.js'
2
- export * as styles from './styles/index.js'
3
2
  export * as makeTextBlock from './make-text-block/index.js'
3
+ export * as styles from './styles/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as logger from './logger/index.js'
2
- export * as styles from './styles/index.js'
3
2
  export * as makeTextBlock from './make-text-block/index.js'
3
+ export * as styles from './styles/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
3
  export * as clamp from './clamp/index.js'
4
- export * as geometricProgressions from './geometric-progressions/index.js'
5
4
  export * as interpolate from './interpolate/index.js'
6
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
2
  export * as approximateRational from './approximate-rational/index.js'
3
3
  export * as clamp from './clamp/index.js'
4
- export * as geometricProgressions from './geometric-progressions/index.js'
5
4
  export * as interpolate from './interpolate/index.js'
6
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
3
  export * as flattenGetters from './flatten-getters/index.js'
4
- export * as isObject from './is-object/index.js'
5
4
  export * as isRecord from './is-record/index.js'
6
5
  export * as recordFormat from './record-format/index.js'
7
- export * as recordMap from './record-map/index.js'
6
+ export * as isObject from './is-object/index.js'
8
7
  export * as sortKeys from './sort-keys/index.js'
8
+ export * as recordMap from './record-map/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'
5
4
  export * as isRecord from './is-record/index.js'
6
5
  export * as recordFormat from './record-format/index.js'
7
- export * as recordMap from './record-map/index.js'
6
+ export * as isObject from './is-object/index.js'
8
7
  export * as sortKeys from './sort-keys/index.js'
8
+ export * as recordMap from './record-map/index.js'
9
9
  export * as validation from './validation/index.js'
@@ -1,2 +1,2 @@
1
- export * as throttleDebounce from './throttle-debounce/index.js'
2
1
  export * as memoize from './memoize/index.js'
2
+ export * as throttleDebounce from './throttle-debounce/index.js'
@@ -1,2 +1,2 @@
1
- export * as throttleDebounce from './throttle-debounce/index.js'
2
1
  export * as memoize from './memoize/index.js'
2
+ export * as throttleDebounce from './throttle-debounce/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as hexChar from './hex-char/index.js'
2
- export * as random from './random/index.js'
3
2
  export * as uuid from './uuid/index.js'
3
+ export * as random from './random/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as hexChar from './hex-char/index.js'
2
- export * as random from './random/index.js'
3
2
  export * as uuid from './uuid/index.js'
3
+ export * as random from './random/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'
4
6
  export * as parseTable from './parse-table/index.js'
5
7
  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'
4
6
  export * as parseTable from './parse-table/index.js'
5
7
  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 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'
@@ -1,5 +1,5 @@
1
- export * as duration from './duration/index.js'
2
1
  export * as dates from './dates/index.js'
2
+ export * as duration from './duration/index.js'
3
3
  export * as timeout from './timeout/index.js'
4
4
  export * as transitions from './transitions/index.js'
5
5
  export * as wait from './wait/index.js'
@@ -1,5 +1,5 @@
1
- export * as duration from './duration/index.js'
2
1
  export * as dates from './dates/index.js'
2
+ export * as duration from './duration/index.js'
3
3
  export * as timeout from './timeout/index.js'
4
4
  export * as transitions from './transitions/index.js'
5
5
  export * as wait from './wait/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>;