@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.
- package/agnostic/arrays/index.d.ts +2 -2
- package/agnostic/arrays/index.js +2 -2
- package/agnostic/colors/index.d.ts +2 -2
- package/agnostic/colors/index.js +2 -2
- package/agnostic/errors/index.d.ts +1 -1
- package/agnostic/errors/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +9 -9
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +9 -9
- package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/index.js +2 -2
- package/agnostic/html/index.d.ts +2 -2
- package/agnostic/html/index.js +2 -2
- package/agnostic/index.d.ts +3 -3
- package/agnostic/index.js +3 -3
- package/agnostic/misc/index.d.ts +3 -3
- package/agnostic/misc/index.js +3 -3
- package/agnostic/misc/logs/index.d.ts +1 -1
- package/agnostic/misc/logs/index.js +1 -1
- package/agnostic/numbers/index.d.ts +1 -1
- package/agnostic/numbers/index.js +1 -1
- package/agnostic/objects/index.d.ts +2 -2
- package/agnostic/objects/index.js +2 -2
- package/agnostic/optim/index.d.ts +1 -1
- package/agnostic/optim/index.js +1 -1
- package/agnostic/random/index.d.ts +1 -1
- package/agnostic/random/index.js +1 -1
- package/agnostic/strings/index.d.ts +2 -2
- package/agnostic/strings/index.js +2 -2
- package/agnostic/time/dates/index.d.ts +1 -1
- package/agnostic/time/dates/index.js +1 -1
- package/agnostic/time/index.d.ts +1 -1
- package/agnostic/time/index.js +1 -1
- package/components/Gallery/index.d.ts +45 -41
- package/components/Gallery/index.js +89 -50
- package/components/Gallery/utils.d.ts +36 -1
- package/components/Gallery/utils.js +57 -15
- package/components/Sequencer/index.js +2 -25
- package/components/index.d.ts +6 -6
- package/components/index.js +6 -6
- package/node/@aws-s3/storage/directory/index.d.ts +1 -1
- package/node/@aws-s3/storage/directory/index.js +1 -1
- package/node/@aws-s3/storage/file/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/index.js +1 -1
- package/node/@google-cloud/storage/directory/index.d.ts +2 -2
- package/node/@google-cloud/storage/directory/index.js +2 -2
- package/node/@google-cloud/storage/file/index.d.ts +2 -2
- package/node/@google-cloud/storage/file/index.js +2 -2
- package/node/cloud-storage/operations/index.d.ts +3 -3
- package/node/cloud-storage/operations/index.js +3 -3
- package/node/files/index.d.ts +1 -1
- package/node/files/index.js +1 -1
- package/node/ftps/file/index.d.ts +1 -1
- package/node/ftps/file/index.js +1 -1
- package/node/images/index.d.ts +1 -1
- package/node/images/index.js +1 -1
- package/node/images/transform/operations/index.d.ts +5 -5
- package/node/images/transform/operations/index.js +5 -5
- package/node/index.d.ts +3 -3
- package/node/index.js +3 -3
- package/node/sftp/index.d.ts +1 -1
- package/node/sftp/index.js +1 -1
- 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'
|
package/agnostic/arrays/index.js
CHANGED
|
@@ -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'
|
package/agnostic/colors/index.js
CHANGED
|
@@ -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'
|
package/agnostic/errors/index.js
CHANGED
|
@@ -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'
|
package/agnostic/html/index.d.ts
CHANGED
|
@@ -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'
|
package/agnostic/html/index.js
CHANGED
|
@@ -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'
|
package/agnostic/index.d.ts
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'
|
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'
|
package/agnostic/misc/index.d.ts
CHANGED
|
@@ -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'
|
package/agnostic/misc/index.js
CHANGED
|
@@ -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,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
|
|
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
|
|
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'
|
package/agnostic/optim/index.js
CHANGED
package/agnostic/random/index.js
CHANGED
|
@@ -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'
|
package/agnostic/time/index.d.ts
CHANGED
|
@@ -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'
|
package/agnostic/time/index.js
CHANGED
|
@@ -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.
|
|
7
|
-
*
|
|
8
|
-
* @property paddingRight - Right padding applied to the last slot.
|
|
9
|
-
*
|
|
10
|
-
* @property
|
|
11
|
-
*
|
|
12
|
-
* @property
|
|
13
|
-
*
|
|
14
|
-
* @property
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* -
|
|
19
|
-
* -
|
|
20
|
-
* -
|
|
21
|
-
*
|
|
22
|
-
* @property
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* @property
|
|
26
|
-
* @property
|
|
27
|
-
*
|
|
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
|
|
47
|
+
* Horizontally scrollable gallery, with navigation controls and pagination.
|
|
60
48
|
*
|
|
61
|
-
*
|
|
62
|
-
* and
|
|
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
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
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>;
|