@design-edito/tools 0.5.10 → 0.5.11
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 +4 -4
- package/agnostic/colors/index.js +4 -4
- package/agnostic/css/index.d.ts +1 -1
- package/agnostic/css/index.js +1 -1
- 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 +11 -11
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +11 -11
- package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/index.js +3 -3
- package/agnostic/html/index.d.ts +1 -1
- package/agnostic/html/index.js +1 -1
- package/agnostic/index.d.ts +2 -2
- package/agnostic/index.js +2 -2
- 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 +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/optim/index.d.ts +1 -1
- package/agnostic/optim/index.js +1 -1
- package/agnostic/strings/index.d.ts +2 -2
- package/agnostic/strings/index.js +2 -2
- package/agnostic/subtitles/index.d.ts +1 -1
- package/agnostic/subtitles/index.js +1 -1
- package/agnostic/time/index.d.ts +1 -1
- package/agnostic/time/index.js +1 -1
- package/components/Lightbox/index.d.ts +25 -22
- package/components/Lightbox/index.js +30 -28
- package/node/@google-cloud/storage/directory/index.d.ts +1 -1
- package/node/@google-cloud/storage/directory/index.js +1 -1
- package/node/@google-cloud/storage/file/index.d.ts +3 -3
- package/node/@google-cloud/storage/file/index.js +3 -3
- package/node/@google-cloud/storage/index.d.ts +1 -1
- package/node/@google-cloud/storage/index.js +1 -1
- package/node/cloud-storage/operations/index.d.ts +1 -1
- package/node/cloud-storage/operations/index.js +1 -1
- package/node/ftps/directory/index.d.ts +1 -1
- package/node/ftps/directory/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 +1 -1
- package/node/images/transform/operations/index.js +1 -1
- package/node/index.d.ts +1 -1
- package/node/index.js +1 -1
- package/node/sftp/directory/index.d.ts +1 -1
- package/node/sftp/directory/index.js +1 -1
- package/node/sftp/file/index.d.ts +1 -1
- package/node/sftp/file/index.js +1 -1
- 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'
|
|
1
2
|
export * as findDuplicates from './find-duplicates/index.js'
|
|
2
3
|
export * as isArrayOf from './is-array-of/index.js'
|
|
3
|
-
export * as randomPick from './random-pick/index.js'
|
|
4
4
|
export * as make from './make/index.js'
|
|
5
|
-
export * as
|
|
5
|
+
export * as randomPick from './random-pick/index.js'
|
|
6
6
|
export * as shuffle from './shuffle/index.js'
|
package/agnostic/arrays/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
export * as dedupe from './dedupe/index.js'
|
|
1
2
|
export * as findDuplicates from './find-duplicates/index.js'
|
|
2
3
|
export * as isArrayOf from './is-array-of/index.js'
|
|
3
|
-
export * as randomPick from './random-pick/index.js'
|
|
4
4
|
export * as make from './make/index.js'
|
|
5
|
-
export * as
|
|
5
|
+
export * as randomPick from './random-pick/index.js'
|
|
6
6
|
export * as shuffle from './shuffle/index.js'
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * as contrast from './contrast/index.js'
|
|
2
|
-
export * as convert from './convert/index.js'
|
|
3
1
|
export * as channels from './channels/index.js'
|
|
2
|
+
export * as convert from './convert/index.js'
|
|
3
|
+
export * as contrast from './contrast/index.js'
|
|
4
4
|
export * as distance from './distance/index.js'
|
|
5
|
+
export * as grayscale from './grayscale/index.js'
|
|
5
6
|
export * as invert from './invert/index.js'
|
|
6
7
|
export * as lerp from './lerp/index.js'
|
|
7
8
|
export * as luminance from './luminance/index.js'
|
|
8
|
-
export * as rotate from './rotate/index.js'
|
|
9
9
|
export * as palette from './palette/index.js'
|
|
10
|
+
export * as rotate from './rotate/index.js'
|
|
10
11
|
export * as tidy from './tidy/index.js'
|
|
11
12
|
export * as typechecks from './typechecks/index.js'
|
|
12
|
-
export * as grayscale from './grayscale/index.js'
|
package/agnostic/colors/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * as contrast from './contrast/index.js'
|
|
2
|
-
export * as convert from './convert/index.js'
|
|
3
1
|
export * as channels from './channels/index.js'
|
|
2
|
+
export * as convert from './convert/index.js'
|
|
3
|
+
export * as contrast from './contrast/index.js'
|
|
4
4
|
export * as distance from './distance/index.js'
|
|
5
|
+
export * as grayscale from './grayscale/index.js'
|
|
5
6
|
export * as invert from './invert/index.js'
|
|
6
7
|
export * as lerp from './lerp/index.js'
|
|
7
8
|
export * as luminance from './luminance/index.js'
|
|
8
|
-
export * as rotate from './rotate/index.js'
|
|
9
9
|
export * as palette from './palette/index.js'
|
|
10
|
+
export * as rotate from './rotate/index.js'
|
|
10
11
|
export * as tidy from './tidy/index.js'
|
|
11
12
|
export * as typechecks from './typechecks/index.js'
|
|
12
|
-
export * as grayscale from './grayscale/index.js'
|
package/agnostic/css/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export * as bem from './bem/index.js'
|
|
|
2
2
|
export * as clss from './clss/index.js'
|
|
3
3
|
export * as generateNiceColor from './generate-nice-color/index.js'
|
|
4
4
|
export * as isValidCssClassName from './is-valid-css-class-name/index.js'
|
|
5
|
-
export * as scale from './scale/index.js'
|
|
6
5
|
export * as stylesSet from './styles-set/index.js'
|
|
6
|
+
export * as scale from './scale/index.js'
|
package/agnostic/css/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * as bem from './bem/index.js'
|
|
|
2
2
|
export * as clss from './clss/index.js'
|
|
3
3
|
export * as generateNiceColor from './generate-nice-color/index.js'
|
|
4
4
|
export * as isValidCssClassName from './is-valid-css-class-name/index.js'
|
|
5
|
-
export * as scale from './scale/index.js'
|
|
6
5
|
export * as stylesSet from './styles-set/index.js'
|
|
6
|
+
export * as scale from './scale/index.js'
|
package/agnostic/errors/index.js
CHANGED
|
@@ -2,50 +2,50 @@ export * as add from './add/index.js'
|
|
|
2
2
|
export * as addclass from './addclass/index.js'
|
|
3
3
|
export * as and from './and/index.js'
|
|
4
4
|
export * as append from './append/index.js'
|
|
5
|
-
export * as call from './call/index.js'
|
|
6
5
|
export * as at from './at/index.js'
|
|
7
6
|
export * as clone from './clone/index.js'
|
|
7
|
+
export * as call from './call/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'
|
|
14
14
|
export * as if from './if/index.js'
|
|
15
15
|
export * as hjstringify from './hjstringify/index.js'
|
|
16
16
|
export * as initialize from './initialize/index.js'
|
|
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 join from './join/index.js'
|
|
20
20
|
export * as negate from './negate/index.js'
|
|
21
|
-
export * as notrailing from './notrailing/index.js'
|
|
22
21
|
export * as or from './or/index.js'
|
|
22
|
+
export * as notrailing from './notrailing/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
|
+
export * as push from './push/index.js'
|
|
26
27
|
export * as pusheach from './pusheach/index.js'
|
|
27
28
|
export * as recordtoarray from './recordtoarray/index.js'
|
|
28
|
-
export * as push from './push/index.js'
|
|
29
|
-
export * as removeclass from './removeclass/index.js'
|
|
30
29
|
export * as removeattribute from './removeattribute/index.js'
|
|
31
|
-
export * as
|
|
30
|
+
export * as removeclass from './removeclass/index.js'
|
|
32
31
|
export * as replace from './replace/index.js'
|
|
33
|
-
export * as
|
|
32
|
+
export * as renameproperty from './renameproperty/index.js'
|
|
34
33
|
export * as set from './set/index.js'
|
|
35
34
|
export * as setattribute from './setattribute/index.js'
|
|
35
|
+
export * as select from './select/index.js'
|
|
36
36
|
export * as setproperty from './setproperty/index.js'
|
|
37
37
|
export * as sorton from './sorton/index.js'
|
|
38
38
|
export * as split from './split/index.js'
|
|
39
|
+
export * as spread from './spread/index.js'
|
|
39
40
|
export * as toarray from './toarray/index.js'
|
|
40
|
-
export * as toelement from './toelement/index.js'
|
|
41
41
|
export * as toboolean from './toboolean/index.js'
|
|
42
|
+
export * as toelement from './toelement/index.js'
|
|
42
43
|
export * as toggleclass from './toggleclass/index.js'
|
|
43
44
|
export * as tonodelist from './tonodelist/index.js'
|
|
45
|
+
export * as tonumber from './tonumber/index.js'
|
|
44
46
|
export * as tonull from './tonull/index.js'
|
|
45
47
|
export * as torecord from './torecord/index.js'
|
|
46
|
-
export * as tonumber from './tonumber/index.js'
|
|
47
48
|
export * as toref from './toref/index.js'
|
|
48
|
-
export * as spread from './spread/index.js'
|
|
49
49
|
export * as tostring from './tostring/index.js'
|
|
50
50
|
export * as totext from './totext/index.js'
|
|
51
51
|
export * as transformselected from './transformselected/index.js'
|
|
@@ -2,50 +2,50 @@ export * as add from './add/index.js'
|
|
|
2
2
|
export * as addclass from './addclass/index.js'
|
|
3
3
|
export * as and from './and/index.js'
|
|
4
4
|
export * as append from './append/index.js'
|
|
5
|
-
export * as call from './call/index.js'
|
|
6
5
|
export * as at from './at/index.js'
|
|
7
6
|
export * as clone from './clone/index.js'
|
|
7
|
+
export * as call from './call/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'
|
|
14
14
|
export * as if from './if/index.js'
|
|
15
15
|
export * as hjstringify from './hjstringify/index.js'
|
|
16
16
|
export * as initialize from './initialize/index.js'
|
|
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 join from './join/index.js'
|
|
20
20
|
export * as negate from './negate/index.js'
|
|
21
|
-
export * as notrailing from './notrailing/index.js'
|
|
22
21
|
export * as or from './or/index.js'
|
|
22
|
+
export * as notrailing from './notrailing/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
|
+
export * as push from './push/index.js'
|
|
26
27
|
export * as pusheach from './pusheach/index.js'
|
|
27
28
|
export * as recordtoarray from './recordtoarray/index.js'
|
|
28
|
-
export * as push from './push/index.js'
|
|
29
|
-
export * as removeclass from './removeclass/index.js'
|
|
30
29
|
export * as removeattribute from './removeattribute/index.js'
|
|
31
|
-
export * as
|
|
30
|
+
export * as removeclass from './removeclass/index.js'
|
|
32
31
|
export * as replace from './replace/index.js'
|
|
33
|
-
export * as
|
|
32
|
+
export * as renameproperty from './renameproperty/index.js'
|
|
34
33
|
export * as set from './set/index.js'
|
|
35
34
|
export * as setattribute from './setattribute/index.js'
|
|
35
|
+
export * as select from './select/index.js'
|
|
36
36
|
export * as setproperty from './setproperty/index.js'
|
|
37
37
|
export * as sorton from './sorton/index.js'
|
|
38
38
|
export * as split from './split/index.js'
|
|
39
|
+
export * as spread from './spread/index.js'
|
|
39
40
|
export * as toarray from './toarray/index.js'
|
|
40
|
-
export * as toelement from './toelement/index.js'
|
|
41
41
|
export * as toboolean from './toboolean/index.js'
|
|
42
|
+
export * as toelement from './toelement/index.js'
|
|
42
43
|
export * as toggleclass from './toggleclass/index.js'
|
|
43
44
|
export * as tonodelist from './tonodelist/index.js'
|
|
45
|
+
export * as tonumber from './tonumber/index.js'
|
|
44
46
|
export * as tonull from './tonull/index.js'
|
|
45
47
|
export * as torecord from './torecord/index.js'
|
|
46
|
-
export * as tonumber from './tonumber/index.js'
|
|
47
48
|
export * as toref from './toref/index.js'
|
|
48
|
-
export * as spread from './spread/index.js'
|
|
49
49
|
export * as tostring from './tostring/index.js'
|
|
50
50
|
export * as totext from './totext/index.js'
|
|
51
51
|
export * as transformselected from './transformselected/index.js'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export * as any from './any/index.js'
|
|
2
|
-
export * as boolean from './boolean/index.js'
|
|
3
2
|
export * as array from './array/index.js'
|
|
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
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'
|
|
11
|
-
export * as string from './string/index.js'
|
|
12
10
|
export * as ref from './ref/index.js'
|
|
11
|
+
export * as number from './number/index.js'
|
|
12
|
+
export * as string from './string/index.js'
|
|
13
13
|
export * as text from './text/index.js'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export * as any from './any/index.js'
|
|
2
|
-
export * as boolean from './boolean/index.js'
|
|
3
2
|
export * as array from './array/index.js'
|
|
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
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'
|
|
11
|
-
export * as string from './string/index.js'
|
|
12
10
|
export * as ref from './ref/index.js'
|
|
11
|
+
export * as number from './number/index.js'
|
|
12
|
+
export * as string from './string/index.js'
|
|
13
13
|
export * as text from './text/index.js'
|
package/agnostic/html/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
|
3
3
|
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
4
4
|
export * as hyperJson from './hyper-json/index.js'
|
|
5
5
|
export * as insertNode from './insert-node/index.js'
|
|
6
|
-
export * as placeholders from './placeholders/index.js'
|
|
7
6
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
8
7
|
export * as selectorToElement from './selector-to-element/index.js'
|
|
9
8
|
export * as stringToNodes from './string-to-nodes/index.js'
|
|
10
9
|
export * as watchSelection from './watch-selection/index.js'
|
|
10
|
+
export * as placeholders from './placeholders/index.js'
|
package/agnostic/html/index.js
CHANGED
|
@@ -3,8 +3,8 @@ export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
|
3
3
|
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
4
4
|
export * as hyperJson from './hyper-json/index.js'
|
|
5
5
|
export * as insertNode from './insert-node/index.js'
|
|
6
|
-
export * as placeholders from './placeholders/index.js'
|
|
7
6
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
8
7
|
export * as selectorToElement from './selector-to-element/index.js'
|
|
9
8
|
export * as stringToNodes from './string-to-nodes/index.js'
|
|
10
9
|
export * as watchSelection from './watch-selection/index.js'
|
|
10
|
+
export * as placeholders from './placeholders/index.js'
|
package/agnostic/index.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ export * as html from './html/index.js'
|
|
|
7
7
|
export * as misc from './misc/index.js'
|
|
8
8
|
export * as numbers from './numbers/index.js'
|
|
9
9
|
export * as objects from './objects/index.js'
|
|
10
|
-
export * as random from './random/index.js'
|
|
11
10
|
export * as optim from './optim/index.js'
|
|
12
11
|
export * as regexps from './regexps/index.js'
|
|
13
12
|
export * as sanitization from './sanitization/index.js'
|
|
14
13
|
export * as strings from './strings/index.js'
|
|
15
|
-
export * as
|
|
14
|
+
export * as random from './random/index.js'
|
|
16
15
|
export * as time from './time/index.js'
|
|
17
16
|
export * as typescript from './typescript/index.js'
|
|
17
|
+
export * as subtitles from './subtitles/index.js'
|
package/agnostic/index.js
CHANGED
|
@@ -7,11 +7,11 @@ export * as html from './html/index.js'
|
|
|
7
7
|
export * as misc from './misc/index.js'
|
|
8
8
|
export * as numbers from './numbers/index.js'
|
|
9
9
|
export * as objects from './objects/index.js'
|
|
10
|
-
export * as random from './random/index.js'
|
|
11
10
|
export * as optim from './optim/index.js'
|
|
12
11
|
export * as regexps from './regexps/index.js'
|
|
13
12
|
export * as sanitization from './sanitization/index.js'
|
|
14
13
|
export * as strings from './strings/index.js'
|
|
15
|
-
export * as
|
|
14
|
+
export * as random from './random/index.js'
|
|
16
15
|
export * as time from './time/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 cast from './cast/index.js'
|
|
2
|
+
export * as assert from './assert/index.js'
|
|
2
3
|
export * as connection from './connection/index.js'
|
|
3
4
|
export * as crawler from './crawler/index.js'
|
|
4
5
|
export * as crossenv from './crossenv/index.js'
|
|
5
|
-
export * as dataSize from './data-size/index.js'
|
|
6
6
|
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
7
|
-
export * as
|
|
7
|
+
export * as dataSize from './data-size/index.js'
|
|
8
8
|
export * as isNullish from './is-nullish/index.js'
|
|
9
9
|
export * as logs from './logs/index.js'
|
|
10
10
|
export * as loremIpsum from './lorem-ipsum/index.js'
|
|
11
|
-
export * as normalizeExtension from './normalize-extension/index.js'
|
|
12
11
|
export * as outcome from './outcome/index.js'
|
|
12
|
+
export * as normalizeExtension from './normalize-extension/index.js'
|
package/agnostic/misc/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export * as cast from './cast/index.js'
|
|
2
|
+
export * as assert from './assert/index.js'
|
|
2
3
|
export * as connection from './connection/index.js'
|
|
3
4
|
export * as crawler from './crawler/index.js'
|
|
4
5
|
export * as crossenv from './crossenv/index.js'
|
|
5
|
-
export * as dataSize from './data-size/index.js'
|
|
6
6
|
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
7
|
-
export * as
|
|
7
|
+
export * as dataSize from './data-size/index.js'
|
|
8
8
|
export * as isNullish from './is-nullish/index.js'
|
|
9
9
|
export * as logs from './logs/index.js'
|
|
10
10
|
export * as loremIpsum from './lorem-ipsum/index.js'
|
|
11
|
-
export * as normalizeExtension from './normalize-extension/index.js'
|
|
12
11
|
export * as outcome from './outcome/index.js'
|
|
12
|
+
export * as normalizeExtension from './normalize-extension/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
|
|
3
|
+
export * as geometricProgressions from './geometric-progressions/index.js'
|
|
4
4
|
export * as interpolate from './interpolate/index.js'
|
|
5
|
+
export * as clamp from './clamp/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
|
|
3
|
+
export * as geometricProgressions from './geometric-progressions/index.js'
|
|
4
4
|
export * as interpolate from './interpolate/index.js'
|
|
5
|
+
export * as clamp from './clamp/index.js'
|
|
5
6
|
export * as round from './round/index.js'
|
|
6
|
-
export * as geometricProgressions from './geometric-progressions/index.js'
|
|
@@ -4,6 +4,6 @@ export * as flattenGetters from './flatten-getters/index.js'
|
|
|
4
4
|
export * as isObject from './is-object/index.js'
|
|
5
5
|
export * as isRecord from './is-record/index.js'
|
|
6
6
|
export * as recordFormat from './record-format/index.js'
|
|
7
|
+
export * as sortKeys from './sort-keys/index.js'
|
|
7
8
|
export * as recordMap from './record-map/index.js'
|
|
8
9
|
export * as validation from './validation/index.js'
|
|
9
|
-
export * as sortKeys from './sort-keys/index.js'
|
|
@@ -4,6 +4,6 @@ export * as flattenGetters from './flatten-getters/index.js'
|
|
|
4
4
|
export * as isObject from './is-object/index.js'
|
|
5
5
|
export * as isRecord from './is-record/index.js'
|
|
6
6
|
export * as recordFormat from './record-format/index.js'
|
|
7
|
+
export * as sortKeys from './sort-keys/index.js'
|
|
7
8
|
export * as recordMap from './record-map/index.js'
|
|
8
9
|
export * as validation from './validation/index.js'
|
|
9
|
-
export * as sortKeys from './sort-keys/index.js'
|
package/agnostic/optim/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 parseTable from './parse-table/index.js'
|
|
4
5
|
export * as replaceAll from './replace-all/index.js'
|
|
5
|
-
export * as splitTrim from './split-trim/index.js'
|
|
6
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
7
7
|
export * as trim from './trim/index.js'
|
|
8
|
-
export * as
|
|
8
|
+
export * as splitTrim from './split-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 parseTable from './parse-table/index.js'
|
|
4
5
|
export * as replaceAll from './replace-all/index.js'
|
|
5
|
-
export * as splitTrim from './split-trim/index.js'
|
|
6
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
7
7
|
export * as trim from './trim/index.js'
|
|
8
|
-
export * as
|
|
8
|
+
export * as splitTrim from './split-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'
|
|
@@ -8,7 +8,8 @@ import type { WithClassName } from '../utils/types.js';
|
|
|
8
8
|
* one a click on this member opens; the others only matter when another member opens
|
|
9
9
|
* them. Declaring none makes it a group of its own.
|
|
10
10
|
* @property closeBtnContent - Content rendered inside the close button.
|
|
11
|
-
* @property openBtnContent - Content rendered inside the open button.
|
|
11
|
+
* @property openBtnContent - Content rendered inside the open button. No content, no
|
|
12
|
+
* button: the lightbox is then opened by whatever the consumer wires up.
|
|
12
13
|
* @property prevBtnContent - Content rendered inside the previous button, shown only
|
|
13
14
|
* when the open group holds more than one member.
|
|
14
15
|
* @property nextBtnContent - Content rendered inside the next button, same condition.
|
|
@@ -61,8 +62,8 @@ export type Props = PropsWithChildren<WithClassName<{
|
|
|
61
62
|
onIsOnChanged?: (isOn: boolean) => void;
|
|
62
63
|
}>>;
|
|
63
64
|
/**
|
|
64
|
-
* Lightbox component. Holds content in
|
|
65
|
-
*
|
|
65
|
+
* Lightbox component. Holds content in a box that a stylesheet lifts over the page
|
|
66
|
+
* when opened.
|
|
66
67
|
*
|
|
67
68
|
* ### CSS modifiers
|
|
68
69
|
* - `on` - this member is open.
|
|
@@ -70,35 +71,37 @@ export type Props = PropsWithChildren<WithClassName<{
|
|
|
70
71
|
* - `grouped` - it belongs to a group it did not invent, so navigation is possible.
|
|
71
72
|
*
|
|
72
73
|
* ### CSS elements
|
|
73
|
-
* - `placeholder` - holds the content's last measured size while it is
|
|
74
|
-
* - `backdrop` - the
|
|
75
|
-
*
|
|
74
|
+
* - `placeholder` - holds the content's last measured size while it is out of flow.
|
|
75
|
+
* - `backdrop` - the box the content always lives in; a stylesheet takes it out of
|
|
76
|
+
* flow and over the page while the root carries `--on`.
|
|
77
|
+
* - `content` - wraps the content inside the backdrop.
|
|
76
78
|
* - `open-btn`, `close-btn`, `prev-btn`, `next-btn`
|
|
77
79
|
*
|
|
78
80
|
* @param props - Component properties.
|
|
79
81
|
* @see {@link Props}
|
|
80
|
-
* @returns A root `<div>` holding
|
|
81
|
-
*
|
|
82
|
+
* @returns A root `<div>` holding a placeholder, the backdrop the content lives in,
|
|
83
|
+
* and the controls.
|
|
82
84
|
*
|
|
83
85
|
* @remarks
|
|
84
|
-
* - **
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* - **The lightbox is portalled to `document.body`.** A `position: fixed` overlay left in
|
|
92
|
-
* the article would be trapped by the first ancestor carrying a `transform`, a
|
|
93
|
-
* `filter` or a `contain`, which becomes its containing block.
|
|
86
|
+
* - **The content never moves.** It stays in the same box, at the same place in the
|
|
87
|
+
* React tree, open or closed; only the box's positioning changes, and that is a
|
|
88
|
+
* stylesheet's business. Nothing is unmounted, so a playing video keeps playing at
|
|
89
|
+
* its timecode. Rendering `children` in two branches - one in place, one on a stage
|
|
90
|
+
* - would mount a fresh instance on every flip, React reconciling by position.
|
|
91
|
+
* - **Nothing leaves the component's own subtree.** No portal, no `document.body`: a
|
|
92
|
+
* component has no business writing outside the scope it was handed.
|
|
94
93
|
* - **A placeholder keeps the layout still.** Its size is the content's last measured
|
|
95
|
-
* one, read while closed; without it the article would collapse around the hole
|
|
96
|
-
*
|
|
94
|
+
* one, read while closed; without it the article would collapse around the hole left
|
|
95
|
+
* once the backdrop goes out of flow.
|
|
96
|
+
* - **[WIP]** A `position: fixed` backdrop is trapped by the first ancestor carrying a
|
|
97
|
+
* `transform`, a `filter` or a `contain`, which becomes its containing block. Inside
|
|
98
|
+
* a slot, that ancestor is the consumer's own to avoid.
|
|
97
99
|
* - **Groups are held outside React**, in `./store.ts`: a consumer may render each
|
|
98
100
|
* component in a root of its own, in which case members of a group share no tree
|
|
99
101
|
* and a context could not reach from one to the other.
|
|
100
|
-
* -
|
|
101
|
-
*
|
|
102
|
+
* - Every member holds its own backdrop; only the open one is lifted over the page.
|
|
103
|
+
* Navigating a group therefore lowers one and lifts another, and neither one's
|
|
104
|
+
* content is touched.
|
|
102
105
|
* - This component ships **no appearance**: covering the page, the backdrop and the
|
|
103
106
|
* buttons are the consumer stylesheet's business. Without one, the content is moved
|
|
104
107
|
* to the end of the document and nothing looks like a lightbox.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useEffect, useId, useLayoutEffect, useRef, useState, useSyncExternalStore } from 'react';
|
|
3
|
-
import { createPortal } from 'react-dom';
|
|
4
3
|
import { clss } from '../../agnostic/css/clss/index.js';
|
|
4
|
+
import { isNotNullish } from '../../agnostic/misc/is-nullish/index.js';
|
|
5
5
|
import { mergeClassNames, useChangeDispatch } from '../utils/index.js';
|
|
6
6
|
import { lightbox as publicClassName } from '../public-classnames.js';
|
|
7
7
|
import { close as closeLightbox, getState, membersOf, open as openLightbox, register, soloGroupOf, step, subscribe, unregister } from './store.js';
|
|
8
8
|
import cssModule from './styles.module.css';
|
|
9
9
|
/**
|
|
10
|
-
* Lightbox component. Holds content in
|
|
11
|
-
*
|
|
10
|
+
* Lightbox component. Holds content in a box that a stylesheet lifts over the page
|
|
11
|
+
* when opened.
|
|
12
12
|
*
|
|
13
13
|
* ### CSS modifiers
|
|
14
14
|
* - `on` - this member is open.
|
|
@@ -16,35 +16,37 @@ import cssModule from './styles.module.css';
|
|
|
16
16
|
* - `grouped` - it belongs to a group it did not invent, so navigation is possible.
|
|
17
17
|
*
|
|
18
18
|
* ### CSS elements
|
|
19
|
-
* - `placeholder` - holds the content's last measured size while it is
|
|
20
|
-
* - `backdrop` - the
|
|
21
|
-
*
|
|
19
|
+
* - `placeholder` - holds the content's last measured size while it is out of flow.
|
|
20
|
+
* - `backdrop` - the box the content always lives in; a stylesheet takes it out of
|
|
21
|
+
* flow and over the page while the root carries `--on`.
|
|
22
|
+
* - `content` - wraps the content inside the backdrop.
|
|
22
23
|
* - `open-btn`, `close-btn`, `prev-btn`, `next-btn`
|
|
23
24
|
*
|
|
24
25
|
* @param props - Component properties.
|
|
25
26
|
* @see {@link Props}
|
|
26
|
-
* @returns A root `<div>` holding
|
|
27
|
-
*
|
|
27
|
+
* @returns A root `<div>` holding a placeholder, the backdrop the content lives in,
|
|
28
|
+
* and the controls.
|
|
28
29
|
*
|
|
29
30
|
* @remarks
|
|
30
|
-
* - **
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* - **The lightbox is portalled to `document.body`.** A `position: fixed` overlay left in
|
|
38
|
-
* the article would be trapped by the first ancestor carrying a `transform`, a
|
|
39
|
-
* `filter` or a `contain`, which becomes its containing block.
|
|
31
|
+
* - **The content never moves.** It stays in the same box, at the same place in the
|
|
32
|
+
* React tree, open or closed; only the box's positioning changes, and that is a
|
|
33
|
+
* stylesheet's business. Nothing is unmounted, so a playing video keeps playing at
|
|
34
|
+
* its timecode. Rendering `children` in two branches - one in place, one on a stage
|
|
35
|
+
* - would mount a fresh instance on every flip, React reconciling by position.
|
|
36
|
+
* - **Nothing leaves the component's own subtree.** No portal, no `document.body`: a
|
|
37
|
+
* component has no business writing outside the scope it was handed.
|
|
40
38
|
* - **A placeholder keeps the layout still.** Its size is the content's last measured
|
|
41
|
-
* one, read while closed; without it the article would collapse around the hole
|
|
42
|
-
*
|
|
39
|
+
* one, read while closed; without it the article would collapse around the hole left
|
|
40
|
+
* once the backdrop goes out of flow.
|
|
41
|
+
* - **[WIP]** A `position: fixed` backdrop is trapped by the first ancestor carrying a
|
|
42
|
+
* `transform`, a `filter` or a `contain`, which becomes its containing block. Inside
|
|
43
|
+
* a slot, that ancestor is the consumer's own to avoid.
|
|
43
44
|
* - **Groups are held outside React**, in `./store.ts`: a consumer may render each
|
|
44
45
|
* component in a root of its own, in which case members of a group share no tree
|
|
45
46
|
* and a context could not reach from one to the other.
|
|
46
|
-
* -
|
|
47
|
-
*
|
|
47
|
+
* - Every member holds its own backdrop; only the open one is lifted over the page.
|
|
48
|
+
* Navigating a group therefore lowers one and lifts another, and neither one's
|
|
49
|
+
* content is touched.
|
|
48
50
|
* - This component ships **no appearance**: covering the page, the backdrop and the
|
|
49
51
|
* buttons are the consumer stylesheet's business. Without one, the content is moved
|
|
50
52
|
* to the end of the document and nothing looks like a lightbox.
|
|
@@ -182,10 +184,10 @@ export const Lightbox = ({ group, closeBtnContent, openBtnContent, prevBtnConten
|
|
|
182
184
|
grouped: isGrouped
|
|
183
185
|
}), className);
|
|
184
186
|
const size = sizeRef.current;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
187
|
+
// Every child keeps its position in the tree whatever the state: the placeholder and
|
|
188
|
+
// the backdrop are always rendered, and the buttons come after the content rather
|
|
189
|
+
// than around it. React reconciles by position, so moving `children` from one branch
|
|
190
|
+
// to another would unmount and remount them - the very thing this component exists
|
|
191
|
+
// to avoid.
|
|
192
|
+
return _jsxs("div", { className: rootClss, ref: rootRef, children: [_jsx("div", { className: c('placeholder'), style: isOn && size !== null ? { width: size.width, height: size.height } : undefined }), _jsxs("div", { className: c('backdrop'), onClick: handleBackdropClick, ref: backdropRef, children: [_jsx("div", { className: c('content'), children: children }), isOn && _jsxs(_Fragment, { children: [_jsx("button", { type: 'button', className: c('close-btn'), onClick: handleCloseButtonClick, children: closeBtnContent }), siblingsCount > 1 && _jsxs(_Fragment, { children: [_jsx("button", { type: 'button', className: c('prev-btn'), onClick: handlePrevButtonClick, children: prevBtnContent }), _jsx("button", { type: 'button', className: c('next-btn'), onClick: handleNextButtonClick, children: nextBtnContent })] })] })] }), !isOn && isNotNullish(openBtnContent) && _jsx("button", { type: 'button', className: c('open-btn'), onClick: handleOpenButtonClick, children: openBtnContent })] });
|
|
191
193
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export * as copy from './copy/index.js'
|
|
2
|
-
export * as generateSignedUrl from './generate-signed-url/index.js'
|
|
3
2
|
export * as download from './download/index.js'
|
|
3
|
+
export * as exists from './exists/index.js'
|
|
4
|
+
export * as generateSignedUrl from './generate-signed-url/index.js'
|
|
4
5
|
export * as getMetadata from './get-metadata/index.js'
|
|
5
6
|
export * as getPermissions from './get-permissions/index.js'
|
|
6
7
|
export * as move from './move/index.js'
|
|
7
8
|
export * as remove from './remove/index.js'
|
|
8
|
-
export * as stat from './stat/index.js'
|
|
9
9
|
export * as revokeSignedUrls from './revoke-signed-urls/index.js'
|
|
10
|
-
export * as
|
|
10
|
+
export * as stat from './stat/index.js'
|
|
11
11
|
export * as updateMetadata from './update-metadata/index.js'
|
|
12
12
|
export * as upload from './upload/index.js'
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export * as copy from './copy/index.js'
|
|
2
|
-
export * as generateSignedUrl from './generate-signed-url/index.js'
|
|
3
2
|
export * as download from './download/index.js'
|
|
3
|
+
export * as exists from './exists/index.js'
|
|
4
|
+
export * as generateSignedUrl from './generate-signed-url/index.js'
|
|
4
5
|
export * as getMetadata from './get-metadata/index.js'
|
|
5
6
|
export * as getPermissions from './get-permissions/index.js'
|
|
6
7
|
export * as move from './move/index.js'
|
|
7
8
|
export * as remove from './remove/index.js'
|
|
8
|
-
export * as stat from './stat/index.js'
|
|
9
9
|
export * as revokeSignedUrls from './revoke-signed-urls/index.js'
|
|
10
|
-
export * as
|
|
10
|
+
export * as stat from './stat/index.js'
|
|
11
11
|
export * as updateMetadata from './update-metadata/index.js'
|
|
12
12
|
export * as upload from './upload/index.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as copyDir from './copy-dir/index.js'
|
|
2
|
-
export * as copyFile from './copy-file/index.js'
|
|
3
2
|
export * as downloadFile from './download-file/index.js'
|
|
3
|
+
export * as copyFile from './copy-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'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as copyDir from './copy-dir/index.js'
|
|
2
|
-
export * as copyFile from './copy-file/index.js'
|
|
3
2
|
export * as downloadFile from './download-file/index.js'
|
|
3
|
+
export * as copyFile from './copy-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'
|
package/node/images/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as create from './create/index.js'
|
|
2
2
|
export * as format from './format/index.js'
|
|
3
|
-
export * as transform from './transform/index.js'
|
|
4
3
|
export * as metadata from './metadata/index.js'
|
|
4
|
+
export * as transform from './transform/index.js'
|
|
5
5
|
export * as utils from './utils/index.js'
|
package/node/images/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as create from './create/index.js'
|
|
2
2
|
export * as format from './format/index.js'
|
|
3
|
-
export * as transform from './transform/index.js'
|
|
4
3
|
export * as metadata from './metadata/index.js'
|
|
4
|
+
export * as transform from './transform/index.js'
|
|
5
5
|
export * as utils from './utils/index.js'
|
|
@@ -4,12 +4,12 @@ export * as extend from './extend/index.js'
|
|
|
4
4
|
export * as extract from './extract/index.js'
|
|
5
5
|
export * as flatten from './flatten/index.js'
|
|
6
6
|
export * as flip from './flip/index.js'
|
|
7
|
+
export * as flop from './flop/index.js'
|
|
7
8
|
export * as hue from './hue/index.js'
|
|
8
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
12
|
export * as overlay from './overlay/index.js'
|
|
12
13
|
export * as resize from './resize/index.js'
|
|
13
|
-
export * as flop from './flop/index.js'
|
|
14
14
|
export * as rotate from './rotate/index.js'
|
|
15
15
|
export * as saturate from './saturate/index.js'
|
|
@@ -4,12 +4,12 @@ export * as extend from './extend/index.js'
|
|
|
4
4
|
export * as extract from './extract/index.js'
|
|
5
5
|
export * as flatten from './flatten/index.js'
|
|
6
6
|
export * as flip from './flip/index.js'
|
|
7
|
+
export * as flop from './flop/index.js'
|
|
7
8
|
export * as hue from './hue/index.js'
|
|
8
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
12
|
export * as overlay from './overlay/index.js'
|
|
12
13
|
export * as resize from './resize/index.js'
|
|
13
|
-
export * as flop from './flop/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
|
@@ -2,10 +2,10 @@ export * as awsS3 from './@aws-s3/index.js'
|
|
|
2
2
|
export * as designEdito from './@design-edito/index.js'
|
|
3
3
|
export * as express from './@express/index.js'
|
|
4
4
|
export * as googleCloud from './@google-cloud/index.js'
|
|
5
|
-
export * as cloudStorage from './cloud-storage/index.js'
|
|
6
5
|
export * as encryption from './encryption/index.js'
|
|
7
6
|
export * as files from './files/index.js'
|
|
8
7
|
export * as ftps from './ftps/index.js'
|
|
8
|
+
export * as cloudStorage from './cloud-storage/index.js'
|
|
9
9
|
export * as images from './images/index.js'
|
|
10
10
|
export * as process from './process/index.js'
|
|
11
11
|
export * as sftp from './sftp/index.js'
|
package/node/index.js
CHANGED
|
@@ -2,10 +2,10 @@ export * as awsS3 from './@aws-s3/index.js'
|
|
|
2
2
|
export * as designEdito from './@design-edito/index.js'
|
|
3
3
|
export * as express from './@express/index.js'
|
|
4
4
|
export * as googleCloud from './@google-cloud/index.js'
|
|
5
|
-
export * as cloudStorage from './cloud-storage/index.js'
|
|
6
5
|
export * as encryption from './encryption/index.js'
|
|
7
6
|
export * as files from './files/index.js'
|
|
8
7
|
export * as ftps from './ftps/index.js'
|
|
8
|
+
export * as cloudStorage from './cloud-storage/index.js'
|
|
9
9
|
export * as images from './images/index.js'
|
|
10
10
|
export * as process from './process/index.js'
|
|
11
11
|
export * as sftp from './sftp/index.js'
|
|
@@ -2,6 +2,6 @@ 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
4
|
export * as move from './move/index.js'
|
|
5
|
-
export * as stat from './stat/index.js'
|
|
6
5
|
export * as remove from './remove/index.js'
|
|
6
|
+
export * as stat from './stat/index.js'
|
|
7
7
|
export * as upload from './upload/index.js'
|
package/node/sftp/file/index.js
CHANGED
|
@@ -2,6 +2,6 @@ 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
4
|
export * as move from './move/index.js'
|
|
5
|
-
export * as stat from './stat/index.js'
|
|
6
5
|
export * as remove from './remove/index.js'
|
|
6
|
+
export * as stat from './stat/index.js'
|
|
7
7
|
export * as upload from './upload/index.js'
|
package/node/sftp/index.d.ts
CHANGED
package/node/sftp/index.js
CHANGED