@design-edito/tools 0.4.17 → 0.4.18
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/colors/index.d.ts +1 -1
- package/agnostic/colors/index.js +1 -1
- 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 +16 -16
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +16 -16
- 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 +3 -3
- package/agnostic/html/index.js +3 -3
- package/agnostic/index.d.ts +4 -4
- package/agnostic/index.js +4 -4
- package/agnostic/misc/index.d.ts +2 -2
- package/agnostic/misc/index.js +2 -2
- package/agnostic/objects/index.d.ts +4 -4
- package/agnostic/objects/index.js +4 -4
- package/agnostic/optim/index.d.ts +1 -1
- package/agnostic/optim/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/index.d.ts +1 -1
- package/agnostic/time/index.js +1 -1
- package/components/BeforeAfter/index.controlled.d.ts +4 -3
- package/components/BeforeAfter/index.controlled.js +2 -2
- package/components/index.d.ts +1 -1
- package/components/index.js +1 -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/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/package.json +1 -1
|
@@ -6,7 +6,7 @@ export * as grayscale from './grayscale/index.js'
|
|
|
6
6
|
export * as invert from './invert/index.js'
|
|
7
7
|
export * as lerp from './lerp/index.js'
|
|
8
8
|
export * as luminance from './luminance/index.js'
|
|
9
|
-
export * as palette from './palette/index.js'
|
|
10
9
|
export * as rotate from './rotate/index.js'
|
|
10
|
+
export * as palette from './palette/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
|
@@ -6,7 +6,7 @@ export * as grayscale from './grayscale/index.js'
|
|
|
6
6
|
export * as invert from './invert/index.js'
|
|
7
7
|
export * as lerp from './lerp/index.js'
|
|
8
8
|
export * as luminance from './luminance/index.js'
|
|
9
|
-
export * as palette from './palette/index.js'
|
|
10
9
|
export * as rotate from './rotate/index.js'
|
|
10
|
+
export * as palette from './palette/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
1
|
export * as bem from './bem/index.js'
|
|
2
|
-
export * as clss from './clss/index.js'
|
|
3
2
|
export * as generateNiceColor from './generate-nice-color/index.js'
|
|
4
3
|
export * as isValidCssClassName from './is-valid-css-class-name/index.js'
|
|
5
4
|
export * as scale from './scale/index.js'
|
|
6
5
|
export * as stylesSet from './styles-set/index.js'
|
|
6
|
+
export * as clss from './clss/index.js'
|
package/agnostic/css/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as bem from './bem/index.js'
|
|
2
|
-
export * as clss from './clss/index.js'
|
|
3
2
|
export * as generateNiceColor from './generate-nice-color/index.js'
|
|
4
3
|
export * as isValidCssClassName from './is-valid-css-class-name/index.js'
|
|
5
4
|
export * as scale from './scale/index.js'
|
|
6
5
|
export * as stylesSet from './styles-set/index.js'
|
|
6
|
+
export * as clss from './clss/index.js'
|
package/agnostic/errors/index.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
export * as add from './add/index.js'
|
|
2
|
+
export * as and from './and/index.js'
|
|
2
3
|
export * as addclass from './addclass/index.js'
|
|
3
4
|
export * as append from './append/index.js'
|
|
4
|
-
export * as and from './and/index.js'
|
|
5
5
|
export * as at from './at/index.js'
|
|
6
|
-
export * as call from './call/index.js'
|
|
7
|
-
export * as deleteproperties from './deleteproperties/index.js'
|
|
8
6
|
export * as clone from './clone/index.js'
|
|
7
|
+
export * as equals from './equals/index.js'
|
|
9
8
|
export * as getattribute from './getattribute/index.js'
|
|
10
9
|
export * as getproperties from './getproperties/index.js'
|
|
11
10
|
export * as getproperty from './getproperty/index.js'
|
|
12
|
-
export * as
|
|
11
|
+
export * as hjparse from './hjparse/index.js'
|
|
12
|
+
export * as call from './call/index.js'
|
|
13
|
+
export * as deleteproperties from './deleteproperties/index.js'
|
|
13
14
|
export * as if from './if/index.js'
|
|
14
|
-
export * as
|
|
15
|
+
export * as hjstringify from './hjstringify/index.js'
|
|
15
16
|
export * as initialize from './initialize/index.js'
|
|
16
|
-
export * as
|
|
17
|
-
export * as map from './map/index.js'
|
|
17
|
+
export * as join from './join/index.js'
|
|
18
18
|
export * as length from './length/index.js'
|
|
19
|
-
export * as
|
|
19
|
+
export * as map from './map/index.js'
|
|
20
20
|
export * as notrailing from './notrailing/index.js'
|
|
21
21
|
export * as or from './or/index.js'
|
|
22
22
|
export * as pickrandom from './pickrandom/index.js'
|
|
23
|
-
export * as join from './join/index.js'
|
|
24
23
|
export * as populate from './populate/index.js'
|
|
25
|
-
export * as push from './push/index.js'
|
|
26
24
|
export * as print from './print/index.js'
|
|
25
|
+
export * as push from './push/index.js'
|
|
27
26
|
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'
|
|
30
29
|
export * as removeclass from './removeclass/index.js'
|
|
31
30
|
export * as renameproperty from './renameproperty/index.js'
|
|
32
31
|
export * as replace from './replace/index.js'
|
|
32
|
+
export * as negate from './negate/index.js'
|
|
33
|
+
export * as select from './select/index.js'
|
|
33
34
|
export * as set from './set/index.js'
|
|
34
35
|
export * as setattribute from './setattribute/index.js'
|
|
35
36
|
export * as setproperty from './setproperty/index.js'
|
|
36
|
-
export * as select from './select/index.js'
|
|
37
|
-
export * as sorton from './sorton/index.js'
|
|
38
37
|
export * as split from './split/index.js'
|
|
38
|
+
export * as spread from './spread/index.js'
|
|
39
39
|
export * as toarray from './toarray/index.js'
|
|
40
|
-
export * as toelement from './toelement/index.js'
|
|
41
40
|
export * as toboolean from './toboolean/index.js'
|
|
42
|
-
export * as spread from './spread/index.js'
|
|
43
41
|
export * as toggleclass from './toggleclass/index.js'
|
|
44
|
-
export * as
|
|
42
|
+
export * as toelement from './toelement/index.js'
|
|
45
43
|
export * as tonodelist from './tonodelist/index.js'
|
|
46
|
-
export * as
|
|
44
|
+
export * as tonull from './tonull/index.js'
|
|
47
45
|
export * as tonumber from './tonumber/index.js'
|
|
48
46
|
export * as toref from './toref/index.js'
|
|
47
|
+
export * as torecord from './torecord/index.js'
|
|
49
48
|
export * as tostring from './tostring/index.js'
|
|
49
|
+
export * as sorton from './sorton/index.js'
|
|
50
50
|
export * as totext from './totext/index.js'
|
|
51
51
|
export * as transformselected from './transformselected/index.js'
|
|
52
52
|
export * as trim from './trim/index.js'
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
export * as add from './add/index.js'
|
|
2
|
+
export * as and from './and/index.js'
|
|
2
3
|
export * as addclass from './addclass/index.js'
|
|
3
4
|
export * as append from './append/index.js'
|
|
4
|
-
export * as and from './and/index.js'
|
|
5
5
|
export * as at from './at/index.js'
|
|
6
|
-
export * as call from './call/index.js'
|
|
7
|
-
export * as deleteproperties from './deleteproperties/index.js'
|
|
8
6
|
export * as clone from './clone/index.js'
|
|
7
|
+
export * as equals from './equals/index.js'
|
|
9
8
|
export * as getattribute from './getattribute/index.js'
|
|
10
9
|
export * as getproperties from './getproperties/index.js'
|
|
11
10
|
export * as getproperty from './getproperty/index.js'
|
|
12
|
-
export * as
|
|
11
|
+
export * as hjparse from './hjparse/index.js'
|
|
12
|
+
export * as call from './call/index.js'
|
|
13
|
+
export * as deleteproperties from './deleteproperties/index.js'
|
|
13
14
|
export * as if from './if/index.js'
|
|
14
|
-
export * as
|
|
15
|
+
export * as hjstringify from './hjstringify/index.js'
|
|
15
16
|
export * as initialize from './initialize/index.js'
|
|
16
|
-
export * as
|
|
17
|
-
export * as map from './map/index.js'
|
|
17
|
+
export * as join from './join/index.js'
|
|
18
18
|
export * as length from './length/index.js'
|
|
19
|
-
export * as
|
|
19
|
+
export * as map from './map/index.js'
|
|
20
20
|
export * as notrailing from './notrailing/index.js'
|
|
21
21
|
export * as or from './or/index.js'
|
|
22
22
|
export * as pickrandom from './pickrandom/index.js'
|
|
23
|
-
export * as join from './join/index.js'
|
|
24
23
|
export * as populate from './populate/index.js'
|
|
25
|
-
export * as push from './push/index.js'
|
|
26
24
|
export * as print from './print/index.js'
|
|
25
|
+
export * as push from './push/index.js'
|
|
27
26
|
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'
|
|
30
29
|
export * as removeclass from './removeclass/index.js'
|
|
31
30
|
export * as renameproperty from './renameproperty/index.js'
|
|
32
31
|
export * as replace from './replace/index.js'
|
|
32
|
+
export * as negate from './negate/index.js'
|
|
33
|
+
export * as select from './select/index.js'
|
|
33
34
|
export * as set from './set/index.js'
|
|
34
35
|
export * as setattribute from './setattribute/index.js'
|
|
35
36
|
export * as setproperty from './setproperty/index.js'
|
|
36
|
-
export * as select from './select/index.js'
|
|
37
|
-
export * as sorton from './sorton/index.js'
|
|
38
37
|
export * as split from './split/index.js'
|
|
38
|
+
export * as spread from './spread/index.js'
|
|
39
39
|
export * as toarray from './toarray/index.js'
|
|
40
|
-
export * as toelement from './toelement/index.js'
|
|
41
40
|
export * as toboolean from './toboolean/index.js'
|
|
42
|
-
export * as spread from './spread/index.js'
|
|
43
41
|
export * as toggleclass from './toggleclass/index.js'
|
|
44
|
-
export * as
|
|
42
|
+
export * as toelement from './toelement/index.js'
|
|
45
43
|
export * as tonodelist from './tonodelist/index.js'
|
|
46
|
-
export * as
|
|
44
|
+
export * as tonull from './tonull/index.js'
|
|
47
45
|
export * as tonumber from './tonumber/index.js'
|
|
48
46
|
export * as toref from './toref/index.js'
|
|
47
|
+
export * as torecord from './torecord/index.js'
|
|
49
48
|
export * as tostring from './tostring/index.js'
|
|
49
|
+
export * as sorton from './sorton/index.js'
|
|
50
50
|
export * as totext from './totext/index.js'
|
|
51
51
|
export * as transformselected from './transformselected/index.js'
|
|
52
52
|
export * as trim from './trim/index.js'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
export * as array from './array/index.js'
|
|
1
2
|
export * as any from './any/index.js'
|
|
2
3
|
export * as boolean from './boolean/index.js'
|
|
3
4
|
export * as element from './element/index.js'
|
|
4
|
-
export * as get from './get/index.js'
|
|
5
|
-
export * as array from './array/index.js'
|
|
6
5
|
export * as guess from './guess/index.js'
|
|
6
|
+
export * as get from './get/index.js'
|
|
7
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
|
-
export * as record from './record/index.js'
|
|
11
10
|
export * as ref from './ref/index.js'
|
|
11
|
+
export * as record from './record/index.js'
|
|
12
12
|
export * as string from './string/index.js'
|
|
13
13
|
export * as text from './text/index.js'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
export * as array from './array/index.js'
|
|
1
2
|
export * as any from './any/index.js'
|
|
2
3
|
export * as boolean from './boolean/index.js'
|
|
3
4
|
export * as element from './element/index.js'
|
|
4
|
-
export * as get from './get/index.js'
|
|
5
|
-
export * as array from './array/index.js'
|
|
6
5
|
export * as guess from './guess/index.js'
|
|
6
|
+
export * as get from './get/index.js'
|
|
7
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
|
-
export * as record from './record/index.js'
|
|
11
10
|
export * as ref from './ref/index.js'
|
|
11
|
+
export * as record from './record/index.js'
|
|
12
12
|
export * as string from './string/index.js'
|
|
13
13
|
export * as text from './text/index.js'
|
package/agnostic/html/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * as deepSelect from './deep-select/index.js'
|
|
2
1
|
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
2
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
3
3
|
export * as hyperJson from './hyper-json/index.js'
|
|
4
4
|
export * as insertNode from './insert-node/index.js'
|
|
5
5
|
export * as placeholders from './placeholders/index.js'
|
|
6
|
-
export * as getPositionInsideParent from './get-position-inside-parent/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
|
-
export * as watchSelection from './watch-selection/index.js'
|
|
10
8
|
export * as stringToNodes from './string-to-nodes/index.js'
|
|
9
|
+
export * as watchSelection from './watch-selection/index.js'
|
|
10
|
+
export * as deepSelect from './deep-select/index.js'
|
package/agnostic/html/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * as deepSelect from './deep-select/index.js'
|
|
2
1
|
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
2
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
3
3
|
export * as hyperJson from './hyper-json/index.js'
|
|
4
4
|
export * as insertNode from './insert-node/index.js'
|
|
5
5
|
export * as placeholders from './placeholders/index.js'
|
|
6
|
-
export * as getPositionInsideParent from './get-position-inside-parent/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
|
-
export * as watchSelection from './watch-selection/index.js'
|
|
10
8
|
export * as stringToNodes from './string-to-nodes/index.js'
|
|
9
|
+
export * as watchSelection from './watch-selection/index.js'
|
|
10
|
+
export * as deepSelect from './deep-select/index.js'
|
package/agnostic/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export * as arrays from './arrays/index.js'
|
|
2
2
|
export * as booleans from './booleans/index.js'
|
|
3
|
-
export * as colors from './colors/index.js'
|
|
4
3
|
export * as css from './css/index.js'
|
|
5
|
-
export * as html from './html/index.js'
|
|
6
4
|
export * as errors from './errors/index.js'
|
|
7
5
|
export * as misc from './misc/index.js'
|
|
6
|
+
export * as html from './html/index.js'
|
|
8
7
|
export * as numbers from './numbers/index.js'
|
|
9
8
|
export * as objects from './objects/index.js'
|
|
10
9
|
export * as optim from './optim/index.js'
|
|
11
10
|
export * as random from './random/index.js'
|
|
12
11
|
export * as regexps from './regexps/index.js'
|
|
13
|
-
export * as sanitization from './sanitization/index.js'
|
|
14
12
|
export * as strings from './strings/index.js'
|
|
15
|
-
export * as
|
|
13
|
+
export * as colors from './colors/index.js'
|
|
16
14
|
export * as typescript from './typescript/index.js'
|
|
15
|
+
export * as time from './time/index.js'
|
|
16
|
+
export * as sanitization from './sanitization/index.js'
|
package/agnostic/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export * as arrays from './arrays/index.js'
|
|
2
2
|
export * as booleans from './booleans/index.js'
|
|
3
|
-
export * as colors from './colors/index.js'
|
|
4
3
|
export * as css from './css/index.js'
|
|
5
|
-
export * as html from './html/index.js'
|
|
6
4
|
export * as errors from './errors/index.js'
|
|
7
5
|
export * as misc from './misc/index.js'
|
|
6
|
+
export * as html from './html/index.js'
|
|
8
7
|
export * as numbers from './numbers/index.js'
|
|
9
8
|
export * as objects from './objects/index.js'
|
|
10
9
|
export * as optim from './optim/index.js'
|
|
11
10
|
export * as random from './random/index.js'
|
|
12
11
|
export * as regexps from './regexps/index.js'
|
|
13
|
-
export * as sanitization from './sanitization/index.js'
|
|
14
12
|
export * as strings from './strings/index.js'
|
|
15
|
-
export * as
|
|
13
|
+
export * as colors from './colors/index.js'
|
|
16
14
|
export * as typescript from './typescript/index.js'
|
|
15
|
+
export * as time from './time/index.js'
|
|
16
|
+
export * as sanitization from './sanitization/index.js'
|
package/agnostic/misc/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ export * as cast from './cast/index.js'
|
|
|
3
3
|
export * as connection from './connection/index.js'
|
|
4
4
|
export * as crawler from './crawler/index.js'
|
|
5
5
|
export * as crossenv from './crossenv/index.js'
|
|
6
|
-
export * as isNullish from './is-nullish/index.js'
|
|
7
6
|
export * as dataSize from './data-size/index.js'
|
|
8
7
|
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
9
|
-
export * as
|
|
8
|
+
export * as isNullish from './is-nullish/index.js'
|
|
10
9
|
export * as logs from './logs/index.js'
|
|
11
10
|
export * as normalizeExtension from './normalize-extension/index.js'
|
|
12
11
|
export * as outcome from './outcome/index.js'
|
|
12
|
+
export * as loremIpsum from './lorem-ipsum/index.js'
|
package/agnostic/misc/index.js
CHANGED
|
@@ -3,10 +3,10 @@ export * as cast from './cast/index.js'
|
|
|
3
3
|
export * as connection from './connection/index.js'
|
|
4
4
|
export * as crawler from './crawler/index.js'
|
|
5
5
|
export * as crossenv from './crossenv/index.js'
|
|
6
|
-
export * as isNullish from './is-nullish/index.js'
|
|
7
6
|
export * as dataSize from './data-size/index.js'
|
|
8
7
|
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
9
|
-
export * as
|
|
8
|
+
export * as isNullish from './is-nullish/index.js'
|
|
10
9
|
export * as logs from './logs/index.js'
|
|
11
10
|
export * as normalizeExtension from './normalize-extension/index.js'
|
|
12
11
|
export * as outcome from './outcome/index.js'
|
|
12
|
+
export * as loremIpsum from './lorem-ipsum/index.js'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * as deepGetProperty from './deep-get-property/index.js'
|
|
2
1
|
export * as enums from './enums/index.js'
|
|
2
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
3
3
|
export * as isObject from './is-object/index.js'
|
|
4
4
|
export * as isRecord from './is-record/index.js'
|
|
5
|
-
export * as recordMap from './record-map/index.js'
|
|
6
5
|
export * as recordFormat from './record-format/index.js'
|
|
7
|
-
export * as
|
|
6
|
+
export * as deepGetProperty from './deep-get-property/index.js'
|
|
7
|
+
export * as recordMap from './record-map/index.js'
|
|
8
8
|
export * as validation from './validation/index.js'
|
|
9
|
-
export * as
|
|
9
|
+
export * as sortKeys from './sort-keys/index.js'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * as deepGetProperty from './deep-get-property/index.js'
|
|
2
1
|
export * as enums from './enums/index.js'
|
|
2
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
3
3
|
export * as isObject from './is-object/index.js'
|
|
4
4
|
export * as isRecord from './is-record/index.js'
|
|
5
|
-
export * as recordMap from './record-map/index.js'
|
|
6
5
|
export * as recordFormat from './record-format/index.js'
|
|
7
|
-
export * as
|
|
6
|
+
export * as deepGetProperty from './deep-get-property/index.js'
|
|
7
|
+
export * as recordMap from './record-map/index.js'
|
|
8
8
|
export * as validation from './validation/index.js'
|
|
9
|
-
export * as
|
|
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
|
|
4
|
+
export * as replaceAll from './replace-all/index.js'
|
|
5
|
+
export * as splitTrim from './split-trim/index.js'
|
|
5
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
6
7
|
export * as trim from './trim/index.js'
|
|
7
|
-
export * as
|
|
8
|
-
export * as replaceAll from './replace-all/index.js'
|
|
8
|
+
export * as parseTable from './parse-table/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
|
|
4
|
+
export * as replaceAll from './replace-all/index.js'
|
|
5
|
+
export * as splitTrim from './split-trim/index.js'
|
|
5
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
6
7
|
export * as trim from './trim/index.js'
|
|
7
|
-
export * as
|
|
8
|
-
export * as replaceAll from './replace-all/index.js'
|
|
8
|
+
export * as parseTable from './parse-table/index.js'
|
package/agnostic/time/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as duration from './duration/index.js'
|
|
2
|
-
export * as dates from './dates/index.js'
|
|
3
2
|
export * as timeout from './timeout/index.js'
|
|
4
3
|
export * as transitions from './transitions/index.js'
|
|
5
4
|
export * as wait from './wait/index.js'
|
|
5
|
+
export * as dates from './dates/index.js'
|
package/agnostic/time/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as duration from './duration/index.js'
|
|
2
|
-
export * as dates from './dates/index.js'
|
|
3
2
|
export * as timeout from './timeout/index.js'
|
|
4
3
|
export * as transitions from './transitions/index.js'
|
|
5
4
|
export * as wait from './wait/index.js'
|
|
5
|
+
export * as dates from './dates/index.js'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode, type FunctionComponent } from 'react';
|
|
1
|
+
import { type ReactNode, type FunctionComponent, type PropsWithChildren } from 'react';
|
|
2
2
|
import type { WithClassName } from '../utils/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Props for the {@link BeforeAfterControlled} component.
|
|
@@ -16,8 +16,9 @@ import type { WithClassName } from '../utils/types.js';
|
|
|
16
16
|
* - `clicked` — called on pointer release when no drag occurred, with the
|
|
17
17
|
* x and y ratios of the release position.
|
|
18
18
|
* @property className - Additional class name(s) applied to the root element.
|
|
19
|
+
* @property children - Arbitrary content to inject inside the component
|
|
19
20
|
*/
|
|
20
|
-
export type Props = WithClassName<{
|
|
21
|
+
export type Props = PropsWithChildren<WithClassName<{
|
|
21
22
|
mode?: 'vertical' | 'horizontal';
|
|
22
23
|
ratio?: number;
|
|
23
24
|
before?: ReactNode;
|
|
@@ -26,7 +27,7 @@ export type Props = WithClassName<{
|
|
|
26
27
|
dragged?: (xRatio: number, yRatio: number) => void;
|
|
27
28
|
clicked?: (xRatio: number, yRatio: number) => void;
|
|
28
29
|
};
|
|
29
|
-
}
|
|
30
|
+
}>>;
|
|
30
31
|
/**
|
|
31
32
|
* Controlled before/after comparison component.
|
|
32
33
|
*
|
|
@@ -31,7 +31,7 @@ import cssModule from './styles.module.css';
|
|
|
31
31
|
* @see {@link Props}
|
|
32
32
|
* @returns A split-panel container with pointer interaction handlers and ratio state applied.
|
|
33
33
|
*/
|
|
34
|
-
export const BeforeAfterControlled = ({ mode = 'horizontal', ratio = 0, before, after, className, actionHandlers }) => {
|
|
34
|
+
export const BeforeAfterControlled = ({ mode = 'horizontal', ratio = 0, before, after, className, children, actionHandlers }) => {
|
|
35
35
|
ratio = clamp(ratio, 0, 1);
|
|
36
36
|
// State & refs
|
|
37
37
|
const rootRef = useRef(null);
|
|
@@ -113,5 +113,5 @@ export const BeforeAfterControlled = ({ mode = 'horizontal', ratio = 0, before,
|
|
|
113
113
|
'data-ratio': `${round(ratio, 4)}`
|
|
114
114
|
};
|
|
115
115
|
// Rendering
|
|
116
|
-
return _jsxs("div", { ref: rootRef, className: rootClss, onMouseDown: handleMouseDown, onMouseMove: handleMouseMove, onMouseUp: handleMouseUp, onTouchStart: handleTouchStart, onTouchMove: handleTouchMove, onTouchEnd: handleTouchEnd, style: { ...customProps }, ...dataAttributes, children: [_jsx("div", { className: beforeClass, children: before }), _jsx("div", { className: afterClass, children: after }), _jsx("div", { className: separatorClass })] });
|
|
116
|
+
return _jsxs("div", { ref: rootRef, className: rootClss, onMouseDown: handleMouseDown, onMouseMove: handleMouseMove, onMouseUp: handleMouseUp, onTouchStart: handleTouchStart, onTouchMove: handleTouchMove, onTouchEnd: handleTouchEnd, style: { ...customProps }, ...dataAttributes, children: [_jsx("div", { className: beforeClass, children: before }), _jsx("div", { className: afterClass, children: after }), _jsx("div", { className: separatorClass }), children] });
|
|
117
117
|
};
|
package/components/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as beforeAfter from './BeforeAfter/index.js'
|
|
2
2
|
export * as disclaimer from './Disclaimer/index.js'
|
|
3
|
-
export * as clippable from './Clippable/index.js'
|
|
4
3
|
export * as drawer from './Drawer/index.js'
|
|
4
|
+
export * as clippable from './Clippable/index.js'
|
|
5
5
|
export * as eventListener from './EventListener/index.js'
|
|
6
6
|
export * as gallery from './Gallery/index.js'
|
|
7
7
|
export * as iframe from './Iframe/index.js'
|
package/components/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as beforeAfter from './BeforeAfter/index.js'
|
|
2
2
|
export * as disclaimer from './Disclaimer/index.js'
|
|
3
|
-
export * as clippable from './Clippable/index.js'
|
|
4
3
|
export * as drawer from './Drawer/index.js'
|
|
4
|
+
export * as clippable from './Clippable/index.js'
|
|
5
5
|
export * as eventListener from './EventListener/index.js'
|
|
6
6
|
export * as gallery from './Gallery/index.js'
|
|
7
7
|
export * as iframe from './Iframe/index.js'
|
|
@@ -2,8 +2,8 @@ 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 generateSignedUrl from './generate-signed-url/index.js'
|
|
5
|
-
export * as getMetadata from './get-metadata/index.js'
|
|
6
5
|
export * as getPermissions from './get-permissions/index.js'
|
|
6
|
+
export * as getMetadata from './get-metadata/index.js'
|
|
7
7
|
export * as move from './move/index.js'
|
|
8
8
|
export * as remove from './remove/index.js'
|
|
9
9
|
export * as revokeSignedUrls from './revoke-signed-urls/index.js'
|
|
@@ -2,8 +2,8 @@ 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 generateSignedUrl from './generate-signed-url/index.js'
|
|
5
|
-
export * as getMetadata from './get-metadata/index.js'
|
|
6
5
|
export * as getPermissions from './get-permissions/index.js'
|
|
6
|
+
export * as getMetadata from './get-metadata/index.js'
|
|
7
7
|
export * as move from './move/index.js'
|
|
8
8
|
export * as remove from './remove/index.js'
|
|
9
9
|
export * as revokeSignedUrls from './revoke-signed-urls/index.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as copy from './copy/index.js'
|
|
2
2
|
export * as download from './download/index.js'
|
|
3
3
|
export * as exists from './exists/index.js'
|
|
4
|
-
export * as move from './move/index.js'
|
|
5
4
|
export * as remove from './remove/index.js'
|
|
5
|
+
export * as move from './move/index.js'
|
|
6
6
|
export * as stat from './stat/index.js'
|
|
7
7
|
export * as upload from './upload/index.js'
|
package/node/ftps/file/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as copy from './copy/index.js'
|
|
2
2
|
export * as download from './download/index.js'
|
|
3
3
|
export * as exists from './exists/index.js'
|
|
4
|
-
export * as move from './move/index.js'
|
|
5
4
|
export * as remove from './remove/index.js'
|
|
5
|
+
export * as move from './move/index.js'
|
|
6
6
|
export * as stat from './stat/index.js'
|
|
7
7
|
export * as upload from './upload/index.js'
|
package/node/images/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as create from './create/index.js'
|
|
2
|
-
export * as format from './format/index.js'
|
|
3
2
|
export * as metadata from './metadata/index.js'
|
|
4
3
|
export * as transform from './transform/index.js'
|
|
5
4
|
export * as utils from './utils/index.js'
|
|
5
|
+
export * as format from './format/index.js'
|
package/node/images/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as create from './create/index.js'
|
|
2
|
-
export * as format from './format/index.js'
|
|
3
2
|
export * as metadata from './metadata/index.js'
|
|
4
3
|
export * as transform from './transform/index.js'
|
|
5
4
|
export * as utils from './utils/index.js'
|
|
5
|
+
export * as format from './format/index.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as blur from './blur/index.js'
|
|
2
|
-
export * as extend from './extend/index.js'
|
|
3
2
|
export * as brighten from './brighten/index.js'
|
|
3
|
+
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'
|
|
@@ -8,8 +8,8 @@ export * as flop from './flop/index.js'
|
|
|
8
8
|
export * as hue from './hue/index.js'
|
|
9
9
|
export * as level from './level/index.js'
|
|
10
10
|
export * as lighten from './lighten/index.js'
|
|
11
|
-
export * as overlay from './overlay/index.js'
|
|
12
11
|
export * as normalize from './normalize/index.js'
|
|
12
|
+
export * as overlay from './overlay/index.js'
|
|
13
13
|
export * as resize from './resize/index.js'
|
|
14
14
|
export * as rotate from './rotate/index.js'
|
|
15
15
|
export * as saturate from './saturate/index.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as blur from './blur/index.js'
|
|
2
|
-
export * as extend from './extend/index.js'
|
|
3
2
|
export * as brighten from './brighten/index.js'
|
|
3
|
+
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'
|
|
@@ -8,8 +8,8 @@ export * as flop from './flop/index.js'
|
|
|
8
8
|
export * as hue from './hue/index.js'
|
|
9
9
|
export * as level from './level/index.js'
|
|
10
10
|
export * as lighten from './lighten/index.js'
|
|
11
|
-
export * as overlay from './overlay/index.js'
|
|
12
11
|
export * as normalize from './normalize/index.js'
|
|
12
|
+
export * as overlay from './overlay/index.js'
|
|
13
13
|
export * as resize from './resize/index.js'
|
|
14
14
|
export * as rotate from './rotate/index.js'
|
|
15
15
|
export * as saturate from './saturate/index.js'
|