@design-edito/tools 0.5.31 → 0.5.33
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/css/index.d.ts +3 -3
- package/agnostic/css/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/index.js +1 -1
- package/agnostic/html/index.d.ts +3 -3
- package/agnostic/html/index.js +3 -3
- package/agnostic/index.d.ts +3 -3
- package/agnostic/index.js +3 -3
- package/agnostic/misc/crossenv/index.d.ts +1 -1
- package/agnostic/misc/crossenv/index.js +1 -1
- package/agnostic/misc/index.d.ts +3 -3
- package/agnostic/misc/index.js +3 -3
- package/agnostic/numbers/index.d.ts +2 -2
- package/agnostic/numbers/index.js +2 -2
- package/agnostic/objects/index.d.ts +1 -1
- package/agnostic/objects/index.js +1 -1
- package/agnostic/random/index.d.ts +1 -1
- package/agnostic/random/index.js +1 -1
- package/agnostic/sanitization/index.d.ts +1 -1
- package/agnostic/sanitization/index.js +1 -1
- package/agnostic/strings/index.d.ts +3 -3
- package/agnostic/strings/index.js +3 -3
- package/agnostic/time/dates/index.d.ts +1 -1
- package/agnostic/time/dates/index.js +1 -1
- package/agnostic/time/index.d.ts +2 -2
- package/agnostic/time/index.js +2 -2
- package/components/Gallery/index.d.ts +48 -44
- package/components/Gallery/index.js +96 -57
- package/components/Gallery/utils.d.ts +36 -1
- package/components/Gallery/utils.js +57 -15
- package/components/index.d.ts +1 -2
- package/components/index.js +1 -2
- package/components/public-classnames.d.ts +0 -1
- package/components/public-classnames.js +0 -1
- package/node/@google-cloud/storage/file/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/index.js +1 -1
- package/node/ftps/file/index.d.ts +1 -1
- package/node/ftps/file/index.js +1 -1
- package/node/ftps/index.d.ts +1 -1
- package/node/ftps/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 +2 -2
- package/node/images/transform/operations/index.js +2 -2
- package/node/index.d.ts +1 -1
- package/node/index.js +1 -1
- package/node/process/index.d.ts +1 -1
- package/node/process/index.js +1 -1
- package/package.json +1 -8
- package/components/GalleryAlt/index.d.ts +0 -76
- package/components/GalleryAlt/index.js +0 -188
- package/components/GalleryAlt/styles.module.css +0 -33
- package/components/GalleryAlt/utils.d.ts +0 -36
- package/components/GalleryAlt/utils.js +0 -58
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as dedupe from './dedupe/index.js'
|
|
2
2
|
export * as findDuplicates from './find-duplicates/index.js'
|
|
3
|
-
export * as
|
|
3
|
+
export * as make from './make/index.js'
|
|
4
4
|
export * as randomPick from './random-pick/index.js'
|
|
5
5
|
export * as shuffle from './shuffle/index.js'
|
|
6
|
-
export * as
|
|
6
|
+
export * as isArrayOf from './is-array-of/index.js'
|
package/agnostic/arrays/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as dedupe from './dedupe/index.js'
|
|
2
2
|
export * as findDuplicates from './find-duplicates/index.js'
|
|
3
|
-
export * as
|
|
3
|
+
export * as make from './make/index.js'
|
|
4
4
|
export * as randomPick from './random-pick/index.js'
|
|
5
5
|
export * as shuffle from './shuffle/index.js'
|
|
6
|
-
export * as
|
|
6
|
+
export * as isArrayOf from './is-array-of/index.js'
|
|
@@ -3,10 +3,10 @@ export * as contrast from './contrast/index.js'
|
|
|
3
3
|
export * as convert from './convert/index.js'
|
|
4
4
|
export * as distance from './distance/index.js'
|
|
5
5
|
export * as grayscale from './grayscale/index.js'
|
|
6
|
-
export * as invert from './invert/index.js'
|
|
7
6
|
export * as lerp from './lerp/index.js'
|
|
7
|
+
export * as invert from './invert/index.js'
|
|
8
8
|
export * as luminance from './luminance/index.js'
|
|
9
|
-
export * as rotate from './rotate/index.js'
|
|
10
9
|
export * as palette from './palette/index.js'
|
|
10
|
+
export * as rotate from './rotate/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
|
@@ -3,10 +3,10 @@ export * as contrast from './contrast/index.js'
|
|
|
3
3
|
export * as convert from './convert/index.js'
|
|
4
4
|
export * as distance from './distance/index.js'
|
|
5
5
|
export * as grayscale from './grayscale/index.js'
|
|
6
|
-
export * as invert from './invert/index.js'
|
|
7
6
|
export * as lerp from './lerp/index.js'
|
|
7
|
+
export * as invert from './invert/index.js'
|
|
8
8
|
export * as luminance from './luminance/index.js'
|
|
9
|
-
export * as rotate from './rotate/index.js'
|
|
10
9
|
export * as palette from './palette/index.js'
|
|
10
|
+
export * as rotate from './rotate/index.js'
|
|
11
11
|
export * as tidy from './tidy/index.js'
|
|
12
12
|
export * as typechecks from './typechecks/index.js'
|
package/agnostic/css/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as clss from './clss/index.js'
|
|
2
1
|
export * as bem from './bem/index.js'
|
|
2
|
+
export * as clss from './clss/index.js'
|
|
3
3
|
export * as generateNiceColor from './generate-nice-color/index.js'
|
|
4
|
-
export * as stylesSet from './styles-set/index.js'
|
|
5
|
-
export * as scale from './scale/index.js'
|
|
6
4
|
export * as isValidCssClassName from './is-valid-css-class-name/index.js'
|
|
5
|
+
export * as scale from './scale/index.js'
|
|
6
|
+
export * as stylesSet from './styles-set/index.js'
|
package/agnostic/css/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as clss from './clss/index.js'
|
|
2
1
|
export * as bem from './bem/index.js'
|
|
2
|
+
export * as clss from './clss/index.js'
|
|
3
3
|
export * as generateNiceColor from './generate-nice-color/index.js'
|
|
4
|
-
export * as stylesSet from './styles-set/index.js'
|
|
5
|
-
export * as scale from './scale/index.js'
|
|
6
4
|
export * as isValidCssClassName from './is-valid-css-class-name/index.js'
|
|
5
|
+
export * as scale from './scale/index.js'
|
|
6
|
+
export * as stylesSet from './styles-set/index.js'
|
|
@@ -6,8 +6,8 @@ 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 getattribute from './getattribute/index.js'
|
|
10
9
|
export * as equals from './equals/index.js'
|
|
10
|
+
export * as getattribute from './getattribute/index.js'
|
|
11
11
|
export * as getproperties from './getproperties/index.js'
|
|
12
12
|
export * as getproperty from './getproperty/index.js'
|
|
13
13
|
export * as hjparse from './hjparse/index.js'
|
|
@@ -15,12 +15,13 @@ export * as hjstringify from './hjstringify/index.js'
|
|
|
15
15
|
export * as if from './if/index.js'
|
|
16
16
|
export * as initialize from './initialize/index.js'
|
|
17
17
|
export * as join from './join/index.js'
|
|
18
|
-
export * as map from './map/index.js'
|
|
19
18
|
export * as length from './length/index.js'
|
|
19
|
+
export * as map from './map/index.js'
|
|
20
20
|
export * as negate from './negate/index.js'
|
|
21
21
|
export * as notrailing from './notrailing/index.js'
|
|
22
22
|
export * as or from './or/index.js'
|
|
23
23
|
export * as pickrandom from './pickrandom/index.js'
|
|
24
|
+
export * as populate from './populate/index.js'
|
|
24
25
|
export * as print from './print/index.js'
|
|
25
26
|
export * as push from './push/index.js'
|
|
26
27
|
export * as pusheach from './pusheach/index.js'
|
|
@@ -30,23 +31,22 @@ export * as removeclass from './removeclass/index.js'
|
|
|
30
31
|
export * as renameproperty from './renameproperty/index.js'
|
|
31
32
|
export * as replace from './replace/index.js'
|
|
32
33
|
export * as set from './set/index.js'
|
|
33
|
-
export * as select from './select/index.js'
|
|
34
34
|
export * as setattribute from './setattribute/index.js'
|
|
35
|
-
export * as populate from './populate/index.js'
|
|
36
|
-
export * as sorton from './sorton/index.js'
|
|
37
35
|
export * as setproperty from './setproperty/index.js'
|
|
36
|
+
export * as sorton from './sorton/index.js'
|
|
37
|
+
export * as split from './split/index.js'
|
|
38
38
|
export * as spread from './spread/index.js'
|
|
39
39
|
export * as toarray from './toarray/index.js'
|
|
40
|
-
export * as split from './split/index.js'
|
|
41
40
|
export * as toboolean from './toboolean/index.js'
|
|
42
41
|
export * as toelement from './toelement/index.js'
|
|
43
42
|
export * as toggleclass from './toggleclass/index.js'
|
|
44
43
|
export * as tonodelist from './tonodelist/index.js'
|
|
45
44
|
export * as tonull from './tonull/index.js'
|
|
45
|
+
export * as select from './select/index.js'
|
|
46
46
|
export * as tonumber from './tonumber/index.js'
|
|
47
47
|
export * as torecord from './torecord/index.js'
|
|
48
|
+
export * as toref from './toref/index.js'
|
|
48
49
|
export * as tostring from './tostring/index.js'
|
|
49
50
|
export * as totext from './totext/index.js'
|
|
50
51
|
export * as transformselected from './transformselected/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 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 getattribute from './getattribute/index.js'
|
|
10
9
|
export * as equals from './equals/index.js'
|
|
10
|
+
export * as getattribute from './getattribute/index.js'
|
|
11
11
|
export * as getproperties from './getproperties/index.js'
|
|
12
12
|
export * as getproperty from './getproperty/index.js'
|
|
13
13
|
export * as hjparse from './hjparse/index.js'
|
|
@@ -15,12 +15,13 @@ export * as hjstringify from './hjstringify/index.js'
|
|
|
15
15
|
export * as if from './if/index.js'
|
|
16
16
|
export * as initialize from './initialize/index.js'
|
|
17
17
|
export * as join from './join/index.js'
|
|
18
|
-
export * as map from './map/index.js'
|
|
19
18
|
export * as length from './length/index.js'
|
|
19
|
+
export * as map from './map/index.js'
|
|
20
20
|
export * as negate from './negate/index.js'
|
|
21
21
|
export * as notrailing from './notrailing/index.js'
|
|
22
22
|
export * as or from './or/index.js'
|
|
23
23
|
export * as pickrandom from './pickrandom/index.js'
|
|
24
|
+
export * as populate from './populate/index.js'
|
|
24
25
|
export * as print from './print/index.js'
|
|
25
26
|
export * as push from './push/index.js'
|
|
26
27
|
export * as pusheach from './pusheach/index.js'
|
|
@@ -30,23 +31,22 @@ export * as removeclass from './removeclass/index.js'
|
|
|
30
31
|
export * as renameproperty from './renameproperty/index.js'
|
|
31
32
|
export * as replace from './replace/index.js'
|
|
32
33
|
export * as set from './set/index.js'
|
|
33
|
-
export * as select from './select/index.js'
|
|
34
34
|
export * as setattribute from './setattribute/index.js'
|
|
35
|
-
export * as populate from './populate/index.js'
|
|
36
|
-
export * as sorton from './sorton/index.js'
|
|
37
35
|
export * as setproperty from './setproperty/index.js'
|
|
36
|
+
export * as sorton from './sorton/index.js'
|
|
37
|
+
export * as split from './split/index.js'
|
|
38
38
|
export * as spread from './spread/index.js'
|
|
39
39
|
export * as toarray from './toarray/index.js'
|
|
40
|
-
export * as split from './split/index.js'
|
|
41
40
|
export * as toboolean from './toboolean/index.js'
|
|
42
41
|
export * as toelement from './toelement/index.js'
|
|
43
42
|
export * as toggleclass from './toggleclass/index.js'
|
|
44
43
|
export * as tonodelist from './tonodelist/index.js'
|
|
45
44
|
export * as tonull from './tonull/index.js'
|
|
45
|
+
export * as select from './select/index.js'
|
|
46
46
|
export * as tonumber from './tonumber/index.js'
|
|
47
47
|
export * as torecord from './torecord/index.js'
|
|
48
|
+
export * as toref from './toref/index.js'
|
|
48
49
|
export * as tostring from './tostring/index.js'
|
|
49
50
|
export * as totext from './totext/index.js'
|
|
50
51
|
export * as transformselected from './transformselected/index.js'
|
|
51
52
|
export * as trim from './trim/index.js'
|
|
52
|
-
export * as toref from './toref/index.js'
|
|
@@ -3,8 +3,8 @@ export * as array from './array/index.js'
|
|
|
3
3
|
export * as boolean from './boolean/index.js'
|
|
4
4
|
export * as element from './element/index.js'
|
|
5
5
|
export * as get from './get/index.js'
|
|
6
|
-
export * as nodelist from './nodelist/index.js'
|
|
7
6
|
export * as guess from './guess/index.js'
|
|
7
|
+
export * as nodelist from './nodelist/index.js'
|
|
8
8
|
export * as null from './null/index.js'
|
|
9
9
|
export * as number from './number/index.js'
|
|
10
10
|
export * as record from './record/index.js'
|
|
@@ -3,8 +3,8 @@ export * as array from './array/index.js'
|
|
|
3
3
|
export * as boolean from './boolean/index.js'
|
|
4
4
|
export * as element from './element/index.js'
|
|
5
5
|
export * as get from './get/index.js'
|
|
6
|
-
export * as nodelist from './nodelist/index.js'
|
|
7
6
|
export * as guess from './guess/index.js'
|
|
7
|
+
export * as nodelist from './nodelist/index.js'
|
|
8
8
|
export * as null from './null/index.js'
|
|
9
9
|
export * as number from './number/index.js'
|
|
10
10
|
export * as record from './record/index.js'
|
package/agnostic/html/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * as hyperJson from './hyper-json/index.js'
|
|
2
1
|
export * as deepSelect from './deep-select/index.js'
|
|
2
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
3
|
+
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
4
|
+
export * as hyperJson from './hyper-json/index.js'
|
|
3
5
|
export * as insertNode from './insert-node/index.js'
|
|
4
6
|
export * as placeholders from './placeholders/index.js'
|
|
5
|
-
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
6
7
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
7
8
|
export * as selectorToElement from './selector-to-element/index.js'
|
|
8
9
|
export * as stringToNodes from './string-to-nodes/index.js'
|
|
9
10
|
export * as watchSelection from './watch-selection/index.js'
|
|
10
|
-
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
package/agnostic/html/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * as hyperJson from './hyper-json/index.js'
|
|
2
1
|
export * as deepSelect from './deep-select/index.js'
|
|
2
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
3
|
+
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
4
|
+
export * as hyperJson from './hyper-json/index.js'
|
|
3
5
|
export * as insertNode from './insert-node/index.js'
|
|
4
6
|
export * as placeholders from './placeholders/index.js'
|
|
5
|
-
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
6
7
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
7
8
|
export * as selectorToElement from './selector-to-element/index.js'
|
|
8
9
|
export * as stringToNodes from './string-to-nodes/index.js'
|
|
9
10
|
export * as watchSelection from './watch-selection/index.js'
|
|
10
|
-
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
package/agnostic/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * as arrays from './arrays/index.js'
|
|
2
1
|
export * as booleans from './booleans/index.js'
|
|
3
2
|
export * as colors from './colors/index.js'
|
|
3
|
+
export * as arrays from './arrays/index.js'
|
|
4
4
|
export * as css from './css/index.js'
|
|
5
5
|
export * as errors from './errors/index.js'
|
|
6
6
|
export * as html from './html/index.js'
|
|
7
|
-
export * as numbers from './numbers/index.js'
|
|
8
7
|
export * as misc from './misc/index.js'
|
|
8
|
+
export * as numbers from './numbers/index.js'
|
|
9
9
|
export * as objects from './objects/index.js'
|
|
10
10
|
export * as optim from './optim/index.js'
|
|
11
11
|
export * as random from './random/index.js'
|
|
@@ -13,5 +13,5 @@ export * as regexps from './regexps/index.js'
|
|
|
13
13
|
export * as sanitization from './sanitization/index.js'
|
|
14
14
|
export * as strings from './strings/index.js'
|
|
15
15
|
export * as time from './time/index.js'
|
|
16
|
-
export * as subtitles from './subtitles/index.js'
|
|
17
16
|
export * as typescript from './typescript/index.js'
|
|
17
|
+
export * as subtitles from './subtitles/index.js'
|
package/agnostic/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * as arrays from './arrays/index.js'
|
|
2
1
|
export * as booleans from './booleans/index.js'
|
|
3
2
|
export * as colors from './colors/index.js'
|
|
3
|
+
export * as arrays from './arrays/index.js'
|
|
4
4
|
export * as css from './css/index.js'
|
|
5
5
|
export * as errors from './errors/index.js'
|
|
6
6
|
export * as html from './html/index.js'
|
|
7
|
-
export * as numbers from './numbers/index.js'
|
|
8
7
|
export * as misc from './misc/index.js'
|
|
8
|
+
export * as numbers from './numbers/index.js'
|
|
9
9
|
export * as objects from './objects/index.js'
|
|
10
10
|
export * as optim from './optim/index.js'
|
|
11
11
|
export * as random from './random/index.js'
|
|
@@ -13,5 +13,5 @@ export * as regexps from './regexps/index.js'
|
|
|
13
13
|
export * as sanitization from './sanitization/index.js'
|
|
14
14
|
export * as strings from './strings/index.js'
|
|
15
15
|
export * as time from './time/index.js'
|
|
16
|
-
export * as subtitles from './subtitles/index.js'
|
|
17
16
|
export * as typescript from './typescript/index.js'
|
|
17
|
+
export * as subtitles from './subtitles/index.js'
|
package/agnostic/misc/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export * as assert from './assert/index.js'
|
|
2
2
|
export * as cast from './cast/index.js'
|
|
3
|
+
export * as connection from './connection/index.js'
|
|
3
4
|
export * as crawler from './crawler/index.js'
|
|
4
|
-
export * as crossenv from './crossenv/index.js'
|
|
5
5
|
export * as dataSize from './data-size/index.js'
|
|
6
|
+
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
6
7
|
export * as isNullish from './is-nullish/index.js'
|
|
7
8
|
export * as logs from './logs/index.js'
|
|
8
|
-
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
9
9
|
export * as loremIpsum from './lorem-ipsum/index.js'
|
|
10
10
|
export * as normalizeExtension from './normalize-extension/index.js'
|
|
11
|
+
export * as crossenv from './crossenv/index.js'
|
|
11
12
|
export * as outcome from './outcome/index.js'
|
|
12
|
-
export * as connection from './connection/index.js'
|
package/agnostic/misc/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export * as assert from './assert/index.js'
|
|
2
2
|
export * as cast from './cast/index.js'
|
|
3
|
+
export * as connection from './connection/index.js'
|
|
3
4
|
export * as crawler from './crawler/index.js'
|
|
4
|
-
export * as crossenv from './crossenv/index.js'
|
|
5
5
|
export * as dataSize from './data-size/index.js'
|
|
6
|
+
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
6
7
|
export * as isNullish from './is-nullish/index.js'
|
|
7
8
|
export * as logs from './logs/index.js'
|
|
8
|
-
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
9
9
|
export * as loremIpsum from './lorem-ipsum/index.js'
|
|
10
10
|
export * as normalizeExtension from './normalize-extension/index.js'
|
|
11
|
+
export * as crossenv from './crossenv/index.js'
|
|
11
12
|
export * as outcome from './outcome/index.js'
|
|
12
|
-
export * as connection from './connection/index.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as absoluteModulo from './absolute-modulo/index.js'
|
|
2
|
-
export * as clamp from './clamp/index.js'
|
|
3
2
|
export * as approximateRational from './approximate-rational/index.js'
|
|
3
|
+
export * as clamp from './clamp/index.js'
|
|
4
4
|
export * as geometricProgressions from './geometric-progressions/index.js'
|
|
5
|
-
export * as round from './round/index.js'
|
|
6
5
|
export * as interpolate from './interpolate/index.js'
|
|
6
|
+
export * as round from './round/index.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as absoluteModulo from './absolute-modulo/index.js'
|
|
2
|
-
export * as clamp from './clamp/index.js'
|
|
3
2
|
export * as approximateRational from './approximate-rational/index.js'
|
|
3
|
+
export * as clamp from './clamp/index.js'
|
|
4
4
|
export * as geometricProgressions from './geometric-progressions/index.js'
|
|
5
|
-
export * as round from './round/index.js'
|
|
6
5
|
export * as interpolate from './interpolate/index.js'
|
|
6
|
+
export * as round from './round/index.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * as deepGetProperty from './deep-get-property/index.js'
|
|
2
2
|
export * as enums from './enums/index.js'
|
|
3
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
3
4
|
export * as isObject from './is-object/index.js'
|
|
4
5
|
export * as isRecord from './is-record/index.js'
|
|
5
|
-
export * as flattenGetters from './flatten-getters/index.js'
|
|
6
6
|
export * as recordFormat from './record-format/index.js'
|
|
7
7
|
export * as recordMap from './record-map/index.js'
|
|
8
8
|
export * as validation from './validation/index.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * as deepGetProperty from './deep-get-property/index.js'
|
|
2
2
|
export * as enums from './enums/index.js'
|
|
3
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
3
4
|
export * as isObject from './is-object/index.js'
|
|
4
5
|
export * as isRecord from './is-record/index.js'
|
|
5
|
-
export * as flattenGetters from './flatten-getters/index.js'
|
|
6
6
|
export * as recordFormat from './record-format/index.js'
|
|
7
7
|
export * as recordMap from './record-map/index.js'
|
|
8
8
|
export * as validation from './validation/index.js'
|
package/agnostic/random/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export * as charCodes from './char-codes/index.js'
|
|
1
2
|
export * as matches from './matches/index.js'
|
|
2
3
|
export * as normalizeIndent from './normalize-indent/index.js'
|
|
3
|
-
export * as
|
|
4
|
-
export * as replaceAll from './replace-all/index.js'
|
|
4
|
+
export * as parseTable from './parse-table/index.js'
|
|
5
5
|
export * as splitTrim from './split-trim/index.js'
|
|
6
|
+
export * as replaceAll from './replace-all/index.js'
|
|
6
7
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
7
|
-
export * as parseTable from './parse-table/index.js'
|
|
8
8
|
export * as trim from './trim/index.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export * as charCodes from './char-codes/index.js'
|
|
1
2
|
export * as matches from './matches/index.js'
|
|
2
3
|
export * as normalizeIndent from './normalize-indent/index.js'
|
|
3
|
-
export * as
|
|
4
|
-
export * as replaceAll from './replace-all/index.js'
|
|
4
|
+
export * as parseTable from './parse-table/index.js'
|
|
5
5
|
export * as splitTrim from './split-trim/index.js'
|
|
6
|
+
export * as replaceAll from './replace-all/index.js'
|
|
6
7
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
7
|
-
export * as parseTable from './parse-table/index.js'
|
|
8
8
|
export * as trim from './trim/index.js'
|
package/agnostic/time/index.d.ts
CHANGED
|
@@ -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
|
-
export * as transitions from './transitions/index.js'
|
|
5
3
|
export * as wait from './wait/index.js'
|
|
4
|
+
export * as transitions from './transitions/index.js'
|
|
5
|
+
export * as timeout from './timeout/index.js'
|
package/agnostic/time/index.js
CHANGED
|
@@ -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
|
-
export * as transitions from './transitions/index.js'
|
|
5
3
|
export * as wait from './wait/index.js'
|
|
4
|
+
export * as transitions from './transitions/index.js'
|
|
5
|
+
export * as timeout from './timeout/index.js'
|
|
@@ -3,45 +3,33 @@ import type { WithClassName } from '../utils/types.js';
|
|
|
3
3
|
/**
|
|
4
4
|
* Props for the Gallery component.
|
|
5
5
|
*
|
|
6
|
-
* @property
|
|
7
|
-
*
|
|
8
|
-
* @property
|
|
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 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
|
+
* @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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
30
|
+
offsetLeft?: string | number;
|
|
31
|
+
offsetRight?: string | number;
|
|
32
|
+
offset?: string | number;
|
|
45
33
|
prevButtonContent?: ReactNode;
|
|
46
34
|
nextButtonContent?: ReactNode;
|
|
47
35
|
paginationContent?: ReactNode | ((page: number) => ReactNode);
|
|
@@ -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>;
|